/** * main.js 5.8.4.1 patched with defineModule and registerModules * * Licence unknown, available at http://203.104.209.71/kcs2/js/main.js */ global.axios = require('axios') require('jsdom-global')() global.createjs = require('./createjs') global.PIXI = require('pixi.js') global.__modules = [] global.defineModule = e => global.__modules.push(e) global.registerModules = e => { for (const m of global.__modules) { for (const name in m) { e[name] = e[name] || m[name] } } return e } ! function(_1, _2) { var _3 = null; 'object' == typeof exports && 'object' == typeof module ? module.exports = registerModules(_2(axios, window)) : 'function' == typeof define && define.amd ? define(['axios', 'window'], _2) : 'object' == typeof exports ? exports.KCS = _2(axios, window) : _1.KCS = _2(_1.axios, _1.window); }(self, (_4, _5) => ((() => { var _6 = null, _7 = { 21924: (_8, _9, _a) => { 'use strict'; var _b = null; var _c = _a(40210), _d = _a(55559), _e = _d(_c('String.prototype.indexOf')); _8.exports = function(_f, _g) { var _h = null, _i = _c(_f, !!_g); return 'function' == typeof _i && _e(_f, '.prototype.') > -1 ? _d(_i) : _i; }; }, 55559: (_j, _k, _l) => { 'use strict'; var _m = null; var _n = _l(58612), _o = _l(40210), _p = _l(67771), _q = _o('%TypeError%'), _r = _o('%Function.prototype.apply%'), _s = _o('%Function.prototype.call%'), _t = _o('%Reflect.apply%', !0) || _n.call(_s, _r), _u = _o('%Object.defineProperty%', !0), _v = _o('%Math.max%'); if (_u) try { _u({}, 'a', { 'value': 1 }); } catch (_w) { _u = null; } _j.exports = function(_x) { var _y = null; if ('function' != typeof _x) throw new _q('a function is required'); var _z = _t(_n, _s, arguments); return _p(_z, 1 + _v(0, _x.length - (arguments.length - 1)), !0); }; var _10 = function() { return _t(_n, _r, arguments); }; _u ? _u(_j.exports, 'apply', { 'value': _10 }) : _j.exports.apply = _10; }, 12296: (_11, _12, _13) => { 'use strict'; var _14 = null; var _15 = _13(31044)(), _16 = _13(40210), _17 = _15 && _16('%Object.defineProperty%', !0); if (_17) try { _17({}, 'a', { 'value': 1 }); } catch (_18) { _17 = !1; } var _19 = _16('%SyntaxError%'), _1a = _16('%TypeError%'), _1b = _13(27296); _11.exports = function(_1c, _1d, _1e) { var _1f = null; if (!_1c || 'object' != typeof _1c && 'function' != typeof _1c) throw new _1a('`obj` must be an object or a function`'); if ('string' != typeof _1d && 'symbol' != typeof _1d) throw new _1a('`property` must be a string or a symbol`'); if (arguments.length > 3 && 'boolean' != typeof arguments[3] && null !== arguments[3]) throw new _1a('`nonEnumerable`, if provided, must be a boolean or null'); if (arguments.length > 4 && 'boolean' != typeof arguments[4] && null !== arguments[4]) throw new _1a('`nonWritable`, if provided, must be a boolean or null'); if (arguments.length > 5 && 'boolean' != typeof arguments[5] && null !== arguments[5]) throw new _1a('`nonConfigurable`, if provided, must be a boolean or null'); if (arguments.length > 6 && 'boolean' != typeof arguments[6]) throw new _1a('`loose`, if provided, must be a boolean'); var _1g = arguments.length > 3 ? arguments[3] : null, _1h = arguments.length > 4 ? arguments[4] : null, _1i = arguments.length > 5 ? arguments[5] : null, _1j = arguments.length > 6 && arguments[6], _1k = !!_1b && _1b(_1c, _1d); if (_17) _17(_1c, _1d, { 'configurable': null === _1i && _1k ? _1k.configurable : !_1i, 'enumerable': null === _1g && _1k ? _1k.enumerable : !_1g, 'value': _1e, 'writable': null === _1h && _1k ? _1k.writable : !_1h }); else { if (!_1j && (_1g || _1h || _1i)) throw new _19('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.'); _1c[_1d] = _1e; } }; }, 17648: _1l => { 'use strict'; var _1m = null; var _1n = Object.prototype.toString, _1o = Math.max, _1p = function(_1q, _1r) { var _1s = null; for (var _1t = [], _1u = 0; _1u < _1q.length; _1u += 1) _1t[_1u] = _1q[_1u]; for (var _1v = 0; _1v < _1r.length; _1v += 1) _1t[_1v + _1q.length] = _1r[_1v]; return _1t; }; _1l.exports = function(_1w) { var _1x = null, _1y = this; if ('function' != typeof _1y || '[object Function]' !== _1n.apply(_1y)) throw new TypeError('Function.prototype.bind called on incompatible ' + _1y); for (var _1z, _20 = function(_21, _22) { var _23 = null; for (var _24 = [], _25 = _22 || 0, _26 = 0; _25 < _21.length; _25 += 1, _26 += 1) _24[_26] = _21[_25]; return _24; }(arguments, 1), _27 = _1o(0, _1y.length - _20.length), _28 = [], _29 = 0; _29 < _27; _29++) _28[_29] = '$' + _29; if (_1z = Function('binder', 'return function (' + function(_2a, _2b) { var _2c = null; for (var _2d = '', _2e = 0; _2e < _2a.length; _2e += 1) _2d += _2a[_2e], _2e + 1 < _2a.length && (_2d += _2b); return _2d; }(_28, ',') + '){ return binder.apply(this,arguments); }')(function() { var _2f = null; if (this instanceof _1z) { var _2g = _1y.apply(this, _1p(_20, arguments)); return Object(_2g) === _2g ? _2g : this; } return _1y.apply(_1w, _1p(_20, arguments)); }), _1y.prototype) { var _2h = function() {}; _2h.prototype = _1y.prototype, _1z.prototype = new _2h(), _2h.prototype = null; } return _1z; }; }, 58612: (_2i, _2j, _2k) => { 'use strict'; var _2l = null; var _2m = _2k(17648); _2i.exports = Function.prototype.bind || _2m; }, 40210: (_2n, _2o, _2p) => { 'use strict'; var _2q = null; var _2r, _2s = SyntaxError, _2t = Function, _2u = TypeError, _2v = function(_2w) { var _2x = null; try { return _2t('"use strict"; return (' + _2w + ').constructor;')(); } catch (_2y) {} }, _2z = Object.getOwnPropertyDescriptor; if (_2z) try { _2z({}, ''); } catch (_30) { _2z = null; } var _31 = function() { throw new _2u(); }, _32 = _2z ? (function() { var _33 = null; try { return _31; } catch (_34) { try { return _2z(arguments, 'callee').get; } catch (_35) { return _31; } } }()) : _31, _36 = _2p(41405)(), _37 = _2p(28185)(), _38 = Object.getPrototypeOf || (_37 ? function(_39) { var _3a = null; return _39.__proto__; } : null), _3b = {}, _3c = 'undefined' != typeof Uint8Array && _38 ? _38(Uint8Array) : _2r, _3d = { '%AggregateError%': 'undefined' == typeof AggregateError ? _2r : AggregateError, '%Array%': Array, '%ArrayBuffer%': 'undefined' == typeof ArrayBuffer ? _2r : ArrayBuffer, '%ArrayIteratorPrototype%': _36 && _38 ? _38([][Symbol.iterator]()) : _2r, '%AsyncFromSyncIteratorPrototype%': _2r, '%AsyncFunction%': _3b, '%AsyncGenerator%': _3b, '%AsyncGeneratorFunction%': _3b, '%AsyncIteratorPrototype%': _3b, '%Atomics%': 'undefined' == typeof Atomics ? _2r : Atomics, '%BigInt%': 'undefined' == typeof BigInt ? _2r : BigInt, '%BigInt64Array%': 'undefined' == typeof BigInt64Array ? _2r : BigInt64Array, '%BigUint64Array%': 'undefined' == typeof BigUint64Array ? _2r : BigUint64Array, '%Boolean%': Boolean, '%DataView%': 'undefined' == typeof DataView ? _2r : DataView, '%Date%': Date, '%decodeURI%': decodeURI, '%decodeURIComponent%': decodeURIComponent, '%encodeURI%': encodeURI, '%encodeURIComponent%': encodeURIComponent, '%Error%': Error, '%eval%': eval, '%EvalError%': EvalError, '%Float32Array%': 'undefined' == typeof Float32Array ? _2r : Float32Array, '%Float64Array%': 'undefined' == typeof Float64Array ? _2r : Float64Array, '%FinalizationRegistry%': 'undefined' == typeof FinalizationRegistry ? _2r : FinalizationRegistry, '%Function%': _2t, '%GeneratorFunction%': _3b, '%Int8Array%': 'undefined' == typeof Int8Array ? _2r : Int8Array, '%Int16Array%': 'undefined' == typeof Int16Array ? _2r : Int16Array, '%Int32Array%': 'undefined' == typeof Int32Array ? _2r : Int32Array, '%isFinite%': isFinite, '%isNaN%': isNaN, '%IteratorPrototype%': _36 && _38 ? _38(_38([][Symbol.iterator]())) : _2r, '%JSON%': 'object' == typeof JSON ? JSON : _2r, '%Map%': 'undefined' == typeof Map ? _2r : Map, '%MapIteratorPrototype%': 'undefined' != typeof Map && _36 && _38 ? _38(new Map()[Symbol.iterator]()) : _2r, '%Math%': Math, '%Number%': Number, '%Object%': Object, '%parseFloat%': parseFloat, '%parseInt%': parseInt, '%Promise%': 'undefined' == typeof Promise ? _2r : Promise, '%Proxy%': 'undefined' == typeof Proxy ? _2r : Proxy, '%RangeError%': RangeError, '%ReferenceError%': ReferenceError, '%Reflect%': 'undefined' == typeof Reflect ? _2r : Reflect, '%RegExp%': RegExp, '%Set%': 'undefined' == typeof Set ? _2r : Set, '%SetIteratorPrototype%': 'undefined' != typeof Set && _36 && _38 ? _38(new Set()[Symbol.iterator]()) : _2r, '%SharedArrayBuffer%': 'undefined' == typeof SharedArrayBuffer ? _2r : SharedArrayBuffer, '%String%': String, '%StringIteratorPrototype%': _36 && _38 ? _38('' [Symbol.iterator]()) : _2r, '%Symbol%': _36 ? Symbol : _2r, '%SyntaxError%': _2s, '%ThrowTypeError%': _32, '%TypedArray%': _3c, '%TypeError%': _2u, '%Uint8Array%': 'undefined' == typeof Uint8Array ? _2r : Uint8Array, '%Uint8ClampedArray%': 'undefined' == typeof Uint8ClampedArray ? _2r : Uint8ClampedArray, '%Uint16Array%': 'undefined' == typeof Uint16Array ? _2r : Uint16Array, '%Uint32Array%': 'undefined' == typeof Uint32Array ? _2r : Uint32Array, '%URIError%': URIError, '%WeakMap%': 'undefined' == typeof WeakMap ? _2r : WeakMap, '%WeakRef%': 'undefined' == typeof WeakRef ? _2r : WeakRef, '%WeakSet%': 'undefined' == typeof WeakSet ? _2r : WeakSet }; if (_38) try { null.error; } catch (_3e) { var _3f = _38(_38(_3e)); _3d['%Error.prototype%'] = _3f; } var _3g = function _3h(_3i) { var _3j = null, _3k; if ('%AsyncFunction%' === _3i) _3k = _2v('async function () {}'); else { if ('%GeneratorFunction%' === _3i) _3k = _2v('function* () {}'); else { if ('%AsyncGeneratorFunction%' === _3i) _3k = _2v('async function* () {}'); else { if ('%AsyncGenerator%' === _3i) { var _3l = _3h('%AsyncGeneratorFunction%'); _3l && (_3k = _3l.prototype); } else { if ('%AsyncIteratorPrototype%' === _3i) { var _3m = _3h('%AsyncGenerator%'); _3m && _38 && (_3k = _38(_3m.prototype)); } } } } } return _3d[_3i] = _3k, _3k; }, _3n = { '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'], '%ArrayPrototype%': ['Array', 'prototype'], '%ArrayProto_entries%': ['Array', 'prototype', 'entries'], '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'], '%ArrayProto_keys%': ['Array', 'prototype', 'keys'], '%ArrayProto_values%': ['Array', 'prototype', 'values'], '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'], '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'], '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'], '%BooleanPrototype%': ['Boolean', 'prototype'], '%DataViewPrototype%': ['DataView', 'prototype'], '%DatePrototype%': ['Date', 'prototype'], '%ErrorPrototype%': ['Error', 'prototype'], '%EvalErrorPrototype%': ['EvalError', 'prototype'], '%Float32ArrayPrototype%': ['Float32Array', 'prototype'], '%Float64ArrayPrototype%': ['Float64Array', 'prototype'], '%FunctionPrototype%': ['Function', 'prototype'], '%Generator%': ['GeneratorFunction', 'prototype'], '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'], '%Int8ArrayPrototype%': ['Int8Array', 'prototype'], '%Int16ArrayPrototype%': ['Int16Array', 'prototype'], '%Int32ArrayPrototype%': ['Int32Array', 'prototype'], '%JSONParse%': ['JSON', 'parse'], '%JSONStringify%': ['JSON', 'stringify'], '%MapPrototype%': ['Map', 'prototype'], '%NumberPrototype%': ['Number', 'prototype'], '%ObjectPrototype%': ['Object', 'prototype'], '%ObjProto_toString%': ['Object', 'prototype', 'toString'], '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'], '%PromisePrototype%': ['Promise', 'prototype'], '%PromiseProto_then%': ['Promise', 'prototype', 'then'], '%Promise_all%': ['Promise', 'all'], '%Promise_reject%': ['Promise', 'reject'], '%Promise_resolve%': ['Promise', 'resolve'], '%RangeErrorPrototype%': ['RangeError', 'prototype'], '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'], '%RegExpPrototype%': ['RegExp', 'prototype'], '%SetPrototype%': ['Set', 'prototype'], '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'], '%StringPrototype%': ['String', 'prototype'], '%SymbolPrototype%': ['Symbol', 'prototype'], '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'], '%TypedArrayPrototype%': ['TypedArray', 'prototype'], '%TypeErrorPrototype%': ['TypeError', 'prototype'], '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'], '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'], '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'], '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'], '%URIErrorPrototype%': ['URIError', 'prototype'], '%WeakMapPrototype%': ['WeakMap', 'prototype'], '%WeakSetPrototype%': ['WeakSet', 'prototype'] }, _3o = _2p(58612), _3p = _2p(48824), _3q = _3o.call(Function.call, Array.prototype.concat), _3r = _3o.call(Function.apply, Array.prototype.splice), _3s = _3o.call(Function.call, String.prototype.replace), _3t = _3o.call(Function.call, String.prototype.slice), _3u = _3o.call(Function.call, RegExp.prototype.exec), _3v = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, _3w = /\\(\\)?/g, _3x = function(_3y, _3z) { var _40 = null, _41, _42 = _3y; if (_3p(_3n, _42) && (_42 = '%' + (_41 = _3n[_42])[0] + '%'), _3p(_3d, _42)) { var _43 = _3d[_42]; if (_43 === _3b && (_43 = _3g(_42)), void 0 === _43 && !_3z) throw new _2u('intrinsic ' + _3y + ' exists, but is not available. Please file an issue!'); return { 'alias': _41, 'name': _42, 'value': _43 }; } throw new _2s('intrinsic ' + _3y + ' does not exist!'); }; _2n.exports = function(_44, _45) { var _46 = null; if ('string' != typeof _44 || 0 === _44.length) throw new _2u('intrinsic name must be a non-empty string'); if (arguments.length > 1 && 'boolean' != typeof _45) throw new _2u('"allowMissing" argument must be a boolean'); if (null === _3u(/^%?[^%]*%?$/, _44)) throw new _2s('`%` may not be present anywhere but at the beginning and end of the intrinsic name'); var _47 = function(_48) { var _49 = null, _4a = _3t(_48, 0, 1), _4b = _3t(_48, -1); if ('%' === _4a && '%' !== _4b) throw new _2s('invalid intrinsic syntax, expected closing `%`'); if ('%' === _4b && '%' !== _4a) throw new _2s('invalid intrinsic syntax, expected opening `%`'); var _4c = []; return _3s(_48, _3v, function(_4d, _4e, _4f, _4g) { var _4h = null; _4c[_4c.length] = _4f ? _3s(_4g, _3w, '$1') : _4e || _4d; }), _4c; }(_44), _4i = _47.length > 0 ? _47[0] : '', _4j = _3x('%' + _4i + '%', _45), _4k = _4j.name, _4l = _4j.value, _4m = !1, _4n = _4j.alias; _4n && (_4i = _4n[0], _3r(_47, _3q([0, 1], _4n))); for (var _4o = 1, _4p = !0; _4o < _47.length; _4o += 1) { var _4q = _47[_4o], _4r = _3t(_4q, 0, 1), _4s = _3t(_4q, -1); if (('\x22' === _4r || '\x27' === _4r || '`' === _4r || '\x22' === _4s || '\x27' === _4s || '`' === _4s) && _4r !== _4s) throw new _2s('property names with quotes must have matching quotes'); if ('constructor' !== _4q && _4p || (_4m = !0), _3p(_3d, _4k = '%' + (_4i += '.' + _4q) + '%')) _4l = _3d[_4k]; else { if (null != _4l) { if (!(_4q in _4l)) { if (!_45) throw new _2u('base intrinsic for ' + _44 + ' exists, but the property is not available.'); return; } if (_2z && _4o + 1 >= _47.length) { var _4t = _2z(_4l, _4q); _4l = (_4p = !!_4t) && 'get' in _4t && !('originalValue' in _4t.get) ? _4t.get : _4l[_4q]; } else _4p = _3p(_4l, _4q), _4l = _4l[_4q]; _4p && !_4m && (_3d[_4k] = _4l); } } } return _4l; }; }, 27296: (_4u, _4v, _4w) => { 'use strict'; var _4x = null; var _4y = _4w(40210)('%Object.getOwnPropertyDescriptor%', !0); if (_4y) try { _4y([], 'length'); } catch (_4z) { _4y = null; } _4u.exports = _4y; }, 31044: (_50, _51, _52) => { 'use strict'; var _53 = null; var _54 = _52(40210)('%Object.defineProperty%', !0), _55 = function() { if (_54) try { return _54({}, 'a', { 'value': 1 }), !0; } catch (_56) { return !1; } return !1; }; _55.hasArrayLengthDefineBug = function() { var _57 = null; if (!_55()) return null; try { return 1 !== _54([], 'length', { 'value': 1 }).length; } catch (_58) { return !0; } }, _50.exports = _55; }, 28185: _59 => { 'use strict'; var _5a = null; var _5b = { 'foo': {} }, _5c = Object; _59.exports = function() { var _5d = null; return { '__proto__': _5b } ['foo'] === _5b.foo && !({ '__proto__': null } instanceof _5c); }; }, 41405: (_5e, _5f, _5g) => { 'use strict'; var _5h = null; var _5i = 'undefined' != typeof Symbol && Symbol, _5j = _5g(55419); _5e.exports = function() { var _5k = null; return 'function' == typeof _5i && ('function' == typeof Symbol && ('symbol' == typeof _5i('foo') && ('symbol' == typeof Symbol('bar') && _5j()))); }; }, 55419: _5l => { 'use strict'; var _5m = null; _5l.exports = function() { var _5n = null; if ('function' != typeof Symbol || 'function' != typeof Object.getOwnPropertySymbols) return !1; if ('symbol' == typeof Symbol.iterator) return !0; var _5o = {}, _5p = Symbol('test'), _5q = Object(_5p); if ('string' == typeof _5p) return !1; if ('[object Symbol]' !== Object.prototype.toString.call(_5p)) return !1; if ('[object Symbol]' !== Object.prototype.toString.call(_5q)) return !1; for (_5p in (_5o[_5p] = 42, _5o)) return !1; if ('function' == typeof Object.keys && 0 !== Object.keys(_5o).length) return !1; if ('function' == typeof Object.getOwnPropertyNames && 0 !== Object.getOwnPropertyNames(_5o).length) return !1; var _5r = Object.getOwnPropertySymbols(_5o); if (1 !== _5r.length || _5r[0] !== _5p) return !1; if (!Object.prototype.propertyIsEnumerable.call(_5o, _5p)) return !1; if ('function' == typeof Object.getOwnPropertyDescriptor) { var _5s = Object.getOwnPropertyDescriptor(_5o, _5p); if (42 !== _5s.value || !0 !== _5s.enumerable) return !1; } return !0; }; }, 48824: (_5t, _5u, _5v) => { 'use strict'; var _5w = null; var _5x = Function.prototype.call, _5y = Object.prototype.hasOwnProperty, _5z = _5v(58612); _5t.exports = _5z.call(_5x, _5y); }, 70631: (_60, _61, _62) => { var _63 = null, _64 = 'function' == typeof Map && Map.prototype, _65 = Object.getOwnPropertyDescriptor && _64 ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null, _66 = _64 && _65 && 'function' == typeof _65.get ? _65.get : null, _67 = _64 && Map.prototype.forEach, _68 = 'function' == typeof Set && Set.prototype, _69 = Object.getOwnPropertyDescriptor && _68 ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null, _6a = _68 && _69 && 'function' == typeof _69.get ? _69.get : null, _6b = _68 && Set.prototype.forEach, _6c = 'function' == typeof WeakMap && WeakMap.prototype ? WeakMap.prototype.has : null, _6d = 'function' == typeof WeakSet && WeakSet.prototype ? WeakSet.prototype.has : null, _6e = 'function' == typeof WeakRef && WeakRef.prototype ? WeakRef.prototype.deref : null, _6f = Boolean.prototype.valueOf, _6g = Object.prototype.toString, _6h = Function.prototype.toString, _6i = String.prototype.match, _6j = String.prototype.slice, _6k = String.prototype.replace, _6l = String.prototype.toUpperCase, _6m = String.prototype.toLowerCase, _6n = RegExp.prototype.test, _6o = Array.prototype.concat, _6p = Array.prototype.join, _6q = Array.prototype.slice, _6r = Math.floor, _6s = 'function' == typeof BigInt ? BigInt.prototype.valueOf : null, _6t = Object.getOwnPropertySymbols, _6u = 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator ? Symbol.prototype.toString : null, _6v = 'function' == typeof Symbol && 'object' == typeof Symbol.iterator, _6w = 'function' == typeof Symbol && Symbol.toStringTag && (typeof Symbol.toStringTag === _6v || 'symbol') ? Symbol.toStringTag : null, _6x = Object.prototype.propertyIsEnumerable, _6y = ('function' == typeof Reflect ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(_6z) { var _70 = null; return _6z.__proto__; } : null); function _71(_72, _73) { var _74 = null; if (_72 === 1 / 0 || _72 === -1 / 0 || _72 != _72 || _72 && _72 > -1000 && _72 < 1000 || _6n.call(/e/, _73)) return _73; var _75 = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g; if ('number' == typeof _72) { var _76 = _72 < 0 ? -_6r(-_72) : _6r(_72); if (_76 !== _72) { var _77 = String(_76), _78 = _6j.call(_73, _77.length + 1); return _6k.call(_77, _75, '$&_') + '.' + _6k.call(_6k.call(_78, /([0-9]{3})/g, '$&_'), /_$/, ''); } } return _6k.call(_73, _75, '$&_'); } var _79 = _62(24654), _7a = _79.custom, _7b = _7c(_7a) ? _7a : null; function _7d(_7e, _7f, _7g) { var _7h = null, _7i = 'double' === (_7g.quoteStyle || _7f) ? '\x22' : '\x27'; return _7i + _7e + _7i; } function _7j(_7k) { var _7l = null; return _6k.call(String(_7k), /"/g, '"'); } function _7m(_7n) { var _7o = null; return !('[object Array]' !== _7p(_7n) || _6w && 'object' == typeof _7n && _6w in _7n); } function _7q(_7r) { var _7s = null; return !('[object RegExp]' !== _7p(_7r) || _6w && 'object' == typeof _7r && _6w in _7r); } function _7c(_7t) { var _7u = null; if (_6v) return _7t && 'object' == typeof _7t && _7t instanceof Symbol; if ('symbol' == typeof _7t) return !0; if (!_7t || 'object' != typeof _7t || !_6u) return !1; try { return _6u.call(_7t), !0; } catch (_7v) {} return !1; } _60.exports = function _7w(_7x, _7y, _7z, _80) { var _81 = null, _82 = _7y || {}; if (_83(_82, 'quoteStyle') && 'single' !== _82.quoteStyle && 'double' !== _82.quoteStyle) throw new TypeError('option "quoteStyle" must be "single" or "double"'); if (_83(_82, 'maxStringLength') && ('number' == typeof _82.maxStringLength ? _82.maxStringLength < 0 && _82.maxStringLength !== 1 / 0 : null !== _82.maxStringLength)) throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`'); var _84 = !_83(_82, 'customInspect') || _82.customInspect; if ('boolean' != typeof _84 && 'symbol' !== _84) throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `symbol`'); if (_83(_82, 'indent') && null !== _82.indent && '\x09' !== _82.indent && !(parseInt(_82.indent, 10) === _82.indent && _82.indent > 0)) throw new TypeError('option "indent" must be "\t", an integer > 0, or `null`'); if (_83(_82, 'numericSeparator') && 'boolean' != typeof _82.numericSeparator) throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`'); var _85 = _82.numericSeparator; if (void 0 === _7x) return 'undefined'; if (null === _7x) return 'null'; if ('boolean' == typeof _7x) return _7x ? 'true' : 'false'; if ('string' == typeof _7x) return _86(_7x, _82); if ('number' == typeof _7x) { if (0 === _7x) return 1 / 0 / _7x > 0 ? '0' : '-0'; var _87 = String(_7x); return _85 ? _71(_7x, _87) : _87; } if ('bigint' == typeof _7x) { var _88 = String(_7x) + 'n'; return _85 ? _71(_7x, _88) : _88; } var _89 = void 0 === _82.depth ? 5 : _82.depth; if (void 0 === _7z && (_7z = 0), _7z >= _89 && _89 > 0 && 'object' == typeof _7x) return _7m(_7x) ? '[Array]' : '[Object]'; var _8a = function(_8b, _8c) { var _8d = null, _8e; if ('\x09' === _8b.indent) _8e = '\x09'; else { if (!('number' == typeof _8b.indent && _8b.indent > 0)) return null; _8e = _6p.call(Array(_8b.indent + 1), '\x20'); } return { 'base': _8e, 'prev': _6p.call(Array(_8c + 1), _8e) }; }(_82, _7z); if (void 0 === _80) _80 = []; else { if (_8f(_80, _7x) >= 0) return '[Circular]'; } function _8g(_8h, _8i, _8j) { var _8k = null; if (_8i && (_80 = _6q.call(_80)).push(_8i), _8j) { var _8l = { 'depth': _82.depth }; return _83(_82, 'quoteStyle') && (_8l.quoteStyle = _82.quoteStyle), _7w(_8h, _8l, _7z + 1, _80); } return _7w(_8h, _82, _7z + 1, _80); } if ('function' == typeof _7x && !_7q(_7x)) { var _8m = function(_8n) { var _8o = null; if (_8n.name) return _8n.name; var _8p = _6i.call(_6h.call(_8n), /^function\s*([\w$]+)/); if (_8p) return _8p[1]; return null; }(_7x), _8q = _8r(_7x, _8g); return '[Function' + (_8m ? ':\x20' + _8m : ' (anonymous)') + ']' + (_8q.length > 0 ? ' { ' + _6p.call(_8q, ',\x20') + '\x20}' : ''); } if (_7c(_7x)) { var _8s = _6v ? _6k.call(String(_7x), /^(Symbol\(.*\))_[^)]*$/, '$1') : _6u.call(_7x); return 'object' != typeof _7x || _6v ? _8s : _8t(_8s); } if (function(_8u) { var _8v = null; if (!_8u || 'object' != typeof _8u) return !1; if ('undefined' != typeof HTMLElement && _8u instanceof HTMLElement) return !0; return 'string' == typeof _8u.nodeName && 'function' == typeof _8u.getAttribute; }(_7x)) { for (var _8w = '<' + _6m.call(String(_7x.nodeName)), _8x = _7x.attributes || [], _8y = 0; _8y < _8x.length; _8y++) _8w += '\x20' + _8x[_8y].name + '=' + _7d(_7j(_8x[_8y].value), 'double', _82); return _8w += '>', _7x.childNodes && _7x.childNodes.length && (_8w += '...'), _8w += ''; } if (_7m(_7x)) { if (0 === _7x.length) return '[]'; var _8z = _8r(_7x, _8g); return _8a && ! function(_90) { var _91 = null; for (var _92 = 0; _92 < _90.length; _92++) if (_8f(_90[_92], '\x0a') >= 0) return !1; return !0; }(_8z) ? '[' + _93(_8z, _8a) + ']' : '[\x20' + _6p.call(_8z, ',\x20') + '\x20]'; } if (function(_94) { var _95 = null; return !('[object Error]' !== _7p(_94) || _6w && 'object' == typeof _94 && _6w in _94); }(_7x)) { var _96 = _8r(_7x, _8g); return 'cause' in Error.prototype || !('cause' in _7x) || _6x.call(_7x, 'cause') ? 0 === _96.length ? '[' + String(_7x) + ']' : '{ [' + String(_7x) + ']\x20' + _6p.call(_96, ',\x20') + '\x20}' : '{ [' + String(_7x) + ']\x20' + _6p.call(_6o.call('[cause]: ' + _8g(_7x.cause), _96), ',\x20') + '\x20}'; } if ('object' == typeof _7x && _84) { if (_7b && 'function' == typeof _7x[_7b] && _79) return _79(_7x, { 'depth': _89 - _7z }); if ('symbol' !== _84 && 'function' == typeof _7x.inspect) return _7x.inspect(); } if (function(_97) { var _98 = null; if (!_66 || !_97 || 'object' != typeof _97) return !1; try { _66.call(_97); try { _6a.call(_97); } catch (_99) { return !0; } return _97 instanceof Map; } catch (_9a) {} return !1; }(_7x)) { var _9b = []; return _67 && _67.call(_7x, function(_9c, _9d) { var _9e = null; _9b.push(_8g(_9d, _7x, !0) + ' => ' + _8g(_9c, _7x)); }), _9f('Map', _66.call(_7x), _9b, _8a); } if (function(_9g) { var _9h = null; if (!_6a || !_9g || 'object' != typeof _9g) return !1; try { _6a.call(_9g); try { _66.call(_9g); } catch (_9i) { return !0; } return _9g instanceof Set; } catch (_9j) {} return !1; }(_7x)) { var _9k = []; return _6b && _6b.call(_7x, function(_9l) { var _9m = null; _9k.push(_8g(_9l, _7x)); }), _9f('Set', _6a.call(_7x), _9k, _8a); } if (function(_9n) { var _9o = null; if (!_6c || !_9n || 'object' != typeof _9n) return !1; try { _6c.call(_9n, _6c); try { _6d.call(_9n, _6d); } catch (_9p) { return !0; } return _9n instanceof WeakMap; } catch (_9q) {} return !1; }(_7x)) return _9r('WeakMap'); if (function(_9s) { var _9t = null; if (!_6d || !_9s || 'object' != typeof _9s) return !1; try { _6d.call(_9s, _6d); try { _6c.call(_9s, _6c); } catch (_9u) { return !0; } return _9s instanceof WeakSet; } catch (_9v) {} return !1; }(_7x)) return _9r('WeakSet'); if (function(_9w) { var _9x = null; if (!_6e || !_9w || 'object' != typeof _9w) return !1; try { return _6e.call(_9w), !0; } catch (_9y) {} return !1; }(_7x)) return _9r('WeakRef'); if (function(_9z) { var _a0 = null; return !('[object Number]' !== _7p(_9z) || _6w && 'object' == typeof _9z && _6w in _9z); }(_7x)) return _8t(_8g(Number(_7x))); if (function(_a1) { var _a2 = null; if (!_a1 || 'object' != typeof _a1 || !_6s) return !1; try { return _6s.call(_a1), !0; } catch (_a3) {} return !1; }(_7x)) return _8t(_8g(_6s.call(_7x))); if (function(_a4) { var _a5 = null; return !('[object Boolean]' !== _7p(_a4) || _6w && 'object' == typeof _a4 && _6w in _a4); }(_7x)) return _8t(_6f.call(_7x)); if (function(_a6) { var _a7 = null; return !('[object String]' !== _7p(_a6) || _6w && 'object' == typeof _a6 && _6w in _a6); }(_7x)) return _8t(_8g(String(_7x))); if ('undefined' != typeof window && _7x === window) return '{ [object Window] }'; if (_7x === _62.g) return '{ [object globalThis] }'; if (! function(_a8) { var _a9 = null; return !('[object Date]' !== _7p(_a8) || _6w && 'object' == typeof _a8 && _6w in _a8); }(_7x) && !_7q(_7x)) { var _aa = _8r(_7x, _8g), _ab = _6y ? _6y(_7x) === Object.prototype : _7x instanceof Object || _7x.constructor === Object, _ac = _7x instanceof Object ? '' : 'null prototype', _ad = !_ab && _6w && Object(_7x) === _7x && _6w in _7x ? _6j.call(_7p(_7x), 8, -1) : _ac ? 'Object' : '', _ae = (_ab || 'function' != typeof _7x.constructor ? '' : _7x.constructor.name ? _7x.constructor.name + '\x20' : '') + (_ad || _ac ? '[' + _6p.call(_6o.call([], _ad || [], _ac || []), ':\x20') + ']\x20' : ''); return 0 === _aa.length ? _ae + '{}' : _8a ? _ae + '{' + _93(_aa, _8a) + '}' : _ae + '{\x20' + _6p.call(_aa, ',\x20') + '\x20}'; } return String(_7x); }; var _af = Object.prototype.hasOwnProperty || function(_ag) { return _ag in this; }; function _83(_ah, _ai) { var _aj = null; return _af.call(_ah, _ai); } function _7p(_ak) { var _al = null; return _6g.call(_ak); } function _8f(_am, _an) { var _ao = null; if (_am.indexOf) return _am.indexOf(_an); for (var _ap = 0, _aq = _am.length; _ap < _aq; _ap++) if (_am[_ap] === _an) return _ap; return -1; } function _86(_ar, _as) { var _at = null; if (_ar.length > _as.maxStringLength) { var _au = _ar.length - _as.maxStringLength, _av = '... ' + _au + ' more character' + (_au > 1 ? 's' : ''); return _86(_6j.call(_ar, 0, _as.maxStringLength), _as) + _av; } return _7d(_6k.call(_6k.call(_ar, /(['\\])/g, '\$1'), /[\x00-\x1f]/g, _aw), 'single', _as); } function _aw(_ax) { var _ay = null, _az = _ax.charCodeAt(0), _b0 = { 8: 'b', 9: 't', 10: 'n', 12: 'f', 13: 'r' } [_az]; return _b0 ? '\x5c' + _b0 : '\x5cx' + (_az < 16 ? '0' : '') + _6l.call(_az.toString(16)); } function _8t(_b1) { var _b2 = null; return 'Object(' + _b1 + ')'; } function _9r(_b3) { var _b4 = null; return _b3 + ' { ? }'; } function _9f(_b5, _b6, _b7, _b8) { var _b9 = null; return _b5 + '\x20(' + _b6 + ') {' + (_b8 ? _93(_b7, _b8) : _6p.call(_b7, ',\x20')) + '}'; } function _93(_ba, _bb) { var _bc = null; if (0 === _ba.length) return ''; var _bd = '\x0a' + _bb.prev + _bb.base; return _bd + _6p.call(_ba, ',' + _bd) + '\x0a' + _bb.prev; } function _8r(_be, _bf) { var _bg = null, _bh = _7m(_be), _bi = []; if (_bh) { _bi.length = _be.length; for (var _bj = 0; _bj < _be.length; _bj++) _bi[_bj] = _83(_be, _bj) ? _bf(_be[_bj], _be) : ''; } var _bk, _bl = 'function' == typeof _6t ? _6t(_be) : []; if (_6v) { _bk = {}; for (var _bm = 0; _bm < _bl.length; _bm++) _bk['$' + _bl[_bm]] = _bl[_bm]; } for (var _bn in _be) _83(_be, _bn) && (_bh && String(Number(_bn)) === _bn && _bn < _be.length || _6v && _bk['$' + _bn] instanceof Symbol || (_6n.call(/[^\w$]/, _bn) ? _bi.push(_bf(_bn, _be) + ':\x20' + _bf(_be[_bn], _be)) : _bi.push(_bn + ':\x20' + _bf(_be[_bn], _be)))); if ('function' == typeof _6t) { for (var _bo = 0; _bo < _bl.length; _bo++) _6x.call(_be, _bl[_bo]) && _bi.push('[' + _bf(_bl[_bo]) + ']: ' + _bf(_be[_bl[_bo]], _be)); } return _bi; } }, 55798: _bp => { 'use strict'; var _bq = null; var _br = String.prototype.replace, _bs = /%20/g, _bt = 'RFC1738', _bu = 'RFC3986'; _bp.exports = { 'default': _bu, 'formatters': { 'RFC1738': function(_bv) { var _bw = null; return _br.call(_bv, _bs, '+'); }, 'RFC3986': function(_bx) { return String(_bx); } }, 'RFC1738': _bt, 'RFC3986': _bu }; }, 80129: (_by, _bz, _c0) => { 'use strict'; var _c1 = null; var _c2 = _c0(58261), _c3 = _c0(55235), _c4 = _c0(55798); _by.exports = { 'formats': _c4, 'parse': _c3, 'stringify': _c2 }; }, 55235: (_c5, _c6, _c7) => { 'use strict'; var _c8 = null; var _c9 = _c7(12769), _ca = Object.prototype.hasOwnProperty, _cb = Array.isArray, _cc = { 'allowDots': !1, 'allowPrototypes': !1, 'allowSparse': !1, 'arrayLimit': 20, 'charset': 'utf-8', 'charsetSentinel': !1, 'comma': !1, 'decoder': _c9.decode, 'delimiter': '&', 'depth': 5, 'ignoreQueryPrefix': !1, 'interpretNumericEntities': !1, 'parameterLimit': 1000, 'parseArrays': !0, 'plainObjects': !1, 'strictNullHandling': !1 }, _cd = function(_ce) { var _cf = null; return _ce.replace(/&#(\d+);/g, function(_cg, _ch) { var _ci = null; return String.fromCharCode(parseInt(_ch, 10)); }); }, _cj = function(_ck, _cl) { var _cm = null; return _ck && 'string' == typeof _ck && _cl.comma && _ck.indexOf(',') > -1 ? _ck.split(',') : _ck; }, _cn = function(_co, _cp, _cq, _cr) { var _cs = null; if (_co) { var _ct = _cq.allowDots ? _co.replace(/\.([^.[]+)/g, '[$1]') : _co, _cu = /(\[[^[\]]*])/g, _cv = _cq.depth > 0 && /(\[[^[\]]*])/ ['exec'](_ct), _cw = _cv ? _ct.slice(0, _cv.index) : _ct, _cx = []; if (_cw) { if (!_cq.plainObjects && _ca.call(Object.prototype, _cw) && !_cq.allowPrototypes) return; _cx.push(_cw); } for (var _cy = 0; _cq.depth > 0 && null !== (_cv = _cu.exec(_ct)) && _cy < _cq.depth;) { if (_cy += 1, !_cq.plainObjects && _ca.call(Object.prototype, _cv[1].slice(1, -1)) && !_cq.allowPrototypes) return; _cx.push(_cv[1]); } return _cv && _cx.push('[' + _ct.slice(_cv.index) + ']'), function(_cz, _d0, _d1, _d2) { var _d3 = null; for (var _d4 = _d2 ? _d0 : _cj(_d0, _d1), _d5 = _cz.length - 1; _d5 >= 0; --_d5) { var _d6, _d7 = _cz[_d5]; if ('[]' === _d7 && _d1.parseArrays) _d6 = [].concat(_d4); else { _d6 = _d1.plainObjects ? Object.create(null) : {}; var _d8 = '[' === _d7.charAt(0) && ']' === _d7.charAt(_d7.length - 1) ? _d7.slice(1, -1) : _d7, _d9 = parseInt(_d8, 10); _d1.parseArrays || '' !== _d8 ? !isNaN(_d9) && _d7 !== _d8 && String(_d9) === _d8 && _d9 >= 0 && _d1.parseArrays && _d9 <= _d1.arrayLimit ? (_d6 = [])[_d9] = _d4 : '__proto__' !== _d8 && (_d6[_d8] = _d4) : _d6 = { 0: _d4 }; } _d4 = _d6; } return _d4; }(_cx, _cp, _cq, _cr); } }; _c5.exports = function(_da, _db) { var _dc = null, _dd = function(_de) { var _df = null; if (!_de) return _cc; if (null !== _de.decoder && void 0 !== _de.decoder && 'function' != typeof _de.decoder) throw new TypeError('Decoder has to be a function.'); if (void 0 !== _de.charset && 'utf-8' !== _de.charset && 'iso-8859-1' !== _de.charset) throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined'); var _dg = void 0 === _de.charset ? _cc.charset : _de.charset; return { 'allowDots': void 0 === _de.allowDots ? _cc.allowDots : !!_de.allowDots, 'allowPrototypes': 'boolean' == typeof _de.allowPrototypes ? _de.allowPrototypes : _cc.allowPrototypes, 'allowSparse': 'boolean' == typeof _de.allowSparse ? _de.allowSparse : _cc.allowSparse, 'arrayLimit': 'number' == typeof _de.arrayLimit ? _de.arrayLimit : _cc.arrayLimit, 'charset': _dg, 'charsetSentinel': 'boolean' == typeof _de.charsetSentinel ? _de.charsetSentinel : _cc.charsetSentinel, 'comma': 'boolean' == typeof _de.comma ? _de.comma : _cc.comma, 'decoder': 'function' == typeof _de.decoder ? _de.decoder : _cc.decoder, 'delimiter': 'string' == typeof _de.delimiter || _c9.isRegExp(_de.delimiter) ? _de.delimiter : _cc.delimiter, 'depth': 'number' == typeof _de.depth || !1 === _de.depth ? +_de.depth : _cc.depth, 'ignoreQueryPrefix': !0 === _de.ignoreQueryPrefix, 'interpretNumericEntities': 'boolean' == typeof _de.interpretNumericEntities ? _de.interpretNumericEntities : _cc.interpretNumericEntities, 'parameterLimit': 'number' == typeof _de.parameterLimit ? _de.parameterLimit : _cc.parameterLimit, 'parseArrays': !1 !== _de.parseArrays, 'plainObjects': 'boolean' == typeof _de.plainObjects ? _de.plainObjects : _cc.plainObjects, 'strictNullHandling': 'boolean' == typeof _de.strictNullHandling ? _de.strictNullHandling : _cc.strictNullHandling }; }(_db); if ('' === _da || null == _da) return _dd.plainObjects ? Object.create(null) : {}; for (var _dh = 'string' == typeof _da ? function(_di, _dj) { var _dk = null, _dl, _dm = { '__proto__': null }, _dn = _dj.ignoreQueryPrefix ? _di.replace(/^\?/, '') : _di, _do = _dj.parameterLimit === 1 / 0 ? void 0 : _dj.parameterLimit, _dp = _dn.split(_dj.delimiter, _do), _dq = -1, _dr = _dj.charset; if (_dj.charsetSentinel) { for (_dl = 0; _dl < _dp.length; ++_dl) 0 === _dp[_dl].indexOf('utf8=') && ('utf8=%E2%9C%93' === _dp[_dl] ? _dr = 'utf-8' : 'utf8=%26%2310003%3B' === _dp[_dl] && (_dr = 'iso-8859-1'), _dq = _dl, _dl = _dp.length); } for (_dl = 0; _dl < _dp.length; ++_dl) if (_dl !== _dq) { var _ds, _dt, _du = _dp[_dl], _dv = _du.indexOf(']='), _dw = -1 === _dv ? _du.indexOf('=') : _dv + 1; - 1 === _dw ? (_ds = _dj.decoder(_du, _cc.decoder, _dr, 'key'), _dt = _dj.strictNullHandling ? null : '') : (_ds = _dj.decoder(_du.slice(0, _dw), _cc.decoder, _dr, 'key'), _dt = _c9.maybeMap(_cj(_du.slice(_dw + 1), _dj), function(_dx) { var _dy = null; return _dj.decoder(_dx, _cc.decoder, _dr, 'value'); })), _dt && _dj.interpretNumericEntities && 'iso-8859-1' === _dr && (_dt = _cd(_dt)), _du.indexOf('[]=') > -1 && (_dt = _cb(_dt) ? [_dt] : _dt), _ca.call(_dm, _ds) ? _dm[_ds] = _c9.combine(_dm[_ds], _dt) : _dm[_ds] = _dt; } return _dm; }(_da, _dd) : _da, _dz = _dd.plainObjects ? Object.create(null) : {}, _e0 = Object.keys(_dh), _e1 = 0; _e1 < _e0.length; ++_e1) { var _e2 = _e0[_e1], _e3 = _cn(_e2, _dh[_e2], _dd, 'string' == typeof _da); _dz = _c9.merge(_dz, _e3, _dd); } return !0 === _dd.allowSparse ? _dz : _c9.compact(_dz); }; }, 58261: (_e4, _e5, _e6) => { 'use strict'; var _e7 = null; var _e8 = _e6(37478), _e9 = _e6(12769), _ea = _e6(55798), _eb = Object.prototype.hasOwnProperty, _ec = { 'brackets': function(_ed) { return _ed + '[]'; }, 'comma': 'comma', 'indices': function(_ee, _ef) { return _ee + '[' + _ef + ']'; }, 'repeat': function(_eg) { return _eg; } }, _eh = Array.isArray, _ei = Array.prototype.push, _ej = function(_ek, _el) { var _em = null; _ei.apply(_ek, _eh(_el) ? _el : [_el]); }, _en = Date.prototype.toISOString, _eo = _ea.default, _ep = { 'addQueryPrefix': !1, 'allowDots': !1, 'charset': 'utf-8', 'charsetSentinel': !1, 'delimiter': '&', 'encode': !0, 'encoder': _e9.encode, 'encodeValuesOnly': !1, 'format': _eo, 'formatter': _ea.formatters[_eo], 'indices': !1, 'serializeDate': function(_eq) { var _er = null; return _en.call(_eq); }, 'skipNulls': !1, 'strictNullHandling': !1 }, _es = {}, _et = function _eu(_ev, _ew, _ex, _ey, _ez, _f0, _f1, _f2, _f3, _f4, _f5, _f6, _f7, _f8, _f9, _fa) { var _fb = null; for (var _fc, _fd = _ev, _fe = _fa, _ff = 0, _fg = !1; void 0 !== (_fe = _fe.get(_es)) && !_fg;) { var _fh = _fe.get(_ev); if (_ff += 1, void 0 !== _fh) { if (_fh === _ff) throw new RangeError('Cyclic object value'); _fg = !0; } void 0 === _fe.get(_es) && (_ff = 0); } if ('function' == typeof _f2 ? _fd = _f2(_ew, _fd) : _fd instanceof Date ? _fd = _f5(_fd) : 'comma' === _ex && _eh(_fd) && (_fd = _e9.maybeMap(_fd, function(_fi) { return _fi instanceof Date ? _f5(_fi) : _fi; })), null === _fd) { if (_ez) return _f1 && !_f8 ? _f1(_ew, _ep.encoder, _f9, 'key', _f6) : _ew; _fd = ''; } if ('string' == typeof(_fc = _fd) || 'number' == typeof _fc || 'boolean' == typeof _fc || 'symbol' == typeof _fc || 'bigint' == typeof _fc || _e9.isBuffer(_fd)) return _f1 ? [_f7(_f8 ? _ew : _f1(_ew, _ep.encoder, _f9, 'key', _f6)) + '=' + _f7(_f1(_fd, _ep.encoder, _f9, 'value', _f6))] : [_f7(_ew) + '=' + _f7(String(_fd))]; var _fj, _fk = []; if (void 0 === _fd) return _fk; if ('comma' === _ex && _eh(_fd)) _f8 && _f1 && (_fd = _e9.maybeMap(_fd, _f1)), _fj = [{ 'value': _fd.length > 0 ? _fd.join(',') || null : void 0 }]; else { if (_eh(_f2)) _fj = _f2; else { var _fl = Object.keys(_fd); _fj = _f3 ? _fl.sort(_f3) : _fl; } } for (var _fm = _ey && _eh(_fd) && 1 === _fd.length ? _ew + '[]' : _ew, _fn = 0; _fn < _fj.length; ++_fn) { var _fo = _fj[_fn], _fp = 'object' == typeof _fo && void 0 !== _fo.value ? _fo.value : _fd[_fo]; if (!_f0 || null !== _fp) { var _fq = _eh(_fd) ? 'function' == typeof _ex ? _ex(_fm, _fo) : _fm : _fm + (_f4 ? '.' + _fo : '[' + _fo + ']'); _fa.set(_ev, _ff); var _fr = _e8(); _fr.set(_es, _fa), _ej(_fk, _eu(_fp, _fq, _ex, _ey, _ez, _f0, 'comma' === _ex && _f8 && _eh(_fd) ? null : _f1, _f2, _f3, _f4, _f5, _f6, _f7, _f8, _f9, _fr)); } } return _fk; }; _e4.exports = function(_fs, _ft) { var _fu = null, _fv, _fw = _fs, _fx = function(_fy) { var _fz = null; if (!_fy) return _ep; if (null !== _fy.encoder && void 0 !== _fy.encoder && 'function' != typeof _fy.encoder) throw new TypeError('Encoder has to be a function.'); var _g0 = _fy.charset || _ep.charset; if (void 0 !== _fy.charset && 'utf-8' !== _fy.charset && 'iso-8859-1' !== _fy.charset) throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined'); var _g1 = _ea.default; if (void 0 !== _fy.format) { if (!_eb.call(_ea.formatters, _fy.format)) throw new TypeError('Unknown format option provided.'); _g1 = _fy.format; } var _g2 = _ea.formatters[_g1], _g3 = _ep.filter; return ('function' == typeof _fy.filter || _eh(_fy.filter)) && (_g3 = _fy.filter), { 'addQueryPrefix': 'boolean' == typeof _fy.addQueryPrefix ? _fy.addQueryPrefix : _ep.addQueryPrefix, 'allowDots': void 0 === _fy.allowDots ? _ep.allowDots : !!_fy.allowDots, 'charset': _g0, 'charsetSentinel': 'boolean' == typeof _fy.charsetSentinel ? _fy.charsetSentinel : _ep.charsetSentinel, 'delimiter': void 0 === _fy.delimiter ? _ep.delimiter : _fy.delimiter, 'encode': 'boolean' == typeof _fy.encode ? _fy.encode : _ep.encode, 'encoder': 'function' == typeof _fy.encoder ? _fy.encoder : _ep.encoder, 'encodeValuesOnly': 'boolean' == typeof _fy.encodeValuesOnly ? _fy.encodeValuesOnly : _ep.encodeValuesOnly, 'filter': _g3, 'format': _g1, 'formatter': _g2, 'serializeDate': 'function' == typeof _fy.serializeDate ? _fy.serializeDate : _ep.serializeDate, 'skipNulls': 'boolean' == typeof _fy.skipNulls ? _fy.skipNulls : _ep.skipNulls, 'sort': 'function' == typeof _fy.sort ? _fy.sort : null, 'strictNullHandling': 'boolean' == typeof _fy.strictNullHandling ? _fy.strictNullHandling : _ep.strictNullHandling }; }(_ft); 'function' == typeof _fx.filter ? _fw = (0, _fx.filter)('', _fw) : _eh(_fx.filter) && (_fv = _fx.filter); var _g4, _g5 = []; if ('object' != typeof _fw || null === _fw) return ''; _g4 = _ft && _ft.arrayFormat in _ec ? _ft.arrayFormat : _ft && 'indices' in _ft ? _ft.indices ? 'indices' : 'repeat' : 'indices'; var _g6 = _ec[_g4]; if (_ft && 'commaRoundTrip' in _ft && 'boolean' != typeof _ft.commaRoundTrip) throw new TypeError('`commaRoundTrip` must be a boolean, or absent'); var _g7 = 'comma' === _g6 && _ft && _ft.commaRoundTrip; _fv || (_fv = Object.keys(_fw)), _fx.sort && _fv.sort(_fx.sort); for (var _g8 = _e8(), _g9 = 0; _g9 < _fv.length; ++_g9) { var _ga = _fv[_g9]; _fx.skipNulls && null === _fw[_ga] || _ej(_g5, _et(_fw[_ga], _ga, _g6, _g7, _fx.strictNullHandling, _fx.skipNulls, _fx.encode ? _fx.encoder : null, _fx.filter, _fx.sort, _fx.allowDots, _fx.serializeDate, _fx.format, _fx.formatter, _fx.encodeValuesOnly, _fx.charset, _g8)); } var _gb = _g5.join(_fx.delimiter), _gc = !0 === _fx.addQueryPrefix ? '?' : ''; return _fx.charsetSentinel && ('iso-8859-1' === _fx.charset ? _gc += 'utf8=%26%2310003%3B&' : _gc += 'utf8=%E2%9C%93&'), _gb.length > 0 ? _gc + _gb : ''; }; }, 12769: (_gd, _ge, _gf) => { 'use strict'; var _gg = null; var _gh = _gf(55798), _gi = Object.prototype.hasOwnProperty, _gj = Array.isArray, _gk = (function() { var _gl = null; for (var _gm = [], _gn = 0; _gn < 256; ++_gn) _gm.push('%' + ((_gn < 16 ? '0' : '') + _gn.toString(16)).toUpperCase()); return _gm; }()), _go = function(_gp, _gq) { var _gr = null; for (var _gs = _gq && _gq.plainObjects ? Object.create(null) : {}, _gt = 0; _gt < _gp.length; ++_gt) void 0 !== _gp[_gt] && (_gs[_gt] = _gp[_gt]); return _gs; }; _gd.exports = { 'arrayToObject': _go, 'assign': function(_gu, _gv) { var _gw = null; return Object.keys(_gv).reduce(function(_gx, _gy) { return _gx[_gy] = _gv[_gy], _gx; }, _gu); }, 'combine': function(_gz, _h0) { var _h1 = null; return [].concat(_gz, _h0); }, 'compact': function(_h2) { var _h3 = null; for (var _h4 = [{ 'obj': { 'o': _h2 }, 'prop': 'o' }], _h5 = [], _h6 = 0; _h6 < _h4.length; ++_h6) for (var _h7 = _h4[_h6], _h8 = _h7.obj[_h7.prop], _h9 = Object.keys(_h8), _ha = 0; _ha < _h9.length; ++_ha) { var _hb = _h9[_ha], _hc = _h8[_hb]; 'object' == typeof _hc && null !== _hc && -1 === _h5.indexOf(_hc) && (_h4.push({ 'obj': _h8, 'prop': _hb }), _h5.push(_hc)); } return function(_hd) { var _he = null; for (; _hd.length > 1;) { var _hf = _hd.pop(), _hg = _hf.obj[_hf.prop]; if (_gj(_hg)) { for (var _hh = [], _hi = 0; _hi < _hg.length; ++_hi) void 0 !== _hg[_hi] && _hh.push(_hg[_hi]); _hf.obj[_hf.prop] = _hh; } } }(_h4), _h2; }, 'decode': function(_hj, _hk, _hl) { var _hm = null, _hn = _hj.replace(/\+/g, '\x20'); if ('iso-8859-1' === _hl) return _hn.replace(/%[0-9a-f]{2}/gi, unescape); try { return decodeURIComponent(_hn); } catch (_ho) { return _hn; } }, 'encode': function(_hp, _hq, _hr, _hs, _ht) { var _hu = null; if (0 === _hp.length) return _hp; var _hv = _hp; if ('symbol' == typeof _hp ? _hv = Symbol.prototype.toString.call(_hp) : 'string' != typeof _hp && (_hv = String(_hp)), 'iso-8859-1' === _hr) return escape(_hv).replace(/%u[0-9a-f]{4}/gi, function(_hw) { var _hx = null; return '%26%23' + parseInt(_hw.slice(2), 16) + '%3B'; }); for (var _hy = '', _hz = 0; _hz < _hv.length; ++_hz) { var _i0 = _hv.charCodeAt(_hz); 45 === _i0 || 46 === _i0 || 95 === _i0 || 126 === _i0 || _i0 >= 48 && _i0 <= 57 || _i0 >= 65 && _i0 <= 90 || _i0 >= 97 && _i0 <= 122 || _ht === _gh.RFC1738 && (40 === _i0 || 41 === _i0) ? _hy += _hv.charAt(_hz) : _i0 < 128 ? _hy += _gk[_i0] : _i0 < 2048 ? _hy += _gk[192 | _i0 >> 6] + _gk[128 | 63 & _i0] : _i0 < 55296 || _i0 >= 57344 ? _hy += _gk[224 | _i0 >> 12] + _gk[128 | _i0 >> 6 & 63] + _gk[128 | 63 & _i0] : (_hz += 1, _i0 = 65536 + ((1023 & _i0) << 10 | 1023 & _hv.charCodeAt(_hz)), _hy += _gk[240 | _i0 >> 18] + _gk[128 | _i0 >> 12 & 63] + _gk[128 | _i0 >> 6 & 63] + _gk[128 | 63 & _i0]); } return _hy; }, 'isBuffer': function(_i1) { var _i2 = null; return !(!_i1 || 'object' != typeof _i1) && !!(_i1.constructor && _i1.constructor.isBuffer && _i1.constructor.isBuffer(_i1)); }, 'isRegExp': function(_i3) { var _i4 = null; return '[object RegExp]' === Object.prototype.toString.call(_i3); }, 'maybeMap': function(_i5, _i6) { var _i7 = null; if (_gj(_i5)) { for (var _i8 = [], _i9 = 0; _i9 < _i5.length; _i9 += 1) _i8.push(_i6(_i5[_i9])); return _i8; } return _i6(_i5); }, 'merge': function _ia(_ib, _ic, _id) { var _ie = null; if (!_ic) return _ib; if ('object' != typeof _ic) { if (_gj(_ib)) _ib.push(_ic); else { if (!_ib || 'object' != typeof _ib) return [_ib, _ic]; (_id && (_id.plainObjects || _id.allowPrototypes) || !_gi.call(Object.prototype, _ic)) && (_ib[_ic] = !0); } return _ib; } if (!_ib || 'object' != typeof _ib) return [_ib].concat(_ic); var _if = _ib; return _gj(_ib) && !_gj(_ic) && (_if = _go(_ib, _id)), _gj(_ib) && _gj(_ic) ? (_ic.forEach(function(_ig, _ih) { var _ii = null; if (_gi.call(_ib, _ih)) { var _ij = _ib[_ih]; _ij && 'object' == typeof _ij && _ig && 'object' == typeof _ig ? _ib[_ih] = _ia(_ij, _ig, _id) : _ib.push(_ig); } else _ib[_ih] = _ig; }), _ib) : Object.keys(_ic).reduce(function(_ik, _il) { var _im = null, _in = _ic[_il]; return _gi.call(_ik, _il) ? _ik[_il] = _ia(_ik[_il], _in, _id) : _ik[_il] = _in, _ik; }, _if); } }; }, 67771: (_io, _ip, _iq) => { 'use strict'; var _ir = null; var _is = _iq(40210), _it = _iq(12296), _iu = _iq(31044)(), _iv = _iq(27296), _iw = _is('%TypeError%'), _ix = _is('%Math.floor%'); _io.exports = function(_iy, _iz) { var _j0 = null; if ('function' != typeof _iy) throw new _iw('`fn` is not a function'); if ('number' != typeof _iz || _iz < 0 || _iz > 4294967295 || _ix(_iz) !== _iz) throw new _iw('`length` must be a positive 32-bit integer'); var _j1 = arguments.length > 2 && !!arguments[2], _j2 = !0, _j3 = !0; if ('length' in _iy && _iv) { var _j4 = _iv(_iy, 'length'); _j4 && !_j4.configurable && (_j2 = !1), _j4 && !_j4.writable && (_j3 = !1); } return (_j2 || _j3 || !_j1) && (_iu ? _it(_iy, 'length', _iz, !0, !0) : _it(_iy, 'length', _iz)), _iy; }; }, 37478: (_j5, _j6, _j7) => { 'use strict'; var _j8 = null; var _j9 = _j7(40210), _ja = _j7(21924), _jb = _j7(70631), _jc = _j9('%TypeError%'), _jd = _j9('%WeakMap%', !0), _je = _j9('%Map%', !0), _jf = _ja('WeakMap.prototype.get', !0), _jg = _ja('WeakMap.prototype.set', !0), _jh = _ja('WeakMap.prototype.has', !0), _ji = _ja('Map.prototype.get', !0), _jj = _ja('Map.prototype.set', !0), _jk = _ja('Map.prototype.has', !0), _jl = function(_jm, _jn) { var _jo = null; for (var _jp, _jq = _jm; null !== (_jp = _jq.next); _jq = _jp) if (_jp.key === _jn) return _jq.next = _jp.next, _jp.next = _jm.next, _jm.next = _jp, _jp; }; _j5.exports = function() { var _jr, _js, _jt, _ju = { 'assert': function(_jv) { var _jw = null; if (!_ju.has(_jv)) throw new _jc('Side channel does not contain ' + _jb(_jv)); }, 'get': function(_jx) { var _jy = null; if (_jd && _jx && ('object' == typeof _jx || 'function' == typeof _jx)) { if (_jr) return _jf(_jr, _jx); } else { if (_je) { if (_js) return _ji(_js, _jx); } else { if (_jt) return function(_jz, _k0) { var _k1 = null, _k2 = _jl(_jz, _k0); return _k2 && _k2.value; }(_jt, _jx); } } }, 'has': function(_k3) { var _k4 = null; if (_jd && _k3 && ('object' == typeof _k3 || 'function' == typeof _k3)) { if (_jr) return _jh(_jr, _k3); } else { if (_je) { if (_js) return _jk(_js, _k3); } else { if (_jt) return function(_k5, _k6) { return !!_jl(_k5, _k6); }(_jt, _k3); } } return !1; }, 'set': function(_k7, _k8) { var _k9 = null; _jd && _k7 && ('object' == typeof _k7 || 'function' == typeof _k7) ? (_jr || (_jr = new _jd()), _jg(_jr, _k7, _k8)) : _je ? (_js || (_js = new _je()), _jj(_js, _k7, _k8)) : (_jt || (_jt = { 'key': {}, 'next': null }), function(_ka, _kb, _kc) { var _kd = null, _ke = _jl(_ka, _kb); _ke ? _ke.value = _kc : _ka.next = { 'key': _kb, 'next': _ka.next, 'value': _kc }; }(_jt, _k7, _k8)); } }; return _ju; }; }, 7195: (_kf, _kg) => { 'use strict'; var _kh = null; defineModule(_kg); Object.defineProperty(_kg, '__esModule', { 'value': !0 }), _kg['$_$'] = void 0; var _ki = (function() { var _kj = null; function _kk() {} return _kk.Sequence = function() { var _kl = null; for (var _km = [], _kn = 0; _kn < arguments.length; _kn++) _km[_kn] = arguments[_kn]; return new _ko(_km); }, _kk.Parallel = function() { var _kp = null; for (var _kq = [], _kr = 0; _kr < arguments.length; _kr++) _kq[_kr] = arguments[_kr]; return new _ks(_kq); }, _kk.Delay = function(_kt) { return new _ku(_kt); }, _kk.Call = function(_kv) { return new _kw(_kv); }, _kk.Condition = function(_kx, _ky, _kz) { return void 0 === _kz && (_kz = function() { var _l0 = null; return _kk.DoNothing(); }), new _l1(_kx, _ky, _kz); }, _kk.DoNothing = function() { return new _l2(); }, _kk.WaitForTask = function(_l3, _l4) { return new _l5(_l3, _l4); }, _kk.LoopFor = function(_l6, _l7) { return new _l8(_l6, _l7); }, _kk.Value = function(_l9, _la, _lb, _lc, _ld, _le) { var _lf = null; return void 0 === _lc && (_lc = createjs.Ease.linear), void 0 === _ld && (_ld = function() {}), void 0 === _le && (_le = !1), new _lg(_l9, _la, _lb, _ld, _lc, _le); }, _kk.WaitForFrame = function(_lh) { return new _li(_lh); }, _kk.Tick = function(_lj, _lk) { return new _ll(_lj, _lk); }, _kk.SILENT = function() {}, _kk.ENDLESS = _kk.SILENT, _kk; }()); _kg['$_$'] = _ki; var _ll = (function() { var _lm = null; function _ln(_lo, _lp) { var _lq = null, _lr = this; this.onTick = function(_ls) { var _lt = null, _lu = _ls; _lr._checkCall() ? _lr._onTick(_lu) : (createjs.Ticker.removeEventListener('tick', _lr.onTick), _lr._onComplete()); }, this._onTick = _lp, this._checkCall = _lo; } return _ln.prototype.execute = function(_lv) { var _lw = null; createjs.Ticker.addEventListener('tick', this.onTick), this._onComplete = _lv; }, _ln.prototype.dispose = function() { var _lx = null; this._onTick = null, this._checkCall = null, this._onComplete = null; }, _ln.prototype.interrupt = function() { var _ly = null; createjs.Ticker.removeEventListener('tick', this.onTick); }, _ln.prototype.interruptible = function() { return !0; }, _ln; }()), _l2 = (function() { var _lz = null; function _m0() {} return _m0.prototype.interruptible = function() { return !0; }, _m0.prototype.interrupt = function() {}, _m0.prototype.execute = function(_m1) { _m1(); }, _m0.prototype.dispose = function() {}, _m0; }()), _l1 = (function() { var _m2 = null; function _m3(_m4, _m5, _m6) { var _m7 = null; this._testCondition = _m4, this._trueCase = _m5, this._falseCase = _m6; } return _m3.prototype.interruptible = function() { var _m8 = null; return this._job.interruptible(); }, _m3.prototype.interrupt = function() { var _m9 = null; this._job.interrupt(), this._trueCase = function() {}, this._falseCase = function() {}, this._testCondition = function() {}; }, _m3.prototype.execute = function(_ma) { var _mb = null, _mc = this._testCondition() ? this._trueCase() : this._falseCase(); this._job = _mc, _mc.execute(_ma); }, _m3.prototype.dispose = function() { var _md = null; this._job.dispose(), this._job = null, this._testCondition = null, this._trueCase = null, this._falseCase = null; }, _m3; }()), _ko = (function() { var _me = null; function _mf(_mg) { var _mh = null, _mi = this; this._next = function() { var _mj = null; if (_mi._job && _mi._job.dispose(), _mi._job = null, _mi._seek < _mi._tasks.length) { var _mk = (0, _mi._tasks[_mi._seek++])(); _mi._job = _mk, _mk.execute(_mi._next); } else _mi._onComplete(); }, this._tasks = _mg; } return _mf.prototype.push = function() { var _ml = null; for (var _mm = [], _mn = 0; _mn < arguments.length; _mn++) _mm[_mn] = arguments[_mn]; 1 == _mm.length ? this._tasks.push(_mm[0]) : this._tasks = this._tasks.concat(_mm); }, _mf.prototype.execute = function(_mo) { var _mp = null; this._onComplete = _mo, this._start(); }, _mf.prototype._start = function() { var _mq = null; this._seek = 0, this._next(); }, _mf.prototype.interruptible = function() { var _mr = null; return this._job && this._job.interruptible(), !0; }, _mf.prototype.interrupt = function() { var _ms = null; this._job && this._job.interrupt(); }, _mf.prototype.dispose = function() { var _mt = null, _mu = this; this._job && this._job.dispose(), this._job = null, this._tasks.forEach(function(_mv, _mw) { var _mx = null; _mu._tasks[_mw] = null; }), this._onComplete = null; }, _mf; }()), _ku = (function() { var _my = null; function _mz(_n0) { var _n1 = null; this._duration = _n0; } return _mz.prototype.execute = function(_n2) { var _n3 = null, _n4 = createjs.Tween.get(this).wait(this._duration).call(_n2); this._tween = _n4, _n4.play(null); }, _mz.prototype.interruptible = function() { return !0; }, _mz.prototype.interrupt = function() { var _n5 = null; createjs.Tween.removeTweens(this._tween.target); }, _mz.prototype.dispose = function() { var _n6 = null; this._tween = null, this._duration = null; }, _mz; }()), _kw = (function() { var _n7 = null; function _n8(_n9) { var _na = null; this._call = _n9; } return _n8.prototype.execute = function(_nb) { var _nc = null; this._call(), _nb(); }, _n8.prototype.dispose = function() { var _nd = null; this._call = null; }, _n8.prototype.interruptible = function() { return !0; }, _n8.prototype.interrupt = function() {}, _n8; }()), _li = (function() { var _ne = null; function _nf(_ng) { var _nh = null; this._frame = _ng; } return _nf.prototype.execute = function(_ni) { var _nj = null, _nk = createjs.Tween.get(this, { 'useTicks': !0 }).wait(this._frame).call(function() { _ni(); }); this._tween = _nk, _nk.play(null); }, _nf.prototype.dispose = function() { var _nl = null; this._tween = null, this._frame = null; }, _nf.prototype.interruptible = function() { return !0; }, _nf.prototype.interrupt = function() { var _nm = null; createjs.Tween.removeTweens(this._tween.target); }, _nf; }()), _lg = (function() { var _nn = null; function _no(_np, _nq, _nr, _ns, _nt, _nu) { var _nv = null, _nw = this; this._complete = function() { var _nx = null; _nw._tween.removeEventListener('change', _nw.__onUpdate__), _nw.__onUpdate__(), _nw.__onComplete__(); }, this.__onComplete__ = function() { var _ny = null; _nw._onComplete && _nw._onComplete(); }, this.__onUpdate__ = function() { var _nz = null; _nw._onUpadte && _nw._onUpadte(_nw._target); }, this._target = _np, this._to = _nq, this._duration = _nr, this._onUpadte = _ns, this._easing = _nt; } return _no.prototype.execute = function(_o0) { var _o1 = null, _o2 = this; this._onComplete = _o0; var _o3 = createjs.Tween.get(this._target).to(this._to, this._duration, this._easing).call(function() { var _o4 = null; _o2._complete(); }); _o3.addEventListener('change', this.__onUpdate__), this._tween = _o3, _o3.play(null); }, _no.prototype.dispose = function() { var _o5 = null; this._target = null, this._to = null, this._duration = null, this._tween = null, this._easing = null, this._onUpadte = null; }, _no.prototype.interruptible = function() { return !0; }, _no.prototype.interrupt = function() { var _o6 = null; createjs.Tween.removeTweens(this._tween.target), this._complete = function() {}, this.__onUpdate__ = function() {}, this._onComplete = null, this._onUpadte = null; }, _no; }()), _l5 = (function() { var _o7 = null; function _o8(_o9, _oa) { var _ob = null, _oc = this; this._completeLoopJob = function() { var _od = null; _oc._loopJob.dispose(), _oc._loopJob = null, _oc._startLoopJob(); }, this._completeMainJob = function() { var _oe = null; _oc._mainJob.dispose(), _oc._mainJob = null; }, this._mainTask = _o9, this._loopTask = _oa; } return _o8.prototype.execute = function(_of) { var _og = null; this._onComplete = _of, this._startMainJob(), this._startLoopJob(); }, _o8.prototype._startMainJob = function() { var _oh = null, _oi = this._mainTask(); this._mainJob = _oi, _oi.execute(this._completeMainJob); }, _o8.prototype._startLoopJob = function() { var _oj = null; if (null == this._mainJob) this._onComplete(); else { var _ok = this._loopTask(); this._loopJob = _ok, _ok.execute(this._completeLoopJob); } }, _o8.prototype.dispose = function() { var _ol = null; this._loopTask = null, this._mainTask = null, this._loopJob = null, this._mainJob = null, this._onComplete = null; }, _o8.prototype.interrupt = function() { var _om = null; this._loopJob && this._loopJob.interrupt(), this._mainJob && this._mainJob.interrupt(); }, _o8.prototype.interruptible = function() { var _on = null, _oo = !0; return this._loopJob && (_oo = _oo && this._loopJob.interruptible()), this._mainJob && (_oo = _oo && this._mainJob.interruptible()), _oo; }, _o8; }()), _l8 = (function() { var _op = null; function _oq(_or, _os) { var _ot = null, _ou = this; this._for_ = function() { var _ov = null; if (_ou._job && _ou._job.dispose(), _ou._job = null, _ou._checkCondition()) { var _ow = _ou._task(); _ou._job = _ow, _ow.execute(_ou._for_); } else _ou._onComplete(); }, this._checkCondition = _or, this._task = _os; } return _oq.prototype.execute = function(_ox) { var _oy = null; this._onComplete = _ox, this._for_(); }, _oq.prototype.interruptible = function() { var _oz = null; return !this._job || this._job.interruptible(); }, _oq.prototype.interrupt = function() { var _p0 = null; this._for_ = function() {}, this._job && this._job.interrupt(); }, _oq.prototype.dispose = function() { var _p1 = null; this._job && this._job.dispose(), this._onComplete = null, this._job = null, this._checkCondition = null; }, _oq; }()), _ks = (function() { var _p2 = null; function _p3(_p4) { var _p5 = null, _p6 = this; this._complete_call = function() { var _p7 = null; _p6._doneCounter++, _p6._tasks.length <= _p6._doneCounter && _p6._onComplete(); }, this._tasks = _p4, this._jobs = [], this._doneCounter = 0; } return _p3.prototype.push = function() { var _p8 = null; for (var _p9 = [], _pa = 0; _pa < arguments.length; _pa++) _p9[_pa] = arguments[_pa]; 1 == _p9.length ? this._tasks.push(_p9[0]) : this._tasks = this._tasks.concat(_p9); }, _p3.prototype.interruptible = function() { var _pb = null, _pc = !0; return this._jobs.forEach(function(_pd) { var _pe = null, _pf = _pd.interruptible(); _pc = _pc && _pf; }), _pc; }, _p3.prototype.interrupt = function() { var _pg = null; this._jobs.forEach(function(_ph) { var _pi = null; return _ph.interrupt(); }), this._onComplete = function() {}; }, _p3.prototype.execute = function(_pj) { var _pk = null; this._onComplete = _pj, this.__call__(); }, _p3.prototype.__call__ = function() { var _pl = null, _pm = this; 0 != this._tasks.length ? this._tasks.forEach(function(_pn) { var _po = null, _pp = _pn(); _pm._jobs.push(_pp), _pp.execute(_pm._complete_call); }) : this._complete_call(); }, _p3.prototype.dispose = function() { var _pq = null, _pr = this; this._jobs.forEach(function(_ps, _pt) { var _pu = null; _ps.dispose(), _pr._jobs[_pt] = null; }), this._jobs = null, this._complete_call = null, this._tasks.forEach(function(_pv, _pw) { var _px = null; _pr._tasks[_pw] = null; }), this._onComplete = null, this._doneCounter = null; }, _p3; }()); }, 85426: function(_py, _pz, _q0) { 'use strict'; var _q1 = null; var _q2, _q3 = this && this.__extends || (_q2 = function(_q4, _q5) { var _q6 = null; return _q2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_q7, _q8) { var _q9 = null; _q7.__proto__ = _q8; } || function(_qa, _qb) { var _qc = null; for (var _qd in _qb) Object.prototype.hasOwnProperty.call(_qb, _qd) && (_qa[_qd] = _qb[_qd]); }, _q2(_q4, _q5); }, function(_qe, _qf) { var _qg = null; if ('function' != typeof _qf && null !== _qf) throw new TypeError('Class extends value ' + String(_qf) + ' is not a constructor or null'); function _qh() { var _qi = null; this.constructor = _qe; } _q2(_qe, _qf), _qe.prototype = null === _qf ? Object.create(_qf) : (_qh.prototype = _qf.prototype, new _qh()); }), _qj = this && this.__importDefault || function(_qk) { var _ql = null; return _qk && _qk.__esModule ? _qk : { 'default': _qk }; }; defineModule(_pz); Object.defineProperty(_pz, '__esModule', { 'value': !0 }), _pz.MarriageAnimation = void 0; var _qm = _qj(_q0(21359)), _qn = _qj(_q0(18622)), _qo = _q0(35380), _qp = _q0(65890), _qq = _q0(7344), _qr = _q0(20137), _qs = _q0(13748), _qt = _q0(5082), _qu = _q0(84126), _qv = 20, _qw = 1.75, _qx = function(_qy) { var _qz = null; function _r0(_r1, _r2) { var _r3 = null; void 0 === _r2 && (_r2 = null); var _r4 = _qy.call(this) || this; return _r4.Dispose = function() { var _r5 = null; _qn.default.view.portMain.visible = !0, null != _r4.voice && _qn.default.sound.voice.stop(_r4.voice), null != _r4.btn && _r4.btn.dispose(), _r4.shipModel = null, _r4.sakura = null, _r4.voice = null, _r4.btn = null, _r4.endAction = null, _r4.faceRect = null, _r4.touchArea = null, _r4.sBG = null, _r4.sFeather = null, _r4.sLight = null, _r4.sBlueLight = null, _r4.maskBg = null, _r4.sWhiteFrame = null, _r4.sBox1 = null, _r4.sBox2 = null, _r4.sBox3 = null, _r4.sBox4 = null, _r4.sRing = null, _r4.sText = null, _r4.sTextBack = null, _r4.sShip1 = null, _r4.sShip2 = null, _r4.sWhiteFrame = null, _r4.lightTween = null, _r4.blueTween = null, _r4.mainTween = null, _r4.timelineS1 = null, _r4.tweenS2_1 = null, _r4.tweenS2_2 = null, _r4.timelineS2 = null, _r4.tweenS3_1 = null, _r4.timelineS3_1 = null, _r4.timelineS3_2 = null, _r4.tweenS4_1 = null, _r4.tweenS4_2 = null, _r4.tweenS5_1 = null, _r4.tweenS5_2 = null, _r4.timelineS5_2 = null, _r4.timelineS5_2 = null, _r4.tweenS6_1 = null, _r4.timelineS6_1 = null, _r4.tweenS7_1 = null, _r4.timelineS7_1 = null, _r4.timelineS7_2 = null, _r4.timelineS7_3 = null, _r4.timelineS7_4 = null, _qs.UIImageLoader.clearMemoryCache('wedding'); }, _r4.Hide = function() { var _r6 = null; null != _r4.voice && _qn.default.sound.voice.stop(_r4.voice), _qn.default.sound.bgm.stop(), _r4.stopTween(_r4.mainTween), _r4.stopTween(_r4.timelineS1), _r4.stopTween(_r4.tweenS2_1), _r4.stopTween(_r4.tweenS2_2), _r4.stopTween(_r4.timelineS2), _r4.stopTween(_r4.tweenS3_1), _r4.stopTween(_r4.timelineS3_1), _r4.stopTween(_r4.timelineS3_2), _r4.stopTween(_r4.tweenS4_1), _r4.stopTween(_r4.tweenS4_2), _r4.stopTween(_r4.tweenS5_1), _r4.stopTween(_r4.tweenS5_2), _r4.stopTween(_r4.timelineS5_1), _r4.stopTween(_r4.timelineS5_2), _r4.stopTween(_r4.tweenS6_1), _r4.stopTween(_r4.timelineS6_1), _r4.stopTween(_r4.tweenS7_1), _r4.stopTween(_r4.timelineS7_1), _r4.stopTween(_r4.timelineS7_2), _r4.stopTween(_r4.timelineS7_3), _r4.stopTween(_r4.timelineS7_4), _r4.stopLight(), _r4.stopBlueTwinkle(), _r4.hideSakura(), _r4.removeChildren(0, _r4.children.length); }, _r4.Play = function(_r7, _r8) { var _r9 = null; new _qr.ShipLoader().add(_r4.shipModel.mstID, !1, 'full').load(function() { var _ra = null; _r4.sShip1.texture = _qn.default.resources.getShip(_r4.shipModel.mstID, !1, 'full'), _r4.sShip2.texture = _qn.default.resources.getShip(_r4.shipModel.mstID, !1, 'full'), null == _r4.faceRect && (_r4.faceRect = _qn.default.model.ship_graph.get(_r4.shipModel.mstID).getFaceRect(!1)), _r4.sShip1.scale.set(2, 2), _r4.sShip2.scale.set(1, 1), _r4.startAnimation(_r7, _r8); }); }, _r4.playVoice = function() { var _rb = null; _r4.voice = _qn.default.sound.voice.play(_r4.shipModel.mstID.toString(), 24); }, _r4.randomLight = function() { var _rc = null; _r4.lightTween = []; for (var _rd = function(_re) { var _rf = null, _rg = createjs.Tween.get(_r4.sLight[_re], { 'paused': !0 }); _rg.call(function() { var _rh = null, _ri = _r4._getWhiteLightTextureNo(Math.floor(10 * Math.random()) + 1); _r4.sLight[_re].texture = _qu.WEDDING_MARRIAGE.getTexture(_ri), _r4.sLight[_re].position.set(Math.floor(Math.random() * _qm.default.width), Math.floor(Math.random() * _qm.default.height)); }).set({ 'visible': !0 }).wait(Math.floor(2000 * Math.random())).to({ 'alpha': 1 }, 1000).wait(500).to({ 'alpha': 0 }, 1000), _rg.loop = !0, _rg.setPaused(!0), _r4.lightTween.push(_rg); }, _rj = 0; _rj < 8; _rj++) _rd(_rj); }, _r4.playRandomLight = function() { var _rk = null; for (var _rl = 0; _rl < _r4.lightTween.length; _rl++) _r4.lightTween[_rl].setPaused(!1); }, _r4.startAnimation = function(_rm, _rn) { var _ro = null; for (var _rp = 432 / _r4.faceRect.height, _rq = 600 - (_r4.faceRect.x + _r4.faceRect.width / 2) * _rp, _rr = 240 - (_r4.faceRect.y + _r4.faceRect.height / 2) * _rp, _rs = [{ 'x': 1200, 'y': 600, 'time': 2.6 }, { 'x': 600, 'y': -150, 'time': 2.2 }, { 'x': 675, 'y': -150, 'time': 2 }, { 'x': 975, 'y': -150, 'time': 1.8 }, { 'x': 1200, 'y': -150, 'time': 1.6 }, { 'x': 1200, 'y': 150, 'time': 1.2 }, { 'x': 1200, 'y': 525, 'time': 1 }, { 'x': 300, 'y': -150, 'time': 1.6 }, { 'x': 675, 'y': -150, 'time': 1.3 }, { 'x': 825, 'y': -150, 'time': 1 }, { 'x': 1200, 'y': 300, 'time': 0.7 }, { 'x': 1200, 'y': 600, 'time': 1.6 }, { 'x': 525, 'y': -150, 'time': 1.6 }, { 'x': 1200, 'y': 300, 'time': 1.2 }, { 'x': 750, 'y': -150, 'time': 0.8 }, { 'x': 1200, 'y': 360, 'time': 0 }, { 'x': 750, 'y': -150, 'time': 1 }, { 'x': 975, 'y': -150, 'time': 0 }, { 'x': 1125, 'y': -150, 'time': 0 }, { 'x': 1350, 'y': 150, 'time': 0 }], _rt = Array(_qv), _ru = Array(_qv), _rv = 0; _rv < _qv; _rv++) _rt[_rv] = _r4.sFeather[_rv].position.x, _ru[_rv] = _r4.sFeather[_rv].position.y; _r4.endAction = function() { var _rw = null; _r4.touchArea.interactive = !1, _r4.touchArea.buttonMode = !1, _r4.Hide(), null != _rn && _rn(); }, _r4.touchArea.interactive = !!_rm, _r4.touchArea.buttonMode = !!_rm, _r4.touchArea.on(_qo.EventType.CLICK, _r4.endAction); for (_rv = 0; _rv < 8; _rv++) _r4.sText[_rv].scale.set(0, 0), _r4.sTextBack[_rv].scale.set(0, 0); var _rx = Array(_qv); for (_rv = 0; _rv < _qv; _rv++) _rx[_rv] = (-3 + Math.floor(6 * Math.random())) * Math.PI / 180, 0 == _rx[_rv] && (_rx[_rv] = 1 * Math.PI / 180), _rx[_rv] = 150 * _rx[_rv]; var _ry = function(_rz) { var _s0 = null; for (var _s1 = _rz.target.target.time, _s2 = 0; _s2 < _qv; _s2++) _r4.sFeather[_s2].position.x = _rt[_s2] + (_rs[_s2].x - _rt[_s2]) * _s1, _r4.sFeather[_s2].position.y = _ru[_s2] + (_rs[_s2].y - _ru[_s2]) * _s1, _r4.sFeather[_s2].position.x -= (_rs[_s2].x - _rt[_s2]) * (0.1 * _rs[_s2].time), _r4.sFeather[_s2].position.y -= (_rs[_s2].y - _ru[_s2]) * (0.1 * _rs[_s2].time), _r4.sFeather[_s2].rotation = 0 + _rx[_s2] * _s1; }; _r4.randomLight(), _r4.mainTween = createjs.Tween.get(null).call(function() { var _s3 = null; _r4.timelineS1 = new createjs.Timeline([], { 'start': 0 }, { 'paused': !0 }), _r4.timelineS1.addTween(createjs.Tween.get(_r4.sBG[0]).set({ 'visible': !0 }).to({ 'alpha': 1 }, 1000).call(function() { var _s4 = null; _qn.default.sound.bgm.play(133, !1), _qn.default.view.portMain.visible = !1, _r4.playRandomLight(); }).to({ 'y': 2325 }, 6000)), _r4.timelineS1.addTween(createjs.Tween.get({ 'time': 0 }, { 'onChange': _ry }).wait(1000).to({ 'time': 1.4 }, 8500)), _r4.timelineS1.gotoAndPlay('start'); }).wait(5200).call(function() { var _s5 = null; _r4.tweenS2_1 = createjs.Tween.get(_r4.maskBg).to({ 'alpha': 1 }, 1000).call(function() { var _s6 = null; for (var _s7 = 0; _s7 < _qv; _s7++) _r4.sFeather[_s7].visible = !1; _r4.sBG[0].visible = !1, _r4.sBG[1].visible = !0, _r4.sBG[1].alpha = 1, _r4.sBG[1].scale.set(0.5), _r4.sBG[1].position.y = _qm.default.height / 2, _r4.sWhiteFrame.alpha = 1, _r4.sShip1.alpha = 0, _r4.sShip1.position.set(_qm.default.width / 2 - _r4.sShip1.width / 2, 2 * -(_r4.faceRect.y + _r4.faceRect.height)), _r4.timelineS2 = new createjs.Timeline([], { 'start': 0 }, { 'paused': !0 }), _r4.timelineS2.addTween(createjs.Tween.get(_r4.sBG[1].scale).wait(500).to({ 'x': 1, 'y': 1 }, 8000)), _r4.timelineS2.addTween(createjs.Tween.get(_r4.sBG[1]).wait(500).to({ 'y': 270 }, 8000)), _r4.timelineS2.gotoAndPlay('start'); }).wait(500).to({ 'alpha': 0 }, 3000).call(function() { var _s8 = null; _r4.showSakura(600, 0, 600, 720), _r4.tweenS2_2 = createjs.Tween.get(_r4.sShip1).to({ 'alpha': 1 }, 1000).wait(1000).to({ 'alpha': 0 }, 1000); }); }).wait(7000).call(function() { var _s9 = null; _r4.tweenS3_1 = createjs.Tween.get(_r4.maskBg).to({ 'alpha': 1 }, 2500).call(function() { var _sa = null; _r4.sBG[1].visible = !1, _r4.sBG[2].visible = !0, _r4.sBG[2].alpha = 1, _r4.sBox1.alpha = 1, _r4.hideSakura(), _r4.timelineS3_1 = new createjs.Timeline([], { 'start': 0 }, { 'paused': !0 }), _r4.timelineS3_1.addTween(createjs.Tween.get(_r4.sBG[2]).to({ 'y': 720 }, 5000)), _r4.timelineS3_1.addTween(createjs.Tween.get(_r4.sBox1).to({ 'y': 357 }, 5000)), _r4.timelineS3_1.gotoAndPlay('start'); }).wait(1800).to({ 'alpha': 0 }, 4000).call(function() { var _sb = null; _r4.sBG[2].alpha = 1, _r4.sBox1.alpha = 1, _r4.timelineS3_2 = new createjs.Timeline([], { 'start': 0 }, { 'paused': !0 }), _r4.timelineS3_2.addTween(createjs.Tween.get(_r4.sBox1).wait(500).to({ 'alpha': 0 }, 1000).call(function() { var _sc = null; _r4.randomBlueTwinkle(0); })), _r4.timelineS3_2.addTween(createjs.Tween.get(_r4.sBox2).to({ 'alpha': 1 }, 1000)), _r4.timelineS3_2.gotoAndPlay('start'); }); }).wait(11000).call(function() { var _sd = null, _se = 2 * (_r4.faceRect.y + _r4.faceRect.height), _sf = _r4.sShip1.height - 720, _sg = 2 * (_sf - _se) / 3 + _se, _sh = 1 * (_sf - _se) / 3 + _se, _si = 0 * (_sf - _se) / 3 + _se; _r4.tweenS4_1 = createjs.Tween.get(_r4.maskBg).to({ 'alpha': 1 }, 3500).call(function() { var _sj = null; _r4.sBG[3].visible = !1, _r4.stopBlueTwinkle(), _r4.sWhiteFrame.alpha = 0, _r4.whiteBG.alpha = 1, _r4.sShip1.alpha = 1, _r4.sShip1.position.set(0, -_sf); }).to({ 'alpha': 0 }, 1000).wait(1000).to({ 'alpha': 1 }, 1500).call(function() { var _sk = null; _r4.sShip1.position.set(1200 - _r4.sShip1.width, -_sg); }).to({ 'alpha': 0 }, 1000).wait(1000).to({ 'alpha': 1 }, 1500).call(function() { var _sl = null; _r4.sShip1.position.set(0, -_sh); }).to({ 'alpha': 0 }, 1000).wait(1000).to({ 'alpha': 1 }, 1500).call(function() { var _sm = null; _r4.sShip1.position.set(1200 - _r4.sShip1.width, -_si); }).to({ 'alpha': 0 }, 1000).wait(1000).to({ 'alpha': 1 }, 1500).call(function() { var _sn = null; _r4.sShip1.position.set(600 - _r4.sShip1.width / 2, -_r4.sShip1.height); }).wait(1000).to({ 'alpha': 0 }, 1000).call(function() { var _so = null; _r4.tweenS4_2 = createjs.Tween.get(_r4.sShip1).to({ 'y': 2 * -(_r4.faceRect.y + _r4.faceRect.height) }, 6000, createjs.Ease.cubicOut); }).wait(3000).to({ 'alpha': 1 }, 2500); }).wait(26500).call(function() { var _sp = null; _r4.tweenS5_1 = createjs.Tween.get(_r4.maskBg).call(function() { var _sq = null; _r4.sBG[2].visible = !1, _r4.sBG[3].visible = !0, _r4.sBG[3].alpha = 1, _r4.sBG[3].scale.set(0.5), _r4.whiteBG.alpha = 0, _r4.sShip1.scale.set(_qw, _qw), _r4.sShip1.position.set(600 - (_r4.faceRect.x + _r4.faceRect.width / 2) * _qw, 15 - _r4.faceRect.y * _qw), _r4.sBox3.position.y = 510; }).to({ 'alpha': 0 }, 2500).call(function() { var _sr = null; _r4.playVoice(), _r4.tweenS5_2 = createjs.Tween.get(_r4.sBox3).wait(1000).to({ 'y': 564, 'alpha': 1 }, 1000); }).wait(2000).call(function() { var _ss = null; _r4.timelineS5_1 = new createjs.Timeline([], { 'start': 0 }, { 'paused': !0 }), _r4.timelineS5_1.addTween(createjs.Tween.get(_r4.sBox3).wait(1600).to({ 'alpha': 0 }, 1000)), _r4.timelineS5_1.addTween(createjs.Tween.get(_r4.sBox4).wait(1000).to({ 'alpha': 1 }, 1000).call(function() { var _st = null; _r4.randomBlueTwinkle(1); })), _r4.timelineS5_1.addTween(createjs.Tween.get(_r4.sRing).wait(1000).to({ 'alpha': 1 }, 1000)), _r4.timelineS5_1.gotoAndPlay('start'); }).wait(2400).call(function() { var _su = null; _r4.timelineS5_2 = new createjs.Timeline([], { 'start': 0 }, { 'paused': !0 }), _r4.timelineS5_2.addTween(createjs.Tween.get(_r4.sBox4).to({ 'alpha': 0 }, 1000)), _r4.timelineS5_2.addTween(createjs.Tween.get(_r4.sRing).wait(1000).wait(1500).call(function() { var _sv = null; _r4.sBG[3].alpha = 1, _r4.stopBlueTwinkle(); }).to({ 'alpha': 0 }, 2000)), _r4.timelineS5_2.addTween(createjs.Tween.get(_r4.sBG[3].scale).wait(4200).to({ 'x': 1, 'y': 1 }, 6000)), _r4.timelineS5_2.gotoAndPlay('start'); }); }).wait(13000).call(function() { var _sw = null, _sx = 720 / _r4.sShip2.height, _sy = 600 - _r4.sShip2.width * _sx / 2; _r4.tweenS6_1 = createjs.Tween.get(_r4.maskBg).to({ 'alpha': 1 }, 3000).call(function() { var _sz = null; _r4.sBG[3].visible = !1, _r4.sBG[5].visible = !0, _r4.sBG[3].alpha = 0, _r4.sRing.alpha = 0, _r4.sShip1.alpha = 0, _r4.sBG[5].alpha = 1, _r4.sShip2.alpha = 1, _r4.sShip2.scale.set(_sx, _sx), _r4.sShip2.position.set(_sy, 0), _r4.showSakura(0, 0, _qm.default.width, _qm.default.height); }).wait(500).to({ 'alpha': 0 }).call(function() { var _t0 = null; _r4.timelineS6_1 = new createjs.Timeline([], { 'start': 0 }, { 'paused': !0 }), _r4.timelineS6_1.addTween(createjs.Tween.get(_r4.sShip2).wait(3700).to({ 'x': _rq, 'y': _rr }, 4000)), _r4.timelineS6_1.addTween(createjs.Tween.get(_r4.sShip2.scale).wait(3700).to({ 'x': _rp, 'y': _rp }, 4000)), _r4.timelineS6_1.gotoAndPlay('start'); }).wait(5500).to({ 'alpha': 1 }, 2500).call(function() { var _t1 = null; _r4.sBG[5].visible = !1, _r4.sBG[5].alpha = 0, _r4.sShip2.alpha = 0, _r4.whiteBG.alpha = 1; }).to({ 'alpha': 0 }, 500); }).wait(12800).call(function() { var _t2 = null; for (var _t3 = 0; _t3 < 8; _t3++) _r4.sText[_t3].alpha = 0, _r4.sTextBack[_t3].alpha = 0, _r4.sText[_t3].scale.set(1, 1), _r4.sTextBack[_t3].scale.set(1, 1); _r4.timelineS7_1 = new createjs.Timeline([], { 'start': 0 }, { 'paused': !0 }), _r4.timelineS7_2 = new createjs.Timeline([], { 'start': 0 }, { 'paused': !0 }), _r4.timelineS7_3 = new createjs.Timeline([], { 'start': 0 }, { 'paused': !0 }), _r4.timelineS7_4 = new createjs.Timeline([], { 'start': 0 }, { 'paused': !0 }); for (_t3 = 0; _t3 < 8; _t3++) { var _t4 = 700 * _t3; _r4.sText[_t3].visible = !0, _r4.sTextBack[_t3].visible = !0, _r4.timelineS7_1.addTween(createjs.Tween.get(_r4.sText[_t3]).wait(_t4).to({ 'alpha': 1 }, 100)), _r4.timelineS7_1.addTween(createjs.Tween.get(_r4.sTextBack[_t3]).wait(_t4).to({ 'alpha': 1 }, 100)), _r4.timelineS7_1.addTween(createjs.Tween.get(_r4.sText[_t3].scale).wait(_t4).to({ 'x': 1.258, 'y': 1.258 }, 133, createjs.Ease.quadOut).to({ 'x': 1.5, 'y': 1.5 }, 200).to({ 'x': 1, 'y': 1 }, 333, createjs.Ease.quadIn)), _r4.timelineS7_1.addTween(createjs.Tween.get(_r4.sTextBack[_t3].scale).wait(_t4).to({ 'x': 1.258, 'y': 1.258 }, 133, createjs.Ease.quadOut).to({ 'x': 1.5, 'y': 1.5 }, 200).to({ 'x': 1, 'y': 1 }, 333, createjs.Ease.quadIn)); } for (_t3 = 8; _t3 < 17; _t3++) _r4.timelineS7_2.addTween(createjs.Tween.get(_r4.sText[_t3]).set({ 'visible': !0 }).to({ 'alpha': 1 }, 1000)), _r4.timelineS7_2.addTween(createjs.Tween.get(_r4.sTextBack[_t3]).set({ 'visible': !0 }).to({ 'alpha': 1 }, 1000)); _r4.timelineS7_3.addTween(createjs.Tween.get(_r4.sText[17]).set({ 'visible': !0 }).to({ 'alpha': 1 }, 1000)), _r4.timelineS7_3.addTween(createjs.Tween.get(_r4.sTextBack[17]).set({ 'visible': !0 }).to({ 'alpha': 1 }, 1000)), _r4.tweenS7_1 = createjs.Tween.get(null).call(function() { var _t5 = null; _r4.timelineS7_1.gotoAndPlay('start'); }).wait(5600).call(function() { var _t6 = null; _r4.timelineS7_2.gotoAndPlay('start'); }).wait(1000).call(function() { var _t7 = null; _r4.timelineS7_3.gotoAndPlay('start'); }).wait(800).wait(3000).call(function() { var _t8 = null; for (var _t9 = 0; _t9 < 18; _t9++) _r4.timelineS7_4.addTween(createjs.Tween.get(_r4.sText[_t9]).to({ 'alpha': 0 }, 1500).set({ 'visible': !1 })), _r4.timelineS7_4.addTween(createjs.Tween.get(_r4.sTextBack[_t9]).to({ 'alpha': 0 }, 1500).set({ 'visible': !1 })); _r4.timelineS7_4.gotoAndPlay('start'); }).wait(1500).call(function() { var _ta = null; _r4.showButton(); }); }); }, _r4.stopLight = function() { var _tb = null; if (null != _r4.lightTween) { for (var _tc = 0; _tc < _r4.lightTween.length; _tc++) _r4.stopTween(_r4.lightTween[_tc]), _r4.sLight[_tc].alpha = 0, _r4.sLight[_tc].visible = !1; } }, _r4.randomBlueTwinkle = function(_td) { var _te = null, _tf = 0 == _td ? 210 : 180, _tg = 0 == _td ? 75 : 180, _th = 0 == _td ? 495 : 510, _ti = 0 == _td ? 360 : 465; _r4.blueTween = []; for (var _tj = function(_tk) { var _tl = null, _tm = createjs.Tween.get(_r4.sBlueLight[_tk]); _tm.call(function() { var _tn = null; _r4.sBlueLight[_tk].position.set(_th + Math.floor(Math.random() * _tf), _ti + Math.floor(Math.random() * _tg)); }).set({ 'visible': !0 }).wait(Math.floor(600 * Math.random())).to({ 'alpha': 1 }, 300).to({ 'alpha': 0 }, 300).set({ 'visible': !1 }), _tm.loop = !0, _r4.blueTween.push(_tm); }, _to = 0; _to < 3; _to++) _tj(_to); }, _r4.stopBlueTwinkle = function() { var _tp = null; if (null != _r4.blueTween) { for (var _tq = 0; _tq < _r4.blueTween.length; _tq++) _r4.stopTween(_r4.blueTween[_tq]), _r4.sBlueLight[_tq].alpha = 0, _r4.sBlueLight[_tq].visible = !1; } }, _r4.showSakura = function(_tr, _ts, _tt, _tu) { var _tv = null, _tw = new PIXI.Rectangle(_tr, _ts, _tt, _tu); _r4.sakura.startAnimation(_tw); }, _r4.hideSakura = function() { var _tx = null; null != _r4.sakura && _r4.sakura.stopAnimation(); }, _r4.showButton = function() { var _ty = null; _r4.btn = new _qq.GearBtnHome(), _r4.btn.position.set(1130, 648), _r4.btn.initialize(), _r4.btn.activate(), _r4.addChild(_r4.btn), _r4.touchArea.interactive = !0, _r4.touchArea.buttonMode = !0; }, _r4.shipModel = _qn.default.model.ship.getMst(_r1), _r4.sShip1 = new PIXI.Sprite(), _r4.sShip2 = new PIXI.Sprite(), _r4.sakura = new _qp.Sakura(), _r4.faceRect = _r2, _r4; } return _q3(_r0, _qy), _r0.prototype.Initialize = function() { var _tz = null; this.sShip1.anchor.set(0), this.sShip1.position.set(_qm.default.width / 2, _qm.default.height / 2), this.sShip1.alpha = 0, this.sShip2.anchor.set(0), this.sShip2.position.set(_qm.default.width / 2, _qm.default.height / 2), this.sShip2.alpha = 0, this.sBG = Array(5), this.sBG[0] = this.createSprite(_qt.WEDDING_MARRIAGE_BG.getTexture(0), 0, 1, 0, _qm.default.height, 0), this.sBG[1] = this.createSprite(_qt.WEDDING_MARRIAGE_BG.getTexture(4), 0.5, 0.5, _qm.default.width / 2, 360, 0), this.sBG[2] = this.createSprite(_qt.WEDDING_MARRIAGE_BG.getTexture(2), 0.5, 1, _qm.default.width / 2, _qm.default.height + 450, 0), this.sBG[3] = this.createSprite(_qt.WEDDING_MARRIAGE_BG.getTexture(1), 0.5, 0.5, _qm.default.width / 2, _qm.default.height / 2, 0), this.sBG[4] = this.createSprite(_qt.WEDDING_MARRIAGE_BG.getTexture(1), 0.5, 0.5, _qm.default.width / 2, _qm.default.height / 2, 0), this.sBG[5] = this.createSprite(_qt.WEDDING_MARRIAGE_BG.getTexture(3), 0.5, 0.5, _qm.default.width / 2, _qm.default.height / 2, 0); for (var _u0 = 0; _u0 < this.sBG.length; _u0++) this.sBG[_u0].visible = !1; this.whiteBG = new PIXI.Graphics(), this.whiteBG.beginFill(16777215), this.whiteBG.drawRect(0, 0, _qm.default.width, _qm.default.height), this.whiteBG.endFill(), this.whiteBG.alpha = 0, this.maskBg = new PIXI.Graphics(), this.maskBg.beginFill(16777215), this.maskBg.drawRect(0, 0, _qm.default.width, _qm.default.height), this.maskBg.endFill(), this.maskBg.alpha = 0, this.touchArea = new PIXI.Graphics(), this.touchArea.beginFill(16777215), this.touchArea.drawRect(0, 0, _qm.default.width, _qm.default.height), this.touchArea.endFill(), this.touchArea.alpha = 0.001, this.sFeather = Array(_qv); var _u1 = [0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3]; for (_u0 = 0; _u0 < _qv; _u0++) { var _u2 = this.getFeatherType(_u1[_u0]); this.sFeather[_u0] = this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(_u2), 0.5, 0.5, -150, 870, 1); } this.sLight = Array(8); for (_u0 = 0; _u0 < 8; _u0++) { var _u3 = this._getWhiteLightTextureNo(_u0); this.sLight[_u0] = this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(_u3), 0.5, 0.5, 0, 0, 0); } this.sBlueLight = Array(3); for (_u0 = 0; _u0 < 3; _u0++) this.sBlueLight[_u0] = this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(25), 0.5, 0.5, 0, 0, 0); this.sWhiteFrame = this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(24), 0, 0, 0, 0, 0), this.sBox1 = this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(21), 0.5, 0.5, 615, 807, 0), this.sBox2 = this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(20), 0.5, 0.5, 615, 357, 0), this.sBox3 = this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(23), 0.5, 0.5, 600, 450, 0), this.sBox4 = this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(22), 0.5, 0.5, 600, 564, 0), this.sRing = this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(26), 0.5, 0.5, 600, 564, 0), this.sText = [this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(29), 0.5, 0.5, 285, 299, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(37), 0.5, 0.5, 324, 339, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(43), 0.5, 0.5, 384, 329, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(37), 0.5, 0.5, 441, 341, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(31), 0.5, 0.5, 497, 308, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(37), 0.5, 0.5, 570, 341, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(39), 0.5, 0.5, 632, 276, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(37), 0.5, 0.5, 645, 341, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(27), 0.5, 0.5, 705, 360, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(37), 0.5, 0.5, 743, 360, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(44), 0.5, 0.5, 780, 360, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(37), 0.5, 0.5, 818, 360, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(32), 0.5, 0.5, 855, 360, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(37), 0.5, 0.5, 893, 360, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(27), 0.5, 0.5, 930, 360, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(37), 0.5, 0.5, 968, 360, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(41), 0.5, 0.5, 1005, 360, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(35), 0.5, 0.5, 606, 516, 0)], this.sTextBack = [this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(30), 0.5, 0.5, 285, 299, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(38), 0.5, 0.5, 324, 339, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(46), 0.5, 0.5, 384, 329, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(38), 0.5, 0.5, 441, 341, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(34), 0.5, 0.5, 497, 308, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(38), 0.5, 0.5, 570, 341, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(40), 0.5, 0.5, 632, 276, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(38), 0.5, 0.5, 645, 341, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(28), 0.5, 0.5, 705, 360, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(38), 0.5, 0.5, 743, 360, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(45), 0.5, 0.5, 780, 360, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(38), 0.5, 0.5, 818, 360, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(33), 0.5, 0.5, 855, 360, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(38), 0.5, 0.5, 893, 360, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(28), 0.5, 0.5, 930, 360, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(38), 0.5, 0.5, 968, 360, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(42), 0.5, 0.5, 1005, 360, 0), this.createSprite(_qu.WEDDING_MARRIAGE.getTexture(36), 0.5, 0.5, 606, 516, 0)], this.addChild(this.sBG[0]), this.addChild(this.sBG[1]); for (_u0 = 0; _u0 < _qv; _u0++) this.addChild(this.sFeather[_u0]); this.addChild(this.sBG[2]), this.addChild(this.sBox1), this.addChild(this.sBox2), this.addChild(this.sBG[5]), this.addChild(this.sBG[3]), this.addChild(this.whiteBG), this.addChild(this.sShip2), this.addChild(this.sakura), this.addChild(this.sShip1), this.addChild(this.sBox3), this.addChild(this.sBox4), this.addChild(this.sRing); for (_u0 = 0; _u0 < 18; _u0++) this.sTextBack[_u0].visible = !1, this.addChild(this.sTextBack[_u0]); for (_u0 = 0; _u0 < 18; _u0++) this.sText[_u0].visible = !1, this.addChild(this.sText[_u0]); this.addChild(this.sWhiteFrame); for (_u0 = 0; _u0 < 3; _u0++) this.addChild(this.sBlueLight[_u0]); for (_u0 = 0; _u0 < 8; _u0++) this.addChild(this.sLight[_u0]); this.addChild(this.maskBg), this.addChild(this.touchArea); }, _r0.prototype.PreLoad = function(_u4) { var _u5 = null, _u6 = new _qs.UIImageLoader('wedding'); _u6.add('wedding_marriage_bg.json'), _u6.add('wedding_marriage.json'), _u6.load(function() { null != _u4 && _u4(); }); }, _r0.prototype.stopTween = function(_u7) { var _u8 = null; null != _u7 && (_u7.setPaused(!0), _u7.removeAllEventListeners()); }, _r0.prototype.createSprite = function(_u9, _ua, _ub, _uc, _ud, _ue) { var _uf = null, _ug = new PIXI.Sprite(_u9); return _ug.anchor.set(_ua, _ub), _ug.position.set(_uc, _ud), _ug.alpha = _ue, _ug; }, _r0.prototype.getFeatherType = function(_uh) { switch (_uh) { case 0: default: return 0; case 1: return 1; case 2: return 2; case 3: return 3; } }, _r0.prototype._getWhiteLightTextureNo = function(_ui) { return [9, 12, 13, 14, 15, 16, 17, 18, 19, 10, 11][_ui]; }, _r0; }(PIXI.Container); _pz.MarriageAnimation = _qx; }, 35660: function(_uj, _uk, _ul) { 'use strict'; var _um = null; var _un, _uo = this && this.__extends || (_un = function(_up, _uq) { var _ur = null; return _un = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_us, _ut) { var _uu = null; _us.__proto__ = _ut; } || function(_uv, _uw) { var _ux = null; for (var _uy in _uw) Object.prototype.hasOwnProperty.call(_uw, _uy) && (_uv[_uy] = _uw[_uy]); }, _un(_up, _uq); }, function(_uz, _v0) { var _v1 = null; if ('function' != typeof _v0 && null !== _v0) throw new TypeError('Class extends value ' + String(_v0) + ' is not a constructor or null'); function _v2() { var _v3 = null; this.constructor = _uz; } _un(_uz, _v0), _uz.prototype = null === _v0 ? Object.create(_v0) : (_v2.prototype = _v0.prototype, new _v2()); }), _v4 = this && this.__importDefault || function(_v5) { var _v6 = null; return _v5 && _v5.__esModule ? _v5 : { 'default': _v5 }; }; defineModule(_uk); Object.defineProperty(_uk, '__esModule', { 'value': !0 }), _uk.APIConnector = void 0; var _v7 = _v4(_ul(18622)), _v8 = function(_v9) { var _va = null; function _vb() { var _vc = null, _vd = _v9.call(this) || this; return _vd._list = [], _vd; } return _uo(_vb, _v9), _vb.prototype.add = function(_ve) { var _vf = null; return this._list.push(_ve), this; }, _vb.prototype._start = function() { var _vg = null; this._connect(); }, _vb.prototype._connect = function() { var _vh = null, _vi = this; 0 == this._list.length ? (_v7.default.view.loading.hide(200), this._endTask()) : (_v7.default.view.loading.show(200), this._list.shift().start(function() { var _vj = null; _vi._complete(); }, function() { var _vk = null; _vi._failed(); })); }, _vb.prototype._complete = function() { var _vl = null; this._connect(); }, _vb.prototype._failed = function() { var _vm = null; this._endTask(!0); }, _vb.prototype._failedEnd = function() { var _vn = null; if (null != this._cb_failed) { var _vo = this._cb_failed; this._cb_failed = null, _vo(); } else _v7.default.view.showError('Failed Serial API Connection. '); }, _vb; }(_ul(81755).TaskBase); _uk.APIConnector = _v8; }, 54871: function(_vp, _vq, _vr) { 'use strict'; var _vs = null; var _vt, _vu = this && this.__extends || (_vt = function(_vv, _vw) { var _vx = null; return _vt = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_vy, _vz) { var _w0 = null; _vy.__proto__ = _vz; } || function(_w1, _w2) { var _w3 = null; for (var _w4 in _w2) Object.prototype.hasOwnProperty.call(_w2, _w4) && (_w1[_w4] = _w2[_w4]); }, _vt(_vv, _vw); }, function(_w5, _w6) { var _w7 = null; if ('function' != typeof _w6 && null !== _w6) throw new TypeError('Class extends value ' + String(_w6) + ' is not a constructor or null'); function _w8() { var _w9 = null; this.constructor = _w5; } _vt(_w5, _w6), _w5.prototype = null === _w6 ? Object.create(_w6) : (_w8.prototype = _w6.prototype, new _w8()); }), _wa = this && this.__importDefault || function(_wb) { var _wc = null; return _wb && _wb.__esModule ? _wb : { 'default': _wb }; }; defineModule(_vq); Object.defineProperty(_vq, '__esModule', { 'value': !0 }), _vq.ChargeAPI = void 0; var _wd = _wa(_vr(18622)), _we = _vr(58566), _wf = _vr(89939), _wg = function(_wh) { var _wi = null; function _wj(_wk, _wl, _wm) { var _wn = null; void 0 === _wm && (_wm = !0); var _wo = _wh.call(this) || this; return _wo._usedBauxite = !1, _wo._url = 'api_req_hokyu/charge', _wo._kind = _wk, _wo._id_items = _wl, _wo._onslot = _wm, _wo; } return _vu(_wj, _wh), Object.defineProperty(_wj.prototype, 'usedBauxite', { 'get': function() { var _wp = null; return this._usedBauxite; }, 'enumerable': !1, 'configurable': !0 }), _wj.prototype._connect = function() { var _wq = null; this._post_data.api_kind = this._kind, this._post_data.api_id_items = this._id_items.join(','), this._post_data.api_onslot = this._onslot ? 1 : 0, _wh.prototype._connect.call(this); }, _wj.prototype._completedEnd = function() { var _wr = null, _ws = _wf.ObjUtil.getNumArray(this._raw_data, 'api_material'); _wd.default.model.useItem.get(31).__setCount__(_ws[0]), _wd.default.model.useItem.get(32).__setCount__(_ws[1]), _wd.default.model.useItem.get(33).__setCount__(_ws[2]), _wd.default.model.useItem.get(34).__setCount__(_ws[3]), _wd.default.view.portMain.updateInfo(); for (var _wt = _wf.ObjUtil.getObjectArray(this._raw_data, 'api_ship'), _wu = 0; _wu < _wt.length; _wu++) { var _wv = _wt[_wu], _ww = _wf.ObjUtil.getNumber(_wv, 'api_id'), _wx = _wf.ObjUtil.getNumber(_wv, 'api_fuel'), _wy = _wf.ObjUtil.getNumber(_wv, 'api_bull'), _wz = _wf.ObjUtil.getNumArray(_wv, 'api_onslot', []), _x0 = _wd.default.model.ship.get(_ww); _x0.__updateFuel__(_wx), _x0.__updateAmmo__(_wy), _x0.__updateOnSlot__(_wz); } var _x1 = _wf.ObjUtil.getNumber(this._raw_data, 'api_use_bou'); this._usedBauxite = !!_x1, _wh.prototype._completedEnd.call(this); }, _wj; }(_we.APIBase); _vq.ChargeAPI = _wg; }, 67658: function(_x2, _x3, _x4) { 'use strict'; var _x5 = null; var _x6, _x7 = this && this.__extends || (_x6 = function(_x8, _x9) { var _xa = null; return _x6 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_xb, _xc) { var _xd = null; _xb.__proto__ = _xc; } || function(_xe, _xf) { var _xg = null; for (var _xh in _xf) Object.prototype.hasOwnProperty.call(_xf, _xh) && (_xe[_xh] = _xf[_xh]); }, _x6(_x8, _x9); }, function(_xi, _xj) { var _xk = null; if ('function' != typeof _xj && null !== _xj) throw new TypeError('Class extends value ' + String(_xj) + ' is not a constructor or null'); function _xl() { var _xm = null; this.constructor = _xi; } _x6(_xi, _xj), _xi.prototype = null === _xj ? Object.create(_xj) : (_xl.prototype = _xj.prototype, new _xl()); }), _xn = this && this.__importDefault || function(_xo) { var _xp = null; return _xo && _xo.__esModule ? _xo : { 'default': _xo }; }; defineModule(_x3); Object.defineProperty(_x3, '__esModule', { 'value': !0 }), _x3.DeckAPI = void 0; var _xq = _xn(_x4(18622)), _xr = function(_xs) { var _xt = null; function _xu() { var _xv = null, _xw = _xs.call(this) || this; return _xw._url = 'api_get_member/deck', _xw; } return _x7(_xu, _xs), _xu.prototype._completedEnd = function() { var _xx = null; _xq.default.model.deck.setData(this._raw_data), _xs.prototype._completedEnd.call(this); }, _xu; }(_x4(37562).APIBase); _x3.DeckAPI = _xr; }, 56277: function(_xy, _xz, _y0) { 'use strict'; var _y1 = null; var _y2, _y3 = this && this.__extends || (_y2 = function(_y4, _y5) { var _y6 = null; return _y2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_y7, _y8) { var _y9 = null; _y7.__proto__ = _y8; } || function(_ya, _yb) { var _yc = null; for (var _yd in _yb) Object.prototype.hasOwnProperty.call(_yb, _yd) && (_ya[_yd] = _yb[_yd]); }, _y2(_y4, _y5); }, function(_ye, _yf) { var _yg = null; if ('function' != typeof _yf && null !== _yf) throw new TypeError('Class extends value ' + String(_yf) + ' is not a constructor or null'); function _yh() { var _yi = null; this.constructor = _ye; } _y2(_ye, _yf), _ye.prototype = null === _yf ? Object.create(_yf) : (_yh.prototype = _yf.prototype, new _yh()); }), _yj = this && this.__importDefault || function(_yk) { var _yl = null; return _yk && _yk.__esModule ? _yk : { 'default': _yk }; }; defineModule(_xz); Object.defineProperty(_xz, '__esModule', { 'value': !0 }), _xz.ExpeditionResultAPI = void 0; var _ym = _yj(_y0(18622)), _yn = function(_yo) { var _yp = null; function _yq(_yr, _ys, _yt) { var _yu = null; void 0 === _yt && (_yt = !1); var _yv = _yo.call(this) || this; return _yv._url = 'api_req_mission/result', _yv._deck_id = _yr, _yv._result_model = _ys, _yv._debug = _yt, _yv; } return _y3(_yq, _yo), _yq.prototype._connect = function() { var _yw = null; this._post_data.api_deck_id = this._deck_id, _yo.prototype._connect.call(this); }, _yq.prototype._completedEnd = function() { var _yx = null, _yy = _ym.default.model.deck.get(this._deck_id).expedition.expedition_id; this._result_model.setData(this._raw_data, _yy), _yo.prototype._completedEnd.call(this); }, _yq; }(_y0(37562).APIBase); _xz.ExpeditionResultAPI = _yn; }, 23781: function(_yz, _z0, _z1) { 'use strict'; var _z2 = null; var _z3, _z4 = this && this.__extends || (_z3 = function(_z5, _z6) { var _z7 = null; return _z3 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_z8, _z9) { var _za = null; _z8.__proto__ = _z9; } || function(_zb, _zc) { var _zd = null; for (var _ze in _zc) Object.prototype.hasOwnProperty.call(_zc, _ze) && (_zb[_ze] = _zc[_ze]); }, _z3(_z5, _z6); }, function(_zf, _zg) { var _zh = null; if ('function' != typeof _zg && null !== _zg) throw new TypeError('Class extends value ' + String(_zg) + ' is not a constructor or null'); function _zi() { var _zj = null; this.constructor = _zf; } _z3(_zf, _zg), _zf.prototype = null === _zg ? Object.create(_zg) : (_zi.prototype = _zg.prototype, new _zi()); }), _zk = this && this.__importDefault || function(_zl) { var _zm = null; return _zl && _zl.__esModule ? _zl : { 'default': _zl }; }; defineModule(_z0); Object.defineProperty(_z0, '__esModule', { 'value': !0 }), _z0.GetDataAPI = void 0; var _zn = _zk(_z1(18622)), _zo = _z1(58566), _zp = _z1(89939), _zq = function(_zr) { var _zs = null; function _zt() { var _zu = null, _zv = _zr.call(this) || this; return _zv._url = 'api_start2/getData', _zv; } return _z4(_zt, _zr), _zt.prototype._completedEnd = function() { var _zw = null; _zn.default.model.const.setData(_zp.ObjUtil.getObjectArray(this._raw_data, 'api_mst_const')), _zn.default.model.shipType.__setData__(_zp.ObjUtil.getObjectArray(this._raw_data, 'api_mst_stype')), _zn.default.model.shipType.__setEquipTypeExData__(_zp.ObjUtil.getNumArray(this._raw_data, 'api_mst_equip_exslot')), _zn.default.model.ship.setMstData(_zp.ObjUtil.getObjectArray(this._raw_data, 'api_mst_ship')), _zn.default.model.ship_upgrade.setData(_zp.ObjUtil.getObjectArray(this._raw_data, 'api_mst_shipupgrade')), _zn.default.model.slot.setMstData(_zp.ObjUtil.getObjectArray(this._raw_data, 'api_mst_slotitem')), _zn.default.model.slot.setMstEquipTypeData(_zp.ObjUtil.getObjectArray(this._raw_data, 'api_mst_slotitem_equiptype')), _zn.default.model.furniture_graph.setData(_zp.ObjUtil.getObjectArray(this._raw_data, 'api_mst_furnituregraph')), _zn.default.model.useItem.setMstData(_zp.ObjUtil.getObjectArray(this._raw_data, 'api_mst_useitem')), _zn.default.model.expedition.setMstData(_zp.ObjUtil.getObjectArray(this._raw_data, 'api_mst_mission')), _zn.default.model.map.setAreaMst(_zp.ObjUtil.getObjectArray(this._raw_data, 'api_mst_maparea')), _zn.default.model.map.setMapMst(_zp.ObjUtil.getObjectArray(this._raw_data, 'api_mst_mapinfo')), _zn.default.model.mst_bgm.setMstBGMData(_zp.ObjUtil.getObjectArray(this._raw_data, 'api_mst_bgm')), _zn.default.model.mst_bgm.setMapBGMData(_zp.ObjUtil.getObjectArray(this._raw_data, 'api_mst_mapbgm')), _zn.default.model.slot.setExtraEquipShipData(_zp.ObjUtil.getObject(this._raw_data, 'api_mst_equip_exslot_ship')); var _zx = _zn.default.model.payitem; _zx.setData(_zp.ObjUtil.getObjectArray(this._raw_data, 'api_mst_payitem')), _zx.setOrders(_zp.ObjUtil.getObject(this._raw_data, 'api_mst_item_shop')), _zn.default.model.equip.__initData__(_zp.ObjUtil.getObjectArray(this._raw_data, 'api_mst_equip_ship')), _zn.default.model.furniture.setMstData(_zp.ObjUtil.getObjectArray(this._raw_data, 'api_mst_furniture')), _zn.default.model.ship_graph.setData(_zp.ObjUtil.getObjectArray(this._raw_data, 'api_mst_shipgraph')), _zr.prototype._completedEnd.call(this); }, _zt; }(_zo.APIBase); _z0.GetDataAPI = _zq; }, 34255: function(_zy, _zz, _100) { 'use strict'; var _101 = null; var _102, _103 = this && this.__extends || (_102 = function(_104, _105) { var _106 = null; return _102 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_107, _108) { var _109 = null; _107.__proto__ = _108; } || function(_10a, _10b) { var _10c = null; for (var _10d in _10b) Object.prototype.hasOwnProperty.call(_10b, _10d) && (_10a[_10d] = _10b[_10d]); }, _102(_104, _105); }, function(_10e, _10f) { var _10g = null; if ('function' != typeof _10f && null !== _10f) throw new TypeError('Class extends value ' + String(_10f) + ' is not a constructor or null'); function _10h() { var _10i = null; this.constructor = _10e; } _102(_10e, _10f), _10e.prototype = null === _10f ? Object.create(_10f) : (_10h.prototype = _10f.prototype, new _10h()); }); defineModule(_zz); Object.defineProperty(_zz, '__esModule', { 'value': !0 }), _zz.GetEventSelectedRewardAPI = void 0; var _10j = _100(1593), _10k = _100(89939), _10l = function(_10m) { var _10n = null; function _10o(_10p) { var _10q = null, _10r = _10m.call(this) || this; return _10r._url = 'api_req_member/get_event_selected_reward', _10r._selected = _10p, _10r._mapBonusModels = [], _10r; } return _103(_10o, _10m), Object.defineProperty(_10o.prototype, 'mapBonusModels', { 'get': function() { var _10s = null; return this._mapBonusModels; }, 'enumerable': !1, 'configurable': !0 }), _10o.prototype._connect = function() { var _10t = null; for (var _10u = 0, _10v = this._selected; _10u < _10v.length; _10u++) { var _10w = _10v[_10u]; this._post_data['api_selected_dict['['concat'](_10w.group_no, ']')] = _10w.item_no; } _10m.prototype._connect.call(this); }, _10o.prototype._completedEnd = function() { var _10x = null, _10y = this, _10z = _10k.ObjUtil.getObjectArray(this._raw_data, 'api_get_item_list'); null != _10z && _10z.forEach(function(_110) { var _111 = null; _10y._mapBonusModels.push(new _10j.MapBonusModel(_110)); }), _10m.prototype._completedEnd.call(this); }, _10o; }(_100(58566).APIBase); _zz.GetEventSelectedRewardAPI = _10l; }, 99554: function(_112, _113, _114) { 'use strict'; var _115 = null; var _116, _117 = this && this.__extends || (_116 = function(_118, _119) { var _11a = null; return _116 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_11b, _11c) { var _11d = null; _11b.__proto__ = _11c; } || function(_11e, _11f) { var _11g = null; for (var _11h in _11f) Object.prototype.hasOwnProperty.call(_11f, _11h) && (_11e[_11h] = _11f[_11h]); }, _116(_118, _119); }, function(_11i, _11j) { var _11k = null; if ('function' != typeof _11j && null !== _11j) throw new TypeError('Class extends value ' + String(_11j) + ' is not a constructor or null'); function _11l() { var _11m = null; this.constructor = _11i; } _116(_11i, _11j), _11i.prototype = null === _11j ? Object.create(_11j) : (_11l.prototype = _11j.prototype, new _11l()); }), _11n = this && this.__importDefault || function(_11o) { var _11p = null; return _11o && _11o.__esModule ? _11o : { 'default': _11o }; }; defineModule(_113); Object.defineProperty(_113, '__esModule', { 'value': !0 }), _113.GetIncentiveAPI = void 0; var _11q = _11n(_114(18622)), _11r = function(_11s) { var _11t = null; function _11u() { var _11v = null, _11w = _11s.call(this) || this; return _11w._url = 'api_req_member/get_incentive', _11w; } return _117(_11u, _11s), _11u.prototype._completedEnd = function() { var _11x = null; _11q.default.model.incentive.setData(this._raw_data), _11s.prototype._completedEnd.call(this); }, _11u; }(_114(58566).APIBase); _113.GetIncentiveAPI = _11r; }, 58310: function(_11y, _11z, _120) { 'use strict'; var _121 = null; var _122, _123 = this && this.__extends || (_122 = function(_124, _125) { var _126 = null; return _122 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_127, _128) { var _129 = null; _127.__proto__ = _128; } || function(_12a, _12b) { var _12c = null; for (var _12d in _12b) Object.prototype.hasOwnProperty.call(_12b, _12d) && (_12a[_12d] = _12b[_12d]); }, _122(_124, _125); }, function(_12e, _12f) { var _12g = null; if ('function' != typeof _12f && null !== _12f) throw new TypeError('Class extends value ' + String(_12f) + ' is not a constructor or null'); function _12h() { var _12i = null; this.constructor = _12e; } _122(_12e, _12f), _12e.prototype = null === _12f ? Object.create(_12f) : (_12h.prototype = _12f.prototype, new _12h()); }), _12j = this && this.__importDefault || function(_12k) { var _12l = null; return _12k && _12k.__esModule ? _12k : { 'default': _12k }; }; defineModule(_11z); Object.defineProperty(_11z, '__esModule', { 'value': !0 }), _11z.MaterialAPI = void 0; var _12m = _12j(_120(18622)), _12n = function(_12o) { var _12p = null; function _12q() { var _12r = null, _12s = _12o.call(this) || this; return _12s._url = 'api_get_member/material', _12s; } return _123(_12q, _12o), _12q.prototype._completedEnd = function() { var _12t = null; _12m.default.model.useItem.setMaterialData(this._raw_data), _12o.prototype._completedEnd.call(this); }, _12q; }(_120(58566).APIBase); _11z.MaterialAPI = _12n; }, 4342: function(_12u, _12v, _12w) { 'use strict'; var _12x = null; var _12y, _12z = this && this.__extends || (_12y = function(_130, _131) { var _132 = null; return _12y = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_133, _134) { var _135 = null; _133.__proto__ = _134; } || function(_136, _137) { var _138 = null; for (var _139 in _137) Object.prototype.hasOwnProperty.call(_137, _139) && (_136[_139] = _137[_139]); }, _12y(_130, _131); }, function(_13a, _13b) { var _13c = null; if ('function' != typeof _13b && null !== _13b) throw new TypeError('Class extends value ' + String(_13b) + ' is not a constructor or null'); function _13d() { var _13e = null; this.constructor = _13a; } _12y(_13a, _13b), _13a.prototype = null === _13b ? Object.create(_13b) : (_13d.prototype = _13b.prototype, new _13d()); }), _13f = this && this.__importDefault || function(_13g) { var _13h = null; return _13g && _13g.__esModule ? _13g : { 'default': _13g }; }; defineModule(_12v); Object.defineProperty(_12v, '__esModule', { 'value': !0 }), _12v.PortAPI = void 0; var _13i = _13f(_12w(18622)), _13j = _12w(92547), _13k = _12w(58566), _13l = _12w(89939), _13m = function(_13n) { var _13o = null; function _13p(_13q) { var _13r = null; void 0 === _13q && (_13q = !1); var _13s = _13n.call(this) || this; return _13s._url = 'api_port/port', _13s._debug = _13q, _13s; } return _12z(_13p, _13n), _13p.prototype._connect = function() { var _13t = null; this._post_data.api_sort_key = 5, this._post_data.spi_sort_order = 2, this._post_data.api_port = this._createKey(_13i.default.model.basic.member_id), _13n.prototype._connect.call(this); }, _13p.prototype._completedEnd = function() { var _13u = null, _13v = _13i.default.model.basic; _13v.setUserData(_13l.ObjUtil.getObject(this._raw_data, 'api_basic')), _13v.setPortBGMID(_13l.ObjUtil.getNumber(this._raw_data, 'api_p_bgm_id')), _13v.setDutyExcutableCount(_13l.ObjUtil.getNumber(this._raw_data, 'api_parallel_quest_count')), _13v.setDestroyShipSlotType(_13l.ObjUtil.getNumber(this._raw_data, 'api_dest_ship_slot')), _13v.setEventData(_13l.ObjUtil.getObject(this._raw_data, 'api_event_object')), _13v.setCFlags(_13l.ObjUtil.getNumArray(this._raw_data, 'api_c_flags', [])), _13v.setCFlag2(_13l.ObjUtil.getNumber(this._raw_data, 'api_c_flag2')), _13i.default.model.deck.setData(_13l.ObjUtil.getObjectArray(this._raw_data, 'api_deck_port')), _13i.default.model.deck.combined.__update__(_13l.ObjUtil.getNumber(this._raw_data, 'api_combined_flag')), _13i.default.model.log.setData(_13l.ObjUtil.getObjectArray(this._raw_data, 'api_log')), _13i.default.model.ship.setData(_13l.ObjUtil.getObjectArray(this._raw_data, 'api_ship')), _13i.default.model.useItem.setMaterialData(_13l.ObjUtil.getObjectArray(this._raw_data, 'api_material')), _13i.default.model.ndock.setData(_13l.ObjUtil.getObjectArray(this._raw_data, 'api_ndock')); var _13w = _13l.ObjUtil.getObject(this._raw_data, 'api_friendly_setting'), _13x = _13l.ObjUtil.getNumber(_13w, 'api_request_flag'), _13y = _13l.ObjUtil.getNumber(_13w, 'api_request_type'); _13i.default.friendlyRequest.setData(_13x, _13y); var _13z = _13i.default.model.slot, _140 = _13l.ObjUtil.getObject(this._raw_data, 'api_plane_info'); if (null != _140) { var _141 = _13l.ObjUtil.getNumArray(_140, 'api_base_convert_slot'); null != _141 ? _13z.setAirUnitRelocation(_141) : _13z.setAirUnitRelocation(null); var _142 = _13l.ObjUtil.getObjectArray(_140, 'api_unset_slot'); if (null != _142) for (var _143 = 0, _144 = _142; _143 < _144.length; _143++) { var _145 = _144[_143], _146 = _13l.ObjUtil.getNumber(_145, 'api_type3No'), _147 = _13l.ObjUtil.getNumArray(_145, 'api_slot_list'); _13z.updateUnsetData(_146, _147); } } else _13z.setAirUnitRelocation(null); _13n.prototype._completedEnd.call(this); }, _13p.prototype._getSeed = function(_148) { var _149 = null; return _13j.PORT_API_SEED[_148 % 10]; }, _13p.prototype._createKey = function(_14a) { var _14b = null, _14c = this._getSeed(_14a), _14d = Math.floor(Date.now() / 1000), _14e = 1000 * (Math.floor(9 * Math.random()) + 1) + _14a % 1000, _14f = Math.floor(8999 * Math.random()) + 1000, _14g = Math.floor(32767 * Math.random()) + 32768, _14h = Math.floor(10 * Math.random()), _14i = Math.floor(10 * Math.random()), _14j = Math.floor(10 * Math.random()), _14k = ((4132653 + _14g) * (parseInt(_14a.toString().substr(0, 4)) + 1000) - _14d + (1875979 + 9 * _14g) - _14a) * _14c, _14l = _14e.toString() + _14k.toString() + _14f.toString(), _14m = (_14l = _14h.toString() + _14l).substr(0, 8), _14n = _14l.substr(8); return _14m = (_14l = _14m + _14i + _14n).substr(0, 18), _14n = _14l.substr(18), (_14l = _14m + _14j + _14n) + _14g.toString(); }, _13p; }(_13k.APIBase); _12v.PortAPI = _13m; }, 32797: function(_14o, _14p, _14q) { 'use strict'; var _14r = null; var _14s, _14t = this && this.__extends || (_14s = function(_14u, _14v) { var _14w = null; return _14s = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_14x, _14y) { var _14z = null; _14x.__proto__ = _14y; } || function(_150, _151) { var _152 = null; for (var _153 in _151) Object.prototype.hasOwnProperty.call(_151, _153) && (_150[_153] = _151[_153]); }, _14s(_14u, _14v); }, function(_154, _155) { var _156 = null; if ('function' != typeof _155 && null !== _155) throw new TypeError('Class extends value ' + String(_155) + ' is not a constructor or null'); function _157() { var _158 = null; this.constructor = _154; } _14s(_154, _155), _154.prototype = null === _155 ? Object.create(_155) : (_157.prototype = _155.prototype, new _157()); }), _159 = this && this.__importDefault || function(_15a) { var _15b = null; return _15a && _15a.__esModule ? _15a : { 'default': _15a }; }; defineModule(_14p); Object.defineProperty(_14p, '__esModule', { 'value': !0 }), _14p.RequireInfoAPI = void 0; var _15c = _159(_14q(18622)), _15d = _14q(58566), _15e = _14q(89939), _15f = function(_15g) { var _15h = null; function _15i() { var _15j = null, _15k = _15g.call(this) || this; return _15k._url = 'api_get_member/require_info', _15k; } return _14t(_15i, _15g), _15i.prototype._completedEnd = function() { var _15l = null, _15m = _15c.default.model.basic; _15m.setUserData(_15e.ObjUtil.getObject(this._raw_data, 'api_basic')), _15m.setExtraSupplyFlag(_15e.ObjUtil.getNumArray(this._raw_data, 'api_extra_supply')); var _15n = _15e.ObjUtil.getObject(this._raw_data, 'api_oss_setting'), _15o = _15e.ObjUtil.getNumArray(_15n, 'api_oss_items', []), _15p = 0 == _15e.ObjUtil.getNumber(_15n, 'api_language_type'); _15m.updateOrganizeListSetting(_15o.map(function(_15q) { return 1 == _15q; }), _15p), _15m.setUISkinID(_15e.ObjUtil.getNumber(this._raw_data, 'api_skin_id')); var _15r = _15e.ObjUtil.getNumber(this._raw_data, 'api_position_id'); _15m.setFlagShipPosIDSvr(_15r), _15m.setFlagShipPosIDCli(_15r), _15c.default.model.slot.setMemData(_15e.ObjUtil.getObjectArray(this._raw_data, 'api_slot_item')), _15c.default.model.slot.setUnsetData(_15e.ObjUtil.getObject(this._raw_data, 'api_unsetslot')), _15c.default.model.useItem.setMemData(_15e.ObjUtil.getObjectArray(this._raw_data, 'api_useitem')), _15c.default.model.furniture.setMemData(_15e.ObjUtil.getObjectArray(this._raw_data, 'api_furniture')), _15c.default.model.kdock.__setData__(_15e.ObjUtil.getObjectArray(this._raw_data, 'api_kdock')), _15g.prototype._completedEnd.call(this); }, _15i; }(_15d.APIBase); _14p.RequireInfoAPI = _15f; }, 26942: function(_15s, _15t, _15u) { 'use strict'; var _15v = null; var _15w, _15x = this && this.__extends || (_15w = function(_15y, _15z) { var _160 = null; return _15w = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_161, _162) { var _163 = null; _161.__proto__ = _162; } || function(_164, _165) { var _166 = null; for (var _167 in _165) Object.prototype.hasOwnProperty.call(_165, _167) && (_164[_167] = _165[_167]); }, _15w(_15y, _15z); }, function(_168, _169) { var _16a = null; if ('function' != typeof _169 && null !== _169) throw new TypeError('Class extends value ' + String(_169) + ' is not a constructor or null'); function _16b() { var _16c = null; this.constructor = _168; } _15w(_168, _169), _168.prototype = null === _169 ? Object.create(_169) : (_16b.prototype = _169.prototype, new _16b()); }), _16d = this && this.__importDefault || function(_16e) { var _16f = null; return _16e && _16e.__esModule ? _16e : { 'default': _16e }; }; defineModule(_15t); Object.defineProperty(_15t, '__esModule', { 'value': !0 }), _15t.SlotItemLockAPI = void 0; var _16g = _16d(_15u(18622)), _16h = _15u(37562), _16i = _15u(14921), _16j = function(_16k) { var _16l = null; function _16m(_16n) { var _16o = null, _16p = _16k.call(this) || this; return _16p._url = 'api_req_kaisou/lock', _16p.api_slotitem_id = _16n, _16p; } return _15x(_16m, _16k), _16m.prototype._connect = function() { var _16q = null; this._post_data.api_slotitem_id = this.api_slotitem_id, _16k.prototype._connect.call(this); }, _16m.prototype._completedEnd = function() { var _16r = null, _16s = 1 == _16i.ObjUtil.getNumber(this._raw_data, 'api_locked'); _16g.default.model.slot.get(this.api_slotitem_id).__setLocked__(_16s), _16k.prototype._completedEnd.call(this); }, _16m; }(_16h.APIBase); _15t.SlotItemLockAPI = _16j; }, 17103: function(_16t, _16u, _16v) { 'use strict'; var _16w = null; var _16x, _16y = this && this.__extends || (_16x = function(_16z, _170) { var _171 = null; return _16x = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_172, _173) { var _174 = null; _172.__proto__ = _173; } || function(_175, _176) { var _177 = null; for (var _178 in _176) Object.prototype.hasOwnProperty.call(_176, _178) && (_175[_178] = _176[_178]); }, _16x(_16z, _170); }, function(_179, _17a) { var _17b = null; if ('function' != typeof _17a && null !== _17a) throw new TypeError('Class extends value ' + String(_17a) + ' is not a constructor or null'); function _17c() { var _17d = null; this.constructor = _179; } _16x(_179, _17a), _179.prototype = null === _17a ? Object.create(_17a) : (_17c.prototype = _17a.prototype, new _17c()); }), _17e = this && this.__importDefault || function(_17f) { var _17g = null; return _17f && _17f.__esModule ? _17f : { 'default': _17f }; }; defineModule(_16u); Object.defineProperty(_16u, '__esModule', { 'value': !0 }), _16u.UnsetSlotAPI = void 0; var _17h = _17e(_16v(18622)), _17i = function(_17j) { var _17k = null; function _17l() { var _17m = null, _17n = _17j.call(this) || this; return _17n._url = 'api_get_member/unsetslot', _17n; } return _16y(_17l, _17j), _17l.prototype._completedEnd = function() { var _17o = null; _17h.default.model.slot.setUnsetData(this._raw_data), _17j.prototype._completedEnd.call(this); }, _17l; }(_16v(58566).APIBase); _16u.UnsetSlotAPI = _17i; }, 52574: function(_17p, _17q, _17r) { 'use strict'; var _17s = null; var _17t, _17u = this && this.__extends || (_17t = function(_17v, _17w) { var _17x = null; return _17t = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_17y, _17z) { var _180 = null; _17y.__proto__ = _17z; } || function(_181, _182) { var _183 = null; for (var _184 in _182) Object.prototype.hasOwnProperty.call(_182, _184) && (_181[_184] = _182[_184]); }, _17t(_17v, _17w); }, function(_185, _186) { var _187 = null; if ('function' != typeof _186 && null !== _186) throw new TypeError('Class extends value ' + String(_186) + ' is not a constructor or null'); function _188() { var _189 = null; this.constructor = _185; } _17t(_185, _186), _185.prototype = null === _186 ? Object.create(_186) : (_188.prototype = _186.prototype, new _188()); }), _18a = this && this.__importDefault || function(_18b) { var _18c = null; return _18b && _18b.__esModule ? _18b : { 'default': _18b }; }; defineModule(_17q); Object.defineProperty(_17q, '__esModule', { 'value': !0 }), _17q.UpdateTutorialAPI = void 0; var _18d = _18a(_17r(18622)), _18e = function(_18f) { var _18g = null; function _18h(_18i) { var _18j = null, _18k = _18f.call(this) || this; return _18k._url = 'api_req_member/update_tutorial_progress', _18k._value = _18i, _18k; } return _17u(_18h, _18f), _18h.prototype._connect = function() { var _18l = null; this._post_data.api_no = this._value, _18f.prototype._connect.call(this); }, _18h.prototype._completedEnd = function() { var _18m = null; _18d.default.model.basic.updateTutorialProgress(this._value), _18f.prototype._completedEnd.call(this); }, _18h; }(_17r(58566).APIBase); _17q.UpdateTutorialAPI = _18e; }, 42552: function(_18n, _18o, _18p) { 'use strict'; var _18q = null; var _18r, _18s = this && this.__extends || (_18r = function(_18t, _18u) { var _18v = null; return _18r = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_18w, _18x) { var _18y = null; _18w.__proto__ = _18x; } || function(_18z, _190) { var _191 = null; for (var _192 in _190) Object.prototype.hasOwnProperty.call(_190, _192) && (_18z[_192] = _190[_192]); }, _18r(_18t, _18u); }, function(_193, _194) { var _195 = null; if ('function' != typeof _194 && null !== _194) throw new TypeError('Class extends value ' + String(_194) + ' is not a constructor or null'); function _196() { var _197 = null; this.constructor = _193; } _18r(_193, _194), _193.prototype = null === _194 ? Object.create(_194) : (_196.prototype = _194.prototype, new _196()); }), _198 = this && this.__importDefault || function(_199) { var _19a = null; return _199 && _199.__esModule ? _199 : { 'default': _199 }; }; defineModule(_18o); Object.defineProperty(_18o, '__esModule', { 'value': !0 }), _18o.UseItemAPI = void 0; var _19b = _198(_18p(18622)), _19c = function(_19d) { var _19e = null; function _19f(_19g) { var _19h = null; void 0 === _19g && (_19g = !1); var _19i = _19d.call(this) || this; return _19i._url = 'api_get_member/useitem', _19i._debug = _19g, _19i; } return _18s(_19f, _19d), _19f.prototype._completedEnd = function() { var _19j = null; _19b.default.model.useItem.setMemData(this._raw_data), _19d.prototype._completedEnd.call(this); }, _19f; }(_18p(58566).APIBase); _18o.UseItemAPI = _19c; }, 95703: function(_19k, _19l, _19m) { 'use strict'; var _19n = null; var _19o, _19p = this && this.__extends || (_19o = function(_19q, _19r) { var _19s = null; return _19o = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_19t, _19u) { var _19v = null; _19t.__proto__ = _19u; } || function(_19w, _19x) { var _19y = null; for (var _19z in _19x) Object.prototype.hasOwnProperty.call(_19x, _19z) && (_19w[_19z] = _19x[_19z]); }, _19o(_19q, _19r); }, function(_1a0, _1a1) { var _1a2 = null; if ('function' != typeof _1a1 && null !== _1a1) throw new TypeError('Class extends value ' + String(_1a1) + ' is not a constructor or null'); function _1a3() { var _1a4 = null; this.constructor = _1a0; } _19o(_1a0, _1a1), _1a0.prototype = null === _1a1 ? Object.create(_1a1) : (_1a3.prototype = _1a1.prototype, new _1a3()); }), _1a5 = this && this.__importDefault || function(_1a6) { var _1a7 = null; return _1a6 && _1a6.__esModule ? _1a6 : { 'default': _1a6 }; }; defineModule(_19l); Object.defineProperty(_19l, '__esModule', { 'value': !0 }), _19l.UserDataAPI = void 0; var _1a8 = _1a5(_19m(18622)), _1a9 = function(_1aa) { var _1ab = null; function _1ac() { var _1ad = null, _1ae = _1aa.call(this) || this; return _1ae._url = 'api_get_member/basic', _1ae; } return _19p(_1ac, _1aa), _1ac.prototype._completedEnd = function() { var _1af = null; _1a8.default.model.basic.setUserData(this._raw_data), _1aa.prototype._completedEnd.call(this); }, _1ac; }(_19m(58566).APIBase); _19l.UserDataAPI = _1a9; }, 45134: function(_1ag, _1ah, _1ai) { 'use strict'; var _1aj = null; var _1ak, _1al = this && this.__extends || (_1ak = function(_1am, _1an) { var _1ao = null; return _1ak = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ap, _1aq) { var _1ar = null; _1ap.__proto__ = _1aq; } || function(_1as, _1at) { var _1au = null; for (var _1av in _1at) Object.prototype.hasOwnProperty.call(_1at, _1av) && (_1as[_1av] = _1at[_1av]); }, _1ak(_1am, _1an); }, function(_1aw, _1ax) { var _1ay = null; if ('function' != typeof _1ax && null !== _1ax) throw new TypeError('Class extends value ' + String(_1ax) + ' is not a constructor or null'); function _1az() { var _1b0 = null; this.constructor = _1aw; } _1ak(_1aw, _1ax), _1aw.prototype = null === _1ax ? Object.create(_1ax) : (_1az.prototype = _1ax.prototype, new _1az()); }), _1b1 = this && this.__importDefault || function(_1b2) { var _1b3 = null; return _1b2 && _1b2.__esModule ? _1b2 : { 'default': _1b2 }; }; defineModule(_1ah); Object.defineProperty(_1ah, '__esModule', { 'value': !0 }), _1ah.UserFurnitureAPI = void 0; var _1b4 = _1b1(_1ai(18622)), _1b5 = function(_1b6) { var _1b7 = null; function _1b8() { var _1b9 = null, _1ba = _1b6.call(this) || this; return _1ba._url = 'api_get_member/furniture', _1ba; } return _1al(_1b8, _1b6), _1b8.prototype._completedEnd = function() { var _1bb = null; _1b4.default.model.furniture.setMemData(this._raw_data), _1b6.prototype._completedEnd.call(this); }, _1b8; }(_1ai(58566).APIBase); _1ah.UserFurnitureAPI = _1b5; }, 44491: function(_1bc, _1bd, _1be) { 'use strict'; var _1bf = null; var _1bg, _1bh = this && this.__extends || (_1bg = function(_1bi, _1bj) { var _1bk = null; return _1bg = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1bl, _1bm) { var _1bn = null; _1bl.__proto__ = _1bm; } || function(_1bo, _1bp) { var _1bq = null; for (var _1br in _1bp) Object.prototype.hasOwnProperty.call(_1bp, _1br) && (_1bo[_1br] = _1bp[_1br]); }, _1bg(_1bi, _1bj); }, function(_1bs, _1bt) { var _1bu = null; if ('function' != typeof _1bt && null !== _1bt) throw new TypeError('Class extends value ' + String(_1bt) + ' is not a constructor or null'); function _1bv() { var _1bw = null; this.constructor = _1bs; } _1bg(_1bs, _1bt), _1bs.prototype = null === _1bt ? Object.create(_1bt) : (_1bv.prototype = _1bt.prototype, new _1bv()); }), _1bx = this && this.__importDefault || function(_1by) { var _1bz = null; return _1by && _1by.__esModule ? _1by : { 'default': _1by }; }; defineModule(_1bd); Object.defineProperty(_1bd, '__esModule', { 'value': !0 }), _1bd.UserFurnitureJukeBoxSetPortBGMAPI = _1bd.UserFurnitureJukeBoxMusicPlayAPI = _1bd.UserFurnitureJukeBoxMusicListAPI = void 0; var _1c0 = _1bx(_1be(18622)), _1c1 = _1be(37562), _1c2 = _1be(14921), _1c3 = function(_1c4) { var _1c5 = null; function _1c6(_1c7) { var _1c8 = null, _1c9 = _1c4.call(this) || this; return _1c9._url = 'api_req_furniture/music_list', _1c9._furnitureJukeBoxBGMModel = _1c7, _1c9; } return _1bh(_1c6, _1c4), _1c6.prototype._connect = function() { var _1ca = null; _1c4.prototype._connect.call(this); }, _1c6.prototype._completedEnd = function() { var _1cb = null; this._furnitureJukeBoxBGMModel.SetAll(this._raw_data), _1c4.prototype._completedEnd.call(this); }, _1c6; }(_1c1.APIBase); _1bd.UserFurnitureJukeBoxMusicListAPI = _1c3; var _1cc = function(_1cd) { var _1ce = null; function _1cf(_1cg) { var _1ch = null, _1ci = _1cd.call(this) || this; return _1ci._url = 'api_req_furniture/music_play', _1ci._post_data.api_music_id = _1cg, _1ci; } return _1bh(_1cf, _1cd), _1cf.prototype._connect = function() { var _1cj = null; _1cd.prototype._connect.call(this); }, _1cf.prototype._completedEnd = function() { var _1ck = null; this._updateMaterialCount(44, _1c2.ObjUtil.getNumber(this._raw_data, 'api_coin')), _1cd.prototype._completedEnd.call(this); }, _1cf.prototype._updateMaterialCount = function(_1cl, _1cm) { var _1cn = null, _1co = _1c0.default.model.useItem.get(_1cl); null != _1co && _1co.__setCount__(_1cm); }, _1cf; }(_1c1.APIBase); _1bd.UserFurnitureJukeBoxMusicPlayAPI = _1cc; var _1cp = function(_1cq) { var _1cr = null; function _1cs(_1ct) { var _1cu = null, _1cv = _1cq.call(this) || this; return _1cv._url = 'api_req_furniture/set_portbgm', _1cv._post_data.api_music_id = _1ct, _1cv; } return _1bh(_1cs, _1cq), _1cs.prototype._connect = function() { var _1cw = null; _1cq.prototype._connect.call(this); }, _1cs.prototype._completedEnd = function() { var _1cx = null; _1cq.prototype._completedEnd.call(this); }, _1cs; }(_1c1.APIBase); _1bd.UserFurnitureJukeBoxSetPortBGMAPI = _1cp; }, 506: function(_1cy, _1cz, _1d0) { 'use strict'; var _1d1 = null; var _1d2, _1d3 = this && this.__extends || (_1d2 = function(_1d4, _1d5) { var _1d6 = null; return _1d2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1d7, _1d8) { var _1d9 = null; _1d7.__proto__ = _1d8; } || function(_1da, _1db) { var _1dc = null; for (var _1dd in _1db) Object.prototype.hasOwnProperty.call(_1db, _1dd) && (_1da[_1dd] = _1db[_1dd]); }, _1d2(_1d4, _1d5); }, function(_1de, _1df) { var _1dg = null; if ('function' != typeof _1df && null !== _1df) throw new TypeError('Class extends value ' + String(_1df) + ' is not a constructor or null'); function _1dh() { var _1di = null; this.constructor = _1de; } _1d2(_1de, _1df), _1de.prototype = null === _1df ? Object.create(_1df) : (_1dh.prototype = _1df.prototype, new _1dh()); }); defineModule(_1cz); Object.defineProperty(_1cz, '__esModule', { 'value': !0 }), _1cz.UserFurnitureRadioAPI = void 0; var _1dj = function(_1dk) { var _1dl = null; function _1dm() { var _1dn = null, _1do = _1dk.call(this) || this; return _1do._url = 'api_req_furniture/radio_play', _1do; } return _1d3(_1dm, _1dk), _1dm.prototype._connect = function() { var _1dp = null; _1dk.prototype._connect.call(this); }, _1dm.prototype._completedEnd = function() { var _1dq = null; _1dk.prototype._completedEnd.call(this); }, _1dm; }(_1d0(37562).APIBase); _1cz.UserFurnitureRadioAPI = _1dj; }, 69105: function(_1dr, _1ds, _1dt) { 'use strict'; var _1du = null; var _1dv, _1dw = this && this.__extends || (_1dv = function(_1dx, _1dy) { var _1dz = null; return _1dv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1e0, _1e1) { var _1e2 = null; _1e0.__proto__ = _1e1; } || function(_1e3, _1e4) { var _1e5 = null; for (var _1e6 in _1e4) Object.prototype.hasOwnProperty.call(_1e4, _1e6) && (_1e3[_1e6] = _1e4[_1e6]); }, _1dv(_1dx, _1dy); }, function(_1e7, _1e8) { var _1e9 = null; if ('function' != typeof _1e8 && null !== _1e8) throw new TypeError('Class extends value ' + String(_1e8) + ' is not a constructor or null'); function _1ea() { var _1eb = null; this.constructor = _1e7; } _1dv(_1e7, _1e8), _1e7.prototype = null === _1e8 ? Object.create(_1e8) : (_1ea.prototype = _1e8.prototype, new _1ea()); }), _1ec = this && this.__importDefault || function(_1ed) { var _1ee = null; return _1ed && _1ed.__esModule ? _1ed : { 'default': _1ed }; }; defineModule(_1ds); Object.defineProperty(_1ds, '__esModule', { 'value': !0 }), _1ds.UserShipAPI = void 0; var _1ef = _1ec(_1dt(18622)), _1eg = function(_1eh) { var _1ei = null; function _1ej(_1ek) { var _1el = null; void 0 === _1ek && (_1ek = 0); var _1em = _1eh.call(this) || this; return _1em._mem_id = 0, _1em._mem_id = _1ek, _1em._url = 'api_get_member/ship2', _1em; } return _1dw(_1ej, _1eh), _1ej.prototype._connect = function() { var _1en = null; this._mem_id > 0 && (this._post_data.api_shipid = this._mem_id), this._post_data.api_sort_key = 5, this._post_data.spi_sort_order = 2, _1eh.prototype._connect.call(this); }, _1ej.prototype._completedEnd = function() { var _1eo = null; if (this._mem_id > 0) { var _1ep = this._raw_data[0]; _1ef.default.model.ship.updateData(_1ep); } else _1ef.default.model.ship.setData(this._raw_data); _1eh.prototype._completedEnd.call(this); }, _1ej; }(_1dt(58566).APIBase); _1ds.UserShipAPI = _1eg; }, 22242: function(_1eq, _1er, _1es) { 'use strict'; var _1et = null; var _1eu, _1ev = this && this.__extends || (_1eu = function(_1ew, _1ex) { var _1ey = null; return _1eu = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ez, _1f0) { var _1f1 = null; _1ez.__proto__ = _1f0; } || function(_1f2, _1f3) { var _1f4 = null; for (var _1f5 in _1f3) Object.prototype.hasOwnProperty.call(_1f3, _1f5) && (_1f2[_1f5] = _1f3[_1f5]); }, _1eu(_1ew, _1ex); }, function(_1f6, _1f7) { var _1f8 = null; if ('function' != typeof _1f7 && null !== _1f7) throw new TypeError('Class extends value ' + String(_1f7) + ' is not a constructor or null'); function _1f9() { var _1fa = null; this.constructor = _1f6; } _1eu(_1f6, _1f7), _1f6.prototype = null === _1f7 ? Object.create(_1f7) : (_1f9.prototype = _1f7.prototype, new _1f9()); }), _1fb = this && this.__importDefault || function(_1fc) { var _1fd = null; return _1fc && _1fc.__esModule ? _1fc : { 'default': _1fc }; }; defineModule(_1er); Object.defineProperty(_1er, '__esModule', { 'value': !0 }), _1er.UserSlotItemAPI = void 0; var _1fe = _1fb(_1es(18622)), _1ff = function(_1fg) { var _1fh = null; function _1fi() { var _1fj = null, _1fk = _1fg.call(this) || this; return _1fk._url = 'api_get_member/slot_item', _1fk; } return _1ev(_1fi, _1fg), _1fi.prototype._completedEnd = function() { var _1fl = null, _1fm = this._raw_data; _1fe.default.model.slot.setMemData(_1fm), _1fg.prototype._completedEnd.call(this); }, _1fi; }(_1es(58566).APIBase); _1er.UserSlotItemAPI = _1ff; }, 58566: function(_1fn, _1fo, _1fp) { 'use strict'; var _1fq = null; var _1fr, _1fs = this && this.__extends || (_1fr = function(_1ft, _1fu) { var _1fv = null; return _1fr = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1fw, _1fx) { var _1fy = null; _1fw.__proto__ = _1fx; } || function(_1fz, _1g0) { var _1g1 = null; for (var _1g2 in _1g0) Object.prototype.hasOwnProperty.call(_1g0, _1g2) && (_1fz[_1g2] = _1g0[_1g2]); }, _1fr(_1ft, _1fu); }, function(_1g3, _1g4) { var _1g5 = null; if ('function' != typeof _1g4 && null !== _1g4) throw new TypeError('Class extends value ' + String(_1g4) + ' is not a constructor or null'); function _1g6() { var _1g7 = null; this.constructor = _1g3; } _1fr(_1g3, _1g4), _1g3.prototype = null === _1g4 ? Object.create(_1g4) : (_1g6.prototype = _1g4.prototype, new _1g6()); }), _1g8 = this && this.__createBinding || (Object.create ? function(_1g9, _1ga, _1gb, _1gc) { var _1gd = null; void 0 === _1gc && (_1gc = _1gb); var _1ge = Object.getOwnPropertyDescriptor(_1ga, _1gb); _1ge && !('get' in _1ge ? !_1ga.__esModule : _1ge.writable || _1ge.configurable) || (_1ge = { 'enumerable': !0, 'get': function() { return _1ga[_1gb]; } }), Object.defineProperty(_1g9, _1gc, _1ge); } : function(_1gf, _1gg, _1gh, _1gi) { void 0 === _1gi && (_1gi = _1gh), _1gf[_1gi] = _1gg[_1gh]; }), _1gj = this && this.__setModuleDefault || (Object.create ? function(_1gk, _1gl) { var _1gm = null; Object.defineProperty(_1gk, 'default', { 'enumerable': !0, 'value': _1gl }); } : function(_1gn, _1go) { var _1gp = null; _1gn.default = _1go; }), _1gq = this && this.__importStar || function(_1gr) { var _1gs = null; if (_1gr && _1gr.__esModule) return _1gr; var _1gt = {}; if (null != _1gr) { for (var _1gu in _1gr) 'default' !== _1gu && Object.prototype.hasOwnProperty.call(_1gr, _1gu) && _1g8(_1gt, _1gr, _1gu); } return _1gj(_1gt, _1gr), _1gt; }, _1gv = this && this.__importDefault || function(_1gw) { var _1gx = null; return _1gw && _1gw.__esModule ? _1gw : { 'default': _1gw }; }; defineModule(_1fo); Object.defineProperty(_1fo, '__esModule', { 'value': !0 }), _1fo.APIBase = void 0; var _1gy = _1gq(_1fp(80129)), _1gz = _1gv(_1fp(83300)), _1h0 = _1gv(_1fp(18622)), _1h1 = _1fp(81755), _1h2 = _1fp(89939), _1h3 = _1fp(92547), _1h4 = _1fp(16677), _1h5 = function(_1h6) { var _1h7 = null; function _1h8() { var _1h9 = null, _1ha = _1h6.call(this) || this; return _1ha._url = '', _1ha._api_result = -1, _1ha._api_result_msg = '', _1ha._raw_data = null, _1ha._retry_count = 0, _1ha._post_data = { 'api_token': _1h0.default.settings.api_token, 'api_verno': '1' }, _1ha; } return _1fs(_1h8, _1h6), Object.defineProperty(_1h8.prototype, 'url', { 'get': function() { var _1hb = null; return _1h0.default.settings.api_root + '/' + this._url; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1h8.prototype, 'post_data', { 'get': function() { var _1hc = null; return this._post_data; }, 'enumerable': !1, 'configurable': !0 }), _1h8.prototype._start = function() { var _1hd = null; _1h0.default.view.loading.show(200), _1h4.WheelEventUtil.isEnabled = !1, this._retry_count = 0, this._connect(); }, _1h8.prototype._connect = function() { var _1he = null, _1hf = this, _1hg = this._isRetryableUrl() ? _1h3.TIMEOUT_DEFAULT : 0; _1gz.default.post(this.url, _1gy.stringify(this._post_data), { 'timeout': _1hg }).then(function(_1hh) { var _1hi = null; _1hf._success(_1hh); }).catch(function(_1hj) { var _1hk = null; _1hj.response ? _1hf._failed(_1hj) : null != _1hj.request && (_1h3.iOS_device || _1hf._isRetryableUrl()) ? _1hf._retry(_1hj) : _1hf._failed(_1hj); }); }, _1h8.prototype._isRetryableUrl = function() { var _1hl = null; return !!new RegExp('^(api_get_member/.+|api_req_quest/(start|stop)|api_req_kaisou/can_preset_slot_select|api_req_sortie/.+|api_req_combined_battle/.+|api_req_battle_midnight/.+|api_port/port)').test(this._url); }, _1h8.prototype._success = function(_1hm) { var _1hn = null, _1ho = _1hm.data.replace(/^[\s\S]*?svdata=/, ''); this._parse(_1ho); }, _1h8.prototype._parse = function(_1hp) { var _1hq = null, _1hr = JSON.parse(_1hp); this._api_result = _1h2.ObjUtil.getNumber(_1hr, 'api_result'), this._api_result_msg = _1h2.ObjUtil.getString(_1hr, 'api_result_msg'), this._raw_data = _1h2.ObjUtil.getObject(_1hr, 'api_data'), 1 == this._api_result ? this._endTask() : this._endTask(!0); }, _1h8.prototype._retry = function(_1hs) { var _1ht = null, _1hu = this; this._retry_count++, this._retry_count < _1h3.RETRY_LIMIT ? this._retry_timer = window.setTimeout(function() { var _1hv = null; _1hu._connect(), _1hu._retry_timer = 0; }, _1h3.RETRY_DURATION) : this._failed(_1hs); }, _1h8.prototype._failed = function(_1hw) { var _1hx = null; this._endTask(!0); }, _1h8.prototype._endTask = function(_1hy) { var _1hz = null; void 0 === _1hy && (_1hy = !1), this._retry_timer = 0, clearTimeout(this._retry_timer), _1h0.default.view.loading.hide(200), _1h4.WheelEventUtil.isEnabled = !0, _1h6.prototype._endTask.call(this, _1hy); }, _1h8.prototype._failedEnd = function() { var _1i0 = null; if (null != this._cb_failed) { var _1i1 = this._cb_failed; this._cb_failed = null, _1i1(); } else _1h0.default.view.showError('Failed API '['concat'](this.url)); }, _1h8; }(_1h1.TaskBase); _1fo.APIBase = _1h5; }, 6961: function(_1i2, _1i3, _1i4) { 'use strict'; var _1i5 = null; var _1i6, _1i7 = this && this.__extends || (_1i6 = function(_1i8, _1i9) { var _1ia = null; return _1i6 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ib, _1ic) { var _1id = null; _1ib.__proto__ = _1ic; } || function(_1ie, _1if) { var _1ig = null; for (var _1ih in _1if) Object.prototype.hasOwnProperty.call(_1if, _1ih) && (_1ie[_1ih] = _1if[_1ih]); }, _1i6(_1i8, _1i9); }, function(_1ii, _1ij) { var _1ik = null; if ('function' != typeof _1ij && null !== _1ij) throw new TypeError('Class extends value ' + String(_1ij) + ' is not a constructor or null'); function _1il() { var _1im = null; this.constructor = _1ii; } _1i6(_1ii, _1ij), _1ii.prototype = null === _1ij ? Object.create(_1ij) : (_1il.prototype = _1ij.prototype, new _1il()); }); defineModule(_1i3); Object.defineProperty(_1i3, '__esModule', { 'value': !0 }), _1i3.BattleResultSceneBase = void 0; var _1in = _1i4(13748), _1io = _1i4(7570), _1ip = function(_1iq) { var _1ir = null; function _1is() { var _1it = null, _1iu = _1iq.call(this) || this; return _1iu._shutter = new _1io.Shutter(), _1iu.addChild(_1iu._shutter), _1iu; } return _1i7(_1is, _1iq), Object.defineProperty(_1is.prototype, 'shutter', { 'get': function() { var _1iv = null; return this._shutter; }, 'enumerable': !1, 'configurable': !0 }), _1is.prototype.initialize = function() { var _1iw = null; this.shutter.initializeDark(), this.shutter.close(0); }, _1is.prototype.start = function(_1ix) { var _1iy = null; this._model = _1ix; }, _1is.prototype.dispose = function() { var _1iz = null; _1in.UIImageLoader.clearMemoryCache('battle_result'); }, _1is; }(PIXI.Container); _1i3.BattleResultSceneBase = _1ip; }, 96595: function(_1j0, _1j1, _1j2) { 'use strict'; var _1j3 = null; var _1j4, _1j5 = this && this.__extends || (_1j4 = function(_1j6, _1j7) { var _1j8 = null; return _1j4 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1j9, _1ja) { var _1jb = null; _1j9.__proto__ = _1ja; } || function(_1jc, _1jd) { var _1je = null; for (var _1jf in _1jd) Object.prototype.hasOwnProperty.call(_1jd, _1jf) && (_1jc[_1jf] = _1jd[_1jf]); }, _1j4(_1j6, _1j7); }, function(_1jg, _1jh) { var _1ji = null; if ('function' != typeof _1jh && null !== _1jh) throw new TypeError('Class extends value ' + String(_1jh) + ' is not a constructor or null'); function _1jj() { var _1jk = null; this.constructor = _1jg; } _1j4(_1jg, _1jh), _1jg.prototype = null === _1jh ? Object.create(_1jh) : (_1jj.prototype = _1jh.prototype, new _1jj()); }); defineModule(_1j1); Object.defineProperty(_1j1, '__esModule', { 'value': !0 }), _1j1.BattleSceneBase = void 0; var _1jl = _1j2(13748), _1jm = _1j2(7570), _1jn = _1j2(37618), _1jo = function(_1jp) { var _1jq = null; function _1jr() { var _1js = null, _1jt = _1jp.call(this) || this; return _1jt._bg = new _1jn.MapBG(), _1jt.addChild(_1jt._bg), _1jt._content = new PIXI.Container(), _1jt._shutter2 = new _1jm.Shutter(), _1jt.addChild(_1jt._content), _1jt.addChild(_1jt._shutter2), _1jt; } return _1j5(_1jr, _1jp), Object.defineProperty(_1jr.prototype, 'bg', { 'get': function() { var _1ju = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1jr.prototype, 'content', { 'get': function() { var _1jv = null; return this._content; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1jr.prototype, 'shutter2', { 'get': function() { var _1jw = null; return this._shutter2; }, 'enumerable': !1, 'configurable': !0 }), _1jr.prototype.initialize = function(_1jx) { var _1jy = null; this._shutter2.initializeDark(); }, _1jr.prototype.dispose = function() { var _1jz = null; _1jl.UIImageLoader.clearMemoryCache('battle'); }, _1jr.prototype.start = function() {}, _1jr; }(PIXI.Container); _1j1.BattleSceneBase = _1jo; }, 61474: function(_1k0, _1k1) { 'use strict'; var _1k2 = null; var _1k3, _1k4 = this && this.__extends || (_1k3 = function(_1k5, _1k6) { var _1k7 = null; return _1k3 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1k8, _1k9) { var _1ka = null; _1k8.__proto__ = _1k9; } || function(_1kb, _1kc) { var _1kd = null; for (var _1ke in _1kc) Object.prototype.hasOwnProperty.call(_1kc, _1ke) && (_1kb[_1ke] = _1kc[_1ke]); }, _1k3(_1k5, _1k6); }, function(_1kf, _1kg) { var _1kh = null; if ('function' != typeof _1kg && null !== _1kg) throw new TypeError('Class extends value ' + String(_1kg) + ' is not a constructor or null'); function _1ki() { var _1kj = null; this.constructor = _1kf; } _1k3(_1kf, _1kg), _1kf.prototype = null === _1kg ? Object.create(_1kg) : (_1ki.prototype = _1kg.prototype, new _1ki()); }); defineModule(_1k1); Object.defineProperty(_1k1, '__esModule', { 'value': !0 }), _1k1.SceneBase = void 0; var _1kk = function(_1kl) { var _1km = null; function _1kn() { var _1ko = null; return _1kl.call(this) || this; } return _1k4(_1kn, _1kl), _1kn.prototype.getPreInitializeTask = function(_1kp, _1kq) { return void 0 === _1kq && (_1kq = null), null; }, _1kn.prototype.getInitializeTask = function(_1kr) { return null; }, _1kn.prototype.getPreFinalizeTask = function() { return null; }, _1kn.prototype.getFinalizeTask = function() { return null; }, _1kn; }(PIXI.Container); _1k1.SceneBase = _1kk; }, 81755: (_1ks, _1kt) => { 'use strict'; var _1ku = null; defineModule(_1kt); Object.defineProperty(_1kt, '__esModule', { 'value': !0 }), _1kt.TaskBase = void 0; var _1kv = (function() { var _1kw = null; function _1kx() {} return _1kx.prototype.start = function(_1ky, _1kz) { var _1l0 = null; this._cb = _1ky, this._cb_failed = _1kz, this._start(); }, _1kx.prototype._endTask = function(_1l1) { var _1l2 = null; void 0 === _1l1 && (_1l1 = !1), 0 == _1l1 ? this._completedEnd() : this._failedEnd(); }, _1kx.prototype._completedEnd = function() { var _1l3 = null; if (null != this._cb) { var _1l4 = this._cb; this._cb = null, this._cb_failed = null, _1l4(); } }, _1kx.prototype._failedEnd = function() { var _1l5 = null, _1l6 = null; null != this._cb_failed ? _1l6 = this._cb_failed : null != this._cb && (_1l6 = this._cb), this._cb = null, this._cb_failed = null, null != _1l6 && _1l6(); }, _1kx; }()); _1kt.TaskBase = _1kv; }, 37562: function(_1l7, _1l8, _1l9) { 'use strict'; var _1la = null; var _1lb = this && this.__createBinding || (Object.create ? function(_1lc, _1ld, _1le, _1lf) { var _1lg = null; void 0 === _1lf && (_1lf = _1le); var _1lh = Object.getOwnPropertyDescriptor(_1ld, _1le); _1lh && !('get' in _1lh ? !_1ld.__esModule : _1lh.writable || _1lh.configurable) || (_1lh = { 'enumerable': !0, 'get': function() { return _1ld[_1le]; } }), Object.defineProperty(_1lc, _1lf, _1lh); } : function(_1li, _1lj, _1lk, _1ll) { void 0 === _1ll && (_1ll = _1lk), _1li[_1ll] = _1lj[_1lk]; }), _1lm = this && this.__exportStar || function(_1ln, _1lo) { var _1lp = null; for (var _1lq in _1ln) 'default' === _1lq || Object.prototype.hasOwnProperty.call(_1lo, _1lq) || _1lb(_1lo, _1ln, _1lq); }; defineModule(_1l8); Object.defineProperty(_1l8, '__esModule', { 'value': !0 }), _1lm(_1l9(81755), _1l8), _1lm(_1l9(61474), _1l8), _1lm(_1l9(58566), _1l8), _1lm(_1l9(96595), _1l8), _1lm(_1l9(6961), _1l8); }, 66398: (_1lr, _1ls) => { 'use strict'; var _1lt = null; defineModule(_1ls); Object.defineProperty(_1ls, '__esModule', { 'value': !0 }), _1ls.BannerSize = void 0; var _1lu = (function() { function _1lv() {} return _1lv.W = 240, _1lv.H = 60, _1lv; }()); _1ls.BannerSize = _1lu; }, 36518: (_1lw, _1lx) => { 'use strict'; var _1ly = null; defineModule(_1lx); Object.defineProperty(_1lx, '__esModule', { 'value': !0 }), _1lx.ITEMUP_REPLACE = _1lx.ENEMY_BALLOON = _1lx.ENEMY_BOUNCE_TORPEDO_PLANES = void 0, _1lx.ENEMY_BOUNCE_TORPEDO_PLANES = [1625, 1626, 1634, 1635, 1636], _1lx.ENEMY_BALLOON = [1640], _1lx.ITEMUP_REPLACE = { 1516: 1516, 1517: 1517, 1518: 1518, 1519: 1516, 1520: 1517, 1521: 1518, 1522: 1516, 1523: 1516, 1524: 1517, 1525: 1518, 1526: 1518, 1546: 1518, 1547: 1547, 1548: 1548, 1549: 1549, 1550: 3, 1551: 128, 1552: 76, 1553: 3, 1554: 1554, 1555: 1555, 1556: 1556, 1557: 1557, 1558: 1558, 1561: 1561, 1562: 1562, 1563: 162, 1564: 1549, 1565: 78, 1566: 1547, 1567: 32, 1568: 161, 1569: 1562, 1570: 15, 1571: 1571, 1572: 1572, 1573: 1573, 1574: 1574, 1575: 1574, 1576: 231, 1577: 245, 1578: 190, 1579: 7, 1580: 58, 1581: 1581, 1582: 1582, 1583: 1583, 1584: 7, 1585: 161, 1586: 1574, 1587: 298, 1588: 266, 1589: 310, 1590: 309, 1591: 284, 1592: 332, 1593: 314, 1594: 1594, 1595: 1595, 1596: 340, 1597: 1597, 1598: 1598, 1599: 280, 1600: 50, 1601: 356, 1602: 362, 1603: 278, 1604: 294, 1605: 384, 1606: 379, 1607: 380, 1608: 279, 1609: 381, 1610: 1610, 1611: 1611, 1612: 387, 1613: 426, 1614: 427, 1615: 428, 1616: 429, 1617: 1581, 1618: 1582, 1619: 1583, 1620: 1620, 1621: 1620, 1622: 286, 1623: 267, 1624: 58, 1625: 1561, 1626: 1562, 1627: 266, 1630: 1630, 1631: 1630, 1634: 1573, 1635: 1561, 1636: 1562, 1637: 364, 1638: 48, 1640: 513, 1641: 507, 1642: 508, 1643: 85, 1644: 308, 1645: 376, 1646: 439, 1647: 363, 1648: 1648 }; }, 71633: (_1lz, _1m0) => { 'use strict'; var _1m1 = null; var _1m2; defineModule(_1m0); Object.defineProperty(_1m0, '__esModule', { 'value': !0 }), _1m0.EventConst = void 0, function(_1m3) { var _1m4 = null; _1m3.AREA_ID = 58, _1m3.FRIENDLY = !1, _1m3.KEIKAIJIN = !0, _1m3.HALLOWEEN = !1, _1m3.SANMA = !1, _1m3.SETSUBUN = !1, _1m3.TERUTERU_BOZU = !1; }(_1m2 || (_1m0.EventConst = _1m2 = {})); }, 35380: (_1m5, _1m6) => { 'use strict'; var _1m7 = null; defineModule(_1m6); Object.defineProperty(_1m6, '__esModule', { 'value': !0 }), _1m6.EventType = _1m6.pointer = void 0; var _1m8, _1m9 = { 'touch': void 0 !== document.ontouchstart, 'pointer': window.PointerEvent }; _1m6.pointer = { 'down': _1m9.pointer ? 'pointerdown' : _1m9.touch ? 'touchstart' : 'mousedown', 'move': _1m9.pointer ? 'pointermove' : _1m9.touch ? 'touchmove' : 'mousemove', 'up': _1m9.pointer ? 'pointerup' : _1m9.touch ? 'touchend' : 'mouseup', 'over': _1m9.pointer ? 'pointerover' : 'mouseover', 'out': _1m9.pointer ? 'pointerout' : 'mouseout' }, function(_1ma) { var _1mb = null; _1ma.CLICK = _1m6.pointer.up, _1ma.MOUSEOVER = _1m6.pointer.over, _1ma.MOUSEOUT = _1m6.pointer.out, _1ma.MOUSEDOWN = _1m6.pointer.down, _1ma.MOUSEUP = _1m6.pointer.up, _1ma.MOUSEMOVE = _1m6.pointer.move; }(_1m8 || (_1m6.EventType = _1m8 = {})); }, 14777: (_1mc, _1md) => { 'use strict'; var _1me = null; defineModule(_1md); Object.defineProperty(_1md, '__esModule', { 'value': !0 }), _1md.FurnitureConst = void 0; var _1mf = (function() { var _1mg = null; function _1mh() {} return _1mh.TIME_CHK_COUNT_MAX = 15, _1mh.DEF_ANIMATE_FRAME = 5000, _1mh.HIT_ALPHA = 0.001, _1mh; }()); _1md.FurnitureConst = _1mf; }, 93955: (_1mi, _1mj) => { 'use strict'; var _1mk = null; defineModule(_1mj); Object.defineProperty(_1mj, '__esModule', { 'value': !0 }), _1mj.AREA_ID_THRESHOLD = _1mj.NORMAL_DECK_NUM = _1mj.RANK_NAME = void 0, _1mj.RANK_NAME = ['', '元帥', '大将', '中将', '少将', '大佐', '中佐', '新米中佐', '少佐', '中堅少佐', '新米少佐'], _1mj.NORMAL_DECK_NUM = 6, _1mj.AREA_ID_THRESHOLD = 20; }, 3294: function(_1ml, _1mm, _1mn) { 'use strict'; var _1mo = null; var _1mp = this && this.__importDefault || function(_1mq) { var _1mr = null; return _1mq && _1mq.__esModule ? _1mq : { 'default': _1mq }; }; defineModule(_1mm); Object.defineProperty(_1mm, '__esModule', { 'value': !0 }), _1mm.MapConst = void 0; var _1ms = _1mp(_1mn(18622)), _1mt = (function() { var _1mu = null; function _1mv() {} return _1mv.getMapBGMID = function(_1mw, _1mx) { var _1my = null, _1mz = _1ms.default.model.mst_bgm.getMapBGM(_1mw, _1mx); return _1mz > 0 ? { 'id': _1mz, 'battle_bgm': !0 } : { 'id': 103, 'battle_bgm': !1 }; }, _1mv; }()); _1mm.MapConst = _1mt; }, 41503: (_1n0, _1n1, _1n2) => { 'use strict'; var _1n3 = null; defineModule(_1n1); Object.defineProperty(_1n1, '__esModule', { 'value': !0 }), _1n1.PlaneConst = void 0; var _1n4 = _1n2(51805), _1n5 = (function() { var _1n6 = null; function _1n7() {} return _1n7.getPlaneType = function(_1n8) { var _1n9 = null; return 1 == _1n8 ? _1n7._PLANE_TYPE_.concat(_1n4.EquipType._41_OGATA_HIKOUTEI) : _1n7._PLANE_TYPE_; }, _1n7.getJetPlaneType = function() { var _1na = null; return [_1n4.EquipType._56_FUNSHIKI_SENTOUKI, _1n4.EquipType._57_FUNSHIKI_BAKUGEKIKI, _1n4.EquipType._58_FUNSHIKI_KOUGEKIKI]; }, _1n7.getAirUnitPlaneType = function() { var _1nb = null; return _1n7._PLANE_TYPE_.concat(_1n4.EquipType._09_KANJO_TEISATSUKI, _1n4.EquipType._10_SUIJO_TEISATSUKI, _1n4.EquipType._25_AUTOGYRO, _1n4.EquipType._26_TAISEN_SHOKAIKI, _1n4.EquipType._41_OGATA_HIKOUTEI, _1n4.EquipType._47_RIKUJO_KOUGEKIKI, _1n4.EquipType._48_KYOKUCHI_SENTOUKI, _1n4.EquipType._49_RIKUJO_TEISATSUKI, _1n4.EquipType._53_OOGATA_RIKUJOKI, _1n4.EquipType._59_FUNSHIKI_TEISATSUKI); }, _1n7.getJetAirUnitPlaneType = function() { var _1nc = null; return this.getJetPlaneType().concat(_1n4.EquipType._59_FUNSHIKI_TEISATSUKI); }, _1n7.getEnemyPlaneGraphicsType = function(_1nd) { var _1ne = null, _1nf = { 1517: 2, 1518: 3, 1520: 2, 1521: 3, 1524: 2, 1525: 3, 1526: 3, 1544: 3, 1546: 3, 1547: 4, 1548: 5, 1549: 6, 1554: 5, 1555: 5, 1556: 4, 1557: 5, 1558: 6, 1561: 7, 1562: 8, 1564: 6, 1566: 4, 1571: 9, 1572: 10, 1573: 11, 1574: 12, 1575: 12, 1581: 13, 1582: 14, 1583: 15, 1586: 12, 1594: 16, 1595: 16, 1597: 17, 1598: 17, 1610: 18, 1611: 19, 1617: 13, 1618: 14, 1619: 15, 1620: 20, 1621: 20, 1625: 7, 1626: 8, 1630: 21, 1631: 21, 1634: 11, 1635: 7, 1636: 8, 1648: 22 }; return 1 == _1nf.hasOwnProperty(_1nd.toString()) ? _1nf[_1nd] : 1; }, _1n7.PLANE = [5, 7, 15, 16, 33, 36, 40, 43, 44], _1n7.SAKUTEKI = [_1n4.EquipType._09_KANJO_TEISATSUKI, _1n4.EquipType._10_SUIJO_TEISATSUKI, _1n4.EquipType._11_SUIJO_BAKUGEKIKI, _1n4.EquipType._41_OGATA_HIKOUTEI, _1n4.EquipType._59_FUNSHIKI_TEISATSUKI, _1n4.EquipType._94_KANJO_TEISATSUKI], _1n7._PLANE_TYPE_ = [_1n4.EquipType._06_KANJO_SENTOUKI, _1n4.EquipType._07_KANJO_BAKUGEKIKI, _1n4.EquipType._08_KANJO_KOUGEKIKI, _1n4.EquipType._11_SUIJO_BAKUGEKIKI, _1n4.EquipType._25_AUTOGYRO, _1n4.EquipType._26_TAISEN_SHOKAIKI, _1n4.EquipType._45_SUIJO_SENTOUKI, _1n4.EquipType._56_FUNSHIKI_SENTOUKI, _1n4.EquipType._57_FUNSHIKI_BAKUGEKIKI, _1n4.EquipType._58_FUNSHIKI_KOUGEKIKI], _1n7.ATTACKABLE_TYPE = [_1n4.EquipType._06_KANJO_SENTOUKI, _1n4.EquipType._45_SUIJO_SENTOUKI, _1n4.EquipType._56_FUNSHIKI_SENTOUKI], _1n7.SAKUTEKI_SPSCALE_MSTID = { 138: 0.44 }, _1n7.SAKUTEKI_SPSCALE_ETYPE = { 41: 0.4 }, _1n7.OFFSET = { 16: { 'sx': -1 }, 17: { 'sx': -1 }, 18: { 'y': 18, 'r': 10 }, 19: { 'y': 15, 'r': 30, 'sx': -1 }, 20: { 'r': 30 }, 21: { 'r': 10, 'sx': -1 }, 22: { 'sx': -1 }, 23: { 'y': 11, 'r': 31, 'sx': -1 }, 25: { 'sx': -1 }, 26: { 'sx': -1 }, 52: { 'y': 18, 'r': 10 }, 53: { 'sx': -1 }, 54: { 'sx': -1 }, 56: { 'r': 15, 'sx': -1 }, 59: { 'sx': -1 }, 60: { 'r': -35, 'sx': -1 }, 61: { 'sx': -1 }, 62: { 'sx': -1 }, 64: { 'r': 70, 'sx': -1 }, 70: { 'r': -10, 'sx': -1 }, 79: { 'r': 30, 'sx': -1 }, 80: { 'y': 45, 'r': -60, 'sx': -1 }, 81: { 'y': 45, 'r': -60, 'sx': -1 }, 82: { 'r': -7 }, 83: { 'r': -20 }, 93: { 'r': -5, 'sx': -1 }, 94: { 'r': -10, 'sx': -1 }, 96: { 'r': 20 }, 97: { 'r': 30, 'sx': -1 }, 98: { 'y': 45 }, 99: { 'r': 20 }, 100: { 'r': -10, 'sx': -1 }, 102: { 'r': 24 }, 109: { 'r': -10 }, 110: { 'r': 21 }, 111: { 'r': -20 }, 113: { 'r': -10 }, 115: { 'r': 10, 'sx': -1 }, 118: { 'sx': -1 }, 138: { 'r': 18, 'sx': -1 }, 143: { 'r': 30 }, 144: { 'r': -20, 'sx': -1 }, 148: { 'r': 5, 'sx': -1 }, 151: { 'r': 20, 'sx': -1 }, 158: { 'r': 30 }, 159: { 'r': -15 }, 168: { 'r': 12 }, 169: { 'r': 15 }, 170: { 'r': 15 }, 175: { 'r': -20, 'sx': -1 }, 176: { 'r': 34 }, 177: { 'r': 34 }, 178: { 'r': 12 }, 180: { 'r': 20 }, 184: { 'r': 30, 'sx': -1 }, 185: { 'r': 35 }, 186: { 'r': 20 }, 188: { 'sx': -1 }, 189: { 'sx': -1 }, 194: { 'r': 18, 'sx': -1 }, 195: { 'y': 33, 'r': 12, 'sx': -1 }, 196: { 'y': 8, 'r': 6, 'sx': -1 }, 199: { 'y': 15, 'r': 15, 'sx': -1 }, 200: { 'r': 30, 'sx': -1 }, 205: { 'y': 8 }, 207: { 'r': 30, 'sx': -1 }, 208: { 'sx': -1 }, 212: { 'sx': -1 }, 218: { 'r': -5 }, 219: { 'y': -8, 'r': 30, 'sx': -1 }, 221: { 'r': -14 }, 224: { 'r': 30 }, 228: { 'r': 30, 'sx': -1 }, 233: { 'r': 22 }, 237: { 'r': -10 }, 238: { 'r': 15 }, 239: { 'r': 15 }, 242: { 'r': 18 }, 243: { 'r': 18 }, 244: { 'r': 18 }, 248: { 'y': 23, 'r': 12 }, 249: { 'r': -15, 'sx': -1 }, 250: { 'y': 26, 'r': 12 }, 251: { 'y': 26, 'r': 12 }, 252: { 'y': 26, 'r': 12 }, 253: { 'y': 26, 'r': 12 }, 264: { 'y': -10, 'r': -5 }, 265: { 'y': -10, 'r': -5 }, 269: { 'r': 30 }, 270: { 'r': 35 }, 271: { 'r': -15, 'sx': -1 }, 302: { 'r': 5 }, 304: { 'r': 8 }, 305: { 'r': 10, 'sx': -1 }, 306: { 'y': -5, 'r': 10, 'sx': -1 }, 316: { 'r': -25, 'sx': -1 }, 319: { 'r': 12 }, 320: { 'r': 12 }, 322: { 'r': 50 }, 323: { 'r': 50 }, 324: { 'r': 7 }, 325: { 'r': 7 }, 333: { 'y': 20, 'r': 10, 'sx': -1 }, 334: { 'y': 20, 'r': 10, 'sx': -1 }, 335: { 'y': 20, 'r': 10, 'sx': -1 }, 336: { 'y': 20, 'r': 10, 'sx': -1 }, 337: { 'y': 20, 'r': 10, 'sx': -1 }, 338: { 'y': 20, 'r': 10, 'sx': -1 }, 339: { 'y': 20, 'r': 10, 'sx': -1 }, 342: { 'y': 18, 'r': 10 }, 343: { 'y': 18, 'r': 10 }, 344: { 'y': 18, 'r': 10 }, 345: { 'y': 18, 'r': 10 }, 353: { 'y': 25, 'r': 5 }, 354: { 'y': 30, 'r': 18 }, 367: { 'r': 18 }, 368: { 'r': 18 }, 369: { 'r': 18 }, 370: { 'r': 18 }, 371: { 'y': 20, 'r': -3 }, 372: { 'y': 30, 'r': 12 }, 373: { 'y': 30, 'r': 12 }, 374: { 'y': 30, 'r': 12 }, 389: { 'y': -30, 'r': 12 }, 391: { 'y': 11, 'r': 31, 'sx': -1 }, 392: { 'y': 11, 'r': 31, 'sx': -1 }, 395: { 'x': -20, 'y': 8, 'r': 5 }, 396: { 'x': -20, 'y': 8, 'r': 5 }, 401: { 'y': 5, 'r': 25 }, 403: { 'r': 20 }, 404: { 'r': 20 }, 414: { 'r': 22 }, 415: { 'x': -10, 'y': 15, 'r': 5 }, 416: { 'x': -20, 'y': 30 }, 417: { 'x': -20, 'y': 30 }, 418: { 'x': -20, 'y': 30 }, 419: { 'y': 33, 'r': 12, 'sx': -1 }, 420: { 'x': -10, 'y': 40, 'r': 3, 'sx': -1 }, 421: { 'x': -10, 'y': 40, 'r': 3, 'sx': -1 }, 422: { 'x': -20, 'y': 15, 'r': 5, 'sx': -1 }, 423: { 'x': -10, 'y': 18, 'r': -3 }, 424: { 'x': -18, 'y': 10, 'r': 7 }, 425: { 'x': -18, 'y': 10, 'r': 7 }, 431: { 'y': 35, 'r': 2, 'sx': -1 }, 432: { 'y': 35, 'r': 2, 'sx': -1 }, 433: { 'y': 35, 'r': 2, 'sx': -1 }, 434: { 'y': 24, 'r': 3 }, 435: { 'y': 24, 'r': 3 }, 437: { 'x': -20, 'y': 14, 'r': -21 }, 444: { 'x': -5, 'y': 30, 'r': 19 }, 445: { 'x': -10, 'y': 35, 'r': 4 }, 446: { 'x': -10, 'y': 35, 'r': 5 }, 447: { 'y': -20, 'r': -22, 'sx': -1 }, 451: { 'x': 5, 'y': 10, 'r': 27 }, 452: { 'x': -20, 'y': 15, 'r': -10 }, 453: { 'y': 5, 'r': 24 }, 454: { 'y': 45, 'r': 20 }, 459: { 'x': -10, 'y': 8, 'r': 19 }, 466: { 'x': -10, 'y': 30, 'r': 13 }, 469: { 'x': -15, 'y': 30, 'r': 12 }, 473: { 'x': 15, 'y': 35, 'r': 10 }, 474: { 'x': 20, 'y': 35, 'r': 12 }, 475: { 'x': 20, 'y': 35, 'r': 12 }, 476: { 'x': 20, 'y': 35, 'r': 12 }, 479: { 'x': 10, 'y': 23, 'r': 12, 'sx': -1 }, 480: { 'x': 10, 'y': 23, 'r': 12, 'sx': -1 }, 481: { 'x': 5, 'y': 28, 'r': 7, 'sx': -1 }, 484: { 'x': 10, 'y': 23, 'r': 20 }, 485: { 'x': 10, 'y': 25, 'r': 3 }, 486: { 'x': 5, 'y': -14, 'r': -47, 'sx': -1 }, 487: { 'x': 5, 'y': -14, 'r': -47, 'sx': -1 }, 489: { 'x': 5, 'y': 42, 'r': 11 }, 490: { 'x': 0, 'y': 0, 'r': 35 }, 491: { 'x': 5, 'y': 42, 'r': 11 }, 492: { 'x': 0, 'y': 20, 'r': -1 }, 493: { 'x': 0, 'y': -10, 'r': 17 }, 504: { 'x': -5, 'y': 10, 'r': 3 }, 510: { 'x': -10, 'y': -20, 'r': 15 }, 515: { 'x': -6, 'y': -4, 'r': 11 }, 516: { 'x': -10, 'y': 15, 'r': 15 }, 521: { 'sx': -1, 'r': -10 }, 522: { 'y': 10 }, 523: { 'y': 10 } }, _1n7; }()); _1n1.PlaneConst = _1n5; }, 39156: (_1ng, _1nh) => { 'use strict'; var _1ni = null; defineModule(_1nh); Object.defineProperty(_1nh, '__esModule', { 'value': !0 }), _1nh.PostMessageType = void 0; var _1nj = (function() { var _1nk = null; function _1nl() {} return _1nl.BUY = 0, _1nl.COMMENT = 1, _1nl.DECK_NAME = 2, _1nl.NICK_NAME = 3, _1nl.AIRUNIT_DECK_NAME = 4, _1nl.OPTIONS_SAVE = 5, _1nl.OPTIONS_LOAD = 6, _1nl; }()); _1nh.PostMessageType = _1nj; }, 72170: (_1nm, _1nn) => { 'use strict'; var _1no = null; defineModule(_1nn); Object.defineProperty(_1nn, '__esModule', { 'value': !0 }), _1nn.SHIP_COUNTRY = void 0, _1nn.SHIP_COUNTRY = { 1: '日本', 2: '日本', 3: '日本', 4: '日本', 5: '日本', 6: '日本', 7: '日本', 8: '日本', 9: '日本', 10: '日本', 11: '日本', 12: '日本', 13: '日本', 14: '日本', 15: '日本', 16: '日本', 17: '日本', 18: '日本', 19: '日本', 20: '日本', 21: '日本', 22: '日本', 23: '日本', 24: '日本', 25: '日本', 26: '日本', 27: '日本', 28: '日本', 29: '日本', 30: '日本', 31: '日本', 32: '日本', 33: '日本', 34: '日本', 35: '日本', 36: '日本', 37: '日本', 38: '日本', 39: '日本', 40: '日本', 41: '日本', 42: '日本', 43: '日本', 44: '日本', 45: '日本', 46: '日本', 49: '日本', 50: '日本', 51: '日本', 52: '日本', 53: '日本', 54: '日本', 56: '日本', 59: '日本', 60: '日本', 62: '日本', 66: '日本', 71: '日本', 72: '日本', 74: '日本', 75: '日本', 76: '日本', 77: '日本', 85: '日本', 86: '日本', 90: '日本', 94: '日本', 97: '日本', 100: '日本', 101: '日本', 103: '日本', 104: '日本', 109: '日本', 111: '日本', 115: '日本', 117: '日本', 119: '日本', 120: '日本', 123: '日本', 126: '日本', 127: '日本', 65: 'アメリカ', 69: 'アメリカ', 83: 'アメリカ', 84: 'アメリカ', 87: 'アメリカ', 91: 'アメリカ', 93: 'アメリカ', 95: 'アメリカ', 99: 'アメリカ', 102: 'アメリカ', 105: 'アメリカ', 106: 'アメリカ', 107: 'アメリカ', 110: 'アメリカ', 114: 'アメリカ', 116: 'アメリカ', 118: 'アメリカ', 121: 'アメリカ', 122: 'アメリカ', 125: 'アメリカ', 67: 'イギリス', 78: 'イギリス', 82: 'イギリス', 88: 'イギリス', 108: 'イギリス', 112: 'イギリス', 58: 'イタリア', 61: 'イタリア', 64: 'イタリア', 68: 'イタリア', 80: 'イタリア', 92: 'イタリア', 113: 'イタリア', 124: 'イタリア', 98: 'オランダ', 96: 'オーストラリア', 89: 'スウェーデン', 47: 'ドイツ', 48: 'ドイツ', 55: 'ドイツ', 57: 'ドイツ', 63: 'ドイツ', 70: 'フランス', 79: 'フランス', 73: 'ロシア', 81: 'ロシア' }; }, 24117: (_1np, _1nq, _1nr) => { 'use strict'; var _1ns = null; defineModule(_1nq); Object.defineProperty(_1nq, '__esModule', { 'value': !0 }), _1nq.SlotConst = void 0; var _1nt = _1nr(75134), _1nu = (function() { var _1nv = null; function _1nw() {} return _1nw.FILTERING_CATEGORIES = { 1: [_1nt.EquipType._06_KANJO_SENTOUKI, _1nt.EquipType._56_FUNSHIKI_SENTOUKI], 2: [_1nt.EquipType._07_KANJO_BAKUGEKIKI, _1nt.EquipType._08_KANJO_KOUGEKIKI, _1nt.EquipType._57_FUNSHIKI_BAKUGEKIKI, _1nt.EquipType._58_FUNSHIKI_KOUGEKIKI], 3: [_1nt.EquipType._09_KANJO_TEISATSUKI, _1nt.EquipType._10_SUIJO_TEISATSUKI, _1nt.EquipType._11_SUIJO_BAKUGEKIKI, _1nt.EquipType._25_AUTOGYRO, _1nt.EquipType._26_TAISEN_SHOKAIKI, _1nt.EquipType._45_SUIJO_SENTOUKI, _1nt.EquipType._59_FUNSHIKI_TEISATSUKI, _1nt.EquipType._94_KANJO_TEISATSUKI], 4: [_1nt.EquipType._01_SYOUKOUKEI, _1nt.EquipType._02_TYUKOUKEI, _1nt.EquipType._03_DAIKOUKEI, _1nt.EquipType._38_DAIKOUKEI], 5: [_1nt.EquipType._04_HUKUHOU, _1nt.EquipType._95_HUKUHOU_L, _1nt.EquipType._21_TAIKU_KIJU], 6: [_1nt.EquipType._05_GYORAI, _1nt.EquipType._22_TOKUSYU_SENKOUTEI, _1nt.EquipType._32_SENSUIKAN_GYORAI], 7: [_1nt.EquipType._14_SONAR, _1nt.EquipType._15_BAKURAI, _1nt.EquipType._40_OGATA_SONAR], 8: [_1nt.EquipType._12_DENTAN_S, _1nt.EquipType._13_DENTAN_L, _1nt.EquipType._93_DENTAN_L], 9: [_1nt.EquipType._24_JOURIKUYOU_SHUTEI, _1nt.EquipType._30_KANI_YUSOUBUZAI, _1nt.EquipType._46_TOKUGATA_UCHIBITEI, _1nt.EquipType._50_YUSO_KIZAI], 10: [_1nt.EquipType._43_SENTO_RYOSYOKU, _1nt.EquipType._44_HOKYU_BUSSHI], 11: [_1nt.EquipType._41_OGATA_HIKOUTEI, _1nt.EquipType._47_RIKUJO_KOUGEKIKI, _1nt.EquipType._49_RIKUJO_TEISATSUKI, _1nt.EquipType._53_OOGATA_RIKUJOKI] }, _1nw.SLOTITEM_RARITY_NAMES = ['コモン', 'レア', 'ホロ', 'Sホロ', 'SSホロ', 'SSホロ', 'SSホロ+', 'SS++'], _1nw.ENEMY_SLOT_BORDER = 1500, _1nw; }()); _1nq.SlotConst = _1nu; }, 80534: (_1nx, _1ny) => { 'use strict'; var _1nz = null; defineModule(_1ny); Object.defineProperty(_1ny, '__esModule', { 'value': !0 }), _1ny.FAIRY_DUTY_LIST_SEASON = _1ny.FAIRY_ITEM_SHOP_SEASON = _1ny.FAIRY_MAP_COMPASS_SEASON = _1ny.AKASHI_SEASON = _1ny.OOYODO_SEASON = _1ny.MAMIYA_IRAKO_SEASON = void 0, _1ny.MAMIYA_IRAKO_SEASON = 0, _1ny.OOYODO_SEASON = '', _1ny.AKASHI_SEASON = '', _1ny.FAIRY_MAP_COMPASS_SEASON = '', _1ny.FAIRY_ITEM_SHOP_SEASON = '', _1ny.FAIRY_DUTY_LIST_SEASON = ''; }, 83415: (_1o0, _1o1) => { 'use strict'; var _1o2 = null; defineModule(_1o1); Object.defineProperty(_1o1, '__esModule', { 'value': !0 }), _1o1.UISettings = void 0; var _1o3 = (function() { var _1o4 = null; function _1o5() {} return _1o5.DIALOG_BG_ALPHA = 0.3, _1o5.DIALOG_FADETIME = 150, _1o5; }()); _1o1.UISettings = _1o3; }, 92547: function(_1o6, _1o7, _1o8) { 'use strict'; var _1o9 = null; var _1oa = this && this.__createBinding || (Object.create ? function(_1ob, _1oc, _1od, _1oe) { var _1of = null; void 0 === _1oe && (_1oe = _1od); var _1og = Object.getOwnPropertyDescriptor(_1oc, _1od); _1og && !('get' in _1og ? !_1oc.__esModule : _1og.writable || _1og.configurable) || (_1og = { 'enumerable': !0, 'get': function() { return _1oc[_1od]; } }), Object.defineProperty(_1ob, _1oe, _1og); } : function(_1oh, _1oi, _1oj, _1ok) { void 0 === _1ok && (_1ok = _1oj), _1oh[_1ok] = _1oi[_1oj]; }), _1ol = this && this.__exportStar || function(_1om, _1on) { var _1oo = null; for (var _1op in _1om) 'default' === _1op || Object.prototype.hasOwnProperty.call(_1on, _1op) || _1oa(_1on, _1om, _1op); }; defineModule(_1o7); Object.defineProperty(_1o7, '__esModule', { 'value': !0 }), _1o7.TIMEOUT_DEFAULT = _1o7.RETRY_DURATION = _1o7.RETRY_LIMIT = _1o7.SCHEME = _1o7.HTML5_AUDIO = _1o7.iOS_device = _1o7.mac = _1o7.PORT_API_SEED = void 0, _1ol(_1o8(93955), _1o7), _1ol(_1o8(66398), _1o7), _1ol(_1o8(24117), _1o7), _1ol(_1o8(41503), _1o7), _1ol(_1o8(36518), _1o7), _1ol(_1o8(3294), _1o7), _1o7.PORT_API_SEED = [7609, 7131, 9625, 4736, 6558, 9602, 6243, 7871, 6478, 4525]; var _1oq = window.navigator.userAgent.toLowerCase(), _1or = /edge/i ['test'](_1oq), _1os = /chrome/i ['test'](_1oq) && !_1or, _1ot = /ip(hone|ad|od)/i ['test'](_1oq), _1ou = /macintosh/i ['test'](_1oq) && 'ontouchend' in document; _1o7.mac = /macintosh/i ['test'](_1oq) && !('ontouchend' in document), _1o7.iOS_device = _1ot || _1ou, _1o7.HTML5_AUDIO = _1os && !_1ot, _1o7.SCHEME = 'http', _1o7.RETRY_LIMIT = 4, _1o7.RETRY_DURATION = 1000, _1o7.TIMEOUT_DEFAULT = 8000; }, 13745: (_1ov, _1ow) => { 'use strict'; var _1ox = null; defineModule(_1ow); Object.defineProperty(_1ow, '__esModule', { 'value': !0 }); }, 18997: (_1oy, _1oz) => { 'use strict'; var _1p0 = null; defineModule(_1oz); Object.defineProperty(_1oz, '__esModule', { 'value': !0 }); }, 27838: (_1p1, _1p2) => { 'use strict'; var _1p3 = null; defineModule(_1p2); Object.defineProperty(_1p2, '__esModule', { 'value': !0 }); }, 96808: (_1p4, _1p5) => { 'use strict'; var _1p6 = null; defineModule(_1p5); Object.defineProperty(_1p5, '__esModule', { 'value': !0 }); }, 57927: (_1p7, _1p8) => { 'use strict'; var _1p9 = null; defineModule(_1p8); Object.defineProperty(_1p8, '__esModule', { 'value': !0 }); }, 74168: (_1pa, _1pb) => { 'use strict'; var _1pc = null; defineModule(_1pb); Object.defineProperty(_1pb, '__esModule', { 'value': !0 }); }, 82225: (_1pd, _1pe) => { 'use strict'; var _1pf = null; defineModule(_1pe); Object.defineProperty(_1pe, '__esModule', { 'value': !0 }); }, 33411: (_1pg, _1ph) => { 'use strict'; var _1pi = null; defineModule(_1ph); Object.defineProperty(_1ph, '__esModule', { 'value': !0 }); }, 51805: (_1pj, _1pk) => { 'use strict'; var _1pl = null; var _1pm; defineModule(_1pk); Object.defineProperty(_1pk, '__esModule', { 'value': !0 }), _1pk.EquipType = void 0, function(_1pn) { var _1po = null; _1pn[_1pn._NONE = 0] = '_NONE', _1pn[_1pn._01_SYOUKOUKEI = 1] = '_01_SYOUKOUKEI', _1pn[_1pn._02_TYUKOUKEI = 2] = '_02_TYUKOUKEI', _1pn[_1pn._03_DAIKOUKEI = 3] = '_03_DAIKOUKEI', _1pn[_1pn._04_HUKUHOU = 4] = '_04_HUKUHOU', _1pn[_1pn._05_GYORAI = 5] = '_05_GYORAI', _1pn[_1pn._06_KANJO_SENTOUKI = 6] = '_06_KANJO_SENTOUKI', _1pn[_1pn._07_KANJO_BAKUGEKIKI = 7] = '_07_KANJO_BAKUGEKIKI', _1pn[_1pn._08_KANJO_KOUGEKIKI = 8] = '_08_KANJO_KOUGEKIKI', _1pn[_1pn._09_KANJO_TEISATSUKI = 9] = '_09_KANJO_TEISATSUKI', _1pn[_1pn._10_SUIJO_TEISATSUKI = 10] = '_10_SUIJO_TEISATSUKI', _1pn[_1pn._11_SUIJO_BAKUGEKIKI = 11] = '_11_SUIJO_BAKUGEKIKI', _1pn[_1pn._12_DENTAN_S = 12] = '_12_DENTAN_S', _1pn[_1pn._13_DENTAN_L = 13] = '_13_DENTAN_L', _1pn[_1pn._14_SONAR = 14] = '_14_SONAR', _1pn[_1pn._15_BAKURAI = 15] = '_15_BAKURAI', _1pn[_1pn._16_TUIKA_SOUKOU = 16] = '_16_TUIKA_SOUKOU', _1pn[_1pn._17_KIKANBU_KYOUKA = 17] = '_17_KIKANBU_KYOUKA', _1pn[_1pn._18_SANSHIKI_DAN = 18] = '_18_SANSHIKI_DAN', _1pn[_1pn._19_TAIKAN_KYOUKA = 19] = '_19_TAIKAN_KYOUKA', _1pn[_1pn._20_VT_SINKAN = 20] = '_20_VT_SINKAN', _1pn[_1pn._21_TAIKU_KIJU = 21] = '_21_TAIKU_KIJU', _1pn[_1pn._22_TOKUSYU_SENKOUTEI = 22] = '_22_TOKUSYU_SENKOUTEI', _1pn[_1pn._23_OUKYU_SYUURI = 23] = '_23_OUKYU_SYUURI', _1pn[_1pn._24_JOURIKUYOU_SHUTEI = 24] = '_24_JOURIKUYOU_SHUTEI', _1pn[_1pn._25_AUTOGYRO = 25] = '_25_AUTOGYRO', _1pn[_1pn._26_TAISEN_SHOKAIKI = 26] = '_26_TAISEN_SHOKAIKI', _1pn[_1pn._27_TUIKA_SOUKOU_TYUUGATA = 27] = '_27_TUIKA_SOUKOU_TYUUGATA', _1pn[_1pn._28_TUIKA_SOUKOU_OGATA = 28] = '_28_TUIKA_SOUKOU_OGATA', _1pn[_1pn._29_TANSHOTO = 29] = '_29_TANSHOTO', _1pn[_1pn._30_KANI_YUSOUBUZAI = 30] = '_30_KANI_YUSOUBUZAI', _1pn[_1pn._31_KANTEI_SYUURI_SISETU = 31] = '_31_KANTEI_SYUURI_SISETU', _1pn[_1pn._32_SENSUIKAN_GYORAI = 32] = '_32_SENSUIKAN_GYORAI', _1pn[_1pn._33_SYOUMEI_DAN = 33] = '_33_SYOUMEI_DAN', _1pn[_1pn._34_SIREIBU_SISETU = 34] = '_34_SIREIBU_SISETU', _1pn[_1pn._35_KOUKUU_YOUIN = 35] = '_35_KOUKUU_YOUIN', _1pn[_1pn._36_KOUSYA_SOUCHI = 36] = '_36_KOUSYA_SOUCHI', _1pn[_1pn._37_TAICHI_ROCKET = 37] = '_37_TAICHI_ROCKET', _1pn[_1pn._38_DAIKOUKEI = 38] = '_38_DAIKOUKEI', _1pn[_1pn._39_SUIJOKAN_YOUIN = 39] = '_39_SUIJOKAN_YOUIN', _1pn[_1pn._40_OGATA_SONAR = 40] = '_40_OGATA_SONAR', _1pn[_1pn._41_OGATA_HIKOUTEI = 41] = '_41_OGATA_HIKOUTEI', _1pn[_1pn._42_LARGE_TANSHOTO = 42] = '_42_LARGE_TANSHOTO', _1pn[_1pn._43_SENTO_RYOSYOKU = 43] = '_43_SENTO_RYOSYOKU', _1pn[_1pn._44_HOKYU_BUSSHI = 44] = '_44_HOKYU_BUSSHI', _1pn[_1pn._45_SUIJO_SENTOUKI = 45] = '_45_SUIJO_SENTOUKI', _1pn[_1pn._46_TOKUGATA_UCHIBITEI = 46] = '_46_TOKUGATA_UCHIBITEI', _1pn[_1pn._47_RIKUJO_KOUGEKIKI = 47] = '_47_RIKUJO_KOUGEKIKI', _1pn[_1pn._48_KYOKUCHI_SENTOUKI = 48] = '_48_KYOKUCHI_SENTOUKI', _1pn[_1pn._49_RIKUJO_TEISATSUKI = 49] = '_49_RIKUJO_TEISATSUKI', _1pn[_1pn._50_YUSO_KIZAI = 50] = '_50_YUSO_KIZAI', _1pn[_1pn._51_SENSUIKAN_SOUBI = 51] = '_51_SENSUIKAN_SOUBI', _1pn[_1pn._53_OOGATA_RIKUJOKI = 53] = '_53_OOGATA_RIKUJOKI', _1pn[_1pn._54_SUIJOKAN_SOUBI = 54] = '_54_SUIJOKAN_SOUBI', _1pn[_1pn._56_FUNSHIKI_SENTOUKI = 56] = '_56_FUNSHIKI_SENTOUKI', _1pn[_1pn._57_FUNSHIKI_BAKUGEKIKI = 57] = '_57_FUNSHIKI_BAKUGEKIKI', _1pn[_1pn._58_FUNSHIKI_KOUGEKIKI = 58] = '_58_FUNSHIKI_KOUGEKIKI', _1pn[_1pn._59_FUNSHIKI_TEISATSUKI = 59] = '_59_FUNSHIKI_TEISATSUKI', _1pn[_1pn._93_DENTAN_L = 93] = '_93_DENTAN_L', _1pn[_1pn._94_KANJO_TEISATSUKI = 94] = '_94_KANJO_TEISATSUKI', _1pn[_1pn._95_HUKUHOU_L = 95] = '_95_HUKUHOU_L'; }(_1pm || (_1pk.EquipType = _1pm = {})); }, 7271: (_1pp, _1pq) => { 'use strict'; var _1pr = null; defineModule(_1pq); Object.defineProperty(_1pq, '__esModule', { 'value': !0 }); }, 66749: (_1ps, _1pt) => { 'use strict'; var _1pu = null; defineModule(_1pt); Object.defineProperty(_1pt, '__esModule', { 'value': !0 }); }, 81016: (_1pv, _1pw) => { 'use strict'; var _1px = null; defineModule(_1pw); Object.defineProperty(_1pw, '__esModule', { 'value': !0 }); }, 71736: (_1py, _1pz) => { 'use strict'; var _1q0 = null; var _1q1; defineModule(_1pz); Object.defineProperty(_1pz, '__esModule', { 'value': !0 }), _1pz.RibbonType = void 0, function(_1q2) { var _1q3 = null; _1q2[_1q2.NONE = 0] = 'NONE', _1q2[_1q2.BLUE = 1] = 'BLUE', _1q2[_1q2.WHITE = 2] = 'WHITE'; }(_1q1 || (_1pz.RibbonType = _1q1 = {})); }, 11615: (_1q4, _1q5) => { 'use strict'; var _1q6 = null; defineModule(_1q5); Object.defineProperty(_1q5, '__esModule', { 'value': !0 }); }, 73561: (_1q7, _1q8) => { 'use strict'; var _1q9 = null; defineModule(_1q8); Object.defineProperty(_1q8, '__esModule', { 'value': !0 }); }, 56521: (_1qa, _1qb) => { 'use strict'; var _1qc = null; defineModule(_1qb); Object.defineProperty(_1qb, '__esModule', { 'value': !0 }); }, 56943: (_1qd, _1qe) => { 'use strict'; var _1qf = null; defineModule(_1qe); Object.defineProperty(_1qe, '__esModule', { 'value': !0 }); }, 44176: (_1qg, _1qh) => { 'use strict'; var _1qi = null; defineModule(_1qh); Object.defineProperty(_1qh, '__esModule', { 'value': !0 }); }, 63899: (_1qj, _1qk) => { 'use strict'; var _1ql = null; defineModule(_1qk); Object.defineProperty(_1qk, '__esModule', { 'value': !0 }); }, 99974: (_1qm, _1qn) => { 'use strict'; var _1qo = null; defineModule(_1qn); Object.defineProperty(_1qn, '__esModule', { 'value': !0 }); }, 61554: (_1qp, _1qq) => { 'use strict'; var _1qr = null; defineModule(_1qq); Object.defineProperty(_1qq, '__esModule', { 'value': !0 }); }, 79429: (_1qs, _1qt) => { 'use strict'; var _1qu = null; defineModule(_1qt); Object.defineProperty(_1qt, '__esModule', { 'value': !0 }); }, 80882: (_1qv, _1qw) => { 'use strict'; var _1qx = null; defineModule(_1qw); Object.defineProperty(_1qw, '__esModule', { 'value': !0 }); }, 75134: function(_1qy, _1qz, _1r0) { 'use strict'; var _1r1 = null; var _1r2 = this && this.__createBinding || (Object.create ? function(_1r3, _1r4, _1r5, _1r6) { var _1r7 = null; void 0 === _1r6 && (_1r6 = _1r5); var _1r8 = Object.getOwnPropertyDescriptor(_1r4, _1r5); _1r8 && !('get' in _1r8 ? !_1r4.__esModule : _1r8.writable || _1r8.configurable) || (_1r8 = { 'enumerable': !0, 'get': function() { return _1r4[_1r5]; } }), Object.defineProperty(_1r3, _1r6, _1r8); } : function(_1r9, _1ra, _1rb, _1rc) { void 0 === _1rc && (_1rc = _1rb), _1r9[_1rc] = _1ra[_1rb]; }), _1rd = this && this.__exportStar || function(_1re, _1rf) { var _1rg = null; for (var _1rh in _1re) 'default' === _1rh || Object.prototype.hasOwnProperty.call(_1rf, _1rh) || _1r2(_1rf, _1re, _1rh); }; defineModule(_1qz); Object.defineProperty(_1qz, '__esModule', { 'value': !0 }), _1rd(_1r0(5937), _1qz), _1rd(_1r0(24280), _1qz), _1rd(_1r0(13745), _1qz), _1rd(_1r0(18997), _1qz), _1rd(_1r0(27838), _1qz), _1rd(_1r0(96808), _1qz), _1rd(_1r0(11615), _1qz), _1rd(_1r0(56521), _1qz), _1rd(_1r0(44176), _1qz), _1rd(_1r0(80882), _1qz), _1rd(_1r0(66749), _1qz), _1rd(_1r0(82225), _1qz), _1rd(_1r0(57927), _1qz), _1rd(_1r0(73561), _1qz), _1rd(_1r0(56943), _1qz), _1rd(_1r0(99974), _1qz), _1rd(_1r0(33411), _1qz), _1rd(_1r0(63899), _1qz), _1rd(_1r0(51805), _1qz), _1rd(_1r0(79429), _1qz), _1rd(_1r0(81016), _1qz), _1rd(_1r0(76151), _1qz), _1rd(_1r0(7271), _1qz), _1rd(_1r0(61554), _1qz), _1rd(_1r0(74168), _1qz), _1rd(_1r0(71736), _1qz); }, 76151: (_1ri, _1rj) => { 'use strict'; var _1rk = null; defineModule(_1rj); Object.defineProperty(_1rj, '__esModule', { 'value': !0 }); }, 24280: (_1rl, _1rm) => { 'use strict'; var _1rn = null; defineModule(_1rm); Object.defineProperty(_1rm, '__esModule', { 'value': !0 }); }, 5937: (_1ro, _1rp) => { 'use strict'; var _1rq = null; defineModule(_1rp); Object.defineProperty(_1rp, '__esModule', { 'value': !0 }); }, 15478: function(_1rr, _1rs, _1rt) { 'use strict'; var _1ru = null; var _1rv = this && this.__importDefault || function(_1rw) { var _1rx = null; return _1rw && _1rw.__esModule ? _1rw : { 'default': _1rw }; }; defineModule(_1rs); Object.defineProperty(_1rs, '__esModule', { 'value': !0 }), _1rs.FurnitureLoader = void 0; var _1ry = _1rv(_1rt(18622)), _1rz = _1rt(57616), _1s0 = _1rt(13744), _1s1 = _1rt(55853), _1s2 = (function() { var _1s3 = null; function _1s4() { var _1s5 = null; this._loaders = [], this._added_list = []; } return _1s4.clearMemoryCache = function() { var _1s6 = null, _1s7 = new RegExp('^f\d{3}_.*\.png'); _1s4._clearMemoryCache(_1s7); var _1s8 = new RegExp('^resources/furniture/(movable|normal|thumbnail|picture|outside|card)/.+'); _1s4._clearMemoryCache(_1s8); }, _1s4._clearMemoryCache = function(_1s9) { var _1sa = null; for (var _1sb = 0, _1sc = Object.keys(PIXI.utils.TextureCache).filter(function(_1sd) { var _1se = null; return _1s9.test(_1sd); }); _1sb < _1sc.length; _1sb++) { var _1sf = _1sc[_1sb], _1sg = PIXI.utils.TextureCache[_1sf]; _1sg && _1sg.destroy(!0), delete PIXI.utils.TextureCache[_1sf]; } _1s4._loaded = _1s4._loaded.filter(function(_1sh) { var _1si = null; return 0 == _1s9.test(_1sh); }); }, _1s4.getPath = function(_1sj, _1sk) { var _1sl = null, _1sm = _1rz.MathUtil.zeroPadding(_1sj, 3); if ('normal' == _1sk && _1ry.default.model.furniture.isActive(_1sj)) { var _1sn = 'movable', _1so = _1s0.SuffixUtil.create(_1sj, 'furniture_' + _1sn); return _1ry.default.settings.path_root + 'resources/furniture/'['concat'](_1sn, '/').concat(_1sm, '_').concat(_1so, '.json'); } return _1so = _1s0.SuffixUtil.create(_1sj, 'furniture_' + _1sk), _1ry.default.settings.path_root + 'resources/furniture/'['concat'](_1sk, '/').concat(_1sm, '_').concat(_1so, '.png'); }, _1s4.getVersionQuery = function(_1sp) { var _1sq = null, _1sr = _1s1.VersionUtil.get(2, _1sp); return null != _1sr && '' != _1sr && '1' != _1sr ? 'version='['concat'](_1sr) : ''; }, _1s4.prototype.add = function(_1ss, _1st) { var _1su = null, _1sv = _1s4.getPath(_1ss, _1st); if (-1 != this._added_list.indexOf(_1sv)) return this; if (null == _1s4._loaded && (_1s4._loaded = []), -1 != _1s4._loaded.indexOf(_1sv)) return this; _1s4._loaded.push(_1sv), this._added_list.push(_1sv); var _1sw = new PIXI.loaders.Loader(); return _1sw.defaultQueryString = _1s4.getVersionQuery(_1ss), _1sw.add(_1sv), this._loaders.push(_1sw), this; }, _1s4.prototype.load = function(_1sx) { var _1sy = null; return void 0 === _1sx && (_1sx = null), this._cb_onComplete = _1sx, this._load(), this; }, _1s4.prototype._load = function() { var _1sz = null, _1t0 = this; 0 == this._loaders.length ? this._onComplete() : this._loaders.shift().load(function() { var _1t1 = null; _1t0._load(); }); }, _1s4.prototype._onComplete = function() { var _1t2 = null; this._cb_onComplete(), this._loaders = null, this._cb_onComplete = null; }, _1s4; }()); _1rs.FurnitureLoader = _1s2; }, 51479: function(_1t3, _1t4, _1t5) { 'use strict'; var _1t6 = null; var _1t7, _1t8 = this && this.__extends || (_1t7 = function(_1t9, _1ta) { var _1tb = null; return _1t7 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1tc, _1td) { var _1te = null; _1tc.__proto__ = _1td; } || function(_1tf, _1tg) { var _1th = null; for (var _1ti in _1tg) Object.prototype.hasOwnProperty.call(_1tg, _1ti) && (_1tf[_1ti] = _1tg[_1ti]); }, _1t7(_1t9, _1ta); }, function(_1tj, _1tk) { var _1tl = null; if ('function' != typeof _1tk && null !== _1tk) throw new TypeError('Class extends value ' + String(_1tk) + ' is not a constructor or null'); function _1tm() { var _1tn = null; this.constructor = _1tj; } _1t7(_1tj, _1tk), _1tj.prototype = null === _1tk ? Object.create(_1tk) : (_1tm.prototype = _1tk.prototype, new _1tm()); }), _1to = this && this.__importDefault || function(_1tp) { var _1tq = null; return _1tp && _1tp.__esModule ? _1tp : { 'default': _1tp }; }; defineModule(_1t4); Object.defineProperty(_1t4, '__esModule', { 'value': !0 }), _1t4.VerticalGaugeLoader = _1t4.HorizontalGaugeLoader = _1t4.GaugeLoader = void 0; var _1tr = _1to(_1t5(83300)), _1ts = _1to(_1t5(18622)), _1tt = _1t5(81755), _1tu = _1t5(84412), _1tv = _1t5(89939), _1tw = _1t5(55535), _1tx = _1t5(13748), _1ty = (function() { var _1tz = null; function _1u0(_1u1, _1u2) { var _1u3 = null, _1u4 = this; this._onImageLoadComplete = function(_1u5, _1u6) { var _1u7 = null; null != _1u5 && _1u4._cb_onLoadCompleteResources(_1u5.resources), null != _1u4._cb_onTaskComplete && _1u4._cb_onTaskComplete(), _1u4._cb_onLoadCompleteInfo = null, _1u4._cb_onLoadCompleteResources = null, _1u4._cb_onTaskComplete = null, _1u4._keys = null, _1u4._version_map = null; }, this._cb_onLoadCompleteInfo = _1u1, this._cb_onLoadCompleteResources = _1u2, this._keys = [], this._version_map = {}; } return Object.defineProperty(_1u0.prototype, 'count', { 'get': function() { var _1u8 = null; return this._keys.length; }, 'enumerable': !1, 'configurable': !0 }), _1u0.prototype.add = function(_1u9) { var _1ua = null; if (-1 == this._keys.indexOf(_1u9)) { this._keys.push(_1u9); var _1ub = _1tu.GaugeSetModel.getMapId(_1u9); this._version_map[_1u9] = _1tx.UIImageLoader.getResourceVersionMap(_1ub); } return this; }, _1u0.prototype.load = function(_1uc) { var _1ud = null, _1ue = this; void 0 === _1uc && (_1uc = null), this._cb_onTaskComplete = _1uc; for (var _1uf = {}, _1ug = new _1tw.SerialTask(), _1uh = 0, _1ui = this._keys; _1uh < _1ui.length; _1uh++) { var _1uj = _1ui[_1uh], _1uk = this._version_map[_1uj]; _1ug.add(new _1ul(_1uj, _1uk, _1uf)); } _1ug.start(function() { var _1um = null; _1ue._onInfoLoadComplete(_1uf); }); }, _1u0; }()); _1t4.GaugeLoader = _1ty; var _1un = function(_1uo) { var _1up = null; function _1uq() { var _1ur = null; return null !== _1uo && _1uo.apply(this, arguments) || this; } return _1t8(_1uq, _1uo), _1uq.prototype._onInfoLoadComplete = function(_1us) { var _1ut = null, _1uu = new PIXI.loaders.Loader(_1ts.default.settings.path_root), _1uv = []; for (var _1uw in _1us) { var _1ux = _1us[_1uw]; this._cb_onLoadCompleteInfo(_1uw, _1ux); var _1uy = this._version_map[_1uw] ? '?version='['concat'](this._version_map[_1uw]) : '', _1uz = _1ux.image_path; - 1 == _1uv.indexOf(_1uz) && null == PIXI.utils.TextureCache[_1uz] && (_1uv.push(_1uz), _1uu.add(_1uz, 'resources/gauge/'['concat'](_1uz, '.png').concat(_1uy))), _1uz = _1ux.image_light_path, -1 == _1uv.indexOf(_1uz) && null == PIXI.utils.TextureCache[_1uz] && (_1uv.push(_1uz), _1uu.add(_1uz, 'resources/gauge/'['concat'](_1uz, '.png').concat(_1uy))); } 0 == _1uv.length ? this._onImageLoadComplete(null, null) : _1uu.load(this._onImageLoadComplete); }, _1uq; }(_1ty); _1t4.HorizontalGaugeLoader = _1un; var _1v0 = function(_1v1) { var _1v2 = null; function _1v3() { var _1v4 = null; return null !== _1v1 && _1v1.apply(this, arguments) || this; } return _1t8(_1v3, _1v1), _1v3.prototype._onInfoLoadComplete = function(_1v5) { var _1v6 = null, _1v7 = new PIXI.loaders.Loader(_1ts.default.settings.path_root), _1v8 = []; for (var _1v9 in _1v5) { var _1va = _1v5[_1v9]; this._cb_onLoadCompleteInfo(_1v9, _1va); var _1vb = _1va.vertical; if (null != _1vb) { var _1vc = this._version_map[_1v9] ? '?version='['concat'](this._version_map[_1v9]) : '', _1vd = _1vb.image_path; - 1 == _1v8.indexOf(_1vd) && null == PIXI.utils.TextureCache[_1vd] && (_1v8.push(_1vd), _1v7.add(_1vd, 'resources/gauge/'['concat'](_1vd, '.png').concat(_1vc))), _1vd = _1va.vertical.image_light_path, -1 == _1v8.indexOf(_1vd) && null == PIXI.utils.TextureCache[_1vd] && (_1v8.push(_1vd), _1v7.add(_1vd, 'resources/gauge/'['concat'](_1vd, '.png?').concat(_1vc))); } } 0 == _1v8.length ? this._onImageLoadComplete(null, null) : _1v7.load(this._onImageLoadComplete); }, _1v3; }(_1ty); _1t4.VerticalGaugeLoader = _1v0; var _1ul = function(_1ve) { var _1vf = null; function _1vg(_1vh, _1vi, _1vj) { var _1vk = null, _1vl = _1ve.call(this) || this; return _1vl._onLoadComplete = function(_1vm) { var _1vn = null; if (200 == _1tv.ObjUtil.getNumber(_1vm, 'status')) { var _1vo = _1tv.ObjUtil.getObject(_1vm, 'data'); null != _1vo && (_1vl._dic[_1vl._key] = new _1tu.GaugeSetModel(_1vo)), _1vl._endTask(); } else _1vl._failedEnd(); }, _1vl._onLoadFailed = function(_1vp) { var _1vq = null; _1vl._failedEnd(); }, _1vl._key = _1vh, _1vl._version = _1vi, _1vl._dic = _1vj, _1vl; } return _1t8(_1vg, _1ve), _1vg.prototype._start = function() { var _1vr = null, _1vs = this._version ? '?version='['concat'](this._version) : '', _1vt = _1ts.default.settings.path_root + 'resources/gauge/'['concat'](this._key, '.json').concat(_1vs); _1tr.default.get(_1vt).then(this._onLoadComplete).catch(this._onLoadFailed); }, _1vg; }(_1tt.TaskBase); }, 20137: function(_1vu, _1vv, _1vw) { 'use strict'; var _1vx = null; var _1vy = this && this.__importDefault || function(_1vz) { var _1w0 = null; return _1vz && _1vz.__esModule ? _1vz : { 'default': _1vz }; }; defineModule(_1vv); Object.defineProperty(_1vv, '__esModule', { 'value': !0 }), _1vv.ShipLoader = void 0; var _1w1 = _1vy(_1vw(18622)), _1w2 = _1vw(18343), _1w3 = _1vw(57616), _1w4 = _1vw(13744), _1w5 = _1vw(55853), _1w6 = _1vw(92547), _1w7 = (function() { var _1w8 = null; function _1w9() { var _1wa = null, _1wb = this; this._retry_count = 0, this._retry_timer = 0, this._isError = !1, this._cb_onLoad = function() { var _1wc = null; _1wb._isError && _1wb._retry_count < _1w6.RETRY_LIMIT ? (_1wb._isError = !1, _1wb._retry()) : _1wb._onLoadComplete(); }, this._onError = function(_1wd, _1we, _1wf) { var _1wg = null; _1wb._isError = !0; }, null == _1w9._queue && (_1w9._queue = []), this._url_list = []; } return _1w9.isLoadEnemyDamagedGraph = function(_1wh) { var _1wi = null; return [1587, 1588, 1589, 1590].indexOf(_1wh), !1; }, _1w9.hSuffix = function(_1wj, _1wk) { var _1wl = null; if (null == _1w9.hasai || _1wj != _1w9.hasai) return ''; switch (_1wk) { case 'banner': case 'banner_g': case 'full': return '_d'; default: return ''; } }, _1w9.getPath = function(_1wm, _1wn, _1wo) { var _1wp = null; 'album_status' == _1wo ? _1wn = !1 : 'banner_g' == _1wo || 'banner2_g' == _1wo || 'banner3_g' == _1wo ? _1wn = !0 : 1 == _1w2.ShipUtil.isEnemy(_1wm) && (this.isLoadEnemyDamagedGraph(_1wm) || (_1wn = !1)); var _1wq = _1wo + (_1wn ? '_dmg' : ''), _1wr = 'ship_' + _1wq, _1ws = _1w4.SuffixUtil.create(_1wm, _1wr), _1wt = _1w3.MathUtil.zeroPadding(_1wm, 4), _1wu = ''; if ('full' == _1wo || 'full_animation' == _1wo) { var _1wv = _1w1.default.model.ship_graph.get(_1wm); null != _1wv && (_1wu = '_' + _1wv.unique_key); } return _1w1.default.settings.path_root + 'resources/ship/'['concat'](_1wq, '/').concat(_1wt + _1w9.hSuffix(_1wm, _1wo), '_').concat(_1ws).concat(_1wu, '.png').concat(_1w5.VersionUtil.getResourceVersion(0, parseInt(_1wt))); }, _1w9.clearMemoryCache = function() { var _1ww = null; for (var _1wx = 0, _1wy = Object.keys(PIXI.utils.TextureCache).filter(function(_1wz) { var _1x0 = null; return /^resources\/ship\/.+/ ['test'](_1wz); }); _1wx < _1wy.length; _1wx++) { var _1x1 = _1wy[_1wx], _1x2 = PIXI.utils.TextureCache[_1x1]; _1x2 && _1x2.destroy(!0), delete PIXI.utils.TextureCache[_1x1]; } }, _1w9.isShipImageForPortScene = function(_1x3) { var _1x4 = null; return [951].indexOf(_1x3) > -1; }, _1w9.prototype.add = function(_1x5, _1x6, _1x7) { var _1x8 = null, _1x9 = _1w9.getPath(_1x5, _1x6, _1x7); return this._url_list.push(_1x9), this; }, _1w9.prototype.getSpecificAlbumImageLoadList = function(_1xa) { var _1xb = null; switch (_1xa) { case 5026: case 5027: case 5275: case 5276: case 5277: case 5278: case 5279: case 5280: case 5281: case 5282: case 5283: case 5284: case 5285: case 5286: case 5287: case 5288: case 5289: case 5290: case 5291: case 5292: case 5293: case 5294: case 5295: case 5296: case 5297: case 5298: case 5299: case 5300: case 5301: case 5302: case 5303: case 5304: case 5305: case 5306: case 5667: case 5668: case 5669: return { 'typeList': ['character_up', 'character_full'], 'hasTaiha': !1 }; case 5256: case 5269: case 5357: return { 'typeList': ['character_up', 'character_full'], 'hasTaiha': !0 }; default: return { 'typeList': null, 'hasTaiha': null }; } }, _1w9.prototype.needCard = function(_1xc) { var _1xd = null; return null === _1xc || _1xc.indexOf('card') > -1; }, _1w9.prototype.needCharaFull = function(_1xe) { var _1xf = null; return null === _1xe || _1xe.indexOf('character_full') > -1; }, _1w9.prototype.needCharaUp = function(_1xg) { var _1xh = null; return null === _1xg || _1xg.indexOf('character_up') > -1; }, _1w9.prototype.load = function(_1xi) { var _1xj = null; void 0 === _1xi && (_1xi = null), this._cb_onComplete = _1xi, _1w9._queue.indexOf(this) >= 0 || (_1w9._queue.push(this), 1 == _1w9._queue.length && this._load()); }, _1w9.prototype._load = function() { var _1xk = null, _1xl = this; if (this._url_list = this._url_list.filter(function(_1xm, _1xn, _1xo) { var _1xp = null; return !PIXI.utils.TextureCache[_1xm] && _1xo.indexOf(_1xm) === _1xn; }), 0 != this._url_list.length) { var _1xq = new PIXI.loaders.Loader(); _1xq.on('error', this._onError.bind(this)); for (var _1xr = 0, _1xs = this._url_list; _1xr < _1xs.length; _1xr++) { var _1xt = _1xs[_1xr]; _1xq.add(_1xt); } _1xq.load(function() { var _1xu = null; _1xl._cb_onLoad(); }); } else this._onLoadComplete(); }, _1w9.prototype._retry = function() { var _1xv = null, _1xw = this; this._retry_count++, clearTimeout(this._retry_timer), this._retry_timer = window.setTimeout(function() { var _1xx = null; for (var _1xy = 0, _1xz = _1xw._url_list; _1xy < _1xz.length; _1xy++) { var _1y0 = _1xz[_1xy], _1y1 = PIXI.utils.TextureCache[_1y0]; null == _1y1 || _1y1.destroy(!0), delete PIXI.utils.TextureCache[_1y0]; } _1xw._load(); }, _1w6.RETRY_DURATION); }, _1w9.prototype._onLoadComplete = function() { var _1y2 = null; if (this._cb_onComplete(), this._cb_onComplete = null, _1w9._queue.shift() != this) throw new Error('ShipLoader Error'); _1w9._queue.length > 0 && _1w9._queue[0]._load(); }, _1w9.hasai = null, _1w9; }()); _1vv.ShipLoader = _1w7; }, 37760: function(_1y3, _1y4, _1y5) { 'use strict'; var _1y6 = null; var _1y7 = this && this.__importDefault || function(_1y8) { var _1y9 = null; return _1y8 && _1y8.__esModule ? _1y8 : { 'default': _1y8 }; }; defineModule(_1y4); Object.defineProperty(_1y4, '__esModule', { 'value': !0 }), _1y4.SlotLoader = void 0; var _1ya = _1y7(_1y5(18622)), _1yb = _1y5(36518), _1yc = _1y5(57616), _1yd = _1y5(13744), _1ye = _1y5(55853), _1yf = _1y5(92547), _1yg = _1y5(92547), _1yh = (function() { var _1yi = null; function _1yj() { var _1yk = null, _1yl = this; this._retry_count = 0, this._retry_timer = 0, this._isError = !1, this.EXCLUDE_RES = [{ 'type': 'item_character', 'mst_id': 42 }, { 'type': 'item_up', 'mst_id': 496 }], this._cb_onLoad = function() { var _1ym = null; _1yl._isError && _1yl._retry_count < _1yg.RETRY_LIMIT ? (_1yl._isError = !1, _1yl._retry()) : _1yl._onLoadComplete(); }, this._onError = function(_1yn, _1yo, _1yp) { var _1yq = null; _1yl._isError = !0; }, null == _1yj._queue && (_1yj._queue = []), this._url_list = []; } return _1yj.getPath = function(_1yr, _1ys) { var _1yt = null, _1yu = 'slot_' + _1ys, _1yv = _1yd.SuffixUtil.create(_1yr, _1yu), _1yw = _1yc.MathUtil.zeroPadding(_1yr, 4); return _1ya.default.settings.path_root + 'resources/slot/'['concat'](_1ys, '/').concat(_1yw, '_').concat(_1yv, '.png').concat(_1ye.VersionUtil.getResourceVersion(1, parseInt(_1yw))); }, _1yj.clearMemoryCache = function() { var _1yx = null; for (var _1yy = 0, _1yz = Object.keys(PIXI.utils.TextureCache).filter(function(_1z0) { var _1z1 = null; return /^resources\/slot\/.+/ ['test'](_1z0); }); _1yy < _1yz.length; _1yy++) { var _1z2 = _1yz[_1yy], _1z3 = PIXI.utils.TextureCache[_1z2]; _1z3 && _1z3.destroy(!0), delete PIXI.utils.TextureCache[_1z2]; } }, _1yj.prototype.add = function(_1z4, _1z5) { var _1z6 = null; if (!this._isLoadExclude(_1z4, _1z5)) { 'item_up' == _1z5 && (1 == _1yb.ITEMUP_REPLACE.hasOwnProperty(_1z4.toString()) ? _1z4 = _1yb.ITEMUP_REPLACE[_1z4] : _1z4 > _1yf.SlotConst.ENEMY_SLOT_BORDER && (_1z4 -= _1yf.SlotConst.ENEMY_SLOT_BORDER)); var _1z7 = _1yj.getPath(_1z4, _1z5); return this._url_list.push(_1z7), this; } }, _1yj.prototype._isLoadExclude = function(_1z8, _1z9) { var _1za = null; return !!this.EXCLUDE_RES.some(function(_1zb) { var _1zc = null; return _1zb.mst_id == _1z8 && _1zb.type == _1z9; }); }, _1yj.prototype.load = function(_1zd) { var _1ze = null; void 0 === _1zd && (_1zd = null), this._cb_onComplete = _1zd, _1yj._queue.indexOf(this) >= 0 || (_1yj._queue.push(this), 1 == _1yj._queue.length && this._load()); }, _1yj.prototype._load = function() { var _1zf = null, _1zg = this; if (this._url_list = this._url_list.filter(function(_1zh, _1zi, _1zj) { var _1zk = null; return !PIXI.utils.TextureCache[_1zh] && _1zj.indexOf(_1zh) === _1zi; }), 0 != this._url_list.length) { var _1zl = new PIXI.loaders.Loader(); _1zl.on('error', this._onError.bind(this)); for (var _1zm = 0, _1zn = this._url_list; _1zm < _1zn.length; _1zm++) { var _1zo = _1zn[_1zm]; _1zl.add(_1zo); } _1zl.load(function() { var _1zp = null; _1zg._cb_onLoad(); }); } else this._onLoadComplete(); }, _1yj.prototype._onLoadComplete = function() { var _1zq = null; if (this._cb_onComplete(), this._cb_onComplete = null, _1yj._queue.shift() != this) throw new Error('SlotLoader Error'); _1yj._queue.length > 0 && _1yj._queue[0]._load(); }, _1yj.prototype._retry = function() { var _1zr = null, _1zs = this; this._retry_count++, clearTimeout(this._retry_timer), this._retry_timer = window.setTimeout(function() { var _1zt = null; for (var _1zu = 0, _1zv = _1zs._url_list; _1zu < _1zv.length; _1zu++) { var _1zw = _1zv[_1zu], _1zx = PIXI.utils.TextureCache[_1zw]; null == _1zx || _1zx.destroy(!0), delete PIXI.utils.TextureCache[_1zw]; } _1zs._load(); }, _1yg.RETRY_DURATION); }, _1yj; }()); _1y4.SlotLoader = _1yh; }, 13748: function(_1zy, _1zz, _200) { 'use strict'; var _201 = null; var _202 = this && this.__importDefault || function(_203) { var _204 = null; return _203 && _203.__esModule ? _203 : { 'default': _203 }; }; defineModule(_1zz); Object.defineProperty(_1zz, '__esModule', { 'value': !0 }), _1zz.UIImageLoader = void 0; var _205 = _202(_200(18622)), _206 = _200(92547), _207 = (function() { var _208 = null; function _209(_20a) { var _20b = null, _20c = this; this._cb_onProgress = null, this._retry_count = 0, this._retry_timer = 0, this._isError = !1, this._cb_onLoad = function(_20d, _20e) { var _20f = null; _20c._isError && _20c._retry_count <= _206.RETRY_LIMIT ? (_20c._isError = !1, _20c._retry()) : _20c._onLoadComplete(_20d, _20e); }, this._onLoadComplete = function(_20g, _20h) { var _20i = null; null != _20c._cb_onComplete && _20c._cb_onComplete(_20g, _20h), _20c._cb_onComplete = null, null != _20c._cb_onProgress && _20c._loader.off('progress', _20c._cb_onProgress), _20c._cb_onProgress = null, clearTimeout(_20c._retry_timer), _20c._retry_timer = 0, _20c._retry_list = {}, _20c._retry_count = 0, _20c._isError = !1, _20c._keys = null, _20c._loader = null; }, this._onError = function(_20j, _20k, _20l) { var _20m = null; _20c._isError = !0; }, this._category = _20a, this._keys = [], this._loader = new PIXI.loaders.Loader(), this._retry_list = {}, this._retry_count = 0, this._version = _209.getVersion(_20a), null != this._version && (this._loader.defaultQueryString = 'version='['concat'](this._version)); } return _209.setVersionData = function(_20n) { var _20o = null; this._version_data = _20n; }, _209.getPath = function(_20p, _20q) { var _20r = null; return null == _20q || '' == _20q ? _205.default.settings.path_root + 'img/'['concat'](_20p) : _205.default.settings.path_root + 'img/'['concat'](_20q, '/').concat(_20p); }, _209.getVersion = function(_20s) { var _20t = null; return null == _209._version_data || null == _209._version_data[_20s] ? null : _209._version_data[_20s]; }, _209.getResourceVersionArea = function(_20u) { var _20v = null; if (null == _209._version_data) return null; if (null == _209._version_data.resources) return null; var _20w = _209._version_data.resources; return null == _20w.area || null == (_20w = _20w.area)[_20u] ? null : _20w[_20u]; }, _209.getResourceVersionMap = function(_20x) { var _20y = null; if (null == _209._version_data) return null; if (null == _209._version_data.resources) return null; var _20z = _209._version_data.resources; return null == _20z.map || null == (_20z = _20z.map)[_20x.toString()] ? null : _20z[_20x.toString()]; }, _209.clearMemoryCache = function(_210) { var _211 = null, _212 = new RegExp('^img\/'['concat'](_210, '\/.+')); _209._clearMemoryCache(_212); var _213 = new RegExp('^' ['concat'](_210, '_.+_\d+')); _209._clearMemoryCache(_213); }, _209.clearMemoryCacheDetail = function(_214, _215) { var _216 = null, _217 = new RegExp('^img\/'['concat'](_214, '\x5c/').concat(_214, '_').concat(_215, '.*')); _209._clearMemoryCache(_217); var _218 = new RegExp('^' ['concat'](_214, '_').concat(_215, '_\d+')); _209._clearMemoryCache(_218); }, _209.prototype._clearMemoryCacheDetailOne = function(_219, _21a, _21b) { var _21c = null; void 0 === _21b && (_21b = null); var _21d = _21a.replace(/^(.+)\..+$/, '$1'); if (null == _21b) { var _21e = new RegExp('^img\/'['concat'](_219, '\x5c/').concat(_21d, '.*')); _209._clearMemoryCache(_21e); var _21f = new RegExp('^' ['concat'](_21d, '_(\d+|id_\d+)')); _209._clearMemoryCache(_21f); } else { var _21g = new RegExp('img\/'['concat'](_219, '\x5c/').concat(_21d, '.*')); _209._clearMemoryCache(_21g); var _21h = new RegExp('^' ['concat'](_21b, '.*')); _209._clearMemoryCache(_21h); } }, _209._clearMemoryCache = function(_21i) { var _21j = null; for (var _21k = 0, _21l = Object.keys(PIXI.utils.TextureCache).filter(function(_21m) { var _21n = null; return _21i.test(_21m); }); _21k < _21l.length; _21k++) { var _21o = _21l[_21k], _21p = PIXI.utils.TextureCache[_21o]; _21p && _21p.destroy(!0), delete PIXI.utils.TextureCache[_21o]; } _209._loaded = _209._loaded.filter(function(_21q) { var _21r = null; return 0 == _21i.test(_21q); }); }, _209.prototype.add = function(_21s, _21t) { var _21u = null; void 0 === _21t && (_21t = null); var _21v = _209.getPath(_21s, this._category); return null == _209._loaded && (_209._loaded = []), _209._loaded.indexOf(_21v) >= 0 || (_209._loaded.push(_21v), this._keys.push(_21v), this._retry_list[_21v] = { 'category': this._category, 'filename': _21s, 'name': _21t }, this._loader = null == _21t ? this._loader.add(_21v) : this._loader.add(_21t, _21v)), this; }, _209.prototype.load = function(_21w, _21x) { var _21y = null; return void 0 === _21w && (_21w = null), void 0 === _21x && (_21x = null), this._cb_onComplete = _21w, this._cb_onProgress = _21x, this._loader.on('error', this._onError.bind(this)), null != _21x && this._loader.on('progress', this._cb_onProgress.bind(this)), this._keys.length > 0 ? this._loader = this._loader.load(this._cb_onLoad.bind(this)) : this._cb_onLoad(this._loader, null), this; }, _209.prototype._retry = function() { var _21z = null, _220 = this; this._retry_count++; var _221 = this._loader.defaultQueryString; this._loader = new PIXI.loaders.Loader(), null != this._version && (this._loader.defaultQueryString = _221); var _222 = Object.keys(this._retry_list); clearTimeout(this._retry_timer), this._retry_timer = window.setTimeout(function() { var _223 = null; for (var _224 = 0, _225 = _222; _224 < _225.length; _224++) { var _226 = _225[_224], _227 = _220._retry_list[_226]; null == _227.name ? (_220._clearMemoryCacheDetailOne(_227.category, _227.filename), _220._loader = _220._loader.add(_226)) : (_220._clearMemoryCacheDetailOne(_227.category, _227.filename, _227.name), _220._loader = _220._loader.add(_227.name, _226)); } _220.load(_220._cb_onComplete, _220._cb_onProgress); }, _206.RETRY_DURATION); }, _209._version_data = null, _209; }()); _1zz.UIImageLoader = _207; }, 79787: function(_228, _229, _22a) { 'use strict'; var _22b = null; var _22c = this && this.__importDefault || function(_22d) { var _22e = null; return _22d && _22d.__esModule ? _22d : { 'default': _22d }; }; defineModule(_229); Object.defineProperty(_229, '__esModule', { 'value': !0 }), _229.UseitemLoader = void 0; var _22f = _22c(_22a(18622)), _22g = _22a(57616), _22h = (function() { var _22i = null; function _22j() { var _22k = null; null == _22j._queue && (_22j._queue = []), this._url_list = []; } return _22j.getPath = function(_22l, _22m) { var _22n = null, _22o = _22g.MathUtil.zeroPadding(_22l, 3); return 0 == _22m ? null : 1 == _22m ? _22f.default.settings.path_root + 'resources/useitem/card/' + _22o + '.png' : 2 == _22m ? _22f.default.settings.path_root + 'resources/useitem/card_/' + _22o + '.png' : ''; }, _22j.prototype.add = function(_22p, _22q) { var _22r = null; if (0 == _22q) return this; var _22s = _22j.getPath(_22p, _22q); return this._url_list.push(_22s), this; }, _22j.prototype.load = function(_22t) { var _22u = null; void 0 === _22t && (_22t = null), this._cb_onComplete = _22t, _22j._queue.indexOf(this) >= 0 || (_22j._queue.push(this), 1 == _22j._queue.length && this._load()); }, _22j.prototype._load = function() { var _22v = null, _22w = this; if (this._url_list = this._url_list.filter(function(_22x, _22y, _22z) { var _230 = null; return !PIXI.utils.TextureCache[_22x] && _22z.indexOf(_22x) === _22y; }), 0 != this._url_list.length) { for (var _231 = new PIXI.loaders.Loader(), _232 = 0, _233 = this._url_list; _232 < _233.length; _232++) { var _234 = _233[_232]; _231.add(_234); } _231.load(function() { var _235 = null; _22w._onLoadComplete(); }); } else this._onLoadComplete(); }, _22j.prototype._onLoadComplete = function() { var _236 = null; if (this._cb_onComplete(), this._cb_onComplete = null, _22j._queue.shift() != this) throw new Error('UseitemLoader Error'); _22j._queue.length > 0 && _22j._queue[0]._load(); }, _22j; }()); _229.UseitemLoader = _22h; }, 5933: (_237, _238, _239) => { 'use strict'; var _23a = null; defineModule(_238); Object.defineProperty(_238, '__esModule', { 'value': !0 }), _238.ModelManager = void 0; var _23b = _239(80354), _23c = _239(81823), _23d = _239(12383), _23e = _239(14654), _23f = _239(91042), _23g = _239(99410), _23h = _239(78791), _23i = _239(69585), _23j = _239(20590), _23k = _239(1769), _23l = _239(71498), _23m = _239(40910), _23n = _239(68211), _23o = _239(80589), _23p = _239(45191), _23q = _239(74535), _23r = _239(70423), _23s = _239(16990), _23t = _239(49741), _23u = _239(99678), _23v = _239(48978), _23w = _239(80880), _23x = (function() { var _23y = null; function _23z() { var _240 = null; this._const = new _23q.ServerConstModelEdit(), this._basic = new _23d.BasicModelEdit(), this._incentive = new _23k.IncentiveModelHolderEdit(), this._log = new _23m.LogModelHolder(), this._furniture = new _23j.FurnitureModelHolderEdit(), this._furniture_graph = new _23i.FurnitureGraphModelHolder(), this._deck = new _23f.DeckModelHolder(), this._shiptype = new _23t.ShipTypeModelHolderEdit(), this._ship = new _23s.ShipModelHolder(), this._ship_graph = new _23r.ShipGraphModelHolder(), this._ship_upgrade = new _23u.ShipUpgradeModelHolderEdit(), this._slot = new _23v.SlotitemModelHolderEdit(), this._useItem = new _23w.UseItemModelHolderEdit(), this._kdock = new _23l.KDockModelHolderEdit(), this._ndock = new _23o.NDockModelHolder(), this._map = new _23n.MapModelHolderEdit(), this._airunit = new _23b.AirUnitModelHolderEdit(), this._airbase = new _23c.AirBaseModelHolderEdit(), this._mst_bgm = new _23e.BGMMstModelHolderEdit(), this._expedition = new _23h.ExpeditionModelHolderEdit(), this._payitem = new _23p.PayItemModelHolderEdit(), this._equip = new _23g.EquipModelHolder(); } return Object.defineProperty(_23z.prototype, 'const', { 'get': function() { var _241 = null; return this._const; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23z.prototype, 'basic', { 'get': function() { var _242 = null; return this._basic; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23z.prototype, 'incentive', { 'get': function() { var _243 = null; return this._incentive; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23z.prototype, 'log', { 'get': function() { var _244 = null; return this._log; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23z.prototype, 'furniture_graph', { 'get': function() { var _245 = null; return this._furniture_graph; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23z.prototype, 'furniture', { 'get': function() { var _246 = null; return this._furniture; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23z.prototype, 'deck', { 'get': function() { var _247 = null; return this._deck; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23z.prototype, 'shipType', { 'get': function() { var _248 = null; return this._shiptype; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23z.prototype, 'ship', { 'get': function() { var _249 = null; return this._ship; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23z.prototype, 'ship_graph', { 'get': function() { var _24a = null; return this._ship_graph; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23z.prototype, 'ship_upgrade', { 'get': function() { var _24b = null; return this._ship_upgrade; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23z.prototype, 'slot', { 'get': function() { var _24c = null; return this._slot; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23z.prototype, 'equip', { 'get': function() { var _24d = null; return this._equip; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23z.prototype, 'useItem', { 'get': function() { var _24e = null; return this._useItem; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23z.prototype, 'ndock', { 'get': function() { var _24f = null; return this._ndock; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23z.prototype, 'kdock', { 'get': function() { var _24g = null; return this._kdock; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23z.prototype, 'map', { 'get': function() { var _24h = null; return this._map; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23z.prototype, 'airunit', { 'get': function() { var _24i = null; return this._airunit; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23z.prototype, 'airbase', { 'get': function() { var _24j = null; return this._airbase; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23z.prototype, 'mst_bgm', { 'get': function() { var _24k = null; return this._mst_bgm; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23z.prototype, 'expedition', { 'get': function() { var _24l = null; return this._expedition; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23z.prototype, 'payitem', { 'get': function() { var _24m = null; return this._payitem; }, 'enumerable': !1, 'configurable': !0 }), _23z; }()); _238.ModelManager = _23x; }, 69917: (_24n, _24o, _24p) => { 'use strict'; var _24q = null; defineModule(_24o); Object.defineProperty(_24o, '__esModule', { 'value': !0 }), _24o.ResourceManager = void 0; var _24r = _24p(92547), _24s = _24p(15478), _24t = _24p(20137), _24u = _24p(37760), _24v = _24p(13748), _24w = _24p(79787), _24x = _24p(97656), _24y = _24p(11997), _24z = _24p(59138), _250 = (function() { var _251 = null; function _252() { var _253 = null; this._gauge = new _24x.GaugeRManager(); } return Object.defineProperty(_252.prototype, 'gauge', { 'get': function() { var _254 = null; return this._gauge; }, 'enumerable': !1, 'configurable': !0 }), _252.prototype.getUIImage = function(_255, _256) { var _257 = null, _258; if (void 0 === _256) _258 = _255; else { var _259 = _255, _25a = _256; _258 = _24v.UIImageLoader.getPath(_259, _25a); } return PIXI.utils.TextureCache[_258] ? PIXI.utils.TextureCache[_258] : PIXI.Texture.EMPTY; }, _252.prototype.isLoadedShip = function(_25b, _25c, _25d) { var _25e = null, _25f = _24t.ShipLoader.getPath(_25b, _25c, _25d); return PIXI.utils.TextureCache[_25f]; }, _252.prototype.getShip = function(_25g, _25h, _25i) { var _25j = null, _25k, _25l = _24t.ShipLoader.getPath(_25g, _25h, _25i); return _25k = PIXI.utils.TextureCache[_25l] ? PIXI.utils.TextureCache[_25l] : PIXI.Texture.EMPTY, 'banner' == _25i && _25k == PIXI.Texture.EMPTY && (_25k = _24y.COMMON_MISC.getTexture(6)), _25k; }, _252.prototype.getSlotitem = function(_25m, _25n) { var _25o = null; 'item_up' == _25n && (1 == _24r.ITEMUP_REPLACE.hasOwnProperty(_25m.toString()) ? _25m = _24r.ITEMUP_REPLACE[_25m] : _25m > _24r.SlotConst.ENEMY_SLOT_BORDER && (_25m -= _24r.SlotConst.ENEMY_SLOT_BORDER)); var _25p = _24u.SlotLoader.getPath(_25m, _25n); return PIXI.utils.TextureCache[_25p] ? PIXI.utils.TextureCache[_25p] : PIXI.Texture.EMPTY; }, _252.prototype.getUseitem = function(_25q, _25r) { var _25s = null; if (0 == _25r) return _24z.COMMON_ITEMICONS.getTextureFromMstID(_25q); var _25t = _24w.UseitemLoader.getPath(_25q, _25r); return PIXI.utils.TextureCache[_25t] ? PIXI.utils.TextureCache[_25t] : PIXI.Texture.EMPTY; }, _252.prototype.getFurniture = function(_25u, _25v) { var _25w = null, _25x = _24s.FurnitureLoader.getPath(_25u, _25v); return PIXI.utils.TextureCache[_25x] ? PIXI.utils.TextureCache[_25x] : PIXI.Texture.EMPTY; }, _252; }()); _24o.ResourceManager = _250; }, 8128: function(_25y, _25z, _260) { 'use strict'; var _261 = null; var _262 = this && this.__importDefault || function(_263) { var _264 = null; return _263 && _263.__esModule ? _263 : { 'default': _263 }; }; defineModule(_25z); Object.defineProperty(_25z, '__esModule', { 'value': !0 }), _25z.SceneManager = void 0; var _265 = _262(_260(18622)), _266 = _260(47431), _267 = (function() { var _268 = null; function _269() { var _26a = null; this._now = 0; } return Object.defineProperty(_269.prototype, 'now', { 'get': function() { var _26b = null; return null == this._task ? this._now : this._task.after; }, 'enumerable': !1, 'configurable': !0 }), _269.prototype.isChangingNow = function() { var _26c = null; return null != this._task; }, _269.prototype.change = function(_26d, _26e) { var _26f = null, _26g = this; return void 0 === _26e && (_26e = null), 1 != this.isChangingNow() && (this._now != _26d && (this._task = new _266.TaskSceneChange(this._now, _26d, _26e), this._task.start(function() { var _26h = null; _26g._changeComplete(); }), !0)); }, _269.prototype._changeComplete = function() { var _26i = null; this._now = this._task.after, this._task = null, _265.default.view.getNowScene().emit('showed'); }, _269; }()); _25z.SceneManager = _267; }, 84159: function(_26j, _26k, _26l) { 'use strict'; var _26m = null; var _26n = this && this.__importDefault || function(_26o) { var _26p = null; return _26o && _26o.__esModule ? _26o : { 'default': _26o }; }; defineModule(_26k); Object.defineProperty(_26k, '__esModule', { 'value': !0 }), _26k.SoundManager = void 0; var _26q = _26n(_26l(18622)), _26r = _26l(57616), _26s = _26l(13744), _26t = _26l(32410), _26u = _26l(92547), _26v = _26l(870), _26w = (function() { var _26x = null; function _26y() { var _26z = null; this._bgm = new _270(), this._se = new _271(), this._voice = new _26t.VoiceManagerHolder(); } return Object.defineProperty(_26y.prototype, 'bgm', { 'get': function() { var _272 = null; return this._bgm; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_26y.prototype, 'se', { 'get': function() { var _273 = null; return this._se; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_26y.prototype, 'voice', { 'get': function() { var _274 = null; return this._voice; }, 'enumerable': !1, 'configurable': !0 }), _26y; }()); _26k.SoundManager = _26w; var _270 = (function() { var _275 = null; function _276() { var _277 = null; this._sub_id = '', this._bgm_id = 0, this._bgm = null; } return Object.defineProperty(_276.prototype, 'bgm_id', { 'get': function() { var _278 = null; return this._bgm_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_276.prototype, 'playing', { 'get': function() { var _279 = null; return null != this._bgm; }, 'enumerable': !1, 'configurable': !0 }), _276.prototype.playBattleBGM = function(_27a, _27b, _27c, _27d) { var _27e = null; void 0 === _27b && (_27b = !0), void 0 === _27c && (_27c = 0), void 0 === _27d && (_27d = null), this.play(_27a, _27b, _27c, 'battle', _27d); }, _276.prototype.play = function(_27f, _27g, _27h, _27i, _27j) { var _27k = null; if (void 0 === _27g && (_27g = !0), void 0 === _27h && (_27h = 0), void 0 === _27i && (_27i = 'port'), void 0 === _27j && (_27j = null), (null == this._bgm || this._sub_id != _27i || this._bgm_id != _27f) && _27i) { this.stop(), this._bgm_id = _27f, this._sub_id = _27i; var _27l = _26q.default.option.vol_bgm / 100; if (0 != _27l) { var _27m = _26r.MathUtil.zeroPadding(_27f, 3), _27n = _26s.SuffixUtil.create(_27f, 'bgm_'['concat'](_27i)), _27o = '' ['concat'](_27m, '_').concat(_27n), _27p = { 'src': [_26q.default.settings.path_root + 'resources/bgm/'['concat'](_27i, '/').concat(_27o, '.mp3')], 'html5': _26u.HTML5_AUDIO, 'onend': _27j, 'autoplay': !0 }; _27p.loop = _27g, _27h > 0 ? (_27p.volume = 0, this._bgm = new _26v.Howl(_27p), this._bgm.fade(0, _27l, _27h)) : (_27p.volume = _27l, this._bgm = new _26v.Howl(_27p)); } } }, _276.prototype.stop = function() { var _27q = null; null != this._bgm && (this._bgm.stop(), this._bgm.unload(), this._bgm = null); }, _276.prototype.fadeOut = function(_27r) { var _27s = null, _27t = this; if (null != this._bgm && 1 == this._bgm.playing()) { var _27u = this._bgm.volume(); this._bgm.fade(_27u, 0, _27r); var _27v = this._bgm; window.setTimeout(function() { var _27w = null; _27v.stop(), _27v.unload(), _27v == _27t._bgm && (_27t._bgm = null); }, _27r); } }, _276.prototype.changeVolume = function(_27x) { var _27y = null; if (null == this._bgm) return !1; this._bgm.volume(_27x / 100); }, _276; }()), _271 = (function() { var _27z = null; function _280() {} return _280.prototype.play = function(_281) { var _282 = null; if (0 != _26q.default.option.vol_se) { var _283, _284 = { 'src': [_281], 'autoplay': !0 }; _284.volume = _26q.default.option.vol_se / 100, _284.onend = function() { var _285 = null; _283 && (_283.unload(), _283 = null); }, _283 = new _26v.Howl(_284); } }, _280; }()); }, 16576: function(_286, _287, _288) { 'use strict'; var _289 = null; var _28a, _28b = this && this.__extends || (_28a = function(_28c, _28d) { var _28e = null; return _28a = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_28f, _28g) { var _28h = null; _28f.__proto__ = _28g; } || function(_28i, _28j) { var _28k = null; for (var _28l in _28j) Object.prototype.hasOwnProperty.call(_28j, _28l) && (_28i[_28l] = _28j[_28l]); }, _28a(_28c, _28d); }, function(_28m, _28n) { var _28o = null; if ('function' != typeof _28n && null !== _28n) throw new TypeError('Class extends value ' + String(_28n) + ' is not a constructor or null'); function _28p() { var _28q = null; this.constructor = _28m; } _28a(_28m, _28n), _28m.prototype = null === _28n ? Object.create(_28n) : (_28p.prototype = _28n.prototype, new _28p()); }), _28r = this && this.__createBinding || (Object.create ? function(_28s, _28t, _28u, _28v) { var _28w = null; void 0 === _28v && (_28v = _28u); var _28x = Object.getOwnPropertyDescriptor(_28t, _28u); _28x && !('get' in _28x ? !_28t.__esModule : _28x.writable || _28x.configurable) || (_28x = { 'enumerable': !0, 'get': function() { return _28t[_28u]; } }), Object.defineProperty(_28s, _28v, _28x); } : function(_28y, _28z, _290, _291) { void 0 === _291 && (_291 = _290), _28y[_291] = _28z[_290]; }), _292 = this && this.__setModuleDefault || (Object.create ? function(_293, _294) { var _295 = null; Object.defineProperty(_293, 'default', { 'enumerable': !0, 'value': _294 }); } : function(_296, _297) { var _298 = null; _296.default = _297; }), _299 = this && this.__importStar || function(_29a) { var _29b = null; if (_29a && _29a.__esModule) return _29a; var _29c = {}; if (null != _29a) { for (var _29d in _29a) 'default' !== _29d && Object.prototype.hasOwnProperty.call(_29a, _29d) && _28r(_29c, _29a, _29d); } return _292(_29c, _29a), _29c; }, _29e = this && this.__importDefault || function(_29f) { var _29g = null; return _29f && _29f.__esModule ? _29f : { 'default': _29f }; }; defineModule(_287); Object.defineProperty(_287, '__esModule', { 'value': !0 }), _287.VoiceManager = void 0; var _29h = _29e(_288(18622)), _29i = _299(_288(19140)), _29j = _288(57616), _29k = _288(55853), _29l = _288(26112), _29m = _288(870), _29n = (function() { var _29o = null; function _29p() { var _29q = null, _29r = this; this._num_of_simultaneous_playback = 1, this._onVoiceEnd = function(_29s) { var _29t = null, _29u = _29r._voices.indexOf(_29s); if (-1 != _29u) { var _29v = _29r._voices.splice(_29u, 1)[0], _29w = _29v.cb_onEnd; _29v.dispose(), null != _29w && _29w(); } }, this._voices = []; } return Object.defineProperty(_29p.prototype, 'num_of_simultaneous_playback', { 'get': function() { var _29x = null; return this._num_of_simultaneous_playback; }, 'set': function(_29y) { var _29z = null; this._num_of_simultaneous_playback = _29y; }, 'enumerable': !1, 'configurable': !0 }), _29p.prototype.preload = function(_2a0, _2a1) { var _2a2 = null; if (0 != _29h.default.option.vol_voice) { var _2a3 = _2a4(_2a0, _2a1.toString()); if (null != _2a3) { var _2a5 = { 'src': [_2a3], 'autoplay': !1, 'volume': 0 }, _2a6 = new _29m.Howl(_2a5); _2a6.once('load', function() { var _2a7 = null; _2a6.unload(); }); } } }, _29p.prototype.play = function(_2a8, _2a9, _2aa) { var _2ab = null; if (void 0 === _2aa && (_2aa = null), null == _2a4(_2a8, _2a9.toString())) return null; if (this._voices.length >= this._num_of_simultaneous_playback) { var _2ac = this._voices.shift(); _2ac.dispose(), _2ac = null; } var _2ad = new _2ae(this._onVoiceEnd, _2aa); return this._voices.push(_2ad), _2ad.play(_2a8, _2a9), _2ad; }, _29p.prototype.playAtRandom = function(_2af, _2ag, _2ah, _2ai) { var _2aj = null; void 0 === _2ai && (_2ai = null); for (var _2ak = 0, _2al = 0; _2al < _2ah.length; _2al++) _2ak += _2ah[_2al]; var _2am = 0, _2an = Math.random() * _2ak; for (_2al = 0; _2al < _2ah.length; _2al++) if (_2an <= (_2am += _2ah[_2al])) return this.play(_2af, _2ag[_2al], _2ai); }, _29p.prototype.stop = function(_2ao) { var _2ap = null, _2aq = _2ao, _2ar = this._voices.indexOf(_2aq); return -1 != _2ar && (this._voices.splice(_2ar, 1), _2aq.dispose(), !0); }, _29p.prototype.stopAll = function() { var _2as = null; for (var _2at = 0, _2au = this._voices; _2at < _2au.length; _2at++) { _2au[_2at].dispose(); } this._voices = []; }, _29p; }()); _287.VoiceManager = _29n; var _2ae = function(_2av) { var _2aw = null; function _2ax(_2ay, _2az) { var _2b0 = null; void 0 === _2az && (_2az = null); var _2b1 = _2av.call(this) || this; return _2b1._onLoad = function() { var _2b2 = null; null != _2b1._howl && _2b1._howl.play(); }, _2b1._onLoadError = function(_2b3, _2b4) { var _2b5 = null; _2b1._cb_onEndToManager && _2b1._cb_onEndToManager(_2b1); }, _2b1._onEnd = function(_2b6) { var _2b7 = null; _2b1._cb_onEndToManager && _2b1._cb_onEndToManager(_2b1); }, _2b1._cb_onEndToManager = _2ay, _2b1._cb_onEnd = _2az, _2b1; } return _28b(_2ax, _2av), Object.defineProperty(_2ax.prototype, 'cb_onEnd', { 'get': function() { var _2b8 = null; return this._cb_onEnd; }, 'enumerable': !1, 'configurable': !0 }), _2ax.prototype.play = function(_2b9, _2ba) { var _2bb = null; if (this._mst_id = _2b9, this._voice_id = _2ba.toString(), 0 != _29h.default.option.vol_voice) { this._url = _2a4(this._mst_id, this._voice_id); var _2bc = { 'src': [this._url], 'autoplay': !1 }; _2bc.volume = _29h.default.option.vol_voice / 100, _2bc.onload = this._onLoad, _2bc.onloaderror = this._onLoadError, _2bc.onend = this._onEnd, this._howl = new _29m.Howl(_2bc); } else this._cb_onEndToManager(this); }, _2ax.prototype.dispose = function() { var _2bd = null; null != this._howl && (this._howl.stop(), this._howl.unload()), this._howl = null, this._cb_onEndToManager = null, this._cb_onEnd = null; }, _2ax; }(_29l.VoiceModel); function _2a4(_2be, _2bf) { var _2bg = null, _2bh = function(_2bi, _2bj) { var _2bk = null, _2bl = parseInt(_2bi, 10); if (1 == isNaN(_2bl)) { if ('tutorial' != _2bi) { var _2bm = parseInt(_2bj, 10); _2bj = _29j.MathUtil.zeroPadding(_2bm, 3); } return _29h.default.settings.path_root + 'resources/voice/'['concat'](_2bi, '/').concat(_2bj, '.mp3'); } var _2bn = _29h.default.settings.voice_root; null == _2bn && (_2bn = _29h.default.settings.path_root + 'resources/voice'); var _2bo = _2bi, _2bp = _2bj; if (9997 != _2bl && 9998 != _2bl && 9999 != _2bl) { var _2bq = _29h.default.model.ship_graph.get(_2bi); if (null == _2bq) return; _2bo = _2bq.unique_key; var _2br = _29i; _2bp = (_2bm = parseInt(_2bj)) <= 53 ? (17 * (_2bl + 7) * _2br.voice[_2bm - 1] % 99173 + 100000).toString() : _2bj; } return '' ['concat'](_2bn, '/kc').concat(_2bo, '/').concat(_2bp, '.mp3'); }(_2be, _2bf); if (null == _2bh) return null; var _2bs = function(_2bt, _2bu) { var _2bv = null, _2bw = parseInt(_2bt, 10); if (1 == isNaN(_2bw)) return '1'; var _2bx = parseInt(_2bu, 10); return _29k.VersionUtil.get(3, _2bw, _2bx); }(_2be, _2bf); return null == _2bs || '' == _2bs || '1' == _2bs ? _2bh : '' ['concat'](_2bh, '?version=').concat(_2bs); } }, 32410: (_2by, _2bz, _2c0) => { 'use strict'; var _2c1 = null; defineModule(_2bz); Object.defineProperty(_2bz, '__esModule', { 'value': !0 }), _2bz.VoiceManagerHolder = void 0; var _2c2 = _2c0(16576), _2c3 = (function() { var _2c4 = null; function _2c5() { var _2c6 = null; this._manager = new _2c2.VoiceManager(), this._additional_managers = {}; } return _2c5.prototype.getNumOfMultiPlay = function() { var _2c7 = null; return this._manager.num_of_simultaneous_playback; }, _2c5.prototype.setNumOfMultiPlay = function(_2c8) { var _2c9 = null; this._manager.num_of_simultaneous_playback = _2c8; }, _2c5.prototype.preload = function(_2ca, _2cb) { var _2cc = null; this._manager.preload(_2ca, _2cb); }, _2c5.prototype.play = function(_2cd, _2ce, _2cf, _2cg) { var _2ch = null; void 0 === _2cf && (_2cf = null), void 0 === _2cg && (_2cg = null); var _2ci = this._getManager(_2cg); return null == _2ci && (_2ci = new _2c2.VoiceManager(), this._additional_managers[_2cg] = _2ci), _2ci.play(_2cd, _2ce, _2cf); }, _2c5.prototype.playAtRandom = function(_2cj, _2ck, _2cl, _2cm, _2cn) { var _2co = null; void 0 === _2cm && (_2cm = null), void 0 === _2cn && (_2cn = null); var _2cp = this._getManager(_2cn); return null == _2cp && (_2cp = new _2c2.VoiceManager(), this._additional_managers[_2cn] = _2cp), _2cp.playAtRandom(_2cj, _2ck, _2cl, _2cm); }, _2c5.prototype.stop = function(_2cq) { var _2cr = null; if (1 == this._manager.stop(_2cq)) return !0; for (var _2cs in this._additional_managers) { if (1 == this._additional_managers[_2cs].stop(_2cq)) return !0; } return !1; }, _2c5.prototype.stopAll = function(_2ct) { var _2cu = null; void 0 === _2ct && (_2ct = null); var _2cv = this._getManager(_2ct); null != _2cv && _2cv.stopAll(); }, _2c5.prototype._getManager = function(_2cw) { var _2cx = null; return null == _2cw ? this._manager : 1 == this._additional_managers.hasOwnProperty(_2cw) ? this._additional_managers[_2cw] : null; }, _2c5; }()); _2bz.VoiceManagerHolder = _2c3; }, 97656: (_2cy, _2cz, _2d0) => { 'use strict'; var _2d1 = null; defineModule(_2cz); Object.defineProperty(_2cz, '__esModule', { 'value': !0 }), _2cz.GaugeRManager = void 0; var _2d2 = _2d0(51479), _2d3 = _2d0(51479), _2d4 = (function() { var _2d5 = null; function _2d6() { var _2d7 = null, _2d8 = this; this._onLoadCompleteInfo = function(_2d9, _2da) { var _2db = null; _2d8._info_dic[_2d9] = _2da; }, this._onLoadCompleteResources = function(_2dc) { var _2dd = null; for (var _2de in _2dc) 0 == _2d8._dic.hasOwnProperty(_2de) && (_2d8._dic[_2de] = _2dc[_2de]); }, this._info_dic = {}, this._dic = {}; } return _2d6.prototype.createLoaderHorizontal = function() { var _2df = null; return new _2d2.HorizontalGaugeLoader(this._onLoadCompleteInfo, this._onLoadCompleteResources); }, _2d6.prototype.createLoaderVertical = function() { var _2dg = null; return new _2d3.VerticalGaugeLoader(this._onLoadCompleteInfo, this._onLoadCompleteResources); }, _2d6.prototype.getGaugeInfo = function(_2dh) { var _2di = null; return 1 == this._info_dic.hasOwnProperty(_2dh) ? this._info_dic[_2dh] : null; }, _2d6.prototype.getTexture = function(_2dj) { var _2dk = null; if (1 == this._dic.hasOwnProperty(_2dj)) { var _2dl = this._dic[_2dj]; if (null != _2dl && null != _2dl.texture && null != _2dl.texture) return _2dl.texture; } return PIXI.Texture.EMPTY; }, _2d6; }()); _2cz.GaugeRManager = _2d4; }, 75902: function(_2dm, _2dn, _2do) { 'use strict'; var _2dp = null; var _2dq, _2dr = this && this.__extends || (_2dq = function(_2ds, _2dt) { var _2du = null; return _2dq = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_2dv, _2dw) { var _2dx = null; _2dv.__proto__ = _2dw; } || function(_2dy, _2dz) { var _2e0 = null; for (var _2e1 in _2dz) Object.prototype.hasOwnProperty.call(_2dz, _2e1) && (_2dy[_2e1] = _2dz[_2e1]); }, _2dq(_2ds, _2dt); }, function(_2e2, _2e3) { var _2e4 = null; if ('function' != typeof _2e3 && null !== _2e3) throw new TypeError('Class extends value ' + String(_2e3) + ' is not a constructor or null'); function _2e5() { var _2e6 = null; this.constructor = _2e2; } _2dq(_2e2, _2e3), _2e2.prototype = null === _2e3 ? Object.create(_2e3) : (_2e5.prototype = _2e3.prototype, new _2e5()); }); defineModule(_2dn); Object.defineProperty(_2dn, '__esModule', { 'value': !0 }), _2dn.TaskBonusBase = void 0; var _2e7 = function(_2e8) { var _2e9 = null; function _2ea() { var _2eb = null, _2ec = null !== _2e8 && _2e8.apply(this, arguments) || this; return _2ec._insert_fadein_skip_force = !1, _2ec; } return _2dr(_2ea, _2e8), Object.defineProperty(_2ea.prototype, 'skipInsertAnimForce', { 'set': function(_2ed) { var _2ee = null; this._insert_fadein_skip_force = _2ed; }, 'enumerable': !1, 'configurable': !0 }), _2ea; }(_2do(81755).TaskBase); _2dn.TaskBonusBase = _2e7; }, 68853: function(_2ef, _2eg, _2eh) { 'use strict'; var _2ei = null; var _2ej, _2ek = this && this.__extends || (_2ej = function(_2el, _2em) { var _2en = null; return _2ej = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_2eo, _2ep) { var _2eq = null; _2eo.__proto__ = _2ep; } || function(_2er, _2es) { var _2et = null; for (var _2eu in _2es) Object.prototype.hasOwnProperty.call(_2es, _2eu) && (_2er[_2eu] = _2es[_2eu]); }, _2ej(_2el, _2em); }, function(_2ev, _2ew) { var _2ex = null; if ('function' != typeof _2ew && null !== _2ew) throw new TypeError('Class extends value ' + String(_2ew) + ' is not a constructor or null'); function _2ey() { var _2ez = null; this.constructor = _2ev; } _2ej(_2ev, _2ew), _2ev.prototype = null === _2ew ? Object.create(_2ew) : (_2ey.prototype = _2ew.prototype, new _2ey()); }), _2f0 = this && this.__importDefault || function(_2f1) { var _2f2 = null; return _2f1 && _2f1.__esModule ? _2f1 : { 'default': _2f1 }; }; defineModule(_2eg); Object.defineProperty(_2eg, '__esModule', { 'value': !0 }), _2eg.TaskBonusFish = void 0; var _2f3 = _2f0(_2eh(21359)), _2f4 = _2f0(_2eh(18622)), _2f5 = _2eh(40085), _2f6 = _2eh(79899), _2f7 = _2eh(7344), _2f8 = _2eh(79787), _2f9 = _2eh(75293), _2fa = _2eh(28510), _2fb = _2eh(75902), _2fc = _2eh(35380), _2fd = function(_2fe) { var _2ff = null; function _2fg(_2fh, _2fi, _2fj, _2fk) { var _2fl = null, _2fm = _2fe.call(this) || this; return _2fm._waveAnim = function() { var _2fn = null; _2fm._insert.waves.map(function(_2fo) { var _2fp = null; return _2fo.scale.set(0.5); }), _2fm._insert.waves[0].position.set(1340, 990), _2fm._insert.waves[1].position.set(-200, 990); var _2fq = _2fm._insert.waves[0], _2fr = new createjs.Timeline([], { 'start': 0 }, { 'paused': !0 }), _2fs = _2fm._insert.waves[1], _2ft = new createjs.Timeline([], { 'start': 0 }, { 'paused': !0 }); _2fr.addTween(createjs.Tween.get(_2fq).to({ 'x': 868, 'y': 411 }, 800, createjs.Ease.getElasticOut(2, 5)), createjs.Tween.get(_2fq).to({ 'alpha': 1 }, 100).wait(700).to({ 'alpha': 0 }, 200), createjs.Tween.get(_2fq).to({ 'scaleX': 1.2, 'scaleY': 1.2 }, 400).wait(400).to({ 'scaleX': 0.7, 'scaleY': 0.7 }, 200)), _2ft.addTween(createjs.Tween.get(_2fs).to({ 'x': 321, 'y': 467 }, 800, createjs.Ease.getElasticOut(2, 5)), createjs.Tween.get(_2fs).to({ 'alpha': 1 }, 100).wait(700).to({ 'alpha': 0 }, 200), createjs.Tween.get(_2fs).to({ 'scaleX': 1, 'scaleY': 1 }, 400).wait(400).to({ 'scaleX': 0.7, 'scaleY': 0.7 }, 200)), createjs.Tween.get(null).call(function() { var _2fu = null; _2fr.gotoAndPlay('start'); }).wait(300).call(function() { var _2fv = null; _2ft.gotoAndPlay('start'); }); }, _2fm._fishAnim = function() { var _2fw = null; _2fm._insert.fish[0].position.set(1365, 420), _2fm._insert.fish[1].scale.set(-1, 1), _2fm._insert.fish[1].position.set(344, 500), _2fm._insert.fish[2].position.set(_2f3.default.width / 2 - 228, _2f3.default.height / 2 + 521); var _2fx = _2fm._insert.fish[0], _2fy = new createjs.Timeline([], { 'start': 0 }, { 'paused': !0 }); _2fy.addTween(createjs.Tween.get(_2fx).to({ 'x': 500, 'y': -220 }, 700), createjs.Tween.get(_2fx).to({ 'alpha': 1 }, 100).wait(600).to({ 'alpha': 0 }, 100)); var _2fz = _2fm._insert.fish[1], _2g0 = new createjs.Timeline([], { 'start': 0 }, { 'paused': !0 }); _2g0.addTween(createjs.Tween.get(_2fz).to({ 'x': -10, 'y': -220 }, 500), createjs.Tween.get(_2fz).to({ 'alpha': 1 }, 100).wait(500).to({ 'alpha': 0 }, 100)); var _2g1 = _2fm._insert.fish[2], _2g2 = new createjs.Timeline([], { 'start': 0 }, { 'paused': !0 }), _2g3 = 68 == _2fm._mst_id ? new PIXI.Point(626, 258) : new PIXI.Point(611, 246), _2g4 = 68 == _2fm._mst_id ? 0.8 : 0.75, _2g5 = 68 == _2fm._mst_id ? 0 : -28.8, _2g6 = createjs.Tween.get(_2g1, { 'paused': !0, 'loop': !0 }).to({ 'rotation': (_2g5 + 20) * Math.PI / 180 }, 100).to({ 'rotation': (_2g5 - 20) * Math.PI / 180 }, 100); _2g2.addTween(createjs.Tween.get(_2g1).to({ 'alpha': 1 }, 0).call(function() { var _2g7 = null, _2g8 = new PIXI.Point(_2g1.x, _2g1.y), _2g9 = new PIXI.Point(_2g3.x, _2f3.default.height / 2 - 300), _2ga = new PIXI.Point(_2g8.x + 200, _2g8.y), _2gb = new PIXI.Point(_2g9.x + 100, _2g9.y + 150), _2gc = _2f5.TweenUtil.create3BezierTween(_2g1, _2g8, _2ga, _2gb, _2g9, 700); _2gc.to({ 'y': _2g3.y }, 400), _2gc.wait(300), _2gc.call(function() { var _2gd = null; _2fm._fadeOutInsert(), _2g6.setPaused(!0), createjs.Tween.get(_2g1).to({ 'rotation': _2g5 * Math.PI / 180 }, 100); }); }), createjs.Tween.get(_2g1).wait(500).to({ 'rotation': _2g5 * Math.PI / 180 }, 200).play(_2g6), createjs.Tween.get(_2g1).wait(1300).to({ 'scaleX': _2g4, 'scaleY': _2g4 }, 200)), createjs.Tween.get(null).call(function() { var _2ge = null; _2fy.gotoAndPlay('start'); }).wait(300).call(function() { var _2gf = null; _2g0.gotoAndPlay('start'); }).wait(300).call(function() { var _2gg = null; _2g2.gotoAndPlay('start'); }); }, _2fm._fadeOutInsert = function() { var _2gh = null, _2gi = _2fm._mst_id, _2gj = _2fm._count, _2gk = _2f4.default.model.useItem.get(_2gi), _2gl = null == _2gk ? '' : _2gk.name; _2fm._bonus.alpha = 1, _2fm._bonus.initialize(_2gi, _2gj, _2gl), createjs.Tween.get(_2fm._insert).to({ 'alpha': 0 }, 100).call(function() { var _2gm = null; _2fm._layer.removeChild(_2fm._insert), _2fm._insert.dispose(), _2fm._insert = null, _2fm._showBonus(); }); }, _2fm._showMessageBox = function() { var _2gn = null; createjs.Tween.get(_2fm._bonus.message_box).to({ 'y': 480 }, 300).call(_2fm._waitClick); }, _2fm._waitClick = function() { var _2go = null; _2fm._bonus.message_box.activate(); var _2gp = new _2f7.GearBtnHome(); _2gp.position.set(1140, 660), _2gp.initialize(), _2gp.activate(), _2fm._bonus.addChild(_2gp); var _2gq = new _2f6.AreaBox(0); _2gq.interactive = !0, _2gq.buttonMode = !0, _2fm._bonus.addChild(_2gq), _2gq.once(_2fc.EventType.CLICK, function() { var _2gr = null; _2fm._bonus.removeChild(_2gq), _2fm._finalize(_2gp); }); }, _2fm._layer = _2fh, _2fm._mst_id = _2fi, _2fm._count = _2fj, _2fm._play_bgm = _2fk, _2fm; } return _2ek(_2fg, _2fe), _2fg.prototype._start = function() { var _2gs = null; this._bonus = new _2fa.BonusUseItem(), this._bonus.alpha = 0, this._layer.addChild(this._bonus), this._insert = new _2f9.BonusInsertWave(this._mst_id), this._loadBG(); }, _2fg.prototype._loadBG = function() { var _2gt = null, _2gu = this; this._bonus.bg.initiailzeForUseitem(function() { var _2gv = null; _2gu._loadImage(); }); }, _2fg.prototype._loadImage = function() { var _2gw = null, _2gx = this, _2gy = new _2f8.UseitemLoader(); _2gy.add(this._mst_id, 1), _2gy.load(function() { var _2gz = null; _2gx._whiteIn(); }); }, _2fg.prototype._whiteIn = function() { var _2h0 = null, _2h1 = this; this._insert.initialize(), this._insert.flash.position.set(_2f3.default.width / 2, _2f3.default.height / 2), this._layer.addChild(this._insert), createjs.Tween.get(this._insert.flash).to({ 'alpha': 1 }, 100), createjs.Tween.get(this._insert.flash.scale).to({ 'x': 3.5, 'y': 3.5 }, 800).wait(300).call(function() { var _2h2 = null; _2h1._play_bgm && _2f4.default.sound.bgm.play(132, !0, 1000), _2h1._waveAnim(), _2h1._fishAnim(); }), createjs.Tween.get(this._insert.white).wait(800).set({ 'visible': !0 }).to({ 'alpha': 1 }, 300); }, _2fg.prototype._showBonus = function() { var _2h3 = null; this._bonus.particle.activate(), createjs.Tween.get(this._bonus.white).to({ 'alpha': 0 }, 500).call(this._showMessageBox); }, _2fg.prototype._finalize = function(_2h4) { var _2h5 = null, _2h6 = this; this._play_bgm && _2f4.default.sound.bgm.fadeOut(1200), createjs.Tween.get(_2h4).to({ 'alpha': 0 }, 300).call(function() { var _2h7 = null; _2h4.deactivate(), _2h6._bonus.removeChild(_2h4), _2h6._endTask(); }); }, _2fg.prototype.dispose = function() { var _2h8 = null; this._bonus.dispose(), this._layer.removeChild(this._bonus), this._layer = null, this._bonus = null; }, _2fg; }(_2fb.TaskBonusBase); _2eg.TaskBonusFish = _2fd; }, 5975: function(_2h9, _2ha, _2hb) { 'use strict'; var _2hc = null; var _2hd, _2he = this && this.__extends || (_2hd = function(_2hf, _2hg) { var _2hh = null; return _2hd = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_2hi, _2hj) { var _2hk = null; _2hi.__proto__ = _2hj; } || function(_2hl, _2hm) { var _2hn = null; for (var _2ho in _2hm) Object.prototype.hasOwnProperty.call(_2hm, _2ho) && (_2hl[_2ho] = _2hm[_2ho]); }, _2hd(_2hf, _2hg); }, function(_2hp, _2hq) { var _2hr = null; if ('function' != typeof _2hq && null !== _2hq) throw new TypeError('Class extends value ' + String(_2hq) + ' is not a constructor or null'); function _2hs() { var _2ht = null; this.constructor = _2hp; } _2hd(_2hp, _2hq), _2hp.prototype = null === _2hq ? Object.create(_2hq) : (_2hs.prototype = _2hq.prototype, new _2hs()); }), _2hu = this && this.__importDefault || function(_2hv) { var _2hw = null; return _2hv && _2hv.__esModule ? _2hv : { 'default': _2hv }; }; defineModule(_2ha); Object.defineProperty(_2ha, '__esModule', { 'value': !0 }), _2ha.TaskBonusFurniture = void 0; var _2hx = _2hu(_2hb(21359)), _2hy = _2hu(_2hb(18622)), _2hz = _2hb(40085), _2i0 = _2hb(79899), _2i1 = _2hb(7344), _2i2 = _2hb(65082), _2i3 = _2hb(75902), _2i4 = _2hb(35380), _2i5 = _2hb(5529), _2i6 = _2hb(15478), _2i7 = function(_2i8) { var _2i9 = null; function _2ia(_2ib, _2ic, _2id, _2ie) { var _2if = null; void 0 === _2ie && (_2ie = null); var _2ig = _2i8.call(this) || this; return _2ig._moveCard = function() { var _2ih = null; null != _2ig._pre_task && (_2ig._pre_task.dispose(), _2ig._pre_task = null), _2ig._play_bgm && _2hy.default.sound.bgm.play(132, !0, 1000); var _2ii = new PIXI.Point(_2ig._insert.card.x, _2ig._insert.card.y), _2ij = new PIXI.Point(_2hx.default.width / 2, _2hx.default.height / 2), _2ik = new PIXI.Point(_2ii.x + 300, _2ii.y), _2il = new PIXI.Point(_2ij.x + 150, _2ij.y + 150); _2hz.TweenUtil.create3BezierTween(_2ig._insert.card, _2ii, _2ik, _2il, _2ij, 700), createjs.Tween.get(_2ig._insert.card).to({ 'scaleX': 0.86, 'scaleY': 0.86, 'rotation': 4 * Math.PI }, 700).to({ 'scaleX': 1, 'scaleY': 1 }, 133).wait(700).call(function() { var _2im = null; _2ig._insert.particle.activate(); }).wait(1000).call(_2ig._flash); }, _2ig._flash = function() { var _2in = null, _2io = _2ig._mst_id, _2ip = _2hy.default.model.furniture.getData(_2io), _2iq = null == _2ip ? '' : _2ip.name; _2ig._bonus.alpha = 1, _2ig._bonus.initialize(_2io, _2iq), createjs.Tween.get(_2ig._insert.card).to({ 'alpha': 0 }, 800), createjs.Tween.get(_2ig._insert.bg_dark).to({ 'alpha': 0 }, 800), createjs.Tween.get(_2ig._insert.flash).to({ 'scaleX': 3.5, 'scaleY': 3.5 }, 800), createjs.Tween.get(_2ig._insert).wait(800).to({ 'alpha': 0 }, 200).call(function() { var _2ir = null; _2ig._layer.removeChild(_2ig._insert), _2ig._insert.dispose(), _2ig._insert = null, _2ig._showBonus(); }); }, _2ig._showMessageBox = function() { var _2is = null; createjs.Tween.get(_2ig._bonus.message_box).to({ 'y': 480 }, 300).call(_2ig._waitClick); }, _2ig._waitClick = function() { var _2it = null; _2ig._bonus.message_box.activate(); var _2iu = new _2i1.GearBtnHome(); _2iu.position.set(1140, 660), _2iu.initialize(), _2iu.activate(), _2ig._bonus.addChild(_2iu); var _2iv = new _2i0.AreaBox(0); _2iv.interactive = !0, _2iv.buttonMode = !0, _2ig._bonus.addChild(_2iv), _2iv.once(_2i4.EventType.CLICK, function() { var _2iw = null; _2ig._bonus.removeChild(_2iv), _2ig._finalize(_2iu); }); }, _2ig._layer = _2ib, _2ig._mst_id = _2ic, _2ig._pre_task = _2ie, _2ig._play_bgm = _2id, _2ig; } return _2he(_2ia, _2i8), _2ia.prototype._start = function() { var _2ix = null; this._bonus = new _2i5.BonusFurniture(), this._bonus.alpha = 0, this._layer.addChild(this._bonus), this._insert = new _2i2.BonusInsert(), this._loadBG(); }, _2ia.prototype._loadBG = function() { var _2iy = null, _2iz = this; this._bonus.bg.initiailzeForFurniture(function() { var _2j0 = null; _2iz._loadImage(); }); }, _2ia.prototype._loadImage = function() { var _2j1 = null, _2j2 = this, _2j3 = new _2i6.FurnitureLoader(); _2j3.add(this._mst_id, 'card'), _2j3.load(function() { var _2j4 = null; _2j2._insert.preload(function() { var _2j5 = null; _2j2._showInsert(); }); }); }, _2ia.prototype._showInsert = function() { var _2j6 = null; this._insert.initialize(1), this._insert.alpha = 0, this._insert.card.scale.set(0.38), this._insert.card.position.set(_2hx.default.width / 2 - 228, _2hx.default.height / 2 + 521), this._insert.flash.position.set(_2hx.default.width / 2, _2hx.default.height / 2), this._layer.addChild(this._insert); var _2j7 = this._insert_fadein_skip_force ? 0 : 500; createjs.Tween.get(this._insert).to({ 'alpha': 1 }, _2j7).call(this._moveCard); }, _2ia.prototype._showBonus = function() { var _2j8 = null; this._bonus.particle.activate(), createjs.Tween.get(this._bonus.white).to({ 'alpha': 0 }, 500).call(this._showMessageBox); }, _2ia.prototype._finalize = function(_2j9) { var _2ja = null, _2jb = this; this._play_bgm && _2hy.default.sound.bgm.fadeOut(1200), createjs.Tween.get(_2j9).to({ 'alpha': 0 }, 300).call(function() { var _2jc = null; _2j9.deactivate(), _2jb._bonus.removeChild(_2j9), _2jb._endTask(); }); }, _2ia.prototype.dispose = function() { var _2jd = null; this._bonus.dispose(), this._layer.removeChild(this._bonus), this._layer = null, this._bonus = null; }, _2ia; }(_2i3.TaskBonusBase); _2ha.TaskBonusFurniture = _2i7; }, 61953: function(_2je, _2jf, _2jg) { 'use strict'; var _2jh = null; var _2ji, _2jj = this && this.__extends || (_2ji = function(_2jk, _2jl) { var _2jm = null; return _2ji = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_2jn, _2jo) { var _2jp = null; _2jn.__proto__ = _2jo; } || function(_2jq, _2jr) { var _2js = null; for (var _2jt in _2jr) Object.prototype.hasOwnProperty.call(_2jr, _2jt) && (_2jq[_2jt] = _2jr[_2jt]); }, _2ji(_2jk, _2jl); }, function(_2ju, _2jv) { var _2jw = null; if ('function' != typeof _2jv && null !== _2jv) throw new TypeError('Class extends value ' + String(_2jv) + ' is not a constructor or null'); function _2jx() { var _2jy = null; this.constructor = _2ju; } _2ji(_2ju, _2jv), _2ju.prototype = null === _2jv ? Object.create(_2jv) : (_2jx.prototype = _2jv.prototype, new _2jx()); }), _2jz = this && this.__importDefault || function(_2k0) { var _2k1 = null; return _2k0 && _2k0.__esModule ? _2k0 : { 'default': _2k0 }; }; defineModule(_2jf); Object.defineProperty(_2jf, '__esModule', { 'value': !0 }), _2jf.TaskBonusShip = void 0; var _2k2 = _2jz(_2jg(21359)), _2k3 = _2jz(_2jg(18622)), _2k4 = _2jg(35380), _2k5 = _2jg(40085), _2k6 = _2jg(79899), _2k7 = _2jg(7344), _2k8 = _2jg(20137), _2k9 = _2jg(65082), _2ka = _2jg(3087), _2kb = function(_2kc) { var _2kd = null; function _2ke(_2kf, _2kg, _2kh, _2ki) { var _2kj = null; void 0 === _2ki && (_2ki = null); var _2kk = _2kc.call(this) || this; return _2kk._moveCard = function() { var _2kl = null; null != _2kk._pre_task && (_2kk._pre_task.dispose(), _2kk._pre_task = null), _2kk._play_bgm && _2k3.default.sound.bgm.play(132, !0, 1000); var _2km = new PIXI.Point(_2kk._insert.card.x, _2kk._insert.card.y), _2kn = new PIXI.Point(_2k2.default.width / 2, _2k2.default.height / 2), _2ko = new PIXI.Point(_2km.x + 300, _2km.y), _2kp = new PIXI.Point(_2kn.x + 150, _2kn.y + 150); _2k5.TweenUtil.create3BezierTween(_2kk._insert.card, _2km, _2ko, _2kp, _2kn, 700), createjs.Tween.get(_2kk._insert.card).to({ 'scaleX': 0.86, 'scaleY': 0.86, 'rotation': 4 * Math.PI }, 700).to({ 'scaleX': 1, 'scaleY': 1 }, 133).wait(700).call(function() { var _2kq = null; _2kk._insert.particle.activate(); }).wait(1000).call(_2kk._flash); }, _2kk._flash = function() { var _2kr = null, _2ks = _2k3.default.model.ship.getMst(_2kk._mst_id), _2kt = _2k3.default.model.ship_graph.get(_2kk._mst_id).getCenterOffset(!1); _2kk._bonus.alpha = 1, _2kk._bonus.initialize(_2ks.mstID, _2ks.name, _2ks.shipTypeName, _2ks.message_text, _2kt), createjs.Tween.get(_2kk._insert.card).to({ 'alpha': 0 }, 800), createjs.Tween.get(_2kk._insert.flash).to({ 'scaleX': 3.5, 'scaleY': 3.5 }, 800), createjs.Tween.get(_2kk._bonus).to({ 'alpha': 1 }, 400), createjs.Tween.get(_2kk._insert).wait(800).to({ 'alpha': 0 }, 200).call(function() { var _2ku = null; _2kk._layer.removeChild(_2kk._insert), _2kk._insert.dispose(), _2kk._insert = null, _2kk._showBonus(); }); }, _2kk._showMessageBox = function() { var _2kv = null; createjs.Tween.get(_2kk._bonus.message_box).to({ 'y': 480 }, 300).call(_2kk._waitClick); }, _2kk._waitClick = function() { var _2kw = null; _2kk._bonus.message_box.activate(); var _2kx = new _2k7.GearBtnHome(); _2kx.position.set(1140, 660), _2kx.initialize(), _2kx.activate(), _2kk._bonus.addChild(_2kx); var _2ky = new _2k6.AreaBox(0); _2ky.interactive = !0, _2ky.buttonMode = !0, _2kk._bonus.addChild(_2ky), _2kk._voice = _2k3.default.sound.voice.play(_2kk._mst_id.toString(), 1), _2ky.once(_2k4.EventType.CLICK, function() { var _2kz = null; _2k3.default.sound.voice.stop(_2kk._voice), _2kk._voice = null, _2kk._bonus.removeChild(_2ky), _2kk._finalize(_2kx); }); }, _2kk._layer = _2kf, _2kk._mst_id = _2kg, _2kk._pre_task = _2ki, _2kk._play_bgm = _2kh, _2kk; } return _2jj(_2ke, _2kc), _2ke.prototype._start = function() { var _2l0 = null; this._bonus = new _2ka.BonusShip(), this._bonus.alpha = 0, this._layer.addChild(this._bonus), this._insert = new _2k9.BonusInsert(), this._loadBG(); }, _2ke.prototype._loadBG = function() { var _2l1 = null, _2l2 = this, _2l3 = _2k3.default.model.ship.getMst(this._mst_id); this._bonus.bg.initiailzeForShip(_2l3.rarity, function() { var _2l4 = null; _2l2._loadShipImage(); }); }, _2ke.prototype._loadShipImage = function() { var _2l5 = null, _2l6 = this, _2l7 = new _2k8.ShipLoader(); _2l7.add(this._mst_id, !1, 'full'), _2l7.load(function() { var _2l8 = null; _2l6._insert.preload(function() { var _2l9 = null; _2l6._showInsert(); }); }); }, _2ke.prototype._showInsert = function() { var _2la = null; this._insert.initialize(3), this._insert.alpha = 0, this._insert.card.scale.set(0.38), this._insert.card.position.set(_2k2.default.width / 2 - 228, _2k2.default.height / 2 + 521), this._insert.flash.position.set(_2k2.default.width / 2, _2k2.default.height / 2), this._layer.addChild(this._insert); var _2lb = this._insert_fadein_skip_force ? 0 : 500; createjs.Tween.get(this._insert).to({ 'alpha': 1 }, _2lb).call(this._moveCard); }, _2ke.prototype._showBonus = function() { var _2lc = null; this._bonus.particle.activate(), createjs.Tween.get(null).wait(500).call(this._showMessageBox); }, _2ke.prototype._finalize = function(_2ld) { var _2le = null, _2lf = this; this._play_bgm && _2k3.default.sound.bgm.fadeOut(1200), createjs.Tween.get(_2ld).to({ 'alpha': 0 }, 300).call(function() { var _2lg = null; _2ld.deactivate(), _2lf._bonus.removeChild(_2ld), _2lf._endTask(); }); }, _2ke.prototype.dispose = function() { var _2lh = null; this._bonus.dispose(), this._layer.removeChild(this._bonus), this._layer = null, this._bonus = null; }, _2ke; }(_2jg(75902).TaskBonusBase); _2jf.TaskBonusShip = _2kb; }, 75223: function(_2li, _2lj, _2lk) { 'use strict'; var _2ll = null; var _2lm, _2ln = this && this.__extends || (_2lm = function(_2lo, _2lp) { var _2lq = null; return _2lm = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_2lr, _2ls) { var _2lt = null; _2lr.__proto__ = _2ls; } || function(_2lu, _2lv) { var _2lw = null; for (var _2lx in _2lv) Object.prototype.hasOwnProperty.call(_2lv, _2lx) && (_2lu[_2lx] = _2lv[_2lx]); }, _2lm(_2lo, _2lp); }, function(_2ly, _2lz) { var _2m0 = null; if ('function' != typeof _2lz && null !== _2lz) throw new TypeError('Class extends value ' + String(_2lz) + ' is not a constructor or null'); function _2m1() { var _2m2 = null; this.constructor = _2ly; } _2lm(_2ly, _2lz), _2ly.prototype = null === _2lz ? Object.create(_2lz) : (_2m1.prototype = _2lz.prototype, new _2m1()); }), _2m3 = this && this.__importDefault || function(_2m4) { var _2m5 = null; return _2m4 && _2m4.__esModule ? _2m4 : { 'default': _2m4 }; }; defineModule(_2lj); Object.defineProperty(_2lj, '__esModule', { 'value': !0 }), _2lj.TaskBonusSlot = void 0; var _2m6 = _2m3(_2lk(21359)), _2m7 = _2m3(_2lk(18622)), _2m8 = _2lk(35380), _2m9 = _2lk(40085), _2ma = _2lk(79899), _2mb = _2lk(7344), _2mc = _2lk(37760), _2md = _2lk(65082), _2me = _2lk(34931), _2mf = function(_2mg) { var _2mh = null; function _2mi(_2mj, _2mk, _2ml, _2mm, _2mn, _2mo) { var _2mp = null; void 0 === _2mo && (_2mo = null); var _2mq = _2mg.call(this) || this; return _2mq._moveCard = function() { var _2mr = null; null != _2mq._pre_task && (_2mq._pre_task.dispose(), _2mq._pre_task = null), _2mq._play_bgm && _2m7.default.sound.bgm.play(132, !0, 1000); var _2ms = new PIXI.Point(_2mq._insert.card.x, _2mq._insert.card.y), _2mt = new PIXI.Point(_2m6.default.width / 2, _2m6.default.height / 2), _2mu = new PIXI.Point(_2ms.x + 300, _2ms.y), _2mv = new PIXI.Point(_2mt.x + 150, _2mt.y + 150); _2m9.TweenUtil.create3BezierTween(_2mq._insert.card, _2ms, _2mu, _2mv, _2mt, 700), createjs.Tween.get(_2mq._insert.card).to({ 'scaleX': 0.86, 'scaleY': 0.86, 'rotation': 4 * Math.PI }, 700).to({ 'scaleX': 1, 'scaleY': 1 }, 133).wait(700).call(function() { var _2mw = null; _2mq._insert.particle.activate(); }).wait(1000).call(_2mq._flash); }, _2mq._flash = function() { var _2mx = null, _2my = _2m7.default.model.slot.getMst(_2mq._mst_id); _2mq._bonus.alpha = 1, _2mq._bonus.initialize(_2my.mstID, _2mq._count, _2mq._level, _2my.name), createjs.Tween.get(_2mq._insert.card).to({ 'alpha': 0 }, 800), createjs.Tween.get(_2mq._insert.bg_dark).to({ 'alpha': 0 }, 800), createjs.Tween.get(_2mq._insert.flash).to({ 'scaleX': 3.5, 'scaleY': 3.5 }, 800), createjs.Tween.get(_2mq._insert).wait(800).to({ 'alpha': 0 }, 200).call(function() { var _2mz = null; _2mq._layer.removeChild(_2mq._insert), _2mq._insert.dispose(), _2mq._insert = null, _2mq._showBonus(); }); }, _2mq._showMessageBox = function() { var _2n0 = null; createjs.Tween.get(_2mq._bonus.message_box).to({ 'y': 480 }, 300).call(_2mq._waitClick); }, _2mq._waitClick = function() { var _2n1 = null; _2mq._bonus.message_box.activate(); var _2n2 = new _2mb.GearBtnHome(); _2n2.position.set(1140, 660), _2n2.initialize(), _2n2.activate(), _2mq._bonus.addChild(_2n2); var _2n3 = new _2ma.AreaBox(0); _2n3.interactive = !0, _2n3.buttonMode = !0, _2mq._bonus.addChild(_2n3), _2n3.once(_2m8.EventType.CLICK, function() { var _2n4 = null; _2mq._bonus.removeChild(_2n3), _2mq._finalize(_2n2); }); }, _2mq._layer = _2mj, _2mq._mst_id = _2mk, _2mq._count = _2ml, _2mq._level = _2mm, _2mq._pre_task = _2mo, _2mq._play_bgm = _2mn, _2mq; } return _2ln(_2mi, _2mg), _2mi.prototype._start = function() { var _2n5 = null; this._bonus = new _2me.BonusSlot(), this._bonus.alpha = 0, this._layer.addChild(this._bonus), this._insert = new _2md.BonusInsert(), this._loadBG(); }, _2mi.prototype._loadBG = function() { var _2n6 = null, _2n7 = this, _2n8 = _2m7.default.model.slot.getMst(this._mst_id); this._bonus.bg.initiailzeForSlotitem(_2n8.rarity, function() { var _2n9 = null; _2n7._loadSlotImage(); }); }, _2mi.prototype._loadSlotImage = function() { var _2na = null, _2nb = this, _2nc = new _2mc.SlotLoader(); _2nc.add(this._mst_id, 'card'), _2nc.load(function() { var _2nd = null; _2nb._insert.preload(function() { var _2ne = null; _2nb._showInsert(); }); }); }, _2mi.prototype._showInsert = function() { var _2nf = null; this._insert.initialize(2), this._insert.alpha = 0, this._insert.card.scale.set(0.38), this._insert.card.position.set(_2m6.default.width / 2 - 228, _2m6.default.height / 2 + 521), this._insert.flash.position.set(_2m6.default.width / 2, _2m6.default.height / 2), this._layer.addChild(this._insert); var _2ng = this._insert_fadein_skip_force ? 0 : 500; createjs.Tween.get(this._insert).to({ 'alpha': 1 }, _2ng).call(this._moveCard); }, _2mi.prototype._showBonus = function() { var _2nh = null; this._bonus.particle.activate(), createjs.Tween.get(this._bonus.white).to({ 'alpha': 0 }, 500).call(this._showMessageBox); }, _2mi.prototype._finalize = function(_2ni) { var _2nj = null, _2nk = this; this._play_bgm && _2m7.default.sound.bgm.fadeOut(1200), createjs.Tween.get(_2ni).to({ 'alpha': 0 }, 300).call(function() { var _2nl = null; _2ni.deactivate(), _2nk._bonus.removeChild(_2ni), _2nk._endTask(); }); }, _2mi.prototype.dispose = function() { var _2nm = null; this._bonus.dispose(), this._layer.removeChild(this._bonus), this._layer = null, this._bonus = null; }, _2mi; }(_2lk(75902).TaskBonusBase); _2lj.TaskBonusSlot = _2mf; }, 66279: function(_2nn, _2no, _2np) { 'use strict'; var _2nq = null; var _2nr, _2ns = this && this.__extends || (_2nr = function(_2nt, _2nu) { var _2nv = null; return _2nr = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_2nw, _2nx) { var _2ny = null; _2nw.__proto__ = _2nx; } || function(_2nz, _2o0) { var _2o1 = null; for (var _2o2 in _2o0) Object.prototype.hasOwnProperty.call(_2o0, _2o2) && (_2nz[_2o2] = _2o0[_2o2]); }, _2nr(_2nt, _2nu); }, function(_2o3, _2o4) { var _2o5 = null; if ('function' != typeof _2o4 && null !== _2o4) throw new TypeError('Class extends value ' + String(_2o4) + ' is not a constructor or null'); function _2o6() { var _2o7 = null; this.constructor = _2o3; } _2nr(_2o3, _2o4), _2o3.prototype = null === _2o4 ? Object.create(_2o4) : (_2o6.prototype = _2o4.prototype, new _2o6()); }), _2o8 = this && this.__importDefault || function(_2o9) { var _2oa = null; return _2o9 && _2o9.__esModule ? _2o9 : { 'default': _2o9 }; }; defineModule(_2no); Object.defineProperty(_2no, '__esModule', { 'value': !0 }), _2no.TaskBonusUseItem = void 0; var _2ob = _2o8(_2np(21359)), _2oc = _2o8(_2np(18622)), _2od = _2np(40085), _2oe = _2np(79899), _2of = _2np(7344), _2og = _2np(79787), _2oh = _2np(65082), _2oi = _2np(28510), _2oj = _2np(75902), _2ok = _2np(35380), _2ol = function(_2om) { var _2on = null; function _2oo(_2op, _2oq, _2or, _2os, _2ot) { var _2ou = null; void 0 === _2ot && (_2ot = null); var _2ov = _2om.call(this) || this; return _2ov._moveCard = function() { var _2ow = null; null != _2ov._pre_task && (_2ov._pre_task.dispose(), _2ov._pre_task = null), _2ov._play_bgm && _2oc.default.sound.bgm.play(132, !0, 1000); var _2ox = new PIXI.Point(_2ov._insert.card.x, _2ov._insert.card.y), _2oy = new PIXI.Point(_2ob.default.width / 2, _2ob.default.height / 2), _2oz = new PIXI.Point(_2ox.x + 300, _2ox.y), _2p0 = new PIXI.Point(_2oy.x + 150, _2oy.y + 150); _2od.TweenUtil.create3BezierTween(_2ov._insert.card, _2ox, _2oz, _2p0, _2oy, 700), createjs.Tween.get(_2ov._insert.card).to({ 'scaleX': 0.86, 'scaleY': 0.86, 'rotation': 4 * Math.PI }, 700).to({ 'scaleX': 1, 'scaleY': 1 }, 133).wait(700).call(function() { var _2p1 = null; _2ov._insert.particle.activate(); }).wait(1000).call(_2ov._flash); }, _2ov._flash = function() { var _2p2 = null, _2p3 = _2ov._mst_id, _2p4 = _2ov._count, _2p5 = _2oc.default.model.useItem.get(_2p3), _2p6 = null == _2p5 ? '' : _2p5.name; _2ov._bonus.alpha = 1, _2ov._bonus.initialize(_2p3, _2p4, _2p6), createjs.Tween.get(_2ov._insert.card).to({ 'alpha': 0 }, 800), createjs.Tween.get(_2ov._insert.bg_dark).to({ 'alpha': 0 }, 800), createjs.Tween.get(_2ov._insert.flash).to({ 'scaleX': 3.5, 'scaleY': 3.5 }, 800), createjs.Tween.get(_2ov._insert).wait(800).to({ 'alpha': 0 }, 200).call(function() { var _2p7 = null; _2ov._layer.removeChild(_2ov._insert), _2ov._insert.dispose(), _2ov._insert = null, _2ov._showBonus(); }); }, _2ov._showMessageBox = function() { var _2p8 = null; createjs.Tween.get(_2ov._bonus.message_box).to({ 'y': 480 }, 300).call(_2ov._waitClick); }, _2ov._waitClick = function() { var _2p9 = null; _2ov._bonus.message_box.activate(); var _2pa = new _2of.GearBtnHome(); _2pa.position.set(1140, 660), _2pa.initialize(), _2pa.activate(), _2ov._bonus.addChild(_2pa); var _2pb = new _2oe.AreaBox(0); _2pb.interactive = !0, _2pb.buttonMode = !0, _2ov._bonus.addChild(_2pb), _2pb.once(_2ok.EventType.CLICK, function() { var _2pc = null; _2ov._bonus.removeChild(_2pb), _2ov._finalize(_2pa); }); }, _2ov._layer = _2op, _2ov._mst_id = _2oq, _2ov._count = _2or, _2ov._pre_task = _2ot, _2ov._play_bgm = _2os, _2ov; } return _2ns(_2oo, _2om), _2oo.prototype._start = function() { var _2pd = null; this._bonus = new _2oi.BonusUseItem(), this._bonus.alpha = 0, this._layer.addChild(this._bonus), this._insert = new _2oh.BonusInsert(), this._loadBG(); }, _2oo.prototype._loadBG = function() { var _2pe = null, _2pf = this; this._bonus.bg.initiailzeForUseitem(function() { var _2pg = null; _2pf._loadImage(); }); }, _2oo.prototype._loadImage = function() { var _2ph = null, _2pi = this, _2pj = new _2og.UseitemLoader(); _2pj.add(this._mst_id, 1), _2pj.load(function() { var _2pk = null; _2pi._insert.preload(function() { var _2pl = null; _2pi._showInsert(); }); }); }, _2oo.prototype._showInsert = function() { var _2pm = null; this._insert.initialize(6), this._insert.alpha = 0, this._insert.card.scale.set(0.38), this._insert.card.position.set(_2ob.default.width / 2 - 228, _2ob.default.height / 2 + 521), this._insert.flash.position.set(_2ob.default.width / 2, _2ob.default.height / 2), this._layer.addChild(this._insert); var _2pn = this._insert_fadein_skip_force ? 0 : 500; createjs.Tween.get(this._insert).to({ 'alpha': 1 }, _2pn).call(this._moveCard); }, _2oo.prototype._showBonus = function() { var _2po = null; this._bonus.particle.activate(), createjs.Tween.get(this._bonus.white).to({ 'alpha': 0 }, 500).call(this._showMessageBox); }, _2oo.prototype._finalize = function(_2pp) { var _2pq = null, _2pr = this; this._play_bgm && _2oc.default.sound.bgm.fadeOut(1200), createjs.Tween.get(_2pp).to({ 'alpha': 0 }, 300).call(function() { var _2ps = null; _2pp.deactivate(), _2pr._bonus.removeChild(_2pp), _2pr._endTask(); }); }, _2oo.prototype.dispose = function() { var _2pt = null; this._bonus.dispose(), this._layer.removeChild(this._bonus), this._layer = null, this._bonus = null; }, _2oo; }(_2oj.TaskBonusBase); _2no.TaskBonusUseItem = _2ol; }, 5529: function(_2pu, _2pv, _2pw) { 'use strict'; var _2px = null; var _2py, _2pz = this && this.__extends || (_2py = function(_2q0, _2q1) { var _2q2 = null; return _2py = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_2q3, _2q4) { var _2q5 = null; _2q3.__proto__ = _2q4; } || function(_2q6, _2q7) { var _2q8 = null; for (var _2q9 in _2q7) Object.prototype.hasOwnProperty.call(_2q7, _2q9) && (_2q6[_2q9] = _2q7[_2q9]); }, _2py(_2q0, _2q1); }, function(_2qa, _2qb) { var _2qc = null; if ('function' != typeof _2qb && null !== _2qb) throw new TypeError('Class extends value ' + String(_2qb) + ' is not a constructor or null'); function _2qd() { var _2qe = null; this.constructor = _2qa; } _2py(_2qa, _2qb), _2qa.prototype = null === _2qb ? Object.create(_2qb) : (_2qd.prototype = _2qb.prototype, new _2qd()); }), _2qf = this && this.__importDefault || function(_2qg) { var _2qh = null; return _2qg && _2qg.__esModule ? _2qg : { 'default': _2qg }; }; defineModule(_2pv); Object.defineProperty(_2pv, '__esModule', { 'value': !0 }), _2pv.BonusFurniture = void 0; var _2qi = _2qf(_2pw(18622)), _2qj = _2pw(79899), _2qk = _2pw(43472), _2ql = _2pw(27510), _2qm = _2pw(49635), _2qn = function(_2qo) { var _2qp = null; function _2qq() { var _2qr = null, _2qs = _2qo.call(this) || this; return _2qs._bg = new _2qk.RarityBG(), _2qs._item = new PIXI.Sprite(), _2qs._item.anchor.set(0.5), _2qs._particle = new _2qm.BonusParticle(), _2qs._message_box = new _2ql.MessageBox(), _2qs._message_box.y = 721, _2qs._white = new _2qj.AreaBox(1, 16777215), _2qs.addChild(_2qs._bg), _2qs.addChild(_2qs._item), _2qs.addChild(_2qs._particle), _2qs.addChild(_2qs._message_box), _2qs.addChild(_2qs._white), _2qs; } return _2pz(_2qq, _2qo), Object.defineProperty(_2qq.prototype, 'bg', { 'get': function() { var _2qt = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_2qq.prototype, 'particle', { 'get': function() { var _2qu = null; return this._particle; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_2qq.prototype, 'message_box', { 'get': function() { var _2qv = null; return this._message_box; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_2qq.prototype, 'white', { 'get': function() { var _2qw = null; return this._white; }, 'enumerable': !1, 'configurable': !0 }), _2qq.prototype.initialize = function(_2qx, _2qy) { var _2qz = null; this._item.texture = _2qi.default.resources.getFurniture(_2qx, 'card'), this._item.position.set(600, 255), this._message_box.initializeForFurniture(_2qy); }, _2qq.prototype.dispose = function() { var _2r0 = null; this.removeChildren(), this._bg = null, this._item = null, this._particle.dispose(), this._particle = null, this._message_box.dispose(), this._message_box = null, this._white = null; }, _2qq; }(PIXI.Container); _2pv.BonusFurniture = _2qn; }, 65082: function(_2r1, _2r2, _2r3) { 'use strict'; var _2r4 = null; var _2r5, _2r6 = this && this.__extends || (_2r5 = function(_2r7, _2r8) { var _2r9 = null; return _2r5 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_2ra, _2rb) { var _2rc = null; _2ra.__proto__ = _2rb; } || function(_2rd, _2re) { var _2rf = null; for (var _2rg in _2re) Object.prototype.hasOwnProperty.call(_2re, _2rg) && (_2rd[_2rg] = _2re[_2rg]); }, _2r5(_2r7, _2r8); }, function(_2rh, _2ri) { var _2rj = null; if ('function' != typeof _2ri && null !== _2ri) throw new TypeError('Class extends value ' + String(_2ri) + ' is not a constructor or null'); function _2rk() { var _2rl = null; this.constructor = _2rh; } _2r5(_2rh, _2ri), _2rh.prototype = null === _2ri ? Object.create(_2ri) : (_2rk.prototype = _2ri.prototype, new _2rk()); }); defineModule(_2r2); Object.defineProperty(_2r2, '__esModule', { 'value': !0 }), _2r2.BonusInsert = void 0; var _2rm = _2r3(91936), _2rn = _2r3(45054), _2ro = _2r3(54011), _2rp = _2r3(91078), _2rq = _2r3(11997), _2rr = function(_2rs) { var _2rt = null; function _2ru() { var _2rv = null, _2rw = _2rs.call(this) || this; return _2rw._bg_light = new _2rm.GetBG(), _2rw._bg_dark = new _2rm.GetBG(), _2rw._particle = new _2rp.BonusInsertParticle(), _2rw._card = new _2rx(), _2rw._flash = new _2ro.Sprite(), _2rw._flash.anchor.set(0.5), _2rw._flash.scale.set(0), _2rw.addChild(_2rw._bg_light), _2rw.addChild(_2rw._bg_dark), _2rw.addChild(_2rw._particle), _2rw.addChild(_2rw._card), _2rw.addChild(_2rw._flash), _2rw; } return _2r6(_2ru, _2rs), Object.defineProperty(_2ru.prototype, 'bg_dark', { 'get': function() { var _2ry = null; return this._bg_dark; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_2ru.prototype, 'particle', { 'get': function() { var _2rz = null; return this._particle; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_2ru.prototype, 'card', { 'get': function() { var _2s0 = null; return this._card; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_2ru.prototype, 'flash', { 'get': function() { var _2s1 = null; return this._flash; }, 'enumerable': !1, 'configurable': !0 }), _2ru.prototype.preload = function(_2s2) { var _2s3 = null, _2s4 = this; this._bg_light.initiailzeGetBG1(function() { var _2s5 = null; _2s4._bg_dark.initiailzeGetBG2(function() { null != _2s2 && _2s2(); }); }); }, _2ru.prototype.initialize = function(_2s6) { var _2s7 = null; this._card.initialize(_2s6), this._flash.texture = _2rq.COMMON_MISC.getTexture(73); }, _2ru.prototype.dispose = function() { var _2s8 = null; this.removeChildren(), this._bg_light = null, this._bg_dark = null, this._particle.dispose(), this._particle = null, this._card = null, this._flash = null; }, _2ru; }(PIXI.Container); _2r2.BonusInsert = _2rr; var _2rx = function(_2s9) { var _2sa = null; function _2sb() { var _2sc = null, _2sd = _2s9.call(this) || this; return _2sd._content = new PIXI.Sprite(), _2sd._content.anchor.set(0.5), _2sd.addChild(_2sd._content), _2sd; } return _2r6(_2sb, _2s9), _2sb.prototype.initialize = function(_2se) { var _2sf = null; this._content.texture = _2rq.COMMON_MISC.getTexture(72), 3 != _2se && (this._content.scale.y = 0.7); }, _2sb; }(_2rn.Container); }, 91078: function(_2sg, _2sh, _2si) { 'use strict'; var _2sj = null; var _2sk, _2sl = this && this.__extends || (_2sk = function(_2sm, _2sn) { var _2so = null; return _2sk = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_2sp, _2sq) { var _2sr = null; _2sp.__proto__ = _2sq; } || function(_2ss, _2st) { var _2su = null; for (var _2sv in _2st) Object.prototype.hasOwnProperty.call(_2st, _2sv) && (_2ss[_2sv] = _2st[_2sv]); }, _2sk(_2sm, _2sn); }, function(_2sw, _2sx) { var _2sy = null; if ('function' != typeof _2sx && null !== _2sx) throw new TypeError('Class extends value ' + String(_2sx) + ' is not a constructor or null'); function _2sz() { var _2t0 = null; this.constructor = _2sw; } _2sk(_2sw, _2sx), _2sw.prototype = null === _2sx ? Object.create(_2sx) : (_2sz.prototype = _2sx.prototype, new _2sz()); }), _2t1 = this && this.__importDefault || function(_2t2) { var _2t3 = null; return _2t2 && _2t2.__esModule ? _2t2 : { 'default': _2t2 }; }; defineModule(_2sh); Object.defineProperty(_2sh, '__esModule', { 'value': !0 }), _2sh.BonusInsertParticle = void 0; var _2t4 = _2t1(_2si(21359)), _2t5 = _2si(11997), _2t6 = function(_2t7) { var _2t8 = null; function _2t9() { var _2ta = null, _2tb = _2t7.call(this) || this; _2tb._onChange = function() { var _2tc = null; for (var _2td = 0, _2te = _2tb.children; _2td < _2te.length; _2td++) { _2te[_2td].update(); } }; for (var _2tf = 0; _2tf < 30; _2tf++) { var _2tg = new _2th(); _2tb.addChild(_2tg); } return _2tb.visible = !1, _2tb; } return _2sl(_2t9, _2t7), _2t9.prototype.activate = function() { var _2ti = null; null == this._t && (this._t = createjs.Tween.get(null, { 'loop': !0, 'onChange': this._onChange }), this.visible = !0); }, _2t9.prototype.deactivate = function() { var _2tj = null; null != this._t && (this._t.setPaused(!0), this._t = null, this.visible = !1); }, _2t9.prototype.dispose = function() { var _2tk = null; this.deactivate(), this.removeChildren(); }, _2t9; }(PIXI.Container); _2sh.BonusInsertParticle = _2t6; var _2th = function(_2tl) { var _2tm = null; function _2tn() { var _2to = null, _2tp = _2tl.call(this) || this; return _2tp._vx = 0, _2tp._vy = 0, _2tp._vr = 0, _2tp._vscale = 0, (_2tp.texture = _2t5.COMMON_MISC.getTexture(121), _2tp._init(), _2tp); } return _2sl(_2tn, _2tl), _2tn.prototype.update = function() { var _2tq = null; if (this._life--, this._life < 0 && (this.alpha -= 0.1 * Math.random() + 0.1, this.alpha <= 0)) this._init(); else { this.x += this._vx, this.y += this._vy, this.rotation += this._vr, this.scale.x += this._vscale, this.scale.y += this._vscale; var _2tr = 60 / createjs.Ticker.framerate; this._vx *= 1 + 0.01 * _2tr, this._vy += 0.01 * _2tr; } }, _2tn.prototype._init = function() { var _2ts = null, _2tt = 60 / createjs.Ticker.framerate; this.x = _2t4.default.width / 2, this.y = _2t4.default.height / 2 - 45, this.alpha = 1, this.scale.set(0), this._life = 100 * _2tt, this._life += 100 * Math.random() * _2tt, this._vx = 6 * Math.random() * _2tt, Math.random() < 0.5 && (this._vx *= -1), this._vy = (12 * Math.random() - 9) * _2tt; var _2tu = 50 / 180 * Math.PI * _2tt; this._vr = (Math.random() * _2tu + 1) / 100, this._vscale = (0.0025 * Math.random() + 0.005) * _2tt; }, _2tn; }(PIXI.Sprite); }, 75293: function(_2tv, _2tw, _2tx) { 'use strict'; var _2ty = null; var _2tz, _2u0 = this && this.__extends || (_2tz = function(_2u1, _2u2) { var _2u3 = null; return _2tz = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_2u4, _2u5) { var _2u6 = null; _2u4.__proto__ = _2u5; } || function(_2u7, _2u8) { var _2u9 = null; for (var _2ua in _2u8) Object.prototype.hasOwnProperty.call(_2u8, _2ua) && (_2u7[_2ua] = _2u8[_2ua]); }, _2tz(_2u1, _2u2); }, function(_2ub, _2uc) { var _2ud = null; if ('function' != typeof _2uc && null !== _2uc) throw new TypeError('Class extends value ' + String(_2uc) + ' is not a constructor or null'); function _2ue() { var _2uf = null; this.constructor = _2ub; } _2tz(_2ub, _2uc), _2ub.prototype = null === _2uc ? Object.create(_2uc) : (_2ue.prototype = _2uc.prototype, new _2ue()); }); defineModule(_2tw); Object.defineProperty(_2tw, '__esModule', { 'value': !0 }), _2tw.BonusInsertWave = void 0; var _2ug = _2tx(54011), _2uh = _2tx(11997), _2ui = _2tx(79899), _2uj = _2tx(95471), _2uk = function(_2ul) { var _2um = null; function _2un(_2uo) { var _2up = null, _2uq = _2ul.call(this) || this; return _2uq._mst_id = _2uo, _2uq._fish = [], _2uq._waves = [], _2uq._white = new _2ui.AreaBox(1, 16777215), _2uq._flash = new _2ug.Sprite(), _2uq._flash.anchor.set(0.5), _2uq._flash.scale.set(0), _2uq; } return _2u0(_2un, _2ul), Object.defineProperty(_2un.prototype, 'white', { 'get': function() { var _2ur = null; return this._white; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_2un.prototype, 'fish', { 'get': function() { var _2us = null; return this._fish; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_2un.prototype, 'waves', { 'get': function() { var _2ut = null; return this._waves; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_2un.prototype, 'flash', { 'get': function() { var _2uu = null; return this._flash; }, 'enumerable': !1, 'configurable': !0 }), _2un.prototype.initialize = function() { var _2uv = null, _2uw; _2uw = 68 == this._mst_id ? 4 : 2; for (var _2ux = 0; _2ux < 3; _2ux++) { var _2uy = new _2ug.Sprite(_2uj.BATTLE_RESULT_SANMA_FES.getTexture(_2uw)); _2uy.visible = !0, _2uy.alpha = 0, _2uy.anchor.set(0.5), this._fish.push(_2uy); } var _2uz = new _2ug.Sprite(_2uj.BATTLE_RESULT_SANMA_FES.getTexture(1)); _2uz.visible = !0, _2uz.alpha = 0, _2uz.anchor.set(0.5); var _2v0 = new _2ug.Sprite(_2uj.BATTLE_RESULT_SANMA_FES.getTexture(0)); _2v0.visible = !0, _2v0.alpha = 0, _2v0.anchor.set(0.5), this._waves.push(_2v0, _2uz), this._flash.texture = _2uh.COMMON_MISC.getTexture(73), this._flash.visible = !0, this._flash.alpha = 0, this._white.visible = !0, this._white.alpha = 0, this.addChild(this._flash), this.addChild(this._white), this.addChild(this._waves[0], this._fish[2], this._waves[1]), this.addChild(this._fish[0], this._fish[1]); }, _2un.prototype.dispose = function() { var _2v1 = null; this.removeChildren(), this._fish.map(function(_2v2) { return null; }), this._fish = null, this._waves.map(function(_2v3) { return null; }), this._waves = null, this._white = null, this._flash = null; }, _2un; }(PIXI.Container); _2tw.BonusInsertWave = _2uk; }, 49635: function(_2v4, _2v5, _2v6) { 'use strict'; var _2v7 = null; var _2v8, _2v9 = this && this.__extends || (_2v8 = function(_2va, _2vb) { var _2vc = null; return _2v8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_2vd, _2ve) { var _2vf = null; _2vd.__proto__ = _2ve; } || function(_2vg, _2vh) { var _2vi = null; for (var _2vj in _2vh) Object.prototype.hasOwnProperty.call(_2vh, _2vj) && (_2vg[_2vj] = _2vh[_2vj]); }, _2v8(_2va, _2vb); }, function(_2vk, _2vl) { var _2vm = null; if ('function' != typeof _2vl && null !== _2vl) throw new TypeError('Class extends value ' + String(_2vl) + ' is not a constructor or null'); function _2vn() { var _2vo = null; this.constructor = _2vk; } _2v8(_2vk, _2vl), _2vk.prototype = null === _2vl ? Object.create(_2vl) : (_2vn.prototype = _2vl.prototype, new _2vn()); }), _2vp = this && this.__importDefault || function(_2vq) { var _2vr = null; return _2vq && _2vq.__esModule ? _2vq : { 'default': _2vq }; }; defineModule(_2v5); Object.defineProperty(_2v5, '__esModule', { 'value': !0 }), _2v5.BonusParticle = void 0; var _2vs = _2vp(_2v6(21359)), _2vt = _2v6(11997), _2vu = function(_2vv) { var _2vw = null; function _2vx() { var _2vy = null, _2vz = _2vv.call(this) || this; return _2vz._onChange = function() { var _2w0 = null; _2vz.children.length < 30 && Math.random() < 0.05 && _2vz.addChild(new _2w1()); for (var _2w2 = 0, _2w3 = _2vz.children; _2w2 < _2w3.length; _2w2++) { _2w3[_2w2].update(); } }, _2vz.visible = !1, _2vz; } return _2v9(_2vx, _2vv), _2vx.prototype.activate = function() { var _2w4 = null; null == this._t && (this._t = createjs.Tween.get(null, { 'loop': !0, 'onChange': this._onChange }), this.visible = !0); }, _2vx.prototype.deactivate = function() { var _2w5 = null; null != this._t && (this._t.setPaused(!0), this._t = null, this.visible = !1); }, _2vx.prototype.dispose = function() { var _2w6 = null; this.deactivate(), this.removeChildren(); }, _2vx; }(PIXI.Container); _2v5.BonusParticle = _2vu; var _2w1 = function(_2w7) { var _2w8 = null; function _2w9() { var _2wa = null, _2wb = _2w7.call(this) || this; return _2wb._rad = 0, (_2wb.texture = _2vt.COMMON_MISC.getTexture(121), _2wb._init(), _2wb); } return _2v9(_2w9, _2w7), _2w9.prototype.update = function() { var _2wc = null; this.rotation += this._spdR / 180 * Math.PI, this.x = this._startX + this._haba * Math.sin(this._rad), this.y += this._spdY, this._rad += this._spdRad, this.y > _2vs.default.height + 30 && null != this.parent && this.parent.removeChild(this); }, _2w9.prototype._init = function() { var _2wd = null, _2we = 60 / createjs.Ticker.framerate; this._startX = Math.random() * (_2vs.default.width - 60) + 30, this._haba = 45 * Math.random(), this._spdY = (3 * Math.random() + 1) * _2we, this._spdR = (0.5 * Math.random() + 0.05) * _2we, this._spdRad = 0.05 * Math.random() + 0.0005, this.x = this._startX, this.y = 390 * Math.random() - 420, this.scale.set(0.6 * Math.random() + 0.2); }, _2w9; }(PIXI.Sprite); }, 3087: function(_2wf, _2wg, _2wh) { 'use strict'; var _2wi = null; var _2wj, _2wk = this && this.__extends || (_2wj = function(_2wl, _2wm) { var _2wn = null; return _2wj = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_2wo, _2wp) { var _2wq = null; _2wo.__proto__ = _2wp; } || function(_2wr, _2ws) { var _2wt = null; for (var _2wu in _2ws) Object.prototype.hasOwnProperty.call(_2ws, _2wu) && (_2wr[_2wu] = _2ws[_2wu]); }, _2wj(_2wl, _2wm); }, function(_2wv, _2ww) { var _2wx = null; if ('function' != typeof _2ww && null !== _2ww) throw new TypeError('Class extends value ' + String(_2ww) + ' is not a constructor or null'); function _2wy() { var _2wz = null; this.constructor = _2wv; } _2wj(_2wv, _2ww), _2wv.prototype = null === _2ww ? Object.create(_2ww) : (_2wy.prototype = _2ww.prototype, new _2wy()); }), _2x0 = this && this.__importDefault || function(_2x1) { var _2x2 = null; return _2x1 && _2x1.__esModule ? _2x1 : { 'default': _2x1 }; }; defineModule(_2wg); Object.defineProperty(_2wg, '__esModule', { 'value': !0 }), _2wg.BonusShip = void 0; var _2x3 = _2x0(_2wh(18622)), _2x4 = _2wh(43472), _2x5 = _2wh(27510), _2x6 = _2wh(49635), _2x7 = function(_2x8) { var _2x9 = null; function _2xa() { var _2xb = null, _2xc = _2x8.call(this) || this; return _2xc._bg = new _2x4.RarityBG(), _2xc._ship = new PIXI.Sprite(), _2xc._particle = new _2x6.BonusParticle(), _2xc._message_box = new _2x5.MessageBox(), _2xc._message_box.y = 721, _2xc.addChild(_2xc._bg), _2xc.addChild(_2xc._ship), _2xc.addChild(_2xc._particle), _2xc.addChild(_2xc._message_box), _2xc; } return _2wk(_2xa, _2x8), Object.defineProperty(_2xa.prototype, 'bg', { 'get': function() { var _2xd = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_2xa.prototype, 'particle', { 'get': function() { var _2xe = null; return this._particle; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_2xa.prototype, 'message_box', { 'get': function() { var _2xf = null; return this._message_box; }, 'enumerable': !1, 'configurable': !0 }), _2xa.prototype.initialize = function(_2xg, _2xh, _2xi, _2xj, _2xk) { var _2xl = null; this._ship.texture = _2x3.default.resources.getShip(_2xg, !1, 'full'); var _2xm = -1 == [941].indexOf(_2xg); this._message_box.initializeForShip(_2xi, _2xh, _2xj, _2xm), this._ship.x = _2xk.x + 221, this._ship.y = _2xk.y - 59; }, _2xa.prototype.dispose = function() { var _2xn = null; this.removeChildren(), this._bg = null, this._ship = null, this._particle.dispose(), this._particle = null, this._message_box.dispose(), this._message_box = null; }, _2xa; }(PIXI.Container); _2wg.BonusShip = _2x7; }, 34931: function(_2xo, _2xp, _2xq) { 'use strict'; var _2xr = null; var _2xs, _2xt = this && this.__extends || (_2xs = function(_2xu, _2xv) { var _2xw = null; return _2xs = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_2xx, _2xy) { var _2xz = null; _2xx.__proto__ = _2xy; } || function(_2y0, _2y1) { var _2y2 = null; for (var _2y3 in _2y1) Object.prototype.hasOwnProperty.call(_2y1, _2y3) && (_2y0[_2y3] = _2y1[_2y3]); }, _2xs(_2xu, _2xv); }, function(_2y4, _2y5) { var _2y6 = null; if ('function' != typeof _2y5 && null !== _2y5) throw new TypeError('Class extends value ' + String(_2y5) + ' is not a constructor or null'); function _2y7() { var _2y8 = null; this.constructor = _2y4; } _2xs(_2y4, _2y5), _2y4.prototype = null === _2y5 ? Object.create(_2y5) : (_2y7.prototype = _2y5.prototype, new _2y7()); }), _2y9 = this && this.__importDefault || function(_2ya) { var _2yb = null; return _2ya && _2ya.__esModule ? _2ya : { 'default': _2ya }; }; defineModule(_2xp); Object.defineProperty(_2xp, '__esModule', { 'value': !0 }), _2xp.BonusSlot = void 0; var _2yc = _2y9(_2xq(18622)), _2yd = _2xq(79899), _2ye = _2xq(43472), _2yf = _2xq(27510), _2yg = _2xq(49635), _2yh = _2xq(63865), _2yi = function(_2yj) { var _2yk = null; function _2yl() { var _2ym = null, _2yn = _2yj.call(this) || this; return _2yn._bg = new _2ye.RarityBG(), _2yn._item = new PIXI.Sprite(), _2yn._item.anchor.set(0.5), _2yn._particle = new _2yg.BonusParticle(), _2yn._message_box = new _2yf.MessageBox(), _2yn._message_box.y = 721, _2yn._white = new _2yd.AreaBox(1, 16777215), _2yn._levelStar = new _2yh.LevelStar(), _2yn.addChild(_2yn._bg), _2yn.addChild(_2yn._item), _2yn.addChild(_2yn._levelStar), _2yn.addChild(_2yn._particle), _2yn.addChild(_2yn._message_box), _2yn.addChild(_2yn._white), _2yn; } return _2xt(_2yl, _2yj), Object.defineProperty(_2yl.prototype, 'bg', { 'get': function() { var _2yo = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_2yl.prototype, 'particle', { 'get': function() { var _2yp = null; return this._particle; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_2yl.prototype, 'message_box', { 'get': function() { var _2yq = null; return this._message_box; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_2yl.prototype, 'white', { 'get': function() { var _2yr = null; return this._white; }, 'enumerable': !1, 'configurable': !0 }), _2yl.prototype.initialize = function(_2ys, _2yt, _2yu, _2yv) { var _2yw = null; switch (this._item.texture = _2yc.default.resources.getSlotitem(_2ys, 'card'), this._item.position.set(600, 255), this._levelStar.update(_2yu), this._levelStar.position.set(770, 226), _2ys) { case 361: this._message_box.initializeForSlot('Bofors 15cm連装速射砲 Mk.9改\n+単装速射砲 Mk.10改 Model 1938', _2yt, _2yu); break; case 363: this._message_box.initializeForSlot('GFCS Mk.37\n+5inch連装両用砲(集中配備)', _2yt, _2yu); break; case 460: case 506: this._message_box.initializeForSlot460(_2yv, _2yt, _2yu); break; default: this._message_box.initializeForSlot(_2yv, _2yt, _2yu); } }, _2yl.prototype.dispose = function() { var _2yx = null; this.removeChildren(), this._bg = null, this._item = null, this._particle.dispose(), this._particle = null, this._message_box.dispose(), this._message_box = null, this._white = null, this._levelStar.dispose(), this._levelStar = null; }, _2yl; }(PIXI.Container); _2xp.BonusSlot = _2yi; }, 28510: function(_2yy, _2yz, _2z0) { 'use strict'; var _2z1 = null; var _2z2, _2z3 = this && this.__extends || (_2z2 = function(_2z4, _2z5) { var _2z6 = null; return _2z2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_2z7, _2z8) { var _2z9 = null; _2z7.__proto__ = _2z8; } || function(_2za, _2zb) { var _2zc = null; for (var _2zd in _2zb) Object.prototype.hasOwnProperty.call(_2zb, _2zd) && (_2za[_2zd] = _2zb[_2zd]); }, _2z2(_2z4, _2z5); }, function(_2ze, _2zf) { var _2zg = null; if ('function' != typeof _2zf && null !== _2zf) throw new TypeError('Class extends value ' + String(_2zf) + ' is not a constructor or null'); function _2zh() { var _2zi = null; this.constructor = _2ze; } _2z2(_2ze, _2zf), _2ze.prototype = null === _2zf ? Object.create(_2zf) : (_2zh.prototype = _2zf.prototype, new _2zh()); }), _2zj = this && this.__importDefault || function(_2zk) { var _2zl = null; return _2zk && _2zk.__esModule ? _2zk : { 'default': _2zk }; }; defineModule(_2yz); Object.defineProperty(_2yz, '__esModule', { 'value': !0 }), _2yz.BonusUseItem = void 0; var _2zm = _2zj(_2z0(18622)), _2zn = _2z0(79899), _2zo = _2z0(43472), _2zp = _2z0(27510), _2zq = _2z0(49635), _2zr = function(_2zs) { var _2zt = null; function _2zu() { var _2zv = null, _2zw = _2zs.call(this) || this; return _2zw._bg = new _2zo.RarityBG(), _2zw._item = new PIXI.Sprite(), _2zw._item.anchor.set(0.5), _2zw._particle = new _2zq.BonusParticle(), _2zw._message_box = new _2zp.MessageBox(), _2zw._message_box.y = 721, _2zw._white = new _2zn.AreaBox(1, 16777215), _2zw.addChild(_2zw._bg), _2zw.addChild(_2zw._item), _2zw.addChild(_2zw._particle), _2zw.addChild(_2zw._message_box), _2zw.addChild(_2zw._white), _2zw; } return _2z3(_2zu, _2zs), Object.defineProperty(_2zu.prototype, 'bg', { 'get': function() { var _2zx = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_2zu.prototype, 'particle', { 'get': function() { var _2zy = null; return this._particle; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_2zu.prototype, 'message_box', { 'get': function() { var _2zz = null; return this._message_box; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_2zu.prototype, 'white', { 'get': function() { var _300 = null; return this._white; }, 'enumerable': !1, 'configurable': !0 }), _2zu.prototype.initialize = function(_301, _302, _303) { var _304 = null; this._item.texture = _2zm.default.resources.getUseitem(_301, 1), this._item.position.set(600, 255), 85 == _301 || 85 == _301 || 85 == _301 || 85 == _301 ? this._message_box.initializeForFood(_303) : 903 == _301 || 904 == _301 || 905 == _301 || 906 == _301 ? this._message_box.initializeForDummyUseitem(_301) : this._message_box.initializeForUseitem(_303, _302); }, _2zu.prototype.dispose = function() { var _305 = null; this.removeChildren(), this._bg = null, this._item = null, this._particle.dispose(), this._particle = null, this._message_box.dispose(), this._message_box = null, this._white = null; }, _2zu; }(PIXI.Container); _2yz.BonusUseItem = _2zr; }, 55242: function(_306, _307, _308) { 'use strict'; var _309 = null; var _30a = this && this.__importDefault || function(_30b) { var _30c = null; return _30b && _30b.__esModule ? _30b : { 'default': _30b }; }; defineModule(_307); Object.defineProperty(_307, '__esModule', { 'value': !0 }), _307.FAnimationData = void 0; var _30d = _30a(_308(83300)), _30e = _30a(_308(18622)), _30f = _308(57616), _30g = _308(89939), _30h = _308(15478), _30i = _308(12825), _30j = _308(77183), _30k = _308(13744), _30l = _308(55853), _30m = (function() { var _30n = null; function _30o() { var _30p = null; this._animationState = 0, this._change = !1, this._baseStateName = 'standard', this._currentStateName = '', this._model = new _30i.FurnitureAnimationModel(), this._currentStateName = this._baseStateName; } return Object.defineProperty(_30o.prototype, 'model', { 'get': function() { var _30q = null; return this._model; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_30o.prototype, 'animationState', { 'get': function() { var _30r = null; return this._animationState; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_30o.prototype, 'currentStateName', { 'get': function() { var _30s = null; return this._currentStateName; }, 'enumerable': !1, 'configurable': !0 }), _30o.prototype.setAnimationState = function(_30t, _30u) { var _30v = null; if (void 0 === _30u && (_30u = null), this._animationState != _30t) { if (this._animationState = _30t, 2 == this._animationState) this._currentStateName = null == _30u ? 'action1' : _30u; else { if (1 == this._animationState) { var _30w = this.model.getState(this._currentStateName); this._currentStateName = _30w.hitArea.state; } else this._currentStateName = this._baseStateName; } } }, _30o.prototype.updateBaseStateName = function(_30x) { var _30y = null; this._baseStateName = _30x, 0 == this._animationState && (this._currentStateName = this._baseStateName); }, _30o.prototype.loadAnimationData = function(_30z, _310) { var _311 = null, _312 = this; if (_30e.default.model.furniture.isActive(_30z)) { var _313 = _30f.MathUtil.zeroPadding(_30z, 3), _314 = _30k.SuffixUtil.create(_30z, 'furniture_scripts'), _315 = './resources/furniture/scripts/'['concat'](_313, '_').concat(_314, '.json').concat(_30l.VersionUtil.getResourceVersion(2, _30z)); _30d.default.get(_315).then(function(_316) { var _317 = null; _312._baseStateName = 'standard', _312._currentStateName = 'standard', _312._setParam(_316), _310(); }); } else { this._baseStateName = 'standard', this._currentStateName = 'standard'; var _318 = { 'filename': _30h.FurnitureLoader.getPath(_30z, 'normal') }; 89 == _30z ? _318.offset = [15, 0] : 93 == _30z ? _318.offset = [-20, 0] : 79 == _30z ? _318.offset = [-2, 0] : 209 == _30z && (_318.offset = [-29, 0]); var _319 = { 'standard': { 'data': [ [_318] ] } }; this._model.setData(_319), _310(); } }, _30o.prototype._setParam = function(_31a) { var _31b = null, _31c = new Date(), _31d = 100 * (_31c.getMonth() + 1) + _31c.getDate(), _31e = 10000 * _31c.getHours() + 100 * _31c.getMinutes() + _31c.getSeconds(), _31f = _30g.ObjUtil.getObject(_31a, 'data'); this._model.setData(_31f); var _31g = this._getBaseStateName(_31f, _31d, _31e); this.updateBaseStateName(_31g); var _31h = _30e.default.model.deck.get(1), _31i = _31h.getShipModel(0), _31j = _31i.mstID; if (this.model.hasCategory('byShip')) { var _31k = _30j.FurnitureUtil.getMovableTextureByShip(_31f, _31i), _31l = _30j.FurnitureUtil.getMovableLayerIndex(_31f); this._model.__overwriteFileName__(_31k, 'standard', _31l, 0); } else { if (this.model.hasCategory('byDeck')) _31k = _30j.FurnitureUtil.getMovableTextureByDeck(_31f, _31h), _31l = _30j.FurnitureUtil.getMovableLayerIndex(_31f), this._model.__overwriteFileName__(_31k, 'standard', _31l, 0); else { if (this.model.hasCategory('counterbar')) _31k = _30j.FurnitureUtil.getCounterBarTextureName(_31f, _31j, _31e), this._model.__overwriteFileName__(_31k, 'standard', 1, 1); else { if (this.model.hasCategory('umbrellarack')) { for (var _31m = _30j.FurnitureUtil.getUmbrellarackTextures(_31f, _31j), _31n = 0; _31n < _31m.length; _31n++) this._model.__overwriteFileName__(_31m[_31n], 'standard', _31n, 0); } else this.model.hasCategory('chabudai') && (_31k = _30j.FurnitureUtil.getOrangeAndChabudai(_31f, _31j, _31e), this._model.__overwriteFileName__(_31k, 'standard', 0, 0)); } } } this._animationState = 0; }, _30o.prototype._getBaseStateName = function(_31o, _31p, _31q) { var _31r = null, _31s = _30g.ObjUtil.getObject(_31o, 'case'); if (null == _31s) return 'standard'; var _31t = _30g.ObjUtil.getObject(_31s, 'fship'); if (_31t) { var _31u = _30e.default.model.deck.get(1).getShipModel(0), _31v = _31t; if (null != _31t.shipyomi) for (var _31w = 0, _31x = _31v.shipyomi; _31w < _31x.length; _31w++) { if (null != (_31y = _31x[_31w]) && null != _31y.list && _31y.list.indexOf(_31u.yomi) >= 0) return _30g.ObjUtil.getString(_31y, 'state'); } if (null != _31t.shipclass) for (var _31z = 0, _320 = _31v.shipclass; _31z < _320.length; _31z++) { if (null != (_31y = _320[_31z]) && null != _31y.list && _31y.list.indexOf(_31u.getClassType()) >= 0) return _30g.ObjUtil.getString(_31y, 'state'); } } var _321 = _30g.ObjUtil.getObjectArray(_31s, 'datetime'); if (_321) for (var _322 = 1000000 * _31p + _31q, _323 = _321.length - 1; _323 >= 0; _323--) { var _31y = _321[_323], _324 = parseInt(_30g.ObjUtil.getString(_31y, 'datetime')); if (!isNaN(_324) && _322 >= _324) return _30g.ObjUtil.getString(_31y, 'state'); } var _325 = _30g.ObjUtil.getObjectArray(_31s, 'time'); if (_325) for (_323 = _325.length - 1; _323 >= 0; _323--) { _31y = _325[_323], _324 = parseInt(_30g.ObjUtil.getString(_31y, 'time')); if (!isNaN(_324) && _31q >= _324) return _30g.ObjUtil.getString(_31y, 'state'); } return 'standard'; }, _30o; }()); _307.FAnimationData = _30m; }, 58410: function(_326, _327, _328) { 'use strict'; var _329 = null; var _32a, _32b = this && this.__extends || (_32a = function(_32c, _32d) { var _32e = null; return _32a = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_32f, _32g) { var _32h = null; _32f.__proto__ = _32g; } || function(_32i, _32j) { var _32k = null; for (var _32l in _32j) Object.prototype.hasOwnProperty.call(_32j, _32l) && (_32i[_32l] = _32j[_32l]); }, _32a(_32c, _32d); }, function(_32m, _32n) { var _32o = null; if ('function' != typeof _32n && null !== _32n) throw new TypeError('Class extends value ' + String(_32n) + ' is not a constructor or null'); function _32p() { var _32q = null; this.constructor = _32m; } _32a(_32m, _32n), _32m.prototype = null === _32n ? Object.create(_32n) : (_32p.prototype = _32n.prototype, new _32p()); }), _32r = this && this.__importDefault || function(_32s) { var _32t = null; return _32s && _32s.__esModule ? _32s : { 'default': _32s }; }; defineModule(_327); Object.defineProperty(_327, '__esModule', { 'value': !0 }), _327.Furniture = void 0; var _32u = _32r(_328(21359)), _32v = _32r(_328(18622)), _32w = _328(14777), _32x = _328(506), _32y = _328(55242), _32z = _328(22164), _330 = _328(21994), _331 = _328(77183), _332 = _328(70723), _333 = function(_334) { var _335 = null; function _336(_337) { var _338 = null, _339 = _334.call(this) || this; return _339._id = 0, _339._preCheckedTimeStr = null, _339._hitAreaLayer = null, _339._hit_area_updated = !1, _339._popupLayer = null, _339._pre_state_name = '', _339._data = new _32y.FAnimationData(), _339._type = _337, _339; } return _32b(_336, _334), Object.defineProperty(_336.prototype, 'id', { 'get': function() { var _33a = null; return this._id; }, 'enumerable': !1, 'configurable': !0 }), _336.prototype.isRadio = function() { var _33b = null; return this._data.model.hasCategory('radio'); }, _336.prototype.isGramo = function() { var _33c = null; return this._data.model.hasCategory('gramo'); }, _336.prototype.isJukeBox = function() { var _33d = null; return this._data.model.hasCategory('jukebox'); }, _336.prototype.update = function(_33e, _33f, _33g) { var _33h = null, _33i = this; void 0 === _33f && (_33f = null), void 0 === _33g && (_33g = null), this._data.loadAnimationData(_33e, function() { var _33j = null; if (null != _33f && _32v.default.model.useItem.getCount(79) > 0) { var _33k = _33i._data.model.kaikyo; null != _33k ? _33f.initialize(_33k) : _33f.finalize(); } if (null != _33g) { var _33l = -1; if (_32v.default.model.useItem.getCount(81) ? _33l = 0 : _32v.default.model.useItem.getCount(82) ? _33l = 1 : _32v.default.model.useItem.getCount(83) ? _33l = 2 : _32v.default.model.useItem.getCount(84) && (_33l = 3), _33l >= 0) { var _33m = _33i._data.model.shogo; null != _33m ? _33g.startAnimation(_33m, _33l) : _33g.stopAnimation(); } } _33i.children.length >= 0 && _33i.removeChildren(), _33i._id = _33e; var _33n = _33i._data.currentStateName, _33o = _33i._data.model.getState(_33n); _33i._reCreate(_33o); }); }, _336.prototype.restart = function() { var _33p = null; this._data.setAnimationState(0), this._updateFurnitureLayers(); for (var _33q = 0, _33r = this._sprites; _33q < _33r.length; _33q++) { _33r[_33q].reset(); } this._removePopup(); }, _336.prototype.isHit = function(_33s) { var _33t = null; if (null == this._hitAreaLayer) return !1; if (null == this._hit_area_map || !this._hit_area_updated) { var _33u = new PIXI.Sprite(this._hitAreaLayer.texture); this._hit_area_map = _32v.default.settings.renderer.extract.pixels(_33u), this._hit_area_updated = !0; } if (_331.FurnitureUtil.isAreaHit(this._hit_area_map, _33s, this._hitAreaLayer)) { if (0 == this._data.animationState) return !0; if (this._hasLoop()) return !0; } return !1; }, _336.prototype.clickAction = function() { var _33v = null; this._data.setAnimationState(1), this._updateFurnitureLayers(); }, _336.prototype.stopGramophone = function() { var _33w = null; return 'standard2' == this._data.currentStateName && (this._data.setAnimationState(1), this._updateFurnitureLayers(), !0); }, _336.prototype.timeCheck = function(_33x, _33y, _33z) { var _340 = null, _341 = this._data.currentStateName, _342 = this._data.model.getState(_341); if (null != _342) { var _343 = _342.timeTable; if (null != _343 && 0 == this._data.animationState) { var _344 = _33x + _33y + _33z; if (this._preCheckedTimeStr != _344) { this._preCheckedTimeStr = _344; var _345 = ''; if (_343.hasOwnProperty(_344) ? _345 = _343[_344] : _343.hasOwnProperty('XX' + _33y + _33z) && (_345 = _343['XX' + _33y + _33z]), '' != _345) { 0; var _346 = _345.split(':'); if (_346.length > 1) { _345 = _346[0]; var _347 = parseFloat(_346[1]); 100 * Math.random() < _347 && (this._data.setAnimationState(2, _345), this._updateFurnitureLayers()); } else this._data.setAnimationState(2, _345), this._updateFurnitureLayers(); } } } } }, _336.prototype.animate = function() { var _348 = null; if (0 != _32v.default.model.furniture.isActive(this._id)) { for (var _349 = 0; _349 < this._sprites.length; _349++) { var _34a = (_34b = this._sprites[_349]).update(); null != _34a && (this._setOffset(_34b, _34a), this._execFrameAction(_34a)); } for (var _34c = !0, _34d = 0, _34e = this._sprites; _34d < _34e.length; _34d++) { var _34b; if (0 == (_34b = _34e[_34d]).isEnd()) { _34c = !1; break; } } _34c && (this._data.setAnimationState(0), this._updateFurnitureLayers(), _32v.default.view.portMain.furnitureLayer.current_bgm_furniture == this && 'standard' == this._data.currentStateName && (_32v.default.view.portMain.furnitureLayer.current_bgm_furniture = null)); } }, _336.prototype._getTextureByName = function(_34f) { var _34g = null, _34h = PIXI.utils.TextureCache[_34f]; return _34h || PIXI.Texture.EMPTY; }, _336.prototype._setOffsetBase = function(_34i) { var _34j = null; 0 == this._type ? (_34i.x = 0, _34i.y = _32u.default.height - _34i.height) : 2 == this._type ? (_34i.x = 297, _34i.y = 0) : 4 == this._type ? (_34i.x = 0, _34i.y = _32u.default.height - _34i.height) : 5 == this._type ? (_34i.x = _32u.default.width - _34i.width, _34i.y = 0) : (_34i.x = 0, _34i.y = 0); }, _336.prototype._setOffset = function(_34k, _34l) { var _34m = null; this._setOffsetBase(_34k); var _34n = _34k.fileName, _34o = this._data.model.getOffset(_34n); null == _34o && (_34o = _34k.getOffset()), _34k.x += _34o.x, _34k.y += _34o.y; }, _336.prototype._updateFurnitureLayers = function() { var _34p = null, _34q = this._data.currentStateName; if (_34q != this._pre_state_name) { this._pre_state_name = _34q; var _34r = this._data.model.getState(_34q); this._reCreate(_34r); } }, _336.prototype._hasLoop = function() { var _34s = null; this._updateFurnitureLayers(); var _34t = this._data.model.getState(this._pre_state_name); return null != _34t && _34t.hasLoop(); }, _336.prototype._reCreate = function(_34u) { var _34v = null; if (this.removeChildren(), this._hit_area_map = null, this._hit_area_updated = !1, this._sprites = [], this._hitAreaLayer = null, null != _34u) { for (var _34w = _34u.layers, _34x = 0; _34x < _34w.length; _34x++) { var _34y = _34w[_34x], _34z = _34y.frames[0], _350 = (_34z.filename, new _32z.FurnitureLayer(_34y)); this._sprites.push(_350), this._setOffset(_350, _34z), this.addChild(_350); } var _351 = _34u.hitArea; if (null != _351) { var _352 = this._getTextureByName(_351.filename); this._hitAreaLayer = new PIXI.Sprite(_352), this._hitAreaLayer.interactive = !0, this._setOffsetBase(this._hitAreaLayer); var _353 = _351.offset; _353 && (this._hitAreaLayer.x += _353[0], this._hitAreaLayer.y += _353[1]), this._hitAreaLayer.alpha = _32w.FurnitureConst.HIT_ALPHA, this.addChild(this._hitAreaLayer); } } }, _336.prototype._execFrameAction = function(_354) { var _355 = null, _356 = this, _357 = _354.getSEID(); null != _357 && _332.SE.play(_357); var _358 = _354.getBGMAction(); if (null != _358 && _32v.default.view.portMain.furnitureLayer.current_bgm_furniture == this) { if ('play' == _358) { var _359 = _32v.default.model.basic.port_bgm_id; _32v.default.sound.bgm.play(_359); } else { if ('start' == _358) { if (this.isRadio()) { if (101 != (_359 = _32v.default.model.basic.port_bgm_id)) new _32x.UserFurnitureRadioAPI().start(function() { var _35a = null; _32v.default.model.basic.setPortBGMID(101), _32v.default.sound.bgm.play(101); }); else _32v.default.sound.bgm.play(101); } else { if (this.isGramo()) { var _35b = function(_35c) { switch (_35c) { case 360: return 237; case 492: return 118; case 556: return 260; } }(this._id); _32v.default.sound.bgm.play(_35b, !1, 0, 'port', function() { var _35d = null; _356.stopGramophone(); }); } } } else 'stop' == _358 && _32v.default.sound.bgm.stop(); } } this._openPopup(_354); var _35e = _354.getStateChangeOption(); null != _35e && this._data.updateBaseStateName(_35e); }, _336.prototype._openPopup = function(_35f) { var _35g = null, _35h = this, _35i = _35f.getPopupOption(); null != _35i && null == this._popupLayer && 0 == _32v.default.scene.now && (_32v.default.scene.isChangingNow() || 1 != _32v.default.friendlyRequest.UI && (this._popupLayer = new _330.FurniturePopupLayer(_35i), _32v.default.view.overLayer.addChild(this._popupLayer), this._popupLayer.show(function() { var _35j = null; _35h._removePopup(); }))); }, _336.prototype._removePopup = function() { var _35k = null; null != this._popupLayer && (null != this._popupLayer.parent && this._popupLayer.parent.removeChild(this._popupLayer), this._popupLayer.dispose(), this._popupLayer = null); }, _336.prototype.dispose = function() { var _35l = null, _35m, _35n, _35o; this.removeChildren(), null === (_35m = this._sprites) || void 0 === _35m || _35m.forEach(function(_35p) { var _35q = null; null == _35p || _35p.destroy(), _35p = null; }), this._sprites = null, null === (_35n = this._hitAreaLayer) || void 0 === _35n || _35n.destroy(), this._hitAreaLayer = null, this._hit_area_map = null, null === (_35o = this._popupLayer) || void 0 === _35o || _35o.dispose(), this._popupLayer = null; }, _336; }(PIXI.Container); _327.Furniture = _333; }, 22164: function(_35r, _35s) { 'use strict'; var _35t = null; var _35u, _35v = this && this.__extends || (_35u = function(_35w, _35x) { var _35y = null; return _35u = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_35z, _360) { var _361 = null; _35z.__proto__ = _360; } || function(_362, _363) { var _364 = null; for (var _365 in _363) Object.prototype.hasOwnProperty.call(_363, _365) && (_362[_365] = _363[_365]); }, _35u(_35w, _35x); }, function(_366, _367) { var _368 = null; if ('function' != typeof _367 && null !== _367) throw new TypeError('Class extends value ' + String(_367) + ' is not a constructor or null'); function _369() { var _36a = null; this.constructor = _366; } _35u(_366, _367), _366.prototype = null === _367 ? Object.create(_367) : (_369.prototype = _367.prototype, new _369()); }); defineModule(_35s); Object.defineProperty(_35s, '__esModule', { 'value': !0 }), _35s.FurnitureLayer = void 0; var _36b = function(_36c) { var _36d = null; function _36e(_36f) { var _36g = null, _36h = _36c.call(this) || this; return _36h._fileName = '', _36h._frame_index = 0, _36h._frameCount = 0, _36h._frameMax = 0, _36h._loopCount = 0, _36h._end = !1, _36h._offset = null, _36h._model = _36f, _36h._updateTexture(), _36h._updateAlpha(), _36h._updateFrameMax(), _36h._updateOffset(), _36h; } return _35v(_36e, _36c), Object.defineProperty(_36e.prototype, 'fileName', { 'get': function() { var _36i = null; return this._fileName; }, 'enumerable': !1, 'configurable': !0 }), _36e.prototype.isEnd = function() { var _36j = null; return this._end; }, _36e.prototype.getOffset = function() { var _36k = null; return this._offset; }, _36e.prototype.reset = function() { var _36l = null; this._frame_index = 0, this._frameCount = 0, this._loopCount = 0, this._end = !1, this._updateTexture(!0), this._updateAlpha(), this._updateFrameMax(); }, _36e.prototype.update = function() { var _36m = null; if (this._end) return null; var _36n = this._model.frames[this._frame_index]; this._frameCount++; var _36o = 0 == this._frame_index && 1 == this._frameCount && 0 == this._loopCount; if (this._frameCount < this._frameMax) return this._updateAlpha(), _36o ? _36n : null; if (this._frame_index + 1 < this._model.frames.length) this._frame_index = this._frame_index + 1, this._frameCount = 0, this._updateTexture(), this._updateAlpha(), this._updateFrameMax(), this._updateOffset(); else { if (this._loopCount += 1, !(this._model.loopMax < 0 || this._loopCount <= this._model.loopMax)) return this._end = !0, _36o ? _36n : null; this._frame_index = 0, this._frameCount = 0, this._updateTexture(), this._updateAlpha(), this._updateFrameMax(), this._updateOffset(); } return 0 == (_36n = this._model.frames[this._frame_index]).frame && (this._end = !0), _36n; }, _36e.prototype._updateTexture = function(_36p) { var _36q = null; void 0 === _36p && (_36p = !1); var _36r = this._model.frames[this._frame_index]; (_36p || this._fileName != _36r.filename) && (this._fileName = _36r.filename, '' == this._fileName ? this.texture = PIXI.Texture.EMPTY : this.texture = this._getTextureByName(this._fileName)); }, _36e.prototype._updateAlpha = function() { var _36s = null, _36t = this._model.frames[this._frame_index]; if (_36t.alpha[0] == _36t.alpha[1]) this.alpha = _36t.alpha[0]; else { var _36u = (_36t.alpha[1] - _36t.alpha[0]) / (this._frameMax - 1), _36v = _36t.alpha[0] + _36u * this._frameCount; _36v = Math.max(0, _36v), this.alpha = Math.min(1, _36v); } }, _36e.prototype._updateFrameMax = function() { var _36w = null, _36x = this._model.frames[this._frame_index]; if (this._frameMax = _36x.frame, _36x.framerand > 0) { var _36y = Math.random() * _36x.framerand; this._frameMax = this._frameMax + Math.floor(_36y); } }, _36e.prototype._updateOffset = function() { var _36z = null; null == this._offset && (this._offset = new PIXI.Point()); var _370 = this._model.frames[this._frame_index].offsetData; null != _370 && _370.length >= 2 && (this._offset.x = _370[0], this._offset.y = _370[1]); }, _36e.prototype._getTextureByName = function(_371) { var _372 = null, _373 = PIXI.utils.TextureCache[_371]; return _373 || PIXI.Texture.EMPTY; }, _36e; }(PIXI.Sprite); _35s.FurnitureLayer = _36b; }, 51963: function(_374, _375, _376) { 'use strict'; var _377 = null; var _378, _379 = this && this.__extends || (_378 = function(_37a, _37b) { var _37c = null; return _378 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_37d, _37e) { var _37f = null; _37d.__proto__ = _37e; } || function(_37g, _37h) { var _37i = null; for (var _37j in _37h) Object.prototype.hasOwnProperty.call(_37h, _37j) && (_37g[_37j] = _37h[_37j]); }, _378(_37a, _37b); }, function(_37k, _37l) { var _37m = null; if ('function' != typeof _37l && null !== _37l) throw new TypeError('Class extends value ' + String(_37l) + ' is not a constructor or null'); function _37n() { var _37o = null; this.constructor = _37k; } _378(_37k, _37l), _37k.prototype = null === _37l ? Object.create(_37l) : (_37n.prototype = _37l.prototype, new _37n()); }), _37p = this && this.__importDefault || function(_37q) { var _37r = null; return _37q && _37q.__esModule ? _37q : { 'default': _37q }; }; defineModule(_375); Object.defineProperty(_375, '__esModule', { 'value': !0 }), _375.FurnitureOutside = void 0; var _37s = _37p(_376(18622)), _37t = function(_37u) { var _37v = null; function _37w() { var _37x = null, _37y = _37u.call(this) || this; return _37y._texture = null, _37y._caches = {}, _37y._img = new PIXI.Sprite(), _37y._img.visible = !1, _37y.addChild(_37y._img), _37y; } return _379(_37w, _37u), _37w.prototype.load = function(_37z, _380) { var _381 = null, _382 = this, _383 = _37s.default.model.furniture.getData(_37z); if (null != _383 && 2 == _383.type) { if (this._id = this._createID(_383), 1 == this._caches.hasOwnProperty(this._id)) return this._texture = this._caches[this._id], void(null != _380 && _380()); var _384 = this._createURL(this._id), _385 = new PIXI.loaders.Loader(); _385.add(this._id, _384), _385.load(function() { var _386 = null; if (_382._img.texture = PIXI.Texture.EMPTY, 1 == _385.resources.hasOwnProperty(_382._id)) { var _387 = _385.resources[_382._id]; null != _387 && null == _387.error && null != _387.texture && (_382._caches[_382._id] = _387.texture, _382._texture = _387.texture); } _380(); }); } else null != _380 && _380(); }, _37w.prototype.update = function() { var _388 = null; null != this._texture && (this._img.texture = this._texture), this._texture = null, this._img.visible = !0; }, _37w.prototype._createID = function(_389) { var _38a = null, _38b, _38c = new Date().getHours(); return _38b = 20 <= _38c || _38c < 4 ? 4 : _38c < 8 ? 5 : _38c < 16 ? 1 : _38c < 18 ? 2 : 3, 'window_bg_' + _389.outside + '-' + _38b; }, _37w.prototype._createURL = function(_38d) { var _38e = null; return _37s.default.settings.path_root + 'resources/furniture/outside/' + _38d + '.png'; }, _37w.prototype.dispose = function() { var _38f = null, _38g, _38h; this.removeChildren(), this._caches = null, null === (_38g = this._img) || void 0 === _38g || _38g.destroy(), this._img = null, null === (_38h = this._texture) || void 0 === _38h || _38h.destroy(), this._texture = null; }, _37w; }(PIXI.Container); _375.FurnitureOutside = _37t; }, 21994: function(_38i, _38j, _38k) { 'use strict'; var _38l = null; var _38m, _38n = this && this.__extends || (_38m = function(_38o, _38p) { var _38q = null; return _38m = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_38r, _38s) { var _38t = null; _38r.__proto__ = _38s; } || function(_38u, _38v) { var _38w = null; for (var _38x in _38v) Object.prototype.hasOwnProperty.call(_38v, _38x) && (_38u[_38x] = _38v[_38x]); }, _38m(_38o, _38p); }, function(_38y, _38z) { var _390 = null; if ('function' != typeof _38z && null !== _38z) throw new TypeError('Class extends value ' + String(_38z) + ' is not a constructor or null'); function _391() { var _392 = null; this.constructor = _38y; } _38m(_38y, _38z), _38y.prototype = null === _38z ? Object.create(_38z) : (_391.prototype = _38z.prototype, new _391()); }), _393 = this && this.__importDefault || function(_394) { var _395 = null; return _394 && _394.__esModule ? _394 : { 'default': _394 }; }; defineModule(_38j); Object.defineProperty(_38j, '__esModule', { 'value': !0 }), _38j.FurniturePopupLayer = void 0; var _396 = _393(_38k(21359)), _397 = _393(_38k(18622)), _398 = _38k(79899), _399 = _38k(70723), _39a = _38k(35380), _39b = _38k(13744), _39c = _38k(55853), _39d = function(_39e) { var _39f = null; function _39g(_39h) { var _39i = null, _39j = _39e.call(this) || this; _39j._data = _39h; var _39k = parseInt(_39h.src), _39l = 'picture', _39m = _39b.SuffixUtil.create(_39k, 'furniture_' + _39l), _39n = _397.default.settings.path_root + 'resources/furniture/'['concat'](_39l, '/').concat(_39h.src, '_').concat(_39m, '.png').concat(_39c.VersionUtil.getResourceVersion(2, _39k)); if (null != PIXI.utils.TextureCache[_39n]) { var _39o = PIXI.utils.TextureCache[_39n]; _39j._img = new PIXI.Sprite(_39o), _39j._img.visible = !1, _39j._centering(); } else _39o = PIXI.Texture.fromImage(_39n), (_39j._img = new PIXI.Sprite(_39o), _39j._img.visible = !1, _39o.baseTexture.once('loaded', function() { var _39p = null; _39j._centering(); })); return _39j.addChild(_39j._img), _39j._clickArea = new _398.AreaBox(0, 16777215), _39j.addChild(_39j._clickArea), _39j; } return _38n(_39g, _39e), _39g.prototype.show = function(_39q) { var _39r = null, _39s = this; void 0 === _39q && (_39q = null), this._onClose = _39q, this._img.visible = !0, _399.SE.play(this._data.se_open), this._clickArea.once(_39a.EventType.CLICK, function() { var _39t = null; _39s._onClose(); }); }, _39g.prototype.hide = function() { var _39u = null; this._img.visible = !1, _399.SE.play(this._data.se_close); }, _39g.prototype.dispose = function() { var _39v = null; this.removeChildren(), this._img.texture.baseTexture.removeAllListeners('loaded'), this._clickArea.removeAllListeners(_39a.EventType.CLICK); }, _39g.prototype._centering = function() { var _39w = null, _39x = Math.floor(_396.default.width / 2 - this._img.width / 2 + this._data.offset_x), _39y = Math.floor(_396.default.height / 2 - this._img.height / 2 + this._data.offset_y); this._img.position.set(_39x, _39y); }, _39g; }(PIXI.Container); _38j.FurniturePopupLayer = _39d; }, 77183: function(_39z, _3a0, _3a1) { 'use strict'; var _3a2 = null; var _3a3 = this && this.__importDefault || function(_3a4) { var _3a5 = null; return _3a4 && _3a4.__esModule ? _3a4 : { 'default': _3a4 }; }; defineModule(_3a0); Object.defineProperty(_3a0, '__esModule', { 'value': !0 }), _3a0.FurnitureUtil = void 0; var _3a6 = _3a3(_3a1(21359)), _3a7 = _3a3(_3a1(18622)), _3a8 = _3a1(89939), _3a9 = (function() { var _3aa = null; function _3ab() {} return _3ab.isAreaHit = function(_3ac, _3ad, _3ae) { var _3af = null; if (null == _3ac) return !1; if (_3ad.x < 0 || _3ad.y < 0 || _3ad.x > _3a6.default.width || _3ad.y > _3a6.default.height) return !1; if (_3ad.x < _3ae.x || _3ae.x + _3ae.width < _3ad.x || _3ad.y < _3ae.y || _3ae.y + _3ae.height < _3ad.y) return !1; var _3ag = Math.floor(_3ad.x) - _3ae.x, _3ah = Math.floor(_3ad.y) - _3ae.y, _3ai = 4 * (_3ag + _3ae.width * _3ah); return !(_3ai + 3 >= _3ac.length) && _3ac[_3ai + 3] > 0; }, _3ab.getCounterBarTextureName = function(_3aj, _3ak, _3al) { var _3am = null; for (var _3an, _3ao = 0, _3ap = 0, _3aq = _3aj.shipid; _3ap < _3aq.length; _3ap++) { if ((_3ar = _3aq[_3ap]).list.indexOf(_3ak) >= 0) { _3ao = _3ar.group; break; } } if (0 == _3ao) for (var _3as = _3a7.default.model.ship.getMst(_3ak), _3at = null == _3as ? '' : _3as.yomi, _3au = 0, _3av = _3aj.shipyomi; _3au < _3av.length; _3au++) { if ((_3ar = _3av[_3au]).list.indexOf(_3at) >= 0) { _3ao = _3ar.group; break; } } for (var _3aw = 0, _3ax = _3aj.timetable; _3aw < _3ax.length; _3aw++) { var _3ar = _3ax[_3aw]; if (!(parseInt(_3ar.time.replace(/\//g, '').replace(/ /g, '').replace(/:/g, '')) <= _3al)) break; _3an = _3ar.list[_3ao] - 1000; } return 1 == _3an ? '' : 'f230_c052_counterBar_'['concat'](_3an, '.png'); }, _3ab.getUmbrellarackTextures = function(_3ay, _3az) { var _3b0 = null, _3b1 = _3a7.default.model.ship.getMst(_3az), _3b2 = null == _3b1 ? '' : _3b1.yomi, _3b3 = null != _3ay.AnimationFlag && _3ay.AnimationFlag; for (var _3b4 = 3, _3b5 = null == _3b1 ? 0 : _3b1.shipTypeID, _3b6 = 0, _3b7 = _3ay.standtype; _3b6 < _3b7.length; _3b6++) { var _3b8 = (_3b9 = _3b7[_3b6]).shipyomi; if (null != _3b8 && _3b8.indexOf(_3b2) >= 0) { _3b4 = _3b9.fileno; break; } if (_3b9.shiptype.indexOf(_3b5) >= 0) { _3b4 = _3b9.fileno; break; } } for (var _3ba, _3bb, _3bc = 'f385_e07'['concat'](_3b4 - 1, '_umbrellarack'), _3bd = 0, _3be = _3ay.umbrellara; _3bd < _3be.length; _3bd++) { var _3b9; if (_3ba = (_3b9 = _3be[_3bd]).shipyomi.indexOf(_3b2) + 1, _3b4 == _3b9.fileno && (_3bb = _3b9.shipyomi.length), _3ba > 0) break; } var _3bf = _3a8.ObjUtil.getObjectArray(_3ay.standard, 'data'), _3bg = []; _3bg.push('' ['concat'](_3bc, '_').concat(_3b4, '_A.png')); for (var _3bh = 1; _3bh < _3bf.length && !(_3bh > _3bb); _3bh++) _3bh == _3ba && _3b3 || _3bg.push('' ['concat'](_3bc, '_').concat(_3b4, '_B').concat(_3bh, '.png')); return _3bg; }, _3ab.getOrangeAndChabudai = function(_3bi, _3bj, _3bk) { var _3bl = null, _3bm = _3a7.default.model.ship.getMst(_3bj); if (null == _3bm) return ''; var _3bn = _3bm.shipTypeID; if (null != _3bi.shiptype) for (var _3bo = 0, _3bp = _3bi.shiptype; _3bo < _3bp.length; _3bo++) { if ((_3bq = _3bp[_3bo]).list.indexOf(_3bn) >= 0) return _3bq.filename; } if (null != _3bi.timetable) for (var _3br = 0, _3bs = _3bi.timetable; _3br < _3bs.length; _3br++) { var _3bq = _3bs[_3br]; if (parseInt(_3bq.time.replace(/\//g, '').replace(/ /g, '').replace(/:/g, '')) <= _3bk) return _3bq.filename; } return _3bi.default.filename; }, _3ab.getMovableTextureByDeck = function(_3bt, _3bu) { var _3bv = null; for (var _3bw = _3bu.getShipList(), _3bx = 0, _3by = _3bt.shipid; _3bx < _3by.length; _3bx++) for (var _3bz = _3by[_3bx], _3c0 = 0, _3c1 = _3bw; _3c0 < _3c1.length; _3c0++) { var _3c2 = _3c1[_3c0]; if (null == _3c2) break; if (_3bz.list.indexOf(_3c2.mstID) >= 0) return _3bz.filename; } return _3bt.default.filename; }, _3ab.getMovableTextureByShip = function(_3c3, _3c4) { var _3c5 = null, _3c6 = _3c4.mstID, _3c7 = _3a7.default.model.ship.getMst(_3c6); if (null == _3c7) return ''; var _3c8 = _3c7.yomi, _3c9 = _3c7.getClassType(), _3ca = _3c7.shipTypeID, _3cb = _3c4.level; if (null != _3c3.shipid) for (var _3cc = 0, _3cd = _3c3.shipid; _3cc < _3cd.length; _3cc++) { if (null != (_3ce = _3cd[_3cc]) && null != _3ce.list && _3ce.list.indexOf(_3c6) >= 0) return _3ce.filename; } if (null != _3c3.shipyomi) for (var _3cf = 0, _3cg = _3c3.shipyomi; _3cf < _3cg.length; _3cf++) { if (null != (_3ce = _3cg[_3cf]) && null != _3ce.list && _3ce.list.indexOf(_3c8) >= 0) return _3ce.filename; } if (null != _3c3.shipclass) for (var _3ch = 0, _3ci = _3c3.shipclass; _3ch < _3ci.length; _3ch++) { if (null != (_3ce = _3ci[_3ch]) && null != _3ce.list && _3ce.list.indexOf(_3c9) >= 0) return _3ce.filename; } if (null != _3c3.shiptype) for (var _3cj = 0, _3ck = _3c3.shiptype; _3cj < _3ck.length; _3cj++) { var _3ce; if (null != (_3ce = _3ck[_3cj]) && null != _3ce.list && _3ce.list.indexOf(_3ca) >= 0) return _3ce.filename; } if (null != _3c3.shiplevel && (null != (_3ce = _3c3.shiplevel) && null != _3ce.morethan && _3cb >= _3ce.morethan)) return _3ce.filename; return _3c3.default.filename; }, _3ab.getMovableLayerIndex = function(_3cl) { var _3cm = null; return null != _3cl['layer-index'] ? _3cl['layer-index'] : 1; }, _3ab; }()); _3a0.FurnitureUtil = _3a9; }, 53150: function(_3cn, _3co, _3cp) { 'use strict'; var _3cq = null; var _3cr, _3cs = this && this.__extends || (_3cr = function(_3ct, _3cu) { var _3cv = null; return _3cr = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_3cw, _3cx) { var _3cy = null; _3cw.__proto__ = _3cx; } || function(_3cz, _3d0) { var _3d1 = null; for (var _3d2 in _3d0) Object.prototype.hasOwnProperty.call(_3d0, _3d2) && (_3cz[_3d2] = _3d0[_3d2]); }, _3cr(_3ct, _3cu); }, function(_3d3, _3d4) { var _3d5 = null; if ('function' != typeof _3d4 && null !== _3d4) throw new TypeError('Class extends value ' + String(_3d4) + ' is not a constructor or null'); function _3d6() { var _3d7 = null; this.constructor = _3d3; } _3cr(_3d3, _3d4), _3d3.prototype = null === _3d4 ? Object.create(_3d4) : (_3d6.prototype = _3d4.prototype, new _3d6()); }); defineModule(_3co); Object.defineProperty(_3co, '__esModule', { 'value': !0 }), _3co.FurnitureView = void 0; var _3d8 = _3cp(14777), _3d9 = _3cp(57616), _3da = _3cp(65890), _3db = _3cp(51963), _3dc = _3cp(59490), _3dd = _3cp(6110), _3de = _3cp(58410), _3df = _3cp(4901), _3dg = function(_3dh) { var _3di = null; function _3dj() { var _3dk = null, _3dl = _3dh.call(this) || this; return _3dl._animationFlg = !1, _3dl._timeChkCount = 0, _3dl.current_bgm_furniture = null, _3dl.animate = function() { var _3dm = null; if (_3dl._animationFlg) { if (_3dl._timeChkCount == _3d8.FurnitureConst.TIME_CHK_COUNT_MAX) { _3dl._timeChkCount = 0; var _3dn = new Date(), _3do = _3d9.MathUtil.zeroPadding(_3dn.getHours(), 2), _3dp = _3d9.MathUtil.zeroPadding(_3dn.getMinutes(), 2), _3dq = _3d9.MathUtil.zeroPadding(_3dn.getSeconds(), 2); _3dl._Floor.timeCheck(_3do, _3dp, _3dq), _3dl._Wall.timeCheck(_3do, _3dp, _3dq), _3dl._Window.timeCheck(_3do, _3dp, _3dq), _3dl._Object.timeCheck(_3do, _3dp, _3dq), _3dl._Chest.timeCheck(_3do, _3dp, _3dq), _3dl._Desk.timeCheck(_3do, _3dp, _3dq); } _3dl._timeChkCount++, requestAnimationFrame(_3dl.animate), _3dl._Floor.animate(), _3dl._Wall.animate(), _3dl._Window.animate(), _3dl._Object.animate(), _3dl._Chest.animate(), _3dl._Desk.animate(); } else _3dl._kaikyo.finalize(), _3dl._shogo.stopAnimation(), _3dl._Floor.restart(), _3dl._Wall.restart(), _3dl._Window.restart(), _3dl._Object.restart(), _3dl._Chest.restart(), _3dl._Desk.restart(); }, _3dl._Floor = new _3de.Furniture(0), _3dl._Wall = new _3de.Furniture(1), _3dl._Window = new _3de.Furniture(2), _3dl._Object = new _3de.Furniture(3), _3dl._Chest = new _3de.Furniture(4), _3dl._Desk = new _3de.Furniture(5), _3dl._outside = new _3db.FurnitureOutside(), _3dl._outside.x = 294, _3dl._sakura = new _3da.Sakura(), _3dl._isSakura = !1, _3dl.addChild(_3dl._Floor), _3dl.addChild(_3dl._Wall), _3dl.addChild(_3dl._outside), _3dl.addChild(_3dl._Window), _3dl.addChild(_3dl._Object), _3dl.addChild(_3dl._sakura), _3dl.addChild(_3dl._Chest), _3dl.addChild(_3dl._Desk), _3dl._kaikyo = new _3dc.Kaikyo(), _3dl.addChild(_3dl._kaikyo), _3dl._shogo = new _3dd.Shogo(), _3dl.addChild(_3dl._shogo), _3dl; } return _3cs(_3dj, _3dh), Object.defineProperty(_3dj.prototype, 'outside', { 'get': function() { var _3dr = null; return this._outside; }, 'enumerable': !1, 'configurable': !0 }), _3dj.prototype.activate = function() { var _3ds = null; this.animationFlag = !0; }, _3dj.prototype.deactivate = function() { var _3dt = null; this.animationFlag = !1; }, Object.defineProperty(_3dj.prototype, 'animationFlag', { 'set': function(_3du) { var _3dv = null; this._animationFlg != _3du && (this._animationFlg = _3du, _3du && (this._Floor.restart(), this._Wall.restart(), this._Window.restart(), this._Object.restart(), this._Chest.restart(), this._Desk.restart(), this.animate())); }, 'enumerable': !1, 'configurable': !0 }), _3dj.prototype.updateAll = function(_3dw) { var _3dx = null; if (this._isSakura = !1, this._Floor.update(_3dw[0]), this._Wall.update(_3dw[1]), this._Window.update(_3dw[2]), this._Object.update(_3dw[3]), this._Chest.update(_3dw[4], this._kaikyo, this._shogo), this._Desk.update(_3dw[5]), this._outside.update(), 235 == _3dw[3] && (this._isSakura = !0), this._isSakura) { var _3dy = new PIXI.Rectangle(-600, -240, 600, 1200); this._sakura.startAnimation(_3dy, 4); } else this._sakura.stopAnimation(4); }, _3dj.prototype.onMouseMove = function(_3dz) { var _3e0 = null, _3e1 = _3dz.getLocalPosition(this), _3e2 = !1; return _3e2 = (_3e2 = (_3e2 = (_3e2 = (_3e2 = (_3e2 = _3e2 || this._Floor.isHit(_3e1)) || this._Wall.isHit(_3e1)) || this._Window.isHit(_3e1)) || this._Object.isHit(_3e1)) || this._Chest.isHit(_3e1)) || this._Desk.isHit(_3e1); }, _3dj.prototype.onClick = function(_3e3) { var _3e4 = null; for (var _3e5 = _3e3.getLocalPosition(this), _3e6 = 0, _3e7 = this._getFurnitures(); _3e6 < _3e7.length; _3e6++) { var _3e8 = _3e7[_3e6]; if (_3e8.isHit(_3e5)) { if (_3e8.isJukeBox()) { new _3df.JukeBoxTask(_3e8.id).JukeStart(); break; } return (_3e8.isRadio() || _3e8.isGramo()) && (this.current_bgm_furniture = _3e8, this.stopGramophone()), _3e8.clickAction(), !0; } } return !1; }, _3dj.prototype.stopGramophone = function() { var _3e9 = null; this._getFurnitures().forEach(function(_3ea, _3eb, _3ec) { var _3ed = null; _3ea.isGramo() && _3ea.stopGramophone(); }); }, _3dj.prototype._getFurnitures = function() { var _3ee = null; return [this._Desk, this._Chest, this._Object, this._Window, this._Wall, this._Floor]; }, _3dj.prototype.dispose = function() { var _3ef = null, _3eg, _3eh, _3ei, _3ej, _3ek, _3el, _3em, _3en, _3eo, _3ep, _3eq; this.removeChildren(), null === (_3eg = this._outside) || void 0 === _3eg || _3eg.dispose(), this._outside = null, null === (_3eh = this._Floor) || void 0 === _3eh || _3eh.dispose(), this._Floor = null, null === (_3ei = this._Wall) || void 0 === _3ei || _3ei.dispose(), this._Wall = null, null === (_3ej = this._Window) || void 0 === _3ej || _3ej.dispose(), this._Window = null, null === (_3ek = this._Object) || void 0 === _3ek || _3ek.dispose(), this._Object = null, null === (_3el = this._Chest) || void 0 === _3el || _3el.dispose(), this._Chest = null, null === (_3em = this._Desk) || void 0 === _3em || _3em.dispose(), this._Desk = null, null === (_3en = this._sakura) || void 0 === _3en || _3en.dispose(), this._sakura = null, null === (_3eo = this._kaikyo) || void 0 === _3eo || _3eo.finalize(), this._kaikyo = null, null === (_3ep = this._shogo) || void 0 === _3ep || _3ep.dispose(), this._shogo = null, null === (_3eq = this.current_bgm_furniture) || void 0 === _3eq || _3eq.dispose(), this.current_bgm_furniture = null; }, _3dj; }(PIXI.Container); _3co.FurnitureView = _3dg; }, 59490: function(_3er, _3es, _3et) { 'use strict'; var _3eu = null; var _3ev, _3ew = this && this.__extends || (_3ev = function(_3ex, _3ey) { var _3ez = null; return _3ev = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_3f0, _3f1) { var _3f2 = null; _3f0.__proto__ = _3f1; } || function(_3f3, _3f4) { var _3f5 = null; for (var _3f6 in _3f4) Object.prototype.hasOwnProperty.call(_3f4, _3f6) && (_3f3[_3f6] = _3f4[_3f6]); }, _3ev(_3ex, _3ey); }, function(_3f7, _3f8) { var _3f9 = null; if ('function' != typeof _3f8 && null !== _3f8) throw new TypeError('Class extends value ' + String(_3f8) + ' is not a constructor or null'); function _3fa() { var _3fb = null; this.constructor = _3f7; } _3ev(_3f7, _3f8), _3f7.prototype = null === _3f8 ? Object.create(_3f8) : (_3fa.prototype = _3f8.prototype, new _3fa()); }); defineModule(_3es); Object.defineProperty(_3es, '__esModule', { 'value': !0 }), _3es.Kaikyo = void 0; var _3fc = _3et(11997), _3fd = function(_3fe) { var _3ff = null; function _3fg() { var _3fh = null; return _3fe.call(this) || this; } return _3ew(_3fg, _3fe), _3fg.prototype.initialize = function(_3fi) { var _3fj = null, _3fk; switch (this.removeChildren(), _3fi.type) { case 1: _3fk = _3fc.COMMON_MISC.getTexture(124); break; case 2: _3fk = _3fc.COMMON_MISC.getTexture(125); break; case 3: _3fk = _3fc.COMMON_MISC.getTexture(126); break; default: _3fk = PIXI.Texture.EMPTY; } var _3fl = new PIXI.Sprite(_3fk); _3fl.x = _3fi.pos.x, _3fl.y = _3fi.pos.y, this.addChild(_3fl); }, _3fg.prototype.finalize = function() { var _3fm = null; this.removeChildren(); }, _3fg; }(PIXI.Container); _3es.Kaikyo = _3fd; }, 6110: function(_3fn, _3fo, _3fp) { 'use strict'; var _3fq = null; var _3fr, _3fs = this && this.__extends || (_3fr = function(_3ft, _3fu) { var _3fv = null; return _3fr = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_3fw, _3fx) { var _3fy = null; _3fw.__proto__ = _3fx; } || function(_3fz, _3g0) { var _3g1 = null; for (var _3g2 in _3g0) Object.prototype.hasOwnProperty.call(_3g0, _3g2) && (_3fz[_3g2] = _3g0[_3g2]); }, _3fr(_3ft, _3fu); }, function(_3g3, _3g4) { var _3g5 = null; if ('function' != typeof _3g4 && null !== _3g4) throw new TypeError('Class extends value ' + String(_3g4) + ' is not a constructor or null'); function _3g6() { var _3g7 = null; this.constructor = _3g3; } _3fr(_3g3, _3g4), _3g3.prototype = null === _3g4 ? Object.create(_3g4) : (_3g6.prototype = _3g4.prototype, new _3g6()); }); defineModule(_3fo); Object.defineProperty(_3fo, '__esModule', { 'value': !0 }), _3fo.Shogo = void 0; var _3g8 = _3fp(77276), _3g9 = function(_3ga) { var _3gb = null; function _3gc() { var _3gd = null, _3ge = _3ga.call(this) || this; return _3ge._tween = null, _3ge._shogo_anime = [ [{ 'texture': 0, 'time': 100 }, { 'texture': 4, 'time': 100 }, { 'texture': 13, 'time': 100 }, { 'texture': 14, 'time': 200 }, { 'texture': 13, 'time': 100 }, { 'texture': 4, 'time': 100 }, { 'texture': 0, 'time': 500 }, { 'texture': 15, 'time': 100 }, { 'texture': 16, 'time': 100 }, { 'texture': 17, 'time': 100 }, { 'texture': 18, 'time': 100 }, { 'texture': 19, 'time': 100 }, { 'texture': 20, 'time': 100 }, { 'texture': 5, 'time': 100 }, { 'texture': 6, 'time': 100 }, { 'texture': 7, 'time': 100 }, { 'texture': 8, 'time': 100 }, { 'texture': 9, 'time': 100 }, { 'texture': 10, 'time': 100 }, { 'texture': 11, 'time': 100 }, { 'texture': 12, 'time': 100 }, { 'texture': 0, 'time': 5400 }], [{ 'texture': 0, 'time': 100 }, { 'texture': 21, 'time': 100 }, { 'texture': 22, 'time': 100 }, { 'texture': 23, 'time': 200 }, { 'texture': 22, 'time': 100 }, { 'texture': 21, 'time': 100 }, { 'texture': 0, 'time': 500 }, { 'texture': 24, 'time': 100 }, { 'texture': 25, 'time': 100 }, { 'texture': 26, 'time': 100 }, { 'texture': 27, 'time': 100 }, { 'texture': 25, 'time': 100 }, { 'texture': 24, 'time': 100 }, { 'texture': 0, 'time': 6200 }], [{ 'texture': 0, 'time': 100 }, { 'texture': 1, 'time': 100 }, { 'texture': 2, 'time': 100 }, { 'texture': 3, 'time': 200 }, { 'texture': 2, 'time': 100 }, { 'texture': 1, 'time': 100 }, { 'texture': 0, 'time': 7300 }], [{ 'texture': 0, 'time': 0 }] ], _3ge._NowPlaying = !1, _3ge; } return _3fs(_3gc, _3ga), _3gc.prototype.startAnimation = function(_3gf, _3gg) { var _3gh = null; this._shogo_type = _3gg, null != this._shogo && this._shogo.position.set(_3gf.x, _3gf.y), this._NowPlaying || (this._NowPlaying = !0, this._shogo_anime_frm = 0, this._shogo = new PIXI.Sprite(), this._shogo.texture = _3g8.COMMON_SHOGO.getTexture(this._shogo_anime[this._shogo_type][this._shogo_anime_frm].texture), this._shogo.position.set(_3gf.x, _3gf.y), this.addChild(this._shogo), 0 != this._shogo_anime[this._shogo_type][0].time && this._animate()); }, _3gc.prototype.stopAnimation = function() { var _3gi = null; this._NowPlaying && -1 != this._shogo_type && (null != this._tween && this._tween.setPaused(!0), this._NowPlaying = !1, this.removeChild(this._shogo), this._shogo = null, this._tween = null); }, _3gc.prototype._animate = function() { var _3gj = null, _3gk = this; if (0 != this._NowPlaying) { var _3gl = this._shogo_anime[this._shogo_type][this._shogo_anime_frm].time, _3gm = this._shogo_anime[this._shogo_type][this._shogo_anime_frm].texture; ++this._shogo_anime_frm == this._shogo_anime[this._shogo_type].length && (this._shogo_anime_frm = 0), this._shogo.texture = _3g8.COMMON_SHOGO.getTexture(_3gm), this._tween = createjs.Tween.get(this._shogo.texture).wait(_3gl).call(function() { var _3gn = null; _3gk._tween = null, _3gk._animate(); }); } }, _3gc.prototype.dispose = function() { var _3go = null, _3gp, _3gq; this.removeChildren(), null === (_3gp = this._tween) || void 0 === _3gp || _3gp.setPaused(!0), this._tween = null, null === (_3gq = this._shogo) || void 0 === _3gq || _3gq.destroy(), this._shogo = null, this._shogo_anime = null; }, _3gc; }(PIXI.Container); _3fo.Shogo = _3g9; }, 23007: function(_3gr, _3gs, _3gt) { 'use strict'; var _3gu = null; var _3gv, _3gw = this && this.__extends || (_3gv = function(_3gx, _3gy) { var _3gz = null; return _3gv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_3h0, _3h1) { var _3h2 = null; _3h0.__proto__ = _3h1; } || function(_3h3, _3h4) { var _3h5 = null; for (var _3h6 in _3h4) Object.prototype.hasOwnProperty.call(_3h4, _3h6) && (_3h3[_3h6] = _3h4[_3h6]); }, _3gv(_3gx, _3gy); }, function(_3h7, _3h8) { var _3h9 = null; if ('function' != typeof _3h8 && null !== _3h8) throw new TypeError('Class extends value ' + String(_3h8) + ' is not a constructor or null'); function _3ha() { var _3hb = null; this.constructor = _3h7; } _3gv(_3h7, _3h8), _3h7.prototype = null === _3h8 ? Object.create(_3h8) : (_3ha.prototype = _3h8.prototype, new _3ha()); }); defineModule(_3gs); Object.defineProperty(_3gs, '__esModule', { 'value': !0 }), _3gs.BGMList = void 0; var _3hc = _3gt(8744), _3hd = function(_3he) { var _3hf = null; function _3hg(_3hh, _3hi, _3hj, _3hk) { var _3hl = null, _3hm = _3he.call(this) || this; return _3hm._name = new _3hc.TextBox(21, 4204800), _3hm._name.text = '', _3hm._name.position.set(44 + _3hi, 30 * _3hh + 95 + _3hj), _3hm._name.alpha = 1, _3hm._name.mask = _3hk[0], _3hm.addChild(_3hm._name), _3hm._param = new _3hc.TextBox(14, 4204800), _3hm._param.text = '', _3hm._param.style.letterSpacing = -1, _3hm._param.position.set(400 + _3hi, 30 * _3hh + 99 + _3hj), _3hm._param.alpha = 1, _3hm._param.mask = _3hk[1], _3hm.addChild(_3hm._param), _3hm._price = new _3hc.TextBox(22, 13892095), _3hm._price.text = '', _3hm._price.position.set(618 + _3hi, 30 * _3hh + 93 + _3hj), _3hm._price.anchor.set(0.5, 0), _3hm._price.alpha = 1, _3hm._price.mask = _3hk[2], _3hm.addChild(_3hm._price), _3hm._btn = new PIXI.Graphics(), _3hm._btn.beginFill(43639), _3hm._btn.drawRect(42 + _3hi, 30 * _3hh + 91 + _3hj, 625, 28), _3hm._btn.alpha = 0.001, _3hm._btn.interactive = !0, _3hm.addChild(_3hm._btn), _3hm; } return _3gw(_3hg, _3he), Object.defineProperty(_3hg.prototype, 'Btn', { 'get': function() { var _3hn = null; return this._btn; }, 'enumerable': !1, 'configurable': !0 }), _3hg.prototype.playFadeInOut = function(_3ho, _3hp) { var _3hq = null; this._tween = null, this._tween = createjs.Tween.get(this).to({ 'alpha': 1 - _3ho }, 0).to({ 'alpha': _3ho }, _3hp); }, _3hg.prototype.setText = function(_3hr) { var _3hs = null; this._name.text = _3hr.api_name, this._param.text = _3hr.api_description, this._price.text = _3hr.api_use_coin + ''; }, _3hg.prototype.dispose = function() { var _3ht = null; this.removeChildren(), this._name.destroy(), this._param.destroy(), this._price.destroy(), this._tween && (this._tween.setPaused(!0), this._tween = null); }, _3hg; }(PIXI.Container); _3gs.BGMList = _3hd; }, 60674: function(_3hu, _3hv, _3hw) { 'use strict'; var _3hx = null; var _3hy, _3hz = this && this.__extends || (_3hy = function(_3i0, _3i1) { var _3i2 = null; return _3hy = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_3i3, _3i4) { var _3i5 = null; _3i3.__proto__ = _3i4; } || function(_3i6, _3i7) { var _3i8 = null; for (var _3i9 in _3i7) Object.prototype.hasOwnProperty.call(_3i7, _3i9) && (_3i6[_3i9] = _3i7[_3i9]); }, _3hy(_3i0, _3i1); }, function(_3ia, _3ib) { var _3ic = null; if ('function' != typeof _3ib && null !== _3ib) throw new TypeError('Class extends value ' + String(_3ib) + ' is not a constructor or null'); function _3id() { var _3ie = null; this.constructor = _3ia; } _3hy(_3ia, _3ib), _3ia.prototype = null === _3ib ? Object.create(_3ib) : (_3id.prototype = _3ib.prototype, new _3id()); }), _3if = this && this.__importDefault || function(_3ig) { var _3ih = null; return _3ig && _3ig.__esModule ? _3ig : { 'default': _3ig }; }; defineModule(_3hv); Object.defineProperty(_3hv, '__esModule', { 'value': !0 }), _3hv.JukeBoxConfirm = void 0; var _3ii = _3if(_3hw(18622)), _3ij = _3hw(8744), _3ik = _3hw(47535), _3il = function(_3im) { var _3in = null; function _3io(_3ip) { var _3iq = null, _3ir = _3im.call(this) || this; return _3ir._coin = _3ii.default.model.useItem.getCount(44), _3ir._furnitureJukeBoxBGMLineModel = _3ip, _3ir; } return _3hz(_3io, _3im), Object.defineProperty(_3io.prototype, 'btn_kagu', { 'get': function() { var _3is = null; return this._btn_kagu; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_3io.prototype, 'btn_back3', { 'get': function() { var _3it = null; return this._btn_back3; }, 'enumerable': !1, 'configurable': !0 }), _3io.prototype.init = function() { var _3iu = null, _3iv = 301, _3iw = 232; this._pop_jukeboxbg2 = new PIXI.Sprite(_3ik.JUKEBOX_COMMON.getTexture(18)), this._pop_jukeboxbg2.position.set(_3iv, _3iw), this.addChild(this._pop_jukeboxbg2), 1 == this._furnitureJukeBoxBGMLineModel.api_bgm_flag && (this._jukebox_icon_bgm = new PIXI.Sprite(_3ik.JUKEBOX_COMMON.getTexture(10)), this._jukebox_icon_bgm.position.set(469, 305), this.addChild(this._jukebox_icon_bgm)), this._bgm_name = new _3ij.TextBox(17, 4473924), this._bgm_name.position.set(658, 301), this._bgm_name.text = this._furnitureJukeBoxBGMLineModel.api_name + '', this.addChild(this._bgm_name), this._bgm_coin_price = new _3ij.TextBox(17, 4473924), this._bgm_coin_price.position.set(746, 340), this._bgm_coin_price.anchor.set(1, 0), this._bgm_coin_price.text = this._furnitureJukeBoxBGMLineModel.api_use_coin + '', this.addChild(this._bgm_coin_price), this._bgm_coin_now = new _3ij.TextBox(17, 4473924), this._bgm_coin_now.position.set(746, 379), this._bgm_coin_now.anchor.set(1, 0), this._bgm_coin_now.text = this._coin + '', this.addChild(this._bgm_coin_now), this._coin < this._furnitureJukeBoxBGMLineModel.api_use_coin ? (this._bgm_coin_now.style.fill = 14483456, this._btn_kagu = new PIXI.Sprite(_3ik.JUKEBOX_COMMON.getTexture(3)), this._btn_kagu.interactive = !1) : (this._arrow_mini = new PIXI.Sprite(_3ik.JUKEBOX_COMMON.getTexture(0)), this._arrow_mini.position.set(751, 385), this.addChild(this._arrow_mini), this._bgm_coin_after = new _3ij.TextBox(17, 4473924), this._bgm_coin_after.position.set(836, 379), this._bgm_coin_after.anchor.set(1, 0), this._bgm_coin_after.text = this._coin - this._furnitureJukeBoxBGMLineModel.api_use_coin + '', this.addChild(this._bgm_coin_after), this._btn_kagu = new PIXI.Sprite(_3ik.JUKEBOX_COMMON.getTexture(2)), this._btn_kagu.interactive = this._btn_kagu.buttonMode = !0), this._btn_kagu.position.set(370, 412), this.addChild(this._btn_kagu), this._btn_back3 = new PIXI.Sprite(_3ik.JUKEBOX_COMMON.getTexture(1)), this._btn_back3.interactive = this._btn_back3.buttonMode = !0, this._btn_back3.position.set(689, 412), this.addChild(this._btn_back3); }, _3io.prototype.discard = function() { var _3ix = null; this.removeChildren(), this._bgm_name.destroy(), this._bgm_coin_price.destroy(), this._bgm_coin_now.destroy(), this._bgm_coin_after && this._bgm_coin_after.destroy(); }, _3io; }(PIXI.Container); _3hv.JukeBoxConfirm = _3il; }, 87436: function(_3iy, _3iz, _3j0) { 'use strict'; var _3j1 = null; var _3j2, _3j3 = this && this.__extends || (_3j2 = function(_3j4, _3j5) { var _3j6 = null; return _3j2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_3j7, _3j8) { var _3j9 = null; _3j7.__proto__ = _3j8; } || function(_3ja, _3jb) { var _3jc = null; for (var _3jd in _3jb) Object.prototype.hasOwnProperty.call(_3jb, _3jd) && (_3ja[_3jd] = _3jb[_3jd]); }, _3j2(_3j4, _3j5); }, function(_3je, _3jf) { var _3jg = null; if ('function' != typeof _3jf && null !== _3jf) throw new TypeError('Class extends value ' + String(_3jf) + ' is not a constructor or null'); function _3jh() { var _3ji = null; this.constructor = _3je; } _3j2(_3je, _3jf), _3je.prototype = null === _3jf ? Object.create(_3jf) : (_3jh.prototype = _3jf.prototype, new _3jh()); }), _3jj = this && this.__importDefault || function(_3jk) { var _3jl = null; return _3jk && _3jk.__esModule ? _3jk : { 'default': _3jk }; }; defineModule(_3iz); Object.defineProperty(_3iz, '__esModule', { 'value': !0 }), _3iz.JukeBoxDisp = void 0; var _3jm = _3jj(_3j0(21359)), _3jn = _3j0(8744), _3jo = _3j0(47535), _3jp = _3j0(35380), _3jq = function(_3jr) { var _3js = null; function _3jt(_3ju) { var _3jv = null, _3jw = _3jr.call(this) || this; return _3jw._tween = new Array(2), _3jw._textScrollEnable = !0, _3jw._onChibiClick = function() { var _3jx = null; _3jw._textScrollEnable && !_3jw._musicChibiJumping && (_3jw._musicChibiJumping = !0, _3jw._tween[4] = createjs.Tween.get(_3jw._musicChibi).to({ 'y': _3jw._offset_y + 144.5 }, 1).to({ 'y': _3jw._offset_y + 144.5 - 48 }, 250, createjs.Ease.cubicOut).to({ 'y': _3jw._offset_y + 144.5 }, 250, createjs.Ease.cubicIn).call(function() { var _3jy = null; _3jw._tween[4] = null, _3jw._musicChibiJumping = !1; })); }, _3jw._furnitureJukeBoxBGMLineModel = _3ju, _3jw._textScrollEnable = !0, _3jw; } return _3j3(_3jt, _3jr), Object.defineProperty(_3jt.prototype, 'jukebox_close', { 'get': function() { var _3jz = null; return this._close; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_3jt.prototype, 'jukebox_btn_bgm', { 'get': function() { var _3k0 = null; return this._btn_bgm; }, 'enumerable': !1, 'configurable': !0 }), _3jt.prototype.init = function() { var _3k1 = null; this._offset_x = 148, this._offset_y = 264, this._bg = new PIXI.Sprite(_3jo.JUKEBOX_COMMON.getTexture(5)), this._bg.position.set(this._offset_x, this._offset_y), this.addChild(this._bg), this._close = new PIXI.Sprite(_3jo.JUKEBOX_COMMON.getTexture(9)), this._close.position.set(this._offset_x + 892, this._offset_y + 4), this._close.interactive = this._close.buttonMode = !0, this.addChild(this._close), 1 == this._furnitureJukeBoxBGMLineModel.api_bgm_flag && (this._btn_bgm = new PIXI.Sprite(_3jo.JUKEBOX_COMMON.getTexture(6)), this._btn_bgm.position.set(this._offset_x + 639, this._offset_y - 4), this._btn_bgm.interactive = this._btn_bgm.buttonMode = !0, this.addChild(this._btn_bgm)), this._text_mask = new PIXI.Graphics(), this._text_mask.beginFill(11184810), this._text_mask.drawRect(this._offset_x + 216, this._offset_y + 52, 510, 22), this._text_mask.endFill(), this.addChild(this._text_mask), this._text = new _3jn.TextBox(19, 4473924), this._text.mask = this._text_mask, this._text.position.set(_3jm.default.width, this._offset_y + 51), this._text.anchor.set(0.5, 0), this._text.text = '「' + this._furnitureJukeBoxBGMLineModel.api_name + '」 リクエスト中♪', this.addChild(this._text), this._musicChibi = new PIXI.Sprite(_3jo.JUKEBOX_COMMON.getTexture(12)), this._musicChibi.position.set(this._offset_x + 36.5, this._offset_y + 144.5), this._musicChibi.anchor.set(0.5, 0.5), this._musicChibi.interactive = !0, this.addChild(this._musicChibi); }, _3jt.prototype.text_scroll = function() { var _3k2 = null; this._textScrollEnable && (this._tween[0] = createjs.Tween.get(this._text, { 'loop': !0 }).to({ 'x': 1138 }, 1).to({ 'x': 613 }, 5000).wait(1000).to({ 'x': 88 }, 5000)); }, _3jt.prototype.musicChibiAnime = function() { var _3k3 = null; this._musicChibiMove(), this._musicChibiTexture(), this._musicChibiRot(), this._musicChibi.on(_3jp.EventType.CLICK, this._onChibiClick), this._musicChibiJumping = !1; }, _3jt.prototype._musicChibiMove = function() { var _3k4 = null, _3k5 = this; this._textScrollEnable && (this._tween[1] = createjs.Tween.get(this._musicChibi, { 'loop': !0 }).to({ 'x': 867, 'width': 94, 'height': 82 }, 1).to({ 'x': 232 }, 5000).to({ 'width': 1 }, 500).call(function() { var _3k6 = null; _3k5._musicChibi.scale.x = -1, _3k5._musicChibi.width = 1; }).to({ 'width': 94 }, 500).to({ 'x': 867 }, 5000).to({ 'width': 1 }, 500).call(function() { var _3k7 = null; _3k5._musicChibi.scale.x = 1, _3k5._musicChibi.width = 1; }).to({ 'width': 94 }, 500)); }, _3jt.prototype._musicChibiTexture = function() { var _3k8 = null, _3k9 = this; this._textScrollEnable && (this._tween[2] = createjs.Tween.get(this._musicChibi, { 'loop': !0 }).wait(250).call(function() { var _3ka = null; _3k9._musicChibi.texture = _3jo.JUKEBOX_COMMON.getTexture(12); }).wait(250).call(function() { var _3kb = null; _3k9._musicChibi.texture = _3jo.JUKEBOX_COMMON.getTexture(13); }).wait(250).call(function() { var _3kc = null; _3k9._musicChibi.texture = _3jo.JUKEBOX_COMMON.getTexture(14); }).wait(250).call(function() { var _3kd = null; _3k9._musicChibi.texture = _3jo.JUKEBOX_COMMON.getTexture(13); })); }, _3jt.prototype._musicChibiRot = function() { var _3ke = null; this._textScrollEnable && (this._tween[3] = createjs.Tween.get(this._musicChibi, { 'loop': !0 }).to({ 'rotation': 0.05 }, 1).wait(249).to({ 'rotation': -0.05 }, 1).wait(249)); }, _3jt.prototype.discard = function() { var _3kf = null; this._musicChibi.off(_3jp.EventType.CLICK, this._onChibiClick), this._textScrollEnable = !1; for (var _3kg = 0; _3kg < this._tween.length; _3kg++) null != this._tween[_3kg] && (this._tween[_3kg].setPaused(!0), this._tween[_3kg].removeAllEventListeners()); this.removeChildren(), this._text.destroy(); }, _3jt; }(PIXI.Container); _3iz.JukeBoxDisp = _3jq; }, 30567: function(_3kh, _3ki, _3kj) { 'use strict'; var _3kk = null; var _3kl, _3km = this && this.__extends || (_3kl = function(_3kn, _3ko) { var _3kp = null; return _3kl = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_3kq, _3kr) { var _3ks = null; _3kq.__proto__ = _3kr; } || function(_3kt, _3ku) { var _3kv = null; for (var _3kw in _3ku) Object.prototype.hasOwnProperty.call(_3ku, _3kw) && (_3kt[_3kw] = _3ku[_3kw]); }, _3kl(_3kn, _3ko); }, function(_3kx, _3ky) { var _3kz = null; if ('function' != typeof _3ky && null !== _3ky) throw new TypeError('Class extends value ' + String(_3ky) + ' is not a constructor or null'); function _3l0() { var _3l1 = null; this.constructor = _3kx; } _3kl(_3kx, _3ky), _3kx.prototype = null === _3ky ? Object.create(_3ky) : (_3l0.prototype = _3ky.prototype, new _3l0()); }); defineModule(_3ki); Object.defineProperty(_3ki, '__esModule', { 'value': !0 }), _3ki.JukeBoxList = void 0; var _3l2 = _3kj(47535), _3l3 = _3kj(23007), _3l4 = _3kj(35380), _3l5 = function(_3l6) { var _3l7 = null; function _3l8() { var _3l9 = null; return _3l6.call(this) || this; } return _3km(_3l8, _3l6), Object.defineProperty(_3l8.prototype, 'jukebox_table', { 'get': function() { var _3la = null; return this._table3; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_3l8.prototype, 'jukebox_btn_up2', { 'get': function() { var _3lb = null; return this._btn_up2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_3l8.prototype, 'jukebox_btn_down2', { 'get': function() { var _3lc = null; return this._btn_down2; }, 'enumerable': !1, 'configurable': !0 }), _3l8.prototype.init = function() { var _3ld = null, _3le = 10, _3lf = 194; this._table3 = new PIXI.Sprite(_3l2.JUKEBOX_COMMON.getTexture(11)), this._table3.position.set(_3le, _3lf), this._table3.alpha = 0, this._table3.interactive = !0, this.addChild(this._table3), this._param_mask = new Array(3), this._param_mask[0] = new PIXI.Graphics(), this._param_mask[0].beginFill(16777215), this._param_mask[0].drawRect(43, 286, 358, 150), this._param_mask[0].endFill(), this.addChild(this._param_mask[0]), this._param_mask[1] = new PIXI.Graphics(), this._param_mask[1].beginFill(16777215), this._param_mask[1].drawRect(405, 286, 166, 150), this._param_mask[1].endFill(), this.addChild(this._param_mask[1]), this._param_mask[2] = new PIXI.Graphics(), this._param_mask[2].beginFill(16777215), this._param_mask[2].drawRect(575, 286, 100, 150), this._param_mask[2].endFill(), this.addChild(this._param_mask[2]), this._bgmList = []; for (var _3lg = 0; _3lg < 5; _3lg++) { var _3lh = new _3l3.BGMList(_3lg, _3le, _3lf, this._param_mask); this.addChild(_3lh), this._bgmList.push(_3lh); } this._btn_up2 = new PIXI.Sprite(_3l2.JUKEBOX_COMMON.getTexture(8)), this._btn_up2.position.set(346, 248), this._btn_up2.alpha = 1, this._btn_up2.interactive = this._btn_up2.buttonMode = !0, this.addChild(this._btn_up2), this._btn_down2 = new PIXI.Sprite(_3l2.JUKEBOX_COMMON.getTexture(7)), this._btn_down2.position.set(346, 450), this._btn_down2.alpha = 1, this._btn_down2.interactive = this._btn_down2.buttonMode = !0, this.addChild(this._btn_down2); }, _3l8.prototype.discard = function() { var _3li = null; this.removeChildren(); for (var _3lj = 0, _3lk = this._bgmList; _3lj < _3lk.length; _3lj++) { _3lk[_3lj].dispose(); } }, _3l8.prototype.setBGMBtnEvent = function(_3ll, _3lm, _3ln) { var _3lo = null; for (var _3lp = function(_3lq) { var _3lr = null; _3ls._bgmList[_3lq].Btn.on(_3l4.EventType.MOUSEOVER, _3ll), _3ls._bgmList[_3lq].Btn.on(_3l4.EventType.MOUSEOUT, _3lm), _3ls._bgmList[_3lq].Btn.on(_3l4.EventType.CLICK, function() { _3ln(_3lq); }); }, _3ls = this, _3lt = 0; _3lt < this._bgmList.length; _3lt++) _3lp(_3lt); }, _3l8.prototype.removeBGMBtnEvent = function(_3lu, _3lv, _3lw) { var _3lx = null; for (var _3ly = function(_3lz) { var _3m0 = null; _3m1._bgmList[_3lz].Btn.off(_3l4.EventType.MOUSEOVER, _3lu), _3m1._bgmList[_3lz].Btn.off(_3l4.EventType.MOUSEOUT, _3lv), _3m1._bgmList[_3lz].Btn.off(_3l4.EventType.CLICK, function() { _3lw(_3lz); }); }, _3m1 = this, _3m2 = 0; _3m2 < this._bgmList.length; _3m2++) _3ly(_3m2); }, _3l8.prototype.playBGMListFadeInOut = function(_3m3, _3m4) { var _3m5 = null; for (var _3m6 = 0; _3m6 < this._bgmList.length; _3m6++) this._bgmList[_3m6].playFadeInOut(_3m3, _3m4); }, _3l8.prototype.redrawBGMList = function(_3m7, _3m8) { var _3m9 = null; for (var _3ma = 0; _3ma < this._bgmList.length; _3ma++) this._bgmList[_3ma].setText(_3m7[_3ma + _3m8]); }, _3l8; }(PIXI.Container); _3ki.JukeBoxList = _3l5; }, 4901: function(_3mb, _3mc, _3md) { 'use strict'; var _3me = null; var _3mf = this && this.__importDefault || function(_3mg) { var _3mh = null; return _3mg && _3mg.__esModule ? _3mg : { 'default': _3mg }; }; defineModule(_3mc); Object.defineProperty(_3mc, '__esModule', { 'value': !0 }), _3mc.JukeBoxTask = void 0; var _3mi = _3mf(_3md(21359)), _3mj = _3mf(_3md(18622)), _3mk = _3md(88885), _3ml = _3md(44491), _3mm = _3md(44491), _3mn = _3md(44491), _3mo = _3md(13748), _3mp = _3md(79899), _3mq = _3md(30567), _3mr = _3md(60674), _3ms = _3md(87436), _3mt = _3md(35380), _3mu = (function() { var _3mv = null; function _3mw(_3mx) { var _3my = null, _3mz = this; this._tween = new Array(2), this._onMouseBtnFlag = !1, this._ListNow = -1, this._ListMax = -1, this._selectedBGM = -1, this._BGMCount = -1, this._onMouseBtn = function() { var _3n0 = null; _3mz._onMouseBtnFlag = !0; }, this._offMouseBtn = function() { var _3n1 = null; _3mz._onMouseBtnFlag = !1; }, this._onBtnUp = function() { var _3n2 = null; 0 != _3mz._ListNow && (_3mz._ListNow--, _3mz.JukeRedraw()); }, this._onBtnDown = function() { var _3n3 = null; _3mz._ListNow != _3mz._ListMax && (_3mz._ListNow++, _3mz.JukeRedraw()); }, this._onMouseout = function() { var _3n4 = null; _3mz._onMouseBtnFlag || _3mz.JukeListClose(!0); }, this._onBGMSelect = function(_3n5) { var _3n6 = null; _3mz._selectedBGM = _3mz._ListNow + _3n5, _3mz.JukeListClose(!1), _3mz.JukeConfirmStart(); }, this._onJukeDispClose = function() { var _3n7 = null; _3mz.JukeDispClose(!1); }, this._onJukeDispSetBGM = function() { var _3n8 = null; _3mz.set_portbgm(_3mz._furnitureJukeBoxBGMModel.list[_3mz._selectedBGM].api_bgm_id), new _3mn.UserFurnitureJukeBoxSetPortBGMAPI(_3mz._furnitureJukeBoxBGMModel.list[_3mz._selectedBGM].api_id).start(function() { var _3n9 = null; _3mj.default.sound.bgm.play(_3mz._furnitureJukeBoxBGMModel.list[_3mz._selectedBGM].api_bgm_id), _3mz.JukeDispClose(!0); }); }, this._playBGMCounter = function() { var _3na = null; --_3mz._BGMCount > 0 || _3mz.JukeDispClose(!1); }, this._id = _3mx, this._jukemode = !1; } return _3mw.prototype.set_portbgm = function(_3nb) { var _3nc = null; _3mj.default.model.basic.setPortBGMID(_3nb); }, _3mw.prototype.JukeStart = function() { var _3nd = null, _3ne = this; if (!this._jukemode) { this._jukemode = !0; var _3nf = new _3mp.AreaBox(0); _3mj.default.view.overLayer.addChild(_3nf); var _3ng = new _3mo.UIImageLoader('jukebox'); _3ng.add('jukebox_common.json'), _3ng.load(function() { var _3nh = null; _3ne._furnitureJukeBoxBGMModel = new _3mk.FurnitureJukeBoxBGMModel(), new _3ml.UserFurnitureJukeBoxMusicListAPI(_3ne._furnitureJukeBoxBGMModel).start(function() { var _3ni = null; for (_3mj.default.view.overLayer.removeChild(_3nf), _3ne._ListMax = 0; _3ne._ListMax < _3ne._furnitureJukeBoxBGMModel.list.length && _3ne._furnitureJukeBoxBGMModel.list[_3ne._ListMax].isLoaded; _3ne._ListMax++); _3ne._ListMax >= 5 && (_3ne._ListMax -= 5), _3ne._ListNow = _3ne._ListMax, _3ne._bg_black = new PIXI.Graphics(), _3ne._bg_black.beginFill(0), _3ne._bg_black.drawRect(0, 0, _3mi.default.width, _3mi.default.height), _3ne._bg_black.endFill(), _3ne._bg_black.alpha = 0.2, _3ne._bg_black.interactive = !0, _3ne._bg_black.on(_3mt.EventType.CLICK, _3ne._onMouseout), _3mj.default.view.portMain.overLayer.addChild(_3ne._bg_black), _3ne._jukeBoxList = new _3mq.JukeBoxList(), _3ne._jukeBoxList.init(), _3mj.default.view.portMain.overLayer.addChild(_3ne._jukeBoxList), _3ne._jukeBoxList.jukebox_table.on(_3mt.EventType.MOUSEOUT, _3ne._onMouseout), _3ne._jukeBoxList.jukebox_btn_up2.on(_3mt.EventType.CLICK, _3ne._onBtnUp), _3ne._jukeBoxList.jukebox_btn_down2.on(_3mt.EventType.CLICK, _3ne._onBtnDown), _3ne._jukeBoxList.jukebox_btn_up2.on(_3mt.EventType.MOUSEOVER, _3ne._onMouseBtn), _3ne._jukeBoxList.jukebox_btn_up2.on(_3mt.EventType.MOUSEOUT, _3ne._offMouseBtn), _3ne._jukeBoxList.jukebox_btn_down2.on(_3mt.EventType.MOUSEOVER, _3ne._onMouseBtn), _3ne._jukeBoxList.jukebox_btn_down2.on(_3mt.EventType.MOUSEOUT, _3ne._offMouseBtn), _3ne._jukeBoxList.setBGMBtnEvent(_3ne._onMouseBtn, _3ne._offMouseBtn, _3ne._onBGMSelect), _3ne.JukeRedraw(), _3mj.default.view.portMain.furnitureLayer.stopGramophone(), _3ne._fadeinout(!0, 300), _3ne._tween[0] = createjs.Tween.get(_3ne._jukeBoxList.jukebox_table).to({ 'alpha': 0 }, 1).to({ 'alpha': 1 }, 300).call(function() { var _3nj = _3ni; _3ne[_3nj(6347)][0] = null; }); }); }); } }, _3mw.prototype._fadeinout = function(_3nk, _3nl) { var _3nm = null; void 0 === _3nl && (_3nl = 300); var _3nn = _3nk ? 1 : 0; this._jukeBoxList.playBGMListFadeInOut(_3nn, _3nl); }, _3mw.prototype.JukeRedraw = function() { var _3no = null; this._jukeBoxList.redrawBGMList(this._furnitureJukeBoxBGMModel.list, this._ListNow), this._ListNow == this._ListMax ? (this._jukeBoxList.jukebox_btn_down2.alpha = 0.001, this._jukeBoxList.jukebox_btn_down2.buttonMode = !1) : (this._jukeBoxList.jukebox_btn_down2.alpha = 1, this._jukeBoxList.jukebox_btn_down2.buttonMode = !0), 0 == this._ListNow ? (this._jukeBoxList.jukebox_btn_up2.alpha = 0.001, this._jukeBoxList.jukebox_btn_up2.buttonMode = !1) : (this._jukeBoxList.jukebox_btn_up2.alpha = 1, this._jukeBoxList.jukebox_btn_up2.buttonMode = !0); }, _3mw.prototype.JukeListRemoveEvents = function() { var _3np = null; this._bg_black.off(_3mt.EventType.CLICK, this._onMouseout), this._jukeBoxList.jukebox_table.off(_3mt.EventType.MOUSEOUT, this._onMouseout), this._jukeBoxList.jukebox_btn_up2.off(_3mt.EventType.CLICK, this._onBtnUp), this._jukeBoxList.jukebox_btn_down2.off(_3mt.EventType.CLICK, this._onBtnDown), this._jukeBoxList.jukebox_btn_up2.off(_3mt.EventType.MOUSEOVER, this._onMouseBtn), this._jukeBoxList.jukebox_btn_up2.off(_3mt.EventType.MOUSEOUT, this._offMouseBtn), this._jukeBoxList.jukebox_btn_down2.off(_3mt.EventType.MOUSEOVER, this._onMouseBtn), this._jukeBoxList.jukebox_btn_down2.off(_3mt.EventType.MOUSEOUT, this._offMouseBtn), this._jukeBoxList.removeBGMBtnEvent(this._onMouseBtn, this._offMouseBtn, this._onBGMSelect); }, _3mw.prototype.JukeListClose = function(_3nq) { var _3nr = null, _3ns = this; this.JukeListRemoveEvents(); var _3nt = _3nq ? 300 : 1; this._fadeinout(!1, _3nt), this._tween[1] = createjs.Tween.get(this._jukeBoxList.jukebox_table).to({ 'alpha': 0 }, _3nt).call(function() { var _3nu = null; _3ns._tween[1] = null, _3ns._jukeBoxList.discard(), _3mj.default.view.portMain.overLayer.removeChild(_3ns._jukeBoxList), _3nq && _3ns.JukeEnd(); }), this._jukeBoxList.jukebox_btn_up2.alpha = 0, this._jukeBoxList.jukebox_btn_down2.alpha = 0; }, _3mw.prototype.JukeConfirmStart = function() { var _3nv = null, _3nw = this; this._jukeBoxConfirm = new _3mr.JukeBoxConfirm(this._furnitureJukeBoxBGMModel.list[this._selectedBGM]), this._jukeBoxConfirm.init(), _3mj.default.view.portMain.overLayer.addChild(this._jukeBoxConfirm), this._jukeBoxConfirm.btn_back3.on(_3mt.EventType.CLICK, function() { var _3nx = null; _3nw._onConfirm(!1); }), this._jukeBoxConfirm.btn_kagu.on(_3mt.EventType.CLICK, function() { var _3ny = null; _3nw._onConfirm(!0); }); }, _3mw.prototype.JukeConfirmRemoveEvents = function() { var _3nz = null, _3o0 = this; this._jukeBoxConfirm.btn_back3.off(_3mt.EventType.CLICK, function() { var _3o1 = null; _3o0._onConfirm(!1); }), this._jukeBoxConfirm.btn_kagu.off(_3mt.EventType.CLICK, function() { var _3o2 = null; _3o0._onConfirm(!0); }); }, _3mw.prototype.JukeConfirmClose = function() { var _3o3 = null; this.JukeConfirmRemoveEvents(), this._jukeBoxConfirm.discard(), _3mj.default.view.portMain.overLayer.removeChild(this._jukeBoxConfirm), this._jukeBoxConfirm = null; }, _3mw.prototype._onConfirm = function(_3o4) { var _3o5 = null, _3o6 = this; (this.JukeConfirmClose(), _3o4) ? (_3mj.default.view.portMain.furnitureLayer.current_bgm_furniture = null, new _3mm.UserFurnitureJukeBoxMusicPlayAPI(this._furnitureJukeBoxBGMModel.list[this._selectedBGM].api_id).start(function() { var _3o7 = null; _3o6.JukeDispStart(); })) : this.JukeEnd(); }, _3mw.prototype.JukeDispStart = function() { var _3o8 = null; this._jukeBoxDisp = new _3ms.JukeBoxDisp(this._furnitureJukeBoxBGMModel.list[this._selectedBGM]), this._jukeBoxDisp.init(), _3mj.default.view.portMain.overLayer.addChild(this._jukeBoxDisp), this._jukeBoxDisp.text_scroll(), this._jukeBoxDisp.musicChibiAnime(), this._BGMCount = this._furnitureJukeBoxBGMModel.list[this._selectedBGM].api_loops, _3mj.default.sound.bgm.stop(), _3mj.default.sound.bgm.play(this._furnitureJukeBoxBGMModel.list[this._selectedBGM].api_bgm_id, !0, 0, 'port', this._playBGMCounter), this._jukeBoxDisp.jukebox_close.on(_3mt.EventType.CLICK, this._onJukeDispClose), 1 == this._furnitureJukeBoxBGMModel.list[this._selectedBGM].api_bgm_flag && this._jukeBoxDisp.jukebox_btn_bgm.on(_3mt.EventType.CLICK, this._onJukeDispSetBGM); }, _3mw.prototype.JukeDispClose = function(_3o9) { var _3oa = null; this._BGMCount = 0, this._jukeBoxDisp.jukebox_close.off(_3mt.EventType.CLICK, this._onJukeDispClose), 1 == this._furnitureJukeBoxBGMModel.list[this._selectedBGM].api_bgm_flag && this._jukeBoxDisp.jukebox_btn_bgm.off(_3mt.EventType.CLICK, this._onJukeDispSetBGM), this._jukeBoxDisp.discard(), _3mj.default.view.portMain.overLayer.removeChild(this._jukeBoxDisp), this.JukeEnd(), _3o9 || (_3mj.default.sound.bgm.stop(), _3mj.default.sound.bgm.play(_3mj.default.model.basic.port_bgm_id)); }, _3mw.prototype.JukeEnd = function() { var _3ob = null; _3mj.default.view.portMain.overLayer.removeChild(this._bg_black), this._bg_black = null, this._jukemode = !1; }, _3mw; }()); _3mc.JukeBoxTask = _3mu; }, 12825: (_3oc, _3od, _3oe) => { 'use strict'; var _3of = null; defineModule(_3od); Object.defineProperty(_3od, '__esModule', { 'value': !0 }), _3od.FurnitureAnimationModel = void 0; var _3og = _3oe(89939), _3oh = _3oe(67562), _3oi = (function() { var _3oj = null; function _3ok() { var _3ol = null; this._shift = null; } return Object.defineProperty(_3ok.prototype, 'reloadFlag', { 'get': function() { var _3om = null; return _3og.ObjUtil.getBoolean(this._data, 'reloadflag'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_3ok.prototype, 'kaikyo', { 'get': function() { var _3on = null, _3oo = _3og.ObjUtil.getObject(this._data, 'kaikyo'); if (null == _3oo) return null; var _3op = _3og.ObjUtil.getNumber(_3oo, 'type'), _3oq = _3og.ObjUtil.getNumArray(_3oo, 'pos'); return null == _3oq || _3oq.length < 2 ? null : { 'type': _3op, 'pos': new PIXI.Point(_3oq[0], _3oq[1]) }; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_3ok.prototype, 'shogo', { 'get': function() { var _3or = null, _3os = _3og.ObjUtil.getObject(this._data, 'shogo'); if (null == _3os) return null; var _3ot = _3og.ObjUtil.getNumArray(_3os, 'pos'); return null == _3ot || _3ot.length < 2 ? null : new PIXI.Point(_3ot[0], _3ot[1]); }, 'enumerable': !1, 'configurable': !0 }), _3ok.prototype.setData = function(_3ou) { var _3ov = null; if (this._data = _3ou, this._shift = [], _3ou.hasOwnProperty('shift')) for (var _3ow = 0; _3ow < _3ou.shift.length; _3ow++) { var _3ox = { 'filename': _3ou.shift[_3ow].filename, 'x': _3ou.shift[_3ow].pos[0], 'y': _3ou.shift[_3ow].pos[1] }; this._shift.push(_3ox); } this._stateCache = null; }, _3ok.prototype.getState = function(_3oy) { var _3oz = null; if (null == this._stateCache && (this._stateCache = {}), this._stateCache.hasOwnProperty(_3oy)) return this._stateCache[_3oy]; if (null == this._data) return null; if (this._data.hasOwnProperty(_3oy)) { var _3p0 = this._data[_3oy], _3p1 = new _3oh.FurnitureStateModel(); return _3p1.setJsonData(_3p0), this._stateCache[_3oy] = _3p1, _3p1; } return null; }, _3ok.prototype.hasCategory = function(_3p2) { var _3p3 = null, _3p4 = _3og.ObjUtil.getStrArray(this._data, 'category'); return null != _3p4 && _3p4.indexOf(_3p2) >= 0; }, _3ok.prototype.getOffset = function(_3p5) { var _3p6 = null; for (var _3p7 = 0, _3p8 = this._shift; _3p7 < _3p8.length; _3p7++) { var _3p9 = _3p8[_3p7]; if (_3p9.filename == _3p5) return new PIXI.Point(_3p9.x, _3p9.y); } return null; }, _3ok.prototype.__overwriteFileName__ = function(_3pa, _3pb, _3pc, _3pd) { var _3pe = null, _3pf = _3og.ObjUtil.getObject(this._data, _3pb); if (null != _3pf) { var _3pg = _3og.ObjUtil.getObjectArray(_3pf, 'data'); if (null != _3pg) { var _3ph = _3pg[_3pc]; if (null != _3ph) { var _3pi = _3ph[_3pd]; null != _3pi && _3pi.hasOwnProperty('filename') && (_3pi.filename = _3pa); } } } }, _3ok; }()); _3od.FurnitureAnimationModel = _3oi; }, 78226: (_3pj, _3pk, _3pl) => { 'use strict'; var _3pm = null; defineModule(_3pk); Object.defineProperty(_3pk, '__esModule', { 'value': !0 }), _3pk.FurnitureKeyFrameModel = void 0; var _3pn = _3pl(89939), _3po = (function() { var _3pp = null; function _3pq(_3pr) { this._o = _3pr; } return Object.defineProperty(_3pq.prototype, 'filename', { 'get': function() { var _3ps = null; return _3pn.ObjUtil.getString(this._o, 'filename'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_3pq.prototype, 'frame', { 'get': function() { var _3pt = null; return _3pn.ObjUtil.getNumber(this._o, 'frame'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_3pq.prototype, 'framerand', { 'get': function() { var _3pu = null; return _3pn.ObjUtil.getNumber(this._o, 'framerand'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_3pq.prototype, 'alpha', { 'get': function() { var _3pv = null, _3pw = _3pn.ObjUtil.getNumArray(this._o, 'alpha'); return null == _3pw || _3pw.length < 2 ? [1, 1] : _3pw; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_3pq.prototype, 'offsetData', { 'get': function() { var _3px = null; return _3pn.ObjUtil.getNumArray(this._o, 'offset'); }, 'enumerable': !1, 'configurable': !0 }), _3pq.prototype.getSEID = function() { var _3py = null, _3pz = _3pn.ObjUtil.getString(this._o, 'se', null); if (null == _3pz) return null; var _3q0 = _3pz.split(':'); if (_3q0.length > 1) { var _3q1 = parseInt(_3q0[1]); return _3q1 = Math.min(100, Math.max(0, _3q1)), 100 * Math.random() < _3q1 ? _3q0[0] : null; } return _3pz; }, _3pq.prototype.getBGMAction = function() { var _3q2 = null; return _3pn.ObjUtil.getString(this._o, 'bgm', null); }, _3pq.prototype.getPopupOption = function() { var _3q3 = null, _3q4 = _3pn.ObjUtil.getObject(this._o, 'popup', null); if (null == _3q4) return null; var _3q5 = _3pn.ObjUtil.getString(_3q4, 'src', null); return null == _3q5 ? null : { 'src': _3q5, 'se_open': _3pn.ObjUtil.getString(_3q4, 'se_open'), 'se_close': _3pn.ObjUtil.getString(_3q4, 'se_close'), 'offset_x': _3pn.ObjUtil.getNumber(_3q4, 'offset_x'), 'offset_y': _3pn.ObjUtil.getNumber(_3q4, 'offset_y') }; }, _3pq.prototype.getStateChangeOption = function() { var _3q6 = null; return _3pn.ObjUtil.getString(this._o, 'state', null); }, _3pq; }()); _3pk.FurnitureKeyFrameModel = _3po; }, 81491: (_3q7, _3q8, _3q9) => { 'use strict'; var _3qa = null; defineModule(_3q8); Object.defineProperty(_3q8, '__esModule', { 'value': !0 }), _3q8.FurnitureLayerModel = void 0; var _3qb = _3q9(78226), _3qc = (function() { var _3qd = null; function _3qe(_3qf, _3qg) { var _3qh = null; if (this._frames = [], this._loopMax = _3qg, null != _3qf) for (var _3qi = 0; _3qi < _3qf.length; _3qi++) { var _3qj = _3qf[_3qi], _3qk = new _3qb.FurnitureKeyFrameModel(_3qj); this._frames.push(_3qk); } } return Object.defineProperty(_3qe.prototype, 'frames', { 'get': function() { var _3ql = null; return this._frames; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_3qe.prototype, 'loopMax', { 'get': function() { var _3qm = null; return this._loopMax; }, 'enumerable': !1, 'configurable': !0 }), _3qe; }()); _3q8.FurnitureLayerModel = _3qc; }, 67562: (_3qn, _3qo, _3qp) => { 'use strict'; var _3qq = null; defineModule(_3qo); Object.defineProperty(_3qo, '__esModule', { 'value': !0 }), _3qo.FurnitureStateModel = void 0; var _3qr = _3qp(81491), _3qs = _3qp(89939), _3qt = (function() { var _3qu = null; function _3qv() { var _3qw = null; this._hitArea = null, this._timeTable = null; } return Object.defineProperty(_3qv.prototype, 'layers', { 'get': function() { var _3qx = null; return this._layers; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_3qv.prototype, 'hitArea', { 'get': function() { var _3qy = null; return this._hitArea; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_3qv.prototype, 'timeTable', { 'get': function() { var _3qz = null; return this._timeTable; }, 'enumerable': !1, 'configurable': !0 }), _3qv.prototype.setJsonData = function(_3r0) { var _3r1 = null; this._layers = []; for (var _3r2 = _3qs.ObjUtil.getObject(_3r0, 'setting'), _3r3 = _3qs.ObjUtil.getNumArray(_3r2, 'loop'), _3r4 = _3qs.ObjUtil.getObjectArray(_3r0, 'data'), _3r5 = 0; _3r5 < _3r4.length; _3r5++) { var _3r6 = _3r4[_3r5], _3r7 = null != _3r3 && _3r5 < _3r3.length ? _3r3[_3r5] : 0, _3r8 = new _3qr.FurnitureLayerModel(_3r6, _3r7); this._layers.push(_3r8); } var _3r9 = _3qs.ObjUtil.getObject(_3r0, 'hitarea'); null != _3r9 && (this._hitArea = { 'filename': _3qs.ObjUtil.getString(_3r9, 'filename'), 'offset': _3qs.ObjUtil.getNumArray(_3r9, 'offset'), 'state': _3qs.ObjUtil.getString(_3r9, 'state') }), this._timeTable = _3qs.ObjUtil.getObject(_3r0, 'timetable'); }, _3qv.prototype.hasLoop = function() { var _3ra = null; for (var _3rb = 0, _3rc = this._layers; _3rb < _3rc.length; _3rb++) { if (0 != _3rc[_3rb].loopMax) return !0; } return !1; }, _3qv; }()); _3qo.FurnitureStateModel = _3qt; }, 67102: function(_3rd, _3re, _3rf) { 'use strict'; var _3rg = null; var _3rh, _3ri = this && this.__extends || (_3rh = function(_3rj, _3rk) { var _3rl = null; return _3rh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_3rm, _3rn) { var _3ro = null; _3rm.__proto__ = _3rn; } || function(_3rp, _3rq) { var _3rr = null; for (var _3rs in _3rq) Object.prototype.hasOwnProperty.call(_3rq, _3rs) && (_3rp[_3rs] = _3rq[_3rs]); }, _3rh(_3rj, _3rk); }, function(_3rt, _3ru) { var _3rv = null; if ('function' != typeof _3ru && null !== _3ru) throw new TypeError('Class extends value ' + String(_3ru) + ' is not a constructor or null'); function _3rw() { var _3rx = null; this.constructor = _3rt; } _3rh(_3rt, _3ru), _3rt.prototype = null === _3ru ? Object.create(_3ru) : (_3rw.prototype = _3ru.prototype, new _3rw()); }); defineModule(_3re); Object.defineProperty(_3re, '__esModule', { 'value': !0 }), _3re.AirunitBaseOpenTask = void 0; var _3ry = _3rf(11997), _3rz = _3rf(79899), _3s0 = _3rf(57257), _3s1 = _3rf(57257), _3s2 = _3rf(20324), _3s3 = _3rf(82690), _3s4 = function(_3s5) { var _3s6 = null; function _3s7() { var _3s8 = null; return null !== _3s5 && _3s5.apply(this, arguments) || this; } return _3ri(_3s7, _3s5), _3s7.prototype._initBG = function() { var _3s9 = null, _3sa = this; this._bg = new _3s0.RarityBG(), this._bg.initiailzeForUseitem(function() { var _3sb = null; _3sa._animation(); }); }, _3s7.prototype._createItemTobe = function(_3sc, _3sd) { var _3se = null, _3sf = _3ry.COMMON_MISC.getTexture(53), _3sg = new _3s3.CenteringSprite(_3sf); return _3sg.position.set(600, 240), _3sg.alpha = 0, _3sg.scale.set(0.7), _3sg; }, _3s7.prototype._change = function() { var _3sh = null, _3si = this; _3s5.prototype._change.call(this); var _3sj = new PIXI.Sprite(_3ry.COMMON_MISC.getTexture(73)); _3sj.x = -_3sj.width / 2, _3sj.y = -_3sj.height / 2; var _3sk = new _3s1.Container(); _3sk.addChild(_3sj), _3sk.alpha = 0, _3sk.x = 600, _3sk.y = 360, this._layer.addChild(_3sk), createjs.Tween.get(_3sk).wait(650).to({ 'scaleX': 3.3, 'scaleY': 3.3, 'alpha': 1 }, 350).to({ 'scaleX': 5, 'scaleY': 5 }, 300).wait(600).to({ 'alpha': 0 }, 300).call(function() { var _3sl = null; _3si._layer.removeChild(_3sk); }); var _3sm = new _3rz.AreaBox(1, 16777215); _3sm.alpha = 0, this._layer.addChild(_3sm), createjs.Tween.get(_3sm).wait(650).wait(200).to({ 'alpha': 1 }, 500).wait(600).to({ 'alpha': 0 }, 300).call(function() { var _3sn = null; _3si._layer.removeChild(_3sm); }); }, _3s7; }(_3s2.ModelChangeTask); _3re.AirunitBaseOpenTask = _3s4; }, 20324: function(_3so, _3sp, _3sq) { 'use strict'; var _3sr = null; var _3ss, _3st = this && this.__extends || (_3ss = function(_3su, _3sv) { var _3sw = null; return _3ss = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_3sx, _3sy) { var _3sz = null; _3sx.__proto__ = _3sy; } || function(_3t0, _3t1) { var _3t2 = null; for (var _3t3 in _3t1) Object.prototype.hasOwnProperty.call(_3t1, _3t3) && (_3t0[_3t3] = _3t1[_3t3]); }, _3ss(_3su, _3sv); }, function(_3t4, _3t5) { var _3t6 = null; if ('function' != typeof _3t5 && null !== _3t5) throw new TypeError('Class extends value ' + String(_3t5) + ' is not a constructor or null'); function _3t7() { var _3t8 = null; this.constructor = _3t4; } _3ss(_3t4, _3t5), _3t4.prototype = null === _3t5 ? Object.create(_3t5) : (_3t7.prototype = _3t5.prototype, new _3t7()); }), _3t9 = this && this.__importDefault || function(_3ta) { var _3tb = null; return _3ta && _3ta.__esModule ? _3ta : { 'default': _3ta }; }; defineModule(_3sp); Object.defineProperty(_3sp, '__esModule', { 'value': !0 }), _3sp.ModelChangeTask = void 0; var _3tc = _3t9(_3sq(18622)), _3td = _3sq(35380), _3te = _3sq(81755), _3tf = _3sq(79899), _3tg = _3sq(43472), _3th = _3sq(7344), _3ti = _3sq(55535), _3tj = _3sq(37760), _3tk = _3sq(79787), _3tl = _3sq(11997), _3tm = _3sq(82690), _3tn = _3sq(29499), _3to = _3sq(61279), _3tp = _3sq(38287), _3tq = _3sq(63865), _3tr = function(_3ts) { var _3tt = null; function _3tu(_3tv, _3tw) { var _3tx = null, _3ty = _3ts.call(this) || this; return _3ty._layer = _3tv, _3ty._model = _3tw, _3ty; } return _3st(_3tu, _3ts), _3tu.prototype.setStarForce = function(_3tz) { var _3u0 = null; this._star = new _3tq.LevelStar(), this._star.update(_3tz); }, _3tu.prototype._start = function() { var _3u1 = null; this._loadSlotitemResoucres(); }, _3tu.prototype._loadSlotitemResoucres = function() { var _3u2 = null, _3u3 = this, _3u4 = new _3tj.SlotLoader(); if (0 == this._model.isUseitemFrom()) { var _3u5 = this._model.mst_id_from; _3u5 > 0 && _3u4.add(_3u5, 'card'); } if (0 == this._model.isUseitemTo()) { var _3u6 = this._model.mst_id_tobe; _3u6 > 0 && _3u4.add(_3u6, 'card'); } _3u4.load(function() { var _3u7 = null; _3u3._loadUseitemResoucres(); }); }, _3tu.prototype._loadUseitemResoucres = function() { var _3u8 = null, _3u9 = this, _3ua = new _3tk.UseitemLoader(); if (1 == this._model.isUseitemFrom()) { var _3ub = this._model.mst_id_from; _3ub > 0 && _3ua.add(_3ub, 1); } if (1 == this._model.isUseitemTo()) { var _3uc = this._model.mst_id_tobe; _3uc > 0 && _3ua.add(_3uc, 1); } _3ua.load(function() { var _3ud = null; _3u9._initBG(); }); }, _3tu.prototype._initBG = function() { var _3ue = null, _3uf = this; if (this._bg = new _3tg.RarityBG(), 1 == this._model.isUseitemTo()) this._bg.initiailzeForUseitem(function() { var _3ug = null; _3uf._animation(); }); else { var _3uh = this._model.rarity_tobe; this._bg.initiailzeForSlotitem(_3uh, function() { var _3ui = null; _3uf._animation(); }); } }, _3tu.prototype._createItemFrom = function(_3uj, _3uk) { var _3ul = null, _3um; _3um = -1 == _3uj ? _3tl.COMMON_MISC.getTexture(41) : 1 == _3uk ? _3tc.default.resources.getUseitem(_3uj, 1) : _3tc.default.resources.getSlotitem(_3uj, 'card'); var _3un = new _3tm.CenteringSprite(_3um); return _3un.position.set(600, 630), _3un.alpha = 0, _3un; }, _3tu.prototype._createItemTobe = function(_3uo, _3up) { var _3uq = null, _3ur; _3ur = -1 == _3uo ? _3tl.COMMON_MISC.getTexture(53) : 1 == _3up ? _3tc.default.resources.getUseitem(_3uo, 1) : _3tc.default.resources.getSlotitem(_3uo, 'card'); var _3us = new _3tm.CenteringSprite(_3ur); return _3us.position.set(600, 240), _3us.alpha = 0, _3us.scale.set(0.7), _3us; }, _3tu.prototype._animation = function() { var _3ut = null, _3uu = this; this._layer.addChild(this._bg), this._item_tobe = this._createItemTobe(this._model.mst_id_tobe, this._model.isUseitemTo()), null != this._star && (this._item_tobe.addChild(this._star), this._star.position.set(169, -28), this._star.alpha = 0), this._layer.addChild(this._item_tobe), this._item_from = this._createItemFrom(this._model.mst_id_from, this._model.isUseitemFrom()), this._layer.addChild(this._item_from), createjs.Tween.get(this._item_from).to({ 'y': 240, 'alpha': 1 }, 1000).wait(1000).call(function() { var _3uv = null; - 1 != _3uu._model.mst_id_tobe && (_3uu._item_tobe.alpha = 0.5), _3uu._meltInto(); }), this._particle_layer = new _3to.ModelChangeParticleLayer(), this._layer.addChild(this._particle_layer), this._messagebox = new _3tn.ModelChangeMessageBox(), this._messagebox.initialize(this._model.message1), this._messagebox.y = 720, this._layer.addChild(this._messagebox), createjs.Tween.get(this._messagebox).wait(500).to({ 'y': 480 }, 300), this._white = new _3tf.AreaBox(1, 16777215), this._layer.addChild(this._white), createjs.Tween.get(this._white).to({ 'alpha': 0 }, 500).call(function() { var _3uw = null; _3uu._layer.removeChild(_3uu._white); }); }, _3tu.prototype._meltInto = function() { var _3ux = null; for (var _3uy = this, _3uz = new _3ti.SerialTask(), _3v0 = 0, _3v1 = this._model.melt_into_items; _3v0 < _3v1.length; _3v0++) { var _3v2 = _3v1[_3v0], _3v3 = _3v2.items, _3v4 = _3v2.direction, _3v5 = _3v2.eff_type, _3v6 = new _3tp.MeltIntoTask(this._layer, _3v3, _3v4, _3v5); _3uz.add(_3v6); } _3uz.start(function() { var _3v7 = null; _3uy._change(); }); }, _3tu.prototype._change = function() { var _3v8 = null, _3v9 = this; createjs.Tween.get(this._item_from).to({ 'x': 405, 'scaleX': 0.9, 'scaleY': 0.9, 'alpha': 0.75 }, 650, createjs.Ease.sineOut).to({ 'x': 600, 'scaleX': 0.6, 'scaleY': 0.6, 'alpha': 0.5 }, 600, createjs.Ease.sineIn).to({ 'alpha': 0 }, 50), createjs.Tween.get(this._item_tobe).to({ 'x': 795, 'scaleX': 0.9, 'scaleY': 0.9, 'alpha': 1 }, 650, createjs.Ease.sineOut).call(function() { var _3va = null, _3vb = _3v9._layer.getChildIndex(_3v9._item_from); _3v9._layer.addChildAt(_3v9._item_tobe, _3vb); }).to({ 'x': 600, 'scaleX': 1, 'scaleY': 1 }, 650, createjs.Ease.sineIn).call(function() { var _3vc = null; _3v9._waitClick(); }), null != this._star && (this._star.scale.set(2, 2), createjs.Tween.get(this._star).wait(1300).to({ 'alpha': 1 }, 0).to({ 'scaleX': 1, 'scaleY': 1 }, 150, createjs.Ease.sineIn)); }, _3tu.prototype._waitClick = function() { var _3vd = null, _3ve = this; this._particle_layer.activate(), this._messagebox.changeText(this._model.message2), createjs.Tween.get(null).wait(1500).call(function() { var _3vf = null, _3vg = new _3th.GearBtnHome(); _3vg.position.set(1140, 660), _3vg.initialize(), _3vg.activate(), _3ve._layer.addChild(_3vg); var _3vh = new _3tf.AreaBox(0); _3vh.buttonMode = !0, _3ve._layer.addChild(_3vh), _3vh.once(_3td.EventType.CLICK, function() { var _3vi = null; _3ve._showLastWhite(_3vg, _3vh); }); }); }, _3tu.prototype._showLastWhite = function(_3vj, _3vk) { var _3vl = null, _3vm = this; this._layer.addChild(this._white), createjs.Tween.get(this._white).to({ 'alpha': 1 }, 400).call(function() { var _3vn = null; _3vj.deactivate(), _3vj.dispose(), _3vm._layer.removeChild(_3vj), _3vm._layer.removeChild(_3vk), _3vm._messagebox.dispose(), _3vm._layer.removeChild(_3vm._messagebox), _3vm._particle_layer.deactivate(), _3vm._layer.removeChild(_3vm._particle_layer), _3vm._layer.removeChild(_3vm._item_tobe), _3vm._layer.removeChild(_3vm._item_from), _3vm._layer.removeChild(_3vm._bg), _3vm._hideLastWhite(); }); }, _3tu.prototype._hideLastWhite = function() { var _3vo = null, _3vp = this; createjs.Tween.get(this._white).to({ 'alpha': 0 }, 100).call(function() { var _3vq = null, _3vr = _3vp._white.parent; null != _3vr && _3vr.removeChild(_3vp._white), _3ts.prototype._endTask.call(_3vp); }); }, _3tu.prototype._endTask = function() { var _3vs = null; this._layer = null, this._model = null, this._bg = null, this._item_from = null, this._item_tobe = null, this._particle_layer = null, this._messagebox = null, this._white = null, _3ts.prototype._endTask.call(this); }, _3tu; }(_3te.TaskBase); _3sp.ModelChangeTask = _3tr; }, 26187: function(_3vt, _3vu) { 'use strict'; var _3vv = null; var _3vw, _3vx = this && this.__extends || (_3vw = function(_3vy, _3vz) { var _3w0 = null; return _3vw = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_3w1, _3w2) { var _3w3 = null; _3w1.__proto__ = _3w2; } || function(_3w4, _3w5) { var _3w6 = null; for (var _3w7 in _3w5) Object.prototype.hasOwnProperty.call(_3w5, _3w7) && (_3w4[_3w7] = _3w5[_3w7]); }, _3vw(_3vy, _3vz); }, function(_3w8, _3w9) { var _3wa = null; if ('function' != typeof _3w9 && null !== _3w9) throw new TypeError('Class extends value ' + String(_3w9) + ' is not a constructor or null'); function _3wb() { var _3wc = null; this.constructor = _3w8; } _3vw(_3w8, _3w9), _3w8.prototype = null === _3w9 ? Object.create(_3w9) : (_3wb.prototype = _3w9.prototype, new _3wb()); }); defineModule(_3vu); Object.defineProperty(_3vu, '__esModule', { 'value': !0 }), _3vu.MeltIntoSlotitemFilter = void 0; var _3wd = function(_3we) { function _3wf(_3wg, _3wh, _3wi) { var _3wj = null, _3wk = 1 == _3wi ? '\n precision mediump float;\n varying vec2 vTextureCoord;\n uniform sampler2D uSampler;\n\n uniform float x; //ターゲットのx座標(中心点)\n uniform float width;\n uniform float rate;\n uniform float grad;\n\n void main(void) {\n vec4 color = texture2D(uSampler, vTextureCoord);\n \n float border = x - width / 2.0 + (width * rate); // alpha:1 で表示する部分との境\n if(gl_FragCoord.x >= border) {\n float a = 0.0;\n float diff = gl_FragCoord.x - border;\n if(diff <= width * grad) {\n a = 1.0 - (diff / (width * grad));\n }\n color.r *= a;\n color.g *= a;\n color.b *= a;\n if(a < color.a) {\n color.a = a;\n }\n }\n gl_FragColor = color;\n }\n ' : '\n precision mediump float;\n varying vec2 vTextureCoord;\n uniform sampler2D uSampler;\n\n uniform float x; //ターゲットのx座標(中心点)\n uniform float width;\n uniform float rate;\n uniform float grad;\n\n void main(void) {\n vec4 color = texture2D(uSampler, vTextureCoord);\n \n float border = x + width / 2.0 - (width * rate); // alpha:1 で表示する部分との境\n if(gl_FragCoord.x <= border) {\n float a = 0.0;\n float diff = border - gl_FragCoord.x;\n if(diff <= width * grad) {\n a = 1.0 - (diff / (width * grad));\n }\n color.r *= a;\n color.g *= a;\n color.b *= a;\n if(a < color.a) {\n color.a = a;\n }\n }\n gl_FragColor = color;\n }\n '; return _3we.call(this, null, _3wk, { 'x': { 'type': '1f', 'value': _3wg }, 'width': { 'type': '1f', 'value': _3wh }, 'rate': { 'type': '1f', 'value': 1 }, 'grad': { 'type': '1f', 'value': 0.5 } }) || this; } return _3vx(_3wf, _3we), _3wf; }(PIXI.Filter); _3vu.MeltIntoSlotitemFilter = _3wd; }, 78470: function(_3wl, _3wm) { 'use strict'; var _3wn = null; var _3wo, _3wp = this && this.__extends || (_3wo = function(_3wq, _3wr) { var _3ws = null; return _3wo = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_3wt, _3wu) { var _3wv = null; _3wt.__proto__ = _3wu; } || function(_3ww, _3wx) { var _3wy = null; for (var _3wz in _3wx) Object.prototype.hasOwnProperty.call(_3wx, _3wz) && (_3ww[_3wz] = _3wx[_3wz]); }, _3wo(_3wq, _3wr); }, function(_3x0, _3x1) { var _3x2 = null; if ('function' != typeof _3x1 && null !== _3x1) throw new TypeError('Class extends value ' + String(_3x1) + ' is not a constructor or null'); function _3x3() { var _3x4 = null; this.constructor = _3x0; } _3wo(_3x0, _3x1), _3x0.prototype = null === _3x1 ? Object.create(_3x1) : (_3x3.prototype = _3x1.prototype, new _3x3()); }); defineModule(_3wm); Object.defineProperty(_3wm, '__esModule', { 'value': !0 }), _3wm.MeltIntoUseitemFilter = void 0; var _3x5 = function(_3x6) { function _3x7(_3x8, _3x9, _3xa, _3xb, _3xc) { var _3xd = null; void 0 === _3xc && (_3xc = 1); var _3xe = Math.sqrt(_3xa / 2 * _3xa / 2 + _3xb * _3xb); return _3x6.call(this, null, '\n precision mediump float;\n varying vec2 vTextureCoord;\n uniform sampler2D uSampler;\n\n uniform float x;\n uniform float y;\n uniform float r;\n uniform float width;\n uniform float height;\n uniform float rate;\n uniform float grad;\n\n void main(void) {\n vec4 color = texture2D(uSampler, vTextureCoord);\n \n float dx = abs(gl_FragCoord.x - x);\n float dy = abs((720.0 - gl_FragCoord.y) - (y + height / 2.0));\n float d = sqrt(dx * dx + dy * dy);\n if(d > r * rate) {\n float a = min((d - r * rate), (r * grad));\n a = 1.0 - a / (r * grad);\n //float a = 0.5;\n color.r *= a;\n color.g *= a;\n color.b *= a;\n if(a < color.a) {\n color.a = a;\n }\n }\n gl_FragColor = color;\n }\n ', { 'x': { 'type': '1f', 'value': _3x8 }, 'y': { 'type': '1f', 'value': _3x9 }, 'r': { 'type': '1f', 'value': _3xe }, 'width': { 'type': '1f', 'value': _3xa }, 'height': { 'type': '1f', 'value': _3xb }, 'rate': { 'type': '1f', 'value': 1 }, 'grad': { 'type': '1f', 'value': 0.5 } }) || this; } return _3wp(_3x7, _3x6), _3x7; }(PIXI.Filter); _3wm.MeltIntoUseitemFilter = _3x5; }, 5379: (_3xf, _3xg) => { 'use strict'; var _3xh = null; defineModule(_3xg); Object.defineProperty(_3xg, '__esModule', { 'value': !0 }), _3xg.ModelChangeMeltIntoModel = void 0; var _3xi = (function() { var _3xj = null; function _3xk(_3xl, _3xm) { var _3xn = null; this._eff_type = 0, this._direction = 1, this._direction = _3xl, this._eff_type = _3xm, this._items = []; } return Object.defineProperty(_3xk.prototype, 'items', { 'get': function() { var _3xo = null; return this._items; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_3xk.prototype, 'eff_type', { 'get': function() { var _3xp = null; return this._eff_type; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_3xk.prototype, 'direction', { 'get': function() { var _3xq = null; return this._direction; }, 'enumerable': !1, 'configurable': !0 }), _3xk.prototype.addItem = function(_3xr, _3xs, _3xt) { var _3xu = null; void 0 === _3xt && (_3xt = -1), _3xt > 0 ? this._items.push({ 'id': _3xr, 'type': _3xs, 'size': _3xt }) : this._items.push({ 'id': _3xr, 'type': _3xs }); }, _3xk; }()); _3xg.ModelChangeMeltIntoModel = _3xi; }, 75801: function(_3xv, _3xw, _3xx) { 'use strict'; var _3xy = null; var _3xz = this && this.__importDefault || function(_3y0) { var _3y1 = null; return _3y0 && _3y0.__esModule ? _3y0 : { 'default': _3y0 }; }; defineModule(_3xw); Object.defineProperty(_3xw, '__esModule', { 'value': !0 }), _3xw.ModelChangeModel = void 0; var _3y2 = _3xz(_3xx(18622)), _3y3 = (function() { var _3y4 = null; function _3y5() { var _3y6 = null; this._melt_into_items = []; } return Object.defineProperty(_3y5.prototype, 'mst_id_from', { 'get': function() { var _3y7 = null; return this._mst_id_from; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_3y5.prototype, 'mst_id_tobe', { 'get': function() { var _3y8 = null; return this._mst_id_tobe; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_3y5.prototype, 'rarity_tobe', { 'get': function() { var _3y9 = null; if (1 == this.isUseitemTo()) return 0; var _3ya = _3y2.default.model.slot.getMst(this._mst_id_tobe); return null == _3ya ? 0 : _3ya.rarity; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_3y5.prototype, 'message1', { 'get': function() { var _3yb = null; return this._message1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_3y5.prototype, 'message2', { 'get': function() { var _3yc = null; return this._message2.replace(/
/, '\x0a'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_3y5.prototype, 'melt_into_items', { 'get': function() { var _3yd = null; return this._melt_into_items; }, 'enumerable': !1, 'configurable': !0 }), _3y5.prototype.isUseitemFrom = function() { var _3ye = null; return 6 == this._type_from; }, _3y5.prototype.isUseitemTo = function() { var _3yf = null; return 6 == this._type_tobe; }, _3y5.prototype.isNeedUpdateUserBasic = function() { var _3yg = null; if (0 == this.isNeedUpdateUseitem()) return !1; if (1 == this.isUseitemFrom() && 44 == this._mst_id_from) return !0; if (1 == this.isUseitemTo() && 44 == this._mst_id_tobe) return !0; for (var _3yh = 0, _3yi = this.melt_into_items; _3yh < _3yi.length; _3yh++) for (var _3yj = 0, _3yk = _3yi[_3yh].items; _3yj < _3yk.length; _3yj++) { var _3yl = _3yk[_3yj]; if (6 == _3yl.type && 44 == _3yl.id) return !0; } return !1; }, _3y5.prototype.isNeedUpdateUseitem = function() { var _3ym = null; if (1 == this.isUseitemFrom()) return !0; if (1 == this.isUseitemTo()) return !0; for (var _3yn = 0, _3yo = this.melt_into_items; _3yn < _3yo.length; _3yn++) for (var _3yp = 0, _3yq = _3yo[_3yn].items; _3yp < _3yq.length; _3yp++) { if (6 == _3yq[_3yp].type) return !0; } return !1; }, _3y5; }()); _3xw.ModelChangeModel = _3y3; }, 69249: function(_3yr, _3ys, _3yt) { 'use strict'; var _3yu = null; var _3yv, _3yw = this && this.__extends || (_3yv = function(_3yx, _3yy) { var _3yz = null; return _3yv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_3z0, _3z1) { var _3z2 = null; _3z0.__proto__ = _3z1; } || function(_3z3, _3z4) { var _3z5 = null; for (var _3z6 in _3z4) Object.prototype.hasOwnProperty.call(_3z4, _3z6) && (_3z3[_3z6] = _3z4[_3z6]); }, _3yv(_3yx, _3yy); }, function(_3z7, _3z8) { var _3z9 = null; if ('function' != typeof _3z8 && null !== _3z8) throw new TypeError('Class extends value ' + String(_3z8) + ' is not a constructor or null'); function _3za() { var _3zb = null; this.constructor = _3z7; } _3yv(_3z7, _3z8), _3z7.prototype = null === _3z8 ? Object.create(_3z8) : (_3za.prototype = _3z8.prototype, new _3za()); }); defineModule(_3ys); Object.defineProperty(_3ys, '__esModule', { 'value': !0 }), _3ys.ModelChangeModelEdit = void 0; var _3zc = _3yt(5379), _3zd = function(_3ze) { var _3zf = null; function _3zg() { var _3zh = null; return null !== _3ze && _3ze.apply(this, arguments) || this; } return _3yw(_3zg, _3ze), _3zg.prototype.setItemFrom = function(_3zi, _3zj) { var _3zk = null; return void 0 === _3zj && (_3zj = !1), this._mst_id_from = _3zi, this._type_from = 1 == _3zj ? 6 : 2, this; }, _3zg.prototype.setItemTobe = function(_3zl, _3zm) { var _3zn = null; return void 0 === _3zm && (_3zm = !1), this._mst_id_tobe = _3zl, this._type_tobe = 1 == _3zm ? 6 : 2, this; }, _3zg.prototype.setMessage = function(_3zo, _3zp) { var _3zq = null; return this._message1 = _3zo, this._message2 = _3zp, this; }, _3zg.prototype.addMeltIntoSlotitem = function(_3zr, _3zs, _3zt) { var _3zu = null; void 0 === _3zt && (_3zt = -1); for (var _3zv = new _3zc.ModelChangeMeltIntoModel(_3zs, 0), _3zw = 0, _3zx = _3zr; _3zw < _3zx.length; _3zw++) { var _3zy = _3zx[_3zw]; _3zt > 0 ? _3zv.addItem(_3zy, 2, _3zt) : _3zv.addItem(_3zy, 2); } return this._melt_into_items.push(_3zv), this; }, _3zg.prototype.addMeltIntoUseitem = function(_3zz, _400, _401) { var _402 = null; void 0 === _401 && (_401 = -1); for (var _403 = new _3zc.ModelChangeMeltIntoModel(_400, 1), _404 = 0, _405 = _3zz; _404 < _405.length; _404++) { var _406 = _405[_404]; _401 > 0 ? _403.addItem(_406, 6, _401) : _403.addItem(_406, 6); } return this._melt_into_items.push(_403), this; }, _3zg.prototype.addMeltIntoTojoin = function(_407, _408) { var _409 = null; void 0 === _407 && (_407 = 70), void 0 === _408 && (_408 = 2); var _40a = new _3zc.ModelChangeMeltIntoModel(_408, 2); return _40a.addItem(_407, 6), this._melt_into_items.push(_40a), this; }, _3zg.prototype.addMeltInto = function(_40b, _40c, _40d) { var _40e = null; for (var _40f = new _3zc.ModelChangeMeltIntoModel(_40c, _40d), _40g = 0, _40h = _40b; _40g < _40h.length; _40g++) { var _40i = _40h[_40g]; _40i.size > 0 ? _40f.addItem(_40i.id, _40i.type, _40i.size) : _40f.addItem(_40i.id, _40i.type); } return this._melt_into_items.push(_40f), this; }, _3zg; }(_3yt(75801).ModelChangeModel); _3ys.ModelChangeModelEdit = _3zd; }, 38287: function(_40j, _40k, _40l) { 'use strict'; var _40m = null; var _40n, _40o = this && this.__extends || (_40n = function(_40p, _40q) { var _40r = null; return _40n = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_40s, _40t) { var _40u = null; _40s.__proto__ = _40t; } || function(_40v, _40w) { var _40x = null; for (var _40y in _40w) Object.prototype.hasOwnProperty.call(_40w, _40y) && (_40v[_40y] = _40w[_40y]); }, _40n(_40p, _40q); }, function(_40z, _410) { var _411 = null; if ('function' != typeof _410 && null !== _410) throw new TypeError('Class extends value ' + String(_410) + ' is not a constructor or null'); function _412() { var _413 = null; this.constructor = _40z; } _40n(_40z, _410), _40z.prototype = null === _410 ? Object.create(_410) : (_412.prototype = _410.prototype, new _412()); }), _414 = this && this.__importDefault || function(_415) { var _416 = null; return _415 && _415.__esModule ? _415 : { 'default': _415 }; }; defineModule(_40k); Object.defineProperty(_40k, '__esModule', { 'value': !0 }), _40k.MeltIntoTask = void 0; var _417 = _414(_40l(18622)), _418 = _40l(81755), _419 = _40l(37760), _41a = _40l(79787), _41b = _40l(45054), _41c = _40l(40085), _41d = _40l(11997), _41e = _40l(26187), _41f = _40l(78470), _41g = _40l(11039), _41h = _40l(82690), _41i = function(_41j) { var _41k = null; function _41l(_41m, _41n, _41o, _41p) { var _41q = null, _41r = _41j.call(this) || this; return _41r._layer = _41m, _41r._items = _41n, _41r._direction = _41o, _41r._effType = _41p, _41r; } return _40o(_41l, _41j), _41l.prototype._start = function() { var _41s = null; switch (this._effType) { case 0: this._effctSlotitem(); break; case 1: this._effctUseitem(); break; case 2: this._effctTojoin(); } }, _41l.prototype._effctSlotitem = function() { var _41t = null; for (var _41u = this, _41v = new _41g.MeltIntoSprite(), _41w = 0, _41x = this._items; _41w < _41x.length; _41w++) { var _41y = _41x[_41w]; _41v.add(_41y); } _41v.initialize(function() { var _41z = null, _420 = 1 == _41u._direction, _421 = (_420 ? 0 : 1200) + _41v.width / 2 * (_420 ? -1 : 1), _422 = 600 + _41v.width / 4 * (_420 ? -1 : 1), _423 = _421 + 0.5 * (_422 - _421); _41v.x = _421, _41v.y = 720, _41u._layer.addChild(_41v); var _424 = new _41e.MeltIntoSlotitemFilter(_422, _41v.width, _41u._direction); _41v.filters = [_424]; for (var _425 = new PIXI.Point(_421, 720), _426 = new PIXI.Point(_423, 0), _427 = new PIXI.Point(_422, 240), _428 = _41c.TweenUtil.signOut, _429 = _41c.TweenUtil.create2BezierPoints(_425, _426, _427, 1000, _428), _42a = createjs.Tween.get(_41v), _42b = 0, _42c = _429; _42b < _42c.length; _42b++) { var _42d = _42c[_42b]; _42a.to({ 'x': _42d.x, 'y': _42d.y }, _42d.t); } var _42e = { 'rate': 1, 'grad': 0.4 }; createjs.Tween.get(_42e, { 'onChange': function() { var _42f = null; _424.uniforms.x = _41v.x, _424.uniforms.rate = _42e.rate, _424.uniforms.grad = _42e.grad; } }).wait(600).to({ 'rate': -0.4 }, 400).wait(500).call(function() { var _42g = null; _41u._layer.removeChild(_41v), _41u._endTask(); }); var _42h = new PIXI.Sprite(_41d.COMMON_MISC.getTexture(123)); _42h.anchor.set(0.5), _42h.alpha = 0; var _42i = new _41b.Container(); _42i.x = _422, _42i.y = 240, _42i.scale.set(0.5), _42i.addChild(_42h), _41u._layer.addChild(_42i), createjs.Tween.get(_42i).wait(600).to({ 'scaleX': 1, 'scaleY': 1 }, 800, createjs.Ease.cubicOut), createjs.Tween.get(_42h).wait(600).to({ 'alpha': 0.9 }, 200).wait(150).to({ 'alpha': 0 }, 450).call(function() { var _42j = null, _42k = _42i.parent; null != _42k && _42k.removeChild(_42i); }); }); }, _41l.prototype._effctUseitem = function() { var _42l = null; for (var _42m = this, _42n = new _41g.MeltIntoSprite(), _42o = 0, _42p = this._items; _42o < _42p.length; _42o++) { var _42q = _42p[_42o]; _42n.add(_42q); } _42n.initialize(function() { var _42r = null, _42s = 1 == _42m._direction, _42t = (_42s ? 0 : 1200) + _42n.width / 2 * (_42s ? -1 : 1), _42u = 600 + _42n.width / 4 * (_42s ? -1 : 1), _42v = _42t + 0.5 * (_42u - _42t); _42n.x = _42t, _42n.y = 720, _42m._layer.addChild(_42n); var _42w = new _41f.MeltIntoUseitemFilter(_42u, 240, _42n.width, _42n.height, _42m._direction); _42n.filters = [_42w]; for (var _42x = new PIXI.Point(_42t, 720), _42y = new PIXI.Point(_42v, 0), _42z = new PIXI.Point(_42u, 240), _430 = _41c.TweenUtil.signOut, _431 = _41c.TweenUtil.create2BezierPoints(_42x, _42y, _42z, 1000, _430), _432 = createjs.Tween.get(_42n), _433 = 0, _434 = _431; _433 < _434.length; _433++) { var _435 = _434[_433]; _432.to({ 'x': _435.x, 'y': _435.y }, _435.t); } var _436 = { 'rate': 1, 'grad': 0.4 }; createjs.Tween.get(_436, { 'onChange': function() { var _437 = null; _42w.uniforms.x = _42n.x, _42w.uniforms.rate = _436.rate, _42w.uniforms.grad = _436.grad; } }).wait(600).to({ 'rate': -0.4 }, 400).wait(500).call(function() { var _438 = null; _42m._layer.removeChild(_42n), _42m._endTask(); }); var _439 = new PIXI.Sprite(_41d.COMMON_MISC.getTexture(123)); _439.anchor.set(0.5), _439.alpha = 0; var _43a = new _41b.Container(); _43a.x = _42u, _43a.y = 240, _43a.scale.set(0.5), _43a.addChild(_439), _42m._layer.addChild(_43a), createjs.Tween.get(_43a).wait(600).to({ 'scaleX': 1, 'scaleY': 1 }, 800, createjs.Ease.cubicOut), createjs.Tween.get(_439).wait(600).to({ 'alpha': 0.9 }, 200).wait(150).to({ 'alpha': 0 }, 450).call(function() { var _43b = null, _43c = _43a.parent; null != _43c && _43c.removeChild(_43a); }); }); }, _41l.prototype._effctTojoin = function() { var _43d = null, _43e = this, _43f = this._items[0].id, _43g = this._items[0].type; this._getTextureForTojoinEffct(_43f, _43g, function(_43h) { var _43i = null, _43j = new _41h.CenteringSprite(_43h); _43j.x = 600 + 195 * (1 == _43e._direction ? -1 : 1), _43j.y = 240, _43j.scale.set(1.1), _43j.alpha = 0, _43e._layer.addChild(_43j), createjs.Tween.get(_43j).to({ 'scaleX': 1, 'scaleY': 1, 'alpha': 1 }, 300).wait(250).to({ 'x': 600, 'alpha': 0 }, 600, createjs.Ease.sineIn).wait(500).call(function() { var _43k = null; _43e._layer.removeChild(_43j), _43e._endTask(); }); }); }, _41l.prototype._getTextureForTojoinEffct = function(_43l, _43m, _43n) { var _43o = null; if (6 == _43m)(_43p = new _41a.UseitemLoader()).add(_43l, 1), _43p.load(function() { var _43q = null; if (_43n) { var _43r = _417.default.resources.getUseitem(_43l, 1); return _43n(_43r); } }); else { if (2 == _43m) { var _43p; (_43p = new _419.SlotLoader()).add(_43l, 'card'), _43p.load(function() { var _43s = null; if (_43n) { var _43t = _417.default.resources.getSlotitem(_43l, 'card'); return _43n(_43t); } }); } } }, _41l.prototype._endTask = function() { var _43u = null; this._layer = null, this._items = null, _41j.prototype._endTask.call(this); }, _41l; }(_418.TaskBase); _40k.MeltIntoTask = _41i; }, 82690: function(_43v, _43w, _43x) { 'use strict'; var _43y = null; var _43z, _440 = this && this.__extends || (_43z = function(_441, _442) { var _443 = null; return _43z = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_444, _445) { var _446 = null; _444.__proto__ = _445; } || function(_447, _448) { var _449 = null; for (var _44a in _448) Object.prototype.hasOwnProperty.call(_448, _44a) && (_447[_44a] = _448[_44a]); }, _43z(_441, _442); }, function(_44b, _44c) { var _44d = null; if ('function' != typeof _44c && null !== _44c) throw new TypeError('Class extends value ' + String(_44c) + ' is not a constructor or null'); function _44e() { var _44f = null; this.constructor = _44b; } _43z(_44b, _44c), _44b.prototype = null === _44c ? Object.create(_44c) : (_44e.prototype = _44c.prototype, new _44e()); }); defineModule(_43w); Object.defineProperty(_43w, '__esModule', { 'value': !0 }), _43w.CenteringSprite = void 0; var _44g = function(_44h) { var _44i = null; function _44j(_44k) { var _44l = null; void 0 === _44k && (_44k = null); var _44m = _44h.call(this) || this; return _44m._img = new PIXI.Sprite(), _44m.addChild(_44m._img), null != _44k && _44m.update(_44k), _44m; } return _440(_44j, _44h), _44j.prototype.update = function(_44n) { var _44o = null; this._img.texture = _44n, this._img.x = -Math.round(this._img.width / 2), this._img.y = -Math.round(this._img.height / 2); }, _44j; }(_43x(57257).Container); _43w.CenteringSprite = _44g; }, 11039: function(_44p, _44q, _44r) { 'use strict'; var _44s = null; var _44t, _44u = this && this.__extends || (_44t = function(_44v, _44w) { var _44x = null; return _44t = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_44y, _44z) { var _450 = null; _44y.__proto__ = _44z; } || function(_451, _452) { var _453 = null; for (var _454 in _452) Object.prototype.hasOwnProperty.call(_452, _454) && (_451[_454] = _452[_454]); }, _44t(_44v, _44w); }, function(_455, _456) { var _457 = null; if ('function' != typeof _456 && null !== _456) throw new TypeError('Class extends value ' + String(_456) + ' is not a constructor or null'); function _458() { var _459 = null; this.constructor = _455; } _44t(_455, _456), _455.prototype = null === _456 ? Object.create(_456) : (_458.prototype = _456.prototype, new _458()); }), _45a = this && this.__importDefault || function(_45b) { var _45c = null; return _45b && _45b.__esModule ? _45b : { 'default': _45b }; }; defineModule(_44q); Object.defineProperty(_44q, '__esModule', { 'value': !0 }), _44q.MeltIntoSprite = void 0; var _45d = _45a(_44r(18622)), _45e = _44r(37760), _45f = _44r(79787), _45g = function(_45h) { var _45i = null; function _45j() { var _45k = null, _45l = _45h.call(this) || this; return _45l._items = [], _45l._canvas = new PIXI.Container(), _45l.addChild(_45l._canvas), _45l._images = [], _45l; } return _44u(_45j, _45h), _45j.prototype.add = function(_45m) { var _45n = null; this._items.push(_45m); }, _45j.prototype.initialize = function(_45o) { var _45p = null; this._loadUseitemResources(_45o); }, _45j.prototype._loadUseitemResources = function(_45q) { var _45r = null; for (var _45s = this, _45t = new _45f.UseitemLoader(), _45u = 0, _45v = this._items; _45u < _45v.length; _45u++) { var _45w = _45v[_45u]; 6 == _45w.type && _45t.add(_45w.id, 2); } _45t.load(function() { var _45x = null; _45s._loadSlotitemResources(_45q); }); }, _45j.prototype._loadSlotitemResources = function(_45y) { var _45z = null; for (var _460 = this, _461 = new _45e.SlotLoader(), _462 = 0, _463 = this._items; _462 < _463.length; _462++) { var _464 = _463[_462]; 2 == _464.type && _461.add(_464.id, 'card'); } _461.load(function() { var _465 = null; _460._display(), _45y && _45y(); }); }, _45j.prototype._display = function() { var _466 = null; for (var _467 = 0, _468 = this._items; _467 < _468.length; _467++) { var _469, _46a = _468[_467]; if (6 == _46a.type)(_469 = new PIXI.Sprite()).texture = _45d.default.resources.getUseitem(_46a.id, 2), _46a.size > 0 ? _469.scale.set(_46a.size / _469.width) : _469.scale.set(135 / _469.width), this._canvas.addChild(_469), this._images.push(_469); else(_469 = new PIXI.Sprite()).texture = _45d.default.resources.getSlotitem(_46a.id, 'card'), _46a.size > 0 ? _469.scale.set(_46a.size / _469.width) : _469.scale.set(168 / _469.width), this._canvas.addChild(_469), this._images.push(_469); } this._layout(); }, _45j.prototype._layout = function() { var _46b = null; for (var _46c = 0, _46d = 0, _46e = 0, _46f = this._images; _46e < _46f.length; _46e++) { var _46g = _46f[_46e]; _46c = Math.max(_46c, _46g.width), _46d = Math.max(_46d, _46g.height); } switch (this._images.length) { case 1: this._images[0].x = 0, this._images[0].y = 0; break; case 2: this._images[0].x = 0, this._images[0].y = _46d - this._images[0].height, this._images[1].x = this._images[0].width + 4, this._images[1].y = _46d - this._images[1].height; break; case 3: this._images[0].x = 0, this._images[0].y = _46d - this._images[0].height, this._images[1].x = this._images[0].width + 4, this._images[1].y = _46d - this._images[1].height, this._images[2].x = this._images[1].x + this._images[1].width + 4, this._images[2].y = _46d - this._images[2].height; break; case 4: this._images[0].x = _46c - this._images[0].width - Math.round(2), this._images[0].y = _46d - this._images[0].height - Math.round(2), this._images[1].x = _46c + Math.round(2), this._images[1].y = _46d - this._images[1].height - Math.round(2), this._images[2].x = _46c - this._images[2].width - Math.round(2), this._images[2].y = _46d + Math.round(2), this._images[3].x = _46c + Math.round(2), this._images[3].y = _46d + Math.round(2); } this._canvas.x = -Math.round(this._canvas.width / 2), this._canvas.y = -Math.round(this._canvas.height / 2); }, _45j; }(PIXI.Container); _44q.MeltIntoSprite = _45g; }, 29499: function(_46h, _46i, _46j) { 'use strict'; var _46k = null; var _46l, _46m = this && this.__extends || (_46l = function(_46n, _46o) { var _46p = null; return _46l = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_46q, _46r) { var _46s = null; _46q.__proto__ = _46r; } || function(_46t, _46u) { var _46v = null; for (var _46w in _46u) Object.prototype.hasOwnProperty.call(_46u, _46w) && (_46t[_46w] = _46u[_46w]); }, _46l(_46n, _46o); }, function(_46x, _46y) { var _46z = null; if ('function' != typeof _46y && null !== _46y) throw new TypeError('Class extends value ' + String(_46y) + ' is not a constructor or null'); function _470() { var _471 = null; this.constructor = _46x; } _46l(_46x, _46y), _46x.prototype = null === _46y ? Object.create(_46y) : (_470.prototype = _46y.prototype, new _470()); }); defineModule(_46i); Object.defineProperty(_46i, '__esModule', { 'value': !0 }), _46i.ModelChangeMessageBox = void 0; var _472 = _46j(8744), _473 = _46j(11997), _474 = function(_475) { var _476 = null; function _477() { var _478 = null, _479 = _475.call(this) || this; return _479._text = new _472.TextBox(27, 16777215), _479.addChild(_479._text), _479; } return _46m(_477, _475), _477.prototype.initialize = function(_47a) { var _47b = null; this.texture = _473.COMMON_MISC.getTexture(127), this._text.text = _47a, this._text.x = 615 - Math.round(this._text.width / 2), this._text.y = 159 - Math.round(this._text.height / 2); }, _477.prototype.changeText = function(_47c) { var _47d = null, _47e = this; createjs.Tween.get(this._text).to({ 'alpha': 0 }, 200).call(function() { var _47f = null; _47e._startAnimation(_47c); }); }, _477.prototype.dispose = function() { var _47g = null; this._stopAnimation(), this.removeChildren(), this._text.destroy(); }, _477.prototype._startAnimation = function(_47h) { var _47i = null, _47j = this; null == this._t && null != _47h && 0 != _47h.length && (this._message = _47h, this._text.text = '', this._text.alpha = 1, this._text.x = 246, this._text.y = 87, this._t = createjs.Tween.get(null, { 'loop': !0 }).wait(100).call(function() { var _47k = null, _47l = _47j._message.substr(0, 1); '\x20' == _47j._text.text ? _47j._text.text = _47l : _47j._text.text += _47l, _47j._message = _47j._message.substr(1), 0 == _47j._message.length && _47j._stopAnimation(); })); }, _477.prototype._stopAnimation = function() { var _47m = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _477; }(PIXI.Sprite); _46i.ModelChangeMessageBox = _474; }, 61279: function(_47n, _47o, _47p) { 'use strict'; var _47q = null; var _47r, _47s = this && this.__extends || (_47r = function(_47t, _47u) { var _47v = null; return _47r = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_47w, _47x) { var _47y = null; _47w.__proto__ = _47x; } || function(_47z, _480) { var _481 = null; for (var _482 in _480) Object.prototype.hasOwnProperty.call(_480, _482) && (_47z[_482] = _480[_482]); }, _47r(_47t, _47u); }, function(_483, _484) { var _485 = null; if ('function' != typeof _484 && null !== _484) throw new TypeError('Class extends value ' + String(_484) + ' is not a constructor or null'); function _486() { var _487 = null; this.constructor = _483; } _47r(_483, _484), _483.prototype = null === _484 ? Object.create(_484) : (_486.prototype = _484.prototype, new _486()); }); defineModule(_47o); Object.defineProperty(_47o, '__esModule', { 'value': !0 }), _47o.ModelChangeParticleLayer = void 0; var _488 = _47p(11997), _489 = function(_48a) { var _48b = null; function _48c() { var _48d = null, _48e = _48a.call(this) || this; return _48e._onUpdate = function() { var _48f = null; if (_48e.children.length < 20 && Math.random() < 0.1) { var _48g = new _48h(); _48e.addChild(_48g); } for (var _48i = 0, _48j = _48e.children; _48i < _48j.length; _48i++) { null != (_48g = _48j[_48i]) && _48g.update(); } }, _48e; } return _47s(_48c, _48a), _48c.prototype.activate = function() { var _48k = null; null == this._t && (this._t = createjs.Tween.get(null, { 'loop': !0 }).wait(35).call(this._onUpdate)); }, _48c.prototype.deactivate = function() { var _48l = null; null != this._t && (this._t.setPaused(!0), this._t = null, this.removeChildren()); }, _48c.prototype.dispose = function() { var _48m = null; this.deactivate(); }, _48c; }(PIXI.Container); _47o.ModelChangeParticleLayer = _489; var _48h = function(_48n) { var _48o = null; function _48p() { var _48q = null, _48r = _48n.call(this, _488.COMMON_MISC.getTexture(56)) || this; return _48r._state = 0, _48r.anchor.set(0.5), _48r.x = 600, _48r.y = 360 + 300 * Math.random() - 225, _48r.scale.set(0.1), _48r.alpha = 0, _48r._dir = Math.random() < 0.5 ? 1 : -1, _48r._life = 60 * Math.random() + 30, _48r._xspd = 1.2 * (7 * Math.random() + 6) * _48r._dir, _48r._yspd = 1.2 * -9, _48r._gg = 0.36, _48r; } return _47s(_48p, _48n), _48p.prototype.update = function() { var _48s = null; switch (this.x += this._xspd, this.y += this._yspd, this._yspd += this._gg, this.scale.x < 0.6 && (this.scale.x = this.scale.x + 0.1, this.scale.y = this.scale.y + 0.1), this.rotation += 3 * this._dir / 180 * Math.PI, this._state) { case 0: this.alpha += 0.1, this.alpha >= 1 && (this._state = 1); break; case 1: this._life--, this._life <= 0 && (this._state = 2); break; case 2: this.parent.removeChild(this); } }, _48p; }(PIXI.Sprite); }, 6147: function(_48t, _48u, _48v) { 'use strict'; var _48w = null; var _48x, _48y = this && this.__extends || (_48x = function(_48z, _490) { var _491 = null; return _48x = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_492, _493) { var _494 = null; _492.__proto__ = _493; } || function(_495, _496) { var _497 = null; for (var _498 in _496) Object.prototype.hasOwnProperty.call(_496, _498) && (_495[_498] = _496[_498]); }, _48x(_48z, _490); }, function(_499, _49a) { var _49b = null; if ('function' != typeof _49a && null !== _49a) throw new TypeError('Class extends value ' + String(_49a) + ' is not a constructor or null'); function _49c() { var _49d = null; this.constructor = _499; } _48x(_499, _49a), _499.prototype = null === _49a ? Object.create(_49a) : (_49c.prototype = _49a.prototype, new _49c()); }), _49e = this && this.__importDefault || function(_49f) { var _49g = null; return _49f && _49f.__esModule ? _49f : { 'default': _49f }; }; defineModule(_48u); Object.defineProperty(_48u, '__esModule', { 'value': !0 }), _48u.TaskReward = void 0; var _49h = _49e(_48v(21359)), _49i = _49e(_48v(18622)), _49j = _48v(81755), _49k = _48v(87475), _49l = _48v(64415), _49m = _48v(30126), _49n = _48v(12677), _49o = _48v(33395), _49p = _48v(44678), _49q = _48v(57947), _49r = _48v(3882), _49s = _48v(28847), _49t = _48v(81695), _49u = _48v(22423), _49v = _48v(32992), _49w = _48v(88321), _49x = _48v(294), _49y = _48v(69916), _49z = _48v(13239), _4a0 = _48v(27416), _4a1 = _48v(81987), _4a2 = _48v(85968), _4a3 = _48v(61638), _4a4 = _48v(80149), _4a5 = _48v(50493), _4a6 = _48v(13774), _4a7 = _48v(57070), _4a8 = _48v(22939), _4a9 = _48v(70670), _4aa = _48v(29168), _4ab = _48v(70041), _4ac = _48v(52096), _4ad = _48v(62085), _4ae = _48v(61953), _4af = _48v(66279), _4ag = _48v(75223), _4ah = _48v(5975), _4ai = function(_4aj) { var _4ak = null; function _4al(_4am, _4an, _4ao) { var _4ap = null; void 0 === _4ao && (_4ao = -1); var _4aq = _4aj.call(this) || this; return _4aq._layer = _4am, _4aq._rewards = _4an, _4aq._quest_id = _4ao, _4aq; } return _48y(_4al, _4aj), _4al.prototype._start = function() { var _4ar = null, _4as = this; this._fade = new _49k.FadeBox(0.6), this._layer.addChild(this._fade), this._fade.show(300, function() { var _4at = null; _4as._addDialog(); }); }, _4al.prototype._addDialog = function() { var _4au = null; this._dialog = new _4a1.RewardDialog(), this._dialog.position.set(_49h.default.width / 2, _49h.default.height / 2), this._dialog.initialize(), this._layer.addChild(this._dialog), this._showReward(); }, _4al.prototype._showReward = function() { var _4av = null, _4aw = this; if (null != this._rewards && 0 != this._rewards.length) { var _4ax = this._rewards.shift(), _4ay = this._getTask(_4ax); null == _4ay ? this._removeDialog() : _4ay.start(function() { var _4az = null; _4aw._showReward(); }); } else this._removeDialog(); }, _4al.prototype._removeDialog = function() { var _4b0 = null; this._layer.removeChild(this._dialog), this._dialog.dispose(), this._dialog = null, this._hideFade(); }, _4al.prototype._hideFade = function() { var _4b1 = null, _4b2 = this; this._fade.hide(200, function() { var _4b3 = null; _4b2._layer.removeChild(_4b2._fade), _4b2._fade = null, _4b2._endTask(); }); }, _4al.prototype._endTask = function() { var _4b4 = null; this._layer = null, this._rewards = null, _4aj.prototype._endTask.call(this); }, _4al.prototype._getTask = function(_4b5) { var _4b6 = null; if (_4b5 instanceof _49t.RewardModelShip) return [101, 205, 206, 217, 409].indexOf(this._quest_id) >= 0 ? new _4aa.TaskRewardDialogShip(this._dialog, _4b5) : new _4b7(this._layer, _4b5.mst_id); return _4b5 instanceof _49u.RewardModelSlotitem ? new _4ab.TaskRewardDialogSlotitem(this._dialog, _4b5) : _4b5 instanceof _49v.RewardModelUseitem ? new _4ac.TaskRewardDialogUseitem(this._dialog, _4b5) : _4b5 instanceof _49s.RewardModelMultiUseitem ? new _4a9.TaskRewardDialogMultiUseitem(this._dialog, _4b5) : _4b5 instanceof _49o.RewardModelFurniture ? new _4a5.TaskRewardDialogFurniture(this._dialog, _4b5) : _4b5 instanceof _49m.RewardModelDeck ? new _4a3.TaskRewardDialogDeck(this._dialog, _4b5) : _4b5 instanceof _49n.RewardModelExtraSupply ? new _4a4.TaskRewardDialogExtraSupply(this._dialog, _4b5) : _4b5 instanceof _49p.RewardModelLargeBuild ? new _4a6.TaskRewardDialogLargeBuild(this._dialog, _4b5) : _4b5 instanceof _49r.RewardModelModelChange ? new _4a8.TaskRewardDialogModelChange(this._dialog, _4b5, this._quest_id, this._fade) : _4b5 instanceof _49l.RewardModelAirUnit ? new _4a2.TaskRewardDialogAirUnit(this._dialog, _4b5, this._quest_id) : _4b5 instanceof _49w.RewardModelWarResult ? new _4ad.TaskRewardDialogWarResult(this._dialog, _4b5) : _4b5 instanceof _49q.RewardModelMap ? new _4a7.TaskRewardDialogMap(this._dialog, _4b5) : _4b5 instanceof _49x.RewardModelBonusShip ? new _4b8(this._layer, this._dialog, _4b5.mst_id) : _4b5 instanceof _49y.RewardModelBonusSlotitem ? new _4b9(this._layer, this._dialog, _4b5.mst_id, _4b5.count, _4b5.level) : _4b5 instanceof _49z.RewardModelBonusUseitem ? new _4ba(this._layer, this._dialog, _4b5.mst_id, _4b5.count) : _4b5 instanceof _4a0.RewardModelBonusFurniture ? new _4bb(this._layer, this._dialog, _4b5.mst_id) : void 0; }, _4al; }(_49j.TaskBase); _48u.TaskReward = _4ai; var _4b7 = function(_4bc) { var _4bd = null; function _4be(_4bf, _4bg) { var _4bh = null, _4bi = _4bc.call(this, _4bf, _4bg, !0) || this; return _4bi._before_bgm_id = _49i.default.sound.bgm.bgm_id, _4bi; } return _48y(_4be, _4bc), _4be.prototype._finalize = function(_4bj) { var _4bk = null, _4bl = this; 1 == _49i.default.sound.bgm.playing && _49i.default.sound.bgm.fadeOut(1200), createjs.Tween.get(_4bj).to({ 'alpha': 0 }, 300).call(function() { var _4bm = null; _4bj.deactivate(), _4bl._bonus.removeChild(_4bj); }), createjs.Tween.get(this._bonus).wait(100).to({ 'alpha': 0 }, 300).call(function() { var _4bn = null; _4bl.dispose(), _4bl._endTask(); }).wait(900).call(function() { var _4bo = null; _49i.default.sound.bgm.play(_4bl._before_bgm_id); }); }, _4be; }(_4ae.TaskBonusShip), _4b8 = function(_4bp) { var _4bq = null; function _4br(_4bs, _4bt, _4bu) { var _4bv = null, _4bw = _4bp.call(this, _4bs, _4bu, !0) || this; return _4bt.bg.alpha = 0, _4bt.light.alpha = 0, _4bt.container.alpha = 0, _4bw._before_bgm_id = _49i.default.sound.bgm.bgm_id, _4bw; } return _48y(_4br, _4bp), _4br.prototype._finalize = function(_4bx) { var _4by = null, _4bz = this; 1 == _49i.default.sound.bgm.playing && _49i.default.sound.bgm.fadeOut(1200), createjs.Tween.get(_4bx).to({ 'alpha': 0 }, 300).call(function() { var _4c0 = null; _4bx.deactivate(), _4bz._bonus.removeChild(_4bx); }), createjs.Tween.get(this._bonus).wait(100).to({ 'alpha': 0 }, 300).call(function() { var _4c1 = null; _4bz.dispose(), _4bz._endTask(); }).wait(900).call(function() { var _4c2 = null; _49i.default.sound.bgm.play(_4bz._before_bgm_id); }); }, _4br; }(_4ae.TaskBonusShip), _4b9 = function(_4c3) { var _4c4 = null; function _4c5(_4c6, _4c7, _4c8, _4c9, _4ca) { var _4cb = null, _4cc = _4c3.call(this, _4c6, _4c8, _4c9, _4ca, !1) || this; return _4c7.bg.alpha = 0, _4c7.light.alpha = 0, _4c7.container.alpha = 0, _4cc; } return _48y(_4c5, _4c3), _4c5.prototype._finalize = function(_4cd) { var _4ce = null, _4cf = this; createjs.Tween.get(_4cd).to({ 'alpha': 0 }, 300).call(function() { var _4cg = null; _4cd.deactivate(), _4cf._bonus.removeChild(_4cd); }), createjs.Tween.get(this._bonus).wait(100).to({ 'alpha': 0 }, 300).call(function() { var _4ch = null; _4cf.dispose(), _4cf._endTask(); }); }, _4c5; }(_4ag.TaskBonusSlot), _4ba = function(_4ci) { var _4cj = null; function _4ck(_4cl, _4cm, _4cn, _4co) { var _4cp = null, _4cq = _4ci.call(this, _4cl, _4cn, _4co, !1) || this; return _4cm.bg.alpha = 0, _4cm.light.alpha = 0, _4cm.container.alpha = 0, _4cq; } return _48y(_4ck, _4ci), _4ck.prototype._finalize = function(_4cr) { var _4cs = null, _4ct = this; createjs.Tween.get(_4cr).to({ 'alpha': 0 }, 300).call(function() { var _4cu = null; _4cr.deactivate(), _4ct._bonus.removeChild(_4cr); }), createjs.Tween.get(this._bonus).wait(100).to({ 'alpha': 0 }, 300).call(function() { var _4cv = null; _4ct.dispose(), _4ct._endTask(); }); }, _4ck; }(_4af.TaskBonusUseItem), _4bb = function(_4cw) { var _4cx = null; function _4cy(_4cz, _4d0, _4d1) { var _4d2 = null, _4d3 = _4cw.call(this, _4cz, _4d1, !1) || this; return _4d0.bg.alpha = 0, _4d0.light.alpha = 0, _4d0.container.alpha = 0, _4d3; } return _48y(_4cy, _4cw), _4cy.prototype._finalize = function(_4d4) { var _4d5 = null, _4d6 = this; createjs.Tween.get(_4d4).to({ 'alpha': 0 }, 300).call(function() { var _4d7 = null; _4d4.deactivate(), _4d6._bonus.removeChild(_4d4); }), createjs.Tween.get(this._bonus).wait(100).to({ 'alpha': 0 }, 300).call(function() { var _4d8 = null; _4d6.dispose(), _4d6._endTask(); }); }, _4cy; }(_4ah.TaskBonusFurniture); }, 59694: (_4d9, _4da) => { 'use strict'; var _4db = null; defineModule(_4da); Object.defineProperty(_4da, '__esModule', { 'value': !0 }), _4da.RewardModel = void 0; var _4dc = (function() { var _4dd = null; function _4de() {} return Object.defineProperty(_4de.prototype, 'message', { 'get': function() { var _4df = null; return null == this._message ? '' : this._message; }, 'enumerable': !1, 'configurable': !0 }), _4de; }()); _4da.RewardModel = _4dc; }, 64415: function(_4dg, _4dh, _4di) { 'use strict'; var _4dj = null; var _4dk, _4dl = this && this.__extends || (_4dk = function(_4dm, _4dn) { var _4do = null; return _4dk = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_4dp, _4dq) { var _4dr = null; _4dp.__proto__ = _4dq; } || function(_4ds, _4dt) { var _4du = null; for (var _4dv in _4dt) Object.prototype.hasOwnProperty.call(_4dt, _4dv) && (_4ds[_4dv] = _4dt[_4dv]); }, _4dk(_4dm, _4dn); }, function(_4dw, _4dx) { var _4dy = null; if ('function' != typeof _4dx && null !== _4dx) throw new TypeError('Class extends value ' + String(_4dx) + ' is not a constructor or null'); function _4dz() { var _4e0 = null; this.constructor = _4dw; } _4dk(_4dw, _4dx), _4dw.prototype = null === _4dx ? Object.create(_4dx) : (_4dz.prototype = _4dx.prototype, new _4dz()); }); defineModule(_4dh); Object.defineProperty(_4dh, '__esModule', { 'value': !0 }), _4dh.RewardModelAirUnit = void 0; var _4e1 = function(_4e2) { var _4e3 = null; function _4e4(_4e5, _4e6, _4e7) { var _4e8 = null, _4e9 = _4e2.call(this) || this; return _4e9._area_id = _4e5, _4e9._message1 = _4e6, _4e9._message2 = _4e7, _4e9; } return _4dl(_4e4, _4e2), Object.defineProperty(_4e4.prototype, 'area_id', { 'get': function() { var _4ea = null; return this._area_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_4e4.prototype, 'message1', { 'get': function() { var _4eb = null; return this._message1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_4e4.prototype, 'message2', { 'get': function() { var _4ec = null; return this._message2; }, 'enumerable': !1, 'configurable': !0 }), _4e4; }(_4di(59694).RewardModel); _4dh.RewardModelAirUnit = _4e1; }, 27416: function(_4ed, _4ee, _4ef) { 'use strict'; var _4eg = null; var _4eh, _4ei = this && this.__extends || (_4eh = function(_4ej, _4ek) { var _4el = null; return _4eh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_4em, _4en) { var _4eo = null; _4em.__proto__ = _4en; } || function(_4ep, _4eq) { var _4er = null; for (var _4es in _4eq) Object.prototype.hasOwnProperty.call(_4eq, _4es) && (_4ep[_4es] = _4eq[_4es]); }, _4eh(_4ej, _4ek); }, function(_4et, _4eu) { var _4ev = null; if ('function' != typeof _4eu && null !== _4eu) throw new TypeError('Class extends value ' + String(_4eu) + ' is not a constructor or null'); function _4ew() { var _4ex = null; this.constructor = _4et; } _4eh(_4et, _4eu), _4et.prototype = null === _4eu ? Object.create(_4eu) : (_4ew.prototype = _4eu.prototype, new _4ew()); }), _4ey = this && this.__importDefault || function(_4ez) { var _4f0 = null; return _4ez && _4ez.__esModule ? _4ez : { 'default': _4ez }; }; defineModule(_4ee); Object.defineProperty(_4ee, '__esModule', { 'value': !0 }), _4ee.RewardModelBonusFurniture = void 0; var _4f1 = _4ey(_4ef(18622)), _4f2 = function(_4f3) { var _4f4 = null; function _4f5(_4f6, _4f7, _4f8) { var _4f9 = null; void 0 === _4f7 && (_4f7 = null), void 0 === _4f8 && (_4f8 = null); var _4fa = _4f3.call(this) || this; return _4fa._mst_id = _4f6, _4fa._name = _4f7, _4fa._message = _4f8, _4fa; } return _4ei(_4f5, _4f3), Object.defineProperty(_4f5.prototype, 'mst_id', { 'get': function() { var _4fb = null; return this._mst_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_4f5.prototype, 'name', { 'get': function() { var _4fc = null; if (null != this._name && this._name.length > 0) return this._name; var _4fd = _4f1.default.model.furniture.getData(this._mst_id); return null == _4fd ? '' : _4fd.name; }, 'enumerable': !1, 'configurable': !0 }), _4f5; }(_4ef(59694).RewardModel); _4ee.RewardModelBonusFurniture = _4f2; }, 294: function(_4fe, _4ff, _4fg) { 'use strict'; var _4fh = null; var _4fi, _4fj = this && this.__extends || (_4fi = function(_4fk, _4fl) { var _4fm = null; return _4fi = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_4fn, _4fo) { var _4fp = null; _4fn.__proto__ = _4fo; } || function(_4fq, _4fr) { var _4fs = null; for (var _4ft in _4fr) Object.prototype.hasOwnProperty.call(_4fr, _4ft) && (_4fq[_4ft] = _4fr[_4ft]); }, _4fi(_4fk, _4fl); }, function(_4fu, _4fv) { var _4fw = null; if ('function' != typeof _4fv && null !== _4fv) throw new TypeError('Class extends value ' + String(_4fv) + ' is not a constructor or null'); function _4fx() { var _4fy = null; this.constructor = _4fu; } _4fi(_4fu, _4fv), _4fu.prototype = null === _4fv ? Object.create(_4fv) : (_4fx.prototype = _4fv.prototype, new _4fx()); }), _4fz = this && this.__importDefault || function(_4g0) { var _4g1 = null; return _4g0 && _4g0.__esModule ? _4g0 : { 'default': _4g0 }; }; defineModule(_4ff); Object.defineProperty(_4ff, '__esModule', { 'value': !0 }), _4ff.RewardModelBonusShip = void 0; var _4g2 = _4fz(_4fg(18622)), _4g3 = function(_4g4) { var _4g5 = null; function _4g6(_4g7, _4g8) { var _4g9 = null; void 0 === _4g8 && (_4g8 = null); var _4ga = _4g4.call(this) || this; return _4ga._mst_id = _4g7, _4ga._message = _4g8, _4ga; } return _4fj(_4g6, _4g4), Object.defineProperty(_4g6.prototype, 'mst_id', { 'get': function() { var _4gb = null; return this._mst_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_4g6.prototype, 'name', { 'get': function() { var _4gc = null, _4gd = _4g2.default.model.ship.get(this._mst_id); return null == _4gd ? '' : _4gd.name; }, 'enumerable': !1, 'configurable': !0 }), _4g6; }(_4fg(59694).RewardModel); _4ff.RewardModelBonusShip = _4g3; }, 69916: function(_4ge, _4gf, _4gg) { 'use strict'; var _4gh = null; var _4gi, _4gj = this && this.__extends || (_4gi = function(_4gk, _4gl) { var _4gm = null; return _4gi = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_4gn, _4go) { var _4gp = null; _4gn.__proto__ = _4go; } || function(_4gq, _4gr) { var _4gs = null; for (var _4gt in _4gr) Object.prototype.hasOwnProperty.call(_4gr, _4gt) && (_4gq[_4gt] = _4gr[_4gt]); }, _4gi(_4gk, _4gl); }, function(_4gu, _4gv) { var _4gw = null; if ('function' != typeof _4gv && null !== _4gv) throw new TypeError('Class extends value ' + String(_4gv) + ' is not a constructor or null'); function _4gx() { var _4gy = null; this.constructor = _4gu; } _4gi(_4gu, _4gv), _4gu.prototype = null === _4gv ? Object.create(_4gv) : (_4gx.prototype = _4gv.prototype, new _4gx()); }), _4gz = this && this.__importDefault || function(_4h0) { var _4h1 = null; return _4h0 && _4h0.__esModule ? _4h0 : { 'default': _4h0 }; }; defineModule(_4gf); Object.defineProperty(_4gf, '__esModule', { 'value': !0 }), _4gf.RewardModelBonusSlotitem = void 0; var _4h2 = _4gz(_4gg(18622)), _4h3 = function(_4h4) { var _4h5 = null; function _4h6(_4h7, _4h8, _4h9, _4ha) { var _4hb = null; void 0 === _4ha && (_4ha = null); var _4hc = _4h4.call(this) || this; return _4hc._mst_id = _4h7, _4hc._level = _4h8, _4hc._count = _4h9, _4hc._message = _4ha, _4hc; } return _4gj(_4h6, _4h4), Object.defineProperty(_4h6.prototype, 'mst_id', { 'get': function() { var _4hd = null; return this._mst_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_4h6.prototype, 'count', { 'get': function() { var _4he = null; return this._count; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_4h6.prototype, 'name', { 'get': function() { var _4hf = null, _4hg = _4h2.default.model.slot.get(this._mst_id); return null == _4hg ? '' : _4hg.name; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_4h6.prototype, 'level', { 'get': function() { var _4hh = null; return this._level; }, 'enumerable': !1, 'configurable': !0 }), _4h6; }(_4gg(59694).RewardModel); _4gf.RewardModelBonusSlotitem = _4h3; }, 13239: function(_4hi, _4hj, _4hk) { 'use strict'; var _4hl = null; var _4hm, _4hn = this && this.__extends || (_4hm = function(_4ho, _4hp) { var _4hq = null; return _4hm = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_4hr, _4hs) { var _4ht = null; _4hr.__proto__ = _4hs; } || function(_4hu, _4hv) { var _4hw = null; for (var _4hx in _4hv) Object.prototype.hasOwnProperty.call(_4hv, _4hx) && (_4hu[_4hx] = _4hv[_4hx]); }, _4hm(_4ho, _4hp); }, function(_4hy, _4hz) { var _4i0 = null; if ('function' != typeof _4hz && null !== _4hz) throw new TypeError('Class extends value ' + String(_4hz) + ' is not a constructor or null'); function _4i1() { var _4i2 = null; this.constructor = _4hy; } _4hm(_4hy, _4hz), _4hy.prototype = null === _4hz ? Object.create(_4hz) : (_4i1.prototype = _4hz.prototype, new _4i1()); }), _4i3 = this && this.__importDefault || function(_4i4) { var _4i5 = null; return _4i4 && _4i4.__esModule ? _4i4 : { 'default': _4i4 }; }; defineModule(_4hj); Object.defineProperty(_4hj, '__esModule', { 'value': !0 }), _4hj.RewardModelBonusUseitem = void 0; var _4i6 = _4i3(_4hk(18622)), _4i7 = function(_4i8) { var _4i9 = null; function _4ia(_4ib, _4ic, _4id) { var _4ie = null; void 0 === _4id && (_4id = null); var _4if = _4i8.call(this) || this; return _4if._mst_id = _4ib, _4if._count = _4ic, _4if._message = _4id, _4if; } return _4hn(_4ia, _4i8), Object.defineProperty(_4ia.prototype, 'mst_id', { 'get': function() { var _4ig = null; return this._mst_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_4ia.prototype, 'count', { 'get': function() { var _4ih = null; return this._count; }, 'set': function(_4ii) { var _4ij = null; this._count = _4ii; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_4ia.prototype, 'name', { 'get': function() { var _4ik = null, _4il = _4i6.default.model.useItem.get(this._mst_id); return null == _4il ? '' : _4il.name; }, 'enumerable': !1, 'configurable': !0 }), _4ia; }(_4hk(59694).RewardModel); _4hj.RewardModelBonusUseitem = _4i7; }, 30126: function(_4im, _4in, _4io) { 'use strict'; var _4ip = null; var _4iq, _4ir = this && this.__extends || (_4iq = function(_4is, _4it) { var _4iu = null; return _4iq = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_4iv, _4iw) { var _4ix = null; _4iv.__proto__ = _4iw; } || function(_4iy, _4iz) { var _4j0 = null; for (var _4j1 in _4iz) Object.prototype.hasOwnProperty.call(_4iz, _4j1) && (_4iy[_4j1] = _4iz[_4j1]); }, _4iq(_4is, _4it); }, function(_4j2, _4j3) { var _4j4 = null; if ('function' != typeof _4j3 && null !== _4j3) throw new TypeError('Class extends value ' + String(_4j3) + ' is not a constructor or null'); function _4j5() { var _4j6 = null; this.constructor = _4j2; } _4iq(_4j2, _4j3), _4j2.prototype = null === _4j3 ? Object.create(_4j3) : (_4j5.prototype = _4j3.prototype, new _4j5()); }); defineModule(_4in); Object.defineProperty(_4in, '__esModule', { 'value': !0 }), _4in.RewardModelDeck = void 0; var _4j7 = function(_4j8) { var _4j9 = null; function _4ja(_4jb, _4jc) { var _4jd = null, _4je = _4j8.call(this) || this; return _4je._deck_id = _4jb, _4je._deck_name = _4jc, _4je; } return _4ir(_4ja, _4j8), Object.defineProperty(_4ja.prototype, 'deck_id', { 'get': function() { var _4jf = null; return this._deck_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_4ja.prototype, 'deck_name', { 'get': function() { var _4jg = null; return this._deck_name; }, 'enumerable': !1, 'configurable': !0 }), _4ja; }(_4io(59694).RewardModel); _4in.RewardModelDeck = _4j7; }, 12677: function(_4jh, _4ji, _4jj) { 'use strict'; var _4jk = null; var _4jl, _4jm = this && this.__extends || (_4jl = function(_4jn, _4jo) { var _4jp = null; return _4jl = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_4jq, _4jr) { var _4js = null; _4jq.__proto__ = _4jr; } || function(_4jt, _4ju) { var _4jv = null; for (var _4jw in _4ju) Object.prototype.hasOwnProperty.call(_4ju, _4jw) && (_4jt[_4jw] = _4ju[_4jw]); }, _4jl(_4jn, _4jo); }, function(_4jx, _4jy) { var _4jz = null; if ('function' != typeof _4jy && null !== _4jy) throw new TypeError('Class extends value ' + String(_4jy) + ' is not a constructor or null'); function _4k0() { var _4k1 = null; this.constructor = _4jx; } _4jl(_4jx, _4jy), _4jx.prototype = null === _4jy ? Object.create(_4jy) : (_4k0.prototype = _4jy.prototype, new _4k0()); }); defineModule(_4ji); Object.defineProperty(_4ji, '__esModule', { 'value': !0 }), _4ji.RewardModelExtraSupply = void 0; var _4k2 = function(_4k3) { var _4k4 = null; function _4k5(_4k6) { var _4k7 = null, _4k8 = _4k3.call(this) || this; return _4k8._flag = _4k6, _4k8; } return _4jm(_4k5, _4k3), Object.defineProperty(_4k5.prototype, 'flag', { 'get': function() { var _4k9 = null; return this._flag; }, 'enumerable': !1, 'configurable': !0 }), _4k5; }(_4jj(59694).RewardModel); _4ji.RewardModelExtraSupply = _4k2; }, 33395: function(_4ka, _4kb, _4kc) { 'use strict'; var _4kd = null; var _4ke, _4kf = this && this.__extends || (_4ke = function(_4kg, _4kh) { var _4ki = null; return _4ke = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_4kj, _4kk) { var _4kl = null; _4kj.__proto__ = _4kk; } || function(_4km, _4kn) { var _4ko = null; for (var _4kp in _4kn) Object.prototype.hasOwnProperty.call(_4kn, _4kp) && (_4km[_4kp] = _4kn[_4kp]); }, _4ke(_4kg, _4kh); }, function(_4kq, _4kr) { var _4ks = null; if ('function' != typeof _4kr && null !== _4kr) throw new TypeError('Class extends value ' + String(_4kr) + ' is not a constructor or null'); function _4kt() { var _4ku = null; this.constructor = _4kq; } _4ke(_4kq, _4kr), _4kq.prototype = null === _4kr ? Object.create(_4kr) : (_4kt.prototype = _4kr.prototype, new _4kt()); }), _4kv = this && this.__importDefault || function(_4kw) { var _4kx = null; return _4kw && _4kw.__esModule ? _4kw : { 'default': _4kw }; }; defineModule(_4kb); Object.defineProperty(_4kb, '__esModule', { 'value': !0 }), _4kb.RewardModelFurniture = void 0; var _4ky = _4kv(_4kc(18622)), _4kz = function(_4l0) { var _4l1 = null; function _4l2(_4l3, _4l4, _4l5) { var _4l6 = null; void 0 === _4l4 && (_4l4 = null), void 0 === _4l5 && (_4l5 = null); var _4l7 = _4l0.call(this) || this; return _4l7._mst_id = _4l3, _4l7._name = _4l4, _4l7._message = _4l5, _4l7; } return _4kf(_4l2, _4l0), Object.defineProperty(_4l2.prototype, 'mst_id', { 'get': function() { var _4l8 = null; return this._mst_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_4l2.prototype, 'name', { 'get': function() { var _4l9 = null; if (null != this._name && this._name.length > 0) return this._name; var _4la = _4ky.default.model.furniture.getData(this._mst_id); return null == _4la ? '' : _4la.name; }, 'enumerable': !1, 'configurable': !0 }), _4l2; }(_4kc(59694).RewardModel); _4kb.RewardModelFurniture = _4kz; }, 44678: function(_4lb, _4lc, _4ld) { 'use strict'; var _4le = null; var _4lf, _4lg = this && this.__extends || (_4lf = function(_4lh, _4li) { var _4lj = null; return _4lf = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_4lk, _4ll) { var _4lm = null; _4lk.__proto__ = _4ll; } || function(_4ln, _4lo) { var _4lp = null; for (var _4lq in _4lo) Object.prototype.hasOwnProperty.call(_4lo, _4lq) && (_4ln[_4lq] = _4lo[_4lq]); }, _4lf(_4lh, _4li); }, function(_4lr, _4ls) { var _4lt = null; if ('function' != typeof _4ls && null !== _4ls) throw new TypeError('Class extends value ' + String(_4ls) + ' is not a constructor or null'); function _4lu() { var _4lv = null; this.constructor = _4lr; } _4lf(_4lr, _4ls), _4lr.prototype = null === _4ls ? Object.create(_4ls) : (_4lu.prototype = _4ls.prototype, new _4lu()); }); defineModule(_4lc); Object.defineProperty(_4lc, '__esModule', { 'value': !0 }), _4lc.RewardModelLargeBuild = void 0; var _4lw = function(_4lx) { function _4ly() { var _4lz = null; return _4lx.call(this) || this; } return _4lg(_4ly, _4lx), _4ly; }(_4ld(59694).RewardModel); _4lc.RewardModelLargeBuild = _4lw; }, 57947: function(_4m0, _4m1, _4m2) { 'use strict'; var _4m3 = null; var _4m4, _4m5 = this && this.__extends || (_4m4 = function(_4m6, _4m7) { var _4m8 = null; return _4m4 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_4m9, _4ma) { var _4mb = null; _4m9.__proto__ = _4ma; } || function(_4mc, _4md) { var _4me = null; for (var _4mf in _4md) Object.prototype.hasOwnProperty.call(_4md, _4mf) && (_4mc[_4mf] = _4md[_4mf]); }, _4m4(_4m6, _4m7); }, function(_4mg, _4mh) { var _4mi = null; if ('function' != typeof _4mh && null !== _4mh) throw new TypeError('Class extends value ' + String(_4mh) + ' is not a constructor or null'); function _4mj() { var _4mk = null; this.constructor = _4mg; } _4m4(_4mg, _4mh), _4mg.prototype = null === _4mh ? Object.create(_4mh) : (_4mj.prototype = _4mh.prototype, new _4mj()); }); defineModule(_4m1); Object.defineProperty(_4m1, '__esModule', { 'value': !0 }), _4m1.RewardModelMap = void 0; var _4ml = function(_4mm) { var _4mn = null; function _4mo(_4mp, _4mq) { var _4mr = null, _4ms = _4mm.call(this) || this; return _4ms._area_id = _4mp, _4ms._map_no = _4mq, _4ms; } return _4m5(_4mo, _4mm), Object.defineProperty(_4mo.prototype, 'area_id', { 'get': function() { var _4mt = null; return this._area_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_4mo.prototype, 'map_no', { 'get': function() { var _4mu = null; return this._map_no; }, 'enumerable': !1, 'configurable': !0 }), _4mo; }(_4m2(59694).RewardModel); _4m1.RewardModelMap = _4ml; }, 3882: function(_4mv, _4mw, _4mx) { 'use strict'; var _4my = null; var _4mz, _4n0 = this && this.__extends || (_4mz = function(_4n1, _4n2) { var _4n3 = null; return _4mz = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_4n4, _4n5) { var _4n6 = null; _4n4.__proto__ = _4n5; } || function(_4n7, _4n8) { var _4n9 = null; for (var _4na in _4n8) Object.prototype.hasOwnProperty.call(_4n8, _4na) && (_4n7[_4na] = _4n8[_4na]); }, _4mz(_4n1, _4n2); }, function(_4nb, _4nc) { var _4nd = null; if ('function' != typeof _4nc && null !== _4nc) throw new TypeError('Class extends value ' + String(_4nc) + ' is not a constructor or null'); function _4ne() { var _4nf = null; this.constructor = _4nb; } _4mz(_4nb, _4nc), _4nb.prototype = null === _4nc ? Object.create(_4nc) : (_4ne.prototype = _4nc.prototype, new _4ne()); }), _4ng = this && this.__importDefault || function(_4nh) { var _4ni = null; return _4nh && _4nh.__esModule ? _4nh : { 'default': _4nh }; }; defineModule(_4mw); Object.defineProperty(_4mw, '__esModule', { 'value': !0 }), _4mw.RewardModelModelChange = void 0; var _4nj = _4ng(_4mx(18622)), _4nk = function(_4nl) { var _4nm = null; function _4nn(_4no, _4np, _4nq, _4nr) { var _4ns = null, _4nt = _4nl.call(this) || this; return _4nt._need_basic_update = !1, _4nt._need_useitem_update = !1, _4nt._mst_id_from = _4no, _4nt._mst_id_to = _4np.toString(), _4nt._message1 = _4nq, _4nt._message2 = _4nr, _4nt; } return _4n0(_4nn, _4nl), Object.defineProperty(_4nn.prototype, 'mst_id_from', { 'get': function() { var _4nu = null; return this._mst_id_from; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_4nn.prototype, 'name_from', { 'get': function() { var _4nv = null, _4nw = _4nj.default.model.slot.getMst(this._mst_id_from); return null == _4nw ? '' : _4nw.name; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_4nn.prototype, 'mst_id_to', { 'get': function() { var _4nx = null, _4ny = this._mst_id_to.match(/\d+/); return null == _4ny ? 0 : parseInt(_4ny[0]); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_4nn.prototype, 'name_to', { 'get': function() { var _4nz = null, _4o0 = this.mst_id_to; return 1 == this.isUseitemTo() ? _4nj.default.model.useItem.get(_4o0).name : _4nj.default.model.slot.getMst(_4o0).name; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_4nn.prototype, 'message1', { 'get': function() { var _4o1 = null; return this._message1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_4nn.prototype, 'message2', { 'get': function() { var _4o2 = null; return this._message2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_4nn.prototype, 'need_basic_update', { 'get': function() { var _4o3 = null; return this._need_basic_update; }, 'set': function(_4o4) { var _4o5 = null; this._need_basic_update = _4o4; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_4nn.prototype, 'need_useitem_update', { 'get': function() { var _4o6 = null; return this._need_useitem_update; }, 'set': function(_4o7) { var _4o8 = null; this._need_useitem_update = _4o7; }, 'enumerable': !1, 'configurable': !0 }), _4nn.prototype.isUseitemTo = function() { var _4o9 = null; return -1 != this._mst_id_to.search(/u$/); }, _4nn; }(_4mx(59694).RewardModel); _4mw.RewardModelModelChange = _4nk; }, 28847: function(_4oa, _4ob, _4oc) { 'use strict'; var _4od = null; var _4oe, _4of = this && this.__extends || (_4oe = function(_4og, _4oh) { var _4oi = null; return _4oe = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_4oj, _4ok) { var _4ol = null; _4oj.__proto__ = _4ok; } || function(_4om, _4on) { var _4oo = null; for (var _4op in _4on) Object.prototype.hasOwnProperty.call(_4on, _4op) && (_4om[_4op] = _4on[_4op]); }, _4oe(_4og, _4oh); }, function(_4oq, _4or) { var _4os = null; if ('function' != typeof _4or && null !== _4or) throw new TypeError('Class extends value ' + String(_4or) + ' is not a constructor or null'); function _4ot() { var _4ou = null; this.constructor = _4oq; } _4oe(_4oq, _4or), _4oq.prototype = null === _4or ? Object.create(_4or) : (_4ot.prototype = _4or.prototype, new _4ot()); }); defineModule(_4ob); Object.defineProperty(_4ob, '__esModule', { 'value': !0 }), _4ob.RewardModelMultiUseitem = void 0; var _4ov = _4oc(59694), _4ow = _4oc(32992), _4ox = function(_4oy) { var _4oz = null; function _4p0() { var _4p1 = null, _4p2 = _4oy.call(this) || this; return _4p2._rewards = [], _4p2; } return _4of(_4p0, _4oy), Object.defineProperty(_4p0.prototype, 'rewards', { 'get': function() { var _4p3 = null; return this._rewards; }, 'enumerable': !1, 'configurable': !0 }), _4p0.prototype.add = function(_4p4, _4p5) { var _4p6 = null, _4p7 = new _4ow.RewardModelUseitem(_4p4, _4p5), _4p8 = this.rewards.map(function(_4p9) { var _4pa = null; return _4p9.mst_id; }).indexOf(_4p4); if (_4p8 > -1) { var _4pb = this._rewards[_4p8]; _4pb.mst_id == _4p4 && (_4pb.count += _4p5); } else this._rewards.push(_4p7); return this; }, _4p0; }(_4ov.RewardModel); _4ob.RewardModelMultiUseitem = _4ox; }, 81695: function(_4pc, _4pd, _4pe) { 'use strict'; var _4pf = null; var _4pg, _4ph = this && this.__extends || (_4pg = function(_4pi, _4pj) { var _4pk = null; return _4pg = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_4pl, _4pm) { var _4pn = null; _4pl.__proto__ = _4pm; } || function(_4po, _4pp) { var _4pq = null; for (var _4pr in _4pp) Object.prototype.hasOwnProperty.call(_4pp, _4pr) && (_4po[_4pr] = _4pp[_4pr]); }, _4pg(_4pi, _4pj); }, function(_4ps, _4pt) { var _4pu = null; if ('function' != typeof _4pt && null !== _4pt) throw new TypeError('Class extends value ' + String(_4pt) + ' is not a constructor or null'); function _4pv() { var _4pw = null; this.constructor = _4ps; } _4pg(_4ps, _4pt), _4ps.prototype = null === _4pt ? Object.create(_4pt) : (_4pv.prototype = _4pt.prototype, new _4pv()); }), _4px = this && this.__importDefault || function(_4py) { var _4pz = null; return _4py && _4py.__esModule ? _4py : { 'default': _4py }; }; defineModule(_4pd); Object.defineProperty(_4pd, '__esModule', { 'value': !0 }), _4pd.RewardModelShip = void 0; var _4q0 = _4px(_4pe(18622)), _4q1 = function(_4q2) { var _4q3 = null; function _4q4(_4q5, _4q6) { var _4q7 = null; void 0 === _4q6 && (_4q6 = null); var _4q8 = _4q2.call(this) || this; return _4q8._mst_id = _4q5, _4q8._message = _4q6, _4q8; } return _4ph(_4q4, _4q2), Object.defineProperty(_4q4.prototype, 'mst_id', { 'get': function() { var _4q9 = null; return this._mst_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_4q4.prototype, 'name', { 'get': function() { var _4qa = null, _4qb = _4q0.default.model.ship.get(this._mst_id); return null == _4qb ? '' : _4qb.name; }, 'enumerable': !1, 'configurable': !0 }), _4q4; }(_4pe(59694).RewardModel); _4pd.RewardModelShip = _4q1; }, 22423: function(_4qc, _4qd, _4qe) { 'use strict'; var _4qf = null; var _4qg, _4qh = this && this.__extends || (_4qg = function(_4qi, _4qj) { var _4qk = null; return _4qg = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_4ql, _4qm) { var _4qn = null; _4ql.__proto__ = _4qm; } || function(_4qo, _4qp) { var _4qq = null; for (var _4qr in _4qp) Object.prototype.hasOwnProperty.call(_4qp, _4qr) && (_4qo[_4qr] = _4qp[_4qr]); }, _4qg(_4qi, _4qj); }, function(_4qs, _4qt) { var _4qu = null; if ('function' != typeof _4qt && null !== _4qt) throw new TypeError('Class extends value ' + String(_4qt) + ' is not a constructor or null'); function _4qv() { var _4qw = null; this.constructor = _4qs; } _4qg(_4qs, _4qt), _4qs.prototype = null === _4qt ? Object.create(_4qt) : (_4qv.prototype = _4qt.prototype, new _4qv()); }), _4qx = this && this.__importDefault || function(_4qy) { var _4qz = null; return _4qy && _4qy.__esModule ? _4qy : { 'default': _4qy }; }; defineModule(_4qd); Object.defineProperty(_4qd, '__esModule', { 'value': !0 }), _4qd.RewardModelSlotitem = void 0; var _4r0 = _4qx(_4qe(18622)), _4r1 = function(_4r2) { var _4r3 = null; function _4r4(_4r5, _4r6, _4r7, _4r8) { var _4r9 = null; void 0 === _4r8 && (_4r8 = null); var _4ra = _4r2.call(this) || this; return _4ra._mst_id = _4r5, _4ra._level = _4r6, _4ra._count = _4r7, _4ra._message = _4r8, _4ra; } return _4qh(_4r4, _4r2), Object.defineProperty(_4r4.prototype, 'mst_id', { 'get': function() { var _4rb = null; return this._mst_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_4r4.prototype, 'count', { 'get': function() { var _4rc = null; return this._count; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_4r4.prototype, 'name', { 'get': function() { var _4rd = null, _4re = _4r0.default.model.slot.get(this._mst_id); return null == _4re ? '' : _4re.name; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_4r4.prototype, 'level', { 'get': function() { var _4rf = null; return this._level; }, 'enumerable': !1, 'configurable': !0 }), _4r4; }(_4qe(59694).RewardModel); _4qd.RewardModelSlotitem = _4r1; }, 32992: function(_4rg, _4rh, _4ri) { 'use strict'; var _4rj = null; var _4rk, _4rl = this && this.__extends || (_4rk = function(_4rm, _4rn) { var _4ro = null; return _4rk = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_4rp, _4rq) { var _4rr = null; _4rp.__proto__ = _4rq; } || function(_4rs, _4rt) { var _4ru = null; for (var _4rv in _4rt) Object.prototype.hasOwnProperty.call(_4rt, _4rv) && (_4rs[_4rv] = _4rt[_4rv]); }, _4rk(_4rm, _4rn); }, function(_4rw, _4rx) { var _4ry = null; if ('function' != typeof _4rx && null !== _4rx) throw new TypeError('Class extends value ' + String(_4rx) + ' is not a constructor or null'); function _4rz() { var _4s0 = null; this.constructor = _4rw; } _4rk(_4rw, _4rx), _4rw.prototype = null === _4rx ? Object.create(_4rx) : (_4rz.prototype = _4rx.prototype, new _4rz()); }), _4s1 = this && this.__importDefault || function(_4s2) { var _4s3 = null; return _4s2 && _4s2.__esModule ? _4s2 : { 'default': _4s2 }; }; defineModule(_4rh); Object.defineProperty(_4rh, '__esModule', { 'value': !0 }), _4rh.RewardModelUseitem = void 0; var _4s4 = _4s1(_4ri(18622)), _4s5 = function(_4s6) { var _4s7 = null; function _4s8(_4s9, _4sa, _4sb) { var _4sc = null; void 0 === _4sb && (_4sb = null); var _4sd = _4s6.call(this) || this; return _4sd._mst_id = _4s9, _4sd._count = _4sa, _4sd._message = _4sb, _4sd; } return _4rl(_4s8, _4s6), Object.defineProperty(_4s8.prototype, 'mst_id', { 'get': function() { var _4se = null; return this._mst_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_4s8.prototype, 'count', { 'get': function() { var _4sf = null; return this._count; }, 'set': function(_4sg) { var _4sh = null; this._count = _4sg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_4s8.prototype, 'name', { 'get': function() { var _4si = null, _4sj = _4s4.default.model.useItem.get(this._mst_id); return null == _4sj ? '' : _4sj.name; }, 'enumerable': !1, 'configurable': !0 }), _4s8; }(_4ri(59694).RewardModel); _4rh.RewardModelUseitem = _4s5; }, 88321: function(_4sk, _4sl, _4sm) { 'use strict'; var _4sn = null; var _4so, _4sp = this && this.__extends || (_4so = function(_4sq, _4sr) { var _4ss = null; return _4so = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_4st, _4su) { var _4sv = null; _4st.__proto__ = _4su; } || function(_4sw, _4sx) { var _4sy = null; for (var _4sz in _4sx) Object.prototype.hasOwnProperty.call(_4sx, _4sz) && (_4sw[_4sz] = _4sx[_4sz]); }, _4so(_4sq, _4sr); }, function(_4t0, _4t1) { var _4t2 = null; if ('function' != typeof _4t1 && null !== _4t1) throw new TypeError('Class extends value ' + String(_4t1) + ' is not a constructor or null'); function _4t3() { var _4t4 = null; this.constructor = _4t0; } _4so(_4t0, _4t1), _4t0.prototype = null === _4t1 ? Object.create(_4t1) : (_4t3.prototype = _4t1.prototype, new _4t3()); }); defineModule(_4sl); Object.defineProperty(_4sl, '__esModule', { 'value': !0 }), _4sl.RewardModelWarResult = void 0; var _4t5 = function(_4t6) { var _4t7 = null; function _4t8(_4t9) { var _4ta = null, _4tb = _4t6.call(this) || this; return _4tb._value = _4t9, _4tb; } return _4sp(_4t8, _4t6), Object.defineProperty(_4t8.prototype, 'value', { 'get': function() { var _4tc = null; return this._value; }, 'enumerable': !1, 'configurable': !0 }), _4t8; }(_4sm(59694).RewardModel); _4sl.RewardModelWarResult = _4t5; }, 85968: function(_4td, _4te, _4tf) { 'use strict'; var _4tg = null; var _4th, _4ti = this && this.__extends || (_4th = function(_4tj, _4tk) { var _4tl = null; return _4th = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_4tm, _4tn) { var _4to = null; _4tm.__proto__ = _4tn; } || function(_4tp, _4tq) { var _4tr = null; for (var _4ts in _4tq) Object.prototype.hasOwnProperty.call(_4tq, _4ts) && (_4tp[_4ts] = _4tq[_4ts]); }, _4th(_4tj, _4tk); }, function(_4tt, _4tu) { var _4tv = null; if ('function' != typeof _4tu && null !== _4tu) throw new TypeError('Class extends value ' + String(_4tu) + ' is not a constructor or null'); function _4tw() { var _4tx = null; this.constructor = _4tt; } _4th(_4tt, _4tu), _4tt.prototype = null === _4tu ? Object.create(_4tu) : (_4tw.prototype = _4tu.prototype, new _4tw()); }), _4ty = this && this.__importDefault || function(_4tz) { var _4u0 = null; return _4tz && _4tz.__esModule ? _4tz : { 'default': _4tz }; }; defineModule(_4te); Object.defineProperty(_4te, '__esModule', { 'value': !0 }), _4te.TaskRewardDialogAirUnit = void 0; var _4u1 = _4ty(_4tf(18622)), _4u2 = _4tf(69249), _4u3 = _4tf(67102), _4u4 = function(_4u5) { var _4u6 = null; function _4u7(_4u8, _4u9, _4ua) { var _4ub = null, _4uc = _4u5.call(this, _4u8, _4u9) || this; return _4uc._quest_id = _4ua, _4uc; } return _4ti(_4u7, _4u5), Object.defineProperty(_4u7.prototype, 'model', { 'get': function() { var _4ud = null; return this._model; }, 'enumerable': !1, 'configurable': !0 }), _4u7.prototype._createContent = function() { var _4ue = null; this._showDialog(); }, _4u7.prototype._showContent = function() { var _4uf = null, _4ug = this, _4uh = new _4u2.ModelChangeModelEdit(); _4uh.setItemFrom(73, !0), _4uh.setItemTobe(-1); var _4ui = this.model.message1, _4uj = this.model.message2; _4uh.setMessage(_4ui, _4uj), 647 == this._quest_id && (_4uh.addMeltInto([{ 'id': 31, 'type': 6 }], 1, 1), _4uh.addMeltInto([{ 'id': 34, 'type': 6 }], 2, 1)); var _4uk = _4u1.default.view.overLayer; new _4u3.AirunitBaseOpenTask(_4uk, _4uh).start(function() { var _4ul = null; _4ug._showContentComplete(); }); }, _4u7.prototype._showDialog = function() { var _4um = null; this._showContent(); }, _4u7.prototype._removeContent = function() {}, _4u7.prototype._showContentComplete = function() { var _4un = null, _4uo = _4u1.default.model.useItem.get(73); _4uo.__setCount__(_4uo.count - 1), this._removeContent(), this._endTask(); }, _4u7; }(_4tf(60862).TaskRewardDialogBase); _4te.TaskRewardDialogAirUnit = _4u4; }, 60862: function(_4up, _4uq, _4ur) { 'use strict'; var _4us = null; var _4ut, _4uu = this && this.__extends || (_4ut = function(_4uv, _4uw) { var _4ux = null; return _4ut = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_4uy, _4uz) { var _4v0 = null; _4uy.__proto__ = _4uz; } || function(_4v1, _4v2) { var _4v3 = null; for (var _4v4 in _4v2) Object.prototype.hasOwnProperty.call(_4v2, _4v4) && (_4v1[_4v4] = _4v2[_4v4]); }, _4ut(_4uv, _4uw); }, function(_4v5, _4v6) { var _4v7 = null; if ('function' != typeof _4v6 && null !== _4v6) throw new TypeError('Class extends value ' + String(_4v6) + ' is not a constructor or null'); function _4v8() { var _4v9 = null; this.constructor = _4v5; } _4ut(_4v5, _4v6), _4v5.prototype = null === _4v6 ? Object.create(_4v6) : (_4v8.prototype = _4v6.prototype, new _4v8()); }); defineModule(_4uq); Object.defineProperty(_4uq, '__esModule', { 'value': !0 }), _4uq.TaskRewardDialogBase = void 0; var _4va = function(_4vb) { var _4vc = null; function _4vd(_4ve, _4vf) { var _4vg = null, _4vh = _4vb.call(this) || this; return _4vh._onClose = function() { var _4vi = null; _4vh._dialog.get_icon.deactivate(), _4vh._dialog.close_btn.deactivate(), _4vh._dialog.message.update(null), createjs.Tween.get(_4vh._dialog.bg).to({ 'alpha': 0 }, 200), createjs.Tween.get(_4vh._dialog.light).to({ 'alpha': 0 }, 200), createjs.Tween.get(_4vh._dialog.container).to({ 'alpha': 0 }, 200).call(function() { var _4vj = null; _4vh._removeContent(), _4vh._dialog.light.deactivate(), _4vh._endTask(); }); }, _4vh._dialog = _4ve, _4vh._model = _4vf, _4vh; } return _4uu(_4vd, _4vb), _4vd.prototype._start = function() { var _4vk = null; this._dialog.bg.alpha = 0, this._dialog.bg.scale.set(0.5), this._dialog.light.deactivate(), this._dialog.light.alpha = 0, this._dialog.light.scale.set(0.8), this._dialog.container.alpha = 0, this._dialog.container.scale.set(1.7), this._dialog.get_icon.deactivate(), this._dialog.close_btn.deactivate(), this._createContent(); }, _4vd.prototype._showDialog = function() { var _4vl = null, _4vm = this; createjs.Tween.get(this._dialog.bg).to({ 'scaleX': 1, 'scaleY': 1, 'alpha': 1 }, 200), this._dialog.light.activate(), createjs.Tween.get(this._dialog.light).to({ 'scaleX': 1, 'scaleY': 1, 'alpha': 1 }, 200).call(function() { var _4vn = null; _4vm._showContent(); }); }, _4vd.prototype._showContent = function() { var _4vo = null, _4vp = this; createjs.Tween.get(this._dialog.container).to({ 'scaleX': 1, 'scaleY': 1, 'alpha': 1 }, 500).call(function() { var _4vq = null; _4vp._showContentComplete(); }); }, _4vd.prototype._showContentComplete = function() { var _4vr = null; if (this._dialog.get_icon.activate(), this._dialog.close_btn.activate(this._onClose), null != this._model && '' != this._model.message) { var _4vs = this._model.message; _4vs = _4vs.replace(//, '\x0a'), this._dialog.message.update(_4vs); } }, _4vd.prototype._endTask = function() { var _4vt = null; this._dialog = null, _4vb.prototype._endTask.call(this); }, _4vd; }(_4ur(81755).TaskBase); _4uq.TaskRewardDialogBase = _4va; }, 61638: function(_4vu, _4vv, _4vw) { 'use strict'; var _4vx = null; var _4vy, _4vz = this && this.__extends || (_4vy = function(_4w0, _4w1) { var _4w2 = null; return _4vy = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_4w3, _4w4) { var _4w5 = null; _4w3.__proto__ = _4w4; } || function(_4w6, _4w7) { var _4w8 = null; for (var _4w9 in _4w7) Object.prototype.hasOwnProperty.call(_4w7, _4w9) && (_4w6[_4w9] = _4w7[_4w9]); }, _4vy(_4w0, _4w1); }, function(_4wa, _4wb) { var _4wc = null; if ('function' != typeof _4wb && null !== _4wb) throw new TypeError('Class extends value ' + String(_4wb) + ' is not a constructor or null'); function _4wd() { var _4we = null; this.constructor = _4wa; } _4vy(_4wa, _4wb), _4wa.prototype = null === _4wb ? Object.create(_4wb) : (_4wd.prototype = _4wb.prototype, new _4wd()); }); defineModule(_4vv); Object.defineProperty(_4vv, '__esModule', { 'value': !0 }), _4vv.TaskRewardDialogDeck = void 0; var _4wf = _4vw(8744), _4wg = _4vw(11997), _4wh = function(_4wi) { var _4wj = null; function _4wk(_4wl, _4wm) { var _4wn = null; return _4wi.call(this, _4wl, _4wm) || this; } return _4vz(_4wk, _4wi), Object.defineProperty(_4wk.prototype, 'model', { 'get': function() { var _4wo = null; return this._model; }, 'enumerable': !1, 'configurable': !0 }), _4wk.prototype._createContent = function() { var _4wp = null, _4wq = _4wg.COMMON_MISC.getTexture(54); this._img = new PIXI.Sprite(_4wq), this._img.x = -135, this._img.y = -135; var _4wr = new PIXI.Sprite(), _4ws = this.model.deck_id; switch (_4ws) { case 2: _4wr.texture = _4wg.COMMON_MISC.getTexture(82); break; case 3: _4wr.texture = _4wg.COMMON_MISC.getTexture(85); break; case 4: _4wr.texture = _4wg.COMMON_MISC.getTexture(88); break; case 100: _4wr.texture = _4wg.COMMON_MISC.getTexture(55); } - 1 == [100].indexOf(_4ws) ? (_4wr.position.set(117, 40), this._text1 = new _4wf.TextBox(25, 16774898), this._text1.text = this.model.deck_name + 'が', this._text1.x = -Math.round(this._text1.width / 2), this._text2 = new _4wf.TextBox(25, 16774898), this._text2.text = '解放されました!', this._text2.x = -Math.round(this._text2.width / 2), this._text2.y = this._text1.y + this._text1.height) : (_4wr.position.set(80, 42), this._text1 = new _4wf.TextBox(25, 16774898), this._text1.text = '本作戦で「遊撃部隊」編成が', this._text1.x = -Math.round(this._text1.width / 2), this._text2 = new _4wf.TextBox(25, 16774898), this._text2.text = '第三艦隊で運用可能になりました!', this._text2.x = -Math.round(this._text2.width / 2), this._text2.y = this._text1.y + this._text1.height), this._img.addChild(_4wr), this._dialog.container.addChild(this._img), this._dialog.container.addChild(this._text1), this._dialog.container.addChild(this._text2), this._showDialog(); }, _4wk.prototype._removeContent = function() { var _4wt = null; this._dialog.container.removeChild(this._img), this._img = null, this._dialog.container.removeChild(this._text1), this._dialog.container.removeChild(this._text2), this._text1.destroy(), this._text2.destroy(), this._text1 = null, this._text2 = null; }, _4wk; }(_4vw(60862).TaskRewardDialogBase); _4vv.TaskRewardDialogDeck = _4wh; }, 80149: function(_4wu, _4wv, _4ww) { 'use strict'; var _4wx = null; var _4wy, _4wz = this && this.__extends || (_4wy = function(_4x0, _4x1) { var _4x2 = null; return _4wy = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_4x3, _4x4) { var _4x5 = null; _4x3.__proto__ = _4x4; } || function(_4x6, _4x7) { var _4x8 = null; for (var _4x9 in _4x7) Object.prototype.hasOwnProperty.call(_4x7, _4x9) && (_4x6[_4x9] = _4x7[_4x9]); }, _4wy(_4x0, _4x1); }, function(_4xa, _4xb) { var _4xc = null; if ('function' != typeof _4xb && null !== _4xb) throw new TypeError('Class extends value ' + String(_4xb) + ' is not a constructor or null'); function _4xd() { var _4xe = null; this.constructor = _4xa; } _4wy(_4xa, _4xb), _4xa.prototype = null === _4xb ? Object.create(_4xb) : (_4xd.prototype = _4xb.prototype, new _4xd()); }); defineModule(_4wv); Object.defineProperty(_4wv, '__esModule', { 'value': !0 }), _4wv.TaskRewardDialogExtraSupply = void 0; var _4xf = _4ww(60862), _4xg = _4ww(11997), _4xh = function(_4xi) { var _4xj = null; function _4xk(_4xl, _4xm) { var _4xn = null; return _4xi.call(this, _4xl, _4xm) || this; } return _4wz(_4xk, _4xi), Object.defineProperty(_4xk.prototype, 'model', { 'get': function() { var _4xo = null; return this._model; }, 'enumerable': !1, 'configurable': !0 }), _4xk.prototype._createContent = function() { var _4xp = null, _4xq = _4xg.COMMON_MISC.getTexture(155); this._card = new PIXI.Sprite(_4xq), this._card.x = -135, this._card.y = -135, this._dialog.container.addChild(this._card), this._showDialog(); }, _4xk.prototype._removeContent = function() { var _4xr = null; this._dialog.container.removeChild(this._card), this._card = null; }, _4xk; }(_4xf.TaskRewardDialogBase); _4wv.TaskRewardDialogExtraSupply = _4xh; }, 50493: function(_4xs, _4xt, _4xu) { 'use strict'; var _4xv = null; var _4xw, _4xx = this && this.__extends || (_4xw = function(_4xy, _4xz) { var _4y0 = null; return _4xw = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_4y1, _4y2) { var _4y3 = null; _4y1.__proto__ = _4y2; } || function(_4y4, _4y5) { var _4y6 = null; for (var _4y7 in _4y5) Object.prototype.hasOwnProperty.call(_4y5, _4y7) && (_4y4[_4y7] = _4y5[_4y7]); }, _4xw(_4xy, _4xz); }, function(_4y8, _4y9) { var _4ya = null; if ('function' != typeof _4y9 && null !== _4y9) throw new TypeError('Class extends value ' + String(_4y9) + ' is not a constructor or null'); function _4yb() { var _4yc = null; this.constructor = _4y8; } _4xw(_4y8, _4y9), _4y8.prototype = null === _4y9 ? Object.create(_4y9) : (_4yb.prototype = _4y9.prototype, new _4yb()); }), _4yd = this && this.__importDefault || function(_4ye) { var _4yf = null; return _4ye && _4ye.__esModule ? _4ye : { 'default': _4ye }; }; defineModule(_4xt); Object.defineProperty(_4xt, '__esModule', { 'value': !0 }), _4xt.TaskRewardDialogFurniture = void 0; var _4yg = _4yd(_4xu(18622)), _4yh = _4xu(17248), _4yi = _4xu(8744), _4yj = _4xu(15478), _4yk = function(_4yl) { var _4ym = null; function _4yn(_4yo, _4yp) { var _4yq = null; return _4yl.call(this, _4yo, _4yp) || this; } return _4xx(_4yn, _4yl), Object.defineProperty(_4yn.prototype, 'model', { 'get': function() { var _4yr = null; return this._model; }, 'enumerable': !1, 'configurable': !0 }), _4yn.prototype._createContent = function() { var _4ys = null, _4yt = this, _4yu = this.model.mst_id, _4yv = this.model.name, _4yw = new _4yj.FurnitureLoader(); _4yw.add(_4yu, 'reward'), _4yw.load(function() { var _4yx = null; if (null != _4yg.default.model.furniture.getData(_4yu) || 999 == _4yu) { var _4yy = _4yg.default.resources.getFurniture(_4yu, 'reward'); _4yt._thumb = new _4yh.FurnitureThumbnail(!0), _4yt._thumb.position.set(-123, -187), _4yt._thumb.initialize(), _4yt._thumb.update(_4yy), _4yt._dialog.container.addChild(_4yt._thumb), _4yt._text = new _4yi.TextBox(25, 16774898), _4yt._text.text = _4yv, _4yt._text.x = -Math.round(_4yt._text.width / 2), _4yt._text.y = 124, _4yt._dialog.container.addChild(_4yt._text); } _4yt._showDialog(); }); }, _4yn.prototype._removeContent = function() { var _4yz = null; null != this._thumb && null != this._thumb.parent && this._thumb.parent.removeChild(this._thumb), this._thumb = null, null != this._text && (null != this._text.parent && this._text.parent.removeChild(this._text), this._text.destroy()), this._text = null; }, _4yn; }(_4xu(60862).TaskRewardDialogBase); _4xt.TaskRewardDialogFurniture = _4yk; }, 13774: function(_4z0, _4z1, _4z2) { 'use strict'; var _4z3 = null; var _4z4, _4z5 = this && this.__extends || (_4z4 = function(_4z6, _4z7) { var _4z8 = null; return _4z4 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_4z9, _4za) { var _4zb = null; _4z9.__proto__ = _4za; } || function(_4zc, _4zd) { var _4ze = null; for (var _4zf in _4zd) Object.prototype.hasOwnProperty.call(_4zd, _4zf) && (_4zc[_4zf] = _4zd[_4zf]); }, _4z4(_4z6, _4z7); }, function(_4zg, _4zh) { var _4zi = null; if ('function' != typeof _4zh && null !== _4zh) throw new TypeError('Class extends value ' + String(_4zh) + ' is not a constructor or null'); function _4zj() { var _4zk = null; this.constructor = _4zg; } _4z4(_4zg, _4zh), _4zg.prototype = null === _4zh ? Object.create(_4zh) : (_4zj.prototype = _4zh.prototype, new _4zj()); }); defineModule(_4z1); Object.defineProperty(_4z1, '__esModule', { 'value': !0 }), _4z1.TaskRewardDialogLargeBuild = void 0; var _4zl = _4z2(8744), _4zm = _4z2(11997), _4zn = function(_4zo) { var _4zp = null; function _4zq(_4zr, _4zs) { var _4zt = null; return _4zo.call(this, _4zr, _4zs) || this; } return _4z5(_4zq, _4zo), Object.defineProperty(_4zq.prototype, 'model', { 'get': function() { var _4zu = null; return this._model; }, 'enumerable': !1, 'configurable': !0 }), _4zq.prototype._createContent = function() { var _4zv = null, _4zw = _4zm.COMMON_MISC.getTexture(154); this._img = new PIXI.Sprite(_4zw), this._img.x = -135, this._img.y = -135, this._dialog.container.addChild(this._img), this._text1 = new _4zl.TextBox(25, 16774898), this._text1.text = '大型艦建造が', this._text1.x = -Math.round(this._text1.width / 2), this._text2 = new _4zl.TextBox(25, 16774898), this._text2.text = '開放されました!', this._text2.x = -Math.round(this._text2.width / 2), this._text2.y = this._text1.y + this._text1.height, this._dialog.container.addChild(this._text1), this._dialog.container.addChild(this._text2), this._showDialog(); }, _4zq.prototype._removeContent = function() { var _4zx = null; this._dialog.container.removeChild(this._img), this._img = null, this._dialog.container.removeChild(this._text1), this._dialog.container.removeChild(this._text2), this._text1.destroy(), this._text1 = null, this._text2.destroy(), this._text2 = null; }, _4zq; }(_4z2(60862).TaskRewardDialogBase); _4z1.TaskRewardDialogLargeBuild = _4zn; }, 57070: function(_4zy, _4zz, _500) { 'use strict'; var _501 = null; var _502, _503 = this && this.__extends || (_502 = function(_504, _505) { var _506 = null; return _502 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_507, _508) { var _509 = null; _507.__proto__ = _508; } || function(_50a, _50b) { var _50c = null; for (var _50d in _50b) Object.prototype.hasOwnProperty.call(_50b, _50d) && (_50a[_50d] = _50b[_50d]); }, _502(_504, _505); }, function(_50e, _50f) { var _50g = null; if ('function' != typeof _50f && null !== _50f) throw new TypeError('Class extends value ' + String(_50f) + ' is not a constructor or null'); function _50h() { var _50i = null; this.constructor = _50e; } _502(_50e, _50f), _50e.prototype = null === _50f ? Object.create(_50f) : (_50h.prototype = _50f.prototype, new _50h()); }); defineModule(_4zz); Object.defineProperty(_4zz, '__esModule', { 'value': !0 }), _4zz.TaskRewardDialogMap = void 0; var _50j = _500(54011), _50k = _500(2156), _50l = _500(8744), _50m = _500(60862), _50n = _500(70723), _50o = _500(11997), _50p = function(_50q) { var _50r = null; function _50s(_50t, _50u) { var _50v = null; return _50q.call(this, _50t, _50u) || this; } return _503(_50s, _50q), Object.defineProperty(_50s.prototype, 'model', { 'get': function() { var _50w = null; return this._model; }, 'enumerable': !1, 'configurable': !0 }), _50s.prototype._createContent = function() { var _50x = null, _50y = this; this._black = new PIXI.Graphics(), this._black.beginFill(0, 1), this._black.drawRect(-270, -195, 540, 390), this._black.endFill(), this._black.alpha = 0, this._dialog.bg.addChild(this._black), this._img = new _50k.MapThumbnailImage(), this._dialog.container.addChild(this._img), this._particle = new _50z(), this._particle.initialize(), this._particle.position.set(0, -27), this._dialog.container.addChild(this._particle), this._text = new _50l.TextBox(25, 16774898), this._text.text = '新たな作戦海域への出撃が可能です!', this._text.x = -Math.round(this._text.width / 2), this._text.y = 97, this._dialog.container.addChild(this._text); var _510 = this.model.area_id, _511 = this.model.map_no; this._img.setImage(_510, _511, function() { var _512 = null, _513 = 488 / _50y._img.width; _50y._img.scale.set(_513), _50y._img.x = -Math.round(_50y._img.width / 2), _50y._img.y = -27 - Math.round(_50y._img.height / 2), _50y._particle.startAnimation(), _50y._showDialog(); }); }, _50s.prototype._showDialog = function() { var _514 = null, _515 = this; createjs.Tween.get(this._dialog.bg).to({ 'scaleX': 1, 'scaleY': 1, 'alpha': 1 }, 200).call(function() { var _516 = null; createjs.Tween.get(_515._black).to({ 'alpha': 1 }, 200).call(function() { var _517 = null; _515._showContent(); }); }); }, _50s.prototype._showContentComplete = function() { var _518 = null; _50n.SE.play('243'), _50q.prototype._showContentComplete.call(this); }, _50s.prototype._removeContent = function() { var _519 = null; this._removeChild(this._black), this._black = null, this._dialog.container.removeChild(this._img), this._img = null, this._particle.stopAnimation(), this._dialog.container.removeChild(this._particle), this._particle = null, this._dialog.container.removeChild(this._text), this._text.destroy(), this._text = null; }, _50s.prototype._removeChild = function(_51a) { var _51b = null; null != _51a && null != _51a.parent && _51a.parent.removeChild(_51a); }, _50s; }(_50m.TaskRewardDialogBase); _4zz.TaskRewardDialogMap = _50p; var _50z = function(_51c) { var _51d = null; function _51e() { var _51f = null, _51g = _51c.call(this) || this; _51g._particles = []; for (var _51h = [222, 244, 199, -199, -177, -154, -132, -244, -222, -199, -177, -244, -222, -199], _51i = [-108, -87, -87, 19, 42, 64, 87, 19, 42, 64, 87, 64, 87, 109], _51j = 0; _51j < 14; _51j++) { var _51k = new _51l(); _51k.x = _51h[_51j], _51k.y = _51i[_51j], _51g.addChild(_51k), _51g._particles.push(_51k); } return _51g; } return _503(_51e, _51c), _51e.prototype.initialize = function() { var _51m = null; for (var _51n = 0, _51o = this._particles; _51n < _51o.length; _51n++) { _51o[_51n].initialize(); } }, _51e.prototype.startAnimation = function() { var _51p = null; for (var _51q = 0, _51r = this._particles; _51q < _51r.length; _51q++) { _51r[_51q].startAnimation(); } }, _51e.prototype.stopAnimation = function() { var _51s = null; for (var _51t = 0, _51u = this._particles; _51t < _51u.length; _51t++) { _51u[_51t].stopAnimation(); } }, _51e; }(PIXI.Container), _51l = function(_51v) { var _51w = null; function _51x() { var _51y = null, _51z = _51v.call(this) || this; return _51z._animation = function() { var _520 = null; _51z._img.rotation = Math.random() * Math.PI * 2; var _521 = 2000 * Math.random(); _51z._t1 = createjs.Tween.get(_51z._img).wait(_521).to({ 'scaleX': 1, 'scaleY': 1 }, 100).to({ 'scaleX': 0, 'scaleY': 0 }, 200).call(_51z._animation), _51z._t2 = createjs.Tween.get(_51z).wait(_521).to({ 'rotation': Math.random() * Math.PI / 5 }, 300); }, _51z._img = new _50j.Sprite(), _51z._img.anchor.set(0.5), _51z._img.scale.set(0), _51z.addChild(_51z._img), _51z; } return _503(_51x, _51v), _51x.prototype.initialize = function() { var _522 = null; this._img.texture = _50o.COMMON_MISC.getTexture(122); }, _51x.prototype.startAnimation = function() { var _523 = null; null == this._t1 && this._animation(); }, _51x.prototype.stopAnimation = function() { var _524 = null; null != this._t1 && (this._t1.setPaused(!0), this._t1 = null, this._t2.setPaused(!0), this._t2 = null); }, _51x; }(PIXI.Container); }, 22939: function(_525, _526, _527) { 'use strict'; var _528 = null; var _529, _52a = this && this.__extends || (_529 = function(_52b, _52c) { var _52d = null; return _529 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_52e, _52f) { var _52g = null; _52e.__proto__ = _52f; } || function(_52h, _52i) { var _52j = null; for (var _52k in _52i) Object.prototype.hasOwnProperty.call(_52i, _52k) && (_52h[_52k] = _52i[_52k]); }, _529(_52b, _52c); }, function(_52l, _52m) { var _52n = null; if ('function' != typeof _52m && null !== _52m) throw new TypeError('Class extends value ' + String(_52m) + ' is not a constructor or null'); function _52o() { var _52p = null; this.constructor = _52l; } _529(_52l, _52m), _52l.prototype = null === _52m ? Object.create(_52m) : (_52o.prototype = _52m.prototype, new _52o()); }), _52q = this && this.__importDefault || function(_52r) { var _52s = null; return _52r && _52r.__esModule ? _52r : { 'default': _52r }; }; defineModule(_526); Object.defineProperty(_526, '__esModule', { 'value': !0 }), _526.TaskRewardDialogModelChange = void 0; var _52t = _52q(_527(18622)), _52u = _527(69249), _52v = _527(20324), _52w = function(_52x) { var _52y = null; function _52z(_530, _531, _532, _533) { var _534 = null, _535 = _52x.call(this, _530, _531) || this; return _535._quest_id = _532, _535._fade = _533, _535; } return _52a(_52z, _52x), Object.defineProperty(_52z.prototype, 'model', { 'get': function() { var _536 = null; return this._model; }, 'enumerable': !1, 'configurable': !0 }), _52z.prototype._createContent = function() { var _537 = null; this._showDialog(); }, _52z.prototype._showDialog = function() { var _538 = null; this._showContent(); }, _52z.prototype._showContent = function() { var _539 = null, _53a = this, _53b = this._getModel(); if (null == _53b) { _53b = new _52u.ModelChangeModelEdit(); var _53c = this.model.mst_id_from; _53b.setItemFrom(_53c); var _53d = this.model.mst_id_to; _53b.setItemTobe(_53d); var _53e = this.model.message2; _53b.setMessage('機種転換中...', _53e); } this.model.need_basic_update = _53b.isNeedUpdateUserBasic(), this.model.need_useitem_update = _53b.isNeedUpdateUseitem(); var _53f = _52t.default.view.overLayer, _53g = new _52v.ModelChangeTask(_53f, _53b); 1122 == this._quest_id && _53g.setStarForce(8), this._fade.visible = !1, _53g.start(function() { var _53h = null; _53a._fade.visible = !0, _53a._showContentComplete(); }); }, _52z.prototype._removeContent = function() {}, _52z.prototype._showContentComplete = function() { var _53i = null; this._removeContent(), this._endTask(); }, _52z.prototype._getModel = function() { var _53j = null, _53k = this._quest_id; if (620 == _53k) { (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to); var _53m = '第一航空戦隊「流星改」精鋭艦攻隊の編成中…', _53n = this.model.message2; return _53l.setMessage(_53m, _53n), _53l.addMeltIntoUseitem([32, 34], 1), _53l.addMeltIntoUseitem([70, 70], 2), _53l; } if (621 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), (_53m = '陸戦用装備の艦載運用を研究中', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoUseitem([32, 3], 1), _53l.addMeltIntoUseitem([2], 2), _53l); if (629 == _53k || 630 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), (_53m = '部隊再編中...', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l); if (626 == _53k || 659 == _53k || 660 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), (_53m = '部隊再編中...', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoTojoin(70, 2), _53l); if (637 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(19), _53l.setItemTobe(70, !0), _53l.setMessage('「熟練搭乗員の養成」任務遂行中', this.model.message2), _53l.addMeltIntoUseitem([57, 57], 1), _53l; if (639 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(58), _53l.setItemTobe(179), _53l.setMessage('「試製兵装の開発」任務遂行中', this.model.message2), _53l.addMeltIntoUseitem([57, 57], 1), _53l.addMeltIntoSlotitem([58], 2), _53l; if (641 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(-1), _53l.setItemTobe(168), _53l.setMessage('「航空基地設営」事前準備を実施中…', this.model.message2), _53l.addMeltIntoSlotitem([37, 37], 1), _53l.addMeltIntoSlotitem([19, 19], 2), _53l; if (642 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(-1), _53l.setItemTobe(168), _53l.setMessage('「陸攻」隊の増勢を実施中…', this.model.message2), _53l.addMeltIntoSlotitem([37, 37], 1), _53l.addMeltIntoSlotitem([23, 23], 2), _53l; if (643 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(168), _53l.setItemTobe(169), _53l.setMessage('主力「陸攻」を調達中…', this.model.message2), _53l.addMeltIntoSlotitem([16, 16], 1), _53l; if (644 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(169), _53l.setItemTobe(180), _53l.setMessage('「一式陸攻」性能向上型を調達中…', this.model.message2), _53l.addMeltIntoSlotitem([17, 17], 1), _53l; if (645 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(-1), _53l.setItemTobe(146), _53l.setMessage('「洋上補給」物資を調達中…', this.model.message2), _53l.addMeltIntoUseitem([31, 32], 1), _53l.addMeltIntoSlotitem([75, 75, 36], 2), _53l; if (646 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(-1), _53l.setItemTobe(52, !0), _53l.setMessage('「特注家具職人」を招聘中…', this.model.message2), _53l.addMeltIntoUseitem([44], 1), _53l.addMeltIntoSlotitem([39, 39, 40, 40], 2), _53l; if (648 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(-1), _53l.setItemTobe(52, !0), _53l.setMessage('「特注家具職人」を招聘中…', this.model.message2), _53l.addMeltIntoUseitem([44], 1), _53l.addMeltIntoSlotitem([14, 14], 2), _53l.addMeltIntoSlotitem([11, 11], 2), _53l; if (649 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(-1), _53l.setItemTobe(151), _53l.setMessage('「新機軸偵察機」を開発中…', this.model.message2), _53l.addMeltIntoSlotitem([169], 1), _53l.addMeltIntoSlotitem([54, 54], 2), _53l; if (650 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(-1), _53l.setItemTobe(200), _53l.setMessage('「噴式戦闘爆撃機」を開発中…', this.model.message2), _53l.addMeltIntoUseitem([74, 74], 1), _53l.addMeltIntoUseitem([71], 2), _53l; if (651 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(-1), _53l.setItemTobe(71, !0), _53l.setMessage('「燃焼噴射推進器」を増産中…', this.model.message2), _53l.addMeltIntoSlotitem([18, 18], 1), _53l.addMeltIntoSlotitem([22, 22], 2), _53l; if (652 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(-1), _53l.setItemTobe(52, !0), _53l.setMessage('「特注家具職人」を招聘中…', this.model.message2), _53l.addMeltIntoUseitem([44], 1), _53l.addMeltIntoSlotitem([37, 37], 2), _53l.addMeltIntoSlotitem([19, 19], 2), _53l; if (653 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(-1), _53l.setItemTobe(52, !0), _53l.setMessage('節分準備:「特注家具職人」を招聘中…', this.model.message2), _53l.addMeltIntoUseitem([44], 1), _53l.addMeltIntoSlotitem([1, 1], 2), _53l.addMeltIntoSlotitem([25, 25], 2), _53l; if (654 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), _53l.setMessage('名機「Swordfish」飛行隊を改編…', this.model.message2), _53l.addMeltIntoUseitem([32, 34], 1), _53l.addMeltIntoUseitem([70], 2), _53l; if (656 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(207), _53l.setItemTobe(208), _53l.setMessage('第一潜水隊運用航空隊:「晴嵐(六三一空)」を編成中…', this.model.message2), _53l.addMeltIntoSlotitem([62], 1), _53l; if (658 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(-1), _53l.setItemTobe(213), _53l.setMessage('「新型潜水艦兵装」を開発中…', this.model.message2), _53l.addMeltIntoUseitem([3], 1), _53l.addMeltIntoSlotitem([15, 15, 15], 2), _53l.addMeltIntoSlotitem([46, 46, 46], 2), _53l; if (666 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(79), _53l.setItemTobe(237), _53l.setMessage('精鋭「瑞雲」隊の編成中…', this.model.message2), _53l.addMeltIntoSlotitem([23, 23], 1), _53l.addMeltIntoSlotitem([26, 26], 2), _53l.addMeltIntoTojoin(70, 2), _53l; if (668 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(-1), _53l.setItemTobe(241), _53l.setMessage('よく炒めて「新型のおにぎり」を調理中…', this.model.message2), _53l.addMeltIntoUseitem([31], 1), _53l.addMeltIntoUseitem([34], 1), _53l.addMeltIntoSlotitem([145, 145], 2, 170), _53l; if (669 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(205), _53l.setItemTobe(254), _53l.setMessage('夜戦型艦上戦闘機を開発中…', this.model.message2), _53l.addMeltIntoUseitem([77, 3], 1), _53l.addMeltIntoUseitem([4, 34], 2), _53l; if (670 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(206), _53l.setItemTobe(255), _53l.setMessage('夜戦型艦上戦闘機を開発中…', this.model.message2), _53l.addMeltIntoUseitem([77, 3], 1), _53l.addMeltIntoUseitem([4, 34], 2), _53l; if (671 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(256), _53l.setItemTobe(257), _53l.setMessage('夜間作戦型艦上攻撃機を開発中…', this.model.message2), _53l.addMeltIntoUseitem([77, 3], 1), _53l.addMeltIntoUseitem([4, 34], 2), _53l; if (672 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(107), _53l.setItemTobe(272), _53l.setMessage('「遊撃部隊 艦隊司令部」を創設中…', this.model.message2), _53l.addMeltIntoUseitem([33, 3], 1), _53l.addMeltIntoUseitem([78, 78], 2, 150), _53l; if (678 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), (_53m = '配備中の主力艦戦を更新中……', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l); if (683 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), (_53m = '航空戦艦用新型砲熕兵装を開発中…', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoUseitem([75, 75, 3], 1), _53l.addMeltIntoUseitem([2, 33], 2), _53l); if (684 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), (_53m = '精鋭「航空戦艦」彗星隊の編成中…', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoUseitem([70, 3], 1), _53l.addMeltIntoUseitem([77, 34], 2), _53l); if (685 == _53k || 686 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), (_53m = '特型駆逐艦用主砲兵装を戦時改修中…', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoUseitem([75, 3], 1), _53l.addMeltInto([{ 'id': 121, 'type': 2 }, { 'id': 33, 'type': 6 }], 2, 0), _53l); if (687 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), (_53m = '駆逐艦用主砲兵装を戦時改修中…', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoUseitem([75, 3], 1), _53l.addMeltInto([{ 'id': 121, 'type': 2 }, { 'id': 33, 'type': 6 }], 2, 0), _53l); if (695 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), (_53m = '「彗星」艦爆による三号爆弾運用を研究中……', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoUseitem([77], 1), _53l.addMeltIntoUseitem([32, 34], 2), _53l); if (696 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), (_53m = '最精鋭「瑞雲」隊の編成中…', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoUseitem([77], 1), _53l.addMeltIntoUseitem([70, 70], 2), _53l); if (697 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), (_53m = '下駄履き「Swordfish」の改修中…', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoUseitem([77], 1), _53l.addMeltIntoUseitem([70], 2), _53l); if (698 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), (_53m = '近代化改修航空母艦「加賀改二護」において…', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoUseitem([77, 77], 1), _53l.addMeltIntoUseitem([70], 2), _53l); if (1103 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(125), _53l.setItemTobe(this.model.mst_id_to), (_53m = '「新型潜水艦兵装」を調達中…', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoUseitem([3], 1), _53l.addMeltIntoSlotitem([106, 106], 2), _53l.addMeltIntoSlotitem([46, 46], 2), _53l); if (1104 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(106), _53l.setItemTobe(this.model.mst_id_to), (_53m = '「潜水艦電子兵装」を調達中…', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoUseitem([3], 1), _53l.addMeltIntoSlotitem([28, 28], 2), _53l.addMeltIntoSlotitem([46, 46], 2), _53l); if (1106 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), (_53m = '零式水上偵察機11型乙を装備した精鋭水偵隊…', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoUseitem([78, 77], 1), _53l.addMeltIntoUseitem([70, 70, 70], 2), _53l); if (1108 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), (_53m = '「三式水中探信儀」を調整改良……', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoSlotitem([46, 47], 1), _53l.addMeltIntoUseitem([94, 94], 2), _53l); if (1109 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), (_53m = '陸軍の「上陸支援用小型戦闘艇」を配備中……', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoSlotitem([37, 68], 1), _53l.addMeltIntoUseitem([2, 3], 2), _53l); if (1110 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(444), _53l.setItemTobe(this.model.mst_id_to), (_53m = '精鋭「飛龍」飛行戦隊を編成中……', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoSlotitem([452], 1), _53l.addMeltIntoUseitem([68, 3], 2), _53l); if (1111 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(180), _53l.setItemTobe(this.model.mst_id_to), (_53m = '野中隊長率いる「野中一家」を編成中…', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoSlotitem([169, 169], 1), _53l.addMeltIntoUseitem([70, 70, 70], 2), _53l); if (1113 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(453), _53l.setItemTobe(this.model.mst_id_to), (_53m = '新開発の空対艦無線誘導弾装備襲撃機を整備中…', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoSlotitem([446], 1), _53l.addMeltIntoUseitem([70, 77], 2), _53l); if (1117 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), (_53m = '「新型三座夜間水上偵察機」を配備中……', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoSlotitem([238], 1), _53l.addMeltIntoUseitem([4, 70], 2), _53l); if (1118 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), (_53m = '多弾散布型対潜迫撃砲を配備中……', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoUseitem([3, 32], 1), _53l.addMeltIntoUseitem([94, 92], 2), _53l); if (1122 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), (_53m = '輸入対空火器を配備中……', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoUseitem([3, 32], 1), _53l.addMeltIntoUseitem([2, 33], 2), _53l); if (1123 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), (_53m = '三座水上偵察機の後期改良型……', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoUseitem([77, 3], 1), _53l.addMeltInto([{ 'id': 70, 'type': 6 }, { 'id': 82, 'type': 2, 'size': 135 }], 2, 0), _53l); if (1124 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), (_53m = '夜間作戦可能な艦上攻撃機……', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoUseitem([77, 3], 1), _53l.addMeltInto([{ 'id': 70, 'type': 6 }, { 'id': 16, 'type': 2, 'size': 135 }], 2, 0), _53l); if (1125 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), (_53m = '夜間作戦可能な瑞雲航空隊……', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoUseitem([77, 3], 1), _53l.addMeltInto([{ 'id': 70, 'type': 6 }, { 'id': 26, 'type': 2, 'size': 135 }], 2, 0), _53l); if (1127 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), (_53m = '改良型艦載煙幕発生装備を開発中……', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoUseitem([3, 31], 1), _53l.addMeltIntoUseitem([94, 34], 2), _53l); if (1128 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), (_53m = '改金剛型高速戦艦搭載用改良主砲を開発中……', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoUseitem([3, 75], 1), _53l.addMeltInto([{ 'id': 7, 'type': 2, 'size': 135 }, { 'id': 32, 'type': 6 }], 2, 0), _53l); if (1129 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), (_53m = '潜水艦魚雷攻撃兵装の精度向上中……', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoUseitem([3, 94], 1), _53l.addMeltInto([{ 'id': 129, 'type': 2, 'size': 135 }, { 'id': 32, 'type': 6 }], 2, 0), _53l); if (1132 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), (_53m = '改夕雲型駆逐艦搭載用改良主砲を改良中……', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoUseitem([3, 75], 1), _53l.addMeltInto([{ 'id': 2, 'type': 2, 'size': 135 }, { 'id': 4, 'type': 6 }], 2, 0), _53l); if (1133 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), (_53m = '22号対水上電探改四(後期調整型)装備マストに追加装備中……', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoUseitem([3], 1), _53l.addMeltInto([{ 'id': 450, 'type': 2, 'size': 135 }, { 'id': 4, 'type': 6 }], 2, 0), _53l); if (1134 == _53k) return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(this.model.mst_id_from), _53l.setItemTobe(this.model.mst_id_to), (_53m = '22号対水上電探改四を改良調整中……', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltIntoUseitem([3, 94], 1), _53l.addMeltInto([{ 'id': 28, 'type': 2, 'size': 135 }, { 'id': 4, 'type': 6 }], 2, 0), _53l); if (1135 == _53k) { var _53l; return (_53l = new _52u.ModelChangeModelEdit()).setItemFrom(395), _53l.setItemTobe(this.model.mst_id_to), (_53m = '試作大型陸上攻撃機「深山」を改良中……', _53n = this.model.message2), (_53l.setMessage(_53m, _53n), _53l.addMeltInto([{ 'id': 180, 'type': 2, 'size': 135 }, { 'id': 70, 'type': 6 }], 1, 0), _53l.addMeltIntoUseitem([77, 77], 2), _53l); } return null; }, _52z; }(_527(60862).TaskRewardDialogBase); _526.TaskRewardDialogModelChange = _52w; }, 70670: function(_53o, _53p, _53q) { 'use strict'; var _53r = null; var _53s, _53t = this && this.__extends || (_53s = function(_53u, _53v) { var _53w = null; return _53s = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_53x, _53y) { var _53z = null; _53x.__proto__ = _53y; } || function(_540, _541) { var _542 = null; for (var _543 in _541) Object.prototype.hasOwnProperty.call(_541, _543) && (_540[_543] = _541[_543]); }, _53s(_53u, _53v); }, function(_544, _545) { var _546 = null; if ('function' != typeof _545 && null !== _545) throw new TypeError('Class extends value ' + String(_545) + ' is not a constructor or null'); function _547() { var _548 = null; this.constructor = _544; } _53s(_544, _545), _544.prototype = null === _545 ? Object.create(_545) : (_547.prototype = _545.prototype, new _547()); }), _549 = this && this.__importDefault || function(_54a) { var _54b = null; return _54a && _54a.__esModule ? _54a : { 'default': _54a }; }; defineModule(_53p); Object.defineProperty(_53p, '__esModule', { 'value': !0 }), _53p.TaskRewardDialogMultiUseitem = void 0; var _54c = _549(_53q(18622)), _54d = _53q(8744), _54e = function(_54f) { var _54g = null; function _54h(_54i, _54j) { var _54k = null, _54l = _54f.call(this, _54i, null) || this; return _54l._models = _54j, _54l; } return _53t(_54h, _54f), _54h.prototype._createContent = function() { var _54m = null; this._icons = [], this._text = new _54d.TextBox(25, 16774898), this._dialog.container.addChild(this._text); for (var _54n = '', _54o = 0, _54p = this._models.rewards; _54o < _54p.length; _54o++) { var _54q = _54p[_54o], _54r = _54c.default.resources.getUseitem(_54q.mst_id, 0); (_54s = new PIXI.Sprite(_54r)).y = -121, this._dialog.container.addChild(_54s), this._icons.push(_54s), _54n += _54q.name + '×' + _54q.count + '\x0a'; } this._text.text = _54n, this._text.x = -Math.round(this._text.width / 2), this._models.rewards.length >= 6 ? this._text.y = -30 : 5 == this._models.rewards.length ? this._text.y = -15 : this._text.y = 0; for (var _54t = this._icons.length, _54u = [0, 0, 96, 75, 45, 30, 15][_54t], _54v = 75 * _54t + _54u * (_54t - 1), _54w = 0; _54w < _54t; _54w++) { var _54s; (_54s = this._icons[_54w]).x = -_54v / 2 + (75 + _54u) * _54w; } this._showDialog(); }, _54h.prototype._removeContent = function() { var _54x = null; this._dialog.container.removeChild(this._text), this._text.destroy(), this._text = null; for (var _54y = 0, _54z = this._icons; _54y < _54z.length; _54y++) { var _550 = _54z[_54y]; this._dialog.container.removeChild(_550); } this._icons = null; }, _54h; }(_53q(60862).TaskRewardDialogBase); _53p.TaskRewardDialogMultiUseitem = _54e; }, 29168: function(_551, _552, _553) { 'use strict'; var _554 = null; var _555, _556 = this && this.__extends || (_555 = function(_557, _558) { var _559 = null; return _555 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_55a, _55b) { var _55c = null; _55a.__proto__ = _55b; } || function(_55d, _55e) { var _55f = null; for (var _55g in _55e) Object.prototype.hasOwnProperty.call(_55e, _55g) && (_55d[_55g] = _55e[_55g]); }, _555(_557, _558); }, function(_55h, _55i) { var _55j = null; if ('function' != typeof _55i && null !== _55i) throw new TypeError('Class extends value ' + String(_55i) + ' is not a constructor or null'); function _55k() { var _55l = null; this.constructor = _55h; } _555(_55h, _55i), _55h.prototype = null === _55i ? Object.create(_55i) : (_55k.prototype = _55i.prototype, new _55k()); }), _55m = this && this.__importDefault || function(_55n) { var _55o = null; return _55n && _55n.__esModule ? _55n : { 'default': _55n }; }; defineModule(_552); Object.defineProperty(_552, '__esModule', { 'value': !0 }), _552.TaskRewardDialogShip = void 0; var _55p = _55m(_553(18622)), _55q = _553(20137), _55r = function(_55s) { var _55t = null; function _55u(_55v, _55w) { var _55x = null; return _55s.call(this, _55v, _55w) || this; } return _556(_55u, _55s), Object.defineProperty(_55u.prototype, 'model', { 'get': function() { var _55y = null; return this._model; }, 'enumerable': !1, 'configurable': !0 }), _55u.prototype._createContent = function() { var _55z = null, _560 = this, _561 = this.model.mst_id, _562 = new _55q.ShipLoader(); _562.add(_561, !1, 'card'), _562.load(function() { var _563 = null, _564 = _55p.default.resources.getShip(_561, !1, 'card'); _560._card = new PIXI.Sprite(_564), _560._card.x = -Math.round(_560._card.width / 2), _560._card.y = -Math.round(_560._card.height / 2), _560._dialog.container.addChild(_560._card), _560._showDialog(); }); }, _55u.prototype._removeContent = function() { var _565 = null; this._dialog.container.removeChild(this._card), this._card = null; }, _55u; }(_553(60862).TaskRewardDialogBase); _552.TaskRewardDialogShip = _55r; }, 70041: function(_566, _567, _568) { 'use strict'; var _569 = null; var _56a, _56b = this && this.__extends || (_56a = function(_56c, _56d) { var _56e = null; return _56a = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_56f, _56g) { var _56h = null; _56f.__proto__ = _56g; } || function(_56i, _56j) { var _56k = null; for (var _56l in _56j) Object.prototype.hasOwnProperty.call(_56j, _56l) && (_56i[_56l] = _56j[_56l]); }, _56a(_56c, _56d); }, function(_56m, _56n) { var _56o = null; if ('function' != typeof _56n && null !== _56n) throw new TypeError('Class extends value ' + String(_56n) + ' is not a constructor or null'); function _56p() { var _56q = null; this.constructor = _56m; } _56a(_56m, _56n), _56m.prototype = null === _56n ? Object.create(_56n) : (_56p.prototype = _56n.prototype, new _56p()); }), _56r = this && this.__importDefault || function(_56s) { var _56t = null; return _56s && _56s.__esModule ? _56s : { 'default': _56s }; }; defineModule(_567); Object.defineProperty(_567, '__esModule', { 'value': !0 }), _567.TaskRewardDialogSlotitem = void 0; var _56u = _56r(_568(18622)), _56v = _568(37760), _56w = _568(60862), _56x = _568(63865), _56y = function(_56z) { var _570 = null; function _571(_572, _573) { var _574 = null, _575 = _56z.call(this, _572, _573) || this; return _575._levelStar = new _56x.LevelStar(), _575; } return _56b(_571, _56z), Object.defineProperty(_571.prototype, 'model', { 'get': function() { var _576 = null; return this._model; }, 'enumerable': !1, 'configurable': !0 }), _571.prototype._createContent = function() { var _577 = null, _578 = this, _579 = this.model.mst_id, _57a = new _56v.SlotLoader(); _57a.add(_579, 'card'), _57a.load(function() { var _57b = null, _57c = _56u.default.resources.getSlotitem(_579, 'card'); _578._card = new PIXI.Sprite(_57c), _578._card.x = -Math.round(_578._card.width / 2), _578._card.y = -Math.round(_578._card.height / 2), _578._dialog.container.addChild(_578._card), _578._levelStar.update(_578.model.level), _578._levelStar.position.set(169, -28), _578._dialog.container.addChild(_578._levelStar), _578._showDialog(); }); }, _571.prototype._removeContent = function() { var _57d = null; this._dialog.container.removeChild(this._card), this._dialog.container.removeChild(this._levelStar), this._card = null, this._levelStar.dispose(), this._levelStar = null; }, _571; }(_56w.TaskRewardDialogBase); _567.TaskRewardDialogSlotitem = _56y; }, 52096: function(_57e, _57f, _57g) { 'use strict'; var _57h = null; var _57i, _57j = this && this.__extends || (_57i = function(_57k, _57l) { var _57m = null; return _57i = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_57n, _57o) { var _57p = null; _57n.__proto__ = _57o; } || function(_57q, _57r) { var _57s = null; for (var _57t in _57r) Object.prototype.hasOwnProperty.call(_57r, _57t) && (_57q[_57t] = _57r[_57t]); }, _57i(_57k, _57l); }, function(_57u, _57v) { var _57w = null; if ('function' != typeof _57v && null !== _57v) throw new TypeError('Class extends value ' + String(_57v) + ' is not a constructor or null'); function _57x() { var _57y = null; this.constructor = _57u; } _57i(_57u, _57v), _57u.prototype = null === _57v ? Object.create(_57v) : (_57x.prototype = _57v.prototype, new _57x()); }), _57z = this && this.__importDefault || function(_580) { var _581 = null; return _580 && _580.__esModule ? _580 : { 'default': _580 }; }; defineModule(_57f); Object.defineProperty(_57f, '__esModule', { 'value': !0 }), _57f.TaskRewardDialogUseitem = void 0; var _582 = _57z(_57g(18622)), _583 = _57g(79787), _584 = function(_585) { var _586 = null; function _587(_588, _589) { var _58a = null; return _585.call(this, _588, _589) || this; } return _57j(_587, _585), Object.defineProperty(_587.prototype, 'model', { 'get': function() { var _58b = null; return this._model; }, 'enumerable': !1, 'configurable': !0 }), _587.prototype._createContent = function() { var _58c = null, _58d = this, _58e = this.model.mst_id, _58f = 0; 59 == _58e && 10 == this.model.count && (_58e = 902, _58f = 31); var _58g = new _583.UseitemLoader(); _58g.add(_58e, 1), _58g.load(function() { var _58h = null, _58i = _582.default.resources.getUseitem(_58e, 1); _58d._card = new PIXI.Sprite(_58i), _58d._card.x = -Math.round((_58d._card.width - _58f) / 2), _58d._card.y = -Math.round(_58d._card.height / 2), _58d._dialog.container.addChild(_58d._card), _58d._showDialog(); }); }, _587.prototype._removeContent = function() { var _58j = null; this._dialog.container.removeChild(this._card), this._card = null; }, _587; }(_57g(60862).TaskRewardDialogBase); _57f.TaskRewardDialogUseitem = _584; }, 62085: function(_58k, _58l, _58m) { 'use strict'; var _58n = null; var _58o, _58p = this && this.__extends || (_58o = function(_58q, _58r) { var _58s = null; return _58o = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_58t, _58u) { var _58v = null; _58t.__proto__ = _58u; } || function(_58w, _58x) { var _58y = null; for (var _58z in _58x) Object.prototype.hasOwnProperty.call(_58x, _58z) && (_58w[_58z] = _58x[_58z]); }, _58o(_58q, _58r); }, function(_590, _591) { var _592 = null; if ('function' != typeof _591 && null !== _591) throw new TypeError('Class extends value ' + String(_591) + ' is not a constructor or null'); function _593() { var _594 = null; this.constructor = _590; } _58o(_590, _591), _590.prototype = null === _591 ? Object.create(_591) : (_593.prototype = _591.prototype, new _593()); }); defineModule(_58l); Object.defineProperty(_58l, '__esModule', { 'value': !0 }), _58l.TaskRewardDialogWarResult = void 0; var _595 = _58m(33050), _596 = function(_597) { var _598 = null; function _599(_59a, _59b) { var _59c = null; return _597.call(this, _59a, _59b) || this; } return _58p(_599, _597), Object.defineProperty(_599.prototype, 'model', { 'get': function() { var _59d = null; return this._model; }, 'enumerable': !1, 'configurable': !0 }), _599.prototype._createContent = function() { var _59e = null; this._panel = new PIXI.Container(); var _59f = new PIXI.Sprite(_595.COMMON_SENKA.getTexture(1)); _59f.position.set(-267, -138), this._panel.addChild(_59f); var _59g = new PIXI.Sprite(_595.COMMON_SENKA.getTexture(0)); _59g.position.set(-45, -12), this._panel.addChild(_59g); var _59h = new PIXI.Sprite(_595.COMMON_SENKA.getTexture(2)); _59h.position.set(-67, 102), this._panel.addChild(_59h); var _59i = new PIXI.Sprite(); 350 == this.model.value ? (_59i.texture = _595.COMMON_SENKA.getTexture(11), _59i.position.set(-10, 99)) : 200 == this.model.value ? (_59i.texture = _595.COMMON_SENKA.getTexture(12), _59i.position.set(-12, 99)) : 300 == this.model.value ? (_59i.texture = _595.COMMON_SENKA.getTexture(13), _59i.position.set(-11, 99)) : 180 == this.model.value ? (_59i.texture = _595.COMMON_SENKA.getTexture(14), _59i.position.set(-12, 99)) : 400 == this.model.value ? (_59i.texture = _595.COMMON_SENKA.getTexture(15), _59i.position.set(-11, 99)) : 80 == this.model.value ? (_59i.texture = _595.COMMON_SENKA.getTexture(16), _59i.position.set(-4, 99)) : 330 == this.model.value ? (_59i.texture = _595.COMMON_SENKA.getTexture(17), _59i.position.set(-11, 99)) : 203 == this.model.value ? (_59i.texture = _595.COMMON_SENKA.getTexture(18), _59i.position.set(-11, 99)) : 390 == this.model.value ? (_59i.texture = _595.COMMON_SENKA.getTexture(3), _59i.position.set(-11, 99)) : 480 == this.model.value ? (_59i.texture = _595.COMMON_SENKA.getTexture(4), _59i.position.set(-11, 99)) : 600 == this.model.value ? (_59i.texture = _595.COMMON_SENKA.getTexture(5), _59i.position.set(-11, 99)) : 800 == this.model.value ? (_59i.texture = _595.COMMON_SENKA.getTexture(6), _59i.position.set(-11, 99)) : 220 == this.model.value ? (_59i.texture = _595.COMMON_SENKA.getTexture(7), _59i.position.set(-11, 99)) : 230 == this.model.value ? (_59i.texture = _595.COMMON_SENKA.getTexture(8), _59i.position.set(-11, 99)) : 250 == this.model.value ? (_59i.texture = _595.COMMON_SENKA.getTexture(9), _59i.position.set(-12, 99)) : 11 == this.model.value && (_59i.texture = _595.COMMON_SENKA.getTexture(10), _59i.position.set(-2, 99)), this._panel.addChild(_59i), this._dialog.container.addChild(this._panel), this._showDialog(); }, _599.prototype._removeContent = function() { var _59j = null; this._dialog.container.removeChild(this._panel), this._panel = null; }, _599; }(_58m(60862).TaskRewardDialogBase); _58l.TaskRewardDialogWarResult = _596; }, 81987: function(_59k, _59l, _59m) { 'use strict'; var _59n = null; var _59o, _59p = this && this.__extends || (_59o = function(_59q, _59r) { var _59s = null; return _59o = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_59t, _59u) { var _59v = null; _59t.__proto__ = _59u; } || function(_59w, _59x) { var _59y = null; for (var _59z in _59x) Object.prototype.hasOwnProperty.call(_59x, _59z) && (_59w[_59z] = _59x[_59z]); }, _59o(_59q, _59r); }, function(_5a0, _5a1) { var _5a2 = null; if ('function' != typeof _5a1 && null !== _5a1) throw new TypeError('Class extends value ' + String(_5a1) + ' is not a constructor or null'); function _5a3() { var _5a4 = null; this.constructor = _5a0; } _59o(_5a0, _5a1), _5a0.prototype = null === _5a1 ? Object.create(_5a1) : (_5a3.prototype = _5a1.prototype, new _5a3()); }); defineModule(_59l); Object.defineProperty(_59l, '__esModule', { 'value': !0 }), _59l.RewardDialog = void 0; var _5a5 = _59m(35380), _5a6 = _59m(45054), _5a7 = _59m(54011), _5a8 = _59m(14995), _5a9 = _59m(8744), _5aa = _59m(11997), _5ab = function(_5ac) { var _5ad = null; function _5ae() { var _5af = null, _5ag = _5ac.call(this) || this; return _5ag._bg = new _5a7.Sprite(), _5ag._bg.anchor.set(0.5), _5ag.addChild(_5ag._bg), _5ag._light = new _5ah(), _5ag.addChild(_5ag._light), _5ag._container = new _5a6.Container(), _5ag.addChild(_5ag._container), _5ag._message = new _5ai(), _5ag._message.position.set(-360, -291), _5ag.addChild(_5ag._message), _5ag._get_icon = new _5a8.GetIcon(), _5ag._get_icon.position.set(223, -181), _5ag.addChild(_5ag._get_icon), _5ag._close_btn = new _5aj(), _5ag._close_btn.position.set(-90, 222), _5ag.addChild(_5ag._close_btn), _5ag; } return _59p(_5ae, _5ac), Object.defineProperty(_5ae.prototype, 'bg', { 'get': function() { var _5ak = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_5ae.prototype, 'light', { 'get': function() { var _5al = null; return this._light; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_5ae.prototype, 'container', { 'get': function() { var _5am = null; return this._container; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_5ae.prototype, 'message', { 'get': function() { var _5an = null; return this._message; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_5ae.prototype, 'get_icon', { 'get': function() { var _5ao = null; return this._get_icon; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_5ae.prototype, 'close_btn', { 'get': function() { var _5ap = null; return this._close_btn; }, 'enumerable': !1, 'configurable': !0 }), _5ae.prototype.initialize = function() { var _5aq = null; this._bg.texture = _5aa.COMMON_MISC.getTexture(188), this._light.initialize(), this._get_icon.initialize(), this._close_btn.initialize(); }, _5ae.prototype.dispose = function() { var _5ar = null; this._light.dispose(), this._message.dispose(), this._get_icon.dispose(), this._close_btn.dispose(); }, _5ae; }(_5a6.Container); _59l.RewardDialog = _5ab; var _5ah = function(_5as) { var _5at = null; function _5au() { var _5av = null, _5aw = _5as.call(this) || this; return _5aw.anchor.set(0.5), _5aw; } return _59p(_5au, _5as), _5au.prototype.initialize = function() { var _5ax = null; this.texture = _5aa.COMMON_MISC.getTexture(74); }, _5au.prototype.activate = function() { var _5ay = null; null == this._t && (this.rotation = 0, this._t = createjs.Tween.get(this, { 'loop': !0 }).to({ 'rotation': 2 * Math.PI }, 6000)); }, _5au.prototype.deactivate = function() { var _5az = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _5au.prototype.dispose = function() { var _5b0 = null; this.deactivate(); }, _5au; }(_5a7.Sprite), _5ai = function(_5b1) { var _5b2 = null; function _5b3() { var _5b4 = null, _5b5 = _5b1.call(this) || this; return _5b5.beginFill(0, 0.7), _5b5.drawRect(0, 0, 721, 76), _5b5.endFill(), _5b5._texts = [], _5b5.visible = !1, _5b5; } return _59p(_5b3, _5b1), _5b3.prototype.update = function(_5b6) { var _5b7 = null; for (var _5b8 = 0, _5b9 = this._texts; _5b8 < _5b9.length; _5b8++) { null != (_5ba = _5b9[_5b8]).parent && _5ba.parent.removeChild(_5ba); } if (this._texts = [], null != _5b6) { for (var _5bb = _5b6.split('\x0a'), _5bc = 9, _5bd = 0; _5bd < _5bb.length; _5bd++) { var _5ba; (_5ba = new _5a9.TextBox(21, 16777215)).text = _5bb[_5bd], _5ba.x = 360 - _5ba.width / 2, _5ba.y = _5bc, this.addChild(_5ba), this._texts.push(_5ba), _5bc += _5ba.height; } this.visible = !0; } else this.visible = !1; }, _5b3.prototype.dispose = function() { var _5be = null; this.removeChildren(); for (var _5bf = 0, _5bg = this._texts; _5bf < _5bg.length; _5bf++) { _5bg[_5bf].destroy(); } }, _5b3; }(PIXI.Graphics), _5aj = function(_5bh) { var _5bi = null; function _5bj() { var _5bk = null, _5bl = _5bh.call(this) || this; return _5bl._onClick = function() { var _5bm = null; null != _5bl._cb_onClick && _5bl._cb_onClick(); }, _5bl.interactive = !0, _5bl.visible = !1, _5bl; } return _59p(_5bj, _5bh), _5bj.prototype.initialize = function() { var _5bn = null; this.texture = _5aa.COMMON_MISC.getTexture(26); }, _5bj.prototype.activate = function(_5bo) { var _5bp = null; this._cb_onClick = _5bo, 1 != this.buttonMode && (this.buttonMode = !0, this.on(_5a5.EventType.CLICK, this._onClick), this.visible = !0); }, _5bj.prototype.deactivate = function() { var _5bq = null; this.buttonMode = !1, this.off(_5a5.EventType.CLICK, this._onClick), this.visible = !1; }, _5bj.prototype.dispose = function() { var _5br = null; this.deactivate(), this._cb_onClick = null; }, _5bj; }(_5a7.Sprite); }, 61439: function(_5bs, _5bt, _5bu) { 'use strict'; var _5bv = null; var _5bw, _5bx = this && this.__extends || (_5bw = function(_5by, _5bz) { var _5c0 = null; return _5bw = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_5c1, _5c2) { var _5c3 = null; _5c1.__proto__ = _5c2; } || function(_5c4, _5c5) { var _5c6 = null; for (var _5c7 in _5c5) Object.prototype.hasOwnProperty.call(_5c5, _5c7) && (_5c4[_5c7] = _5c5[_5c7]); }, _5bw(_5by, _5bz); }, function(_5c8, _5c9) { var _5ca = null; if ('function' != typeof _5c9 && null !== _5c9) throw new TypeError('Class extends value ' + String(_5c9) + ' is not a constructor or null'); function _5cb() { var _5cc = null; this.constructor = _5c8; } _5bw(_5c8, _5c9), _5c8.prototype = null === _5c9 ? Object.create(_5c9) : (_5cb.prototype = _5c9.prototype, new _5cb()); }); defineModule(_5bt); Object.defineProperty(_5bt, '__esModule', { 'value': !0 }), _5bt.TaskEventRewardSelectConfirm = void 0; var _5cd = _5bu(81755), _5ce = _5bu(79899), _5cf = _5bu(9925), _5cg = function(_5ch) { var _5ci = null; function _5cj(_5ck, _5cl) { var _5cm = null, _5cn = _5ch.call(this) || this; return _5cn._result = !1, _5cn._onSelected = function(_5co) { var _5cp = null; _5cn._result = _5co, _5cn._dialog.dispose(), _5cn._layer.removeChild(_5cn._dialog), _5cn._layer.removeChild(_5cn._click_guard), _5cn._endTask(); }, _5cn._layer = _5ck, _5cn._texture = _5cl, _5cn; } return _5bx(_5cj, _5ch), Object.defineProperty(_5cj.prototype, 'result', { 'get': function() { var _5cq = null; return this._result; }, 'enumerable': !1, 'configurable': !0 }), _5cj.prototype._start = function() { var _5cr = null; this._click_guard = new _5ce.AreaBox(0), this._layer.addChild(this._click_guard), this._dialog = new _5cf.EventRewardSelectConfirm(this._onSelected), this._dialog.position.set(426, 508), this._dialog.initialize(this._texture), this._layer.addChild(this._dialog), this._dialog.activate(); }, _5cj.prototype._endTask = function() { var _5cs = null; this._layer = null, this._texture = null, this._click_guard = null, this._dialog = null, _5ch.prototype._endTask.call(this); }, _5cj; }(_5cd.TaskBase); _5bt.TaskEventRewardSelectConfirm = _5cg; }, 19281: function(_5ct, _5cu, _5cv) { 'use strict'; var _5cw = null; var _5cx, _5cy = this && this.__extends || (_5cx = function(_5cz, _5d0) { var _5d1 = null; return _5cx = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_5d2, _5d3) { var _5d4 = null; _5d2.__proto__ = _5d3; } || function(_5d5, _5d6) { var _5d7 = null; for (var _5d8 in _5d6) Object.prototype.hasOwnProperty.call(_5d6, _5d8) && (_5d5[_5d8] = _5d6[_5d8]); }, _5cx(_5cz, _5d0); }, function(_5d9, _5da) { var _5db = null; if ('function' != typeof _5da && null !== _5da) throw new TypeError('Class extends value ' + String(_5da) + ' is not a constructor or null'); function _5dc() { var _5dd = null; this.constructor = _5d9; } _5cx(_5d9, _5da), _5d9.prototype = null === _5da ? Object.create(_5da) : (_5dc.prototype = _5da.prototype, new _5dc()); }), _5de = this && this.__importDefault || function(_5df) { var _5dg = null; return _5df && _5df.__esModule ? _5df : { 'default': _5df }; }; defineModule(_5cu); Object.defineProperty(_5cu, '__esModule', { 'value': !0 }), _5cu.TaskEventRewardsSelect = void 0; var _5dh = _5cv(81755), _5di = _5de(_5cv(18622)), _5dj = _5cv(62877), _5dk = _5cv(22027), _5dl = _5cv(61439), _5dm = _5cv(34255), _5dn = function(_5do) { var _5dp = null; function _5dq(_5dr, _5ds) { var _5dt = null, _5du = _5do.call(this) || this; return _5du._selects = [], _5du._layer = _5dr, _5du._candidates_dict = _5ds, _5du._results = [], _5du; } return _5cy(_5dq, _5do), Object.defineProperty(_5dq.prototype, 'results', { 'get': function() { var _5dv = null; return this._results; }, 'enumerable': !1, 'configurable': !0 }), _5dq.prototype._start = function() { var _5dw = null; if (null != this._candidates_dict) { var _5dx = Object.keys(this._candidates_dict); null != _5dx && 0 != _5dx.length ? this._showDialog(_5dx) : this._endTask(); } else this._endTask(); }, _5dq.prototype._showDialog = function(_5dy) { var _5dz = null, _5e0 = this, _5e1 = parseInt(_5dy.shift()), _5e2 = this._candidates_dict[_5e1], _5e3 = new _5e4(this._layer, _5e1, _5e2); _5e3.start(function() { var _5e5 = null; _5e0._selects.push(_5e3.result), _5e0._endCheck(_5dy); }); }, _5dq.prototype._endCheck = function(_5e6) { var _5e7 = null; 0 == _5e6.length ? this._selectedReward() : this._showDialog(_5e6); }, _5dq.prototype._selectedReward = function() { var _5e8 = null, _5e9 = this, _5ea = this._selects, _5eb = new _5dm.GetEventSelectedRewardAPI(_5ea); _5eb.start(function() { var _5ec = null; _5e9._results = _5eb.mapBonusModels, _5e9._endTask(); }); }, _5dq.prototype._endTask = function() { var _5ed = null; this._layer = null, _5do.prototype._endTask.call(this); }, _5dq; }(_5dh.TaskBase); _5cu.TaskEventRewardsSelect = _5dn; var _5e4 = function(_5ee) { var _5ef = null; function _5eg(_5eh, _5ei, _5ej) { var _5ek = null, _5el = _5ee.call(this) || this; return _5el._result = null, _5el._onSelect = function(_5em) { var _5en = null, _5eo = PIXI.Texture.EMPTY; if (11 == _5em.type) _5eo = _5di.default.resources.getShip(_5em.mst_id, !1, 'reward_icon'); else { if (12 == _5em.type) _5eo = _5di.default.resources.getSlotitem(_5em.mst_id, 'card'); else { if (13 == _5em.type) _5eo = _5di.default.resources.getUseitem(_5em.mst_id, 2); else { if (14 == _5em.type) { _5eo = _5di.default.resources.getFurniture(_5em.mst_id, 'reward'); var _5ep = _5di.default.model.furniture.getData(_5em.mst_id); if (null == _5ep || 1 == _5ep.has()) return void _5el._dialog.showAlert(_5em); } } } } var _5eq = new _5dl.TaskEventRewardSelectConfirm(_5el._layer, _5eo); _5eq.start(function() { var _5er = null; 1 == _5eq.result && (_5el._layer.removeChild(_5el._dialog), _5el._result = { 'group_no': _5el._group_no, 'item_no': _5em.no }, _5el._endTask()); }); }, _5el._layer = _5eh, _5el._candidates = _5ej, _5el._group_no = _5ei, _5el; } return _5cy(_5eg, _5ee), Object.defineProperty(_5eg.prototype, 'result', { 'get': function() { var _5es = null; return this._result; }, 'enumerable': !1, 'configurable': !0 }), _5eg.prototype._start = function() { var _5et = null; this._loadResources(); }, _5eg.prototype._loadResources = function() { var _5eu = null; for (var _5ev = this, _5ew = new _5dk.TaskLoadResources(), _5ex = 0, _5ey = this._candidates; _5ex < _5ey.length; _5ex++) { var _5ez = _5ey[_5ex]; 11 == _5ez.type ? _5ew.addShip(_5ez.mst_id) : 12 == _5ez.type ? _5ew.addSlotitem(_5ez.mst_id) : 13 == _5ez.type ? _5ew.addUseitem(_5ez.mst_id) : 14 == _5ez.type && _5ew.addFurniture(_5ez.mst_id); } _5ew.start(function() { var _5f0 = null; 2 == _5ev._candidates.length && (_5ev._dialog = new _5dj.EventRewardSelectDialog2(), _5ev._dialog.position.set(262, 186)), _5ev._dialog.initialize(_5ev._candidates, _5ev._onSelect), _5ev._dialog.alpha = 0, _5ev._layer.addChild(_5ev._dialog), createjs.Tween.get(_5ev._dialog).to({ 'alpha': 1 }, 300).call(function() { var _5f1 = null; _5ev._dialog.activate(); }); }); }, _5eg.prototype._endTask = function() { var _5f2 = null; this._layer = null, this._candidates = null, this._dialog = null, _5ee.prototype._endTask.call(this); }, _5eg; }(_5dh.TaskBase); }, 22027: function(_5f3, _5f4, _5f5) { 'use strict'; var _5f6 = null; var _5f7, _5f8 = this && this.__extends || (_5f7 = function(_5f9, _5fa) { var _5fb = null; return _5f7 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_5fc, _5fd) { var _5fe = null; _5fc.__proto__ = _5fd; } || function(_5ff, _5fg) { var _5fh = null; for (var _5fi in _5fg) Object.prototype.hasOwnProperty.call(_5fg, _5fi) && (_5ff[_5fi] = _5fg[_5fi]); }, _5f7(_5f9, _5fa); }, function(_5fj, _5fk) { var _5fl = null; if ('function' != typeof _5fk && null !== _5fk) throw new TypeError('Class extends value ' + String(_5fk) + ' is not a constructor or null'); function _5fm() { var _5fn = null; this.constructor = _5fj; } _5f7(_5fj, _5fk), _5fj.prototype = null === _5fk ? Object.create(_5fk) : (_5fm.prototype = _5fk.prototype, new _5fm()); }); defineModule(_5f4); Object.defineProperty(_5f4, '__esModule', { 'value': !0 }), _5f4.TaskLoadResources = void 0; var _5fo = _5f5(55535), _5fp = _5f5(15478), _5fq = _5f5(20137), _5fr = _5f5(37760), _5fs = _5f5(79787), _5ft = _5f5(13748), _5fu = _5f5(81755), _5fv = _5f5(71633), _5fw = function(_5fx) { var _5fy = null; function _5fz() { var _5g0 = null, _5g1 = _5fx.call(this) || this; return _5g1._task = new _5fo.SerialTask(), _5g1; } return _5f8(_5fz, _5fx), _5fz.prototype.addShipOld = function(_5g2) { var _5g3 = null; this._task.add(new _5g4(_5g2)); }, _5fz.prototype.addShip = function(_5g5) { var _5g6 = null; this._task.add(new _5g7(_5g5)); }, _5fz.prototype.addSlotitem = function(_5g8) { var _5g9 = null; this._task.add(new _5ga(_5g8)); }, _5fz.prototype.addUseitem = function(_5gb) { var _5gc = null; this._task.add(new _5gd(_5gb)); }, _5fz.prototype.addFurniture = function(_5ge) { var _5gf = null; this._task.add(new _5gg(_5ge)); }, _5fz.prototype._start = function() { var _5gh = null, _5gi = this, _5gj = new _5ft.UIImageLoader('common'); _5gj.add('common_selectable_reward.json'), _5fv.EventConst.AREA_ID > -1 && _5gj.add('common_selectable_event_reward.json'), _5gj.load(function() { var _5gk = null; _5gi._task.start(function() { var _5gl = null; _5gi._endTask(); }); }); }, _5fz; }(_5fu.TaskBase); _5f4.TaskLoadResources = _5fw; var _5g4 = function(_5gm) { var _5gn = null; function _5go(_5gp) { var _5gq = null, _5gr = _5gm.call(this) || this; return _5gr._mst_id = _5gp, _5gr; } return _5f8(_5go, _5gm), _5go.prototype._start = function() { var _5gs = null, _5gt = this, _5gu = new _5fq.ShipLoader(); _5gu.add(this._mst_id, !1, 'card_round'), _5gu.add(this._mst_id, !1, 'icon_box'), _5gu.load(function() { var _5gv = null; _5gt._endTask(); }); }, _5go; }(_5fu.TaskBase), _5g7 = function(_5gw) { var _5gx = null; function _5gy(_5gz) { var _5h0 = null, _5h1 = _5gw.call(this) || this; return _5h1._mst_id = _5gz, _5h1; } return _5f8(_5gy, _5gw), _5gy.prototype._start = function() { var _5h2 = null, _5h3 = this, _5h4 = new _5fq.ShipLoader(); _5h4.add(this._mst_id, !1, 'reward_card'), _5h4.add(this._mst_id, !1, 'reward_icon'), _5h4.load(function() { var _5h5 = null; _5h3._endTask(); }); }, _5gy; }(_5fu.TaskBase), _5ga = function(_5h6) { var _5h7 = null; function _5h8(_5h9) { var _5ha = null, _5hb = _5h6.call(this) || this; return _5hb._mst_id = _5h9, _5hb; } return _5f8(_5h8, _5h6), _5h8.prototype._start = function() { var _5hc = null, _5hd = this, _5he = new _5fr.SlotLoader(); _5he.add(this._mst_id, 'card'), _5he.load(function() { var _5hf = null; _5hd._endTask(); }); }, _5h8; }(_5fu.TaskBase), _5gd = function(_5hg) { var _5hh = null; function _5hi(_5hj) { var _5hk = null, _5hl = _5hg.call(this) || this; return _5hl._mst_id = _5hj, _5hl; } return _5f8(_5hi, _5hg), _5hi.prototype._start = function() { var _5hm = null, _5hn = this, _5ho = new _5fs.UseitemLoader(); _5ho.add(this._mst_id, 1), _5ho.add(this._mst_id, 2), _5ho.load(function() { var _5hp = null; _5hn._endTask(); }); }, _5hi; }(_5fu.TaskBase), _5gg = function(_5hq) { var _5hr = null; function _5hs(_5ht) { var _5hu = null, _5hv = _5hq.call(this) || this; return _5hv._mst_id = _5ht, _5hv; } return _5f8(_5hs, _5hq), _5hs.prototype._start = function() { var _5hw = null, _5hx = this, _5hy = new _5fp.FurnitureLoader(); _5hy.add(this._mst_id, 'reward'), _5hy.load(function() { var _5hz = null; _5hx._endTask(); }); }, _5hs; }(_5fu.TaskBase); }, 46670: function(_5i0, _5i1, _5i2) { 'use strict'; var _5i3 = null; var _5i4, _5i5 = this && this.__extends || (_5i4 = function(_5i6, _5i7) { var _5i8 = null; return _5i4 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_5i9, _5ia) { var _5ib = null; _5i9.__proto__ = _5ia; } || function(_5ic, _5id) { var _5ie = null; for (var _5if in _5id) Object.prototype.hasOwnProperty.call(_5id, _5if) && (_5ic[_5if] = _5id[_5if]); }, _5i4(_5i6, _5i7); }, function(_5ig, _5ih) { var _5ii = null; if ('function' != typeof _5ih && null !== _5ih) throw new TypeError('Class extends value ' + String(_5ih) + ' is not a constructor or null'); function _5ij() { var _5ik = null; this.constructor = _5ig; } _5i4(_5ig, _5ih), _5ig.prototype = null === _5ih ? Object.create(_5ih) : (_5ij.prototype = _5ih.prototype, new _5ij()); }); defineModule(_5i1); Object.defineProperty(_5i1, '__esModule', { 'value': !0 }), _5i1.TaskRewardSelectConfirm = void 0; var _5il = _5i2(81755), _5im = _5i2(79899), _5in = _5i2(24158), _5io = function(_5ip) { var _5iq = null; function _5ir(_5is, _5it) { var _5iu = null, _5iv = _5ip.call(this) || this; return _5iv._result = !1, _5iv._onSelected = function(_5iw) { var _5ix = null; _5iv._result = _5iw, _5iv._dialog.dispose(), _5iv._layer.removeChild(_5iv._dialog), _5iv._layer.removeChild(_5iv._click_guard), _5iv._endTask(); }, _5iv._layer = _5is, _5iv._texture = _5it, _5iv; } return _5i5(_5ir, _5ip), Object.defineProperty(_5ir.prototype, 'result', { 'get': function() { var _5iy = null; return this._result; }, 'enumerable': !1, 'configurable': !0 }), _5ir.prototype._start = function() { var _5iz = null; this._click_guard = new _5im.AreaBox(0), this._layer.addChild(this._click_guard), this._dialog = new _5in.RewardSelectConfirm(this._onSelected), this._dialog.position.set(465, 495), this._dialog.initialize(this._texture), this._layer.addChild(this._dialog), this._dialog.activate(); }, _5ir.prototype._endTask = function() { var _5j0 = null; this._layer = null, this._texture = null, this._click_guard = null, this._dialog = null, _5ip.prototype._endTask.call(this); }, _5ir; }(_5il.TaskBase); _5i1.TaskRewardSelectConfirm = _5io; }, 74566: (_5j1, _5j2, _5j3) => { 'use strict'; var _5j4 = null; defineModule(_5j2); Object.defineProperty(_5j2, '__esModule', { 'value': !0 }), _5j2.SelectableRewardModel = _5j2.SelectableRewardUtil = void 0; var _5j5, _5j6 = _5j3(89939); ! function(_5j7) { var _5j8 = null; _5j7.convType = function(_5j9) { var _5ja = null; switch (_5j9) { case 2: return 11; case 3: return 12; case 5: return 14; case 1: return 13; case 4: return 1; default: throw new Error('SelectableRewardModel Error unsupported convert Type'); } }, _5j7.convObj2Model = function(_5jb) { var _5jc = null, _5jd = _5j6.ObjUtil.getNumber(_5jb, 'api_type'), _5je = _5j6.ObjUtil.getNumber(_5jb, 'api_id'), _5jf = _5j6.ObjUtil.getNumber(_5jb, 'api_slot_level'), _5jg = _5j6.ObjUtil.getNumber(_5jb, 'api_value'), _5jh = _5j6.ObjUtil.getNumber(_5jb, 'api_item_no'), _5ji = _5j7.convType(_5jd); return new _5jj({ 'api_no': _5jh, 'api_kind': _5ji, 'api_mst_id': _5je, 'api_slotitem_level': _5jf, 'api_count': _5jg }); }; }(_5j5 || (_5j2.SelectableRewardUtil = _5j5 = {})); var _5jj = (function() { var _5jk = null; function _5jl(_5jm) { this._o = _5jm; } return Object.defineProperty(_5jl.prototype, 'no', { 'get': function() { var _5jn = null; return _5j6.ObjUtil.getNumber(this._o, 'api_no'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_5jl.prototype, 'type', { 'get': function() { var _5jo = null; return _5j6.ObjUtil.getNumber(this._o, 'api_kind'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_5jl.prototype, 'mst_id', { 'get': function() { var _5jp = null; return _5j6.ObjUtil.getNumber(this._o, 'api_mst_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_5jl.prototype, 'level', { 'get': function() { var _5jq = null; return _5j6.ObjUtil.getNumber(this._o, 'api_slotitem_level'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_5jl.prototype, 'count', { 'get': function() { var _5jr = null; return _5j6.ObjUtil.getNumber(this._o, 'api_count'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_5jl.prototype, 'old_ship_layout', { 'get': function() { var _5js = null; return _5j6.ObjUtil.getNumber(this._o, 'old_ship_layout'); }, 'enumerable': !1, 'configurable': !0 }), _5jl; }()); _5j2.SelectableRewardModel = _5jj; }, 9925: function(_5jt, _5ju, _5jv) { 'use strict'; var _5jw = null; var _5jx, _5jy = this && this.__extends || (_5jx = function(_5jz, _5k0) { var _5k1 = null; return _5jx = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_5k2, _5k3) { var _5k4 = null; _5k2.__proto__ = _5k3; } || function(_5k5, _5k6) { var _5k7 = null; for (var _5k8 in _5k6) Object.prototype.hasOwnProperty.call(_5k6, _5k8) && (_5k5[_5k8] = _5k6[_5k8]); }, _5jx(_5jz, _5k0); }, function(_5k9, _5ka) { var _5kb = null; if ('function' != typeof _5ka && null !== _5ka) throw new TypeError('Class extends value ' + String(_5ka) + ' is not a constructor or null'); function _5kc() { var _5kd = null; this.constructor = _5k9; } _5jx(_5k9, _5ka), _5k9.prototype = null === _5ka ? Object.create(_5ka) : (_5kc.prototype = _5ka.prototype, new _5kc()); }); defineModule(_5ju); Object.defineProperty(_5ju, '__esModule', { 'value': !0 }), _5ju.EventRewardSelectConfirm = void 0; var _5ke = _5jv(35380), _5kf = _5jv(70192), _5kg = function(_5kh) { var _5ki = null; function _5kj(_5kk) { var _5kl = null, _5km = _5kh.call(this) || this; return _5km._onClickYes = function() { var _5kn = null; null != _5km._cb_onClick && _5km._cb_onClick(!0); }, _5km._onClickNo = function() { var _5ko = null; null != _5km._cb_onClick && _5km._cb_onClick(!1); }, _5km._cb_onClick = _5kk, _5km._btn_yes = new PIXI.Sprite(), _5km._btn_yes.position.set(158, 83), _5km.addChild(_5km._btn_yes), _5km._btn_no = new PIXI.Sprite(), _5km._btn_no.position.set(250, 83), _5km.addChild(_5km._btn_no), _5km._btn_yes.interactive = !0, _5km._btn_no.interactive = !0, _5km; } return _5jy(_5kj, _5kh), _5kj.prototype.initialize = function(_5kp) { var _5kq = null; this.texture = _5kf.COMMON_SELECTABLE_EVENT_REWARD.getTexture(0); var _5kr = new PIXI.Sprite(_5kp), _5ks = Math.min(135 / _5kr.width, 135 / _5kr.height); _5kr.scale.set(_5ks), _5kr.x = 16 + Math.round((135 - _5kr.width) / 2), _5kr.y = 16 + Math.round((135 - _5kr.height) / 2), this.addChild(_5kr), this._btn_yes.texture = _5kf.COMMON_SELECTABLE_EVENT_REWARD.getTexture(2), this._btn_no.texture = _5kf.COMMON_SELECTABLE_EVENT_REWARD.getTexture(1); }, _5kj.prototype.activate = function() { var _5kt = null; 1 != this._btn_yes.buttonMode && (this._btn_yes.buttonMode = !0, this._btn_yes.on(_5ke.EventType.CLICK, this._onClickYes), this._btn_no.buttonMode = !0, this._btn_no.on(_5ke.EventType.CLICK, this._onClickNo)); }, _5kj.prototype.deactivate = function() { var _5ku = null; this._btn_yes.buttonMode = !1, this._btn_yes.off(_5ke.EventType.CLICK, this._onClickYes), this._btn_no.buttonMode = !1, this._btn_no.off(_5ke.EventType.CLICK, this._onClickNo); }, _5kj.prototype.dispose = function() { var _5kv = null; this.deactivate(), this._cb_onClick = null; }, _5kj; }(PIXI.Sprite); _5ju.EventRewardSelectConfirm = _5kg; }, 62877: function(_5kw, _5kx, _5ky) { 'use strict'; var _5kz = null; var _5l0, _5l1 = this && this.__extends || (_5l0 = function(_5l2, _5l3) { var _5l4 = null; return _5l0 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_5l5, _5l6) { var _5l7 = null; _5l5.__proto__ = _5l6; } || function(_5l8, _5l9) { var _5la = null; for (var _5lb in _5l9) Object.prototype.hasOwnProperty.call(_5l9, _5lb) && (_5l8[_5lb] = _5l9[_5lb]); }, _5l0(_5l2, _5l3); }, function(_5lc, _5ld) { var _5le = null; if ('function' != typeof _5ld && null !== _5ld) throw new TypeError('Class extends value ' + String(_5ld) + ' is not a constructor or null'); function _5lf() { var _5lg = null; this.constructor = _5lc; } _5l0(_5lc, _5ld), _5lc.prototype = null === _5ld ? Object.create(_5ld) : (_5lf.prototype = _5ld.prototype, new _5lf()); }); defineModule(_5kx); Object.defineProperty(_5kx, '__esModule', { 'value': !0 }), _5kx.EventRewardSelectDialog2 = _5kx.EventRewardSelectDialog = void 0; var _5lh = _5ky(11353), _5li = _5ky(63476), _5lj = _5ky(25556), _5lk = _5ky(83827), _5ll = _5ky(70192), _5lm = _5ky(46091), _5ln = function(_5lo) { var _5lp = null; function _5lq() { var _5lr = null, _5ls = _5lo.call(this) || this; return _5ls._title = new PIXI.Sprite(), _5ls.addChild(_5ls._title), _5ls._btns = [], _5ls; } return _5l1(_5lq, _5lo), _5lq.prototype.initialize = function(_5lt, _5lu) { var _5lv = null; this._title.texture = _5ll.COMMON_SELECTABLE_EVENT_REWARD.getTexture(7), this._btns = []; for (var _5lw = 0, _5lx = _5lt; _5lw < _5lx.length; _5lw++) { var _5ly = _5lx[_5lw], _5lz = this._createBtn(_5ly, _5lu); this.addChild(_5lz), this._btns.push(_5lz); } }, _5lq.prototype.activate = function() { var _5m0 = null; for (var _5m1 = 0, _5m2 = this._btns; _5m1 < _5m2.length; _5m1++) { _5m2[_5m1].activate(); } }, _5lq.prototype.deactivate = function() { var _5m3 = null; for (var _5m4 = 0, _5m5 = this._btns; _5m4 < _5m5.length; _5m4++) { _5m5[_5m4].deactivate(); } }, _5lq.prototype.showAlert = function(_5m6) { var _5m7 = null, _5m8 = this._getBtn(_5m6); null != _5m8 && (null == this._alert && (this._alert = new _5lk.RewardSelectDialogFurnitureAlert(), this._alert.initialize(), this.addChild(this._alert)), this._alert.x = _5m8.x + 71, this._alert.y = _5m8.y - 20, this._alert.show()); }, _5lq.prototype._createBtn = function(_5m9, _5ma) { var _5mb = null, _5mc; if (11 == _5m9.type) return (_5mc = new _5md(_5ma)).initialize(_5m9), _5mc; if (12 == _5m9.type) return (_5mc = new _5me(_5ma)).initialize(_5m9), _5mc; if (13 == _5m9.type) return (_5mc = this._isMaterial(_5m9.mst_id) ? new _5mf(_5ma) : new _5mg(_5ma)).initialize(_5m9), _5mc; throw new Error('EventRewardSelectDialog unsupported type'); }, _5lq.prototype._isMaterial = function(_5mh) { var _5mi = null; return [31, 32, 34, 33].indexOf(_5mh) > -1; }, _5lq.prototype._getBtn = function(_5mj) { var _5mk = null; for (var _5ml = 0, _5mm = this._btns; _5ml < _5mm.length; _5ml++) { var _5mn = _5mm[_5ml]; if (_5mn.candidate == _5mj) return _5mn; } return null; }, _5lq; }(PIXI.Sprite); _5kx.EventRewardSelectDialog = _5ln; var _5md = function(_5mo) { var _5mp = null; function _5mq(_5mr) { var _5ms = null, _5mt = _5mo.call(this, _5mr) || this; return _5mt._onMouseOver = function() { var _5mu = null; _5mt._canvas.scale.set(1.05), _5mt._canvas_shadow.scale.set(1.05); }, _5mt._onMouseOut = function() { var _5mv = null; _5mt._canvas.scale.set(1), _5mt._canvas_shadow.scale.set(1); }, _5mt._canvas_shadow = new PIXI.Sprite(), _5mt.addChildAt(_5mt._canvas_shadow, 0), _5mt._canvas_shadow.position.set(101, 119), _5mt._canvas_shadow.anchor.set(0.5), _5mt; } return _5l1(_5mq, _5mo), _5mq.prototype._initialize = function() { var _5mw = null; this._canvas_shadow.texture = _5ll.COMMON_SELECTABLE_EVENT_REWARD.getTexture(11), _5mo.prototype._initialize.call(this); }, _5mq; }(_5lm.RewardSelectDialogShipBtn), _5me = function(_5mx) { var _5my = null; function _5mz(_5n0) { var _5n1 = null, _5n2 = _5mx.call(this, _5n0) || this; return _5n2._onMouseOver = function() { var _5n3 = null; _5n2._canvas.scale.set(1), _5n2._canvas_shadow.scale.set(1.1), _5n2._level.position.set(175, 34); }, _5n2._onMouseOut = function() { var _5n4 = null; _5n2._canvas.scale.set(0.9), _5n2._canvas_shadow.scale.set(1), _5n2._level.position.set(165, 44); }, _5n2._icon_shadow = new PIXI.Sprite(), _5n2.addChildAt(_5n2._icon_shadow, 0), _5n2._icon_shadow.position.set(-24, -23), _5n2._canvas_shadow = new PIXI.Sprite(), _5n2.addChildAt(_5n2._canvas_shadow, 1), _5n2._canvas_shadow.position.set(112, 146), _5n2._canvas_shadow.anchor.set(0.5), _5n2; } return _5l1(_5mz, _5mx), _5mz.prototype._initialize = function() { var _5n5 = null; this._icon_shadow.texture = _5ll.COMMON_SELECTABLE_EVENT_REWARD.getTexture(8), this._canvas_shadow.texture = _5ll.COMMON_SELECTABLE_EVENT_REWARD.getTexture(9), _5mx.prototype._initialize.call(this); }, _5mz; }(_5li.RewardSelectDialogSlotitemBtn), _5mg = function(_5n6) { var _5n7 = null; function _5n8(_5n9) { var _5na = null, _5nb = _5n6.call(this, _5n9) || this; return _5nb._onMouseOver = function() { var _5nc = null; _5nb._canvas.scale.set(1), _5nb._canvas_shadow.scale.set(1.1), _5nb._level.position.set(175, 34); }, _5nb._onMouseOut = function() { var _5nd = null; _5nb._canvas.scale.set(0.9), _5nb._canvas_shadow.scale.set(1), _5nb._level.position.set(165, 44); }, _5nb._icon_shadow = new PIXI.Sprite(), _5nb.addChildAt(_5nb._icon_shadow, 0), _5nb._icon_shadow.position.set(-24, -23), _5nb._canvas_shadow = new PIXI.Sprite(), _5nb.addChildAt(_5nb._canvas_shadow, 1), _5nb._canvas_shadow.position.set(112, 146), _5nb._canvas_shadow.anchor.set(0.5), _5nb; } return _5l1(_5n8, _5n6), _5n8.prototype._initialize = function() { var _5ne = null; this._icon_shadow.texture = _5ll.COMMON_SELECTABLE_EVENT_REWARD.getTexture(10), this._canvas_shadow.texture = _5ll.COMMON_SELECTABLE_EVENT_REWARD.getTexture(9), _5n6.prototype._initialize.call(this); }, _5n8; }(_5lj.RewardSelectDialogUseitemBtn), _5mf = function(_5nf) { function _5ng(_5nh) { var _5ni = null, _5nj = _5nf.call(this, _5nh) || this; return _5nj._count.position.set(167, 115), _5nj; } return _5l1(_5ng, _5nf), _5ng; }(_5mg), _5nk = (function(_5nl) { var _5nm = null; function _5nn(_5no) { var _5np = null, _5nq = _5nl.call(this, _5no) || this; return _5nq._onMouseOver = function() { var _5nr = null; _5nq._canvas.scale.set(1), _5nq._canvas_shadow.scale.set(1.1), _5nq._level.position.set(175, 34); }, _5nq._onMouseOut = function() { var _5ns = null; _5nq._canvas.scale.set(0.9), _5nq._canvas_shadow.scale.set(1), _5nq._level.position.set(165, 44); }, _5nq._icon_shadow = new PIXI.Sprite(), _5nq.addChildAt(_5nq._icon_shadow, 0), _5nq._icon_shadow.position.set(-24, -23), _5nq._canvas_shadow = new PIXI.Sprite(), _5nq.addChildAt(_5nq._canvas_shadow, 1), _5nq._canvas_shadow.position.set(112, 146), _5nq._canvas_shadow.anchor.set(0.5), _5nq; } _5l1(_5nn, _5nl), _5nn.prototype._initialize = function() { var _5nt = null; this._icon_shadow.texture = _5ll.COMMON_SELECTABLE_EVENT_REWARD.getTexture(8), this._canvas_shadow.texture = _5ll.COMMON_SELECTABLE_EVENT_REWARD.getTexture(9), _5nl.prototype._initialize.call(this); }; }(_5lh.RewardSelectDialogFurnitureBtn), function(_5nu) { var _5nv = null; function _5nw() { var _5nx = null; return null !== _5nu && _5nu.apply(this, arguments) || this; } return _5l1(_5nw, _5nu), _5nw.prototype.initialize = function(_5ny, _5nz) { var _5o0 = null; _5nu.prototype.initialize.call(this, _5ny, _5nz), this.texture = _5ll.COMMON_SELECTABLE_EVENT_REWARD.getTexture(6); for (var _5o1 = 0; _5o1 < 2; _5o1++) { var _5o2 = this._btns[_5o1], _5o3 = 74; _5o2 instanceof _5md && (_5o3 = 82), _5o2.position.set(100 + 271 * _5o1, _5o3); } this._title.x = Math.round(this.width - this._title.width) / 2, this._title.y = 22; }, _5nw; }(_5ln)); _5kx.EventRewardSelectDialog2 = _5nk; }, 32200: function(_5o4, _5o5, _5o6) { 'use strict'; var _5o7 = null; var _5o8, _5o9 = this && this.__extends || (_5o8 = function(_5oa, _5ob) { var _5oc = null; return _5o8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_5od, _5oe) { var _5of = null; _5od.__proto__ = _5oe; } || function(_5og, _5oh) { var _5oi = null; for (var _5oj in _5oh) Object.prototype.hasOwnProperty.call(_5oh, _5oj) && (_5og[_5oj] = _5oh[_5oj]); }, _5o8(_5oa, _5ob); }, function(_5ok, _5ol) { var _5om = null; if ('function' != typeof _5ol && null !== _5ol) throw new TypeError('Class extends value ' + String(_5ol) + ' is not a constructor or null'); function _5on() { var _5oo = null; this.constructor = _5ok; } _5o8(_5ok, _5ol), _5ok.prototype = null === _5ol ? Object.create(_5ol) : (_5on.prototype = _5ol.prototype, new _5on()); }); defineModule(_5o5); Object.defineProperty(_5o5, '__esModule', { 'value': !0 }), _5o5.LevelStarSmall = void 0; var _5op = _5o6(30221), _5oq = function(_5or) { var _5os = null; function _5ot() { var _5ou = null; return _5or.call(this) || this; } return _5o9(_5ot, _5or), _5ot.prototype.update = function(_5ov) { var _5ow = null; if (null == this._star && (this._star = new PIXI.Sprite(_5op.COMMON_STARS.getTexture(12)), this.addChild(this._star)), null == this._plus && (this._plus = new PIXI.Sprite(_5op.COMMON_STARS.getTexture(23)), this._plus.position.set(21, 5), this.addChild(this._plus)), null == this._level && (this._level = new PIXI.Sprite(), this._level.position.set(39, 2), this.addChild(this._level)), _5ov < 1) this._star.visible = !1, this._plus.visible = !1, this._level.visible = !1; else { if (_5ov > 9) this._level.texture = _5op.COMMON_STARS.getTexture(22), this._star.visible = !1, this._plus.visible = !1, this._level.visible = !0, this._level.position.set(1, 0); else { switch (_5ov) { case 1: this._level.texture = _5op.COMMON_STARS.getTexture(13); break; case 2: this._level.texture = _5op.COMMON_STARS.getTexture(14); break; case 3: this._level.texture = _5op.COMMON_STARS.getTexture(15); break; case 4: this._level.texture = _5op.COMMON_STARS.getTexture(16); break; case 5: this._level.texture = _5op.COMMON_STARS.getTexture(17); break; case 6: this._level.texture = _5op.COMMON_STARS.getTexture(18); break; case 7: this._level.texture = _5op.COMMON_STARS.getTexture(19); break; case 8: this._level.texture = _5op.COMMON_STARS.getTexture(20); break; case 9: this._level.texture = _5op.COMMON_STARS.getTexture(21); } this._star.visible = !0, this._plus.visible = !0, this._level.visible = !0, this._level.position.set(39, 2); } } }, _5ot; }(PIXI.Container); _5o5.LevelStarSmall = _5oq; }, 24158: function(_5ox, _5oy, _5oz) { 'use strict'; var _5p0 = null; var _5p1, _5p2 = this && this.__extends || (_5p1 = function(_5p3, _5p4) { var _5p5 = null; return _5p1 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_5p6, _5p7) { var _5p8 = null; _5p6.__proto__ = _5p7; } || function(_5p9, _5pa) { var _5pb = null; for (var _5pc in _5pa) Object.prototype.hasOwnProperty.call(_5pa, _5pc) && (_5p9[_5pc] = _5pa[_5pc]); }, _5p1(_5p3, _5p4); }, function(_5pd, _5pe) { var _5pf = null; if ('function' != typeof _5pe && null !== _5pe) throw new TypeError('Class extends value ' + String(_5pe) + ' is not a constructor or null'); function _5pg() { var _5ph = null; this.constructor = _5pd; } _5p1(_5pd, _5pe), _5pd.prototype = null === _5pe ? Object.create(_5pe) : (_5pg.prototype = _5pe.prototype, new _5pg()); }); defineModule(_5oy); Object.defineProperty(_5oy, '__esModule', { 'value': !0 }), _5oy.RewardSelectConfirm = void 0; var _5pi = _5oz(35380), _5pj = _5oz(57210), _5pk = function(_5pl) { var _5pm = null; function _5pn(_5po) { var _5pp = null, _5pq = _5pl.call(this) || this; return _5pq._onClickYes = function() { var _5pr = null; null != _5pq._cb_onClick && _5pq._cb_onClick(!0); }, _5pq._onClickNo = function() { var _5ps = null; null != _5pq._cb_onClick && _5pq._cb_onClick(!1); }, _5pq._cb_onClick = _5po, _5pq._btn_yes = new PIXI.Sprite(), _5pq._btn_yes.position.set(153, 78), _5pq.addChild(_5pq._btn_yes), _5pq._btn_no = new PIXI.Sprite(), _5pq._btn_no.position.set(246, 78), _5pq.addChild(_5pq._btn_no), _5pq._btn_yes.interactive = !0, _5pq._btn_no.interactive = !0, _5pq; } return _5p2(_5pn, _5pl), _5pn.prototype.initialize = function(_5pt) { var _5pu = null; this.texture = _5pj.COMMON_SELECTABLE_REWARD.getTexture(0); var _5pv = new PIXI.Sprite(_5pt), _5pw = Math.min(135 / _5pv.width, 135 / _5pv.height); _5pv.scale.set(_5pw), _5pv.x = 11 + Math.round((135 - _5pv.width) / 2), _5pv.y = 12 + Math.round((135 - _5pv.height) / 2), this.addChild(_5pv), this._btn_yes.texture = _5pj.COMMON_SELECTABLE_REWARD.getTexture(3), this._btn_no.texture = _5pj.COMMON_SELECTABLE_REWARD.getTexture(2); }, _5pn.prototype.activate = function() { var _5px = null; 1 != this._btn_yes.buttonMode && (this._btn_yes.buttonMode = !0, this._btn_yes.on(_5pi.EventType.CLICK, this._onClickYes), this._btn_no.buttonMode = !0, this._btn_no.on(_5pi.EventType.CLICK, this._onClickNo)); }, _5pn.prototype.deactivate = function() { var _5py = null; this._btn_yes.buttonMode = !1, this._btn_yes.off(_5pi.EventType.CLICK, this._onClickYes), this._btn_no.buttonMode = !1, this._btn_no.off(_5pi.EventType.CLICK, this._onClickNo); }, _5pn.prototype.dispose = function() { var _5pz = null; this.deactivate(), this._cb_onClick = null; }, _5pn; }(PIXI.Sprite); _5oy.RewardSelectConfirm = _5pk; }, 91974: function(_5q0, _5q1, _5q2) { 'use strict'; var _5q3 = null; var _5q4, _5q5 = this && this.__extends || (_5q4 = function(_5q6, _5q7) { var _5q8 = null; return _5q4 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_5q9, _5qa) { var _5qb = null; _5q9.__proto__ = _5qa; } || function(_5qc, _5qd) { var _5qe = null; for (var _5qf in _5qd) Object.prototype.hasOwnProperty.call(_5qd, _5qf) && (_5qc[_5qf] = _5qd[_5qf]); }, _5q4(_5q6, _5q7); }, function(_5qg, _5qh) { var _5qi = null; if ('function' != typeof _5qh && null !== _5qh) throw new TypeError('Class extends value ' + String(_5qh) + ' is not a constructor or null'); function _5qj() { var _5qk = null; this.constructor = _5qg; } _5q4(_5qg, _5qh), _5qg.prototype = null === _5qh ? Object.create(_5qh) : (_5qj.prototype = _5qh.prototype, new _5qj()); }); defineModule(_5q1); Object.defineProperty(_5q1, '__esModule', { 'value': !0 }), _5q1.RewardSelectDialog5 = _5q1.RewardSelectDialog3 = _5q1.RewardSelectDialog2 = _5q1.RewardSelectDialog = void 0; var _5ql = _5q2(35380), _5qm = _5q2(57210), _5qn = _5q2(11353), _5qo = _5q2(38661), _5qp = _5q2(46091), _5qq = _5q2(63476), _5qr = _5q2(25556), _5qs = _5q2(83827), _5qt = function(_5qu) { var _5qv = null; function _5qw(_5qx) { var _5qy = null; void 0 === _5qx && (_5qx = !1); var _5qz = _5qu.call(this) || this; return _5qz._title = new PIXI.Sprite(), _5qz.addChild(_5qz._title), _5qx && (_5qz._backBtn = new PIXI.Sprite(), _5qz._backBtn.interactive = !0, _5qz._backBtn.buttonMode = !0, _5qz._backBtn.position.set(705, 26), _5qz.addChild(_5qz._backBtn)), _5qz._btns = [], _5qz; } return _5q5(_5qw, _5qu), _5qw.prototype.initialize = function(_5r0, _5r1) { var _5r2 = null; this._backBtn ? (this._title.texture = _5qm.COMMON_SELECTABLE_REWARD.getTexture(10), this._backBtn.texture = _5qm.COMMON_SELECTABLE_REWARD.getTexture(1), this._backBtn.on(_5ql.EventType.CLICK, function() { _5r1(null); })) : this._title.texture = _5qm.COMMON_SELECTABLE_REWARD.getTexture(11), this._btns = [], this._shipCount = _5r0.length; for (var _5r3 = 0, _5r4 = _5r0; _5r3 < _5r4.length; _5r3++) { var _5r5 = _5r4[_5r3], _5r6 = this._createBtn(_5r5, _5r1); this.addChild(_5r6), this._btns.push(_5r6); } }, _5qw.prototype.activate = function() { var _5r7 = null; for (var _5r8 = 0, _5r9 = this._btns; _5r8 < _5r9.length; _5r8++) { _5r9[_5r8].activate(); } }, _5qw.prototype.deactivate = function() { var _5ra = null; for (var _5rb = 0, _5rc = this._btns; _5rb < _5rc.length; _5rb++) { _5rc[_5rb].deactivate(); } }, _5qw.prototype.showAlert = function(_5rd) { var _5re = null, _5rf = this._getBtn(_5rd); null != _5rf && (null == this._alert && (this._alert = new _5qs.RewardSelectDialogFurnitureAlert(), this._alert.initialize(), this.addChild(this._alert)), this._alert.x = _5rf.x + 71, this._alert.y = _5rf.y - 20, this._alert.show()); }, _5qw.prototype._createBtn = function(_5rg, _5rh) { var _5ri = null; if (11 == _5rg.type) { var _5rj = void 0; return (_5rj = 1 !== _5rg.old_ship_layout ? new _5qp.RewardSelectDialogShipBtn(_5rh) : new _5qo.RewardSelectDialogShipBtnOld(_5rh)).initialize(_5rg), _5rj; } return 12 == _5rg.type ? ((_5rj = new _5qq.RewardSelectDialogSlotitemBtn(_5rh)).initialize(_5rg), _5rj) : 13 == _5rg.type ? ((_5rj = new _5qr.RewardSelectDialogUseitemBtn(_5rh)).initialize(_5rg), _5rj) : 14 == _5rg.type ? ((_5rj = new _5qn.RewardSelectDialogFurnitureBtn(_5rh)).initialize(_5rg), _5rj) : null; }, _5qw.prototype._getBtn = function(_5rk) { var _5rl = null; for (var _5rm = 0, _5rn = this._btns; _5rm < _5rn.length; _5rm++) { var _5ro = _5rn[_5rm]; if (_5ro.candidate == _5rk) return _5ro; } return null; }, _5qw; }(PIXI.Sprite); _5q1.RewardSelectDialog = _5qt; var _5rp = function(_5rq) { var _5rr = null; function _5rs() { var _5rt = null; return null !== _5rq && _5rq.apply(this, arguments) || this; } return _5q5(_5rs, _5rq), _5rs.prototype.initialize = function(_5ru, _5rv) { var _5rw = null; _5rq.prototype.initialize.call(this, _5ru, _5rv), this.texture = _5qm.COMMON_SELECTABLE_REWARD.getTexture(7), this._btns[0].position.set(130, 86), this._btns[1].position.set(407, 86), this._title.x = Math.round(this.width - this._title.width) / 2, this._title.y = 38; }, _5rs; }(_5qt); _5q1.RewardSelectDialog2 = _5rp; var _5rx = function(_5ry) { var _5rz = null; function _5s0() { var _5s1 = null; return null !== _5ry && _5ry.apply(this, arguments) || this; } return _5q5(_5s0, _5ry), _5s0.prototype.initialize = function(_5s2, _5s3) { var _5s4 = null; _5ry.prototype.initialize.call(this, _5s2, _5s3), this.texture = _5qm.COMMON_SELECTABLE_REWARD.getTexture(8), this._btns[0].position.set(78, 86), this._btns[1].position.set(326, 86), this._btns[2].position.set(578, 86), this._title.x = Math.round(this.width - this._title.width) / 2, this._title.y = 38; }, _5s0; }(_5rp); _5q1.RewardSelectDialog3 = _5rx; var _5s5 = function(_5s6) { var _5s7 = null; function _5s8() { var _5s9 = null; return null !== _5s6 && _5s6.apply(this, arguments) || this; } return _5q5(_5s8, _5s6), _5s8.prototype.initialize = function(_5sa, _5sb) { var _5sc = null; _5s6.prototype.initialize.call(this, _5sa, _5sb), this.texture = _5qm.COMMON_SELECTABLE_REWARD.getTexture(9); for (var _5sd = 0; _5sd < this._btns.length; _5sd++) this._btns[_5sd].position.set(20 + 190 * _5sd, 86); this._title.x = Math.round(this.width - this._title.width) / 2, this._title.y = 38; }, _5s8; }(_5rx); _5q1.RewardSelectDialog5 = _5s5; }, 17658: function(_5se, _5sf, _5sg) { 'use strict'; var _5sh = null; var _5si, _5sj = this && this.__extends || (_5si = function(_5sk, _5sl) { var _5sm = null; return _5si = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_5sn, _5so) { var _5sp = null; _5sn.__proto__ = _5so; } || function(_5sq, _5sr) { var _5ss = null; for (var _5st in _5sr) Object.prototype.hasOwnProperty.call(_5sr, _5st) && (_5sq[_5st] = _5sr[_5st]); }, _5si(_5sk, _5sl); }, function(_5su, _5sv) { var _5sw = null; if ('function' != typeof _5sv && null !== _5sv) throw new TypeError('Class extends value ' + String(_5sv) + ' is not a constructor or null'); function _5sx() { var _5sy = null; this.constructor = _5su; } _5si(_5su, _5sv), _5su.prototype = null === _5sv ? Object.create(_5sv) : (_5sx.prototype = _5sv.prototype, new _5sx()); }); defineModule(_5sf); Object.defineProperty(_5sf, '__esModule', { 'value': !0 }), _5sf.RewardSelectDialogBtnBase = void 0; var _5sz = _5sg(35380), _5t0 = _5sg(32200), _5t1 = _5sg(58350), _5t2 = function(_5t3) { var _5t4 = null; function _5t5(_5t6) { var _5t7 = null, _5t8 = _5t3.call(this) || this; return _5t8._onMouseOver = function() { var _5t9 = null; _5t8._canvas.scale.set(1), _5t8._level.position.set(175, 34); }, _5t8._onMouseOut = function() { var _5ta = null; _5t8._canvas.scale.set(0.9), _5t8._level.position.set(165, 44); }, _5t8._onClick = function() { var _5tb = null; null != _5t8._cb_onClick && _5t8._cb_onClick(_5t8._candidate); }, _5t8._cb_onClick = _5t6, _5t8._canvas = new PIXI.Sprite(), _5t8._canvas.position.set(113, 147), _5t8.addChild(_5t8._canvas), _5t8._icon = new PIXI.Sprite(), _5t8.addChild(_5t8._icon), _5t8._level = new _5t0.LevelStarSmall(), _5t8.addChild(_5t8._level), _5t8._count = new _5t1.RewardSelectDialogCount(), _5t8._count.position.set(158, 192), _5t8.addChild(_5t8._count), _5t8._canvas.interactive = !0, _5t8._onMouseOut(), _5t8; } return _5sj(_5t5, _5t3), Object.defineProperty(_5t5.prototype, 'candidate', { 'get': function() { var _5tc = null; return this._candidate; }, 'enumerable': !1, 'configurable': !0 }), _5t5.prototype.initialize = function(_5td) { var _5te = null; this._candidate = _5td, this._initialize(), _5td.level > 0 && this._level.update(_5td.level), this._count.initialize(), _5td.count > 1 ? (this._count.update(_5td.count), this._count.visible = !0) : this._count.visible = !1; }, _5t5.prototype.activate = function() { var _5tf = null; 1 != this._canvas.buttonMode && (this._canvas.buttonMode = !0, this._canvas.on(_5sz.EventType.MOUSEOVER, this._onMouseOver), this._canvas.on(_5sz.EventType.MOUSEOUT, this._onMouseOut), this._canvas.on(_5sz.EventType.CLICK, this._onClick)); }, _5t5.prototype.deactivate = function() { var _5tg = null; this._canvas.buttonMode = !1, this._canvas.off(_5sz.EventType.MOUSEOVER, this._onMouseOver), this._canvas.off(_5sz.EventType.MOUSEOUT, this._onMouseOut), this._canvas.off(_5sz.EventType.CLICK, this._onClick); }, _5t5.prototype.dispose = function() { var _5th = null; this.deactivate(), this._candidate = null, this._cb_onClick = null; }, _5t5; }(PIXI.Container); _5sf.RewardSelectDialogBtnBase = _5t2; }, 58350: function(_5ti, _5tj, _5tk) { 'use strict'; var _5tl = null; var _5tm, _5tn = this && this.__extends || (_5tm = function(_5to, _5tp) { var _5tq = null; return _5tm = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_5tr, _5ts) { var _5tt = null; _5tr.__proto__ = _5ts; } || function(_5tu, _5tv) { var _5tw = null; for (var _5tx in _5tv) Object.prototype.hasOwnProperty.call(_5tv, _5tx) && (_5tu[_5tx] = _5tv[_5tx]); }, _5tm(_5to, _5tp); }, function(_5ty, _5tz) { var _5u0 = null; if ('function' != typeof _5tz && null !== _5tz) throw new TypeError('Class extends value ' + String(_5tz) + ' is not a constructor or null'); function _5u1() { var _5u2 = null; this.constructor = _5ty; } _5tm(_5ty, _5tz), _5ty.prototype = null === _5tz ? Object.create(_5tz) : (_5u1.prototype = _5tz.prototype, new _5u1()); }); defineModule(_5tj); Object.defineProperty(_5tj, '__esModule', { 'value': !0 }), _5tj.RewardSelectDialogCount = void 0; var _5u3 = _5tk(20406), _5u4 = function(_5u5) { var _5u6 = null; function _5u7() { var _5u8 = null, _5u9 = _5u5.call(this) || this; return _5u9._num00001 = new PIXI.Sprite(), _5u9._num00010 = new PIXI.Sprite(), _5u9._num00100 = new PIXI.Sprite(), _5u9._num01000 = new PIXI.Sprite(), _5u9._x = new PIXI.Sprite(), _5u9.addChild(_5u9._x), _5u9.addChild(_5u9._num00001), _5u9.addChild(_5u9._num00010), _5u9.addChild(_5u9._num00100), _5u9.addChild(_5u9._num01000), _5u9._num00001.visible = !1, _5u9._num00010.visible = !1, _5u9._num00100.visible = !1, _5u9._num01000.visible = !1, _5u9; } return _5tn(_5u7, _5u5), _5u7.prototype.initialize = function() { var _5ua = null; this.texture = _5u3.COMMON_REWARD_COUNT.getTexture(0), this._x.texture = _5u3.COMMON_REWARD_COUNT.getTexture(30); }, _5u7.prototype.update = function(_5ub) { var _5uc = null; if (this._num00001.visible = !1, this._num00010.visible = !1, this._num00100.visible = !1, this._num01000.visible = !1, !(_5ub < 1 || isNaN(_5ub))) { var _5ud = Math.floor(Math.log(_5ub) * Math.LOG10E) + 1, _5ue = this._getDigits(_5ub); if (1 == _5ud && (this._num00001.position.set(29, 15), this._x.position.set(7, 22), this._num00001.texture = this._get1DigitTexture(_5ue[0]), this._num00001.visible = !0), 2 == _5ud) { var _5uf = -15; this._num00001.position.set(38, 19), this._num00010.position.set(38 + _5uf, 19), this._num00001.texture = this._get2To3DigitTexture(_5ue[1]), this._num00010.texture = this._get2To3DigitTexture(_5ue[0]), this._num00001.visible = !0, this._num00010.visible = !0, this._x.position.set(7, 22); } if (3 == _5ud) { _5uf = -15; var _5ug = -30; this._num00001.position.set(40, 19), this._num00010.position.set(40 + _5uf, 19), this._num00100.position.set(40 + _5ug, 19), this._num00001.texture = this._get2To3DigitTexture(_5ue[2]), this._num00010.texture = this._get2To3DigitTexture(_5ue[1]), this._num00100.texture = this._get2To3DigitTexture(_5ue[0]), this._num00001.visible = !0, this._num00010.visible = !0, this._num00100.visible = !0, this._x.position.set(-7, 22); } 4 == _5ud && (_5uf = -13, _5ug = -26, (this._x.position.set(7, 22), this._num00001.position.set(44, 19), this._num00010.position.set(44 + _5uf, 19), this._num00100.position.set(44 + _5ug, 19), this._num01000.position.set(5, 19), this._num00001.texture = this._get4DigitTexture(_5ue[3]), this._num00010.texture = this._get4DigitTexture(_5ue[2]), this._num00100.texture = this._get4DigitTexture(_5ue[1]), this._num01000.texture = this._get4DigitTexture(_5ue[0]), this._num00001.visible = !0, this._num00010.visible = !0, this._num00100.visible = !0, this._num01000.visible = !0, this._x.position.set(-11, 22))); } }, _5u7.prototype._getDigits = function(_5uh) { var _5ui = null; for (var _5uj = Math.abs(_5uh).toString(), _5uk = [], _5ul = 0; _5ul < _5uj.length; _5ul++) { var _5um = parseInt(_5uj.charAt(_5ul), 10); _5uk.push(_5um); } return _5uk; }, _5u7.prototype._get1DigitTexture = function(_5un) { var _5uo = null; if (_5un < 1) return PIXI.Texture.EMPTY; return _5u3.COMMON_REWARD_COUNT.getTexture([-1, 1, 2, 3, 4, 5, 6, 7, 8, 9][_5un]); }, _5u7.prototype._get2To3DigitTexture = function(_5up) { var _5uq = null; return _5u3.COMMON_REWARD_COUNT.getTexture([10, 11, 12, 13, 14, 15, 16, 17, 18, 19][_5up]); }, _5u7.prototype._get4DigitTexture = function(_5ur) { var _5us = null; return _5u3.COMMON_REWARD_COUNT.getTexture([20, 21, 22, 23, 24, 25, 26, 27, 28, 29][_5ur]); }, _5u7; }(PIXI.Sprite); _5tj.RewardSelectDialogCount = _5u4; }, 83827: function(_5ut, _5uu, _5uv) { 'use strict'; var _5uw = null; var _5ux, _5uy = this && this.__extends || (_5ux = function(_5uz, _5v0) { var _5v1 = null; return _5ux = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_5v2, _5v3) { var _5v4 = null; _5v2.__proto__ = _5v3; } || function(_5v5, _5v6) { var _5v7 = null; for (var _5v8 in _5v6) Object.prototype.hasOwnProperty.call(_5v6, _5v8) && (_5v5[_5v8] = _5v6[_5v8]); }, _5ux(_5uz, _5v0); }, function(_5v9, _5va) { var _5vb = null; if ('function' != typeof _5va && null !== _5va) throw new TypeError('Class extends value ' + String(_5va) + ' is not a constructor or null'); function _5vc() { var _5vd = null; this.constructor = _5v9; } _5ux(_5v9, _5va), _5v9.prototype = null === _5va ? Object.create(_5va) : (_5vc.prototype = _5va.prototype, new _5vc()); }); defineModule(_5uu); Object.defineProperty(_5uu, '__esModule', { 'value': !0 }), _5uu.RewardSelectDialogFurnitureAlert = void 0; var _5ve = _5uv(57210), _5vf = function(_5vg) { var _5vh = null; function _5vi() { var _5vj = null, _5vk = _5vg.call(this) || this; return _5vk.alpha = 0, _5vk.visible = !1, _5vk; } return _5uy(_5vi, _5vg), _5vi.prototype.initialize = function() { var _5vl = null; this.texture = _5ve.COMMON_SELECTABLE_REWARD.getTexture(12); }, _5vi.prototype.show = function() { var _5vm = null, _5vn = this; this.hide(), this.visible = !0, this._t = createjs.Tween.get(this).to({ 'alpha': 1 }, 300).wait(2000).to({ 'alpha': 0 }, 300).call(function() { var _5vo = null; _5vn.visible = !1; }); }, _5vi.prototype.hide = function() { var _5vp = null; this._stopTween(), this.alpha = 0, this.visible = !1; }, _5vi.prototype._stopTween = function() { var _5vq = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _5vi; }(PIXI.Sprite); _5uu.RewardSelectDialogFurnitureAlert = _5vf; }, 11353: function(_5vr, _5vs, _5vt) { 'use strict'; var _5vu = null; var _5vv, _5vw = this && this.__extends || (_5vv = function(_5vx, _5vy) { var _5vz = null; return _5vv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_5w0, _5w1) { var _5w2 = null; _5w0.__proto__ = _5w1; } || function(_5w3, _5w4) { var _5w5 = null; for (var _5w6 in _5w4) Object.prototype.hasOwnProperty.call(_5w4, _5w6) && (_5w3[_5w6] = _5w4[_5w6]); }, _5vv(_5vx, _5vy); }, function(_5w7, _5w8) { var _5w9 = null; if ('function' != typeof _5w8 && null !== _5w8) throw new TypeError('Class extends value ' + String(_5w8) + ' is not a constructor or null'); function _5wa() { var _5wb = null; this.constructor = _5w7; } _5vv(_5w7, _5w8), _5w7.prototype = null === _5w8 ? Object.create(_5w8) : (_5wa.prototype = _5w8.prototype, new _5wa()); }), _5wc = this && this.__importDefault || function(_5wd) { var _5we = null; return _5wd && _5wd.__esModule ? _5wd : { 'default': _5wd }; }; defineModule(_5vs); Object.defineProperty(_5vs, '__esModule', { 'value': !0 }), _5vs.RewardSelectDialogFurnitureBtn = void 0; var _5wf = _5wc(_5vt(18622)), _5wg = _5vt(57210), _5wh = function(_5wi) { var _5wj = null; function _5wk() { var _5wl = null; return null !== _5wi && _5wi.apply(this, arguments) || this; } return _5vw(_5wk, _5wi), _5wk.prototype._initialize = function() { var _5wm = null; this._icon.texture = _5wg.COMMON_SELECTABLE_REWARD.getTexture(4); var _5wn = 195, _5wo = new PIXI.Graphics(); _5wo.beginFill(6710886, 0), _5wo.drawRect(-97.5, -97.5, _5wn, _5wn), _5wo.endFill(), this._canvas.addChild(_5wo); var _5wp = this._candidate.mst_id, _5wq = _5wf.default.resources.getFurniture(_5wp, 'reward'), _5wr = new PIXI.Sprite(_5wq), _5ws = Math.min(_5wn / _5wr.width, _5wn / _5wr.height); _5wr.scale.set(_5ws), _5wr.position.set(-Math.round(_5wr.width / 2), -Math.round(_5wr.height / 2)), this._canvas.addChild(_5wr); }, _5wk; }(_5vt(17658).RewardSelectDialogBtnBase); _5vs.RewardSelectDialogFurnitureBtn = _5wh; }, 46091: function(_5wt, _5wu, _5wv) { 'use strict'; var _5ww = null; var _5wx, _5wy = this && this.__extends || (_5wx = function(_5wz, _5x0) { var _5x1 = null; return _5wx = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_5x2, _5x3) { var _5x4 = null; _5x2.__proto__ = _5x3; } || function(_5x5, _5x6) { var _5x7 = null; for (var _5x8 in _5x6) Object.prototype.hasOwnProperty.call(_5x6, _5x8) && (_5x5[_5x8] = _5x6[_5x8]); }, _5wx(_5wz, _5x0); }, function(_5x9, _5xa) { var _5xb = null; if ('function' != typeof _5xa && null !== _5xa) throw new TypeError('Class extends value ' + String(_5xa) + ' is not a constructor or null'); function _5xc() { var _5xd = null; this.constructor = _5x9; } _5wx(_5x9, _5xa), _5x9.prototype = null === _5xa ? Object.create(_5xa) : (_5xc.prototype = _5xa.prototype, new _5xc()); }), _5xe = this && this.__importDefault || function(_5xf) { var _5xg = null; return _5xf && _5xf.__esModule ? _5xf : { 'default': _5xf }; }; defineModule(_5wu); Object.defineProperty(_5wu, '__esModule', { 'value': !0 }), _5wu.RewardSelectDialogShipBtn = void 0; var _5xh = _5xe(_5wv(18622)), _5xi = function(_5xj) { var _5xk = null; function _5xl() { var _5xm = null, _5xn = null !== _5xj && _5xj.apply(this, arguments) || this; return _5xn._onMouseOver = function() { var _5xo = null; _5xn._canvas.scale.set(1.05); }, _5xn._onMouseOut = function() { var _5xp = null; _5xn._canvas.scale.set(1); }, _5xn; } return _5wy(_5xl, _5xj), _5xl.prototype.load = function(_5xq) { _5xq(); }, _5xl.prototype._initialize = function() { var _5xr = null; this._icon.visible = !1, (this._canvas.x = 101, this._canvas.y = 119, this._canvas.scale.set(1)); var _5xs = new PIXI.Graphics(); _5xs.beginFill(6710886, 0.1), _5xs.drawRoundedRect(-86, -119, 172, 238, 16), _5xs.endFill(), this._canvas.addChild(_5xs); var _5xt = this._candidate.mst_id, _5xu = _5xh.default.resources.getShip(_5xt, !1, 'reward_card'), _5xv = new PIXI.Sprite(_5xu); _5xv.position.set(-Math.round(_5xv.width / 2), -Math.round(_5xv.height / 2)), this._canvas.addChild(_5xv); }, _5xl; }(_5wv(17658).RewardSelectDialogBtnBase); _5wu.RewardSelectDialogShipBtn = _5xi; }, 38661: function(_5xw, _5xx, _5xy) { 'use strict'; var _5xz = null; var _5y0, _5y1 = this && this.__extends || (_5y0 = function(_5y2, _5y3) { var _5y4 = null; return _5y0 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_5y5, _5y6) { var _5y7 = null; _5y5.__proto__ = _5y6; } || function(_5y8, _5y9) { var _5ya = null; for (var _5yb in _5y9) Object.prototype.hasOwnProperty.call(_5y9, _5yb) && (_5y8[_5yb] = _5y9[_5yb]); }, _5y0(_5y2, _5y3); }, function(_5yc, _5yd) { var _5ye = null; if ('function' != typeof _5yd && null !== _5yd) throw new TypeError('Class extends value ' + String(_5yd) + ' is not a constructor or null'); function _5yf() { var _5yg = null; this.constructor = _5yc; } _5y0(_5yc, _5yd), _5yc.prototype = null === _5yd ? Object.create(_5yd) : (_5yf.prototype = _5yd.prototype, new _5yf()); }), _5yh = this && this.__importDefault || function(_5yi) { var _5yj = null; return _5yi && _5yi.__esModule ? _5yi : { 'default': _5yi }; }; defineModule(_5xx); Object.defineProperty(_5xx, '__esModule', { 'value': !0 }), _5xx.RewardSelectDialogShipBtnOld = void 0; var _5yk = _5yh(_5xy(18622)), _5yl = function(_5ym) { var _5yn = null; function _5yo() { var _5yp = null, _5yq = null !== _5ym && _5ym.apply(this, arguments) || this; return _5yq._onMouseOver = function() { var _5yr = null; _5yq._canvas.scale.set(1.05); }, _5yq._onMouseOut = function() { var _5ys = null; _5yq._canvas.scale.set(1); }, _5yq; } return _5y1(_5yo, _5ym), _5yo.prototype.load = function(_5yt) { _5yt(); }, _5yo.prototype._initialize = function() { var _5yu = null; this._icon.visible = !1, (this._canvas.x = 103, this._canvas.y = 121, this._canvas.scale.set(1)); var _5yv = new PIXI.Graphics(); _5yv.beginFill(6710886, 0.1), _5yv.drawRect(-88, -121, 176, 242), _5yv.endFill(), this._canvas.addChild(_5yv); var _5yw = this._candidate.mst_id, _5yx = _5yk.default.resources.getShip(_5yw, !1, 'card_round'), _5yy = new PIXI.Sprite(_5yx); _5yy.position.set(-Math.round(_5yy.width / 2), -Math.round(_5yy.height / 2)), this._canvas.addChild(_5yy); }, _5yo; }(_5xy(17658).RewardSelectDialogBtnBase); _5xx.RewardSelectDialogShipBtnOld = _5yl; }, 63476: function(_5yz, _5z0, _5z1) { 'use strict'; var _5z2 = null; var _5z3, _5z4 = this && this.__extends || (_5z3 = function(_5z5, _5z6) { var _5z7 = null; return _5z3 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_5z8, _5z9) { var _5za = null; _5z8.__proto__ = _5z9; } || function(_5zb, _5zc) { var _5zd = null; for (var _5ze in _5zc) Object.prototype.hasOwnProperty.call(_5zc, _5ze) && (_5zb[_5ze] = _5zc[_5ze]); }, _5z3(_5z5, _5z6); }, function(_5zf, _5zg) { var _5zh = null; if ('function' != typeof _5zg && null !== _5zg) throw new TypeError('Class extends value ' + String(_5zg) + ' is not a constructor or null'); function _5zi() { var _5zj = null; this.constructor = _5zf; } _5z3(_5zf, _5zg), _5zf.prototype = null === _5zg ? Object.create(_5zg) : (_5zi.prototype = _5zg.prototype, new _5zi()); }), _5zk = this && this.__importDefault || function(_5zl) { var _5zm = null; return _5zl && _5zl.__esModule ? _5zl : { 'default': _5zl }; }; defineModule(_5z0); Object.defineProperty(_5z0, '__esModule', { 'value': !0 }), _5z0.RewardSelectDialogSlotitemBtn = void 0; var _5zn = _5zk(_5z1(18622)), _5zo = _5z1(57210), _5zp = function(_5zq) { var _5zr = null; function _5zs() { var _5zt = null; return null !== _5zq && _5zq.apply(this, arguments) || this; } return _5z4(_5zs, _5zq), _5zs.prototype._initialize = function() { var _5zu = null; this._icon.texture = _5zo.COMMON_SELECTABLE_REWARD.getTexture(5); var _5zv = 195, _5zw = new PIXI.Graphics(); _5zw.beginFill(6710886, 0.1), _5zw.drawRect(-97.5, -97.5, _5zv, _5zv), _5zw.endFill(), this._canvas.addChild(_5zw); var _5zx = this._candidate.mst_id, _5zy = _5zn.default.resources.getSlotitem(_5zx, 'card'), _5zz = new PIXI.Sprite(_5zy), _600 = Math.min(_5zv / _5zz.width, _5zv / _5zz.height); _5zz.scale.set(_600), _5zz.position.set(-Math.round(_5zz.width / 2), -Math.round(_5zz.height / 2)), this._canvas.addChild(_5zz); }, _5zs; }(_5z1(17658).RewardSelectDialogBtnBase); _5z0.RewardSelectDialogSlotitemBtn = _5zp; }, 25556: function(_601, _602, _603) { 'use strict'; var _604 = null; var _605, _606 = this && this.__extends || (_605 = function(_607, _608) { var _609 = null; return _605 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_60a, _60b) { var _60c = null; _60a.__proto__ = _60b; } || function(_60d, _60e) { var _60f = null; for (var _60g in _60e) Object.prototype.hasOwnProperty.call(_60e, _60g) && (_60d[_60g] = _60e[_60g]); }, _605(_607, _608); }, function(_60h, _60i) { var _60j = null; if ('function' != typeof _60i && null !== _60i) throw new TypeError('Class extends value ' + String(_60i) + ' is not a constructor or null'); function _60k() { var _60l = null; this.constructor = _60h; } _605(_60h, _60i), _60h.prototype = null === _60i ? Object.create(_60i) : (_60k.prototype = _60i.prototype, new _60k()); }), _60m = this && this.__importDefault || function(_60n) { var _60o = null; return _60n && _60n.__esModule ? _60n : { 'default': _60n }; }; defineModule(_602); Object.defineProperty(_602, '__esModule', { 'value': !0 }), _602.RewardSelectDialogUseitemBtn = void 0; var _60p = _60m(_603(18622)), _60q = _603(57210), _60r = function(_60s) { var _60t = null; function _60u() { var _60v = null; return null !== _60s && _60s.apply(this, arguments) || this; } return _606(_60u, _60s), _60u.prototype._initialize = function() { var _60w = null; this._icon.texture = _60q.COMMON_SELECTABLE_REWARD.getTexture(6); var _60x = 195, _60y = new PIXI.Graphics(); _60y.beginFill(6710886, 0.1), _60y.drawRect(-97.5, -97.5, _60x, _60x), _60y.endFill(), this._canvas.addChild(_60y); var _60z = this._candidate.mst_id, _610 = _60p.default.resources.getUseitem(_60z, 1), _611 = new PIXI.Sprite(_610), _612 = Math.min(_60x / _611.width, _60x / _611.height); _611.scale.set(_612), _611.position.set(-Math.round(_611.width / 2), -Math.round(_611.height / 2)), this._canvas.addChild(_611); }, _60u; }(_603(17658).RewardSelectDialogBtnBase); _602.RewardSelectDialogUseitemBtn = _60r; }, 38024: function(_613, _614, _615) { 'use strict'; var _616 = null; var _617, _618 = this && this.__extends || (_617 = function(_619, _61a) { var _61b = null; return _617 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_61c, _61d) { var _61e = null; _61c.__proto__ = _61d; } || function(_61f, _61g) { var _61h = null; for (var _61i in _61g) Object.prototype.hasOwnProperty.call(_61g, _61i) && (_61f[_61i] = _61g[_61i]); }, _617(_619, _61a); }, function(_61j, _61k) { var _61l = null; if ('function' != typeof _61k && null !== _61k) throw new TypeError('Class extends value ' + String(_61k) + ' is not a constructor or null'); function _61m() { var _61n = null; this.constructor = _61j; } _617(_61j, _61k), _61j.prototype = null === _61k ? Object.create(_61k) : (_61m.prototype = _61k.prototype, new _61m()); }); defineModule(_614); Object.defineProperty(_614, '__esModule', { 'value': !0 }), _614.AirBaseModelEdit = _614.AirBaseModel = void 0; var _61o = _615(89939), _61p = (function() { var _61q = null; function _61r(_61s) { this._o = _61s; } return Object.defineProperty(_61r.prototype, 'area_id', { 'get': function() { var _61t = null; return _61o.ObjUtil.getNumber(this._o, 'api_area_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_61r.prototype, 'level', { 'get': function() { var _61u = null; return _61o.ObjUtil.getNumber(this._o, 'api_maintenance_level'); }, 'enumerable': !1, 'configurable': !0 }), _61r; }()); _614.AirBaseModel = _61p; var _61v = function(_61w) { var _61x = null; function _61y() { var _61z = null; return null !== _61w && _61w.apply(this, arguments) || this; } return _618(_61y, _61w), _61y.prototype.updateLevel = function(_620) { var _621 = null; this._o.api_maintenance_level = _620; }, _61y; }(_61p); _614.AirBaseModelEdit = _61v; }, 81823: function(_622, _623, _624) { 'use strict'; var _625 = null; var _626, _627 = this && this.__extends || (_626 = function(_628, _629) { var _62a = null; return _626 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_62b, _62c) { var _62d = null; _62b.__proto__ = _62c; } || function(_62e, _62f) { var _62g = null; for (var _62h in _62f) Object.prototype.hasOwnProperty.call(_62f, _62h) && (_62e[_62h] = _62f[_62h]); }, _626(_628, _629); }, function(_62i, _62j) { var _62k = null; if ('function' != typeof _62j && null !== _62j) throw new TypeError('Class extends value ' + String(_62j) + ' is not a constructor or null'); function _62l() { var _62m = null; this.constructor = _62i; } _626(_62i, _62j), _62i.prototype = null === _62j ? Object.create(_62j) : (_62l.prototype = _62j.prototype, new _62l()); }); defineModule(_623); Object.defineProperty(_623, '__esModule', { 'value': !0 }), _623.AirBaseModelHolderEdit = _623.AirBaseModelHolder = void 0; var _62n = _624(93955), _62o = _624(38024), _62p = (function() { var _62q = null; function _62r() { var _62s = null; this._dic = {}; } return _62r.prototype.getAirBase = function(_62t) { var _62u = null; return null == this._dic || null == this._dic[_62t] ? null : this._dic[_62t]; }, _62r.prototype.getAirBaseList = function() { var _62v = null, _62w = this; return null == this._dic ? null : Object.keys(this._dic).map(function(_62x) { var _62y = null; return _62w._dic[parseInt(_62x)]; }); }, _62r.prototype.getAirBaseEvent = function() { var _62z = null, _630 = this; if (null == this._dic) return null; var _631 = Object.keys(this._dic).map(function(_632) { var _633 = null; return _630._dic[parseInt(_632)]; }).filter(function(_634) { var _635 = null; return _634.area_id > _62n.AREA_ID_THRESHOLD; }); return null == _631 || 0 == _631.length ? null : _631[0]; }, _62r; }()); _623.AirBaseModelHolder = _62p; var _636 = function(_637) { var _638 = null; function _639() { var _63a = null; return null !== _637 && _637.apply(this, arguments) || this; } return _627(_639, _637), _639.prototype.setData = function(_63b) { var _63c = null; if (this._dic = {}, null != _63b) for (var _63d = 0, _63e = _63b; _63d < _63e.length; _63d++) { var _63f = _63e[_63d], _63g = new _62o.AirBaseModelEdit(_63f), _63h = _63g.area_id; null == this._dic[_63h] && (this._dic[_63h] = _63g); } }, _639.prototype.updateData = function(_63i, _63j) { var _63k = null, _63l = this._dic[_63i]; null != _63l && _63l.updateLevel(_63j); }, _639.prototype.addData = function(_63m) { var _63n = null; null == this._dic[_63m] && (this._dic[_63m] = new _62o.AirBaseModelEdit({ 'api_area_id': _63m, 'api_maintenance_level': 1 })); }, _639; }(_62p); _623.AirBaseModelHolderEdit = _636; }, 33024: function(_63o, _63p, _63q) { 'use strict'; var _63r = null; var _63s, _63t = this && this.__extends || (_63s = function(_63u, _63v) { var _63w = null; return _63s = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_63x, _63y) { var _63z = null; _63x.__proto__ = _63y; } || function(_640, _641) { var _642 = null; for (var _643 in _641) Object.prototype.hasOwnProperty.call(_641, _643) && (_640[_643] = _641[_643]); }, _63s(_63u, _63v); }, function(_644, _645) { var _646 = null; if ('function' != typeof _645 && null !== _645) throw new TypeError('Class extends value ' + String(_645) + ' is not a constructor or null'); function _647() { var _648 = null; this.constructor = _644; } _63s(_644, _645), _644.prototype = null === _645 ? Object.create(_645) : (_647.prototype = _645.prototype, new _647()); }); defineModule(_63p); Object.defineProperty(_63p, '__esModule', { 'value': !0 }), _63p.AirUnitModelEdit = _63p.AirUnitModel = void 0; var _649 = _63q(89939), _64a = _63q(2884), _64b = (function() { var _64c = null; function _64d(_64e) { var _64f = null; this.name_tmp = null, this._state_tmp = -1, this._o = _64e, this._squadrons = []; for (var _64g = 0, _64h = _649.ObjUtil.getObjectArray(_64e, 'api_plane_info'); _64g < _64h.length; _64g++) { var _64i = _64h[_64g], _64j = new _64a.AirUnitSquadronModelEdit(_64i); this._squadrons.push(_64j); } } return Object.defineProperty(_64d.prototype, 'area_id', { 'get': function() { var _64k = null; return _649.ObjUtil.getNumber(this._o, 'api_area_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_64d.prototype, 'id', { 'get': function() { var _64l = null; return _649.ObjUtil.getNumber(this._o, 'api_rid'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_64d.prototype, 'name_raw', { 'get': function() { var _64m = null; return _649.ObjUtil.getString(this._o, 'api_name'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_64d.prototype, 'name', { 'get': function() { var _64n = null; return null != this.name_tmp ? this.name_tmp : this.name_raw; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_64d.prototype, 'state_tmp', { 'get': function() { var _64o = null; return this._state_tmp; }, 'set': function(_64p) { var _64q = null; this._state_tmp = _64p; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_64d.prototype, 'state_raw', { 'get': function() { var _64r = null; return _649.ObjUtil.getNumber(this._o, 'api_action_kind'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_64d.prototype, 'airUnitState', { 'get': function() { var _64s = null; return -1 != this._state_tmp ? this._state_tmp : this.state_raw; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_64d.prototype, 'distance_base', { 'get': function() { var _64t = null, _64u = _649.ObjUtil.getObject(this._o, 'api_distance'); return _649.ObjUtil.getNumber(_64u, 'api_base'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_64d.prototype, 'distance_bonus', { 'get': function() { var _64v = null, _64w = _649.ObjUtil.getObject(this._o, 'api_distance'); return _649.ObjUtil.getNumber(_64w, 'api_bonus'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_64d.prototype, 'distance', { 'get': function() { var _64x = null; return this.distance_base + this.distance_bonus; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_64d.prototype, 'squadrons', { 'get': function() { var _64y = null; return this._squadrons; }, 'enumerable': !1, 'configurable': !0 }), _64d.prototype.updateStateFromTemporaryInfo = function() { var _64z = null; return -1 != this.state_tmp && (this.state_tmp != this.state_raw && (this._o.api_action_kind = this._state_tmp, this._state_tmp = -1, !0)); }, _64d.prototype.updateNameFromTemporaryInfo = function() { var _650 = null; return null != this.name_tmp && (this.name_tmp != this.name_raw && (this._o.api_name = this.name_tmp, this.name_tmp = null, !0)); }, _64d.prototype.hasActiveSquadron = function() { var _651 = null; if (null == this._squadrons) return !1; for (var _652 = 0, _653 = this._squadrons; _652 < _653.length; _652++) { var _654 = _653[_652]; if (1 == _654.state && !(_654.mem_id <= 0 || _654.count <= 0)) return !0; } return !1; }, _64d; }()); _63p.AirUnitModel = _64b; var _655 = function(_656) { var _657 = null; function _658() { var _659 = null; return null !== _656 && _656.apply(this, arguments) || this; } return _63t(_658, _656), _658.prototype.updateSquadronData = function(_65a, _65b) { var _65c = null, _65d = this._o.api_distance; if (_65b.api_base >= 0 && (_65d.api_base = _65b.api_base), _65d.api_bonus = _65b.api_bonus, null != _65a) { for (var _65e = 0, _65f = _65a; _65e < _65f.length; _65e++) for (var _65g = _65f[_65e], _65h = _649.ObjUtil.getNumber(_65g, 'api_squadron_id'), _65i = 0, _65j = this.squadrons; _65i < _65j.length; _65i++) { var _65k = _65j[_65i]; _65k.id == _65h && _65k.update(_65g); } } }, _658; }(_64b); _63p.AirUnitModelEdit = _655; }, 80354: function(_65l, _65m, _65n) { 'use strict'; var _65o = null; var _65p, _65q = this && this.__extends || (_65p = function(_65r, _65s) { var _65t = null; return _65p = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_65u, _65v) { var _65w = null; _65u.__proto__ = _65v; } || function(_65x, _65y) { var _65z = null; for (var _660 in _65y) Object.prototype.hasOwnProperty.call(_65y, _660) && (_65x[_660] = _65y[_660]); }, _65p(_65r, _65s); }, function(_661, _662) { var _663 = null; if ('function' != typeof _662 && null !== _662) throw new TypeError('Class extends value ' + String(_662) + ' is not a constructor or null'); function _664() { var _665 = null; this.constructor = _661; } _65p(_661, _662), _661.prototype = null === _662 ? Object.create(_662) : (_664.prototype = _662.prototype, new _664()); }), _666 = this && this.__importDefault || function(_667) { var _668 = null; return _667 && _667.__esModule ? _667 : { 'default': _667 }; }; defineModule(_65m); Object.defineProperty(_65m, '__esModule', { 'value': !0 }), _65m.AirUnitModelHolderEdit = _65m.AirUnitModelHolder = void 0; var _669 = _666(_65n(18622)), _66a = _65n(33024), _66b = (function() { var _66c = null; function _66d() { var _66e = null; this._dic = {}; } return _66d.prototype.getAirUnitList = function(_66f) { var _66g = null, _66h = this; return null == this._dic ? [] : void 0 === _66f ? Object.keys(this._dic).map(function(_66i) { var _66j = null; return _66h._dic[parseInt(_66i)]; }).reduce(function(_66k, _66l) { var _66m = null; return _66k.concat.apply(_66k, _66l); }) : null == this._dic[_66f] ? [] : this._dic[_66f]; }, _66d.prototype.getAirUnit = function(_66n, _66o) { var _66p = null, _66q = this.getAirUnitList(_66n); if (null == _66q) return null; for (var _66r = 0, _66s = _66q; _66r < _66s.length; _66r++) { var _66t = _66s[_66r]; if (_66t.id == _66o) return _66t; } return null; }, _66d.prototype.getReadyAirUnitList = function(_66u) { var _66v = null; for (var _66w = [], _66x = 0, _66y = this.getAirUnitList(_66u); _66x < _66y.length; _66x++) { var _66z = _66y[_66x]; 1 == _66z.airUnitState && (0 != _66z.hasActiveSquadron() && _66w.push(_66z)); } return _66w; }, _66d; }()); _65m.AirUnitModelHolder = _66b; var _670 = function(_671) { var _672 = null; function _673() { var _674 = null; return null !== _671 && _671.apply(this, arguments) || this; } return _65q(_673, _671), _673.prototype.setData = function(_675) { var _676 = null; if (this._dic = {}, null != _675) for (var _677 = 0, _678 = _675; _677 < _678.length; _677++) { var _679 = _678[_677], _67a = new _66a.AirUnitModelEdit(_679), _67b = _67a.area_id; null == this._dic[_67b] && (this._dic[_67b] = new Array()), this._dic[_67b].push(_67a); } }, _673.prototype.addData = function(_67c) { var _67d = null; if (null != this._dic) { var _67e = new _66a.AirUnitModelEdit(_67c), _67f = _67e.area_id; null == this._dic[_67f] && (this._dic[_67f] = new Array()), this._dic[_67f].push(_67e); } }, _673.prototype.updateData = function(_67g, _67h, _67i, _67j, _67k, _67l) { var _67m = null; void 0 === _67l && (_67l = !1); var _67n = this.getAirUnit(_67g, _67h), _67o = _67n.squadrons[_67i], _67p = _67o.state, _67q = _67o.mem_id; _67n.updateSquadronData(_67j, _67k); var _67r = _67n.squadrons[_67i]; if (1 == _67r.state && _669.default.model.slot.deleteUnsetData(_67r.mem_id), 1 == _67p && 0 == _67l) { for (var _67s = !1, _67t = 0, _67u = _67n.squadrons; _67t < _67u.length; _67t++) { var _67v = _67u[_67t]; if (1 == _67v.state && _67v.mem_id == _67q) { _67s = !0; break; } } 0 == _67s && _669.default.model.slot.addAirUnitRelocation(_67q); } }, _673; }(_66b); _65m.AirUnitModelHolderEdit = _670; }, 2884: function(_67w, _67x, _67y) { 'use strict'; var _67z = null; var _680, _681 = this && this.__extends || (_680 = function(_682, _683) { var _684 = null; return _680 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_685, _686) { var _687 = null; _685.__proto__ = _686; } || function(_688, _689) { var _68a = null; for (var _68b in _689) Object.prototype.hasOwnProperty.call(_689, _68b) && (_688[_68b] = _689[_68b]); }, _680(_682, _683); }, function(_68c, _68d) { var _68e = null; if ('function' != typeof _68d && null !== _68d) throw new TypeError('Class extends value ' + String(_68d) + ' is not a constructor or null'); function _68f() { var _68g = null; this.constructor = _68c; } _680(_68c, _68d), _68c.prototype = null === _68d ? Object.create(_68d) : (_68f.prototype = _68d.prototype, new _68f()); }), _68h = this && this.__importDefault || function(_68i) { var _68j = null; return _68i && _68i.__esModule ? _68i : { 'default': _68i }; }; defineModule(_67x); Object.defineProperty(_67x, '__esModule', { 'value': !0 }), _67x.AirUnitSquadronModelEdit = _67x.AirUnitSquadronModel = void 0; var _68k = _68h(_67y(18622)), _68l = _67y(89939), _68m = (function() { var _68n = null; function _68o(_68p) { var _68q = null; this._initialize(_68p); } return Object.defineProperty(_68o.prototype, 'id', { 'get': function() { var _68r = null; return _68l.ObjUtil.getNumber(this._o, 'api_squadron_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_68o.prototype, 'state', { 'get': function() { var _68s = null; return _68l.ObjUtil.getNumber(this._o, 'api_state'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_68o.prototype, 'mem_id', { 'get': function() { var _68t = null; return _68l.ObjUtil.getNumber(this._o, 'api_slotid'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_68o.prototype, 'count', { 'get': function() { var _68u = null; return _68l.ObjUtil.getNumber(this._o, 'api_count'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_68o.prototype, 'countMax', { 'get': function() { var _68v = null; return _68l.ObjUtil.getNumber(this._o, 'api_max_count'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_68o.prototype, 'fatigue', { 'get': function() { var _68w = null; return _68l.ObjUtil.getNumber(this._o, 'api_cond'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_68o.prototype, 'mst_id', { 'get': function() { var _68x = null; return null == this._model ? -1 : this._model.mstID; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_68o.prototype, 'skill_level', { 'get': function() { var _68y = null; return null == this._model ? 0 : this._model.skillLevel; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_68o.prototype, 'level', { 'get': function() { var _68z = null; return null == this._model ? 0 : this._model.level; }, 'enumerable': !1, 'configurable': !0 }), _68o.prototype.isRelocation = function() { var _690 = null; return _68k.default.model.slot.getAirUnitRelocation().indexOf(this.mem_id) >= 0; }, _68o.prototype._initialize = function(_691) { var _692 = null; this._o = _691, this._model = _68k.default.model.slot.get(this.mem_id); }, _68o; }()); _67x.AirUnitSquadronModel = _68m; var _693 = function(_694) { var _695 = null; function _696() { var _697 = null; return null !== _694 && _694.apply(this, arguments) || this; } return _681(_696, _694), _696.prototype.update = function(_698) { var _699 = null; this._initialize(_698); }, _696; }(_68m); _67x.AirUnitSquadronModelEdit = _693; }, 25642: (_69a, _69b) => { 'use strict'; var _69c = null; defineModule(_69b); Object.defineProperty(_69b, '__esModule', { 'value': !0 }), _69b.AllowedDeckTypeModel = void 0; var _69d = (function() { var _69e = null; function _69f() { var _69g = null; this.normal = 0, this.rengo = 0, this.yugeki = 0; } return _69f.prototype.init = function(_69h) { var _69i = null; this.normal = 0, this.rengo = 0, this.yugeki = 0, null != _69h && (_69h.length < 1 || (this.normal = _69h[0], _69h.length < 2 || (this.rengo = _69h[1], _69h.length < 3 || (this.yugeki = _69h[2])))); }, _69f; }()); _69b.AllowedDeckTypeModel = _69d; }, 27549: (_69j, _69k, _69l) => { 'use strict'; var _69m = null; defineModule(_69k); Object.defineProperty(_69k, '__esModule', { 'value': !0 }), _69k.BGMMstModel = void 0; var _69n = _69l(89939), _69o = (function() { var _69p = null; function _69q(_69r) { this._o = _69r; } return Object.defineProperty(_69q.prototype, 'mstID', { 'get': function() { var _69s = null; return _69n.ObjUtil.getNumber(this._o, 'api_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_69q.prototype, 'name', { 'get': function() { var _69t = null; return _69n.ObjUtil.getNumber(this._o, 'api_name'); }, 'enumerable': !1, 'configurable': !0 }), _69q; }()); _69k.BGMMstModel = _69o; }, 14654: function(_69u, _69v, _69w) { 'use strict'; var _69x = null; var _69y, _69z = this && this.__extends || (_69y = function(_6a0, _6a1) { var _6a2 = null; return _69y = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_6a3, _6a4) { var _6a5 = null; _6a3.__proto__ = _6a4; } || function(_6a6, _6a7) { var _6a8 = null; for (var _6a9 in _6a7) Object.prototype.hasOwnProperty.call(_6a7, _6a9) && (_6a6[_6a9] = _6a7[_6a9]); }, _69y(_6a0, _6a1); }, function(_6aa, _6ab) { var _6ac = null; if ('function' != typeof _6ab && null !== _6ab) throw new TypeError('Class extends value ' + String(_6ab) + ' is not a constructor or null'); function _6ad() { var _6ae = null; this.constructor = _6aa; } _69y(_6aa, _6ab), _6aa.prototype = null === _6ab ? Object.create(_6ab) : (_6ad.prototype = _6ab.prototype, new _6ad()); }); defineModule(_69v); Object.defineProperty(_69v, '__esModule', { 'value': !0 }), _69v.BGMMstModelHolderEdit = _69v.BGMMstModelHolder = void 0; var _6af = _69w(60737), _6ag = _69w(27549), _6ah = (function() { var _6ai = null; function _6aj() {} return _6aj.prototype.getMst = function(_6ak) { var _6al = null; return null == this._dic || 0 == this._dic.hasOwnProperty(_6ak.toString()) ? null : this._dic[_6ak]; }, _6aj.prototype.getMapBGM = function(_6am, _6an) { var _6ao = null, _6ap = this._getMapBGMData(_6am, _6an); return null == _6ap ? 0 : _6ap.mapBGMID; }, _6aj.prototype.getCombatBGM = function(_6aq, _6ar, _6as, _6at) { var _6au = null, _6av = this._getMapBGMData(_6aq, _6ar); return null == _6av ? _6as ? 2 : 1 : _6av.getBGM(_6as, _6at); }, _6aj.prototype.isSameBGM = function(_6aw, _6ax, _6ay) { var _6az = null, _6b0 = this._getMapBGMData(_6aw, _6ax); return null != _6b0 && _6b0.getDayBGM(_6ay) == _6b0.getNightBGM(_6ay); }, _6aj.prototype._getMapBGMData = function(_6b1, _6b2) { var _6b3 = null, _6b4 = _6b1.toString() + _6b2.toString(); return 1 == this._dic_battle.hasOwnProperty(_6b4) ? this._dic_battle[_6b4] : null; }, _6aj; }()); _69v.BGMMstModelHolder = _6ah; var _6b5 = function(_6b6) { var _6b7 = null; function _6b8() { var _6b9 = null; return null !== _6b6 && _6b6.apply(this, arguments) || this; } return _69z(_6b8, _6b6), _6b8.prototype.setMstBGMData = function(_6ba) { var _6bb = null; if (this._dic = {}, null != _6ba) for (var _6bc = 0; _6bc < _6ba.length; _6bc++) { var _6bd = new _6ag.BGMMstModel(_6ba[_6bc]), _6be = _6bd.mstID; _6be > 0 && (this._dic[_6be] = _6bd); } }, _6b8.prototype.setMapBGMData = function(_6bf) { var _6bg = null; if (this._dic_battle = {}, null != _6bf) for (var _6bh = 0; _6bh < _6bf.length; _6bh++) { var _6bi = _6bf[_6bh], _6bj = new _6af.BattleBGMMstModel(_6bi), _6bk = _6bj.mapID; if (_6bk > 0) { var _6bl = _6bk.toString(); this._dic_battle[_6bl] = _6bj; } } }, _6b8; }(_6ah); _69v.BGMMstModelHolderEdit = _6b5; }, 12383: function(_6bm, _6bn, _6bo) { 'use strict'; var _6bp = null; var _6bq, _6br = this && this.__extends || (_6bq = function(_6bs, _6bt) { var _6bu = null; return _6bq = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_6bv, _6bw) { var _6bx = null; _6bv.__proto__ = _6bw; } || function(_6by, _6bz) { var _6c0 = null; for (var _6c1 in _6bz) Object.prototype.hasOwnProperty.call(_6bz, _6c1) && (_6by[_6c1] = _6bz[_6c1]); }, _6bq(_6bs, _6bt); }, function(_6c2, _6c3) { var _6c4 = null; if ('function' != typeof _6c3 && null !== _6c3) throw new TypeError('Class extends value ' + String(_6c3) + ' is not a constructor or null'); function _6c5() { var _6c6 = null; this.constructor = _6c2; } _6bq(_6c2, _6c3), _6c2.prototype = null === _6c3 ? Object.create(_6c3) : (_6c5.prototype = _6c3.prototype, new _6c5()); }); defineModule(_6bn); Object.defineProperty(_6bn, '__esModule', { 'value': !0 }), _6bn.BasicModelEdit = _6bn.BasicModel = void 0; var _6c7 = _6bo(89939), _6c8 = _6bo(93955), _6c9 = (function() { var _6ca = null; function _6cb() { var _6cc = null; this._skinID = 101, this._flagship_pos_id_svr = 0, this._flagship_pos_id_cli = 0; } return Object.defineProperty(_6cb.prototype, 'member_id', { 'get': function() { var _6cd = null; return this._o.api_member_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6cb.prototype, 'firstFlag', { 'get': function() { var _6ce = null; return 1 != this._o.api_firstflag; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6cb.prototype, 'nickName', { 'get': function() { var _6cf = null; return _6c7.ObjUtil.getString(this._o, 'api_nickname'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6cb.prototype, 'level', { 'get': function() { var _6cg = null; return _6c7.ObjUtil.getNumber(this._o, 'api_level'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6cb.prototype, 'rank', { 'get': function() { var _6ch = null; return _6c7.ObjUtil.getNumber(this._o, 'api_rank'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6cb.prototype, 'rankName', { 'get': function() { var _6ci = null, _6cj = _6c8.RANK_NAME, _6ck = this.rank; return _6ck > 0 && _6ck < _6cj.length ? _6cj[_6ck] : _6cj[0]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6cb.prototype, 'port_bgm_id', { 'get': function() { var _6cl = null; return this._port_bgm_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6cb.prototype, 'medal_num', { 'get': function() { var _6cm = null; return _6c7.ObjUtil.getNumber(this._o, 'api_medals'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6cb.prototype, 'shipMax', { 'get': function() { var _6cn = null; return _6c7.ObjUtil.getNumber(this._o, 'api_max_chara'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6cb.prototype, 'slotMax', { 'get': function() { var _6co = null; return _6c7.ObjUtil.getNumber(this._o, 'api_max_slotitem') + 3; }, 'enumerable': !1, 'configurable': !0 }), _6cb.prototype.getTutorialProgress = function() { var _6cp = null; return _6c7.ObjUtil.getNumber(this._o, 'api_tutorial_progress'); }, _6cb.prototype.getPortFurnitureMstID = function(_6cq) { var _6cr = null; return this._o.api_furniture[_6cq]; }, _6cb.prototype.getDutyExecutableCount = function() { var _6cs = null; return this._duty_executable_count; }, _6cb.prototype.getCFlag = function(_6ct) { var _6cu = null, _6cv; return null == this._c_flags ? 0 : null !== (_6cv = this._c_flags[_6ct]) && void 0 !== _6cv ? _6cv : 0; }, _6cb.prototype.getCFlag2 = function() { var _6cw = null; return this._c_flag2; }, _6cb.prototype.getComment = function() { var _6cx = null; return _6c7.ObjUtil.getString(this._o, 'api_comment'); }, _6cb.prototype.isLargeBuild = function() { var _6cy = null; return 1 == _6c7.ObjUtil.getNumber(this._o, 'api_large_dock'); }, _6cb.prototype.getExtraSupplyExpedition = function() { var _6cz = null; return null != this._extra_supply && (!(this._extra_supply.length < 1) && 1 == this._extra_supply[0]); }, _6cb.prototype.getExtraSupplySortie = function() { var _6d0 = null; return null != this._extra_supply && (!(this._extra_supply.length < 2) && 1 == this._extra_supply[1]); }, _6cb.prototype.getFilterStatusOrganizeList = function() { var _6d1 = null; return this._filter_status_olist; }, _6cb.prototype.isJapaneseOrganizeList = function() { var _6d2 = null; return this._japanese_olist; }, _6cb.prototype.getDestroyShipSlotType = function() { var _6d3 = null; return this._destroy_ship_slot_type; }, _6cb.prototype.getUISkinID = function() { var _6d4 = null; return this._skinID; }, _6cb.prototype.getMFlag = function() { var _6d5 = null; return null == this._event_data || 0 == this._event_data.hasOwnProperty('api_m_flag') ? -1 : this._event_data.api_m_flag; }, _6cb.prototype.getMFlag2 = function() { var _6d6 = null; return null != this._event_data && (0 != this._event_data.hasOwnProperty('api_m_flag2') && 1 == this._event_data.api_m_flag2); }, _6cb.prototype.getCNum = function() { var _6d7 = null; return _6c7.ObjUtil.getNumber(this._event_data, 'api_c_num'); }, _6cb.prototype.getFlagShipPosIDSvr = function() { var _6d8 = null; return this._flagship_pos_id_svr; }, _6cb.prototype.getFlagShipPosIDCli = function() { var _6d9 = null; return this._flagship_pos_id_cli; }, _6cb; }()); _6bn.BasicModel = _6c9; var _6da = function(_6db) { var _6dc = null; function _6dd() { var _6de = null; return null !== _6db && _6db.apply(this, arguments) || this; } return _6br(_6dd, _6db), _6dd.prototype.setUserData = function(_6df) { this._o = _6df; }, _6dd.prototype.updateTutorialProgress = function(_6dg) { var _6dh = null; null != this._o && (this._o.api_tutorial_progress = _6dg); }, _6dd.prototype.updatePortFurnitureMstID = function(_6di, _6dj) { var _6dk = null; null != this._o && (this._o.api_furniture[_6di] = _6dj); }, _6dd.prototype.setPortBGMID = function(_6dl) { var _6dm = null; this._port_bgm_id = _6dl; }, _6dd.prototype.setDutyExcutableCount = function(_6dn) { var _6do = null; this._duty_executable_count = _6dn; }, _6dd.prototype.getCoinCount = function() { var _6dp = null; return _6c7.ObjUtil.getNumber(this._o, 'api_fcoin'); }, _6dd.prototype.setCoinCount = function(_6dq) { var _6dr = null; null != this._o && (this._o.api_fcoin = _6dq); }, _6dd.prototype.setExtraSupplyFlag = function(_6ds) { var _6dt = null; this._extra_supply = _6ds; }, _6dd.prototype.updateOrganizeListSetting = function(_6du, _6dv) { var _6dw = null; this._filter_status_olist = _6du, this._japanese_olist = _6dv; }, _6dd.prototype.setDestroyShipSlotType = function(_6dx) { var _6dy = null; this._destroy_ship_slot_type = _6dx; }, _6dd.prototype.setUISkinID = function(_6dz) { var _6e0 = null; this._skinID = _6dz; }, _6dd.prototype.setEventData = function(_6e1) { var _6e2 = null; this._event_data = _6e1; }, _6dd.prototype.setCFlags = function(_6e3) { var _6e4 = null; this._c_flags = _6e3; }, _6dd.prototype.setCFlag = function(_6e5, _6e6) { var _6e7 = null; this._c_flags[_6e5] = _6e6; }, _6dd.prototype.setCFlag2 = function(_6e8) { var _6e9 = null; this._c_flag2 = _6e8; }, _6dd.prototype.setFlagShipPosIDCli = function(_6ea) { var _6eb = null; this._flagship_pos_id_cli = _6ea; }, _6dd.prototype.setFlagShipPosIDSvr = function(_6ec) { var _6ed = null; this._flagship_pos_id_svr = _6ec; }, _6dd; }(_6c9); _6bn.BasicModelEdit = _6da; }, 60737: (_6ee, _6ef, _6eg) => { 'use strict'; var _6eh = null; defineModule(_6ef); Object.defineProperty(_6ef, '__esModule', { 'value': !0 }), _6ef.BattleBGMMstModel = void 0; var _6ei = _6eg(89939), _6ej = (function() { var _6ek = null; function _6el(_6em) { this._o = _6em; } return Object.defineProperty(_6el.prototype, 'mapID', { 'get': function() { var _6en = null; return _6ei.ObjUtil.getNumber(this._o, 'api_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6el.prototype, 'areaID', { 'get': function() { var _6eo = null; return _6ei.ObjUtil.getNumber(this._o, 'api_maparea_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6el.prototype, 'mapNo', { 'get': function() { var _6ep = null; return _6ei.ObjUtil.getNumber(this._o, 'api_no'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6el.prototype, 'mapBGMID', { 'get': function() { var _6eq = null; return _6ei.ObjUtil.getNumber(this._o, 'api_moving_bgm'); }, 'enumerable': !1, 'configurable': !0 }), _6el.prototype.getBGM = function(_6er, _6es) { var _6et = null, _6eu, _6ev = _6er ? 1 : 0; return null == (_6eu = 0 == _6es ? _6ei.ObjUtil.getNumArray(this._o, 'api_map_bgm') : _6ei.ObjUtil.getNumArray(this._o, 'api_boss_bgm')) || _6eu.length <= _6ev ? _6er ? 2 : 1 : _6eu[_6ev]; }, _6el.prototype.getDayBGM = function(_6ew) { var _6ex = null; return this.getBGM(!1, _6ew); }, _6el.prototype.getNightBGM = function(_6ey) { var _6ez = null; return this.getBGM(!0, _6ey); }, _6el; }()); _6ef.BattleBGMMstModel = _6ej; }, 80369: function(_6f0, _6f1) { 'use strict'; var _6f2 = null; var _6f3, _6f4 = this && this.__extends || (_6f3 = function(_6f5, _6f6) { var _6f7 = null; return _6f3 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_6f8, _6f9) { var _6fa = null; _6f8.__proto__ = _6f9; } || function(_6fb, _6fc) { var _6fd = null; for (var _6fe in _6fc) Object.prototype.hasOwnProperty.call(_6fc, _6fe) && (_6fb[_6fe] = _6fc[_6fe]); }, _6f3(_6f5, _6f6); }, function(_6ff, _6fg) { var _6fh = null; if ('function' != typeof _6fg && null !== _6fg) throw new TypeError('Class extends value ' + String(_6fg) + ' is not a constructor or null'); function _6fi() { var _6fj = null; this.constructor = _6ff; } _6f3(_6ff, _6fg), _6ff.prototype = null === _6fg ? Object.create(_6fg) : (_6fi.prototype = _6fg.prototype, new _6fi()); }); defineModule(_6f1); Object.defineProperty(_6f1, '__esModule', { 'value': !0 }), _6f1.DeckCombinedModelEdit = _6f1.DeckCombinedModel = void 0; var _6fk = (function() { var _6fl = null; function _6fm() { var _6fn = null; this._type = 0; } return Object.defineProperty(_6fm.prototype, 'type', { 'get': function() { var _6fo = null; return this._type; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6fm.prototype, 'deck_id_main', { 'get': function() { var _6fp = null; return 1 == this.isCombined() ? 1 : 0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6fm.prototype, 'deck_id_sub', { 'get': function() { var _6fq = null; return 1 == this.isCombined() ? 2 : 0; }, 'enumerable': !1, 'configurable': !0 }), _6fm.prototype.isCombined = function() { var _6fr = null; return 1 == this._type || 2 == this._type || 3 == this._type; }, _6fm; }()); _6f1.DeckCombinedModel = _6fk; var _6fs = function(_6ft) { var _6fu = null; function _6fv() { var _6fw = null; return _6ft.call(this) || this; } return _6f4(_6fv, _6ft), _6fv.prototype.__update__ = function(_6fx) { var _6fy = null; this._type = _6fx; }, _6fv; }(_6fk); _6f1.DeckCombinedModelEdit = _6fs; }, 38970: function(_6fz, _6g0) { 'use strict'; var _6g1 = null; var _6g2, _6g3 = this && this.__extends || (_6g2 = function(_6g4, _6g5) { var _6g6 = null; return _6g2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_6g7, _6g8) { var _6g9 = null; _6g7.__proto__ = _6g8; } || function(_6ga, _6gb) { var _6gc = null; for (var _6gd in _6gb) Object.prototype.hasOwnProperty.call(_6gb, _6gd) && (_6ga[_6gd] = _6gb[_6gd]); }, _6g2(_6g4, _6g5); }, function(_6ge, _6gf) { var _6gg = null; if ('function' != typeof _6gf && null !== _6gf) throw new TypeError('Class extends value ' + String(_6gf) + ' is not a constructor or null'); function _6gh() { var _6gi = null; this.constructor = _6ge; } _6g2(_6ge, _6gf), _6ge.prototype = null === _6gf ? Object.create(_6gf) : (_6gh.prototype = _6gf.prototype, new _6gh()); }); defineModule(_6g0); Object.defineProperty(_6g0, '__esModule', { 'value': !0 }), _6g0.DeckExpeditionModelEdit = _6g0.DeckExpeditionModel = void 0; var _6gj = (function() { var _6gk = null; function _6gl(_6gm) { this._a = _6gm; } return Object.defineProperty(_6gl.prototype, 'state', { 'get': function() { var _6gn = null; return null != this._a && this._a.length > 0 ? this._a[0] : 0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6gl.prototype, 'expedition_id', { 'get': function() { var _6go = null; return null != this._a && this._a.length > 1 ? this._a[1] : -1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6gl.prototype, 'complete_unixtime', { 'get': function() { var _6gp = null; return null != this._a && this._a.length > 2 ? this._a[2] : -1; }, 'enumerable': !1, 'configurable': !0 }), _6gl; }()); _6g0.DeckExpeditionModel = _6gj; var _6gq = function(_6gr) { var _6gs = null; function _6gt(_6gu) { var _6gv = null; return _6gr.call(this, _6gu) || this; } return _6g3(_6gt, _6gr), _6gt.prototype.__update__ = function(_6gw) { this._a = _6gw; }, _6gt.prototype.__update_state__ = function(_6gx) { var _6gy = null; for (null == this._a && (this._a = []); this._a.length <= 0;) this._a.push(0); this._a[0] = _6gx; }, _6gt.prototype.__update_id__ = function(_6gz) { var _6h0 = null; for (null == this._a && (this._a = []); this._a.length <= 1;) this._a.push(0); this._a[1] = _6gz; }, _6gt.prototype.__update_time__ = function(_6h1) { var _6h2 = null; for (null == this._a && (this._a = []); this._a.length <= 2;) this._a.push(0); this._a[2] = _6h1; }, _6gt; }(_6gj); _6g0.DeckExpeditionModelEdit = _6gq; }, 18452: function(_6h3, _6h4, _6h5) { 'use strict'; var _6h6 = null; var _6h7, _6h8 = this && this.__extends || (_6h7 = function(_6h9, _6ha) { var _6hb = null; return _6h7 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_6hc, _6hd) { var _6he = null; _6hc.__proto__ = _6hd; } || function(_6hf, _6hg) { var _6hh = null; for (var _6hi in _6hg) Object.prototype.hasOwnProperty.call(_6hg, _6hi) && (_6hf[_6hi] = _6hg[_6hi]); }, _6h7(_6h9, _6ha); }, function(_6hj, _6hk) { var _6hl = null; if ('function' != typeof _6hk && null !== _6hk) throw new TypeError('Class extends value ' + String(_6hk) + ' is not a constructor or null'); function _6hm() { var _6hn = null; this.constructor = _6hj; } _6h7(_6hj, _6hk), _6hj.prototype = null === _6hk ? Object.create(_6hk) : (_6hm.prototype = _6hk.prototype, new _6hm()); }), _6ho = this && this.__importDefault || function(_6hp) { var _6hq = null; return _6hp && _6hp.__esModule ? _6hp : { 'default': _6hp }; }; defineModule(_6h4); Object.defineProperty(_6h4, '__esModule', { 'value': !0 }), _6h4.DeckModelEdit = _6h4.DeckModel = void 0; var _6hr = _6ho(_6h5(18622)), _6hs = _6h5(89939), _6ht = _6h5(38970), _6hu = (function() { var _6hv = null; function _6hw(_6hx) { var _6hy = null; if (this._o = _6hx, this._expedition = null, null != this._o) { var _6hz = _6hs.ObjUtil.getNumArray(this._o, 'api_mission'), _6i0 = new _6ht.DeckExpeditionModelEdit(_6hz); _6i0.expedition_id > 0 && (this._expedition = _6i0); } } return Object.defineProperty(_6hw.prototype, 'mstID', { 'get': function() { var _6i1 = null; return _6hs.ObjUtil.getNumber(this._o, 'api_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6hw.prototype, 'name', { 'get': function() { var _6i2 = null; return _6hs.ObjUtil.getString(this._o, 'api_name'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6hw.prototype, 'nameID', { 'get': function() { var _6i3 = null; return _6hs.ObjUtil.getString(this._o, 'api_name_id'); }, 'enumerable': !1, 'configurable': !0 }), _6hw.prototype.__updateName__ = function(_6i4, _6i5) { var _6i6 = null; this._o.api_name = _6i4, this._o.api_name_id = _6i5; }, Object.defineProperty(_6hw.prototype, 'expedition', { 'get': function() { var _6i7 = null; return this._expedition; }, 'enumerable': !1, 'configurable': !0 }), _6hw.prototype.getCount = function() { var _6i8 = null; return this._getShipMemIDArray().filter(function(_6i9, _6ia, _6ib) { return _6i9 >= 0; }).length; }, _6hw.prototype.getShipMemID = function(_6ic) { var _6id = null, _6ie = this._getShipMemIDArray(); return null != _6ie && _6ie.length > _6ic ? _6ie[_6ic] : -1; }, _6hw.prototype.getShipMemIDList = function() { var _6if = null; return this._getShipMemIDArray().concat().filter(function(_6ig, _6ih, _6ii) { return _6ig > 0; }); }, _6hw.prototype.getShipModel = function(_6ij) { var _6ik = null, _6il = this.getShipMemID(_6ij); return _6il > 0 ? _6hr.default.model.ship.get(_6il) : null; }, _6hw.prototype.getShipList = function() { var _6im = null, _6in = [], _6io = this._getShipMemIDArray(); if (null == _6io) return _6in; for (var _6ip = 0; _6ip < _6io.length; _6ip++) { var _6iq = _6io[_6ip], _6ir = _6hr.default.model.ship.get(_6iq); _6in.push(_6ir); } return _6in; }, _6hw.prototype.getShipListAll = function() { var _6is = null, _6it = _6hr.default.model.deck.combined; if (0 == _6it.isCombined()) return this.getShipList(); if (_6it.deck_id_main != this.mstID && _6it.deck_id_sub != this.mstID) return this.getShipList(); for (var _6iu = [], _6iv = 0, _6iw = _6hr.default.model.deck.get(_6it.deck_id_main).getShipList(); _6iv < _6iw.length; _6iv++) { var _6ix = _6iw[_6iv]; _6iu.push(_6ix); } for (var _6iy = 0, _6iz = _6hr.default.model.deck.get(_6it.deck_id_sub).getShipList(); _6iy < _6iz.length; _6iy++) { _6ix = _6iz[_6iy], _6iu.push(_6ix); } return _6iu; }, _6hw.prototype.isInDeck = function(_6j0) { var _6j1 = null; return this._getShipMemIDArray().indexOf(_6j0); }, _6hw.prototype.getCombinedType = function() { var _6j2 = null; return this.isCombined_Main() || this.isCombined_Sub() ? _6hr.default.model.deck.combined.type : 0; }, _6hw.prototype.isCombined_Main = function() { var _6j3 = null; return _6hr.default.model.deck.combined.deck_id_main == this.mstID; }, _6hw.prototype.isCombined_Sub = function() { var _6j4 = null; return _6hr.default.model.deck.combined.deck_id_sub == this.mstID; }, _6hw.prototype.getSubDeckID = function() { var _6j5 = null; return 1 == this.isCombined_Main() ? _6hr.default.model.deck.combined.deck_id_sub : -1; }, _6hw.prototype.getSubDeckName = function() { var _6j6 = null; if (1 == this.isCombined_Main()) { var _6j7 = _6hr.default.model.deck.combined.deck_id_sub, _6j8 = _6hr.default.model.deck.get(_6j7); return null == _6j8 ? '' : _6j8.name; } return ''; }, _6hw.prototype._getShipMemIDArray = function() { var _6j9 = null; return _6hs.ObjUtil.getNumArray(this._o, 'api_ship'); }, _6hw; }()); _6h4.DeckModel = _6hu; var _6ja = function(_6jb) { var _6jc = null; function _6jd() { var _6je = null; return null !== _6jb && _6jb.apply(this, arguments) || this; } return _6h8(_6jd, _6jb), _6jd.prototype.updateName = function(_6jf, _6jg) { var _6jh = null; this.__updateName__(_6jf, _6jg); }, _6jd.prototype.__change__ = function(_6ji, _6jj, _6jk) { var _6jl = null; void 0 === _6jk && (_6jk = !1); var _6jm = this._getShipMemIDArray(), _6jn = _6hr.default.model.ship.get(_6jj), _6jo = _6hr.default.model.deck.isInDeck(_6jn.memID), _6jp = null; null != _6jo && (_6jp = _6hr.default.model.deck.get(_6jo[0])._getShipMemIDArray()); if (null != _6jo) { var _6jq = _6jm[_6ji]; _6jo[1], -1 == _6jq ? (_6jp.splice(_6jo[1], 1), _6jp.push(-1)) : _6jp[_6jo[1]] = _6jq; } _6jm[_6ji] = _6jn.memID; for (var _6jr = _6jm.filter(function(_6js) { return _6js > 0; }), _6jt = 0; _6jt < _6jm.length; _6jt++) _6jt >= _6jr.length ? _6jm[_6jt] = -1 : _6jm[_6jt] = _6jr[_6jt]; }, _6jd.prototype.__remove__ = function(_6ju, _6jv) { var _6jw = null; void 0 === _6jv && (_6jv = !1); var _6jx = this._getShipMemIDArray(), _6jy = _6jx.length; for (_6jx.splice(_6ju, 1); _6jx.length < _6jy;) _6jx.push(-1); }, _6jd.prototype.__removeAll__ = function(_6jz) { var _6k0 = null; void 0 === _6jz && (_6jz = !1); var _6k1 = this._getShipMemIDArray(); for (var _6k2 = 1; _6k2 < _6k1.length; _6k2++) _6k1[_6k2] = -1; }, _6jd; }(_6hu); _6h4.DeckModelEdit = _6ja; }, 91042: (_6k3, _6k4, _6k5) => { 'use strict'; var _6k6 = null; defineModule(_6k4); Object.defineProperty(_6k4, '__esModule', { 'value': !0 }), _6k4.DeckModelHolder = void 0; var _6k7 = _6k5(80369), _6k8 = _6k5(18452), _6k9 = _6k5(89939), _6ka = (function() { var _6kb = null; function _6kc() { var _6kd = null; this._exist3rdUnit = !1, this._combined = new _6k7.DeckCombinedModelEdit(); } return Object.defineProperty(_6kc.prototype, 'num', { 'get': function() { var _6ke = null, _6kf = 0; for (var _6kg in this._map) _6kf++; return _6kf; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6kc.prototype, 'combined', { 'get': function() { var _6kh = null; return this._combined; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6kc.prototype, 'exist3rdUnit', { 'get': function() { var _6ki = null; return this._exist3rdUnit; }, 'enumerable': !1, 'configurable': !0 }), _6kc.prototype.setData = function(_6kj) { var _6kk = null; if (this._map = {}, null != _6kj) for (var _6kl = 0; _6kl < _6kj.length; _6kl++) { var _6km = _6kj[_6kl], _6kn = _6k9.ObjUtil.getNumber(_6km, 'api_id'); if (_6kn > 0) { var _6ko = _6kn.toString(), _6kp = new _6k8.DeckModelEdit(_6km); this._map[_6ko] = _6kp, 3 === _6kn && (this._exist3rdUnit = _6km.api_ship.length >= 7); } } }, _6kc.prototype.updateData = function(_6kq) { var _6kr = null; if (null != this._map && null != _6kq) { var _6ks = new _6k8.DeckModelEdit(_6kq); if (!(_6ks.mstID <= 0)) { var _6kt = _6ks.mstID.toString(); 1 == this._map.hasOwnProperty(_6kt) && delete this._map[_6kt], this._map[_6kt] = _6ks; } } }, _6kc.prototype.get = function(_6ku) { var _6kv = null, _6kw = _6ku.toString(); return 1 == this._map.hasOwnProperty(_6kw) ? this._map[_6kw] : null; }, _6kc.prototype.getAll = function() { var _6kx = null, _6ky, _6kz = []; return null != (_6ky = this.get(1)) && _6kz.push(_6ky), null != (_6ky = this.get(2)) && _6kz.push(_6ky), null != (_6ky = this.get(3)) && _6kz.push(_6ky), null != (_6ky = this.get(4)) && _6kz.push(_6ky), _6kz; }, _6kc.prototype.getIDs = function() { var _6l0 = null; return this.getAll().map(function(_6l1, _6l2, _6l3) { var _6l4 = null; return _6l1.mstID; }); }, _6kc.prototype.isInDeck = function(_6l5) { var _6l6 = null; for (var _6l7 = 0, _6l8 = this.getAll(); _6l7 < _6l8.length; _6l7++) { var _6l9 = _6l8[_6l7], _6la = _6l9.isInDeck(_6l5); if (-1 != _6la) return [_6l9.mstID, _6la]; } return null; }, _6kc.prototype.isCombined = function() { var _6lb = null; return this._combined.isCombined(); }, _6kc; }()); _6k4.DeckModelHolder = _6ka; }, 64993: (_6lc, _6ld, _6le) => { 'use strict'; var _6lf = null; defineModule(_6ld); Object.defineProperty(_6ld, '__esModule', { 'value': !0 }), _6ld.EquipModel = void 0; var _6lg = _6le(89939), _6lh = (function() { var _6li = null; function _6lj(_6lk) { this._o = _6lk; } return Object.defineProperty(_6lj.prototype, 'ship_id', { 'get': function() { var _6ll = null; return _6lg.ObjUtil.getNumber(this._o, 'api_ship_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6lj.prototype, 'equip_type', { 'get': function() { var _6lm = null; return _6lg.ObjUtil.getNumArray(this._o, 'api_equip_type'); }, 'enumerable': !1, 'configurable': !0 }), _6lj; }()); _6ld.EquipModel = _6lh; }, 99410: function(_6ln, _6lo, _6lp) { 'use strict'; var _6lq = null; var _6lr = this && this.__importDefault || function(_6ls) { var _6lt = null; return _6ls && _6ls.__esModule ? _6ls : { 'default': _6ls }; }; defineModule(_6lo); Object.defineProperty(_6lo, '__esModule', { 'value': !0 }), _6lo.EquipModelHolder = void 0; var _6lu = _6lr(_6lp(18622)), _6lv = _6lp(64993), _6lw = (function() { var _6lx = null; function _6ly() { var _6lz = null; this.__map__ = {}; } return _6ly.prototype.__initData__ = function(_6m0) { var _6m1 = null; for (var _6m2 = 0; _6m2 < _6m0.length; _6m2++) { var _6m3 = _6m0[_6m2], _6m4 = new _6lv.EquipModel(_6m3), _6m5 = _6m4.ship_id.toString(); this.__map__[_6m5] = _6m4; } }, _6ly.prototype.get = function(_6m6) { var _6m7 = null, _6m8 = _6m6.toString(), _6m9 = this.__map__[_6m8]; if (_6m9) return _6m9; var _6ma = _6lu.default.model.ship.getMst(_6m6).shipTypeID, _6mb = _6lu.default.model.shipType.get(_6ma).getEquippableTypes(), _6mc = {}; return _6mc.api_ship_id = _6m6, _6mc.api_equip_type = _6mb, new _6lv.EquipModel(_6mc); }, _6ly; }()); _6lo.EquipModelHolder = _6lw; }, 65245: (_6md, _6me, _6mf) => { 'use strict'; var _6mg = null; defineModule(_6me); Object.defineProperty(_6me, '__esModule', { 'value': !0 }), _6me.EquipTypeMstModel = void 0; var _6mh = _6mf(89939), _6mi = (function() { var _6mj = null; function _6mk(_6ml) { this._o = _6ml; } return Object.defineProperty(_6mk.prototype, 'id', { 'get': function() { var _6mm = null; return _6mh.ObjUtil.getNumber(this._o, 'api_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6mk.prototype, 'name', { 'get': function() { var _6mn = null; return _6mh.ObjUtil.getString(this._o, 'api_name'); }, 'enumerable': !1, 'configurable': !0 }), _6mk.prototype.needsDisplayName = function() { var _6mo = null; return 1 == _6mh.ObjUtil.getNumber(this._o, 'api_show_flg'); }, _6mk; }()); _6me.EquipTypeMstModel = _6mi; }, 62182: function(_6mp, _6mq, _6mr) { 'use strict'; var _6ms = null; var _6mt, _6mu = this && this.__extends || (_6mt = function(_6mv, _6mw) { var _6mx = null; return _6mt = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_6my, _6mz) { var _6n0 = null; _6my.__proto__ = _6mz; } || function(_6n1, _6n2) { var _6n3 = null; for (var _6n4 in _6n2) Object.prototype.hasOwnProperty.call(_6n2, _6n4) && (_6n1[_6n4] = _6n2[_6n4]); }, _6mt(_6mv, _6mw); }, function(_6n5, _6n6) { var _6n7 = null; if ('function' != typeof _6n6 && null !== _6n6) throw new TypeError('Class extends value ' + String(_6n6) + ' is not a constructor or null'); function _6n8() { var _6n9 = null; this.constructor = _6n5; } _6mt(_6n5, _6n6), _6n5.prototype = null === _6n6 ? Object.create(_6n6) : (_6n8.prototype = _6n6.prototype, new _6n8()); }); defineModule(_6mq); Object.defineProperty(_6mq, '__esModule', { 'value': !0 }), _6mq.ExpeditionModelEdit = _6mq.ExpeditionModel = void 0; var _6na = _6mr(89939), _6nb = (function() { var _6nc = null; function _6nd(_6ne) { var _6nf = null; this._o = _6ne, this._state = -1; } return Object.defineProperty(_6nd.prototype, 'state', { 'get': function() { var _6ng = null; return this._state; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6nd.prototype, 'mstID', { 'get': function() { var _6nh = null; return _6na.ObjUtil.getNumber(this._o, 'api_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6nd.prototype, 'areaID', { 'get': function() { var _6ni = null; return _6na.ObjUtil.getNumber(this._o, 'api_maparea_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6nd.prototype, 'dispID', { 'get': function() { var _6nj = null; return _6na.ObjUtil.getString(this._o, 'api_disp_no'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6nd.prototype, 'reset_type', { 'get': function() { var _6nk = null; return _6na.ObjUtil.getNumber(this._o, 'api_reset_type'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6nd.prototype, 'damage_type', { 'get': function() { var _6nl = null; return _6na.ObjUtil.getNumber(this._o, 'api_damage_type'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6nd.prototype, 'name', { 'get': function() { var _6nm = null; return _6na.ObjUtil.getString(this._o, 'api_name'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6nd.prototype, 'difficulty', { 'get': function() { var _6nn = null; return _6na.ObjUtil.getNumber(this._o, 'api_difficulty'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6nd.prototype, 'detail', { 'get': function() { var _6no = null; return _6na.ObjUtil.getString(this._o, 'api_details'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6nd.prototype, 'time', { 'get': function() { var _6np = null; return _6na.ObjUtil.getNumber(this._o, 'api_time'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6nd.prototype, 'fuel', { 'get': function() { var _6nq = null; return _6na.ObjUtil.getNumber(this._o, 'api_use_fuel'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6nd.prototype, 'ammo', { 'get': function() { var _6nr = null; return _6na.ObjUtil.getNumber(this._o, 'api_use_bull'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6nd.prototype, 'item1_id', { 'get': function() { var _6ns = null, _6nt = _6na.ObjUtil.getNumArray(this._o, 'api_win_item1'); return null != _6nt && _6nt.length > 0 ? _6nt[0] : 0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6nd.prototype, 'item1_count', { 'get': function() { var _6nu = null, _6nv = _6na.ObjUtil.getNumArray(this._o, 'api_win_item1'); return null != _6nv && _6nv.length > 1 ? _6nv[1] : 0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6nd.prototype, 'item2_id', { 'get': function() { var _6nw = null, _6nx = _6na.ObjUtil.getNumArray(this._o, 'api_win_item2'); return null != _6nx && _6nx.length > 0 ? _6nx[0] : 0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6nd.prototype, 'item2_count', { 'get': function() { var _6ny = null, _6nz = _6na.ObjUtil.getNumArray(this._o, 'api_win_item2'); return null != _6nz && _6nz.length > 1 ? _6nz[1] : 0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6nd.prototype, 'win_mat_level', { 'get': function() { var _6o0 = null; return _6na.ObjUtil.getNumArray(this._o, 'api_win_mat_level'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6nd.prototype, 'sample_fleet', { 'get': function() { var _6o1 = null; return _6na.ObjUtil.getNumArray(this._o, 'api_sample_fleet'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6nd.prototype, 'required_num', { 'get': function() { var _6o2 = null; return _6na.ObjUtil.getNumber(this._o, 'api_deck_num'); }, 'enumerable': !1, 'configurable': !0 }), _6nd.prototype.isCancelable = function() { var _6o3 = null; return 1 == _6na.ObjUtil.getNumber(this._o, 'api_return_flag'); }, _6nd.prototype.isSupport = function() { var _6o4 = null; return [33, 34, 301, 302].indexOf(this.mstID) >= 0; }, _6nd; }()); _6mq.ExpeditionModel = _6nb; var _6o5 = function(_6o6) { var _6o7 = null; function _6o8(_6o9) { var _6oa = null; return _6o6.call(this, _6o9) || this; } return _6mu(_6o8, _6o6), _6o8.prototype.__setState__ = function(_6ob) { var _6oc = null; this._state = _6ob; }, _6o8; }(_6nb); _6mq.ExpeditionModelEdit = _6o5; }, 78791: function(_6od, _6oe, _6of) { 'use strict'; var _6og = null; var _6oh, _6oi = this && this.__extends || (_6oh = function(_6oj, _6ok) { var _6ol = null; return _6oh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_6om, _6on) { var _6oo = null; _6om.__proto__ = _6on; } || function(_6op, _6oq) { var _6or = null; for (var _6os in _6oq) Object.prototype.hasOwnProperty.call(_6oq, _6os) && (_6op[_6os] = _6oq[_6os]); }, _6oh(_6oj, _6ok); }, function(_6ot, _6ou) { var _6ov = null; if ('function' != typeof _6ou && null !== _6ou) throw new TypeError('Class extends value ' + String(_6ou) + ' is not a constructor or null'); function _6ow() { var _6ox = null; this.constructor = _6ot; } _6oh(_6ot, _6ou), _6ot.prototype = null === _6ou ? Object.create(_6ou) : (_6ow.prototype = _6ou.prototype, new _6ow()); }); defineModule(_6oe); Object.defineProperty(_6oe, '__esModule', { 'value': !0 }), _6oe.ExpeditionModelHolderEdit = _6oe.ExpeditionModelHolder = void 0; var _6oy = _6of(62182), _6oz = _6of(14921), _6p0 = (function() { var _6p1 = null; function _6p2() {} return _6p2.prototype.get = function(_6p3) { var _6p4 = null; return 1 == this._map.hasOwnProperty(_6p3.toString()) ? this._map[_6p3] : null; }, _6p2.prototype.getLimitTime = function(_6p5) { var _6p6 = null; if (1 === _6p5) return this._limit_time[0]; throw new Error(); }, _6p2.prototype.getInArea = function(_6p7, _6p8) { var _6p9 = null, _6pa = []; for (var _6pb in this._map) { var _6pc = this._map[_6pb]; _6pc.areaID == _6p7 && (1 == _6p8 && -1 == _6pc.state || _6pa.push(_6pc)); } return _6pa.sort(function(_6pd, _6pe) { var _6pf = null; return _6pd.mstID - _6pe.mstID; }), _6pa; }, _6p2.prototype.getserialID = function() { var _6pg = null; return this._serial_id; }, Object.defineProperty(_6p2.prototype, 'serial_id', { 'set': function(_6ph) { var _6pi = null; this._serial_id = _6ph; }, 'enumerable': !1, 'configurable': !0 }), _6p2; }()); _6oe.ExpeditionModelHolder = _6p0; var _6pj = function(_6pk) { var _6pl = null; function _6pm() { var _6pn = null; return null !== _6pk && _6pk.apply(this, arguments) || this; } return _6oi(_6pm, _6pk), _6pm.prototype.setMstData = function(_6po) { var _6pp = null; if (this._map = {}, null != _6po) for (var _6pq = 0; _6pq < _6po.length; _6pq++) { var _6pr = _6po[_6pq], _6ps = new _6oy.ExpeditionModelEdit(_6pr), _6pt = _6ps.mstID; if (_6pt > 0) { var _6pu = _6pt.toString(); this._map[_6pu] = _6ps; } } }, _6pm.prototype.setData = function(_6pv, _6pw) { var _6px = null; if (null != this._map && null != _6pv) { for (var _6py in this._map) { (_6pz = this.get(this._map[_6py].mstID)).__setState__(-1); } for (var _6q0 = 0, _6q1 = _6pv; _6q0 < _6q1.length; _6q0++) { var _6pz, _6q2 = _6q1[_6q0], _6q3 = _6oz.ObjUtil.getNumber(_6q2, 'api_mission_id'); if (_6q3 > 0) { if (null != (_6pz = this.get(_6q3))) { var _6q4 = _6oz.ObjUtil.getNumber(_6q2, 'api_state'); _6pz.__setState__(_6q4); } } } this._limit_time = _6pw; } }, _6pm; }(_6p0); _6oe.ExpeditionModelHolderEdit = _6pj; }, 48448: (_6q5, _6q6, _6q7) => { 'use strict'; var _6q8 = null; defineModule(_6q6); Object.defineProperty(_6q6, '__esModule', { 'value': !0 }), _6q6.ExpeditionResultModel = void 0; var _6q9 = _6q7(14921), _6qa = (function() { var _6qb = null; function _6qc() {} return Object.defineProperty(_6qc.prototype, 'expedition_id', { 'get': function() { var _6qd = null; return this._expedition_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6qc.prototype, 'expedition_name', { 'get': function() { var _6qe = null; return _6q9.ObjUtil.getString(this._o, 'api_quest_name'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6qc.prototype, 'result', { 'get': function() { var _6qf = null; return _6q9.ObjUtil.getNumber(this._o, 'api_clear_result'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6qc.prototype, 'total_exp', { 'get': function() { var _6qg = null; return _6q9.ObjUtil.getNumber(this._o, 'api_get_exp'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6qc.prototype, 'user_level', { 'get': function() { var _6qh = null; return _6q9.ObjUtil.getNumber(this._o, 'api_member_lv'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6qc.prototype, 'ship_mem_ids', { 'get': function() { var _6qi = null; return this._ship_mem_ids; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6qc.prototype, 'fuel', { 'get': function() { var _6qj = null; return _6q9.ObjUtil.getNumArray(this._o, 'api_get_material')[0]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6qc.prototype, 'ammo', { 'get': function() { var _6qk = null; return _6q9.ObjUtil.getNumArray(this._o, 'api_get_material')[1]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6qc.prototype, 'steel', { 'get': function() { var _6ql = null; return _6q9.ObjUtil.getNumArray(this._o, 'api_get_material')[2]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6qc.prototype, 'baux', { 'get': function() { var _6qm = null; return _6q9.ObjUtil.getNumArray(this._o, 'api_get_material')[3]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6qc.prototype, 'item1', { 'get': function() { var _6qn = null; return this._item1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6qc.prototype, 'item2', { 'get': function() { var _6qo = null; return this._item2; }, 'enumerable': !1, 'configurable': !0 }), _6qc.prototype.setData = function(_6qp, _6qq) { var _6qr = null; this._o = _6qp, (0 == this._o.hasOwnProperty('api_get_material') || -1 == this._o.api_get_material) && (this._o.api_get_material = [0, 0, 0, 0]); var _6qs = _6q9.ObjUtil.getNumArray(this._o, 'api_ship_id'); _6qs.length > 0 && -1 == _6qs[0] && (_6qs = _6qs.slice(1)), this._ship_mem_ids = _6qs; var _6qt = this._getItemFlags(); this._item1 = this._createItemModel(_6qt[0], _6q9.ObjUtil.getObject(this._o, 'api_get_item1')), this._item2 = this._createItemModel(_6qt[1], _6q9.ObjUtil.getObject(this._o, 'api_get_item2')); }, _6qc.prototype._getItemFlags = function() { var _6qu = null, _6qv = _6q9.ObjUtil.getNumArray(this._o, 'api_useitem_flag'); for (null == _6qv && (_6qv = []); _6qv.length < 2;) _6qv.push(0); return _6qv; }, _6qc.prototype._createItemModel = function(_6qw, _6qx) { var _6qy = null; if (null == _6qx) return null; var _6qz = _6q9.ObjUtil.getNumber(_6qx, 'api_useitem_id'), _6r0 = _6q9.ObjUtil.getNumber(_6qx, 'api_useitem_count'), _6r1 = _6q9.ObjUtil.getString(_6qx, 'api_useitem_name'); return _6r0 > 0 ? new _6r2(_6qw, _6qz, _6r0, _6r1) : void 0; }, _6qc; }()); _6q6.ExpeditionResultModel = _6qa; var _6r2 = (function() { var _6r3 = null; function _6r4(_6r5, _6r6, _6r7, _6r8) { var _6r9 = null; this._mstID = 0, this._name = '', 1 == _6r5 ? (this._mstID = 1, this._name = '高速修復材') : 2 == _6r5 ? (this._mstID = 2, this._name = '高速建造材') : 3 == _6r5 ? (this._mstID = 3, this._name = '開発資材') : 5 == _6r5 ? (this._mstID = 44, this._name = '家具コイン') : 4 == _6r5 && (this._mstID = _6r6, this._name = _6r8), this._count = _6r7; } return Object.defineProperty(_6r4.prototype, 'mstID', { 'get': function() { var _6ra = null; return this._mstID; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6r4.prototype, 'name', { 'get': function() { var _6rb = null; return this._name; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6r4.prototype, 'count', { 'get': function() { var _6rc = null; return this._count; }, 'enumerable': !1, 'configurable': !0 }), _6r4; }()); }, 85154: (_6rd, _6re) => { 'use strict'; var _6rf = null; defineModule(_6re); Object.defineProperty(_6re, '__esModule', { 'value': !0 }), _6re.FriendlyRequestModel = void 0; var _6rg = (function() { var _6rh = null; function _6ri() { var _6rj = null; this._flg = 1, this._type = 0, this._onUI = !1; } return Object.defineProperty(_6ri.prototype, 'flg', { 'get': function() { var _6rk = null; return this._flg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6ri.prototype, 'type', { 'get': function() { var _6rl = null; return this._type; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6ri.prototype, 'UI', { 'get': function() { var _6rm = null; return this._onUI; }, 'set': function(_6rn) { var _6ro = null; this._onUI = _6rn; }, 'enumerable': !1, 'configurable': !0 }), _6ri.prototype.setData = function(_6rp, _6rq) { var _6rr = null; this._flg = _6rp, this._type = _6rq; }, _6ri; }()); _6re.FriendlyRequestModel = _6rg; }, 52810: (_6rs, _6rt, _6ru) => { 'use strict'; var _6rv = null; defineModule(_6rt); Object.defineProperty(_6rt, '__esModule', { 'value': !0 }), _6rt.FurnitureGraphModel = void 0; var _6rw = _6ru(89939), _6rx = (function() { var _6ry = null; function _6rz(_6s0) { this._o = _6s0; } return Object.defineProperty(_6rz.prototype, 'mstID', { 'get': function() { var _6s1 = null; return _6rw.ObjUtil.getNumber(this._o, 'api_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6rz.prototype, 'typeID', { 'get': function() { var _6s2 = null; return _6rw.ObjUtil.getNumber(this._o, 'api_type'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6rz.prototype, 'numberID', { 'get': function() { var _6s3 = null; return _6rw.ObjUtil.getNumber(this._o, 'api_no'); }, 'enumerable': !1, 'configurable': !0 }), _6rz; }()); _6rt.FurnitureGraphModel = _6rx; }, 69585: (_6s4, _6s5, _6s6) => { 'use strict'; var _6s7 = null; defineModule(_6s5); Object.defineProperty(_6s5, '__esModule', { 'value': !0 }), _6s5.FurnitureGraphModelHolder = void 0; var _6s8 = _6s6(52810), _6s9 = (function() { var _6sa = null; function _6sb() {} return _6sb.prototype.setData = function(_6sc) { var _6sd = null; if (this._dic = {}, null != _6sc) for (var _6se = 0; _6se < _6sc.length; _6se++) { var _6sf = _6sc[_6se], _6sg = new _6s8.FurnitureGraphModel(_6sf), _6sh = _6sg.mstID; if (_6sh > 0) { var _6si = _6sh.toString(); this._dic[_6si] = _6sg; } } }, _6sb.prototype.isActive = function(_6sj) { var _6sk = null; return 1 == this._dic.hasOwnProperty(_6sj.toString()); }, _6sb.prototype.get = function(_6sl) { var _6sm = null; return 1 == this._dic.hasOwnProperty(_6sl.toString()) ? this._dic[_6sl.toString()] : null; }, _6sb; }()); _6s5.FurnitureGraphModelHolder = _6s9; }, 10670: (_6sn, _6so) => { 'use strict'; var _6sp = null; defineModule(_6so); Object.defineProperty(_6so, '__esModule', { 'value': !0 }), _6so.FurnitureJukeBoxBGMLineModel = void 0; var _6sq = (function() { var _6sr = null; function _6ss() { var _6st = null; this._isLoaded = !1; } return Object.defineProperty(_6ss.prototype, 'isLoaded', { 'get': function() { var _6su = null; return this._isLoaded; }, 'set': function(_6sv) { var _6sw = null; this._isLoaded = _6sv; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6ss.prototype, 'api_id', { 'get': function() { var _6sx = null; return this._api_id; }, 'set': function(_6sy) { var _6sz = null; this._api_id = _6sy; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6ss.prototype, 'api_name', { 'get': function() { var _6t0 = null; return this._api_name; }, 'set': function(_6t1) { var _6t2 = null; this._api_name = _6t1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6ss.prototype, 'api_description', { 'get': function() { var _6t3 = null; return this._api_description; }, 'set': function(_6t4) { var _6t5 = null; this._api_description = _6t4; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6ss.prototype, 'api_bgm_id', { 'get': function() { var _6t6 = null; return this._api_bgm_id; }, 'set': function(_6t7) { var _6t8 = null; this._api_bgm_id = _6t7; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6ss.prototype, 'api_use_coin', { 'get': function() { var _6t9 = null; return this._api_use_coin; }, 'set': function(_6ta) { var _6tb = null; this._api_use_coin = _6ta; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6ss.prototype, 'api_bgm_flag', { 'get': function() { var _6tc = null; return this._api_bgm_flag; }, 'set': function(_6td) { var _6te = null; this._api_bgm_flag = _6td; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6ss.prototype, 'api_loops', { 'get': function() { var _6tf = null; return this._api_loops; }, 'set': function(_6tg) { var _6th = null; this._api_loops = _6tg; }, 'enumerable': !1, 'configurable': !0 }), _6ss; }()); _6so.FurnitureJukeBoxBGMLineModel = _6sq; }, 88885: (_6ti, _6tj, _6tk) => { 'use strict'; var _6tl = null; defineModule(_6tj); Object.defineProperty(_6tj, '__esModule', { 'value': !0 }), _6tj.FurnitureJukeBoxBGMModel = void 0; var _6tm = _6tk(89939), _6tn = _6tk(10670), _6to = (function() { var _6tp = null; function _6tq() {} return Object.defineProperty(_6tq.prototype, 'list', { 'get': function() { var _6tr = null; return this._list; }, 'enumerable': !1, 'configurable': !0 }), _6tq.prototype.SetAll = function(_6ts) { var _6tt = null, _6tu = Object.keys(_6ts).map(function(_6tv) { return _6ts[_6tv]; }); this._list = new Array(_6tu.length); for (var _6tw = 0; _6tw < _6tu.length; _6tw++) this._list[_6tw] = new _6tn.FurnitureJukeBoxBGMLineModel(), this._list[_6tw].api_id = _6tm.ObjUtil.getNumber(_6tu[_6tw], 'api_id'), this._list[_6tw].api_name = _6tm.ObjUtil.getString(_6tu[_6tw], 'api_name'), this._list[_6tw].api_description = _6tm.ObjUtil.getString(_6tu[_6tw], 'api_description'), this._list[_6tw].api_bgm_id = _6tm.ObjUtil.getNumber(_6tu[_6tw], 'api_bgm_id'), this._list[_6tw].api_use_coin = _6tm.ObjUtil.getNumber(_6tu[_6tw], 'api_use_coin'), this._list[_6tw].api_bgm_flag = _6tm.ObjUtil.getNumber(_6tu[_6tw], 'api_bgm_flag'), this._list[_6tw].api_loops = _6tm.ObjUtil.getNumber(_6tu[_6tw], 'api_loops'), this._list[_6tw].isLoaded = !0; }, _6tq; }()); _6tj.FurnitureJukeBoxBGMModel = _6to; }, 52306: function(_6tx, _6ty, _6tz) { 'use strict'; var _6u0 = null; var _6u1, _6u2 = this && this.__extends || (_6u1 = function(_6u3, _6u4) { var _6u5 = null; return _6u1 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_6u6, _6u7) { var _6u8 = null; _6u6.__proto__ = _6u7; } || function(_6u9, _6ua) { var _6ub = null; for (var _6uc in _6ua) Object.prototype.hasOwnProperty.call(_6ua, _6uc) && (_6u9[_6uc] = _6ua[_6uc]); }, _6u1(_6u3, _6u4); }, function(_6ud, _6ue) { var _6uf = null; if ('function' != typeof _6ue && null !== _6ue) throw new TypeError('Class extends value ' + String(_6ue) + ' is not a constructor or null'); function _6ug() { var _6uh = null; this.constructor = _6ud; } _6u1(_6ud, _6ue), _6ud.prototype = null === _6ue ? Object.create(_6ue) : (_6ug.prototype = _6ue.prototype, new _6ug()); }); defineModule(_6ty); Object.defineProperty(_6ty, '__esModule', { 'value': !0 }), _6ty.FurnitureModelEdit = _6ty.FurnitureModel = void 0; var _6ui = _6tz(89939), _6uj = (function() { var _6uk = null; function _6ul(_6um) { var _6un = null; this._hasFlag = !1, this._o = _6um; } return Object.defineProperty(_6ul.prototype, 'mstID', { 'get': function() { var _6uo = null; return this._o.api_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6ul.prototype, 'no', { 'get': function() { var _6up = null; return this._o.api_no; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6ul.prototype, 'type', { 'get': function() { var _6uq = null; return this._o.api_type; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6ul.prototype, 'name', { 'get': function() { var _6ur = null; return this._o.api_title; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6ul.prototype, 'outside', { 'get': function() { var _6us = null; return this._o.hasOwnProperty('api_outside_id') ? this._o.api_outside_id : 4; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6ul.prototype, 'description', { 'get': function() { var _6ut = null; return this._o.api_description; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6ul.prototype, 'price', { 'get': function() { var _6uu = null; return _6ui.ObjUtil.getNumber(this._o, 'api_price'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6ul.prototype, 'rarity', { 'get': function() { var _6uv = null; return _6ui.ObjUtil.getNumber(this._o, 'api_rarity'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6ul.prototype, 'seasonID', { 'get': function() { var _6uw = null; return _6ui.ObjUtil.getNumber(this._o, 'api_season'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6ul.prototype, 'version', { 'get': function() { var _6ux = null; return _6ui.ObjUtil.getString(this._o, 'api_version', '1'); }, 'enumerable': !1, 'configurable': !0 }), _6ul.prototype.has = function() { var _6uy = null; return this._hasFlag; }, _6ul.prototype.isOnSale = function() { var _6uz = null; return 1 == _6ui.ObjUtil.getNumber(this._o, 'api_saleflg'); }, _6ul.prototype.isNeedCraftsman = function() { var _6v0 = null; return this.price >= 2000 && this.price < 20000; }, _6ul.prototype.isHighGrade = function() { var _6v1 = null; return this.price >= 100000; }, _6ul.prototype.isActive = function() { var _6v2 = null; return 1 == this._o.api_active_flag; }, _6ul.prototype.getDiscountPrice = function() { var _6v3 = null; if (0 == this.isHighGrade()) return this.price; var _6v4 = 0.1 * (this.price - 100000); return _6v4 = Math.max(_6v4, 0), Math.floor(_6v4); }, Object.defineProperty(_6ul.prototype, 'getVersion', { 'get': function() { var _6v5 = null; return this._o.api_version; }, 'enumerable': !1, 'configurable': !0 }), _6ul; }()); _6ty.FurnitureModel = _6uj; var _6v6 = function(_6v7) { var _6v8 = null; function _6v9() { var _6va = null; return null !== _6v7 && _6v7.apply(this, arguments) || this; } return _6u2(_6v9, _6v7), _6v9.prototype.updateHasFlag = function(_6vb) { var _6vc = null; this._hasFlag = _6vb; }, _6v9; }(_6uj); _6ty.FurnitureModelEdit = _6v6; }, 20590: function(_6vd, _6ve, _6vf) { 'use strict'; var _6vg = null; var _6vh, _6vi = this && this.__extends || (_6vh = function(_6vj, _6vk) { var _6vl = null; return _6vh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_6vm, _6vn) { var _6vo = null; _6vm.__proto__ = _6vn; } || function(_6vp, _6vq) { var _6vr = null; for (var _6vs in _6vq) Object.prototype.hasOwnProperty.call(_6vq, _6vs) && (_6vp[_6vs] = _6vq[_6vs]); }, _6vh(_6vj, _6vk); }, function(_6vt, _6vu) { var _6vv = null; if ('function' != typeof _6vu && null !== _6vu) throw new TypeError('Class extends value ' + String(_6vu) + ' is not a constructor or null'); function _6vw() { var _6vx = null; this.constructor = _6vt; } _6vh(_6vt, _6vu), _6vt.prototype = null === _6vu ? Object.create(_6vu) : (_6vw.prototype = _6vu.prototype, new _6vw()); }); defineModule(_6ve); Object.defineProperty(_6ve, '__esModule', { 'value': !0 }), _6ve.FurnitureModelHolderEdit = _6ve.FurnitureModelHolder = void 0; var _6vy = _6vf(52306), _6vz = _6vf(89939), _6w0 = (function() { var _6w1 = null; function _6w2() {} return _6w2.prototype.getData = function(_6w3) { var _6w4 = null, _6w5 = _6w3.toString(); return 1 == this._map.hasOwnProperty(_6w5) ? this._map[_6w5] : null; }, _6w2.prototype.getOwnList = function(_6w6) { var _6w7 = null, _6w8 = []; for (var _6w9 in this._map) { var _6wa = this._map[_6w9]; _6wa.type == _6w6 && 1 == _6wa.has() && _6w8.push(_6wa); } return _6w8; }, _6w2.prototype.getOnSaleList = function(_6wb) { var _6wc = null, _6wd = []; for (var _6we in this._map) { var _6wf = this._map[_6we]; _6wf.type == _6wb && 1 == _6wf.isOnSale() && _6wd.push(_6wf); } return _6wd.sort(function(_6wg, _6wh) { return _6wg.no > _6wh.no ? 1 : _6wg.no < _6wh.no ? -1 : 0; }), _6wd; }, _6w2.prototype.isActive = function(_6wi) { var _6wj = null, _6wk = this.getData(_6wi); return null != _6wk && _6wk.isActive(); }, _6w2; }()); _6ve.FurnitureModelHolder = _6w0; var _6wl = function(_6wm) { var _6wn = null; function _6wo() { var _6wp = null; return _6wm.call(this) || this; } return _6vi(_6wo, _6wm), _6wo.prototype.setMstData = function(_6wq) { var _6wr = null; if (this._map = {}, null != _6wq) for (var _6ws = 0; _6ws < _6wq.length; _6ws++) { var _6wt = _6wq[_6ws], _6wu = new _6vy.FurnitureModelEdit(_6wt), _6wv = _6wu.mstID; this._map[_6wv] = _6wu; } }, _6wo.prototype.setMemData = function(_6ww) { var _6wx = null; if (null != this._map) for (var _6wy = 0, _6wz = _6ww; _6wy < _6wz.length; _6wy++) { var _6x0 = _6wz[_6wy], _6x1 = _6vz.ObjUtil.getNumber(_6x0, 'api_id'), _6x2 = this.getData(_6x1); null != _6x2 && _6x2.updateHasFlag(!0); } }, _6wo; }(_6w0); _6ve.FurnitureModelHolderEdit = _6wl; }, 21409: (_6x3, _6x4, _6x5) => { 'use strict'; var _6x6 = null; defineModule(_6x4); Object.defineProperty(_6x4, '__esModule', { 'value': !0 }), _6x4.GaugeModel = void 0; var _6x7 = _6x5(89939), _6x8 = (function() { var _6x9 = null; function _6xa(_6xb, _6xc, _6xd) { var _6xe = null; void 0 === _6xc && (_6xc = 219), void 0 === _6xd && (_6xd = 14), this._barW_default = 219, this._barH_default = 14, this._o = _6xb, this._barW_default = _6xc, this._barH_default = _6xd; } return Object.defineProperty(_6xa.prototype, 'x', { 'get': function() { var _6xf = null; return _6x7.ObjUtil.getNumber(this._o, 'x'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6xa.prototype, 'y', { 'get': function() { var _6xg = null; return _6x7.ObjUtil.getNumber(this._o, 'y'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6xa.prototype, 'image_path', { 'get': function() { var _6xh = null; return _6x7.ObjUtil.getString(this._o, 'img'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6xa.prototype, 'image_light_path', { 'get': function() { var _6xi = null, _6xj = _6x7.ObjUtil.getString(this._o, 'img_l'); return null == _6xj || '' == _6xj ? this.image_path + '_light' : _6xj; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6xa.prototype, 'lightX', { 'get': function() { var _6xk = null, _6xl = _6x7.ObjUtil.getString(this._o, 'light'); return null == _6xl ? 0 : _6x7.ObjUtil.getNumber(_6xl, 'x'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6xa.prototype, 'lightY', { 'get': function() { var _6xm = null, _6xn = _6x7.ObjUtil.getString(this._o, 'light'); return null == _6xn ? 0 : _6x7.ObjUtil.getNumber(_6xn, 'y'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6xa.prototype, 'barX', { 'get': function() { var _6xo = null, _6xp = _6x7.ObjUtil.getString(this._o, 'bar'); return null == _6xp ? 0 : _6x7.ObjUtil.getNumber(_6xp, 'x'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6xa.prototype, 'barY', { 'get': function() { var _6xq = null, _6xr = _6x7.ObjUtil.getString(this._o, 'bar'); return null == _6xr ? 0 : _6x7.ObjUtil.getNumber(_6xr, 'y'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6xa.prototype, 'barW', { 'get': function() { var _6xs = null, _6xt = _6x7.ObjUtil.getString(this._o, 'bar'); return null == _6xt ? this._barW_default : _6x7.ObjUtil.getNumber(_6xt, 'w', this._barW_default); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6xa.prototype, 'barH', { 'get': function() { var _6xu = null, _6xv = _6x7.ObjUtil.getString(this._o, 'bar'); return null == _6xv ? this._barH_default : _6x7.ObjUtil.getNumber(_6xv, 'h', this._barH_default); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6xa.prototype, 'barColor', { 'get': function() { var _6xw = null, _6xx = _6x7.ObjUtil.getString(this._o, 'bar'); return null == _6xx ? 16711680 : _6x7.ObjUtil.getNumber(_6xx, 'color', 16711680); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6xa.prototype, 'transportX', { 'get': function() { var _6xy = null, _6xz = _6x7.ObjUtil.getString(this._o, 'transport'); return null == _6xz ? 0 : _6x7.ObjUtil.getNumber(_6xz, 'x'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6xa.prototype, 'transportY', { 'get': function() { var _6y0 = null, _6y1 = _6x7.ObjUtil.getString(this._o, 'transport'); return null == _6y1 ? 0 : _6x7.ObjUtil.getNumber(_6y1, 'y'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_6xa.prototype, 'bgAlpha', { 'get': function() { var _6y2 = null, _6y3 = _6x7.ObjUtil.getObject(this._o, 'bg'); return null == _6y3 ? 0 : _6x7.ObjUtil.getNumber(_6y3, 'alpha'); }, 'enumerable': !1, 'configurable': !0 }), _6xa.prototype.isTransport = function() { var _6y4 = null; return this._o.hasOwnProperty('transport'); }, _6xa; }()); _6x4.GaugeModel = _6x8; }, 84412: function(_6y5, _6y6, _6y7) { 'use strict'; var _6y8 = null; var _6y9, _6ya = this && this.__extends || (_6y9 = function(_6yb, _6yc) { var _6yd = null; return _6y9 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_6ye, _6yf) { var _6yg = null; _6ye.__proto__ = _6yf; } || function(_6yh, _6yi) { var _6yj = null; for (var _6yk in _6yi) Object.prototype.hasOwnProperty.call(_6yi, _6yk) && (_6yh[_6yk] = _6yi[_6yk]); }, _6y9(_6yb, _6yc); }, function(_6yl, _6ym) { var _6yn = null; if ('function' != typeof _6ym && null !== _6ym) throw new TypeError('Class extends value ' + String(_6ym) + ' is not a constructor or null'); function _6yo() { var _6yp = null; this.constructor = _6yl; } _6y9(_6yl, _6ym), _6yl.prototype = null === _6ym ? Object.create(_6ym) : (_6yo.prototype = _6ym.prototype, new _6yo()); }); defineModule(_6y6); Object.defineProperty(_6y6, '__esModule', { 'value': !0 }), _6y6.GaugeSetModel = void 0; var _6yq = _6y7(10742), _6yr = _6y7(57616), _6ys = _6y7(89939), _6yt = _6y7(21409), _6yu = function(_6yv) { var _6yw = null; function _6yx(_6yy) { var _6yz = null; return _6yv.call(this, _6yy) || this; } return _6ya(_6yx, _6yv), _6yx.createKey = function(_6z0, _6z1, _6z2) { var _6z3 = null; void 0 === _6z2 && (_6z2 = 1); var _6z4 = _6yr.MathUtil.zeroPadding(_6z0, 3), _6z5 = _6yr.MathUtil.zeroPadding(_6z1, 2); return _6z2 > 1 ? _6z4 + _6z5 + '_' + _6z2 : _6z4 + _6z5; }, _6yx.getMapId = function(_6z6) { var _6z7 = null; if (null == _6z6) return 0; _6z6 = _6z6.split('_')[0]; var _6z8 = parseInt(_6z6); if (isNaN(_6z8)) return 0; var _6z9 = Math.floor(_6z8 / 100), _6za = _6z8 % 100; return _6yq.MapUtil.toMapID(_6z9, _6za); }, Object.defineProperty(_6yx.prototype, 'vertical', { 'get': function() { var _6zb = null, _6zc = _6ys.ObjUtil.getObject(this._o, 'vertical'); return null == _6zc ? null : new _6yt.GaugeModel(_6zc, 18, 253); }, 'enumerable': !1, 'configurable': !0 }), _6yx; }(_6yt.GaugeModel); _6y6.GaugeSetModel = _6yu; }, 1769: function(_6zd, _6ze, _6zf) { 'use strict'; var _6zg = null; var _6zh, _6zi = this && this.__extends || (_6zh = function(_6zj, _6zk) { var _6zl = null; return _6zh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_6zm, _6zn) { var _6zo = null; _6zm.__proto__ = _6zn; } || function(_6zp, _6zq) { var _6zr = null; for (var _6zs in _6zq) Object.prototype.hasOwnProperty.call(_6zq, _6zs) && (_6zp[_6zs] = _6zq[_6zs]); }, _6zh(_6zj, _6zk); }, function(_6zt, _6zu) { var _6zv = null; if ('function' != typeof _6zu && null !== _6zu) throw new TypeError('Class extends value ' + String(_6zu) + ' is not a constructor or null'); function _6zw() { var _6zx = null; this.constructor = _6zt; } _6zh(_6zt, _6zu), _6zt.prototype = null === _6zu ? Object.create(_6zu) : (_6zw.prototype = _6zu.prototype, new _6zw()); }); defineModule(_6ze); Object.defineProperty(_6ze, '__esModule', { 'value': !0 }), _6ze.IncentiveModelHolderEdit = _6ze.IncentiveModelHolder = void 0; var _6zy = _6zf(89939), _6zz = _6zf(33395), _700 = _6zf(22423), _701 = _6zf(81695), _702 = _6zf(32992), _703 = _6zf(74566), _704 = (function() { var _705 = null; function _706() { var _707 = null; this._arr = []; } return _706.prototype.hasIncentive = function() { var _708 = null; return this._arr.length > 0; }, _706.prototype.hasSelectIncentive = function() { var _709 = null; return null != this._candidates_arr && Object.keys(this._candidates_arr).length > 0; }, _706.prototype.getRewardCandidates = function() { var _70a = null; return this._candidates_arr; }, _706.prototype.getRewards = function() { var _70b = null; return this._arr.concat(); }, _706.prototype.clearCandidates = function() { var _70c = null; this._candidates_arr = {}; }, _706.prototype.clearData = function() { var _70d = null; this._arr = []; }, _706; }()); _6ze.IncentiveModelHolder = _704; var _70e = function(_70f) { var _70g = null; function _70h() { var _70i = null; return null !== _70f && _70f.apply(this, arguments) || this; } return _6zi(_70h, _70f), _70h.prototype.setData = function(_70j) { var _70k = null, _70l = this; if (this._arr = [], this._candidates_arr = {}, null != _70j) { var _70m = _6zy.ObjUtil.getObjectArray(_70j, 'api_select_reward_dict'); if (null != _70m) for (var _70n = Object.keys(_70m).filter(function(_70o) { return null != _70o; }), _70p = function(_70q) { var _70r = null, _70s = _70m[parseInt(_70q)], _70t = parseInt(_70q); null == _70u._candidates_arr[_70t] && (_70u._candidates_arr[_70t] = []), _70s.forEach(function(_70v) { var _70w = null; _70l._candidates_arr[_70t].push(_703.SelectableRewardUtil.convObj2Model(_70v)); }); }, _70u = this, _70x = 0, _70y = _70n; _70x < _70y.length; _70x++) { _70p(_70y[_70x]); } var _70z = _6zy.ObjUtil.getObjectArray(_70j, 'api_item'); if (null != _70z && null == _70m) for (var _710 = 0, _711 = _70z; _710 < _711.length; _710++) { var _712 = _711[_710], _713 = (_6zy.ObjUtil.getNumber(_712, 'api_mode'), _6zy.ObjUtil.getNumber(_712, 'api_type')), _714 = _6zy.ObjUtil.getNumber(_712, 'api_mst_id'), _715 = _6zy.ObjUtil.getString(_712, 'api_getmes'), _716 = _6zy.ObjUtil.getNumber(_712, 'api_slotitem_level'), _717 = void 0; 1 == _713 ? _717 = new _701.RewardModelShip(_714, _715) : 2 == _713 ? _717 = new _700.RewardModelSlotitem(_714, _716, 1, _715) : 3 == _713 ? _717 = new _702.RewardModelUseitem(_714, 1, _715) : 4 == _713 || 5 == _713 && (_717 = new _6zz.RewardModelFurniture(_714, '', _715)), null != _717 && this._arr.push(_717); } } }, _70h; }(_704); _6ze.IncentiveModelHolderEdit = _70e; }, 25959: function(_718, _719, _71a) { 'use strict'; var _71b = null; var _71c, _71d = this && this.__extends || (_71c = function(_71e, _71f) { var _71g = null; return _71c = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_71h, _71i) { var _71j = null; _71h.__proto__ = _71i; } || function(_71k, _71l) { var _71m = null; for (var _71n in _71l) Object.prototype.hasOwnProperty.call(_71l, _71n) && (_71k[_71n] = _71l[_71n]); }, _71c(_71e, _71f); }, function(_71o, _71p) { var _71q = null; if ('function' != typeof _71p && null !== _71p) throw new TypeError('Class extends value ' + String(_71p) + ' is not a constructor or null'); function _71r() { var _71s = null; this.constructor = _71o; } _71c(_71o, _71p), _71o.prototype = null === _71p ? Object.create(_71p) : (_71r.prototype = _71p.prototype, new _71r()); }); defineModule(_719); Object.defineProperty(_719, '__esModule', { 'value': !0 }), _719.KDockModelEdit = _719.KDockModel = void 0; var _71t = _71a(89939), _71u = (function() { var _71v = null; function _71w(_71x) { this._o = _71x; } return Object.defineProperty(_71w.prototype, 'id', { 'get': function() { var _71y = null; return _71t.ObjUtil.getNumber(this._o, 'api_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_71w.prototype, 'state', { 'get': function() { var _71z = null; return _71t.ObjUtil.getNumber(this._o, 'api_state', -1); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_71w.prototype, 'ship_mst_id', { 'get': function() { var _720 = null; return _71t.ObjUtil.getNumber(this._o, 'api_created_ship_id', 0); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_71w.prototype, 'complete_time', { 'get': function() { var _721 = null; return _71t.ObjUtil.getNumber(this._o, 'api_complete_time', 0); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_71w.prototype, 'fuel', { 'get': function() { var _722 = null; return _71t.ObjUtil.getNumber(this._o, 'api_item1', 0); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_71w.prototype, 'ammo', { 'get': function() { var _723 = null; return _71t.ObjUtil.getNumber(this._o, 'api_item2', 0); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_71w.prototype, 'steel', { 'get': function() { var _724 = null; return _71t.ObjUtil.getNumber(this._o, 'api_item3', 0); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_71w.prototype, 'baux', { 'get': function() { var _725 = null; return _71t.ObjUtil.getNumber(this._o, 'api_item4', 0); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_71w.prototype, 'dev_kit', { 'get': function() { var _726 = null; return _71t.ObjUtil.getNumber(this._o, 'api_item5', 0); }, 'enumerable': !1, 'configurable': !0 }), _71w.prototype.isLargeBuild = function() { var _727 = null; return (2 == this.state || 3 == this.state) && this.fuel >= 1000; }, _71w; }()); _719.KDockModel = _71u; var _728 = function(_729) { var _72a = null; function _72b(_72c) { var _72d = null; return _729.call(this, _72c) || this; } return _71d(_72b, _729), _72b.prototype.__open__ = function() { var _72e = null; - 1 == this.state && (this._o.api_state = 0); }, _72b.prototype.__complete__ = function(_72f) { var _72g = null; void 0 === _72f && (_72f = !1), (_72f || 2 == this.state) && (this._o.api_state = 3, this._o.api_complete_time = 0, this._o.api_complete_time_str = ''); }, _72b; }(_71u); _719.KDockModelEdit = _728; }, 71498: function(_72h, _72i, _72j) { 'use strict'; var _72k = null; var _72l, _72m = this && this.__extends || (_72l = function(_72n, _72o) { var _72p = null; return _72l = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_72q, _72r) { var _72s = null; _72q.__proto__ = _72r; } || function(_72t, _72u) { var _72v = null; for (var _72w in _72u) Object.prototype.hasOwnProperty.call(_72u, _72w) && (_72t[_72w] = _72u[_72w]); }, _72l(_72n, _72o); }, function(_72x, _72y) { var _72z = null; if ('function' != typeof _72y && null !== _72y) throw new TypeError('Class extends value ' + String(_72y) + ' is not a constructor or null'); function _730() { var _731 = null; this.constructor = _72x; } _72l(_72x, _72y), _72x.prototype = null === _72y ? Object.create(_72y) : (_730.prototype = _72y.prototype, new _730()); }); defineModule(_72i); Object.defineProperty(_72i, '__esModule', { 'value': !0 }), _72i.KDockModelHolderEdit = _72i.KDockModelHolder = void 0; var _732 = _72j(25959), _733 = (function() { var _734 = null; function _735() { var _736 = null; this._dic = {}; } return _735.prototype.get = function(_737) { var _738 = null, _739 = _737.toString(); return 1 == this._dic.hasOwnProperty(_739) ? this._dic[_739] : null; }, _735.prototype.getAll = function() { var _73a = null, _73b = new Array(); for (var _73c in this._dic) { var _73d = this._dic[_73c]; _73b.push(_73d); } return _73b.sort(function(_73e, _73f) { return _73e.id < _73f.id ? -1 : _73e.id > _73f.id ? 1 : 0; }), _73b; }, _735; }()); _72i.KDockModelHolder = _733; var _73g = function(_73h) { var _73i = null; function _73j() { var _73k = null; return _73h.call(this) || this; } return _72m(_73j, _73h), _73j.prototype.__setData__ = function(_73l) { var _73m = null; if (null != _73l) { this._dic = {}; for (var _73n = 0, _73o = _73l; _73n < _73o.length; _73n++) { var _73p = _73o[_73n], _73q = new _732.KDockModelEdit(_73p), _73r = _73q.id; if (_73r > 0) { var _73s = _73r.toString(); this._dic[_73s] = _73q; } } } }, _73j; }(_733); _72i.KDockModelHolderEdit = _73g; }, 4580: (_73t, _73u, _73v) => { 'use strict'; var _73w = null; defineModule(_73u); Object.defineProperty(_73u, '__esModule', { 'value': !0 }), _73u.LogModel = void 0; var _73x = _73v(89939), _73y = (function() { var _73z = null; function _740(_741) { this._o = _741; } return Object.defineProperty(_740.prototype, 'type', { 'get': function() { var _742 = null; return _73x.ObjUtil.getNumber(this._o, 'api_type'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_740.prototype, 'message', { 'get': function() { var _743 = null; return _73x.ObjUtil.getString(this._o, 'api_message'); }, 'enumerable': !1, 'configurable': !0 }), _740; }()); _73u.LogModel = _73y; }, 40910: (_744, _745, _746) => { 'use strict'; var _747 = null; defineModule(_745); Object.defineProperty(_745, '__esModule', { 'value': !0 }), _745.LogModelHolder = void 0; var _748 = _746(4580), _749 = (function() { var _74a = null; function _74b() {} return Object.defineProperty(_74b.prototype, 'list', { 'get': function() { var _74c = null; return this._list; }, 'enumerable': !1, 'configurable': !0 }), _74b.prototype.setData = function(_74d) { var _74e = null; if (this._list = [], null != _74d) for (var _74f = 0; _74f < _74d.length; _74f++) { var _74g = _74d[_74f]; null != _74g && this._list.push(new _748.LogModel(_74g)); } }, _74b; }()); _745.LogModelHolder = _749; }, 85833: (_74h, _74i, _74j) => { 'use strict'; var _74k = null; defineModule(_74i); Object.defineProperty(_74i, '__esModule', { 'value': !0 }), _74i.MapAreaModel = void 0; var _74l = _74j(89939), _74m = (function() { var _74n = null; function _74o(_74p) { this._o = _74p; } return Object.defineProperty(_74o.prototype, 'mstID', { 'get': function() { var _74q = null; return _74l.ObjUtil.getNumber(this._o, 'api_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_74o.prototype, 'name', { 'get': function() { var _74r = null; return _74l.ObjUtil.getString(this._o, 'api_name'); }, 'enumerable': !1, 'configurable': !0 }), _74o; }()); _74i.MapAreaModel = _74m; }, 1593: (_74s, _74t, _74u) => { 'use strict'; var _74v = null; defineModule(_74t); Object.defineProperty(_74t, '__esModule', { 'value': !0 }), _74t.MapBonusModel = void 0; var _74w = _74u(74566), _74x = _74u(14921), _74y = (function() { var _74z = null; function _750(_751) { this._o = _751; } return Object.defineProperty(_750.prototype, 'mst_id', { 'get': function() { var _752 = null; return _74x.ObjUtil.getNumber(this._o, 'api_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_750.prototype, 'level', { 'get': function() { var _753 = null; return _74x.ObjUtil.getNumber(this._o, 'api_slot_level'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_750.prototype, 'count', { 'get': function() { var _754 = null; return _74x.ObjUtil.getNumber(this._o, 'api_value'); }, 'enumerable': !1, 'configurable': !0 }), _750.prototype.setCandidates = function(_755) { var _756 = null, _757 = this; this._candidates = new Array(), _755.forEach(function(_758) { var _759 = null; _757._candidates.push(_74w.SelectableRewardUtil.convObj2Model(_758)); }); }, Object.defineProperty(_750.prototype, 'candidates', { 'get': function() { var _75a = null; return this._candidates; }, 'enumerable': !1, 'configurable': !0 }), _750.prototype.isUseitem = function() { var _75b = null; return 1 == this._type; }, _750.prototype.isShip = function() { var _75c = null; return 2 == this._type; }, _750.prototype.isSlotitem = function() { var _75d = null; return 3 == this._type; }, _750.prototype.isFurniture = function() { var _75e = null; return 5 == this._type; }, _750.prototype.isSelectableReward = function() { var _75f = null; return 7 == this._type; }, Object.defineProperty(_750.prototype, '_type', { 'get': function() { var _75g = null; return _74x.ObjUtil.getNumber(this._o, 'api_type'); }, 'enumerable': !1, 'configurable': !0 }), _750; }()); _74t.MapBonusModel = _74y; }, 30706: function(_75h, _75i, _75j) { 'use strict'; var _75k = null; var _75l, _75m = this && this.__extends || (_75l = function(_75n, _75o) { var _75p = null; return _75l = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_75q, _75r) { var _75s = null; _75q.__proto__ = _75r; } || function(_75t, _75u) { var _75v = null; for (var _75w in _75u) Object.prototype.hasOwnProperty.call(_75u, _75w) && (_75t[_75w] = _75u[_75w]); }, _75l(_75n, _75o); }, function(_75x, _75y) { var _75z = null; if ('function' != typeof _75y && null !== _75y) throw new TypeError('Class extends value ' + String(_75y) + ' is not a constructor or null'); function _760() { var _761 = null; this.constructor = _75x; } _75l(_75x, _75y), _75x.prototype = null === _75y ? Object.create(_75y) : (_760.prototype = _75y.prototype, new _760()); }), _762 = this && this.__importDefault || function(_763) { var _764 = null; return _763 && _763.__esModule ? _763 : { 'default': _763 }; }; defineModule(_75i); Object.defineProperty(_75i, '__esModule', { 'value': !0 }), _75i.MapModelEdit = _75i.MapModel = void 0; var _765 = _762(_75j(18622)), _766 = _75j(89939), _767 = _75j(25642), _768 = (function() { var _769 = null; function _76a(_76b) { var _76c = null; this._mst_id = 0, this._o = _76b; } return Object.defineProperty(_76a.prototype, 'mst_id', { 'get': function() { var _76d = null; return null != this._o ? _766.ObjUtil.getNumber(this._o, 'api_id') : this._mst_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_76a.prototype, 'area_id', { 'get': function() { var _76e = null, _76f = this._mst; return null == _76f ? 0 : _76f.area_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_76a.prototype, 'map_no', { 'get': function() { var _76g = null, _76h = this._mst; return null == _76h ? 0 : _76h.map_no; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_76a.prototype, 'name', { 'get': function() { var _76i = null, _76j = this._mst; return null == _76j ? '' : _76j.name; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_76a.prototype, 'operation_name', { 'get': function() { var _76k = null, _76l = this._mst; return null == _76l ? '' : _76l.operation_name; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_76a.prototype, 'operation_detail', { 'get': function() { var _76m = null, _76n = this._mst; return null == _76n ? '' : _76n.operation_detail; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_76a.prototype, 'item_ids', { 'get': function() { var _76o = null, _76p = this._mst; return null == _76p ? [] : _76p.item_ids; }, 'enumerable': !1, 'configurable': !0 }), _76a.prototype.getAllowedDeckType = function() { var _76q = null, _76r = _766.ObjUtil.getNumArray(this._o, 'api_sally_flag'); if (_76r) { var _76s = new _767.AllowedDeckTypeModel(); return _76s.init(_76r), _76s; } var _76t = this._mst; return null == _76t ? new _767.AllowedDeckTypeModel() : _76t.getAllowedDeckType(); }, Object.defineProperty(_76a.prototype, 'gauge_type', { 'get': function() { var _76u = null; return _766.ObjUtil.getNumber(this._o, 'api_gauge_type', 0); }, 'enumerable': !1, 'configurable': !0 }), _76a.prototype.getGaugeNum = function() { var _76v = null; return _766.ObjUtil.getNumber(this._o, 'api_gauge_num', 1); }, Object.defineProperty(_76a.prototype, 's_no', { 'get': function() { var _76w = null; return _766.ObjUtil.getNumber(this._o, 'api_s_no'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_76a.prototype, 'm10', { 'get': function() { var _76x = null; return _766.ObjUtil.getNumber(this._o, 'api_m10'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_76a.prototype, 'defeat_required', { 'get': function() { var _76y = null; return null == this._o ? 0 : _766.ObjUtil.getNumber(this._o, 'api_required_defeat_count'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_76a.prototype, 'defeat_count', { 'get': function() { var _76z = null; return null == this._o ? 0 : _766.ObjUtil.getNumber(this._o, 'api_defeat_count'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_76a.prototype, 'gauge_now', { 'get': function() { var _770 = null, _771 = this._evene_data; return _766.ObjUtil.getNumber(_771, 'api_now_maphp'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_76a.prototype, 'gauge_max', { 'get': function() { var _772 = null, _773 = this._evene_data; return _766.ObjUtil.getNumber(_773, 'api_max_maphp'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_76a.prototype, 'availableAirUnitCount', { 'get': function() { var _774 = null; return _766.ObjUtil.getNumber(this._o, 'api_air_base_decks'); }, 'enumerable': !1, 'configurable': !0 }), _76a.prototype.isCleared = function() { var _775 = null; return 1 == _766.ObjUtil.getNumber(this._o, 'api_cleared'); }, _76a.prototype.isOpened = function() { return null != this._o; }, _76a.prototype.getSelectedOperationType = function() { var _776 = null, _777 = this._evene_data; return null == _777 ? 0 : _766.ObjUtil.getNumber(_777, 'api_selected_rank', 0); }, Object.defineProperty(_76a.prototype, '_mst', { 'get': function() { var _778 = null; return _765.default.model.map.getMapMst(this.mst_id); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_76a.prototype, '_evene_data', { 'get': function() { var _779 = null; return _766.ObjUtil.getObject(this._o, 'api_eventmap'); }, 'enumerable': !1, 'configurable': !0 }), _76a; }()); _75i.MapModel = _768; var _77a = function(_77b) { var _77c = null; function _77d() { var _77e = null; return null !== _77b && _77b.apply(this, arguments) || this; } return _75m(_77d, _77b), _77d.prototype.setMstID = function(_77f) { var _77g = null; this._mst_id = _77f; }, _77d.prototype.changeOperation = function(_77h, _77i, _77j, _77k, _77l, _77m, _77n) { var _77o = null, _77p = this._evene_data; if (null != _77p && this.getSelectedOperationType() != _77h) { _77p.api_selected_rank = _77h, _77p.api_max_maphp = _77k, _77p.api_now_maphp = _77l; var _77q = this._o; _77q.api_gauge_num = _77i, _77q.api_gauge_type = _77j, _77q.api_s_no = _77m, _77q.api_m10 = _77n; } }, _77d.prototype.changeAllowedDeckType = function(_77r) { var _77s = null; if (null != _77r) { var _77t = 'api_sally_flag', _77u = this._o; 0 == _77u.hasOwnProperty(_77t) && (_77u[_77t] = []); for (var _77v = 0; _77v < 3; _77v++) _77u[_77t][_77v] = _77r[_77v]; } }, _77d.prototype.setAvailableAirUnitCount = function(_77w) { var _77x = null; null != this._o && (this.availableAirUnitCount != _77w && (this._o.api_air_base_decks = _77w)); }, _77d; }(_768); _75i.MapModelEdit = _77a; }, 68211: function(_77y, _77z, _780) { 'use strict'; var _781 = null; var _782, _783 = this && this.__extends || (_782 = function(_784, _785) { var _786 = null; return _782 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_787, _788) { var _789 = null; _787.__proto__ = _788; } || function(_78a, _78b) { var _78c = null; for (var _78d in _78b) Object.prototype.hasOwnProperty.call(_78b, _78d) && (_78a[_78d] = _78b[_78d]); }, _782(_784, _785); }, function(_78e, _78f) { var _78g = null; if ('function' != typeof _78f && null !== _78f) throw new TypeError('Class extends value ' + String(_78f) + ' is not a constructor or null'); function _78h() { var _78i = null; this.constructor = _78e; } _782(_78e, _78f), _78e.prototype = null === _78f ? Object.create(_78f) : (_78h.prototype = _78f.prototype, new _78h()); }); defineModule(_77z); Object.defineProperty(_77z, '__esModule', { 'value': !0 }), _77z.MapModelHolderEdit = _77z.MapModelHolder = void 0; var _78j = _780(10742), _78k = _780(85833), _78l = _780(30706), _78m = _780(29776), _78n = (function() { var _78o = null; function _78p() {} return _78p.prototype.getArea = function(_78q) { var _78r = null; return null == this._area_msts ? null : this._area_msts[_78q]; }, _78p.prototype.getMapMst = function(_78s, _78t) { var _78u = null; void 0 === _78t && (_78t = -1); var _78v = _78s; return -1 != _78t && (_78v = _78j.MapUtil.toMapID(_78s, _78t)), null == this._map_msts || 0 == this._map_msts.hasOwnProperty(_78v.toString()) ? null : this._map_msts[_78v]; }, _78p.prototype.getMapMsts = function(_78w) { var _78x = null; if (null == this._map_msts) return null; var _78y = new Array(); for (var _78z in this._map_msts) { var _790 = this._map_msts[_78z]; _790.area_id == _78w && _78y.push(_790); } return _78y.sort(function(_791, _792) { var _793 = null; return _791.map_no > _792.map_no ? 1 : _791.map_no < _792.map_no ? -1 : 0; }), _78y; }, _78p.prototype.getMapMem = function(_794) { var _795 = null; if (null != this._maps && 1 == this._maps.hasOwnProperty(_794.toString())) return this._maps[_794]; if (null != this.getMapMst(_794)) { var _796 = new _78l.MapModelEdit(null); return _796.setMstID(_794), _796; } return null; }, _78p.prototype.getMapMems = function(_797) { var _798 = null; for (var _799 = [], _79a = 0, _79b = this.getMapMsts(_797); _79a < _79b.length; _79a++) { var _79c = _79b[_79a].mst_id, _79d = this.getMapMem(_79c); _799.push(_79d); } return _799; }, _78p; }()); _77z.MapModelHolder = _78n; var _79e = function(_79f) { var _79g = null; function _79h() { var _79i = null; return _79f.call(this) || this; } return _783(_79h, _79f), _79h.prototype.setAreaMst = function(_79j) { var _79k = null; if (this._area_msts = {}, null != _79j) for (var _79l = 0, _79m = _79j; _79l < _79m.length; _79l++) { var _79n = _79m[_79l], _79o = new _78k.MapAreaModel(_79n), _79p = _79o.mstID; _79p > 0 && (this._area_msts[_79p] = _79o); } }, _79h.prototype.setMapMst = function(_79q) { var _79r = null; if (this._map_msts = {}, null != _79q) for (var _79s = 0, _79t = _79q; _79s < _79t.length; _79s++) { var _79u = _79t[_79s], _79v = new _78m.MapMstModel(_79u), _79w = _79v.mst_id; _79w > 0 && (this._map_msts[_79w] = _79v); } }, _79h.prototype.setMapMem = function(_79x) { var _79y = null; if (this._maps = {}, null != _79x) for (var _79z = 0, _7a0 = _79x; _79z < _7a0.length; _79z++) { var _7a1 = _7a0[_79z], _7a2 = new _78l.MapModelEdit(_7a1), _7a3 = _7a2.mst_id; _7a3 > 0 && (this._maps[_7a3] = _7a2); } }, _79h; }(_78n); _77z.MapModelHolderEdit = _79e; }, 29776: (_7a4, _7a5, _7a6) => { 'use strict'; var _7a7 = null; defineModule(_7a5); Object.defineProperty(_7a5, '__esModule', { 'value': !0 }), _7a5.MapMstModel = void 0; var _7a8 = _7a6(89939), _7a9 = _7a6(25642), _7aa = (function() { var _7ab = null; function _7ac(_7ad) { this._o = _7ad; } return Object.defineProperty(_7ac.prototype, 'mst_id', { 'get': function() { var _7ae = null; return _7a8.ObjUtil.getNumber(this._o, 'api_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7ac.prototype, 'area_id', { 'get': function() { var _7af = null; return _7a8.ObjUtil.getNumber(this._o, 'api_maparea_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7ac.prototype, 'map_no', { 'get': function() { var _7ag = null; return _7a8.ObjUtil.getNumber(this._o, 'api_no'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7ac.prototype, 'name', { 'get': function() { var _7ah = null; return _7a8.ObjUtil.getString(this._o, 'api_name'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7ac.prototype, 'operation_name', { 'get': function() { var _7ai = null; return _7a8.ObjUtil.getString(this._o, 'api_opetext'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7ac.prototype, 'operation_detail', { 'get': function() { var _7aj = null; return _7a8.ObjUtil.getString(this._o, 'api_infotext'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7ac.prototype, 'item_ids', { 'get': function() { var _7ak = null; return _7a8.ObjUtil.getNumArray(this._o, 'api_item'); }, 'enumerable': !1, 'configurable': !0 }), _7ac.prototype.getAllowedDeckType = function() { var _7al = null, _7am = new _7a9.AllowedDeckTypeModel(), _7an = _7a8.ObjUtil.getNumArray(this._o, 'api_sally_flag'); return _7am.init(_7an), _7am; }, _7ac; }()); _7a5.MapMstModel = _7aa; }, 85855: function(_7ao, _7ap, _7aq) { 'use strict'; var _7ar = null; var _7as, _7at = this && this.__extends || (_7as = function(_7au, _7av) { var _7aw = null; return _7as = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_7ax, _7ay) { var _7az = null; _7ax.__proto__ = _7ay; } || function(_7b0, _7b1) { var _7b2 = null; for (var _7b3 in _7b1) Object.prototype.hasOwnProperty.call(_7b1, _7b3) && (_7b0[_7b3] = _7b1[_7b3]); }, _7as(_7au, _7av); }, function(_7b4, _7b5) { var _7b6 = null; if ('function' != typeof _7b5 && null !== _7b5) throw new TypeError('Class extends value ' + String(_7b5) + ' is not a constructor or null'); function _7b7() { var _7b8 = null; this.constructor = _7b4; } _7as(_7b4, _7b5), _7b4.prototype = null === _7b5 ? Object.create(_7b5) : (_7b7.prototype = _7b5.prototype, new _7b7()); }); defineModule(_7ap); Object.defineProperty(_7ap, '__esModule', { 'value': !0 }), _7ap.NDockModelEdit = _7ap.NDockModel = void 0; var _7b9 = _7aq(89939), _7ba = (function() { var _7bb = null; function _7bc(_7bd) { this._o = _7bd; } return Object.defineProperty(_7bc.prototype, 'mstID', { 'get': function() { var _7be = null; return _7b9.ObjUtil.getNumber(this._o, 'api_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7bc.prototype, 'state', { 'get': function() { var _7bf = null; return _7b9.ObjUtil.getNumber(this._o, 'api_state', -1); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7bc.prototype, 'shipMemID', { 'get': function() { var _7bg = null; return _7b9.ObjUtil.getNumber(this._o, 'api_ship_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7bc.prototype, 'completeTime', { 'get': function() { var _7bh = null; return _7b9.ObjUtil.getNumber(this._o, 'api_complete_time'); }, 'enumerable': !1, 'configurable': !0 }), _7bc; }()); _7ap.NDockModel = _7ba; var _7bi = function(_7bj) { var _7bk = null; function _7bl(_7bm) { var _7bn = null; return _7bj.call(this, _7bm) || this; } return _7at(_7bl, _7bj), _7bl.prototype.__updateState__ = function(_7bo) { var _7bp = null; this._o.api_state = _7bo; }, _7bl.prototype.__updateShipId__ = function(_7bq) { var _7br = null; this._o.api_ship_id = _7bq; }, _7bl.prototype.__updateCompleteTime__ = function(_7bs) { var _7bt = null; this._o.api_complete_time = _7bs; }, _7bl; }(_7ba); _7ap.NDockModelEdit = _7bi; }, 80589: (_7bu, _7bv, _7bw) => { 'use strict'; var _7bx = null; defineModule(_7bv); Object.defineProperty(_7bv, '__esModule', { 'value': !0 }), _7bv.NDockModelHolder = void 0; var _7by = _7bw(85855), _7bz = (function() { var _7c0 = null; function _7c1() {} return _7c1.prototype.setData = function(_7c2) { var _7c3 = null; if (this._map = {}, null != _7c2) for (var _7c4 = 0; _7c4 < _7c2.length; _7c4++) { var _7c5 = _7c2[_7c4], _7c6 = new _7by.NDockModelEdit(_7c5), _7c7 = _7c6.mstID; if (_7c7 > 0) { var _7c8 = _7c7.toString(); this._map[_7c8] = _7c6; } } }, _7c1.prototype.get = function(_7c9) { var _7ca = null, _7cb = _7c9.toString(); return 1 == this._map.hasOwnProperty(_7cb) ? this._map[_7cb] : null; }, _7c1.prototype.getAll = function() { var _7cc = null, _7cd = new Array(); for (var _7ce in this._map) { var _7cf = this._map[_7ce]; _7cd.push(_7cf); } return _7cd; }, _7c1.prototype.getShipMemIDs = function() { var _7cg = null; for (var _7ch = [], _7ci = 0, _7cj = this.getAll(); _7ci < _7cj.length; _7ci++) { var _7ck = _7cj[_7ci]; _7ck.shipMemID > 0 && _7ch.push(_7ck.shipMemID); } return _7ch; }, _7c1; }()); _7bv.NDockModelHolder = _7bz; }, 91179: (_7cl, _7cm, _7cn) => { 'use strict'; var _7co = null; defineModule(_7cm); Object.defineProperty(_7cm, '__esModule', { 'value': !0 }), _7cm.OptionModel = void 0; var _7cp = _7cn(13560), _7cq = (function() { var _7cr = null; function _7cs() { var _7ct = null; this._KEY_VOL_BGM = 'vol_bgm', this._KEY_VOL_SE = 'vol_se', this._KEY_VOL_VOICE = 'vol_voice', this._KEY_V_BELEFT = 'v_be_left', this._KEY_V_DUTY = 'v_duty'; } return Object.defineProperty(_7cs.prototype, 'vol_bgm', { 'get': function() { var _7cu = null; return this._vol_bgm; }, 'set': function(_7cv) { var _7cw = null; this._vol_bgm = Math.min(100, Math.max(0, Math.round(_7cv))); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7cs.prototype, 'vol_se', { 'get': function() { var _7cx = null; return this._vol_se; }, 'set': function(_7cy) { var _7cz = null; this._vol_se = Math.min(100, Math.max(0, Math.round(_7cy))); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7cs.prototype, 'vol_voice', { 'get': function() { var _7d0 = null; return this._vol_voice; }, 'set': function(_7d1) { var _7d2 = null; this._vol_voice = Math.min(100, Math.max(0, Math.round(_7d1))); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7cs.prototype, 'voice_be_left', { 'get': function() { var _7d3 = null; return this._voice_be_left; }, 'set': function(_7d4) { var _7d5 = null; this._voice_be_left = _7d4; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7cs.prototype, 'voice_duty', { 'get': function() { var _7d6 = null; return this._voice_duty; }, 'set': function(_7d7) { var _7d8 = null; this._voice_duty = _7d7; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7cs.prototype, 'post_data', { 'set': function(_7d9) { var _7da = null; this._post_data = _7d9; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7cs.prototype, '_log_string', { 'get': function() { var _7db = null; return 'bgm:'['concat'](this.vol_bgm, ' se:').concat(this.vol_se, ' voice:').concat(this.vol_voice, ' 放置:').concat(this._voice_be_left, ' 任務:').concat(this._voice_duty); }, 'enumerable': !1, 'configurable': !0 }), _7cs.prototype.initialize = function(_7dc) { var _7dd = null, _7de = this; _7cp.OptionUtil.load(function() { var _7df = null; _7de.vol_bgm = _7cp.OptionUtil.getNumValue(_7de._KEY_VOL_BGM, _7de._post_data, 30), _7de.vol_se = _7cp.OptionUtil.getNumValue(_7de._KEY_VOL_SE, _7de._post_data, 40), _7de.vol_voice = _7cp.OptionUtil.getNumValue(_7de._KEY_VOL_VOICE, _7de._post_data, 60), _7de.voice_be_left = _7cp.OptionUtil.getBoolValue(_7de._KEY_V_BELEFT, _7de._post_data, !0), _7de.voice_duty = _7cp.OptionUtil.getBoolValue(_7de._KEY_V_DUTY, _7de._post_data, !0), _7dc(); }); }, _7cs.prototype.save = function() { var _7dg = null, _7dh = [_7cp.OptionUtil.format(this._KEY_VOL_BGM, this.vol_bgm.toString()), _7cp.OptionUtil.format(this._KEY_VOL_SE, this.vol_se.toString()), _7cp.OptionUtil.format(this._KEY_VOL_VOICE, this.vol_voice.toString()), _7cp.OptionUtil.format(this._KEY_V_BELEFT, this.voice_be_left ? '1' : '0'), _7cp.OptionUtil.format(this._KEY_V_DUTY, this.voice_duty ? '1' : '0')].join(';'); _7cp.OptionUtil.save(_7dh); }, _7cs; }()); _7cm.OptionModel = _7cq; }, 10258: (_7di, _7dj, _7dk) => { 'use strict'; var _7dl = null; defineModule(_7dj); Object.defineProperty(_7dj, '__esModule', { 'value': !0 }), _7dj.PayItemModel = void 0; var _7dm = _7dk(89939), _7dn = (function() { var _7do = null; function _7dp(_7dq) { this._o = _7dq; } return Object.defineProperty(_7dp.prototype, 'id', { 'get': function() { var _7dr = null; return _7dm.ObjUtil.getNumber(this._o, 'api_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7dp.prototype, 'name', { 'get': function() { var _7ds = null; return _7dm.ObjUtil.getString(this._o, 'api_name'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7dp.prototype, 'description', { 'get': function() { var _7dt = null; return _7dm.ObjUtil.getString(this._o, 'api_description'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7dp.prototype, 'price', { 'get': function() { var _7du = null; return _7dm.ObjUtil.getNumber(this._o, 'api_price'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7dp.prototype, 'description_at_shop', { 'get': function() { var _7dv = null, _7dw = 'api_shop_description'; return 1 == this._o.hasOwnProperty(_7dw) ? this._o[_7dw] : this.description; }, 'enumerable': !1, 'configurable': !0 }), _7dp; }()); _7dj.PayItemModel = _7dn; }, 45191: function(_7dx, _7dy, _7dz) { 'use strict'; var _7e0 = null; var _7e1, _7e2 = this && this.__extends || (_7e1 = function(_7e3, _7e4) { var _7e5 = null; return _7e1 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_7e6, _7e7) { var _7e8 = null; _7e6.__proto__ = _7e7; } || function(_7e9, _7ea) { var _7eb = null; for (var _7ec in _7ea) Object.prototype.hasOwnProperty.call(_7ea, _7ec) && (_7e9[_7ec] = _7ea[_7ec]); }, _7e1(_7e3, _7e4); }, function(_7ed, _7ee) { var _7ef = null; if ('function' != typeof _7ee && null !== _7ee) throw new TypeError('Class extends value ' + String(_7ee) + ' is not a constructor or null'); function _7eg() { var _7eh = null; this.constructor = _7ed; } _7e1(_7ed, _7ee), _7ed.prototype = null === _7ee ? Object.create(_7ee) : (_7eg.prototype = _7ee.prototype, new _7eg()); }); defineModule(_7dy); Object.defineProperty(_7dy, '__esModule', { 'value': !0 }), _7dy.PayItemModelHolderEdit = _7dy.PayItemModelHolder = void 0; var _7ei = _7dz(89939), _7ej = _7dz(10258), _7ek = (function() { var _7el = null; function _7em() { var _7en = null; this._dic = {}; } return _7em.prototype.getData = function(_7eo) { var _7ep = null, _7eq = _7eo.toString(); return 1 == this._dic.hasOwnProperty(_7eq) ? this._dic[_7eq] : null; }, _7em.prototype.getOrder = function(_7er) { var _7es = null; return null == this._orders || this._orders.length <= _7er ? [] : this._orders[_7er]; }, _7em; }()); _7dy.PayItemModelHolder = _7ek; var _7et = function(_7eu) { var _7ev = null; function _7ew() { var _7ex = null; return _7eu.call(this) || this; } return _7e2(_7ew, _7eu), _7ew.prototype.setData = function(_7ey) { var _7ez = null; if (this._dic = {}, null != _7ey) for (var _7f0 = 0; _7f0 < _7ey.length; _7f0++) { var _7f1 = _7ey[_7f0], _7f2 = new _7ej.PayItemModel(_7f1), _7f3 = _7f2.id; _7f3 > 0 && (this._dic[_7f3] = _7f2); } }, _7ew.prototype.setOrders = function(_7f4) { var _7f5 = null; if (this._orders = [], null != _7f4) { var _7f6 = _7ei.ObjUtil.getNumArray(_7f4, 'api_cabinet_1'); null == _7f6 ? this._orders.push([]) : this._orders.push(_7f6), null == (_7f6 = _7ei.ObjUtil.getNumArray(_7f4, 'api_cabinet_2')) ? this._orders.push([]) : this._orders.push(_7f6); } }, _7ew; }(_7ek); _7dy.PayItemModelHolderEdit = _7et; }, 74535: function(_7f7, _7f8, _7f9) { 'use strict'; var _7fa = null; var _7fb, _7fc = this && this.__extends || (_7fb = function(_7fd, _7fe) { var _7ff = null; return _7fb = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_7fg, _7fh) { var _7fi = null; _7fg.__proto__ = _7fh; } || function(_7fj, _7fk) { var _7fl = null; for (var _7fm in _7fk) Object.prototype.hasOwnProperty.call(_7fk, _7fm) && (_7fj[_7fm] = _7fk[_7fm]); }, _7fb(_7fd, _7fe); }, function(_7fn, _7fo) { var _7fp = null; if ('function' != typeof _7fo && null !== _7fo) throw new TypeError('Class extends value ' + String(_7fo) + ' is not a constructor or null'); function _7fq() { var _7fr = null; this.constructor = _7fn; } _7fb(_7fn, _7fo), _7fn.prototype = null === _7fo ? Object.create(_7fo) : (_7fq.prototype = _7fo.prototype, new _7fq()); }); defineModule(_7f8); Object.defineProperty(_7f8, '__esModule', { 'value': !0 }), _7f8.ServerConstModelEdit = _7f8.ServerConstModel = void 0; var _7fs = _7f9(89939), _7ft = (function() { var _7fu = null; function _7fv() {} return Object.defineProperty(_7fv.prototype, 'boko_max_ships', { 'get': function() { var _7fw = null, _7fx = _7fs.ObjUtil.getObject(this._o, 'api_boko_max_ships'); return null == _7fx ? 0 : _7fs.ObjUtil.getNumber(_7fx, 'api_int_value'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7fv.prototype, 'quest_max', { 'get': function() { var _7fy = null, _7fz = _7fs.ObjUtil.getObject(this._o, 'api_parallel_quest_max'); return null == _7fz ? 0 : _7fs.ObjUtil.getNumber(_7fz, 'api_int_value'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7fv.prototype, 'voice_server', { 'get': function() { var _7g0 = null, _7g1 = _7fs.ObjUtil.getObject(this._o, 'api_voice_server_addr'); return null == _7g1 ? '' : _7fs.ObjUtil.getString(_7g1, 'api_string_value'); }, 'enumerable': !1, 'configurable': !0 }), _7fv; }()); _7f8.ServerConstModel = _7ft; var _7g2 = function(_7g3) { var _7g4 = null; function _7g5() { var _7g6 = null; return null !== _7g3 && _7g3.apply(this, arguments) || this; } return _7fc(_7g5, _7g3), _7g5.prototype.setData = function(_7g7) { this._o = _7g7; }, _7g5; }(_7ft); _7f8.ServerConstModelEdit = _7g2; }, 40107: (_7g8, _7g9, _7ga) => { 'use strict'; var _7gb = null; defineModule(_7g9); Object.defineProperty(_7g9, '__esModule', { 'value': !0 }), _7g9.SettingsModel = void 0; var _7gc = _7ga(89939), _7gd = (function() { var _7ge = null; function _7gf() { 0; } return Object.defineProperty(_7gf.prototype, 'renderer', { 'get': function() { var _7gg = null; return this._args.renderer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7gf.prototype, 'path_root', { 'get': function() { var _7gh = null; return _7gc.ObjUtil.getString(this._args, 'path_root', ''); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7gf.prototype, 'voice_root', { 'get': function() { var _7gi = null; return _7gc.ObjUtil.getString(this._args, 'voice_root', null); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7gf.prototype, 'api_root', { 'get': function() { var _7gj = null; return _7gc.ObjUtil.getString(this._args, 'api_root', '/kcsapi'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7gf.prototype, 'api_token', { 'get': function() { var _7gk = null; return _7gc.ObjUtil.getString(this._args, 'api_token'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7gf.prototype, 'osapi_root', { 'get': function() { var _7gl = null; return _7gc.ObjUtil.getString(this._args, 'osapi_root'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7gf.prototype, 'version', { 'get': function() { var _7gm = null; return _7gc.ObjUtil.getString(this._args, 'version'); }, 'enumerable': !1, 'configurable': !0 }), _7gf.prototype.initialize = function(_7gn) { var _7go = null; this._args = _7gn; }, _7gf; }()); _7g9.SettingsModel = _7gd; }, 56409: (_7gp, _7gq, _7gr) => { 'use strict'; var _7gs = null; defineModule(_7gq); Object.defineProperty(_7gq, '__esModule', { 'value': !0 }), _7gq.ShipGraphModel = void 0; var _7gt = _7gr(57616), _7gu = _7gr(89939), _7gv = (function() { var _7gw = null; function _7gx(_7gy) { this._o = _7gy; } return Object.defineProperty(_7gx.prototype, 'mstID', { 'get': function() { var _7gz = null; return _7gu.ObjUtil.getNumber(this._o, 'api_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7gx.prototype, 'version', { 'get': function() { var _7h0 = null, _7h1 = _7gu.ObjUtil.getStrArray(this._o, 'api_version'); return null != _7h1 && _7h1.length > 0 ? _7h1[0] : '1'; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7gx.prototype, 'version_voice', { 'get': function() { var _7h2 = null, _7h3 = _7gu.ObjUtil.getStrArray(this._o, 'api_version'); return null != _7h3 && _7h3.length > 1 ? _7h3[1] : '1'; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7gx.prototype, 'version_voice_boko', { 'get': function() { var _7h4 = null, _7h5 = _7gu.ObjUtil.getStrArray(this._o, 'api_version'); return null != _7h5 && _7h5.length > 2 ? _7h5[2] : '1'; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7gx.prototype, 'unique_key', { 'get': function() { var _7h6 = null; return _7gu.ObjUtil.getString(this._o, 'api_filename'); }, 'enumerable': !1, 'configurable': !0 }), _7gx.prototype.getPortOffset = function(_7h7) { var _7h8 = null; void 0 === _7h7 && (_7h7 = !1); var _7h9 = _7h7 ? 'api_boko_d' : 'api_boko_n', _7ha = _7gu.ObjUtil.getNumArray(this._o, _7h9); return null == _7ha || _7ha.length < 2 ? new PIXI.Point(0, 0) : new PIXI.Point(_7ha[0], _7ha[1]); }, _7gx.prototype.getCenterOffset = function(_7hb) { var _7hc = null; void 0 === _7hb && (_7hb = !1); var _7hd = _7hb ? 'api_kaizo_d' : 'api_kaizo_n', _7he = _7gu.ObjUtil.getNumArray(this._o, _7hd); return null == _7he || _7he.length < 2 ? new PIXI.Point(0, 0) : new PIXI.Point(_7he[0], _7he[1]); }, _7gx.prototype.getLeftOffset = function(_7hf) { var _7hg = null; void 0 === _7hf && (_7hf = !1); var _7hh = _7hf ? 'api_ensyuf_d' : 'api_ensyuf_n', _7hi = _7gu.ObjUtil.getNumArray(this._o, _7hh); return null == _7hi || _7hi.length < 2 ? new PIXI.Point(0, 0) : new PIXI.Point(_7hi[0], _7hi[1]); }, _7gx.prototype.getMapOffset = function(_7hj) { var _7hk = null; void 0 === _7hj && (_7hj = !1); var _7hl = _7hj ? 'api_map_d' : 'api_map_n', _7hm = _7gu.ObjUtil.getNumArray(this._o, _7hl); return null == _7hm || _7hm.length < 2 ? new PIXI.Point(0, 0) : new PIXI.Point(_7hm[0], _7hm[1]); }, _7gx.prototype.getRemodelPowupUIOffset = function(_7hn) { var _7ho = null; void 0 === _7hn && (_7hn = !1); var _7hp = _7hn ? 'api_kaisyu_d' : 'api_kaisyu_n', _7hq = _7gu.ObjUtil.getNumArray(this._o, _7hp); return null == _7hq || _7hq.length < 2 ? new PIXI.Point(0, 0) : new PIXI.Point(_7hq[0], _7hq[1]); }, _7gx.prototype.getBattleOffset = function(_7hr) { var _7hs = null; void 0 === _7hr && (_7hr = !1); var _7ht = _7hr ? 'api_battle_d' : 'api_battle_n', _7hu = _7gu.ObjUtil.getNumArray(this._o, _7ht); return null == _7hu || _7hu.length < 2 ? new PIXI.Point(0, 0) : new PIXI.Point(_7hu[0], _7hu[1]); }, _7gx.prototype.getFaceRect = function(_7hv) { var _7hw = null; void 0 === _7hv && (_7hv = !1); var _7hx = _7gu.ObjUtil.getNumArray(this._o, 'api_weda'), _7hy = _7gu.ObjUtil.getNumArray(this._o, 'api_wedb'); return new PIXI.Rectangle(_7hx[0], _7hx[1], _7hy[0], _7hy[1]); }, _7gx.prototype.getPaOffset = function() { var _7hz = null, _7i0 = _7gu.ObjUtil.getNumArray(this._o, 'api_pa'); return new PIXI.Point(_7i0[0], _7i0[1]); }, _7gx.prototype.getPaOffsetForSS = function() { var _7i1 = null, _7i2 = _7gu.ObjUtil.getNumArray(this._o, 'api_pa'); return { 'scale': 0 == _7i2[0] ? 0 : _7gt.MathUtil.round(_7i2[0] / 150, 3), 'offset_y': _7i2[1] }; }, _7gx.prototype.getPabOffset = function() { var _7i3 = null, _7i4 = _7gu.ObjUtil.getNumArray(this._o, 'api_pab'); return new PIXI.Point(_7i4[0], _7i4[1]); }, _7gx; }()); _7gq.ShipGraphModel = _7gv; }, 70423: (_7i5, _7i6, _7i7) => { 'use strict'; var _7i8 = null; defineModule(_7i6); Object.defineProperty(_7i6, '__esModule', { 'value': !0 }), _7i6.ShipGraphModelHolder = void 0; var _7i9 = _7i7(56409), _7ia = (function() { var _7ib = null; function _7ic() {} return _7ic.prototype.setData = function(_7id) { var _7ie = null; if (this._dic = {}, null != _7id) for (var _7if = 0; _7if < _7id.length; _7if++) { var _7ig = _7id[_7if], _7ih = new _7i9.ShipGraphModel(_7ig), _7ii = _7ih.mstID; if (_7ii > 0) { var _7ij = _7ii.toString(); this._dic[_7ij] = _7ih; } } }, _7ic.prototype.get = function(_7ik) { var _7il = null; return 1 == this._dic.hasOwnProperty(_7ik.toString()) ? this._dic[_7ik.toString()] : null; }, _7ic; }()); _7i6.ShipGraphModelHolder = _7ia; }, 12508: function(_7im, _7in, _7io) { 'use strict'; var _7ip = null; var _7iq, _7ir = this && this.__extends || (_7iq = function(_7is, _7it) { var _7iu = null; return _7iq = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_7iv, _7iw) { var _7ix = null; _7iv.__proto__ = _7iw; } || function(_7iy, _7iz) { var _7j0 = null; for (var _7j1 in _7iz) Object.prototype.hasOwnProperty.call(_7iz, _7j1) && (_7iy[_7j1] = _7iz[_7j1]); }, _7iq(_7is, _7it); }, function(_7j2, _7j3) { var _7j4 = null; if ('function' != typeof _7j3 && null !== _7j3) throw new TypeError('Class extends value ' + String(_7j3) + ' is not a constructor or null'); function _7j5() { var _7j6 = null; this.constructor = _7j2; } _7iq(_7j2, _7j3), _7j2.prototype = null === _7j3 ? Object.create(_7j3) : (_7j5.prototype = _7j3.prototype, new _7j5()); }), _7j7 = this && this.__importDefault || function(_7j8) { var _7j9 = null; return _7j8 && _7j8.__esModule ? _7j8 : { 'default': _7j8 }; }; defineModule(_7in); Object.defineProperty(_7in, '__esModule', { 'value': !0 }), _7in.ShipModelEdit = _7in.ShipModel = void 0; var _7ja = _7j7(_7io(18622)), _7jb = _7io(75134), _7jc = _7io(51805), _7jd = _7io(89939), _7je = _7io(18343), _7jf = (function() { var _7jg = null; function _7jh(_7ji) { this._o = _7ji; } return Object.defineProperty(_7jh.prototype, 'mstID', { 'get': function() { var _7jj = null; return _7jd.ObjUtil.getNumber(this._o, 'api_ship_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'memID', { 'get': function() { var _7jk = null; return _7jd.ObjUtil.getNumber(this._o, 'api_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'name', { 'get': function() { var _7jl = null; return _7ja.default.model.ship.getMst(this.mstID).name; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'yomi', { 'get': function() { var _7jm = null; return _7ja.default.model.ship.getMst(this.mstID).yomi; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'level', { 'get': function() { var _7jn = null; return _7jd.ObjUtil.getNumber(this._o, 'api_lv'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'hpMax', { 'get': function() { var _7jo = null; return _7jd.ObjUtil.getNumber(this._o, 'api_maxhp'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'hpNow', { 'get': function() { var _7jp = null; return _7jd.ObjUtil.getNumber(this._o, 'api_nowhp'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'tired', { 'get': function() { var _7jq = null; return _7jd.ObjUtil.getNumber(this._o, 'api_cond'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'karyoku', { 'get': function() { var _7jr = null; return this.karyokuOrg + this.karyokuSp; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'karyokuOrg', { 'get': function() { var _7js = null, _7jt = _7jd.ObjUtil.getNumArray(this._o, 'api_karyoku'); return null != _7jt && _7jt.length > 0 ? _7jt[0] : 0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'karyokuSp', { 'get': function() { var _7ju = null; return this._sp_effect.karyoku; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'soukou', { 'get': function() { var _7jv = null; return this.soukouOrg + this.soukouSp; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'soukouOrg', { 'get': function() { var _7jw = null, _7jx = _7jd.ObjUtil.getNumArray(this._o, 'api_soukou'); return null != _7jx && _7jx.length > 0 ? _7jx[0] : 0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'soukouSp', { 'get': function() { var _7jy = null; return this._sp_effect.soukou; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'raisou', { 'get': function() { var _7jz = null; return this.raisouOrg + this.raisouSp; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'raisouOrg', { 'get': function() { var _7k0 = null, _7k1 = _7jd.ObjUtil.getNumArray(this._o, 'api_raisou'); return null != _7k1 && _7k1.length > 0 ? _7k1[0] : 0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'raisouSp', { 'get': function() { var _7k2 = null; return this._sp_effect.raisou; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'kaihi', { 'get': function() { var _7k3 = null; return this.kaihiOrg + this.kaihiSp; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'kaihiOrg', { 'get': function() { var _7k4 = null, _7k5 = _7jd.ObjUtil.getNumArray(this._o, 'api_kaihi'); return null != _7k5 && _7k5.length > 0 ? _7k5[0] : 0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'kaihiSp', { 'get': function() { var _7k6 = null; return this._sp_effect.kaihi; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'ribbon', { 'get': function() { var _7k7 = null; return this._sp_effect.kind; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'taiku', { 'get': function() { var _7k8 = null, _7k9 = _7jd.ObjUtil.getNumArray(this._o, 'api_taiku'); return null != _7k9 && _7k9.length > 0 ? _7k9[0] : 0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'taisen', { 'get': function() { var _7ka = null, _7kb = _7jd.ObjUtil.getNumArray(this._o, 'api_taisen'); return null != _7kb && _7kb.length > 0 ? _7kb[0] : 0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'taisenMin', { 'get': function() { var _7kc = null; return this._taisen[0]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'taisenMax', { 'get': function() { var _7kd = null; return this._taisen[1]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, '_taisen', { 'get': function() { var _7ke = null; return _7jd.ObjUtil.getNumArray(this._o, 'api_taisen'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'sakuteki', { 'get': function() { var _7kf = null, _7kg = _7jd.ObjUtil.getNumArray(this._o, 'api_sakuteki'); return null != _7kg && _7kg.length > 0 ? _7kg[0] : 0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'lucky', { 'get': function() { var _7kh = null, _7ki = _7jd.ObjUtil.getNumArray(this._o, 'api_lucky'); return null != _7ki && _7ki.length > 0 ? _7ki[0] : 0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'speed', { 'get': function() { var _7kj = null; return _7jd.ObjUtil.getNumber(this._o, 'api_soku'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'speedType', { 'get': function() { var _7kk = null; return _7je.ShipUtil.getSpeedType(this.speed); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'range', { 'get': function() { var _7kl = null; return _7jd.ObjUtil.getNumber(this._o, 'api_leng'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'tousai', { 'get': function() { var _7km = null; return _7ja.default.model.ship.getMst(this.mstID).tousai; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'taikyu', { 'get': function() { var _7kn = null; return this.hpMax; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'expNextLevel', { 'get': function() { var _7ko = null, _7kp = _7jd.ObjUtil.getNumArray(this._o, 'api_exp'); return null == _7kp || _7kp.length < 2 ? 0 : _7kp[1]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'expNowRate', { 'get': function() { var _7kq = null, _7kr = _7jd.ObjUtil.getNumArray(this._o, 'api_exp'); return null == _7kr || _7kr.length < 3 ? 0 : _7kr[2]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'starNum', { 'get': function() { var _7ks = null; return _7jd.ObjUtil.getNumber(this._o, 'api_srate') + 1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'slotNum', { 'get': function() { var _7kt = null; return _7ja.default.model.ship.getMst(this.mstID).slotNum; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'shipTypeID', { 'get': function() { var _7ku = null; return _7ja.default.model.ship.getMst(this.mstID).shipTypeID; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'shipTypeName', { 'get': function() { var _7kv = null; return _7ja.default.model.ship.getMst(this.mstID).shipTypeName; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'fuelNow', { 'get': function() { var _7kw = null; return _7jd.ObjUtil.getNumber(this._o, 'api_fuel'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'ammoNow', { 'get': function() { var _7kx = null; return _7jd.ObjUtil.getNumber(this._o, 'api_bull'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'fuelMax', { 'get': function() { var _7ky = null; return _7ja.default.model.ship.getMst(this.mstID).fuelMax; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'ammoMax', { 'get': function() { var _7kz = null; return _7ja.default.model.ship.getMst(this.mstID).ammoMax; }, 'enumerable': !1, 'configurable': !0 }), _7jh.prototype.getClassType = function() { var _7l0 = null; return _7ja.default.model.ship.getMst(this.mstID).getClassType(); }, _7jh.prototype.getFuelForSupply = function() { var _7l1 = null, _7l2 = this.fuelMax - this.fuelNow; return (_7l2 = Math.max(0, _7l2)) > 0 && this.isMarriage() && (_7l2 = Math.floor(0.85 * _7l2), _7l2 = Math.max(_7l2, 1)), _7l2; }, _7jh.prototype.getAmmoForSupply = function() { var _7l3 = null, _7l4 = this.ammoMax - this.ammoNow; return (_7l4 = Math.max(0, _7l4)) > 0 && this.isMarriage() && (_7l4 = Math.floor(0.85 * _7l4), _7l4 = Math.max(_7l4, 1)), _7l4; }, _7jh.prototype.getBauxForSupply = function() { var _7l5 = null; for (var _7l6 = 0, _7l7 = 0; _7l7 < this.slotNum; _7l7++) { var _7l8 = this.getSlotitemTousai(_7l7), _7l9 = this.getSlotitemTousaiMax(_7l7), _7la = this.getSlotitems()[_7l7]; _7la && _7la.equipTypeSp == _7jc.EquipType._41_OGATA_HIKOUTEI && (_7l9 = 1), _7l6 += 5 * (_7l9 - _7l8); } return _7l6; }, Object.defineProperty(_7jh.prototype, 'sortNo', { 'get': function() { var _7lb = null; return _7ja.default.model.ship.getMst(this.mstID).sortNo; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'gradeUpHoug', { 'get': function() { var _7lc = null; return this._kyouka[0]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'gradeUpRaig', { 'get': function() { var _7ld = null; return this._kyouka[1]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'gradeUpTyku', { 'get': function() { var _7le = null; return this._kyouka[2]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'gradeUpSouk', { 'get': function() { var _7lf = null; return this._kyouka[3]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'gradeUpLuck', { 'get': function() { var _7lg = null; return this._kyouka[4]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'gradeUpTaikyu', { 'get': function() { var _7lh = null; return this._kyouka[5]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'gradeUpTaisen', { 'get': function() { var _7li = null; return this._kyouka[6]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, '_kyouka', { 'get': function() { var _7lj = null; return _7jd.ObjUtil.getNumArray(this._o, 'api_kyouka', [0, 0, 0, 0, 0, 0, 0]); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'label', { 'get': function() { var _7lk = null; return _7jd.ObjUtil.getNumber(this._o, 'api_sally_area'); }, 'enumerable': !1, 'configurable': !0 }), _7jh.prototype.isLocked = function() { var _7ll = null; return 1 == _7jd.ObjUtil.getNumber(this._o, 'api_locked'); }, _7jh.prototype.hasLockedSlotitem = function() { var _7lm = null; return 1 == _7jd.ObjUtil.getNumber(this._o, 'api_locked_equip'); }, _7jh.prototype.getSlotitems = function() { var _7ln = null; for (var _7lo = [], _7lp = _7jd.ObjUtil.getNumArray(this._o, 'api_slot'), _7lq = 0; _7lq < this.slotNum; _7lq++) { var _7lr = -1; null != _7lp && _7lp.length > _7lq && (_7lr = _7lp[_7lq]), _7lr <= 0 ? _7lo.push(null) : _7lo.push(_7ja.default.model.slot.get(_7lr)); } return _7lo; }, _7jh.prototype.getSlotViewMax = function() { var _7ls = null, _7lt = _7jd.ObjUtil.getNumber(this._o, 'api_slotnum'); return _7lt > 4 ? _7lt : 4; }, _7jh.prototype.getSlotitemTousai = function(_7lu) { var _7lv = null, _7lw = _7jd.ObjUtil.getNumArray(this._o, 'api_onslot'); return null != _7lw && _7lw.length > _7lu ? _7lw[_7lu] : 0; }, _7jh.prototype.getSlotitemTousaiMax = function(_7lx) { var _7ly = null; return _7ja.default.model.ship.getMst(this.mstID).getSlotitemTousaiMax(_7lx); }, _7jh.prototype.isExtraSlot = function() { var _7lz = null; return 0 != _7jd.ObjUtil.getNumber(this._o, 'api_slot_ex'); }, _7jh.prototype.getSlotitemEx = function() { var _7m0 = null, _7m1 = _7jd.ObjUtil.getNumber(this._o, 'api_slot_ex'); return _7m1 >= 0 ? _7ja.default.model.slot.get(_7m1) : null; }, _7jh.prototype.getDamageType = function() { var _7m2 = null; return _7je.ShipUtil.getDamageType(this.hpNow, this.hpMax); }, _7jh.prototype.isDamaged = function() { var _7m3 = null; return _7je.ShipUtil.isDamaged(this.hpNow, this.hpMax); }, _7jh.prototype.isMarriage = function() { var _7m4 = null; return _7je.ShipUtil.isMarriage(this.level); }, _7jh.prototype.isRepair = function() { var _7m5 = null; return -1 < _7ja.default.model.ndock.getShipMemIDs().indexOf(this.memID); }, _7jh.prototype.getRepairFuel = function() { var _7m6 = null; return _7jd.ObjUtil.getNumArray(this._o, 'api_ndock_item', [0, 0])[0]; }, _7jh.prototype.getRepairSteel = function() { var _7m7 = null; return _7jd.ObjUtil.getNumArray(this._o, 'api_ndock_item', [0, 0])[1]; }, _7jh.prototype.getRepairTime = function() { var _7m8 = null; return _7jd.ObjUtil.getNumber(this._o, 'api_ndock_time', 0); }, _7jh.prototype.getMaterialForBroken = function(_7m9) { var _7ma = null, _7mb = _7ja.default.model.ship.getMst(this.mstID).getMaterialForBroken(); if (1 == _7m9) for (var _7mc = this.getSlotitems(), _7md = this.getSlotitemEx(), _7me = 0, _7mf = _7mc = _7mc.concat(_7md); _7me < _7mf.length; _7me++) { var _7mg = _7mf[_7me]; if (null != _7mg) { var _7mh = _7ja.default.model.slot.getMst(_7mg.mstID); if (null != _7mh) { var _7mi = _7mh.getMaterialsFromBroken(); _7mb.fuel += _7mi.fuel, _7mb.ammo += _7mi.ammo, _7mb.steel += _7mi.steel, _7mb.baux += _7mi.baux; } } } return _7mb; }, Object.defineProperty(_7jh.prototype, 'VHP', { 'get': function() { return 2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7jh.prototype, 'VAS', { 'get': function() { return 9; }, 'enumerable': !1, 'configurable': !0 }), _7jh; }()); _7in.ShipModel = _7jf; var _7mj = function(_7mk) { var _7ml = null; function _7mm(_7mn) { var _7mo = null, _7mp = _7mk.call(this, _7mn) || this; return _7mp.__updateSpEffects__(_7mn), _7mp; } return _7ir(_7mm, _7mk), _7mm.prototype.__update__ = function(_7mq) { var _7mr = null; this._o = _7mq, this.__updateSpEffects__(_7mq); }, _7mm.prototype.__updateSpEffects__ = function(_7ms) { var _7mt = null, _7mu = _7jd.ObjUtil.getObjectArray(_7ms, 'api_sp_effect_items'), _7mv = { 'kind': _7jb.RibbonType.NONE, 'karyoku': 0, 'raisou': 0, 'soukou': 0, 'kaihi': 0 }; if (null != _7mu) for (var _7mw = 0, _7mx = _7mu; _7mw < _7mx.length; _7mw++) { var _7my = _7mx[_7mw]; if (null != _7my) { var _7mz = _7jd.ObjUtil.getNumber(_7my, 'api_kind'), _7n0 = _7jd.ObjUtil.getNumber(_7my, 'api_houg'), _7n1 = _7jd.ObjUtil.getNumber(_7my, 'api_raig'), _7n2 = _7jd.ObjUtil.getNumber(_7my, 'api_kaih'), _7n3 = _7jd.ObjUtil.getNumber(_7my, 'api_souk'); _7mz != _7jb.RibbonType.NONE && (_7mv.kind = _7mz), _7mv.karyoku += _7n0, _7mv.raisou += _7n1, _7mv.kaihi += _7n2, _7mv.soukou += _7n3; } } this._sp_effect = _7mv; }, _7mm.prototype.__setLocked__ = function(_7n4) { var _7n5 = null; this._o.api_locked = _7n4 ? 1 : 0; }, _7mm.prototype.__updateAmmo__ = function(_7n6) { var _7n7 = null; this._o.api_bull = _7n6; }, _7mm.prototype.__updateFuel__ = function(_7n8) { var _7n9 = null; this._o.api_fuel = _7n8; }, _7mm.prototype.__updateOnSlot__ = function(_7na) { var _7nb = null; this._o.api_onslot = _7na; }, _7mm.prototype.__updateSlot__ = function(_7nc, _7nd) { var _7ne = null; this._o.api_slot[_7nc] = _7nd; }, _7mm.prototype.__updateSlotAll__ = function(_7nf) { var _7ng = null; this._o.api_slot = _7nf; }, _7mm.prototype.__updateExtraSlot__ = function(_7nh) { var _7ni = null; this._o.api_slot_ex = -1; }, _7mm.prototype.__updateNowHp__ = function(_7nj) { var _7nk = null; this._o.api_nowhp = _7nj; }, _7mm.prototype.__updateNDockTime__ = function(_7nl) { var _7nm = null; this._o.api_ndock_time = _7nl; }, _7mm.prototype.__updateNDockItem__ = function(_7nn) { var _7no = null; this._o.api_ndock_item = _7nn; }, _7mm.prototype.__updateCond__ = function(_7np) { var _7nq = null; this._o.api_cond = _7np; }, _7mm; }(_7jf); _7in.ShipModelEdit = _7mj; }, 16990: function(_7nr, _7ns, _7nt) { 'use strict'; var _7nu = null; var _7nv = this && this.__importDefault || function(_7nw) { var _7nx = null; return _7nw && _7nw.__esModule ? _7nw : { 'default': _7nw }; }; defineModule(_7ns); Object.defineProperty(_7ns, '__esModule', { 'value': !0 }), _7ns.ShipModelHolder = void 0; var _7ny = _7nv(_7nt(18622)), _7nz = _7nt(18343), _7o0 = _7nt(12508), _7o1 = _7nt(82504), _7o2 = (function() { var _7o3 = null; function _7o4() {} return Object.defineProperty(_7o4.prototype, 'num', { 'get': function() { var _7o5 = null, _7o6 = 0; for (var _7o7 in this._map) _7o6++; return _7o6; }, 'enumerable': !1, 'configurable': !0 }), _7o4.prototype.setData = function(_7o8) { var _7o9 = null; if (this._map = {}, null != _7o8) for (var _7oa = 0; _7oa < _7o8.length; _7oa++) { var _7ob = _7o8[_7oa], _7oc = new _7o0.ShipModelEdit(_7ob), _7od = _7oc.memID; if (_7od > 0) { var _7oe = _7od.toString(); this._map[_7oe] = _7oc; } } }, _7o4.prototype.get = function(_7of) { var _7og = null, _7oh = _7of.toString(); return 1 == this._map.hasOwnProperty(_7oh) ? this._map[_7oh] : null; }, _7o4.prototype.delete = function(_7oi, _7oj) { var _7ok = null; void 0 === _7oj && (_7oj = !1); var _7ol = this.get(_7oi), _7om = _7ol.getSlotitems(), _7on = _7ol.getSlotitemEx(), _7oo = _7ol.memID.toString(); if (1 == this._map.hasOwnProperty(_7oo) && delete this._map[_7oo], !1 === _7oj) { for (var _7op = 0; _7op < _7om.length; _7op++) { var _7oq = _7om[_7op]; null != _7oq && _7ny.default.model.slot.delete(_7oq.memID); } null != _7on && _7ny.default.model.slot.delete(_7on.memID); } }, _7o4.prototype.getAll = function() { var _7or = null, _7os = new Array(); for (var _7ot in this._map) { var _7ou = this._map[_7ot]; _7os.push(_7ou); } return _7os; }, _7o4.prototype.getAllOther = function() { var _7ov = null, _7ow = _7nz.ShipUtil.getMemIDsInAllDeck(), _7ox = new Array(); for (var _7oy in this._map) { var _7oz = this._map[_7oy]; - 1 == _7ow.indexOf(_7oz.memID) && _7ox.push(_7oz); } return _7ox; }, _7o4.prototype.setMstData = function(_7p0) { var _7p1 = null; if (this._mapMst = {}, null != _7p0) for (var _7p2 = 0; _7p2 < _7p0.length; _7p2++) { var _7p3 = _7p0[_7p2], _7p4 = new _7o1.ShipMstModel(_7p3), _7p5 = _7p4.mstID; if (_7p5 > 0) { var _7p6 = _7p5.toString(); this._mapMst[_7p6] = _7p4; } } }, _7o4.prototype.getMst = function(_7p7) { var _7p8 = null, _7p9 = _7p7.toString(); return 1 == this._mapMst.hasOwnProperty(_7p9) ? this._mapMst[_7p9] : null; }, _7o4.prototype.updateData = function(_7pa) { var _7pb = null; if (null == this._map) return null; var _7pc = new _7o0.ShipModelEdit(_7pa), _7pd = _7pc.memID.toString(); return 1 == this._map.hasOwnProperty(_7pd) && delete this._map[_7pd], this._map[_7pd] = _7pc, _7pc; }, _7o4; }()); _7ns.ShipModelHolder = _7o2; }, 82504: function(_7pe, _7pf, _7pg) { 'use strict'; var _7ph = null; var _7pi = this && this.__importDefault || function(_7pj) { var _7pk = null; return _7pj && _7pj.__esModule ? _7pj : { 'default': _7pj }; }; defineModule(_7pf); Object.defineProperty(_7pf, '__esModule', { 'value': !0 }), _7pf.ShipMstModel = void 0; var _7pl = _7pi(_7pg(18622)), _7pm = _7pg(89939), _7pn = (function() { var _7po = null; function _7pp(_7pq) { this._o = _7pq; } return Object.defineProperty(_7pp.prototype, 'mstID', { 'get': function() { var _7pr = null; return _7pm.ObjUtil.getNumber(this._o, 'api_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'name', { 'get': function() { var _7ps = null; return _7pm.ObjUtil.getString(this._o, 'api_name'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'yomi', { 'get': function() { var _7pt = null; return _7pm.ObjUtil.getString(this._o, 'api_yomi'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'sortNo', { 'get': function() { var _7pu = null; return _7pm.ObjUtil.getNumber(this._o, 'api_sort_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'slotNum', { 'get': function() { var _7pv = null; return _7pm.ObjUtil.getNumber(this._o, 'api_slot_num'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'shipTypeID', { 'get': function() { var _7pw = null; return _7pm.ObjUtil.getNumber(this._o, 'api_stype', -1); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'shipTypeName', { 'get': function() { var _7px = null; if (553 == this.mstID || 554 == this.mstID) return '改装航空戦艦'; if (574 == this.mstID || 630 == this.mstID) return '軽(航空)巡洋艦'; if (597 == this.mstID || 696 == this.mstID) return '防空巡洋艦'; if (622 == this.mstID || 623 == this.mstID || 624 == this.mstID) return '兵装実験軽巡'; if (506 == this.mstID) return '改装航空巡洋艦'; if (699 == this.mstID) return '特務艦'; if (645 == this.mstID) return '灯台補給船'; if (650 == this.mstID) return '南極観測船'; if (900 == this.mstID || 717 == this.mstID) return '特設護衛空母'; if (945 == this.mstID || 727 == this.mstID) return '戦車揚陸艦'; if (953 == this.mstID) return '練習特務艦'; if (507 == this.mstID) return '戦闘水上機母艦'; var _7py = _7pl.default.model.shipType.get(this.shipTypeID); return null == _7py ? '' : _7py.name; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'fuelMax', { 'get': function() { var _7pz = null; return _7pm.ObjUtil.getNumber(this._o, 'api_fuel_max'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'ammoMax', { 'get': function() { var _7q0 = null; return _7pm.ObjUtil.getNumber(this._o, 'api_bull_max'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'tousai', { 'get': function() { var _7q1 = null, _7q2 = _7pm.ObjUtil.getNumArray(this._o, 'api_maxeq'); return null == _7q2 ? 0 : _7q2.reduce(function(_7q3, _7q4, _7q5, _7q6) { return _7q3 + _7q4; }); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'speed', { 'get': function() { var _7q7 = null; return _7pm.ObjUtil.getNumber(this._o, 'api_soku'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'remodeling_level', { 'get': function() { var _7q8 = null; return _7pm.ObjUtil.getNumber(this._o, 'api_afterlv'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'remodeling_ammo', { 'get': function() { var _7q9 = null; return _7pm.ObjUtil.getNumber(this._o, 'api_afterbull'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'remodeling_steel', { 'get': function() { var _7qa = null; return _7pm.ObjUtil.getNumber(this._o, 'api_afterfuel'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'remodeled_mst_id', { 'get': function() { var _7qb = null; return _7pm.ObjUtil.getNumber(this._o, 'api_aftershipid'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'availableBeLeftVoice', { 'get': function() { var _7qc = null; return (1 & this._voiceFlag) > 0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'availableBeLeftVoices', { 'get': function() { var _7qd = null; return (4 & this._voiceFlag) > 0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'availableTimeSignalVoice', { 'get': function() { var _7qe = null; return (2 & this._voiceFlag) > 0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, '_voiceFlag', { 'get': function() { var _7qf = null; return _7pm.ObjUtil.getNumber(this._o, 'api_voicef'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'powUp', { 'get': function() { var _7qg = null, _7qh = _7pm.ObjUtil.getNumArray(this._o, 'api_powup'); return 'まるゆ' == this.yomi ? _7qh.push(1) : _7qh.push(0), _7qh; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'hougMax', { 'get': function() { var _7qi = null; return this._houg[1]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'hougMin', { 'get': function() { var _7qj = null; return this._houg[0]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, '_houg', { 'get': function() { var _7qk = null; return _7pm.ObjUtil.getNumArray(this._o, 'api_houg'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'raigMax', { 'get': function() { var _7ql = null; return this._raig[1]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'raigMin', { 'get': function() { var _7qm = null; return this._raig[0]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, '_raig', { 'get': function() { var _7qn = null; return _7pm.ObjUtil.getNumArray(this._o, 'api_raig'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'tykuMax', { 'get': function() { var _7qo = null; return this._tyku[1]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'tykuMin', { 'get': function() { var _7qp = null; return this._tyku[0]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, '_tyku', { 'get': function() { var _7qq = null; return _7pm.ObjUtil.getNumArray(this._o, 'api_tyku'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'soukMax', { 'get': function() { var _7qr = null; return this._souk[1]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'soukMin', { 'get': function() { var _7qs = null; return this._souk[0]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, '_souk', { 'get': function() { var _7qt = null; return _7pm.ObjUtil.getNumArray(this._o, 'api_souk'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'luckMax', { 'get': function() { var _7qu = null; return this._luck[1]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'luckMin', { 'get': function() { var _7qv = null; return this._luck[0]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, '_luck', { 'get': function() { var _7qw = null; return _7pm.ObjUtil.getNumArray(this._o, 'api_luck'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'taikyuMin', { 'get': function() { var _7qx = null; return this._taikyu[0]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'taikyuMax', { 'get': function() { var _7qy = null; return this._taikyu[1]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, '_taikyu', { 'get': function() { var _7qz = null; return _7pm.ObjUtil.getNumArray(this._o, 'api_taik'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'taisen_base', { 'get': function() { var _7r0 = null, _7r1 = _7pm.ObjUtil.getNumArray(this._o, 'api_tais'); return null != _7r1 && _7r1.length > 0 ? _7r1[0] : 0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'rarity', { 'get': function() { var _7r2 = null; return _7pm.ObjUtil.getNumber(this._o, 'api_backs'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'build_time', { 'get': function() { var _7r3 = null; return _7pm.ObjUtil.getNumber(this._o, 'api_buildtime'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7pp.prototype, 'message_text', { 'get': function() { var _7r4 = null; return _7pm.ObjUtil.getString(this._o, 'api_getmes'); }, 'enumerable': !1, 'configurable': !0 }), _7pp.prototype.getMaterialForBroken = function() { var _7r5 = null, _7r6 = _7pm.ObjUtil.getNumArray(this._o, 'api_broken'); return { 'fuel': _7r6[0], 'ammo': _7r6[1], 'steel': _7r6[2], 'baux': _7r6[3] }; }, _7pp.prototype.getClassType = function() { var _7r7 = null; return _7pm.ObjUtil.getNumber(this._o, 'api_ctype'); }, _7pp.prototype.getSlotitemTousaiMax = function(_7r8) { var _7r9 = null, _7ra = _7pm.ObjUtil.getNumArray(this._o, 'api_maxeq'); return null == _7ra ? 0 : _7ra[_7r8]; }, _7pp; }()); _7pf.ShipMstModel = _7pn; }, 52282: function(_7rb, _7rc, _7rd) { 'use strict'; var _7re = null; var _7rf, _7rg = this && this.__extends || (_7rf = function(_7rh, _7ri) { var _7rj = null; return _7rf = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_7rk, _7rl) { var _7rm = null; _7rk.__proto__ = _7rl; } || function(_7rn, _7ro) { var _7rp = null; for (var _7rq in _7ro) Object.prototype.hasOwnProperty.call(_7ro, _7rq) && (_7rn[_7rq] = _7ro[_7rq]); }, _7rf(_7rh, _7ri); }, function(_7rr, _7rs) { var _7rt = null; if ('function' != typeof _7rs && null !== _7rs) throw new TypeError('Class extends value ' + String(_7rs) + ' is not a constructor or null'); function _7ru() { var _7rv = null; this.constructor = _7rr; } _7rf(_7rr, _7rs), _7rr.prototype = null === _7rs ? Object.create(_7rs) : (_7ru.prototype = _7rs.prototype, new _7ru()); }); defineModule(_7rc); Object.defineProperty(_7rc, '__esModule', { 'value': !0 }), _7rc.ShipTypeModelEdit = _7rc.ShipTypeModel = void 0; var _7rw = _7rd(14921), _7rx = (function() { var _7ry = null; function _7rz(_7s0) { this._o = _7s0; } return Object.defineProperty(_7rz.prototype, 'id', { 'get': function() { var _7s1 = null; return _7rw.ObjUtil.getNumber(this._o, 'api_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7rz.prototype, 'name', { 'get': function() { var _7s2 = null; return _7rw.ObjUtil.getString(this._o, 'api_name'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7rz.prototype, 'build_phase_num', { 'get': function() { var _7s3 = null; return _7rw.ObjUtil.getNumber(this._o, 'api_kcnt', 3); }, 'enumerable': !1, 'configurable': !0 }), _7rz.prototype.getEquippableTypes = function() { var _7s4 = null; if (null == this._equippqble_types) { this._equippqble_types = new Array(); var _7s5 = _7rw.ObjUtil.getObject(this._o, 'api_equip_type'); if (null != _7s5) { for (var _7s6 in _7s5) 1 == _7s5[_7s6] && this._equippqble_types.push(parseInt(_7s6)); } } return this._equippqble_types.concat(); }, _7rz.prototype.getEquippableTypesEx = function() { var _7s7 = null; if (null == this._equippqble_types_ex) return new Array(); var _7s8 = this.getEquippableTypes(), _7s9 = this._equippqble_types_ex.concat(); return _7s8.filter(function(_7sa, _7sb, _7sc) { var _7sd = null; return -1 != _7s9.indexOf(_7sa); }); }, _7rz; }()); _7rc.ShipTypeModel = _7rx; var _7se = function(_7sf) { var _7sg = null; function _7sh(_7si) { var _7sj = null; return _7sf.call(this, _7si) || this; } return _7rg(_7sh, _7sf), _7sh.prototype.__set_equippqble_types_ex__ = function(_7sk) { var _7sl = null; this._equippqble_types_ex = _7sk; }, _7sh; }(_7rx); _7rc.ShipTypeModelEdit = _7se; }, 49741: function(_7sm, _7sn, _7so) { 'use strict'; var _7sp = null; var _7sq, _7sr = this && this.__extends || (_7sq = function(_7ss, _7st) { var _7su = null; return _7sq = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_7sv, _7sw) { var _7sx = null; _7sv.__proto__ = _7sw; } || function(_7sy, _7sz) { var _7t0 = null; for (var _7t1 in _7sz) Object.prototype.hasOwnProperty.call(_7sz, _7t1) && (_7sy[_7t1] = _7sz[_7t1]); }, _7sq(_7ss, _7st); }, function(_7t2, _7t3) { var _7t4 = null; if ('function' != typeof _7t3 && null !== _7t3) throw new TypeError('Class extends value ' + String(_7t3) + ' is not a constructor or null'); function _7t5() { var _7t6 = null; this.constructor = _7t2; } _7sq(_7t2, _7t3), _7t2.prototype = null === _7t3 ? Object.create(_7t3) : (_7t5.prototype = _7t3.prototype, new _7t5()); }); defineModule(_7sn); Object.defineProperty(_7sn, '__esModule', { 'value': !0 }), _7sn.ShipTypeModelHolderEdit = _7sn.ShipTypeModelHolder = void 0; var _7t7 = _7so(52282), _7t8 = (function() { var _7t9 = null; function _7ta() { var _7tb = null; this._dic = {}; } return _7ta.prototype.get = function(_7tc) { var _7td = null, _7te = _7tc.toString(); return 1 == this._dic.hasOwnProperty(_7te) ? this._dic[_7te] : null; }, _7ta.prototype.getAllExId = function() { var _7tf = null; return this._equippable_types_ex; }, _7ta; }()); _7sn.ShipTypeModelHolder = _7t8; var _7tg = function(_7th) { var _7ti = null; function _7tj() { var _7tk = null; return _7th.call(this) || this; } return _7sr(_7tj, _7th), _7tj.prototype.__setData__ = function(_7tl) { var _7tm = null; if (this._dic = {}, null != _7tl) { for (var _7tn = 0; _7tn < _7tl.length; _7tn++) { var _7to = _7tl[_7tn], _7tp = new _7t7.ShipTypeModelEdit(_7to), _7tq = _7tp.id; if (_7tq > 0) { var _7tr = _7tq.toString(); this._dic[_7tr] = _7tp; } } this._setExEtypes(); } }, _7tj.prototype.__setEquipTypeExData__ = function(_7ts) { var _7tt = null; this._equippable_types_ex = _7ts, this._setExEtypes(); }, _7tj.prototype._setExEtypes = function() { var _7tu = null, _7tv = this._equippable_types_ex; if (null != this._dic && null != _7tv) for (var _7tw in this._dic) { this._dic[_7tw].__set_equippqble_types_ex__(_7tv); } }, _7tj; }(_7t8); _7sn.ShipTypeModelHolderEdit = _7tg; }, 90793: (_7tx, _7ty, _7tz) => { 'use strict'; var _7u0 = null; defineModule(_7ty); Object.defineProperty(_7ty, '__esModule', { 'value': !0 }), _7ty.ShipUpgradeModel = void 0; var _7u1 = _7tz(89939), _7u2 = (function() { var _7u3 = null; function _7u4(_7u5) { this._o = _7u5; } return Object.defineProperty(_7u4.prototype, 'required_level', { 'get': function() { var _7u6 = null; return _7u1.ObjUtil.getNumber(this._o, 'api_upgrade_level'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7u4.prototype, 'mst_id_before', { 'get': function() { var _7u7 = null; return _7u1.ObjUtil.getNumber(this._o, 'api_current_ship_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7u4.prototype, 'mst_id_after', { 'get': function() { var _7u8 = null; return _7u1.ObjUtil.getNumber(this._o, 'api_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7u4.prototype, 'blueprint', { 'get': function() { var _7u9 = null; return _7u1.ObjUtil.getNumber(this._o, 'api_drawing_count'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7u4.prototype, 'catapult', { 'get': function() { var _7ua = null; return _7u1.ObjUtil.getNumber(this._o, 'api_catapult_count'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7u4.prototype, 'battlereport', { 'get': function() { var _7ub = null; return _7u1.ObjUtil.getNumber(this._o, 'api_report_count'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7u4.prototype, 'newhokohesosizai', { 'get': function() { var _7uc = null; switch (this.mst_id_after) { case 546: return 3; case 591: case 592: return 2; case 666: return 1; case 911: return 136 == this.mst_id_before ? 3 : 0; default: return 0; } }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7u4.prototype, 'newkokuhesosizai', { 'get': function() { var _7ud = null; return _7u1.ObjUtil.getNumber(this._o, 'api_aviation_mat_count'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7u4.prototype, 'newhesosizai', { 'get': function() { var _7ue = null; return _7u1.ObjUtil.getNumber(this._o, 'api_arms_mat_count'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7u4.prototype, 'boiler', { 'get': function() { var _7uf = null; return _7u1.ObjUtil.getNumber(this._o, 'api_boiler_count'); }, 'enumerable': !1, 'configurable': !0 }), _7u4; }()); _7ty.ShipUpgradeModel = _7u2; }, 99678: function(_7ug, _7uh, _7ui) { 'use strict'; var _7uj = null; var _7uk, _7ul = this && this.__extends || (_7uk = function(_7um, _7un) { var _7uo = null; return _7uk = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_7up, _7uq) { var _7ur = null; _7up.__proto__ = _7uq; } || function(_7us, _7ut) { var _7uu = null; for (var _7uv in _7ut) Object.prototype.hasOwnProperty.call(_7ut, _7uv) && (_7us[_7uv] = _7ut[_7uv]); }, _7uk(_7um, _7un); }, function(_7uw, _7ux) { var _7uy = null; if ('function' != typeof _7ux && null !== _7ux) throw new TypeError('Class extends value ' + String(_7ux) + ' is not a constructor or null'); function _7uz() { var _7v0 = null; this.constructor = _7uw; } _7uk(_7uw, _7ux), _7uw.prototype = null === _7ux ? Object.create(_7ux) : (_7uz.prototype = _7ux.prototype, new _7uz()); }), _7v1 = this && this.__importDefault || function(_7v2) { var _7v3 = null; return _7v2 && _7v2.__esModule ? _7v2 : { 'default': _7v2 }; }; defineModule(_7uh); Object.defineProperty(_7uh, '__esModule', { 'value': !0 }), _7uh.ShipUpgradeModelHolderEdit = _7uh.ShipUpgradeModelHolder = void 0; var _7v4 = _7v1(_7ui(18622)), _7v5 = _7ui(90793), _7v6 = (function() { var _7v7 = null; function _7v8() { var _7v9 = null; this._USE_DEVKIT_GROUP_ = [503, 504]; } return _7v8.prototype.getRequiredLevel = function(_7va) { var _7vb = null, _7vc = this._getMst(_7va); return null == _7vc ? 0 : _7vc.remodeling_level; }, _7v8.prototype.getNextID = function(_7vd) { var _7ve = null; if (null != this._dic && 1 == this._dic.hasOwnProperty(_7vd.toString())) return this._dic[_7vd].mst_id_after; var _7vf = this._getMst(_7vd); return null == _7vf ? 0 : _7vf.remodeled_mst_id; }, _7v8.prototype.getRequires = function(_7vg) { var _7vh = null, _7vi = this._getMst(_7vg); if (null == _7vi || _7vi.remodeled_mst_id <= 0) return { 'ammo': 0, 'steel': 0, 'devkit': 0, 'buildkit': 0, 'blueprint': 0, 'catapult': 0, 'battlereport': 0, 'newhokohesosizai': 0, 'newkokuhesosizai': 0, 'newhesosizai': 0, 'boiler': 0 }; var _7vj = _7vi.remodeling_ammo, _7vk = _7vi.remodeling_steel; if (1 == this._dic.hasOwnProperty(_7vg.toString())) { var _7vl = this._dic[_7vg]; return { 'ammo': _7vj, 'steel': _7vk, 'blueprint': _7vl.blueprint, 'catapult': _7vl.catapult, 'battlereport': _7vl.battlereport, 'devkit': this._getRequiredDevkitNum(_7vg, _7vl.blueprint, _7vk), 'buildkit': this._getRequiredBuildKitNum(_7vg), 'newhokohesosizai': _7vl.newhokohesosizai, 'newkokuhesosizai': _7vl.newkokuhesosizai, 'newhesosizai': _7vl.newhesosizai, 'boiler': _7vl.boiler }; } return { 'ammo': _7vj, 'steel': _7vk, 'blueprint': 0, 'catapult': 0, 'battlereport': 0, 'devkit': this._getRequiredDevkitNum(_7vg, 0, _7vk), 'buildkit': this._getRequiredBuildKitNum(_7vg), 'newhokohesosizai': 0, 'newkokuhesosizai': 0, 'newhesosizai': 0, 'boiler': 0 }; }, _7v8.prototype._getRequiredDevkitNum = function(_7vm, _7vn, _7vo) { var _7vp = null; switch (_7vm) { case 214: case 242: case 632: case 506: case 668: case 643: case 633: case 954: case 507: return 15; case 545: case 550: case 225: case 226: case 227: case 208: case 629: case 301: case 318: case 645: case 345: case 362: case 390: case 903: case 368: case 720: case 894: return 20; case 555: case 560: case 699: case 908: return 5; case 312: case 320: case 317: case 381: return 40; case 82: case 562: case 594: case 599: case 596: case 359: case 306: case 941: return 80; case 88: return 181; case 213: return 24; case 313: case 228: case 878: case 916: return 50; case 149: return 300; case 277: case 597: return 100; case 350: case 344: case 293: case 622: case 623: case 624: case 652: case 657: case 231: case 877: case 325: return 30; case 520: return 90; case 579: case 215: case 593: return 55; case 150: return 330; case 692: case 278: return 120; case 628: return 180; case 698: case 307: return 88; case 610: return 84; case 646: case 651: case 73: case 396: case 681: case 121: return 60; case 501: case 663: return 45; case 588: case 667: case 900: case 204: case 955: case 960: return 10; case 884: return 32; case 382: return 64; case 206: return 28; case 943: return 22; case 945: return 9; case 151: return 390; case 145: return 77; case 316: return 65; case 901: return 95; case 502: return 35; default: return 0 != _7vn && -1 == this._USE_DEVKIT_GROUP_.indexOf(_7vm) || _7vo < 4500 ? 0 : _7vo < 5500 ? 10 : _7vo < 6500 ? 15 : 20; } }, _7v8.prototype._getRequiredBuildKitNum = function(_7vq) { switch (_7vq) { case 214: case 699: case 650: return 5; case 503: case 504: case 508: case 509: case 555: case 560: case 313: case 597: case 629: case 668: case 883: case 888: case 878: case 681: case 285: case 894: case 899: return 20; case 545: case 550: case 594: case 599: case 293: case 622: case 623: case 624: case 692: case 628: case 698: case 646: case 651: case 663: case 316: return 30; case 312: case 320: case 317: case 562: case 596: case 520: case 632: case 645: case 877: case 588: case 667: case 390: case 903: case 908: case 643: case 633: case 941: case 901: case 955: case 960: return 10; case 213: return 8; case 579: case 593: case 954: return 35; case 610: return 84; case 215: return 55; case 652: case 657: case 231: case 900: return 15; case 306: return 77; case 501: return 60; case 506: case 502: case 507: return 40; case 307: return 88; case 396: return 73; case 916: return 50; case 943: return 18; case 945: return 11; default: return 0; } }, _7v8.prototype._getMst = function(_7vr) { var _7vs = null; return _7v4.default.model.ship.getMst(_7vr); }, _7v8; }()); _7uh.ShipUpgradeModelHolder = _7v6; var _7vt = function(_7vu) { var _7vv = null; function _7vw() { var _7vx = null; return _7vu.call(this) || this; } return _7ul(_7vw, _7vu), _7vw.prototype.setData = function(_7vy) { var _7vz = null; if (this._dic = {}, null == _7vy) return null; for (var _7w0 = 0; _7w0 < _7vy.length; _7w0++) { var _7w1 = _7vy[_7w0], _7w2 = new _7v5.ShipUpgradeModel(_7w1), _7w3 = _7w2.mst_id_before; _7w3 <= 0 || null == this._dic[_7w3] && (this._dic[_7w3] = _7w2); } }, _7vw; }(_7v6); _7uh.ShipUpgradeModelHolderEdit = _7vt; }, 74496: (_7w4, _7w5) => { 'use strict'; var _7w6 = null; defineModule(_7w5); Object.defineProperty(_7w5, '__esModule', { 'value': !0 }), _7w5.SlotItemEffectModel = void 0; var _7w7 = (function() { var _7w8 = null; function _7w9() { var _7wa = null; this._houg = 0, this._raig = 0, this._tyku = 0, this._souk = 0, this._kaih = 0, this._tais = 0, this._saku = 0, this._baku = 0, this._houm = 0, this._leng = 0; } return Object.defineProperty(_7w9.prototype, 'houg', { 'get': function() { var _7wb = null; return this._houg; }, 'set': function(_7wc) { var _7wd = null; this._houg = _7wc; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7w9.prototype, 'raig', { 'get': function() { var _7we = null; return this._raig; }, 'set': function(_7wf) { var _7wg = null; this._raig = _7wf; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7w9.prototype, 'tyku', { 'get': function() { var _7wh = null; return this._tyku; }, 'set': function(_7wi) { var _7wj = null; this._tyku = _7wi; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7w9.prototype, 'souk', { 'get': function() { var _7wk = null; return this._souk; }, 'set': function(_7wl) { var _7wm = null; this._souk = _7wl; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7w9.prototype, 'kaih', { 'get': function() { var _7wn = null; return this._kaih; }, 'set': function(_7wo) { var _7wp = null; this._kaih = _7wo; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7w9.prototype, 'tais', { 'get': function() { var _7wq = null; return this._tais; }, 'set': function(_7wr) { var _7ws = null; this._tais = _7wr; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7w9.prototype, 'saku', { 'get': function() { var _7wt = null; return this._saku; }, 'set': function(_7wu) { var _7wv = null; this._saku = _7wu; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7w9.prototype, 'baku', { 'get': function() { var _7ww = null; return this._baku; }, 'set': function(_7wx) { var _7wy = null; this._baku = _7wx; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7w9.prototype, 'houm', { 'get': function() { var _7wz = null; return this._houm; }, 'set': function(_7x0) { var _7x1 = null; this._houm = _7x0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7w9.prototype, 'leng', { 'get': function() { var _7x2 = null; return this._leng; }, 'set': function(_7x3) { var _7x4 = null; this._leng = _7x3; }, 'enumerable': !1, 'configurable': !0 }), _7w9.prototype.paramDisp = function() { 0; }, _7w9.prototype.add = function(_7x5) { var _7x6 = null; return this._houg += _7x5.houg, this._raig += _7x5.raig, this._tyku += _7x5.tyku, this._souk += _7x5.souk, this._kaih += _7x5.kaih, this._tais += _7x5.tais, this._saku += _7x5.saku, this._baku += _7x5.baku, this._houm += _7x5.houm, this._leng += _7x5.leng, this; }, _7w9.prototype.multiply = function(_7x7) { var _7x8 = null; return this._houg *= _7x7, this._raig *= _7x7, this._tyku *= _7x7, this._souk *= _7x7, this._kaih *= _7x7, this._tais *= _7x7, this._saku *= _7x7, this._baku *= _7x7, this._houm *= _7x7, this; }, _7w9.prototype.exists = function() { var _7x9 = null; return [this._houg, this._tyku, this._kaih, this._raig, this._souk, this._tais, this._saku, this._baku, this._houm, this._leng].some(function(_7xa) { return 0 != _7xa; }); }, _7w9; }()); _7w5.SlotItemEffectModel = _7w7; }, 14558: function(_7xb, _7xc, _7xd) { 'use strict'; var _7xe = null; var _7xf = this && this.__importDefault || function(_7xg) { var _7xh = null; return _7xg && _7xg.__esModule ? _7xg : { 'default': _7xg }; }; defineModule(_7xc); Object.defineProperty(_7xc, '__esModule', { 'value': !0 }), _7xc.SlotitemModel = void 0; var _7xi = _7xf(_7xd(18622)), _7xj = _7xd(89939), _7xk = (function() { var _7xl = null; function _7xm(_7xn) { this._o = _7xn; } return Object.defineProperty(_7xm.prototype, 'mstID', { 'get': function() { var _7xo = null; return _7xj.ObjUtil.getNumber(this._o, 'api_slotitem_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7xm.prototype, 'memID', { 'get': function() { var _7xp = null; return _7xj.ObjUtil.getNumber(this._o, 'api_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7xm.prototype, 'name', { 'get': function() { var _7xq = null, _7xr = _7xi.default.model.slot.getMst(this.mstID); return null == _7xr ? '' : _7xr.name; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7xm.prototype, 'level', { 'get': function() { var _7xs = null; return _7xj.ObjUtil.getNumber(this._o, 'api_level'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7xm.prototype, 'skillLevel', { 'get': function() { var _7xt = null; return _7xj.ObjUtil.getNumber(this._o, 'api_alv'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7xm.prototype, 'cardType', { 'get': function() { var _7xu = null, _7xv = _7xi.default.model.slot.getMst(this.mstID); return null == _7xv ? 0 : _7xv.cardType; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7xm.prototype, 'equipType', { 'get': function() { var _7xw = null, _7xx = _7xi.default.model.slot.getMst(this.mstID); return null == _7xx ? 0 : _7xx.equipType; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7xm.prototype, 'equipTypeSp', { 'get': function() { var _7xy = null, _7xz = _7xi.default.model.slot.getMst(this.mstID); return null == _7xz ? 0 : _7xz.equipTypeSp; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7xm.prototype, 'iconType', { 'get': function() { var _7y0 = null, _7y1 = _7xi.default.model.slot.getMst(this.mstID); return null == _7y1 ? 0 : _7y1.iconType; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7xm.prototype, 'range', { 'get': function() { var _7y2 = null, _7y3 = _7xi.default.model.slot.getMst(this.mstID); return null == _7y3 ? 0 : _7y3.range; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7xm.prototype, 'karyoku', { 'get': function() { var _7y4 = null, _7y5 = _7xi.default.model.slot.getMst(this.mstID); return null == _7y5 ? 0 : _7y5.karyoku; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7xm.prototype, 'raisou', { 'get': function() { var _7y6 = null, _7y7 = _7xi.default.model.slot.getMst(this.mstID); return null == _7y7 ? 0 : _7y7.raisou; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7xm.prototype, 'taiku', { 'get': function() { var _7y8 = null, _7y9 = _7xi.default.model.slot.getMst(this.mstID); return null == _7y9 ? 0 : _7y9.taiku; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7xm.prototype, 'taisen', { 'get': function() { var _7ya = null, _7yb = _7xi.default.model.slot.getMst(this.mstID); return null == _7yb ? 0 : _7yb.taisen; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7xm.prototype, 'bakusou', { 'get': function() { var _7yc = null, _7yd = _7xi.default.model.slot.getMst(this.mstID); return null == _7yd ? 0 : _7yd.bakusou; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7xm.prototype, 'meichu', { 'get': function() { var _7ye = null, _7yf = _7xi.default.model.slot.getMst(this.mstID); return null == _7yf ? 0 : _7yf.meichu; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7xm.prototype, 'kaihi', { 'get': function() { var _7yg = null, _7yh = _7xi.default.model.slot.getMst(this.mstID); return null == _7yh ? 0 : _7yh.kaihi; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7xm.prototype, 'sakuteki', { 'get': function() { var _7yi = null, _7yj = _7xi.default.model.slot.getMst(this.mstID); return null == _7yj ? 0 : _7yj.sakuteki; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7xm.prototype, 'soukou', { 'get': function() { var _7yk = null, _7yl = _7xi.default.model.slot.getMst(this.mstID); return null == _7yl ? 0 : _7yl.soukou; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7xm.prototype, 'distance', { 'get': function() { var _7ym = null, _7yn = _7xi.default.model.slot.getMst(this.mstID); return null == _7yn ? 0 : _7yn.distance; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_7xm.prototype, 'cost', { 'get': function() { var _7yo = null, _7yp = _7xi.default.model.slot.getMst(this.mstID); return null == _7yp ? 0 : _7yp.cost; }, 'enumerable': !1, 'configurable': !0 }), _7xm.prototype.isLocked = function() { var _7yq = null; return 1 == _7xj.ObjUtil.getNumber(this._o, 'api_locked'); }, _7xm.prototype.__setLocked__ = function(_7yr) { var _7ys = null; this._o.api_locked = _7yr ? 1 : 0; }, _7xm.prototype.__updateObject__ = function(_7yt) { this._o = _7yt; }, _7xm.prototype.isPlane = function() { var _7yu = null, _7yv = _7xi.default.model.slot.getMst(this.mstID); return null != _7yv && _7yv.isPlane(); }, _7xm; }()); _7xc.SlotitemModel = _7xk; }, 48978: function(_7yw, _7yx, _7yy) { 'use strict'; var _7yz = null; var _7z0, _7z1 = this && this.__extends || (_7z0 = function(_7z2, _7z3) { var _7z4 = null; return _7z0 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_7z5, _7z6) { var _7z7 = null; _7z5.__proto__ = _7z6; } || function(_7z8, _7z9) { var _7za = null; for (var _7zb in _7z9) Object.prototype.hasOwnProperty.call(_7z9, _7zb) && (_7z8[_7zb] = _7z9[_7zb]); }, _7z0(_7z2, _7z3); }, function(_7zc, _7zd) { var _7ze = null; if ('function' != typeof _7zd && null !== _7zd) throw new TypeError('Class extends value ' + String(_7zd) + ' is not a constructor or null'); function _7zf() { var _7zg = null; this.constructor = _7zc; } _7z0(_7zc, _7zd), _7zc.prototype = null === _7zd ? Object.create(_7zd) : (_7zf.prototype = _7zd.prototype, new _7zf()); }), _7zh = this && this.__importDefault || function(_7zi) { var _7zj = null; return _7zi && _7zi.__esModule ? _7zi : { 'default': _7zi }; }; defineModule(_7yx); Object.defineProperty(_7yx, '__esModule', { 'value': !0 }), _7yx.SlotitemModelHolderEdit = _7yx.SlotitemModelHolder = void 0; var _7zk = _7zh(_7yy(18622)), _7zl = _7yy(65245), _7zm = _7yy(14558), _7zn = _7yy(25137), _7zo = _7yy(75134), _7zp = _7yy(14921), _7zq = (function() { var _7zr = null; function _7zs() {} return Object.defineProperty(_7zs.prototype, 'num', { 'get': function() { var _7zt = null, _7zu, _7zv = 0, _7zw = [42, 43, 145, 146, 150, 241]; for (var _7zx in this._map) { var _7zy = null === (_7zu = this._map[_7zx]) || void 0 === _7zu ? void 0 : _7zu.mstID; _7zw.indexOf(_7zy) > -1 || _7zv++; } return _7zv; }, 'enumerable': !1, 'configurable': !0 }), _7zs.prototype.get = function(_7zz) { var _800 = null, _801 = _7zz.toString(); return null != this._map && 1 == this._map.hasOwnProperty(_801) ? this._map[_801] : null; }, _7zs.prototype.delete = function(_802) { var _803 = null, _804 = _802.toString(); 1 == this._map.hasOwnProperty(_804) && delete this._map[_804]; }, _7zs.prototype.getMst = function(_805) { var _806 = null, _807 = _805.toString(); return null != this._mapMst && 1 == this._mapMst.hasOwnProperty(_807) ? this._mapMst[_807] : null; }, _7zs.prototype.getEquipTypeAll = function() { var _808 = null, _809 = new Array(); for (var _80a in this._mapMstEquipType) _809.push(this._mapMstEquipType[_80a]); return _809; }, _7zs.prototype.getEquipTypeById = function(_80b) { var _80c = null; return this._mapMstEquipType[_80b.toString()]; }, _7zs.prototype.createSetList = function(_80d, _80e, _80f, _80g) { var _80h = null; void 0 === _80d && (_80d = null), void 0 === _80e && (_80e = null), void 0 === _80f && (_80f = -1), void 0 === _80g && (_80g = null); var _80i = {}, _80j = new Array(); if (null == _80d) for (var _80k in (_80d = new Array(), this._mapMstEquipType)) { var _80l = parseInt(_80k); _80d.push(_80l); } for (var _80m = -1 != _80f, _80n = 0, _80o = _7zk.default.model.ship.getAll(); _80n < _80o.length; _80n++) { var _80p = _80o[_80n]; if (_80m) { if (_80p.memID == _80f) continue; } for (var _80q = 0, _80r = _80p.getSlotitems(); _80q < _80r.length; _80q++) { var _80s = _80r[_80q]; null != _80s && ((-1 != _80d.indexOf(_80s.equipTypeSp) || null != _80e && -1 != _80e.indexOf(_80s.mstID)) && (_80j.push(_80s), _80i[_80s.memID] = _80p.memID)); } var _80t = _80p.getSlotitemEx(); null != _80t && (-1 != _80d.indexOf(_80t.equipTypeSp) || null != _80e && -1 != _80e.indexOf(_80t.mstID)) && (_80j.push(_80t), _80i[_80t.memID] = _80p.memID); } return [_80j, _80i]; }, _7zs.prototype.createUnsetListFromMstId = function(_80u) { var _80v = null, _80w; _80w = 467 == _80u ? _7zo.EquipType._95_HUKUHOU_L : _7zk.default.model.slot.getMst(_80u).equipTypeSp; var _80x = _7zk.default.model.slot.createUnsetList([_80w]), _80y = new Array(); return _80x.forEach(function(_80z) { var _810 = null; _80z.mstID == _80u && _80y.push(_80z); }), _80y; }, _7zs.prototype.createSetListFromMstId = function(_811) { var _812 = null, _813 = _7zk.default.model.slot.getMst(_811).equipTypeSp, _814 = _7zk.default.model.slot.createSetList([_813]), _815 = new Array(), _816 = {}; return _814[0].forEach(function(_817) { var _818 = null; _817.mstID == _811 && (_815.push(_817), _816[_817.memID] = _814[1][_817.memID]); }), [_815, _816]; }, _7zs.prototype.createUnsetList = function(_819, _81a, _81b) { var _81c = null; void 0 === _819 && (_819 = null), void 0 === _81a && (_81a = null), void 0 === _81b && (_81b = null); var _81d = new Array(); if (null == _819) for (var _81e in (_819 = new Array(), this._mapUnset)) { var _81f = parseInt(_81e); _819.push(_81f); } for (var _81g = 0, _81h = _819; _81g < _81h.length; _81g++) { _81e = (_81f = _81h[_81g]).toString(); if (1 == this._mapUnset.hasOwnProperty(_81e)) { if (null == (_81i = this._mapUnset[_81e])) continue; for (var _81j = 0, _81k = _81i; _81j < _81k.length; _81j++) { var _81l = _81k[_81j]; if (1 == this._map.hasOwnProperty(_81l.toString())) { var _81m = this._map[_81l.toString()]; if (_7zp.SlotUtil.isMstEquipShipExceptionSlotItem(_81b, _81f, _81m.mstID)) continue; _81d.push(_81m); } } } } if (null != _81a) for (var _81n = 0, _81o = _81a; _81n < _81o.length; _81n++) { var _81i, _81p = _81o[_81n]; _81f = _7zk.default.model.slot.getMst(_81p).equipTypeSp; if (-1 == _819.indexOf(_81f)) { if (null != (_81i = this._mapUnset[_81f.toString()])) for (var _81q = 0, _81r = _81i; _81q < _81r.length; _81q++) { _81l = _81r[_81q]; if (1 == this._map.hasOwnProperty(_81l.toString()))(_81m = this._map[_81l.toString()]).mstID == _81p && _81d.push(_81m); } } } return _81d; }, _7zs.prototype.getExtraEquipShipData = function(_81s, _81t, _81u) { var _81v = null, _81w = [], _81x = function(_81y, _81z) { var _820 = null; if ('number' == typeof _81z) return _81y.map(function(_821) { return Number(_821); }).indexOf(_81z) > -1; for (var _822 = 0, _823 = _81z; _822 < _823.length; _822++) { var _824 = _823[_822]; if (_81y.map(function(_825) { return Number(_825); }).indexOf(_824) > -1) return !0; } return !1; }; if (null != this._extraEquipShips) for (var _826 = 0, _827 = Object.keys(this._extraEquipShips); _826 < _827.length; _826++) { var _828 = _827[_826], _829 = this._extraEquipShips[_828], _82a = parseInt(_828); if (null != _829.api_ship_ids) _81x(Object.keys(_829.api_ship_ids), _81s) && _81w.push(_82a); if (null != _829.api_ctypes) _81x(Object.keys(_829.api_ctypes), _81t) && _81w.push(_82a); if (null != _829.api_stypes) _81x(Object.keys(_829.api_stypes), [_81u, 99]) && _81w.push(_82a); } return _81w; }, _7zs.prototype.isExtraSlotEquipableLevel = function(_82b, _82c) { var _82d = null, _82e; if (null != this._extraEquipShips) for (var _82f = 0, _82g = Object.keys(this._extraEquipShips); _82f < _82g.length; _82f++) { var _82h = _82g[_82f]; if (parseInt(_82h) == _82b) { if ((null !== (_82e = this._extraEquipShips[_82h].api_req_level) && void 0 !== _82e ? _82e : 0) > _82c) return !1; } } return !0; }, _7zs.prototype.getCount = function(_82i) { var _82j = null, _82k = 0; for (var _82l in this._map) { this._map[_82l].mstID == _82i && _82k++; } return _82k; }, _7zs.prototype.getAirUnitRelocation = function() { var _82m = null; return null == this._airunit_relocation ? [] : this._airunit_relocation.concat(); }, _7zs.prototype.createUnsetList_unType = function(_82n, _82o) { var _82p = null; if (!_82n) return []; var _82q = new Array(); for (var _82r in this._mapUnset) { var _82s = parseInt(_82r); if (-1 == _82n.indexOf(_82s)) { var _82t = this._mapUnset[_82r]; if (null == _82t) continue; for (var _82u = 0, _82v = _82t; _82u < _82v.length; _82u++) { var _82w = _82v[_82u]; if (1 == this._map.hasOwnProperty(_82w.toString())) { var _82x = this._map[_82w.toString()]; _82q.push(_82x); } } } } for (var _82y = 0, _82z = _82n; _82y < _82z.length; _82y++) { var _830 = _82z[_82y], _831 = _82n.indexOf(_830), _832 = _831 > -1 ? this._mapUnset[_82n[_831]] : null; if (null != _832) for (var _833 = 0, _834 = _832; _833 < _834.length; _833++) { var _835 = _834[_833]; if (1 == this._map.hasOwnProperty(_835.toString())) null != (_82x = this._map[_835.toString()]) && _7zp.SlotUtil.isMstEquipShipExceptionSlotItem(_82o, _830, _82x.mstID) && _82q.push(_82x); } } return _82q; }, _7zs.prototype.createSetList_unType = function(_836, _837) { var _838 = null; if (void 0 === _837 && (_837 = -1), null == _836) return [ [], {} ]; for (var _839 = {}, _83a = new Array(), _83b = -1 != _837, _83c = 0, _83d = _7zk.default.model.ship.getAll(); _83c < _83d.length; _83c++) { var _83e = _83d[_83c]; if (_83b) { if (_83e.memID == _837) continue; } for (var _83f = 0, _83g = _83e.getSlotitems(); _83f < _83g.length; _83f++) { var _83h = _83g[_83f]; null != _83h && (-1 == _836.indexOf(_83h.equipTypeSp) && (_83a.push(_83h), _839[_83h.memID] = _83e.memID)); } var _83i = _83e.getSlotitemEx(); null != _83i && -1 == _836.indexOf(_83i.equipTypeSp) && (_83a.push(_83i), _839[_83i.memID] = _83e.memID); } return [_83a, _839]; }, _7zs; }()); _7yx.SlotitemModelHolder = _7zq; var _83j = function(_83k) { var _83l = null; function _83m() { var _83n = null; return null !== _83k && _83k.apply(this, arguments) || this; } return _7z1(_83m, _83k), _83m.prototype.setMemData = function(_83o) { var _83p = null; this._map = {}, this.addMemData(_83o); }, _83m.prototype.addMemData = function(_83q) { var _83r = null; if (null != _83q) for (var _83s = 0, _83t = _83q; _83s < _83t.length; _83s++) { var _83u = _83t[_83s], _83v = new _7zm.SlotitemModel(_83u), _83w = _83v.memID; if (_83w > 0) { var _83x = _83w.toString(); this._map[_83x] = _83v; } } }, _83m.prototype.setMstData = function(_83y) { var _83z = null; if (this._mapMst = {}, null != _83y) for (var _840 = 0, _841 = _83y; _840 < _841.length; _840++) { var _842 = _841[_840], _843 = new _7zn.SlotitemMstModel(_842), _844 = _843.mstID; if (_844 > 0) { var _845 = _844.toString(); this._mapMst[_845] = _843; } } }, _83m.prototype.setMstEquipTypeData = function(_846) { var _847 = null; this._mapMstEquipType = {}; for (var _848 = 0, _849 = _846; _848 < _849.length; _848++) { var _84a = _849[_848], _84b = new _7zl.EquipTypeMstModel(_84a); _84b.id > 0 && (this._mapMstEquipType[_84b.id.toString()] = _84b); } }, _83m.prototype.setUnsetData = function(_84c) { var _84d = null; for (var _84e in (this._mapUnset = {}, _84c)) { var _84f = _84e.match(/api_slottype(\d+)/); if (null != _84f && 'number' != typeof _84c[_84e]) { var _84g = _84c[_84e]; this._mapUnset[_84f[1]] = _84g; } } }, _83m.prototype.updateUnsetData = function(_84h, _84i) { var _84j = null; this._mapUnset[_84h] = _84i; }, _83m.prototype.deleteUnsetData = function(_84k) { var _84l = null; for (var _84m in this._mapUnset) { var _84n = this._mapUnset[_84m], _84o = _84n.indexOf(_84k); if (_84o >= 0) { _84n.splice(_84o, 1); break; } } }, _83m.prototype.setExtraEquipShipData = function(_84p) { var _84q = null; this._extraEquipShips = _84p; }, _83m.prototype.setAirUnitRelocation = function(_84r) { var _84s = null; null == _84r && (_84r = []), this._airunit_relocation = _84r; }, _83m.prototype.addAirUnitRelocation = function(_84t) { var _84u = null; null == this._airunit_relocation && (this._airunit_relocation = []), this._airunit_relocation.push(_84t); }, _83m; }(_7zq); _7yx.SlotitemModelHolderEdit = _83j; }, 25137: (_84v, _84w, _84x) => { 'use strict'; var _84y = null; defineModule(_84w); Object.defineProperty(_84w, '__esModule', { 'value': !0 }), _84w.SlotitemMstModel = void 0; var _84z = _84x(41503), _850 = _84x(75134), _851 = _84x(89939), _852 = (function() { var _853 = null; function _854(_855) { this._o = _855; } return Object.defineProperty(_854.prototype, 'mstID', { 'get': function() { var _856 = null; return _851.ObjUtil.getNumber(this._o, 'api_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_854.prototype, 'name', { 'get': function() { var _857 = null; return _851.ObjUtil.getString(this._o, 'api_name'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_854.prototype, 'cardType', { 'get': function() { var _858 = null, _859 = _851.ObjUtil.getNumArray(this._o, 'api_type'); return null == _859 || _859.length < 4 ? -1 : _859[1]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_854.prototype, 'equipType', { 'get': function() { var _85a = null, _85b = _851.ObjUtil.getNumArray(this._o, 'api_type'); return null == _85b || _85b.length < 4 ? -1 : _85b[2]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_854.prototype, 'equipTypeSp', { 'get': function() { var _85c = null; return 128 == this.mstID || 281 == this.mstID || 465 == this.mstID ? _850.EquipType._38_DAIKOUKEI : 142 == this.mstID || 460 == this.mstID ? _850.EquipType._93_DENTAN_L : 151 == this.mstID ? _850.EquipType._94_KANJO_TEISATSUKI : this.equipType; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_854.prototype, 'iconType', { 'get': function() { var _85d = null, _85e = _851.ObjUtil.getNumArray(this._o, 'api_type'); return null == _85e || _85e.length < 4 ? -1 : _85e[3]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_854.prototype, 'planeIconType', { 'get': function() { var _85f = null, _85g = _851.ObjUtil.getNumArray(this._o, 'api_type'); return null == _85g || _85g.length < 5 ? -1 : _85g[4]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_854.prototype, 'range', { 'get': function() { var _85h = null; return _851.ObjUtil.getNumber(this._o, 'api_leng'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_854.prototype, 'karyoku', { 'get': function() { var _85i = null; return _851.ObjUtil.getNumber(this._o, 'api_houg'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_854.prototype, 'raisou', { 'get': function() { var _85j = null; return _851.ObjUtil.getNumber(this._o, 'api_raig'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_854.prototype, 'taiku', { 'get': function() { var _85k = null; return _851.ObjUtil.getNumber(this._o, 'api_tyku'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_854.prototype, 'taisen', { 'get': function() { var _85l = null; return _851.ObjUtil.getNumber(this._o, 'api_tais'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_854.prototype, 'bakusou', { 'get': function() { var _85m = null; return _851.ObjUtil.getNumber(this._o, 'api_baku'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_854.prototype, 'meichu', { 'get': function() { var _85n = null; return _851.ObjUtil.getNumber(this._o, 'api_houm'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_854.prototype, 'kaihi', { 'get': function() { var _85o = null; return _851.ObjUtil.getNumber(this._o, 'api_houk'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_854.prototype, 'sakuteki', { 'get': function() { var _85p = null; return _851.ObjUtil.getNumber(this._o, 'api_saku'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_854.prototype, 'soukou', { 'get': function() { var _85q = null; return _851.ObjUtil.getNumber(this._o, 'api_souk'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_854.prototype, 'rarity', { 'get': function() { var _85r = null; return _851.ObjUtil.getNumber(this._o, 'api_rare', 0); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_854.prototype, 'version', { 'get': function() { var _85s = null; return _851.ObjUtil.getString(this._o, 'api_version', '1'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_854.prototype, 'distance', { 'get': function() { var _85t = null; return _851.ObjUtil.getNumber(this._o, 'api_distance'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_854.prototype, 'cost', { 'get': function() { var _85u = null; return _851.ObjUtil.getNumber(this._o, 'api_cost'); }, 'enumerable': !1, 'configurable': !0 }), _854.prototype.isPlane = function() { var _85v = null; return -1 != _84z.PlaneConst.PLANE.indexOf(this.cardType); }, _854.prototype.getMaterialsFromBroken = function() { var _85w = null, _85x = _851.ObjUtil.getNumArray(this._o, 'api_broken'); return { 'fuel': _85x[0], 'ammo': _85x[1], 'steel': _85x[2], 'baux': _85x[3] }; }, _854; }()); _84w.SlotitemMstModel = _852; }, 87497: function(_85y, _85z, _860) { 'use strict'; var _861 = null; var _862 = this && this.__importDefault || function(_863) { var _864 = null; return _863 && _863.__esModule ? _863 : { 'default': _863 }; }; defineModule(_85z); Object.defineProperty(_85z, '__esModule', { 'value': !0 }), _85z.UseItemModel = void 0; var _865 = _862(_860(18622)), _866 = _860(89939), _867 = (function() { var _868 = null; function _869(_86a) { this._o = _86a; } return Object.defineProperty(_869.prototype, 'mstID', { 'get': function() { var _86b = null; return _866.ObjUtil.getNumber(this._o, 'api_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_869.prototype, 'name', { 'get': function() { var _86c = null; return _866.ObjUtil.getString(this._o, 'api_name'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_869.prototype, 'description', { 'get': function() { var _86d = null, _86e = _866.ObjUtil.getStrArray(this._o, 'api_description'); return null != _86e && _86e.length > 0 ? _86e[0] : ''; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_869.prototype, 'count', { 'get': function() { var _86f = null; return 44 == this.mstID ? _865.default.model.basic.getCoinCount() : _866.ObjUtil.getNumber(this._o, 'api_count'); }, 'enumerable': !1, 'configurable': !0 }), _869.prototype.isUsable = function() { var _86g = null; return 4 == this._use_type; }, _869.prototype.__setCount__ = function(_86h) { var _86i = null; 44 == this.mstID ? _865.default.model.basic.setCoinCount(_86h) : this._o.api_count = _86h; }, Object.defineProperty(_869.prototype, '_use_type', { 'get': function() { var _86j = null; return _866.ObjUtil.getNumber(this._o, 'api_usetype'); }, 'enumerable': !1, 'configurable': !0 }), _869; }()); _85z.UseItemModel = _867; }, 80880: function(_86k, _86l, _86m) { 'use strict'; var _86n = null; var _86o, _86p = this && this.__extends || (_86o = function(_86q, _86r) { var _86s = null; return _86o = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_86t, _86u) { var _86v = null; _86t.__proto__ = _86u; } || function(_86w, _86x) { var _86y = null; for (var _86z in _86x) Object.prototype.hasOwnProperty.call(_86x, _86z) && (_86w[_86z] = _86x[_86z]); }, _86o(_86q, _86r); }, function(_870, _871) { var _872 = null; if ('function' != typeof _871 && null !== _871) throw new TypeError('Class extends value ' + String(_871) + ' is not a constructor or null'); function _873() { var _874 = null; this.constructor = _870; } _86o(_870, _871), _870.prototype = null === _871 ? Object.create(_871) : (_873.prototype = _871.prototype, new _873()); }), _875 = this && this.__importDefault || function(_876) { var _877 = null; return _876 && _876.__esModule ? _876 : { 'default': _876 }; }; defineModule(_86l); Object.defineProperty(_86l, '__esModule', { 'value': !0 }), _86l.UseItemModelHolderEdit = _86l.UseItemModelHolder = void 0; var _878 = _875(_86m(18622)), _879 = _86m(89939), _87a = _86m(87497), _87b = (function() { var _87c = null; function _87d() { var _87e = null; this._USEITEM_FROM_SLOTITEM = { 50: 42, 51: 43, 66: 145, 67: 146, 69: 150, 76: 241 }, this._MATERIALS_ = [31, 32, 33, 34, 2, 1, 3, 4]; } return _87d.prototype.getCount = function(_87f) { var _87g = null, _87h = this.get(_87f); return null == _87h ? 0 : _87h.count; }, _87d.prototype.get = function(_87i) { var _87j = null, _87k = _87i.toString(); return 1 == this._map.hasOwnProperty(_87k) ? this._map[_87k] : null; }, _87d.prototype.getMaterialCounts = function() { var _87l = null; return { 'fuel': this.getCount(31), 'ammo': this.getCount(32), 'steel': this.getCount(33), 'baux': this.getCount(34), 'repairKit': this.getCount(1), 'buildKit': this.getCount(2), 'devKit': this.getCount(3), 'revKit': this.getCount(4) }; }, _87d.prototype._isMaterial = function(_87m) { var _87n = null; return this._MATERIALS_.indexOf(_87m) >= 0; }, _87d; }()); _86l.UseItemModelHolder = _87b; var _87o = function(_87p) { var _87q = null; function _87r() { var _87s = null; return _87p.call(this) || this; } return _86p(_87r, _87p), _87r.prototype.setMstData = function(_87t) { var _87u = null; if (this._map = {}, null != _87t) for (var _87v = 0; _87v < _87t.length; _87v++) { var _87w = _87t[_87v], _87x = new _87a.UseItemModel(_87w), _87y = _87x.mstID; if (_87y > 0 && '' != _87x.name) { var _87z = _87y.toString(); this._map[_87z] = _87x; } } }, _87r.prototype.setMemData = function(_880) { var _881 = null; if (null != _880) { for (var _882 in this._map) { var _883 = this._map[_882], _884 = _883.mstID; 0 == this._isMaterial(_884) && 44 != _884 && _883.__setCount__(0); } for (var _885 = 0; _885 < _880.length; _885++) { var _886 = _880[_885], _887 = _879.ObjUtil.getNumber(_886, 'api_id'); if (_887 > 0) { var _888 = this.get(_887); if (null != _888) { var _889 = _879.ObjUtil.getNumber(_886, 'api_count'); _888.__setCount__(_889); } } } } }, _87r.prototype.setMaterialData = function(_88a) { var _88b = null; for (var _88c = [-1].concat(this._MATERIALS_), _88d = 0; _88d < _88a.length; _88d++) { var _88e = _88a[_88d]; if (null != _88e) { var _88f = _879.ObjUtil.getNumber(_88e, 'api_id'), _88g = _879.ObjUtil.getNumber(_88e, 'api_value'), _88h = this.get(_88c[_88f]); null != _88h && _88h.__setCount__(_88g); } } }, _87r.prototype.updateMaterials = function(_88i) { var _88j = null; for (var _88k in _88i) { var _88l = this.get(_88k); if (null != _88l) { var _88m = _88i[_88k]; _88l.__setCount__(_88m); } } }, _87r.prototype.updateCount = function() { var _88n = null, _88o = this._USEITEM_FROM_SLOTITEM; for (var _88p in _88o) { var _88q = _88o[_88p], _88r = _878.default.model.slot.getCount(_88q); this.get(_88p).__setCount__(_88r); } }, _87r; }(_87b); _86l.UseItemModelHolderEdit = _87o; }, 26112: (_88s, _88t) => { 'use strict'; var _88u = null; defineModule(_88t); Object.defineProperty(_88t, '__esModule', { 'value': !0 }), _88t.VoiceModel = void 0; var _88v = (function() { var _88w = null; function _88x() {} return Object.defineProperty(_88x.prototype, 'mst_id', { 'get': function() { var _88y = null; return this._mst_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_88x.prototype, 'voice_id', { 'get': function() { var _88z = null; return this._voice_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_88x.prototype, 'url', { 'get': function() { var _890 = null; return this._url; }, 'enumerable': !1, 'configurable': !0 }), _88x; }()); _88t.VoiceModel = _88v; }, 80340: (_891, _892, _893) => { 'use strict'; var _894 = null; defineModule(_892); Object.defineProperty(_892, '__esModule', { 'value': !0 }), _892.DeckInstantModel = void 0; var _895 = _893(63244), _896 = (function() { var _897 = null; function _898() { var _899 = null; this._dic = {}; } return _898.prototype.add = function(_89a) { var _89b = null; null != _89a && (this._dic[_89a.mem_id] = new _895.ShipInstantModel(_89a)); }, _898.prototype.addList = function(_89c) { var _89d = null; if (null != _89c) for (var _89e = 0, _89f = _89c; _89e < _89f.length; _89e++) { var _89g = _89f[_89e]; this.add(_89g); } }, _898.prototype.get = function(_89h) { var _89i = null; return 1 == this._dic.hasOwnProperty(_89h.toString()) ? this._dic[_89h] : null; }, _898.prototype.getTotalHP = function() { var _89j = null, _89k = 0; for (var _89l in this._dic) { _89k += this._dic[_89l].hp; } return _89k; }, _898; }()); _892.DeckInstantModel = _896; }, 93319: (_89m, _89n, _89o) => { 'use strict'; var _89p = null; defineModule(_89n); Object.defineProperty(_89n, '__esModule', { 'value': !0 }), _89n.DeckModelReplica = void 0; var _89q = _89o(18452), _89r = _89o(33045), _89s = (function() { var _89t = null; function _89u(_89v, _89w, _89x, _89y, _89z, _8a0, _8a1, _8a2, _8a3) { var _8a4 = null; if (void 0 === _8a2 && (_8a2 = -1), void 0 === _8a3 && (_8a3 = ''), this._medal_num = 0, this._id_second = -1, this._name_second = '', this._practice = _89w, this._medal_num = _89x, this._user_name = _89y, _89v instanceof _89q.DeckModel) { var _8a5 = _89v; this._id = _8a5.mstID, this._type = _8a5.getCombinedType(), this._name = _8a5.name, this.updateShipList(_8a5), this._id_second = _8a5.getSubDeckID(), this._name_second = _8a5.getSubDeckName(); } else this._id = _89v, this._type = _89z, this._name = _8a0, this._ships = _8a1.concat(), this._id_second = _8a2, this._name_second = _8a3; if (0 != this._type) { for (; this._ships.length < 12;) this._ships.push(null); if (this._ships.length > 12) throw new Error('DeckModelReplica'); } else { for (; this._ships.length < 6;) this._ships.push(null); if (this._ships.length > 7) throw new Error('DeckModelReplica'); } } return Object.defineProperty(_89u.prototype, 'practice', { 'get': function() { var _8a6 = null; return this._practice; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_89u.prototype, 'id', { 'get': function() { var _8a7 = null; return this._id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_89u.prototype, 'user_name', { 'get': function() { var _8a8 = null; return this._user_name; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_89u.prototype, 'name', { 'get': function() { var _8a9 = null; return this._name; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_89u.prototype, 'type', { 'get': function() { var _8aa = null; return this._type; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_89u.prototype, 'medal_num', { 'get': function() { var _8ab = null; return this._medal_num; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_89u.prototype, 'ships', { 'get': function() { var _8ac = null; return this._ships; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_89u.prototype, 'ships_main', { 'get': function() { var _8ad = null; if (0 != this._type) return this._ships.slice(0, 6); for (var _8ae = 6; _8ae < this._ships.length; _8ae++) if (null == this._ships[_8ae]) return this._ships.slice(0, _8ae); return this._ships; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_89u.prototype, 'ships_sub', { 'get': function() { var _8af = null; return 0 != this._type ? this._ships.slice(6) : null; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_89u.prototype, 'formation', { 'get': function() { var _8ag = null; return this._formation_id; }, 'set': function(_8ah) { var _8ai = null; this._formation_id = _8ah; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_89u.prototype, 'id_second', { 'get': function() { var _8aj = null; return this._id_second; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_89u.prototype, 'name_second', { 'get': function() { var _8ak = null; return this._name_second; }, 'enumerable': !1, 'configurable': !0 }), _89u.prototype.isCombined = function() { var _8al = null; return 0 != this._type; }, _89u.prototype.isYugeki = function() { var _8am = null; return 12 != this._ships.length && (this._ships.length >= 7 && null != this._ships[6]); }, _89u.prototype.getCount = function() { var _8an = null, _8ao = 0; if (null != this._ships) for (var _8ap = 0, _8aq = this._ships; _8ap < _8aq.length; _8ap++) { var _8ar = _8aq[_8ap]; null != _8ar && 0 == _8ar.isTaihi() && _8ao++; } return _8ao; }, _89u.prototype.getCountMainDeck = function() { var _8as = null; if (null == this._ships) return 0; var _8at = 0; _8at = 0 == this._type ? this._ships.length : 6; for (var _8au = 0, _8av = 0; _8av < _8at; _8av++) { var _8aw = this._ships[_8av]; null != _8aw && (1 != _8aw.isTaihi() && 1 != _8aw.isInvisible() && _8au++); } return _8au; }, _89u.prototype.getCountSubDeck = function() { var _8ax = null; if (null == this._ships) return 0; if (0 == this._type) return 0; for (var _8ay = 0, _8az = 6; _8az < this._ships.length; _8az++) { var _8b0 = this._ships[_8az]; null != _8b0 && (1 != _8b0.isTaihi() && 1 != _8b0.isInvisible() && _8ay++); } return _8ay; }, _89u.prototype.isSubmarineAll = function() { var _8b1 = null; if (null == this._ships) return !1; for (var _8b2 = 0, _8b3 = this._ships; _8b2 < _8b3.length; _8b2++) { var _8b4 = _8b3[_8b2]; if (null != _8b4 && 0 == _8b4.isSubMarine()) return !1; } return !0; }, _89u.prototype.updateShipList = function(_8b5) { var _8b6 = null, _8b7 = this._ships; this._ships = []; for (var _8b8 = _8b5.getShipListAll(), _8b9 = 0; _8b9 < _8b8.length; _8b9++) { var _8ba = _8b8[_8b9]; if (null == _8ba) this._ships.push(null); else { var _8bb = _89r.ShipModelReplica.convert(0, this.practice, _8b9, _8ba); if (null != _8b7 && _8b7.length > _8b9) { var _8bc = _8b7[_8b9]; null != _8bc && _8bb.initializeTaihi(_8bc.isTaihi()); } this._ships.push(_8bb); } } }, _89u; }()); _89n.DeckModelReplica = _89s; }, 42514: (_8bd, _8be, _8bf) => { 'use strict'; var _8bg = null; defineModule(_8be); Object.defineProperty(_8be, '__esModule', { 'value': !0 }), _8be.EscapeCandidateModel = _8be.EscapeType = void 0; var _8bh, _8bi = _8bf(14921); ! function(_8bj) { var _8bk = null; _8bj[_8bj.NONE = 0] = 'NONE', _8bj[_8bj.YUGEKI = 1] = 'YUGEKI', _8bj[_8bj.SUIRAI = 2] = 'SUIRAI'; }(_8bh || (_8be.EscapeType = _8bh = {})); var _8bl = (function() { var _8bm = null; function _8bn(_8bo) { this._o = _8bo; } return _8bn.prototype.getTargetShipIndexes = function() { var _8bp = null; if (null == this._o) return []; var _8bq = _8bi.ObjUtil.getNumArray(this._o, 'api_escape_idx'); if (null == _8bq) return []; for (var _8br = [], _8bs = 0; _8bs < _8bq.length; _8bs++) _8br.push(_8bq[_8bs] - 1); return _8br; }, _8bn.prototype.getEscapeType = function() { var _8bt = null; return null == this._o ? 0 : _8bi.ObjUtil.getNumber(this._o, 'api_escape_type', 0); }, _8bn.prototype.getTowingShipIndexes = function() { var _8bu = null; if (null == this._o) return []; var _8bv = _8bi.ObjUtil.getNumArray(this._o, 'api_tow_idx'); if (null == _8bv) return []; for (var _8bw = [], _8bx = 0; _8bx < _8bv.length; _8bx++) _8bw.push(_8bv[_8bx] - 1); return _8bw; }, _8bn; }()); _8be.EscapeCandidateModel = _8bl; }, 63244: (_8by, _8bz) => { 'use strict'; var _8c0 = null; defineModule(_8bz); Object.defineProperty(_8bz, '__esModule', { 'value': !0 }), _8bz.ShipInstantModel = void 0; var _8c1 = (function() { var _8c2 = null; function _8c3(_8c4) { var _8c5 = null; this._hp = _8c4.isInvisible() ? 0 : _8c4.hp_now, this._slotitem = []; var _8c6 = _8c4.slots; if (null != _8c6) for (var _8c7 = 0, _8c8 = _8c6; _8c7 < _8c8.length; _8c7++) { var _8c9 = _8c8[_8c7]; null != _8c9 && this._slotitem.push({ 'mst': _8c9.mst_id, 'mem': _8c9.mem_id }); } null != _8c4.slot_ex && (this._slotitem_ex = { 'mst': _8c4.slot_ex.mst_id, 'mem': _8c4.slot_ex.mem_id }); } return Object.defineProperty(_8c3.prototype, 'hp', { 'get': function() { var _8ca = null; return this._hp; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8c3.prototype, 'slotitem', { 'get': function() { var _8cb = null; return this._slotitem; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8c3.prototype, 'slotitem_ex', { 'get': function() { var _8cc = null; return this._slotitem_ex; }, 'enumerable': !1, 'configurable': !0 }), _8c3; }()); _8bz.ShipInstantModel = _8c1; }, 33045: function(_8cd, _8ce, _8cf) { 'use strict'; var _8cg = null; var _8ch = this && this.__spreadArray || function(_8ci, _8cj, _8ck) { var _8cl = null; if (_8ck || 2 === arguments.length) { for (var _8cm, _8cn = 0, _8co = _8cj.length; _8cn < _8co; _8cn++) !_8cm && _8cn in _8cj || (_8cm || (_8cm = Array.prototype.slice.call(_8cj, 0, _8cn)), _8cm[_8cn] = _8cj[_8cn]); } return _8ci.concat(_8cm || Array.prototype.slice.call(_8cj)); }, _8cp = this && this.__importDefault || function(_8cq) { var _8cr = null; return _8cq && _8cq.__esModule ? _8cq : { 'default': _8cq }; }; defineModule(_8ce); Object.defineProperty(_8ce, '__esModule', { 'value': !0 }), _8ce.ShipModelReplica = void 0; var _8cs = _8cp(_8cf(18622)), _8ct = _8cf(18343), _8cu = _8cf(46794), _8cv = _8cf(75134), _8cw = _8cf(36518), _8cx = (function() { var _8cy = null; function _8cz(_8d0, _8d1, _8d2, _8d3, _8d4, _8d5, _8d6) { var _8d7 = null; void 0 === _8d6 && (_8d6 = -1), this._karyoku = 0, this._raisou = 0, this._taiku = 0, this._soukou = 0, this._hp_init = 0, this._hp_now = 0, this._hp_max = 0, this._taihi = !1, this._invisible = !1, this._type = _8d0, this._practice = _8d1, this._index = _8d2, this._mst_id = _8d3, this._mem_id = _8d4, this._level = _8d5, this._speed = _8d6, this._slots = []; } return _8cz.convert = function(_8d8, _8d9, _8da, _8db) { var _8dc = null, _8dd = new _8cz(_8d8, _8d9, _8da, _8db.mstID, _8db.memID, _8db.level, _8db.speed); _8dd.initializeHPInfo(_8db.hpNow, _8db.hpMax); for (var _8de = _8cu.SlotitemModelReplica.converts(_8db.getSlotitems()), _8df = _8cu.SlotitemModelReplica.convert(_8db.getSlotitemEx()), _8dg = new Array(), _8dh = 0; _8dh < _8db.slotNum; _8dh++) _8dg.push(_8db.getSlotitemTousai(_8dh)); return _8dd.initializeSlots(_8de, _8df, _8dg), _8dd.initializeParams(_8db.karyoku, _8db.raisou, _8db.taiku, _8db.soukou), _8dd.initializeRibbon([_8db.ribbon]), _8dd; }, Object.defineProperty(_8cz.prototype, 'type', { 'get': function() { var _8di = null; return this._type; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8cz.prototype, 'friend', { 'get': function() { var _8dj = null; return 0 == this._type || 2 == this._type; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8cz.prototype, 'index', { 'get': function() { var _8dk = null; return this._index; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8cz.prototype, 'mst_id', { 'get': function() { var _8dl = null; return this._mst_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8cz.prototype, 'mem_id', { 'get': function() { var _8dm = null; return this._mem_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8cz.prototype, 'level', { 'get': function() { var _8dn = null; return this._level; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8cz.prototype, 'karyoku', { 'get': function() { var _8do = null; return this._karyoku; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8cz.prototype, 'raisou', { 'get': function() { var _8dp = null; return this._raisou; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8cz.prototype, 'taiku', { 'get': function() { var _8dq = null; return this._taiku; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8cz.prototype, 'soukou', { 'get': function() { var _8dr = null; return this._soukou; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8cz.prototype, 'speed', { 'get': function() { var _8ds = null; if (this._speed < 0) { var _8dt = _8cs.default.model.ship.getMst(this.mst_id); return null == _8dt ? 0 : _8dt.speed; } return this._speed; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8cz.prototype, 'hp_init', { 'get': function() { var _8du = null; return this._hp_init; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8cz.prototype, 'hp_now', { 'get': function() { var _8dv = null; return this._hp_now; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8cz.prototype, 'hp_max', { 'get': function() { var _8dw = null; return this._hp_max; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8cz.prototype, 'slots', { 'get': function() { var _8dx = null; return this._slots; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8cz.prototype, 'slot_ex', { 'get': function() { var _8dy = null; return this._slot_ex; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8cz.prototype, 'damageType', { 'get': function() { var _8dz = null; return _8ct.ShipUtil.getDamageType(this._hp_now, this._hp_max); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8cz.prototype, 'damageType_before', { 'get': function() { var _8e0 = null; return this._pre_damage_type; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8cz.prototype, 'name', { 'get': function() { var _8e1 = null, _8e2 = _8cs.default.model.ship.getMst(this.mst_id); return null == _8e2 ? '' : _8e2.name; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8cz.prototype, 'stype', { 'get': function() { var _8e3 = null, _8e4 = _8cs.default.model.ship.getMst(this.mst_id); return null == _8e4 ? -1 : _8e4.shipTypeID; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8cz.prototype, 'stype_name', { 'get': function() { var _8e5 = null, _8e6 = _8cs.default.model.ship.getMst(this.mst_id); return null == _8e6 ? '' : _8e6.shipTypeName; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8cz.prototype, 'yomi', { 'get': function() { var _8e7 = null, _8e8 = _8cs.default.model.ship.getMst(this.mst_id); return null == _8e8 ? '' : _8e8.yomi; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8cz.prototype, 'slotNum', { 'get': function() { var _8e9 = null, _8ea = _8cs.default.model.ship.getMst(this.mst_id); return null == _8ea ? 0 : _8ea.slotNum; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8cz.prototype, 'ribbon', { 'get': function() { var _8eb = null; if (null == this._ribbons) return _8cv.RibbonType.NONE; for (var _8ec = 0, _8ed = [_8cv.RibbonType.WHITE, _8cv.RibbonType.BLUE]; _8ec < _8ed.length; _8ec++) { var _8ee = _8ed[_8ec], _8ef = this._ribbons.indexOf(_8ee); if (_8ef > -1) return this._ribbons[_8ef]; } return _8cv.RibbonType.NONE; }, 'enumerable': !1, 'configurable': !0 }), _8cz.prototype.initializeHPInfo = function(_8eg, _8eh, _8ei) { var _8ej = null; void 0 === _8ei && (_8ei = !1), this._invisible = _8ei, (isNaN(_8eg) || isNaN(_8eh)) && (this._invisible = !0, _8eg = 1, _8eh = 1), this._hp_init = _8eg; var _8ek = this._practice ? 1 : 0; this._hp_now = Math.max(_8ek, _8eg), this._hp_now = Math.floor(this._hp_now), this._hp_max = _8eh, this._pre_damage_type = this.damageType; }, _8cz.prototype.initializeSlots = function(_8el, _8em, _8en) { var _8eo = null; if (this._slots = _8el, this._slot_ex = _8em, this._tousai = _8en, null != this._slots) { var _8ep = this.slotNum; this._slots.length > _8ep && this._slots.pop(), this._slots.length < _8ep && this._slots.push(null), null != this._tousai && (this._tousai.length > this._slots.length && this._tousai.pop(), this._tousai.length < this._slots.length && this._tousai.push(0)); } }, _8cz.prototype.initializeParams = function(_8eq, _8er, _8es, _8et) { var _8eu = null; this._karyoku = _8eq, this._raisou = _8er, this._taiku = _8es, this._soukou = _8et; }, _8cz.prototype.initializeRibbon = function(_8ev) { var _8ew = null; this._ribbons = _8ev; }, _8cz.prototype.initializeTaihi = function(_8ex) { var _8ey = null; this._taihi = _8ex; }, _8cz.prototype.isTaihi = function() { var _8ez = null; return this._taihi; }, _8cz.prototype.isInvisible = function() { var _8f0 = null; return this._invisible; }, _8cz.prototype.isSubMarine = function() { var _8f1 = null; return 13 == this.stype || 14 == this.stype; }, _8cz.prototype.isGround = function() { var _8f2 = null; return this.speed <= 0; }, _8cz.prototype.getTousai = function(_8f3) { var _8f4 = null; return null == this._tousai ? 0 : _8f3 < this._tousai.length ? this._tousai[_8f3] : 0; }, _8cz.prototype.isDamaged = function() { var _8f5 = null; return _8ct.ShipUtil.isDamaged(this._hp_now, this._hp_max); }, _8cz.prototype.isMarriage = function() { var _8f6 = null; return _8ct.ShipUtil.isMarriage(this._level); }, _8cz.prototype.causeDamage = function(_8f7, _8f8) { var _8f9 = null; if (void 0 === _8f8 && (_8f8 = !0), !this._invisible) { 1 == _8f8 && (this._pre_damage_type = this.damageType), this._hp_now -= Math.floor(_8f7); var _8fa = this._practice ? 1 : 0; this._hp_now = Math.max(_8fa, this._hp_now); } }, _8cz.prototype.updateHpNow = function(_8fb, _8fc) { var _8fd = null; if (void 0 === _8fc && (_8fc = !0), !this._invisible) { 1 == _8fc && (this._pre_damage_type = this.damageType), this._hp_now = Math.floor(_8fb); var _8fe = this._practice ? 1 : 0; this._hp_now = Math.max(_8fe, this._hp_now), this._hp_now = Math.min(this._hp_max, this._hp_now); } }, _8cz.prototype.hasSlot = function(_8ff, _8fg) { var _8fh = null; void 0 === _8fg && (_8fg = !0); for (var _8fi = 0, _8fj = this._slots; _8fi < _8fj.length; _8fi++) { var _8fk = _8fj[_8fi]; if (null != _8fk && _8fk.mst_id == _8ff) return !0; } return !(!_8fg || null == this._slot_ex || this._slot_ex.mst_id != _8ff); }, _8cz.prototype.hasSlotByEquipType = function(_8fl, _8fm) { var _8fn = null; void 0 === _8fm && (_8fm = !0); for (var _8fo = 0, _8fp = this._slots; _8fo < _8fp.length; _8fo++) { var _8fq = _8fp[_8fo]; if (null != _8fq && _8fq.equipTypeSp == _8fl) return !0; } return !(!_8fm || null == this._slot_ex || this._slot_ex.equipTypeSp != _8fl); }, _8cz.prototype.hasYouin = function() { var _8fr = null; return this.hasSlot(42); }, _8cz.prototype.hasMegami = function() { var _8fs = null; return this.hasSlot(43); }, _8cz.prototype.hasSmoke = function() { var _8ft = null; return (this.hasSlot(500) || this.hasSlot(501)) && !this._taihi; }, _8cz.prototype.hasBalloon = function() { var _8fu = null, _8fv = this, _8fw = _8ch([513], _8cw.ENEMY_BALLOON, !0); return 0 != this.damageType && (!this.isTaihi() && (!this.isInvisible() && !!_8fw.some(function(_8fx) { var _8fy = null; return _8fv.hasSlot(_8fx); }))); }, _8cz.prototype.useReplenishment = function() { var _8fz = null; if (null != this._slot_ex && 146 == this._slot_ex.mst_id) return this._slot_ex = null, !0; var _8g0 = this._slots; if (null == _8g0) return !1; for (var _8g1 = _8g0.length - 1; _8g1 >= 0; _8g1--) { var _8g2 = _8g0[_8g1]; if (null != _8g2 && 146 == _8g2.mst_id) return this._slots.splice(_8g1, 1), this._slots.push(null), !0; } return !1; }, _8cz.prototype.useRation = function() { var _8g3 = null, _8g4 = 145, _8g5 = 150; return 1 == this._useRation(241) ? 1 == this._useRation(_8g5) ? [241, _8g5] : [241] : 1 == this._useRation(_8g5) ? 1 == this._useRation(_8g4) ? [_8g4, _8g5] : [_8g5] : 1 == this._useRation(_8g4) ? [_8g4] : []; }, _8cz.prototype._useRation = function(_8g6) { var _8g7 = null; if (null != this.slot_ex && this.slot_ex.mst_id == _8g6) return this._slot_ex = null, !0; var _8g8 = this._slots; if (null == _8g8) return !1; for (var _8g9 = _8g8.length - 1; _8g9 >= 0; _8g9--) { var _8ga = _8g8[_8g9]; if (null != _8ga && _8ga.mst_id == _8g6) return this._slots.splice(_8g9, 1), this._slots.push(null), !0; } return !1; }, _8cz.prototype.useRepairItem = function() { var _8gb = null; if (null != this._slot_ex) { if (42 == this._slot_ex.mst_id) return this._slot_ex = null, this._repair(1), 1; if (43 == this._slot_ex.mst_id) return this._slot_ex = null, this._repair(2), 2; } var _8gc = this._slots; if (null == _8gc) return 0; for (var _8gd = 0; _8gd < _8gc.length; _8gd++) { var _8ge = _8gc[_8gd]; if (null != _8ge) { if (42 == _8ge.mst_id) return this._slots.splice(_8gd, 1), this._slots.push(null), this._repair(1), 1; if (43 == _8ge.mst_id) return this._slots.splice(_8gd, 1), this._slots.push(null), this._repair(2), 2; } } return 0; }, _8cz.prototype.selectRepairItem = function(_8gf) { var _8gg = null, _8gh; if (1 == _8gf) _8gh = 42; else { if (2 != _8gf) return; _8gh = 43; } if (null != this._slot_ex && this._slot_ex.mst_id == _8gh) return this._slot_ex = null, void this._repair(_8gf); var _8gi = this._slots; if (null != _8gi) for (var _8gj = 0; _8gj < _8gi.length; _8gj++) { var _8gk = _8gi[_8gj]; if (null != _8gk && _8gk.mst_id == _8gh) return this._slots.splice(_8gj, 1), this._slots.push(null), void this._repair(_8gf); } }, _8cz.prototype.clone = function() { var _8gl = null, _8gm = new _8cz(this._type, this._practice, this._index, this.mst_id, this.mem_id, this.level, this._speed); _8gm.initializeHPInfo(this._hp_now, this._hp_max, this._invisible); var _8gn = null; if (null != this._slots) { _8gn = new Array(); for (var _8go = 0, _8gp = this._slots; _8go < _8gp.length; _8go++) { var _8gq = _8gp[_8go]; null == _8gq ? _8gn.push(null) : _8gn.push(_8gq.clone()); } } var _8gr = null; null != this._slot_ex && (_8gr = this._slot_ex.clone()); var _8gs = null; if (null != this._tousai) { _8gs = new Array(); for (var _8gt = 0, _8gu = this._tousai; _8gt < _8gu.length; _8gt++) { var _8gv = _8gu[_8gt]; _8gs.push(_8gv); } } return _8gm.initializeSlots(_8gn, _8gr, _8gs), _8gm.initializeParams(this._karyoku, this._raisou, this.taiku, this._soukou), _8gm.initializeTaihi(this._taihi), _8gm.initializeRibbon(this._ribbons), _8gm; }, _8cz.prototype._repair = function(_8gw) { var _8gx = null; if (1 == _8gw) { var _8gy = Math.floor(0.2 * this._hp_max); this.updateHpNow(_8gy); } else 2 == _8gw && this.updateHpNow(this._hp_max); }, _8cz.prototype.toString = function() { var _8gz = null; return '[' ['concat'](this.index, ']').concat(this.name, '(').concat(this.mst_id, ')'); }, _8cz; }()); _8ce.ShipModelReplica = _8cx; }, 46794: function(_8h0, _8h1, _8h2) { 'use strict'; var _8h3 = null; var _8h4 = this && this.__importDefault || function(_8h5) { var _8h6 = null; return _8h5 && _8h5.__esModule ? _8h5 : { 'default': _8h5 }; }; defineModule(_8h1); Object.defineProperty(_8h1, '__esModule', { 'value': !0 }), _8h1.SlotitemModelReplica = void 0; var _8h7 = _8h4(_8h2(18622)), _8h8 = (function() { var _8h9 = null; function _8ha(_8hb, _8hc, _8hd, _8he) { var _8hf = null; void 0 === _8hc && (_8hc = 0), void 0 === _8hd && (_8hd = 0), void 0 === _8he && (_8he = -1), this._mem_id = 0, this._level = 0, this._mst_id = _8hb, this._mem_id = _8hc, this._level = _8hd, this._sakuteki = _8he; } return _8ha.convert = function(_8hg) { var _8hh = null; return null == _8hg ? null : new _8ha(_8hg.mstID, _8hg.memID, _8hg.level, _8hg.sakuteki); }, _8ha.convertFromMstIDs = function(_8hi) { var _8hj = null; if (null == _8hi) return null; for (var _8hk = new Array(), _8hl = 0, _8hm = _8hi; _8hl < _8hm.length; _8hl++) { var _8hn = _8hm[_8hl]; _8hn > 0 ? _8hk.push(new _8ha(_8hn)) : _8hk.push(null); } return _8hk; }, _8ha.converts = function(_8ho) { var _8hp = null; if (null == _8ho) return null; var _8hq = new Array(); if (null != _8ho) for (var _8hr = 0, _8hs = _8ho; _8hr < _8hs.length; _8hr++) { var _8ht = _8hs[_8hr]; _8hq.push(_8ha.convert(_8ht)); } return _8hq; }, Object.defineProperty(_8ha.prototype, 'mst_id', { 'get': function() { var _8hu = null; return this._mst_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8ha.prototype, 'mem_id', { 'get': function() { var _8hv = null; return this._mem_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8ha.prototype, 'level', { 'get': function() { var _8hw = null; return this._level; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8ha.prototype, 'name', { 'get': function() { var _8hx = null; return _8h7.default.model.slot.getMst(this._mst_id).name; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8ha.prototype, 'iconType', { 'get': function() { var _8hy = null; return _8h7.default.model.slot.getMst(this._mst_id).iconType; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8ha.prototype, 'equipType', { 'get': function() { var _8hz = null; return _8h7.default.model.slot.getMst(this._mst_id).equipType; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8ha.prototype, 'equipTypeSp', { 'get': function() { var _8i0 = null; return _8h7.default.model.slot.getMst(this._mst_id).equipTypeSp; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8ha.prototype, 'sakuteki', { 'get': function() { var _8i1 = null; return this._sakuteki >= 0 ? this._sakuteki : _8h7.default.model.slot.getMst(this._mst_id).sakuteki; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8ha.prototype, 'taiku', { 'get': function() { var _8i2 = null; return _8h7.default.model.slot.getMst(this._mst_id).taiku; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8ha.prototype, 'taisen', { 'get': function() { var _8i3 = null; return _8h7.default.model.slot.getMst(this._mst_id).taisen; }, 'enumerable': !1, 'configurable': !0 }), _8ha.prototype.clone = function() { var _8i4 = null; return new _8ha(this._mst_id, this._mem_id, this._level, this._sakuteki); }, _8ha; }()); _8h1.SlotitemModelReplica = _8h8; }, 8305: (_8i5, _8i6, _8i7) => { 'use strict'; var _8i8 = null; defineModule(_8i6); Object.defineProperty(_8i6, '__esModule', { 'value': !0 }), _8i6.BattleSceneModel = void 0; var _8i9 = _8i7(80340), _8ia = (function() { var _8ib = null; function _8ic(_8id) { var _8ie = null; this._supplied = -1, this._use_ration = -1, this._use_smoke = -1, this._gauge_now = 0, this._gauge_max = 0, this._stage = 1, this.m1 = 0, this.m10 = 0, this._gekimetsu_data = null, this._skip = !1, this._practice = _8id, this._map_info = new _8if(), this._ship_info = new _8ig(); } return Object.defineProperty(_8ic.prototype, 'map_info', { 'get': function() { var _8ih = null; return this._map_info; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8ic.prototype, 'ship_info', { 'get': function() { var _8ii = null; return this._ship_info; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8ic.prototype, 'flag', { 'get': function() { var _8ij = null; return this._flag; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8ic.prototype, 'supplied', { 'get': function() { var _8ik = null; return this._supplied; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8ic.prototype, 'use_ration', { 'get': function() { var _8il = null; return this._use_ration; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8ic.prototype, 'use_smoke', { 'get': function() { var _8im = null; return this._use_smoke; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8ic.prototype, 'gauge_now', { 'get': function() { var _8in = null; return this._gauge_now; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8ic.prototype, 'gauge_max', { 'get': function() { var _8io = null; return this._gauge_max; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8ic.prototype, 'stage', { 'get': function() { var _8ip = null; return this._stage; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8ic.prototype, 'gauge_type', { 'get': function() { var _8iq = null; return this._gauge_type; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8ic.prototype, 'deck_f', { 'get': function() { var _8ir = null; return this._deck_f; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8ic.prototype, 'deck_e', { 'get': function() { var _8is = null; return this._deck_e; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8ic.prototype, 'actual_survey_time', { 'get': function() { var _8it = null; return this._actual_survey_time; }, 'set': function(_8iu) { var _8iv = null; this._actual_survey_time = _8iu; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8ic.prototype, 'prediction_time', { 'get': function() { var _8iw = null; return this._prediction_time; }, 'set': function(_8ix) { var _8iy = null; this._prediction_time = _8ix; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8ic.prototype, 'gekimetsu_data', { 'get': function() { var _8iz = null; return this._gekimetsu_data; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8ic.prototype, 'skip', { 'get': function() { return !1; }, 'set': function(_8j0) { var _8j1 = null; this._skip = _8j0; }, 'enumerable': !1, 'configurable': !0 }), _8ic.prototype.updateDeckData = function(_8j2, _8j3) { var _8j4 = null; this._deck_f = _8j2, this._deck_e = _8j3; }, _8ic.prototype.setMapData = function(_8j5, _8j6, _8j7) { var _8j8 = null; this._flag = _8j5, this._supplied = _8j6, this._use_ration = _8j7; }, _8ic.prototype.setSmoke = function(_8j9) { var _8ja = null; this._use_smoke = _8j9; }, _8ic.prototype.setMapGaugeInfo = function(_8jb, _8jc, _8jd, _8je) { var _8jf = null; this._gauge_now = _8jb, this._gauge_max = _8jc, this._gauge_type = _8jd, this._stage = _8je; }, _8ic.prototype.setGekimetsuData = function(_8jg) { var _8jh = null; this._gekimetsu_data = _8jg; }, _8ic.prototype.isPractice = function() { var _8ji = null; return this._practice; }, _8ic; }()); _8i6.BattleSceneModel = _8ia; var _8if = (function() { var _8jj = null; function _8jk() { var _8jl = null; this._area_id = 0, this._map_no = 0, this._cell_no = 0, this._boss = !1, this._type = 1; } return Object.defineProperty(_8jk.prototype, 'area_id', { 'get': function() { var _8jm = null; return this._area_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8jk.prototype, 'map_no', { 'get': function() { var _8jn = null; return this._map_no; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8jk.prototype, 'cell_no', { 'get': function() { var _8jo = null; return this._cell_no; }, 'enumerable': !1, 'configurable': !0 }), _8jk.prototype.init = function(_8jp, _8jq, _8jr, _8js, _8jt) { var _8ju = null; this._area_id = _8jp, this._map_no = _8jq, this._cell_no = _8jr, this._boss = _8js, this._type = _8jt; }, _8jk.prototype.isBoss = function() { var _8jv = null; return this._boss; }, _8jk.prototype.isNightStart = function() { var _8jw = null; return 2 == this._type || this.isNightToDayStart(); }, _8jk.prototype.isNightToDayStart = function() { var _8jx = null; return 3 == this._type || 7 == this._type; }, _8jk.prototype.isAirBattle = function() { var _8jy = null; return 4 == this._type; }, _8jk.prototype.isVS12 = function() { var _8jz = null; return 5 == this._type || 7 == this._type; }, _8jk.prototype.isAirRaid = function() { var _8k0 = null; return 6 == this._type; }, _8jk.prototype.isLongRangeFires = function() { var _8k1 = null; return 8 == this._type; }, _8jk; }()), _8ig = (function() { var _8k2 = null; function _8k3() { var _8k4 = null; this._list = []; } return _8k3.prototype.add = function(_8k5, _8k6) { var _8k7 = null, _8k8 = new _8i9.DeckInstantModel(); _8k8.addList(_8k5); var _8k9 = new _8i9.DeckInstantModel(); _8k9.addList(_8k6); var _8ka = { 'f': _8k8, 'e': _8k9 }; this._list.push(_8ka); }, _8k3.prototype.getFirstData = function(_8kb) { var _8kc = null; if (null == this._list) return null; if (0 == this._list.length) return null; var _8kd = this._list[0]; return _8kb ? _8kd.f : _8kd.e; }, _8k3.prototype.getLastData = function(_8ke) { var _8kf = null; if (null == this._list) return null; if (0 == this._list.length) return null; var _8kg = this._list.length, _8kh = this._list[_8kg - 1]; return _8ke ? _8kh.f : _8kh.e; }, _8k3; }()); }, 68028: function(_8ki, _8kj, _8kk) { 'use strict'; var _8kl = null; var _8km, _8kn = this && this.__extends || (_8km = function(_8ko, _8kp) { var _8kq = null; return _8km = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_8kr, _8ks) { var _8kt = null; _8kr.__proto__ = _8ks; } || function(_8ku, _8kv) { var _8kw = null; for (var _8kx in _8kv) Object.prototype.hasOwnProperty.call(_8kv, _8kx) && (_8ku[_8kx] = _8kv[_8kx]); }, _8km(_8ko, _8kp); }, function(_8ky, _8kz) { var _8l0 = null; if ('function' != typeof _8kz && null !== _8kz) throw new TypeError('Class extends value ' + String(_8kz) + ' is not a constructor or null'); function _8l1() { var _8l2 = null; this.constructor = _8ky; } _8km(_8ky, _8kz), _8ky.prototype = null === _8kz ? Object.create(_8kz) : (_8l1.prototype = _8kz.prototype, new _8l1()); }); defineModule(_8kj); Object.defineProperty(_8kj, '__esModule', { 'value': !0 }), _8kj.ItemSceneModel = void 0; var _8l3 = function(_8l4) { var _8l5 = null; function _8l6(_8l7) { var _8l8 = null; void 0 === _8l7 && (_8l7 = 1); var _8l9 = _8l4.call(this) || this; return _8l9._subtype = _8l7, _8l9; } return _8kn(_8l6, _8l4), Object.defineProperty(_8l6.prototype, 'subtype', { 'get': function() { var _8la = null; return this._subtype; }, 'enumerable': !1, 'configurable': !0 }), _8l6; }(_8kk(27218).SceneModel); _8kj.ItemSceneModel = _8l3; }, 62399: function(_8lb, _8lc, _8ld) { 'use strict'; var _8le = null; var _8lf, _8lg = this && this.__extends || (_8lf = function(_8lh, _8li) { var _8lj = null; return _8lf = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_8lk, _8ll) { var _8lm = null; _8lk.__proto__ = _8ll; } || function(_8ln, _8lo) { var _8lp = null; for (var _8lq in _8lo) Object.prototype.hasOwnProperty.call(_8lo, _8lq) && (_8ln[_8lq] = _8lo[_8lq]); }, _8lf(_8lh, _8li); }, function(_8lr, _8ls) { var _8lt = null; if ('function' != typeof _8ls && null !== _8ls) throw new TypeError('Class extends value ' + String(_8ls) + ' is not a constructor or null'); function _8lu() { var _8lv = null; this.constructor = _8lr; } _8lf(_8lr, _8ls), _8lr.prototype = null === _8ls ? Object.create(_8ls) : (_8lu.prototype = _8ls.prototype, new _8lu()); }); defineModule(_8lc); Object.defineProperty(_8lc, '__esModule', { 'value': !0 }), _8lc.PracticeSceneModel = void 0; var _8lw = function(_8lx) { var _8ly = null; function _8lz(_8m0, _8m1) { var _8m2 = null, _8m3 = _8lx.call(this) || this; return _8m3._deck_f = _8m0, _8m3._deck_e = _8m1, _8m3; } return _8lg(_8lz, _8lx), Object.defineProperty(_8lz.prototype, 'deck_f', { 'get': function() { var _8m4 = null; return this._deck_f; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8lz.prototype, 'deck_e', { 'get': function() { var _8m5 = null; return this._deck_e; }, 'enumerable': !1, 'configurable': !0 }), _8lz; }(_8ld(27218).SceneModel); _8lc.PracticeSceneModel = _8lw; }, 27218: (_8m6, _8m7) => { 'use strict'; var _8m8 = null; defineModule(_8m7); Object.defineProperty(_8m7, '__esModule', { 'value': !0 }), _8m7.SceneModel = void 0; var _8m9 = function() {}; _8m7.SceneModel = _8m9; }, 93788: function(_8ma, _8mb, _8mc) { 'use strict'; var _8md = null; var _8me, _8mf = this && this.__extends || (_8me = function(_8mg, _8mh) { var _8mi = null; return _8me = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_8mj, _8mk) { var _8ml = null; _8mj.__proto__ = _8mk; } || function(_8mm, _8mn) { var _8mo = null; for (var _8mp in _8mn) Object.prototype.hasOwnProperty.call(_8mn, _8mp) && (_8mm[_8mp] = _8mn[_8mp]); }, _8me(_8mg, _8mh); }, function(_8mq, _8mr) { var _8ms = null; if ('function' != typeof _8mr && null !== _8mr) throw new TypeError('Class extends value ' + String(_8mr) + ' is not a constructor or null'); function _8mt() { var _8mu = null; this.constructor = _8mq; } _8me(_8mq, _8mr), _8mq.prototype = null === _8mr ? Object.create(_8mr) : (_8mt.prototype = _8mr.prototype, new _8mt()); }), _8mv = this && this.__importDefault || function(_8mw) { var _8mx = null; return _8mw && _8mw.__esModule ? _8mw : { 'default': _8mw }; }; defineModule(_8mb); Object.defineProperty(_8mb, '__esModule', { 'value': !0 }), _8mb.AppInitializeTask = void 0; var _8my = _8mv(_8mc(83300)), _8mz = _8mv(_8mc(18622)), _8n0 = _8mc(89939), _8n1 = _8mc(35660), _8n2 = _8mc(23781), _8n3 = _8mc(32797), _8n4 = _8mc(99554), _8n5 = _8mc(81755), _8n6 = _8mc(58375), _8n7 = _8mc(47431), _8n8 = _8mc(33353), _8n9 = _8mc(55582), _8na = _8mc(52224), _8nb = _8mc(13748), _8nc = _8mc(29627), _8nd = _8mc(46957), _8ne = function(_8nf) { var _8ng = null; function _8nh(_8ni) { var _8nj = null, _8nk = _8nf.call(this) || this; return _8nk._finishedPlayTitleCallTask = !1, _8nk._finishedPreInitPortTask = !1, _8nk._TutorialScene = null, _8nk._isTutorial = !1, _8nk._tutorialEnd = function() { var _8nl = null; _8nk._isTutorial = !1, _8nk._TutorialScene.emitter.off('tutorial-event-end', _8nk._tutorialEnd), _8mz.default.view.removeChild(_8nk._TutorialScene), _8nk._preInitPort(); }, _8n7.TaskSceneChange.__factory__ = _8nm, _8mz.default.settings.initialize(_8ni), _8nk; } return _8mf(_8nh, _8nf), _8nh.prototype._start = function() { var _8nn = null, _8no = this; _8mz.default.option.initialize(function() { var _8np = null; _8mz.default.view.initialize(new _8nc.PortScene()), _8no._loadVersionFile(); }); }, _8nh.prototype._loadVersionFile = function() { var _8nq = null, _8nr = this, _8ns = _8mz.default.settings.version, _8nt = './version.json'['concat'](_8ns ? '?' + _8ns : ''); _8my.default.get(_8nt).then(function(_8nu) { var _8nv = null, _8nw = _8n0.ObjUtil.getObject(_8nu, 'data'); _8nb.UIImageLoader.setVersionData(_8nw), _8nr._loadTitleResource(); }).catch(function() { var _8nx = null; _8mz.default.view.showError('Load Error.version.json.'); }); }, _8nh.prototype._loadTitleResource = function() { var _8ny = null, _8nz = this; new _8n9.TaskLoadResourcesTitle().start(function() { var _8o0 = null; _8nz._showTitle(); }); }, _8nh.prototype._showTitle = function() { var _8o1 = null; this._pukapuka = new _8na.PukapukaLayer(), this._pukapuka.initialize(), this._pukapuka.visible = !1, _8mz.default.view.addChild(this._pukapuka); var _8o2 = new _8n6.TitleViewMain(); _8o2.initialize(), _8mz.default.view.addChild(_8o2), this._loadCommonResources(_8o2); }, _8nh.prototype._loadCommonResources = function(_8o3) { var _8o4 = null, _8o5 = this; new _8n8.TaskLoadResourcesCommon(function(_8o6) { var _8o7 = null; _8o3.setProgress(_8o6); }).start(function() { var _8o8 = null; _8o5._showStartPage(_8o3); }); }, _8nh.prototype._showStartPage = function(_8o9) { var _8oa = null, _8ob = this; _8o9.showSecondPageTween(function() { var _8oc = null; _8o9.waitClickTween(function() { var _8od = null; _8ob._playTitleCall(), _8ob._hideTitle(_8o9); }); }); }, _8nh.prototype._playTitleCall = function() { var _8oe = null, _8of = this, _8og = Math.floor(103 * Math.random()) + 1; _8mz.default.sound.voice.play('titlecall_1', _8og, function() { var _8oh = null, _8oi = Math.floor(64 * Math.random()) + 1; _8mz.default.sound.voice.play('titlecall_2', _8oi, function() { var _8oj = null; _8of._finishedPlayTitleCallTask = !0, _8of._nextTask(); }); }), _8ok.HTML5_AUDIO && _8mz.default.sound.bgm.play(0, !1); }, _8nh.prototype._hideTitle = function(_8ol) { var _8om = null, _8on = this; this._pukapuka.visible = !0, this._pukapuka.activate(), _8mz.default.view.portMain.visible = !1, createjs.Tween.get(_8ol).to({ 'alpha': 0 }, 500).call(function() { var _8oo = null; _8mz.default.view.removeChild(_8ol), _8ol.dispose(), _8on._connectAPI(); }); }, _8nh.prototype._connectAPI = function() { var _8op = null, _8oq = this; new _8n1.APIConnector().add(new _8n4.GetIncentiveAPI()).add(new _8n2.GetDataAPI()).add(new _8n3.RequireInfoAPI()).start(function() { var _8or = null; _8mz.default.model.basic.firstFlag ? (_8oq._isTutorial = !0, _8oq._nextTask()) : _8oq._preInitPort(); }); }, _8nh.prototype._startTutorial = function() { var _8os = null; this._TutorialScene = new _8nd.TutorialScene(), this._TutorialScene.visible = !1, this._TutorialScene.alpha = 0, this._TutorialScene.emitter.on('tutorial-event-end', this._tutorialEnd), _8mz.default.view.addChild(this._TutorialScene), this._TutorialScene.visible = !0, createjs.Tween.get(this._TutorialScene).to({ 'alpha': 1 }, 600); }, _8nh.prototype._preInitPort = function() { var _8ot = null, _8ou = this; _8mz.default.view.getNowScene().getPreInitializeTask(0).start(function() { var _8ov = null; _8ou._finishedPreInitPortTask = !0, _8ou._nextTask(); }); }, _8nh.prototype._nextTask = function() { var _8ow = null; this._finishedPlayTitleCallTask && (this._finishedPreInitPortTask ? this._hidePukapuka() : this._isTutorial && this._startTutorial()); }, _8nh.prototype._hidePukapuka = function() { var _8ox = null, _8oy = this; _8mz.default.view.portMain.fadeLayer.alpha = 1, _8mz.default.view.portMain.fadeLayer.visible = !0, _8mz.default.view.portMain.visible = !0, createjs.Tween.get(this._pukapuka).to({ 'alpha': 0 }, 600).call(function() { var _8oz = null; _8mz.default.view.removeChild(_8oy._pukapuka), _8oy._pukapuka.dispose(), _8oy._pukapuka = null, _8nb.UIImageLoader.clearMemoryCache('title'); var _8p0 = _8mz.default.view.portMain.ringMenu; _8p0.initialize(), _8p0.prePosition(), createjs.Tween.get(_8mz.default.view.portMain.fadeLayer).to({ 'alpha': 0 }, 500).call(function() { var _8p1 = null; _8mz.default.view.portMain.fadeLayer.visible = !1, _8p0.startAnimation(), _8mz.default.view.portMain.sideMenu.initialize(); }), _8oy._initPort(); }); }, _8nh.prototype._initPort = function() { var _8p2 = null, _8p3 = this; _8mz.default.view.getNowScene().getInitializeTask(0).start(function() { var _8p4 = null; _8p3._endTask(); }); }, _8nh; }(_8n5.TaskBase); _8mb.AppInitializeTask = _8ne; var _8p5 = _8mc(73300), _8p6 = _8mc(65108), _8p7 = _8mc(9604), _8p8 = _8mc(20726), _8p9 = _8mc(19146), _8pa = _8mc(81504), _8pb = _8mc(5074), _8pc = _8mc(37513), _8pd = _8mc(42264), _8pe = _8mc(90234), _8pf = _8mc(96611), _8pg = _8mc(74853), _8ph = _8mc(15621), _8pi = _8mc(41109), _8pj = _8mc(28493), _8pk = _8mc(16009), _8ok = _8mc(92547); function _8nm(_8pl) { var _8pm = null; return 11 == _8pl ? new _8p5.OrganizeScene() : 12 == _8pl ? new _8p6.SupplyScene() : 13 == _8pl ? new _8p7.RemodelScene() : 14 == _8pl ? new _8p8.RepairScene() : 15 == _8pl ? new _8p9.ArsenalScene() : 16 == _8pl ? new _8pa.SallyScene() : 21 == _8pl ? new _8pb.RecordScene() : 23 == _8pl ? new _8pc.AlbumScene() : 24 == _8pl ? new _8pd.ItemScene() : 25 == _8pl ? new _8pe.InteriorScene() : 26 == _8pl ? new _8pf.DutyScene() : 31 == _8pl ? new _8pg.RevampScene() : 33 == _8pl ? new _8pi.MapScene(_8pj.BattleScene, _8pk.BattleResultScene) : 32 == _8pl ? new _8ph.PracticeScene(new _8pj.BattleScene(), new _8pk.BattleResultScene()) : void 0; } }, 65105: function(_8pn, _8po, _8pp) { 'use strict'; var _8pq = null; var _8pr, _8ps = this && this.__extends || (_8pr = function(_8pt, _8pu) { var _8pv = null; return _8pr = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_8pw, _8px) { var _8py = null; _8pw.__proto__ = _8px; } || function(_8pz, _8q0) { var _8q1 = null; for (var _8q2 in _8q0) Object.prototype.hasOwnProperty.call(_8q0, _8q2) && (_8pz[_8q2] = _8q0[_8q2]); }, _8pr(_8pt, _8pu); }, function(_8q3, _8q4) { var _8q5 = null; if ('function' != typeof _8q4 && null !== _8q4) throw new TypeError('Class extends value ' + String(_8q4) + ' is not a constructor or null'); function _8q6() { var _8q7 = null; this.constructor = _8q3; } _8pr(_8q3, _8q4), _8q3.prototype = null === _8q4 ? Object.create(_8q4) : (_8q6.prototype = _8q4.prototype, new _8q6()); }), _8q8 = this && this.__importDefault || function(_8q9) { var _8qa = null; return _8q9 && _8q9.__esModule ? _8q9 : { 'default': _8q9 }; }; defineModule(_8po); Object.defineProperty(_8po, '__esModule', { 'value': !0 }), _8po.FurnitureLoadTask = void 0; var _8qb = _8q8(_8pp(18622)), _8qc = _8pp(81755), _8qd = _8pp(15478), _8qe = function(_8qf) { var _8qg = null; function _8qh(_8qi) { var _8qj = null, _8qk = _8qf.call(this) || this; return _8qk.floor_id = 0, _8qk.wall_id = 0, _8qk.window_id = 0, _8qk.object_id = 0, _8qk.desk_id = 0, _8qk.chest_id = 0, _8qk._animationFlag = !1, _8qk._animationFlag = _8qi, _8qk; } return _8ps(_8qh, _8qf), _8qh.prototype._start = function() { var _8ql = null, _8qm = this, _8qn = new _8qd.FurnitureLoader(), _8qo = [this.floor_id, this.wall_id, this.window_id, this.object_id, this.desk_id, this.chest_id].filter(function(_8qp) { return _8qp > 0; }); _8qo.length > 0 ? (_8qo.map(function(_8qq) { var _8qr = null; return _8qn.add(_8qq, 'normal'); }), _8qn.load(function() { var _8qs = null; _8qm._loadOutside(); })) : this._loadOutside(); }, _8qh.prototype._loadOutside = function() { var _8qt = null, _8qu = this; _8qb.default.view.portMain.furnitureLayer.outside.load(this.window_id, function() { var _8qv = null; _8qu._onComplete(); }); }, _8qh.prototype._onComplete = function() { var _8qw = null, _8qx = _8qb.default.view.portMain.furnitureLayer, _8qy = [this.floor_id, this.wall_id, this.window_id, this.object_id, this.desk_id, this.chest_id]; _8qx.updateAll(_8qy), _8qx.animationFlag = this._animationFlag, this._endTask(); }, _8qh; }(_8qc.TaskBase); _8po.FurnitureLoadTask = _8qe; }, 32703: function(_8qz, _8r0, _8r1) { 'use strict'; var _8r2 = null; var _8r3, _8r4 = this && this.__extends || (_8r3 = function(_8r5, _8r6) { var _8r7 = null; return _8r3 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_8r8, _8r9) { var _8ra = null; _8r8.__proto__ = _8r9; } || function(_8rb, _8rc) { var _8rd = null; for (var _8re in _8rc) Object.prototype.hasOwnProperty.call(_8rc, _8re) && (_8rb[_8re] = _8rc[_8re]); }, _8r3(_8r5, _8r6); }, function(_8rf, _8rg) { var _8rh = null; if ('function' != typeof _8rg && null !== _8rg) throw new TypeError('Class extends value ' + String(_8rg) + ' is not a constructor or null'); function _8ri() { var _8rj = null; this.constructor = _8rf; } _8r3(_8rf, _8rg), _8rf.prototype = null === _8rg ? Object.create(_8rg) : (_8ri.prototype = _8rg.prototype, new _8ri()); }), _8rk = this && this.__importDefault || function(_8rl) { var _8rm = null; return _8rl && _8rl.__esModule ? _8rl : { 'default': _8rl }; }; defineModule(_8r0); Object.defineProperty(_8r0, '__esModule', { 'value': !0 }), _8r0.TaskExpeditionEndCutin = void 0; var _8rn = _8rk(_8r1(21359)), _8ro = _8rk(_8r1(18622)), _8rp = _8r1(66398), _8rq = _8r1(81755), _8rr = _8r1(12259), _8rs = _8r1(37638), _8rt = _8r1(20137), _8ru = function(_8rv) { var _8rw = null; function _8rx(_8ry, _8rz) { var _8s0 = null, _8s1 = _8rv.call(this) || this; return _8s1._deck = _8ro.default.model.deck.get(_8ry), _8s1._ships = _8s1._deck.getShipList(), _8s1._result = _8rz, _8s1; } return _8r4(_8rx, _8rv), _8rx.prototype._start = function() { var _8s2 = null; this._loadResources(); }, _8rx.prototype._loadResources = function() { var _8s3 = null; for (var _8s4 = this, _8s5 = new _8rt.ShipLoader(), _8s6 = 0, _8s7 = this._ships; _8s6 < _8s7.length; _8s6++) { var _8s8 = _8s7[_8s6]; null != _8s8 && _8s5.add(_8s8.mstID, _8s8.isDamaged(), 'banner'); } _8s5.load(function() { var _8s9 = null; _8s4._initCutin(); }); }, _8rx.prototype._initCutin = function() { var _8sa = null; this._cutin = new _8rr.ExpeditionCutin(), this._cutin.initialize(!1), this._createShipContainerU(), this._createShipContainerB(), this._cutin.bg.scale.set(1, 0), this._cutin.message.position.set(1440, _8rn.default.height / 2), this._cutin.banner_top.position.set(0, 243), this._cutin.banner_top.alpha = 0, this._cutin.banner_bottom.position.set(_8rn.default.width - this._cutin.banner_bottom.width, 417), this._cutin.banner_bottom.alpha = 0, this._playCutin(); }, _8rx.prototype._playCutin = function() { var _8sb = null, _8sc = this; _8ro.default.view.overLayer.addChild(this._cutin); var _8sd = this._ships[0].mstID.toString(); _8ro.default.sound.voice.play(_8sd, 7), createjs.Tween.get(this._cutin.bg.scale).to({ 'y': 2 }, 300).wait(1500).to({ 'y': 0 }, 300).call(function() { var _8se = null; _8sc._endTask(); }), createjs.Tween.get(this._cutin.message).wait(400).to({ 'x': 660 }, 400).to({ 'x': 525 }, 800).to({ 'x': 420, 'alpha': 0 }, 400), createjs.Tween.get(this._cutin.banner_top).wait(300).to({ 'alpha': 1 }, 100).to({ 'x': _8rn.default.width / 2 - this._cutin.banner_top.width / 2 }, 800, createjs.Ease.cubicInOut).to({ 'x': _8rn.default.width - this._cutin.banner_top.width, 'alpha': 0 }, 800, createjs.Ease.cubicInOut), createjs.Tween.get(this._cutin.banner_bottom).wait(300).to({ 'alpha': 1 }, 100).to({ 'x': _8rn.default.width / 2 - this._cutin.banner_bottom.width / 2 }, 800, createjs.Ease.cubicInOut).to({ 'x': 0, 'alpha': 0 }, 800, createjs.Ease.cubicInOut), createjs.Tween.get(this).wait(700).call(function() { var _8sf = null; _8sc._cutin.particles.startAnim(); }); }, _8rx.prototype._createShipContainerU = function() { var _8sg = null, _8sh, _8si = this._ships[0], _8sj = this._ships[2], _8sk = this._ships[4]; _8sh = null == _8sj ? [_8si] : null == _8sk ? [_8sj, _8si] : [_8sj, _8si, _8sk]; for (var _8sl = 0; _8sl < _8sh.length; _8sl++) { var _8sm = _8sh[_8sl], _8sn = new _8rs.ShipBanner(); _8sn.update(_8sm, !1), _8sn.position.x = _8rp.BannerSize.W * _8sl, this._cutin.banner_top.addChild(_8sn); } }, _8rx.prototype._createShipContainerB = function() { var _8so = null, _8sp, _8sq = this._ships[1], _8sr = this._ships[3], _8ss = this._ships[5], _8st = this._ships[6]; _8sp = null == _8ss ? null == _8sr ? null == _8sq ? [] : [_8sq] : [_8sq, _8sr] : null == _8st ? [_8ss, _8sq, _8sr] : [_8ss, _8sq, _8sr, _8st]; for (var _8su = 0; _8su < _8sp.length; _8su++) { var _8sv = _8sp[_8su], _8sw = new _8rs.ShipBanner(); _8sw.update(_8sv, !1), _8sw.position.x = _8rp.BannerSize.W * _8su, this._cutin.banner_bottom.addChild(_8sw); } }, _8rx.prototype._endTask = function(_8sx) { var _8sy = null; void 0 === _8sx && (_8sx = !1), _8ro.default.view.overLayer.removeChild(this._cutin), this._cutin.dispose(), _8rv.prototype._endTask.call(this); }, _8rx; }(_8rq.TaskBase); _8r0.TaskExpeditionEndCutin = _8ru; }, 85053: function(_8sz, _8t0, _8t1) { 'use strict'; var _8t2 = null; var _8t3, _8t4 = this && this.__extends || (_8t3 = function(_8t5, _8t6) { var _8t7 = null; return _8t3 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_8t8, _8t9) { var _8ta = null; _8t8.__proto__ = _8t9; } || function(_8tb, _8tc) { var _8td = null; for (var _8te in _8tc) Object.prototype.hasOwnProperty.call(_8tc, _8te) && (_8tb[_8te] = _8tc[_8te]); }, _8t3(_8t5, _8t6); }, function(_8tf, _8tg) { var _8th = null; if ('function' != typeof _8tg && null !== _8tg) throw new TypeError('Class extends value ' + String(_8tg) + ' is not a constructor or null'); function _8ti() { var _8tj = null; this.constructor = _8tf; } _8t3(_8tf, _8tg), _8tf.prototype = null === _8tg ? Object.create(_8tg) : (_8ti.prototype = _8tg.prototype, new _8ti()); }), _8tk = this && this.__importDefault || function(_8tl) { var _8tm = null; return _8tl && _8tl.__esModule ? _8tl : { 'default': _8tl }; }; defineModule(_8t0); Object.defineProperty(_8t0, '__esModule', { 'value': !0 }), _8t0.TaskExpeditionStartCutin = void 0; var _8tn = _8tk(_8t1(21359)), _8to = _8tk(_8t1(18622)), _8tp = _8t1(81755), _8tq = _8t1(66398), _8tr = _8t1(37638), _8ts = _8t1(12259), _8tt = function(_8tu) { var _8tv = null; function _8tw(_8tx) { var _8ty = null, _8tz = _8tu.call(this) || this; return _8tz._deck_id = _8tx, _8tz; } return _8t4(_8tw, _8tu), _8tw.prototype._start = function() { var _8u0 = null; _8to.default.view.clickGuard = !0, this._cutin = new _8ts.ExpeditionCutin(), this._cutin.initialize(!0), this._loadShipRespirces(); }, _8tw.prototype._loadShipRespirces = function() { var _8u1 = null; this._anim(); }, _8tw.prototype._anim = function() { var _8u2 = null, _8u3 = this, _8u4 = _8to.default.model.deck.get(this._deck_id).getShipList(); this._createShipContainerU(_8u4), this._createShipContainerB(_8u4), this._cutin.bg.scale.set(1, 0), this._cutin.message.position.set(1440, 360), this._cutin.banner_top.position.set(0, 243), this._cutin.banner_top.alpha = 0, this._cutin.banner_bottom.position.set(_8tn.default.width - this._cutin.banner_bottom.width, 417), this._cutin.banner_bottom.alpha = 0, _8to.default.view.overLayer.addChild(this._cutin), createjs.Tween.get(this._cutin.bg.scale).to({ 'y': 2 }, 300).wait(1500).to({ 'y': 0 }, 300).call(function() { var _8u5 = null; _8u3._endTask(); }), createjs.Tween.get(this._cutin.message).wait(400).to({ 'x': 660 }, 400).to({ 'x': 525 }, 800).to({ 'x': 420, 'alpha': 0 }, 400), createjs.Tween.get(this._cutin.banner_top).wait(300).to({ 'alpha': 1 }, 100).to({ 'x': 600 - this._cutin.banner_top.width / 2 }, 800, createjs.Ease.cubicInOut).to({ 'x': _8tn.default.width - this._cutin.banner_top.width, 'alpha': 0 }, 800, createjs.Ease.cubicInOut), createjs.Tween.get(this._cutin.banner_bottom).wait(300).to({ 'alpha': 1 }, 100).to({ 'x': 600 - this._cutin.banner_bottom.width / 2 }, 800, createjs.Ease.cubicInOut).to({ 'x': 0, 'alpha': 0 }, 800, createjs.Ease.cubicInOut), createjs.Tween.get(this).wait(700).call(function() { var _8u6 = null; _8u3._cutin.particles.startAnim(); }); }, _8tw.prototype._createShipContainerU = function(_8u7) { var _8u8 = null, _8u9, _8ua = _8u7[0], _8ub = _8u7[2], _8uc = _8u7[4]; _8u9 = null == _8ub ? [_8ua] : null == _8uc ? [_8ub, _8ua] : [_8ub, _8ua, _8uc]; for (var _8ud = 0; _8ud < _8u9.length; _8ud++) { var _8ue = _8u9[_8ud], _8uf = new _8tr.ShipBanner(); _8uf.update(_8ue, !0), _8uf.position.x = _8tq.BannerSize.W * _8ud, this._cutin.banner_top.addChild(_8uf); } }, _8tw.prototype._createShipContainerB = function(_8ug) { var _8uh = null, _8ui, _8uj = _8ug[1], _8uk = _8ug[3], _8ul = _8ug[5], _8um = _8ug[6]; _8ui = null == _8ul ? null == _8uk ? null == _8uj ? [] : [_8uj] : [_8uj, _8uk] : null == _8um ? [_8ul, _8uj, _8uk] : [_8ul, _8uj, _8uk, _8um]; for (var _8un = 0; _8un < _8ui.length; _8un++) { var _8uo = _8ui[_8un], _8up = new _8tr.ShipBanner(); _8up.update(_8uo, !0), _8up.position.x = _8tq.BannerSize.W * _8un, this._cutin.banner_bottom.addChild(_8up); } }, _8tw.prototype._endTask = function(_8uq) { var _8ur = null; void 0 === _8uq && (_8uq = !1), _8to.default.view.overLayer.removeChild(this._cutin), this._cutin.dispose(), _8to.default.view.clickGuard = !1, _8tu.prototype._endTask.call(this); }, _8tw; }(_8tp.TaskBase); _8t0.TaskExpeditionStartCutin = _8tt; }, 47431: function(_8us, _8ut, _8uu) { 'use strict'; var _8uv = null; var _8uw, _8ux = this && this.__extends || (_8uw = function(_8uy, _8uz) { var _8v0 = null; return _8uw = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_8v1, _8v2) { var _8v3 = null; _8v1.__proto__ = _8v2; } || function(_8v4, _8v5) { var _8v6 = null; for (var _8v7 in _8v5) Object.prototype.hasOwnProperty.call(_8v5, _8v7) && (_8v4[_8v7] = _8v5[_8v7]); }, _8uw(_8uy, _8uz); }, function(_8v8, _8v9) { var _8va = null; if ('function' != typeof _8v9 && null !== _8v9) throw new TypeError('Class extends value ' + String(_8v9) + ' is not a constructor or null'); function _8vb() { var _8vc = null; this.constructor = _8v8; } _8uw(_8v8, _8v9), _8v8.prototype = null === _8v9 ? Object.create(_8v9) : (_8vb.prototype = _8v9.prototype, new _8vb()); }), _8vd = this && this.__importDefault || function(_8ve) { var _8vf = null; return _8ve && _8ve.__esModule ? _8ve : { 'default': _8ve }; }; defineModule(_8ut); Object.defineProperty(_8ut, '__esModule', { 'value': !0 }), _8ut.TaskSceneChange = void 0; var _8vg = _8vd(_8uu(18622)), _8vh = _8uu(81755), _8vi = _8uu(24535), _8vj = _8uu(71633), _8vk = function(_8vl) { var _8vm = null; function _8vn(_8vo, _8vp, _8vq) { var _8vr = null, _8vs = _8vl.call(this) || this; return _8vs._before = _8vo, _8vs._after = _8vp, _8vs._model = _8vq, _8vs._isAfterScenePort = 0 == _8vs.after, _8vs._requirePortRecreate = 0 == _8vs.after && (33 == _8vs.before || 32 == _8vs.before), _8vs; } return _8ux(_8vn, _8vl), Object.defineProperty(_8vn.prototype, 'before', { 'get': function() { var _8vt = null; return this._before; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_8vn.prototype, 'after', { 'get': function() { var _8vu = null; return this._after; }, 'enumerable': !1, 'configurable': !0 }), _8vn.prototype._start = function() { var _8vv = null; _8vg.default.view.clickGuard = !0, this._doPrefinalize(); }, _8vn.prototype._doPrefinalize = function() { var _8vw = null, _8vx = this; _8vi.TaskLoadBase.abortAll(); var _8vy = _8vg.default.view.getNowScene().getPreFinalizeTask(); null != _8vy ? _8vy.start(function() { var _8vz = null; _8vx._fadeOn(); }) : this._fadeOn(); }, _8vn.prototype._fadeOn = function() { var _8w0 = null, _8w1 = this, _8w2 = this._getFadeBox(this._before, this._after); _8w2.visible = !0, _8w2.show(300, function() { var _8w3 = null; _8w1._doFinalize(); }); }, _8vn.prototype._doFinalize = function() { var _8w4 = null, _8w5 = this, _8w6 = _8vg.default.view.getNowScene().getFinalizeTask(); null != _8w6 ? _8w6.start(function() { var _8w7 = null; _8w5._loadBackground(); }) : this._loadBackground(); }, _8vn.prototype._loadBackground = function() { var _8w8 = null, _8w9 = this; _8vg.default.view.bg.setImage(this._after, function() { var _8wa = null; _8w9._change(); }); }, _8vn.prototype._change = function() { var _8wb = null, _8wc = _8vg.default.view.portMain; if (this._isAfterScenePort) this._requirePortRecreate ? (createjs.Tween.removeAllTweens(), _8vg.default.view.recreatePort()) : (_8wc.playChangeAnimation(this._after), _8vg.default.view.portMain.setContent(null), _8vg.default.view.portMain.update(0), _8vg.default.view.portMain.visible = !0), _8vg.default.view.mapLayer.setContent(null), _8vj.EventConst.FRIENDLY && _8vg.default.view.portMain.upperBar.friendlyBtn.friendlyButtonMode(!0); else { _8wc.playChangeAnimation(this._after); var _8wd = _8vn.__factory__(this._after); 33 == this._after || 32 == this._after ? (_8vg.default.view.portMain.setContent(null), _8vg.default.view.portMain.visible = !1, _8vg.default.view.mapLayer.setContent(_8wd)) : (_8vg.default.view.portMain.setContent(_8wd), _8vg.default.view.portMain.update(this._after), _8vg.default.view.portMain.visible = !0, _8vg.default.view.mapLayer.setContent(null), _8vj.EventConst.FRIENDLY && _8vg.default.view.portMain.upperBar.friendlyBtn.friendlyButtonMode(!1)); } this._doPreInitialize(); }, _8vn.prototype._doPreInitialize = function() { var _8we = null, _8wf, _8wg = this, _8wh = _8vg.default.view.getNowScene(); this._requirePortRecreate ? (_8wf = _8wh.getPreInitializeTask(this._before, this._model)).start(function() { var _8wi = null; _8vg.default.view.portMain.ringMenu.initialize(), _8vg.default.view.portMain.sideMenu.initialize(), _8wg._fadeOff(); }) : null != (_8wf = _8wh.getPreInitializeTask(this._before, this._model)) ? _8wf.start(function() { var _8wj = null; _8wg._fadeOff(); }) : this._fadeOff(); }, _8vn.prototype._fadeOff = function() { var _8wk = null, _8wl = this, _8wm = this._getFadeBox(this._before, this._after); this._isAfterScenePort && (this._requirePortRecreate || _8vg.default.view.portMain.update(0), _8vg.default.view.portMain.visible = !0, _8vg.default.view.portMain.ringMenu.prePosition()), _8wm.hide(300, function() { var _8wn = null; _8wm.visible = !1, _8wl._doInitialize(), _8wl._isAfterScenePort && _8vg.default.view.portMain.ringMenu.startAnimation(); }); }, _8vn.prototype._doInitialize = function() { var _8wo = null, _8wp = this, _8wq = _8vg.default.view.getNowScene().getInitializeTask(this._before); null != _8wq ? _8wq.start(function() { var _8wr = null; _8wp._preEnd(); }) : this._preEnd(); }, _8vn.prototype._preEnd = function() { var _8ws = null; _8vg.default.view.clickGuard = !1, this._endTask(); }, _8vn.prototype._getFadeBox = function(_8wt, _8wu) { var _8wv = null; return 23 == _8wt || 23 == _8wu || 25 == _8wt || 25 == _8wu || 33 == _8wt || 33 == _8wu || 32 == _8wt || 32 == _8wu ? _8vg.default.view.fadeLayer : _8vg.default.view.portMain.fadeLayer; }, _8vn; }(_8vh.TaskBase); _8ut.TaskSceneChange = _8vk; }, 71837: function(_8ww, _8wx, _8wy) { 'use strict'; var _8wz = null; var _8x0 = this && this.__createBinding || (Object.create ? function(_8x1, _8x2, _8x3, _8x4) { var _8x5 = null; void 0 === _8x4 && (_8x4 = _8x3); var _8x6 = Object.getOwnPropertyDescriptor(_8x2, _8x3); _8x6 && !('get' in _8x6 ? !_8x2.__esModule : _8x6.writable || _8x6.configurable) || (_8x6 = { 'enumerable': !0, 'get': function() { return _8x2[_8x3]; } }), Object.defineProperty(_8x1, _8x4, _8x6); } : function(_8x7, _8x8, _8x9, _8xa) { void 0 === _8xa && (_8xa = _8x9), _8x7[_8xa] = _8x8[_8x9]; }), _8xb = this && this.__exportStar || function(_8xc, _8xd) { var _8xe = null; for (var _8xf in _8xc) 'default' === _8xf || Object.prototype.hasOwnProperty.call(_8xd, _8xf) || _8x0(_8xd, _8xc, _8xf); }; defineModule(_8wx); Object.defineProperty(_8wx, '__esModule', { 'value': !0 }), _8xb(_8wy(65105), _8wx), _8xb(_8wy(85053), _8wx), _8xb(_8wy(32703), _8wx), _8xb(_8wy(24535), _8wx), _8xb(_8wy(48205), _8wx), _8xb(_8wy(67605), _8wx); }, 24535: function(_8xg, _8xh, _8xi) { 'use strict'; var _8xj = null; var _8xk, _8xl = this && this.__extends || (_8xk = function(_8xm, _8xn) { var _8xo = null; return _8xk = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_8xp, _8xq) { var _8xr = null; _8xp.__proto__ = _8xq; } || function(_8xs, _8xt) { var _8xu = null; for (var _8xv in _8xt) Object.prototype.hasOwnProperty.call(_8xt, _8xv) && (_8xs[_8xv] = _8xt[_8xv]); }, _8xk(_8xm, _8xn); }, function(_8xw, _8xx) { var _8xy = null; if ('function' != typeof _8xx && null !== _8xx) throw new TypeError('Class extends value ' + String(_8xx) + ' is not a constructor or null'); function _8xz() { var _8y0 = null; this.constructor = _8xw; } _8xk(_8xw, _8xx), _8xw.prototype = null === _8xx ? Object.create(_8xx) : (_8xz.prototype = _8xx.prototype, new _8xz()); }); defineModule(_8xh); Object.defineProperty(_8xh, '__esModule', { 'value': !0 }), _8xh.TaskLoadBase = void 0; var _8y1 = function(_8y2) { var _8y3 = null; function _8y4(_8y5) { var _8y6 = null, _8y7 = _8y2.call(this) || this; return _8y7._aborted = !1, _8y7._sprite = _8y5, null == _8y4._queue && (_8y4._queue = []), _8y7; } return _8xl(_8y4, _8y2), _8y4.abortAll = function() { var _8y8 = null; _8y4._queue = [], null != _8y4._current && (_8y4._current._abort(), _8y4._current = null); }, _8y4.abortBy = function(_8y9) { var _8ya = null; if (null != _8y9) { if (null != _8y4._queue) { for (var _8yb = [], _8yc = 0, _8yd = _8y4._queue; _8yc < _8yd.length; _8yc++) { var _8ye = _8yd[_8yc]; 0 == _8ye._isChildElement(_8y9) ? _8yb.push(_8ye) : _8ye._log('discard'); } _8y4._queue = _8yb; } if (null != _8y4._current) { var _8yf = _8y4._current; 1 == _8yf._isChildElement(_8y9) && (_8yf._log('stop(current)'), _8yf._abort(), _8y4._current = null); } } }, _8y4.prototype.start = function() { var _8yg = null; if (null == _8y4._current) _8y4._current = this, this._start(); else { for (var _8yh = [], _8yi = 0, _8yj = _8y4._queue; _8yi < _8yj.length; _8yi++) { var _8yk = _8yj[_8yi]; _8yk._sprite != this._sprite ? _8yh.push(_8yk) : _8yk._log('discard(same sprite)'); } _8y4._queue = _8yh, _8y4._queue.push(this); var _8yl = _8y4._current; _8yl._sprite == this._sprite && (_8yl._sprite = null); } }, _8y4.prototype._abort = function() { var _8ym = null; this._aborted = !0, this._endTask(); }, _8y4.prototype._endTask = function() { var _8yn = null; this._sprite = null, _8y2.prototype._endTask.call(this); }, _8y4.prototype._completedEnd = function() { var _8yo = null; _8y2.prototype._completedEnd.call(this), 0 == this._aborted && this._next(); }, _8y4.prototype._failedEnd = function() { var _8yp = null; _8y2.prototype._failedEnd.call(this), 0 == this._aborted && this._next(); }, _8y4.prototype._next = function() { var _8yq = null; if (_8y4._current = null, 0 != _8y4._queue.length) { var _8yr = _8y4._queue.shift(); _8y4._current = _8yr, _8yr._start(); } }, _8y4.prototype._isChildElement = function(_8ys) { var _8yt = null; if (null == this._sprite) return !1; for (var _8yu = this._sprite; null != _8yu && _8yu != _8ys;) _8yu = _8yu.parent; return null != _8yu; }, _8y4._current = null, _8y4._queue = null, _8y4; }(_8xi(81755).TaskBase); _8xh.TaskLoadBase = _8y1; }, 48205: function(_8yv, _8yw, _8yx) { 'use strict'; var _8yy = null; var _8yz, _8z0 = this && this.__extends || (_8yz = function(_8z1, _8z2) { var _8z3 = null; return _8yz = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_8z4, _8z5) { var _8z6 = null; _8z4.__proto__ = _8z5; } || function(_8z7, _8z8) { var _8z9 = null; for (var _8za in _8z8) Object.prototype.hasOwnProperty.call(_8z8, _8za) && (_8z7[_8za] = _8z8[_8za]); }, _8yz(_8z1, _8z2); }, function(_8zb, _8zc) { var _8zd = null; if ('function' != typeof _8zc && null !== _8zc) throw new TypeError('Class extends value ' + String(_8zc) + ' is not a constructor or null'); function _8ze() { var _8zf = null; this.constructor = _8zb; } _8yz(_8zb, _8zc), _8zb.prototype = null === _8zc ? Object.create(_8zc) : (_8ze.prototype = _8zc.prototype, new _8ze()); }), _8zg = this && this.__importDefault || function(_8zh) { var _8zi = null; return _8zh && _8zh.__esModule ? _8zh : { 'default': _8zh }; }; defineModule(_8yw); Object.defineProperty(_8yw, '__esModule', { 'value': !0 }), _8yw.TaskLoadShipResource = void 0; var _8zj = _8zg(_8yx(18622)), _8zk = _8yx(12508), _8zl = _8yx(24535), _8zm = _8yx(20137), _8zn = function(_8zo) { var _8zp = null; function _8zq(_8zr, _8zs, _8zt, _8zu) { var _8zv = null, _8zw = _8zo.call(this, _8zs) || this; if (_8zw.LOG = !1, _8zw._mst_id = 0, _8zw._damaged = !1, _8zw._onLoadComplete = function() { var _8zx = null; if (1 != _8zw._aborted) { if (null == _8zw._sprite) _8zw._endTask(); else { var _8zy = _8zj.default.resources.getShip(_8zw._mst_id, _8zw._damaged, _8zw._type); _8zw._sprite.texture = _8zy, _8zw._endTask(); } } }, _8zw._type = _8zr, _8zt instanceof _8zk.ShipModel) { var _8zz = _8zt; _8zw._mst_id = _8zz.mstID, _8zw._damaged = _8zz.isDamaged(); } else _8zw._mst_id = _8zt, _8zw._damaged = _8zu; return _8zw; } return _8z0(_8zq, _8zo), _8zq.prototype.start = function() { var _900 = null; _8zo.prototype.start.call(this); }, _8zq.prototype._start = function() { var _901 = null; this._mst_id > 0 ? this._load() : this._endTask(); }, _8zq.prototype._load = function() { var _902 = null, _903 = new _8zm.ShipLoader(); _903.add(this._mst_id, this._damaged, this._type), _903.load(this._onLoadComplete); }, _8zq.prototype._log = function(_904) { var _905 = null; if (this.LOG) _8zj.default.model.ship.getMst(this._mst_id); }, _8zq; }(_8zl.TaskLoadBase); _8yw.TaskLoadShipResource = _8zn; }, 67605: function(_906, _907, _908) { 'use strict'; var _909 = null; var _90a, _90b = this && this.__extends || (_90a = function(_90c, _90d) { var _90e = null; return _90a = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_90f, _90g) { var _90h = null; _90f.__proto__ = _90g; } || function(_90i, _90j) { var _90k = null; for (var _90l in _90j) Object.prototype.hasOwnProperty.call(_90j, _90l) && (_90i[_90l] = _90j[_90l]); }, _90a(_90c, _90d); }, function(_90m, _90n) { var _90o = null; if ('function' != typeof _90n && null !== _90n) throw new TypeError('Class extends value ' + String(_90n) + ' is not a constructor or null'); function _90p() { var _90q = null; this.constructor = _90m; } _90a(_90m, _90n), _90m.prototype = null === _90n ? Object.create(_90n) : (_90p.prototype = _90n.prototype, new _90p()); }), _90r = this && this.__importDefault || function(_90s) { var _90t = null; return _90s && _90s.__esModule ? _90s : { 'default': _90s }; }; defineModule(_907); Object.defineProperty(_907, '__esModule', { 'value': !0 }), _907.TaskLoadSlotResource = void 0; var _90u = _90r(_908(18622)), _90v = _908(14558), _90w = _908(24535), _90x = _908(37760), _90y = function(_90z) { var _910 = null; function _911(_912, _913, _914) { var _915 = null, _916 = _90z.call(this, _913) || this; if (_916.LOG = !1, _916._mst_id = 0, _916._onLoadComplete = function() { var _917 = null; if (1 != _916._aborted) { if (null == _916._sprite) _916._endTask(); else { var _918 = _90u.default.resources.getSlotitem(_916._mst_id, _916._type); _916._sprite.texture = _918, _916._endTask(); } } }, _916._type = _912, _914 instanceof _90v.SlotitemModel) { var _919 = _914; _916._mst_id = _919.mstID; } else _916._mst_id = _914; return _916; } return _90b(_911, _90z), _911.prototype.start = function() { var _91a = null; _90z.prototype.start.call(this); }, _911.prototype._start = function() { var _91b = null; this._mst_id > 0 ? this._load() : this._endTask(); }, _911.prototype._load = function() { var _91c = null, _91d = new _90x.SlotLoader(); _91d.add(this._mst_id, this._type), _91d.load(this._onLoadComplete); }, _911.prototype._log = function(_91e) { var _91f = null; if (this.LOG) _90u.default.model.slot.getMst(this._mst_id); }, _911; }(_90w.TaskLoadBase); _907.TaskLoadSlotResource = _90y; }, 72554: function(_91g, _91h, _91i) { 'use strict'; var _91j = null; var _91k, _91l = this && this.__extends || (_91k = function(_91m, _91n) { var _91o = null; return _91k = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_91p, _91q) { var _91r = null; _91p.__proto__ = _91q; } || function(_91s, _91t) { var _91u = null; for (var _91v in _91t) Object.prototype.hasOwnProperty.call(_91t, _91v) && (_91s[_91v] = _91t[_91v]); }, _91k(_91m, _91n); }, function(_91w, _91x) { var _91y = null; if ('function' != typeof _91x && null !== _91x) throw new TypeError('Class extends value ' + String(_91x) + ' is not a constructor or null'); function _91z() { var _920 = null; this.constructor = _91w; } _91k(_91w, _91x), _91w.prototype = null === _91x ? Object.create(_91x) : (_91z.prototype = _91x.prototype, new _91z()); }); defineModule(_91h); Object.defineProperty(_91h, '__esModule', { 'value': !0 }), _91h.TaskLoadResourcesArsenal = void 0; var _921 = _91i(81755), _922 = _91i(13748), _923 = function(_924) { var _925 = null; function _926(_927) { var _928 = null, _929 = _924.call(this) || this; return _929._skinID = _927, _929; } return _91l(_926, _924), _926.prototype._start = function() { var _92a = null, _92b = this, _92c = new _922.UIImageLoader('arsenal'); _92c.add('arsenal_main.json'), _92c.add('arsenal_animation.json'), 101 == this._skinID || 102 == this._skinID ? _92c.add('arsenal_skin_1.json') : 201 == this._skinID ? _92c.add('arsenal_skin_2.json') : 301 != this._skinID && 311 != this._skinID || _92c.add('arsenal_skin_3.json'), _92c.load(function() { var _92d = null; _92b._endTask(); }); }, _926; }(_921.TaskBase); _91h.TaskLoadResourcesArsenal = _923; }, 10793: function(_92e, _92f, _92g) { 'use strict'; var _92h = null; var _92i, _92j = this && this.__extends || (_92i = function(_92k, _92l) { var _92m = null; return _92i = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_92n, _92o) { var _92p = null; _92n.__proto__ = _92o; } || function(_92q, _92r) { var _92s = null; for (var _92t in _92r) Object.prototype.hasOwnProperty.call(_92r, _92t) && (_92q[_92t] = _92r[_92t]); }, _92i(_92k, _92l); }, function(_92u, _92v) { var _92w = null; if ('function' != typeof _92v && null !== _92v) throw new TypeError('Class extends value ' + String(_92v) + ' is not a constructor or null'); function _92x() { var _92y = null; this.constructor = _92u; } _92i(_92u, _92v), _92u.prototype = null === _92v ? Object.create(_92v) : (_92x.prototype = _92v.prototype, new _92x()); }); defineModule(_92f); Object.defineProperty(_92f, '__esModule', { 'value': !0 }), _92f.TaskLoadResourcesBattle = void 0; var _92z = _92g(81755), _930 = _92g(13748), _931 = function(_932) { var _933 = null; function _934(_935, _936) { var _937 = null; void 0 === _935 && (_935 = !1), void 0 === _936 && (_936 = !1); var _938 = _932.call(this) || this; return _938._night = _935, _938._combined = _936, _938; } return _92j(_934, _932), _934.prototype._start = function() { var _939 = null; this._loadCommon(); }, _934.prototype._loadCommon = function() { var _93a = null, _93b = this, _93c = new _930.UIImageLoader('common'); _93c.add('common_explosion.json'), _93c.load(function() { var _93d = null; _93b._loadImage(); }); }, _934.prototype._loadImage = function() { var _93e = null, _93f = this, _93g = new _930.UIImageLoader('battle'); _93g.add('battle_telop/txt_start.png', 'battle_telop_txt_start'), _93g.add('battle_telop/mes_bg_f.png', 'battle_telop_mes_bg_f'), _93g.add('battle_telop/mes_bg_e.png', 'battle_telop_mes_bg_e'), _93g.add('battle_telop/mes2_f_hbg.png', 'battle_telop_mes2_f_hbg'), _93g.add('battle_telop/mes2_e_hbg.png', 'battle_telop_mes2_e_hbg'), _93g.add('battle_telop/mes2_f_ybg.png', 'battle_telop_mes2_f_ybg'), _93g.add('battle_telop/mes2_e_ybg.png', 'battle_telop_mes2_e_ybg'), _93g.add('battle_telop/mes_f_hbg.png', 'battle_telop_mes_f_hbg'), _93g.add('battle_telop/mes_f_ybg.png', 'battle_telop_mes_f_ybg'), _93g.add('battle_telop/mes_e_hbg.png', 'battle_telop_mes_e_hbg'), _93g.add('battle_telop/mes_e_ybg.png', 'battle_telop_mes_e_ybg'), _93g.add('battle_telop/mes_f_hbg3.png', 'battle_telop_kkcutin_f'), _93g.add('battle_telop/mes_e_hbg3.png', 'battle_telop_kkcutin_e'), _93g.load(function() { var _93h = null; _93f._loadSpriteSheet(); }); }, _934.prototype._loadSpriteSheet = function() { var _93i = null, _93j = this, _93k = new _930.UIImageLoader('battle'); _93k.add('battle_main.json'), _93k.add('battle_balloon.json'), 1 == this._night && (_93k.add('battle_night.json'), _93k.add('battle_telop/mes_ybg3_f.png', 'battle_telop_mes_ybg3_f'), _93k.add('battle_telop/mes_ybg3_e.png', 'battle_telop_mes_ybg3_e'), _93k.add('battle_telop/mes_ybg4_f.png', 'battle_telop_mes_ybg4_f'), _93k.add('battle_telop/mes_ybg4_e.png', 'battle_telop_mes_ybg4_e'), _93k.add('battle_telop/mes_ybg6_f.png', 'battle_telop_mes_ybg6_f'), _93k.add('battle_telop/mes_ybg6_e.png', 'battle_telop_mes_ybg6_e')), 1 == this._combined && _93k.add('battle_main2.json'), _93k.load(function() { var _93l = null; _93j._endTask(); }); }, _934; }(_92z.TaskBase); _92f.TaskLoadResourcesBattle = _931; }, 72202: function(_93m, _93n, _93o) { 'use strict'; var _93p = null; var _93q, _93r = this && this.__extends || (_93q = function(_93s, _93t) { var _93u = null; return _93q = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_93v, _93w) { var _93x = null; _93v.__proto__ = _93w; } || function(_93y, _93z) { var _940 = null; for (var _941 in _93z) Object.prototype.hasOwnProperty.call(_93z, _941) && (_93y[_941] = _93z[_941]); }, _93q(_93s, _93t); }, function(_942, _943) { var _944 = null; if ('function' != typeof _943 && null !== _943) throw new TypeError('Class extends value ' + String(_943) + ' is not a constructor or null'); function _945() { var _946 = null; this.constructor = _942; } _93q(_942, _943), _942.prototype = null === _943 ? Object.create(_943) : (_945.prototype = _943.prototype, new _945()); }); defineModule(_93n); Object.defineProperty(_93n, '__esModule', { 'value': !0 }), _93n.TaskLoadResourcesBattleResult = void 0; var _947 = _93o(81755), _948 = _93o(13748), _949 = _93o(71633), _94a = function(_94b) { var _94c = null; function _94d(_94e) { var _94f = null, _94g = _94b.call(this) || this; return _94g._event = _94e, _94g; } return _93r(_94d, _94b), _94d.prototype._start = function() { var _94h = null; this._loadCommon(); }, _94d.prototype._loadCommon = function() { var _94i = null, _94j = this, _94k = new _948.UIImageLoader('common'); _94k.add('common_explosion.json'), _94k.load(function() { var _94l = null; _94j._load(); }); }, _94d.prototype._load = function() { var _94m = null, _94n = this, _94o = new _948.UIImageLoader('battle_result'); _94o.add('battle_result_main.json'), _949.EventConst.SANMA && _94o.add('battle_result_sanma_fes.json'), this._event && _94o.add('battle_result_event_base.json'), _94o.load(function() { var _94p = null; _94n._endTask(); }); }, _94d; }(_947.TaskBase); _93n.TaskLoadResourcesBattleResult = _94a; }, 33353: function(_94q, _94r, _94s) { 'use strict'; var _94t = null; var _94u, _94v = this && this.__extends || (_94u = function(_94w, _94x) { var _94y = null; return _94u = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_94z, _950) { var _951 = null; _94z.__proto__ = _950; } || function(_952, _953) { var _954 = null; for (var _955 in _953) Object.prototype.hasOwnProperty.call(_953, _955) && (_952[_955] = _953[_955]); }, _94u(_94w, _94x); }, function(_956, _957) { var _958 = null; if ('function' != typeof _957 && null !== _957) throw new TypeError('Class extends value ' + String(_957) + ' is not a constructor or null'); function _959() { var _95a = null; this.constructor = _956; } _94u(_956, _957), _956.prototype = null === _957 ? Object.create(_957) : (_959.prototype = _957.prototype, new _959()); }), _95b = this && this.__createBinding || (Object.create ? function(_95c, _95d, _95e, _95f) { var _95g = null; void 0 === _95f && (_95f = _95e); var _95h = Object.getOwnPropertyDescriptor(_95d, _95e); _95h && !('get' in _95h ? !_95d.__esModule : _95h.writable || _95h.configurable) || (_95h = { 'enumerable': !0, 'get': function() { return _95d[_95e]; } }), Object.defineProperty(_95c, _95f, _95h); } : function(_95i, _95j, _95k, _95l) { void 0 === _95l && (_95l = _95k), _95i[_95l] = _95j[_95k]; }), _95m = this && this.__setModuleDefault || (Object.create ? function(_95n, _95o) { var _95p = null; Object.defineProperty(_95n, 'default', { 'enumerable': !0, 'value': _95o }); } : function(_95q, _95r) { var _95s = null; _95q.default = _95r; }), _95t = this && this.__importStar || function(_95u) { var _95v = null; if (_95u && _95u.__esModule) return _95u; var _95w = {}; if (null != _95u) { for (var _95x in _95u) 'default' !== _95x && Object.prototype.hasOwnProperty.call(_95u, _95x) && _95b(_95w, _95u, _95x); } return _95m(_95w, _95u), _95w; }, _95y = this && this.__importDefault || function(_95z) { var _960 = null; return _95z && _95z.__esModule ? _95z : { 'default': _95z }; }; defineModule(_94r); Object.defineProperty(_94r, '__esModule', { 'value': !0 }), _94r.TaskLoadResourcesCommon = void 0; var _961 = _95t(_94s(75933)), _962 = _95y(_94s(18622)), _963 = _94s(81755), _964 = _94s(13748), _965 = _94s(71633), _966 = function(_967) { var _968 = null; function _969(_96a) { var _96b = null; void 0 === _96a && (_96a = null); var _96c = _967.call(this) || this; return _96c._onProgressPhase1 = function(_96d, _96e) { var _96f = null, _96g = 0.4 * _96d.progress; null != _96c._progress && _96c._progress(_96g); }, _96c._loadPhase2 = function() { var _96h = null, _96i = new _964.UIImageLoader('common'); _96i.add('common_icon_weapon.json'), _96i.add('common_itemicons.json'), _96i.add('common_misc.json'), _96i.add('common_expedition.json'), _96i.add('common_shutter.json'), _96i.add('common_area_icon.json'), _96i.add('common_reward_count.json'), _96i.add('common_stars.json'), _96i.add('common_senka.json'), -1 != _965.EventConst.AREA_ID && _96i.add('common_event.json'), _96i.load(_96c._loadPhase3, _96c._onProgressPhase2); }, _96c._onProgressPhase2 = function(_96j, _96k) { var _96l = null, _96m = 40 + 0.4 * _96j.progress; null != _96c._progress && _96c._progress(_96m); }, _96c._loadPhase3 = function() { var _96n = null; _961.load({ 'custom': { 'families': ['font_j:n4,n7'], 'urls': [_962.default.settings.path_root + 'css/fonts.css'] }, 'active': _96c._onComplete, 'inactive': function() { var _96o = null; _962.default.view.showError('[WebFontLoader] inactive'); }, 'fontinactive': function(_96p, _96q) { var _96r = null; _962.default.view.showError('[WebFontLoader] fontinactive'); }, 'timeout': 60000 }); }, _96c._onComplete = function() { var _96s = null; null != _96c._progress && _96c._progress(100), _96c._endTask(); }, _96c._progress = _96a, _96c; } return _94v(_969, _967), _969.prototype._start = function() { var _96t = null; this._loadPhase1(); }, _969.prototype._loadPhase1 = function() { var _96u = null, _96v = new _964.UIImageLoader('common'); _96v.add('hpgauge/hp_gauge_mask.png'), _96v.add('hpgauge/hp_s_bg2.png'), _96v.add('hpgauge/hp_s_red_light.png'), _96v.add('error.png', 'error'), _96v.add('focus_mask3.png', 'mask'), _96v.add('common_main.json'), _96v.add('common_sort.json'), _96v.add('common_animation.json'), _96v.add('common_shogo.json'), _96v.load(this._loadPhase2, this._onProgressPhase1); }, _969; }(_963.TaskBase); _94r.TaskLoadResourcesCommon = _966; }, 81054: function(_96w, _96x, _96y) { 'use strict'; var _96z = null; var _970, _971 = this && this.__extends || (_970 = function(_972, _973) { var _974 = null; return _970 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_975, _976) { var _977 = null; _975.__proto__ = _976; } || function(_978, _979) { var _97a = null; for (var _97b in _979) Object.prototype.hasOwnProperty.call(_979, _97b) && (_978[_97b] = _979[_97b]); }, _970(_972, _973); }, function(_97c, _97d) { var _97e = null; if ('function' != typeof _97d && null !== _97d) throw new TypeError('Class extends value ' + String(_97d) + ' is not a constructor or null'); function _97f() { var _97g = null; this.constructor = _97c; } _970(_97c, _97d), _97c.prototype = null === _97d ? Object.create(_97d) : (_97f.prototype = _97d.prototype, new _97f()); }); defineModule(_96x); Object.defineProperty(_96x, '__esModule', { 'value': !0 }), _96x.TaskLoadResourcesMap = void 0; var _97h = _96y(81755), _97i = _96y(80534), _97j = _96y(13748), _97k = _96y(10742), _97l = function(_97m) { var _97n = null; function _97o() { var _97p = null; return _97m.call(this) || this; } return _971(_97o, _97m), _97o.prototype._start = function() { var _97q = null; this._load(); }, _97o.prototype._load = function() { var _97r = null, _97s = this, _97t = new _97j.UIImageLoader('map'); _97t.add('map_main.json'), _97t.add('map_cell_event.json'), _97t.add('map_telop.json'), _97t.add('map_decision.json'), _97t.add('map_flagship_damage.json'), _97t.add('map_enemy_bannerframes.json'), _97t.add('map_'['concat'](_97k.MapUtil.getSeasonalFairySheetName(_97i.FAIRY_MAP_COMPASS_SEASON), '.json')), _97t.load(function() { var _97u = null; _97s._endTask(); }); }, _97o; }(_97h.TaskBase); _96x.TaskLoadResourcesMap = _97l; }, 93513: function(_97v, _97w, _97x) { 'use strict'; var _97y = null; var _97z, _980 = this && this.__extends || (_97z = function(_981, _982) { var _983 = null; return _97z = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_984, _985) { var _986 = null; _984.__proto__ = _985; } || function(_987, _988) { var _989 = null; for (var _98a in _988) Object.prototype.hasOwnProperty.call(_988, _98a) && (_987[_98a] = _988[_98a]); }, _97z(_981, _982); }, function(_98b, _98c) { var _98d = null; if ('function' != typeof _98c && null !== _98c) throw new TypeError('Class extends value ' + String(_98c) + ' is not a constructor or null'); function _98e() { var _98f = null; this.constructor = _98b; } _97z(_98b, _98c), _98b.prototype = null === _98c ? Object.create(_98c) : (_98e.prototype = _98c.prototype, new _98e()); }), _98g = this && this.__importDefault || function(_98h) { var _98i = null; return _98h && _98h.__esModule ? _98h : { 'default': _98h }; }; defineModule(_97w); Object.defineProperty(_97w, '__esModule', { 'value': !0 }), _97w.TaskLoadResourcesOrganize = void 0; var _98j = _98g(_97x(18622)), _98k = _97x(80534), _98l = _97x(81755), _98m = _97x(13748), _98n = function(_98o) { var _98p = null; function _98q() { var _98r = null; return _98o.call(this) || this; } return _980(_98q, _98o), _98q.prototype._start = function() { var _98s = null, _98t = this, _98u = new _98m.UIImageLoader('organize'); switch (_98u.add('organize_main.json'), _98u.add('organize_ship.json'), _98u.add('organize_filter.json'), -1 != _98j.default.model.basic.getMFlag() && _98u.add('organize_rengo.json'), _98k.MAMIYA_IRAKO_SEASON) { case 2: _98u.add('organize_hokyu_dialog_xmas.json'); break; case 4: _98u.add('organize_hokyu_dialog_summer.json'); break; default: _98u.add('organize_hokyu_dialog_default.json'); } _98u.load(function() { var _98v = null; _98t._endTask(); }); }, _98q; }(_98l.TaskBase); _97w.TaskLoadResourcesOrganize = _98n; }, 73780: function(_98w, _98x, _98y) { 'use strict'; var _98z = null; var _990, _991 = this && this.__extends || (_990 = function(_992, _993) { var _994 = null; return _990 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_995, _996) { var _997 = null; _995.__proto__ = _996; } || function(_998, _999) { var _99a = null; for (var _99b in _999) Object.prototype.hasOwnProperty.call(_999, _99b) && (_998[_99b] = _999[_99b]); }, _990(_992, _993); }, function(_99c, _99d) { var _99e = null; if ('function' != typeof _99d && null !== _99d) throw new TypeError('Class extends value ' + String(_99d) + ' is not a constructor or null'); function _99f() { var _99g = null; this.constructor = _99c; } _990(_99c, _99d), _99c.prototype = null === _99d ? Object.create(_99d) : (_99f.prototype = _99d.prototype, new _99f()); }); defineModule(_98x); Object.defineProperty(_98x, '__esModule', { 'value': !0 }), _98x.TaskLoadResourcesPractice = void 0; var _99h = _98y(81755), _99i = _98y(13748), _99j = function(_99k) { var _99l = null; function _99m() { var _99n = null; return _99k.call(this) || this; } return _991(_99m, _99k), _99m.prototype._start = function() { var _99o = null, _99p = this, _99q = new _99i.UIImageLoader('prac'); _99q.add('prac_main.json'), _99q.load(function() { var _99r = null; _99p._endTask(); }); }, _99m; }(_99h.TaskBase); _98x.TaskLoadResourcesPractice = _99j; }, 23847: function(_99s, _99t, _99u) { 'use strict'; var _99v = null; var _99w, _99x = this && this.__extends || (_99w = function(_99y, _99z) { var _9a0 = null; return _99w = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_9a1, _9a2) { var _9a3 = null; _9a1.__proto__ = _9a2; } || function(_9a4, _9a5) { var _9a6 = null; for (var _9a7 in _9a5) Object.prototype.hasOwnProperty.call(_9a5, _9a7) && (_9a4[_9a7] = _9a5[_9a7]); }, _99w(_99y, _99z); }, function(_9a8, _9a9) { var _9aa = null; if ('function' != typeof _9a9 && null !== _9a9) throw new TypeError('Class extends value ' + String(_9a9) + ' is not a constructor or null'); function _9ab() { var _9ac = null; this.constructor = _9a8; } _99w(_9a8, _9a9), _9a8.prototype = null === _9a9 ? Object.create(_9a9) : (_9ab.prototype = _9a9.prototype, new _9ab()); }); defineModule(_99t); Object.defineProperty(_99t, '__esModule', { 'value': !0 }), _99t.TaskLoadResourcesRemodel = void 0; var _9ad = _99u(81755), _9ae = _99u(13748), _9af = _99u(71633), _9ag = function(_9ah) { var _9ai = null; function _9aj() { var _9ak = null; return _9ah.call(this) || this; } return _99x(_9aj, _9ah), _9aj.prototype._start = function() { var _9al = null; this._load01(); }, _9aj.prototype._load01 = function() { var _9am = null, _9an = this, _9ao = new _9ae.UIImageLoader('remodel'); _9ao.add('6slot_huki1_c.png'), _9ao.add('6slot_huki1_r.png'), _9ao.add('6slot_huki1_l.png'), _9ao.add('6slot_huki2.png'), _9ao.load(function() { var _9ap = null; _9an._load02(); }); }, _9aj.prototype._load02 = function() { var _9aq = null, _9ar = this, _9as = new _9ae.UIImageLoader('remodel'); _9as.add('remodel_main.json'), _9as.add('remodel_powerup.json'), _9as.add('remodel_gradeup.json'), _9as.add('remodel_animation.json'), _9as.add('remodel_preset.json'), _9as.add('remodel_preset_slot_text.json'), _9af.EventConst.HALLOWEEN && _9as.add('remodel_pumpkin.json'), _9as.load(function() { var _9at = null; _9ar._endTask(); }); }, _9aj; }(_9ad.TaskBase); _99t.TaskLoadResourcesRemodel = _9ag; }, 82899: function(_9au, _9av, _9aw) { 'use strict'; var _9ax = null; var _9ay, _9az = this && this.__extends || (_9ay = function(_9b0, _9b1) { var _9b2 = null; return _9ay = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_9b3, _9b4) { var _9b5 = null; _9b3.__proto__ = _9b4; } || function(_9b6, _9b7) { var _9b8 = null; for (var _9b9 in _9b7) Object.prototype.hasOwnProperty.call(_9b7, _9b9) && (_9b6[_9b9] = _9b7[_9b9]); }, _9ay(_9b0, _9b1); }, function(_9ba, _9bb) { var _9bc = null; if ('function' != typeof _9bb && null !== _9bb) throw new TypeError('Class extends value ' + String(_9bb) + ' is not a constructor or null'); function _9bd() { var _9be = null; this.constructor = _9ba; } _9ay(_9ba, _9bb), _9ba.prototype = null === _9bb ? Object.create(_9bb) : (_9bd.prototype = _9bb.prototype, new _9bd()); }); defineModule(_9av); Object.defineProperty(_9av, '__esModule', { 'value': !0 }), _9av.TaskLoadResourcesSally = void 0; var _9bf = _9aw(81755), _9bg = _9aw(13748), _9bh = function(_9bi) { var _9bj = null; function _9bk(_9bl) { var _9bm = null, _9bn = _9bi.call(this) || this; return _9bn._event = _9bl, _9bn; } return _9az(_9bk, _9bi), _9bk.prototype._start = function() { var _9bo = null; this._load(); }, _9bk.prototype._load = function() { var _9bp = null, _9bq = this, _9br = new _9bg.UIImageLoader('sally'); _9br.add('sally_common.json'), _9br.add('sally_top.json'), _9br.add('sally_sortie.json'), _9br.add('sally_practice.json'), _9br.add('sally_expedition.json'), _9br.add('sally_airunit.json'), _9br.add('sally_airbase_maint.json'), _9br.add('sally_jin.json'), _9br.add('sally_map_parts.json'), this._event && (_9br.add('sally_event.json'), _9br.add('sally_strategymap.json'), _9br.add('sally_event_second.json'), _9br.add('sally_strategymap_second.json')), _9br.load(function() { var _9bs = null; _9bq._endTask(); }); }, _9bk; }(_9bf.TaskBase); _9av.TaskLoadResourcesSally = _9bh; }, 55582: function(_9bt, _9bu, _9bv) { 'use strict'; var _9bw = null; var _9bx, _9by = this && this.__extends || (_9bx = function(_9bz, _9c0) { var _9c1 = null; return _9bx = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_9c2, _9c3) { var _9c4 = null; _9c2.__proto__ = _9c3; } || function(_9c5, _9c6) { var _9c7 = null; for (var _9c8 in _9c6) Object.prototype.hasOwnProperty.call(_9c6, _9c8) && (_9c5[_9c8] = _9c6[_9c8]); }, _9bx(_9bz, _9c0); }, function(_9c9, _9ca) { var _9cb = null; if ('function' != typeof _9ca && null !== _9ca) throw new TypeError('Class extends value ' + String(_9ca) + ' is not a constructor or null'); function _9cc() { var _9cd = null; this.constructor = _9c9; } _9bx(_9c9, _9ca), _9c9.prototype = null === _9ca ? Object.create(_9ca) : (_9cc.prototype = _9ca.prototype, new _9cc()); }); defineModule(_9bu); Object.defineProperty(_9bu, '__esModule', { 'value': !0 }), _9bu.TaskLoadResourcesTitle = void 0; var _9ce = _9bv(57616), _9cf = _9bv(81755), _9cg = _9bv(13748), _9ch = function(_9ci) { var _9cj = null; function _9ck(_9cl) { var _9cm = null; void 0 === _9cl && (_9cl = -1); var _9cn = _9ci.call(this) || this; return _9cn.rnd = 0, _9cn._onComplete = function() { var _9co = null; _9cn._endTask(); }, (_9cn.rnd = _9cl >= 0 && _9cl < 6 ? _9cl : Math.floor(6 * Math.random()), _9cn); } return _9by(_9ck, _9ci), _9ck.prototype._start = function() { var _9cp = null, _9cq = this, _9cr = '' ['concat'](_9ce.MathUtil.zeroPadding(this.rnd + 1, 2), '.png'); new _9cg.UIImageLoader('title').add(_9cr, 'title_bg1').add('title2.png', 'title_bg2').add('title_main.json').load(function() { var _9cs = null; _9cq._onComplete(); }); }, _9ck; }(_9cf.TaskBase); _9bu.TaskLoadResourcesTitle = _9ch; }, 15869: (_9ct, _9cu) => { 'use strict'; var _9cv = null; var _9cw; defineModule(_9cu); Object.defineProperty(_9cu, '__esModule', { 'value': !0 }), _9cu.ColorUtil = void 0, function(_9cx) { var _9cy = null; _9cx.getLevelColor = function(_9cz) { return _9cz < 50 ? 4999235 : _9cz < 80 ? 1949146 : _9cz < 100 ? 1015126 : _9cz >= 100 ? 10775819 : void 0; }; }(_9cw || (_9cu.ColorUtil = _9cw = {})); }, 43712: (_9d0, _9d1) => { 'use strict'; var _9d2 = null; defineModule(_9d1); Object.defineProperty(_9d1, '__esModule', { 'value': !0 }), _9d1.CreateRect = void 0; var _9d3 = (function() { var _9d4 = null; function _9d5() {} return _9d5._getRectItem = function(_9d6, _9d7) { var _9d8 = null; if (!1 !== this._items.hasOwnProperty(_9d6)) { var _9d9 = this._items[_9d6].filter(function(_9da) { var _9db = null; for (var _9dc = _9da.data, _9dd = !0, _9de = 0, _9df = _9dc.length; _9de < _9df; _9de++) if (_9dc[_9de] !== _9d7[_9de]) { _9dd = !1; break; } return _9dd; }); if (0 !== _9d9.length) return _9d9[0].sprite; } else this._items[_9d6] = []; }, _9d5.gradientLeftToRight = function(_9dg, _9dh, _9di, _9dj) { var _9dk = null, _9dl = this._getRectItem('L2R', [_9dg, _9dh, _9di, _9dj]); if (void 0 !== _9dl) return new PIXI.Sprite(_9dl); var _9dm = document.createElement('canvas'); _9dm.width = _9dg, _9dm.height = _9dh; var _9dn = _9dm.getContext('2d'); _9dn.beginPath(); var _9do = _9dn.createLinearGradient(0, 0, _9dg, 0); _9do.addColorStop(0, '#ffffff'), _9do.addColorStop(_9di, '#ffffff'), _9do.addColorStop(_9dj, '#000000'), _9do.addColorStop(1, '#000000'), _9dn.fillStyle = _9do, _9dn.rect(0, 0, _9dg, _9dh), _9dn.fill(); var _9dp = PIXI.Texture.fromCanvas(_9dm); return this._items.L2R.push({ 'data': [_9dg, _9dh, _9di, _9dj], 'sprite': _9dp }), new PIXI.Sprite(_9dp); }, _9d5._items = {}, _9d5; }()); _9d1.CreateRect = _9d3; }, 78935: (_9dq, _9dr) => { 'use strict'; var _9ds = null; var _9dt; defineModule(_9dr); Object.defineProperty(_9dr, '__esModule', { 'value': !0 }), _9dr.DateUtil = void 0, function(_9du) { var _9dv = null; _9du.format = function(_9dw, _9dx) { var _9dy = null; _9dx || (_9dx = 'YYYY/MM/DD hh:mm:ss'); var _9dz = new Date(_9dw); return _9dx = (_9dx = (_9dx = (_9dx = (_9dx = (_9dx = _9dx.replace(/YYYY/g, _9dz.getFullYear().toString())).replace(/MM/g, ('0' + (_9dz.getMonth() + 1)).slice(-2))).replace(/DD/g, ('0' + _9dz.getDate()).slice(-2))).replace(/hh/g, ('0' + _9dz.getHours()).slice(-2))).replace(/mm/g, ('0' + _9dz.getMinutes()).slice(-2))).replace(/ss/g, ('0' + _9dz.getSeconds()).slice(-2)); }; }(_9dt || (_9dr.DateUtil = _9dt = {})); }, 39450: (_9e0, _9e1) => { 'use strict'; var _9e2 = null; defineModule(_9e1); Object.defineProperty(_9e1, '__esModule', { 'value': !0 }), _9e1.EditTextBoxUtil = void 0; var _9e3 = (function() { var _9e4 = null; function _9e5() {} return _9e5.init = function(_9e6, _9e7, _9e8, _9e9, _9ea, _9eb) { var _9ec = null; void 0 === _9e9 && (_9e9 = 16), void 0 === _9ea && (_9ea = 0), void 0 === _9eb && (_9eb = 'font_j'); var _9ed = this._editArea; _9ed.style.left = _9e6 + 'px', _9ed.style.top = _9e7 + 'px', _9ed.style.width = _9e8 + 'px'; var _9ee = this._editBox; _9ee.style.fontFamily = '\x27' + _9eb + '\x27', _9ee.style.width = _9ed.style.width, _9ee.style.fontSize = _9ed.style.fontSize = _9e9 + 'pt', _9ee.style.color = '#' + ('000000' + _9ea.toString(16)).slice(-6); }, _9e5.setVisibility = function(_9ef) { var _9eg = null; this._editArea.style.display = _9ef ? 'block' : 'none'; }, Object.defineProperty(_9e5, 'text', { 'get': function() { var _9eh = null; return this._editBox.value; }, 'set': function(_9ei) { var _9ej = null; this._editBox.value = _9ei; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_9e5, 'width', { 'set': function(_9ek) { var _9el = null; this._editBox.width = parseInt(_9ek); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_9e5, 'height', { 'set': function(_9em) { var _9en = null; this._editBox.height = parseInt(_9em); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_9e5, 'onkeyup', { 'get': function() { var _9eo = null; return this._editBox.onkeyup; }, 'set': function(_9ep) { var _9eq = null; this._editBox.onkeyup = _9ep; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_9e5, 'oninput', { 'set': function(_9er) { var _9es = null; this._editBox.oninput = _9er; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_9e5, 'onkeydown', { 'get': function() { var _9et = null; return this._editBox.onkeydown; }, 'set': function(_9eu) { var _9ev = null; this._editBox.onkeydown = _9eu; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_9e5, 'visible', { 'get': function() { var _9ew = null; return this._editArea.style.display; }, 'enumerable': !1, 'configurable': !0 }), _9e5.onLengthCheck = function(_9ex, _9ey, _9ez) { var _9f0 = null, _9f1 = this; void 0 === _9ex && (_9ex = 12); var _9f2 = null; this.onkeydown = function(_9f3) { var _9f4 = null; _9f2 = _9f3.keyCode, _9ez && _9ez(); }, this.onkeyup = function(_9f5) { var _9f6 = null; _9f2 != _9f5.keyCode && 'Enter' != _9f5.key || _9f1.text.length > _9ex && (_9f1.text = _9f1.text.slice(0, _9ex)); }, this.oninput = function() { _9ey && _9ey(); }; }, _9e5.onEventDestroy = function() { var _9f7 = null; this.onkeydown = null, this.onkeyup = null, this.oninput = null; }, Object.defineProperty(_9e5, '_editArea', { 'get': function() { var _9f8 = null; return window.document.getElementById('r_editarea'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_9e5, '_editBox', { 'get': function() { var _9f9 = null; return window.document.getElementById('r_editbox'); }, 'enumerable': !1, 'configurable': !0 }), _9e5.validation = function(_9fa, _9fb, _9fc) { var _9fd = null; return void 0 === _9fc && (_9fc = !0), '' != _9fa && (0 != _9fa.length && ((!_9fa.match(/^\s*$|^ *$/) || !_9fc) && (_9fa != _9fb && !(_9fa.length > 12)))); }, _9e5; }()); _9e1.EditTextBoxUtil = _9e3; }, 24616: function(_9fe, _9ff, _9fg) { 'use strict'; var _9fh = null; var _9fi = this && this.__importDefault || function(_9fj) { var _9fk = null; return _9fj && _9fj.__esModule ? _9fj : { 'default': _9fj }; }; defineModule(_9ff); Object.defineProperty(_9ff, '__esModule', { 'value': !0 }), _9ff.InteractiveUtil = void 0; var _9fl = _9fi(_9fg(18622)), _9fm = (function() { var _9fn = null; function _9fo() {} return _9fo.getMouseGlobalPos = function() { var _9fp = null, _9fq = this._getMouse(); return null == _9fq ? null : _9fq.global; }, _9fo.getMouseLocalPos = function(_9fr) { var _9fs = null, _9ft = this._getMouse(); return null == _9ft ? null : _9ft.getLocalPosition(_9fr); }, _9fo.isOnMouse = function(_9fu) { var _9fv = null; return null != _9fu && (null != _9fu.hitArea ? null != (_9fw = this.getMouseLocalPos(_9fu)) && _9fu.hitArea.contains(_9fw.x, _9fw.y) : null != (_9fw = this.getMouseGlobalPos()) && (_9fu instanceof PIXI.Sprite ? _9fu.containsPoint(_9fw) : void this._containsPoint(_9fu, _9fw))); var _9fw; }, _9fo._containsPoint = function(_9fx, _9fy) { var _9fz = null; if (_9fx instanceof PIXI.Sprite) return _9fx.containsPoint(_9fy); for (var _9g0 = 0, _9g1 = _9fx.children; _9g0 < _9g1.length; _9g0++) { var _9g2 = _9g1[_9g0]; if (this._containsPoint(_9g2, _9fy)) return !0; } return !1; }, _9fo._getMouse = function() { var _9g3 = null, _9g4 = _9fl.default.settings.renderer; if (null == _9g4) return null; var _9g5 = _9g4.plugins.interaction; return null == _9g5 ? null : _9g5.mouse; }, _9fo; }()); _9ff.InteractiveUtil = _9fm; }, 69100: (_9g6, _9g7) => { 'use strict'; var _9g8 = null; defineModule(_9g7); Object.defineProperty(_9g7, '__esModule', { 'value': !0 }), _9g7.LeafAnimationUtil = void 0; var _9g9 = (function() { var _9ga = null; function _9gb() {} return _9gb.LeafAnimation = function(_9gc, _9gd) { var _9ge = null, _9gf = 0, _9gg = [ [0 + _9gd.x, 0 + _9gd.y, 0], [179 + _9gd.x, 80 + _9gd.y, 0.0984848484848485], [386.95 + _9gd.x, 126 + _9gd.y, 0.196969696969697], [578.95 + _9gd.x, 95 + _9gd.y, 0.287878787878788], [527.95 + _9gd.x, 62 + _9gd.y, 0.386363636363636], [489.95 + _9gd.x, 102 + _9gd.y, 0.454545454545455], [660.95 + _9gd.x, 164 + _9gd.y, 0.53030303030303], [869.95 + _9gd.x, 173 + _9gd.y, 0.621212121212121], [1026.95 + _9gd.x, 132 + _9gd.y, 0.71969696969697], [1034.95 + _9gd.x, 116 + _9gd.y, 0.78030303030303], [1071.95 + _9gd.x, 155 + _9gd.y, 0.840909090909091], [1190.95 + _9gd.x, 222 + _9gd.y, 0.916666666666667], [1331.95 + _9gd.x, 246 + _9gd.y, 1] ], _9gh = { 'progress': 0 }, _9gi = createjs.Tween.get(_9gh, { 'loop': !0 }), _9gj = function() { var _9gk = null; for (var _9gl = 0; _9gl < _9gg.length; _9gl++) { var _9gm = _9gg[_9gl], _9gn = _9gm[0], _9go = _9gm[1], _9gp = _9gm[2]; if (_9gh.progress < _9gp) { var _9gq = _9gl - 1; _9gq < 0 && (_9gq = 0); var _9gr = _9gg[_9gq], _9gs = _9gr[0], _9gt = _9gr[1], _9gu = _9gr[2], _9gv = (_9gh.progress - _9gu) / (_9gp - _9gu), _9gw = _9gs + (_9gn - _9gs) * _9gv, _9gx = _9gt + (_9go - _9gt) * _9gv; return _9gc.position.x = _9gw, void(_9gc.position.y = _9gx); } } }, _9gy = function() { _9gf++; }, _9gz = function() { _9gf % 2 == 0 && _9gj(); }; return _9gh.progress = 0, _9gj(), _9gi.call(function() { var _9h0 = null; return _9gi.addEventListener('change', _9gy), _9gi.addEventListener('change', _9gz), _9gi; }).to({ 'progress': 1 }, 4400, createjs.Ease.quadOut).call(function() { var _9h1 = null; _9gi.removeAllEventListeners('change'), _9gh.progress = 1, _9gj(); }), _9gi; }, _9gb.LeafWithDashAnimation = function(_9h2, _9h3, _9h4) { var _9h5 = null, _9h6 = 0, _9h7 = [ [0 + _9h4.x, 0 + _9h4.y, 0], [179 + _9h4.x, 80 + _9h4.y, 0.0984848484848485], [386.95 + _9h4.x, 126 + _9h4.y, 0.196969696969697], [578.95 + _9h4.x, 95 + _9h4.y, 0.287878787878788], [527.95 + _9h4.x, 62 + _9h4.y, 0.386363636363636], [489.95 + _9h4.x, 102 + _9h4.y, 0.454545454545455], [660.95 + _9h4.x, 164 + _9h4.y, 0.53030303030303], [869.95 + _9h4.x, 173 + _9h4.y, 0.621212121212121], [1026.95 + _9h4.x, 132 + _9h4.y, 0.71969696969697], [1034.95 + _9h4.x, 116 + _9h4.y, 0.78030303030303], [1071.95 + _9h4.x, 155 + _9h4.y, 0.840909090909091], [1190.95 + _9h4.x, 222 + _9h4.y, 0.916666666666667], [1331.95 + _9h4.x, 246 + _9h4.y, 1] ], _9h8 = { 'progress': 0 }, _9h9 = createjs.Tween.get(_9h8), _9ha = function() { var _9hb = null; for (var _9hc = 0; _9hc < _9h7.length; _9hc++) { var _9hd = _9h7[_9hc], _9he = _9hd[0], _9hf = _9hd[1], _9hg = _9hd[2]; if (_9h8.progress < _9hg) { var _9hh = _9hc - 1; _9hh < 0 && (_9hh = 0); var _9hi = _9h7[_9hh], _9hj = _9hi[0], _9hk = _9hi[1], _9hl = _9hi[2], _9hm = (_9h8.progress - _9hl) / (_9hg - _9hl), _9hn = _9hj + (_9he - _9hj) * _9hm, _9ho = _9hk + (_9hf - _9hk) * _9hm; return _9h2.position.x = _9hn, void(_9h2.position.y = _9ho); } } }, _9hp = function() { _9h6++; }, _9hq = function() { _9h6 % 2 == 0 && _9ha(); }, _9hr = function() { var _9hs = null; if (_9h6 % 8 == 0) { var _9ht = _9h3[Math.floor(_9h6 % _9h3.length)]; _9ht.x = _9h2.x - 15, _9ht.y = _9h2.y + 75, _9ht.alpha = 1, createjs.Tween.removeTweens(_9ht), createjs.Tween.get(_9ht).to({ 'alpha': 0 }, 1000).play(null); } }; return _9h8.progress = 0, _9ha(), _9h9.call(function() { var _9hu = null; return _9h9.addEventListener('change', _9hp), _9h9.addEventListener('change', _9hq), _9h9.addEventListener('change', _9hr), _9h9; }).to({ 'progress': 1 }, 4400, createjs.Ease.quadOut).call(function() { var _9hv = null; _9h9.removeAllEventListeners('change'), _9h8.progress = 1, _9ha(); }), _9h9; }, _9gb; }()); _9g7.LeafAnimationUtil = _9g9; }, 10742: (_9hw, _9hx, _9hy) => { 'use strict'; var _9hz = null; defineModule(_9hx); Object.defineProperty(_9hx, '__esModule', { 'value': !0 }), _9hx.MapUtil = _9hx.CellOpenScene = void 0; var _9i0, _9i1, _9i2 = _9hy(93955), _9i3 = _9hy(57616); ! function(_9i4) { var _9i5 = null; _9i4[_9i4.END_POINT = 0] = 'END_POINT', _9i4[_9i4.END_POINT_NON_BATTLE = 1] = 'END_POINT_NON_BATTLE', _9i4[_9i4.AFTER_BATTLE = 2] = 'AFTER_BATTLE', _9i4[_9i4.AIR_RAID = 3] = 'AIR_RAID'; }(_9i0 || (_9hx.CellOpenScene = _9i0 = {})), function(_9i6) { var _9i7 = null; function _9i8(_9i9) { var _9ia = null; return Math.floor(_9i9 / 10); } function _9ib(_9ic) { return _9ic % 10; } function _9id(_9ie) { var _9if = null; return _9ie > _9i2.AREA_ID_THRESHOLD; } _9i6.toMapID = function(_9ig, _9ih) { return 10 * _9ig + _9ih; }, _9i6.toAreaID = _9i8, _9i6.toMapNo = _9ib, _9i6.toResKey = function(_9ii, _9ij) { var _9ik = null; void 0 === _9ij && (_9ij = 0); var _9il = _9ii; if (_9ij <= 0) { var _9im = _9ii; _9il = _9i8(_9im), _9ij = _9ib(_9im); } return _9i3.MathUtil.zeroPadding(_9il, 3).toString() + _9i3.MathUtil.zeroPadding(_9ij, 2).toString(); }, _9i6.isEventArea = _9id, _9i6.getCellOpenOption = function(_9in, _9io, _9ip, _9iq, _9ir) { return _9id(_9i8(_9in)) ? function(_9is, _9it, _9iu, _9iv, _9iw) { var _9ix = null, _9iy = !0, _9iz = _9it != _9i0.AIR_RAID && _9it != _9i0.END_POINT_NON_BATTLE, _9j0 = [571].indexOf(_9is) >= 0, _9j1 = _9it == _9i0.END_POINT, _9j2 = _9iw, _9j3 = { 'nextGauge': _9j1, 'gaugeAftShutter': !0, 'mapGimmick': !0, 'hideEnemy': _9iy, 'onShutter': _9iz, 'gaugeLeft': _9j0, 'airbase': _9j2 }, _9j4 = { 'nextGauge': !1, 'gaugeAftShutter': !0, 'mapGimmick': !0, 'hideEnemy': _9iy, 'onShutter': _9iz, 'gaugeLeft': _9j0, 'airbase': _9j2 }; if (0 == _9iv) return 0 != _9iw ? { 'nextGauge': !1, 'gaugeAftShutter': !0, 'mapGimmick': !1, 'hideEnemy': _9iy, 'onShutter': _9iz, 'gaugeLeft': _9j0, 'airbase': _9iw } : null; switch (_9is) { case 581: if (2 == _9iv) return _9j4; if (3 == _9iv) return { 'nextGauge': !0, 'gaugeAftShutter': !0, 'mapGimmick': !0, 'hideEnemy': _9iy, 'onShutter': _9iz, 'gaugeLeft': _9j0, 'airbase': _9j2 }; if (4 == _9iv) return _9j4; break; case 582: if (2 == _9iv) return _9j4; if (3 == _9iv) return _9j3; break; case 583: if (2 == _9iv) return _9j4; if (3 == _9iv) return _9j3; if (4 == _9iv) return _9j3; break; case 584: if ([2, 3].includes(_9iv)) return _9j4; if ([4, 5, 6].includes(_9iv)) return _9j3; } return null; }(_9in, _9io, 0, _9iq, _9ir) : function(_9j5, _9j6, _9j7, _9j8, _9j9) { var _9ja = null, _9jb = !0, _9jc = _9j6 != _9i0.AIR_RAID && _9j6 != _9i0.END_POINT_NON_BATTLE, _9jd = [75].indexOf(_9j5) >= 0, _9je = _9j6 == _9i0.END_POINT, _9jf = _9j9, _9jg = { 'nextGauge': _9je, 'gaugeAftShutter': !0, 'mapGimmick': !0, 'hideEnemy': _9jb, 'onShutter': _9jc, 'gaugeLeft': _9jd, 'airbase': _9jf }, _9jh = { 'nextGauge': !0, 'gaugeAftShutter': !0, 'mapGimmick': !1, 'hideEnemy': _9jb, 'onShutter': _9jc, 'gaugeLeft': _9jd, 'airbase': _9jf }, _9ji = { 'nextGauge': !1, 'gaugeAftShutter': !0, 'mapGimmick': !0, 'hideEnemy': _9jb, 'onShutter': _9jc, 'gaugeLeft': _9jd, 'airbase': _9jf }; if (0 == _9j8) return 0 != _9j9 ? { 'nextGauge': !1, 'gaugeAftShutter': !0, 'mapGimmick': !1, 'hideEnemy': _9jb, 'onShutter': _9jc, 'gaugeLeft': _9jd, 'airbase': _9j9 } : null; if (75 === _9j5) { if (2 == _9j8) return _9jg; if (30 == _9j8) return _9jh; if (3 == _9j8) return 2 == _9j7 ? _9jg : _9ji; } return null; }(_9in, _9io, _9ip, _9iq, _9ir); }, _9i6.getSeasonalFairySheetName = function(_9jj) { var _9jk = null; return 'xmas' === _9jj ? 'fairy_xmas' : 'fairy'; }; }(_9i1 || (_9hx.MapUtil = _9i1 = {})); }, 57616: (_9jl, _9jm) => { 'use strict'; var _9jn = null; var _9jo; defineModule(_9jm); Object.defineProperty(_9jm, '__esModule', { 'value': !0 }), _9jm.MathUtil = void 0, function(_9jp) { var _9jq = null; _9jp.zeroPadding = function(_9jr, _9js) { var _9jt = null; for (var _9ju = _9jr >= 0 ? '' : '-', _9jv = '', _9jw = 0, _9jx = _9js - ((_9jr = Math.abs(_9jr)) > 0 ? Math.floor(Math.log(_9jr) * Math.LOG10E + 1) : 1); _9jw < _9jx; _9jw++) _9jv += '0'; return _9ju + _9jv + _9jr; }, _9jp.timeToString = function(_9jy) { var _9jz = null, _9k0 = 3600000, _9k1 = 86400000, _9k2 = Math.floor(_9jy / _9k0), _9k3 = Math.floor(_9jy % _9k1 / 60000) % 60, _9k4 = Math.floor(_9jy % _9k1 / 1000) % 60 % 60; return '' ['concat'](_9jp.zeroPadding(_9k2, 2), ':').concat(_9jp.zeroPadding(_9k3, 2), ':').concat(_9jp.zeroPadding(_9k4, 2)); }, _9jp.getColor = function(_9k5) { var _9k6 = null; if (_9k5 < 0 || _9k5 > 1) throw Error(); var _9k7, _9k8 = 1 / 3, _9k9 = 255, _9ka = 255; return _9k5 < _9k8 ? (_9k7 = 3 * _9k5, _9ka = Math.round(0 + 128 * _9k7)) : _9k5 < 2 * _9k8 ? (_9k7 = 3 * (_9k5 - _9k8), _9ka = Math.round(128 + 3 * (_9k5 - _9k8) * 128)) : (_9k7 = 3 * (_9k5 - 2 * _9k8), _9k9 = Math.round(255 - 255 * _9k7)), (_9k9 << 16) + (_9ka << 8); }, _9jp.round = function(_9kb, _9kc) { var _9kd = null; return Math.round(_9kb * Math.pow(10, _9kc)) / Math.pow(10, _9kc); }; }(_9jo || (_9jm.MathUtil = _9jo = {})); }, 89939: (_9ke, _9kf) => { 'use strict'; var _9kg = null; var _9kh; defineModule(_9kf); Object.defineProperty(_9kf, '__esModule', { 'value': !0 }), _9kf.ObjUtil = void 0, function(_9ki) { var _9kj = null; _9ki.getNumber = function(_9kk, _9kl, _9km) { var _9kn = null; return void 0 === _9km && (_9km = 0), _9ki._getProp(_9kk, _9kl, _9km); }, _9ki.getString = function(_9ko, _9kp, _9kq) { var _9kr = null; void 0 === _9kq && (_9kq = ''); var _9ks = _9ki._getProp(_9ko, _9kp, _9kq); return null == _9ks && null != _9kq && (_9ks = _9kq), _9ks; }, _9ki.getObjectArray = function(_9kt, _9ku, _9kv) { var _9kw = null; void 0 === _9kv && (_9kv = null); var _9kx = _9ki._getProp(_9kt, _9ku, _9kv); return _9kx || _9kv; }, _9ki.getNumArray = function(_9ky, _9kz, _9l0) { var _9l1 = null; void 0 === _9l0 && (_9l0 = null); var _9l2 = _9ki._getProp(_9ky, _9kz, _9l0); return _9l2 || _9l0; }, _9ki.getStrArray = function(_9l3, _9l4, _9l5) { var _9l6 = null; void 0 === _9l5 && (_9l5 = null); var _9l7 = _9ki._getProp(_9l3, _9l4, _9l5); return _9l7 || _9l5; }, _9ki.getObject = function(_9l8, _9l9, _9la) { var _9lb = null; void 0 === _9la && (_9la = null); var _9lc = _9ki._getProp(_9l8, _9l9, _9la); return null == _9lc && null != _9la && (_9lc = _9la), _9lc; }, _9ki.getBoolean = function(_9ld, _9le, _9lf) { var _9lg = null; return void 0 === _9lf && (_9lf = !1), null == _9ld || 0 == _9ld.hasOwnProperty(_9le) ? _9lf : _9ld[_9le]; }, _9ki._getProp = function(_9lh, _9li, _9lj) { var _9lk = null; if (null != _9lh && _9lh.hasOwnProperty(_9li)) { var _9ll = _9lh[_9li]; if (null != _9ll && null != _9ll) return _9ll; } return _9lj; }; }(_9kh || (_9kf.ObjUtil = _9kh = {})); }, 13560: function(_9lm, _9ln, _9lo) { 'use strict'; var _9lp = null; var _9lq, _9lr = this && this.__extends || (_9lq = function(_9ls, _9lt) { var _9lu = null; return _9lq = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_9lv, _9lw) { var _9lx = null; _9lv.__proto__ = _9lw; } || function(_9ly, _9lz) { var _9m0 = null; for (var _9m1 in _9lz) Object.prototype.hasOwnProperty.call(_9lz, _9m1) && (_9ly[_9m1] = _9lz[_9m1]); }, _9lq(_9ls, _9lt); }, function(_9m2, _9m3) { var _9m4 = null; if ('function' != typeof _9m3 && null !== _9m3) throw new TypeError('Class extends value ' + String(_9m3) + ' is not a constructor or null'); function _9m5() { var _9m6 = null; this.constructor = _9m2; } _9lq(_9m2, _9m3), _9m2.prototype = null === _9m3 ? Object.create(_9m3) : (_9m5.prototype = _9m3.prototype, new _9m5()); }), _9m7 = this && this.__importDefault || function(_9m8) { var _9m9 = null; return _9m8 && _9m8.__esModule ? _9m8 : { 'default': _9m8 }; }; defineModule(_9ln); Object.defineProperty(_9ln, '__esModule', { 'value': !0 }), _9ln.OptionUtil = void 0; var _9ma, _9mb = _9lo(81755), _9mc = _9m7(_9lo(18622)), _9md = _9lo(39156), _9me = _9lo(92547); ! function(_9mf) { var _9mg = null; _9mf.format = function(_9mh, _9mi) { return encodeURI(_9mh) + '=' + encodeURI(_9mi); }, _9mf.load = function(_9mj) { var _9mk = null, _9ml = _9md.PostMessageType.OPTIONS_LOAD + '\x09'; new _9mm(_9ml).start(function() { null != _9mj && _9mj(); }); }, _9mf.save = function(_9mn, _9mo) { var _9mp = null; void 0 === _9mo && (_9mo = null); var _9mq = _9md.PostMessageType.OPTIONS_SAVE + '\x09' + _9mn; new _9mm(_9mq).start(function() { null != _9mo && _9mo(); }); }, _9mf.getItem = function(_9mr, _9ms) { var _9mt = null; return _9mr && _9mf.hasItem(_9mr, _9ms) ? decodeURI(_9ms.replace(new RegExp('(?:^|.*;\s*)' + encodeURI(_9mr).replace(/[\-\.\+\*]/g, '\$&') + '\s*\=\s*((?:[^;](?!;))*[^;]?).*'), '$1')) : null; }, _9mf.hasItem = function(_9mu, _9mv) { var _9mw = null; return new RegExp('(?:^|;\s*)' + encodeURI(_9mu).replace(/[\-\.\+\*]/g, '\$&') + '\s*\=').test(_9mv); }, _9mf.getNumValue = function(_9mx, _9my, _9mz) { var _9n0 = null; if (1 == _9mf.hasItem(_9mx, _9my)) { var _9n1 = parseInt(_9mf.getItem(_9mx, _9my)); if (0 == isNaN(_9n1)) return _9n1; } return _9mz; }, _9mf.getBoolValue = function(_9n2, _9n3, _9n4) { var _9n5 = null; return 1 == _9mf.hasItem(_9n2, _9n3) ? '1' == _9mf.getItem(_9n2, _9n3) : _9n4; }; }(_9ma || (_9ln.OptionUtil = _9ma = {})); var _9mm = function(_9n6) { var _9n7 = null; function _9n8(_9n9) { var _9na = null, _9nb = _9n6.call(this) || this; return _9nb._onCallback = function(_9nc) { var _9nd = null; window.removeEventListener('message', _9nb._onCallback), _9nc.origin != _9nb._GadgetIP && _9nb._endTask(), _9mc.default.option.post_data = _9nc.data, _9nb._endTask(); }, _9nb._message = _9n9, _9nb; } return _9lr(_9n8, _9n6), _9n8.prototype._start = function() { var _9ne = null; try { _9mc.default.option.post_data = '', this._GadgetIP = _9me.SCHEME + '://' + _9mc.default.settings.osapi_root, window.addEventListener('message', this._onCallback), window.parent.postMessage(this._message, this._GadgetIP); } catch (_9nf) { window.removeEventListener('message', this._onCallback), this._endTask(); } }, _9n8; }(_9mb.TaskBase); }, 18343: function(_9ng, _9nh, _9ni) { 'use strict'; var _9nj = null; var _9nk = this && this.__importDefault || function(_9nl) { var _9nm = null; return _9nl && _9nl.__esModule ? _9nl : { 'default': _9nl }; }; defineModule(_9nh); Object.defineProperty(_9nh, '__esModule', { 'value': !0 }), _9nh.ShipUtil = void 0; var _9nn, _9no = _9nk(_9ni(18622)); ! function(_9np) { var _9nq = null; function _9nr(_9ns, _9nt) { var _9nu = 100 * _9ns / _9nt; return _9nu <= 0 ? 0 : _9nu <= 25 ? 25 : _9nu <= 50 ? 50 : _9nu <= 75 ? 75 : 100; } function _9nv(_9nw, _9nx) { var _9ny = null; return null == _9nw ? null : _9nw.filter(function(_9nz, _9o0, _9o1) { var _9o2 = null, _9o3 = _9nz.shipTypeID; return _9nx.indexOf(_9o3) >= 0; }); } _9np.isEnemy = function(_9o4) { return _9o4 > 1500 && _9o4 < 5000; }, _9np.getSpeedType = function(_9o5) { return _9o5 > 15 ? 0 : _9o5 > 10 ? 1 : _9o5 > 5 ? 2 : _9o5 > 0 ? 3 : 4; }, _9np.getDamageType = _9nr, _9np.isDamaged = function(_9o6, _9o7) { var _9o8 = _9nr(_9o6, _9o7); return 50 == _9o8 || 25 == _9o8 || 0 == _9o8; }, _9np.isMarriage = function(_9o9) { return _9o9 >= 100; }, _9np.sort = function(_9oa, _9ob) { var _9oc = null; null != _9oa && _9oa.sort(function(_9od, _9oe) { var _9of = null; if (0 == _9ob) return _9od.level > _9oe.level ? 1 : _9od.level < _9oe.level ? -1 : _9od.sortNo < _9oe.sortNo ? 1 : _9od.sortNo > _9oe.sortNo ? -1 : _9od.memID < _9oe.memID ? 1 : _9od.memID > _9oe.memID ? -1 : 0; if (1 == _9ob) return _9od.level < _9oe.level ? 1 : _9od.level > _9oe.level ? -1 : _9od.sortNo > _9oe.sortNo ? 1 : _9od.sortNo < _9oe.sortNo ? -1 : _9od.memID > _9oe.memID ? 1 : _9od.memID < _9oe.memID ? -1 : 0; if (2 == _9ob) return _9od.sortNo > _9oe.sortNo ? 1 : _9od.sortNo < _9oe.sortNo ? -1 : _9od.level < _9oe.level ? 1 : _9od.level > _9oe.level ? -1 : _9od.memID > _9oe.memID ? 1 : _9od.memID < _9oe.memID ? -1 : 0; if (3 == _9ob) return _9od.memID < _9oe.memID ? 1 : _9od.memID > _9oe.memID ? -1 : 0; if (4 == _9ob) { var _9og = _9od.hpNow / _9od.hpMax, _9oh = _9oe.hpNow / _9oe.hpMax; return _9og > _9oh ? 1 : _9og < _9oh ? -1 : _9od.sortNo > _9oe.sortNo ? 1 : _9od.sortNo < _9oe.sortNo ? -1 : _9od.memID > _9oe.memID ? 1 : _9od.memID < _9oe.memID ? -1 : 0; } return 5 == _9ob ? _9od.getRepairTime() < _9oe.getRepairTime() ? 1 : _9od.getRepairTime() > _9oe.getRepairTime() ? -1 : _9od.sortNo > _9oe.sortNo ? 1 : _9od.sortNo < _9oe.sortNo ? -1 : _9od.memID > _9oe.memID ? 1 : _9od.memID < _9oe.memID ? -1 : 0 : 6 == _9ob ? _9od.tired < _9oe.tired ? 1 : _9od.tired > _9oe.tired ? -1 : _9od.sortNo > _9oe.sortNo ? 1 : _9od.sortNo < _9oe.sortNo ? -1 : _9od.memID > _9oe.memID ? 1 : _9od.memID < _9oe.memID ? -1 : 0 : 0; }); }, _9np.filter = function(_9oi, _9oj, _9ok) { var _9ol = null; return null == _9oi ? null : _9oi.filter(function(_9om, _9on, _9oo) { var _9op = null; return (1 != _9oj || 1 != _9om.isLocked() && 1 != _9om.hasLockedSlotitem()) && !(null != _9ok && _9ok.indexOf(_9om.memID) >= 0); }); }, _9np.filterByShipFilterType = function(_9oq, _9or) { var _9os = null; for (var _9ot = [], _9ou = 0, _9ov = _9or; _9ou < _9ov.length; _9ou++) { var _9ow = _9ov[_9ou]; 0 == _9ow ? (_9ot.push(8), _9ot.push(9), _9ot.push(10), _9ot.push(12)) : 1 == _9ow ? (_9ot.push(7), _9ot.push(11), _9ot.push(18)) : 2 == _9ow ? (_9ot.push(5), _9ot.push(6)) : 3 == _9ow ? (_9ot.push(3), _9ot.push(4), _9ot.push(21)) : 4 == _9ow ? _9ot.push(2) : 5 == _9ow ? _9ot.push(1) : 6 == _9ow ? (_9ot.push(13), _9ot.push(14)) : 7 == _9ow && (_9ot.push(15), _9ot.push(16), _9ot.push(17), _9ot.push(19), _9ot.push(20), _9ot.push(22)); } return _9nv(_9oq, _9ot); }, _9np.filterByShipType = _9nv, _9np.filterByTag = function(_9ox, _9oy) { var _9oz = null; if (null == _9ox) return null; switch (_9oy) { case 1: case 0: return _9ox; case 2: return _9ox.filter(function(_9p0) { var _9p1 = null; return 0 != _9p0.label; }); case 3: return _9ox.filter(function(_9p2) { var _9p3 = null; return 0 == _9p2.label; }); } }, _9np.getMemIDsInAllDeck = function() { var _9p4 = null; for (var _9p5 = [], _9p6 = 0, _9p7 = _9no.default.model.deck.getAll(); _9p6 < _9p7.length; _9p6++) { var _9p8 = _9p7[_9p6].getShipMemIDList(); _9p5 = _9p5.concat(_9p8); } return _9p5; }, _9np.getMemIDsInExpedition = function() { var _9p9 = null; for (var _9pa = new Array(), _9pb = 0, _9pc = _9no.default.model.deck.getAll(); _9pb < _9pc.length; _9pb++) { var _9pd = _9pc[_9pb]; if (null != _9pd.expedition) { var _9pe = _9pd.getShipMemIDList(); _9pa = _9pa.concat(_9pe); } } return _9pa; }, _9np.isMaxGradeUp = function(_9pf, _9pg, _9ph) { var _9pi = null, _9pj = _9pf.karyokuOrg - (_9pg.hougMin + _9pf.gradeUpHoug), _9pk = _9pf.raisouOrg - (_9pg.raigMin + _9pf.gradeUpRaig), _9pl = _9pf.taiku - (_9pg.tykuMin + _9pf.gradeUpTyku), _9pm = _9pf.soukouOrg - (_9pg.soukMin + _9pf.gradeUpSouk), _9pn = (_9pf.lucky, _9pg.luckMin, _9pf.gradeUpLuck, _9pg.hougMax + _9pj <= _9pf.karyokuOrg), _9po = _9pg.raigMax + _9pk <= _9pf.raisouOrg, _9pp = _9pg.tykuMax + _9pl <= _9pf.taiku, _9pq = _9pg.soukMax + _9pm <= _9pf.soukouOrg; if (_9pn && _9po && _9pp && _9pq) { if (!_9ph) return !0; var _9pr = 0 == _9pg.luckMax - _9pf.lucky, _9ps = !0; _9pf.gradeUpTaikyu < _9pf.VHP && _9pf.taikyu < _9pg.taikyuMax && (_9ps = !1); var _9pt = !0; if (0 < _9pf.taisenMax && _9pf.gradeUpTaisen < _9pf.VAS && (_9pt = !1), _9pr && _9ps && _9pt) return !0; } return !1; }, _9np.getShipClassTypeSpRemodelText = function(_9pu) { var _9pv = null; switch (_9pu) { case 149: case 150: case 151: return '金剛型戦艦'; case 593: case 954: return '改金剛型高速戦艦'; case 277: return '赤城型航空母艦'; case 594: return '改赤城型航空母艦'; case 293: return '夕張型軽巡洋艦'; case 579: return 'Gotland級軽巡洋艦'; case 628: return 'Fletcher級駆逐艦'; case 278: return '加賀型航空母艦'; case 698: case 610: return '改加賀型航空母艦'; case 228: case 316: return '陽炎型駆逐艦'; case 651: return '改装陽炎型陽字号駆逐艦'; case 215: return '球磨型軽巡洋艦'; case 306: case 307: return '阿賀野型軽巡洋艦'; case 73: case 121: return '最上型航空巡洋艦'; case 501: case 502: return '最上型改装航空巡洋艦'; case 663: return '改阿賀野型軽巡洋艦'; case 318: return '龍鳳型軽空母'; case 883: return '改龍鳳型夜間作戦航空母艦'; case 396: return 'Casablanca級軽空母'; case 369: case 145: return '白露型駆逐艦'; case 588: case 667: return '改白露型駆逐艦'; case 136: return '大和型戦艦'; case 911: return '改大和型戦艦'; case 285: return '鳳翔型軽空母'; case 894: return '改鳳翔型航空母艦'; case 204: return '吹雪型駆逐艦'; case 325: return '夕雲型駆逐艦'; case 955: case 960: return '改夕雲型駆逐艦'; default: return ''; } }; }(_9nn || (_9nh.ShipUtil = _9nn = {})); }, 72778: function(_9pw, _9px, _9py) { 'use strict'; var _9pz = null; var _9q0 = this && this.__importDefault || function(_9q1) { var _9q2 = null; return _9q1 && _9q1.__esModule ? _9q1 : { 'default': _9q1 }; }; defineModule(_9px); Object.defineProperty(_9px, '__esModule', { 'value': !0 }), _9px.SlotUtil = void 0; var _9q3, _9q4 = _9q0(_9py(18622)), _9q5 = _9py(24117), _9q6 = _9py(51805); ! function(_9q7) { var _9q8 = null; _9q7.sort = function(_9q9, _9qa, _9qb) { var _9qc = null; void 0 === _9qb && (_9qb = !0), null != _9q9 && (0 == _9qa ? _9q9.sort(function(_9qd, _9qe) { var _9qf = null; if (1 == _9qb) { if (_9qd.equipTypeSp < _9qe.equipTypeSp) return -1; if (_9qd.equipTypeSp > _9qe.equipTypeSp) return 1; } else { if (_9qd.equipType < _9qe.equipType) return -1; if (_9qd.equipType > _9qe.equipType) return 1; } return _9qd.mstID < _9qe.mstID ? -1 : _9qd.mstID > _9qe.mstID ? 1 : _9qd.memID < _9qe.memID ? -1 : _9qd.memID > _9qe.memID ? 1 : 0; }) : 1 == _9qa ? _9q9.sort(function(_9qg, _9qh) { var _9qi = null; if (1 == _9qb) { if (_9qg.equipTypeSp < _9qh.equipTypeSp) return -1; if (_9qg.equipTypeSp > _9qh.equipTypeSp) return 1; } else { if (_9qg.equipType < _9qh.equipType) return -1; if (_9qg.equipType > _9qh.equipType) return 1; } return _9qg.mstID < _9qh.mstID ? -1 : _9qg.mstID > _9qh.mstID ? 1 : _9qg.level > _9qh.level ? -1 : _9qg.level < _9qh.level ? 1 : _9qg.memID < _9qh.memID ? -1 : _9qg.memID > _9qh.memID ? 1 : 0; }) : 2 == _9qa && _9q9.sort(function(_9qj, _9qk) { var _9ql = null; if (1 == _9qb) { if (_9qj.equipTypeSp < _9qk.equipTypeSp) return -1; if (_9qj.equipTypeSp > _9qk.equipTypeSp) return 1; } else { if (_9qj.equipType < _9qk.equipType) return -1; if (_9qj.equipType > _9qk.equipType) return 1; } return _9qj.mstID < _9qk.mstID ? -1 : _9qj.mstID > _9qk.mstID ? 1 : _9qj.level < _9qk.level ? -1 : _9qj.level > _9qk.level ? 1 : _9qj.memID < _9qk.memID ? -1 : _9qj.memID > _9qk.memID ? 1 : 0; })); }, _9q7.filter = function(_9qm, _9qn) { var _9qo = null; if (null == _9qm) return null; var _9qp; if (_9qp = 0 == _9qn || 12 == _9qn ? _9q4.default.model.slot.getEquipTypeAll().map(function(_9qq, _9qr, _9qs) { return _9qq.id; }) : _9q5.SlotConst.FILTERING_CATEGORIES[_9qn].concat(), 12 == _9qn) { var _9qt = new Array(); for (var _9qu in _9q5.SlotConst.FILTERING_CATEGORIES) _9qt.push.apply(_9qt, _9q5.SlotConst.FILTERING_CATEGORIES[_9qu]); _9qp = _9qp.filter(function(_9qv, _9qw, _9qx) { var _9qy = null; return -1 == _9qt.indexOf(_9qv); }); } return _9qm.filter(function(_9qz, _9r0, _9r1) { var _9r2 = null; return -1 != _9qp.indexOf(_9qz.equipTypeSp); }); }, _9q7.genSummaryText = function(_9r3, _9r4, _9r5, _9r6, _9r7) { var _9r8 = null; void 0 === _9r7 && (_9r7 = -1); var _9r9 = [], _9ra = ['火力', '雷装', '対空', '対潜', '爆装', '命中', '回避', '索敵', '装甲'], _9rb = _9r3.range, _9rc = _9r3.equipType; _9r6 && 1 <= _9rb && _9r9.push('射程 ' + ['', '短', '中', '長', '超長'][_9rb]), 48 == _9rc && (_9ra[5] = '対爆', _9ra[6] = '迎撃'); for (var _9rd = [_9r3.karyoku, _9r3.raisou, _9r3.taiku, _9r3.taisen, _9r3.bakusou, _9r3.meichu, _9r3.kaihi, _9r3.sakuteki, _9r3.soukou], _9re = 0, _9rf = 0; _9rf < _9rd.length; _9rf++) if (0 != _9rd[_9rf]) { var _9rg = _9r4; if (_9rd[_9rf] < 0 && (_9rg = _9r4.split('+').join('')), _9r9.push(_9ra[_9rf] + _9rg + _9rd[_9rf]), _9re++, -1 != _9r7 && _9r7 <= _9re) break; } return _9r9.join(_9r5); }, _9q7.getDispNameTexts = function(_9rh) { var _9ri = null, _9rj = ['火力', '雷装', '対空', '対潜', '爆装', '命中', '回避', '索敵', '装甲']; return 48 == _9rh.equipType && (_9rj[5] = '対爆', _9rj[6] = '迎撃'), _9rj; }, _9q7.getDispSlotItem = function(_9rk, _9rl) { var _9rm = null, _9rn = [_9rl.karyoku, _9rl.raisou, _9rl.taiku, _9rl.taisen, _9rl.bakusou, _9rl.meichu, _9rl.kaihi, _9rl.sakuteki, _9rl.soukou]; return null != _9rn[_9rk] ? _9rn[_9rk] : 0; }, _9q7.getDispSlotItemEffect = function(_9ro, _9rp) { var _9rq = null, _9rr = [_9rp.houg, _9rp.raig, _9rp.tyku, _9rp.tais, _9rp.baku, _9rp.houm, _9rp.kaih, _9rp.saku, _9rp.souk]; return null != _9rr[_9ro] ? _9rr[_9ro] : 0; }, _9q7.isEnemyItem = function(_9rs) { var _9rt = null; return _9rs > _9q5.SlotConst.ENEMY_SLOT_BORDER; }, _9q7.excludeEquipList = function(_9ru, _9rv, _9rw) { var _9rx = null; if (_9rw) return []; var _9ry = _9q4.default.model.ship.get(_9ru); if ((553 === _9ry.mstID || 554 === _9ry.mstID) && _9rv >= 2) return [_9q6.EquipType._02_TYUKOUKEI, _9q6.EquipType._03_DAIKOUKEI]; if ([622, 623, 624].indexOf(_9ry.mstID) >= 0 && 3 == _9rv) return [_9q6.EquipType._01_SYOUKOUKEI, _9q6.EquipType._02_TYUKOUKEI, _9q6.EquipType._05_GYORAI, _9q6.EquipType._22_TOKUSYU_SENKOUTEI]; if ([622, 623, 624].indexOf(_9ry.mstID) >= 0 && 4 == _9rv) { var _9rz = [_9q6.EquipType._12_DENTAN_S, _9q6.EquipType._21_TAIKU_KIJU, _9q6.EquipType._43_SENTO_RYOSYOKU]; return _9q4.default.model.slot.getEquipTypeAll().map(function(_9s0) { return _9s0.id; }).filter(function(_9s1) { var _9s2 = null; return _9rz.indexOf(_9s1) < 0; }); } return [662, 663, 668].indexOf(_9ry.mstID) >= 0 && 3 == _9rv ? [_9q6.EquipType._05_GYORAI] : []; }, _9q7.isMstEquipShipExceptionSlotItem = function(_9s3, _9s4, _9s5) { var _9s6 = null; return [392, 724].indexOf(_9s3) > -1 && _9s4 == _9q6.EquipType._11_SUIJO_BAKUGEKIKI ? 194 !== _9s5 : 166 == _9s3 && _9s4 == _9q6.EquipType._35_KOUKUU_YOUIN ? 402 !== _9s5 : [945, 727].indexOf(_9s3) > -1 && _9s4 == _9q6.EquipType._01_SYOUKOUKEI ? !([229, 379, 382].indexOf(_9s5) > -1) : [727].indexOf(_9s3) > -1 && _9s4 == _9q6.EquipType._04_HUKUHOU ? !([66, 220].indexOf(_9s5) > -1) : [460, 352, 699].includes(_9s3) && _9s4 == _9q6.EquipType._04_HUKUHOU ? ![524].includes(_9s5) : !(![699].includes(_9s3) || _9s4 != _9q6.EquipType._01_SYOUKOUKEI) && ![48].includes(_9s5); }; }(_9q3 || (_9px.SlotUtil = _9q3 = {})); }, 13744: function(_9s7, _9s8, _9s9) { 'use strict'; var _9sa = null; var _9sb = this && this.__createBinding || (Object.create ? function(_9sc, _9sd, _9se, _9sf) { var _9sg = null; void 0 === _9sf && (_9sf = _9se); var _9sh = Object.getOwnPropertyDescriptor(_9sd, _9se); _9sh && !('get' in _9sh ? !_9sd.__esModule : _9sh.writable || _9sh.configurable) || (_9sh = { 'enumerable': !0, 'get': function() { return _9sd[_9se]; } }), Object.defineProperty(_9sc, _9sf, _9sh); } : function(_9si, _9sj, _9sk, _9sl) { void 0 === _9sl && (_9sl = _9sk), _9si[_9sl] = _9sj[_9sk]; }), _9sm = this && this.__setModuleDefault || (Object.create ? function(_9sn, _9so) { var _9sp = null; Object.defineProperty(_9sn, 'default', { 'enumerable': !0, 'value': _9so }); } : function(_9sq, _9sr) { var _9ss = null; _9sq.default = _9sr; }), _9st = this && this.__importStar || function(_9su) { var _9sv = null; if (_9su && _9su.__esModule) return _9su; var _9sw = {}; if (null != _9su) { for (var _9sx in _9su) 'default' !== _9sx && Object.prototype.hasOwnProperty.call(_9su, _9sx) && _9sb(_9sw, _9su, _9sx); } return _9sm(_9sw, _9su), _9sw; }; defineModule(_9s8); Object.defineProperty(_9s8, '__esModule', { 'value': !0 }), _9s8.SuffixUtil = void 0; var _9sy, _9sz = _9st(_9s9(19140)); ! function(_9t0) { var _9t1 = null; _9t0.createKey = function(_9t2) { var _9t3 = null, _9t4 = 0; if (null != _9t2 && '' != _9t2) { for (var _9t5 = 0; _9t5 < _9t2.length; _9t5++) _9t4 += _9t2.charCodeAt(_9t5); } return _9t4; }, _9t0.create = function(_9t6, _9t7) { var _9t8 = null, _9t9 = _9t6.toString().match(/\d+/); if (null == _9t9 || 0 == _9t9.length) return ''; var _9ta = parseInt(_9t9[0]), _9tb = _9t0.createKey(_9t7), _9tc = null == _9t7 || 0 == _9t7.length ? 1 : _9t7.length; return (17 * (_9ta + 7) * _9sz.resource[(_9tb + _9ta * _9tc) % 100] % 8973 + 1000).toString(); }; }(_9sy || (_9s8.SuffixUtil = _9sy = {})); }, 40085: (_9td, _9te) => { 'use strict'; var _9tf = null; var _9tg; defineModule(_9te); Object.defineProperty(_9te, '__esModule', { 'value': !0 }), _9te.TweenUtil = void 0, function(_9th) { var _9ti = null; _9th.signOut = function(_9tj) { var _9tk = null; return 1 * Math.sin(_9tj / 1 * (Math.PI / 2)) + 0; }, _9th.create2BezierPoints = function(_9tl, _9tm, _9tn, _9to, _9tp) { var _9tq = null; void 0 === _9tp && (_9tp = null); for (var _9tr = new Array(), _9ts = _9to / 100, _9tt = _9to / _9ts, _9tu = 0; _9tu < _9ts; _9tu++) { var _9tv = _9tt * (_9tu + 1) / _9to; null != _9tp && (_9tv = _9tp(_9tv)), _9tr.push({ 'x': (1 - _9tv) * (1 - _9tv) * _9tl.x + 2 * (1 - _9tv) * _9tv * _9tm.x + _9tv * _9tv * _9tn.x, 'y': (1 - _9tv) * (1 - _9tv) * _9tl.y + 2 * (1 - _9tv) * _9tv * _9tm.y + _9tv * _9tv * _9tn.y, 't': _9tt }); } return _9tr; }, _9th.create3BezierPoints = function(_9tw, _9tx, _9ty, _9tz, _9u0) { var _9u1 = null; for (var _9u2 = new Array(), _9u3 = _9u0 / 100, _9u4 = _9u0 / _9u3, _9u5 = 0; _9u5 < _9u3; _9u5++) { var _9u6 = _9u4 * (_9u5 + 1) / _9u0; _9u2.push({ 'x': (1 - _9u6) * (1 - _9u6) * (1 - _9u6) * _9tw.x + 3 * (1 - _9u6) * (1 - _9u6) * _9u6 * _9tx.x + 3 * (1 - _9u6) * _9u6 * _9u6 * _9ty.x + _9u6 * _9u6 * _9u6 * _9tz.x, 'y': (1 - _9u6) * (1 - _9u6) * (1 - _9u6) * _9tw.y + 3 * (1 - _9u6) * (1 - _9u6) * _9u6 * _9tx.y + 3 * (1 - _9u6) * _9u6 * _9u6 * _9ty.y + _9u6 * _9u6 * _9u6 * _9tz.y, 't': _9u4 }); } return _9u2; }, _9th.create3BezierTween = function(_9u7, _9u8, _9u9, _9ua, _9ub, _9uc, _9ud) { var _9ue = null; for (var _9uf = _9th.create3BezierPoints(_9u8, _9u9, _9ua, _9ub, _9uc), _9ug = createjs.Tween.get(_9u7, _9ud), _9uh = 0, _9ui = _9uf; _9uh < _9ui.length; _9uh++) { var _9uj = _9ui[_9uh]; _9ug.to({ 'x': _9uj.x, 'y': _9uj.y }, _9uj.t); } return _9ug; }, _9th.draw3BezierLine = function(_9uk, _9ul, _9um, _9un, _9uo, _9up, _9uq, _9ur) { var _9us = null; void 0 === _9up && (_9up = 16711680), void 0 === _9uq && (_9uq = 65280), void 0 === _9ur && (_9ur = 255), _9uk.lineStyle(1, _9up, 0.3), _9uk.moveTo(_9ul.x, _9ul.y), _9uk.bezierCurveTo(_9um.x, _9um.y, _9un.x, _9un.y, _9uo.x, _9uo.y), _9uk.lineStyle(1, _9uq, 0.3), _9uk.moveTo(_9ul.x, _9ul.y), _9uk.lineTo(_9um.x, _9um.y), _9uk.lineStyle(1, _9ur, 0.3), _9uk.moveTo(_9uo.x, _9uo.y), _9uk.lineTo(_9un.x, _9un.y), _9uk.lineStyle(), _9uk.beginFill(_9uq, 0.3), _9uk.drawCircle(_9um.x, _9um.y, 10), _9uk.endFill(), _9uk.beginFill(_9ur, 0.3), _9uk.drawCircle(_9un.x, _9un.y, 10), _9uk.endFill(); }; }(_9tg || (_9te.TweenUtil = _9tg = {})); }, 94686: (_9ut, _9uu, _9uv) => { 'use strict'; var _9uw = null; defineModule(_9uu); Object.defineProperty(_9uu, '__esModule', { 'value': !0 }), _9uu.__create_serial_id__ = void 0; var _9ux = _9uv(92547); _9uu.__create_serial_id__ = function(_9uy, _9uz, _9v0) { var _9v1 = null, _9v2 = new Date().getTime(), _9v3 = Math.floor(_9v2 / 1000), _9v4 = 10000 * (_9uz = Math.round(_9uz) % 1000 + 1000) + (_9v0 = Math.round(_9v0) % 1000 + 1000); return _9v4 *= _9ux.PORT_API_SEED[_9uy % 10], _9v3.toString() + _9v4.toString(); }; }, 55853: function(_9v5, _9v6, _9v7) { 'use strict'; var _9v8 = null; var _9v9 = this && this.__importDefault || function(_9va) { var _9vb = null; return _9va && _9va.__esModule ? _9va : { 'default': _9va }; }; defineModule(_9v6); Object.defineProperty(_9v6, '__esModule', { 'value': !0 }), _9v6.VersionUtil = void 0; var _9vc, _9vd = _9v9(_9v7(18622)); ! function(_9ve) { var _9vf = null; _9ve.get = function(_9vg, _9vh, _9vi) { var _9vj = null; void 0 === _9vi && (_9vi = 1); var _9vk = '1'; switch (_9vg) { case 0: null != (_9vl = _9vd.default.model.ship_graph.get(_9vh)) && (_9vk = _9vl.version); break; case 1: var _9vm = _9vd.default.model.slot.getMst(_9vh); null != _9vm && (_9vk = _9vm.version); break; case 3: var _9vl; null != (_9vl = _9vd.default.model.ship_graph.get(_9vh)) && (_9vk = 2 == _9vi || 3 == _9vi ? _9vl.version_voice_boko : _9vl.version_voice); break; case 2: var _9vn = _9vd.default.model.furniture.getData(_9vh); null != _9vn && (_9vk = _9vn.version); } return _9vk; }, _9ve.getResourceVersion = function(_9vo, _9vp, _9vq) { var _9vr = null; void 0 === _9vq && (_9vq = 1); var _9vs = _9ve.get(_9vo, _9vp, _9vq); return '1' != _9vs ? '?version='['concat'](_9vs) : ''; }; }(_9vc || (_9v6.VersionUtil = _9vc = {})); }, 16677: function(_9vt, _9vu, _9vv) { 'use strict'; var _9vw = null; var _9vx = this && this.__importDefault || function(_9vy) { var _9vz = null; return _9vy && _9vy.__esModule ? _9vy : { 'default': _9vy }; }; defineModule(_9vu); Object.defineProperty(_9vu, '__esModule', { 'value': !0 }), _9vu.WheelEventUtil = void 0; var _9w0 = _9vx(_9vv(18622)), _9w1 = _9vv(92547), _9w2 = (function() { var _9w3 = null; function _9w4() {} return Object.defineProperty(_9w4, 'isRegisteredFunc', { 'get': function() { var _9w5 = null, _9w6; return (null === (_9w6 = null == _9w4 ? void 0 : _9w4._registeredFuncs) || void 0 === _9w6 ? void 0 : _9w6.length) > 0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_9w4, 'isEnabled', { 'set': function(_9w7) { var _9w8 = null; this._isEnabled = _9w7; }, 'enumerable': !1, 'configurable': !0 }), _9w4.execute = function(_9w9, _9wa) { var _9wb = null; if (this._isEnabled && null != this._registeredFuncs) { if (clearTimeout(this._wheel_guard_timer), this._wheel_guard_timer = window.setTimeout(function() { var _9wc = null; _9w0.default.view.wheelGuard = !1; }, 200), _9w1.mac) { var _9wd = _9wa - this._timestamp_cash; this._timestamp_cash = _9wa, _9wd > this._sleep && (this._delta_cash_minus = 0, this._delta_cash_plus = 0), _9w9 < 0 && _9w9 < this._delta_cash_minus ? (this._delta_cash_minus = _9w9, this._execute(_9w9)) : _9w9 > 0 && _9w9 > this._delta_cash_plus && (this._delta_cash_plus = _9w9, this._execute(_9w9)); } else this._execute(_9w9); } }, _9w4._execute = function(_9we) { var _9wf = null; for (var _9wg = 0, _9wh = this._registeredFuncs; _9wg < _9wh.length; _9wg++) { var _9wi = _9wh[_9wg]; if (null != _9wi) _9wi({ 'delta': _9we, 'enabledGuard': function() { var _9wj = null; _9w0.default.view.wheelGuard = !0; } }); } }, _9w4.regist = function() { var _9wk = null; for (var _9wl = [], _9wm = 0; _9wm < arguments.length; _9wm++) _9wl[_9wm] = arguments[_9wm]; var _9wn = null == _9wl ? [] : _9wl.concat(); null == this._registeredFuncs && (this._registeredFuncs = []), this._registeredFuncs.length = 0; for (var _9wo = 0, _9wp = _9wn; _9wo < _9wp.length; _9wo++) { var _9wq = _9wp[_9wo]; this._registeredFuncs.push(_9wq); } }, _9w4.clear = function() { var _9wr = null; null != this._registeredFuncs && (this._registeredFuncs.length = 0), clearTimeout(this._wheel_guard_timer), _9w0.default.view.wheelGuard = !1; }, _9w4._sleep = 48, _9w4._delta_cash_plus = 0, _9w4._delta_cash_minus = 0, _9w4._timestamp_cash = Date.now(), _9w4._isEnabled = !0, _9w4; }()); _9vu.WheelEventUtil = _9w2; }, 14921: function(_9ws, _9wt, _9wu) { 'use strict'; var _9wv = null; var _9ww = this && this.__createBinding || (Object.create ? function(_9wx, _9wy, _9wz, _9x0) { var _9x1 = null; void 0 === _9x0 && (_9x0 = _9wz); var _9x2 = Object.getOwnPropertyDescriptor(_9wy, _9wz); _9x2 && !('get' in _9x2 ? !_9wy.__esModule : _9x2.writable || _9x2.configurable) || (_9x2 = { 'enumerable': !0, 'get': function() { return _9wy[_9wz]; } }), Object.defineProperty(_9wx, _9x0, _9x2); } : function(_9x3, _9x4, _9x5, _9x6) { void 0 === _9x6 && (_9x6 = _9x5), _9x3[_9x6] = _9x4[_9x5]; }), _9x7 = this && this.__exportStar || function(_9x8, _9x9) { var _9xa = null; for (var _9xb in _9x8) 'default' === _9xb || Object.prototype.hasOwnProperty.call(_9x9, _9xb) || _9ww(_9x9, _9x8, _9xb); }; defineModule(_9wt); Object.defineProperty(_9wt, '__esModule', { 'value': !0 }), _9x7(_9wu(78935), _9wt), _9x7(_9wu(39450), _9wt), _9x7(_9wu(24616), _9wt), _9x7(_9wu(10742), _9wt), _9x7(_9wu(57616), _9wt), _9x7(_9wu(89939), _9wt), _9x7(_9wu(18343), _9wt), _9x7(_9wu(72778), _9wt), _9x7(_9wu(40085), _9wt), _9x7(_9wu(94686), _9wt), _9x7(_9wu(43712), _9wt); }, 88471: function(_9xc, _9xd, _9xe) { 'use strict'; var _9xf = null; var _9xg, _9xh = this && this.__extends || (_9xg = function(_9xi, _9xj) { var _9xk = null; return _9xg = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_9xl, _9xm) { var _9xn = null; _9xl.__proto__ = _9xm; } || function(_9xo, _9xp) { var _9xq = null; for (var _9xr in _9xp) Object.prototype.hasOwnProperty.call(_9xp, _9xr) && (_9xo[_9xr] = _9xp[_9xr]); }, _9xg(_9xi, _9xj); }, function(_9xs, _9xt) { var _9xu = null; if ('function' != typeof _9xt && null !== _9xt) throw new TypeError('Class extends value ' + String(_9xt) + ' is not a constructor or null'); function _9xv() { var _9xw = null; this.constructor = _9xs; } _9xg(_9xs, _9xt), _9xs.prototype = null === _9xt ? Object.create(_9xt) : (_9xv.prototype = _9xt.prototype, new _9xv()); }); defineModule(_9xd); Object.defineProperty(_9xd, '__esModule', { 'value': !0 }), _9xd.FuncTask = void 0; var _9xx = function(_9xy) { var _9xz = null; function _9y0(_9y1, _9y2) { var _9y3 = null; void 0 === _9y2 && (_9y2 = 0); var _9y4 = _9xy.call(this) || this; return _9y4._onComplete = function() { var _9y5 = null; null != _9y4._func && _9y4._func(), _9y4._endTask(); }, _9y4._func = _9y1, _9y4._delay = _9y2, _9y4; } return _9xh(_9y0, _9xy), _9y0.prototype._start = function() { var _9y6 = null; 0 == this._delay ? this._onComplete() : createjs.Tween.get(null).wait(this._delay).call(this._onComplete); }, _9y0; }(_9xe(81755).TaskBase); _9xd.FuncTask = _9xx; }, 5527: function(_9y7, _9y8, _9y9) { 'use strict'; var _9ya = null; var _9yb, _9yc = this && this.__extends || (_9yb = function(_9yd, _9ye) { var _9yf = null; return _9yb = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_9yg, _9yh) { var _9yi = null; _9yg.__proto__ = _9yh; } || function(_9yj, _9yk) { var _9yl = null; for (var _9ym in _9yk) Object.prototype.hasOwnProperty.call(_9yk, _9ym) && (_9yj[_9ym] = _9yk[_9ym]); }, _9yb(_9yd, _9ye); }, function(_9yn, _9yo) { var _9yp = null; if ('function' != typeof _9yo && null !== _9yo) throw new TypeError('Class extends value ' + String(_9yo) + ' is not a constructor or null'); function _9yq() { var _9yr = null; this.constructor = _9yn; } _9yb(_9yn, _9yo), _9yn.prototype = null === _9yo ? Object.create(_9yo) : (_9yq.prototype = _9yo.prototype, new _9yq()); }); defineModule(_9y8); Object.defineProperty(_9y8, '__esModule', { 'value': !0 }), _9y8.ParallelTask = void 0; var _9ys = function(_9yt) { var _9yu = null; function _9yv() { var _9yw = null; for (var _9yx = [], _9yy = 0; _9yy < arguments.length; _9yy++) _9yx[_9yy] = arguments[_9yy]; var _9yz = _9yt.call(this) || this; return _9yz._started = !1, _9yz._tasks = null != _9yx ? _9yx.concat() : [], _9yz; } return _9yc(_9yv, _9yt), _9yv.prototype.add = function(_9z0) { var _9z1 = null; if (1 == this._started) throw new Error('ParallelTask::add'); return null != _9z0 && this._tasks.push(_9z0), this; }, _9yv.prototype._start = function() { var _9z2 = null, _9z3 = this; if (1 == this._started) throw new Error('ParallelTask::start'); if (this._started = !0, 0 == this._tasks.length) this._endTask(); else for (var _9z4 = function(_9z5) { var _9z6 = null; _9z5.start(function() { var _9z7 = null, _9z8 = _9z3._tasks.indexOf(_9z5); _9z3._tasks.splice(_9z8, 1), _9z3._endCheck(); }); }, _9z9 = 0, _9za = this._tasks.concat(); _9z9 < _9za.length; _9z9++) { _9z4(_9za[_9z9]); } }, _9yv.prototype._endCheck = function() { var _9zb = null; 0 == this._tasks.length && this._endTask(); }, _9yv; }(_9y9(81755).TaskBase); _9y8.ParallelTask = _9ys; }, 55535: function(_9zc, _9zd, _9ze) { 'use strict'; var _9zf = null; var _9zg, _9zh = this && this.__extends || (_9zg = function(_9zi, _9zj) { var _9zk = null; return _9zg = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_9zl, _9zm) { var _9zn = null; _9zl.__proto__ = _9zm; } || function(_9zo, _9zp) { var _9zq = null; for (var _9zr in _9zp) Object.prototype.hasOwnProperty.call(_9zp, _9zr) && (_9zo[_9zr] = _9zp[_9zr]); }, _9zg(_9zi, _9zj); }, function(_9zs, _9zt) { var _9zu = null; if ('function' != typeof _9zt && null !== _9zt) throw new TypeError('Class extends value ' + String(_9zt) + ' is not a constructor or null'); function _9zv() { var _9zw = null; this.constructor = _9zs; } _9zg(_9zs, _9zt), _9zs.prototype = null === _9zt ? Object.create(_9zt) : (_9zv.prototype = _9zt.prototype, new _9zv()); }); defineModule(_9zd); Object.defineProperty(_9zd, '__esModule', { 'value': !0 }), _9zd.SerialTask = void 0; var _9zx = function(_9zy) { var _9zz = null; function _a00() { var _a01 = null; for (var _a02 = [], _a03 = 0; _a03 < arguments.length; _a03++) _a02[_a03] = arguments[_a03]; var _a04 = _9zy.call(this) || this; return _a04._started = !1, _a04._tasks = null != _a02 ? _a02.concat() : [], _a04; } return _9zh(_a00, _9zy), _a00.prototype.add = function(_a05) { var _a06 = null; if (1 == this._started) throw new Error('SerialTask::add'); return null != _a05 && this._tasks.push(_a05), this; }, _a00.prototype._start = function() { var _a07 = null; if (1 == this._started) throw new Error('SerialTask::start'); this._started = !0, this._endCheck(); }, _a00.prototype._startTask = function() { var _a08 = null, _a09 = this; this._current = this._tasks.shift(), this._current.start(function() { var _a0a = null; _a09._current = null, _a09._endCheck(); }); }, _a00.prototype._endCheck = function() { var _a0b = null; null == this._tasks || 0 == this._tasks.length ? this._endTask() : this._startTask(); }, _a00.prototype._endTask = function(_a0c) { var _a0d = null; void 0 === _a0c && (_a0c = !1), this._tasks = null, this._current = null, _9zy.prototype._endTask.call(this, _a0c); }, _a00; }(_9ze(81755).TaskBase); _9zd.SerialTask = _9zx; }, 85492: function(_a0e, _a0f, _a0g) { 'use strict'; var _a0h = null; var _a0i, _a0j = this && this.__extends || (_a0i = function(_a0k, _a0l) { var _a0m = null; return _a0i = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_a0n, _a0o) { var _a0p = null; _a0n.__proto__ = _a0o; } || function(_a0q, _a0r) { var _a0s = null; for (var _a0t in _a0r) Object.prototype.hasOwnProperty.call(_a0r, _a0t) && (_a0q[_a0t] = _a0r[_a0t]); }, _a0i(_a0k, _a0l); }, function(_a0u, _a0v) { var _a0w = null; if ('function' != typeof _a0v && null !== _a0v) throw new TypeError('Class extends value ' + String(_a0v) + ' is not a constructor or null'); function _a0x() { var _a0y = null; this.constructor = _a0u; } _a0i(_a0u, _a0v), _a0u.prototype = null === _a0v ? Object.create(_a0v) : (_a0x.prototype = _a0v.prototype, new _a0x()); }); defineModule(_a0f); Object.defineProperty(_a0f, '__esModule', { 'value': !0 }), _a0f.TweenTask = void 0; var _a0z = function(_a10) { var _a11 = null; function _a12() { var _a13 = null, _a14 = _a10.call(this) || this; return _a14._onComplete = function(_a15) { var _a16 = null, _a17 = _a14._tweens.indexOf(_a15); _a14._tweens.splice(_a17, 1), 0 == _a14._tweens.length && _a14._endTask(); }, _a14._tweens = [], _a14; } return _a0j(_a12, _a10), _a12.prototype.addTween = function(_a18) { var _a19 = null; return _a18.setPaused(!0), this._tweens.push(_a18), this; }, _a12.prototype.addTweens = function(_a1a) { var _a1b = null; for (var _a1c = 0, _a1d = _a1a; _a1c < _a1d.length; _a1c++) { var _a1e = _a1d[_a1c]; this.addTween(_a1e); } return this; }, _a12.prototype._start = function() { var _a1f = null; if (0 == this._tweens.length) { var _a1g = createjs.Tween.get(this); this._tweens.push(_a1g); } for (var _a1h = 0, _a1i = this._tweens; _a1h < _a1i.length; _a1h++) { (_a1g = _a1i[_a1h]).call(this._onComplete), _a1g.setPaused(!1); } }, _a12; }(_a0g(81755).TaskBase); _a0f.TweenTask = _a0z; }, 56494: function(_a1j, _a1k, _a1l) { 'use strict'; var _a1m = null; var _a1n, _a1o = this && this.__extends || (_a1n = function(_a1p, _a1q) { var _a1r = null; return _a1n = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_a1s, _a1t) { var _a1u = null; _a1s.__proto__ = _a1t; } || function(_a1v, _a1w) { var _a1x = null; for (var _a1y in _a1w) Object.prototype.hasOwnProperty.call(_a1w, _a1y) && (_a1v[_a1y] = _a1w[_a1y]); }, _a1n(_a1p, _a1q); }, function(_a1z, _a20) { var _a21 = null; if ('function' != typeof _a20 && null !== _a20) throw new TypeError('Class extends value ' + String(_a20) + ' is not a constructor or null'); function _a22() { var _a23 = null; this.constructor = _a1z; } _a1n(_a1z, _a20), _a1z.prototype = null === _a20 ? Object.create(_a20) : (_a22.prototype = _a20.prototype, new _a22()); }); defineModule(_a1k); Object.defineProperty(_a1k, '__esModule', { 'value': !0 }), _a1k.WaitTask = void 0; var _a24 = function(_a25) { var _a26 = null; function _a27(_a28) { var _a29 = null, _a2a = _a25.call(this) || this; return _a2a._time = 0, _a2a._time = _a28, _a2a; } return _a1o(_a27, _a25), _a27.prototype._start = function() { var _a2b = null, _a2c = this; createjs.Tween.get(null).wait(this._time).call(function() { var _a2d = null; _a2c._endTask(); }); }, _a27; }(_a1l(81755).TaskBase); _a1k.WaitTask = _a24; }, 85937: function(_a2e, _a2f, _a2g) { 'use strict'; var _a2h = null; var _a2i, _a2j = this && this.__extends || (_a2i = function(_a2k, _a2l) { var _a2m = null; return _a2i = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_a2n, _a2o) { var _a2p = null; _a2n.__proto__ = _a2o; } || function(_a2q, _a2r) { var _a2s = null; for (var _a2t in _a2r) Object.prototype.hasOwnProperty.call(_a2r, _a2t) && (_a2q[_a2t] = _a2r[_a2t]); }, _a2i(_a2k, _a2l); }, function(_a2u, _a2v) { var _a2w = null; if ('function' != typeof _a2v && null !== _a2v) throw new TypeError('Class extends value ' + String(_a2v) + ' is not a constructor or null'); function _a2x() { var _a2y = null; this.constructor = _a2u; } _a2i(_a2u, _a2v), _a2u.prototype = null === _a2v ? Object.create(_a2v) : (_a2x.prototype = _a2v.prototype, new _a2x()); }); defineModule(_a2f); Object.defineProperty(_a2f, '__esModule', { 'value': !0 }), _a2f.AirPlaneLevel = void 0; var _a2z = _a2g(11997), _a30 = function(_a31) { var _a32 = null; function _a33() { var _a34 = null, _a35 = _a31.call(this) || this; return _a35.texture = PIXI.Texture.EMPTY, _a35; } return _a2j(_a33, _a31), _a33.prototype.update = function(_a36) { var _a37 = null; switch (_a36) { case 1: this.texture = _a2z.COMMON_MISC.getTexture(173); break; case 2: this.texture = _a2z.COMMON_MISC.getTexture(174); break; case 3: this.texture = _a2z.COMMON_MISC.getTexture(175); break; case 4: this.texture = _a2z.COMMON_MISC.getTexture(176); break; case 5: this.texture = _a2z.COMMON_MISC.getTexture(177); break; case 6: this.texture = _a2z.COMMON_MISC.getTexture(178); break; case 7: this.texture = _a2z.COMMON_MISC.getTexture(179); break; default: this.texture = PIXI.Texture.EMPTY; } }, _a33.prototype.dispose = function() { var _a38 = null; this.texture = PIXI.Texture.EMPTY; }, _a33; }(PIXI.Sprite); _a2f.AirPlaneLevel = _a30; }, 79899: function(_a39, _a3a, _a3b) { 'use strict'; var _a3c = null; var _a3d, _a3e = this && this.__extends || (_a3d = function(_a3f, _a3g) { var _a3h = null; return _a3d = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_a3i, _a3j) { var _a3k = null; _a3i.__proto__ = _a3j; } || function(_a3l, _a3m) { var _a3n = null; for (var _a3o in _a3m) Object.prototype.hasOwnProperty.call(_a3m, _a3o) && (_a3l[_a3o] = _a3m[_a3o]); }, _a3d(_a3f, _a3g); }, function(_a3p, _a3q) { var _a3r = null; if ('function' != typeof _a3q && null !== _a3q) throw new TypeError('Class extends value ' + String(_a3q) + ' is not a constructor or null'); function _a3s() { var _a3t = null; this.constructor = _a3p; } _a3d(_a3p, _a3q), _a3p.prototype = null === _a3q ? Object.create(_a3q) : (_a3s.prototype = _a3q.prototype, new _a3s()); }), _a3u = this && this.__importDefault || function(_a3v) { var _a3w = null; return _a3v && _a3v.__esModule ? _a3v : { 'default': _a3v }; }; defineModule(_a3a); Object.defineProperty(_a3a, '__esModule', { 'value': !0 }), _a3a.AreaBox = void 0; var _a3x = _a3u(_a3b(21359)), _a3y = function(_a3z) { function _a40(_a41, _a42, _a43, _a44) { var _a45 = null; void 0 === _a42 && (_a42 = 0), void 0 === _a43 && (_a43 = _a3x.default.width), void 0 === _a44 && (_a44 = _a3x.default.height); var _a46 = _a3z.call(this) || this; return _a46.beginFill(_a42, _a41), _a46.drawRect(0, 0, _a43, _a44), _a46.endFill(), _a46.interactive = !0, _a46; } return _a3e(_a40, _a3z), _a40; }(PIXI.Graphics); _a3a.AreaBox = _a3y; }, 35837: function(_a47, _a48, _a49) { 'use strict'; var _a4a = null; var _a4b, _a4c = this && this.__extends || (_a4b = function(_a4d, _a4e) { var _a4f = null; return _a4b = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_a4g, _a4h) { var _a4i = null; _a4g.__proto__ = _a4h; } || function(_a4j, _a4k) { var _a4l = null; for (var _a4m in _a4k) Object.prototype.hasOwnProperty.call(_a4k, _a4m) && (_a4j[_a4m] = _a4k[_a4m]); }, _a4b(_a4d, _a4e); }, function(_a4n, _a4o) { var _a4p = null; if ('function' != typeof _a4o && null !== _a4o) throw new TypeError('Class extends value ' + String(_a4o) + ' is not a constructor or null'); function _a4q() { var _a4r = null; this.constructor = _a4n; } _a4b(_a4n, _a4o), _a4n.prototype = null === _a4o ? Object.create(_a4o) : (_a4q.prototype = _a4o.prototype, new _a4q()); }); defineModule(_a48); Object.defineProperty(_a48, '__esModule', { 'value': !0 }), _a48.ArrowBottomButton = _a48.ArrowTopButton = _a48.ArrowSmallButton = _a48.ArrowButton = void 0; var _a4s = _a49(11997), _a4t = _a49(35380), _a4u = function(_a4v) { var _a4w = null; function _a4x(_a4y) { var _a4z = null; void 0 === _a4y && (_a4y = !1); var _a50 = _a4v.call(this) || this; _a50._btm = !1, _a50._onClick = function() { var _a51 = null; null != _a50._cb_onClick && (_a50._cb_onClick(), 0 == _a50._mouseTimer && (_a50._mouseTimer = window.setInterval(function() { var _a52 = null; if (0 == _a50.visible) return _a50._onMouseUp(), !1; _a50._cb_onClick(); }, 300))); }, _a50._onMouseUp = function() { var _a53 = null; clearInterval(_a50._mouseTimer), _a50._mouseTimer = 0; }, _a50._onMouseMove = function(_a54) { var _a55 = null, _a56 = _a54.data.getLocalPosition(_a50._hit_area); _a50._hit_area.hitArea.contains(_a56.x, _a56.y) || _a50._onMouseUp(); }, _a50._mouseTimer = 0, _a50._btm = _a4y, _a50._canvas = new PIXI.Container(), _a50.addChild(_a50._canvas), 0 == _a50._btm ? _a50._img = new PIXI.Sprite(_a4s.COMMON_MISC.getTexture(5)) : _a50._img = new PIXI.Sprite(_a4s.COMMON_MISC.getTexture(2)), _a50._img.x = -Math.round(_a50._img.width / 2), _a50._img.y = -Math.round(_a50._img.height / 2), _a50._canvas.addChild(_a50._img), _a50._hit_area = new PIXI.Graphics(), _a50._hit_area.hitArea = new PIXI.Circle(0, 0, 27), _a50._hit_area.alpha = 0; var _a57 = _a50._btm ? 2 : -1, _a58 = _a50._btm ? 4 : -5; return _a50._hit_area.position.set(_a57, _a58), _a50._hit_area.interactive = !0, _a50.addChild(_a50._hit_area), _a50; } return _a4c(_a4x, _a4v), _a4x.prototype.initialize = function(_a59) { var _a5a = null; void 0 === _a59 && (_a59 = null), this._cb_onClick = _a59; }, _a4x.prototype.activate = function() { var _a5b = null; this._hit_area.buttonMode = !0, null == this._tween && (this._hit_area.on(_a4t.EventType.MOUSEUP, this._onMouseUp), this._hit_area.on(_a4t.EventType.MOUSEDOWN, this._onClick), this._hit_area.on(_a4t.EventType.MOUSEMOVE, this._onMouseMove), this._tween = createjs.Tween.get(this._canvas), this._tween.loop = !0, 0 == this._btm ? this._tween.to({ 'y': -11 }, 350, createjs.Ease.cubicOut) : this._tween.to({ 'y': 11 }, 350, createjs.Ease.cubicOut), this._tween.to({ 'y': 0 }, 350, createjs.Ease.quadIn)); }, _a4x.prototype.deactivate = function() { var _a5c = null; this._hit_area.buttonMode = !1, this._canvas.y = 0, null != this._tween && (this._hit_area.off(_a4t.EventType.MOUSEUP, this._onMouseUp), this._hit_area.off(_a4t.EventType.MOUSEDOWN, this._onClick), this._hit_area.off(_a4t.EventType.MOUSEMOVE, this._onMouseMove), this._tween.setPaused(!0), createjs.Tween.removeTweens(this._canvas), this._tween = null); }, _a4x.prototype.dispose = function() { var _a5d = null; this.removeChildren(), this.deactivate(), this._btm = null, this._canvas = null, this._img = null, this._cb_onClick = null, this._mouseTimer = null; }, _a4x; }(PIXI.Container); _a48.ArrowButton = _a4u; var _a5e = function(_a5f) { var _a5g = null; function _a5h(_a5i) { var _a5j = null; void 0 === _a5i && (_a5i = !1); var _a5k = _a5f.call(this) || this; return _a5k._cb_onClick = function() { var _a5l = null; null != _a5k._cb_onClick && _a5k._cb_onClick(); }, _a5i ? (_a5k._arrow = new PIXI.Sprite(_a4s.COMMON_MISC.getTexture(0)), _a5k._arrow_light = new PIXI.Sprite(_a4s.COMMON_MISC.getTexture(1))) : (_a5k._arrow = new PIXI.Sprite(_a4s.COMMON_MISC.getTexture(3)), _a5k._arrow_light = new PIXI.Sprite(_a4s.COMMON_MISC.getTexture(4))), _a5k._arrow_light.alpha = 0, _a5k._arrow.on(_a4t.EventType.CLICK, _a5k._cb_onClick), _a5k.addChild(_a5k._arrow), _a5k.addChild(_a5k._arrow_light), _a5k; } return _a4c(_a5h, _a5f), _a5h.prototype.initialize = function(_a5m) { var _a5n = null; void 0 === _a5m && (_a5m = null), this._cb_onClick = _a5m; }, _a5h.prototype.activate = function() { var _a5o = null; null == this._t && (this._t = createjs.Tween.get(this._arrow_light, { 'loop': !0 }).to({ 'alpha': 1 }, 600).to({ 'alpha': 0 }, 600)), this._arrow.interactive = this._arrow.buttonMode = !0; }, _a5h.prototype.deactivate = function() { var _a5p = null; null != this._t && (this._t.setPaused(!0), this._t = null), this._arrow.interactive = this._arrow.buttonMode = !1; }, _a5h.prototype.dispose = function() { var _a5q = null, _a5r; this.removeChildren(), null === (_a5r = this._t) || void 0 === _a5r || _a5r.setPaused(!0), this._t = null, this._arrow.off(_a4t.EventType.CLICK, this._cb_onClick), this._arrow.destroy(), this._arrow = null, this._arrow_light.destroy(), this._arrow_light = null; }, _a5h; }(PIXI.Container); _a48.ArrowSmallButton = _a5e; var _a5s = function(_a5t) { var _a5u = null; function _a5v() { var _a5w = null, _a5x = _a5t.call(this) || this; _a5x._onClick = function() { var _a5y = null; _a5x.onClick(); }; var _a5z = _a4s.COMMON_MISC.getTexture(5), _a60 = new PIXI.Sprite(_a5z), _a61 = createjs.Tween.get(_a60); return _a61.loop = !0, _a61.to({ 'y': 0 }).to({ 'y': -11 }, 350, createjs.Ease.cubicOut).to({ 'y': 0 }, 350, createjs.Ease.quadIn), _a5x._hit_area = new PIXI.Graphics(), _a5x._hit_area.hitArea = new PIXI.Circle(0, 0, 27), _a5x._hit_area.alpha = 0, _a5x._hit_area.position.set(28, 26), _a5x._hit_area.interactive = _a5x._hit_area.buttonMode = !0, _a5x._hit_area.on(_a4t.EventType.CLICK, _a5x._onClick), _a5x.addChild(_a5x._hit_area), _a5x.addChild(_a60), _a5x.spriteArrowTopS = _a60, _a5x; } return _a4c(_a5v, _a5t), _a5v.prototype.dispose = function() { var _a62 = null; createjs.Tween.removeTweens(this.spriteArrowTopS), this._hit_area.off(_a4t.EventType.CLICK), this.spriteArrowTopS.destroy(), this.spriteArrowTopS = null, this.removeChildren(); }, _a5v; }(PIXI.Container); _a48.ArrowTopButton = _a5s; var _a63 = function(_a64) { var _a65 = null; function _a66() { var _a67 = null, _a68 = _a64.call(this) || this; _a68._onClick = function() { var _a69 = null; _a68.onClick(); }; var _a6a = _a4s.COMMON_MISC.getTexture(2), _a6b = new PIXI.Sprite(_a6a), _a6c = createjs.Tween.get(_a6b); return _a6c.loop = !0, _a6c.to({ 'y': 0 }).to({ 'y': 11 }, 350, createjs.Ease.cubicOut).to({ 'y': 0 }, 350, createjs.Ease.quadIn), _a68._hit_area = new PIXI.Graphics(), _a68._hit_area.hitArea = new PIXI.Circle(0, 0, 27), _a68._hit_area.alpha = 0, _a68._hit_area.position.set(30, 33), _a68._hit_area.interactive = _a68._hit_area.buttonMode = !0, _a68._hit_area.on(_a4t.EventType.CLICK, _a68._onClick), _a68.addChild(_a68._hit_area), _a68.addChild(_a6b), _a68.spriteArrowBtmS = _a6b, _a68; } return _a4c(_a66, _a64), _a66.prototype.dispose = function() { var _a6d = null; createjs.Tween.removeTweens(this.spriteArrowBtmS), this._hit_area.off(_a4t.EventType.CLICK), this.spriteArrowBtmS.texture = PIXI.Texture.EMPTY, this.spriteArrowBtmS = null, this.removeChildren(); }, _a66; }(PIXI.Container); _a48.ArrowBottomButton = _a63; }, 18867: function(_a6e, _a6f, _a6g) { 'use strict'; var _a6h = null; var _a6i, _a6j = this && this.__extends || (_a6i = function(_a6k, _a6l) { var _a6m = null; return _a6i = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_a6n, _a6o) { var _a6p = null; _a6n.__proto__ = _a6o; } || function(_a6q, _a6r) { var _a6s = null; for (var _a6t in _a6r) Object.prototype.hasOwnProperty.call(_a6r, _a6t) && (_a6q[_a6t] = _a6r[_a6t]); }, _a6i(_a6k, _a6l); }, function(_a6u, _a6v) { var _a6w = null; if ('function' != typeof _a6v && null !== _a6v) throw new TypeError('Class extends value ' + String(_a6v) + ' is not a constructor or null'); function _a6x() { var _a6y = null; this.constructor = _a6u; } _a6i(_a6u, _a6v), _a6u.prototype = null === _a6v ? Object.create(_a6v) : (_a6x.prototype = _a6v.prototype, new _a6x()); }), _a6z = this && this.__importDefault || function(_a70) { var _a71 = null; return _a70 && _a70.__esModule ? _a70 : { 'default': _a70 }; }; defineModule(_a6f); Object.defineProperty(_a6f, '__esModule', { 'value': !0 }), _a6f.Background = void 0; var _a72 = _a6z(_a6g(18622)), _a73 = _a6g(57616), _a74 = _a6g(13748), _a75 = function(_a76) { var _a77 = null; function _a78() { var _a79 = null; return _a76.call(this) || this; } return _a6j(_a78, _a76), _a78.prototype.setImage = function(_a7a, _a7b) { var _a7c = null; switch (_a7a) { case 11: case 12: case 13: case 14: case 15: case 16: case 23: case 31: var _a7d = _a73.MathUtil.zeroPadding(_a7a, 3), _a7e = _a74.UIImageLoader.getVersion('common'), _a7f = _a72.default.settings.path_root + 'img/common/bg/'['concat'](_a7d, '.png'); null != PIXI.utils.TextureCache[_a7f] ? (this.texture = PIXI.utils.TextureCache[_a7f], this.visible = !0, null != _a7b && _a7b()) : this._load(_a7f, _a7e, _a7b); break; default: this.visible = !1, null != _a7b && _a7b(); } }, _a78.prototype._load = function(_a7g, _a7h, _a7i) { var _a7j = null, _a7k = this; this._loader = new PIXI.loaders.Loader(), this._loader.defaultQueryString = 'version='['concat'](_a7h), this._loader.add(_a7g), this._loader.load(function(_a7l) { var _a7m = null; if (_a7k._loader == _a7l) { _a7k._loader = null; var _a7n = _a7l.resources[_a7g]; _a7k.texture = _a7n.texture, _a7k.visible = !0, null != _a7i && _a7i(); } }); }, _a78; }(PIXI.Sprite); _a6f.Background = _a75; }, 18626: function(_a7o, _a7p, _a7q) { 'use strict'; var _a7r = null; var _a7s, _a7t = this && this.__extends || (_a7s = function(_a7u, _a7v) { var _a7w = null; return _a7s = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_a7x, _a7y) { var _a7z = null; _a7x.__proto__ = _a7y; } || function(_a80, _a81) { var _a82 = null; for (var _a83 in _a81) Object.prototype.hasOwnProperty.call(_a81, _a83) && (_a80[_a83] = _a81[_a83]); }, _a7s(_a7u, _a7v); }, function(_a84, _a85) { var _a86 = null; if ('function' != typeof _a85 && null !== _a85) throw new TypeError('Class extends value ' + String(_a85) + ' is not a constructor or null'); function _a87() { var _a88 = null; this.constructor = _a84; } _a7s(_a84, _a85), _a84.prototype = null === _a85 ? Object.create(_a85) : (_a87.prototype = _a85.prototype, new _a87()); }); defineModule(_a7p); Object.defineProperty(_a7p, '__esModule', { 'value': !0 }), _a7p.BaseKirakira = void 0; var _a89 = _a7q(57510), _a8a = _a7q(90054), _a8b = function(_a8c) { var _a8d = null; function _a8e() { var _a8f = null; for (var _a8g = _a8c.call(this) || this, _a8h = _a8g.__getPositions__(), _a8i = _a8a.COMMON_MAIN.getTexture(34), _a8j = _a8a.COMMON_MAIN.getTexture(35), _a8k = new Array(), _a8l = 0; _a8l < _a8h.length; _a8l++) { var _a8m = new PIXI.Sprite(), _a8n = _a8h[_a8l]; _a8m.position.x = _a8n[0], _a8m.position.y = _a8n[1], _a8m.alpha = 1; var _a8o = new _a89.KiraAnimation(_a8m, _a8i, _a8j); _a8k.push(_a8o), _a8g.addChild(_a8m); } return _a8g.kiraAnimations = _a8k, _a8g.visible = !1, _a8g; } return _a7t(_a8e, _a8c), _a8e.prototype.play = function() { var _a8p = null; this.visible = !0; for (var _a8q = 0; _a8q < this.kiraAnimations.length; _a8q++) { var _a8r = Math.floor(3 * Math.random()); this.kiraAnimations[_a8q].play(_a8r); } }, _a8e.prototype.stop = function() { var _a8s = null; this.visible = !1; for (var _a8t = 0; _a8t < this.kiraAnimations.length; _a8t++) this.kiraAnimations[_a8t].stop(); }, _a8e.prototype.dispose = function() { var _a8u = null; for (var _a8v = 0; _a8v < this.kiraAnimations.length; _a8v++) this.kiraAnimations[_a8v].dispose(), this.kiraAnimations[_a8v] = null; this.kiraAnimations = null, this.removeChildren(); }, _a8e; }(PIXI.Container); _a7p.BaseKirakira = _a8b; }, 98933: function(_a8w, _a8x, _a8y) { 'use strict'; var _a8z = null; var _a90, _a91 = this && this.__extends || (_a90 = function(_a92, _a93) { var _a94 = null; return _a90 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_a95, _a96) { var _a97 = null; _a95.__proto__ = _a96; } || function(_a98, _a99) { var _a9a = null; for (var _a9b in _a99) Object.prototype.hasOwnProperty.call(_a99, _a9b) && (_a98[_a9b] = _a99[_a9b]); }, _a90(_a92, _a93); }, function(_a9c, _a9d) { var _a9e = null; if ('function' != typeof _a9d && null !== _a9d) throw new TypeError('Class extends value ' + String(_a9d) + ' is not a constructor or null'); function _a9f() { var _a9g = null; this.constructor = _a9c; } _a90(_a9c, _a9d), _a9c.prototype = null === _a9d ? Object.create(_a9d) : (_a9f.prototype = _a9d.prototype, new _a9f()); }); defineModule(_a8x); Object.defineProperty(_a8x, '__esModule', { 'value': !0 }), _a8x.CardKirakira = void 0; var _a9h = function(_a9i) { var _a9j = null; function _a9k() { var _a9l = null; return null !== _a9i && _a9i.apply(this, arguments) || this; } return _a91(_a9k, _a9i), _a9k.prototype.__getPositions__ = function() { return [ [48, 0], [12, 50], [29, 86], [87, 86], [0, 140], [20, 224], [0, 381], [96, 426], [132, 390], [219, 395], [266, 426], [309, 381], [284, 320], [302, 120], [284, 84], [293, 48], [257, 26], [293, 0] ]; }, _a9k; }(_a8y(18626).BaseKirakira); _a8x.CardKirakira = _a9h; }, 94341: function(_a9m, _a9n, _a9o) { 'use strict'; var _a9p = null; var _a9q, _a9r = this && this.__extends || (_a9q = function(_a9s, _a9t) { var _a9u = null; return _a9q = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_a9v, _a9w) { var _a9x = null; _a9v.__proto__ = _a9w; } || function(_a9y, _a9z) { var _aa0 = null; for (var _aa1 in _a9z) Object.prototype.hasOwnProperty.call(_a9z, _aa1) && (_a9y[_aa1] = _a9z[_aa1]); }, _a9q(_a9s, _a9t); }, function(_aa2, _aa3) { var _aa4 = null; if ('function' != typeof _aa3 && null !== _aa3) throw new TypeError('Class extends value ' + String(_aa3) + ' is not a constructor or null'); function _aa5() { var _aa6 = null; this.constructor = _aa2; } _a9q(_aa2, _aa3), _aa2.prototype = null === _aa3 ? Object.create(_aa3) : (_aa5.prototype = _aa3.prototype, new _aa5()); }); defineModule(_a9n); Object.defineProperty(_a9n, '__esModule', { 'value': !0 }), _a9n.CombinedView = void 0; var _aa7 = _a9o(11997), _aa8 = _a9o(35380), _aa9 = function(_aaa) { var _aab = null; function _aac(_aad) { var _aae = null; void 0 === _aad && (_aad = !1); var _aaf = _aaa.call(this) || this; _aaf._toRelease = _aad, _aaf._tween = null, _aaf._onMouseOver = function(_aag) { var _aah = null; _aaf._balloon.visible = _aag.type === _aa8.EventType.MOUSEOVER; }, _aaf._onClick = function() { var _aai = null; _aaf.onClick(); }, _aaf._frame = new PIXI.Sprite(_aa7.COMMON_MISC.getTexture(162)), _aaf._frame.alpha = 0; var _aaj = Math.round(_aaf._frame.width / 2), _aak = new PIXI.Sprite(_aa7.COMMON_MISC.getTexture(164)); return _aak.anchor.set(0.5, 0.5), _aak.position.set(_aaj + 1, Math.round(_aaf._frame.height / 2) + 2), _aaf._text = new PIXI.Sprite(_aa7.COMMON_MISC.getTexture(161)), _aaf._text.anchor.set(0.5, 0), _aaf._text.position.set(_aaj, -10), _aaf.addChild(_aaf._frame, _aak, _aaf._text), _aaf._toRelease && (_aaf._balloon = new PIXI.Sprite(_aa7.COMMON_MISC.getTexture(163)), _aaf._balloon.position.set(29, -29), _aaf._balloon.visible = !1, _aaf.addChild(_aaf._balloon), _aaf._text.on(_aa8.EventType.MOUSEOVER, _aaf._onMouseOver).on(_aa8.EventType.MOUSEOUT, _aaf._onMouseOver).on(_aa8.EventType.CLICK, _aaf._onClick), _aaf._text.interactive = _aaf._text.buttonMode = !0), _aaf; } return _a9r(_aac, _aaa), _aac.prototype.adjustFramePosition = function(_aal, _aam) { var _aan = null; this._frame.x += _aal, this._frame.y += _aam; }, _aac.prototype.activate = function() { var _aao = null; null === this._tween && (this._tween = createjs.Tween.get(this._frame, { 'loop': !0 }).to({ 'alpha': 1 }, 800).to({ 'alpha': 0 }, 800).wait(200).play(null)); }, _aac.prototype.deactivate = function() { var _aap = null; null !== this._tween && (this._tween.setPaused(!0), createjs.Tween.removeTweens(this._frame), this._tween = null), this._frame.alpha = 0; }, _aac.prototype.dispose = function() { var _aaq = null; this.deactivate(), this._toRelease && (this._text.interactive = !1, this._text.off(_aa8.EventType.MOUSEOVER, this._onMouseOver).off(_aa8.EventType.MOUSEOUT, this._onMouseOver).off(_aa8.EventType.CLICK, this._onClick)), this.onClick = null, this.removeChildren(); }, _aac; }(PIXI.Container); _a9n.CombinedView = _aa9; }, 82543: function(_aar, _aas) { 'use strict'; var _aat = null; var _aau, _aav = this && this.__extends || (_aau = function(_aaw, _aax) { var _aay = null; return _aau = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_aaz, _ab0) { var _ab1 = null; _aaz.__proto__ = _ab0; } || function(_ab2, _ab3) { var _ab4 = null; for (var _ab5 in _ab3) Object.prototype.hasOwnProperty.call(_ab3, _ab5) && (_ab2[_ab5] = _ab3[_ab5]); }, _aau(_aaw, _aax); }, function(_ab6, _ab7) { var _ab8 = null; if ('function' != typeof _ab7 && null !== _ab7) throw new TypeError('Class extends value ' + String(_ab7) + ' is not a constructor or null'); function _ab9() { var _aba = null; this.constructor = _ab6; } _aau(_ab6, _ab7), _ab6.prototype = null === _ab7 ? Object.create(_ab7) : (_ab9.prototype = _ab7.prototype, new _ab9()); }); defineModule(_aas); Object.defineProperty(_aas, '__esModule', { 'value': !0 }), _aas.ContainerScene = void 0; var _abb = function(_abc) { var _abd = null; function _abe() { var _abf = null; return _abc.call(this) || this; } return _aav(_abe, _abc), _abe.prototype.getContent = function() { var _abg = null; return this._content; }, _abe.prototype.setContent = function(_abh) { var _abi = null; null != this._content && this.removeChild(this._content), this._content = _abh, null != _abh && this.addChild(_abh), this.visible = null != this._content; }, _abe; }(PIXI.Container); _aas.ContainerScene = _abb; }, 66285: function(_abj, _abk, _abl) { 'use strict'; var _abm = null; var _abn, _abo = this && this.__extends || (_abn = function(_abp, _abq) { var _abr = null; return _abn = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_abs, _abt) { var _abu = null; _abs.__proto__ = _abt; } || function(_abv, _abw) { var _abx = null; for (var _aby in _abw) Object.prototype.hasOwnProperty.call(_abw, _aby) && (_abv[_aby] = _abw[_aby]); }, _abn(_abp, _abq); }, function(_abz, _ac0) { var _ac1 = null; if ('function' != typeof _ac0 && null !== _ac0) throw new TypeError('Class extends value ' + String(_ac0) + ' is not a constructor or null'); function _ac2() { var _ac3 = null; this.constructor = _abz; } _abn(_abz, _ac0), _abz.prototype = null === _ac0 ? Object.create(_ac0) : (_ac2.prototype = _ac0.prototype, new _ac2()); }); defineModule(_abk); Object.defineProperty(_abk, '__esModule', { 'value': !0 }), _abk.DeckIndexEmblem = void 0; var _ac4 = _abl(11997), _ac5 = function(_ac6) { var _ac7 = null; function _ac8() { var _ac9 = null; return _ac6.call(this) || this; } return _abo(_ac8, _ac6), _ac8.prototype.update = function(_aca) { var _acb = null, _acc = PIXI.Texture.EMPTY; switch (_aca) { case 0: _acc = _ac4.COMMON_MISC.getTexture(30); break; case 1: _acc = _ac4.COMMON_MISC.getTexture(31); break; case 2: _acc = _ac4.COMMON_MISC.getTexture(32); break; case 3: _acc = _ac4.COMMON_MISC.getTexture(33); break; case 4: _acc = _ac4.COMMON_MISC.getTexture(34); break; case 5: _acc = _ac4.COMMON_MISC.getTexture(35); break; case 6: _acc = _ac4.COMMON_MISC.getTexture(36); } this.texture = _acc; }, _ac8.prototype.dispose = function() { var _acd = null; this.texture = PIXI.Texture.EMPTY; }, _ac8; }(PIXI.Sprite); _abk.DeckIndexEmblem = _ac5; }, 65065: function(_ace, _acf, _acg) { 'use strict'; var _ach = null; var _aci, _acj = this && this.__extends || (_aci = function(_ack, _acl) { var _acm = null; return _aci = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_acn, _aco) { var _acp = null; _acn.__proto__ = _aco; } || function(_acq, _acr) { var _acs = null; for (var _act in _acr) Object.prototype.hasOwnProperty.call(_acr, _act) && (_acq[_act] = _acr[_act]); }, _aci(_ack, _acl); }, function(_acu, _acv) { var _acw = null; if ('function' != typeof _acv && null !== _acv) throw new TypeError('Class extends value ' + String(_acv) + ' is not a constructor or null'); function _acx() { var _acy = null; this.constructor = _acu; } _aci(_acu, _acv), _acu.prototype = null === _acv ? Object.create(_acv) : (_acx.prototype = _acv.prototype, new _acx()); }), _acz = this && this.__createBinding || (Object.create ? function(_ad0, _ad1, _ad2, _ad3) { var _ad4 = null; void 0 === _ad3 && (_ad3 = _ad2); var _ad5 = Object.getOwnPropertyDescriptor(_ad1, _ad2); _ad5 && !('get' in _ad5 ? !_ad1.__esModule : _ad5.writable || _ad5.configurable) || (_ad5 = { 'enumerable': !0, 'get': function() { return _ad1[_ad2]; } }), Object.defineProperty(_ad0, _ad3, _ad5); } : function(_ad6, _ad7, _ad8, _ad9) { void 0 === _ad9 && (_ad9 = _ad8), _ad6[_ad9] = _ad7[_ad8]; }), _ada = this && this.__setModuleDefault || (Object.create ? function(_adb, _adc) { var _add = null; Object.defineProperty(_adb, 'default', { 'enumerable': !0, 'value': _adc }); } : function(_ade, _adf) { var _adg = null; _ade.default = _adf; }), _adh = this && this.__importStar || function(_adi) { var _adj = null; if (_adi && _adi.__esModule) return _adi; var _adk = {}; if (null != _adi) { for (var _adl in _adi) 'default' !== _adl && Object.prototype.hasOwnProperty.call(_adi, _adl) && _acz(_adk, _adi, _adl); } return _ada(_adk, _adi), _adk; }; defineModule(_acf); Object.defineProperty(_acf, '__esModule', { 'value': !0 }), _acf.DisableDownArrowAnimationView = _acf.DownArrowAnimationView = void 0; var _adm = _adh(_acg(31000)), _adn = function(_ado) { var _adp = null; function _adq() { var _adr = null, _ads = _ado.call(this) || this; _ads.texture = _adm.COMMON_MAIN.getTexture(27); var _adt = _adm.COMMON_MAIN.getTexture(28), _adu = new PIXI.Sprite(_adt), _adv = new PIXI.Sprite(_adt); _adu.alpha = 0, _adv.alpha = 0, _adv.position.set(0, 15), _ads.addChild(_adu, _adv); var _adw = createjs.Tween.get(_adu).to({ 'alpha': 0 }).wait(250).to({ 'alpha': 1 }).wait(250).to({ 'alpha': 0 }).wait(250), _adx = createjs.Tween.get(_adv).to({ 'alpha': 0 }).wait(250).to({ 'alpha': 0 }).wait(250).to({ 'alpha': 1 }).wait(250); return _adw.loop = _adx.loop = !0, _adw.play(null), _adx.play(null), _ads.tweenIcon_arrow_on_0 = _adw, _ads.tweenIcon_arrow_on_1 = _adx, _ads; } return _acj(_adq, _ado), _adq.prototype.dispose = function() { var _ady = null; this.tweenIcon_arrow_on_0.setPaused(!0), this.tweenIcon_arrow_on_1.setPaused(!0), createjs.Tween.removeTweens(this.tweenIcon_arrow_on_0.target), createjs.Tween.removeTweens(this.tweenIcon_arrow_on_1.target), this.tweenIcon_arrow_on_0 = null, this.tweenIcon_arrow_on_1 = null, this.removeChildren(); }, _adq; }(PIXI.Sprite); _acf.DownArrowAnimationView = _adn; var _adz = function(_ae0) { function _ae1() { var _ae2 = null, _ae3 = _ae0.call(this) || this; return _ae3.texture = _adm.COMMON_MAIN.getTexture(27), _ae3; } return _acj(_ae1, _ae0), _ae1; }(PIXI.Sprite); _acf.DisableDownArrowAnimationView = _adz; }, 12259: function(_ae4, _ae5, _ae6) { 'use strict'; var _ae7 = null; var _ae8, _ae9 = this && this.__extends || (_ae8 = function(_aea, _aeb) { var _aec = null; return _ae8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_aed, _aee) { var _aef = null; _aed.__proto__ = _aee; } || function(_aeg, _aeh) { var _aei = null; for (var _aej in _aeh) Object.prototype.hasOwnProperty.call(_aeh, _aej) && (_aeg[_aej] = _aeh[_aej]); }, _ae8(_aea, _aeb); }, function(_aek, _ael) { var _aem = null; if ('function' != typeof _ael && null !== _ael) throw new TypeError('Class extends value ' + String(_ael) + ' is not a constructor or null'); function _aen() { var _aeo = null; this.constructor = _aek; } _ae8(_aek, _ael), _aek.prototype = null === _ael ? Object.create(_ael) : (_aen.prototype = _ael.prototype, new _aen()); }), _aep = this && this.__importDefault || function(_aeq) { var _aer = null; return _aeq && _aeq.__esModule ? _aeq : { 'default': _aeq }; }; defineModule(_ae5); Object.defineProperty(_ae5, '__esModule', { 'value': !0 }), _ae5.ExpeditionCutin = void 0; var _aes = _aep(_ae6(21359)), _aet = _ae6(23907), _aeu = function(_aev) { var _aew = null; function _aex() { var _aey = null; return _aev.call(this) || this; } return _ae9(_aex, _aev), Object.defineProperty(_aex.prototype, 'bg', { 'get': function() { var _aez = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_aex.prototype, 'message', { 'get': function() { var _af0 = null; return this._message; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_aex.prototype, 'banner_top', { 'get': function() { var _af1 = null; return this._banner_top; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_aex.prototype, 'banner_bottom', { 'get': function() { var _af2 = null; return this._banner_bottom; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_aex.prototype, 'particles', { 'get': function() { var _af3 = null; return this._particles; }, 'enumerable': !1, 'configurable': !0 }), _aex.prototype.initialize = function(_af4) { var _af5 = null; this._bg = new PIXI.Sprite(_aet.COMMON_EXPEDITION.getTexture(10)), this._bg.anchor.set(0.5, 0.5), this._bg.position.set(_aes.default.width / 2, _aes.default.height / 2), this._message = 1 == _af4 ? new PIXI.Sprite(_aet.COMMON_EXPEDITION.getTexture(4)) : new PIXI.Sprite(_aet.COMMON_EXPEDITION.getTexture(3)), this._message.anchor.set(0.5, 0.5), this._banner_top = new _af6(), this._banner_bottom = new _af6(), this._particles = new _af7(), this._particles.initialize(), this.addChild(this._bg), this.addChild(this._message), this.addChild(this._banner_top), this.addChild(this._banner_bottom), this.addChild(this._particles); }, _aex.prototype.dispose = function() { var _af8 = null; this._bg = null, this._message = null, null != this._banner_top && this._banner_top.dispose(), this._banner_top = null, null != this._banner_bottom && this._banner_bottom.dispose(), this._banner_bottom = null, null != this._particles && this._particles.dispose(), this._particles = null; }, _aex; }(PIXI.Container); _ae5.ExpeditionCutin = _aeu; var _af6 = function(_af9) { var _afa = null; function _afb() { var _afc = null; return _af9.call(this) || this; } return _ae9(_afb, _af9), _afb.prototype.dispose = function() { var _afd = null; for (var _afe = 0, _aff = this.children; _afe < _aff.length; _afe++) { var _afg = _aff[_afe]; null != _afg && _afg.dispose(); } this.removeChildren(); }, _afb; }(PIXI.Container), _af7 = function(_afh) { var _afi = null; function _afj() { var _afk = null, _afl = _afh.call(this) || this; return _afl.XPOS = [-164, -116, -102, -62, -36, 0, 65, 90, 141, 195, 215, 270], _afl.YPOS = [-33, 32, -51, -24, 48, -3, -47, 51, -30, 29, -45, -14], _afl; } return _ae9(_afj, _afh), _afj.prototype.initialize = function() { var _afm = null; for (var _afn in (this._particles = new Array(), this.XPOS)) { var _afo = new PIXI.Sprite(_aet.COMMON_EXPEDITION.getTexture(5)); _afo.anchor.set(0.5, 0.5), _afo.scale.set(0, 0), _afo.position.set(this.XPOS[_afn] + _aes.default.width / 2, this.YPOS[_afn] + _aes.default.height / 2), this.addChild(_afo), this._particles.push(_afo); } }, _afj.prototype.startAnim = function() { var _afp = null; if (null == this._tweens) { this._tweens = []; for (var _afq = 0; _afq < this._particles.length; _afq++) { var _afr = this._particles[_afq], _afs = createjs.Tween.get(_afr.scale).wait(100 * _afq).to({ 'x': 1, 'y': 1 }, 100).to({ 'x': 0, 'y': 0 }, 100); this._tweens.push(_afs); } } }, _afj.prototype.dispose = function() { var _aft = null; for (var _afu = 0, _afv = this._tweens; _afu < _afv.length; _afu++) { _afv[_afu].setPaused(!0); } this._tweens = null, this._particles = null, this.removeChildren(); }, _afj; }(PIXI.Container); }, 79007: function(_afw, _afx, _afy) { 'use strict'; var _afz = null; var _ag0, _ag1 = this && this.__extends || (_ag0 = function(_ag2, _ag3) { var _ag4 = null; return _ag0 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ag5, _ag6) { var _ag7 = null; _ag5.__proto__ = _ag6; } || function(_ag8, _ag9) { var _aga = null; for (var _agb in _ag9) Object.prototype.hasOwnProperty.call(_ag9, _agb) && (_ag8[_agb] = _ag9[_agb]); }, _ag0(_ag2, _ag3); }, function(_agc, _agd) { var _age = null; if ('function' != typeof _agd && null !== _agd) throw new TypeError('Class extends value ' + String(_agd) + ' is not a constructor or null'); function _agf() { var _agg = null; this.constructor = _agc; } _ag0(_agc, _agd), _agc.prototype = null === _agd ? Object.create(_agd) : (_agf.prototype = _agd.prototype, new _agf()); }), _agh = this && this.__importDefault || function(_agi) { var _agj = null; return _agi && _agi.__esModule ? _agi : { 'default': _agi }; }; defineModule(_afx); Object.defineProperty(_afx, '__esModule', { 'value': !0 }), _afx.ExpeditionResult = void 0; var _agk = _agh(_afy(18622)), _agl = _afy(8744), _agm = _afy(37638), _agn = _afy(11997), _ago = _afy(23907), _agp = function(_agq) { var _agr = null; function _ags() { var _agt = null; return _agq.call(this) || this; } return _ag1(_ags, _agq), Object.defineProperty(_ags.prototype, 'ship_canvas', { 'get': function() { var _agu = null; return this._ship_canvas; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_ags.prototype, 'bg', { 'get': function() { var _agv = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_ags.prototype, 'expedition_name', { 'get': function() { var _agw = null; return this._expedition_name; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_ags.prototype, 'user_info', { 'get': function() { var _agx = null; return this._user_info; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_ags.prototype, 'banners', { 'get': function() { var _agy = null; return this._banners; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_ags.prototype, 'infos', { 'get': function() { var _agz = null; return this._infos; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_ags.prototype, 'bonus', { 'get': function() { var _ah0 = null; return this._bonus; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_ags.prototype, 'item', { 'get': function() { var _ah1 = null; return this._item; }, 'enumerable': !1, 'configurable': !0 }), _ags.prototype.initialize = function(_ah2, _ah3) { var _ah4 = null; for (this._ship_canvas = new PIXI.Container(), this._ship_canvas.position.set(587, -12), this._ship_canvas.scale.set(0.8), this._bg = new PIXI.Sprite(_ago.COMMON_EXPEDITION.getTexture(0)), this._expedition_name = new _agl.TextBox(24, 1949120), this._expedition_name.anchor.set(0.5, 0.5), this._expedition_name.position.set(600, 66), this._user_info = new _ah5(), this._user_info.initialize(_ah2, _ah3), this._user_info.position.set(86, 111), this._banner_canvas = new PIXI.Container(), this._banner_canvas.position.set(305, 279), this._banners = new Array(); this._banners.length < 6;) { var _ah6 = new _agm.ShipBanner(); this._banner_canvas.addChild(_ah6), this._banners.push(_ah6); } this._infos = new _ah7(), this._infos.position.set(251, 294), this._infos.visible = !1, this._bonus = new _ah8(), this._bonus.initialize(), this._bonus.position.set(914, 396), this._bonus.visible = !1, this._item = new _ah9(), this._item.initialize(), this._item.position.set(914, 396), this._bonus.update(_ah3.total_exp), this.addChild(this._ship_canvas), this.addChild(this._bg), this.addChild(this._expedition_name), this.addChild(this._user_info), this.addChild(this._banner_canvas), this.addChild(this._infos), this.addChild(this._bonus), this.addChild(this._item); }, _ags.prototype.dispose = function() { var _aha = null; this._ship_canvas = null, this._bg = null, this._expedition_name.destroy(), this._expedition_name = null, this._user_info.dispose(), this._user_info = null, this._banner_canvas = null; for (var _ahb = 0, _ahc = this._banners; _ahb < _ahc.length; _ahb++) { _ahc[_ahb].dispose(); } this._banners = null, this._infos.dispose(), this._infos = null, this._bonus.dispose(), this._bonus = null, this._item.dispose(), this._item = null, this.removeChildren(); }, _ags; }(PIXI.Container); _afx.ExpeditionResult = _agp; var _ah5 = function(_ahd) { var _ahe = null; function _ahf() { var _ahg = null; return _ahd.call(this) || this; } return _ag1(_ahf, _ahd), _ahf.prototype.initialize = function(_ahh, _ahi) { var _ahj = null, _ahk = new PIXI.Sprite(_ago.COMMON_EXPEDITION.getTexture(1)), _ahl = new PIXI.Sprite(_ago.COMMON_EXPEDITION.getTexture(15)), _ahm = new PIXI.Sprite(_ago.COMMON_EXPEDITION.getTexture(11)); this._user_name = new _agl.TextBox(21, 16774898), this._user_lv = new _agl.TextBox(22, 16774898), this._user_rank = new _agl.TextBox(18, 16774898), this._fleet_name = new _agl.TextBox(21, 16774898), _ahl.position.set(12, 54), _ahm.position.set(276, 12), this._user_name.position.set(12, 9), this._user_lv.position.set(303, 9), this._user_rank.position.set(383, 9), this._fleet_name.position.set(83, 51), this.addChild(_ahk), this.addChild(_ahl), this.addChild(_ahm), this.addChild(this._user_name), this.addChild(this._user_lv), this.addChild(this._user_rank), this.addChild(this._fleet_name); }, _ahf.prototype.update = function(_ahn, _aho, _ahp, _ahq) { var _ahr = null; this._user_name.text = _ahn, this._user_lv.text = _aho.toString(), this._user_rank.text = '[' ['concat'](_ahp, ']'), this._fleet_name.text = _ahq; }, _ahf.prototype.dispose = function() { var _ahs = null; this.removeChildren(), this._user_name.destroy(), this._user_lv.destroy(), this._user_rank.destroy(), this._fleet_name.destroy(); }, _ahf; }(PIXI.Container), _ah7 = function(_aht) { var _ahu = null; function _ahv() { var _ahw = null, _ahx = _aht.call(this) || this; for (_ahx._items = new Array(); _ahx._items.length < 6;) { var _ahy = new _ahz(); _ahx.addChild(_ahy), _ahx._items.push(_ahy); } return _ahx; } return _ag1(_ahv, _aht), Object.defineProperty(_ahv.prototype, 'items', { 'get': function() { var _ai0 = null; return this._items; }, 'enumerable': !1, 'configurable': !0 }), _ahv.prototype.dispose = function() { var _ai1 = null; this.removeChildren(); for (var _ai2 = 0, _ai3 = this._items; _ai2 < _ai3.length; _ai2++) { _ai3[_ai2].dispose(); } }, _ahv; }(PIXI.Container), _ahz = function(_ai4) { var _ai5 = null; function _ai6() { var _ai7 = null, _ai8 = _ai4.call(this) || this; return _ai8._name = new _agl.TextBox(18, 16777215), _ai8._name.position.set(-156, -9), _ai8._name_mask = new PIXI.Graphics(), _ai8._name.addChild(_ai8._name_mask), _ai8._name.mask = _ai8._name_mask, _ai8._lv = new _agl.TextBox(17, 16777215), _ai8._lv.anchor.set(1, 0), _ai8._lv.position.set(43, -9), _ai8; } return _ag1(_ai6, _ai4), _ai6.prototype.initialize = function() { var _ai9 = null, _aia = new PIXI.Sprite(_ago.COMMON_EXPEDITION.getTexture(11)); _aia.position.set(-27, -11), this.addChild(_aia), this.addChild(this._name), this.addChild(this._lv); }, _ai6.prototype.update = function(_aib, _aic) { var _aid = null; '' == _aib ? this.visible = !1 : (this._name.text = _aib, this._name_mask.clear(), this._name_mask.beginFill(0), this._name_mask.drawRect(0, 0, 126, this._name.height), this._name_mask.endFill(), this._lv.text = _aic.toString()); }, _ai6.prototype.dispose = function() { var _aie = null; this.removeChildren(), this._name.destroy(), this._lv.destroy(); }, _ai6; }(PIXI.Container), _ah8 = function(_aif) { var _aig = null; function _aih() { var _aii = null; return _aif.call(this) || this; } return _ag1(_aih, _aif), _aih.prototype.initialize = function() { var _aij = null, _aik = new PIXI.Sprite(_ago.COMMON_EXPEDITION.getTexture(1)), _ail = new PIXI.Sprite(_ago.COMMON_EXPEDITION.getTexture(6)), _aim = new PIXI.Sprite(_ago.COMMON_EXPEDITION.getTexture(12)), _ain = new PIXI.Sprite(_ago.COMMON_EXPEDITION.getTexture(13)); this._total_exp = new _agl.TextBox(26, 16774898), this._total_exp.anchor.set(1, 0), _aik.position.set(-324, -282), _aik.scale.set(1, 2.25), _ail.position.set(-309, 18), _aim.position.set(-303, -270), _ain.position.set(155, 30), this._total_exp.position.set(147, 24), this.addChild(_aik), this.addChild(_ail), this.addChild(_aim), this.addChild(_ain), this.addChild(this._total_exp); }, _aih.prototype.update = function(_aio) { var _aip = null; this._total_exp.text = _aio.toString(); }, _aih.prototype.dispose = function() { var _aiq = null; this.removeChildren(), this._total_exp.destroy(); }, _aih; }(PIXI.Container), _ah9 = function(_air) { var _ais = null; function _ait() { var _aiu = null; return _air.call(this) || this; } return _ag1(_ait, _air), _ait.prototype.initialize = function() { var _aiv = null, _aiw = new PIXI.Sprite(_ago.COMMON_EXPEDITION.getTexture(1)), _aix = new PIXI.Sprite(_ago.COMMON_EXPEDITION.getTexture(14)), _aiy = new PIXI.Sprite(_agn.COMMON_MISC.getTexture(91)), _aiz = new PIXI.Sprite(_agn.COMMON_MISC.getTexture(92)), _aj0 = new PIXI.Sprite(_agn.COMMON_MISC.getTexture(93)), _aj1 = new PIXI.Sprite(_agn.COMMON_MISC.getTexture(94)), _aj2 = new PIXI.Sprite(_ago.COMMON_EXPEDITION.getTexture(16)), _aj3 = new PIXI.Sprite(_ago.COMMON_EXPEDITION.getTexture(16)), _aj4 = new PIXI.Sprite(_ago.COMMON_EXPEDITION.getTexture(16)), _aj5 = new PIXI.Sprite(_ago.COMMON_EXPEDITION.getTexture(16)); this._item1_name = new _agl.TextBox(21, 16774898), this._item1_img = new PIXI.Sprite(), this._item1_count = new _agl.TextBox(19, 16774898), this._item2_name = new _agl.TextBox(21, 16774898), this._item2_img = new PIXI.Sprite(), this._item2_count = new _agl.TextBox(19, 16774898), this._fuel = new _agl.TextBox(18, 16774898), this._ammo = new _agl.TextBox(18, 16774898), this._steel = new _agl.TextBox(18, 16774898), this._baux = new _agl.TextBox(18, 16774898), _aiw.position.set(-324, 105), _aiw.scale.set(1, 1.2), _aix.position.set(-303, 117), _aj1.position.set(69, 153), _aj0.position.set(69, 186), _aiz.position.set(69, 219), _aiy.position.set(69, 252), _aj5.position.set(102, 159), _aj4.position.set(102, 192), _aj3.position.set(102, 225), _aj2.position.set(102, 258), this._item1_name.position.set(-299, 156), this._item1_img.position.set(-299, 195), this._item1_count.position.set(-215, 234), this._item2_name.position.set(-114, 156), this._item2_img.position.set(-114, 195), this._item2_count.position.set(-30, 234), this._baux.position.set(123, 155), this._steel.position.set(123, 188), this._ammo.position.set(123, 221), this._fuel.position.set(123, 254), this.addChild(_aiw), this.addChild(_aix), this.addChild(_aiy), this.addChild(_aiz), this.addChild(_aj0), this.addChild(_aj1), this.addChild(_aj2), this.addChild(_aj3), this.addChild(_aj4), this.addChild(_aj5), this.addChild(this._item1_name), this.addChild(this._item1_img), this.addChild(this._item1_count), this.addChild(this._item2_name), this.addChild(this._item2_img), this.addChild(this._item2_count), this.addChild(this._fuel), this.addChild(this._ammo), this.addChild(this._steel), this.addChild(this._baux); }, _ait.prototype.updateItem1 = function(_aj6, _aj7, _aj8) { var _aj9 = null; this._item1_name.text = _aj7, this._item1_img.texture = _agk.default.resources.getUseitem(_aj6, 0), this._item1_count.text = '×' + _aj8.toString(); }, _ait.prototype.updateItem2 = function(_aja, _ajb, _ajc) { var _ajd = null; this._item2_name.text = _ajb, this._item2_img.texture = _agk.default.resources.getUseitem(_aja, 0), this._item2_count.text = '×' + _ajc.toString(); }, _ait.prototype.updateMaterials = function(_aje, _ajf, _ajg, _ajh) { var _aji = null; this._fuel.text = _aje.toString(), this._ammo.text = _ajf.toString(), this._steel.text = _ajg.toString(), this._baux.text = _ajh.toString(); }, _ait.prototype.dispose = function() { var _ajj = null; this.removeChildren(), this._item1_name.destroy(), this._item1_count.destroy(), this._item2_name.destroy(), this._item2_count.destroy(), this._fuel.destroy(), this._ammo.destroy(), this._steel.destroy(), this._baux.destroy(); }, _ait; }(PIXI.Container); }, 87475: function(_ajk, _ajl, _ajm) { 'use strict'; var _ajn = null; var _ajo, _ajp = this && this.__extends || (_ajo = function(_ajq, _ajr) { var _ajs = null; return _ajo = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ajt, _aju) { var _ajv = null; _ajt.__proto__ = _aju; } || function(_ajw, _ajx) { var _ajy = null; for (var _ajz in _ajx) Object.prototype.hasOwnProperty.call(_ajx, _ajz) && (_ajw[_ajz] = _ajx[_ajz]); }, _ajo(_ajq, _ajr); }, function(_ak0, _ak1) { var _ak2 = null; if ('function' != typeof _ak1 && null !== _ak1) throw new TypeError('Class extends value ' + String(_ak1) + ' is not a constructor or null'); function _ak3() { var _ak4 = null; this.constructor = _ak0; } _ajo(_ak0, _ak1), _ak0.prototype = null === _ak1 ? Object.create(_ak1) : (_ak3.prototype = _ak1.prototype, new _ak3()); }), _ak5 = this && this.__importDefault || function(_ak6) { var _ak7 = null; return _ak6 && _ak6.__esModule ? _ak6 : { 'default': _ak6 }; }; defineModule(_ajl); Object.defineProperty(_ajl, '__esModule', { 'value': !0 }), _ajl.FadeBox = void 0; var _ak8 = _ak5(_ajm(21359)), _ak9 = function(_aka) { var _akb = null; function _akc(_akd, _ake, _akf, _akg) { var _akh = null; void 0 === _ake && (_ake = 0), void 0 === _akf && (_akf = _ak8.default.width), void 0 === _akg && (_akg = _ak8.default.height); var _aki = _aka.call(this, _akd, _ake, _akf, _akg) || this; return _aki._base_alpha = _akd, _aki; } return _ajp(_akc, _aka), _akc.prototype.isNowAnimation = function() { var _akj = null; return null != this._tween_show || null != this._tween_hide; }, _akc.prototype.show = function(_akk, _akl) { var _akm = null, _akn = this; void 0 === _akk && (_akk = 0), void 0 === _akl && (_akl = null), this._stopShowTween(), this._stopHideTween(), _akk <= 0 ? (this.alpha = 1, null != _akl && _akl()) : this._tween_show = createjs.Tween.get(this).to({ 'alpha': 1 }, _akk).call(function() { var _ako = null; _akn._tween_show = null, null != _akl && _akl(); }); }, _akc.prototype.hide = function(_akp, _akq) { var _akr = null, _aks = this; void 0 === _akp && (_akp = 0), void 0 === _akq && (_akq = null), this._stopShowTween(), this._stopHideTween(), _akp <= 0 ? (this.alpha = 0, null != _akq && _akq()) : this._tween_hide = createjs.Tween.get(this).to({ 'alpha': 0 }, _akp).call(function() { var _akt = null; _aks._tween_hide = null, null != _akq && _akq(); }); }, _akc.prototype._stopShowTween = function() { var _aku = null; null != this._tween_show && (this._tween_show.setPaused(!0), this._tween_show = null); }, _akc.prototype._stopHideTween = function() { var _akv = null; null != this._tween_hide && (this._tween_hide.setPaused(!0), this._tween_hide = null); }, _akc; }(_ajm(79899).AreaBox); _ajl.FadeBox = _ak9; }, 50740: function(_akw, _akx, _aky) { 'use strict'; var _akz = null; var _al0, _al1 = this && this.__extends || (_al0 = function(_al2, _al3) { var _al4 = null; return _al0 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_al5, _al6) { var _al7 = null; _al5.__proto__ = _al6; } || function(_al8, _al9) { var _ala = null; for (var _alb in _al9) Object.prototype.hasOwnProperty.call(_al9, _alb) && (_al8[_alb] = _al9[_alb]); }, _al0(_al2, _al3); }, function(_alc, _ald) { var _ale = null; if ('function' != typeof _ald && null !== _ald) throw new TypeError('Class extends value ' + String(_ald) + ' is not a constructor or null'); function _alf() { var _alg = null; this.constructor = _alc; } _al0(_alc, _ald), _alc.prototype = null === _ald ? Object.create(_ald) : (_alf.prototype = _ald.prototype, new _alf()); }); defineModule(_akx); Object.defineProperty(_akx, '__esModule', { 'value': !0 }), _akx.FailedPenguin = void 0; var _alh = _aky(31000), _ali = function(_alj) { var _alk = null; function _all() { var _alm = null, _aln = _alj.call(this) || this; _aln._light = new PIXI.Sprite(_alh.COMMON_ANIMATION.getTexture(3)), _aln._light.position.set(600, 195), _aln._light.anchor.set(0.5, 0.5), _aln.addChild(_aln._light), _aln._light_place = new PIXI.Sprite(_alh.COMMON_ANIMATION.getTexture(4)), _aln._light_place.position.set(600, 360), _aln._light_place.anchor.set(0.5, 0.5), _aln.addChild(_aln._light_place); var _alo = new PIXI.Sprite(_alh.COMMON_ANIMATION.getTexture(2)); return _alo.position.set(509, 276), _aln.addChild(_alo), _aln; } return _al1(_all, _alj), Object.defineProperty(_all.prototype, 'light', { 'get': function() { var _alp = null; return this._light; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_all.prototype, 'light_place', { 'get': function() { var _alq = null; return this._light_place; }, 'enumerable': !1, 'configurable': !0 }), _all.prototype.dispose = function() { var _alr = null; this.removeChildren(), this._light = null, this._light_place = null; }, _all; }(PIXI.Container); _akx.FailedPenguin = _ali; }, 17248: function(_als, _alt, _alu) { 'use strict'; var _alv = null; var _alw, _alx = this && this.__extends || (_alw = function(_aly, _alz) { var _am0 = null; return _alw = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_am1, _am2) { var _am3 = null; _am1.__proto__ = _am2; } || function(_am4, _am5) { var _am6 = null; for (var _am7 in _am5) Object.prototype.hasOwnProperty.call(_am5, _am7) && (_am4[_am7] = _am5[_am7]); }, _alw(_aly, _alz); }, function(_am8, _am9) { var _ama = null; if ('function' != typeof _am9 && null !== _am9) throw new TypeError('Class extends value ' + String(_am9) + ' is not a constructor or null'); function _amb() { var _amc = null; this.constructor = _am8; } _alw(_am8, _am9), _am8.prototype = null === _am9 ? Object.create(_am9) : (_amb.prototype = _am9.prototype, new _amb()); }); defineModule(_alt); Object.defineProperty(_alt, '__esModule', { 'value': !0 }), _alt.FurnitureThumbnail = void 0; var _amd = _alu(11997), _ame = function(_amf) { var _amg = null; function _amh(_ami) { var _amj = null; void 0 === _ami && (_ami = !1); var _amk = _amf.call(this) || this; _amk._isOldType = _ami, _amk._img = new PIXI.Sprite(), _amk.addChild(_amk._img); var _aml = new PIXI.Graphics(); return _aml.beginFill(0), _aml.drawRect(0, 0, 240, 300), _aml.endFill(), _aml.position.set(3, 4), _amk.addChild(_aml), _amk._img.mask = _aml, _amk._isOldType && (_amk._frame = new PIXI.Sprite(), _amk.addChild(_amk._frame)), _amk; } return _alx(_amh, _amf), _amh.prototype.initialize = function() { var _amm = null; this._isOldType ? (this.texture = _amd.COMMON_MISC.getTexture(57), this._frame.texture = _amd.COMMON_MISC.getTexture(59)) : this.texture = _amd.COMMON_MISC.getTexture(58); }, _amh.prototype.update = function(_amn) { var _amo = null; this._img.texture = _amn; }, _amh.prototype.clean = function() { var _amp = null; this._img.texture = PIXI.Texture.EMPTY; }, _amh; }(PIXI.Sprite); _alt.FurnitureThumbnail = _ame; }, 84272: function(_amq, _amr, _ams) { 'use strict'; var _amt = null; var _amu, _amv = this && this.__extends || (_amu = function(_amw, _amx) { var _amy = null; return _amu = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_amz, _an0) { var _an1 = null; _amz.__proto__ = _an0; } || function(_an2, _an3) { var _an4 = null; for (var _an5 in _an3) Object.prototype.hasOwnProperty.call(_an3, _an5) && (_an2[_an5] = _an3[_an5]); }, _amu(_amw, _amx); }, function(_an6, _an7) { var _an8 = null; if ('function' != typeof _an7 && null !== _an7) throw new TypeError('Class extends value ' + String(_an7) + ' is not a constructor or null'); function _an9() { var _ana = null; this.constructor = _an6; } _amu(_an6, _an7), _an6.prototype = null === _an7 ? Object.create(_an7) : (_an9.prototype = _an7.prototype, new _an9()); }), _anb = this && this.__importDefault || function(_anc) { var _and = null; return _anc && _anc.__esModule ? _anc : { 'default': _anc }; }; defineModule(_amr); Object.defineProperty(_amr, '__esModule', { 'value': !0 }), _amr.GaugeHorizontal = void 0; var _ane = _anb(_ams(18622)), _anf = _ams(11997), _ang = function(_anh) { var _ani = null; function _anj() { var _ank = null, _anl = _anh.call(this) || this; return _anl._now = -1, _anl._max = 100, _anl._tp_visible = !0, _anl._bar_bg = new PIXI.Graphics(), _anl._bar = new _anm(), _anl._img = new PIXI.Sprite(), _anl._light = new PIXI.Sprite(), _anl._tp = new _ann(), _anl.addChild(_anl._bar_bg), _anl.addChild(_anl._bar), _anl.addChild(_anl._img), _anl.addChild(_anl._light), _anl.addChild(_anl._tp), _anl.visible = !1, _anl; } return _amv(_anj, _anh), Object.defineProperty(_anj.prototype, 'tp_visible', { 'get': function() { var _ano = null; return this._tp_visible; }, 'set': function(_anp) { var _anq = null; this._tp_visible = _anp, this._tp.visible = this._tp.enabled && this._tp_visible; }, 'enumerable': !1, 'configurable': !0 }), _anj.prototype.initialize = function(_anr, _ans) { var _ant = null; if (null == _anr) return this._stopTween(), this._tp.enabled = !1, void(this.visible = !1); this._img.texture = _ane.default.resources.gauge.getTexture(_anr.image_path), this._light.texture = _ane.default.resources.gauge.getTexture(_anr.image_light_path), this._light.x = _anr.lightX, this._light.y = _anr.lightY, this._bar_bg.x = _anr.barX, this._bar_bg.y = _anr.barY, this._bar_bg.clear(); var _anu = _ans ? 0.5 : 0, _anv = 0 == _anr.bgAlpha ? _anu : _anr.bgAlpha; this._bar_bg.beginFill(0, _anv), this._bar_bg.drawRect(0, 0, _anr.barW, _anr.barH), this._bar_bg.endFill(), this._bar.x = _anr.barX, this._bar.y = _anr.barY, this._bar.initialize(_anr.barColor, _anr.barW, _anr.barH), this._tp.visible = !1, 1 == _anr.isTransport() ? (this._tp.initialize(), this._tp.x = _anr.transportX, this._tp.y = _anr.transportY, this._tp.enabled = !0) : this._tp.enabled = !1, this.visible = !0, this._startTween(); }, _anj.prototype.update = function(_anw, _anx, _any) { var _anz = null; void 0 === _any && (_any = null), this._now = _anw, this._max = _anx; var _ao0 = this._now / this._max; _ao0 = Math.max(_ao0, 0), _ao0 = Math.min(_ao0, 1), this._bar.update(_ao0, _any), 1 == this._tp.enabled ? (this._tp.update(_anw, _anx), this._tp.visible = this._tp_visible) : this._tp.visible = !1; }, _anj.prototype.dispose = function() { var _ao1 = null; this._stopTween(), this._bar.dispose(); }, _anj.prototype._startTween = function() { var _ao2 = null; null == this._t && (this._light.alpha = 0, this._t = createjs.Tween.get(this._light, { 'loop': !0 }).to({ 'alpha': 1 }, 500).to({ 'alpha': 0 }, 500)); }, _anj.prototype._stopTween = function() { var _ao3 = null; null != this._t && (this._t.setPaused(!0), this._t = null), this._light.alpha = 0; }, _anj; }(PIXI.Container); _amr.GaugeHorizontal = _ang; var _anm = function(_ao4) { var _ao5 = null; function _ao6() { var _ao7 = null; return null !== _ao4 && _ao4.apply(this, arguments) || this; } return _amv(_ao6, _ao4), _ao6.prototype.initialize = function(_ao8, _ao9, _aoa) { var _aob = null; this.clear(), this.beginFill(_ao8), this.drawRect(0, 0, _ao9, _aoa), this.endFill(); }, _ao6.prototype.update = function(_aoc, _aod) { var _aoe = null; if (void 0 === _aod && (_aod = null), this._stopAnimation(), null == _aod) this.scale.x = _aoc; else { var _aof = (this.width - this.width * _aoc) / 2 / 30 * 1000; this._t = createjs.Tween.get(this.scale).to({ 'x': _aoc }, _aof).call(function() { null != _aod && _aod(); }); } }, _ao6.prototype.flash = function(_aog) { var _aoh = null; this._stopFlashAnimation(), _aog && (this._flash_t = createjs.Tween.get(this, { 'loop': !0 }).to({ 'alpha': 0 }, 1000).to({ 'alpha': 1 }, 1000)); }, _ao6.prototype.dispose = function() { var _aoi = null; this._stopAnimation(), this._stopFlashAnimation(); }, _ao6.prototype._stopAnimation = function() { var _aoj = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _ao6.prototype._stopFlashAnimation = function() { var _aok = null; this.alpha = 1, null != this._flash_t && (this._flash_t.setPaused(!0), this._flash_t = null); }, _ao6; }(PIXI.Graphics), _ann = function(_aol) { var _aom = null; function _aon() { var _aoo = null, _aop = _aol.call(this) || this; return _aop._enabled = !1, _aop._title = new PIXI.Sprite(), _aop._slash = new PIXI.Sprite(), _aop._slash.x = 62, _aop._now = new _aoq(), _aop._now.x = 30, _aop._max = new _aoq(), _aop._max.x = 68, _aop.addChild(_aop._title), _aop.addChild(_aop._slash), _aop.addChild(_aop._now), _aop.addChild(_aop._max), _aop; } return _amv(_aon, _aol), Object.defineProperty(_aon.prototype, 'enabled', { 'get': function() { var _aor = null; return this._enabled; }, 'set': function(_aos) { var _aot = null; this._enabled = _aos; }, 'enumerable': !1, 'configurable': !0 }), _aon.prototype.initialize = function() { var _aou = null; this._title.texture = _anf.COMMON_MISC.getTexture(71), this._slash.texture = _anf.COMMON_MISC.getTexture(70); }, _aon.prototype.update = function(_aov, _aow) { var _aox = null; this._now.update(_aov), this._max.update(_aow); }, _aon; }(PIXI.Container), _aoq = function(_aoy) { var _aoz = null; function _ap0() { var _ap1 = null, _ap2 = _aoy.call(this) || this; _ap2._nums = []; for (var _ap3 = 0; _ap3 < 4; _ap3++) { var _ap4 = new _ap5(); _ap4.x = 8 * _ap3, _ap2.addChild(_ap4), _ap2._nums.push(_ap4); } return _ap2; } return _amv(_ap0, _aoy), _ap0.prototype.update = function(_ap6) { var _ap7 = null; if (_ap6 = Math.floor(_ap6), _ap6 = Math.max(0, _ap6), 0 != (_ap6 = Math.min(9999, _ap6))) { var _ap8 = !1; for (_ap9 = 0; _ap9 < this._nums.length; _ap9++) { var _apa = Math.pow(10, this._nums.length - _ap9 - 1), _apb = Math.floor(_ap6 / _apa); _apb > 0 || 1 == _ap8 ? (this._nums[_ap9].update(_apb), _ap8 = !0) : this._nums[_ap9].update(-1), _ap6 %= _apa; } } else { for (var _ap9 = 0; _ap9 < this._nums.length; _ap9++) _ap9 == this._nums.length - 1 ? this._nums[_ap9].update(0) : this._nums[_ap9].update(-1); } }, _ap0; }(PIXI.Container), _ap5 = function(_apc) { var _apd = null; function _ape() { var _apf = null; return null !== _apc && _apc.apply(this, arguments) || this; } return _amv(_ape, _apc), _ape.prototype.update = function(_apg) { var _aph = null; _apg >= 0 && _apg <= 9 ? (this.texture = _anf.COMMON_MISC.getTexture(_ape._TEXTURES[_apg]), this.visible = !0) : this.visible = !1; }, _ape._TEXTURES = [60, 61, 62, 63, 64, 65, 66, 67, 68, 69], _ape; }(PIXI.Sprite); }, 7344: function(_api, _apj, _apk) { 'use strict'; var _apl = null; var _apm, _apn = this && this.__extends || (_apm = function(_apo, _app) { var _apq = null; return _apm = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_apr, _aps) { var _apt = null; _apr.__proto__ = _aps; } || function(_apu, _apv) { var _apw = null; for (var _apx in _apv) Object.prototype.hasOwnProperty.call(_apv, _apx) && (_apu[_apx] = _apv[_apx]); }, _apm(_apo, _app); }, function(_apy, _apz) { var _aq0 = null; if ('function' != typeof _apz && null !== _apz) throw new TypeError('Class extends value ' + String(_apz) + ' is not a constructor or null'); function _aq1() { var _aq2 = null; this.constructor = _apy; } _apm(_apy, _apz), _apy.prototype = null === _apz ? Object.create(_apz) : (_aq1.prototype = _apz.prototype, new _aq1()); }); defineModule(_apj); Object.defineProperty(_apj, '__esModule', { 'value': !0 }), _apj.GearBtnHome = void 0; var _aq3 = _apk(38204), _aq4 = _apk(11997), _aq5 = function(_aq6) { var _aq7 = null; function _aq8() { var _aq9 = null; return null !== _aq6 && _aq6.apply(this, arguments) || this; } return _apn(_aq8, _aq6), _aq8.prototype._getContentTexture = function() { var _aqa = null; return _aq4.COMMON_MISC.getTexture(27); }, _aq8; }(_aq3.GearBtnNext); _apj.GearBtnHome = _aq5; }, 38204: function(_aqb, _aqc, _aqd) { 'use strict'; var _aqe = null; var _aqf, _aqg = this && this.__extends || (_aqf = function(_aqh, _aqi) { var _aqj = null; return _aqf = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_aqk, _aql) { var _aqm = null; _aqk.__proto__ = _aql; } || function(_aqn, _aqo) { var _aqp = null; for (var _aqq in _aqo) Object.prototype.hasOwnProperty.call(_aqo, _aqq) && (_aqn[_aqq] = _aqo[_aqq]); }, _aqf(_aqh, _aqi); }, function(_aqr, _aqs) { var _aqt = null; if ('function' != typeof _aqs && null !== _aqs) throw new TypeError('Class extends value ' + String(_aqs) + ' is not a constructor or null'); function _aqu() { var _aqv = null; this.constructor = _aqr; } _aqf(_aqr, _aqs), _aqr.prototype = null === _aqs ? Object.create(_aqs) : (_aqu.prototype = _aqs.prototype, new _aqu()); }); defineModule(_aqc); Object.defineProperty(_aqc, '__esModule', { 'value': !0 }), _aqc.GearBtnNext = void 0; var _aqw = _aqd(11997), _aqx = function(_aqy) { var _aqz = null; function _ar0() { var _ar1 = null, _ar2 = _aqy.call(this) || this; return _ar2._gear = new PIXI.Sprite(), _ar2._gear.anchor.set(0.5), _ar2.addChild(_ar2._gear), _ar2._btn = new PIXI.Sprite(), _ar2._btn.anchor.set(0.5), _ar2.addChild(_ar2._btn), _ar2; } return _aqg(_ar0, _aqy), _ar0.prototype.initialize = function() { var _ar3 = null; this._gear.texture = _aqw.COMMON_MISC.getTexture(29), this._btn.texture = this._getContentTexture(); }, _ar0.prototype.activate = function() { var _ar4 = null; null == this._t && (this._t = createjs.Tween.get(this._gear, { 'loop': !0 }).to({ 'rotation': 2 * Math.PI }, 6000)); }, _ar0.prototype.deactivate = function() { var _ar5 = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _ar0.prototype.dispose = function() { var _ar6 = null; this.deactivate(); }, _ar0.prototype._getContentTexture = function() { var _ar7 = null; return _aqw.COMMON_MISC.getTexture(28); }, _ar0; }(PIXI.Container); _aqc.GearBtnNext = _aqx; }, 91936: function(_ar8, _ar9, _ara) { 'use strict'; var _arb = null; var _arc, _ard = this && this.__extends || (_arc = function(_are, _arf) { var _arg = null; return _arc = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_arh, _ari) { var _arj = null; _arh.__proto__ = _ari; } || function(_ark, _arl) { var _arm = null; for (var _arn in _arl) Object.prototype.hasOwnProperty.call(_arl, _arn) && (_ark[_arn] = _arl[_arn]); }, _arc(_are, _arf); }, function(_aro, _arp) { var _arq = null; if ('function' != typeof _arp && null !== _arp) throw new TypeError('Class extends value ' + String(_arp) + ' is not a constructor or null'); function _arr() { var _ars = null; this.constructor = _aro; } _arc(_aro, _arp), _aro.prototype = null === _arp ? Object.create(_arp) : (_arr.prototype = _arp.prototype, new _arr()); }), _art = this && this.__importDefault || function(_aru) { var _arv = null; return _aru && _aru.__esModule ? _aru : { 'default': _aru }; }; defineModule(_ar9); Object.defineProperty(_ar9, '__esModule', { 'value': !0 }), _ar9.GetBG = void 0; var _arw = _art(_ara(18622)), _arx = function(_ary) { var _arz = null; function _as0() { var _as1 = null; return _ary.call(this) || this; } return _ard(_as0, _ary), _as0.prototype.initiailzeGetBG1 = function(_as2) { var _as3 = null; this._load('g1', _as2); }, _as0.prototype.initiailzeGetBG2 = function(_as4) { var _as5 = null; this._load('g2', _as4); }, _as0.prototype.dispose = function() { var _as6 = null; this._loader = null; }, _as0.prototype._load = function(_as7, _as8) { var _as9 = null, _asa = this, _asb = _arw.default.settings.path_root + 'img/common/bg/'['concat'](_as7, '.png'); null == PIXI.utils.TextureCache[_asb] || (this.texture = PIXI.utils.TextureCache[_asb], null == _as8) ? (this._loader = new PIXI.loaders.Loader(), this._loader.add(_asb), this._loader.load(function(_asc) { var _asd = null; if (_asa._loader == _asc) { _asa._loader = null; var _ase = _asc.resources[_asb]; _asa.texture = _ase.texture, null != _as8 && _as8(); } })) : _as8(); }, _as0; }(PIXI.Sprite); _ar9.GetBG = _arx; }, 87397: function(_asf, _asg, _ash) { 'use strict'; var _asi = null; var _asj, _ask = this && this.__extends || (_asj = function(_asl, _asm) { var _asn = null; return _asj = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_aso, _asp) { var _asq = null; _aso.__proto__ = _asp; } || function(_asr, _ass) { var _ast = null; for (var _asu in _ass) Object.prototype.hasOwnProperty.call(_ass, _asu) && (_asr[_asu] = _ass[_asu]); }, _asj(_asl, _asm); }, function(_asv, _asw) { var _asx = null; if ('function' != typeof _asw && null !== _asw) throw new TypeError('Class extends value ' + String(_asw) + ' is not a constructor or null'); function _asy() { var _asz = null; this.constructor = _asv; } _asj(_asv, _asw), _asv.prototype = null === _asw ? Object.create(_asw) : (_asy.prototype = _asw.prototype, new _asy()); }), _at0 = this && this.__importDefault || function(_at1) { var _at2 = null; return _at1 && _at1.__esModule ? _at1 : { 'default': _at1 }; }; defineModule(_asg); Object.defineProperty(_asg, '__esModule', { 'value': !0 }), _asg.HpGaugeView = void 0; var _at3 = _at0(_ash(18622)), _at4 = _ash(18343), _at5 = function(_at6) { var _at7 = null; function _at8() { var _at9 = null, _ata = _at6.call(this) || this, _atb = _at3.default.resources.getUIImage('hpgauge/hp_gauge_mask.png', 'common'), _atc = new PIXI.Sprite(_atb); _atb = _at3.default.resources.getUIImage('hpgauge/hp_s_bg2.png', 'common'); var _atd = new PIXI.Sprite(_atb), _ate = new PIXI.Sprite(), _atf = new PIXI.Graphics(), _atg = new PIXI.Graphics(); _atb = _at3.default.resources.getUIImage('hpgauge/hp_gauge_mask.png', 'common'); var _ath = new PIXI.Sprite(_atb); _ate.position.set(-34, -27), _ate.texture = _at3.default.resources.getUIImage('hpgauge/hp_s_red_light.png', 'common'), _ate.visible = !1, _atf.beginFill(16777215), _atf.drawRect(0, 0, 98, 11), _atf.endFill(); var _ati = new PIXI.Container(); _ati.mask = _atc, _ati.addChild(_atf), _ati.addChild(_atc), _ati.cacheAsBitmap = !0; var _atj = new PIXI.Container(); return _atj.mask = _ath, _atj.addChild(_atg), _atj.addChild(_ath), _ata.addChild(_ati, _ate, _atj, _atd), _ata.spriteRedLight = _ate, _ata.graphicsGauge = _atg, _ata.containerGaugeBackground = _ati, _ata.containerGauge = _atj, _ata; } return _ask(_at8, _at6), _at8.prototype.update = function(_atk, _atl) { var _atm = null, _atn = _atk / _atl * 100; _atn <= 0 ? _atn = 0 : 100 <= _atn && (_atn = 100), this.updateGauge(_atn); var _ato = _at4.ShipUtil.getDamageType(_atk, _atl), _atp = 25 == _ato, _atq = 50 == _ato; this.updateTaihaLamp(_atp || _atq); }, _at8.prototype.updateTaihaLamp = function(_atr) { var _ats = null; if (createjs.Tween.removeTweens(this.spriteRedLight), _atr) { this.spriteRedLight.visible = !0, this.spriteRedLight.alpha = 0; var _att = createjs.Tween.get(this.spriteRedLight).to({ 'alpha': 0.7 }, 1000).to({ 'alpha': 0 }, 1000); _att.loop = !0, _att.play(null); } else this.spriteRedLight.visible = !1, this.spriteRedLight.alpha = 0; }, _at8.prototype.updateGauge = function(_atu) { var _atv = null, _atw = 0; _atu < 33.3 ? (_atw = 255 << 16, _atw += _atu / 33.3 * 128 << 8) : _atu < 66.6 ? (_atw = 255 << 16, _atw += 32768, _atw += (_atu - 33.3) / 33.3 * 128 << 8) : (_atw = 255 - (_atu - 66.6) / 33.3 * 255 << 16, _atw += 65280), this.containerGauge.cacheAsBitmap = !1, this.graphicsGauge.clear(), this.graphicsGauge.beginFill(_atw), this.graphicsGauge.drawRect(0, 0, _atu / 100 * 98, 11), this.graphicsGauge.endFill(), this.containerGauge.cacheAsBitmap = !0; }, _at8.prototype.dispose = function() { var _atx = null; createjs.Tween.removeTweens(this.spriteRedLight), this.containerGauge.cacheAsBitmap = !1, this.containerGauge.mask = null, this.containerGauge.removeChildren(), this.containerGauge = null, this.containerGaugeBackground.cacheAsBitmap = !1, this.containerGaugeBackground.mask = null, this.containerGaugeBackground.removeChildren(), this.containerGaugeBackground = null, this.removeChildren(); }, _at8; }(PIXI.Container); _asg.HpGaugeView = _at5; }, 6218: function(_aty, _atz, _au0) { 'use strict'; var _au1 = null; var _au2, _au3 = this && this.__extends || (_au2 = function(_au4, _au5) { var _au6 = null; return _au2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_au7, _au8) { var _au9 = null; _au7.__proto__ = _au8; } || function(_aua, _aub) { var _auc = null; for (var _aud in _aub) Object.prototype.hasOwnProperty.call(_aub, _aud) && (_aua[_aud] = _aub[_aud]); }, _au2(_au4, _au5); }, function(_aue, _auf) { var _aug = null; if ('function' != typeof _auf && null !== _auf) throw new TypeError('Class extends value ' + String(_auf) + ' is not a constructor or null'); function _auh() { var _aui = null; this.constructor = _aue; } _au2(_aue, _auf), _aue.prototype = null === _auf ? Object.create(_auf) : (_auh.prototype = _auf.prototype, new _auh()); }); defineModule(_atz); Object.defineProperty(_atz, '__esModule', { 'value': !0 }), _atz.IconWeapon = void 0; var _auj = _au0(73195), _auk = function(_aul) { var _aum = null; function _aun() { var _auo = null, _aup = _aul.call(this) || this; return _aup._icon = new PIXI.Sprite(), _aup.addChild(_aup._icon), _aup; } return _au3(_aun, _aul), _aun.prototype.update = function(_auq) { var _aur = null; this._icon.texture = 0 == _auq ? PIXI.Texture.EMPTY : _auj.COMMON_ICON_WEAPON.getTextureFromMstID(_auq); var _aus = this._getOffset(_auq); this._icon.position.set(_aus.x, _aus.y); }, _aun.prototype.clear = function() { var _aut = null; this._icon.texture = PIXI.Texture.EMPTY; }, _aun.prototype.dispose = function() { var _auu = null; this.clear(), this.removeChild(this._icon), this._icon = null; }, _aun.prototype._getOffset = function(_auv) { var _auw = null, _aux = new PIXI.Point(); switch (_auv) { case 0: case 11: case 15: case 19: _aux.set(0, 0); break; case 1: case 13: _aux.set(-6, -6); break; case 2: _aux.set(0, -2); break; case 3: case 14: _aux.set(-5, -6); break; case 5: _aux.set(-4, -5); break; case 6: case 7: case 8: _aux.set(-3, 0); break; case 9: _aux.set(-8, -5); break; case 10: _aux.set(2, 0); break; case 12: case 22: case 23: _aux.set(-5, -3); break; case 21: _aux.set(-3, -3); break; case 29: _aux.set(-6, -5); break; case 48: case 49: _aux.set(-5, -2); break; default: _aux.set(-5, -5); } return _aux; }, _aun; }(PIXI.Container); _atz.IconWeapon = _auk; }, 90895: function(_auy, _auz, _av0) { 'use strict'; var _av1 = null; var _av2, _av3 = this && this.__extends || (_av2 = function(_av4, _av5) { var _av6 = null; return _av2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_av7, _av8) { var _av9 = null; _av7.__proto__ = _av8; } || function(_ava, _avb) { var _avc = null; for (var _avd in _avb) Object.prototype.hasOwnProperty.call(_avb, _avd) && (_ava[_avd] = _avb[_avd]); }, _av2(_av4, _av5); }, function(_ave, _avf) { var _avg = null; if ('function' != typeof _avf && null !== _avf) throw new TypeError('Class extends value ' + String(_avf) + ' is not a constructor or null'); function _avh() { var _avi = null; this.constructor = _ave; } _av2(_ave, _avf), _ave.prototype = null === _avf ? Object.create(_avf) : (_avh.prototype = _avf.prototype, new _avh()); }), _avj = this && this.__importDefault || function(_avk) { var _avl = null; return _avk && _avk.__esModule ? _avk : { 'default': _avk }; }; defineModule(_auz); Object.defineProperty(_auz, '__esModule', { 'value': !0 }), _auz.LoadingBox = void 0; var _avm = _avj(_av0(21359)), _avn = function(_avo) { var _avp = null; function _avq() { var _avr = null; for (var _avs = _avo.call(this, 0, 0, _avm.default.width, _avm.default.height) || this, _avt = 0; _avt < 20; _avt++) { var _avu = 4.5 * _avt; _avs.beginFill(0, 0.8 * Math.cos(_avu * Math.PI / 180)), _avs.drawRect(0, _avm.default.height - 3 * _avt, _avm.default.width, 3), _avs.endFill(); } return _avs._arc = PIXI.Sprite.fromImage('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAA1ElEQVQ4jaWUzRGCMBBGv8x4xw60Ay3BDrQDSqEFO4gl2IF0gFagHUQreB5EHcku4PBu7LBvfxKQOgALIAKJnAYouzkZQGUkWzTAaqrkzdWSlH9KUtYRr51Mk7SiOFnSijyuQNEZ35b0iPzKDjMnfg4hXIyihaS18f7dE82d+EbS0YjXfTv6ucFAwesiWsSZpJukpVHlAMwlndvnvTPWp6Oqp6sxJKAYankM3xUAK+yvfYiYDdnK/umscvb1OZnTgCBh/JOCI9xK2hmnWUvahxAe3ZwnVxLPxY8eTuoAAAAASUVORK5CYII='), _avs._arc.anchor.set(0.5, 0.5), _avs._arc.x = _avm.default.width - 23, _avs._arc.y = _avm.default.height - 23, _avs._arc.scale.set(1.5), _avs._arc.alpha = 0.8, _avs.addChild(_avs._arc), _avs; } return _av3(_avq, _avo), _avq.prototype.show = function(_avv, _avw) { var _avx = null, _avy = this; void 0 === _avv && (_avv = 0), void 0 === _avw && (_avw = null), this._stopTween(), this._setVisiblity(!0), _avv <= 0 ? (this.alpha = 1, null != _avw && _avw()) : this._tween = createjs.Tween.get(this).to({ 'alpha': 1 }, _avv).call(function() { var _avz = null; _avy._tween = null, null != _avw && _avw(); }); }, _avq.prototype.hide = function(_aw0, _aw1) { var _aw2 = null, _aw3 = this; void 0 === _aw0 && (_aw0 = 0), void 0 === _aw1 && (_aw1 = null), this._stopTween(), _aw0 <= 0 ? (this.alpha = 0, this._setVisiblity(!1), null != _aw1 && _aw1()) : this._tween = createjs.Tween.get(this).to({ 'alpha': 0 }, _aw0).call(function() { var _aw4 = null; _aw3._setVisiblity(!1), _aw3._tween = null, null != _aw1 && _aw1(); }); }, _avq.prototype._setVisiblity = function(_aw5) { var _aw6 = null; this.visible = _aw5, 1 == _aw5 ? this._startArcTween() : this._stopArcTween(); }, _avq.prototype._startArcTween = function() { var _aw7 = null; null == this._tween_arc && (this._arc.rotation = 0, this._tween_arc = createjs.Tween.get(this._arc, { 'loop': !0 }).to({ 'rotation': 2 * Math.PI }, 1200)); }, _avq.prototype._stopArcTween = function() { var _aw8 = null; null != this._tween_arc && (this._tween_arc.setPaused(!0), this._tween_arc = null); }, _avq.prototype._stopTween = function() { var _aw9 = null; null != this._tween && (this._tween.setPaused(!0), this._tween = null); }, _avq; }(_av0(79899).AreaBox); _auz.LoadingBox = _avn; }, 64289: function(_awa, _awb, _awc) { 'use strict'; var _awd = null; var _awe, _awf = this && this.__extends || (_awe = function(_awg, _awh) { var _awi = null; return _awe = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_awj, _awk) { var _awl = null; _awj.__proto__ = _awk; } || function(_awm, _awn) { var _awo = null; for (var _awp in _awn) Object.prototype.hasOwnProperty.call(_awn, _awp) && (_awm[_awp] = _awn[_awp]); }, _awe(_awg, _awh); }, function(_awq, _awr) { var _aws = null; if ('function' != typeof _awr && null !== _awr) throw new TypeError('Class extends value ' + String(_awr) + ' is not a constructor or null'); function _awt() { var _awu = null; this.constructor = _awq; } _awe(_awq, _awr), _awq.prototype = null === _awr ? Object.create(_awr) : (_awt.prototype = _awr.prototype, new _awt()); }), _awv = this && this.__importDefault || function(_aww) { var _awx = null; return _aww && _aww.__esModule ? _aww : { 'default': _aww }; }; defineModule(_awb); Object.defineProperty(_awb, '__esModule', { 'value': !0 }), _awb.LongShipBanner = void 0; var _awy = _awv(_awc(18622)), _awz = _awc(18343), _ax0 = _awc(66285), _ax1 = _awc(87397), _ax2 = _awc(32717), _ax3 = _awc(79522), _ax4 = _awc(8744), _ax5 = _awc(11053), _ax6 = _awc(32961), _ax7 = _awc(63552), _ax8 = _awc(48205), _ax9 = _awc(90054), _axa = _awc(11997), _axb = function(_axc) { var _axd = null; function _axe(_axf) { var _axg = null; void 0 === _axf && (_axf = !1); var _axh = _axc.call(this) || this, _axi = new PIXI.Sprite(), _axj = new PIXI.Sprite(), _axk = new PIXI.Sprite(), _axl = new PIXI.Sprite(), _axm = new _ax6.BannerSmoke(), _axn = new _ax5.BannerKirakira(), _axo = new _ax1.HpGaugeView(), _axp = new _ax3.StarRateView(), _axq = new _ax4.TextBox(27, 16777215), _axr = new _ax4.TextBox(30, 16777215), _axs = new _ax0.DeckIndexEmblem(), _axt = new PIXI.Sprite(_ax9.COMMON_MAIN.getTexture(19)), _axu = new _ax2.RingSmall(), _axv = new PIXI.Sprite(_ax9.COMMON_MAIN.getTexture(0)), _axw = new _ax7.BannerRibbonLong(); _axv.visible = _axf, _axk.x = 12, _axk.y = 6, _axu.initialize(), _axu.activate(), _axu.position.set(215, 33), _axw.position.set(217, 0), _axo.position.set(14, 42), _axp.position.set(122, 39), _axr.anchor.x = 1, _axs.position.set(15, 18), _axt.position.set(251, 6), _axr.position.set(212, 2); var _axx = new PIXI.Graphics(); _axx.beginFill(0, 0), _axx.drawRect(0, 0, 105, 36), _axx.endFill(); var _axy = new PIXI.Container(); _axy.position.set(9, 5), _axy.mask = _axx, _axy.addChild(_axq), _axy.addChild(_axx), _axt.addChild(_axy, _axr, _axo, _axp), _axm.visible = !1; var _axz = new PIXI.Container(); return _axz.width = 240, _axz.height = 60, _axz.addChild(_axm), _axz.addChild(_axn), _axh.addChild(_axi, _axk, _axj, _axz, _axt, _axl, _axv, _axs, _axw, _axu), _axh.shipBanner = _axi, _axh.burned = _axj, _axh.state = _axk, _axh.tired = _axl, _axh.smoke = _axm, _axh.textLevel = _axr, _axh.textName = _axq, _axh.starRateView = _axp, _axh.hpGaugeView = _axo, _axh.kirakira = _axn, _axh.ring = _axu, _axh.hitArea = new PIXI.Rectangle(0, 0, 240, 60), _axh._ribbon_l = _axw, _axh.containerName = _axy, _axh.containerEffect = _axz, _axh.deckIndexEmblem = _axs, _axh.banner_mask = _axv, _axh; } return _awf(_axe, _axc), _axe.prototype.dispose = function() { var _ay0 = null; this.containerName.cacheAsBitmap = !1, this.containerName.removeChildren(), this.containerEffect.removeChildren(), this.hpGaugeView.dispose(), this.starRateView.dispose(), this.smoke.dispose(), this.kirakira.dispose(), this.ring.dispose(), this._ribbon_l.dispose(), this.textLevel.destroy(), this.textName.destroy(), this.containerName.mask = null, this.containerName = null, this.containerEffect = null, this.shipBanner = null, this.hpGaugeView = null, this.starRateView = null, this.deckIndexEmblem = null, this.textLevel = null, this.textName = null, this.burned = null, this.state = null, this.tired = null, this.smoke = null, this.kirakira = null, this.ring = null, this.removeChildren(); }, _axe.prototype._updateName_ = function(_ay1, _ay2) { var _ay3 = null; this.containerName.cacheAsBitmap = !1, this.textName.text = _ay1; var _ay4 = 16777215; _ay2 && (_ay4 = 16766947), this.textName.style.fill = _ay4, this.containerName.cacheAsBitmap = !0; }, _axe.prototype._updateRing_ = function(_ay5) { var _ay6 = null; this.ring.visible = !1, _ay5 && (this.ring.visible = !0); }, _axe.prototype._updateRibbon = function(_ay7) { var _ay8 = null; this._ribbon_l.update(_ay7); }, _axe.prototype.update = function(_ay9, _aya, _ayb) { var _ayc = null, _ayd = _aya.isRepair(), _aye = _awz.ShipUtil.getDamageType(_aya.hpNow, _aya.hpMax), _ayf = _aya.isMarriage(); this.hpGaugeView.update(_aya.hpNow, _aya.hpMax), this.starRateView.update(_aya.starNum), this.textLevel.text = _aya.level.toString(), this._updateTexture_(_aya.mstID, _aya.isDamaged()), this._updateName_(_aya.name, _ayf), this._updateRing_(_ayf), this._updateStatus_(_ayd, _ayb, _aye), this._updateBurned_(_aye), this._updateTired_(_aya.tired), this.deckIndexEmblem.update(_ay9), this._updateRibbon(_aya.ribbon), this.banner_mask.alpha = _ay9 > 5 ? 1 : 0; }, _axe.prototype._updateStatus_ = function(_ayg, _ayh, _ayi) { var _ayj = null; if (this.smoke.stop(), _ayg) this.updateState(5); else { if (_ayh) this.updateState(4); else switch (this.smoke.play(_ayi), _ayi) { case 75: this.updateState(1); break; case 50: this.updateState(2); break; case 25: this.updateState(3); break; default: this.updateState(0); } } }, _axe.prototype._updateTexture_ = function(_ayk, _ayl) { var _aym = null; _ax8.TaskLoadShipResource.abortBy(this.shipBanner), 1 == _awy.default.resources.isLoadedShip(_ayk, _ayl, 'supply_character') ? this.shipBanner.texture = _awy.default.resources.getShip(_ayk, _ayl, 'supply_character') : (this.shipBanner.texture = PIXI.Texture.EMPTY, new _ax8.TaskLoadShipResource('supply_character', this.shipBanner, _ayk, _ayl).start()); }, _axe.prototype._updateBurned_ = function(_ayn) { var _ayo = null; switch (_ayn) { case 75: this.burned.texture = _axa.COMMON_MISC.getTexture(102); break; case 50: this.burned.texture = _axa.COMMON_MISC.getTexture(101); break; case 25: this.burned.texture = _axa.COMMON_MISC.getTexture(103); break; default: this.burned.texture = PIXI.Texture.EMPTY; } }, _axe.prototype.updateState = function(_ayp) { var _ayq = null; switch (_ayp) { case 0: this.state.texture = PIXI.Texture.EMPTY; break; case 1: this.state.texture = _axa.COMMON_MISC.getTexture(112); break; case 2: this.state.texture = _axa.COMMON_MISC.getTexture(104); break; case 3: this.state.texture = _axa.COMMON_MISC.getTexture(116); break; case 4: this.state.texture = _axa.COMMON_MISC.getTexture(105); break; case 5: this.state.texture = _axa.COMMON_MISC.getTexture(115); } }, _axe.prototype._updateTired_ = function(_ayr) { var _ays = null; if (this.tired.removeChildren(), _ayr < 20) { var _ayt = new PIXI.Sprite(_axa.COMMON_MISC.getTexture(40)); (_ayu = new PIXI.Sprite(_axa.COMMON_MISC.getTexture(120))).x = Math.floor(_ayt.width - _ayu.width / 2), _ayu.y = Math.floor(_ayt.height / 2 - _ayu.height / 2), _ayt.x = 240 - _ayt.texture.width + 11, _ayt.y = 5, _ayt.addChild(_ayu), this.tired.addChild(_ayt); } else { if (_ayr < 30) { var _ayu; _ayt = new PIXI.Sprite(_axa.COMMON_MISC.getTexture(39)), ((_ayu = new PIXI.Sprite(_axa.COMMON_MISC.getTexture(119))).x = Math.floor(_ayt.width - _ayu.width / 2), _ayu.y = Math.floor(_ayt.height / 2 - _ayu.height / 2), _ayt.x = 240 - _ayt.texture.width + 11, _ayt.y = 5, _ayt.addChild(_ayu), this.tired.addChild(_ayt)); } } _ayr >= 71 ? this.kirakira.playStrongPlus() : _ayr >= 58 ? this.kirakira.playStrong() : _ayr >= 50 ? this.kirakira.play() : this.kirakira.stop(); }, _axe; }(PIXI.Container); _awb.LongShipBanner = _axb; }, 54275: function(_ayv, _ayw, _ayx) { 'use strict'; var _ayy = null; var _ayz, _az0 = this && this.__extends || (_ayz = function(_az1, _az2) { var _az3 = null; return _ayz = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_az4, _az5) { var _az6 = null; _az4.__proto__ = _az5; } || function(_az7, _az8) { var _az9 = null; for (var _aza in _az8) Object.prototype.hasOwnProperty.call(_az8, _aza) && (_az7[_aza] = _az8[_aza]); }, _ayz(_az1, _az2); }, function(_azb, _azc) { var _azd = null; if ('function' != typeof _azc && null !== _azc) throw new TypeError('Class extends value ' + String(_azc) + ' is not a constructor or null'); function _aze() { var _azf = null; this.constructor = _azb; } _ayz(_azb, _azc), _azb.prototype = null === _azc ? Object.create(_azc) : (_aze.prototype = _azc.prototype, new _aze()); }); defineModule(_ayw); Object.defineProperty(_ayw, '__esModule', { 'value': !0 }), _ayw.MainView = void 0; var _azg = _ayx(61474), _azh = _ayx(87475), _azi = _ayx(53150), _azj = function(_azk) { var _azl = null; function _azm() { var _azn = null, _azo = _azk.call(this) || this; return _azo._initialized = !1, _azo._furniture_layer = new _azi.FurnitureView(), _azo.addChild(_azo._furniture_layer), _azo._contentLayer = new PIXI.Container(), _azo.addChild(_azo._contentLayer), _azo._fadeLayer = new _azh.FadeBox(1), _azo._fadeLayer.hide(), _azo._fadeLayer.visible = !1, _azo.addChild(_azo._fadeLayer), _azo._overLayer = new PIXI.Graphics(), _azo.addChild(_azo._overLayer), _azo; } return _az0(_azm, _azk), Object.defineProperty(_azm.prototype, 'furnitureLayer', { 'get': function() { var _azp = null; return this._furniture_layer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_azm.prototype, 'fadeLayer', { 'get': function() { var _azq = null; return this._fadeLayer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_azm.prototype, 'overLayer', { 'get': function() { var _azr = null; return this._overLayer; }, 'enumerable': !1, 'configurable': !0 }), _azm.prototype.isInitialized = function() { var _azs = null; return this._initialized; }, _azm.prototype.setInitialized = function(_azt) { var _azu = null; this._initialized = _azt; }, _azm.prototype.initialize = function() { var _azv = null; 1 != this._initialized && (this._initialized = !0, this.showPortUI(!0)); }, _azm.prototype.update = function(_azw) { var _azx = null; this._furniture_layer.visible = 0 == _azw || 25 == _azw; }, _azm.prototype.activate = function(_azy, _azz) { var _b00 = null; this._furniture_layer.activate(); }, _azm.prototype.deactivate = function() { var _b01 = null; this._furniture_layer.deactivate(); }, _azm.prototype.dispose = function() { var _b02 = null; null != this._furniture_layer && (this._furniture_layer.dispose(), this._furniture_layer = null), null != this._contentLayer && (this._contentLayer.removeChildren(), this._contentLayer = null), null != this._fadeLayer && (this._fadeLayer.destroy(), this._fadeLayer = null), null != this._overLayer && (this._overLayer.destroy(), this._overLayer = null); }, _azm.prototype.showPortUI = function(_b03) { var _b04 = null; this._overLayer.visible = !0; }, _azm.prototype.getContent = function() { var _b05 = null; return this._contentLayer.children.length > 0 ? this._contentLayer.getChildAt(0) : null; }, _azm.prototype.setContent = function(_b06) { var _b07 = null; this._contentLayer.removeChildren(), null != _b06 && this._contentLayer.addChild(_b06); }, _azm; }(_azg.SceneBase); _ayw.MainView = _azj; }, 37618: function(_b08, _b09, _b0a) { 'use strict'; var _b0b = null; var _b0c, _b0d = this && this.__extends || (_b0c = function(_b0e, _b0f) { var _b0g = null; return _b0c = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_b0h, _b0i) { var _b0j = null; _b0h.__proto__ = _b0i; } || function(_b0k, _b0l) { var _b0m = null; for (var _b0n in _b0l) Object.prototype.hasOwnProperty.call(_b0l, _b0n) && (_b0k[_b0n] = _b0l[_b0n]); }, _b0c(_b0e, _b0f); }, function(_b0o, _b0p) { var _b0q = null; if ('function' != typeof _b0p && null !== _b0p) throw new TypeError('Class extends value ' + String(_b0p) + ' is not a constructor or null'); function _b0r() { var _b0s = null; this.constructor = _b0o; } _b0c(_b0o, _b0p), _b0o.prototype = null === _b0p ? Object.create(_b0p) : (_b0r.prototype = _b0p.prototype, new _b0r()); }), _b0t = this && this.__importDefault || function(_b0u) { var _b0v = null; return _b0u && _b0u.__esModule ? _b0u : { 'default': _b0u }; }; defineModule(_b09); Object.defineProperty(_b09, '__esModule', { 'value': !0 }), _b09.MapBG = void 0; var _b0w = _b0t(_b0a(18622)), _b0x = _b0a(13748), _b0y = function(_b0z) { var _b10 = null; function _b11() { var _b12 = null; return _b0z.call(this) || this; } return _b0d(_b11, _b0z), _b11.prototype.setDay = function(_b13) { var _b14 = null; this._load('bg_h', _b13); }, _b11.prototype.setNight = function(_b15) { var _b16 = null; this._load('bg_y', _b15); }, _b11.prototype.dispose = function() { var _b17 = null; this._loader = null; }, _b11.prototype._load = function(_b18, _b19) { var _b1a = null, _b1b = this, _b1c = _b0x.UIImageLoader.getVersion('map'); _b1c = _b1c ? '?version='['concat'](_b1c) : ''; var _b1d = _b0w.default.settings.path_root + 'img/common/bg_map/'['concat'](_b18, '.png').concat(_b1c); null == PIXI.utils.TextureCache[_b1d] || (this.texture = PIXI.utils.TextureCache[_b1d], null == _b19) ? (this._loader = new PIXI.loaders.Loader(), this._loader.add(_b1d), this._loader.load(function(_b1e) { var _b1f = null; if (_b1b._loader == _b1e) { _b1b._loader = null; var _b1g = _b1e.resources[_b1d]; _b1b.texture = _b1g.texture, null != _b19 && _b19(); } })) : _b19(); }, _b11; }(PIXI.Sprite); _b09.MapBG = _b0y; }, 2156: function(_b1h, _b1i, _b1j) { 'use strict'; var _b1k = null; var _b1l, _b1m = this && this.__extends || (_b1l = function(_b1n, _b1o) { var _b1p = null; return _b1l = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_b1q, _b1r) { var _b1s = null; _b1q.__proto__ = _b1r; } || function(_b1t, _b1u) { var _b1v = null; for (var _b1w in _b1u) Object.prototype.hasOwnProperty.call(_b1u, _b1w) && (_b1t[_b1w] = _b1u[_b1w]); }, _b1l(_b1n, _b1o); }, function(_b1x, _b1y) { var _b1z = null; if ('function' != typeof _b1y && null !== _b1y) throw new TypeError('Class extends value ' + String(_b1y) + ' is not a constructor or null'); function _b20() { var _b21 = null; this.constructor = _b1x; } _b1l(_b1x, _b1y), _b1x.prototype = null === _b1y ? Object.create(_b1y) : (_b20.prototype = _b1y.prototype, new _b20()); }), _b22 = this && this.__importDefault || function(_b23) { var _b24 = null; return _b23 && _b23.__esModule ? _b23 : { 'default': _b23 }; }; defineModule(_b1i); Object.defineProperty(_b1i, '__esModule', { 'value': !0 }), _b1i.MapThumbnailImage = void 0; var _b25 = _b22(_b1j(18622)), _b26 = _b1j(10742), _b27 = _b1j(57616), _b28 = _b1j(13748), _b29 = function(_b2a) { var _b2b = null; function _b2c() { var _b2d = null; return _b2a.call(this) || this; } return _b1m(_b2c, _b2a), _b2c.prototype.setTexture = function(_b2e) { var _b2f = null; this._loader = null, this.texture = _b2e; }, _b2c.prototype.setImage = function(_b2g, _b2h, _b2i) { var _b2j = null; void 0 === _b2i && (_b2i = null), this._load(_b2g, _b2h, _b2i); }, _b2c.prototype.dispose = function() { var _b2k = null; this._loader = null; }, _b2c.prototype._load = function(_b2l, _b2m, _b2n) { var _b2o = null, _b2p = this, _b2q = _b27.MathUtil.zeroPadding(_b2l, 3), _b2r = _b26.MapUtil.toMapID(_b2l, _b2m), _b2s = _b25.default.model.map.getMapMem(_b2r).getGaugeNum(), _b2t = _b27.MathUtil.zeroPadding(_b2m, 2); 465 == _b2r && _b2s > 1 && (_b2t += '_2'); var _b2u = _b28.UIImageLoader.getResourceVersionMap(_b2r), _b2v = _b25.default.settings.path_root + 'resources/map/'['concat'](_b2q, '/').concat(_b2t, '.png').concat(_b2u ? '?version=' + _b2u : ''); if (null != PIXI.utils.TextureCache[_b2v]) return this.texture = PIXI.utils.TextureCache[_b2v], void(null != _b2n && _b2n()); this._loader = new PIXI.loaders.Loader(), this._loader.add(_b2v), this._loader.load(function(_b2w) { var _b2x = null; if (_b2p._loader == _b2w) { _b2p._loader = null; var _b2y = _b2w.resources[_b2v]; _b2p.texture = _b2y.texture, null != _b2n && _b2n(); } }); }, _b2c; }(PIXI.Sprite); _b1i.MapThumbnailImage = _b29; }, 12700: function(_b2z, _b30, _b31) { 'use strict'; var _b32 = null; var _b33, _b34 = this && this.__extends || (_b33 = function(_b35, _b36) { var _b37 = null; return _b33 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_b38, _b39) { var _b3a = null; _b38.__proto__ = _b39; } || function(_b3b, _b3c) { var _b3d = null; for (var _b3e in _b3c) Object.prototype.hasOwnProperty.call(_b3c, _b3e) && (_b3b[_b3e] = _b3c[_b3e]); }, _b33(_b35, _b36); }, function(_b3f, _b3g) { var _b3h = null; if ('function' != typeof _b3g && null !== _b3g) throw new TypeError('Class extends value ' + String(_b3g) + ' is not a constructor or null'); function _b3i() { var _b3j = null; this.constructor = _b3f; } _b33(_b3f, _b3g), _b3f.prototype = null === _b3g ? Object.create(_b3g) : (_b3i.prototype = _b3g.prototype, new _b3i()); }); defineModule(_b30); Object.defineProperty(_b30, '__esModule', { 'value': !0 }), _b30.MaterialMeterView = void 0; var _b3k = _b31(11997), _b3l = function(_b3m) { var _b3n = null; function _b3o() { var _b3p = null, _b3q = _b3m.call(this) || this, _b3r = new PIXI.Sprite(), _b3s = new PIXI.Sprite(); return _b3s.position.set(-29, -27), _b3s.alpha = 0, _b3q.addChild(_b3s, _b3r), _b3q.meter = _b3r, _b3q.meterLight = _b3s, _b3q; } return _b34(_b3o, _b3m), _b3o.prototype.update = function(_b3t, _b3u) { var _b3v = null, _b3w, _b3x; this.meter.texture = _b3k.COMMON_MISC.getTexture(128), this.meterLight.texture = _b3k.COMMON_MISC.getTexture(139), null != this.meterLightTween && (this.meterLightTween.setPaused(!0), this.meterLightTween = null), 0 == _b3t ? _b3w = 0 : _b3t == _b3u ? _b3w = 10 : (10 < (_b3w = Math.floor(9 * _b3t / _b3u) + 1) && (_b3w = 10), _b3w < 0 && (_b3w = 0)), _b3x = 0 == _b3w ? 1 : 10 == _b3w ? 0 : (11 - _b3w) / 11; var _b3y = this.getTextureNoProgressImage(_b3w); this.meter.texture = _b3k.COMMON_MISC.getTexture(_b3y), this.meterLightTween = createjs.Tween.get(this.meterLight).to({ 'alpha': 0 }).to({ 'alpha': _b3x }, 1000).to({ 'alpha': 0 }, 1000), this.meterLightTween.loop = !0, this.meterLightTween.play(null); }, _b3o.prototype.dispose = function() { var _b3z = null; null != this.meterLightTween && this.meterLightTween.setPaused(!0), createjs.Tween.removeTweens(this.meterLight), this.removeChild(this.meter), this.removeChild(this.meterLight), this.meterLightTween = null, this.meter = null, this.meterLight = null; }, _b3o.prototype.getTextureNoProgressImage = function(_b40) { switch (_b40) { case 0: return 128; case 1: return 129; case 2: return 131; case 3: return 132; case 4: return 133; case 5: return 134; case 6: return 135; case 7: return 136; case 8: return 137; case 9: return 138; case 10: return 130; } }, _b3o; }(PIXI.Container); _b30.MaterialMeterView = _b3l; }, 1893: function(_b41, _b42, _b43) { 'use strict'; var _b44 = null; var _b45, _b46 = this && this.__extends || (_b45 = function(_b47, _b48) { var _b49 = null; return _b45 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_b4a, _b4b) { var _b4c = null; _b4a.__proto__ = _b4b; } || function(_b4d, _b4e) { var _b4f = null; for (var _b4g in _b4e) Object.prototype.hasOwnProperty.call(_b4e, _b4g) && (_b4d[_b4g] = _b4e[_b4g]); }, _b45(_b47, _b48); }, function(_b4h, _b4i) { var _b4j = null; if ('function' != typeof _b4i && null !== _b4i) throw new TypeError('Class extends value ' + String(_b4i) + ' is not a constructor or null'); function _b4k() { var _b4l = null; this.constructor = _b4h; } _b45(_b4h, _b4i), _b4h.prototype = null === _b4i ? Object.create(_b4i) : (_b4k.prototype = _b4i.prototype, new _b4k()); }), _b4m = this && this.__createBinding || (Object.create ? function(_b4n, _b4o, _b4p, _b4q) { var _b4r = null; void 0 === _b4q && (_b4q = _b4p); var _b4s = Object.getOwnPropertyDescriptor(_b4o, _b4p); _b4s && !('get' in _b4s ? !_b4o.__esModule : _b4s.writable || _b4s.configurable) || (_b4s = { 'enumerable': !0, 'get': function() { return _b4o[_b4p]; } }), Object.defineProperty(_b4n, _b4q, _b4s); } : function(_b4t, _b4u, _b4v, _b4w) { void 0 === _b4w && (_b4w = _b4v), _b4t[_b4w] = _b4u[_b4v]; }), _b4x = this && this.__setModuleDefault || (Object.create ? function(_b4y, _b4z) { var _b50 = null; Object.defineProperty(_b4y, 'default', { 'enumerable': !0, 'value': _b4z }); } : function(_b51, _b52) { var _b53 = null; _b51.default = _b52; }), _b54 = this && this.__importStar || function(_b55) { var _b56 = null; if (_b55 && _b55.__esModule) return _b55; var _b57 = {}; if (null != _b55) { for (var _b58 in _b55) 'default' !== _b58 && Object.prototype.hasOwnProperty.call(_b55, _b58) && _b4m(_b57, _b55, _b58); } return _b4x(_b57, _b55), _b57; }; defineModule(_b42); Object.defineProperty(_b42, '__esModule', { 'value': !0 }), _b42.PagerView = void 0; var _b59 = _b54(_b43(31000)), _b5a = _b43(8744), _b5b = _b43(35380), _b5c = function(_b5d) { var _b5e = null; function _b5f() { var _b5g = null, _b5h = _b5d.call(this) || this; _b5h.PAGER_COUNT = 5, _b5h.color_on = 1949120, _b5h.color_off = 5523516, _b5h.color_no = 16774898, _b5h.BASE_Y = 12, _b5h.BASE_X = 143, _b5h.PADDING = 53, _b5h.focusIndex = 0, _b5h._onClickPrev_First = function() { var _b5i = null; _b5h.focusIndex = 0, _b5h.updatePageNumbers(0), _b5h.onChangePage(_b5h.focusIndex); }, _b5h._onClickPrev_5 = function() { var _b5j = null; _b5h.focusIndex -= 5, _b5h.focusIndex < 0 && (_b5h.focusIndex = 0), _b5h.updatePageNumbers(_b5h.focusIndex), _b5h.onChangePage(_b5h.focusIndex); }, _b5h._onClickNext_5 = function() { var _b5k = null; _b5h.focusIndex += 5, _b5h.pageCount <= _b5h.focusIndex && (_b5h.focusIndex = _b5h.pageCount - 1), _b5h.updatePageNumbers(_b5h.focusIndex), _b5h.onChangePage(_b5h.focusIndex); }, _b5h._onClickNext_Last = function() { var _b5l = null; _b5h.focusIndex = _b5h.pageCount - 1, _b5h.updatePageNumbers(_b5h.focusIndex), _b5h.onChangePage(_b5h.focusIndex); }, _b5h._onClickChange_0 = function() { var _b5m = null; _b5h.focusIndex < 2 || _b5h.pageCount <= 5 ? _b5h.focusIndex = 0 : _b5h.pageCount - 3 < _b5h.focusIndex ? _b5h.focusIndex = _b5h.pageCount - 5 : _b5h.focusIndex = _b5h.focusIndex - 2, _b5h.updatePageNumbers(_b5h.focusIndex), _b5h.onChangePage(_b5h.focusIndex); }, _b5h._onClickChange_1 = function() { var _b5n = null; _b5h.focusIndex < 2 || _b5h.pageCount <= 5 ? _b5h.focusIndex = 1 : _b5h.pageCount - 3 < _b5h.focusIndex ? _b5h.focusIndex = _b5h.pageCount - 4 : _b5h.focusIndex = _b5h.focusIndex - 1, _b5h.updatePageNumbers(_b5h.focusIndex), _b5h.onChangePage(_b5h.focusIndex); }, _b5h._onClickChange_2 = function() { var _b5o = null; _b5h.focusIndex < 2 || _b5h.pageCount <= 5 ? _b5h.focusIndex = 2 : _b5h.pageCount - 3 < _b5h.focusIndex ? _b5h.focusIndex = _b5h.pageCount - 3 : _b5h.focusIndex = _b5h.focusIndex, _b5h.updatePageNumbers(_b5h.focusIndex), _b5h.onChangePage(_b5h.focusIndex); }, _b5h._onClickChange_3 = function() { var _b5p = null; _b5h.focusIndex < 2 || _b5h.pageCount <= 5 ? _b5h.focusIndex = 3 : _b5h.pageCount - 3 < _b5h.focusIndex ? _b5h.focusIndex = _b5h.pageCount - 2 : _b5h.focusIndex = _b5h.focusIndex + 1, _b5h.updatePageNumbers(_b5h.focusIndex), _b5h.onChangePage(_b5h.focusIndex); }, _b5h._onClickChange_4 = function() { var _b5q = null; _b5h.focusIndex < 2 || _b5h.pageCount <= 5 ? _b5h.focusIndex = 4 : _b5h.pageCount - 3 < _b5h.focusIndex ? _b5h.focusIndex = _b5h.pageCount - 1 : _b5h.focusIndex = _b5h.focusIndex + 2, _b5h.updatePageNumbers(_b5h.focusIndex), _b5h.onChangePage(_b5h.focusIndex); }, _b5h.buttonPrev_First = new PIXI.Sprite(_b59.COMMON_MAIN.getTexture(7)), _b5h.buttonPrev_5 = new PIXI.Sprite(_b59.COMMON_MAIN.getTexture(9)), _b5h.buttonNext_5 = new PIXI.Sprite(_b59.COMMON_MAIN.getTexture(8)), _b5h.buttonNext_Last = new PIXI.Sprite(_b59.COMMON_MAIN.getTexture(6)), _b5h.textChanges = [], _b5h.buttonChanges = []; for (var _b5r = 0; _b5r < _b5h.PAGER_COUNT; _b5r++) { var _b5s = new _b5a.TextBox(24, _b5h.color_no); _b5s.anchor.set(0, 0), _b5s.interactive = !0, _b5h.textChanges.push(_b5s); var _b5t = new PIXI.Graphics(); _b5t.beginFill(0, 0), _b5t.drawRect(0, 0, 30, 30), _b5t.endFill(), _b5t.x = _b5h.BASE_X + _b5h.PADDING * _b5r - Math.floor(15), _b5t.y = 0, _b5t.interactive = !0, _b5h.buttonChanges.push(_b5t); } return _b5h.buttonPrev_First.on(_b5b.EventType.CLICK, _b5h._onClickPrev_First), _b5h.buttonPrev_5.on(_b5b.EventType.CLICK, _b5h._onClickPrev_5), _b5h.buttonNext_5.on(_b5b.EventType.CLICK, _b5h._onClickNext_5), _b5h.buttonNext_Last.on(_b5b.EventType.CLICK, _b5h._onClickNext_Last), _b5h.buttonChanges[0].on(_b5b.EventType.CLICK, _b5h._onClickChange_0), _b5h.buttonChanges[1].on(_b5b.EventType.CLICK, _b5h._onClickChange_1), _b5h.buttonChanges[2].on(_b5b.EventType.CLICK, _b5h._onClickChange_2), _b5h.buttonChanges[3].on(_b5b.EventType.CLICK, _b5h._onClickChange_3), _b5h.buttonChanges[4].on(_b5b.EventType.CLICK, _b5h._onClickChange_4), _b5h.buttonPrev_First.position.set(20, -1), _b5h.buttonPrev_5.position.set(74, -1), _b5h.buttonNext_5.position.set(393, -1), _b5h.buttonNext_Last.position.set(446, -1), _b5h.buttonPrev_First.interactive = _b5h.buttonPrev_5.interactive = _b5h.buttonNext_5.interactive = _b5h.buttonNext_Last.interactive = !0, _b5h.addChild(_b5h.buttonPrev_First, _b5h.buttonPrev_5), _b5h.textChanges.forEach(function(_b5u) { var _b5v = null; _b5h.addChild(_b5u); }), _b5h.buttonChanges.forEach(function(_b5w) { var _b5x = null; _b5h.addChild(_b5w); }), _b5h.addChild(_b5h.buttonNext_5, _b5h.buttonNext_Last), _b5h; } return _b46(_b5f, _b5d), _b5f.prototype.dispose = function() { var _b5y = null; this.removeChildren(), this.buttonChanges.forEach(function(_b5z) { var _b60 = null; _b5z.off(_b5b.EventType.CLICK); }), this.buttonPrev_First.off(_b5b.EventType.CLICK), this.buttonPrev_5.off(_b5b.EventType.CLICK), this.buttonNext_5.off(_b5b.EventType.CLICK), this.buttonNext_Last.off(_b5b.EventType.CLICK), this.textChanges.forEach(function(_b61) { var _b62 = null; _b61.destroy(); }), this.buttonPrev_First = null, this.buttonPrev_5 = null, this.textChanges = null, this.buttonChanges = null, this.buttonNext_5 = null, this.buttonNext_Last = null, this.onChangePage = null; }, _b5f.prototype.init = function(_b63) { var _b64 = null, _b65 = this; this.pageCount = _b63, this.focusIndex = 0, this.buttonChanges.forEach(function(_b66) { var _b67 = null; _b66.interactive = !1; }), this.textChanges.forEach(function(_b68) { var _b69 = null; _b68.style.fill = _b65.color_no; }); for (var _b6a = 0; _b6a < this.PAGER_COUNT; _b6a++) _b6a < this.pageCount && (this.buttonChanges[_b6a].interactive = !0, this.textChanges[_b6a].style.fill = this.color_off); this.updatePageNumbers(this.focusIndex); }, _b5f.prototype.changePage = function(_b6b) { var _b6c = null; this.focusIndex = _b6b, this.updatePageNumbers(this.focusIndex); }, _b5f.prototype.updatePageNumbers = function(_b6d) { var _b6e = null, _b6f = 0; if (_b6d < 2 || this.pageCount <= 5) { _b6f = _b6d; for (var _b6g = 0; _b6g < this.PAGER_COUNT; _b6g++) this.textChanges[_b6g].text = (_b6g + 1).toString(); } else { if (this.pageCount - 3 < _b6d) { _b6f = 5 - (this.pageCount - _b6d); for (_b6g = 0; _b6g < this.PAGER_COUNT; _b6g++) this.textChanges[_b6g].text = (this.pageCount - (this.PAGER_COUNT - 1 - _b6g)).toString(); } else { for (_b6g = 0; _b6g < this.PAGER_COUNT; _b6g++) this.textChanges[_b6g].text = (_b6d + 1 + (-2 + _b6g)).toString(); _b6f = 2; } } for (_b6g = 0; _b6g < this.PAGER_COUNT; _b6g++) _b6g < this.pageCount ? this.textChanges[_b6g].style.fill = this.color_off : this.textChanges[this.PAGER_COUNT - 1].style.fill = this.color_no, this.textChanges[_b6g].style.fontSize = 24, _b6f == _b6g && (this.textChanges[_b6g].style.fill = this.color_on, this.textChanges[_b6g].style.fontSize = 30), this.textChanges[_b6g].position.set(this.BASE_X - Math.floor(this.textChanges[_b6g].width / 2) + this.PADDING * _b6g, this.BASE_Y - Math.floor(this.textChanges[_b6g].height / 2)); }, _b5f; }(PIXI.Container); _b42.PagerView = _b5c; }, 39759: function(_b6h, _b6i, _b6j) { 'use strict'; var _b6k = null; var _b6l, _b6m = this && this.__extends || (_b6l = function(_b6n, _b6o) { var _b6p = null; return _b6l = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_b6q, _b6r) { var _b6s = null; _b6q.__proto__ = _b6r; } || function(_b6t, _b6u) { var _b6v = null; for (var _b6w in _b6u) Object.prototype.hasOwnProperty.call(_b6u, _b6w) && (_b6t[_b6w] = _b6u[_b6w]); }, _b6l(_b6n, _b6o); }, function(_b6x, _b6y) { var _b6z = null; if ('function' != typeof _b6y && null !== _b6y) throw new TypeError('Class extends value ' + String(_b6y) + ' is not a constructor or null'); function _b70() { var _b71 = null; this.constructor = _b6x; } _b6l(_b6x, _b6y), _b6x.prototype = null === _b6y ? Object.create(_b6y) : (_b70.prototype = _b6y.prototype, new _b70()); }); defineModule(_b6i); Object.defineProperty(_b6i, '__esModule', { 'value': !0 }), _b6i.PlusNumberImage = void 0; var _b72 = _b6j(90054), _b73 = function(_b74) { var _b75 = null; function _b76() { var _b77 = null; return null !== _b74 && _b74.apply(this, arguments) || this; } return _b6m(_b76, _b74), _b76.prototype.update = function(_b78) { var _b79 = null; switch (_b78) { case 1: this.texture = _b72.COMMON_MAIN.getTexture(54); break; case 2: this.texture = _b72.COMMON_MAIN.getTexture(55); break; default: this.texture = PIXI.Texture.EMPTY; } }, _b76.prototype.dispose = function() {}, _b76; }(PIXI.Sprite); _b6i.PlusNumberImage = _b73; }, 52045: function(_b7a, _b7b, _b7c) { 'use strict'; var _b7d = null; var _b7e, _b7f = this && this.__extends || (_b7e = function(_b7g, _b7h) { var _b7i = null; return _b7e = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_b7j, _b7k) { var _b7l = null; _b7j.__proto__ = _b7k; } || function(_b7m, _b7n) { var _b7o = null; for (var _b7p in _b7n) Object.prototype.hasOwnProperty.call(_b7n, _b7p) && (_b7m[_b7p] = _b7n[_b7p]); }, _b7e(_b7g, _b7h); }, function(_b7q, _b7r) { var _b7s = null; if ('function' != typeof _b7r && null !== _b7r) throw new TypeError('Class extends value ' + String(_b7r) + ' is not a constructor or null'); function _b7t() { var _b7u = null; this.constructor = _b7q; } _b7e(_b7q, _b7r), _b7q.prototype = null === _b7r ? Object.create(_b7r) : (_b7t.prototype = _b7r.prototype, new _b7t()); }); defineModule(_b7b); Object.defineProperty(_b7b, '__esModule', { 'value': !0 }), _b7b.Pukapuka = void 0; var _b7v = _b7c(88293), _b7w = _b7c(45054), _b7x = function(_b7y) { var _b7z = null; function _b80() { var _b81 = null, _b82 = _b7y.call(this) || this; return _b82._wave1 = new _b83(0, 1300), _b82.addChild(_b82._wave1), _b82._wave2 = new _b83(650, 650), _b82.addChild(_b82._wave2), _b82._wave3 = new _b83(1300, 0), _b82.addChild(_b82._wave3), _b82._ship = new PIXI.Sprite(), _b82._ship.y = -10, _b82._ship.anchor.y = 1, _b82.addChild(_b82._ship), _b82; } return _b7f(_b80, _b7y), _b80.prototype.initialize = function() { var _b84 = null; this._wave1.initialize(), this._wave2.initialize(), this._wave3.initialize(), this._ship.texture = _b7v.TITLE_MAIN.getTexture(1), this._ship.x = -Math.round(this._ship.width / 2); }, _b80.prototype.activate = function() { var _b85 = null; null == this._t && (this._wave1.activate(), this._wave2.activate(), this._wave3.activate(), this._t = createjs.Tween.get(this._ship, { 'loop': !0 }).to({ 'y': -18 }, 800, createjs.Ease.circOut).to({ 'y': -10 }, 800, createjs.Ease.circIn)); }, _b80.prototype.deactivate = function() { var _b86 = null; null != this._t && (this._wave1.deactivate(), this._wave2.deactivate(), this._wave3.deactivate(), this._t.setPaused(!0), this._t = null, this._ship.y = -10); }, _b80.prototype.dispose = function() { var _b87 = null; this._wave1.dispose(), this._wave2.dispose(), this._wave3.dispose(), this.deactivate(); }, _b80; }(PIXI.Container); _b7b.Pukapuka = _b7x; var _b83 = function(_b88) { var _b89 = null; function _b8a(_b8b, _b8c) { var _b8d = null, _b8e = _b88.call(this) || this; return _b8e._waittime1 = _b8b, _b8e._waittime2 = _b8c, _b8e._img = new PIXI.Sprite(), _b8e.addChild(_b8e._img), _b8e; } return _b7f(_b8a, _b88), _b8a.prototype.initialize = function() { var _b8f = null; this._init(), this._img.texture = _b7v.TITLE_MAIN.getTexture(0), this._img.x = -Math.round(this._img.width / 2), this._img.y = -Math.round(this._img.height / 2); }, _b8a.prototype.activate = function() { var _b8g = null, _b8h = this; null == this._t && (this._t = createjs.Tween.get(this, { 'loop': !0 }).wait(this._waittime1).to({ 'scaleX': 1, 'scaleY': 1, 'alpha': 1 }, 500).to({ 'scaleX': 1.5, 'scaleY': 1.5 }, 1000).to({ 'scaleX': 1.7, 'scaleY': 1.7, 'alpha': 0 }, 500).call(function() { var _b8i = null; _b8h._init(); }).wait(this._waittime2)); }, _b8a.prototype.deactivate = function() { var _b8j = null; null != this._t && (this._t.setPaused(!0), this._t = null, this._init()); }, _b8a.prototype.dispose = function() { var _b8k = null; this.deactivate(); }, _b8a.prototype._init = function() { var _b8l = null; this.alpha = 0, this.scale.set(0.5); }, _b8a; }(_b7w.Container); }, 52224: function(_b8m, _b8n, _b8o) { 'use strict'; var _b8p = null; var _b8q, _b8r = this && this.__extends || (_b8q = function(_b8s, _b8t) { var _b8u = null; return _b8q = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_b8v, _b8w) { var _b8x = null; _b8v.__proto__ = _b8w; } || function(_b8y, _b8z) { var _b90 = null; for (var _b91 in _b8z) Object.prototype.hasOwnProperty.call(_b8z, _b91) && (_b8y[_b91] = _b8z[_b91]); }, _b8q(_b8s, _b8t); }, function(_b92, _b93) { var _b94 = null; if ('function' != typeof _b93 && null !== _b93) throw new TypeError('Class extends value ' + String(_b93) + ' is not a constructor or null'); function _b95() { var _b96 = null; this.constructor = _b92; } _b8q(_b92, _b93), _b92.prototype = null === _b93 ? Object.create(_b93) : (_b95.prototype = _b93.prototype, new _b95()); }); defineModule(_b8n); Object.defineProperty(_b8n, '__esModule', { 'value': !0 }), _b8n.PukapukaLayer = void 0; var _b97 = _b8o(79899), _b98 = _b8o(52045), _b99 = function(_b9a) { var _b9b = null; function _b9c() { var _b9d = null, _b9e = _b9a.call(this, 1, 0) || this; return _b9e._pukapuka = new _b98.Pukapuka(), _b9e._pukapuka.position.set(600, 360), _b9e.addChild(_b9e._pukapuka), _b9e; } return _b8r(_b9c, _b9a), _b9c.prototype.initialize = function() { var _b9f = null; this._pukapuka.initialize(); }, _b9c.prototype.activate = function() { var _b9g = null; this._pukapuka.activate(); }, _b9c.prototype.deactivate = function() { var _b9h = null; this._pukapuka.deactivate(); }, _b9c.prototype.dispose = function() { var _b9i = null; this._pukapuka.dispose(); }, _b9c; }(_b97.AreaBox); _b8n.PukapukaLayer = _b99; }, 62106: function(_b9j, _b9k, _b9l) { 'use strict'; var _b9m = null; var _b9n, _b9o = this && this.__extends || (_b9n = function(_b9p, _b9q) { var _b9r = null; return _b9n = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_b9s, _b9t) { var _b9u = null; _b9s.__proto__ = _b9t; } || function(_b9v, _b9w) { var _b9x = null; for (var _b9y in _b9w) Object.prototype.hasOwnProperty.call(_b9w, _b9y) && (_b9v[_b9y] = _b9w[_b9y]); }, _b9n(_b9p, _b9q); }, function(_b9z, _ba0) { var _ba1 = null; if ('function' != typeof _ba0 && null !== _ba0) throw new TypeError('Class extends value ' + String(_ba0) + ' is not a constructor or null'); function _ba2() { var _ba3 = null; this.constructor = _b9z; } _b9n(_b9z, _ba0), _b9z.prototype = null === _ba0 ? Object.create(_ba0) : (_ba2.prototype = _ba0.prototype, new _ba2()); }); defineModule(_b9k); Object.defineProperty(_b9k, '__esModule', { 'value': !0 }), _b9k.RankIcon = void 0; var _ba4 = _b9l(11997), _ba5 = function(_ba6) { var _ba7 = null; function _ba8() { var _ba9 = null; return _ba6.call(this) || this; } return _b9o(_ba8, _ba6), _ba8.prototype.update = function(_baa) { var _bab = null, _bac = -1; 1 == _baa ? _bac = 51 : 2 == _baa ? _bac = 50 : 3 == _baa ? _bac = 49 : 4 == _baa ? _bac = 48 : 5 == _baa ? _bac = 47 : 6 == _baa ? _bac = 46 : 7 == _baa ? _bac = 45 : 8 == _baa ? _bac = 44 : 9 == _baa ? _bac = 43 : 10 == _baa && (_bac = 42), this.visible = !1, -1 != _bac && (this.texture = _ba4.COMMON_MISC.getTexture(_bac), this.visible = !0); }, _ba8; }(PIXI.Sprite); _b9k.RankIcon = _ba5; }, 43472: function(_bad, _bae, _baf) { 'use strict'; var _bag = null; var _bah, _bai = this && this.__extends || (_bah = function(_baj, _bak) { var _bal = null; return _bah = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_bam, _ban) { var _bao = null; _bam.__proto__ = _ban; } || function(_bap, _baq) { var _bar = null; for (var _bas in _baq) Object.prototype.hasOwnProperty.call(_baq, _bas) && (_bap[_bas] = _baq[_bas]); }, _bah(_baj, _bak); }, function(_bat, _bau) { var _bav = null; if ('function' != typeof _bau && null !== _bau) throw new TypeError('Class extends value ' + String(_bau) + ' is not a constructor or null'); function _baw() { var _bax = null; this.constructor = _bat; } _bah(_bat, _bau), _bat.prototype = null === _bau ? Object.create(_bau) : (_baw.prototype = _bau.prototype, new _baw()); }), _bay = this && this.__importDefault || function(_baz) { var _bb0 = null; return _baz && _baz.__esModule ? _baz : { 'default': _baz }; }; defineModule(_bae); Object.defineProperty(_bae, '__esModule', { 'value': !0 }), _bae.RarityBG = void 0; var _bb1 = _bay(_baf(18622)), _bb2 = function(_bb3) { var _bb4 = null; function _bb5() { var _bb6 = null; return _bb3.call(this) || this; } return _bai(_bb5, _bb3), _bb5.prototype.initiailzeForShip = function(_bb7, _bb8) { var _bb9 = null, _bba = this._getFilenameForShip(_bb7); this._load(_bba, _bb8); }, _bb5.prototype.initiailzeForSlotitem = function(_bbb, _bbc) { var _bbd = null, _bbe = this._getFilenameForSlotitem(_bbb); this._load(_bbe, _bbc); }, _bb5.prototype.initiailzeForUseitem = function(_bbf) { var _bbg = null; this._load('c1', _bbf); }, _bb5.prototype.initiailzeForFurniture = function(_bbh) { var _bbi = null; this._load('c1', _bbh); }, _bb5.prototype.dispose = function() { var _bbj = null; this._loader = null; }, _bb5.prototype.clone = function() { var _bbk = null, _bbl = new _bb5(); return _bbl.texture = this.texture, _bbl; }, _bb5.prototype._getFilenameForShip = function(_bbm) { var _bbn = null; return _bbm <= 1 ? 'c1' : 2 == _bbm ? 'c2' : 3 == _bbm ? 'c3' : 4 == _bbm ? 'r1' : 5 == _bbm ? 'r2' : 6 == _bbm ? 'sr1' : 7 == _bbm ? 'sr2' : _bbm >= 8 ? 'sr3' : ''; }, _bb5.prototype._getFilenameForSlotitem = function(_bbo) { var _bbp = null; return _bbo <= 0 ? 'item_c1' : 1 == _bbo ? 'item_r1' : 2 == _bbo || 3 == _bbo || 4 == _bbo ? 'sr1' : _bbo >= 5 ? 'sr2' : ''; }, _bb5.prototype._load = function(_bbq, _bbr) { var _bbs = null, _bbt = this, _bbu = _bb1.default.settings.path_root + 'img/common/ship_bg/screen/'['concat'](_bbq, '.png'); null == PIXI.utils.TextureCache[_bbu] || (this.texture = PIXI.utils.TextureCache[_bbu], null == _bbr) ? (this._loader = new PIXI.loaders.Loader(), this._loader.add(_bbu), this._loader.load(function(_bbv) { var _bbw = null; if (_bbt._loader == _bbv) { _bbt._loader = null; var _bbx = _bbv.resources[_bbu]; _bbt.texture = _bbx.texture, null != _bbr && _bbr(); } })) : _bbr(); }, _bb5; }(PIXI.Sprite); _bae.RarityBG = _bb2; }, 32717: function(_bby, _bbz, _bc0) { 'use strict'; var _bc1 = null; var _bc2, _bc3 = this && this.__extends || (_bc2 = function(_bc4, _bc5) { var _bc6 = null; return _bc2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_bc7, _bc8) { var _bc9 = null; _bc7.__proto__ = _bc8; } || function(_bca, _bcb) { var _bcc = null; for (var _bcd in _bcb) Object.prototype.hasOwnProperty.call(_bcb, _bcd) && (_bca[_bcd] = _bcb[_bcd]); }, _bc2(_bc4, _bc5); }, function(_bce, _bcf) { var _bcg = null; if ('function' != typeof _bcf && null !== _bcf) throw new TypeError('Class extends value ' + String(_bcf) + ' is not a constructor or null'); function _bch() { var _bci = null; this.constructor = _bce; } _bc2(_bce, _bcf), _bce.prototype = null === _bcf ? Object.create(_bcf) : (_bch.prototype = _bcf.prototype, new _bch()); }); defineModule(_bbz); Object.defineProperty(_bbz, '__esModule', { 'value': !0 }), _bbz.RingSmall = _bbz.RingMiddle = _bbz.RingLarge = void 0; var _bcj = _bc0(11997), _bck = function(_bcl) { var _bcm = null; function _bcn() { var _bco = null, _bcp = _bcl.call(this) || this; return _bcp.TO_RADIAN = Math.PI / 180, _bcp.ANGLE = 45 * _bcp.TO_RADIAN, _bcp.ANGLE_SIN = Math.sin(_bcp.ANGLE), _bcp.ANGLE_COS = Math.cos(_bcp.ANGLE), _bcp.run = function() { var _bcq = null; _bcp._degree += 2, _bcp._degree = (_bcp._degree % 360 + 360) % 360; var _bcr = _bcp._degree * _bcp.TO_RADIAN; _bcp._pos.x = Math.cos(_bcr) * _bcp._radius.x, _bcp._pos.y = Math.sin(_bcr) * _bcp._radius.y, _bcp._ang.x = _bcp._pos.x * _bcp.ANGLE_COS - _bcp._pos.y * _bcp.ANGLE_SIN, _bcp._ang.y = _bcp._pos.x * _bcp.ANGLE_SIN + _bcp._pos.y * _bcp.ANGLE_COS, _bcp._light.position.x = _bcp._center.x + _bcp._ang.x, _bcp._light.position.y = _bcp._center.y + _bcp._ang.y; }, _bcp._ring = new PIXI.Sprite(), _bcp._light = new PIXI.Sprite(), _bcp._light.anchor.set(0.5), _bcp.addChild(_bcp._light), _bcp.addChild(_bcp._ring), _bcp._degree = 0, _bcp._center = new PIXI.Point(0, 0), _bcp._radius = new PIXI.Point(0, 0), _bcp._pos = new PIXI.Point(0, 0), _bcp._ang = new PIXI.Point(0, 0), _bcp; } return _bc3(_bcn, _bcl), _bcn.prototype.activate = function() { var _bcs = null; null == this._t && (this._ring.alpha = 1, this._light.alpha = 1, this._degree = 0, this._t = createjs.Tween.get(this._ring, { 'loop': !0 }), this._t.to({ 'alpha': 0.2 }, 1667).to({ 'alpha': 1 }, 1667).addEventListener('change', this.run)); }, _bcn.prototype.deactivate = function() { var _bct = null; null != this._t && (this._t.removeAllEventListeners('change'), this._t.setPaused(!0), createjs.Tween.removeTweens(this._ring), this._t = null); }, _bcn.prototype.dispose = function() { var _bcu = null; this.removeChildren(), this.deactivate(), this._ring = null, this._light = null, this._center = null, this._radius = null, this._pos = null, this._ang = null, this._degree = null; }, _bcn; }(PIXI.Container), _bcv = function(_bcw) { var _bcx = null; function _bcy() { var _bcz = null; return null !== _bcw && _bcw.apply(this, arguments) || this; } return _bc3(_bcy, _bcw), _bcy.prototype.initialize = function() { var _bd0 = null; this._center.set(27, 30), this._radius.set(20, 38), this._ring.texture = _bcj.COMMON_MISC.getTexture(165), this._light.texture = _bcj.COMMON_MISC.getTexture(166); }, _bcy; }(_bck); _bbz.RingLarge = _bcv; var _bd1 = function(_bd2) { var _bd3 = null; function _bd4() { var _bd5 = null; return null !== _bd2 && _bd2.apply(this, arguments) || this; } return _bc3(_bd4, _bd2), _bd4.prototype.initialize = function() { var _bd6 = null; this._center.set(23, 24), this._radius.set(18, 35), this._ring.texture = _bcj.COMMON_MISC.getTexture(169), this._light.texture = _bcj.COMMON_MISC.getTexture(170); }, _bd4; }(_bck); _bbz.RingMiddle = _bd1; var _bd7 = function(_bd8) { var _bd9 = null; function _bda() { var _bdb = null; return null !== _bd8 && _bd8.apply(this, arguments) || this; } return _bc3(_bda, _bd8), _bda.prototype.initialize = function() { var _bdc = null; this._center.set(15, 15), this._radius.set(8, 22), this._ring.texture = _bcj.COMMON_MISC.getTexture(167), this._light.texture = _bcj.COMMON_MISC.getTexture(168); }, _bda; }(_bck); _bbz.RingSmall = _bd7; }, 79576: function(_bdd, _bde, _bdf) { 'use strict'; var _bdg = null; var _bdh, _bdi = this && this.__extends || (_bdh = function(_bdj, _bdk) { var _bdl = null; return _bdh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_bdm, _bdn) { var _bdo = null; _bdm.__proto__ = _bdn; } || function(_bdp, _bdq) { var _bdr = null; for (var _bds in _bdq) Object.prototype.hasOwnProperty.call(_bdq, _bds) && (_bdp[_bds] = _bdq[_bds]); }, _bdh(_bdj, _bdk); }, function(_bdt, _bdu) { var _bdv = null; if ('function' != typeof _bdu && null !== _bdu) throw new TypeError('Class extends value ' + String(_bdu) + ' is not a constructor or null'); function _bdw() { var _bdx = null; this.constructor = _bdt; } _bdh(_bdt, _bdu), _bdt.prototype = null === _bdu ? Object.create(_bdu) : (_bdw.prototype = _bdu.prototype, new _bdw()); }), _bdy = this && this.__importDefault || function(_bdz) { var _be0 = null; return _bdz && _bdz.__esModule ? _bdz : { 'default': _bdz }; }; defineModule(_bde); Object.defineProperty(_bde, '__esModule', { 'value': !0 }), _bde.RootView = void 0; var _be1 = _bdy(_bdf(18622)), _be2 = _bdf(79899), _be3 = _bdf(87475), _be4 = _bdf(90895), _be5 = _bdf(18867), _be6 = _bdf(82543), _be7 = _bdf(14921), _be8 = _bdf(29627), _be9 = function(_bea) { var _beb = null; function _bec() { var _bed = null; return _bea.call(this) || this; } return _bdi(_bec, _bea), Object.defineProperty(_bec.prototype, 'bg', { 'get': function() { var _bee = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_bec.prototype, 'portMain', { 'get': function() { var _bef = null; return this._portMain; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_bec.prototype, 'mapLayer', { 'get': function() { var _beg = null; return this._mapLayer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_bec.prototype, 'overLayer', { 'get': function() { var _beh = null; return this._overLayer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_bec.prototype, 'fadeLayer', { 'get': function() { var _bei = null; return this._fadeLayer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_bec.prototype, 'loading', { 'get': function() { var _bej = null; return this._loading; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_bec.prototype, 'clickGuard', { 'get': function() { var _bek = null; return this._clickGuard.visible; }, 'set': function(_bel) { var _bem = null; this._clickGuard.visible = _bel; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_bec.prototype, 'wheelGuard', { 'get': function() { var _ben = null; return this._wheelGuard.visible; }, 'set': function(_beo) { var _bep = null; this._wheelGuard.visible = _beo; }, 'enumerable': !1, 'configurable': !0 }), _bec.prototype.initialize = function(_beq) { var _ber = null; this._bg = new _be5.Background(), this._portMain = _beq, this._mapLayer = new _be6.ContainerScene(), this._mapLayer.visible = !1, this._overLayer = new PIXI.Container(), this._fadeLayer = new _be3.FadeBox(1), this._fadeLayer.hide(), this._fadeLayer.visible = !1, this._clickGuard = new _be2.AreaBox(0), this._clickGuard.visible = !1, this._wheelGuard = new _be2.AreaBox(0), this._wheelGuard.visible = !1, this._loading = new _be4.LoadingBox(), this._loading.hide(), this.addChild(this._bg), this.addChild(this._portMain), this.addChild(this._mapLayer), this.addChild(this._overLayer), this.addChild(this._fadeLayer), this.addChild(this._clickGuard), this.addChild(this._wheelGuard), this.addChild(this._loading); }, _bec.prototype.getNowScene = function() { var _bes = null, _bet, _beu = this._mapLayer.getContent(); return null != _beu || null != (_beu = null === (_bet = this._portMain) || void 0 === _bet ? void 0 : _bet.getContent()) ? _beu : this._portMain; }, _bec.prototype.showError = function(_bev) { var _bew = null; void 0 === _bev && (_bev = null), this._bg.visible = !1, null != this._portMain && (this._portMain.visible = !1), this._mapLayer.visible = !1, this._overLayer.removeChildren(), this._overLayer.visible = !0, createjs.Tween.removeAllTweens(), _be7.EditTextBoxUtil.setVisibility(!1); var _bex = _be1.default.resources.getUIImage('error'); if (_bex == PIXI.Texture.EMPTY) { var _bey = new _be2.AreaBox(1); this.addChild(_bey); var _bez = PIXI.Sprite.fromImage(_be1.default.settings.path_root + 'img/common/error.png'); this.addChild(_bez); } else _bez = new PIXI.Sprite(_bex), this.addChild(_bez); }, _bec.prototype.disposePort = function() { var _bf0 = null; this.removeChild(this._portMain), this._portMain.dispose(), this._portMain = null; }, _bec.prototype.recreatePort = function() { var _bf1 = null; this._portMain = new _be8.PortScene(), this.addChildAt(this._portMain, 1); }, _bec; }(PIXI.Container); _bde.RootView = _be9; }, 65890: function(_bf2, _bf3, _bf4) { 'use strict'; var _bf5 = null; var _bf6, _bf7 = this && this.__extends || (_bf6 = function(_bf8, _bf9) { var _bfa = null; return _bf6 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_bfb, _bfc) { var _bfd = null; _bfb.__proto__ = _bfc; } || function(_bfe, _bff) { var _bfg = null; for (var _bfh in _bff) Object.prototype.hasOwnProperty.call(_bff, _bfh) && (_bfe[_bfh] = _bff[_bfh]); }, _bf6(_bf8, _bf9); }, function(_bfi, _bfj) { var _bfk = null; if ('function' != typeof _bfj && null !== _bfj) throw new TypeError('Class extends value ' + String(_bfj) + ' is not a constructor or null'); function _bfl() { var _bfm = null; this.constructor = _bfi; } _bf6(_bfi, _bfj), _bfi.prototype = null === _bfj ? Object.create(_bfj) : (_bfl.prototype = _bfj.prototype, new _bfl()); }), _bfn = this && this.__importDefault || function(_bfo) { var _bfp = null; return _bfo && _bfo.__esModule ? _bfo : { 'default': _bfo }; }; defineModule(_bf3); Object.defineProperty(_bf3, '__esModule', { 'value': !0 }), _bf3.Sakura = void 0; var _bfq = _bfn(_bf4(21359)), _bfr = _bf4(11997), _bfs = function(_bft) { var _bfu = null; function _bfv() { var _bfw = null, _bfx = _bft.call(this) || this; return _bfx._PETAL_NUM = 20, _bfx._NowPlaying = !1, _bfx._petals = new Array(), _bfx; } return _bf7(_bfv, _bft), _bfv.prototype.startAnimation = function(_bfy, _bfz) { var _bg0 = null; if (void 0 === _bfy && (_bfy = null), void 0 === _bfz && (_bfz = this._PETAL_NUM), !this._NowPlaying) { this._NowPlaying = !0; for (var _bg1 = 0; _bg1 < _bfz; _bg1++) this._petals[_bg1] = new _bg2(_bfy), this.addChild(this._petals[_bg1]); } }, _bfv.prototype.stopAnimation = function(_bg3) { var _bg4 = null; if (void 0 === _bg3 && (_bg3 = this._PETAL_NUM), this._NowPlaying) { for (var _bg5 = 0; _bg5 < _bg3; _bg5++) this._petals[_bg5] instanceof _bg2 && (this._petals[_bg5].switchFlag(!1), this.removeChild(this._petals[_bg5])); this._NowPlaying = !1; } }, _bfv.prototype.dispose = function() { var _bg6 = null, _bg7; this.removeChildren(), null == this || this.stopAnimation(), null === (_bg7 = this._petals) || void 0 === _bg7 || _bg7.forEach(function(_bg8) { var _bg9 = null; null == _bg8 || _bg8.dispose(), _bg8 = null; }), this._petals = null; }, _bfv; }(PIXI.Container); _bf3.Sakura = _bfs; var _bg2 = function(_bga) { var _bgb = null; function _bgc(_bgd) { var _bge = null; void 0 === _bgd && (_bgd = null); var _bgf = _bga.call(this) || this; return _bgf._swt = !0, _bgf._area = null == _bgd ? new PIXI.Rectangle(0, 0, _bfq.default.width, _bfq.default.height) : _bgd, _bgf.anchor.set(0.5, 0.5), _bgf._createTween(), _bgf; } return _bf7(_bgc, _bga), _bgc.prototype._createTween = function() { var _bgg = null, _bgh = this; if (this._swt) { for (var _bgi = this._area.x, _bgj = this._area.y; _bgi <= this._area.x + this._area.width && _bgj <= this._area.y + this._area.height;) _bgi = this._area.x + 0.8 * this._area.width + this._randomInt(600), _bgj = this._area.y + 0.2 * this._area.height - this._randomInt(600); var _bgk = 5 + this._randomInt(5), _bgl = -5 - this._randomInt(_bgk * this._area.width / this._area.height - 5), _bgm = _bgi, _bgn = _bgj, _bgo = this._randomInt(960) - _bfq.default.height; _bgo = _bgo * Math.PI / 180; for (var _bgp = 0; _bgm > -60 && _bgn < 780;) _bgm += _bgl, _bgn += _bgk, _bgp++; this.x = _bgi, this.y = _bgj; var _bgq = [156, 157, 158, 159, 160][this._randomInt(5)]; this.texture = _bfr.COMMON_MISC.getTexture(_bgq), this._t = createjs.Tween.get(this).to({ 'x': _bgm, 'y': _bgn, 'rotation': _bgo }, _bgp / 30 * 1000).call(function() { var _bgr = null; _bgh._createTween(); }); } }, _bgc.prototype.switchFlag = function(_bgs) { var _bgt = null; this._swt = _bgs; }, _bgc.prototype.dispose = function() { var _bgu = null; this._t.setPaused(!0), this._t = null, this._area = null, this.destroy(); }, _bgc.prototype._randomInt = function(_bgv) { var _bgw = null; return Math.floor(Math.random() * _bgv); }, _bgc; }(PIXI.Sprite); }, 43341: function(_bgx, _bgy, _bgz) { 'use strict'; var _bh0 = null; var _bh1, _bh2 = this && this.__extends || (_bh1 = function(_bh3, _bh4) { var _bh5 = null; return _bh1 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_bh6, _bh7) { var _bh8 = null; _bh6.__proto__ = _bh7; } || function(_bh9, _bha) { var _bhb = null; for (var _bhc in _bha) Object.prototype.hasOwnProperty.call(_bha, _bhc) && (_bh9[_bhc] = _bha[_bhc]); }, _bh1(_bh3, _bh4); }, function(_bhd, _bhe) { var _bhf = null; if ('function' != typeof _bhe && null !== _bhe) throw new TypeError('Class extends value ' + String(_bhe) + ' is not a constructor or null'); function _bhg() { var _bhh = null; this.constructor = _bhd; } _bh1(_bhd, _bhe), _bhd.prototype = null === _bhe ? Object.create(_bhe) : (_bhg.prototype = _bhe.prototype, new _bhg()); }); defineModule(_bgy); Object.defineProperty(_bgy, '__esModule', { 'value': !0 }), _bgy.ShateiImage = void 0; var _bhi = _bgz(90054), _bhj = function(_bhk) { var _bhl = null; function _bhm() { var _bhn = null; return null !== _bhk && _bhk.apply(this, arguments) || this; } return _bh2(_bhm, _bhk), _bhm.prototype.update = function(_bho) { var _bhp = null; switch (_bho) { case 0: this.texture = _bhi.COMMON_MAIN.getTexture(61); break; case 1: this.texture = _bhi.COMMON_MAIN.getTexture(64); break; case 2: this.texture = _bhi.COMMON_MAIN.getTexture(60); break; case 3: this.texture = _bhi.COMMON_MAIN.getTexture(58); break; case 4: this.texture = _bhi.COMMON_MAIN.getTexture(65); break; default: this.texture = PIXI.Texture.EMPTY; } }, _bhm.prototype.dispose = function() {}, _bhm; }(PIXI.Sprite); _bgy.ShateiImage = _bhj; }, 37638: function(_bhq, _bhr, _bhs) { 'use strict'; var _bht = null; var _bhu, _bhv = this && this.__extends || (_bhu = function(_bhw, _bhx) { var _bhy = null; return _bhu = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_bhz, _bi0) { var _bi1 = null; _bhz.__proto__ = _bi0; } || function(_bi2, _bi3) { var _bi4 = null; for (var _bi5 in _bi3) Object.prototype.hasOwnProperty.call(_bi3, _bi5) && (_bi2[_bi5] = _bi3[_bi5]); }, _bhu(_bhw, _bhx); }, function(_bi6, _bi7) { var _bi8 = null; if ('function' != typeof _bi7 && null !== _bi7) throw new TypeError('Class extends value ' + String(_bi7) + ' is not a constructor or null'); function _bi9() { var _bia = null; this.constructor = _bi6; } _bhu(_bi6, _bi7), _bi6.prototype = null === _bi7 ? Object.create(_bi7) : (_bi9.prototype = _bi7.prototype, new _bi9()); }), _bib = this && this.__importDefault || function(_bic) { var _bid = null; return _bic && _bic.__esModule ? _bic : { 'default': _bic }; }; defineModule(_bhr); Object.defineProperty(_bhr, '__esModule', { 'value': !0 }), _bhr.ShipBanner = void 0; var _bie = _bib(_bhs(18622)), _bif = _bhs(80937), _big = _bhs(11053), _bih = _bhs(4487), _bii = _bhs(32961), _bij = _bhs(77076), _bik = _bhs(54934), _bil = _bhs(73747), _bim = _bhs(11575), _bin = _bhs(32717), _bio = _bhs(48205), _bip = _bhs(11997), _biq = function(_bir) { var _bis = null; function _bit() { var _biu = null, _biv = _bir.call(this) || this; return _biv._image = new PIXI.Sprite(), _biv.addChild(_biv._image), _biv._state = new _bif.BannerIcon(), _biv.addChild(_biv._state), _biv._burned = new _bij.BannerSoot(), _biv.addChild(_biv._burned), _biv._smoke = new _bii.BannerSmoke(), _biv.addChild(_biv._smoke), _biv._tired = new _bik.BannerTired(), _biv.addChild(_biv._tired), _biv._ribbon = new _bim.BannerRibbon(), _biv.addChild(_biv._ribbon), _biv._plate = new _bih.BannerPlate(), _biv._plate.position.set(47, -4), _biv.addChild(_biv._plate), _biv._kira = new _big.BannerKirakira(), _biv.addChild(_biv._kira), _biv._ring = new _bin.RingSmall(), _biv.addChild(_biv._ring), _biv._lockSlot = new _bil.BannerLockSlot(), _biv._lockSlot.visible = !1, _biv.addChild(_biv._lockSlot), _biv.hitArea = new PIXI.Rectangle(0, 0, 240, 60), _biv; } return _bhv(_bit, _bir), _bit.prototype.dispose = function() { var _biw = null; this.removeChildren(), this._smoke.dispose(), this._tired.dispose(), this._kira.dispose(), this._ring.dispose(), this._ribbon.dispose(), this._lockSlot.dispose(), this._image = null, this._state = null, this._burned = null, this._smoke = null, this._tired = null, this._plate = null, this._kira = null, this._ring = null, this._lockSlot = null; }, _bit.prototype.update = function(_bix, _biy) { var _biz = null, _bj0 = _bix.mstID, _bj1 = _bix.isDamaged(); this.updateImage(_bj0, _bj1); var _bj2 = _bix.isRepair(), _bj3 = _bix.getDamageType(); this.updateIcon(_biy, _bj2, _bj3), this.updateTired(_bix.tired), this.updateRing(_bix.isMarriage()), this.updateRibbon(_bix.ribbon); }, _bit.prototype.updateImage = function(_bj4, _bj5) { var _bj6 = null; _bio.TaskLoadShipResource.abortBy(this._image), 1 == _bie.default.resources.isLoadedShip(_bj4, _bj5, 'banner') ? this._image.texture = _bie.default.resources.getShip(_bj4, _bj5, 'banner') : (this._image.texture = _bip.COMMON_MISC.getTexture(6), new _bio.TaskLoadShipResource('banner', this._image, _bj4, _bj5).start()); }, _bit.prototype.updateIcon = function(_bj7, _bj8, _bj9, _bja) { var _bjb = null; void 0 === _bja && (_bja = !0), this._smoke.stop(), 1 == _bj7 ? (this._state.setExpeditionIcon(), this._burned.clear()) : 1 == _bj8 ? (this._state.setRepairIcon(), this._burned.clear()) : (this._state.setDamagedIcon(_bj9), this._burned.update(_bj9), this._smoke.play(_bj9)); }, _bit.prototype.updateTired = function(_bjc) { var _bjd = null; this._tired.update(_bjc), _bjc >= 71 ? this._kira.playStrongPlus() : _bjc >= 58 ? this._kira.playStrong() : _bjc >= 50 ? this._kira.play() : this._kira.stop(); }, _bit.prototype.updatePlate = function(_bje) { var _bjf = null; this._plate.update(_bje); }, _bit.prototype.updateRing = function(_bjg) { var _bjh = null; this._ring.deactivate(), 1 == _bjg ? (0 == this._ring.x && (this._ring.position.set(209, 30), this._ring.initialize()), this._ring.activate(), this._ring.visible = !0) : this._ring.visible = !1; }, _bit.prototype.updateRibbon = function(_bji) { var _bjj = null; this._ribbon.update(_bji); }, _bit.prototype.updateLockSlot = function(_bjk) { var _bjl = null; this._lockSlot.visible = !!_bjk.hasLockedSlotitem(), _bjk.tired < 30 ? this._lockSlot.position.set(232, 0) : this._lockSlot.position.set(232, 24); }, _bit; }(PIXI.Container); _bhr.ShipBanner = _biq; }, 17733: function(_bjm, _bjn, _bjo) { 'use strict'; var _bjp = null; var _bjq, _bjr = this && this.__extends || (_bjq = function(_bjs, _bjt) { var _bju = null; return _bjq = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_bjv, _bjw) { var _bjx = null; _bjv.__proto__ = _bjw; } || function(_bjy, _bjz) { var _bk0 = null; for (var _bk1 in _bjz) Object.prototype.hasOwnProperty.call(_bjz, _bk1) && (_bjy[_bk1] = _bjz[_bk1]); }, _bjq(_bjs, _bjt); }, function(_bk2, _bk3) { var _bk4 = null; if ('function' != typeof _bk3 && null !== _bk3) throw new TypeError('Class extends value ' + String(_bk3) + ' is not a constructor or null'); function _bk5() { var _bk6 = null; this.constructor = _bk2; } _bjq(_bk2, _bk3), _bk2.prototype = null === _bk3 ? Object.create(_bk3) : (_bk5.prototype = _bk3.prototype, new _bk5()); }), _bk7 = this && this.__importDefault || function(_bk8) { var _bk9 = null; return _bk8 && _bk8.__esModule ? _bk8 : { 'default': _bk8 }; }; defineModule(_bjn); Object.defineProperty(_bjn, '__esModule', { 'value': !0 }), _bjn.ShipCard = void 0; var _bka = _bk7(_bjo(18622)), _bkb = _bjo(18343), _bkc = _bjo(98933), _bkd = _bjo(32717), _bke = _bjo(48205), _bkf = _bjo(11997), _bkg = function(_bkh) { var _bki = null; function _bkj(_bkk, _bkl) { var _bkm = null, _bkn = _bkh.call(this) || this; _bkn.kira = !1; var _bko = new PIXI.Sprite(), _bkp = new PIXI.Sprite(), _bkq = new PIXI.Sprite(), _bkr = new _bks(), _bkt = new _bkc.CardKirakira(), _bku = new _bkd.RingLarge(); return _bku.initialize(), _bku.activate(), _bku.position.set(263, 383), _bkq.position.set(200, 342), _bkn.addChild(_bko, _bkp, _bkq), _bkr.position.x = 165, _bkl && _bkn.addChild(_bkr), _bkk && (_bkn.addChild(_bkt), _bkt.visible = !1, _bkt.play()), _bkn.addChild(_bku), _bkn.shipCard = _bko, _bkn.burned = _bkp, _bkn.state = _bkq, _bkn.tired = _bkr, _bkn.cardKirakira = _bkt, _bkn.kira = _bkk, _bkn.ring = _bku, _bkn; } return _bjr(_bkj, _bkh), _bkj.prototype.dispose = function() { var _bkv = null; this.shipCard.texture = PIXI.Texture.EMPTY, this.burned.texture = PIXI.Texture.EMPTY, this.state.texture = PIXI.Texture.EMPTY, this.tired.dispose(), this.cardKirakira.dispose(), this.ring.dispose(), this.ring = null, this.cardKirakira = null, this.shipCard = null, this.burned = null, this.state = null, this.tired = null, this.tired = null, this.removeChildren(); }, _bkj.prototype.update = function(_bkw, _bkx) { var _bky = null; this.__updateTexture__(_bkw.mstID, _bkw.isDamaged()); var _bkz = _bkw.isRepair(); if (this.ring.visible = !1, _bkw.isMarriage() && (this.ring.visible = !0), _bkz) this.__updateState__(5); else { if (_bkx) this.__updateState__(4); else switch (_bkb.ShipUtil.getDamageType(_bkw.hpNow, _bkw.hpMax)) { case 75: this.__updateState__(1); break; case 50: this.__updateState__(2); break; case 25: this.__updateState__(3); break; default: this.__updateState__(0); } } this.__updateTired__(_bkw.tired); }, _bkj.prototype.__updateTexture__ = function(_bl0, _bl1) { var _bl2 = null; _bke.TaskLoadShipResource.abortBy(this.shipCard), 1 == _bka.default.resources.isLoadedShip(_bl0, _bl1, 'card') ? this.shipCard.texture = _bka.default.resources.getShip(_bl0, _bl1, 'card') : (this.shipCard.texture = PIXI.Texture.EMPTY, new _bke.TaskLoadShipResource('card', this.shipCard, _bl0, _bl1).start()); }, _bkj.prototype.__updateState__ = function(_bl3) { var _bl4 = null; switch (_bl3) { case 0: this.state.texture = PIXI.Texture.EMPTY; break; case 1: this.state.texture = _bkf.COMMON_MISC.getTexture(98); break; case 2: this.state.texture = _bkf.COMMON_MISC.getTexture(95); break; case 3: this.state.texture = _bkf.COMMON_MISC.getTexture(100); break; case 4: this.state.texture = _bkf.COMMON_MISC.getTexture(96); break; case 5: this.state.texture = _bkf.COMMON_MISC.getTexture(99); } }, _bkj.prototype.__updateTired__ = function(_bl5) { var _bl6 = null; this.tired.updateTired(_bl5), this.cardKirakira.visible = !1, _bl5 >= 50 && this.kira && (this.cardKirakira.visible = !0); }, _bkj; }(PIXI.Container); _bjn.ShipCard = _bkg; var _bks = function(_bl7) { var _bl8 = null; function _bl9() { var _bla = null, _blb = _bl7.call(this) || this, _blc = new PIXI.Sprite(), _bld = new PIXI.Sprite(); return _bld.position.set(152, 212), _blb.bg = _blc, _blb.face = _bld, _blb; } return _bjr(_bl9, _bl7), _bl9.prototype.updateTired = function(_ble) { var _blf = null; this.removeChildren(), this.bg.texture = PIXI.Texture.EMPTY, this.face.texture = PIXI.Texture.EMPTY, _ble < 20 ? (this.bg.texture = _bkf.COMMON_MISC.getTexture(38), this.face.texture = _bkf.COMMON_MISC.getTexture(120)) : _ble < 30 && (this.bg.texture = _bkf.COMMON_MISC.getTexture(37), this.face.texture = _bkf.COMMON_MISC.getTexture(119)), this.addChild(this.bg, this.face); }, _bl9.prototype.dispose = function() { var _blg = null; this.removeChildren(), this.bg.texture = PIXI.Texture.EMPTY, this.face.texture = PIXI.Texture.EMPTY, this.bg = null, this.face = null; }, _bl9; }(PIXI.Container); }, 43905: function(_blh, _bli, _blj) { 'use strict'; var _blk = null; var _bll, _blm = this && this.__extends || (_bll = function(_bln, _blo) { var _blp = null; return _bll = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_blq, _blr) { var _bls = null; _blq.__proto__ = _blr; } || function(_blt, _blu) { var _blv = null; for (var _blw in _blu) Object.prototype.hasOwnProperty.call(_blu, _blw) && (_blt[_blw] = _blu[_blw]); }, _bll(_bln, _blo); }, function(_blx, _bly) { var _blz = null; if ('function' != typeof _bly && null !== _bly) throw new TypeError('Class extends value ' + String(_bly) + ' is not a constructor or null'); function _bm0() { var _bm1 = null; this.constructor = _blx; } _bll(_blx, _bly), _blx.prototype = null === _bly ? Object.create(_bly) : (_bm0.prototype = _bly.prototype, new _bm0()); }); defineModule(_bli); Object.defineProperty(_bli, '__esModule', { 'value': !0 }), _bli.ShipInDeckFlag = void 0; var _bm2 = _blj(11997), _bm3 = function(_bm4) { var _bm5 = null; function _bm6() { var _bm7 = null; return null !== _bm4 && _bm4.apply(this, arguments) || this; } return _blm(_bm6, _bm4), _bm6.prototype.update = function(_bm8) { var _bm9 = null; switch (_bm8[0]) { case 1: var _bma = _bm8[1]; this.texture = 0 == _bma ? _bm2.COMMON_MISC.getTexture(76) : _bm2.COMMON_MISC.getTexture(79); break; case 2: this.texture = _bm2.COMMON_MISC.getTexture(82); break; case 3: this.texture = _bm2.COMMON_MISC.getTexture(85); break; case 4: this.texture = _bm2.COMMON_MISC.getTexture(88); break; default: this.texture = PIXI.Texture.EMPTY; } }, _bm6.prototype.dispose = function() { var _bmb = null; this.texture = PIXI.Texture.EMPTY; }, _bm6; }(PIXI.Sprite); _bli.ShipInDeckFlag = _bm3; }, 74568: function(_bmc, _bmd, _bme) { 'use strict'; var _bmf = null; var _bmg, _bmh = this && this.__extends || (_bmg = function(_bmi, _bmj) { var _bmk = null; return _bmg = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_bml, _bmm) { var _bmn = null; _bml.__proto__ = _bmm; } || function(_bmo, _bmp) { var _bmq = null; for (var _bmr in _bmp) Object.prototype.hasOwnProperty.call(_bmp, _bmr) && (_bmo[_bmr] = _bmp[_bmr]); }, _bmg(_bmi, _bmj); }, function(_bms, _bmt) { var _bmu = null; if ('function' != typeof _bmt && null !== _bmt) throw new TypeError('Class extends value ' + String(_bmt) + ' is not a constructor or null'); function _bmv() { var _bmw = null; this.constructor = _bms; } _bmg(_bms, _bmt), _bms.prototype = null === _bmt ? Object.create(_bmt) : (_bmv.prototype = _bmt.prototype, new _bmv()); }); defineModule(_bmd); Object.defineProperty(_bmd, '__esModule', { 'value': !0 }), _bmd.ShipParameterViewBase = void 0; var _bmx = _bme(43341), _bmy = _bme(39759), _bmz = _bme(85636), _bn0 = _bme(8744), _bn1 = function(_bn2) { var _bn3 = null; function _bn4(_bn5) { var _bn6 = null, _bn7 = _bn2.call(this) || this, _bn8 = new PIXI.Sprite(_bn5); _bn7.addChild(_bn8); var _bn9 = 20; return _bn7._textHp = new _bn0.TextBox(_bn9, 5523516), _bn7._textHp.anchor.x = 1, _bn7.addChild(_bn7._textHp), _bn7._textSoukou = new _bn0.TextBox(_bn9, 5523516), _bn7._textSoukou.anchor.x = 1, _bn7.addChild(_bn7._textSoukou), _bn7._textKaihi = new _bn0.TextBox(_bn9, 5523516), _bn7._textKaihi.anchor.x = 1, _bn7.addChild(_bn7._textKaihi), _bn7._textTousai = new _bn0.TextBox(_bn9, 5523516), _bn7._textTousai.anchor.x = 1, _bn7.addChild(_bn7._textTousai), _bn7._sokuryoku = new _bmz.ShipSpeedImage(), _bn7.addChild(_bn7._sokuryoku), _bn7._shatei = new _bmx.ShateiImage(), _bn7.addChild(_bn7._shatei), _bn7._textKaryoku = new _bn0.TextBox(_bn9, 5523516), _bn7._textKaryoku.anchor.x = 1, _bn7.addChild(_bn7._textKaryoku), _bn7._textRaisou = new _bn0.TextBox(_bn9, 5523516), _bn7._textRaisou.anchor.x = 1, _bn7.addChild(_bn7._textRaisou), _bn7._textTaiku = new _bn0.TextBox(_bn9, 5523516), _bn7._textTaiku.anchor.x = 1, _bn7.addChild(_bn7._textTaiku), _bn7._textTaisen = new _bn0.TextBox(_bn9, 5523516), _bn7._textTaisen.anchor.x = 1, _bn7.addChild(_bn7._textTaisen), _bn7._textSakuteki = new _bn0.TextBox(_bn9, 5523516), _bn7._textSakuteki.anchor.x = 1, _bn7.addChild(_bn7._textSakuteki), _bn7._textLucky = new _bn0.TextBox(_bn9, 5523516), _bn7._textLucky.anchor.x = 1, _bn7.addChild(_bn7._textLucky), _bn7._karyokuSp = new _bmy.PlusNumberImage(), _bn7.addChild(_bn7._karyokuSp), _bn7._raisouSp = new _bmy.PlusNumberImage(), _bn7.addChild(_bn7._raisouSp), _bn7._soukouSp = new _bmy.PlusNumberImage(), _bn7.addChild(_bn7._soukouSp), _bn7._kaihiSp = new _bmy.PlusNumberImage(), _bn7.addChild(_bn7._kaihiSp), _bn7._alignment(), _bn7; } return _bmh(_bn4, _bn2), _bn4.prototype.dispose = function() { var _bna = null; this.removeChildren(), this._sokuryoku.dispose(), this._shatei.dispose(), this._textHp.destroy(), this._textSoukou.destroy(), this._textKaihi.destroy(), this._textTousai.destroy(), this._textKaryoku.destroy(), this._textRaisou.destroy(), this._textTaiku.destroy(), this._textTaisen.destroy(), this._textSakuteki.destroy(), this._textLucky.destroy(), this._textHp = null, this._textSoukou = null, this._textKaihi = null, this._textTousai = null, this._sokuryoku = null, this._shatei = null, this._textKaryoku = null, this._textRaisou = null, this._textTaiku = null, this._textTaisen = null, this._textSakuteki = null, this._textLucky = null; }, _bn4; }(PIXI.Container); _bmd.ShipParameterViewBase = _bn1; }, 20843: function(_bnb, _bnc, _bnd) { 'use strict'; var _bne = null; var _bnf, _bng = this && this.__extends || (_bnf = function(_bnh, _bni) { var _bnj = null; return _bnf = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_bnk, _bnl) { var _bnm = null; _bnk.__proto__ = _bnl; } || function(_bnn, _bno) { var _bnp = null; for (var _bnq in _bno) Object.prototype.hasOwnProperty.call(_bno, _bnq) && (_bnn[_bnq] = _bno[_bnq]); }, _bnf(_bnh, _bni); }, function(_bnr, _bns) { var _bnt = null; if ('function' != typeof _bns && null !== _bns) throw new TypeError('Class extends value ' + String(_bns) + ' is not a constructor or null'); function _bnu() { var _bnv = null; this.constructor = _bnr; } _bnf(_bnr, _bns), _bnr.prototype = null === _bns ? Object.create(_bns) : (_bnu.prototype = _bns.prototype, new _bnu()); }), _bnw = this && this.__createBinding || (Object.create ? function(_bnx, _bny, _bnz, _bo0) { var _bo1 = null; void 0 === _bo0 && (_bo0 = _bnz); var _bo2 = Object.getOwnPropertyDescriptor(_bny, _bnz); _bo2 && !('get' in _bo2 ? !_bny.__esModule : _bo2.writable || _bo2.configurable) || (_bo2 = { 'enumerable': !0, 'get': function() { return _bny[_bnz]; } }), Object.defineProperty(_bnx, _bo0, _bo2); } : function(_bo3, _bo4, _bo5, _bo6) { void 0 === _bo6 && (_bo6 = _bo5), _bo3[_bo6] = _bo4[_bo5]; }), _bo7 = this && this.__setModuleDefault || (Object.create ? function(_bo8, _bo9) { var _boa = null; Object.defineProperty(_bo8, 'default', { 'enumerable': !0, 'value': _bo9 }); } : function(_bob, _boc) { var _bod = null; _bob.default = _boc; }), _boe = this && this.__importStar || function(_bof) { var _bog = null; if (_bof && _bof.__esModule) return _bof; var _boh = {}; if (null != _bof) { for (var _boi in _bof) 'default' !== _boi && Object.prototype.hasOwnProperty.call(_bof, _boi) && _bnw(_boh, _bof, _boi); } return _bo7(_boh, _bof), _boh; }; defineModule(_bnc); Object.defineProperty(_bnc, '__esModule', { 'value': !0 }), _bnc.ShipSortButton = void 0; var _boj = _boe(_bnd(31000)), _bok = _bnd(35380), _bol = function(_bom) { var _bon = null; function _boo() { var _bop = null, _boq = _bom.call(this) || this; return _boq._onClick = function() { var _bor = null; _boq.onClick(); }, _boq.on(_bok.EventType.CLICK, _boq._onClick), _boq.interactive = _boq.buttonMode = !0, _boq; } return _bng(_boo, _bom), _boo.prototype.dispose = function() { var _bos = null; this.removeAllListeners(_bok.EventType.CLICK), this.texture = PIXI.Texture.EMPTY, this.onClick = null; }, _boo.prototype.update = function(_bot) { var _bou = null; switch (_bot) { case 0: this.texture = _boj.COMMON_MAIN.getTexture(49); break; case 1: this.texture = _boj.COMMON_MAIN.getTexture(48); break; case 4: this.texture = _boj.COMMON_MAIN.getTexture(50); break; case 3: this.texture = _boj.COMMON_MAIN.getTexture(51); break; case 2: this.texture = _boj.COMMON_MAIN.getTexture(52); } }, _boo; }(PIXI.Sprite); _bnc.ShipSortButton = _bol; }, 85636: function(_bov, _bow, _box) { 'use strict'; var _boy = null; var _boz, _bp0 = this && this.__extends || (_boz = function(_bp1, _bp2) { var _bp3 = null; return _boz = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_bp4, _bp5) { var _bp6 = null; _bp4.__proto__ = _bp5; } || function(_bp7, _bp8) { var _bp9 = null; for (var _bpa in _bp8) Object.prototype.hasOwnProperty.call(_bp8, _bpa) && (_bp7[_bpa] = _bp8[_bpa]); }, _boz(_bp1, _bp2); }, function(_bpb, _bpc) { var _bpd = null; if ('function' != typeof _bpc && null !== _bpc) throw new TypeError('Class extends value ' + String(_bpc) + ' is not a constructor or null'); function _bpe() { var _bpf = null; this.constructor = _bpb; } _boz(_bpb, _bpc), _bpb.prototype = null === _bpc ? Object.create(_bpc) : (_bpe.prototype = _bpc.prototype, new _bpe()); }), _bpg = this && this.__createBinding || (Object.create ? function(_bph, _bpi, _bpj, _bpk) { var _bpl = null; void 0 === _bpk && (_bpk = _bpj); var _bpm = Object.getOwnPropertyDescriptor(_bpi, _bpj); _bpm && !('get' in _bpm ? !_bpi.__esModule : _bpm.writable || _bpm.configurable) || (_bpm = { 'enumerable': !0, 'get': function() { return _bpi[_bpj]; } }), Object.defineProperty(_bph, _bpk, _bpm); } : function(_bpn, _bpo, _bpp, _bpq) { void 0 === _bpq && (_bpq = _bpp), _bpn[_bpq] = _bpo[_bpp]; }), _bpr = this && this.__setModuleDefault || (Object.create ? function(_bps, _bpt) { var _bpu = null; Object.defineProperty(_bps, 'default', { 'enumerable': !0, 'value': _bpt }); } : function(_bpv, _bpw) { var _bpx = null; _bpv.default = _bpw; }), _bpy = this && this.__importStar || function(_bpz) { var _bq0 = null; if (_bpz && _bpz.__esModule) return _bpz; var _bq1 = {}; if (null != _bpz) { for (var _bq2 in _bpz) 'default' !== _bq2 && Object.prototype.hasOwnProperty.call(_bpz, _bq2) && _bpg(_bq1, _bpz, _bq2); } return _bpr(_bq1, _bpz), _bq1; }; defineModule(_bow); Object.defineProperty(_bow, '__esModule', { 'value': !0 }), _bow.ShipSpeedImage = void 0; var _bq3 = _box(18343), _bq4 = _bpy(_box(31000)), _bq5 = function(_bq6) { var _bq7 = null; function _bq8() { var _bq9 = null; return _bq6.call(this) || this; } return _bp0(_bq8, _bq6), _bq8.prototype.dispose = function() { var _bqa = null; this.texture = PIXI.Texture.EMPTY; }, _bq8.prototype.update = function(_bqb) { var _bqc = null; switch (_bq3.ShipUtil.getSpeedType(_bqb)) { case 4: this.texture = _bq4.COMMON_MAIN.getTexture(63); break; case 3: this.texture = _bq4.COMMON_MAIN.getTexture(59); break; case 2: this.texture = _bq4.COMMON_MAIN.getTexture(56); break; case 1: this.texture = _bq4.COMMON_MAIN.getTexture(57); break; case 0: this.texture = _bq4.COMMON_MAIN.getTexture(62); break; default: this.texture = PIXI.Texture.EMPTY; } }, _bq8; }(PIXI.Sprite); _bow.ShipSpeedImage = _bq5; }, 7570: function(_bqd, _bqe, _bqf) { 'use strict'; var _bqg = null; var _bqh, _bqi = this && this.__extends || (_bqh = function(_bqj, _bqk) { var _bql = null; return _bqh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_bqm, _bqn) { var _bqo = null; _bqm.__proto__ = _bqn; } || function(_bqp, _bqq) { var _bqr = null; for (var _bqs in _bqq) Object.prototype.hasOwnProperty.call(_bqq, _bqs) && (_bqp[_bqs] = _bqq[_bqs]); }, _bqh(_bqj, _bqk); }, function(_bqt, _bqu) { var _bqv = null; if ('function' != typeof _bqu && null !== _bqu) throw new TypeError('Class extends value ' + String(_bqu) + ' is not a constructor or null'); function _bqw() { var _bqx = null; this.constructor = _bqt; } _bqh(_bqt, _bqu), _bqt.prototype = null === _bqu ? Object.create(_bqu) : (_bqw.prototype = _bqu.prototype, new _bqw()); }); defineModule(_bqe); Object.defineProperty(_bqe, '__esModule', { 'value': !0 }), _bqe.Shutter = void 0; var _bqy = _bqf(70723), _bqz = _bqf(19869), _br0 = function(_br1) { var _br2 = null; function _br3(_br4) { var _br5 = null; void 0 === _br4 && (_br4 = 0); var _br6 = _br1.call(this) || this; return _br6.TOP_OPENED_Y = -405, _br6.TOP_CLOSED_Y = 0, _br6.BTM_OPENED_Y = 720, _br6.BTM_CLOSED_Y = 315, _br6._opened = !0, _br6._dark = !1, _br6.TOP_OPENED_Y += _br4, _br6.BTM_OPENED_Y -= _br4, _br6._top = new PIXI.Sprite(), _br6._btm = new PIXI.Sprite(), _br6._top.y = _br6.TOP_OPENED_Y, _br6._btm.y = _br6.BTM_OPENED_Y, _br6.addChild(_br6._top), _br6.addChild(_br6._btm), _br6; } return _bqi(_br3, _br1), _br3.prototype.initializeLight = function() { var _br7 = null; this._top.texture = _bqz.COMMON_SHUTTER.getTexture(2), this._btm.texture = _bqz.COMMON_SHUTTER.getTexture(0); }, _br3.prototype.initializeDark = function() { var _br8 = null; this._top.texture = _bqz.COMMON_SHUTTER.getTexture(3), this._btm.texture = _bqz.COMMON_SHUTTER.getTexture(1); }, _br3.prototype.isOpened = function() { var _br9 = null; return this._opened; }, _br3.prototype.open = function(_bra) { var _brb = null, _brc = this; if (void 0 === _bra && (_bra = 400), null != this._t1) { if (0 != this._opened) return; this._stopTween(); } else { if (1 == this._opened) return; } if (this._opened = !0, 0 == _bra) return this._top.y = this.TOP_OPENED_Y, void(this._btm.y = this.BTM_OPENED_Y); _bqy.SE.play('218'), this._t1 = createjs.Tween.get(this._top).to({ 'y': this.TOP_OPENED_Y }, _bra), this._t2 = createjs.Tween.get(this._btm).to({ 'y': this.BTM_OPENED_Y }, _bra).call(function() { var _brd = null; _brc._t1 = null, _brc._t2 = null, _brc.emit('opened'); }); }, _br3.prototype.close = function(_bre) { var _brf = null, _brg = this; if (void 0 === _bre && (_bre = 400), null != this._t1) { if (1 != this._opened) return; this._stopTween(); } else { if (0 == this._opened) return; } if (this._opened = !1, 0 == _bre) return this._top.y = this.TOP_CLOSED_Y, void(this._btm.y = this.BTM_CLOSED_Y); this._t1 = createjs.Tween.get(this._top).to({ 'y': this.TOP_CLOSED_Y }, _bre), this._t2 = createjs.Tween.get(this._btm).to({ 'y': this.BTM_CLOSED_Y }, _bre).call(function() { var _brh = null; _bqy.SE.play('217'), _brg._t1 = null, _brg._t2 = null, _brg.emit('closed'); }); }, _br3.prototype._stopTween = function() { var _bri = null; null != this._t1 && (this._t1.setPaused(!0), this._t2.setPaused(!0), this._t1 = null, this._t2 = null); }, _br3; }(PIXI.Container); _bqe.Shutter = _br0; }, 43182: function(_brj, _brk, _brl) { 'use strict'; var _brm = null; var _brn, _bro = this && this.__extends || (_brn = function(_brp, _brq) { var _brr = null; return _brn = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_brs, _brt) { var _bru = null; _brs.__proto__ = _brt; } || function(_brv, _brw) { var _brx = null; for (var _bry in _brw) Object.prototype.hasOwnProperty.call(_brw, _bry) && (_brv[_bry] = _brw[_bry]); }, _brn(_brp, _brq); }, function(_brz, _bs0) { var _bs1 = null; if ('function' != typeof _bs0 && null !== _bs0) throw new TypeError('Class extends value ' + String(_bs0) + ' is not a constructor or null'); function _bs2() { var _bs3 = null; this.constructor = _brz; } _brn(_brz, _bs0), _brz.prototype = null === _bs0 ? Object.create(_bs0) : (_bs2.prototype = _bs0.prototype, new _bs2()); }); defineModule(_brk); Object.defineProperty(_brk, '__esModule', { 'value': !0 }), _brk.SimpleButton = void 0; var _bs4 = _brl(35380), _bs5 = function(_bs6) { var _bs7 = null; function _bs8(_bs9, _bsa) { var _bsb = null, _bsc = _bs6.call(this) || this; return _bsc._onMouseOut = function(_bsd) { var _bse = null; _bsc.onMouseOut && _bsc.onMouseOut(_bsd), _bsc.texture = _bsc.textureDefault; }, _bsc._onMouseOver = function(_bsf) { var _bsg = null; _bsc.onMouseOver && _bsc.onMouseOver(_bsf), _bsc.texture = _bsc.textureHover; }, _bsc.textureDefault = _bs9, _bsc.textureHover = _bsa, _bsc.texture = _bsc.textureDefault, _bsc.on(_bs4.EventType.MOUSEOVER, _bsc._onMouseOver), _bsc.on(_bs4.EventType.MOUSEOUT, _bsc._onMouseOut), _bsc.interactive = _bsc.buttonMode = !0, _bsc; } return _bro(_bs8, _bs6), _bs8.prototype.reset = function() { var _bsh = null; this.texture = this.textureDefault; }, _bs8.prototype.dispose = function() { var _bsi = null; this.removeAllListeners(_bs4.EventType.CLICK), this.removeAllListeners(_bs4.EventType.MOUSEOVER), this.removeAllListeners(_bs4.EventType.MOUSEOUT), this.texture = PIXI.Texture.EMPTY, this.onClick = null, this.onMouseOut = null, this.onMouseOver = null, this.textureDefault = null, this.textureHover = null, this.removeChildren(); }, _bs8; }(PIXI.Sprite); _brk.SimpleButton = _bs5; }, 17261: function(_bsj, _bsk, _bsl) { 'use strict'; var _bsm = null; var _bsn, _bso = this && this.__extends || (_bsn = function(_bsp, _bsq) { var _bsr = null; return _bsn = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_bss, _bst) { var _bsu = null; _bss.__proto__ = _bst; } || function(_bsv, _bsw) { var _bsx = null; for (var _bsy in _bsw) Object.prototype.hasOwnProperty.call(_bsw, _bsy) && (_bsv[_bsy] = _bsw[_bsy]); }, _bsn(_bsp, _bsq); }, function(_bsz, _bt0) { var _bt1 = null; if ('function' != typeof _bt0 && null !== _bt0) throw new TypeError('Class extends value ' + String(_bt0) + ' is not a constructor or null'); function _bt2() { var _bt3 = null; this.constructor = _bsz; } _bsn(_bsz, _bt0), _bsz.prototype = null === _bt0 ? Object.create(_bt0) : (_bt2.prototype = _bt0.prototype, new _bt2()); }), _bt4 = this && this.__createBinding || (Object.create ? function(_bt5, _bt6, _bt7, _bt8) { var _bt9 = null; void 0 === _bt8 && (_bt8 = _bt7); var _bta = Object.getOwnPropertyDescriptor(_bt6, _bt7); _bta && !('get' in _bta ? !_bt6.__esModule : _bta.writable || _bta.configurable) || (_bta = { 'enumerable': !0, 'get': function() { return _bt6[_bt7]; } }), Object.defineProperty(_bt5, _bt8, _bta); } : function(_btb, _btc, _btd, _bte) { void 0 === _bte && (_bte = _btd), _btb[_bte] = _btc[_btd]; }), _btf = this && this.__setModuleDefault || (Object.create ? function(_btg, _bth) { var _bti = null; Object.defineProperty(_btg, 'default', { 'enumerable': !0, 'value': _bth }); } : function(_btj, _btk) { var _btl = null; _btj.default = _btk; }), _btm = this && this.__importStar || function(_btn) { var _bto = null; if (_btn && _btn.__esModule) return _btn; var _btp = {}; if (null != _btn) { for (var _btq in _btn) 'default' !== _btq && Object.prototype.hasOwnProperty.call(_btn, _btq) && _bt4(_btp, _btn, _btq); } return _btf(_btp, _btn), _btp; }; defineModule(_bsk); Object.defineProperty(_bsk, '__esModule', { 'value': !0 }), _bsk.SlotItemFilterButton = _bsk.SlotItemFilterListItem = _bsk.SlotItemFilterList = _bsk.SlotItemFilterView = void 0; var _btr = _btm(_bsl(31000)), _bts = _bsl(35380), _btt = _bsl(16677), _btu = function(_btv) { var _btw = null; function _btx() { var _bty = null, _btz = _btv.call(this) || this; return _btz.maxDuration = 125, _btz.shown = !1, _btz._onClickSlotItemFilterKeyType = function(_bu0) { var _bu1 = null; _btz.onClick(_bu0); }, _btz._onMouseOutHideArea = function(_bu2) { var _bu3 = null, _bu4 = _bu2.data.getLocalPosition(_btz); _bu4.x >= _btz.startPoint.x && _bu4.x <= _btz.endPoint.x && _bu4.y >= _btz.startPoint.y && _bu4.y <= _btz.endPoint.y || (_btz.hideFilterList(), _btz.shown = !1); }, _btz._onClick = function() { var _bu5 = null; _btt.WheelEventUtil.clear(), _btz.switchShown(); }, _btz.slotItemFilterButton = new _bu6(), _btz.slotItemFilterButton.onClick = _btz._onClick, _btz.slotItemFilterList = new _bu7(), _btz.slotItemFilterListMask = new PIXI.Graphics(), _btz.slotItemFilterListMask.beginFill(0, 0), _btz.slotItemFilterListMask.drawRect(0, 0, _btz.slotItemFilterList.width, _btz.slotItemFilterList.height), _btz.slotItemFilterListMask.endFill(), _btz.slotItemFilterListMask.position.set(0, -(_btz.slotItemFilterListMask.height + 2)), _btz.slotItemFilterList.position.set(29, 30), _btz.slotItemFilterList.mask = _btz.slotItemFilterListMask, _btz.slotItemFilterList.onClick = _btz._onClickSlotItemFilterKeyType, _btz.slotItemFilterList.addChild(_btz.slotItemFilterListMask), _btz.startPoint = new PIXI.Point(-38, -38), _btz.endPoint = new PIXI.Point(157, -38 + _btz.slotItemFilterList.height + 76), _btz.filterListArea = new PIXI.Graphics(), _btz.filterListArea.beginFill(0, 0), _btz.filterListArea.position.set(-246, -12), _btz.filterListArea.drawRect(0, 0, 700, 560), _btz.filterListArea.endFill(), _btz.filterListArea.on(_bts.EventType.MOUSEMOVE, _btz._onMouseOutHideArea), _btz.filterListArea.interactive = !0, _btz.filterListArea.visible = !1, _btz.slotItemFilterList.renderable = !1, _btz.addChild(_btz.filterListArea), _btz.addChild(_btz.slotItemFilterButton), _btz.addChild(_btz.slotItemFilterList), _btz; } return _bso(_btx, _btv), _btx.prototype.dispose = function() { var _bu8 = null; this.slotItemFilterList.mask = null, this.slotItemFilterList.dispose(), this.slotItemFilterButton.dispose(), this.slotItemFilterListMask.clear(), this.filterListArea.clear(), this.onClick = null, this.shown = null, this.slotItemFilterButton = null, this.slotItemFilterList = null, this.slotItemFilterListMask = null, this.filterListArea = null, this.startPoint = null, this.endPoint = null, this.removeChildren(); }, _btx.prototype.updateFilterType = function(_bu9) { var _bua = null; this.slotItemFilterButton.update(_bu9); }, _btx.prototype.switchShown = function() { var _bub = null; this.shown = !this.shown, this.shown ? this.showFilterList() : this.hideFilterList(); }, _btx.prototype.showFilterList = function() { var _buc = null; this.filterListArea.visible = !0, this.slotItemFilterList.renderable = !0, createjs.Tween.removeTweens(this.slotItemFilterListMask); var _bud = this.slotItemFilterListMask.height + this.slotItemFilterListMask.y + 1, _bue = 0 == _bud ? 0 : _bud / this.slotItemFilterListMask.height, _buf = this.maxDuration * (1 - _bue); createjs.Tween.get(this.slotItemFilterListMask).to({ 'y': 0 }, _buf).play(null); }, _btx.prototype.hideFilterList = function() { var _bug = null, _buh = this; this.filterListArea.visible = !1, createjs.Tween.removeTweens(this.slotItemFilterListMask); var _bui = this.slotItemFilterListMask.height + this.slotItemFilterListMask.y + 2, _buj = 0 == _bui ? 0 : _bui / this.slotItemFilterListMask.height, _buk = -(this.slotItemFilterListMask.height + 2), _bul = this.maxDuration * _buj; createjs.Tween.get(this.slotItemFilterListMask).to({ 'y': _buk }, _bul).call(function() { var _bum = null; _buh.slotItemFilterList.renderable = !1, null != _buh.onHide && _buh.onHide(); }).play(null); }, _btx.prototype.hideFilterListImmidiate = function() { var _bun = null; this.filterListArea.visible = !1, createjs.Tween.removeTweens(this.slotItemFilterListMask), this.slotItemFilterListMask.y = -(this.slotItemFilterListMask.height + 2), this.shown = !1; }, _btx; }(PIXI.Container); _bsk.SlotItemFilterView = _btu; var _bu7 = function(_buo) { var _bup = null; function _buq() { var _bur = null, _bus = _buo.call(this) || this; _bus._onClick = function(_but) { var _buu = null; _bus.onClick(_but); }; for (var _buv = new PIXI.Sprite(_btr.COMMON_SORT.getTexture(54)), _buw = [ [0, 21, 22], [1, 23, 24], [2, 25, 26], [3, 27, 28], [4, 29, 30], [5, 31, 32], [6, 33, 34], [7, 35, 36], [8, 43, 44], [9, 45, 46], [10, 47, 48], [11, 49, 50], [12, 37, 38], [13, 39, 40], [14, 41, 42], [15, 51, 52] ], _bux = [], _buy = 0; _buy < _buw.length; _buy++) { var _buz = _buw[_buy], _bv0 = _buz[0], _bv1 = _buz[1], _bv2 = _buz[2], _bv3 = new _bv4(_bv0, _bv1, _bv2); _bv3.onClick = _bus._onClick, _bv3.y = 28.5 * _buy, _bux.push(_bv3); } _bus.addChild(_buv); for (_buy = 0; _buy < _bux.length; _buy++) _bus.addChild(_bux[_buy]); return _bus.slotItemFilterListItems = _bux, _bus; } return _bso(_buq, _buo), _buq.prototype.dispose = function() { var _bv5 = null; for (var _bv6 = 0; _bv6 < this.slotItemFilterListItems.length; _bv6++) this.removeChild(this.slotItemFilterListItems[_bv6]), this.slotItemFilterListItems[_bv6].dispose(), this.slotItemFilterListItems[_bv6] = null; this.slotItemFilterListItems = null, this.onClick = null, this.removeChildren(); }, _buq; }(PIXI.Container); _bsk.SlotItemFilterList = _bu7; var _bv4 = function(_bv7) { var _bv8 = null; function _bv9(_bva, _bvb, _bvc) { var _bvd = null, _bve = _bv7.call(this) || this; return _bve._onMouseOver = function() { var _bvf = null; _bve.status.texture = _btr.COMMON_SORT.getTexture(_bve.rIdMouseover), _bve.hover.visible = !0; }, _bve._onMouseOut = function() { var _bvg = null; _bve.status.texture = _btr.COMMON_SORT.getTexture(_bve.rIdMouseout), _bve.hover.visible = !1; }, _bve._onClick = function() { var _bvh = null; _bve.onClick(_bve.slotItemFilterKeyType); }, _bve.rIdMouseover = _bvc, _bve.rIdMouseout = _bvb, _bve.slotItemFilterKeyType = _bva, _bve.status = new PIXI.Sprite(_btr.COMMON_SORT.getTexture(_bvb)), _bve.hover = new PIXI.Sprite(_btr.COMMON_SORT.getTexture(20)), _bve.hover.visible = !1, _bve.interactive = !0, _bve.on(_bts.EventType.MOUSEOVER, _bve._onMouseOver), _bve.on(_bts.EventType.MOUSEOUT, _bve._onMouseOut), _bve.on(_bts.EventType.CLICK, _bve._onClick), _bve.addChild(_bve.hover, _bve.status), _bve; } return _bso(_bv9, _bv7), _bv9.prototype.dispose = function() { var _bvi = null; this.removeChildren(), this.off(_bts.EventType.MOUSEOVER), this.off(_bts.EventType.MOUSEOUT), this.off(_bts.EventType.CLICK), this.rIdMouseover = null, this.rIdMouseout = null, this.status = null, this.hover = null, this.slotItemFilterKeyType = null, this.onClick = null; }, _bv9; }(PIXI.Container); _bsk.SlotItemFilterListItem = _bv4; var _bu6 = function(_bvj) { var _bvk = null; function _bvl() { var _bvm = null, _bvn = _bvj.call(this) || this; _bvn._onClick = function() { var _bvo = null; _bvn.onClick(); }; var _bvp = new PIXI.Sprite(_btr.COMMON_SORT.getTexture(19)), _bvq = new PIXI.Sprite(_btr.COMMON_SORT.getTexture(2)); return _bvn.state = new PIXI.Sprite(_btr.COMMON_SORT.getTexture(3)), _bvn.on(_bts.EventType.CLICK, _bvn._onClick), _bvn.interactive = _bvn.buttonMode = !0, _bvp.position.set(0, 0), _bvq.position.set(29, 0), _bvn.state.position.set(29, 0), _bvn.addChild(_bvp, _bvq, _bvn.state), _bvn; } return _bso(_bvl, _bvj), _bvl.prototype.dispose = function() { var _bvr = null; this.off(_bts.EventType.CLICK), this.removeChildren(), this.onClick = null, this.state = null; }, _bvl.prototype.update = function(_bvs) { var _bvt = null, _bvu = this.keyToRid(_bvs); this.state.texture = _btr.COMMON_SORT.getTexture(_bvu); }, _bvl.prototype.keyToRid = function(_bvv) { switch (_bvv) { case 0: return 3; case 1: return 4; case 2: return 5; case 3: return 6; case 4: return 7; case 5: return 8; case 6: return 9; case 7: return 10; case 8: return 14; case 9: return 15; case 10: return 16; case 11: return 17; case 12: return 11; case 13: return 12; case 14: return 13; case 15: return 18; } return null; }, _bvl; }(PIXI.Container); _bsk.SlotItemFilterButton = _bu6; }, 97638: function(_bvw, _bvx, _bvy) { 'use strict'; var _bvz = null; var _bw0, _bw1 = this && this.__extends || (_bw0 = function(_bw2, _bw3) { var _bw4 = null; return _bw0 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_bw5, _bw6) { var _bw7 = null; _bw5.__proto__ = _bw6; } || function(_bw8, _bw9) { var _bwa = null; for (var _bwb in _bw9) Object.prototype.hasOwnProperty.call(_bw9, _bwb) && (_bw8[_bwb] = _bw9[_bwb]); }, _bw0(_bw2, _bw3); }, function(_bwc, _bwd) { var _bwe = null; if ('function' != typeof _bwd && null !== _bwd) throw new TypeError('Class extends value ' + String(_bwd) + ' is not a constructor or null'); function _bwf() { var _bwg = null; this.constructor = _bwc; } _bw0(_bwc, _bwd), _bwc.prototype = null === _bwd ? Object.create(_bwd) : (_bwf.prototype = _bwd.prototype, new _bwf()); }), _bwh = this && this.__createBinding || (Object.create ? function(_bwi, _bwj, _bwk, _bwl) { var _bwm = null; void 0 === _bwl && (_bwl = _bwk); var _bwn = Object.getOwnPropertyDescriptor(_bwj, _bwk); _bwn && !('get' in _bwn ? !_bwj.__esModule : _bwn.writable || _bwn.configurable) || (_bwn = { 'enumerable': !0, 'get': function() { return _bwj[_bwk]; } }), Object.defineProperty(_bwi, _bwl, _bwn); } : function(_bwo, _bwp, _bwq, _bwr) { void 0 === _bwr && (_bwr = _bwq), _bwo[_bwr] = _bwp[_bwq]; }), _bws = this && this.__setModuleDefault || (Object.create ? function(_bwt, _bwu) { var _bwv = null; Object.defineProperty(_bwt, 'default', { 'enumerable': !0, 'value': _bwu }); } : function(_bww, _bwx) { var _bwy = null; _bww.default = _bwx; }), _bwz = this && this.__importStar || function(_bx0) { var _bx1 = null; if (_bx0 && _bx0.__esModule) return _bx0; var _bx2 = {}; if (null != _bx0) { for (var _bx3 in _bx0) 'default' !== _bx3 && Object.prototype.hasOwnProperty.call(_bx0, _bx3) && _bwh(_bx2, _bx0, _bx3); } return _bws(_bx2, _bx0), _bx2; }; defineModule(_bvx); Object.defineProperty(_bvx, '__esModule', { 'value': !0 }), _bvx.SlotItemLevel = void 0; var _bx4 = _bvy(8744), _bx5 = _bwz(_bvy(31000)), _bx6 = function(_bx7) { var _bx8 = null; function _bx9() { var _bxa = null, _bxb = _bx7.call(this) || this, _bxc = new PIXI.Container(), _bxd = new PIXI.Sprite(_bx5.COMMON_MAIN.getTexture(31)), _bxe = new PIXI.Sprite(_bx5.COMMON_MAIN.getTexture(30)), _bxf = new _bx4.TextBox(20, 1949120), _bxg = new PIXI.Sprite(_bx5.COMMON_MAIN.getTexture(32)); return _bxd.width = 18, _bxd.height = 18, _bxe.position.set(17, 3), _bxf.position.set(30, -3), _bxg.position.set(8, -6), _bxc.addChild(_bxd, _bxe, _bxf), _bxb.starLevel = _bxc, _bxb.text = _bxf, _bxb.starMax = _bxg, _bxb; } return _bw1(_bx9, _bx7), _bx9.prototype.dispose = function() { var _bxh = null; this.removeChildren(), this.starLevel.removeChildren(), this.text.destroy(), this.starLevel = null, this.text = null, this.starMax = null; }, _bx9.prototype.update = function(_bxi) { var _bxj = null; this.removeChildren(), 10 <= _bxi ? this.addChild(this.starMax) : 0 < _bxi && (this.addChild(this.starLevel), this.text.text = _bxi.toString()); }, _bx9; }(PIXI.Container); _bvx.SlotItemLevel = _bx6; }, 79522: function(_bxk, _bxl, _bxm) { 'use strict'; var _bxn = null; var _bxo, _bxp = this && this.__extends || (_bxo = function(_bxq, _bxr) { var _bxs = null; return _bxo = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_bxt, _bxu) { var _bxv = null; _bxt.__proto__ = _bxu; } || function(_bxw, _bxx) { var _bxy = null; for (var _bxz in _bxx) Object.prototype.hasOwnProperty.call(_bxx, _bxz) && (_bxw[_bxz] = _bxx[_bxz]); }, _bxo(_bxq, _bxr); }, function(_by0, _by1) { var _by2 = null; if ('function' != typeof _by1 && null !== _by1) throw new TypeError('Class extends value ' + String(_by1) + ' is not a constructor or null'); function _by3() { var _by4 = null; this.constructor = _by0; } _bxo(_by0, _by1), _by0.prototype = null === _by1 ? Object.create(_by1) : (_by3.prototype = _by1.prototype, new _by3()); }); defineModule(_bxl); Object.defineProperty(_bxl, '__esModule', { 'value': !0 }), _bxl.StarRateView = void 0; var _by5 = _bxm(90054), _by6 = function(_by7) { var _by8 = null; function _by9() { var _bya = null, _byb = _by7.call(this) || this; _byb._MAX_NUM = 5; for (var _byc = new Array(_byb._MAX_NUM), _byd = 0; _byd < _byb._MAX_NUM; _byd++) { var _bye = new PIXI.Sprite(_by5.COMMON_MAIN.getTexture(53)); _bye.x = Math.floor(18 * _byd), _bye.visible = !1, _byc[_byd] = _bye, _byb.addChild(_bye); } return _byb.stars = _byc, _byb; } return _bxp(_by9, _by7), _by9.prototype.update = function(_byf) { var _byg = null; for (var _byh = 0; _byh < this._MAX_NUM; _byh++) { var _byi = this.stars[_byh], _byj = _byh < _byf; _byi.visible = !1, _byj && (_byi.visible = !0); } }, _by9.prototype.dispose = function() { var _byk = null; for (var _byl = 0; _byl < this.stars.length; _byl++) this.removeChild(this.stars[_byl]), this.stars[_byl].texture = PIXI.Texture.EMPTY, this.stars[_byl] = null; this.stars = null, this._MAX_NUM = null, this.removeChildren(); }, _by9; }(PIXI.Container); _bxl.StarRateView = _by6; }, 8744: function(_bym, _byn) { 'use strict'; var _byo = null; var _byp, _byq = this && this.__extends || (_byp = function(_byr, _bys) { var _byt = null; return _byp = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_byu, _byv) { var _byw = null; _byu.__proto__ = _byv; } || function(_byx, _byy) { var _byz = null; for (var _bz0 in _byy) Object.prototype.hasOwnProperty.call(_byy, _bz0) && (_byx[_bz0] = _byy[_bz0]); }, _byp(_byr, _bys); }, function(_bz1, _bz2) { var _bz3 = null; if ('function' != typeof _bz2 && null !== _bz2) throw new TypeError('Class extends value ' + String(_bz2) + ' is not a constructor or null'); function _bz4() { var _bz5 = null; this.constructor = _bz1; } _byp(_bz1, _bz2), _bz1.prototype = null === _bz2 ? Object.create(_bz2) : (_bz4.prototype = _bz2.prototype, new _bz4()); }); defineModule(_byn); Object.defineProperty(_byn, '__esModule', { 'value': !0 }), _byn.TextBox = void 0; var _bz6 = function(_bz7) { function _bz8(_bz9, _bza, _bzb) { var _bzc = null; void 0 === _bzb && (_bzb = ''); var _bzd = { 'fontFamily': 'font_j', 'fontWeight': _bzb, 'fontSize': _bz9, 'fill': _bza }; return _bz7.call(this, null, _bzd) || this; } return _byq(_bz8, _bz7), _bz8; }(PIXI.Text); _byn.TextBox = _bz6; }, 51932: function(_bze, _bzf, _bzg) { 'use strict'; var _bzh = null; var _bzi, _bzj = this && this.__extends || (_bzi = function(_bzk, _bzl) { var _bzm = null; return _bzi = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_bzn, _bzo) { var _bzp = null; _bzn.__proto__ = _bzo; } || function(_bzq, _bzr) { var _bzs = null; for (var _bzt in _bzr) Object.prototype.hasOwnProperty.call(_bzr, _bzt) && (_bzq[_bzt] = _bzr[_bzt]); }, _bzi(_bzk, _bzl); }, function(_bzu, _bzv) { var _bzw = null; if ('function' != typeof _bzv && null !== _bzv) throw new TypeError('Class extends value ' + String(_bzv) + ' is not a constructor or null'); function _bzx() { var _bzy = null; this.constructor = _bzu; } _bzi(_bzu, _bzv), _bzu.prototype = null === _bzv ? Object.create(_bzv) : (_bzx.prototype = _bzv.prototype, new _bzx()); }), _bzz = this && this.__importDefault || function(_c00) { var _c01 = null; return _c00 && _c00.__esModule ? _c00 : { 'default': _c00 }; }; defineModule(_bzf); Object.defineProperty(_bzf, '__esModule', { 'value': !0 }), _bzf.WorldTextImage = void 0; var _c02 = _bzz(_bzg(18622)), _c03 = function(_c04) { var _c05 = null; function _c06() { var _c07 = null; return _c04.call(this) || this; } return _bzj(_c06, _c04), _c06.prototype.load = function(_c08) { var _c09 = null, _c0a = this._getPath(_c08); this.texture = PIXI.Texture.fromImage(_c0a); }, _c06.prototype._getKeyName = function() { var _c0b = null, _c0c = location.hostname; if (_c0c.match(/\./)) { for (var _c0d = _c0c.split('.'), _c0e = 0; _c0e < _c0d.length; _c0e++) _c0d[_c0e] = ('00' + _c0d[_c0e]).slice(-3); return _c0d.join('_'); } return _c0c; }, _c06.prototype._getPath = function(_c0f) { var _c0g = null, _c0h = this._getKeyName(); return 'title' == _c0f ? _c02.default.settings.path_root + 'resources/world/'['concat'](_c0h, '_t.png') : 'small' == _c0f ? _c02.default.settings.path_root + 'resources/world/'['concat'](_c0h, '_s.png') : 'large' == _c0f ? _c02.default.settings.path_root + 'resources/world/'['concat'](_c0h, '_l.png') : void 0; }, _c06; }(PIXI.Sprite); _bzf.WorldTextImage = _c03; }, 57510: (_c0i, _c0j) => { 'use strict'; var _c0k = null; defineModule(_c0j); Object.defineProperty(_c0j, '__esModule', { 'value': !0 }), _c0j.KiraAnimation = void 0; var _c0l = (function() { var _c0m = null; function _c0n(_c0o, _c0p, _c0q) { var _c0r = null; this.UpdateInterval = 1000 / 30; var _c0s = -(0.3 * Math.random() + 0.1); this.kira = _c0o, this.light_ss_yellow_01 = _c0p, this.light_ss_yellow_02 = _c0q, this.animationSpeed = _c0s; } return _c0n.prototype.play = function(_c0t) { var _c0u = null; this._stop(), this._playAlphaTween(), this._playTextureSwitchTween(_c0t); }, _c0n.prototype.stop = function() { var _c0v = null; this._stop(); }, _c0n.prototype.dispose = function() { var _c0w = null; this._stop(), this.kira = null, this.light_ss_yellow_01 = null, this.light_ss_yellow_02 = null, this.animationSpeed = null; }, _c0n.prototype._playTextureSwitchTween = function(_c0x) { var _c0y = null, _c0z = this, _c10 = createjs.Tween.get(this); switch (_c10.loop = !0, _c0x) { case 0: _c10.call(function() { var _c11 = null; _c0z.kira.texture = _c0z.light_ss_yellow_01; }).wait(3 * this.UpdateInterval).call(function() { var _c12 = null; _c0z.kira.texture = _c0z.light_ss_yellow_02; }).wait(2 * this.UpdateInterval); break; case 1: _c10.call(function() { var _c13 = null; _c0z.kira.texture = _c0z.light_ss_yellow_01; }).wait(3 * this.UpdateInterval).call(function() { var _c14 = null; _c0z.kira.texture = _c0z.light_ss_yellow_02; }).wait(4 * this.UpdateInterval); break; case 2: _c10.call(function() { var _c15 = null; _c0z.kira.texture = _c0z.light_ss_yellow_01; }).wait(3 * this.UpdateInterval).call(function() { var _c16 = null; _c0z.kira.texture = _c0z.light_ss_yellow_02; }).wait(40); } }, _c0n.prototype._playAlphaTween = function() { var _c17 = null, _c18 = this, _c19 = createjs.Tween.get(this); _c19.loop = !0, _c19.wait(40).call(function() { var _c1a = null; _c18.kira.alpha += _c18.animationSpeed, 1 < _c18.kira.alpha ? _c18.animationSpeed = -(0.3 * Math.random() + 0.1) : _c18.kira.alpha < 0.3 && (_c18.animationSpeed = 0.3 * Math.random() + 0.1); }); }, _c0n.prototype._stop = function() { var _c1b = null; createjs.Tween.removeTweens(this), this.kira.alpha = 0; }, _c0n; }()); _c0j.KiraAnimation = _c0l; }, 80937: function(_c1c, _c1d, _c1e) { 'use strict'; var _c1f = null; var _c1g, _c1h = this && this.__extends || (_c1g = function(_c1i, _c1j) { var _c1k = null; return _c1g = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_c1l, _c1m) { var _c1n = null; _c1l.__proto__ = _c1m; } || function(_c1o, _c1p) { var _c1q = null; for (var _c1r in _c1p) Object.prototype.hasOwnProperty.call(_c1p, _c1r) && (_c1o[_c1r] = _c1p[_c1r]); }, _c1g(_c1i, _c1j); }, function(_c1s, _c1t) { var _c1u = null; if ('function' != typeof _c1t && null !== _c1t) throw new TypeError('Class extends value ' + String(_c1t) + ' is not a constructor or null'); function _c1v() { var _c1w = null; this.constructor = _c1s; } _c1g(_c1s, _c1t), _c1s.prototype = null === _c1t ? Object.create(_c1t) : (_c1v.prototype = _c1t.prototype, new _c1v()); }); defineModule(_c1d); Object.defineProperty(_c1d, '__esModule', { 'value': !0 }), _c1d.BannerIcon = void 0; var _c1x = _c1e(11997), _c1y = function(_c1z) { var _c20 = null; function _c21() { var _c22 = null, _c23 = _c1z.call(this) || this; return _c23._ground = !1, _c23; } return _c1h(_c21, _c1z), _c21.prototype.initialize = function(_c24) { var _c25 = null; this._ground = _c24; }, _c21.prototype.setDamagedIcon = function(_c26) { var _c27 = null; if (25 == _c26) { var _c28 = this._ground ? 114 : 116; this.texture = _c1x.COMMON_MISC.getTexture(_c28), this.visible = !0; } else { if (50 == _c26) _c28 = this._ground ? 113 : 104, (this.texture = _c1x.COMMON_MISC.getTexture(_c28), this.visible = !0); else { if (75 == _c26) _c28 = this._ground ? 109 : 112, (this.texture = _c1x.COMMON_MISC.getTexture(_c28), this.visible = !0); else { if (0 == _c26) _c28 = this._ground ? 108 : 107, (this.texture = _c1x.COMMON_MISC.getTexture(_c28), this.visible = !0); else this.clear(); } } } }, _c21.prototype.setExpeditionIcon = function() { var _c29 = null; this.texture = _c1x.COMMON_MISC.getTexture(105), this.visible = !0; }, _c21.prototype.setRepairIcon = function() { var _c2a = null; this.texture = _c1x.COMMON_MISC.getTexture(115), this.visible = !0; }, _c21.prototype.setTaihiIcon = function() { var _c2b = null; this.texture = _c1x.COMMON_MISC.getTexture(117), this.visible = !0; }, _c21.prototype.clear = function() { var _c2c = null; this.texture = PIXI.Texture.EMPTY, this.visible = !1; }, _c21; }(PIXI.Sprite); _c1d.BannerIcon = _c1y; }, 11053: function(_c2d, _c2e, _c2f) { 'use strict'; var _c2g = null; var _c2h, _c2i = this && this.__extends || (_c2h = function(_c2j, _c2k) { var _c2l = null; return _c2h = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_c2m, _c2n) { var _c2o = null; _c2m.__proto__ = _c2n; } || function(_c2p, _c2q) { var _c2r = null; for (var _c2s in _c2q) Object.prototype.hasOwnProperty.call(_c2q, _c2s) && (_c2p[_c2s] = _c2q[_c2s]); }, _c2h(_c2j, _c2k); }, function(_c2t, _c2u) { var _c2v = null; if ('function' != typeof _c2u && null !== _c2u) throw new TypeError('Class extends value ' + String(_c2u) + ' is not a constructor or null'); function _c2w() { var _c2x = null; this.constructor = _c2t; } _c2h(_c2t, _c2u), _c2t.prototype = null === _c2u ? Object.create(_c2u) : (_c2w.prototype = _c2u.prototype, new _c2w()); }); defineModule(_c2e); Object.defineProperty(_c2e, '__esModule', { 'value': !0 }), _c2e.BannerKirakira = void 0; var _c2y = function(_c2z) { var _c30 = null; function _c31() { var _c32 = null; return null !== _c2z && _c2z.apply(this, arguments) || this; } return _c2i(_c31, _c2z), _c31.prototype.__getPositions__ = function() { return [ [27.75, -14.25], [38.25, 21.75], [-8.25, 35.25], [183, -23.25], [219, -0.75], [210.75, 35.25], [-16, 4], [198, 6], [40, 1], [180, 30] ]; }, _c31.prototype.play = function() { var _c33 = null; _c2z.prototype.stop.call(this), this.visible = !0; for (var _c34 = this.kiraAnimations.length - 4, _c35 = 0; _c35 < _c34; _c35++) { var _c36 = Math.floor(3 * Math.random()); this.kiraAnimations[_c35].play(_c36); } }, _c31.prototype.playStrong = function() { var _c37 = null; _c2z.prototype.stop.call(this), this.visible = !0; for (var _c38 = this.kiraAnimations.length - 2, _c39 = 0; _c39 < _c38; _c39++) { var _c3a = Math.floor(3 * Math.random()); this.kiraAnimations[_c39].play(_c3a); } }, _c31.prototype.playStrongPlus = function() { var _c3b = null; _c2z.prototype.stop.call(this), this.visible = !0; for (var _c3c = 0; _c3c < this.kiraAnimations.length; _c3c++) { var _c3d = Math.floor(3 * Math.random()); this.kiraAnimations[_c3c].play(_c3d); } }, _c31; }(_c2f(18626).BaseKirakira); _c2e.BannerKirakira = _c2y; }, 73747: function(_c3e, _c3f, _c3g) { 'use strict'; var _c3h = null; var _c3i, _c3j = this && this.__extends || (_c3i = function(_c3k, _c3l) { var _c3m = null; return _c3i = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_c3n, _c3o) { var _c3p = null; _c3n.__proto__ = _c3o; } || function(_c3q, _c3r) { var _c3s = null; for (var _c3t in _c3r) Object.prototype.hasOwnProperty.call(_c3r, _c3t) && (_c3q[_c3t] = _c3r[_c3t]); }, _c3i(_c3k, _c3l); }, function(_c3u, _c3v) { var _c3w = null; if ('function' != typeof _c3v && null !== _c3v) throw new TypeError('Class extends value ' + String(_c3v) + ' is not a constructor or null'); function _c3x() { var _c3y = null; this.constructor = _c3u; } _c3i(_c3u, _c3v), _c3u.prototype = null === _c3v ? Object.create(_c3v) : (_c3x.prototype = _c3v.prototype, new _c3x()); }); defineModule(_c3f); Object.defineProperty(_c3f, '__esModule', { 'value': !0 }), _c3f.BannerLockSlot = void 0; var _c3z = _c3g(90054), _c40 = function(_c41) { var _c42 = null; function _c43() { var _c44 = null, _c45 = _c41.call(this) || this; return _c45.arrow = new PIXI.Sprite(_c3z.COMMON_MAIN.getTexture(42)), _c45.lockIcon = new PIXI.Sprite(_c3z.COMMON_MAIN.getTexture(41)), _c45.lockIcon.x = 9, _c45.addChild(_c45.lockIcon), _c45.addChild(_c45.arrow), _c45; } return _c3j(_c43, _c41), _c43.prototype.dispose = function() { var _c46 = null; this.removeChildren(), this.lockIcon = null, this.arrow = null; }, _c43; }(PIXI.Container); _c3f.BannerLockSlot = _c40; }, 4487: function(_c47, _c48, _c49) { 'use strict'; var _c4a = null; var _c4b, _c4c = this && this.__extends || (_c4b = function(_c4d, _c4e) { var _c4f = null; return _c4b = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_c4g, _c4h) { var _c4i = null; _c4g.__proto__ = _c4h; } || function(_c4j, _c4k) { var _c4l = null; for (var _c4m in _c4k) Object.prototype.hasOwnProperty.call(_c4k, _c4m) && (_c4j[_c4m] = _c4k[_c4m]); }, _c4b(_c4d, _c4e); }, function(_c4n, _c4o) { var _c4p = null; if ('function' != typeof _c4o && null !== _c4o) throw new TypeError('Class extends value ' + String(_c4o) + ' is not a constructor or null'); function _c4q() { var _c4r = null; this.constructor = _c4n; } _c4b(_c4n, _c4o), _c4n.prototype = null === _c4o ? Object.create(_c4o) : (_c4q.prototype = _c4o.prototype, new _c4q()); }); defineModule(_c48); Object.defineProperty(_c48, '__esModule', { 'value': !0 }), _c48.BannerPlate = void 0; var _c4s = _c49(69124), _c4t = _c49(71633), _c4u = function(_c4v) { var _c4w = null; function _c4x() { var _c4y = null; return _c4v.call(this) || this; } return _c4c(_c4x, _c4v), _c4x.prototype.update = function(_c4z) { var _c50 = null; this.texture = this._getTexture(_c4z), this.visible = this.texture != PIXI.Texture.EMPTY; }, _c4x.prototype.clear = function() { var _c51 = null; this.update(-1); }, _c4x.prototype._getTexture = function(_c52) { var _c53 = null; if (-1 === _c4t.EventConst.AREA_ID) return PIXI.Texture.EMPTY; switch (_c52) { case 1: return _c4s.COMMON_EVENT.getTexture(4); case 2: return _c4s.COMMON_EVENT.getTexture(10); case 3: return _c4s.COMMON_EVENT.getTexture(12); case 4: return _c4s.COMMON_EVENT.getTexture(14); case 5: return _c4s.COMMON_EVENT.getTexture(16); case 6: return _c4s.COMMON_EVENT.getTexture(18); case 7: return _c4s.COMMON_EVENT.getTexture(20); case 8: return _c4s.COMMON_EVENT.getTexture(22); case 9: return _c4s.COMMON_EVENT.getTexture(24); case 10: return _c4s.COMMON_EVENT.getTexture(5); case 11: return _c4s.COMMON_EVENT.getTexture(7); default: return PIXI.Texture.EMPTY; } }, _c4x; }(PIXI.Sprite); _c48.BannerPlate = _c4u; }, 11575: function(_c54, _c55, _c56) { 'use strict'; var _c57 = null; var _c58, _c59 = this && this.__extends || (_c58 = function(_c5a, _c5b) { var _c5c = null; return _c58 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_c5d, _c5e) { var _c5f = null; _c5d.__proto__ = _c5e; } || function(_c5g, _c5h) { var _c5i = null; for (var _c5j in _c5h) Object.prototype.hasOwnProperty.call(_c5h, _c5j) && (_c5g[_c5j] = _c5h[_c5j]); }, _c58(_c5a, _c5b); }, function(_c5k, _c5l) { var _c5m = null; if ('function' != typeof _c5l && null !== _c5l) throw new TypeError('Class extends value ' + String(_c5l) + ' is not a constructor or null'); function _c5n() { var _c5o = null; this.constructor = _c5k; } _c58(_c5k, _c5l), _c5k.prototype = null === _c5l ? Object.create(_c5l) : (_c5n.prototype = _c5l.prototype, new _c5n()); }); defineModule(_c55); Object.defineProperty(_c55, '__esModule', { 'value': !0 }), _c55.BannerRibbon = void 0; var _c5p = _c56(71736), _c5q = _c56(11997), _c5r = function(_c5s) { var _c5t = null; function _c5u() { var _c5v = null; return _c5s.call(this) || this; } return _c59(_c5u, _c5s), _c5u.prototype.update = function(_c5w) { var _c5x = null; if (this.clear(), _c5w == _c5p.RibbonType.BLUE) { var _c5y = new PIXI.Sprite(_c5q.COMMON_MISC.getTexture(110)); this.addChild(_c5y); } else _c5w == _c5p.RibbonType.WHITE && (_c5y = new PIXI.Sprite(_c5q.COMMON_MISC.getTexture(111)), this.addChild(_c5y)); }, _c5u.prototype.clear = function() { var _c5z = null; this.removeChildren(); }, _c5u.prototype.dispose = function() { var _c60 = null; this.clear(); }, _c5u; }(PIXI.Container); _c55.BannerRibbon = _c5r; }, 63552: function(_c61, _c62, _c63) { 'use strict'; var _c64 = null; var _c65, _c66 = this && this.__extends || (_c65 = function(_c67, _c68) { var _c69 = null; return _c65 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_c6a, _c6b) { var _c6c = null; _c6a.__proto__ = _c6b; } || function(_c6d, _c6e) { var _c6f = null; for (var _c6g in _c6e) Object.prototype.hasOwnProperty.call(_c6e, _c6g) && (_c6d[_c6g] = _c6e[_c6g]); }, _c65(_c67, _c68); }, function(_c6h, _c6i) { var _c6j = null; if ('function' != typeof _c6i && null !== _c6i) throw new TypeError('Class extends value ' + String(_c6i) + ' is not a constructor or null'); function _c6k() { var _c6l = null; this.constructor = _c6h; } _c65(_c6h, _c6i), _c6h.prototype = null === _c6i ? Object.create(_c6i) : (_c6k.prototype = _c6i.prototype, new _c6k()); }); defineModule(_c62); Object.defineProperty(_c62, '__esModule', { 'value': !0 }), _c62.BannerRibbonLong = void 0; var _c6m = _c63(71736), _c6n = _c63(11997), _c6o = function(_c6p) { var _c6q = null; function _c6r() { var _c6s = null; return _c6p.call(this) || this; } return _c66(_c6r, _c6p), _c6r.prototype.update = function(_c6t) { var _c6u = null; if (this.clear(), _c6t == _c6m.RibbonType.BLUE) { var _c6v = new PIXI.Sprite(_c6n.COMMON_MISC.getTexture(180)); this.addChild(_c6v); } else _c6t == _c6m.RibbonType.WHITE && (_c6v = new PIXI.Sprite(_c6n.COMMON_MISC.getTexture(181)), this.addChild(_c6v)); }, _c6r.prototype.clear = function() { var _c6w = null; this.removeChildren(); }, _c6r.prototype.dispose = function() { var _c6x = null; this.clear(); }, _c6r; }(PIXI.Container); _c62.BannerRibbonLong = _c6o; }, 32961: function(_c6y, _c6z, _c70) { 'use strict'; var _c71 = null; var _c72, _c73 = this && this.__extends || (_c72 = function(_c74, _c75) { var _c76 = null; return _c72 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_c77, _c78) { var _c79 = null; _c77.__proto__ = _c78; } || function(_c7a, _c7b) { var _c7c = null; for (var _c7d in _c7b) Object.prototype.hasOwnProperty.call(_c7b, _c7d) && (_c7a[_c7d] = _c7b[_c7d]); }, _c72(_c74, _c75); }, function(_c7e, _c7f) { var _c7g = null; if ('function' != typeof _c7f && null !== _c7f) throw new TypeError('Class extends value ' + String(_c7f) + ' is not a constructor or null'); function _c7h() { var _c7i = null; this.constructor = _c7e; } _c72(_c7e, _c7f), _c7e.prototype = null === _c7f ? Object.create(_c7f) : (_c7h.prototype = _c7f.prototype, new _c7h()); }); defineModule(_c6z); Object.defineProperty(_c6z, '__esModule', { 'value': !0 }), _c6z.BannerSmoke = void 0; var _c7j = _c70(90054), _c7k = function(_c7l) { var _c7m = null; function _c7n() { var _c7o = null, _c7p = _c7l.call(this) || this, _c7q = _c7j.COMMON_MAIN.getTexture(33), _c7r = new PIXI.Sprite(_c7q), _c7s = new PIXI.Sprite(_c7q), _c7t = new PIXI.Sprite(_c7q), _c7u = new PIXI.Sprite(_c7q), _c7v = new PIXI.Sprite(_c7q), _c7w = new PIXI.Sprite(_c7q); return _c7p.addChild(_c7r, _c7s, _c7t, _c7u, _c7v, _c7w), _c7u.scale.x = _c7v.scale.x = _c7w.scale.x = -1, _c7r.anchor.set(0.5, 0.613793103448276), _c7s.anchor.set(0.5, 0.613793103448276), _c7t.anchor.set(0.5, 0.613793103448276), _c7u.anchor.set(0.5, 0.613793103448276), _c7v.anchor.set(0.5, 0.613793103448276), _c7w.anchor.set(0.5, 0.613793103448276), _c7r.alpha = _c7s.alpha = _c7t.alpha = 0, _c7u.alpha = _c7v.alpha = _c7w.alpha = 0, _c7p.kemuri_L_0 = _c7r, _c7p.kemuri_L_1 = _c7s, _c7p.kemuri_L_2 = _c7t, _c7p.kemuri_R_0 = _c7u, _c7p.kemuri_R_1 = _c7v, _c7p.kemuri_R_2 = _c7w, _c7p.stop(), _c7p; } return _c73(_c7n, _c7l), _c7n.prototype.play = function(_c7x) { var _c7y = null; switch (_c7x) { case 75: this._play(1000); break; case 50: this._play(500); break; case 25: this._play(200); break; default: this.stop(); } }, _c7n.prototype._play = function(_c7z) { var _c80 = null; this.stop(); var _c81 = createjs.Tween.get(this.kemuri_L_0).wait(_c7z).to({ 'x': -18, 'y': 29, 'width': 3.15, 'height': 3.9, 'alpha': 1 }).to({ 'x': -17.325, 'y': 39, 'width': 118.5, 'height': 143.175 }, 400).to({ 'x': -18, 'y': 39, 'width': 139.5, 'height': 168.525, 'alpha': 0 }, 400).wait(400), _c82 = createjs.Tween.get(this.kemuri_L_1).wait(_c7z).wait(200).to({ 'x': -42, 'y': 5, 'width': 3.15, 'height': 3.9, 'alpha': 1 }).to({ 'x': -42, 'y': 5, 'width': 180, 'height': 218 }, 400).to({ 'x': -42, 'y': 5, 'width': 225, 'height': 271.875, 'alpha': 0 }, 400).wait(200), _c83 = createjs.Tween.get(this.kemuri_L_2).wait(_c7z).wait(500).to({ 'x': -42, 'y': -27, 'width': 3.15, 'height': 3.9, 'alpha': 1 }).to({ 'x': -42, 'y': -27, 'width': 180, 'height': 218 }, 300).to({ 'x': -42, 'y': -27, 'width': 225, 'height': 271.875, 'alpha': 0 }, 400), _c84 = createjs.Tween.get(this.kemuri_R_0).wait(_c7z).to({ 'x': 246, 'y': 39, 'width': 3.15, 'height': 3.9, 'alpha': 1 }).to({ 'x': 266, 'y': 29, 'width': 118.5, 'height': 143.175 }, 400).to({ 'x': 282, 'y': 11, 'width': 139.5, 'height': 168.525, 'alpha': 0 }, 400).wait(400), _c85 = createjs.Tween.get(this.kemuri_R_1).wait(_c7z).wait(200).to({ 'x': 288, 'y': 5, 'width': 2.1, 'height': 2.6, 'alpha': 1 }).to({ 'x': 288, 'y': 5, 'width': 180, 'height': 217.5 }, 400).to({ 'x': 288, 'y': 5, 'width': 225, 'height': 271.875, 'alpha': 0 }, 400).wait(200), _c86 = createjs.Tween.get(this.kemuri_R_2).wait(_c7z).wait(500).to({ 'x': 288, 'y': -27, 'width': 3.15, 'height': 3.9, 'alpha': 1 }).to({ 'x': 288, 'y': -27, 'width': 180, 'height': 217.5 }, 300).to({ 'x': 288, 'y': -27, 'width': 225, 'height': 271.875, 'alpha': 0 }, 400); _c81.loop = _c82.loop = _c83.loop = !0, _c84.loop = _c85.loop = _c86.loop = !0, this.tweenKemuri_L_0 = _c81, this.tweenKemuri_L_1 = _c82, this.tweenKemuri_L_2 = _c83, this.tweenKemuri_R_0 = _c84, this.tweenKemuri_R_1 = _c85, this.tweenKemuri_R_2 = _c86, this.visible = !0; }, _c7n.prototype.stop = function() { var _c87 = null; this.kemuri_L_0.width = this.kemuri_L_0.texture.width, this.kemuri_L_0.height = this.kemuri_L_0.texture.height, this.kemuri_L_1.width = this.kemuri_L_1.texture.width, this.kemuri_L_1.height = this.kemuri_L_1.texture.height, this.kemuri_L_2.width = this.kemuri_L_2.texture.width, this.kemuri_L_2.height = this.kemuri_L_2.texture.height, this.kemuri_R_0.width = this.kemuri_R_0.texture.width, this.kemuri_R_0.height = this.kemuri_R_0.texture.height, this.kemuri_R_1.width = this.kemuri_R_1.texture.width, this.kemuri_R_1.height = this.kemuri_R_1.texture.height, this.kemuri_R_2.width = this.kemuri_R_2.texture.width, this.kemuri_R_2.height = this.kemuri_R_2.texture.height, null != this.tweenKemuri_L_0 && (this.tweenKemuri_L_0.setPaused(!0), createjs.Tween.removeTweens(this.tweenKemuri_L_0.target)), null != this.tweenKemuri_L_1 && (this.tweenKemuri_L_1.setPaused(!0), createjs.Tween.removeTweens(this.tweenKemuri_L_1.target)), null != this.tweenKemuri_L_2 && (this.tweenKemuri_L_2.setPaused(!0), createjs.Tween.removeTweens(this.tweenKemuri_L_2.target)), null != this.tweenKemuri_R_0 && (this.tweenKemuri_R_0.setPaused(!0), createjs.Tween.removeTweens(this.tweenKemuri_R_0.target)), null != this.tweenKemuri_R_1 && (this.tweenKemuri_R_1.setPaused(!0), createjs.Tween.removeTweens(this.tweenKemuri_R_1.target)), null != this.tweenKemuri_R_2 && (this.tweenKemuri_R_2.setPaused(!0), createjs.Tween.removeTweens(this.tweenKemuri_R_2.target)), this.kemuri_L_0.alpha = this.kemuri_L_1.alpha = this.kemuri_L_2.alpha = 0, this.kemuri_R_0.alpha = this.kemuri_R_1.alpha = this.kemuri_R_2.alpha = 0, this.tweenKemuri_L_0 = null, this.tweenKemuri_L_1 = null, this.tweenKemuri_L_2 = null, this.tweenKemuri_R_0 = null, this.tweenKemuri_R_1 = null, this.tweenKemuri_R_2 = null, this.visible = !1; }, _c7n.prototype.dispose = function() { var _c88 = null; this.stop(), this.removeChild(this.kemuri_L_0), this.removeChild(this.kemuri_L_1), this.removeChild(this.kemuri_L_2), this.removeChild(this.kemuri_R_0), this.removeChild(this.kemuri_R_1), this.removeChild(this.kemuri_R_2), this.kemuri_L_0 = null, this.kemuri_L_1 = null, this.kemuri_L_2 = null, this.kemuri_R_0 = null, this.kemuri_R_1 = null, this.kemuri_R_2 = null; }, _c7n; }(PIXI.Container); _c6z.BannerSmoke = _c7k; }, 77076: function(_c89, _c8a, _c8b) { 'use strict'; var _c8c = null; var _c8d, _c8e = this && this.__extends || (_c8d = function(_c8f, _c8g) { var _c8h = null; return _c8d = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_c8i, _c8j) { var _c8k = null; _c8i.__proto__ = _c8j; } || function(_c8l, _c8m) { var _c8n = null; for (var _c8o in _c8m) Object.prototype.hasOwnProperty.call(_c8m, _c8o) && (_c8l[_c8o] = _c8m[_c8o]); }, _c8d(_c8f, _c8g); }, function(_c8p, _c8q) { var _c8r = null; if ('function' != typeof _c8q && null !== _c8q) throw new TypeError('Class extends value ' + String(_c8q) + ' is not a constructor or null'); function _c8s() { var _c8t = null; this.constructor = _c8p; } _c8d(_c8p, _c8q), _c8p.prototype = null === _c8q ? Object.create(_c8q) : (_c8s.prototype = _c8q.prototype, new _c8s()); }); defineModule(_c8a); Object.defineProperty(_c8a, '__esModule', { 'value': !0 }), _c8a.BannerSoot = void 0; var _c8u = _c8b(11997), _c8v = function(_c8w) { var _c8x = null; function _c8y() { var _c8z = null; return _c8w.call(this) || this; } return _c8e(_c8y, _c8w), _c8y.prototype.update = function(_c90) { var _c91 = null; 25 == _c90 ? (this.texture = _c8u.COMMON_MISC.getTexture(103), this.visible = !0) : 50 == _c90 ? (this.texture = _c8u.COMMON_MISC.getTexture(101), this.visible = !0) : 75 == _c90 ? (this.texture = _c8u.COMMON_MISC.getTexture(102), this.visible = !0) : this.clear(); }, _c8y.prototype.clear = function() { var _c92 = null; this.texture = PIXI.Texture.EMPTY, this.visible = !1; }, _c8y; }(PIXI.Sprite); _c8a.BannerSoot = _c8v; }, 54934: function(_c93, _c94, _c95) { 'use strict'; var _c96 = null; var _c97, _c98 = this && this.__extends || (_c97 = function(_c99, _c9a) { var _c9b = null; return _c97 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_c9c, _c9d) { var _c9e = null; _c9c.__proto__ = _c9d; } || function(_c9f, _c9g) { var _c9h = null; for (var _c9i in _c9g) Object.prototype.hasOwnProperty.call(_c9g, _c9i) && (_c9f[_c9i] = _c9g[_c9i]); }, _c97(_c99, _c9a); }, function(_c9j, _c9k) { var _c9l = null; if ('function' != typeof _c9k && null !== _c9k) throw new TypeError('Class extends value ' + String(_c9k) + ' is not a constructor or null'); function _c9m() { var _c9n = null; this.constructor = _c9j; } _c97(_c9j, _c9k), _c9j.prototype = null === _c9k ? Object.create(_c9k) : (_c9m.prototype = _c9k.prototype, new _c9m()); }); defineModule(_c94); Object.defineProperty(_c94, '__esModule', { 'value': !0 }), _c94.BannerTired = void 0; var _c9o = _c95(11997), _c9p = function(_c9q) { var _c9r = null; function _c9s() { var _c9t = null; return _c9q.call(this) || this; } return _c98(_c9s, _c9q), _c9s.prototype.update = function(_c9u) { var _c9v = null; if (this.clear(), _c9u < 20) { var _c9w = new PIXI.Sprite(_c9o.COMMON_MISC.getTexture(40)); (_c9x = new PIXI.Sprite(_c9o.COMMON_MISC.getTexture(120))).x = Math.floor(_c9w.width - _c9x.width / 2 - 3), _c9x.y = Math.floor(_c9w.height / 2 - _c9x.height / 2), _c9w.x = 240 - _c9w.texture.width, _c9w.addChild(_c9x), this.addChild(_c9w); } else { if (_c9u < 30) { var _c9x; _c9w = new PIXI.Sprite(_c9o.COMMON_MISC.getTexture(39)), ((_c9x = new PIXI.Sprite(_c9o.COMMON_MISC.getTexture(119))).x = Math.floor(_c9w.width - _c9x.width / 2), _c9x.y = Math.floor(_c9w.height / 2 - _c9x.height / 2), _c9w.x = 240 - _c9w.texture.width, _c9w.addChild(_c9x), this.addChild(_c9w)); } } }, _c9s.prototype.clear = function() { var _c9y = null; this.removeChildren(); }, _c9s.prototype.dispose = function() { var _c9z = null; this.clear(); }, _c9s; }(PIXI.Container); _c94.BannerTired = _c9p; }, 54061: function(_ca0, _ca1, _ca2) { 'use strict'; var _ca3 = null; var _ca4, _ca5 = this && this.__extends || (_ca4 = function(_ca6, _ca7) { var _ca8 = null; return _ca4 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ca9, _caa) { var _cab = null; _ca9.__proto__ = _caa; } || function(_cac, _cad) { var _cae = null; for (var _caf in _cad) Object.prototype.hasOwnProperty.call(_cad, _caf) && (_cac[_caf] = _cad[_caf]); }, _ca4(_ca6, _ca7); }, function(_cag, _cah) { var _cai = null; if ('function' != typeof _cah && null !== _cah) throw new TypeError('Class extends value ' + String(_cah) + ' is not a constructor or null'); function _caj() { var _cak = null; this.constructor = _cag; } _ca4(_cag, _cah), _cag.prototype = null === _cah ? Object.create(_cah) : (_caj.prototype = _cah.prototype, new _caj()); }); defineModule(_ca1); Object.defineProperty(_ca1, '__esModule', { 'value': !0 }), _ca1.CenteringSprite = void 0; var _cal = function(_cam) { var _can = null; function _cao(_cap) { var _caq = null, _car = _cam.call(this) || this; return _car._img = new PIXI.Sprite(), _car.addChild(_car._img), _car.texture = _cap, _car; } return _ca5(_cao, _cam), Object.defineProperty(_cao.prototype, 'texture', { 'get': function() { var _cas = null; return this._img.texture; }, 'set': function(_cat) { var _cau = null; null == _cat ? (this._img.texture = PIXI.Texture.EMPTY, this._img.position.set(0)) : (this._img.texture = _cat, this._img.x = -Math.round(_cat.width / 2), this._img.y = -Math.round(_cat.height / 2)); }, 'enumerable': !1, 'configurable': !0 }), _cao; }(_ca2(45054).Container); _ca1.CenteringSprite = _cal; }, 45054: function(_cav, _caw) { 'use strict'; var _cax = null; var _cay, _caz = this && this.__extends || (_cay = function(_cb0, _cb1) { var _cb2 = null; return _cay = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_cb3, _cb4) { var _cb5 = null; _cb3.__proto__ = _cb4; } || function(_cb6, _cb7) { var _cb8 = null; for (var _cb9 in _cb7) Object.prototype.hasOwnProperty.call(_cb7, _cb9) && (_cb6[_cb9] = _cb7[_cb9]); }, _cay(_cb0, _cb1); }, function(_cba, _cbb) { var _cbc = null; if ('function' != typeof _cbb && null !== _cbb) throw new TypeError('Class extends value ' + String(_cbb) + ' is not a constructor or null'); function _cbd() { var _cbe = null; this.constructor = _cba; } _cay(_cba, _cbb), _cba.prototype = null === _cbb ? Object.create(_cbb) : (_cbd.prototype = _cbb.prototype, new _cbd()); }); defineModule(_caw); Object.defineProperty(_caw, '__esModule', { 'value': !0 }), _caw.Container = void 0; var _cbf = function(_cbg) { var _cbh = null; function _cbi() { var _cbj = null; return null !== _cbg && _cbg.apply(this, arguments) || this; } return _caz(_cbi, _cbg), Object.defineProperty(_cbi.prototype, 'scaleX', { 'get': function() { var _cbk = null; return this.scale.x; }, 'set': function(_cbl) { var _cbm = null; this.scale.x = _cbl; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_cbi.prototype, 'scaleY', { 'get': function() { var _cbn = null; return this.scale.y; }, 'set': function(_cbo) { var _cbp = null; this.scale.y = _cbo; }, 'enumerable': !1, 'configurable': !0 }), _cbi; }(PIXI.Container); _caw.Container = _cbf; }, 54011: function(_cbq, _cbr) { 'use strict'; var _cbs = null; var _cbt, _cbu = this && this.__extends || (_cbt = function(_cbv, _cbw) { var _cbx = null; return _cbt = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_cby, _cbz) { var _cc0 = null; _cby.__proto__ = _cbz; } || function(_cc1, _cc2) { var _cc3 = null; for (var _cc4 in _cc2) Object.prototype.hasOwnProperty.call(_cc2, _cc4) && (_cc1[_cc4] = _cc2[_cc4]); }, _cbt(_cbv, _cbw); }, function(_cc5, _cc6) { var _cc7 = null; if ('function' != typeof _cc6 && null !== _cc6) throw new TypeError('Class extends value ' + String(_cc6) + ' is not a constructor or null'); function _cc8() { var _cc9 = null; this.constructor = _cc5; } _cbt(_cc5, _cc6), _cc5.prototype = null === _cc6 ? Object.create(_cc6) : (_cc8.prototype = _cc6.prototype, new _cc8()); }); defineModule(_cbr); Object.defineProperty(_cbr, '__esModule', { 'value': !0 }), _cbr.Sprite = void 0; var _cca = function(_ccb) { var _ccc = null; function _ccd(_cce) { var _ccf = null; return _ccb.call(this, _cce) || this; } return _cbu(_ccd, _ccb), Object.defineProperty(_ccd.prototype, 'scaleX', { 'get': function() { var _ccg = null; return this.scale.x; }, 'set': function(_cch) { var _cci = null; this.scale.x = _cch; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_ccd.prototype, 'scaleY', { 'get': function() { var _ccj = null; return this.scale.y; }, 'set': function(_cck) { var _ccl = null; this.scale.y = _cck; }, 'enumerable': !1, 'configurable': !0 }), _ccd; }(PIXI.Sprite); _cbr.Sprite = _cca; }, 55233: function(_ccm, _ccn, _cco) { 'use strict'; var _ccp = null; var _ccq, _ccr = this && this.__extends || (_ccq = function(_ccs, _cct) { var _ccu = null; return _ccq = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ccv, _ccw) { var _ccx = null; _ccv.__proto__ = _ccw; } || function(_ccy, _ccz) { var _cd0 = null; for (var _cd1 in _ccz) Object.prototype.hasOwnProperty.call(_ccz, _cd1) && (_ccy[_cd1] = _ccz[_cd1]); }, _ccq(_ccs, _cct); }, function(_cd2, _cd3) { var _cd4 = null; if ('function' != typeof _cd3 && null !== _cd3) throw new TypeError('Class extends value ' + String(_cd3) + ' is not a constructor or null'); function _cd5() { var _cd6 = null; this.constructor = _cd2; } _ccq(_cd2, _cd3), _cd2.prototype = null === _cd3 ? Object.create(_cd3) : (_cd5.prototype = _cd3.prototype, new _cd5()); }); defineModule(_ccn); Object.defineProperty(_ccn, '__esModule', { 'value': !0 }), _ccn.BackBtn = void 0; var _cd7 = _cco(11997), _cd8 = function(_cd9) { var _cda = null; function _cdb() { var _cdc = null; return null !== _cd9 && _cd9.apply(this, arguments) || this; } return _ccr(_cdb, _cd9), _cdb.prototype._update = function(_cdd) { var _cde = null; this.texture = 0 == _cdd ? _cd7.COMMON_MISC.getTexture(24) : _cd7.COMMON_MISC.getTexture(25); }, _cdb; }(_cco(57257).BtnBase); _ccn.BackBtn = _cd8; }, 36800: function(_cdf, _cdg, _cdh) { 'use strict'; var _cdi = null; var _cdj, _cdk = this && this.__extends || (_cdj = function(_cdl, _cdm) { var _cdn = null; return _cdj = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_cdo, _cdp) { var _cdq = null; _cdo.__proto__ = _cdp; } || function(_cdr, _cds) { var _cdt = null; for (var _cdu in _cds) Object.prototype.hasOwnProperty.call(_cds, _cdu) && (_cdr[_cdu] = _cds[_cdu]); }, _cdj(_cdl, _cdm); }, function(_cdv, _cdw) { var _cdx = null; if ('function' != typeof _cdw && null !== _cdw) throw new TypeError('Class extends value ' + String(_cdw) + ' is not a constructor or null'); function _cdy() { var _cdz = null; this.constructor = _cdv; } _cdj(_cdv, _cdw), _cdv.prototype = null === _cdw ? Object.create(_cdw) : (_cdy.prototype = _cdw.prototype, new _cdy()); }); defineModule(_cdg); Object.defineProperty(_cdg, '__esModule', { 'value': !0 }), _cdg.BtnBase = void 0; var _ce0 = _cdh(35380), _ce1 = function(_ce2) { var _ce3 = null; function _ce4() { var _ce5 = null, _ce6 = _ce2.call(this) || this; return _ce6._activated = !1, _ce6._enabled = !0, _ce6.__onMouseOver = function() { var _ce7 = null; _ce6._update(!0); }, _ce6.__onMouseOut = function() { var _ce8 = null; _ce6._update(!1); }, _ce6.__onClick = function() { var _ce9 = null; null != _ce6._cb_onClick && _ce6._cb_onClick(); }, _ce6.interactive = !0, _ce6; } return _cdk(_ce4, _ce2), Object.defineProperty(_ce4.prototype, 'enabled', { 'get': function() { var _cea = null; return this._enabled; }, 'set': function(_ceb) { var _cec = null; this._enabled != _ceb && (this._enabled = _ceb, 1 == this._enabled && 1 == this._activated ? this._activate() : this._deactivate(), this._update(!1)); }, 'enumerable': !1, 'configurable': !0 }), _ce4.prototype.initialize = function(_ced) { var _cee = null; void 0 === _ced && (_ced = null), this._deactivate(), this._cb_onClick = _ced, 1 == this._enabled && 1 == this._activated && this.activate(), this._update(!1); }, _ce4.prototype.activate = function() { var _cef = null; this._activated = !0, 1 != this.buttonMode && 0 != this.enabled && this._activate(); }, _ce4.prototype.deactivate = function() { var _ceg = null; this._activated = !1, this._deactivate(); }, _ce4.prototype.dispose = function() { var _ceh = null; this.deactivate(), this._cb_onClick = null; }, _ce4.prototype._activate = function() { var _cei = null; this.buttonMode = !0, this.on(_ce0.EventType.MOUSEOVER, this._onMouseOver), this.on(_ce0.EventType.MOUSEOUT, this._onMouseOut), this.on(_ce0.EventType.CLICK, this._onClick); }, _ce4.prototype._deactivate = function() { var _cej = null; this.buttonMode = !1, this.off(_ce0.EventType.MOUSEOVER, this._onMouseOver), this.off(_ce0.EventType.MOUSEOUT, this._onMouseOut), this.off(_ce0.EventType.CLICK, this._onClick); }, _ce4.prototype._onMouseOver = function() { var _cek = null; this.__onMouseOver(); }, _ce4.prototype._onMouseOut = function() { var _cel = null; this.__onMouseOut(); }, _ce4.prototype._onClick = function() { var _cem = null; this.__onClick(); }, _ce4; }(PIXI.Sprite); _cdg.BtnBase = _ce1; }, 14995: function(_cen, _ceo, _cep) { 'use strict'; var _ceq = null; var _cer, _ces = this && this.__extends || (_cer = function(_cet, _ceu) { var _cev = null; return _cer = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_cew, _cex) { var _cey = null; _cew.__proto__ = _cex; } || function(_cez, _cf0) { var _cf1 = null; for (var _cf2 in _cf0) Object.prototype.hasOwnProperty.call(_cf0, _cf2) && (_cez[_cf2] = _cf0[_cf2]); }, _cer(_cet, _ceu); }, function(_cf3, _cf4) { var _cf5 = null; if ('function' != typeof _cf4 && null !== _cf4) throw new TypeError('Class extends value ' + String(_cf4) + ' is not a constructor or null'); function _cf6() { var _cf7 = null; this.constructor = _cf3; } _cer(_cf3, _cf4), _cf3.prototype = null === _cf4 ? Object.create(_cf4) : (_cf6.prototype = _cf4.prototype, new _cf6()); }); defineModule(_ceo); Object.defineProperty(_ceo, '__esModule', { 'value': !0 }), _ceo.GetIcon = void 0; var _cf8 = _cep(11997), _cf9 = function(_cfa) { var _cfb = null; function _cfc() { var _cfd = null, _cfe = _cfa.call(this) || this; return _cfe.SWING = 0.1, _cfe.R_SPEED = 30 / createjs.Ticker.framerate * 0.12, _cfe._init_scale = 1, _cfe._rad = 0, _cfe._onChange = function() { var _cff = null; _cfe._rad += _cfe.R_SPEED; var _cfg = _cfe._init_scale + _cfe.SWING * Math.sin(_cfe._rad); _cfe.scale.set(_cfg); }, _cfe.anchor.set(0.5), _cfe.visible = !1, _cfe; } return _ces(_cfc, _cfa), _cfc.prototype.initialize = function() { var _cfh = null; this.texture = _cf8.COMMON_MISC.getTexture(75); }, _cfc.prototype.activate = function() { var _cfi = null; null == this._t && (this._t = createjs.Tween.get(null, { 'loop': !0, 'onChange': this._onChange }), this.visible = !0); }, _cfc.prototype.deactivate = function() { var _cfj = null; null != this._t && (this._t.setPaused(!0), this._t = null, this.visible = !1); }, _cfc.prototype.dispose = function() { var _cfk = null; this.deactivate(); }, _cfc; }(PIXI.Sprite); _ceo.GetIcon = _cf9; }, 63865: function(_cfl, _cfm, _cfn) { 'use strict'; var _cfo = null; var _cfp, _cfq = this && this.__extends || (_cfp = function(_cfr, _cfs) { var _cft = null; return _cfp = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_cfu, _cfv) { var _cfw = null; _cfu.__proto__ = _cfv; } || function(_cfx, _cfy) { var _cfz = null; for (var _cg0 in _cfy) Object.prototype.hasOwnProperty.call(_cfy, _cg0) && (_cfx[_cg0] = _cfy[_cg0]); }, _cfp(_cfr, _cfs); }, function(_cg1, _cg2) { var _cg3 = null; if ('function' != typeof _cg2 && null !== _cg2) throw new TypeError('Class extends value ' + String(_cg2) + ' is not a constructor or null'); function _cg4() { var _cg5 = null; this.constructor = _cg1; } _cfp(_cg1, _cg2), _cg1.prototype = null === _cg2 ? Object.create(_cg2) : (_cg4.prototype = _cg2.prototype, new _cg4()); }); defineModule(_cfm); Object.defineProperty(_cfm, '__esModule', { 'value': !0 }), _cfm.LevelStar = void 0; var _cg6 = _cfn(45054), _cg7 = _cfn(30221), _cg8 = function(_cg9) { var _cga = null; function _cgb() { var _cgc = null; return _cg9.call(this) || this; } return _cfq(_cgb, _cg9), _cgb.prototype.update = function(_cgd) { var _cge = null; if (null == this._star && (this._star = new PIXI.Sprite(), this.addChild(this._star)), null == this._plus && (this._plus = new PIXI.Sprite(_cg7.COMMON_STARS.getTexture(10)), this._plus.position.set(33, 6), this.addChild(this._plus)), null == this._level && (this._level = new PIXI.Sprite(), this._level.position.set(60, 0), this.addChild(this._level)), _cgd < 1) this._star.visible = !1, this._plus.visible = !1, this._level.visible = !1; else { if (_cgd > 9) this._star.texture = _cg7.COMMON_STARS.getTexture(9), this._star.position.set(2, -7), this._star.visible = !0, this._plus.visible = !1, this._level.visible = !1; else { switch (this._star.texture = _cg7.COMMON_STARS.getTexture(11), _cgd) { case 1: this._level.texture = _cg7.COMMON_STARS.getTexture(0); break; case 2: this._level.texture = _cg7.COMMON_STARS.getTexture(1); break; case 3: this._level.texture = _cg7.COMMON_STARS.getTexture(2); break; case 4: this._level.texture = _cg7.COMMON_STARS.getTexture(3); break; case 5: this._level.texture = _cg7.COMMON_STARS.getTexture(4); break; case 6: this._level.texture = _cg7.COMMON_STARS.getTexture(5); break; case 7: this._level.texture = _cg7.COMMON_STARS.getTexture(6); break; case 8: this._level.texture = _cg7.COMMON_STARS.getTexture(7); break; case 9: this._level.texture = _cg7.COMMON_STARS.getTexture(8); } this._star.visible = !0, this._plus.visible = !0, this._level.visible = !0; } } }, _cgb.prototype.dispose = function() { var _cgf = null; this.removeChildren(), this._star.destroy(), this._star = null, this._plus.destroy(), this._plus = null, this._level.destroy(), this._level = null; }, _cgb; }(_cg6.Container); _cfm.LevelStar = _cg8; }, 62814: function(_cgg, _cgh, _cgi) { 'use strict'; var _cgj = null; var _cgk, _cgl = this && this.__extends || (_cgk = function(_cgm, _cgn) { var _cgo = null; return _cgk = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_cgp, _cgq) { var _cgr = null; _cgp.__proto__ = _cgq; } || function(_cgs, _cgt) { var _cgu = null; for (var _cgv in _cgt) Object.prototype.hasOwnProperty.call(_cgt, _cgv) && (_cgs[_cgv] = _cgt[_cgv]); }, _cgk(_cgm, _cgn); }, function(_cgw, _cgx) { var _cgy = null; if ('function' != typeof _cgx && null !== _cgx) throw new TypeError('Class extends value ' + String(_cgx) + ' is not a constructor or null'); function _cgz() { var _ch0 = null; this.constructor = _cgw; } _cgk(_cgw, _cgx), _cgw.prototype = null === _cgx ? Object.create(_cgx) : (_cgz.prototype = _cgx.prototype, new _cgz()); }); defineModule(_cgh); Object.defineProperty(_cgh, '__esModule', { 'value': !0 }), _cgh.MedalIcon = void 0; var _ch1 = _cgi(11997), _ch2 = _cgi(8744), _ch3 = function(_ch4) { var _ch5 = null; function _ch6() { var _ch7 = null, _ch8 = _ch4.call(this) || this; return _ch8.visible = !1, _ch8; } return _cgl(_ch6, _ch4), _ch6.prototype.initialize = function() { var _ch9 = null; this._icon = new PIXI.Sprite(_ch1.COMMON_MISC.getTexture(118)), this._text = new _ch2.TextBox(21, 4999235), this._text.position.set(35, 15), this.addChild(this._icon), this.addChild(this._text); }, _ch6.prototype.update = function(_cha, _chb) { var _chc = null; void 0 === _chb && (_chb = 4999235), _cha > 0 ? (this._text.style.fill = _chb, this._text.text = _cha.toString(), this.visible = !0) : this.visible = !1; }, _ch6.prototype.dispose = function() { var _chd = null; this.removeChildren(), this._text && this._text.destroy(); }, _ch6; }(PIXI.Container); _cgh.MedalIcon = _ch3; }, 27510: function(_che, _chf, _chg) { 'use strict'; var _chh = null; var _chi, _chj = this && this.__extends || (_chi = function(_chk, _chl) { var _chm = null; return _chi = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_chn, _cho) { var _chp = null; _chn.__proto__ = _cho; } || function(_chq, _chr) { var _chs = null; for (var _cht in _chr) Object.prototype.hasOwnProperty.call(_chr, _cht) && (_chq[_cht] = _chr[_cht]); }, _chi(_chk, _chl); }, function(_chu, _chv) { var _chw = null; if ('function' != typeof _chv && null !== _chv) throw new TypeError('Class extends value ' + String(_chv) + ' is not a constructor or null'); function _chx() { var _chy = null; this.constructor = _chu; } _chi(_chu, _chv), _chu.prototype = null === _chv ? Object.create(_chv) : (_chx.prototype = _chv.prototype, new _chx()); }), _chz = this && this.__importDefault || function(_ci0) { var _ci1 = null; return _ci0 && _ci0.__esModule ? _ci0 : { 'default': _ci0 }; }; defineModule(_chf); Object.defineProperty(_chf, '__esModule', { 'value': !0 }), _chf.MessageBox = void 0; var _ci2 = _chg(8744), _ci3 = _chg(14995), _ci4 = _chg(11997), _ci5 = _chz(_chg(21359)), _ci6 = function(_ci7) { var _ci8 = null; function _ci9(_cia) { var _cib = null; void 0 === _cia && (_cia = !0); var _cic = _ci7.call(this) || this; return _cic._stype_name = new _ci2.TextBox(27, 16777215), _cic._stype_name.position.set(116.5, 87), _cic._stype_name.anchor.set(0, 0), _cic._ship_name = new _ci2.TextBox(45, 16777215), _cic._ship_name.position.set(116, 135), _cic._ship_name.anchor.set(0, 0), _cic._ship_name.style.align = 'center', _cic._text = new _ci2.TextBox(27, 16777215), _cic._text.position.set(246, 87), _cic._text.style.breakWords = !0, _cic._text.style.wordWrap = !0, _cic._text.style.wordWrapWidth = 792, _cic.addChild(_cic._stype_name), _cic.addChild(_cic._ship_name), _cic.addChild(_cic._text), 1 == _cia && (_cic._get_icon = new _ci3.GetIcon(), _cic._get_icon.position.set(1068, 53), _cic.addChild(_cic._get_icon)), _cic; } return _chj(_ci9, _ci7), Object.defineProperty(_ci9.prototype, 'text', { 'set': function(_cid) { var _cie = null; this._text.text = _cid; }, 'enumerable': !1, 'configurable': !0 }), _ci9.prototype.initialize = function(_cif) { var _cig = null; this.texture = _ci4.COMMON_MISC.getTexture(127), this._stype_name.text = '', this._ship_name.text = '', this._text.text = '', this._message = _cif.replace(//g, '\x0a').replace(/’/g, '\x27'), null != this._get_icon && this._get_icon.initialize(); }, _ci9.prototype.append = function(_cih) { var _cii = null; this._message = _cih.replace(//g, '\x0a').replace(/’/g, '\x27'); }, _ci9.prototype.initializeForShip = function(_cij, _cik, _cil, _cim) { var _cin = null; for (void 0 === _cim && (_cim = !0), this.texture = _ci4.COMMON_MISC.getTexture(127), this._stype_name.text = _cij, this._ship_name.text = _cik, this._ship_name.width > 216 && _cik.length > 10 && _cim && (this._ship_name.text = this._ship_name.text.replace('\x20', '\x0a')); this._ship_name.width > 216;) this._ship_name.style.fontSize = this._ship_name.style.fontSize - 1; for (; this._stype_name.width > 191;) this._stype_name.style.fontSize = this._stype_name.style.fontSize - 1; this._stype_name.position.x = 21 + Math.floor(95.5 - this._stype_name.width / 2), this._ship_name.position.x = 8 + Math.floor(108 - this._ship_name.width / 2), this._text.text = '', this._message = _cil.replace(//g, '\x0a').replace(/’/g, '\x27'), null != this._get_icon && this._get_icon.initialize(); }, _ci9.prototype.initializeForSlot = function(_cio, _cip, _ciq) { var _cir = null; this.texture = _ci4.COMMON_MISC.getTexture(127), this._stype_name.text = '', this._ship_name.text = '', this._text.text = ''; var _cis = ''; _ciq > 0 && _ciq <= 9 ? _cis = ' ★+' + _ciq + '\x20' : _ciq > 9 && (_cis = ' ★MAX '), this._message = '' ['concat'](_cio).concat(_cis) + 'を', _cip > 1 && (this._message += _cip + '個'), this._message += '手に入れました。', null != this._get_icon && this._get_icon.initialize(); }, _ci9.prototype.initializeForSlot460 = function(_cit, _ciu, _civ) { var _ciw = null; this.texture = _ci4.COMMON_MISC.getTexture(127), this._stype_name.text = '', this._ship_name.text = '', this._text.text = ''; var _cix = ''; _civ > 0 && _civ <= 9 ? _cix = ' ★+' + _civ + '\x20' : _civ > 9 && (_cix = ' ★MAX '), this._message = '' ['concat'](_cit).concat(_cix) + 'を\x0a', _ciu > 1 && (this._message += _ciu + '個'), this._message += '手に入れました。', null != this._get_icon && this._get_icon.initialize(); }, _ci9.prototype.initializeForUseitem = function(_ciy, _ciz) { var _cj0 = null; this.texture = _ci4.COMMON_MISC.getTexture(127), this._stype_name.text = '', this._ship_name.text = '', this._text.text = '', this._message = '鰯' == _ciy ? _ciy + '(イワシ)を' : _ciy + 'を', _ciz > 1 && (this._message += _ciz + '個'), this._message += '手に入れました。', null != this._get_icon && this._get_icon.initialize(); }, _ci9.prototype.initializeForFood = function(_cj1) { var _cj2 = null; this.texture = _ci4.COMMON_MISC.getTexture(127), this._stype_name.text = '', this._ship_name.text = '', this._text.text = '', this._message = '主計科兵站から強奪された「'['concat'](_cj1, '」を、無事回収しました。'), null != this._get_icon && this._get_icon.initialize(); }, _ci9.prototype.initializeForFurniture = function(_cj3) { var _cj4 = null; this.texture = _ci4.COMMON_MISC.getTexture(127), this._stype_name.text = '', this._ship_name.text = '', this._text.text = '', this._message = _cj3 + 'を手に入れました。', null != this._get_icon && this._get_icon.initialize(); }, _ci9.prototype.initializeForDummyUseitem = function(_cj5) { var _cj6 = null; this.texture = _ci4.COMMON_MISC.getTexture(127), this._stype_name.text = '', this._ship_name.text = '', this._text.text = '', 903 == _cj5 ? this._message = '装備運用枠【+3装備分】を' : 904 == _cj5 ? this._message = '装備運用枠【+4装備分】を' : 905 == _cj5 ? this._message = '装備運用枠【+5装備分】を' : 906 == _cj5 && (this._message = '装備運用枠【+2装備分】を'), this._message += '手に入れました。', null != this._get_icon && this._get_icon.initialize(); }, _ci9.prototype.activate = function(_cj7) { var _cj8 = null, _cj9 = this; void 0 === _cj7 && (_cj7 = null), null != this._get_icon && this._get_icon.activate(), null == this._t && null != this._message && 0 != this._message.length && (this._t = createjs.Tween.get(null, { 'loop': !0 }).wait(100).call(function() { var _cja = null, _cjb = _cj9._message.substr(0, 1); '\x20' == _cj9._text.text ? _cj9._text.text = _cjb : _cj9._text.text += _cjb, _cj9._message = _cj9._message.substr(1), 0 == _cj9._message.length && (_cj9._t.setPaused(!0), _cj9._t = null, null != _cj7 && _cj7()); })); }, _ci9.prototype.textCentering = function() { var _cjc = null, _cjd = _ci5.default.width / 2 - this._text.width / 2; this._text.position.set(_cjd, this._text.position.y); }, _ci9.prototype.deactivate = function() { var _cje = null; null != this._get_icon && this._get_icon.deactivate(), null != this._t && (this._t.setPaused(!0), this._t = null); }, _ci9.prototype.dispose = function() { var _cjf = null; this.deactivate(), this.removeChildren(), this._stype_name.destroy(), this._ship_name.destroy(), this._text.destroy(), null != this._get_icon && this._get_icon.dispose(); }, _ci9; }(PIXI.Sprite); _chf.MessageBox = _ci6; }, 60883: function(_cjg, _cjh, _cji) { 'use strict'; var _cjj = null; var _cjk, _cjl = this && this.__extends || (_cjk = function(_cjm, _cjn) { var _cjo = null; return _cjk = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_cjp, _cjq) { var _cjr = null; _cjp.__proto__ = _cjq; } || function(_cjs, _cjt) { var _cju = null; for (var _cjv in _cjt) Object.prototype.hasOwnProperty.call(_cjt, _cjv) && (_cjs[_cjv] = _cjt[_cjv]); }, _cjk(_cjm, _cjn); }, function(_cjw, _cjx) { var _cjy = null; if ('function' != typeof _cjx && null !== _cjx) throw new TypeError('Class extends value ' + String(_cjx) + ' is not a constructor or null'); function _cjz() { var _ck0 = null; this.constructor = _cjw; } _cjk(_cjw, _cjx), _cjw.prototype = null === _cjx ? Object.create(_cjx) : (_cjz.prototype = _cjx.prototype, new _cjz()); }); defineModule(_cjh); Object.defineProperty(_cjh, '__esModule', { 'value': !0 }), _cjh.PhaseTitle = void 0; var _ck1 = _cji(11997), _ck2 = function(_ck3) { var _ck4 = null; function _ck5() { var _ck6 = null, _ck7 = _ck3.call(this) || this; return _ck7._bg = new PIXI.Sprite(), _ck7.addChild(_ck7._bg), _ck7._gear = new PIXI.Sprite(), _ck7._gear.anchor.set(0.5), _ck7._gear.position.set(32, 45), _ck7.addChild(_ck7._gear), _ck7._text = new PIXI.Sprite(), _ck7._text.x = 60, _ck7.addChild(_ck7._text), _ck7; } return _cjl(_ck5, _ck3), _ck5.prototype.initialize = function(_ck8) { var _ck9 = null; 0 == _ck8 ? (this._bg.texture = _ck1.COMMON_MISC.getTexture(182), this._gear.texture = _ck1.COMMON_MISC.getTexture(184)) : (this._bg.texture = _ck1.COMMON_MISC.getTexture(183), this._gear.texture = _ck1.COMMON_MISC.getTexture(185)); }, _ck5.prototype.update = function(_cka) { var _ckb = null; this._text.texture = _cka, this._text.y = Math.round(45 - this._text.height / 2); }, _ck5.prototype.activate = function() { var _ckc = null; null == this._t && (this._t = createjs.Tween.get(this._gear, { 'loop': !0 }).to({ 'rotation': 2 * Math.PI }, 6000)); }, _ck5.prototype.deactivate = function() { var _ckd = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _ck5.prototype.dispose = function() { var _cke = null; this.deactivate(); }, _ck5; }(PIXI.Container); _cjh.PhaseTitle = _ck2; }, 57257: function(_ckf, _ckg, _ckh) { 'use strict'; var _cki = null; var _ckj = this && this.__createBinding || (Object.create ? function(_ckk, _ckl, _ckm, _ckn) { var _cko = null; void 0 === _ckn && (_ckn = _ckm); var _ckp = Object.getOwnPropertyDescriptor(_ckl, _ckm); _ckp && !('get' in _ckp ? !_ckl.__esModule : _ckp.writable || _ckp.configurable) || (_ckp = { 'enumerable': !0, 'get': function() { return _ckl[_ckm]; } }), Object.defineProperty(_ckk, _ckn, _ckp); } : function(_ckq, _ckr, _cks, _ckt) { void 0 === _ckt && (_ckt = _cks), _ckq[_ckt] = _ckr[_cks]; }), _cku = this && this.__exportStar || function(_ckv, _ckw) { var _ckx = null; for (var _cky in _ckv) 'default' === _cky || Object.prototype.hasOwnProperty.call(_ckw, _cky) || _ckj(_ckw, _ckv, _cky); }; defineModule(_ckg); Object.defineProperty(_ckg, '__esModule', { 'value': !0 }), _cku(_ckh(45054), _ckg), _cku(_ckh(54011), _ckg), _cku(_ckh(36800), _ckg), _cku(_ckh(55233), _ckg), _cku(_ckh(62106), _ckg), _cku(_ckh(7344), _ckg), _cku(_ckh(38204), _ckg), _cku(_ckh(37638), _ckg), _cku(_ckh(80937), _ckg), _cku(_ckh(77076), _ckg), _cku(_ckh(43472), _ckg); }, 20962: function(_ckz, _cl0, _cl1) { 'use strict'; var _cl2 = null; var _cl3, _cl4 = this && this.__extends || (_cl3 = function(_cl5, _cl6) { var _cl7 = null; return _cl3 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_cl8, _cl9) { var _cla = null; _cl8.__proto__ = _cl9; } || function(_clb, _clc) { var _cld = null; for (var _cle in _clc) Object.prototype.hasOwnProperty.call(_clc, _cle) && (_clb[_cle] = _clc[_cle]); }, _cl3(_cl5, _cl6); }, function(_clf, _clg) { var _clh = null; if ('function' != typeof _clg && null !== _clg) throw new TypeError('Class extends value ' + String(_clg) + ' is not a constructor or null'); function _cli() { var _clj = null; this.constructor = _clf; } _cl3(_clf, _clg), _clf.prototype = null === _clg ? Object.create(_clg) : (_cli.prototype = _clg.prototype, new _cli()); }); defineModule(_cl0); Object.defineProperty(_cl0, '__esModule', { 'value': !0 }), _cl0.BauxContainer = _cl0.AmmoContainer = _cl0.FuelContainer = void 0; var _clk = _cl1(375), _cll = _cl1(32825), _clm = _cl1(11997), _cln = function(_clo) { var _clp = null; function _clq(_clr, _cls, _clt, _clu) { var _clv = null, _clw = _clo.call(this) || this; _clw._nowLevel = 0, _clw.PLACE_INFOS = _clr; var _clx = {}, _cly = {}, _clz = new PIXI.Container(), _cm0 = [], _cm1 = 0; for (var _cm2 in _clr) if (!1 !== _clr.hasOwnProperty(_cm2)) { var _cm3 = _clr[_cm2]; for (var _cm4 in _cm3) if (!1 !== _cm3.hasOwnProperty(_cm4)) { var _cm5 = _cls.clone(), _cm6 = _cm3[_cm4], _cm7 = _cm6.x, _cm8 = _cm6.y, _cm9 = _cm6.r; _cm5.x = _cm7, _cm5.y = _cm8, _cm5.rotation = Math.PI / 180 * _cm9, _clx[_cm4] = _cm5, _cly[_cm4] = createjs.Tween.get(_cm5), _clz.addChild(_cm5), _cm0.push('m' ['concat'](_cm1 + 1)), _cm1++; } } var _cma = new PIXI.Sprite(_clu), _cmb = new PIXI.Sprite(_clm.COMMON_MISC.getTexture(22)), _cmc = new _cll.SupplyFloor(); _cmc.position.set(0, 165); var _cmd = new PIXI.Graphics(); return _cmd.beginFill(0, 0), _cmd.drawRect(0, 0, 137, 317), _cmd.endFill(), _clw.addChild(_cmc, _cma, _cmb, _clz, _cmd), _clw._materials = _clx, _clw._mask = _cmd, _clw._floor = _cmc, _clw._lastTweens = _cly, _clw._materialContainer = _clz, _clw._materialKeys = _cm0, _clw.MAGIC_NUMBER = _clt, _clw.MATERIAL_COUNT = _cm1, _clw; } return _cl4(_clq, _clo), _clq.prototype.dispose = function() { var _cme = null; for (var _cmf in this.PLACE_INFOS) if (!1 !== this.PLACE_INFOS.hasOwnProperty(_cmf)) { var _cmg = this.PLACE_INFOS[_cmf]; for (var _cmh in _cmg) if (!1 !== _cmg.hasOwnProperty(_cmh)) { var _cmi = this._lastTweens[_cmh], _cmj = this._materials[_cmh]; _cmi && createjs.Tween.removeTweens(_cmi.target), _cmj && _cmj.dispose(), this._lastTweens[_cmh] = null, this._materials[_cmh] = null; } } this._materialContainer.removeChildren(), this._floor.dispose(), this._materialKeys = null, this._nowLevel = null, this._lastTweens = null, this._materials = null, this._materialContainer = null, this._mask = null, this._floor = null, this._materialKeys = null, this._nowLevel = null, this.PLACE_INFOS = null, this.MATERIAL_COUNT = null, this.MAGIC_NUMBER = null, this.removeChildren(); }, _clq.prototype.update = function(_cmk) { var _cml = null, _cmm = 3 * Math.ceil(_cmk / this.MAGIC_NUMBER); _cmm = Math.min(this.MATERIAL_COUNT, _cmm); var _cmn, _cmo, _cmp, _cmq = this._nowLevel; _cmq < _cmm ? (_cmn = _cmq, _cmo = _cmm, _cmp = function(_cmr) { var _cms = null; _cmr.updateRandomTexture(), _cmr.playAdd(); }) : _cmq > _cmm && (_cmn = _cmm, _cmo = _cmq, _cmp = function(_cmt) { var _cmu = null; _cmt.playRemove(); }); for (var _cmv = function(_cmw) { var _cmx = null, _cmy = _cmz._materialKeys[_cmw], _cn0 = _cmz._materials[_cmy], _cn1 = 50 * (_cmw - _cmn), _cn2 = createjs.Tween.get(_cn0), _cn3 = _cmz._lastTweens[_cmy]; _cn2.wait(_cn1).call(function() { var _cn4 = null; _cn3.setPaused(!0), _cmp(_cn0); }), _cmz._lastTweens[_cmy] = _cn2; }, _cmz = this, _cn5 = _cmn; _cn5 < _cmo; _cn5++) _cmv(_cn5); this._nowLevel = _cmm; }, _clq.prototype.playSupply = function(_cn6) { var _cn7 = null, _cn8 = this, _cn9 = this._nowLevel, _cna = function() {}, _cnb = function() { var _cnc = null; _cn8._floor.close(_cn6); }; this._floor.open(function() { for (var _cnd = function(_cne) { var _cnf = null, _cng = _cn8._materialKeys[_cne], _cnh = _cn8._materials[_cng], _cni = 50 * (_cne - 0), _cnj = createjs.Tween.get(_cnh), _cnk = _cna; _cne == _cn9 - 1 && (_cnk = _cnb), _cnj.wait(_cni).call(function() { var _cnl = null; return _cnh.playDrop(_cnk); }).play(null); }, _cnm = 0; _cnm < _cn9; _cnm++) _cnd(_cnm); }), this._nowLevel = 0; }, _clq; }(PIXI.Container), _cnn = function(_cno) { function _cnp() { var _cnq = null, _cnr = _clm.COMMON_MISC.getTexture(17); return _cno.call(this, { 'floor_00': { 'm1': { 'x': 50, 'y': 167, 'r': 0 }, 'm2': { 'x': 83, 'y': 161, 'r': 0 }, 'm3': { 'x': 65, 'y': 168, 'r': 0 }, 'm7': { 'x': 32, 'y': 162, 'r': 0 }, 'm9': { 'x': 98, 'y': 156, 'r': 0 }, 'm11': { 'x': 17, 'y': 159, 'r': 0 } }, 'floor_01': { 'm4': { 'x': 53, 'y': 141, 'r': 0 }, 'm5': { 'x': 74, 'y': 141, 'r': 0 }, 'm8': { 'x': 38, 'y': 137, 'r': 0 }, 'm12': { 'x': 101, 'y': 131, 'r': 0 }, 'm13': { 'x': 15, 'y': 134, 'r': 0 }, 'm14': { 'x': 86, 'y': 135, 'r': 0 } }, 'floor_02': { 'm6': { 'x': 65, 'y': 116, 'r': 0 }, 'm10': { 'x': 35, 'y': 110, 'r': 0 }, 'm15': { 'x': 50, 'y': 114, 'r': 0 }, 'm16': { 'x': 83, 'y': 108, 'r': 0 }, 'm17': { 'x': 18, 'y': 107, 'r': 0 }, 'm19': { 'x': 98, 'y': 104, 'r': 0 } }, 'floor_03': { 'm18': { 'x': 42, 'y': 84, 'r': 0 }, 'm20': { 'x': 78, 'y': 87, 'r': 0 }, 'm21': { 'x': 26, 'y': 81, 'r': 0 }, 'm22': { 'x': 57, 'y': 89, 'r': 0 }, 'm23': { 'x': 90, 'y': 83, 'r': 0 } }, 'floor_04': { 'm24': { 'x': 90, 'y': 56, 'r': 0 }, 'm25': { 'x': 57, 'y': 62, 'r': 0 }, 'm26': { 'x': 72, 'y': 63, 'r': 0 }, 'm27': { 'x': 27, 'y': 54, 'r': 0 }, 'm30': { 'x': 39, 'y': 57, 'r': 0 } }, 'floor_05': { 'm28': { 'x': 71, 'y': 38, 'r': 0 }, 'm29': { 'x': 87, 'y': 30, 'r': 0 }, 'm32': { 'x': 51, 'y': 35, 'r': 0 }, 'm31': { 'x': 32, 'y': 30, 'r': 0 } }, 'floor_06': { 'm33': { 'x': 80, 'y': 8, 'r': 0 }, 'm34': { 'x': 39, 'y': 8, 'r': 0 }, 'm35': { 'x': 60, 'y': 11, 'r': 0 } }, 'floor_07': { 'm36': { 'x': 14, 'y': 173, 'r': 0 }, 'm37': { 'x': 29, 'y': 179, 'r': 0 }, 'm38': { 'x': 77, 'y': 176, 'r': 0 }, 'm39': { 'x': 23, 'y': 152, 'r': 0 }, 'm40': { 'x': 104, 'y': 176, 'r': 0 } } }, new _clk.SupplyMaterial(0), 50, _cnr) || this; } return _cl4(_cnp, _cno), _cnp; }(_cln); _cl0.FuelContainer = _cnn; var _cns = function(_cnt) { function _cnu() { var _cnv = null, _cnw = { 'floor_00': { 'm1': { 'x': 27, 'y': 174, 'r': 0 }, 'm2': { 'x': 66, 'y': 177, 'r': -11.2 }, 'm3': { 'x': 48, 'y': 174, 'r': 24.7 }, 'm4': { 'x': 84, 'y': 174, 'r': 9.7 }, 'm5': { 'x': 48, 'y': 168, 'r': 0 }, 'm6': { 'x': 77, 'y': 164, 'r': 13.2 }, 'm7': { 'x': 39, 'y': 165, 'r': 0 }, 'm8': { 'x': 66, 'y': 159, 'r': 0 }, 'm9': { 'x': 86, 'y': 159, 'r': 21.4 }, 'm10': { 'x': 36, 'y': 159, 'r': 9.2 } }, 'floor_01': { 'm11': { 'x': 23, 'y': 152, 'r': 0 }, 'm12': { 'x': 68, 'y': 167, 'r': 42.3 }, 'm13': { 'x': 59, 'y': 153, 'r': 24.7 }, 'm14': { 'x': 77, 'y': 150, 'r': 0.7 }, 'm15': { 'x': 53, 'y': 149, 'r': -22 }, 'm16': { 'x': 80, 'y': 149, 'r': 33.6 }, 'm17': { 'x': 26, 'y': 146, 'r': -21 }, 'm18': { 'x': 69, 'y': 134, 'r': 13.7 }, 'm19': { 'x': 41, 'y': 140, 'r': 9.7 }, 'm20': { 'x': 54, 'y': 144, 'r': 9.2 } }, 'floor_02': { 'm21': { 'x': 21, 'y': 129, 'r': 0 }, 'm22': { 'x': 62, 'y': 134, 'r': -11.2 }, 'm23': { 'x': 44, 'y': 129, 'r': 24.7 }, 'm24': { 'x': 80, 'y': 129, 'r': 9.7 }, 'm25': { 'x': 44, 'y': 123, 'r': 0 }, 'm26': { 'x': 72, 'y': 120, 'r': 13.2 }, 'm27': { 'x': 33, 'y': 120, 'r': 0 }, 'm28': { 'x': 60, 'y': 114, 'r': 0 }, 'm29': { 'x': 84, 'y': 125, 'r': -26.2 }, 'm30': { 'x': 32, 'y': 114, 'r': 9.2 } }, 'floor_03': { 'm31': { 'x': 33, 'y': 119, 'r': -23 }, 'm32': { 'x': 69, 'y': 108, 'r': 21.2 }, 'm33': { 'x': 26, 'y': 95, 'r': 24.7 }, 'm34': { 'x': 14, 'y': 105, 'r': 9.7 }, 'm35': { 'x': 51, 'y': 114, 'r': -11.2 }, 'm36': { 'x': 41, 'y': 93, 'r': 13.2 }, 'm37': { 'x': 81, 'y': 105, 'r': -1.5 }, 'm38': { 'x': 75, 'y': 99, 'r': -14.2 }, 'm39': { 'x': 21, 'y': 87, 'r': 9.2 }, 'm40': { 'x': 56, 'y': 87, 'r': 15.2 } }, 'floor_04': { 'm41': { 'x': 24, 'y': 80, 'r': 0 }, 'm42': { 'x': 65, 'y': 89, 'r': -11.2 }, 'm43': { 'x': 47, 'y': 84, 'r': 24.7 }, 'm44': { 'x': 83, 'y': 86, 'r': 9.7 }, 'm45': { 'x': 47, 'y': 80, 'r': 0 }, 'm46': { 'x': 75, 'y': 75, 'r': 13.2 }, 'm47': { 'x': 36, 'y': 77, 'r': 0 }, 'm48': { 'x': 63, 'y': 71, 'r': 0 }, 'm49': { 'x': 89, 'y': 65, 'r': 32.7 }, 'm50': { 'x': 36, 'y': 66, 'r': 9.2 } }, 'floor_05': { 'm51': { 'x': 21, 'y': 72, 'r': 0 }, 'm52': { 'x': 69, 'y': 63, 'r': 21.2 }, 'm53': { 'x': 26, 'y': 56, 'r': 24.7 }, 'm54': { 'x': 20, 'y': 71, 'r': 9.7 }, 'm55': { 'x': 51, 'y': 74, 'r': -11.2 }, 'm56': { 'x': 45, 'y': 56, 'r': 13.2 }, 'm57': { 'x': 81, 'y': 65, 'r': -1.5 }, 'm58': { 'x': 75, 'y': 59, 'r': -14.2 }, 'm59': { 'x': 21, 'y': 47, 'r': 9.2 }, 'm60': { 'x': 56, 'y': 47, 'r': 15.2 } }, 'floor_06': { 'm61': { 'x': 21, 'y': 41, 'r': 0 }, 'm62': { 'x': 62, 'y': 45, 'r': -11.2 }, 'm63': { 'x': 44, 'y': 41, 'r': 24.7 }, 'm64': { 'x': 80, 'y': 41, 'r': 9.7 }, 'm65': { 'x': 44, 'y': 35, 'r': 0 }, 'm66': { 'x': 72, 'y': 30, 'r': 13.2 }, 'm67': { 'x': 33, 'y': 32, 'r': 0 }, 'm68': { 'x': 60, 'y': 26, 'r': 0 }, 'm69': { 'x': 81, 'y': 21, 'r': 24.4 }, 'm70': { 'x': 33, 'y': 32, 'r': 9.2 } }, 'floor_07': { 'm71': { 'x': 29, 'y': 32, 'r': -25.7 }, 'm72': { 'x': 48, 'y': 23, 'r': 0 }, 'm73': { 'x': 72, 'y': 14, 'r': 16 }, 'm74': { 'x': 35, 'y': 12, 'r': 9.7 }, 'm75': { 'x': 60, 'y': 8, 'r': 0 }, 'm76': { 'x': 42, 'y': 0, 'r': 22.1 }, 'm77': { 'x': 84, 'y': 192, 'r': 0 }, 'm78': { 'x': 81, 'y': 173, 'r': 24.7 }, 'm79': { 'x': 53, 'y': 186, 'r': 8 }, 'm80': { 'x': 17, 'y': 194, 'r': -5.5 } } }, _cnx = _clm.COMMON_MISC.getTexture(7); return _cnt.call(this, _cnw, new _clk.SupplyMaterial(1), 25, _cnx) || this; } return _cl4(_cnu, _cnt), _cnu; }(_cln); _cl0.AmmoContainer = _cns; var _cny = function(_cnz) { function _co0() { var _co1 = null, _co2 = { 'floor_00': { 'm1': { 'x': 24, 'y': 174, 'r': 0 }, 'm2': { 'x': 63, 'y': 177, 'r': -11.2 }, 'm3': { 'x': 45, 'y': 174, 'r': 24.7 }, 'm4': { 'x': 81, 'y': 174, 'r': 9.7 }, 'm5': { 'x': 47, 'y': 165, 'r': 0 }, 'm6': { 'x': 74, 'y': 164, 'r': 13.2 }, 'm7': { 'x': 36, 'y': 165, 'r': 0 }, 'm8': { 'x': 63, 'y': 159, 'r': 0 }, 'm9': { 'x': 83, 'y': 159, 'r': 21.4 }, 'm10': { 'x': 33, 'y': 159, 'r': 9.2 } }, 'floor_01': { 'm11': { 'x': 23, 'y': 152, 'r': 0 }, 'm12': { 'x': 68, 'y': 167, 'r': 42.3 }, 'm13': { 'x': 59, 'y': 153, 'r': 24.7 }, 'm14': { 'x': 77, 'y': 150, 'r': 0.7 }, 'm15': { 'x': 53, 'y': 149, 'r': -22 }, 'm16': { 'x': 80, 'y': 149, 'r': 33.6 }, 'm17': { 'x': 26, 'y': 146, 'r': -21 }, 'm18': { 'x': 69, 'y': 134, 'r': 13.7 }, 'm19': { 'x': 41, 'y': 140, 'r': 9.7 }, 'm20': { 'x': 54, 'y': 144, 'r': 9.2 } }, 'floor_02': { 'm21': { 'x': 21, 'y': 129, 'r': 0 }, 'm22': { 'x': 62, 'y': 134, 'r': -11.2 }, 'm23': { 'x': 44, 'y': 129, 'r': 24.7 }, 'm24': { 'x': 80, 'y': 129, 'r': 9.7 }, 'm25': { 'x': 44, 'y': 123, 'r': 13.2 }, 'm26': { 'x': 72, 'y': 120, 'r': 0 }, 'm27': { 'x': 33, 'y': 120, 'r': 0 }, 'm28': { 'x': 60, 'y': 114, 'r': 0 }, 'm29': { 'x': 84, 'y': 125, 'r': -26.2 }, 'm30': { 'x': 32, 'y': 114, 'r': 9.2 } }, 'floor_03': { 'm31': { 'x': 33, 'y': 119, 'r': -23 }, 'm32': { 'x': 69, 'y': 104, 'r': 21.2 }, 'm33': { 'x': 26, 'y': 95, 'r': 24.7 }, 'm34': { 'x': 14, 'y': 105, 'r': 9.7 }, 'm35': { 'x': 51, 'y': 114, 'r': -11.2 }, 'm36': { 'x': 41, 'y': 93, 'r': 13.2 }, 'm37': { 'x': 81, 'y': 105, 'r': -1.5 }, 'm38': { 'x': 75, 'y': 99, 'r': -14.2 }, 'm39': { 'x': 21, 'y': 87, 'r': 9.2 }, 'm40': { 'x': 56, 'y': 87, 'r': 15.2 } }, 'floor_04': { 'm41': { 'x': 24, 'y': 80, 'r': 0 }, 'm42': { 'x': 65, 'y': 89, 'r': -11.2 }, 'm43': { 'x': 47, 'y': 84, 'r': 24.7 }, 'm44': { 'x': 83, 'y': 86, 'r': 9.7 }, 'm45': { 'x': 47, 'y': 80, 'r': 0 }, 'm46': { 'x': 75, 'y': 75, 'r': 13.2 }, 'm47': { 'x': 36, 'y': 77, 'r': 0 }, 'm48': { 'x': 63, 'y': 71, 'r': 0 }, 'm49': { 'x': 89, 'y': 65, 'r': 32.7 }, 'm50': { 'x': 36, 'y': 66, 'r': 9.2 } }, 'floor_05': { 'm51': { 'x': 21, 'y': 72, 'r': -13.1 }, 'm52': { 'x': 69, 'y': 63, 'r': 21.2 }, 'm53': { 'x': 26, 'y': 56, 'r': 24.7 }, 'm54': { 'x': 20, 'y': 71, 'r': 9.7 }, 'm55': { 'x': 51, 'y': 74, 'r': -11.2 }, 'm56': { 'x': 45, 'y': 56, 'r': 13.2 }, 'm57': { 'x': 81, 'y': 65, 'r': -1.5 }, 'm58': { 'x': 75, 'y': 59, 'r': -14.2 }, 'm59': { 'x': 21, 'y': 47, 'r': 9.2 }, 'm60': { 'x': 56, 'y': 47, 'r': 15.2 } }, 'floor_06': { 'm61': { 'x': 21, 'y': 41, 'r': 0 }, 'm62': { 'x': 62, 'y': 45, 'r': -11.2 }, 'm63': { 'x': 44, 'y': 41, 'r': 24.7 }, 'm64': { 'x': 80, 'y': 41, 'r': 9.7 }, 'm65': { 'x': 44, 'y': 35, 'r': 0 }, 'm66': { 'x': 72, 'y': 30, 'r': 13.2 }, 'm67': { 'x': 33, 'y': 32, 'r': 0 }, 'm68': { 'x': 60, 'y': 26, 'r': 0 }, 'm69': { 'x': 81, 'y': 21, 'r': 24.4 }, 'm70': { 'x': 32, 'y': 26, 'r': 9.2 } }, 'floor_07': { 'm71': { 'x': 29, 'y': 32, 'r': -25.7 }, 'm72': { 'x': 48, 'y': 23, 'r': 0 }, 'm73': { 'x': 72, 'y': 14, 'r': 16 }, 'm74': { 'x': 35, 'y': 12, 'r': 9.7 }, 'm75': { 'x': 60, 'y': 8, 'r': 0 }, 'm76': { 'x': 42, 'y': 0, 'r': 22.1 }, 'm77': { 'x': 84, 'y': 192, 'r': 0 }, 'm78': { 'x': 81, 'y': 173, 'r': 24.7 }, 'm79': { 'x': 53, 'y': 186, 'r': 8 }, 'm80': { 'x': 17, 'y': 194, 'r': -5.5 } } }, _co3 = _clm.COMMON_MISC.getTexture(7); return _cnz.call(this, _co2, new _clk.SupplyMaterial(2), 25, _co3) || this; } return _cl4(_co0, _cnz), _co0; }(_cln); _cl0.BauxContainer = _cny; }, 32825: function(_co4, _co5, _co6) { 'use strict'; var _co7 = null; var _co8, _co9 = this && this.__extends || (_co8 = function(_coa, _cob) { var _coc = null; return _co8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_cod, _coe) { var _cof = null; _cod.__proto__ = _coe; } || function(_cog, _coh) { var _coi = null; for (var _coj in _coh) Object.prototype.hasOwnProperty.call(_coh, _coj) && (_cog[_coj] = _coh[_coj]); }, _co8(_coa, _cob); }, function(_cok, _col) { var _com = null; if ('function' != typeof _col && null !== _col) throw new TypeError('Class extends value ' + String(_col) + ' is not a constructor or null'); function _con() { var _coo = null; this.constructor = _cok; } _co8(_cok, _col), _cok.prototype = null === _col ? Object.create(_col) : (_con.prototype = _col.prototype, new _con()); }); defineModule(_co5); Object.defineProperty(_co5, '__esModule', { 'value': !0 }), _co5.SupplyFloor = void 0; var _cop = _co6(11997), _coq = function(_cor) { var _cos = null; function _cot() { var _cou = null, _cov = _cor.call(this) || this; _cov.DURATION = 1 / 30 * 1000, _cov.MOVE_ROTATION = Math.PI / 180 * 20.4, _cov.MOVE_X = 36; var _cow = new PIXI.Sprite(_cop.COMMON_MISC.getTexture(23)), _cox = new PIXI.Sprite(_cop.COMMON_MISC.getTexture(23)), _coy = new PIXI.Sprite(_cop.COMMON_MISC.getTexture(16)); _cow.pivot.set(_cow.width, _cow.height), _cow.rotation = Math.PI / 180 * 180, _cox.x = _cow.width, _coy.y = 3, _cov._shutterWidth = _cow.width; var _coz = new PIXI.Graphics(); _coz.beginFill(10798649, 0.5), _coz.drawRect(0, 0, 201.45, 180), _coz.pivot.set(_coz.width, 0), _coz.position.set(_cow.width + 3, -77); var _cp0 = new PIXI.Graphics(); return _cp0.beginFill(5978566, 0.5), _cp0.drawRect(0, 0, 201.45, 180), _cp0.pivot.set(0, 0), _cp0.position.set(_cox.width, -77), _cow.mask = _coz, _cox.mask = _cp0, _cov.addChild(_cow, _cox), _cov.addChild(_coz, _cp0), _cov.addChild(_coy), _cov._leftFloor = _cow, _cov._rightFloor = _cox, _cov._leftFloorMask = _coz, _cov._rightFloorMask = _cp0, _cov; } return _co9(_cot, _cor), _cot.prototype.__stop__ = function() { var _cp1 = null; createjs.Tween.removeTweens(this._leftFloorMask), createjs.Tween.removeTweens(this._rightFloorMask); }, _cot.prototype.open = function(_cp2) { var _cp3 = null; this.__stop__(); var _cp4 = 9 * this.DURATION, _cp5 = 0, _cp6 = function() { 2 === ++_cp5 && _cp2(); }; createjs.Tween.get(this._leftFloorMask).to({ 'rotation': this.MOVE_ROTATION, 'x': this._shutterWidth - this.MOVE_X }, _cp4).call(_cp6), createjs.Tween.get(this._rightFloorMask).to({ 'rotation': -this.MOVE_ROTATION, 'x': this._shutterWidth + this.MOVE_X }, _cp4).call(_cp6); }, _cot.prototype.close = function(_cp7) { var _cp8 = null; this.__stop__(); var _cp9 = 9 * this.DURATION, _cpa = 0, _cpb = function() { 2 === ++_cpa && _cp7(); }; createjs.Tween.get(this._leftFloorMask).to({ 'rotation': 0, 'x': this._shutterWidth }, _cp9).call(_cpb), createjs.Tween.get(this._rightFloorMask).to({ 'rotation': 0, 'x': this._shutterWidth }, _cp9).call(_cpb); }, _cot.prototype.dispose = function() { var _cpc = null; this.__stop__(), this._leftFloor.texture = PIXI.Texture.EMPTY, this._rightFloor.texture = PIXI.Texture.EMPTY, this._leftFloor.mask = null, this._rightFloor.mask = null, this._leftFloorMask.clear(), this._rightFloorMask.clear(), this._leftFloor = null, this._rightFloor = null, this.removeChildren(); }, _cot; }(PIXI.Container); _co5.SupplyFloor = _coq; }, 375: function(_cpd, _cpe, _cpf) { 'use strict'; var _cpg = null; var _cph, _cpi = this && this.__extends || (_cph = function(_cpj, _cpk) { var _cpl = null; return _cph = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_cpm, _cpn) { var _cpo = null; _cpm.__proto__ = _cpn; } || function(_cpp, _cpq) { var _cpr = null; for (var _cps in _cpq) Object.prototype.hasOwnProperty.call(_cpq, _cps) && (_cpp[_cps] = _cpq[_cps]); }, _cph(_cpj, _cpk); }, function(_cpt, _cpu) { var _cpv = null; if ('function' != typeof _cpu && null !== _cpu) throw new TypeError('Class extends value ' + String(_cpu) + ' is not a constructor or null'); function _cpw() { var _cpx = null; this.constructor = _cpt; } _cph(_cpt, _cpu), _cpt.prototype = null === _cpu ? Object.create(_cpu) : (_cpw.prototype = _cpu.prototype, new _cpw()); }); defineModule(_cpe); Object.defineProperty(_cpe, '__esModule', { 'value': !0 }), _cpe.SupplyMaterial = _cpe.Material = void 0; var _cpy = _cpf(11997), _cpz = function(_cq0) { var _cq1 = null; function _cq2() { var _cq3 = null; return null !== _cq0 && _cq0.apply(this, arguments) || this; } return _cpi(_cq2, _cq0), _cq2.prototype.playDrop = function(_cq4) { var _cq5 = null; throw new Error('Method not implemented.'); }, _cq2.prototype.playAdd = function() { var _cq6 = null; throw new Error('Method not implemented.'); }, _cq2.prototype.stop = function() { var _cq7 = null; throw new Error('Method not implemented.'); }, _cq2.prototype.playRemove = function() { var _cq8 = null; throw new Error('Method not implemented.'); }, _cq2.prototype.dispose = function() { var _cq9 = null; throw new Error('Method not implemented.'); }, _cq2.prototype.updateRandomTexture = function() { var _cqa = null; throw new Error('Method not implemented.'); }, _cq2; }(PIXI.Container); _cpe.Material = _cpz; var _cqb = function(_cqc) { var _cqd = null; function _cqe(_cqf) { var _cqg = null, _cqh = _cqc.call(this) || this; _cqh.DURATION = 1 / 30 * 1000; var _cqi = new PIXI.Sprite(), _cqj = new PIXI.Sprite(_cpy.COMMON_MISC.getTexture(153)); return _cqh._dustBaseY = 15, _cqj.anchor.set(0.5, 0.5), _cqj.position.set(11, _cqh._dustBaseY), _cqj.alpha = 0, _cqi.alpha = 0, _cqh.addChild(_cqi, _cqj), _cqh._materialName = _cqf, _cqh._material = _cqi, _cqh._dust = _cqj, _cqh; } return _cpi(_cqe, _cqc), _cqe.prototype.clone = function() { var _cqk = null; return new _cqe(this._materialName); }, _cqe.prototype.dispose = function() { var _cql = null; this.stop(), this._material = null, this._dust = null, this.removeChildren(); }, _cqe.prototype.stop = function() { var _cqm = null; createjs.Tween.removeTweens(this._material), createjs.Tween.removeTweens(this._dust); }, _cqe.prototype.playAdd = function() { var _cqn = null; this.stop(), this._dust.alpha = 0, createjs.Tween.get(this._material).to({ 'x': 0.75, 'y': -209, 'alpha': 1, 'rotation': 0 }).to({ 'x': 0, 'y': 0 }, 9 * this.DURATION).to({ 'x': 5, 'y': -2, 'rotation': Math.PI / 180 * 10.5 }, 3 * this.DURATION).to({ 'x': 0, 'y': 0, 'rotation': 0 }); }, _cqe.prototype.playRemove = function() { var _cqo = null; this.stop(); var _cqp = 5 * this.DURATION, _cqq = 4 * this.DURATION; createjs.Tween.get(this._material).to({ 'x': 0, 'y': 0, 'rotation': 0, 'alpha': 1 }).wait(_cqp).to({ 'alpha': 0 }), createjs.Tween.get(this._dust.scale).to({ 'x': 0, 'y': 0 }).to({ 'x': 1, 'y': 1 }, _cqp), createjs.Tween.get(this._dust).to({ 'alpha': 1 }).wait(_cqp).to({ 'alpha': 0 }, _cqq + 2 * this.DURATION), createjs.Tween.get(this._dust).to({ 'y': this._dustBaseY }).wait(_cqp).to({ 'y': this._dustBaseY - 4 }, _cqq, createjs.Ease.getBackIn(2.5)); }, _cqe.prototype.playDrop = function(_cqr) { var _cqs = null; this.stop(), createjs.Tween.get(this._material).to({ 'y': 300, 'rotation': Math.PI / 180 * (30 * Math.random() - 15) }, 100).call(function() { _cqr(); }); }, _cqe.prototype.updateRandomTexture = function() { var _cqt = null, _cqu; switch (this._materialName) { case 0: _cqu = [18, 19, 20, 21]; break; case 1: _cqu = [8, 9, 10, 11]; break; case 2: _cqu = [12, 13, 14, 15]; break; default: throw new Error('Undefined material name.'); } var _cqv = Math.floor(_cqu.length * Math.random()); this._material.texture = _cpy.COMMON_MISC.getTexture(_cqu[_cqv]); }, _cqe; }(_cpz); _cpe.SupplyMaterial = _cqb; }, 93139: function(_cqw, _cqx, _cqy) { 'use strict'; var _cqz = null; var _cr0, _cr1 = this && this.__extends || (_cr0 = function(_cr2, _cr3) { var _cr4 = null; return _cr0 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_cr5, _cr6) { var _cr7 = null; _cr5.__proto__ = _cr6; } || function(_cr8, _cr9) { var _cra = null; for (var _crb in _cr9) Object.prototype.hasOwnProperty.call(_cr9, _crb) && (_cr8[_crb] = _cr9[_crb]); }, _cr0(_cr2, _cr3); }, function(_crc, _crd) { var _cre = null; if ('function' != typeof _crd && null !== _crd) throw new TypeError('Class extends value ' + String(_crd) + ' is not a constructor or null'); function _crf() { var _crg = null; this.constructor = _crc; } _cr0(_crc, _crd), _crc.prototype = null === _crd ? Object.create(_crd) : (_crf.prototype = _crd.prototype, new _crf()); }); defineModule(_cqx); Object.defineProperty(_cqx, '__esModule', { 'value': !0 }), _cqx.KiraLayer = void 0; var _crh = _cqy(82245), _cri = function(_crj) { var _crk = null; function _crl() { var _crm = null, _crn = _crj.call(this) || this; _crn._particle = new Array(); for (var _cro = [51, 257, 44, 8, 168, 53, 158, 113, 275, 194, 251, 0, 197], _crp = [51, 30, 87, 222, 213, 129, 122, 222, 216, 0, 194, 149, 84], _crq = 0; _crq < _cro.length; _crq++) { var _crr = new _crs(); _crr.position.set(_cro[_crq], _crp[_crq]), _crn.addChild(_crr), _crn._particle.push(_crr); } return _crn; } return _cr1(_crl, _crj), _crl.prototype.initialize = function() { var _crt = null; for (var _cru = 0, _crv = this._particle; _cru < _crv.length; _cru++) { var _crw = _crv[_cru]; _crw.initialize(), _crw.startAnim(); } }, _crl.prototype.dispose = function() { var _crx = null; for (var _cry = 0, _crz = this._particle; _cry < _crz.length; _cry++) { _crz[_cry].stopAnim(); } }, _crl; }(PIXI.Container); _cqx.KiraLayer = _cri; var _crs = function(_cs0) { var _cs1 = null; function _cs2() { var _cs3 = null, _cs4 = _cs0.call(this) || this; return _cs4.alpha = 0, _cs4; } return _cr1(_cs2, _cs0), _cs2.prototype.initialize = function() { var _cs5 = null; this.texture = _crh.TITLE_MAIN.getTexture(2); }, _cs2.prototype.startAnim = function() { var _cs6 = null; this._anim(); }, _cs2.prototype.stopAnim = function() { var _cs7 = null; null != this._tween && (this._tween.setPaused(!0), this._tween = null); }, _cs2.prototype._anim = function() { var _cs8 = null, _cs9 = this; this._tween = createjs.Tween.get(this).wait(1000 * Math.random() + 1000).to({ 'alpha': 1 }, 150).to({ 'alpha': 0 }, 150).call(function() { var _csa = null; _cs9._tween = null, _cs9._anim(); }); }, _cs2; }(PIXI.Sprite); }, 81531: function(_csb, _csc, _csd) { 'use strict'; var _cse = null; var _csf, _csg = this && this.__extends || (_csf = function(_csh, _csi) { var _csj = null; return _csf = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_csk, _csl) { var _csm = null; _csk.__proto__ = _csl; } || function(_csn, _cso) { var _csp = null; for (var _csq in _cso) Object.prototype.hasOwnProperty.call(_cso, _csq) && (_csn[_csq] = _cso[_csq]); }, _csf(_csh, _csi); }, function(_csr, _css) { var _cst = null; if ('function' != typeof _css && null !== _css) throw new TypeError('Class extends value ' + String(_css) + ' is not a constructor or null'); function _csu() { var _csv = null; this.constructor = _csr; } _csf(_csr, _css), _csr.prototype = null === _css ? Object.create(_css) : (_csu.prototype = _css.prototype, new _csu()); }), _csw = this && this.__importDefault || function(_csx) { var _csy = null; return _csx && _csx.__esModule ? _csx : { 'default': _csx }; }; defineModule(_csc); Object.defineProperty(_csc, '__esModule', { 'value': !0 }), _csc.TitleView1 = void 0; var _csz = _csw(_csd(18622)), _ct0 = _csd(82245), _ct1 = _csd(93139), _ct2 = function(_ct3) { var _ct4 = null; function _ct5() { var _ct6 = null; return _ct3.call(this) || this; } return _csg(_ct5, _ct3), _ct5.prototype.initialize = function() { var _ct7 = null, _ct8 = _csz.default.resources.getUIImage('title_bg1'); this._bg = new PIXI.Sprite(_ct8), this._parts_layer = new PIXI.Container(), this._logo = new PIXI.Sprite(_ct0.TITLE_MAIN.getTexture(3)), this._logo.scale.set(0.6, 0.6), this._logo.anchor.set(0.5, 0.5), this._logo.position.set(234, 264), this._kira = new _ct1.KiraLayer(), this._kira.scale.set(0.6, 0.6), this._kira.position.set(144, 183), this._kira.initialize(), this._bar = new PIXI.Graphics(), this._bar.beginFill(2466210), this._bar.drawRect(0, 0, 960, 30), this._bar.endFill(), this._bar.position.set(120, 663), this._bar.scale.x = 0, this._bar_frame = new PIXI.Graphics(), this._bar_frame.lineStyle(3, 16777215), this._bar_frame.drawRect(0, 0, 960, 30), this._bar_frame.endFill(), this._bar_frame.position.set(120, 663), this.addChild(this._bg), this._parts_layer.addChild(this._logo), this._parts_layer.addChild(this._kira), this._parts_layer.addChild(this._bar), this._parts_layer.addChild(this._bar_frame), this.addChild(this._parts_layer); }, _ct5.prototype.dispose = function() { var _ct9 = null; this._kira.dispose(); }, _ct5.prototype.setProgress = function(_cta) { var _ctb = null; this._bar.scale.x = _cta / 100; }, _ct5.prototype.hideTween = function(_ctc) { var _ctd = null, _cte = createjs.Tween.get(this._bg).to({ 'alpha': 0 }, 300), _ctf = createjs.Tween.get(this._parts_layer).to({ 'alpha': 0 }, 100); (_cte.duration >= _ctf.duration ? _cte : _ctf).call(function() { _ctc(); }); }, _ct5; }(PIXI.Container); _csc.TitleView1 = _ct2; }, 97443: function(_ctg, _cth, _cti) { 'use strict'; var _ctj = null; var _ctk, _ctl = this && this.__extends || (_ctk = function(_ctm, _ctn) { var _cto = null; return _ctk = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ctp, _ctq) { var _ctr = null; _ctp.__proto__ = _ctq; } || function(_cts, _ctt) { var _ctu = null; for (var _ctv in _ctt) Object.prototype.hasOwnProperty.call(_ctt, _ctv) && (_cts[_ctv] = _ctt[_ctv]); }, _ctk(_ctm, _ctn); }, function(_ctw, _ctx) { var _cty = null; if ('function' != typeof _ctx && null !== _ctx) throw new TypeError('Class extends value ' + String(_ctx) + ' is not a constructor or null'); function _ctz() { var _cu0 = null; this.constructor = _ctw; } _ctk(_ctw, _ctx), _ctw.prototype = null === _ctx ? Object.create(_ctx) : (_ctz.prototype = _ctx.prototype, new _ctz()); }), _cu1 = this && this.__importDefault || function(_cu2) { var _cu3 = null; return _cu2 && _cu2.__esModule ? _cu2 : { 'default': _cu2 }; }; defineModule(_cth); Object.defineProperty(_cth, '__esModule', { 'value': !0 }), _cth.TitleView2 = void 0; var _cu4 = _cu1(_cti(18622)), _cu5 = _cti(35380), _cu6 = _cti(51932), _cu7 = _cti(93139), _cu8 = _cti(88293), _cu9 = function(_cua) { var _cub = null; function _cuc() { var _cud = null; return _cua.call(this) || this; } return _ctl(_cuc, _cua), _cuc.prototype.initialize = function() { var _cue = null, _cuf = _cu4.default.resources.getUIImage('title_bg2'); this._bg = new PIXI.Sprite(_cuf), this._container = new PIXI.Container(), this._container.alpha = 0, this._logo = new PIXI.Sprite(_cu8.TITLE_MAIN.getTexture(3)), this._logo.anchor.set(0.5, 0.5), this._logo.position.set(942, 273), this._kira = new _cu7.KiraLayer(), this._kira.position.set(765, 114), this._kira.initialize(), this._btn = new _cug(), this._btn.initialize(), this._btn.position.set(914, 755), this._btn.alpha = 0, this.addChild(this._bg), this._container.addChild(this._logo), this._container.addChild(this._kira), this._container.addChild(this._btn), this.addChild(this._container); }, _cuc.prototype.dispose = function() { var _cuh = null; this._kira.dispose(), this._btn.dispose(); }, _cuc.prototype.showTween = function(_cui) { var _cuj = null, _cuk = this; createjs.Tween.get(this._container).to({ 'alpha': 1 }, 300).call(function() { var _cul = null; _cuk._showTween2(_cui); }); }, _cuc.prototype.waitClickTween = function(_cum) { var _cun = null, _cuo = this; this._btn.interactive = this._btn.buttonMode = !0, this._btn.once(_cu5.EventType.CLICK, function() { var _cup = null; _cuo._btn.interactive = _cuo._btn.buttonMode = !1, createjs.Tween.get(_cuo._btn).to({ 'alpha': 0 }, 200), _cum(); }); }, _cuc.prototype._showTween2 = function(_cuq) { var _cur = null, _cus = this; createjs.Tween.get(this._btn).to({ 'y': 605, 'alpha': 1 }, 1000).wait(800).call(function() { var _cut = null; _cus._showTween3(_cuq); }); }, _cuc.prototype._showTween3 = function(_cuu) { var _cuv = null, _cuw = this; createjs.Tween.get(this._btn.scale).to({ 'x': 1.1, 'y': 1.1 }, 100).call(function() { var _cux = null; _cuw._btn.disabled = !1; }).to({ 'x': 1, 'y': 1 }, 100).call(function() { var _cuy = null, _cuz = new _cu6.WorldTextImage(); _cuz.anchor.set(0.5, 0.5), _cuz.position.set(912, 684), _cuw.addChild(_cuz), _cuz.load('title'), _cuu(); }); }, _cuc; }(PIXI.Container); _cth.TitleView2 = _cu9; var _cug = function(_cv0) { var _cv1 = null; function _cv2() { var _cv3 = null, _cv4 = _cv0.call(this) || this; return _cv4._disabled = !0, _cv4._onMouseOver = function() { var _cv5 = null; _cv4.setTexture(7); }, _cv4._onMouseOut = function() { var _cv6 = null; _cv4.setTexture(_cv4._base_texture_no); }, _cv4._onMouseDown = function() { var _cv7 = null; _cv4.setTexture(5); }, _cv4._onMouseUp = function() { var _cv8 = null; _cv4.setTexture(_cv4._base_texture_no); }, _cv4.anchor.set(0.5, 0.5), _cv4; } return _ctl(_cv2, _cv0), Object.defineProperty(_cv2.prototype, 'disabled', { 'get': function() { var _cv9 = null; return this._disabled; }, 'set': function(_cva) { var _cvb = null; this._disabled = _cva, this.setTexture(this._base_texture_no); }, 'enumerable': !1, 'configurable': !0 }), _cv2.prototype.initialize = function() { var _cvc = null; this.texture = _cu8.TITLE_MAIN.getTexture(this._base_texture_no), this.on(_cu5.EventType.MOUSEOVER, this._onMouseOver), this.on(_cu5.EventType.MOUSEOUT, this._onMouseOut), this.on(_cu5.EventType.MOUSEDOWN, this._onMouseDown), this.on(_cu5.EventType.CLICK, this._onMouseUp); }, _cv2.prototype.dispose = function() { var _cvd = null; this.off(_cu5.EventType.MOUSEOVER, this._onMouseOver), this.off(_cu5.EventType.MOUSEOUT, this._onMouseOut), this.off(_cu5.EventType.MOUSEDOWN, this._onMouseDown), this.off(_cu5.EventType.CLICK, this._onMouseUp); }, Object.defineProperty(_cv2.prototype, '_base_texture_no', { 'get': function() { var _cve = null; return this._disabled ? 6 : 4; }, 'enumerable': !1, 'configurable': !0 }), _cv2.prototype.setTexture = function(_cvf) { var _cvg = null; this.texture = _cu8.TITLE_MAIN.getTexture(_cvf); }, _cv2; }(PIXI.Sprite); }, 58375: function(_cvh, _cvi, _cvj) { 'use strict'; var _cvk = null; var _cvl, _cvm = this && this.__extends || (_cvl = function(_cvn, _cvo) { var _cvp = null; return _cvl = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_cvq, _cvr) { var _cvs = null; _cvq.__proto__ = _cvr; } || function(_cvt, _cvu) { var _cvv = null; for (var _cvw in _cvu) Object.prototype.hasOwnProperty.call(_cvu, _cvw) && (_cvt[_cvw] = _cvu[_cvw]); }, _cvl(_cvn, _cvo); }, function(_cvx, _cvy) { var _cvz = null; if ('function' != typeof _cvy && null !== _cvy) throw new TypeError('Class extends value ' + String(_cvy) + ' is not a constructor or null'); function _cw0() { var _cw1 = null; this.constructor = _cvx; } _cvl(_cvx, _cvy), _cvx.prototype = null === _cvy ? Object.create(_cvy) : (_cw0.prototype = _cvy.prototype, new _cw0()); }); defineModule(_cvi); Object.defineProperty(_cvi, '__esModule', { 'value': !0 }), _cvi.TitleViewMain = void 0; var _cw2 = _cvj(81531), _cw3 = _cvj(97443), _cw4 = function(_cw5) { var _cw6 = null; function _cw7() { var _cw8 = null; return _cw5.call(this) || this; } return _cvm(_cw7, _cw5), _cw7.prototype.initialize = function() { var _cw9 = null; this._view1 = new _cw2.TitleView1(), this._view1.initialize(), this.addChild(this._view1); }, _cw7.prototype.dispose = function() { var _cwa = null; this._view2.dispose(); }, _cw7.prototype.setProgress = function(_cwb) { var _cwc = null; this._view1.setProgress(_cwb); }, _cw7.prototype.showSecondPageTween = function(_cwd) { var _cwe = null, _cwf = this; this._view2 = new _cw3.TitleView2(), this._view2.initialize(), this.addChildAt(this._view2, 0), this._view1.hideTween(function() { var _cwg = null; _cwf.removeChild(_cwf._view1), _cwf._view1.dispose(), _cwf._view1 = null, _cwf._view2.showTween(function() { _cwd(); }); }); }, _cw7.prototype.waitClickTween = function(_cwh) { var _cwi = null; this._view2.waitClickTween(_cwh); }, _cw7; }(PIXI.Container); _cvi.TitleViewMain = _cw4; }, 70723: function(_cwj, _cwk, _cwl) { 'use strict'; var _cwm = null; var _cwn = this && this.__importDefault || function(_cwo) { var _cwp = null; return _cwo && _cwo.__esModule ? _cwo : { 'default': _cwo }; }; defineModule(_cwk); Object.defineProperty(_cwk, '__esModule', { 'value': !0 }), _cwk.SE = void 0; var _cwq, _cwr = _cwn(_cwl(18622)); ! function(_cws) { var _cwt = null; _cws.play = function(_cwu) { var _cwv = null; null != _cwu && (_cwu.length <= 0 || _cwr.default.sound.se.play(_cwr.default.settings.path_root + 'resources/se/'['concat'](_cwu, '.mp3'))); }; }(_cwq || (_cwk.SE = _cwq = {})); }, 84309: (_cww, _cwx) => { 'use strict'; var _cwy = null; var _cwz; defineModule(_cwx); Object.defineProperty(_cwx, '__esModule', { 'value': !0 }), _cwx.ALBUM_MAIN = void 0, function(_cx0) { var _cx1 = null; _cx0.getTexture = function(_cx2) { var _cx3 = null; return PIXI.Texture.fromFrame('album_main_' + _cx2); }; }(_cwz || (_cwx.ALBUM_MAIN = _cwz = {})); }, 91618: (_cx4, _cx5) => { 'use strict'; var _cx6 = null; var _cx7; defineModule(_cx5); Object.defineProperty(_cx5, '__esModule', { 'value': !0 }), _cx5.ALBUM_SLOT2 = void 0, function(_cx8) { var _cx9 = null; _cx8.getTextureFromMstID = function(_cxa) { var _cxb = null; try { return PIXI.Texture.fromFrame('album_slot2_id_' + _cxa); } catch (_cxc) { return PIXI.Texture.EMPTY; } }; }(_cx7 || (_cx5.ALBUM_SLOT2 = _cx7 = {})); }, 92919: (_cxd, _cxe) => { 'use strict'; var _cxf = null; var _cxg; defineModule(_cxe); Object.defineProperty(_cxe, '__esModule', { 'value': !0 }), _cxe.ALBUM_SLOT3 = void 0, function(_cxh) { var _cxi = null; _cxh.getTextureFromMstID = function(_cxj) { var _cxk = null; try { return PIXI.Texture.fromFrame('album_slot3_id_' + _cxj); } catch (_cxl) { return PIXI.Texture.EMPTY; } }; }(_cxg || (_cxe.ALBUM_SLOT3 = _cxg = {})); }, 75875: (_cxm, _cxn) => { 'use strict'; var _cxo = null; var _cxp; defineModule(_cxn); Object.defineProperty(_cxn, '__esModule', { 'value': !0 }), _cxn.ALBUM_SLOT4 = void 0, function(_cxq) { var _cxr = null; _cxq.getTextureFromMstID = function(_cxs) { var _cxt = null; try { return PIXI.Texture.fromFrame('album_slot4_id_' + _cxs); } catch (_cxu) { return PIXI.Texture.EMPTY; } }; }(_cxp || (_cxn.ALBUM_SLOT4 = _cxp = {})); }, 92980: (_cxv, _cxw) => { 'use strict'; var _cxx = null; var _cxy; defineModule(_cxw); Object.defineProperty(_cxw, '__esModule', { 'value': !0 }), _cxw.ARSENAL_ANIMATION = void 0, function(_cxz) { var _cy0 = null; _cxz.getTexture = function(_cy1) { var _cy2 = null; return PIXI.Texture.fromFrame('arsenal_animation_' + _cy1); }; }(_cxy || (_cxw.ARSENAL_ANIMATION = _cxy = {})); }, 29075: (_cy3, _cy4) => { 'use strict'; var _cy5 = null; var _cy6; defineModule(_cy4); Object.defineProperty(_cy4, '__esModule', { 'value': !0 }), _cy4.ARSENAL_MAIN = void 0, function(_cy7) { var _cy8 = null; _cy7.getTexture = function(_cy9) { var _cya = null; return PIXI.Texture.fromFrame('arsenal_main_' + _cy9); }; }(_cy6 || (_cy4.ARSENAL_MAIN = _cy6 = {})); }, 19043: (_cyb, _cyc) => { 'use strict'; var _cyd = null; var _cye; defineModule(_cyc); Object.defineProperty(_cyc, '__esModule', { 'value': !0 }), _cyc.ARSENAL_SKIN_1 = void 0, function(_cyf) { var _cyg = null; _cyf.getTexture = function(_cyh) { var _cyi = null; return PIXI.Texture.fromFrame('arsenal_skin_1_' + _cyh); }; }(_cye || (_cyc.ARSENAL_SKIN_1 = _cye = {})); }, 25411: (_cyj, _cyk) => { 'use strict'; var _cyl = null; var _cym; defineModule(_cyk); Object.defineProperty(_cyk, '__esModule', { 'value': !0 }), _cyk.ARSENAL_SKIN_2 = void 0, function(_cyn) { var _cyo = null; _cyn.getTexture = function(_cyp) { var _cyq = null; return PIXI.Texture.fromFrame('arsenal_skin_2_' + _cyp); }; }(_cym || (_cyk.ARSENAL_SKIN_2 = _cym = {})); }, 95008: (_cyr, _cys) => { 'use strict'; var _cyt = null; var _cyu; defineModule(_cys); Object.defineProperty(_cys, '__esModule', { 'value': !0 }), _cys.ARSENAL_SKIN_3 = void 0, function(_cyv) { var _cyw = null; _cyv.getTexture = function(_cyx) { var _cyy = null; return PIXI.Texture.fromFrame('arsenal_skin_3_' + _cyx); }; }(_cyu || (_cys.ARSENAL_SKIN_3 = _cyu = {})); }, 2481: (_cyz, _cz0) => { 'use strict'; var _cz1 = null; var _cz2; defineModule(_cz0); Object.defineProperty(_cz0, '__esModule', { 'value': !0 }), _cz0.BATTLE_AIRUNIT = void 0, function(_cz3) { var _cz4 = null; _cz3.getTexture = function(_cz5) { var _cz6 = null; return PIXI.Texture.fromFrame('battle_airunit_' + _cz5); }; }(_cz2 || (_cz0.BATTLE_AIRUNIT = _cz2 = {})); }, 11684: (_cz7, _cz8) => { 'use strict'; var _cz9 = null; var _cza; defineModule(_cz8); Object.defineProperty(_cz8, '__esModule', { 'value': !0 }), _cz8.BATTLE_BALLOON = void 0, function(_czb) { var _czc = null; _czb.getTexture = function(_czd) { var _cze = null; return PIXI.Texture.fromFrame('battle_balloon_' + _czd); }; }(_cza || (_cz8.BATTLE_BALLOON = _cza = {})); }, 26460: (_czf, _czg) => { 'use strict'; var _czh = null; var _czi; defineModule(_czg); Object.defineProperty(_czg, '__esModule', { 'value': !0 }), _czg.BATTLE_CUTIN_ANTI_AIR = void 0, function(_czj) { var _czk = null; _czj.getTexture = function(_czl) { var _czm = null; return PIXI.Texture.fromFrame('battle_cutin_anti_air_' + _czl); }; }(_czi || (_czg.BATTLE_CUTIN_ANTI_AIR = _czi = {})); }, 3544: (_czn, _czo) => { 'use strict'; var _czp = null; var _czq; defineModule(_czo); Object.defineProperty(_czo, '__esModule', { 'value': !0 }), _czo.BATTLE_CUTIN_DAMAGE = void 0, function(_czr) { var _czs = null; _czr.getTexture = function(_czt) { var _czu = null; return PIXI.Texture.fromFrame('battle_cutin_damage_' + _czt); }; }(_czq || (_czo.BATTLE_CUTIN_DAMAGE = _czq = {})); }, 25340: (_czv, _czw) => { 'use strict'; var _czx = null; var _czy; defineModule(_czw); Object.defineProperty(_czw, '__esModule', { 'value': !0 }), _czw.BATTLE_CUTIN_GOUCHIN = void 0, function(_czz) { var _d00 = null; _czz.getTexture = function(_d01) { var _d02 = null; return PIXI.Texture.fromFrame('battle_cutin_gouchin_' + _d01); }; }(_czy || (_czw.BATTLE_CUTIN_GOUCHIN = _czy = {})); }, 46085: (_d03, _d04) => { 'use strict'; var _d05 = null; var _d06; defineModule(_d04); Object.defineProperty(_d04, '__esModule', { 'value': !0 }), _d04.BATTLE_JIN = void 0, function(_d07) { var _d08 = null; _d07.getTexture = function(_d09) { var _d0a = null; return PIXI.Texture.fromFrame('battle_jin_' + _d09); }; }(_d06 || (_d04.BATTLE_JIN = _d06 = {})); }, 22434: (_d0b, _d0c) => { 'use strict'; var _d0d = null; var _d0e; defineModule(_d0c); Object.defineProperty(_d0c, '__esModule', { 'value': !0 }), _d0c.BATTLE_MAIN = void 0, function(_d0f) { var _d0g = null; _d0f.getTexture = function(_d0h) { var _d0i = null; return PIXI.Texture.fromFrame('battle_main_' + _d0h); }; }(_d0e || (_d0c.BATTLE_MAIN = _d0e = {})); }, 74463: (_d0j, _d0k) => { 'use strict'; var _d0l = null; var _d0m; defineModule(_d0k); Object.defineProperty(_d0k, '__esModule', { 'value': !0 }), _d0k.BATTLE_MAIN2 = void 0, function(_d0n) { var _d0o = null; _d0n.getTexture = function(_d0p) { var _d0q = null; return PIXI.Texture.fromFrame('battle_main2_' + _d0p); }; }(_d0m || (_d0k.BATTLE_MAIN2 = _d0m = {})); }, 87090: (_d0r, _d0s) => { 'use strict'; var _d0t = null; var _d0u; defineModule(_d0s); Object.defineProperty(_d0s, '__esModule', { 'value': !0 }), _d0s.BATTLE_NIGHT = void 0, function(_d0v) { var _d0w = null; _d0v.getTexture = function(_d0x) { var _d0y = null; return PIXI.Texture.fromFrame('battle_night_' + _d0x); }; }(_d0u || (_d0s.BATTLE_NIGHT = _d0u = {})); }, 96798: (_d0z, _d10) => { 'use strict'; var _d11 = null; var _d12; defineModule(_d10); Object.defineProperty(_d10, '__esModule', { 'value': !0 }), _d10.BATTLE_ZRK = void 0, function(_d13) { var _d14 = null; _d13.getTexture = function(_d15) { var _d16 = null; return PIXI.Texture.fromFrame('battle_zrk_' + _d15); }; }(_d12 || (_d10.BATTLE_ZRK = _d12 = {})); }, 45615: (_d17, _d18) => { 'use strict'; var _d19 = null; var _d1a; defineModule(_d18); Object.defineProperty(_d18, '__esModule', { 'value': !0 }), _d18.BATTLE_RESULT_EVENT_BASE = void 0, function(_d1b) { var _d1c = null; _d1b.getTexture = function(_d1d) { var _d1e = null; return PIXI.Texture.fromFrame('battle_result_event_base_' + _d1d); }; }(_d1a || (_d18.BATTLE_RESULT_EVENT_BASE = _d1a = {})); }, 26802: (_d1f, _d1g) => { 'use strict'; var _d1h = null; var _d1i; defineModule(_d1g); Object.defineProperty(_d1g, '__esModule', { 'value': !0 }), _d1g.BATTLE_RESULT_MAIN = void 0, function(_d1j) { var _d1k = null; _d1j.getTexture = function(_d1l) { var _d1m = null; return PIXI.Texture.fromFrame('battle_result_main_' + _d1l); }; }(_d1i || (_d1g.BATTLE_RESULT_MAIN = _d1i = {})); }, 95471: (_d1n, _d1o) => { 'use strict'; var _d1p = null; var _d1q; defineModule(_d1o); Object.defineProperty(_d1o, '__esModule', { 'value': !0 }), _d1o.BATTLE_RESULT_SANMA_FES = void 0, function(_d1r) { var _d1s = null; _d1r.getTexture = function(_d1t) { var _d1u = null; return PIXI.Texture.fromFrame('battle_result_sanma_fes_' + _d1t); }; }(_d1q || (_d1o.BATTLE_RESULT_SANMA_FES = _d1q = {})); }, 33050: (_d1v, _d1w) => { 'use strict'; var _d1x = null; var _d1y; defineModule(_d1w); Object.defineProperty(_d1w, '__esModule', { 'value': !0 }), _d1w.COMMON_SENKA = void 0, function(_d1z) { var _d20 = null; _d1z.getTexture = function(_d21) { var _d22 = null; return PIXI.Texture.fromFrame('common_senka_' + _d21); }; }(_d1y || (_d1w.COMMON_SENKA = _d1y = {})); }, 30221: (_d23, _d24) => { 'use strict'; var _d25 = null; var _d26; defineModule(_d24); Object.defineProperty(_d24, '__esModule', { 'value': !0 }), _d24.COMMON_STARS = void 0, function(_d27) { var _d28 = null; _d27.getTexture = function(_d29) { var _d2a = null; return PIXI.Texture.fromFrame('common_stars_' + _d29); }; }(_d26 || (_d24.COMMON_STARS = _d26 = {})); }, 56442: (_d2b, _d2c) => { 'use strict'; var _d2d = null; var _d2e; defineModule(_d2c); Object.defineProperty(_d2c, '__esModule', { 'value': !0 }), _d2c.COMMON_ANIMATION = void 0, function(_d2f) { var _d2g = null; _d2f.getTexture = function(_d2h) { var _d2i = null; return PIXI.Texture.fromFrame('common_animation_' + _d2h); }; }(_d2e || (_d2c.COMMON_ANIMATION = _d2e = {})); }, 6499: (_d2j, _d2k) => { 'use strict'; var _d2l = null; var _d2m; defineModule(_d2k); Object.defineProperty(_d2k, '__esModule', { 'value': !0 }), _d2k.COMMON_AREA_ICON = void 0, function(_d2n) { var _d2o = null; _d2n.getTexture = function(_d2p) { var _d2q = null; return PIXI.Texture.fromFrame('common_area_icon_' + _d2p); }; }(_d2m || (_d2k.COMMON_AREA_ICON = _d2m = {})); }, 69124: (_d2r, _d2s) => { 'use strict'; var _d2t = null; var _d2u; defineModule(_d2s); Object.defineProperty(_d2s, '__esModule', { 'value': !0 }), _d2s.COMMON_EVENT = void 0, function(_d2v) { var _d2w = null; _d2v.getTexture = function(_d2x) { var _d2y = null; return PIXI.Texture.fromFrame('common_event_' + _d2x); }; }(_d2u || (_d2s.COMMON_EVENT = _d2u = {})); }, 23907: (_d2z, _d30) => { 'use strict'; var _d31 = null; var _d32; defineModule(_d30); Object.defineProperty(_d30, '__esModule', { 'value': !0 }), _d30.COMMON_EXPEDITION = void 0, function(_d33) { var _d34 = null; _d33.getTexture = function(_d35) { var _d36 = null; return PIXI.Texture.fromFrame('common_expedition_' + _d35); }; }(_d32 || (_d30.COMMON_EXPEDITION = _d32 = {})); }, 8867: (_d37, _d38) => { 'use strict'; var _d39 = null; var _d3a; defineModule(_d38); Object.defineProperty(_d38, '__esModule', { 'value': !0 }), _d38.COMMON_EXPLOSION = void 0, function(_d3b) { var _d3c = null; _d3b.getTexture = function(_d3d) { var _d3e = null; return PIXI.Texture.fromFrame('common_explosion_' + _d3d); }; }(_d3a || (_d38.COMMON_EXPLOSION = _d3a = {})); }, 73195: (_d3f, _d3g) => { 'use strict'; var _d3h = null; var _d3i; defineModule(_d3g); Object.defineProperty(_d3g, '__esModule', { 'value': !0 }), _d3g.COMMON_ICON_WEAPON = void 0, function(_d3j) { var _d3k = null; _d3j.getTextureFromMstID = function(_d3l) { var _d3m = null; try { return PIXI.Texture.fromFrame('common_icon_weapon_id_' + _d3l); } catch (_d3n) { return PIXI.Texture.EMPTY; } }; }(_d3i || (_d3g.COMMON_ICON_WEAPON = _d3i = {})); }, 59138: (_d3o, _d3p) => { 'use strict'; var _d3q = null; var _d3r; defineModule(_d3p); Object.defineProperty(_d3p, '__esModule', { 'value': !0 }), _d3p.COMMON_ITEMICONS = void 0, function(_d3s) { var _d3t = null; _d3s.getTextureFromMstID = function(_d3u) { var _d3v = null; try { return PIXI.Texture.fromFrame('common_itemicons_id_' + _d3u); } catch (_d3w) { return PIXI.Texture.EMPTY; } }; }(_d3r || (_d3p.COMMON_ITEMICONS = _d3r = {})); }, 90054: (_d3x, _d3y) => { 'use strict'; var _d3z = null; var _d40; defineModule(_d3y); Object.defineProperty(_d3y, '__esModule', { 'value': !0 }), _d3y.COMMON_MAIN = void 0, function(_d41) { var _d42 = null; _d41.getTexture = function(_d43) { var _d44 = null; return PIXI.Texture.fromFrame('common_main_' + _d43); }; }(_d40 || (_d3y.COMMON_MAIN = _d40 = {})); }, 11997: (_d45, _d46) => { 'use strict'; var _d47 = null; var _d48; defineModule(_d46); Object.defineProperty(_d46, '__esModule', { 'value': !0 }), _d46.COMMON_MISC = void 0, function(_d49) { var _d4a = null; _d49.getTexture = function(_d4b) { var _d4c = null; return PIXI.Texture.fromFrame('common_misc_' + _d4b); }; }(_d48 || (_d46.COMMON_MISC = _d48 = {})); }, 20406: (_d4d, _d4e) => { 'use strict'; var _d4f = null; var _d4g; defineModule(_d4e); Object.defineProperty(_d4e, '__esModule', { 'value': !0 }), _d4e.COMMON_REWARD_COUNT = void 0, function(_d4h) { var _d4i = null; _d4h.getTexture = function(_d4j) { var _d4k = null; return PIXI.Texture.fromFrame('common_reward_count_' + _d4j); }; }(_d4g || (_d4e.COMMON_REWARD_COUNT = _d4g = {})); }, 70192: (_d4l, _d4m) => { 'use strict'; var _d4n = null; var _d4o; defineModule(_d4m); Object.defineProperty(_d4m, '__esModule', { 'value': !0 }), _d4m.COMMON_SELECTABLE_EVENT_REWARD = void 0, function(_d4p) { var _d4q = null; _d4p.getTexture = function(_d4r) { var _d4s = null; return PIXI.Texture.fromFrame('common_selectable_event_reward_' + _d4r); }; }(_d4o || (_d4m.COMMON_SELECTABLE_EVENT_REWARD = _d4o = {})); }, 57210: (_d4t, _d4u) => { 'use strict'; var _d4v = null; var _d4w; defineModule(_d4u); Object.defineProperty(_d4u, '__esModule', { 'value': !0 }), _d4u.COMMON_SELECTABLE_REWARD = void 0, function(_d4x) { var _d4y = null; _d4x.getTexture = function(_d4z) { var _d50 = null; return PIXI.Texture.fromFrame('common_selectable_reward_' + _d4z); }; }(_d4w || (_d4u.COMMON_SELECTABLE_REWARD = _d4w = {})); }, 77276: (_d51, _d52) => { 'use strict'; var _d53 = null; var _d54; defineModule(_d52); Object.defineProperty(_d52, '__esModule', { 'value': !0 }), _d52.COMMON_SHOGO = void 0, function(_d55) { var _d56 = null; _d55.getTexture = function(_d57) { var _d58 = null; return PIXI.Texture.fromFrame('common_shogo_' + _d57); }; }(_d54 || (_d52.COMMON_SHOGO = _d54 = {})); }, 19869: (_d59, _d5a) => { 'use strict'; var _d5b = null; var _d5c; defineModule(_d5a); Object.defineProperty(_d5a, '__esModule', { 'value': !0 }), _d5a.COMMON_SHUTTER = void 0, function(_d5d) { var _d5e = null; _d5d.getTexture = function(_d5f) { var _d5g = null; return PIXI.Texture.fromFrame('common_shutter_' + _d5f); }; }(_d5c || (_d5a.COMMON_SHUTTER = _d5c = {})); }, 93501: (_d5h, _d5i) => { 'use strict'; var _d5j = null; var _d5k; defineModule(_d5i); Object.defineProperty(_d5i, '__esModule', { 'value': !0 }), _d5i.COMMON_SORT = void 0, function(_d5l) { var _d5m = null; _d5l.getTexture = function(_d5n) { var _d5o = null; return PIXI.Texture.fromFrame('common_sort_' + _d5n); }; }(_d5k || (_d5i.COMMON_SORT = _d5k = {})); }, 38010: (_d5p, _d5q) => { 'use strict'; var _d5r = null; var _d5s; defineModule(_d5q); Object.defineProperty(_d5q, '__esModule', { 'value': !0 }), _d5q.DUTY_MAIN = void 0, function(_d5t) { var _d5u = null; _d5t.getTexture = function(_d5v) { var _d5w = null; return PIXI.Texture.fromFrame('duty_main_' + _d5v); }; }(_d5s || (_d5q.DUTY_MAIN = _d5s = {})); }, 31000: function(_d5x, _d5y, _d5z) { 'use strict'; var _d60 = null; var _d61 = this && this.__createBinding || (Object.create ? function(_d62, _d63, _d64, _d65) { var _d66 = null; void 0 === _d65 && (_d65 = _d64); var _d67 = Object.getOwnPropertyDescriptor(_d63, _d64); _d67 && !('get' in _d67 ? !_d63.__esModule : _d67.writable || _d67.configurable) || (_d67 = { 'enumerable': !0, 'get': function() { return _d63[_d64]; } }), Object.defineProperty(_d62, _d65, _d67); } : function(_d68, _d69, _d6a, _d6b) { void 0 === _d6b && (_d6b = _d6a), _d68[_d6b] = _d69[_d6a]; }), _d6c = this && this.__exportStar || function(_d6d, _d6e) { var _d6f = null; for (var _d6g in _d6d) 'default' === _d6g || Object.prototype.hasOwnProperty.call(_d6e, _d6g) || _d61(_d6e, _d6d, _d6g); }; defineModule(_d5y); Object.defineProperty(_d5y, '__esModule', { 'value': !0 }), _d6c(_d5z(70723), _d5y), _d6c(_d5z(90054), _d5y), _d6c(_d5z(93501), _d5y), _d6c(_d5z(56442), _d5y), _d6c(_d5z(59138), _d5y), _d6c(_d5z(74623), _d5y), _d6c(_d5z(24226), _d5y), _d6c(_d5z(21173), _d5y), _d6c(_d5z(46482), _d5y), _d6c(_d5z(47374), _d5y), _d6c(_d5z(34654), _d5y), _d6c(_d5z(23252), _d5y), _d6c(_d5z(60702), _d5y), _d6c(_d5z(5782), _d5y), _d6c(_d5z(92980), _d5y), _d6c(_d5z(29075), _d5y), _d6c(_d5z(84309), _d5y), _d6c(_d5z(91618), _d5y), _d6c(_d5z(92919), _d5y), _d6c(_d5z(75875), _d5y), _d6c(_d5z(83683), _d5y), _d6c(_d5z(92990), _d5y), _d6c(_d5z(61849), _d5y), _d6c(_d5z(47992), _d5y), _d6c(_d5z(27882), _d5y), _d6c(_d5z(76052), _d5y), _d6c(_d5z(40168), _d5y), _d6c(_d5z(79563), _d5y); }, 54066: function(_d6h, _d6i, _d6j) { 'use strict'; var _d6k = null; var _d6l = this && this.__createBinding || (Object.create ? function(_d6m, _d6n, _d6o, _d6p) { var _d6q = null; void 0 === _d6p && (_d6p = _d6o); var _d6r = Object.getOwnPropertyDescriptor(_d6n, _d6o); _d6r && !('get' in _d6r ? !_d6n.__esModule : _d6r.writable || _d6r.configurable) || (_d6r = { 'enumerable': !0, 'get': function() { return _d6n[_d6o]; } }), Object.defineProperty(_d6m, _d6p, _d6r); } : function(_d6s, _d6t, _d6u, _d6v) { void 0 === _d6v && (_d6v = _d6u), _d6s[_d6v] = _d6t[_d6u]; }), _d6w = this && this.__exportStar || function(_d6x, _d6y) { var _d6z = null; for (var _d70 in _d6x) 'default' === _d70 || Object.prototype.hasOwnProperty.call(_d6y, _d70) || _d6l(_d6y, _d6x, _d70); }; defineModule(_d6i); Object.defineProperty(_d6i, '__esModule', { 'value': !0 }), _d6w(_d6j(28535), _d6i); }, 28535: (_d71, _d72) => { 'use strict'; var _d73 = null; var _d74; defineModule(_d72); Object.defineProperty(_d72, '__esModule', { 'value': !0 }), _d72.INTERIOR_PARTS = void 0, function(_d75) { var _d76 = null; _d75.getTexture = function(_d77) { var _d78 = null; return PIXI.Texture.fromFrame('interior_parts_' + _d77); }; }(_d74 || (_d72.INTERIOR_PARTS = _d74 = {})); }, 83683: (_d79, _d7a) => { 'use strict'; var _d7b = null; var _d7c; defineModule(_d7a); Object.defineProperty(_d7a, '__esModule', { 'value': !0 }), _d7a.ITEM_COMMON = void 0, function(_d7d) { var _d7e = null; _d7d.getTexture = function(_d7f) { var _d7g = null; return PIXI.Texture.fromFrame('item_common_' + _d7f); }; }(_d7c || (_d7a.ITEM_COMMON = _d7c = {})); }, 79563: (_d7h, _d7i) => { 'use strict'; var _d7j = null; var _d7k; defineModule(_d7i); Object.defineProperty(_d7i, '__esModule', { 'value': !0 }), _d7i.ITEM_FSHOP = void 0, function(_d7l) { var _d7m = null; _d7l.getTexture = function(_d7n) { var _d7o = null; return PIXI.Texture.fromFrame('item_fshop_' + _d7n); }; }(_d7k || (_d7i.ITEM_FSHOP = _d7k = {})); }, 92990: (_d7p, _d7q) => { 'use strict'; var _d7r = null; var _d7s; defineModule(_d7q); Object.defineProperty(_d7q, '__esModule', { 'value': !0 }), _d7q.ITEM_ILIST = void 0, function(_d7t) { var _d7u = null; _d7t.getTexture = function(_d7v) { var _d7w = null; return PIXI.Texture.fromFrame('item_ilist_' + _d7v); }; }(_d7s || (_d7q.ITEM_ILIST = _d7s = {})); }, 76052: (_d7x, _d7y) => { 'use strict'; var _d7z = null; var _d80; defineModule(_d7y); Object.defineProperty(_d7y, '__esModule', { 'value': !0 }), _d7y.ITEM_ILIST_HISHIMOCHI = void 0, function(_d81) { var _d82 = null; _d81.getTexture = function(_d83) { var _d84 = null; return PIXI.Texture.fromFrame('item_ilist_hishimochi_' + _d83); }; }(_d80 || (_d7y.ITEM_ILIST_HISHIMOCHI = _d80 = {})); }, 61849: (_d85, _d86) => { 'use strict'; var _d87 = null; var _d88; defineModule(_d86); Object.defineProperty(_d86, '__esModule', { 'value': !0 }), _d86.ITEM_ILIST_MEDAL = void 0, function(_d89) { var _d8a = null; _d89.getTexture = function(_d8b) { var _d8c = null; return PIXI.Texture.fromFrame('item_ilist_medal_' + _d8b); }; }(_d88 || (_d86.ITEM_ILIST_MEDAL = _d88 = {})); }, 47992: (_d8d, _d8e) => { 'use strict'; var _d8f = null; var _d8g; defineModule(_d8e); Object.defineProperty(_d8e, '__esModule', { 'value': !0 }), _d8e.ITEM_ILIST_MEDAL_KOU = void 0, function(_d8h) { var _d8i = null; _d8h.getTexture = function(_d8j) { var _d8k = null; return PIXI.Texture.fromFrame('item_ilist_medal_kou_' + _d8j); }; }(_d8g || (_d8e.ITEM_ILIST_MEDAL_KOU = _d8g = {})); }, 27882: (_d8l, _d8m) => { 'use strict'; var _d8n = null; var _d8o; defineModule(_d8m); Object.defineProperty(_d8m, '__esModule', { 'value': !0 }), _d8m.ITEM_ILIST_PRESENTBOX = void 0, function(_d8p) { var _d8q = null; _d8p.getTexture = function(_d8r) { var _d8s = null; return PIXI.Texture.fromFrame('item_ilist_presentbox_' + _d8r); }; }(_d8o || (_d8m.ITEM_ILIST_PRESENTBOX = _d8o = {})); }, 44060: (_d8t, _d8u) => { 'use strict'; var _d8v = null; var _d8w; defineModule(_d8u); Object.defineProperty(_d8u, '__esModule', { 'value': !0 }), _d8u.ITEM_ILIST_PUMPKIN = void 0, function(_d8x) { var _d8y = null; _d8x.getTexture = function(_d8z) { var _d90 = null; return PIXI.Texture.fromFrame('item_ilist_pumpkin_' + _d8z); }; }(_d8w || (_d8u.ITEM_ILIST_PUMPKIN = _d8w = {})); }, 56714: (_d91, _d92) => { 'use strict'; var _d93 = null; var _d94; defineModule(_d92); Object.defineProperty(_d92, '__esModule', { 'value': !0 }), _d92.ITEM_ILIST_SANMA = void 0, function(_d95) { var _d96 = null; _d95.getTexture = function(_d97) { var _d98 = null; return PIXI.Texture.fromFrame('item_ilist_sanma_' + _d97); }; }(_d94 || (_d92.ITEM_ILIST_SANMA = _d94 = {})); }, 78773: (_d99, _d9a) => { 'use strict'; var _d9b = null; var _d9c; defineModule(_d9a); Object.defineProperty(_d9a, '__esModule', { 'value': !0 }), _d9a.ITEM_ILIST_SETSUBUN = void 0, function(_d9d) { var _d9e = null; _d9d.getTexture = function(_d9f) { var _d9g = null; return PIXI.Texture.fromFrame('item_ilist_setsubun_' + _d9f); }; }(_d9c || (_d9a.ITEM_ILIST_SETSUBUN = _d9c = {})); }, 99950: (_d9h, _d9i) => { 'use strict'; var _d9j = null; var _d9k; defineModule(_d9i); Object.defineProperty(_d9i, '__esModule', { 'value': !0 }), _d9i.ITEM_ILIST_TERUTERUBOZU = void 0, function(_d9l) { var _d9m = null; _d9l.getTexture = function(_d9n) { var _d9o = null; return PIXI.Texture.fromFrame('item_ilist_teruterubozu_' + _d9n); }; }(_d9k || (_d9i.ITEM_ILIST_TERUTERUBOZU = _d9k = {})); }, 40168: (_d9p, _d9q) => { 'use strict'; var _d9r = null; var _d9s; defineModule(_d9q); Object.defineProperty(_d9q, '__esModule', { 'value': !0 }), _d9q.ITEM_ISHOP = void 0, function(_d9t) { var _d9u = null; _d9t.getTexture = function(_d9v) { var _d9w = null; return PIXI.Texture.fromFrame('item_ishop_' + _d9v); }; }(_d9s || (_d9q.ITEM_ISHOP = _d9s = {})); }, 28118: (_d9x, _d9y) => { 'use strict'; var _d9z = null; var _da0; defineModule(_d9y); Object.defineProperty(_d9y, '__esModule', { 'value': !0 }), _d9y.ITEM_MENU_1 = void 0, function(_da1) { var _da2 = null; _da1.getTexture = function(_da3) { var _da4 = null; return PIXI.Texture.fromFrame('item_menu_1_' + _da3); }; }(_da0 || (_d9y.ITEM_MENU_1 = _da0 = {})); }, 52525: (_da5, _da6) => { 'use strict'; var _da7 = null; var _da8; defineModule(_da6); Object.defineProperty(_da6, '__esModule', { 'value': !0 }), _da6.ITEM_MENU_2 = void 0, function(_da9) { var _daa = null; _da9.getTexture = function(_dab) { var _dac = null; return PIXI.Texture.fromFrame('item_menu_2_' + _dab); }; }(_da8 || (_da6.ITEM_MENU_2 = _da8 = {})); }, 85913: (_dad, _dae) => { 'use strict'; var _daf = null; var _dag; defineModule(_dae); Object.defineProperty(_dae, '__esModule', { 'value': !0 }), _dae.ITEM_MENU_3 = void 0, function(_dah) { var _dai = null; _dah.getTexture = function(_daj) { var _dak = null; return PIXI.Texture.fromFrame('item_menu_3_' + _daj); }; }(_dag || (_dae.ITEM_MENU_3 = _dag = {})); }, 81526: (_dal, _dam) => { 'use strict'; var _dan = null; var _dao; defineModule(_dam); Object.defineProperty(_dam, '__esModule', { 'value': !0 }), _dam.ITEM_PAYITEMICON = void 0, function(_dap) { var _daq = null; _dap.getTextureFromMstID = function(_dar) { var _das = null; try { return PIXI.Texture.fromFrame('item_payitemicon_id_' + _dar); } catch (_dat) { return PIXI.Texture.EMPTY; } }; }(_dao || (_dam.ITEM_PAYITEMICON = _dao = {})); }, 47535: (_dau, _dav) => { 'use strict'; var _daw = null; var _dax; defineModule(_dav); Object.defineProperty(_dav, '__esModule', { 'value': !0 }), _dav.JUKEBOX_COMMON = void 0, function(_day) { var _daz = null; _day.getTexture = function(_db0) { var _db1 = null; return PIXI.Texture.fromFrame('jukebox_common_' + _db0); }; }(_dax || (_dav.JUKEBOX_COMMON = _dax = {})); }, 88623: (_db2, _db3) => { 'use strict'; var _db4 = null; var _db5; defineModule(_db3); Object.defineProperty(_db3, '__esModule', { 'value': !0 }), _db3.MAP_ANCHORAGE_REPAIR = void 0, function(_db6) { var _db7 = null; _db6.getTexture = function(_db8) { var _db9 = null; return PIXI.Texture.fromFrame('map_anchorage_repair_' + _db8); }; }(_db5 || (_db3.MAP_ANCHORAGE_REPAIR = _db5 = {})); }, 74876: (_dba, _dbb) => { 'use strict'; var _dbc = null; var _dbd; defineModule(_dbb); Object.defineProperty(_dbb, '__esModule', { 'value': !0 }), _dbb.MAP_CELL_EVENT = void 0, function(_dbe) { var _dbf = null; _dbe.getTexture = function(_dbg) { var _dbh = null; return PIXI.Texture.fromFrame('map_cell_event_' + _dbg); }; }(_dbd || (_dbb.MAP_CELL_EVENT = _dbd = {})); }, 55896: (_dbi, _dbj) => { 'use strict'; var _dbk = null; var _dbl; defineModule(_dbj); Object.defineProperty(_dbj, '__esModule', { 'value': !0 }), _dbj.MAP_DECISION = void 0, function(_dbm) { var _dbn = null; _dbm.getTexture = function(_dbo) { var _dbp = null; return PIXI.Texture.fromFrame('map_decision_' + _dbo); }; }(_dbl || (_dbj.MAP_DECISION = _dbl = {})); }, 82162: (_dbq, _dbr) => { 'use strict'; var _dbs = null; var _dbt; defineModule(_dbr); Object.defineProperty(_dbr, '__esModule', { 'value': !0 }), _dbr.MAP_ENEMY_BANNERFRAMES = void 0, function(_dbu) { var _dbv = null; _dbu.getTexture = function(_dbw) { var _dbx = null; return PIXI.Texture.fromFrame('map_enemy_bannerframes_' + _dbw); }; }(_dbt || (_dbr.MAP_ENEMY_BANNERFRAMES = _dbt = {})); }, 46858: (_dby, _dbz) => { 'use strict'; var _dc0 = null; var _dc1; defineModule(_dbz); Object.defineProperty(_dbz, '__esModule', { 'value': !0 }), _dbz.MAP_EVENT_ANIME = void 0, function(_dc2) { var _dc3 = null; _dc2.getTexture = function(_dc4) { var _dc5 = null; return PIXI.Texture.fromFrame('map_event_anime_' + _dc4); }; }(_dc1 || (_dbz.MAP_EVENT_ANIME = _dc1 = {})); }, 60178: (_dc6, _dc7) => { 'use strict'; var _dc8 = null; var _dc9; defineModule(_dc7); Object.defineProperty(_dc7, '__esModule', { 'value': !0 }), _dc7.MAP_EVENT_ANIME_483 = void 0, function(_dca) { var _dcb = null; _dca.getTexture = function(_dcc) { var _dcd = null; return PIXI.Texture.fromFrame('map_event_anime_483_' + _dcc); }; }(_dc9 || (_dc7.MAP_EVENT_ANIME_483 = _dc9 = {})); }, 90826: (_dce, _dcf) => { 'use strict'; var _dcg = null; var _dch; defineModule(_dcf); Object.defineProperty(_dcf, '__esModule', { 'value': !0 }), _dcf.MAP_FAIRY = void 0, function(_dci) { var _dcj = null; _dci.getTexture = function(_dck) { var _dcl = null; return PIXI.Texture.fromFrame('map_fairy_' + _dck); }; }(_dch || (_dcf.MAP_FAIRY = _dch = {})); }, 76776: (_dcm, _dcn) => { 'use strict'; var _dco = null; var _dcp; defineModule(_dcn); Object.defineProperty(_dcn, '__esModule', { 'value': !0 }), _dcn.MAP_FAIRY_XMAS = void 0, function(_dcq) { var _dcr = null; _dcq.getTexture = function(_dcs) { var _dct = null; return PIXI.Texture.fromFrame('map_fairy_xmas_' + _dcs); }; }(_dcp || (_dcn.MAP_FAIRY_XMAS = _dcp = {})); }, 86699: (_dcu, _dcv) => { 'use strict'; var _dcw = null; var _dcx; defineModule(_dcv); Object.defineProperty(_dcv, '__esModule', { 'value': !0 }), _dcv.MAP_FLAGSHIP_DAMAGE = void 0, function(_dcy) { var _dcz = null; _dcy.getTexture = function(_dd0) { var _dd1 = null; return PIXI.Texture.fromFrame('map_flagship_damage_' + _dd0); }; }(_dcx || (_dcv.MAP_FLAGSHIP_DAMAGE = _dcx = {})); }, 49749: (_dd2, _dd3) => { 'use strict'; var _dd4 = null; var _dd5; defineModule(_dd3); Object.defineProperty(_dd3, '__esModule', { 'value': !0 }), _dd3.MAP_MAIN = void 0, function(_dd6) { var _dd7 = null; _dd6.getTexture = function(_dd8) { var _dd9 = null; return PIXI.Texture.fromFrame('map_main_' + _dd8); }; }(_dd5 || (_dd3.MAP_MAIN = _dd5 = {})); }, 67273: (_dda, _ddb) => { 'use strict'; var _ddc = null; var _ddd; defineModule(_ddb); Object.defineProperty(_ddb, '__esModule', { 'value': !0 }), _ddb.MAP_TELOP = void 0, function(_dde) { var _ddf = null; _dde.getTexture = function(_ddg) { var _ddh = null; return PIXI.Texture.fromFrame('map_telop_' + _ddg); }; }(_ddd || (_ddb.MAP_TELOP = _ddd = {})); }, 69627: (_ddi, _ddj) => { 'use strict'; var _ddk = null; var _ddl; defineModule(_ddj); Object.defineProperty(_ddj, '__esModule', { 'value': !0 }), _ddj.ORGANIZE_FILTER = void 0, function(_ddm) { var _ddn = null; _ddm.getTexture = function(_ddo) { var _ddp = null; return PIXI.Texture.fromFrame('organize_filter_' + _ddo); }; }(_ddl || (_ddj.ORGANIZE_FILTER = _ddl = {})); }, 90606: (_ddq, _ddr) => { 'use strict'; var _dds = null; var _ddt; defineModule(_ddr); Object.defineProperty(_ddr, '__esModule', { 'value': !0 }), _ddr.ORGANIZE_HOKYU_DIALOG_DEFAULT = void 0, function(_ddu) { var _ddv = null; _ddu.getTexture = function(_ddw) { var _ddx = null; return PIXI.Texture.fromFrame('organize_hokyu_dialog_default_' + _ddw); }; }(_ddt || (_ddr.ORGANIZE_HOKYU_DIALOG_DEFAULT = _ddt = {})); }, 74330: (_ddy, _ddz) => { 'use strict'; var _de0 = null; var _de1; defineModule(_ddz); Object.defineProperty(_ddz, '__esModule', { 'value': !0 }), _ddz.ORGANIZE_HOKYU_DIALOG_SUMMER = void 0, function(_de2) { var _de3 = null; _de2.getTexture = function(_de4) { var _de5 = null; return PIXI.Texture.fromFrame('organize_hokyu_dialog_summer_' + _de4); }; }(_de1 || (_ddz.ORGANIZE_HOKYU_DIALOG_SUMMER = _de1 = {})); }, 31984: (_de6, _de7) => { 'use strict'; var _de8 = null; var _de9; defineModule(_de7); Object.defineProperty(_de7, '__esModule', { 'value': !0 }), _de7.ORGANIZE_HOKYU_DIALOG_XMAS = void 0, function(_dea) { var _deb = null; _dea.getTexture = function(_dec) { var _ded = null; return PIXI.Texture.fromFrame('organize_hokyu_dialog_xmas_' + _dec); }; }(_de9 || (_de7.ORGANIZE_HOKYU_DIALOG_XMAS = _de9 = {})); }, 74623: (_dee, _def) => { 'use strict'; var _deg = null; var _deh; defineModule(_def); Object.defineProperty(_def, '__esModule', { 'value': !0 }), _def.ORGANIZE_MAIN = void 0, function(_dei) { var _dej = null; _dei.getTexture = function(_dek) { var _del = null; return PIXI.Texture.fromFrame('organize_main_' + _dek); }; }(_deh || (_def.ORGANIZE_MAIN = _deh = {})); }, 57180: (_dem, _den) => { 'use strict'; var _deo = null; var _dep; defineModule(_den); Object.defineProperty(_den, '__esModule', { 'value': !0 }), _den.ORGANIZE_MAMIYA_ANIMATION_COMMON = void 0, function(_deq) { var _der = null; _deq.getTexture = function(_des) { var _det = null; return PIXI.Texture.fromFrame('organize_mamiya_animation_common_' + _des); }; }(_dep || (_den.ORGANIZE_MAMIYA_ANIMATION_COMMON = _dep = {})); }, 63727: (_deu, _dev) => { 'use strict'; var _dew = null; var _dex; defineModule(_dev); Object.defineProperty(_dev, '__esModule', { 'value': !0 }), _dev.ORGANIZE_MAMIYA_ANIMATION_DEFAULT = void 0, function(_dey) { var _dez = null; _dey.getTexture = function(_df0) { var _df1 = null; return PIXI.Texture.fromFrame('organize_mamiya_animation_default_' + _df0); }; }(_dex || (_dev.ORGANIZE_MAMIYA_ANIMATION_DEFAULT = _dex = {})); }, 95632: (_df2, _df3) => { 'use strict'; var _df4 = null; var _df5; defineModule(_df3); Object.defineProperty(_df3, '__esModule', { 'value': !0 }), _df3.ORGANIZE_MAMIYA_ANIMATION_SUMMER = void 0, function(_df6) { var _df7 = null; _df6.getTexture = function(_df8) { var _df9 = null; return PIXI.Texture.fromFrame('organize_mamiya_animation_summer_' + _df8); }; }(_df5 || (_df3.ORGANIZE_MAMIYA_ANIMATION_SUMMER = _df5 = {})); }, 18575: (_dfa, _dfb) => { 'use strict'; var _dfc = null; var _dfd; defineModule(_dfb); Object.defineProperty(_dfb, '__esModule', { 'value': !0 }), _dfb.ORGANIZE_MAMIYA_ANIMATION_XMAS = void 0, function(_dfe) { var _dff = null; _dfe.getTexture = function(_dfg) { var _dfh = null; return PIXI.Texture.fromFrame('organize_mamiya_animation_xmas_' + _dfg); }; }(_dfd || (_dfb.ORGANIZE_MAMIYA_ANIMATION_XMAS = _dfd = {})); }, 24226: (_dfi, _dfj) => { 'use strict'; var _dfk = null; var _dfl; defineModule(_dfj); Object.defineProperty(_dfj, '__esModule', { 'value': !0 }), _dfj.ORGANIZE_RENGO = void 0, function(_dfm) { var _dfn = null; _dfm.getTexture = function(_dfo) { var _dfp = null; return PIXI.Texture.fromFrame('organize_rengo_' + _dfo); }; }(_dfl || (_dfj.ORGANIZE_RENGO = _dfl = {})); }, 21173: (_dfq, _dfr) => { 'use strict'; var _dfs = null; var _dft; defineModule(_dfr); Object.defineProperty(_dfr, '__esModule', { 'value': !0 }), _dfr.ORGANIZE_SHIP = void 0, function(_dfu) { var _dfv = null; _dfu.getTexture = function(_dfw) { var _dfx = null; return PIXI.Texture.fromFrame('organize_ship_' + _dfw); }; }(_dft || (_dfr.ORGANIZE_SHIP = _dft = {})); }, 89005: (_dfy, _dfz) => { 'use strict'; var _dg0 = null; var _dg1; defineModule(_dfz); Object.defineProperty(_dfz, '__esModule', { 'value': !0 }), _dfz.PORT_FRIENDLY_REQUEST = void 0, function(_dg2) { var _dg3 = null; _dg2.getTexture = function(_dg4) { var _dg5 = null; return PIXI.Texture.fromFrame('port_friendly_request_' + _dg4); }; }(_dg1 || (_dfz.PORT_FRIENDLY_REQUEST = _dg1 = {})); }, 67820: (_dg6, _dg7) => { 'use strict'; var _dg8 = null; var _dg9; defineModule(_dg7); Object.defineProperty(_dg7, '__esModule', { 'value': !0 }), _dg7.PORT_MAIN = void 0, function(_dga) { var _dgb = null; _dga.getTexture = function(_dgc) { var _dgd = null; return PIXI.Texture.fromFrame('port_main_' + _dgc); }; }(_dg9 || (_dg7.PORT_MAIN = _dg9 = {})); }, 37247: (_dge, _dgf) => { 'use strict'; var _dgg = null; var _dgh; defineModule(_dgf); Object.defineProperty(_dgf, '__esModule', { 'value': !0 }), _dgf.PORT_OPTION = void 0, function(_dgi) { var _dgj = null; _dgi.getTexture = function(_dgk) { var _dgl = null; return PIXI.Texture.fromFrame('port_option_' + _dgk); }; }(_dgh || (_dgf.PORT_OPTION = _dgh = {})); }, 72844: (_dgm, _dgn) => { 'use strict'; var _dgo = null; var _dgp; defineModule(_dgn); Object.defineProperty(_dgn, '__esModule', { 'value': !0 }), _dgn.PORT_RINGMENU = void 0, function(_dgq) { var _dgr = null; _dgq.getTexture = function(_dgs) { var _dgt = null; return PIXI.Texture.fromFrame('port_ringmenu_' + _dgs); }; }(_dgp || (_dgn.PORT_RINGMENU = _dgp = {})); }, 35688: (_dgu, _dgv) => { 'use strict'; var _dgw = null; var _dgx; defineModule(_dgv); Object.defineProperty(_dgv, '__esModule', { 'value': !0 }), _dgv.PORT_SHIPS = void 0, function(_dgy) { var _dgz = null; _dgy.getTexture = function(_dh0) { var _dh1 = null; return PIXI.Texture.fromFrame('port_ships_' + _dh0); }; }(_dgx || (_dgv.PORT_SHIPS = _dgx = {})); }, 45420: (_dh2, _dh3) => { 'use strict'; var _dh4 = null; var _dh5; defineModule(_dh3); Object.defineProperty(_dh3, '__esModule', { 'value': !0 }), _dh3.PORT_SIDEMENU = void 0, function(_dh6) { var _dh7 = null; _dh6.getTexture = function(_dh8) { var _dh9 = null; return PIXI.Texture.fromFrame('port_sidemenu_' + _dh8); }; }(_dh5 || (_dh3.PORT_SIDEMENU = _dh5 = {})); }, 4918: (_dha, _dhb) => { 'use strict'; var _dhc = null; var _dhd; defineModule(_dhb); Object.defineProperty(_dhb, '__esModule', { 'value': !0 }), _dhb.PORT_SKIN_1 = void 0, function(_dhe) { var _dhf = null; _dhe.getTexture = function(_dhg) { var _dhh = null; return PIXI.Texture.fromFrame('port_skin_1_' + _dhg); }; }(_dhd || (_dhb.PORT_SKIN_1 = _dhd = {})); }, 48351: (_dhi, _dhj) => { 'use strict'; var _dhk = null; var _dhl; defineModule(_dhj); Object.defineProperty(_dhj, '__esModule', { 'value': !0 }), _dhj.PORT_SKIN_2 = void 0, function(_dhm) { var _dhn = null; _dhm.getTexture = function(_dho) { var _dhp = null; return PIXI.Texture.fromFrame('port_skin_2_' + _dho); }; }(_dhl || (_dhj.PORT_SKIN_2 = _dhl = {})); }, 3252: (_dhq, _dhr) => { 'use strict'; var _dhs = null; var _dht; defineModule(_dhr); Object.defineProperty(_dhr, '__esModule', { 'value': !0 }), _dhr.PORT_SKIN_3 = void 0, function(_dhu) { var _dhv = null; _dhu.getTexture = function(_dhw) { var _dhx = null; return PIXI.Texture.fromFrame('port_skin_3_' + _dhw); }; }(_dht || (_dhr.PORT_SKIN_3 = _dht = {})); }, 16896: (_dhy, _dhz) => { 'use strict'; var _di0 = null; var _di1; defineModule(_dhz); Object.defineProperty(_dhz, '__esModule', { 'value': !0 }), _dhz.PORT_SKIN_3K = void 0, function(_di2) { var _di3 = null; _di2.getTexture = function(_di4) { var _di5 = null; return PIXI.Texture.fromFrame('port_skin_3k_' + _di4); }; }(_di1 || (_dhz.PORT_SKIN_3K = _di1 = {})); }, 13393: (_di6, _di7) => { 'use strict'; var _di8 = null; var _di9; defineModule(_di7); Object.defineProperty(_di7, '__esModule', { 'value': !0 }), _di7.PORT_SKIN_3K_HUKI = void 0, function(_dia) { var _dib = null; _dia.getTexture = function(_dic) { var _did = null; return PIXI.Texture.fromFrame('port_skin_3k_huki_' + _dic); }; }(_di9 || (_di7.PORT_SKIN_3K_HUKI = _di9 = {})); }, 30366: (_die, _dif) => { 'use strict'; var _dig = null; var _dih; defineModule(_dif); Object.defineProperty(_dif, '__esModule', { 'value': !0 }), _dif.PORT_SKIN_CIRCLE_2 = void 0, function(_dii) { var _dij = null; _dii.getTexture = function(_dik) { var _dil = null; return PIXI.Texture.fromFrame('port_skin_circle_2_' + _dik); }; }(_dih || (_dif.PORT_SKIN_CIRCLE_2 = _dih = {})); }, 79065: (_dim, _din) => { 'use strict'; var _dio = null; var _dip; defineModule(_din); Object.defineProperty(_din, '__esModule', { 'value': !0 }), _din.PORT_TUTORIAL = void 0, function(_diq) { var _dir = null; _diq.getTexture = function(_dis) { var _dit = null; return PIXI.Texture.fromFrame('port_tutorial_' + _dis); }; }(_dip || (_din.PORT_TUTORIAL = _dip = {})); }, 29016: (_diu, _div) => { 'use strict'; var _diw = null; var _dix; defineModule(_div); Object.defineProperty(_div, '__esModule', { 'value': !0 }), _div.PRAC_MAIN = void 0, function(_diy) { var _diz = null; _diy.getTexture = function(_dj0) { var _dj1 = null; return PIXI.Texture.fromFrame('prac_main_' + _dj0); }; }(_dix || (_div.PRAC_MAIN = _dix = {})); }, 76693: (_dj2, _dj3) => { 'use strict'; var _dj4 = null; var _dj5; defineModule(_dj3); Object.defineProperty(_dj3, '__esModule', { 'value': !0 }), _dj3.RECORD_AIRBASE_MAINT = void 0, function(_dj6) { var _dj7 = null; _dj6.getTexture = function(_dj8) { var _dj9 = null; return PIXI.Texture.fromFrame('record_airbase_maint_' + _dj8); }; }(_dj5 || (_dj3.RECORD_AIRBASE_MAINT = _dj5 = {})); }, 73269: (_dja, _djb) => { 'use strict'; var _djc = null; var _djd; defineModule(_djb); Object.defineProperty(_djb, '__esModule', { 'value': !0 }), _djb.RECORD_MENU = void 0, function(_dje) { var _djf = null; _dje.getTexture = function(_djg) { var _djh = null; return PIXI.Texture.fromFrame('record_menu_' + _djg); }; }(_djd || (_djb.RECORD_MENU = _djd = {})); }, 63328: (_dji, _djj) => { 'use strict'; var _djk = null; var _djl; defineModule(_djj); Object.defineProperty(_djj, '__esModule', { 'value': !0 }), _djj.RECORD_MINI = void 0, function(_djm) { var _djn = null; _djm.getTexture = function(_djo) { var _djp = null; return PIXI.Texture.fromFrame('record_mini_' + _djo); }; }(_djl || (_djj.RECORD_MINI = _djl = {})); }, 5941: (_djq, _djr) => { 'use strict'; var _djs = null; var _djt; defineModule(_djr); Object.defineProperty(_djr, '__esModule', { 'value': !0 }), _djr.RECORD_PARTS = void 0, function(_dju) { var _djv = null; _dju.getTexture = function(_djw) { var _djx = null; return PIXI.Texture.fromFrame('record_parts_' + _djw); }; }(_djt || (_djr.RECORD_PARTS = _djt = {})); }, 60702: (_djy, _djz) => { 'use strict'; var _dk0 = null; var _dk1; defineModule(_djz); Object.defineProperty(_djz, '__esModule', { 'value': !0 }), _djz.REMODEL_ANIMATION = void 0, function(_dk2) { var _dk3 = null; _dk2.getTexture = function(_dk4) { var _dk5 = null; return PIXI.Texture.fromFrame('remodel_animation_' + _dk4); }; }(_dk1 || (_djz.REMODEL_ANIMATION = _dk1 = {})); }, 23252: (_dk6, _dk7) => { 'use strict'; var _dk8 = null; var _dk9; defineModule(_dk7); Object.defineProperty(_dk7, '__esModule', { 'value': !0 }), _dk7.REMODEL_GRADEUP = void 0, function(_dka) { var _dkb = null; _dka.getTexture = function(_dkc) { var _dkd = null; return PIXI.Texture.fromFrame('remodel_gradeup_' + _dkc); }; }(_dk9 || (_dk7.REMODEL_GRADEUP = _dk9 = {})); }, 47374: (_dke, _dkf) => { 'use strict'; var _dkg = null; var _dkh; defineModule(_dkf); Object.defineProperty(_dkf, '__esModule', { 'value': !0 }), _dkf.REMODEL_MAIN = void 0, function(_dki) { var _dkj = null; _dki.getTexture = function(_dkk) { var _dkl = null; return PIXI.Texture.fromFrame('remodel_main_' + _dkk); }; }(_dkh || (_dkf.REMODEL_MAIN = _dkh = {})); }, 34654: (_dkm, _dkn) => { 'use strict'; var _dko = null; var _dkp; defineModule(_dkn); Object.defineProperty(_dkn, '__esModule', { 'value': !0 }), _dkn.REMODEL_POWERUP = void 0, function(_dkq) { var _dkr = null; _dkq.getTexture = function(_dks) { var _dkt = null; return PIXI.Texture.fromFrame('remodel_powerup_' + _dks); }; }(_dkp || (_dkn.REMODEL_POWERUP = _dkp = {})); }, 97297: (_dku, _dkv) => { 'use strict'; var _dkw = null; var _dkx; defineModule(_dkv); Object.defineProperty(_dkv, '__esModule', { 'value': !0 }), _dkv.REMODEL_PRESET = void 0, function(_dky) { var _dkz = null; _dky.getTexture = function(_dl0) { var _dl1 = null; return PIXI.Texture.fromFrame('remodel_preset_' + _dl0); }; }(_dkx || (_dkv.REMODEL_PRESET = _dkx = {})); }, 49980: (_dl2, _dl3) => { 'use strict'; var _dl4 = null; var _dl5; defineModule(_dl3); Object.defineProperty(_dl3, '__esModule', { 'value': !0 }), _dl3.REMODEL_PRESET_SLOT_TEXT = void 0, function(_dl6) { var _dl7 = null; _dl6.getTextureFromMstID = function(_dl8) { var _dl9 = null; try { return PIXI.Texture.fromFrame('remodel_preset_slot_text_id_' + _dl8); } catch (_dla) { return PIXI.Texture.EMPTY; } }; }(_dl5 || (_dl3.REMODEL_PRESET_SLOT_TEXT = _dl5 = {})); }, 45670: (_dlb, _dlc) => { 'use strict'; var _dld = null; var _dle; defineModule(_dlc); Object.defineProperty(_dlc, '__esModule', { 'value': !0 }), _dlc.REMODEL_PUMPKIN = void 0, function(_dlf) { var _dlg = null; _dlf.getTexture = function(_dlh) { var _dli = null; return PIXI.Texture.fromFrame('remodel_pumpkin_' + _dlh); }; }(_dle || (_dlc.REMODEL_PUMPKIN = _dle = {})); }, 5782: (_dlj, _dlk) => { 'use strict'; var _dll = null; var _dlm; defineModule(_dlk); Object.defineProperty(_dlk, '__esModule', { 'value': !0 }), _dlk.REPAIR_MAIN = void 0, function(_dln) { var _dlo = null; _dln.getTexture = function(_dlp) { var _dlq = null; return PIXI.Texture.fromFrame('repair_main_' + _dlp); }; }(_dlm || (_dlk.REPAIR_MAIN = _dlm = {})); }, 74761: (_dlr, _dls) => { 'use strict'; var _dlt = null; var _dlu; defineModule(_dls); Object.defineProperty(_dls, '__esModule', { 'value': !0 }), _dls.REPAIR_SORT = void 0, function(_dlv) { var _dlw = null; _dlv.getTexture = function(_dlx) { var _dly = null; return PIXI.Texture.fromFrame('repair_sort_' + _dlx); }; }(_dlu || (_dls.REPAIR_SORT = _dlu = {})); }, 64052: function(_dlz, _dm0, _dm1) { 'use strict'; var _dm2 = null; var _dm3 = this && this.__createBinding || (Object.create ? function(_dm4, _dm5, _dm6, _dm7) { var _dm8 = null; void 0 === _dm7 && (_dm7 = _dm6); var _dm9 = Object.getOwnPropertyDescriptor(_dm5, _dm6); _dm9 && !('get' in _dm9 ? !_dm5.__esModule : _dm9.writable || _dm9.configurable) || (_dm9 = { 'enumerable': !0, 'get': function() { return _dm5[_dm6]; } }), Object.defineProperty(_dm4, _dm7, _dm9); } : function(_dma, _dmb, _dmc, _dmd) { void 0 === _dmd && (_dmd = _dmc), _dma[_dmd] = _dmb[_dmc]; }), _dme = this && this.__exportStar || function(_dmf, _dmg) { var _dmh = null; for (var _dmi in _dmf) 'default' === _dmi || Object.prototype.hasOwnProperty.call(_dmg, _dmi) || _dm3(_dmg, _dmf, _dmi); }; defineModule(_dm0); Object.defineProperty(_dm0, '__esModule', { 'value': !0 }), _dme(_dm1(66212), _dm0), _dme(_dm1(82232), _dm0), _dme(_dm1(49231), _dm0); }, 66212: (_dmj, _dmk) => { 'use strict'; var _dml = null; var _dmm; defineModule(_dmk); Object.defineProperty(_dmk, '__esModule', { 'value': !0 }), _dmk.REVAMP_BOX = void 0, function(_dmn) { var _dmo = null; _dmn.getTexture = function(_dmp) { var _dmq = null; return PIXI.Texture.fromFrame('revamp_box_' + _dmp); }; }(_dmm || (_dmk.REVAMP_BOX = _dmm = {})); }, 82232: (_dmr, _dms) => { 'use strict'; var _dmt = null; var _dmu; defineModule(_dms); Object.defineProperty(_dms, '__esModule', { 'value': !0 }), _dms.REVAMP_LIST = void 0, function(_dmv) { var _dmw = null; _dmv.getTexture = function(_dmx) { var _dmy = null; return PIXI.Texture.fromFrame('revamp_list_' + _dmx); }; }(_dmu || (_dms.REVAMP_LIST = _dmu = {})); }, 49231: (_dmz, _dn0) => { 'use strict'; var _dn1 = null; var _dn2; defineModule(_dn0); Object.defineProperty(_dn0, '__esModule', { 'value': !0 }), _dn0.REVAMP_MAIN = void 0, function(_dn3) { var _dn4 = null; _dn3.getTexture = function(_dn5) { var _dn6 = null; return PIXI.Texture.fromFrame('revamp_main_' + _dn5); }; }(_dn2 || (_dn0.REVAMP_MAIN = _dn2 = {})); }, 79675: (_dn7, _dn8) => { 'use strict'; var _dn9 = null; var _dna; defineModule(_dn8); Object.defineProperty(_dn8, '__esModule', { 'value': !0 }), _dn8.SALLY_AIRBASE_MAINT = void 0, function(_dnb) { var _dnc = null; _dnb.getTexture = function(_dnd) { var _dne = null; return PIXI.Texture.fromFrame('sally_airbase_maint_' + _dnd); }; }(_dna || (_dn8.SALLY_AIRBASE_MAINT = _dna = {})); }, 98583: (_dnf, _dng) => { 'use strict'; var _dnh = null; var _dni; defineModule(_dng); Object.defineProperty(_dng, '__esModule', { 'value': !0 }), _dng.SALLY_AIRUNIT = void 0, function(_dnj) { var _dnk = null; _dnj.getTexture = function(_dnl) { var _dnm = null; return PIXI.Texture.fromFrame('sally_airunit_' + _dnl); }; }(_dni || (_dng.SALLY_AIRUNIT = _dni = {})); }, 48473: (_dnn, _dno) => { 'use strict'; var _dnp = null; var _dnq; defineModule(_dno); Object.defineProperty(_dno, '__esModule', { 'value': !0 }), _dno.SALLY_COMMON = void 0, function(_dnr) { var _dns = null; _dnr.getTexture = function(_dnt) { var _dnu = null; return PIXI.Texture.fromFrame('sally_common_' + _dnt); }; }(_dnq || (_dno.SALLY_COMMON = _dnq = {})); }, 63234: (_dnv, _dnw) => { 'use strict'; var _dnx = null; var _dny; defineModule(_dnw); Object.defineProperty(_dnw, '__esModule', { 'value': !0 }), _dnw.SALLY_EVENT = void 0, function(_dnz) { var _do0 = null; _dnz.getTexture = function(_do1) { var _do2 = null; return PIXI.Texture.fromFrame('sally_event_' + _do1); }; }(_dny || (_dnw.SALLY_EVENT = _dny = {})); }, 70532: (_do3, _do4) => { 'use strict'; var _do5 = null; var _do6; defineModule(_do4); Object.defineProperty(_do4, '__esModule', { 'value': !0 }), _do4.SALLY_EVENT_SECOND = void 0, function(_do7) { var _do8 = null; _do7.getTexture = function(_do9) { var _doa = null; return PIXI.Texture.fromFrame('sally_event_second_' + _do9); }; }(_do6 || (_do4.SALLY_EVENT_SECOND = _do6 = {})); }, 35098: (_dob, _doc) => { 'use strict'; var _dod = null; var _doe; defineModule(_doc); Object.defineProperty(_doc, '__esModule', { 'value': !0 }), _doc.SALLY_EXPEDITION = void 0, function(_dof) { var _dog = null; _dof.getTexture = function(_doh) { var _doi = null; return PIXI.Texture.fromFrame('sally_expedition_' + _doh); }; }(_doe || (_doc.SALLY_EXPEDITION = _doe = {})); }, 50110: (_doj, _dok) => { 'use strict'; var _dol = null; var _dom; defineModule(_dok); Object.defineProperty(_dok, '__esModule', { 'value': !0 }), _dok.SALLY_JIN = void 0, function(_don) { var _doo = null; _don.getTexture = function(_dop) { var _doq = null; return PIXI.Texture.fromFrame('sally_jin_' + _dop); }; }(_dom || (_dok.SALLY_JIN = _dom = {})); }, 31669: (_dor, _dos) => { 'use strict'; var _dot = null; var _dou; defineModule(_dos); Object.defineProperty(_dos, '__esModule', { 'value': !0 }), _dos.SALLY_MAP_PARTS = void 0, function(_dov) { var _dow = null; _dov.getTexture = function(_dox) { var _doy = null; return PIXI.Texture.fromFrame('sally_map_parts_' + _dox); }; }(_dou || (_dos.SALLY_MAP_PARTS = _dou = {})); }, 33707: (_doz, _dp0) => { 'use strict'; var _dp1 = null; var _dp2; defineModule(_dp0); Object.defineProperty(_dp0, '__esModule', { 'value': !0 }), _dp0.SALLY_PRACTICE = void 0, function(_dp3) { var _dp4 = null; _dp3.getTexture = function(_dp5) { var _dp6 = null; return PIXI.Texture.fromFrame('sally_practice_' + _dp5); }; }(_dp2 || (_dp0.SALLY_PRACTICE = _dp2 = {})); }, 55022: (_dp7, _dp8) => { 'use strict'; var _dp9 = null; var _dpa; defineModule(_dp8); Object.defineProperty(_dp8, '__esModule', { 'value': !0 }), _dp8.SALLY_SORTIE = void 0, function(_dpb) { var _dpc = null; _dpb.getTexture = function(_dpd) { var _dpe = null; return PIXI.Texture.fromFrame('sally_sortie_' + _dpd); }; }(_dpa || (_dp8.SALLY_SORTIE = _dpa = {})); }, 81478: (_dpf, _dpg) => { 'use strict'; var _dph = null; var _dpi; defineModule(_dpg); Object.defineProperty(_dpg, '__esModule', { 'value': !0 }), _dpg.SALLY_STRATEGYMAP = void 0, function(_dpj) { var _dpk = null; _dpj.getTexture = function(_dpl) { var _dpm = null; return PIXI.Texture.fromFrame('sally_strategymap_' + _dpl); }; }(_dpi || (_dpg.SALLY_STRATEGYMAP = _dpi = {})); }, 33368: (_dpn, _dpo) => { 'use strict'; var _dpp = null; var _dpq; defineModule(_dpo); Object.defineProperty(_dpo, '__esModule', { 'value': !0 }), _dpo.SALLY_STRATEGYMAP_SECOND = void 0, function(_dpr) { var _dps = null; _dpr.getTexture = function(_dpt) { var _dpu = null; return PIXI.Texture.fromFrame('sally_strategymap_second_' + _dpt); }; }(_dpq || (_dpo.SALLY_STRATEGYMAP_SECOND = _dpq = {})); }, 7886: (_dpv, _dpw) => { 'use strict'; var _dpx = null; var _dpy; defineModule(_dpw); Object.defineProperty(_dpw, '__esModule', { 'value': !0 }), _dpw.SALLY_TOP = void 0, function(_dpz) { var _dq0 = null; _dpz.getTexture = function(_dq1) { var _dq2 = null; return PIXI.Texture.fromFrame('sally_top_' + _dq1); }; }(_dpy || (_dpw.SALLY_TOP = _dpy = {})); }, 46482: (_dq3, _dq4) => { 'use strict'; var _dq5 = null; var _dq6; defineModule(_dq4); Object.defineProperty(_dq4, '__esModule', { 'value': !0 }), _dq4.SUPPLY_MAIN = void 0, function(_dq7) { var _dq8 = null; _dq7.getTexture = function(_dq9) { var _dqa = null; return PIXI.Texture.fromFrame('supply_main_' + _dq9); }; }(_dq6 || (_dq4.SUPPLY_MAIN = _dq6 = {})); }, 82245: function(_dqb, _dqc, _dqd) { 'use strict'; var _dqe = null; var _dqf = this && this.__createBinding || (Object.create ? function(_dqg, _dqh, _dqi, _dqj) { var _dqk = null; void 0 === _dqj && (_dqj = _dqi); var _dql = Object.getOwnPropertyDescriptor(_dqh, _dqi); _dql && !('get' in _dql ? !_dqh.__esModule : _dql.writable || _dql.configurable) || (_dql = { 'enumerable': !0, 'get': function() { return _dqh[_dqi]; } }), Object.defineProperty(_dqg, _dqj, _dql); } : function(_dqm, _dqn, _dqo, _dqp) { void 0 === _dqp && (_dqp = _dqo), _dqm[_dqp] = _dqn[_dqo]; }), _dqq = this && this.__exportStar || function(_dqr, _dqs) { var _dqt = null; for (var _dqu in _dqr) 'default' === _dqu || Object.prototype.hasOwnProperty.call(_dqs, _dqu) || _dqf(_dqs, _dqr, _dqu); }; defineModule(_dqc); Object.defineProperty(_dqc, '__esModule', { 'value': !0 }), _dqq(_dqd(88293), _dqc); }, 88293: (_dqv, _dqw) => { 'use strict'; var _dqx = null; var _dqy; defineModule(_dqw); Object.defineProperty(_dqw, '__esModule', { 'value': !0 }), _dqw.TITLE_MAIN = void 0, function(_dqz) { var _dr0 = null; _dqz.getTexture = function(_dr1) { var _dr2 = null; return PIXI.Texture.fromFrame('title_main_' + _dr1); }; }(_dqy || (_dqw.TITLE_MAIN = _dqy = {})); }, 59381: (_dr3, _dr4) => { 'use strict'; var _dr5 = null; var _dr6; defineModule(_dr4); Object.defineProperty(_dr4, '__esModule', { 'value': !0 }), _dr4.TUTORIAL_MAIN = void 0, function(_dr7) { var _dr8 = null; _dr7.getTexture = function(_dr9) { var _dra = null; return PIXI.Texture.fromFrame('tutorial_main_' + _dr9); }; }(_dr6 || (_dr4.TUTORIAL_MAIN = _dr6 = {})); }, 84126: (_drb, _drc) => { 'use strict'; var _drd = null; var _dre; defineModule(_drc); Object.defineProperty(_drc, '__esModule', { 'value': !0 }), _drc.WEDDING_MARRIAGE = void 0, function(_drf) { var _drg = null; _drf.getTexture = function(_drh) { var _dri = null; return PIXI.Texture.fromFrame('wedding_marriage_' + _drh); }; }(_dre || (_drc.WEDDING_MARRIAGE = _dre = {})); }, 5082: (_drj, _drk) => { 'use strict'; var _drl = null; var _drm; defineModule(_drk); Object.defineProperty(_drk, '__esModule', { 'value': !0 }), _drk.WEDDING_MARRIAGE_BG = void 0, function(_drn) { var _dro = null; _drn.getTexture = function(_drp) { var _drq = null; return PIXI.Texture.fromFrame('wedding_marriage_bg_' + _drp); }; }(_drm || (_drk.WEDDING_MARRIAGE_BG = _drm = {})); }, 29627: function(_drr, _drs, _drt) { 'use strict'; var _dru = null; var _drv, _drw = this && this.__extends || (_drv = function(_drx, _dry) { var _drz = null; return _drv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ds0, _ds1) { var _ds2 = null; _ds0.__proto__ = _ds1; } || function(_ds3, _ds4) { var _ds5 = null; for (var _ds6 in _ds4) Object.prototype.hasOwnProperty.call(_ds4, _ds6) && (_ds3[_ds6] = _ds4[_ds6]); }, _drv(_drx, _dry); }, function(_ds7, _ds8) { var _ds9 = null; if ('function' != typeof _ds8 && null !== _ds8) throw new TypeError('Class extends value ' + String(_ds8) + ' is not a constructor or null'); function _dsa() { var _dsb = null; this.constructor = _ds7; } _drv(_ds7, _ds8), _ds7.prototype = null === _ds8 ? Object.create(_ds8) : (_dsa.prototype = _ds8.prototype, new _dsa()); }), _dsc = this && this.__importDefault || function(_dsd) { var _dse = null; return _dsd && _dsd.__esModule ? _dsd : { 'default': _dsd }; }; defineModule(_drs); Object.defineProperty(_drs, '__esModule', { 'value': !0 }), _drs.PortScene = void 0; var _dsf = _dsc(_drt(18622)), _dsg = _drt(79899), _dsh = _drt(54275), _dsi = _drt(52574), _dsj = _drt(42610), _dsk = _drt(7072), _dsl = _drt(21786), _dsm = _drt(49327), _dsn = _drt(72508), _dso = _drt(12518), _dsp = _drt(54750), _dsq = _drt(16374), _dsr = _drt(59005), _dss = _drt(69219), _dst = _drt(95234), _dsu = _drt(48059), _dsv = _drt(16318), _dsw = _drt(42283), _dsx = _drt(35380), _dsy = function(_dsz) { var _dt0 = null; function _dt1() { var _dt2 = null, _dt3 = _dsz.call(this) || this; return _dt3._only_furniture = !1, _dt3._onMouseMove = function(_dt4) { var _dt5 = null; 1 == _dt3._flagShip_layer.onMouseMove(_dt4.data) || 1 == _dt3.furnitureLayer.onMouseMove(_dt4.data) ? _dt3._underLayer.buttonMode = !0 : _dt3._underLayer.buttonMode = !1; }, _dt3._onClick = function(_dt6) { var _dt7 = null; _dt3._flagShip_layer.onClick(_dt6.data) || _dt3._furniture_layer.onClick(_dt6.data) || _dt3._only_furniture && _dt3.showPortUI(!0); }, _dt3._flagShip_layer = new _dsr.FlagShipLayer(), _dt3.addChild(_dt3._flagShip_layer), _dt3._underLayer = new _dsg.AreaBox(0), _dt3.addChild(_dt3._underLayer), _dt3._ringMenu = new _dst.RingMenuLayer(), _dt3.addChild(_dt3._ringMenu), _dt3.addChild(_dt3._contentLayer), _dt3.addChild(_dt3._fadeLayer), _dt3._logBox = new _dsl.LogBox(), _dt3.addChild(_dt3._logBox), _dt3._upperBar = new _dsp.UpperBar(), _dt3.addChild(_dt3._upperBar), _dt3._frame_layer = new _dss.FrameLayer(), _dt3.addChild(_dt3._frame_layer), _dt3._sideMenu = new _dsn.SideMenu(), _dt3.addChild(_dt3._sideMenu), _dt3._tutorial = new _dso.Tutorial(function() { var _dt8 = null; new _dsi.UpdateTutorialAPI(100).start(), _dt3._tutorial.dispose(), _dt3.removeChild(_dt3._tutorial), _dt3._tutorial = null; }), _dt3.addChild(_dt3._tutorial), _dt3._clock_layer = new _dsq.ClockLayer(), _dt3.addChild(_dt3._clock_layer), _dt3._circle = new _dsj.Circle(), _dt3.addChild(_dt3._circle), _dt3.addChild(_dt3._overLayer), _dt3._expedition_alert = new _dsk.ExpeditionAlert(), _dt3._expedition_alert.visible = !1, _dt3.addChild(_dt3._expedition_alert), _dt3._option = new _dsm.Option(), _dt3.addChild(_dt3._option), _dt3._underLayer.on(_dsx.EventType.MOUSEMOVE, _dt3._onMouseMove), _dt3._underLayer.on(_dsx.EventType.CLICK, _dt3._onClick), _dt3; } return _drw(_dt1, _dsz), Object.defineProperty(_dt1.prototype, 'flagShip', { 'get': function() { var _dt9 = null; return this._flagShip_layer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_dt1.prototype, 'ringMenu', { 'get': function() { var _dta = null; return this._ringMenu; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_dt1.prototype, 'upperBar', { 'get': function() { var _dtb = null; return this._upperBar; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_dt1.prototype, 'sideMenu', { 'get': function() { var _dtc = null; return this._sideMenu; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_dt1.prototype, 'tutorial', { 'get': function() { var _dtd = null; return this._tutorial; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_dt1.prototype, 'circle', { 'get': function() { var _dte = null; return this._circle; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_dt1.prototype, 'expedition_alert', { 'get': function() { var _dtf = null; return this._expedition_alert; }, 'enumerable': !1, 'configurable': !0 }), _dt1.prototype.initialize = function() { var _dtg = null; this._clock_layer.initialize(), this._option.initialize(), this._logBox.initialize(); var _dth = _dsf.default.model.basic.getTutorialProgress(); _dth < 100 ? this._tutorial.initialize(_dth) : (this.removeChild(this._tutorial), this._tutorial = null); }, _dt1.prototype.initializeNext = function(_dti) { var _dtj = null; this._circle.initialize(_dti), this._frame_layer.initialize(_dti); var _dtk = _dsf.default.model.basic.shipMax, _dtl = _dsf.default.model.basic.slotMax; this._upperBar.initialize(_dti, _dtk, _dtl), _dsz.prototype.initialize.call(this); }, _dt1.prototype.update = function(_dtm) { var _dtn = null; _dsz.prototype.update.call(this, _dtm), this._frame_layer.update(_dtm), this._tutorial && (0 == _dtm ? this._tutorial.update(_dsf.default.model.basic.getTutorialProgress()) : this._tutorial.visible = !1), 23 == _dtm || 25 == _dtm ? (this._upperBar.visible = !1, this._circle.visible = !1) : (this._upperBar.visible = !0, this._circle.visible = !0), this._clock_layer.update(_dtm); }, _dt1.prototype.activate = function(_dto, _dtp) { var _dtq = null; _dsz.prototype.activate.call(this, _dto, _dtp), this._flagShip_layer.activate(), this._flagShip_layer.marriageEff = _dtp, this._flagShip_layer.visible = !0, this._underLayer.interactive = !0, this._ringMenu.activate(); var _dtr = 182 == _dto || 187 == _dto; this._ringMenu.setRevampFlg(_dtr), this._ringMenu.visible = !0, this._logBox.visible = !0, this._tutorial && this._tutorial.activate(), this._option.visible = !0; }, _dt1.prototype.deactivate = function() { var _dts = null; _dsz.prototype.deactivate.call(this), this._flagShip_layer.visible = !1, this._flagShip_layer.deactivate(), this._underLayer.interactive = !1, this._ringMenu.visible = !1, this._ringMenu.deactivate(), this._logBox.visible = !1, this._logBox.close(0), this._tutorial && this._tutorial.deactivate(), this._expedition_alert.deactive(), this._expedition_alert.visible = !1, this._option.visible = !1; }, _dt1.prototype.dispose = function() { var _dtt = null; _dsz.prototype.dispose.call(this), this._underLayer.off(_dsx.EventType.MOUSEMOVE, this._onMouseMove), this._underLayer.off(_dsx.EventType.CLICK, this._onClick), this._flagShip_layer.dispose(), this._flagShip_layer = null, this._underLayer.destroy(), this._underLayer = null, this._ringMenu.dispose(), this._ringMenu = null, this._logBox.dispose(), this._logBox = null, this._upperBar.dispose(), this._upperBar = null, this._frame_layer.dispose(), this._frame_layer = null, this._sideMenu.dispose(), this._sideMenu = null, this._tutorial && (this._tutorial.dispose(), this._tutorial = null), this._clock_layer.dispose(), this._clock_layer = null, this._circle.dispose(), this._circle = null, this._expedition_alert.dispose(), this._expedition_alert = null, this._option.dispose(), this._option = null, this.removeChildren(); }, _dt1.prototype.showPortUI = function(_dtu) { var _dtv = null; _dsz.prototype.showPortUI.call(this, _dtu), this._only_furniture = !_dtu, this._flagShip_layer.visible = !0, this._ringMenu.visible = _dtu, this._logBox.visible = _dtu, this._upperBar.visible = _dtu, this._frame_layer.visible = _dtu, this._sideMenu.visible = !1, this._tutorial && (this._tutorial.visible = _dtu), this._clock_layer.visible = _dtu, this._circle.visible = _dtu, this._option.visible = _dtu; }, _dt1.prototype.closeLogBox = function() { var _dtw = null; this._logBox.close(); }, _dt1.prototype.updateUserInfo = function(_dtx) { var _dty = null; this._upperBar.updateUserInfo(_dtx); }, _dt1.prototype.updateInfo = function() { var _dtz = null, _du0 = _dsf.default.model.useItem.getMaterialCounts(); _du0.shipNum = _dsf.default.model.ship.num, _du0.shipMax = _dsf.default.model.basic.shipMax, _du0.slotNum = _dsf.default.model.slot.num, _du0.slotMax = _dsf.default.model.basic.slotMax, this._upperBar.updateInfo(_du0); }, _dt1.prototype.playCraneAnimation = function() { var _du1 = null; this._sideMenu.crane.startAnimation(); }, _dt1.prototype.playChangeAnimation = function(_du2) { var _du3 = null; this._overLayer.removeChildren(), this._circle.startMoveAnimation(_du2), this.sideMenu.startAnimation(_du2); }, _dt1.prototype.changeSkin = function(_du4) { var _du5 = null; this._upperBar.changeSkin(_du4), this._frame_layer.changeSkin(_du4), this._circle.changeSkin(_du4), this._expedition_alert.changeSkin(_du4); }, _dt1.prototype.getPreInitializeTask = function(_du6) { var _du7 = null; return new _dsu.PreInitializeTask(_du6); }, _dt1.prototype.getInitializeTask = function(_du8) { var _du9 = null; return new _dsv.InitializeTask(_du8); }, _dt1.prototype.getFinalizeTask = function() { var _dua = null; return new _dsw.FinalizeTask(this); }, _dt1; }(_dsh.MainView); _drs.PortScene = _dsy; }, 79655: function(_dub, _duc, _dud) { 'use strict'; var _due = null; var _duf, _dug = this && this.__extends || (_duf = function(_duh, _dui) { var _duj = null; return _duf = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_duk, _dul) { var _dum = null; _duk.__proto__ = _dul; } || function(_dun, _duo) { var _dup = null; for (var _duq in _duo) Object.prototype.hasOwnProperty.call(_duo, _duq) && (_dun[_duq] = _duo[_duq]); }, _duf(_duh, _dui); }, function(_dur, _dus) { var _dut = null; if ('function' != typeof _dus && null !== _dus) throw new TypeError('Class extends value ' + String(_dus) + ' is not a constructor or null'); function _duu() { var _duv = null; this.constructor = _dur; } _duf(_dur, _dus), _dur.prototype = null === _dus ? Object.create(_dus) : (_duu.prototype = _dus.prototype, new _duu()); }); defineModule(_duc); Object.defineProperty(_duc, '__esModule', { 'value': !0 }), _duc.setFlagshipPositionAPI = void 0; var _duw = function(_dux) { var _duy = null; function _duz(_dv0) { var _dv1 = null, _dv2 = _dux.call(this) || this; return _dv2._url = 'api_req_member/set_flagship_position', _dv2._posId = _dv0, _dv2; } return _dug(_duz, _dux), _duz.prototype._connect = function() { var _dv3 = null; this._post_data.api_position_id = this._posId, _dux.prototype._connect.call(this); }, _duz; }(_dud(37562).APIBase); _duc.setFlagshipPositionAPI = _duw; }, 65049: function(_dv4, _dv5, _dv6) { 'use strict'; var _dv7 = null; var _dv8, _dv9 = this && this.__extends || (_dv8 = function(_dva, _dvb) { var _dvc = null; return _dv8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_dvd, _dve) { var _dvf = null; _dvd.__proto__ = _dve; } || function(_dvg, _dvh) { var _dvi = null; for (var _dvj in _dvh) Object.prototype.hasOwnProperty.call(_dvh, _dvj) && (_dvg[_dvj] = _dvh[_dvj]); }, _dv8(_dva, _dvb); }, function(_dvk, _dvl) { var _dvm = null; if ('function' != typeof _dvl && null !== _dvl) throw new TypeError('Class extends value ' + String(_dvl) + ' is not a constructor or null'); function _dvn() { var _dvo = null; this.constructor = _dvk; } _dv8(_dvk, _dvl), _dvk.prototype = null === _dvl ? Object.create(_dvl) : (_dvn.prototype = _dvl.prototype, new _dvn()); }); defineModule(_dv5); Object.defineProperty(_dv5, '__esModule', { 'value': !0 }), _dv5.SetFriendlyRequestAPI = void 0; var _dvp = function(_dvq) { var _dvr = null; function _dvs(_dvt, _dvu) { var _dvv = null, _dvw = _dvq.call(this) || this; return _dvw._url = 'api_req_member/set_friendly_request', _dvw._flag = _dvt, _dvw._type = _dvu, _dvw; } return _dv9(_dvs, _dvq), _dvs.prototype._connect = function() { var _dvx = null; this._post_data.api_request_flag = this._flag, this._post_data.api_request_type = this._type, _dvq.prototype._connect.call(this); }, _dvs; }(_dv6(37562).APIBase); _dv5.SetFriendlyRequestAPI = _dvp; }, 89892: function(_dvy, _dvz, _dw0) { 'use strict'; var _dw1 = null; var _dw2, _dw3 = this && this.__extends || (_dw2 = function(_dw4, _dw5) { var _dw6 = null; return _dw2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_dw7, _dw8) { var _dw9 = null; _dw7.__proto__ = _dw8; } || function(_dwa, _dwb) { var _dwc = null; for (var _dwd in _dwb) Object.prototype.hasOwnProperty.call(_dwb, _dwd) && (_dwa[_dwd] = _dwb[_dwd]); }, _dw2(_dw4, _dw5); }, function(_dwe, _dwf) { var _dwg = null; if ('function' != typeof _dwf && null !== _dwf) throw new TypeError('Class extends value ' + String(_dwf) + ' is not a constructor or null'); function _dwh() { var _dwi = null; this.constructor = _dwe; } _dw2(_dwe, _dwf), _dwe.prototype = null === _dwf ? Object.create(_dwf) : (_dwh.prototype = _dwf.prototype, new _dwh()); }); defineModule(_dvz); Object.defineProperty(_dvz, '__esModule', { 'value': !0 }), _dvz.SetSkinAPI = void 0; var _dwj = function(_dwk) { var _dwl = null; function _dwm(_dwn) { var _dwo = null, _dwp = _dwk.call(this) || this; return _dwp._url = 'api_req_member/set_skin', _dwp._skinID = _dwn, _dwp; } return _dw3(_dwm, _dwk), _dwm.prototype._connect = function() { var _dwq = null; this._post_data.api_skin_id = this._skinID, _dwk.prototype._connect.call(this); }, _dwm; }(_dw0(58566).APIBase); _dvz.SetSkinAPI = _dwj; }, 23949: (_dwr, _dws) => { 'use strict'; var _dwt = null; defineModule(_dws); Object.defineProperty(_dws, '__esModule', { 'value': !0 }), _dws.PortConst = void 0; var _dwu = (function() { var _dwv = null; function _dww() {} return _dww.getMoveXValue = function(_dwx) { var _dwy = null; switch (_dwx) { case 49: case 253: return -this._MOVE_DISTANCE_SHORT; default: return -this._MOVE_DISTANCE; } }, _dww._MOVE_DISTANCE = 200, _dww._MOVE_DISTANCE_SHORT = 150, _dww; }()); _dws.PortConst = _dwu; }, 42283: function(_dwz, _dx0, _dx1) { 'use strict'; var _dx2 = null; var _dx3, _dx4 = this && this.__extends || (_dx3 = function(_dx5, _dx6) { var _dx7 = null; return _dx3 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_dx8, _dx9) { var _dxa = null; _dx8.__proto__ = _dx9; } || function(_dxb, _dxc) { var _dxd = null; for (var _dxe in _dxc) Object.prototype.hasOwnProperty.call(_dxc, _dxe) && (_dxb[_dxe] = _dxc[_dxe]); }, _dx3(_dx5, _dx6); }, function(_dxf, _dxg) { var _dxh = null; if ('function' != typeof _dxg && null !== _dxg) throw new TypeError('Class extends value ' + String(_dxg) + ' is not a constructor or null'); function _dxi() { var _dxj = null; this.constructor = _dxf; } _dx3(_dxf, _dxg), _dxf.prototype = null === _dxg ? Object.create(_dxg) : (_dxi.prototype = _dxg.prototype, new _dxi()); }); defineModule(_dx0); Object.defineProperty(_dx0, '__esModule', { 'value': !0 }), _dx0.FinalizeTask = void 0; var _dxk = function(_dxl) { var _dxm = null; function _dxn(_dxo) { var _dxp = null, _dxq = _dxl.call(this) || this; return _dxq._view = _dxo, _dxq; } return _dx4(_dxn, _dxl), _dxn.prototype._start = function() { var _dxr = null; this._view.deactivate(), this._endTask(); }, _dxn; }(_dx1(81755).TaskBase); _dx0.FinalizeTask = _dxk; }, 16318: function(_dxs, _dxt, _dxu) { 'use strict'; var _dxv = null; var _dxw, _dxx = this && this.__extends || (_dxw = function(_dxy, _dxz) { var _dy0 = null; return _dxw = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_dy1, _dy2) { var _dy3 = null; _dy1.__proto__ = _dy2; } || function(_dy4, _dy5) { var _dy6 = null; for (var _dy7 in _dy5) Object.prototype.hasOwnProperty.call(_dy5, _dy7) && (_dy4[_dy7] = _dy5[_dy7]); }, _dxw(_dxy, _dxz); }, function(_dy8, _dy9) { var _dya = null; if ('function' != typeof _dy9 && null !== _dy9) throw new TypeError('Class extends value ' + String(_dy9) + ' is not a constructor or null'); function _dyb() { var _dyc = null; this.constructor = _dy8; } _dxw(_dy8, _dy9), _dy8.prototype = null === _dy9 ? Object.create(_dy9) : (_dyb.prototype = _dy9.prototype, new _dyb()); }), _dyd = this && this.__importDefault || function(_dye) { var _dyf = null; return _dye && _dye.__esModule ? _dye : { 'default': _dye }; }; defineModule(_dxt); Object.defineProperty(_dxt, '__esModule', { 'value': !0 }), _dxt.InitializeTask = void 0; var _dyg = _dyd(_dxu(18622)), _dyh = _dxu(81755), _dyi = _dxu(70723), _dyj = _dxu(7153), _dyk = function(_dyl) { var _dym = null; function _dyn(_dyo) { var _dyp = null, _dyq = _dyl.call(this) || this; return _dyq._pre_scene = _dyo, _dyq; } return _dxx(_dyn, _dyl), _dyn.prototype._start = function() { var _dyr = null; _dyg.default.view.portMain.flagShip.setVoiceTimer(), this._playVoice(); }, _dyn.prototype._playVoice = function() { var _dys = null, _dyt = _dyg.default.model.deck.get(1).getShipModel(0).mstID.toString(); if (33 == this._pre_scene || 32 == this._pre_scene) _dyg.default.model.basic.getMFlag2() ? (_dyi.SE.play('215'), _dyg.default.sound.voice.play(_dyt, 26)) : _dyg.default.sound.voice.play(_dyt, 7); else { if (50 == _dyg.default.model.basic.getTutorialProgress()) _dyg.default.sound.voice.play(_dyt, 26); else { if (0 == this._pre_scene) _dyg.default.sound.voice.play(_dyt, 1); else { var _dyu = Math.random(); _dyu <= 0.4 && (_dyu <= 0.05 ? _dyg.default.sound.voice.play(_dyt, 4) : _dyu <= 0.2 ? _dyg.default.sound.voice.play(_dyt, 3) : _dyg.default.sound.voice.play(_dyt, 2)); } } } this._playBGM(); }, _dyn.prototype._playBGM = function() { var _dyv = null, _dyw = _dyg.default.model.basic.port_bgm_id; _dyg.default.sound.bgm.play(_dyw), new _dyj.TaskCombinedAlert().start(), this._endTask(); }, _dyn; }(_dyh.TaskBase); _dxt.InitializeTask = _dyk; }, 48059: function(_dyx, _dyy, _dyz) { 'use strict'; var _dz0 = null; var _dz1, _dz2 = this && this.__extends || (_dz1 = function(_dz3, _dz4) { var _dz5 = null; return _dz1 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_dz6, _dz7) { var _dz8 = null; _dz6.__proto__ = _dz7; } || function(_dz9, _dza) { var _dzb = null; for (var _dzc in _dza) Object.prototype.hasOwnProperty.call(_dza, _dzc) && (_dz9[_dzc] = _dza[_dzc]); }, _dz1(_dz3, _dz4); }, function(_dzd, _dze) { var _dzf = null; if ('function' != typeof _dze && null !== _dze) throw new TypeError('Class extends value ' + String(_dze) + ' is not a constructor or null'); function _dzg() { var _dzh = null; this.constructor = _dzd; } _dz1(_dzd, _dze), _dzd.prototype = null === _dze ? Object.create(_dze) : (_dzg.prototype = _dze.prototype, new _dzg()); }), _dzi = this && this.__importDefault || function(_dzj) { var _dzk = null; return _dzj && _dzj.__esModule ? _dzj : { 'default': _dzj }; }; defineModule(_dyy); Object.defineProperty(_dyy, '__esModule', { 'value': !0 }), _dyy.PreInitializeTask = void 0; var _dzl = _dzi(_dyz(18622)), _dzm = _dyz(81755), _dzn = _dyz(35660), _dzo = _dyz(4342), _dzp = _dyz(22242), _dzq = _dyz(17103), _dzr = _dyz(42552), _dzs = _dyz(65105), _dzt = _dyz(20137), _dzu = _dyz(13748), _dzv = _dyz(6147), _dzw = _dyz(6695), _dzx = _dyz(85761), _dzy = _dyz(79655), _dzz = _dyz(45134), _e00 = _dyz(19281), _e01 = _dyz(54064), _e02 = _dyz(87475), _e03 = _dyz(71633), _e04 = _dzi(_dyz(83300)), _e05 = _dyz(89939), _e06 = _dyz(57616), _e07 = _dyz(13744), _e08 = _dyz(55853), _e09 = function(_e0a) { var _e0b = null; function _e0c(_e0d) { var _e0e = null, _e0f = _e0a.call(this) || this; return _e0f._pre_scene = _e0d, _e0f; } return _dz2(_e0c, _e0a), _e0c.prototype._start = function() { var _e0g = null; for (var _e0h = Object.keys(PIXI.utils.TextureCache), _e0i = 0, _e0j = _e0h.filter(function(_e0k) { var _e0l = null; return /^resources\/ship\/.+/ ['test'](_e0k); }); _e0i < _e0j.length; _e0i++) { var _e0m = _e0j[_e0i]; (_e0n = PIXI.utils.TextureCache[_e0m]) && _e0n.destroy(!0), delete PIXI.utils.TextureCache[_e0m]; } for (var _e0o = 0, _e0p = _e0h.filter(function(_e0q) { var _e0r = null; return /^resources\/slot\/.+/ ['test'](_e0q); }); _e0o < _e0p.length; _e0o++) { _e0m = _e0p[_e0o], ((_e0n = PIXI.utils.TextureCache[_e0m]) && _e0n.destroy(!0), delete PIXI.utils.TextureCache[_e0m]); } for (var _e0s = 0, _e0t = _e0h.filter(function(_e0u) { var _e0v = null; return /^ship_sprite_.+/ ['test'](_e0u); }); _e0s < _e0t.length; _e0s++) { _e0m = _e0t[_e0s], ((_e0n = PIXI.utils.TextureCache[_e0m]) && _e0n.destroy(!0), delete PIXI.utils.TextureCache[_e0m]); } _dzu.UIImageLoader.clearMemoryCache('sally'); for (var _e0w = 0, _e0x = _e0h.filter(function(_e0y) { var _e0z = null; return /^resources\/map\/\d{3}\/\d{2}_.+/ ['test'](_e0y); }); _e0w < _e0x.length; _e0w++) { _e0m = _e0x[_e0w], ((_e0n = PIXI.utils.TextureCache[_e0m]) && _e0n.destroy(!0), delete PIXI.utils.TextureCache[_e0m]); } for (var _e10 = 0, _e11 = _e0h.filter(function(_e12) { var _e13 = null; return /^map\d{5}_.+/ ['test'](_e12); }); _e10 < _e11.length; _e10++) { var _e0n; _e0m = _e11[_e10], ((_e0n = PIXI.utils.TextureCache[_e0m]) && _e0n.destroy(!0), delete PIXI.utils.TextureCache[_e0m]); } this._connectAPI(); }, _e0c.prototype._connectAPI = function() { var _e14 = null, _e15 = this, _e16 = new _dzn.APIConnector(); _e16.add(new _dzo.PortAPI()), 33 == this._pre_scene ? (_e16.add(new _dzp.UserSlotItemAPI()), _e16.add(new _dzq.UnsetSlotAPI()), _e16.add(new _dzr.UseItemAPI()), _e16.add(new _dzz.UserFurnitureAPI())) : 32 == this._pre_scene && _e16.add(new _dzp.UserSlotItemAPI()), _e16.start(function() { var _e17 = null; _e15._loadPortResources(); }); }, _e0c.prototype._loadPortResources = function() { var _e18 = null, _e19 = this, _e1a = _dzl.default.model.basic.getUISkinID(); new _dzw.TaskLoadResources(_e1a).start(function() { var _e1b = null; _e19._loadFurnitureResources(); }); }, _e0c.prototype._loadFurnitureResources = function() { var _e1c = null, _e1d = this, _e1e = new _dzs.FurnitureLoadTask(!0); _e1e.floor_id = _dzl.default.model.basic.getPortFurnitureMstID(0), _e1e.wall_id = _dzl.default.model.basic.getPortFurnitureMstID(1), _e1e.window_id = _dzl.default.model.basic.getPortFurnitureMstID(2), _e1e.object_id = _dzl.default.model.basic.getPortFurnitureMstID(3), _e1e.desk_id = _dzl.default.model.basic.getPortFurnitureMstID(5), _e1e.chest_id = _dzl.default.model.basic.getPortFurnitureMstID(4), _e1e.start(function() { var _e1f = null, _e1g = _dzl.default.view.portMain; 0 == _e1g.isInitialized() && _e1g.initialize(), _e1d._confirmFlagshipPosId(); }); }, _e0c.prototype._confirmFlagshipPosId = function() { var _e1h = null, _e1i = this, _e1j = _dzl.default.model.basic.getFlagShipPosIDCli(); _e1j != _dzl.default.model.basic.getFlagShipPosIDSvr() ? new _dzy.setFlagshipPositionAPI(_e1j).start(function() { var _e1k = null; _dzl.default.model.basic.setFlagShipPosIDSvr(_e1j), _e1i._loadFlagShipResource(); }) : this._loadFlagShipResource(); }, _e0c.prototype._loadFlagShipResource = function() { var _e1l = null, _e1m = _dzl.default.model.deck.get(1).getShipModel(0); null != _e1m ? _dzt.ShipLoader.isShipImageForPortScene(_e1m.mstID) ? this._loadFlagShipAnimation(_e1m) : this._loadFlagShipNormal(_e1m) : this._preInitPortView(_e1m); }, _e0c.prototype._loadFlagShipNormal = function(_e1n) { var _e1o = null, _e1p = this, _e1q = _e1n.mstID, _e1r = _e1n.isDamaged(); if (1 == _dzl.default.resources.isLoadedShip(_e1q, _e1r, 'full')) { var _e1s = _e1n.tired; _dzl.default.view.portMain.flagShip.initialize(_e1q, _e1r, _e1s, 'full'), this._preInitPortView(_e1n); } else { var _e1t = new _dzt.ShipLoader(); _e1t.add(_e1q, _e1r, 'full'), _e1t.load(function() { var _e1u = null, _e1v = _e1n.tired; _dzl.default.view.portMain.flagShip.initialize(_e1q, _e1r, _e1v, 'full'), _e1p._preInitPortView(_e1n); }); } }, _e0c.prototype._loadFlagShipAnimation = function(_e1w) { var _e1x = null, _e1y = this, _e1z = _e1w.mstID, _e20 = _e1w.isDamaged(), _e21 = _e1w.tired, _e22 = 'full_animation' + (_e20 ? '_dmg' : ''), _e23 = _e07.SuffixUtil.create(_e1z, 'ship_' + _e22), _e24 = _e06.MathUtil.zeroPadding(_e1z, 4), _e25 = _e08.VersionUtil.get(0, _e1z), _e26 = '1' == _e25 ? '' : 'version='['concat'](_e25), _e27 = '', _e28 = _dzl.default.model.ship_graph.get(_e1z); null != _e28 && (_e27 = '_' + _e28.unique_key); var _e29 = '' ['concat'](_e24 + _dzt.ShipLoader.hSuffix(_e1z, 'full_animation'), '_').concat(_e23).concat(_e27, '_data.json?').concat(_e26), _e2a = _dzl.default.settings.path_root + 'resources/ship/'['concat'](_e22, '/').concat(_e29), _e2b = '' ['concat'](_e24 + _dzt.ShipLoader.hSuffix(_e1z, 'full_animation'), '_').concat(_e23).concat(_e27, '.json'), _e2c = _dzl.default.settings.path_root + 'resources/ship/'['concat'](_e22, '/').concat(_e2b); _e04.default.get(_e2a).then(function(_e2d) { var _e2e = null, _e2f = _e05.ObjUtil.getObject(_e2d, 'data'); if (null != PIXI.utils.TextureCache[_e2b]) _e1y._preInitPortView(_e1w); else { var _e2g = new PIXI.loaders.Loader(); _e2g.defaultQueryString = _e26, _e2g.add(_e2c), _e2g.load(function() { var _e2h = null; _dzl.default.view.portMain.flagShip.initialize(_e1z, _e20, _e21, 'full_animation', _e2f), _e1y._preInitPortView(_e1w); }); } }).catch(function(_e2i) { var _e2j = null; _e1y._failedEnd(); }); }, _e0c.prototype._preInitPortView = function(_e2k) { var _e2l = null, _e2m = _dzl.default.view.portMain; if (0 == _e2m.isInitialized()) { var _e2n = _dzl.default.model.basic.getUISkinID(); _e2m.initializeNext(_e2n); } else _e2m.showPortUI(!0); this._initPortView(_e2m, _e2k); }, _e0c.prototype._initPortView = function(_e2o, _e2p) { var _e2q = null, _e2r = _e2p.isMarriage(); _e2o.activate(_e2p.mstID, _e2r), _dzl.default.view.portMain.updateUserInfo({ 'userName': _dzl.default.model.basic.nickName, 'userLevel': _dzl.default.model.basic.level, 'userRank': '[' ['concat'](_dzl.default.model.basic.rankName, ']'), 'fleetNum': _dzl.default.model.deck.num }), _dzl.default.view.portMain.updateInfo(), this._showExpeditionResult(); }, _e0c.prototype._showExpeditionResult = function() { var _e2s = null, _e2t = this; new _dzx.TaskExpeditionAlertUpdate().start(function() { var _e2u = null; _e2t._selectLoginBonus(), _e2t._loginBonus(), _e2t._endTask(); }); }, _e0c.prototype._loginBonus = function() { var _e2v = null; if (1 == _dzl.default.model.incentive.hasIncentive()) { var _e2w = _dzl.default.view.overLayer, _e2x = _dzl.default.model.incentive.getRewards(); new _dzv.TaskReward(_e2w, _e2x).start(), _dzl.default.model.incentive.clearData(); } }, _e0c.prototype._selectLoginBonus = function() { var _e2y = null; if (1 == _dzl.default.model.incentive.hasSelectIncentive() && -1 != _e03.EventConst.AREA_ID) { var _e2z = _dzl.default.view.overLayer, _e30 = new _e02.FadeBox(0.5); _e2z.addChild(_e30); var _e31 = _dzl.default.model.incentive.getRewardCandidates(), _e32 = function(_e33, _e34, _e35) { var _e36 = null, _e37, _e38 = parseInt(_e34.shift()), _e39 = _e31[_e38], _e3a = new _e00.TaskEventRewardsSelect(_e33, ((_e37 = {})[_e38] = _e39, _e37)); _e3a.start(function() { var _e3b = null; new _e01.TaskSelectLoginBonus(_e33, _e3a.results).start(function() { var _e3c = _e3b; 0 == _e34[_e3c(2293)] ? _e35() : _e32(_e33, _e34, _e35); }); }); }, _e3d = Object.keys(_e31); _e32(_e2z, _e3d, function() { var _e3e = null; _e30.hide(200, function() { var _e3f = null; _dzl.default.model.incentive.clearCandidates(), _e2z.removeChild(_e30); }); }); } }, _e0c; }(_dzm.TaskBase); _dyy.PreInitializeTask = _e09; }, 7153: function(_e3g, _e3h, _e3i) { 'use strict'; var _e3j = null; var _e3k, _e3l = this && this.__extends || (_e3k = function(_e3m, _e3n) { var _e3o = null; return _e3k = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_e3p, _e3q) { var _e3r = null; _e3p.__proto__ = _e3q; } || function(_e3s, _e3t) { var _e3u = null; for (var _e3v in _e3t) Object.prototype.hasOwnProperty.call(_e3t, _e3v) && (_e3s[_e3v] = _e3t[_e3v]); }, _e3k(_e3m, _e3n); }, function(_e3w, _e3x) { var _e3y = null; if ('function' != typeof _e3x && null !== _e3x) throw new TypeError('Class extends value ' + String(_e3x) + ' is not a constructor or null'); function _e3z() { var _e40 = null; this.constructor = _e3w; } _e3k(_e3w, _e3x), _e3w.prototype = null === _e3x ? Object.create(_e3x) : (_e3z.prototype = _e3x.prototype, new _e3z()); }), _e41 = this && this.__importDefault || function(_e42) { var _e43 = null; return _e42 && _e42.__esModule ? _e42 : { 'default': _e42 }; }; defineModule(_e3h); Object.defineProperty(_e3h, '__esModule', { 'value': !0 }), _e3h.TaskCombinedAlert = void 0; var _e44 = _e41(_e3i(18622)), _e45 = _e3i(81755), _e46 = _e3i(88002), _e47 = function(_e48) { var _e49 = null; function _e4a() { var _e4b = null, _e4c = _e48.call(this) || this; return _e4c._onClick = function() { var _e4d = null; _e4c._view.deactivate(), _e4c._hideDialog(); }, _e4c; } return _e3l(_e4a, _e48), _e4a.prototype._start = function() { var _e4e = null; _e44.default.model.deck.combined.type >= 0 ? this._endTask() : this._breakCombined(); }, _e4a.prototype._breakCombined = function() { var _e4f = null; _e44.default.model.deck.combined.__update__(0), this._showDialog(); }, _e4a.prototype._showDialog = function() { var _e4g = null, _e4h = this, _e4i = _e44.default.view.overLayer; this._view = new _e46.CompCombinedAlert(this._onClick), this._view.bg.alpha = 0, this._view.btn.alpha = 0, this._view.initialize(), _e4i.addChild(this._view), createjs.Tween.get(this._view.bg).to({ 'alpha': 1 }, 300), createjs.Tween.get(this._view.btn).wait(100).to({ 'alpha': 1 }, 300).call(function() { var _e4j = null; _e4h._view.activate(); }); }, _e4a.prototype._hideDialog = function() { var _e4k = null, _e4l = this; createjs.Tween.get(this._view.btn).to({ 'alpha': 0 }, 300), createjs.Tween.get(this._view.bg).wait(100).to({ 'alpha': 0 }, 300).call(function() { var _e4m = null; _e4l._view.parent.removeChild(_e4l._view), _e4l._endTask(); }); }, _e4a; }(_e45.TaskBase); _e3h.TaskCombinedAlert = _e47; }, 85761: function(_e4n, _e4o, _e4p) { 'use strict'; var _e4q = null; var _e4r, _e4s = this && this.__extends || (_e4r = function(_e4t, _e4u) { var _e4v = null; return _e4r = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_e4w, _e4x) { var _e4y = null; _e4w.__proto__ = _e4x; } || function(_e4z, _e50) { var _e51 = null; for (var _e52 in _e50) Object.prototype.hasOwnProperty.call(_e50, _e52) && (_e4z[_e52] = _e50[_e52]); }, _e4r(_e4t, _e4u); }, function(_e53, _e54) { var _e55 = null; if ('function' != typeof _e54 && null !== _e54) throw new TypeError('Class extends value ' + String(_e54) + ' is not a constructor or null'); function _e56() { var _e57 = null; this.constructor = _e53; } _e4r(_e53, _e54), _e53.prototype = null === _e54 ? Object.create(_e54) : (_e56.prototype = _e54.prototype, new _e56()); }), _e58 = this && this.__importDefault || function(_e59) { var _e5a = null; return _e59 && _e59.__esModule ? _e59 : { 'default': _e59 }; }; defineModule(_e4o); Object.defineProperty(_e4o, '__esModule', { 'value': !0 }), _e4o.TaskExpeditionAlertUpdate = void 0; var _e5b = _e58(_e4p(18622)), _e5c = function(_e5d) { var _e5e = null; function _e5f() { var _e5g = null; return _e5d.call(this) || this; } return _e4s(_e5f, _e5d), _e5f.prototype._start = function() { var _e5h = null; this._check(); }, _e5f.prototype._check = function() { var _e5i = null, _e5j = _e5b.default.model.deck.getAll(); _e5j = _e5j.filter(function(_e5k, _e5l, _e5m) { var _e5n = null; return null != _e5k.expedition && 2 == _e5k.expedition.state; }); var _e5o = _e5b.default.view.portMain.expedition_alert; _e5j.length > 0 ? (_e5o.initialize(_e5j[0]), _e5o.activate(), _e5o.visible = !0) : (_e5o.deactive(), _e5o.visible = !1), this._endTask(); }, _e5f; }(_e4p(81755).TaskBase); _e4o.TaskExpeditionAlertUpdate = _e5c; }, 80845: function(_e5p, _e5q, _e5r) { 'use strict'; var _e5s = null; var _e5t, _e5u = this && this.__extends || (_e5t = function(_e5v, _e5w) { var _e5x = null; return _e5t = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_e5y, _e5z) { var _e60 = null; _e5y.__proto__ = _e5z; } || function(_e61, _e62) { var _e63 = null; for (var _e64 in _e62) Object.prototype.hasOwnProperty.call(_e62, _e64) && (_e61[_e64] = _e62[_e64]); }, _e5t(_e5v, _e5w); }, function(_e65, _e66) { var _e67 = null; if ('function' != typeof _e66 && null !== _e66) throw new TypeError('Class extends value ' + String(_e66) + ' is not a constructor or null'); function _e68() { var _e69 = null; this.constructor = _e65; } _e5t(_e65, _e66), _e65.prototype = null === _e66 ? Object.create(_e66) : (_e68.prototype = _e66.prototype, new _e68()); }), _e6a = this && this.__importDefault || function(_e6b) { var _e6c = null; return _e6b && _e6b.__esModule ? _e6b : { 'default': _e6b }; }; defineModule(_e5q); Object.defineProperty(_e5q, '__esModule', { 'value': !0 }), _e5q.TaskExpeditionResultShow = void 0; var _e6d = _e6a(_e5r(21359)), _e6e = _e6a(_e5r(18622)), _e6f = _e5r(35380), _e6g = _e5r(81755), _e6h = _e5r(79899), _e6i = _e5r(87475), _e6j = _e5r(79007), _e6k = _e5r(38204), _e6l = _e5r(7570), _e6m = _e5r(20137), _e6n = _e5r(23907), _e6o = _e5r(85761), _e6p = function(_e6q) { var _e6r = null; function _e6s(_e6t, _e6u) { var _e6v = null, _e6w = _e6q.call(this) || this; return _e6w._deck_id = _e6t, _e6w._expedition_result = _e6u, _e6w; } return _e5u(_e6s, _e6q), _e6s.prototype._start = function() { var _e6x = null; this._showShutter(); }, _e6s.prototype._showShutter = function() { var _e6y = null; this._shutter = new _e6l.Shutter(), this._shutter.initializeDark(), this._shutter.close(0), this._shutter.interactive = !0, _e6e.default.view.overLayer.addChild(this._shutter), this._loadResources(); }, _e6s.prototype._loadResources = function() { var _e6z = null; for (var _e70 = this, _e71 = new _e6m.ShipLoader(), _e72 = this._expedition_result.ship_mem_ids, _e73 = 0; _e73 < _e72.length; _e73++) { var _e74 = _e72[_e73], _e75 = _e6e.default.model.ship.get(_e74), _e76 = _e75.mstID, _e77 = _e75.isDamaged(); 0 == _e73 && _e71.add(_e76, _e77, 'full'), _e71.add(_e76, _e77, 'banner'); } _e71.load(function() { var _e78 = null; _e70._showWhiteLight(); }); }, _e6s.prototype._showWhiteLight = function() { var _e79 = null, _e7a = this; this._view = new _e6j.ExpeditionResult(), this._view.initialize(this._deck_id, this._expedition_result); var _e7b = this._expedition_result; this._view.expedition_name.visible = !1, this._view.user_info.visible = !1, this._view.item.visible = !1; var _e7c = _e7b.item1; null != _e7c && this._view.item.updateItem1(_e7c.mstID, _e7c.name, _e7c.count), null != (_e7c = _e7b.item2) && this._view.item.updateItem2(_e7c.mstID, _e7c.name, _e7c.count), this._view.item.updateMaterials(_e7b.fuel, _e7b.ammo, _e7b.steel, _e7b.baux), this._view.visible = !1, _e6e.default.view.overLayer.addChild(this._view); var _e7d = new _e6i.FadeBox(1, 16777215); _e7d.hide(0), _e6e.default.view.overLayer.addChild(_e7d), _e7d.show(200, function() { var _e7e = null; _e7a._view.visible = !0, _e7d.hide(200, function() { var _e7f = null; _e6e.default.view.overLayer.removeChild(_e7d), _e7a._showUserInfo(); }); }); }, _e6s.prototype._showUserInfo = function() { var _e7g = null, _e7h = this; this._view.expedition_name.text = this._expedition_result.expedition_name, this._view.expedition_name.visible = !0; var _e7i = _e6e.default.model.basic.nickName, _e7j = this._expedition_result.user_level, _e7k = _e6e.default.model.basic.rankName, _e7l = _e6e.default.model.deck.get(this._deck_id).name; this._view.user_info.update(_e7i, _e7j, _e7k, _e7l), this._view.user_info.visible = !0; for (var _e7m = this._expedition_result.ship_mem_ids, _e7n = new createjs.Timeline([], null, { 'paused': !0 }), _e7o = this._view.banners, _e7p = 0; _e7p < _e7o.length; _e7p++) { var _e7q = _e7o[_e7p]; if (_e7m.length <= _e7p) _e7q.visible = !1; else { var _e7r = _e6e.default.model.ship.get(_e7m[_e7p]); _e7q.y = 68 * _e7p + 15, _e7q.alpha = 0, _e7q.update(_e7r, !1); var _e7s = createjs.Tween.get(_e7q).wait(200 * _e7p).to({ 'y': _e7q.y - 15, 'alpha': 1 }, 200); _e7n.addTween(_e7s); } } var _e7t, _e7u = this._view.infos.items; for (_e7p = 0; _e7p < _e7u.length; _e7p++) { var _e7v = _e7u[_e7p]; if (_e7m.length <= _e7p) _e7v.visible = !1; else _e7r = _e6e.default.model.ship.get(_e7m[_e7p]), (_e7v.y = 68 * _e7p + 8, _e7v.alpha = 0, _e7v.initialize(), _e7v.update(_e7r.name, _e7r.level)); } this._view.infos.visible = !0; for (_e7p = 0; _e7p < _e7u.length; _e7p++) { null != (_e7v = _e7u[_e7p]) && (_e7t = createjs.Tween.get(_e7v).wait(500 + 100 * _e7p).to({ 'y': _e7v.y - 8, 'alpha': 1 }, 200), _e7n.addTween(_e7t)); } null != _e7t && _e7t.call(function() { var _e7w = null; _e7h._showTelopBG(); }), _e7n.setPaused(!1); }, _e6s.prototype._showTelopBG = function() { var _e7x = null, _e7y = this; this._telop_bg = new PIXI.Sprite(_e6n.COMMON_EXPEDITION.getTexture(10)), this._telop_bg.anchor.set(0.5, 0.5), this._telop_bg.position.set(_e6d.default.width / 2, _e6d.default.height / 2), this._telop_bg.scale.set(1, 0), _e6e.default.view.overLayer.addChild(this._telop_bg), createjs.Tween.get(this._telop_bg.scale).to({ 'y': 2 }, 200).call(function() { var _e7z = null; _e7y._showTelop(); }); }, _e6s.prototype._showTelop = function() { var _e80 = null, _e81 = this, _e82 = _e6d.default.height / 2; this._telop_label = new PIXI.Sprite(_e6n.COMMON_EXPEDITION.getTexture(2)), this._telop_label.anchor.set(0.5, 0.5), this._telop_label.position.set(1338, _e82), 2 == this._expedition_result.result ? (this._telop_result = new PIXI.Sprite(_e6n.COMMON_EXPEDITION.getTexture(9)), this._telop_result.position.set(795, _e82)) : 1 == this._expedition_result.result ? (this._telop_result = new PIXI.Sprite(_e6n.COMMON_EXPEDITION.getTexture(7)), this._telop_result.position.set(909, _e82)) : (this._telop_result = new PIXI.Sprite(_e6n.COMMON_EXPEDITION.getTexture(8)), this._telop_result.position.set(909, _e82)), this._telop_result.anchor.set(0.5, 0.5), this._telop_result.scale.set(1.6, 1.6), this._telop_result.alpha = 0, _e6e.default.view.overLayer.addChild(this._telop_label), _e6e.default.view.overLayer.addChild(this._telop_result), createjs.Tween.get(this._telop_label).to({ 'x': 426 }, 1000).to({ 'x': 330 }, 1000), createjs.Tween.get(this._telop_result).wait(1500).to({ 'alpha': 1 }, 800, createjs.Ease.bounceOut), createjs.Tween.get(this._telop_result.scale).wait(1500).to({ 'x': 1, 'y': 1 }, 800, createjs.Ease.bounceOut).call(function() { var _e83 = null; _e81._waitClick(); }); }, _e6s.prototype._waitClick = function() { var _e84 = null, _e85 = this; this._gear_btn = new _e6k.GearBtnNext(), this._gear_btn.position.set(1145, 666), this._gear_btn.initialize(), this._click_area = new _e6h.AreaBox(0), this._click_area.buttonMode = !0, _e6e.default.view.clickGuard = !1, _e6e.default.view.overLayer.addChild(this._gear_btn), _e6e.default.view.overLayer.addChild(this._click_area), this._gear_btn.activate(), this._click_area.once(_e6f.EventType.CLICK, function() { var _e86 = null; _e85._hideTelop(); }); }, _e6s.prototype._hideTelop = function() { var _e87 = null, _e88 = this; createjs.Tween.get(this._telop_label).to({ 'alpha': 0 }, 100), createjs.Tween.get(this._telop_result).to({ 'alpha': 0 }, 100), createjs.Tween.get(this._telop_bg.scale).wait(100).to({ 'y': 0 }, 50).call(function() { var _e89 = null; _e88._removeChild(_e88._telop_label), _e88._removeChild(_e88._telop_result), _e88._removeChild(_e88._telop_bg), _e88._showBonusAndItem(); }); }, _e6s.prototype._showBonusAndItem = function() { var _e8a = null, _e8b = this; this._view.bonus.alpha = 0, this._view.bonus.visible = !0, createjs.Tween.get(this._view.bonus).to({ 'alpha': 1 }, 100), this._view.item.alpha = 0, this._view.item.visible = !0, createjs.Tween.get(this._view.item).wait(50).to({ 'alpha': 1 }, 100).call(function() { var _e8c = null; _e8b._waitClick2(); }); var _e8d = this._expedition_result.ship_mem_ids[0], _e8e = _e6e.default.model.ship.get(_e8d), _e8f = _e6e.default.resources.getShip(_e8e.mstID, _e8e.isDamaged(), 'full'), _e8g = new PIXI.Sprite(_e8f), _e8h = _e6e.default.model.ship_graph.get(_e8e.mstID).getCenterOffset(_e8e.isDamaged()); _e8g.x = _e8h.x / this._view.ship_canvas.scale.x, _e8g.y = _e8h.y / this._view.ship_canvas.scale.y, this._view.ship_canvas.addChild(_e8g); }, _e6s.prototype._waitClick2 = function() { var _e8i = null, _e8j = this; this._click_area.once(_e6f.EventType.CLICK, function() { var _e8k = null; _e8j._viewUpdate(); }); }, _e6s.prototype._viewUpdate = function() { var _e8l = null, _e8m = this; new _e6o.TaskExpeditionAlertUpdate().start(function() { var _e8n = null; _e6e.default.view.portMain.updateInfo(), _e8m._hide(); }); }, _e6s.prototype._hide = function() { var _e8o = null, _e8p = this; this._gear_btn.deactivate(), this._gear_btn.dispose(), this._removeChild(this._gear_btn), createjs.Tween.get(this._view).to({ 'alpha': 0 }, 200), createjs.Tween.get(this._shutter).to({ 'alpha': 0 }, 200).call(function() { var _e8q = null; _e8p._removeChild(_e8p._click_area), _e8p._removeChild(_e8p._view), _e8p._view.dispose(), _e8p._removeChild(_e8p._shutter), _e8p._endTask(); }); }, _e6s.prototype._removeChild = function(_e8r) { var _e8s = null; _e6e.default.view.overLayer.removeChild(_e8r); }, _e6s; }(_e6g.TaskBase); _e5q.TaskExpeditionResultShow = _e6p; }, 6695: function(_e8t, _e8u, _e8v) { 'use strict'; var _e8w = null; var _e8x, _e8y = this && this.__extends || (_e8x = function(_e8z, _e90) { var _e91 = null; return _e8x = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_e92, _e93) { var _e94 = null; _e92.__proto__ = _e93; } || function(_e95, _e96) { var _e97 = null; for (var _e98 in _e96) Object.prototype.hasOwnProperty.call(_e96, _e98) && (_e95[_e98] = _e96[_e98]); }, _e8x(_e8z, _e90); }, function(_e99, _e9a) { var _e9b = null; if ('function' != typeof _e9a && null !== _e9a) throw new TypeError('Class extends value ' + String(_e9a) + ' is not a constructor or null'); function _e9c() { var _e9d = null; this.constructor = _e99; } _e8x(_e99, _e9a), _e99.prototype = null === _e9a ? Object.create(_e9a) : (_e9c.prototype = _e9a.prototype, new _e9c()); }), _e9e = this && this.__importDefault || function(_e9f) { var _e9g = null; return _e9f && _e9f.__esModule ? _e9f : { 'default': _e9f }; }; defineModule(_e8u); Object.defineProperty(_e8u, '__esModule', { 'value': !0 }), _e8u.TaskLoadResources = void 0; var _e9h = _e8v(81755), _e9i = _e8v(13748), _e9j = _e9e(_e8v(18622)), _e9k = _e8v(71633), _e9l = function(_e9m) { var _e9n = null; function _e9o(_e9p) { var _e9q = null, _e9r = _e9m.call(this) || this; return _e9r._skinID = _e9p, _e9r; } return _e8y(_e9o, _e9m), _e9o.prototype._start = function() { var _e9s = null; this._load(); }, _e9o.prototype._load = function() { var _e9t = null, _e9u = this, _e9v = new _e9i.UIImageLoader('port'); _e9v.add('port_main.json'), _e9v.add('port_ringmenu.json'), _e9v.add('port_sidemenu.json'), _e9v.add('port_option.json'), _e9v.add('port_ships.json'), _e9j.default.model.basic.getTutorialProgress() < 100 && _e9v.add('port_tutorial.json'), _e9k.EventConst.FRIENDLY && _e9v.add('port_friendly_request.json'), 101 == this._skinID || 102 == this._skinID ? _e9v.add('port_skin_1.json') : 201 == this._skinID ? (_e9v.add('port_skin_2.json'), _e9v.add('port_skin_circle_2.json')) : 301 == this._skinID ? (_e9v.add('port_skin_3.json'), _e9v.add('port_skin_circle_2.json')) : 311 == this._skinID && (_e9v.add('port_skin_3k.json'), _e9v.add('port_skin_3k_huki.json')), _e9v.load(function() { var _e9w = null; _e9u._endTask(); }); }, _e9o; }(_e9h.TaskBase); _e8u.TaskLoadResources = _e9l; }, 54064: function(_e9x, _e9y, _e9z) { 'use strict'; var _ea0 = null; var _ea1, _ea2 = this && this.__extends || (_ea1 = function(_ea3, _ea4) { var _ea5 = null; return _ea1 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ea6, _ea7) { var _ea8 = null; _ea6.__proto__ = _ea7; } || function(_ea9, _eaa) { var _eab = null; for (var _eac in _eaa) Object.prototype.hasOwnProperty.call(_eaa, _eac) && (_ea9[_eac] = _eaa[_eac]); }, _ea1(_ea3, _ea4); }, function(_ead, _eae) { var _eaf = null; if ('function' != typeof _eae && null !== _eae) throw new TypeError('Class extends value ' + String(_eae) + ' is not a constructor or null'); function _eag() { var _eah = null; this.constructor = _ead; } _ea1(_ead, _eae), _ead.prototype = null === _eae ? Object.create(_eae) : (_eag.prototype = _eae.prototype, new _eag()); }), _eai = this && this.__importDefault || function(_eaj) { var _eak = null; return _eaj && _eaj.__esModule ? _eaj : { 'default': _eaj }; }; defineModule(_e9y); Object.defineProperty(_e9y, '__esModule', { 'value': !0 }), _e9y.TaskSelectLoginBonus = void 0; var _eal = _e9z(35660), _eam = _e9z(4342), _ean = _e9z(17103), _eao = _e9z(42552), _eap = _e9z(45134), _eaq = _e9z(22242), _ear = _e9z(81755), _eas = _e9z(27416), _eat = _e9z(294), _eau = _e9z(69916), _eav = _e9z(13239), _eaw = _e9z(6147), _eax = _eai(_e9z(18622)), _eay = function(_eaz) { var _eb0 = null; function _eb1(_eb2, _eb3) { var _eb4 = null, _eb5 = _eaz.call(this) || this; return _eb5._layer = _eb2, _eb5._bonuses = _eb3, _eb5; } return _ea2(_eb1, _eaz), _eb1.prototype._start = function() { var _eb6 = null; this._rewards = this._convRewardModel(this._bonuses), this._getReward(this._rewards); }, _eb1.prototype._convRewardModel = function(_eb7) { var _eb8 = null; for (var _eb9 = [], _eba = 0, _ebb = _eb7; _eba < _ebb.length; _eba++) { var _ebc = _ebb[_eba], _ebd = void 0; _ebc.isShip() && (_ebd = new _eat.RewardModelBonusShip(_ebc.mst_id, '')), _ebc.isSlotitem() && (_ebd = new _eau.RewardModelBonusSlotitem(_ebc.mst_id, _ebc.level, _ebc.count, '')), _ebc.isUseitem() && (_ebd = new _eav.RewardModelBonusUseitem(_ebc.mst_id, _ebc.count, '')), _ebc.isFurniture() && (_ebd = new _eas.RewardModelBonusFurniture(_ebc.mst_id, '', '')), _eb9.push(_ebd); } return _eb9; }, _eb1.prototype._getReward = function(_ebe) { var _ebf = null, _ebg = this; new _eaw.TaskReward(this._layer, _ebe).start(function() { var _ebh = null; _ebg._updateData(); }); }, _eb1.prototype._updateData = function() { var _ebi = null, _ebj = this, _ebk = new _eal.APIConnector(); _ebk.add(new _eam.PortAPI()), this._bonuses.some(function(_ebl) { var _ebm = null; return _ebl.isSlotitem() || _ebl.isShip(); }) && (_ebk.add(new _eaq.UserSlotItemAPI()), _ebk.add(new _ean.UnsetSlotAPI())), this._bonuses.some(function(_ebn) { var _ebo = null; return _ebn.isUseitem(); }) && _ebk.add(new _eao.UseItemAPI()), this._bonuses.some(function(_ebp) { var _ebq = null; return _ebp.isFurniture(); }) && _ebk.add(new _eap.UserFurnitureAPI()), _ebk.start(function() { var _ebr = null; _eax.default.view.portMain.updateInfo(), _ebj._endTask(); }); }, _eb1.prototype._endTask = function() { var _ebs = null; _eaz.prototype._endTask.call(this); }, _eb1; }(_ear.TaskBase); _e9y.TaskSelectLoginBonus = _eay; }, 4491: function(_ebt, _ebu, _ebv) { 'use strict'; var _ebw = null; var _ebx = this && this.__importDefault || function(_eby) { var _ebz = null; return _eby && _eby.__esModule ? _eby : { 'default': _eby }; }; defineModule(_ebu); Object.defineProperty(_ebu, '__esModule', { 'value': !0 }), _ebu.BeLeftVoiceTimer = void 0; var _ec0 = _ebx(_ebv(18622)), _ec1 = (function() { var _ec2 = null; function _ec3() { var _ec4 = null; this.INTERVAL = 300000, this._enabled_029 = !1, this._enabled_129 = !1, this._enabled_byTimeSignal = !0, this._timer_handle = -1; } return Object.defineProperty(_ec3.prototype, 'enabled_byTimeSignal', { 'set': function(_ec5) { var _ec6 = null; this._enabled_byTimeSignal = _ec5; }, 'enumerable': !1, 'configurable': !0 }), _ec3.prototype.initialize = function(_ec7, _ec8) { var _ec9 = null; this._mst_id = _ec7, this._tired = _ec8; var _eca = _ec0.default.model.ship.getMst(this._mst_id); null == _eca ? this._enabled_029 = this._enabled_129 = !1 : (this._enabled_029 = _eca.availableBeLeftVoice, this._enabled_129 = _eca.availableBeLeftVoices), this.reset(); }, _ec3.prototype.stop = function() { var _ecb = null; - 1 != this._timer_handle && (clearInterval(this._timer_handle), this._timer_handle = -1); }, _ec3.prototype.reset = function() { var _ecc = null, _ecd = this; this.stop(), 0 == this._enabled_029 && 0 == this._enabled_129 || (this._timer_handle = window.setInterval(function() { var _ece = null; _ecd._play(); }, this.INTERVAL)); }, _ec3.prototype._play = function() { var _ecf = null; 1 == _ec0.default.option.voice_be_left && this._enabled_byTimeSignal && (1 == this._enabled_129 && this._tired >= 50 ? _ec0.default.sound.voice.play(this._mst_id.toString(), 129) : 1 == this._enabled_029 && _ec0.default.sound.voice.play(this._mst_id.toString(), 29)); }, _ec3; }()); _ebu.BeLeftVoiceTimer = _ec1; }, 46991: function(_ecg, _ech, _eci) { 'use strict'; var _ecj = null; var _eck = this && this.__importDefault || function(_ecl) { var _ecm = null; return _ecl && _ecl.__esModule ? _ecl : { 'default': _ecl }; }; defineModule(_ech); Object.defineProperty(_ech, '__esModule', { 'value': !0 }), _ech.TimeSignal = void 0; var _ecn = _eck(_eci(18622)), _eco = (function() { var _ecp = null; function _ecq(_ecr) { var _ecs = null, _ect = this; this._enabled_timeSignal = !1, this._timer_handle_timeSignal = -1, this._timer_handle_preload = -1, this._timer_handle_nextTimeSignal = -1, this._onEnd = function() { var _ecu = null; _ect._timerBeLeftVoice.enabled_byTimeSignal = !0; }, this._timerBeLeftVoice = _ecr; } return _ecq.prototype.initialize = function(_ecv) { var _ecw = null; this._mst_id = _ecv; var _ecx = _ecn.default.model.ship.getMst(this._mst_id); this._enabled_timeSignal = null != _ecx && _ecx.availableTimeSignalVoice, this.reset(); }, _ecq.prototype.stop = function() { var _ecy = null; - 1 != this._timer_handle_timeSignal && (clearInterval(this._timer_handle_timeSignal), this._timer_handle_timeSignal = -1), -1 != this._timer_handle_preload && (clearInterval(this._timer_handle_preload), this._timer_handle_preload = -1), -1 != this._timer_handle_nextTimeSignal && (clearInterval(this._timer_handle_nextTimeSignal), this._timer_handle_nextTimeSignal = -1), this._timerBeLeftVoice.enabled_byTimeSignal = !0; }, _ecq.prototype.reset = function() { var _ecz = null, _ed0 = this; if (this.stop(), 0 != this._enabled_timeSignal) { var _ed1 = new Date(), _ed2 = _ed1.getMinutes(), _ed3 = _ed1.getSeconds(); this._voicehour = _ed1.getHours(), this._INTERVAL_sec = 60 * (59 - _ed2) + (59 - _ed3), this._INTERVAL_sec < 3599 && ++this._voicehour > 23 && (this._voicehour = 0), this._timer_handle_timeSignal = window.setTimeout(function() { var _ed4 = null; _ed0._play(); }, 1000 * this._INTERVAL_sec), this._INTERVAL_sec > 1800 ? this._Preload_sec = parseInt(1500 * Math.random() + (this._INTERVAL_sec - 1800) + '') : this._INTERVAL_sec < 300 ? this._Preload_sec = 0 : this._Preload_sec = parseInt(Math.random() * (this._INTERVAL_sec - 300) + ''), this._timer_handle_preload = window.setTimeout(function() { var _ed5 = null; _ed0._preload(); }, 1000 * this._Preload_sec); } }, _ecq.prototype._preload = function() { var _ed6 = null; _ecn.default.sound.voice.preload(this._mst_id.toString(), this._voicehour + 30); }, _ecq.prototype._play = function() { var _ed7 = null, _ed8 = this; 1 == this._enabled_timeSignal && (this._timerBeLeftVoice.enabled_byTimeSignal = !1, _ecn.default.sound.voice.play(this._mst_id.toString(), this._voicehour + 30, this._onEnd), this._timer_handle_nextTimeSignal = window.setTimeout(function() { var _ed9 = null; _ed8.reset(); }, 61000)); }, _ecq; }()); _ech.TimeSignal = _eco; }, 7072: function(_eda, _edb, _edc) { 'use strict'; var _edd = null; var _ede, _edf = this && this.__extends || (_ede = function(_edg, _edh) { var _edi = null; return _ede = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_edj, _edk) { var _edl = null; _edj.__proto__ = _edk; } || function(_edm, _edn) { var _edo = null; for (var _edp in _edn) Object.prototype.hasOwnProperty.call(_edn, _edp) && (_edm[_edp] = _edn[_edp]); }, _ede(_edg, _edh); }, function(_edq, _edr) { var _eds = null; if ('function' != typeof _edr && null !== _edr) throw new TypeError('Class extends value ' + String(_edr) + ' is not a constructor or null'); function _edt() { var _edu = null; this.constructor = _edq; } _ede(_edq, _edr), _edq.prototype = null === _edr ? Object.create(_edr) : (_edt.prototype = _edr.prototype, new _edt()); }), _edv = this && this.__importDefault || function(_edw) { var _edx = null; return _edw && _edw.__esModule ? _edw : { 'default': _edw }; }; defineModule(_edb); Object.defineProperty(_edb, '__esModule', { 'value': !0 }), _edb.ExpeditionAlert = void 0; var _edy = _edc(79899), _edz = _edc(8744), _ee0 = _edc(48448), _ee1 = _edc(35660), _ee2 = _edc(4342), _ee3 = _edc(56277), _ee4 = _edc(42552), _ee5 = _edc(32703), _ee6 = _edc(35688), _ee7 = _edc(80845), _ee8 = _edc(35380), _ee9 = _edv(_edc(18622)), _eea = _edc(4918), _eeb = _edc(48351), _eec = _edc(3252), _eed = _edc(13393), _eee = _edc(92547), _eef = function(_eeg) { var _eeh = null; function _eei() { var _eej = null, _eek = _eeg.call(this) || this; return _eek._initialized = !1, _eek._activated = !1, _eek._onClick = function() { var _eel = null; _ee9.default.view.clickGuard = !0; var _eem = new _ee0.ExpeditionResultModel(), _een = new _ee3.ExpeditionResultAPI(_eek._deck_id, _eem); new _ee1.APIConnector().add(_een).add(new _ee2.PortAPI()).add(new _ee4.UseItemAPI()).start(function() { var _eeo = null; _eek._showExpeditionCutin(_eem); }); }, _eek._showExpeditionCutin = function(_eep) { var _eeq = null; new _ee5.TaskExpeditionEndCutin(_eek._deck_id, _eep).start(function() { var _eer = null; _eek._showExpeditionResult(_eep); }); }, _eek._showExpeditionResult = function(_ees) { var _eet = null; new _ee7.TaskExpeditionResultShow(_eek._deck_id, _ees).start(); }, _eek; } return _edf(_eei, _eeg), _eei.prototype.initialize = function(_eeu) { var _eev = null; this._deck_id = _eeu.mstID; var _eew = _ee9.default.model.basic.getUISkinID(); 0 == this._initialized && (this._bg = new _edy.AreaBox(0, 16711680), this.addChild(this._bg), this._balloon = new PIXI.Sprite(), this._balloon.position = this._getBalloonPos(_eew), this.addChild(this._balloon), this._deck_name = new _edz.TextBox(19, 1949120), this._deck_name.position.set(87, 14), this._balloon.addChild(this._deck_name), this._ship_silhuette = new _eex(), this._balloon.addChild(this._ship_silhuette), this._ship_silhuette.position.set(24, 54)), this._balloon.texture = this._getBalloonTexture(this._deck_id, _eew), this._ship_silhuette.update(_eeu.getShipList()), this._ship_silhuette.changeSkin(_eew), this._deck_name.style.fill = this._getTextColor(_eew), this._deck_name.text = _eeu.name, this._initialized = !0; }, _eei.prototype.changeSkin = function(_eey) { var _eez = null; 1 == this._initialized && (this._balloon.texture = this._getBalloonTexture(this._deck_id, _eey), this._balloon.position = this._getBalloonPos(_eey), this._ship_silhuette.changeSkin(_eey), this._deck_name.style.fill = this._getTextColor(_eey)); }, _eei.prototype.activate = function() { var _ef0 = null; 0 == this._activated && (this._activated = !0, this.interactive = this.buttonMode = !0, this.on(_ee8.EventType.CLICK, this._onClick)); }, _eei.prototype.deactive = function() { var _ef1 = null; this.interactive = this.buttonMode = !1, this.off(_ee8.EventType.CLICK, this._onClick), this._activated = !1; }, _eei.prototype.dispose = function() { var _ef2 = null, _ef3, _ef4; this.deactive(), this._initialized = !1, this.removeChildren(), null === (_ef3 = this._bg) || void 0 === _ef3 || _ef3.destroy(), this._bg = null, null === (_ef4 = this._balloon) || void 0 === _ef4 || _ef4.destroy(), this._balloon = null, this._deck_name && this._deck_name.destroy(), this._deck_name = null; }, _eei.prototype._getBalloonPos = function(_ef5) { var _ef6 = null; return 101 == _ef5 || 102 == _ef5 ? new PIXI.Point(770, 5) : 201 == _ef5 ? new PIXI.Point(772, 5) : new PIXI.Point(770, 3); }, _eei.prototype._getTextColor = function(_ef7) { return 101 == _ef7 || 102 == _ef7 ? 4298135 : 201 == _ef7 ? 733250 : 4298135; }, _eei.prototype._getBalloonTexture = function(_ef8, _ef9) { var _efa = null; if (101 == _ef9 || 102 == _ef9) { if (2 == _ef8) return _eea.PORT_SKIN_1.getTexture(15); if (3 == _ef8) return _eea.PORT_SKIN_1.getTexture(16); if (4 == _ef8) return _eea.PORT_SKIN_1.getTexture(17); } else { if (201 == _ef9) { if (2 == _ef8) return _eeb.PORT_SKIN_2.getTexture(7); if (3 == _ef8) return _eeb.PORT_SKIN_2.getTexture(8); if (4 == _ef8) return _eeb.PORT_SKIN_2.getTexture(9); } else { if (301 == _ef9) { if (2 == _ef8) return _eec.PORT_SKIN_3.getTexture(7); if (3 == _ef8) return _eec.PORT_SKIN_3.getTexture(8); if (4 == _ef8) return _eec.PORT_SKIN_3.getTexture(9); } else { if (2 == _ef8) return _eed.PORT_SKIN_3K_HUKI.getTexture(0); if (3 == _ef8) return _eed.PORT_SKIN_3K_HUKI.getTexture(1); if (4 == _ef8) return _eed.PORT_SKIN_3K_HUKI.getTexture(2); } } } }, _eei; }(PIXI.Container); _edb.ExpeditionAlert = _eef; var _eex = function(_efb) { var _efc = null; function _efd() { var _efe = null, _eff = _efb.call(this) || this, _efg = new PIXI.Graphics(); _efg.beginFill(3355443, 0.7), _efg.drawRect(0, 0, 335, 25), _efg.endFill(), _eff.addChild(_efg), _eff.mask = _efg, _eff._ships = []; for (var _efh = 0; _efh < _eee.NORMAL_DECK_NUM; _efh++) _eff._ships.push(new PIXI.Sprite()); _eff.addChild.apply(_eff, _eff._ships); var _efi = new PIXI.filters.ColorMatrixFilter(); return _efi.matrix = [1, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0], _eff._color_filter = _efi, _eff; } return _edf(_efd, _efb), _efd.prototype.changeSkin = function(_efj) { var _efk = null; 201 == _efj ? (this.alpha = 1, this.filters = [this._color_filter]) : (this.alpha = 0.65, this._filters = null); }, _efd.prototype.update = function(_efl) { var _efm = null, _efn = this; this._ships.forEach(function(_efo, _efp) { var _efq = null; _efo.texture = PIXI.Texture.EMPTY; var _efr = _efl.shift(); if (null != _efr) { var _efs = _efn._getTextureName(_efr.getClassType(), _efr.shipTypeID); _efo.texture = _ee6.PORT_SHIPS.getTexture(_efs), _efo.anchor.y = 1, _efo.position.y = 25, _efp > 0 && (_efo.position.x = _efn._ships[_efp - 1].position.x + _efn._ships[_efp - 1].width); } }); }, _efd.prototype._getTextureName = function(_eft, _efu) { var _efv = null; switch (_eft) { case 37: return 10; case 41: return 12; case 52: return 13; } switch (_efu) { case 1: return 14; case 2: return 0; case 3: return 11; case 4: return 16; case 5: return 15; case 6: return 17; case 7: return 20; case 8: case 9: case 12: return 18; case 10: return 19; case 11: return 21; case 13: return 1; case 14: return 2; case 15: case 22: return 9; case 16: return 3; case 17: return 7; case 18: return 5; case 19: return 6; case 20: return 4; case 21: return 8; default: PIXI.Texture.EMPTY; } }, _efd; }(PIXI.Container); }, 26496: function(_efw, _efx, _efy) { 'use strict'; var _efz = null; var _eg0, _eg1 = this && this.__extends || (_eg0 = function(_eg2, _eg3) { var _eg4 = null; return _eg0 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_eg5, _eg6) { var _eg7 = null; _eg5.__proto__ = _eg6; } || function(_eg8, _eg9) { var _ega = null; for (var _egb in _eg9) Object.prototype.hasOwnProperty.call(_eg9, _egb) && (_eg8[_egb] = _eg9[_egb]); }, _eg0(_eg2, _eg3); }, function(_egc, _egd) { var _ege = null; if ('function' != typeof _egd && null !== _egd) throw new TypeError('Class extends value ' + String(_egd) + ' is not a constructor or null'); function _egf() { var _egg = null; this.constructor = _egc; } _eg0(_egc, _egd), _egc.prototype = null === _egd ? Object.create(_egd) : (_egf.prototype = _egd.prototype, new _egf()); }), _egh = this && this.__importDefault || function(_egi) { var _egj = null; return _egi && _egi.__esModule ? _egi : { 'default': _egi }; }; defineModule(_efx); Object.defineProperty(_efx, '__esModule', { 'value': !0 }), _efx.FriendlyRequest = void 0; var _egk = _efy(79899), _egl = _efy(89005), _egm = _efy(35380), _egn = _egh(_efy(18622)), _ego = function(_egp) { var _egq = null; function _egr() { var _egs = null, _egt = _egp.call(this) || this; _egt._bg = new _egk.AreaBox(0.6), _egt._bg.interactive = !0, _egt.addChild(_egt._bg), _egt._container = new PIXI.Container(), _egt._container.position.set(129, 210), _egt._container.interactive = !0, _egt.addChild(_egt._container); var _egu = new PIXI.Sprite(_egl.PORT_FRIENDLY_REQUEST.getTexture(0)); _egu.position.set(0, 0), _egt._container.addChild(_egu); var _egv = new PIXI.Sprite(_egl.PORT_FRIENDLY_REQUEST.getTexture(36)); _egv.position.set(73, 34), _egt._container.addChild(_egv); var _egw = new PIXI.Sprite(_egl.PORT_FRIENDLY_REQUEST.getTexture(25)); _egw.position.set(70, 132), _egt._container.addChild(_egw), _egt._flg = _egn.default.friendlyRequest.flg, _egt._requestFlg = new _egx(), _egt._requestFlg.position.set(58, 85), _egt._container.addChild(_egt._requestFlg), _egt._type = _egn.default.friendlyRequest.type, _egt._requestType = new _egy(), _egt._requestType.position.set(58, 133), _egt._container.addChild(_egt._requestType), _egt._closeBtn = new PIXI.Sprite(_egl.PORT_FRIENDLY_REQUEST.getTexture(1)), _egt._closeBtn.interactive = !0, _egt._closeBtn.buttonMode = !0, _egt._closeBtn.position.set(255, 242), _egt._container.addChild(_egt._closeBtn); var _egz = _egn.default.model.basic.getCNum(), _eh0 = _egt._getShipTextureId(_egz), _eh1 = new PIXI.Sprite(_egl.PORT_FRIENDLY_REQUEST.getTexture(_eh0)), _eh2 = _egt._getShipPos(_eh0); return _eh1.position.set(_eh2[0], _eh2[1]), _egt.addChild(_eh1), _egt; } return _eg1(_egr, _egp), _egr.prototype.dispose = function() { var _eh3 = null; this._closeBtn.off(_egm.EventType.CLICK), this._bg.off(_egm.EventType.CLICK), this._requestFlg.dispose(), this._requestType.dispose(), _egn.default.friendlyRequest.UI = !1, this.removeChildren(), this._bg = null, this._container = null, this._closeBtn = null, this._requestFlg = null, this._requestType = null; }, _egr.prototype.start = function(_eh4) { var _eh5 = null, _eh6 = this; _egn.default.friendlyRequest.UI = !0, this._closeBtn.once(_egm.EventType.CLICK, function() { var _eh7 = null; _eh4(_eh6._flg, _eh6._type); }), this._bg.once(_egm.EventType.CLICK, function() { var _eh8 = null; _eh4(_eh6._flg, _eh6._type); }), this._requestFlg.start(this._flg, function(_eh9) { var _eha = null; _eh6._flg = _eh9, 1 === _eh6._flg ? _eh6._requestType.resume() : _eh6._requestType.disabled(); }); var _ehb = 1 !== this._flg; this._requestType.start(this._type, _ehb, function(_ehc) { var _ehd = null; _eh6._type = _ehc; }); }, _egr.prototype._getShipTextureId = function(_ehe) { var _ehf = null, _ehg = Math.floor(100 * Math.random()); return _ehe < 1 ? _ehg >= 75 ? 19 : _ehg >= 50 ? 15 : _ehg >= 36 ? 16 : _ehg >= 22 ? 5 : _ehg >= 10 ? 21 : 12 : _ehe < 3 ? _ehg >= 90 ? 19 : _ehg >= 83 ? 15 : _ehg >= 81 ? 16 : _ehg >= 79 ? 5 : _ehg >= 77 ? 21 : _ehg >= 75 ? 12 : _ehg >= 51 ? 8 : _ehg >= 38 ? 24 : _ehg >= 20 ? 4 : _ehg >= 10 ? 18 : 9 : _ehe < 5 ? _ehg >= 96 ? 19 : _ehg >= 92 ? 15 : _ehg >= 90 ? 16 : _ehg >= 88 ? 5 : _ehg >= 86 ? 21 : _ehg >= 84 ? 12 : _ehg >= 70 ? 8 : _ehg >= 65 ? 24 : _ehg >= 61 ? 4 : _ehg >= 57 ? 18 : _ehg >= 53 ? 9 : _ehg >= 41 ? 3 : _ehg >= 29 ? 13 : _ehg >= 17 ? 2 : _ehg >= 7 ? 14 : 20 : _ehe < 6 ? _ehg >= 96 ? 19 : _ehg >= 92 ? 15 : _ehg >= 90 ? 16 : _ehg >= 88 ? 5 : _ehg >= 86 ? 21 : _ehg >= 84 ? 12 : _ehg >= 80 ? 8 : _ehg >= 76 ? 24 : _ehg >= 74 ? 4 : _ehg >= 72 ? 18 : _ehg >= 70 ? 9 : _ehg >= 66 ? 3 : _ehg >= 62 ? 13 : _ehg >= 58 ? 2 : _ehg >= 55 ? 14 : _ehg >= 52 ? 20 : _ehg >= 34 ? 7 : _ehg >= 18 ? 17 : _ehg >= 8 ? 6 : 11 : _ehg >= 96 ? 19 : _ehg >= 92 ? 15 : _ehg >= 90 ? 16 : _ehg >= 88 ? 5 : _ehg >= 86 ? 21 : _ehg >= 84 ? 12 : _ehg >= 80 ? 8 : _ehg >= 76 ? 24 : _ehg >= 74 ? 4 : _ehg >= 72 ? 18 : _ehg >= 70 ? 9 : _ehg >= 66 ? 3 : _ehg >= 62 ? 13 : _ehg >= 59 ? 2 : _ehg >= 56 ? 14 : _ehg >= 53 ? 20 : _ehg >= 43 ? 7 : _ehg >= 38 ? 17 : _ehg >= 33 ? 6 : _ehg >= 29 ? 11 : _ehg >= 16 ? 23 : _ehg >= 6 ? 10 : 22; }, _egr.prototype._getShipPos = function(_ehh) { switch (_ehh) { case 2: return [590, 90]; case 7: return [617, 60]; case 13: return [700, 95]; case 9: return [648, 90]; case 6: return [681, 118]; case 14: return [725, 45]; case 15: return [667, 100]; case 17: return [689, 58]; case 10: return [686, 67]; case 19: return [707, 93]; case 18: return [683, 107]; case 11: return [557, 65]; case 22: return [651, 125]; case 16: return [687, 75]; case 8: return [654, 138]; case 24: return [523, -30]; case 21: return [694, 116]; case 3: return [543, 91]; case 12: return [651, 103]; case 5: return [579, 84]; case 23: return [538, 16]; case 4: return [572, 106]; case 20: return [728, 121]; default: return [500, 90]; } }, _egr; }(PIXI.Container); _efx.FriendlyRequest = _ego; var _ehi = function(_ehj) { var _ehk = null; function _ehl() { var _ehm = null, _ehn = _ehj.call(this) || this, _eho = new PIXI.Sprite(_egl.PORT_FRIENDLY_REQUEST.getTexture(37)); return _ehn.addChild(_eho), _ehn._ball = new PIXI.Sprite(_egl.PORT_FRIENDLY_REQUEST.getTexture(38)), _ehn.addChild(_ehn._ball), _eho.position.set(Math.round(_ehn._ball.width / 2), 9), _ehn._rightX = _eho.width, _ehn.interactive = !0, _ehn.buttonMode = !0, _ehn; } return _eg1(_ehl, _ehj), _ehl.prototype.dispose = function() { var _ehp = null; this.off(_egm.EventType.CLICK), this.removeChildren(), this._ball = null; }, _ehl.prototype.initialize = function(_ehq, _ehr) { var _ehs = null; void 0 === _ehr && (_ehr = !1), this._ball.x = _ehq ? this._rightX : 0, _ehr ? this.disabled() : this.resume(); }, _ehl.prototype.start = function(_eht, _ehu) { var _ehv = null, _ehw = this; this.on(_egm.EventType.CLICK, function() { var _ehx = null; _eht(), _ehw.onClick(_ehu); }); }, _ehl.prototype.disabled = function() { var _ehy = null; this.interactive = !1, this._ball.texture = _egl.PORT_FRIENDLY_REQUEST.getTexture(39); }, _ehl.prototype.resume = function() { var _ehz = null; this.interactive = !0, this._ball.texture = _egl.PORT_FRIENDLY_REQUEST.getTexture(38); }, _ehl.prototype.onClick = function(_ei0) { var _ei1 = null, _ei2 = this; void 0 === _ei0 && (_ei0 = null); var _ei3 = 0 === this._ball.x ? this._rightX : 0; this.interactive = !1, createjs.Tween.get(this._ball).to({ 'x': _ei3 }, 200).call(function() { var _ei4 = null; _ei2.interactive = !0, _ei0 && _ei0(_ei3); }); }, _ehl; }(PIXI.Container), _egx = function(_ei5) { var _ei6 = null; function _ei7() { var _ei8 = null, _ei9 = _ei5.call(this) || this; return _ei9._request = new PIXI.Sprite(_egl.PORT_FRIENDLY_REQUEST.getTexture(26)), _ei9._request.interactive = !0, _ei9._request.buttonMode = !0, _ei9.addChild(_ei9._request), _ei9._requestOn = new PIXI.Sprite(_egl.PORT_FRIENDLY_REQUEST.getTexture(27)), _ei9.addChild(_ei9._requestOn), _ei9._unnecessary = new PIXI.Sprite(_egl.PORT_FRIENDLY_REQUEST.getTexture(28)), _ei9._unnecessary.position.set(318, 0), _ei9._unnecessary.interactive = !0, _ei9._unnecessary.buttonMode = !0, _ei9.addChild(_ei9._unnecessary), _ei9._unnecessaryOn = new PIXI.Sprite(_egl.PORT_FRIENDLY_REQUEST.getTexture(29)), _ei9._unnecessaryOn.position.set(318, 0), _ei9.addChild(_ei9._unnecessaryOn), _ei9._btn = new _ehi(), _ei9._btn.position.set(205, 8), _ei9.addChild(_ei9._btn), _ei9; } return _eg1(_ei7, _ei5), _ei7.prototype.dispose = function() { var _eia = null; this._unnecessary.off(_egm.EventType.CLICK), this._request.off(_egm.EventType.CLICK), this._btn.dispose(), this.removeChildren(), this._unnecessary = null, this._unnecessaryOn = null, this._request = null, this._requestOn = null, this._btn = null; }, _ei7.prototype.start = function(_eib, _eic) { var _eid = null, _eie = this; this._flg = _eib, this._updateEmission(this._flg), this._unnecessary.on(_egm.EventType.CLICK, function() { var _eif = null; 0 !== _eie._flg && (_eie._unnecessary.interactive = !1, _eie._request.interactive = !1, _eie._btn.onClick(function() { var _eig = null; _eie._flg = 0, _eie._updateEmission(_eie._flg), _eie._unnecessary.interactive = !0, _eie._request.interactive = !0, _eic(_eie._flg); })); }), this._request.on(_egm.EventType.CLICK, function() { var _eih = null; 1 !== _eie._flg && (_eie._unnecessary.interactive = !1, _eie._request.interactive = !1, _eie._btn.onClick(function() { var _eii = null; _eie._flg = 1, _eie._updateEmission(_eie._flg), _eie._unnecessary.interactive = !0, _eie._request.interactive = !0, _eic(_eie._flg); })); }); var _eij = 1 !== _eib; this._btn.initialize(_eij), this._btn.start(function() { var _eik = null; _eie._unnecessary.interactive = !1, _eie._request.interactive = !1; }, function(_eil) { var _eim = null; _eie._flg = 0 === _eil ? 1 : 0, _eie._updateEmission(_eie._flg), _eie._unnecessary.interactive = !0, _eie._request.interactive = !0, _eic(_eie._flg); }); }, _ei7.prototype._updateEmission = function(_ein) { var _eio = null; 1 === _ein ? (this._unnecessaryOn.visible = !1, this._requestOn.visible = !0) : (this._unnecessaryOn.visible = !0, this._requestOn.visible = !1); }, _ei7; }(PIXI.Container), _egy = function(_eip) { var _eiq = null; function _eir() { var _eis = null, _eit = _eip.call(this) || this; return _eit._powerfulInfo = new PIXI.Sprite(_egl.PORT_FRIENDLY_REQUEST.getTexture(34)), _eit._powerfulInfo.position.set(12, 45), _eit.addChild(_eit._powerfulInfo), _eit._normalInfo = new PIXI.Sprite(_egl.PORT_FRIENDLY_REQUEST.getTexture(35)), _eit._normalInfo.position.set(330, 45), _eit.addChild(_eit._normalInfo), _eit._powerful = new PIXI.Sprite(_egl.PORT_FRIENDLY_REQUEST.getTexture(30)), _eit._powerful.interactive = !0, _eit._powerful.buttonMode = !0, _eit.addChild(_eit._powerful), _eit._powerfulOn = new PIXI.Sprite(_egl.PORT_FRIENDLY_REQUEST.getTexture(31)), _eit.addChild(_eit._powerfulOn), _eit._normal = new PIXI.Sprite(_egl.PORT_FRIENDLY_REQUEST.getTexture(32)), _eit._normal.position.set(318, 0), _eit._normal.interactive = !0, _eit._normal.buttonMode = !0, _eit.addChild(_eit._normal), _eit._normalOn = new PIXI.Sprite(_egl.PORT_FRIENDLY_REQUEST.getTexture(33)), _eit._normalOn.position.set(318, 0), _eit.addChild(_eit._normalOn), _eit._btn = new _ehi(), _eit._btn.position.set(205, 8), _eit.addChild(_eit._btn), _eit; } return _eg1(_eir, _eip), _eir.prototype.dispose = function() { var _eiu = null; this._powerful.off(_egm.EventType.CLICK), this._normal.off(_egm.EventType.CLICK), this._btn.dispose(), this.removeChildren(), this._powerful = null, this._powerfulOn = null, this._powerfulInfo = null, this._normal = null, this._normalOn = null, this._normalInfo = null, this._btn = null; }, _eir.prototype.start = function(_eiv, _eiw, _eix) { var _eiy = null, _eiz = this; this._type = _eiv, this._updateEmission(this._type), _eiw ? this.disabled() : this.resume(), this._powerful.on(_egm.EventType.CLICK, function() { var _ej0 = null; 1 !== _eiz._type && (_eiz._powerful.interactive = !1, _eiz._normal.interactive = !1, _eiz._btn.onClick(function() { var _ej1 = null; _eiz._type = 1, _eiz._updateEmission(_eiz._type), _eiz._powerful.interactive = !0, _eiz._normal.interactive = !0, _eix(_eiz._type); })); }), this._normal.on(_egm.EventType.CLICK, function() { var _ej2 = null; 0 !== _eiz._type && (_eiz._powerful.interactive = !1, _eiz._normal.interactive = !1, _eiz._btn.onClick(function() { var _ej3 = null; _eiz._type = 0, _eiz._updateEmission(_eiz._type), _eiz._powerful.interactive = !0, _eiz._normal.interactive = !0, _eix(_eiz._type); })); }); var _ej4 = 1 !== _eiv; this._btn.initialize(_ej4, _eiw), this._btn.start(function() { var _ej5 = null; _eiz._powerful.interactive = !1, _eiz._normal.interactive = !1; }, function(_ej6) { var _ej7 = null; _eiz._type = 0 === _ej6 ? 1 : 0, _eiz._updateEmission(_eiz._type), _eiz._powerful.interactive = !0, _eiz._normal.interactive = !0, _eix(_eiz._type); }); }, _eir.prototype.disabled = function() { var _ej8 = null; this._normal.interactive = !1, this._normalOn.visible = !1, this._powerful.interactive = !1, this._powerfulOn.visible = !1, this._btn.disabled(); }, _eir.prototype.resume = function() { var _ej9 = null; this._normal.interactive = !0, this._normalOn.visible = 1 !== this._type, this._powerful.interactive = !0, this._powerfulOn.visible = 1 === this._type, this._btn.resume(); }, _eir.prototype._updateEmission = function(_eja) { var _ejb = null; 1 !== _eja ? (this._normalOn.visible = !0, this._normalInfo.visible = !0, this._powerfulOn.visible = !1, this._powerfulInfo.visible = !1) : (this._normalOn.visible = !1, this._normalInfo.visible = !1, this._powerfulOn.visible = !0, this._powerfulInfo.visible = !0); }, _eir; }(PIXI.Container); }, 21786: function(_ejc, _ejd, _eje) { 'use strict'; var _ejf = null; var _ejg, _ejh = this && this.__extends || (_ejg = function(_eji, _ejj) { var _ejk = null; return _ejg = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ejl, _ejm) { var _ejn = null; _ejl.__proto__ = _ejm; } || function(_ejo, _ejp) { var _ejq = null; for (var _ejr in _ejp) Object.prototype.hasOwnProperty.call(_ejp, _ejr) && (_ejo[_ejr] = _ejp[_ejr]); }, _ejg(_eji, _ejj); }, function(_ejs, _ejt) { var _eju = null; if ('function' != typeof _ejt && null !== _ejt) throw new TypeError('Class extends value ' + String(_ejt) + ' is not a constructor or null'); function _ejv() { var _ejw = null; this.constructor = _ejs; } _ejg(_ejs, _ejt), _ejs.prototype = null === _ejt ? Object.create(_ejt) : (_ejv.prototype = _ejt.prototype, new _ejv()); }), _ejx = this && this.__importDefault || function(_ejy) { var _ejz = null; return _ejy && _ejy.__esModule ? _ejy : { 'default': _ejy }; }; defineModule(_ejd); Object.defineProperty(_ejd, '__esModule', { 'value': !0 }), _ejd.LogBox = void 0; var _ek0 = _ejx(_eje(18622)), _ek1 = _eje(8744), _ek2 = _eje(67820), _ek3 = _eje(35380), _ek4 = function(_ek5) { var _ek6 = null; function _ek7() { var _ek8 = null, _ek9 = _ek5.call(this) || this; _ek9._BASE_Y = 480, _ek9._MOVE_Y = 225, _ek9._items = null, _ek9._opened = !1, _ek9._tween = null, _ek9._onClick = function() { var _eka = null; 1 == _ek9._opened ? _ek9.close() : _ek9.open(); }, _ek9._onAnimationComplete = function() { var _ekb = null; _ek9._tween = null, _ek9._opened = !_ek9._opened, _ek9._btn.update(_ek9._opened), _ek9._btn.activate(_ek9._onClick); }, _ek9._bg = new PIXI.Sprite(), _ek9._bg.y = -32, _ek9.addChild(_ek9._bg), _ek9._btn = new _ekc(), _ek9._btn.position.set(3, -27), _ek9.addChild(_ek9._btn), _ek9._items = []; for (var _ekd = 0; _ekd < 5; _ekd++) { var _eke = new _ekf(); _eke.position.set(54, 51 + 36 * _ekd), _ek9.addChild(_eke), _ek9._items.push(_eke); } return _ek9; } return _ejh(_ek7, _ek5), _ek7.prototype.initialize = function() { var _ekg = null; this.position.set(534, this._BASE_Y + this._MOVE_Y), this._bg.texture = _ek2.PORT_MAIN.getTexture(3), this._btn.update(!1), this._btn.activate(this._onClick); }, _ek7.prototype.dispose = function() { var _ekh = null; this.removeChildren(); for (var _eki = 0, _ekj = this._items; _eki < _ekj.length; _eki++) { var _ekk = _ekj[_eki]; _ekk.dispose(), _ekk = null; } this._items = null, this._btn.dispose(), this._btn = null, this._bg.destroy(), this._bg = null, null != this._tween && (this._tween.setPaused(!0), this._tween = null); }, _ek7.prototype.open = function(_ekl) { var _ekm = null; if (void 0 === _ekl && (_ekl = 200), null != this._tween) { if (0 == this._opened) return; this._tween.setPaused(!0), this._tween = null; } else { if (1 == this._opened) return; } this._btn.deactivate(), this._initData(), this._animation(this._BASE_Y, _ekl); }, _ek7.prototype.close = function(_ekn) { var _eko = null; if (void 0 === _ekn && (_ekn = 200), null != this._tween) { if (1 == this._opened) return; this._tween.setPaused(!0), this._tween = null; } else { if (0 == this._opened) return; } this._btn.deactivate(), this._initData(), this._animation(this._BASE_Y + this._MOVE_Y, _ekn); }, _ek7.prototype._initData = function() { var _ekp = null; for (var _ekq = _ek0.default.model.log.list, _ekr = 0; _ekr < 5; _ekr++) { var _eks = this._items[_ekr]; if (_ekq.length <= _ekr) _eks.visible = !1; else { var _ekt = _ekq[_ekr]; _eks.update(_ekt.type, _ekt.message); } } }, _ek7.prototype._animation = function(_eku, _ekv) { var _ekw = null; _ekv <= 0 ? (this.y = _eku, this._onAnimationComplete()) : this._tween = createjs.Tween.get(this).to({ 'y': _eku }, _ekv).call(this._onAnimationComplete); }, _ek7; }(PIXI.Container); _ejd.LogBox = _ek4; var _ekc = function(_ekx) { var _eky = null; function _ekz() { var _el0 = null, _el1 = _ekx.call(this) || this; return _el1._onClick = function() { var _el2 = null; null != _el1._cb_onClick && _el1._cb_onClick(); }, _el1.beginFill(16711680, 0), _el1.drawRect(0, 0, 131, 27), _el1.endFill(), _el1._tag = new PIXI.Sprite(), _el1._tag.position.set(20, 2), _el1.addChild(_el1._tag), _el1; } return _ejh(_ekz, _ekx), _ekz.prototype.update = function(_el3) { var _el4 = null; this._tag.texture = 1 == _el3 ? _ek2.PORT_MAIN.getTexture(1) : _ek2.PORT_MAIN.getTexture(2); }, _ekz.prototype.activate = function(_el5) { var _el6 = null; this._cb_onClick = _el5, 1 != this.buttonMode && (this.interactive = !0, this.buttonMode = !0, this.on(_ek3.EventType.CLICK, this._onClick)); }, _ekz.prototype.deactivate = function() { var _el7 = null; this.interactive = !1, this.buttonMode = !1, this.off(_ek3.EventType.CLICK, this._onClick); }, _ekz.prototype.dispose = function() { var _el8 = null; this._cb_onClick = null, this.deactivate(), this._tag.destroy(), this._tag = null; }, _ekz; }(PIXI.Graphics), _ekf = function(_el9) { var _ela = null; function _elb() { var _elc = null, _eld = _el9.call(this) || this; return _eld._type = new PIXI.Sprite(), _eld._type.position.set(-23, -12), _eld.addChild(_eld._type), _eld._text = new _ek1.TextBox(17, 1949120), _eld._text.position.set(33, -12), _eld.addChild(_eld._text), _eld; } return _ejh(_elb, _el9), _elb.prototype.update = function(_ele, _elf) { var _elg = null, _elh = [-1, 15, 7, 10, 11, 8, 13, 16, 9, 6, 12, 5, 4, -1, 16, 14][_ele]; this._type.texture = _elh < 0 ? PIXI.Texture.EMPTY : _ek2.PORT_MAIN.getTexture(_elh), this._text.text = _elf; }, _elb.prototype.dispose = function() { var _eli = null; this.removeChildren(), this._type.destroy(), this._type = null, this._text && this._text.destroy(), this._text = null; }, _elb; }(PIXI.Container); }, 49327: function(_elj, _elk, _ell) { 'use strict'; var _elm = null; var _eln, _elo = this && this.__extends || (_eln = function(_elp, _elq) { var _elr = null; return _eln = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_els, _elt) { var _elu = null; _els.__proto__ = _elt; } || function(_elv, _elw) { var _elx = null; for (var _ely in _elw) Object.prototype.hasOwnProperty.call(_elw, _ely) && (_elv[_ely] = _elw[_ely]); }, _eln(_elp, _elq); }, function(_elz, _em0) { var _em1 = null; if ('function' != typeof _em0 && null !== _em0) throw new TypeError('Class extends value ' + String(_em0) + ' is not a constructor or null'); function _em2() { var _em3 = null; this.constructor = _elz; } _eln(_elz, _em0), _elz.prototype = null === _em0 ? Object.create(_em0) : (_em2.prototype = _em0.prototype, new _em2()); }), _em4 = this && this.__importDefault || function(_em5) { var _em6 = null; return _em5 && _em5.__esModule ? _em5 : { 'default': _em5 }; }; defineModule(_elk); Object.defineProperty(_elk, '__esModule', { 'value': !0 }), _elk.Option = void 0; var _em7 = _em4(_ell(18622)), _em8 = _ell(35380), _em9 = _ell(13748), _ema = _ell(87475), _emb = _ell(70723), _emc = _ell(37247), _emd = _ell(89892), _eme = function(_emf) { var _emg = null; function _emh() { var _emi = null, _emj = _emf.call(this) || this; return _emj._opened = !1, _emj._close_complete = function() { var _emk = null; _emj._bg.hide(600, function() { var _eml = null; _emj._bg.visible = !1, _emj._optionLayer.visible = !1, _emj._opened = !1; }), createjs.Tween.get(_emj._optionLayer).wait(100).to({ 'x': 1164, 'y': 642 }, 200), createjs.Tween.get(_emj._optionLayer).wait(200).to({ 'alpha': 0 }, 100); }, _emj.changeTab = function(_emm) { var _emn = null; if (_emj._nowTab != _emm) switch (_emj._nowTab = _emm, _emj._nowTab) { case 0: _emj._sound.visible = !0, _emj._interface.visible = !1, _emj._tabIcon.position.set(77, 16), _emj._tabSound.texture = _emc.PORT_OPTION.getTexture(15), _emj._tabSound.position.set(36, 0), _emj._txtSound.position.set(98, 19), _emj._tabInterface.texture = _emc.PORT_OPTION.getTexture(13), _emj._tabInterface.position.set(209, 12), _emj._txtInterface.position.set(241, 24); break; case 1: _emj._sound.visible = !1, _emj._interface.visible = !0, _emj._tabIcon.position.set(223, 16), _emj._interface.setSkinID(_em7.default.model.basic.getUISkinID()), _emj._tabSound.texture = _emc.PORT_OPTION.getTexture(13), _emj._tabSound.position.set(36, 12), _emj._txtSound.position.set(94, 24), _emj._tabInterface.texture = _emc.PORT_OPTION.getTexture(15), _emj._tabInterface.position.set(209, 0), _emj._txtInterface.position.set(245, 19); } }, _emj._onClick = function() { var _emo = null; 0 == _emj._bg.isNowAnimation() && (1 == _emj._opened ? _emj._close() : 0 == _emj._opened && _emj._open()); }, _emj._nowTab = 0, _emj._optionLayer = new PIXI.Container(), _emj._optionLayer.position.set(1164, 642), _emj._optionLayer.visible = !1, _emj._optionBg = new PIXI.Sprite(), _emj._tabSide = new PIXI.Sprite(), _emj._tabIcon = new PIXI.Sprite(), _emj._tabSound = new PIXI.Sprite(), _emj._txtSound = new PIXI.Sprite(), _emj._tabInterface = new PIXI.Sprite(), _emj._txtInterface = new PIXI.Sprite(), _emj._tabSound.interactive = _emj._tabSound.buttonMode = !0, _emj._tabInterface.interactive = _emj._tabInterface.buttonMode = !0, _emj._tabSound.on(_em8.EventType.CLICK, function() { var _emp = null; _emj.changeTab(0); }), _emj._tabInterface.on(_em8.EventType.CLICK, function() { var _emq = null; _emj.changeTab(1); }), _emj._bg = new _ema.FadeBox(0.5), _emj._bg.hide(), _emj._bg.visible = !1, _emj._btn = new PIXI.Sprite(), _emj._btn.position.set(1131, 645), _emj._sound = new _emr(), _emj._sound.visible = !0, _emj._interface = new _ems(), _emj._interface.visible = !1, _emj._optionLayer.addChild(_emj._optionBg), _emj._optionLayer.addChild(_emj._tabSide, _emj._tabSound, _emj._tabInterface, _emj._txtSound, _emj._txtInterface, _emj._tabIcon), _emj._optionLayer.addChild(_emj._sound), _emj._optionLayer.addChild(_emj._interface), _emj.addChild(_emj._bg, _emj._optionLayer, _emj._btn), _emj; } return _elo(_emh, _emf), _emh.prototype.initialize = function() { var _emt = null; this._sound.initialize(), this._interface.initialize(), this._btn.texture = _emc.PORT_OPTION.getTexture(3), this._optionBg.texture = _emc.PORT_OPTION.getTexture(12), this._tabSide.texture = _emc.PORT_OPTION.getTexture(14), this._tabIcon.texture = _emc.PORT_OPTION.getTexture(2), this._tabSound.texture = _emc.PORT_OPTION.getTexture(15), this._tabInterface.texture = _emc.PORT_OPTION.getTexture(13), this._txtSound.texture = _emc.PORT_OPTION.getTexture(28), this._txtInterface.texture = _emc.PORT_OPTION.getTexture(27), this._tabSide.position.set(2, 12), this._tabIcon.position.set(77, 16), this._optionBg.position.set(2, 55), this._tabSound.position.set(36, 0), this._txtSound.position.set(98, 19), this._tabInterface.position.set(209, 12), this._txtInterface.position.set(241, 24), this._btn.interactive = this._btn.buttonMode = !0, this._btn.on(_em8.EventType.CLICK, this._onClick); }, _emh.prototype.dispose = function() { var _emu = null; this._btn.interactive = this._btn.buttonMode = !1, this._btn.off(_em8.EventType.CLICK, this._onClick), this.removeChildren(), this._bg.destroy(), this._bg = null, this._sound.dispose(), this._sound = null, this._interface.dispose(), this._interface = null, this._btn.destroy(), this._btn = null, this._optionBg.destroy(), this._optionBg = null, this._optionLayer.removeChildren(), this._optionLayer = null, this._tabSide.destroy(), this._tabSide = null, this._tabIcon.destroy(), this._tabIcon = null, this._tabSound.destroy(), this._tabSound = null, this._tabInterface.destroy(), this._tabInterface = null, this._txtSound.destroy(), this._txtSound = null, this._txtInterface.destroy(), this._txtInterface = null; }, _emh.prototype._open = function() { var _emv = null, _emw = this; this._start_bgm_volume = _em7.default.option.vol_bgm, this._sound.setState(this._start_bgm_volume), this.changeTab(0), this._base_skinID = _em7.default.model.basic.getUISkinID(), this._bg.visible = !0, this._bg.show(600, function() { var _emx = null; _emw._opened = !0; }), this._optionLayer.alpha = 0, this._optionLayer.visible = !0, createjs.Tween.get(this._optionLayer).wait(100).to({ 'x': 782, 'y': 202 }, 200), createjs.Tween.get(this._optionLayer).wait(200).to({ 'alpha': 1 }, 100).call(function() { var _emy = null; _em7.default.view.portMain.closeLogBox(); }); }, _emh.prototype._close = function() { var _emz = null; this._close_pre(); }, _emh.prototype._close_pre = function() { var _en0 = null, _en1 = this, _en2 = this._sound.slider_bgm.value; _em7.default.option.vol_bgm = _en2, _em7.default.option.vol_se = this._sound.slider_se.value, _em7.default.option.vol_voice = this._sound.slider_voice.value, _em7.default.option.voice_be_left = this._sound.toggle1.value, _em7.default.option.voice_duty = this._sound.toggle2.value, _em7.default.option.save(), 0 == this._start_bgm_volume && _en2 > 0 ? _em7.default.sound.bgm.play(_em7.default.sound.bgm.bgm_id) : this._start_bgm_volume > 0 && 0 == _en2 && _em7.default.sound.bgm.stop(); var _en3 = _em7.default.model.basic.getUISkinID(); this._base_skinID != _en3 ? new _emd.SetSkinAPI(_en3).start(function() { var _en4 = null; _en1._close_complete(); }) : this._close_complete(); }, _emh; }(PIXI.Container); _elk.Option = _eme; var _emr = function(_en5) { var _en6 = null; function _en7() { var _en8 = null, _en9 = _en5.call(this) || this; return _en9._text = new PIXI.Sprite(), _en9._txtBgm = new PIXI.Sprite(), _en9._txtSe = new PIXI.Sprite(), _en9._txtVoice = new PIXI.Sprite(), _en9._txtToggle1 = new PIXI.Sprite(), _en9._txtToggle2 = new PIXI.Sprite(), _en9._slider_bgm = new _ena(), _en9._slider_bgm.position.set(79, 164), _en9._slider_se = new _enb(), _en9._slider_se.position.set(79, 257), _en9._slider_voice = new _enb(), _en9._slider_voice.position.set(79, 351), _en9._toggle1 = new _enc(), _en9._toggle1.position.set(90, 398), _en9._toggle2 = new _enc(), _en9._toggle2.position.set(255, 398), _en9.addChild(_en9._text), _en9.addChild(_en9._txtBgm), _en9.addChild(_en9._txtSe), _en9.addChild(_en9._txtVoice), _en9.addChild(_en9._txtToggle1), _en9.addChild(_en9._txtToggle2), _en9.addChild(_en9._slider_bgm), _en9.addChild(_en9._slider_se), _en9.addChild(_en9._slider_voice), _en9.addChild(_en9._toggle1), _en9.addChild(_en9._toggle2), _en9; } return _elo(_en7, _en5), Object.defineProperty(_en7.prototype, 'slider_bgm', { 'get': function() { var _end = null; return this._slider_bgm; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_en7.prototype, 'slider_se', { 'get': function() { var _ene = null; return this._slider_se; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_en7.prototype, 'slider_voice', { 'get': function() { var _enf = null; return this._slider_voice; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_en7.prototype, 'toggle1', { 'get': function() { var _eng = null; return this._toggle1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_en7.prototype, 'toggle2', { 'get': function() { var _enh = null; return this._toggle2; }, 'enumerable': !1, 'configurable': !0 }), _en7.prototype.initialize = function() { var _eni = null; this._text.texture = _emc.PORT_OPTION.getTexture(16), this._txtBgm.texture = _emc.PORT_OPTION.getTexture(19), this._txtSe.texture = _emc.PORT_OPTION.getTexture(21), this._txtVoice.texture = _emc.PORT_OPTION.getTexture(24), this._txtToggle1.texture = _emc.PORT_OPTION.getTexture(25), this._txtToggle2.texture = _emc.PORT_OPTION.getTexture(26), this._text.position.set(142, 72), this._txtBgm.position.set(80, 124), this._txtSe.position.set(80, 217), this._txtVoice.position.set(80, 311), this._txtToggle1.position.set(38, 398), this._txtToggle2.position.set(198, 398), this._slider_bgm.initialize(), this._slider_se.initialize(), this._slider_voice.initialize(), this._toggle1.initialize(), this._toggle2.initialize(); }, _en7.prototype.dispose = function() { var _enj = null; this.removeChildren(), this._text.destroy(), this._text = null, this._txtBgm.destroy(), this._txtBgm = null, this._txtSe.destroy(), this._txtSe = null, this._txtVoice.destroy(), this._txtVoice = null, this._txtToggle1.destroy(), this._txtToggle1 = null, this._txtToggle2.destroy(), this._txtToggle2 = null, this._slider_bgm.dispose(), this._slider_bgm = null, this._slider_se.dispose(), this._slider_se = null, this._slider_voice.dispose(), this._slider_voice = null, this._toggle1.dispose(), this._toggle1 = null, this._toggle2.dispose(), this._toggle2 = null; }, _en7.prototype.setState = function(_enk) { var _enl = null; this._slider_bgm.value = _enk, null == this._slider_bgm.temp_value && (this._slider_bgm.temp_value = _enk), this._slider_se.value = _em7.default.option.vol_se, null == this._slider_se.temp_value && (this._slider_se.temp_value = _em7.default.option.vol_se), this._slider_voice.value = _em7.default.option.vol_voice, null == this._slider_voice.temp_value && (this._slider_voice.temp_value = _em7.default.option.vol_voice), this._toggle1.value = _em7.default.option.voice_be_left, this._toggle2.value = _em7.default.option.voice_duty; }, _en7; }(PIXI.Container), _ems = function(_enm) { var _enn = null; function _eno() { var _enp = null, _enq = _enm.call(this) || this; _enq.setSkinID = function(_enr) { var _ens = null; _enq._skinID = _enr, _enq._selector.x = 51, _enq._selector.y = _enq._getY(_enr); }, _enq._onChangeSkin = function() { var _ent = null; if (_em7.default.model.basic.getUISkinID() != _enq._skinID) { _emb.SE.play('204'), _em7.default.view.loading.show(); var _enu = new _em9.UIImageLoader('port'); 101 == _enq._skinID || 102 == _enq._skinID ? _enu.add('port_skin_1.json') : 201 == _enq._skinID ? (_enu.add('port_skin_2.json'), _enu.add('port_skin_circle_2.json')) : 301 == _enq._skinID ? (_enu.add('port_skin_3.json'), _enu.add('port_skin_circle_2.json')) : 311 == _enq._skinID && _enu.add('port_skin_3k.json'), _enu.load(function() { var _env = null; _em7.default.model.basic.setUISkinID(_enq._skinID), _em7.default.view.portMain.changeSkin(_enq._skinID), _em7.default.view.loading.hide(); }); } }, _enq._selector_bg = new PIXI.Sprite(), _enq._selector_bg.position.set(48, 92), _enq._selector = new PIXI.Sprite(), _enq._selector.position.set(0), _enq.btn = new PIXI.Sprite(), _enq.btn.position.set(27, 417), _enq.btn.interactive = _enq.btn.buttonMode = !0, _enq.btn.on(_em8.EventType.MOUSEOVER, function() { var _enw = null; _enq.btn.texture = _emc.PORT_OPTION.getTexture(1); }), _enq.btn.on(_em8.EventType.MOUSEOUT, function() { var _enx = null; _enq.btn.texture = _emc.PORT_OPTION.getTexture(0); }), _enq.btn.on(_em8.EventType.CLICK, function() { var _eny = null; _enq._onChangeSkin(); }), _enq.type1 = new PIXI.Sprite(), _enq.type2 = new PIXI.Sprite(), _enq.type3 = new PIXI.Sprite(), _enq.type4 = new PIXI.Sprite(), _enq.type5 = new PIXI.Sprite(), _enq.type1.position.set(98, 92), _enq.type2.position.set(98, 140), _enq.type3.position.set(98, 188), _enq.type4.position.set(98, 234), _enq.type5.position.set(98, 280); for (var _enz = [101, 102, 201, 301, 311], _eo0 = [], _eo1 = function(_eo2) { var _eo3 = null, _eo4 = new PIXI.Graphics(); _eo4.beginFill(16777215, 0), _eo4.drawRect(0, 0, 28, 28), _eo4.endFill(), _eo4.position.x = 51, _eo4.position.y = _eo5._getY(_enz[_eo2]), _eo4.interactive = _eo4.buttonMode = !0, _eo4.on(_em8.EventType.CLICK, function() { var _eo6 = null; _emb.SE.play('246'), _enq.setSkinID(_enz[_eo2]); }), _eo0.push(_eo4); }, _eo5 = this, _eo7 = 0; _eo7 < _enz.length; _eo7++) _eo1(_eo7); return _enq.addChild(_enq._selector_bg, _enq._selector, _enq.btn, _enq.type1, _enq.type2, _enq.type3, _enq.type4, _enq.type5), _eo0.forEach(function(_eo8) { var _eo9 = null; _enq.addChild(_eo8); }), _enq; } return _elo(_eno, _enm), _eno.prototype.initialize = function() { var _eoa = null; this._selector_bg.texture = _emc.PORT_OPTION.getTexture(8), this._selector.texture = _emc.PORT_OPTION.getTexture(7), this.btn.texture = _emc.PORT_OPTION.getTexture(0), this.type1.texture = _emc.PORT_OPTION.getTexture(17), this.type2.texture = _emc.PORT_OPTION.getTexture(18), this.type3.texture = _emc.PORT_OPTION.getTexture(20), this.type4.texture = _emc.PORT_OPTION.getTexture(22), this.type5.texture = _emc.PORT_OPTION.getTexture(23); }, _eno.prototype._getY = function(_eob) { switch (_eob) { case 101: return 93; case 102: return 140; case 201: return 188; case 301: return 234; case 311: return 281; } return 0; }, _eno.prototype.dispose = function() { var _eoc = null; this.removeChildren(), this._selector_bg.destroy(), this._selector_bg = null, this._selector.destroy(), this._selector = null, this.type1.destroy(), this.type1 = null, this.type2.destroy(), this.type2 = null, this.type3.destroy(), this.type3 = null, this.type4.destroy(), this.type4 = null, this.type5.destroy(), this.type5 = null, this.btn.destroy(), this.btn = null; }, _eno; }(PIXI.Container), _enb = function(_eod) { var _eoe = null; function _eof() { var _eog = null, _eoh = _eod.call(this) || this; return _eoh._MIN_XPOS = 9, _eoh._MAX_XPOS = 252, _eoh._dragging = !1, _eoh._value = 0, _eoh._onBarClick = function(_eoi) { var _eoj = null, _eok = _eoi.data.getLocalPosition(_eoh); _eoh.value = (_eok.x - _eoh._MIN_XPOS) / _eoh._dragging_range * 100, _eoh.value > 0 && (_eoh.temp_value = _eoh.value); }, _eoh._onMouseDown = function() { var _eol = null; 1 != _eoh._dragging && (_eoh.value > 0 && (_eoh.temp_value = _eoh.value), _eoh._dragging = !0); }, _eoh._onMouseMove = function(_eom) { var _eon = null; if (1 == _eoh._dragging) { var _eoo = _eom.data.getLocalPosition(_eoh); _eoh.value = (_eoo.x - _eoh._MIN_XPOS) / _eoh._dragging_range * 100; } }, _eoh._onMouseUp = function() { var _eop = null; _eoh._dragging = !1, _eoh.value > 0 && (_eoh.temp_value = _eoh.value); }, _eoh._onClick = function() { var _eoq = null; _eoh.value = _eoh.value > 0 ? 0 : _eoh.temp_value; }, _eoh._bg = new PIXI.Sprite(), _eoh._maskGra = new PIXI.Graphics(), _eoh._maskGra.beginFill(0), _eoh._maskGra.drawRect(0, 0, 258, 12), _eoh._maskGra.endFill(), _eoh._maskGra.position.set(0, 0), _eoh._bar = new PIXI.Sprite(), _eoh._bar.position.set(3, 2), _eoh._bar.mask = _eoh._maskGra, _eoh._volume_container = new PIXI.Container(), _eoh._vol = new PIXI.Sprite(), _eoh._vol.position.set(-41, -6), _eoh._vol_mute = new PIXI.Sprite(), _eoh._vol_mute.position.set(-39, -9), _eoh._thumb = new PIXI.Sprite(), _eoh._thumb.anchor.set(0.5, 0.5), _eoh._volume_container.addChild(_eoh._vol), _eoh._volume_container.addChild(_eoh._vol_mute), _eoh.addChild(_eoh._bg), _eoh.addChild(_eoh._bar), _eoh.addChild(_eoh._maskGra), _eoh.addChild(_eoh._volume_container), _eoh.addChild(_eoh._thumb), _eoh; } return _elo(_eof, _eod), Object.defineProperty(_eof.prototype, '_dragging_range', { 'get': function() { var _eor = null; return this._MAX_XPOS - this._MIN_XPOS; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_eof.prototype, 'value', { 'get': function() { var _eos = null; return this._value; }, 'set': function(_eot) { var _eou = null; this._updateValue(_eot); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_eof.prototype, 'temp_value', { 'get': function() { var _eov = null; return this._temp_value; }, 'set': function(_eow) { var _eox = null; this._temp_value = _eow; }, 'enumerable': !1, 'configurable': !0 }), _eof.prototype.initialize = function() { var _eoy = null; this._bg.texture = _emc.PORT_OPTION.getTexture(29), this._bar.texture = _emc.PORT_OPTION.getTexture(30), this._vol.texture = _emc.PORT_OPTION.getTexture(5), this._vol_mute.texture = _emc.PORT_OPTION.getTexture(6), this._thumb.texture = _emc.PORT_OPTION.getTexture(9), this._bg.interactive = this._bg.buttonMode = !0, this._bg.on(_em8.EventType.CLICK, this._onBarClick), this._thumb.interactive = this._thumb.buttonMode = !0, this._thumb.on(_em8.EventType.MOUSEDOWN, this._onMouseDown), this._thumb.on(_em8.EventType.MOUSEMOVE, this._onMouseMove), this._thumb.on(_em8.EventType.MOUSEUP, this._onMouseUp), this._thumb.on('pointerupoutside', this._onMouseUp), this._volume_container.interactive = this._volume_container.buttonMode = !0, this._volume_container.on(_em8.EventType.CLICK, this._onClick); }, _eof.prototype.dispose = function() { var _eoz = null; this.removeChildren(), this._bg.interactive = this._bg.buttonMode = !1, this._bg.off(_em8.EventType.CLICK, this._onBarClick), this._bg.destroy(), this._bg = null, this._bar.destroy(), this._bar = null, this._maskGra.destroy(), this._maskGra = null, this._vol.destroy(), this._vol = null, this._vol_mute.destroy(), this._vol_mute = null, this._thumb.interactive = this._thumb.buttonMode = !1, this._thumb.off(_em8.EventType.MOUSEDOWN, this._onMouseDown), this._thumb.off(_em8.EventType.MOUSEMOVE, this._onMouseMove), this._thumb.off(_em8.EventType.MOUSEUP, this._onMouseUp), this._thumb.off('pointerupoutside', this._onMouseUp), this._thumb.destroy(), this._thumb = null, this._volume_container.interactive = this._volume_container.buttonMode = !1, this._volume_container.off(_em8.EventType.CLICK, this._onClick), this._volume_container.removeChildren(), this._volume_container = null; }, _eof.prototype._updateValue = function(_ep0) { var _ep1 = null; _ep0 = Math.max(0, _ep0), _ep0 = Math.min(100, _ep0), this._value = _ep0, this._maskGra.scale.set(_ep0 / 100, 1), this._updateVolIcon(), this._updateThumbPos(); }, _eof.prototype._updateVolIcon = function() { var _ep2 = null; this._vol_mute.visible = this.value <= 0; }, _eof.prototype._updateThumbPos = function() { var _ep3 = null, _ep4 = this.value / 100; this._thumb.position.set(this._MIN_XPOS + this._dragging_range * _ep4, 8); }, _eof; }(PIXI.Container), _ena = function(_ep5) { var _ep6 = null; function _ep7() { var _ep8 = null; return _ep5.call(this) || this; } return _elo(_ep7, _ep5), _ep7.prototype._updateValue = function(_ep9) { var _epa = null; _ep5.prototype._updateValue.call(this, _ep9), _em7.default.sound.bgm.changeVolume(this.value); }, _ep7; }(_enb), _enc = function(_epb) { var _epc = null; function _epd() { var _epe = null, _epf = _epb.call(this) || this; return _epf._OFF_XPOS = 74, _epf._ON_XPOS = 18, _epf._value = !1, _epf._onClick = function() { var _epg = null; if (null == _epf._t) { _epf._value = !_epf.value; var _eph = _epf.value ? _epf._ON_XPOS : _epf._OFF_XPOS; _epf._t = createjs.Tween.get(_epf._thumb).to({ 'x': _eph }, 200).call(function() { var _epi = null; _epf._t = null, _epf._updateBG(); }); } }, _epf._bg = new PIXI.Sprite(), _epf._thumb = new PIXI.Sprite(), _epf._thumb.anchor.set(0.5, 0.5), _epf._thumb.y = 19, _epf.addChild(_epf._bg), _epf.addChild(_epf._thumb), _epf; } return _elo(_epd, _epb), Object.defineProperty(_epd.prototype, 'value', { 'get': function() { var _epj = null; return this._value; }, 'set': function(_epk) { var _epl = null; this._value = _epk, this._updateBG(); }, 'enumerable': !1, 'configurable': !0 }), _epd.prototype.initialize = function() { var _epm = null; this._thumb.texture = _emc.PORT_OPTION.getTexture(9), this._updateBG(), this.interactive = this.buttonMode = !0, this.on(_em8.EventType.CLICK, this._onClick); }, _epd.prototype.dispose = function() { var _epn = null; this.interactive = this.buttonMode = !1, this.off(_em8.EventType.CLICK, this._onClick); }, _epd.prototype._updateBG = function() { var _epo = null; 1 == this.value ? this._bg.texture = _emc.PORT_OPTION.getTexture(11) : this._bg.texture = _emc.PORT_OPTION.getTexture(10), this._thumb.x = this.value ? this._ON_XPOS : this._OFF_XPOS; }, _epd; }(PIXI.Container); }, 72508: function(_epp, _epq, _epr) { 'use strict'; var _eps = null; var _ept, _epu = this && this.__extends || (_ept = function(_epv, _epw) { var _epx = null; return _ept = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_epy, _epz) { var _eq0 = null; _epy.__proto__ = _epz; } || function(_eq1, _eq2) { var _eq3 = null; for (var _eq4 in _eq2) Object.prototype.hasOwnProperty.call(_eq2, _eq4) && (_eq1[_eq4] = _eq2[_eq4]); }, _ept(_epv, _epw); }, function(_eq5, _eq6) { var _eq7 = null; if ('function' != typeof _eq6 && null !== _eq6) throw new TypeError('Class extends value ' + String(_eq6) + ' is not a constructor or null'); function _eq8() { var _eq9 = null; this.constructor = _eq5; } _ept(_eq5, _eq6), _eq5.prototype = null === _eq6 ? Object.create(_eq6) : (_eq8.prototype = _eq6.prototype, new _eq8()); }), _eqa = this && this.__importDefault || function(_eqb) { var _eqc = null; return _eqb && _eqb.__esModule ? _eqb : { 'default': _eqb }; }; defineModule(_epq); Object.defineProperty(_epq, '__esModule', { 'value': !0 }), _epq.SideMenu = void 0; var _eqd = _eqa(_epr(18622)), _eqe = _epr(70723), _eqf = _epr(45420), _eqg = _epr(35380), _eqh = function(_eqi) { var _eqj = null; function _eqk() { var _eql = null, _eqm = _eqi.call(this) || this; return _eqm._current = null, _eqm._onClickCrane = function() { var _eqn = null; if (31 != _eqm._current) { var _eqo = _eqd.default.model.deck.get(1).getShipModel(0).mstID; 182 != _eqo && 187 != _eqo || _eqm._callbackBtnClick(31); } }, _eqm._callbackBtnClick = function(_eqp) { var _eqq = null; _eqd.default.scene.change(_eqp) && (_eqm._btn_port.buttonMode = !1, _eqm._btn_organize.buttonMode = !1, _eqm._btn_supply.buttonMode = !1, _eqm._btn_remodel.buttonMode = !1, _eqm._btn_repair.buttonMode = !1, _eqm._btn_arsenal.buttonMode = !1, 0 == _eqp ? _eqe.SE.play('245') : _eqe.SE.play('246')); }, _eqm._btn_port = new _eqr(0, 7, 8), _eqm._btn_port.position.set(75, 329), _eqm._btn_organize = new _eqr(11, 5, 6), _eqm._btn_organize.y = 194, _eqm._btn_supply = new _eqr(12, 13, 14), _eqm._btn_supply.y = 275, _eqm._btn_remodel = new _eqr(13, 9, 10), _eqm._btn_remodel.y = 356, _eqm._btn_repair = new _eqr(14, 11, 12), _eqm._btn_repair.y = 439, _eqm._btn_arsenal = new _eqr(15, 3, 4), _eqm._btn_arsenal.y = 517, _eqm._hook = new PIXI.Sprite(), _eqm._crane = new _eqs(), _eqm._crane.y = 591, _eqm; } return _epu(_eqk, _eqi), Object.defineProperty(_eqk.prototype, 'crane', { 'get': function() { var _eqt = null; return this._crane; }, 'enumerable': !1, 'configurable': !0 }), _eqk.prototype.initialize = function() { var _equ = null, _eqv = new PIXI.Sprite(_eqf.PORT_SIDEMENU.getTexture(0)); _eqv.y = 183; var _eqw = new PIXI.Sprite(_eqf.PORT_SIDEMENU.getTexture(1)); _eqw.y = 209; var _eqx = new PIXI.Sprite(_eqf.PORT_SIDEMENU.getTexture(2)); _eqx.position.set(75, 209), this._btn_port.initialize(this._callbackBtnClick), this._btn_organize.initialize(this._callbackBtnClick), this._btn_supply.initialize(this._callbackBtnClick), this._btn_remodel.initialize(this._callbackBtnClick), this._btn_repair.initialize(this._callbackBtnClick), this._btn_arsenal.initialize(this._callbackBtnClick), this._hook.texture = _eqf.PORT_SIDEMENU.getTexture(26), this._hook.anchor.set(1, 0.5), this._hook.position.set(90, this._btn_port.y + this._btn_port.height / 2), this._crane.initialize(), this.addChild(this._crane), this.addChild(_eqv), this.addChild(_eqw), this.addChild(this._hook), this.addChild(_eqx), this.addChild(this._btn_organize), this.addChild(this._btn_supply), this.addChild(this._btn_remodel), this.addChild(this._btn_repair), this.addChild(this._btn_arsenal), this.addChild(this._btn_port), this._crane.interactive = this._crane.buttonMode = !0, this._crane.on(_eqg.EventType.CLICK, this._onClickCrane); }, _eqk.prototype.dispose = function() { var _eqy = null; this.removeChildren(), this._btn_port.dispose(), this._btn_port = null, this._btn_organize.dispose(), this._btn_organize = null, this._btn_supply.dispose(), this._btn_supply = null, this._btn_remodel.dispose(), this._btn_remodel = null, this._btn_repair.dispose(), this._btn_repair = null, this._btn_arsenal.dispose(), this._btn_arsenal = null, this._hook.destroy(), this._hook = null, this._crane.dispose(), this._crane.off(_eqg.EventType.CLICK, this._onClickCrane); }, _eqk.prototype.startAnimation = function(_eqz) { var _er0 = null, _er1 = this; if (this._deactiveBtn(this._current), this._btn_port.deactivate(), 11 == _eqz || 12 == _eqz || 13 == _eqz || 14 == _eqz || 15 == _eqz) { this.visible = !0; var _er2 = this._getButton(_eqz); null == this._current ? (this._hook.position.set(84, _er2.y + _er2.height / 2), _er2.activate(), this._updateBtnState(_eqz), this._current = _eqz) : (this._current = _eqz, createjs.Tween.get(this._hook).to({ 'x': 90 }, 200).to({ 'y': _er2.y + _er2.height / 2 }, 200).to({ 'x': 78 }, 200).to({ 'x': 84 }, 100).call(function() { var _er3 = null; _er2.activate(), _er1._updateBtnState(_eqz); })); } else { if (16 != _eqz && 31 != _eqz) return this._current = null, void(this.visible = !1); this.visible = !0, null == this._current ? (this._hook.position.set(90, this._btn_port.y + this._btn_port.height / 2), this._updateBtnState(_eqz), this._current = _eqz, 31 == _eqz && this._crane.startAnimation()) : (this._current = _eqz, 31 == _eqz && this._crane.startAnimation(), createjs.Tween.get(this._hook).to({ 'x': 90 }, 200).to({ 'y': this._btn_port.y + this._btn_port.height / 2 }, 200).call(function() { var _er4 = null; _er1._updateBtnState(_eqz); })); } }, _eqk.prototype._updateBtnState = function(_er5) { var _er6 = null; this._btn_port.buttonMode = !0, this._btn_organize.buttonMode = 11 != _er5, this._btn_supply.buttonMode = 12 != _er5, this._btn_remodel.buttonMode = 13 != _er5, this._btn_repair.buttonMode = 14 != _er5, this._btn_arsenal.buttonMode = 15 != _er5; }, _eqk.prototype._deactiveBtn = function(_er7) { var _er8 = null; if (null != _er7) { var _er9 = this._getButton(_er7); null != _er9 && _er9.deactivate(); } }, _eqk.prototype._getButton = function(_era) { var _erb = null; return 11 == _era ? this._btn_organize : 12 == _era ? this._btn_supply : 13 == _era ? this._btn_remodel : 14 == _era ? this._btn_repair : 15 == _era ? this._btn_arsenal : null; }, _eqk; }(PIXI.Container); _epq.SideMenu = _eqh; var _eqr = function(_erc) { var _erd = null; function _ere(_erf, _erg, _erh) { var _eri = null, _erj = _erc.call(this) || this; return _erj._onMouseOn = function() { var _erk = null; 1 == _erj.buttonMode && (_erj.texture = _eqf.PORT_SIDEMENU.getTexture(_erj._texture_no_on)); }, _erj._onMouseOut = function() { var _erl = null; 1 == _erj.buttonMode && (_erj.texture = _eqf.PORT_SIDEMENU.getTexture(_erj._texture_no)); }, _erj._onClick = function() { var _erm = null; 1 == _erj.buttonMode && _erj._click_cb(_erj._type); }, _erj._type = _erf, _erj._texture_no = _erg, _erj._texture_no_on = _erh, _erj; } return _epu(_ere, _erc), _ere.prototype.initialize = function(_ern) { var _ero = null; this._click_cb = _ern, this.texture = _eqf.PORT_SIDEMENU.getTexture(this._texture_no), this.interactive = !0, this.buttonMode = !0, this.on(_eqg.EventType.MOUSEOVER, this._onMouseOn), this.on(_eqg.EventType.MOUSEOUT, this._onMouseOut), this.on(_eqg.EventType.CLICK, this._onClick); }, _ere.prototype.dispose = function() { var _erp = null; this._click_cb = null, this.interactive = !1, this.buttonMode = !1, this.off(_eqg.EventType.MOUSEOVER, this._onMouseOn), this.off(_eqg.EventType.MOUSEOUT, this._onMouseOut), this.off(_eqg.EventType.CLICK, this._onClick), this.destroy(); }, _ere.prototype.activate = function() { var _erq = null; 0 != this._type && (this.x = 8), this.texture = _eqf.PORT_SIDEMENU.getTexture(this._texture_no_on); }, _ere.prototype.deactivate = function() { var _err = null; 0 != this._type && (this.x = 0), this.texture = _eqf.PORT_SIDEMENU.getTexture(this._texture_no); }, _ere; }(PIXI.Sprite), _eqs = function(_ers) { var _ert = null; function _eru() { var _erv = null, _erw = _ers.call(this) || this; return _erw._tween = null, _erw._setTexture = function(_erx) { var _ery = null; _erw._crane.texture = _eqf.PORT_SIDEMENU.getTexture(_erx); }, _erw; } return _epu(_eru, _ers), _eru.prototype.initialize = function() { var _erz = null, _es0 = new PIXI.Sprite(_eqf.PORT_SIDEMENU.getTexture(25)); this.addChild(_es0), this._crane = new PIXI.Sprite(_eqf.PORT_SIDEMENU.getTexture(15)), this.addChild(this._crane); }, _eru.prototype.dispose = function() { var _es1 = null; null != this._tween && (this._tween.setPaused(!0), this._tween = null), this._crane.destroy(), this._crane = null; }, _eru.prototype.startAnimation = function() { var _es2 = null, _es3 = this; null == this._tween && (this._tween = createjs.Tween.get(this).wait(800).call(this._setTexture, [16]).wait(100).call(this._setTexture, [17]).wait(100).call(this._setTexture, [18]).wait(100).call(this._setTexture, [19]).wait(1500).call(this._setTexture, [20]).wait(100).call(this._setTexture, [21]).wait(100).call(this._setTexture, [22]).wait(100).call(this._setTexture, [23]).wait(100).call(this._setTexture, [24]).wait(1000).call(this._setTexture, [23]).wait(100).call(this._setTexture, [22]).wait(100).call(this._setTexture, [21]).wait(100).call(this._setTexture, [20]).wait(100).call(this._setTexture, [19]).wait(500).call(this._setTexture, [18]).wait(100).call(this._setTexture, [17]).wait(100).call(this._setTexture, [16]).wait(100).call(this._setTexture, [15]).wait(500).call(function() { var _es4 = null; _es3._tween = null; })); }, _eru; }(PIXI.Container); }, 12518: function(_es5, _es6, _es7) { 'use strict'; var _es8 = null; var _es9, _esa = this && this.__extends || (_es9 = function(_esb, _esc) { var _esd = null; return _es9 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ese, _esf) { var _esg = null; _ese.__proto__ = _esf; } || function(_esh, _esi) { var _esj = null; for (var _esk in _esi) Object.prototype.hasOwnProperty.call(_esi, _esk) && (_esh[_esk] = _esi[_esk]); }, _es9(_esb, _esc); }, function(_esl, _esm) { var _esn = null; if ('function' != typeof _esm && null !== _esm) throw new TypeError('Class extends value ' + String(_esm) + ' is not a constructor or null'); function _eso() { var _esp = null; this.constructor = _esl; } _es9(_esl, _esm), _esl.prototype = null === _esm ? Object.create(_esm) : (_eso.prototype = _esm.prototype, new _eso()); }); defineModule(_es6); Object.defineProperty(_es6, '__esModule', { 'value': !0 }), _es6.Tutorial = void 0; var _esq = _es7(35380), _esr = _es7(11997), _ess = _es7(79065), _est = function(_esu) { var _esv = null; function _esw(_esx) { var _esy = null; void 0 === _esx && (_esx = null); var _esz = _esu.call(this) || this; return _esz._closeCb = _esx, _esz._container = null, _esz._base = null, _esz._chara = null, _esz._arrow = null, _esz._back = null, _esz; } return _esa(_esw, _esu), _esw.prototype.initialize = function(_et0) { var _et1 = null; this._container = new PIXI.Container(), this._container.interactive = !0, this._container.buttonMode = !0, this._container.on(_esq.EventType.CLICK, this.fadeOut.bind(this, !1)), this._base = new PIXI.Sprite(), this._container.addChild(this._base), this._chara = new PIXI.Container(); var _et2 = new PIXI.Sprite(_ess.PORT_TUTORIAL.getTexture(1)); _et2.name = 'chara1'; var _et3 = new PIXI.Sprite(_ess.PORT_TUTORIAL.getTexture(2)); _et3.name = 'chara2', _et3.visible = !1, this._chara.addChild(_et2, _et3), this._container.addChild(this._chara), this._arrow = new PIXI.Sprite(_ess.PORT_TUTORIAL.getTexture(0)), this._container.addChild(this._arrow), this._back = new PIXI.Sprite(_esr.COMMON_MISC.getTexture(26)), this._back.anchor.set(0.5, 0), this._back.visible = !1, this._back.interactive = !0, this._back.buttonMode = !0, this._back.on(_esq.EventType.CLICK, this.fadeOut.bind(this, !0)), this.addChild(this._container, this._back), this.update(_et0), this.activate(); }, _esw.prototype.update = function(_et4) { var _et5 = null; return this.alpha = 1, _et4 < 10 ? this._tutorial1() : _et4 < 20 ? this._tutorial2() : _et4 < 30 ? this._tutorial3() : _et4 < 40 ? this._tutorial4() : _et4 < 50 ? this._tutorial5() : this._tutorial6(); }, _esw.prototype.fadeOut = function(_et6) { var _et7 = null, _et8 = this; void 0 === _et6 && (_et6 = !1), createjs.Tween.get(this).to({ 'alpha': 0 }, 300).call(function() { var _et9 = null; _et8.visible = !1, _et6 && null !== _et8._closeCb && _et8._closeCb(); }); }, _esw.prototype.activate = function() { var _eta = null, _etb = this; if (null !== this._chara && (this.deactivate(), this._tweenChara = createjs.Tween.get({}, { 'loop': !0 }).wait(500).call(function() { var _etc = null; for (var _etd = 0, _ete = _etb._chara.children.length; _etd < _ete; _etd++) { var _etf = _etb._chara.children[_etd], _etg = _etf.visible; _etf.visible = !_etg; } }), this._arrow.visible)) { this._tweenArrow = createjs.Tween.get(this._arrow, { 'loop': !0, 'paused': !0 }); var _eth = []; if ('up' === this._arrowAnimationAlign) { var _eti = this._arrow.y; _eth = [{ 'y': _eti - 18 }, { 'y': _eti }]; } else { var _etj = this._arrow.x; _eth = [{ 'x': _etj - 18 }, { 'x': _etj }]; } this._tweenArrow.wait(300).set(_eth[0]).wait(300).set(_eth[1]).setPaused(!1); } }, _esw.prototype.deactivate = function() { var _etk = null; this._tweenArrow && (this._tweenArrow.setPaused(!0), createjs.Tween.removeTweens(this._tweenArrow), this._tweenArrow = null), this._tweenChara && (this._tweenChara.setPaused(!0), createjs.Tween.removeTweens(this._tweenChara), this._tweenChara = null), this._chara.getChildByName('chara1').visible = !0, this._chara.getChildByName('chara2').visible = !1; }, _esw.prototype._tutorial1 = function() { var _etl = null; this._base.texture = _ess.PORT_TUTORIAL.getTexture(3), this._base.position.set(0, 43), this._chara.position.set(350, 0), this._arrow.position.set(-75, 110), this._arrow.rotation = 0, this._back.visible = !1, this.position.set(510, 370), this._arrowAnimationAlign = 'left'; }, _esw.prototype._tutorial2 = function() { var _etm = null; this._base.texture = _ess.PORT_TUTORIAL.getTexture(4), this._base.position.set(0, 43), this._chara.position.set(350, 0), this._arrow.position.set(-75, 110), this._arrow.rotation = 0, this._back.visible = !1, this.position.set(400, 36), this._arrowAnimationAlign = 'left'; }, _esw.prototype._tutorial3 = function() { var _etn = null; this._base.texture = _ess.PORT_TUTORIAL.getTexture(5), this._base.position.set(0, 43), this._chara.position.set(350, 0), this._arrow.position.set(384, -20), this._arrow.rotation = 90 * Math.PI / 180, this._back.visible = !1, this.position.set(508, 88), this._arrowAnimationAlign = 'up'; }, _esw.prototype._tutorial4 = function() { var _eto = null; this._base.texture = _ess.PORT_TUTORIAL.getTexture(6), this._base.position.set(0, 43), this._chara.position.set(350, 0), this._arrow.position.set(-75, 110), this._arrow.rotation = 0, this._back.visible = !1, this.position.set(437, 239), this._arrowAnimationAlign = 'left'; }, _esw.prototype._tutorial5 = function() { var _etp = null; this._base.texture = _ess.PORT_TUTORIAL.getTexture(7), this._base.position.set(0, 43), this._chara.position.set(350, 0), this._arrow.position.set(-75, 110), this._arrow.rotation = 0, this._back.visible = !1, this.position.set(220, 174), this._arrowAnimationAlign = 'left'; }, _esw.prototype._tutorial6 = function() { var _etq = null; this._base.texture = _ess.PORT_TUTORIAL.getTexture(8), this._base.position.set(0, 43), this._chara.position.set(750, 4), this._arrow.visible = !1, this._arrow.rotation = 0, this._back.visible = !0, this._back.position.set(Math.round(this._base.width / 2), this._base.height + 30), this.position.set(126, 212), this._arrowAnimationAlign = 'none', this._container.buttonMode = !1, this._container.removeAllListeners(_esq.EventType.CLICK); }, _esw.prototype.dispose = function() { var _etr = null; this.deactivate(), this._container.interactive = !1, this._container.buttonMode = !1, this._container.removeAllListeners(_esq.EventType.CLICK), this._back.interactive = !0, this._back.buttonMode = !0, this._back.removeAllListeners(_esq.EventType.CLICK), this.removeChildren(); }, _esw; }(PIXI.Container); _es6.Tutorial = _est; }, 54750: function(_ets, _ett, _etu) { 'use strict'; var _etv = null; var _etw, _etx = this && this.__extends || (_etw = function(_ety, _etz) { var _eu0 = null; return _etw = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_eu1, _eu2) { var _eu3 = null; _eu1.__proto__ = _eu2; } || function(_eu4, _eu5) { var _eu6 = null; for (var _eu7 in _eu5) Object.prototype.hasOwnProperty.call(_eu5, _eu7) && (_eu4[_eu7] = _eu5[_eu7]); }, _etw(_ety, _etz); }, function(_eu8, _eu9) { var _eua = null; if ('function' != typeof _eu9 && null !== _eu9) throw new TypeError('Class extends value ' + String(_eu9) + ' is not a constructor or null'); function _eub() { var _euc = null; this.constructor = _eu8; } _etw(_eu8, _eu9), _eu8.prototype = null === _eu9 ? Object.create(_eu9) : (_eub.prototype = _eu9.prototype, new _eub()); }); defineModule(_ett); Object.defineProperty(_ett, '__esModule', { 'value': !0 }), _ett.UpperBar = void 0; var _eud = _etu(71633), _eue = _etu(68028), _euf = _etu(89939), _eug = _etu(8744), _euh = _etu(4918), _eui = _etu(48351), _euj = _etu(3252), _euk = _etu(16896), _eul = _etu(11751), _eum = _etu(67079), _eun = function(_euo) { var _eup = null; function _euq() { var _eur = null, _eus = _euo.call(this) || this; return _eus._gear = new _eul.Gear(), _eus.addChild(_eus._gear), _eus._bg = new _eut(), _eus.addChild(_eus._bg), _eus._username = new _eug.TextBox(19, 16774898), _eus._username.position.set(175, 12), _eus.addChild(_eus._username), _eus._userlevel = new _eug.TextBox(21, 16774898), _eus.addChild(_eus._userlevel), _eus._userrank = new _eug.TextBox(18, 16774898), _eus.addChild(_eus._userrank), _eus._fleetnum = new _eug.TextBox(21, 16774898), _eus._fleetnum.position.set(837, 13), _eus.addChild(_eus._fleetnum), _eus._shipnum = new _euu(21, 16774898), _eus._shipnum.anchor.x = 1, _eus.addChild(_eus._shipnum), _eus._slotnum = new _euv(21, 16774898), _eus._slotnum.anchor.x = 1, _eus.addChild(_eus._slotnum), _eus._fuel = new _eug.TextBox(19, 16774898), _eus._fuel.anchor.x = 1, _eus._fuel.position.set(1092, 50), _eus.addChild(_eus._fuel), _eus._ammo = new _eug.TextBox(19, 16774898), _eus._ammo.anchor.x = 1, _eus._ammo.position.set(1092, 78), _eus.addChild(_eus._ammo), _eus._steel = new _eug.TextBox(19, 16774898), _eus._steel.anchor.x = 1, _eus._steel.position.set(1197, 50), _eus.addChild(_eus._steel), _eus._baux = new _eug.TextBox(19, 16774898), _eus._baux.anchor.x = 1, _eus._baux.position.set(1197, 78), _eus.addChild(_eus._baux), _eus._repairKit = new _eug.TextBox(21, 16774898), _eus._repairKit.anchor.x = 1, _eus.addChild(_eus._repairKit), _eus._devKit = new _eug.TextBox(21, 16774898), _eus._devKit.anchor.x = 1, _eus.addChild(_eus._devKit), _eus._revKit = new _eug.TextBox(21, 16774898), _eus._revKit.anchor.x = 1, _eus.addChild(_eus._revKit), _eus._btn_record = new _eum.UpperBtn(21, null), _eus._btn_record.position.set(180, 45), _eus.addChild(_eus._btn_record), _eus._btn_friend = new _eum.UpperBtn(22, null), _eus._btn_friend.position.set(300, 44), _eus.addChild(_eus._btn_friend), _eus._btn_album = new _eum.UpperBtn(23, null), _eus._btn_album.position.set(420, 45), _eus.addChild(_eus._btn_album), _eus._btn_item = new _eum.UpperBtn(24, null), _eus._btn_item.position.set(540, 45), _eus.addChild(_eus._btn_item), _eus._btn_interior = new _eum.UpperBtn(25, null), _eus._btn_interior.position.set(660, 45), _eus.addChild(_eus._btn_interior), _eus._btn_duty = new _eum.UpperBtn(26, null), _eus._btn_duty.position.set(780, 45), _eus.addChild(_eus._btn_duty), _eus._btn_shop = new _eum.UpperBtn(24, new _eue.ItemSceneModel()), _eus._btn_shop.position.set(898, 43), _eus.addChild(_eus._btn_shop), _eus; } return _etx(_euq, _euo), Object.defineProperty(_euq.prototype, 'username', { 'set': function(_euw) { var _eux = null; this._username.text = _euw; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_euq.prototype, 'userLevel', { 'set': function(_euy) { var _euz = null; this._userlevel.text = Math.floor(_euy).toString(); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_euq.prototype, 'userRank', { 'set': function(_ev0) { var _ev1 = null; this._userrank.text = _ev0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_euq.prototype, 'fleetNum', { 'set': function(_ev2) { var _ev3 = null; this._fleetnum.text = Math.floor(_ev2).toString(); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_euq.prototype, 'shipNum', { 'set': function(_ev4) { var _ev5 = null; this._shipnum.text = Math.floor(_ev4).toString(); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_euq.prototype, 'slotNum', { 'set': function(_ev6) { var _ev7 = null; this._slotnum.text = Math.floor(_ev6).toString(); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_euq.prototype, 'fuel', { 'set': function(_ev8) { var _ev9 = null; this._fuel.text = Math.floor(_ev8).toString(); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_euq.prototype, 'ammo', { 'set': function(_eva) { var _evb = null; this._ammo.text = Math.floor(_eva).toString(); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_euq.prototype, 'steel', { 'set': function(_evc) { var _evd = null; this._steel.text = Math.floor(_evc).toString(); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_euq.prototype, 'baux', { 'set': function(_eve) { var _evf = null; this._baux.text = Math.floor(_eve).toString(); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_euq.prototype, 'repairKit', { 'set': function(_evg) { var _evh = null; this._repairKit.text = Math.floor(_evg).toString(); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_euq.prototype, 'devKit', { 'set': function(_evi) { var _evj = null; this._devKit.text = Math.floor(_evi).toString(); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_euq.prototype, 'revKit', { 'set': function(_evk) { var _evl = null; this._revKit.text = Math.floor(_evk).toString(); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_euq.prototype, 'friendlyBtn', { 'get': function() { var _evm = null; return this._btn_friend; }, 'enumerable': !1, 'configurable': !0 }), _euq.prototype.changeSkin = function(_evn) { var _evo = null; this._bg.changeSkin(_evn), 101 == _evn ? (this._userlevel.position.set(600, 13), this._userrank.position.set(651, 14), this._fleetnum.visible = !0, this._shipnum.position.set(999, 13), this._slotnum.visible = !1, this._repairKit.position.set(1094, 14), this._devKit.position.set(1194, 14), this._revKit.visible = !1) : 311 == _evn ? (this._userlevel.position.set(477, 13), this._userrank.position.set(528, 14), this._fleetnum.visible = !1, this._shipnum.position.set(720, 13), this._slotnum.visible = !0, this._slotnum.position.set(890, 13), this._repairKit.position.set(987, 14), this._devKit.position.set(1098, 14), this._revKit.visible = !0, this._revKit.position.set(1194, 14)) : (this._userlevel.position.set(551, 13), this._userrank.position.set(602, 14), this._fleetnum.visible = !1, this._shipnum.position.set(780, 13), this._slotnum.visible = !0, this._slotnum.position.set(887, 13), this._repairKit.position.set(987, 14), this._devKit.position.set(1098, 14), this._revKit.visible = !0, this._revKit.position.set(1194, 14)), 101 == _evn || 102 == _evn ? (this._gear.position.set(68, 60), this._btn_friend.position.set(300, 43)) : 201 == _evn ? (this._gear.position.set(66, 58), this._btn_friend.position.set(300, 44)) : 301 != _evn && 311 != _evn || (this._gear.position.set(67, 60), this._btn_friend.position.set(300, 45)); var _evp = PIXI.Texture.EMPTY; 101 == _evn || 102 == _evn ? (_evp = _euh.PORT_SKIN_1.getTexture(2), this._btn_record.initialize(_euh.PORT_SKIN_1.getTexture(40), _euh.PORT_SKIN_1.getTexture(41), null), _eud.EventConst.FRIENDLY ? this._btn_friend.initialize(_euh.PORT_SKIN_1.getTexture(42), _euh.PORT_SKIN_1.getTexture(43), null, _euh.PORT_SKIN_1.getTexture(44)) : this._btn_friend.initialize(_euh.PORT_SKIN_1.getTexture(45), _euh.PORT_SKIN_1.getTexture(46), null), this._btn_album.initialize(_euh.PORT_SKIN_1.getTexture(47), _euh.PORT_SKIN_1.getTexture(48), null), this._btn_item.initialize(_euh.PORT_SKIN_1.getTexture(33), _euh.PORT_SKIN_1.getTexture(34), null), this._btn_interior.initialize(_euh.PORT_SKIN_1.getTexture(35), _euh.PORT_SKIN_1.getTexture(36), null), this._btn_duty.initialize(_euh.PORT_SKIN_1.getTexture(37), _euh.PORT_SKIN_1.getTexture(38), _euh.PORT_SKIN_1.getTexture(39)), this._btn_shop.initialize(_euh.PORT_SKIN_1.getTexture(25), _euh.PORT_SKIN_1.getTexture(26), null)) : 201 == _evn ? (_evp = _eui.PORT_SKIN_2.getTexture(1), this._btn_record.initialize(_eui.PORT_SKIN_2.getTexture(29), _eui.PORT_SKIN_2.getTexture(30), null), _eud.EventConst.FRIENDLY ? this._btn_friend.initialize(_eui.PORT_SKIN_2.getTexture(31), _eui.PORT_SKIN_2.getTexture(32), null, _eui.PORT_SKIN_2.getTexture(33)) : this._btn_friend.initialize(_eui.PORT_SKIN_2.getTexture(34), _eui.PORT_SKIN_2.getTexture(35), null), this._btn_album.initialize(_eui.PORT_SKIN_2.getTexture(36), _eui.PORT_SKIN_2.getTexture(37), null), this._btn_item.initialize(_eui.PORT_SKIN_2.getTexture(22), _eui.PORT_SKIN_2.getTexture(23), null), this._btn_interior.initialize(_eui.PORT_SKIN_2.getTexture(24), _eui.PORT_SKIN_2.getTexture(25), null), this._btn_duty.initialize(_eui.PORT_SKIN_2.getTexture(26), _eui.PORT_SKIN_2.getTexture(27), _eui.PORT_SKIN_2.getTexture(28)), this._btn_shop.initialize(_eui.PORT_SKIN_2.getTexture(17), _eui.PORT_SKIN_2.getTexture(18), null)) : 301 == _evn ? (_evp = _euj.PORT_SKIN_3.getTexture(1), this._btn_record.initialize(_euj.PORT_SKIN_3.getTexture(29), _euj.PORT_SKIN_3.getTexture(30), null), _eud.EventConst.FRIENDLY ? this._btn_friend.initialize(_euj.PORT_SKIN_3.getTexture(31), _euj.PORT_SKIN_3.getTexture(32), null, _euj.PORT_SKIN_3.getTexture(33)) : this._btn_friend.initialize(_euj.PORT_SKIN_3.getTexture(34), _euj.PORT_SKIN_3.getTexture(35), null), this._btn_album.initialize(_euj.PORT_SKIN_3.getTexture(36), _euj.PORT_SKIN_3.getTexture(37), null), this._btn_item.initialize(_euj.PORT_SKIN_3.getTexture(22), _euj.PORT_SKIN_3.getTexture(23), null), this._btn_interior.initialize(_euj.PORT_SKIN_3.getTexture(24), _euj.PORT_SKIN_3.getTexture(25), null), this._btn_duty.initialize(_euj.PORT_SKIN_3.getTexture(26), _euj.PORT_SKIN_3.getTexture(27), _euj.PORT_SKIN_3.getTexture(28)), this._btn_shop.initialize(_euj.PORT_SKIN_3.getTexture(17), _euj.PORT_SKIN_3.getTexture(18), null)) : 311 == _evn && (_evp = _euk.PORT_SKIN_3K.getTexture(3), this._btn_record.initialize(_euk.PORT_SKIN_3K.getTexture(42), _euk.PORT_SKIN_3K.getTexture(43), null), _eud.EventConst.FRIENDLY ? this._btn_friend.initialize(_euk.PORT_SKIN_3K.getTexture(44), _euk.PORT_SKIN_3K.getTexture(46), null, _euk.PORT_SKIN_3K.getTexture(48)) : this._btn_friend.initialize(_euk.PORT_SKIN_3K.getTexture(45), _euk.PORT_SKIN_3K.getTexture(47), null), this._btn_album.initialize(_euk.PORT_SKIN_3K.getTexture(49), _euk.PORT_SKIN_3K.getTexture(50), null), this._btn_item.initialize(_euk.PORT_SKIN_3K.getTexture(35), _euk.PORT_SKIN_3K.getTexture(36), null), this._btn_interior.initialize(_euk.PORT_SKIN_3K.getTexture(37), _euk.PORT_SKIN_3K.getTexture(38), null), this._btn_duty.initialize(_euk.PORT_SKIN_3K.getTexture(39), _euk.PORT_SKIN_3K.getTexture(40), _euk.PORT_SKIN_3K.getTexture(41)), this._btn_shop.initialize(_euk.PORT_SKIN_3K.getTexture(30), _euk.PORT_SKIN_3K.getTexture(31), null)), 301 == _evn || 311 == _evn ? (this._username.style.fill = 4999235, this._userlevel.style.fill = 4999235, this._userrank.style.fill = 4999235, this._fuel.style.fill = 4999235, this._ammo.style.fill = 4999235, this._steel.style.fill = 4999235, this._baux.style.fill = 4999235, this._repairKit.style.fill = 4999235, this._devKit.style.fill = 4999235, this._revKit.style.fill = 4999235, this._shipnum.updateDefaultColor(4999235), this._slotnum.updateDefaultColor(4999235)) : (this._username.style.fill = 16774898, this._userlevel.style.fill = 16774898, this._userrank.style.fill = 16774898, this._fuel.style.fill = 16774898, this._ammo.style.fill = 16774898, this._steel.style.fill = 16774898, this._baux.style.fill = 16774898, this._repairKit.style.fill = 16774898, this._devKit.style.fill = 16774898, this._revKit.style.fill = 16774898, this._shipnum.updateDefaultColor(16774898), this._slotnum.updateDefaultColor(16774898)), this._gear.setUp(_evp); }, _euq.prototype.initialize = function(_evq, _evr, _evs) { var _evt = null; this.changeSkin(_evq), this._shipnum.updateMaxValue(_evr), this._slotnum.updateMaxValue(_evs), this._gear.activate(); }, _euq.prototype.updateUserInfo = function(_evu) { var _evv = null; _evu.hasOwnProperty('userName') && (this._username.text = _evu.userName), _evu.hasOwnProperty('userLevel') && (this._userlevel.text = Math.floor(_evu.userLevel).toString()), _evu.hasOwnProperty('userRank') && (this._userrank.text = _evu.userRank), _evu.hasOwnProperty('fleetNum') && (this._fleetnum.text = Math.floor(_evu.fleetNum).toString()); }, _euq.prototype.updateInfo = function(_evw) { var _evx = null; if (_evw.hasOwnProperty('fuel') && (this._fuel.text = Math.floor(_evw.fuel).toString()), _evw.hasOwnProperty('ammo') && (this._ammo.text = Math.floor(_evw.ammo).toString()), _evw.hasOwnProperty('steel') && (this._steel.text = Math.floor(_evw.steel).toString()), _evw.hasOwnProperty('baux') && (this._baux.text = Math.floor(_evw.baux).toString()), _evw.hasOwnProperty('repairKit') && (this._repairKit.text = Math.floor(_evw.repairKit).toString()), _evw.hasOwnProperty('devKit') && (this._devKit.text = Math.floor(_evw.devKit).toString()), _evw.hasOwnProperty('revKit') && (this._revKit.text = Math.floor(_evw.revKit).toString()), _evw.hasOwnProperty('shipNum')) { var _evy = _euf.ObjUtil.getNumber(_evw, 'shipNum'); this._shipnum.update(_evy); } _evw.hasOwnProperty('slotNum') && (_evy = _euf.ObjUtil.getNumber(_evw, 'slotNum'), this._slotnum.update(_evy)), _evw.hasOwnProperty('shipMax') && (_evy = _euf.ObjUtil.getNumber(_evw, 'shipMax'), this._shipnum.updateMaxValue(_evy)), _evw.hasOwnProperty('slotMax') && (_evy = _euf.ObjUtil.getNumber(_evw, 'slotMax'), this._slotnum.updateMaxValue(_evy)); }, _euq.prototype.dispose = function() { var _evz = null; this.removeChildren(), this._gear.dispose(), this._gear = null, this._username.destroy(), this._username = null, this._userlevel.destroy(), this._userlevel = null, this._userrank.destroy(), this._userrank = null, this._fleetnum.destroy(), this._fleetnum = null, this._shipnum.destroy(), this._shipnum = null, this._slotnum.destroy(), this._slotnum = null, this._fuel.destroy(), this._fuel = null, this._ammo.destroy(), this._ammo = null, this._steel.destroy(), this._steel = null, this._baux.destroy(), this._baux = null, this._repairKit.destroy(), this._repairKit = null, this._devKit.destroy(), this._devKit = null, this._revKit.destroy(), this._revKit = null, this._btn_record.dispose(), this._btn_record = null, this._btn_friend.dispose(), this._btn_friend = null, this._btn_album.dispose(), this._btn_album = null, this._btn_item.dispose(), this._btn_item = null, this._btn_interior.dispose(), this._btn_interior = null, this._btn_duty.dispose(), this._btn_duty = null, this._btn_shop.dispose(), this._btn_shop = null; }, _euq; }(PIXI.Container); _ett.UpperBar = _eun; var _eut = function(_ew0) { var _ew1 = null; function _ew2() { var _ew3 = null; return null !== _ew0 && _ew0.apply(this, arguments) || this; } return _etx(_ew2, _ew0), _ew2.prototype.changeSkin = function(_ew4) { var _ew5 = null; this.removeChildren(), 101 == _ew4 || 102 == _ew4 ? this._setUpForSkin1(_ew4) : 201 == _ew4 ? this._setUpForSkin2() : 301 == _ew4 ? this._setUpForSkin3(_ew4) : 311 == _ew4 && this._setUpForSkin3K(_ew4); }, _ew2.prototype._setUpForSkin1 = function(_ew6) { var _ew7 = null; this.texture = _euh.PORT_SKIN_1.getTexture(14), 101 == _ew6 ? (this._createSprite(_euh.PORT_SKIN_1.getTexture(30), 433, 16), this._createSprite(_euh.PORT_SKIN_1.getTexture(31), 745, 18), this._createSprite(_euh.PORT_SKIN_1.getTexture(32), 862, 18), this._createSprite(_euh.PORT_SKIN_1.getTexture(22), 1011, 17), this._createSprite(_euh.PORT_SKIN_1.getTexture(23), 1099, 17)) : (this._createSprite(_euh.PORT_SKIN_1.getTexture(27), 413, 16), this._createSprite(_euh.PORT_SKIN_1.getTexture(28), 698, 18), this._createSprite(_euh.PORT_SKIN_1.getTexture(29), 791, 18), this._createSprite(_euh.PORT_SKIN_1.getTexture(22), 904, 17), this._createSprite(_euh.PORT_SKIN_1.getTexture(23), 1003, 17), this._createSprite(_euh.PORT_SKIN_1.getTexture(24), 1105, 16)), this._createSprite(_euh.PORT_SKIN_1.getTexture(18), 991, 51), this._createSprite(_euh.PORT_SKIN_1.getTexture(19), 988, 79), this._createSprite(_euh.PORT_SKIN_1.getTexture(20), 1095, 52), this._createSprite(_euh.PORT_SKIN_1.getTexture(21), 1096, 78), this._createSprite(_euh.PORT_SKIN_1.getTexture(12), 415, 0); }, _ew2.prototype._setUpForSkin2 = function() { var _ew8 = null; this.texture = _eui.PORT_SKIN_2.getTexture(6), this._createSprite(_eui.PORT_SKIN_2.getTexture(19), 413, 16), this._createSprite(_eui.PORT_SKIN_2.getTexture(20), 698, 18), this._createSprite(_eui.PORT_SKIN_2.getTexture(21), 791, 18), this._createSprite(_eui.PORT_SKIN_2.getTexture(14), 904, 17), this._createSprite(_eui.PORT_SKIN_2.getTexture(15), 1003, 17), this._createSprite(_eui.PORT_SKIN_2.getTexture(16), 1105, 16), this._createSprite(_eui.PORT_SKIN_2.getTexture(10), 991, 51), this._createSprite(_eui.PORT_SKIN_2.getTexture(11), 988, 79), this._createSprite(_eui.PORT_SKIN_2.getTexture(12), 1095, 52), this._createSprite(_eui.PORT_SKIN_2.getTexture(13), 1096, 78), this._createSprite(_eui.PORT_SKIN_2.getTexture(4), 415, 0); }, _ew2.prototype._setUpForSkin3 = function(_ew9) { var _ewa = null; this.texture = _euj.PORT_SKIN_3.getTexture(6), this._createSprite(_euj.PORT_SKIN_3.getTexture(19), 413, 16), this._createSprite(_euj.PORT_SKIN_3.getTexture(20), 698, 18), this._createSprite(_euj.PORT_SKIN_3.getTexture(21), 791, 18), this._createSprite(_euj.PORT_SKIN_3.getTexture(14), 904, 17), this._createSprite(_euj.PORT_SKIN_3.getTexture(15), 1003, 17), this._createSprite(_euj.PORT_SKIN_3.getTexture(16), 1105, 16), this._createSprite(_euj.PORT_SKIN_3.getTexture(10), 991, 51), this._createSprite(_euj.PORT_SKIN_3.getTexture(11), 988, 79), this._createSprite(_euj.PORT_SKIN_3.getTexture(12), 1095, 52), this._createSprite(_euj.PORT_SKIN_3.getTexture(13), 1096, 78), this._createSprite(_euj.PORT_SKIN_3.getTexture(4), 415, 0); }, _ew2.prototype._setUpForSkin3K = function(_ewb) { var _ewc = null; this.texture = _euk.PORT_SKIN_3K.getTexture(22), this._createSprite(_euk.PORT_SKIN_3K.getTexture(32), 409, 20), this._createSprite(_euk.PORT_SKIN_3K.getTexture(33), 629, 21), this._createSprite(_euk.PORT_SKIN_3K.getTexture(34), 737, 21), this._createSprite(_euk.PORT_SKIN_3K.getTexture(27), 904, 17), this._createSprite(_euk.PORT_SKIN_3K.getTexture(28), 1003, 17), this._createSprite(_euk.PORT_SKIN_3K.getTexture(29), 1105, 16), this._createSprite(_euk.PORT_SKIN_3K.getTexture(23), 991, 51), this._createSprite(_euk.PORT_SKIN_3K.getTexture(24), 988, 79), this._createSprite(_euk.PORT_SKIN_3K.getTexture(25), 1095, 52), this._createSprite(_euk.PORT_SKIN_3K.getTexture(26), 1096, 78), this._createSprite(_euk.PORT_SKIN_3K.getTexture(20), 415, 0); }, _ew2.prototype._createSprite = function(_ewd, _ewe, _ewf) { var _ewg = null, _ewh = new PIXI.Sprite(_ewd); _ewh.position.set(_ewe, _ewf), this.addChild(_ewh); }, _ew2; }(PIXI.Sprite), _ewi = function(_ewj) { var _ewk = null; function _ewl(_ewm, _ewn) { var _ewo = null, _ewp = _ewj.call(this, _ewm, _ewn) || this; return _ewp._max = 0, _ewp._value = 0, _ewp._default_color = _ewn, _ewp; } return _etx(_ewl, _ewj), _ewl.prototype.updateDefaultColor = function(_ewq) { var _ewr = null; this._default_color = _ewq, this._update(); }, _ewl.prototype.updateMaxValue = function(_ews) { var _ewt = null; this._max = _ews, this._update(); }, _ewl.prototype.update = function(_ewu) { var _ewv = null; this._value = _ewu, this._update(); }, _ewl; }(_eug.TextBox), _euu = function(_eww) { var _ewx = null; function _ewy() { var _ewz = null; return null !== _eww && _eww.apply(this, arguments) || this; } return _etx(_ewy, _eww), _ewy.prototype._update = function() { var _ex0 = null, _ex1 = this._max - this._value; this.style.fill = _ex1 <= 5 ? 14442282 : this._default_color, this.text = this._value.toString(); }, _ewy; }(_ewi), _euv = function(_ex2) { var _ex3 = null; function _ex4() { var _ex5 = null; return null !== _ex2 && _ex2.apply(this, arguments) || this; } return _etx(_ex4, _ex2), _ex4.prototype._update = function() { var _ex6 = null, _ex7 = this._max - this._value; this.style.fill = _ex7 <= 5 ? 14442282 : _ex7 < 20 ? 14461696 : this._default_color, this.text = this._value.toString(); }, _ex4; }(_ewi); }, 67079: function(_ex8, _ex9, _exa) { 'use strict'; var _exb = null; var _exc, _exd = this && this.__extends || (_exc = function(_exe, _exf) { var _exg = null; return _exc = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_exh, _exi) { var _exj = null; _exh.__proto__ = _exi; } || function(_exk, _exl) { var _exm = null; for (var _exn in _exl) Object.prototype.hasOwnProperty.call(_exl, _exn) && (_exk[_exn] = _exl[_exn]); }, _exc(_exe, _exf); }, function(_exo, _exp) { var _exq = null; if ('function' != typeof _exp && null !== _exp) throw new TypeError('Class extends value ' + String(_exp) + ' is not a constructor or null'); function _exr() { var _exs = null; this.constructor = _exo; } _exc(_exo, _exp), _exo.prototype = null === _exp ? Object.create(_exp) : (_exr.prototype = _exp.prototype, new _exr()); }), _ext = this && this.__importDefault || function(_exu) { var _exv = null; return _exu && _exu.__esModule ? _exu : { 'default': _exu }; }; defineModule(_ex9); Object.defineProperty(_ex9, '__esModule', { 'value': !0 }), _ex9.UpperBtn = void 0; var _exw = _ext(_exa(18622)), _exx = _exa(35380), _exy = _exa(26496), _exz = _exa(65049), _ey0 = _exa(14921), _ey1 = _exa(71633), _ey2 = function(_ey3) { var _ey4 = null; function _ey5(_ey6, _ey7) { var _ey8 = null, _ey9 = _ey3.call(this) || this; return _ey9._friendlyActive = !1, _ey9._timer = -1, _ey9._flg = !0, _ey9.dispose = function() { var _eya = null, _eyb, _eyc, _eyd; _ey9._stopAnimation(), _ey9.interactive = _ey9.buttonMode = !1, _ey9.off(_exx.EventType.MOUSEOVER, _ey9._onOver), _ey9.off(_exx.EventType.MOUSEOUT, _ey9._onOut), _ey9.off(_exx.EventType.CLICK, _ey9._onClick), _ey9.removeChildren(), _ey9._model = null, _ey9._texture_normal.destroy(), _ey9._texture_normal = null, _ey9._texture_on.destroy(), _ey9._texture_on = null, null === (_eyb = _ey9._texture_light) || void 0 === _eyb || _eyb.destroy(), _ey9._texture_light = null, null === (_eyc = _ey9._texture_use_button) || void 0 === _eyc || _eyc.destroy(), _ey9._texture_use_button = null, null === (_eyd = _ey9._texture_disabled_on) || void 0 === _eyd || _eyd.destroy(), _ey9._texture_disabled_on = null; }, _ey9._startAnimation = function() { var _eye = null; null != _ey9._texture_light && _ey9._timer < 0 && (_ey9._timer = window.setInterval(_ey9._onTimer, 1500)); }, _ey9._stopAnimation = function() { var _eyf = null; _ey9._timer >= 0 && (clearInterval(_ey9._timer), _ey9._timer = -1); }, _ey9._onOver = function() { var _eyg = null; _ey9._stopAnimation(), _ey9.texture = _ey9._texture_on; }, _ey9._onOut = function() { var _eyh = null; _ey9.texture = _ey9._texture_normal, _ey9._startAnimation(); }, _ey9._onTimer = function() { var _eyi = null; 1 == _ey9._flg ? _ey9.texture = _ey9._texture_light : _ey9.texture = _ey9._texture_normal, _ey9._flg = !_ey9._flg; }, _ey9._onClick = function() { var _eyj = null; if (22 != _ey9._type) _exw.default.scene.change(_ey9._type, _ey9._model); else { if (0 !== _exw.default.scene.now) return; if (_ey9._friendlyActive) return; if (!_ey1.EventConst.FRIENDLY) return; var _eyk = 'block' === _ey0.EditTextBoxUtil.visible, _eyl = function() { var _eym = null; _exw.default.view.clickGuard = !0, createjs.Tween.get(_eyn).to({ 'alpha': 0 }, 100).call(function() { var _eyo = null; _exw.default.view.overLayer.removeChild(_eyn), _eyn.dispose(), _exw.default.view.clickGuard = !1, _ey9._friendlyActive = !1, _eyk && _ey0.EditTextBoxUtil.setVisibility(!0); }); }, _eyn = new _exy.FriendlyRequest(); _ey9._friendlyActive = !0, _eyn.start(function(_eyp, _eyq) { var _eyr = null; !_ey1.EventConst.FRIENDLY || _eyp === _exw.default.friendlyRequest.flg && _eyq === _exw.default.friendlyRequest.type ? _eyl() : new _exz.SetFriendlyRequestAPI(_eyp, _eyq).start(function() { var _eys = null; _exw.default.friendlyRequest.setData(_eyp, _eyq), _eyl(); }); }), _eyn.alpha = 0, _exw.default.view.overLayer.addChild(_eyn), createjs.Tween.get(_eyn).call(function() { var _eyt = null; _eyk && _ey0.EditTextBoxUtil.setVisibility(!1); }).to({ 'alpha': 1 }, 100); } }, _ey9._type = _ey6, _ey9._model = _ey7, _ey9; } return _exd(_ey5, _ey3), _ey5.prototype.setUp = function(_eyu, _eyv, _eyw, _eyx) { var _eyy = null; void 0 === _eyx && (_eyx = PIXI.Texture.EMPTY), this._texture_normal = _eyu, this._texture_on = _eyv, this._texture_light = _eyw, this._onOut(), _ey1.EventConst.FRIENDLY && (this._texture_disabled_on = _eyx, this._texture_use_button = _eyv); }, _ey5.prototype.friendlyButtonMode = function(_eyz) { var _ez0 = null; this.buttonMode = _eyz, this._texture_on = _eyz ? this._texture_use_button : this._texture_disabled_on; }, _ey5.prototype.initialize = function(_ez1, _ez2, _ez3, _ez4) { var _ez5 = null; void 0 === _ez4 && (_ez4 = PIXI.Texture.EMPTY), this.setUp(_ez1, _ez2, _ez3, _ez4), this.interactive = this.buttonMode = !0, this.on(_exx.EventType.MOUSEOVER, this._onOver), this.on(_exx.EventType.MOUSEOUT, this._onOut), (22 != this._type || _ey1.EventConst.FRIENDLY) && this.on(_exx.EventType.CLICK, this._onClick); }, _ey5; }(PIXI.Sprite); _ex9.UpperBtn = _ey2; }, 88002: function(_ez6, _ez7, _ez8) { 'use strict'; var _ez9 = null; var _eza, _ezb = this && this.__extends || (_eza = function(_ezc, _ezd) { var _eze = null; return _eza = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ezf, _ezg) { var _ezh = null; _ezf.__proto__ = _ezg; } || function(_ezi, _ezj) { var _ezk = null; for (var _ezl in _ezj) Object.prototype.hasOwnProperty.call(_ezj, _ezl) && (_ezi[_ezl] = _ezj[_ezl]); }, _eza(_ezc, _ezd); }, function(_ezm, _ezn) { var _ezo = null; if ('function' != typeof _ezn && null !== _ezn) throw new TypeError('Class extends value ' + String(_ezn) + ' is not a constructor or null'); function _ezp() { var _ezq = null; this.constructor = _ezm; } _eza(_ezm, _ezn), _ezm.prototype = null === _ezn ? Object.create(_ezn) : (_ezp.prototype = _ezn.prototype, new _ezp()); }); defineModule(_ez7); Object.defineProperty(_ez7, '__esModule', { 'value': !0 }), _ez7.CompCombinedAlert = void 0; var _ezr = _ez8(79899), _ezs = _ez8(67820), _ezt = _ez8(35380), _ezu = function(_ezv) { var _ezw = null; function _ezx(_ezy) { var _ezz = null, _f00 = _ezv.call(this) || this; return _f00._onClick = function() { var _f01 = null; 0 != _f00._btn.buttonMode && null != _f00._cb && _f00._cb(); }, _f00._cb = _ezy, _f00._layer = new _ezr.AreaBox(0.2), _f00._bg = new PIXI.Sprite(), _f00._btn = new PIXI.Sprite(), _f00.addChild(_f00._layer), _f00.addChild(_f00._bg), _f00.addChild(_f00._btn), _f00; } return _ezb(_ezx, _ezv), Object.defineProperty(_ezx.prototype, 'layer', { 'get': function() { var _f02 = null; return this._layer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_ezx.prototype, 'bg', { 'get': function() { var _f03 = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_ezx.prototype, 'btn', { 'get': function() { var _f04 = null; return this._btn; }, 'enumerable': !1, 'configurable': !0 }), _ezx.prototype.initialize = function() { var _f05 = null; this._bg.texture = _ezs.PORT_MAIN.getTexture(17), this._bg.position.set(340, 273), this._btn.texture = _ezs.PORT_MAIN.getTexture(0), this._btn.position.set(517, 450), this._btn.interactive = !0; }, _ezx.prototype.activate = function() { var _f06 = null; 0 == this._btn.buttonMode && (this._btn.buttonMode = !0, this._btn.on(_ezt.EventType.CLICK, this._onClick)); }, _ezx.prototype.deactivate = function() { var _f07 = null; this._btn.buttonMode = !1, this._btn.off(_ezt.EventType.CLICK, this._onClick); }, _ezx.prototype.dispose = function() { var _f08 = null; this.deactivate(), this._cb = null; }, _ezx; }(PIXI.Container); _ez7.CompCombinedAlert = _ezu; }, 11751: function(_f09, _f0a) { 'use strict'; var _f0b = null; var _f0c, _f0d = this && this.__extends || (_f0c = function(_f0e, _f0f) { var _f0g = null; return _f0c = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_f0h, _f0i) { var _f0j = null; _f0h.__proto__ = _f0i; } || function(_f0k, _f0l) { var _f0m = null; for (var _f0n in _f0l) Object.prototype.hasOwnProperty.call(_f0l, _f0n) && (_f0k[_f0n] = _f0l[_f0n]); }, _f0c(_f0e, _f0f); }, function(_f0o, _f0p) { var _f0q = null; if ('function' != typeof _f0p && null !== _f0p) throw new TypeError('Class extends value ' + String(_f0p) + ' is not a constructor or null'); function _f0r() { var _f0s = null; this.constructor = _f0o; } _f0c(_f0o, _f0p), _f0o.prototype = null === _f0p ? Object.create(_f0p) : (_f0r.prototype = _f0p.prototype, new _f0r()); }); defineModule(_f0a); Object.defineProperty(_f0a, '__esModule', { 'value': !0 }), _f0a.Gear = void 0; var _f0t = function(_f0u) { var _f0v = null; function _f0w() { var _f0x = null, _f0y = _f0u.call(this) || this; return _f0y.dispose = function() { var _f0z = null; _f0y.deactivate(); }, _f0y._onTimer = function() { var _f10 = null; _f0y.rotation += Math.PI / 180 * 2; }, _f0y; } return _f0d(_f0w, _f0u), _f0w.prototype.setUp = function(_f11) { var _f12 = null; this.texture = _f11, this.pivot.set(this.width / 2, this.height / 2); }, _f0w.prototype.activate = function() { var _f13 = null; null == this._t && (this._t = createjs.Tween.get(this, { 'loop': !0 }).wait(1000).call(this._onTimer)); }, _f0w.prototype.deactivate = function() { var _f14 = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _f0w; }(PIXI.Sprite); _f0a.Gear = _f0t; }, 42610: function(_f15, _f16, _f17) { 'use strict'; var _f18 = null; var _f19, _f1a = this && this.__extends || (_f19 = function(_f1b, _f1c) { var _f1d = null; return _f19 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_f1e, _f1f) { var _f1g = null; _f1e.__proto__ = _f1f; } || function(_f1h, _f1i) { var _f1j = null; for (var _f1k in _f1i) Object.prototype.hasOwnProperty.call(_f1i, _f1k) && (_f1h[_f1k] = _f1i[_f1k]); }, _f19(_f1b, _f1c); }, function(_f1l, _f1m) { var _f1n = null; if ('function' != typeof _f1m && null !== _f1m) throw new TypeError('Class extends value ' + String(_f1m) + ' is not a constructor or null'); function _f1o() { var _f1p = null; this.constructor = _f1l; } _f19(_f1l, _f1m), _f1l.prototype = null === _f1m ? Object.create(_f1m) : (_f1o.prototype = _f1m.prototype, new _f1o()); }); defineModule(_f16); Object.defineProperty(_f16, '__esModule', { 'value': !0 }), _f16.Circle = void 0; var _f1q = _f17(46101), _f1r = _f17(61787), _f1s = _f17(17711), _f1t = function(_f1u) { var _f1v = null; function _f1w() { var _f1x = null; return _f1u.call(this) || this; } return _f1a(_f1w, _f1u), _f1w.prototype.initialize = function(_f1y) { var _f1z = null; this.changeSkin(_f1y); }, _f1w.prototype.changeSkin = function(_f20) { var _f21 = null; if (null != this._content) { if (this._skinID == _f20) return; this._content.dispose(), this.removeChild(this._content), this._content = null; } this._skinID = _f20, 101 == _f20 || 102 == _f20 ? this._content = new _f1q.CircleContentSkin1() : 201 == _f20 && (this._content = new _f1r.CircleContentSkin2()), 301 == _f20 && (this._content = new _f1s.CircleContentSkin3()), 311 == _f20 && (this._content = new _f1s.CircleContentSkin3k()), this._content.initialize(), this.addChild(this._content); }, _f1w.prototype.dispose = function() { var _f22 = null; null != this._content && (this._content.dispose(), this.removeChild(this._content), this._content = null); }, _f1w.prototype.startMoveAnimation = function(_f23) { var _f24 = null; null != this._content && this._content.startMoveAnimation(_f23); }, _f1w; }(PIXI.Container); _f16.Circle = _f1t; }, 11847: function(_f25, _f26) { 'use strict'; var _f27 = null; var _f28, _f29 = this && this.__extends || (_f28 = function(_f2a, _f2b) { var _f2c = null; return _f28 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_f2d, _f2e) { var _f2f = null; _f2d.__proto__ = _f2e; } || function(_f2g, _f2h) { var _f2i = null; for (var _f2j in _f2h) Object.prototype.hasOwnProperty.call(_f2h, _f2j) && (_f2g[_f2j] = _f2h[_f2j]); }, _f28(_f2a, _f2b); }, function(_f2k, _f2l) { var _f2m = null; if ('function' != typeof _f2l && null !== _f2l) throw new TypeError('Class extends value ' + String(_f2l) + ' is not a constructor or null'); function _f2n() { var _f2o = null; this.constructor = _f2k; } _f28(_f2k, _f2l), _f2k.prototype = null === _f2l ? Object.create(_f2l) : (_f2n.prototype = _f2l.prototype, new _f2n()); }); defineModule(_f26); Object.defineProperty(_f26, '__esModule', { 'value': !0 }), _f26.CircleContent = void 0; var _f2p = function(_f2q) { function _f2r() { var _f2s = null; return null !== _f2q && _f2q.apply(this, arguments) || this; } return _f29(_f2r, _f2q), _f2r; }(PIXI.Container); _f26.CircleContent = _f2p; }, 46101: function(_f2t, _f2u, _f2v) { 'use strict'; var _f2w = null; var _f2x, _f2y = this && this.__extends || (_f2x = function(_f2z, _f30) { var _f31 = null; return _f2x = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_f32, _f33) { var _f34 = null; _f32.__proto__ = _f33; } || function(_f35, _f36) { var _f37 = null; for (var _f38 in _f36) Object.prototype.hasOwnProperty.call(_f36, _f38) && (_f35[_f38] = _f36[_f38]); }, _f2x(_f2z, _f30); }, function(_f39, _f3a) { var _f3b = null; if ('function' != typeof _f3a && null !== _f3a) throw new TypeError('Class extends value ' + String(_f3a) + ' is not a constructor or null'); function _f3c() { var _f3d = null; this.constructor = _f39; } _f2x(_f39, _f3a), _f39.prototype = null === _f3a ? Object.create(_f3a) : (_f3c.prototype = _f3a.prototype, new _f3c()); }), _f3e = this && this.__importDefault || function(_f3f) { var _f3g = null; return _f3f && _f3f.__esModule ? _f3f : { 'default': _f3f }; }; defineModule(_f2u); Object.defineProperty(_f2u, '__esModule', { 'value': !0 }), _f2u.CircleContentSkin1 = void 0; var _f3h = _f3e(_f2v(18622)), _f3i = _f2v(35380), _f3j = _f2v(4918), _f3k = function(_f3l) { var _f3m = null; function _f3n() { var _f3o = null, _f3p = _f3l.call(this) || this; return _f3p._onClick = function() { var _f3q = null; 0 == _f3h.default.scene.now ? _f3h.default.view.portMain.showPortUI(!1) : _f3h.default.scene.change(0); }, _f3p._circle = new PIXI.Sprite(), _f3p.addChild(_f3p._circle), _f3p._content = new _f3r(), _f3p.addChild(_f3p._content), _f3p._light = new PIXI.Sprite(), _f3p._light.position.set(-23, -32), _f3p._light.alpha = 0.6, _f3p.addChild(_f3p._light), _f3p._hit_area = new PIXI.Graphics(), _f3p._hit_area.beginFill(0, 0), _f3p._hit_area.drawCircle(0, 0, 95), _f3p._hit_area.endFill(), _f3p._hit_area.position.set(68, 60), _f3p.addChild(_f3p._hit_area), _f3p; } return _f2y(_f3n, _f3l), _f3n.prototype.initialize = function() { var _f3s = null; this._circle.texture = _f3j.PORT_SKIN_1.getTexture(1), this._circle.position.set(-40, -46), this._content.position.set(63, 58), this._light.texture = _f3j.PORT_SKIN_1.getTexture(8), this._content.initialize(), this._hit_area.interactive = this._hit_area.buttonMode = !0, this._hit_area.on(_f3i.EventType.CLICK, this._onClick), this._startAnimation(); }, _f3n.prototype.dispose = function() { var _f3t = null; this.removeChildren(), this._hit_area.interactive = this._hit_area.buttonMode = !1, this._hit_area.off(_f3i.EventType.CLICK, this._onClick), this._circle.destroy(), this._circle = null, this._content.dispose(), this._content = null, this._light.destroy(), this._light = null, this._hit_area.destroy(), this._hit_area = null, this._stopAnimation(), this._content_tween = null, this._light_tween = null; }, _f3n.prototype.startMoveAnimation = function(_f3u) { var _f3v = null; this._content.startAnimation(_f3u); }, _f3n.prototype._startAnimation = function() { var _f3w = null; null == this._content_tween ? this._content_tween = createjs.Tween.get(this._content, { 'loop': !0 }).to({ 'rotation': 2 * Math.PI }, 30000) : this._content_tween.play(null), null == this._light_tween ? this._light_tween = createjs.Tween.get(this._light, { 'loop': !0 }).to({ 'alpha': 0 }, 1000, createjs.Ease.getPowIn(4)).to({ 'alpha': 0.6 }, 1000, createjs.Ease.getPowOut(4)) : this._light_tween.play(null); }, _f3n.prototype._stopAnimation = function() { var _f3x = null; null != this._content_tween && this._content_tween.setPaused(!0), null != this._light_tween && this._light_tween.setPaused(!0); }, _f3n; }(_f2v(11847).CircleContent); _f2u.CircleContentSkin1 = _f3k; var _f3r = function(_f3y) { var _f3z = null; function _f40() { var _f41 = null, _f42 = _f3y.call(this) || this; return _f42._content1 = new PIXI.Sprite(), _f42.addChild(_f42._content1), _f42._content2 = new PIXI.Sprite(), _f42.addChild(_f42._content2), _f42; } return _f2y(_f40, _f3y), _f40.prototype.initialize = function() { var _f43 = null; this._content1.texture = this._getTexture(0), this._content2.visible = !0, this.pivot.set(Math.round(this._content1.width / 2), Math.round(this._content1.height / 2)); }, _f40.prototype.dispose = function() { var _f44 = null; null != this._tween && this._tween.setPaused(!0), this._tween = null, this._content1.destroy(), this._content1 = null, this._content2.destroy(), this._content2 = null; }, _f40.prototype.startAnimation = function(_f45) { var _f46 = null, _f47 = this; null != this._tween && (this._tween.setPaused(!0), this._tween = null), this._content2.texture = this._content1.texture, this._content2.alpha = 1, this._content2.visible = !0, this._content1.texture = this._getTexture(_f45), this._tween = createjs.Tween.get(this._content2).to({ 'alpha': 0 }, 600).call(function() { var _f48 = null; _f47._content2.visible = !1; }); }, _f40.prototype._getTexture = function(_f49) { var _f4a = null; return 11 == _f49 ? _f3j.PORT_SKIN_1.getTexture(4) : 12 == _f49 ? _f3j.PORT_SKIN_1.getTexture(5) : 13 == _f49 ? _f3j.PORT_SKIN_1.getTexture(6) : 14 == _f49 ? _f3j.PORT_SKIN_1.getTexture(9) : 15 == _f49 ? _f3j.PORT_SKIN_1.getTexture(7) : 31 == _f49 ? _f3j.PORT_SKIN_1.getTexture(0) : 16 == _f49 ? _f3j.PORT_SKIN_1.getTexture(10) : _f3j.PORT_SKIN_1.getTexture(3); }, _f40; }(PIXI.Container); }, 61787: function(_f4b, _f4c, _f4d) { 'use strict'; var _f4e = null; var _f4f, _f4g = this && this.__extends || (_f4f = function(_f4h, _f4i) { var _f4j = null; return _f4f = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_f4k, _f4l) { var _f4m = null; _f4k.__proto__ = _f4l; } || function(_f4n, _f4o) { var _f4p = null; for (var _f4q in _f4o) Object.prototype.hasOwnProperty.call(_f4o, _f4q) && (_f4n[_f4q] = _f4o[_f4q]); }, _f4f(_f4h, _f4i); }, function(_f4r, _f4s) { var _f4t = null; if ('function' != typeof _f4s && null !== _f4s) throw new TypeError('Class extends value ' + String(_f4s) + ' is not a constructor or null'); function _f4u() { var _f4v = null; this.constructor = _f4r; } _f4f(_f4r, _f4s), _f4r.prototype = null === _f4s ? Object.create(_f4s) : (_f4u.prototype = _f4s.prototype, new _f4u()); }), _f4w = this && this.__importDefault || function(_f4x) { var _f4y = null; return _f4x && _f4x.__esModule ? _f4x : { 'default': _f4x }; }; defineModule(_f4c); Object.defineProperty(_f4c, '__esModule', { 'value': !0 }), _f4c.CircleContentSkin2 = void 0; var _f4z = _f4w(_f4d(18622)), _f50 = _f4d(35380), _f51 = _f4d(48351), _f52 = _f4d(11847), _f53 = _f4d(58392), _f54 = function(_f55) { var _f56 = null; function _f57() { var _f58 = null, _f59 = _f55.call(this) || this; return _f59._onClick = function() { var _f5a = null; 0 == _f4z.default.scene.now ? _f4z.default.view.portMain.showPortUI(!1) : _f4z.default.scene.change(0); }, _f59._background = new PIXI.Sprite(), _f59.addChild(_f59._background), _f59._content = new _f53.CircleContentWithSwitching(), _f59.addChild(_f59._content), _f59._hit_area = new PIXI.Graphics(), _f59._hit_area.beginFill(0, 0), _f59._hit_area.drawCircle(0, 0, 95), _f59._hit_area.endFill(), _f59._hit_area.position.set(68, 60), _f59.addChild(_f59._hit_area), _f59; } return _f4g(_f57, _f55), _f57.prototype.initialize = function() { var _f5b = null; this._background.texture = _f51.PORT_SKIN_2.getTexture(0), this._background.position.set(-46, -55), this._content.initialize(), this._content.position.set(67, 58), this._hit_area.interactive = !0, this._hit_area.buttonMode = !0, this._hit_area.on(_f50.EventType.CLICK, this._onClick), this._startAnimation(); }, _f57.prototype.dispose = function() { var _f5c = null; this._hit_area.interactive = !1, this._hit_area.buttonMode = !1, this._hit_area.off(_f50.EventType.CLICK, this._onClick), this._content.dispose(), this._content = null, this._background.destroy(), this._background = null, this._hit_area.destroy(), this._hit_area = null, this._stopAnimation(), this._content_tween = null; }, _f57.prototype.startMoveAnimation = function(_f5d) { var _f5e = null; this._content.startAnimation(_f5d); }, _f57.prototype._startAnimation = function() { var _f5f = null; null == this._content_tween ? this._content_tween = createjs.Tween.get(this._content, { 'loop': !0 }).to({ 'rotation': 2 * Math.PI }, 30000) : this._content_tween.play(null); }, _f57.prototype._stopAnimation = function() { var _f5g = null; null != this._content_tween && this._content_tween.setPaused(!0); }, _f57; }(_f52.CircleContent); _f4c.CircleContentSkin2 = _f54; }, 17711: function(_f5h, _f5i, _f5j) { 'use strict'; var _f5k = null; var _f5l, _f5m = this && this.__extends || (_f5l = function(_f5n, _f5o) { var _f5p = null; return _f5l = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_f5q, _f5r) { var _f5s = null; _f5q.__proto__ = _f5r; } || function(_f5t, _f5u) { var _f5v = null; for (var _f5w in _f5u) Object.prototype.hasOwnProperty.call(_f5u, _f5w) && (_f5t[_f5w] = _f5u[_f5w]); }, _f5l(_f5n, _f5o); }, function(_f5x, _f5y) { var _f5z = null; if ('function' != typeof _f5y && null !== _f5y) throw new TypeError('Class extends value ' + String(_f5y) + ' is not a constructor or null'); function _f60() { var _f61 = null; this.constructor = _f5x; } _f5l(_f5x, _f5y), _f5x.prototype = null === _f5y ? Object.create(_f5y) : (_f60.prototype = _f5y.prototype, new _f60()); }); defineModule(_f5i); Object.defineProperty(_f5i, '__esModule', { 'value': !0 }), _f5i.CircleContentSkin3k = _f5i.CircleContentSkin3 = void 0; var _f62 = _f5j(35380), _f63 = _f5j(3252), _f64 = _f5j(16896), _f65 = _f5j(61787), _f66 = _f5j(58392), _f67 = function(_f68) { var _f69 = null; function _f6a() { var _f6b = null; return null !== _f68 && _f68.apply(this, arguments) || this; } return _f5m(_f6a, _f68), _f6a.prototype.initialize = function() { var _f6c = null; this._background.texture = _f63.PORT_SKIN_3.getTexture(0), this._background.position.set(-40, -49), this._content.initialize(), this._content.position.set(67, 58), this._hit_area.interactive = !0, this._hit_area.buttonMode = !0, this._hit_area.on(_f62.EventType.CLICK, this._onClick), this._startAnimation(); }, _f6a; }(_f65.CircleContentSkin2); _f5i.CircleContentSkin3 = _f67; var _f6d = function(_f6e) { var _f6f = null; function _f6g() { var _f6h = null, _f6i = _f6e.call(this) || this; return _f6i._background = new PIXI.Sprite(), _f6i.addChild(_f6i._background), _f6i._content = new _f6j(), _f6i.addChild(_f6i._content), _f6i._hit_area = new PIXI.Graphics(), _f6i._hit_area.beginFill(0, 0), _f6i._hit_area.drawCircle(0, 0, 95), _f6i._hit_area.endFill(), _f6i._hit_area.position.set(68, 60), _f6i.addChild(_f6i._hit_area), _f6i; } return _f5m(_f6g, _f6e), _f6g.prototype.initialize = function() { var _f6k = null; this._background.texture = _f64.PORT_SKIN_3K.getTexture(2), this._background.position.set(-40, -49), this._content.initialize(), this._content.position.set(67, 58), this._hit_area.interactive = !0, this._hit_area.buttonMode = !0, this._hit_area.on(_f62.EventType.CLICK, this._onClick), this._startAnimation(); }, _f6g; }(_f67); _f5i.CircleContentSkin3k = _f6d; var _f6j = function(_f6l) { var _f6m = null; function _f6n() { var _f6o = null; return null !== _f6l && _f6l.apply(this, arguments) || this; } return _f5m(_f6n, _f6l), _f6n.prototype._getTexture = function(_f6p) { var _f6q = null; return 11 == _f6p ? _f64.PORT_SKIN_3K.getTexture(7) : 12 == _f6p ? _f64.PORT_SKIN_3K.getTexture(9) : 13 == _f6p ? _f64.PORT_SKIN_3K.getTexture(11) : 14 == _f6p ? _f64.PORT_SKIN_3K.getTexture(15) : 15 == _f6p ? _f64.PORT_SKIN_3K.getTexture(13) : 31 == _f6p ? _f64.PORT_SKIN_3K.getTexture(0) : 16 == _f6p ? _f64.PORT_SKIN_3K.getTexture(17) : _f64.PORT_SKIN_3K.getTexture(4); }, _f6n.prototype._getTextureOver = function(_f6r) { var _f6s = null; return 11 == _f6r ? _f64.PORT_SKIN_3K.getTexture(8) : 12 == _f6r ? _f64.PORT_SKIN_3K.getTexture(10) : 13 == _f6r ? _f64.PORT_SKIN_3K.getTexture(12) : 14 == _f6r ? _f64.PORT_SKIN_3K.getTexture(16) : 15 == _f6r ? _f64.PORT_SKIN_3K.getTexture(14) : 31 == _f6r ? _f64.PORT_SKIN_3K.getTexture(1) : 16 == _f6r ? _f64.PORT_SKIN_3K.getTexture(18) : _f64.PORT_SKIN_3K.getTexture(5); }, _f6n; }(_f66.CircleContentWithSwitching); }, 58392: function(_f6t, _f6u, _f6v) { 'use strict'; var _f6w = null; var _f6x, _f6y = this && this.__extends || (_f6x = function(_f6z, _f70) { var _f71 = null; return _f6x = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_f72, _f73) { var _f74 = null; _f72.__proto__ = _f73; } || function(_f75, _f76) { var _f77 = null; for (var _f78 in _f76) Object.prototype.hasOwnProperty.call(_f76, _f78) && (_f75[_f78] = _f76[_f78]); }, _f6x(_f6z, _f70); }, function(_f79, _f7a) { var _f7b = null; if ('function' != typeof _f7a && null !== _f7a) throw new TypeError('Class extends value ' + String(_f7a) + ' is not a constructor or null'); function _f7c() { var _f7d = null; this.constructor = _f79; } _f6x(_f79, _f7a), _f79.prototype = null === _f7a ? Object.create(_f7a) : (_f7c.prototype = _f7a.prototype, new _f7c()); }); defineModule(_f6u); Object.defineProperty(_f6u, '__esModule', { 'value': !0 }), _f6u.CircleContentWithSwitching = void 0; var _f7e = _f6v(30366), _f7f = function(_f7g) { var _f7h = null; function _f7i() { var _f7j = null; return _f7g.call(this) || this; } return _f6y(_f7i, _f7g), _f7i.prototype.initialize = function() { var _f7k = null; this._skipTween(), null == this._content && (this._content = new _f7l(), this._content.initialize(this._getTexture(0), this._getTextureOver(0)), this.addChild(this._content)); }, _f7i.prototype.dispose = function() { var _f7m = null; this._stopTween(), null != this._content && this._content.dispose(), null != this._content_tmp && this._content_tmp.dispose(); }, _f7i.prototype.startAnimation = function(_f7n) { var _f7o = null, _f7p = this; this._skipTween(), this._content_tmp = new _f7l(), this._content_tmp.initialize(this._getTexture(_f7n), this._getTextureOver(_f7n)), this._content_tmp.alpha = 0, this.addChild(this._content_tmp), this._tween = createjs.Tween.get(this._content_tmp).to({ 'alpha': 1 }, 600).call(function() { var _f7q = null; _f7p._content.dispose(), _f7p.removeChild(_f7p._content), _f7p._content = _f7p._content_tmp, _f7p._content_tmp = null; }); }, _f7i.prototype._stopTween = function() { var _f7r = null; null != this._tween && (this._tween.setPaused(!0), this._tween = null); }, _f7i.prototype._skipTween = function() { var _f7s = null; this._stopTween(), null != this._content_tmp && (this._content.dispose(), this.removeChild(this._content), this._content_tmp.alpha = 1, this._content = this._content_tmp, this._content_tmp = null); }, _f7i.prototype._getTexture = function(_f7t) { var _f7u = null; return 11 == _f7t ? _f7e.PORT_SKIN_CIRCLE_2.getTexture(4) : 12 == _f7t ? _f7e.PORT_SKIN_CIRCLE_2.getTexture(6) : 13 == _f7t ? _f7e.PORT_SKIN_CIRCLE_2.getTexture(8) : 14 == _f7t ? _f7e.PORT_SKIN_CIRCLE_2.getTexture(12) : 15 == _f7t ? _f7e.PORT_SKIN_CIRCLE_2.getTexture(10) : 31 == _f7t ? _f7e.PORT_SKIN_CIRCLE_2.getTexture(0) : 16 == _f7t ? _f7e.PORT_SKIN_CIRCLE_2.getTexture(14) : _f7e.PORT_SKIN_CIRCLE_2.getTexture(2); }, _f7i.prototype._getTextureOver = function(_f7v) { var _f7w = null; return 11 == _f7v ? _f7e.PORT_SKIN_CIRCLE_2.getTexture(5) : 12 == _f7v ? _f7e.PORT_SKIN_CIRCLE_2.getTexture(7) : 13 == _f7v ? _f7e.PORT_SKIN_CIRCLE_2.getTexture(9) : 14 == _f7v ? _f7e.PORT_SKIN_CIRCLE_2.getTexture(13) : 15 == _f7v ? _f7e.PORT_SKIN_CIRCLE_2.getTexture(11) : 31 == _f7v ? _f7e.PORT_SKIN_CIRCLE_2.getTexture(1) : 16 == _f7v ? _f7e.PORT_SKIN_CIRCLE_2.getTexture(15) : _f7e.PORT_SKIN_CIRCLE_2.getTexture(3); }, _f7i; }(PIXI.Container); _f6u.CircleContentWithSwitching = _f7f; var _f7l = function(_f7x) { var _f7y = null; function _f7z() { var _f80 = null, _f81 = _f7x.call(this) || this; return _f81._under = new PIXI.Sprite(), _f81.addChild(_f81._under), _f81._over = new PIXI.Sprite(), _f81.addChild(_f81._over), _f81; } return _f6y(_f7z, _f7x), _f7z.prototype.initialize = function(_f82, _f83) { var _f84 = null; this._under.texture = _f82, this._over.texture = _f83, this.pivot.x = Math.round(this._under.width / 2), this.pivot.y = Math.round(this._under.height / 2), this._over.alpha = 0, this._tween = createjs.Tween.get(this._over, { 'loop': !0 }).to({ 'alpha': 0.6 }, 1000, createjs.Ease.getPowOut(4)).to({ 'alpha': 0 }, 1000, createjs.Ease.getPowIn(4)); }, _f7z.prototype.dispose = function() { var _f85 = null; null != this._tween && this._tween.setPaused(!0), this._tween = null, this._under.destroy(), this._under = null, this._over.destroy(), this._over = null; }, _f7z; }(PIXI.Container); }, 1851: function(_f86, _f87, _f88) { 'use strict'; var _f89 = null; var _f8a, _f8b = this && this.__extends || (_f8a = function(_f8c, _f8d) { var _f8e = null; return _f8a = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_f8f, _f8g) { var _f8h = null; _f8f.__proto__ = _f8g; } || function(_f8i, _f8j) { var _f8k = null; for (var _f8l in _f8j) Object.prototype.hasOwnProperty.call(_f8j, _f8l) && (_f8i[_f8l] = _f8j[_f8l]); }, _f8a(_f8c, _f8d); }, function(_f8m, _f8n) { var _f8o = null; if ('function' != typeof _f8n && null !== _f8n) throw new TypeError('Class extends value ' + String(_f8n) + ' is not a constructor or null'); function _f8p() { var _f8q = null; this.constructor = _f8m; } _f8a(_f8m, _f8n), _f8m.prototype = null === _f8n ? Object.create(_f8n) : (_f8p.prototype = _f8n.prototype, new _f8p()); }), _f8r = this && this.__importDefault || function(_f8s) { var _f8t = null; return _f8s && _f8s.__esModule ? _f8s : { 'default': _f8s }; }; defineModule(_f87); Object.defineProperty(_f87, '__esModule', { 'value': !0 }), _f87.RingMenuBtn = void 0; var _f8u = _f8r(_f88(18622)), _f8v = _f88(70723), _f8w = _f88(20129), _f8x = _f88(59767), _f8y = _f88(11360), _f8z = _f88(87399), _f90 = _f88(33193), _f91 = _f88(35380), _f92 = function(_f93) { var _f94 = null; function _f95(_f96) { var _f97 = null, _f98 = _f93.call(this) || this; return _f98._mouse_down = !1, _f98._cb_onRelateOpen = null, _f98._cb_onRelateClose = null, _f98._onMouseOver = function() { var _f99 = null; _f98._mouse_down = !1, _f98._bg_on.visible = !0, _f98._bg_on.activate(), _f98._img.visible = !1, _f98._img_on.visible = !0, _f98._showWaves(), _f98._description.show(), null != _f98._cb_onRelateOpen && _f98._cb_onRelateOpen(); }, _f98._onMouseOut = function() { var _f9a = null; _f98._mouse_down = !1, _f98._bg_on.visible = !1, _f98._bg_on.deactivate(), _f98._img.visible = !0, _f98._img_on.visible = !1, _f98._setScale(1), _f98._hideWaves(), _f98._description.hide(), null != _f98._cb_onRelateClose && _f98._cb_onRelateClose(); }, _f98._onMouseDown = function() { var _f9b = null; _f98._mouse_down = !0, _f98._bg_on.visible = !0, _f98._bg_on.deactivate(), _f98._img.visible = !1, _f98._img_on.visible = !0, _f98._setScale(0.9), _f98._hideWaves(), _f98._description.hide(); }, _f98._onMouseUp = function() { var _f9c = null; _f98._bg_on.visible = !0, _f98._bg_on.activate(), _f98._img.visible = !1, _f98._img_on.visible = !0, _f98._setScale(1), _f98._showWaves(), _f98._description.show(), 1 == _f98._mouse_down && _f8u.default.scene.change(_f98._type) && _f8v.SE.play('246'), _f98._mouse_down = !1; }, _f98._type = _f96, _f98._bg_on = new _f8w.RingMenuBtnBgOn(), _f98.addChild(_f98._bg_on), _f98._img = new _f8y.RingMenuBtnImg(), _f98.addChild(_f98._img), _f98._img_on = new _f8z.RingMenuBtnImgOn(), _f98.addChild(_f98._img_on), _f98._waves = new _f90.RingMenuWaves(), _f98._description = new _f8x.RingMenuBtnDescription(), _f98.addChild(_f98._description), _f98._hit_area = new PIXI.Graphics(), _f98._hit_area.beginFill(0, 0), _f98._hit_area.drawCircle(0, 0, 71), _f98._hit_area.endFill(), _f98.addChild(_f98._hit_area), _f98._hit_area.interactive = !0, _f98; } return _f8b(_f95, _f93), _f95.prototype.initialize = function(_f9d, _f9e) { var _f9f = null; void 0 === _f9d && (_f9d = null), void 0 === _f9e && (_f9e = null), this._cb_onRelateOpen = _f9d, this._cb_onRelateClose = _f9e, this._bg_on.initialize(), this._img.initialize(this._type), this._img_on.initialize(this._type), this._waves.initialize(), this._description.initialize(this._type), this._onMouseOut(); }, _f95.prototype.activate = function() { var _f9g = null; 1 != this._hit_area.buttonMode && (this._hit_area.buttonMode = !0, this._hit_area.on(_f91.EventType.MOUSEOVER, this._onMouseOver), this._hit_area.on(_f91.EventType.MOUSEOUT, this._onMouseOut), this._hit_area.on(_f91.EventType.MOUSEDOWN, this._onMouseDown), this._hit_area.on(_f91.EventType.MOUSEUP, this._onMouseUp)); }, _f95.prototype.deactivate = function() { var _f9h = null; this._hit_area.buttonMode = !1, this._hit_area.off(_f91.EventType.MOUSEOVER, this._onMouseOver), this._hit_area.off(_f91.EventType.MOUSEOUT, this._onMouseOut), this._hit_area.off(_f91.EventType.MOUSEDOWN, this._onMouseDown), this._hit_area.off(_f91.EventType.MOUSEUP, this._onMouseUp), this._onMouseOut(); }, _f95.prototype.interactiveApply = function(_f9i) { var _f9j = null; this._hit_area.interactive = _f9i; }, _f95.prototype.dispose = function() { var _f9k = null; this._cb_onRelateOpen = null, this._cb_onRelateClose = null, this.deactivate(), this._hideWaves(), this._waves.dispose(), this._waves = null, this._bg_on.dispose(), this._bg_on = null, this._img.dispose(), this._img = null, this._img_on.dispose(), this._img_on = null, this._description.dispose(), this._description = null, this._hit_area.destroy(), this._hit_area = null; }, _f95.prototype._showWaves = function() { var _f9l = null; null == this._waves.parent && (this.addChild(this._waves), this._waves.startAnimation()); }, _f95.prototype._hideWaves = function() { var _f9m = null; null != this._waves.parent && (this.removeChild(this._waves), this._waves.stopAnimation()); }, _f95.prototype._setScale = function(_f9n) { var _f9o = null; this._bg_on.scale.set(_f9n), this._img.scale.set(_f9n), this._img_on.scale.set(_f9n); }, _f95; }(PIXI.Container); _f87.RingMenuBtn = _f92; }, 20129: function(_f9p, _f9q, _f9r) { 'use strict'; var _f9s = null; var _f9t, _f9u = this && this.__extends || (_f9t = function(_f9v, _f9w) { var _f9x = null; return _f9t = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_f9y, _f9z) { var _fa0 = null; _f9y.__proto__ = _f9z; } || function(_fa1, _fa2) { var _fa3 = null; for (var _fa4 in _fa2) Object.prototype.hasOwnProperty.call(_fa2, _fa4) && (_fa1[_fa4] = _fa2[_fa4]); }, _f9t(_f9v, _f9w); }, function(_fa5, _fa6) { var _fa7 = null; if ('function' != typeof _fa6 && null !== _fa6) throw new TypeError('Class extends value ' + String(_fa6) + ' is not a constructor or null'); function _fa8() { var _fa9 = null; this.constructor = _fa5; } _f9t(_fa5, _fa6), _fa5.prototype = null === _fa6 ? Object.create(_fa6) : (_fa8.prototype = _fa6.prototype, new _fa8()); }); defineModule(_f9q); Object.defineProperty(_f9q, '__esModule', { 'value': !0 }), _f9q.RingMenuBtnBgOn = void 0; var _faa = _f9r(72844), _fab = function(_fac) { var _fad = null; function _fae() { var _faf = null, _fag = _fac.call(this) || this; return _fag._img = new PIXI.Sprite(), _fag.addChild(_fag._img), _fag; } return _f9u(_fae, _fac), _fae.prototype.initialize = function() { var _fah = null; this._img.texture = _faa.PORT_RINGMENU.getTexture(7), this._img.x = -Math.round(this._img.width / 2), this._img.y = -Math.round(this._img.height / 2); }, _fae.prototype.activate = function() { var _fai = null; null == this._t && (this._t = createjs.Tween.get(this, { 'loop': !0 }).to({ 'rotation': 2 * Math.PI }, 24000)); }, _fae.prototype.deactivate = function() { var _faj = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _fae.prototype.dispose = function() { var _fak = null; this.deactivate(), this._img.destroy(), this._img = null; }, _fae; }(PIXI.Container); _f9q.RingMenuBtnBgOn = _fab; }, 59767: function(_fal, _fam, _fan) { 'use strict'; var _fao = null; var _fap, _faq = this && this.__extends || (_fap = function(_far, _fas) { var _fat = null; return _fap = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_fau, _fav) { var _faw = null; _fau.__proto__ = _fav; } || function(_fax, _fay) { var _faz = null; for (var _fb0 in _fay) Object.prototype.hasOwnProperty.call(_fay, _fb0) && (_fax[_fb0] = _fay[_fb0]); }, _fap(_far, _fas); }, function(_fb1, _fb2) { var _fb3 = null; if ('function' != typeof _fb2 && null !== _fb2) throw new TypeError('Class extends value ' + String(_fb2) + ' is not a constructor or null'); function _fb4() { var _fb5 = null; this.constructor = _fb1; } _fap(_fb1, _fb2), _fb1.prototype = null === _fb2 ? Object.create(_fb2) : (_fb4.prototype = _fb2.prototype, new _fb4()); }); defineModule(_fam); Object.defineProperty(_fam, '__esModule', { 'value': !0 }), _fam.RingMenuBtnDescription = void 0; var _fb6 = _fan(72844), _fb7 = function(_fb8) { var _fb9 = null; function _fba() { var _fbb = null, _fbc = _fb8.call(this) || this; return _fbc._img = new PIXI.Sprite(), _fbc._img.visible = !1, _fbc.addChild(_fbc._img), _fbc; } return _faq(_fba, _fb8), _fba.prototype.initialize = function(_fbd) { var _fbe = null, _fbf; if (11 == _fbd) _fbf = 9; else { if (12 == _fbd) _fbf = 14; else { if (13 == _fbd) _fbf = 10; else { if (14 == _fbd) _fbf = 11; else { if (15 == _fbd) _fbf = 8; else { if (31 != _fbd) return void(this._img.texture = PIXI.Texture.EMPTY); _fbf = 12; } } } } } this._img.texture = _fb6.PORT_RINGMENU.getTexture(_fbf); }, _fba.prototype.show = function() { var _fbg = null, _fbh = this; 1 != this._img.visible && null == this._t && (this._img.position.set(5, -23), this._img.alpha = 0, this._img.visible = !0, this._t = createjs.Tween.get(this._img).wait(400).to({ 'x': 35, 'alpha': 1 }, 100).call(function() { _fbh._t = null; })); }, _fba.prototype.hide = function() { var _fbi = null; null != this._t && (this._t.setPaused(!0), this._t = null), this._img.visible = !1; }, _fba.prototype.dispose = function() { var _fbj = null; this.hide(), this._img.destroy(), this._img = null; }, _fba; }(PIXI.Container); _fam.RingMenuBtnDescription = _fb7; }, 11360: function(_fbk, _fbl, _fbm) { 'use strict'; var _fbn = null; var _fbo, _fbp = this && this.__extends || (_fbo = function(_fbq, _fbr) { var _fbs = null; return _fbo = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_fbt, _fbu) { var _fbv = null; _fbt.__proto__ = _fbu; } || function(_fbw, _fbx) { var _fby = null; for (var _fbz in _fbx) Object.prototype.hasOwnProperty.call(_fbx, _fbz) && (_fbw[_fbz] = _fbx[_fbz]); }, _fbo(_fbq, _fbr); }, function(_fc0, _fc1) { var _fc2 = null; if ('function' != typeof _fc1 && null !== _fc1) throw new TypeError('Class extends value ' + String(_fc1) + ' is not a constructor or null'); function _fc3() { var _fc4 = null; this.constructor = _fc0; } _fbo(_fc0, _fc1), _fc0.prototype = null === _fc1 ? Object.create(_fc1) : (_fc3.prototype = _fc1.prototype, new _fc3()); }); defineModule(_fbl); Object.defineProperty(_fbl, '__esModule', { 'value': !0 }), _fbl.RingMenuBtnImg = void 0; var _fc5 = _fbm(72844), _fc6 = function(_fc7) { var _fc8 = null; function _fc9() { var _fca = null, _fcb = _fc7.call(this) || this; return _fcb._img = new PIXI.Sprite(), _fcb.addChild(_fcb._img), _fcb; } return _fbp(_fc9, _fc7), _fc9.prototype.initialize = function(_fcc) { var _fcd = null; this._img.texture = this._getTexture(_fcc), this._img.x = -Math.round(this._img.width / 2), this._img.y = -Math.round(this._img.height / 2); }, _fc9.prototype._getTexture = function(_fce) { var _fcf = null, _fcg; if (11 == _fce) _fcg = 15; else { if (12 == _fce) _fcg = 29; else { if (13 == _fce) _fcg = 17; else { if (14 == _fce) _fcg = 19; else { if (15 == _fce) _fcg = 5; else { if (31 != _fce) return PIXI.Texture.EMPTY; _fcg = 21; } } } } } return _fc5.PORT_RINGMENU.getTexture(_fcg); }, _fc9.prototype.dispose = function() { var _fch = null; this._img.destroy(), this._img = null; }, _fc9; }(PIXI.Container); _fbl.RingMenuBtnImg = _fc6; }, 87399: function(_fci, _fcj, _fck) { 'use strict'; var _fcl = null; var _fcm, _fcn = this && this.__extends || (_fcm = function(_fco, _fcp) { var _fcq = null; return _fcm = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_fcr, _fcs) { var _fct = null; _fcr.__proto__ = _fcs; } || function(_fcu, _fcv) { var _fcw = null; for (var _fcx in _fcv) Object.prototype.hasOwnProperty.call(_fcv, _fcx) && (_fcu[_fcx] = _fcv[_fcx]); }, _fcm(_fco, _fcp); }, function(_fcy, _fcz) { var _fd0 = null; if ('function' != typeof _fcz && null !== _fcz) throw new TypeError('Class extends value ' + String(_fcz) + ' is not a constructor or null'); function _fd1() { var _fd2 = null; this.constructor = _fcy; } _fcm(_fcy, _fcz), _fcy.prototype = null === _fcz ? Object.create(_fcz) : (_fd1.prototype = _fcz.prototype, new _fd1()); }); defineModule(_fcj); Object.defineProperty(_fcj, '__esModule', { 'value': !0 }), _fcj.RingMenuBtnImgOn = void 0; var _fd3 = _fck(72844), _fd4 = function(_fd5) { var _fd6 = null; function _fd7() { var _fd8 = null, _fd9 = _fd5.call(this) || this; return _fd9._img = new PIXI.Sprite(), _fd9.addChild(_fd9._img), _fd9; } return _fcn(_fd7, _fd5), _fd7.prototype.initialize = function(_fda) { var _fdb = null; this._img.texture = this._getTexture(_fda), this._img.x = 1 - Math.round(this._img.width / 2), this._img.y = 1 - Math.round(this._img.height / 2), 31 == _fda && (this._img.x += 21, this._img.y -= 8); }, _fd7.prototype._getTexture = function(_fdc) { var _fdd = null, _fde; if (11 == _fdc) _fde = 16; else { if (12 == _fdc) _fde = 30; else { if (13 == _fdc) _fde = 18; else { if (14 == _fdc) _fde = 20; else { if (15 == _fdc) _fde = 6; else { if (31 != _fdc) return PIXI.Texture.EMPTY; _fde = 22; } } } } } return _fd3.PORT_RINGMENU.getTexture(_fde); }, _fd7.prototype.dispose = function() { var _fdf = null; this._img.destroy(), this._img = null; }, _fd7; }(PIXI.Container); _fcj.RingMenuBtnImgOn = _fd4; }, 25611: function(_fdg, _fdh, _fdi) { 'use strict'; var _fdj = null; var _fdk, _fdl = this && this.__extends || (_fdk = function(_fdm, _fdn) { var _fdo = null; return _fdk = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_fdp, _fdq) { var _fdr = null; _fdp.__proto__ = _fdq; } || function(_fds, _fdt) { var _fdu = null; for (var _fdv in _fdt) Object.prototype.hasOwnProperty.call(_fdt, _fdv) && (_fds[_fdv] = _fdt[_fdv]); }, _fdk(_fdm, _fdn); }, function(_fdw, _fdx) { var _fdy = null; if ('function' != typeof _fdx && null !== _fdx) throw new TypeError('Class extends value ' + String(_fdx) + ' is not a constructor or null'); function _fdz() { var _fe0 = null; this.constructor = _fdw; } _fdk(_fdw, _fdx), _fdw.prototype = null === _fdx ? Object.create(_fdx) : (_fdz.prototype = _fdx.prototype, new _fdz()); }), _fe1 = this && this.__importDefault || function(_fe2) { var _fe3 = null; return _fe2 && _fe2.__esModule ? _fe2 : { 'default': _fe2 }; }; defineModule(_fdh); Object.defineProperty(_fdh, '__esModule', { 'value': !0 }), _fdh.RingMenuBtnRevamp = void 0; var _fe4 = _fe1(_fdi(18622)), _fe5 = _fdi(70723), _fe6 = _fdi(20129), _fe7 = _fdi(59767), _fe8 = _fdi(11360), _fe9 = _fdi(87399), _fea = _fdi(33193), _feb = _fdi(35380), _fec = function(_fed) { var _fee = null; function _fef(_feg) { var _feh = null, _fei = _fed.call(this) || this; return _fei._mouse_down = !1, _fei._open_force = !1, _fei._onMouseOver = function() { var _fej = null; _fei._mouse_down = !1, _fei._open(); }, _fei._onMouseOut = function() { var _fek = null; _fei._mouse_down = !1, _fei._close(); }, _fei._onMouseDown = function() { var _fel = null; _fei._mouse_down = !0; }, _fei._onMouseUp = function() { var _fem = null; 1 == _fei._mouse_down && _fe4.default.scene.change(_fei._type) && _fe5.SE.play('246'), _fei._mouse_down = !1; }, _fei._type = _feg, _fei._content = new _fen(), _fei._content.alpha = 0, _fei.addChild(_fei._content), _fei; } return _fdl(_fef, _fed), _fef.prototype.initialize = function() { var _feo = null; this._content.initialize(this._type, this._onMouseOver, this._onMouseOut, this._onMouseDown, this._onMouseUp), this._onMouseOut(); }, _fef.prototype.activate = function() { var _fep = null; this._content.activate(); }, _fef.prototype.deactivate = function() { var _feq = null; this._content.deactivate(), this._onMouseOut(); }, _fef.prototype.interactiveApply = function(_fer) { var _fes = null; this._content.interactiveApply(_fer); }, _fef.prototype.dispose = function() { var _fet = null; this._content.dispose(), this._stopOpenTween(), this._stopCloseTween(); }, _fef.prototype.open = function() { var _feu = null; this._open_force = !0, this._open(); }, _fef.prototype.close = function() { var _fev = null; this._open_force = !1, this._close(); }, _fef.prototype._open = function() { var _few = null, _fex = this; this._stopCloseTween(), null == this._t_open && (this._t_open = createjs.Tween.get(this._content).to({ 'x': 75, 'alpha': 1 }, 700).call(function() { var _fey = null; _fex._t_open = null; })); }, _fef.prototype._close = function() { var _fez = null, _ff0 = this; 1 != this._open_force && (this._stopOpenTween(), null == this._t_close && (this._t_close = createjs.Tween.get(this._content).to({ 'x': 0, 'alpha': 0 }, 700).call(function() { var _ff1 = null; _ff0._t_close = null; }))); }, _fef.prototype._stopOpenTween = function() { var _ff2 = null; null != this._t_open && (this._t_open.setPaused(!0), this._t_open = null); }, _fef.prototype._stopCloseTween = function() { var _ff3 = null; null != this._t_close && (this._t_close.setPaused(!0), this._t_close = null); }, _fef; }(PIXI.Container); _fdh.RingMenuBtnRevamp = _fec; var _fen = function(_ff4) { var _ff5 = null; function _ff6() { var _ff7 = null, _ff8 = _ff4.call(this) || this; return _ff8._onMouseOver = function() { var _ff9 = null; _ff8._bg_on.visible = !0, _ff8._bg_on.activate(), _ff8._img.visible = !1, _ff8._img_on.visible = !0, _ff8._showWaves(), _ff8._description.show(), null != _ff8._cb_onMouseOver && _ff8._cb_onMouseOver(); }, _ff8._onMouseOut = function() { var _ffa = null; _ff8._bg_on.visible = !1, _ff8._bg_on.deactivate(), _ff8._img.visible = !0, _ff8._img_on.visible = !1, _ff8._setScale(1), _ff8._hideWaves(), _ff8._description.hide(), null != _ff8._cb_onMouseOut && _ff8._cb_onMouseOut(); }, _ff8._onMouseDown = function() { var _ffb = null; _ff8._bg_on.visible = !0, _ff8._bg_on.deactivate(), _ff8._img.visible = !1, _ff8._img_on.visible = !0, _ff8._setScale(0.9), _ff8._hideWaves(), _ff8._description.hide(), null != _ff8._cb_onMouseDown && _ff8._cb_onMouseDown(); }, _ff8._onMouseUp = function() { var _ffc = null; _ff8._bg_on.visible = !0, _ff8._bg_on.activate(), _ff8._img.visible = !1, _ff8._img_on.visible = !0, _ff8._setScale(1), _ff8._showWaves(), _ff8._description.show(), null != _ff8._cb_onMouseUp && _ff8._cb_onMouseUp(); }, _ff8._bg_on = new _fe6.RingMenuBtnBgOn(), _ff8.addChild(_ff8._bg_on), _ff8._img = new _fe8.RingMenuBtnImg(), _ff8.addChild(_ff8._img), _ff8._img_on = new _fe9.RingMenuBtnImgOn(), _ff8.addChild(_ff8._img_on), _ff8._waves = new _fea.RingMenuWaves(), _ff8._description = new _fe7.RingMenuBtnDescription(), _ff8.addChild(_ff8._description), _ff8._hit_area = new PIXI.Graphics(), _ff8._hit_area.beginFill(0, 0), _ff8._hit_area.drawCircle(0, 0, 71), _ff8._hit_area.endFill(), _ff8.addChild(_ff8._hit_area), _ff8._hit_area.interactive = !0, _ff8; } return _fdl(_ff6, _ff4), _ff6.prototype.initialize = function(_ffd, _ffe, _fff, _ffg, _ffh) { var _ffi = null; this._bg_on.initialize(), this._img.initialize(_ffd), this._img_on.initialize(_ffd), this._waves.initialize(), this._description.initialize(_ffd), this._onMouseOut(), this._cb_onMouseOver = _ffe, this._cb_onMouseOut = _fff, this._cb_onMouseDown = _ffg, this._cb_onMouseUp = _ffh; }, _ff6.prototype.activate = function() { var _ffj = null; 1 != this._hit_area.buttonMode && (this._hit_area.buttonMode = !0, this._hit_area.on(_feb.EventType.MOUSEOVER, this._onMouseOver), this._hit_area.on(_feb.EventType.MOUSEOUT, this._onMouseOut), this._hit_area.on(_feb.EventType.MOUSEDOWN, this._onMouseDown), this._hit_area.on(_feb.EventType.MOUSEUP, this._onMouseUp)); }, _ff6.prototype.deactivate = function() { var _ffk = null; this._hit_area.buttonMode = !1, this._hit_area.off(_feb.EventType.MOUSEOVER, this._onMouseOver), this._hit_area.off(_feb.EventType.MOUSEOUT, this._onMouseOut), this._hit_area.off(_feb.EventType.MOUSEDOWN, this._onMouseDown), this._hit_area.off(_feb.EventType.MOUSEUP, this._onMouseUp); }, _ff6.prototype.interactiveApply = function(_ffl) { var _ffm = null; this._hit_area.interactive = _ffl; }, _ff6.prototype.dispose = function() { var _ffn = null; this.deactivate(), this.removeChildren(), this._hideWaves(), this._waves.dispose(), this._waves = null, this._bg_on.dispose(), this._bg_on = null, this._img.dispose(), this._img = null, this._img_on.dispose(), this._img_on = null, this._description.dispose(), this._description = null, this._hit_area.destroy(), this._hit_area = null, this._cb_onMouseOver = null, this._cb_onMouseOut = null, this._cb_onMouseDown = null, this._cb_onMouseUp = null; }, _ff6.prototype._showWaves = function() { var _ffo = null; null == this._waves.parent && (this.addChild(this._waves), this._waves.startAnimation()); }, _ff6.prototype._hideWaves = function() { var _ffp = null; null != this._waves.parent && (this.removeChild(this._waves), this._waves.stopAnimation()); }, _ff6.prototype._setScale = function(_ffq) { var _ffr = null; this._bg_on.scale.set(_ffq), this._img.scale.set(_ffq), this._img_on.scale.set(_ffq); }, _ff6; }(PIXI.Container); }, 16162: function(_ffs, _fft, _ffu) { 'use strict'; var _ffv = null; var _ffw, _ffx = this && this.__extends || (_ffw = function(_ffy, _ffz) { var _fg0 = null; return _ffw = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_fg1, _fg2) { var _fg3 = null; _fg1.__proto__ = _fg2; } || function(_fg4, _fg5) { var _fg6 = null; for (var _fg7 in _fg5) Object.prototype.hasOwnProperty.call(_fg5, _fg7) && (_fg4[_fg7] = _fg5[_fg7]); }, _ffw(_ffy, _ffz); }, function(_fg8, _fg9) { var _fga = null; if ('function' != typeof _fg9 && null !== _fg9) throw new TypeError('Class extends value ' + String(_fg9) + ' is not a constructor or null'); function _fgb() { var _fgc = null; this.constructor = _fg8; } _ffw(_fg8, _fg9), _fg8.prototype = null === _fg9 ? Object.create(_fg9) : (_fgb.prototype = _fg9.prototype, new _fgb()); }), _fgd = this && this.__importDefault || function(_fge) { var _fgf = null; return _fge && _fge.__esModule ? _fge : { 'default': _fge }; }; defineModule(_fft); Object.defineProperty(_fft, '__esModule', { 'value': !0 }), _fft.RingMenuBtnSally = void 0; var _fgg = _fgd(_ffu(18622)), _fgh = _ffu(70723), _fgi = _ffu(72844), _fgj = _ffu(33193), _fgk = _ffu(35380), _fgl = function(_fgm) { var _fgn = null; function _fgo() { var _fgp = null, _fgq = _fgm.call(this) || this; return _fgq._down_flg = !1, _fgq._onMouseOver = function() { var _fgr = null; _fgq._off.visible = !1, _fgq._on.visible = !0, _fgq._on.activate(), null == _fgq._waves.parent && (_fgq.addChild(_fgq._waves), _fgq._waves.startAnimation()), _fgq._showDescription(), _fgq._down_flg = !1; }, _fgq._onMouseOut = function() { var _fgs = null; _fgq._off.visible = !0, _fgq._on.visible = !1, _fgq._on.deactivate(), null != _fgq._waves.parent && (_fgq.removeChild(_fgq._waves), _fgq._waves.stopAnimation()), _fgq._on.scale.set(1, 1), _fgq._hideDescription(), _fgq._down_flg = !1; }, _fgq._onMouseDown = function() { var _fgt = null; _fgq._off.visible = !1, _fgq._on.visible = !0, _fgq._on.deactivate(), null != _fgq._waves.parent && (_fgq.removeChild(_fgq._waves), _fgq._waves.stopAnimation()), _fgq._on.scale.set(0.9, 0.9), _fgq._hideDescription(), _fgq._down_flg = !0; }, _fgq._onMouseUp = function() { var _fgu = null; _fgq._off.visible = !1, _fgq._on.visible = !0, _fgq._on.activate(), null == _fgq._waves.parent && (_fgq.addChild(_fgq._waves), _fgq._waves.startAnimation()), _fgq._on.scale.set(1, 1), _fgq._showDescription(), 1 == _fgq._down_flg && 1 == _fgg.default.scene.change(16) && _fgh.SE.play('246'), _fgq._down_flg = !1; }, _fgq._off = new _fgv(), _fgq.addChild(_fgq._off), _fgq._on = new _fgw(), _fgq._on.visible = !1, _fgq.addChild(_fgq._on), _fgq._hit_area = new PIXI.Graphics(), _fgq._hit_area.beginFill(0, 0), _fgq._hit_area.drawCircle(0, 0, 102), _fgq._hit_area.endFill(), _fgq.addChild(_fgq._hit_area), _fgq._hit_area.interactive = !0, _fgq._waves = new _fgj.RingMenuWaves(), _fgq; } return _ffx(_fgo, _fgm), _fgo.prototype.initialize = function() { var _fgx = null; this._off.initialize(), this._on.initialize(), this._waves.initialize(); }, _fgo.prototype.activate = function() { var _fgy = null; 1 != this._hit_area.buttonMode && (this._hit_area.buttonMode = !0, this._hit_area.on(_fgk.EventType.MOUSEOVER, this._onMouseOver), this._hit_area.on(_fgk.EventType.MOUSEOUT, this._onMouseOut), this._hit_area.on(_fgk.EventType.MOUSEDOWN, this._onMouseDown), this._hit_area.on(_fgk.EventType.MOUSEUP, this._onMouseUp)); }, _fgo.prototype.deactivate = function() { var _fgz = null; this._hit_area.buttonMode = !1, this._hit_area.off(_fgk.EventType.MOUSEOVER, this._onMouseOver), this._hit_area.off(_fgk.EventType.MOUSEOUT, this._onMouseOut), this._hit_area.off(_fgk.EventType.MOUSEDOWN, this._onMouseDown), this._hit_area.off(_fgk.EventType.MOUSEUP, this._onMouseUp), this._onMouseOut(); }, _fgo.prototype.dispose = function() { var _fh0 = null; this.deactivate(), this.removeChildren(), this._on.dispose(), this._on = null, this._off.dispose(), this._off = null, this._waves.dispose(), this._waves = null, this._hideDescription(), this._description.destroy(), this._description = null, this._hit_area.destroy(), this._hit_area = null; }, _fgo.prototype._showDescription = function() { var _fh1 = null, _fh2 = this; null == this._description && (this._description = new PIXI.Sprite(_fgi.PORT_RINGMENU.getTexture(13))), null == this._description.parent && (this._description.position.set(5, -23), this._description.alpha = 0, this.addChild(this._description), this._description_tween = createjs.Tween.get(this._description).wait(400).to({ 'x': 35, 'alpha': 1 }, 100).call(function() { var _fh3 = null; _fh2._description_tween = null; })); }, _fgo.prototype._hideDescription = function() { var _fh4 = null; null != this._description_tween && (this._description_tween.setPaused(!0), this._description_tween = null), null != this._description && null != this._description.parent && this.removeChild(this._description); }, _fgo; }(PIXI.Container); _fft.RingMenuBtnSally = _fgl; var _fgv = function(_fh5) { var _fh6 = null; function _fh7() { var _fh8 = null, _fh9 = _fh5.call(this) || this; return _fh9._left = new PIXI.Sprite(), _fh9._left.position.set(-125, 2), _fh9.addChild(_fh9._left), _fh9._right = new PIXI.Sprite(), _fh9._right.position.set(-50, 2), _fh9.addChild(_fh9._right), _fh9._gear = new PIXI.Sprite(), _fh9._gear.position.set(-102, -101), _fh9.addChild(_fh9._gear), _fh9._ship = new PIXI.Sprite(), _fh9._ship.position.set(-102, -86), _fh9.addChild(_fh9._ship), _fh9._text = new PIXI.Sprite(), _fh9._text.position.set(-69, -18), _fh9.addChild(_fh9._text), _fh9; } return _ffx(_fh7, _fh5), _fh7.prototype.initialize = function() { var _fha = null; this._left.texture = _fgi.PORT_RINGMENU.getTexture(4), this._right.texture = _fgi.PORT_RINGMENU.getTexture(3), this._gear.texture = _fgi.PORT_RINGMENU.getTexture(0), this._ship.texture = _fgi.PORT_RINGMENU.getTexture(2), this._text.texture = _fgi.PORT_RINGMENU.getTexture(1); }, _fh7.prototype.dispose = function() { var _fhb = null; this._left.destroy(), this._left = null, this._right.destroy(), this._right = null, this._gear.destroy(), this._gear = null, this._ship.destroy(), this._ship = null, this._text.destroy(), this._text = null; }, _fh7; }(PIXI.Container), _fgw = function(_fhc) { var _fhd = null; function _fhe() { var _fhf = null, _fhg = _fhc.call(this) || this; return _fhg._gear = new _fhh(), _fhg.addChild(_fhg._gear), _fhg._right = new _fhi(), _fhg.addChild(_fhg._right), _fhg._left = new _fhj(), _fhg.addChild(_fhg._left), _fhg._bg = new PIXI.Sprite(), _fhg.addChild(_fhg._bg), _fhg._ship = new _fhk(), _fhg.addChild(_fhg._ship), _fhg._text = new PIXI.Sprite(), _fhg.addChild(_fhg._text), _fhg; } return _ffx(_fhe, _fhc), _fhe.prototype.initialize = function() { var _fhl = null; this._gear.initialize(), this._right.initialize(), this._left.initialize(), this._bg.texture = _fgi.PORT_RINGMENU.getTexture(23), this._bg.x = Math.round(-this._bg.width / 2), this._bg.y = Math.round(-this._bg.height / 2), this._ship.initialize(), this._text.texture = _fgi.PORT_RINGMENU.getTexture(28), this._text.position.set(-68, -18); }, _fhe.prototype.activate = function() { var _fhm = null; this._gear.activate(), this._right.activate(), this._left.activate(), this._ship.activate(); }, _fhe.prototype.deactivate = function() { var _fhn = null; this._gear.deactivate(), this._right.deactivate(), this._left.deactivate(), this._ship.deactivate(); }, _fhe.prototype.dispose = function() { var _fho = null; this._gear.dispose(), this._gear = null, this._right.dispose(), this._right = null, this._left.dispose(), this._left = null, this._ship.dispose(), this._ship = null, this._bg.destroy(), this._bg = null, this._text.destroy(), this._text = null; }, _fhe; }(PIXI.Container), _fhh = function(_fhp) { var _fhq = null; function _fhr() { var _fhs = null, _fht = _fhp.call(this) || this; return _fht._img = new PIXI.Sprite(), _fht.addChild(_fht._img), _fht; } return _ffx(_fhr, _fhp), _fhr.prototype.initialize = function() { var _fhu = null; this._img.texture = _fgi.PORT_RINGMENU.getTexture(24), this._img.x = -Math.round(this._img.width / 2), this._img.y = -Math.round(this._img.height / 2), this._t = createjs.Tween.get(this, { 'loop': !0 }).to({ 'rotation': 2 * Math.PI }, 24000), this._t.setPaused(!0); }, _fhr.prototype.activate = function() { var _fhv = null; this._t.setPaused(!1); }, _fhr.prototype.deactivate = function() { var _fhw = null; this._t.setPaused(!0); }, _fhr.prototype.dispose = function() { var _fhx = null; this._t.setPaused(!0), this._t = null, this.rotation = 0, this._img.destroy(), this._img = null; }, _fhr; }(PIXI.Container), _fhi = function(_fhy) { var _fhz = null; function _fi0() { var _fi1 = null, _fi2 = _fhy.call(this) || this; return _fi2._img = new PIXI.Sprite(), _fi2.addChild(_fi2._img), _fi2; } return _ffx(_fi0, _fhy), _fi0.prototype.initialize = function() { var _fi3 = null; this._img.texture = _fgi.PORT_RINGMENU.getTexture(26), this._img.x = -Math.round(this._img.width / 2), this._img.y = -Math.round(this._img.height / 2), this.position.set(38, 45), this.rotation = 0; }, _fi0.prototype.activate = function() { var _fi4 = null; null == this._t && (this._t = createjs.Tween.get(this, { 'loop': !0 }).to({ 'rotation': Math.PI / 36 }, 700).to({ 'x': 62, 'y': 48 }, 800).to({ 'x': 66, 'y': 42, 'rotation': 0 }, 500).to({ 'x': 62, 'y': 38, 'rotation': -Math.PI / 60 }, 400).to({ 'x': 38, 'y': 45, 'rotation': 0 }, 1600)); }, _fi0.prototype.deactivate = function() { var _fi5 = null; this.position.set(38, 45), this.rotation = 0, null != this._t && (this._t.setPaused(!0), this._t = null); }, _fi0.prototype.dispose = function() { var _fi6 = null; this.deactivate(), this._img.destroy(), this._img = null; }, _fi0; }(PIXI.Container), _fhj = function(_fi7) { var _fi8 = null; function _fi9() { var _fia = null, _fib = _fi7.call(this) || this; return _fib._img = new PIXI.Sprite(), _fib.addChild(_fib._img), _fib; } return _ffx(_fi9, _fi7), _fi9.prototype.initialize = function() { var _fic = null; this._img.texture = _fgi.PORT_RINGMENU.getTexture(25), this._img.x = -Math.round(this._img.width / 2), this._img.y = -Math.round(this._img.height / 2), this.position.set(-38, 45), this.rotation = 0; }, _fi9.prototype.activate = function() { var _fid = null; null == this._t && (this._t = createjs.Tween.get(this, { 'loop': !0 }).to({ 'rotation': -Math.PI / 36 }, 500).to({ 'x': -59, 'y': 48 }, 800).to({ 'x': -63, 'y': 45, 'rotation': 0 }, 500).to({ 'x': -60, 'y': 42, 'rotation': Math.PI / 60 }, 400).to({ 'x': -38, 'y': 45, 'rotation': 0 }, 1800)); }, _fi9.prototype.deactivate = function() { var _fie = null; this.position.set(-38, 45), this.rotation = 0, null != this._t && (this._t.setPaused(!0), this._t = null); }, _fi9.prototype.dispose = function() { var _fif = null; this.deactivate(), this._img.destroy(), this._img = null; }, _fi9; }(PIXI.Container), _fhk = function(_fig) { var _fih = null; function _fii() { var _fij = null, _fik = _fig.call(this) || this; return _fik._img = new PIXI.Sprite(), _fik.addChild(_fik._img), _fik; } return _ffx(_fii, _fig), _fii.prototype.initialize = function() { var _fil = null; this._img.texture = _fgi.PORT_RINGMENU.getTexture(27), this._img.x = -Math.round(this._img.width / 2), this._img.y = -Math.round(this._img.height / 2), this.position.set(6, -38), this.rotation = 0; }, _fii.prototype.activate = function() { var _fim = null; null == this._t && (this._t = createjs.Tween.get(this, { 'loop': !0 }).to({ 'rotation': Math.PI / 60 }, 1000).to({ 'rotation': 0 }, 1000).to({ 'rotation': -Math.PI / 60 }, 1000).to({ 'rotation': 0 }, 1000)); }, _fii.prototype.deactivate = function() { var _fin = null; this.position.set(6, -38), this.rotation = 0, null != this._t && (this._t.setPaused(!0), this._t = null); }, _fii.prototype.dispose = function() { var _fio = null; this.deactivate(), this._img.destroy(), this._img = null; }, _fii; }(PIXI.Container); }, 33193: function(_fip, _fiq, _fir) { 'use strict'; var _fis = null; var _fit, _fiu = this && this.__extends || (_fit = function(_fiv, _fiw) { var _fix = null; return _fit = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_fiy, _fiz) { var _fj0 = null; _fiy.__proto__ = _fiz; } || function(_fj1, _fj2) { var _fj3 = null; for (var _fj4 in _fj2) Object.prototype.hasOwnProperty.call(_fj2, _fj4) && (_fj1[_fj4] = _fj2[_fj4]); }, _fit(_fiv, _fiw); }, function(_fj5, _fj6) { var _fj7 = null; if ('function' != typeof _fj6 && null !== _fj6) throw new TypeError('Class extends value ' + String(_fj6) + ' is not a constructor or null'); function _fj8() { var _fj9 = null; this.constructor = _fj5; } _fit(_fj5, _fj6), _fj5.prototype = null === _fj6 ? Object.create(_fj6) : (_fj8.prototype = _fj6.prototype, new _fj8()); }); defineModule(_fiq); Object.defineProperty(_fiq, '__esModule', { 'value': !0 }), _fiq.RingMenuWaves = void 0; var _fja = _fir(72844), _fjb = function(_fjc) { var _fjd = null; function _fje() { var _fjf = null, _fjg = _fjc.call(this) || this; return _fjg._w1 = new _fjh(), _fjg._w2 = new _fjh(), _fjg.addChild(_fjg._w1), _fjg.addChild(_fjg._w2), _fjg; } return _fiu(_fje, _fjc), _fje.prototype.initialize = function() { var _fji = null; this._w1.initialize(), this._w2.initialize(); }, _fje.prototype.dispose = function() { var _fjj = null; this._w1.dispose(), this._w1 = null, this._w2.dispose(), this._w2 = null; }, _fje.prototype.startAnimation = function() { var _fjk = null; this._w1.startAnimation(900), this._w2.startAnimation(); }, _fje.prototype.stopAnimation = function() { var _fjl = null; this._w1.stopAnimation(), this._w2.stopAnimation(); }, _fje; }(PIXI.Container); _fiq.RingMenuWaves = _fjb; var _fjh = function(_fjm) { var _fjn = null; function _fjo() { var _fjp = null, _fjq = _fjm.call(this) || this; return _fjq.scale.set(0, 0), _fjq; } return _fiu(_fjo, _fjm), _fjo.prototype.initialize = function() { var _fjr = null; this.texture = _fja.PORT_RINGMENU.getTexture(31), this.anchor.set(0.5, 0.5); }, _fjo.prototype.dispose = function() { var _fjs = null; this.stopAnimation(); }, _fjo.prototype.startAnimation = function(_fjt) { var _fju = null, _fjv = this; void 0 === _fjt && (_fjt = 0), this.stopAnimation(), _fjt > 0 ? this._waitTween = createjs.Tween.get(null).wait(_fjt).call(function() { var _fjw = null; _fjv._startAnimation(); }) : this._startAnimation(); }, _fjo.prototype._startAnimation = function() { var _fjx = null; null != this._waitTween && (this._waitTween.setPaused(!0), this._waitTween = null); var _fjy = createjs.Tween.get(this.scale, { 'loop': !0 }).to({ 'x': 0.75, 'y': 0.75 }, 1100).to({ 'x': 1, 'y': 1 }, 400).set({ 'x': 0, 'y': 0 }), _fjz = createjs.Tween.get(this, { 'loop': !0 }).wait(1100).to({ 'alpha': 0 }, 400).set({ 'alpha': 1 }); this._t = new createjs.Timeline([_fjy, _fjz], null, null), this._t.loop = !0; }, _fjo.prototype.stopAnimation = function() { var _fk0 = null; null != this._waitTween && (this._waitTween.setPaused(!0), this._waitTween = null), null != this._t && (this._t.setPaused(!0), this._t = null), this.scale.set(0, 0), this.alpha = 1; }, _fjo; }(PIXI.Sprite); }, 16374: function(_fk1, _fk2, _fk3) { 'use strict'; var _fk4 = null; var _fk5, _fk6 = this && this.__extends || (_fk5 = function(_fk7, _fk8) { var _fk9 = null; return _fk5 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_fka, _fkb) { var _fkc = null; _fka.__proto__ = _fkb; } || function(_fkd, _fke) { var _fkf = null; for (var _fkg in _fke) Object.prototype.hasOwnProperty.call(_fke, _fkg) && (_fkd[_fkg] = _fke[_fkg]); }, _fk5(_fk7, _fk8); }, function(_fkh, _fki) { var _fkj = null; if ('function' != typeof _fki && null !== _fki) throw new TypeError('Class extends value ' + String(_fki) + ' is not a constructor or null'); function _fkk() { var _fkl = null; this.constructor = _fkh; } _fk5(_fkh, _fki), _fkh.prototype = null === _fki ? Object.create(_fki) : (_fkk.prototype = _fki.prototype, new _fkk()); }); defineModule(_fk2); Object.defineProperty(_fk2, '__esModule', { 'value': !0 }), _fk2.ClockLayer = void 0; var _fkm = _fk3(8744), _fkn = _fk3(57616), _fko = _fk3(67820), _fkp = function(_fkq) { var _fkr = null; function _fks() { var _fkt = null, _fku = _fkq.call(this) || this; _fku._timer = -1, _fku._startAnimation = function() { var _fkv = null; _fku._timer < 0 && (_fku._timer = window.setInterval(_fku._onTimer, 1000)); }, _fku._stopAnimation = function() { var _fkw = null; _fku._timer >= 0 && (clearInterval(_fku._timer), _fku._timer = -1); }, _fku._onTimer = function() { var _fkx = null, _fky = new Date(), _fkz = _fky.getMonth() + 1, _fl0 = _fky.getDate(); _fku._date.text = _fkn.MathUtil.zeroPadding(_fkz, 2) + '/' + _fkn.MathUtil.zeroPadding(_fl0, 2); var _fl1 = _fky.getHours(), _fl2 = _fky.getMinutes(); _fku._time.text = _fkn.MathUtil.zeroPadding(_fl1, 2) + ':' + _fkn.MathUtil.zeroPadding(_fl2, 2); }; var _fl3 = new PIXI.Sprite(); return _fl3.name = 'bg', _fl3.position.set(0, 573), _fku.addChild(_fl3), _fku._date = new _fkm.TextBox(26, 'white'), _fku._date.anchor.set(0.5, 0), _fku._date.position.set(58, 612), _fku.addChild(_fku._date), _fku._time = new _fkm.TextBox(41, 'white'), _fku._time.anchor.set(0.5, 0), _fku._time.position.set(75, 651), _fku.addChild(_fku._time), _fku; } return _fk6(_fks, _fkq), _fks.prototype.initialize = function() { var _fl4 = null; this.getChildByName('bg').texture = _fko.PORT_MAIN.getTexture(18), this._onTimer(), this._startAnimation(); }, _fks.prototype.update = function(_fl5) { var _fl6 = null; this.visible = [0, 11, 12, 13, 14, 15, 31, 16].indexOf(_fl5) >= 0, 1 == this.visible ? this._startAnimation() : this._stopAnimation(); }, _fks.prototype.dispose = function() { var _fl7 = null; this._stopAnimation(), this.removeChildren(), this._date && this._date.destroy(), this._date = null, this._time && this._time.destroy(), this._time = null; }, _fks; }(PIXI.Container); _fk2.ClockLayer = _fkp; }, 59005: function(_fl8, _fl9, _fla) { 'use strict'; var _flb = null; var _flc, _fld = this && this.__extends || (_flc = function(_fle, _flf) { var _flg = null; return _flc = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_flh, _fli) { var _flj = null; _flh.__proto__ = _fli; } || function(_flk, _fll) { var _flm = null; for (var _fln in _fll) Object.prototype.hasOwnProperty.call(_fll, _fln) && (_flk[_fln] = _fll[_fln]); }, _flc(_fle, _flf); }, function(_flo, _flp) { var _flq = null; if ('function' != typeof _flp && null !== _flp) throw new TypeError('Class extends value ' + String(_flp) + ' is not a constructor or null'); function _flr() { var _fls = null; this.constructor = _flo; } _flc(_flo, _flp), _flo.prototype = null === _flp ? Object.create(_flp) : (_flr.prototype = _flp.prototype, new _flr()); }), _flt = this && this.__assign || function() { var _flu = null; return _flt = Object.assign || function(_flv) { var _flw = null; for (var _flx, _fly = 1, _flz = arguments.length; _fly < _flz; _fly++) for (var _fm0 in _flx = arguments[_fly]) Object.prototype.hasOwnProperty.call(_flx, _fm0) && (_flv[_fm0] = _flx[_fm0]); return _flv; }, _flt.apply(this, arguments); }, _fm1 = this && this.__importDefault || function(_fm2) { var _fm3 = null; return _fm2 && _fm2.__esModule ? _fm2 : { 'default': _fm2 }; }; defineModule(_fl9); Object.defineProperty(_fl9, '__esModule', { 'value': !0 }), _fl9.FlagShipLayer = void 0; var _fm4 = _fm1(_fla(18622)), _fm5 = _fla(65890), _fm6 = _fla(4491), _fm7 = _fla(46991), _fm8 = _fla(23949), _fm9 = _fla(89939), _fma = _fla(54011), _fmb = function(_fmc) { var _fmd = null; function _fme() { var _fmf = null, _fmg = _fmc.call(this) || this; return _fmg._touch_count = 0, _fmg._marrigaeEff = !1, _fmg._sakura = new _fm5.Sakura(), _fmg._container = new _fmh(), _fmg.addChild(_fmg._sakura), _fmg.addChild(_fmg._container), _fmg._timerBeLeftVoice = new _fm6.BeLeftVoiceTimer(), _fmg._timeSignal = new _fm7.TimeSignal(_fmg._timerBeLeftVoice), _fmg; } return _fld(_fme, _fmc), Object.defineProperty(_fme.prototype, 'container', { 'get': function() { var _fmi = null; return this._container; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fme.prototype, 'marriageEff', { 'get': function() { var _fmj = null; return this._marrigaeEff; }, 'set': function(_fmk) { var _fml = null; this._marrigaeEff != _fmk && (this._marrigaeEff = _fmk, 1 == this._marrigaeEff ? this._showMarriageEff() : this._hideMarriageEff()); }, 'enumerable': !1, 'configurable': !0 }), _fme.prototype.initialize = function(_fmm, _fmn, _fmo, _fmp, _fmq) { var _fmr = null; void 0 === _fmq && (_fmq = null), this._touch_count = 0, this._ship_mst_id = _fmm, this._ship_tired = _fmo, this._container.initialize(_fmm, _fmn, _fmp, _fmq); }, _fme.prototype.activate = function() { var _fms = null; null == this._loop_tween && (this._loop_tween = createjs.Tween.get(this._container, { 'loop': !0 }).to({ 'anim_value': Math.PI }, 5200)), this._container.animation.start(); }, _fme.prototype.deactivate = function() { var _fmt = null; null != this._loop_tween && (this._loop_tween.setPaused(!0), this._loop_tween = null), this._container.animation.stop(), this._stopVoiceTimer(); }, _fme.prototype.onMouseMove = function(_fmu) { var _fmv = null, _fmw = _fmu.getLocalPosition(this._container.chara); return this._isCharaHit(_fmw); }, _fme.prototype.onClick = function(_fmx) { var _fmy = null, _fmz = _fmx.getLocalPosition(this._container.chara), _fn0 = this._isCharaHit(_fmz); return 1 == _fn0 && this._onClick(), _fn0; }, _fme.prototype.setVoiceTimer = function() { var _fn1 = null; this._timeSignal.initialize(this._ship_mst_id), this._timerBeLeftVoice.initialize(this._ship_mst_id, this._ship_tired); }, _fme.prototype._stopVoiceTimer = function() { var _fn2 = null; this._timerBeLeftVoice.stop(), this._timeSignal.stop(); }, _fme.prototype._showMarriageEff = function() { var _fn3 = null, _fn4 = new PIXI.Rectangle(600, 0, 600, 720); this._ship_is_marriage = !0, this._sakura.startAnimation(_fn4); }, _fme.prototype._hideMarriageEff = function() { var _fn5 = null; this._ship_is_marriage = !1, this._sakura.stopAnimation(); }, _fme.prototype._isCharaHit = function(_fn6, _fn7) { var _fn8 = null; if (void 0 === _fn7 && (_fn7 = 0), _fn6.x < 0 || _fn6.y < 0 || _fn6.x > this._container.chara.width) return !1; var _fn9 = 4 * (Math.floor(_fn6.x) + this._container.chara.width * Math.floor(_fn6.y)); return null != this._container.hit_area_map && (!(_fn9 + 3 >= this._container.hit_area_map.length) && this._container.hit_area_map[_fn9 + 3] > _fn7); }, _fme.prototype._onClick = function() { var _fna = null; this._touch_count < 4 ? 1 == this._ship_is_marriage && 0 == this._touch_count ? _fm4.default.sound.voice.play(this._ship_mst_id.toString(), 28) : _fm4.default.sound.voice.playAtRandom(this._ship_mst_id.toString(), [2, 3, 4], [60, 30, 10]) : _fm4.default.sound.voice.play(this._ship_mst_id.toString(), 4), this._touch_count++, this._timerBeLeftVoice.reset(); }, _fme.prototype.dispose = function() { var _fnb = null, _fnc; this.removeChildren(), this._container.dispose(), this._container.removeChildren(), this._container = null, this._sakura.dispose(), this._sakura = null, this._timerBeLeftVoice.stop(), this._timerBeLeftVoice = null, this._timeSignal.stop(), this._timeSignal = null, null === (_fnc = this._loop_tween) || void 0 === _fnc || _fnc.setPaused(!0), this._loop_tween = null; }, _fme; }(PIXI.Container); _fl9.FlagShipLayer = _fmb; var _fmh = function(_fnd) { var _fne = null; function _fnf() { var _fng = null, _fnh = _fnd.call(this) || this; return _fnh._chara = new PIXI.Sprite(), _fnh.addChild(_fnh._chara), _fnh._animation = new _fni(), _fnh.addChild(_fnh._animation), _fnh; } return _fld(_fnf, _fnd), Object.defineProperty(_fnf.prototype, 'chara', { 'get': function() { var _fnj = null; return this._chara; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fnf.prototype, 'animation', { 'get': function() { var _fnk = null; return this._animation; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fnf.prototype, 'hit_area_map', { 'get': function() { var _fnl = null; return this._hit_area_map; }, 'enumerable': !1, 'configurable': !0 }), _fnf.prototype.initialize = function(_fnm, _fnn, _fno, _fnp) { var _fnq = null, _fnr = _fm4.default.model.basic.getFlagShipPosIDCli(), _fns = _fm8.PortConst.getMoveXValue(_fnm), _fnt = 0 == _fnr ? 0 : _fns, _fnu = PIXI.Texture.EMPTY; if (this._animation.reset(), 'full' == _fno) _fnu = _fm4.default.resources.getShip(_fnm, _fnn, _fno); else { if (null != _fnp) { var _fnv = _fm9.ObjUtil.getString(_fnp, 'ship_graph'); '' != _fnv && (_fnu = PIXI.Texture.fromFrame(_fnv)), this._animation.initialize(_fm9.ObjUtil.getObjectArray(_fnp, 'contents', [])); } } this._chara.texture = _fnu; var _fnw = new PIXI.Sprite(_fnu); this._hit_area_map = _fm4.default.settings.renderer.extract.pixels(_fnw), this.position.set(491, -88); var _fnx = this._chara.width / 2, _fny = this._chara.height / 2, _fnz = _fm4.default.model.ship_graph.get(_fnm).getPortOffset(_fnn); this._chara.position.set(-_fnx + _fnz.x + _fnt, -_fny + _fnz.y), this.positionSet(491 + _fnx, -88 + _fny), this._animation.position = this._chara.position; }, Object.defineProperty(_fnf.prototype, 'anim_value', { 'get': function() { return 0; }, 'set': function(_fo0) { var _fo1 = null, _fo2 = Math.sin(_fo0), _fo3 = 1 + 0.012 * (0.5 + 0.5 * _fo2); this.scale.set(_fo3), this.y = this._base_y - 1.5 * _fo2 * 1.8; }, 'enumerable': !1, 'configurable': !0 }), _fnf.prototype.positionSet = function(_fo4, _fo5) { var _fo6 = null; this.position.set(_fo4, _fo5), this._base_y = _fo5; }, _fnf.prototype.dispose = function() { var _fo7 = null; this._chara.destroy(), this._chara = null, this._hit_area_map = null, this._animation.dispose(), this._animation = null; }, _fnf; }(PIXI.Container), _fni = function(_fo8) { var _fo9 = null; function _foa() { var _fob = null, _foc = _fo8.call(this) || this; return _foc._sprites = [], _foc._tweens = [], _foc._enabled = !1, _foc; } return _fld(_foa, _fo8), _foa.prototype.initialize = function(_fod) { var _foe = null; if (this._sprites = [], this._tweens = [], this._enabled = !1, (null == _fod ? void 0 : _fod.length) > 0) { for (var _fof = 0, _fog = _fod; _fof < _fog.length; _fof++) { var _foh = _fog[_fof], _foi = PIXI.Texture.fromFrame(_fm9.ObjUtil.getString(_foh, 'img')), _foj = new _fma.Sprite(_foi), _fok = _fm9.ObjUtil.getBoolean(_foh, 'loop'), _fol = _fm9.ObjUtil.getNumber(_foh, 'alpha'), _fom = _foh.animation; _foj.alpha = _fol, this._sprites.push(_foj), this.addChild(_foj); for (var _fon = createjs.Tween.get(_foj, { 'loop': _fok, 'paused': !0 }), _foo = 0, _fop = _fom; _foo < _fop.length; _foo++) { var _foq = _fop[_foo]; _foq.hasOwnProperty('wait') && _fon.wait(_foq.wait); var _for = {}; _foq.hasOwnProperty('alpha') && (_for = { 'alpha': _foq.alpha }), _foq.hasOwnProperty('x') && (_for = _flt({ 'x': _foq.x }, _for)), _foq.hasOwnProperty('y') && (_for = _flt({ 'y': _foq.y }, _for)), _foq.hasOwnProperty('scaleX') && (_for = _flt({ 'scaleX': _foq.scaleX }, _for)), _foq.hasOwnProperty('scaleY') && (_for = _flt({ 'scaleY': _foq.scaleY }, _for)); var _fos = 0; _foq.hasOwnProperty('duration') && (_fos = _foq.duration), _fon.to(_for, _fos), this._tweens.push(_fon); } } this._enabled = !0; } }, _foa.prototype.start = function() { var _fot = null; this._enabled && (this.stop(), this._tweens.forEach(function(_fou) { var _fov = null; null != _fou && _fou.setPaused(!1); })); }, _foa.prototype.reset = function() { var _fow = null, _fox = this; this._tweens.forEach(function(_foy) { var _foz = null; null != _foy && _foy.setPaused(!0); }), this.removeChildren(), this._sprites.forEach(function(_fp0) { var _fp1 = null; null != _fp0 && _fox.removeChild(_fp0); }); }, _foa.prototype.stop = function() { var _fp2 = null; this._tweens.forEach(function(_fp3) { var _fp4 = null; null != _fp3 && _fp3.setPaused(!0); }), this._sprites.forEach(function(_fp5) { var _fp6 = null; null != _fp5 && (_fp5.alpha = 0); }); }, _foa.prototype.dispose = function() { var _fp7 = null; this.stop(), this.removeChildren(), this._sprites.forEach(function(_fp8) { var _fp9 = null; return _fp8.destroy(); }); }, _foa; }(PIXI.Container); }, 69219: function(_fpa, _fpb, _fpc) { 'use strict'; var _fpd = null; var _fpe, _fpf = this && this.__extends || (_fpe = function(_fpg, _fph) { var _fpi = null; return _fpe = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_fpj, _fpk) { var _fpl = null; _fpj.__proto__ = _fpk; } || function(_fpm, _fpn) { var _fpo = null; for (var _fpp in _fpn) Object.prototype.hasOwnProperty.call(_fpn, _fpp) && (_fpm[_fpp] = _fpn[_fpp]); }, _fpe(_fpg, _fph); }, function(_fpq, _fpr) { var _fps = null; if ('function' != typeof _fpr && null !== _fpr) throw new TypeError('Class extends value ' + String(_fpr) + ' is not a constructor or null'); function _fpt() { var _fpu = null; this.constructor = _fpq; } _fpe(_fpq, _fpr), _fpq.prototype = null === _fpr ? Object.create(_fpr) : (_fpt.prototype = _fpr.prototype, new _fpt()); }), _fpv = this && this.__importDefault || function(_fpw) { var _fpx = null; return _fpw && _fpw.__esModule ? _fpw : { 'default': _fpw }; }; defineModule(_fpb); Object.defineProperty(_fpb, '__esModule', { 'value': !0 }), _fpb.FrameLayer = void 0; var _fpy = _fpc(4918), _fpz = _fpc(48351), _fq0 = _fpc(3252), _fq1 = _fpc(16896), _fq2 = _fpc(11751), _fq3 = _fpc(35380), _fq4 = _fpv(_fpc(18622)), _fq5 = _fpc(7195), _fq6 = _fpc(23949), _fq7 = function(_fq8) { var _fq9 = null; function _fqa() { var _fqb = null, _fqc = _fq8.call(this) || this; _fqc._gear = new _fq2.Gear(), _fqc._gear.position.set(1242, 758), _fqc.addChild(_fqc._gear), _fqc._side = new PIXI.Sprite(), _fqc.addChild(_fqc._side), _fqc._side.interactive = !0, _fqc._side.buttonMode = !0; var _fqd = _fqc._side.position.y; return _fqc._side.addListener(_fq3.EventType.MOUSEOVER, function() { var _fqe = null; _fqc._side.buttonMode = 0 == _fq4.default.scene.now; }), _fqc._side.addListener(_fq3.EventType.CLICK, function() { var _fqf = null; if (0 == _fq4.default.scene.now) { var _fqg = _fq4.default.model.deck.get(1).getShipModel(0), _fqh = _fq4.default.model.basic.getFlagShipPosIDCli(), _fqi = _fq4.default.view.getNowScene().flagShip.container, _fqj = _fq6.PortConst.getMoveXValue(_fqg.mstID), _fqk = 0; 0 == _fqh ? (_fqk = _fqi.position.x + _fqj, _fqh = 1) : (_fqk = _fqi.position.x - _fqj, _fqh = 0); var _fql = _fq5['$_$'].Parallel(function() { var _fqm = null; return _fq5['$_$'].Sequence(function() { var _fqn = null; return _fq5['$_$'].Value(_fqc._side.position, { 'y': _fqd - 20 }, 150); }, function() { var _fqo = null; return _fq5['$_$'].Value(_fqc._side.position, { 'y': _fqd + 15 }, 150); }, function() { var _fqp = null; return _fq5['$_$'].Value(_fqc._side.position, { 'y': _fqd - 10 }, 100); }, function() { var _fqq = null; return _fq5['$_$'].Value(_fqc._side.position, { 'y': _fqd + 5 }, 100); }, function() { var _fqr = null; return _fq5['$_$'].Value(_fqc._side.position, { 'y': _fqd }, 100); }); }, function() { var _fqs = null; return _fq5['$_$'].Value(_fqi.position, { 'x': _fqk }, 600, createjs.Ease.cubicOut); }); _fq4.default.view.clickGuard = !0, _fql.execute(function() { var _fqt = null; _fql.dispose(), _fq4.default.view.clickGuard = !1, _fq4.default.model.basic.setFlagShipPosIDCli(_fqh); }); } }), _fqc._btm = new PIXI.Sprite(), _fqc.addChild(_fqc._btm), _fqc; } return _fpf(_fqa, _fq8), _fqa.prototype.initialize = function(_fqu) { var _fqv = null; this.changeSkin(_fqu), this._gear.activate(); }, _fqa.prototype.changeSkin = function(_fqw) { var _fqx = null; 101 == _fqw || 102 == _fqw ? (this._side.texture = _fpy.PORT_SKIN_1.getTexture(13), this._btm.texture = _fpy.PORT_SKIN_1.getTexture(11), this._btm.position.set(388, 706)) : 201 == _fqw ? (this._side.texture = _fpz.PORT_SKIN_2.getTexture(5), this._btm.texture = _fpz.PORT_SKIN_2.getTexture(3), this._btm.position.set(382, 705)) : 301 == _fqw ? (this._side.texture = _fq0.PORT_SKIN_3.getTexture(5), this._btm.texture = _fq0.PORT_SKIN_3.getTexture(3), this._btm.position.set(387, 707)) : 311 == _fqw ? (this._side.texture = _fq1.PORT_SKIN_3K.getTexture(21), this._btm.texture = _fq1.PORT_SKIN_3K.getTexture(19), this._btm.position.set(387, 707)) : (this._side.texture = PIXI.Texture.EMPTY, this._btm.texture = PIXI.Texture.EMPTY); var _fqy = PIXI.Texture.EMPTY; _fqy = 101 == _fqw || 102 == _fqw ? _fpy.PORT_SKIN_1.getTexture(2) : 201 == _fqw ? _fpz.PORT_SKIN_2.getTexture(2) : 301 == _fqw ? _fq0.PORT_SKIN_3.getTexture(2) : 311 == _fqw ? _fq1.PORT_SKIN_3K.getTexture(6) : PIXI.Texture.EMPTY, this._gear.setUp(_fqy); }, _fqa.prototype.update = function(_fqz) { var _fr0 = null; 0 == _fqz ? (this.visible = !0, this._gear.visible = !0) : 11 == _fqz || 12 == _fqz || 13 == _fqz || 14 == _fqz || 15 == _fqz || 31 == _fqz || 16 == _fqz ? (this.visible = !0, this._gear.visible = !1) : (this.visible = !1, this._gear.visible = !1); }, _fqa.prototype.dispose = function() { var _fr1 = null; this._gear.dispose(); }, _fqa; }(PIXI.Container); _fpb.FrameLayer = _fq7; }, 95234: function(_fr2, _fr3, _fr4) { 'use strict'; var _fr5 = null; var _fr6, _fr7 = this && this.__extends || (_fr6 = function(_fr8, _fr9) { var _fra = null; return _fr6 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_frb, _frc) { var _frd = null; _frb.__proto__ = _frc; } || function(_fre, _frf) { var _frg = null; for (var _frh in _frf) Object.prototype.hasOwnProperty.call(_frf, _frh) && (_fre[_frh] = _frf[_frh]); }, _fr6(_fr8, _fr9); }, function(_fri, _frj) { var _frk = null; if ('function' != typeof _frj && null !== _frj) throw new TypeError('Class extends value ' + String(_frj) + ' is not a constructor or null'); function _frl() { var _frm = null; this.constructor = _fri; } _fr6(_fri, _frj), _fri.prototype = null === _frj ? Object.create(_frj) : (_frl.prototype = _frj.prototype, new _frl()); }); defineModule(_fr3); Object.defineProperty(_fr3, '__esModule', { 'value': !0 }), _fr3.RingMenuLayer = void 0; var _frn = _fr4(1851), _fro = _fr4(25611), _frp = _fr4(16162), _frq = _fr4(33193), _frr = function(_frs) { var _frt = null; function _fru() { var _frv = null, _frw = _frs.call(this) || this; return _frw._onRevampOpen = function() { var _frx = null; null != _frw._revamp && _frw._revamp.open(); }, _frw._onRevampClose = function() { var _fry = null; null != _frw._revamp && _frw._revamp.close(); }, _frw._waves = new _frq.RingMenuWaves(), _frw._organize = new _frn.RingMenuBtn(11), _frw._organize.position.set(297, 203), _frw._supply = new _frn.RingMenuBtn(12), _frw._supply.position.set(117, 333), _frw._remodel = new _frn.RingMenuBtn(13), _frw._remodel.position.set(476, 333), _frw._repair = new _frn.RingMenuBtn(14), _frw._repair.position.set(186, 543), _frw._arsenal = new _frn.RingMenuBtn(15), _frw._arsenal.position.set(407, 543), _frw._sally = new _frp.RingMenuBtnSally(), _frw._sally.position.set(296, 390), _frw.addChild(_frw._remodel), _frw.addChild(_frw._arsenal), _frw.addChild(_frw._sally), _frw.addChild(_frw._organize), _frw.addChild(_frw._repair), _frw.addChild(_frw._supply), _frw; } return _fr7(_fru, _frs), _fru.prototype.initialize = function() { var _frz = null; this._waves.initialize(), this._organize.initialize(), this._supply.initialize(), this._remodel.initialize(), this._repair.initialize(), this._arsenal.initialize(this._onRevampOpen, this._onRevampClose), this._sally.initialize(), this._baseX = this.x, this._presetX = -(this.x + Math.floor(this.width / 3)); }, _fru.prototype.activate = function() { var _fs0 = null; this._organize.activate(), this._supply.activate(), this._remodel.activate(), this._repair.activate(), this._arsenal.activate(), this._sally.activate(), null != this._revamp && this._revamp.activate(); }, _fru.prototype.deactivate = function() { var _fs1 = null; this._organize.deactivate(), this._supply.deactivate(), this._remodel.deactivate(), this._repair.deactivate(), this._arsenal.deactivate(), this._sally.deactivate(), null != this._revamp && this._revamp.deactivate(); }, _fru.prototype.prePosition = function() { var _fs2 = null; this.x = this._presetX, this.alpha = 0; }, _fru.prototype.startAnimation = function() { var _fs3 = null, _fs4 = this; this._interactive(!1), createjs.Tween.get(this).wait(200).to({ 'x': this._baseX, 'alpha': 1 }, 300, createjs.Ease.quadOut).call(function() { var _fs5 = null; _fs4._interactive(!0); }); }, _fru.prototype.dispose = function() { var _fs6 = null; this.removeChildren(), this._waves.dispose(), this._waves = null, this._organize.dispose(), this._organize = null, this._supply.dispose(), this._supply = null, this._remodel.dispose(), this._remodel = null, this._repair.dispose(), this._repair = null, this._arsenal.dispose(), this._arsenal = null, this._sally.dispose(), this._sally = null, null != this._revamp && (this._revamp.dispose(), this._revamp = null); }, _fru.prototype.setRevampFlg = function(_fs7) { var _fs8 = null; 1 == _fs7 ? this._addRevampBtn() : this._removeRevampBtn(); }, _fru.prototype._addRevampBtn = function() { var _fs9 = null; null == this._revamp && (this._revamp = new _fro.RingMenuBtnRevamp(31), this._revamp.position.set(407, 543), this._revamp.initialize(), this._revamp.activate(), this.addChildAt(this._revamp, 0)); }, _fru.prototype._removeRevampBtn = function() { var _fsa = null; null != this._revamp && (null != this._revamp.parent && this._revamp.parent.removeChild(this._revamp), this._revamp.dispose(), this._revamp = null); }, _fru.prototype._interactive = function(_fsb) { var _fsc = null; this._organize.interactiveApply(_fsb), this._supply.interactiveApply(_fsb), this._remodel.interactiveApply(_fsb), this._repair.interactiveApply(_fsb), this._arsenal.interactiveApply(_fsb), null != this._revamp && this._revamp.interactiveApply(_fsb); }, _fru; }(PIXI.Container); _fr3.RingMenuLayer = _frr; }, 65181: function(_fsd, _fse, _fsf) { 'use strict'; var _fsg = null; var _fsh = this && this.__importDefault || function(_fsi) { var _fsj = null; return _fsi && _fsi.__esModule ? _fsi : { 'default': _fsi }; }; defineModule(_fse); Object.defineProperty(_fse, '__esModule', { 'value': !0 }), _fse.CombineUtil = void 0; var _fsk, _fsl = _fsh(_fsf(18622)), _fsm = _fsf(18343); ! function(_fsn) { var _fso = null, _fsp = { 60: [1, 2], 51: [2], 52: [3, 4], 58: [3, 4, 5, 6, 8, 9, 10], 53: [5, 6], 54: [8, 9, 10], 55: [7, 11, 18], 57: [11, 18], 56: [16], 59: [8, 9], 61: [13, 14], 62: [9, 10] }; function _fsq(_fsr, _fss) { var _fst = null, _fsu = _fss.shipTypeID, _fsv = _fss.mstID, _fsw = _fsm.ShipUtil.getSpeedType(_fss.speed), _fsx = _fsl.default.model.ship.getMst(_fss.mstID).taisen_base; _fsr[_fsu]++, -1 != _fsp[60].indexOf(_fsu) && _fsr[60]++, -1 != _fsp[53].indexOf(_fsu) && _fsr[53]++, -1 != _fsp[52].indexOf(_fsu) && _fsr[52]++, -1 != _fsp[55].indexOf(_fsu) && _fsr[55]++, -1 != _fsp[51].indexOf(_fsu) && _fsr[51]++, -1 != _fsp[57].indexOf(_fsu) && _fsr[57]++, -1 != _fsp[54].indexOf(_fsu) && _fsr[54]++, -1 != _fsp[59].indexOf(_fsu) && _fsr[59]++, -1 != _fsp[61].indexOf(_fsu) && _fsr[61]++, -1 != _fsp[56].indexOf(_fsu) && _fsr[56]++, -1 != _fsp[58].indexOf(_fsu) && _fsr[58]++; var _fsy = 364 == _fsv && -1 != [2, 1, 0].indexOf(_fsw); 8 != _fsu && (-1 == _fsp[62].indexOf(_fsu) || 1 != _fsw && 0 != _fsw) && 1 != _fsy || _fsr[63]++, -1 == _fsp[62].indexOf(_fsu) || 2 != _fsw && 3 != _fsw && 4 != _fsw || 0 != _fsy || _fsr[62]++, 7 == _fsu && _fsx > 0 && _fsr[64]++; } function _fsz(_ft0, _ft1, _ft2, _ft3) { _ft0[_ft2] < 3 && ('' != _ft1[_ft2] && (_ft1[_ft2] = _ft1[_ft2] + '\x0a'), _ft1[_ft2] = _ft1[_ft2] + _ft3, _ft0[_ft2]++); } _fsn.initArray = function() { var _ft4 = null; for (var _ft5 = new Array(), _ft6 = 0; _ft6 <= 99; _ft6++) _ft5.push(0); return _ft5; }, _fsn.checkCombinable = function(_ft7, _ft8, _ft9) { var _fta = null; for (var _ftb = [0, 0], _ftc = ['', ''], _ftd = _ft7.getShipList(), _fte = _ft8.getShipList(), _ftf = 0 == _fte.indexOf(null), _ftg = _fsn.initArray(), _fth = _fsn.initArray(), _fti = 0; _fti < 6; _fti++) { var _ftj = _ftd[_fti]; null != _ftj && _fsq(_ftg, _ftj); } for (_fti = 0; _fti < 6; _fti++) { var _ftk = _fte[_fti]; null != _ftk && _fsq(_fth, _ftk); } if (_ftf) _fsz(_ftb, _ftc, 1, '第2艦隊が空です。'); else { if (null != _ft8.expedition) _fsz(_ftb, _ftc, 1, '第' + _ft8 + '艦隊が遠征中です。'); else { var _ftl = _fte[0]; switch (_ft9) { case 2: case 1: _fth[3] < 1 && _fsz(_ftb, _ftc, 1, '軽巡洋艦の配備が必要です。'), _fth[3] > 1 && _fsz(_ftb, _ftc, 1, '軽巡洋艦を2隻以上配備できません。'), _fth[51] < 2 && _fsz(_ftb, _ftc, 1, '駆逐艦2隻以上の配備が必要です。'), _fth[53] > 2 && _fsz(_ftb, _ftc, 1, '重巡級を3隻以上配備できません。'), _fth[56] > 1 && _fsz(_ftb, _ftc, 1, '水上機母艦を2隻以上配備できません。'), _fth[62] > 0 && _fsz(_ftb, _ftc, 1, '低速戦艦は配備できません。'), _fth[63] > 2 && _fsz(_ftb, _ftc, 1, '高速戦艦を3隻以上配備できません。'), _fth[57] > 0 && _fsz(_ftb, _ftc, 1, '正規空母は配備できません。'), _fth[7] > 1 && _fsz(_ftb, _ftc, 1, '軽空母を2隻以上配備できません。'), (13 == _ftl.shipTypeID || 14 == _ftl.shipTypeID) && _fsz(_ftb, _ftc, 1, '連合艦隊旗艦は潜水艦不可です。'); break; case 3: _fth[60] < 3 && _fsz(_ftb, _ftc, 1, '警戒隊は3隻以上の駆逐級が必要です。'), 3 != _ftl.shipTypeID && 21 != _ftl.shipTypeID && _fsz(_ftb, _ftc, 1, '警戒隊は軽巡/練巡の旗艦が必要です。'), _fth[4] > 0 && _fsz(_ftb, _ftc, 1, '警戒隊に重雷装艦は配備できません。'), _fth[55] > 0 && _fsz(_ftb, _ftc, 1, '警戒隊に航空母艦は配備できません。'), _fth[54] > 0 && _fsz(_ftb, _ftc, 1, '警戒隊に戦艦は配備できません。'), _fth[61] > 0 && _fsz(_ftb, _ftc, 1, '警戒隊に潜水艦は配備できません。'), _fth[16] > 0 && _fsz(_ftb, _ftc, 1, '警戒隊に水上機母艦は配備できません。'), _fth[17] > 0 && _fsz(_ftb, _ftc, 1, '警戒隊に揚陸艦は配備できません。'), _fth[19] > 0 && _fsz(_ftb, _ftc, 1, '警戒隊に工作艦は配備できません。'), _fth[20] > 0 && _fsz(_ftb, _ftc, 1, '警戒隊に潜水母艦は配備できません。'), _fth[22] > 0 && _fsz(_ftb, _ftc, 1, '警戒隊に補給艦は配備できません。'), _fth[5] + _fth[6] > 2 && _fsz(_ftb, _ftc, 1, '重巡/航巡を計3隻以上配備できません。'), _fth[3] + _fth[21] > 2 && _fsz(_ftb, _ftc, 1, '警戒隊への軽巡級配備は最大2隻!'); } var _ftm = _ftd[0]; switch (_ft9) { case 3: _ftg[60] < 4 && _fsz(_ftb, _ftc, 0, '輸送本隊は駆逐級4隻以上が必要です。'), _ftg[4] > 0 && _fsz(_ftb, _ftc, 0, '輸送本隊に重雷装艦は配備できません。'), _ftg[5] > 0 && _fsz(_ftb, _ftc, 0, '輸送本隊に重巡洋艦は配備できません。'), _ftg[57] > 0 && _fsz(_ftb, _ftc, 0, '輸送本隊に航空母艦は配備できません。'), _ftg[7] - _ftg[64] > 0 && _fsz(_ftb, _ftc, 0, '輸送本隊に航空母艦は配備できません。'), _ftg[59] > 0 && _fsz(_ftb, _ftc, 0, '輸送本隊に戦艦は配備できません。'), _ftg[61] > 0 && _fsz(_ftb, _ftc, 0, '輸送本隊に潜水艦は配備できません。'), _ftg[19] > 1 && _fsz(_ftb, _ftc, 0, '工作艦を2隻以上配備できません。'), _ftg[64] > 1 && _fsz(_ftb, _ftc, 0, '輸送本隊への軽空母配備は最大1隻!'); break; case 1: _ftg[55] < 2 && _fsz(_ftb, _ftc, 0, '空母2隻以上の配備が必要です。'), _ftg[55] > 4 && _fsz(_ftb, _ftc, 0, '空母5隻以上は配備できません。'), _ftg[54] > 2 && _fsz(_ftb, _ftc, 0, '戦艦3隻以上は配備できません。'), (13 == _ftm.shipTypeID || 14 == _ftm.shipTypeID) && _fsz(_ftb, _ftc, 0, '連合艦隊旗艦は潜水艦不可です。'); break; case 2: _ftg[54] > 4 && _fsz(_ftb, _ftc, 0, '戦艦5隻以上は配備できません。'), _ftg[53] > 4 && _fsz(_ftb, _ftc, 0, '重巡級5隻以上は配備できません。'), _ftg[58] < 2 && _fsz(_ftb, _ftc, 0, '複数の巡洋艦以上の艦艇が必要です。'), _ftg[57] > 1 && _fsz(_ftb, _ftc, 0, '複数の正規空母は配備できません。'), 1 == _ftg[57] && _ftg[7] > 0 && _fsz(_ftb, _ftc, 0, '正規空母を含む2隻以上の航空母艦を配\n備できません。'), 0 == _ftg[57] && _ftg[7] > 2 && _fsz(_ftb, _ftc, 0, '3隻以上の航空母艦は配備できません。'), (13 == _ftm.shipTypeID || 14 == _ftm.shipTypeID) && _fsz(_ftb, _ftc, 0, '連合艦隊旗艦は潜水艦不可です。'); } } } return '' == _ftc[0] && '' == _ftc[1] ? [!0, '', ''] : [!1, _ftc[0], _ftc[1]]; }; }(_fsk || (_fse.CombineUtil = _fsk = {})); }, 7665: function(_ftn, _fto, _ftp) { 'use strict'; var _ftq = null; var _ftr, _fts = this && this.__extends || (_ftr = function(_ftt, _ftu) { var _ftv = null; return _ftr = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ftw, _ftx) { var _fty = null; _ftw.__proto__ = _ftx; } || function(_ftz, _fu0) { var _fu1 = null; for (var _fu2 in _fu0) Object.prototype.hasOwnProperty.call(_fu0, _fu2) && (_ftz[_fu2] = _fu0[_fu2]); }, _ftr(_ftt, _ftu); }, function(_fu3, _fu4) { var _fu5 = null; if ('function' != typeof _fu4 && null !== _fu4) throw new TypeError('Class extends value ' + String(_fu4) + ' is not a constructor or null'); function _fu6() { var _fu7 = null; this.constructor = _fu3; } _ftr(_fu3, _fu4), _fu3.prototype = null === _fu4 ? Object.create(_fu4) : (_fu6.prototype = _fu4.prototype, new _fu6()); }), _fu8 = this && this.__importDefault || function(_fu9) { var _fua = null; return _fu9 && _fu9.__esModule ? _fu9 : { 'default': _fu9 }; }; defineModule(_fto); Object.defineProperty(_fto, '__esModule', { 'value': !0 }), _fto.MamiyaOption = _fto.OrganizeConst = void 0; var _fub, _fuc = _fu8(_ftp(18622)), _fud = _ftp(80534), _fue = _ftp(90606), _fuf = _ftp(31984), _fug = _ftp(74330), _fuh = _ftp(63727), _fui = _ftp(18575), _fuj = _ftp(95632); ! function(_fuk) { var _ful = null; _fuk.EXTENDS_MAX = 19, _fuk.MAMIYA_DIALOG_VOICE = [ [11, 12], [50, 50] ], _fuk.IRAKO_DIALOG_VOICE = [ [13, 14], [50, 50] ], _fuk.MAMIYA_AND_IRAKO_DIALOG_VOICE = [ [15, 16], [50, 50] ], _fuk.MAMIYA_MAX_EFFECT = 24, _fuk.MAMIYA_EFFECT_WAIT = 100 * (_fuk.MAMIYA_MAX_EFFECT / 2 - 1) + 400; var _fum = null; _fuk.getMamiyaOption = function() { var _fun = null; switch (_fud.MAMIYA_IRAKO_SEASON) { case 4: _fum = new _fuo(); break; case 3: _fum = new _fup(); break; case 2: _fum = new _fuq(); break; case 1: _fum = new _fur(); break; default: _fum = new _fus(); } return _fum; }; }(_fub || (_fto.OrganizeConst = _fub = {})); var _fut = (function() { var _fuu = null; function _fuv() {} return _fuv.prototype.playVoiceDialogMamiya = function() { var _fuw = null; _fuc.default.sound.voice.playAtRandom('9999', [11, 12], [50, 50]); }, _fuv.prototype.playVoiceDialogIrako = function() { var _fux = null; _fuc.default.sound.voice.playAtRandom('9999', [13, 14], [50, 50]); }, _fuv.prototype.playVoiceDialogMamiyaIrako = function() { var _fuy = null; _fuc.default.sound.voice.playAtRandom('9999', [15, 16], [50, 50]); }, _fuv.prototype.playVoiceAnimationMamiya = function() { var _fuz = null; _fuc.default.sound.voice.playAtRandom('9999', [21, 22], [50, 50]); }, _fuv.prototype.playVoiceAnimationIrako = function() { var _fv0 = null; _fuc.default.sound.voice.playAtRandom('9999', [23, 24], [50, 50]); }, _fuv.prototype.playVoiceAnimationMamiyaIrako = function() { var _fv1 = null; _fuc.default.sound.voice.playAtRandom('9999', [25, 26], [50, 50]); }, _fuv; }()); _fto.MamiyaOption = _fut; var _fus = function(_fv2) { var _fv3 = null; function _fv4() { var _fv5 = null, _fv6 = null !== _fv2 && _fv2.apply(this, arguments) || this; return _fv6._DIALOG = _fue.ORGANIZE_HOKYU_DIALOG_DEFAULT, _fv6._ANIMATION = _fuh.ORGANIZE_MAMIYA_ANIMATION_DEFAULT, _fv6; } return _fts(_fv4, _fv2), Object.defineProperty(_fv4.prototype, 'res_info3', { 'get': function() { var _fv7 = null; return this._DIALOG.getTexture(6); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fv4.prototype, 'res_info4', { 'get': function() { var _fv8 = null; return this._DIALOG.getTexture(7); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fv4.prototype, 'res_info5', { 'get': function() { var _fv9 = null; return this._DIALOG.getTexture(8); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fv4.prototype, 'res_info6', { 'get': function() { var _fva = null; return this._DIALOG.getTexture(9); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fv4.prototype, 'res_btn_mamiya', { 'get': function() { var _fvb = null; return this._DIALOG.getTexture(4); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fv4.prototype, 'res_btn_mamiya_g', { 'get': function() { var _fvc = null; return this._DIALOG.getTexture(5); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fv4.prototype, 'res_btn_irako', { 'get': function() { var _fvd = null; return this._DIALOG.getTexture(0); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fv4.prototype, 'res_btn_irako_g', { 'get': function() { var _fve = null; return this._DIALOG.getTexture(1); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fv4.prototype, 'res_btn_m_i', { 'get': function() { var _fvf = null; return this._DIALOG.getTexture(2); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fv4.prototype, 'res_btn_m_i_g', { 'get': function() { var _fvg = null; return this._DIALOG.getTexture(3); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fv4.prototype, 'res_mamiya', { 'get': function() { var _fvh = null; return this._ANIMATION.getTexture(0); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fv4.prototype, 'res_irako', { 'get': function() { var _fvi = null; return this._ANIMATION.getTexture(1); }, 'enumerable': !1, 'configurable': !0 }), _fv4; }(_fut), _fur = function(_fvj) { var _fvk = null; function _fvl() { var _fvm = null, _fvn = null !== _fvj && _fvj.apply(this, arguments) || this; return _fvn._DIALOG = _fue.ORGANIZE_HOKYU_DIALOG_DEFAULT, _fvn._ANIMATION = _fuh.ORGANIZE_MAMIYA_ANIMATION_DEFAULT, _fvn; } return _fts(_fvl, _fvj), Object.defineProperty(_fvl.prototype, 'res_info3', { 'get': function() { var _fvo = null; return this._DIALOG.getTexture(6); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fvl.prototype, 'res_info4', { 'get': function() { var _fvp = null; return this._DIALOG.getTexture(7); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fvl.prototype, 'res_info5', { 'get': function() { var _fvq = null; return this._DIALOG.getTexture(8); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fvl.prototype, 'res_info6', { 'get': function() { var _fvr = null; return this._DIALOG.getTexture(9); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fvl.prototype, 'res_btn_mamiya', { 'get': function() { var _fvs = null; return this._DIALOG.getTexture(4); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fvl.prototype, 'res_btn_mamiya_g', { 'get': function() { var _fvt = null; return this._DIALOG.getTexture(5); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fvl.prototype, 'res_btn_irako', { 'get': function() { var _fvu = null; return this._DIALOG.getTexture(0); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fvl.prototype, 'res_btn_irako_g', { 'get': function() { var _fvv = null; return this._DIALOG.getTexture(1); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fvl.prototype, 'res_btn_m_i', { 'get': function() { var _fvw = null; return this._DIALOG.getTexture(2); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fvl.prototype, 'res_btn_m_i_g', { 'get': function() { var _fvx = null; return this._DIALOG.getTexture(3); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fvl.prototype, 'res_mamiya', { 'get': function() { var _fvy = null; return this._ANIMATION.getTexture(0); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fvl.prototype, 'res_irako', { 'get': function() { var _fvz = null; return this._ANIMATION.getTexture(1); }, 'enumerable': !1, 'configurable': !0 }), _fvl.prototype.playVoiceDialogMamiya = function() { var _fw0 = null; _fuc.default.sound.voice.playAtRandom('9999', [27, 12], [50, 50]); }, _fvl.prototype.playVoiceDialogIrako = function() { var _fw1 = null; _fuc.default.sound.voice.playAtRandom('9999', [28, 14], [50, 50]); }, _fvl; }(_fut), _fuq = function(_fw2) { var _fw3 = null; function _fw4() { var _fw5 = null, _fw6 = null !== _fw2 && _fw2.apply(this, arguments) || this; return _fw6._DIALOG = _fuf.ORGANIZE_HOKYU_DIALOG_XMAS, _fw6._ANIMATION = _fui.ORGANIZE_MAMIYA_ANIMATION_XMAS, _fw6; } return _fts(_fw4, _fw2), Object.defineProperty(_fw4.prototype, 'res_info3', { 'get': function() { var _fw7 = null; return this._DIALOG.getTexture(6); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fw4.prototype, 'res_info4', { 'get': function() { var _fw8 = null; return this._DIALOG.getTexture(7); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fw4.prototype, 'res_info5', { 'get': function() { var _fw9 = null; return this._DIALOG.getTexture(8); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fw4.prototype, 'res_info6', { 'get': function() { var _fwa = null; return this._DIALOG.getTexture(9); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fw4.prototype, 'res_btn_mamiya', { 'get': function() { var _fwb = null; return this._DIALOG.getTexture(4); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fw4.prototype, 'res_btn_mamiya_g', { 'get': function() { var _fwc = null; return this._DIALOG.getTexture(5); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fw4.prototype, 'res_btn_irako', { 'get': function() { var _fwd = null; return this._DIALOG.getTexture(0); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fw4.prototype, 'res_btn_irako_g', { 'get': function() { var _fwe = null; return this._DIALOG.getTexture(1); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fw4.prototype, 'res_btn_m_i', { 'get': function() { var _fwf = null; return this._DIALOG.getTexture(2); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fw4.prototype, 'res_btn_m_i_g', { 'get': function() { var _fwg = null; return this._DIALOG.getTexture(3); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fw4.prototype, 'res_mamiya', { 'get': function() { var _fwh = null; return this._ANIMATION.getTexture(0); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fw4.prototype, 'res_irako', { 'get': function() { var _fwi = null; return this._ANIMATION.getTexture(1); }, 'enumerable': !1, 'configurable': !0 }), _fw4.prototype.playVoiceDialogMamiya = function() { var _fwj = null; _fuc.default.sound.voice.playAtRandom('9999', [17, 12], [50, 50]); }, _fw4.prototype.playVoiceDialogIrako = function() { var _fwk = null; _fuc.default.sound.voice.playAtRandom('9999', [18, 14], [50, 50]); }, _fw4.prototype.playVoiceAnimationMamiyaIrako = function() { var _fwl = null; _fuc.default.sound.voice.playAtRandom('9999', [17, 18], [50, 50]); }, _fw4; }(_fut), _fup = function(_fwm) { var _fwn = null; function _fwo() { var _fwp = null, _fwq = null !== _fwm && _fwm.apply(this, arguments) || this; return _fwq._DIALOG = _fue.ORGANIZE_HOKYU_DIALOG_DEFAULT, _fwq._ANIMATION = _fuh.ORGANIZE_MAMIYA_ANIMATION_DEFAULT, _fwq; } return _fts(_fwo, _fwm), Object.defineProperty(_fwo.prototype, 'res_info3', { 'get': function() { var _fwr = null; return this._DIALOG.getTexture(6); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fwo.prototype, 'res_info4', { 'get': function() { var _fws = null; return this._DIALOG.getTexture(7); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fwo.prototype, 'res_info5', { 'get': function() { var _fwt = null; return this._DIALOG.getTexture(8); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fwo.prototype, 'res_info6', { 'get': function() { var _fwu = null; return this._DIALOG.getTexture(9); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fwo.prototype, 'res_btn_mamiya', { 'get': function() { var _fwv = null; return this._DIALOG.getTexture(4); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fwo.prototype, 'res_btn_mamiya_g', { 'get': function() { var _fww = null; return this._DIALOG.getTexture(5); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fwo.prototype, 'res_btn_irako', { 'get': function() { var _fwx = null; return this._DIALOG.getTexture(0); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fwo.prototype, 'res_btn_irako_g', { 'get': function() { var _fwy = null; return this._DIALOG.getTexture(1); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fwo.prototype, 'res_btn_m_i', { 'get': function() { var _fwz = null; return this._DIALOG.getTexture(2); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fwo.prototype, 'res_btn_m_i_g', { 'get': function() { var _fx0 = null; return this._DIALOG.getTexture(3); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fwo.prototype, 'res_mamiya', { 'get': function() { var _fx1 = null; return this._ANIMATION.getTexture(0); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fwo.prototype, 'res_irako', { 'get': function() { var _fx2 = null; return this._ANIMATION.getTexture(1); }, 'enumerable': !1, 'configurable': !0 }), _fwo.prototype.playVoiceDialogMamiya = function() { var _fx3 = null; _fuc.default.sound.voice.playAtRandom('9999', [37, 12], [50, 50]); }, _fwo.prototype.playVoiceDialogIrako = function() { var _fx4 = null; _fuc.default.sound.voice.playAtRandom('9999', [38, 14], [50, 50]); }, _fwo; }(_fut), _fuo = function(_fx5) { var _fx6 = null; function _fx7() { var _fx8 = null, _fx9 = null !== _fx5 && _fx5.apply(this, arguments) || this; return _fx9._DIALOG = _fug.ORGANIZE_HOKYU_DIALOG_SUMMER, _fx9._ANIMATION = _fuj.ORGANIZE_MAMIYA_ANIMATION_SUMMER, _fx9; } return _fts(_fx7, _fx5), Object.defineProperty(_fx7.prototype, 'res_info3', { 'get': function() { var _fxa = null; return this._DIALOG.getTexture(6); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fx7.prototype, 'res_info4', { 'get': function() { var _fxb = null; return this._DIALOG.getTexture(7); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fx7.prototype, 'res_info5', { 'get': function() { var _fxc = null; return this._DIALOG.getTexture(8); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fx7.prototype, 'res_info6', { 'get': function() { var _fxd = null; return this._DIALOG.getTexture(9); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fx7.prototype, 'res_btn_mamiya', { 'get': function() { var _fxe = null; return this._DIALOG.getTexture(4); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fx7.prototype, 'res_btn_mamiya_g', { 'get': function() { var _fxf = null; return this._DIALOG.getTexture(5); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fx7.prototype, 'res_btn_irako', { 'get': function() { var _fxg = null; return this._DIALOG.getTexture(0); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fx7.prototype, 'res_btn_irako_g', { 'get': function() { var _fxh = null; return this._DIALOG.getTexture(1); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fx7.prototype, 'res_btn_m_i', { 'get': function() { var _fxi = null; return this._DIALOG.getTexture(2); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fx7.prototype, 'res_btn_m_i_g', { 'get': function() { var _fxj = null; return this._DIALOG.getTexture(3); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fx7.prototype, 'res_mamiya', { 'get': function() { var _fxk = null; return this._ANIMATION.getTexture(0); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_fx7.prototype, 'res_irako', { 'get': function() { var _fxl = null; return this._ANIMATION.getTexture(1); }, 'enumerable': !1, 'configurable': !0 }), _fx7; }(_fut); }, 41346: (_fxm, _fxn) => { 'use strict'; var _fxo = null; var _fxp; defineModule(_fxn); Object.defineProperty(_fxn, '__esModule', { 'value': !0 }), _fxn.OrganizeSceneMemory = void 0, function(_fxq) { var _fxr = null; _fxq.shipSortKeyType = 1, _fxq.eventFilterStatus = 1; }(_fxp || (_fxn.OrganizeSceneMemory = _fxp = {})); }, 73300: function(_fxs, _fxt, _fxu) { 'use strict'; var _fxv = null; var _fxw, _fxx = this && this.__extends || (_fxw = function(_fxy, _fxz) { var _fy0 = null; return _fxw = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_fy1, _fy2) { var _fy3 = null; _fy1.__proto__ = _fy2; } || function(_fy4, _fy5) { var _fy6 = null; for (var _fy7 in _fy5) Object.prototype.hasOwnProperty.call(_fy5, _fy7) && (_fy4[_fy7] = _fy5[_fy7]); }, _fxw(_fxy, _fxz); }, function(_fy8, _fy9) { var _fya = null; if ('function' != typeof _fy9 && null !== _fy9) throw new TypeError('Class extends value ' + String(_fy9) + ' is not a constructor or null'); function _fyb() { var _fyc = null; this.constructor = _fy8; } _fxw(_fy8, _fy9), _fy8.prototype = null === _fy9 ? Object.create(_fy9) : (_fyb.prototype = _fy9.prototype, new _fyb()); }), _fyd = this && this.__importDefault || function(_fye) { var _fyf = null; return _fye && _fye.__esModule ? _fye : { 'default': _fye }; }; defineModule(_fxt); Object.defineProperty(_fxt, '__esModule', { 'value': !0 }), _fxt.OrganizeScene = void 0; var _fyg = _fyd(_fxu(18622)), _fyh = _fxu(70723), _fyi = _fxu(61474), _fyj = _fxu(35660), _fyk = _fxu(52574), _fyl = _fxu(55322), _fym = _fxu(54842), _fyn = _fxu(83539), _fyo = _fxu(7572), _fyp = _fxu(60029), _fyq = _fxu(49379), _fyr = _fxu(75262), _fys = _fxu(64356), _fyt = _fxu(5834), _fyu = _fxu(9933), _fyv = _fxu(32365), _fyw = _fxu(59936), _fyx = _fxu(35901), _fyy = _fxu(27793), _fyz = _fxu(79899), _fz0 = _fxu(16677), _fz1 = _fxu(96424), _fz2 = function(_fz3) { var _fz4 = null; function _fz5() { var _fz6 = null, _fz7 = null !== _fz3 && _fz3.apply(this, arguments) || this; return _fz7.currentViewMode = null, _fz7._onClickBreakDeck = function() { var _fz8 = null; _fz7.deckLayer.onBreakDeck(_fz7.deckLayer.deckID, function() { var _fz9 = null; _fz7.deckLayer.update(), _fz7._combinable ? _fz7._asyncCheckCombineStateAndRepair(function() { var _fza = null; _fyg.default.view.clickGuard = !1, _fz7.deckLayer.activateWheel(); }) : (_fyg.default.view.clickGuard = !1, _fz7.deckLayer.activateWheel()); }); }, _fz7._onDragging = function(_fzb, _fzc) { var _fzd = null, _fze = new _fyy.ShipDragging(_fzb, _fzc, _fz7.deckLayer.shipSlotDisplayLength, _fz7._inDragging, _fz7._onDrop, function() { var _fzf = null; _fyg.default.view.overLayer.removeChild(_fze); }); _fyg.default.view.overLayer.addChild(_fze); }, _fz7._inDragging = function(_fzg) { var _fzh = null; _fzg ? (_fz7.presetButtonLayer.hide(), _fz7.deckLayer.EditNameArea.writable = !1) : (_fz7.presetButtonLayer.show(), _fz7.deckLayer.EditNameArea.writable = !0); }, _fz7._onDrop = function(_fzi, _fzj, _fzk) { var _fzl = null; if (_fzi != _fzj) { var _fzm = _fyg.default.model.deck.get(_fz7.deckLayer.deckID), _fzn = _fzm.getCount(); if (1 != _fzn || 1 != _fzm.mstID) { var _fzo = _fzi + _fz7.deckLayer.shipInDeckOrigin, _fzp = _fzj + _fz7.deckLayer.shipInDeckOrigin; if (!(_fzo == _fzn - 1 && _fzj >= _fzi)) { var _fzq = new _fyj.APIConnector(); if (10 == _fyg.default.model.basic.getTutorialProgress() && _fzq.add(new _fyk.UpdateTutorialAPI(20)), -1 == _fzj) return _fzq.add(new _fyq.ChangeAPI(!0, _fzm.mstID, _fzo, -1)), void _fz7._removeShip(_fzq, _fzi); 0; var _fzr = _fyg.default.model.ship.get(_fzk); _fzq.add(new _fyq.ChangeAPI(!0, _fzm.mstID, _fzp, _fzk)), _fyh.SE.play('235'), _fyg.default.sound.voice.play(_fzr.mstID.toString(), 13), _fzp >= _fzn && (_fzj = _fzn - _fz7.deckLayer.shipInDeckOrigin - 1), _fz7._changeShipSlot(_fzq, _fzj); } } } }, _fz7._removeShip = function(_fzs, _fzt) { var _fzu = null; _fz0.WheelEventUtil.clear(); var _fzv = new _fyz.AreaBox(0); _fyg.default.view.overLayer.addChild(_fzv), _fzs.start(function() { var _fzw = null; _fz7.deckLayer.ShipSlotLayer.ShipSlots[_fzt].closeAnimation(function() { var _fzx = null; _fz7.deckLayer.update(), _fz7._combinable ? _fz7._asyncCheckCombineStateAndRepair(function() { var _fzy = null; _fyg.default.view.overLayer.removeChild(_fzv), _fz7.deckLayer.activateWheel(); }) : (_fyg.default.view.overLayer.removeChild(_fzv), _fz7.deckLayer.activateWheel()); }); }); }, _fz7._changeShipSlot = function(_fzz, _g00) { var _g01 = null; _fz0.WheelEventUtil.clear(); var _g02 = new _fyz.AreaBox(0); _fyg.default.view.overLayer.addChild(_g02), _fzz.start(function() { var _g03 = null; _fz7.deckLayer.ShipSlotLayer.shutterAnimation(_g00, function() { var _g04 = null; return _fz7.deckLayer.update(); }, function() { var _g05 = null; _fz7._combinable ? _fz7._asyncCheckCombineStateAndRepair(function() { var _g06 = null; _fyg.default.view.overLayer.removeChild(_g02), _fz7.deckLayer.activateWheel(); }) : (_fyg.default.view.overLayer.removeChild(_g02), _fz7.deckLayer.activateWheel()); }); }); }, _fz7._onClickDeckFlag = function(_g07) { var _g08 = null; if (_fz7.deckLayer.deckID != _g07) switch (_fz7.deckLayer.shipInDeckOrigin = 0, _fz7.currentViewMode) { case 0: _fz7.deckLayer.updateDeck(_g07); break; case 1: _fz7.deckLayer.updateDeckSelector(_g07), _fz7.presetEditLayer.update(_g07); break; case 2: _fz7.deckLayer.updateDeckSelector(_g07), _fz7.presetExpansionLayer.update(_g07); } }, _fz7._onClickShipChange = function(_g09, _g0a) { var _g0b = null; _fz0.WheelEventUtil.clear(), _fz7.presetButtonLayer.hide(), _fz7.deckLayer.EditNameArea.writable = !1; var _g0c = _fyg.default.model.deck.get(_fz7.deckLayer.deckID), _g0d = (_g0c.getShipModel(_g0a), _g0c.getCount()); _fz7.taskChangeShip = new _fyw.TaskChangeShip(_fz7), _fz7.taskChangeShip.onUpdateDeck = function() { var _g0e = null; _fyg.default.view.clickGuard = !0; var _g0f = _fyg.default.model.deck.get(_fz7.deckLayer.deckID), _g0g = _g0f.getShipModel(_g0a), _g0h = _g0f.getCount(), _g0i = _fz7.deckLayer.ShipSlotLayer.ShipSlots[_g09]; _g0h < _g0d ? _g0i.closeAnimation(function() { var _g0j = null; _fz7.deckLayer.update(), _fz7._combinable ? _fz7._asyncCheckCombineStateAndRepair(function() { var _g0k = null; _fyg.default.view.clickGuard = !1, _fz7.deckLayer.activateWheel(); }) : (_fyg.default.view.clickGuard = !1, _fz7.deckLayer.activateWheel()); }) : (_fyh.SE.play('235'), _fyg.default.sound.voice.play(_g0g.mstID.toString(), 13), _g0d < _g0h ? (_fz7.deckLayer.update(), _g0i.close(), _g0i.openAnimation(function() { var _g0l = null; _fz7._combinable ? _fz7._asyncCheckCombineStateAndRepair(function() { var _g0m = null; _fyg.default.view.clickGuard = !1, _fz7.deckLayer.activateWheel(); }) : (_fyg.default.view.clickGuard = !1, _fz7.deckLayer.activateWheel()); })) : _g0i.closeAnimation(function() { var _g0n = null; _fz7.deckLayer.update(), _g0i.close(), _g0i.openAnimation(function() { var _g0o = null; _fz7._combinable ? _fz7._asyncCheckCombineStateAndRepair(function() { var _g0p = _g0o; _fyg[_g0p(3499)][_g0p(2726)][_g0p(2126)] = !1, _fz7[_g0p(3818)][_g0p(7440)](); }) : (_fyg.default.view.clickGuard = !1, _fz7.deckLayer.activateWheel()); }); })); }, _fz7.taskChangeShip.onComplete = function(_g0q) { var _g0r = null; _g0q == _fz1.TaskChoiceShipResult.CANCEL && _fz7.deckLayer.activateWheel(), _fz7.presetButtonLayer.show(), _fz7.taskChangeShip.dispose(), _fz7.taskChangeShip = null, _fz7.deckLayer.EditNameArea.writable = !0; }, _fz7.taskChangeShip.start(_fz7.deckLayer.deckID, _g0a); }, _fz7._onClickShipDetail = function(_g0s) { var _g0t = null; _fz0.WheelEventUtil.clear(), _fz7.deckLayer.EditNameArea.writable = !1, _fz7.presetButtonLayer.hide(), _fz7.deckLayer.ShipSlotLayer.onShipDetail(_g0s, _fz7, function() { var _g0u = null; _fz7.deckLayer.EditNameArea.writable = !0, _fz7.presetButtonLayer.show(), _fz7.deckLayer.activateWheel(); }); }, _fz7._onClickPresetChange = function(_g0v) { var _g0w = null; if (_fz7.currentViewMode != _g0v) { switch (_fz0.WheelEventUtil.clear(), _fz7.currentViewMode) { case 1: _fz7.presetEditLayer.hide(); break; case 2: _fz7.presetExpansionLayer.hide(); } switch (_g0v) { case 1: _fz7._changeMode(1); var _g0x = _fyg.default.model.deck.get(_fz7.deckLayer.deckID); _fz7.deckLayer.EditNameArea.reload(_g0x.name), _fz7.presetEditLayer.show(_fz7.deckLayer.deckID, _fz7.presetList); break; case 2: _fz7._changeMode(2), _g0x = _fyg.default.model.deck.get(_fz7.deckLayer.deckID), (_fz7.deckLayer.EditNameArea.reload(_g0x.name), _fz7.presetExpansionLayer.show(_fz7.deckLayer.deckID, _fz7.presetList)); } } }, _fz7._onClickPresetBack = function() { var _g0y = null; _fz7._changeMode(0), _fz7.deckLayer.update(), _fz7.deckLayer.activateWheel(); }, _fz7._onClickExpand = function(_g0z) { var _g10 = null; _fz0.WheelEventUtil.clear(), _fyg.default.view.clickGuard = !0; var _g11 = new _fyr.PresetSelectAPI(_g0z, _fz7.deckLayer.deckID); _fyh.SE.play('240'), _g11.start(function() { var _g12 = null; for (var _g13 = _fyg.default.model.deck.get(_fz7.deckLayer.deckID).getShipList(), _g14 = new Array(), _g15 = 0; _g15 < _fz7.deckLayer.ShipSlotLayer.ShipSlots.length; _g15++) { _g13[_g15 + _fz7.deckLayer.shipInDeckOrigin] && _g14.push(_g15); } _fz7._combinable && _fyg.default.model.deck.isCombined(), _fyh.SE.play('235'), _fz7.presetExpansionLayer.hide(), _fz7.presetList.getPresetDeckData(_g0z).__deleteLostShips__(), _fz7._changeMode(0), _fz7.deckLayer.update(); var _g16 = function() {}, _g17 = function() { var _g18 = null; _fz7._combinable ? _fz7._asyncCheckCombineStateAndRepair(function() { var _g19 = null; _fyg.default.view.clickGuard = !1, _fz7.deckLayer.activateWheel(); }) : (_fyg.default.view.clickGuard = !1, _fz7.deckLayer.activateWheel()); }; for (_g15 = 0; _g15 < _fz7.deckLayer.ShipSlotLayer.ShipSlots.length; _g15++) { _fz7.deckLayer.ShipSlotLayer.ShipSlots[_g15].close(); } if (0 < _g14.length) { for (_g15 = 0; _g15 < _g14.length; _g15++) { var _g1a = _g16; _g14.indexOf(_g15) == _g14.length - 1 && (_g1a = _g17), _fz7.deckLayer.ShipSlotLayer.ShipSlots[_g15].openAnimation(_g1a); } _fyg.default.sound.voice.play(_fyg.default.model.deck.get(_fz7.deckLayer.deckID).getShipList()[0].mstID.toString(), 13); } else _g17(); }); }, _fz7; } return _fxx(_fz5, _fz3), _fz5.prototype.getPreInitializeTask = function(_g1b) { var _g1c = null; return new _fyt.PreInitializeTask(this); }, _fz5.prototype.getInitializeTask = function(_g1d) { var _g1e = null; return new _fyv.InitializeTask(this); }, _fz5.prototype.getPreFinalizeTask = function() { var _g1f = null; return new _fys.PreFinalizeTask(this); }, _fz5.prototype.getFinalizeTask = function() { var _g1g = null; return new _fyu.FinalizeTask(this); }, _fz5.prototype.preInitialize = function(_g1h) { var _g1i = null; this.presetList = _g1h, this._combinable = -1 != _fyg.default.model.basic.getMFlag(), this.backgroundLayer = new _fyl.BackgroundLayer(), this.backgroundLayer.init(), this.addChild(this.backgroundLayer), this.deckLayer = new _fym.DeckLayer(this._onClickDeckFlag, this._combinable), this.deckLayer.init(this._onClickBreakDeck), this.deckLayer.ShipSlotLayer.init(this._onDragging, this._onClickShipChange, this._onClickShipDetail), this.addChild(this.deckLayer), this.deckLayer.updateDeck(1), this.presetExpansionLayer = new _fyp.PresetExpansionLayer(this._onClickPresetBack, this._onClickExpand), this.presetExpansionLayer.hide(), this.addChild(this.presetExpansionLayer), this.presetEditLayer = new _fyo.PresetEditLayer(this._onClickPresetBack), this.presetEditLayer.hide(), this.addChild(this.presetEditLayer), this.presetButtonLayer = new _fyn.PresetButtonLayer(), this.presetButtonLayer.position.set(66, 514), this.presetButtonLayer.onClick = this._onClickPresetChange, this.presetButtonLayer.hide(), _fyg.default.view.overLayer.addChild(this.presetButtonLayer), this._changeMode(0); }, _fz5.prototype.initialize = function() { var _g1j = null, _g1k = _fyg.default.model.basic.port_bgm_id; _fyg.default.sound.bgm.play(_g1k), this.presetButtonLayer.show(), this.deckLayer.EditNameArea.writable = !0; }, _fz5.prototype.prefinalize = function() { var _g1l = null; this.presetButtonLayer.hide(), this.deckLayer.EditNameArea.writable = !1; }, _fz5.prototype.finalize = function() { var _g1m = null; _fz0.WheelEventUtil.clear(), this.taskChangeShip && this.taskChangeShip.dispose(), this.taskChangeShip = null, this.presetEditLayer.dispose(), this.presetEditLayer = null, this.presetExpansionLayer.dispose(), this.presetExpansionLayer = null, this.deckLayer.dispose(), this.deckLayer = null, this.presetButtonLayer.dispose(), this.presetButtonLayer = null, this.backgroundLayer.dispose(), this.backgroundLayer = null, this.presetList = null, this.currentViewMode = null, this.removeChildren(); }, _fz5.prototype._changeMode = function(_g1n) { var _g1o = null; switch (this.deckLayer.hide(), this.deckLayer.show(_g1n), this.presetButtonLayer.update(_g1n), _g1n) { case 0: this.deckLayer.EditNameArea.writable = !0, this.deckLayer.EditNameArea.editable = !0; break; case 1: case 2: this.deckLayer.EditNameArea.editable = !1, this.deckLayer.EditNameArea.writable = !1; } this.currentViewMode = _g1n; }, _fz5.prototype._asyncCheckCombineStateAndRepair = function(_g1p) { var _g1q = null, _g1r = this, _g1s = new _fyx.TaskCheckCombineStateAndRepair(_fyg.default.view.overLayer); _g1s.onBroken = function() { var _g1t = null; _g1r.deckLayer.update(); }, _g1s.onComplete = function() { var _g1u = null; _g1s.dispose(), _g1p(); }, _g1s.start(); }, _fz5; }(_fyi.SceneBase); _fxt.OrganizeScene = _fz2; }, 49379: function(_g1v, _g1w, _g1x) { 'use strict'; var _g1y = null; var _g1z, _g20 = this && this.__extends || (_g1z = function(_g21, _g22) { var _g23 = null; return _g1z = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_g24, _g25) { var _g26 = null; _g24.__proto__ = _g25; } || function(_g27, _g28) { var _g29 = null; for (var _g2a in _g28) Object.prototype.hasOwnProperty.call(_g28, _g2a) && (_g27[_g2a] = _g28[_g2a]); }, _g1z(_g21, _g22); }, function(_g2b, _g2c) { var _g2d = null; if ('function' != typeof _g2c && null !== _g2c) throw new TypeError('Class extends value ' + String(_g2c) + ' is not a constructor or null'); function _g2e() { var _g2f = null; this.constructor = _g2b; } _g1z(_g2b, _g2c), _g2b.prototype = null === _g2c ? Object.create(_g2c) : (_g2e.prototype = _g2c.prototype, new _g2e()); }), _g2g = this && this.__importDefault || function(_g2h) { var _g2i = null; return _g2h && _g2h.__esModule ? _g2h : { 'default': _g2h }; }; defineModule(_g1w); Object.defineProperty(_g1w, '__esModule', { 'value': !0 }), _g1w.ChangeAPI = void 0; var _g2j = _g1x(37562), _g2k = _g2g(_g1x(18622)), _g2l = function(_g2m) { var _g2n = null; function _g2o(_g2p, _g2q, _g2r, _g2s) { var _g2t = null; void 0 === _g2p && (_g2p = !1); var _g2u = _g2m.call(this) || this; return _g2u._url = 'api_req_hensei/change', _g2u._debug = _g2p, _g2u.api_id = _g2q, _g2u.api_ship_idx = _g2r, _g2u.api_ship_id = _g2s, _g2u; } return _g20(_g2o, _g2m), _g2o.prototype._connect = function() { var _g2v = null; 1 == this._debug && (-2 == this.api_ship_id || this.api_ship_id), this._post_data.api_id = this.api_id, this._post_data.api_ship_idx = this.api_ship_idx, this._post_data.api_ship_id = this.api_ship_id, _g2m.prototype._connect.call(this); }, _g2o.prototype._completedEnd = function() { var _g2w = null, _g2x = _g2k.default.model.deck.get(this.api_id); - 2 == this.api_ship_id ? _g2x.__removeAll__() : -1 == this.api_ship_id ? _g2x.__remove__(this.api_ship_idx) : _g2x.__change__(this.api_ship_idx, this.api_ship_id), _g2m.prototype._completedEnd.call(this); }, _g2o; }(_g2j.APIBase); _g1w.ChangeAPI = _g2l; }, 50049: function(_g2y, _g2z, _g30) { 'use strict'; var _g31 = null; var _g32, _g33 = this && this.__extends || (_g32 = function(_g34, _g35) { var _g36 = null; return _g32 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_g37, _g38) { var _g39 = null; _g37.__proto__ = _g38; } || function(_g3a, _g3b) { var _g3c = null; for (var _g3d in _g3b) Object.prototype.hasOwnProperty.call(_g3b, _g3d) && (_g3a[_g3d] = _g3b[_g3d]); }, _g32(_g34, _g35); }, function(_g3e, _g3f) { var _g3g = null; if ('function' != typeof _g3f && null !== _g3f) throw new TypeError('Class extends value ' + String(_g3f) + ' is not a constructor or null'); function _g3h() { var _g3i = null; this.constructor = _g3e; } _g32(_g3e, _g3f), _g3e.prototype = null === _g3f ? Object.create(_g3f) : (_g3h.prototype = _g3f.prototype, new _g3h()); }), _g3j = this && this.__importDefault || function(_g3k) { var _g3l = null; return _g3k && _g3k.__esModule ? _g3k : { 'default': _g3k }; }; defineModule(_g2z); Object.defineProperty(_g2z, '__esModule', { 'value': !0 }), _g2z.CombinedAPI = void 0; var _g3m = _g3j(_g30(18622)), _g3n = function(_g3o) { var _g3p = null; function _g3q(_g3r) { var _g3s = null, _g3t = _g3o.call(this) || this; return _g3t._url = 'api_req_hensei/combined', _g3t.api_combined_type = _g3r, _g3t; } return _g33(_g3q, _g3o), _g3q.prototype._connect = function() { var _g3u = null; this._post_data.api_combined_type = this.api_combined_type, _g3o.prototype._connect.call(this); }, _g3q.prototype._completedEnd = function() { var _g3v = null; _g3m.default.model.deck.combined.__update__(this.api_combined_type), _g3o.prototype._completedEnd.call(this); }, _g3q; }(_g30(37562).APIBase); _g2z.CombinedAPI = _g3n; }, 5175: function(_g3w, _g3x, _g3y) { 'use strict'; var _g3z = null; var _g40, _g41 = this && this.__extends || (_g40 = function(_g42, _g43) { var _g44 = null; return _g40 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_g45, _g46) { var _g47 = null; _g45.__proto__ = _g46; } || function(_g48, _g49) { var _g4a = null; for (var _g4b in _g49) Object.prototype.hasOwnProperty.call(_g49, _g4b) && (_g48[_g4b] = _g49[_g4b]); }, _g40(_g42, _g43); }, function(_g4c, _g4d) { var _g4e = null; if ('function' != typeof _g4d && null !== _g4d) throw new TypeError('Class extends value ' + String(_g4d) + ' is not a constructor or null'); function _g4f() { var _g4g = null; this.constructor = _g4c; } _g40(_g4c, _g4d), _g4c.prototype = null === _g4d ? Object.create(_g4d) : (_g4f.prototype = _g4d.prototype, new _g4f()); }); defineModule(_g3x); Object.defineProperty(_g3x, '__esModule', { 'value': !0 }), _g3x.ItemUseCondAPI = void 0; var _g4h = function(_g4i) { var _g4j = null; function _g4k(_g4l, _g4m, _g4n) { var _g4o = null; void 0 === _g4l && (_g4l = !1); var _g4p = _g4i.call(this) || this; return _g4p._url = 'api_req_member/itemuse_cond', _g4p._debug = _g4l, _g4p.api_deck_id = _g4m, _g4p.api_use_type = _g4n, _g4p; } return _g41(_g4k, _g4i), _g4k.prototype._connect = function() { var _g4q = null; this._post_data.api_deck_id = this.api_deck_id, this._post_data.api_use_type = this.api_use_type, _g4i.prototype._connect.call(this); }, _g4k.prototype._completedEnd = function() { var _g4r = null; _g4i.prototype._completedEnd.call(this); }, _g4k; }(_g3y(58566).APIBase); _g3x.ItemUseCondAPI = _g4h; }, 36814: function(_g4s, _g4t, _g4u) { 'use strict'; var _g4v = null; var _g4w, _g4x = this && this.__extends || (_g4w = function(_g4y, _g4z) { var _g50 = null; return _g4w = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_g51, _g52) { var _g53 = null; _g51.__proto__ = _g52; } || function(_g54, _g55) { var _g56 = null; for (var _g57 in _g55) Object.prototype.hasOwnProperty.call(_g55, _g57) && (_g54[_g57] = _g55[_g57]); }, _g4w(_g4y, _g4z); }, function(_g58, _g59) { var _g5a = null; if ('function' != typeof _g59 && null !== _g59) throw new TypeError('Class extends value ' + String(_g59) + ' is not a constructor or null'); function _g5b() { var _g5c = null; this.constructor = _g58; } _g4w(_g58, _g59), _g58.prototype = null === _g59 ? Object.create(_g59) : (_g5b.prototype = _g59.prototype, new _g5b()); }); defineModule(_g4t); Object.defineProperty(_g4t, '__esModule', { 'value': !0 }), _g4t.PresetDeckAPI = void 0; var _g5d = _g4u(58566), _g5e = _g4u(53830), _g5f = function(_g5g) { var _g5h = null; function _g5i() { var _g5j = null, _g5k = _g5g.call(this) || this; return _g5k._url = 'api_get_member/preset_deck', _g5k; } return _g4x(_g5i, _g5g), _g5i.prototype._completedEnd = function() { var _g5l = null; this.result = new _g5e.PresetListModel(), this.result.setData(this._raw_data), _g5g.prototype._completedEnd.call(this); }, _g5i; }(_g5d.APIBase); _g4t.PresetDeckAPI = _g5f; }, 70270: function(_g5m, _g5n, _g5o) { 'use strict'; var _g5p = null; var _g5q, _g5r = this && this.__extends || (_g5q = function(_g5s, _g5t) { var _g5u = null; return _g5q = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_g5v, _g5w) { var _g5x = null; _g5v.__proto__ = _g5w; } || function(_g5y, _g5z) { var _g60 = null; for (var _g61 in _g5z) Object.prototype.hasOwnProperty.call(_g5z, _g61) && (_g5y[_g61] = _g5z[_g61]); }, _g5q(_g5s, _g5t); }, function(_g62, _g63) { var _g64 = null; if ('function' != typeof _g63 && null !== _g63) throw new TypeError('Class extends value ' + String(_g63) + ' is not a constructor or null'); function _g65() { var _g66 = null; this.constructor = _g62; } _g5q(_g62, _g63), _g62.prototype = null === _g63 ? Object.create(_g63) : (_g65.prototype = _g63.prototype, new _g65()); }); defineModule(_g5n); Object.defineProperty(_g5n, '__esModule', { 'value': !0 }), _g5n.PresetDeleteAPI = void 0; var _g67 = function(_g68) { var _g69 = null; function _g6a(_g6b) { var _g6c = null, _g6d = _g68.call(this) || this; return _g6d._url = 'api_req_hensei/preset_delete', _g6d.presetNo = _g6b, _g6d; } return _g5r(_g6a, _g68), Object.defineProperty(_g6a.prototype, 'result', { 'get': function() { var _g6e = null; return this._result; }, 'enumerable': !1, 'configurable': !0 }), _g6a.prototype._connect = function() { var _g6f = null; this._post_data.api_preset_no = this.presetNo, _g68.prototype._connect.call(this); }, _g6a.prototype._completedEnd = function() { var _g6g = null; this._result = this._raw_data, _g68.prototype._completedEnd.call(this); }, _g6a; }(_g5o(37562).APIBase); _g5n.PresetDeleteAPI = _g67; }, 25326: function(_g6h, _g6i, _g6j) { 'use strict'; var _g6k = null; var _g6l, _g6m = this && this.__extends || (_g6l = function(_g6n, _g6o) { var _g6p = null; return _g6l = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_g6q, _g6r) { var _g6s = null; _g6q.__proto__ = _g6r; } || function(_g6t, _g6u) { var _g6v = null; for (var _g6w in _g6u) Object.prototype.hasOwnProperty.call(_g6u, _g6w) && (_g6t[_g6w] = _g6u[_g6w]); }, _g6l(_g6n, _g6o); }, function(_g6x, _g6y) { var _g6z = null; if ('function' != typeof _g6y && null !== _g6y) throw new TypeError('Class extends value ' + String(_g6y) + ' is not a constructor or null'); function _g70() { var _g71 = null; this.constructor = _g6x; } _g6l(_g6x, _g6y), _g6x.prototype = null === _g6y ? Object.create(_g6y) : (_g70.prototype = _g6y.prototype, new _g70()); }), _g72 = this && this.__importDefault || function(_g73) { var _g74 = null; return _g73 && _g73.__esModule ? _g73 : { 'default': _g73 }; }; defineModule(_g6i); Object.defineProperty(_g6i, '__esModule', { 'value': !0 }), _g6i.PresetExpandAPI = void 0; var _g75 = _g6j(37562), _g76 = _g72(_g6j(18622)), _g77 = function(_g78) { var _g79 = null; function _g7a(_g7b) { var _g7c = null; void 0 === _g7b && (_g7b = !1); var _g7d = _g78.call(this) || this; return _g7d.OPEN_KEY_ITEMID = 49, _g7d._url = 'api_req_hensei/preset_expand', _g7d; } return _g6m(_g7a, _g78), _g7a.prototype._completedEnd = function() { var _g7e = null, _g7f = _g76.default.model.useItem.get(this.OPEN_KEY_ITEMID); _g7f.__setCount__(_g7f.count - 1), _g78.prototype._completedEnd.call(this); }, _g7a; }(_g75.APIBase); _g6i.PresetExpandAPI = _g77; }, 61333: function(_g7g, _g7h, _g7i) { 'use strict'; var _g7j = null; var _g7k, _g7l = this && this.__extends || (_g7k = function(_g7m, _g7n) { var _g7o = null; return _g7k = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_g7p, _g7q) { var _g7r = null; _g7p.__proto__ = _g7q; } || function(_g7s, _g7t) { var _g7u = null; for (var _g7v in _g7t) Object.prototype.hasOwnProperty.call(_g7t, _g7v) && (_g7s[_g7v] = _g7t[_g7v]); }, _g7k(_g7m, _g7n); }, function(_g7w, _g7x) { var _g7y = null; if ('function' != typeof _g7x && null !== _g7x) throw new TypeError('Class extends value ' + String(_g7x) + ' is not a constructor or null'); function _g7z() { var _g80 = null; this.constructor = _g7w; } _g7k(_g7w, _g7x), _g7w.prototype = null === _g7x ? Object.create(_g7x) : (_g7z.prototype = _g7x.prototype, new _g7z()); }); defineModule(_g7h); Object.defineProperty(_g7h, '__esModule', { 'value': !0 }), _g7h.PresetRegisterAPI = void 0; var _g81 = function(_g82) { var _g83 = null; function _g84(_g85, _g86, _g87) { var _g88 = null, _g89 = _g82.call(this) || this; return _g89._url = 'api_req_hensei/preset_register', _g89.deckId = _g85, _g89.presetNo = _g86, _g89.name = _g87, _g89; } return _g7l(_g84, _g82), Object.defineProperty(_g84.prototype, 'result', { 'get': function() { var _g8a = null; return this._result; }, 'enumerable': !1, 'configurable': !0 }), _g84.prototype._connect = function() { var _g8b = null; this._post_data.api_deck_id = this.deckId, this._post_data.api_preset_no = this.presetNo, this._post_data.api_name = this.name, this._post_data.api_name_id = '', _g82.prototype._connect.call(this); }, _g84.prototype._completedEnd = function() { var _g8c = null; this._result = this._raw_data, _g82.prototype._completedEnd.call(this); }, _g84; }(_g7i(37562).APIBase); _g7h.PresetRegisterAPI = _g81; }, 75262: function(_g8d, _g8e, _g8f) { 'use strict'; var _g8g = null; var _g8h, _g8i = this && this.__extends || (_g8h = function(_g8j, _g8k) { var _g8l = null; return _g8h = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_g8m, _g8n) { var _g8o = null; _g8m.__proto__ = _g8n; } || function(_g8p, _g8q) { var _g8r = null; for (var _g8s in _g8q) Object.prototype.hasOwnProperty.call(_g8q, _g8s) && (_g8p[_g8s] = _g8q[_g8s]); }, _g8h(_g8j, _g8k); }, function(_g8t, _g8u) { var _g8v = null; if ('function' != typeof _g8u && null !== _g8u) throw new TypeError('Class extends value ' + String(_g8u) + ' is not a constructor or null'); function _g8w() { var _g8x = null; this.constructor = _g8t; } _g8h(_g8t, _g8u), _g8t.prototype = null === _g8u ? Object.create(_g8u) : (_g8w.prototype = _g8u.prototype, new _g8w()); }), _g8y = this && this.__importDefault || function(_g8z) { var _g90 = null; return _g8z && _g8z.__esModule ? _g8z : { 'default': _g8z }; }; defineModule(_g8e); Object.defineProperty(_g8e, '__esModule', { 'value': !0 }), _g8e.PresetSelectAPI = void 0; var _g91 = _g8f(37562), _g92 = _g8y(_g8f(18622)), _g93 = function(_g94) { var _g95 = null; function _g96(_g97, _g98) { var _g99 = null, _g9a = _g94.call(this) || this; return _g9a._url = 'api_req_hensei/preset_select', _g9a.presetNo = _g97, _g9a.deckId = _g98, _g9a; } return _g8i(_g96, _g94), Object.defineProperty(_g96.prototype, 'result', { 'get': function() { var _g9b = null; return this._result; }, 'enumerable': !1, 'configurable': !0 }), _g96.prototype._connect = function() { var _g9c = null; this._post_data.api_preset_no = this.presetNo, this._post_data.api_deck_id = this.deckId, _g94.prototype._connect.call(this); }, _g96.prototype._completedEnd = function() { var _g9d = null; this._result = this._raw_data, _g92.default.model.deck.updateData(this._raw_data), _g94.prototype._completedEnd.call(this); }, _g96; }(_g91.APIBase); _g8e.PresetSelectAPI = _g93; }, 35819: function(_g9e, _g9f, _g9g) { 'use strict'; var _g9h = null; var _g9i, _g9j = this && this.__extends || (_g9i = function(_g9k, _g9l) { var _g9m = null; return _g9i = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_g9n, _g9o) { var _g9p = null; _g9n.__proto__ = _g9o; } || function(_g9q, _g9r) { var _g9s = null; for (var _g9t in _g9r) Object.prototype.hasOwnProperty.call(_g9r, _g9t) && (_g9q[_g9t] = _g9r[_g9t]); }, _g9i(_g9k, _g9l); }, function(_g9u, _g9v) { var _g9w = null; if ('function' != typeof _g9v && null !== _g9v) throw new TypeError('Class extends value ' + String(_g9v) + ' is not a constructor or null'); function _g9x() { var _g9y = null; this.constructor = _g9u; } _g9i(_g9u, _g9v), _g9u.prototype = null === _g9v ? Object.create(_g9v) : (_g9x.prototype = _g9v.prototype, new _g9x()); }), _g9z = this && this.__importDefault || function(_ga0) { var _ga1 = null; return _ga0 && _ga0.__esModule ? _ga0 : { 'default': _ga0 }; }; defineModule(_g9f); Object.defineProperty(_g9f, '__esModule', { 'value': !0 }), _g9f.ShipLockAPI = void 0; var _ga2 = _g9z(_g9g(18622)), _ga3 = _g9g(37562), _ga4 = _g9g(14921), _ga5 = function(_ga6) { var _ga7 = null; function _ga8(_ga9, _gaa) { var _gab = null; void 0 === _ga9 && (_ga9 = !1); var _gac = _ga6.call(this) || this; return _gac._url = 'api_req_hensei/lock', _gac._debug = _ga9, _gac.api_ship_id = _gaa, _gac; } return _g9j(_ga8, _ga6), _ga8.prototype._connect = function() { var _gad = null; this._post_data.api_ship_id = this.api_ship_id, _ga6.prototype._connect.call(this); }, _ga8.prototype._completedEnd = function() { var _gae = null, _gaf = 1 == _ga4.ObjUtil.getNumber(this._raw_data, 'api_locked'), _gag = _ga2.default.model.ship.get(this.api_ship_id); null != _gag && _gag.__setLocked__(_gaf), _ga6.prototype._completedEnd.call(this); }, _ga8; }(_ga3.APIBase); _g9f.ShipLockAPI = _ga5; }, 53281: function(_gah, _gai, _gaj) { 'use strict'; var _gak = null; var _gal, _gam = this && this.__extends || (_gal = function(_gan, _gao) { var _gap = null; return _gal = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_gaq, _gar) { var _gas = null; _gaq.__proto__ = _gar; } || function(_gat, _gau) { var _gav = null; for (var _gaw in _gau) Object.prototype.hasOwnProperty.call(_gau, _gaw) && (_gat[_gaw] = _gau[_gaw]); }, _gal(_gan, _gao); }, function(_gax, _gay) { var _gaz = null; if ('function' != typeof _gay && null !== _gay) throw new TypeError('Class extends value ' + String(_gay) + ' is not a constructor or null'); function _gb0() { var _gb1 = null; this.constructor = _gax; } _gal(_gax, _gay), _gax.prototype = null === _gay ? Object.create(_gay) : (_gb0.prototype = _gay.prototype, new _gb0()); }), _gb2 = this && this.__importDefault || function(_gb3) { var _gb4 = null; return _gb3 && _gb3.__esModule ? _gb3 : { 'default': _gb3 }; }; defineModule(_gai); Object.defineProperty(_gai, '__esModule', { 'value': !0 }), _gai.UpdateDeckNameAPI = void 0; var _gb5 = _gb2(_gaj(18622)), _gb6 = function(_gb7) { var _gb8 = null; function _gb9(_gba, _gbb, _gbc) { var _gbd = null, _gbe = _gb7.call(this) || this; return _gbe._url = 'api_req_member/updatedeckname', _gbe.api_deck_id = _gba, _gbe.api_name = _gbb, _gbe.api_name_id = _gbc, _gbe; } return _gam(_gb9, _gb7), _gb9.prototype._connect = function() { var _gbf = null; this._post_data.api_deck_id = this.api_deck_id, this._post_data.api_name = this.api_name, this._post_data.api_name_id = this.api_name_id, _gb7.prototype._connect.call(this); }, _gb9.prototype._completedEnd = function() { var _gbg = null; _gb5.default.model.deck.get(this.api_deck_id).updateName(this.api_name, this.api_name_id), _gb7.prototype._completedEnd.call(this); }, _gb9; }(_gaj(37562).APIBase); _gai.UpdateDeckNameAPI = _gb6; }, 30563: function(_gbh, _gbi, _gbj) { 'use strict'; var _gbk = null; var _gbl, _gbm = this && this.__extends || (_gbl = function(_gbn, _gbo) { var _gbp = null; return _gbl = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_gbq, _gbr) { var _gbs = null; _gbq.__proto__ = _gbr; } || function(_gbt, _gbu) { var _gbv = null; for (var _gbw in _gbu) Object.prototype.hasOwnProperty.call(_gbu, _gbw) && (_gbt[_gbw] = _gbu[_gbw]); }, _gbl(_gbn, _gbo); }, function(_gbx, _gby) { var _gbz = null; if ('function' != typeof _gby && null !== _gby) throw new TypeError('Class extends value ' + String(_gby) + ' is not a constructor or null'); function _gc0() { var _gc1 = null; this.constructor = _gbx; } _gbl(_gbx, _gby), _gbx.prototype = null === _gby ? Object.create(_gby) : (_gc0.prototype = _gby.prototype, new _gc0()); }); defineModule(_gbi); Object.defineProperty(_gbi, '__esModule', { 'value': !0 }), _gbi.UpdateListStatusAPI = void 0; var _gc2 = function(_gc3) { var _gc4 = null; function _gc5(_gc6, _gc7) { var _gc8 = null, _gc9 = _gc3.call(this) || this; return _gc9._url = 'api_req_member/set_oss_condition', _gc9._filter_status = _gc6, _gc9._japanese = _gc7, _gc9; } return _gbm(_gc5, _gc3), _gc5.prototype._connect = function() { var _gca = null; this._post_data.api_language_type = this._japanese ? 0 : 1; for (var _gcb = 0; _gcb < this._filter_status.length; _gcb++) this._post_data['api_oss_items['['concat'](_gcb, ']')] = this._filter_status[_gcb] ? 1 : 0; _gc3.prototype._connect.call(this); }, _gc5; }(_gbj(58566).APIBase); _gbi.UpdateListStatusAPI = _gc2; }, 96965: (_gcc, _gcd) => { 'use strict'; var _gce = null; defineModule(_gcd); Object.defineProperty(_gcd, '__esModule', { 'value': !0 }), _gcd.ShipOffsetPosition = _gcd.ShipAreaPosition = void 0, _gcd.ShipAreaPosition = [ [0, 0], [513, 0], [0, 168], [513, 168], [0, 336], [513, 336] ], _gcd.ShipOffsetPosition = [180, 198]; }, 53830: function(_gcf, _gcg, _gch) { 'use strict'; var _gci = null; var _gcj = this && this.__importDefault || function(_gck) { var _gcl = null; return _gck && _gck.__esModule ? _gck : { 'default': _gck }; }; defineModule(_gcg); Object.defineProperty(_gcg, '__esModule', { 'value': !0 }), _gcg.PresetListModel = void 0; var _gcm = _gch(14921), _gcn = _gcj(_gch(18622)), _gco = _gch(14836), _gcp = (function() { var _gcq = null; function _gcr() {} return Object.defineProperty(_gcr.prototype, 'maxNum', { 'get': function() { var _gcs = null; return this.api_max_num; }, 'enumerable': !1, 'configurable': !0 }), _gcr.prototype.setData = function(_gct) { var _gcu = null, _gcv = _gcm.ObjUtil.getObject(_gct, 'api_deck', {}), _gcw = _gct.api_max_num; this.api_max_num = _gcw, this.api_deck = _gcv; }, _gcr.prototype.updateData = function(_gcx) { var _gcy = null, _gcz = _gcm.ObjUtil.getNumber(_gcx, 'api_preset_no'); this.api_deck[_gcz.toString()] = _gcx; }, _gcr.prototype.getPresetDeckData = function(_gd0) { var _gd1 = null; if (_gd0 > this.maxNum) return null; var _gd2 = _gd0.toString(), _gd3 = this.api_deck[_gd2]; return new _gco.PresetModel(_gd0, _gd3); }, _gcr.prototype.getPresetDeckDataList = function() { var _gd4 = null; for (var _gd5 = new Array(), _gd6 = 1; _gd6 <= this.maxNum; _gd6++) { var _gd7 = this.getPresetDeckData(_gd6); _gd7.getRealShipCount() > 0 && _gd5.push(_gd7); } return _gd5; }, _gcr.prototype.__updateByPresetExpanded__ = function(_gd8) { var _gd9 = null; this.maxNum + 1 == _gd8 ? (this.api_deck[_gd8.toString()] = null, this.api_max_num = _gd8) : _gcn.default.view.showError('Invalid preset_expand.'); }, _gcr.prototype.__deletePresetDeckData__ = function(_gda) { var _gdb = null; delete this.api_deck[_gda.toString()], this.api_deck[_gda.toString()] = null; }, _gcr; }()); _gcg.PresetListModel = _gcp; }, 14836: function(_gdc, _gdd, _gde) { 'use strict'; var _gdf = null; var _gdg = this && this.__importDefault || function(_gdh) { var _gdi = null; return _gdh && _gdh.__esModule ? _gdh : { 'default': _gdh }; }; defineModule(_gdd); Object.defineProperty(_gdd, '__esModule', { 'value': !0 }), _gdd.PresetModel = void 0; var _gdj = _gde(14921), _gdk = _gdg(_gde(18622)), _gdl = (function() { var _gdm = null; function _gdn(_gdo, _gdp) { var _gdq = null; this._preset_id = -1, this._preset_id = _gdo, this._o = _gdp, this._createShipData(); } return Object.defineProperty(_gdn.prototype, 'presetID', { 'get': function() { var _gdr = null; return this._preset_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_gdn.prototype, 'deckName', { 'get': function() { var _gds = null; return null == this._o ? '' : _gdj.ObjUtil.getString(this._o, 'api_name'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_gdn.prototype, 'ships', { 'get': function() { var _gdt = null; return this._ships; }, 'enumerable': !1, 'configurable': !0 }), _gdn.prototype.getShipCount = function() { var _gdu = null, _gdv = 0, _gdw = this._getShipMemIds(); if (null == _gdw) return 0; for (var _gdx = 0; _gdx < _gdw.length; _gdx++) - 1 != _gdw[_gdx] && _gdv++; return _gdv; }, _gdn.prototype.getRealShipCount = function() { var _gdy = null; for (var _gdz = 0, _ge0 = 0; _ge0 < this._ships.length; _ge0++) null != this._ships[_ge0] && _gdz++; return _gdz; }, _gdn.prototype.getFrontShip = function() { var _ge1 = null; for (var _ge2 = 0; _ge2 < this._ships.length; _ge2++) if (null != this._ships[_ge2]) return this._ships[_ge2]; return null; }, _gdn.prototype.hasOtherDeckShip = function(_ge3) { var _ge4 = null; for (var _ge5 = 0; _ge5 < this._ships.length; _ge5++) if (this.isOtherDeckShip(_ge5, _ge3)) return !0; return !1; }, _gdn.prototype.isOtherDeckShip = function(_ge6, _ge7) { var _ge8 = null; if (null != this._ships[_ge6]) { var _ge9 = this._ships[_ge6], _gea = _gdk.default.model.deck.isInDeck(_ge9.memID); return null != _gea && _gea[0] != _ge7; } return !1; }, _gdn.prototype.getFirstOtherDeckShip = function(_geb) { var _gec = null; for (var _ged = 0; _ged < this._ships.length; _ged++) if (this.isOtherDeckShip(_ged, _geb)) return this._ships[_ged]; return null; }, _gdn.prototype.hasLostShip = function() { var _gee = null; for (var _gef = 0; _gef < this._ships.length; _gef++) if (this.isLostShip(_gef)) return !0; return !1; }, _gdn.prototype.isLostShip = function(_geg) { var _geh = null; return null == this._ships[_geg] && -1 != this._getShipMemIds()[_geg]; }, _gdn.prototype.getShipsAfterExpanded = function(_gei) { var _gej = null; for (var _gek = new Array(), _gel = 0; _gel < this._ships.length; _gel++) { var _gem = this._ships[_gel]; null != _gem && 0 == this.isOtherDeckShip(_gel, _gei) && 0 == this.isLostShip(_gel) && _gek.push(_gem); } return _gek; }, _gdn.prototype.__deleteLostShips__ = function() { var _gen = null; for (var _geo = [], _gep = this._getShipMemIds(), _geq = 0; _geq < _gep.length; _geq++) 0 == this.isLostShip(_geq) && _geo.push(_gep[_geq]); for (; _geo.length < 6;) _geo.push(-1); this._o.api_ship = _geo; }, _gdn.prototype._createShipData = function() { var _ger = null; this._ships = new Array(); var _ges = this._getShipMemIds(); if (null != _ges) for (var _get = 0; _get < _ges.length; _get++) { var _geu = _ges[_get], _gev = _gdk.default.model.ship.get(_geu); this._ships.push(_gev); } }, _gdn.prototype._getShipMemIds = function() { var _gew = null; return _gdj.ObjUtil.getObjectArray(this._o, 'api_ship', []); }, _gdn; }()); _gdd.PresetModel = _gdl; }, 9933: function(_gex, _gey, _gez) { 'use strict'; var _gf0 = null; var _gf1, _gf2 = this && this.__extends || (_gf1 = function(_gf3, _gf4) { var _gf5 = null; return _gf1 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_gf6, _gf7) { var _gf8 = null; _gf6.__proto__ = _gf7; } || function(_gf9, _gfa) { var _gfb = null; for (var _gfc in _gfa) Object.prototype.hasOwnProperty.call(_gfa, _gfc) && (_gf9[_gfc] = _gfa[_gfc]); }, _gf1(_gf3, _gf4); }, function(_gfd, _gfe) { var _gff = null; if ('function' != typeof _gfe && null !== _gfe) throw new TypeError('Class extends value ' + String(_gfe) + ' is not a constructor or null'); function _gfg() { var _gfh = null; this.constructor = _gfd; } _gf1(_gfd, _gfe), _gfd.prototype = null === _gfe ? Object.create(_gfe) : (_gfg.prototype = _gfe.prototype, new _gfg()); }), _gfi = this && this.__importDefault || function(_gfj) { var _gfk = null; return _gfj && _gfj.__esModule ? _gfj : { 'default': _gfj }; }; defineModule(_gey); Object.defineProperty(_gey, '__esModule', { 'value': !0 }), _gey.FinalizeTask = void 0; var _gfl = _gfi(_gez(18622)), _gfm = _gez(81755), _gfn = _gez(13748), _gfo = _gez(41346), _gfp = _gez(30563), _gfq = function(_gfr) { var _gfs = null; function _gft(_gfu) { var _gfv = null, _gfw = _gfr.call(this) || this; return _gfw._scene = _gfu, _gfw; } return _gf2(_gft, _gfr), _gft.prototype._start = function() { var _gfx = null, _gfy = this; if (this._scene.finalize(), _gfn.UIImageLoader.clearMemoryCache('organize'), this._isChangeListStatus()) { var _gfz = _gfo.OrganizeSceneMemory.filterStatus, _gg0 = _gfo.OrganizeSceneMemory.japanese; new _gfp.UpdateListStatusAPI(_gfz, _gg0).start(function() { var _gg1 = null; _gfl.default.model.basic.updateOrganizeListSetting(_gfz, _gg0), _gfy._endTask(); }); } else this._endTask(); }, _gft.prototype._isChangeListStatus = function() { var _gg2 = null; if (_gfl.default.model.basic.isJapaneseOrganizeList() != _gfo.OrganizeSceneMemory.japanese) return !0; var _gg3 = _gfl.default.model.basic.getFilterStatusOrganizeList(), _gg4 = _gfo.OrganizeSceneMemory.filterStatus; if (_gg3.length != _gg4.length) return !0; for (var _gg5 = 0; _gg5 < _gg3.length; _gg5++) if (_gg3[_gg5] != _gg4[_gg5]) return !0; return !1; }, _gft; }(_gfm.TaskBase); _gey.FinalizeTask = _gfq; }, 32365: function(_gg6, _gg7, _gg8) { 'use strict'; var _gg9 = null; var _gga, _ggb = this && this.__extends || (_gga = function(_ggc, _ggd) { var _gge = null; return _gga = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ggf, _ggg) { var _ggh = null; _ggf.__proto__ = _ggg; } || function(_ggi, _ggj) { var _ggk = null; for (var _ggl in _ggj) Object.prototype.hasOwnProperty.call(_ggj, _ggl) && (_ggi[_ggl] = _ggj[_ggl]); }, _gga(_ggc, _ggd); }, function(_ggm, _ggn) { var _ggo = null; if ('function' != typeof _ggn && null !== _ggn) throw new TypeError('Class extends value ' + String(_ggn) + ' is not a constructor or null'); function _ggp() { var _ggq = null; this.constructor = _ggm; } _gga(_ggm, _ggn), _ggm.prototype = null === _ggn ? Object.create(_ggn) : (_ggp.prototype = _ggn.prototype, new _ggp()); }), _ggr = this && this.__importDefault || function(_ggs) { var _ggt = null; return _ggs && _ggs.__esModule ? _ggs : { 'default': _ggs }; }; defineModule(_gg7); Object.defineProperty(_gg7, '__esModule', { 'value': !0 }), _gg7.InitializeTask = void 0; var _ggu = _ggr(_gg8(18622)), _ggv = _gg8(81755), _ggw = _gg8(41346), _ggx = function(_ggy) { var _ggz = null; function _gh0(_gh1) { var _gh2 = null, _gh3 = _ggy.call(this) || this; return _gh3._scene = _gh1, _gh3; } return _ggb(_gh0, _ggy), _gh0.prototype._start = function() { var _gh4 = null; _ggw.OrganizeSceneMemory.pageIndex = 0, _ggw.OrganizeSceneMemory.filterStatus = _ggu.default.model.basic.getFilterStatusOrganizeList(), _ggw.OrganizeSceneMemory.japanese = _ggu.default.model.basic.isJapaneseOrganizeList(), this._scene.initialize(), this._endTask(); }, _gh0.prototype._endTask = function() { var _gh5 = null; this._scene = null, _ggy.prototype._endTask.call(this); }, _gh0; }(_ggv.TaskBase); _gg7.InitializeTask = _ggx; }, 64356: function(_gh6, _gh7, _gh8) { 'use strict'; var _gh9 = null; var _gha, _ghb = this && this.__extends || (_gha = function(_ghc, _ghd) { var _ghe = null; return _gha = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ghf, _ghg) { var _ghh = null; _ghf.__proto__ = _ghg; } || function(_ghi, _ghj) { var _ghk = null; for (var _ghl in _ghj) Object.prototype.hasOwnProperty.call(_ghj, _ghl) && (_ghi[_ghl] = _ghj[_ghl]); }, _gha(_ghc, _ghd); }, function(_ghm, _ghn) { var _gho = null; if ('function' != typeof _ghn && null !== _ghn) throw new TypeError('Class extends value ' + String(_ghn) + ' is not a constructor or null'); function _ghp() { var _ghq = null; this.constructor = _ghm; } _gha(_ghm, _ghn), _ghm.prototype = null === _ghn ? Object.create(_ghn) : (_ghp.prototype = _ghn.prototype, new _ghp()); }); defineModule(_gh7); Object.defineProperty(_gh7, '__esModule', { 'value': !0 }), _gh7.PreFinalizeTask = void 0; var _ghr = function(_ghs) { var _ght = null; function _ghu(_ghv) { var _ghw = null, _ghx = _ghs.call(this) || this; return _ghx.organizeSceneMain = _ghv, _ghx; } return _ghb(_ghu, _ghs), _ghu.prototype._start = function() { var _ghy = null; this.organizeSceneMain.prefinalize(), this._completedEnd(); }, _ghu; }(_gh8(37562).TaskBase); _gh7.PreFinalizeTask = _ghr; }, 5834: function(_ghz, _gi0, _gi1) { 'use strict'; var _gi2 = null; var _gi3, _gi4 = this && this.__extends || (_gi3 = function(_gi5, _gi6) { var _gi7 = null; return _gi3 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_gi8, _gi9) { var _gia = null; _gi8.__proto__ = _gi9; } || function(_gib, _gic) { var _gid = null; for (var _gie in _gic) Object.prototype.hasOwnProperty.call(_gic, _gie) && (_gib[_gie] = _gic[_gie]); }, _gi3(_gi5, _gi6); }, function(_gif, _gig) { var _gih = null; if ('function' != typeof _gig && null !== _gig) throw new TypeError('Class extends value ' + String(_gig) + ' is not a constructor or null'); function _gii() { var _gij = null; this.constructor = _gif; } _gi3(_gif, _gig), _gif.prototype = null === _gig ? Object.create(_gig) : (_gii.prototype = _gig.prototype, new _gii()); }), _gik = this && this.__importDefault || function(_gil) { var _gim = null; return _gil && _gil.__esModule ? _gil : { 'default': _gil }; }; defineModule(_gi0); Object.defineProperty(_gi0, '__esModule', { 'value': !0 }), _gi0.PreInitializeTask = void 0; var _gin = _gik(_gi1(18622)), _gio = _gi1(81755), _gip = _gi1(93513), _giq = _gi1(73195), _gir = _gi1(90054), _gis = _gi1(74623), _git = _gi1(21173), _giu = _gi1(36814), _giv = function(_giw) { var _gix = null; function _giy(_giz) { var _gj0 = null, _gj1 = _giw.call(this) || this; return _gj1._loadPreset = function() { var _gj2 = null, _gj3 = new _giu.PresetDeckAPI(); _gj3.start(function() { var _gj4 = null, _gj5 = _gj3.result; _gj1.organizeScene.preInitialize(_gj5), _gj1._endTask(); }); }, _gj1.organizeScene = _giz, _gj1; } return _gi4(_giy, _giw), _giy.prototype._start = function() { var _gj6 = null; this._loadResource(); }, _giy.prototype._loadResource = function() { var _gj7 = null, _gj8 = this; new _gip.TaskLoadResourcesOrganize().start(function() { var _gj9 = null; _gj8._uploadToGPU_common(); }); }, _giy.prototype._uploadToGPU_common = function() { var _gja = null, _gjb = this; _gin.default.settings.renderer.plugins.prepare.upload(_giq.COMMON_ICON_WEAPON.getTextureFromMstID(1).baseTexture, function() { var _gjc = null; _gin.default.settings.renderer.plugins.prepare.upload(_gir.COMMON_MAIN.getTexture(0).baseTexture, function() { var _gjd = null; _gjb._uploadToGPU_organize(); }); }); }, _giy.prototype._uploadToGPU_organize = function() { var _gje = null, _gjf = this; _gin.default.settings.renderer.plugins.prepare.upload(_gis.ORGANIZE_MAIN.getTexture(0).baseTexture, function() { var _gjg = null; _gin.default.settings.renderer.plugins.prepare.upload(_git.ORGANIZE_SHIP.getTexture(0).baseTexture, function() { var _gjh = null; _gjf._loadPreset(); }); }); }, _giy; }(_gio.TaskBase); _gi0.PreInitializeTask = _giv; }, 90268: function(_gji, _gjj, _gjk) { 'use strict'; var _gjl = null; var _gjm = this && this.__importDefault || function(_gjn) { var _gjo = null; return _gjn && _gjn.__esModule ? _gjn : { 'default': _gjn }; }; defineModule(_gjj); Object.defineProperty(_gjj, '__esModule', { 'value': !0 }), _gjj.TaskShipDetail = void 0; var _gjp = _gjm(_gjk(21359)), _gjq = _gjm(_gjk(18622)), _gjr = _gjk(35380), _gjs = _gjk(18343), _gjt = _gjk(79899), _gju = _gjk(48205), _gjv = _gjk(70723), _gjw = _gjk(89173), _gjx = (function() { var _gjy = null; function _gjz(_gk0) { var _gk1 = null, _gk2 = this; this._onClickBack = function() { var _gk3 = null; _gk2.onClickBack(); }, this.mainView = _gk0, this.dialogBackground = new _gjt.AreaBox(0.5), this.shipDetailView = new _gjw.ShipDetailView(); } return _gjz.prototype.start = function(_gk4) { var _gk5 = null, _gk6 = _gjq.default.model.ship.get(_gk4), _gk7 = _gjq.default.model.ship.getMst(_gk6.mstID), _gk8 = _gjs.ShipUtil.isMaxGradeUp(_gk6, _gk7, !1), _gk9 = _gjq.default.model.deck.isInDeck(_gk6.memID); this.dialogBackground.alpha = 0, this.dialogBackground.on(_gjr.EventType.CLICK, this._onClickBack); var _gka = !1; _gk9 && (_gka = null != _gjq.default.model.deck.get(_gk9[0]).expedition), (this.shipDetailView.updateBox1(_gk6.name, _gk6.level, _gk6.hpNow, _gk6.hpMax, _gk6.starNum, _gk8), this.shipDetailView.updateBox2(_gk6, _gk6.getSlotitems()), this.shipDetailView.updateBox3(_gk6.hpMax, _gk6.soukouOrg, _gk6.kaihiOrg, _gk6.tousai, _gk6.speed, _gk6.range, _gk6.karyokuOrg, _gk6.raisouOrg, _gk6.taiku, _gk6.taisen, _gk6.sakuteki, _gk6.lucky, _gk6.karyokuSp, _gk6.raisouSp, _gk6.soukouSp, _gk6.kaihiSp), this.shipDetailView.updateBox4(_gk6, _gk6.getSlotitemEx(), _gk6.isExtraSlot()), this.shipDetailView.updateBox5(_gk6, _gka), this.shipDetailView.position.set(_gjp.default.width, 141), this.mainView.addChild(this.dialogBackground), this.mainView.addChild(this.shipDetailView), _gjq.default.view.clickGuard = !0, _gjv.SE.play('249')), (createjs.Tween.get(this.dialogBackground).to({ 'alpha': 1 }, 125), createjs.Tween.get(this.shipDetailView).to({ 'x': 471 }, 125).call(function() { var _gkb = null; _gjq.default.sound.voice.playAtRandom(_gk6.mstID.toString(), [2, 3], [50, 50]), _gjq.default.view.clickGuard = !1; })); }, _gjz.prototype.hide = function(_gkc) { var _gkd = null; _gju.TaskLoadShipResource.abortBy(this.shipDetailView), _gjq.default.view.clickGuard = !0, (createjs.Tween.get(this.dialogBackground).to({ 'alpha': 0 }, 125), createjs.Tween.get(this.shipDetailView).to({ 'x': _gjp.default.width }, 125).call(function() { var _gke = null; _gjq.default.view.clickGuard = !1, _gkc(); })); }, _gjz.prototype.dispose = function() { var _gkf = null; this.dialogBackground.off(_gjr.EventType.CLICK, this._onClickBack), this.shipDetailView.dispose(), this.mainView.removeChild(this.dialogBackground), this.mainView.removeChild(this.shipDetailView), this.onClickBack = null, this.dialogBackground = null, this.mainView = null, this.shipDetailView = null; }, _gjz; }()); _gjj.TaskShipDetail = _gjx; }, 59936: function(_gkg, _gkh, _gki) { 'use strict'; var _gkj = null; var _gkk = this && this.__importDefault || function(_gkl) { var _gkm = null; return _gkl && _gkl.__esModule ? _gkl : { 'default': _gkl }; }; defineModule(_gkh); Object.defineProperty(_gkh, '__esModule', { 'value': !0 }), _gkh.TaskChangeShip = void 0; var _gkn = _gkk(_gki(18622)), _gko = _gki(35660), _gkp = _gki(52574), _gkq = _gki(49379), _gkr = _gki(96424), _gks = _gki(86309), _gkt = _gki(16677), _gku = (function() { var _gkv = null; function _gkw(_gkx) { var _gky = null, _gkz = this; this._onCompleteChoiceShip = function(_gl0) { var _gl1 = null; switch (_gkt.WheelEventUtil.clear(), _gl0) { case _gkr.TaskChoiceShipResult.CHOICE: _gkz.memShipId = _gkz.taskChoiceShip.memShipId, _gkz.taskConfirmChangeShip = new _gks.TaskConfirmChangeShip(_gkz.mainView), _gkz.taskConfirmChangeShip.onComplete = _gkz._onCompleteComfirm, _gkz.taskConfirmChangeShip.start(_gkz.deckId, _gkz.slotIndex, _gkz.memShipId); break; case _gkr.TaskChoiceShipResult.CANCEL: _gkn.default.view.clickGuard = !0, _gkz.taskChoiceShip.hide(function() { var _gl2 = null; _gkz.taskChoiceShip.dispose(), _gkz.taskChoiceShip = null, _gkn.default.view.clickGuard = !1, _gkz.onComplete(_gl0); }); break; case _gkr.TaskChoiceShipResult.DETACH: _gkn.default.view.clickGuard = !0; var _gl3 = new _gko.APIConnector(); _gl3.add(new _gkq.ChangeAPI(!1, _gkz.deckId, _gkz.slotIndex, -1)), 10 == _gkn.default.model.basic.getTutorialProgress() && _gl3.add(new _gkp.UpdateTutorialAPI(20)), _gl3.start(function() { var _gl4 = null; _gkn.default.view.clickGuard = !1, _gkz.onUpdateDeck(), _gkz.onComplete(_gl0); }); } }, this._onCompleteComfirm = function(_gl5) { var _gl6 = null; switch (_gl5) { case !0: _gkn.default.view.clickGuard = !0; var _gl7 = new _gko.APIConnector(); _gl7.add(new _gkq.ChangeAPI(!1, _gkz.deckId, _gkz.slotIndex, _gkz.memShipId)), 10 == _gkn.default.model.basic.getTutorialProgress() && _gl7.add(new _gkp.UpdateTutorialAPI(20)), _gl7.start(function() { var _gl8 = null; _gkn.default.view.clickGuard = !1, _gkz.onUpdateDeck(), _gkz.taskConfirmChangeShip.hide(function() { var _gl9 = null; _gkz.taskChoiceShip.dispose(), _gkz.taskChoiceShip = null, _gkz.taskConfirmChangeShip.dispose(), _gkz.taskConfirmChangeShip = null, _gkz.onComplete(_gkr.TaskChoiceShipResult.CHOICE); }), _gkz.taskChoiceShip.hide(function() {}); }); break; case !1: _gkn.default.view.clickGuard = !0, _gkz.taskConfirmChangeShip.hide(function() { var _gla = null; _gkz.taskConfirmChangeShip.dispose(), _gkz.taskConfirmChangeShip = null, _gkz.taskChoiceShip.activateWheel(), _gkn.default.view.clickGuard = !1; }); } }, this.mainView = _gkx; } return _gkw.prototype.dispose = function() { var _glb = null; this.taskChoiceShip && this.taskChoiceShip.dispose(), this.taskConfirmChangeShip && this.taskConfirmChangeShip.dispose(), this.taskChoiceShip = null, this.taskConfirmChangeShip = null, this.mainView = null, this.deckId = null, this.memShipId = null, this.slotIndex = null; }, _gkw.prototype.start = function(_glc, _gld) { var _gle = null; this.deckId = _glc, this.slotIndex = _gld; var _glf = _gkn.default.model.deck.get(_glc), _glg = !1; 1 == _glf.mstID && 1 == _glf.getCount() ? _glg = !1 : _glf.getShipModel(_gld) && (_glg = !0), this.taskChoiceShip = new _gkr.TaskChoiceShip(this.mainView), this.taskChoiceShip.onComplete = this._onCompleteChoiceShip, this.taskChoiceShip.start(_glg); }, _gkw; }()); _gkh.TaskChangeShip = _gku; }, 96424: function(_glh, _gli, _glj) { 'use strict'; var _glk = null; var _gll = this && this.__importDefault || function(_glm) { var _gln = null; return _glm && _glm.__esModule ? _glm : { 'default': _glm }; }; defineModule(_gli); Object.defineProperty(_gli, '__esModule', { 'value': !0 }), _gli.TaskChoiceShip = _gli.TaskChoiceShipResult = void 0; var _glo, _glp = _gll(_glj(21359)), _glq = _gll(_glj(18622)), _glr = _glj(35380), _gls = _glj(18343), _glt = _glj(79899), _glu = _glj(1893), _glv = _glj(56189), _glw = _glj(70723), _glx = _glj(41346), _gly = _glj(32895), _glz = _glj(35819), _gm0 = _glj(16677), _gm1 = _glj(71633); ! function(_gm2) { var _gm3 = null; _gm2[_gm2.CANCEL = 0] = 'CANCEL', _gm2[_gm2.DETACH = 1] = 'DETACH', _gm2[_gm2.CHOICE = 2] = 'CHOICE'; }(_glo || (_gli.TaskChoiceShipResult = _glo = {})); var _gm4 = (function() { var _gm5 = null; function _gm6(_gm7) { var _gm8 = null, _gm9 = this; this.ITEM_NUM = 10, this._onWheel = function(_gma) { var _gmb = null; if (0 != _gma.delta) { var _gmc = _gm9._calcPageCount(_gm9.ships.length); if (0 != _gmc) { var _gmd = _gma.delta > 0 ? _gm9._pageIndex + 1 : _gm9._pageIndex - 1; _gmd < 0 || _gmd + 1 > _gmc || (_gma.enabledGuard(), _gm9._onChangePage(_gmd), _gm9.pagerView.changePage(_gmd)); } } }, this._onChangePage = function(_gme) { var _gmf = null; if (_gm9._pageIndex != _gme) { var _gmg = _gm9.ships.slice(_gme * _gm9.ITEM_NUM, _gme * _gm9.ITEM_NUM + _gm9.ITEM_NUM); _gm9._updateShips_(_gmg, _gm9.detachable), _glx.OrganizeSceneMemory.pageIndex = _gm9._pageIndex = _gme; } }, this._onClickBackground = function() { var _gmh = null; _gm9.onComplete(_glo.CANCEL); }, this._onClickLock = function(_gmi) { var _gmj = null; _glq.default.view.clickGuard = !0, new _glz.ShipLockAPI(!1, _gmi).start(function() { var _gmk = null; _glq.default.view.clickGuard = !1, _gls.ShipUtil.sort(_gm9.ships, _gm9._shipSortKeyType); var _gml = _gm9.ships.slice(_gm9._pageIndex * _gm9.ITEM_NUM, _gm9._pageIndex * _gm9.ITEM_NUM + _gm9.ITEM_NUM); _glq.default.model.ship.get(_gmi).isLocked() ? _glw.SE.play('242') : _glw.SE.play('255'), _gm9._updateShips_(_gml, _gm9.detachable); }); }, this._onClickDetach = function() { var _gmm = null; _gm9.onComplete(_glo.DETACH); }, this._onClickItem = function(_gmn) { var _gmo = null; _gm9._memShipId = _gmn, _gm9.onComplete(_glo.CHOICE); }, this._onClickSort = function() { var _gmp = null, _gmq; switch (_gm9._shipSortKeyType) { case 1: _gmq = 2; break; case 2: _gmq = 3; break; case 3: _gmq = 4; break; case 4: _gmq = 5; break; case 5: _gmq = 6; break; case 6: _gmq = 1; } _gm9.shipSortButton.update(_gmq), _gls.ShipUtil.sort(_gm9.ships, _gmq); var _gmr = _gm9.ships.slice(_gm9._pageIndex * _gm9.ITEM_NUM, _gm9._pageIndex * _gm9.ITEM_NUM + _gm9.ITEM_NUM); _gm9._updateShips_(_gmr, _gm9.detachable), _glx.OrganizeSceneMemory.shipSortKeyType = _gm9._shipSortKeyType = _gmq; }, this._onFilter = function(_gms, _gmt) { var _gmu = null, _gmv = _glq.default.model.ship.getAll(); _gls.ShipUtil.sort(_gmv, _gm9._shipSortKeyType), _gm9.ships = _gm9._filter(_gmv, _gms, _gmt); var _gmw = _gm9._calcPageCount(_gm9.ships.length), _gmx = _gm9.ships.slice(0 * _gm9.ITEM_NUM, 0 * _gm9.ITEM_NUM + _gm9.ITEM_NUM); _glx.OrganizeSceneMemory.pageIndex = _gm9._pageIndex = 0, 0 == _gmx.length ? _gm9.pagerView.visible = !1 : (_gm9.pagerView.visible = !0, _gm9.pagerView.init(_gmw), _gm9.pagerView.changePage(0)), _gm9.shipChoiceView.setExistLineUI(_gmx.length), _gm9._updateShips_(_gmx, _gm9.detachable); }, this.mainView = _gm7; var _gmy = _glx.OrganizeSceneMemory.filterStatus, _gmz = _glx.OrganizeSceneMemory.japanese, _gn0 = _glq.default.model.ship.getAll(), _gn1 = _gm1.EventConst.AREA_ID > -1 && _gn0.some(function(_gn2) { var _gn3 = null; return 0 != _gn2.label; }) && _gn0.some(function(_gn4) { var _gn5 = null; return 0 == _gn4.label; }) ? _glx.OrganizeSceneMemory.eventFilterStatus : 0; this.shipChoiceView = new _gly.ShipChoiceView(_gmy, _gmz, _gn1, this._onFilter), this.dialogBackground = new _glt.AreaBox(0.5), this.pagerView = new _glu.PagerView(), this.shipSortButton = new _glv.ShipSortButton(); } return Object.defineProperty(_gm6.prototype, 'memShipId', { 'get': function() { var _gn6 = null; return this._memShipId; }, 'enumerable': !1, 'configurable': !0 }), _gm6.prototype.start = function(_gn7) { var _gn8 = null, _gn9 = this, _gna = (_glx.OrganizeSceneMemory.pageIndex, _glx.OrganizeSceneMemory.shipSortKeyType); _glq.default.view.clickGuard = !0, this.dialogBackground.on(_glr.EventType.CLICK, this._onClickBackground), this.pagerView.onChangePage = this._onChangePage, this.shipChoiceView.onClickLock = this._onClickLock, this.shipChoiceView.onClickItem = this._onClickItem, this.shipChoiceView.onClickDetach = this._onClickDetach, this.shipSortButton.onClick = this._onClickSort, this.shipSortButton.interactive = this.shipSortButton.buttonMode = !0, this.pagerView.position.set(90, 528), this.shipChoiceView.position.set(1200, 138), this.shipSortButton.position.set(592, 41), this.dialogBackground.alpha = 0, this.shipChoiceView.addChild(this.pagerView), this.shipChoiceView.addChild(this.shipSortButton), this.mainView.addChild(this.dialogBackground), this.mainView.addChild(this.shipChoiceView), this.shipSortButton.update(_gna), this._shipSortKeyType = _gna, this.detachable = _gn7; var _gnb = _glq.default.model.ship.getAll(); _gls.ShipUtil.sort(_gnb, this._shipSortKeyType), this._pageIndex = _glx.OrganizeSceneMemory.pageIndex, this.ships = this._filter(_gnb, this.shipChoiceView.getOnFilter(), this.shipChoiceView.getEventFilterStatus()); var _gnc = this._calcPageCount(this.ships.length), _gnd = this.ships.slice(this._pageIndex * this.ITEM_NUM, this._pageIndex * this.ITEM_NUM + this.ITEM_NUM); 0 == _gnd.length ? this.pagerView.visible = !1 : (this.pagerView.visible = !0, this.pagerView.init(_gnc), this.pagerView.changePage(this._pageIndex)), this.shipChoiceView.setExistLineUI(_gnd.length), this._updateShips_(_gnd, this.detachable), (createjs.Tween.get(this.dialogBackground).to({ 'alpha': 1 }, 125), createjs.Tween.get(this.shipChoiceView).to({ 'x': 528 }, 125).call(function() { var _gne = null; _glq.default.view.clickGuard = !1, _gn9.activateWheel(); })); }, _gm6.prototype._updateShips_ = function(_gnf, _gng) { var _gnh = null; this.shipChoiceView.hideDetach(), _gng && this.shipChoiceView.showDetach(); for (var _gni = 0; _gni < this.shipChoiceView.ITEM_NUM; _gni++) { var _gnj = _gnf[_gni]; if (_gnj) { var _gnk = _glq.default.model.deck.isInDeck(_gnj.memID); this.shipChoiceView.update(_gni, _gnj, _gnk); } else this.shipChoiceView.hide(_gni); } }, _gm6.prototype._filter = function(_gnl, _gnm, _gnn) { var _gno = null; return _gls.ShipUtil.filterByTag(_gls.ShipUtil.filterByShipFilterType(_gnl, _gnm), _gnn); }, _gm6.prototype.activateWheel = function() { var _gnp = null; _gm0.WheelEventUtil.regist(this._onWheel.bind(this)); }, _gm6.prototype.hide = function(_gnq) { var _gnr = null; createjs.Tween.get(this.dialogBackground).to({ 'alpha': 1 }, 125), createjs.Tween.get(this.shipChoiceView).to({ 'x': _glp.default.width }, 125).call(function() { _gnq(); }); }, _gm6.prototype.dispose = function() { var _gns = null; _glx.OrganizeSceneMemory.filterStatus = this.shipChoiceView.getFilterStatus(), _glx.OrganizeSceneMemory.japanese = this.shipChoiceView.isJapanese(), _glx.OrganizeSceneMemory.eventFilterStatus = this.shipChoiceView.getEventFilterStatus(), this.dialogBackground.off(_glr.EventType.CLICK, this._onClickBackground), this.shipChoiceView.dispose(), this.pagerView.dispose(), this.shipSortButton.dispose(), this.mainView.removeChild(this.dialogBackground), this.mainView.removeChild(this.shipChoiceView), this.shipSortButton.onClick = null, this.onComplete = null, this.mainView = null, this.shipChoiceView = null, this.dialogBackground = null, this.pagerView = null, this.shipSortButton = null, this._onChangePage = null, this._onClickBackground = null, this._onClickDetach = null, this._onClickItem = null, this._onClickLock = null, this._onClickSort = null, this.ships = null, this._memShipId = null, this.detachable = null, this._pageIndex = null, this._shipSortKeyType = null; }, _gm6.prototype._calcPageCount = function(_gnt) { var _gnu = null, _gnv = 0 == _gnt ? 0 : _gnt / this.ITEM_NUM; return _gnv += 0 == _gnt ? 0 : 0 < _gnt % this.ITEM_NUM ? 1 : 0, _gnv = parseInt(_gnv.toString()); }, _gm6; }()); _gli.TaskChoiceShip = _gm4; }, 86309: function(_gnw, _gnx, _gny) { 'use strict'; var _gnz = null; var _go0 = this && this.__importDefault || function(_go1) { var _go2 = null; return _go1 && _go1.__esModule ? _go1 : { 'default': _go1 }; }; defineModule(_gnx); Object.defineProperty(_gnx, '__esModule', { 'value': !0 }), _gnx.TaskConfirmChangeShip = void 0; var _go3 = _go0(_gny(21359)), _go4 = _go0(_gny(18622)), _go5 = _gny(35380), _go6 = _gny(79899), _go7 = _gny(48205), _go8 = _gny(92507), _go9 = (function() { var _goa = null; function _gob(_goc) { var _god = null, _goe = this; this._onClickBackground = function() { var _gof = null; _goe.onComplete(!1); }, this._onClickChange = function() { var _gog = null; _goe.onComplete(!0); }, this.mainView = _goc, this.shipChangeConfirm = new _go8.ShipChangeConfirm(), this.dialogBackground = new _go6.AreaBox(0.5); } return _gob.prototype.start = function(_goh, _goi, _goj) { var _gok = null; this.shipChangeConfirm.position.set(1200, 138), this.shipChangeConfirm.onClick = this._onClickChange, this.dialogBackground.alpha = 0, this.dialogBackground.on(_go5.EventType.CLICK, this._onClickBackground); var _gol = _go4.default.model.ship.get(_goj), _gom = _go4.default.model.deck.isInDeck(_goj), _gon = this.__validationOrganize__(_goh, _goi, _goj), _goo = !1; _gom && (_goo = null != _go4.default.model.deck.get(_gom[0]).expedition), (this.shipChangeConfirm.updatePosition(_gol.getSlotViewMax()), this.shipChangeConfirm.updateBanner(_gol, _goo), this.shipChangeConfirm.updateMaterial(_gol.fuelNow, _gol.fuelMax, _gol.ammoNow, _gol.ammoMax), this.shipChangeConfirm.updateParams(_gol.karyoku, _gol.raisou, _gol.taiku, _gol.soukou), this.shipChangeConfirm.updateShip(_gol.mstID, _gol.isDamaged(), _gol.name, _gol.level, _gol.starNum, _gol.hpNow, _gol.hpMax, _gol.hpNow / _gol.hpMax), this.shipChangeConfirm.updateSlots(_gol, _gol.getSlotitems()), this.shipChangeConfirm.updateChangable(_gon), this.mainView.addChild(this.dialogBackground), this.mainView.addChild(this.shipChangeConfirm), this.toDeckId = _goh, this.toIndex = _goi, this.memShipId = _goj, _go4.default.view.clickGuard = !0), (createjs.Tween.get(this.dialogBackground).to({ 'alpha': 1 }, 125), createjs.Tween.get(this.shipChangeConfirm).to({ 'x': 882 }, 125).call(function() { var _gop = null; _go4.default.view.clickGuard = !1; })); }, _gob.prototype.hide = function(_goq) { var _gor = null; _go7.TaskLoadShipResource.abortBy(this.shipChangeConfirm), (createjs.Tween.get(this.dialogBackground).to({ 'alpha': 0 }, 125), createjs.Tween.get(this.shipChangeConfirm).to({ 'x': _go3.default.width }, 125).call(function() { _goq(); })); }, _gob.prototype.dispose = function() { var _gos = null; this.dialogBackground.off(_go5.EventType.CLICK, this._onClickBackground), this.shipChangeConfirm.dispose(), this.mainView.removeChild(this.dialogBackground), this.mainView.removeChild(this.shipChangeConfirm), this.shipChangeConfirm.onClick = this._onClickChange = null, this.onComplete = null, this.mainView = null, this.shipChangeConfirm = null, this.dialogBackground = null, this.toDeckId = null, this.toIndex = null, this.memShipId = null, this.deckEditor = null, this.organizable = null; }, _gob.prototype.__validationOrganize__ = function(_got, _gou, _gov) { var _gow = null, _gox = _go4.default.model.deck.get(_got), _goy = _gox.getShipModel(_gou), _goz = _go4.default.model.ship.get(_gov), _gp0 = _go4.default.model.deck.isInDeck(_gov), _gp1 = null; if (_gp0) { var _gp2 = _gp0[0]; _gp1 = _go4.default.model.deck.get(_gp2); } if (null == _goy && _gp1 && 1 == _gp1.mstID && 1 == _gp1.getCount()) return !1; if (null == _goy && _gp1 && _gox && _gp1.mstID == _gox.mstID) return !1; if (_goz && _gp1 && _gp1.expedition) return !1; if (_goz && _goy && _goz.memID == _goy.memID) return !1; for (var _gp3 = _gox.getShipList(), _gp4 = 0; _gp4 < _gp3.length; _gp4++) { var _gp5 = _gp3[_gp4]; if (_goz && _gp5 && _gp5.yomi == _goz.yomi && _gp4 != _gou) { if (!_gp1) return !1; if (_gox.mstID != _gp1.mstID) return !1; } } if (_goy && _goz && _gp1) for (var _gp6 = _gp1.getShipList(), _gp7 = _gp1.isInDeck(_goz.memID), _gp8 = 0; _gp8 < _gp6.length; _gp8++) { var _gp9 = _gp6[_gp8]; if (_goy && _gp9 && _gp9.yomi == _goy.yomi && _gox.mstID != _gp1.mstID && _gp8 != _gp7) return !1; } return !0; }, _gob; }()); _gnx.TaskConfirmChangeShip = _go9; }, 35901: function(_gpa, _gpb, _gpc) { 'use strict'; var _gpd = null; var _gpe = this && this.__createBinding || (Object.create ? function(_gpf, _gpg, _gph, _gpi) { var _gpj = null; void 0 === _gpi && (_gpi = _gph); var _gpk = Object.getOwnPropertyDescriptor(_gpg, _gph); _gpk && !('get' in _gpk ? !_gpg.__esModule : _gpk.writable || _gpk.configurable) || (_gpk = { 'enumerable': !0, 'get': function() { return _gpg[_gph]; } }), Object.defineProperty(_gpf, _gpi, _gpk); } : function(_gpl, _gpm, _gpn, _gpo) { void 0 === _gpo && (_gpo = _gpn), _gpl[_gpo] = _gpm[_gpn]; }), _gpp = this && this.__setModuleDefault || (Object.create ? function(_gpq, _gpr) { var _gps = null; Object.defineProperty(_gpq, 'default', { 'enumerable': !0, 'value': _gpr }); } : function(_gpt, _gpu) { var _gpv = null; _gpt.default = _gpu; }), _gpw = this && this.__importStar || function(_gpx) { var _gpy = null; if (_gpx && _gpx.__esModule) return _gpx; var _gpz = {}; if (null != _gpx) { for (var _gq0 in _gpx) 'default' !== _gq0 && Object.prototype.hasOwnProperty.call(_gpx, _gq0) && _gpe(_gpz, _gpx, _gq0); } return _gpp(_gpz, _gpx), _gpz; }, _gq1 = this && this.__importDefault || function(_gq2) { var _gq3 = null; return _gq2 && _gq2.__esModule ? _gq2 : { 'default': _gq2 }; }; defineModule(_gpb); Object.defineProperty(_gpb, '__esModule', { 'value': !0 }), _gpb.TaskCheckCombineStateAndRepair = void 0; var _gq4 = _gq1(_gpc(18622)), _gq5 = _gpw(_gpc(31000)), _gq6 = _gpc(65181), _gq7 = _gpc(50049), _gq8 = (function() { var _gq9 = null; function _gqa(_gqb) { var _gqc = null; this.combineBrokenMessage = new PIXI.Sprite(_gq5.ORGANIZE_MAIN.getTexture(47)), this.combineBrokenMessage.anchor.set(0.3, 0), this.mainView = _gqb; } return _gqa.prototype.start = function() { var _gqd = null, _gqe = this; if (_gq4.default.model.deck.combined.isCombined()) { var _gqf = _gq4.default.model.deck.get(1), _gqg = _gq4.default.model.deck.get(2), _gqh = _gq4.default.model.deck.combined.type; if (this.hasBrokenCombine(_gqf, _gqg, _gqh)) new _gq7.CombinedAPI(0).start(function() { var _gqi = null; _gqe.mainView.addChild(_gqe.combineBrokenMessage), _gqe.combineBrokenMessage.position.set(247, 195), _gqe.combineBrokenMessage.width = 0, _gqe.combineBrokenMessage.height = 0, createjs.Tween.get(_gqe.combineBrokenMessage).to({ 'width': 0, 'height': 0 }).to({ 'width': 238, 'height': 90 }, 250).wait(2000).to({ 'width': 0, 'height': 0 }, 250).call(function() { var _gqj = null; createjs.Tween.removeTweens(_gqe.combineBrokenMessage), _gqe.onBroken(), _gqe.onComplete(); }).play(null); }); else this.onComplete(); } else this.onComplete(); }, _gqa.prototype.dispose = function() { var _gqk = null; this.mainView.removeChild(this.combineBrokenMessage), this.mainView = null, this.combineBrokenMessage = null, this.onComplete = null, this.onBroken = null; }, _gqa.prototype.hasBrokenCombine = function(_gql, _gqm, _gqn) { var _gqo = null; return !_gq6.CombineUtil.checkCombinable(_gql, _gqm, _gqn)[0]; }, _gqa; }()); _gpb.TaskCheckCombineStateAndRepair = _gq8; }, 47701: function(_gqp, _gqq, _gqr) { 'use strict'; var _gqs = null; var _gqt = this && this.__importDefault || function(_gqu) { var _gqv = null; return _gqu && _gqu.__esModule ? _gqu : { 'default': _gqu }; }; defineModule(_gqq); Object.defineProperty(_gqq, '__esModule', { 'value': !0 }), _gqq.TaskCombineTypeSelect = void 0; var _gqw = _gqt(_gqr(18622)), _gqx = _gqr(83415), _gqy = _gqr(79899), _gqz = _gqr(65181), _gr0 = _gqr(29053), _gr1 = _gqr(72516), _gr2 = _gqr(60267), _gr3 = _gqr(50049), _gr4 = (function() { var _gr5 = null; function _gr6(_gr7) { var _gr8 = null; this.mainView = _gr7, this.dialogBackground = new _gqy.AreaBox(_gqx.UISettings.DIALOG_BG_ALPHA), this.combineTypeSelectDialog = new _gr2.CombineTypeSelectDialog(), this.combineConfirmDialog = new _gr1.CombineConfirmDialog(), this.combineConfirmAlertDialog = new _gr0.CombineConfirmAlertDialog(); } return _gr6.prototype.dispose = function() { var _gr9 = null; this.combineTypeSelectDialog.dispose(), this.combineConfirmDialog.dispose(), this.combineConfirmAlertDialog.dispose(), this.mainView.removeChild(this.dialogBackground), this.mainView.removeChild(this.combineConfirmAlertDialog), this.mainView.removeChild(this.combineConfirmDialog), this.mainView.removeChild(this.combineTypeSelectDialog), this.combineTypeSelectDialog.onClickBack = null, this.combineTypeSelectDialog.onClickKido = null, this.combineTypeSelectDialog.onClickSuijo = null, this.combineTypeSelectDialog.onClickYuso = null, this.combineConfirmDialog.onClickNO = null, this.combineConfirmDialog.onClickYES = null, this.combineConfirmAlertDialog.onClickYES = null, this.onCombined = null, this.onComplete = null, this.mainView = null, this.dialogBackground = null, this.combineTypeSelectDialog = null, this.combineConfirmDialog = null, this.combineConfirmAlertDialog = null; }, _gr6.prototype.start = function() { var _gra = null, _grb = this; this.combineTypeSelectDialog.position.set(304, 232), this.combineTypeSelectDialog.update(_gqw.default.model.basic.getMFlag()), this.combineTypeSelectDialog.onClickBack = function() { var _grc = null; _grb.onComplete(); }, this.combineConfirmAlertDialog.position.set(216, 186), this.combineTypeSelectDialog.onClickKido = function() { var _grd = null; _grb._onClickType(1); }, this.combineTypeSelectDialog.onClickSuijo = function() { var _gre = null; _grb._onClickType(2); }, this.combineTypeSelectDialog.onClickYuso = function() { var _grf = null; _grb._onClickType(3); }, this.mainView.addChild(this.dialogBackground), this.mainView.addChild(this.combineTypeSelectDialog); }, _gr6.prototype._onClickType = function(_grg) { var _grh = null, _gri = this, _grj = _gqw.default.model.deck.get(1), _grk = _gqw.default.model.deck.get(2); this.mainView.removeChild(this.dialogBackground), this.mainView.removeChild(this.combineTypeSelectDialog), this.combineConfirmDialog.position.set(171, 186); var _grl = _gqz.CombineUtil.checkCombinable(_grj, _grk, _grg), _grm = _grl[0], _grn = _grl[1], _gro = _grl[2]; _grm ? (this.combineConfirmDialog.updateViewType(_grg), this.combineConfirmDialog.updateCombineDeck(_grj, _grk), this.combineConfirmDialog.onClickNO = function() { var _grp = null; _gri.onComplete(); }, this.combineConfirmDialog.onClickYES = function() { var _grq = null; _gqw.default.view.clickGuard = !0, new _gr3.CombinedAPI(_grg).start(function() { var _grr = null; _gri.onCombined(), _gqw.default.view.clickGuard = !1, _gri.onComplete(); }); }, this.mainView.addChild(this.dialogBackground), this.mainView.addChild(this.combineConfirmDialog)) : (this.combineConfirmAlertDialog.updateCombineDeck(_grj, _grk, _grn, _gro), this.combineConfirmAlertDialog.updateViewType(_grg), this.combineConfirmAlertDialog.onClickYES = function() { var _grs = null; _gri.onComplete(); }, this.mainView.addChild(this.dialogBackground), this.mainView.addChild(this.combineConfirmAlertDialog)); }, _gr6; }()); _gqq.TaskCombineTypeSelect = _gr4; }, 97993: function(_grt, _gru, _grv) { 'use strict'; var _grw = null; var _grx = this && this.__importDefault || function(_gry) { var _grz = null; return _gry && _gry.__esModule ? _gry : { 'default': _gry }; }; defineModule(_gru); Object.defineProperty(_gru, '__esModule', { 'value': !0 }), _gru.TaskAnimationMamiyaIrako = void 0; var _gs0 = _grx(_grv(18622)), _gs1 = _grx(_grv(21359)), _gs2 = _grv(80534), _gs3 = _grv(13748), _gs4 = _grv(70723), _gs5 = _grv(57180), _gs6 = _grv(63727), _gs7 = _grv(18575), _gs8 = _grv(95632), _gs9 = _grv(7665), _gsa = (function() { var _gsb = null; function _gsc(_gsd) { var _gse = null, _gsf = this; switch (this._gScale = 0.5, this.endUpdate = function() { var _gsg = null; _gsf.hide(), null != _gsf._callback && _gsf._callback(); }, this._OrganizeView = _gsd, this._mainLayer = new PIXI.Container(), _gs2.MAMIYA_IRAKO_SEASON) { case 2: this._kiraPos_m = [new PIXI.Point(586, 40), new PIXI.Point(544, 100), new PIXI.Point(652, 114), new PIXI.Point(534, 234), new PIXI.Point(613, 276), new PIXI.Point(681, 241), new PIXI.Point(534, 366), new PIXI.Point(652, 378), new PIXI.Point(562, 439), new PIXI.Point(667, 474), new PIXI.Point(526, 544), new PIXI.Point(573, 690)], this._kiraPos_i = [new PIXI.Point(550, 66), new PIXI.Point(504, 82), new PIXI.Point(615, 127), new PIXI.Point(453, 226), new PIXI.Point(570, 261), new PIXI.Point(669, 207), new PIXI.Point(528, 348), new PIXI.Point(708, 375), new PIXI.Point(570, 463), new PIXI.Point(643, 556), new PIXI.Point(544, 589), new PIXI.Point(520, 693)], this._gScale = 0.5; break; case 4: this._kiraPos_m = [new PIXI.Point(615, 30), new PIXI.Point(544, 100), new PIXI.Point(652, 114), new PIXI.Point(534, 234), new PIXI.Point(613, 276), new PIXI.Point(681, 241), new PIXI.Point(534, 366), new PIXI.Point(652, 378), new PIXI.Point(562, 439), new PIXI.Point(622, 474), new PIXI.Point(555, 544), new PIXI.Point(600, 690)], this._kiraPos_i = [new PIXI.Point(550, 66), new PIXI.Point(504, 82), new PIXI.Point(615, 127), new PIXI.Point(453, 226), new PIXI.Point(570, 261), new PIXI.Point(669, 207), new PIXI.Point(543, 348), new PIXI.Point(633, 375), new PIXI.Point(570, 463), new PIXI.Point(465, 556), new PIXI.Point(559, 589), new PIXI.Point(580, 693)], this._gScale = 0.5; break; default: this._kiraPos_m = [new PIXI.Point(586, 40), new PIXI.Point(544, 100), new PIXI.Point(652, 114), new PIXI.Point(534, 234), new PIXI.Point(613, 276), new PIXI.Point(681, 241), new PIXI.Point(534, 366), new PIXI.Point(652, 378), new PIXI.Point(502, 439), new PIXI.Point(628, 474), new PIXI.Point(526, 544), new PIXI.Point(543, 675)], this._kiraPos_i = [new PIXI.Point(550, 66), new PIXI.Point(504, 82), new PIXI.Point(615, 127), new PIXI.Point(453, 226), new PIXI.Point(570, 261), new PIXI.Point(669, 207), new PIXI.Point(498, 348), new PIXI.Point(693, 375), new PIXI.Point(492, 463), new PIXI.Point(583, 556), new PIXI.Point(499, 589), new PIXI.Point(415, 693)], this._gScale = 0.5; } } return Object.defineProperty(_gsc.prototype, 'mainLayer', { 'get': function() { var _gsh = null; return this._mainLayer; }, 'enumerable': !1, 'configurable': !0 }), _gsc.prototype.dispose = function() { var _gsi = null; this._mainLayer.removeChildren(0, this._mainLayer.children.length), this._mainLayer = null, this._callback = null, this._gScale = null, this._kiraPos_m = null, this._kiraPos_i = null, this._get_flash = null, this._white = null, this._txt_supply = null, this._kirakira = null, this._ship = null; }, _gsc.prototype.preLoad = function(_gsj) { var _gsk = null, _gsl = this, _gsm = new _gs3.UIImageLoader('organize'); _gsm.add('organize_mamiya_animation_common.json'), _gsm.load(function() { var _gsn = null; _gs0.default.settings.renderer.plugins.prepare.upload(_gs5.ORGANIZE_MAMIYA_ANIMATION_COMMON.getTexture(0).baseTexture, function() { var _gso = null, _gsp = new _gs3.UIImageLoader('organize'); switch (_gs2.MAMIYA_IRAKO_SEASON) { case 2: _gsp.add('organize_mamiya_animation_xmas.json'); break; case 4: _gsp.add('organize_mamiya_animation_summer.json'); break; default: _gsp.add('organize_mamiya_animation_default.json'); } _gsp.load(function() { var _gsq = _gso, _gsr; switch (_gs2[_gsq(6561)]) { case 2: _gsr = _gs7[_gsq(10568)][_gsq(1777)](0)[_gsq(12724)]; break; case 4: _gsr = _gs8[_gsq(2278)][_gsq(1777)](0)[_gsq(12724)]; break; default: _gsr = _gs6[_gsq(11037)][_gsq(1777)](0)[_gsq(12724)]; } _gs0[_gsq(3499)][_gsq(4465)][_gsq(3802)][_gsq(7602)][_gsq(12015)][_gsq(3076)](_gsr, function() { var _gss = _gsq; _gsl[_gss(12790)] = new PIXI[(_gss(13620))](_gs5[_gss(10410)][_gss(1777)](0)), _gsl[_gss(12790)][_gss(5705)] = !1, _gsl[_gss(12790)][_gss(3733)][_gss(8040)](0.5), _gsl[_gss(12790)][_gss(5196)][_gss(8040)](_gs1[_gss(3499)][_gss(8043)] / 2, _gs1[_gss(3499)][_gss(10596)] / 2), _gsl[_gss(9901)] = new PIXI[(_gss(4276))](), _gsl[_gss(9901)][_gss(5705)] = !1, _gsl[_gss(9901)][_gss(9685)](16777215, 1), _gsl[_gss(9901)][_gss(13006)](0, 0, _gs1[_gss(3499)][_gss(8043)], _gs1[_gss(3499)][_gss(10596)]), _gsl[_gss(9901)][_gss(4503)](), _gsl[_gss(9550)] = new PIXI[(_gss(13620))](_gs5[_gss(10410)][_gss(1777)](2)), _gsl[_gss(9550)][_gss(5705)] = !1, _gsl[_gss(9550)][_gss(3733)][_gss(8040)](0.5), _gsl[_gss(11959)] = []; var _gst = new PIXI[(_gss(13620))](_gs9[_gss(3265)][_gss(6751)]()[_gss(918)]); _gst[_gss(5705)] = !1, _gst[_gss(3733)][_gss(8040)](0.5), _gsl[_gss(11959)][_gss(7634)](_gst); var _gsu = new PIXI[(_gss(13620))](_gs9[_gss(3265)][_gss(6751)]()[_gss(9320)]); _gsu[_gss(5705)] = !1, _gsu[_gss(3733)][_gss(8040)](0.5), _gsl[_gss(11959)][_gss(7634)](_gsu), _gsl[_gss(7046)] = []; for (var _gsv = 0; _gsv < _gs9[_gss(3265)][_gss(10091)]; _gsv++) { var _gsw = new PIXI[(_gss(13620))](_gs5[_gss(10410)][_gss(1777)](1)); _gsw[_gss(3733)][_gss(8040)](0.5), _gsl[_gss(7046)][_gss(7634)](_gsw); } _gsl[_gss(9330)][_gss(9040)](_gsl[_gss(12790)]), _gsl[_gss(9330)][_gss(9040)](_gsl[_gss(9901)]), _gsl[_gss(9330)][_gss(9040)](_gsl[_gss(11959)][0], _gsl[_gss(11959)][1], _gsl[_gss(9550)]); for (_gsv = 0; _gsv < _gs9[_gss(3265)][_gss(10091)]; _gsv++) _gsl[_gss(7046)][_gsv][_gss(5705)] = !1, _gsl[_gss(9330)][_gss(9040)](_gsl[_gss(7046)][_gsv]); null != _gsj && _gsj(); }); }); }); }); }, _gsc.prototype.play = function(_gsx, _gsy, _gsz) { var _gt0 = null, _gt1 = this; this._txt_supply.position.set(1600, 487), this._ship[0].position.set(600, 1100), this._ship[1].position.set(600, 1100), this._ship[0].alpha = 0, this._ship[1].alpha = 0, this._ship[0].scale.set(3), this._ship[1].scale.set(3), this._white.alpha = 0, this._get_flash.alpha = 0, this._get_flash.scale.set(0.3); for (var _gt2 = 0; _gt2 < _gs9.OrganizeConst.MAMIYA_MAX_EFFECT; _gt2++) this._kirakira[_gt2].scale.set(0); var _gt3, _gt4, _gt5; switch (this._callback = _gsz, _gsx) { case 1: case 2: _gt3 = function() { var _gt6 = null; _gt1._ship[_gsx - 1].visible = !0, createjs.Tween.get(_gt1._ship[_gsx - 1].scale).wait(400).to({ 'x': _gt1._gScale, 'y': _gt1._gScale }, 500), createjs.Tween.get(_gt1._ship[_gsx - 1]).wait(400).to({ 'y': 360, 'alpha': 1 }, 500); }, _gt4 = function() { var _gt7 = null; for (var _gt8 = 0; _gt8 < _gs9.OrganizeConst.MAMIYA_MAX_EFFECT / 2; _gt8++) { var _gt9 = 1 == _gsx ? _gt1._kiraPos_m[_gt8] : _gt1._kiraPos_i[_gt8]; _gt1._kirakira[_gt8].position.set(_gt9.x, _gt9.y), _gt1._kirakira[_gt8].visible = !0, createjs.Tween.get(_gt1._kirakira[_gt8].scale).wait(100 * _gt8).to({ 'x': 1, 'y': 1 }, 200).to({ 'x': 0, 'y': 0 }, 200); } }, _gt5 = function() { var _gta = null; for (var _gtb = 0; _gtb < _gs9.OrganizeConst.MAMIYA_MAX_EFFECT / 2; _gtb++) _gt1._kirakira[_gtb].visible = !1; createjs.Tween.get(_gt1._ship[_gsx - 1].scale).to({ 'x': 3, 'y': 3 }, 1000), createjs.Tween.get(_gt1._ship[_gsx - 1]).to({ 'x': 600, 'y': 1100, 'alpha': 0 }, 1000).set({ 'visible': !1 }); }; break; case 3: this._ship[0].visible = !0, this._ship[1].visible = !0, this._ship[0].position.set(25, 1100), this._ship[1].position.set(1275, 1100), _gt3 = function() { var _gtc = null; createjs.Tween.get(_gt1._ship[0].scale).wait(400).to({ 'x': _gt1._gScale, 'y': _gt1._gScale }, 500), createjs.Tween.get(_gt1._ship[1].scale).wait(400).to({ 'x': _gt1._gScale, 'y': _gt1._gScale }, 500), createjs.Tween.get(_gt1._ship[0]).wait(400).to({ 'x': 420, 'y': 360, 'alpha': 1 }, 500), createjs.Tween.get(_gt1._ship[1]).wait(400).to({ 'x': 780, 'y': 360, 'alpha': 1 }, 500); }, _gt4 = function() { var _gtd = null; for (var _gte = 0; _gte < _gs9.OrganizeConst.MAMIYA_MAX_EFFECT / 2; _gte++) _gt1._kirakira[_gte].position.set(_gt1._kiraPos_m[_gte].x - 195, _gt1._kiraPos_m[_gte].y), _gt1._kirakira[_gte].visible = !0, createjs.Tween.get(_gt1._kirakira[_gte].scale).wait(100 * _gte).to({ 'x': 1, 'y': 1 }, 200).to({ 'x': 0, 'y': 0 }, 200); for (_gte = _gs9.OrganizeConst.MAMIYA_MAX_EFFECT / 2; _gte < _gs9.OrganizeConst.MAMIYA_MAX_EFFECT; _gte++) _gt1._kirakira[_gte].position.set(_gt1._kiraPos_i[_gte - 12].x + 195, _gt1._kiraPos_i[_gte - 12].y), _gt1._kirakira[_gte].visible = !0, createjs.Tween.get(_gt1._kirakira[_gte].scale).wait(100 * (_gte - 12)).to({ 'x': 1, 'y': 1 }, 200).to({ 'x': 0, 'y': 0 }, 200); }, _gt5 = function() { var _gtf = null; for (var _gtg = 0; _gtg < _gs9.OrganizeConst.MAMIYA_MAX_EFFECT / 2; _gtg++) _gt1._kirakira[_gtg].visible = !1; createjs.Tween.get(_gt1._ship[0].scale).to({ 'x': 3, 'y': 3 }, 1000), createjs.Tween.get(_gt1._ship[0]).to({ 'x': 25, 'y': 1100, 'alpha': 0 }, 1000).set({ 'visible': !1 }), createjs.Tween.get(_gt1._ship[1].scale).to({ 'x': 3, 'y': 3 }, 1000), createjs.Tween.get(_gt1._ship[1]).to({ 'x': 1275, 'y': 1100, 'alpha': 0 }, 1000).set({ 'visible': !1 }); }; } createjs.Tween.get(null).call(function() { var _gth = null; _gt1._get_flash.visible = !0, createjs.Tween.get(_gt1._get_flash.scale).to({ 'x': 2, 'y': 2 }, 500), createjs.Tween.get(_gt1._get_flash).to({ 'alpha': 1 }, 500), createjs.Tween.get(_gt1._white).wait(400).set({ 'visible': !0 }).to({ 'alpha': 1 }, 300).call(function() { var _gti = null; _gt1._OrganizeView.visible = !1, _gt1._get_flash.visible = !1, _gs4.SE.play('229'), createjs.Tween.get(_gt1._txt_supply).wait(100).set({ 'visible': !0 }).to({ 'x': 680 }, 600, createjs.Ease.sineOut).to({ 'x': 570 }, 733); }); }).wait(2133).call(function() { var _gtj = null; createjs.Tween.get(_gt1._txt_supply).to({ 'x': -400 }, 700, createjs.Ease.sineIn).set({ 'visible': !1 }).call(function() { !(function() { var _gtk = null; switch (_gsx) { case 1: _gs9.OrganizeConst.getMamiyaOption().playVoiceAnimationMamiya(); break; case 2: _gs9.OrganizeConst.getMamiyaOption().playVoiceAnimationIrako(); break; case 3: _gs9.OrganizeConst.getMamiyaOption().playVoiceAnimationMamiyaIrako(); } }()); }), _gt3(); }).wait(1000).call(function() { _gt4(); }).wait(_gs9.OrganizeConst.MAMIYA_EFFECT_WAIT).call(function() { var _gtl = null; _gt1._white.alpha = 1, null != _gsy && _gsy(), _gt5(), _gt1._OrganizeView.visible = !0, createjs.Tween.get(_gt1._white).to({ 'alpha': 0 }, 1000).set({ 'visible': !1 }); }).wait(1000).call(this.endUpdate); }, _gsc.prototype.hide = function() { var _gtm = null; this._mainLayer.removeChildren(0, this._mainLayer.children.length); }, _gsc; }()); _gru.TaskAnimationMamiyaIrako = _gsa; }, 78453: function(_gtn, _gto, _gtp) { 'use strict'; var _gtq = null; var _gtr = this && this.__importDefault || function(_gts) { var _gtt = null; return _gts && _gts.__esModule ? _gts : { 'default': _gts }; }; defineModule(_gto); Object.defineProperty(_gto, '__esModule', { 'value': !0 }), _gto.TaskChoiceMamiyaIrako = void 0; var _gtu = _gtr(_gtp(18622)), _gtv = _gtp(79899), _gtw = _gtp(87581), _gtx = (function() { var _gty = null; function _gtz(_gu0) { var _gu1 = null, _gu2 = this; this._onClickBack = function() { var _gu3 = null; _gu2.onClickBack(); }, this._onClickIrako = function() { var _gu4 = null; _gu2.onClickUse(2); }, this._onClickMamiya = function() { var _gu5 = null; _gu2.onClickUse(1); }, this._onClickMamiyaAndIrako = function() { var _gu6 = null; _gu2.onClickUse(3); }, this.mainView = _gu0, this.sweetsSelectView = new _gtw.SweetsSelectView(), this.dialogBackground = new _gtv.AreaBox(0.8); } return _gtz.prototype.dispose = function() { var _gu7 = null; this.sweetsSelectView.dispose(), this.mainView.removeChild(this.sweetsSelectView), this.mainView.removeChild(this.dialogBackground), this.sweetsSelectView = null, this.mainView = null, this.dialogBackground = null, this.onClickBack = null, this.onClickUse = null; }, _gtz.prototype.start = function(_gu8) { var _gu9 = null, _gua = this; this.sweetsSelectView.position.set(147, 267), this.sweetsSelectView.onClickBack = this._onClickBack, this.sweetsSelectView.onClickIrako = this._onClickIrako, this.sweetsSelectView.onClickMamiya = this._onClickMamiya, this.sweetsSelectView.onClickMamiyaAndIrako = this._onClickMamiyaAndIrako; for (var _gub = _gtu.default.model.deck.get(_gu8).getShipList(), _guc = _gtu.default.model.useItem.get(54).count, _gud = _gtu.default.model.useItem.get(59).count, _gue = !1, _guf = 0; _guf < _gub.length; _guf++) { var _gug = _gub[_guf]; _gug && _gug.tired < 40 && (_gue = !0); } var _guh = 0 < _guc && _gue, _gui = 0 < _gud, _guj = 0 < _guc && 0 < _gud; this.mainView.addChild(this.dialogBackground), this.mainView.addChild(this.sweetsSelectView), this.sweetsSelectView.update(_guh, _gui, _guj), this.dialogBackground.alpha = 0, _gtu.default.view.clickGuard = !0, this.sweetsSelectView.visible = !1, createjs.Tween.get(this.dialogBackground).to({ 'alpha': 1 }, 125).call(function() { var _guk = null; _gua.sweetsSelectView.visible = !0, _gtu.default.view.clickGuard = !1; }); }, _gtz.prototype.hide = function(_gul) { var _gum = null; this.sweetsSelectView.visible = !1, createjs.Tween.get(this.dialogBackground).to({ 'alpha': 0 }, 125).call(function() { _gul(); }); }, _gtz; }()); _gto.TaskChoiceMamiyaIrako = _gtx; }, 33401: function(_gun, _guo, _gup) { 'use strict'; var _guq = null; var _gur = this && this.__importDefault || function(_gus) { var _gut = null; return _gus && _gus.__esModule ? _gus : { 'default': _gus }; }; defineModule(_guo); Object.defineProperty(_guo, '__esModule', { 'value': !0 }), _guo.TaskConfirmUseMamiyaIrako = void 0; var _guu = _gur(_gup(18622)), _guv = _gup(79899), _guw = _gup(86606), _gux = (function() { var _guy = null; function _guz(_gv0) { var _gv1 = null, _gv2 = this; this._onClickYES = function() { var _gv3 = null; _gv2.onComplete(!0); }, this._onClickNO = function() { var _gv4 = null; _gv2.onComplete(!1); }, this.mainView = _gv0, this.dialogBackground = new _guv.AreaBox(0.8), this.useSweetConfirm = new _guw.UseSweetConfirm(); } return _guz.prototype.start = function(_gv5) { var _gv6 = null; this.useSweetConfirm.onClickYES = this._onClickYES, this.useSweetConfirm.onClickNO = this._onClickNO, this.useSweetConfirm.visible = !0, this.dialogBackground.alpha = 1; var _gv7 = _guu.default.model.useItem.get(54).count, _gv8 = _guu.default.model.useItem.get(59).count; this.useSweetConfirm.update(_gv5, _gv7, _gv8), this.mainView.addChild(this.dialogBackground), this.mainView.addChild(this.useSweetConfirm); }, _guz.prototype.hide = function(_gv9) { var _gva = null; this.useSweetConfirm.visible = !1, createjs.Tween.get(this.dialogBackground).to({ 'alpha': 0 }, 125).call(function() { _gv9(); }); }, _guz.prototype.dispose = function() { var _gvb = null; this.useSweetConfirm.dispose(), this.mainView.removeChild(this.dialogBackground), this.mainView.removeChild(this.useSweetConfirm), this.dialogBackground = null, this.useSweetConfirm = null, this.mainView = null, this.onComplete = null; }, _guz; }()); _guo.TaskConfirmUseMamiyaIrako = _gux; }, 70366: function(_gvc, _gvd, _gve) { 'use strict'; var _gvf = null; var _gvg = this && this.__importDefault || function(_gvh) { var _gvi = null; return _gvh && _gvh.__esModule ? _gvh : { 'default': _gvh }; }; defineModule(_gvd); Object.defineProperty(_gvd, '__esModule', { 'value': !0 }), _gvd.TaskMamiyaIrako = void 0; var _gvj = _gve(78453), _gvk = _gve(33401), _gvl = _gve(97993), _gvm = _gve(5175), _gvn = _gve(42552), _gvo = _gve(69105), _gvp = _gve(35660), _gvq = _gvg(_gve(18622)), _gvr = (function() { var _gvs = null; function _gvt(_gvu, _gvv) { var _gvw = null, _gvx = this; this.onCompleteConfirmUseMamiyaIrako = function(_gvy) { var _gvz = null; switch (_gvy) { case !1: _gvq.default.view.clickGuard = !0, _gvx.taskConfirmUseMamiyaIrako.hide(function() { var _gw0 = null; _gvx.taskConfirmUseMamiyaIrako.dispose(), _gvx.taskConfirmUseMamiyaIrako = null, _gvq.default.view.clickGuard = !1, _gvx.onComplete(); }); break; case !0: _gvq.default.view.clickGuard = !0; var _gw1 = new _gvm.ItemUseCondAPI(!0, _gvx.deckId, _gvx.sweetType), _gw2 = new _gvn.UseItemAPI(), _gw3 = new _gvo.UserShipAPI(), _gw4 = new _gvp.APIConnector(); _gw4.add(_gw1), _gw4.add(_gw2), _gw4.add(_gw3), _gw4.start(_gvx.onCompleteCallAPI); } }, this.onCompleteCallAPI = function() { var _gw5 = null; _gvx.taskConfirmUseMamiyaIrako.dispose(), _gvx.taskConfirmUseMamiyaIrako = null, _gvx.taskAnimationMamiyaIrako = new _gvl.TaskAnimationMamiyaIrako(_gvx.OrganizeView), _gvq.default.view.overLayer.addChild(_gvx.taskAnimationMamiyaIrako.mainLayer), _gvx.taskAnimationMamiyaIrako.preLoad(function() { var _gw6 = null; _gvx.taskAnimationMamiyaIrako.play(_gvx.sweetType, function() { var _gw7 = null; _gvx.onWhiteOut(); }, function() { var _gw8 = null; _gvx.onCompleteAnimation(); }); }); }, this.onCompleteAnimation = function() { var _gw9 = null; _gvq.default.view.overLayer.removeChild(_gvx.taskAnimationMamiyaIrako.mainLayer), _gvx.taskAnimationMamiyaIrako.dispose(), _gvx.taskAnimationMamiyaIrako = null, _gvq.default.view.clickGuard = !1, _gvx.onComplete(); }, this.mainView = _gvu, this.OrganizeView = _gvv; } return _gvt.prototype.start = function(_gwa) { var _gwb = null, _gwc = this; this.deckId = _gwa, this.taskChoiceMamiyaIrako = new _gvj.TaskChoiceMamiyaIrako(this.mainView), this.taskChoiceMamiyaIrako.onClickBack = function() { var _gwd = null; _gvq.default.view.clickGuard = !0, _gwc.taskChoiceMamiyaIrako.hide(function() { var _gwe = null; _gwc.taskChoiceMamiyaIrako.dispose(), _gwc.taskChoiceMamiyaIrako = null, _gvq.default.view.clickGuard = !1, _gwc.onComplete(); }); }, this.taskChoiceMamiyaIrako.onClickUse = function(_gwf) { var _gwg = null; _gwc.taskChoiceMamiyaIrako.dispose(), _gwc.taskChoiceMamiyaIrako = null, _gwc.taskConfirmUseMamiyaIrako = new _gvk.TaskConfirmUseMamiyaIrako(_gwc.mainView), _gwc.taskConfirmUseMamiyaIrako.onComplete = _gwc.onCompleteConfirmUseMamiyaIrako, _gwc.sweetType = _gwf, _gwc.taskConfirmUseMamiyaIrako.start(_gwf); }, this.taskChoiceMamiyaIrako.start(this.deckId); }, _gvt.prototype.dispose = function() { var _gwh = null; this.taskChoiceMamiyaIrako && (this.taskChoiceMamiyaIrako.dispose(), this.taskChoiceMamiyaIrako = null), this.taskConfirmUseMamiyaIrako && (this.taskConfirmUseMamiyaIrako.dispose(), this.taskConfirmUseMamiyaIrako = null), this.taskAnimationMamiyaIrako && (this.taskAnimationMamiyaIrako.dispose(), this.taskAnimationMamiyaIrako = null), this.onComplete = null, this.onWhiteOut = null, this.mainView = null, this.deckId = null, this.sweetType = null; }, _gvt; }()); _gvd.TaskMamiyaIrako = _gvr; }, 55322: function(_gwi, _gwj, _gwk) { 'use strict'; var _gwl = null; var _gwm, _gwn = this && this.__extends || (_gwm = function(_gwo, _gwp) { var _gwq = null; return _gwm = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_gwr, _gws) { var _gwt = null; _gwr.__proto__ = _gws; } || function(_gwu, _gwv) { var _gww = null; for (var _gwx in _gwv) Object.prototype.hasOwnProperty.call(_gwv, _gwx) && (_gwu[_gwx] = _gwv[_gwx]); }, _gwm(_gwo, _gwp); }, function(_gwy, _gwz) { var _gx0 = null; if ('function' != typeof _gwz && null !== _gwz) throw new TypeError('Class extends value ' + String(_gwz) + ' is not a constructor or null'); function _gx1() { var _gx2 = null; this.constructor = _gwy; } _gwm(_gwy, _gwz), _gwy.prototype = null === _gwz ? Object.create(_gwz) : (_gx1.prototype = _gwz.prototype, new _gx1()); }), _gx3 = this && this.__createBinding || (Object.create ? function(_gx4, _gx5, _gx6, _gx7) { var _gx8 = null; void 0 === _gx7 && (_gx7 = _gx6); var _gx9 = Object.getOwnPropertyDescriptor(_gx5, _gx6); _gx9 && !('get' in _gx9 ? !_gx5.__esModule : _gx9.writable || _gx9.configurable) || (_gx9 = { 'enumerable': !0, 'get': function() { return _gx5[_gx6]; } }), Object.defineProperty(_gx4, _gx7, _gx9); } : function(_gxa, _gxb, _gxc, _gxd) { void 0 === _gxd && (_gxd = _gxc), _gxa[_gxd] = _gxb[_gxc]; }), _gxe = this && this.__setModuleDefault || (Object.create ? function(_gxf, _gxg) { var _gxh = null; Object.defineProperty(_gxf, 'default', { 'enumerable': !0, 'value': _gxg }); } : function(_gxi, _gxj) { var _gxk = null; _gxi.default = _gxj; }), _gxl = this && this.__importStar || function(_gxm) { var _gxn = null; if (_gxm && _gxm.__esModule) return _gxm; var _gxo = {}; if (null != _gxm) { for (var _gxp in _gxm) 'default' !== _gxp && Object.prototype.hasOwnProperty.call(_gxm, _gxp) && _gx3(_gxo, _gxm, _gxp); } return _gxe(_gxo, _gxm), _gxo; }; defineModule(_gwj); Object.defineProperty(_gwj, '__esModule', { 'value': !0 }), _gwj.BackgroundLayer = void 0; var _gxq = _gxl(_gwk(31000)), _gxr = function(_gxs) { var _gxt = null; function _gxu() { var _gxv = null, _gxw = _gxs.call(this) || this, _gxx = new PIXI.Sprite(_gxq.COMMON_MAIN.getTexture(1)); return _gxx.position.set(195, 10), _gxw.conBg = new PIXI.Sprite(_gxq.COMMON_MAIN.getTexture(15)), _gxw.titBg = new PIXI.Sprite(_gxq.COMMON_MAIN.getTexture(67)), _gxw.titBg.addChild(_gxx), _gxw.addChild(_gxw.conBg), _gxw.addChild(_gxw.titBg), _gxw; } return _gwn(_gxu, _gxs), _gxu.prototype.dispose = function() { var _gxy = null; this.conBg = null, this.titBg = null, this.removeChildren(); }, _gxu.prototype.init = function() { var _gxz = null; this.conBg.position.set(148, 145), this.titBg.position.set(0, 105); }, _gxu.prototype.show = function() { var _gy0 = null; this.visible = !0; }, _gxu.prototype.hide = function() { var _gy1 = null; this.visible = !1; }, _gxu; }(PIXI.Container); _gwj.BackgroundLayer = _gxr; }, 32478: function(_gy2, _gy3, _gy4) { 'use strict'; var _gy5 = null; var _gy6, _gy7 = this && this.__extends || (_gy6 = function(_gy8, _gy9) { var _gya = null; return _gy6 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_gyb, _gyc) { var _gyd = null; _gyb.__proto__ = _gyc; } || function(_gye, _gyf) { var _gyg = null; for (var _gyh in _gyf) Object.prototype.hasOwnProperty.call(_gyf, _gyh) && (_gye[_gyh] = _gyf[_gyh]); }, _gy6(_gy8, _gy9); }, function(_gyi, _gyj) { var _gyk = null; if ('function' != typeof _gyj && null !== _gyj) throw new TypeError('Class extends value ' + String(_gyj) + ' is not a constructor or null'); function _gyl() { var _gym = null; this.constructor = _gyi; } _gy6(_gyi, _gyj), _gyi.prototype = null === _gyj ? Object.create(_gyj) : (_gyl.prototype = _gyj.prototype, new _gyl()); }), _gyn = this && this.__createBinding || (Object.create ? function(_gyo, _gyp, _gyq, _gyr) { var _gys = null; void 0 === _gyr && (_gyr = _gyq); var _gyt = Object.getOwnPropertyDescriptor(_gyp, _gyq); _gyt && !('get' in _gyt ? !_gyp.__esModule : _gyt.writable || _gyt.configurable) || (_gyt = { 'enumerable': !0, 'get': function() { return _gyp[_gyq]; } }), Object.defineProperty(_gyo, _gyr, _gyt); } : function(_gyu, _gyv, _gyw, _gyx) { void 0 === _gyx && (_gyx = _gyw), _gyu[_gyx] = _gyv[_gyw]; }), _gyy = this && this.__setModuleDefault || (Object.create ? function(_gyz, _gz0) { var _gz1 = null; Object.defineProperty(_gyz, 'default', { 'enumerable': !0, 'value': _gz0 }); } : function(_gz2, _gz3) { var _gz4 = null; _gz2.default = _gz3; }), _gz5 = this && this.__importStar || function(_gz6) { var _gz7 = null; if (_gz6 && _gz6.__esModule) return _gz6; var _gz8 = {}; if (null != _gz6) { for (var _gz9 in _gz6) 'default' !== _gz9 && Object.prototype.hasOwnProperty.call(_gz6, _gz9) && _gyn(_gz8, _gz6, _gz9); } return _gyy(_gz8, _gz6), _gz8; }; defineModule(_gy3); Object.defineProperty(_gy3, '__esModule', { 'value': !0 }), _gy3.BreakDeckView = void 0; var _gza = _gz5(_gy4(31000)), _gzb = _gy4(768), _gzc = function(_gzd) { var _gze = null; function _gzf() { var _gzg = null, _gzh = _gzd.call(this) || this; _gzh._onMouseOver = function() { var _gzi = null; _gzh.balloon.alpha = 1; }, _gzh._onMouseOut = function() { var _gzj = null; _gzh.balloon.alpha = 0; }, _gzh._onClick = function() { var _gzk = null; _gzh.onClick(); }; var _gzl = _gza.ORGANIZE_MAIN.getTexture(56), _gzm = _gza.ORGANIZE_MAIN.getTexture(57), _gzn = _gza.ORGANIZE_MAIN.getTexture(41); return _gzh.iconText = new _gzb.SimpleButton(_gzl, _gzm), _gzh.balloon = new PIXI.Sprite(_gzn), _gzh.balloon.alpha = 0, _gzh.balloon.x = -28, _gzh.balloon.y = -37, _gzh.iconText.onMouseOver = _gzh._onMouseOver, _gzh.iconText.onMouseOut = _gzh._onMouseOut, _gzh.iconText.onClick = _gzh._onClick, _gzh.addChild(_gzh.iconText, _gzh.balloon), _gzh; } return _gy7(_gzf, _gzd), _gzf.prototype.update = function(_gzo) { var _gzp = null; this.iconText.interactive = !1, _gzo && (this.iconText.interactive = !0); }, _gzf.prototype.dispose = function() { var _gzq = null; this.removeChildren(), this.iconText.onMouseOver = this._onMouseOver = null, this.iconText.onMouseOut = this._onMouseOut = null, this.iconText.onClick = this._onClick = null, this.iconText.dispose(), this.iconText = null, this.balloon = null, this.onClick = null; }, _gzf; }(PIXI.Container); _gy3.BreakDeckView = _gzc; }, 68256: function(_gzr, _gzs, _gzt) { 'use strict'; var _gzu = null; var _gzv, _gzw = this && this.__extends || (_gzv = function(_gzx, _gzy) { var _gzz = null; return _gzv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_h00, _h01) { var _h02 = null; _h00.__proto__ = _h01; } || function(_h03, _h04) { var _h05 = null; for (var _h06 in _h04) Object.prototype.hasOwnProperty.call(_h04, _h06) && (_h03[_h06] = _h04[_h06]); }, _gzv(_gzx, _gzy); }, function(_h07, _h08) { var _h09 = null; if ('function' != typeof _h08 && null !== _h08) throw new TypeError('Class extends value ' + String(_h08) + ' is not a constructor or null'); function _h0a() { var _h0b = null; this.constructor = _h07; } _gzv(_h07, _h08), _h07.prototype = null === _h08 ? Object.create(_h08) : (_h0a.prototype = _h08.prototype, new _h0a()); }); defineModule(_gzs); Object.defineProperty(_gzs, '__esModule', { 'value': !0 }), _gzs.CombineDragging = void 0; var _h0c = _gzt(11997), _h0d = _gzt(35380), _h0e = _gzt(79899), _h0f = function(_h0g) { var _h0h = null; function _h0i(_h0j, _h0k, _h0l) { var _h0m = null, _h0n = _h0g.call(this, 0.1) || this; _h0n._cbDrop = _h0l, _h0n._drag = null, _h0n._isPosible = !1, _h0n._onMove = function(_h0o) { var _h0p = null; _h0n._flagIcon.position.set(_h0o.data.global.x, _h0o.data.global.y); var _h0q = _h0n._reactionArea, _h0r = _h0o.data.getLocalPosition(_h0q); _h0n._isPosible = _h0q.hitArea.contains(_h0r.x, _h0r.y); }, _h0n._onUp = function() { var _h0s = null; _h0n._dispose(), _h0n._cbDrop(_h0n._isPosible); }, _h0n._onOut = function() { var _h0t = null; _h0n._dispose(), _h0n._cbDrop(!1); }, _h0n._drag = new PIXI.Container(), _h0n._flagIcon = new PIXI.Sprite(_h0c.COMMON_MISC.getTexture(82)), _h0n._flagIcon.anchor.set(0.5), _h0n._flagIcon.position.set(_h0k.x, _h0k.y); var _h0u = _h0n._flagIcon.width, _h0v = _h0n._flagIcon.height; return _h0n._reactionArea = new _h0e.AreaBox(0, 16777215, _h0u, _h0v), _h0n._reactionArea.hitArea = new PIXI.Rectangle(0, 0, _h0u, _h0v), _h0n._reactionArea.position.set(_h0j.x, _h0j.y), _h0n._drag.addChild(_h0n._reactionArea), _h0n._drag.addChild(_h0n._flagIcon), _h0n.addChild(_h0n._drag), _h0n.on(_h0d.EventType.MOUSEMOVE, _h0n._onMove), _h0n.on(_h0d.EventType.MOUSEOUT, _h0n._onOut), _h0n.on(_h0d.EventType.MOUSEUP, _h0n._onUp), _h0n; } return _gzw(_h0i, _h0g), _h0i.prototype._dispose = function() { var _h0w = null; this.off(_h0d.EventType.MOUSEMOVE, this._onMove), this.off(_h0d.EventType.MOUSEOUT, this._onOut), this.off(_h0d.EventType.MOUSEUP, this._onUp); }, _h0i; }(_h0e.AreaBox); _gzs.CombineDragging = _h0f; }, 37571: function(_h0x, _h0y) { 'use strict'; var _h0z = null; var _h10, _h11 = this && this.__extends || (_h10 = function(_h12, _h13) { var _h14 = null; return _h10 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_h15, _h16) { var _h17 = null; _h15.__proto__ = _h16; } || function(_h18, _h19) { var _h1a = null; for (var _h1b in _h19) Object.prototype.hasOwnProperty.call(_h19, _h1b) && (_h18[_h1b] = _h19[_h1b]); }, _h10(_h12, _h13); }, function(_h1c, _h1d) { var _h1e = null; if ('function' != typeof _h1d && null !== _h1d) throw new TypeError('Class extends value ' + String(_h1d) + ' is not a constructor or null'); function _h1f() { var _h1g = null; this.constructor = _h1c; } _h10(_h1c, _h1d), _h1c.prototype = null === _h1d ? Object.create(_h1d) : (_h1f.prototype = _h1d.prototype, new _h1f()); }); defineModule(_h0y); Object.defineProperty(_h0y, '__esModule', { 'value': !0 }), _h0y.CrossCharacter = void 0; var _h1h = function(_h1i) { var _h1j = null; function _h1k() { var _h1l = null, _h1m = _h1i.call(this) || this, _h1n = [5.5, 5.15]; return _h1m.beginFill(4999235, 1), _h1m.moveTo(_h1n[0], _h1n[1]), [ [9.1, 0], [7.25, 0], [4.6, 4.1], [1.95, 0], [0.05, 0], [3.55, 5.25], [0, 10.4], [1.85, 10.4], [4.5, 6.3], [7.25, 10.4], [9.15, 10.4], [5.5, 5.15] ].forEach(function(_h1o) { var _h1p = null; _h1m.lineTo(_h1o[0], _h1o[1]); }), _h1m.endFill(), _h1m; } return _h11(_h1k, _h1i), _h1k.prototype.dispose = function() { var _h1q = null; this.clear(); }, _h1k; }(PIXI.Graphics); _h0y.CrossCharacter = _h1h; }, 54842: function(_h1r, _h1s, _h1t) { 'use strict'; var _h1u = null; var _h1v, _h1w = this && this.__extends || (_h1v = function(_h1x, _h1y) { var _h1z = null; return _h1v = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_h20, _h21) { var _h22 = null; _h20.__proto__ = _h21; } || function(_h23, _h24) { var _h25 = null; for (var _h26 in _h24) Object.prototype.hasOwnProperty.call(_h24, _h26) && (_h23[_h26] = _h24[_h26]); }, _h1v(_h1x, _h1y); }, function(_h27, _h28) { var _h29 = null; if ('function' != typeof _h28 && null !== _h28) throw new TypeError('Class extends value ' + String(_h28) + ' is not a constructor or null'); function _h2a() { var _h2b = null; this.constructor = _h27; } _h1v(_h27, _h28), _h27.prototype = null === _h28 ? Object.create(_h28) : (_h2a.prototype = _h28.prototype, new _h2a()); }), _h2c = this && this.__importDefault || function(_h2d) { var _h2e = null; return _h2d && _h2d.__esModule ? _h2d : { 'default': _h2d }; }; defineModule(_h1s); Object.defineProperty(_h1s, '__esModule', { 'value': !0 }), _h1s.DeckLayer = void 0; var _h2f = _h2c(_h1t(18622)), _h2g = _h1t(92547), _h2h = _h1t(39156), _h2i = _h1t(94341), _h2j = _h1t(35660), _h2k = _h1t(52574), _h2l = _h1t(70723), _h2m = _h1t(45544), _h2n = _h1t(32478), _h2o = _h1t(31366), _h2p = _h1t(51194), _h2q = _h1t(39559), _h2r = _h1t(21770), _h2s = _h1t(49379), _h2t = _h1t(50049), _h2u = _h1t(53281), _h2v = _h1t(47701), _h2w = _h1t(68256), _h2x = _h1t(70366), _h2y = _h1t(16677), _h2z = function(_h30) { var _h31 = null; function _h32(_h33, _h34) { var _h35 = null, _h36 = _h30.call(this) || this; return _h36._shipInDeckOrigin = 0, _h36.onClickBreakCombined = function() { var _h37 = null; _h2y.WheelEventUtil.clear(); var _h38 = new _h2t.CombinedAPI(0); _h2f.default.view.clickGuard = !0, _h38.start(function() { var _h39 = null; _h36.update(), _h2f.default.view.clickGuard = !1, _h36.activateWheel(); }); }, _h36._onClickArrow = function(_h3a) { var _h3b = null; _h36.shipInDeckOrigin += _h3a, _h36.ShipSlotLayer.update(_h36.deckID, _h36.shipInDeckOrigin); }, _h36._onClickChangeDeckName = function() { var _h3c = null; _h36.changeDeckName(_h36._deckID); }, _h36._onClickMamiyaIrako = function() { var _h3d = null; _h2y.WheelEventUtil.clear(), _h36.editNameArea.writable = !1; var _h3e = _h2f.default.view.overLayer, _h3f = _h2f.default.view.getNowScene(), _h3g = new _h2x.TaskMamiyaIrako(_h3e, _h3f); _h3g.onWhiteOut = function() { var _h3h = null; _h36.update(); }, _h3g.onComplete = function() { var _h3i = null; _h3g.dispose(), _h36.editNameArea.writable = !0, _h36.activateWheel(); }, _h3g.start(_h36.deckID); }, _h36._onWheel = function(_h3j) { var _h3k = null; if (0 != _h3j.delta) { if (_h3j.delta > 0) { var _h3l = _h2f.default.model.deck.get(_h36.deckID).getShipList().length; _h36.shipSlotLayer.SLOT_MAX + _h36.shipInDeckOrigin < _h3l && (_h3j.enabledGuard(), _h36.shipInDeckOrigin += 2, _h36.ShipSlotLayer.update(_h36.deckID, _h36.shipInDeckOrigin)); } else _h36.shipInDeckOrigin > 0 && (_h3j.enabledGuard(), _h36.shipInDeckOrigin -= 2, _h36.ShipSlotLayer.update(_h36.deckID, _h36.shipInDeckOrigin)); } }, _h36.editNameArea = new _h2p.EditNameArea(), _h36.editNameArea.writable = !1, _h36.editNameArea.onClickUpdate = _h36._onClickChangeDeckName, _h36.deckSelector = new _h2o.DeckSelector(), _h36.deckSelector.onClickDeckFlag = _h33, _h36.sweetsButton = new _h2r.SweetsButton(), _h36.breakDeckView = new _h2n.BreakDeckView(), _h36.shipSlotLayer = new _h2q.ShipSlotLayer(), _h36._combinable = _h34, _h36.addChild(_h36.deckSelector), _h36._combinable && (_h36.combineGuideView = new _h2m.CombineGuideView(function(_h3m) { var _h3n = null; _h36.onDragAndDropCombineTrigger(_h3m); }), _h36.breakCombineView = new _h2i.CombinedView(!0), _h36.breakCombineView.onClick = _h36.onClickBreakCombined, _h36.breakCombineView.activate(), _h36.addChild(_h36.combineGuideView), _h36.addChild(_h36.breakCombineView)), _h36.addChild(_h36.editNameArea), _h36.addChild(_h36.shipSlotLayer), _h36.addChild(_h36.breakDeckView), _h36.addChild(_h36.sweetsButton), _h36.addChild(_h36.shipSlotLayer.ArrowTopButton), _h36.addChild(_h36.shipSlotLayer.ArrowBottomButton), _h36; } return _h1w(_h32, _h30), Object.defineProperty(_h32.prototype, 'deckID', { 'get': function() { var _h3o = null; return this._deckID; }, 'set': function(_h3p) { var _h3q = null; this._deckID = _h3p; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_h32.prototype, 'shipInDeckOrigin', { 'get': function() { var _h3r = null; return this._shipInDeckOrigin; }, 'set': function(_h3s) { var _h3t = null; this._shipInDeckOrigin = _h3s; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_h32.prototype, 'shipSlotDisplayLength', { 'get': function() { var _h3u = null; for (var _h3v = 0, _h3w = 0, _h3x = this.ShipSlotLayer.ShipSlots.length; _h3w < _h3x; _h3w++) { !0 === this.ShipSlotLayer.ShipSlots[_h3w].visible && _h3v++; } return _h3v; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_h32.prototype, 'EditNameArea', { 'get': function() { var _h3y = null; return this.editNameArea; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_h32.prototype, 'SweetsButton', { 'get': function() { var _h3z = null; return this.sweetsButton; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_h32.prototype, 'ShipSlotLayer', { 'get': function() { var _h40 = null; return this.shipSlotLayer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_h32.prototype, 'CombineGuideView', { 'get': function() { var _h41 = null; return this.combineGuideView; }, 'enumerable': !1, 'configurable': !0 }), _h32.prototype.dispose = function() { var _h42 = null; _h2y.WheelEventUtil.clear(), this.deckSelector.dispose(), this.deckSelector = null, this.editNameArea.dispose(), this.editNameArea = null, this.sweetsButton.dispose(), this.sweetsButton = null, this.shipSlotLayer.dispose(), this.shipSlotLayer = null, this.breakDeckView.dispose(), this.breakDeckView = null, this._combinable && (this.combineGuideView.dispose(), this.combineGuideView = null, this.breakCombineView.dispose(), this.breakCombineView = null), this.removeChildren(); }, _h32.prototype.init = function(_h43) { var _h44 = null; this.editNameArea.position.set(694, 150), this.sweetsButton.position.set(465, 157), this.breakDeckView.position.set(570, 162), this.sweetsButton.onClick = this._onClickMamiyaIrako, this.breakDeckView.onClick = _h43; var _h45 = _h2f.default.model.deck.getAll(); this.deckSelector.initialize(0 < _h45.length, 1 < _h45.length, 2 < _h45.length, 3 < _h45.length), this.deckSelector.position.set(177, 165), this._combinable && (this.combineGuideView.position.set(222, 165), this.breakCombineView.position.set(170, 155)), this.shipSlotLayer.initArrow(this._onClickArrow); }, _h32.prototype.show = function(_h46) { var _h47 = null; switch (this.visible = !0, _h46) { case 0: if (this.shipSlotLayer.show(), this.shipSlotLayer.ArrowTopButton.visible = !1, this.shipSlotLayer.ArrowBottomButton.visible = !1, this.breakDeckView.visible = !0, this.updateMamiyaIrako(this._deckID), this._combinable) _h2f.default.model.deck.isCombined() && (this.breakCombineView.visible = !0, this.breakCombineView.interactiveChildren = !0); break; case 1: case 2: if (this._combinable) _h2f.default.model.deck.isCombined() && (this.breakCombineView.visible = !0, this.breakCombineView.interactiveChildren = !1); } }, _h32.prototype.hide = function() { var _h48 = null; _h2y.WheelEventUtil.clear(), this.visible = !1, this.shipSlotLayer.hide(), this.sweetsButton.visible = !1, this.shipSlotLayer.ArrowTopButton.visible = !1, this.shipSlotLayer.ArrowBottomButton.visible = !1, this.breakDeckView.visible = !1, this._combinable && (this.combineGuideView.visible = !1, this.breakCombineView.visible = !1); }, _h32.prototype.updateDeck = function(_h49) { var _h4a = null; this._deckID = _h49, this.activateWheel(), this.update(); }, _h32.prototype.activateWheel = function() { var _h4b = null; _h2y.WheelEventUtil.clear(), 3 == this._deckID && _h2f.default.model.deck.exist3rdUnit && _h2y.WheelEventUtil.regist(this._onWheel.bind(this)); }, _h32.prototype.update = function() { var _h4c = null, _h4d = _h2f.default.model.deck.get(this._deckID), _h4e = null != _h4d.expedition, _h4f = _h4d.getCount(); this.deckSelector.update(this._deckID), this.shipSlotLayer.update(this._deckID, this._shipInDeckOrigin), this.updateMamiyaIrako(this._deckID), this.updateDeckBreakView(_h4f, _h4e), this._combinable && this.updateCombineGuide(this._deckID), this.EditNameArea.reload(_h4d.name); }, _h32.prototype.updateMamiyaIrako = function(_h4g) { var _h4h = null, _h4i = _h2f.default.model.deck.get(_h4g), _h4j = _h4i.getCount(), _h4k = _h2f.default.model.useItem.get(54).count, _h4l = _h2f.default.model.useItem.get(59).count, _h4m = _h4k + _h4l; if (this.sweetsButton.visible = !1, 0 < _h4m) { var _h4n = !1; _h4i.getShipList().some(function(_h4o) { var _h4p = null; if (_h4o && (_h4n = _h4o.tired < 40)) return !0; }), this.sweetsButton.update(_h4k, _h4l, _h4j, _h4n), this.sweetsButton.visible = !0; } }, _h32.prototype.updateDeckBreakView = function(_h4q, _h4r) { var _h4s = null, _h4t = 1 < _h4q && 0 == _h4r; this.breakDeckView.update(_h4t); }, _h32.prototype.updateCombineGuide = function(_h4u) { var _h4v = null, _h4w = _h2f.default.model.deck.isCombined(); if (this.combineGuideView.visible = !1, this.breakCombineView.visible = !1, this.combineGuideView.interactiveChildren = !1, _h4w) this.breakCombineView.visible = !0; else { if (2 == _h4u) { this.combineGuideView.visible = !0; var _h4x = _h2f.default.model.deck.get(_h4u), _h4y = 0 < _h4x.getCount(), _h4z = null == _h4x.expedition; _h4y && _h4z && (this.combineGuideView.interactiveChildren = !0); } } }, _h32.prototype.updateDeckSelector = function(_h50) { var _h51 = null; this._deckID = _h50; var _h52 = _h2f.default.model.deck.get(_h50); this.editNameArea.reload(_h52.name), this.deckSelector.update(_h50); }, _h32.prototype.changeDeckName = function(_h53) { var _h54 = null, _h55 = this; _h2f.default.view.clickGuard = !0, this.editNameArea.writable = !1; var _h56 = this.editNameArea.text, _h57 = _h2g.SCHEME + '://' + _h2f.default.settings.osapi_root, _h58 = function(_h59) { var _h5a = null; if (window.removeEventListener('message', _h58), _h59.origin == _h57) { var _h5b = _h59.data; new _h2u.UpdateDeckNameAPI(_h53, _h56, _h5b).start(function() { var _h5c = null; _h2f.default.model.deck.get(_h53).updateName(_h56, _h5b), _h2l.SE.play('246'), _h55.editNameArea.writable = !0, _h2f.default.view.clickGuard = !1; }); } }; window.addEventListener('message', _h58); try { window.parent.postMessage(_h2h.PostMessageType.DECK_NAME + '\x09' + _h56, _h57); } catch (_h5d) { this.editNameArea.writable = !0, _h2f.default.view.clickGuard = !1; } }, _h32.prototype.onBreakDeck = function(_h5e, _h5f) { var _h5g = null, _h5h = this; _h2y.WheelEventUtil.clear(); var _h5i = _h2f.default.model.deck.get(_h5e).getShipList(); _h2f.default.view.clickGuard = !0; var _h5j = new _h2j.APIConnector(); _h5j.add(new _h2s.ChangeAPI(!1, _h5e, 0, -2)), 10 == _h2f.default.model.basic.getTutorialProgress() && _h5j.add(new _h2k.UpdateTutorialAPI(20)), _h5j.start(function() { var _h5k = null; for (var _h5l = _h2f.default.model.deck.get(_h5e).getShipList(), _h5m = Array(), _h5n = 0; _h5n < _h5h.shipSlotLayer.ShipSlots.length; _h5n++) { var _h5o = _h5n + _h5h._shipInDeckOrigin; null != _h5i[_h5o] && null == _h5l[_h5o] && _h5m.push(_h5n); } if (0 < _h5m.length) { for (_h5n = 0; _h5n < _h5h.shipSlotLayer.ShipSlots.length; _h5n++) if (-1 != _h5m.indexOf(_h5n)) { var _h5p = _h5h.shipSlotLayer.ShipSlots[_h5n], _h5q = function() {}; _h5m.indexOf(_h5n) == _h5m.length - 1 && (_h5q = _h5f), _h5p.closeAnimation(_h5q); } } else _h5f(); }); }, _h32.prototype.onDragAndDropCombineTrigger = function(_h5r) { var _h5s = null, _h5t = this; this.combineGuideView.hideOn(), this.editNameArea.writable = !1; var _h5u = new _h2w.CombineDragging({ 'x': this.deckSelector.x, 'y': this.deckSelector.y }, _h5r.data.global, function(_h5v) { var _h5w = null; if (_h2f.default.view.overLayer.removeChild(_h5u), _h5t.combineGuideView.showOn(), _h5v) { var _h5x = new _h2v.TaskCombineTypeSelect(_h2f.default.view.overLayer); _h5x.onCombined = function() { var _h5y = null; _h5t.update(); }, _h5x.onComplete = function() { var _h5z = null; _h5x.dispose(), _h5t.editNameArea.writable = !0; }, _h5x.start(); } else _h5t.editNameArea.writable = !0; }); _h2f.default.view.overLayer.addChild(_h5u); }, _h32; }(PIXI.Container); _h1s.DeckLayer = _h2z; }, 31366: function(_h60, _h61, _h62) { 'use strict'; var _h63 = null; var _h64, _h65 = this && this.__extends || (_h64 = function(_h66, _h67) { var _h68 = null; return _h64 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_h69, _h6a) { var _h6b = null; _h69.__proto__ = _h6a; } || function(_h6c, _h6d) { var _h6e = null; for (var _h6f in _h6d) Object.prototype.hasOwnProperty.call(_h6d, _h6f) && (_h6c[_h6f] = _h6d[_h6f]); }, _h64(_h66, _h67); }, function(_h6g, _h6h) { var _h6i = null; if ('function' != typeof _h6h && null !== _h6h) throw new TypeError('Class extends value ' + String(_h6h) + ' is not a constructor or null'); function _h6j() { var _h6k = null; this.constructor = _h6g; } _h64(_h6g, _h6h), _h6g.prototype = null === _h6h ? Object.create(_h6h) : (_h6j.prototype = _h6h.prototype, new _h6j()); }), _h6l = this && this.__importDefault || function(_h6m) { var _h6n = null; return _h6m && _h6m.__esModule ? _h6m : { 'default': _h6m }; }; defineModule(_h61); Object.defineProperty(_h61, '__esModule', { 'value': !0 }), _h61.DisableDeckFlag = _h61.InteractiveDeckFlag = _h61.DeckSelector = void 0; var _h6o = _h62(11997), _h6p = _h6l(_h62(18622)), _h6q = _h62(35380), _h6r = function(_h6s) { var _h6t = null; function _h6u() { var _h6v = null, _h6w = _h6s.call(this) || this; _h6w._onClickDeckFlag = function(_h6x) { var _h6y = null; _h6w.onClickDeckFlag(_h6x); }, _h6w.interactiveDeckFlag_1 = new _h6z(), _h6w.interactiveDeckFlag_2 = new _h6z(), _h6w.interactiveDeckFlag_3 = new _h6z(), _h6w.interactiveDeckFlag_4 = new _h6z(); var _h70 = new _h71(), _h72 = new _h71(), _h73 = new _h71(), _h74 = new _h71(); return _h70.x = _h6w.interactiveDeckFlag_1.x = 0, _h72.x = _h6w.interactiveDeckFlag_2.x = 45, _h73.x = _h6w.interactiveDeckFlag_3.x = 90, _h74.x = _h6w.interactiveDeckFlag_4.x = 135, _h6w.interactiveDeckFlag_1.onClick = _h6w._onClickDeckFlag, _h6w.interactiveDeckFlag_2.onClick = _h6w._onClickDeckFlag, _h6w.interactiveDeckFlag_3.onClick = _h6w._onClickDeckFlag, _h6w.interactiveDeckFlag_4.onClick = _h6w._onClickDeckFlag, _h6w.interactiveDeckFlag_1.update(1), _h6w.interactiveDeckFlag_2.update(2), _h6w.interactiveDeckFlag_3.update(3), _h6w.interactiveDeckFlag_4.update(4), _h70.update(1), _h72.update(2), _h73.update(3), _h74.update(4), _h6w.addChild(_h70, _h72, _h73, _h74), _h6w.addChild(_h6w.interactiveDeckFlag_1, _h6w.interactiveDeckFlag_2, _h6w.interactiveDeckFlag_3, _h6w.interactiveDeckFlag_4), _h6p.default.model.deck.exist3rdUnit && (_h6w.icon3rdUnit = new PIXI.Sprite(_h6o.COMMON_MISC.getTexture(187)), _h6w.icon3rdUnit.position.set(77, -22), _h6w.addChild(_h6w.icon3rdUnit)), _h6w; } return _h65(_h6u, _h6s), _h6u.prototype.initialize = function(_h75, _h76, _h77, _h78) { var _h79 = null; this.interactiveDeckFlag_1.visible = !1, this.interactiveDeckFlag_2.visible = !1, this.interactiveDeckFlag_3.visible = !1, this.interactiveDeckFlag_4.visible = !1, _h75 && (this.interactiveDeckFlag_1.visible = !0), _h76 && (this.interactiveDeckFlag_2.visible = !0), _h77 && (this.interactiveDeckFlag_3.visible = !0), _h78 && (this.interactiveDeckFlag_4.visible = !0); }, _h6u.prototype.update = function(_h7a) { var _h7b = null; switch (this.interactiveDeckFlag_1.normal(), this.interactiveDeckFlag_2.normal(), this.interactiveDeckFlag_3.normal(), this.interactiveDeckFlag_4.normal(), _h7a) { case 1: this.interactiveDeckFlag_1.hover(); break; case 2: this.interactiveDeckFlag_2.hover(); break; case 3: this.interactiveDeckFlag_3.hover(); break; case 4: this.interactiveDeckFlag_4.hover(); } }, _h6u.prototype.dispose = function() { var _h7c = null; this.interactiveDeckFlag_1.onClick = this._onClickDeckFlag = null, this.interactiveDeckFlag_2.onClick = this._onClickDeckFlag = null, this.interactiveDeckFlag_3.onClick = this._onClickDeckFlag = null, this.interactiveDeckFlag_4.onClick = this._onClickDeckFlag = null, this.interactiveDeckFlag_1.dispose(), this.interactiveDeckFlag_2.dispose(), this.interactiveDeckFlag_3.dispose(), this.interactiveDeckFlag_4.dispose(), this.onClickDeckFlag = null, this.interactiveDeckFlag_1 = null, this.interactiveDeckFlag_2 = null, this.interactiveDeckFlag_3 = null, this.interactiveDeckFlag_4 = null, this.icon3rdUnit = null, this.removeChildren(); }, _h6u; }(PIXI.Container); _h61.DeckSelector = _h6r; var _h6z = function(_h7d) { var _h7e = null; function _h7f() { var _h7g = null, _h7h = _h7d.call(this) || this; return _h7h._onClick = function() { var _h7i = null; _h7h.onClick(_h7h.memDeckId); }, _h7h.addListener(_h6q.EventType.CLICK, _h7h._onClick), _h7h.interactive = _h7h.buttonMode = !0, _h7h; } return _h65(_h7f, _h7d), _h7f.prototype.dispose = function() { var _h7j = null; this.onClick = null, this.memDeckId = null, this._onClick = null, this.removeAllListeners(_h6q.EventType.CLICK), this.removeChildren(); }, _h7f.prototype.update = function(_h7k) { var _h7l = null; this.memDeckId = _h7k; }, _h7f.prototype.hover = function() { var _h7m = null, _h7n = _h6o.COMMON_MISC.getTexture(_h7o.getResourceId(this.memDeckId, 'on')); this.texture = _h7n; }, _h7f.prototype.normal = function() { var _h7p = null, _h7q = _h6o.COMMON_MISC.getTexture(_h7o.getResourceId(this.memDeckId, 'off')); this.texture = _h7q; }, _h7f; }(PIXI.Sprite); _h61.InteractiveDeckFlag = _h6z; var _h7o, _h71 = function(_h7r) { var _h7s = null; function _h7t() { var _h7u = null; return _h7r.call(this) || this; } return _h65(_h7t, _h7r), _h7t.prototype.update = function(_h7v) { var _h7w = null; this.texture = _h6o.COMMON_MISC.getTexture(_h7o.getResourceId(_h7v, 'no')), this.memDeckId = _h7v; }, _h7t; }(PIXI.Sprite); _h61.DisableDeckFlag = _h71, function(_h7x) { var _h7y = null; _h7x.getResourceId = function(_h7z, _h80) { var _h81 = null; switch (_h7z) { case 1: switch (_h80) { case 'no': return 77; case 'on': return 79; case 'off': return 78; } break; case 2: switch (_h80) { case 'no': return 80; case 'on': return 82; case 'off': return 81; } break; case 3: switch (_h80) { case 'no': return 83; case 'on': return 85; case 'off': return 84; } break; case 4: switch (_h80) { case 'no': return 86; case 'on': return 88; case 'off': return 87; } } return -1; }; }(_h7o || (_h7o = {})); }, 51194: function(_h82, _h83, _h84) { 'use strict'; var _h85 = null; var _h86, _h87 = this && this.__extends || (_h86 = function(_h88, _h89) { var _h8a = null; return _h86 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_h8b, _h8c) { var _h8d = null; _h8b.__proto__ = _h8c; } || function(_h8e, _h8f) { var _h8g = null; for (var _h8h in _h8f) Object.prototype.hasOwnProperty.call(_h8f, _h8h) && (_h8e[_h8h] = _h8f[_h8h]); }, _h86(_h88, _h89); }, function(_h8i, _h8j) { var _h8k = null; if ('function' != typeof _h8j && null !== _h8j) throw new TypeError('Class extends value ' + String(_h8j) + ' is not a constructor or null'); function _h8l() { var _h8m = null; this.constructor = _h8i; } _h86(_h8i, _h8j), _h8i.prototype = null === _h8j ? Object.create(_h8j) : (_h8l.prototype = _h8j.prototype, new _h8l()); }), _h8n = this && this.__createBinding || (Object.create ? function(_h8o, _h8p, _h8q, _h8r) { var _h8s = null; void 0 === _h8r && (_h8r = _h8q); var _h8t = Object.getOwnPropertyDescriptor(_h8p, _h8q); _h8t && !('get' in _h8t ? !_h8p.__esModule : _h8t.writable || _h8t.configurable) || (_h8t = { 'enumerable': !0, 'get': function() { return _h8p[_h8q]; } }), Object.defineProperty(_h8o, _h8r, _h8t); } : function(_h8u, _h8v, _h8w, _h8x) { void 0 === _h8x && (_h8x = _h8w), _h8u[_h8x] = _h8v[_h8w]; }), _h8y = this && this.__setModuleDefault || (Object.create ? function(_h8z, _h90) { var _h91 = null; Object.defineProperty(_h8z, 'default', { 'enumerable': !0, 'value': _h90 }); } : function(_h92, _h93) { var _h94 = null; _h92.default = _h93; }), _h95 = this && this.__importStar || function(_h96) { var _h97 = null; if (_h96 && _h96.__esModule) return _h96; var _h98 = {}; if (null != _h96) { for (var _h99 in _h96) 'default' !== _h99 && Object.prototype.hasOwnProperty.call(_h96, _h99) && _h8n(_h98, _h96, _h99); } return _h8y(_h98, _h96), _h98; }; defineModule(_h83); Object.defineProperty(_h83, '__esModule', { 'value': !0 }), _h83.EditNameArea = void 0; var _h9a = _h95(_h84(31000)), _h9b = _h84(768), _h9c = _h84(14921), _h9d = _h84(8744), _h9e = function(_h9f) { var _h9g = null; function _h9h() { var _h9i = null, _h9j = _h9f.call(this) || this; _h9j._onClickUpdate = function() { var _h9k = null; _h9j.onClickUpdate(), _h9j.baseText = _h9j._mirrorText.text, _h9j._onKeyDown(); }, _h9j._onKeyDown = function() { var _h9l = null, _h9m = _h9c.EditTextBoxUtil.text; _h9j._mirrorText.text = _h9m; var _h9n = _h9c.EditTextBoxUtil.validation(_h9m, _h9j.baseText); _h9j.__updateButton__(_h9n, _h9j._editable); }; var _h9o = _h9a.ORGANIZE_MAIN.getTexture(27), _h9p = _h9a.ORGANIZE_MAIN.getTexture(60), _h9q = _h9a.ORGANIZE_MAIN.getTexture(61), _h9r = _h9a.ORGANIZE_MAIN.getTexture(62), _h9s = new PIXI.Sprite(_h9o); return _h9j.editButton = new PIXI.Sprite(_h9p), _h9j.updateButton = new _h9b.SimpleButton(_h9q, _h9r), _h9c.EditTextBoxUtil.init(780, 155, 332.25, 20.25, 4999235, 'font_j'), _h9c.EditTextBoxUtil.onLengthCheck(12, _h9j._onKeyDown), _h9j._mirrorText = new _h9d.TextBox(27, 4999235), _h9j._mirrorText.position.set(87, 4), _h9j._mirrorText.visible = !1, _h9j.updateButton.position.set(_h9s.width, 1), _h9j.updateButton.onClick = _h9j._onClickUpdate, _h9j.editButton.position.set(_h9s.width, 1), _h9j.addChild(_h9s, _h9j.editButton, _h9j.updateButton, _h9j._mirrorText), _h9j; } return _h87(_h9h, _h9f), Object.defineProperty(_h9h.prototype, 'text', { 'get': function() { var _h9t = null; return _h9c.EditTextBoxUtil.text; }, 'enumerable': !1, 'configurable': !0 }), _h9h.prototype.__updateButton__ = function(_h9u, _h9v) { var _h9w = null; this.updateButton.interactive = !1, this.editButton.visible = !1, this.updateButton.visible = !1, _h9u && _h9v ? (this.updateButton.reset(), this.updateButton.interactive = !0, this.editButton.visible = !1, this.updateButton.visible = !0) : _h9v && (this.editButton.visible = !0); }, _h9h.prototype.dispose = function() { var _h9x = null; this.removeChildren(), this.updateButton.dispose(), this._mirrorText.destroy(), this.onClickUpdate = null, this.updateButton = null, this.editButton = null, this.baseText = null, this._mirrorText = null, this._editable = null; }, _h9h.prototype.reload = function(_h9y) { var _h9z = null; this.baseText = this._mirrorText.text = _h9c.EditTextBoxUtil.text = _h9y; var _ha0 = _h9c.EditTextBoxUtil.validation(_h9y, this.baseText); this.__updateButton__(_ha0, this._editable); }, Object.defineProperty(_h9h.prototype, 'writable', { 'set': function(_ha1) { var _ha2 = null; _h9c.EditTextBoxUtil.setVisibility(_ha1), this._mirrorText.visible = !_ha1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_h9h.prototype, 'editable', { 'set': function(_ha3) { var _ha4 = null; this.editButton.visible = this._editable = _ha3; }, 'enumerable': !1, 'configurable': !0 }), _h9h; }(PIXI.Container); _h83.EditNameArea = _h9e; }, 81535: function(_ha5, _ha6, _ha7) { 'use strict'; var _ha8 = null; var _ha9, _haa = this && this.__extends || (_ha9 = function(_hab, _hac) { var _had = null; return _ha9 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_hae, _haf) { var _hag = null; _hae.__proto__ = _haf; } || function(_hah, _hai) { var _haj = null; for (var _hak in _hai) Object.prototype.hasOwnProperty.call(_hai, _hak) && (_hah[_hak] = _hai[_hak]); }, _ha9(_hab, _hac); }, function(_hal, _ham) { var _han = null; if ('function' != typeof _ham && null !== _ham) throw new TypeError('Class extends value ' + String(_ham) + ' is not a constructor or null'); function _hao() { var _hap = null; this.constructor = _hal; } _ha9(_hal, _ham), _hal.prototype = null === _ham ? Object.create(_ham) : (_hao.prototype = _ham.prototype, new _hao()); }); defineModule(_ha6); Object.defineProperty(_ha6, '__esModule', { 'value': !0 }), _ha6.EventTag = void 0; var _haq = _ha7(69124), _har = _ha7(71633), _has = function(_hat) { var _hau = null; function _hav() { var _haw = null; return _hat.call(this) || this; } return _haa(_hav, _hat), _hav.prototype.update = function(_hax) { var _hay = null; this.texture = this._update(_hax); }, _hav.prototype._update = function(_haz) { var _hb0 = null; if (-1 === _har.EventConst.AREA_ID) return PIXI.Texture.EMPTY; switch (_haz) { case 1: return _haq.COMMON_EVENT.getTexture(9); case 2: return _haq.COMMON_EVENT.getTexture(11); case 3: return _haq.COMMON_EVENT.getTexture(13); case 4: return _haq.COMMON_EVENT.getTexture(15); case 5: return _haq.COMMON_EVENT.getTexture(17); case 6: return _haq.COMMON_EVENT.getTexture(19); case 7: return _haq.COMMON_EVENT.getTexture(21); case 8: return _haq.COMMON_EVENT.getTexture(23); case 9: return _haq.COMMON_EVENT.getTexture(25); case 10: return _haq.COMMON_EVENT.getTexture(6); case 11: return _haq.COMMON_EVENT.getTexture(8); default: return PIXI.Texture.EMPTY; } }, _hav; }(PIXI.Sprite); _ha6.EventTag = _has; }, 67270: function(_hb1, _hb2, _hb3) { 'use strict'; var _hb4 = null; var _hb5, _hb6 = this && this.__extends || (_hb5 = function(_hb7, _hb8) { var _hb9 = null; return _hb5 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_hba, _hbb) { var _hbc = null; _hba.__proto__ = _hbb; } || function(_hbd, _hbe) { var _hbf = null; for (var _hbg in _hbe) Object.prototype.hasOwnProperty.call(_hbe, _hbg) && (_hbd[_hbg] = _hbe[_hbg]); }, _hb5(_hb7, _hb8); }, function(_hbh, _hbi) { var _hbj = null; if ('function' != typeof _hbi && null !== _hbi) throw new TypeError('Class extends value ' + String(_hbi) + ' is not a constructor or null'); function _hbk() { var _hbl = null; this.constructor = _hbh; } _hb5(_hbh, _hbi), _hbh.prototype = null === _hbi ? Object.create(_hbi) : (_hbk.prototype = _hbi.prototype, new _hbk()); }); defineModule(_hb2); Object.defineProperty(_hb2, '__esModule', { 'value': !0 }), _hb2.ExpGaugeView = void 0; var _hbm = _hb3(90054), _hbn = function(_hbo) { var _hbp = null; function _hbq() { var _hbr = null, _hbs = _hbo.call(this) || this; _hbs.bar = new PIXI.Sprite(_hbm.COMMON_MAIN.getTexture(22)); var _hbt = new PIXI.Sprite(_hbm.COMMON_MAIN.getTexture(21)); return _hbs.bar.x = 3, _hbs.bar.y = 3, _hbs.bar.scale.x = 0, _hbs.addChild(_hbt, _hbs.bar), _hbs; } return _hb6(_hbq, _hbo), _hbq.prototype.update = function(_hbu) { var _hbv = null; this.bar.scale.x = 0.01 * _hbu, 1 <= this.bar.scale.x ? this.bar.scale.x = 1 : this.bar.scale.x <= 0 && (this.bar.scale.x = 0); }, _hbq.prototype.dispose = function() { var _hbw = null; this.removeChildren(), this.bar = null; }, _hbq; }(PIXI.Container); _hb2.ExpGaugeView = _hbn; }, 31253: function(_hbx, _hby, _hbz) { 'use strict'; var _hc0 = null; var _hc1, _hc2 = this && this.__extends || (_hc1 = function(_hc3, _hc4) { var _hc5 = null; return _hc1 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_hc6, _hc7) { var _hc8 = null; _hc6.__proto__ = _hc7; } || function(_hc9, _hca) { var _hcb = null; for (var _hcc in _hca) Object.prototype.hasOwnProperty.call(_hca, _hcc) && (_hc9[_hcc] = _hca[_hcc]); }, _hc1(_hc3, _hc4); }, function(_hcd, _hce) { var _hcf = null; if ('function' != typeof _hce && null !== _hce) throw new TypeError('Class extends value ' + String(_hce) + ' is not a constructor or null'); function _hcg() { var _hch = null; this.constructor = _hcd; } _hc1(_hcd, _hce), _hcd.prototype = null === _hce ? Object.create(_hce) : (_hcg.prototype = _hce.prototype, new _hcg()); }), _hci = this && this.__createBinding || (Object.create ? function(_hcj, _hck, _hcl, _hcm) { var _hcn = null; void 0 === _hcm && (_hcm = _hcl); var _hco = Object.getOwnPropertyDescriptor(_hck, _hcl); _hco && !('get' in _hco ? !_hck.__esModule : _hco.writable || _hco.configurable) || (_hco = { 'enumerable': !0, 'get': function() { return _hck[_hcl]; } }), Object.defineProperty(_hcj, _hcm, _hco); } : function(_hcp, _hcq, _hcr, _hcs) { void 0 === _hcs && (_hcs = _hcr), _hcp[_hcs] = _hcq[_hcr]; }), _hct = this && this.__setModuleDefault || (Object.create ? function(_hcu, _hcv) { var _hcw = null; Object.defineProperty(_hcu, 'default', { 'enumerable': !0, 'value': _hcv }); } : function(_hcx, _hcy) { var _hcz = null; _hcx.default = _hcy; }), _hd0 = this && this.__importStar || function(_hd1) { var _hd2 = null; if (_hd1 && _hd1.__esModule) return _hd1; var _hd3 = {}; if (null != _hd1) { for (var _hd4 in _hd1) 'default' !== _hd4 && Object.prototype.hasOwnProperty.call(_hd1, _hd4) && _hci(_hd3, _hd1, _hd4); } return _hct(_hd3, _hd1), _hd3; }; defineModule(_hby); Object.defineProperty(_hby, '__esModule', { 'value': !0 }), _hby.ExtensionPresetConfirm = void 0; var _hd5 = _hd0(_hbz(31000)), _hd6 = _hbz(8744), _hd7 = _hbz(768), _hd8 = function(_hd9) { var _hda = null; function _hdb() { var _hdc = null, _hdd = _hd9.call(this) || this; _hdd._onClickYes = function() { var _hde = null; _hdd.onClickYES(); }, _hdd._onClickNo = function() { var _hdf = null; _hdd.onClickNO(); }, _hdd.text = new _hd6.TextBox(24, 5523516); var _hdg = _hd5.ORGANIZE_MAIN.getTexture(28), _hdh = _hd5.ORGANIZE_MAIN.getTexture(14), _hdi = _hd5.ORGANIZE_MAIN.getTexture(7); return _hdd.message = new PIXI.Sprite(_hdg), _hdd.buttonYes = new _hd7.SimpleButton(_hdh, _hdh), _hdd.buttonNo = new _hd7.SimpleButton(_hdi, _hdi), _hdd.text.position.set(Math.floor(435 - 0.5 * _hdd.text.width), Math.floor(138 - 0.5 * _hdd.text.height)), _hdd.buttonYes.position.set(171, 213), _hdd.buttonNo.position.set(385, 213), _hdd.buttonYes.onClick = _hdd._onClickYes, _hdd.buttonNo.onClick = _hdd._onClickNo, _hdd.addChild(_hdd.message, _hdd.text, _hdd.buttonYes, _hdd.buttonNo), _hdd; } return _hc2(_hdb, _hd9), _hdb.prototype.update = function(_hdj) { var _hdk = null; this.text.text = _hdj + ' → ' + (_hdj - 1); }, _hdb.prototype.dispose = function() { var _hdl = null; this.removeChildren(), this.buttonYes.dispose(), this.buttonNo.dispose(), this.text.destroy(), this.onClickYES = null, this.onClickNO = null, this.message = null, this.buttonYes = null, this.buttonNo = null, this.text = null; }, _hdb; }(PIXI.Container); _hby.ExtensionPresetConfirm = _hd8; }, 68249: function(_hdm, _hdn, _hdo) { 'use strict'; var _hdp = null; var _hdq, _hdr = this && this.__extends || (_hdq = function(_hds, _hdt) { var _hdu = null; return _hdq = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_hdv, _hdw) { var _hdx = null; _hdv.__proto__ = _hdw; } || function(_hdy, _hdz) { var _he0 = null; for (var _he1 in _hdz) Object.prototype.hasOwnProperty.call(_hdz, _he1) && (_hdy[_he1] = _hdz[_he1]); }, _hdq(_hds, _hdt); }, function(_he2, _he3) { var _he4 = null; if ('function' != typeof _he3 && null !== _he3) throw new TypeError('Class extends value ' + String(_he3) + ' is not a constructor or null'); function _he5() { var _he6 = null; this.constructor = _he2; } _hdq(_he2, _he3), _he2.prototype = null === _he3 ? Object.create(_he3) : (_he5.prototype = _he3.prototype, new _he5()); }), _he7 = this && this.__createBinding || (Object.create ? function(_he8, _he9, _hea, _heb) { var _hec = null; void 0 === _heb && (_heb = _hea); var _hed = Object.getOwnPropertyDescriptor(_he9, _hea); _hed && !('get' in _hed ? !_he9.__esModule : _hed.writable || _hed.configurable) || (_hed = { 'enumerable': !0, 'get': function() { return _he9[_hea]; } }), Object.defineProperty(_he8, _heb, _hed); } : function(_hee, _hef, _heg, _heh) { void 0 === _heh && (_heh = _heg), _hee[_heh] = _hef[_heg]; }), _hei = this && this.__setModuleDefault || (Object.create ? function(_hej, _hek) { var _hel = null; Object.defineProperty(_hej, 'default', { 'enumerable': !0, 'value': _hek }); } : function(_hem, _hen) { var _heo = null; _hem.default = _hen; }), _hep = this && this.__importStar || function(_heq) { var _her = null; if (_heq && _heq.__esModule) return _heq; var _hes = {}; if (null != _heq) { for (var _het in _heq) 'default' !== _het && Object.prototype.hasOwnProperty.call(_heq, _het) && _he7(_hes, _heq, _het); } return _hei(_hes, _heq), _hes; }; defineModule(_hdn); Object.defineProperty(_hdn, '__esModule', { 'value': !0 }), _hdn.LongShipBannerContainer = void 0; var _heu = _hep(_hdo(31000)), _hev = _hdo(64289), _hew = _hdo(71837), _hex = _hdo(35837), _hey = function(_hez) { var _hf0 = null; function _hf1() { var _hf2 = null, _hf3 = _hez.call(this) || this; _hf3.VIEW_COUNT = 6, _hf3.onClickBtm = function() { var _hf4 = null; _hf3._top_index++, _hf3._top_index + _hf3.VIEW_COUNT >= _hf3._ships.length && (_hf3._arrowBtmBtn.visible = !1), _hf3._update(_hf3._ships, _hf3._expedition), _hf3._arrowTopBtn.visible = !0; }, _hf3.onClickTop = function() { var _hf5 = null; _hf3._top_index--, _hf3._top_index <= 0 && (_hf3._arrowTopBtn.visible = !1), _hf3._update(_hf3._ships, _hf3._expedition), _hf3._arrowBtmBtn.visible = !0; }, _hf3.empties = new Array(), _hf3.banners = new Array(); for (var _hf6 = 0; _hf6 < _hf3.VIEW_COUNT; _hf6++) { var _hf7 = new PIXI.Sprite(_heu.COMMON_MAIN.getTexture(20)), _hf8 = new _hev.LongShipBanner(!0), _hf9 = 76 * _hf6; _hf7.y = _hf9, _hf8.y = _hf9, _hf3.empties.push(_hf7), _hf3.banners.push(_hf8), _hf3.addChild(_hf7), _hf3.addChild(_hf8); } return _hf3._arrowTopBtn = new _hex.ArrowSmallButton(!1), _hf3._arrowTopBtn.initialize(_hf3.onClickTop), _hf3._arrowTopBtn.activate(), _hf3._arrowTopBtn.visible = !1, _hf3._arrowTopBtn.position.set(395, -37), _hf3._arrowBtmBtn = new _hex.ArrowSmallButton(!0), _hf3._arrowBtmBtn.initialize(_hf3.onClickBtm), _hf3._arrowBtmBtn.activate(), _hf3._arrowBtmBtn.visible = !1, _hf3._arrowBtmBtn.position.set(395, 442), _hf3.addChild(_hf3._arrowTopBtn), _hf3.addChild(_hf3._arrowBtmBtn), _hf3; } return _hdr(_hf1, _hez), _hf1.prototype.dispose = function() { var _hfa = null; _hew.TaskLoadShipResource.abortBy(this); for (var _hfb = 0; _hfb < this.empties.length; _hfb++) this.empties[_hfb].texture = PIXI.Texture.EMPTY, this.empties[_hfb] = null; this.empties = null; for (_hfb = 0; _hfb < this.banners.length; _hfb++) this.banners[_hfb].dispose(), this.banners[_hfb] = null; this.banners = null, this._arrowBtmBtn.dispose(), this._arrowBtmBtn = null, this._arrowTopBtn.dispose(), this._arrowTopBtn = null, this.removeChildren(); }, _hf1.prototype.update = function(_hfc, _hfd) { var _hfe = null; _hew.TaskLoadShipResource.abortBy(this), this._top_index = 0, this._ships = _hfc, this._expedition = _hfd, this._arrowBtmBtn.visible = !1, this._arrowTopBtn.visible = !1, this._update(_hfc, _hfd), _hfc.length > this.VIEW_COUNT && (this._arrowBtmBtn.visible = !0); }, _hf1.prototype._update = function(_hff, _hfg) { var _hfh = null; for (var _hfi = 0; _hfi < this.VIEW_COUNT; _hfi++) { var _hfj = this.banners[_hfi], _hfk = this.empties[_hfi]; _hfj.visible = !1, _hfk.visible = !0; var _hfl = this._top_index + _hfi; if (_hfl < _hff.length) { var _hfm = this._ships[_hfl]; null != _hfm && (_hfj.update(_hfl, _hfm, _hfg), _hfj.visible = !0, _hfk.visible = !1); } } }, _hf1; }(PIXI.Container); _hdn.LongShipBannerContainer = _hey; }, 64006: function(_hfn, _hfo, _hfp) { 'use strict'; var _hfq = null; var _hfr, _hfs = this && this.__extends || (_hfr = function(_hft, _hfu) { var _hfv = null; return _hfr = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_hfw, _hfx) { var _hfy = null; _hfw.__proto__ = _hfx; } || function(_hfz, _hg0) { var _hg1 = null; for (var _hg2 in _hg0) Object.prototype.hasOwnProperty.call(_hg0, _hg2) && (_hfz[_hg2] = _hg0[_hg2]); }, _hfr(_hft, _hfu); }, function(_hg3, _hg4) { var _hg5 = null; if ('function' != typeof _hg4 && null !== _hg4) throw new TypeError('Class extends value ' + String(_hg4) + ' is not a constructor or null'); function _hg6() { var _hg7 = null; this.constructor = _hg3; } _hfr(_hg3, _hg4), _hg3.prototype = null === _hg4 ? Object.create(_hg4) : (_hg6.prototype = _hg4.prototype, new _hg6()); }), _hg8 = this && this.__createBinding || (Object.create ? function(_hg9, _hga, _hgb, _hgc) { var _hgd = null; void 0 === _hgc && (_hgc = _hgb); var _hge = Object.getOwnPropertyDescriptor(_hga, _hgb); _hge && !('get' in _hge ? !_hga.__esModule : _hge.writable || _hge.configurable) || (_hge = { 'enumerable': !0, 'get': function() { return _hga[_hgb]; } }), Object.defineProperty(_hg9, _hgc, _hge); } : function(_hgf, _hgg, _hgh, _hgi) { void 0 === _hgi && (_hgi = _hgh), _hgf[_hgi] = _hgg[_hgh]; }), _hgj = this && this.__setModuleDefault || (Object.create ? function(_hgk, _hgl) { var _hgm = null; Object.defineProperty(_hgk, 'default', { 'enumerable': !0, 'value': _hgl }); } : function(_hgn, _hgo) { var _hgp = null; _hgn.default = _hgo; }), _hgq = this && this.__importStar || function(_hgr) { var _hgs = null; if (_hgr && _hgr.__esModule) return _hgr; var _hgt = {}; if (null != _hgr) { for (var _hgu in _hgr) 'default' !== _hgu && Object.prototype.hasOwnProperty.call(_hgr, _hgu) && _hg8(_hgt, _hgr, _hgu); } return _hgj(_hgt, _hgr), _hgt; }; defineModule(_hfo); Object.defineProperty(_hfo, '__esModule', { 'value': !0 }), _hfo.PresetAlertLostPopup = _hfo.PresetAlertOrganizedPopup = void 0; var _hgv = _hgq(_hfp(31000)), _hgw = _hfp(8744), _hgx = _hfp(35380), _hgy = function(_hgz) { var _hh0 = null; function _hh1(_hh2) { var _hh3 = null, _hh4 = _hgz.call(this) || this; _hh4._onClick = function() { var _hh5 = null; _hh4.onClick(_hh4._presetId); }, _hh4._onMouseOut = function(_hh6) { var _hh7 = null; _hh4.onMouseOut(_hh4._index, _hh6); }, _hh4._index = _hh2; var _hh8 = _hgv.ORGANIZE_MAIN.getTexture(39), _hh9 = _hgv.ORGANIZE_MAIN.getTexture(43), _hha = _hgv.ORGANIZE_MAIN.getTexture(12), _hhb = _hgv.ORGANIZE_MAIN.getTexture(13); _hh4._background = new PIXI.Sprite(_hh8); var _hhc = new PIXI.Sprite(_hh9); return _hh4.textMessage = new _hgw.TextBox(16, 'red'), _hh4._positiveButton = new PIXI.Sprite(_hha), _hh4.negativeButton = new PIXI.Sprite(_hhb), _hhc.position.set(279, -13), _hh4.textMessage.position.set(13, 9), _hh4._positiveButton.position.set(237, 42), _hh4.negativeButton.position.set(237, 42), _hh4._positiveButton.on(_hgx.EventType.CLICK, _hh4._onClick), _hh4._positiveButton.on(_hgx.EventType.MOUSEOUT, _hh4._onMouseOut), _hh4._background.on(_hgx.EventType.MOUSEOUT, _hh4._onMouseOut), _hh4._background.interactive = !0, _hh4._positiveButton.interactive = !0, _hh4._positiveButton.buttonMode = !0, _hh4._positiveButton.visible = !1, _hh4.negativeButton.visible = !1, _hh4.addChild(_hh4._background, _hhc, _hh4.textMessage, _hh4.negativeButton, _hh4._positiveButton), _hh4._background.anchor.set(0.5, 0), _hh4._background.x = 285, _hh4.textMessage.anchor.set(0.5, 0), _hh4; } return _hfs(_hh1, _hgz), Object.defineProperty(_hh1.prototype, 'index', { 'get': function() { var _hhd = null; return this._index; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_hh1.prototype, 'background', { 'get': function() { var _hhe = null; return this._background; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_hh1.prototype, 'positiveButton', { 'get': function() { var _hhf = null; return this._positiveButton; }, 'enumerable': !1, 'configurable': !0 }), _hh1.prototype.dispose = function() { var _hhg = null; this.removeChildren(), this._positiveButton.off(_hgx.EventType.CLICK), this._positiveButton.off(_hgx.EventType.MOUSEOUT), this._positiveButton.off(_hgx.EventType.MOUSEOVER), this._background.off(_hgx.EventType.MOUSEOUT), this._background.off(_hgx.EventType.MOUSEOVER), this.textMessage.destroy(), this.onClick = null, this.onMouseOut = null, this.textMessage = null, this.negativeButton = null, this._index = null, this._background = null, this._positiveButton = null, this._presetId = null; }, _hh1.prototype.update = function(_hhh, _hhi, _hhj) { var _hhk = null; this._positiveButton.visible = !1, this.negativeButton.visible = !1, _hhj ? this._positiveButton.visible = !0 : this.negativeButton.visible = !0, this.textMessage.text = _hhi, this._background.width = this.textMessage.width + 9, this._background.x = 285, 285 < this._background.width / 2 && (this._background.x = Math.floor(this._background.width / 2 - 285 + 285)), this.textMessage.x = this.background.x, this.positiveButton.x = Math.floor(this.background.x - this.positiveButton.width / 2), this.negativeButton.x = Math.floor(this.background.x - this.negativeButton.width / 2), this._presetId = _hhh; }, _hh1; }(PIXI.Container); _hfo.PresetAlertOrganizedPopup = _hgy; var _hhl = function(_hhm) { var _hhn = null; function _hho(_hhp) { var _hhq = null, _hhr = _hhm.call(this) || this; _hhr._onClick = function() { var _hhs = null; _hhr.onClick(_hhr._presetId); }, _hhr._onMouseOut = function(_hht) { var _hhu = null; _hhr.onMouseOut(_hhr._index, _hht); }, _hhr._onMouseOver = function(_hhv) { var _hhw = null; _hhr.onMouseOver(_hhr._index, _hhv); }, _hhr._index = _hhp; var _hhx = _hgv.ORGANIZE_MAIN.getTexture(40), _hhy = _hgv.ORGANIZE_MAIN.getTexture(43), _hhz = _hgv.ORGANIZE_MAIN.getTexture(13), _hi0 = _hgv.ORGANIZE_MAIN.getTexture(11); _hhr._background = new PIXI.Sprite(_hhx); var _hi1 = new PIXI.Sprite(_hhy); return _hhr.textMessage = new _hgw.TextBox(18, 'red'), _hhr._negativeButton = new PIXI.Sprite(_hhz), _hhr._positiveButton = new PIXI.Sprite(_hi0), _hhr.textMessage.text = '既に存在しない艦娘が含まれています。', _hi1.position.set(160, -12), _hhr.textMessage.position.set(10, 10), _hhr._negativeButton.position.set(18, 39), _hhr._positiveButton.position.set(34, 39), _hhr._background.on(_hgx.EventType.MOUSEOUT, _hhr._onMouseOut), _hhr._background.on(_hgx.EventType.MOUSEOVER, _hhr._onMouseOver), _hhr._positiveButton.on(_hgx.EventType.MOUSEOUT, _hhr._onMouseOut), _hhr._positiveButton.on(_hgx.EventType.MOUSEOVER, _hhr._onMouseOver), _hhr._positiveButton.on(_hgx.EventType.CLICK, _hhr._onClick), _hhr._negativeButton.visible = !1, _hhr._background.interactive = !0, _hhr._positiveButton.interactive = !0, _hhr._positiveButton.buttonMode = !0, _hhr.addChild(_hhr._background, _hi1, _hhr.textMessage, _hhr._negativeButton, _hhr._positiveButton), _hhr; } return _hfs(_hho, _hhm), Object.defineProperty(_hho.prototype, 'index', { 'get': function() { var _hi2 = null; return this._index; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_hho.prototype, 'background', { 'get': function() { var _hi3 = null; return this._background; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_hho.prototype, 'positiveButton', { 'get': function() { var _hi4 = null; return this._positiveButton; }, 'enumerable': !1, 'configurable': !0 }), _hho.prototype.dispose = function() { var _hi5 = null; this._background.off(_hgx.EventType.MOUSEOUT), this._background.off(_hgx.EventType.MOUSEOVER), this._positiveButton.off(_hgx.EventType.MOUSEOUT), this._positiveButton.off(_hgx.EventType.MOUSEOVER), this._positiveButton.off(_hgx.EventType.CLICK), this.textMessage.destroy(), this.onClick = null, this.onMouseOut = null, this.onMouseOver = null, this.textMessage = null, this._positiveButton = null, this._negativeButton = null, this._background = null, this._index = null, this._presetId = null, this.removeChildren(); }, _hho.prototype.update = function(_hi6, _hi7) { var _hi8 = null; this._presetId = _hi6, this._positiveButton.visible = !1, this._negativeButton.visible = !1, _hi7 ? this._positiveButton.visible = !0 : this._negativeButton.visible = !0; }, _hho; }(PIXI.Container); _hfo.PresetAlertLostPopup = _hhl; }, 83539: function(_hi9, _hia, _hib) { 'use strict'; var _hic = null; var _hid, _hie = this && this.__extends || (_hid = function(_hif, _hig) { var _hih = null; return _hid = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_hii, _hij) { var _hik = null; _hii.__proto__ = _hij; } || function(_hil, _him) { var _hin = null; for (var _hio in _him) Object.prototype.hasOwnProperty.call(_him, _hio) && (_hil[_hio] = _him[_hio]); }, _hid(_hif, _hig); }, function(_hip, _hiq) { var _hir = null; if ('function' != typeof _hiq && null !== _hiq) throw new TypeError('Class extends value ' + String(_hiq) + ' is not a constructor or null'); function _his() { var _hit = null; this.constructor = _hip; } _hid(_hip, _hiq), _hip.prototype = null === _hiq ? Object.create(_hiq) : (_his.prototype = _hiq.prototype, new _his()); }); defineModule(_hia); Object.defineProperty(_hia, '__esModule', { 'value': !0 }), _hia.PresetButtonLayer = void 0; var _hiu = _hib(74623), _hiv = _hib(35380), _hiw = function(_hix) { var _hiy = null; function _hiz() { var _hj0 = null, _hj1 = _hix.call(this) || this; return _hj1._onClickEdit = function() { var _hj2 = null; _hj1.onClick(1); }, _hj1._onClickExpansion = function() { var _hj3 = null; _hj1.onClick(2); }, _hj1.buttonSave = new PIXI.Sprite(), _hj1.buttonLoad = new PIXI.Sprite(), _hj1.buttonLoad.y = 43, _hj1.buttonSave.interactive = _hj1.buttonLoad.interactive = !0, _hj1.buttonSave.buttonMode = _hj1.buttonLoad.buttonMode = !0, _hj1.buttonSave.addListener(_hiv.EventType.CLICK, _hj1._onClickEdit), _hj1.buttonLoad.addListener(_hiv.EventType.CLICK, _hj1._onClickExpansion), _hj1.addChild(_hj1.buttonSave, _hj1.buttonLoad), _hj1.update(0), _hj1; } return _hie(_hiz, _hix), _hiz.prototype.dispose = function() { var _hj4 = null; this.buttonLoad.removeAllListeners(_hiv.EventType.CLICK), this.buttonSave.removeAllListeners(_hiv.EventType.CLICK), this.onClick = null, this.buttonSave = null, this.buttonLoad = null, this.removeChildren(); }, _hiz.prototype.update = function(_hj5) { var _hj6 = null; switch (_hj5) { case 0: var _hj7 = _hiu.ORGANIZE_MAIN.getTexture(51), _hj8 = _hiu.ORGANIZE_MAIN.getTexture(48); this.buttonSave.texture = _hj7, this.buttonLoad.texture = _hj8; break; case 1: var _hj9 = _hiu.ORGANIZE_MAIN.getTexture(53), _hja = _hiu.ORGANIZE_MAIN.getTexture(49); this.buttonSave.texture = _hj9, this.buttonLoad.texture = _hja; break; case 2: var _hjb = _hiu.ORGANIZE_MAIN.getTexture(52), _hjc = _hiu.ORGANIZE_MAIN.getTexture(50); this.buttonSave.texture = _hjb, this.buttonLoad.texture = _hjc; } }, _hiz.prototype.show = function() { var _hjd = null; this.visible = !0; }, _hiz.prototype.hide = function() { var _hje = null; this.visible = !1; }, _hiz; }(PIXI.Container); _hia.PresetButtonLayer = _hiw; }, 19715: function(_hjf, _hjg, _hjh) { 'use strict'; var _hji = null; var _hjj, _hjk = this && this.__extends || (_hjj = function(_hjl, _hjm) { var _hjn = null; return _hjj = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_hjo, _hjp) { var _hjq = null; _hjo.__proto__ = _hjp; } || function(_hjr, _hjs) { var _hjt = null; for (var _hju in _hjs) Object.prototype.hasOwnProperty.call(_hjs, _hju) && (_hjr[_hju] = _hjs[_hju]); }, _hjj(_hjl, _hjm); }, function(_hjv, _hjw) { var _hjx = null; if ('function' != typeof _hjw && null !== _hjw) throw new TypeError('Class extends value ' + String(_hjw) + ' is not a constructor or null'); function _hjy() { var _hjz = null; this.constructor = _hjv; } _hjj(_hjv, _hjw), _hjv.prototype = null === _hjw ? Object.create(_hjw) : (_hjy.prototype = _hjw.prototype, new _hjy()); }); defineModule(_hjg); Object.defineProperty(_hjg, '__esModule', { 'value': !0 }), _hjg.PresetEditContainer = void 0; var _hk0 = _hjh(71837), _hk1 = _hjh(77190), _hk2 = function(_hk3) { var _hk4 = null; function _hk5(_hk6, _hk7, _hk8) { var _hk9 = null, _hka = _hk3.call(this) || this; _hka.HEIGHT = 76, _hka.presetEditSlots = []; for (var _hkb = 0; _hkb < 5; _hkb++) { var _hkc = new _hk1.PresetEditSlot(_hkb); _hkc.onClickSave = _hk6, _hkc.onClickDelete = _hk7, _hkc.onClickExtension = _hk8, _hkc.position.y = _hka.HEIGHT * _hkb, _hka.presetEditSlots.push(_hkc); } return _hka.presetEditSlots.forEach(function(_hkd) { var _hke = null; return _hka.addChild(_hkd); }), _hka; } return _hjk(_hk5, _hk3), Object.defineProperty(_hk5.prototype, 'slotsLength', { 'get': function() { var _hkf = null; return this.presetEditSlots.length; }, 'enumerable': !1, 'configurable': !0 }), _hk5.prototype.dispose = function() { var _hkg = null; _hk0.TaskLoadShipResource.abortBy(this), this.presetEditSlots.forEach(function(_hkh) { var _hki = null; _hkh.dispose(), _hkh = null; }), this.presetEditSlots = null, this.removeChildren(); }, _hk5.prototype.update = function(_hkj, _hkk, _hkl, _hkm, _hkn) { var _hko = null; void 0 === _hkn && (_hkn = null), _hk0.TaskLoadShipResource.abortBy(this); for (var _hkp = !1, _hkq = 0; _hkq < 5; _hkq++) _hkp = this.presetEditSlots[_hkq].update(_hkj[_hkq], _hkk, _hkl, _hkm, _hkn, _hkp); }, _hk5; }(PIXI.Container); _hjg.PresetEditContainer = _hk2; }, 7572: function(_hkr, _hks, _hkt) { 'use strict'; var _hku = null; var _hkv, _hkw = this && this.__extends || (_hkv = function(_hkx, _hky) { var _hkz = null; return _hkv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_hl0, _hl1) { var _hl2 = null; _hl0.__proto__ = _hl1; } || function(_hl3, _hl4) { var _hl5 = null; for (var _hl6 in _hl4) Object.prototype.hasOwnProperty.call(_hl4, _hl6) && (_hl3[_hl6] = _hl4[_hl6]); }, _hkv(_hkx, _hky); }, function(_hl7, _hl8) { var _hl9 = null; if ('function' != typeof _hl8 && null !== _hl8) throw new TypeError('Class extends value ' + String(_hl8) + ' is not a constructor or null'); function _hla() { var _hlb = null; this.constructor = _hl7; } _hkv(_hl7, _hl8), _hl7.prototype = null === _hl8 ? Object.create(_hl8) : (_hla.prototype = _hl8.prototype, new _hla()); }), _hlc = this && this.__importDefault || function(_hld) { var _hle = null; return _hld && _hld.__esModule ? _hld : { 'default': _hld }; }; defineModule(_hks); Object.defineProperty(_hks, '__esModule', { 'value': !0 }), _hks.PresetEditLayer = void 0; var _hlf = _hlc(_hkt(18622)), _hlg = _hkt(83415), _hlh = _hkt(79899), _hli = _hkt(35837), _hlj = _hkt(70723), _hlk = _hkt(90054), _hll = _hkt(7665), _hlm = _hkt(31253), _hln = _hkt(68249), _hlo = _hkt(19715), _hlp = _hkt(34924), _hlq = _hkt(768), _hlr = _hkt(70270), _hls = _hkt(25326), _hlt = _hkt(61333), _hlu = _hkt(16677), _hlv = function(_hlw) { var _hlx = null; function _hly(_hlz) { var _hm0 = null, _hm1 = _hlw.call(this) || this; _hm1.headIndex = 0, _hm1.PAGE_NUM = 5, _hm1.OPEN_KEY_ITEMID = 49, _hm1._onClickBack = function() { var _hm2 = null; _hm1.hide(), _hm1.clickBack && _hm1.clickBack(); }, _hm1._onClickDelete = function(_hm3) { var _hm4 = null, _hm5 = new _hlr.PresetDeleteAPI(_hm3); _hlf.default.view.clickGuard = !0, _hlj.SE.play('249'), _hm5.start(function() { var _hm6 = null, _hm7 = new Array(), _hm8 = _hlf.default.model.deck.get(_hm1.deckId), _hm9 = (_hm8.getShipList(), null != _hm8.expedition), _hma = (_hm8.getShipMemIDList(), 0 < _hm8.getCount()); _hm1.presetList.__deletePresetDeckData__(_hm3); for (var _hmb = 0; _hmb < _hm1.presetList.maxNum; _hmb++) { var _hmc = _hm1.presetList.getPresetDeckData(_hmb + 1); _hm7.push(_hmc); } _hm1.presetList.maxNum < _hll.OrganizeConst.EXTENDS_MAX && _hm7.push(null); var _hmd = _hm7.slice(_hm1.headIndex, _hm1.headIndex + _hm1.PAGE_NUM), _hme = 0 < _hlf.default.model.useItem.get(_hm1.OPEN_KEY_ITEMID).count; _hm1.presetEditContainer.update(_hmd, _hma, _hm9, _hme), _hlf.default.view.clickGuard = !1, _hm1.presets = _hm7; }); }, _hm1._onClickSave = function(_hmf) { var _hmg = null, _hmh = _hlf.default.model.deck.get(_hm1.deckId), _hmi = new _hlt.PresetRegisterAPI(_hm1.deckId, _hmf, _hmh.name); _hlf.default.view.clickGuard = !0, _hlj.SE.play('240'), _hmi.start(function() { var _hmj = null; _hlj.SE.play('235'); var _hmk = new Array(), _hml = _hlf.default.model.deck.get(_hm1.deckId), _hmm = null != _hml.expedition, _hmn = 0 < _hml.getCount(); _hm1.presetList.updateData(_hmi.result); for (var _hmo = _hm1.presetList.getPresetDeckData(_hmf), _hmp = 0; _hmp < _hm1.presetList.maxNum; _hmp++) { var _hmq = _hm1.presetList.getPresetDeckData(_hmp + 1); _hmk.push(_hmq); } _hm1.presetList.maxNum < _hll.OrganizeConst.EXTENDS_MAX && _hmk.push(null); var _hmr = _hmk.slice(_hm1.headIndex, _hm1.headIndex + _hm1.PAGE_NUM), _hms = 0 < _hlf.default.model.useItem.get(_hm1.OPEN_KEY_ITEMID).count; _hm1.presetEditContainer.update(_hmr, _hmn, _hmm, _hms, _hmo.presetID), _hlf.default.view.clickGuard = !1, _hm1.presets = _hmk; }); }, _hm1._onClickExtension = function() { var _hmt = null, _hmu = new _hmv(_hlf.default.view.overLayer); _hmu.onComplete = function(_hmw) { var _hmx = null; _hlf.default.view.clickGuard = !0, _hmu.hide(function() { var _hmy = null; switch (_hmw) { case !1: _hmu.dispose(), _hlf.default.view.clickGuard = !1; break; case !0: new _hls.PresetExpandAPI().start(function() { var _hmz = null; _hm1.presetList.__updateByPresetExpanded__(_hm1.presetList.maxNum + 1); for (var _hn0 = new Array(), _hn1 = 0; _hn1 < _hm1.presetList.maxNum; _hn1++) { var _hn2 = _hm1.presetList.getPresetDeckData(_hn1 + 1); _hn0.push(_hn2); } _hm1.presetList.maxNum < _hll.OrganizeConst.EXTENDS_MAX && _hn0.push(null), _hm1.arrowBottomButton.visible = !1, _hm1.arrowTopButton.visible = !1, _hm1.headIndex + _hm1.PAGE_NUM < _hn0.length && (_hn0.length == _hm1.presetEditContainer.slotsLength + 1 && (_hm1.arrowTopButton.activate(), _hm1.arrowBottomButton.activate()), _hm1.arrowBottomButton.visible = !0), 0 < _hm1.headIndex && (_hm1.presetTitle.hideTxt2(), _hm1.arrowTopButton.visible = !0); var _hn3 = _hlf.default.model.deck.get(_hm1.deckId), _hn4 = 0 < _hn3.getCount(), _hn5 = null != _hn3.expedition, _hn6 = _hn0.slice(_hm1.headIndex, _hm1.headIndex + _hm1.PAGE_NUM), _hn7 = 0 < _hlf.default.model.useItem.get(_hm1.OPEN_KEY_ITEMID).count; _hm1.presetEditContainer.update(_hn6, _hn4, _hn5, _hn7), _hmu.dispose(), _hlf.default.view.clickGuard = !1, _hm1.presets = _hn0; }); } _hlu.WheelEventUtil.regist(_hm1._onWheel.bind(_hm1)); }); }, _hlu.WheelEventUtil.clear(); var _hn8 = _hlf.default.model.useItem.get(_hm1.OPEN_KEY_ITEMID).count; _hmu.start(_hn8); }, _hm1._onClickNext = function() { var _hn9 = null; _hm1.arrowBottomButton.visible = !1; var _hna = _hm1.headIndex + 1; _hm1.presets.length < _hna + _hm1.PAGE_NUM && (_hna = _hm1.presets.length - _hm1.PAGE_NUM), _hm1.arrowBottomButton.visible = !1, _hna + _hm1.PAGE_NUM < _hm1.presets.length && (_hm1.arrowBottomButton.visible = !0), _hm1.arrowTopButton.visible = !1, _hm1.presetTitle.showTxt2(), 0 < _hna && (_hm1.presetTitle.hideTxt2(), _hm1.arrowTopButton.visible = !0); var _hnb = _hm1.presets.slice(_hna, _hna + _hm1.PAGE_NUM), _hnc = _hlf.default.model.deck.get(_hm1.deckId), _hnd = (_hnc.getShipList(), null != _hnc.expedition), _hne = (_hnc.getShipMemIDList(), 0 < _hnc.getCount()), _hnf = 0 < _hlf.default.model.useItem.get(_hm1.OPEN_KEY_ITEMID).count; _hm1.presetEditContainer.update(_hnb, _hne, _hnd, _hnf), _hm1.headIndex = _hna; }, _hm1._onClickPrev = function() { var _hng = null, _hnh = _hm1.headIndex - 1, _hni = _hm1.presets.slice(_hnh, _hnh + _hm1.PAGE_NUM), _hnj = _hlf.default.model.deck.get(_hm1.deckId), _hnk = (_hnj.getShipList(), null != _hnj.expedition), _hnl = (_hnj.getShipMemIDList(), 0 < _hnj.getCount()); _hnh < 0 && (_hnh = 0), _hm1.arrowBottomButton.visible = !1, _hnh + _hm1.PAGE_NUM < _hm1.presets.length && (_hm1.arrowBottomButton.visible = !0), _hm1.presetTitle.showTxt2(), _hm1.arrowTopButton.visible = !1, 0 < _hnh && (_hm1.arrowTopButton.visible = !0, _hm1.presetTitle.hideTxt2()); var _hnm = 0 < _hlf.default.model.useItem.get(_hm1.OPEN_KEY_ITEMID).count; _hm1.presetEditContainer.update(_hni, _hnl, _hnk, _hnm), _hm1.headIndex = _hnh; }, _hm1._onWheel = function(_hnn) { var _hno = null; 0 != _hnn.delta && (_hnn.delta > 0 ? _hm1.headIndex + _hm1.PAGE_NUM < _hm1.presets.length && (_hnn.enabledGuard(), _hm1._onClickNext()) : _hm1.headIndex > 0 && (_hnn.enabledGuard(), _hm1._onClickPrev())); }, _hm1.clickBack = _hlz; var _hnp = _hlk.COMMON_MAIN.getTexture(5); return _hm1.btnBack = new _hlq.SimpleButton(_hnp, _hnp), _hm1.btnBack.position.set(173, 638), _hm1.btnBack.onClick = _hm1._onClickBack, _hm1.arrowTopButton = new _hli.ArrowButton(), _hm1.arrowTopButton.initialize(_hm1._onClickPrev), _hm1.arrowTopButton.position.set(446, 217), _hm1.arrowBottomButton = new _hli.ArrowButton(!0), _hm1.arrowBottomButton.initialize(_hm1._onClickNext), _hm1.arrowBottomButton.position.set(443, 667), _hm1.presetEditContainer = new _hlo.PresetEditContainer(_hm1._onClickSave, _hm1._onClickDelete, _hm1._onClickExtension), _hm1.presetEditContainer.position.set(168, 248), _hm1.presetTitle = new _hlp.PresetTitle(1), _hm1.presetTitle.position.set(162, 195), _hm1.presetTitle.showTxt2(), _hm1.longShipBannerContainer = new _hln.LongShipBannerContainer(), _hm1.longShipBannerContainer.position.set(720, 213), _hm1.arrowTopButton.initialize(_hm1._onClickPrev), _hm1.arrowBottomButton.initialize(_hm1._onClickNext), _hm1.addChild(_hm1.presetTitle), _hm1.addChild(_hm1.presetEditContainer), _hm1.addChild(_hm1.btnBack), _hm1.addChild(_hm1.longShipBannerContainer), _hm1.addChild(_hm1.arrowTopButton, _hm1.arrowBottomButton), _hm1; } return _hkw(_hly, _hlw), _hly.prototype.dispose = function() { var _hnq = null; if (this.removeChildren(), this.btnBack.dispose(), this.presetTitle.dispose(), this.longShipBannerContainer.dispose(), this.presetEditContainer.dispose(), this.arrowTopButton.dispose(), this.arrowBottomButton.dispose(), this.presets) { for (var _hnr = 0; _hnr < this.presets.length; _hnr++) this.presets[_hnr] = null; } this.clickBack = null, this.deckId = null, this.presetList = null, this.headIndex = null, this.presets = null, this.btnBack = null, this.presetTitle = null, this.longShipBannerContainer = null, this.presetEditContainer = null, this.arrowTopButton = null, this.arrowBottomButton = null, _hlu.WheelEventUtil.clear(); }, _hly.prototype.show = function(_hns, _hnt) { var _hnu = null; this.visible = !0, _hlu.WheelEventUtil.regist(this._onWheel.bind(this)), _hlf.default.view.portMain.playCraneAnimation(), this.deckId = _hns, this.presetList = _hnt; for (var _hnv = new Array(), _hnw = 0; _hnw < this.presetList.maxNum; _hnw++) { var _hnx = this.presetList.getPresetDeckData(_hnw + 1); _hnv.push(_hnx); } this.presetList.maxNum < _hll.OrganizeConst.EXTENDS_MAX && _hnv.push(null), this.arrowBottomButton.visible = !1, this.arrowTopButton.visible = !1, 0 + this.PAGE_NUM < _hnv.length && (this.arrowBottomButton.visible = !0, this.arrowTopButton.activate(), this.arrowBottomButton.activate()), this.presetTitle.showTxt2(), this.presets = _hnv, this.headIndex = 0, this.updateDeck(_hns); }, _hly.prototype.update = function(_hny) { var _hnz = null; this.updateDeck(_hny); }, _hly.prototype.hide = function() { var _ho0 = null; this.visible = !1, _hlu.WheelEventUtil.clear(); }, _hly.prototype.updateDeck = function(_ho1) { var _ho2 = null, _ho3 = _hlf.default.model.deck.get(_ho1), _ho4 = _ho3.getShipList(), _ho5 = null != _ho3.expedition; this.longShipBannerContainer.update(_ho4, _ho5); var _ho6 = this.presets.slice(this.headIndex, this.headIndex + this.PAGE_NUM), _ho7 = 0 < _ho3.getCount(), _ho8 = 0 < _hlf.default.model.useItem.get(this.OPEN_KEY_ITEMID).count; this.presetEditContainer.update(_ho6, _ho7, _ho5, _ho8), this.deckId = _ho1; }, _hly; }(PIXI.Container); _hks.PresetEditLayer = _hlv; var _hmv = (function() { var _ho9 = null; function _hoa(_hob) { var _hoc = null, _hod = this; this._onClickYES = function() { var _hoe = null; _hod.onComplete(!0); }, this._onClickNO = function() { var _hof = null; _hod.onComplete(!1); }, this.container = _hob, this.dialogBackground = new _hlh.AreaBox(_hlg.UISettings.DIALOG_BG_ALPHA), this.extensionPresetConfirm = new _hlm.ExtensionPresetConfirm(); } return _hoa.prototype.start = function(_hog) { var _hoh = null, _hoi = this; this.extensionPresetConfirm.onClickYES = this._onClickYES, this.extensionPresetConfirm.onClickNO = this._onClickNO, this.extensionPresetConfirm.position.set(218, 233), this.container.addChild(this.dialogBackground), this.container.addChild(this.extensionPresetConfirm), this.extensionPresetConfirm.visible = !1, this.dialogBackground.alpha = 0, _hlf.default.view.clickGuard = !0, createjs.Tween.get(this.dialogBackground).to({ 'alpha': 1 }, 250).call(function() { var _hoj = null; _hoi.extensionPresetConfirm.visible = !0, _hlf.default.view.clickGuard = !1; }), this.extensionPresetConfirm.update(_hog); }, _hoa.prototype.hide = function(_hok) { var _hol = null; this.extensionPresetConfirm.visible = !1, createjs.Tween.get(this.dialogBackground).to({ 'alpha': 0 }, 250).call(function() { _hok(); }); }, _hoa.prototype.dispose = function() { var _hom = null; this.extensionPresetConfirm.dispose(), this.container.removeChild(this.dialogBackground), this.container.removeChild(this.extensionPresetConfirm), this.onComplete = null, this.container = null, this.dialogBackground = null, this.extensionPresetConfirm = null; }, _hoa; }()); }, 77190: function(_hon, _hoo, _hop) { 'use strict'; var _hoq = null; var _hor, _hos = this && this.__extends || (_hor = function(_hot, _hou) { var _hov = null; return _hor = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_how, _hox) { var _hoy = null; _how.__proto__ = _hox; } || function(_hoz, _hp0) { var _hp1 = null; for (var _hp2 in _hp0) Object.prototype.hasOwnProperty.call(_hp0, _hp2) && (_hoz[_hp2] = _hp0[_hp2]); }, _hor(_hot, _hou); }, function(_hp3, _hp4) { var _hp5 = null; if ('function' != typeof _hp4 && null !== _hp4) throw new TypeError('Class extends value ' + String(_hp4) + ' is not a constructor or null'); function _hp6() { var _hp7 = null; this.constructor = _hp3; } _hor(_hp3, _hp4), _hp3.prototype = null === _hp4 ? Object.create(_hp4) : (_hp6.prototype = _hp4.prototype, new _hp6()); }); defineModule(_hoo); Object.defineProperty(_hoo, '__esModule', { 'value': !0 }), _hoo.PresetEditSlot = void 0; var _hp8 = _hop(35380), _hp9 = _hop(8744), _hpa = _hop(48205), _hpb = _hop(74623), _hpc = _hop(59825), _hpd = _hop(768), _hpe = function(_hpf) { var _hpg = null; function _hph(_hpi) { var _hpj = null, _hpk = _hpf.call(this) || this; _hpk._onMouseOut = function(_hpl) { var _hpm = null; _hpl.target != _hpk.saveButton && _hpl.target != _hpk.deleteButton && _hpk.removeFocus(); }, _hpk._onClickSave = function() { var _hpn = null; _hpk.onClickSave && _hpk.onClickSave(_hpk._presetId); }, _hpk._onClickDelete = function() { var _hpo = null; _hpk.onClickDelete && _hpk.onClickDelete(_hpk._presetId); }, _hpk._onClickExtension = function() { var _hpp = null; _hpk.onClickExtension && _hpk.onClickExtension(); }, _hpk._index = _hpi, _hpk.frame_bg = new PIXI.Sprite(_hpb.ORGANIZE_MAIN.getTexture(29)), _hpk.frame_bg.buttonMode = !1, _hpk.frame_bg.interactive = !0, _hpk.frame_bg.addListener(_hp8.EventType.MOUSEOVER, function() { var _hpq = null; _hpk._onMouseOver(); }), _hpk.frame_bg.addListener(_hp8.EventType.MOUSEOUT, function(_hpr) { var _hps = null; _hpk._onMouseOut(_hpr); }), _hpk.addChild(_hpk.frame_bg); var _hpt = _hpb.ORGANIZE_MAIN.getTexture(33); _hpk.presetFocuses = new PIXI.Sprite(_hpt), _hpk.presetFocuses.x = -6, _hpk.presetFocuses.y = -3, _hpk.presetFocuses.visible = !1, _hpk.addChild(_hpk.presetFocuses), _hpk.shipBanner = new PIXI.Sprite(), _hpk.shipBanner.position.set(307, 7), _hpk.deckName = new _hp9.TextBox(21, 5523516), _hpk.deckName.position.set(3, 4), _hpk.deckCount = new _hp9.TextBox(21, 5523516), _hpk.deckCount.position.set(1, 36), _hpk.addChild(_hpk.shipBanner), _hpk.addChild(_hpk.deckName), _hpk.addChild(_hpk.deckCount); var _hpu = _hpb.ORGANIZE_MAIN.getTexture(4), _hpv = _hpb.ORGANIZE_MAIN.getTexture(5), _hpw = _hpb.ORGANIZE_MAIN.getTexture(1); return _hpk.saveButton = new _hpd.SimpleButton(_hpu, _hpu), _hpk.deleteButton = new _hpd.SimpleButton(_hpw, _hpw), _hpk.offSaveButton = new PIXI.Sprite(_hpv), _hpk.deleteButton.interactive = _hpk.deleteButton.buttonMode = !0, _hpk.saveButton.interactive = _hpk.saveButton.buttonMode = !0, _hpk.deleteButton.position.set(490, 36), _hpk.saveButton.x = _hpk.offSaveButton.x = 250, _hpk.saveButton.y = _hpk.offSaveButton.y = 36, _hpk.saveButton.onClick = function() { var _hpx = null; _hpk._onClickSave(); }, _hpk.deleteButton.onClick = function() { var _hpy = null; _hpk._onClickDelete(); }, _hpk.saveButton.onMouseOver = function() { var _hpz = null; _hpk._onMouseOver(); }, _hpk.deleteButton.onMouseOver = function() { var _hq0 = null; _hpk._onMouseOver(); }, _hpk.saveButton.onMouseOut = function(_hq1) { var _hq2 = null; _hpk._onMouseOut(_hq1); }, _hpk.deleteButton.onMouseOut = function(_hq3) { var _hq4 = null; _hpk._onMouseOut(_hq3); }, _hpk.addChild(_hpk.offSaveButton, _hpk.saveButton, _hpk.deleteButton), _hpk.presetExtensions = new _hpc.PresetExtensionView(_hpi), _hpk.presetExtensions.onClick = _hpk._onClickExtension, _hpk.addChild(_hpk.presetExtensions), _hpk; } return _hos(_hph, _hpf), _hph.prototype.dispose = function() { var _hq5 = null; this.removeChildren(), this.presetExtensions.dispose(), this.deleteButton.dispose(), this.saveButton.dispose(), this.deckName.destroy(), this.deckCount.destroy(), this.onClickSave = null, this.onClickDelete = null, this.onClickExtension = null, this.frame_bg = null, this.shipBanner = null, this.deckName = null, this.deckCount = null, this.saveButton = null, this.deleteButton = null, this.offSaveButton = null, this.presetFocuses = null, this.presetExtensions = null, this._index = null, this._presetId = null; }, _hph.prototype._onMouseOver = function() { var _hq6 = null; this.focus(); }, _hph.prototype.focus = function() { var _hq7 = null; this.presetFocuses.visible = !0; }, _hph.prototype.removeFocus = function() { var _hq8 = null; this.presetFocuses.visible = !1; }, _hph.prototype.update = function(_hq9, _hqa, _hqb, _hqc, _hqd, _hqe) { var _hqf = null; void 0 === _hqd && (_hqd = null); var _hqg = _hq9, _hqh = null != _hqg; if (this.shipBanner.visible = !1, this.deckName.visible = !1, this.deckCount.visible = !1, this.saveButton.visible = !1, this.deleteButton.visible = !1, this.offSaveButton.visible = !1, this.presetExtensions.visible = !1, this.frame_bg.visible = !1, this.frame_bg.interactiveChildren = !1, !_hqh) return 0 == _hqe && (this.frame_bg.visible = !0, this.presetExtensions.update(_hqc), this.presetExtensions.visible = !0), !0; this.frame_bg.interactiveChildren = !0, this.frame_bg.visible = !0; var _hqi = 0 == _hqg.getShipCount(); return _hqi || (this.updateShip(_hqg), this.shipBanner.visible = !0, this.deckName.visible = !0, this.deckCount.visible = !0), this.updateButton(_hqg.presetID, _hqa, _hqb, _hqi, _hqd == _hqg.presetID), !1; }, _hph.prototype.updateShip = function(_hqj) { var _hqk = null; this.deckName.text = _hqj.deckName; var _hql = _hqj.getFrontShip(); new _hpa.TaskLoadShipResource('banner', this.shipBanner, _hql.mstID, _hql.isDamaged()).start(); var _hqm = _hqj.getShipCount(); this.deckCount.text = _hqm + '隻 編成'; }, _hph.prototype.updateButton = function(_hqn, _hqo, _hqp, _hqq, _hqr) { var _hqs = null; this.offSaveButton.visible = !1, this.saveButton.visible = !1, _hqo ? (this.offSaveButton.visible = _hqr && !_hqp, this.saveButton.visible = !_hqr && !_hqp) : (this.offSaveButton.visible = !0, this.saveButton.visible = !1), this.deleteButton.visible = !_hqq, this._presetId = _hqn; }, _hph; }(PIXI.Container); _hoo.PresetEditSlot = _hpe; }, 82049: function(_hqt, _hqu, _hqv) { 'use strict'; var _hqw = null; var _hqx, _hqy = this && this.__extends || (_hqx = function(_hqz, _hr0) { var _hr1 = null; return _hqx = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_hr2, _hr3) { var _hr4 = null; _hr2.__proto__ = _hr3; } || function(_hr5, _hr6) { var _hr7 = null; for (var _hr8 in _hr6) Object.prototype.hasOwnProperty.call(_hr6, _hr8) && (_hr5[_hr8] = _hr6[_hr8]); }, _hqx(_hqz, _hr0); }, function(_hr9, _hra) { var _hrb = null; if ('function' != typeof _hra && null !== _hra) throw new TypeError('Class extends value ' + String(_hra) + ' is not a constructor or null'); function _hrc() { var _hrd = null; this.constructor = _hr9; } _hqx(_hr9, _hra), _hr9.prototype = null === _hra ? Object.create(_hra) : (_hrc.prototype = _hra.prototype, new _hrc()); }), _hre = this && this.__importDefault || function(_hrf) { var _hrg = null; return _hrf && _hrf.__esModule ? _hrf : { 'default': _hrf }; }; defineModule(_hqu); Object.defineProperty(_hqu, '__esModule', { 'value': !0 }), _hqu.PresetExpansionContainer = void 0; var _hrh = _hre(_hqv(18622)), _hri = _hqv(64006), _hrj = _hqv(30843), _hrk = _hqv(72457), _hrl = _hqv(72457), _hrm = function(_hrn) { var _hro = null; function _hrp() { var _hrq = null, _hrr = _hrn.call(this) || this; _hrr.HEIGHT = 76, _hrr._onMouseOver = function(_hrs, _hrt) { var _hru = null, _hrv = _hrr.presetExpansionSlots[_hrs], _hrw = _hrt.target == _hrv.FrameBg, _hrx = _hrt.currentTarget == _hrv.FrameBg, _hry = _hrt.target == _hrv.ExpandButton, _hrz = _hrt.currentTarget == _hrv.ExpandButton, _hs0 = (_hrt.target, _hrr.alertLostPopup.background, _hrt.currentTarget == _hrr.alertLostPopup.background), _hs1 = (_hrt.target, _hrr.alertOrganizedPopup.background, _hrt.currentTarget == _hrr.alertOrganizedPopup.background), _hs2 = _hrw && _hrx, _hs3 = _hs0 && _hs1; if (_hry && _hrz) { if (_hrr.presetExpansionSlots[_hrs].focus(), _hs3) return; var _hs4 = _hrr.presetExpansionSlots[_hrs].PresetId, _hs5 = (_hs6 = _hrr.presetList.getPresetDeckData(_hs4)).getShipCount() > 6; if (_hrr.alertOrganizedPopup.visible = !1, _hrr.alertLostPopup.visible = !1, _hrr.previewBalloon.visible = !1, _hs6.hasLostShip()) _hrr.setAlertLostPopup(_hrs), _hrr.updateAlert(_hs6), _hrr.alertLostPopup.visible = !0; else { if (_hs6.hasOtherDeckShip(_hrr.memDeckId)) _hrr.setAlertOrganizedPopup(_hrs), _hrr.updateAlert(_hs6), _hrr.alertOrganizedPopup.visible = !0; else { var _hs7 = _hrs < 3 ? _hrl.Direction.Top : _hrl.Direction.Bottom; _hrr.setPreviewBalloon(_hs7, _hrs, _hs5), _hrr.previewBalloon.update(_hrr.memDeckId, _hs7, _hs6), _hrr.previewBalloon.visible = !0; } } } else { if (_hs2) { var _hs6; _hs4 = _hrr.presetExpansionSlots[_hrs].PresetId, _hs7 = _hrs < 3 ? _hrl.Direction.Top : _hrl.Direction.Bottom, _hs5 = (_hs6 = _hrr.presetList.getPresetDeckData(_hs4)).getShipCount() > 6, (_hrr.setPreviewBalloon(_hs7, _hrs, _hs5), _hrr.previewBalloon.update(_hrr.memDeckId, _hs7, _hs6), _hrr.previewBalloon.visible = !0, _hrr.presetExpansionSlots[_hrs].focus()); } } }, _hrr._onMouseOut = function(_hs8, _hs9) { var _hsa = null, _hsb = _hrr.presetExpansionSlots[_hs8], _hsc = _hs9.target == _hsb.FrameBg, _hsd = _hs9.currentTarget == _hsb.FrameBg, _hse = _hs9.target == _hsb.ExpandButton, _hsf = _hs9.currentTarget == _hsb.ExpandButton, _hsg = _hs9.target == _hrr.alertLostPopup.background, _hsh = _hs9.currentTarget == _hrr.alertLostPopup.background, _hsi = _hs9.target == _hrr.alertOrganizedPopup.background, _hsj = _hs9.currentTarget == _hrr.alertOrganizedPopup.background, _hsk = _hs9.target == _hrr.alertLostPopup.positiveButton, _hsl = _hs9.currentTarget == _hrr.alertLostPopup.positiveButton, _hsm = _hs9.target == _hrr.alertOrganizedPopup.positiveButton, _hsn = _hs9.currentTarget == _hrr.alertOrganizedPopup.positiveButton; if (_hsf) _hsc || _hsg || _hsi || _hsk || _hsm || (_hrr.previewBalloon.visible = !1, _hrr.alertLostPopup.visible = !1, _hrr.alertOrganizedPopup.visible = !1, _hsb.removeFocus()); else { if (_hsd) { if (_hse); else { var _hso = !0; if (_hrr.presetExpansionSlots.forEach(function(_hsp) { var _hsq = null; _hsp.IsOver && _hsp.PresetId != _hsb.PresetId && (_hso = !1); }), _hsb.removeFocus(), !_hso) return; _hrr.previewBalloon.visible = !1; } } else { if (_hsh || _hsj) { if (_hsg || _hsi || _hsk || _hsm || _hse) return; _hrr.previewBalloon.visible = !1, _hrr.alertLostPopup.visible = !1, _hrr.alertOrganizedPopup.visible = !1; for (var _hsr = 0; _hsr < _hrr.presetExpansionSlots.length; _hsr++) _hrr.presetExpansionSlots[_hsr].removeFocus(); } else { if (_hsl || _hsn) { if (_hsg || _hsi || _hsk || _hsm || _hse) return; _hrr.previewBalloon.visible = !1, _hrr.alertLostPopup.visible = !1, _hrr.alertOrganizedPopup.visible = !1; for (_hsr = 0; _hsr < _hrr.presetExpansionSlots.length; _hsr++) _hrr.presetExpansionSlots[_hsr].removeFocus(); } } } } }, _hrr._onClickExpand = function(_hss) { var _hst = null; _hrr.onClickExpand && _hrr.onClickExpand(_hss); }, _hrr.updateAlert = function(_hsu) { var _hsv = null, _hsw = _hsu.hasLostShip(), _hsx = _hsu.hasOtherDeckShip(_hrr.memDeckId), _hsy = 0 < _hsu.getShipsAfterExpanded(_hrr.memDeckId).length; if (_hsw) _hrr.alertLostPopup.update(_hsu.presetID, _hsy); else { if (_hsx) { var _hsz = _hsu.getFirstOtherDeckShip(_hrr.memDeckId), _ht0 = _hrh.default.model.deck.isInDeck(_hsz.memID), _ht1 = _hrh.default.model.deck.get(_ht0[0]), _ht2 = '「' + _hsz.name + '」が現在「第' + _ht1.mstID + '艦隊(' + _ht1.name + ')」に配備されています。'; _hrr.alertOrganizedPopup.update(_hsu.presetID, _ht2, _hsy); } } }, _hrr.presetExpansionSlots = []; for (var _ht3 = 0; _ht3 < 5; _ht3++) { var _ht4 = new _hrj.PresetExpansionSlot(_ht3); _ht4.position.y = _hrr.HEIGHT * _ht3, _ht4.onMouseOver = _hrr._onMouseOver, _ht4.onMouseOut = _hrr._onMouseOut, _ht4.onClickExpand = _hrr._onClickExpand, _hrr.presetExpansionSlots.push(_ht4); } for (_ht3 = 4; _ht3 >= 0; _ht3--) _hrr.addChild(_hrr.presetExpansionSlots[_ht3]); return _hrr.previewBalloon = new _hrk.PresetPreviewBalloon(), _hrr.previewBalloon.visible = !1, _hrr.addChild(_hrr.previewBalloon), _hrr.alertLostPopup = new _hri.PresetAlertLostPopup(0), _hrr.alertLostPopup.visible = !1, _hrr.alertLostPopup.onClick = _hrr._onClickExpand, _hrr.alertLostPopup.onMouseOut = _hrr._onMouseOut, _hrr.alertLostPopup.onMouseOver = _hrr._onMouseOver, _hrh.default.view.overLayer.addChild(_hrr.alertLostPopup), _hrr.alertOrganizedPopup = new _hri.PresetAlertOrganizedPopup(0), _hrr.alertOrganizedPopup.visible = !1, _hrr.alertOrganizedPopup.onClick = _hrr._onClickExpand, _hrr.alertOrganizedPopup.onMouseOut = _hrr._onMouseOut, _hrh.default.view.overLayer.addChild(_hrr.alertOrganizedPopup), _hrr; } return _hqy(_hrp, _hrn), _hrp.prototype.dispose = function() { var _ht5 = null; _hrh.default.view.overLayer.removeChild(this.alertOrganizedPopup), _hrh.default.view.overLayer.removeChild(this.alertLostPopup); for (var _ht6 = 0; _ht6 < 5; _ht6++) this.presetExpansionSlots[_ht6].dispose(), this.presetExpansionSlots[_ht6] = null; this.previewBalloon.dispose(), this.alertOrganizedPopup.dispose(), this.alertLostPopup.dispose(), this.presetExpansionSlots = null, this.previewBalloon = null, this.onClickExpand = null, this.memDeckId = null, this.presetList = null, this.alertOrganizedPopup = null, this.alertLostPopup = null, this.removeChildren(); }, _hrp.prototype.hideAlerts = function() { var _ht7 = null; this.previewBalloon.visible = !1, this.alertLostPopup.visible = !1, this.alertOrganizedPopup.visible = !1; }, _hrp.prototype.hideAllPopupAndFocus = function() { var _ht8 = null; this.presetExpansionSlots.forEach(function(_ht9) { var _hta = null; _ht9.hideFocus(); }), this.previewBalloon.visible = !1, this.alertOrganizedPopup.visible = !1, this.alertLostPopup.visible = !1; }, _hrp.prototype.update = function(_htb, _htc, _htd, _hte, _htf) { var _htg = null; for (var _hth = 0; _hth < 5; _hth++) { var _hti = _htd[_hth]; this.presetExpansionSlots[_hth].update(_htb, _htc, _hti, _hte, _htf); } this.presetList = _htc, this.memDeckId = _htb; }, _hrp.prototype.setPreviewBalloon = function(_htj, _htk, _htl) { var _htm = null; switch (_htj) { case _hrl.Direction.Top: this.previewBalloon.x = this.presetExpansionSlots[_htk].FrameBg.x + this.presetExpansionSlots[_htk].ExpandButton.x - 165, this.previewBalloon.y = this.presetExpansionSlots[_htk].FrameBg.y + this.presetExpansionSlots[_htk].ExpandButton.y + 31; break; case _hrl.Direction.Bottom: this.previewBalloon.x = this.presetExpansionSlots[_htk].FrameBg.x + this.presetExpansionSlots[_htk].ExpandButton.x - 165, this.previewBalloon.y = this.presetExpansionSlots[_htk].FrameBg.y + this.presetExpansionSlots[_htk].ExpandButton.y - (_htl ? 196 : 150); } this.previewBalloon.y += this.HEIGHT * _htk; }, _hrp.prototype.setAlertLostPopup = function(_htn) { var _hto = null; this.alertLostPopup.x = 168 + this.presetExpansionSlots[_htn].FrameBg.x + 117, this.alertLostPopup.y = 247 + this.presetExpansionSlots[_htn].FrameBg.y + 60 + this.HEIGHT * _htn; }, _hrp.prototype.setAlertOrganizedPopup = function(_htp) { var _htq = null; this.alertOrganizedPopup.x = 168 + this.presetExpansionSlots[_htp].FrameBg.x, this.alertOrganizedPopup.y = 247 + this.presetExpansionSlots[_htp].FrameBg.y + 60 + this.HEIGHT * _htp; }, _hrp; }(PIXI.Container); _hqu.PresetExpansionContainer = _hrm; }, 60029: function(_htr, _hts, _htt) { 'use strict'; var _htu = null; var _htv, _htw = this && this.__extends || (_htv = function(_htx, _hty) { var _htz = null; return _htv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_hu0, _hu1) { var _hu2 = null; _hu0.__proto__ = _hu1; } || function(_hu3, _hu4) { var _hu5 = null; for (var _hu6 in _hu4) Object.prototype.hasOwnProperty.call(_hu4, _hu6) && (_hu3[_hu6] = _hu4[_hu6]); }, _htv(_htx, _hty); }, function(_hu7, _hu8) { var _hu9 = null; if ('function' != typeof _hu8 && null !== _hu8) throw new TypeError('Class extends value ' + String(_hu8) + ' is not a constructor or null'); function _hua() { var _hub = null; this.constructor = _hu7; } _htv(_hu7, _hu8), _hu7.prototype = null === _hu8 ? Object.create(_hu8) : (_hua.prototype = _hu8.prototype, new _hua()); }), _huc = this && this.__importDefault || function(_hud) { var _hue = null; return _hud && _hud.__esModule ? _hud : { 'default': _hud }; }; defineModule(_hts); Object.defineProperty(_hts, '__esModule', { 'value': !0 }), _hts.PresetExpansionLayer = void 0; var _huf = _huc(_htt(18622)), _hug = _htt(90054), _huh = _htt(35837), _hui = _htt(82049), _huj = _htt(768), _huk = _htt(34924), _hul = _htt(68249), _hum = _htt(70270), _hun = _htt(16677), _huo = function(_hup) { var _huq = null; function _hur(_hus, _hut) { var _huu = null, _huv = _hup.call(this) || this; _huv.PAGE_NUM = 5, _huv.headIndex = 0, _huv._onClickBack = function() { var _huw = null; _huv.hide(), _huv.clickBack && _huv.clickBack(); }, _huv._onClickExpand = function(_hux) { var _huy = null; _huv.clickExpand && _huv.clickExpand(_hux); }, _huv._onClickDelete = function(_huz) { var _hv0 = null, _hv1 = new _hum.PresetDeleteAPI(_huz); _huf.default.view.clickGuard = !0, _hv1.start(function() { var _hv2 = null, _hv3 = new Array(), _hv4 = _huf.default.model.deck.get(_huv.deckId), _hv5 = (_hv4.getShipList(), null != _hv4.expedition), _hv6 = (_hv4.getShipMemIDList(), 0 < _hv4.getCount()); _huv.presetList.__deletePresetDeckData__(_huz); for (var _hv7 = 0; _hv7 < _huv.presetList.maxNum; _hv7++) { var _hv8 = _huv.presetList.getPresetDeckData(_hv7 + 1); 0 < _hv8.getRealShipCount() && _hv3.push(_hv8); } var _hv9 = _hv3.slice(_huv.headIndex, _huv.headIndex + _huv.PAGE_NUM); _huv.presetExpansionContainer.update(_huv.deckId, _huv.presetList, _hv9, _hv6, _hv5), _huf.default.view.clickGuard = !1, _huv.presets = _hv3; }); }, _huv._onClickNext = function() { var _hva = null; _huv.arrowBottomButton.visible = !1; var _hvb = _huv.headIndex + 1; _huv.presets.length < _hvb + _huv.PAGE_NUM && (_hvb = _huv.presets.length - _huv.PAGE_NUM), _huv.arrowBottomButton.visible = !1, _huv.arrowTopButton.visible = !1, _hvb + _huv.PAGE_NUM < _huv.presets.length && (_huv.arrowBottomButton.visible = !0), _huv.presetTitle.showTxt2(), 0 < _hvb && (_huv.presetTitle.hideTxt2(), _huv.arrowTopButton.visible = !0); var _hvc = _huv.presets.slice(_hvb, _hvb + _huv.PAGE_NUM), _hvd = _huf.default.model.deck.get(_huv.deckId), _hve = (_hvd.getShipList(), null != _hvd.expedition), _hvf = (_hvd.getShipMemIDList(), 0 < _hvd.getCount()); _huv.presetExpansionContainer.update(_huv.deckId, _huv.presetList, _hvc, _hvf, _hve), _huv.headIndex = _hvb; }, _huv._onClickPrev = function() { var _hvg = null, _hvh = _huv.headIndex - 1, _hvi = _huv.presets.slice(_hvh, _hvh + _huv.PAGE_NUM), _hvj = _huf.default.model.deck.get(_huv.deckId), _hvk = (_hvj.getShipList(), null != _hvj.expedition), _hvl = (_hvj.getShipMemIDList(), 0 < _hvj.getCount()); _hvh < 0 && (_hvh = 0), _huv.arrowBottomButton.visible = !1, _hvh + _huv.PAGE_NUM < _huv.presets.length && (_huv.arrowBottomButton.visible = !0), _huv.presetTitle.showTxt2(), _huv.arrowTopButton.visible = !1, 0 < _hvh && (_huv.arrowTopButton.visible = !0, _huv.presetTitle.hideTxt2()), _huv.presetExpansionContainer.update(_huv.deckId, _huv.presetList, _hvi, _hvl, _hvk), _huv.headIndex = _hvh; }, _huv._onWheel = function(_hvm) { var _hvn = null; 0 != _hvm.delta && (_hvm.delta > 0 ? _huv.headIndex + _huv.PAGE_NUM < _huv.presets.length && (_hvm.enabledGuard(), _huv.presetExpansionContainer.hideAlerts(), _huv._onClickNext()) : _huv.headIndex > 0 && (_hvm.enabledGuard(), _huv.presetExpansionContainer.hideAlerts(), _huv._onClickPrev())); }, _huv.clickBack = _hus, _huv.clickExpand = _hut, _huv.presetTitle = new _huk.PresetTitle(2), _huv.presetTitle.position.set(162, 195), _huv.presetTitle.showTxt2(), _huv.longShipBannerContainer = new _hul.LongShipBannerContainer(), _huv.longShipBannerContainer.position.set(720, 213); var _hvo = _hug.COMMON_MAIN.getTexture(5); return _huv.btnBack = new _huj.SimpleButton(_hvo, _hvo), _huv.btnBack.position.set(173, 638), _huv.btnBack.onClick = _huv._onClickBack, _huv.arrowTopButton = new _huh.ArrowButton(), _huv.arrowTopButton.initialize(_huv._onClickPrev), _huv.arrowTopButton.position.set(446, 217), _huv.arrowBottomButton = new _huh.ArrowButton(!0), _huv.arrowBottomButton.initialize(_huv._onClickNext), _huv.arrowBottomButton.position.set(443, 667), _huv.presetExpansionContainer = new _hui.PresetExpansionContainer(), _huv.presetExpansionContainer.position.set(168, 248), _huv.presetExpansionContainer.onClickExpand = _huv._onClickExpand, _huv.addChild(_huv.presetTitle), _huv.addChild(_huv.btnBack), _huv.addChild(_huv.presetExpansionContainer), _huv.addChild(_huv.longShipBannerContainer), _huv.addChild(_huv.arrowTopButton, _huv.arrowBottomButton), _huv; } return _htw(_hur, _hup), _hur.prototype.dispose = function() { var _hvp = null; if (this.removeChildren(), this.presetTitle.dispose(), this.presetExpansionContainer.hideAllPopupAndFocus(), this.presetExpansionContainer.dispose(), this.btnBack.dispose(), this.arrowTopButton.dispose(), this.arrowBottomButton.dispose(), this.longShipBannerContainer.dispose(), this.presets) { for (var _hvq = 0; _hvq < this.presets.length; _hvq++) this.presets[_hvq] = null; } this.clickBack = null, this.clickExpand = null, this.presetTitle = null, this.deckId = null, this.headIndex = null, this.presetList = null, this.presets = null, this.presetExpansionContainer = null, this.btnBack = null, this.arrowTopButton = null, this.arrowBottomButton = null, this.longShipBannerContainer = null, _hun.WheelEventUtil.clear(); }, _hur.prototype.show = function(_hvr, _hvs) { var _hvt = null; this.visible = !0, _huf.default.view.portMain.playCraneAnimation(), _hun.WheelEventUtil.regist(this._onWheel.bind(this)), this.deckId = _hvr, this.presetList = _hvs, this.arrowTopButton.activate(), this.arrowBottomButton.activate(), _huf.default.model.deck.get(_hvr); for (var _hvu = new Array(), _hvv = 0; _hvv < this.presetList.maxNum; _hvv++) { var _hvw = this.presetList.getPresetDeckData(_hvv + 1); 0 < _hvw.getRealShipCount() && _hvu.push(_hvw); } this.arrowBottomButton.visible = !1, this.arrowTopButton.visible = !1, 0 + this.PAGE_NUM < _hvu.length && (this.arrowBottomButton.visible = !0), this.presets = _hvu, this.headIndex = 0, this.presetTitle.showTxt2(), this.updateDeck(_hvr); }, _hur.prototype.update = function(_hvx) { var _hvy = null; this.changeDeck(_hvx); }, _hur.prototype.hide = function() { var _hvz = null; this.presetExpansionContainer.hideAllPopupAndFocus(), this.visible = !1, _hun.WheelEventUtil.clear(); }, _hur.prototype.changeDeck = function(_hw0) { var _hw1 = null; this.updateDeck(_hw0); }, _hur.prototype.updateDeck = function(_hw2) { var _hw3 = null, _hw4 = _huf.default.model.deck.get(_hw2), _hw5 = _hw4.getShipList(), _hw6 = null != _hw4.expedition, _hw7 = this.presets.slice(this.headIndex, this.headIndex + this.PAGE_NUM), _hw8 = 0 < _hw4.getCount(); this.longShipBannerContainer.update(_hw5, _hw6), this.presetExpansionContainer.update(_hw2, this.presetList, _hw7, _hw8, _hw6), this.deckId = _hw2; }, _hur; }(PIXI.Container); _hts.PresetExpansionLayer = _huo; }, 30843: function(_hw9, _hwa, _hwb) { 'use strict'; var _hwc = null; var _hwd, _hwe = this && this.__extends || (_hwd = function(_hwf, _hwg) { var _hwh = null; return _hwd = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_hwi, _hwj) { var _hwk = null; _hwi.__proto__ = _hwj; } || function(_hwl, _hwm) { var _hwn = null; for (var _hwo in _hwm) Object.prototype.hasOwnProperty.call(_hwm, _hwo) && (_hwl[_hwo] = _hwm[_hwo]); }, _hwd(_hwf, _hwg); }, function(_hwp, _hwq) { var _hwr = null; if ('function' != typeof _hwq && null !== _hwq) throw new TypeError('Class extends value ' + String(_hwq) + ' is not a constructor or null'); function _hws() { var _hwt = null; this.constructor = _hwp; } _hwd(_hwp, _hwq), _hwp.prototype = null === _hwq ? Object.create(_hwq) : (_hws.prototype = _hwq.prototype, new _hws()); }), _hwu = this && this.__importDefault || function(_hwv) { var _hww = null; return _hwv && _hwv.__esModule ? _hwv : { 'default': _hwv }; }; defineModule(_hwa); Object.defineProperty(_hwa, '__esModule', { 'value': !0 }), _hwa.PresetExpansionSlot = void 0; var _hwx = _hwu(_hwb(18622)), _hwy = _hwb(35380), _hwz = _hwb(8744), _hx0 = _hwb(48205), _hx1 = _hwb(74623), _hx2 = function(_hx3) { var _hx4 = null; function _hx5(_hx6) { var _hx7 = null, _hx8 = _hx3.call(this) || this; _hx8.HEIGHT = 76, _hx8.problem = !1, _hx8.isOver = !1, _hx8.isDown = !1, _hx8._onMouseOver = function(_hx9) { var _hxa = null; _hx8.isOver = !0, _hx8.onMouseOver && _hx8.onMouseOver(_hx8.index, _hx9); }, _hx8._onMouseOut = function(_hxb) { var _hxc = null; _hx8.isOver = !1, _hx8.onMouseOut && _hx8.onMouseOut(_hx8.index, _hxb); }, _hx8._onMouseDown = function(_hxd) { var _hxe = null; _hx8.isOver || _hx8.isDown || (_hx8.isDown = !0, _hx8.onMouseOver && _hx8.onMouseOver(_hx8.index, _hxd)); }, _hx8._onMouseUp = function(_hxf) { var _hxg = null; !_hx8.isOver && _hx8.isDown && (_hx8.isDown = !1, _hx8.onMouseOut && _hx8.onMouseOut(_hx8.index, _hxf)); }, _hx8._onBgMouseMove = function(_hxh) { var _hxi = null; if (!_hx8.isOver && _hx8.isDown) { var _hxj = _hxh.data.getLocalPosition(_hx8.parent), _hxk = new PIXI.Point(_hx8.frame_bg.x, _hx8.frame_bg.y), _hxl = new PIXI.Point(_hx8.frame_bg.x + _hx8.frame_bg.width, _hx8.frame_bg.y + _hx8.frame_bg.height); _hxj.x >= _hxk.x && _hxj.x <= _hxl.x && _hxj.y >= _hxk.y && _hxj.y <= _hxl.y || (_hx8.isDown = !1, _hx8.onMouseOut && _hx8.onMouseOut(_hx8.index, _hxh)); } }, _hx8._onBtnMouseMove = function(_hxm) { var _hxn = null; if (!_hx8.isOver && _hx8.isDown) { var _hxo = _hxm.data.getLocalPosition(_hx8.parent), _hxp = new PIXI.Point(_hx8.expandButton.x, _hx8.expandButton.y), _hxq = new PIXI.Point(_hx8.expandButton.x + _hx8.expandButton.width, _hx8.expandButton.y + _hx8.expandButton.height); _hxo.x >= _hxp.x && _hxo.x <= _hxq.x && _hxo.y >= _hxp.y && _hxo.y <= _hxq.y || (_hx8.isDown = !1, _hx8.onMouseOut && _hx8.onMouseOut(_hx8.index, _hxm)); } }, _hx8._onClickExpand = function() { var _hxr = null; 0 == _hx8.problem && _hx8.onClickExpand(_hx8.presetId); }, _hx8.index = _hx6, _hx8.frame_bg = new PIXI.Sprite(_hx1.ORGANIZE_MAIN.getTexture(29)), _hx8.frame_bg.buttonMode = !1, _hx8.frame_bg.interactive = !0, _hx8.frame_bg.addListener(_hwy.EventType.MOUSEOUT, _hx8._onMouseOut), _hx8.frame_bg.addListener(_hwy.EventType.MOUSEOVER, _hx8._onMouseOver), _hx8.frame_bg.addListener(_hwy.EventType.MOUSEDOWN, _hx8._onMouseDown), _hx8.frame_bg.addListener(_hwy.EventType.MOUSEUP, _hx8._onMouseUp), _hx8.frame_bg.addListener(_hwy.EventType.MOUSEMOVE, _hx8._onBgMouseMove), _hx8.addChild(_hx8.frame_bg); var _hxs = _hx1.ORGANIZE_MAIN.getTexture(33); return _hx8.presetFocuse = new PIXI.Sprite(_hxs), _hx8.presetFocuse.visible = !1, _hx8.presetFocuse.x = -6, _hx8.presetFocuse.y = -3, _hx8.addChild(_hx8.presetFocuse), _hx8.shipBanner = new PIXI.Sprite(), _hx8.shipBanner.position.set(307, 7), _hx8.deckName = new _hwz.TextBox(21, 5523516), _hx8.deckName.position.set(3, 4), _hx8.deckCount = new _hwz.TextBox(21, 5523516), _hx8.deckCount.position.set(1, 36), _hx8.addChild(_hx8.shipBanner), _hx8.addChild(_hx8.deckName), _hx8.addChild(_hx8.deckCount), _hx8.textureMouseOver = _hx1.ORGANIZE_MAIN.getTexture(3), _hx8.textureMouseOut = _hx1.ORGANIZE_MAIN.getTexture(2), _hx8.expandButton = new PIXI.Sprite(_hx8.textureMouseOut), _hx8.expandButton.interactive = _hx8.expandButton.buttonMode = !0, _hx8.expandButton.position.set(250, 36), _hx8.expandButton.addListener(_hwy.EventType.CLICK, _hx8._onClickExpand), _hx8.expandButton.addListener(_hwy.EventType.MOUSEOUT, _hx8._onMouseOut), _hx8.expandButton.addListener(_hwy.EventType.MOUSEOVER, _hx8._onMouseOver), _hx8.expandButton.addListener(_hwy.EventType.MOUSEDOWN, _hx8._onMouseDown), _hx8.expandButton.addListener(_hwy.EventType.MOUSEUP, _hx8._onMouseUp), _hx8.expandButton.addListener(_hwy.EventType.MOUSEMOVE, _hx8._onBtnMouseMove), _hx8.addChild(_hx8.expandButton), _hx8; } return _hwe(_hx5, _hx3), Object.defineProperty(_hx5.prototype, 'PresetId', { 'get': function() { var _hxt = null; return this.presetId; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_hx5.prototype, 'IsOver', { 'get': function() { var _hxu = null; return this.isOver; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_hx5.prototype, 'FrameBg', { 'get': function() { var _hxv = null; return this.frame_bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_hx5.prototype, 'ExpandButton', { 'get': function() { var _hxw = null; return this.expandButton; }, 'enumerable': !1, 'configurable': !0 }), _hx5.prototype.dispose = function() { var _hxx = null; this.removeChildren(), this.deckName.destroy(), this.deckCount.destroy(), this.onMouseOver = null, this.onMouseOut = null, this.onClickExpand = null, this.frame_bg = null, this.shipBanner = null, this.deckName = null, this.deckCount = null, this.presetFocuse = null, this.textureMouseOver = null, this.textureMouseOut = null, this.expandButton = null, this.index = null, this.presetId = null, this.problem = null, this.isOver = null; }, _hx5.prototype.focus = function() { var _hxy = null; this.expandButton.texture = this.problem ? this.textureMouseOver : this.textureMouseOut, this.presetFocuse.visible = !0; }, _hx5.prototype.removeFocus = function() { var _hxz = null; this.expandButton.texture = this.textureMouseOut, this.presetFocuse.visible = !1; }, _hx5.prototype.hideFocus = function() { var _hy0 = null; this.expandButton.texture = this.textureMouseOut, this.presetFocuse.visible = !1; }, _hx5.prototype.update = function(_hy1, _hy2, _hy3, _hy4, _hy5) { var _hy6 = null, _hy7 = null != _hy3; this.shipBanner.visible = !1, this.deckName.visible = !1, this.deckCount.visible = !1, this.expandButton.visible = !1, this.frame_bg.visible = !1; var _hy8 = !1; if (_hy7) { this.presetId = _hy3.presetID, this.frame_bg.visible = !0; var _hy9 = 0 == _hy3.getShipCount(), _hya = _hy3.hasLostShip(), _hyb = _hy3.hasOtherDeckShip(_hy1); !_hy9 && (_hy3.getShipsAfterExpanded(_hy1).length, ((_hya || _hyb) && (_hy8 = !0), this.updateShip(_hy3), this.shipBanner.visible = !0, this.deckName.visible = !0, this.deckCount.visible = !0)); var _hyc = 0 < _hy3.getShipCount(); this.updateButton(_hy3.presetID, _hy4, _hy5, _hyc, _hy8); var _hyd = _hwx.default.model.deck.get(_hy1); this.expandButton.visible = !_hyd.expedition; } }, _hx5.prototype.updateShip = function(_hye) { var _hyf = null; this.deckName.text = _hye.deckName; var _hyg = _hye.getFrontShip(); new _hx0.TaskLoadShipResource('banner', this.shipBanner, _hyg.mstID, _hyg.isDamaged()).start(); var _hyh = _hye.getShipCount(); this.deckCount.text = _hyh + '隻 編成'; }, _hx5.prototype.updateButton = function(_hyi, _hyj, _hyk, _hyl, _hym) { var _hyn = null; this.expandButton.visible = !1, this.expandButton.visible = !_hyj || !_hyk, this.presetId = _hyi, this.problem = _hym; }, _hx5; }(PIXI.Container); _hwa.PresetExpansionSlot = _hx2; }, 59825: function(_hyo, _hyp, _hyq) { 'use strict'; var _hyr = null; var _hys, _hyt = this && this.__extends || (_hys = function(_hyu, _hyv) { var _hyw = null; return _hys = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_hyx, _hyy) { var _hyz = null; _hyx.__proto__ = _hyy; } || function(_hz0, _hz1) { var _hz2 = null; for (var _hz3 in _hz1) Object.prototype.hasOwnProperty.call(_hz1, _hz3) && (_hz0[_hz3] = _hz1[_hz3]); }, _hys(_hyu, _hyv); }, function(_hz4, _hz5) { var _hz6 = null; if ('function' != typeof _hz5 && null !== _hz5) throw new TypeError('Class extends value ' + String(_hz5) + ' is not a constructor or null'); function _hz7() { var _hz8 = null; this.constructor = _hz4; } _hys(_hz4, _hz5), _hz4.prototype = null === _hz5 ? Object.create(_hz5) : (_hz7.prototype = _hz5.prototype, new _hz7()); }), _hz9 = this && this.__createBinding || (Object.create ? function(_hza, _hzb, _hzc, _hzd) { var _hze = null; void 0 === _hzd && (_hzd = _hzc); var _hzf = Object.getOwnPropertyDescriptor(_hzb, _hzc); _hzf && !('get' in _hzf ? !_hzb.__esModule : _hzf.writable || _hzf.configurable) || (_hzf = { 'enumerable': !0, 'get': function() { return _hzb[_hzc]; } }), Object.defineProperty(_hza, _hzd, _hzf); } : function(_hzg, _hzh, _hzi, _hzj) { void 0 === _hzj && (_hzj = _hzi), _hzg[_hzj] = _hzh[_hzi]; }), _hzk = this && this.__setModuleDefault || (Object.create ? function(_hzl, _hzm) { var _hzn = null; Object.defineProperty(_hzl, 'default', { 'enumerable': !0, 'value': _hzm }); } : function(_hzo, _hzp) { var _hzq = null; _hzo.default = _hzp; }), _hzr = this && this.__importStar || function(_hzs) { var _hzt = null; if (_hzs && _hzs.__esModule) return _hzs; var _hzu = {}; if (null != _hzs) { for (var _hzv in _hzs) 'default' !== _hzv && Object.prototype.hasOwnProperty.call(_hzs, _hzv) && _hz9(_hzu, _hzs, _hzv); } return _hzk(_hzu, _hzs), _hzu; }; defineModule(_hyp); Object.defineProperty(_hyp, '__esModule', { 'value': !0 }), _hyp.PresetExtensionView = void 0; var _hzw = _hzr(_hyq(31000)), _hzx = _hyq(35380), _hzy = function(_hzz) { var _i00 = null; function _i01(_i02) { var _i03 = null, _i04 = _hzz.call(this) || this; _i04._onMouseOut = function() { var _i05 = null; _i04.hukidashi.visible = !1; }, _i04._onMouseOver = function() { var _i06 = null; _i04.hukidashi.visible = !0; }, _i04._onClick = function() { var _i07 = null; _i04.onClick(); }, _i04.index = _i02, _i04.buttonOpen = new PIXI.Sprite(), _i04.offButtonOpen = new PIXI.Sprite(), _i04.hukidashi = new PIXI.Sprite(); var _i08 = _hzw.ORGANIZE_MAIN.getTexture(21), _i09 = _hzw.ORGANIZE_MAIN.getTexture(22), _i0a = _hzw.ORGANIZE_MAIN.getTexture(42); return _i04.buttonOpen.texture = _i08, _i04.offButtonOpen.texture = _i09, _i04.hukidashi.texture = _i0a, _i04.buttonOpen.interactive = !0, _i04.buttonOpen.buttonMode = !0, _i04.buttonOpen.position.set(412, 24), _i04.offButtonOpen.position.set(412, 24), _i04.hukidashi.position.set(9, 16), _i04.offButtonOpen.interactive = !0, _i04.buttonOpen.addListener(_hzx.EventType.CLICK, _i04._onClick), _i04.offButtonOpen.addListener(_hzx.EventType.MOUSEOUT, _i04._onMouseOut), _i04.offButtonOpen.addListener(_hzx.EventType.MOUSEOVER, _i04._onMouseOver), _i04.buttonOpen.visible = !1, _i04.offButtonOpen.visible = !1, _i04.hukidashi.visible = !1, _i04.addChild(_i04.offButtonOpen, _i04.buttonOpen, _i04.hukidashi), _i04; } return _hyt(_i01, _hzz), _i01.prototype.update = function(_i0b) { var _i0c = null; this.buttonOpen.visible = !1, this.offButtonOpen.visible = !1, this.hukidashi.visible = !1, _i0b ? this.buttonOpen.visible = !0 : this.offButtonOpen.visible = !0; }, _i01.prototype.dispose = function() { var _i0d = null; this.buttonOpen.removeAllListeners(_hzx.EventType.CLICK), this.offButtonOpen.removeAllListeners(_hzx.EventType.MOUSEOUT), this.offButtonOpen.removeAllListeners(_hzx.EventType.MOUSEOVER), this._onMouseOut = this._onClick = this._onMouseOver = null, this.onClick = null, this.buttonOpen = null, this.offButtonOpen = null, this.hukidashi = null, this.index = null, this.removeChildren(); }, _i01; }(PIXI.Container); _hyp.PresetExtensionView = _hzy; }, 72457: function(_i0e, _i0f, _i0g) { 'use strict'; var _i0h = null; var _i0i, _i0j = this && this.__extends || (_i0i = function(_i0k, _i0l) { var _i0m = null; return _i0i = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_i0n, _i0o) { var _i0p = null; _i0n.__proto__ = _i0o; } || function(_i0q, _i0r) { var _i0s = null; for (var _i0t in _i0r) Object.prototype.hasOwnProperty.call(_i0r, _i0t) && (_i0q[_i0t] = _i0r[_i0t]); }, _i0i(_i0k, _i0l); }, function(_i0u, _i0v) { var _i0w = null; if ('function' != typeof _i0v && null !== _i0v) throw new TypeError('Class extends value ' + String(_i0v) + ' is not a constructor or null'); function _i0x() { var _i0y = null; this.constructor = _i0u; } _i0i(_i0u, _i0v), _i0u.prototype = null === _i0v ? Object.create(_i0v) : (_i0x.prototype = _i0v.prototype, new _i0x()); }), _i0z = this && this.__createBinding || (Object.create ? function(_i10, _i11, _i12, _i13) { var _i14 = null; void 0 === _i13 && (_i13 = _i12); var _i15 = Object.getOwnPropertyDescriptor(_i11, _i12); _i15 && !('get' in _i15 ? !_i11.__esModule : _i15.writable || _i15.configurable) || (_i15 = { 'enumerable': !0, 'get': function() { return _i11[_i12]; } }), Object.defineProperty(_i10, _i13, _i15); } : function(_i16, _i17, _i18, _i19) { void 0 === _i19 && (_i19 = _i18), _i16[_i19] = _i17[_i18]; }), _i1a = this && this.__setModuleDefault || (Object.create ? function(_i1b, _i1c) { var _i1d = null; Object.defineProperty(_i1b, 'default', { 'enumerable': !0, 'value': _i1c }); } : function(_i1e, _i1f) { var _i1g = null; _i1e.default = _i1f; }), _i1h = this && this.__importStar || function(_i1i) { var _i1j = null; if (_i1i && _i1i.__esModule) return _i1i; var _i1k = {}; if (null != _i1i) { for (var _i1l in _i1i) 'default' !== _i1l && Object.prototype.hasOwnProperty.call(_i1i, _i1l) && _i0z(_i1k, _i1i, _i1l); } return _i1a(_i1k, _i1i), _i1k; }, _i1m = this && this.__importDefault || function(_i1n) { var _i1o = null; return _i1n && _i1n.__esModule ? _i1n : { 'default': _i1n }; }; defineModule(_i0f); Object.defineProperty(_i0f, '__esModule', { 'value': !0 }), _i0f.PresetPreviewBalloon = _i0f.Direction = void 0; var _i1p, _i1q = _i1m(_i0g(18622)), _i1r = _i1h(_i0g(31000)), _i1s = _i0g(8744); ! function(_i1t) { var _i1u = null; _i1t[_i1t.Top = 0] = 'Top', _i1t[_i1t.Bottom = 1] = 'Bottom'; }(_i1p || (_i0f.Direction = _i1p = {})); var _i1v = function(_i1w) { var _i1x = null; function _i1y() { var _i1z = null, _i20 = _i1w.call(this) || this; _i20.balloon = new PIXI.Sprite(), _i20.shipInfos = new Array(); var _i21 = new _i22(), _i23 = new _i22(), _i24 = new _i22(), _i25 = new _i22(), _i26 = new _i22(), _i27 = new _i22(), _i28 = new _i22(); _i20.container = new PIXI.Container(), _i20.shipInfos.push(_i21, _i23, _i24, _i25, _i26, _i27, _i28); for (var _i29 = 0; _i29 < _i20.shipInfos.length; _i29++) { var _i2a = _i20.shipInfos[_i29]; _i20.container.addChild(_i2a); } return _i20.addChild(_i20.balloon, _i20.container), _i20; } return _i0j(_i1y, _i1w), _i1y.prototype.dispose = function() { var _i2b = null; for (var _i2c = 0; _i2c < this.shipInfos.length; _i2c++) this.shipInfos[_i2c].dispose(), this.shipInfos[_i2c] = null; this.shipInfos = null, this.balloon = null, this.container = null, this.removeChildren(); }, _i1y.prototype.update = function(_i2d, _i2e, _i2f) { var _i2g = null, _i2h = _i2f.getShipCount(), _i2i = _i2h > 6, _i2j = _i2i ? 7 : 6; this.shipInfos.forEach(function(_i2k) { var _i2l = null; return _i2k.visible = !1; }); for (var _i2m = 0; _i2m < _i2j; _i2m++) { var _i2n = this.shipInfos[_i2m], _i2o = _i2m % 2 == 0 ? 0 : 190, _i2p = Math.floor(_i2m / 2) * (_i2i ? 45 : 43); if (_i2n.position.set(_i2o, _i2p), _i2n.visible = !0, _i2m < _i2h) { if (_i2f.isLostShip(_i2m)) _i2n.updateLost(); else { var _i2q = _i2f.ships[_i2m], _i2r = _i1q.default.model.ship.getMst(_i2q.mstID).getClassType(), _i2s = 0 == _i2f.isOtherDeckShip(_i2m, _i2d); _i2n.update(_i2q.name, _i2r, _i2q.shipTypeID, _i2s); } } else _i2n.updateUnSet(); } switch (_i2e) { case _i1p.Bottom: var _i2t = _i2i ? 36 : 35; this.balloon.texture = _i1r.ORGANIZE_MAIN.getTexture(_i2t), this.container.position.set(3, 6); break; case _i1p.Top: _i2t = _i2i ? 38 : 37, (this.balloon.texture = _i1r.ORGANIZE_MAIN.getTexture(_i2t), this.container.position.set(4, 16)); } }, _i1y.prototype.getFinePosition = function(_i2u) { var _i2v = null; switch (_i2u) { case _i1p.Bottom: return new PIXI.Point(-192, -157); case _i1p.Top: return new PIXI.Point(-192, -3); } }, _i1y; }(PIXI.Container); _i0f.PresetPreviewBalloon = _i1v; var _i22 = function(_i2w) { var _i2x = null; function _i2y() { var _i2z = null, _i30 = _i2w.call(this) || this, _i31 = _i1q.default.resources.getUIImage('mask'), _i32 = new PIXI.Sprite(_i31); return _i30.shipShadow = new PIXI.Sprite(), _i30.containerName = new PIXI.Container(), _i30.textName = new _i1s.TextBox(18, 5523516), _i30.shipShadow.position.set(0, 10), _i30.containerName.position.set(69, 10), _i32.anchor.set(1, 0), _i32.scale.x = -1, _i30.containerName.mask = _i32, _i30.containerName.addChild(_i30.textName, _i32), _i30.addChild(_i30.shipShadow, _i30.containerName), _i30; } return _i0j(_i2y, _i2w), _i2y.prototype.dispose = function() { var _i33 = null; this.removeChildren(), this.containerName.removeChildren(), this.containerName.mask = null, this.textName.destroy(), this.containerName = null, this.textName = null, this.shipShadow = null; }, _i2y.prototype.update = function(_i34, _i35, _i36, _i37) { var _i38 = null; this.textName.text = _i34; var _i39 = this.getShadowTextureName(_i35, _i36), _i3a = _i1r.ORGANIZE_SHIP.getTexture(_i39); this.shipShadow.texture = _i3a, this.shipShadow.alpha = 1, this.textName.alpha = 1, this.shipShadow.position.set(0, 10), this.shipShadow.alpha = 0.5, this.textName.alpha = 0.5, _i37 && (this.shipShadow.alpha = 1, this.textName.alpha = 1); }, _i2y.prototype.updateLost = function() { var _i3b = null; this.textName.text = '除籍艦', this.shipShadow.position.set(8, 8); var _i3c = _i1r.ORGANIZE_SHIP.getTexture(0); this.shipShadow.texture = _i3c, this.shipShadow.alpha = 0.5, this.textName.alpha = 0.5; }, _i2y.prototype.updateUnSet = function() { var _i3d = null; this.textName.alpha = 0, this.shipShadow.alpha = 0; }, _i2y.prototype.getShadowTextureName = function(_i3e, _i3f) { switch (_i3e) { case 37: return 11; case 41: return 13; case 52: return 14; } switch (_i3f) { case 1: return 15; case 2: return 1; case 3: return 12; case 4: return 17; case 5: return 16; case 6: return 18; case 7: return 21; case 8: case 9: case 12: return 19; case 10: return 20; case 11: return 22; case 13: return 2; case 14: return 3; case 15: case 22: return 10; case 16: return 4; case 17: return 8; case 18: return 6; case 19: return 7; case 20: return 5; case 21: return 9; } }, _i2y; }(PIXI.Container); }, 34924: function(_i3g, _i3h, _i3i) { 'use strict'; var _i3j = null; var _i3k, _i3l = this && this.__extends || (_i3k = function(_i3m, _i3n) { var _i3o = null; return _i3k = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_i3p, _i3q) { var _i3r = null; _i3p.__proto__ = _i3q; } || function(_i3s, _i3t) { var _i3u = null; for (var _i3v in _i3t) Object.prototype.hasOwnProperty.call(_i3t, _i3v) && (_i3s[_i3v] = _i3t[_i3v]); }, _i3k(_i3m, _i3n); }, function(_i3w, _i3x) { var _i3y = null; if ('function' != typeof _i3x && null !== _i3x) throw new TypeError('Class extends value ' + String(_i3x) + ' is not a constructor or null'); function _i3z() { var _i40 = null; this.constructor = _i3w; } _i3k(_i3w, _i3x), _i3w.prototype = null === _i3x ? Object.create(_i3x) : (_i3z.prototype = _i3x.prototype, new _i3z()); }); defineModule(_i3h); Object.defineProperty(_i3h, '__esModule', { 'value': !0 }), _i3h.PresetTitle = void 0; var _i41 = _i3i(74623), _i42 = function(_i43) { var _i44 = null; function _i45(_i46) { var _i47 = null, _i48 = _i43.call(this) || this, _i49 = null, _i4a = null; switch (_i46) { case 1: _i49 = _i41.ORGANIZE_MAIN.getTexture(58), _i4a = _i41.ORGANIZE_MAIN.getTexture(59); break; case 2: _i49 = _i41.ORGANIZE_MAIN.getTexture(54), _i4a = _i41.ORGANIZE_MAIN.getTexture(55); } return _i48.txt_txt1 = new PIXI.Sprite(_i49), _i48.txt_txt2 = new PIXI.Sprite(_i4a), _i48.txt_txt2.anchor.set(1, 1), _i48.txt_txt2.position.set(540, 42), _i48.addChild(_i48.txt_txt1, _i48.txt_txt2), _i48; } return _i3l(_i45, _i43), _i45.prototype.hideTxt2 = function() { var _i4b = null; this.txt_txt2.visible = !1; }, _i45.prototype.showTxt2 = function() { var _i4c = null; this.txt_txt2.visible = !0; }, _i45.prototype.dispose = function() { var _i4d = null; this.txt_txt1 = null, this.txt_txt2 = null, this.removeChildren(); }, _i45; }(PIXI.Container); _i3h.PresetTitle = _i42; }, 92507: function(_i4e, _i4f, _i4g) { 'use strict'; var _i4h = null; var _i4i, _i4j = this && this.__extends || (_i4i = function(_i4k, _i4l) { var _i4m = null; return _i4i = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_i4n, _i4o) { var _i4p = null; _i4n.__proto__ = _i4o; } || function(_i4q, _i4r) { var _i4s = null; for (var _i4t in _i4r) Object.prototype.hasOwnProperty.call(_i4r, _i4t) && (_i4q[_i4t] = _i4r[_i4t]); }, _i4i(_i4k, _i4l); }, function(_i4u, _i4v) { var _i4w = null; if ('function' != typeof _i4v && null !== _i4v) throw new TypeError('Class extends value ' + String(_i4v) + ' is not a constructor or null'); function _i4x() { var _i4y = null; this.constructor = _i4u; } _i4i(_i4u, _i4v), _i4u.prototype = null === _i4v ? Object.create(_i4v) : (_i4x.prototype = _i4v.prototype, new _i4x()); }); defineModule(_i4f); Object.defineProperty(_i4f, '__esModule', { 'value': !0 }), _i4f.ShipChangeConfirm = void 0; var _i4z = _i4g(35380), _i50 = _i4g(87397), _i51 = _i4g(12700), _i52 = _i4g(37638), _i53 = _i4g(79522), _i54 = _i4g(8744), _i55 = _i4g(90054), _i56 = _i4g(11997), _i57 = _i4g(74623), _i58 = _i4g(34738), _i59 = _i4g(14921), _i5a = function(_i5b) { var _i5c = null; function _i5d() { var _i5e = null, _i5f = _i5b.call(this) || this; _i5f._positionType = 0, _i5f.onMouseOver = function() { var _i5g = null; _i5f.changeButton.texture = _i55.COMMON_MAIN.getTexture(12); }, _i5f.onMouseOut = function() { var _i5h = null; _i5f.changeButton.texture = _i55.COMMON_MAIN.getTexture(11); }, _i5f.onClickChange = function() { var _i5i = null; _i5f.onClick(); }; var _i5j = new PIXI.Sprite(_i55.COMMON_MAIN.getTexture(13)), _i5k = new PIXI.Sprite(_i55.COMMON_MAIN.getTexture(67)), _i5l = _i57.ORGANIZE_MAIN.getTexture(0), _i5m = new PIXI.Sprite(_i5l), _i5n = new PIXI.Sprite(_i56.COMMON_MISC.getTexture(186)); _i5n.name = 'img_lv'; var _i5o = new PIXI.Sprite(_i55.COMMON_MAIN.getTexture(24)); _i5o.name = 'img_houg'; var _i5p = new PIXI.Sprite(_i55.COMMON_MAIN.getTexture(25)); _i5p.name = 'img_raig'; var _i5q = new PIXI.Sprite(_i56.COMMON_MISC.getTexture(91)); _i5q.name = 'img_fuel'; var _i5r = new PIXI.Sprite(_i56.COMMON_MISC.getTexture(92)); _i5r.name = 'img_ammo'; var _i5s = new PIXI.Sprite(_i55.COMMON_MAIN.getTexture(23)); _i5s.name = 'img_souk'; var _i5t = new PIXI.Sprite(_i55.COMMON_MAIN.getTexture(26)); _i5t.name = 'img_taik', _i5f.shipBanner = new _i52.ShipBanner(), _i5f.shipBanner.name = 'ship', _i5f.starRateView = new _i53.StarRateView(), _i5f.starRateView.name = 'rate', _i5f.textLevel = new _i54.TextBox(30, 5523516), _i5f.textLevel.name = 'lv', _i5f.textHp = new _i54.TextBox(16, 5523516), _i5f.textHp.name = 'hp', _i5f.hpGaugeView = new _i50.HpGaugeView(), _i5f.hpGaugeView.name = 'gauge', (_i5f.textHoug = new _i54.TextBox(23, 5523516), _i5f.textHoug.name = 'txt_houg', _i5f.textRaig = new _i54.TextBox(23, 5523516), _i5f.textRaig.name = 'txt_raig', _i5f.textTaiku = new _i54.TextBox(23, 5523516), _i5f.textTaiku.name = 'txt_taiku', _i5f.textSoukou = new _i54.TextBox(23, 5523516), _i5f.textSoukou.name = 'txt_souku', _i5f.fuelMeterView = new _i51.MaterialMeterView(), _i5f.fuelMeterView.name = 'fuel', _i5f.ammoMeterView = new _i51.MaterialMeterView(), _i5f.ammoMeterView.name = 'ammo', _i5f.slotItemSlotContainer = new _i58.SlotItemSlotContainer(5, !0), _i5f.slotItemSlotContainer.name = 'slot', _i5f.changeButton = new PIXI.Sprite(), _i5f.changeButton.on(_i4z.EventType.MOUSEOVER, _i5f.onMouseOver), _i5f.changeButton.on(_i4z.EventType.MOUSEOUT, _i5f.onMouseOut), _i5f.changeButton.on(_i4z.EventType.CLICK, _i5f.onClickChange), _i5m.position.set(22, 10), _i5f.changeButton.position.set(70, 501), _i5f.textHoug.anchor.x = 1, _i5f.textRaig.anchor.x = 1, _i5f.textTaiku.anchor.x = 1, _i5f.textSoukou.anchor.x = 1, _i5k.position.set(0, -34), _i5j.interactive = !0, _i5f.textName = new _i54.TextBox(27, 5523516), _i5f.textName.name = 'txt_name', _i5f.containerName = new PIXI.Container(), _i5f.containerName.name = 'name'); var _i5u = _i59.CreateRect.gradientLeftToRight(180, 42, 0.5, 0.98); return _i5f.containerName.mask = _i5u, _i5f.containerName.addChild(_i5f.textName, _i5u), _i5k.addChild(_i5m), _i5f.addChild(_i5j, _i5f.starRateView, _i5f.containerName, _i5n, _i5f.textLevel, _i5o, _i5f.textHoug, _i5p, _i5f.textRaig, _i5t, _i5f.textTaiku, _i5s, _i5f.textSoukou, _i5q, _i5f.fuelMeterView, _i5r, _i5f.ammoMeterView, _i5f.hpGaugeView, _i5f.slotItemSlotContainer, _i5f.textHp, _i5f.shipBanner, _i5f.changeButton, _i5k), _i5f._defaultPosition(), _i5f; } return _i4j(_i5d, _i5b), _i5d.prototype.dispose = function() { var _i5v = null; this.removeChildren(), this.containerName.mask = null, this.containerName.removeChildren(), this.fuelMeterView.dispose(), this.ammoMeterView.dispose(), this.hpGaugeView.dispose(), this.shipBanner.dispose(), this.starRateView.dispose(), this.slotItemSlotContainer.dispose(), this.changeButton.off(_i4z.EventType.MOUSEOVER), this.changeButton.off(_i4z.EventType.MOUSEOUT), this.changeButton.off(_i4z.EventType.CLICK), this.textHp.destroy(), this.textLevel.destroy(), this.textHoug.destroy(), this.textRaig.destroy(), this.textTaiku.destroy(), this.textSoukou.destroy(), this.textName.destroy(), this.onClick = null, this.containerName = null, this.fuelMeterView = null, this.ammoMeterView = null, this.hpGaugeView = null, this.shipBanner = null, this.starRateView = null, this.slotItemSlotContainer = null, this.changeButton = null, this.textHp = null, this.textLevel = null, this.textHoug = null, this.textRaig = null, this.textTaiku = null, this.textSoukou = null, this.textName = null, this._positionType = null; }, _i5d.prototype.updateChangable = function(_i5w) { var _i5x = null; _i5w ? (this.changeButton.texture = _i55.COMMON_MAIN.getTexture(11), this.changeButton.interactive = !0, this.changeButton.buttonMode = !0) : (this.changeButton.texture = _i55.COMMON_MAIN.getTexture(10), this.changeButton.interactive = !1, this.changeButton.buttonMode = !1); }, _i5d.prototype.updateMaterial = function(_i5y, _i5z, _i60, _i61) { var _i62 = null; this.fuelMeterView.update(_i5y, _i5z), this.ammoMeterView.update(_i60, _i61); }, _i5d.prototype.updateParams = function(_i63, _i64, _i65, _i66) { var _i67 = null; this.textHoug.text = _i63.toString(), this.textRaig.text = _i64.toString(), this.textTaiku.text = _i65.toString(), this.textSoukou.text = _i66.toString(); }, _i5d.prototype.updateShip = function(_i68, _i69, _i6a, _i6b, _i6c, _i6d, _i6e, _i6f) { var _i6g = null; this.textName.text = _i6a, this.textLevel.text = _i6b.toString(), this.starRateView.update(_i6c), this.textHp.text = _i6d + '/' + _i6e, this.hpGaugeView.update(_i6d, _i6e); }, _i5d.prototype.updateBanner = function(_i6h, _i6i) { var _i6j = null; this.shipBanner.update(_i6h, _i6i), this.shipBanner.updatePlate(_i6h.label); }, _i5d.prototype.updateSlots = function(_i6k, _i6l) { var _i6m = null; this.slotItemSlotContainer.updateSlot(_i6k, _i6l); }, _i5d.prototype.updatePosition = function(_i6n) { var _i6o = null, _i6p = 5 === _i6n ? 1 : 0; if (this._positionType !== _i6p) { switch (_i6p) { case 0: this._defaultPosition(); break; case 1: this._fiveSlotPosition(); } this._positionType = _i6p; } }, _i5d.prototype._defaultPosition = function() { var _i6q = null; this.getChildByName('rate').position.set(210, 69); var _i6r = this.getChildByName('lv'); _i6r.style.fontSize = 30, _i6r.position.set(240, 24), this.getChildByName('hp').position.set(137, 69), this.getChildByName('gauge').position.set(33, 75), this.getChildByName('ship').position.set(35, 100), this.getChildByName('img_lv').position.set(210, 33), this.getChildByName('slot').position.set(16, 172); var _i6s = 153, _i6t = this.getChildByName('txt_houg'); _i6t.style.fontSize = 23, _i6t.position.set(_i6s, 358); var _i6u = this.getChildByName('txt_raig'); _i6u.style.fontSize = 23, _i6u.position.set(_i6s, 393); var _i6v = this.getChildByName('txt_taiku'); _i6v.style.fontSize = 23, _i6v.position.set(_i6s, 430); var _i6w = this.getChildByName('txt_souku'); _i6w.style.fontSize = 23, _i6w.position.set(_i6s, 465); var _i6x = 210; this.getChildByName('img_houg').position.set(30, 360), this.getChildByName('img_raig').position.set(30, 396), this.getChildByName('img_taik').position.set(30, 432), this.getChildByName('img_souk').position.set(30, 468), this.getChildByName('img_fuel').position.set(_i6x, 373), this.getChildByName('fuel').position.set(_i6x, 373), this.getChildByName('img_ammo').position.set(_i6x, 448), this.getChildByName('ammo').position.set(_i6x, 448), this.getChildByName('name').position.set(32, 31); }, _i5d.prototype._fiveSlotPosition = function() { var _i6y = null; this.getChildByName('rate').position.set(210, 46); var _i6z = this.getChildByName('lv'); _i6z.style.fontSize = 25, _i6z.position.set(260, 13), this.getChildByName('hp').position.set(137, 43), this.getChildByName('gauge').position.set(33, 49), this.getChildByName('ship').position.set(35, 68), this.getChildByName('img_lv').position.set(232, 18), this.getChildByName('slot').position.set(16, 135); var _i70 = 163, _i71 = this.getChildByName('txt_houg'); _i71.style.fontSize = 18, _i71.position.set(_i70, 377); var _i72 = this.getChildByName('txt_raig'); _i72.style.fontSize = 18, _i72.position.set(_i70, 407); var _i73 = this.getChildByName('txt_taiku'); _i73.style.fontSize = 18, _i73.position.set(_i70, 438); var _i74 = this.getChildByName('txt_souku'); _i74.style.fontSize = 18, _i74.position.set(_i70, 469); var _i75 = 200; this.getChildByName('img_houg').position.set(40, 375), this.getChildByName('img_raig').position.set(40, 406), this.getChildByName('img_taik').position.set(40, 436), this.getChildByName('img_souk').position.set(40, 468), this.getChildByName('img_fuel').position.set(_i75, 373), this.getChildByName('fuel').position.set(_i75, 373), this.getChildByName('img_ammo').position.set(_i75, 448), this.getChildByName('ammo').position.set(_i75, 448), this.getChildByName('name').position.set(32, 12); }, _i5d; }(PIXI.Container); _i4f.ShipChangeConfirm = _i5a; }, 32895: function(_i76, _i77, _i78) { 'use strict'; var _i79 = null; var _i7a, _i7b = this && this.__extends || (_i7a = function(_i7c, _i7d) { var _i7e = null; return _i7a = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_i7f, _i7g) { var _i7h = null; _i7f.__proto__ = _i7g; } || function(_i7i, _i7j) { var _i7k = null; for (var _i7l in _i7j) Object.prototype.hasOwnProperty.call(_i7j, _i7l) && (_i7i[_i7l] = _i7j[_i7l]); }, _i7a(_i7c, _i7d); }, function(_i7m, _i7n) { var _i7o = null; if ('function' != typeof _i7n && null !== _i7n) throw new TypeError('Class extends value ' + String(_i7n) + ' is not a constructor or null'); function _i7p() { var _i7q = null; this.constructor = _i7m; } _i7a(_i7m, _i7n), _i7m.prototype = null === _i7n ? Object.create(_i7n) : (_i7p.prototype = _i7n.prototype, new _i7p()); }), _i7r = this && this.__createBinding || (Object.create ? function(_i7s, _i7t, _i7u, _i7v) { var _i7w = null; void 0 === _i7v && (_i7v = _i7u); var _i7x = Object.getOwnPropertyDescriptor(_i7t, _i7u); _i7x && !('get' in _i7x ? !_i7t.__esModule : _i7x.writable || _i7x.configurable) || (_i7x = { 'enumerable': !0, 'get': function() { return _i7t[_i7u]; } }), Object.defineProperty(_i7s, _i7v, _i7x); } : function(_i7y, _i7z, _i80, _i81) { void 0 === _i81 && (_i81 = _i80), _i7y[_i81] = _i7z[_i80]; }), _i82 = this && this.__setModuleDefault || (Object.create ? function(_i83, _i84) { var _i85 = null; Object.defineProperty(_i83, 'default', { 'enumerable': !0, 'value': _i84 }); } : function(_i86, _i87) { var _i88 = null; _i86.default = _i87; }), _i89 = this && this.__importStar || function(_i8a) { var _i8b = null; if (_i8a && _i8a.__esModule) return _i8a; var _i8c = {}; if (null != _i8a) { for (var _i8d in _i8a) 'default' !== _i8d && Object.prototype.hasOwnProperty.call(_i8a, _i8d) && _i7r(_i8c, _i8a, _i8d); } return _i82(_i8c, _i8a), _i8c; }; defineModule(_i77); Object.defineProperty(_i77, '__esModule', { 'value': !0 }), _i77.ShipChoiceView = void 0; var _i8e = _i89(_i78(31000)), _i8f = _i78(69627), _i8g = _i78(8744), _i8h = _i78(85636), _i8i = _i78(15869), _i8j = _i78(87397), _i8k = _i78(32717), _i8l = _i78(43905), _i8m = _i78(14921), _i8n = _i78(35380), _i8o = _i78(71633), _i8p = _i78(75134), _i8q = _i78(11997), _i8r = _i78(81535), _i8s = function(_i8t) { var _i8u = null; function _i8v(_i8w, _i8x, _i8y, _i8z) { var _i90 = null, _i91 = _i8t.call(this) || this; if (_i91.FILTER_TAB_NUM = 8, _i91.ITEM_NUM = 10, _i91._onClickListItem = function(_i92) { var _i93 = null; _i91.onClickItem(_i92); }, _i91._onClicHeart = function(_i94) { var _i95 = null; _i91.onClickLock(_i94); }, _i91._onClickDetach = function() { var _i96 = null; _i91.onClickDetach(); }, _i91.onClickFilter = function() { var _i97 = null; for (var _i98 = [], _i99 = 0, _i9a = 0; _i9a < _i91.filterBtns.length; _i9a++) _i91.filterBtns[_i9a].isFilter ? _i98.push(_i91.filterBtns[_i9a].type) : _i99++; _i91.onFilter(_i98, _i91._eventFilter.filter_status), _i91.updateSelectAll(_i99); }, _i91._onClickEventFilter = function(_i9b) { var _i9c = null; _i91.onFilter(_i91.getOnFilter(), _i9b); }, _i91.onClickTxtSwitch = function() { var _i9d = null; _i91._japanese = !_i91._japanese, _i91.setFilterText(); }, _i91.onClickSelectAll = function() { var _i9e = null; for (var _i9f = !0, _i9g = 0; _i9g < _i91.filterBtns.length; _i9g++) if (!_i91.filterBtns[_i9g].isFilter) { _i9f = !1; break; } _i9f ? _i91.filterBtns.forEach(function(_i9h) { var _i9i = null; _i9h.changeFilter(); }) : _i91.filterBtns.forEach(function(_i9j) { var _i9k = null; _i9j.isFilter || _i9j.changeFilter(); }), _i91.onClickFilter(); }, _i91.onFilter = _i8z, _i91._japanese = _i8x, null == _i8w || _i8w.length != _i91.FILTER_TAB_NUM) { for (_i8w = []; _i8w.length < _i91.FILTER_TAB_NUM;) _i8w.push(!0); _i91._japanese = !0; } var _i9l = new PIXI.Sprite(_i8f.ORGANIZE_FILTER.getTexture(6)), _i9m = new PIXI.Sprite(_i8f.ORGANIZE_FILTER.getTexture(4)), _i9n = new PIXI.Sprite(_i8f.ORGANIZE_FILTER.getTexture(50)), _i9o = new PIXI.Sprite(_i8e.COMMON_MAIN.getTexture(1)); _i91.allFilterTxt = new PIXI.Sprite(_i8f.ORGANIZE_FILTER.getTexture(51)), _i91.allFilterTxt.position.set(240, 265), _i91.allFilterTxt.visible = !1, _i91.txtSwitchBase = new PIXI.Sprite(_i8f.ORGANIZE_FILTER.getTexture(52)), _i91.txtSwitch = new PIXI.Sprite(_i8f.ORGANIZE_FILTER.getTexture(54)), _i91.txtSwitchBase.interactive = _i91.txtSwitchBase.buttonMode = !0, _i91.txtSwitchBase.addListener(_i8n.EventType.CLICK, _i91.onClickTxtSwitch), _i91.txtSwitchBase.position.set(51, 41), _i91.txtSwitch.position.set(53, 43), _i91.allSelectBase = new PIXI.Sprite(_i8f.ORGANIZE_FILTER.getTexture(8)), _i91.allSelect = new PIXI.Sprite(_i8f.ORGANIZE_FILTER.getTexture(9)), _i91.allSelectBase.interactive = _i91.allSelectBase.buttonMode = !0, _i91.allSelectBase.addListener(_i8n.EventType.CLICK, _i91.onClickSelectAll), _i91.allSelectBase.position.set(594, 15), _i91.allSelect.position.set(598, 19), _i91.detach = new PIXI.Sprite(_i8f.ORGANIZE_FILTER.getTexture(48)), _i91.detach.interactive = _i91.detach.buttonMode = !0, _i91.detach.addListener(_i8n.EventType.MOUSEOVER, function() { var _i9p = null; _i91.detach.texture = _i8f.ORGANIZE_FILTER.getTexture(49); }), _i91.detach.addListener(_i8n.EventType.MOUSEOUT, function() { var _i9q = null; _i91.detach.texture = _i8f.ORGANIZE_FILTER.getTexture(48); }), _i91.detach.addListener(_i8n.EventType.CLICK, _i91._onClickDetach), _i91.filterBtns = new Array(_i91.FILTER_TAB_NUM), _i91.filterBtns[0] = new _i9r(0, _i8w[0]), _i91.filterBtns[1] = new _i9r(1, _i8w[1]), _i91.filterBtns[2] = new _i9r(2, _i8w[2]), _i91.filterBtns[3] = new _i9r(3, _i8w[3]), _i91.filterBtns[4] = new _i9r(4, _i8w[4]), _i91.filterBtns[5] = new _i9r(5, _i8w[5]), _i91.filterBtns[6] = new _i9r(6, _i8w[6]), _i91.filterBtns[7] = new _i9r(7, _i8w[7]), _i91.filterBtns[0].position.set(72, 13), _i91.filterBtns[1].position.set(138, 13), _i91.filterBtns[2].position.set(204, 13), _i91.filterBtns[3].position.set(268, 13), _i91.filterBtns[4].position.set(332, 13), _i91.filterBtns[5].position.set(396, 13), _i91.filterBtns[6].position.set(460, 13), _i91.filterBtns[7].position.set(524, 13), _i91.filterBtns.forEach(function(_i9s) { var _i9t = null; _i9s.setOnClick(_i91.onClickFilter); }), _i91.setFilterText(), _i91.lineLayer = new PIXI.Container(), _i91.listItems = new Array(); for (var _i9u = 0; _i9u < _i91.ITEM_NUM; _i9u++) { var _i9v = new _i9w(); _i9v.onClickItem = _i91._onClickListItem, _i9v.onClickLock = _i91._onClicHeart, _i9v.x = 57, _i9v.y = 40 + 43 * (_i9u + 1), _i91.listItems.push(_i9v); var _i9x = new PIXI.Sprite(_i8f.ORGANIZE_FILTER.getTexture(5)); _i9x.anchor.set(0, 1), _i9x.x = _i9v.x, _i9x.y = _i9v.y + 43, _i91.lineLayer.addChild(_i9x); } _i9m.position.set(57, 46), _i91.detach.position.set(594, 522), _i9n.position.set(0, -33), _i9o.position.set(22, 10), _i9l.interactive = !0; var _i9y = 0; for (_i9u = 0; _i9u < _i8w.length; _i9u++) _i8w[_i9u] || _i9y++; return _i91.updateSelectAll(_i9y), _i91.allFilterTxt.visible = _i9y == _i8w.length, _i91.lineLayer.visible = _i9y != _i8w.length, _i91._eventFilter = new _i9z(_i8y, _i91._onClickEventFilter), _i91._eventFilter.position.set(611, 4), _i91._eventFilter.visible = _i8o.EventConst.AREA_ID > -1, _i9n.addChild(_i9o), _i91.addChild(_i9l, _i91.detach, _i9n, _i9m, _i91.allFilterTxt), _i91.filterBtns.forEach(function(_ia0) { var _ia1 = null; return _i91.addChild(_ia0); }), _i91.addChild(_i91._eventFilter), _i91.addChild(_i91.lineLayer), _i91.listItems.forEach(function(_ia2) { var _ia3 = null; return _i91.addChild(_ia2); }), _i91.addChild(_i91.txtSwitchBase, _i91.txtSwitch, _i91.allSelectBase, _i91.allSelect), _i91; } return _i7b(_i8v, _i8t), _i8v.prototype.dispose = function() { var _ia4 = null; this.removeChildren(); for (var _ia5 = 0; _ia5 < this.filterBtns.length; _ia5++) this.filterBtns[_ia5].dispose(), this.filterBtns[_ia5] = null; for (_ia5 = 0; _ia5 < this.listItems.length; _ia5++) this.listItems[_ia5].dispose(), this.listItems[_ia5] = null; this.lineLayer.removeChildren(), this.detach = null, this.itemCount = null, this.listItems = null, this.filterBtns = null, this.allFilterTxt = null, this.txtSwitchBase = null, this.txtSwitch = null, this.allSelectBase = null, this.allSelect = null, this.lineLayer = null, this.onClickItem = null, this.onClickLock = null, this.onClickDetach = null, this.onFilter = null, this._japanese = null; }, _i8v.prototype.getFilterStatus = function() { var _ia6 = null; return this.filterBtns.map(function(_ia7) { var _ia8 = null; return _ia7.isFilter; }); }, _i8v.prototype.isJapanese = function() { var _ia9 = null; return this._japanese; }, _i8v.prototype.hideDetach = function() { var _iaa = null; this.detach.visible = !1; }, _i8v.prototype.showDetach = function() { var _iab = null; this.detach.visible = !0; }, _i8v.prototype.update = function(_iac, _iad, _iae) { var _iaf = null, _iag = this.listItems[_iac]; _iag.update(_iad.memID, _iad.shipTypeName, _iad.name, _iad.level, _iad.hpNow, _iad.hpMax, _iad.karyoku, _iad.raisou, _iad.taiku, _iad.speed, _iad.isLocked(), _iae, _iad.tired, _iad.isMarriage(), _iad.label, _iad.isRepair(), _iad.ribbon), _iag.visible = !0; }, _i8v.prototype.hide = function(_iah) { var _iai = null; this.listItems[_iah].visible = !1; }, _i8v.prototype.updateSelectAll = function(_iaj) { var _iak = null, _ial = _i8f.ORGANIZE_FILTER.getTexture(_iaj <= 0 ? 9 : 7); this.allSelect.texture = _ial; }, _i8v.prototype.getOnFilter = function() { var _iam = null; for (var _ian = [], _iao = 0; _iao < this.filterBtns.length; _iao++) this.filterBtns[_iao].isFilter && _ian.push(this.filterBtns[_iao].type); return _ian; }, _i8v.prototype.getEventFilterStatus = function() { var _iap = null; return this._eventFilter.filter_status; }, _i8v.prototype.setExistLineUI = function(_iaq) { var _iar = null; 0 == _iaq ? (this.allFilterTxt.visible = !0, this.lineLayer.visible = !1) : (this.allFilterTxt.visible = !1, this.lineLayer.visible = !0); }, _i8v.prototype.setFilterText = function() { var _ias = null; this._japanese ? (this.txtSwitch.texture = _i8f.ORGANIZE_FILTER.getTexture(54), this.filterBtns[0].setTexture(_i8f.ORGANIZE_FILTER.getTexture(16), _i8f.ORGANIZE_FILTER.getTexture(17)), this.filterBtns[1].setTexture(_i8f.ORGANIZE_FILTER.getTexture(20), _i8f.ORGANIZE_FILTER.getTexture(21)), this.filterBtns[2].setTexture(_i8f.ORGANIZE_FILTER.getTexture(24), _i8f.ORGANIZE_FILTER.getTexture(25)), this.filterBtns[3].setTexture(_i8f.ORGANIZE_FILTER.getTexture(28), _i8f.ORGANIZE_FILTER.getTexture(29)), this.filterBtns[4].setTexture(_i8f.ORGANIZE_FILTER.getTexture(32), _i8f.ORGANIZE_FILTER.getTexture(33)), this.filterBtns[5].setTexture(_i8f.ORGANIZE_FILTER.getTexture(36), _i8f.ORGANIZE_FILTER.getTexture(37)), this.filterBtns[6].setTexture(_i8f.ORGANIZE_FILTER.getTexture(40), _i8f.ORGANIZE_FILTER.getTexture(41)), this.filterBtns[7].setTexture(_i8f.ORGANIZE_FILTER.getTexture(44), _i8f.ORGANIZE_FILTER.getTexture(45))) : (this.txtSwitch.texture = _i8f.ORGANIZE_FILTER.getTexture(53), this.filterBtns[0].setTexture(_i8f.ORGANIZE_FILTER.getTexture(18), _i8f.ORGANIZE_FILTER.getTexture(19)), this.filterBtns[1].setTexture(_i8f.ORGANIZE_FILTER.getTexture(22), _i8f.ORGANIZE_FILTER.getTexture(23)), this.filterBtns[2].setTexture(_i8f.ORGANIZE_FILTER.getTexture(26), _i8f.ORGANIZE_FILTER.getTexture(27)), this.filterBtns[3].setTexture(_i8f.ORGANIZE_FILTER.getTexture(30), _i8f.ORGANIZE_FILTER.getTexture(31)), this.filterBtns[4].setTexture(_i8f.ORGANIZE_FILTER.getTexture(34), _i8f.ORGANIZE_FILTER.getTexture(35)), this.filterBtns[5].setTexture(_i8f.ORGANIZE_FILTER.getTexture(38), _i8f.ORGANIZE_FILTER.getTexture(39)), this.filterBtns[6].setTexture(_i8f.ORGANIZE_FILTER.getTexture(42), _i8f.ORGANIZE_FILTER.getTexture(43)), this.filterBtns[7].setTexture(_i8f.ORGANIZE_FILTER.getTexture(46), _i8f.ORGANIZE_FILTER.getTexture(47))); }, _i8v; }(PIXI.Container); _i77.ShipChoiceView = _i8s; var _i9w = function(_iat) { var _iau = null; function _iav() { var _iaw = null, _iax = _iat.call(this) || this; _iax.locked = !1, _iax.SCROLL_THRESHOLD = 210, _iax._scrollTween = function(_iay) { var _iaz = null; if (_iay) { if (null == _iax._scroll_t) { var _ib0 = Math.abs(_iax.SCROLL_THRESHOLD - _iax.textTypeAndName.width), _ib1 = _i8m.MathUtil.round(_ib0 / 0.2, 0); _iax._scroll_t = createjs.Tween.get(_iax.textTypeAndName).wait(1000).to({ 'x': -_ib0 }, _ib1); } } else null != _iax._scroll_t && (_iax._scroll_t.setPaused(!0), _iax._scroll_t = null), _iax.textTypeAndName.position.x = 0; }, _iax.onMouseOver = function() { var _ib2 = null; _iax.textLevel.style.fill = _iax.textName.style.fill = _iax.textTyku.style.fill = _iax.textHoug.style.fill = _iax.textRaig.style.fill = _iax.textTaik.style.fill = _iax.textType.style.fill = 16777215, _iax.background.visible = !0, 0 == _iax.locked && (_iax.lockedHeart.alpha = 1), _iax.textTypeAndName.width > _iax.SCROLL_THRESHOLD && _iax._scrollTween(!0); }, _iax.onMouseOut = function() { var _ib3 = null; _iax.textLevel.style.fill = _iax.mouseoutLevelColor, _iax.textName.style.fill = _iax.textTyku.style.fill = _iax.textHoug.style.fill = _iax.textRaig.style.fill = _iax.textTaik.style.fill = _iax.textType.style.fill = 5523516, _iax.background.visible = !1, 0 == _iax.locked && (_iax.lockedHeart.alpha = 0), _iax._scrollTween(!1); }, _iax._onClickHitArea = function() { var _ib4 = null; _iax.onClickItem(_iax.memShipId); }, _iax._onClickHeart = function() { var _ib5 = null; _iax.onClickLock(_iax.memShipId); }, _iax.textureLockOn = _i8e.ORGANIZE_MAIN.getTexture(45), _iax.textureLockOff = _i8e.ORGANIZE_MAIN.getTexture(44), (_iax.shipInDeckFlag = new _i8l.ShipInDeckFlag(), _iax.textType = new _i8g.TextBox(18, 5523516), _iax.textLevel = new _i8g.TextBox(21, 5523516), _iax.textTyku = new _i8g.TextBox(17, 5523516), _iax.textHoug = new _i8g.TextBox(17, 5523516), _iax.textRaig = new _i8g.TextBox(17, 5523516), _iax.textTaik = new _i8g.TextBox(17, 5523516), _iax.ring = new _i8k.RingSmall(), _iax.sokuryoku = new _i8h.ShipSpeedImage(), _iax.lockedHeart = new PIXI.Sprite(), _iax.hpGauge = new _i8j.HpGaugeView(), _iax.background = new PIXI.Sprite(_i8e.COMMON_MAIN.getTexture(18)), _iax._repair = new PIXI.Sprite(_i8e.COMMON_MAIN.getTexture(70)), _iax._repair.visible = !1, _iax._ribbon = new PIXI.Sprite()); var _ib6 = new _ib7(), _ib8 = new _ib7(), _ib9 = new _ib7(), _iba = new _ib7(), _ibb = new _ib7(); _iax.kirakira = new Array(); var _ibc = Math.floor(21) + 1; _iax.background.width = 538, _iax.background.height = 43, _iax.background.position.set(0, _ibc - 1), _iax.background.visible = !1, _iax.lockedHeart.interactive = _iax.lockedHeart.buttonMode = !0, _iax.textLevel.position.set(286, Math.floor(_ibc - _iax.textLevel.height / 2)), _iax.textTyku.position.set(342, Math.floor(_ibc - _iax.textTyku.height / 2)), _iax.textHoug.position.set(388, Math.floor(_ibc - _iax.textHoug.height / 2)), _iax.textRaig.position.set(436, Math.floor(_ibc - _iax.textRaig.height / 2)), _iax.textTaik.position.set(483, Math.floor(_ibc - _iax.textTaik.height / 2)), _iax.sokuryoku.position.set(511, _ibc), _iax._repair.position.set(512, _ibc - 1), _iax._ribbon.position.set(580, 1), _iax.lockedHeart.position.set(558, _ibc), _iax.shipInDeckFlag.position.set(-15, _ibc), _iax.shipInDeckFlag.scale.set(0.8, 0.8), _iax.hpGauge.position.set(489, 34), _iax.ring.initialize(), _iax.ring.position.set(579, 6), _iax.background.anchor.set(0, 0.5), _iax.hpGauge.scale.set(1, 0.8), _iax.textLevel.anchor.set(1, 0), _iax.textTyku.anchor.set(1, 0), _iax.textHoug.anchor.set(1, 0), _iax.textRaig.anchor.set(1, 0), _iax.textTaik.anchor.set(1, 0), _iax.sokuryoku.anchor.set(0.5, 0.5), _iax._repair.anchor.set(0.5, 0.5), _iax.lockedHeart.anchor.set(0.5, 0.5), _iax.shipInDeckFlag.anchor.set(0.5, 0.5), _iax.containerTypeAndName = new PIXI.Container(), _iax.textTypeAndName = new PIXI.Container(), _iax.textName = new _i8g.TextBox(20, 5523516); var _ibd = _i8m.CreateRect.gradientLeftToRight(240, 44, 0.85, 0.9); return _iax.containerTypeAndName.position.set(8, 0), _iax.textType.anchor.set(0, 0), _iax.textType.position.y = Math.floor(_ibc - _iax.textType.height / 2), _iax.textName.anchor.set(0, 0), _iax.textName.position.y = Math.floor(_ibc - _iax.textName.height / 2), _iax.textTypeAndName.addChild(_iax.textType, _iax.textName), _iax.containerTypeAndName.addChild(_iax.textTypeAndName, _ibd), _iax.containerTypeAndName.mask = _ibd, _iax.kirakira.push(_ib6, _ib8, _ib9, _iba, _ibb), _ib6.position.set(483, 27), _ib8.position.set(483, 27), _ib9.position.set(483, 27), _iba.position.set(483, 27), _ibb.position.set(483, 27), _iax._tag = new _i8r.EventTag(), _iax._tag.position.set(209, 2), _iax.itemHitArea = new PIXI.Graphics(), _iax.itemHitArea.beginFill(0, 0), _iax.itemHitArea.drawRect(0, 0, _iax.background.width, _iax.background.height), _iax.itemHitArea.endFill(), _iax.itemHitArea.on(_i8n.EventType.MOUSEOVER, _iax.onMouseOver), _iax.itemHitArea.on(_i8n.EventType.MOUSEOUT, _iax.onMouseOut), _iax.itemHitArea.on(_i8n.EventType.CLICK, _iax._onClickHitArea), _iax.lockedHeart.on(_i8n.EventType.MOUSEOVER, _iax.onMouseOver), _iax.lockedHeart.on(_i8n.EventType.MOUSEOUT, _iax.onMouseOut), _iax.lockedHeart.on(_i8n.EventType.CLICK, _iax._onClickHeart), _iax.itemHitArea.interactive = !0, _iax.ring.activate(), _iax.addChild(_iax.background, _iax.containerTypeAndName, _iax.textLevel, _iax.textTyku, _iax.textHoug, _iax.textRaig, _iax.textTaik, _iax.sokuryoku, _iax.shipInDeckFlag, _iax.hpGauge, _iax._repair, _iax._ribbon, _ib6, _ib8, _ib9, _iba, _ibb, _iax.ring, _iax._tag, _iax.lockedHeart, _iax.itemHitArea), _iax; } return _i7b(_iav, _iat), _iav.prototype.dispose = function() { var _ibe = null, _ibf; this.removeChildren(), this.sokuryoku.dispose(), this.hpGauge.dispose(); for (var _ibg = 0; _ibg < this.kirakira.length; _ibg++) this.kirakira[_ibg].dispose(), this.kirakira[_ibg] = null; this.containerTypeAndName.removeChildren(), this.containerTypeAndName.mask = null, this.containerTypeAndName = null, this.ring.dispose(), this.itemHitArea.off(_i8n.EventType.MOUSEOVER), this.itemHitArea.off(_i8n.EventType.MOUSEOUT), this.itemHitArea.off(_i8n.EventType.CLICK), this.lockedHeart.off(_i8n.EventType.MOUSEOVER), this.lockedHeart.off(_i8n.EventType.MOUSEOUT), this.lockedHeart.off(_i8n.EventType.CLICK), this.textType.destroy(), this.textName.destroy(), this.textLevel.destroy(), this.textTyku.destroy(), this.textHoug.destroy(), this.textRaig.destroy(), this.textTaik.destroy(), this._tag.destroy(), this._repair.destroy(), this._ribbon.destroy(), this.onMouseOver = this.onMouseOut = this._onClickHitArea = this.onMouseOver = this.onMouseOut = this._onClickHeart = null, this.kirakira = null, this.hpGauge = null, this.onClickItem = null, this.onClickLock = null, this.shipInDeckFlag = null, this.textType = null, this.textName = null, this.textLevel = null, this.textTyku = null, this.textHoug = null, this.textRaig = null, this.textTaik = null, this.sokuryoku = null, this.background = null, this.lockedHeart = null, this.itemHitArea = null, this.locked = null, this.memShipId = null, this._tag = null, this.ring = null, this.textureLockOn = null, this.textureLockOff = null, this._repair = null, null === (_ibf = this._scroll_t) || void 0 === _ibf || _ibf.setPaused(!0), this._scroll_t = null; }, _iav.prototype._updateTypeAndName_ = function(_ibh, _ibi) { var _ibj = null; this.textType.text = _ibh + '\x20', this.textName.text = _ibi, this.textName.position.x = this.textType.x + this.textType.width; }, _iav.prototype.update = function(_ibk, _ibl, _ibm, _ibn, _ibo, _ibp, _ibq, _ibr, _ibs, _ibt, _ibu, _ibv, _ibw, _ibx, _iby, _ibz, _ic0) { var _ic1 = null; this._scrollTween(!1), this.memShipId = _ibk, this.locked = _ibu, this.textLevel.text = '' ['concat'](_ibn), this.textTyku.text = '' ['concat'](_ibo), this.textHoug.text = '' ['concat'](_ibq), this.textRaig.text = '' ['concat'](_ibr), this.textTaik.text = '' ['concat'](_ibs), this.hpGauge.update(_ibo, _ibp), this.sokuryoku.update(_ibt), this.sokuryoku.visible = !_ibz, this._repair.visible = _ibz, this.textLevel.style.fill = _i8i.ColorUtil.getLevelColor(_ibn), this.mouseoutLevelColor = this.textLevel.style.fill, this._tag.update(_iby), this._ribbon.texture = function(_ic2) { var _ic3 = null; switch (_ic2) { case _i8p.RibbonType.BLUE: return _i8q.COMMON_MISC.getTexture(171); case _i8p.RibbonType.WHITE: return _i8q.COMMON_MISC.getTexture(172); default: return PIXI.Texture.EMPTY; } }(_ic0), this._updateCondition_(_ibw), this._updateRing_(_ibx), this._updateLock_(_ibu), this._updateInDeck_(_ibv), this._updateTypeAndName_(_ibl, _ibm); }, _iav.prototype._updateCondition_ = function(_ic4) { var _ic5 = null; this.kirakira.forEach(function(_ic6) { var _ic7 = null; _ic6.visible = !1; }); if (_ic4 >= 50) { var _ic8 = _ic4 < 58 ? 3 : _ic4 < 71 ? 4 : 5, _ic9 = Math.abs(87); this.kirakira.forEach(function(_ica, _icb) { var _icc = null; _icb > _ic8 - 1 || (_ica.position.x = 483 + _icb * _ic9 / (_ic8 - 1), _ica.visible = !0); }); } }, _iav.prototype._updateRing_ = function(_icd) { var _ice = null; this.ring.visible = !1, _icd && (this.ring.visible = !0); }, _iav.prototype._updateLock_ = function(_icf) { var _icg = null; _icf ? (this.lockedHeart.texture = this.textureLockOn, this.lockedHeart.alpha = 1) : (this.lockedHeart.texture = this.textureLockOff, this.lockedHeart.alpha = 0); }, _iav.prototype._updateInDeck_ = function(_ich) { var _ici = null; this.shipInDeckFlag.visible = !1, _ich && (this.shipInDeckFlag.update(_ich), this.shipInDeckFlag.visible = !0); }, _iav; }(PIXI.Container), _i9r = function(_icj) { var _ick = null; function _icl(_icm, _icn) { var _ico = null, _icp = _icj.call(this) || this; return _icp.changeFilter = function() { var _icq = null; _icp._isFilter = !_icp._isFilter, _icp.texture = _icp._isFilter ? _icp.texture_on : _icp.texture_off; }, _icp._type = _icm, _icp._isFilter = _icn, _icp; } return _i7b(_icl, _icj), Object.defineProperty(_icl.prototype, 'isFilter', { 'get': function() { var _icr = null; return this._isFilter; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_icl.prototype, 'type', { 'get': function() { var _ics = null; return this._type; }, 'enumerable': !1, 'configurable': !0 }), _icl.prototype.dispose = function() { var _ict = null; this.off(_i8n.EventType.CLICK), this.texture_off = null, this.texture_on = null, this._type = null, this._isFilter = null; }, _icl.prototype.setTexture = function(_icu, _icv) { var _icw = null; this.texture_on = _icu, this.texture_off = _icv, this.texture = this._isFilter ? this.texture_on : this.texture_off; }, _icl.prototype.setOnClick = function(_icx) { var _icy = null, _icz = this; this.buttonMode = this.interactive = !0, this.on(_i8n.EventType.CLICK, function() { var _id0 = null; _icz.changeFilter(), _icx && _icx(); }); }, _icl; }(PIXI.Sprite), _i9z = function(_id1) { var _id2 = null; function _id3(_id4, _id5) { var _id6 = null, _id7 = _id1.call(this) || this; _id7._cb_onClick = function() { var _id8 = null, _id9 = _id7._next(_id7._filter_status); _id7._update(_id9), _id7._onClick(_id9); }; var _ida = 0 != _id4; return _id7._onClick = _id5, _id7.status = _id4, _id7._img = new PIXI.Sprite(_i8f.ORGANIZE_FILTER.getTexture(0)), _id7._img.on(_i8n.EventType.CLICK, _id7._cb_onClick), _id7._img_light = new PIXI.Sprite(), _id7._filter_status = 1, _ida && (_id7._img_light.texture = _i8f.ORGANIZE_FILTER.getTexture(3)), _id7._img.interactive = _id7._img.buttonMode = _ida, _id7.addChild(_id7._img), _id7.addChild(_id7._img_light), _id7._update(_id4), _id7; } return _i7b(_id3, _id1), Object.defineProperty(_id3.prototype, 'filter_status', { 'get': function() { var _idb = null; return this._filter_status; }, 'enumerable': !1, 'configurable': !0 }), _id3.prototype.dispose = function() { var _idc = null; this.removeChildren(), this._img.off(_i8n.EventType.CLICK, this._cb_onClick), this._img.destroy(), this._img = null, this._deactivateTween(), this._img_light.destroy(), this._img_light = null; }, _id3.prototype._next = function(_idd) { switch (_idd) { case 1: return 2; case 2: return 3; case 3: return 1; } }, _id3.prototype._update = function(_ide) { var _idf = null; if (0 != this.status) switch (this._deactivateTween(), this._filter_status = _ide, _ide) { case 1: this._img.texture = _i8f.ORGANIZE_FILTER.getTexture(0), this._activateTween(); break; case 2: this._img.texture = _i8f.ORGANIZE_FILTER.getTexture(1); break; case 3: this._img.texture = _i8f.ORGANIZE_FILTER.getTexture(2); } }, _id3.prototype._activateTween = function() { var _idg = null; null == this._t && (this._img_light.alpha = 0, this._t = createjs.Tween.get(this._img_light, { 'loop': !0 }).to({ 'alpha': 1 }, 600).to({ 'alpha': 0 }, 600)); }, _id3.prototype._deactivateTween = function() { var _idh = null, _idi; null === (_idi = this._t) || void 0 === _idi || _idi.setPaused(!0), this._t = null, this._img_light.alpha = 0; }, _id3; }(PIXI.Container), _ib7 = function(_idj) { var _idk = null; function _idl() { var _idm = null, _idn = _idj.call(this) || this; return _idn.texture = _i8e.COMMON_MAIN.getTexture(44), _idn.alpha = 0, _idn._play(), _idn; } return _i7b(_idl, _idj), _idl.prototype._play = function() { var _ido = null, _idp = this; return createjs.Tween.get(this).wait(1500 * Math.random() + 500).to({ 'alpha': 1 }, 150).to({ 'alpha': 0 }, 150).call(function() { var _idq = null; _idp._play(); }); }, _idl.prototype.dispose = function() { var _idr = null; createjs.Tween.get(this).setPaused(!0), createjs.Tween.removeTweens(this); }, _idl; }(PIXI.Sprite); }, 89173: function(_ids, _idt, _idu) { 'use strict'; var _idv = null; var _idw, _idx = this && this.__extends || (_idw = function(_idy, _idz) { var _ie0 = null; return _idw = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ie1, _ie2) { var _ie3 = null; _ie1.__proto__ = _ie2; } || function(_ie4, _ie5) { var _ie6 = null; for (var _ie7 in _ie5) Object.prototype.hasOwnProperty.call(_ie5, _ie7) && (_ie4[_ie7] = _ie5[_ie7]); }, _idw(_idy, _idz); }, function(_ie8, _ie9) { var _iea = null; if ('function' != typeof _ie9 && null !== _ie9) throw new TypeError('Class extends value ' + String(_ie9) + ' is not a constructor or null'); function _ieb() { var _iec = null; this.constructor = _ie8; } _idw(_ie8, _ie9), _ie8.prototype = null === _ie9 ? Object.create(_ie9) : (_ieb.prototype = _ie9.prototype, new _ieb()); }); defineModule(_idt); Object.defineProperty(_idt, '__esModule', { 'value': !0 }), _idt.ShipDetailView = void 0; var _ied = _idu(87397), _iee = _idu(17733), _ief = _idu(79522), _ieg = _idu(8744), _ieh = _idu(90054), _iei = _idu(11997), _iej = _idu(67270), _iek = _idu(25125), _iel = _idu(34738), _iem = _idu(14921), _ien = function(_ieo) { var _iep = null; function _ieq() { var _ier = null, _ies = _ieo.call(this) || this, _iet = new PIXI.Sprite(); _iet.texture = _ieh.COMMON_MAIN.getTexture(67), _iet.position.set(0, -37); var _ieu = new PIXI.Sprite(_ieh.COMMON_MAIN.getTexture(2)); _ieu.position.set(22, Math.floor(_iet.height / 2 - 4)), _ieu.anchor.set(0, 0.5), _iet.addChild(_ieu), _ies.textName = new _ieg.TextBox(25, 5523516), _ies.textLevel = new _ieg.TextBox(28, 5523516), _ies.textHp = new _ieg.TextBox(15, 5523516), _ies.rateView = new _ief.StarRateView(), _ies.slotItemSlotContainer = new _iel.SlotItemSlotContainer(5), _ies.extraSlotItemViewContainer = new _iel.SlotItemSlotContainer(1), _ies.hpGaugeView = new _ied.HpGaugeView(), _ies.shipParameterView = new _iek.ShipParameterView(), _ies.expGaugeView = new _iej.ExpGaugeView(), _ies.textExp = new _ieg.TextBox(16, 5523516); var _iev = new PIXI.Sprite(_iei.COMMON_MISC.getTexture(186)); _ies.remodelMaxMedal = new PIXI.Sprite(_ieh.COMMON_MAIN.getTexture(29)); var _iew = new PIXI.Sprite(_ieh.COMMON_MAIN.getTexture(68)); _ies.shipCard = new _iee.ShipCard(!0, !0), _ies.sixSlotMessage = new PIXI.Sprite(_ieh.COMMON_MAIN.getTexture(69)); var _iex = new PIXI.Sprite(_ieh.COMMON_MAIN.getTexture(13)); _ies.containerName = new PIXI.Container(), _ies.containerName.position.set(42, 23); var _iey = _iem.CreateRect.gradientLeftToRight(185, 45, 0.94, 0.95); return _ies.containerName.mask = _iey, _ies.containerName.addChild(_ies.textName, _iey), _ies.textLevel.anchor.x = 1, _ies.slotItemSlotContainer.position.set(51, 100), _ies.extraSlotItemViewContainer.position.set(405, 516), _iev.position.set(229, 30), _iew.position.set(364, 478), _ies.shipParameterView.position.set(51, 351), _ies.hpGaugeView.position.set(43, 72), _ies.textHp.position.set(152, 68), _ies.rateView.position.set(228, 72), _ies.expGaugeView.position.set(451, 481), _ies.textLevel.position.set(321, 24), _ies.remodelMaxMedal.position.set(322, 19), _ies.textExp.position.set(465, 493), _ies.textExp.anchor.x = 1, _ies.shipCard.position.set(369, 25), _ies.sixSlotMessage.position.set(531, 499), _ies.addChild(_iex, _ies.containerName, _ies.textLevel, _ies.hpGaugeView, _ies.textHp, _ies.expGaugeView, _ies.rateView, _ies.slotItemSlotContainer, _ies.extraSlotItemViewContainer, _ies.shipParameterView, _ies.shipCard, _iew, _iev, _ies.textExp, _ies.sixSlotMessage, _ies.remodelMaxMedal, _iet), _ies; } return _idx(_ieq, _ieo), _ieq.prototype.dispose = function() { var _iez = null; this.removeChildren(), this.hpGaugeView.dispose(), this.expGaugeView.dispose(), this.shipParameterView.dispose(), this.slotItemSlotContainer.dispose(), this.rateView.dispose(), this.extraSlotItemViewContainer.dispose(), this.shipCard.dispose(), this.containerName.removeChildren(), this.containerName.mask = null, this.textName.destroy(), this.textLevel.destroy(), this.textHp.destroy(), this.textExp.destroy(), this.hpGaugeView = null, this.expGaugeView = null, this.shipParameterView = null, this.slotItemSlotContainer = null, this.rateView = null, this.extraSlotItemViewContainer = null, this.shipCard = null, this.textName = null, this.textLevel = null, this.textHp = null, this.textExp = null, this.remodelMaxMedal = null, this.sixSlotMessage = null, this.containerName = null; }, _ieq.prototype.updateBox1 = function(_if0, _if1, _if2, _if3, _if4, _if5) { var _if6 = null; this.textName.text = _if0, this.textHp.text = _if2 + '/' + _if3, this.hpGaugeView.update(_if2, _if3), this.rateView.update(_if4), this.textLevel.text = _if1.toString(), this.remodelMaxMedal.visible = !!_if5; }, _ieq.prototype.updateBox2 = function(_if7, _if8) { var _if9 = null; this.slotItemSlotContainer.updateSlot(_if7, _if8); }, _ieq.prototype.updateBox3 = function(_ifa, _ifb, _ifc, _ifd, _ife, _iff, _ifg, _ifh, _ifi, _ifj, _ifk, _ifl, _ifm, _ifn, _ifo, _ifp) { var _ifq = null; this.shipParameterView.update(_ifa, _ifb, _ifc, _ifd, _ife, _iff, _ifg, _ifh, _ifi, _ifj, _ifk, _ifl, _ifm, _ifn, _ifo, _ifp); }, _ieq.prototype.updateBox4 = function(_ifr, _ifs, _ift) { var _ifu = null; this.expGaugeView.update(_ifr.expNowRate), this.textExp.text = _ifr.expNextLevel.toString(), _ift ? (this.extraSlotItemViewContainer.updateExSlot(_ifs), this.extraSlotItemViewContainer.visible = !0, this.sixSlotMessage.visible = !0) : (this.extraSlotItemViewContainer.visible = !1, this.sixSlotMessage.visible = !1); }, _ieq.prototype.updateBox5 = function(_ifv, _ifw) { var _ifx = null; this.shipCard.update(_ifv, _ifw); }, _ieq; }(PIXI.Container); _idt.ShipDetailView = _ien; }, 27793: function(_ify, _ifz, _ig0) { 'use strict'; var _ig1 = null; var _ig2, _ig3 = this && this.__extends || (_ig2 = function(_ig4, _ig5) { var _ig6 = null; return _ig2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ig7, _ig8) { var _ig9 = null; _ig7.__proto__ = _ig8; } || function(_iga, _igb) { var _igc = null; for (var _igd in _igb) Object.prototype.hasOwnProperty.call(_igb, _igd) && (_iga[_igd] = _igb[_igd]); }, _ig2(_ig4, _ig5); }, function(_ige, _igf) { var _igg = null; if ('function' != typeof _igf && null !== _igf) throw new TypeError('Class extends value ' + String(_igf) + ' is not a constructor or null'); function _igh() { var _igi = null; this.constructor = _ige; } _ig2(_ige, _igf), _ige.prototype = null === _igf ? Object.create(_igf) : (_igh.prototype = _igf.prototype, new _igh()); }), _igj = this && this.__importDefault || function(_igk) { var _igl = null; return _igk && _igk.__esModule ? _igk : { 'default': _igk }; }; defineModule(_ifz); Object.defineProperty(_ifz, '__esModule', { 'value': !0 }), _ifz.ShipDragging = void 0; var _igm = _igj(_ig0(18622)), _ign = _ig0(35380), _igo = _ig0(79899), _igp = _ig0(96965), _igq = []; _igp.ShipAreaPosition.forEach(function(_igr) { var _igs = null; _igq.push([_igr[0] + _igp.ShipOffsetPosition[0], _igr[1] + _igp.ShipOffsetPosition[1]]); }); var _igt = function(_igu) { var _igv = null; function _igw(_igx, _igy, _igz, _ih0, _ih1, _ih2) { var _ih3 = null, _ih4 = _igu.call(this, 0) || this; return _ih4._beforeIndex = _igx, _ih4._memShipId = _igy, _ih4._maskMax = _igz, _ih4._inDragging = _ih0, _ih4._cbOnDrop = _ih1, _ih4._end = _ih2, _ih4._drag = null, _ih4._shipSlotMaskLayers = [], _ih4._afterIndex = -1, _ih4._onMove = function(_ih5) { var _ih6 = null, _ih7 = _ih5.data.global; if (null == _ih4._drag) { _ih4._inDragging(!0), _ih4._drag = new PIXI.Container(); for (var _ih8 = 0; _ih8 < _ih4._maskMax; _ih8++) { var _ih9 = new PIXI.Graphics(); _ih9.beginFill(16777215, 0.6).moveTo(0, 15).lineTo(14.5, 0).lineTo(480, 0).lineTo(495.5, 17.5).lineTo(495.5, 141).lineTo(480, 158).lineTo(14, 158).lineTo(0, 143).lineTo(0, 15).endFill(), _ih9.alpha = 0, _ih9.hitArea = new PIXI.Rectangle(0, 0, _ih9.width, _ih9.height); var _iha = _igq[_ih8]; _ih9.position.set(_iha[0], _iha[1]), _ih4._drag.addChild(_ih9), _ih4._shipSlotMaskLayers.push(_ih9); } _ih4._shipSlotMaskLayers[_ih4._beforeIndex].alpha = 1; var _ihb = _igm.default.model.ship.get(_ih4._memShipId); _ih4._shipBanner = new PIXI.Sprite(), _ih4._shipBanner.anchor.set(0.5), _ih4._shipBanner.texture = _igm.default.resources.getShip(_ihb.mstID, _ihb.isDamaged(), 'banner'), _ih4._shipBanner.position.set(_ih7.x, _ih7.y), _ih4._drag.addChild(_ih4._shipBanner), _ih4._afterIndex = _ih4._beforeIndex, _ih4.addChild(_ih4._drag); } else { _ih4._shipBanner.position.set(_ih7.x, _ih7.y); for (var _ihc = -1, _ihd = (_ih8 = 0, _ih4._shipSlotMaskLayers.length); _ih8 < _ihd; _ih8++) { var _ihe = _ih4._shipSlotMaskLayers[_ih8], _ihf = _ih5.data.getLocalPosition(_ihe); 1 == _ihe.hitArea.contains(_ihf.x, _ihf.y) ? (_ihe.alpha = 1, _ihc = _ih8) : _ihe.alpha = 0; } _ih4._afterIndex = _ihc; } }, _ih4._onOut = function() { var _ihg = null; _ih4._inDragging(!1), _ih4._dispose(); }, _ih4._onUp = function() { var _ihh = null; _ih4._inDragging(!1), null != _ih4._drag ? (_ih4._cbOnDrop(_ih4._beforeIndex, _ih4._afterIndex, _ih4._memShipId), _ih4._dispose()) : _ih4._dispose(); }, _ih4.on(_ign.EventType.MOUSEMOVE, _ih4._onMove), _ih4.on(_ign.EventType.MOUSEOUT, _ih4._onOut), _ih4.on(_ign.EventType.MOUSEUP, _ih4._onUp), _ih4; } return _ig3(_igw, _igu), _igw.prototype._dispose = function() { var _ihi = null; this.off(_ign.EventType.MOUSEMOVE, this._onMove), this.off(_ign.EventType.MOUSEOUT, this._onOut), this.off(_ign.EventType.MOUSEUP, this._onUp), this.interactive = !1, null != this._drag && this._drag.removeChildren(), this._shipBanner = null, this._shipSlotMaskLayers.forEach(function(_ihj) { null; }), this._shipSlotMaskLayers = null, this.removeChildren(), this._drag = null, this._inDragging = null, this._cbOnDrop = null, this._end(); }, _igw; }(_igo.AreaBox); _ifz.ShipDragging = _igt; }, 1369: function(_ihk, _ihl, _ihm) { 'use strict'; var _ihn = null; var _iho, _ihp = this && this.__extends || (_iho = function(_ihq, _ihr) { var _ihs = null; return _iho = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_iht, _ihu) { var _ihv = null; _iht.__proto__ = _ihu; } || function(_ihw, _ihx) { var _ihy = null; for (var _ihz in _ihx) Object.prototype.hasOwnProperty.call(_ihx, _ihz) && (_ihw[_ihz] = _ihx[_ihz]); }, _iho(_ihq, _ihr); }, function(_ii0, _ii1) { var _ii2 = null; if ('function' != typeof _ii1 && null !== _ii1) throw new TypeError('Class extends value ' + String(_ii1) + ' is not a constructor or null'); function _ii3() { var _ii4 = null; this.constructor = _ii0; } _iho(_ii0, _ii1), _ii0.prototype = null === _ii1 ? Object.create(_ii1) : (_ii3.prototype = _ii1.prototype, new _ii3()); }); defineModule(_ihl); Object.defineProperty(_ihl, '__esModule', { 'value': !0 }), _ihl.ShipInfo = void 0; var _ii5 = _ihm(79522), _ii6 = _ihm(87397), _ii7 = _ihm(8744), _ii8 = _ihm(37638), _ii9 = _ihm(74623), _iia = _ihm(67270), _iib = function(_iic) { var _iid = null; function _iie() { var _iif = null, _iig = _iic.call(this) || this, _iih = _ii9.ORGANIZE_MAIN.getTexture(30); _iig.background = new PIXI.Sprite(_iih), (_iig.textHp = new _ii7.TextBox(15, 'white'), _iig.textLv = new _ii7.TextBox(21, 'white'), _iig.textHougeki = new _ii7.TextBox(15, 'white'), _iig.textTaiku = new _ii7.TextBox(15, 'white'), _iig.textRaigeki = new _ii7.TextBox(15, 'white'), _iig.textSoukou = new _ii7.TextBox(15, 'white'), _iig.shipBanner = new _ii8.ShipBanner(), _iig.rateView = new _ii5.StarRateView(), _iig.hpGaugeView = new _ii6.HpGaugeView(), _iig.expGaugeView = new _iia.ExpGaugeView(), _iig.textHp.anchor.set(1, 0), _iig.textHp.position.set(229, 64), _iig.textLv.anchor.set(1, 0), _iig.textLv.position.set(237, 20), _iig.shipBanner.position.set(244, 18), _iig.textHougeki.anchor.set(1, 0), _iig.textHougeki.position.set(117, 90), _iig.textRaigeki.position.set(117, 120), _iig.textRaigeki.anchor.set(1, 0), _iig.textTaiku.position.set(232, 90), _iig.textTaiku.anchor.set(1, 0), _iig.textSoukou.position.set(232, 120), _iig.textSoukou.anchor.set(1, 0), _iig.rateView.position.set(18, 63), _iig.hpGaugeView.position.set(132, 54), _iig.expGaugeView.position.set(241, 87), _iig.containerName = new PIXI.Container()); var _iii = new PIXI.Graphics(); return _iig.textName = new _ii7.TextBox(35, 'white'), _iii.beginFill(0, 0), _iii.drawRect(0, 0, 105, 72), _iii.endFill(), _iig.containerName.position.set(23, 18), _iig.containerName.mask = _iii, _iig.containerName.addChild(_iig.textName), _iig.containerName.addChild(_iii), _iig.background.interactive = !0, _iig.addChild(_iig.background, _iig.hpGaugeView, _iig.expGaugeView, _iig.rateView, _iig.textHp, _iig.textLv, _iig.containerName, _iig.textHougeki, _iig.textTaiku, _iig.textRaigeki, _iig.textSoukou, _iig.shipBanner), _iig; } return _ihp(_iie, _iic), _iie.prototype.dispose = function() { var _iij = null; this.removeChildren(), this.hpGaugeView.dispose(), this.expGaugeView.dispose(), this.rateView.dispose(), this.shipBanner.dispose(), this.containerName.removeChildren(), this.containerName.mask = null, this.textHp.destroy(), this.textLv.destroy(), this.textName.destroy(), this.textHougeki.destroy(), this.textTaiku.destroy(), this.textRaigeki.destroy(), this.textSoukou.destroy(), this.containerName = null, this.hpGaugeView = null, this.expGaugeView = null, this.rateView = null, this.shipBanner = null, this.textHp = null, this.textLv = null, this.textName = null, this.textHougeki = null, this.textTaiku = null, this.textRaigeki = null, this.textSoukou = null, this.background = null; }, _iie.prototype._updateName_ = function(_iik, _iil) { var _iim = null; this.textName.style.fill = _iil ? 16766947 : 'white', this.textName.text = _iik; }, _iie.prototype.update = function(_iin, _iio) { var _iip = null; this.shipBanner.update(_iin, _iio), this.shipBanner.updatePlate(_iin.label), this.textHougeki.text = _iin.karyoku.toString(), this.textTaiku.text = _iin.taiku.toString(), this.textRaigeki.text = _iin.raisou.toString(), this.textSoukou.text = _iin.soukou.toString(), this._updateName_(_iin.name, _iin.isMarriage()), this.textHp.text = _iin.hpNow + '/' + _iin.hpMax, this.background.interactive = !0, this.textLv.text = _iin.level.toString(), this.textHp.text = _iin.hpNow + '/' + _iin.hpMax, this.rateView.update(_iin.starNum), this.hpGaugeView.update(_iin.hpNow, _iin.hpMax), this.expGaugeView.update(_iin.expNowRate); }, _iie; }(PIXI.Container); _ihl.ShipInfo = _iib; }, 25125: function(_iiq, _iir, _iis) { 'use strict'; var _iit = null; var _iiu, _iiv = this && this.__extends || (_iiu = function(_iiw, _iix) { var _iiy = null; return _iiu = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_iiz, _ij0) { var _ij1 = null; _iiz.__proto__ = _ij0; } || function(_ij2, _ij3) { var _ij4 = null; for (var _ij5 in _ij3) Object.prototype.hasOwnProperty.call(_ij3, _ij5) && (_ij2[_ij5] = _ij3[_ij5]); }, _iiu(_iiw, _iix); }, function(_ij6, _ij7) { var _ij8 = null; if ('function' != typeof _ij7 && null !== _ij7) throw new TypeError('Class extends value ' + String(_ij7) + ' is not a constructor or null'); function _ij9() { var _ija = null; this.constructor = _ij6; } _iiu(_ij6, _ij7), _ij6.prototype = null === _ij7 ? Object.create(_ij7) : (_ij9.prototype = _ij7.prototype, new _ij9()); }); defineModule(_iir); Object.defineProperty(_iir, '__esModule', { 'value': !0 }), _iir.ShipParameterView = void 0; var _ijb = _iis(74568), _ijc = _iis(90054), _ijd = function(_ije) { var _ijf = null; function _ijg() { var _ijh = null, _iji = _ijc.COMMON_MAIN.getTexture(16); return _ije.call(this, _iji) || this; } return _iiv(_ijg, _ije), _ijg.prototype.dispose = function() { var _ijj = null; _ije.prototype.dispose.call(this); }, _ijg.prototype.update = function(_ijk, _ijl, _ijm, _ijn, _ijo, _ijp, _ijq, _ijr, _ijs, _ijt, _iju, _ijv, _ijw, _ijx, _ijy, _ijz) { var _ik0 = null; this._sokuryoku.update(_ijo), this._textHp.text = _ijk.toString(), this._textSoukou.text = _ijl.toString(), this._textKaihi.text = _ijm.toString(), this._textTousai.text = _ijn.toString(), this._shatei.update(_ijp), this._textKaryoku.text = _ijq.toString(), this._textRaisou.text = _ijr.toString(), this._textTaiku.text = _ijs.toString(), this._textTaisen.text = _ijt.toString(), this._textSakuteki.text = _iju.toString(), this._textLucky.text = _ijv.toString(), this._updateSp(_ijw, _ijx, _ijy, _ijz), this._sokuryoku.position.set(113 - Math.floor(this._sokuryoku.width / 2), 143), this._shatei.position.set(113 - Math.floor(this._shatei.width / 2), 177); }, _ijg.prototype._updateSp = function(_ik1, _ik2, _ik3, _ik4) { var _ik5 = null; this._karyokuSp.update(_ik1), this._raisouSp.update(_ik2), this._soukouSp.update(_ik3), this._kaihiSp.update(_ik4); }, _ijg.prototype._alignment = function() { var _ik6 = null; this._textHp.position.set(137, 3), this._textSoukou.position.set(137, 38), this._textKaihi.position.set(137, 72), this._textTousai.position.set(137, 107), this._sokuryoku.position.set(116, 143), this._shatei.position.set(116, 177), this._textKaryoku.position.set(285, 3), this._textRaisou.position.set(285, 38), this._textTaiku.position.set(285, 72), this._textTaisen.position.set(285, 107), this._textSakuteki.position.set(285, 141), this._textLucky.position.set(285, 176), this._karyokuSp.position.set(281, 19), this._raisouSp.position.set(281, 53), this._soukouSp.position.set(130, 53), this._kaihiSp.position.set(130, 87); }, _ijg; }(_ijb.ShipParameterViewBase); _iir.ShipParameterView = _ijd; }, 44233: function(_ik7, _ik8, _ik9) { 'use strict'; var _ika = null; var _ikb, _ikc = this && this.__extends || (_ikb = function(_ikd, _ike) { var _ikf = null; return _ikb = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ikg, _ikh) { var _iki = null; _ikg.__proto__ = _ikh; } || function(_ikj, _ikk) { var _ikl = null; for (var _ikm in _ikk) Object.prototype.hasOwnProperty.call(_ikk, _ikm) && (_ikj[_ikm] = _ikk[_ikm]); }, _ikb(_ikd, _ike); }, function(_ikn, _iko) { var _ikp = null; if ('function' != typeof _iko && null !== _iko) throw new TypeError('Class extends value ' + String(_iko) + ' is not a constructor or null'); function _ikq() { var _ikr = null; this.constructor = _ikn; } _ikb(_ikn, _iko), _ikn.prototype = null === _iko ? Object.create(_iko) : (_ikq.prototype = _iko.prototype, new _ikq()); }), _iks = this && this.__createBinding || (Object.create ? function(_ikt, _iku, _ikv, _ikw) { var _ikx = null; void 0 === _ikw && (_ikw = _ikv); var _iky = Object.getOwnPropertyDescriptor(_iku, _ikv); _iky && !('get' in _iky ? !_iku.__esModule : _iky.writable || _iky.configurable) || (_iky = { 'enumerable': !0, 'get': function() { return _iku[_ikv]; } }), Object.defineProperty(_ikt, _ikw, _iky); } : function(_ikz, _il0, _il1, _il2) { void 0 === _il2 && (_il2 = _il1), _ikz[_il2] = _il0[_il1]; }), _il3 = this && this.__setModuleDefault || (Object.create ? function(_il4, _il5) { var _il6 = null; Object.defineProperty(_il4, 'default', { 'enumerable': !0, 'value': _il5 }); } : function(_il7, _il8) { var _il9 = null; _il7.default = _il8; }), _ila = this && this.__importStar || function(_ilb) { var _ilc = null; if (_ilb && _ilb.__esModule) return _ilb; var _ild = {}; if (null != _ilb) { for (var _ile in _ilb) 'default' !== _ile && Object.prototype.hasOwnProperty.call(_ilb, _ile) && _iks(_ild, _ilb, _ile); } return _il3(_ild, _ilb), _ild; }; defineModule(_ik8); Object.defineProperty(_ik8, '__esModule', { 'value': !0 }), _ik8.ShipSlot = void 0; var _ilf = _ila(_ik9(31000)), _ilg = _ik9(1369), _ilh = _ik9(3749), _ili = _ik9(66285), _ilj = _ik9(768), _ilk = _ik9(35380), _ill = function(_ilm) { var _iln = null; function _ilo(_ilp) { var _ilq = null, _ilr = _ilm.call(this) || this; _ilr._onMouseDown = function() { var _ils = null; _ilr.onDragging(_ilr.slotPosition, _ilr.memShipId); }, _ilr.___onMouseDown = function(_ilt) { var _ilu = null; _ilr.onMouseDown(_ilr.slotPosition, _ilr.slotNo, _ilr.memShipId); }, _ilr._onClickChange = function() { var _ilv = null; _ilr.onClickChange(_ilr.slotPosition, _ilr.slotNo); }, _ilr._onClickDetail = function() { var _ilw = null; _ilr.onClickDetail(_ilr.memShipId); }, _ilr.shipSlotShutter = new _ilh.ShipSlotShutter(), _ilr.shipInfo = new _ilg.ShipInfo(), _ilr.deckIndexEmblem = new _ili.DeckIndexEmblem(); var _ilx = _ilf.ORGANIZE_MAIN.getTexture(23), _ily = _ilf.ORGANIZE_MAIN.getTexture(24), _ilz = _ilf.ORGANIZE_MAIN.getTexture(25), _im0 = _ilf.ORGANIZE_MAIN.getTexture(9), _im1 = _ilf.ORGANIZE_MAIN.getTexture(10); return _ilr.disableChangeButton = new PIXI.Sprite(_ilx), _ilr.changeButton = new _ilj.SimpleButton(_ily, _ilz), _ilr.detailButton = new _ilj.SimpleButton(_im0, _im1), _ilr.shipBannerDragArea = new PIXI.Graphics(), _ilr.shipBannerDragArea.beginFill(0, 0), _ilr.shipBannerDragArea.drawRect(0, 0, 240, 60), _ilr.shipBannerDragArea.endFill(), _ilr.shipBannerDragArea.position.set(245, 18), _ilr.shipBannerDragArea.interactive = !0, _ilr.shipBannerDragArea.buttonMode = !0, _ilr.shipBannerDragArea.renderable = !1, _ilr.shipBannerDragArea.on(_ilk.EventType.MOUSEDOWN, _ilr._onMouseDown), _ilr.changeButton.onClick = _ilr._onClickChange, _ilr.detailButton.onClick = _ilr._onClickDetail, _ilr.disableChangeButton.position.set(379, 103), _ilr.changeButton.position.set(379, 103), _ilr.detailButton.position.set(250, 103), _ilr.deckIndexEmblem.position.set(-15, 0), _ilr.slotPosition = _ilp, _ilr; } return _ikc(_ilo, _ilm), _ilo.prototype.activate = function(_im2, _im3, _im4) { var _im5 = null; this.deactivate(), this.onDragging = _im2, this.onClickChange = _im3, this.onClickDetail = _im4; }, _ilo.prototype.deactivate = function() { var _im6 = null; this.onDragging = null, this.onClickChange = null, this.onClickDetail = null; }, _ilo.prototype.dispose = function() { var _im7 = null; this.deactivate(), this.shipBannerDragArea.off(_ilk.EventType.MOUSEDOWN, this._onMouseDown), this.shipSlotShutter.dispose(), this.shipInfo.dispose(), this.deckIndexEmblem.dispose(), this.changeButton.dispose(), this.shipSlotShutter = null, this.shipInfo = null, this.deckIndexEmblem = null, this.changeButton = null, this.removeChildren(); }, _ilo.prototype.update = function(_im8, _im9, _ima) { var _imb = null; this.removeChildren(); var _imc = _im9.memID; this.shipInfo.update(_im9, _ima), this.deckIndexEmblem.update(_im8), _ima ? (this.addChild(this.shipInfo), this.addChild(this.deckIndexEmblem, this.disableChangeButton, this.detailButton), this.addChild(this.shipSlotShutter)) : (this.addChild(this.shipInfo), this.addChild(this.deckIndexEmblem), this.addChild(this.changeButton, this.detailButton), this.addChild(this.shipBannerDragArea), this.addChild(this.shipSlotShutter)), this.memShipId = _imc, this.slotNo = _im8; }, _ilo.prototype.close = function() { var _imd = null; this.shipSlotShutter.close(), this.deckIndexEmblem.visible = !1; }, _ilo.prototype.closeAnimation = function(_ime, _imf) { var _img = null; void 0 === _imf && (_imf = 250), this.deckIndexEmblem.visible = !1, this.shipSlotShutter.closeAnimation(function() { _ime(); }, _imf); }, _ilo.prototype.open = function() { var _imh = null; this.deckIndexEmblem.visible = !0, this.shipSlotShutter.open(); }, _ilo.prototype.openAnimation = function(_imi, _imj) { var _imk = null, _iml = this; void 0 === _imj && (_imj = 250), this.shipSlotShutter.openAnimation(function() { var _imm = null; _iml.deckIndexEmblem.visible = !0, _imi(); }, _imj); }, _ilo.prototype.updateEmpty = function(_imn, _imo) { var _imp = null; this.removeChildren(), this.memShipId = null, this.slotNo = _imn, _imo ? (this.addChild(this.shipSlotShutter), this.addChild(this.changeButton)) : this.addChild(this.shipSlotShutter); }, _ilo; }(PIXI.Container); _ik8.ShipSlot = _ill; }, 39559: function(_imq, _imr, _ims) { 'use strict'; var _imt = null; var _imu, _imv = this && this.__extends || (_imu = function(_imw, _imx) { var _imy = null; return _imu = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_imz, _in0) { var _in1 = null; _imz.__proto__ = _in0; } || function(_in2, _in3) { var _in4 = null; for (var _in5 in _in3) Object.prototype.hasOwnProperty.call(_in3, _in5) && (_in2[_in5] = _in3[_in5]); }, _imu(_imw, _imx); }, function(_in6, _in7) { var _in8 = null; if ('function' != typeof _in7 && null !== _in7) throw new TypeError('Class extends value ' + String(_in7) + ' is not a constructor or null'); function _in9() { var _ina = null; this.constructor = _in6; } _imu(_in6, _in7), _in6.prototype = null === _in7 ? Object.create(_in7) : (_in9.prototype = _in7.prototype, new _in9()); }), _inb = this && this.__importDefault || function(_inc) { var _ind = null; return _inc && _inc.__esModule ? _inc : { 'default': _inc }; }; defineModule(_imr); Object.defineProperty(_imr, '__esModule', { 'value': !0 }), _imr.ShipSlotLayer = void 0; var _ine = _inb(_ims(18622)), _inf = _ims(90268), _ing = _ims(35837), _inh = _ims(44233), _ini = _ims(96965), _inj = _ims(31000), _ink = function(_inl) { var _inm = null; function _inn() { var _ino = null, _inp = _inl.call(this) || this; _inp.SLOT_MAX = 6, _inp.shipSlots = []; for (var _inq = 0; _inq < _inp.SLOT_MAX; _inq++) { var _inr = new _inh.ShipSlot(_inq), _ins = _ini.ShipOffsetPosition[0] + _ini.ShipAreaPosition[_inq][0], _int = _ini.ShipOffsetPosition[1] + _ini.ShipAreaPosition[_inq][1]; _inr.position.set(_ins, _int), _inp.shipSlots.push(_inr); } return _inp._text_third_unit = new PIXI.Sprite(_inj.ORGANIZE_MAIN.getTexture(34)), _inp._text_third_unit.position.set(769, 582), _inp._text_third_unit.visible = !1, _inp.arrowTopButton = new _ing.ArrowButton(!1), _inp.arrowBottomButton = new _ing.ArrowButton(!0), _inp.addChild(_inp.shipSlots[1], _inp.shipSlots[3], _inp.shipSlots[5], _inp.shipSlots[0], _inp.shipSlots[2], _inp.shipSlots[4]), _inp.addChild(_inp._text_third_unit), _inp; } return _imv(_inn, _inl), Object.defineProperty(_inn.prototype, 'ShipSlots', { 'get': function() { var _inu = null; return this.shipSlots; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_inn.prototype, 'ArrowTopButton', { 'get': function() { var _inv = null; return this.arrowTopButton; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_inn.prototype, 'ArrowBottomButton', { 'get': function() { var _inw = null; return this.arrowBottomButton; }, 'enumerable': !1, 'configurable': !0 }), _inn.prototype.dispose = function() { var _inx = null; this.removeChildren(); for (var _iny = 0; _iny < this.shipSlots.length; _iny++) this.shipSlots[_iny].dispose(), this.shipSlots[_iny] = null; this.shipSlots = null, this.arrowTopButton.dispose(), this.arrowTopButton = null, this.arrowBottomButton.dispose(), this.arrowBottomButton = null, this._text_third_unit.destroy(), this._text_third_unit = null, this.taskShipDetail && this.taskShipDetail.dispose(), this.taskShipDetail = null; }, _inn.prototype.init = function(_inz, _io0, _io1) { var _io2 = null; this.shipSlots.forEach(function(_io3) { var _io4 = null; _io3.activate(_inz, _io0, _io1); }); }, _inn.prototype.initArrow = function(_io5) { var _io6 = null; this.arrowTopButton.position.set(686, 220), this.arrowBottomButton.position.set(683, 663), this.arrowTopButton.initialize(function() { _io5 && _io5(-2); }), this.arrowBottomButton.initialize(function() { _io5 && _io5(2); }); }, _inn.prototype.show = function() { var _io7 = null; this.visible = !0; }, _inn.prototype.hide = function() { var _io8 = null; this.visible = !1; }, _inn.prototype.update = function(_io9, _ioa) { var _iob = null; for (var _ioc = _ine.default.model.deck.get(_io9), _iod = null != _ioc.expedition, _ioe = _ioc.getCount(), _iof = _ioc.getShipList().length, _iog = 0; _iog < this.shipSlots.length; _iog++) { var _ioh = this.shipSlots[_iog], _ioi = _iog + _ioa, _ioj = _ioc.getShipModel(_ioi); if (_ioh.visible = !1, _ioj) _ioh.visible = !0, _ioh.update(_ioi, _ioj, _iod), _ioh.open(); else { if (_ioi < _iof) { var _iok = 0 == _iod && _ioe < _iof && _ioi == _ioe; _ioh.visible = !0, _ioh.updateEmpty(_ioi, _iok), _ioh.close(); } } } this.arrowBottomButton.visible = !1, this.arrowTopButton.visible = !1, this.arrowBottomButton.deactivate(), this.arrowTopButton.deactivate(), this._text_third_unit.visible = !1, 0 < _ioa && (this.arrowTopButton.visible = !0, this.arrowTopButton.activate(), this._text_third_unit.visible = !0), this.shipSlots.length + _ioa < _iof && (this.arrowBottomButton.visible = !0, this.arrowBottomButton.activate(), this._text_third_unit.visible = !1); }, _inn.prototype.shutterAnimation = function(_iol, _iom, _ion) { var _ioo = null, _iop = this.shipSlots[_iol]; _iop.closeAnimation(function() { var _ioq = null; _iom && _iom(), _iop.close(), createjs.Tween.get(null).wait(100).call(function() { var _ior = null; _iop.openAnimation(function() { _ion && _ion(); }, 200); }); }, 200); }, _inn.prototype.onShipDetail = function(_ios, _iot, _iou) { var _iov = null, _iow = this; this.taskShipDetail = new _inf.TaskShipDetail(_iot), this.taskShipDetail.onClickBack = function() { var _iox = null; _iow.taskShipDetail.hide(function() { var _ioy = null; _iow.taskShipDetail.dispose(), _iow.taskShipDetail = null, _iou && _iou(); }); }, this.taskShipDetail.start(_ios); }, _inn; }(PIXI.Container); _imr.ShipSlotLayer = _ink; }, 3749: function(_ioz, _ip0, _ip1) { 'use strict'; var _ip2 = null; var _ip3, _ip4 = this && this.__extends || (_ip3 = function(_ip5, _ip6) { var _ip7 = null; return _ip3 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ip8, _ip9) { var _ipa = null; _ip8.__proto__ = _ip9; } || function(_ipb, _ipc) { var _ipd = null; for (var _ipe in _ipc) Object.prototype.hasOwnProperty.call(_ipc, _ipe) && (_ipb[_ipe] = _ipc[_ipe]); }, _ip3(_ip5, _ip6); }, function(_ipf, _ipg) { var _iph = null; if ('function' != typeof _ipg && null !== _ipg) throw new TypeError('Class extends value ' + String(_ipg) + ' is not a constructor or null'); function _ipi() { var _ipj = null; this.constructor = _ipf; } _ip3(_ipf, _ipg), _ipf.prototype = null === _ipg ? Object.create(_ipg) : (_ipi.prototype = _ipg.prototype, new _ipi()); }); defineModule(_ip0); Object.defineProperty(_ip0, '__esModule', { 'value': !0 }), _ip0.ShipSlotShutter = void 0; var _ipk = _ip1(31000), _ipl = function(_ipm) { var _ipn = null; function _ipo() { var _ipp = null, _ipq = _ipm.call(this) || this, _ipr = _ipk.ORGANIZE_MAIN.getTexture(31), _ips = _ipk.ORGANIZE_MAIN.getTexture(32); _ipq.frameShutterLeft = new PIXI.Sprite(_ipr), _ipq.frameShutterRight = new PIXI.Sprite(_ips); var _ipt = new PIXI.Graphics(), _ipu = new PIXI.Graphics(); return _ipt.beginFill(0, 1), _ipt.moveTo(0, 15), _ipt.lineTo(15, 0), _ipt.lineTo(247, 0), _ipt.lineTo(247, 157), _ipt.lineTo(13, 157), _ipt.lineTo(0, 142), _ipt.lineTo(0, 15), _ipt.endFill(), _ipu.beginFill(0, 1), _ipu.moveTo(0, 0), _ipu.lineTo(232, 0), _ipu.lineTo(247, 16), _ipu.lineTo(247, 141), _ipu.lineTo(231, 157), _ipu.lineTo(0, 157), _ipu.lineTo(0, 0), _ipu.endFill(), _ipu.x = _ipu.width, _ipq.frameShutterLeft.mask = _ipt, _ipq.frameShutterRight.mask = _ipu, _ipq.frameShutterRight.position.set(_ipq.frameShutterRight.width, 0), _ipq.frameShutterLeft.position.set(0, 0), _ipq.frameShutterRight.position.set(247, 0), _ipq.frameShutterLeft.interactive = !0, _ipq.frameShutterRight.interactive = !0, _ipq.addChild(_ipq.frameShutterLeft, _ipq.frameShutterRight), _ipq.addChild(_ipt, _ipu), _ipq; } return _ip4(_ipo, _ipm), _ipo.prototype.dispose = function() { var _ipv = null; this.frameShutterLeft.removeChildren(), this.frameShutterRight.removeChildren(), this.frameShutterLeft.mask = null, this.frameShutterRight.mask = null, this.frameShutterLeft = null, this.frameShutterRight = null, this.removeChildren(); }, _ipo.prototype.openAnimation = function(_ipw, _ipx) { var _ipy = null; void 0 === _ipx && (_ipx = 250), (this.frameShutterLeft.position.x = 0, createjs.Tween.get(this.frameShutterLeft).to({ 'x': -247 }, _ipx).call(function() { _ipw(); }), this.frameShutterRight.position.x = 247, createjs.Tween.get(this.frameShutterRight).to({ 'x': 494 }, _ipx)); }, _ipo.prototype.closeAnimation = function(_ipz, _iq0) { var _iq1 = null; void 0 === _iq0 && (_iq0 = 250), (this.frameShutterLeft.position.x = -247, createjs.Tween.get(this.frameShutterLeft).to({ 'x': 0 }, _iq0).call(function() { _ipz(); }), this.frameShutterRight.position.x = 494, createjs.Tween.get(this.frameShutterRight).to({ 'x': 247 }, _iq0)); }, _ipo.prototype.open = function() { var _iq2 = null; this.frameShutterLeft.x = -247, this.frameShutterRight.x = 494; }, _ipo.prototype.close = function() { var _iq3 = null; this.frameShutterLeft.x = 0, this.frameShutterRight.x = 247; }, _ipo; }(PIXI.Container); _ip0.ShipSlotShutter = _ipl; }, 56189: function(_iq4, _iq5, _iq6) { 'use strict'; var _iq7 = null; var _iq8, _iq9 = this && this.__extends || (_iq8 = function(_iqa, _iqb) { var _iqc = null; return _iq8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_iqd, _iqe) { var _iqf = null; _iqd.__proto__ = _iqe; } || function(_iqg, _iqh) { var _iqi = null; for (var _iqj in _iqh) Object.prototype.hasOwnProperty.call(_iqh, _iqj) && (_iqg[_iqj] = _iqh[_iqj]); }, _iq8(_iqa, _iqb); }, function(_iqk, _iql) { var _iqm = null; if ('function' != typeof _iql && null !== _iql) throw new TypeError('Class extends value ' + String(_iql) + ' is not a constructor or null'); function _iqn() { var _iqo = null; this.constructor = _iqk; } _iq8(_iqk, _iql), _iqk.prototype = null === _iql ? Object.create(_iql) : (_iqn.prototype = _iql.prototype, new _iqn()); }); defineModule(_iq5); Object.defineProperty(_iq5, '__esModule', { 'value': !0 }), _iq5.ShipSortButton = void 0; var _iqp = _iq6(69627), _iqq = _iq6(35380), _iqr = function(_iqs) { var _iqt = null; function _iqu() { var _iqv = null, _iqw = _iqs.call(this) || this; return _iqw._onClick = function() { var _iqx = null; _iqw.onClick(); }, _iqw.on(_iqq.EventType.CLICK, _iqw._onClick), _iqw.interactive = _iqw.buttonMode = !0, _iqw; } return _iq9(_iqu, _iqs), _iqu.prototype.dispose = function() { var _iqy = null; this.removeAllListeners(_iqq.EventType.CLICK), this.onClick = null; }, _iqu.prototype.update = function(_iqz) { var _ir0 = null; switch (_iqz) { case 1: this.texture = _iqp.ORGANIZE_FILTER.getTexture(10); break; case 4: this.texture = _iqp.ORGANIZE_FILTER.getTexture(12); break; case 3: this.texture = _iqp.ORGANIZE_FILTER.getTexture(13); break; case 2: this.texture = _iqp.ORGANIZE_FILTER.getTexture(14); break; case 5: this.texture = _iqp.ORGANIZE_FILTER.getTexture(15); break; case 6: this.texture = _iqp.ORGANIZE_FILTER.getTexture(11); } }, _iqu; }(PIXI.Sprite); _iq5.ShipSortButton = _iqr; }, 768: function(_ir1, _ir2, _ir3) { 'use strict'; var _ir4 = null; var _ir5, _ir6 = this && this.__extends || (_ir5 = function(_ir7, _ir8) { var _ir9 = null; return _ir5 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ira, _irb) { var _irc = null; _ira.__proto__ = _irb; } || function(_ird, _ire) { var _irf = null; for (var _irg in _ire) Object.prototype.hasOwnProperty.call(_ire, _irg) && (_ird[_irg] = _ire[_irg]); }, _ir5(_ir7, _ir8); }, function(_irh, _iri) { var _irj = null; if ('function' != typeof _iri && null !== _iri) throw new TypeError('Class extends value ' + String(_iri) + ' is not a constructor or null'); function _irk() { var _irl = null; this.constructor = _irh; } _ir5(_irh, _iri), _irh.prototype = null === _iri ? Object.create(_iri) : (_irk.prototype = _iri.prototype, new _irk()); }); defineModule(_ir2); Object.defineProperty(_ir2, '__esModule', { 'value': !0 }), _ir2.SimpleButton = void 0; var _irm = _ir3(35380), _irn = function(_iro) { var _irp = null; function _irq(_irr, _irs) { var _irt = null, _iru = _iro.call(this) || this; return _iru._onClick = function() { var _irv = null; _iru.onClick(); }, _iru._onMouseOut = function(_irw) { var _irx = null; _iru.onMouseOut && _iru.onMouseOut(_irw), _iru.texture = _iru.textureDefault; }, _iru._onMouseOver = function(_iry) { var _irz = null; _iru.onMouseOver && _iru.onMouseOver(_iry), _iru.texture = _iru.textureHover; }, _iru.textureDefault = _irr, _iru.textureHover = _irs, _iru.texture = _iru.textureDefault, _iru.addListener(_irm.EventType.CLICK, _iru._onClick), _iru.addListener(_irm.EventType.MOUSEOVER, _iru._onMouseOver), _iru.addListener(_irm.EventType.MOUSEOUT, _iru._onMouseOut), _iru.interactive = _iru.buttonMode = !0, _iru; } return _ir6(_irq, _iro), _irq.prototype.reset = function() { var _is0 = null; this.texture = this.textureDefault; }, _irq.prototype.dispose = function() { var _is1 = null; this.removeAllListeners(_irm.EventType.CLICK), this.removeAllListeners(_irm.EventType.MOUSEOVER), this.removeAllListeners(_irm.EventType.MOUSEOUT), this.onClick = null, this.onMouseOut = null, this.onMouseOver = null, this.textureDefault = null, this.textureHover = null, this._onClick = this._onMouseOver = this._onMouseOut = null, this.removeChildren(); }, _irq; }(PIXI.Sprite); _ir2.SimpleButton = _irn; }, 34738: function(_is2, _is3, _is4) { 'use strict'; var _is5 = null; var _is6, _is7 = this && this.__extends || (_is6 = function(_is8, _is9) { var _isa = null; return _is6 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_isb, _isc) { var _isd = null; _isb.__proto__ = _isc; } || function(_ise, _isf) { var _isg = null; for (var _ish in _isf) Object.prototype.hasOwnProperty.call(_isf, _ish) && (_ise[_ish] = _isf[_ish]); }, _is6(_is8, _is9); }, function(_isi, _isj) { var _isk = null; if ('function' != typeof _isj && null !== _isj) throw new TypeError('Class extends value ' + String(_isj) + ' is not a constructor or null'); function _isl() { var _ism = null; this.constructor = _isi; } _is6(_isi, _isj), _isi.prototype = null === _isj ? Object.create(_isj) : (_isl.prototype = _isj.prototype, new _isl()); }); defineModule(_is3); Object.defineProperty(_is3, '__esModule', { 'value': !0 }), _is3.SlotItemSlotContainer = void 0; var _isn = _is4(90054), _iso = _is4(83892), _isp = function(_isq) { var _isr = null; function _iss(_ist, _isu) { var _isv = null; void 0 === _isu && (_isu = !1); var _isw = _isq.call(this) || this; _isw.maxSlot = _ist, _isw.emptyViews = []; for (var _isx = 0; _isx < _ist; _isx++) { var _isy = new PIXI.Sprite(_isn.COMMON_MAIN.getTexture(47)); _isy.position.set(0, 47 * _isx), _isy.visible = !1, _isw.addChild(_isy), _isw.emptyViews.push(_isy); } _isw.normalViews = []; for (_isx = 0; _isx < _ist; _isx++) { var _isz = new _iso.SlotItemSlotView(_isu); _isz.position.set(0, 47 * _isx), _isz.visible = !1, _isw.addChild(_isz), _isw.normalViews.push(_isz); } return _isw; } return _is7(_iss, _isq), _iss.prototype.dispose = function() { var _it0 = null; for (var _it1 = 0; _it1 < this.normalViews.length; _it1++) this.normalViews[_it1].dispose(), this.normalViews[_it1] = null; this.maxSlot = null, this.emptyViews = null, this.normalViews = null, this.removeChildren(); }, _iss.prototype.updateSlot = function(_it2, _it3) { var _it4 = null; for (var _it5 = _it2.getSlotViewMax(), _it6 = 0; _it6 < this.maxSlot; _it6++) { var _it7 = _it3[_it6]; _it6 < _it2.slotNum ? (this.normalViews[_it6].visible = !0, this.emptyViews[_it6].visible = !1, _it7 ? this.normalViews[_it6].update(_it7.iconType, _it7.name, _it7.isPlane(), _it2.getSlotitemTousai(_it6), _it7.level, _it7.skillLevel, _it7.isLocked()) : this.normalViews[_it6].clear()) : (this.normalViews[_it6].visible = !1, this.emptyViews[_it6].visible = _it6 < _it5); } }, _iss.prototype.updateExSlot = function(_it8) { var _it9 = null; this.normalViews[0].visible = !1, this.emptyViews[0].visible = !1, _it8 ? (this.normalViews[0].visible = !0, this.normalViews[0].update(_it8.iconType, _it8.name, _it8.isPlane(), -1, _it8.level, _it8.skillLevel, _it8.isLocked())) : this.emptyViews[0].visible = !0; }, _iss; }(PIXI.Container); _is3.SlotItemSlotContainer = _isp; }, 83892: function(_ita, _itb, _itc) { 'use strict'; var _itd = null; var _ite, _itf = this && this.__extends || (_ite = function(_itg, _ith) { var _iti = null; return _ite = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_itj, _itk) { var _itl = null; _itj.__proto__ = _itk; } || function(_itm, _itn) { var _ito = null; for (var _itp in _itn) Object.prototype.hasOwnProperty.call(_itn, _itp) && (_itm[_itp] = _itn[_itp]); }, _ite(_itg, _ith); }, function(_itq, _itr) { var _its = null; if ('function' != typeof _itr && null !== _itr) throw new TypeError('Class extends value ' + String(_itr) + ' is not a constructor or null'); function _itt() { var _itu = null; this.constructor = _itq; } _ite(_itq, _itr), _itq.prototype = null === _itr ? Object.create(_itr) : (_itt.prototype = _itr.prototype, new _itt()); }), _itv = this && this.__importDefault || function(_itw) { var _itx = null; return _itw && _itw.__esModule ? _itw : { 'default': _itw }; }; defineModule(_itb); Object.defineProperty(_itb, '__esModule', { 'value': !0 }), _itb.SlotItemSlotView = void 0; var _ity = _itv(_itc(18622)), _itz = _itc(85937), _iu0 = _itc(6218), _iu1 = _itc(97638), _iu2 = _itc(8744), _iu3 = _itc(90054), _iu4 = function(_iu5) { var _iu6 = null; function _iu7(_iu8) { var _iu9 = null; void 0 === _iu8 && (_iu8 = !1); var _iua = _iu5.call(this) || this, _iub = new PIXI.Sprite(), _iuc = new _iu2.TextBox(19, 5523516), _iud = new PIXI.Sprite(_ity.default.resources.getUIImage('mask')), _iue = new _iu2.TextBox(21, 5523516), _iuf = new _iu1.SlotItemLevel(), _iug = new PIXI.Sprite(), _iuh = new _itz.AirPlaneLevel(), _iui = new PIXI.Sprite(_iu3.COMMON_MAIN.getTexture(43)), _iuj = new _iu0.IconWeapon(); _iub.texture = _iu3.COMMON_MAIN.getTexture(46), _iud.scale.set(-1.95, 1), _iud.anchor.set(1, 0); var _iuk = new PIXI.Container(); return _iuk.mask = _iud, _iuk.addChild(_iuc, _iud), _iuk.position.set(50, 11), _iue.position.set(-2, 23), _iue.anchor.set(1, 0.5), _iuf.position.set(247, 14), _iuh.position.set(219, 3), _iui.position.set(293, 2), _iua.addChild(_iub, _iuk, _iue, _iug, _iuf, _iuh, _iui, _iuj), _iua.background = _iub, _iua.textName = _iuc, _iua.textNum = _iue, _iua.emblem = _iug, _iua.airPlaneLevel = _iuh, _iua.slotItemLevel = _iuf, _iua.lockIcon = _iui, _iua.hideTousai = _iu8, _iua.iconWeapon = _iuj, _iua.containerName = _iuk, _iua; } return _itf(_iu7, _iu5), _iu7.prototype.dispose = function() { var _iul = null; this.removeChildren(), this.slotItemLevel.dispose(), this.iconWeapon.dispose(), this.airPlaneLevel.dispose(), this.containerName.mask = null, this.containerName.removeChildren(), this.textName.destroy(), this.textNum.destroy(), this.iconWeapon = null, this.background = null, this.textName = null, this.textNum = null, this.emblem = null, this.airPlaneLevel = null, this.slotItemLevel = null, this.lockIcon = null, this.containerName = null, this.hideTousai = null; }, _iu7.prototype.clear = function() { var _ium = null; this.update(0, '', !1, 0, 0, 0, !1); }, _iu7.prototype.update = function(_iun, _iuo, _iup, _iuq, _iur, _ius, _iut) { var _iuu = null; void 0 === _iuq && (_iuq = 0), void 0 === _iur && (_iur = 0), void 0 === _ius && (_ius = 0), void 0 === _iut && (_iut = !1), this.textName.text = _iuo.toString(), this.iconWeapon.update(_iun), _iup ? (this.textNum.visible = !0, this.textNum.text = _iuq.toString(), this.airPlaneLevel.visible = !0, this.airPlaneLevel.update(_ius), this.airPlaneLevel.position.set(219, 3)) : (this.textNum.visible = !1, this.textNum.text = '', this.airPlaneLevel.visible = !1, this.airPlaneLevel.update(0)), this.lockIcon.visible = !!_iut, this.hideTousai && (this.textNum.visible = !1), this.slotItemLevel.update(_iur); }, _iu7; }(PIXI.Container); _itb.SlotItemSlotView = _iu4; }, 21770: function(_iuv, _iuw, _iux) { 'use strict'; var _iuy = null; var _iuz, _iv0 = this && this.__extends || (_iuz = function(_iv1, _iv2) { var _iv3 = null; return _iuz = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_iv4, _iv5) { var _iv6 = null; _iv4.__proto__ = _iv5; } || function(_iv7, _iv8) { var _iv9 = null; for (var _iva in _iv8) Object.prototype.hasOwnProperty.call(_iv8, _iva) && (_iv7[_iva] = _iv8[_iva]); }, _iuz(_iv1, _iv2); }, function(_ivb, _ivc) { var _ivd = null; if ('function' != typeof _ivc && null !== _ivc) throw new TypeError('Class extends value ' + String(_ivc) + ' is not a constructor or null'); function _ive() { var _ivf = null; this.constructor = _ivb; } _iuz(_ivb, _ivc), _ivb.prototype = null === _ivc ? Object.create(_ivc) : (_ive.prototype = _ivc.prototype, new _ive()); }), _ivg = this && this.__createBinding || (Object.create ? function(_ivh, _ivi, _ivj, _ivk) { var _ivl = null; void 0 === _ivk && (_ivk = _ivj); var _ivm = Object.getOwnPropertyDescriptor(_ivi, _ivj); _ivm && !('get' in _ivm ? !_ivi.__esModule : _ivm.writable || _ivm.configurable) || (_ivm = { 'enumerable': !0, 'get': function() { return _ivi[_ivj]; } }), Object.defineProperty(_ivh, _ivk, _ivm); } : function(_ivn, _ivo, _ivp, _ivq) { void 0 === _ivq && (_ivq = _ivp), _ivn[_ivq] = _ivo[_ivp]; }), _ivr = this && this.__setModuleDefault || (Object.create ? function(_ivs, _ivt) { var _ivu = null; Object.defineProperty(_ivs, 'default', { 'enumerable': !0, 'value': _ivt }); } : function(_ivv, _ivw) { var _ivx = null; _ivv.default = _ivw; }), _ivy = this && this.__importStar || function(_ivz) { var _iw0 = null; if (_ivz && _ivz.__esModule) return _ivz; var _iw1 = {}; if (null != _ivz) { for (var _iw2 in _ivz) 'default' !== _iw2 && Object.prototype.hasOwnProperty.call(_ivz, _iw2) && _ivg(_iw1, _ivz, _iw2); } return _ivr(_iw1, _ivz), _iw1; }; defineModule(_iuw); Object.defineProperty(_iuw, '__esModule', { 'value': !0 }), _iuw.SweetsButton = void 0; var _iw3 = _ivy(_iux(31000)), _iw4 = _iux(8744), _iw5 = _iux(37571), _iw6 = _iux(35380), _iw7 = function(_iw8) { var _iw9 = null; function _iwa() { var _iwb = null, _iwc = _iw8.call(this) || this; _iwc.animation = { 'light': 0 }, _iwc._onClick = function() { var _iwd = null; _iwc.onClick(); }, _iwc._onMouseOver_Light = function() { var _iwe = null; _iwc._stop(), _iwc.hokyuLight.texture = _iwc.textureHover; }, _iwc._onMouseOut_Light = function() { var _iwf = null; _iwc._play(); }; var _iwg = _iw3.ORGANIZE_MAIN.getTexture(17), _iwh = _iw3.ORGANIZE_MAIN.getTexture(18), _iwi = _iw3.ORGANIZE_MAIN.getTexture(19); return _iwc.textCount = new _iw4.TextBox(30, 5523516), _iwc.tween = createjs.Tween.get(_iwc.animation), _iwc.hokyuLight = new PIXI.Sprite(), _iwc.hokyuNormal = new PIXI.Sprite(_iwg), _iwc.hokyuNone = new PIXI.Sprite(_iwh), _iwc.hokyuDisable = new PIXI.Sprite(_iwi), _iwc.crossCharacter = new _iw5.CrossCharacter(), _iwc.crossCharacter.position.set(48, 15), _iwc.hokyuLight.texture = _iwh, _iwc.tween.to({ 'light': 0 }), _iwc.tween.to({ 'light': 1 }, 500), _iwc.tween.to({ 'light': 0 }, 500), _iwc.tween.loop = !0, _iwc.tween.addEventListener('change', function() { var _iwj = null; 0.5 <= _iwc.animation.light ? _iwc.hokyuLight.texture = _iwc.textureDefault : _iwc.hokyuLight.texture = _iwc.textureHover; }), _iwc.tween.setPaused(!0), _iwc.hokyuLight.on(_iw6.EventType.CLICK, _iwc._onClick), _iwc.hokyuLight.on(_iw6.EventType.MOUSEOVER, _iwc._onMouseOver_Light), _iwc.hokyuLight.on(_iw6.EventType.MOUSEOUT, _iwc._onMouseOut_Light), _iwc.hokyuNormal.on(_iw6.EventType.CLICK, _iwc._onClick), _iwc.hokyuLight.interactive = _iwc.hokyuLight.buttonMode = !0, _iwc.hokyuNormal.interactive = _iwc.hokyuNormal.buttonMode = !0, _iwc.hokyuNone.visible = _iwc.hokyuNormal.visible = _iwc.hokyuLight.visible = !1, _iwc.textCount.position.set(_iwc.crossCharacter.width + 48, -1), _iwc.addChild(_iwc.hokyuDisable, _iwc.hokyuNone, _iwc.hokyuNormal, _iwc.hokyuLight, _iwc.textCount), _iwc.addChild(_iwc.crossCharacter), _iwc.textureDefault = _iwh, _iwc.textureHover = _iwg, _iwc._play(), _iwc; } return _iv0(_iwa, _iw8), _iwa.prototype.dispose = function() { var _iwk = null; this.removeChildren(), this.tween && (this.tween.setPaused(!0), createjs.Tween.removeTweens(this.tween.target)), this.hokyuLight.off(_iw6.EventType.CLICK), this.hokyuLight.off(_iw6.EventType.MOUSEOVER), this.hokyuLight.off(_iw6.EventType.MOUSEOUT), this.hokyuNormal.off(_iw6.EventType.CLICK), this._onClick = this._onMouseOut_Light = this._onMouseOver_Light = null, this.crossCharacter.dispose(), this.textCount.destroy(), this.onClick = null, this.textureDefault = null, this.textureHover = null, this.textCount = null, this.animation = null, this.tween = null, this.hokyuLight = null, this.hokyuNormal = null, this.hokyuNone = null, this.hokyuDisable = null, this.crossCharacter = null; }, _iwa.prototype.update = function(_iwl, _iwm, _iwn, _iwo) { var _iwp = null; void 0 === _iwn && (_iwn = 0), this.hokyuNone.visible = !1, this.hokyuLight.visible = !1, this.hokyuNormal.visible = !1, this.textCount.visible = !1, this.hokyuDisable.visible = !1, this.crossCharacter.visible = !1; var _iwq = _iwl + _iwm; if (0 < _iwq) { if (this.crossCharacter.visible = !0, this.textCount.text = _iwq.toString(), this.textCount.visible = !0, 0 < _iwn) { if (_iwo) return void(this.hokyuLight.visible = !0); if (0 < _iwm) return void(this.hokyuNormal.visible = !0); } this.hokyuDisable.visible = !0; } else; }, _iwa.prototype._play = function() { var _iwr = null; this.tween.setPosition(0, createjs.Tween.LOOP), this.tween.setPaused(!1); }, _iwa.prototype._stop = function() { var _iws = null; this.tween.setPaused(!0); }, _iwa; }(PIXI.Container); _iuw.SweetsButton = _iw7; }, 87581: function(_iwt, _iwu, _iwv) { 'use strict'; var _iww = null; var _iwx, _iwy = this && this.__extends || (_iwx = function(_iwz, _ix0) { var _ix1 = null; return _iwx = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ix2, _ix3) { var _ix4 = null; _ix2.__proto__ = _ix3; } || function(_ix5, _ix6) { var _ix7 = null; for (var _ix8 in _ix6) Object.prototype.hasOwnProperty.call(_ix6, _ix8) && (_ix5[_ix8] = _ix6[_ix8]); }, _iwx(_iwz, _ix0); }, function(_ix9, _ixa) { var _ixb = null; if ('function' != typeof _ixa && null !== _ixa) throw new TypeError('Class extends value ' + String(_ixa) + ' is not a constructor or null'); function _ixc() { var _ixd = null; this.constructor = _ix9; } _iwx(_ix9, _ixa), _ix9.prototype = null === _ixa ? Object.create(_ixa) : (_ixc.prototype = _ixa.prototype, new _ixc()); }); defineModule(_iwu); Object.defineProperty(_iwu, '__esModule', { 'value': !0 }), _iwu.SweetsSelectView = void 0; var _ixe = _iwv(74623), _ixf = _iwv(7665), _ixg = _iwv(768), _ixh = function(_ixi) { var _ixj = null; function _ixk() { var _ixl = null, _ixm = _ixi.call(this) || this; _ixm._onClickMamiya = function() { var _ixn = null; _ixm.onClickMamiya(); }, _ixm._onClickIrako = function() { var _ixo = null; _ixm.onClickIrako(); }, _ixm._onClickMamiyaAndIrako = function() { var _ixp = null; _ixm.onClickMamiyaAndIrako(); }, _ixm._onClickBack = function() { var _ixq = null; _ixm.onClickBack(); }; var _ixr = _ixe.ORGANIZE_MAIN.getTexture(6); _ixm.message = new PIXI.Sprite(_ixf.OrganizeConst.getMamiyaOption().res_info4); var _ixs = _ixf.OrganizeConst.getMamiyaOption().res_btn_mamiya; _ixm.buttonMamiya = new _ixg.SimpleButton(_ixs, _ixs), _ixs = _ixf.OrganizeConst.getMamiyaOption().res_btn_irako, _ixm.buttonIrako = new _ixg.SimpleButton(_ixs, _ixs), _ixs = _ixf.OrganizeConst.getMamiyaOption().res_btn_m_i, _ixm.buttonMamiyaAndIrako = new _ixg.SimpleButton(_ixs, _ixs), _ixm.buttonBack = new _ixg.SimpleButton(_ixr, _ixr); var _ixt = new PIXI.Sprite(_ixf.OrganizeConst.getMamiyaOption().res_btn_mamiya_g), _ixu = new PIXI.Sprite(_ixf.OrganizeConst.getMamiyaOption().res_btn_irako_g), _ixv = new PIXI.Sprite(_ixf.OrganizeConst.getMamiyaOption().res_btn_m_i_g); return _ixm.buttonMamiya.position = _ixt.position = new PIXI.Point(100, 43), _ixm.buttonIrako.position = _ixu.position = new PIXI.Point(753, 43), _ixm.buttonMamiyaAndIrako.position = _ixv.position = new PIXI.Point(390, 114), _ixm.buttonBack.position.set(762, 135), _ixm.buttonMamiya.onClick = _ixm._onClickMamiya, _ixm.buttonIrako.onClick = _ixm._onClickIrako, _ixm.buttonMamiyaAndIrako.onClick = _ixm._onClickMamiyaAndIrako, _ixm.buttonBack.onClick = _ixm._onClickBack, _ixm.addChild(_ixm.message, _ixt, _ixu, _ixv, _ixm.buttonMamiya, _ixm.buttonIrako, _ixm.buttonMamiyaAndIrako, _ixm.buttonBack), _ixm; } return _iwy(_ixk, _ixi), _ixk.prototype.dispose = function() { var _ixw = null; this.buttonMamiya.dispose(), this.buttonIrako.dispose(), this.buttonMamiyaAndIrako.dispose(), this.buttonBack.dispose(), this._onClickBack = this._onClickIrako = this._onClickMamiya = this._onClickMamiyaAndIrako = null, this.buttonMamiya = null, this.buttonIrako = null, this.buttonMamiyaAndIrako = null, this.buttonBack = null, this.message = null, this.onClickMamiya = null, this.onClickIrako = null, this.onClickMamiyaAndIrako = null, this.onClickBack = null, this.removeChildren(); }, _ixk.prototype.update = function(_ixx, _ixy, _ixz) { var _iy0 = null; _ixx ? (this.buttonMamiya.visible = !0, this.buttonMamiya.interactive = !0, this.buttonMamiya.buttonMode = !0) : (this.buttonMamiya.visible = !1, this.buttonMamiya.interactive = !1, this.buttonMamiya.buttonMode = !1), _ixy ? (this.buttonIrako.visible = !0, this.buttonIrako.interactive = !0, this.buttonIrako.buttonMode = !0) : (this.buttonIrako.visible = !1, this.buttonIrako.interactive = !1, this.buttonIrako.buttonMode = !1), _ixz ? (this.buttonMamiyaAndIrako.visible = !0, this.buttonMamiyaAndIrako.interactive = !0, this.buttonMamiyaAndIrako.buttonMode = !0) : (this.buttonMamiyaAndIrako.visible = !1, this.buttonMamiyaAndIrako.interactive = !1, this.buttonMamiyaAndIrako.buttonMode = !1); }, _ixk; }(PIXI.Container); _iwu.SweetsSelectView = _ixh; }, 86606: function(_iy1, _iy2, _iy3) { 'use strict'; var _iy4 = null; var _iy5, _iy6 = this && this.__extends || (_iy5 = function(_iy7, _iy8) { var _iy9 = null; return _iy5 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_iya, _iyb) { var _iyc = null; _iya.__proto__ = _iyb; } || function(_iyd, _iye) { var _iyf = null; for (var _iyg in _iye) Object.prototype.hasOwnProperty.call(_iye, _iyg) && (_iyd[_iyg] = _iye[_iyg]); }, _iy5(_iy7, _iy8); }, function(_iyh, _iyi) { var _iyj = null; if ('function' != typeof _iyi && null !== _iyi) throw new TypeError('Class extends value ' + String(_iyi) + ' is not a constructor or null'); function _iyk() { var _iyl = null; this.constructor = _iyh; } _iy5(_iyh, _iyi), _iyh.prototype = null === _iyi ? Object.create(_iyi) : (_iyk.prototype = _iyi.prototype, new _iyk()); }); defineModule(_iy2); Object.defineProperty(_iy2, '__esModule', { 'value': !0 }), _iy2.UseSweetConfirm = void 0; var _iym = _iy3(8744), _iyn = _iy3(74623), _iyo = _iy3(7665), _iyp = _iy3(768), _iyq = _iy3(80534), _iyr = function(_iys) { var _iyt = null; function _iyu() { var _iyv = null, _iyw = _iys.call(this) || this; _iyw._onClickYES = function() { var _iyx = null; _iyw.onClickYES(); }, _iyw._onClickNO = function() { var _iyy = null; _iyw.onClickNO(); }, _iyw.message = new PIXI.Sprite(); var _iyz = _iyn.ORGANIZE_MAIN.getTexture(26), _iz0 = _iyn.ORGANIZE_MAIN.getTexture(20); return _iyw.buttonYes = new _iyp.SimpleButton(_iyz, _iyz), _iyw.buttonNo = new _iyp.SimpleButton(_iz0, _iz0), _iyw.textMamiyaCount = new _iym.TextBox(25, 5523516), _iyw.textIrakoCount = new _iym.TextBox(25, 5523516), _iyw.buttonYes.onClick = _iyw._onClickYES, _iyw.buttonNo.onClick = _iyw._onClickNO, _iyw.addChild(_iyw.message, _iyw.buttonYes, _iyw.buttonNo, _iyw.textMamiyaCount, _iyw.textIrakoCount), _iyw; } return _iy6(_iyu, _iys), _iyu.prototype.dispose = function() { var _iz1 = null; this.removeChildren(), this.buttonYes.dispose(), this.buttonNo.dispose(), this.textMamiyaCount.destroy(), this.textIrakoCount.destroy(), this.onClickYES = null, this.onClickNO = null, this.message = null, this.buttonYes = null, this.buttonNo = null, this.textMamiyaCount = null, this.textIrakoCount = null; }, _iyu.prototype.update = function(_iz2, _iz3, _iz4) { var _iz5 = null; switch (this.textMamiyaCount.text = _iz3 + ' → ' + (_iz3 - 1), this.textIrakoCount.text = _iz4 + ' → ' + (_iz4 - 1), this.textIrakoCount.visible = this.textMamiyaCount.visible = !1, _iz2) { case 2: switch (_iyo.OrganizeConst.getMamiyaOption().playVoiceDialogIrako(), this.message.texture = _iyo.OrganizeConst.getMamiyaOption().res_info5, this.message.position.set(219, 87), this.buttonYes.position.set(763, 471), this.buttonNo.position.set(540, 471), this.textIrakoCount.visible = !0, this.textIrakoCount.position.set(747, 362), _iyq.MAMIYA_IRAKO_SEASON) { case 4: this.textIrakoCount.position.set(747, 362); break; case 2: this.textIrakoCount.position.set(747, 353); break; default: this.textIrakoCount.position.set(747, 348); } break; case 1: switch (_iyo.OrganizeConst.getMamiyaOption().playVoiceDialogMamiya(), this.message.texture = _iyo.OrganizeConst.getMamiyaOption().res_info3, this.message.position.set(219, 87), this.buttonYes.position.set(763, 471), this.buttonNo.position.set(538, 471), this.textMamiyaCount.visible = !0, _iyq.MAMIYA_IRAKO_SEASON) { case 4: this.textMamiyaCount.position.set(747, 354); break; case 2: this.textMamiyaCount.position.set(747, 357); break; default: this.textMamiyaCount.position.set(747, 340); } break; case 3: switch (_iyo.OrganizeConst.getMamiyaOption().playVoiceDialogMamiyaIrako(), this.message.texture = _iyo.OrganizeConst.getMamiyaOption().res_info6, this.message.position.set(63, 72), this.buttonYes.position.set(630, 471), this.buttonNo.position.set(405, 471), _iyq.MAMIYA_IRAKO_SEASON) { case 4: this.textMamiyaCount.position.set(427, 345), this.textIrakoCount.position.set(654, 345); break; case 2: this.textMamiyaCount.position.set(468, 342), this.textIrakoCount.position.set(694, 342); break; default: this.textMamiyaCount.position.set(487, 340), this.textIrakoCount.position.set(715, 340); } this.textMamiyaCount.visible = !0, this.textIrakoCount.visible = !0; } }, _iyu; }(PIXI.Container); _iy2.UseSweetConfirm = _iyr; }, 29053: function(_iz6, _iz7, _iz8) { 'use strict'; var _iz9 = null; var _iza, _izb = this && this.__extends || (_iza = function(_izc, _izd) { var _ize = null; return _iza = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_izf, _izg) { var _izh = null; _izf.__proto__ = _izg; } || function(_izi, _izj) { var _izk = null; for (var _izl in _izj) Object.prototype.hasOwnProperty.call(_izj, _izl) && (_izi[_izl] = _izj[_izl]); }, _iza(_izc, _izd); }, function(_izm, _izn) { var _izo = null; if ('function' != typeof _izn && null !== _izn) throw new TypeError('Class extends value ' + String(_izn) + ' is not a constructor or null'); function _izp() { var _izq = null; this.constructor = _izm; } _iza(_izm, _izn), _izm.prototype = null === _izn ? Object.create(_izn) : (_izp.prototype = _izn.prototype, new _izp()); }), _izr = this && this.__createBinding || (Object.create ? function(_izs, _izt, _izu, _izv) { var _izw = null; void 0 === _izv && (_izv = _izu); var _izx = Object.getOwnPropertyDescriptor(_izt, _izu); _izx && !('get' in _izx ? !_izt.__esModule : _izx.writable || _izx.configurable) || (_izx = { 'enumerable': !0, 'get': function() { return _izt[_izu]; } }), Object.defineProperty(_izs, _izv, _izx); } : function(_izy, _izz, _j00, _j01) { void 0 === _j01 && (_j01 = _j00), _izy[_j01] = _izz[_j00]; }), _j02 = this && this.__setModuleDefault || (Object.create ? function(_j03, _j04) { var _j05 = null; Object.defineProperty(_j03, 'default', { 'enumerable': !0, 'value': _j04 }); } : function(_j06, _j07) { var _j08 = null; _j06.default = _j07; }), _j09 = this && this.__importStar || function(_j0a) { var _j0b = null; if (_j0a && _j0a.__esModule) return _j0a; var _j0c = {}; if (null != _j0a) { for (var _j0d in _j0a) 'default' !== _j0d && Object.prototype.hasOwnProperty.call(_j0a, _j0d) && _izr(_j0c, _j0a, _j0d); } return _j02(_j0c, _j0a), _j0c; }; defineModule(_iz7); Object.defineProperty(_iz7, '__esModule', { 'value': !0 }), _iz7.RengoErrorMessageView = _iz7.CombineConfirmAlertDialog = void 0; var _j0e = _j09(_iz8(31000)), _j0f = _iz8(8744), _j0g = _iz8(37638), _j0h = _iz8(35380), _j0i = function(_j0j) { var _j0k = null; function _j0l() { var _j0m = null, _j0n = _j0j.call(this) || this; _j0n._onClickYES = function() { var _j0o = null; _j0n.onClickYES(); }; var _j0p = new PIXI.Container(); _j0p.position.set(69, 153), _j0n.firstShipInDeckBanners = new Array(); for (var _j0q = 0; _j0q < 6; _j0q++) { (_j0r = new _j0g.ShipBanner()).scale.set(0.75, 0.75), _j0r.y = 51 * _j0q, _j0r.visible = !1, _j0n.firstShipInDeckBanners.push(_j0r), _j0p.addChild(_j0r); } var _j0s = new PIXI.Container(); _j0s.position.set(678, 153), _j0n.secondShipInDeckBanners = new Array(); for (_j0q = 0; _j0q < 6; _j0q++) { var _j0r; (_j0r = new _j0g.ShipBanner()).scale.set(0.75, 0.75), _j0r.y = 51 * _j0q, _j0r.visible = !1, _j0n.secondShipInDeckBanners.push(_j0r), _j0s.addChild(_j0r); } _j0n.background = new PIXI.Sprite(); var _j0t = _j0e.ORGANIZE_MAIN.getTexture(16), _j0u = new PIXI.Sprite(_j0t), _j0v = _j0e.ORGANIZE_MAIN.getTexture(8); return _j0n.buttonBack = new PIXI.Sprite(_j0v), _j0n.message = new PIXI.Sprite(), _j0n.firstDeckName = new _j0f.TextBox(12, 16777215), _j0n.secondDeckName = new _j0f.TextBox(12, 16777215), _j0n.toFirstDeckErrorMessageView = new _j0w(), _j0n.toSecondDeckErrorMessageView = new _j0w(), _j0n.firstDeckName.position.set(60, 123), _j0n.secondDeckName.position.set(667, 123), _j0u.position.set(300, 420), _j0n.buttonBack.position.set(480, 420), _j0n.toFirstDeckErrorMessageView.position.set(276, 103), _j0n.toSecondDeckErrorMessageView.position.set(325, 331), _j0n.buttonBack.interactive = _j0n.buttonBack.buttonMode = !0, _j0n.buttonBack.addListener(_j0h.EventType.CLICK, _j0n._onClickYES), _j0n.addChild(_j0n.background, _j0n.message, _j0u, _j0n.buttonBack, _j0n.firstDeckName, _j0n.secondDeckName, _j0p, _j0s, _j0n.toFirstDeckErrorMessageView, _j0n.toSecondDeckErrorMessageView), _j0n; } return _izb(_j0l, _j0j), _j0l.prototype.dispose = function() { var _j0x = null; this.removeChildren(); for (var _j0y = 0; _j0y < this.firstShipInDeckBanners.length; _j0y++) this.firstShipInDeckBanners[_j0y].dispose(), this.firstShipInDeckBanners[_j0y] = null; for (_j0y = 0; _j0y < this.secondShipInDeckBanners.length; _j0y++) this.secondShipInDeckBanners[_j0y].dispose(), this.secondShipInDeckBanners[_j0y] = null; this.toFirstDeckErrorMessageView.dispose(), this.toSecondDeckErrorMessageView.dispose(), this.firstDeckName.destroy(), this.secondDeckName.destroy(), this.toFirstDeckErrorMessageView = null, this.toSecondDeckErrorMessageView = null, this.onClickYES = null, this.background = null, this.buttonBack = null, this.message = null, this.firstDeckName = null, this.secondDeckName = null, this.firstShipInDeckBanners = null, this.secondShipInDeckBanners = null; }, _j0l.prototype.updateFirstDeck = function(_j0z) { var _j10 = null; this.firstDeckName.text = _j0z.name; for (var _j11 = _j0z.getShipList(), _j12 = 0; _j12 < _j11.length; _j12++) { var _j13 = this.firstShipInDeckBanners[_j12], _j14 = _j11[_j12]; null == _j14 ? _j13.visible = !1 : (_j13.update(_j14, !1), _j13.visible = !0); } }, _j0l.prototype.updateSecondDeck = function(_j15) { var _j16 = null; this.secondDeckName.text = _j15.name; for (var _j17 = null != _j15.expedition, _j18 = _j15.getShipList(), _j19 = 0; _j19 < _j18.length; _j19++) { var _j1a = this.secondShipInDeckBanners[_j19], _j1b = _j18[_j19]; null == _j1b ? _j1a.visible = !1 : (_j1a.update(_j1b, _j17), _j1a.visible = !0); } }, _j0l.prototype.updateCombineDeck = function(_j1c, _j1d, _j1e, _j1f) { var _j1g = null; this.updateFirstDeck(_j1c), this.updateSecondDeck(_j1d), this.toFirstDeckErrorMessageView.update(_j1e), this.toSecondDeckErrorMessageView.update(_j1f); }, _j0l.prototype.updateViewType = function(_j1h) { var _j1i = null; switch (_j1h) { case 1: this.initKidoView(); break; case 2: this.initSuijoView(); break; case 3: this.initYusoView(); } }, _j0l.prototype.initKidoView = function() { var _j1j = null, _j1k = _j0e.ORGANIZE_RENGO.getTexture(13); this.background.texture = _j1k; var _j1l = _j0e.ORGANIZE_RENGO.getTexture(15); this.message.texture = _j1l, this.message.position.set(111, 49); }, _j0l.prototype.initSuijoView = function() { var _j1m = null, _j1n = _j0e.ORGANIZE_RENGO.getTexture(19); this.background.texture = _j1n; var _j1o = _j0e.ORGANIZE_RENGO.getTexture(21); this.message.texture = _j1o, this.message.position.set(111, 49); }, _j0l.prototype.initYusoView = function() { var _j1p = null, _j1q = _j0e.ORGANIZE_RENGO.getTexture(22); this.background.texture = _j1q; var _j1r = _j0e.ORGANIZE_RENGO.getTexture(24); this.message.texture = _j1r, this.message.position.set(79, 49); }, _j0l; }(PIXI.Container); _iz7.CombineConfirmAlertDialog = _j0i; var _j0w = function(_j1s) { var _j1t = null; function _j1u() { var _j1v = null, _j1w = _j1s.call(this) || this, _j1x = new PIXI.Sprite(_j0e.ORGANIZE_RENGO.getTexture(16)); _j1w.addChild(_j1x), _j1w._message = new _j0f.TextBox(18, 16777215), _j1w._message.position.set(1, 4), _j1w.addChild(_j1w._message); var _j1y = new PIXI.Graphics(); return _j1y.beginFill(0, 0.5), _j1y.drawRect(0, 0, 328, 75), _j1y.endFill(), _j1w.addChild(_j1y), _j1w.mask = _j1y, _j1w; } return _izb(_j1u, _j1s), _j1u.prototype.update = function(_j1z) { var _j20 = null; this._message.text = _j1z; }, _j1u.prototype.dispose = function() { var _j21 = null; this.mask = null, this.removeChildren(), this._message.destroy(), this._message = null; }, _j1u; }(PIXI.Container); _iz7.RengoErrorMessageView = _j0w; }, 72516: function(_j22, _j23, _j24) { 'use strict'; var _j25 = null; var _j26, _j27 = this && this.__extends || (_j26 = function(_j28, _j29) { var _j2a = null; return _j26 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_j2b, _j2c) { var _j2d = null; _j2b.__proto__ = _j2c; } || function(_j2e, _j2f) { var _j2g = null; for (var _j2h in _j2f) Object.prototype.hasOwnProperty.call(_j2f, _j2h) && (_j2e[_j2h] = _j2f[_j2h]); }, _j26(_j28, _j29); }, function(_j2i, _j2j) { var _j2k = null; if ('function' != typeof _j2j && null !== _j2j) throw new TypeError('Class extends value ' + String(_j2j) + ' is not a constructor or null'); function _j2l() { var _j2m = null; this.constructor = _j2i; } _j26(_j2i, _j2j), _j2i.prototype = null === _j2j ? Object.create(_j2j) : (_j2l.prototype = _j2j.prototype, new _j2l()); }), _j2n = this && this.__createBinding || (Object.create ? function(_j2o, _j2p, _j2q, _j2r) { var _j2s = null; void 0 === _j2r && (_j2r = _j2q); var _j2t = Object.getOwnPropertyDescriptor(_j2p, _j2q); _j2t && !('get' in _j2t ? !_j2p.__esModule : _j2t.writable || _j2t.configurable) || (_j2t = { 'enumerable': !0, 'get': function() { return _j2p[_j2q]; } }), Object.defineProperty(_j2o, _j2r, _j2t); } : function(_j2u, _j2v, _j2w, _j2x) { void 0 === _j2x && (_j2x = _j2w), _j2u[_j2x] = _j2v[_j2w]; }), _j2y = this && this.__setModuleDefault || (Object.create ? function(_j2z, _j30) { var _j31 = null; Object.defineProperty(_j2z, 'default', { 'enumerable': !0, 'value': _j30 }); } : function(_j32, _j33) { var _j34 = null; _j32.default = _j33; }), _j35 = this && this.__importStar || function(_j36) { var _j37 = null; if (_j36 && _j36.__esModule) return _j36; var _j38 = {}; if (null != _j36) { for (var _j39 in _j36) 'default' !== _j39 && Object.prototype.hasOwnProperty.call(_j36, _j39) && _j2n(_j38, _j36, _j39); } return _j2y(_j38, _j36), _j38; }; defineModule(_j23); Object.defineProperty(_j23, '__esModule', { 'value': !0 }), _j23.CombineConfirmDialog = void 0; var _j3a = _j35(_j24(31000)), _j3b = _j24(8744), _j3c = _j24(37638), _j3d = _j24(35380), _j3e = function(_j3f) { var _j3g = null; function _j3h() { var _j3i = null, _j3j = _j3f.call(this) || this; _j3j._onClickYES = function() { var _j3k = null; _j3j.onClickYES(); }, _j3j._onClickNO = function() { var _j3l = null; _j3j.onClickNO(); }; var _j3m = new PIXI.Container(); _j3m.position.set(69, 153), _j3j.firstShipInDeckBanners = new Array(); for (var _j3n = 0; _j3n < 6; _j3n++) { (_j3o = new _j3c.ShipBanner()).scale.set(0.75, 0.75), _j3o.y = 51 * _j3n, _j3o.visible = !1, _j3j.firstShipInDeckBanners.push(_j3o), _j3m.addChild(_j3o); } var _j3p = new PIXI.Container(); _j3p.position.set(678, 153), _j3j.secondShipInDeckBanners = new Array(); for (_j3n = 0; _j3n < 6; _j3n++) { var _j3o; (_j3o = new _j3c.ShipBanner()).scale.set(0.75, 0.75), _j3o.y = 51 * _j3n, _j3o.visible = !1, _j3j.secondShipInDeckBanners.push(_j3o), _j3p.addChild(_j3o); } _j3j.background = new PIXI.Sprite(); var _j3q = _j3a.ORGANIZE_MAIN.getTexture(15); _j3j.buttonOrganize = new PIXI.Sprite(_j3q); var _j3r = _j3a.ORGANIZE_MAIN.getTexture(8); return _j3j.buttonBack = new PIXI.Sprite(_j3r), _j3j.message = new PIXI.Sprite(), _j3j.firstDeckName = new _j3b.TextBox(18, 16777215), _j3j.secondDeckName = new _j3b.TextBox(18, 16777215), _j3j.firstDeckName.position.set(60, 122), _j3j.secondDeckName.position.set(667, 122), _j3j.buttonOrganize.position.set(300, 420), _j3j.buttonBack.position.set(480, 420), _j3j.buttonOrganize.interactive = _j3j.buttonOrganize.buttonMode = !0, _j3j.buttonBack.interactive = _j3j.buttonBack.buttonMode = !0, _j3j.buttonOrganize.addListener(_j3d.EventType.CLICK, _j3j._onClickYES), _j3j.buttonBack.addListener(_j3d.EventType.CLICK, _j3j._onClickNO), _j3j.addChild(_j3j.background, _j3j.message, _j3j.buttonOrganize, _j3j.buttonBack, _j3j.firstDeckName, _j3j.secondDeckName, _j3m, _j3p), _j3j; } return _j27(_j3h, _j3f), _j3h.prototype.dispose = function() { var _j3s = null; this.removeChildren(); for (var _j3t = 0; _j3t < this.firstShipInDeckBanners.length; _j3t++) this.firstShipInDeckBanners[_j3t].dispose(), this.firstShipInDeckBanners[_j3t] = null; for (_j3t = 0; _j3t < this.secondShipInDeckBanners.length; _j3t++) this.secondShipInDeckBanners[_j3t].dispose(), this.secondShipInDeckBanners[_j3t] = null; this.firstDeckName.destroy(), this.secondDeckName.destroy(), this.onClickYES = null, this.onClickNO = null, this.background = null, this.buttonOrganize = null, this.buttonBack = null, this.message = null, this.firstDeckName = null, this.secondDeckName = null, this.firstShipInDeckBanners = null, this.secondShipInDeckBanners = null; }, _j3h.prototype.updateFirstDeck = function(_j3u) { var _j3v = null; this.firstDeckName.text = _j3u.name; for (var _j3w = _j3u.getShipList(), _j3x = 0; _j3x < _j3w.length; _j3x++) { var _j3y = this.firstShipInDeckBanners[_j3x], _j3z = _j3w[_j3x]; _j3y.visible = !1, _j3z && (_j3y.update(_j3z, !1), _j3y.visible = !0); } }, _j3h.prototype.updateSecondDeck = function(_j40) { var _j41 = null; this.secondDeckName.text = _j40.name; for (var _j42 = null != _j40.expedition, _j43 = _j40.getShipList(), _j44 = 0; _j44 < _j43.length; _j44++) { var _j45 = this.secondShipInDeckBanners[_j44], _j46 = _j43[_j44]; _j45.visible = !1, _j46 && (_j45.update(_j46, _j42), _j45.visible = !0); } }, _j3h.prototype.updateCombineDeck = function(_j47, _j48) { var _j49 = null; this.updateFirstDeck(_j47), this.updateSecondDeck(_j48); }, _j3h.prototype.updateViewType = function(_j4a) { var _j4b = null; switch (_j4a) { case 1: this.initKidoView(); break; case 2: this.initSuijoView(); break; case 3: this.initYusoView(); } }, _j3h.prototype.initKidoView = function() { var _j4c = null, _j4d = _j3a.ORGANIZE_RENGO.getTexture(13); this.background.texture = _j4d; var _j4e = _j3a.ORGANIZE_RENGO.getTexture(14); this.message.texture = _j4e, this.message.position.set(213, 49); }, _j3h.prototype.initSuijoView = function() { var _j4f = null, _j4g = _j3a.ORGANIZE_RENGO.getTexture(19); this.background.texture = _j4g; var _j4h = _j3a.ORGANIZE_RENGO.getTexture(20); this.message.texture = _j4h, this.message.position.set(213, 49); }, _j3h.prototype.initYusoView = function() { var _j4i = null, _j4j = _j3a.ORGANIZE_RENGO.getTexture(22); this.background.texture = _j4j; var _j4k = _j3a.ORGANIZE_RENGO.getTexture(23); this.message.texture = _j4k, this.message.position.set(183, 49); }, _j3h; }(PIXI.Container); _j23.CombineConfirmDialog = _j3e; }, 45544: function(_j4l, _j4m, _j4n) { 'use strict'; var _j4o = null; var _j4p, _j4q = this && this.__extends || (_j4p = function(_j4r, _j4s) { var _j4t = null; return _j4p = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_j4u, _j4v) { var _j4w = null; _j4u.__proto__ = _j4v; } || function(_j4x, _j4y) { var _j4z = null; for (var _j50 in _j4y) Object.prototype.hasOwnProperty.call(_j4y, _j50) && (_j4x[_j50] = _j4y[_j50]); }, _j4p(_j4r, _j4s); }, function(_j51, _j52) { var _j53 = null; if ('function' != typeof _j52 && null !== _j52) throw new TypeError('Class extends value ' + String(_j52) + ' is not a constructor or null'); function _j54() { var _j55 = null; this.constructor = _j51; } _j4p(_j51, _j52), _j51.prototype = null === _j52 ? Object.create(_j52) : (_j54.prototype = _j52.prototype, new _j54()); }), _j56 = this && this.__createBinding || (Object.create ? function(_j57, _j58, _j59, _j5a) { var _j5b = null; void 0 === _j5a && (_j5a = _j59); var _j5c = Object.getOwnPropertyDescriptor(_j58, _j59); _j5c && !('get' in _j5c ? !_j58.__esModule : _j5c.writable || _j5c.configurable) || (_j5c = { 'enumerable': !0, 'get': function() { return _j58[_j59]; } }), Object.defineProperty(_j57, _j5a, _j5c); } : function(_j5d, _j5e, _j5f, _j5g) { void 0 === _j5g && (_j5g = _j5f), _j5d[_j5g] = _j5e[_j5f]; }), _j5h = this && this.__setModuleDefault || (Object.create ? function(_j5i, _j5j) { var _j5k = null; Object.defineProperty(_j5i, 'default', { 'enumerable': !0, 'value': _j5j }); } : function(_j5l, _j5m) { var _j5n = null; _j5l.default = _j5m; }), _j5o = this && this.__importStar || function(_j5p) { var _j5q = null; if (_j5p && _j5p.__esModule) return _j5p; var _j5r = {}; if (null != _j5p) { for (var _j5s in _j5p) 'default' !== _j5s && Object.prototype.hasOwnProperty.call(_j5p, _j5s) && _j56(_j5r, _j5p, _j5s); } return _j5h(_j5r, _j5p), _j5r; }; defineModule(_j4m); Object.defineProperty(_j4m, '__esModule', { 'value': !0 }), _j4m.CombineGuideView = void 0; var _j5t = _j5o(_j4n(31000)), _j5u = _j4n(11997), _j5v = _j4n(35380), _j5w = function(_j5x) { var _j5y = null; function _j5z(_j60) { var _j61 = null, _j62 = _j5x.call(this) || this, _j63 = _j5t.ORGANIZE_MAIN.getTexture(46), _j64 = new PIXI.Sprite(_j5u.COMMON_MISC.getTexture(80)); _j62.icon_d2_on = new PIXI.Sprite(_j5u.COMMON_MISC.getTexture(82)); var _j65 = new PIXI.Sprite(_j63); return _j65.position.set(-39, -21), _j62.addChild(_j64, _j65, _j62.icon_d2_on), _j62.tween = createjs.Tween.get(_j65).to({ 'x': -39, 'y': -21, 'alpha': 1 }).to({ 'x': -57 }, 600, createjs.Ease.cubicIn).wait(200).to({ 'alpha': 0 }, 300).wait(400), _j62.tween.loop = !0, _j62.tween.play(null), _j62.icon_d2_on.on(_j5v.EventType.MOUSEDOWN, _j60), _j62.icon_d2_on.interactive = !0, _j62.icon_d2_on.buttonMode = !0, _j62; } return _j4q(_j5z, _j5x), _j5z.prototype.dispose = function() { var _j66 = null; createjs.Tween.removeTweens(this.tween.target), this.tween.setPaused(!0), this.icon_d2_on.removeAllListeners(_j5v.EventType.MOUSEDOWN), this.icon_d2_on = null, this.tween = null, this.removeChildren(); }, _j5z.prototype.hideOn = function() { var _j67 = null; this.icon_d2_on.visible = !1; }, _j5z.prototype.showOn = function() { var _j68 = null; this.icon_d2_on.visible = !0; }, _j5z; }(PIXI.Container); _j4m.CombineGuideView = _j5w; }, 60267: function(_j69, _j6a, _j6b) { 'use strict'; var _j6c = null; var _j6d, _j6e = this && this.__extends || (_j6d = function(_j6f, _j6g) { var _j6h = null; return _j6d = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_j6i, _j6j) { var _j6k = null; _j6i.__proto__ = _j6j; } || function(_j6l, _j6m) { var _j6n = null; for (var _j6o in _j6m) Object.prototype.hasOwnProperty.call(_j6m, _j6o) && (_j6l[_j6o] = _j6m[_j6o]); }, _j6d(_j6f, _j6g); }, function(_j6p, _j6q) { var _j6r = null; if ('function' != typeof _j6q && null !== _j6q) throw new TypeError('Class extends value ' + String(_j6q) + ' is not a constructor or null'); function _j6s() { var _j6t = null; this.constructor = _j6p; } _j6d(_j6p, _j6q), _j6p.prototype = null === _j6q ? Object.create(_j6q) : (_j6s.prototype = _j6q.prototype, new _j6s()); }), _j6u = this && this.__createBinding || (Object.create ? function(_j6v, _j6w, _j6x, _j6y) { var _j6z = null; void 0 === _j6y && (_j6y = _j6x); var _j70 = Object.getOwnPropertyDescriptor(_j6w, _j6x); _j70 && !('get' in _j70 ? !_j6w.__esModule : _j70.writable || _j70.configurable) || (_j70 = { 'enumerable': !0, 'get': function() { return _j6w[_j6x]; } }), Object.defineProperty(_j6v, _j6y, _j70); } : function(_j71, _j72, _j73, _j74) { void 0 === _j74 && (_j74 = _j73), _j71[_j74] = _j72[_j73]; }), _j75 = this && this.__setModuleDefault || (Object.create ? function(_j76, _j77) { var _j78 = null; Object.defineProperty(_j76, 'default', { 'enumerable': !0, 'value': _j77 }); } : function(_j79, _j7a) { var _j7b = null; _j79.default = _j7a; }), _j7c = this && this.__importStar || function(_j7d) { var _j7e = null; if (_j7d && _j7d.__esModule) return _j7d; var _j7f = {}; if (null != _j7d) { for (var _j7g in _j7d) 'default' !== _j7g && Object.prototype.hasOwnProperty.call(_j7d, _j7g) && _j6u(_j7f, _j7d, _j7g); } return _j75(_j7f, _j7d), _j7f; }; defineModule(_j6a); Object.defineProperty(_j6a, '__esModule', { 'value': !0 }), _j6a.CombineTypeSelectDialog = void 0; var _j7h = _j7c(_j6b(31000)), _j7i = _j6b(768), _j7j = function(_j7k) { var _j7l = null; function _j7m() { var _j7n = null, _j7o = _j7k.call(this) || this; _j7o._onClickYuso = function() { var _j7p = null; _j7o.onClickYuso(); }, _j7o._onClickKido = function() { var _j7q = null; _j7o.onClickKido(); }, _j7o._onClickSuijo = function() { var _j7r = null; _j7o.onClickSuijo(); }, _j7o._onClickBack = function() { var _j7s = null; _j7o.onClickBack(); }; var _j7t = _j7h.ORGANIZE_RENGO.getTexture(17), _j7u = _j7h.ORGANIZE_RENGO.getTexture(18), _j7v = new PIXI.Sprite(_j7t), _j7w = new PIXI.Sprite(_j7u), _j7x = _j7h.ORGANIZE_RENGO.getTexture(0), _j7y = _j7h.ORGANIZE_RENGO.getTexture(2); _j7o.buttonKido = new _j7i.SimpleButton(_j7x, _j7y); var _j7z = _j7h.ORGANIZE_RENGO.getTexture(3), _j80 = _j7h.ORGANIZE_RENGO.getTexture(5); _j7o.buttonSuijo = new _j7i.SimpleButton(_j7z, _j80); var _j81 = _j7h.ORGANIZE_RENGO.getTexture(6), _j82 = _j7h.ORGANIZE_RENGO.getTexture(8); _j7o.buttonYuso = new _j7i.SimpleButton(_j81, _j82); var _j83 = _j7h.ORGANIZE_MAIN.getTexture(7); _j7o.buttonBack = new _j7i.SimpleButton(_j83, _j83); var _j84 = _j7h.ORGANIZE_RENGO.getTexture(1), _j85 = new PIXI.Sprite(_j84), _j86 = _j7h.ORGANIZE_RENGO.getTexture(4), _j87 = new PIXI.Sprite(_j86), _j88 = _j7h.ORGANIZE_RENGO.getTexture(7), _j89 = new PIXI.Sprite(_j88); return _j7o.buttonKido.onClick = _j7o._onClickKido, _j7o.buttonSuijo.onClick = _j7o._onClickSuijo, _j7o.buttonYuso.onClick = _j7o._onClickYuso, _j7o.buttonBack.onClick = _j7o._onClickBack, _j7w.position.set(189, 25), _j7o.buttonKido.position.set(84, 61), _j7o.buttonSuijo.position.set(298, 61), _j7o.buttonYuso.position.set(84, 124), _j7o.buttonBack.position.set(211, 192), _j85.position.set(84, 61), _j87.position.set(298, 61), _j89.position.set(84, 124), _j7o.buttonSuijo.visible = _j7o.buttonYuso.visible = _j7o.buttonKido.visible = !1, _j7o.addChild(_j7v, _j85, _j87, _j89, _j7o.buttonKido, _j7o.buttonSuijo, _j7o.buttonYuso, _j7o.buttonBack, _j7w), _j7o; } return _j6e(_j7m, _j7k), _j7m.prototype.dispose = function() { var _j8a = null; this.buttonKido.onClick = this._onClickKido = null, this.buttonSuijo.onClick = this._onClickSuijo = null, this.buttonYuso.onClick = this._onClickYuso = null, this.buttonBack.onClick = this._onClickBack = null, this.buttonKido.dispose(), this.buttonSuijo.dispose(), this.buttonYuso.dispose(), this.buttonBack.dispose(), this.buttonKido = null, this.buttonSuijo = null, this.buttonYuso = null, this.buttonBack = null, this.removeChildren(); }, _j7m.prototype.update = function(_j8b) { var _j8c = null; switch (this.buttonSuijo.reset(), this.buttonYuso.reset(), this.buttonKido.reset(), this.buttonSuijo.visible = this.buttonYuso.visible = this.buttonKido.visible = !1, _j8b) { case 2: this.buttonKido.visible = !0, this.buttonYuso.visible = !0, this.buttonSuijo.visible = !0; break; case 0: this.buttonKido.visible = !0, this.buttonSuijo.visible = !0; break; case 1: this.buttonYuso.visible = !0; } }, _j7m; }(PIXI.Container); _j6a.CombineTypeSelectDialog = _j7j; }, 65108: function(_j8d, _j8e, _j8f) { 'use strict'; var _j8g = null; var _j8h, _j8i = this && this.__extends || (_j8h = function(_j8j, _j8k) { var _j8l = null; return _j8h = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_j8m, _j8n) { var _j8o = null; _j8m.__proto__ = _j8n; } || function(_j8p, _j8q) { var _j8r = null; for (var _j8s in _j8q) Object.prototype.hasOwnProperty.call(_j8q, _j8s) && (_j8p[_j8s] = _j8q[_j8s]); }, _j8h(_j8j, _j8k); }, function(_j8t, _j8u) { var _j8v = null; if ('function' != typeof _j8u && null !== _j8u) throw new TypeError('Class extends value ' + String(_j8u) + ' is not a constructor or null'); function _j8w() { var _j8x = null; this.constructor = _j8t; } _j8h(_j8t, _j8u), _j8t.prototype = null === _j8u ? Object.create(_j8u) : (_j8w.prototype = _j8u.prototype, new _j8w()); }), _j8y = this && this.__importDefault || function(_j8z) { var _j90 = null; return _j8z && _j8z.__esModule ? _j8z : { 'default': _j8z }; }; defineModule(_j8e); Object.defineProperty(_j8e, '__esModule', { 'value': !0 }), _j8e.SupplyScene = void 0; var _j91 = _j8y(_j8f(21359)), _j92 = _j8y(_j8f(18622)), _j93 = _j8f(18343), _j94 = _j8f(61474), _j95 = _j8f(94341), _j96 = _j8f(35660), _j97 = _j8f(54871), _j98 = _j8f(52574), _j99 = _j8f(9644), _j9a = _j8f(23624), _j9b = _j8f(74146), _j9c = _j8f(76131), _j9d = _j8f(87829), _j9e = _j8f(75317), _j9f = _j8f(73020), _j9g = _j8f(51690), _j9h = _j8f(1107), _j9i = _j8f(46403), _j9j = _j8f(70865), _j9k = _j8f(44924), _j9l = _j8f(46482), _j9m = _j8f(90054), _j9n = _j8f(16677), _j9o = function(_j9p) { var _j9q = null; function _j9r() { var _j9s = null, _j9t = null !== _j9p && _j9p.apply(this, arguments) || this; return _j9t.combinedView = null, _j9t._onClickDeck = function(_j9u) { var _j9v = null; if (_j9t.deckId != _j9u) { if (_j9t.deckId = _j9u, _j9t.viewMode != _j9a.ViewMode.DECK) { var _j9w = _j9t.taskEditSupplyOther.pageIndex; _j9t.memoryOtherPageIndex = _j9w, _j9t.taskEditSupplyOther.dispose(), _j9t.taskEditSupplyOther = null, _j9t._startTaskEditSupplyDeck(_j9u); } else _j9t.taskEditSupplyDeck.changeDeck(_j9u); _j9t.deckSelectView.focusDeck(_j9u), _j9t.viewMode = _j9a.ViewMode.DECK; } }, _j9t.memoryOtherPageIndex = 0, _j9t._onClickOther = function() { var _j9x = null; null != _j9t.deckId && _j9t.viewMode != _j9a.ViewMode.OTHER && (_j9t.deckId = null, _j9t.taskEditSupplyDeck.dispose(), _j9t.taskEditSupplyDeck = null, _j9t.layerTaskMain.removeChildren(), _j9t.deckSelectView.focusOther(), _j9t._startTaskEditSupplyOther(), _j9t.viewMode = _j9a.ViewMode.OTHER); }, _j9t._onUpdateCheckForDeck = function(_j9y) { var _j9z = null, _ja0 = _j9t.taskEditSupplyDeck.getSupplyEdit().getMemShipIds(), _ja1 = _j99.SupplyUtil.CalcRequireMaterials(_ja0), _ja2 = _ja1.ammo, _ja3 = _ja1.fuel, _ja4 = _j92.default.model.useItem.get(31).count, _ja5 = _ja2 <= _j92.default.model.useItem.get(32).count, _ja6 = _ja3 <= _ja4; _j9t._updateTypeSelectButton(_ja5, _ja6, _ja2, _ja3), _j9t._updateButtonAlls(), _j9y && _j9t._updateShowcase(_ja5, _ja6, _ja2, _ja3); }, _j9t._onUpdateCheckFoShowcase = function() { var _ja7 = null, _ja8 = _j9t.taskEditSupplyDeck.getSupplyEdit().getMemShipIds(), _ja9 = _j99.SupplyUtil.CalcRequireMaterials(_ja8), _jaa = _ja9.ammo, _jab = _ja9.fuel, _jac = _j92.default.model.useItem.get(31).count, _jad = _jaa <= _j92.default.model.useItem.get(32).count, _jae = _jab <= _jac; _j9t._updateShowcase(_jad, _jae, _jaa, _jab); }, _j9t._onUpdateCheckForOther = function() { var _jaf = null, _jag = _j9t.taskEditSupplyOther.getSupplyEdit().getMemShipIds(), _jah = _j99.SupplyUtil.CalcRequireMaterials(_jag), _jai = _jah.ammo, _jaj = _jah.fuel, _jak = _jah.baux, _jal = _j92.default.model.useItem.get(31).count, _jam = _j92.default.model.useItem.get(32).count, _jan = _j92.default.model.useItem.get(34).count, _jao = _jai <= _jam, _jap = _jaj <= _jal, _jaq = 0 < _jak && _jak <= _jan; _j9t._updateShowcase(_jao, _jap, _jai, _jaj), _j9t._updateTypeSelectButton(_jao, _jap, _jai, _jaj), _j9t.supplyTypeSelectButton.updateButton(_jaq, !1); }, _j9t; } return _j8i(_j9r, _j9p), _j9r.prototype.preInitialize = function() { var _jar = null; this.layerBase = new PIXI.Container(), this.con_bg1 = new PIXI.Sprite(_j9m.COMMON_MAIN.getTexture(13)), this.con_bg1.position.set(150, 135), this.con_bg1.alpha = 0.6, this.layerBase.addChild(this.con_bg1), this.deckSelectView = new _j9f.DeckSelectView(), this.deckSelectView.position.set(203, 164), this.layerBase.addChild(this.deckSelectView), this.materialCounterView = new _j9i.MaterialCounterView(), this.materialCounterView.position.set(595, 158), this.layerBase.addChild(this.materialCounterView), this.headerMain = new _j9g.HeaderMain(), this.headerMain.position.set(0, 102), this.layerBase.addChild(this.headerMain), _j92.default.model.deck.isCombined() && (this.combinedView = new _j95.CombinedView(), this.combinedView.position.set(196, 155), this.layerBase.addChild(this.combinedView)), this.layerTaskOverlay = new PIXI.Container(), this.supplyShowcaseView = new _j9j.SupplyShowcaseView(), this.supplyShowcaseView.position.set(900, 135), this.layerTaskOverlay.addChild(this.supplyShowcaseView), this.supplyTypeSelectButton = new _j9k.SupplyTypeSelectButton(), this.supplyTypeSelectButton.position.set(18, 506), this.supplyShowcaseView.addChild(this.supplyTypeSelectButton), this.headerSupply = new _j9h.HeaderSupply(), this.headerSupply.position.set(900, 102), this.layerTaskOverlay.addChild(this.headerSupply), this.txt_supply = new PIXI.Sprite(_j9l.SUPPLY_MAIN.getTexture(35)), this.layerTaskOverlay.addChild(this.txt_supply), this.layerTaskMain = new PIXI.Container(), this.otherShips = _j92.default.model.ship.getAllOther(), _j93.ShipUtil.sort(this.otherShips, 1), this.addChild(this.layerBase, this.layerTaskMain, this.layerTaskOverlay); }, _j9r.prototype.initialize = function() { var _jas = null, _jat = _j92.default.model.deck.getAll().length, _jau = _j92.default.model.ship.getAllOther().length; this.deckSelectView.initDeckCount(_jat), this.deckSelectView.initOtherShipCount(_jau); }, _j9r.prototype._startTaskEditSupplyDeck = function(_jav) { var _jaw = null, _jax = this, _jay = function() { var _jaz = null; _j92.default.view.clickGuard = !0; var _jb0, _jb1 = _jax.taskEditSupplyDeck.getSupplyEdit().getMemShipIds(); if (1 == _jb1.length) _jb0 = _j92.default.model.ship.get(_jb1[0]).mstID; else { var _jb2 = _j92.default.model.deck.get(_jax.deckId); if (_jb2.getCount() == _jb1.length) _jb0 = _jb2.getShipModel(0).mstID; else { var _jb3 = Math.floor(Math.random() * _jb1.length); _jb0 = _j92.default.model.ship.get(_jb1[_jb3]).mstID; } } _jax._CallSupplyAll(_jb1, _jb0, function() { var _jb4 = null; _jax.taskEditSupplyDeck.updateDeck(_jax.deckId), _j92.default.view.clickGuard = !1; }); }; this.taskEditSupplyDeck = new _j9d.TaskEditSupplyDeck(this.layerTaskMain), this.taskEditSupplyDeck.onUpdateSupplyEdit = this._onUpdateCheckForDeck, this.taskEditSupplyDeck.onClickSupplyAll = _jay, this.supplyTypeSelectButton.onClickAmmo = function() { var _jb5 = null; _j92.default.view.clickGuard = !0; var _jb6 = _jax.taskEditSupplyDeck.getSupplyEdit().getMemShipIds(); _jax._CallSupplyAmmo(_jb6, function() { var _jb7 = null; _jax.taskEditSupplyDeck.updateDeck(_jax.deckId), _j92.default.view.clickGuard = !1; }); }, this.supplyTypeSelectButton.onClickFuel = function() { var _jb8 = null; _j92.default.view.clickGuard = !0; var _jb9 = _jax.taskEditSupplyDeck.getSupplyEdit().getMemShipIds(); _jax._CallSupplyFuel(_jb9, function() { var _jba = null; _jax.taskEditSupplyDeck.updateDeck(_jax.deckId), _j92.default.view.clickGuard = !1; }); }, this.supplyTypeSelectButton.onClickAll = _jay, this.supplyTypeSelectButton.onMouseOverAll2 = function() { var _jbb = null; _jax.taskEditSupplyDeck.onMouseOverSupplyAll2(), _jax._onUpdateCheckFoShowcase(); }, this.supplyTypeSelectButton.onMouseOutAll2 = function() { var _jbc = null; _jax.taskEditSupplyDeck.onMouseOutSupplyAll2(); }, this.supplyTypeSelectButton.onClickAll2 = function() { var _jbd = null; _j92.default.view.clickGuard = !0, _jax.taskEditSupplyDeck.onClickSupplyAll2(), _jax._onUpdateCheckForDeck(!0); var _jbe, _jbf = _jax.taskEditSupplyDeck.getSupplyEdit().getMemShipIds(), _jbg = _j92.default.model.deck.get(_jax.deckId), _jbh = _jax.getDeckSupllyShip(), _jbi = _j99.SupplyUtil.CalcRequireMaterials(_jbh); _jbe = 0 == _jbi.ammo && 0 == _jbi.fuel && _jbi.baux > 0 ? _j92.default.model.ship.get(_jbf[0]).mstID : _jbg.getShipModel(0).mstID, _jax._CallSupplyAll(_jbf, _jbe, function() { var _jbj = null; _jax.taskEditSupplyDeck.updateDeck(_jax.deckId), _j92.default.view.clickGuard = !1; }); }, this.supplyTypeSelectButton.onClickBaux = function() { var _jbk = null; _j92.default.view.clickGuard = !0, _jax.taskEditSupplyDeck.onClickSupplyBaux(); var _jbl = _jax.taskEditSupplyDeck.getSupplyEdit().getMemShipIds(), _jbm = _j92.default.model.ship.get(_jbl[0]).mstID; _jax._CallSupplyBaux(_jbl, _jbm, function() { var _jbn = null; _jax.taskEditSupplyDeck.updateDeck(_jax.deckId), _j92.default.view.clickGuard = !1; }); }, this.taskEditSupplyDeck.start(_jav); }, _j9r.prototype._startTaskEditSupplyOther = function() { var _jbo = null, _jbp = this; this.taskEditSupplyOther = new _j9e.TaskEditSupplyOther(this.layerTaskMain), this.taskEditSupplyOther.onUpdateSupplyEdit = this._onUpdateCheckForOther; var _jbq = this.taskEditSupplyOther.getSupplyEdit(); this.supplyTypeSelectButton.onClickAll = function() { var _jbr = null; _j92.default.view.clickGuard = !0; var _jbs = _jbq.getMemShipIds(), _jbt = _j92.default.model.ship.get(_jbs[0]).mstID; _jbp._CallSupplyAll(_jbs, _jbt, function() { var _jbu = null; _jbp.taskEditSupplyOther.reload(), _j92.default.view.clickGuard = !1; }); }, this.supplyTypeSelectButton.onClickAmmo = function() { var _jbv = null; _j92.default.view.clickGuard = !0; var _jbw = _jbq.getMemShipIds(); _jbp._CallSupplyAmmo(_jbw, function() { var _jbx = null; _jbp.taskEditSupplyOther.reload(), _j92.default.view.clickGuard = !1; }); }, this.supplyTypeSelectButton.onClickFuel = function() { var _jby = null; _j92.default.view.clickGuard = !0; var _jbz = _jbq.getMemShipIds(); _jbp._CallSupplyFuel(_jbz, function() { var _jc0 = null; _jbp.taskEditSupplyOther.reload(), _j92.default.view.clickGuard = !1; }); }, this.supplyTypeSelectButton.onClickBaux = function() { var _jc1 = null; _j92.default.view.clickGuard = !0; var _jc2 = _jbq.getMemShipIds(), _jc3 = _j92.default.model.ship.get(_jc2[0]).mstID; _jbp._CallSupplyBaux(_jc2, _jc3, function() { var _jc4 = null; _jbp.taskEditSupplyOther.reload(), _j92.default.view.clickGuard = !1; }); }, this.taskEditSupplyOther.start(this.otherShips, this.memoryOtherPageIndex); }, _j9r.prototype.finalize = function() { var _jc5 = null; _j9n.WheelEventUtil.clear(), this.taskEditSupplyDeck && this.taskEditSupplyDeck.dispose(), this.taskEditSupplyDeck = null, this.taskEditSupplyOther && this.taskEditSupplyOther.dispose(), this.taskEditSupplyOther = null, this.layerBase.removeChildren(), this.layerTaskMain.removeChildren(), this.layerTaskOverlay.removeChildren(), this.con_bg1 = null, this.deckSelectView.dispose(), this.deckSelectView = null, this.materialCounterView.dispose(), this.materialCounterView = null, this.headerMain.dispose(), this.headerMain = null, this.combinedView && (this.combinedView.dispose(), this.combinedView = null), this.supplyTypeSelectButton.dispose(), this.supplyTypeSelectButton = null, this.supplyShowcaseView.dispose(), this.supplyShowcaseView = null, this.headerSupply.dispose(), this.headerSupply = null, this.txt_supply = null, this.layerBase = null, this.layerTaskMain = null, this.layerTaskOverlay = null, this.otherShips = null, this.removeChildren(); }, _j9r.prototype.start = function() { var _jc6 = null; this.viewMode = _j9a.ViewMode.DECK, this.deckSelectView.onClickDeck = this._onClickDeck, this.deckSelectView.onClickOther = this._onClickOther; var _jc7 = _j92.default.model.useItem.get(31).count, _jc8 = _j92.default.model.useItem.get(32).count; this.materialCounterView.update(_jc7, _jc8), this.deckSelectView.focusDeck(1), this.deckId = 1, this._startTaskEditSupplyDeck(1), this.combinedView && this.combinedView.activate(); }, _j9r.prototype.getDeckSupllyShip = function() { var _jc9 = null; for (var _jca = _j92.default.model.deck.get(this.deckId).getShipList(), _jcb = [], _jcc = 0; _jcc < _jca.length; _jcc++) { var _jcd = _jca[_jcc]; if (_jcd) _j99.SupplyUtil.CheckRequireSupplyShipAll(_jcd.memID) && _jcb.push(_jcd.memID); } return _jcb; }, _j9r.prototype._animationBauxTelop = function() { var _jce = null; createjs.Tween.get(this.txt_supply).to({ 'alpha': 0, 'x': _j91.default.width, 'y': 90 }).to({ 'alpha': 1, 'x': _j91.default.width / 2 }, 1500).to({ 'alpha': 0, 'x': 525 }, 1000); }, _j9r.prototype._CallSupplyAll = function(_jcf, _jcg, _jch) { var _jci = null, _jcj = this, _jck = _j99.SupplyUtil.CalcRequireMaterials(_jcf), _jcl = _j92.default.model.useItem.get(32).count; 0 < _jck.ammo && _jck.ammo <= _jcl && this.supplyShowcaseView.playSupplyAmmo(function() {}); var _jcm = _j92.default.model.useItem.get(31).count; 0 < _jck.fuel && _jck.fuel <= _jcm && this.supplyShowcaseView.playSupplyFuel(function() {}); var _jcn = new _j96.APIConnector(), _jco = new _j97.ChargeAPI(3, _jcf); _jcn.add(_jco), 40 == _j92.default.model.basic.getTutorialProgress() && _jcn.add(new _j98.UpdateTutorialAPI(50)), _jcn.start(function() { var _jcp = null; _j92.default.sound.voice.play(_jcg.toString(), 27); var _jcq = _j92.default.model.useItem.get(31).count, _jcr = _j92.default.model.useItem.get(32).count; _jcj.materialCounterView.update(_jcq, _jcr), _jco.usedBauxite && _jcj._animationBauxTelop(), _jch(); }); }, _j9r.prototype._CallSupplyAmmo = function(_jcs, _jct) { var _jcu = null, _jcv = this; this.supplyShowcaseView.playSupplyAmmo(function() {}); var _jcw = new _j96.APIConnector(), _jcx = new _j97.ChargeAPI(2, _jcs); _jcw.add(_jcx), 40 == _j92.default.model.basic.getTutorialProgress() && _jcw.add(new _j98.UpdateTutorialAPI(50)), _jcw.start(function() { var _jcy = null, _jcz = _j92.default.model.useItem.get(31).count, _jd0 = _j92.default.model.useItem.get(32).count; _jcv.materialCounterView.update(_jcz, _jd0), _jcx.usedBauxite && _jcv._animationBauxTelop(), _jct(); }); }, _j9r.prototype._CallSupplyFuel = function(_jd1, _jd2) { var _jd3 = null, _jd4 = this; _j92.default.view.clickGuard = !0, this.supplyShowcaseView.playSupplyFuel(function() {}); var _jd5 = new _j96.APIConnector(), _jd6 = new _j97.ChargeAPI(1, _jd1); _jd5.add(_jd6), 40 == _j92.default.model.basic.getTutorialProgress() && _jd5.add(new _j98.UpdateTutorialAPI(50)), _jd5.start(function() { var _jd7 = null, _jd8 = _j92.default.model.useItem.get(31).count, _jd9 = _j92.default.model.useItem.get(32).count; _jd4.materialCounterView.update(_jd8, _jd9), _jd6.usedBauxite && _jd4._animationBauxTelop(), _jd2(); }); }, _j9r.prototype._CallSupplyBaux = function(_jda, _jdb, _jdc) { var _jdd = null, _jde = this; _j92.default.view.clickGuard = !0; var _jdf = new _j96.APIConnector(), _jdg = new _j97.ChargeAPI(0, _jda); _jdf.add(_jdg), 40 == _j92.default.model.basic.getTutorialProgress() && _jdf.add(new _j98.UpdateTutorialAPI(50)), _jdf.start(function() { var _jdh = null; _j92.default.sound.voice.play(_jdb.toString(), 27), _jdg.usedBauxite && _jde._animationBauxTelop(), _jdc(); }); }, _j9r.prototype._updateTypeSelectButton = function(_jdi, _jdj, _jdk, _jdl) { var _jdm = null; this.supplyTypeSelectButton.update(0 < _jdl && _jdj, 0 < _jdk && _jdi), this.supplyShowcaseView.hideAlert(), 0 == _jdi && 0 == _jdj ? this.supplyShowcaseView.showAlert('補給に必要な燃料・弾薬が足りません') : 0 == _jdj ? this.supplyShowcaseView.showAlert('補給に必要な燃料が足りません') : 0 == _jdi && this.supplyShowcaseView.showAlert('補給に必要な弾薬が足りません'); }, _j9r.prototype._updateButtonAlls = function() { var _jdn = null; if (null != _j92.default.model.deck.get(this.deckId).expedition) this.supplyTypeSelectButton.updateButton(!1, !1); else { var _jdo = this.getDeckSupllyShip(), _jdp = _j99.SupplyUtil.CalcRequireMaterials(_jdo), _jdq = _jdp.ammo, _jdr = _jdp.fuel, _jds = _jdp.baux, _jdt = _j92.default.model.useItem.get(31).count, _jdu = _j92.default.model.useItem.get(32).count, _jdv = _jds <= _j92.default.model.useItem.get(34).count, _jdw = 0 < _jds && _jdv, _jdx = (0 < _jdr || 0 < _jdq || 0 < _jds) && _jdr <= _jdt && _jdq <= _jdu && _jdv; this.supplyTypeSelectButton.updateButton(_jdw, _jdx); } }, _j9r.prototype._updateShowcase = function(_jdy, _jdz, _je0, _je1) { var _je2 = null; this.supplyShowcaseView.updateAmmoCount(_je0, _jdy), this.supplyShowcaseView.updateFuelCount(_je1, _jdz), this.supplyShowcaseView.playAnimationAmmo(_je0), this.supplyShowcaseView.playAnimationFuel(_je1); }, _j9r.prototype.getPreInitializeTask = function(_je3) { var _je4 = null; return new _j9b.PreInitializeTask(this); }, _j9r.prototype.getFinalizeTask = function() { var _je5 = null; return new _j9c.FinalizeTask(this); }, _j9r; }(_j94.SceneBase); _j8e.SupplyScene = _j9o; }, 9644: function(_je6, _je7, _je8) { 'use strict'; var _je9 = null; var _jea = this && this.__importDefault || function(_jeb) { var _jec = null; return _jeb && _jeb.__esModule ? _jeb : { 'default': _jeb }; }; defineModule(_je7); Object.defineProperty(_je7, '__esModule', { 'value': !0 }), _je7.SupplyUtil = void 0; var _jed, _jee = _je8(51805), _jef = _jea(_je8(18622)); ! function(_jeg) { var _jeh = null; _jeg.CalcRequireMaterials = function(_jei) { var _jej = null, _jek = 0, _jel = 0, _jem = 0; return _jei.forEach(function(_jen) { var _jeo = null, _jep = _jef.default.model.ship.get(_jen); _jek += _jep.getFuelForSupply(), _jel += _jep.getAmmoForSupply(), _jem += _jep.getBauxForSupply(); }), { 'fuel': _jek, 'ammo': _jel, 'baux': _jem }; }, _jeg.CheckRequireSupplyDeck = function(_jeq) { var _jer = null; for (var _jes = _jef.default.model.deck.get(_jeq), _jet = _jes.getCount(), _jeu = 0; _jeu < _jet; _jeu++) { var _jev = _jes.getShipMemID(_jeu); if (_jeg.CheckRequireSupplyShip(_jev)) return !0; } return !1; }, _jeg.CheckRequireSupplyDeckAll = function(_jew) { var _jex = null; for (var _jey = _jef.default.model.deck.get(_jew), _jez = _jey.getCount(), _jf0 = 0; _jf0 < _jez; _jf0++) { var _jf1 = _jey.getShipMemID(_jf0); if (_jeg.CheckRequireSupplyShipAll(_jf1)) return !0; } return !1; }, _jeg.CheckRequireSupplyDeckBaux = function(_jf2) { var _jf3 = null; for (var _jf4 = _jef.default.model.deck.get(_jf2), _jf5 = _jf4.getCount(), _jf6 = 0; _jf6 < _jf5; _jf6++) { var _jf7 = _jf4.getShipMemID(_jf6); if (_jeg.CheckRequireSupplyShipBaux(_jf7)) return !0; } return !1; }, _jeg.CheckRequireSupplyShip = function(_jf8) { var _jf9 = null, _jfa = _jef.default.model.ship.get(_jf8); return !(0 != (_jfa.ammoMax <= _jfa.ammoNow && _jfa.fuelMax <= _jfa.fuelNow)); }, _jeg.CheckRequireSupplyShipAll = function(_jfb) { var _jfc = null; for (var _jfd = _jef.default.model.ship.get(_jfb), _jfe = 0 == (_jfd.ammoMax <= _jfd.ammoNow && _jfd.fuelMax <= _jfd.fuelNow), _jff = 0; _jff < _jfd.slotNum; _jff++) { var _jfg = _jfd.getSlotitemTousai(_jff), _jfh = _jfd.getSlotitemTousaiMax(_jff), _jfi = _jfd.getSlotitems()[_jff]; if (_jfi && _jfi.equipTypeSp == _jee.EquipType._41_OGATA_HIKOUTEI && (_jfh = 1), _jfh > _jfg) { _jfe = !0; break; } } return !!_jfe; }, _jeg.CheckRequireSupplyShipBaux = function(_jfj) { var _jfk = null; for (var _jfl = _jef.default.model.ship.get(_jfj), _jfm = !1, _jfn = 0; _jfn < _jfl.slotNum; _jfn++) { var _jfo = _jfl.getSlotitemTousai(_jfn), _jfp = _jfl.getSlotitemTousaiMax(_jfn), _jfq = _jfl.getSlotitems()[_jfn]; if (_jfq && _jfq.equipTypeSp == _jee.EquipType._41_OGATA_HIKOUTEI && (_jfp = 1), _jfp > _jfo) { _jfm = !0; break; } } return !!_jfm; }; }(_jed || (_je7.SupplyUtil = _jed = {})); }, 23624: (_jfr, _jfs) => { 'use strict'; var _jft = null; var _jfu; defineModule(_jfs); Object.defineProperty(_jfs, '__esModule', { 'value': !0 }), _jfs.ViewMode = void 0, function(_jfv) { var _jfw = null; _jfv[_jfv.DECK = 0] = 'DECK', _jfv[_jfv.OTHER = 1] = 'OTHER'; }(_jfu || (_jfs.ViewMode = _jfu = {})); }, 11600: (_jfx, _jfy) => { 'use strict'; var _jfz = null; defineModule(_jfy); Object.defineProperty(_jfy, '__esModule', { 'value': !0 }), _jfy.SupplyEditor = void 0; var _jg0 = (function() { var _jg1 = null; function _jg2() { var _jg3 = null; this.memShipIds = []; } return _jg2.prototype.getMemShipIds = function() { var _jg4 = null; return this.memShipIds; }, _jg2.prototype.containts = function(_jg5) { var _jg6 = null; return -1 != this.memShipIds.indexOf(_jg5); }, _jg2.prototype.push = function(_jg7) { var _jg8 = null; this.memShipIds.push(_jg7); }, _jg2.prototype.remove = function(_jg9) { var _jga = null, _jgb = this.memShipIds.indexOf(_jg9); this.memShipIds.splice(_jgb, 1); }, _jg2.prototype.clear = function() { var _jgc = null; this.memShipIds = []; }, _jg2; }()); _jfy.SupplyEditor = _jg0; }, 76131: function(_jgd, _jge, _jgf) { 'use strict'; var _jgg = null; var _jgh, _jgi = this && this.__extends || (_jgh = function(_jgj, _jgk) { var _jgl = null; return _jgh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_jgm, _jgn) { var _jgo = null; _jgm.__proto__ = _jgn; } || function(_jgp, _jgq) { var _jgr = null; for (var _jgs in _jgq) Object.prototype.hasOwnProperty.call(_jgq, _jgs) && (_jgp[_jgs] = _jgq[_jgs]); }, _jgh(_jgj, _jgk); }, function(_jgt, _jgu) { var _jgv = null; if ('function' != typeof _jgu && null !== _jgu) throw new TypeError('Class extends value ' + String(_jgu) + ' is not a constructor or null'); function _jgw() { var _jgx = null; this.constructor = _jgt; } _jgh(_jgt, _jgu), _jgt.prototype = null === _jgu ? Object.create(_jgu) : (_jgw.prototype = _jgu.prototype, new _jgw()); }); defineModule(_jge); Object.defineProperty(_jge, '__esModule', { 'value': !0 }), _jge.FinalizeTask = void 0; var _jgy = _jgf(81755), _jgz = _jgf(13748), _jh0 = function(_jh1) { var _jh2 = null; function _jh3(_jh4) { var _jh5 = null, _jh6 = _jh1.call(this) || this; return _jh6.supplyScene = _jh4, _jh6; } return _jgi(_jh3, _jh1), _jh3.prototype._start = function() { var _jh7 = null; this.supplyScene.finalize(), this.supplyScene = null, _jgz.UIImageLoader.clearMemoryCache('supply'), _jh1.prototype._completedEnd.call(this); }, _jh3; }(_jgy.TaskBase); _jge.FinalizeTask = _jh0; }, 74146: function(_jh8, _jh9, _jha) { 'use strict'; var _jhb = null; var _jhc, _jhd = this && this.__extends || (_jhc = function(_jhe, _jhf) { var _jhg = null; return _jhc = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_jhh, _jhi) { var _jhj = null; _jhh.__proto__ = _jhi; } || function(_jhk, _jhl) { var _jhm = null; for (var _jhn in _jhl) Object.prototype.hasOwnProperty.call(_jhl, _jhn) && (_jhk[_jhn] = _jhl[_jhn]); }, _jhc(_jhe, _jhf); }, function(_jho, _jhp) { var _jhq = null; if ('function' != typeof _jhp && null !== _jhp) throw new TypeError('Class extends value ' + String(_jhp) + ' is not a constructor or null'); function _jhr() { var _jhs = null; this.constructor = _jho; } _jhc(_jho, _jhp), _jho.prototype = null === _jhp ? Object.create(_jhp) : (_jhr.prototype = _jhp.prototype, new _jhr()); }), _jht = this && this.__importDefault || function(_jhu) { var _jhv = null; return _jhu && _jhu.__esModule ? _jhu : { 'default': _jhu }; }; defineModule(_jh9); Object.defineProperty(_jh9, '__esModule', { 'value': !0 }), _jh9.PreInitializeTask = void 0; var _jhw = _jht(_jha(18622)), _jhx = _jha(81755), _jhy = _jha(13748), _jhz = _jha(31000), _ji0 = function(_ji1) { var _ji2 = null; function _ji3(_ji4) { var _ji5 = null, _ji6 = _ji1.call(this) || this; return _ji6._scene = _ji4, _ji6; } return _jhd(_ji3, _ji1), _ji3.prototype._start = function() { var _ji7 = null; this._phaseLoadResources(); }, _ji3.prototype._phaseLoadResources = function() { var _ji8 = null, _ji9 = this, _jia = new _jhy.UIImageLoader('supply'); _jia.add('supply_main.json'), _jia.load(function() { var _jib = null; _ji9._uploadToGPU(); }); }, _ji3.prototype._uploadToGPU = function() { var _jic = null, _jid = this; _jhw.default.settings.renderer.plugins.prepare.upload(_jhz.SUPPLY_MAIN.getTexture(0).baseTexture, function() { var _jie = null; _jid._phaseLoadComplete(); }); }, _ji3.prototype._phaseLoadComplete = function() { var _jif = null; this._scene.preInitialize(), this._scene.initialize(), _jhw.default.sound.bgm.play(102), this._scene.start(), this._endTask(); }, _ji3.prototype._endTask = function() { var _jig = null; this._scene = null, _ji1.prototype._endTask.call(this); }, _ji3; }(_jhx.TaskBase); _jh9.PreInitializeTask = _ji0; }, 87829: function(_jih, _jii, _jij) { 'use strict'; var _jik = null; var _jil = this && this.__importDefault || function(_jim) { var _jin = null; return _jim && _jim.__esModule ? _jim : { 'default': _jim }; }; defineModule(_jii); Object.defineProperty(_jii, '__esModule', { 'value': !0 }), _jii.TaskEditSupplyDeck = void 0; var _jio = _jij(71837), _jip = _jij(60486), _jiq = _jil(_jij(18622)), _jir = _jij(55503), _jis = _jij(9644), _jit = _jij(31000), _jiu = _jij(11600), _jiv = _jij(35837), _jiw = _jij(16677), _jix = (function() { var _jiy = null; function _jiz(_jj0) { var _jj1 = null, _jj2 = this; this.DECK_MAX = 6, this._isAllSupply = !1, this._isOverAllBtn2 = !1, this._onClickShip = function(_jj3, _jj4) { var _jj5 = null, _jj6 = _jj2.deckSupplyBanners[_jj3]; _jj2.supplyEditor.containts(_jj4) ? (_jj2.supplyEditor.remove(_jj4), _jit.SE.play('238'), _jj6.setDefault()) : (_jj2.supplyEditor.push(_jj4), _jit.SE.play('241'), _jj6.checkOn()), _jj2.onUpdateSupplyEdit(!0); }, this._onMouseOverSupplyAll = function() { var _jj7 = null; _jj2._isAllSupply = !1, _jj2.supplyEditor.clear(); for (var _jj8 = _jiq.default.model.deck.get(_jj2.deckId), _jj9 = _jj8.getShipList(), _jja = 0; _jja < _jj9.length; _jja++) { if (_jjb = _jj8.getShipModel(_jja)) _jis.SupplyUtil.CheckRequireSupplyShip(_jjb.memID) && _jj2.supplyEditor.push(_jjb.memID); } for (_jja = 0; _jja < _jj2.deckSupplyBanners.length; _jja++) { var _jjb, _jjc = _jja + _jj2.shipInDeckOrigin; if (_jjb = _jj8.getShipModel(_jjc)) { if (_jj2.supplyEditor.containts(_jjb.memID)) _jj2.deckSupplyBanners[_jja].checkOn(); } } _jit.SE.play('241'), _jj2.onUpdateSupplyEdit(!0); }, this._onMouseOutSupplyAll = function() { var _jjd = null; if (1 == _jj2._isAllSupply) return !1; _jj2.supplyEditor.clear(); for (var _jje = _jiq.default.model.deck.get(_jj2.deckId), _jjf = 0; _jjf < _jj2.deckSupplyBanners.length; _jjf++) { var _jjg = _jjf + _jj2.shipInDeckOrigin, _jjh = _jje.getShipModel(_jjg); if (_jjh) { var _jji = _jj2.deckSupplyBanners[_jjf]; _jis.SupplyUtil.CheckRequireSupplyShip(_jjh.memID) && _jji.setDefault(); } } _jit.SE.play('238'), _jj2.onUpdateSupplyEdit(!0); }, this._onClickSupplyAll = function() { var _jjj = null; _jj2.supplyEditor.clear(), _jj2._isAllSupply = !0; for (var _jjk = _jiq.default.model.deck.get(_jj2.deckId), _jjl = _jjk.getShipList(), _jjm = 0; _jjm < _jjl.length; _jjm++) { if (_jjn = _jjl[_jjm]) _jis.SupplyUtil.CheckRequireSupplyShip(_jjn.memID) && _jj2.supplyEditor.push(_jjn.memID); } for (_jjm = 0; _jjm < _jj2.deckSupplyBanners.length; _jjm++) { var _jjn, _jjo = _jjm + _jj2.shipInDeckOrigin; if (_jjn = _jjk.getShipModel(_jjo)) { if (_jj2.supplyEditor.containts(_jjn.memID)) _jj2.deckSupplyBanners[_jjm].checkOn(); } } var _jjp = _jiq.default.model.useItem.get(31).count, _jjq = _jiq.default.model.useItem.get(32).count, _jjr = _jj2.supplyEditor.getMemShipIds(), _jjs = _jis.SupplyUtil.CalcRequireMaterials(_jjr), _jjt = _jis.SupplyUtil.CheckRequireSupplyDeckAll(_jj2.deckId), _jju = _jis.SupplyUtil.CheckRequireSupplyDeckBaux(_jj2.deckId); 0 < _jjs.ammo && _jjs.ammo <= _jjq || 0 < _jjs.fuel && _jjs.fuel <= _jjp ? (_jj2.onUpdateSupplyEdit(!0), _jj2.onClickSupplyAll()) : _jjt && _jju ? _jj2.supplyAllButton.updateClickable(!1) : _jj2.onUpdateSupplyEdit(!0); }, this._saveTempSupply2 = [], this.onMouseOverSupplyAll2 = function() { var _jjv = null; _jj2._isOverAllBtn2 = !0; var _jjw = _jiq.default.model.deck.get(_jj2.deckId), _jjx = _jj2.supplyEditor.getMemShipIds(); _jj2.supplyEditor.clear(); for (var _jjy = _jjw.getShipList(), _jjz = 0; _jjz < _jjy.length; _jjz++) { if (_jk0 = _jjw.getShipModel(_jjz)) _jis.SupplyUtil.CheckRequireSupplyShipAll(_jk0.memID) && _jj2.supplyEditor.push(_jk0.memID); } for (_jjz = 0; _jjz < _jj2.deckSupplyBanners.length; _jjz++) { var _jk0, _jk1 = _jjz + _jj2.shipInDeckOrigin; if (_jk0 = _jjw.getShipModel(_jk1)) { if (_jj2.supplyEditor.containts(_jk0.memID)) _jj2.deckSupplyBanners[_jjz].checkOn(); } } _jit.SE.play('241'), _jj2._saveTempSupply2 = _jjx; }, this.onMouseOutSupplyAll2 = function() { var _jk2 = null; _jj2._isOverAllBtn2 = !1, _jj2.supplyEditor.clear(); for (var _jk3 = _jiq.default.model.deck.get(_jj2.deckId), _jk4 = 0; _jk4 < _jj2.deckSupplyBanners.length; _jk4++) { var _jk5 = _jk4 + _jj2.shipInDeckOrigin, _jk6 = _jk3.getShipModel(_jk5); if (_jk6) { var _jk7 = _jj2.deckSupplyBanners[_jk4]; _jis.SupplyUtil.CheckRequireSupplyShipAll(_jk6.memID) && (_jk7.setDefault(), -1 != _jj2._saveTempSupply2.indexOf(_jk6.memID) && (_jj2.supplyEditor.push(_jk6.memID), _jk7.checkOn())); } } _jit.SE.play('238'), _jj2.onUpdateSupplyEdit(!0), _jj2._saveTempSupply2 = []; }, this.onClickSupplyAll2 = function() { var _jk8 = null; if (!_jj2._isOverAllBtn2) { _jj2.supplyEditor.clear(); for (var _jk9 = _jiq.default.model.deck.get(_jj2.deckId), _jka = _jk9.getShipList(), _jkb = 0; _jkb < _jka.length; _jkb++) { if (_jkc = _jka[_jkb]) _jis.SupplyUtil.CheckRequireSupplyShipAll(_jkc.memID) && _jj2.supplyEditor.push(_jkc.memID); } for (_jkb = 0; _jkb < _jj2.deckSupplyBanners.length; _jkb++) { var _jkc, _jkd = _jkb + _jj2.shipInDeckOrigin; if (_jkc = _jk9.getShipModel(_jkd)) { if (_jj2.supplyEditor.containts(_jkc.memID)) _jj2.deckSupplyBanners[_jkb].checkOn(); } } } _jj2.onUpdateSupplyEdit(!0), _jj2.supplyAllButton.updateClickable(!1); }, this.onClickSupplyBaux = function() { var _jke = null; _jj2.supplyEditor.clear(); for (var _jkf = _jiq.default.model.deck.get(_jj2.deckId), _jkg = _jkf.getShipList(), _jkh = 0; _jkh < _jkg.length; _jkh++) { if (_jki = _jkg[_jkh]) _jis.SupplyUtil.CheckRequireSupplyShipBaux(_jki.memID) && _jj2.supplyEditor.push(_jki.memID); } for (_jkh = 0; _jkh < _jj2.deckSupplyBanners.length; _jkh++) { var _jki, _jkj = _jkh + _jj2.shipInDeckOrigin; if (_jki = _jkf.getShipModel(_jkj)) { if (_jj2.supplyEditor.containts(_jki.memID)) _jj2.deckSupplyBanners[_jkh].checkOn(); } } _jj2.onUpdateSupplyEdit(!1); }, this.shipInDeckOrigin = 0, this._onClickArrowTop = function() { var _jkk = null; _jj2.shipInDeckOrigin -= 1, _jj2._updateDeck_(_jj2.deckId, _jj2.shipInDeckOrigin); }, this._onClickArrowBottom = function() { var _jkl = null; _jj2.shipInDeckOrigin += 1, _jj2._updateDeck_(_jj2.deckId, _jj2.shipInDeckOrigin); }, this._onWheel = function(_jkm) { var _jkn = null; if (0 != _jkm.delta) { if (_jkm.delta > 0) { var _jko = _jiq.default.model.deck.get(_jj2.deckId); _jj2.shipInDeckOrigin + _jj2.deckSupplyBanners.length < _jko.getCount() && (_jkm.enabledGuard(), _jj2._onClickArrowBottom()); } else _jj2.shipInDeckOrigin > 0 && (_jkm.enabledGuard(), _jj2._onClickArrowTop()); } }, this.mainView = _jj0, this.supplyAllButton = new _jip.SupplyAllButton(), this.deckSupplyBanners = []; for (var _jkp = 0; _jkp < this.DECK_MAX; _jkp++) { var _jkq = new _jir.DeckSupplyBanner(_jkp); _jkq.position.set(165, 215 + _jkq.ITEM_HEIGHT * _jkp), this.deckSupplyBanners.push(_jkq); } this.arrowTopButton = new _jiv.ArrowTopButton(), this.arrowBottomButton = new _jiv.ArrowBottomButton(); } return _jiz.prototype.getSupplyEdit = function() { var _jkr = null; return this.supplyEditor; }, _jiz.prototype.updateDeck = function(_jks) { var _jkt = null; this.deckId = _jks, this.supplyEditor.clear(), this._updateDeck_(_jks, this.shipInDeckOrigin), this.onUpdateSupplyEdit(!0); }, _jiz.prototype.changeDeck = function(_jku) { var _jkv = null; _jiw.WheelEventUtil.clear(), this.shipInDeckOrigin = 0, this.deckId = _jku, this.supplyEditor.clear(), this._updateDeck_(_jku, this.shipInDeckOrigin), this.onUpdateSupplyEdit(!0); }, _jiz.prototype.start = function(_jkw) { var _jkx = null; this.supplyAllButton.position.set(162, 164), this.mainView.addChild(this.supplyAllButton); for (var _jky = 0; _jky < this.deckSupplyBanners.length; _jky++) { var _jkz = this.deckSupplyBanners[_jky]; _jkz.onClick = this._onClickShip, this.mainView.addChild(_jkz); } this.arrowTopButton.position.set(533, 173), this.arrowBottomButton.position.set(533, 634), this.mainView.addChild(this.arrowTopButton), this.mainView.addChild(this.arrowBottomButton), this.supplyAllButton.onMouseOver = this._onMouseOverSupplyAll, this.supplyAllButton.onMouseOut = this._onMouseOutSupplyAll, this.supplyAllButton.onClick = this._onClickSupplyAll, this.arrowTopButton.onClick = this._onClickArrowTop, this.arrowBottomButton.onClick = this._onClickArrowBottom, this.supplyEditor = new _jiu.SupplyEditor(), this._updateDeck_(_jkw, this.shipInDeckOrigin), this.onUpdateSupplyEdit(!0); }, _jiz.prototype._updateDeck_ = function(_jl0, _jl1) { var _jl2 = null; for (var _jl3 = _jiq.default.model.deck.get(_jl0), _jl4 = null != _jl3.expedition, _jl5 = 0; _jl5 < this.deckSupplyBanners.length; _jl5++) { var _jl6 = _jl1 + _jl5, _jl7 = this.deckSupplyBanners[_jl5]; _jio.TaskLoadShipResource.abortBy(_jl7); var _jl8 = _jl3.getShipModel(_jl6); if (_jl8) { var _jl9 = (_jla = _jis.SupplyUtil.CheckRequireSupplyShip(_jl8.memID)) && 0 == _jl4, _jlb = !!_jl9 && this.supplyEditor.containts(_jl8.memID); _jl7.update(_jl6, _jl8, _jl4, _jl9, _jlb); } else _jl7.empty(); } if (this.arrowBottomButton.visible = !1, this.arrowTopButton.visible = !1, 0 < _jl1 && (this.arrowTopButton.visible = !0), _jl1 + this.deckSupplyBanners.length < _jl3.getCount() && (this.arrowBottomButton.visible = !0), _jl3.getCount() > this.DECK_MAX && _jiq.default.model.deck.exist3rdUnit && _jiw.WheelEventUtil.regist(this._onWheel.bind(this)), _jl3.expedition) this.supplyAllButton.updateClickable(!1); else { var _jla = _jis.SupplyUtil.CheckRequireSupplyDeck(_jl0); this.supplyAllButton.updateClickable(_jla); } this.deckId = _jl0; }, _jiz.prototype.dispose = function() { var _jlc = null, _jld = this; _jiw.WheelEventUtil.clear(), this.mainView.removeChildren(), this.deckSupplyBanners.forEach(function(_jle) { var _jlf = null; _jio.TaskLoadShipResource.abortBy(_jle), _jle.dispose(), _jle.onClick = _jld._onClickShip = null, _jle = null; }), this.supplyAllButton.onMouseOver = this._onMouseOverSupplyAll = null, this.supplyAllButton.onMouseOut = this._onMouseOutSupplyAll = null, this.supplyAllButton.onClick = this._onClickSupplyAll = null, this.supplyAllButton.dispose(), this.supplyAllButton = null, this.arrowTopButton.dispose(), this.arrowTopButton = null, this.arrowBottomButton.dispose(), this.arrowBottomButton = null, this.onUpdateSupplyEdit = null, this.onClickSupplyAll = null, this.mainView = null, this.deckSupplyBanners = null, this.deckId = null, this.supplyEditor = null; }, _jiz; }()); _jii.TaskEditSupplyDeck = _jix; }, 75317: (_jlg, _jlh, _jli) => { 'use strict'; var _jlj = null; defineModule(_jlh); Object.defineProperty(_jlh, '__esModule', { 'value': !0 }), _jlh.TaskEditSupplyOther = void 0; var _jlk = _jli(9644), _jll = _jli(1893), _jlm = _jli(31000), _jln = _jli(50284), _jlo = _jli(5330), _jlp = _jli(11600), _jlq = _jli(16677), _jlr = (function() { var _jls = null; function _jlt(_jlu) { var _jlv = null, _jlw = this; this.LIST_MAX = 10, this._onChangePage = function(_jlx) { var _jly = null; _jlw._pageIndex != _jlx && _jlw._updatePage(_jlx); }, this._onWheel = function(_jlz) { var _jm0 = null; if (0 != _jlz.delta) { var _jm1 = _jlw.calcPageCount(_jlw.otherShips.length, _jlw.otherSupplyListItems.length); if (0 != _jm1) { var _jm2 = _jlz.delta > 0 ? _jlw.pageIndex + 1 : _jlw.pageIndex - 1; _jm2 < 0 || _jm2 + 1 > _jm1 || (_jlz.enabledGuard(), _jlw.otherSupplyListItems.forEach(function(_jm3) { var _jm4 = null; return _jm3.onMouseOutForce(); }), _jlw._updatePage(_jm2)); } } }, this._onClickListItem = function(_jm5, _jm6) { var _jm7 = null; _jlw.supplyEditor.containts(_jm6) ? (_jlm.SE.play('238'), _jlw.supplyEditor.remove(_jm6)) : (_jlm.SE.play('241'), _jlw.supplyEditor.push(_jm6)), _jlw._updatePage(_jlw._pageIndex), _jlw.onUpdateSupplyEdit(); }, this._onClickSupplySelectAll = function() { var _jm8 = null; for (var _jm9 = 0, _jma = 0, _jmb = _jlw.otherShips.slice(_jlw._pageIndex * _jlw.otherSupplyListItems.length, _jlw._pageIndex * _jlw.otherSupplyListItems.length + _jlw.otherSupplyListItems.length), _jmc = 0; _jmc < _jmb.length; _jmc++) { var _jmd = _jmb[_jmc], _jme = _jlk.SupplyUtil.CheckRequireSupplyShip(_jmd.memID), _jmf = _jlk.SupplyUtil.CheckRequireSupplyShipBaux(_jmd.memID); if (_jme || _jmf) _jm9++, _jlw.supplyEditor.containts(_jmd.memID) && _jma++; } if (_jma < _jm9) { for (_jmc = 0; _jmc < _jmb.length; _jmc++) { _jmd = _jmb[_jmc], _jme = _jlk.SupplyUtil.CheckRequireSupplyShip(_jmd.memID), _jmf = _jlk.SupplyUtil.CheckRequireSupplyShipBaux(_jmd.memID); if (_jme || _jmf) 0 == _jlw.supplyEditor.containts(_jmd.memID) && _jlw.supplyEditor.push(_jmd.memID); } _jlm.SE.play('241'); } else { if (_jma == _jm9) for (_jmc = 0; _jmc < _jmb.length; _jmc++) { _jmd = _jmb[_jmc], _jme = _jlk.SupplyUtil.CheckRequireSupplyShip(_jmd.memID), _jmf = _jlk.SupplyUtil.CheckRequireSupplyShipBaux(_jmd.memID); if (_jme || _jmf) _jlw.supplyEditor.containts(_jmd.memID) && _jlw.supplyEditor.remove(_jmd.memID); } _jlm.SE.play('238'); } _jlw._updatePage(_jlw._pageIndex), _jlw.onUpdateSupplyEdit(); }, this.onClickSupplyBaux = function() { var _jmg = null; _jlw.supplyEditor.clear(); for (var _jmh = _jlw.otherSupplyListItems, _jmi = 0; _jmi < _jmh.length; _jmi++) { var _jmj = _jmh[_jmi]; if (_jmj) _jlk.SupplyUtil.CheckRequireSupplyShipBaux(_jmj.memShipId) && _jlw.supplyEditor.push(_jmj.memShipId); } _jlw.onUpdateSupplyEdit(); }, this.mainView = _jlu, this.otherSupplyListItems = []; for (var _jmk = 0; _jmk < this.LIST_MAX; _jmk++) { var _jml = new _jln.OtherSupplyListItem(_jmk); _jml.position.set(155, 44 * _jmk + 206), this.otherSupplyListItems.push(_jml); } this.pagerView = new _jll.PagerView(), this.pagerView.position.set(285, 663), this.supplySelectAllButton = new _jlo.SupplySelectAllButton(), this.supplyEditor = new _jlp.SupplyEditor(); } return _jlt.prototype.getSupplyEdit = function() { var _jmm = null; return this.supplyEditor; }, Object.defineProperty(_jlt.prototype, 'pageIndex', { 'get': function() { var _jmn = null; return this._pageIndex; }, 'enumerable': !1, 'configurable': !0 }), _jlt.prototype.start = function(_jmo, _jmp) { var _jmq = null; this.supplyEditor.clear(), this.otherShips = _jmo, this.supplySelectAllButton.position.set(162, 164), this.mainView.addChild(this.supplySelectAllButton); for (var _jmr = 0; _jmr < this.otherSupplyListItems.length; _jmr++) { var _jms = this.otherSupplyListItems[_jmr]; _jms.onClick = this._onClickListItem, this.mainView.addChild(_jms); } var _jmt = this.calcPageCount(this.otherShips.length, this.otherSupplyListItems.length); this.pagerView.init(_jmt), this.mainView.addChild(this.pagerView), this.pagerView.onChangePage = this._onChangePage, this.supplySelectAllButton.onClick = this._onClickSupplySelectAll, this._updatePage(_jmp), this.onUpdateSupplyEdit(), _jlq.WheelEventUtil.regist(this._onWheel); }, _jlt.prototype.reload = function() { var _jmu = null; this.supplyEditor.clear(), this._updatePage(this.pageIndex), this.onUpdateSupplyEdit(); }, _jlt.prototype._updatePage = function(_jmv) { var _jmw = null; for (var _jmx = 0, _jmy = 0, _jmz = this.otherShips.slice(_jmv * this.otherSupplyListItems.length, _jmv * this.otherSupplyListItems.length + this.otherSupplyListItems.length), _jn0 = 0; _jn0 < this.otherSupplyListItems.length; _jn0++) { var _jn1 = this.otherSupplyListItems[_jn0]; if (_jn1.empty(), _jn0 < _jmz.length) { var _jn2 = _jmz[_jn0], _jn3 = _jlk.SupplyUtil.CheckRequireSupplyShip(_jn2.memID), _jn4 = _jlk.SupplyUtil.CheckRequireSupplyShipBaux(_jn2.memID); _jn1.checkDisable(); var _jn5 = _jn3 || _jn4; if (_jn5) _jmx++, _jn1.checkOff(), this.supplyEditor.containts(_jn2.memID) && (_jmy++, _jn1.checkOn()); _jn1.update(_jn2, _jn5, _jn4); } } var _jn6 = 1; 0 < _jmx && (_jn6 = 2, _jmy == _jmx && (_jn6 = 3)), this.supplySelectAllButton.update(_jn6), this.pagerView.changePage(_jmv), this._pageIndex = _jmv; }, _jlt.prototype.dispose = function() { var _jn7 = null, _jn8 = this; this.mainView.removeChildren(), this.otherSupplyListItems.forEach(function(_jn9) { var _jna = null; _jn9.onClick = _jn8._onClickListItem = null, _jn9.dispose(), _jn9 = null; }), this.pagerView.onChangePage = this._onChangePage = null, this.supplySelectAllButton.onClick = this._onClickSupplySelectAll = null, this.onUpdateSupplyEdit = null, this.mainView = null, this.otherSupplyListItems = null, this.pagerView.dispose(), this.pagerView = null, this.supplySelectAllButton.dispose(), this.supplySelectAllButton = null, this.supplyEditor = null, this.otherShips = null, this._pageIndex = null, _jlq.WheelEventUtil.clear(); }, _jlt.prototype.calcPageCount = function(_jnb, _jnc) { var _jnd = null, _jne = 0 == _jnb ? 0 : _jnb / _jnc; return _jne += 0 == _jnb ? 0 : 0 < _jnb % _jnc ? 1 : 0, _jne = Math.floor(_jne); }, _jlt; }()); _jlh.TaskEditSupplyOther = _jlr; }, 73020: function(_jnf, _jng, _jnh) { 'use strict'; var _jni = null; var _jnj, _jnk = this && this.__extends || (_jnj = function(_jnl, _jnm) { var _jnn = null; return _jnj = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_jno, _jnp) { var _jnq = null; _jno.__proto__ = _jnp; } || function(_jnr, _jns) { var _jnt = null; for (var _jnu in _jns) Object.prototype.hasOwnProperty.call(_jns, _jnu) && (_jnr[_jnu] = _jns[_jnu]); }, _jnj(_jnl, _jnm); }, function(_jnv, _jnw) { var _jnx = null; if ('function' != typeof _jnw && null !== _jnw) throw new TypeError('Class extends value ' + String(_jnw) + ' is not a constructor or null'); function _jny() { var _jnz = null; this.constructor = _jnv; } _jnj(_jnv, _jnw), _jnv.prototype = null === _jnw ? Object.create(_jnw) : (_jny.prototype = _jnw.prototype, new _jny()); }), _jo0 = this && this.__importDefault || function(_jo1) { var _jo2 = null; return _jo1 && _jo1.__esModule ? _jo1 : { 'default': _jo1 }; }; defineModule(_jng); Object.defineProperty(_jng, '__esModule', { 'value': !0 }), _jng.DeckSelectView = void 0; var _jo3 = _jo0(_jnh(18622)), _jo4 = _jnh(11997), _jo5 = _jnh(35380), _jo6 = function(_jo7) { var _jo8 = null; function _jo9() { var _joa = null, _job = _jo7.call(this) || this; return _job._onClickDeck = function(_joc) { var _jod = null; _job.onClickDeck(_joc); }, _job._onClickOther = function() { var _joe = null; _job.onClickOther(); }, _job.deck1 = new PIXI.Sprite(), _job.deck2 = new PIXI.Sprite(), _job.deck3 = new PIXI.Sprite(), _job.deck4 = new PIXI.Sprite(), _job.deckOther = new PIXI.Sprite(), _job.deck1.position.set(0, 0), _job.deck2.position.set(45, 0), _job.deck3.position.set(90, 0), _job.deck4.position.set(135, 0), _job.deckOther.position.set(180, 0), _job.deck1.on(_jo5.EventType.CLICK, function() { var _jof = null; _job._onClickDeck(1); }), _job.deck2.on(_jo5.EventType.CLICK, function() { var _jog = null; _job._onClickDeck(2); }), _job.deck3.on(_jo5.EventType.CLICK, function() { var _joh = null; _job._onClickDeck(3); }), _job.deck4.on(_jo5.EventType.CLICK, function() { var _joi = null; _job._onClickDeck(4); }), _job.deckOther.on(_jo5.EventType.CLICK, function() { var _joj = null; _job._onClickOther(); }), _job.addChild(_job.deck1, _job.deck2, _job.deck3, _job.deck4, _job.deckOther), _jo3.default.model.deck.exist3rdUnit && (_job.icon3rdUnit = new PIXI.Sprite(_jo4.COMMON_MISC.getTexture(187)), _job.icon3rdUnit.position.set(75, -21), _job.addChild(_job.icon3rdUnit)), _job; } return _jnk(_jo9, _jo7), _jo9.prototype.dispose = function() { var _jok = null; this.removeChildren(), this.deck1.off(_jo5.EventType.CLICK), this.deck2.off(_jo5.EventType.CLICK), this.deck3.off(_jo5.EventType.CLICK), this.deck4.off(_jo5.EventType.CLICK), this.deckOther.off(_jo5.EventType.CLICK), this.onClickDeck = null, this.onClickOther = null, this.deckCount = null, this.otherShipCount = null, this.deck1 = null, this.deck2 = null, this.deck3 = null, this.deck4 = null, this.deckOther = null, this.icon3rdUnit = null; }, _jo9.prototype.initDeckCount = function(_jol) { var _jom = null; this._updateDeckCount(_jol); }, _jo9.prototype.initOtherShipCount = function(_jon) { var _joo = null; this._updateOtherShipCount(_jon); }, _jo9.prototype.focusDeck = function(_jop) { var _joq = null; switch (this._initializeDeckTexture(this.deckCount), this._initializeOtherDeckTextre(this.otherShipCount), _jop) { case 1: this.deck1.texture = _jo4.COMMON_MISC.getTexture(79); break; case 2: this.deck2.texture = _jo4.COMMON_MISC.getTexture(82); break; case 3: this.deck3.texture = _jo4.COMMON_MISC.getTexture(85); break; case 4: this.deck4.texture = _jo4.COMMON_MISC.getTexture(88); } }, _jo9.prototype.focusOther = function() { var _jor = null; this._initializeDeckTexture(this.deckCount), this._initializeOtherDeckTextre(this.otherShipCount), this.deckOther.texture = _jo4.COMMON_MISC.getTexture(90); }, _jo9.prototype._updateDeckCount = function(_jos) { var _jot = null; this.deckCount = _jos, this._initializeDeckTexture(_jos), this._initializeDeckInteractive(_jos); }, _jo9.prototype._updateOtherShipCount = function(_jou) { var _jov = null; this._initializeOtherDeckTextre(_jou), this._initializeOtherDeckInteractive(_jou), this.otherShipCount = _jou; }, _jo9.prototype._initializeDeckTexture = function(_jow) { var _jox = null; switch (_jow) { case 1: this.deck1.texture = _jo4.COMMON_MISC.getTexture(78), this.deck2.texture = _jo4.COMMON_MISC.getTexture(80), this.deck3.texture = _jo4.COMMON_MISC.getTexture(83), this.deck4.texture = _jo4.COMMON_MISC.getTexture(86); break; case 2: this.deck1.texture = _jo4.COMMON_MISC.getTexture(78), this.deck2.texture = _jo4.COMMON_MISC.getTexture(81), this.deck3.texture = _jo4.COMMON_MISC.getTexture(83), this.deck4.texture = _jo4.COMMON_MISC.getTexture(86); break; case 3: this.deck1.texture = _jo4.COMMON_MISC.getTexture(78), this.deck2.texture = _jo4.COMMON_MISC.getTexture(81), this.deck3.texture = _jo4.COMMON_MISC.getTexture(84), this.deck4.texture = _jo4.COMMON_MISC.getTexture(86); break; case 4: this.deck1.texture = _jo4.COMMON_MISC.getTexture(78), this.deck2.texture = _jo4.COMMON_MISC.getTexture(81), this.deck3.texture = _jo4.COMMON_MISC.getTexture(84), this.deck4.texture = _jo4.COMMON_MISC.getTexture(87); break; default: this.deck1.texture = _jo4.COMMON_MISC.getTexture(77), this.deck2.texture = _jo4.COMMON_MISC.getTexture(80), this.deck3.texture = _jo4.COMMON_MISC.getTexture(83), this.deck4.texture = _jo4.COMMON_MISC.getTexture(86); } }, _jo9.prototype._initializeDeckInteractive = function(_joy) { var _joz = null; switch (this.deck1.interactive = this.deck1.buttonMode = !1, this.deck2.interactive = this.deck2.buttonMode = !1, this.deck3.interactive = this.deck3.buttonMode = !1, this.deck4.interactive = this.deck4.buttonMode = !1, _joy) { case 1: this.deck1.interactive = this.deck1.buttonMode = !0; break; case 2: this.deck1.interactive = this.deck1.buttonMode = !0, this.deck2.interactive = this.deck2.buttonMode = !0; break; case 3: this.deck1.interactive = this.deck1.buttonMode = !0, this.deck2.interactive = this.deck2.buttonMode = !0, this.deck3.interactive = this.deck3.buttonMode = !0; break; case 4: this.deck1.interactive = this.deck1.buttonMode = !0, this.deck2.interactive = this.deck2.buttonMode = !0, this.deck3.interactive = this.deck3.buttonMode = !0, this.deck4.interactive = this.deck4.buttonMode = !0; } }, _jo9.prototype._initializeOtherDeckTextre = function(_jp0) { var _jp1 = null; 0 < _jp0 ? (this.deckOther.texture = _jo4.COMMON_MISC.getTexture(89), this.deckOther.visible = !0) : this.deckOther.visible = !1; }, _jo9.prototype._initializeOtherDeckInteractive = function(_jp2) { var _jp3 = null; 0 < _jp2 ? (this.deckOther.interactive = !0, this.deckOther.buttonMode = !0) : (this.deckOther.interactive = !1, this.deckOther.buttonMode = !1); }, _jo9; }(PIXI.Container); _jng.DeckSelectView = _jo6; }, 55503: function(_jp4, _jp5, _jp6) { 'use strict'; var _jp7 = null; var _jp8, _jp9 = this && this.__extends || (_jp8 = function(_jpa, _jpb) { var _jpc = null; return _jp8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_jpd, _jpe) { var _jpf = null; _jpd.__proto__ = _jpe; } || function(_jpg, _jph) { var _jpi = null; for (var _jpj in _jph) Object.prototype.hasOwnProperty.call(_jph, _jpj) && (_jpg[_jpj] = _jph[_jpj]); }, _jp8(_jpa, _jpb); }, function(_jpk, _jpl) { var _jpm = null; if ('function' != typeof _jpl && null !== _jpl) throw new TypeError('Class extends value ' + String(_jpl) + ' is not a constructor or null'); function _jpn() { var _jpo = null; this.constructor = _jpk; } _jp8(_jpk, _jpl), _jpk.prototype = null === _jpl ? Object.create(_jpl) : (_jpn.prototype = _jpl.prototype, new _jpn()); }); defineModule(_jp5); Object.defineProperty(_jp5, '__esModule', { 'value': !0 }), _jp5.DeckSupplyBanner = void 0; var _jpp = _jp6(35380), _jpq = _jp6(79899), _jpr = _jp6(64289), _jps = _jp6(90054), _jpt = _jp6(46482), _jpu = _jp6(2613), _jpv = _jp6(78314), _jpw = function(_jpx) { var _jpy = null; function _jpz(_jq0) { var _jq1 = null, _jq2 = _jpx.call(this) || this; _jq2.ITEM_WIDTH = 765, _jq2.ITEM_HEIGHT = 77, _jq2._onClick = function() { var _jq3 = null; _jq2.onClick(_jq2.index, _jq2.memShipId); }; var _jq4 = new _jpq.AreaBox(0, 0, _jq2.ITEM_WIDTH, _jq2.ITEM_HEIGHT); _jq4.renderable = !1, _jq4.buttonMode = !0, _jq4.on(_jpp.EventType.CLICK, _jq2._onClick); var _jq5 = new PIXI.Sprite(); _jq5.position.x = 38, _jq5.texture = _jps.COMMON_MAIN.getTexture(20); var _jq6 = new _jpr.LongShipBanner(); _jq6.position.x = 38; var _jq7 = new _jpv.SupplyCheckBox(); _jq7.position.set(0, 24); var _jq8 = new PIXI.Sprite(_jpt.SUPPLY_MAIN.getTexture(26)); _jq8.position.x = 33, _jq8.position.y = -5; var _jq9 = new _jpu.MaterialView(); return _jq9.position.set(517, 6), _jq2.emptyBackground = _jq5, _jq2.supplyCheckBox = _jq7, _jq2.longShipBanner = _jq6, _jq2.clickArea = _jq4, _jq2.focusFrame = _jq8, _jq2.index = _jq0, _jq2.materialView = _jq9, _jq2; } return _jp9(_jpz, _jpx), _jpz.prototype.dispose = function() { var _jqa = null; this.clickArea.off(_jpp.EventType.CLICK, this._onClick), this.clickArea = null, this.materialView.dispose(), this.materialView = null, this.emptyBackground = null, this.supplyCheckBox.dispose(), this.supplyCheckBox = null, this.longShipBanner.dispose(), this.longShipBanner = null, this.focusFrame = null, this.onClick = this._onClick = null; }, _jpz.prototype.update = function(_jqb, _jqc, _jqd, _jqe, _jqf) { var _jqg = null; this.removeChildren(), this.addChild(this.longShipBanner), this.addChild(this.supplyCheckBox), this.addChild(this.materialView), this.addChild(this.focusFrame), _jqe ? (this.addChild(this.clickArea), this.isDisable = !1, _jqf ? this.checkOn() : this.checkOff()) : (this.isDisable = !0, this.checkDisable()), this.longShipBanner.update(_jqb, _jqc, _jqd), this.materialView.update(_jqc.fuelNow, _jqc.fuelMax, _jqc.ammoNow, _jqc.ammoMax), this.memShipId = _jqc.memID; }, _jpz.prototype.checkOn = function() { var _jqh = null; this.supplyCheckBox.update(3), this.focusFrame.visible = !0; }, _jpz.prototype.checkDisable = function() { var _jqi = null; this.supplyCheckBox.update(1), this.focusFrame.visible = !1; }, _jpz.prototype.checkOff = function() { var _jqj = null; this.supplyCheckBox.update(2), this.focusFrame.visible = !1; }, _jpz.prototype.setDefault = function() { var _jqk = null; this.isDisable ? this.checkDisable() : this.checkOff(); }, _jpz.prototype.empty = function() { var _jql = null; this.memShipId = null, this.removeChildren(), this.addChild(this.emptyBackground); }, _jpz; }(PIXI.Container); _jp5.DeckSupplyBanner = _jpw; }, 51690: function(_jqm, _jqn, _jqo) { 'use strict'; var _jqp = null; var _jqq, _jqr = this && this.__extends || (_jqq = function(_jqs, _jqt) { var _jqu = null; return _jqq = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_jqv, _jqw) { var _jqx = null; _jqv.__proto__ = _jqw; } || function(_jqy, _jqz) { var _jr0 = null; for (var _jr1 in _jqz) Object.prototype.hasOwnProperty.call(_jqz, _jr1) && (_jqy[_jr1] = _jqz[_jr1]); }, _jqq(_jqs, _jqt); }, function(_jr2, _jr3) { var _jr4 = null; if ('function' != typeof _jr3 && null !== _jr3) throw new TypeError('Class extends value ' + String(_jr3) + ' is not a constructor or null'); function _jr5() { var _jr6 = null; this.constructor = _jr2; } _jqq(_jr2, _jr3), _jr2.prototype = null === _jr3 ? Object.create(_jr3) : (_jr5.prototype = _jr3.prototype, new _jr5()); }), _jr7 = this && this.__createBinding || (Object.create ? function(_jr8, _jr9, _jra, _jrb) { var _jrc = null; void 0 === _jrb && (_jrb = _jra); var _jrd = Object.getOwnPropertyDescriptor(_jr9, _jra); _jrd && !('get' in _jrd ? !_jr9.__esModule : _jrd.writable || _jrd.configurable) || (_jrd = { 'enumerable': !0, 'get': function() { return _jr9[_jra]; } }), Object.defineProperty(_jr8, _jrb, _jrd); } : function(_jre, _jrf, _jrg, _jrh) { void 0 === _jrh && (_jrh = _jrg), _jre[_jrh] = _jrf[_jrg]; }), _jri = this && this.__setModuleDefault || (Object.create ? function(_jrj, _jrk) { var _jrl = null; Object.defineProperty(_jrj, 'default', { 'enumerable': !0, 'value': _jrk }); } : function(_jrm, _jrn) { var _jro = null; _jrm.default = _jrn; }), _jrp = this && this.__importStar || function(_jrq) { var _jrr = null; if (_jrq && _jrq.__esModule) return _jrq; var _jrs = {}; if (null != _jrq) { for (var _jrt in _jrq) 'default' !== _jrt && Object.prototype.hasOwnProperty.call(_jrq, _jrt) && _jr7(_jrs, _jrq, _jrt); } return _jri(_jrs, _jrq), _jrs; }; defineModule(_jqn); Object.defineProperty(_jqn, '__esModule', { 'value': !0 }), _jqn.HeaderMain = void 0; var _jru = _jrp(_jqo(31000)), _jrv = function(_jrw) { var _jrx = null; function _jry() { var _jrz = null, _js0 = _jrw.call(this) || this, _js1 = new PIXI.Sprite(_jru.COMMON_MAIN.getTexture(67)); _js0.headerMainBg = _js1; var _js2 = new PIXI.Sprite(_jru.COMMON_MAIN.getTexture(1)); return _js0.headerMainText = _js2, _js2.position.set(195, 11), _js0.addChild(_js1, _js2), _js0; } return _jqr(_jry, _jrw), _jry.prototype.dispose = function() { var _js3 = null; this.removeChildren(), this.headerMainBg.texture = PIXI.Texture.EMPTY, this.headerMainText.texture = PIXI.Texture.EMPTY, this.headerMainBg = null, this.headerMainText = null; }, _jry; }(PIXI.Container); _jqn.HeaderMain = _jrv; }, 1107: function(_js4, _js5, _js6) { 'use strict'; var _js7 = null; var _js8, _js9 = this && this.__extends || (_js8 = function(_jsa, _jsb) { var _jsc = null; return _js8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_jsd, _jse) { var _jsf = null; _jsd.__proto__ = _jse; } || function(_jsg, _jsh) { var _jsi = null; for (var _jsj in _jsh) Object.prototype.hasOwnProperty.call(_jsh, _jsj) && (_jsg[_jsj] = _jsh[_jsj]); }, _js8(_jsa, _jsb); }, function(_jsk, _jsl) { var _jsm = null; if ('function' != typeof _jsl && null !== _jsl) throw new TypeError('Class extends value ' + String(_jsl) + ' is not a constructor or null'); function _jsn() { var _jso = null; this.constructor = _jsk; } _js8(_jsk, _jsl), _jsk.prototype = null === _jsl ? Object.create(_jsl) : (_jsn.prototype = _jsl.prototype, new _jsn()); }), _jsp = this && this.__createBinding || (Object.create ? function(_jsq, _jsr, _jss, _jst) { var _jsu = null; void 0 === _jst && (_jst = _jss); var _jsv = Object.getOwnPropertyDescriptor(_jsr, _jss); _jsv && !('get' in _jsv ? !_jsr.__esModule : _jsv.writable || _jsv.configurable) || (_jsv = { 'enumerable': !0, 'get': function() { return _jsr[_jss]; } }), Object.defineProperty(_jsq, _jst, _jsv); } : function(_jsw, _jsx, _jsy, _jsz) { void 0 === _jsz && (_jsz = _jsy), _jsw[_jsz] = _jsx[_jsy]; }), _jt0 = this && this.__setModuleDefault || (Object.create ? function(_jt1, _jt2) { var _jt3 = null; Object.defineProperty(_jt1, 'default', { 'enumerable': !0, 'value': _jt2 }); } : function(_jt4, _jt5) { var _jt6 = null; _jt4.default = _jt5; }), _jt7 = this && this.__importStar || function(_jt8) { var _jt9 = null; if (_jt8 && _jt8.__esModule) return _jt8; var _jta = {}; if (null != _jt8) { for (var _jtb in _jt8) 'default' !== _jtb && Object.prototype.hasOwnProperty.call(_jt8, _jtb) && _jsp(_jta, _jt8, _jtb); } return _jt0(_jta, _jt8), _jta; }; defineModule(_js5); Object.defineProperty(_js5, '__esModule', { 'value': !0 }), _js5.HeaderSupply = void 0; var _jtc = _jt7(_js6(31000)), _jtd = _js6(31000), _jte = function(_jtf) { var _jtg = null; function _jth() { var _jti = null, _jtj = _jtf.call(this) || this, _jtk = new PIXI.Sprite(_jtc.COMMON_MAIN.getTexture(67)); _jtj.headerSupplyBg = _jtk; var _jtl = new PIXI.Sprite(_jtd.SUPPLY_MAIN.getTexture(0)); return _jtj.headerSupplyText = _jtl, _jtl.position.set(24, 11), _jtj.addChild(_jtk, _jtl), _jtj; } return _js9(_jth, _jtf), _jth.prototype.dispose = function() { var _jtm = null; this.removeChildren(), this.headerSupplyBg.texture = PIXI.Texture.EMPTY, this.headerSupplyText.texture = PIXI.Texture.EMPTY, this.headerSupplyBg = null, this.headerSupplyText = null; }, _jth; }(PIXI.Container); _js5.HeaderSupply = _jte; }, 46403: function(_jtn, _jto, _jtp) { 'use strict'; var _jtq = null; var _jtr, _jts = this && this.__extends || (_jtr = function(_jtt, _jtu) { var _jtv = null; return _jtr = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_jtw, _jtx) { var _jty = null; _jtw.__proto__ = _jtx; } || function(_jtz, _ju0) { var _ju1 = null; for (var _ju2 in _ju0) Object.prototype.hasOwnProperty.call(_ju0, _ju2) && (_jtz[_ju2] = _ju0[_ju2]); }, _jtr(_jtt, _jtu); }, function(_ju3, _ju4) { var _ju5 = null; if ('function' != typeof _ju4 && null !== _ju4) throw new TypeError('Class extends value ' + String(_ju4) + ' is not a constructor or null'); function _ju6() { var _ju7 = null; this.constructor = _ju3; } _jtr(_ju3, _ju4), _ju3.prototype = null === _ju4 ? Object.create(_ju4) : (_ju6.prototype = _ju4.prototype, new _ju6()); }); defineModule(_jto); Object.defineProperty(_jto, '__esModule', { 'value': !0 }), _jto.MaterialCounterView = void 0; var _ju8 = _jtp(31000), _ju9 = _jtp(8744), _jua = function(_jub) { var _juc = null; function _jud() { var _jue = null, _juf = _jub.call(this) || this, _jug = new _ju9.TextBox(24, 5523516), _juh = new _ju9.TextBox(24, 5523516), _jui = new PIXI.Sprite(_ju8.SUPPLY_MAIN.getTexture(28)), _juj = new PIXI.Sprite(_ju8.SUPPLY_MAIN.getTexture(29)); return _jug.anchor.set(1, 0), _juh.anchor.set(1, 0), _jug.position.set(142, 8), _juh.position.set(300, 8), _jui.position.set(0, 0), _juj.position.set(158, 0), _juf.addChild(_jug, _juh, _jui, _juj), _juf.textFuel = _jug, _juf.textAmmo = _juh, _juf; } return _jts(_jud, _jub), _jud.prototype.dispose = function() { var _juk = null; this.removeChildren(), this.textFuel.destroy(), this.textFuel = null, this.textAmmo.destroy(), this.textAmmo = null; }, _jud.prototype.update = function(_jul, _jum) { var _jun = null; this.textFuel.text = _jul.toString(), this.textAmmo.text = _jum.toString(); }, _jud; }(PIXI.Container); _jto.MaterialCounterView = _jua; }, 6672: function(_juo, _jup, _juq) { 'use strict'; var _jur = null; var _jus, _jut = this && this.__extends || (_jus = function(_juu, _juv) { var _juw = null; return _jus = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_jux, _juy) { var _juz = null; _jux.__proto__ = _juy; } || function(_jv0, _jv1) { var _jv2 = null; for (var _jv3 in _jv1) Object.prototype.hasOwnProperty.call(_jv1, _jv3) && (_jv0[_jv3] = _jv1[_jv3]); }, _jus(_juu, _juv); }, function(_jv4, _jv5) { var _jv6 = null; if ('function' != typeof _jv5 && null !== _jv5) throw new TypeError('Class extends value ' + String(_jv5) + ' is not a constructor or null'); function _jv7() { var _jv8 = null; this.constructor = _jv4; } _jus(_jv4, _jv5), _jv4.prototype = null === _jv5 ? Object.create(_jv5) : (_jv7.prototype = _jv5.prototype, new _jv7()); }); defineModule(_jup); Object.defineProperty(_jup, '__esModule', { 'value': !0 }), _jup.MaterialMeterViewS = void 0; var _jv9 = _juq(11997), _jva = function(_jvb) { var _jvc = null; function _jvd() { var _jve = null, _jvf = _jvb.call(this) || this, _jvg = new PIXI.Sprite(), _jvh = new PIXI.Sprite(); return _jvh.position.set(-29, -27), _jvh.alpha = 0, _jvf.addChild(_jvh, _jvg), _jvf.meter = _jvg, _jvf.meterLight = _jvh, _jvf; } return _jut(_jvd, _jvb), _jvd.prototype.update = function(_jvi, _jvj) { var _jvk = null, _jvl; this.meter.texture = _jv9.COMMON_MISC.getTexture(140), this.meterLight.texture = _jv9.COMMON_MISC.getTexture(152), 0 == _jvi ? _jvl = 0 : _jvi == _jvj ? _jvl = 10 : (10 < (_jvl = Math.floor(9 * _jvi / _jvj) + 1) && (_jvl = 10), _jvl < 0 && (_jvl = 0)), this.meter.texture = _jv9.COMMON_MISC.getTexture(this.getResIDProgressImage(_jvl)); }, _jvd.prototype.getResIDProgressImage = function(_jvm) { switch (_jvm) { case 0: return 140; case 1: return 141; case 2: return 143; case 3: return 144; case 4: return 145; case 5: return 146; case 6: return 147; case 7: return 148; case 8: return 149; case 9: return 150; case 10: return 142; } }, _jvd.prototype.dispose = function() { var _jvn = null; this.removeChild(this.meter), this.removeChild(this.meterLight), this.meter = null, this.meterLight = null; }, _jvd; }(PIXI.Container); _jup.MaterialMeterViewS = _jva; }, 2613: function(_jvo, _jvp, _jvq) { 'use strict'; var _jvr = null; var _jvs, _jvt = this && this.__extends || (_jvs = function(_jvu, _jvv) { var _jvw = null; return _jvs = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_jvx, _jvy) { var _jvz = null; _jvx.__proto__ = _jvy; } || function(_jw0, _jw1) { var _jw2 = null; for (var _jw3 in _jw1) Object.prototype.hasOwnProperty.call(_jw1, _jw3) && (_jw0[_jw3] = _jw1[_jw3]); }, _jvs(_jvu, _jvv); }, function(_jw4, _jw5) { var _jw6 = null; if ('function' != typeof _jw5 && null !== _jw5) throw new TypeError('Class extends value ' + String(_jw5) + ' is not a constructor or null'); function _jw7() { var _jw8 = null; this.constructor = _jw4; } _jvs(_jw4, _jw5), _jw4.prototype = null === _jw5 ? Object.create(_jw5) : (_jw7.prototype = _jw5.prototype, new _jw7()); }); defineModule(_jvp); Object.defineProperty(_jvp, '__esModule', { 'value': !0 }), _jvp.MaterialViewS = _jvp.MaterialView = void 0; var _jw9 = _jvq(31000), _jwa = _jvq(12700), _jwb = function(_jwc) { var _jwd = null; function _jwe() { var _jwf = null, _jwg = _jwc.call(this) || this, _jwh = new PIXI.Sprite(_jw9.SUPPLY_MAIN.getTexture(25)), _jwi = new _jwa.MaterialMeterView(), _jwj = new _jwa.MaterialMeterView(); return _jwi.position.set(12, 8), _jwj.position.set(119, 8), _jwg.addChild(_jwh), _jwg.addChild(_jwi, _jwj), _jwg.fuelMaterialMeterView = _jwi, _jwg.ammoMaterialMeterView = _jwj, _jwg; } return _jvt(_jwe, _jwc), _jwe.prototype.dispose = function() { var _jwk = null; this.fuelMaterialMeterView.dispose(), this.ammoMaterialMeterView.dispose(), this.fuelMaterialMeterView = null, this.ammoMaterialMeterView = null, this.removeChildren(); }, _jwe.prototype.update = function(_jwl, _jwm, _jwn, _jwo) { var _jwp = null; this.fuelMaterialMeterView.update(_jwl, _jwm), this.ammoMaterialMeterView.update(_jwn, _jwo); }, _jwe; }(PIXI.Container); _jvp.MaterialView = _jwb; var _jwq = _jvq(6672), _jwr = _jvq(11997), _jws = function(_jwt) { var _jwu = null; function _jwv() { var _jww = null, _jwx = _jwt.call(this) || this, _jwy = new PIXI.Sprite(_jwr.COMMON_MISC.getTexture(151)), _jwz = new _jwq.MaterialMeterViewS(), _jx0 = new _jwq.MaterialMeterViewS(); return _jwz.position.set(29, 6), _jx0.position.set(165, 6), _jwx.addChild(_jwy), _jwx.addChild(_jwz), _jwx.addChild(_jx0), _jwx.fuelMaterialMeterView = _jwz, _jwx.ammoMaterialMeterView = _jx0, _jwx; } return _jvt(_jwv, _jwt), _jwv.prototype.dispose = function() { var _jx1 = null; this.fuelMaterialMeterView.dispose(), this.ammoMaterialMeterView.dispose(), this.fuelMaterialMeterView = null, this.ammoMaterialMeterView = null, this.removeChildren(); }, _jwv.prototype.update = function(_jx2, _jx3, _jx4, _jx5) { var _jx6 = null; this.fuelMaterialMeterView.update(_jx2, _jx3), this.ammoMaterialMeterView.update(_jx4, _jx5); }, _jwv; }(PIXI.Container); _jvp.MaterialViewS = _jws; }, 50284: function(_jx7, _jx8, _jx9) { 'use strict'; var _jxa = null; var _jxb, _jxc = this && this.__extends || (_jxb = function(_jxd, _jxe) { var _jxf = null; return _jxb = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_jxg, _jxh) { var _jxi = null; _jxg.__proto__ = _jxh; } || function(_jxj, _jxk) { var _jxl = null; for (var _jxm in _jxk) Object.prototype.hasOwnProperty.call(_jxk, _jxm) && (_jxj[_jxm] = _jxk[_jxm]); }, _jxb(_jxd, _jxe); }, function(_jxn, _jxo) { var _jxp = null; if ('function' != typeof _jxo && null !== _jxo) throw new TypeError('Class extends value ' + String(_jxo) + ' is not a constructor or null'); function _jxq() { var _jxr = null; this.constructor = _jxn; } _jxb(_jxn, _jxo), _jxn.prototype = null === _jxo ? Object.create(_jxo) : (_jxq.prototype = _jxo.prototype, new _jxq()); }); defineModule(_jx8); Object.defineProperty(_jx8, '__esModule', { 'value': !0 }), _jx8.OtherSupplyListItem = void 0; var _jxs = _jx9(35380), _jxt = _jx9(43712), _jxu = _jx9(79899), _jxv = _jx9(8744), _jxw = _jx9(46482), _jxx = _jx9(2613), _jxy = _jx9(78314), _jxz = function(_jy0) { var _jy1 = null; function _jy2(_jy3) { var _jy4 = null, _jy5 = _jy0.call(this) || this; _jy5.ITEM_WIDTH = 711, _jy5.ITEM_HEIGHT = 42, _jy5._onClick = function() { var _jy6 = null; _jy5.onClick(_jy5.index, _jy5._memShipId); }, _jy5._onMouseOut = function() { var _jy7 = null; _jy5.focus.visible = !1, _jy5.labelLevel.style.fill = _jy5.textLevel.style.fill = _jy5.textType.style.fill = _jy5.textName.style.fill = 5523516; }, _jy5._onMouseOver = function() { var _jy8 = null; _jy5.focus.visible = !0, _jy5.labelLevel.style.fill = _jy5.textLevel.style.fill = _jy5.textType.style.fill = _jy5.textName.style.fill = 16774898; }; var _jy9 = Math.floor(22) + 2, _jya = new _jxv.TextBox(18, 5523516), _jyb = new _jxv.TextBox(20, 5523516), _jyc = new PIXI.Container(), _jyd = new _jxv.TextBox(21, 5523516), _jye = new _jxv.TextBox(21, 5523516), _jyf = _jxt.CreateRect.gradientLeftToRight(310, 44, 0.7, 0.9), _jyg = new PIXI.Sprite(_jxw.SUPPLY_MAIN.getTexture(24)); _jyg.scale.x = 1.45, _jyg.visible = !1, _jye.anchor.set(1, 0), _jye.position.set(417, Math.floor(_jy9 - _jye.height / 2) + 0), _jya.anchor.set(0, 0), _jya.position.set(0, Math.floor(_jy9 - _jya.height / 2)), _jyb.anchor.set(0, 0), _jyb.position.set(65, Math.floor(_jy9 - _jyb.height / 2) + 0), _jyc.position.set(53, 0), _jyd.anchor.set(0, 0), _jyd.position.set(351, Math.floor(_jy9 - _jyd.height / 2) + 0), _jyd.text = 'Lv', _jyc.mask = _jyf, _jyc.addChild(_jya, _jyb, _jyf); var _jyh = new _jxy.SupplyCheckBox(); _jyh.position.set(11, 11); var _jyi = new PIXI.Graphics(); _jyi.lineStyle(1, 13945534, 1), _jyi.moveTo(30, 45), _jyi.lineTo(713, 44), _jyi.endFill(), _jy5.line = _jyi; var _jyj = new _jxx.MaterialViewS(); return _jyj.position.set(446, 11), _jy5._aircraft_line = new PIXI.Sprite(_jxw.SUPPLY_MAIN.getTexture(30)), _jy5._aircraft_line.visible = !1, _jy5._aircraft_line.position.set(445, 35), _jy5._aircraft_line_light = new PIXI.Sprite(_jxw.SUPPLY_MAIN.getTexture(31)), _jy5._aircraft_line_light.visible = !1, _jy5._aircraft_line_light.position.set(445, 35), _jy5._aircraft_icon = new PIXI.Sprite(_jxw.SUPPLY_MAIN.getTexture(27)), _jy5._aircraft_icon.visible = !1, _jy5._aircraft_icon.position.set(705, 19), _jy5.supplyCheckBox = _jyh, _jy5.index = _jy3, _jy5.materialView = _jyj, _jy5.clickArea = new _jxu.AreaBox(0, 0, _jy5.ITEM_WIDTH, _jy5.ITEM_HEIGHT), _jy5.clickArea.renderable = !1, _jy5.clickArea.buttonMode = !0, _jy5.clickArea.on(_jxs.EventType.CLICK, _jy5._onClick), _jy5.clickArea.on(_jxs.EventType.MOUSEOVER, _jy5._onMouseOver), _jy5.clickArea.on(_jxs.EventType.MOUSEOUT, _jy5._onMouseOut), _jy5.textType = _jya, _jy5.textName = _jyb, _jy5.typeAndNameContainer = _jyc, _jy5.labelLevel = _jyd, _jy5.textLevel = _jye, _jy5.maskTypeAndName = _jyf, _jy5.focus = _jyg, _jy5; } return _jxc(_jy2, _jy0), _jy2.prototype.onMouseOutForce = function() { var _jyk = null; this._onMouseOut(); }, Object.defineProperty(_jy2.prototype, 'memShipId', { 'get': function() { var _jyl = null; return this._memShipId; }, 'enumerable': !1, 'configurable': !0 }), _jy2.prototype.update = function(_jym, _jyn, _jyo) { var _jyp = null; this.removeChildren(), this._aircraft_icon.visible = this._aircraft_line.visible = this._aircraft_line_light.visible = _jyo, this.addChild(this.focus, this.line, this.typeAndNameContainer, this.labelLevel, this.textLevel, this.supplyCheckBox, this.materialView), this.addChild(this._aircraft_icon), this.addChild(this._aircraft_line), this.addChild(this._aircraft_line_light), _jyn && this.addChild(this.clickArea), this.textType.text = _jym.shipTypeName + '\x20', this.textName.text = _jym.name, this.textName.x = this.textType.x + this.textType.width, this.textLevel.text = _jym.level.toString(), this.materialView.update(_jym.fuelNow, _jym.fuelMax, _jym.ammoNow, _jym.ammoMax), (_jym.fuelMax, _jym.fuelNow, _jym.ammoMax, _jym.ammoNow), (this.materialView.update(_jym.fuelNow, _jym.fuelMax, _jym.ammoNow, _jym.ammoMax), this._memShipId = _jym.memID); }, _jy2.prototype.checkOn = function() { var _jyq = null; this.supplyCheckBox.update(3); }, _jy2.prototype.checkDisable = function() { var _jyr = null; this.supplyCheckBox.update(1); }, _jy2.prototype.checkOff = function() { var _jys = null; this.supplyCheckBox.update(2); }, _jy2.prototype.empty = function() { var _jyt = null; this._memShipId = null, this.removeChildren(), this.addChild(this.line); }, _jy2.prototype.dispose = function() { var _jyu = null; this.removeChildren(), this.typeAndNameContainer.removeChildren(), this.typeAndNameContainer = null, this.textType.destroy(), this.textName.destroy(), this.labelLevel.destroy(), this.textLevel.destroy(), this.supplyCheckBox.dispose(), this.supplyCheckBox = null, this.line = null, this.textType = null, this.labelLevel = null, this.textLevel = null, this.maskTypeAndName = null, this.textName = null, this.focus = null, this.clickArea.off(_jxs.EventType.CLICK, this._onClick), this.clickArea.off(_jxs.EventType.MOUSEOVER, this._onMouseOver), this.clickArea.off(_jxs.EventType.MOUSEOUT, this._onMouseOut), this.clickArea = null, this.line = null, this.materialView.dispose(), this.materialView = null, this.onClick = this._onClick = null; }, _jy2; }(PIXI.Container); _jx8.OtherSupplyListItem = _jxz; }, 88630: function(_jyv, _jyw, _jyx) { 'use strict'; var _jyy = null; var _jyz, _jz0 = this && this.__extends || (_jyz = function(_jz1, _jz2) { var _jz3 = null; return _jyz = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_jz4, _jz5) { var _jz6 = null; _jz4.__proto__ = _jz5; } || function(_jz7, _jz8) { var _jz9 = null; for (var _jza in _jz8) Object.prototype.hasOwnProperty.call(_jz8, _jza) && (_jz7[_jza] = _jz8[_jza]); }, _jyz(_jz1, _jz2); }, function(_jzb, _jzc) { var _jzd = null; if ('function' != typeof _jzc && null !== _jzc) throw new TypeError('Class extends value ' + String(_jzc) + ' is not a constructor or null'); function _jze() { var _jzf = null; this.constructor = _jzb; } _jyz(_jzb, _jzc), _jzb.prototype = null === _jzc ? Object.create(_jzc) : (_jze.prototype = _jzc.prototype, new _jze()); }); defineModule(_jyw); Object.defineProperty(_jyw, '__esModule', { 'value': !0 }), _jyw.SupplyAircraftButton = void 0; var _jzg = _jyx(31000), _jzh = _jyx(35380), _jzi = function(_jzj) { var _jzk = null; function _jzl() { var _jzm = null, _jzn = _jzj.call(this) || this; return _jzn._onMouseOver = function() { var _jzo = null; _jzn.interactive && (_jzn.texture = _jzg.SUPPLY_MAIN.getTexture(17)); }, _jzn._onMouseOut = function() { var _jzp = null; _jzn.interactive && (_jzn.texture = _jzg.SUPPLY_MAIN.getTexture(15)); }, _jzn._onClick = function() { var _jzq = null; _jzn.onClick(); }, _jzn.texture = _jzg.SUPPLY_MAIN.getTexture(16), _jzn.on(_jzh.EventType.CLICK, _jzn._onClick), _jzn.on(_jzh.EventType.MOUSEOVER, _jzn._onMouseOver), _jzn.on(_jzh.EventType.MOUSEOUT, _jzn._onMouseOut), _jzn; } return _jz0(_jzl, _jzj), _jzl.prototype.dispose = function() { var _jzr = null; this.onMouseOver = this._onMouseOver = null, this.onMouseOut = this._onMouseOut = null, this.onClick = this._onClick = null; }, _jzl.prototype.updateClickable = function(_jzs) { var _jzt = null; this.interactive = this.buttonMode = _jzs, this.texture = _jzs ? _jzg.SUPPLY_MAIN.getTexture(15) : _jzg.SUPPLY_MAIN.getTexture(16); }, _jzl; }(PIXI.Sprite); _jyw.SupplyAircraftButton = _jzi; }, 60486: function(_jzu, _jzv, _jzw) { 'use strict'; var _jzx = null; var _jzy, _jzz = this && this.__extends || (_jzy = function(_k00, _k01) { var _k02 = null; return _jzy = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_k03, _k04) { var _k05 = null; _k03.__proto__ = _k04; } || function(_k06, _k07) { var _k08 = null; for (var _k09 in _k07) Object.prototype.hasOwnProperty.call(_k07, _k09) && (_k06[_k09] = _k07[_k09]); }, _jzy(_k00, _k01); }, function(_k0a, _k0b) { var _k0c = null; if ('function' != typeof _k0b && null !== _k0b) throw new TypeError('Class extends value ' + String(_k0b) + ' is not a constructor or null'); function _k0d() { var _k0e = null; this.constructor = _k0a; } _jzy(_k0a, _k0b), _k0a.prototype = null === _k0b ? Object.create(_k0b) : (_k0d.prototype = _k0b.prototype, new _k0d()); }), _k0f = this && this.__importDefault || function(_k0g) { var _k0h = null; return _k0g && _k0g.__esModule ? _k0g : { 'default': _k0g }; }; defineModule(_jzv); Object.defineProperty(_jzv, '__esModule', { 'value': !0 }), _jzv.SupplyAllButton = void 0; var _k0i = _jzw(31000), _k0j = _jzw(35380), _k0k = _jzw(79899), _k0l = _k0f(_jzw(18622)), _k0m = function(_k0n) { var _k0o = null; function _k0p() { var _k0q = null, _k0r = _k0n.call(this) || this; return _k0r._canMouseOver = !1, _k0r._onMouseOver = function() { var _k0s = null; _k0r._canMouseOver = !0, _k0r.onMouseOver(), _k0r._supplyAllOn.alpha = 1, _k0r._clickArea.interactive = _k0r._clickArea.buttonMode = !0; }, _k0r._onMouseOut = function() { var _k0t = null; _k0r.onMouseOut(), _k0r._supplyAllOn.alpha = 0, _k0r._clickArea.interactive = _k0r._clickArea.buttonMode = !1; }, _k0r._onClick = function() { var _k0u = null; _k0r.onClick(); }, _k0r._onTouchDown = function() { var _k0v = null; _k0r._canMouseOver || (_k0r._touchActivate(), _k0r.onMouseOver(), _k0r._supplyAllOn.alpha = 1); }, _k0r._touchActivate = function() { var _k0w = null; _k0r._guardLayer = new _k0k.AreaBox(0), _k0r._touchArea = new _k0k.AreaBox(0, 0, _k0r._clickArea.width, _k0r._clickArea.height), _k0r._touchArea.hitArea = new PIXI.Rectangle(0, 0, _k0r._clickArea.width, _k0r._clickArea.height); var _k0x = _k0r._clickArea.getGlobalPosition(); _k0r._touchArea.position.set(_k0x.x, _k0x.y), _k0r._guardLayer.addChild(_k0r._touchArea), _k0l.default.view.overLayer.addChild(_k0r._guardLayer), _k0r._guardLayer.on(_k0j.EventType.MOUSEMOVE, _k0r._onTouchMove), _k0r._guardLayer.on(_k0j.EventType.MOUSEUP, _k0r._onTouchUp); }, _k0r._onTouchMove = function(_k0y) { var _k0z = null, _k10 = _k0y.data.getLocalPosition(_k0r._touchArea); 1 === _k0r._supplyAllOn.alpha && !1 === _k0r._touchArea.hitArea.contains(_k10.x, _k10.y) && (_k0r.onMouseOut(), _k0r._supplyAllOn.alpha = 0); }, _k0r._onTouchUp = function() { var _k11 = null; 1 === _k0r._supplyAllOn.alpha && _k0r.onClick(), _k0r._touchDeactivate(); }, _k0r._touchDeactivate = function() { var _k12 = null; _k0r._guardLayer.off(_k0j.EventType.MOUSEMOVE, _k0r._onTouchMove), _k0r._guardLayer.off(_k0j.EventType.MOUSEUP, _k0r._onTouchUp), _k0r._guardLayer.removeChildren(), _k0r._touchArea = null, _k0l.default.view.overLayer.removeChild(_k0r._guardLayer), _k0r._guardLayer = null; }, _k0r._supplyAllOff = new PIXI.Sprite(_k0i.SUPPLY_MAIN.getTexture(32)), _k0r._supplyAllOn = new PIXI.Sprite(_k0i.SUPPLY_MAIN.getTexture(33)), _k0r._clickArea = new PIXI.Graphics(), _k0r._clickArea.beginFill(0, 0), _k0r._clickArea.drawRect(0, 0, 62, 62), _k0r._clickArea.endFill(), _k0r._supplyAllOn.position.set(-26, -26), _k0r._clickArea.position.set(-15, -15), _k0r.addChild(_k0r._supplyAllOff, _k0r._supplyAllOn), _k0r.addChild(_k0r._clickArea), _k0r._supplyAllOff.on(_k0j.EventType.MOUSEOVER, _k0r._onMouseOver), _k0r._supplyAllOff.on(_k0j.EventType.MOUSEDOWN, _k0r._onTouchDown), _k0r._clickArea.on(_k0j.EventType.MOUSEOUT, _k0r._onMouseOut), _k0r._clickArea.on(_k0j.EventType.CLICK, _k0r._onClick), _k0r; } return _jzz(_k0p, _k0n), _k0p.prototype.dispose = function() { var _k13 = null; this._supplyAllOff.texture = PIXI.Texture.EMPTY, this._supplyAllOn.texture = PIXI.Texture.EMPTY, this._clickArea.clear(), this._supplyAllOff.off(_k0j.EventType.MOUSEOVER, this._onMouseOver), this._supplyAllOff.off(_k0j.EventType.MOUSEDOWN, this._onTouchDown), this._clickArea.off(_k0j.EventType.MOUSEOUT, this._onMouseOut), this._clickArea.off(_k0j.EventType.CLICK, this._onClick), this.onMouseOver = this._onMouseOver = null, this.onMouseOut = this._onMouseOut = null, this.onClick = this._onClick = null, this._supplyAllOff = null, this._supplyAllOn = null, this._clickArea = null, this._guardLayer = null, this._touchArea = null, this.removeChildren(); }, _k0p.prototype.updateClickable = function(_k14) { var _k15 = null; this._clickArea.interactive = this._clickArea.buttonMode = !1, this._supplyAllOff.interactive = this._supplyAllOff.buttonMode = !1, this._supplyAllOn.alpha = 0, this._clickArea.visible = !1, _k14 && (this._supplyAllOff.interactive = this._supplyAllOff.buttonMode = !0, this._clickArea.visible = !0); }, _k0p; }(PIXI.Container); _jzv.SupplyAllButton = _k0m; }, 75411: function(_k16, _k17, _k18) { 'use strict'; var _k19 = null; var _k1a, _k1b = this && this.__extends || (_k1a = function(_k1c, _k1d) { var _k1e = null; return _k1a = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_k1f, _k1g) { var _k1h = null; _k1f.__proto__ = _k1g; } || function(_k1i, _k1j) { var _k1k = null; for (var _k1l in _k1j) Object.prototype.hasOwnProperty.call(_k1j, _k1l) && (_k1i[_k1l] = _k1j[_k1l]); }, _k1a(_k1c, _k1d); }, function(_k1m, _k1n) { var _k1o = null; if ('function' != typeof _k1n && null !== _k1n) throw new TypeError('Class extends value ' + String(_k1n) + ' is not a constructor or null'); function _k1p() { var _k1q = null; this.constructor = _k1m; } _k1a(_k1m, _k1n), _k1m.prototype = null === _k1n ? Object.create(_k1n) : (_k1p.prototype = _k1n.prototype, new _k1p()); }); defineModule(_k17); Object.defineProperty(_k17, '__esModule', { 'value': !0 }), _k17.SupplyAllButton2 = void 0; var _k1r = _k18(31000), _k1s = _k18(35380), _k1t = function(_k1u) { var _k1v = null; function _k1w() { var _k1x = null, _k1y = _k1u.call(this) || this; return _k1y._onMouseOver = function() { var _k1z = null; _k1y.interactive && (_k1y.texture = _k1r.SUPPLY_MAIN.getTexture(14), _k1y.onMouseOver()); }, _k1y._onMouseOut = function() { var _k20 = null; _k1y.interactive && (_k1y.texture = _k1r.SUPPLY_MAIN.getTexture(12), _k1y.onMouseOut()); }, _k1y._onClick = function() { var _k21 = null; _k1y.onClick(); }, _k1y.texture = _k1r.SUPPLY_MAIN.getTexture(13), _k1y.on(_k1s.EventType.CLICK, _k1y._onClick), _k1y.on(_k1s.EventType.MOUSEOVER, _k1y._onMouseOver), _k1y.on(_k1s.EventType.MOUSEOUT, _k1y._onMouseOut), _k1y; } return _k1b(_k1w, _k1u), _k1w.prototype.dispose = function() { var _k22 = null; this.onMouseOver = this._onMouseOver = null, this.onMouseOut = this._onMouseOut = null, this.onClick = this._onClick = null; }, _k1w.prototype.updateClickable = function(_k23) { var _k24 = null; this.interactive = this.buttonMode = _k23, this.texture = _k23 ? _k1r.SUPPLY_MAIN.getTexture(12) : _k1r.SUPPLY_MAIN.getTexture(13); }, _k1w; }(PIXI.Sprite); _k17.SupplyAllButton2 = _k1t; }, 78314: function(_k25, _k26, _k27) { 'use strict'; var _k28 = null; var _k29, _k2a = this && this.__extends || (_k29 = function(_k2b, _k2c) { var _k2d = null; return _k29 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_k2e, _k2f) { var _k2g = null; _k2e.__proto__ = _k2f; } || function(_k2h, _k2i) { var _k2j = null; for (var _k2k in _k2i) Object.prototype.hasOwnProperty.call(_k2i, _k2k) && (_k2h[_k2k] = _k2i[_k2k]); }, _k29(_k2b, _k2c); }, function(_k2l, _k2m) { var _k2n = null; if ('function' != typeof _k2m && null !== _k2m) throw new TypeError('Class extends value ' + String(_k2m) + ' is not a constructor or null'); function _k2o() { var _k2p = null; this.constructor = _k2l; } _k29(_k2l, _k2m), _k2l.prototype = null === _k2m ? Object.create(_k2m) : (_k2o.prototype = _k2m.prototype, new _k2o()); }); defineModule(_k26); Object.defineProperty(_k26, '__esModule', { 'value': !0 }), _k26.SupplyCheckBox = void 0; var _k2q = _k27(31000), _k2r = function(_k2s) { var _k2t = null; function _k2u() { var _k2v = null; return _k2s.call(this) || this; } return _k2a(_k2u, _k2s), _k2u.prototype.update = function(_k2w) { var _k2x = null; switch (_k2w) { case 1: this.texture = _k2q.SUPPLY_MAIN.getTexture(20); break; case 2: this.texture = _k2q.SUPPLY_MAIN.getTexture(21); break; case 3: this.texture = _k2q.SUPPLY_MAIN.getTexture(22); break; case 0: this.texture = PIXI.Texture.EMPTY; } }, _k2u.prototype.dispose = function() { var _k2y = null; this.memShipId = null; }, _k2u; }(PIXI.Sprite); _k26.SupplyCheckBox = _k2r; }, 5330: function(_k2z, _k30, _k31) { 'use strict'; var _k32 = null; var _k33, _k34 = this && this.__extends || (_k33 = function(_k35, _k36) { var _k37 = null; return _k33 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_k38, _k39) { var _k3a = null; _k38.__proto__ = _k39; } || function(_k3b, _k3c) { var _k3d = null; for (var _k3e in _k3c) Object.prototype.hasOwnProperty.call(_k3c, _k3e) && (_k3b[_k3e] = _k3c[_k3e]); }, _k33(_k35, _k36); }, function(_k3f, _k3g) { var _k3h = null; if ('function' != typeof _k3g && null !== _k3g) throw new TypeError('Class extends value ' + String(_k3g) + ' is not a constructor or null'); function _k3i() { var _k3j = null; this.constructor = _k3f; } _k33(_k3f, _k3g), _k3f.prototype = null === _k3g ? Object.create(_k3g) : (_k3i.prototype = _k3g.prototype, new _k3i()); }); defineModule(_k30); Object.defineProperty(_k30, '__esModule', { 'value': !0 }), _k30.SupplySelectAllButton = void 0; var _k3k = _k31(31000), _k3l = _k31(35380), _k3m = function(_k3n) { var _k3o = null; function _k3p() { var _k3q = null, _k3r = _k3n.call(this) || this; _k3r._onClick = function() { var _k3s = null; _k3r.onClick(); }; var _k3t = new PIXI.Sprite(_k3k.SUPPLY_MAIN.getTexture(19)), _k3u = new PIXI.Sprite(); return _k3u.position.set(3, 3), _k3u.buttonMode = !0, _k3u.addListener(_k3l.EventType.CLICK, _k3r._onClick), _k3r.addChild(_k3t, _k3u), _k3r.background = _k3t, _k3r.checkState = _k3u, _k3r; } return _k34(_k3p, _k3n), _k3p.prototype.update = function(_k3v) { var _k3w = null; switch (this.checkState.interactive = !1, _k3v) { case 1: this.background.texture = _k3k.SUPPLY_MAIN.getTexture(18), this.checkState.texture = _k3k.SUPPLY_MAIN.getTexture(20); break; case 2: this.background.texture = _k3k.SUPPLY_MAIN.getTexture(19), this.checkState.texture = _k3k.SUPPLY_MAIN.getTexture(21), this.checkState.interactive = !0; break; case 3: this.background.texture = _k3k.SUPPLY_MAIN.getTexture(19), this.checkState.texture = _k3k.SUPPLY_MAIN.getTexture(22), this.checkState.interactive = !0; } }, _k3p.prototype.dispose = function() { var _k3x = null; this.background = null, this.checkState.removeListener(_k3l.EventType.CLICK, this._onClick), this.checkState = null, this.onClick = null, this.removeChildren(); }, _k3p; }(PIXI.Container); _k30.SupplySelectAllButton = _k3m; }, 70865: function(_k3y, _k3z, _k40) { 'use strict'; var _k41 = null; var _k42, _k43 = this && this.__extends || (_k42 = function(_k44, _k45) { var _k46 = null; return _k42 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_k47, _k48) { var _k49 = null; _k47.__proto__ = _k48; } || function(_k4a, _k4b) { var _k4c = null; for (var _k4d in _k4b) Object.prototype.hasOwnProperty.call(_k4b, _k4d) && (_k4a[_k4d] = _k4b[_k4d]); }, _k42(_k44, _k45); }, function(_k4e, _k4f) { var _k4g = null; if ('function' != typeof _k4f && null !== _k4f) throw new TypeError('Class extends value ' + String(_k4f) + ' is not a constructor or null'); function _k4h() { var _k4i = null; this.constructor = _k4e; } _k42(_k4e, _k4f), _k4e.prototype = null === _k4f ? Object.create(_k4f) : (_k4h.prototype = _k4f.prototype, new _k4h()); }); defineModule(_k3z); Object.defineProperty(_k3z, '__esModule', { 'value': !0 }), _k3z.SupplyShowcaseView = void 0; var _k4j = _k40(31000), _k4k = _k40(8744), _k4l = _k40(20962), _k4m = function(_k4n) { var _k4o = null; function _k4p() { var _k4q = null, _k4r = _k4n.call(this) || this, _k4s = new PIXI.Sprite(_k4j.SUPPLY_MAIN.getTexture(23)), _k4t = new PIXI.Sprite(_k4j.SUPPLY_MAIN.getTexture(34)), _k4u = new PIXI.Sprite(_k4j.SUPPLY_MAIN.getTexture(2)), _k4v = new PIXI.Sprite(_k4j.SUPPLY_MAIN.getTexture(1)), _k4w = new _k4k.TextBox(28, 5523516), _k4x = new _k4k.TextBox(28, 5523516), _k4y = new _k4k.TextBox(16, 12467003), _k4z = new _k4l.FuelContainer(), _k50 = new _k4l.AmmoContainer(); return _k4w.anchor.set(1, 0), _k4x.anchor.set(1, 0), _k4s.position.set(0, 0), _k4t.position.set(17, 24), _k4u.position.set(18, 83), _k4v.position.set(159, 83), _k4z.position.set(18, 209), _k50.position.set(159, 209), _k4w.position.set(144, 166), _k4x.position.set(285, 166), _k4y.position.set(155, 441), _k4y.anchor.set(0.5, 0), _k4y.visible = !1, _k4r.addChild(_k4s, _k4t, _k4u, _k4v, _k4x, _k4w, _k4y), _k4r.addChild(_k4z, _k50), _k4r.textAmmo = _k4x, _k4r.textFuel = _k4w, _k4r.textAlert = _k4y, _k4r.fuelContainer = _k4z, _k4r.ammoContainer = _k50, _k4r; } return _k43(_k4p, _k4n), _k4p.prototype.dispose = function() { var _k51 = null; this.removeChildren(), this.textAmmo.destroy(), this.textFuel.destroy(), this.textAlert.destroy(), this.fuelContainer.dispose(), this.fuelContainer = null, this.ammoContainer.dispose(), this.ammoContainer = null, this.textFuel = null, this.textAmmo = null, this.textAlert = null; }, _k4p.prototype.updateFuelCount = function(_k52, _k53) { var _k54 = null, _k55, _k56 = _k52.toString(); _k55 = _k53 ? 5523516 : 12467003, this.textFuel.style.fill = _k55, this.textFuel.text = _k56; }, _k4p.prototype.updateAmmoCount = function(_k57, _k58) { var _k59 = null, _k5a, _k5b = _k57.toString(); _k5a = _k58 ? 5523516 : 12467003, this.textAmmo.style.fill = _k5a, this.textAmmo.text = _k5b; }, _k4p.prototype.playAnimationFuel = function(_k5c) { var _k5d = null; this.fuelContainer.update(_k5c); }, _k4p.prototype.playAnimationAmmo = function(_k5e) { var _k5f = null; this.ammoContainer.update(_k5e); }, _k4p.prototype.playSupplyAmmo = function(_k5g) { var _k5h = null; this.ammoContainer.playSupply(_k5g); }, _k4p.prototype.playSupplyFuel = function(_k5i) { var _k5j = null; this.fuelContainer.playSupply(_k5i); }, _k4p.prototype.showAlert = function(_k5k) { var _k5l = null; this.textAlert.text = _k5k, this.textAlert.visible = !0; }, _k4p.prototype.hideAlert = function() { var _k5m = null; this.textAlert.visible = !1; }, _k4p; }(PIXI.Container); _k3z.SupplyShowcaseView = _k4m; }, 44924: function(_k5n, _k5o, _k5p) { 'use strict'; var _k5q = null; var _k5r, _k5s = this && this.__extends || (_k5r = function(_k5t, _k5u) { var _k5v = null; return _k5r = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_k5w, _k5x) { var _k5y = null; _k5w.__proto__ = _k5x; } || function(_k5z, _k60) { var _k61 = null; for (var _k62 in _k60) Object.prototype.hasOwnProperty.call(_k60, _k62) && (_k5z[_k62] = _k60[_k62]); }, _k5r(_k5t, _k5u); }, function(_k63, _k64) { var _k65 = null; if ('function' != typeof _k64 && null !== _k64) throw new TypeError('Class extends value ' + String(_k64) + ' is not a constructor or null'); function _k66() { var _k67 = null; this.constructor = _k63; } _k5r(_k63, _k64), _k63.prototype = null === _k64 ? Object.create(_k64) : (_k66.prototype = _k64.prototype, new _k66()); }); defineModule(_k5o); Object.defineProperty(_k5o, '__esModule', { 'value': !0 }), _k5o.SupplyTypeSelectButton = void 0; var _k68 = _k5p(31000), _k69 = _k5p(35380), _k6a = _k5p(88630), _k6b = _k5p(75411), _k6c = function(_k6d) { var _k6e = null; function _k6f() { var _k6g = null, _k6h = _k6d.call(this) || this; _k6h.fuel = !1, _k6h.ammo = !1, _k6h._onClickFuel = function() { var _k6i = null; _k6h.onClickFuel(); }, _k6h._onClickAmmo = function() { var _k6j = null; _k6h.onClickAmmo(); }, _k6h._onClickAll = function() { var _k6k = null; _k6h.onClickAll(); }, _k6h._onMouseOverAll2 = function() { var _k6l = null; _k6h.onMouseOverAll2(); }, _k6h._onMouseOutAll2 = function() { var _k6m = null; _k6h.onMouseOutAll2(); }, _k6h._onClickAll2 = function() { var _k6n = null; _k6h.onClickAll2(); }, _k6h._onClickBaux = function() { var _k6o = null; _k6h.onClickBaux(); }, _k6h._onMouseOver = function(_k6p) { var _k6q = null; switch (_k6h.buttonFuel.texture = _k6h.btn_2_fuel_off, _k6h.fuel && (_k6h.buttonFuel.texture = _k6h.btn_2_fuel), _k6h.buttonAmmo.texture = _k6h.btn_2_ammo_off, _k6h.ammo && (_k6h.buttonAmmo.texture = _k6h.btn_2_ammo), _k6h.buttonAll.texture = _k6h.btn_2_all, _k6p.target) { case _k6h.buttonAll: _k6h.buttonFuel.texture = _k6h.btn_2_fuel_on, _k6h.buttonAmmo.texture = _k6h.btn_2_ammo_on, _k6h.buttonAll.texture = _k6h.btn_2_all_on; break; case _k6h.buttonAmmo: _k6h.buttonAmmo.texture = _k6h.btn_2_ammo_on; break; case _k6h.buttonFuel: _k6h.buttonFuel.texture = _k6h.btn_2_fuel_on; } }, _k6h._onMouseOut = function(_k6r) { var _k6s = null; null == _k6r.target && (_k6h.buttonFuel.texture = _k6h.btn_2_fuel_off, _k6h.buttonAmmo.texture = _k6h.btn_2_ammo_off, _k6h.buttonAll.texture = _k6h.btn_2_all_off, _k6h.fuel && (_k6h.buttonFuel.texture = _k6h.btn_2_fuel), _k6h.ammo && (_k6h.buttonAmmo.texture = _k6h.btn_2_ammo), (_k6h.fuel || _k6h.ammo) && (_k6h.buttonAll.texture = _k6h.btn_2_all)); }, _k6h.SupplyAircraftButton = new _k6a.SupplyAircraftButton(), _k6h.SupplyAircraftButton.position.set(-3, -44), _k6h.supplyAllButton2 = new _k6b.SupplyAllButton2(), _k6h.supplyAllButton2.position.set(142, -44); var _k6t = _k68.SUPPLY_MAIN.getTexture(10), _k6u = _k68.SUPPLY_MAIN.getTexture(9), _k6v = _k68.SUPPLY_MAIN.getTexture(11), _k6w = _k68.SUPPLY_MAIN.getTexture(4), _k6x = _k68.SUPPLY_MAIN.getTexture(3), _k6y = _k68.SUPPLY_MAIN.getTexture(5), _k6z = _k68.SUPPLY_MAIN.getTexture(7), _k70 = _k68.SUPPLY_MAIN.getTexture(6), _k71 = _k68.SUPPLY_MAIN.getTexture(8), _k72 = new PIXI.Sprite(_k6t), _k73 = new PIXI.Sprite(_k6z), _k74 = new PIXI.Sprite(_k6w); return _k72.position.set(0, 0), _k74.position.set(61, 0), _k73.position.set(217, 0), _k72.addListener(_k69.EventType.CLICK, _k6h._onClickFuel), _k72.addListener(_k69.EventType.MOUSEOVER, _k6h._onMouseOver), _k72.addListener(_k69.EventType.MOUSEOUT, _k6h._onMouseOut), _k73.addListener(_k69.EventType.CLICK, _k6h._onClickAmmo), _k73.addListener(_k69.EventType.MOUSEOVER, _k6h._onMouseOver), _k73.addListener(_k69.EventType.MOUSEOUT, _k6h._onMouseOut), _k74.addListener(_k69.EventType.CLICK, _k6h._onClickAll), _k74.addListener(_k69.EventType.MOUSEOVER, _k6h._onMouseOver), _k74.addListener(_k69.EventType.MOUSEOUT, _k6h._onMouseOut), _k6h.SupplyAircraftButton.onClick = _k6h._onClickBaux, _k6h.supplyAllButton2.onMouseOver = _k6h._onMouseOverAll2, _k6h.supplyAllButton2.onMouseOut = _k6h._onMouseOutAll2, _k6h.supplyAllButton2.onClick = _k6h._onClickAll2, _k6h.addChild(_k6h.SupplyAircraftButton, _k6h.supplyAllButton2, _k72, _k74, _k73), _k6h.buttonAll = _k74, _k6h.buttonAmmo = _k73, _k6h.buttonFuel = _k72, _k6h.btn_2_fuel_off = _k6t, _k6h.btn_2_fuel = _k6u, _k6h.btn_2_fuel_on = _k6v, _k6h.btn_2_ammo_off = _k6z, _k6h.btn_2_ammo = _k70, _k6h.btn_2_ammo_on = _k71, _k6h.btn_2_all_off = _k6w, _k6h.btn_2_all = _k6x, _k6h.btn_2_all_on = _k6y, _k6h; } return _k5s(_k6f, _k6d), _k6f.prototype.dispose = function() { var _k75 = null; this.buttonAll.texture = PIXI.Texture.EMPTY, this.buttonAmmo.texture = PIXI.Texture.EMPTY, this.buttonFuel.texture = PIXI.Texture.EMPTY, this.buttonAll.removeAllListeners(_k69.EventType.CLICK), this.buttonAll.removeAllListeners(_k69.EventType.MOUSEOVER), this.buttonAll.removeAllListeners(_k69.EventType.MOUSEOUT), this.buttonFuel.removeAllListeners(_k69.EventType.CLICK), this.buttonFuel.removeAllListeners(_k69.EventType.MOUSEOVER), this.buttonFuel.removeAllListeners(_k69.EventType.MOUSEOUT), this.buttonAmmo.removeAllListeners(_k69.EventType.CLICK), this.buttonAmmo.removeAllListeners(_k69.EventType.MOUSEOVER), this.buttonAmmo.removeAllListeners(_k69.EventType.MOUSEOUT), this.onClickAll = this._onClickAll = null, this.onClickAmmo = this._onClickAmmo = null, this.onClickFuel = this._onClickFuel = null, this._onMouseOut = this._onMouseOver = null, this.btn_2_fuel_off = null, this.btn_2_all_off = null, this.btn_2_ammo_off = null, this.btn_2_fuel_on = null, this.btn_2_all_on = null, this.btn_2_ammo_on = null, this.btn_2_fuel = null, this.btn_2_all = null, this.btn_2_ammo = null, this.buttonAll = null, this.buttonFuel = null, this.buttonAmmo = null, this.removeChildren(); }, _k6f.prototype.update = function(_k76, _k77) { var _k78 = null; this.buttonFuel.interactive = !1, this.buttonFuel.buttonMode = !1, this.buttonAmmo.interactive = !1, this.buttonAmmo.buttonMode = !1, this.buttonAll.interactive = !1, this.buttonAll.buttonMode = !1, this.buttonAll.texture = this.btn_2_all_off, this.buttonAmmo.texture = this.btn_2_ammo_off, this.buttonFuel.texture = this.btn_2_fuel_off, _k76 && (this.buttonFuel.interactive = !0, this.buttonFuel.buttonMode = !0, this.buttonFuel.texture = this.btn_2_fuel), _k77 && (this.buttonAmmo.interactive = !0, this.buttonAmmo.buttonMode = !0, this.buttonAmmo.texture = this.btn_2_ammo), (_k76 || _k77) && (this.buttonAll.interactive = !0, this.buttonAll.buttonMode = !0, this.buttonAll.texture = this.btn_2_all), this.fuel = _k76, this.ammo = _k77; }, _k6f.prototype.updateButton = function(_k79, _k7a) { var _k7b = null; this.SupplyAircraftButton.updateClickable(_k79), this.supplyAllButton2.updateClickable(_k7a); }, _k6f.prototype.outSideFocus = function(_k7c, _k7d) { var _k7e = null; this.buttonFuel.texture = this.btn_2_fuel_off, this.buttonAmmo.texture = this.btn_2_ammo_off, this.buttonAll.texture = this.btn_2_all_off, _k7c && _k7d ? (this.buttonFuel.texture = this.btn_2_fuel_on, this.buttonAmmo.texture = this.btn_2_ammo_on, this.buttonAll.texture = this.btn_2_all_on) : _k7c ? this.buttonFuel.texture = this.btn_2_fuel_on : _k7d && (this.buttonAmmo.texture = this.btn_2_ammo_on); }, _k6f; }(PIXI.Container); _k5o.SupplyTypeSelectButton = _k6c; }, 9604: function(_k7f, _k7g, _k7h) { 'use strict'; var _k7i = null; var _k7j, _k7k = this && this.__extends || (_k7j = function(_k7l, _k7m) { var _k7n = null; return _k7j = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_k7o, _k7p) { var _k7q = null; _k7o.__proto__ = _k7p; } || function(_k7r, _k7s) { var _k7t = null; for (var _k7u in _k7s) Object.prototype.hasOwnProperty.call(_k7s, _k7u) && (_k7r[_k7u] = _k7s[_k7u]); }, _k7j(_k7l, _k7m); }, function(_k7v, _k7w) { var _k7x = null; if ('function' != typeof _k7w && null !== _k7w) throw new TypeError('Class extends value ' + String(_k7w) + ' is not a constructor or null'); function _k7y() { var _k7z = null; this.constructor = _k7v; } _k7j(_k7v, _k7w), _k7v.prototype = null === _k7w ? Object.create(_k7w) : (_k7y.prototype = _k7w.prototype, new _k7y()); }), _k80 = this && this.__importDefault || function(_k81) { var _k82 = null; return _k81 && _k81.__esModule ? _k81 : { 'default': _k81 }; }; defineModule(_k7g); Object.defineProperty(_k7g, '__esModule', { 'value': !0 }), _k7g.RemodelScene = void 0; var _k83 = _k80(_k7h(18622)), _k84 = _k7h(61474), _k85 = _k7h(13748), _k86 = _k7h(36779), _k87 = _k7h(7481), _k88 = _k7h(99885), _k89 = _k7h(88471), _k8a = function(_k8b) { var _k8c = null; function _k8d() { var _k8e = null; return null !== _k8b && _k8b.apply(this, arguments) || this; } return _k7k(_k8d, _k8b), _k8d.prototype.getPreInitializeTask = function(_k8f) { var _k8g = null; return new _k86.PreInitializeTask(this); }, _k8d.prototype.getInitializeTask = function(_k8h) { var _k8i = null; return new _k87.InitializeTask(this); }, _k8d.prototype.getFinalizeTask = function() { var _k8j = null, _k8k = this; return new _k89.FuncTask(function() { var _k8l = null; _k8k.taskIdleMain.dispose(), _k8k.taskIdleMain = null, _k85.UIImageLoader.clearMemoryCache('remodel'); }); }, _k8d.prototype.start = function() { var _k8m = null, _k8n = _k83.default.model.deck.get(1).getShipMemID(0); this.taskIdleMain = new _k88.TaskIdleMain(this), this.taskIdleMain.start(1, _k8n); }, _k8d; }(_k84.SceneBase); _k7g.RemodelScene = _k8a; }, 83426: (_k8o, _k8p, _k8q) => { 'use strict'; var _k8r = null; defineModule(_k8p); Object.defineProperty(_k8p, '__esModule', { 'value': !0 }), _k8p.SceneMemory = void 0; var _k8s, _k8t = _k8q(62080); ! function(_k8u) { var _k8v = null; _k8u.shipSortKeyType = 1, _k8u.slotItemPage = 0, _k8u.slotItemFilter = 0, _k8u.listMode = _k8t.SlotListMode.UNSET, _k8u.deployable = !1; }(_k8s || (_k8p.SceneMemory = _k8s = {})); }, 17265: function(_k8w, _k8x, _k8y) { 'use strict'; var _k8z = null; var _k90, _k91 = this && this.__extends || (_k90 = function(_k92, _k93) { var _k94 = null; return _k90 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_k95, _k96) { var _k97 = null; _k95.__proto__ = _k96; } || function(_k98, _k99) { var _k9a = null; for (var _k9b in _k99) Object.prototype.hasOwnProperty.call(_k99, _k9b) && (_k98[_k9b] = _k99[_k9b]); }, _k90(_k92, _k93); }, function(_k9c, _k9d) { var _k9e = null; if ('function' != typeof _k9d && null !== _k9d) throw new TypeError('Class extends value ' + String(_k9d) + ' is not a constructor or null'); function _k9f() { var _k9g = null; this.constructor = _k9c; } _k90(_k9c, _k9d), _k9c.prototype = null === _k9d ? Object.create(_k9d) : (_k9f.prototype = _k9d.prototype, new _k9f()); }), _k9h = this && this.__importDefault || function(_k9i) { var _k9j = null; return _k9i && _k9i.__esModule ? _k9i : { 'default': _k9i }; }; defineModule(_k8x); Object.defineProperty(_k8x, '__esModule', { 'value': !0 }), _k8x.KaizoAnimationMain = void 0; var _k9k = _k9h(_k8y(21359)), _k9l = _k9h(_k8y(18622)), _k9m = _k8y(35380), _k9n = _k8y(85492), _k9o = _k8y(79899), _k9p = _k8y(7344), _k9q = _k8y(43472), _k9r = _k8y(20137), _k9s = _k8y(31000), _k9t = _k8y(86614), _k9u = function(_k9v) { var _k9w = null; function _k9x() { var _k9y = null, _k9z = _k9v.call(this) || this; return _k9z._white = new _k9o.AreaBox(1, 16777215), _k9z._holoBG = new _k9q.RarityBG(), _k9z._holoBG.visible = !1, _k9z._textKaiso = new PIXI.Sprite(_k9s.REMODEL_ANIMATION.getTexture(10)), _k9z._textKaiso.visible = !1, _k9z._cutinBar = new _k9t.CutinBar(), _k9z._shipFull = new PIXI.Sprite(), _k9z._shipFull.visible = !1, _k9z._shipCard = new PIXI.Sprite(), _k9z._shipCard.visible = !1, _k9z; } return _k91(_k9x, _k9v), _k9x.prototype.dispose = function() { var _ka0 = null; this._cb_onComplete = null, this._offset = null, this._white = null, this._commonBG.dispose(), this._commonBG = null, this._holoBG.dispose(), this._holoBG = null, this._textKaiso = null, this._cutinBar = null, this._shipFull = null, this._shipCard = null, this.removeChildren(); }, _k9x.prototype.preload = function(_ka1, _ka2, _ka3, _ka4) { var _ka5 = null, _ka6 = this; this._ship_mstid = _ka1, this._offset = _ka3; var _ka7 = new _k9r.ShipLoader(); _ka7.add(_ka1, _ka2, 'full'), _ka7.add(_ka1, _ka2, 'card'), _ka7.load(function() { var _ka8 = null; _ka6._shipFull.texture = _k9l.default.resources.getShip(_ka1, _ka2, 'full'), _ka6._shipCard.texture = _k9l.default.resources.getShip(_ka1, _ka2, 'card'), _ka6._commonBG = new _k9q.RarityBG(), _ka6._commonBG.initiailzeForShip(3, function() { var _ka9 = null; _ka6._holoBG.initiailzeForShip(6, function() { null != _ka4 && _ka4(); }); }); }); }, _k9x.prototype.play = function(_kaa) { var _kab = null, _kac = this; this._cb_onComplete = _kaa, this.removeChildren(), this.addChild(this._commonBG, this._textKaiso), this.addChild(this._cutinBar), this.addChild(this._white), _k9l.default.settings.renderer.plugins.prepare.upload(this._shipFull, function() { var _kad = null; _k9l.default.settings.renderer.plugins.prepare.upload(_kac._shipCard, function() { var _kae = null; createjs.Tween.get(null).wait(200).call(function() { var _kaf = _kae; _kac[_kaf(860)](); }); }); }); }, _k9x.prototype._00_intro = function() { var _kag = null, _kah, _kai = this, _kaj = new _k9n.TweenTask(); this._textKaiso.x = -288, this._textKaiso.y = 395, _kah = createjs.Tween.get(this._textKaiso).set({ 'visible': !0 }).to({ 'x': 756 }, 700, createjs.Ease.cubicOut).wait(100).to({ 'x': 1122 }, 700, createjs.Ease.cubicIn).set({ 'visible': !1 }), _kaj.addTween(_kah), this._cutinBar.x = 0, this._cutinBar.y = 270, this._cutinBar.mask.scale.y = 0, _kah = createjs.Tween.get(this._cutinBar.mask.scale).to({ 'y': 1 }, 700, createjs.Ease.cubicOut).wait(100).to({ 'y': 0 }, 700, createjs.Ease.cubicIn).set({ 'visible': !1 }), _kaj.addTween(_kah), _kah = createjs.Tween.get(this._white).to({ 'alpha': 0 }, 700, createjs.Ease.cubicOut).set({ 'visible': !1 }), _kaj.addTween(_kah), _kaj.start(function() { var _kak = null; _kai.removeChild(_kai._textKaiso), _kai.removeChild(_kai._cutinBar), _kai._cutinBar.dispose(), _kai.removeChild(_kai._white), _kai._01_showShip(); }); }, _k9x.prototype._01_showShip = function() { var _kal = null, _kam, _kan = this, _kao = new _k9n.TweenTask(), _kap = new PIXI.Container(); _kap.addChild(this._holoBG), _kap.addChild(this._shipFull), this.addChild(_kap); var _kaq = new PIXI.Graphics(); _kaq.beginFill(0, 0), _kaq.drawRect(-_k9k.default.width / 2, -_k9k.default.height / 2, _k9k.default.width, _k9k.default.height), _kaq.endFill(), _kaq.x = _k9k.default.width / 2, _kaq.y = _k9k.default.height / 2, _kaq.scale.y = 0, this.addChild(_kaq), _kap.mask = _kaq, this._holoBG.visible = !0, this._shipFull.x = 201 + this._offset.x, this._shipFull.y = 342 + this._offset.y, _kam = createjs.Tween.get(this._shipFull).set({ 'visible': !0 }).to({ 'y': -66 + this._offset.y }, 2400), _kao.addTween(_kam), _kam = createjs.Tween.get(_kaq.scale).to({ 'y': 1 }, 500).call(function() { var _kar = null; _kan._commonBG.visible = !1, _kap.mask.visible = !1; }), _kao.addTween(_kam), _kao.start(function() { var _kas = null; _kan.removeChild(_kan._commonBG), _kan.removeChild(_kan.mask), _kap.mask = null, _kan._02_changeToCard(_kap); }); }, _k9x.prototype._02_changeToCard = function(_kat) { var _kau = null, _kav = this; _k9l.default.sound.voice.play(this._ship_mstid.toString(), 10); var _kaw, _kax = new _k9n.TweenTask(); _kaw = createjs.Tween.get(this._shipFull).wait(600).to({ 'x': -147 + this._offset.x, 'alpha': 0.5 }, 900, createjs.Ease.sineOut).to({ 'x': 201 + this._offset.x, 'alpha': 0 }, 900, createjs.Ease.sineIn).set({ 'visible': !1 }), _kax.addTween(_kaw), this._shipCard.x = 443, this._shipCard.y = 135, this._shipCard.alpha = 0, _kat.addChild(this._shipCard), _kaw = createjs.Tween.get(this._shipCard).wait(600).set({ 'visible': !0 }).to({ 'x': 770, 'alpha': 0.5 }, 900, createjs.Ease.sineOut).to({ 'x': 443, 'alpha': 1 }, 900, createjs.Ease.sineIn), _kax.addTween(_kaw), _kax.start(function() { var _kay = null; _kat.removeChild(_kav._shipFull), _kav._03_waitClick(); }); }, _k9x.prototype._03_waitClick = function() { var _kaz = null, _kb0 = this, _kb1 = new _k9p.GearBtnHome(); _kb1.initialize(), _kb1.x = _k9k.default.width - _kb1.width / 2, _kb1.y = _k9k.default.height - _kb1.height / 2, _kb1.activate(), this.addChild(_kb1); var _kb2 = new _k9o.AreaBox(0); _kb2.buttonMode = !0, this.addChild(_kb2), _kb2.once(_k9m.EventType.CLICK, function() { var _kb3 = null; _kb0.removeChild(_kb2), _kb0._04_fadeOut(_kb1); }); }, _k9x.prototype._04_fadeOut = function(_kb4) { var _kb5 = null, _kb6 = this; createjs.Tween.get(this).to({ 'alpha': 0 }, 100).call(function() { var _kb7 = null; _kb4.dispose(), _kb6.removeChild(_kb4), null != _kb6._cb_onComplete && _kb6._cb_onComplete(); }); }, _k9x; }(PIXI.Container); _k8x.KaizoAnimationMain = _k9u; }, 17172: function(_kb8, _kb9, _kba) { 'use strict'; var _kbb = null; var _kbc, _kbd = this && this.__extends || (_kbc = function(_kbe, _kbf) { var _kbg = null; return _kbc = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_kbh, _kbi) { var _kbj = null; _kbh.__proto__ = _kbi; } || function(_kbk, _kbl) { var _kbm = null; for (var _kbn in _kbl) Object.prototype.hasOwnProperty.call(_kbl, _kbn) && (_kbk[_kbn] = _kbl[_kbn]); }, _kbc(_kbe, _kbf); }, function(_kbo, _kbp) { var _kbq = null; if ('function' != typeof _kbp && null !== _kbp) throw new TypeError('Class extends value ' + String(_kbp) + ' is not a constructor or null'); function _kbr() { var _kbs = null; this.constructor = _kbo; } _kbc(_kbo, _kbp), _kbo.prototype = null === _kbp ? Object.create(_kbp) : (_kbr.prototype = _kbp.prototype, new _kbr()); }), _kbt = this && this.__importDefault || function(_kbu) { var _kbv = null; return _kbu && _kbu.__esModule ? _kbu : { 'default': _kbu }; }; defineModule(_kb9); Object.defineProperty(_kb9, '__esModule', { 'value': !0 }), _kb9.PowerUpAnimation = void 0; var _kbw = _kbt(_kba(18622)), _kbx = _kba(79899), _kby = _kba(43472), _kbz = _kba(20137), _kc0 = _kba(10430), _kc1 = function(_kc2) { var _kc3 = null; function _kc4(_kc5) { var _kc6 = null, _kc7 = _kc2.call(this) || this; return _kc7._clickGuard = new _kbx.AreaBox(0), _kc7._background = new _kby.RarityBG(), _kc7._ship = new PIXI.Sprite(), _kc7._elements = new _kc8(_kc5), _kc7._white = new _kbx.AreaBox(1, 16777215), _kc7; } return _kbd(_kc4, _kc2), _kc4.prototype.preload = function(_kc9, _kca, _kcb, _kcc) { var _kcd = null, _kce = this, _kcf = new _kbz.ShipLoader(); _kcf.add(_kc9, _kca, 'full'), _kcf.load(function() { var _kcg = null; _kce._ship.texture = _kbw.default.resources.getShip(_kc9, _kca, 'full'), _kca ? (_kce._ship.x = _kcb.x + 228, _kce._ship.y = _kcb.y - 27) : (_kce._ship.x = _kcb.x + 213, _kce._ship.y = _kcb.y - 62), _kce._background.initiailzeForShip(3, function() { null != _kcc && _kcc(); }); }); }, _kc4.prototype.play = function(_kch, _kci) { var _kcj = null; this._cb_onPreComplete = _kch, this._cb_onComplete = _kci, this.addChild(this._clickGuard), this._background.visible = !1, this.addChild(this._background), this._ship.visible = !1, this.addChild(this._ship), this._01_whiteInOut(); }, _kc4.prototype._01_whiteInOut = function() { var _kck = null, _kcl = this; this._white.alpha = 0, this.addChild(this._white), createjs.Tween.get(this._white).to({ 'alpha': 1 }, 500).call(function() { var _kcm = null; _kcl._background.visible = !0, _kcl._ship.visible = !0; }).to({ 'alpha': 0 }, 500).call(function() { var _kcn = null; _kcl.removeChild(_kcl._white), _kcl._02_animElements(); }); }, _kc4.prototype._02_animElements = function() { var _kco = null, _kcp = this; this.addChild(this._elements), this._elements.play(function() { var _kcq = null; _kcp.removeChild(_kcp._elements), null != _kcp._cb_onPreComplete && _kcp._cb_onPreComplete(), _kcp._03_link(); }); }, _kc4.prototype.dispose = function() { var _kcr = null; this.removeChildren(), this._cb_onPreComplete = null, this._cb_onComplete = null, this._clickGuard = null, this._background.dispose(), this._background = null, this._ship = null, this._elements.dispose(), this._elements = null, this._white = null; }, _kc4; }(PIXI.Container); _kb9.PowerUpAnimation = _kc1; var _kc8 = function(_kcs) { var _kct = null; function _kcu(_kcv) { var _kcw = null, _kcx = _kcs.call(this) || this; _kcx.PROGRESS_WEIGHT = 50, _kcx.ALLROT = 4, _kcx.animation = { 'progress': 0 }, _kcx._onUpdate = function() { var _kcy = null; for (var _kcz = _kcx.animation.progress, _kd0 = _kcx._positions, _kd1 = 2 + _kcz * _kcx.PROGRESS_WEIGHT * 0.05, _kd2 = 0; _kd2 < _kcx._elements.length; _kd2++) { var _kd3 = _kcx._elements[_kd2]; if (_kd3.alpha = 0, _kd2 < _kd0.length) { var _kd4 = 1; _kcz > 0.5 && (_kd4 = 1 - (_kcz - 0.5) / 0.5); var _kd5 = _kd0[_kd2][0] - 600, _kd6 = _kd0[_kd2][1] - 360, _kd7 = Math.sqrt(_kd5 * _kd5 + _kd6 * _kd6), _kd8 = Math.atan2(_kd6, _kd5); _kd8 += _kcx.ALLROT * Math.PI / 180 * (_kcz * _kcx.PROGRESS_WEIGHT); var _kd9 = (_kd7 -= _kd1 * (_kcz * _kcx.PROGRESS_WEIGHT)) * Math.cos(_kd8) + 600, _kda = _kd7 * Math.sin(_kd8) + 360; _kd3.x = _kd9, _kd3.y = _kda, _kd3.alpha = _kd4; } } }, _kcx._elements = []; for (var _kdb = 0; _kdb < _kcv; _kdb++) { var _kdc = new _kc0.PowerElement(); _kdc.renderable = !1, _kdc.updateRotationTable(), _kcx._elements.push(_kdc); } return _kcx._positions = _kcx._getPowerElementOffset(_kcv), _kcx; } return _kbd(_kcu, _kcs), _kcu.prototype.play = function(_kdd) { var _kde = null; for (var _kdf = this, _kdg = 0, _kdh = this._elements; _kdg < _kdh.length; _kdg++) { var _kdi = _kdh[_kdg]; _kdi.renderable = !0, _kdi.alpha = 0, this.addChild(_kdi); } this.animation.progress = 0, this._onUpdate(); var _kdj = createjs.Tween.get(this.animation, { 'onChange': this._onUpdate }).to({ 'progress': 1 }, 1600).call(function() { var _kdk = null; _kdj.removeAllEventListeners('change'), createjs.Tween.removeTweens(_kdj.target), _kdf.animation.progress = 1, _kdf._onUpdate(); for (var _kdl = 0, _kdm = _kdf._elements; _kdl < _kdm.length; _kdl++) { var _kdn = _kdm[_kdl]; _kdn.renderable = !1, _kdf.removeChild(_kdn); } _kdd(); }); }, _kcu.prototype.dispose = function() { var _kdo = null; createjs.Tween.removeTweens(this.animation); for (var _kdp = 0, _kdq = this._elements; _kdp < _kdq.length; _kdp++) { _kdq[_kdp].dispose(); } this._elements = null; }, _kcu.prototype._getPowerElementOffset = function(_kdr) { switch (_kdr) { case 1: return [ [293, 353] ]; case 2: return [ [176, 192], [1092, 621] ]; case 3: return [ [176, 192], [1092, 362], [311, 648] ]; case 4: return [ [114, 86], [1092, 173], [311, 648], [1022, 585] ]; case 5: return [ [71, 248], [1092, 191], [420, 69], [1022, 585], [171, 632] ]; } return []; }, _kcu; }(PIXI.Container); }, 45974: function(_kds, _kdt, _kdu) { 'use strict'; var _kdv = null; var _kdw, _kdx = this && this.__extends || (_kdw = function(_kdy, _kdz) { var _ke0 = null; return _kdw = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ke1, _ke2) { var _ke3 = null; _ke1.__proto__ = _ke2; } || function(_ke4, _ke5) { var _ke6 = null; for (var _ke7 in _ke5) Object.prototype.hasOwnProperty.call(_ke5, _ke7) && (_ke4[_ke7] = _ke5[_ke7]); }, _kdw(_kdy, _kdz); }, function(_ke8, _ke9) { var _kea = null; if ('function' != typeof _ke9 && null !== _ke9) throw new TypeError('Class extends value ' + String(_ke9) + ' is not a constructor or null'); function _keb() { var _kec = null; this.constructor = _ke8; } _kdw(_ke8, _ke9), _ke8.prototype = null === _ke9 ? Object.create(_ke9) : (_keb.prototype = _ke9.prototype, new _keb()); }); defineModule(_kdt); Object.defineProperty(_kdt, '__esModule', { 'value': !0 }), _kdt.PowerUpAnimationFailed = void 0; var _ked = _kdu(69100), _kee = _kdu(85492), _kef = _kdu(79899), _keg = _kdu(50740), _keh = _kdu(7344), _kei = _kdu(27510), _kej = _kdu(70723), _kek = _kdu(31000), _kel = _kdu(17172), _kem = _kdu(35380), _ken = function(_keo) { var _kep = null; function _keq(_ker, _kes) { var _ket = null, _keu = _keo.call(this, _ker) || this; return _keu._mainView = _kes, _keu._bg_itemlost = new PIXI.Sprite(_kek.COMMON_ANIMATION.getTexture(0)), _keu._penguin = new _keg.FailedPenguin(), _keu._obj_leaf = new PIXI.Sprite(_kek.COMMON_ANIMATION.getTexture(1)), _keu._obj_leaf.anchor.set(0.5, 0.5), _keu._messageBox = new _kei.MessageBox(!1), _keu._gearBtnHome = new _keh.GearBtnHome(), _keu._gearBtnHome.initialize(), _keu._gearBtnHome.x = 1140, _keu._gearBtnHome.y = 660, _keu.leafTween = _ked.LeafAnimationUtil.LeafAnimation(_keu._obj_leaf, new PIXI.Point(0, 60)), _keu.leafTween.setPaused(!0), _keu; } return _kdx(_keq, _keo), _keq.prototype._03_link = function() { var _kev = null; this.addChild(this._bg_itemlost), this._penguin.light.alpha = 0, this._penguin.light_place.alpha = 0, this.addChild(this._penguin), this._obj_leaf.visible = !1, this.addChild(this._obj_leaf), this.addChild(this._background), this.addChild(this._ship), this._04_whiteInOut(); }, _keq.prototype._04_whiteInOut = function() { var _kew = null, _kex = this; this._white.alpha = 0, this.addChild(this._white), createjs.Tween.get(this._white).to({ 'alpha': 1 }, 400).call(function() { var _key = null; _kex.removeChild(_kex._background), _kex.removeChild(_kex._ship); }).to({ 'alpha': 0 }, 500).call(function() { var _kez = null; _kex.removeChild(_kex._white), _kex._05_showFailedPenguin(); }); }, _keq.prototype._05_showFailedPenguin = function() { var _kf0 = null, _kf1, _kf2 = this, _kf3 = new _kee.TweenTask(); _kf1 = createjs.Tween.get(this._penguin.light).to({ 'alpha': 1 }, 300), _kf3.addTween(_kf1), _kf1 = createjs.Tween.get(this._penguin.light_place).to({ 'alpha': 1 }, 300), _kf3.addTween(_kf1), _kf3.start(function() { var _kf4 = null; _kf2._obj_leaf.visible = !0, _kf2.leafTween.setPaused(!1), _kf2._06_typeMessage(); }); }, _keq.prototype._06_typeMessage = function() { var _kf5 = null, _kf6 = this; this._messageBox.y = 1200, this._messageBox.initialize('近代化改修(合成)に失敗しました。'), this.addChild(this._messageBox), createjs.Tween.get(this._messageBox).to({ 'y': 480 }, 500, createjs.Ease.quadOut).call(function() { var _kf7 = null; _kf6._gearBtnHome.activate(), _kf6.addChild(_kf6._gearBtnHome), _kej.SE.play('247'), _kf6._messageBox.activate(function() { var _kf8 = null; _kf6._07_waitClick(); }); }); }, _keq.prototype._07_waitClick = function() { var _kf9 = null, _kfa = this, _kfb = new _kef.AreaBox(0); _kfb.buttonMode = !0, this.addChild(_kfb), _kfb.once(_kem.EventType.CLICK, function() { var _kfc = null; _kfa.removeChild(_kfb), _kfa._08_whiteInOut(); }); }, _keq.prototype._08_whiteInOut = function() { var _kfd = null, _kfe = this; this.addChild(this._white), createjs.Tween.get(this._white).to({ 'alpha': 1 }, 500).call(function() { var _kff = null; _kfe.removeChild(_kfe._bg_itemlost), _kfe.removeChild(_kfe._obj_leaf), _kfe.removeChild(_kfe._penguin), _kfe.removeChild(_kfe._messageBox), _kfe.removeChild(_kfe._gearBtnHome), _kfe._gearBtnHome.dispose(), _kfe._mainView.visible = !0, createjs.Tween.get(_kfe._white).to({ 'alpha': 0 }, 500).call(function() { var _kfg = null; _kfe.removeChild(_kfe._white), null != _kfe._cb_onComplete && _kfe._cb_onComplete(); }); }); }, _keq.prototype.dispose = function() { var _kfh = null; this.removeChildren(), createjs.Tween.removeTweens(this.leafTween.target), this.leafTween = null, _keo.prototype.dispose.call(this), this._bg_itemlost = null, this._penguin.dispose(), this._penguin = null, this._obj_leaf = null, this._messageBox.dispose(), this._messageBox = null, this._gearBtnHome = null; }, _keq; }(_kel.PowerUpAnimation); _kdt.PowerUpAnimationFailed = _ken; }, 18540: function(_kfi, _kfj, _kfk) { 'use strict'; var _kfl = null; var _kfm, _kfn = this && this.__extends || (_kfm = function(_kfo, _kfp) { var _kfq = null; return _kfm = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_kfr, _kfs) { var _kft = null; _kfr.__proto__ = _kfs; } || function(_kfu, _kfv) { var _kfw = null; for (var _kfx in _kfv) Object.prototype.hasOwnProperty.call(_kfv, _kfx) && (_kfu[_kfx] = _kfv[_kfx]); }, _kfm(_kfo, _kfp); }, function(_kfy, _kfz) { var _kg0 = null; if ('function' != typeof _kfz && null !== _kfz) throw new TypeError('Class extends value ' + String(_kfz) + ' is not a constructor or null'); function _kg1() { var _kg2 = null; this.constructor = _kfy; } _kfm(_kfy, _kfz), _kfy.prototype = null === _kfz ? Object.create(_kfz) : (_kg1.prototype = _kfz.prototype, new _kg1()); }), _kg3 = this && this.__importDefault || function(_kg4) { var _kg5 = null; return _kg4 && _kg4.__esModule ? _kg4 : { 'default': _kg4 }; }; defineModule(_kfj); Object.defineProperty(_kfj, '__esModule', { 'value': !0 }), _kfj.PowerUpAnimationSuccess = void 0; var _kg6 = _kg3(_kfk(21359)), _kg7 = _kfk(85492), _kg8 = _kfk(79899), _kg9 = _kfk(7344), _kga = _kfk(54011), _kgb = _kfk(70723), _kgc = _kfk(31000), _kgd = _kfk(17172), _kge = _kfk(35380), _kgf = function(_kgg) { var _kgh = null; function _kgi(_kgj, _kgk) { var _kgl = null, _kgm = _kgg.call(this, _kgj) || this; return _kgm._mainView = _kgk, _kgm._telopBG = new PIXI.Sprite(), _kgm._telopLineTop = new PIXI.Sprite(), _kgm._telopLineBottom = new PIXI.Sprite(), _kgm._telopText = new PIXI.Sprite(), _kgm._particles = new _kgn(), _kgm; } return _kfn(_kgi, _kgg), _kgi.prototype._03_link = function() { var _kgo = null; this._04_showTelop(); }, _kgi.prototype._04_showTelop = function() { var _kgp = null, _kgq = this; this._telopBG.texture = _kgc.REMODEL_ANIMATION.getTexture(2), this._telopBG.alpha = 0.35, this._telopBG.anchor.set(0.5), this._telopBG.position.set(_kg6.default.width / 2, _kg6.default.height / 2), this._telopBG.scale.y = 0, this.addChild(this._telopBG); var _kgr = _kgc.REMODEL_ANIMATION.getTexture(3); this._telopLineTop.texture = _kgr, this._telopLineTop.anchor.set(0.5), this._telopLineTop.position.set(_kg6.default.width / 2, _kg6.default.height / 2), this.addChild(this._telopLineTop), this._telopLineBottom.texture = _kgr, this._telopLineBottom.anchor.set(0.5), this._telopLineBottom.position.set(_kg6.default.width / 2, _kg6.default.height / 2), this.addChild(this._telopLineBottom); var _kgs, _kgt = new _kg7.TweenTask(); _kgs = createjs.Tween.get(this._telopBG.scale).to({ 'y': 1 }, 300), _kgt.addTween(_kgs), _kgs = createjs.Tween.get(this._telopLineTop).to({ 'y': _kg6.default.height / 2 - 155 }, 300), _kgt.addTween(_kgs), _kgs = createjs.Tween.get(this._telopLineBottom).to({ 'y': _kg6.default.height / 2 + 155 }, 300), _kgt.addTween(_kgs), _kgt.start(function() { var _kgu = null; _kgq._telopText.texture = _kgc.REMODEL_ANIMATION.getTexture(9), _kgq._telopText.x = _kg6.default.width, _kgq._telopText.y = Math.round(_kg6.default.height / 2 - _kgq._telopText.height / 2), _kgq.addChild(_kgq._telopText), createjs.Tween.get(_kgq._telopText).to({ 'x': 178 }, 400).call(function() { var _kgv = null; _kgb.SE.play('226'), _kgq.addChild(_kgq._particles), _kgq._particles.play(); }).to({ 'x': 63 }, 1700).call(function() { var _kgw = null; _kgq._05_waitClick(); }); }); }, _kgi.prototype._05_waitClick = function() { var _kgx = null, _kgy = this, _kgz = new _kg9.GearBtnHome(); _kgz.initialize(), _kgz.activate(), _kgz.position.set(1140, 660), this.addChild(_kgz); var _kh0 = new _kg8.AreaBox(0); _kh0.buttonMode = !0, this.addChild(_kh0), _kh0.once(_kge.EventType.CLICK, function() { var _kh1 = null; _kgy.removeChild(_kh0), _kgy._06_whiteInOut(_kgz); }); }, _kgi.prototype._06_whiteInOut = function(_kh2) { var _kh3 = null, _kh4 = this; this._white.alpha = 0, this.addChild(this._white), createjs.Tween.get(this._white).to({ 'alpha': 1 }, 500).call(function() { var _kh5 = null; _kh4.removeChild(_kh4._background), _kh4.removeChild(_kh4._ship), _kh4.removeChild(_kh4._telopBG), _kh4.removeChild(_kh4._telopLineTop), _kh4.removeChild(_kh4._telopLineBottom), _kh4.removeChild(_kh4._telopText), _kh4.removeChild(_kh4._particles), _kh4.removeChild(_kh2), _kh2.dispose(), _kh4._mainView.visible = !0; }).to({ 'alpha': 0 }, 500).call(function() { var _kh6 = null; _kh4.removeChild(_kh4._white), null != _kh4._cb_onComplete && _kh4._cb_onComplete(); }); }, _kgi.prototype.dispose = function() { var _kh7 = null; this.removeChildren(), _kgg.prototype.dispose.call(this), this._telopBG = null, this._telopLineTop = null, this._telopLineBottom = null, this._telopText = null, this._particles.dispose(), this._particles = null; }, _kgi; }(_kgd.PowerUpAnimation); _kfj.PowerUpAnimationSuccess = _kgf; var _kgn = function(_kh8) { var _kh9 = null; function _kha() { var _khb = null, _khc = _kh8.call(this) || this; _khc._particles = []; for (var _khd = [ [-459, -59], [-392, -74], [-332, 51], [-237, -89], [-158, 66], [-96, -54], [-8, 60], [39, -65], [141, -35], [239, 63], [308, -54], [420, 45] ], _khe = _kgc.REMODEL_ANIMATION.getTexture(8), _khf = 0; _khf < 12; _khf++) { var _khg = new _kga.Sprite(_khe); _khg.anchor.set(0.5), _khg.scale.set(0), _khg.x = _khd[_khf][0] + 600, _khg.y = _khd[_khf][1] + 360, _khc.addChild(_khg), _khc._particles.push(_khg); } return _khc; } return _kfn(_kha, _kh8), _kha.prototype.play = function() { var _khh = null; this._removeTweens(), this._tweens = []; for (var _khi = 0; _khi < this._particles.length; _khi++) { var _khj = this._particles[_khi]; _khj.scale.set(0); var _khk = createjs.Tween.get(_khj).wait(100 * _khi).to({ 'scaleX': 1.5, 'scaleY': 1.5 }, 100).to({ 'scaleX': 0, 'scaleY': 0 }, 100); this._tweens.push(_khk); } }, _kha.prototype.dispose = function() { var _khl = null; this._removeTweens(), this.removeChildren(), this._particles = null; }, _kha.prototype._removeTweens = function() { var _khm = null; if (null != this._tweens) { for (var _khn = 0, _kho = this._tweens; _khn < _kho.length; _khn++) { _kho[_khn].setPaused(!0); } this._tweens = null; } }, _kha; }(PIXI.Container); }, 35601: function(_khp, _khq, _khr) { 'use strict'; var _khs = null; var _kht, _khu = this && this.__extends || (_kht = function(_khv, _khw) { var _khx = null; return _kht = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_khy, _khz) { var _ki0 = null; _khy.__proto__ = _khz; } || function(_ki1, _ki2) { var _ki3 = null; for (var _ki4 in _ki2) Object.prototype.hasOwnProperty.call(_ki2, _ki4) && (_ki1[_ki4] = _ki2[_ki4]); }, _kht(_khv, _khw); }, function(_ki5, _ki6) { var _ki7 = null; if ('function' != typeof _ki6 && null !== _ki6) throw new TypeError('Class extends value ' + String(_ki6) + ' is not a constructor or null'); function _ki8() { var _ki9 = null; this.constructor = _ki5; } _kht(_ki5, _ki6), _ki5.prototype = null === _ki6 ? Object.create(_ki6) : (_ki8.prototype = _ki6.prototype, new _ki8()); }), _kia = this && this.__importDefault || function(_kib) { var _kic = null; return _kib && _kib.__esModule ? _kib : { 'default': _kib }; }; defineModule(_khq); Object.defineProperty(_khq, '__esModule', { 'value': !0 }), _khq.SpKaizoIntro = void 0; var _kid = _kia(_khr(18622)), _kie = _khr(79899), _kif = _khr(13748), _kig = _khr(20137), _kih = _khr(38412), _kii = function(_kij) { var _kik = null; function _kil() { var _kim = null, _kin = _kij.call(this) || this; return _kin.bg = new _kie.AreaBox(1, 16777215), _kin.black = new _kie.AreaBox(1), _kin.bgGrad = new PIXI.Sprite(), _kin.ship = new PIXI.Sprite(), _kin.silhouette = new PIXI.Sprite(), _kin.shipLayer1 = new PIXI.Container(), _kin.shipLayer2 = new PIXI.Container(), _kin.bg.alpha = 0, _kin.black.alpha = 0, _kin.bgGrad.alpha = 0, _kin.shipLayer1.alpha = 0, _kin.shipLayer2.alpha = 0, _kin.shipLayer1.x = -290, _kin.shipLayer2.x = -290, _kin.shipLayer1.scale.set(0.8), _kin.shipLayer2.scale.set(0.8), _kin.shipLayer1.addChild(_kin.ship), _kin.shipLayer2.addChild(_kin.silhouette), _kin.addChild(_kin.bg, _kin.shipLayer1, _kin.shipLayer2, _kin.bgGrad, _kin.black), _kin; } return _khu(_kil, _kij), _kil.prototype.dispose = function() { var _kio = null; this.removeChildren(), this.bg = null, this.bgGrad = null, this.black = null, this.shipLayer1 = null, this.shipLayer2 = null, this.ship = null, this.silhouette = null, this._cb_onComplete = null; }, _kil.prototype.play = function(_kip, _kiq, _kir) { var _kis = null, _kit = this; this._callback = _kiq, this._cb_onComplete = _kir, this._preload(_kip, function() { var _kiu = null; createjs.Tween.get(_kit.bg).to({ 'alpha': 1 }, 500).call(function() { var _kiv = null; _kit.anim1(); }); }); }, _kil.prototype._preload = function(_kiw, _kix) { var _kiy = null, _kiz = this, _kj0 = new _kif.UIImageLoader('remodel'); _kj0.add('bg/vignette_frame.png', 'vignette_frame'), _kj0.load(function() { var _kj1 = null, _kj2 = new _kig.ShipLoader(); _kj2.add(_kiw[0], !1, 'full'), _kj2.add(_kiw[1], !1, 'sp_remodel/silhouette'), _kj2.load(function() { var _kj3 = null; _kiz.bgGrad.texture = _kid.default.resources.getUIImage('vignette_frame'), _kiz.ship.texture = _kid.default.resources.getShip(_kiw[0], !1, 'full'), _kiz.silhouette.texture = _kid.default.resources.getShip(_kiw[1], !1, 'sp_remodel/silhouette'); var _kj4 = _kid.default.model.ship_graph.get(_kiw[0]).getCenterOffset(!1), _kj5 = _kih.SpKaizoConst.getSilouetteOffset(_kiw[1]); _kiz.ship.x = 330 + _kj4.x, _kiz.ship.y = _kj4.y - 50, _kiz.silhouette.x = 330 + _kj5.x, _kiz.silhouette.y = _kj5.y - 50, _kix(); }); }); }, _kil.prototype.anim1 = function() { var _kj6 = null, _kj7 = this; createjs.Tween.get(this.bgGrad).to({ 'alpha': 1 }, 1000), createjs.Tween.get(this.shipLayer1).to({ 'alpha': 1 }, 1000).wait(300).call(function() { var _kj8 = null; _kj7.anim2(); }); }, _kil.prototype.anim2 = function() { var _kj9 = null; createjs.Tween.get(this.shipLayer1).to({ 'x': 0 }, 2300, createjs.Ease.quintOut), createjs.Tween.get(this.shipLayer1).wait(300).to({ 'alpha': 0 }, 1500), createjs.Tween.get(this.shipLayer2).to({ 'x': 0 }, 2300, createjs.Ease.quintOut), createjs.Tween.get(this.shipLayer2).wait(300).to({ 'alpha': 1 }, 1500), this.anim3(); }, _kil.prototype.anim3 = function() { var _kja = null, _kjb = this; createjs.Tween.get(this.black).wait(1300).to({ 'alpha': 1 }, 1000).call(function() { var _kjc = null; _kjb.bg.visible = !1, _kjb.shipLayer2.visible = !1, _kjb._callback(), createjs.Tween.get(_kjb).to({ 'alpha': 0 }, 1000).call(function() { var _kjd = null; _kjb._cb_onComplete(); }); }); }, _kil; }(PIXI.Container); _khq.SpKaizoIntro = _kii; }, 57691: function(_kje, _kjf, _kjg) { 'use strict'; var _kjh = null; var _kji = this && this.__importDefault || function(_kjj) { var _kjk = null; return _kjj && _kjj.__esModule ? _kjj : { 'default': _kjj }; }; defineModule(_kjf); Object.defineProperty(_kjf, '__esModule', { 'value': !0 }), _kjf.SpecialRemodelStart = void 0; var _kjl = _kjg(7195), _kjm = _kjg(61228), _kjn = _kjg(95637), _kjo = _kji(_kjg(18622)), _kjp = (function() { var _kjq = null; function _kjr(_kjs, _kjt, _kju) { var _kjv = null; this._stage = _kjt, this._animationKeys = _kju, this._easingMap = (0, _kjn.genEasingMap)(), this._ship_mst_id = _kjs; } return _kjr.prototype._genAnimation = function(_kjw) { var _kjx = null, _kjy = this; switch (_kjw.type) { case _kjm.SpecialRemodelStartKey.SHIP_CAMERA: var _kjz = _kjw, _kk0 = 0; Object(_kjz).hasOwnProperty('duration') && (_kk0 = _kjz.duration); var _kk1 = this._getEasing(_kjw), _kk2 = _kjl['$_$'].Parallel(); return Object(_kjz).hasOwnProperty('position') && (_kk2.push(function() { var _kk3 = null; return _kjl['$_$'].Value(_kjy._stage.ship.position, { 'x': _kjz.position.x, 'y': _kjz.position.y }, _kk0, _kk1); }), _kk2.push(function() { var _kk4 = null; return _kjl['$_$'].Value(_kjy._stage.shipShadow.position, { 'x': _kjz.position.x, 'y': _kjz.position.y }, _kk0, _kk1); })), Object(_kjz).hasOwnProperty('scale') && (_kk2.push(function() { var _kk5 = null; return _kjl['$_$'].Value(_kjy._stage.ship.scale, { 'x': _kjz.scale, 'y': _kjz.scale }, _kk0, _kk1); }), _kk2.push(function() { var _kk6 = null; return _kjl['$_$'].Value(_kjy._stage.shipShadow.scale, { 'x': _kjz.scale, 'y': _kjz.scale }, _kk0, _kk1); })), Object(_kjz).hasOwnProperty('alpha') && (_kk2.push(function() { var _kk7 = null; return _kjl['$_$'].Value(_kjy._stage.ship, { 'alpha': _kjz.alpha }, _kk0, _kk1); }), _kk2.push(function() { var _kk8 = null; return _kjl['$_$'].Value(_kjy._stage.shipShadow, { 'alpha': _kjz.alpha }, _kk0, _kk1); })), _kk2; case _kjm.SpecialRemodelStartKey.DELAY: var _kk9 = _kjw.duration; return _kjl['$_$'].Delay(_kk9); case _kjm.SpecialRemodelStartKey.PLAY_VOICE: return _kjl['$_$'].Call(function() { var _kka = null; _kjo.default.sound.voice.play(_kjy._ship_mst_id.toString(), 10); }); case _kjm.SpecialRemodelStartKey.NAME_TEXT: var _kkb = _kjw, _kkc = this._getEasing(_kkb), _kkd = 0; Object(_kkb).hasOwnProperty('duration') && (_kkd = _kkb.duration), _kk2 = _kjl['$_$'].Parallel(); if (Object(_kkb).hasOwnProperty('alpha')) { var _kke = _kkb.alpha; _kk2.push(function() { var _kkf = null; return _kjl['$_$'].Value(_kjy._stage.textName, { 'alpha': _kke }, _kkd, _kkc); }); } if (Object(_kkb).hasOwnProperty('position')) { var _kkg = _kkb.position; _kk2.push(function() { var _kkh = null; return _kjl['$_$'].Value(_kjy._stage.textName.position, { 'x': _kkg.x, 'y': _kkg.y }, _kkd, _kkc); }); } return _kk2; case _kjm.SpecialRemodelStartKey.CLASS_TEXT: var _kki = _kjw, _kkj = this._getEasing(_kki), _kkk = 0; Object(_kki).hasOwnProperty('duration') && (_kkk = _kki.duration), _kk2 = _kjl['$_$'].Parallel(); if (Object(_kki).hasOwnProperty('alpha')) { var _kkl = _kki.alpha; _kk2.push(function() { var _kkm = null; return _kjl['$_$'].Value(_kjy._stage.textClass, { 'alpha': _kkl }, _kkk, _kkj); }); } if (Object(_kki).hasOwnProperty('position')) { var _kkn = _kki.position; _kk2.push(function() { var _kko = null; return _kjl['$_$'].Value(_kjy._stage.textClass.position, { 'x': _kkn.x, 'y': _kkn.y }, _kkk, _kkj); }); } return _kk2; case _kjm.SpecialRemodelStartKey.BACK_GROUND: var _kkp = _kjw.color; return _kjl['$_$'].Call(function() { var _kkq = null; _kjy._stage.backGround.tint = _kkp; }); default: return _kjl['$_$'].Call(function() {}); } }, _kjr.prototype._getEasing = function(_kkr, _kks) { var _kkt = null; return void 0 === _kks && (_kks = _kjn.Easing.linear), _kkr.hasOwnProperty('easing') ? this._easingMap[_kkr.easing] : this._easingMap[_kks]; }, _kjr.prototype.play = function() { var _kku = null; this._play(); }, _kjr.prototype._play = function() { var _kkv = null, _kkw = this; this._stage.goBackArea.visible = !1, this._stage.goBackArea.interactive = !1, this._stage.shipShadowSprite.x += 20, this._stage.textClass.alpha = 0, this._stage.textName.alpha = 0, this._stage.backGround.alpha = 1; var _kkx = this._genSequenceAnimations(this._animationKeys), _kky = _kjl['$_$'].Parallel(function() { return _kkx; }, function() { var _kkz = null; return _kjl['$_$'].Value(_kkw._stage.shipShadowSprite, { 'x': _kkw._stage.shipShadowSprite.x + 15 }, 5000); }, function() { var _kl0 = null; return _kjl['$_$'].Value(_kkw._stage.blackOver, { 'alpha': 0 }, 3000); }), _kl1 = _kjl['$_$'].Sequence(function() { return _kky; }, function() { var _kl2 = null; return _kjl['$_$'].Delay(300); }); this._animation = _kkx, _kl1.execute(function() { var _kl3 = null; _kl1.dispose(), _kkw._animation = null, _kkw._onCompleteAnimation(); }); }, _kjr.prototype._onCompleteAnimation = function() { var _kl4 = null, _kl5 = this; this._stage.goBackArea.visible = !0, this._stage.goBackArea.interactive = !0, this._stage.goBackArea.onClick = function() { var _kl6 = null; return _kl5._onClickGoBack(); }; }, _kjr.prototype._onClickGoBack = function() { var _kl7 = null, _kl8 = this; this._stage.goBackArea.onClick = function() {}; var _kl9 = _kjl['$_$'].Value(this._stage, { 'alpha': 0 }, 150); _kl9.execute(function() { var _kla = null; _kl9.dispose(), _kl8.onComplete(); }); }, _kjr.prototype.dispose = function() { var _klb = null; this._animation && (this._animation.interrupt(), this._animation.dispose()), this.onComplete = null, this._animation = null, this._animationKeys = null, this._stage = null; }, _kjr.prototype._genSequenceAnimations = function(_klc) { var _kld = null, _kle = this, _klf = _kjl['$_$'].Sequence(); return _klc.forEach(function(_klg) { var _klh = null, _kli = null; if (_klg instanceof Array) { var _klj = _kle._genParallelAnimations(_klg); _kli = function() { return _klj; }; } else _kli = function() { var _klk = null; return _kle._genAnimation(_klg); }; _klf.push(_kli); }), _klf; }, _kjr.prototype._genParallelAnimations = function(_kll) { var _klm = null, _kln = this, _klo = _kjl['$_$'].Parallel(); return _kll.forEach(function(_klp) { var _klq = null, _klr = null; if (_klp instanceof Array) { var _kls = _kln._genSequenceAnimations(_klp); _klr = function() { return _kls; }; } else _klr = function() { var _klt = null; return _kln._genAnimation(_klp); }; _klo.push(_klr); }), _klo; }, _kjr; }()); _kjf.SpecialRemodelStart = _kjp; }, 88266: function(_klu, _klv, _klw) { 'use strict'; var _klx = null; var _kly, _klz = this && this.__extends || (_kly = function(_km0, _km1) { var _km2 = null; return _kly = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_km3, _km4) { var _km5 = null; _km3.__proto__ = _km4; } || function(_km6, _km7) { var _km8 = null; for (var _km9 in _km7) Object.prototype.hasOwnProperty.call(_km7, _km9) && (_km6[_km9] = _km7[_km9]); }, _kly(_km0, _km1); }, function(_kma, _kmb) { var _kmc = null; if ('function' != typeof _kmb && null !== _kmb) throw new TypeError('Class extends value ' + String(_kmb) + ' is not a constructor or null'); function _kmd() { var _kme = null; this.constructor = _kma; } _kly(_kma, _kmb), _kma.prototype = null === _kmb ? Object.create(_kmb) : (_kmd.prototype = _kmb.prototype, new _kmd()); }); defineModule(_klv); Object.defineProperty(_klv, '__esModule', { 'value': !0 }), _klv.CanPresetSlotSelectAPI = void 0; var _kmf = _klw(89939), _kmg = _klw(58566), _kmh = _klw(83426), _kmi = function(_kmj) { var _kmk = null; function _kml() { var _kmm = null, _kmn = _kmj.call(this) || this; return _kmn._url = 'api_req_kaisou/can_preset_slot_select', _kmn; } return _klz(_kml, _kmj), _kml.prototype._completedEnd = function() { var _kmo = null; _kmh.SceneMemory.deployable = _kmf.ObjUtil.getBoolean(this._raw_data, 'api_flag'), _kmj.prototype._completedEnd.call(this); }, _kml; }(_kmg.APIBase); _klv.CanPresetSlotSelectAPI = _kmi; }, 82881: function(_kmp, _kmq, _kmr) { 'use strict'; var _kms = null; var _kmt, _kmu = this && this.__extends || (_kmt = function(_kmv, _kmw) { var _kmx = null; return _kmt = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_kmy, _kmz) { var _kn0 = null; _kmy.__proto__ = _kmz; } || function(_kn1, _kn2) { var _kn3 = null; for (var _kn4 in _kn2) Object.prototype.hasOwnProperty.call(_kn2, _kn4) && (_kn1[_kn4] = _kn2[_kn4]); }, _kmt(_kmv, _kmw); }, function(_kn5, _kn6) { var _kn7 = null; if ('function' != typeof _kn6 && null !== _kn6) throw new TypeError('Class extends value ' + String(_kn6) + ' is not a constructor or null'); function _kn8() { var _kn9 = null; this.constructor = _kn5; } _kmt(_kn5, _kn6), _kn5.prototype = null === _kn6 ? Object.create(_kn6) : (_kn8.prototype = _kn6.prototype, new _kn8()); }), _kna = this && this.__importDefault || function(_knb) { var _knc = null; return _knb && _knb.__esModule ? _knb : { 'default': _knb }; }; defineModule(_kmq); Object.defineProperty(_kmq, '__esModule', { 'value': !0 }), _kmq.MarriageAPI = void 0; var _knd = _kna(_kmr(18622)), _kne = function(_knf) { var _kng = null; function _knh(_kni) { var _knj = null, _knk = _knf.call(this) || this; return _knk._url = 'api_req_kaisou/marriage', _knk.api_id = _kni, _knk; } return _kmu(_knh, _knf), _knh.prototype._connect = function() { var _knl = null; this._post_data.api_id = this.api_id, _knf.prototype._connect.call(this); }, _knh.prototype._completedEnd = function() { var _knm = null, _knn = _knd.default.model.useItem.get(55); _knn.__setCount__(_knn.count - 1), _knd.default.model.ship.updateData(this._raw_data), _knf.prototype._completedEnd.call(this); }, _knh; }(_kmr(58566).APIBase); _kmq.MarriageAPI = _kne; }, 190: function(_kno, _knp, _knq) { 'use strict'; var _knr = null; var _kns, _knt = this && this.__extends || (_kns = function(_knu, _knv) { var _knw = null; return _kns = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_knx, _kny) { var _knz = null; _knx.__proto__ = _kny; } || function(_ko0, _ko1) { var _ko2 = null; for (var _ko3 in _ko1) Object.prototype.hasOwnProperty.call(_ko1, _ko3) && (_ko0[_ko3] = _ko1[_ko3]); }, _kns(_knu, _knv); }, function(_ko4, _ko5) { var _ko6 = null; if ('function' != typeof _ko5 && null !== _ko5) throw new TypeError('Class extends value ' + String(_ko5) + ' is not a constructor or null'); function _ko7() { var _ko8 = null; this.constructor = _ko4; } _kns(_ko4, _ko5), _ko4.prototype = null === _ko5 ? Object.create(_ko5) : (_ko7.prototype = _ko5.prototype, new _ko7()); }), _ko9 = this && this.__importDefault || function(_koa) { var _kob = null; return _koa && _koa.__esModule ? _koa : { 'default': _koa }; }; defineModule(_knp); Object.defineProperty(_knp, '__esModule', { 'value': !0 }), _knp.OpenExSlotAPI = void 0; var _koc = _ko9(_knq(18622)), _kod = _knq(58566), _koe = _knq(87967), _kof = function(_kog) { var _koh = null; function _koi(_koj) { var _kok = null, _kol = _kog.call(this) || this; return _kol._url = 'api_req_kaisou/open_exslot', _kol.api_id = _koj, _kol; } return _knt(_koi, _kog), _koi.prototype._connect = function() { var _kom = null; this._post_data.api_id = this.api_id, _kog.prototype._connect.call(this); }, _koi.prototype._completedEnd = function() { var _kon = null, _koo = _koc.default.model.useItem.get(_koe.RemodelConst.REINFORCEMENT_WORK_ITEMID), _kop = _koo.count - 1; _koo.__setCount__(_kop), _koc.default.model.ship.get(this.api_id).__updateExtraSlot__(-1), _kog.prototype._completedEnd.call(this); }, _koi; }(_kod.APIBase); _knp.OpenExSlotAPI = _kof; }, 49499: function(_koq, _kor, _kos) { 'use strict'; var _kot = null; var _kou, _kov = this && this.__extends || (_kou = function(_kow, _kox) { var _koy = null; return _kou = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_koz, _kp0) { var _kp1 = null; _koz.__proto__ = _kp0; } || function(_kp2, _kp3) { var _kp4 = null; for (var _kp5 in _kp3) Object.prototype.hasOwnProperty.call(_kp3, _kp5) && (_kp2[_kp5] = _kp3[_kp5]); }, _kou(_kow, _kox); }, function(_kp6, _kp7) { var _kp8 = null; if ('function' != typeof _kp7 && null !== _kp7) throw new TypeError('Class extends value ' + String(_kp7) + ' is not a constructor or null'); function _kp9() { var _kpa = null; this.constructor = _kp6; } _kou(_kp6, _kp7), _kp6.prototype = null === _kp7 ? Object.create(_kp7) : (_kp9.prototype = _kp7.prototype, new _kp9()); }), _kpb = this && this.__importDefault || function(_kpc) { var _kpd = null; return _kpc && _kpc.__esModule ? _kpc : { 'default': _kpc }; }; defineModule(_kor); Object.defineProperty(_kor, '__esModule', { 'value': !0 }), _kor.PowerUpAPI = void 0; var _kpe = _kpb(_kos(18622)), _kpf = _kos(58566), _kpg = _kos(12508), _kph = _kos(14921), _kpi = function(_kpj) { var _kpk = null; function _kpl(_kpm, _kpn, _kpo, _kpp) { var _kpq = null, _kpr = _kpj.call(this) || this; return _kpr._url = 'api_req_kaisou/powerup', _kpr.api_id = _kpm, _kpr.api_id_items = _kpn, _kpr._type = _kpo, _kpr._limited_feed_type = _kpp, _kpr; } return _kov(_kpl, _kpj), Object.defineProperty(_kpl.prototype, 'api_powerup_flag', { 'get': function() { var _kps = null; return 1 == this._raw_data.api_powerup_flag; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_kpl.prototype, 'api_ship', { 'get': function() { var _kpt = null; return this._raw_data.api_ship; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_kpl.prototype, 'api_deck', { 'get': function() { var _kpu = null; return this._raw_data.api_deck; }, 'enumerable': !1, 'configurable': !0 }), _kpl.prototype._connect = function() { var _kpv = null; this._post_data.api_id = this.api_id, this._post_data.api_id_items = this.api_id_items.toString(), this._post_data.api_slot_dest_flag = this._type, this._post_data.api_limited_feed_type = this._limited_feed_type, _kpj.prototype._connect.call(this); }, _kpl.prototype._completedEnd = function() { var _kpw = null; for (var _kpx = 0 === this._type, _kpy = 0; _kpy < this.api_id_items.length; _kpy++) { var _kpz = this.api_id_items[_kpy]; _kpe.default.model.ship.delete(_kpz, _kpx); } var _kq0 = _kph.ObjUtil.getObjectArray(this._raw_data, 'api_unset_list'); if (null != _kq0 && _kpx) for (var _kq1 = 0, _kq2 = _kq0; _kq1 < _kq2.length; _kq1++) { var _kq3 = _kq2[_kq1], _kq4 = _kph.ObjUtil.getNumber(_kq3, 'api_type3No'), _kq5 = _kph.ObjUtil.getNumArray(_kq3, 'api_slot_list'); _kpe.default.model.slot.updateUnsetData(_kq4, _kq5); } var _kq6 = new _kpg.ShipModelEdit(this.api_ship); if (_kpe.default.model.ship.get(_kq6.memID).__update__(this.api_ship), _kpe.default.model.deck.setData(this.api_deck), 1 === this._limited_feed_type) { var _kq7 = _kpe.default.model.useItem.get(96); _kq7.__setCount__(_kq7.count - 1); } _kpj.prototype._completedEnd.call(this); }, _kpl; }(_kpf.APIBase); _kor.PowerUpAPI = _kpi; }, 36276: function(_kq8, _kq9, _kqa) { 'use strict'; var _kqb = null; var _kqc, _kqd = this && this.__extends || (_kqc = function(_kqe, _kqf) { var _kqg = null; return _kqc = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_kqh, _kqi) { var _kqj = null; _kqh.__proto__ = _kqi; } || function(_kqk, _kql) { var _kqm = null; for (var _kqn in _kql) Object.prototype.hasOwnProperty.call(_kql, _kqn) && (_kqk[_kqn] = _kql[_kqn]); }, _kqc(_kqe, _kqf); }, function(_kqo, _kqp) { var _kqq = null; if ('function' != typeof _kqp && null !== _kqp) throw new TypeError('Class extends value ' + String(_kqp) + ' is not a constructor or null'); function _kqr() { var _kqs = null; this.constructor = _kqo; } _kqc(_kqo, _kqp), _kqo.prototype = null === _kqp ? Object.create(_kqp) : (_kqr.prototype = _kqp.prototype, new _kqr()); }); defineModule(_kq9); Object.defineProperty(_kq9, '__esModule', { 'value': !0 }), _kq9.PresetSlotAPI = void 0; var _kqt = function(_kqu) { var _kqv = null; function _kqw(_kqx) { var _kqy = null, _kqz = _kqu.call(this) || this; return _kqz._url = 'api_get_member/preset_slot', _kqz._model = _kqx, _kqz; } return _kqd(_kqw, _kqu), _kqw.prototype._completedEnd = function() { var _kr0 = null; this._model.setData(this._raw_data), _kqu.prototype._completedEnd.call(this); }, _kqw; }(_kqa(58566).APIBase); _kq9.PresetSlotAPI = _kqt; }, 60315: function(_kr1, _kr2, _kr3) { 'use strict'; var _kr4 = null; var _kr5, _kr6 = this && this.__extends || (_kr5 = function(_kr7, _kr8) { var _kr9 = null; return _kr5 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_kra, _krb) { var _krc = null; _kra.__proto__ = _krb; } || function(_krd, _kre) { var _krf = null; for (var _krg in _kre) Object.prototype.hasOwnProperty.call(_kre, _krg) && (_krd[_krg] = _kre[_krg]); }, _kr5(_kr7, _kr8); }, function(_krh, _kri) { var _krj = null; if ('function' != typeof _kri && null !== _kri) throw new TypeError('Class extends value ' + String(_kri) + ' is not a constructor or null'); function _krk() { var _krl = null; this.constructor = _krh; } _kr5(_krh, _kri), _krh.prototype = null === _kri ? Object.create(_kri) : (_krk.prototype = _kri.prototype, new _krk()); }); defineModule(_kr2); Object.defineProperty(_kr2, '__esModule', { 'value': !0 }), _kr2.PresetSlotDeleteAPI = void 0; var _krm = function(_krn) { var _kro = null; function _krp(_krq) { var _krr = null, _krs = _krn.call(this) || this; return _krs._url = 'api_req_kaisou/preset_slot_delete', _krs._preset_id = _krq, _krs; } return _kr6(_krp, _krn), _krp.prototype._connect = function() { var _krt = null; this._post_data.api_preset_id = this._preset_id, _krn.prototype._connect.call(this); }, _krp; }(_kr3(58566).APIBase); _kr2.PresetSlotDeleteAPI = _krm; }, 33568: function(_kru, _krv, _krw) { 'use strict'; var _krx = null; var _kry, _krz = this && this.__extends || (_kry = function(_ks0, _ks1) { var _ks2 = null; return _kry = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ks3, _ks4) { var _ks5 = null; _ks3.__proto__ = _ks4; } || function(_ks6, _ks7) { var _ks8 = null; for (var _ks9 in _ks7) Object.prototype.hasOwnProperty.call(_ks7, _ks9) && (_ks6[_ks9] = _ks7[_ks9]); }, _kry(_ks0, _ks1); }, function(_ksa, _ksb) { var _ksc = null; if ('function' != typeof _ksb && null !== _ksb) throw new TypeError('Class extends value ' + String(_ksb) + ' is not a constructor or null'); function _ksd() { var _kse = null; this.constructor = _ksa; } _kry(_ksa, _ksb), _ksa.prototype = null === _ksb ? Object.create(_ksb) : (_ksd.prototype = _ksb.prototype, new _ksd()); }), _ksf = this && this.__importDefault || function(_ksg) { var _ksh = null; return _ksg && _ksg.__esModule ? _ksg : { 'default': _ksg }; }; defineModule(_krv); Object.defineProperty(_krv, '__esModule', { 'value': !0 }), _krv.PresetSlotExpandAPI = void 0; var _ksi = _krw(58566), _ksj = _krw(14921), _ksk = _ksf(_krw(18622)), _ksl = function(_ksm) { var _ksn = null; function _kso(_ksp) { var _ksq = null, _ksr = _ksm.call(this) || this; return _ksr._url = 'api_req_kaisou/preset_slot_expand', _ksr._presetSlot = _ksp, _ksr; } return _krz(_kso, _ksm), _kso.prototype._completedEnd = function() { var _kss = null, _kst = _ksk.default.model.useItem.get(49); _kst.__setCount__(_kst.count - 1), this._presetSlot.max_num = _ksj.ObjUtil.getNumber(this._raw_data, 'api_max_num'), _ksm.prototype._completedEnd.call(this); }, _kso; }(_ksi.APIBase); _krv.PresetSlotExpandAPI = _ksl; }, 57423: function(_ksu, _ksv, _ksw) { 'use strict'; var _ksx = null; var _ksy, _ksz = this && this.__extends || (_ksy = function(_kt0, _kt1) { var _kt2 = null; return _ksy = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_kt3, _kt4) { var _kt5 = null; _kt3.__proto__ = _kt4; } || function(_kt6, _kt7) { var _kt8 = null; for (var _kt9 in _kt7) Object.prototype.hasOwnProperty.call(_kt7, _kt9) && (_kt6[_kt9] = _kt7[_kt9]); }, _ksy(_kt0, _kt1); }, function(_kta, _ktb) { var _ktc = null; if ('function' != typeof _ktb && null !== _ktb) throw new TypeError('Class extends value ' + String(_ktb) + ' is not a constructor or null'); function _ktd() { var _kte = null; this.constructor = _kta; } _ksy(_kta, _ktb), _kta.prototype = null === _ktb ? Object.create(_ktb) : (_ktd.prototype = _ktb.prototype, new _ktd()); }); defineModule(_ksv); Object.defineProperty(_ksv, '__esModule', { 'value': !0 }), _ksv.PresetSlotRegisterAPI = void 0; var _ktf = function(_ktg) { var _kth = null; function _kti(_ktj, _ktk) { var _ktl = null, _ktm = _ktg.call(this) || this; return _ktm._url = 'api_req_kaisou/preset_slot_register', _ktm._preset_id = _ktj, _ktm._ship_id = _ktk, _ktm; } return _ksz(_kti, _ktg), _kti.prototype._connect = function() { var _ktn = null; this._post_data.api_preset_id = this._preset_id, this._post_data.api_ship_id = this._ship_id, _ktg.prototype._connect.call(this); }, _kti; }(_ksw(58566).APIBase); _ksv.PresetSlotRegisterAPI = _ktf; }, 23424: function(_kto, _ktp, _ktq) { 'use strict'; var _ktr = null; var _kts, _ktt = this && this.__extends || (_kts = function(_ktu, _ktv) { var _ktw = null; return _kts = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ktx, _kty) { var _ktz = null; _ktx.__proto__ = _kty; } || function(_ku0, _ku1) { var _ku2 = null; for (var _ku3 in _ku1) Object.prototype.hasOwnProperty.call(_ku1, _ku3) && (_ku0[_ku3] = _ku1[_ku3]); }, _kts(_ktu, _ktv); }, function(_ku4, _ku5) { var _ku6 = null; if ('function' != typeof _ku5 && null !== _ku5) throw new TypeError('Class extends value ' + String(_ku5) + ' is not a constructor or null'); function _ku7() { var _ku8 = null; this.constructor = _ku4; } _kts(_ku4, _ku5), _ku4.prototype = null === _ku5 ? Object.create(_ku5) : (_ku7.prototype = _ku5.prototype, new _ku7()); }), _ku9 = this && this.__importDefault || function(_kua) { var _kub = null; return _kua && _kua.__esModule ? _kua : { 'default': _kua }; }; defineModule(_ktp); Object.defineProperty(_ktp, '__esModule', { 'value': !0 }), _ktp.PresetSlotSelectAPI = void 0; var _kuc = _ktq(58566), _kud = _ktq(89939), _kue = _ku9(_ktq(18622)), _kuf = function(_kug) { var _kuh = null; function _kui(_kuj, _kuk, _kul) { var _kum = null, _kun = _kug.call(this) || this; return _kun._url = 'api_req_kaisou/preset_slot_select', _kun._preset_id = _kuj, _kun._ship_id = _kuk, _kun._equip_mode = _kul, _kun; } return _ktt(_kui, _kug), _kui.prototype._connect = function() { var _kuo = null; this._post_data.api_preset_id = this._preset_id, this._post_data.api_ship_id = this._ship_id, this._post_data.api_equip_mode = this._equip_mode, _kug.prototype._connect.call(this); }, _kui.prototype._completedEnd = function() { var _kup = null; this._set_bauxite(), _kug.prototype._completedEnd.call(this); }, _kui.prototype._set_bauxite = function() { var _kuq = null; if (this._raw_data && this._raw_data.hasOwnProperty('api_bauxite')) { var _kur = _kud.ObjUtil.getNumber(this._raw_data, 'api_bauxite'); _kue.default.model.useItem.get(34).__setCount__(_kur), _kue.default.view.portMain.updateInfo(); } }, _kui; }(_kuc.APIBase); _ktp.PresetSlotSelectAPI = _kuf; }, 30458: function(_kus, _kut, _kuu) { 'use strict'; var _kuv = null; var _kuw, _kux = this && this.__extends || (_kuw = function(_kuy, _kuz) { var _kv0 = null; return _kuw = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_kv1, _kv2) { var _kv3 = null; _kv1.__proto__ = _kv2; } || function(_kv4, _kv5) { var _kv6 = null; for (var _kv7 in _kv5) Object.prototype.hasOwnProperty.call(_kv5, _kv7) && (_kv4[_kv7] = _kv5[_kv7]); }, _kuw(_kuy, _kuz); }, function(_kv8, _kv9) { var _kva = null; if ('function' != typeof _kv9 && null !== _kv9) throw new TypeError('Class extends value ' + String(_kv9) + ' is not a constructor or null'); function _kvb() { var _kvc = null; this.constructor = _kv8; } _kuw(_kv8, _kv9), _kv8.prototype = null === _kv9 ? Object.create(_kv9) : (_kvb.prototype = _kv9.prototype, new _kvb()); }); defineModule(_kut); Object.defineProperty(_kut, '__esModule', { 'value': !0 }), _kut.PresetSlotUpdateExslotFlagAPI = void 0; var _kvd = function(_kve) { var _kvf = null; function _kvg(_kvh) { var _kvi = null, _kvj = _kve.call(this) || this; return _kvj._url = 'api_req_kaisou/preset_slot_update_exslot_flag', _kvj._preset_id = _kvh, _kvj; } return _kux(_kvg, _kve), _kvg.prototype._connect = function() { var _kvk = null; this._post_data.api_preset_id = this._preset_id, _kve.prototype._connect.call(this); }, _kvg; }(_kuu(58566).APIBase); _kut.PresetSlotUpdateExslotFlagAPI = _kvd; }, 75311: function(_kvl, _kvm, _kvn) { 'use strict'; var _kvo = null; var _kvp, _kvq = this && this.__extends || (_kvp = function(_kvr, _kvs) { var _kvt = null; return _kvp = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_kvu, _kvv) { var _kvw = null; _kvu.__proto__ = _kvv; } || function(_kvx, _kvy) { var _kvz = null; for (var _kw0 in _kvy) Object.prototype.hasOwnProperty.call(_kvy, _kw0) && (_kvx[_kw0] = _kvy[_kw0]); }, _kvp(_kvr, _kvs); }, function(_kw1, _kw2) { var _kw3 = null; if ('function' != typeof _kw2 && null !== _kw2) throw new TypeError('Class extends value ' + String(_kw2) + ' is not a constructor or null'); function _kw4() { var _kw5 = null; this.constructor = _kw1; } _kvp(_kw1, _kw2), _kw1.prototype = null === _kw2 ? Object.create(_kw2) : (_kw4.prototype = _kw2.prototype, new _kw4()); }); defineModule(_kvm); Object.defineProperty(_kvm, '__esModule', { 'value': !0 }), _kvm.PresetSlotUpdateLockAPI = void 0; var _kw6 = function(_kw7) { var _kw8 = null; function _kw9(_kwa) { var _kwb = null, _kwc = _kw7.call(this) || this; return _kwc._url = 'api_req_kaisou/preset_slot_update_lock', _kwc._preset_id = _kwa, _kwc; } return _kvq(_kw9, _kw7), _kw9.prototype._connect = function() { var _kwd = null; this._post_data.api_preset_id = this._preset_id, _kw7.prototype._connect.call(this); }, _kw9; }(_kvn(58566).APIBase); _kvm.PresetSlotUpdateLockAPI = _kw6; }, 71487: function(_kwe, _kwf, _kwg) { 'use strict'; var _kwh = null; var _kwi, _kwj = this && this.__extends || (_kwi = function(_kwk, _kwl) { var _kwm = null; return _kwi = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_kwn, _kwo) { var _kwp = null; _kwn.__proto__ = _kwo; } || function(_kwq, _kwr) { var _kws = null; for (var _kwt in _kwr) Object.prototype.hasOwnProperty.call(_kwr, _kwt) && (_kwq[_kwt] = _kwr[_kwt]); }, _kwi(_kwk, _kwl); }, function(_kwu, _kwv) { var _kww = null; if ('function' != typeof _kwv && null !== _kwv) throw new TypeError('Class extends value ' + String(_kwv) + ' is not a constructor or null'); function _kwx() { var _kwy = null; this.constructor = _kwu; } _kwi(_kwu, _kwv), _kwu.prototype = null === _kwv ? Object.create(_kwv) : (_kwx.prototype = _kwv.prototype, new _kwx()); }); defineModule(_kwf); Object.defineProperty(_kwf, '__esModule', { 'value': !0 }), _kwf.PresetSlotUpdateNameAPI = void 0; var _kwz = function(_kx0) { var _kx1 = null; function _kx2(_kx3, _kx4) { var _kx5 = null, _kx6 = _kx0.call(this) || this; return _kx6._url = 'api_req_kaisou/preset_slot_update_name', _kx6._preset_id = _kx3, _kx6._name = _kx4, _kx6; } return _kwj(_kx2, _kx0), _kx2.prototype._connect = function() { var _kx7 = null; this._post_data.api_preset_id = this._preset_id, this._post_data.api_name = this._name, _kx0.prototype._connect.call(this); }, _kx2; }(_kwg(58566).APIBase); _kwf.PresetSlotUpdateNameAPI = _kwz; }, 44970: function(_kx8, _kx9, _kxa) { 'use strict'; var _kxb = null; var _kxc, _kxd = this && this.__extends || (_kxc = function(_kxe, _kxf) { var _kxg = null; return _kxc = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_kxh, _kxi) { var _kxj = null; _kxh.__proto__ = _kxi; } || function(_kxk, _kxl) { var _kxm = null; for (var _kxn in _kxl) Object.prototype.hasOwnProperty.call(_kxl, _kxn) && (_kxk[_kxn] = _kxl[_kxn]); }, _kxc(_kxe, _kxf); }, function(_kxo, _kxp) { var _kxq = null; if ('function' != typeof _kxp && null !== _kxp) throw new TypeError('Class extends value ' + String(_kxp) + ' is not a constructor or null'); function _kxr() { var _kxs = null; this.constructor = _kxo; } _kxc(_kxo, _kxp), _kxo.prototype = null === _kxp ? Object.create(_kxp) : (_kxr.prototype = _kxp.prototype, new _kxr()); }), _kxt = this && this.__importDefault || function(_kxu) { var _kxv = null; return _kxu && _kxu.__esModule ? _kxu : { 'default': _kxu }; }; defineModule(_kx9); Object.defineProperty(_kx9, '__esModule', { 'value': !0 }), _kx9.RemodelingAPI = void 0; var _kxw = _kxt(_kxa(18622)), _kxx = function(_kxy) { var _kxz = null; function _ky0(_ky1) { var _ky2 = null, _ky3 = _kxy.call(this) || this; return _ky3._ship_mem_id = _ky1, _ky3._url = 'api_req_kaisou/remodeling', _ky3; } return _kxd(_ky0, _kxy), _ky0.prototype._connect = function() { var _ky4 = null; this._post_data.api_id = this._ship_mem_id, _kxy.prototype._connect.call(this); }, _ky0.prototype._completedEnd = function() { var _ky5 = null, _ky6, _ky7 = _kxw.default.model.ship.get(this._ship_mem_id).mstID, _ky8 = _kxw.default.model.ship_upgrade.getRequires(_ky7); (_ky6 = _kxw.default.model.useItem.get(32)).__setCount__(_ky6.count - _ky8.ammo), (_ky6 = _kxw.default.model.useItem.get(33)).__setCount__(_ky6.count - _ky8.steel), (_ky6 = _kxw.default.model.useItem.get(3)).__setCount__(_ky6.count - _ky8.devkit), (_ky6 = _kxw.default.model.useItem.get(2)).__setCount__(_ky6.count - _ky8.buildkit), (_ky6 = _kxw.default.model.useItem.get(58)).__setCount__(_ky6.count - _ky8.blueprint), (_ky6 = _kxw.default.model.useItem.get(65)).__setCount__(_ky6.count - _ky8.catapult), (_ky6 = _kxw.default.model.useItem.get(78)).__setCount__(_ky6.count - _ky8.battlereport), (_ky6 = _kxw.default.model.useItem.get(75)).__setCount__(_ky6.count - _ky8.newhokohesosizai), (_ky6 = _kxw.default.model.useItem.get(77)).__setCount__(_ky6.count - _ky8.newkokuhesosizai), (_ky6 = _kxw.default.model.useItem.get(94)).__setCount__(_ky6.count - _ky8.newhesosizai), _kxy.prototype._completedEnd.call(this); }, _ky0; }(_kxa(58566).APIBase); _kx9.RemodelingAPI = _kxx; }, 44237: function(_ky9, _kya, _kyb) { 'use strict'; var _kyc = null; var _kyd, _kye = this && this.__extends || (_kyd = function(_kyf, _kyg) { var _kyh = null; return _kyd = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_kyi, _kyj) { var _kyk = null; _kyi.__proto__ = _kyj; } || function(_kyl, _kym) { var _kyn = null; for (var _kyo in _kym) Object.prototype.hasOwnProperty.call(_kym, _kyo) && (_kyl[_kyo] = _kym[_kyo]); }, _kyd(_kyf, _kyg); }, function(_kyp, _kyq) { var _kyr = null; if ('function' != typeof _kyq && null !== _kyq) throw new TypeError('Class extends value ' + String(_kyq) + ' is not a constructor or null'); function _kys() { var _kyt = null; this.constructor = _kyp; } _kyd(_kyp, _kyq), _kyp.prototype = null === _kyq ? Object.create(_kyq) : (_kys.prototype = _kyq.prototype, new _kys()); }), _kyu = this && this.__importDefault || function(_kyv) { var _kyw = null; return _kyv && _kyv.__esModule ? _kyv : { 'default': _kyv }; }; defineModule(_kya); Object.defineProperty(_kya, '__esModule', { 'value': !0 }), _kya.Ship3API = void 0; var _kyx = _kyu(_kyb(18622)), _kyy = _kyb(89939), _kyz = function(_kz0) { var _kz1 = null; function _kz2(_kz3) { var _kz4 = null, _kz5 = _kz0.call(this) || this; return _kz5._url = 'api_get_member/ship3', _kz5.api_id = _kz3, _kz5; } return _kye(_kz2, _kz0), _kz2.prototype._connect = function() { var _kz6 = null; this._post_data.api_shipid = this.api_id, this._post_data.api_sort_key = '1', this._post_data.spi_sort_order = '1', _kz0.prototype._connect.call(this); }, _kz2.prototype._completedEnd = function() { var _kz7 = null, _kz8 = _kyy.ObjUtil.getObjectArray(this._raw_data, 'api_deck_data'), _kz9 = _kyy.ObjUtil.getObjectArray(this._raw_data, 'api_ship_data'), _kza = _kyy.ObjUtil.getObjectArray(this._raw_data, 'api_slot_data'); _kyx.default.model.deck.setData(_kz8); for (var _kzb = 0, _kzc = _kz9; _kzb < _kzc.length; _kzb++) { var _kzd = _kzc[_kzb]; _kyx.default.model.ship.updateData(_kzd); } _kyx.default.model.slot.setUnsetData(_kza), _kz0.prototype._completedEnd.call(this); }, _kz2; }(_kyb(58566).APIBase); _kya.Ship3API = _kyz; }, 4811: function(_kze, _kzf, _kzg) { 'use strict'; var _kzh = null; var _kzi, _kzj = this && this.__extends || (_kzi = function(_kzk, _kzl) { var _kzm = null; return _kzi = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_kzn, _kzo) { var _kzp = null; _kzn.__proto__ = _kzo; } || function(_kzq, _kzr) { var _kzs = null; for (var _kzt in _kzr) Object.prototype.hasOwnProperty.call(_kzr, _kzt) && (_kzq[_kzt] = _kzr[_kzt]); }, _kzi(_kzk, _kzl); }, function(_kzu, _kzv) { var _kzw = null; if ('function' != typeof _kzv && null !== _kzv) throw new TypeError('Class extends value ' + String(_kzv) + ' is not a constructor or null'); function _kzx() { var _kzy = null; this.constructor = _kzu; } _kzi(_kzu, _kzv), _kzu.prototype = null === _kzv ? Object.create(_kzv) : (_kzx.prototype = _kzv.prototype, new _kzx()); }), _kzz = this && this.__importDefault || function(_l00) { var _l01 = null; return _l00 && _l00.__esModule ? _l00 : { 'default': _l00 }; }; defineModule(_kzf); Object.defineProperty(_kzf, '__esModule', { 'value': !0 }), _kzf.SlotDepriveAPI = void 0; var _l02 = _kzz(_kzg(18622)), _l03 = _kzg(89939), _l04 = function(_l05) { var _l06 = null; function _l07(_l08, _l09, _l0a, _l0b, _l0c, _l0d) { var _l0e = null, _l0f = _l05.call(this) || this; return _l0f._url = 'api_req_kaisou/slot_deprive', _l0f.api_unset_idx = _l08, _l0f.api_set_slot_kind = _l09, _l0f.api_unset_slot_kind = _l0a, _l0f.api_unset_ship = _l0b, _l0f.api_set_idx = _l0c, _l0f.api_set_ship = _l0d, _l0f; } return _kzj(_l07, _l05), _l07.prototype._connect = function() { var _l0g = null; this._post_data.api_unset_idx = this.api_unset_idx, this._post_data.api_set_slot_kind = this.api_set_slot_kind, this._post_data.api_unset_slot_kind = this.api_unset_slot_kind, this._post_data.api_unset_ship = this.api_unset_ship, this._post_data.api_set_idx = this.api_set_idx, this._post_data.api_set_ship = this.api_set_ship, _l05.prototype._connect.call(this); }, _l07.prototype._completedEnd = function() { var _l0h = null, _l0i = _l03.ObjUtil.getObject(this._raw_data, 'api_ship_data'), _l0j = _l03.ObjUtil.getObject(_l0i, 'api_set_ship'), _l0k = _l03.ObjUtil.getObject(_l0i, 'api_unset_ship'); _l02.default.model.ship.get(_l0j.api_id).__update__(_l0j), _l02.default.model.ship.get(_l0k.api_id).__update__(_l0k); var _l0l = _l03.ObjUtil.getObject(this._raw_data, 'api_unset_list'); if (null != _l0l) { var _l0m = _l03.ObjUtil.getNumber(_l0l, 'api_type3No'), _l0n = _l03.ObjUtil.getNumArray(_l0l, 'api_slot_list'); _l02.default.model.slot.updateUnsetData(_l0m, _l0n); } this._set_bauxite(), _l05.prototype._completedEnd.call(this); }, _l07.prototype._set_bauxite = function() { var _l0o = null; if (this._raw_data && this._raw_data.hasOwnProperty('api_bauxite')) { var _l0p = _l03.ObjUtil.getNumber(this._raw_data, 'api_bauxite'); _l02.default.model.useItem.get(34).__setCount__(_l0p); } }, _l07; }(_kzg(58566).APIBase); _kzf.SlotDepriveAPI = _l04; }, 95652: function(_l0q, _l0r, _l0s) { 'use strict'; var _l0t = null; var _l0u, _l0v = this && this.__extends || (_l0u = function(_l0w, _l0x) { var _l0y = null; return _l0u = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_l0z, _l10) { var _l11 = null; _l0z.__proto__ = _l10; } || function(_l12, _l13) { var _l14 = null; for (var _l15 in _l13) Object.prototype.hasOwnProperty.call(_l13, _l15) && (_l12[_l15] = _l13[_l15]); }, _l0u(_l0w, _l0x); }, function(_l16, _l17) { var _l18 = null; if ('function' != typeof _l17 && null !== _l17) throw new TypeError('Class extends value ' + String(_l17) + ' is not a constructor or null'); function _l19() { var _l1a = null; this.constructor = _l16; } _l0u(_l16, _l17), _l16.prototype = null === _l17 ? Object.create(_l17) : (_l19.prototype = _l17.prototype, new _l19()); }), _l1b = this && this.__importDefault || function(_l1c) { var _l1d = null; return _l1c && _l1c.__esModule ? _l1c : { 'default': _l1c }; }; defineModule(_l0r); Object.defineProperty(_l0r, '__esModule', { 'value': !0 }), _l0r.SlotExchangeIndexAPI = void 0; var _l1e = _l0s(58566), _l1f = _l1b(_l0s(18622)), _l1g = _l0s(89939), _l1h = function(_l1i) { var _l1j = null; function _l1k(_l1l, _l1m, _l1n) { var _l1o = null, _l1p = _l1i.call(this) || this; return _l1p._url = 'api_req_kaisou/slot_exchange_index', _l1p.api_id = _l1l, _l1p.api_src_idx = _l1m, _l1p.api_dst_idx = _l1n, _l1p; } return _l0v(_l1k, _l1i), _l1k.prototype._connect = function() { var _l1q = null; this._post_data.api_id = this.api_id, this._post_data.api_src_idx = this.api_src_idx, this._post_data.api_dst_idx = this.api_dst_idx, _l1i.prototype._connect.call(this); }, _l1k.prototype._completedEnd = function() { var _l1r = null, _l1s = this._raw_data.api_ship_data; _l1f.default.model.ship.updateData(_l1s), this._set_bauxite(), _l1i.prototype._completedEnd.call(this); }, _l1k.prototype._set_bauxite = function() { var _l1t = null; if (this._raw_data && this._raw_data.hasOwnProperty('api_bauxite')) { var _l1u = _l1g.ObjUtil.getNumber(this._raw_data, 'api_bauxite'); _l1f.default.model.useItem.get(34).__setCount__(_l1u); } }, _l1k; }(_l1e.APIBase); _l0r.SlotExchangeIndexAPI = _l1h; }, 15981: function(_l1v, _l1w, _l1x) { 'use strict'; var _l1y = null; var _l1z, _l20 = this && this.__extends || (_l1z = function(_l21, _l22) { var _l23 = null; return _l1z = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_l24, _l25) { var _l26 = null; _l24.__proto__ = _l25; } || function(_l27, _l28) { var _l29 = null; for (var _l2a in _l28) Object.prototype.hasOwnProperty.call(_l28, _l2a) && (_l27[_l2a] = _l28[_l2a]); }, _l1z(_l21, _l22); }, function(_l2b, _l2c) { var _l2d = null; if ('function' != typeof _l2c && null !== _l2c) throw new TypeError('Class extends value ' + String(_l2c) + ' is not a constructor or null'); function _l2e() { var _l2f = null; this.constructor = _l2b; } _l1z(_l2b, _l2c), _l2b.prototype = null === _l2c ? Object.create(_l2c) : (_l2e.prototype = _l2c.prototype, new _l2e()); }), _l2g = this && this.__importDefault || function(_l2h) { var _l2i = null; return _l2h && _l2h.__esModule ? _l2h : { 'default': _l2h }; }; defineModule(_l1w); Object.defineProperty(_l1w, '__esModule', { 'value': !0 }), _l1w.SlotSetAPI = void 0; var _l2j = _l1x(58566), _l2k = _l2g(_l1x(18622)), _l2l = _l1x(89939), _l2m = function(_l2n) { var _l2o = null; function _l2p(_l2q, _l2r, _l2s) { var _l2t = null, _l2u = _l2n.call(this) || this; return _l2u._url = 'api_req_kaisou/slotset', _l2u.api_id = _l2q, _l2u.api_item_id = _l2r, _l2u.api_slot_idx = _l2s, _l2u; } return _l20(_l2p, _l2n), _l2p.prototype._connect = function() { var _l2v = null; this._post_data.api_id = this.api_id, this._post_data.api_item_id = this.api_item_id, this._post_data.api_slot_idx = this.api_slot_idx, _l2n.prototype._connect.call(this); }, _l2p.prototype._completedEnd = function() { var _l2w = null; _l2k.default.model.ship.get(this.api_id).__updateSlot__(this.api_slot_idx, this.api_item_id), this._set_bauxite(), _l2n.prototype._completedEnd.call(this); }, _l2p.prototype._set_bauxite = function() { var _l2x = null; if (this._raw_data && this._raw_data.hasOwnProperty('api_bauxite')) { var _l2y = _l2l.ObjUtil.getNumber(this._raw_data, 'api_bauxite'); _l2k.default.model.useItem.get(34).__setCount__(_l2y); } }, _l2p; }(_l2j.APIBase); _l1w.SlotSetAPI = _l2m; }, 33704: function(_l2z, _l30, _l31) { 'use strict'; var _l32 = null; var _l33, _l34 = this && this.__extends || (_l33 = function(_l35, _l36) { var _l37 = null; return _l33 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_l38, _l39) { var _l3a = null; _l38.__proto__ = _l39; } || function(_l3b, _l3c) { var _l3d = null; for (var _l3e in _l3c) Object.prototype.hasOwnProperty.call(_l3c, _l3e) && (_l3b[_l3e] = _l3c[_l3e]); }, _l33(_l35, _l36); }, function(_l3f, _l3g) { var _l3h = null; if ('function' != typeof _l3g && null !== _l3g) throw new TypeError('Class extends value ' + String(_l3g) + ' is not a constructor or null'); function _l3i() { var _l3j = null; this.constructor = _l3f; } _l33(_l3f, _l3g), _l3f.prototype = null === _l3g ? Object.create(_l3g) : (_l3i.prototype = _l3g.prototype, new _l3i()); }); defineModule(_l30); Object.defineProperty(_l30, '__esModule', { 'value': !0 }), _l30.SlotSetExAPI = void 0; var _l3k = function(_l3l) { var _l3m = null; function _l3n(_l3o, _l3p) { var _l3q = null, _l3r = _l3l.call(this) || this; return _l3r._url = 'api_req_kaisou/slotset_ex', _l3r.api_id = _l3o, _l3r.api_item_id = _l3p, _l3r; } return _l34(_l3n, _l3l), _l3n.prototype._connect = function() { var _l3s = null; this._post_data.api_id = this.api_id, this._post_data.api_item_id = this.api_item_id, _l3l.prototype._connect.call(this); }, _l3n; }(_l31(58566).APIBase); _l30.SlotSetExAPI = _l3k; }, 55285: function(_l3t, _l3u, _l3v) { 'use strict'; var _l3w = null; var _l3x, _l3y = this && this.__extends || (_l3x = function(_l3z, _l40) { var _l41 = null; return _l3x = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_l42, _l43) { var _l44 = null; _l42.__proto__ = _l43; } || function(_l45, _l46) { var _l47 = null; for (var _l48 in _l46) Object.prototype.hasOwnProperty.call(_l46, _l48) && (_l45[_l48] = _l46[_l48]); }, _l3x(_l3z, _l40); }, function(_l49, _l4a) { var _l4b = null; if ('function' != typeof _l4a && null !== _l4a) throw new TypeError('Class extends value ' + String(_l4a) + ' is not a constructor or null'); function _l4c() { var _l4d = null; this.constructor = _l49; } _l3x(_l49, _l4a), _l49.prototype = null === _l4a ? Object.create(_l4a) : (_l4c.prototype = _l4a.prototype, new _l4c()); }); defineModule(_l3u); Object.defineProperty(_l3u, '__esModule', { 'value': !0 }), _l3u.UnsetSlotAll = void 0; var _l4e = function(_l4f) { var _l4g = null; function _l4h(_l4i) { var _l4j = null, _l4k = _l4f.call(this) || this; return _l4k._url = 'api_req_kaisou/unsetslot_all', _l4k.api_id = _l4i, _l4k; } return _l3y(_l4h, _l4f), _l4h.prototype._connect = function() { var _l4l = null; this._post_data.api_id = this.api_id, _l4f.prototype._connect.call(this); }, _l4h; }(_l3v(58566).APIBase); _l3u.UnsetSlotAll = _l4e; }, 95637: (_l4m, _l4n) => { 'use strict'; var _l4o = null; var _l4p; defineModule(_l4n); Object.defineProperty(_l4n, '__esModule', { 'value': !0 }), _l4n.genEasingMap = _l4n.Easing = void 0, function(_l4q) { var _l4r = null; _l4q[_l4q.linear = 0] = 'linear', _l4q[_l4q.backIn = 1] = 'backIn', _l4q[_l4q.backInOut = 2] = 'backInOut', _l4q[_l4q.backOut = 3] = 'backOut', _l4q[_l4q.bounceIn = 4] = 'bounceIn', _l4q[_l4q.bounceInOut = 5] = 'bounceInOut', _l4q[_l4q.bounceOut = 6] = 'bounceOut', _l4q[_l4q.circIn = 7] = 'circIn', _l4q[_l4q.circInOut = 8] = 'circInOut', _l4q[_l4q.circOut = 9] = 'circOut', _l4q[_l4q.cubicIn = 10] = 'cubicIn', _l4q[_l4q.cubicInOut = 11] = 'cubicInOut', _l4q[_l4q.cubicOut = 12] = 'cubicOut', _l4q[_l4q.elasticIn = 13] = 'elasticIn', _l4q[_l4q.elasticInOut = 14] = 'elasticInOut', _l4q[_l4q.elasticOut = 15] = 'elasticOut', _l4q[_l4q.quadIn = 16] = 'quadIn', _l4q[_l4q.quadInOut = 17] = 'quadInOut', _l4q[_l4q.quadOut = 18] = 'quadOut', _l4q[_l4q.quartIn = 19] = 'quartIn', _l4q[_l4q.quartInOut = 20] = 'quartInOut', _l4q[_l4q.quartOut = 21] = 'quartOut', _l4q[_l4q.quintIn = 22] = 'quintIn', _l4q[_l4q.quintInOut = 23] = 'quintInOut', _l4q[_l4q.quintOut = 24] = 'quintOut', _l4q[_l4q.sineIn = 25] = 'sineIn', _l4q[_l4q.sineInOut = 26] = 'sineInOut', _l4q[_l4q.sineOut = 27] = 'sineOut'; }(_l4p || (_l4n.Easing = _l4p = {})), _l4n.genEasingMap = function() { var _l4s = null, _l4t = {}; return _l4t[_l4p.linear] = createjs.Ease.linear, _l4t[_l4p.backIn] = createjs.Ease.backIn, _l4t[_l4p.backInOut] = createjs.Ease.backInOut, _l4t[_l4p.backOut] = createjs.Ease.backOut, _l4t[_l4p.bounceIn] = createjs.Ease.bounceIn, _l4t[_l4p.bounceInOut] = createjs.Ease.bounceInOut, _l4t[_l4p.bounceOut] = createjs.Ease.bounceOut, _l4t[_l4p.circIn] = createjs.Ease.circIn, _l4t[_l4p.circInOut] = createjs.Ease.circInOut, _l4t[_l4p.circOut] = createjs.Ease.circOut, _l4t[_l4p.cubicIn] = createjs.Ease.cubicIn, _l4t[_l4p.cubicInOut] = createjs.Ease.cubicInOut, _l4t[_l4p.cubicOut] = createjs.Ease.cubicOut, _l4t[_l4p.elasticIn] = createjs.Ease.elasticIn, _l4t[_l4p.elasticInOut] = createjs.Ease.elasticInOut, _l4t[_l4p.elasticOut] = createjs.Ease.elasticOut, _l4t[_l4p.quadIn] = createjs.Ease.quadIn, _l4t[_l4p.quadInOut] = createjs.Ease.quadInOut, _l4t[_l4p.quadOut] = createjs.Ease.quadOut, _l4t[_l4p.quartIn] = createjs.Ease.quartIn, _l4t[_l4p.quartInOut] = createjs.Ease.quartInOut, _l4t[_l4p.quartOut] = createjs.Ease.quartOut, _l4t[_l4p.quintIn] = createjs.Ease.quintIn, _l4t[_l4p.quintInOut] = createjs.Ease.quintInOut, _l4t[_l4p.quintOut] = createjs.Ease.quintOut, _l4t[_l4p.sineIn] = createjs.Ease.sineIn, _l4t[_l4p.sineInOut] = createjs.Ease.sineInOut, _l4t[_l4p.sineOut] = createjs.Ease.sineOut, _l4t; }; }, 87967: (_l4u, _l4v) => { 'use strict'; var _l4w = null; var _l4x; defineModule(_l4v); Object.defineProperty(_l4v, '__esModule', { 'value': !0 }), _l4v.RemodelConst = void 0, function(_l4y) { var _l4z = null; _l4y.ITEM_NUM = 10, _l4y.MARRIAGE_RING_ITEMID = 55, _l4y.REINFORCEMENT_WORK_ITEMID = 64, _l4y.EXTRA_SLOT_LEVEL = 30, function(_l50) { var _l51 = null; _l50[_l50.HEIGHT = 47] = 'HEIGHT', _l50[_l50.WIDTH = 318] = 'WIDTH'; }(_l4y.DETAIL_LISTITEM || (_l4y.DETAIL_LISTITEM = {})), _l4y.PRESET_LIMIT = 16; }(_l4x || (_l4v.RemodelConst = _l4x = {})); }, 38412: function(_l52, _l53, _l54) { 'use strict'; var _l55 = null; var _l56, _l57 = this && this.__importDefault || function(_l58) { var _l59 = null; return _l58 && _l58.__esModule ? _l58 : { 'default': _l58 }; }; defineModule(_l53); Object.defineProperty(_l53, '__esModule', { 'value': !0 }), _l53.SpKaizoConst = void 0; var _l5a = _l57(_l54(18622)), _l5b = (function() { var _l5c = null; function _l5d() {} return _l5d.getSilouetteOffset = function(_l5e) { var _l5f = null, _l5g = this._ship_kaizo_n[_l5e]; return null == _l5g ? _l5a.default.model.ship_graph.get(_l5e).getCenterOffset(!1) : this._toHtmlPos(_l5g); }, _l5d._toHtmlPos = function(_l5h) { var _l5i = null; return new PIXI.Point(1.5 * _l5h.x, 1.5 * _l5h.y); }, _l5d._ship_kaizo_n = ((_l56 = {})[591] = new PIXI.Point(-124, 35), _l56[594] = new PIXI.Point(22, 60), _l56[599] = new PIXI.Point(22, 60), _l56[587] = new PIXI.Point(18, 66), _l56[622] = new PIXI.Point(-25, 51), _l56[629] = new PIXI.Point(30, 60), _l56[630] = new PIXI.Point(-62, 40), _l56[592] = new PIXI.Point(-129, 57), _l56[698] = new PIXI.Point(-114, -98), _l56[610] = new PIXI.Point(-114, -98), _l56[646] = new PIXI.Point(-114, -98), _l56[651] = new PIXI.Point(49, 54), _l56[656] = new PIXI.Point(87, 55), _l56[652] = new PIXI.Point(77, 56), _l56[662] = new PIXI.Point(-49, 31), _l56[501] = new PIXI.Point(78, 33), _l56[506] = new PIXI.Point(78, 33), _l56[663] = new PIXI.Point(-126, 11), _l56[668] = new PIXI.Point(-126, 11), _l56[883] = new PIXI.Point(39, 53), _l56[888] = new PIXI.Point(39, 53), _l56[707] = new PIXI.Point(31, 49), _l56[588] = new PIXI.Point(89, 61), _l56[667] = new PIXI.Point(89, 61), _l56[911] = new PIXI.Point(-240, -39), _l56[916] = new PIXI.Point(-240, -39), _l56[894] = new PIXI.Point(-37, 62), _l56[899] = new PIXI.Point(-37, 62), _l56[959] = new PIXI.Point(83, 0), _l56[593] = new PIXI.Point(-119, 65), _l56[954] = new PIXI.Point(-119, 65), _l56[961] = new PIXI.Point(137, 65), _l56[951] = new PIXI.Point(21, 43), _l56[955] = new PIXI.Point(19, 15), _l56[960] = new PIXI.Point(19, 15), _l56[502] = new PIXI.Point(17, 25), _l56[507] = new PIXI.Point(17, 25), _l56), _l5d; }()); _l53.SpKaizoConst = _l5b; }, 61228: (_l5j, _l5k) => { 'use strict'; var _l5l = null; var _l5m; defineModule(_l5k); Object.defineProperty(_l5k, '__esModule', { 'value': !0 }), _l5k.SpecialRemodelStartKey = void 0, function(_l5n) { var _l5o = null; _l5n[_l5n.DELAY = 1] = 'DELAY', _l5n[_l5n.SHIP_CAMERA = 2] = 'SHIP_CAMERA', _l5n[_l5n.CLASS_TEXT = 3] = 'CLASS_TEXT', _l5n[_l5n.NAME_TEXT = 4] = 'NAME_TEXT', _l5n[_l5n.BACK_GROUND = 5] = 'BACK_GROUND', _l5n[_l5n.PLAY_VOICE = 6] = 'PLAY_VOICE', _l5n[_l5n.SHIP_SHADOW = 7] = 'SHIP_SHADOW', _l5n[_l5n.VIGNETTE_FRAME = 8] = 'VIGNETTE_FRAME'; }(_l5m || (_l5k.SpecialRemodelStartKey = _l5m = {})); }, 61154: (_l5p, _l5q) => { 'use strict'; var _l5r = null; var _l5s; defineModule(_l5q); Object.defineProperty(_l5q, '__esModule', { 'value': !0 }), _l5q.PowerUpCategory = void 0, function(_l5t) { var _l5u = null; _l5t[_l5t.EMPTY = 0] = 'EMPTY', _l5t[_l5t.Karyoku = 1] = 'Karyoku', _l5t[_l5t.Raisou = 2] = 'Raisou', _l5t[_l5t.Taiku = 3] = 'Taiku', _l5t[_l5t.Soukou = 4] = 'Soukou', _l5t[_l5t.Lucky = 5] = 'Lucky'; }(_l5s || (_l5q.PowerUpCategory = _l5s = {})); }, 62080: (_l5v, _l5w) => { 'use strict'; var _l5x = null; var _l5y; defineModule(_l5w); Object.defineProperty(_l5w, '__esModule', { 'value': !0 }), _l5w.SlotListMode = void 0, function(_l5z) { var _l60 = null; _l5z[_l5z.UNSET = 0] = 'UNSET', _l5z[_l5z.SET = 1] = 'SET'; }(_l5y || (_l5w.SlotListMode = _l5y = {})); }, 46864: function(_l61, _l62, _l63) { 'use strict'; var _l64 = null; var _l65 = this && this.__importDefault || function(_l66) { var _l67 = null; return _l66 && _l66.__esModule ? _l66 : { 'default': _l66 }; }; defineModule(_l62); Object.defineProperty(_l62, '__esModule', { 'value': !0 }), _l62.KaizoValidateModel = void 0; var _l68 = _l65(_l63(18622)), _l69 = _l63(75134), _l6a = (function() { var _l6b = null; function _l6c(_l6d, _l6e) { var _l6f = null; void 0 === _l6e && (_l6e = null), this._require = _l6d, this._count = null != _l6e ? _l6e : { 'ammo': _l68.default.model.useItem.getCount(32), 'steel': _l68.default.model.useItem.getCount(33), 'devkit': _l68.default.model.useItem.getCount(3), 'buildkit': _l68.default.model.useItem.getCount(2), 'blueprint': _l68.default.model.useItem.getCount(58), 'catapult': _l68.default.model.useItem.getCount(65), 'battlereport': _l68.default.model.useItem.getCount(78), 'newhokohesosizai': _l68.default.model.useItem.getCount(75), 'newkokuhesosizai': _l68.default.model.useItem.getCount(77), 'newhesosizai': _l68.default.model.useItem.getCount(94), 'boiler': _l68.default.model.slot.createUnsetList([_l69.EquipType._17_KIKANBU_KYOUKA]).filter(function(_l6g) { var _l6h = null; return 87 == _l6g.mstID && !_l6g.isLocked(); }).length }; } return _l6c.prototype.getCount = function(_l6i) { var _l6j = null; return this._get(_l6i, this._count); }, _l6c.prototype.getRequire = function(_l6k) { var _l6l = null; return this._get(_l6k, this._require); }, _l6c.prototype.validate = function(_l6m) { var _l6n = null; if (this.getCount(_l6m) < this.getRequire(_l6m)) return _l68.default.model.useItem.get(_l6m), !1; return !0; }, _l6c.prototype.validateAll = function() { var _l6o = null; return this.validate(32) && this.validate(33) && this.validate(3) && this.validate(2) && this.validate(58) && this.validate(65) && this.validate(78) && this.validate(75) && this.validate(77) && this.validate(94) && this.validate(902); }, _l6c.prototype._get = function(_l6p, _l6q) { var _l6r = null; switch (_l6p) { case 32: return _l6q.ammo; case 33: return _l6q.steel; case 3: return _l6q.devkit; case 2: return _l6q.buildkit; case 58: return _l6q.blueprint; case 65: return _l6q.catapult; case 78: return _l6q.battlereport; case 75: return _l6q.newhokohesosizai; case 77: return _l6q.newkokuhesosizai; case 94: return _l6q.newhesosizai; case 902: return _l6q.boiler; } return 0; }, _l6c; }()); _l62.KaizoValidateModel = _l6a; }, 90977: (_l6s, _l6t) => { 'use strict'; var _l6u = null; defineModule(_l6t); Object.defineProperty(_l6t, '__esModule', { 'value': !0 }), _l6t.PowerUpCheckModel = void 0; var _l6v = (function() { var _l6w = null; function _l6x(_l6y, _l6z, _l70, _l71, _l72, _l73, _l74, _l75) { var _l76 = null; this._karyoku = _l6y, this._raiso = _l6z, this._taiku = _l70, this._souko = _l71, this._lucky = _l72, this._checkBonusLucky = _l73, this._checkBonusTaikyu = _l74, this._checkBonusTaisen = _l75; } return Object.defineProperty(_l6x.prototype, 'karyoku', { 'get': function() { var _l77 = null; return this._karyoku; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_l6x.prototype, 'raiso', { 'get': function() { var _l78 = null; return this._raiso; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_l6x.prototype, 'taiku', { 'get': function() { var _l79 = null; return this._taiku; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_l6x.prototype, 'souko', { 'get': function() { var _l7a = null; return this._souko; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_l6x.prototype, 'lucky', { 'get': function() { var _l7b = null; return this._lucky; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_l6x.prototype, 'checkBonusLucky', { 'get': function() { var _l7c = null; return this._checkBonusLucky; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_l6x.prototype, 'checkBonusTaikyu', { 'get': function() { var _l7d = null; return this._checkBonusTaikyu; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_l6x.prototype, 'checkBonusTaisen', { 'get': function() { var _l7e = null; return this._checkBonusTaisen; }, 'enumerable': !1, 'configurable': !0 }), _l6x; }()); _l6t.PowerUpCheckModel = _l6v; }, 61864: (_l7f, _l7g, _l7h) => { 'use strict'; var _l7i = null; defineModule(_l7g); Object.defineProperty(_l7g, '__esModule', { 'value': !0 }), _l7g.PresetItem = _l7g.PresetSlotModel = void 0; var _l7j = _l7h(89939), _l7k = _l7h(20824), _l7l = (function() { var _l7m = null; function _l7n() { var _l7o = null; this._presetItemMap = {}; } return Object.defineProperty(_l7n.prototype, 'presetItemMap', { 'get': function() { var _l7p = null; return this._presetItemMap; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_l7n.prototype, 'max_num', { 'get': function() { var _l7q = null; return this._max_num; }, 'set': function(_l7r) { var _l7s = null; this._max_num = _l7r; }, 'enumerable': !1, 'configurable': !0 }), _l7n.prototype.setData = function(_l7t) { var _l7u = null, _l7v = this; this._o = _l7t, this._presetItemMap = {}; var _l7w = _l7j.ObjUtil.getObjectArray(this._o, 'api_preset_items'); null != _l7w && _l7w.length > 0 && _l7w.forEach(function(_l7x) { var _l7y = null; if (null != _l7x) { var _l7z = new _l80(); _l7z.setData(_l7x), _l7v._presetItemMap[_l7z.preset_no] = _l7z; } }), this._max_num = _l7j.ObjUtil.getNumber(this._o, 'api_max_num'); }, _l7n.prototype.savePresetItem = function(_l81) { var _l82 = null, _l83 = _l81.preset_no; this._presetItemMap[_l83] = _l81; }, _l7n.prototype.deletePresetItem = function(_l84) { var _l85 = null; this._presetItemMap[_l84] = null; }, _l7n.prototype.updatePresetItemExFlag = function(_l86) { var _l87 = null; this._presetItemMap[_l86].slot_ex_guard_flag = !this._presetItemMap[_l86].slot_ex_guard_flag; }, _l7n; }()); _l7g.PresetSlotModel = _l7l; var _l80 = (function() { var _l88 = null; function _l89() { var _l8a = null; this._name = '', this._preset_no = 0, this._slot_items = new Array(), this._slot_item_ex = null, this._slot_ex_guard_flag = !1, this._locked = !1, this._selected_mode = _l7k.DeployMode.modeA; } return _l89.prototype.setData = function(_l8b) { var _l8c = null; this._o = _l8b, this._name = _l7j.ObjUtil.getString(this._o, 'api_name'), this._preset_no = _l7j.ObjUtil.getNumber(this._o, 'api_preset_no'); var _l8d = new Array(), _l8e = _l7j.ObjUtil.getObjectArray(this._o, 'api_slot_item'); null != _l8e && _l8e.length > 0 && _l8e.forEach(function(_l8f) { var _l8g = null, _l8h = { 'id': _l7j.ObjUtil.getNumber(_l8f, 'api_id'), 'level': _l7j.ObjUtil.getNumber(_l8f, 'api_level') }; _l8d.push(_l8h); }), this._slot_items = _l8d; var _l8i = _l7j.ObjUtil.getObject(this._o, 'api_slot_item_ex'); this._slot_item_ex = null != _l8i ? { 'id': _l7j.ObjUtil.getNumber(_l8i, 'api_id'), 'level': _l7j.ObjUtil.getNumber(_l8i, 'api_level') } : null, this._slot_ex_guard_flag = 1 == _l7j.ObjUtil.getNumber(this._o, 'api_slot_ex_flag'), this._locked = 1 == _l7j.ObjUtil.getNumber(this._o, 'api_lock_flag'), this._selected_mode = _l7j.ObjUtil.getNumber(this._o, 'api_selected_mode'); }, Object.defineProperty(_l89.prototype, 'name', { 'get': function() { var _l8j = null; return this._name; }, 'set': function(_l8k) { var _l8l = null; this._name = _l8k; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_l89.prototype, 'preset_no', { 'get': function() { var _l8m = null; return this._preset_no; }, 'set': function(_l8n) { var _l8o = null; this._preset_no = _l8n; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_l89.prototype, 'slot_items', { 'get': function() { var _l8p = null; return this._slot_items; }, 'set': function(_l8q) { var _l8r = null; this._slot_items = _l8q; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_l89.prototype, 'slot_item_ex', { 'get': function() { var _l8s = null; return this._slot_item_ex; }, 'set': function(_l8t) { var _l8u = null; this._slot_item_ex = _l8t; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_l89.prototype, 'slot_ex_guard_flag', { 'get': function() { var _l8v = null; return this._slot_ex_guard_flag; }, 'set': function(_l8w) { var _l8x = null; this._slot_ex_guard_flag = _l8w; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_l89.prototype, 'locked', { 'get': function() { var _l8y = null; return this._locked; }, 'set': function(_l8z) { var _l90 = null; this._locked = _l8z; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_l89.prototype, 'selected_mode', { 'get': function() { var _l91 = null; return this._selected_mode; }, 'set': function(_l92) { var _l93 = null; this._selected_mode = _l92; }, 'enumerable': !1, 'configurable': !0 }), _l89.prototype.isValid = function() { var _l94 = null; return null != this._slot_items && this._slot_items.length > 0; }, _l89; }()); _l7g.PresetItem = _l80; }, 12089: function(_l95, _l96, _l97) { 'use strict'; var _l98 = null; var _l99 = this && this.__importDefault || function(_l9a) { var _l9b = null; return _l9a && _l9a.__esModule ? _l9a : { 'default': _l9a }; }; defineModule(_l96); Object.defineProperty(_l96, '__esModule', { 'value': !0 }), _l96.ShipVoice = void 0; var _l9c = _l99(_l97(18622)), _l9d = (function() { var _l9e = null; function _l9f(_l9g) { var _l9h = null; this._memID = -1, this._counter = 0, this._playList = _l9g; } return _l9f.prototype.play = function(_l9i) { var _l9j = null, _l9k = this._voiceIndex(_l9i), _l9l = _l9c.default.model.ship.get(_l9i).mstID; _l9c.default.sound.voice.play(_l9l.toString(), this._playList[_l9k]); }, _l9f.prototype._voiceIndex = function(_l9m) { var _l9n = null; return this._memID !== _l9m ? (this._memID = _l9m, this._counter = 0, 0) : ++this._counter % this._playList.length; }, _l9f; }()); _l96.ShipVoice = _l9d; }, 73785: function(_l9o, _l9p, _l9q) { 'use strict'; var _l9r = null; var _l9s = this && this.__importDefault || function(_l9t) { var _l9u = null; return _l9t && _l9t.__esModule ? _l9t : { 'default': _l9t }; }; defineModule(_l9p); Object.defineProperty(_l9p, '__esModule', { 'value': !0 }), _l9p.SlotItemEffectParamModel = void 0; var _l9v = _l9s(_l9q(18622)), _l9w = _l9q(72170), _l9x = (function() { var _l9y = null; function _l9z(_la0, _la1) { var _la2 = null; this.SLOT_LEVEL_MAX = 10; for (var _la3 = {}, _la4 = {}, _la5 = {}, _la6 = 0, _la7 = _la1; _la6 < _la7.length; _la6++) { var _la8 = _la7[_la6]; null != _la8 && (null == _la3[_la8.mstID] && (_la3[_la8.mstID] = new Array()), _la3[_la8.mstID].push(_la8), null == _la4[_la8.mstID] ? _la4[_la8.mstID] = 1 : _la4[_la8.mstID] += 1, null == _la5[_la8.equipType] ? _la5[_la8.equipType] = 1 : _la5[_la8.equipType] += 1); } this._have_slots_dict = _la3, this._have_slotnums_dict = _la4, this._have_type3nums_dict = _la5, this._ship_id = _la0.mstID, this._yomi = _la0.yomi, this._stype = _la0.shipTypeID, this._ctype = _la0.getClassType(); } return Object.defineProperty(_l9z.prototype, 'have_slots_dict', { 'get': function() { var _la9 = null; return this._have_slots_dict; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_l9z.prototype, 'ship_id', { 'get': function() { var _laa = null; return this._ship_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_l9z.prototype, 'yomi', { 'get': function() { var _lab = null; return this._yomi; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_l9z.prototype, 'stype', { 'get': function() { var _lac = null; return this._stype; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_l9z.prototype, 'ctype', { 'get': function() { var _lad = null; return this._ctype; }, 'enumerable': !1, 'configurable': !0 }), _l9z.prototype.get_slotnums = function(_lae) { var _laf = null; return null == this._have_slotnums_dict[_lae] ? 0 : this._have_slotnums_dict[_lae]; }, _l9z.prototype.get_type3_nums = function(_lag) { var _lah = null; return null == this._have_type3nums_dict[_lag] ? 0 : this._have_type3nums_dict[_lag]; }, _l9z.prototype.have_slot_ids = function() { var _lai = null; return Object.keys(this._have_slots_dict); }, _l9z.prototype.get_each_level_nums = function(_laj) { var _lak = null, _lal = this._have_slots_dict[_laj], _lam = Array.apply(null, new Array(this.SLOT_LEVEL_MAX + 1)).map(function() { return 0; }); if (null != _lal) for (var _lan = 0, _lao = _lal; _lan < _lao.length; _lan++) { _lam[_lao[_lan].level]++; } return _lam; }, _l9z.prototype.get_each_level_over_nums = function(_lap) { var _laq = null; for (var _lar = this, _las = [], _lat = function(_lau) { var _lav = null; if (_las[_lau] = Array.apply(null, new Array(_law.SLOT_LEVEL_MAX + 1)).map(function() { return 0; }), null == _law.have_slots_dict[_lau]) return 'continue'; _law.get_each_level_nums(_lau).forEach(function(_lax, _lay) { var _laz = null; for (var _lb0 = 1; _lb0 <= _lar.SLOT_LEVEL_MAX; _lb0++) _lay >= _lb0 && (_las[_lau][_lb0] += _lax); }); }, _law = this, _lb1 = 0, _lb2 = _lap; _lb1 < _lb2.length; _lb1++) { _lat(_lb2[_lb1]); } return _las; }, _l9z.prototype.get_have_rader_nums = function() { var _lb3 = null; for (var _lb4 = 0, _lb5 = 0, _lb6 = 0, _lb7 = this.have_slot_ids(); _lb6 < _lb7.length; _lb6++) { var _lb8 = _lb7[_lb6], _lb9 = _l9v.default.model.slot.getMst(_lb8), _lba = _lb9.equipType; 12 != _lba && 13 != _lba || (_lb9.sakuteki >= 5 && (_lb4 += this.get_slotnums(parseInt(_lb8))), _lb9.taiku >= 2 && (_lb5 += this.get_slotnums(parseInt(_lb8)))); } return { 'water_rader': _lb4, 'air_rader': _lb5 }; }, _l9z.prototype.getUSSWaterRaderDict = function() { return { 279: 1, 307: 1, 315: 1, 456: 1 }; }, _l9z.prototype.getUSSAirRaderDict = function() { return { 278: 1, 279: 1 }; }, _l9z.prototype.getCountryName = function() { var _lbb = null; return null == _l9w.SHIP_COUNTRY[this._ctype] ? '' : _l9w.SHIP_COUNTRY[this._ctype]; }, _l9z.prototype.getSpItemDict_FukuhouTaikuHeisou = function() { return { 10: 0, 130: 0, 66: 0, 220: 0, 71: 0, 275: 0, 464: 0 }; }, _l9z.prototype.getSpItemDict_Tansou21GouDentan = function() { return { 30: 0, 410: 0 }; }, _l9z; }()); _l9p.SlotItemEffectParamModel = _l9x; }, 7481: function(_lbc, _lbd, _lbe) { 'use strict'; var _lbf = null; var _lbg, _lbh = this && this.__extends || (_lbg = function(_lbi, _lbj) { var _lbk = null; return _lbg = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_lbl, _lbm) { var _lbn = null; _lbl.__proto__ = _lbm; } || function(_lbo, _lbp) { var _lbq = null; for (var _lbr in _lbp) Object.prototype.hasOwnProperty.call(_lbp, _lbr) && (_lbo[_lbr] = _lbp[_lbr]); }, _lbg(_lbi, _lbj); }, function(_lbs, _lbt) { var _lbu = null; if ('function' != typeof _lbt && null !== _lbt) throw new TypeError('Class extends value ' + String(_lbt) + ' is not a constructor or null'); function _lbv() { var _lbw = null; this.constructor = _lbs; } _lbg(_lbs, _lbt), _lbs.prototype = null === _lbt ? Object.create(_lbt) : (_lbv.prototype = _lbt.prototype, new _lbv()); }); defineModule(_lbd); Object.defineProperty(_lbd, '__esModule', { 'value': !0 }), _lbd.InitializeTask = void 0; var _lbx = function(_lby) { var _lbz = null; function _lc0(_lc1) { var _lc2 = null, _lc3 = _lby.call(this) || this; return _lc3.remodelScene = _lc1, _lc3; } return _lbh(_lc0, _lby), _lc0.prototype._start = function() { var _lc4 = null; this._endTask(); }, _lc0; }(_lbe(81755).TaskBase); _lbd.InitializeTask = _lbx; }, 36779: function(_lc5, _lc6, _lc7) { 'use strict'; var _lc8 = null; var _lc9, _lca = this && this.__extends || (_lc9 = function(_lcb, _lcc) { var _lcd = null; return _lc9 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_lce, _lcf) { var _lcg = null; _lce.__proto__ = _lcf; } || function(_lch, _lci) { var _lcj = null; for (var _lck in _lci) Object.prototype.hasOwnProperty.call(_lci, _lck) && (_lch[_lck] = _lci[_lck]); }, _lc9(_lcb, _lcc); }, function(_lcl, _lcm) { var _lcn = null; if ('function' != typeof _lcm && null !== _lcm) throw new TypeError('Class extends value ' + String(_lcm) + ' is not a constructor or null'); function _lco() { var _lcp = null; this.constructor = _lcl; } _lc9(_lcl, _lcm), _lcl.prototype = null === _lcm ? Object.create(_lcm) : (_lco.prototype = _lcm.prototype, new _lco()); }), _lcq = this && this.__importDefault || function(_lcr) { var _lcs = null; return _lcr && _lcr.__esModule ? _lcr : { 'default': _lcr }; }; defineModule(_lc6); Object.defineProperty(_lc6, '__esModule', { 'value': !0 }), _lc6.PreInitializeTask = void 0; var _lct = _lcq(_lc7(18622)), _lcu = _lc7(88266), _lcv = _lc7(81755), _lcw = _lc7(23847), _lcx = _lc7(56442), _lcy = _lc7(93501), _lcz = _lc7(60702), _ld0 = _lc7(23252), _ld1 = _lc7(47374), _ld2 = _lc7(34654), _ld3 = function(_ld4) { var _ld5 = null; function _ld6(_ld7) { var _ld8 = null, _ld9 = _ld4.call(this) || this; return _ld9.phasePreInitialize = function() { var _lda = null; new _lcu.CanPresetSlotSelectAPI().start(function() { var _ldb = null; _lct.default.sound.bgm.play(102), _ld9._scene.start(), _ld9._endTask(); }); }, _ld9._scene = _ld7, _ld9; } return _lca(_ld6, _ld4), _ld6.prototype._start = function() { var _ldc = null; this._load(); }, _ld6.prototype._load = function() { var _ldd = null, _lde = this; new _lcw.TaskLoadResourcesRemodel().start(function() { var _ldf = null; _lde._uploadToGPU(); }); }, _ld6.prototype._uploadToGPU = function() { var _ldg = null, _ldh, _ldi = this; _ldh = _ld1.REMODEL_MAIN.getTexture(0), _lct.default.settings.renderer.plugins.prepare.upload(_ldh.baseTexture, function() { var _ldj = null; _ldh = _ld2.REMODEL_POWERUP.getTexture(0), _lct.default.settings.renderer.plugins.prepare.upload(_ldh.baseTexture, function() { var _ldk = null; _ldh = _ld0.REMODEL_GRADEUP.getTexture(0), _lct.default.settings.renderer.plugins.prepare.upload(_ldh.baseTexture, function() { var _ldl = _ldk; _ldh = _lcz[_ldl(5060)][_ldl(1777)](0), _lct[_ldl(3499)][_ldl(4465)][_ldl(3802)][_ldl(7602)][_ldl(12015)][_ldl(3076)](_ldh[_ldl(12724)], function() { var _ldm = _ldl; _ldh = _lcy[_ldm(13363)][_ldm(1777)](2), _lct[_ldm(3499)][_ldm(4465)][_ldm(3802)][_ldm(7602)][_ldm(12015)][_ldm(3076)](_ldh[_ldm(12724)], function() { var _ldn = _ldm; _ldh = _lcx[_ldn(6743)][_ldn(1777)](1), _lct[_ldn(3499)][_ldn(4465)][_ldn(3802)][_ldn(7602)][_ldn(12015)][_ldn(3076)](_ldh[_ldn(12724)], function() { var _ldo = _ldn; _ldi[_ldo(9967)](); }); }); }); }); }); }); }, _ld6; }(_lcv.TaskBase); _lc6.PreInitializeTask = _ld3; }, 80515: function(_ldp, _ldq, _ldr) { 'use strict'; var _lds = null; var _ldt = this && this.__spreadArray || function(_ldu, _ldv, _ldw) { var _ldx = null; if (_ldw || 2 === arguments.length) { for (var _ldy, _ldz = 0, _le0 = _ldv.length; _ldz < _le0; _ldz++) !_ldy && _ldz in _ldv || (_ldy || (_ldy = Array.prototype.slice.call(_ldv, 0, _ldz)), _ldy[_ldz] = _ldv[_ldz]); } return _ldu.concat(_ldy || Array.prototype.slice.call(_ldv)); }, _le1 = this && this.__importDefault || function(_le2) { var _le3 = null; return _le2 && _le2.__esModule ? _le2 : { 'default': _le2 }; }; defineModule(_ldq); Object.defineProperty(_ldq, '__esModule', { 'value': !0 }), _ldq.TaskChoiceSlotItem = void 0; var _le4 = _le1(_ldr(21359)), _le5 = _le1(_ldr(18622)), _le6 = _ldr(72778), _le7 = _ldr(35660), _le8 = _ldr(26942), _le9 = _ldr(67605), _lea = _ldr(70723), _leb = _ldr(83426), _lec = _ldr(87967), _led = _ldr(62080), _lee = _ldr(38834), _lef = _ldr(55177), _leg = _ldr(33859), _leh = _ldr(12061), _lei = _ldr(87727), _lej = _ldr(71087), _lek = _ldr(44237), _lel = _ldr(4811), _lem = _ldr(15981), _len = _ldr(33704), _leo = _ldr(75134), _lep = _ldr(16718), _leq = _ldr(16677), _ler = (function() { var _les = null; function _let(_leu, _lev) { var _lew = null, _lex = this; this.slotInShipChangeConfirm = null, this._excludeList = [], this._onClickBackArea = function() { var _ley = null; _le5.default.view.clickGuard = !0, _leq.WheelEventUtil.clear(), _lex.backArea.width = _le4.default.width, (createjs.Tween.get(_lex.backArea).to({ 'alpha': 0 }, 125), createjs.Tween.get(_lex.slotItemList).to({ 'x': _le4.default.width }, 125), createjs.Tween.get(_lex.shipDetail).to({ 'x': 468 }, 125).call(function() { var _lez = null; _lex.mainView.removeChild(_lex.slotItemList), _lex.mainView.removeChild(_lex.backArea), _le5.default.view.clickGuard = !1, _lex.onComplete(); })); }, this._onClickDoubleBackAreaLeft = function() { var _lf0 = null; _le9.TaskLoadSlotResource.abortBy(_lex.changeConfirm), _lex.doubleBackArea.width = _le4.default.width, _le5.default.view.clickGuard = !0, createjs.Tween.get(_lex.changeConfirm).to({ 'x': _le4.default.width }, 62); var _lf1 = 125; createjs.Tween.get(_lex.doubleBackArea).to({ 'alpha': 0 }, _lf1), createjs.Tween.get(_lex.backArea).to({ 'alpha': 0 }, _lf1), createjs.Tween.get(_lex.shipDetail).to({ 'x': 468 }, _lf1), createjs.Tween.get(_lex.slotItemList).to({ 'x': _le4.default.width }, _lf1).call(function() { var _lf2 = null; _lex.mainView.removeChild(_lex.slotItemList), _lex.mainView.removeChild(_lex.changeConfirm), _lex.mainView.removeChild(_lex.doubleBackArea), _lex.mainView.removeChild(_lex.backArea), _le5.default.view.clickGuard = !1, _lex.onComplete(); }); }, this._onClickDoubleBackAreaRight = function() { var _lf3 = null; _le9.TaskLoadSlotResource.abortBy(_lex.changeConfirm), _lex.doubleBackArea.width = _le4.default.width, _le5.default.view.clickGuard = !0, (createjs.Tween.get(_lex.doubleBackArea).to({ 'alpha': 0 }, 125), createjs.Tween.get(_lex.changeConfirm).to({ 'x': _le4.default.width }, 125).call(function() { var _lf4 = null; _lex.mainView.removeChild(_lex.changeConfirm), _lex.mainView.removeChild(_lex.doubleBackArea), _le5.default.view.clickGuard = !1, _lex.activateWheel(); })); }, this._onClickChangeButton = function() { var _lf5 = null; switch (_le9.TaskLoadSlotResource.abortBy(_lex.changeConfirm), _lex.mode) { case _led.SlotListMode.SET: var _lf6 = _lex.memSlotItemId, _lf7 = _le5.default.model.ship.get(_lex.setList[1]['' ['concat'](_lf6)]), _lf8 = _le5.default.model.ship.get(_lex.memShipId), _lf9 = _le5.default.model.slot.get(_lf6); return _lex.changeConfrimFromOtherShip.update(_lf7, _lf8, _lf9), _lex.changeConfrimFromOtherShip.position.set(225, 188), _lex.changeConfrimFromOtherShip.activate(), _le5.default.view.clickGuard = !0, _lex.slotInShipChangeConfirm = new _lei.SlotInShipChangeConfirm(_lex.changeConfrimFromOtherShip), _le5.default.view.overLayer.addChild(_lex.slotInShipChangeConfirm), void _lex.slotInShipChangeConfirm.show(function() { var _lfa = null; _le5.default.view.clickGuard = !1; }); case _led.SlotListMode.UNSET: var _lfb = 125; _le5.default.view.clickGuard = !0; var _lfc = void 0; _lfc = _lex.isEditExtraSlot ? new _len.SlotSetExAPI(_lex.memShipId, _lex.memSlotItemId) : new _lem.SlotSetAPI(_lex.memShipId, _lex.memSlotItemId, _lex.slotIndex); var _lfd = new _le7.APIConnector(), _lfe = new _lek.Ship3API(_lex.memShipId); _lfd.add(_lfc).add(_lfe).start(function() { var _lff = null; _lex.isEditExtraSlot || _le5.default.view.portMain.updateInfo(), _lex.onUpdateSlotItem(), createjs.Tween.get(_lex.backArea).to({ 'alpha': 0 }, _lfb), createjs.Tween.get(_lex.slotItemList).to({ 'x': _le4.default.width }, _lfb), createjs.Tween.get(_lex.changeConfirm).to({ 'x': _le4.default.width }, _lfb), createjs.Tween.get(_lex.doubleBackArea).to({ 'alpha': 0 }, _lfb), createjs.Tween.get(_lex.shipDetail).to({ 'x': 468 }, _lfb).call(function() { var _lfg = null; _lex.mainView.removeChild(_lex.slotItemList), _lex.mainView.removeChild(_lex.changeConfirm), _lex.mainView.removeChild(_lex.doubleBackArea), _lex.mainView.removeChild(_lex.backArea), _le5.default.view.clickGuard = !1, _lex.onComplete(); }); }), _lex.shipVoice.play(_lex.memShipId); } }, this._onClickYesOtherShipChange = function() { var _lfh = null; _le5.default.view.clickGuard = !0, _lex.slotInShipChangeConfirm.hide(function() { var _lfi = null; _lex.changeConfrimFromOtherShip.deactivate(), _lex.slotInShipChangeConfirm.dispose(), _le5.default.view.overLayer.removeChild(_lex.slotInShipChangeConfirm); for (var _lfj = _lex.slotIndex, _lfk = _lex.memShipId, _lfl = _lex.isEditExtraSlot ? 1 : 0, _lfm = _lex.memSlotItemId, _lfn = _lex.setList[1]['' ['concat'](_lfm)], _lfo = -1, _lfp = 0, _lfq = _le5.default.model.ship.get(_lfn), _lfr = _lfq.getSlotitems(), _lfs = 0; _lfs < _lfr.length; _lfs++) { var _lft = _lfr[_lfs]; if (_lft && _lft.memID == _lfm) { _lfo = _lfs; break; } } if (-1 == _lfo) { var _lfu = _lfq.getSlotitemEx(); null != _lfu && _lfu.memID == _lfm && (_lfo = 0, _lfp = 1); } new _lel.SlotDepriveAPI(_lfo, _lfl, _lfp, _lfn, _lfj, _lfk).start(function() { var _lfv = null; _le5.default.view.portMain.updateInfo(), _lex.onUpdateSlotItem(); var _lfw = 125; createjs.Tween.get(_lex.doubleBackArea).to({ 'alpha': 0 }, _lfw), createjs.Tween.get(_lex.backArea).to({ 'alpha': 0 }, _lfw), createjs.Tween.get(_lex.changeConfirm).to({ 'x': _le4.default.width }, _lfw), createjs.Tween.get(_lex.slotItemList).to({ 'x': _le4.default.width }, _lfw), createjs.Tween.get(_lex.shipDetail).to({ 'x': 468 }, _lfw).call(function() { var _lfx = null; _lex.mainView.removeChild(_lex.backArea), _lex.mainView.removeChild(_lex.doubleBackArea), _lex.mainView.removeChild(_lex.changeConfirm), _lex.mainView.removeChild(_lex.slotItemList), _le5.default.view.clickGuard = !1, _lex.onComplete(); }); }), _lex.shipVoice.play(_lex.memShipId); }); }, this._onClickNoOtherShipChange = function() { var _lfy = null; _le5.default.view.clickGuard = !0, _lex.slotInShipChangeConfirm.hide(function() { var _lfz = null; _lex.changeConfrimFromOtherShip.deactivate(), _lex.slotInShipChangeConfirm.dispose(), _le5.default.view.overLayer.removeChild(_lex.slotInShipChangeConfirm), _le5.default.view.clickGuard = !1; }); }, this._onChangeFilterKeyType = function(_lg0) { var _lg1 = null; _lex._updateSource_(_lex.mode, _lg0), _lex.slotItemList.slotItemFilterView.hideFilterListImmidiate(), _lex._changePage_(0), _leq.WheelEventUtil.clear(), _leq.WheelEventUtil.regist(_lex._onWheel); }, this._hideFilterView = function() { var _lg2 = null; _leq.WheelEventUtil.clear(), _leq.WheelEventUtil.regist(_lex._onWheel); }, this._onClickChangeListSwitch = function() { var _lg3 = null; switch (_lea.SE.play('219'), _lex.mode) { case _led.SlotListMode.UNSET: _lex._initSetList_(_lex.memShipId, _lex.isEditExtraSlot, _lex.slotIndex), _lex._updateSource_(_led.SlotListMode.SET, 0), _lex._changePage_(0); break; case _led.SlotListMode.SET: _lex._updateSource_(_led.SlotListMode.UNSET, 0), _lex._changePage_(0); break; default: throw Error('unsupported X( ' + _lex.mode); } }, this._onClickListItem = function(_lg4, _lg5) { var _lg6 = null; _lex.mainView.addChild(_lex.doubleBackArea), _lex.mainView.addChild(_lex.changeConfirm), _lex.changeConfirm.position.set(_le4.default.width, 141), _lex.doubleBackArea.alpha = 0, _leq.WheelEventUtil.clear(); var _lg7 = _le5.default.model.ship.get(_lex.memShipId), _lg8 = -1 == _lex.slotIndex ? _lg7.getSlotitemEx() : _lg7.getSlotitems()[_lex.slotIndex], _lg9 = _le5.default.model.slot.get(_lg5), _lga = new _lep.TaskGetSlotItemEffectParams(_lg7, _lg8, _lg9).start(); _lex.changeConfirm.update(_lg8, _lg9, _lga), _le5.default.view.clickGuard = !0, _lex.memSlotItemId = _lg5, createjs.Tween.get(_lex.doubleBackArea).to({ 'alpha': 1 }, 125), createjs.Tween.get(_lex.changeConfirm).to({ 'x': 873 }, 125).call(function() { var _lgb = null; _lex.doubleBackArea.width = 912, _le5.default.view.clickGuard = !1; }); }, this._onClickLock = function(_lgc, _lgd) { var _lge = null, _lgf = new _le8.SlotItemLockAPI(_lgd); _le5.default.view.clickGuard = !0, _lgf.start(function() { var _lgg = null, _lgh = _le5.default.model.slot.get(_lgd); _lgh.isLocked() ? _lea.SE.play('242') : _lea.SE.play('255'); var _lgi = null; _lex.mode == _led.SlotListMode.SET && (_lgi = 15 == _leb.SceneMemory.slotItemFilter ? _le5.default.model.ship.get(_lex.setList_all[1][_lgh.memID.toString()]) : _le5.default.model.ship.get(_lex.setList[1][_lgh.memID.toString()])), _lex._updateListItem_(_lgc, _lgh, _lgi), _le5.default.view.clickGuard = !1; }); }, this._onChangePage = function(_lgj) { var _lgk = null; _leb.SceneMemory.slotItemPage != _lgj && _lex._changePage_(_lgj); }, this._onWheel = function(_lgl) { var _lgm = null; if (0 != _lgl.delta) { var _lgn = _lee.RemodelUtil.calcPageCount(_lex.sourceSlotItems.length); if (0 != _lgn) { var _lgo = _lgl.delta > 0 ? _leb.SceneMemory.slotItemPage + 1 : _leb.SceneMemory.slotItemPage - 1; _lgo < 0 || _lgo + 1 > _lgn || (_lgl.enabledGuard(), _lex._onChangePage(_lgo)); } } }, this.slotItemList = new _lej.SlotItemList(), this.changeConfirm = new _leh.ChangeConfirm(), this.changeConfrimFromOtherShip = new _lef.ChangeConfirmFromOtherShip(), this.backArea = new _leg.BackArea(), this.doubleBackArea = new _leg.DoubleBackArea(), this.slotItemList.pagerView.onChangePage = this._onChangePage, this.slotItemList.onClick = this._onClickListItem, this.slotItemList.onClickLock = this._onClickLock, this.backArea.onClick = this._onClickBackArea, this.doubleBackArea.onClickLeft = this._onClickDoubleBackAreaLeft, this.doubleBackArea.onClickRight = this._onClickDoubleBackAreaRight, this.changeConfirm.onClick = this._onClickChangeButton, this.changeConfrimFromOtherShip.onClickYes = this._onClickYesOtherShipChange, this.changeConfrimFromOtherShip.onClickNo = this._onClickNoOtherShipChange, this.slotItemList.slotItemFilterView.onClick = this._onChangeFilterKeyType, this.slotItemList.slotItemFilterView.onHide = this._hideFilterView, this.slotItemList.changeListSwitch.onClick = this._onClickChangeListSwitch, this.shipDetail = _lev, this.mainView = _leu; } return _let.prototype.dispose = function() { var _lgp = null; this._onChangePage = null, this._onClickListItem = null, this._onClickLock = null, this.backArea.onClick = this._onClickBackArea = null, this.doubleBackArea.onClickLeft = this._onClickDoubleBackAreaLeft = null, this.doubleBackArea.onClickRight = this._onClickDoubleBackAreaRight = null, this.changeConfirm.onClick = this._onClickChangeButton = null, this.changeConfrimFromOtherShip.onClickYes = this._onClickYesOtherShipChange = null, this.changeConfrimFromOtherShip.onClickNo = this._onClickNoOtherShipChange = null, this._onChangeFilterKeyType = null, this._onClickChangeListSwitch = null, this.slotItemList && this.slotItemList.dispose(), this.changeConfirm && this.changeConfirm.dispose(), this.changeConfrimFromOtherShip && this.changeConfrimFromOtherShip.dispose(), this.backArea && this.backArea.dispose(), this.doubleBackArea && this.doubleBackArea.dispose(), this.onUpdateSlotItem = null, this.onComplete = null, this.memSlotItemId = null, this.memShipId = null, this.slotIndex = null, this.mainView = null, this.shipDetail = null, this.changeConfirm = null, this.backArea = null, this.doubleBackArea = null, this.slotItemList = null, this.sourceSlotItems = null, this.unsetList = null, this.sortieSlotItems = null, this.setList = null, this.mode = null, this.changeConfrimFromOtherShip = null, this.slotInShipChangeConfirm = null, _leq.WheelEventUtil.clear(); }, _let.prototype.activateWheel = function() { var _lgq = null; _leq.WheelEventUtil.regist(this._onWheel.bind(this)); }, _let.prototype._updateSource_ = function(_lgr, _lgs) { var _lgt = null, _lgu = this._genSource_(_lgr, _lgs); this._updateMode_(_lgr), this._updateFilter_(_lgs), this._updatePager_(_lgu), this.sourceSlotItems = _lgu; }, _let.prototype._changePage_ = function(_lgv) { var _lgw = null, _lgx = this.sourceSlotItems.slice(_lgv * _lec.RemodelConst.ITEM_NUM, _lgv * _lec.RemodelConst.ITEM_NUM + _lec.RemodelConst.ITEM_NUM); if (this.slotItemList.clear(), 0 == _lgx.length) this.slotItemList.visibleEmptyText(); else for (var _lgy = 0; _lgy < _lgx.length; _lgy++) { var _lgz = _lgx[_lgy], _lh0 = null; this.mode == _led.SlotListMode.SET && (_lh0 = 15 == _leb.SceneMemory.slotItemFilter ? _le5.default.model.ship.get(this.setList_all[1][_lgz.memID.toString()]) : _le5.default.model.ship.get(this.setList[1][_lgz.memID.toString()])), this._updateListItem_(_lgy, _lgz, _lh0); } this.slotItemList.pagerView.changePage(_lgv), _leb.SceneMemory.slotItemPage = _lgv; }, _let.prototype._updateListItem_ = function(_lh1, _lh2, _lh3) { var _lh4 = null, _lh5 = null, _lh6 = !1, _lh7 = !1, _lh8 = !1; _lh3 ? (_lh5 = _le5.default.model.deck.isInDeck(_lh3.memID)) && null != _le5.default.model.deck.get(_lh5[0]).expedition && (_lh6 = !0) : -1 != this.sortieSlotItems.indexOf(_lh2) && (_lh7 = !0); var _lh9, _lha = _le5.default.model.ship.get(this.memShipId); this.isEditExtraSlot || ((-1 == (_lh9 = _le5.default.model.equip.get(_lha.mstID)).equip_type.indexOf(_lh2.equipTypeSp) || this._excludeList.indexOf(_lh2.equipTypeSp) > -1) && (_lh8 = !0), _le6.SlotUtil.isMstEquipShipExceptionSlotItem(_lha.mstID, _lh2.equipType, _lh2.mstID) && (_lh8 = !0), _lh9.equip_type.indexOf(_leo.EquipType._04_HUKUHOU) > -1 && 467 == _lh2.mstID && -1 == _lh9.equip_type.indexOf(_leo.EquipType._95_HUKUHOU_L) && (_lh8 = !0)), this.slotItemList.update(_lh1, _lh2, _lh3, _lh5, _lh6, _lh7, _lh8); }, _let.prototype.start = function(_lhb, _lhc, _lhd) { var _lhe = null, _lhf = this; _le5.default.view.clickGuard = !0; var _lhg = -1 == _lhc; this.shipVoice = _lhd, this._excludeList = _le6.SlotUtil.excludeEquipList(_lhb, _lhc, _lhg), this._initUnSetList_(_lhb, _lhc, _lhg), this._initSortieSlotItems_(), this.mode = _leb.SceneMemory.listMode, this.slotIndex = _lhc, this.memShipId = _lhb, this.isEditExtraSlot = _lhg, this.mode == _led.SlotListMode.SET && this._initSetList_(this.memShipId, this.isEditExtraSlot, this.slotIndex), this._updateSlotItemFilter_(_lhg), this._updateSource_(this.mode, _leb.SceneMemory.slotItemFilter); var _lhh = Math.ceil(this.sourceSlotItems.length / _lec.RemodelConst.ITEM_NUM); _lhh <= _leb.SceneMemory.slotItemPage && (_leb.SceneMemory.slotItemPage = _lhh - 1, _leb.SceneMemory.slotItemPage < 0 && (_leb.SceneMemory.slotItemPage = 0)), this._changePage_(_leb.SceneMemory.slotItemPage), this.slotItemList.position.set(_le4.default.width, 141), this.backArea.alpha = 0, this.mainView.addChild(this.backArea), this.mainView.addChild(this.slotItemList), createjs.Tween.get(this.slotItemList).to({ 'x': 501 }, 125), createjs.Tween.get(this.backArea).to({ 'alpha': 1 }, 125), createjs.Tween.get(this.shipDetail).to({ 'x': 147 }, 125).call(function() { var _lhi = null; _lhf.backArea.width = 538, _le5.default.view.clickGuard = !1, _lhf.activateWheel(); }); }, _let.prototype._updateSlotItemFilter_ = function(_lhj) { var _lhk = null; this.slotItemList.slotItemFilterView.visible = !1, 0 == _lhj && (this.slotItemList.slotItemFilterView.visible = !0); }, _let.prototype._initSortieSlotItems_ = function() { var _lhl = null; if (!this.sortieSlotItems) { var _lhm = _le5.default.model.slot.createUnsetList([_leo.EquipType._47_RIKUJO_KOUGEKIKI, _leo.EquipType._48_KYOKUCHI_SENTOUKI, _leo.EquipType._49_RIKUJO_TEISATSUKI, _leo.EquipType._53_OOGATA_RIKUJOKI]); this.sortieSlotItems = _lhm; } }, _let.prototype._initUnSetList_ = function(_lhn, _lho, _lhp) { var _lhq = null, _lhr = this; if (!this.unsetList) { var _lhs = _le5.default.model.ship.get(_lhn), _lht = [], _lhu = [], _lhv = []; if (_lhp) _lht = _lee.RemodelUtil.createUnSetListEx(_lhs.mstID, _lhs.getClassType(), _lhs.shipTypeID); else { var _lhw = _le5.default.model.equip.get(_lhs.mstID), _lhx = void 0; _lhx = this._excludeList.length > 0 ? _lhw.equip_type.filter(function(_lhy) { var _lhz = null; return -1 === _lhr._excludeList.indexOf(_lhy); }) : _lhw.equip_type, _lht = _le5.default.model.slot.createUnsetList(_lhx, null, _lhs.mstID), _lhu = _le5.default.model.slot.createUnsetList_unType(_lhw.equip_type, _lhs.mstID), _lhv = _le5.default.model.slot.createUnsetList(_lhw.equip_type, null, _lhs.mstID); } this.unsetList = _lht, this.unsetList_all = _ldt(_ldt([], _lhv, !0), _lhu, !0); } }, _let.prototype._initSetList_ = function(_li0, _li1, _li2) { var _li3 = null, _li4 = this; if (!this.setList) { var _li5, _li6, _li7 = _le5.default.model.ship.get(_li0), _li8 = {}, _li9 = new Array(); if (_li1 ? _li5 = _lee.RemodelUtil.createSetListEx(_li7.memID, _li7.mstID, _li7.getClassType(), _li7.shipTypeID) : (_li6 = _le5.default.model.equip.get(_li7.mstID), _li5 = _le5.default.model.slot.createSetList(_li6.equip_type, null, -1, _li7.mstID)), _li5[0] = _li5[0].filter(function(_lia) { var _lib = null, _lic = _li5[1][_lia.memID] == _li7.memID; return _lic && delete _li5[1][_lia.memID], 0 == _lic; }), !_li1) { for (var _lid = 0; _lid < _li5[0].length; _lid++) _li9.push(_li5[0][_lid]); for (var _lie in _li5[1]) { _li8[parseInt(_lie)] = _li5[1][_lie]; } var _lif; _lif = _le5.default.model.slot.createSetList_unType(_li6.equip_type); for (_lid = 0; _lid < _lif[0].length; _lid++) _li9.push(_lif[0][_lid]); for (var _lie in _lif[1]) { _li8[parseInt(_lie)] = _lif[1][_lie]; } this.setList_all = [_li9, _li8]; } _li5[0] = _li5[0].filter(function(_lig) { var _lih = null; return !_le6.SlotUtil.isMstEquipShipExceptionSlotItem(_li7.mstID, _lig.equipType, _lig.mstID); }), _li1 || _li6.equip_type.indexOf(_leo.EquipType._04_HUKUHOU) > -1 && -1 == _li6.equip_type.indexOf(_leo.EquipType._95_HUKUHOU_L) && (_li5[0] = _li5[0].filter(function(_lii) { var _lij = null; return 467 != _lii.mstID; })), this._excludeList.length > 0 && (_li5[0] = _li5[0].filter(function(_lik) { var _lil = null; return -1 === _li4._excludeList.indexOf(_lik.equipType); })), this.setList = _li5; } }, _let.prototype._updateMode_ = function(_lim) { var _lin = null; switch (this.slotItemList.inUseMarker.visible = !1, _lim) { case _led.SlotListMode.SET: this.slotItemList.listHeader.update(this.slotItemList.listHeader.TYPE_SET), this.slotItemList.changeListSwitch.update(this.slotItemList.changeListSwitch.TYPE_EQUIPS_OTHER), this.slotItemList.inUseMarker.visible = !0; break; case _led.SlotListMode.UNSET: this.slotItemList.listHeader.update(this.slotItemList.listHeader.TYPE_UNSET), this.slotItemList.changeListSwitch.update(this.slotItemList.changeListSwitch.TYPE_UNEQUIPS); } this.mode = _lim, _leb.SceneMemory.listMode = _lim; }, _let.prototype._genSource_ = function(_lio, _lip) { var _liq = null; switch (_lio) { case _led.SlotListMode.SET: return 15 == _lip ? this._genFilterSlotItems_(_lio, _lip, this.setList_all[0]) : this._genFilterSlotItems_(_lio, _lip, this.setList[0]); case _led.SlotListMode.UNSET: return 15 == _lip ? this._genFilterSlotItems_(_lio, _lip, this.unsetList_all) : this._genFilterSlotItems_(_lio, _lip, this.unsetList); } throw new Error('unsupported XO'); }, _let.prototype._updatePager_ = function(_lir) { var _lis = null, _lit = _lee.RemodelUtil.calcPageCount(_lir.length); this.slotItemList.pagerView.init(_lit); }, _let.prototype._updateFilter_ = function(_liu) { var _liv = null; this.slotItemList.slotItemFilterView.updateFilterType(_liu), _leb.SceneMemory.slotItemFilter = _liu; }, _let.prototype._genFilterSlotItems_ = function(_liw, _lix, _liy) { var _liz = null; if (0 == _lix || 15 == _lix) return _le6.SlotUtil.sort(_liy, 0), _liy; if (13 == _lix) return _le6.SlotUtil.sort(_liy, 1), _liy; if (14 == _lix) return _le6.SlotUtil.sort(_liy, 2), _liy; var _lj0, _lj1 = _liy; switch (_liw != _led.SlotListMode.UNSET || 11 != _lix && 12 != _lix || (_lj1 = _liy.concat(this.sortieSlotItems)), _lix) { case 1: _lj0 = _le6.SlotUtil.filter(_lj1, 1); break; case 2: _lj0 = _le6.SlotUtil.filter(_lj1, 2); break; case 3: _lj0 = _le6.SlotUtil.filter(_lj1, 3); break; case 4: _lj0 = _le6.SlotUtil.filter(_lj1, 4); break; case 5: _lj0 = _le6.SlotUtil.filter(_lj1, 5); break; case 6: _lj0 = _le6.SlotUtil.filter(_lj1, 6); break; case 7: _lj0 = _le6.SlotUtil.filter(_lj1, 7); break; case 8: _lj0 = _le6.SlotUtil.filter(_lj1, 8); break; case 9: _lj0 = _le6.SlotUtil.filter(_lj1, 9); break; case 10: _lj0 = _le6.SlotUtil.filter(_lj1, 10); break; case 11: _lj0 = _le6.SlotUtil.filter(_lj1, 11); break; case 12: _lj0 = _le6.SlotUtil.filter(_lj1, 12); } return _le6.SlotUtil.sort(_lj0, 0), _lj0; }, _let; }()); _ldq.TaskChoiceSlotItem = _ler; }, 20824: function(_lj2, _lj3, _lj4) { 'use strict'; var _lj5 = null; var _lj6, _lj7 = this && this.__extends || (_lj6 = function(_lj8, _lj9) { var _lja = null; return _lj6 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ljb, _ljc) { var _ljd = null; _ljb.__proto__ = _ljc; } || function(_lje, _ljf) { var _ljg = null; for (var _ljh in _ljf) Object.prototype.hasOwnProperty.call(_ljf, _ljh) && (_lje[_ljh] = _ljf[_ljh]); }, _lj6(_lj8, _lj9); }, function(_lji, _ljj) { var _ljk = null; if ('function' != typeof _ljj && null !== _ljj) throw new TypeError('Class extends value ' + String(_ljj) + ' is not a constructor or null'); function _ljl() { var _ljm = null; this.constructor = _lji; } _lj6(_lji, _ljj), _lji.prototype = null === _ljj ? Object.create(_ljj) : (_ljl.prototype = _ljj.prototype, new _ljl()); }), _ljn = this && this.__importDefault || function(_ljo) { var _ljp = null; return _ljo && _ljo.__esModule ? _ljo : { 'default': _ljo }; }; defineModule(_lj3); Object.defineProperty(_lj3, '__esModule', { 'value': !0 }), _lj3.TaskDeployPresetSlot = _lj3.DeployMode = void 0; var _ljq, _ljr = _lj4(35660), _ljs = _lj4(81755), _ljt = _lj4(36276), _lju = _lj4(23424), _ljv = _lj4(61864), _ljw = _lj4(93211), _ljx = _lj4(44237), _ljy = _ljn(_lj4(18622)), _ljz = _lj4(79899), _lk0 = _lj4(35380), _lk1 = _lj4(30458); ! function(_lk2) { var _lk3 = null; _lk2[_lk2.modeA = 1] = 'modeA', _lk2[_lk2.modeB = 2] = 'modeB'; }(_ljq || (_lj3.DeployMode = _ljq = {})); var _lk4 = function(_lk5) { var _lk6 = null; function _lk7(_lk8, _lk9, _lka) { var _lkb = null, _lkc = _lk5.call(this) || this; return _lkc._onClickDeploy = function(_lkd, _lke) { var _lkf = null, _lkg = new _ljr.APIConnector(); _lkg.add(new _lju.PresetSlotSelectAPI(_lkd, _lkc._targetShip.memID, _lke)), _lkg.add(new _ljx.Ship3API(_lkc._targetShip.memID)), _lkg.start(function() { var _lkh = null; _lkc._onUpdateSlotItem(), _lkc._close(); }), _lkc._shipVoice.play(_lkc._targetShip.memID); }, _lkc._onClickUpdateExSlotFlag = function(_lki) { var _lkj = null; new _lk1.PresetSlotUpdateExslotFlagAPI(_lki).start(function() { var _lkk = null; _lkc._model.updatePresetItemExFlag(_lki), _lkc._presetLayer.update(_lkc._model, _lki); }); }, _lkc._onClickBackArea = function() { var _lkl = null; _lkc._close(); }, _lkc._targetShip = _lk8, _lkc._onUpdateSlotItem = _lka, _lkc._shipVoice = _lk9, _lkc._backArea = new _ljz.AreaBox(0.5), _lkc._backArea.interactive = _lkc._backArea.buttonMode = !0, _lkc._backArea.on(_lk0.EventType.CLICK, _lkc._onClickBackArea), _lkc; } return _lj7(_lk7, _lk5), _lk7.prototype._start = function() { var _lkm = null; this._preLoad(); }, _lk7.prototype._preLoad = function() { var _lkn = null, _lko = this, _lkp = new _ljv.PresetSlotModel(); new _ljt.PresetSlotAPI(_lkp).start(function() { var _lkq = null; _lko._model = _lkp, _lko._showPreset(); }); }, _lk7.prototype._showPreset = function() { var _lkr = null; _ljy.default.view.clickGuard = !0, this._presetLayer = new _ljw.PresetDeployLayer(this._onClickDeploy, this._onClickUpdateExSlotFlag, this._onClickBackArea), this._presetLayer.position.set(95, 14), this._presetLayer.alpha = 0, this._backArea.alpha = 0, this._presetLayer.initialize(this._model, this._targetShip), (_ljy.default.view.overLayer.addChild(this._backArea), _ljy.default.view.overLayer.addChild(this._presetLayer), createjs.Tween.get(this._presetLayer).to({ 'alpha': 1 }, 125), createjs.Tween.get(this._backArea).to({ 'alpha': 1 }, 125).call(function() { var _lks = null; _ljy.default.view.clickGuard = !1; })); }, _lk7.prototype._close = function() { var _lkt = null, _lku = this; _ljy.default.view.clickGuard = !0, (createjs.Tween.get(this._backArea).to({ 'alpha': 0 }, 125), createjs.Tween.get(this._presetLayer).call(function() { var _lkv = null; _ljy.default.view.overLayer.removeChild(_lku._presetLayer), _ljy.default.view.overLayer.removeChild(_lku._backArea), _ljy.default.view.clickGuard = !1, _lku._endTask(); })); }, _lk7.prototype.dispose = function() { var _lkw = null; this._backArea.off(_lk0.EventType.CLICK, this._onClickBackArea), this._backArea.destroy(), this._backArea = null, this._presetLayer.dispose(), this._presetLayer = null; }, _lk7; }(_ljs.TaskBase); _lj3.TaskDeployPresetSlot = _lk4; }, 79755: function(_lkx, _lky, _lkz) { 'use strict'; var _ll0 = null; var _ll1 = this && this.__importDefault || function(_ll2) { var _ll3 = null; return _ll2 && _ll2.__esModule ? _ll2 : { 'default': _ll2 }; }; defineModule(_lky); Object.defineProperty(_lky, '__esModule', { 'value': !0 }), _lky.TaskExtension = void 0; var _ll4 = _ll1(_lkz(18622)), _ll5 = _lkz(79899), _ll6 = _lkz(70723), _ll7 = _lkz(87967), _ll8 = _lkz(87095), _ll9 = _lkz(190), _lla = (function() { var _llb = null; function _llc(_lld) { var _lle = null, _llf = this; this._onClickNo = function() { var _llg = null; _ll4.default.view.clickGuard = !0, (createjs.Tween.get(_llf.clickGuardConfirm).to({ 'alpha': 0 }, 250), createjs.Tween.get(_llf.extensionConfirm).to({ 'alpha': 0 }, 250).call(function() { var _llh = null; _llf.mainView.removeChild(_llf.clickGuardConfirm), _llf.mainView.removeChild(_llf.extensionConfirm), _ll4.default.view.clickGuard = !1, _llf.onComplete(); })); }, this._onClickYes = function() { var _lli = null; _ll4.default.view.clickGuard = !0, new _ll9.OpenExSlotAPI(_llf.memShipId).start(function() { var _llj = null; _ll6.SE.play('203'); var _llk = new _ll5.AreaBox(1, 16777215); _llk.alpha = 0, _llf.mainView.addChild(_llk), createjs.Tween.get(_llk).to({ 'alpha': 1 }, 2000).call(function() { var _lll = null; _llf.mainView.removeChild(_llf.clickGuardConfirm), _llf.mainView.removeChild(_llf.extensionConfirm), _llf.onUpdateShip(); }).to({ 'alpha': 0 }, 1000).call(function() { var _llm = null; _llf.mainView.removeChild(_llk), _ll4.default.view.clickGuard = !1, _llf.onComplete(); }); }); }, this.extensionConfirm = new _ll8.ExtensionConfirm(this._onClickYes, this._onClickNo), this.clickGuardConfirm = new _ll5.AreaBox(0.5), this.mainView = _lld; } return _llc.prototype.start = function(_lln) { var _llo = null; _ll4.default.view.clickGuard = !0; var _llp = _ll4.default.model.useItem.get(_ll7.RemodelConst.REINFORCEMENT_WORK_ITEMID).count; this.extensionConfirm.alpha = 0, this.clickGuardConfirm.alpha = 0, this.extensionConfirm.position.set(294, 212), this.extensionConfirm.update(_llp), this.mainView.addChild(this.clickGuardConfirm), this.mainView.addChild(this.extensionConfirm), this.memShipId = _lln, (createjs.Tween.get(this.clickGuardConfirm).to({ 'alpha': 1 }, 250), createjs.Tween.get(this.extensionConfirm).to({ 'alpha': 1 }, 250).call(function() { var _llq = null; _ll4.default.view.clickGuard = !1; })); }, _llc.prototype.dispose = function() { var _llr = null; this.extensionConfirm.dispose(), this.onUpdateShip = null, this.onComplete = null, this.extensionConfirm = null, this.clickGuardConfirm = null, this.mainView = null, this.memShipId = null; }, _llc; }()); _lky.TaskExtension = _lla; }, 42916: function(_lls, _llt, _llu) { 'use strict'; var _llv = null; var _llw = this && this.__importDefault || function(_llx) { var _lly = null; return _llx && _llx.__esModule ? _llx : { 'default': _llx }; }; defineModule(_llt); Object.defineProperty(_llt, '__esModule', { 'value': !0 }), _llt.TaskExtensionConfirm = void 0; var _llz = _llu(60282), _lm0 = _llw(_llu(18622)), _lm1 = _llu(79899), _lm2 = _llu(83415), _lm3 = (function() { var _lm4 = null; function _lm5(_lm6, _lm7) { var _lm8 = null, _lm9 = this; this._onClickYES = function() { var _lma = null; _lm9._onComplete(!0); }, this._onClickNO = function() { var _lmb = null; _lm9._onComplete(!1); }, this.container = _lm6, this.dialogBackground = new _lm1.AreaBox(_lm2.UISettings.DIALOG_BG_ALPHA), this.extensionPresetConfirm = new _llz.ExtensionPresetConfirm(this._onClickYES, this._onClickNO), this._onComplete = _lm7; } return _lm5.prototype.start = function(_lmc) { var _lmd = null, _lme = this; this.extensionPresetConfirm.position.set(218, 233), this.container.addChild(this.dialogBackground), this.container.addChild(this.extensionPresetConfirm), this.extensionPresetConfirm.visible = !1, this.dialogBackground.alpha = 0, _lm0.default.view.clickGuard = !0, createjs.Tween.get(this.dialogBackground).to({ 'alpha': 1 }, 250).call(function() { var _lmf = null; _lme.extensionPresetConfirm.visible = !0, _lm0.default.view.clickGuard = !1; }), this.extensionPresetConfirm.update(_lmc); }, _lm5.prototype.hide = function(_lmg) { var _lmh = null; this.extensionPresetConfirm.visible = !1, createjs.Tween.get(this.dialogBackground).to({ 'alpha': 0 }, 250).call(function() { _lmg(); }); }, _lm5.prototype.dispose = function() { var _lmi = null; this.extensionPresetConfirm.dispose(), this.container.removeChild(this.dialogBackground), this.container.removeChild(this.extensionPresetConfirm), this._onComplete = null, this.container = null, this.dialogBackground = null, this.extensionPresetConfirm = null; }, _lm5; }()); _llt.TaskExtensionConfirm = _lm3; }, 16718: (_lmj, _lmk, _lml) => { 'use strict'; var _lmm = null; defineModule(_lmk); Object.defineProperty(_lmk, '__esModule', { 'value': !0 }), _lmk.TaskGetSlotItemEffectParams = void 0; var _lmn = _lml(74496), _lmo = _lml(82692), _lmp = (function() { var _lmq = null; function _lmr(_lms, _lmt, _lmu) { var _lmv = null; this._removeSlots = [], this._toSlots = [], this._ship = _lms; var _lmw = _lms.getSlotitems(); _lmw.push(_lms.getSlotitemEx()); var _lmx = _lmw.map(function(_lmy) { var _lmz = null; return null == _lmy || null != _lmt && _lmy.memID == _lmt.memID ? null : _lmy; }); this._removeSlots = _lmx; var _ln0 = _lmx.map(function(_ln1) { return _ln1; }); _ln0.push(_lmu), this._toSlots = _ln0; } return _lmr.prototype.start = function() { var _ln2 = null, _ln3 = this._ship.getSlotitems(); _ln3.push(this._ship.getSlotitemEx()); var _ln4 = _lmo.SlotItemEffectUtil.getSlotitemEffect(this._ship, _ln3), _ln5 = _lmo.SlotItemEffectUtil.getSlotitemEffect(this._ship, this._removeSlots), _ln6 = _lmo.SlotItemEffectUtil.getSlotitemEffect(this._ship, this._toSlots); return { 'fromSlotItemEffect': this._subEffectModels(_ln4, _ln5), 'toSlotItemEffect': this._subEffectModels(_ln6, _ln5) }; }, _lmr.prototype._subEffectModels = function(_ln7, _ln8) { var _ln9 = null, _lna = new _lmn.SlotItemEffectModel(); return _lna.houg = _ln7.houg - _ln8.houg, _lna.raig = _ln7.raig - _ln8.raig, _lna.tyku = _ln7.tyku - _ln8.tyku, _lna.souk = _ln7.souk - _ln8.souk, _lna.kaih = _ln7.kaih - _ln8.kaih, _lna.tais = _ln7.tais - _ln8.tais, _lna.saku = _ln7.saku - _ln8.saku, _lna.baku = _ln7.baku - _ln8.baku, _lna.houm = _ln7.houm - _ln8.houm, _lna.leng = _ln7.leng - _ln8.leng, _lna; }, _lmr; }()); _lmk.TaskGetSlotItemEffectParams = _lmp; }, 99885: function(_lnb, _lnc, _lnd) { 'use strict'; var _lne = null; var _lnf = this && this.__importDefault || function(_lng) { var _lnh = null; return _lng && _lng.__esModule ? _lng : { 'default': _lng }; }; defineModule(_lnc); Object.defineProperty(_lnc, '__esModule', { 'value': !0 }), _lnc.TaskIdleMain = void 0; var _lni = _lnf(_lnd(18622)), _lnj = _lnd(35660), _lnk = _lnd(18343), _lnl = _lnd(90054), _lnm = _lnd(11997), _lnn = _lnd(47374), _lno = _lnd(15981), _lnp = _lnd(44237), _lnq = _lnd(33704), _lnr = _lnd(55285), _lns = _lnd(95652), _lnt = _lnd(36083), _lnu = _lnd(57828), _lnv = _lnd(8817), _lnw = _lnd(36609), _lnx = _lnd(68493), _lny = _lnd(26236), _lnz = _lnd(38834), _lo0 = _lnd(87967), _lo1 = _lnd(62080), _lo2 = _lnd(80515), _lo3 = _lnd(66034), _lo4 = _lnd(59611), _lo5 = _lnd(27228), _lo6 = _lnd(79755), _lo7 = _lnd(20824), _lo8 = _lnd(90593), _lo9 = _lnd(83426), _loa = _lnd(70723), _lob = _lnd(2016), _loc = _lnd(12089), _lod = _lnd(35837), _loe = _lnd(94341), _lof = _lnd(28726), _log = _lnd(79899), _loh = _lnd(16677), _loi = _lnd(14921), _loj = (function() { var _lok = null; function _lol(_lom) { var _lon = null, _loo = this; this._onClickExtension = function() { var _lop = null; _loh.WheelEventUtil.clear(), _loo.taskExtension = new _lo6.TaskExtension(_lni.default.view.overLayer), (_loo.taskExtension.onUpdateShip = function() { var _loq = null; _loo._updateShipDetail_(_loo.memShipId); }, _loo.taskExtension.onComplete = function() { var _lor = null; _loo.taskExtension.dispose(), _loo.taskExtension = null, null == _loo.deckId ? _loh.WheelEventUtil.regist(_loo._onWheelOtherShipList.bind(_loo)) : _loh.WheelEventUtil.regist(_loo._onWheel3rdShipList.bind(_loo)); }, _loo.taskExtension.start(_loo.memShipId)); }, this._onClickMarriage = function() { var _los = null; _loh.WheelEventUtil.clear(), _lni.default.view.clickGuard = !1, (_loo.taskMarriage = new _lo5.TaskMarriage(_loo.mainView), _loo.taskMarriage.onUpdateShip = function() { var _lot = null; if (_loo._updateShipDetail_(_loo.memShipId), null === _loo.deckId) { var _lou = 0, _lov = _lni.default.model.ship.getAllOther(); _lnk.ShipUtil.sort(_lov, 1), (_lov = _lov.reverse()).forEach(function(_low, _lox) { var _loy = null; _low.memID == _loo.memShipId && (_lou = Math.floor(_lox / _lo0.RemodelConst.ITEM_NUM)); }), _loo._updateOtherShipSource_(_lov), _loo._changeOtherShipPage_(_lou); } else _loo._updateShipSlot_(_loo.deckId, _loo.shipInDeckOrigin); }, _loo.taskMarriage.onComplete = function() { var _loz = null; _loo.taskMarriage.dispose(), _loo.taskMarriage = null, null == _loo.deckId ? _loh.WheelEventUtil.regist(_loo._onWheelOtherShipList.bind(_loo)) : _loh.WheelEventUtil.regist(_loo._onWheel3rdShipList.bind(_loo)); }, _loo.taskMarriage.start(_loo.memShipId)); }, this._onClickDeployPreset = function() { var _lp0 = null; if (!_loo._checkShipStatus()) { _loh.WheelEventUtil.clear(); var _lp1 = _lni.default.model.ship.get(_loo.memShipId); _loo.taskDeployPresetSlot = new _lo7.TaskDeployPresetSlot(_lp1, _loo.shipVoice, function() { var _lp2 = null; _loo._updateShipDetail_(_loo.memShipId); }), _loo.taskDeployPresetSlot.start(function() { var _lp3 = null; _loo.taskDeployPresetSlot.dispose(), _loo.taskDeployPresetSlot = null, null == _loo.deckId ? _loh.WheelEventUtil.regist(_loo._onWheelOtherShipList.bind(_loo)) : _loh.WheelEventUtil.regist(_loo._onWheel3rdShipList.bind(_loo)); }); } }, this._onClickSavePreset = function() { var _lp4 = null; if (!_loo._checkShipStatus()) { _loh.WheelEventUtil.clear(); var _lp5 = _lni.default.model.ship.get(_loo.memShipId); _loo.taskSavePresetSlot = new _lo8.TaskSavePresetSlot(_lp5), _loo.taskSavePresetSlot.start(function() { var _lp6 = null; _loo._updateShipDetail_(_loo.memShipId), _loo.taskSavePresetSlot.dispose(), _loo.taskSavePresetSlot = null, null == _loo.deckId ? _loh.WheelEventUtil.regist(_loo._onWheelOtherShipList.bind(_loo)) : _loh.WheelEventUtil.regist(_loo._onWheel3rdShipList.bind(_loo)); }); } }, this._onClickKindaika = function() { var _lp7 = null; _loh.WheelEventUtil.clear(), (_loo.taskKindaika = new _lo3.TaskKindaika(_loo.mainView), _loo.taskKindaika.onUpdateShip = function() { var _lp8 = null, _lp9 = _lni.default.model.deck.getIDs(), _lpa = _lni.default.model.ship.getAllOther(); if (_lnk.ShipUtil.sort(_lpa, 1), _loo._updateOtherShipSource_(_lpa), _loo._updateDeckSelector_(_lp9, _lpa.length), _loo._updateShipDetail_(_loo.memShipId), _lpa = _lpa.reverse(), null == _loo.deckId) { var _lpb = -1; _lpa.forEach(function(_lpc, _lpd) { var _lpe = null; _lpc.memID == _loo.memShipId && (_lpb = Math.floor(_lpd / _lo0.RemodelConst.ITEM_NUM)); }), _loo.deckSelectView.focusOther(), _loo._changeOtherShipPage_(_lpb); } else { _loo._updateShipSlot_(_loo.deckId, _loo.shipInDeckOrigin); var _lpf = _lni.default.model.deck.get(_loo.deckId).isInDeck(_loo.memShipId) - _loo.shipInDeckOrigin; _loo.deckCraneFrame.focus(_lpf), _loo.deckCraneFrame.moveCraneImmidiate(_lpf), _loo.deckSelectView.focusDeck(_loo.deckId); } }, _loo.taskKindaika.onComplete = function() { var _lpg = null; _loo.taskKindaika.dispose(), _loo.taskKindaika = null, null == _loo.deckId ? _loh.WheelEventUtil.regist(_loo._onWheelOtherShipList.bind(_loo)) : _loh.WheelEventUtil.regist(_loo._onWheel3rdShipList.bind(_loo)); }, _loo.taskKindaika.start(_loo.memShipId)); }, this._onClickKaizoButton = function() { var _lph = null; _loh.WheelEventUtil.clear(), (_loo.taskKaizo = new _lo4.TaskKaizo(_loo.mainView), _loo.taskKaizo.start(_loo.memShipId, function() { var _lpi = null; if (_loo._updateShipDetail_(_loo.memShipId), null === _loo.deckId) { var _lpj = 0, _lpk = _lni.default.model.ship.getAllOther(); _lnk.ShipUtil.sort(_lpk, 1), (_lpk = _lpk.reverse()).forEach(function(_lpl, _lpm) { var _lpn = null; _lpl.memID == _loo.memShipId && (_lpj = Math.floor(_lpm / _lo0.RemodelConst.ITEM_NUM)); }), _loo._updateOtherShipSource_(_lpk), _loo._changeOtherShipPage_(_lpj); } else _loo._updateShipSlot_(_loo.deckId, _loo.shipInDeckOrigin); }, function() { var _lpo = null; _loo.taskKaizo.dispose(), _loo.taskKaizo = null, null == _loo.deckId ? _loh.WheelEventUtil.regist(_loo._onWheelOtherShipList.bind(_loo)) : _loh.WheelEventUtil.regist(_loo._onWheel3rdShipList.bind(_loo)); })); }, this._onClickExtraSlot = function() { var _lpp = null; _loh.WheelEventUtil.clear(); var _lpq = _lo9.SceneMemory.slotItemFilter, _lpr = _lo9.SceneMemory.slotItemPage, _lps = _lo9.SceneMemory.listMode; _lo9.SceneMemory.slotItemFilter = 0, _lo9.SceneMemory.slotItemPage = 0, _lo9.SceneMemory.listMode = _lo1.SlotListMode.UNSET, _loo.arrowBottomButton.alpha = 0, _loo.arrowTopButton.alpha = 0, _loo.taskChoiceSlotItem = new _lo2.TaskChoiceSlotItem(_loo.mainView, _loo.shipDetail), _loo.taskChoiceSlotItem.onUpdateSlotItem = function() { var _lpt = null; _loo._updateShipDetail_(_loo.memShipId); }, _loo.taskChoiceSlotItem.onComplete = function() { var _lpu = null; _loo.arrowBottomButton.alpha = 1, _loo.arrowTopButton.alpha = 1, _loo.taskChoiceSlotItem.dispose(), _loo.taskChoiceSlotItem = null, _lo9.SceneMemory.slotItemFilter = _lpq, _lo9.SceneMemory.slotItemPage = _lpr, _lo9.SceneMemory.listMode = _lps, null == _loo.deckId ? _loh.WheelEventUtil.regist(_loo._onWheelOtherShipList.bind(_loo)) : _loh.WheelEventUtil.regist(_loo._onWheel3rdShipList.bind(_loo)); }, _loo.taskChoiceSlotItem.start(_loo.memShipId, -1, _loo.shipVoice); }, this._onClickDetachExtraSlot = function() { var _lpv = null; _loh.WheelEventUtil.clear(); var _lpw = _loo.memShipId, _lpx = new _lnj.APIConnector(), _lpy = new _lnq.SlotSetExAPI(_lpw, -1), _lpz = new _lnp.Ship3API(_lpw); _loa.SE.play('106'), _lni.default.view.clickGuard = !0, _lpx.add(_lpy).add(_lpz), _lpx.start(function() { var _lq0 = null; _lni.default.view.clickGuard = !1, _loo._updateShipDetail_(_lpw), null == _loo.deckId ? _loh.WheelEventUtil.regist(_loo._onWheelOtherShipList.bind(_loo)) : _loh.WheelEventUtil.regist(_loo._onWheel3rdShipList.bind(_loo)); }); }, this._onClickDetachAll = function() { var _lq1 = null; _loh.WheelEventUtil.clear(); var _lq2 = _loo.memShipId, _lq3 = new _lnj.APIConnector(), _lq4 = new _lnr.UnsetSlotAll(_lq2), _lq5 = new _lnp.Ship3API(_lq2); _loa.SE.play('106'), _lni.default.view.clickGuard = !0, _lq3.add(_lq4).add(_lq5), _lq3.start(function() { var _lq6 = null; _lni.default.view.clickGuard = !1, _loo._updateShipDetail_(_lq2), null == _loo.deckId ? _loh.WheelEventUtil.regist(_loo._onWheelOtherShipList.bind(_loo)) : _loh.WheelEventUtil.regist(_loo._onWheel3rdShipList.bind(_loo)); }); }, this._onClickDetach = function(_lq7) { var _lq8 = null; _loh.WheelEventUtil.clear(); var _lq9 = _loo.memShipId, _lqa = new _lno.SlotSetAPI(_lq9, -1, _lq7), _lqb = new _lnp.Ship3API(_lq9), _lqc = new _lnj.APIConnector(); _loa.SE.play('106'), (_lni.default.view.clickGuard = !0, _lqc.add(_lqa).add(_lqb), _lqc.start(function() { var _lqd = null; _lni.default.view.portMain.updateInfo(), _lni.default.view.clickGuard = !1, _loo._updateShipDetail_(_lq9), null == _loo.deckId ? _loh.WheelEventUtil.regist(_loo._onWheelOtherShipList.bind(_loo)) : _loh.WheelEventUtil.regist(_loo._onWheel3rdShipList.bind(_loo)); })); }, this._onMouseDownSlot = function(_lqe, _lqf) { var _lqg = null, _lqh = _loo.memShipId, _lqi = _lni.default.model.ship.get(_lqh).getSlotitems(); if (!_loo._checkShipStatus() && null != _lqi[_lqe]) { var _lqj = { 'x': _loo.shipDetail.x + _loo.slotItemSlotBox.x, 'y': _loo.shipDetail.y + _loo.slotItemSlotBox.y }; _loh.WheelEventUtil.isEnabled = !1, _loo._slotDragging = new _lof.SlotItemDragging(_lqj, _lqf, _lqe, _loo.slotItemSlotBox.slotItemSlots, _lqi, _loo._onDropSlotItem, _loo._removeSlotDraggingLayer), _lni.default.view.overLayer.addChild(_loo._slotDragging); } }, this._removeSlotDraggingLayer = function() { var _lqk = null; _loo._slotDragging.dispose(), _lni.default.view.overLayer.removeChild(_loo._slotDragging), _loo._slotDragging = null, _loh.WheelEventUtil.isEnabled = !0; }, this._onMouseOut = function() { var _lql = null; _loo._slotDragging && _loo._slotDragging.inDraggingEventWaiting() && _loo._slotDragging.cancel(); }, this._onMouseUp = function(_lqm) { var _lqn = null; _loo._slotDragging && _loo._slotDragging.inDraggingEventWaiting() && _loo._slotDragging.cancel(), _loo._onClickShipDetailSlot(_lqm); }, this._onDropSlotItem = function(_lqo, _lqp, _lqq) { var _lqr = null; if (_lqo != _lqp && !(_lqo < _lqq.length - 1 && null == _lqq[_lqo + 1] && _lqp > _lqo || _lqp >= _lqq.length)) { var _lqs = _lni.default.model.ship.get(_loo.memShipId); if (_lqp > -1) { var _lqt = _loi.SlotUtil.excludeEquipList(_lqs.memID, _lqo, !1), _lqu = _loi.SlotUtil.excludeEquipList(_lqs.memID, _lqp, !1), _lqv = _lqq[_lqo].equipType, _lqw = null == _lqq[_lqp] ? null : _lqq[_lqp].equipType; if (_lqt.indexOf(_lqw) > -1) return void 0; if (_lqu.indexOf(_lqv) > -1) return void 0; } _lqp > -1 ? _loo._changeSlotItem(_lqo, _lqp) : _loo._removeSlotItem(_lqo); } }, this._changeSlotItem = function(_lqx, _lqy) { var _lqz = null; _loa.SE.play('240'), _loo.shipVoice.play(_loo.memShipId); var _lr0 = new _log.AreaBox(0); _lni.default.view.overLayer.addChild(_lr0), new _lns.SlotExchangeIndexAPI(_loo.memShipId, _lqx, _lqy).start(function() { var _lr1 = null; _lni.default.view.portMain.updateInfo(), _loo._updateShipDetail_(_loo.memShipId), _lni.default.view.overLayer.removeChild(_lr0); }); }, this._removeSlotItem = function(_lr2) { var _lr3 = null; _loa.SE.play('106'); var _lr4 = new _log.AreaBox(0); _lni.default.view.overLayer.addChild(_lr4), new _lnj.APIConnector().add(new _lno.SlotSetAPI(_loo.memShipId, -1, _lr2)).add(new _lnp.Ship3API(_loo.memShipId)).start(function() { var _lr5 = null; _lni.default.view.portMain.updateInfo(), _loo._updateShipDetail_(_loo.memShipId), _lni.default.view.overLayer.removeChild(_lr4); }); }, this._onClickShipDetailSlot = function(_lr6) { var _lr7 = null; _loh.WheelEventUtil.clear(); var _lr8 = new _lo2.TaskChoiceSlotItem(_loo.mainView, _loo.shipDetail); _loo.arrowBottomButton.alpha = 0, _loo.arrowTopButton.alpha = 0, (_lr8.onUpdateSlotItem = function() { var _lr9 = null; _loo._updateShipDetail_(_loo.memShipId); }, _lr8.onComplete = function() { var _lra = null; _loo.arrowBottomButton.alpha = 1, _loo.arrowTopButton.alpha = 1, _loo.taskChoiceSlotItem.dispose(), _loo.taskChoiceSlotItem = null, null == _loo.deckId ? _loh.WheelEventUtil.regist(_loo._onWheelOtherShipList.bind(_loo)) : _loh.WheelEventUtil.regist(_loo._onWheel3rdShipList.bind(_loo)); }, _loo.taskChoiceSlotItem = _lr8, _lr8.start(_loo.memShipId, _lr6, _loo.shipVoice)); }, this._onClickShipSlot = function(_lrb, _lrc) { var _lrd = null; _loo.memShipId != _lrc && (_loo.deckCraneFrame.focus(_lrb), _loo.deckCraneFrame.moveCrane(_lrb), _loo._updateShip_(_lrc)); }, this._onClickOtherListItem = function(_lre) { var _lrf = null; _loo.memShipId != _lre && _loo._updateShip_(_lre); }, this._onWheelOtherShipList = function(_lrg) { var _lrh = null; if (0 != _lrg.delta && (null != _loo.otherShipList && !(_loo.mainView.children.indexOf(_loo.otherShipList) < 0))) { var _lri = _lnz.RemodelUtil.calcPageCount(_loo.otherShips.length); if (0 != _lri) { var _lrj = _lrg.delta > 0 ? _loo.pageIndex + 1 : _loo.pageIndex - 1; _lrj < 0 || _lrj + 1 > _lri || (_lrg.enabledGuard(), _loo._onClickMiniPager(_lrj)); } } }, this._onClickArrowTop = function() { var _lrk = null, _lrl = _loo.shipInDeckOrigin; _lrl--; var _lrm = _lni.default.model.deck.get(_loo.deckId), _lrn = _lrm.isInDeck(_loo.memShipId), _lro = _lrn - _lrl; if (_loo.shipSlots.length <= _lro) { var _lrp = _lrm.getShipMemID(_lrl + (_loo.shipSlots.length - 1)); _loo._updateShip_(_lrp), _lro = _loo.shipSlots.length - 1, _lrn = _loo.shipSlots.length - 1; } _loo._updateShipSlot_(_loo.deckId, _lrl), _loo.deckCraneFrame.focus(_lro), _loo.deckCraneFrame.moveCraneImmidiate(_lro); }, this._onClickArrowBottom = function() { var _lrq = null, _lrr = _loo.shipInDeckOrigin; _lrr++; var _lrs = _lni.default.model.deck.get(_loo.deckId), _lrt = _lrs.isInDeck(_loo.memShipId), _lru = _lrt - _lrr; if (_lru < 0) { var _lrv = _lrs.getShipMemID(_lrr); _loo._updateShip_(_lrv), _lru = 0, _lrt = 0; } _loo._updateShipSlot_(_loo.deckId, _lrr), _loo.deckCraneFrame.focus(_lru), _loo.deckCraneFrame.moveCraneImmidiate(_lru); }, this._onWheel3rdShipList = function(_lrw) { var _lrx = null; 0 != _lrw.delta && (_lrw.delta > 0 ? (_lrw.enabledGuard(), _loo.shipInDeckOrigin + 1 + _loo.shipSlots.length <= _lni.default.model.deck.get(_loo.deckId).getCount() && _loo._onClickArrowBottom()) : (_lrw.enabledGuard(), 0 <= _loo.shipInDeckOrigin - 1 && _loo._onClickArrowTop())); }, this._onClickDeckTab = function(_lry) { var _lrz = null; if (_loo.deckId != _lry) { var _ls0 = _lni.default.model.deck.get(_lry); _loo.deckCraneFrame.deFocus(), _loo.deckCraneFrame.hideCraneImmidiate(); var _ls1 = -1; 0 < _ls0.getCount() && (_ls1 = _ls0.getShipMemID(0), _loo.deckCraneFrame.focus(0), _loo.deckCraneFrame.insertCrane()), _loo.shipInDeckOrigin = 0, _loo._updateShipSlot_(_lry, _loo.shipInDeckOrigin), _loo._updateShip_(_ls1), _loo._updateDeck_(_lry); } }, this._onClickOtherTab = function() { var _ls2 = null; if (null != _loo.deckId) { var _ls3 = _loo.otherShips[0].memID; _loo._updateShip_(_ls3), _loo._updateDeck_(null), _loo._changeOtherShipPage_(0); } }, this._onClickMiniPager = function(_ls4) { var _ls5 = null; if (_loo.pageIndex != _ls4) { var _ls6 = _loo.otherShips[_ls4 * _lo0.RemodelConst.ITEM_NUM]; _loo._updateShip_(_ls6.memID), _loo._changeOtherShipPage_(_ls4); } }, this.shipInDeckOrigin = 0, this.mainView = _lom, this.deckSelectView = new _lnt.DeckSelectView(), this.select_bg_crane01 = new PIXI.Sprite(_lnn.REMODEL_MAIN.getTexture(44)), this.select_bg_crane02 = new PIXI.Sprite(_lnn.REMODEL_MAIN.getTexture(45)), this.headerKansenSentaku = new _lnu.TitleBar(), this.headerKansenSentaku.initialize(_lnl.COMMON_MAIN.getTexture(1), 195), this.shipSlots = new Array(); for (var _ls7 = [ [0, 0], [0, 81], [0, 162], [0, 243], [0, 324], [0, 405] ], _ls8 = 206, _ls9 = 222, _lsa = 0; _lsa < _ls7.length; _lsa++) { var _lsb = new _lob.ShipSlot(); _lsb.position.x = _ls7[_lsa][0] + _ls8, _lsb.position.y = _ls7[_lsa][1] + _ls9, this.shipSlots.push(_lsb); } this.deckCraneFrame = new _lnv.DeckCraneFrame(), this.otherBackground = new PIXI.Sprite(_lnl.COMMON_MAIN.getTexture(13)), this.miniPager = new _lnw.MiniPager(), this.otherShipList = new _lnx.OtherShipList(10), this.otherShipFrame = new _lnv.OtherShipFrame(), this.arrowTopButton = new _lod.ArrowTopButton(), this.arrowBottomButton = new _lod.ArrowBottomButton(), _lni.default.model.deck.isCombined() && (this.combinedView = new _loe.CombinedView(), this.combinedView.position.set(0, 0)), _lni.default.model.deck.exist3rdUnit && (this.icon3rdUnit = new PIXI.Sprite(_lnm.COMMON_MISC.getTexture(187))), this.shipDetail = new _lny.ShipDetail(), this.shipDetailEmpty = new _lny.ShipDetailEmpty(), this.kaizoButton = this.shipDetail.kaizoButton, this.kindaikaButton = this.shipDetail.kindaikaButton, this.slotItemSlotBox = this.shipDetail.slotItemSlotBox, this.extraSlotItemSlot = this.shipDetail.extraSlotItemSlot, this.shipCard = this.shipDetail.shipCard, this.detachAllButton = this.shipDetail.detachAllButton, this.shipParameter = this.shipDetail.shipParameter, this.extensionButton = this.shipDetail.extensionButton, this.marriageButton = this.shipDetail.marriageButton, this.deployPresetButton = this.shipDetail.deployPresetButton, this.savePresetButton = this.shipDetail.savePresetButton, this.kindaikaButton.onClick = this._onClickKindaika, this.kaizoButton.onClick = this._onClickKaizoButton, this.extraSlotItemSlot.onClick = this._onClickExtraSlot, this.extraSlotItemSlot.onClickDetach = this._onClickDetachExtraSlot, this.detachAllButton.onClick = this._onClickDetachAll, this.slotItemSlotBox.mousedown = this._onMouseDownSlot, this.slotItemSlotBox.onMouseUp = this._onMouseUp, this.slotItemSlotBox.onMouseOut = this._onMouseOut, this.slotItemSlotBox.onClickDetach = this._onClickDetach, this.extensionButton.onClick = this._onClickExtension, this.marriageButton.onClick = this._onClickMarriage, this.deployPresetButton.onClick = this._onClickDeployPreset, this.savePresetButton.onClick = this._onClickSavePreset, this.deckSelectView.onClickDeck = this._onClickDeckTab, this.deckSelectView.onClickOther = this._onClickOtherTab; for (var _lsc = 0; _lsc < this.shipSlots.length; _lsc++) this.shipSlots[_lsc].onClick = this._onClickShipSlot; this.miniPager.onClick = this._onClickMiniPager, this.otherShipList.onClick = this._onClickOtherListItem, this.arrowTopButton.onClick = this._onClickArrowTop, this.arrowBottomButton.onClick = this._onClickArrowBottom, this.combinedView && (this.combinedView.position.set(197, 150), this.combinedView.activate()), this.icon3rdUnit && this.icon3rdUnit.position.set(282, 139), this.memShipId = null, this.deckId = null, this.pageIndex = null, this.shipVoice = new _loc.ShipVoice([9, 10, 26]); } return _lol.prototype._checkShipStatus = function() { var _lsd = null, _lse = this.memShipId, _lsf = _lni.default.model.ship.get(_lse), _lsg = _lsf.getSlotitems(), _lsh = _lni.default.model.deck.isInDeck(_lsf.memID); if (_lsh && _lni.default.model.deck.get(_lsh[0]).expedition) return !0; return !!_lsf.isRepair() || 0 == _lsg.length; }, _lol.prototype.dispose = function() { var _lsi = null; this.taskChoiceSlotItem && this.taskChoiceSlotItem.dispose(), this.taskChoiceSlotItem = null, this.taskKindaika && this.taskKindaika.dispose(), this.taskKindaika = null, this.taskKaizo && this.taskKaizo.dispose(), this.taskKaizo = null, this.taskMarriage && this.taskMarriage.dispose(), this.taskMarriage = null, this.taskExtension && this.taskExtension.dispose(), this.mainView.removeChildren(), this.taskExtension = null, this.kindaikaButton.onClick = this._onClickKindaika = null, this.kaizoButton.onClick = this._onClickKaizoButton = null, this.extraSlotItemSlot.onClick = this._onClickExtraSlot = null, this.extraSlotItemSlot.onClickDetach = this._onClickDetachExtraSlot = null, this.detachAllButton.onClick = this._onClickDetachAll = null, this.slotItemSlotBox.mousedown = this._onMouseDownSlot = null, this.slotItemSlotBox.onClickDetach = this._onClickDetach = null, this.slotItemSlotBox.onMouseUp = this._onMouseUp = null, this.slotItemSlotBox.onMouseOut = this._onMouseOut = null, this.extensionButton.onClick = this._onClickExtension = null, this.marriageButton.onClick = this._onClickMarriage = null, this.deckSelectView.onClickDeck = this._onClickDeckTab = null, this.deckSelectView.onClickOther = this._onClickOtherTab = null; for (var _lsj = 0; _lsj < this.shipSlots.length; _lsj++) this.shipSlots[_lsj].onClick = null, this.shipSlots[_lsj].dispose(), this.shipSlots[_lsj] = null; this._onClickShipSlot = null, this.miniPager.onClick = this._onClickMiniPager = null, this.otherShipList.onClick = this._onClickOtherListItem = null, this.deckSelectView && this.deckSelectView.dispose(), this.shipDetail && this.shipDetail.dispose(), this.shipDetailEmpty && this.shipDetailEmpty.dispose(), this.simpleSlotItemSlot && this.simpleSlotItemSlot.dispose(), this.headerKansenSentaku && this.headerKansenSentaku.dispose(), this.combinedView && this.combinedView.dispose(), this.deckCraneFrame && this.deckCraneFrame.dispose(), this.otherShipFrame && this.otherShipFrame.dispose(), this.miniPager && this.miniPager.dispose(), this.otherShipList && this.otherShipList.dispose(), this.arrowTopButton && this.arrowTopButton.dispose(), this.arrowBottomButton && this.arrowBottomButton.dispose(), this.mainView = null, this.headerKansenSentaku = null, this.slotItemSlotBox = null, this.kindaikaButton = null, this.kaizoButton = null, this.shipDetail = null, this.shipDetailEmpty = null, this.extraSlotItemSlot = null, this.shipCard = null, this.detachAllButton = null, this.shipParameter = null, this.extensionButton = null, this.marriageButton = null, this.simpleSlotItemSlot = null, this.deckSelectView = null, this.select_bg_crane01 = null, this.select_bg_crane02 = null, this.shipSlots = null, this.deckCraneFrame = null, this.otherBackground = null, this.miniPager = null, this.otherShipList = null, this.otherShipFrame = null, this.memShipId = null, this.deckId = null, _loh.WheelEventUtil.clear(); }, _lol.prototype.start = function(_lsk, _lsl) { var _lsm = null, _lsn = _lni.default.model.deck.getIDs(), _lso = _lni.default.model.ship.getAllOther(); _lnk.ShipUtil.sort(_lso, 1), _lso = _lso.reverse(), this._updateOtherShipSource_(_lso), this._updateDeckSelector_(_lsn, _lso.length), this._updateShipSlot_(_lsk, this.shipInDeckOrigin), this._updateShip_(_lsl), this._updateDeck_(_lsk), this.deckCraneFrame.focus(0), this.deckCraneFrame.insertCrane(); }, _lol.prototype._updateDeck_ = function(_lsp) { var _lsq = null; if (_loh.WheelEventUtil.clear(), null === _lsp) this.deckSelectView.focusOther(), this._changeOtherLayout_(), _loh.WheelEventUtil.regist(this._onWheelOtherShipList.bind(this)); else this.deckSelectView.focusDeck(_lsp), this._changeDeckLayout_(), _loh.WheelEventUtil.regist(this._onWheel3rdShipList.bind(this)); this.deckId = _lsp; }, _lol.prototype._updateShip_ = function(_lsr) { var _lss = null; this._updateEmptyShipDetail_(), -1 != _lsr && this._updateShipDetail_(_lsr), _lo9.SceneMemory.slotItemPage = 0, _lo9.SceneMemory.slotItemFilter = 0, _lo9.SceneMemory.listMode = _lo1.SlotListMode.UNSET, this.memShipId = _lsr; }, _lol.prototype._changeOtherShipPage_ = function(_lst) { var _lsu = null; this.miniPager.focus(_lst); var _lsv = this.otherShips.slice(10 * _lst, 10 * _lst + 10); this.otherShipList.update(_lsv), this.pageIndex = _lst; }, _lol.prototype._updateOtherShipSource_ = function(_lsw) { var _lsx = null, _lsy = _lnz.RemodelUtil.calcPageCount(_lsw.length); this.miniPager.init(_lsy), this.otherShips = _lsw; }, _lol.prototype._updateEmptyShipDetail_ = function() { var _lsz = null; this.shipDetail.visible = !1, this.shipDetailEmpty.visible = !0; }, _lol.prototype._updateShipDetail_ = function(_lt0) { var _lt1 = null; this.shipDetailEmpty.visible = !1, this.shipDetail.visible = !0; var _lt2 = _lni.default.model.ship.get(_lt0), _lt3 = _lni.default.model.ship.getMst(_lt2.mstID), _lt4 = _lnk.ShipUtil.isMaxGradeUp(_lt2, _lt3, !1), _lt5 = _lnk.ShipUtil.isMaxGradeUp(_lt2, _lt3, !0), _lt6 = !1, _lt7 = _lni.default.model.deck.isInDeck(_lt2.memID); if (_lt7) { var _lt8 = _lt7[0]; _lt6 = null != _lni.default.model.deck.get(_lt8).expedition; } var _lt9 = _lni.default.model.useItem.get(_lo0.RemodelConst.REINFORCEMENT_WORK_ITEMID).count, _lta = _lt2.isRepair(), _ltb = 0 == _lt6 && 0 == _lta, _ltc = _lt2.getSlotitems(), _ltd = _lt2.isExtraSlot(), _lte = _lt2.getSlotitemEx(), _ltf = _lt2.level, _ltg = _ltc.length, _lth = 0 < _ltg, _lti = 0 != _ltc.indexOf(null), _ltj = _ltb && 0 == _lt6 && 0 == _lta && 0 == _lt5; this.kindaikaButton.update(_ltj); var _ltk = _ltb && _lnz.RemodelUtil.canKaizo(_lt2.mstID, _lt2.level); this.kaizoButton.update(_ltk); var _ltl = _ltb && _lti && _lth, _ltm = _ltb && _lo9.SceneMemory.deployable && _lth; this.deployPresetButton.update(_ltm), this.savePresetButton.update(_ltl), this.shipDetail.update(_lt2.name, _ltf, _lt2.hpNow, _lt2.hpMax, _lt2.starNum, _lt4), this.shipCard.update(_lt2, _lt6), this.shipParameter.update(_lt2.hpMax, _lt2.soukouOrg, _lt2.kaihiOrg, _lt2.tousai, _lt2.speed, _lt2.range, _lt2.karyokuOrg, _lt2.raisouOrg, _lt2.taiku, _lt2.taisen, _lt2.sakuteki, _lt2.lucky, _lt2.karyokuSp, _lt2.raisouSp, _lt2.soukouSp, _lt2.kaihiSp), this._updateExtraSlot_(_ltd, _lte), this._updateExtensionButton_(_lt2, _lt9), this._updateMarriageButton_(_ltf, _lt6, _lta); var _ltn = _lth && 0 == _lta && 0 == _lt6, _lto = _ltn && 0 == _lta && _lti; this._updateSlotItem_(_lt2, _ltc, _lto, _ltn), this._updateDetachAllButton_(_ltg, _lto); }, _lol.prototype._changeDeckLayout_ = function() { var _ltp = null; this.mainView.removeChildren(), this.deckSelectView.position.set(204, 159), this.select_bg_crane01.position.set(478, 132), this.shipDetail.position.set(468, 141), this.shipDetailEmpty.position.set(468, 141), this.headerKansenSentaku.position.set(0, 102), this.deckCraneFrame.position.set(174, 143), this.mainView.addChild(this.headerKansenSentaku), this.mainView.addChild(this.deckSelectView), this.icon3rdUnit && this.mainView.addChild(this.icon3rdUnit), this.combinedView && this.mainView.addChild(this.combinedView); for (var _ltq = 0; _ltq < this.shipSlots.length; _ltq++) this.mainView.addChild(this.shipSlots[_ltq]); this.arrowTopButton.position.set(248, 188), this.arrowBottomButton.position.set(248, 653), this.mainView.addChild(this.deckCraneFrame, this.shipDetailEmpty, this.shipDetail), this.mainView.addChild(this.arrowTopButton), this.mainView.addChild(this.arrowBottomButton); }, _lol.prototype._changeOtherLayout_ = function() { var _ltr = null; this.mainView.removeChildren(), this.otherBackground.position.set(147, 134), this.miniPager.position.set(173, 672), this.otherShipList.position.set(180, 198), this.otherShipFrame.position.set(174, 143), this.mainView.addChild(this.otherBackground, this.headerKansenSentaku), this.mainView.addChild(this.deckSelectView), this.icon3rdUnit && this.mainView.addChild(this.icon3rdUnit), this.combinedView && this.mainView.addChild(this.combinedView), this.mainView.addChild(this.miniPager), this.mainView.addChild(this.otherShipList), this.mainView.addChild(this.otherShipFrame), this.mainView.addChild(this.shipDetail); }, _lol.prototype._updateShipSlot_ = function(_lts, _ltt) { var _ltu = null, _ltv = _lni.default.model.deck.get(_lts), _ltw = null != _ltv.expedition; _ltv.getCount(), _ltv.getCount() <= this.shipSlots.length && (_ltt = 0); for (var _ltx = 0; _ltx < this.shipSlots.length; _ltx++) { var _lty, _ltz = _ltt + _ltx; _lty = _ltv.getShipModel(_ltz), this.deckCraneFrame.hideEmblem(_ltx), this.shipSlots[_ltx].empty(), _lty && (this.shipSlots[_ltx].update(_ltx, _lty, _ltw), this.deckCraneFrame.updateEmblems(_ltx, _ltz)); } this.arrowBottomButton.visible = !1, _ltt + 1 + this.shipSlots.length <= _lni.default.model.deck.get(_lts).getCount() && (this.arrowBottomButton.visible = !0), this.arrowTopButton.visible = !1, 0 <= _ltt - 1 && (this.arrowTopButton.visible = !0), this.shipInDeckOrigin = _ltt; }, _lol.prototype._updateDeckSelector_ = function(_lu0, _lu1) { var _lu2 = null; this.deckSelectView.update(_lu0, _lu1); }, _lol.prototype._updateSlotItem_ = function(_lu3, _lu4, _lu5, _lu6) { var _lu7 = null; this.slotItemSlotBox.clean(); for (var _lu8 = 0; _lu8 < _lu4.length; _lu8++) { var _lu9 = _lu4[_lu8], _lua = _lu3.getSlotitemTousai(_lu8); this.slotItemSlotBox.update(_lu8, _lu9, _lua, _lu5, _lu6); } this.slotItemSlotBox.hide(_lu3.getSlotViewMax()); }, _lol.prototype._updateDetachAllButton_ = function(_lub, _luc) { var _lud = null; this.detachAllButton.visible = !1, _luc && (this.detachAllButton.update(_lub), this.detachAllButton.visible = !0); }, _lol.prototype._updateExtraSlot_ = function(_lue, _luf) { var _lug = null; this.extraSlotItemSlot.visible = !1, _lue && (this.extraSlotItemSlot.clear(), _luf && this.extraSlotItemSlot.update(_luf), this.extraSlotItemSlot.visible = !0); }, _lol.prototype._updateExtensionButton_ = function(_luh, _lui) { var _luj = null, _luk = _lnz.RemodelUtil.testExtensionableExtraslot(_luh, _lui); this.extensionButton.visible = !1, _luk && (this.extensionButton.visible = !0); }, _lol.prototype._updateMarriageButton_ = function(_lul, _lum, _lun) { var _luo = null; this.marriageButton.visible = !1, this.marriageButton.interactiveChildren = this.marriageButton.buttonMode = !1, 99 == _lul && (this.marriageButton.visible = !0, 0 == _lum && 0 == _lun && (this.marriageButton.interactiveChildren = this.marriageButton.buttonMode = !0)); }, _lol; }()); _lnc.TaskIdleMain = _loj; }, 59611: function(_lup, _luq, _lur) { 'use strict'; var _lus = null; var _lut = this && this.__importDefault || function(_luu) { var _luv = null; return _luu && _luu.__esModule ? _luu : { 'default': _luu }; }; defineModule(_luq); Object.defineProperty(_luq, '__esModule', { 'value': !0 }), _luq.TaskKaizo = void 0; var _luw = _lut(_lur(83300)), _lux = _lut(_lur(21359)), _luy = _lut(_lur(18622)), _luz = _lur(48205), _lv0 = _lur(35660), _lv1 = _lur(58310), _lv2 = _lur(22242), _lv3 = _lur(79899), _lv4 = _lur(31000), _lv5 = _lur(38834), _lv6 = _lur(44970), _lv7 = _lur(44237), _lv8 = _lur(46864), _lv9 = _lur(96644), _lva = _lur(65223), _lvb = _lur(50402), _lvc = _lur(17265), _lvd = _lur(35601), _lve = _lur(83415), _lvf = _lur(13748), _lvg = _lur(7248), _lvh = _lur(57691), _lvi = _lur(57616), _lvj = _lur(89939), _lvk = _lur(20137), _lvl = _lur(55853), _lvm = (function() { var _lvn = null; function _lvo(_lvp) { var _lvq = null, _lvr = this; this._onCancel = function() { var _lvs = null; _lvr._clickGuard = new _lv3.AreaBox(0), _luy.default.view.overLayer.addChild(_lvr._clickGuard); var _lvt = _lve.UISettings.DIALOG_FADETIME; _lvr._kaizoDetailBG.width = _lux.default.width, createjs.Tween.get(_lvr._kaizoDetailBG).to({ 'alpha': 0 }, _lvt), createjs.Tween.get(_lvr._kaizoDetail).to({ 'x': _lux.default.width }, _lvt).call(function() { var _lvu = null; _luz.TaskLoadShipResource.abortBy(_lvr._kaizoDetail), _lvr._container.removeChild(_lvr._kaizoDetailBG), _lvr._container.removeChild(_lvr._kaizoDetail), _luy.default.view.overLayer.removeChild(_lvr._clickGuard), _lvr._clickGuard = null, null != _lvr._cb_onComplete && _lvr._cb_onComplete(); }); }, this._onStart = function() { var _lvv = null, _lvw = _luy.default.model.ship.get(_lvr._ship_memid), _lvx = _luy.default.model.ship_upgrade.getNextID(_lvw.mstID); if (_lv5.RemodelUtil.isSpKaizo(_lvw.mstID)) { var _lvy = new _lvf.UIImageLoader('common'); _lvy.add('system_bg5.png', 'sp_kaizo_frame'), _lvy.load(function() { var _lvz = null; _lvr._spKaizoConfirm = new _lvb.SpKaizoConfirm(), _lvr._spKaizoConfirm.activate(_lvr._onSpConfirmYES, _lvr._onSpConfirmNo), _lvr._spKaizoConfirm.visible = !1, _luy.default.view.overLayer.addChild(_lvr._spKaizoConfirm), _lvr._spKaizoIntro = new _lvd.SpKaizoIntro(), _lvr._spKaizoIntro.play([_lvw.mstID, _lvx], function() { var _lw0 = null; _lvr._spKaizoConfirm.visible = !0; var _lw1 = _luy.default.model.ship_upgrade.getRequires(_lvw.mstID), _lw2 = _lvr._setRequireObjects(_lw1); _lvr._spKaizoConfirm.update(_lvw, _lw2); }, function() { var _lw3 = null; _lvr._spKaizoIntro.visible = !1, _luy.default.view.overLayer.removeChild(_lvr._clickGuard), _lvr._clickGuard = null; }), _luy.default.view.overLayer.addChild(_lvr._spKaizoIntro), _lvr._clickGuard = new _lv3.AreaBox(0), _luy.default.view.overLayer.addChild(_lvr._clickGuard), _lv4.SE.play('106'); }); } else { var _lw4 = _lve.UISettings.DIALOG_FADETIME; _lvr._kaizoConfirmBG = new _lv3.AreaBox(1), _lvr._kaizoConfirmBG.alpha = 0, _lvr._kaizoConfirm = new _lva.KaizoConfirm(), _lvr._kaizoConfirm.activate(_lvr._onConfirmYES, _lvr._onConfirmNo); var _lw5 = _luy.default.model.ship_upgrade.getRequires(_lvw.mstID); _lvr._kaizoConfirm.update(_lvw, _lw5.ammo, _lw5.steel), _lvr._kaizoConfirm.alpha = 0, _luy.default.view.overLayer.addChild(_lvr._kaizoConfirmBG), _luy.default.view.overLayer.addChild(_lvr._kaizoConfirm), _lvr._clickGuard = new _lv3.AreaBox(0), _luy.default.view.overLayer.addChild(_lvr._clickGuard), _lv4.SE.play('106'), createjs.Tween.get(_lvr._kaizoConfirmBG).to({ 'alpha': 1 }, _lw4), createjs.Tween.get(_lvr._kaizoConfirm).to({ 'alpha': 1 }, _lw4).call(function() { var _lw6 = null; _luy.default.view.overLayer.removeChild(_lvr._clickGuard), _lvr._container.visible = !1, _lvr._clickGuard = null; }); } }, this._onConfirmNo = function() { var _lw7 = null, _lw8 = _lve.UISettings.DIALOG_FADETIME; _lvr._container.visible = !0, _lvr._clickGuard = new _lv3.AreaBox(0), _luy.default.view.overLayer.addChild(_lvr._clickGuard), createjs.Tween.get(_lvr._kaizoConfirmBG).to({ 'alpha': 0 }, _lw8), createjs.Tween.get(_lvr._kaizoConfirm).to({ 'alpha': 0 }, _lw8).call(function() { var _lw9 = null; _luy.default.view.overLayer.removeChild(_lvr._kaizoConfirmBG), _luy.default.view.overLayer.removeChild(_lvr._kaizoConfirm), _luy.default.view.overLayer.removeChild(_lvr._clickGuard), _lvr._clickGuard = null; }); }, this._onSpConfirmNo = function() { var _lwa = null, _lwb = _lve.UISettings.DIALOG_FADETIME; _lvr._container.visible = !0, _lvr._clickGuard = new _lv3.AreaBox(0), _luy.default.view.overLayer.addChild(_lvr._clickGuard), createjs.Tween.get(_lvr._spKaizoConfirm).to({ 'alpha': 0 }, _lwb).call(function() { var _lwc = null; _luy.default.view.overLayer.removeChild(_lvr._spKaizoConfirm), _luy.default.view.overLayer.removeChild(_lvr._spKaizoIntro), _lvr._spKaizoConfirm.dispose(), _lvr._spKaizoIntro.dispose(), _luy.default.view.overLayer.removeChild(_lvr._clickGuard), _lvr._clickGuard = null; }); }, this._onConfirmYES = function() { var _lwd = null; _lvr._clickGuard = new _lv3.AreaBox(0), _luy.default.view.overLayer.addChild(_lvr._clickGuard), _lv4.SE.play('215'), new _lv0.APIConnector().add(new _lv6.RemodelingAPI(_lvr._ship_memid)).add(new _lv7.Ship3API(_lvr._ship_memid)).add(new _lv1.MaterialAPI()).add(new _lv2.UserSlotItemAPI()).start(_lvr._onCompleteAPI); }, this._onSpConfirmYES = function() { var _lwe = null; _lvr._clickGuard = new _lv3.AreaBox(0), _luy.default.view.overLayer.addChild(_lvr._clickGuard), _lv4.SE.play('215'), new _lv0.APIConnector().add(new _lv6.RemodelingAPI(_lvr._ship_memid)).add(new _lv7.Ship3API(_lvr._ship_memid)).add(new _lv1.MaterialAPI()).add(new _lv2.UserSlotItemAPI()).start(_lvr._onSpCompleteAPI); }, this._onCompleteAPI = function() { var _lwf = null, _lwg = new _lvc.KaizoAnimationMain(), _lwh = _luy.default.model.ship.get(_lvr._ship_memid), _lwi = _lwh.mstID, _lwj = _lwh.isDamaged(), _lwk = _luy.default.model.ship_graph.get(_lwi).getCenterOffset(_lwj); _lwg.preload(_lwi, _lwj, _lwk, function() { var _lwl = null; _lvr._onCompleteResources(_lwg); }); }, this._onSpCompleteAPI = function() { var _lwm = null, _lwn = _luy.default.model.ship.get(_lvr._ship_memid), _lwo = new _lvk.ShipLoader(); _lwo.add(_lwn.mstID, !1, 'sp_remodel/full_x2'), _lwo.add(_lwn.mstID, !1, 'sp_remodel/text_class'), _lwo.add(_lwn.mstID, !1, 'sp_remodel/text_name'), _lwo.load(function() { var _lwp = null; _lvr._loadAnimationKeys(); }); }, this._container = _lvp; } return _lvo.prototype.start = function(_lwq, _lwr, _lws) { var _lwt = null, _lwu = this; if (null == this._kaizoDetail) { this._ship_memid = _lwq, this._cb_onUpdateShip = _lwr, this._cb_onComplete = _lws, this._kaizoDetailBG = new _lv3.AreaBox(0.5), this._kaizoDetailBG.alpha = 0, this._container.addChild(this._kaizoDetailBG), this._kaizoDetail = new _lv9.KaizoDetail(); var _lwv = _luy.default.model.ship.get(_lwq), _lww = _luy.default.model.ship_upgrade.getRequires(_lwv.mstID), _lwx = new _lv8.KaizoValidateModel(_lww), _lwy = _lv5.RemodelUtil.canKaizo(_lwv.mstID, _lwv.level), _lwz = !0; _luy.default.model.basic.slotMax - _luy.default.model.slot.num < 4 && (_lwz = !1), this._kaizoDetail.update(_lwv, _lwx, _lwy, _lwz), this._kaizoDetail.position.set(_lux.default.width, 143), this._kaizoDetail.activate(this._onStart, this._onCancel), this._container.addChild(this._kaizoDetail), this._clickGuard = new _lv3.AreaBox(0), _luy.default.view.overLayer.addChild(this._clickGuard); var _lx0 = _lve.UISettings.DIALOG_FADETIME; createjs.Tween.get(this._kaizoDetailBG).to({ 'alpha': 1 }, _lx0), createjs.Tween.get(this._kaizoDetail).to({ 'x': 204 }, _lx0).call(function() { var _lx1 = null; _lwu._kaizoDetailBG.width = 240, _luy.default.view.overLayer.removeChild(_lwu._clickGuard), _lwu._clickGuard = null; }); } }, _lvo.prototype._loadAnimationKeys = function() { var _lx2 = null, _lx3 = this, _lx4 = _luy.default.model.ship.get(this._ship_memid).mstID, _lx5 = _lvi.MathUtil.zeroPadding(_lx4, 4), _lx6 = _luy.default.settings.path_root + 'resources/ship/sp_remodel/animation_key/'['concat'](_lvi.MathUtil.zeroPadding(_lx4, 4), '_remodel.json').concat(_lvl.VersionUtil.getResourceVersion(0, parseInt(_lx5))); _luw.default.get(_lx6).then(function(_lx7) { var _lx8 = null, _lx9 = _lvj.ObjUtil.getObject(_lx7, 'data'); _lx3._onSpCompleteResourceLoad(), _lx3._spRemodelStart(_lx9); }).catch(function(_lxa) { var _lxb = null; _lx3._onSpCompleteResourceLoad(), _luy.default.view.portMain.updateInfo(), _luy.default.view.overLayer.removeChild(_lx3._clickGuard), _lx3._clickGuard = null; }); }, _lvo.prototype._onSpCompleteResourceLoad = function() { var _lxc = null; null != this._cb_onUpdateShip && this._cb_onUpdateShip(), this._container.removeChild(this._kaizoDetailBG), this._container.removeChild(this._kaizoDetail), _luy.default.view.overLayer.removeChild(this._spKaizoConfirm), _luy.default.view.overLayer.removeChild(this._spKaizoIntro), this._spKaizoConfirm.dispose(), this._spKaizoIntro.dispose(); }, _lvo.prototype._spRemodelStart = function(_lxd) { var _lxe = null; for (var _lxf = this, _lxg = [], _lxh = 0, _lxi = _lvj.ObjUtil.getObjectArray(_lxd, 'keys'); _lxh < _lxi.length; _lxh++) { var _lxj = _lxi[_lxh]; _lxg.push.apply(_lxg, _lvj.ObjUtil.getObjectArray(_lxj, 'prop')); } var _lxk = _lvj.ObjUtil.getObject(_lxd, 'setting'), _lxl = _luy.default.model.ship.get(this._ship_memid).mstID, _lxm = new _lvg.SpecialRemodelStartStage(_lxl); _lxm.initializeSetting(_lxk), _luy.default.view.overLayer.addChild(_lxm); var _lxn = new _lvh.SpecialRemodelStart(_lxl, _lxm, _lxg); _lxn.onComplete = function() { var _lxo = null; _luy.default.view.overLayer.removeChild(_lxm), _lxn.dispose(), _lxm.dispose(), _luy.default.view.portMain.updateInfo(), _luy.default.view.overLayer.removeChild(_lxf._clickGuard), _lxf._clickGuard = null; }, _lxn.play(); }, _lvo.prototype._onCompleteResources = function(_lxp) { var _lxq = null, _lxr = this; null != this._cb_onUpdateShip && this._cb_onUpdateShip(), this._container.removeChild(this._kaizoDetailBG), this._container.removeChild(this._kaizoDetail), _luy.default.view.overLayer.removeChild(this._kaizoConfirmBG), _luy.default.view.overLayer.removeChild(this._kaizoConfirm), _luy.default.view.overLayer.addChild(_lxp), _lxp.play(function() { var _lxs = null; _luy.default.view.portMain.updateInfo(), _luy.default.view.overLayer.removeChild(_lxr._clickGuard), _lxr._clickGuard = null, _luy.default.view.overLayer.removeChild(_lxp), _lxp.dispose(), _lxr._container.visible = !0, null != _lxr._cb_onComplete && _lxr._cb_onComplete(); }); }, _lvo.prototype._setRequireObjects = function(_lxt) { var _lxu = null, _lxv = []; return _lxt.ammo > 0 && _lxv.push({ 'id': 32, 'count': '×' ['concat'](_lxt.ammo) }), _lxt.steel > 0 && _lxv.push({ 'id': 33, 'count': '×' ['concat'](_lxt.steel) }), _lxt.devkit > 0 && _lxv.push({ 'id': 3, 'count': '×' ['concat'](_lxt.devkit) }), _lxt.buildkit > 0 && _lxv.push({ 'id': 2, 'count': '×' ['concat'](_lxt.buildkit) }), _lxt.newhokohesosizai > 0 && _lxv.push({ 'id': 75, 'count': '×' ['concat'](_lxt.newhokohesosizai) }), _lxt.newkokuhesosizai > 0 && _lxv.push({ 'id': 77, 'count': '×' ['concat'](_lxt.newkokuhesosizai) }), _lxt.newhesosizai > 0 && _lxv.push({ 'id': 94, 'count': '×' ['concat'](_lxt.newhesosizai) }), _lxt.battlereport > 0 && _lxv.push({ 'id': 78, 'count': '×' ['concat'](_lxt.battlereport) }), _lxt.catapult > 0 && _lxv.push({ 'id': 65, 'count': '×' ['concat'](_lxt.catapult) }), _lxt.blueprint > 0 && _lxv.push({ 'id': 58, 'count': '×' ['concat'](_lxt.blueprint, '枚') }), _lxt.boiler > 0 && _lxv.push({ 'id': 902, 'count': '×' ['concat'](_lxt.boiler) }), _lxv; }, _lvo.prototype.dispose = function() { var _lxw = null; this._container = null, this._kaizoDetailBG = null, this._kaizoDetail.dispose(), this._kaizoDetail = null, null != this._kaizoConfirm && (this._kaizoConfirm.dispose(), this._kaizoConfirm = null), this._cb_onUpdateShip = null, this._cb_onComplete = null, this._clickGuard = null; }, _lvo; }()); _luq.TaskKaizo = _lvm; }, 66034: function(_lxx, _lxy, _lxz) { 'use strict'; var _ly0 = null; var _ly1 = this && this.__importDefault || function(_ly2) { var _ly3 = null; return _ly2 && _ly2.__esModule ? _ly2 : { 'default': _ly2 }; }; defineModule(_lxy); Object.defineProperty(_lxy, '__esModule', { 'value': !0 }), _lxy.TaskKindaika = void 0; var _ly4 = _ly1(_lxz(21359)), _ly5 = _ly1(_lxz(18622)), _ly6 = _lxz(48205), _ly7 = _lxz(79899), _ly8 = _lxz(70723), _ly9 = _lxz(38834), _lya = _lxz(61367), _lyb = _lxz(86872), _lyc = _lxz(90066), _lyd = _lxz(49499), _lye = _lxz(45974), _lyf = _lxz(18540), _lyg = _lxz(83415), _lyh = _lxz(71633), _lyi = (function() { var _lyj = null; function _lyk(_lyl) { var _lym = null, _lyn = this; this._onClickEmpty = function(_lyo) { var _lyp = null, _lyq = []; _lyq.push(_lyn.memShipId), _lyn.targetShips.forEach(function(_lyr) { var _lys = null; _lyq.push(_lyr.memID); }); var _lyt = new _lyc.TaskShipChoice(_lyn.mainView); _lyt.onClickShip = function(_lyu) { var _lyv = null, _lyw = _ly5.default.model.ship.get(_lyn.memShipId), _lyx = _ly5.default.model.ship.getMst(_lyw.mstID), _lyy = [], _lyz = _ly5.default.model.ship.get(_lyu); _lyn.targetShips.push(_lyz), _lyn.targetShips.forEach(function(_lz0) { var _lz1 = null, _lz2 = _ly5.default.model.ship.getMst(_lz0.mstID); _lyy.push(_lz2); }); var _lz3 = _ly9.RemodelUtil.calcPowerUpParams([_lyw, _lyx], _lyy); _lyn.powerUpEdit.targetShipBox.update(_lyn.targetShips), _lyn._updatePowerUp_(_lyw, _lyx, _lz3.karyoku, _lz3.raiso, _lz3.taiku, _lz3.souko, _lz3.lucky, _lz3.checkBonusLucky, _lz3.checkBonusTaikyu, _lz3.checkBonusTaisen); }, _lyt.onComplete = function() { var _lz4 = null; _lyt.dispose(), _lyn.taskShipChoice = null; }, _lyn.taskShipChoice = _lyt, _lyt.start(_lyq, 0); }, this._onClickCancel = function() { var _lz5 = null, _lz6 = _lyg.UISettings.DIALOG_FADETIME; _lyn.clickGuardKindaika.width = _ly4.default.width, _ly5.default.view.clickGuard = !0, createjs.Tween.get(_lyn.clickGuardKindaika).to({ 'alpha': 0 }, _lz6), createjs.Tween.get(_lyn.powerUpEdit).to({ 'x': _ly4.default.width }, _lz6).call(function() { var _lz7 = null; _ly5.default.view.clickGuard = !1, _lyn.onComplete(); }); }, this._onClickStart = function(_lz8) { var _lz9 = null; _lyn.clickGuardConfirm.alpha = 0, _lyn.powerUpStartConfirm.alpha = 0, _lyn.type = _lz8; var _lza = _lyg.UISettings.DIALOG_FADETIME; _ly5.default.view.overLayer.addChild(_lyn.clickGuardConfirm), _ly5.default.view.overLayer.addChild(_lyn.powerUpStartConfirm), _ly5.default.view.clickGuard = !0; var _lzb = _ly5.default.model.ship.get(_lyn.memShipId), _lzc = _ly5.default.model.ship.getMst(_lzb.mstID), _lzd = []; _lyn.targetShips.forEach(function(_lze) { var _lzf = null, _lzg = _ly5.default.model.ship.getMst(_lze.mstID); _lzd.push(_lzg); }); var _lzh = _ly9.RemodelUtil.calcPowerUpParams([_lzb, _lzc], _lzd); _lyn.powerUpStartConfirm.update(_lzb, _lyn.targetShips, _lzh), createjs.Tween.get(_lyn.clickGuardConfirm).to({ 'alpha': 1 }, _lza), createjs.Tween.get(_lyn.powerUpStartConfirm).to({ 'alpha': 1 }, _lza).call(function() { var _lzi = null; _lyn.mainView.visible = !1, _ly5.default.view.clickGuard = !1; }); }, this._onClickPowerUpStartYES = function() { var _lzj = null; _ly5.default.view.clickGuard = !0; var _lzk = _ly5.default.model.ship.get(_lyn.memShipId), _lzl = _ly5.default.model.ship.getMst(_lzk.mstID), _lzm = new Array(); _lyn.targetShips.forEach(function(_lzn) { var _lzo = null; _lzm.push(_lzn.memID); }); var _lzp = new _lyd.PowerUpAPI(_lyn.memShipId, _lzm, _lyn.type, _lyn._feed_type); _ly5.default.sound.voice.playAtRandom(_lzk.mstID.toString(), [9, 10], [50, 50]), _lzp.start(function() { var _lzq = null; _lyn.powerUpEdit.shipInfoBox.update(_lzk.shipTypeName, _lzk.name, _lzk.level, _lzk.starNum), _lyn.onUpdateShip(); var _lzr, _lzs = _lzp.api_powerup_flag, _lzt = _lzm.length; _lzr = 1 == _lzs ? new _lyf.PowerUpAnimationSuccess(_lzt, _lyn.mainView) : new _lye.PowerUpAnimationFailed(_lzt, _lyn.mainView); var _lzu = _lzk.mstID, _lzv = _lzk.isDamaged(), _lzw = _ly5.default.model.ship_graph.get(_lzu).getCenterOffset(_lzv); _lzr.preload(_lzu, _lzv, _lzw, function() { var _lzx = null; _ly5.default.view.clickGuard = !1, _ly5.default.view.overLayer.addChild(_lyn.animationClickGuard), _ly5.default.view.overLayer.addChild(_lzr), _lzr.play(function() { var _lzy = null; (_lyn.targetShips.length = 0, _lyn.powerUpEdit.targetShipBox.update(_lyn.targetShips), _lyn._feed_type = 0, _lyn._updatePowerUp_(_lzk, _lzl, 0, 0, 0, 0, 0, !1, !1, !1), _lyh.EventConst.HALLOWEEN) && (_lyn.powerUpEdit.pumpkin.state = !1, _lyn._is_usable_pumpkin = _ly9.RemodelUtil.isUsablePumpkin([_lzk, _lzl]), _ly5.default.model.useItem.getCount(96) > 0 && _lyn._is_usable_pumpkin ? (_lyn.powerUpEdit.pumpkin.activate(), _lyn.powerUpEdit.pumpkin_bg.visible = !0) : (_lyn.powerUpEdit.pumpkin.deactivate(), _lyn.powerUpEdit.pumpkin_bg.visible = !1)), (_ly5.default.view.overLayer.removeChild(_lyn.clickGuardConfirm), _ly5.default.view.overLayer.removeChild(_lyn.powerUpStartConfirm)); }, function() { var _lzz = null; _lzr.dispose(), _ly5.default.view.overLayer.removeChild(_lyn.animationClickGuard), _ly5.default.view.overLayer.removeChild(_lzr), _ly5.default.view.portMain.updateInfo(); }); }); }); }, this._onClickPowerUpStartNO = function() { var _m00 = null, _m01 = _lyg.UISettings.DIALOG_FADETIME; _lyn.mainView.visible = !0, _ly5.default.view.overLayer.addChild(_lyn.clickGuardConfirm), _ly5.default.view.overLayer.addChild(_lyn.powerUpStartConfirm), _ly5.default.view.clickGuard = !0, createjs.Tween.get(_lyn.clickGuardConfirm).to({ 'alpha': 0 }, _m01), createjs.Tween.get(_lyn.powerUpStartConfirm).to({ 'alpha': 0 }, _m01).call(function() { var _m02 = null; _ly5.default.view.overLayer.removeChild(_lyn.clickGuardConfirm), _ly5.default.view.overLayer.removeChild(_lyn.powerUpStartConfirm), _ly5.default.view.clickGuard = !1; }); }, this._onClickSlotIn = function(_m03) { var _m04 = null; _lyn.targetShips.splice(_m03, 1); var _m05 = _ly5.default.model.ship.get(_lyn.memShipId), _m06 = _ly5.default.model.ship.getMst(_m05.mstID), _m07 = []; _lyn.targetShips.forEach(function(_m08) { var _m09 = null, _m0a = _ly5.default.model.ship.getMst(_m08.mstID); _m07.push(_m0a); }); var _m0b = _ly9.RemodelUtil.calcPowerUpParams([_m05, _m06], _m07); _lyn.powerUpEdit.targetShipBox.update(_lyn.targetShips), _lyn._updatePowerUp_(_m05, _m06, _m0b.karyoku, _m0b.raiso, _m0b.taiku, _m0b.souko, _m0b.lucky, _m0b.checkBonusLucky, _m0b.checkBonusTaikyu, _m0b.checkBonusTaisen); }, this._onClickPumpkin = function(_m0c) { var _m0d = null; _lyn._feed_type = _m0c ? 1 : 0, _lyn.powerUpEdit.shipParameterChecker.updateLuckyBonusOnly(_lyn._is_usable_pumpkin && 1 == _lyn._feed_type); var _m0e = 1 == _lyn._feed_type && _lyn._is_usable_pumpkin && _lyn.targetShips.length > 0 || 0 == _lyn._feed_type && _lyn._bef_upgradable_normal; _lyn.powerUpEdit.startButtonSlotDest.update(_m0e), _lyn.powerUpEdit.startButtonSlotHokan.update(_m0e); }, this.mainView = _lyl, (this.clickGuardKindaika = new _ly7.AreaBox(0.5), this.clickGuardKindaika.height = _ly4.default.height - 103, this.clickGuardKindaika.position.set(0, 103), this.clickGuardConfirm = new _ly7.AreaBox(1), this.clickGuardConfirm.height = _ly4.default.height, this.clickGuardConfirm.position.set(0, 0), this.animationClickGuard = new _ly7.AreaBox(0), this.animationClickGuard.renderable = !1, this.powerUpStartConfirm = new _lyb.PowerUpStartConfirm(), this.powerUpEdit = new _lya.PowerUpEdit(), this._feed_type = 0, this._bef_upgradable_normal = !1); } return _lyk.prototype.start = function(_m0f) { var _m0g = null, _m0h = this; _ly5.default.view.clickGuard = !0, _ly8.SE.play('249'), this.targetShips = []; var _m0i = _ly5.default.model.ship.get(_m0f), _m0j = _ly5.default.model.ship.getMst(_m0i.mstID); if (this.powerUpEdit.targetShipBox.onClickEmpty = this._onClickEmpty, this.powerUpEdit.targetShipBox.onClickSlotIn = this._onClickSlotIn, this.powerUpEdit.cancelButton.initialize(this._onClickCancel), this.powerUpEdit.startButtonSlotDest.onClick = this._onClickStart, this.powerUpEdit.startButtonSlotHokan.onClick = this._onClickStart, this.powerUpStartConfirm.onClickNO = this._onClickPowerUpStartNO, this.powerUpStartConfirm.onClickYES = this._onClickPowerUpStartYES, this.memShipId = _m0f, this.powerUpEdit.shipInfoBox.update(_m0i.shipTypeName, _m0i.name, _m0i.level, _m0i.starNum), this._updatePowerUp_(_m0i, _m0j, 0, 0, 0, 0, 0, !1, !1, !1), this._updateShipFull_(_m0i.mstID, _m0i.isDamaged()), this.powerUpEdit.targetShipBox.update(this.targetShips), _lyh.EventConst.HALLOWEEN) { this._is_usable_pumpkin = _ly9.RemodelUtil.isUsablePumpkin([_m0i, _m0j]); var _m0k = _ly5.default.model.useItem.getCount(96) > 0; this.powerUpEdit.pumpkin.onClick = this._onClickPumpkin, _m0k && this._is_usable_pumpkin ? (this.powerUpEdit.pumpkin.activate(), this.powerUpEdit.pumpkin_bg.visible = !0) : (this.powerUpEdit.pumpkin.deactivate(), this.powerUpEdit.pumpkin_bg.visible = !1); } this.clickGuardKindaika.alpha = 0, this.powerUpEdit.position.set(_ly4.default.width, 140), this.mainView.addChild(this.clickGuardKindaika), this.mainView.addChild(this.powerUpEdit); var _m0l = _lyg.UISettings.DIALOG_FADETIME; createjs.Tween.get(this.clickGuardKindaika).to({ 'alpha': 1 }, _m0l), createjs.Tween.get(this.powerUpEdit).to({ 'x': 174 }, _m0l).call(function() { var _m0m = null; _m0h.clickGuardKindaika.width = 212, _ly5.default.view.clickGuard = !1; }); }, _lyk.prototype.dispose = function() { var _m0n = null; this.taskShipChoice && this.taskShipChoice.dispose(), this.taskShipChoice = null, this.mainView.removeChild(this.clickGuardKindaika), this.mainView.removeChild(this.powerUpEdit), this._onClickEmpty = null, this._onClickSlotIn = null, this.onComplete = null, this.onUpdateShip = null, this.mainView = null, this.powerUpEdit && this.powerUpEdit.dispose(), this.powerUpEdit = null, this.clickGuardKindaika = null, this.animationClickGuard = null, this.powerUpStartConfirm && this.powerUpStartConfirm.dispose(), this.powerUpStartConfirm = null, this.clickGuardConfirm = null, this.targetShips = null, this.memShipId = null, this.taskShipChoice && this.taskShipChoice.dispose(), this.taskShipChoice = null; }, _lyk.prototype._updatePowerUp_ = function(_m0o, _m0p, _m0q, _m0r, _m0s, _m0t, _m0u, _m0v, _m0w, _m0x) { var _m0y = null, _m0z = _m0o.karyokuOrg - (_m0p.hougMin + _m0o.gradeUpHoug), _m10 = _m0o.raisouOrg - (_m0p.raigMin + _m0o.gradeUpRaig), _m11 = _m0o.taiku - (_m0p.tykuMin + _m0o.gradeUpTyku), _m12 = _m0o.soukouOrg - (_m0p.soukMin + _m0o.gradeUpSouk), _m13 = _m0o.lucky - (_m0p.luckMin + _m0o.gradeUpLuck), _m14 = _m0p.hougMax + _m0z <= _m0o.karyokuOrg, _m15 = _m0p.raigMax + _m10 <= _m0o.raisouOrg, _m16 = _m0p.tykuMax + _m11 <= _m0o.taiku, _m17 = _m0p.soukMax + _m12 <= _m0o.soukouOrg, _m18 = _m0p.luckMax + _m13 <= _m0o.lucky, _m19 = Math.min(_m0o.gradeUpHoug + _m0p.hougMin + _m0q, _m0p.hougMax) + _m0z, _m1a = Math.min(_m0o.gradeUpRaig + _m0p.raigMin + _m0r, _m0p.raigMax) + _m10, _m1b = Math.min(_m0o.gradeUpTyku + _m0p.tykuMin + _m0s, _m0p.tykuMax) + _m11, _m1c = Math.min(_m0o.gradeUpSouk + _m0p.soukMin + _m0t, _m0p.soukMax) + _m12, _m1d = Math.min(_m0o.gradeUpLuck + _m0p.luckMin + _m0u, _m0p.luckMax) + _m13; this.powerUpEdit.shipParameterChecker.clear(), this.powerUpEdit.shipParameterChecker.updateCommon(_m0o.hpMax, _m0o.kaihiOrg, _m0o.tousai, _m0o.speed, _m0o.range, _m0o.taisen, _m0o.sakuteki, _m0o.karyokuSp, _m0o.raisouSp, _m0o.soukouSp, _m0o.kaihiSp), this.powerUpEdit.shipParameterChecker.updateKaryoku(_m0o.karyokuOrg, _m19), this.powerUpEdit.shipParameterChecker.updateRaisou(_m0o.raisouOrg, _m1a), this.powerUpEdit.shipParameterChecker.updateSoukou(_m0o.soukouOrg, _m1c), this.powerUpEdit.shipParameterChecker.updateTaiku(_m0o.taiku, _m1b), this.powerUpEdit.karyokuBeforeAfterConfirm.update(_m0o.karyoku, _m19 + _m0o.karyokuSp, _m14), this.powerUpEdit.raisouBeforeAfterConfirm.update(_m0o.raisou, _m1a + _m0o.raisouSp, _m15), this.powerUpEdit.soukouBeforeAfterConfirm.update(_m0o.soukou, _m1c + _m0o.soukouSp, _m17), this.powerUpEdit.taikuBeforeAfterConfirm.update(_m0o.taiku, _m1b, _m16), this.powerUpEdit.SetPos_karyokuBeforeAfterConfirm(_m14), this.powerUpEdit.SetPos_raisouBeforeAfterConfirm(_m15), this.powerUpEdit.SetPos_soukouBeforeAfterConfirm(_m17), this.powerUpEdit.SetPos_taikuBeforeAfterConfirm(_m16), this.powerUpEdit.shipParameterChecker.updateLucky(_m0o.lucky, _m1d, _m0v), _lyh.EventConst.HALLOWEEN && this.powerUpEdit.shipParameterChecker.updateLuckyBonusOnly(this._is_usable_pumpkin && 1 == this._feed_type), this.powerUpEdit.shipParameterChecker.updateTaikyu(_m0o.taikyu, _m0w), this.powerUpEdit.shipParameterChecker.updateTaisen(_m0o.taisen, _m0x); var _m1e = [_m0v, _m0w, _m0x].some(function(_m1f) { return 1 == _m1f; }), _m1g = !1; ([_m14, _m15, _m16, _m17, _m18].some(function(_m1h) { return 0 == _m1h; }) || _m1e) && (_m19 > _m0o.karyokuOrg || _m1a > _m0o.raisouOrg || _m1b > _m0o.taiku || _m1c > _m0o.soukouOrg || _m1d > _m0o.lucky || _m1e) && (_m1g = !0), this._bef_upgradable_normal = _m1g; var _m1i = 1 == this._feed_type && this._is_usable_pumpkin && this.targetShips.length > 0 || 0 == this._feed_type && _m1g; this.powerUpEdit.startButtonSlotDest.update(_m1i), this.powerUpEdit.startButtonSlotHokan.update(_m1i); }, _lyk.prototype._updateShipFull_ = function(_m1j, _m1k) { var _m1l = null; _ly6.TaskLoadShipResource.abortBy(this.powerUpEdit.shipFull); var _m1m = new PIXI.Point(-173, -139), _m1n = _ly5.default.model.ship_graph.get(_m1j).getRemodelPowupUIOffset(_m1k), _m1o = _m1n.x + (_m1k ? 51 : 75) + _m1m.x, _m1p = _m1n.y + (_m1k ? 95 : 110) + _m1m.y; this.powerUpEdit.shipFull.position.set(_m1o, _m1p); var _m1q = 'power_up'; 1 == _ly5.default.resources.isLoadedShip(_m1j, _m1k, _m1q) ? this.powerUpEdit.shipFull.texture = _ly5.default.resources.getShip(_m1j, _m1k, _m1q) : (this.powerUpEdit.shipFull.texture = PIXI.Texture.EMPTY, new _ly6.TaskLoadShipResource(_m1q, this.powerUpEdit.shipFull, _m1j, _m1k).start()); }, _lyk; }()); _lxy.TaskKindaika = _lyi; }, 27228: function(_m1r, _m1s, _m1t) { 'use strict'; var _m1u = null; var _m1v = this && this.__importDefault || function(_m1w) { var _m1x = null; return _m1w && _m1w.__esModule ? _m1w : { 'default': _m1w }; }; defineModule(_m1s); Object.defineProperty(_m1s, '__esModule', { 'value': !0 }), _m1s.TaskMarriage = void 0; var _m1y = _m1v(_m1t(18622)), _m1z = _m1t(79899), _m20 = _m1t(85426), _m21 = _m1t(87967), _m22 = _m1t(82881), _m23 = _m1t(15864), _m24 = _m1t(25903), _m25 = (function() { var _m26 = null; function _m27(_m28) { var _m29 = null, _m2a = this; this._onClickSign = function() { var _m2b = null; _m1y.default.view.overLayer.removeChild(_m2a.clickGuardMarriageConfirm), _m1y.default.view.overLayer.addChild(_m2a.clickGuardMarriageConfirm); var _m2c = new _m22.MarriageAPI(_m2a.memShipId); _m1y.default.view.clickGuard = !0, _m2c.start(function() { var _m2d = null; _m1y.default.view.clickGuard = !1; var _m2e = new _m20.MarriageAnimation(_m1y.default.model.ship.get(_m2a.memShipId).mstID); _m1y.default.view.overLayer.addChild(_m2e), _m2e.PreLoad(function() { var _m2f = null; _m2e.Initialize(), _m2e.Play(!1, function() { var _m2g = null; _m1y.default.view.overLayer.removeChild(_m2a.marriageConfirm), _m1y.default.view.overLayer.removeChild(_m2a.clickGuardMarriageConfirm), _m1y.default.view.overLayer.removeChild(_m2e), _m2e.Dispose(), _m1y.default.sound.bgm.play(102), _m2a.onUpdateShip(), _m2a.onComplete(); }); }); }); }, this._onClickConfirmBack = function() { var _m2h = null; _m1y.default.view.clickGuard = !0, createjs.Tween.get(_m2a.clickGuardMarriageConfirm).to({ 'alpha': 0 }, 250), createjs.Tween.get(_m2a.marriageConfirm).to({ 'alpha': 0 }, 250).call(function() { var _m2i = null; _m1y.default.view.clickGuard = !1, _m1y.default.view.overLayer.removeChild(_m2a.clickGuardMarriageConfirm), _m1y.default.view.overLayer.removeChild(_m2a.marriageConfirm), _m2a.onComplete(); }); }, this._onClickAlertBack = function() { var _m2j = null; _m1y.default.view.clickGuard = !0, createjs.Tween.get(_m2a.clickGuardMarriageConfirm).to({ 'alpha': 0 }, 250), createjs.Tween.get(_m2a.marriageAlert).to({ 'alpha': 0 }, 250).call(function() { var _m2k = null; _m1y.default.view.clickGuard = !1, _m1y.default.view.overLayer.removeChild(_m2a.clickGuardMarriageConfirm), _m1y.default.view.overLayer.removeChild(_m2a.marriageAlert), _m2a.onComplete(); }); }, this.mainView = _m28, this.marriageConfirm = new _m24.MarriageConfirm(this._onClickSign, this._onClickConfirmBack), this.marriageAlert = new _m23.MarriageAlert(), this.clickGuardMarriageConfirm = new _m1z.AreaBox(0.5); } return _m27.prototype.start = function(_m2l) { var _m2m = null, _m2n = _m1y.default.model.useItem.get(_m21.RemodelConst.MARRIAGE_RING_ITEMID).count, _m2o = 250; this.marriageConfirm.position.set(294, 212), this.marriageAlert.position.set(294, 212), this.clickGuardMarriageConfirm.alpha = 0, this.marriageConfirm.alpha = 0, this.marriageAlert.alpha = 0, 0 < _m2n ? (_m1y.default.view.overLayer.addChild(this.clickGuardMarriageConfirm), _m1y.default.view.overLayer.addChild(this.marriageConfirm), this.marriageConfirm.update(_m2n), _m1y.default.view.clickGuard = !0, createjs.Tween.get(this.clickGuardMarriageConfirm).to({ 'alpha': 1 }, _m2o), createjs.Tween.get(this.marriageConfirm).to({ 'alpha': 1 }, _m2o).call(function() { var _m2p = null; _m1y.default.view.clickGuard = !1; })) : (_m1y.default.view.overLayer.addChild(this.clickGuardMarriageConfirm), _m1y.default.view.overLayer.addChild(this.marriageAlert), this.marriageAlert.onClickBack = this._onClickAlertBack, _m1y.default.view.clickGuard = !0, createjs.Tween.get(this.clickGuardMarriageConfirm).to({ 'alpha': 1 }, _m2o), createjs.Tween.get(this.marriageAlert).to({ 'alpha': 1 }, _m2o).call(function() { var _m2q = null; _m1y.default.view.clickGuard = !1; })), this.memShipId = _m2l; }, _m27.prototype.dispose = function() { var _m2r = null; this.marriageAlert.onClickBack = this._onClickAlertBack = null, this.onUpdateShip = null, this.onComplete = null, this.mainView = null, this.marriageConfirm && this.marriageConfirm.dispose(), this.marriageAlert && this.marriageAlert.dispose(), this.marriageConfirm = null, this.marriageAlert = null, this.clickGuardMarriageConfirm = null, this.memShipId = null; }, _m27; }()); _m1s.TaskMarriage = _m25; }, 90593: function(_m2s, _m2t, _m2u) { 'use strict'; var _m2v = null; var _m2w, _m2x = this && this.__extends || (_m2w = function(_m2y, _m2z) { var _m30 = null; return _m2w = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_m31, _m32) { var _m33 = null; _m31.__proto__ = _m32; } || function(_m34, _m35) { var _m36 = null; for (var _m37 in _m35) Object.prototype.hasOwnProperty.call(_m35, _m37) && (_m34[_m37] = _m35[_m37]); }, _m2w(_m2y, _m2z); }, function(_m38, _m39) { var _m3a = null; if ('function' != typeof _m39 && null !== _m39) throw new TypeError('Class extends value ' + String(_m39) + ' is not a constructor or null'); function _m3b() { var _m3c = null; this.constructor = _m38; } _m2w(_m38, _m39), _m38.prototype = null === _m39 ? Object.create(_m39) : (_m3b.prototype = _m39.prototype, new _m3b()); }), _m3d = this && this.__importDefault || function(_m3e) { var _m3f = null; return _m3e && _m3e.__esModule ? _m3e : { 'default': _m3e }; }; defineModule(_m2t); Object.defineProperty(_m2t, '__esModule', { 'value': !0 }), _m2t.TaskSavePresetSlot = void 0; var _m3g = _m2u(81755), _m3h = _m3d(_m2u(18622)), _m3i = _m2u(36276), _m3j = _m2u(61864), _m3k = _m2u(57423), _m3l = _m2u(60315), _m3m = _m2u(71487), _m3n = _m2u(75311), _m3o = _m2u(30458), _m3p = _m2u(35660), _m3q = _m2u(96014), _m3r = _m2u(35380), _m3s = _m2u(79899), _m3t = _m2u(33568), _m3u = _m2u(42916), _m3v = _m2u(83426), _m3w = _m2u(31000), _m3x = function(_m3y) { var _m3z = null; function _m40(_m41) { var _m42 = null, _m43 = _m3y.call(this) || this; return _m43._onClickLock = function(_m44) { var _m45 = null; new _m3n.PresetSlotUpdateLockAPI(_m44).start(function() { var _m46 = null, _m47 = _m43._model.presetItemMap[_m44]; null != _m47 && (_m47.locked = !_m47.locked); }); }, _m43._onClickUpdateName = function(_m48, _m49) { var _m4a = null; new _m3m.PresetSlotUpdateNameAPI(_m48, _m49).start(function() { var _m4b = null, _m4c = _m43._model.presetItemMap[_m48]; if (null != _m4c) _m4c.name = _m49; else { var _m4d = new _m3j.PresetItem(); _m4d.preset_no = _m48, _m4d.name = _m49, _m43._model.savePresetItem(_m4d); } }); }, _m43._onClickSave = function(_m4e) { var _m4f = null; _m3w.SE.play('240'), new _m3k.PresetSlotRegisterAPI(_m4e, _m43._targetShip.memID).start(function() { var _m4g = null, _m4h, _m4i, _m4j = null !== (_m4i = null === (_m4h = _m43._model.presetItemMap[_m4e]) || void 0 === _m4h ? void 0 : _m4h.name) && void 0 !== _m4i ? _m4i : '', _m4k = new _m3j.PresetItem(); _m4k.preset_no = _m4e, _m4k.name = _m4j; var _m4l = _m43._targetShip.getSlotitems().filter(function(_m4m) { return null != _m4m; }); if (_m4l.length >= 0) { var _m4n = _m4l.map(function(_m4o) { var _m4p = null; return { 'id': _m4o.mstID, 'level': _m4o.level }; }); _m4k.slot_items = _m4n; } var _m4q = _m43._targetShip.getSlotitemEx(); if (null != _m4q) { var _m4r = { 'id': _m4q.mstID, 'level': _m4q.level }; _m4k.slot_item_ex = _m4r; } _m43._model.savePresetItem(_m4k), _m43._presetLayer.update(_m43._model, _m4e); }); }, _m43._onClickDelete = function(_m4s) { var _m4t = null; new _m3l.PresetSlotDeleteAPI(_m4s).start(function() { var _m4u = null; _m43._model.deletePresetItem(_m4s), _m43._presetLayer.update(_m43._model, _m4s); }); }, _m43._onClickUpdateExSlotFlag = function(_m4v) { var _m4w = null; new _m3o.PresetSlotUpdateExslotFlagAPI(_m4v).start(function() { var _m4x = null; _m43._model.updatePresetItemExFlag(_m4v), _m43._presetLayer.update(_m43._model, _m4v); }); }, _m43._onClickBackArea = function() { var _m4y = null; _m43._close(); }, _m43._onClickExtension = function() { var _m4z = null; _m43._presetLayer.deactivate(); var _m50 = new _m3u.TaskExtensionConfirm(_m3h.default.view.overLayer, function(_m51) { var _m52 = null; _m3h.default.view.clickGuard = !0, _m50.hide(function() { var _m53 = null; switch (_m51) { case !1: _m43._presetLayer.activate(), _m50.dispose(), _m3h.default.view.clickGuard = !1; break; case !0: var _m54 = new _m3p.APIConnector(); _m54.add(new _m3t.PresetSlotExpandAPI(_m43._model)), _m54.start(function() { var _m55 = null; _m43._presetLayer.initialize(_m43._model), _m50.dispose(), _m3h.default.view.clickGuard = !1; }); } }); }), _m56 = _m3h.default.model.useItem.get(49).count; _m50.start(_m56); }, _m43._targetShip = _m41, _m43._backArea = new _m3s.AreaBox(0.5), _m43._backArea.interactive = _m43._backArea.buttonMode = !0, _m43._backArea.on(_m3r.EventType.CLICK, _m43._onClickBackArea), _m43; } return _m2x(_m40, _m3y), _m40.prototype._start = function() { var _m57 = null; this._preLoad(); }, _m40.prototype._preLoad = function() { var _m58 = null, _m59 = this, _m5a = new _m3j.PresetSlotModel(); new _m3i.PresetSlotAPI(_m5a).start(function() { var _m5b = null; _m59._model = _m5a, _m59._showPreset(); }); }, _m40.prototype._showPreset = function() { var _m5c = null; _m3h.default.view.clickGuard = !0, this._presetLayer = new _m3q.PresetSaveLayer(this._onClickSave, this._onClickDelete, this._onClickUpdateName, this._onClickLock, this._onClickBackArea, this._onClickExtension, this._onClickUpdateExSlotFlag), this._presetLayer.position.set(95, 14), this._presetLayer.initialize(this._model), this._presetLayer.alpha = 0, this._backArea.alpha = 0, (_m3h.default.view.overLayer.addChild(this._backArea), _m3h.default.view.overLayer.addChild(this._presetLayer), createjs.Tween.get(this._presetLayer).to({ 'alpha': 1 }, 125), createjs.Tween.get(this._backArea).to({ 'alpha': 1 }, 125).call(function() { var _m5d = null; _m3h.default.view.clickGuard = !1; })); }, _m40.prototype._close = function() { var _m5e = null, _m5f = this; _m3h.default.view.clickGuard = !0, (createjs.Tween.get(this._backArea).to({ 'alpha': 0 }, 125), createjs.Tween.get(this._presetLayer).call(function() { var _m5g = null; _m3h.default.view.overLayer.removeChild(_m5f._presetLayer), _m3h.default.view.overLayer.removeChild(_m5f._backArea), _m3h.default.view.clickGuard = !1, _m5f._endTask(); })); }, _m40.prototype.dispose = function() { var _m5h = null; this._backArea.off(_m3r.EventType.CLICK, this._onClickBackArea), this._backArea.destroy(), this._backArea = null, this._presetLayer.dispose(), this._presetLayer = null; }, _m40.prototype._endTask = function() { var _m5i = null; for (var _m5j = !1, _m5k = 0; _m5k < this._model.max_num; _m5k++) { var _m5l = _m5k + 1; if (null != this._model.presetItemMap[_m5l]) this._model.presetItemMap[_m5l].isValid() && (_m5j = !0); } _m3v.SceneMemory.deployable = _m5j, _m3y.prototype._endTask.call(this); }, _m40; }(_m3g.TaskBase); _m2t.TaskSavePresetSlot = _m3x; }, 90066: function(_m5m, _m5n, _m5o) { 'use strict'; var _m5p = null; var _m5q = this && this.__importDefault || function(_m5r) { var _m5s = null; return _m5r && _m5r.__esModule ? _m5r : { 'default': _m5r }; }; defineModule(_m5n); Object.defineProperty(_m5n, '__esModule', { 'value': !0 }), _m5n.TaskShipChoice = void 0; var _m5t = _m5q(_m5o(21359)), _m5u = _m5q(_m5o(18622)), _m5v = _m5o(18343), _m5w = _m5o(83426), _m5x = _m5o(87967), _m5y = _m5o(38834), _m5z = _m5o(88656), _m60 = _m5o(5247), _m61 = _m5o(16677), _m62 = (function() { var _m63 = null; function _m64(_m65) { var _m66 = null, _m67 = this; this._onClickShip = function(_m68, _m69) { var _m6a = null; _m67.onClickShip(_m69), (_m5u.default.view.clickGuard = !0, _m67.backAreaChoiceShip.width = _m5t.default.width, createjs.Tween.get(_m67.backAreaChoiceShip).to({ 'alpha': 0 }, 125), createjs.Tween.get(_m67.shipList).to({ 'x': _m5t.default.width }, 125).call(function() { var _m6b = null; _m5u.default.view.clickGuard = !1, _m67.onComplete(); })); }, this._onClickBack = function() { var _m6c = null; _m5u.default.view.clickGuard = !0, _m61.WheelEventUtil.clear(), _m67.backAreaChoiceShip.width = _m5t.default.width, createjs.Tween.get(_m67.backAreaChoiceShip).to({ 'alpha': 0 }, 125), createjs.Tween.get(_m67.shipList).to({ 'x': _m5t.default.width }, 125).call(function() { var _m6d = null; _m5u.default.view.clickGuard = !1, _m67.onComplete(); }); }, this._onClickPager_ = function(_m6e) { var _m6f = null; _m67.pageIndex != _m6e && _m67._updatePage_(_m6e); }, this._onWheel = function(_m6g) { var _m6h = null; if (0 != _m6g.delta) { var _m6i = _m5y.RemodelUtil.calcPageCount(_m67.targets.length); if (0 != _m6i) { var _m6j = _m6g.delta > 0 ? _m67.pageIndex + 1 : _m67.pageIndex - 1; _m6j < 0 || _m6j + 1 > _m6i || (_m6g.enabledGuard(), _m67._onClickPager_(_m6j), _m67.shipList.pagerView.changePage(_m6j)); } } }, this._onClickSort_ = function() { var _m6k = null; switch (_m5w.SceneMemory.shipSortKeyType) { case 1: _m5w.SceneMemory.shipSortKeyType = 2; break; case 2: _m5w.SceneMemory.shipSortKeyType = 3; break; case 3: _m5w.SceneMemory.shipSortKeyType = 4; break; case 4: _m5w.SceneMemory.shipSortKeyType = 1; } _m67._updateSort_(_m5w.SceneMemory.shipSortKeyType), _m67._updatePage_(_m67.pageIndex); }, this.mainView = _m65, this.backAreaChoiceShip = new _m5z.BackAreaChoiceShip(), this.shipList = new _m60.ShipList(), this.shipList.pagerView.onChangePage = this._onClickPager_, this.shipList.shipSortButton.onClick = this._onClickSort_, this.backAreaChoiceShip.onClick = this._onClickBack, this.shipList.onClick = this._onClickShip; } return _m64.prototype.dispose = function() { var _m6l = null; this.mainView.removeChild(this.backAreaChoiceShip), this.mainView.removeChild(this.shipList), this.onClickShip = null, this.onComplete = null, this._onClickBack = null, this._onClickShip = null, this.backAreaChoiceShip && this.backAreaChoiceShip.dispose(), this.shipList && this.shipList.dispose(), this.mainView = null, this.backAreaChoiceShip = null, this.shipList = null, this.targets = null, this.pageIndex = null, _m61.WheelEventUtil.clear(); }, _m64.prototype.start = function(_m6m, _m6n) { var _m6o = null, _m6p, _m6q = this; _m5u.default.view.clickGuard = !0, _m6p = _m5y.RemodelUtil.createShipListForPowerUp(), _m6p = _m5v.ShipUtil.filter(_m6p, !0, _m6m), this._updateTargets_(_m6p), this._updateSort_(_m5w.SceneMemory.shipSortKeyType), this._updatePage_(_m6n), this.shipList.position.set(_m5t.default.width, 141), this.backAreaChoiceShip.alpha = 0, this.mainView.addChild(this.backAreaChoiceShip), this.mainView.addChild(this.shipList), (createjs.Tween.get(this.backAreaChoiceShip).to({ 'alpha': 1 }, 125), createjs.Tween.get(this.shipList).to({ 'x': 638 }, 125).call(function() { var _m6r = null; _m6q.backAreaChoiceShip.width = 684, _m5u.default.view.clickGuard = !1, _m61.WheelEventUtil.regist(_m6q._onWheel); })); }, _m64.prototype._updateTargets_ = function(_m6s) { var _m6t = null, _m6u = _m5y.RemodelUtil.calcPageCount(_m6s.length); this.shipList.pagerView.init(_m6u), this.targets = _m6s; }, _m64.prototype._updateSort_ = function(_m6v) { var _m6w = null; _m5v.ShipUtil.sort(this.targets, _m6v), 1 == _m6v && (this.targets = this.targets.reverse()), _m5w.SceneMemory.shipSortKeyType = _m6v, this.shipList.shipSortButton.update(_m6v); }, _m64.prototype._updatePage_ = function(_m6x) { var _m6y = null, _m6z = this.targets.slice(_m5x.RemodelConst.ITEM_NUM * _m6x, _m5x.RemodelConst.ITEM_NUM * _m6x + _m5x.RemodelConst.ITEM_NUM); this.shipList.clear(); for (var _m70 = 0; _m70 < _m6z.length; _m70++) { var _m71 = _m6z[_m70], _m72 = _m5u.default.model.ship.getMst(_m71.mstID), _m73 = _m5u.default.model.deck.isInDeck(_m71.memID); this.shipList.update(_m70, _m71, _m72, _m73); } this.pageIndex = _m6x; }, _m64; }()); _m5n.TaskShipChoice = _m62; }, 38834: function(_m74, _m75, _m76) { 'use strict'; var _m77 = null; var _m78 = this && this.__importDefault || function(_m79) { var _m7a = null; return _m79 && _m79.__esModule ? _m79 : { 'default': _m79 }; }; defineModule(_m75); Object.defineProperty(_m75, '__esModule', { 'value': !0 }), _m75.RemodelUtil = void 0; var _m7b, _m7c = _m76(87967), _m7d = _m76(61154), _m7e = _m76(18343), _m7f = _m78(_m76(18622)), _m7g = _m76(90977), _m7h = _m76(71633); ! function(_m7i) { var _m7j = null; _m7i.canKaizo = function(_m7k, _m7l) { var _m7m = null, _m7n = _m7f.default.model.ship_upgrade.getRequiredLevel(_m7k); return 0 != _m7n && !(_m7l < _m7n); }, _m7i.isSpKaizo = function(_m7o) { switch (_m7o) { case 149: case 277: case 594: case 350: case 293: case 579: case 150: case 628: case 278: case 698: case 610: case 228: case 651: case 215: case 306: case 73: case 501: case 307: case 663: case 318: case 883: case 396: case 369: case 588: case 667: case 136: case 911: case 285: case 894: case 204: case 151: case 593: case 954: case 145: case 316: case 325: case 955: case 960: case 121: case 502: return !0; default: return !1; } }, _m7i.calcPageCount = function(_m7p) { var _m7q = null, _m7r = 0 == _m7p ? 0 : _m7p / _m7c.RemodelConst.ITEM_NUM; return _m7r += 0 == _m7p ? 0 : 0 < _m7p % _m7c.RemodelConst.ITEM_NUM ? 1 : 0, _m7r = Math.floor(_m7r); }, _m7i.testExtensionableExtraslot = function(_m7s, _m7t) { var _m7u = null; return 0 == _m7s.isExtraSlot() && _m7s.level >= _m7c.RemodelConst.EXTRA_SLOT_LEVEL && 0 < _m7t; }, _m7i.genPowUpCategories = function(_m7v) { var _m7w = null, _m7x = new Array(), _m7y = _m7v.powUp; 0 < _m7y[0] && _m7x.push(_m7d.PowerUpCategory.Karyoku), 0 < _m7y[1] && _m7x.push(_m7d.PowerUpCategory.Raisou), 0 < _m7y[2] && _m7x.push(_m7d.PowerUpCategory.Taiku), 0 < _m7y[3] && _m7x.push(_m7d.PowerUpCategory.Soukou); for (var _m7z = 0; _m7z < 4 && _m7x.length < 4; _m7z++) _m7x.push(_m7d.PowerUpCategory.EMPTY); return _m7x; }, _m7i.calcPowerUpParams = function(_m80, _m81) { var _m82 = null; for (var _m83 = _m80[0], _m84 = _m80[1], _m85 = _m84.hougMax - _m84.hougMin, _m86 = _m84.raigMax - _m84.raigMin, _m87 = _m84.tykuMax - _m84.tykuMin, _m88 = _m84.soukMax - _m84.soukMin, _m89 = 0, _m8a = 0, _m8b = 0, _m8c = 0, _m8d = 0, _m8e = 0; _m8e < _m81.length; _m8e++) { var _m8f = _m81[_m8e].powUp; _m89 += _m8f[0], _m8a += _m8f[1], _m8b += _m8f[2], _m8c += _m8f[3], _m8d += _m8f[4]; } var _m8g = 0, _m8h = {}, _m8i = {}, _m8j = {}, _m8k = !1, _m8l = !1; for (_m8e = 0; _m8e < _m81.length; _m8e++) { var _m8m = _m81[_m8e], _m8n = _m8m.shipTypeID, _m8o = _m8m.getClassType().toString(); if (1 == _m8n)(_m8p = _m8h[_m8o]) || (_m8h[_m8o] = _m8p = new Array()), -1 == _m8p.indexOf(_m8m.yomi) && _m8p.push(_m8m.yomi), _m8g++; 0 == _m8k && (_m8k = _m8q(_m81[_m8e], 62, _m8i, 2)), 0 == _m8l && (_m8l = _m8q(_m81[_m8e], 72, _m8j, 2)); } var _m8r = _m84.getClassType(), _m8s = !1; if (_m83.gradeUpTaikyu < _m83.VHP && _m83.taikyu < _m84.taikyuMax) { var _m8t = !1; for (var _m8u in _m8h) { var _m8p; 2 <= (_m8p = _m8h[_m8u]).length && (_m8t = !0); }(_m8t || _m8k && [62, 72].indexOf(_m8r) >= 0 || _m8l && [72, 62, 41, 37].indexOf(_m8r) >= 0) && (_m8s = !0); } _m89 = Math.floor(1.2 * _m89 + 0.3), _m8a = Math.floor(1.2 * _m8a + 0.3), _m8b = Math.floor(1.2 * _m8b + 0.3), _m8c = Math.floor(1.2 * _m8c + 0.3), _m8d = Math.floor(1.2 * _m8d + 0.3); var _m8v = _m83.gradeUpHoug + _m89, _m8w = _m83.gradeUpRaig + _m8a, _m8x = _m83.gradeUpTyku + _m8b, _m8y = _m83.gradeUpSouk + _m8c; _m85 <= _m8v && (_m89 = _m85 - _m83.gradeUpHoug), _m86 <= _m8w && (_m8a = _m86 - _m83.gradeUpRaig), _m87 <= _m8x && (_m8b = _m87 - _m83.gradeUpTyku), _m88 <= _m8y && (_m8c = _m88 - _m83.gradeUpSouk); var _m8z = Math.max(_m84.luckMax - _m84.luckMin - _m83.gradeUpLuck, 0); _m8d = Math.min(_m8d, _m8z); var _m90 = !1, _m91 = !1; return _m8g >= 1 && (_m90 = !0, _m91 = !0, _m8z <= 0 && (_m91 = !1), (_m83.gradeUpTaisen >= _m83.VAS || _m83.taisenMax <= 0) && (_m90 = !1)), new _m7g.PowerUpCheckModel(_m89, _m8a, _m8b, _m8c, _m8d, _m91, _m8s, _m90); function _m8q(_m92, _m93, _m94, _m95) { var _m96 = null; return _m92.getClassType() == _m93 && (null == _m94[_m92.yomi] && (_m94[_m92.yomi] = 0), ++_m94[_m92.yomi] >= _m95); } }, _m7i.isUsablePumpkin = function(_m97) { var _m98 = null; if (!_m7h.EventConst.HALLOWEEN) return !1; var _m99 = _m97[0], _m9a = _m97[1], _m9b = !1; return Math.max(_m9a.luckMax - _m9a.luckMin - _m99.gradeUpLuck, 0) > 0 && (_m9b = !0), _m9b; }, _m7i.createShipListForPowerUp = function() { var _m9c = null, _m9d = new Array(); (_m9d = (_m9d = _m7e.ShipUtil.getMemIDsInExpedition()).concat(_m7f.default.model.ndock.getShipMemIDs())).push(_m7f.default.model.deck.get(1).getShipMemID(0)); var _m9e = _m7f.default.model.ship.getAll(); return _m7e.ShipUtil.filter(_m9e, !0, _m9d); }, _m7i.createUnSetListEx = function(_m9f, _m9g, _m9h) { var _m9i = null, _m9j = new Array(), _m9k = _m7f.default.model.shipType.getAllExId(), _m9l = _m7f.default.model.slot.getExtraEquipShipData(_m9f, _m9g, _m9h), _m9m = _m7f.default.model.equip.get(_m9f).equip_type, _m9n = new Array(); _m9m.forEach(function(_m9o) { var _m9p = null; - 1 < _m9k.indexOf(_m9o) && _m9n.push(_m9o); }); for (var _m9q = _m7f.default.model.slot.createUnsetList(_m9n), _m9r = [], _m9s = 0, _m9t = _m9l; _m9s < _m9t.length; _m9s++) { var _m9u = _m9t[_m9s], _m9v = _m7f.default.model.slot.getMst(_m9u).equipType; if (_m9m.indexOf(_m9v) > -1) { var _m9w = _m7f.default.model.slot.createUnsetListFromMstId(_m9u); _m9r = _m9r.concat(_m9w.filter(function(_m9x) { var _m9y = null; return _m7f.default.model.slot.isExtraSlotEquipableLevel(_m9x.mstID, _m9x.level); })); } } for (var _m9z = 0; _m9z < _m9q.length; _m9z++) { var _ma0 = _m9q[_m9z]; - 1 < _m9j.indexOf(_ma0) == 0 && _m9j.push(_ma0); } for (_m9z = 0; _m9z < _m9r.length; _m9z++) { _ma0 = _m9r[_m9z], -1 < _m9j.indexOf(_ma0) == 0 && _m9j.push(_ma0); } return _m9j; }, _m7i.createSetListEx = function(_ma1, _ma2, _ma3, _ma4) { var _ma5 = null, _ma6 = _m7f.default.model.ship.get(_ma1), _ma7 = [], _ma8 = _ma6.getSlotitemEx(), _ma9 = _ma6.getSlotitems(), _maa = null == _ma8 ? -1 : _ma8.memID; _ma7.push(_maa), _ma9.forEach(function(_mab) { var _mac = null; _mab && _ma7.push(_mab.memID); }); var _mad = [], _mae = {}, _maf = _m7f.default.model.shipType.getAllExId(), _mag = _m7f.default.model.slot.getExtraEquipShipData(_ma2, _ma3, _ma4), _mah = _m7f.default.model.equip.get(_ma2).equip_type, _mai = new Array(); _mah.forEach(function(_maj) { var _mak = null; - 1 < _maf.indexOf(_maj) && _mai.push(_maj); }); for (var _mal = _m7f.default.model.slot.createSetList(_mai), _mam = [ [], {} ], _man = 0, _mao = _mag; _man < _mao.length; _man++) { var _map = _mao[_man], _maq = _m7f.default.model.slot.getMst(_map).equipType; if (_mah.indexOf(_maq) > -1) { var _mar = _m7f.default.model.slot.createSetListFromMstId(_map); _mam[0] = _mam[0].concat(_mar[0].filter(function(_mas) { var _mat = null; return _m7f.default.model.slot.isExtraSlotEquipableLevel(_mas.mstID, _mas.level); })); for (var _mau = 0; _mau < _mar[0].length; _mau++) { var _mav = _mar[0][_mau].memID; _mam[1][_mav] = _mar[1][_mav]; } } } for (_mau = 0; _mau < _mal[0].length; _mau++) { var _maw = _mal[0][_mau]; - 1 < _mad.indexOf(_maw) == 0 && (_mad.push(_maw), _mae[_maw.memID] = _mal[1][_maw.memID]); } for (_mau = 0; _mau < _mam[0].length; _mau++) { _maw = _mam[0][_mau], -1 < _mad.indexOf(_maw) == 0 && (_mad.push(_maw), _mae[_maw.memID] = _mam[1][_maw.memID]); } return _mad = _mad.filter(function(_max) { var _may = null; return -1 == _ma7.indexOf(_max.memID); }), _ma7.forEach(function(_maz) { delete _mae[_maz]; }), [_mad, _mae]; }; }(_m7b || (_m75.RemodelUtil = _m7b = {})); }, 69377: function(_mb0, _mb1, _mb2) { 'use strict'; var _mb3 = null; var _mb4 = this && this.__importDefault || function(_mb5) { var _mb6 = null; return _mb5 && _mb5.__esModule ? _mb5 : { 'default': _mb5 }; }; defineModule(_mb1); Object.defineProperty(_mb1, '__esModule', { 'value': !0 }), _mb1.get25mmMachinegunEffect = void 0; var _mb7 = _mb2(74496), _mb8 = _mb4(_mb2(18622)); _mb1.get25mmMachinegunEffect = function(_mb9) { var _mba = null, _mbb = new _mb7.SlotItemEffectModel(), _mbc = !1, _mbd = new _mb7.SlotItemEffectModel(), _mbe = 0; if (662 == _mb9.ship_id || 663 == _mb9.ship_id ? (_mbd.tyku += 2, _mbd.kaih += 1, _mbc = !0) : 668 == _mb9.ship_id && (_mbd.tyku += 3, _mbd.kaih += 2, _mbc = !0), 56 == _mb9.ctype && (_mbd.houg += 1, _mbd.tyku += 2, _mbd.kaih += 2, _mbc = !0, _mbe = 1), 0 == _mbc) return _mbb; var _mbf = _mb9.get_slotnums(39) + _mb9.get_slotnums(40) + _mb9.get_slotnums(49) + _mb9.get_slotnums(131); if (_mbb.add(_mbd.multiply(_mbf)), 0 == _mbe) return _mbb; for (var _mbg = 0, _mbh = 0, _mbi = _mb9.have_slot_ids(); _mbh < _mbi.length; _mbh++) { var _mbj = _mbi[_mbh], _mbk = _mb8.default.model.slot.getMst(_mbj), _mbl = _mbk.equipType; 12 != _mbl && 13 != _mbl || (_mbk.sakuteki >= 5 && _mb9.get_slotnums(parseInt(_mbj)), _mbk.taiku >= 2 && (_mbg += _mb9.get_slotnums(parseInt(_mbj)))); } return _mbg >= 1 && 1 == _mbe && (_mbb.tyku += 2, _mbb.kaih += 2), _mbb; }; }, 77670: function(_mbm, _mbn, _mbo) { 'use strict'; var _mbp = null; var _mbq = this && this.__importDefault || function(_mbr) { var _mbs = null; return _mbr && _mbr.__esModule ? _mbr : { 'default': _mbr }; }; defineModule(_mbn); Object.defineProperty(_mbn, '__esModule', { 'value': !0 }), _mbn.get8cmAntiAircraftGunPersonalEffect = void 0; var _mbt = _mbo(74496), _mbu = _mbq(_mbo(18622)); _mbn.get8cmAntiAircraftGunPersonalEffect = function(_mbv) { var _mbw = null, _mbx = new _mbt.SlotItemEffectModel(), _mby = !1, _mbz = new _mbt.SlotItemEffectModel(), _mc0 = 0; if (501 != _mbv.ship_id && 506 != _mbv.ship_id && 502 != _mbv.ship_id && 507 != _mbv.ship_id || (_mbz.tyku += 2, _mbz.kaih += 1, _mby = !0, _mc0 = 1), 501 != _mbv.ship_id && 506 != _mbv.ship_id || (_mbz.houg += 1, _mbz.tyku += 2, _mbz.kaih += 2, _mby = !0, _mc0 = 1), 0 == _mby) return _mbx; var _mc1 = _mbv.get_slotnums(66) + _mbv.get_slotnums(220); _mbx.add(_mbz.multiply(_mc1)); for (var _mc2 = 0, _mc3 = 0, _mc4 = _mbv.have_slot_ids(); _mc3 < _mc4.length; _mc3++) { var _mc5 = _mc4[_mc3], _mc6 = _mbu.default.model.slot.getMst(_mc5), _mc7 = _mc6.equipType; 12 != _mc7 && 13 != _mc7 || (_mc6.sakuteki >= 5 && _mbv.get_slotnums(parseInt(_mc5)), _mc6.taiku >= 2 && (_mc2 += _mbv.get_slotnums(parseInt(_mc5)))); } return 0 == _mc0 || _mc2 >= 1 && (_mbx.tyku += 1, _mbx.kaih += 2), _mbx; }; }, 34165: (_mc8, _mc9, _mca) => { 'use strict'; var _mcb = null; defineModule(_mc9); Object.defineProperty(_mc9, '__esModule', { 'value': !0 }), _mc9.getCamouflageSlotPersonalEffect = void 0; var _mcc = _mca(74496); _mc9.getCamouflageSlotPersonalEffect = function(_mcd) { var _mce = null, _mcf = new _mcc.SlotItemEffectModel(); return 'きそ' != _mcd.yomi && 'たま' != _mcd.yomi || (_mcf.kaih = 7, _mcf.souk = 2), _mcf; }; }, 31127: (_mcg, _mch, _mci) => { 'use strict'; var _mcj = null; defineModule(_mch); Object.defineProperty(_mch, '__esModule', { 'value': !0 }), _mch.getHighZuiunSeriesEffect = void 0; var _mck = _mci(74496); _mch.getHighZuiunSeriesEffect = function(_mcl) { var _mcm = null, _mcn = new _mck.SlotItemEffectModel(), _mco = !1, _mcp = new _mck.SlotItemEffectModel(); if (662 == _mcl.ship_id ? (_mcn.houg += 3, _mcn.kaih += 1) : 663 == _mcl.ship_id || 668 == _mcl.ship_id || 501 == _mcl.ship_id || 506 == _mcl.ship_id || 553 == _mcl.ship_id || 554 == _mcl.ship_id ? (_mcp.houg += 3, _mcp.kaih += 2, _mcp.tyku += 1, _mco = !0) : 502 != _mcl.ship_id && 507 != _mcl.ship_id || (_mcp.houg += 2, _mcp.kaih += 2, _mcp.tyku += 1, _mco = !0), 0 == _mco) return _mcn; var _mcq = 0; return [237, 322, 323, 490].forEach(function(_mcr) { var _mcs = null; _mcq += _mcl.get_slotnums(_mcr); }), _mcn.add(_mcp.multiply(_mcq)), _mcn; }; }, 81018: function(_mct, _mcu, _mcv) { 'use strict'; var _mcw = null; var _mcx = this && this.__importDefault || function(_mcy) { var _mcz = null; return _mcy && _mcy.__esModule ? _mcy : { 'default': _mcy }; }; defineModule(_mcu); Object.defineProperty(_mcu, '__esModule', { 'value': !0 }), _mcu.getRaderPrivateEffect = void 0; var _md0 = _mcv(74496), _md1 = _mcx(_mcv(18622)); _mcu.getRaderPrivateEffect = function(_md2) { var _md3 = null, _md4 = new _md0.SlotItemEffectModel(), _md5 = 0, _md6 = 0; if (569 == _md2.ship_id || 648 == _md2.ship_id || 961 == _md2.ship_id || 951 == _md2.ship_id) _md5 = 1; else { if (955 != _md2.ship_id && 960 != _md2.ship_id) return _md4; _md5 = 2, _md6 = 1; } for (var _md7 = 0, _md8 = 0, _md9 = _md2.have_slot_ids(); _md8 < _md9.length; _md8++) { var _mda = _md9[_md8], _mdb = _md1.default.model.slot.getMst(_mda), _mdc = _mdb.equipType; 12 != _mdc && 13 != _mdc || (_mdb.sakuteki >= 5 && _md2.get_slotnums(parseInt(_mda)), _mdb.taiku >= 2 && (_md7 += _md2.get_slotnums(parseInt(_mda)))); } if (_md7 > 0 && (1 == _md5 ? (_md4.houg += 1, _md4.kaih += 3, _md4.tyku += 2) : 2 == _md5 && (_md4.tyku += 2, _md4.kaih += 1)), 0 == _md6) return _md4; for (var _mdd = [], _mde = function(_mdf) { var _mdg = null; if (null == _md2.have_slots_dict[_mdf]) return 'continue'; var _mdh = _md2.get_each_level_nums(_mdf); null == _mdd[_mdf] && (_mdd[_mdf] = []), _mdh.forEach(function(_mdi, _mdj) { var _mdk = null; for (var _mdl = 1; _mdl <= _md2.SLOT_LEVEL_MAX; _mdl++) null == _mdd[_mdf][_mdl] && (_mdd[_mdf][_mdl] = 0), _mdj >= _mdl && (_mdd[_mdf][_mdl] += _mdi); }); }, _mdm = 0, _mdn = [450]; _mdm < _mdn.length; _mdm++) { _mde(_mdn[_mdm]); } var _mdo = null != _mdd[450] ? _mdd[450][4] : 0; return 1 == _md6 && _mdo > 0 && (_md4.houg += 1, _md4.houm += 1, _md4.tyku += 1, _md4.kaih += 2), _md4; }; }, 56716: (_mdp, _mdq, _mdr) => { 'use strict'; var _mds = null; defineModule(_mdq); Object.defineProperty(_mdq, '__esModule', { 'value': !0 }), _mdq.getSearchLightEffect = void 0; var _mdt = _mdr(74496); _mdq.getSearchLightEffect = function(_mdu) { var _mdv = null, _mdw = new _mdt.SlotItemEffectModel(), _mdx = _mdu.get_type3_nums(29); return 'ひえい' == _mdu.yomi || 'きりしま' == _mdu.yomi || 'ちょうかい' == _mdu.yomi || 'じんつう' == _mdu.yomi || 'あかつき' == _mdu.yomi ? (_mdw.houg += 4, _mdw.kaih -= 1) : 'あきぐも' == _mdu.yomi ? _mdw.houg = _mdw.houg + 2 * _mdx : 'ゆきかぜ' == _mdu.yomi && (_mdw.houg = _mdw.houg + _mdx, _mdw.tyku = _mdw.tyku + _mdx), 662 != _mdu.ship_id && 663 != _mdu.ship_id && 668 != _mdu.ship_id || (_mdw.raig += 2, _mdw.houg += 4), 'じんつう' == _mdu.yomi && (_mdw.raig += 8, _mdw.houg += 4), _mdw; }; }, 17713: (_mdy, _mdz, _me0) => { 'use strict'; var _me1 = null; defineModule(_mdz); Object.defineProperty(_mdz, '__esModule', { 'value': !0 }), _mdz.getSearchLightLargeEffect = void 0; var _me2 = _me0(74496); _mdz.getSearchLightLargeEffect = function(_me3) { var _me4 = null, _me5 = new _me2.SlotItemEffectModel(); 'ひえい' == _me3.yomi || 'きりしま' == _me3.yomi ? (_me5.houg += 6, _me5.kaih -= 2) : 'やまと' != _me3.yomi && 'むさし' != _me3.yomi || (_me5.houg += 4, _me5.kaih -= 1); var _me6 = _me3.get_slotnums(174); return 592 == _me3.ship_id && (_me5.houg += 3, _me5.raig += 3, _me6 > 0 && (_me5.raig += 5)), _me5; }; }, 17213: (_me7, _me8, _me9) => { 'use strict'; var _mea = null; defineModule(_me8); Object.defineProperty(_me8, '__esModule', { 'value': !0 }), _me8.getSlot100PersonalEffect = void 0; var _meb = _me9(74496); _me8.getSlot100PersonalEffect = function(_mec) { var _med = null, _mee = new _meb.SlotItemEffectModel(), _mef = new _meb.SlotItemEffectModel(); if (553 == _mec.ship_id) _mef.houg = 4; else { if (554 != _mec.ship_id) return 196 == _mec.ship_id ? (_mee.houg = 3, _mee) : 197 == _mec.ship_id ? (_mee.houg = 6, _mee) : _mee; _mef.houg = 4; } var _meg = _mec.get_slotnums(100); return _mee = _mef.multiply(_meg); }; }, 40176: (_meh, _mei, _mej) => { 'use strict'; var _mek = null; defineModule(_mei); Object.defineProperty(_mei, '__esModule', { 'value': !0 }), _mei.getSlot104PersonalEffect = void 0; var _mel = _mej(74496); _mei.getSlot104PersonalEffect = function(_mem) { var _men = null, _meo = new _mel.SlotItemEffectModel(), _mep = new _mel.SlotItemEffectModel(); if (149 == _mem.ship_id || 591 == _mem.ship_id) _mep.houg = 2; else { if (150 == _mem.ship_id || 592 == _mem.ship_id) _mep.houg = 1; else { if (152 == _mem.ship_id) _mep.houg = 1; else { if (151 != _mem.ship_id && 593 != _mem.ship_id && 954 != _mem.ship_id) return _meo; _mep.houg = 2, _mep.tyku = 1, _mep.kaih = 2; } } } var _meq = _mem.get_slotnums(104); return _meo = _mep.multiply(_meq); }; }, 32889: (_mer, _mes, _met) => { 'use strict'; var _meu = null; defineModule(_mes); Object.defineProperty(_mes, '__esModule', { 'value': !0 }), _mes.getSlot106PersonalEffect = void 0; var _mev = _met(74496); _mes.getSlot106PersonalEffect = function(_mew) { var _mex = null, _mey = new _mev.SlotItemEffectModel(), _mez = new _mev.SlotItemEffectModel(); if ([407, 419, 145, 151, 541, 911, 916, 593, 954, 961].indexOf(_mew.ship_id) >= 0 ? (_mez.houg += 1, _mez.tyku += 2, _mez.souk += 1, _mez.kaih += 3) : ['おおよど', 'ひびき', 'かしま'].indexOf(_mew.yomi) >= 0 ? (_mez.tyku += 1, _mez.souk += 1, _mez.kaih += 3) : ['やはぎ', 'ゆきかぜ', 'いそかぜ', 'あさしも', 'はまかぜ', 'かすみ', 'すずつき'].indexOf(_mew.yomi) >= 0 && (_mez.tyku += 2, _mez.souk += 1, _mez.kaih += 2, 663 != _mew.ship_id && 668 != _mew.ship_id || (_mey.houg += 1, _mey.tyku += 1, _mey.souk += 1, _mey.kaih += 1), 668 == _mew.ship_id && (_mey.tyku += 1, _mey.kaih += 1)), !_mez.exists()) return _mey; var _mf0 = _mew.get_slotnums(106) + _mew.get_slotnums(450); return _mey.add(_mez.multiply(_mf0)), _mey; }; }, 15133: (_mf1, _mf2, _mf3) => { 'use strict'; var _mf4 = null; defineModule(_mf2); Object.defineProperty(_mf2, '__esModule', { 'value': !0 }), _mf2.getSlot115PersonalEffect = void 0; var _mf5 = _mf3(74496); _mf2.getSlot115PersonalEffect = function(_mf6) { var _mf7 = null, _mf8 = new _mf5.SlotItemEffectModel(), _mf9 = !1, _mfa = new _mf5.SlotItemEffectModel(), _mfb = 0; if (55 != _mf6.ctype && 47 != _mf6.ctype || (_mfa.houg += 2, _mfa.saku += 2, _mfa.kaih += 1, _mf9 = !0, _mfb = 1), 0 == _mf9) return _mf8; var _mfc = _mf6.get_slotnums(115); if (_mf8.add(_mfa.multiply(_mfc)), 0 == _mfb) return _mf8; var _mfd = _mf6.get_each_level_nums(115)[10]; return 1 == _mfb && (_mf8.houg += 1 * _mfd, _mf8.kaih += 1 * _mfd), _mf8; }; }, 55747: (_mfe, _mff, _mfg) => { 'use strict'; var _mfh = null; defineModule(_mff); Object.defineProperty(_mff, '__esModule', { 'value': !0 }), _mff.getSlot118PersonalEffect = void 0; var _mfi = _mfg(74496); _mff.getSlot118PersonalEffect = function(_mfj) { var _mfk = null, _mfl = new _mfi.SlotItemEffectModel(), _mfm = !1, _mfn = new _mfi.SlotItemEffectModel(), _mfo = 0; if (52 == _mfj.ctype && (_mfn.houg += 1, _mfn.saku += 2, _mfn.kaih += 2, _mfo = 1, _mfm = !0), 507 == _mfj.ship_id && (_mfn.houg += 3, _mfn.saku += 2, _mfn.kaih += 1, _mfo = 2, _mfm = !0), 0 == _mfm) return _mfl; var _mfp = _mfj.get_slotnums(118) + _mfj.get_slotnums(521); if (_mfl.add(_mfn.multiply(_mfp)), 0 == _mfj.get_slotnums(118)) return _mfl; if (0 == _mfo) return _mfl; var _mfq = _mfj.get_each_level_nums(118), _mfr = 0, _mfs = 0, _mft = 0, _mfu = _mfq[10]; return _mfq.forEach(function(_mfv, _mfw) { _mfw >= 2 && (_mfr += _mfv), _mfw >= 5 && (_mfs += _mfv), _mfw >= 7 && (_mft += _mfv); }), 1 == _mfo ? (_mfl.houg += 2 * _mfu, _mfl.saku += 1 * _mfu) : 2 == _mfo && (_mfl.houm += 1 * _mfr, _mfl.kaih += 1 * _mfs, _mfl.houg += 1 * _mft, _mfl.houg += 1 * _mfu, _mfl.raig += 1 * _mfu, _mfl.tyku += 1 * _mfu, _mfl.saku += 1 * _mfu, _mfl.kaih += 1 * _mfu), _mfl; }; }, 11285: (_mfx, _mfy, _mfz) => { 'use strict'; var _mg0 = null; defineModule(_mfy); Object.defineProperty(_mfy, '__esModule', { 'value': !0 }), _mfy.getSlot119PersonalEffect = void 0; var _mg1 = _mfz(74496); _mfy.getSlot119PersonalEffect = function(_mg2) { var _mg3 = null, _mg4 = new _mg1.SlotItemEffectModel(), _mg5 = new _mg1.SlotItemEffectModel(); 34 == _mg2.ctype || 56 == _mg2.ctype ? _mg5.houg += 1 : 90 == _mg2.ctype && (_mg5.houg += 2, _mg5.raig += 1); var _mg6 = !0; if (_mg5.exists() || (_mg6 = !1), 0 == _mg6) return _mg4; var _mg7 = _mg2.get_slotnums(119); return _mg4 = _mg5.multiply(_mg7); }; }, 96200: (_mg8, _mg9, _mga) => { 'use strict'; var _mgb = null; defineModule(_mg9); Object.defineProperty(_mg9, '__esModule', { 'value': !0 }), _mg9.getSlot120mm50GroupPersonalEffect = void 0; var _mgc = _mga(74496); _mg9.getSlot120mm50GroupPersonalEffect = function(_mgd) { var _mge = null, _mgf = new _mgc.SlotItemEffectModel(), _mgg = !1, _mgh = new _mgc.SlotItemEffectModel(), _mgi = _mgd.get_slotnums(147), _mgj = _mgd.get_slotnums(393), _mgk = _mgd.get_slotnums(394), _mgl = new _mgc.SlotItemEffectModel(), _mgm = new _mgc.SlotItemEffectModel(); if (61 == _mgd.ctype && (_mgh.houg += 1, _mgh.kaih += 1, _mgg = !0, _mgj >= 1 && (_mgl.houg += 1, _mgl.tyku += 1), _mgk >= 1 && (_mgm.houg += 1, _mgm.tyku += 1, _mgm.kaih += 1, 'グレカーレ' == _mgd.yomi && (_mgm.kaih += 1))), 0 == _mgg) return _mgf; var _mgn = _mgi + _mgj + _mgk; return _mgf.add(_mgh.multiply(_mgn)).add(_mgl.multiply(_mgj)).add(_mgm.multiply(_mgk)), _mgf; }; }, 33155: function(_mgo, _mgp, _mgq) { 'use strict'; var _mgr = null; var _mgs = this && this.__importDefault || function(_mgt) { var _mgu = null; return _mgt && _mgt.__esModule ? _mgt : { 'default': _mgt }; }; defineModule(_mgp); Object.defineProperty(_mgp, '__esModule', { 'value': !0 }), _mgp.getSlot121PersonalEffect = void 0; var _mgv = _mgq(74496), _mgw = _mgs(_mgq(18622)); _mgp.getSlot121PersonalEffect = function(_mgx) { var _mgy = null, _mgz = new _mgv.SlotItemEffectModel(), _mh0 = 0; if (54 == _mgx.ctype && (_mgz.tyku += 4, _mgz.kaih += 2, _mh0 = 1), 0 == _mh0) return _mgz; for (var _mh1 = 0, _mh2 = 0, _mh3 = _mgx.have_slot_ids(); _mh2 < _mh3.length; _mh2++) { var _mh4 = _mh3[_mh2], _mh5 = _mgw.default.model.slot.getMst(_mh4), _mh6 = _mh5.equipType; 12 != _mh6 && 13 != _mh6 || (_mh5.sakuteki >= 5 && _mgx.get_slotnums(parseInt(_mh4)), _mh5.taiku >= 2 && (_mh1 += _mgx.get_slotnums(parseInt(_mh4)))); } return _mh1 >= 1 && (_mgz.tyku += 2, _mgz.kaih += 2), _mgz; }; }, 9115: function(_mh7, _mh8, _mh9) { 'use strict'; var _mha = null; var _mhb = this && this.__importDefault || function(_mhc) { var _mhd = null; return _mhc && _mhc.__esModule ? _mhc : { 'default': _mhc }; }; defineModule(_mh8); Object.defineProperty(_mh8, '__esModule', { 'value': !0 }), _mh8.getSlot122PersonalEffect = void 0; var _mhe = _mh9(74496), _mhf = _mhb(_mh9(18622)); _mh8.getSlot122PersonalEffect = function(_mhg) { var _mhh = null, _mhi = new _mhe.SlotItemEffectModel(), _mhj = 0, _mhk = 0, _mhl = !1; 656 == _mhg.ship_id && (_mhl = !0, _mhj = 1, _mhk = 1); var _mhm = 0, _mhn = 0, _mho = _mhg.get_each_level_nums(122), _mhp = 0; if (_mhl) { _mho.forEach(function(_mhq, _mhr) { _mhr >= 4 && (_mhp += _mhq); }); for (var _mhs = 0, _mht = _mhg.have_slot_ids(); _mhs < _mht.length; _mhs++) { var _mhu = _mht[_mhs], _mhv = _mhf.default.model.slot.getMst(_mhu), _mhw = _mhv.equipType; 12 != _mhw && 13 != _mhw || (_mhv.sakuteki >= 5 && (_mhm += _mhg.get_slotnums(parseInt(_mhu))), _mhv.taiku >= 2 && (_mhn += _mhg.get_slotnums(parseInt(_mhu)))); } } return _mhp > 0 && (1 == _mhk && (_mhm > 0 && (_mhi.houg += 4, _mhi.kaih += 3), _mhn > 0 && (_mhi.tyku += 4, _mhi.kaih += 3)), 1 == _mhj && (_mhi.houg += 5 * _mhp, _mhi.tyku += 3 * _mhp, _mhi.kaih += 2 * _mhp)), _mhi; }; }, 37173: (_mhx, _mhy, _mhz) => { 'use strict'; var _mi0 = null; defineModule(_mhy); Object.defineProperty(_mhy, '__esModule', { 'value': !0 }), _mhy.getSlot129PersonalEffect = void 0; var _mi1 = _mhz(74496); _mhy.getSlot129PersonalEffect = function(_mi2) { var _mi3 = null, _mi4 = new _mi1.SlotItemEffectModel(), _mi5 = !1, _mi6 = new _mi1.SlotItemEffectModel(); if ([66, 28, 12, 1, 5, 10, 23, 18, 30, 38, 22, 54, 101].indexOf(_mi2.ctype) >= 0 ? (_mi6.houg = 1, _mi6.raig = 2, _mi6.kaih = 2, _mi6.tais = 2, _mi6.saku = 1, _mi5 = !0) : [21, 4, 20, 16, 34, 56, 41, 52].indexOf(_mi2.ctype) >= 0 ? (_mi6.houg = 1, _mi6.raig = 2, _mi6.kaih = 2, _mi6.saku = 3, _mi5 = !0) : [7, 13, 29, 8, 9, 31].indexOf(_mi2.ctype) >= 0 && (_mi6.houg = 1, _mi6.kaih = 2, _mi6.saku = 3, _mi5 = !0), 0 == _mi5) return _mi4; var _mi7 = _mi2.get_slotnums(129); return _mi4 = _mi6.multiply(_mi7); }; }, 73254: (_mi8, _mi9, _mia) => { 'use strict'; var _mib = null; defineModule(_mi9); Object.defineProperty(_mi9, '__esModule', { 'value': !0 }), _mi9.getSlot12PersonalEffect = void 0; var _mic = _mia(74496); _mi9.getSlot12PersonalEffect = function(_mid) { var _mie = null, _mif = new _mic.SlotItemEffectModel(), _mig = !1, _mih = new _mic.SlotItemEffectModel(), _mii = _mid.get_slotnums(142) + _mid.get_slotnums(460); if (37 == _mid.ctype && (_mih.houg += 1, _mih.kaih += 1, _mih.houm += 1, _mii >= 1 && (_mif.kaih += 1, _mif.houm += 1), _mig = !0), 0 == _mig) return _mif; var _mij = _mid.get_slotnums(12); return _mif.add(_mih.multiply(_mij)), _mif; }; }, 93373: (_mik, _mil, _mim) => { 'use strict'; var _min = null; defineModule(_mil); Object.defineProperty(_mil, '__esModule', { 'value': !0 }), _mil.getSlot132PersonalEffect = void 0; var _mio = _mim(74496); _mil.getSlot132PersonalEffect = function(_mip) { var _miq = null, _mir = new _mio.SlotItemEffectModel(), _mis = _mip.get_each_level_nums(132), _mit = 0, _miu = 0, _miv = 0, _miw = 0, _mix = 0; return _mis.forEach(function(_miy, _miz) { _miz >= 3 && (_mit += _miy), _miz >= 5 && (_miu += _miy), _miz >= 7 && (_miv += _miy), _miz >= 8 && (_miw += _miy), _miz >= 9 && (_mix += _miy); }), _mit >= 1 && (_mir.kaih += 1), _miu >= 1 && (_mir.tais += 1), _miv >= 1 && (_mir.kaih += 1), _miw >= 1 && (_mir.tais += 1), _mix >= 1 && (_mir.houm += 1), _mis[10] >= 1 && (_mir.tais += 1), 911 != _mip.ship_id && 916 != _mip.ship_id && 546 != _mip.ship_id || (_mir.kaih += 1), 461 != _mip.ship_id && 466 != _mip.ship_id && 462 != _mip.ship_id && 467 != _mip.ship_id && 156 != _mip.ship_id || (_mir.kaih += 2), _mir; }; }, 88838: (_mj0, _mj1, _mj2) => { 'use strict'; var _mj3 = null; defineModule(_mj1); Object.defineProperty(_mj1, '__esModule', { 'value': !0 }), _mj1.getSlot136PersonalEffect = void 0; var _mj4 = _mj2(74496); _mj1.getSlot136PersonalEffect = function(_mj5) { var _mj6 = null, _mj7 = new _mj4.SlotItemEffectModel(), _mj8 = 0; if (58 != _mj5.ctype && 61 != _mj5.ctype && 64 != _mj5.ctype && 68 != _mj5.ctype && 80 != _mj5.ctype && 92 != _mj5.ctype && 113 != _mj5.ctype && 124 != _mj5.ctype || (_mj7.souk += 2, _mj7.kaih += 1, _mj8 = 1), 879 == _mj5.ship_id && (_mj7.souk += 1, _mj7.kaih += 1), 0 == _mj8) return _mj7; var _mj9 = _mj5.get_each_level_nums(136), _mja = 0, _mjb = 0, _mjc = _mj9[10]; return _mj8 > 0 && _mj9.forEach(function(_mjd, _mje) { _mje >= 3 && (_mja += _mjd), _mje >= 6 && (_mjb += _mjd); }), 1 == _mj8 && (_mja >= 1 && (_mj7.souk += 1 * _mja), _mjb >= 1 && (_mj7.souk += 1 * _mjb), _mjc >= 1 && (_mj7.souk += 1 * _mjc)), _mj7; }; }, 17274: (_mjf, _mjg, _mjh) => { 'use strict'; var _mji = null; defineModule(_mjg); Object.defineProperty(_mjg, '__esModule', { 'value': !0 }), _mjg.getSlot139PersonalEffect = void 0; var _mjj = _mjh(74496); _mjg.getSlot139PersonalEffect = function(_mjk) { var _mjl = null, _mjm = new _mjj.SlotItemEffectModel(), _mjn = !1, _mjo = new _mjj.SlotItemEffectModel(); if (662 != _mjk.ship_id && 663 != _mjk.ship_id && 668 != _mjk.ship_id || (_mjo.houg += 2, _mjo.tyku += 1, _mjn = !0), 0 == _mjn) return _mjm; var _mjp = _mjk.get_slotnums(139); return _mjm.add(_mjo.multiply(_mjp)), _mjm; }; }, 21713: (_mjq, _mjr, _mjs) => { 'use strict'; var _mjt = null; defineModule(_mjr); Object.defineProperty(_mjr, '__esModule', { 'value': !0 }), _mjr.getSlot143PersonalEffect = void 0; var _mju = _mjs(74496); _mjr.getSlot143PersonalEffect = function(_mjv) { var _mjw = null, _mjx = new _mju.SlotItemEffectModel(); return 'あかぎ' == _mjv.yomi ? _mjx.houg = 3 : 'かが' == _mjv.yomi || 'しょうかく' == _mjv.yomi ? _mjx.houg = 2 : ('ずいかく' == _mjv.yomi || 'りゅうじょう' == _mjv.yomi) && (_mjx.houg = 1), _mjx; }; }, 59823: (_mjy, _mjz, _mk0) => { 'use strict'; var _mk1 = null; defineModule(_mjz); Object.defineProperty(_mjz, '__esModule', { 'value': !0 }), _mjz.getSlot144PersonalEffect = void 0; var _mk2 = _mk0(74496); _mjz.getSlot144PersonalEffect = function(_mk3) { var _mk4 = null, _mk5 = new _mk2.SlotItemEffectModel(); return 'あかぎ' == _mk3.yomi ? _mk5.houg = 3 : 'かが' == _mk3.yomi ? _mk5.houg = 2 : 'しょうかく' == _mk3.yomi ? (_mk5.houg = 2, 461 != _mk3.ship_id && 466 != _mk3.ship_id || (_mk5.houg += 2)) : 'ずいかく' == _mk3.yomi ? (_mk5.houg = 1, 462 != _mk3.ship_id && 467 != _mk3.ship_id || (_mk5.houg += 1)) : 'りゅうじょう' == _mk3.yomi && (_mk5.houg = 1), _mk5; }; }, 57440: (_mk6, _mk7, _mk8) => { 'use strict'; var _mk9 = null; defineModule(_mk7); Object.defineProperty(_mk7, '__esModule', { 'value': !0 }), _mk7.getSlot149PersonalEffect = void 0; var _mka = _mk8(74496); _mk7.getSlot149PersonalEffect = function(_mkb) { var _mkc = null, _mkd = new _mka.SlotItemEffectModel(), _mke = new _mka.SlotItemEffectModel(), _mkf = !1; return 488 == _mkb.ship_id || 141 == _mkb.ship_id || 160 == _mkb.ship_id || 622 == _mkb.ship_id || 623 == _mkb.ship_id || 656 == _mkb.ship_id || 961 == _mkb.ship_id ? (_mke.tais = 1, _mke.kaih = 3, _mkf = !0) : 624 == _mkb.ship_id ? (_mke.tais = 3, _mke.kaih = 5, _mkf = !0) : 662 == _mkb.ship_id && (_mke.tais = 2, _mke.kaih = 4, _mkf = !0), 54 == _mkb.ctype && (_mke.tais = 1, _mke.kaih = 2, _mkf = !0), 0 == _mkf ? _mkd : _mkd = _mke.multiply(1); }; }, 29493: (_mkg, _mkh, _mki) => { 'use strict'; var _mkj = null; defineModule(_mkh); Object.defineProperty(_mkh, '__esModule', { 'value': !0 }), _mkh.getSlot14inch45CaliberGunPersonalEffect = void 0; var _mkk = _mki(74496); _mkh.getSlot14inch45CaliberGunPersonalEffect = function(_mkl) { var _mkm = null, _mkn, _mko, _mkp, _mkq = new _mkk.SlotItemEffectModel(), _mkr = !1, _mks = new _mkk.SlotItemEffectModel(), _mkt = { 507: 507, 508: 507 }, _mku = _mkl.get_slotnums(507), _mkv = _mkl.get_slotnums(508), _mkw = _mku + _mkv, _mkx = _mkl.getCountryName(), _mky = _mkl.getUSSWaterRaderDict(); if (125 == _mkl.ctype && (_mks.houg += 1, _mks.kaih += 1, _mks.houm += 1, _mkr = !0, _mku >= 1 && _mkv >= 1 && (_mkq.houg += 1, _mkq.houm += 1)), 'アメリカ' == _mkx && _mkl.stype >= 8 && _mkl.stype <= 10) { _mks.houg += 2, _mks.kaih += 1, _mks.houm += 1, _mkr = !0; for (var _mkz = 0, _ml0 = 0, _ml1 = _mkl.have_slot_ids(); _ml0 < _ml1.length; _ml0++) { var _ml2 = _ml1[_ml0]; _mky[Number(_ml2)] && (_mkz += _mkl.get_slotnums(parseInt(_ml2))); } _mkz >= 1 && (_mkq.houg += 1, _mkq.kaih += 1, _mkq.houm += 2), _mku >= 1 && _mkv >= 1 && (_mkq.houg += 1, _mkq.houm += 1, _mkq.kaih += 2); } else 6 != _mkl.ctype && 26 != _mkl.ctype && 2 != _mkl.ctype && 'イギリス' != _mkx || (_mkq.kaih += 1, _mkq.houm += 1, _mku >= 1 && _mkv >= 1 && (_mkq.houg += 1, _mkq.houm += 1, _mkq.kaih += 1)); _mkr && _mkq.add(_mks.multiply(_mkw)); for (var _ml3 = {}, _ml4 = {}, _ml5 = {}, _ml6 = function(_ml7) { var _ml8 = null, _ml9 = Number(_ml7), _mla = _mkt[_ml9]; _ml3[_mla] = null !== (_mkn = _ml3[_mla]) && void 0 !== _mkn ? _mkn : 0, _ml4[_mla] = null !== (_mko = _ml4[_mla]) && void 0 !== _mko ? _mko : 0, _ml5[_mla] = null !== (_mkp = _ml5[_mla]) && void 0 !== _mkp ? _mkp : 0, _mkl.get_each_level_nums(_ml9).forEach(function(_mlb, _mlc) { _mlc >= 3 && (_ml3[_mla] += _mlb), _mlc >= 6 && (_ml4[_mla] += _mlb), _mlc >= 9 && (_ml5[_mla] += _mlb); }); }, _mld = 0, _mle = Object.keys(_mkt); _mld < _mle.length; _mld++) { _ml6(_mle[_mld]); } return _ml3[507] >= 1 && (_mkq.houg += 1 * _ml3[507]), _ml4[507] >= 1 && (_mkq.souk += 1 * _ml4[507]), _ml5[507] >= 1 && (_mkq.houm += 1 * _ml5[507]), _mkq; }; }, 66985: (_mlf, _mlg, _mlh) => { 'use strict'; var _mli = null; defineModule(_mlg); Object.defineProperty(_mlg, '__esModule', { 'value': !0 }), _mlg.getSlot15PersonalEffect = void 0; var _mlj = _mlh(74496); _mlg.getSlot15PersonalEffect = function(_mlk) { var _mll = null, _mlm = new _mlj.SlotItemEffectModel(), _mln = !1; if ((566 == _mlk.ship_id || 567 == _mlk.ship_id || 568 == _mlk.ship_id || 648 == _mlk.ship_id || 651 == _mlk.ship_id || 656 == _mlk.ship_id || 670 == _mlk.ship_id || 915 == _mlk.ship_id || 951 == _mlk.ship_id || 'たけ' == _mlk.yomi) && (_mln = !0), 0 == _mln) return _mlm; var _mlo = _mlk.get_slotnums(15); return 30 == _mlk.ctype && (1 == _mlo ? _mlm.raig = 2 : _mlo >= 2 && (_mlm.raig = 4)), 'たけ' == _mlk.yomi && (_mlm.raig += 5, _mlm.kaih += 1), _mlm; }; }, 79086: (_mlp, _mlq, _mlr) => { 'use strict'; var _mls = null; defineModule(_mlq); Object.defineProperty(_mlq, '__esModule', { 'value': !0 }), _mlq.getSlot165_216PersonalEffect = void 0; var _mlt = _mlr(74496); _mlq.getSlot165_216PersonalEffect = function(_mlu) { var _mlv = null, _mlw = new _mlt.SlotItemEffectModel(); return 501 != _mlu.ship_id && 506 != _mlu.ship_id && 502 != _mlu.ship_id && 507 != _mlu.ship_id || (_mlw.tyku += 2, _mlw.kaih += 2), _mlw; }; }, 88102: (_mlx, _mly, _mlz) => { 'use strict'; var _mm0 = null; defineModule(_mly); Object.defineProperty(_mly, '__esModule', { 'value': !0 }), _mly.getSlot16M1PersonalEffect = void 0; var _mm1 = _mlz(74496); _mly.getSlot16M1PersonalEffect = function(_mm2) { var _mm3 = null, _mm4 = new _mm1.SlotItemEffectModel(), _mm5 = new _mm1.SlotItemEffectModel(); 67 == _mm2.ctype || 78 == _mm2.ctype || 82 == _mm2.ctype || 88 == _mm2.ctype || 108 == _mm2.ctype || 112 == _mm2.ctype ? (_mm5.houg += 2, _mm5.souk += 1, 67 == _mm2.ctype && (_mm5.kaih -= 2)) : 149 == _mm2.ship_id || 150 == _mm2.ship_id || 151 == _mm2.ship_id || 152 == _mm2.ship_id ? (_mm5.houg += 1, _mm5.souk += 1, _mm5.kaih -= 3) : 591 == _mm2.ship_id || 592 == _mm2.ship_id ? (_mm5.houg += 2, _mm5.souk += 1, _mm5.kaih -= 2) : 593 != _mm2.ship_id && 954 != _mm2.ship_id || (_mm5.houg += 1, _mm5.souk += 1, _mm5.kaih -= 1); var _mm6 = !0; if (_mm5.exists() || (_mm6 = !1), 0 == _mm6) return _mm4; var _mm7 = _mm2.get_slotnums(298) + _mm2.get_slotnums(299) + _mm2.get_slotnums(300); return _mm4 = _mm5.multiply(_mm7); }; }, 29240: (_mm8, _mm9, _mma) => { 'use strict'; var _mmb = null; defineModule(_mm9); Object.defineProperty(_mm9, '__esModule', { 'value': !0 }), _mm9.getSlot171PersonalEffect = void 0; var _mmc = _mma(74496); _mm9.getSlot171PersonalEffect = function(_mmd) { var _mme = null, _mmf = new _mmc.SlotItemEffectModel(), _mmg = 0; 'アメリカ' == _mmd.getCountryName() && (_mmg = 1), 65 != _mmd.ctype && 93 != _mmd.ctype && 102 != _mmd.ctype && 107 != _mmd.ctype && 125 != _mmd.ctype || (_mmf.houg += 1, _mmf.saku += 1, _mmg = 2); var _mmh = _mmd.get_each_level_nums(171), _mmi = 0, _mmj = 0, _mmk = 0; return _mmg > 0 && (_mmh.map(function(_mml, _mmm) { _mmm >= 5 && (_mmi += _mml), _mmm >= 3 && (_mmj += _mml), _mmm >= 8 && (_mmk += _mml); }), 1 != _mmg && 2 != _mmg || (_mmh[10] > 0 && (_mmf.houg += 1), _mmi > 0 && (_mmf.kaih += 1)), 2 == _mmg && (_mmj > 0 && (_mmf.saku += 1), _mmk > 0 && (_mmf.saku += 1))), _mmf; }; }, 40885: (_mmn, _mmo, _mmp) => { 'use strict'; var _mmq = null; defineModule(_mmo); Object.defineProperty(_mmo, '__esModule', { 'value': !0 }), _mmo.getSlot174PersonalEffect = void 0; var _mmr = _mmp(74496); _mmo.getSlot174PersonalEffect = function(_mms) { var _mmt = null, _mmu = new _mmr.SlotItemEffectModel(), _mmv = new _mmr.SlotItemEffectModel(); if (66 == _mms.ctype && (_mmv.raig = 1, _mmv.kaih = 2), 591 == _mms.ship_id || 592 == _mms.ship_id || 954 == _mms.ship_id ? (_mmv.raig += 6, _mmv.kaih += 3) : 593 == _mms.ship_id ? (_mmv.raig += 5, _mmv.kaih += 2) : 488 != _mms.ship_id && 622 != _mms.ship_id && 623 != _mms.ship_id && 624 != _mms.ship_id || (_mmv.houg += 2, _mmv.raig += 4, _mmv.kaih += 4), !_mmv.exists()) return _mmu; var _mmw = _mms.get_slotnums(174); return _mmu = _mmv.multiply(_mmw); }; }, 19614: (_mmx, _mmy, _mmz) => { 'use strict'; var _mn0 = null; defineModule(_mmy); Object.defineProperty(_mmy, '__esModule', { 'value': !0 }), _mmy.getSlot179PersonalEffect = void 0; var _mn1 = _mmz(74496); _mmy.getSlot179PersonalEffect = function(_mn2) { var _mn3 = null, _mn4 = new _mn1.SlotItemEffectModel(), _mn5 = new _mn1.SlotItemEffectModel(); if (54 == _mn2.ctype && (_mn5.raig = 1), !_mn5.exists()) return _mn4; var _mn6 = _mn2.get_slotnums(179); return _mn4 = _mn5.multiply(_mn6); }; }, 87220: (_mn7, _mn8, _mn9) => { 'use strict'; var _mna = null; defineModule(_mn8); Object.defineProperty(_mn8, '__esModule', { 'value': !0 }), _mn8.getSlot184PersonalEffect = void 0; var _mnb = _mn9(74496); _mn8.getSlot184PersonalEffect = function(_mnc) { var _mnd = null, _mne = new _mnb.SlotItemEffectModel(), _mnf = new _mnb.SlotItemEffectModel(); if (68 == _mnc.ctype && (_mnf.houg += 1, _mnf.tyku += 2, _mnf.kaih += 3), !_mnf.exists()) return _mne; var _mng = _mnc.get_slotnums(184); return _mne = _mnf.multiply(_mng); }; }, 81367: (_mnh, _mni, _mnj) => { 'use strict'; var _mnk = null; defineModule(_mni); Object.defineProperty(_mni, '__esModule', { 'value': !0 }), _mni.getSlot188PersonalEffect = void 0; var _mnl = _mnj(74496); _mni.getSlot188PersonalEffect = function(_mnm) { var _mnn = null, _mno = new _mnl.SlotItemEffectModel(), _mnp = new _mnl.SlotItemEffectModel(); if (68 == _mnm.ctype && (_mnp.houg += 3, _mnp.tyku += 1, _mnp.kaih += 1), !_mnp.exists()) return _mno; var _mnq = _mnm.get_slotnums(188); return _mno = _mnp.multiply(_mnq); }; }, 13052: (_mnr, _mns, _mnt) => { 'use strict'; var _mnu = null; defineModule(_mns); Object.defineProperty(_mns, '__esModule', { 'value': !0 }), _mns.getSlot189PersonalEffect = void 0; var _mnv = _mnt(74496); _mns.getSlot189PersonalEffect = function(_mnw) { var _mnx = null, _mny = new _mnv.SlotItemEffectModel(), _mnz = new _mnv.SlotItemEffectModel(); if (68 != _mnw.ctype && 63 != _mnw.ctype || (_mnz.tyku += 1, _mnz.kaih += 2), !_mnz.exists()) return _mny; var _mo0 = _mnw.get_slotnums(189); return _mny = _mnz.multiply(_mo0); }; }, 66904: (_mo1, _mo2, _mo3) => { 'use strict'; var _mo4 = null; defineModule(_mo2); Object.defineProperty(_mo2, '__esModule', { 'value': !0 }), _mo2.getSlot18_52_PersonalEffect = void 0; var _mo5 = _mo3(74496); _mo2.getSlot18_52_PersonalEffect = function(_mo6) { var _mo7 = null, _mo8 = new _mo5.SlotItemEffectModel(), _mo9 = new _mo5.SlotItemEffectModel(); if (277 == _mo6.ship_id || 278 == _mo6.ship_id || 156 == _mo6.ship_id ? _mo9.houg = 1 : 594 == _mo6.ship_id || 698 == _mo6.ship_id || 646 == _mo6.ship_id ? (_mo9.houg = 1, _mo9.kaih = 1) : 599 != _mo6.ship_id && 610 != _mo6.ship_id || (_mo9.houg = 2, _mo9.kaih = 1), !_mo9.exists()) return _mo8; var _moa = _mo6.get_slotnums(18) + _mo6.get_slotnums(52); return _mo8 = _mo9.multiply(_moa); }; }, 94968: (_mob, _moc, _mod) => { 'use strict'; var _moe = null; defineModule(_moc); Object.defineProperty(_moc, '__esModule', { 'value': !0 }), _moc.getSlot194PersonalEffect = void 0; var _mof = _mod(74496); _moc.getSlot194PersonalEffect = function(_mog) { var _moh = null, _moi = new _mof.SlotItemEffectModel(), _moj = new _mof.SlotItemEffectModel(); if (70 == _mog.ctype ? (_moj.houg += 3, _moj.kaih += 2, _moj.saku += 2) : 72 != _mog.ctype && 62 != _mog.ctype || (_moj.kaih += 1, _moj.saku += 2), 392 == _mog.ship_id && (_moj.houg += 1, _moj.kaih += 2, _moj.saku += 2), !_moj.exists()) return _moi; var _mok = _mog.get_slotnums(194); return _moi = _moj.multiply(_mok); }; }, 94781: (_mol, _mom, _mon) => { 'use strict'; var _moo = null; defineModule(_mom); Object.defineProperty(_mom, '__esModule', { 'value': !0 }), _mom.getSlot195PersonalEffect = void 0; var _mop = _mon(74496); _mom.getSlot195PersonalEffect = function(_moq) { var _mor = null, _mos = new _mop.SlotItemEffectModel(), _mot = !1, _mou = new _mop.SlotItemEffectModel(); if ('アメリカ' == _moq.getCountryName() && (_mou.houg += 1, _mot = !0), 0 == _mot) return _mos; var _mov = _moq.get_slotnums(195); return _mos.add(_mou.multiply(_mov)); }; }, 98137: (_mow, _mox, _moy) => { 'use strict'; var _moz = null; defineModule(_mox); Object.defineProperty(_mox, '__esModule', { 'value': !0 }), _mox.getSlot19PersonalEffect = void 0; var _mp0 = _moy(74496); _mox.getSlot19PersonalEffect = function(_mp1) { var _mp2 = null, _mp3 = new _mp0.SlotItemEffectModel(), _mp4 = new _mp0.SlotItemEffectModel(); if ('ほうしょう' == _mp1.yomi && (_mp4.houg = 2, _mp4.kaih = 2, _mp4.tais = 2, _mp4.tyku = 2), 75 != _mp1.ctype && 76 != _mp1.ctype || (_mp4.houg = 2, _mp4.tais = 3), 7 == _mp1.stype && (_mp4.tyku += 1, _mp4.kaih += 1), 894 != _mp1.ship_id && 899 != _mp1.ship_id || (_mp4.houg += 1, _mp4.kaih += 1, _mp4.tais += 1, _mp4.tyku += 1), !_mp4.exists()) return _mp3; var _mp5 = _mp1.get_slotnums(19); return _mp3 = _mp4.multiply(_mp5); }; }, 48658: (_mp6, _mp7, _mp8) => { 'use strict'; var _mp9 = null; defineModule(_mp7); Object.defineProperty(_mp7, '__esModule', { 'value': !0 }), _mp7.getSlot204PersonalEffect = void 0; var _mpa = _mp8(74496); _mp7.getSlot204PersonalEffect = function(_mpb) { var _mpc = null, _mpd = new _mpa.SlotItemEffectModel(); if (591 != _mpb.ship_id && 592 != _mpb.ship_id && 593 != _mpb.ship_id && 954 != _mpb.ship_id) return _mpd; _mpd.souk = _mpd.souk + 1, _mpd.raig = _mpd.raig + 1; for (var _mpe = _mpb.get_each_level_nums(204), _mpf = 0, _mpg = 0; _mpg <= 10; _mpg++) _mpg >= 7 && (_mpf += _mpe[_mpg]); return _mpf > 0 && (_mpd.souk = _mpd.souk + 1), _mpe[10] > 0 && (_mpd.raig = _mpd.raig + 1), _mpd; }; }, 2306: (_mph, _mpi, _mpj) => { 'use strict'; var _mpk = null; defineModule(_mpi); Object.defineProperty(_mpi, '__esModule', { 'value': !0 }), _mpi.getSlot217PersonalEffect = void 0; var _mpl = _mpj(74496); _mpi.getSlot217PersonalEffect = function(_mpm) { var _mpn = null, _mpo = new _mpl.SlotItemEffectModel(), _mpp = !1, _mpq = new _mpl.SlotItemEffectModel(); if (501 == _mpm.ship_id || 506 == _mpm.ship_id ? (_mpq.houg += 1, _mpq.kaih += 3, _mpq.tyku += 5, _mpp = !0) : 502 != _mpm.ship_id && 507 != _mpm.ship_id || (_mpq.houg += 1, _mpq.kaih += 2, _mpq.tyku += 4, _mpp = !0), 0 == _mpp) return _mpo; var _mpr = _mpm.get_slotnums(217); return _mpo.add(_mpq.multiply(_mpr)), _mpo; }; }, 91302: function(_mps, _mpt, _mpu) { 'use strict'; var _mpv = null; var _mpw = this && this.__importDefault || function(_mpx) { var _mpy = null; return _mpx && _mpx.__esModule ? _mpx : { 'default': _mpx }; }; defineModule(_mpt); Object.defineProperty(_mpt, '__esModule', { 'value': !0 }), _mpt.getSlot220PersonalEffect = void 0; var _mpz = _mpu(74496), _mq0 = _mpw(_mpu(18622)); _mpt.getSlot220PersonalEffect = function(_mq1) { var _mq2 = null, _mq3 = new _mpz.SlotItemEffectModel(), _mq4 = !1, _mq5 = new _mpz.SlotItemEffectModel(), _mq6 = 0, _mq7 = 0; if (662 == _mq1.ship_id || 663 == _mq1.ship_id || 668 == _mq1.ship_id || 501 == _mq1.ship_id || 506 == _mq1.ship_id || 502 == _mq1.ship_id || 507 == _mq1.ship_id ? (_mq5.houg += 1, _mq5.tyku += 3, _mq5.kaih += 2, _mq4 = !0, _mq6 = 1) : 894 != _mq1.ship_id && 899 != _mq1.ship_id || (_mq5.tyku += 2, _mq5.kaih += 2, _mq4 = !0, _mq6 = 1, _mq7 = 1), 0 == _mq4) return _mq3; var _mq8 = _mq1.get_slotnums(220); _mq3.add(_mq5.multiply(_mq8)); for (var _mq9 = 0, _mqa = 0, _mqb = _mq1.have_slot_ids(); _mqa < _mqb.length; _mqa++) { var _mqc = _mqb[_mqa], _mqd = _mq0.default.model.slot.getMst(_mqc), _mqe = _mqd.equipType; 12 != _mqe && 13 != _mqe || (_mqd.sakuteki >= 5 && _mq1.get_slotnums(parseInt(_mqc)), _mqd.taiku >= 2 && (_mq9 += _mq1.get_slotnums(parseInt(_mqc)))); } if (_mq9 >= 1 && 1 == _mq6 && (_mq3.tyku += 3, _mq3.kaih += 3), 0 == _mq7) return _mq3; var _mqf = _mq1.get_each_level_nums(220)[10]; return 1 == _mq7 && _mqf > 0 && (_mq3.houg += 1 * _mqf, _mq3.tyku += 1 * _mqf, _mq3.kaih += 1 * _mqf), _mq3; }; }, 20418: (_mqg, _mqh, _mqi) => { 'use strict'; var _mqj = null; defineModule(_mqh); Object.defineProperty(_mqh, '__esModule', { 'value': !0 }), _mqh.getSlot227PersonalEffect = void 0; var _mqk = _mqi(74496); _mqh.getSlot227PersonalEffect = function(_mql) { var _mqm = null, _mqn = new _mqk.SlotItemEffectModel(), _mqo = _mql.get_each_level_nums(227), _mqp = 0; _mqo.forEach(function(_mqq, _mqr) { _mqr >= 8 && (_mqp += _mqq); }), _mqp >= 1 && (_mqn.tais += 1 * _mqp); var _mqs = _mqo[10]; return _mqs >= 1 && (_mqn.tais += 1 * _mqs), _mqn; }; }, 1906: (_mqt, _mqu, _mqv) => { 'use strict'; var _mqw = null; defineModule(_mqu); Object.defineProperty(_mqu, '__esModule', { 'value': !0 }), _mqu.getSlot228PersonalEffect = void 0; var _mqx = _mqv(74496); _mqu.getSlot228PersonalEffect = function(_mqy) { var _mqz = null, _mr0 = new _mqx.SlotItemEffectModel(), _mr1 = new _mqx.SlotItemEffectModel(); if ('ほうしょう' == _mqy.yomi && (_mr1.houg = 3, _mr1.kaih = 4, _mr1.tais = 4, _mr1.tyku = 3), 75 != _mqy.ctype && 76 != _mqy.ctype || (_mr1.houg = 2, _mr1.tais = 5, _mr1.tyku = 1, _mr1.kaih = 1), 7 == _mqy.stype && (_mr1.tais += 2, _mr1.tyku += 1, _mr1.kaih += 1), 894 != _mqy.ship_id && 899 != _mqy.ship_id || (_mr1.houg += 1, _mr1.kaih += 2, _mr1.tais += 2, _mr1.tyku += 1), !_mr1.exists()) return _mr0; var _mr2 = _mqy.get_slotnums(228); return _mr0 = _mr1.multiply(_mr2); }; }, 61887: function(_mr3, _mr4, _mr5) { 'use strict'; var _mr6 = null; var _mr7 = this && this.__importDefault || function(_mr8) { var _mr9 = null; return _mr8 && _mr8.__esModule ? _mr8 : { 'default': _mr8 }; }; defineModule(_mr4); Object.defineProperty(_mr4, '__esModule', { 'value': !0 }), _mr4.getSlot229PersonalEffect = void 0; var _mra = _mr5(74496), _mrb = _mr7(_mr5(18622)); _mr4.getSlot229PersonalEffect = function(_mrc) { var _mrd = null; for (var _mre = new _mra.SlotItemEffectModel(), _mrf = 0, _mrg = 0, _mrh = _mrc.have_slots_dict[229]; _mrg < _mrh.length; _mrg++) { _mrh[_mrg].level >= 7 && _mrf++; } var _mri = _mrf, _mrj = 0, _mrk = 0, _mrl = 0, _mrm = _mrc.get_slotnums(229); if (622 == _mrc.ship_id || 623 == _mrc.ship_id || 624 == _mrc.ship_id) _mre.houg += 1 * _mrm, _mre.tyku += 1 * _mrm, _mrj = 2; else { if (656 == _mrc.ship_id) _mre.houg += 2 * _mrm, _mre.tyku += 3 * _mrm, _mre.tais += 2 * _mrm, _mrj = 3; else { if (0 == _mrf) return _mre; } } if (488 == _mrc.ship_id ? (_mre.tyku += 3 * _mri, _mrj = 1) : 220 == _mrc.ship_id ? _mre.tyku += 2 * _mri : 23 == _mrc.ship_id ? _mre.tyku += 1 * _mri : 160 == _mrc.ship_id ? (_mre.tyku += 2 * _mri, _mrj = 1) : 224 == _mrc.ship_id ? _mre.tyku += 1 * _mri : 487 == _mrc.ship_id ? (_mre.tyku += 2 * _mri, _mrj = 1) : 289 == _mrc.ship_id && (_mre.tyku += 1 * _mri), (66 == _mrc.ctype || 28 == _mrc.ctype) && (_mre.houg += 1 * _mri, _mre.tyku += 1 * _mri, _mrk = 1), 1 == _mrc.stype && (_mre.houg += 1 * _mri, _mre.tyku += 1 * _mri, _mrl = 1), ('ゆら' == _mrc.yomi || 'なか' == _mrc.yomi || 'きぬ' == _mrc.yomi) && (_mre.houg += 2 * _mri), 0 == _mrj + _mrk + _mrl) return _mre; for (var _mrn = 0, _mro = 0, _mrp = 0, _mrq = _mrc.have_slot_ids(); _mrp < _mrq.length; _mrp++) { var _mrr = _mrq[_mrp], _mrs = _mrb.default.model.slot.getMst(_mrr), _mrt = _mrs.equipType; 12 != _mrt && 13 != _mrt || (_mrs.sakuteki >= 5 && (_mrn += _mrc.get_slotnums(parseInt(_mrr))), _mrs.taiku >= 2 && (_mro += _mrc.get_slotnums(parseInt(_mrr)))); } return 1 == _mrj ? _mrn > 0 && (_mre.houg += 3, _mre.kaih += 2) : 2 == _mrj ? (_mrn > 0 && (_mre.houg += 1, _mre.kaih += 1), _mro > 0 && (_mre.tyku += 2, _mre.kaih += 2)) : 3 == _mrj && (_mrn > 0 && (_mre.houg += 2, _mre.kaih += 2), _mro > 0 && (_mre.tyku += 3, _mre.kaih += 2)), 1 == _mrk && _mrn > 0 && (_mre.houg += 2, _mre.kaih += 3), 1 == _mrl && _mrn > 0 && (_mre.houg += 1, _mre.kaih += 4), _mre; }; }, 55734: (_mru, _mrv, _mrw) => { 'use strict'; var _mrx = null; defineModule(_mrv); Object.defineProperty(_mrv, '__esModule', { 'value': !0 }), _mrv.getSlot234PersonalEffect = void 0; var _mry = _mrw(74496); _mrv.getSlot234PersonalEffect = function(_mrz) { var _ms0 = null, _ms1 = new _mry.SlotItemEffectModel(), _ms2 = !1, _ms3 = new _mry.SlotItemEffectModel(), _ms4 = _mrz.get_slotnums(142) + _mrz.get_slotnums(460); if (37 == _mrz.ctype && (_ms3.houg += 1, _ms3.tyku += 1, _ms3.kaih += 1, _ms3.houm += 1, _ms4 >= 1 && (_ms1.tyku += 1, _ms1.kaih += 1, _ms1.houm += 1), _ms2 = !0), 0 == _ms2) return _ms1; var _ms5 = _mrz.get_slotnums(234); return _ms1.add(_ms3.multiply(_ms5)), _ms1; }; }, 17562: function(_ms6, _ms7, _ms8) { 'use strict'; var _ms9 = null; var _msa = this && this.__importDefault || function(_msb) { var _msc = null; return _msb && _msb.__esModule ? _msb : { 'default': _msb }; }; defineModule(_ms7); Object.defineProperty(_ms7, '__esModule', { 'value': !0 }), _ms7.getSlot235PersonalEffect = void 0; var _msd = _ms8(74496), _mse = _msa(_ms8(18622)); _ms7.getSlot235PersonalEffect = function(_msf) { var _msg = null, _msh = new _msd.SlotItemEffectModel(), _msi = !1, _msj = new _msd.SlotItemEffectModel(), _msk = 0; if (52 != _msf.ctype && 9 != _msf.ctype || (_msj.houg += 2, _msj.tyku += 1, _msi = !0), 321 == _msf.ship_id && (_msj.houg += 1, _msj.kaih += 1, _msk = 1), 0 == _msi) return _msh; var _msl = _msf.get_slotnums(235); if (_msh.add(_msj.multiply(_msl)), 0 == _msk) return _msh; for (var _msm = 0, _msn = 0, _mso = 0, _msp = _msf.have_slot_ids(); _mso < _msp.length; _mso++) { var _msq = _msp[_mso], _msr = _mse.default.model.slot.getMst(_msq), _mss = _msr.equipType; 12 != _mss && 13 != _mss || (_msr.sakuteki >= 5 && (_msm += _msf.get_slotnums(parseInt(_msq))), _msr.taiku >= 2 && (_msn += _msf.get_slotnums(parseInt(_msq)))); } return _msm >= 1 && 1 == _msk && (_msh.houg += 3, _msh.kaih += 2), _msn >= 1 && 1 == _msk && (_msh.tyku += 3, _msh.kaih += 3), _msh; }; }, 47970: (_mst, _msu, _msv) => { 'use strict'; var _msw = null; defineModule(_msu); Object.defineProperty(_msu, '__esModule', { 'value': !0 }), _msu.getSlot237PersonalEffect = void 0; var _msx = _msv(74496); _msu.getSlot237PersonalEffect = function(_msy) { var _msz = null, _mt0 = new _msx.SlotItemEffectModel(), _mt1 = new _msx.SlotItemEffectModel(); if (553 == _msy.ship_id) _mt1.houg = 4, _mt1.kaih = 2; else { if (82 == _msy.ship_id) _mt1.houg = 3, _mt1.kaih = 1; else { if (88 == _msy.ship_id) _mt1.houg = 3, _mt1.kaih = 1; else { if (554 == _msy.ship_id) _mt1.houg = 4, _mt1.kaih = 2; else { if (411 == _msy.ship_id) _mt1.houg = 2; else { if (412 != _msy.ship_id) return _mt0; _mt1.houg = 2; } } } } } var _mt2 = _msy.get_slotnums(237); return _mt0 = _mt1.multiply(_mt2); }; }, 14386: (_mt3, _mt4, _mt5) => { 'use strict'; var _mt6 = null; defineModule(_mt4); Object.defineProperty(_mt4, '__esModule', { 'value': !0 }), _mt4.getSlot238_239PersonalEffect = void 0; var _mt7 = _mt5(74496); _mt4.getSlot238_239PersonalEffect = function(_mt8) { var _mt9 = null, _mta = new _mt7.SlotItemEffectModel(); return 501 != _mt8.ship_id && 506 != _mt8.ship_id && 502 != _mt8.ship_id && 507 != _mt8.ship_id || (_mta.kaih += 1, _mta.raig += 1), _mta; }; }, 82229: (_mtb, _mtc, _mtd) => { 'use strict'; var _mte = null; defineModule(_mtc); Object.defineProperty(_mtc, '__esModule', { 'value': !0 }), _mtc.getSlot242PersonalEffect = void 0; var _mtf = _mtd(74496); _mtc.getSlot242PersonalEffect = function(_mtg) { var _mth = null, _mti = new _mtf.SlotItemEffectModel(), _mtj = !1, _mtk = new _mtf.SlotItemEffectModel(); if (78 == _mtg.ctype && (_mtk.houg += 2, _mtk.kaih += 1, _mtj = !0), 'ほうしょう' == _mtg.yomi && (_mtk.houg += 1, _mtj = !0), 0 == _mtj) return _mti; var _mtl = _mtg.get_slotnums(242); return _mti.add(_mtk.multiply(_mtl)), _mti; }; }, 10325: (_mtm, _mtn, _mto) => { 'use strict'; var _mtp = null; defineModule(_mtn); Object.defineProperty(_mtn, '__esModule', { 'value': !0 }), _mtn.getSlot243PersonalEffect = void 0; var _mtq = _mto(74496); _mtn.getSlot243PersonalEffect = function(_mtr) { var _mts = null, _mtt = new _mtq.SlotItemEffectModel(), _mtu = !1, _mtv = new _mtq.SlotItemEffectModel(); if (78 == _mtr.ctype && (_mtv.houg += 3, _mtv.kaih += 1, _mtu = !0), 'ほうしょう' == _mtr.yomi && (_mtv.houg += 2, _mtu = !0), 0 == _mtu) return _mtt; var _mtw = _mtr.get_slotnums(243); return _mtt.add(_mtv.multiply(_mtw)), _mtt; }; }, 351: (_mtx, _mty, _mtz) => { 'use strict'; var _mu0 = null; defineModule(_mty); Object.defineProperty(_mty, '__esModule', { 'value': !0 }), _mty.getSlot244PersonalEffect = void 0; var _mu1 = _mtz(74496); _mty.getSlot244PersonalEffect = function(_mu2) { var _mu3 = null, _mu4 = new _mu1.SlotItemEffectModel(), _mu5 = !1, _mu6 = new _mu1.SlotItemEffectModel(); if (78 == _mu2.ctype && (_mu6.houg += 4, _mu6.kaih += 2, _mu5 = !0), 'ほうしょう' == _mu2.yomi && (_mu6.houg += 3, _mu5 = !0), 0 == _mu5) return _mu4; var _mu7 = _mu2.get_slotnums(244); return _mu4.add(_mu6.multiply(_mu7)), _mu4; }; }, 61977: (_mu8, _mu9, _mua) => { 'use strict'; var _mub = null; defineModule(_mu9); Object.defineProperty(_mu9, '__esModule', { 'value': !0 }), _mu9.getSlot247PersonalEffect = void 0; var _muc = _mua(74496); _mu9.getSlot247PersonalEffect = function(_mud) { var _mue = null, _muf = new _muc.SlotItemEffectModel(), _mug = !1, _muh = new _muc.SlotItemEffectModel(), _mui = 0; if ('フランス' == _mud.getCountryName() && (_muh.houg += 2, _muh.houm += 2, _mug = !0, _mui = 1), 0 == _mug) return _muf; var _muj = _mud.get_slotnums(247); if (_muf.add(_muh.multiply(_muj)), 0 == _mui) return _muf; var _muk = _mud.get_each_level_nums(247), _mul = 0, _mum = 0; _mui > 0 && _muk.forEach(function(_mun, _muo) { _muo >= 4 && (_mul += _mun), _muo >= 8 && (_mum += _mun); }); var _mup = _muk[10]; return 1 == _mui && (_mul >= 1 && (_muf.houg += 1 * _mul, _muf.houm += 1 * _mul), _mum >= 1 && (_muf.kaih += 1 * _mum, _muf.houg += 1 * _mum, _muf.houm += 1 * _mum), _mup >= 1 && (_muf.kaih += 1 * _mup, _muf.houm += 1 * _mup)), _muf; }; }, 31797: function(_muq, _mur, _mus) { 'use strict'; var _mut = null; var _muu = this && this.__importDefault || function(_muv) { var _muw = null; return _muv && _muv.__esModule ? _muv : { 'default': _muv }; }; defineModule(_mur); Object.defineProperty(_mur, '__esModule', { 'value': !0 }), _mur.getSlot266PersonalEffect2 = _mur.getSlot266PersonalEffect = void 0; var _mux = _mus(74496), _muy = _muu(_mus(18622)); _mur.getSlot266PersonalEffect = function(_muz) { var _mv0 = null, _mv1 = new _mux.SlotItemEffectModel(), _mv2 = !1; if (566 != _muz.ship_id && 567 != _muz.ship_id && 568 != _muz.ship_id && 656 != _muz.ship_id && 670 != _muz.ship_id && 915 != _muz.ship_id && 951 != _muz.ship_id || (_mv2 = !0), 0 == _mv2) return _mv1; var _mv3 = _muz.get_slotnums(266); return 30 == _muz.ctype && (1 == _mv3 ? _mv1.houg = 1 : _mv3 >= 2 && (_mv1.houg = 3)), _mv1; }, _mur.getSlot266PersonalEffect2 = function(_mv4) { var _mv5 = null, _mv6 = new _mux.SlotItemEffectModel(), _mv7 = 0, _mv8 = new _mux.SlotItemEffectModel(); if (23 == _mv4.ctype || 18 == _mv4.ctype ? (_mv8.houg = 1, _mv7 = 1) : 30 == _mv4.ctype && (_mv8.houg = 1, _mv7 = 2), ('しぐれ' == _mv4.yomi || 'ゆきかぜ' == _mv4.yomi || 'いそかぜ' == _mv4.yomi) && (_mv8.kaih = 1), 961 == _mv4.ship_id && (_mv8.houg += 1, _mv8.houm += 1, _mv8.kaih += 1), !_mv8.exists()) return _mv6; var _mv9 = _mv4.get_slotnums(266); if (_mv6 = _mv8.multiply(_mv9), 0 == _mv7) return _mv6; for (var _mva = 0, _mvb = 0, _mvc = _mv4.have_slot_ids(); _mvb < _mvc.length; _mvb++) { var _mvd = _mvc[_mvb], _mve = _muy.default.model.slot.getMst(_mvd), _mvf = _mve.equipType; (12 == _mvf || 13 == _mvf) && _mve.sakuteki >= 5 && (_mva += _mv4.get_slotnums(parseInt(_mvd))); } return _mva > 0 && (1 == _mv7 ? (_mv6.houg += 1, _mv6.kaih += 1, _mv6.raig += 3) : 2 == _mv7 && (_mv6.houg += 2, _mv6.kaih += 1, _mv6.raig += 3)), _mv6; }; }, 45738: function(_mvg, _mvh, _mvi) { 'use strict'; var _mvj = null; var _mvk = this && this.__importDefault || function(_mvl) { var _mvm = null; return _mvl && _mvl.__esModule ? _mvl : { 'default': _mvl }; }; defineModule(_mvh); Object.defineProperty(_mvh, '__esModule', { 'value': !0 }), _mvh.getSlot267PersonalEffect2 = _mvh.getSlot267PersonalEffect = void 0; var _mvn = _mvi(74496), _mvo = _mvk(_mvi(18622)); _mvh.getSlot267PersonalEffect = function(_mvp) { var _mvq = null, _mvr = new _mvn.SlotItemEffectModel(), _mvs = 0, _mvt = 0; if (38 == _mvp.ctype || 22 == _mvp.ctype) _mvs = 2, _mvt = 1; else { if (30 != _mvp.ctype) return _mvr; _mvs = 1, _mvt = 1; } var _mvu = _mvp.get_slotnums(267) + _mvp.get_slotnums(366); return _mvr.houg = _mvs * _mvu, _mvr.kaih = _mvt * _mvu, _mvr; }, _mvh.getSlot267PersonalEffect2 = function(_mvv) { var _mvw = null, _mvx = new _mvn.SlotItemEffectModel(), _mvy = _mvv.get_slotnums(267), _mvz = _mvv.get_slotnums(366), _mw0 = _mvy + _mvz; if (566 != _mvv.ship_id && 567 != _mvv.ship_id && 568 != _mvv.ship_id && 656 != _mvv.ship_id && 670 != _mvv.ship_id && 915 != _mvv.ship_id && 951 != _mvv.ship_id || (_mvy > 0 && (_mvx.houg += 1), 1 == _mvz ? (_mvx.houg += 1, _mvx.tyku += 2) : _mvz >= 2 && (_mvx.houg += 2, _mvx.tyku += 4)), 38 != _mvv.ctype && 229 != _mvv.ship_id && [648, 961].indexOf(_mvv.ship_id) < 0) return _mvx; var _mw1 = !1, _mw2 = !1, _mw3 = !1, _mw4 = !1, _mw5 = !1, _mw6 = !1, _mw7 = !1, _mw8 = !1, _mw9 = !1, _mwa = !1, _mwb = !1, _mwc = 0, _mwd = 0, _mwe = 0; 543 == _mvv.ship_id ? (_mvx.houg = 1 * _mw0, _mw2 = !0) : 229 == _mvv.ship_id ? _mw3 = !0 : 542 == _mvv.ship_id ? (_mvx.houg = 1 * _mw0, _mw4 = !0) : 563 == _mvv.ship_id ? (_mvx.houg = 1 * _mw0, _mw5 = !0) : 564 == _mvv.ship_id ? (_mvx.houg = 1 * _mw0, _mw6 = !0) : 578 == _mvv.ship_id ? (_mvx.houg = 1 * _mw0, _mw7 = !0) : 569 == _mvv.ship_id ? (_mvx.houg = 1 * _mw0, _mw8 = !0) : 649 == _mvv.ship_id ? (_mvx.houg = 2 * _mw0, _mwa = !0) : 955 == _mvv.ship_id || 960 == _mvv.ship_id ? (_mvx.houg = 2 * _mw0, _mwb = !0) : 648 == _mvv.ship_id ? (_mvx.houg = 2 * _mw0, _mw9 = !0, _mwc = 1, _mwd = 1, _mwe = 1) : 961 == _mvv.ship_id && (_mvx.houg = 2 * _mw0, _mw1 = !0, _mwc = 1, _mwd = 1, _mwe = 1); for (var _mwf = 0, _mwg = 0, _mwh = 0, _mwi = _mvv.have_slot_ids(); _mwh < _mwi.length; _mwh++) { var _mwj = _mwi[_mwh], _mwk = _mvo.default.model.slot.getMst(_mwj), _mwl = _mwk.equipType; 12 != _mwl && 13 != _mwl || (_mwk.sakuteki >= 5 && (_mwf += _mvv.get_slotnums(parseInt(_mwj))), _mwk.taiku >= 2 && (_mwg += _mvv.get_slotnums(parseInt(_mwj)))); } if (_mwf > 0 && _mvy > 0 && ((38 == _mvv.ctype || _mw9) && (_mvx.houg += 2, _mvx.raig += 3, _mvx.kaih += 1, 955 == _mvv.ship_id ? _mvx.raig -= 1 : 960 == _mvv.ship_id && (_mvx.raig -= 2)), (_mw4 || _mw2 || _mw3 || _mw5 || _mw6 || _mw7 || _mw8 || _mw9 || _mwa || _mwb) && (_mvx.houg += 1, _mvx.raig += 3, _mvx.kaih += 2)), _mvz > 0 && (_mw4 || _mw2 || _mw5 || _mw6 || _mw7 || _mw3 || _mw8 || _mw9 || _mwa || _mw1 || _mwb)) { 1 == _mvz ? (_mvx.tyku += 3, _mvx.houg += 1, _mvx.houm += 1) : _mvz >= 2 && (_mvx.tyku += 5, _mvx.houg += 3, _mvx.houm += 1, 955 == _mvv.ship_id && (_mvx.houg += 1)), (_mw8 || _mw9) && (_mvx.houg += 1, _mvx.tyku += 2), _mwf > 0 && (_mvx.houg += 2, _mvx.kaih += 2, _mvx.raig += 4, _mvx.houm += 2, 960 == _mvv.ship_id && (_mvx.raig -= 1, _mvx.houg += 1)), _mwg > 0 && (_mvx.houg += 1, _mvx.kaih += 3, _mvx.tyku += 5, _mvx.houm += 1); var _mwm = _mvv.get_each_level_nums(366), _mwn = 0, _mwo = 0; _mwm.forEach(function(_mwp, _mwq) { _mwq >= 5 && (_mwn += _mwp), _mwq >= 8 && (_mwo += _mwp); }), _mwn >= 1 && (_mvx.houm += 1 * _mwn), _mwo >= 1 && (_mvx.houg += 1 * _mwo); var _mwr = _mwm[10]; _mwr >= 1 && (_mvx.houm += 1 * _mwr); } var _mws = _mvv.get_slotnums(129), _mwt = _mvv.get_slotnums(74), _mwu = _mvv.get_slotnums(412); return _mwc > 0 && _mws > 0 && 1 == _mwc && (_mvx.houg += 2, _mvx.kaih += 3, _mvx.tyku += 2), _mwe > 0 && _mwu > 0 && 1 == _mwe && (_mvx.houg += 2, _mvx.kaih += 3, _mvx.tyku += 2), _mwd > 0 && _mwt > 0 && 1 == _mwd && (_mvx.houg += 3, _mvx.kaih -= 3), _mvx; }; }, 23934: (_mwv, _mww, _mwx) => { 'use strict'; var _mwy = null; defineModule(_mww); Object.defineProperty(_mww, '__esModule', { 'value': !0 }), _mww.getSlot271PersonalEffect = void 0; var _mwz = _mwx(74496); _mww.getSlot271PersonalEffect = function(_mx0) { var _mx1 = null, _mx2 = new _mwz.SlotItemEffectModel(), _mx3 = 0; if (508 != _mx0.ship_id && 509 != _mx0.ship_id && 888 != _mx0.ship_id && 883 != _mx0.ship_id || (_mx3 = 1), 0 == _mx3) return _mx2; var _mx4 = _mx0.get_each_level_nums(271), _mx5 = 0, _mx6 = 0, _mx7 = 0, _mx8 = _mx4[10]; return _mx3 > 0 && _mx4.forEach(function(_mx9, _mxa) { _mxa >= 4 && (_mx5 += _mx9), _mxa >= 6 && (_mx6 += _mx9), _mxa >= 8 && (_mx7 += _mx9); }), 1 == _mx3 && (_mx5 >= 1 && (_mx2.houg += 1 * _mx5), _mx6 >= 1 && (_mx2.tyku += 2 * _mx6), _mx7 >= 1 && (_mx2.kaih += 2 * _mx7), _mx8 >= 1 && (_mx2.houg += 1 * _mx8)), _mx2; }; }, 17712: function(_mxb, _mxc, _mxd) { 'use strict'; var _mxe = null; var _mxf = this && this.__importDefault || function(_mxg) { var _mxh = null; return _mxg && _mxg.__esModule ? _mxg : { 'default': _mxg }; }; defineModule(_mxc); Object.defineProperty(_mxc, '__esModule', { 'value': !0 }), _mxc.getSlot275PersonalEffect = void 0; var _mxi = _mxd(74496), _mxj = _mxf(_mxd(18622)); _mxc.getSlot275PersonalEffect = function(_mxk) { var _mxl = null, _mxm = new _mxi.SlotItemEffectModel(), _mxn = !1, _mxo = new _mxi.SlotItemEffectModel(), _mxp = 0, _mxq = 0; if (894 != _mxk.ship_id && 899 != _mxk.ship_id || (_mxo.houg += 1, _mxo.tyku += 3, _mxo.kaih += 2, _mxn = !0, _mxq = 1, _mxp = 1), 0 == _mxn) return _mxm; var _mxr = _mxk.get_slotnums(275); _mxm.add(_mxo.multiply(_mxr)); var _mxs = 0; if (_mxp > 0) for (var _mxt = 0, _mxu = _mxk.have_slot_ids(); _mxt < _mxu.length; _mxt++) { var _mxv = _mxu[_mxt], _mxw = _mxj.default.model.slot.getMst(_mxv), _mxx = _mxw.equipType; 12 != _mxx && 13 != _mxx || (_mxw.sakuteki >= 5 && _mxk.get_slotnums(parseInt(_mxv)), _mxw.taiku >= 2 && (_mxs += _mxk.get_slotnums(parseInt(_mxv)))); } if (1 == _mxp && _mxs > 0 && (_mxm.tyku += 3, _mxm.kaih += 3), 0 == _mxq) return _mxm; var _mxy = _mxk.get_each_level_nums(275), _mxz = 0, _my0 = _mxy[10]; return _mxq > 0 && _mxy.forEach(function(_my1, _my2) { _my2 >= 7 && (_mxz += _my1); }), 1 == _mxq && (_mxz > 0 && (_mxm.tyku += 1 * _mxz, _mxm.kaih += 1 * _mxz), _my0 > 0 && (_mxm.houg += 1 * _my0, _mxm.tyku += 1 * _my0, _mxm.houm += 1 * _my0)), _mxm; }; }, 93733: (_my3, _my4, _my5) => { 'use strict'; var _my6 = null; defineModule(_my4); Object.defineProperty(_my4, '__esModule', { 'value': !0 }), _my4.getSlot277PersonalEffect = void 0; var _my7 = _my5(74496); _my4.getSlot277PersonalEffect = function(_my8) { var _my9 = null, _mya = new _my7.SlotItemEffectModel(), _myb = !1, _myc = new _my7.SlotItemEffectModel(); if ('アメリカ' != _my8.getCountryName() && 67 != _my8.ctype && 78 != _my8.ctype && 82 != _my8.ctype && 88 != _my8.ctype && 108 != _my8.ctype && 112 != _my8.ctype || (_myc.houg += 1, _myc.kaih += 1, _myb = !0), 83 == _my8.ctype && (_myc.houg += 1, _myc.kaih += 1, _myc.tyku += 1, _myb = !0), 0 == _myb) return _mya; var _myd = _my8.get_slotnums(277); return _mya.add(_myc.multiply(_myd)), _mya; }; }, 34718: (_mye, _myf, _myg) => { 'use strict'; var _myh = null; defineModule(_myf); Object.defineProperty(_myf, '__esModule', { 'value': !0 }), _myf.getSlot278PersonalEffect = void 0; var _myi = _myg(74496); _myf.getSlot278PersonalEffect = function(_myj) { var _myk = null, _myl = new _myi.SlotItemEffectModel(); return 'アメリカ' == _myj.getCountryName() ? (_myl.tyku += 1, _myl.kaih += 3, _myl.saku += 1) : 67 == _myj.ctype || 78 == _myj.ctype || 82 == _myj.ctype || 88 == _myj.ctype || 108 == _myj.ctype || 112 == _myj.ctype ? (_myl.tyku += 1, _myl.kaih += 2) : 96 == _myj.ctype && (_myl.tyku += 1, _myl.kaih += 1), _myl; }; }, 69245: (_mym, _myn, _myo) => { 'use strict'; var _myp = null; defineModule(_myn); Object.defineProperty(_myn, '__esModule', { 'value': !0 }), _myn.getSlot279PersonalEffect = void 0; var _myq = _myo(74496); _myn.getSlot279PersonalEffect = function(_myr) { var _mys = null, _myt = new _myq.SlotItemEffectModel(); return 'アメリカ' == _myr.getCountryName() ? (_myt.houg += 2, _myt.tyku += 2, _myt.kaih += 3, _myt.saku += 2) : 67 == _myr.ctype || 78 == _myr.ctype || 82 == _myr.ctype || 88 == _myr.ctype || 108 == _myr.ctype || 112 == _myr.ctype ? (_myt.houg += 1, _myt.tyku += 1, _myt.kaih += 2, _myt.saku += 1) : 96 == _myr.ctype && (_myt.houg += 1, _myt.tyku += 1, _myt.kaih += 1), _myt; }; }, 18478: (_myu, _myv, _myw) => { 'use strict'; var _myx = null; defineModule(_myv); Object.defineProperty(_myv, '__esModule', { 'value': !0 }), _myv.getSlot282PersonalEffect = void 0; var _myy = _myw(74496); _myv.getSlot282PersonalEffect = function(_myz) { var _mz0 = null, _mz1 = new _myy.SlotItemEffectModel(), _mz2 = !1, _mz3 = !1; 147 != _myz.ship_id && 73 != _myz.ctype && 81 != _myz.ctype || (_mz2 = !0), 'ゆうばり' == _myz.yomi && (_mz3 = !0); var _mz4 = new _myy.SlotItemEffectModel(); if ((_mz2 || _mz3) && (_mz4.houg += 2, _mz4.souk += 1), !_mz4.exists()) return _mz1; var _mz5 = _myz.get_slotnums(282); return _mz1 = _mz4.multiply(_mz5); }; }, 2899: (_mz6, _mz7, _mz8) => { 'use strict'; var _mz9 = null; defineModule(_mz7); Object.defineProperty(_mz7, '__esModule', { 'value': !0 }), _mz7.getSlot283PersonalEffect = void 0; var _mza = _mz8(74496); _mz7.getSlot283PersonalEffect = function(_mzb) { var _mzc = null, _mzd = new _mza.SlotItemEffectModel(), _mze = !1; 147 != _mzb.ship_id && 73 != _mzb.ctype && 81 != _mzb.ctype || (_mze = !0); var _mzf = new _mza.SlotItemEffectModel(); if (_mze && (_mzf.raig += 3, _mzf.houg += 1, _mzf.souk += 1), !_mzf.exists()) return _mzd; var _mzg = _mzb.get_slotnums(283); return _mzd = _mzf.multiply(_mzg); }; }, 57120: (_mzh, _mzi, _mzj) => { 'use strict'; var _mzk = null; defineModule(_mzi); Object.defineProperty(_mzi, '__esModule', { 'value': !0 }), _mzi.getSlot285PersonalEffect = void 0; var _mzl = _mzj(74496); _mzi.getSlot285PersonalEffect = function(_mzm) { var _mzn = null, _mzo = new _mzl.SlotItemEffectModel(), _mzp = !1; if ([195, 426, 420, 407, 437, 326, 419, 147, 627, 665, 903, 908, 647, 666, 959].indexOf(_mzm.ship_id) >= 0 && (_mzp = !0), 0 == _mzp) return _mzo; var _mzq = _mzm.get_each_level_nums(285), _mzr = _mzm.get_slotnums(285); _mzr > 2 && (_mzr = 2), _mzo.raig = 2 * _mzr, _mzo.kaih = 1 * _mzr; var _mzs = _mzq[10]; 1 == _mzs && (_mzo.houg += 1, _mzo.raig += 1), _mzs >= 2 && (_mzo.houg += 2, _mzo.raig += 1), _mzs >= 3 && (_mzo.raig += 3); var _mzt = _mzm.get_slotnums(285); return 903 == _mzm.ship_id ? (_mzt >= 2 && (_mzo.raig += 2), _mzt >= 3 && (_mzo.raig += 2)) : 908 != _mzm.ship_id && 959 != _mzm.ship_id || (_mzt >= 2 && (_mzo.raig += 1), _mzt >= 3 && (_mzo.raig += 1)), _mzo; }; }, 74985: function(_mzu, _mzv, _mzw) { 'use strict'; var _mzx = null; var _mzy = this && this.__importDefault || function(_mzz) { var _n00 = null; return _mzz && _mzz.__esModule ? _mzz : { 'default': _mzz }; }; defineModule(_mzv); Object.defineProperty(_mzv, '__esModule', { 'value': !0 }), _mzv.getSlot286PersonalEffect3 = _mzv.getSlot286PersonalEffect2 = _mzv.getSlot286PersonalEffect = void 0; var _n01 = _mzw(74496), _n02 = _mzy(_mzw(18622)); _mzv.getSlot286PersonalEffect = function(_n03) { var _n04 = null, _n05 = new _n01.SlotItemEffectModel(), _n06 = !1; if ([566, 145, 961, 498, 144, 469, 463, 468, 199, 489, 490, 464, 470, 198, 543, 567, 568, 497, 542, 563, 564, 587, 578, 569, 648, 651, 656, 649, 588, 667, 670, 915, 951, 955, 960].indexOf(_n03.ship_id) >= 0 && (_n06 = !0), 0 == _n06) return _n05; var _n07 = _n03.get_each_level_nums(286), _n08 = _n03.get_slotnums(286); _n08 > 2 && (_n08 = 2), _n05.raig = 2 * _n08, _n05.kaih = 1 * _n08; var _n09 = _n07[10]; if (1 == _n09 ? _n05.houg = _n05.houg + 1 : _n09 >= 2 && (_n05.houg = _n05.houg + 2), 30 == _n03.ctype || 961 == _n03.ship_id) { var _n0a = _n07[5] + _n07[6] + _n07[7] + _n07[8] + _n07[9] + _n07[10]; 1 == _n0a ? _n05.raig = _n05.raig + 1 : _n0a >= 2 && (_n05.raig = _n05.raig + 2); } return _n05; }, _mzv.getSlot286PersonalEffect2 = function(_n0b) { var _n0c = null, _n0d = new _n01.SlotItemEffectModel(), _n0e = !1, _n0f = 0; if ('たけ' == _n0b.yomi && (_n0e = !0, _n0f = 1), 0 == _n0e) return _n0d; var _n0g = _n0b.get_each_level_nums(286), _n0h = 0; return _n0f > 0 && _n0g.forEach(function(_n0i, _n0j) { _n0j >= 7 && (_n0h += _n0i); }), 'たけ' == _n0b.yomi && (_n0d.raig += 7, _n0d.kaih += 2, _n0h >= 1 && (_n0d.raig += 2), _n0g[10] >= 1 && (_n0d.raig += 2)), _n0d; }, _mzv.getSlot286PersonalEffect3 = function(_n0k) { var _n0l = null, _n0m = new _n01.SlotItemEffectModel(), _n0n = !1, _n0o = new _n01.SlotItemEffectModel(), _n0p = 0; if (662 != _n0k.ship_id && 663 != _n0k.ship_id && 668 != _n0k.ship_id || (_n0o.raig += 2, _n0n = !0, _n0p = 1), 0 == _n0n) return _n0m; var _n0q = _n0k.get_slotnums(286); _n0m.add(_n0o.multiply(_n0q)); for (var _n0r = 0, _n0s = 0, _n0t = _n0k.have_slot_ids(); _n0s < _n0t.length; _n0s++) { var _n0u = _n0t[_n0s], _n0v = _n02.default.model.slot.getMst(_n0u), _n0w = _n0v.equipType; 12 != _n0w && 13 != _n0w || (_n0v.sakuteki >= 5 && (_n0r += _n0k.get_slotnums(parseInt(_n0u))), _n0v.taiku >= 2 && _n0k.get_slotnums(parseInt(_n0u))); } return _n0r >= 1 && 1 == _n0p && (_n0m.raig += 3, _n0m.kaih += 2), _n0m; }; }, 9234: (_n0x, _n0y, _n0z) => { 'use strict'; var _n10 = null; defineModule(_n0y); Object.defineProperty(_n0y, '__esModule', { 'value': !0 }), _n0y.getSlot287PersonalEffect = void 0; var _n11 = _n0z(74496); _n0y.getSlot287PersonalEffect = function(_n12) { var _n13 = null, _n14 = new _n11.SlotItemEffectModel(), _n15 = new _n11.SlotItemEffectModel(), _n16 = !1; if (488 == _n12.ship_id || 141 == _n12.ship_id || 160 == _n12.ship_id || 624 == _n12.ship_id || 656 == _n12.ship_id ? (_n15.tais = 1, _n15.kaih = 1, _n16 = !0) : 662 != _n12.ship_id && 961 != _n12.ship_id || (_n15.tais = 3, _n16 = !0), 0 == _n16) return _n14; var _n17 = _n12.get_slotnums(287); return _n14 = _n15.multiply(_n17); }; }, 30802: (_n18, _n19, _n1a) => { 'use strict'; var _n1b = null; defineModule(_n19); Object.defineProperty(_n19, '__esModule', { 'value': !0 }), _n19.getSlot288PersonalEffect = void 0; var _n1c = _n1a(74496); _n19.getSlot288PersonalEffect = function(_n1d) { var _n1e = null, _n1f = new _n1c.SlotItemEffectModel(), _n1g = new _n1c.SlotItemEffectModel(), _n1h = !1; if (488 == _n1d.ship_id || 141 == _n1d.ship_id || 160 == _n1d.ship_id || 656 == _n1d.ship_id ? (_n1g.tais = 2, _n1g.kaih = 1, _n1h = !0) : 624 == _n1d.ship_id ? (_n1g.houg = 1, _n1g.tais = 3, _n1g.kaih = 2, _n1h = !0) : 662 != _n1d.ship_id && 961 != _n1d.ship_id || (_n1g.tais = 4, _n1g.kaih = 1, _n1h = !0), 0 == _n1h) return _n1f; var _n1i = _n1d.get_slotnums(288); return _n1f = _n1g.multiply(_n1i); }; }, 97002: function(_n1j, _n1k, _n1l) { 'use strict'; var _n1m = null; var _n1n = this && this.__importDefault || function(_n1o) { var _n1p = null; return _n1o && _n1o.__esModule ? _n1o : { 'default': _n1o }; }; defineModule(_n1k); Object.defineProperty(_n1k, '__esModule', { 'value': !0 }), _n1k.getSlot289PersonalEffect = void 0; var _n1q = _n1l(74496), _n1r = _n1n(_n1l(18622)); _n1k.getSlot289PersonalEffect = function(_n1s) { var _n1t = null, _n1u = new _n1q.SlotItemEffectModel(), _n1v = { 151: 1, 593: 1, 954: 1, 591: 2, 149: 3, 150: 3, 592: 3, 152: 3 }, _n1w = 0, _n1x = new _n1q.SlotItemEffectModel(); if (149 == _n1s.ship_id || 591 == _n1s.ship_id) _n1x.houg = 2, _n1x.tyku = 1, _n1w = 1; else { if (150 == _n1s.ship_id || 592 == _n1s.ship_id) _n1x.houg = 1; else { if (152 == _n1s.ship_id) _n1x.houg = 1; else { if (151 != _n1s.ship_id && 593 != _n1s.ship_id && 954 != _n1s.ship_id) return _n1u; _n1x.houg = 2, _n1x.tyku = 2, _n1x.kaih = 2, _n1w = 1; } } } var _n1y = _n1s.get_slotnums(289); if (_n1u = _n1x.multiply(_n1y), _n1v[_n1s.ship_id]) { var _n1z = _n1s.get_each_level_nums(289), _n20 = new Array(); _n1z.forEach(function(_n21, _n22) { var _n23 = null; for (var _n24 = 1; _n24 <= _n1s.SLOT_LEVEL_MAX; _n24++) _n22 >= _n24 && (null == _n20[_n24] && (_n20[_n24] = 0), _n20[_n24] += _n21); }); var _n25 = _n1v[_n1s.ship_id]; 1 == _n25 ? (_n20[1] >= 1 && (_n1u.kaih += 1 * _n20[1]), _n20[3] >= 1 && (_n1u.tyku = _n1u.tyku + 1 * _n20[3]), _n20[5] >= 1 && (_n1u.houg = _n1u.houg + 1 * _n20[5]), _n20[7] >= 1 && (_n1u.kaih += 1 * _n20[7]), _n20[8] >= 1 && (_n1u.tyku += 1 * _n20[8]), _n20[9] >= 1 && (_n1u.houg += 1 * _n20[9]), _n20[10] >= 1 && (_n1u.kaih += 1 * _n20[10])) : 2 == _n25 ? (_n20[4] >= 1 && (_n1u.tyku += 1 * _n20[4]), _n20[6] >= 1 && (_n1u.kaih += 1 * _n20[6]), _n20[8] >= 1 && (_n1u.houg += 1 * _n20[8]), _n20[10] >= 1 && (_n1u.kaih += 1 * _n20[10])) : 3 == _n25 && (_n20[7] >= 1 && (_n1u.tyku += 1 * _n20[7]), _n20[9] >= 1 && (_n1u.houg += 1 * _n20[9]), _n20[10] >= 1 && (_n1u.kaih += 1 * _n20[10])); } if (0 == _n1w) return _n1u; for (var _n26 = 0, _n27 = 0, _n28 = _n1s.have_slot_ids(); _n27 < _n28.length; _n27++) { var _n29 = _n28[_n27], _n2a = _n1r.default.model.slot.getMst(_n29), _n2b = _n2a.equipType; (12 == _n2b || 13 == _n2b) && _n2a.sakuteki >= 5 && (_n26 += _n1s.get_slotnums(parseInt(_n29))); } return _n26 > 0 && (_n1u.houg += 2, _n1u.kaih += 2), _n1u; }; }, 16748: function(_n2c, _n2d, _n2e) { 'use strict'; var _n2f = null; var _n2g = this && this.__importDefault || function(_n2h) { var _n2i = null; return _n2h && _n2h.__esModule ? _n2h : { 'default': _n2h }; }; defineModule(_n2d); Object.defineProperty(_n2d, '__esModule', { 'value': !0 }), _n2d.getSlot290PersonalEffect = void 0; var _n2j = _n2e(74496), _n2k = _n2g(_n2e(18622)); _n2d.getSlot290PersonalEffect = function(_n2l) { var _n2m = null, _n2n = new _n2j.SlotItemEffectModel(), _n2o = 0, _n2p = new _n2j.SlotItemEffectModel(); if (411 == _n2l.ship_id) _n2p.houg = 1; else { if (412 == _n2l.ship_id) _n2p.houg = 1; else { if (82 == _n2l.ship_id) _n2p.houg = 2, _n2p.tyku = 2, _n2p.kaih = 1, _n2o = 1; else { if (553 == _n2l.ship_id) _n2p.houg = 3, _n2p.tyku = 2, _n2p.kaih = 1, _n2p.houm = 3, _n2o = 1; else { if (88 == _n2l.ship_id) _n2p.houg = 2, _n2p.tyku = 2, _n2p.kaih = 1, _n2o = 1; else { if (554 != _n2l.ship_id) return _n2n; _n2p.houg = 3, _n2p.tyku = 2, _n2p.kaih = 2, _n2p.houm = 3, _n2o = 1; } } } } } var _n2q = _n2l.get_slotnums(290); if (_n2n = _n2p.multiply(_n2q), 0 == _n2o) return _n2n; for (var _n2r = 0, _n2s = 0, _n2t = _n2l.have_slot_ids(); _n2s < _n2t.length; _n2s++) { var _n2u = _n2t[_n2s], _n2v = _n2k.default.model.slot.getMst(_n2u), _n2w = _n2v.equipType; (12 == _n2w || 13 == _n2w) && _n2v.taiku >= 2 && (_n2r += _n2l.get_slotnums(parseInt(_n2u))); } return _n2r > 0 && (_n2n.tyku += 2, _n2n.kaih += 3), _n2n; }; }, 53618: (_n2x, _n2y, _n2z) => { 'use strict'; var _n30 = null; defineModule(_n2y); Object.defineProperty(_n2y, '__esModule', { 'value': !0 }), _n2y.getSlot291PersonalEffect = void 0; var _n31 = _n2z(74496); _n2y.getSlot291PersonalEffect = function(_n32) { var _n33 = null, _n34 = new _n31.SlotItemEffectModel(), _n35 = new _n31.SlotItemEffectModel(); if (553 == _n32.ship_id) _n35.houg = 6, _n35.kaih = 1; else { if (554 != _n32.ship_id) return _n34; _n35.houg = 6, _n35.kaih = 1; } var _n36 = _n32.get_slotnums(291); return _n34 = _n35.multiply(_n36); }; }, 72573: (_n37, _n38, _n39) => { 'use strict'; var _n3a = null; defineModule(_n38); Object.defineProperty(_n38, '__esModule', { 'value': !0 }), _n38.getSlot292PersonalEffect = void 0; var _n3b = _n39(74496); _n38.getSlot292PersonalEffect = function(_n3c) { var _n3d = null, _n3e = new _n3b.SlotItemEffectModel(), _n3f = new _n3b.SlotItemEffectModel(); if (553 == _n3c.ship_id) _n3f.houg = 8, _n3f.kaih = 2, _n3f.tyku = 1; else { if (554 != _n3c.ship_id) return _n3e; _n3f.houg = 8, _n3f.kaih = 2, _n3f.tyku = 1; } var _n3g = _n3c.get_slotnums(292); return _n3e = _n3f.multiply(_n3g); }; }, 8955: function(_n3h, _n3i, _n3j) { 'use strict'; var _n3k = null; var _n3l = this && this.__importDefault || function(_n3m) { var _n3n = null; return _n3m && _n3m.__esModule ? _n3m : { 'default': _n3m }; }; defineModule(_n3i); Object.defineProperty(_n3i, '__esModule', { 'value': !0 }), _n3i.getSlot293PersonalEffect = void 0; var _n3o = _n3j(74496), _n3p = _n3l(_n3j(18622)); _n3i.getSlot293PersonalEffect = function(_n3q) { var _n3r = null, _n3s = new _n3o.SlotItemEffectModel(), _n3t = new _n3o.SlotItemEffectModel(), _n3u = 0; if (66 == _n3q.ctype || 28 == _n3q.ctype) _n3t.houg = 2, _n3t.tyku = 1, _n3t.kaih = 3, _n3u = 1; else { if (74 != _n3q.ctype && 77 != _n3q.ctype) return _n3s; _n3t.houg = 1, _n3t.tyku = 1, _n3t.kaih = 2, _n3u = 2; } var _n3v = _n3q.get_slotnums(293); _n3s = _n3t.multiply(_n3v); for (var _n3w = 0, _n3x = 0, _n3y = _n3q.have_slot_ids(); _n3x < _n3y.length; _n3x++) { var _n3z = _n3y[_n3x], _n40 = _n3p.default.model.slot.getMst(_n3z), _n41 = _n40.equipType; (12 == _n41 || 13 == _n41) && _n40.sakuteki >= 5 && (_n3w += _n3q.get_slotnums(parseInt(_n3z))); } var _n42 = _n3q.get_slotnums(174); return 1 == _n3u ? (_n3w > 0 && (_n3s.houg += 2, _n3s.kaih += 3, _n3s.raig += 1), 1 == _n42 ? (_n3s.houg += 2, _n3s.raig += 4) : _n42 >= 2 && (_n3s.houg += 3, _n3s.raig += 7)) : 2 == _n3u && _n3w > 0 && (_n3s.houg += 2, _n3s.kaih += 3, _n3s.tais += 1), _n3s; }; }, 98947: function(_n43, _n44, _n45) { 'use strict'; var _n46 = null; var _n47 = this && this.__importDefault || function(_n48) { var _n49 = null; return _n48 && _n48.__esModule ? _n48 : { 'default': _n48 }; }; defineModule(_n44); Object.defineProperty(_n44, '__esModule', { 'value': !0 }), _n44.getSlot294PersonalEffect = void 0; var _n4a = _n45(74496), _n4b = _n47(_n45(18622)); _n44.getSlot294PersonalEffect = function(_n4c) { var _n4d = null, _n4e = new _n4a.SlotItemEffectModel(), _n4f = new _n4a.SlotItemEffectModel(), _n4g = 0, _n4h = _n4c.get_slotnums(294); if (12 != _n4c.ctype && 1 != _n4c.ctype && 5 != _n4c.ctype) return _n4e; _n4f.houg = 1, 959 == _n4c.ship_id && (_n4f.houg += 1, _n4h >= 2 && (_n4e.houg += 2), _n4h >= 3 && (_n4e.houg += 3), _n4g = 1), _n4e.add(_n4f.multiply(_n4h)); for (var _n4i = 0, _n4j = 0, _n4k = _n4c.have_slot_ids(); _n4j < _n4k.length; _n4j++) { var _n4l = _n4k[_n4j], _n4m = _n4b.default.model.slot.getMst(_n4l), _n4n = _n4m.equipType; (12 == _n4n || 13 == _n4n) && _n4m.sakuteki >= 5 && (_n4i += _n4c.get_slotnums(parseInt(_n4l))); } var _n4o = _n4c.get_slotnums(13), _n4p = _n4c.get_slotnums(125), _n4q = _n4c.get_slotnums(285), _n4r = _n4o + _n4p + _n4q; if (_n4i > 0 && (_n4e.houg += 3, _n4e.kaih += 2, _n4e.raig += 1), 1 == _n4r ? (_n4e.houg += 1, _n4e.raig += 3) : _n4r >= 2 && (_n4e.houg += 2, _n4e.raig += 5), _n4q >= 1 && (_n4e.raig += 1), 0 == _n4g) return _n4e; var _n4s = _n4c.get_each_level_nums(294), _n4t = []; return _n4g > 0 && _n4s.forEach(function(_n4u, _n4v) { var _n4w = null; for (var _n4x = 1; _n4x <= _n4c.SLOT_LEVEL_MAX; _n4x++) null == _n4t[_n4x] && (_n4t[_n4x] = 0), _n4v >= _n4x && (_n4t[_n4x] += _n4u); }), 1 == _n4g && (_n4t[6] >= 1 && (_n4e.houm += 4 * _n4t[6]), _n4t[7] >= 1 && (_n4e.houg = _n4e.houg + 6 * _n4t[7]), _n4t[8] >= 1 && (_n4e.houg = _n4e.houg + 1 * _n4t[8]), _n4t[9] >= 1 && (_n4e.houg = _n4e.houg + 1 * _n4t[9]), _n4t[10] >= 1 && (_n4e.houg += 1 * _n4t[10])), _n4e; }; }, 44726: function(_n4y, _n4z, _n50) { 'use strict'; var _n51 = null; var _n52 = this && this.__importDefault || function(_n53) { var _n54 = null; return _n53 && _n53.__esModule ? _n53 : { 'default': _n53 }; }; defineModule(_n4z); Object.defineProperty(_n4z, '__esModule', { 'value': !0 }), _n4z.getSlot295PersonalEffect = void 0; var _n55 = _n50(74496), _n56 = _n52(_n50(18622)); _n4z.getSlot295PersonalEffect = function(_n57) { var _n58 = null, _n59 = new _n55.SlotItemEffectModel(), _n5a = new _n55.SlotItemEffectModel(), _n5b = _n57.get_slotnums(295); if (12 != _n57.ctype && 1 != _n57.ctype && 5 != _n57.ctype) return _n59; _n5a.houg = 2, _n5a.tyku = 2, 666 == _n57.ship_id ? (_n5a.houg += 1, _n5a.tyku += 1, _n5a.tais += 1) : 959 == _n57.ship_id && (_n5a.houg += 2, _n5b >= 2 && (_n59.houg += 2), _n5b >= 3 && (_n59.houg += 3)), _n59.add(_n5a.multiply(_n5b)); for (var _n5c = 0, _n5d = 0, _n5e = 0, _n5f = _n57.have_slot_ids(); _n5e < _n5f.length; _n5e++) { var _n5g = _n5f[_n5e], _n5h = _n56.default.model.slot.getMst(_n5g), _n5i = _n5h.equipType; 12 != _n5i && 13 != _n5i || (_n5h.sakuteki >= 5 && (_n5c += _n57.get_slotnums(parseInt(_n5g))), _n5h.taiku >= 2 && (_n5d += _n57.get_slotnums(parseInt(_n5g)))); } var _n5j = _n57.get_slotnums(13), _n5k = _n57.get_slotnums(125), _n5l = _n57.get_slotnums(285), _n5m = _n5j + _n5k + _n5l; return _n5c > 0 && (_n59.houg += 3, _n59.kaih += 2, _n59.raig += 1), 1 == _n5m ? (_n59.houg += 1, _n59.raig += 3) : _n5m >= 2 && (_n59.houg += 2, _n59.raig += 5), _n5l >= 1 && (_n59.raig += 1), _n5d > 0 && (_n59.tyku += 6), _n59; }; }, 93065: function(_n5n, _n5o, _n5p) { 'use strict'; var _n5q = null; var _n5r = this && this.__importDefault || function(_n5s) { var _n5t = null; return _n5s && _n5s.__esModule ? _n5s : { 'default': _n5s }; }; defineModule(_n5o); Object.defineProperty(_n5o, '__esModule', { 'value': !0 }), _n5o.getSlot296PersonalEffect = void 0; var _n5u = _n5p(74496), _n5v = _n5r(_n5p(18622)); _n5o.getSlot296PersonalEffect = function(_n5w) { var _n5x = null, _n5y = new _n5u.SlotItemEffectModel(), _n5z = new _n5u.SlotItemEffectModel(); 1 != _n5w.ctype && 5 != _n5w.ctype && 10 != _n5w.ctype && 23 != _n5w.ctype || (_n5z.houg += 1), 10 != _n5w.ctype && 23 != _n5w.ctype || (_n5z.kaih += 1), 145 == _n5w.ship_id || 961 == _n5w.ship_id ? (_n5z.houg += 1, _n5z.tyku += 1) : 144 == _n5w.ship_id ? (_n5z.houg += 1, _n5z.raig += 1) : 469 == _n5w.ship_id || 588 == _n5w.ship_id || 667 == _n5w.ship_id || 587 == _n5w.ship_id || 242 == _n5w.ship_id ? _n5z.kaih += 1 : 497 == _n5w.ship_id ? (_n5z.houg += 1, _n5z.kaih += 1) : 244 == _n5w.ship_id ? _n5z.kaih += 1 : 498 == _n5w.ship_id ? (_n5z.tyku += 1, _n5z.kaih += 1) : 627 == _n5w.ship_id ? (_n5z.houg += 2, _n5z.raig += 1) : 903 != _n5w.ship_id && 908 != _n5w.ship_id || (_n5z.houg += 3); var _n60 = !0; if (_n5z.exists() || (_n60 = !1), 0 == _n60) return _n5y; var _n61 = _n5w.get_slotnums(296); _n5y = _n5z.multiply(_n61); var _n62 = 0; if (1 != _n5w.ctype && 5 != _n5w.ctype && 10 != _n5w.ctype || (_n62 = 1), 23 == _n5w.ctype && (_n62 = 2), 0 == _n62) return _n5y; for (var _n63 = 0, _n64 = 0, _n65 = 0, _n66 = _n5w.have_slot_ids(); _n65 < _n66.length; _n65++) { var _n67 = _n66[_n65], _n68 = _n5v.default.model.slot.getMst(_n67), _n69 = _n68.equipType; 12 != _n69 && 13 != _n69 || (_n68.sakuteki >= 5 && (_n63 += _n5w.get_slotnums(parseInt(_n67))), _n68.taiku >= 2 && (_n64 += _n5w.get_slotnums(parseInt(_n67)))); } return _n63 > 0 && (1 == _n62 ? (_n5y.houg += 1, _n5y.kaih += 2, _n5y.raig += 2) : 2 == _n62 && (_n5y.houg += 1, _n5y.kaih += 2, _n5y.raig += 3)), _n5w.get_slotnums(285) + _n5w.get_slotnums(125) >= 1 && 1 == _n62 && (_n5y.houg += 1, _n5y.raig += 3), _n5w.get_slotnums(15) + _n5w.get_slotnums(286) >= 1 && 2 == _n62 && (_n5y.houg += 1, _n5y.raig += 3), _n64 > 0 && (1 == _n62 ? _n5y.tyku += 5 : 2 == _n62 && (_n5y.tyku += 6)), _n5y; }; }, 85767: (_n6a, _n6b, _n6c) => { 'use strict'; var _n6d = null; defineModule(_n6b); Object.defineProperty(_n6b, '__esModule', { 'value': !0 }), _n6b.getSlot297PersonalEffect = void 0; var _n6e = _n6c(74496); _n6b.getSlot297PersonalEffect = function(_n6f) { var _n6g = null, _n6h = new _n6e.SlotItemEffectModel(), _n6i = new _n6e.SlotItemEffectModel(); if (12 == _n6f.ctype) _n6i.kaih = 2; else { if (1 != _n6f.ctype && 5 != _n6f.ctype) return _n6h; _n6i.kaih = 1; } var _n6j = _n6f.get_slotnums(297); return _n6h = _n6i.multiply(_n6j); }; }, 38314: (_n6k, _n6l, _n6m) => { 'use strict'; var _n6n = null; defineModule(_n6l); Object.defineProperty(_n6l, '__esModule', { 'value': !0 }), _n6l.getSlot301PersonalEffect = void 0; var _n6o = _n6m(74496); _n6l.getSlot301PersonalEffect = function(_n6p) { var _n6q = null, _n6r = new _n6o.SlotItemEffectModel(), _n6s = new _n6o.SlotItemEffectModel(); 67 != _n6p.ctype && 78 != _n6p.ctype && 82 != _n6p.ctype && 88 != _n6p.ctype && 108 != _n6p.ctype && 112 != _n6p.ctype || (_n6s.tyku += 2, _n6s.kaih += 1, _n6s.souk += 1); var _n6t = !0; if (_n6s.exists() || (_n6t = !1), 0 == _n6t) return _n6r; var _n6u = _n6p.get_slotnums(301); return _n6r = _n6s.multiply(_n6u); }; }, 59747: (_n6v, _n6w, _n6x) => { 'use strict'; var _n6y = null; defineModule(_n6w); Object.defineProperty(_n6w, '__esModule', { 'value': !0 }), _n6w.getSlot302PersonalEffect = void 0; var _n6z = _n6x(74496); _n6w.getSlot302PersonalEffect = function(_n70) { var _n71 = null, _n72 = new _n6z.SlotItemEffectModel(), _n73 = new _n6z.SlotItemEffectModel(); if (76 == _n70.ctype && (_n73.tais = 1, _n73.kaih = 1), !_n73.exists()) return _n72; var _n74 = _n70.get_slotnums(302); return _n72 = _n73.multiply(_n74); }; }, 40649: (_n75, _n76, _n77) => { 'use strict'; var _n78 = null; defineModule(_n76); Object.defineProperty(_n76, '__esModule', { 'value': !0 }), _n76.getSlot303PersonalEffect = void 0; var _n79 = _n77(74496); _n76.getSlot303PersonalEffect = function(_n7a) { var _n7b = null, _n7c = new _n79.SlotItemEffectModel(), _n7d = new _n79.SlotItemEffectModel(); if (16 == _n7a.ctype || 4 == _n7a.ctype || 20 == _n7a.ctype || 41 == _n7a.ctype ? (_n7d.houg = 1, _n7d.tyku = 1) : 89 == _n7a.ctype && (_n7d.houg = 1, _n7d.tyku = 2, _n7d.kaih = 1), !_n7d.exists()) return _n7c; var _n7e = _n7a.get_slotnums(303); return _n7c = _n7d.multiply(_n7e); }; }, 13533: (_n7f, _n7g, _n7h) => { 'use strict'; var _n7i = null; defineModule(_n7g); Object.defineProperty(_n7g, '__esModule', { 'value': !0 }), _n7g.getSlot304PersonalEffect = void 0; var _n7j = _n7h(74496); _n7g.getSlot304PersonalEffect = function(_n7k) { var _n7l = null, _n7m = new _n7j.SlotItemEffectModel(), _n7n = new _n7j.SlotItemEffectModel(); if (16 == _n7k.ctype || 4 == _n7k.ctype || 20 == _n7k.ctype || 41 == _n7k.ctype ? (_n7n.houg = 1, _n7n.tais = 1, _n7n.kaih = 1) : 89 == _n7k.ctype && (_n7n.houg = 1, _n7n.tais = 2, _n7n.kaih = 2), !_n7n.exists()) return _n7m; var _n7o = _n7k.get_slotnums(304); return _n7m = _n7n.multiply(_n7o); }; }, 99791: (_n7p, _n7q, _n7r) => { 'use strict'; var _n7s = null; defineModule(_n7q); Object.defineProperty(_n7q, '__esModule', { 'value': !0 }), _n7q.getSlot305More320mmGunPersonalEffect = void 0; var _n7t = _n7r(74496); _n7q.getSlot305More320mmGunPersonalEffect = function(_n7u) { var _n7v = null, _n7w = new _n7t.SlotItemEffectModel(), _n7x = _n7u.get_slotnums(426), _n7y = _n7u.get_slotnums(427), _n7z = _n7u.get_slotnums(428), _n80 = _n7u.get_slotnums(429), _n81 = _n7x + _n7y + _n7z + _n80; return 113 == _n7u.ctype ? (_n7w.houg = _n7w.houg + 2 * _n81, _n7x >= 1 && (_n7w.houg = _n7w.houg + 1 * _n7x, _n7w.kaih = _n7w.kaih + 1 * _n7x, (_n7x >= 2 || _n7y >= 1) && (_n7w.houg = _n7w.houg + 1, _n7w.kaih = _n7w.kaih + 1)), _n7z >= 1 && (_n7w.houg = _n7w.houg + 1 * _n7z, _n7w.kaih = _n7w.kaih + 1 * _n7z, (_n7z >= 2 || _n80 >= 1) && (_n7w.houg = _n7w.houg + 2, _n7w.kaih = _n7w.kaih + 1))) : 73 == _n7u.ctype ? (_n7w.houg = _n7w.houg + 1 * _n81, _n7x >= 1 && (_n7w.houg = _n7w.houg + 1 * _n7x, _n7w.kaih = _n7w.kaih + 1 * _n7x, (_n7x >= 2 || _n7y >= 1) && (_n7w.houg = _n7w.houg + 1)), _n7z >= 1 && (_n7w.houg = _n7w.houg + 1 * _n7z, _n7w.kaih = _n7w.kaih + 1 * _n7z, (_n7z >= 2 || _n80 >= 1) && (_n7w.houg = _n7w.houg + 1))) : 58 == _n7u.ctype && _n7z >= 1 && (_n7w.houg = _n7w.houg + 1 * _n7z, _n7w.kaih = _n7w.kaih + 2 * _n7z, (_n7z >= 2 || _n80 >= 1) && (_n7w.houg = _n7w.houg + 2, _n7w.kaih = _n7w.kaih + 1)), _n7w; }; }, 12138: (_n82, _n83, _n84) => { 'use strict'; var _n85 = null; defineModule(_n83); Object.defineProperty(_n83, '__esModule', { 'value': !0 }), _n83.getSlot305_And_306_PersonalEffect = void 0; var _n86 = _n84(74496); _n83.getSlot305_And_306_PersonalEffect = function(_n87) { var _n88 = null, _n89 = new _n86.SlotItemEffectModel(), _n8a = new _n86.SlotItemEffectModel(); if (76 == _n87.ctype && (_n8a.tais = 1, _n8a.kaih = 1), 'しんよう' == _n87.yomi ? (_n8a.tais += 2, _n8a.kaih += 1) : 'グラーフ・ツェッペリン' != _n87.yomi && 'アクィラ' != _n87.yomi || (_n8a.houg = 1, _n8a.kaih = 1), !_n8a.exists()) return _n89; var _n8b = _n87.get_slotnums(305) + _n87.get_slotnums(306); return _n89 = _n8a.multiply(_n8b); }; }, 30042: (_n8c, _n8d, _n8e) => { 'use strict'; var _n8f = null; defineModule(_n8d); Object.defineProperty(_n8d, '__esModule', { 'value': !0 }), _n8d.getSlot307PersonalEffect = void 0; var _n8g = _n8e(74496); _n8d.getSlot307PersonalEffect = function(_n8h) { var _n8i = null, _n8j = new _n8g.SlotItemEffectModel(), _n8k = new _n8g.SlotItemEffectModel(); if ('アメリカ' == _n8h.getCountryName() && (_n8k.houg = 1, _n8k.tyku = 1, _n8k.kaih = 1), !_n8k.exists()) return _n8j; var _n8l = _n8h.get_slotnums(307); return _n8j = _n8k.multiply(_n8l); }; }, 33623: (_n8m, _n8n, _n8o) => { 'use strict'; var _n8p = null; defineModule(_n8n); Object.defineProperty(_n8n, '__esModule', { 'value': !0 }), _n8n.getSlot308PersonalEffect = void 0; var _n8q = _n8o(74496); _n8n.getSlot308PersonalEffect = function(_n8r) { var _n8s = null, _n8t = new _n8q.SlotItemEffectModel(), _n8u = new _n8q.SlotItemEffectModel(); if ('アメリカ' == _n8r.getCountryName() && (_n8u.houg = 1, _n8u.tyku = 1, _n8u.kaih = 1), 2 == _n8r.stype ? _n8u.houg += 1 : 1 == _n8r.stype && (_n8u.tyku += 1, _n8u.kaih += 1), 651 != _n8r.ship_id && 656 != _n8r.ship_id || (_n8u.houg += 1, _n8u.tyku += 1, _n8u.kaih += 1), !_n8u.exists()) return _n8t; var _n8v = _n8r.get_slotnums(308); return _n8t = _n8u.multiply(_n8v); }; }, 17732: (_n8w, _n8x, _n8y) => { 'use strict'; var _n8z = null; defineModule(_n8x); Object.defineProperty(_n8x, '__esModule', { 'value': !0 }), _n8x.getSlot30_410PersonalEffect = void 0; var _n90 = _n8y(74496); _n8x.getSlot30_410PersonalEffect = function(_n91) { var _n92 = null, _n93 = new _n90.SlotItemEffectModel(); return 73 != _n91.ship_id && 501 != _n91.ship_id && 506 != _n91.ship_id && 502 != _n91.ship_id && 507 != _n91.ship_id || (_n93.tyku += 3, _n93.kaih += 2, _n93.saku += 2, _n91.get_slotnums(410) >= 1 && (_n93.tyku += 2, _n93.kaih += 2, _n93.houg += 1, _n93.souk += 1)), 54 == _n91.ctype && (_n93.tyku += 3, _n93.kaih += 2, _n93.saku += 2, _n91.get_slotnums(410) >= 1 && (_n93.tyku += 2, _n93.kaih += 2, _n93.houg += 1, _n93.souk += 1)), _n93; }; }, 85630: function(_n94, _n95, _n96) { 'use strict'; var _n97 = null; var _n98 = this && this.__importDefault || function(_n99) { var _n9a = null; return _n99 && _n99.__esModule ? _n99 : { 'default': _n99 }; }; defineModule(_n95); Object.defineProperty(_n95, '__esModule', { 'value': !0 }), _n95.getSlot310PersonalEffect = void 0; var _n9b = _n96(74496), _n9c = _n98(_n96(18622)); _n95.getSlot310PersonalEffect = function(_n9d) { var _n9e = null, _n9f = new _n9b.SlotItemEffectModel(), _n9g = new _n9b.SlotItemEffectModel(), _n9h = new _n9b.SlotItemEffectModel(); 34 == _n9d.ctype ? (_n9g.houg += 2, _n9g.tyku += 1, _n9g.kaih += 1, _n9h.houg += 2) : 56 == _n9d.ctype ? (_n9g.houg += 2, _n9g.kaih += 1, _n9h.houg += 2, _n9h.kaih += 2) : 90 == _n9d.ctype && (_n9g.houg += 3, _n9g.raig += 2, _n9g.tyku += 1, _n9g.kaih += 1, _n9h.houg += 1, _n9h.raig += 1); var _n9i = new _n9b.SlotItemEffectModel(), _n9j = new _n9b.SlotItemEffectModel(); 622 != _n9d.ship_id && 623 != _n9d.ship_id && 624 != _n9d.ship_id || (_n9g.houg += 2, _n9g.kaih += 1, _n9g.tais += 1, _n9i.houg = 1, _n9i.raig = 1, _n9j.houg = 3, _n9j.kaih = 2, _n9j.raig = 2); var _n9k = !0; if (_n9g.exists() || (_n9k = !1), 0 == _n9k) return _n9f; var _n9l = _n9d.get_slotnums(310) + _n9d.get_slotnums(518); _n9f = _n9g.multiply(_n9l); for (var _n9m = 0, _n9n = 0, _n9o = 0, _n9p = [310, 518]; _n9o < _n9p.length; _n9o++) { var _n9q = _n9p[_n9o], _n9r = _n9d.have_slots_dict[_n9q]; if (null != _n9r) for (var _n9s = 0, _n9t = _n9r; _n9s < _n9t.length; _n9s++) { var _n9u = _n9t[_n9s]; null != _n9u && (_n9u.level >= 7 && _n9m++, _n9u.level >= 10 && _n9n++); } } if (_n9i.exists() && _n9m > 0 && _n9f.add(_n9i.multiply(_n9m)), _n9h.exists() && _n9n > 0 && _n9f.add(_n9h.multiply(_n9n)), _n9j.exists()) { for (var _n9v = 0, _n9w = 0, _n9x = _n9d.have_slot_ids(); _n9w < _n9x.length; _n9w++) { var _n9y = _n9x[_n9w], _n9z = _n9c.default.model.slot.getMst(_n9y), _na0 = _n9z.equipType; (12 == _na0 || 13 == _na0) && _n9z.sakuteki >= 5 && (_n9v += _n9d.get_slotnums(parseInt(_n9y))); } _n9v > 0 && _n9f.add(_n9j); } return _n9f; }; }, 88736: (_na1, _na2, _na3) => { 'use strict'; var _na4 = null; defineModule(_na2); Object.defineProperty(_na2, '__esModule', { 'value': !0 }), _na2.getSlot313PersonalEffect = void 0; var _na5 = _na3(74496); _na2.getSlot313PersonalEffect = function(_na6) { var _na7 = null, _na8 = new _na5.SlotItemEffectModel(), _na9 = new _na5.SlotItemEffectModel(); 87 != _na6.ctype && 91 != _na6.ctype || (_na9.houg += 2, _na9.tyku += 2, _na9.kaih += 1, _na9.souk += 1), 651 != _na6.ship_id && 656 != _na6.ship_id || (_na9.houg += 2, _na9.tyku += 2, _na9.kaih += 1, _na9.souk += 1); var _naa = !0; if (_na9.exists() || (_naa = !1), 0 == _naa) return _na8; var _nab = _na6.get_slotnums(313); return _na8 = _na9.multiply(_nab); }; }, 49341: (_nac, _nad, _nae) => { 'use strict'; var _naf = null; defineModule(_nad); Object.defineProperty(_nad, '__esModule', { 'value': !0 }), _nad.getSlot314PersonalEffect = void 0; var _nag = _nae(74496); _nad.getSlot314PersonalEffect = function(_nah) { var _nai = null, _naj = new _nag.SlotItemEffectModel(), _nak = new _nag.SlotItemEffectModel(); 87 != _nah.ctype && 91 != _nah.ctype || (_nak.houg += 1, _nak.raig += 3); var _nal = !0; if (_nak.exists() || (_nal = !1), 0 == _nal) return _naj; var _nam = _nah.get_slotnums(314); return _naj = _nak.multiply(_nam); }; }, 74306: (_nan, _nao, _nap) => { 'use strict'; var _naq = null; defineModule(_nao); Object.defineProperty(_nao, '__esModule', { 'value': !0 }), _nao.getSlot315PersonalEffect = void 0; var _nar = _nap(74496); _nao.getSlot315PersonalEffect = function(_nas) { var _nat = null, _nau = new _nar.SlotItemEffectModel(), _nav = new _nar.SlotItemEffectModel(); 'アメリカ' == _nas.getCountryName() && (_nav.houg += 2, _nav.kaih += 3, _nav.saku += 4), 87 != _nas.ctype && 91 != _nas.ctype || (_nav.houg += 1, _nau.leng += 1), 651 != _nas.ship_id && 656 != _nas.ship_id || (_nau.houg += 2, _nau.kaih += 2, _nau.saku += 3, _nau.leng += 1); var _naw = !0; if (_nav.exists() || (_naw = !1), 0 == _naw) return _nau; var _nax = _nas.get_slotnums(315); return _nau.add(_nav.multiply(_nax)), _nau; }; }, 83898: (_nay, _naz, _nb0) => { 'use strict'; var _nb1 = null; defineModule(_naz); Object.defineProperty(_naz, '__esModule', { 'value': !0 }), _naz.getSlot316PersonalEffect = void 0; var _nb2 = _nb0(74496); _naz.getSlot316PersonalEffect = function(_nb3) { var _nb4 = null, _nb5 = new _nb2.SlotItemEffectModel(), _nb6 = new _nb2.SlotItemEffectModel(); if (68 == _nb3.ctype) { if (_nb6.houg += 4, _nb6.tyku += 1, _nb6.kaih += 1, !_nb6.exists()) return _nb5; var _nb7 = _nb3.get_slotnums(316); _nb5 = _nb6.multiply(_nb7); } return _nb5; }; }, 71873: (_nb8, _nb9, _nba) => { 'use strict'; var _nbb = null; defineModule(_nb9); Object.defineProperty(_nb9, '__esModule', { 'value': !0 }), _nb9.getSlot317PersonalEffect = void 0; var _nbc = _nba(74496); _nb9.getSlot317PersonalEffect = function(_nbd) { var _nbe = null, _nbf = new _nbc.SlotItemEffectModel(), _nbg = new _nbc.SlotItemEffectModel(), _nbh = 0, _nbi = !1; if (6 == _nbd.ctype ? (_nbg.houg += 2, _nbg.tyku += 1, _nbh = 1, _nbi = !0) : 2 == _nbd.ctype && (_nbg.houg += 1, _nbg.tyku += 1, _nbg.kaih += 1, _nbh = 2, _nbi = !0), 149 == _nbd.ship_id || 591 == _nbd.ship_id || 592 == _nbd.ship_id ? (_nbg.houg += 2, _nbg.tyku += 2, _nbi = !0) : 150 == _nbd.ship_id ? (_nbg.houg += 1, _nbg.tyku += 1, _nbi = !0) : 151 == _nbd.ship_id ? (_nbg.houg += 1, _nbg.tyku += 1, _nbg.kaih += 1, _nbi = !0) : 593 == _nbd.ship_id ? (_nbg.houg += 1, _nbg.tyku += 3, _nbg.kaih += 2, _nbi = !0) : 954 == _nbd.ship_id ? (_nbg.houg += 2, _nbg.tyku += 2, _nbg.kaih += 1, _nbi = !0) : 152 == _nbd.ship_id ? (_nbg.houg += 2, _nbg.tyku += 1, _nbi = !0) : 541 == _nbd.ship_id ? (_nbg.houg += 1, _nbg.tyku += 2, _nbi = !0) : 573 == _nbd.ship_id && (_nbg.houg += 2, _nbg.tyku += 2, _nbg.kaih += 1, _nbi = !0), 0 == _nbi) return _nbf; if (_nbf.add(_nbg), 0 == _nbh) return _nbf; var _nbj = _nbd.get_each_level_nums(317), _nbk = []; return _nbh > 0 && _nbj.forEach(function(_nbl, _nbm) { var _nbn = null; for (var _nbo = 1; _nbo <= _nbd.SLOT_LEVEL_MAX; _nbo++) null == _nbk[_nbo] && (_nbk[_nbo] = 0), _nbm >= _nbo && (_nbk[_nbo] += _nbl); }), 1 == _nbh ? _nbk[8] >= 1 && (_nbf.houm += 1) : 2 == _nbh && _nbj[10] >= 1 && (_nbf.houm += 1), _nbf; }; }, 53122: function(_nbp, _nbq, _nbr) { 'use strict'; var _nbs = null; var _nbt = this && this.__importDefault || function(_nbu) { var _nbv = null; return _nbu && _nbu.__esModule ? _nbu : { 'default': _nbu }; }; defineModule(_nbq); Object.defineProperty(_nbq, '__esModule', { 'value': !0 }), _nbq.getSlot318PersonalEffect = void 0; var _nbw = _nbr(74496), _nbx = _nbt(_nbr(18622)); _nbq.getSlot318PersonalEffect = function(_nby) { var _nbz = null, _nc0 = new _nbw.SlotItemEffectModel(), _nc1 = new _nbw.SlotItemEffectModel(), _nc2 = new _nbw.SlotItemEffectModel(), _nc3 = new _nbw.SlotItemEffectModel(); if (411 == _nby.ship_id || 412 == _nby.ship_id ? _nc1.houg += 1 : 82 == _nby.ship_id ? (_nc1.houg += 2, _nc1.tyku += 2, _nc1.kaih += 2, _nc3.tyku = 2, _nc3.kaih = 3, _nc3.houm = 1) : 553 == _nby.ship_id ? (_nc1.houg += 2, _nc1.tyku += 2, _nc1.kaih += 2, _nc1.houm += 3, _nc3.tyku = 2, _nc3.kaih = 3, _nc3.houm = 1, _nc2.kaih = 2, _nc2.souk = 1) : 88 == _nby.ship_id ? (_nc1.houg += 2, _nc1.tyku += 2, _nc1.kaih += 2, _nc3.tyku = 2, _nc3.kaih = 3, _nc3.houm = 1) : 541 == _nby.ship_id || 573 == _nby.ship_id ? (_nc1.houg += 3, _nc1.tyku += 2, _nc1.kaih += 1, _nc1.houm += 2, _nc2.houg = 2, _nc2.kaih = 2, _nc2.souk = 1, _nc2.houm = 1) : 554 == _nby.ship_id && (_nc1.houg += 3, _nc1.tyku += 2, _nc1.kaih += 2, _nc1.houm += 3, _nc3.tyku = 2, _nc3.kaih = 3, _nc3.houm = 1, _nc2.houg = 1, _nc2.kaih = 2, _nc2.souk = 1, _nc2.houm = 1), !_nc1.exists()) return _nc0; var _nc4 = _nby.get_slotnums(318); if (_nc0 = _nc1.multiply(_nc4), !_nc2.exists() && !_nc3.exists()) return _nc0; for (var _nc5 = 0, _nc6 = 0, _nc7 = _nby.have_slot_ids(); _nc6 < _nc7.length; _nc6++) { var _nc8 = _nc7[_nc6], _nc9 = _nbx.default.model.slot.getMst(_nc8), _nca = _nc9.equipType; (12 == _nca || 13 == _nca) && _nc9.taiku >= 2 && (_nc5 += _nby.get_slotnums(parseInt(_nc8))); } var _ncb = _nby.get_slotnums(290); return _nc3.exists() && _nc5 > 0 && 0 == _ncb && _nc0.add(_nc3), _nc2.exists() && _ncb >= 1 && _nc0.add(_nc2), _nc0; }; }, 51063: (_ncc, _ncd, _nce) => { 'use strict'; var _ncf = null; defineModule(_ncd); Object.defineProperty(_ncd, '__esModule', { 'value': !0 }), _ncd.getSlot319PersonalEffect = void 0; var _ncg = _nce(74496); _ncd.getSlot319PersonalEffect = function(_nch) { var _nci = null, _ncj = new _ncg.SlotItemEffectModel(), _nck = new _ncg.SlotItemEffectModel(); if (554 != _nch.ship_id && 553 != _nch.ship_id || (_nck.houg = 7, _nck.tyku = 3, _nck.kaih = 2), !_nck.exists()) return _ncj; var _ncl = _nch.get_slotnums(319); return _ncj = _nck.multiply(_ncl); }; }, 91491: (_ncm, _ncn, _nco) => { 'use strict'; var _ncp = null; defineModule(_ncn); Object.defineProperty(_ncn, '__esModule', { 'value': !0 }), _ncn.getSlot320PersonalEffect = void 0; var _ncq = _nco(74496); _ncn.getSlot320PersonalEffect = function(_ncr) { var _ncs = null, _nct = new _ncq.SlotItemEffectModel(), _ncu = new _ncq.SlotItemEffectModel(); if (553 == _ncr.ship_id) _ncu.houg = 2; else { if (554 == _ncr.ship_id) _ncu.houg = 4; else { if (196 == _ncr.ship_id) _ncu.houg = 3; else { if (197 == _ncr.ship_id) _ncu.houg = 3; else { if (508 == _ncr.ship_id) _ncu.houg = 4; else { if (509 != _ncr.ship_id) return _nct; _ncu.houg = 4; } } } } } var _ncv = _ncr.get_slotnums(320); return _nct = _ncu.multiply(_ncv); }; }, 85495: (_ncw, _ncx, _ncy) => { 'use strict'; var _ncz = null; defineModule(_ncx); Object.defineProperty(_ncx, '__esModule', { 'value': !0 }), _ncx.getSlot322PersonalEffect = void 0; var _nd0 = _ncy(74496); _ncx.getSlot322PersonalEffect = function(_nd1) { var _nd2 = null, _nd3 = new _nd0.SlotItemEffectModel(), _nd4 = new _nd0.SlotItemEffectModel(); if (554 != _nd1.ship_id && 553 != _nd1.ship_id || (_nd4.houg = 5, _nd4.tyku = 2, _nd4.kaih = 2, _nd4.tais = 1), !_nd4.exists()) return _nd3; var _nd5 = _nd1.get_slotnums(322); return _nd3 = _nd4.multiply(_nd5); }; }, 65365: (_nd6, _nd7, _nd8) => { 'use strict'; var _nd9 = null; defineModule(_nd7); Object.defineProperty(_nd7, '__esModule', { 'value': !0 }), _nd7.getSlot323PersonalEffect = void 0; var _nda = _nd8(74496); _nd7.getSlot323PersonalEffect = function(_ndb) { var _ndc = null, _ndd = new _nda.SlotItemEffectModel(), _nde = new _nda.SlotItemEffectModel(); if (554 != _ndb.ship_id && 553 != _ndb.ship_id || (_nde.houg = 6, _nde.tyku = 3, _nde.kaih = 3, _nde.tais = 2), !_nde.exists()) return _ndd; var _ndf = _ndb.get_slotnums(323); return _ndd = _nde.multiply(_ndf); }; }, 98164: (_ndg, _ndh, _ndi) => { 'use strict'; var _ndj = null; defineModule(_ndh); Object.defineProperty(_ndh, '__esModule', { 'value': !0 }), _ndh.getSlot324And325PersonalEffect = void 0; var _ndk = _ndi(74496); _ndh.getSlot324And325PersonalEffect = function(_ndl) { var _ndm = null, _ndn = new _ndk.SlotItemEffectModel(), _ndo = new _ndk.SlotItemEffectModel(); if (554 == _ndl.ship_id || 646 == _ndl.ship_id ? (_ndo.houg = 2, _ndo.tais = 3, _ndo.kaih = 1) : 553 == _ndl.ship_id && (_ndo.houg = 1, _ndo.tais = 2, _ndo.kaih = 1), !_ndo.exists()) return _ndn; var _ndp = _ndl.get_slotnums(324) + _ndl.get_slotnums(325); return _ndn = _ndo.multiply(_ndp); }; }, 38114: (_ndq, _ndr, _nds) => { 'use strict'; var _ndt = null; defineModule(_ndr); Object.defineProperty(_ndr, '__esModule', { 'value': !0 }), _ndr.getSlot326PersonalEffect = void 0; var _ndu = _nds(74496); _ndr.getSlot326PersonalEffect = function(_ndv) { var _ndw = null, _ndx = new _ndu.SlotItemEffectModel(), _ndy = new _ndu.SlotItemEffectModel(); if (646 == _ndv.ship_id ? (_ndy.houg = 3, _ndy.tais = 5, _ndy.kaih = 3) : 554 == _ndv.ship_id ? (_ndy.houg = 3, _ndy.tais = 4, _ndy.kaih = 2) : 553 == _ndv.ship_id && (_ndy.houg = 1, _ndy.tais = 3, _ndy.kaih = 1), !_ndy.exists()) return _ndx; var _ndz = _ndv.get_slotnums(326); return _ndx = _ndy.multiply(_ndz); }; }, 21003: (_ne0, _ne1, _ne2) => { 'use strict'; var _ne3 = null; defineModule(_ne1); Object.defineProperty(_ne1, '__esModule', { 'value': !0 }), _ne1.getSlot327PersonalEffect = void 0; var _ne4 = _ne2(74496); _ne1.getSlot327PersonalEffect = function(_ne5) { var _ne6 = null, _ne7 = new _ne4.SlotItemEffectModel(), _ne8 = new _ne4.SlotItemEffectModel(); if (646 == _ne5.ship_id ? (_ne8.houg = 5, _ne8.tais = 6, _ne8.kaih = 4) : 554 == _ne5.ship_id ? (_ne8.houg = 4, _ne8.tais = 5, _ne8.kaih = 2) : 553 == _ne5.ship_id && (_ne8.houg = 2, _ne8.tais = 4, _ne8.kaih = 1), !_ne8.exists()) return _ne7; var _ne9 = _ne5.get_slotnums(327); return _ne7 = _ne8.multiply(_ne9); }; }, 77010: (_nea, _neb, _nec) => { 'use strict'; var _ned = null; defineModule(_neb); Object.defineProperty(_neb, '__esModule', { 'value': !0 }), _neb.getSlot328PersonalEffect = void 0; var _nee = _nec(74496); _neb.getSlot328PersonalEffect = function(_nef) { var _neg = null, _neh = new _nee.SlotItemEffectModel(), _nei = new _nee.SlotItemEffectModel(); if ('こんごう' == _nef.yomi ? (_nei.houg = 1, _nei.kaih = 1, 209 == _nef.ship_id || 149 == _nef.ship_id ? _nei.houg += 1 : 591 == _nef.ship_id && (_nei.houg += 2, _nei.raig += 1)) : 'ひえい' == _nef.yomi ? (_nei.houg = 1, _nei.kaih = 1, 210 == _nef.ship_id || 150 == _nef.ship_id ? _nei.houg += 1 : 592 == _nef.ship_id && (_nei.houg += 2, _nei.tyku += 1)) : 'はるな' == _nef.yomi ? (_nei.houg = 1, _nei.kaih = 1, 211 == _nef.ship_id || 151 == _nef.ship_id ? _nei.houg += 1 : 593 == _nef.ship_id ? (_nei.houg += 1, _nei.tyku += 2) : 954 == _nef.ship_id && (_nei.houg += 2, _nei.tyku += 1)) : 'きりしま' == _nef.yomi ? (_nei.houg = 1, _nei.kaih = 1, 212 != _nef.ship_id && 152 != _nef.ship_id || (_nei.houg += 1)) : ('ふそう' == _nef.yomi || 'やましろ' == _nef.yomi || 'いせ' == _nef.yomi || 'ひゅうが' == _nef.yomi) && (_nei.houg = 1), !_nei.exists()) return _neh; var _nej = _nef.get_slotnums(328); return _neh = _nei.multiply(_nej); }; }, 39126: (_nek, _nel, _nem) => { 'use strict'; var _nen = null; defineModule(_nel); Object.defineProperty(_nel, '__esModule', { 'value': !0 }), _nel.getSlot329PersonalEffect = void 0; var _neo = _nem(74496); _nel.getSlot329PersonalEffect = function(_nep) { var _neq = null, _ner = new _neo.SlotItemEffectModel(), _nes = new _neo.SlotItemEffectModel(); if ('こんごう' == _nep.yomi ? (_nes.houg = 1, _nes.kaih = 1, 209 == _nep.ship_id ? _nes.houg += 1 : 149 == _nep.ship_id ? (_nes.houg += 2, _nes.tyku += 1) : 591 == _nep.ship_id && (_nes.houg += 3, _nes.tyku += 1, _nes.raig += 2)) : 'ひえい' == _nep.yomi ? (_nes.houg = 1, _nes.kaih = 1, 210 == _nep.ship_id ? _nes.houg += 1 : 150 == _nep.ship_id ? (_nes.houg += 2, _nes.tyku += 1) : 592 == _nep.ship_id && (_nes.houg += 3, _nes.tyku += 1, _nes.raig += 2)) : 'はるな' == _nep.yomi ? (_nes.houg = 1, _nes.kaih = 1, 211 == _nep.ship_id ? _nes.houg += 1 : 151 == _nep.ship_id ? (_nes.houg += 2, _nes.tyku += 1) : 593 == _nep.ship_id ? (_nes.houg += 2, _nes.tyku += 3, _nes.raig += 1) : 954 == _nep.ship_id && (_nes.houg += 3, _nes.tyku += 1, _nes.raig += 2)) : 'きりしま' == _nep.yomi ? (_nes.houg = 1, _nes.kaih = 1, 212 == _nep.ship_id ? _nes.houg += 1 : 152 == _nep.ship_id && (_nes.houg += 2, _nes.tyku += 1)) : ('ふそう' == _nep.yomi || 'やましろ' == _nep.yomi || 'いせ' == _nep.yomi || 'ひゅうが' == _nep.yomi) && (_nes.houg = 1), !_nes.exists()) return _ner; var _net = _nep.get_slotnums(329); return _ner = _nes.multiply(_net); }; }, 72176: (_neu, _nev, _new) => { 'use strict'; var _nex = null; defineModule(_nev); Object.defineProperty(_nev, '__esModule', { 'value': !0 }), _nev.getSlot335PersonalEffect = void 0; var _ney = _new(74496); _nev.getSlot335PersonalEffect = function(_nez) { var _nf0 = null, _nf1 = new _ney.SlotItemEffectModel(), _nf2 = new _ney.SlotItemEffectModel(); if (277 == _nez.ship_id || 278 == _nez.ship_id ? (_nf2.tyku = 1, _nf2.kaih = 1) : 594 != _nez.ship_id && 599 != _nez.ship_id && 610 != _nez.ship_id && 646 != _nez.ship_id && 698 != _nez.ship_id || (_nf2.tyku = 2, _nf2.kaih = 1), !_nf2.exists()) return _nf1; var _nf3 = _nez.get_slotnums(335); return _nf1 = _nf2.multiply(_nf3); }; }, 33846: (_nf4, _nf5, _nf6) => { 'use strict'; var _nf7 = null; defineModule(_nf5); Object.defineProperty(_nf5, '__esModule', { 'value': !0 }), _nf5.getSlot336PersonalEffect = void 0; var _nf8 = _nf6(74496); _nf5.getSlot336PersonalEffect = function(_nf9) { var _nfa = null, _nfb = new _nf8.SlotItemEffectModel(), _nfc = new _nf8.SlotItemEffectModel(); if (277 == _nf9.ship_id || 278 == _nf9.ship_id ? (_nfc.houg = 1, _nfc.tyku = 1, _nfc.kaih = 1) : 594 != _nf9.ship_id && 599 != _nf9.ship_id && 610 != _nf9.ship_id && 646 != _nf9.ship_id && 698 != _nf9.ship_id || (_nfc.houg = 1, _nfc.tyku = 2, _nfc.kaih = 1), !_nfc.exists()) return _nfb; var _nfd = _nf9.get_slotnums(336); return _nfb = _nfc.multiply(_nfd); }; }, 97157: (_nfe, _nff, _nfg) => { 'use strict'; var _nfh = null; defineModule(_nff); Object.defineProperty(_nff, '__esModule', { 'value': !0 }), _nff.getSlot337PersonalEffect = void 0; var _nfi = _nfg(74496); _nff.getSlot337PersonalEffect = function(_nfj) { var _nfk = null, _nfl = new _nfi.SlotItemEffectModel(), _nfm = new _nfi.SlotItemEffectModel(); if (277 == _nfj.ship_id || 278 == _nfj.ship_id ? (_nfm.houg = 1, _nfm.tyku = 1, _nfm.kaih = 1) : 594 != _nfj.ship_id && 599 != _nfj.ship_id && 610 != _nfj.ship_id && 646 != _nfj.ship_id && 698 != _nfj.ship_id || (_nfm.houg = 2, _nfm.tyku = 2, _nfm.kaih = 1), !_nfm.exists()) return _nfl; var _nfn = _nfj.get_slotnums(337); return _nfl = _nfm.multiply(_nfn); }; }, 63406: (_nfo, _nfp, _nfq) => { 'use strict'; var _nfr = null; defineModule(_nfp); Object.defineProperty(_nfp, '__esModule', { 'value': !0 }), _nfp.getSlot338PersonalEffect = void 0; var _nfs = _nfq(74496); _nfp.getSlot338PersonalEffect = function(_nft) { var _nfu = null, _nfv = new _nfs.SlotItemEffectModel(), _nfw = new _nfs.SlotItemEffectModel(); if (277 == _nft.ship_id || 278 == _nft.ship_id ? (_nfw.houg = 1, _nfw.tyku = 1, _nfw.kaih = 2) : 594 == _nft.ship_id || 646 == _nft.ship_id || 698 == _nft.ship_id ? (_nfw.houg = 1, _nfw.tyku = 2, _nfw.kaih = 3) : 599 != _nft.ship_id && 610 != _nft.ship_id || (_nfw.houg = 4, _nfw.tyku = 3, _nfw.kaih = 4), !_nfw.exists()) return _nfv; var _nfx = _nft.get_slotnums(338); return _nfv = _nfw.multiply(_nfx); }; }, 66373: (_nfy, _nfz, _ng0) => { 'use strict'; var _ng1 = null; defineModule(_nfz); Object.defineProperty(_nfz, '__esModule', { 'value': !0 }), _nfz.getSlot339PersonalEffect = void 0; var _ng2 = _ng0(74496); _nfz.getSlot339PersonalEffect = function(_ng3) { var _ng4 = null, _ng5 = new _ng2.SlotItemEffectModel(), _ng6 = new _ng2.SlotItemEffectModel(); if (277 == _ng3.ship_id || 278 == _ng3.ship_id ? (_ng6.houg = 1, _ng6.tyku = 2, _ng6.kaih = 2) : 594 == _ng3.ship_id || 646 == _ng3.ship_id || 698 == _ng3.ship_id ? (_ng6.houg = 1, _ng6.tyku = 3, _ng6.kaih = 4) : 599 != _ng3.ship_id && 610 != _ng3.ship_id || (_ng6.houg = 6, _ng6.tyku = 4, _ng6.kaih = 5), !_ng6.exists()) return _ng5; var _ng7 = _ng3.get_slotnums(339); return _ng5 = _ng6.multiply(_ng7); }; }, 19707: (_ng8, _ng9, _nga) => { 'use strict'; var _ngb = null; defineModule(_ng9); Object.defineProperty(_ng9, '__esModule', { 'value': !0 }), _ng9.getSlot340PersonalEffect = void 0; var _ngc = _nga(74496); _ng9.getSlot340PersonalEffect = function(_ngd) { var _nge = null, _ngf = new _ngc.SlotItemEffectModel(), _ngg = new _ngc.SlotItemEffectModel(); if ('ガリバルディ' != _ngd.yomi && 'アブルッツィ' != _ngd.yomi || (_ngg.houg = 1, _ngg.tyku = 1, _ngg.kaih = 1), !_ngg.exists()) return _ngf; var _ngh = _ngd.get_slotnums(340); return _ngf = _ngg.multiply(_ngh); }; }, 63978: (_ngi, _ngj, _ngk) => { 'use strict'; var _ngl = null; defineModule(_ngj); Object.defineProperty(_ngj, '__esModule', { 'value': !0 }), _ngj.getSlot341PersonalEffect = void 0; var _ngm = _ngk(74496); _ngj.getSlot341PersonalEffect = function(_ngn) { var _ngo = null, _ngp = new _ngm.SlotItemEffectModel(), _ngq = new _ngm.SlotItemEffectModel(); if ('ガリバルディ' == _ngn.yomi || 'アブルッツィ' == _ngn.yomi ? (_ngq.houg = 2, _ngq.tyku = 1, _ngq.kaih = 1) : 'ゴトランド' == _ngn.yomi && (_ngq.houg = 1, _ngq.tyku = 1, _ngq.kaih = 1), !_ngq.exists()) return _ngp; var _ngr = _ngn.get_slotnums(341); return _ngp = _ngq.multiply(_ngr); }; }, 92382: (_ngs, _ngt, _ngu) => { 'use strict'; var _ngv = null; defineModule(_ngt); Object.defineProperty(_ngt, '__esModule', { 'value': !0 }), _ngt.getSlot342PersonalEffect = void 0; var _ngw = _ngu(74496); _ngt.getSlot342PersonalEffect = function(_ngx) { var _ngy = null, _ngz = new _ngw.SlotItemEffectModel(), _nh0 = new _ngw.SlotItemEffectModel(); if (277 == _ngx.ship_id || 278 == _ngx.ship_id || 461 == _ngx.ship_id || 466 == _ngx.ship_id || 462 == _ngx.ship_id || 467 == _ngx.ship_id ? _nh0.houg = 1 : 594 == _ngx.ship_id || 646 == _ngx.ship_id || 698 == _ngx.ship_id ? (_nh0.houg = 2, _nh0.tyku = 1, _nh0.kaih = 1) : 599 != _ngx.ship_id && 610 != _ngx.ship_id || (_nh0.houg = 3, _nh0.tyku = 2, _nh0.kaih = 2), !_nh0.exists()) return _ngz; var _nh1 = _ngx.get_slotnums(342); return _ngz = _nh0.multiply(_nh1); }; }, 78415: (_nh2, _nh3, _nh4) => { 'use strict'; var _nh5 = null; defineModule(_nh3); Object.defineProperty(_nh3, '__esModule', { 'value': !0 }), _nh3.getSlot343PersonalEffect = void 0; var _nh6 = _nh4(74496); _nh3.getSlot343PersonalEffect = function(_nh7) { var _nh8 = null, _nh9 = new _nh6.SlotItemEffectModel(), _nha = new _nh6.SlotItemEffectModel(); if (277 == _nh7.ship_id || 278 == _nh7.ship_id ? _nha.houg = 2 : 461 == _nh7.ship_id || 466 == _nh7.ship_id || 462 == _nh7.ship_id || 467 == _nh7.ship_id ? _nha.houg = 1 : 594 == _nh7.ship_id || 646 == _nh7.ship_id || 698 == _nh7.ship_id ? (_nha.houg = 3, _nha.tyku = 2, _nha.kaih = 1) : 599 != _nh7.ship_id && 610 != _nh7.ship_id || (_nha.houg = 5, _nha.tyku = 3, _nha.kaih = 3), !_nha.exists()) return _nh9; var _nhb = _nh7.get_slotnums(343); return _nh9 = _nha.multiply(_nhb); }; }, 23090: (_nhc, _nhd, _nhe) => { 'use strict'; var _nhf = null; defineModule(_nhd); Object.defineProperty(_nhd, '__esModule', { 'value': !0 }), _nhd.getSlot344PersonalEffect = void 0; var _nhg = _nhe(74496); _nhd.getSlot344PersonalEffect = function(_nhh) { var _nhi = null, _nhj = new _nhg.SlotItemEffectModel(), _nhk = new _nhg.SlotItemEffectModel(); if (599 == _nhh.ship_id || 610 == _nhh.ship_id ? _nhk.houg = 3 : 555 == _nhh.ship_id || 560 == _nhh.ship_id ? (_nhk.houg = 2, _nhk.tais = 2) : 318 == _nhh.ship_id ? (_nhk.houg = 4, _nhk.tais = 1) : 282 == _nhh.ship_id ? (_nhk.houg = 2, _nhk.tais = 1) : 888 == _nhh.ship_id ? (_nhk.houg = 4, _nhk.tais = 2) : 883 == _nhh.ship_id && (_nhk.houg = 5, _nhk.tais = 2), !_nhk.exists()) return _nhj; var _nhl = _nhh.get_slotnums(344); return _nhj = _nhk.multiply(_nhl); }; }, 18776: (_nhm, _nhn, _nho) => { 'use strict'; var _nhp = null; defineModule(_nhn); Object.defineProperty(_nhn, '__esModule', { 'value': !0 }), _nhn.getSlot345PersonalEffect = void 0; var _nhq = _nho(74496); _nhn.getSlot345PersonalEffect = function(_nhr) { var _nhs = null, _nht = new _nhq.SlotItemEffectModel(), _nhu = new _nhq.SlotItemEffectModel(); if (599 == _nhr.ship_id || 610 == _nhr.ship_id ? (_nhu.houg = 3, _nhu.kaih = 1) : 555 == _nhr.ship_id || 560 == _nhr.ship_id ? (_nhu.houg = 3, _nhu.tais = 2, _nhu.kaih = 2) : 318 == _nhr.ship_id ? (_nhu.houg = 5, _nhu.tais = 1, _nhu.kaih = 2) : 282 == _nhr.ship_id ? (_nhu.houg = 3, _nhu.tais = 1, _nhu.kaih = 1) : 888 == _nhr.ship_id ? (_nhu.houg = 4, _nhu.tais = 2, _nhu.kaih = 2) : 883 == _nhr.ship_id && (_nhu.houg = 5, _nhu.tais = 2, _nhu.kaih = 3), !_nhu.exists()) return _nht; var _nhv = _nhr.get_slotnums(345); return _nht = _nhu.multiply(_nhv); }; }, 89058: (_nhw, _nhx, _nhy) => { 'use strict'; var _nhz = null; defineModule(_nhx); Object.defineProperty(_nhx, '__esModule', { 'value': !0 }), _nhx.getSlot346PersonalEffect = void 0; var _ni0 = _nhy(74496); _nhx.getSlot346PersonalEffect = function(_ni1) { var _ni2 = null, _ni3 = new _ni0.SlotItemEffectModel(); return 'やましおまる' == _ni1.yomi && (_ni3.kaih += 1, _ni3.tais += 1), _ni3; }; }, 84372: (_ni4, _ni5, _ni6) => { 'use strict'; var _ni7 = null; defineModule(_ni5); Object.defineProperty(_ni5, '__esModule', { 'value': !0 }), _ni5.getSlot347PersonalEffect = void 0; var _ni8 = _ni6(74496); _ni5.getSlot347PersonalEffect = function(_ni9) { var _nia = null, _nib = new _ni8.SlotItemEffectModel(); return 'やましおまる' == _ni9.yomi && (_nib.kaih += 2, _nib.tais += 2), _nib; }; }, 39656: (_nic, _nid, _nie) => { 'use strict'; var _nif = null; defineModule(_nid); Object.defineProperty(_nid, '__esModule', { 'value': !0 }), _nid.getSlot356_357PersonalEffect = void 0; var _nig = _nie(74496); _nid.getSlot356_357PersonalEffect = function(_nih) { var _nii = null, _nij = new _nig.SlotItemEffectModel(), _nik = new _nig.SlotItemEffectModel(); if (95 == _nih.ctype ? _nik.houg = 2 : 9 == _nih.ctype && (_nik.houg = 1), !_nik.exists()) return _nij; var _nil = _nih.get_slotnums(356) + _nih.get_slotnums(357); return _nij = _nik.multiply(_nil); }; }, 66039: (_nim, _nin, _nio) => { 'use strict'; var _nip = null; defineModule(_nin); Object.defineProperty(_nin, '__esModule', { 'value': !0 }), _nin.getSlot358PersonalEffect = void 0; var _niq = _nio(74496); _nin.getSlot358PersonalEffect = function(_nir) { var _nis = null, _nit = new _niq.SlotItemEffectModel(), _niu = new _niq.SlotItemEffectModel(); if ('アメリカ' != _nir.getCountryName() && 67 != _nir.ctype && 78 != _nir.ctype && 82 != _nir.ctype && 88 != _nir.ctype && 108 != _nir.ctype && 112 != _nir.ctype) return _nit; _niu.houg += 1, _niu.kaih += 1, _niu.tyku += 1, 95 == _nir.ctype && (_niu.houg += 1, _niu.kaih += 2, _niu.tyku += 2); var _niv = _nir.get_slotnums(358); return _nit = _niu.multiply(_niv); }; }, 64679: (_niw, _nix, _niy) => { 'use strict'; var _niz = null; defineModule(_nix); Object.defineProperty(_nix, '__esModule', { 'value': !0 }), _nix.getSlot359PersonalEffect = void 0; var _nj0 = _niy(74496); _nix.getSlot359PersonalEffect = function(_nj1) { var _nj2 = null, _nj3 = new _nj0.SlotItemEffectModel(), _nj4 = new _nj0.SlotItemEffectModel(); if ('パース' == _nj1.yomi ? (_nj4.houg = 2, _nj4.tyku = 2, _nj4.kaih = 1) : 'ゆうばり' == _nj1.yomi && (_nj4.houg = 1, _nj4.tyku = 1, _nj4.kaih = 1), 622 != _nj1.ship_id && 623 != _nj1.ship_id && 624 != _nj1.ship_id || (_nj4.houg += 1, _nj4.tyku += 1), !_nj4.exists()) return _nj3; var _nj5 = _nj1.get_slotnums(359); return _nj3 = _nj4.multiply(_nj5); }; }, 69954: (_nj6, _nj7, _nj8) => { 'use strict'; var _nj9 = null; defineModule(_nj7); Object.defineProperty(_nj7, '__esModule', { 'value': !0 }), _nj7.getSlot35PersonalEffect = void 0; var _nja = _nj8(74496); _nj7.getSlot35PersonalEffect = function(_njb) { var _njc = null, _njd = new _nja.SlotItemEffectModel(), _nje = new _nja.SlotItemEffectModel(); return 149 == _njb.ship_id || 591 == _njb.ship_id || 592 == _njb.ship_id ? (_nje.houg += 1, _nje.tyku += 1) : 150 == _njb.ship_id ? _nje.tyku += 1 : 151 == _njb.ship_id || 593 == _njb.ship_id || 954 == _njb.ship_id ? (_nje.tyku += 1, _nje.kaih += 1) : 152 == _njb.ship_id && (_nje.houg += 1), _nje.exists() ? _njd = _nje.multiply(1) : _njd; }; }, 95953: (_njf, _njg, _njh) => { 'use strict'; var _nji = null; defineModule(_njg); Object.defineProperty(_njg, '__esModule', { 'value': !0 }), _njg.getSlot360_361PersonalEffect = void 0; var _njj = _njh(74496); _njg.getSlot360_361PersonalEffect = function(_njk) { var _njl = null, _njm = new _njj.SlotItemEffectModel(), _njn = new _njj.SlotItemEffectModel(); if ('デ・ロイテル' == _njk.yomi ? (_njn.houg = 2, _njn.tyku = 2, _njn.kaih = 1) : 'ゴトランド' == _njk.yomi && (_njn.houg = 2, _njn.tyku = 1, _njn.kaih = 1), 41 == _njk.ctype && (_njn.houg = 1, _njn.tyku = 1), !_njn.exists()) return _njm; var _njo = _njk.get_slotnums(360) + _njk.get_slotnums(361); return _njm = _njn.multiply(_njo); }; }, 86384: (_njp, _njq, _njr) => { 'use strict'; var _njs = null; defineModule(_njq); Object.defineProperty(_njq, '__esModule', { 'value': !0 }), _njq.getSlot362_363PersonalEffect = void 0; var _njt = _njr(74496); _njq.getSlot362_363PersonalEffect = function(_nju) { var _njv = null, _njw = new _njt.SlotItemEffectModel(), _njx = new _njt.SlotItemEffectModel(), _njy = !1; if (99 == _nju.ctype ? (_njx.houg = 1, _njx.tyku = 2, _njx.kaih = 1, _njy = !0) : 34 == _nju.ctype || 21 == _nju.ctype ? (_njx.houg = -3, _njx.tyku = -3, _njx.kaih = -8, _njy = !0) : 4 == _nju.ctype || 20 == _nju.ctype || 16 == _nju.ctype ? (_njx.houg = -3, _njx.tyku = -2, _njx.kaih = -6, _njy = !0) : 89 == _nju.ctype || 56 == _nju.ctype ? (_njx.houg = -2, _njx.tyku = -1, _njx.kaih = -4, _njy = !0) : 52 != _nju.ctype && 41 != _nju.ctype && 98 != _nju.ctype || (_njx.tyku = -1, _njx.kaih = -2, _njy = !0), 'アメリカ' == _nju.getCountryName() && (_njx.tyku += 1, _njx.kaih += 1, _njy = !0), 0 == _njy) return _njw; var _njz = _nju.get_slotnums(362) + _nju.get_slotnums(363); return _njw = _njx.multiply(_njz); }; }, 65345: (_nk0, _nk1, _nk2) => { 'use strict'; var _nk3 = null; defineModule(_nk1); Object.defineProperty(_nk1, '__esModule', { 'value': !0 }), _nk1.getSlot364PersonalEffect = void 0; var _nk4 = _nk2(74496); _nk1.getSlot364PersonalEffect = function(_nk5) { var _nk6 = null; new _nk4.SlotItemEffectModel(); var _nk7 = new _nk4.SlotItemEffectModel(); 623 == _nk5.ship_id || 586 == _nk5.ship_id || 119 == _nk5.ship_id || 118 == _nk5.ship_id || 657 == _nk5.ship_id || 506 == _nk5.ship_id || 668 == _nk5.ship_id || 507 == _nk5.ship_id ? (_nk7.raig = 1, _nk7.kaih = -2, 119 == _nk5.ship_id ? _nk7.raig += 1 : 507 == _nk5.ship_id ? _nk7.raig += 2 : 623 == _nk5.ship_id && (_nk7.houg += 1, _nk7.raig += 3)) : (_nk7.houg = -1, _nk7.kaih = -7); var _nk8 = _nk5.get_slotnums(364); return _nk7.multiply(_nk8); }; }, 46514: (_nk9, _nka, _nkb) => { 'use strict'; var _nkc = null; defineModule(_nka); Object.defineProperty(_nka, '__esModule', { 'value': !0 }), _nka.getSlot365PersonalEffect = void 0; var _nkd = _nkb(74496); _nka.getSlot365PersonalEffect = function(_nke) { var _nkf = null, _nkg = new _nkd.SlotItemEffectModel(), _nkh = new _nkd.SlotItemEffectModel(), _nki = !1; return 37 != _nke.ctype && 19 != _nke.ctype && 2 != _nke.ctype && 26 != _nke.ctype && 6 != _nke.ctype || (_nkh.houg += 1, _nki = !0), 136 != _nke.ship_id && 148 != _nke.ship_id && 546 != _nke.ship_id && 541 != _nke.ship_id && 573 != _nke.ship_id && 911 != _nke.ship_id && 916 != _nke.ship_id && 593 != _nke.ship_id || (_nkh.houg += 1, _nki = !0), 591 != _nke.ship_id && 592 != _nke.ship_id && 954 != _nke.ship_id || (_nkh.houg += 2, _nki = !0), 0 == _nki ? _nkg : _nkg = _nkh.multiply(1); }; }, 81976: (_nkj, _nkk, _nkl) => { 'use strict'; var _nkm = null; defineModule(_nkk); Object.defineProperty(_nkk, '__esModule', { 'value': !0 }), _nkk.getSlot367PersonalEffect = void 0; var _nkn = _nkl(74496); _nkk.getSlot367PersonalEffect = function(_nko) { var _nkp = null, _nkq = new _nkn.SlotItemEffectModel(), _nkr = new _nkn.SlotItemEffectModel(), _nks = !1; if ('ゴトランド' == _nko.yomi && (_nkr.houg += 2, _nkr.tais += 1, _nkr.kaih += 1, _nkr.saku += 1, _nks = !0), 70 == _nko.ctype ? (_nkr.houg += 1, _nkr.tais += 1, _nkr.kaih += 1, _nkr.saku += 1, _nks = !0) : 72 == _nko.ctype || 62 == _nko.ctype ? (_nkr.houg += 1, _nkr.kaih += 1, _nkr.saku += 1, _nks = !0) : 67 != _nko.ctype && 78 != _nko.ctype && 82 != _nko.ctype && 88 != _nko.ctype && 108 != _nko.ctype && 112 != _nko.ctype || (_nkr.houg += 2, _nkr.kaih += 2, _nkr.saku += 2, _nks = !0), 0 == _nks) return _nkq; var _nkt = _nko.get_slotnums(367); return _nkq = _nkr.multiply(_nkt); }; }, 89331: (_nku, _nkv, _nkw) => { 'use strict'; var _nkx = null; defineModule(_nkv); Object.defineProperty(_nkv, '__esModule', { 'value': !0 }), _nkv.getSlot368PersonalEffect = void 0; var _nky = _nkw(74496); _nkv.getSlot368PersonalEffect = function(_nkz) { var _nl0 = null, _nl1 = new _nky.SlotItemEffectModel(), _nl2 = new _nky.SlotItemEffectModel(), _nl3 = !1; if ('ゴトランド' == _nkz.yomi && (_nl2.houg = 4, _nl2.tais = 3, _nl2.kaih = 2, _nl2.saku = 3, _nl3 = !0, 630 == _nkz.ship_id && (_nl1.houg += 2, _nl1.raig += 2, _nl1.kaih += 1, _nl1.saku += 1)), 70 == _nkz.ctype ? (_nl2.houg = 2, _nl2.tais = 3, _nl2.kaih = 1, _nl2.saku = 2, _nl3 = !0) : 72 == _nkz.ctype || 62 == _nkz.ctype ? (_nl2.houg += 1, _nl2.tais += 2, _nl2.kaih += 1, _nl2.saku += 2, _nl3 = !0) : 67 != _nkz.ctype && 78 != _nkz.ctype && 82 != _nkz.ctype && 88 != _nkz.ctype && 108 != _nkz.ctype && 112 != _nkz.ctype || (_nl2.houg += 2, _nl2.tais += 2, _nl2.kaih += 2, _nl2.saku += 2, _nl3 = !0), 0 == _nl3) return _nl1; var _nl4 = _nkz.get_slotnums(368); return _nl1.add(_nl2.multiply(_nl4)), _nl1; }; }, 73973: (_nl5, _nl6, _nl7) => { 'use strict'; var _nl8 = null; defineModule(_nl6); Object.defineProperty(_nl6, '__esModule', { 'value': !0 }), _nl6.getSlot369PersonalEffect = void 0; var _nl9 = _nl7(74496); _nl6.getSlot369PersonalEffect = function(_nla) { var _nlb = null, _nlc = new _nl9.SlotItemEffectModel(), _nld = new _nl9.SlotItemEffectModel(), _nle = !1; if ('ゴトランド' == _nla.yomi && (_nld.houg = 5, _nld.tais = 4, _nld.kaih = 4, _nld.saku = 3, _nle = !0, 630 == _nla.ship_id && (_nlc.houg += 3, _nlc.raig += 3, _nlc.kaih += 2, _nlc.saku += 2)), 70 == _nla.ctype ? (_nld.houg += 3, _nld.tais += 3, _nld.kaih += 2, _nld.saku += 3, _nle = !0) : 72 == _nla.ctype || 62 == _nla.ctype ? (_nld.houg += 2, _nld.tais += 2, _nld.kaih += 1, _nld.saku += 2, _nle = !0) : 67 != _nla.ctype && 78 != _nla.ctype && 82 != _nla.ctype && 88 != _nla.ctype && 108 != _nla.ctype && 112 != _nla.ctype || (_nld.houg += 2, _nld.tais += 2, _nld.kaih += 2, _nld.saku += 2, _nle = !0), 0 == _nle) return _nlc; var _nlf = _nla.get_slotnums(369); return _nlc.add(_nld.multiply(_nlf)), _nlc; }; }, 21178: (_nlg, _nlh, _nli) => { 'use strict'; var _nlj = null; defineModule(_nlh); Object.defineProperty(_nlh, '__esModule', { 'value': !0 }), _nlh.getSlot370PersonalEffect = void 0; var _nlk = _nli(74496); _nlh.getSlot370PersonalEffect = function(_nll) { var _nlm = null, _nln = new _nlk.SlotItemEffectModel(), _nlo = new _nlk.SlotItemEffectModel(), _nlp = !1; if ('ゴトランド' == _nll.yomi && (_nlo.houg = 1, _nlo.tais = 3, _nlo.kaih = 1, _nlo.saku = 2, _nlp = !0), 70 == _nll.ctype ? (_nlo.houg += 1, _nlo.tais += 3, _nlo.kaih += 1, _nlo.saku += 1, _nlp = !0) : 72 == _nll.ctype || 62 == _nll.ctype ? (_nlo.houg += 1, _nlo.tais += 2, _nlo.kaih += 1, _nlo.saku += 1, _nlp = !0) : 67 != _nll.ctype && 78 != _nll.ctype && 82 != _nll.ctype && 88 != _nll.ctype && 108 != _nll.ctype && 112 != _nll.ctype || (_nlo.houg += 2, _nlo.tais += 3, _nlo.kaih += 2, _nlo.saku += 2, _nlp = !0, 'ウォースパイト' == _nll.yomi && (_nln.houg += 4, _nln.kaih += 1, _nln.saku += 1)), 0 == _nlp) return _nln; var _nlq = _nll.get_slotnums(370); return _nln.add(_nlo.multiply(_nlq)), _nln; }; }, 5079: (_nlr, _nls, _nlt) => { 'use strict'; var _nlu = null; defineModule(_nls); Object.defineProperty(_nls, '__esModule', { 'value': !0 }), _nls.getSlot371PersonalEffect = void 0; var _nlv = _nlt(74496); _nls.getSlot371PersonalEffect = function(_nlw) { var _nlx = null, _nly = new _nlv.SlotItemEffectModel(), _nlz = new _nlv.SlotItemEffectModel(), _nm0 = !1; if ('ゴトランド' == _nlw.yomi && (_nlz.houg = 4, _nlz.tais = 2, _nlz.kaih = 3, _nlz.saku = 6, _nm0 = !0, 630 == _nlw.ship_id && (_nly.houg += 2, _nly.kaih += 2, _nly.saku += 3)), 70 == _nlw.ctype ? (_nlz.houg += 2, _nlz.tais += 1, _nlz.kaih += 2, _nlz.saku += 4, _nm0 = !0) : 79 == _nlw.ctype ? (_nlz.houg += 2, _nlz.kaih += 1, _nlz.saku += 3, _nm0 = !0) : 67 != _nlw.ctype && 78 != _nlw.ctype && 82 != _nlw.ctype && 88 != _nlw.ctype && 108 != _nlw.ctype && 112 != _nlw.ctype || (_nlz.houg += 3, _nlz.tais += 1, _nlz.kaih += 2, _nlz.saku += 3, _nm0 = !0, 88 == _nlw.ctype && (_nly.houg += 3, _nly.kaih += 2, _nly.saku += 2)), 0 == _nm0) return _nly; var _nm1 = _nlw.get_slotnums(371); return _nly.add(_nlz.multiply(_nm1)), _nly; }; }, 95014: (_nm2, _nm3, _nm4) => { 'use strict'; var _nm5 = null; defineModule(_nm3); Object.defineProperty(_nm3, '__esModule', { 'value': !0 }), _nm3.getSlot372PersonalEffect = void 0; var _nm6 = _nm4(74496); _nm3.getSlot372PersonalEffect = function(_nm7) { var _nm8 = null, _nm9 = new _nm6.SlotItemEffectModel(), _nma = !1, _nmb = new _nm6.SlotItemEffectModel(); if ('しょうかく' == _nm7.yomi || 'ずいかく' == _nm7.yomi || 'たいほう' == _nm7.yomi ? (_nmb.houg += 1, _nma = !0, _nm9.raig += 1) : 'じゅんよう' != _nm7.yomi && 'ひよう' != _nm7.yomi || (_nmb.houg += 1, _nma = !0), 108 == _nm7.ship_id || 109 == _nm7.ship_id || 291 == _nm7.ship_id || 292 == _nm7.ship_id || 296 == _nm7.ship_id || 297 == _nm7.ship_id ? (_nmb.houg += 1, _nma = !0) : 116 == _nm7.ship_id || 74 == _nm7.ship_id || 117 == _nm7.ship_id || 282 == _nm7.ship_id || 185 == _nm7.ship_id ? (_nmb.tais += 1, _nma = !0) : 560 == _nm7.ship_id || 555 == _nm7.ship_id || 318 == _nm7.ship_id ? (_nmb.tais += 1, _nma = !0, _nm9.raig += 1) : 508 == _nm7.ship_id || 509 == _nm7.ship_id ? (_nmb.houg += 1, _nma = !0) : 883 != _nm7.ship_id && 888 != _nm7.ship_id || (_nmb.houg += 2, _nmb.tais += 1, _nma = !0, _nm9.raig += 2), 0 == _nma) return _nm9; var _nmc = _nm7.get_slotnums(372); return _nm9.add(_nmb.multiply(_nmc)), _nm9; }; }, 53099: (_nmd, _nme, _nmf) => { 'use strict'; var _nmg = null; defineModule(_nme); Object.defineProperty(_nme, '__esModule', { 'value': !0 }), _nme.getSlot373PersonalEffect = void 0; var _nmh = _nmf(74496); _nme.getSlot373PersonalEffect = function(_nmi) { var _nmj = null, _nmk = new _nmh.SlotItemEffectModel(), _nml = new _nmh.SlotItemEffectModel(), _nmm = !1; if ('しょうかく' == _nmi.yomi ? (_nml.houg += 2, _nmm = !0, _nmk.raig += 2, _nmk.kaih += 2) : 'ずいかく' == _nmi.yomi ? (_nml.houg += 1, _nmm = !0, _nmk.raig += 2, _nmk.kaih += 3) : 'たいほう' == _nmi.yomi ? (_nml.houg += 1, _nmm = !0, _nmk.raig += 2, _nmk.kaih += 2) : 'じゅんよう' != _nmi.yomi && 'ひよう' != _nmi.yomi || (_nml.houg += 1, _nmm = !0, _nmk.raig += 1, _nmk.kaih += 1), 108 == _nmi.ship_id || 109 == _nmi.ship_id ? (_nml.houg += 1, _nmm = !0) : 291 == _nmi.ship_id || 292 == _nmi.ship_id ? (_nml.houg += 1, _nmm = !0, _nmk.raig += 1) : 296 == _nmi.ship_id || 297 == _nmi.ship_id ? (_nml.houg += 1, _nmm = !0, _nmk.raig += 1, _nmk.kaih += 1) : 116 == _nmi.ship_id || 74 == _nmi.ship_id ? (_nml.tais += 1, _nmm = !0) : 117 == _nmi.ship_id || 282 == _nmi.ship_id || 185 == _nmi.ship_id ? (_nml.houg += 1, _nml.tais += 1, _nmm = !0, _nmk.raig += 1) : 560 == _nmi.ship_id || 555 == _nmi.ship_id || 318 == _nmi.ship_id ? (_nml.houg += 1, _nml.tais += 2, _nmm = !0, _nmk.raig += 1, _nmk.kaih += 1) : 508 == _nmi.ship_id || 509 == _nmi.ship_id ? (_nml.houg += 1, _nmm = !0, _nmk.raig += 2, _nmk.kaih += 2) : 888 == _nmi.ship_id ? (_nml.houg += 2, _nml.tais += 2, _nmm = !0, _nmk.raig += 2, _nmk.kaih += 2) : 883 == _nmi.ship_id && (_nml.houg += 1, _nml.tais += 2, _nmm = !0, _nmk.raig += 3, _nmk.kaih += 4), 0 == _nmm) return _nmk; var _nmn = _nmi.get_slotnums(373); return _nmk.add(_nml.multiply(_nmn)), _nmk; }; }, 76201: (_nmo, _nmp, _nmq) => { 'use strict'; var _nmr = null; defineModule(_nmp); Object.defineProperty(_nmp, '__esModule', { 'value': !0 }), _nmp.getSlot374PersonalEffect = void 0; var _nms = _nmq(74496); _nmp.getSlot374PersonalEffect = function(_nmt) { var _nmu = null, _nmv = new _nms.SlotItemEffectModel(), _nmw = new _nms.SlotItemEffectModel(), _nmx = !1; if ('しょうかく' == _nmt.yomi ? (_nmw.houg += 3, _nmx = !0, _nmv.raig += 3, _nmv.kaih += 3) : 'ずいかく' == _nmt.yomi ? (_nmw.houg += 2, _nmx = !0, _nmv.raig += 3, _nmv.kaih += 4) : 'たいほう' == _nmt.yomi ? (_nmw.houg += 2, _nmx = !0, _nmv.raig += 3, _nmv.kaih += 2) : 'じゅんよう' != _nmt.yomi && 'ひよう' != _nmt.yomi || (_nmw.houg += 1, _nmx = !0, _nmv.raig += 2, _nmv.kaih += 2), 108 == _nmt.ship_id || 109 == _nmt.ship_id ? (_nmw.houg += 1, _nmx = !0, _nmv.raig += 1) : 291 == _nmt.ship_id || 292 == _nmt.ship_id ? (_nmw.houg += 1, _nmw.tais += 1, _nmx = !0, _nmv.raig += 1) : 296 == _nmt.ship_id || 297 == _nmt.ship_id ? (_nmw.houg += 1, _nmw.tais += 1, _nmx = !0, _nmv.raig += 1, _nmv.kaih += 1) : 116 == _nmt.ship_id || 74 == _nmt.ship_id ? (_nmw.houg += 1, _nmw.tais += 1, _nmx = !0) : 117 == _nmt.ship_id || 282 == _nmt.ship_id || 185 == _nmt.ship_id ? (_nmw.houg += 1, _nmw.tais += 2, _nmx = !0, _nmv.raig += 1, _nmv.kaih += 1) : 560 == _nmt.ship_id || 555 == _nmt.ship_id || 318 == _nmt.ship_id ? (_nmw.houg += 1, _nmw.tais += 3, _nmx = !0, _nmv.raig += 1, _nmv.kaih += 2) : 508 == _nmt.ship_id || 509 == _nmt.ship_id ? (_nmw.houg += 1, _nmw.tais += 2, _nmx = !0, _nmv.raig += 2, _nmv.kaih += 3) : 888 == _nmt.ship_id ? (_nmw.houg += 3, _nmw.tais += 3, _nmx = !0, _nmv.raig += 2, _nmv.kaih += 3) : 883 == _nmt.ship_id && (_nmw.houg += 2, _nmw.tais += 3, _nmx = !0, _nmv.raig += 3, _nmv.kaih += 5), 0 == _nmx) return _nmv; var _nmy = _nmt.get_slotnums(374); return _nmv.add(_nmw.multiply(_nmy)), _nmv; }; }, 24931: (_nmz, _nn0, _nn1) => { 'use strict'; var _nn2 = null; defineModule(_nn0); Object.defineProperty(_nn0, '__esModule', { 'value': !0 }), _nn0.getSlot375PersonalEffect = void 0; var _nn3 = _nn1(74496); _nn0.getSlot375PersonalEffect = function(_nn4) { var _nn5 = null, _nn6 = new _nn3.SlotItemEffectModel(), _nn7 = new _nn3.SlotItemEffectModel(), _nn8 = !1; if (69 != _nn4.ctype && 83 != _nn4.ctype && 84 != _nn4.ctype && 105 != _nn4.ctype && 116 != _nn4.ctype && 118 != _nn4.ctype || (_nn7.tyku += 3, _nn7.houg += 3, _nn7.kaih += 3, _nn7.tais += 3, _nn8 = !0), 'かが' == _nn4.yomi && (_nn7.tyku += 1, _nn7.houg += 1, _nn7.kaih += 1, _nn7.tais += 1, _nn8 = !0), 0 == _nn8) return _nn6; var _nn9 = _nn4.get_slotnums(375); return _nn6.add(_nn7.multiply(_nn9)), _nn6; }; }, 60978: (_nna, _nnb, _nnc) => { 'use strict'; var _nnd = null; defineModule(_nnb); Object.defineProperty(_nnb, '__esModule', { 'value': !0 }), _nnb.getSlot376PersonalEffect = void 0; var _nne = _nnc(74496); _nnb.getSlot376PersonalEffect = function(_nnf) { var _nng = null, _nnh = new _nne.SlotItemEffectModel(), _nni = new _nne.SlotItemEffectModel(), _nnj = !1; if ('アメリカ' == _nnf.getCountryName() ? (_nni.houg += 2, _nni.raig += 4, _nnj = !0) : 67 == _nnf.ctype || 78 == _nnf.ctype || 82 == _nnf.ctype || 88 == _nnf.ctype || 108 == _nnf.ctype || 112 == _nnf.ctype ? (_nni.houg += 1, _nni.raig += 2, _nnj = !0) : 96 == _nnf.ctype && (_nni.houg += 1, _nni.raig += 1, _nnj = !0), 0 == _nnj) return _nnh; var _nnk = _nnf.get_slotnums(376); return _nnh.add(_nni.multiply(_nnk)), _nnh; }; }, 74312: (_nnl, _nnm, _nnn) => { 'use strict'; var _nno = null; defineModule(_nnm); Object.defineProperty(_nnm, '__esModule', { 'value': !0 }), _nnm.getSlot377PersonalEffect = void 0; var _nnp = _nnn(74496); _nnm.getSlot377PersonalEffect = function(_nnq) { var _nnr = null, _nns = new _nnp.SlotItemEffectModel(); return 'アメリカ' == _nnq.getCountryName() ? (_nns.tais += 2, _nns.kaih += 1, 629 == _nnq.ship_id && (_nns.tais += 1, _nns.kaih += 2)) : 67 != _nnq.ctype && 78 != _nnq.ctype && 82 != _nnq.ctype && 88 != _nnq.ctype && 108 != _nnq.ctype && 112 != _nnq.ctype && 96 != _nnq.ctype || (_nns.tais += 1, _nns.kaih += 1), 651 != _nnq.ship_id && 656 != _nnq.ship_id || (_nns.tais += 1, _nns.kaih += 2), _nns; }; }, 54350: (_nnt, _nnu, _nnv) => { 'use strict'; var _nnw = null; defineModule(_nnu); Object.defineProperty(_nnu, '__esModule', { 'value': !0 }), _nnu.getSlot378PersonalEffect = void 0; var _nnx = _nnv(74496); _nnu.getSlot378PersonalEffect = function(_nny) { var _nnz = null, _no0 = new _nnx.SlotItemEffectModel(); return 'アメリカ' == _nny.getCountryName() ? (_no0.tais += 3, _no0.kaih += 1, 629 == _nny.ship_id && (_no0.tais += 1, _no0.kaih += 1)) : 67 == _nny.ctype || 78 == _nny.ctype || 82 == _nny.ctype || 88 == _nny.ctype || 108 == _nny.ctype || 112 == _nny.ctype ? (_no0.tais += 2, _no0.kaih += 1) : 96 == _nny.ctype && (_no0.tais += 1, _no0.kaih += 1), 651 != _nny.ship_id && 656 != _nny.ship_id || (_no0.tais += 1, _no0.kaih += 1), _no0; }; }, 26262: function(_no1, _no2, _no3) { 'use strict'; var _no4 = null; var _no5 = this && this.__importDefault || function(_no6) { var _no7 = null; return _no6 && _no6.__esModule ? _no6 : { 'default': _no6 }; }; defineModule(_no2); Object.defineProperty(_no2, '__esModule', { 'value': !0 }), _no2.getSlot379PersonalEffect = void 0; var _no8 = _no3(74496), _no9 = _no5(_no3(18622)); _no2.getSlot379PersonalEffect = function(_noa) { var _nob = null, _noc = new _no8.SlotItemEffectModel(), _nod = !1, _noe = new _no8.SlotItemEffectModel(); if (1 == _noa.stype ? (_noe.tyku += 2, _noe.houg += 1, _nod = !0) : 21 != _noa.stype && 16 != _noa.stype || (_noe.tyku += 1, _noe.houg += 1, _nod = !0), 66 == _noa.ctype || 28 == _noa.ctype ? (_noe.houg += 1, _noe.tyku += 2, _nod = !0) : 101 == _noa.ctype && (_noe.tyku += 2, _noe.houg += 1, _noc.tyku += 2, _noc.houg += 2, _nod = !0), 'ゆら' == _noa.yomi || 'なか' == _noa.yomi || 'きぬ' == _noa.yomi || 'いすず' == _noa.yomi ? (_noe.houg += 2, _nod = !0) : 'おおい' != _noa.yomi && 'きたかみ' != _noa.yomi || (_noe.tyku += 2, _noe.houg += 2, _nod = !0), 'ゆら' != _noa.yomi && 'なか' != _noa.yomi && 'きぬ' != _noa.yomi && 'いすず' != _noa.yomi && 'ゆうばり' != _noa.yomi || (_noe.tais += 1, _nod = !0), 'てんりゅう' != _noa.yomi && 'たつた' != _noa.yomi && 'ゆうばり' != _noa.yomi || (_noe.houg += 1, _nod = !0), 488 == _noa.ship_id ? (_noe.tyku += 4, _nod = !0) : 220 == _noa.ship_id ? (_noe.tyku += 3, _nod = !0) : 23 == _noa.ship_id ? (_noe.tyku += 2, _nod = !0) : 160 == _noa.ship_id || 487 == _noa.ship_id || 141 == _noa.ship_id ? (_noe.tyku += 3, _nod = !0) : 224 == _noa.ship_id || 289 == _noa.ship_id || 219 == _noa.ship_id || 56 == _noa.ship_id || 113 == _noa.ship_id || 22 == _noa.ship_id ? (_noe.tyku += 2, _nod = !0) : 651 != _noa.ship_id && 656 != _noa.ship_id || (_noe.tyku += 3, _noe.houg += 3, 656 == _noa.ship_id && (_noe.kaih += 3, _noe.tais += 2), _nod = !0), 488 != _noa.ship_id && 160 != _noa.ship_id && 487 != _noa.ship_id && 141 != _noa.ship_id || (_noe.tais += 1, _nod = !0), 477 != _noa.ship_id && 478 != _noa.ship_id && 624 != _noa.ship_id || (_noe.tais += 2, _nod = !0), 477 != _noa.ship_id && 478 != _noa.ship_id && 624 != _noa.ship_id && 622 != _noa.ship_id || (_noe.tyku += 2, _nod = !0), 652 != _noa.ship_id && 657 != _noa.ship_id && 547 != _noa.ship_id && 146 != _noa.ship_id || (_noc.houg += 2), 652 != _noa.ship_id && 657 != _noa.ship_id && 547 != _noa.ship_id && 146 != _noa.ship_id || (_noc.tyku += 2), _nod) { var _nof = _noa.get_slotnums(379); _noc.add(_noe.multiply(_nof)); } var _nog = new _no8.SlotItemEffectModel(), _noh = !1; 16 == _noa.stype || 3 == _noa.stype || 4 == _noa.stype || 21 == _noa.stype ? (_nog.houg += 1, _nog.kaih += 2, _noh = !0) : 1 == _noa.stype && (_nog.houg += 1, _nog.kaih += 4, _noh = !0), 66 == _noa.ctype || 28 == _noa.ctype || 21 == _noa.ctype || 34 == _noa.ctype ? (_nog.houg += 2, _nog.kaih += 3, _noh = !0) : 101 == _noa.ctype && (_nog.houg += 4, _nog.kaih += 3, _noh = !0), 488 == _noa.ship_id || 651 == _noa.ship_id || 656 == _noa.ship_id ? (_nog.houg += 2, _nog.kaih += 2, _noh = !0) : 487 == _noa.ship_id || 160 == _noa.ship_id || 141 == _noa.ship_id || 118 == _noa.ship_id || 119 == _noa.ship_id ? (_nog.houg += 1, _nog.kaih += 1, _noh = !0) : 652 != _noa.ship_id && 657 != _noa.ship_id && 547 != _noa.ship_id && 146 != _noa.ship_id || (_nog.houg += 1, _nog.kaih += 1, _noh = !0); var _noi = new _no8.SlotItemEffectModel(), _noj = !1; if (656 == _noa.ship_id && (_noi.tyku += 3, _noi.kaih += 2, _noj = !0), _noh || _noj) { for (var _nok = 0, _nol = 0, _nom = 0, _non = _noa.have_slot_ids(); _nom < _non.length; _nom++) { var _noo = _non[_nom], _nop = _no9.default.model.slot.getMst(_noo), _noq = _nop.equipType; 12 != _noq && 13 != _noq || (_nop.sakuteki >= 5 && (_nok += _noa.get_slotnums(parseInt(_noo))), _nop.taiku >= 2 && (_nol += _noa.get_slotnums(parseInt(_noo)))); } _noh && _nok > 0 && _noc.add(_nog), _noj && _nol > 0 && _noc.add(_noi); } return _noc; }; }, 45530: function(_nor, _nos, _not) { 'use strict'; var _nou = null; var _nov = this && this.__importDefault || function(_now) { var _nox = null; return _now && _now.__esModule ? _now : { 'default': _now }; }; defineModule(_nos); Object.defineProperty(_nos, '__esModule', { 'value': !0 }), _nos.getSlot380PersonalEffect = void 0; var _noy = _not(74496), _noz = _nov(_not(18622)); _nos.getSlot380PersonalEffect = function(_np0) { var _np1 = null, _np2 = new _noy.SlotItemEffectModel(), _np3 = !1, _np4 = new _noy.SlotItemEffectModel(); if (21 != _np0.stype && 16 != _np0.stype || (_np4.tyku += 2, _np4.houg += 1, _np3 = !0), 101 == _np0.ctype && (_np4.tyku += 2, _np4.houg += 1, _np3 = !0, _np2.tyku += 2, _np2.houg += 2), 'ゆら' == _np0.yomi || 'なか' == _np0.yomi || 'きぬ' == _np0.yomi || 'いすず' == _np0.yomi ? (_np4.houg += 2, _np3 = !0) : 'おおい' != _np0.yomi && 'きたかみ' != _np0.yomi || (_np4.tyku += 2, _np4.houg += 3, _np3 = !0), 'ゆら' != _np0.yomi && 'なか' != _np0.yomi && 'きぬ' != _np0.yomi && 'いすず' != _np0.yomi && 'ゆうばり' != _np0.yomi || (_np4.tais += 1, _np3 = !0), 'てんりゅう' != _np0.yomi && 'たつた' != _np0.yomi && 'ゆうばり' != _np0.yomi || (_np4.houg += 1, _np3 = !0), 488 == _np0.ship_id ? (_np4.tyku += 4, _np3 = !0) : 220 == _np0.ship_id ? (_np4.tyku += 3, _np3 = !0) : 23 == _np0.ship_id ? (_np4.tyku += 2, _np3 = !0) : 160 == _np0.ship_id || 487 == _np0.ship_id || 141 == _np0.ship_id ? (_np4.tyku += 3, _np3 = !0) : 224 == _np0.ship_id || 289 == _np0.ship_id || 219 == _np0.ship_id || 56 == _np0.ship_id || 113 == _np0.ship_id || 22 == _np0.ship_id ? (_np4.tyku += 2, _np3 = !0) : 651 == _np0.ship_id || 656 == _np0.ship_id ? (_np4.tyku += 3, _np4.houg += 3, _np3 = !0) : 407 != _np0.ship_id && 665 != _np0.ship_id || (_np4.houg += 2, _np4.tyku += 2, _np3 = !0, _np2.houg += 1, _np2.tyku += 1, _np2.kaih += 2), 488 != _np0.ship_id && 160 != _np0.ship_id && 487 != _np0.ship_id && 141 != _np0.ship_id || (_np4.tais += 1, _np3 = !0), 477 != _np0.ship_id && 478 != _np0.ship_id && 624 != _np0.ship_id || (_np4.tais += 2, _np3 = !0), 477 != _np0.ship_id && 478 != _np0.ship_id && 624 != _np0.ship_id && 622 != _np0.ship_id || (_np4.tyku += 2, _np3 = !0), 652 != _np0.ship_id && 657 != _np0.ship_id || (_np4.houg += 3, _np3 = !0), 547 != _np0.ship_id && 146 != _np0.ship_id || (_np2.houg += 2), 652 != _np0.ship_id && 657 != _np0.ship_id && 547 != _np0.ship_id && 146 != _np0.ship_id || (_np2.tyku += 2), _np3) { var _np5 = _np0.get_slotnums(380); _np2.add(_np4.multiply(_np5)); } var _np6 = new _noy.SlotItemEffectModel(), _np7 = !1, _np8 = new _noy.SlotItemEffectModel(), _np9 = !1, _npa = !1; if (16 != _np0.stype && 3 != _np0.stype && 4 != _np0.stype && 21 != _np0.stype || (_np6.houg += 2, _np6.kaih += 1, _np7 = !0), 101 == _np0.ctype && (_np6.houg += 4, _np6.kaih += 3, _np7 = !0), 488 != _np0.ship_id && 487 != _np0.ship_id && 160 != _np0.ship_id && 141 != _np0.ship_id && 118 != _np0.ship_id && 119 != _np0.ship_id && 651 != _np0.ship_id && 656 != _np0.ship_id || (_np6.houg += 1, _np6.kaih += 2, _np7 = !0), 652 == _np0.ship_id || 657 == _np0.ship_id || 547 == _np0.ship_id || 146 == _np0.ship_id ? (_np6.houg += 1, _np6.kaih += 3, _np7 = !0) : 407 != _np0.ship_id && 665 != _np0.ship_id || (_npa = !0, _np7 = !0, _np6.houg += 2, _np6.kaih += 1, _np9 = !0, _np8.houg += 1, _np8.tyku += 2, _np8.kaih += 1), _np7 || _npa) { for (var _npb = 0, _npc = 0, _npd = 0, _npe = _np0.have_slot_ids(); _npd < _npe.length; _npd++) { var _npf = _npe[_npd], _npg = _noz.default.model.slot.getMst(_npf), _nph = _npg.equipType; 12 == _nph || 13 == _nph ? _npg.sakuteki >= 5 && (_npb += _np0.get_slotnums(parseInt(_npf))) : 21 == _nph && (_npc += _np0.get_slotnums(parseInt(_npf))); } _np7 && _npb > 0 && _np2.add(_np6), _np9 && _npc > 0 && _np2.add(_np8); } return _np2; }; }, 44053: (_npi, _npj, _npk) => { 'use strict'; var _npl = null; defineModule(_npj); Object.defineProperty(_npj, '__esModule', { 'value': !0 }), _npj.getSlot381PersonalEffect = void 0; var _npm = _npk(74496); _npj.getSlot381PersonalEffect = function(_npn) { var _npo = null, _npp = new _npm.SlotItemEffectModel(), _npq = !1, _npr = new _npm.SlotItemEffectModel(), _nps = 0; if ('アメリカ' == _npn.getCountryName() && (_npr.houg += 1, 102 == _npn.ctype && (_npr.houg += 1), _npq = !0, _nps = 1), 0 == _npq) return _npp; var _npt = _npn.get_slotnums(381); if (_npp.add(_npr.multiply(_npt)), 0 == _nps) return _npp; var _npu = _npn.get_each_level_nums(381), _npv = 0; return _npu.map(function(_npw, _npx) { _npx >= 6 && (_npv += _npw); }), 1 == _nps && (_npp.houg += 1 * _npv), _npp; }; }, 65441: function(_npy, _npz, _nq0) { 'use strict'; var _nq1 = null; var _nq2 = this && this.__importDefault || function(_nq3) { var _nq4 = null; return _nq3 && _nq3.__esModule ? _nq3 : { 'default': _nq3 }; }; defineModule(_npz); Object.defineProperty(_npz, '__esModule', { 'value': !0 }), _npz.getSlot382PersonalEffect = void 0; var _nq5 = _nq0(74496), _nq6 = _nq2(_nq0(18622)); _npz.getSlot382PersonalEffect = function(_nq7) { var _nq8 = null, _nq9 = new _nq5.SlotItemEffectModel(), _nqa = !1, _nqb = new _nq5.SlotItemEffectModel(), _nqc = !1, _nqd = new _nq5.SlotItemEffectModel(), _nqe = new _nq5.SlotItemEffectModel(), _nqf = 2; 1 == _nq7.stype && (_nqb.tyku += 2, _nqb.kaih += 2, _nqb.tais += 1, _nqa = !0, _nqd.houg += 2, _nqd.kaih += 3, _nqe.tyku += 2, _nqe.kaih += 3, _nqc = !0, _nqf = 1), 66 != _nq7.ctype && 28 != _nq7.ctype && 101 != _nq7.ctype || (_nqb.tyku += 2, _nqb.kaih += 1, _nqa = !0, _nqd.houg += 1, _nqd.kaih += 2, _nqe.tyku += 2, _nqe.kaih += 2, _nqc = !0, _nqf = 1), 'ゆら' != _nq7.yomi && 'なか' != _nq7.yomi && 'きぬ' != _nq7.yomi || (_nqb.tyku += 1, _nqa = !0), 488 == _nq7.ship_id || 220 == _nq7.ship_id ? (_nqb.kaih += 1, _nqa = !0, 488 == _nq7.ship_id && (_nqd.houg += 1, _nqd.kaih += 1, _nqe.tyku += 2, _nqe.kaih += 2, _nqc = !0, _nqf = 1)) : 160 == _nq7.ship_id || 224 == _nq7.ship_id ? (_nqb.kaih += 1, _nqa = !0, 160 == _nq7.ship_id && (_nqd.houg += 1, _nqd.kaih += 1, _nqe.tyku += 2, _nqe.kaih += 2, _nqc = !0)) : 487 == _nq7.ship_id || 289 == _nq7.ship_id ? (_nqb.kaih += 1, _nqa = !0, 487 == _nq7.ship_id && (_nqd.houg += 1, _nqd.kaih += 1, _nqe.tyku += 2, _nqe.kaih += 2, _nqc = !0)) : 656 == _nq7.ship_id ? (_nqb.tyku += 3, _nqb.kaih += 2, _nqa = !0, _nqd.houg += 2, _nqd.kaih += 2, _nqe.tyku += 3, _nqe.kaih += 2, _nqc = !0, _nqf = 1) : 145 != _nq7.ship_id && 961 != _nq7.ship_id || (_nqf = 1); for (var _nqg = 0, _nqh = 0, _nqi = 0, _nqj = _nq7.have_slot_ids(); _nqi < _nqj.length; _nqi++) { var _nqk = _nqj[_nqi], _nql = _nq6.default.model.slot.getMst(_nqk), _nqm = _nql.equipType; 12 != _nqm && 13 != _nqm || (_nql.sakuteki >= 5 && (_nqg += _nq7.get_slotnums(parseInt(_nqk))), _nql.taiku >= 2 && (_nqh += _nq7.get_slotnums(parseInt(_nqk)))); } for (var _nqn = [], _nqo = function(_nqp) { var _nqq = null; if (null == _nq7.have_slots_dict[_nqp]) return 'continue'; var _nqr = _nq7.get_each_level_nums(_nqp); null == _nqn[_nqp] && (_nqn[_nqp] = []), _nqr.forEach(function(_nqs, _nqt) { var _nqu = null; for (var _nqv = 1; _nqv <= _nq7.SLOT_LEVEL_MAX; _nqv++) null == _nqn[_nqp][_nqv] && (_nqn[_nqp][_nqv] = 0), _nqt >= _nqv && (_nqn[_nqp][_nqv] += _nqs); }); }, _nqw = 0, _nqx = [509]; _nqw < _nqx.length; _nqw++) { _nqo(_nqx[_nqw]); } var _nqy = 0, _nqz = 0, _nr0 = 0, _nr1 = 0, _nr2 = 0, _nr3 = 0; null != _nqn[509] && (_nqy = _nqn[509][1], _nqz = _nqn[509][2], _nr0 = _nqn[509][4], _nr1 = _nqn[509][6], _nr2 = _nqn[509][8], _nr3 = _nqn[509][10], 1 == _nqf ? (_nqy >= 1 && (_nq9.tyku += 1 * _nqy), _nqz >= 1 && (_nq9.kaih += 2 * _nqz), _nr0 >= 1 && (_nq9.houg += 1 * _nr0), _nr1 >= 1 && (_nq9.tyku += 1 * _nr1), _nr2 >= 1 && (_nq9.houm += 1 * _nr2), _nr3 >= 1 && (_nq9.tyku += 1 * _nr3)) : 2 == _nqf && (_nqz >= 1 && (_nq9.tyku += 1 * _nqz), _nr0 >= 1 && (_nq9.kaih += 2 * _nr0), _nr1 >= 1 && (_nq9.houg += 1 * _nr1), _nr2 >= 1 && (_nq9.tyku += 1 * _nr2), _nr3 >= 1 && (_nq9.houm += 1 * _nr3))); var _nr4 = _nq7.get_slotnums(509), _nr5 = _nr4 + _nq7.get_slotnums(382); return _nqa && _nq9.add(_nqb.multiply(_nr5)), 3 != _nq7.stype && 21 != _nq7.stype && 4 != _nq7.stype || _nqz >= 1 && (_nqg > 0 && (_nq9.houg += 1, _nq9.kaih += 1), _nqh > 0 && (_nq9.tyku += 2, _nq9.kaih += 1)), 145 == _nq7.ship_id ? _nqz >= 1 && (_nqg > 0 && (_nq9.houg += 1, _nq9.tyku += 1, _nq9.kaih += 2), _nqh > 0 && (_nq9.tyku += 4, _nq9.kaih += 2)) : 961 == _nq7.ship_id && _nr4 > 0 && (_nqg > 0 && (_nq9.houg += 2, _nq9.tyku += 2, _nq9.kaih += 3), _nqh > 0 && (_nq9.houg += 1, _nq9.tyku += 5, _nq9.kaih += 3)), _nqc && _nqg > 0 && _nq9.add(_nqd), _nqc && _nqh > 0 && _nq9.add(_nqe), _nq9; }; }, 33258: (_nr6, _nr7, _nr8) => { 'use strict'; var _nr9 = null; defineModule(_nr7); Object.defineProperty(_nr7, '__esModule', { 'value': !0 }), _nr7.getSlot383PersonalEffect = void 0; var _nra = _nr8(74496); _nr7.getSlot383PersonalEffect = function(_nrb) { var _nrc = null, _nrd = new _nra.SlotItemEffectModel(), _nre = !1, _nrf = new _nra.SlotItemEffectModel(), _nrg = _nrb.get_each_level_over_nums([383])[383]; if (44 == _nrb.ctype && (_nrf.raig += 2, _nre = !0, _nrg[4] > 0 && (_nrd.raig += 1), _nrg[6] > 0 && (_nrd.houm += 1)), 'い58' == _nrb.yomi && (_nrf.raig += 1, _nre = !0), 636 == _nrb.ship_id ? (_nrf.raig += 3, _nre = !0) : 607 == _nrb.ship_id && (_nrf.raig += 4, _nre = !0), _nrg[8] > 0 && (_nrd.raig += 1), _nrg[10] > 0 && (_nrd.houm += 1), 'い58' != _nrb.yomi && 'い47' != _nrb.yomi || _nrg[5] > 0 && (_nrd.houm += 1), 0 == _nre) return _nrd; var _nrh = _nrb.get_slotnums(383); return _nrd.add(_nrf.multiply(_nrh)), _nrd; }; }, 92168: (_nri, _nrj, _nrk) => { 'use strict'; var _nrl = null; defineModule(_nrj); Object.defineProperty(_nrj, '__esModule', { 'value': !0 }), _nrj.getSlot384PersonalEffect = void 0; var _nrm = _nrk(74496); _nrj.getSlot384PersonalEffect = function(_nrn) { var _nro = null, _nrp = new _nrm.SlotItemEffectModel(), _nrq = !1, _nrr = new _nrm.SlotItemEffectModel(); 44 == _nrn.ctype && (_nrr.kaih += 3, _nrq = !0), 'い58' == _nrn.yomi && (_nrr.kaih += 2, _nrq = !0), 636 == _nrn.ship_id ? (_nrr.kaih += 3, _nrq = !0) : 607 == _nrn.ship_id && (_nrr.kaih += 4, _nrq = !0); var _nrs = _nrn.get_slotnums(384); _nrq && _nrp.add(_nrr.multiply(_nrs)); var _nrt = _nrs, _nru = _nrn.get_slotnums(213), _nrv = _nrn.get_slotnums(214), _nrw = _nrn.get_slotnums(383); return _nrt > 0 && _nru + _nrv + _nrw > 0 && (_nrp.raig += 3, _nrp.kaih += 2), _nrp; }; }, 85975: (_nrx, _nry, _nrz) => { 'use strict'; var _ns0 = null; defineModule(_nry); Object.defineProperty(_nry, '__esModule', { 'value': !0 }), _nry.getSlot385PersonalEffect = void 0; var _ns1 = _nrz(74496); _nry.getSlot385PersonalEffect = function(_ns2) { var _ns3 = null, _ns4 = new _ns1.SlotItemEffectModel(), _ns5 = !1, _ns6 = new _ns1.SlotItemEffectModel(), _ns7 = 0; if ('アメリカ' == _ns2.getCountryName() && (_ns6.houg += 1, 102 == _ns2.ctype || 107 == _ns2.ctype ? (_ns6.houg += 1, _ns6.souk += 1) : 93 == _ns2.ctype && (_ns6.houg += 1), _ns5 = !0, _ns7 = 1), 8 == _ns2.stype && (_ns6.houg += 1, _ns5 = !0), 0 == _ns5) return _ns4; var _ns8 = _ns2.get_slotnums(385); if (_ns4.add(_ns6.multiply(_ns8)), 0 == _ns7) return _ns4; var _ns9 = _ns2.get_each_level_nums(385), _nsa = 0; return _ns9.forEach(function(_nsb, _nsc) { _nsc >= 6 && (_nsa += _nsb); }), 1 == _ns7 && (_ns4.houg += 1 * _nsa, _ns4.souk += 1 * _ns9[10]), _ns4; }; }, 98467: (_nsd, _nse, _nsf) => { 'use strict'; var _nsg = null; defineModule(_nse); Object.defineProperty(_nse, '__esModule', { 'value': !0 }), _nse.getSlot386PersonalEffect = void 0; var _nsh = _nsf(74496); _nse.getSlot386PersonalEffect = function(_nsi) { var _nsj = null, _nsk = new _nsh.SlotItemEffectModel(), _nsl = !1, _nsm = new _nsh.SlotItemEffectModel(), _nsn = 0; if ('アメリカ' == _nsi.getCountryName() && (_nsm.houg += 1, _nsl = !0, _nsn = 1), 0 == _nsl) return _nsk; var _nso = _nsi.get_slotnums(386); if (_nsk.add(_nsm.multiply(_nso)), 0 == _nsn) return _nsk; var _nsp = _nsi.get_each_level_nums(386), _nsq = 0, _nsr = 0; return _nsp.forEach(function(_nss, _nst) { _nst >= 2 && (_nsq += _nss), _nst >= 7 && (_nsr += _nss); }), 1 == _nsn && (_nsk.houg += 1 * _nsq, _nsk.houg += 1 * _nsr), _nsk; }; }, 88348: (_nsu, _nsv, _nsw) => { 'use strict'; var _nsx = null; defineModule(_nsv); Object.defineProperty(_nsv, '__esModule', { 'value': !0 }), _nsv.getSlot387PersonalEffect = void 0; var _nsy = _nsw(74496); _nsv.getSlot387PersonalEffect = function(_nsz) { var _nt0 = null, _nt1 = new _nsy.SlotItemEffectModel(), _nt2 = !1, _nt3 = new _nsy.SlotItemEffectModel(), _nt4 = 0; if ('アメリカ' == _nsz.getCountryName() && (_nt3.houg += 1, _nt2 = !0, _nt4 = 1), 0 == _nt2) return _nt1; var _nt5 = _nsz.get_slotnums(387); if (_nt1.add(_nt3.multiply(_nt5)), 0 == _nt4) return _nt1; var _nt6 = _nsz.get_each_level_nums(387), _nt7 = 0, _nt8 = 0; return _nt6.forEach(function(_nt9, _nta) { _nta >= 2 && (_nt7 += _nt9), _nta >= 7 && (_nt8 += _nt9); }), 1 == _nt4 && (_nt1.houg += 1 * _nt7, _nt1.houg += 1 * _nt8), _nt1; }; }, 21097: (_ntb, _ntc, _ntd) => { 'use strict'; var _nte = null; defineModule(_ntc); Object.defineProperty(_ntc, '__esModule', { 'value': !0 }), _ntc.getSlot389PersonalEffect = void 0; var _ntf = _ntd(74496); _ntc.getSlot389PersonalEffect = function(_ntg) { var _nth = null, _nti = new _ntf.SlotItemEffectModel(), _ntj = !1, _ntk = new _ntf.SlotItemEffectModel(); if (594 == _ntg.ship_id || 599 == _ntg.ship_id) _ntk.houg += 2, _ntk.kaih += 2, _ntj = !0; else { if (698 == _ntg.ship_id || 610 == _ntg.ship_id) _ntk.houg += 3, _ntk.kaih += 2, _ntj = !0; else 646 == _ntg.ship_id && (_ntk.houg += 4, _ntk.tais += 4, _ntk.kaih += 3, _ntj = !0, _ntg.get_type3_nums(25) > 0 && (_nti.houg += 3, _nti.tais += 6), _ntg.get_slotnums(326) + _ntg.get_slotnums(327) > 0 && (_nti.houg += 5, _nti.tais += 4)); } if ('アメリカ' == _ntg.getCountryName() && (_ntk.houg += 2, _ntk.tais += 3, _ntk.kaih += 1, _ntj = !0), 0 == _ntj) return _nti; var _ntl = _ntg.get_slotnums(389); return _nti.add(_ntk.multiply(_ntl)), _nti; }; }, 43607: (_ntm, _ntn, _nto) => { 'use strict'; var _ntp = null; defineModule(_ntn); Object.defineProperty(_ntn, '__esModule', { 'value': !0 }), _ntn.getSlot38cmFourBarrelGunPersonalEffect = void 0; var _ntq = _nto(74496); _ntn.getSlot38cmFourBarrelGunPersonalEffect = function(_ntr) { var _nts = null, _ntt = new _ntq.SlotItemEffectModel(), _ntu = _ntr.get_slotnums(245), _ntv = _ntr.get_slotnums(246), _ntw = _ntr.get_slotnums(468), _ntx = _ntu + _ntv + _ntw, _nty = 0, _ntz = 0, _nu0 = new Array(); if (79 != _ntr.ctype) return _ntt; _ntt.houg += 2 * _ntx, _ntt.houm += 1 * _ntx, _ntw >= 1 && (_ntt.houg += 1 * _ntw, _ntz = 1, _nu0.push(468)), _nty = 1; var _nu1 = _ntr.get_slotnums(247); if (1 == _nty && _nu1 >= 1 && (_ntt.kaih += 2 * _nu1, _ntt.houg += 2 * _nu1, _ntt.houm += 2 * _nu1), 0 == _ntz) return _ntt; for (var _nu2 = {}, _nu3 = {}, _nu4 = {}, _nu5 = 0, _nu6 = _nu0; _nu5 < _nu6.length; _nu5++) { var _nu7 = _nu6[_nu5]; _nu3[_nu7] = 0, _nu4[_nu7] = 0, _nu2[_nu7] = 0; for (var _nu8 = 0, _nu9 = _ntr.have_slots_dict[_nu7]; _nu8 < _nu9.length; _nu8++) { var _nua = _nu9[_nu8].level; _nua >= 4 && _nu3[_nu7]++, _nua >= 8 && _nu4[_nu7]++, _nua >= 10 && _nu2[_nu7]++; } } if (1 == _ntz && _ntw > 0) { var _nub = _nu3[468], _nuc = _nu4[468], _nud = _nu2[468]; _nub >= 1 && (_ntt.houg += 1 * _nub, _ntt.houm += 1 * _nub), _nuc >= 1 && (_ntt.houg += 1 * _nuc, _ntt.houm += 1 * _nuc), _nud >= 1 && (_ntt.houm += 1 * _nud); } return _ntt; }; }, 37273: (_nue, _nuf, _nug) => { 'use strict'; var _nuh = null; defineModule(_nuf); Object.defineProperty(_nuf, '__esModule', { 'value': !0 }), _nuf.getSlot390PersonalEffect = void 0; var _nui = _nug(74496); _nuf.getSlot390PersonalEffect = function(_nuj) { var _nuk = null, _nul = new _nui.SlotItemEffectModel(), _num = !1, _nun = new _nui.SlotItemEffectModel(), _nuo = 0; if ('アメリカ' == _nuj.getCountryName() && (_nun.houg += 1, _num = !0, _nuo = 1), 102 == _nuj.ctype || 107 == _nuj.ctype ? (_nun.houg += 1, _nun.souk += 1, _num = !0) : 93 == _nuj.ctype && (_nun.houg += 1, _num = !0), 8 == _nuj.stype && (_nun.houg += 1, _num = !0), 0 == _num) return _nul; var _nup = _nuj.get_slotnums(390); if (_nul.add(_nun.multiply(_nup)), 0 == _nuo) return _nul; var _nuq = _nuj.get_each_level_nums(390), _nur = 0, _nus = 0; return _nuq.forEach(function(_nut, _nuu) { _nuu >= 3 && (_nur += _nut), _nuu >= 6 && (_nus += _nut); }), 1 == _nuo && (_nul.houg += 1 * _nur, _nul.kaih += 1 * _nus, _nul.souk += 1 * _nuq[10]), _nul; }; }, 72694: (_nuv, _nuw, _nux) => { 'use strict'; var _nuy = null; defineModule(_nuw); Object.defineProperty(_nuw, '__esModule', { 'value': !0 }), _nuw.getSlot391PersonalEffect = void 0; var _nuz = _nux(74496); _nuw.getSlot391PersonalEffect = function(_nv0) { var _nv1 = null, _nv2 = new _nuz.SlotItemEffectModel(), _nv3 = !1, _nv4 = new _nuz.SlotItemEffectModel(); if ('しょうかく' == _nv0.yomi || 'ずいかく' == _nv0.yomi ? (_nv4.houg += 1, _nv3 = !0) : 'じゅんよう' != _nv0.yomi && 'ひよう' != _nv0.yomi || (_nv4.houg += 1, _nv3 = !0), 116 == _nv0.ship_id || 185 == _nv0.ship_id || 282 == _nv0.ship_id ? (_nv4.houg += 1, _nv3 = !0) : 117 == _nv0.ship_id || 318 == _nv0.ship_id || 883 == _nv0.ship_id || 888 == _nv0.ship_id ? (_nv4.houg += 1, _nv2.kaih += 1, _nv3 = !0) : 560 != _nv0.ship_id && 555 != _nv0.ship_id || (_nv4.houg += 1, _nv4.kaih += 1, _nv3 = !0), 0 == _nv3) return _nv2; var _nv5 = _nv0.get_slotnums(391); return _nv2.add(_nv4.multiply(_nv5)), _nv2; }; }, 62067: (_nv6, _nv7, _nv8) => { 'use strict'; var _nv9 = null; defineModule(_nv7); Object.defineProperty(_nv7, '__esModule', { 'value': !0 }), _nv7.getSlot392PersonalEffect = void 0; var _nva = _nv8(74496); _nv7.getSlot392PersonalEffect = function(_nvb) { var _nvc = null, _nvd = new _nva.SlotItemEffectModel(), _nve = !1, _nvf = new _nva.SlotItemEffectModel(); if ('しょうかく' == _nvb.yomi || 'ずいかく' == _nvb.yomi ? (_nvf.houg += 2, _nvf.kaih += 1, _nve = !0) : 'じゅんよう' != _nvb.yomi && 'ひよう' != _nvb.yomi || (_nvf.houg += 1, _nvf.kaih += 1, _nve = !0), 116 == _nvb.ship_id || 185 == _nvb.ship_id || 282 == _nvb.ship_id ? (_nvf.houg += 2, _nvf.kaih += 1, _nve = !0) : 117 == _nvb.ship_id || 318 == _nvb.ship_id || 883 == _nvb.ship_id || 888 == _nvb.ship_id ? (_nvf.houg += 2, _nvf.kaih += 2, _nve = !0) : 560 != _nvb.ship_id && 555 != _nvb.ship_id || (_nvf.houg += 3, _nvf.kaih += 2, _nve = !0), 0 == _nve) return _nvd; var _nvg = _nvb.get_slotnums(392); return _nvd.add(_nvf.multiply(_nvg)), _nvd; }; }, 87817: function(_nvh, _nvi, _nvj) { 'use strict'; var _nvk = null; var _nvl = this && this.__importDefault || function(_nvm) { var _nvn = null; return _nvm && _nvm.__esModule ? _nvm : { 'default': _nvm }; }; defineModule(_nvi); Object.defineProperty(_nvi, '__esModule', { 'value': !0 }), _nvi.getSlot397PersonalEffect = void 0; var _nvo = _nvj(74496), _nvp = _nvl(_nvj(18622)); _nvi.getSlot397PersonalEffect = function(_nvq) { var _nvr = null, _nvs = new _nvo.SlotItemEffectModel(), _nvt = !1, _nvu = new _nvo.SlotItemEffectModel(), _nvv = 0, _nvw = 0, _nvx = !1; if (651 == _nvq.ship_id ? (_nvu.houg += 5, _nvu.tyku += 2, _nvu.kaih += 1, _nvt = !0, _nvx = !0, _nvv = 1, _nvw = 1) : 656 == _nvq.ship_id && (_nvu.houg += 3, _nvu.tyku += 1, _nvu.kaih += 1, _nvt = !0, _nvx = !0, _nvv = 1), 0 == _nvt) return _nvs; var _nvy = _nvq.get_slotnums(397); _nvs.add(_nvu.multiply(_nvy)); var _nvz = 0, _nw0 = _nvq.get_each_level_nums(397), _nw1 = 0; if (_nvx) { _nw0.forEach(function(_nw2, _nw3) { _nw3 >= 4 && (_nw1 += _nw2); }); for (var _nw4 = 0, _nw5 = _nvq.have_slot_ids(); _nw4 < _nw5.length; _nw4++) { var _nw6 = _nw5[_nw4], _nw7 = _nvp.default.model.slot.getMst(_nw6), _nw8 = _nw7.equipType; 12 != _nw8 && 13 != _nw8 || (_nw7.sakuteki >= 5 && (_nvz += _nvq.get_slotnums(parseInt(_nw6))), _nw7.taiku >= 2 && _nvq.get_slotnums(parseInt(_nw6))); } } return 1 == _nvv && _nvz > 0 && (_nvs.houg += 3, _nvs.kaih += 3), 1 == _nvw && (_nvs.houg += 4 * _nw1, _nvs.kaih += 1 * _nw1), _nvs; }; }, 93526: function(_nw9, _nwa, _nwb) { 'use strict'; var _nwc = null; var _nwd = this && this.__importDefault || function(_nwe) { var _nwf = null; return _nwe && _nwe.__esModule ? _nwe : { 'default': _nwe }; }; defineModule(_nwa); Object.defineProperty(_nwa, '__esModule', { 'value': !0 }), _nwa.getSlot398PersonalEffect = void 0; var _nwg = _nwb(74496), _nwh = _nwd(_nwb(18622)); _nwa.getSlot398PersonalEffect = function(_nwi) { var _nwj = null, _nwk = new _nwg.SlotItemEffectModel(), _nwl = !1, _nwm = new _nwg.SlotItemEffectModel(), _nwn = 0, _nwo = 0, _nwp = !1; if (651 == _nwi.ship_id ? (_nwm.houg += 4, _nwm.tyku += 4, _nwm.kaih += 2, _nwl = !0, _nwp = !0, _nwn = 1, _nwo = 1) : 656 == _nwi.ship_id && (_nwm.houg += 3, _nwm.tyku += 2, _nwm.kaih += 2, _nwl = !0, _nwp = !0, _nwn = 1, _nwo = 2), 0 == _nwl) return _nwk; var _nwq = _nwi.get_slotnums(398); _nwk.add(_nwm.multiply(_nwq)); var _nwr = 0, _nws = 0, _nwt = _nwi.get_each_level_nums(398), _nwu = 0; if (_nwp) { _nwt.forEach(function(_nwv, _nww) { _nww >= 4 && (_nwu += _nwv); }); for (var _nwx = 0, _nwy = _nwi.have_slot_ids(); _nwx < _nwy.length; _nwx++) { var _nwz = _nwy[_nwx], _nx0 = _nwh.default.model.slot.getMst(_nwz), _nx1 = _nx0.equipType; 12 != _nx1 && 13 != _nx1 || (_nx0.sakuteki >= 5 && (_nwr += _nwi.get_slotnums(parseInt(_nwz))), _nx0.taiku >= 2 && (_nws += _nwi.get_slotnums(parseInt(_nwz)))); } } return 1 == _nwn && (_nwr > 0 && (_nwk.houg += 3, _nwk.kaih += 3), _nws > 0 && (_nwk.tyku += 3, _nwk.kaih += 3)), 1 == _nwo ? (_nwk.houg += 3 * _nwu, _nwk.kaih += 2 * _nwu) : 2 == _nwo && (_nwk.houg += 2 * _nwu, _nwk.kaih += 1 * _nwu), _nwk; }; }, 33084: (_nx2, _nx3, _nx4) => { 'use strict'; var _nx5 = null; defineModule(_nx3); Object.defineProperty(_nx3, '__esModule', { 'value': !0 }), _nx3.getSlot399PersonalEffect = void 0; var _nx6 = _nx4(74496); _nx3.getSlot399PersonalEffect = function(_nx7) { var _nx8 = null, _nx9 = new _nx6.SlotItemEffectModel(), _nxa = !1, _nxb = new _nx6.SlotItemEffectModel(), _nxc = 0; if (108 == _nx7.ctype && (_nxb.houg += 1, _nxb.kaih += 2, _nxc = 1, _nxa = !0), 0 == _nxa) return _nx9; var _nxd = _nx7.get_slotnums(399); if (_nx9.add(_nxb.multiply(_nxd)), 0 == _nxc) return _nx9; var _nxe = _nx7.get_each_level_nums(399), _nxf = 0, _nxg = 0; return _nxe.map(function(_nxh, _nxi) { _nxi >= 3 && (_nxf += _nxh), _nxi >= 5 && (_nxg += _nxh); }), 1 == _nxc && (_nx9.houg += 1 * _nxf, _nx9.houg += 1 * _nxg), _nx9; }; }, 80225: (_nxj, _nxk, _nxl) => { 'use strict'; var _nxm = null; defineModule(_nxk); Object.defineProperty(_nxk, '__esModule', { 'value': !0 }), _nxk.getSlot3_122PersonalEffect = void 0; var _nxn = _nxl(74496); _nxk.getSlot3_122PersonalEffect = function(_nxo) { var _nxp = null, _nxq = new _nxn.SlotItemEffectModel(), _nxr = !1, _nxs = new _nxn.SlotItemEffectModel(); if (54 == _nxo.ctype && (_nxs.houg += 1, _nxs.tyku += 2, _nxs.kaih += 1, _nxr = !0), 0 == _nxr) return _nxq; var _nxt = _nxo.get_slotnums(3) + _nxo.get_slotnums(122); return _nxq.add(_nxs.multiply(_nxt)), _nxq; }; }, 97831: (_nxu, _nxv, _nxw) => { 'use strict'; var _nxx = null; defineModule(_nxv); Object.defineProperty(_nxv, '__esModule', { 'value': !0 }), _nxv.getSlot400PersonalEffect = void 0; var _nxy = _nxw(74496); _nxv.getSlot400PersonalEffect = function(_nxz) { var _ny0 = null, _ny1 = new _nxy.SlotItemEffectModel(), _ny2 = !1, _ny3 = new _nxy.SlotItemEffectModel(), _ny4 = 0, _ny5 = !1; if (147 != _nxz.ship_id && 73 != _nxz.ctype && 81 != _nxz.ctype || (_ny5 = !0), _ny5 && (_ny3.kaih += 2, _ny3.raig += 5, _ny3.houg += 1, _ny3.souk += 1, _ny2 = !0, _ny4 = 1), 0 == _ny2) return _ny1; var _ny6 = _nxz.get_slotnums(400); return _ny1.add(_ny3.multiply(_ny6)), _nxz.get_slotnums(282) > 0 && 1 == _ny4 && (_ny1.houg += 2), _ny1; }; }, 4050: function(_ny7, _ny8, _ny9) { 'use strict'; var _nya = null; var _nyb = this && this.__importDefault || function(_nyc) { var _nyd = null; return _nyc && _nyc.__esModule ? _nyc : { 'default': _nyc }; }; defineModule(_ny8); Object.defineProperty(_ny8, '__esModule', { 'value': !0 }), _ny8.getSlot407PersonalEffect = void 0; var _nye = _ny9(74496), _nyf = _nyb(_ny9(18622)); _ny8.getSlot407PersonalEffect = function(_nyg) { var _nyh = null, _nyi = new _nye.SlotItemEffectModel(), _nyj = !1, _nyk = new _nye.SlotItemEffectModel(), _nyl = 0; if (662 != _nyg.ship_id && 663 != _nyg.ship_id && 668 != _nyg.ship_id || (_nyk.houg += 4, _nyk.tyku += 2, _nyk.kaih += 1, _nyj = !0, _nyl = 1), 0 == _nyj) return _nyi; var _nym = _nyg.get_slotnums(407); _nyi.add(_nyk.multiply(_nym)); for (var _nyn = 0, _nyo = 0, _nyp = 0, _nyq = _nyg.have_slot_ids(); _nyp < _nyq.length; _nyp++) { var _nyr = _nyq[_nyp], _nys = _nyf.default.model.slot.getMst(_nyr), _nyt = _nys.equipType; 12 != _nyt && 13 != _nyt || (_nys.sakuteki >= 5 && (_nyn += _nyg.get_slotnums(parseInt(_nyr))), _nys.taiku >= 2 && (_nyo += _nyg.get_slotnums(parseInt(_nyr)))); } return _nyn >= 1 && 1 == _nyl && (_nyi.houg += 2, _nyi.kaih += 2, _nyi.raig += 2), _nyo >= 1 && 1 == _nyl && (_nyi.tyku += 2, _nyi.kaih += 3), _nyi; }; }, 78466: (_nyu, _nyv, _nyw) => { 'use strict'; var _nyx = null; defineModule(_nyv); Object.defineProperty(_nyv, '__esModule', { 'value': !0 }), _nyv.getSlot408PersonalEffect = void 0; var _nyy = _nyw(74496); _nyv.getSlot408PersonalEffect = function(_nyz) { var _nz0 = null, _nz1 = new _nyy.SlotItemEffectModel(), _nz2 = !1, _nz3 = new _nyy.SlotItemEffectModel(); if ('しんしゅうまる' == _nyz.yomi ? (_nz3.houg += 2, _nz3.saku += 2, _nz3.kaih += 2, _nz2 = !0) : 'あきつまる' == _nyz.yomi && (_nz3.houg += 1, _nz3.saku += 1, _nz3.kaih += 1, _nz3.tais += 1, _nz2 = !0), 2 == _nyz.stype && (_nz3.houg += 1, _nz3.saku += 1, _nz3.kaih -= 5, _nz2 = !0), 0 == _nz2) return _nz1; var _nz4 = _nyz.get_slotnums(408); return _nz1.add(_nz3.multiply(_nz4)), _nz1; }; }, 40061: (_nz5, _nz6, _nz7) => { 'use strict'; var _nz8 = null; defineModule(_nz6); Object.defineProperty(_nz6, '__esModule', { 'value': !0 }), _nz6.getSlot409PersonalEffect = void 0; var _nz9 = _nz7(74496); _nz6.getSlot409PersonalEffect = function(_nza) { var _nzb = null, _nzc = new _nz9.SlotItemEffectModel(), _nzd = !1, _nze = new _nz9.SlotItemEffectModel(); if ('しんしゅうまる' == _nza.yomi ? (_nze.houg += 1, _nze.tyku += 2, _nze.kaih += 3, _nzd = !0) : 'あきつまる' == _nza.yomi && (_nze.houg += 1, _nze.tyku += 1, _nze.kaih += 2, _nze.tais += 1, _nzd = !0), 0 == _nzd) return _nzc; var _nzf = _nza.get_slotnums(409); return _nzc.add(_nze.multiply(_nzf)), _nzc; }; }, 79988: (_nzg, _nzh, _nzi) => { 'use strict'; var _nzj = null; defineModule(_nzh); Object.defineProperty(_nzh, '__esModule', { 'value': !0 }), _nzh.getSlot411PersonalEffect = void 0; var _nzk = _nzi(74496); _nzh.getSlot411PersonalEffect = function(_nzl) { var _nzm = null, _nzn = new _nzk.SlotItemEffectModel(), _nzo = new _nzk.SlotItemEffectModel(), _nzp = !1, _nzq = 0; if (2 == _nzl.stype && (_nzo.kaih -= 9, _nzp = !0), 3 != _nzl.stype && 4 != _nzl.stype || (_nzo.kaih -= 7, _nzp = !0), 21 == _nzl.stype && (_nzo.kaih -= 6, _nzp = !0), 5 != _nzl.stype && 6 != _nzl.stype || (_nzo.kaih -= 5, _nzp = !0), 593 == _nzl.ship_id && (_nzn.houg += 1, _nzn.tyku += 2, _nzn.kaih += 3), 151 == _nzl.ship_id || 411 == _nzl.ship_id || 412 == _nzl.ship_id || 593 == _nzl.ship_id || 954 == _nzl.ship_id ? (_nzn.houg += 3, _nzn.tyku += 4, _nzq = 1) : 541 != _nzl.ship_id && 573 != _nzl.ship_id && 553 != _nzl.ship_id && 554 != _nzl.ship_id || (_nzn.houg += 2, _nzn.tyku += 2, _nzq = 1), _nzp) { var _nzr = _nzl.get_slotnums(411); _nzn.add(_nzo.multiply(_nzr)); } if (0 == _nzq) return _nzn; var _nzs = _nzl.get_each_level_nums(411), _nzt = 0; return _nzq > 0 && _nzs.forEach(function(_nzu, _nzv) { _nzv >= 4 && (_nzt += _nzu); }), 1 == _nzq && (_nzt >= 1 && (_nzn.houg += 1, _nzn.tyku += 1), _nzs[10] >= 1 && (_nzn.houg += 1, _nzn.tyku += 1)), _nzn; }; }, 74428: (_nzw, _nzx, _nzy) => { 'use strict'; var _nzz = null; defineModule(_nzx); Object.defineProperty(_nzx, '__esModule', { 'value': !0 }), _nzx.getSlot412PersonalEffect = void 0; var _o00 = _nzy(74496); _nzx.getSlot412PersonalEffect = function(_o01) { var _o02 = null, _o03 = new _o00.SlotItemEffectModel(), _o04 = !1, _o05 = 0, _o06 = new _o00.SlotItemEffectModel(); if ([66, 28, 12, 1, 5, 10, 23, 18, 30, 38, 22, 54, 101].indexOf(_o01.ctype) >= 0 ? (_o03.houg += 2, _o03.raig += 4, _o03.tais += 2, _o06.kaih += 3, _o06.saku += 1, _o04 = !0, _o05 = 1) : [21, 4, 20, 16, 34, 56, 41, 52].indexOf(_o01.ctype) >= 0 ? (_o03.houg += 3, _o03.raig += 3, _o06.kaih += 2, _o06.saku += 3, _o04 = !0, _o05 = 1) : [7, 13, 29, 8, 9, 31].indexOf(_o01.ctype) >= 0 && (_o03.houg += 1, _o06.kaih += 1, _o06.saku += 1, _o04 = !0), 0 == _o04) return _o03; var _o07 = _o01.get_slotnums(412); if (_o03.add(_o06.multiply(_o07)), 0 == _o05) return _o03; var _o08 = _o01.get_each_level_nums(412), _o09 = 0, _o0a = 0; return _o05 > 0 && _o08.forEach(function(_o0b, _o0c) { _o0c >= 4 && (_o09 += _o0b), _o0c >= 8 && (_o0a += _o0b); }), 1 == _o05 && (_o09 > 0 && (_o03.houg += 1), _o0a > 0 && (_o03.raig += 1)), _o03; }; }, 2631: (_o0d, _o0e, _o0f) => { 'use strict'; var _o0g = null; defineModule(_o0e); Object.defineProperty(_o0e, '__esModule', { 'value': !0 }), _o0e.getSlot413PersonalEffect = void 0; var _o0h = _o0f(74496); _o0e.getSlot413PersonalEffect = function(_o0i) { var _o0j = null, _o0k = new _o0h.SlotItemEffectModel(); return [66, 28, 12, 1, 5, 10, 23, 18, 30, 38, 22, 54, 101].indexOf(_o0i.ctype) >= 0 ? (_o0k.houg += 2, _o0k.raig += 2, _o0k.kaih += 4) : [21, 4, 20, 16, 34, 56, 41, 52].indexOf(_o0i.ctype) >= 0 && (_o0k.houg += 4, _o0k.raig += 2, _o0k.kaih += 2), 38 == _o0i.ctype || 54 == _o0i.ctype ? (_o0k.houg += 2, _o0k.raig += 3, _o0k.kaih += 3) : 4 == _o0i.ctype || 20 == _o0i.ctype || 16 == _o0i.ctype || 41 == _o0i.ctype || 52 == _o0i.ctype ? (_o0k.houg += 1, _o0k.raig += 2, _o0k.kaih += 2) : 21 != _o0i.ctype && 34 != _o0i.ctype || (_o0k.tyku += 2, _o0k.raig += 1, _o0k.kaih += 1), 'なか' == _o0i.yomi || 'ゆら' == _o0i.yomi || 'やはぎ' == _o0i.yomi || 'のしろ' == _o0i.yomi || 'はまなみ' == _o0i.yomi || 'しまかぜ' == _o0i.yomi || 'きよしも' == _o0i.yomi || 'はつしも' == _o0i.yomi ? (_o0k.tyku += 1, _o0k.kaih += 1) : 'じんつう' != _o0i.yomi && 'せんだい' != _o0i.yomi && 'ながなみ' != _o0i.yomi && 'はつしも' != _o0i.yomi && 'てるづき' != _o0i.yomi || (_o0k.houg += 1, _o0k.raig += 1), 543 == _o0i.ship_id ? (_o0k.houg += 1, _o0k.kaih += 1) : 159 == _o0i.ship_id && (_o0k.houg += 2), _o0k; }; }, 16498: (_o0l, _o0m, _o0n) => { 'use strict'; var _o0o = null; defineModule(_o0m); Object.defineProperty(_o0m, '__esModule', { 'value': !0 }), _o0m.getSlot414PersonalEffect = void 0; var _o0p = _o0n(74496); _o0m.getSlot414PersonalEffect = function(_o0q) { var _o0r = null, _o0s = new _o0p.SlotItemEffectModel(), _o0t = 0; if ('アメリカ' == _o0q.getCountryName() && (_o0s.saku += 1, _o0t = 1), 95 != _o0q.ctype && 99 != _o0q.ctype && 106 != _o0q.ctype && 110 != _o0q.ctype && 121 != _o0q.ctype || (_o0s.houg += 1, _o0s.saku += 1, _o0t = 2), 0 == _o0t) return _o0s; var _o0u = _o0q.get_each_level_nums(414), _o0v = 0, _o0w = 0, _o0x = 0; return _o0t > 0 && _o0u.forEach(function(_o0y, _o0z) { _o0z >= 5 && (_o0v += _o0y), _o0z >= 3 && (_o0w += _o0y), _o0z >= 8 && (_o0x += _o0y); }), _o0t > 0 && _o0v >= 1 && (_o0s.kaih += 1), 2 == _o0t && (_o0w >= 1 && (_o0s.saku += 1), _o0x >= 1 && (_o0s.kaih += 1), _o0u[10] >= 1 && (_o0s.houg += 1)), _o0s; }; }, 27177: (_o10, _o11, _o12) => { 'use strict'; var _o13 = null; defineModule(_o11); Object.defineProperty(_o11, '__esModule', { 'value': !0 }), _o11.getSlot415PersonalEffect = void 0; var _o14 = _o12(74496); _o11.getSlot415PersonalEffect = function(_o15) { var _o16 = null, _o17 = new _o14.SlotItemEffectModel(), _o18 = []; if ('アメリカ' == _o15.getCountryName() && (_o17.saku += 1, _o17.tais += 1, _o18.push(1)), 95 != _o15.ctype && 99 != _o15.ctype && 106 != _o15.ctype && 110 != _o15.ctype && 121 != _o15.ctype || (_o17.houg += 1, _o18.push(2)), 0 == _o18.length) return _o17; var _o19 = _o15.get_each_level_nums(415), _o1a = 0, _o1b = 0, _o1c = 0; return _o18.length > 0 && (_o19.forEach(function(_o1d, _o1e) { _o1e >= 5 && (_o1a += _o1d), _o1e >= 3 && (_o1b += _o1d), _o1e >= 8 && (_o1c += _o1d); }), _o18.forEach(function(_o1f) { var _o1g = null; 1 == _o1f ? _o1a >= 1 && (_o17.kaih += 1) : 2 == _o1f && (_o1b >= 1 && (_o17.kaih += 1), _o1c >= 1 && (_o17.houg += 1)); })), _o17; }; }, 53908: (_o1h, _o1i, _o1j) => { 'use strict'; var _o1k = null; defineModule(_o1i); Object.defineProperty(_o1i, '__esModule', { 'value': !0 }), _o1i.getSlot419PersonalEffect = void 0; var _o1l = _o1j(74496); _o1i.getSlot419PersonalEffect = function(_o1m) { var _o1n = null, _o1o = new _o1l.SlotItemEffectModel(), _o1p = !1, _o1q = new _o1l.SlotItemEffectModel(), _o1r = 0; if ('アメリカ' == _o1m.getCountryName() && (_o1q.houg += 2, _o1p = !0, _o1r = 1), 0 == _o1p) return _o1o; var _o1s = _o1m.get_slotnums(419); if (_o1o.add(_o1q.multiply(_o1s)), 0 == _o1r) return _o1o; var _o1t = _o1m.get_each_level_nums(419), _o1u = 0, _o1v = 0; return _o1r > 0 && _o1t.forEach(function(_o1w, _o1x) { _o1x >= 2 && (_o1u += _o1w), _o1x >= 7 && (_o1v += _o1w); }), 1 == _o1r && (_o1u >= 1 && (_o1o.houg += 1 * _o1u), _o1v >= 1 && (_o1o.houg += 1 * _o1v)), _o1o; }; }, 79813: (_o1y, _o1z, _o20) => { 'use strict'; var _o21 = null; defineModule(_o1z); Object.defineProperty(_o1z, '__esModule', { 'value': !0 }), _o1z.getSlot420PersonalEffect = void 0; var _o22 = _o20(74496); _o1z.getSlot420PersonalEffect = function(_o23) { var _o24 = null, _o25 = new _o22.SlotItemEffectModel(), _o26 = !1, _o27 = new _o22.SlotItemEffectModel(), _o28 = 0; if ('アメリカ' != _o23.getCountryName() && 67 != _o23.ctype && 78 != _o23.ctype && 82 != _o23.ctype && 88 != _o23.ctype && 108 != _o23.ctype && 112 != _o23.ctype || (_o27.houg += 1, _o28 = 1, _o26 = !0), 84 == _o23.ctype ? (_o27.houg += 1, _o26 = !0) : 78 == _o23.ctype && (_o27.houg -= 1, _o26 = !0), 7 == _o23.stype && (_o27.houg -= 2, _o27.kaih -= 1, _o27.souk -= 2, _o26 = !0), 0 == _o26) return _o25; var _o29 = _o23.get_slotnums(420); if (_o25.add(_o27.multiply(_o29)), 0 == _o28) return _o25; var _o2a = _o23.get_each_level_nums(420), _o2b = 0; return _o28 > 0 && _o2a.forEach(function(_o2c, _o2d) { _o2d >= 3 && (_o2b += _o2c); }), 1 == _o28 && _o2b >= 1 && (_o25.houg += 1 * _o2b), _o25; }; }, 16088: (_o2e, _o2f, _o2g) => { 'use strict'; var _o2h = null; defineModule(_o2f); Object.defineProperty(_o2f, '__esModule', { 'value': !0 }), _o2f.getSlot421PersonalEffect = void 0; var _o2i = _o2g(74496); _o2f.getSlot421PersonalEffect = function(_o2j) { var _o2k = null, _o2l = new _o2i.SlotItemEffectModel(), _o2m = !1, _o2n = new _o2i.SlotItemEffectModel(), _o2o = 0; if ('アメリカ' != _o2j.getCountryName() && 67 != _o2j.ctype && 78 != _o2j.ctype && 82 != _o2j.ctype && 88 != _o2j.ctype && 108 != _o2j.ctype && 112 != _o2j.ctype || (_o2n.houg += 2, _o2m = !0, _o2o = 1), 84 == _o2j.ctype ? (_o2n.houg += 1, _o2m = !0) : 78 == _o2j.ctype && (_o2n.houg -= 1, _o2m = !0), 7 == _o2j.stype && (_o2n.houg -= 2, _o2n.kaih -= 1, _o2n.souk -= 2, _o2m = !0), 0 == _o2m) return _o2l; var _o2p = _o2j.get_slotnums(421); if (_o2l.add(_o2n.multiply(_o2p)), 0 == _o2o) return _o2l; var _o2q = _o2j.get_each_level_nums(421), _o2r = 0; return _o2o > 0 && _o2q.forEach(function(_o2s, _o2t) { _o2t >= 5 && (_o2r += _o2s); }), 1 == _o2o && _o2r >= 1 && (_o2l.houg += 1 * _o2r), _o2l; }; }, 69939: (_o2u, _o2v, _o2w) => { 'use strict'; var _o2x = null; defineModule(_o2v); Object.defineProperty(_o2v, '__esModule', { 'value': !0 }), _o2v.getSlot422PersonalEffect = void 0; var _o2y = _o2w(74496); _o2v.getSlot422PersonalEffect = function(_o2z) { var _o30 = null, _o31 = new _o2y.SlotItemEffectModel(), _o32 = !1, _o33 = new _o2y.SlotItemEffectModel(); if ('アメリカ' != _o2z.getCountryName() && 67 != _o2z.ctype && 78 != _o2z.ctype && 82 != _o2z.ctype && 88 != _o2z.ctype && 108 != _o2z.ctype && 112 != _o2z.ctype || (_o33.houg += 1, _o33.kaih += 1, _o32 = !0), 84 == _o2z.ctype && (_o33.houg += 1, _o33.tyku += 1, _o32 = !0), 707 == _o2z.ship_id && (_o33.houg += 2, _o33.kaih += 2, _o33.tyku += 2, _o32 = !0), 0 == _o32) return _o31; var _o34 = _o2z.get_slotnums(422); return _o31.add(_o33.multiply(_o34)), _o31; }; }, 33734: (_o35, _o36, _o37) => { 'use strict'; var _o38 = null; defineModule(_o36); Object.defineProperty(_o36, '__esModule', { 'value': !0 }), _o36.getSlot423PersonalEffect = void 0; var _o39 = _o37(74496); _o36.getSlot423PersonalEffect = function(_o3a) { var _o3b = null, _o3c = new _o39.SlotItemEffectModel(), _o3d = !1, _o3e = new _o39.SlotItemEffectModel(); 78 != _o3a.ctype && 112 != _o3a.ctype || (_o3e.houg += 2, _o3e.tyku += 2, _o3e.kaih += 2, _o3e.saku += 2, _o3d = !0); var _o3f = _o3a.getCountryName(); if (67 == _o3a.ctype || 78 == _o3a.ctype || 82 == _o3a.ctype || 88 == _o3a.ctype || 108 == _o3a.ctype || 112 == _o3a.ctype ? (_o3e.houg += 2, _o3e.tyku += 2, _o3e.kaih += 2, _o3e.saku += 2, _o3d = !0) : 'アメリカ' == _o3f && (_o3e.houg += 1, _o3e.tyku += 1, _o3e.kaih += 1, _o3e.saku += 1, _o3d = !0), 0 == _o3d) return _o3c; var _o3g = _o3a.get_slotnums(423); return _o3c.add(_o3e.multiply(_o3g)), _o3c; }; }, 34432: (_o3h, _o3i, _o3j) => { 'use strict'; var _o3k = null; defineModule(_o3i); Object.defineProperty(_o3i, '__esModule', { 'value': !0 }), _o3i.getSlot424PersonalEffect = void 0; var _o3l = _o3j(74496); _o3i.getSlot424PersonalEffect = function(_o3m) { var _o3n = null, _o3o = new _o3l.SlotItemEffectModel(), _o3p = !1, _o3q = new _o3l.SlotItemEffectModel(), _o3r = 0; 67 != _o3m.ctype && 78 != _o3m.ctype && 82 != _o3m.ctype && 88 != _o3m.ctype && 108 != _o3m.ctype && 112 != _o3m.ctype || (_o3q.houg += 2, _o3q.raig += 3, _o3p = !0, _o3r = 1); var _o3s = _o3m.get_slotnums(424); _o3p && _o3o.add(_o3q.multiply(_o3s)); var _o3t = _o3m.get_each_level_nums(424), _o3u = 0, _o3v = 0, _o3w = 0; _o3t.forEach(function(_o3x, _o3y) { _o3y >= 2 && (_o3u += _o3x), _o3y >= 6 && (_o3v += _o3x), _o3y >= 8 && (_o3w += _o3x); }); var _o3z = _o3t[10]; return 1 == _o3r && (_o3u >= 1 && (_o3o.houg += 1 * _o3u), _o3v >= 1 && (_o3o.houg += 1 * _o3v), _o3w >= 1 && (_o3o.houm += 1 * _o3w)), _o3z > 0 && (_o3o.houm += 1 * _o3z), _o3o; }; }, 97423: (_o40, _o41, _o42) => { 'use strict'; var _o43 = null; defineModule(_o41); Object.defineProperty(_o41, '__esModule', { 'value': !0 }), _o41.getSlot425PersonalEffect = void 0; var _o44 = _o42(74496); _o41.getSlot425PersonalEffect = function(_o45) { var _o46 = null, _o47 = new _o44.SlotItemEffectModel(), _o48 = !1, _o49 = new _o44.SlotItemEffectModel(), _o4a = 0; 67 != _o45.ctype && 78 != _o45.ctype && 82 != _o45.ctype && 88 != _o45.ctype && 108 != _o45.ctype && 112 != _o45.ctype || (_o49.houg += 2, _o49.tais += 2, _o49.raig += 1, _o49.saku += 1, _o48 = !0, _o4a = 1); var _o4b = _o45.get_slotnums(425); _o48 && _o47.add(_o49.multiply(_o4b)); var _o4c = _o45.get_each_level_nums(425), _o4d = 0, _o4e = 0, _o4f = 0, _o4g = 0, _o4h = 0, _o4i = 0; _o4c.forEach(function(_o4j, _o4k) { _o4k >= 2 && (_o4d += _o4j), _o4k >= 4 && (_o4e += _o4j), _o4k >= 6 && (_o4f += _o4j), _o4k >= 7 && (_o4g += _o4j), _o4k >= 8 && (_o4h += _o4j), _o4k >= 9 && (_o4i += _o4j); }); var _o4l = _o4c[10]; return 1 == _o4a && (_o4d >= 1 && (_o47.tais += 1 * _o4d), _o4e >= 1 && (_o47.houg += 1 * _o4e), _o4f >= 1 && (_o47.tais += 1 * _o4f), _o4g >= 1 && (_o47.houm += 1 * _o4g), _o4h >= 1 && (_o47.raig += 1 * _o4h), _o4i >= 1 && (_o47.houg += 1 * _o4i), _o4l >= 1 && (_o47.tais += 1 * _o4l)), _o4g >= 1 && (_o47.houg += 1 * _o4g), _o4h >= 1 && (_o47.tais += 1 * _o4h), _o4i >= 1 && (_o47.houm += 1 * _o4i), _o4l >= 1 && (_o47.houm += 1 * _o4l), _o47; }; }, 23551: (_o4m, _o4n, _o4o) => { 'use strict'; var _o4p = null; defineModule(_o4n); Object.defineProperty(_o4n, '__esModule', { 'value': !0 }), _o4n.getSlot430PersonalEffect = void 0; var _o4q = _o4o(74496); _o4n.getSlot430PersonalEffect = function(_o4r) { var _o4s = null, _o4t = new _o4q.SlotItemEffectModel(), _o4u = !1, _o4v = new _o4q.SlotItemEffectModel(), _o4w = 0; if (113 == _o4r.ctype && (_o4v.tyku += 1, _o4v.kaih += 1, _o4u = !0), 58 != _o4r.ctype && 61 != _o4r.ctype && 64 != _o4r.ctype && 68 != _o4r.ctype && 80 != _o4r.ctype && 92 != _o4r.ctype && 113 != _o4r.ctype && 124 != _o4r.ctype || (_o4v.tyku += 2, _o4v.kaih += 1, _o4u = !0, _o4w = 1), 0 == _o4u) return _o4t; var _o4x = _o4r.get_slotnums(430); if (_o4t.add(_o4v.multiply(_o4x)), 0 == _o4w) return _o4t; var _o4y = _o4r.get_each_level_nums(430), _o4z = 0, _o50 = 0, _o51 = 0; if (_o4w > 0 && _o4y.forEach(function(_o52, _o53) { _o53 >= 2 && (_o4z += _o52), _o53 >= 4 && (_o50 += _o52), _o53 >= 7 && (_o51 += _o52); }), 1 == _o4w) { _o4z >= 1 && (_o4t.kaih += 1 * _o4z), _o50 >= 1 && (_o4t.tyku += 1 * _o50), _o51 >= 1 && (_o4t.kaih += 1 * _o51); var _o54 = _o4y[10]; _o54 >= 1 && (_o4t.tyku += 1 * _o54); } return _o4t; }; }, 6173: (_o55, _o56, _o57) => { 'use strict'; var _o58 = null; defineModule(_o56); Object.defineProperty(_o56, '__esModule', { 'value': !0 }), _o56.getSlot437PersonalEffect = void 0; var _o59 = _o57(74496); _o56.getSlot437PersonalEffect = function(_o5a) { var _o5b = null, _o5c = new _o59.SlotItemEffectModel(), _o5d = !1, _o5e = new _o59.SlotItemEffectModel(); if (285 == _o5a.ship_id ? (_o5e.houg += 3, _o5e.tyku += 3, _o5e.kaih += 4, _o5d = !0) : 894 == _o5a.ship_id || 899 == _o5a.ship_id ? (_o5e.houg += 4, _o5e.tyku += 4, _o5e.kaih += 4, _o5d = !0) : 196 == _o5a.ship_id || 197 == _o5a.ship_id ? (_o5e.houg += 2, _o5e.tyku += 2, _o5e.kaih += 3, _o5d = !0) : 508 == _o5a.ship_id || 509 == _o5a.ship_id || 646 == _o5a.ship_id ? (_o5e.houg += 2, _o5e.tyku += 2, _o5e.kaih += 2, _o5d = !0) : 888 != _o5a.ship_id && 883 != _o5a.ship_id && 553 != _o5a.ship_id && 554 != _o5a.ship_id || (_o5e.houg += 1, _o5e.tyku += 2, _o5e.kaih += 2, _o5d = !0), 0 == _o5d) return _o5c; var _o5f = _o5a.get_slotnums(437); return _o5c.add(_o5e.multiply(_o5f)), _o5c; }; }, 53709: (_o5g, _o5h, _o5i) => { 'use strict'; var _o5j = null; defineModule(_o5h); Object.defineProperty(_o5h, '__esModule', { 'value': !0 }), _o5h.getSlot438PersonalEffect = void 0; var _o5k = _o5i(74496); _o5h.getSlot438PersonalEffect = function(_o5l) { var _o5m = null, _o5n = new _o5k.SlotItemEffectModel(), _o5o = 0; if ([66, 28, 12, 1, 5, 10, 23, 18, 30, 38, 22, 54, 101].indexOf(_o5l.ctype) > -1 && (_o5n.tais += 1, _o5n.kaih += 1), 160 == _o5l.ship_id || 488 == _o5l.ship_id || 141 == _o5l.ship_id ? (_o5n.tais += 1, _o5n.kaih += 1) : 145 != _o5l.ship_id && 588 != _o5l.ship_id && 667 != _o5l.ship_id && 578 != _o5l.ship_id && 476 != _o5l.ship_id && 363 != _o5l.ship_id && 961 != _o5l.ship_id || (_o5o = 1), 'うしお' == _o5l.yomi || 'まいかぜ' == _o5l.yomi || 'いそかぜ' == _o5l.yomi || 'はまかぜ' == _o5l.yomi || 'いかづち' == _o5l.yomi || 'やまぐも' == _o5l.yomi || 'うみかぜ' == _o5l.yomi || 'かわかぜ' == _o5l.yomi || 'すずかぜ' == _o5l.yomi ? _o5n.tais += 1 : 'しぐれ' != _o5l.yomi && 'やまかぜ' != _o5l.yomi && 'かみかぜ' != _o5l.yomi && 'はるかぜ' != _o5l.yomi && 'みくら' != _o5l.yomi && 'いしがき' != _o5l.yomi || (_o5n.tais += 1, _o5n.kaih += 1), 0 == _o5o) return _o5n; var _o5p = _o5l.get_each_level_nums(438), _o5q = 0, _o5r = 0, _o5s = 0, _o5t = _o5p[10]; return _o5o > 0 && _o5p.forEach(function(_o5u, _o5v) { _o5v >= 4 && (_o5q += _o5u), _o5v >= 6 && (_o5r += _o5u), _o5v >= 8 && (_o5s += _o5u); }), 1 == _o5o && (_o5q >= 1 && (_o5n.tais += 1), _o5r >= 1 && (_o5n.kaih += 1), _o5s >= 1 && (_o5n.tais += 1), _o5t >= 1 && (_o5n.kaih += 1)), _o5n; }; }, 99790: (_o5w, _o5x, _o5y) => { 'use strict'; var _o5z = null; defineModule(_o5x); Object.defineProperty(_o5x, '__esModule', { 'value': !0 }), _o5x.getSlot439PersonalEffect = void 0; var _o60 = _o5y(74496); _o5x.getSlot439PersonalEffect = function(_o61) { var _o62 = null, _o63 = new _o60.SlotItemEffectModel(); 1 != _o61.stype && 2 != _o61.stype && 3 != _o61.stype && 21 != _o61.stype || (_o63.tais += 1, _o63.kaih += 1), 101 != _o61.ctype && 1 != _o61.stype || (_o63.tais += 1); var _o64 = _o61.getCountryName(); return 'アメリカ' != _o64 && 'イギリス' != _o64 || (_o63.tais += 2), _o63; }; }, 18387: (_o65, _o66, _o67) => { 'use strict'; var _o68 = null; defineModule(_o66); Object.defineProperty(_o66, '__esModule', { 'value': !0 }), _o66.getSlot440_441PersonalEffect = void 0; var _o69 = _o67(74496); _o66.getSlot440_441PersonalEffect = function(_o6a) { var _o6b = null, _o6c = new _o69.SlotItemEffectModel(); return 114 == _o6a.ctype && (_o6c.raig += 2), _o6c; }; }, 70941: (_o6d, _o6e, _o6f) => { 'use strict'; var _o6g = null; defineModule(_o6e); Object.defineProperty(_o6e, '__esModule', { 'value': !0 }), _o6e.getSlot442_443PersonalEffect = void 0; var _o6h = _o6f(74496); _o6e.getSlot442_443PersonalEffect = function(_o6i) { var _o6j = null, _o6k = new _o6h.SlotItemEffectModel(); return 122 == _o6i.ctype ? (_o6k.raig += 1, _o6k.kaih += 2) : 114 == _o6i.ctype && (_o6k.raig += 2), _o6k; }; }, 35025: (_o6l, _o6m, _o6n) => { 'use strict'; var _o6o = null; defineModule(_o6m); Object.defineProperty(_o6m, '__esModule', { 'value': !0 }), _o6m.getSlot447PersonalEffect = void 0; var _o6p = _o6n(74496); _o6m.getSlot447PersonalEffect = function(_o6q) { var _o6r = null, _o6s = new _o6p.SlotItemEffectModel(), _o6t = _o6q.get_each_level_nums(447), _o6u = 0, _o6v = 0, _o6w = 0, _o6x = 0; _o6t.forEach(function(_o6y, _o6z) { _o6z >= 2 && (_o6u += _o6y), _o6z >= 4 && (_o6v += _o6y), _o6z >= 6 && (_o6w += _o6y), _o6z >= 8 && (_o6x += _o6y); }), _o6u >= 1 && (_o6s.houg += 1 * _o6u), _o6v >= 1 && (_o6s.tyku += 1 * _o6v), _o6w >= 1 && (_o6s.tais += 1 * _o6w), _o6x >= 1 && (_o6s.kaih += 1 * _o6x); var _o70 = _o6t[10]; _o70 >= 1 && (_o6s.tais += 1 * _o70); var _o71 = !1, _o72 = new _o6p.SlotItemEffectModel(); if (76 == _o6q.ctype && (_o72.houg += 1, _o72.tais += 1, _o72.kaih += 2, _o71 = !0), 'うんよう' == _o6q.yomi ? (_o72.houg += 1, _o72.tais += 1, _o72.kaih += 1, _o71 = !0) : 'ほうしょう' != _o6q.yomi && 'たいげい・りゅうほう' != _o6q.yomi || (_o72.houg += 1, _o72.tais += 2, _o72.kaih += 1, _o71 = !0), 0 == _o71) return _o6s; 894 != _o6q.ship_id && 899 != _o6q.ship_id || (_o72.houg += 1, _o72.kaih += 1, _o72.tais += 1, _o72.tyku += 1, _o71 = !0); var _o73 = _o6q.get_slotnums(447); return _o6s.add(_o72.multiply(_o73)), _o6s; }; }, 96804: (_o74, _o75, _o76) => { 'use strict'; var _o77 = null; defineModule(_o75); Object.defineProperty(_o75, '__esModule', { 'value': !0 }), _o75.getSlot450PersonalEffect = void 0; var _o78 = _o76(74496); _o75.getSlot450PersonalEffect = function(_o79) { var _o7a = null, _o7b = new _o78.SlotItemEffectModel(), _o7c = !1, _o7d = new _o78.SlotItemEffectModel(); if (101 == _o79.ctype && (_o7d.houg += 1, _o7d.tyku += 2, _o7d.souk += 1, _o7d.kaih += 3, _o7c = !0), 1 == _o79.stype && (_o7d.tyku += 1, _o7d.souk += 1, _o7d.kaih += 2, _o7c = !0), 0 == _o7c) return _o7b; var _o7e = _o79.get_slotnums(450); return _o7b.add(_o7d.multiply(_o7e)), _o7b; }; }, 33896: (_o7f, _o7g, _o7h) => { 'use strict'; var _o7i = null; defineModule(_o7g); Object.defineProperty(_o7g, '__esModule', { 'value': !0 }), _o7g.getSlot451PersonalEffect = void 0; var _o7j = _o7h(74496); _o7g.getSlot451PersonalEffect = function(_o7k) { var _o7l = null, _o7m = new _o7j.SlotItemEffectModel(), _o7n = !1, _o7o = new _o7j.SlotItemEffectModel(), _o7p = 0; if ('あきつまる' == _o7k.yomi ? (_o7o.houg += 1, _o7o.tais += 2, _o7n = !0, 166 == _o7k.ship_id && (_o7p = 2)) : 'やましおまる' == _o7k.yomi && (_o7o.houg += 1, _o7o.tais += 3, _o7n = !0, _o7p = 1), 0 == _o7n) return _o7m; var _o7q = _o7k.get_slotnums(451); if (_o7m.add(_o7o.multiply(_o7q)), 0 == _o7p) return _o7m; var _o7r = _o7k.get_each_level_nums(451), _o7s = []; return _o7p > 0 && _o7r.forEach(function(_o7t, _o7u) { var _o7v = null; for (var _o7w = 1; _o7w <= _o7k.SLOT_LEVEL_MAX; _o7w++) _o7u >= _o7w && (null == _o7s[_o7w] && (_o7s[_o7w] = 0), _o7s[_o7w] += _o7t); }), 1 == _o7p ? (_o7s[1] >= 1 && (_o7m.houg += 2 * _o7s[1]), _o7s[2] >= 1 && (_o7m.houm += 1 * _o7s[2]), _o7s[3] >= 1 && (_o7m.tais += 1 * _o7s[3]), _o7s[4] >= 1 && (_o7m.houg += 1 * _o7s[4]), _o7s[6] >= 1 && (_o7m.houm += 1 * _o7s[6]), _o7s[8] >= 1 && (_o7m.tais += 1 * _o7s[8]), _o7s[10] >= 1 && (_o7m.houg += 1 * _o7s[10])) : 2 == _o7p && (_o7s[1] >= 1 && (_o7m.houg += 1 * _o7s[1]), _o7s[3] >= 1 && (_o7m.tais += 1 * _o7s[3]), _o7s[5] >= 1 && (_o7m.houm += 1 * _o7s[5]), _o7s[7] >= 1 && (_o7m.tais += 1 * _o7s[7]), _o7s[10] >= 1 && (_o7m.houg += 1 * _o7s[10])), _o7m; }; }, 11031: function(_o7x, _o7y, _o7z) { 'use strict'; var _o80 = null; var _o81 = this && this.__importDefault || function(_o82) { var _o83 = null; return _o82 && _o82.__esModule ? _o82 : { 'default': _o82 }; }; defineModule(_o7y); Object.defineProperty(_o7y, '__esModule', { 'value': !0 }), _o7y.getSlot455PersonalEffect = void 0; var _o84 = _o7z(74496), _o85 = _o81(_o7z(18622)); _o7y.getSlot455PersonalEffect = function(_o86) { var _o87 = null, _o88 = new _o84.SlotItemEffectModel(), _o89 = !1, _o8a = new _o84.SlotItemEffectModel(), _o8b = 0, _o8c = _o86.get_slotnums(455); if (1 != _o86.ctype && 5 != _o86.ctype && 12 != _o86.ctype || (_o8a.houg += 2, _o8a.tyku += 1, 12 == _o86.ctype && (_o8a.houg += 1), 666 == _o86.ship_id ? (_o8a.houg += 1, _o8a.tais += 1) : 959 == _o86.ship_id && (_o8a.houg += 2, _o8c >= 2 && (_o88.houg += 2), _o8c >= 3 && (_o88.houg += 3)), _o8b = 1, _o89 = !0), 'うらなみ' == _o86.yomi && (_o8a.houg += 1, 647 == _o86.ship_id && (_o8a.houg += 1, _o8a.raig += 1, _o8a.tais += 1, _o8a.kaih += 1), _o89 = !0), 0 == _o89) return _o88; if (_o88.add(_o8a.multiply(_o8c)), 0 == _o8b) return _o88; for (var _o8d = 0, _o8e = 0, _o8f = 0, _o8g = _o86.have_slot_ids(); _o8f < _o8g.length; _o8f++) { var _o8h = _o8g[_o8f], _o8i = _o85.default.model.slot.getMst(_o8h), _o8j = _o8i.equipType; 12 != _o8j && 13 != _o8j || (_o8i.sakuteki >= 5 && (_o8d += _o86.get_slotnums(parseInt(_o8h))), _o8i.taiku >= 2 && (_o8e += _o86.get_slotnums(parseInt(_o8h)))); } if (1 == _o8b) { _o8d >= 1 && (_o88.houg += 3, _o88.kaih += 2, _o88.raig += 1); var _o8k = _o86.get_slotnums(13), _o8l = _o86.get_slotnums(125), _o8m = _o86.get_slotnums(285), _o8n = _o8k + _o8l + _o8m; 1 == _o8n ? (_o88.houg += 1, _o88.raig += 3) : _o8n >= 2 && (_o88.houg += 2, _o88.raig += 5), _o8m >= 1 && (_o88.raig += 1), _o8e >= 1 && (_o88.tyku += 4); } return _o88; }; }, 71383: (_o8o, _o8p, _o8q) => { 'use strict'; var _o8r = null; defineModule(_o8p); Object.defineProperty(_o8p, '__esModule', { 'value': !0 }), _o8p.getSlot456PersonalEffect = void 0; var _o8s = _o8q(74496); _o8p.getSlot456PersonalEffect = function(_o8t) { var _o8u = null, _o8v = new _o8s.SlotItemEffectModel(), _o8w = !1, _o8x = new _o8s.SlotItemEffectModel(), _o8y = _o8t.getCountryName(); if ('アメリカ' == _o8y && (_o8x.houg += 3, _o8x.kaih += 4, _o8x.saku += 4, _o8v.houm += 3, _o8w = !0), 'イギリス' != _o8y && 'オーストラリア' != _o8y || (_o8x.houg += 2, _o8x.kaih += 2, _o8x.saku += 2, _o8v.houm += 2, _o8w = !0), 87 != _o8t.ctype && 91 != _o8t.ctype || (_o8x.houg += 1, _o8v.leng += 1, _o8w = !0), 651 != _o8t.ship_id && 656 != _o8t.ship_id || (_o8v.houg += 2, _o8v.kaih += 2, _o8v.saku += 3, _o8v.leng += 1, _o8v.houm += 2), 0 == _o8w) return _o8v; var _o8z = _o8t.get_slotnums(456); return _o8v.add(_o8x.multiply(_o8z)), _o8v; }; }, 55888: (_o90, _o91, _o92) => { 'use strict'; var _o93 = null; defineModule(_o91); Object.defineProperty(_o91, '__esModule', { 'value': !0 }), _o91.getSlot457PersonalEffect = void 0; var _o94 = _o92(74496); _o91.getSlot457PersonalEffect = function(_o95) { var _o96 = null, _o97 = new _o94.SlotItemEffectModel(), _o98 = 0; if (109 == _o95.ctype ? (_o97.raig += 3, _o97.kaih += 3, _o98 = 1) : 71 == _o95.ctype || 103 == _o95.ctype ? (_o97.raig += 2, _o97.kaih += 2, _o98 = 2) : 44 == _o95.ctype && (_o97.raig += 1, _o97.kaih += 4, _o98 = 3), 0 == _o98) return _o97; var _o99 = _o95.get_each_level_nums(461), _o9a = []; return _o98 > 0 && _o99.forEach(function(_o9b, _o9c) { var _o9d = null; for (var _o9e = 1; _o9e <= _o95.SLOT_LEVEL_MAX; _o9e++) null == _o9a[_o9e] && (_o9a[_o9e] = 0), _o9c >= _o9e && (_o9a[_o9e] += _o9b); }), 1 == _o98 ? (_o9a[2] >= 1 && (_o97.raig += 1 * _o9a[2]), _o9a[3] >= 1 && (_o97.kaih += 1 * _o9a[3]), _o9a[4] >= 1 && (_o97.raig += 1 * _o9a[4]), _o9a[5] >= 1 && (_o97.houm += 1 * _o9a[5]), _o9a[6] >= 1 && (_o97.raig += 1 * _o9a[6]), _o9a[8] >= 1 && (_o97.raig += 1 * _o9a[8]), _o9a[10] >= 1 && (_o97.houm += 1 * _o9a[10])) : 2 == _o98 ? (_o9a[3] >= 1 && (_o97.kaih += 1 * _o9a[3]), _o9a[4] >= 1 && (_o97.raig += 1 * _o9a[4]), _o9a[6] >= 1 && (_o97.raig += 1 * _o9a[6]), _o9a[8] >= 1 && (_o97.raig += 1 * _o9a[8]), _o9a[10] >= 1 && (_o97.houm += 1 * _o9a[10])) : 3 == _o98 && (_o9a[4] >= 1 && (_o97.raig += 1 * _o9a[4]), _o9a[6] >= 1 && (_o97.raig += 1 * _o9a[6]), _o9a[8] >= 1 && (_o97.raig += 1 * _o9a[8]), _o9a[10] >= 1 && (_o97.houm += 1 * _o9a[10])), _o97; }; }, 2258: (_o9f, _o9g, _o9h) => { 'use strict'; var _o9i = null; defineModule(_o9g); Object.defineProperty(_o9g, '__esModule', { 'value': !0 }), _o9g.getSlot458PersonalEffect = void 0; var _o9j = _o9h(74496); _o9g.getSlot458PersonalEffect = function(_o9k) { var _o9l = null, _o9m = new _o9j.SlotItemEffectModel(), _o9n = 0, _o9o = !1; if (13 != _o9k.stype && 14 != _o9k.stype || (_o9o = !0), 109 == _o9k.ctype ? (_o9m.raig += 3, _o9m.kaih += 6, _o9n = 1) : 71 == _o9k.ctype || 103 == _o9k.ctype ? (_o9m.raig += 3, _o9m.kaih += 4, _o9n = 2) : 44 == _o9k.ctype && (_o9m.raig += 3, _o9m.kaih += 3, _o9n = 3), 0 == _o9o && 0 == _o9n) return _o9m; var _o9p = []; [458, 461].forEach(function(_o9q) { var _o9r = null, _o9s = _o9k.get_each_level_nums(_o9q); null == _o9p[_o9q] && (_o9p[_o9q] = []), _o9s.forEach(function(_o9t, _o9u) { var _o9v = null; for (var _o9w = 1; _o9w <= _o9k.SLOT_LEVEL_MAX; _o9w++) null == _o9p[_o9q][_o9w] && (_o9p[_o9q][_o9w] = 0), _o9u >= _o9w && (_o9p[_o9q][_o9w] += _o9t); }); }); var _o9x = _o9p[458][2], _o9y = _o9p[458][3], _o9z = _o9p[458][4], _oa0 = _o9p[458][5], _oa1 = _o9p[458][6], _oa2 = _o9p[458][8], _oa3 = _o9p[458][10], _oa4 = _o9p[461][4]; return _o9n >= 1 && _o9n <= 3 && (_o9z >= 1 && (_o9m.houm += 1 * _o9z), _oa1 >= 1 && (_o9m.kaih += 1 * _oa1), _oa2 >= 1 && (_o9m.raig += 1 * _oa2)), _o9o && (_o9y >= 1 && (_o9m.kaih += 1 * _o9y), _oa0 >= 1 && (_o9m.raig += 1 * _oa0), _oa3 >= 1 && (_o9m.houm += 1 * _oa3), _o9x >= 1 && _oa4 >= 1 && (_o9m.raig += 7, _o9m.houm += 5)), _o9m; }; }, 43768: (_oa5, _oa6, _oa7) => { 'use strict'; var _oa8 = null; defineModule(_oa6); Object.defineProperty(_oa6, '__esModule', { 'value': !0 }), _oa6.getSlot463PersonalEffect = void 0; var _oa9 = _oa7(74496); _oa6.getSlot463PersonalEffect = function(_oaa) { var _oab = null, _oac = new _oa9.SlotItemEffectModel(), _oad = !1, _oae = new _oa9.SlotItemEffectModel(), _oaf = _oaa.get_slotnums(142), _oag = _oaa.get_slotnums(460), _oah = _oaf + _oag; if (37 == _oaa.ctype && (_oae.houg += 1, _oae.tyku += 2, _oae.kaih += 1, _oae.houm += 1, _oah >= 1 && (_oac.tyku += 1, _oac.kaih += 1, _oac.houm += 1), _oad = !0), 916 != _oaa.ship_id && 911 != _oaa.ship_id && 546 != _oaa.ship_id || (_oae.houg += 1, _oae.kaih += 1, _oae.houm += 2, _oag >= 1 && (_oac.houg += 1, _oac.kaih += 1, _oac.houm += 2), _oad = !0), 0 == _oad) return _oac; var _oai = _oaa.get_slotnums(463); return _oac.add(_oae.multiply(_oai)), _oac; }; }, 92174: (_oaj, _oak, _oal) => { 'use strict'; var _oam = null; defineModule(_oak); Object.defineProperty(_oak, '__esModule', { 'value': !0 }), _oak.getSlot464PersonalEffect = void 0; var _oan = _oal(74496); _oak.getSlot464PersonalEffect = function(_oao) { var _oap = null, _oaq = new _oan.SlotItemEffectModel(), _oar = !1, _oas = new _oan.SlotItemEffectModel(), _oat = _oao.get_slotnums(142), _oau = _oao.get_slotnums(460), _oav = _oat + _oau; if (37 == _oao.ctype ? (_oas.tyku += 3, _oas.kaih += 2, _oav >= 1 && (_oaq.tyku += 2, _oaq.kaih += 1, _oaq.houm += 1), _oar = !0) : 6 != _oao.ctype && 73 != _oao.ctype && 113 != _oao.ctype || (_oas.tyku = _oas.tyku - 2, _oas.kaih = _oas.kaih - 2, _oar = !0), 916 != _oao.ship_id && 911 != _oao.ship_id && 546 != _oao.ship_id && 593 != _oao.ship_id && 954 != _oao.ship_id || (_oas.tyku += 2, _oas.kaih += 2, _oau >= 1 && (_oaq.houg += 2, _oaq.tyku += 2, _oaq.kaih += 2, _oaq.houm += 3), _oar = !0), 0 == _oar) return _oaq; var _oaw = _oao.get_slotnums(464); return _oaq.add(_oas.multiply(_oaw)), _oaq; }; }, 38003: (_oax, _oay, _oaz) => { 'use strict'; var _ob0 = null; defineModule(_oay); Object.defineProperty(_oay, '__esModule', { 'value': !0 }), _oay.getSlot465PersonalEffect = void 0; var _ob1 = _oaz(74496); _oay.getSlot465PersonalEffect = function(_ob2) { var _ob3 = null, _ob4 = new _ob1.SlotItemEffectModel(), _ob5 = !1, _ob6 = new _ob1.SlotItemEffectModel(), _ob7 = _ob2.get_slotnums(142), _ob8 = _ob2.get_slotnums(460), _ob9 = _ob7 + _ob8; if (916 == _ob2.ship_id ? (_ob6.houg += 2, _ob6.kaih += 8, _ob6.houm += 2, _ob8 >= 1 && (_ob4.kaih += 2, _ob4.houm += 1), _ob5 = !0) : 911 != _ob2.ship_id && 546 != _ob2.ship_id || (_ob6.houg += 1, _ob6.kaih += 2, _ob6.houm += 1, _ob8 >= 1 && (_ob4.kaih += 1, _ob4.houm += 1), _ob5 = !0), 37 == _ob2.ctype && _ob9 >= 1 && (_ob4.houg += 2, _ob4.houm += 2), 0 == _ob5) return _ob4; var _oba = _ob2.get_slotnums(465); return _ob4.add(_ob6.multiply(_oba)), _ob4; }; }, 65455: (_obb, _obc, _obd) => { 'use strict'; var _obe = null; defineModule(_obc); Object.defineProperty(_obc, '__esModule', { 'value': !0 }), _obc.getSlot466PersonalEffect = void 0; var _obf = _obd(74496); _obc.getSlot466PersonalEffect = function(_obg) { var _obh = null, _obi = new _obf.SlotItemEffectModel(), _obj = !1, _obk = new _obf.SlotItemEffectModel(); if (277 == _obg.ship_id || 278 == _obg.ship_id || 156 == _obg.ship_id || 288 == _obg.ship_id || 112 == _obg.ship_id || 280 == _obg.ship_id || 279 == _obg.ship_id ? (_obk.houg += 1, _obk.houm += 1, _obj = !0) : 461 == _obg.ship_id || 462 == _obg.ship_id || 466 == _obg.ship_id || 467 == _obg.ship_id ? (_obk.houg += 2, _obk.kaih += 2, _obk.houm += 1, _obj = !0) : 594 != _obg.ship_id && 698 != _obg.ship_id && 646 != _obg.ship_id && 599 != _obg.ship_id && 610 != _obg.ship_id && 196 != _obg.ship_id && 197 != _obg.ship_id || (_obk.houg += 1, _obk.kaih += 1, _obk.houm += 2, _obj = !0), 0 == _obj) return _obi; var _obl = _obg.get_slotnums(466); return _obi.add(_obk.multiply(_obl)), _obi; }; }, 70362: (_obm, _obn, _obo) => { 'use strict'; var _obp = null; defineModule(_obn); Object.defineProperty(_obn, '__esModule', { 'value': !0 }), _obn.getSlot467PersonalEffect = void 0; var _obq = _obo(74496); _obn.getSlot467PersonalEffect = function(_obr) { var _obs = null, _obt = new _obq.SlotItemEffectModel(), _obu = !1, _obv = new _obq.SlotItemEffectModel(); if ('アメリカ' == _obr.getCountryName()) { for (var _obw = _obr.getUSSWaterRaderDict(), _obx = _obr.getUSSAirRaderDict(), _oby = 0, _obz = 0, _oc0 = 0, _oc1 = _obr.have_slot_ids(); _oc0 < _oc1.length; _oc0++) { var _oc2 = _oc1[_oc0]; _obw[parseInt(_oc2)] && (_oby += _obr.get_slotnums(parseInt(_oc2))), _obx[parseInt(_oc2)] && (_obz += _obr.get_slotnums(parseInt(_oc2))); } _obv.houg += 1, _obv.tyku += 1, _obv.kaih += 2, _oby >= 1 && (_obt.houg += 1, _obt.tyku += 1, _obt.kaih += 1, _obt.houm += 2), _obz >= 1 && (_obt.tyku += 2, _obt.kaih += 2), 65 != _obr.ctype && 93 != _obr.ctype && 102 != _obr.ctype && 107 != _obr.ctype && 125 != _obr.ctype || (_obv.tyku += 2, _obv.kaih += 1), _obu = !0; } if (0 == _obu) return _obt; var _oc3 = _obr.get_slotnums(467); return _obt.add(_obv.multiply(_oc3)), _obt; }; }, 68086: function(_oc4, _oc5, _oc6) { 'use strict'; var _oc7 = null; var _oc8 = this && this.__importDefault || function(_oc9) { var _oca = null; return _oc9 && _oc9.__esModule ? _oc9 : { 'default': _oc9 }; }; defineModule(_oc5); Object.defineProperty(_oc5, '__esModule', { 'value': !0 }), _oc5.getSlot470PersonalEffect = void 0; var _ocb = _oc6(74496), _occ = _oc8(_oc6(18622)); _oc5.getSlot470PersonalEffect = function(_ocd) { var _oce = null, _ocf = new _ocb.SlotItemEffectModel(), _ocg = !1, _och = new _ocb.SlotItemEffectModel(), _oci = 0, _ocj = 0; 23 == _ocd.ctype || 18 == _ocd.ctype ? (_och.houg += 1, _ocg = !0, _oci = 1) : 30 == _ocd.ctype && (_och.houg += 2, _ocg = !0, _oci = 2), ('しぐれ' == _ocd.yomi || 'ゆきかぜ' == _ocd.yomi || 'いそかぜ' == _ocd.yomi) && (_och.kaih += 2, _ocg = !0), 961 == _ocd.ship_id && (_och.houg += 3, _och.houm += 3, _och.kaih += 2, _ocg = !0); var _ock = _ocd.get_slotnums(470); 566 != _ocd.ship_id && 567 != _ocd.ship_id && 568 != _ocd.ship_id && 656 != _ocd.ship_id && 670 != _ocd.ship_id && 915 != _ocd.ship_id && 651 != _ocd.ship_id && 145 != _ocd.ship_id && 961 != _ocd.ship_id && 951 != _ocd.ship_id || (_ocf.houg += 1, _ocf.houm += 2, _ock >= 2 && (_ocf.houg += 2), _ocj = 1), _ocg && _ocf.add(_och.multiply(_ock)); var _ocl = 0; if (_oci > 0) for (var _ocm = 0, _ocn = _ocd.have_slot_ids(); _ocm < _ocn.length; _ocm++) { var _oco = _ocn[_ocm], _ocp = _occ.default.model.slot.getMst(_oco), _ocq = _ocp.equipType; 12 != _ocq && 13 != _ocq || (_ocp.sakuteki >= 5 && (_ocl += _ocd.get_slotnums(parseInt(_oco))), _ocp.taiku >= 2 && _ocd.get_slotnums(parseInt(_oco))); } if (1 == _oci ? _ocl >= 1 && (_ocf.houg += 1, _ocf.kaih += 1, _ocf.raig += 3, _ocf.houm += 1) : 2 == _oci && _ocl >= 1 && (_ocf.houg += 2, _ocf.kaih += 1, _ocf.raig += 3, _ocf.houm += 3), 0 == _ocj) return _ocf; var _ocr = _ocd.get_each_level_nums(470), _ocs = 0, _oct = 0; if (_ocj > 0 && _ocr.forEach(function(_ocu, _ocv) { _ocv >= 5 && (_ocs += _ocu), _ocv >= 8 && (_oct += _ocu); }), 1 == _ocj) { _ocs >= 1 && (_ocf.houm += 1 * _ocs), _oct >= 1 && (_ocf.houg += 1 * _oct); var _ocw = _ocr[10]; _ocw >= 1 && (_ocf.houm += 1 * _ocw); } return _ocf; }; }, 78173: (_ocx, _ocy, _ocz) => { 'use strict'; var _od0 = null; defineModule(_ocy); Object.defineProperty(_ocy, '__esModule', { 'value': !0 }), _ocy.getSlot471PersonalEffect = void 0; var _od1 = _ocz(74496); _ocy.getSlot471PersonalEffect = function(_od2) { var _od3 = null, _od4 = new _od1.SlotItemEffectModel(), _od5 = !1, _od6 = new _od1.SlotItemEffectModel(), _od7 = 0; if ('フランス' == _od2.getCountryName() && (_od6.houg += 2, _od6.kaih += 2, _od6.houm += 2, _od5 = !0, _od7 = 1), 79 == _od2.ctype && (_od6.houg += 2, _od6.houm += 1, _od5 = !0), 0 == _od5) return _od4; var _od8 = _od2.get_slotnums(471); if (_od4.add(_od6.multiply(_od8)), 0 == _od7) return _od4; var _od9 = _od2.get_each_level_nums(471), _oda = 0, _odb = 0; if (_od7 > 0 && _od9.forEach(function(_odc, _odd) { _odd >= 6 && (_oda += _odc), _odd >= 8 && (_odb += _odc); }), 1 == _od7) { _oda >= 1 && (_od4.kaih += 1 * _oda, _od4.houm += 1 * _oda), _odb >= 1 && (_od4.houg += 1 * _odb, _od4.kaih += 1 * _odb, _od4.houm += 1 * _odb); var _ode = _od9[10]; _ode >= 1 && (_od4.houg += 1 * _ode, _od4.houm += 1 * _ode); } return _od4; }; }, 22581: (_odf, _odg, _odh) => { 'use strict'; var _odi = null; defineModule(_odg); Object.defineProperty(_odg, '__esModule', { 'value': !0 }), _odg.getSlot472PersonalEffect = void 0; var _odj = _odh(74496); _odg.getSlot472PersonalEffect = function(_odk) { var _odl = null, _odm = new _odj.SlotItemEffectModel(), _odn = !1, _odo = new _odj.SlotItemEffectModel(), _odp = _odk.getCountryName(); if ('アメリカ' == _odp && (_odo.tais += 2, _odn = !0), 'イギリス' == _odp && (_odo.tais += 1, _odn = !0), 1 == _odk.stype && (_odo.kaih += 1, _odn = !0), _odn) { var _odq = _odk.get_slotnums(472); _odm.add(_odo.multiply(_odq)); } return 920 == _odk.ship_id && (_odm.tais += 1, _odm.kaih += 1, _odm.houm += 1), _odm; }; }, 13053: (_odr, _ods, _odt) => { 'use strict'; var _odu = null; defineModule(_ods); Object.defineProperty(_ods, '__esModule', { 'value': !0 }), _ods.getSlot473PersonalEffect = void 0; var _odv = _odt(74496); _ods.getSlot473PersonalEffect = function(_odw) { var _odx = null, _ody = new _odv.SlotItemEffectModel(), _odz = !1, _oe0 = new _odv.SlotItemEffectModel(), _oe1 = _odw.getCountryName(); if ('アメリカ' == _oe1 && (_oe0.houg += 1, _oe0.kaih += 1, _oe0.tyku += 1, _odz = !0), 'イギリス' == _oe1 && (_oe0.houg += 1, _oe0.kaih += 1, _odz = !0), 0 == _odz) return _ody; var _oe2 = _odw.get_slotnums(473); return _ody.add(_oe0.multiply(_oe2)), _ody; }; }, 47874: (_oe3, _oe4, _oe5) => { 'use strict'; var _oe6 = null; defineModule(_oe4); Object.defineProperty(_oe4, '__esModule', { 'value': !0 }), _oe4.getSlot474PersonalEffect = void 0; var _oe7 = _oe5(74496); _oe4.getSlot474PersonalEffect = function(_oe8) { var _oe9 = null, _oea = new _oe7.SlotItemEffectModel(), _oeb = !1, _oec = new _oe7.SlotItemEffectModel(), _oed = _oe8.getCountryName(); if ('アメリカ' == _oed && (_oec.houg += 2, _oec.kaih += 1, _oec.tyku += 1, _oeb = !0), 'イギリス' == _oed && (_oec.houg += 1, _oec.kaih += 1, _oec.tyku += 1, _oeb = !0), 'フランス' == _oed && (_oec.houg += 1, _oec.tyku += 1, _oeb = !0), 707 != _oe8.ship_id && 930 != _oe8.ship_id || (_oec.houg += 1, _oec.kaih += 1, _oeb = !0), 0 == _oeb) return _oea; var _oee = _oe8.get_slotnums(474); return _oea.add(_oec.multiply(_oee)), _oea; }; }, 42788: (_oef, _oeg, _oeh) => { 'use strict'; var _oei = null; defineModule(_oeg); Object.defineProperty(_oeg, '__esModule', { 'value': !0 }), _oeg.getSlot478PersonalEffect = void 0; var _oej = _oeh(74496); _oeg.getSlot478PersonalEffect = function(_oek) { var _oel = null, _oem = new _oej.SlotItemEffectModel(), _oen = _oek.get_each_level_nums(478), _oeo = []; return _oen.forEach(function(_oep, _oeq) { var _oer = null; for (var _oes = 1; _oes <= _oek.SLOT_LEVEL_MAX; _oes++) _oeq >= _oes && (null == _oeo[_oes] && (_oeo[_oes] = 0), _oeo[_oes] += _oep); }), _oeo.every(function(_oet) { return 0 == _oet; }) || (_oeo[1] >= 1 && (_oem.houg += 1), _oeo[2] >= 1 && (_oem.houm += 1), _oeo[3] >= 1 && (_oem.kaih += 1), _oeo[4] >= 1 && (_oem.baku += 1), _oeo[5] >= 1 && (_oem.raig += 1), _oeo[6] >= 1 && (_oem.tyku += 1), _oeo[7] >= 1 && (_oem.houg += 1), _oeo[8] >= 1 && (_oem.houm += 1), _oeo[9] >= 1 && (_oem.kaih += 1), _oeo[10] >= 1 && (_oem.houg += 1)), _oem; }; }, 22218: (_oeu, _oev, _oew) => { 'use strict'; var _oex = null; defineModule(_oev); Object.defineProperty(_oev, '__esModule', { 'value': !0 }), _oev.getSlot47PersonalEffect = void 0; var _oey = _oew(74496); _oev.getSlot47PersonalEffect = function(_oez) { var _of0 = null, _of1 = new _oey.SlotItemEffectModel(), _of2 = new _oey.SlotItemEffectModel(); if (['あさしも', 'はるかぜ', 'かみかぜ', 'やまかぜ', 'まいかぜ', 'しぐれ'].indexOf(_oez.yomi) >= 0 ? (_of2.tais += 3, _of2.kaih += 2, _of2.houg += 1) : ['きしなみ', 'いそかぜ', 'はまかぜ', 'うしお', 'いかづち', 'やまぐも'].indexOf(_oez.yomi) >= 0 && (_of2.tais += 2, _of2.kaih += 2), !_of2.exists()) return _of1; var _of3 = _oez.get_slotnums(47) + _oez.get_slotnums(438); return _of1 = _of2.multiply(_of3); }; }, 57664: (_of4, _of5, _of6) => { 'use strict'; var _of7 = null; defineModule(_of5); Object.defineProperty(_of5, '__esModule', { 'value': !0 }), _of5.getSlot483PersonalEffect = void 0; var _of8 = _of6(74496); _of5.getSlot483PersonalEffect = function(_of9) { var _ofa = null, _ofb = new _of8.SlotItemEffectModel(), _ofc = 0, _ofd = 0, _ofe = 0, _off = 0, _ofg = 0, _ofh = 0, _ofi = 0; if (6 == _of9.ctype ? (_ofb.houg += 2, _ofb.tyku += 3, _ofb.houm += 1, _ofc = 1) : 2 == _of9.ctype ? (_ofb.houg += 1, _ofb.tyku += 2, _ofb.kaih += 2, _ofb.houm += 1, _ofd = 1) : 37 == _of9.ctype && (_ofe = 1), 8 == _of9.stype || 9 == _of9.stype || 10 == _of9.stype ? _off = 1 : 5 != _of9.stype && 6 != _of9.stype || (_ofg = 1), 149 == _of9.ship_id ? (_ofb.houg += 2, _ofb.tyku += 2) : 591 == _of9.ship_id ? (_ofb.houg += 3, _ofb.tyku += 3, _ofb.kaih += 1) : 150 == _of9.ship_id ? (_ofb.houg += 1, _ofb.tyku += 1) : 592 == _of9.ship_id ? (_ofb.houg += 2, _ofb.tyku += 2, _ofb.kaih += 2) : 151 == _of9.ship_id ? (_ofb.houg += 1, _ofb.tyku += 2, _ofb.kaih += 2) : 593 == _of9.ship_id ? (_ofb.houg += 2, _ofb.tyku += 5, _ofb.kaih += 3) : 954 == _of9.ship_id ? (_ofb.houg += 2, _ofb.tyku += 4, _ofb.kaih += 2) : 152 == _of9.ship_id ? (_ofb.houg += 2, _ofb.tyku += 2) : 911 == _of9.ship_id || 916 == _of9.ship_id || 546 == _of9.ship_id ? (_ofb.houg += 2, _ofb.tyku += 2, _ofb.kaih += 2, _ofh = 1) : 553 == _of9.ship_id || 554 == _of9.ship_id ? (_ofb.houg += 1, _ofb.tyku += 2, _ofb.kaih += 1, _ofi = 1) : 541 == _of9.ship_id || 411 == _of9.ship_id || 412 == _of9.ship_id ? (_ofb.houg += 1, _ofb.tyku += 2) : 573 == _of9.ship_id && (_ofb.houg += 2, _ofb.tyku += 2, _ofb.kaih += 1), 0 == [_ofc, _ofd, _ofe, _off, _ofg, _ofh, _ofi].reduce(function(_ofj, _ofk) { return _ofj + _ofk; }, 0)) return _ofb; var _ofl = _of9.get_each_level_nums(483), _ofm = 0, _ofn = []; return _ofl.forEach(function(_ofo, _ofp) { var _ofq = null; _ofp >= 6 && (_ofm += _ofo); for (var _ofr = 1; _ofr <= _of9.SLOT_LEVEL_MAX; _ofr++) null == _ofn[_ofr] && (_ofn[_ofr] = 0), _ofp >= _ofr && (_ofn[_ofr] += _ofo); }), 1 == _ofc ? (_ofm >= 1 && (_ofb.houm += 1), _ofl[10] >= 1 && (_ofb.houm += 1)) : 1 == _ofd ? (_ofn[5] >= 1 && (_ofb.kaih += 1), _ofn[6] >= 1 && (_ofb.houm += 1), _ofn[10] >= 1 && (_ofb.kaih += 1)) : 1 == _ofe && (_ofn[6] >= 1 && (_ofb.houm += 1), _ofn[10] >= 1 && (_ofb.kaih += 1)), 1 == _off ? (_ofn[2] >= 1 && (_ofb.tyku += 1), _ofn[4] >= 1 && (_ofb.houg += 1), _ofn[7] >= 1 && (_ofb.kaih += 1), _ofn[8] >= 1 && (_ofb.tyku += 1), _ofn[9] >= 1 && (_ofb.houg += 1)) : 1 == _ofg && (_ofn[2] >= 1 && (_ofb.tyku += 1), _ofn[4] >= 1 && (_ofb.houg += 1), _ofn[6] >= 1 && (_ofb.kaih += 1), _ofn[8] >= 1 && (_ofb.houm += 1), _ofn[10] >= 1 && (_ofb.houg += 1)), 1 == _ofh ? _ofn[5] >= 1 && (_ofb.houm += 1) : 1 == _ofi && (_ofn[1] >= 1 && (_ofb.houm += 1), _ofn[3] >= 1 && (_ofb.houm += 1)), _ofb; }; }, 44990: (_ofs, _oft, _ofu) => { 'use strict'; var _ofv = null; defineModule(_oft); Object.defineProperty(_oft, '__esModule', { 'value': !0 }), _oft.getSlot485PersonalEffect = void 0; var _ofw = _ofu(74496); _oft.getSlot485PersonalEffect = function(_ofx) { var _ofy = null, _ofz = new _ofw.SlotItemEffectModel(), _og0 = !1, _og1 = new _ofw.SlotItemEffectModel(); if (9 == _ofx.ctype && (_og1.houg += 1, _og1.kaih += 2, _og1.tyku += 3, _og0 = !0), 501 == _ofx.ship_id || 506 == _ofx.ship_id ? (_og1.kaih += 1, _og1.tyku += 2, _og1.houm += 1, _og0 = !0) : 502 != _ofx.ship_id && 507 != _ofx.ship_id || (_og1.kaih += 1, _og1.tyku += 1, _og1.houm += 1, _og0 = !0), _og0) { var _og2 = _ofx.get_slotnums(485); _ofz.add(_og1.multiply(_og2)); } var _og3 = _ofx.get_each_level_nums(485), _og4 = 0, _og5 = 0, _og6 = 0, _og7 = _og3[10]; return _og3.forEach(function(_og8, _og9) { _og9 >= 3 && (_og4 += _og8), _og9 >= 5 && (_og5 += _og8), _og9 >= 7 && (_og6 += _og8); }), _og4 > 0 && (_ofz.houg += 1 * _og4), _og5 > 0 && (_ofz.tyku += 1 * _og5), _og6 > 0 && (_ofz.kaih += 1 * _og6), _og7 > 0 && (_ofz.houm += 1 * _og7), _ofz; }; }, 83957: (_oga, _ogb, _ogc) => { 'use strict'; var _ogd = null; defineModule(_ogb); Object.defineProperty(_ogb, '__esModule', { 'value': !0 }), _ogb.getSlot486PersonalEffect = void 0; var _oge = _ogc(74496); _ogb.getSlot486PersonalEffect = function(_ogf) { var _ogg = null, _ogh = new _oge.SlotItemEffectModel(), _ogi = !1, _ogj = new _oge.SlotItemEffectModel(); if (894 == _ogf.ship_id || 899 == _ogf.ship_id ? (_ogj.houg += 4, _ogj.tyku += 4, _ogj.kaih += 3, _ogj.houm += 2, _ogi = !0) : 888 != _ogf.ship_id && 883 != _ogf.ship_id || (_ogj.houg += 2, _ogj.tyku += 2, _ogj.kaih += 2, _ogj.houm += 1, _ogi = !0), _ogi) { var _ogk = _ogf.get_slotnums(486); _ogh.add(_ogj.multiply(_ogk)); } var _ogl = _ogf.get_each_level_nums(486), _ogm = 0, _ogn = 0, _ogo = _ogl[10]; return _ogl.forEach(function(_ogp, _ogq) { _ogq >= 6 && (_ogm += _ogp), _ogq >= 8 && (_ogn += _ogp); }), _ogm > 0 && (_ogh.kaih += 1 * _ogm, _ogh.houm += 1 * _ogm), _ogn > 0 && (_ogh.tyku += 1 * _ogn, _ogh.kaih += 1 * _ogn), _ogo > 0 && (_ogh.houg += 1 * _ogo, _ogh.houm += 1 * _ogo), _ogh; }; }, 78539: (_ogr, _ogs, _ogt) => { 'use strict'; var _ogu = null; defineModule(_ogs); Object.defineProperty(_ogs, '__esModule', { 'value': !0 }), _ogs.getSlot487PersonalEffect = void 0; var _ogv = _ogt(74496); _ogs.getSlot487PersonalEffect = function(_ogw) { var _ogx = null, _ogy = new _ogv.SlotItemEffectModel(), _ogz = !1, _oh0 = new _ogv.SlotItemEffectModel(); if (894 == _ogw.ship_id || 899 == _ogw.ship_id ? (_oh0.houg += 5, _oh0.tyku += 3, _oh0.kaih += 2, _oh0.houm += 4, _ogz = !0) : 888 != _ogw.ship_id && 883 != _ogw.ship_id || (_oh0.houg += 3, _oh0.tyku += 1, _oh0.kaih += 1, _oh0.houm += 2, _ogz = !0), _ogz) { var _oh1 = _ogw.get_slotnums(487); _ogy.add(_oh0.multiply(_oh1)); } var _oh2 = _ogw.get_each_level_nums(487), _oh3 = 0, _oh4 = 0, _oh5 = _oh2[10]; return _oh2.forEach(function(_oh6, _oh7) { _oh7 >= 6 && (_oh3 += _oh6), _oh7 >= 8 && (_oh4 += _oh6); }), _oh3 > 0 && (_ogy.houg += 1 * _oh3, _ogy.kaih += 1 * _oh3), _oh4 > 0 && (_ogy.tyku += 1 * _oh4, _ogy.houm += 1 * _oh4), _oh5 > 0 && (_ogy.houg += 1 * _oh5, _ogy.houm += 1 * _oh5), _ogy; }; }, 96282: (_oh8, _oh9, _oha) => { 'use strict'; var _ohb = null; defineModule(_oh9); Object.defineProperty(_oh9, '__esModule', { 'value': !0 }), _oh9.getSlot488PersonalEffect = void 0; var _ohc = _oha(74496); _oh9.getSlot488PersonalEffect = function(_ohd) { var _ohe = null, _ohf = new _ohc.SlotItemEffectModel(), _ohg = !1, _ohh = new _ohc.SlotItemEffectModel(), _ohi = 0, _ohj = _ohd.getCountryName(), _ohk = { 145: 1, 961: 1, 557: 2, 558: 2, 228: 2, 656: 2, 651: 2, 243: 2, 412: 3, 411: 3, 419: 3, 235: 3, 407: 3, 538: 3, 537: 3, 663: 3, 668: 3, 43: 3 } [_ohd.ship_id]; if (('日本' == _ohj && 2 == _ohd.stype || { 74: 1, 77: 1, 85: 1, 117: 1, 104: 1 } [_ohd.ctype] && 1 == _ohd.stype) && (_ohh.tais += 1, _ohh.kaih += 1, _ohg = !0), 1 == _ohk ? (_ohh.tais += 5, _ohh.kaih += 4, _ohh.houm += 2, _ohg = !0, _ohi = 1) : 2 == _ohk ? (_ohh.tais += 2, _ohh.kaih += 1, _ohh.houm += 1, _ohg = !0, _ohi = 2) : 3 == _ohk && (_ohh.tais += 1, _ohg = !0, _ohi = 2), 0 == _ohg) return _ohf; var _ohl = _ohd.get_slotnums(488); if (_ohf.add(_ohh.multiply(_ohl)), 0 == _ohi) return _ohf; var _ohm = _ohd.get_each_level_nums(488), _ohn = []; return _ohm.forEach(function(_oho, _ohp) { var _ohq = null; for (var _ohr = 1; _ohr <= _ohd.SLOT_LEVEL_MAX; _ohr++) _ohp >= _ohr && (null == _ohn[_ohr] && (_ohn[_ohr] = 0), _ohn[_ohr] += _oho); }), 1 == _ohi ? (_ohn[3] >= 1 && (_ohf.kaih += 1 * _ohn[3]), _ohn[5] >= 1 && (_ohf.tais += 1 * _ohn[5]), _ohn[7] >= 1 && (_ohf.houm += 1 * _ohn[7]), _ohn[8] >= 1 && (_ohf.kaih += 1 * _ohn[8]), _ohn[9] >= 1 && (_ohf.tais += 1 * _ohn[9]), _ohn[10] >= 1 && (_ohf.tais += 1 * _ohn[10])) : 2 == _ohi && (_ohn[5] >= 1 && (_ohf.tais += 1 * _ohn[5]), _ohn[7] >= 1 && (_ohf.kaih += 1 * _ohn[7]), _ohn[9] >= 1 && (_ohf.houm += 1 * _ohn[9]), _ohn[10] >= 1 && (_ohf.tais += 1 * _ohn[10])), _ohf; }; }, 49679: (_ohs, _oht, _ohu) => { 'use strict'; var _ohv = null; defineModule(_oht); Object.defineProperty(_oht, '__esModule', { 'value': !0 }), _oht.getSlot489PersonalEffect = void 0; var _ohw = _ohu(74496); _oht.getSlot489PersonalEffect = function(_ohx) { var _ohy = null, _ohz = new _ohw.SlotItemEffectModel(), _oi0 = !1, _oi1 = new _ohw.SlotItemEffectModel(); if ('あきつまる' != _ohx.yomi && 'やましおまる' != _ohx.yomi && 'くまのまる' != _ohx.yomi || (_oi1.tyku = _oi1.tyku + 2, _oi1.kaih = _oi1.kaih + 1, _oi1.houg = _oi1.houg + 1, _oi1.tais = _oi1.tais + 1, _oi1.houm = _oi1.houm + 1, _oi0 = !0), 717 != _ohx.ship_id && 948 != _ohx.ship_id || (_oi1.tyku = _oi1.tyku + 2, _oi1.kaih = _oi1.kaih + 2, _oi1.houg = _oi1.houg + 2, _oi1.tais = _oi1.tais + 1, _oi1.houm = _oi1.houm + 1, _oi0 = !0), _oi0) { var _oi2 = _ohx.get_slotnums(489) + _ohx.get_slotnums(491); _ohz.add(_oi1.multiply(_oi2)); } var _oi3 = _ohx.get_each_level_nums(489), _oi4 = _ohx.get_each_level_nums(491), _oi5 = 0, _oi6 = 0, _oi7 = 0; _oi3.forEach(function(_oi8, _oi9) { _oi9 >= 3 && (_oi5 += _oi8), _oi9 >= 6 && (_oi6 += _oi8), _oi9 >= 8 && (_oi7 += _oi8); }), _oi4.forEach(function(_oia, _oib) { _oib >= 3 && (_oi5 += _oia), _oib >= 6 && (_oi6 += _oia), _oib >= 8 && (_oi7 += _oia); }); var _oic = _oi3[10] + _oi4[10]; return _oi5 >= 1 && (_ohz.kaih = _ohz.kaih + 1 * _oi5), _oi6 >= 1 && (_ohz.tais = _ohz.tais + 1 * _oi6), _oi7 >= 1 && (_ohz.houm = _ohz.houm + 1 * _oi7), _oic >= 1 && (_ohz.houg = _ohz.houg + 1 * _oic), _ohz; }; }, 90312: function(_oid, _oie, _oif) { 'use strict'; var _oig = null; var _oih = this && this.__importDefault || function(_oii) { var _oij = null; return _oii && _oii.__esModule ? _oii : { 'default': _oii }; }; defineModule(_oie); Object.defineProperty(_oie, '__esModule', { 'value': !0 }), _oie.getSlot502PersonalEffect = void 0; var _oik = _oif(74496), _oil = _oih(_oif(18622)); _oie.getSlot502PersonalEffect = function(_oim) { var _oin = null, _oio = new _oik.SlotItemEffectModel(), _oip = _oim.get_slotnums(502), _oiq = { 149: 2, 591: 2, 150: 1, 592: 1, 152: 1, 151: 2, 593: 5, 954: 3 }, _oir = { 149: 1, 591: 1, 592: 1, 151: 2, 593: 4, 954: 3 }, _ois = { 593: 1, 954: 1, 151: 2, 591: 2, 150: 3, 592: 3, 149: 3, 152: 3 }, _oit = { 593: 1, 151: 2, 149: 2, 591: 2, 954: 2 }, _oiu = { 151: 1, 593: 1, 954: 1 }; if (_oiq[_oim.ship_id]) { var _oiv = _oiq[_oim.ship_id]; _oio.houg += _oip * _oiv; } if (_oir[_oim.ship_id]) { var _oiw = _oir[_oim.ship_id]; _oio.tyku += _oip * _oiw; } if (_ois[_oim.ship_id]) { var _oix = _ois[_oim.ship_id], _oiy = _oim.get_each_level_nums(502), _oiz = []; _oiy.forEach(function(_oj0, _oj1) { var _oj2 = null; for (var _oj3 = 1; _oj3 <= _oim.SLOT_LEVEL_MAX; _oj3++) _oj1 >= _oj3 && (null == _oiz[_oj3] && (_oiz[_oj3] = 0), _oiz[_oj3] += _oj0); }), 1 == _oix ? (_oio.kaih += 3 * _oip, _oiz[1] > 0 && (_oio.kaih += 1 * _oiz[1]), _oiz[3] > 0 && (_oio.tyku += 1 * _oiz[3]), _oiz[5] > 0 && (_oio.houg += 1 * _oiz[5]), _oiz[7] > 0 && (_oio.kaih += 1 * _oiz[7]), _oiz[8] > 0 && (_oio.tyku += 1 * _oiz[8]), _oiz[9] > 0 && (_oio.houg += 1 * _oiz[9]), _oiz[10] > 0 && (_oio.tyku += 1 * _oiz[10])) : 2 == _oix ? (_oio.kaih += 1 * _oip, _oiz[2] > 0 && 151 == _oim.ship_id && (_oio.kaih += 1 * _oiz[2]), _oiz[4] > 0 && (_oio.tyku += 1 * _oiz[4]), _oiz[6] > 0 && (_oio.houg += 1 * _oiz[6]), _oiz[8] > 0 && (_oio.kaih += 1 * _oiz[8]), _oiz[10] > 0 && (_oio.tyku += 1 * _oiz[10])) : 3 == _oix && (_oiz[5] > 0 && (_oio.kaih += 1 * _oiz[5]), _oiz[8] > 0 && (_oio.houg += 1 * _oiz[8]), _oiz[10] > 0 && (_oio.tyku += 1 * _oiz[10])); } if (_oit[_oim.ship_id]) { for (var _oj4 = 0, _oj5 = 0, _oj6 = _oim.have_slot_ids(); _oj5 < _oj6.length; _oj5++) { var _oj7 = _oj6[_oj5], _oj8 = _oil.default.model.slot.getMst(_oj7), _oj9 = _oj8.equipType; 12 != _oj9 && 13 != _oj9 || (_oj8.sakuteki >= 5 && (_oj4 += _oim.get_slotnums(parseInt(_oj7))), _oj8.taiku >= 2 && _oim.get_slotnums(parseInt(_oj7))); } 0; var _oja = _oit[_oim.ship_id]; 1 == _oja && _oj4 >= 1 ? (_oio.houg += 3, _oio.kaih += 4) : 2 == _oja && _oj4 >= 1 && (_oio.houg += 2, _oio.kaih += 2); } if (_oiu[_oim.ship_id]) { var _ojb = _oiu[_oim.ship_id], _ojc = [], _ojd = [], _oje = _oim.have_slot_ids(); [410, 411].forEach(function(_ojf) { var _ojg = null; _oje.indexOf(_ojf.toString()) > -1 && (_ojd[_ojf] = _oim.get_each_level_nums(_ojf), null == _ojc[_ojf] && (_ojc[_ojf] = []), _ojd[_ojf].forEach(function(_ojh, _oji) { var _ojj = null; for (var _ojk = 1; _ojk <= _oim.SLOT_LEVEL_MAX; _ojk++) null == _ojc[_ojf][_ojk] && (_ojc[_ojf][_ojk] = 0), _oji >= _ojk && (_ojc[_ojf][_ojk] += _ojh); })); }); var _ojl = _ojd[410], _ojm = _ojd[411]; if (1 == _ojb) { if (_ojl) { _oio.tyku += 1; var _ojn = _ojc[410]; _ojn[7] >= 1 && (_oio.houg += 1), _ojn[10] >= 1 && (_oio.kaih += 1); } if (_ojm) { _oio.tyku += 2; var _ojo = _ojc[411]; _ojo[2] >= 1 && (_oio.houg += 1), _ojo[4] >= 1 && (_oio.kaih += 1), _ojo[6] >= 1 && (_oio.houm += 1), _ojo[8] >= 1 && (_oio.tyku += 1), _ojo[10] >= 1 && (_oio.houg += 1); } } } return _oio; }; }, 86856: function(_ojp, _ojq, _ojr) { 'use strict'; var _ojs = null; var _ojt = this && this.__importDefault || function(_oju) { var _ojv = null; return _oju && _oju.__esModule ? _oju : { 'default': _oju }; }; defineModule(_ojq); Object.defineProperty(_ojq, '__esModule', { 'value': !0 }), _ojq.getSlot503PersonalEffect = void 0; var _ojw = _ojr(74496), _ojx = _ojt(_ojr(18622)); _ojq.getSlot503PersonalEffect = function(_ojy) { var _ojz = null, _ok0 = new _ojw.SlotItemEffectModel(), _ok1 = _ojy.get_slotnums(503), _ok2 = { 149: 2, 150: 2, 151: 2, 152: 2, 591: 3, 592: 3, 593: 4, 954: 4 }, _ok3 = { 149: 1, 591: 1, 592: 1, 151: 2, 593: 4, 954: 3 }, _ok4 = { 593: 1, 954: 1, 151: 2, 591: 2, 592: 2, 149: 3, 150: 3, 152: 3 }, _ok5 = { 954: 1, 151: 2, 591: 2, 592: 2, 593: 2 }, _ok6 = { 591: 1, 592: 1, 593: 1, 954: 1 }, _ok7 = { 591: 1, 592: 2, 593: 2, 954: 3 }; if (_ok2[_ojy.ship_id]) { var _ok8 = _ok2[_ojy.ship_id]; _ok0.houg += _ok1 * _ok8; } if (_ok3[_ojy.ship_id]) { var _ok9 = _ok3[_ojy.ship_id]; _ok0.tyku += _ok1 * _ok9; } if (_ok4[_ojy.ship_id]) { var _oka = _ok4[_ojy.ship_id], _okb = _ojy.get_each_level_nums(503), _okc = []; _okb.forEach(function(_okd, _oke) { var _okf = null; for (var _okg = 1; _okg <= _ojy.SLOT_LEVEL_MAX; _okg++) _oke >= _okg && (null == _okc[_okg] && (_okc[_okg] = 0), _okc[_okg] += _okd); }), 1 == _oka ? (_ok0.houm += 2 * _ok1, _okc[1] > 0 && (_ok0.houg += 1 * _okc[1]), _okc[2] > 0 && (_ok0.tyku += 1 * _okc[2]), _okc[4] > 0 && (_ok0.houm += 1 * _okc[4]), _okc[6] > 0 && (_ok0.houg += 1 * _okc[6]), _okc[8] > 0 && (_ok0.tyku += 1 * _okc[8]), _okc[10] > 0 && (_ok0.houm += 1 * _okc[10])) : 2 == _oka ? (_ok0.houm += 1 * _ok1, _okc[2] > 0 && (_ok0.houg += 1 * _okc[2]), _okc[4] > 0 && (_ok0.tyku += 1 * _okc[4]), _okc[6] > 0 && (_ok0.houm += 1 * _okc[6]), _okc[8] > 0 && (_ok0.houg += 1 * _okc[8]), _okc[10] > 0 && (_ok0.houm += 1 * _okc[10])) : 3 == _oka && (_okc[4] > 0 && (_ok0.houm += 1 * _okc[4]), _okc[7] > 0 && (_ok0.houg += 1 * _okc[7]), _okc[10] > 0 && (_ok0.tyku += 1 * _okc[10])); } var _okh = 0; _ok5[_ojy.ship_id] && (_okh = _ok5[_ojy.ship_id]); var _oki = 0; _ok7[_ojy.ship_id] && (_oki = _ok7[_ojy.ship_id]); var _okj = 0, _okk = 0, _okl = _ojy.have_slot_ids(); if (_okh + _oki > 0) for (var _okm = 0, _okn = _okl; _okm < _okn.length; _okm++) { var _oko = _okn[_okm], _okp = _ojx.default.model.slot.getMst(_oko), _okq = _okp.equipType; 12 != _okq && 13 != _okq || (_okp.sakuteki >= 5 && (_okj += _ojy.get_slotnums(parseInt(_oko))), _okp.taiku >= 2 && _ojy.get_slotnums(parseInt(_oko)), _okp.meichu >= 8 && (_okk += _ojy.get_slotnums(parseInt(_oko)))); } 1 == _okh ? _okj >= 1 && (_ok0.houg += 3, _ok0.houm += 3, _ok0.kaih += 2) : 2 == _okh && _okj >= 1 && (_ok0.houg += 2, _ok0.houm += 2, _ok0.kaih += 1); var _okr = 0, _oks = [], _okt = []; if (_ok6[_ojy.ship_id]) { _okr = _ok6[_ojy.ship_id]; var _oku = _ojy.have_slot_ids(); [174].forEach(function(_okv) { var _okw = null; _oku.indexOf(_okv.toString()) > -1 && (_okt[_okv] = _ojy.get_each_level_nums(_okv), null == _oks[_okv] && (_oks[_okv] = []), _okt[_okv].forEach(function(_okx, _oky) { var _okz = null; for (var _ol0 = 1; _ol0 <= _ojy.SLOT_LEVEL_MAX; _ol0++) null == _oks[_okv][_ol0] && (_oks[_okv][_ol0] = 0), _oky >= _ol0 && (_oks[_okv][_ol0] += _okx); })); }); } if (_okr > 0) { var _ol1 = _okt[174]; if (1 == _okr && _ol1) { var _ol2 = _oks[174]; _ok0.raig += 4, _ol2[6] >= 1 && (_ok0.raig += 1), _ol2[8] >= 1 && (_ok0.houm += 1), _ol2[10] >= 1 && (_ok0.houg += 1); } } return _okk > 0 && (_oki >= 1 && _oki <= 3 && (_ok0.houg += 2, _ok0.houm += 2, _ok0.kaih += 2), 1 == _oki ? _ok0.houg += 1 : 3 == _oki && (_ok0.houg += 2)), _ok0; }; }, 78123: function(_ol3, _ol4, _ol5) { 'use strict'; var _ol6 = null; var _ol7 = this && this.__importDefault || function(_ol8) { var _ol9 = null; return _ol8 && _ol8.__esModule ? _ol8 : { 'default': _ol8 }; }; defineModule(_ol4); Object.defineProperty(_ol4, '__esModule', { 'value': !0 }), _ol4.getSlot505PersonalEffect = void 0; var _ola = _ol5(74496), _olb = _ol7(_ol5(18622)); _ol4.getSlot505PersonalEffect = function(_olc) { var _old = null, _ole = new _ola.SlotItemEffectModel(), _olf = !1, _olg = new _ola.SlotItemEffectModel(); if (2 == _olc.stype ? (_olg.houg += 1, _olg.tyku += 2, _olg.kaih += 2, _olf = !0) : 1 == _olc.stype ? (_olg.houg += 1, _olg.tyku += 1, _olg.kaih += 1, _olf = !0) : 3 == _olc.stype || 21 == _olc.stype || 4 == _olc.stype ? (_olg.tyku += 1, _olg.kaih += 2, _olf = !0) : 5 != _olc.stype && 6 != _olc.stype && 16 != _olc.stype || (_olg.tyku += 1, _olg.kaih += 1, _olf = !0), _olf) { var _olh = _olc.get_slotnums(505); _ole.add(_olg.multiply(_olh)); } var _oli = { 961: 1, 145: 2, 497: 2, 656: 2, 668: 2, 951: 2, 498: 3, 144: 3, 242: 3, 243: 3, 228: 3, 651: 3, 244: 4, 245: 4, 323: 4, 557: 5, 558: 5, 578: 5, 419: 5, 464: 5, 470: 5, 407: 5, 235: 5, 147: 5, 955: 5, 960: 5 }, _olj = { 961: 1, 145: 2, 497: 2, 656: 2, 419: 2, 951: 2 }, _olk = { 961: 1, 656: 1, 951: 1 }; 1 == _oli[_olc.ship_id] ? (_ole.houg += 2, _ole.tyku += 3, _ole.kaih += 4) : 2 == _oli[_olc.ship_id] ? (_ole.houg += 1, _ole.tyku += 2, _ole.kaih += 3) : 3 == _oli[_olc.ship_id] ? (_ole.tyku += 2, _ole.kaih += 2) : 4 == _oli[_olc.ship_id] ? (_ole.tyku += 1, _ole.kaih += 2) : 5 == _oli[_olc.ship_id] && (_ole.houg += 1, _ole.tyku += 1, _ole.kaih += 1); var _oll = 0; if (_olj[_olc.ship_id] && _oll++, _olk[_olc.ship_id] && _oll++, 0 == _oll) return _ole; for (var _olm = 0, _oln = 0, _olo = 0, _olp = _olc.have_slot_ids(); _olo < _olp.length; _olo++) { var _olq = _olp[_olo], _olr = _olb.default.model.slot.getMst(_olq), _ols = _olr.equipType; 12 != _ols && 13 != _ols || (_olr.sakuteki >= 5 && (_olm += _olc.get_slotnums(parseInt(_olq))), _olr.taiku >= 2 && (_oln += _olc.get_slotnums(parseInt(_olq)))); } var _olt = _olj[_olc.ship_id]; _oln > 0 && _olt > 0 && (1 == _olt ? (_ole.houg += 1, _ole.tyku += 2, _ole.kaih += 3) : 2 == _olt && (_ole.tyku += 2, _ole.kaih += 2)); var _olu = _olk[_olc.ship_id]; return _olm > 0 && _olu > 0 && 1 == _olu && (_ole.houg += 1, _ole.kaih += 1), _ole; }; }, 25765: (_olv, _olw, _olx) => { 'use strict'; var _oly = null; defineModule(_olw); Object.defineProperty(_olw, '__esModule', { 'value': !0 }), _olw.getSlot506PersonalEffect = void 0; var _olz = _olx(74496); _olw.getSlot506PersonalEffect = function(_om0) { var _om1 = null, _om2 = new _olz.SlotItemEffectModel(); return 961 == _om0.ship_id ? (_om2.houg += 2, _om2.houm += 3, _om2.tyku += 2, _om2.kaih += 4) : 145 == _om0.ship_id || 497 == _om0.ship_id || 656 == _om0.ship_id || 557 == _om0.ship_id || 558 == _om0.ship_id || 951 == _om0.ship_id ? (_om2.houg += 1, _om2.houm += 2, _om2.tyku += 1, _om2.kaih += 3) : 578 != _om0.ship_id && 419 != _om0.ship_id && 464 != _om0.ship_id && 470 != _om0.ship_id && 407 != _om0.ship_id && 235 != _om0.ship_id && 147 != _om0.ship_id && 538 != _om0.ship_id && 537 != _om0.ship_id && 955 != _om0.ship_id && 960 != _om0.ship_id || (_om2.houg += 1, _om2.houm += 1, _om2.tyku += 1, _om2.kaih += 2), _om2; }; }, 88271: function(_om3, _om4, _om5) { 'use strict'; var _om6 = null; var _om7 = this && this.__importDefault || function(_om8) { var _om9 = null; return _om8 && _om8.__esModule ? _om8 : { 'default': _om8 }; }; defineModule(_om4); Object.defineProperty(_om4, '__esModule', { 'value': !0 }), _om4.getSlot50PersonalEffect = void 0; var _oma = _om5(74496), _omb = _om7(_om5(18622)); _om4.getSlot50PersonalEffect = function(_omc) { var _omd = null, _ome = new _oma.SlotItemEffectModel(), _omf = !1, _omg = new _oma.SlotItemEffectModel(); 7 != _omc.ctype && 13 != _omc.ctype && 8 != _omc.ctype && 29 != _omc.ctype && 9 != _omc.ctype && 31 != _omc.ctype || (_omg.houg += 1, _omf = !0), 8 != _omc.ctype && 29 != _omc.ctype && 9 != _omc.ctype && 31 != _omc.ctype || (_omg.houg += 1, _omg.kaih += 1, _omf = !0); var _omh = _omc.get_slotnums(50); 9 != _omc.ctype && 31 != _omc.ctype || _omh >= 2 && (_omg.houg += 1, _omf = !0); var _omi = 0; if (501 != _omc.ship_id && 506 != _omc.ship_id && 502 != _omc.ship_id && 507 != _omc.ship_id || (_omg.houg += 1, _omf = !0, _omi = 1), 0 == _omf) return _ome; _ome = _omg.multiply(_omh); for (var _omj = 0, _omk = 0, _oml = _omc.have_slot_ids(); _omk < _oml.length; _omk++) { var _omm = _oml[_omk], _omn = _omb.default.model.slot.getMst(_omm), _omo = _omn.equipType; 12 != _omo && 13 != _omo || _omn.sakuteki >= 5 && (_omj += _omc.get_slotnums(parseInt(_omm))); } if (_omj > 0) { if (7 == _omc.ctype || 13 == _omc.ctype) 0 == _omc.get_slotnums(90) && (_ome.houg += 1, _ome.kaih += 1, _ome.raig += 1); else 8 != _omc.ctype && 29 != _omc.ctype && 9 != _omc.ctype && 31 != _omc.ctype || (_ome.houg += 3, _ome.kaih += 2, _ome.raig += 2); 501 != _omc.ship_id && 506 != _omc.ship_id || (_ome.houg += 1, _ome.kaih += 1); } var _omp = _omc.get_slotnums(30), _omq = _omc.get_slotnums(410); return 1 == _omi && (_omp + _omq > 0 && (_ome.houg += 1, _ome.tyku += 3, _ome.kaih += 2), _omq > 0 && (_ome.houg += 2)), _ome; }; }, 28221: (_omr, _oms, _omt) => { 'use strict'; var _omu = null; defineModule(_oms); Object.defineProperty(_oms, '__esModule', { 'value': !0 }), _oms.getSlot510PersonalEffect = void 0; var _omv = _omt(74496); _oms.getSlot510PersonalEffect = function(_omw) { var _omx = null, _omy = new _omv.SlotItemEffectModel(), _omz = !1, _on0 = new _omv.SlotItemEffectModel(); if ('イギリス' == _omw.getCountryName() && (_on0.houg += 2, _on0.tais += 3, _on0.kaih += 2, _on0.saku += 2, _omz = !0), 88 == _omw.ctype && (_omy.houg += 4, _omy.kaih += 2, _on0.saku += 3, _on0.houm += 2, _omz = !0), 0 == _omz) return _omy; var _on1 = _omw.get_slotnums(510); return _omy.add(_on0.multiply(_on1)), _omy; }; }, 14830: (_on2, _on3, _on4) => { 'use strict'; var _on5 = null; defineModule(_on3); Object.defineProperty(_on3, '__esModule', { 'value': !0 }), _on3.getSlot511PersonalEffect = void 0; var _on6 = _on4(74496); _on3.getSlot511PersonalEffect = function(_on7) { var _on8 = null, _on9 = new _on6.SlotItemEffectModel(); return 122 == _on7.ctype ? (_on9.raig += 3, _on9.kaih += 4) : 114 == _on7.ctype && (_on9.raig += 1, _on9.kaih += 2), _on9; }; }, 54047: (_ona, _onb, _onc) => { 'use strict'; var _ond = null; defineModule(_onb); Object.defineProperty(_onb, '__esModule', { 'value': !0 }), _onb.getSlot517PersonalEffect = void 0; var _one = _onc(74496); _onb.getSlot517PersonalEffect = function(_onf) { var _ong = null, _onh = new _one.SlotItemEffectModel(); null == { 66: 0, 28: 0, 12: 0, 1: 0, 5: 0, 10: 0, 23: 0, 18: 0, 30: 0, 38: 0, 22: 0, 54: 0, 101: 0 } [_onf.ctype] && 74 != _onf.ctype && 77 != _onf.ctype && 85 != _onf.ctype && 117 != _onf.ctype && 104 != _onf.ctype || (_onh.houm += 1, _onh.kaih += 1, _onh.saku += 1), 38 == _onf.ctype && (_onh.houg += 1, _onh.houm += 1), 960 == _onf.ship_id ? (_onh.houg += 2, _onh.houm += 1, _onh.kaih += 3, _onh.saku += 2) : 955 != _onf.ship_id && 578 != _onf.ship_id && 961 != _onf.ship_id && 656 != _onf.ship_id && 464 != _onf.ship_id && 470 != _onf.ship_id && 419 != _onf.ship_id && 407 != _onf.ship_id && 235 != _onf.ship_id && 147 != _onf.ship_id || (_onh.houg += 1, _onh.houm += 1, _onh.kaih += 2, _onh.saku += 1); for (var _oni = [], _onj = function(_onk) { var _onl = null, _onm = _onf.get_each_level_nums(_onk); null == _oni[_onk] && (_oni[_onk] = []), _onm.forEach(function(_onn, _ono) { var _onp = null; for (var _onq = 1; _onq <= _onf.SLOT_LEVEL_MAX; _onq++) null == _oni[_onk][_onq] && (_oni[_onk][_onq] = 0), _ono >= _onq && (_oni[_onk][_onq] += _onn); }); }, _onr = 0, _ons = [267, 366, 450, 517]; _onr < _ons.length; _onr++) { _onj(_ons[_onr]); } var _ont = _oni[517]; return _ont[7] > 0 && (_onh.houm += 1), _ont[8] > 0 && (_onh.kaih += 1), _ont[9] > 0 && (_onh.houg += 1), _ont[10] > 0 && (_onh.houm += 1), (_oni[267][3] > 0 || _oni[366][3] > 0) && (_onh.houg += 1, _onh.houm += 1, 38 == _onf.ctype && (_onh.houg += 1, _onh.houm += 1), _oni[450][4] > 0 && (_onh.houg += 1, _onh.houm += 1, _onh.tyku += 4, _onh.kaih += 3)), _onh; }; }, 76054: (_onu, _onv, _onw) => { 'use strict'; var _onx = null; defineModule(_onv); Object.defineProperty(_onv, '__esModule', { 'value': !0 }), _onv.getSlot518PersonalEffect = void 0; var _ony = _onw(74496); _onv.getSlot518PersonalEffect = function(_onz) { var _oo0 = null, _oo1 = new _ony.SlotItemEffectModel(), _oo2 = !1, _oo3 = new _ony.SlotItemEffectModel(); if (34 != _onz.ctype && 56 != _onz.ctype || (_oo3.houg += 1, _oo3.tyku += 1, _oo3.tais += 1, _oo3.kaih += 1, _oo2 = !0), 16 == _onz.stype && (_oo3.houg += 1, _oo3.raig += 1, _oo3.kaih += 1, _oo2 = !0), 622 != _onz.ship_id && 624 != _onz.ship_id && 623 != _onz.ship_id || (_oo3.houg += 1, _oo2 = !0), 622 != _onz.ship_id && 624 != _onz.ship_id || (_oo3.tyku += 1, _oo2 = !0), 624 == _onz.ship_id && (_oo3.tais += 2, _oo2 = !0), 0 == _oo2) return _oo1; var _oo4 = _onz.get_slotnums(518); return _oo1.add(_oo3.multiply(_oo4)), _oo1; }; }, 93053: (_oo5, _oo6, _oo7) => { 'use strict'; var _oo8 = null; defineModule(_oo6); Object.defineProperty(_oo6, '__esModule', { 'value': !0 }), _oo6.getSlot519PersonalEffect = void 0; var _oo9 = _oo7(74496); _oo6.getSlot519PersonalEffect = function(_ooa) { var _oob = null, _ooc = new _oo9.SlotItemEffectModel(); return 122 == _ooa.ctype && (_ooc.houm += 2, _ooc.kaih += 2), 114 == _ooa.ctype && (_ooc.raig += 1, _ooc.houm += 2, _ooc.kaih += 2), _ooc; }; }, 81254: (_ood, _ooe, _oof) => { 'use strict'; var _oog = null; defineModule(_ooe); Object.defineProperty(_ooe, '__esModule', { 'value': !0 }), _ooe.getSlot51cmSeriesGunPersonalEffect = void 0; var _ooh = _oof(74496); _ooe.getSlot51cmSeriesGunPersonalEffect = function(_ooi) { var _ooj = null, _ook = new _ooh.SlotItemEffectModel(), _ool = !1, _oom = new _ooh.SlotItemEffectModel(), _oon = _ooi.get_slotnums(142), _ooo = _ooi.get_slotnums(460), _oop = _oon + _ooo; if (916 != _ooi.ship_id && 911 != _ooi.ship_id && 546 != _ooi.ship_id || (_oom.houg += 1, _oom.houm += 1, _ooo >= 1 && (_ook.kaih += 1, _ook.houm += 1), _ool = !0), 37 == _ooi.ctype && _oop >= 1 && (_ook.houg += 1, _ook.houm += 2), 0 == _ool) return _ook; var _ooq = _ooi.get_slotnums(128) + _ooi.get_slotnums(281); return _ook.add(_oom.multiply(_ooq)), _ook; }; }, 88792: (_oor, _oos, _oot) => { 'use strict'; var _oou = null; defineModule(_oos); Object.defineProperty(_oos, '__esModule', { 'value': !0 }), _oos.getSlot520PersonalEffect = void 0; var _oov = _oot(74496); _oos.getSlot520PersonalEffect = function(_oow) { var _oox = null, _ooy = new _oov.SlotItemEffectModel(), _ooz = !1, _op0 = new _oov.SlotItemEffectModel(), _op1 = 0, _op2 = 0, _op3 = 0, _op4 = _oow.get_slotnums(520); 7 == _oow.ctype || 13 == _oow.ctype ? (_op0.houg += 1, _ooz = !0, _op2 = 1, _op3 = 1) : 8 == _oow.ctype || 29 == _oow.ctype ? (_op0.houg += 2, _op0.kaih += 1, _ooz = !0, _op2 = 2, _op3 = 1) : 9 != _oow.ctype && 31 != _oow.ctype || (_op0.houg += 3, _op0.kaih += 1, _op0.houm += 1, _ooz = !0, _op2 = 2, _op3 = 1, 2 == _op4 && (_ooy.houg += 2), _op4 >= 3 && (_ooy.houg += 4)); var _op5 = _oow.get_have_rader_nums().water_rader, _op6 = 0, _op7 = 0; if (_op2 + _op3 > 0) { for (var _op8 = _oow.getSpItemDict_FukuhouTaikuHeisou(), _op9 = _oow.getSpItemDict_Tansou21GouDentan(), _opa = 0, _opb = _oow.have_slot_ids(); _opa < _opb.length; _opa++) { var _opc = _opb[_opa], _opd = parseInt(_opc); null != _op8[_opd] ? (_op8[_opd] += _oow.get_slotnums(_opd), _op6 += _oow.get_slotnums(_opd)) : null != _op9[_opd] && (_op9[_opd] += _oow.get_slotnums(_opd), _op7 += _oow.get_slotnums(_opd)); } _op5 > 0 && (1 == _op2 ? (_ooy.houg += 2, _ooy.raig += 2, _ooy.kaih += 1, _ooy.houm += 1) : 2 == _op2 && (_ooy.houg += 3, _ooy.raig += 2, _ooy.kaih += 2, _ooy.houm += 1)), _op6 > 0 && 1 == _op3 && (_ooy.houg += 1, _ooy.tyku += 4, _ooy.kaih += 4, _ooy.houm += 1); } if (269 == _oow.ship_id || 265 == _oow.ship_id || 319 == _oow.ship_id ? (2 == _op4 && (_ooy.houg += 2), _op4 >= 3 && (_ooy.houg += 4)) : 501 != _oow.ship_id && 506 != _oow.ship_id && 502 != _oow.ship_id && 507 != _oow.ship_id && 503 != _oow.ship_id && 504 != _oow.ship_id || (_op0.houg += 1, _ooz = !0, _op5 >= 1 && (_ooy.houg += 1, _ooy.kaih += 1, _ooy.houm += 2), _op7 >= 1 && (_ooy.houg += 1, _ooy.tyku += 3, _ooy.kaih += 2, _ooy.houm += 1), _oow.get_slotnums(410) > 0 && (_ooy.houg += 2, _ooy.tyku += 3, _ooy.kaih += 2, _ooy.houm += 1), _op1 = 1), 502 == _oow.ship_id || 269 == _oow.ship_id || 265 == _oow.ship_id || 319 == _oow.ship_id ? (_op0.houg += 1, _op0.houm += 1, _ooz = !0) : 507 == _oow.ship_id && (_op0.houg += 1, _op0.houm += 2, _op0.tyku += 1, _ooz = !0), _ooz && _ooy.add(_op0.multiply(_op4)), 0 == _op1) return _ooy; var _ope = _oow.get_each_level_over_nums([520]), _opf = _ope[520][7], _opg = _ope[520][10]; return 1 == _op1 && (_opf > 0 && (_ooy.houg += 1 * _opf), _opg > 0 && (_ooy.houm += 1 * _opg)), _ooy; }; }, 33242: (_oph, _opi, _opj) => { 'use strict'; var _opk = null; defineModule(_opi); Object.defineProperty(_opi, '__esModule', { 'value': !0 }), _opi.getSlot521PersonalEffect = void 0; var _opl = _opj(74496); _opi.getSlot521PersonalEffect = function(_opm) { var _opn = null, _opo = new _opl.SlotItemEffectModel(), _opp = !1, _opq = new _opl.SlotItemEffectModel(), _opr = 0; if (52 == _opm.ctype && (_opr = 1), 183 == _opm.ship_id ? (_opq.houg += 1, _opq.houm += 1, _opq.saku += 2, _opq.kaih += 2, _opp = !0) : 321 == _opm.ship_id ? (_opq.houg += 2, _opq.houm += 2, _opq.saku += 3, _opq.kaih += 3, _opp = !0) : 507 == _opm.ship_id && (_opq.houg += 3, _opq.tyku += 1, _opq.houm += 3, _opq.saku += 2, _opq.kaih += 2, _opp = !0, _opr = 1), _opp) { var _ops = _opm.get_slotnums(521); _opo.add(_opq.multiply(_ops)); } if (0 == _opr) return _opo; var _opt = _opm.get_each_level_over_nums([521])[521]; return 1 == _opr && (_opt[1] >= 1 && (_opo.houm += 1 * _opt[1]), _opt[2] >= 1 && (_opo.kaih += 1 * _opt[2]), _opt[3] >= 1 && (_opo.saku += 1 * _opt[3], _opo.raig += 1 * _opt[3]), _opt[4] >= 1 && (_opo.houg += 1 * _opt[4]), _opt[6] >= 1 && (_opo.houm += 1 * _opt[6]), _opt[8] >= 1 && (_opo.saku += 1 * _opt[8]), _opt[10] >= 1 && (_opo.houm += 1 * _opt[10])), _opo; }; }, 3296: (_opu, _opv, _opw) => { 'use strict'; var _opx = null; defineModule(_opv); Object.defineProperty(_opv, '__esModule', { 'value': !0 }), _opv.getSlot522_523PersonalEffect = void 0; var _opy = _opw(74496); _opv.getSlot522_523PersonalEffect = function(_opz) { var _oq0 = null, _oq1 = new _opy.SlotItemEffectModel(), _oq2 = !1, _oq3 = new _opy.SlotItemEffectModel(), _oq4 = 0, _oq5 = _opz.get_slotnums(522), _oq6 = _opz.get_slotnums(523), _oq7 = _oq5 + _oq6; if (14 == _opz.stype && (_oq3.raig += 1, _oq3.kaih += 5, _oq3.houm += 1, _oq3.saku += 3, _oq2 = !0, _oq6 >= 1 && (_oq1.raig += 2 * _oq6, _oq1.baku += 2 * _oq6, _oq1.kaih += 1 * _oq6, _oq1.houm += 1 * _oq6, _oq1.saku += 1 * _oq6), _oq4 = 1), 0 == _oq2) return _oq1; if (_oq1.add(_oq3.multiply(_oq7)), 0 == _oq4) return _oq1; var _oq8 = _opz.get_each_level_over_nums([522, 523]), _oq9 = _oq8[522], _oqa = _oq8[523]; if (1 == _oq4) { if (_oq9[1] >= 1 || _oqa[1] >= 1) { var _oqb = _oq9[1] + _oqa[1]; _oq1.raig += 1 * _oqb; } if (_oq9[2] >= 1 || _oqa[2] >= 1) { var _oqc = _oq9[2] + _oqa[2]; _oq1.houm += 1 * _oqc; } if (_oq9[3] >= 1 || _oqa[3] >= 1) { var _oqd = _oq9[3] + _oqa[3]; _oq1.kaih += 1 * _oqd; } if (_oq9[5] >= 1 || _oqa[5] >= 1) { var _oqe = _oq9[5] + _oqa[5]; _oq1.saku += 1 * _oqe; } if (_oq9[8] >= 1 || _oqa[8] >= 1) { var _oqf = _oq9[8] + _oqa[8]; _oq1.houm += 1 * _oqf; } if (_oq9[10] >= 1 || _oqa[10] >= 1) { var _oqg = _oq9[10] + _oqa[10]; _oq1.kaih += 1 * _oqg; } } return _oq1; }; }, 59415: (_oqh, _oqi, _oqj) => { 'use strict'; var _oqk = null; defineModule(_oqi); Object.defineProperty(_oqi, '__esModule', { 'value': !0 }), _oqi.getSlot524PersonalEffect = void 0; var _oql = _oqj(74496); _oqi.getSlot524PersonalEffect = function(_oqm) { var _oqn = null, _oqo = new _oql.SlotItemEffectModel(), _oqp = !1, _oqq = new _oql.SlotItemEffectModel(), _oqr = 0, _oqs = 0; if (17 != _oqm.stype && 19 != _oqm.stype && 20 != _oqm.stype && 21 != _oqm.stype && 22 != _oqm.stype || (_oqq.houg += 1, _oqq.tyku += 2, _oqq.kaih += 2, _oqq.houm += 1, _oqp = !0, _oqr = 1, _oqs = 1), 0 == _oqp) return _oqo; var _oqt = _oqm.get_slotnums(524); _oqo.add(_oqq.multiply(_oqt)); var _oqu = _oqm.get_have_rader_nums().air_rader; if (1 == _oqs && _oqu >= 1 && (_oqo.tyku += 2, _oqo.kaih += 2), 0 == _oqr) return _oqo; var _oqv = _oqm.get_each_level_over_nums([524])[524]; return 1 == _oqr && (_oqv[1] >= 1 && (_oqo.kaih += 1 * _oqv[1]), _oqv[2] >= 1 && (_oqo.kaih += 1 * _oqv[2]), _oqv[4] >= 1 && (_oqo.tyku += 1 * _oqv[4]), _oqv[6] >= 1 && (_oqo.kaih += 1 * _oqv[6]), _oqv[7] >= 1 && (_oqo.houm += 1 * _oqv[7]), _oqv[8] >= 1 && (_oqo.tyku += 1 * _oqv[8]), _oqv[9] >= 1 && (_oqo.kaih += 1 * _oqv[9]), _oqv[10] >= 1 && (_oqo.houg += 1 * _oqv[10])), _oqo; }; }, 23035: (_oqw, _oqx, _oqy) => { 'use strict'; var _oqz = null; defineModule(_oqx); Object.defineProperty(_oqx, '__esModule', { 'value': !0 }), _oqx.getSlot58PersonalEffect = void 0; var _or0 = _oqy(74496); _oqx.getSlot58PersonalEffect = function(_or1) { var _or2 = null, _or3 = new _or0.SlotItemEffectModel(), _or4 = new _or0.SlotItemEffectModel(); if ('しまかぜ' != _or1.yomi && 4 != _or1.stype && 54 != _or1.ctype || (_or4.raig = 1), !_or4.exists()) return _or3; var _or5 = _or1.get_slotnums(58); return _or3 = _or4.multiply(_or5); }; }, 47169: (_or6, _or7, _or8) => { 'use strict'; var _or9 = null; defineModule(_or7); Object.defineProperty(_or7, '__esModule', { 'value': !0 }), _or7.getSlot59PersonalEffect = void 0; var _ora = _or8(74496); _or7.getSlot59PersonalEffect = function(_orb) { var _orc = null, _ord = new _ora.SlotItemEffectModel(); return 501 != _orb.ship_id && 506 != _orb.ship_id && 502 != _orb.ship_id && 507 != _orb.ship_id || (_ord.tyku += 1, _ord.kaih += 1), _ord; }; }, 87845: (_ore, _orf, _org) => { 'use strict'; var _orh = null; defineModule(_orf); Object.defineProperty(_orf, '__esModule', { 'value': !0 }), _orf.getSlot5PersonalEffect = void 0; var _ori = _org(74496); _orf.getSlot5PersonalEffect = function(_orj) { var _ork = null, _orl = new _ori.SlotItemEffectModel(), _orm = !1, _orn = new _ori.SlotItemEffectModel(); if (52 != _orj.ctype && 9 != _orj.ctype || (_orn.houg += 1, 52 == _orj.ctype && (_orn.houg = _orn.houg + 1), _orm = !0), 0 == _orm) return _orl; var _oro = _orj.get_slotnums(5); return _orl.add(_orn.multiply(_oro)), _orl; }; }, 92253: (_orp, _orq, _orr) => { 'use strict'; var _ors = null; defineModule(_orq); Object.defineProperty(_orq, '__esModule', { 'value': !0 }), _orq.getSlot60_154_219PersonalEffec = void 0; var _ort = _orr(74496); _orq.getSlot60_154_219PersonalEffec = function(_oru) { var _orv = null, _orw = new _ort.SlotItemEffectModel(), _orx = !1, _ory = new _ort.SlotItemEffectModel(); if ('じゅんよう' != _oru.yomi && 'ひよう' != _oru.yomi && 'ずいほう' != _oru.yomi && 'ちとせ' != _oru.yomi && 'ちよだ' != _oru.yomi || (_ory.houg += 1, _ory.tyku += 1, _ory.kaih += 1, _orx = !0), 185 != _oru.ship_id && 318 != _oru.ship_id && 282 != _oru.ship_id || (_ory.houg += 1, _ory.tyku += 1, _ory.kaih += 1, _orx = !0), 888 != _oru.ship_id && 883 != _oru.ship_id || (_ory.houg += 2, _ory.tyku += 1, _ory.kaih += 2, _orx = !0), 0 == _orx) return _orw; var _orz = _oru.get_slotnums(60) + _oru.get_slotnums(154) + _oru.get_slotnums(219); return _orw.add(_ory.multiply(_orz)), _orw; }; }, 2578: (_os0, _os1, _os2) => { 'use strict'; var _os3 = null; defineModule(_os1); Object.defineProperty(_os1, '__esModule', { 'value': !0 }), _os1.getSlot61PersonalEffect2 = _os1.getSlot61PersonalEffect = void 0; var _os4 = _os2(74496); _os1.getSlot61PersonalEffect = function(_os5) { var _os6 = null, _os7 = new _os4.SlotItemEffectModel(); if (553 == _os5.ship_id) _os7.houg = 3, _os7.kaih = 2, _os7.souk = 1, _os7.houm = 5, _os7.leng = 1; else { if (554 == _os5.ship_id) _os7.houg = 3, _os7.kaih = 3, _os7.souk = 3, _os7.houm = 5, _os7.leng = 1; else { if (196 == _os5.ship_id) _os7.houm = 5, _os7.leng = 1; else { if (197 != _os5.ship_id) return _os7; _os7.houm = 5, _os7.leng = 1; } } } return _os7; }, _os1.getSlot61PersonalEffect2 = function(_os8) { var _os9 = null, _osa = new _os4.SlotItemEffectModel(); if (null == _os8.have_slots_dict[61]) return _osa; for (var _osb = 0, _osc = 0, _osd = _os8.have_slots_dict[61]; _osc < _osd.length; _osc++) { var _ose = _osd[_osc].level; _osb < _ose && (_osb = _ose); } return 0 == _osb || ('そうりゅう' == _os8.yomi ? (_osa.houg += 3, _osa.saku += 3) : 'ひりゅう' == _os8.yomi && (_osa.houg += 2, _osa.saku += 2), 508 != _os8.ship_id && 509 != _os8.ship_id && 560 != _os8.ship_id || (_osa.houg += 1, _osa.saku += 1), _osb >= 8 && 197 == _os8.ship_id && (_osa.houg += 1, _osa.saku += 1)), _osa; }; }, 17143: (_osf, _osg, _osh) => { 'use strict'; var _osi = null; defineModule(_osg); Object.defineProperty(_osg, '__esModule', { 'value': !0 }), _osg.getSlot63PersonalEffect = void 0; var _osj = _osh(74496); _osg.getSlot63PersonalEffect = function(_osk) { var _osl = null, _osm = new _osj.SlotItemEffectModel(), _osn = new _osj.SlotItemEffectModel(); 1 != _osk.ctype && 5 != _osk.ctype && 10 != _osk.ctype || (_osn.tyku += 1), 'ゆうだち' == _osk.yomi && (_osn.houg += 1, _osn.tyku += 1, _osn.kaih += 2), 145 == _osk.ship_id || 961 == _osk.ship_id ? _osn.houg += 1 : 144 == _osk.ship_id ? _osn.raig += 1 : 469 == _osk.ship_id ? _osn.kaih += 2 : 242 == _osk.ship_id || 497 == _osk.ship_id || 244 == _osk.ship_id || 498 == _osk.ship_id ? _osn.kaih += 1 : 627 == _osk.ship_id ? _osn.houg += 1 : 903 != _osk.ship_id && 908 != _osk.ship_id || (_osn.houg += 2); var _oso = !0; if (_osn.exists() || (_oso = !1), 0 == _oso) return _osm; var _osp = _osk.get_slotnums(63); return _osm = _osn.multiply(_osp); }; }, 16164: (_osq, _osr, _oss) => { 'use strict'; var _ost = null; defineModule(_osr); Object.defineProperty(_osr, '__esModule', { 'value': !0 }), _osr.getSlot67PersonalEffect = void 0; var _osu = _oss(74496); _osr.getSlot67PersonalEffect = function(_osv) { var _osw = null, _osx = new _osu.SlotItemEffectModel(), _osy = new _osu.SlotItemEffectModel(); if (13 != _osv.stype && 14 != _osv.stype && (_osy.raig = -5), !_osy.exists()) return _osx; var _osz = _osv.get_slotnums(67); return _osx = _osy.multiply(_osz); }; }, 35023: (_ot0, _ot1, _ot2) => { 'use strict'; var _ot3 = null; defineModule(_ot1); Object.defineProperty(_ot1, '__esModule', { 'value': !0 }), _ot1.getSlot69PersonalEffect = void 0; var _ot4 = _ot2(74496); _ot1.getSlot69PersonalEffect = function(_ot5) { var _ot6 = null, _ot7 = new _ot4.SlotItemEffectModel(), _ot8 = !1, _ot9 = new _ot4.SlotItemEffectModel(); if (554 == _ot5.ship_id || 646 == _ot5.ship_id ? (_ot9.houg += 1, _ot9.tais += 2, _ot8 = !0) : 553 == _ot5.ship_id && (_ot9.houg += 1, _ot9.tais += 1, _ot8 = !0), 0 == _ot8) return _ot7; var _ota = _ot5.get_slotnums(69); return _ot7.add(_ot9.multiply(_ota)), _ot7; }; }, 78707: (_otb, _otc, _otd) => { 'use strict'; var _ote = null; defineModule(_otc); Object.defineProperty(_otc, '__esModule', { 'value': !0 }), _otc.getSlot70PersonalEffect = void 0; var _otf = _otd(74496); _otc.getSlot70PersonalEffect = function(_otg) { var _oth = null, _oti = new _otf.SlotItemEffectModel(), _otj = !1, _otk = new _otf.SlotItemEffectModel(); if ('やましおまる' == _otg.yomi && (_otk.houg += 1, _otk.tais += 1, _otj = !0), 0 == _otj) return _oti; var _otl = _otg.get_slotnums(70); return _oti.add(_otk.multiply(_otl)), _oti; }; }, 44680: function(_otm, _otn, _oto) { 'use strict'; var _otp = null; var _otq = this && this.__importDefault || function(_otr) { var _ots = null; return _otr && _otr.__esModule ? _otr : { 'default': _otr }; }; defineModule(_otn); Object.defineProperty(_otn, '__esModule', { 'value': !0 }), _otn.getSlot78PersonalEffect = void 0; var _ott = _oto(74496), _otu = _otq(_oto(18622)); _otn.getSlot78PersonalEffect = function(_otv) { var _otw = null, _otx = new _ott.SlotItemEffectModel(), _oty = !1, _otz = new _ott.SlotItemEffectModel(), _ou0 = 0, _ou1 = 0, _ou2 = !1; if (48 == _otv.ctype && (_otz.houg += 1, _otz.kaih += 1, _ou0 = 1, _ou1 = 1, _ou2 = !0, _oty = !0), 0 == _oty) return _otx; var _ou3 = _otv.get_slotnums(78); _otx.add(_otz.multiply(_ou3)); var _ou4 = 0, _ou5 = _otv.get_each_level_nums(78), _ou6 = 0; if (_ou2) { _ou5.map(function(_ou7, _ou8) { _ou8 >= 7 && (_ou6 += _ou7); }); for (var _ou9 = 0, _oua = _otv.have_slot_ids(); _ou9 < _oua.length; _ou9++) { var _oub = _oua[_ou9], _ouc = _otu.default.model.slot.getMst(_oub), _oud = _ouc.equipType; 12 != _oud && 13 != _oud || _ouc.sakuteki >= 5 && (_ou4 += _otv.get_slotnums(parseInt(_oub))); } } if (1 == _ou0 && _ou4 > 0 && (_otx.houg += 2, _otx.kaih += 2, _otx.raig += 2), 1 == _ou1) { _otx.houg += 1 * _ou6; var _oue = _ou5[10]; _otx.souk += 1 * _oue; } return _otx; }; }, 45749: (_ouf, _oug, _ouh) => { 'use strict'; var _oui = null; defineModule(_oug); Object.defineProperty(_oug, '__esModule', { 'value': !0 }), _oug.getSlot79And81PersonalEffect = void 0; var _ouj = _ouh(74496); _oug.getSlot79And81PersonalEffect = function(_ouk) { var _oul = null, _oum = new _ouj.SlotItemEffectModel(), _oun = new _ouj.SlotItemEffectModel(); if (553 == _ouk.ship_id) _oun.houg = 3; else { if (82 == _ouk.ship_id) _oun.houg = 2; else { if (88 == _ouk.ship_id) _oun.houg = 2; else { if (554 == _ouk.ship_id) _oun.houg = 3; else { if (411 == _ouk.ship_id) _oun.houg = 2; else { if (412 != _ouk.ship_id) return _oum; _oun.houg = 2; } } } } } var _ouo = _ouk.get_slotnums(79) + _ouk.get_slotnums(81); return _oum = _oun.multiply(_ouo); }; }, 37334: (_oup, _ouq, _our) => { 'use strict'; var _ous = null; defineModule(_ouq); Object.defineProperty(_ouq, '__esModule', { 'value': !0 }), _ouq.getSlot82PersonalEffect = void 0; var _out = _our(74496); _ouq.getSlot82PersonalEffect = function(_ouu) { var _ouv = null, _ouw = new _out.SlotItemEffectModel(), _oux = new _out.SlotItemEffectModel(); if (76 == _ouu.ctype && (_oux.tais = 1, _oux.kaih = 1), !_oux.exists()) return _ouw; var _ouy = _ouu.get_slotnums(82); return _ouw = _oux.multiply(_ouy); }; }, 2603: function(_ouz, _ov0, _ov1) { 'use strict'; var _ov2 = null; var _ov3 = this && this.__importDefault || function(_ov4) { var _ov5 = null; return _ov4 && _ov4.__esModule ? _ov4 : { 'default': _ov4 }; }; defineModule(_ov0); Object.defineProperty(_ov0, '__esModule', { 'value': !0 }), _ov0.getSlot84PersonalEffect = void 0; var _ov6 = _ov1(74496), _ov7 = _ov3(_ov1(18622)); _ov0.getSlot84PersonalEffect = function(_ov8) { var _ov9 = null, _ova = new _ov6.SlotItemEffectModel(), _ovb = _ov8.get_each_level_nums(84), _ovc = 0, _ovd = 0; if (_ovb.forEach(function(_ove, _ovf) { _ovf >= 4 && (_ovc += _ove), _ovf >= 7 && (_ovd += _ove); }), 0 == _ovc) return _ova; for (var _ovg = 0, _ovh = 0, _ovi = _ov8.have_slot_ids(); _ovh < _ovi.length; _ovh++) { var _ovj = _ovi[_ovh], _ovk = _ov7.default.model.slot.getMst(_ovj), _ovl = _ovk.equipType; 12 != _ovl && 13 != _ovl || (_ovk.sakuteki >= 5 && _ov8.get_slotnums(parseInt(_ovj)), _ovk.taiku >= 2 && (_ovg += _ov8.get_slotnums(parseInt(_ovj)))); } var _ovm = _ov8.getCountryName(); _ovc >= 1 && (_ova.tyku += 1 * _ovc, _ova.kaih += 1 * _ovc, 'ドイツ' != _ovm && 'イタリア' != _ovm || (_ova.tyku += 1 * _ovc, _ova.kaih += 1 * _ovc), _ovg >= 1 && (_ova.tyku += 1)), _ovd >= 1 && (_ova.tyku += 1 * _ovd, _ova.houg += 1 * _ovd); var _ovn = _ovb[10]; return _ovn >= 1 && (_ova.tyku += 1 * _ovn, _ova.kaih += 1 * _ovn, 'ドイツ' != _ovm && 'イタリア' != _ovm || (_ova.houg += 1)), _ova; }; }, 90725: (_ovo, _ovp, _ovq) => { 'use strict'; var _ovr = null; defineModule(_ovp); Object.defineProperty(_ovp, '__esModule', { 'value': !0 }), _ovp.getSlot85PersonalEffect = void 0; var _ovs = _ovq(74496); _ovp.getSlot85PersonalEffect = function(_ovt) { var _ovu = null, _ovv = new _ovs.SlotItemEffectModel(), _ovw = _ovt.get_each_level_over_nums([85]), _ovx = _ovw[85][6], _ovy = _ovw[85][8], _ovz = _ovw[85][10], _ow0 = _ovt.get_have_rader_nums().air_rader, _ow1 = _ovt.getCountryName(); return _ovx > 0 && (_ovv.tyku += 1 * _ovx, _ovv.kaih += 1 * _ovx, _ow0 >= 1 && (_ovv.tyku += 2)), _ovy > 0 && (_ovv.houg += 1 * _ovy, 'ドイツ' != _ow1 && 'イタリア' != _ow1 || (_ovv.tyku += 1 * _ovy, _ovv.kaih += 1 * _ovy)), _ovz > 0 && (_ovv.kaih += 1 * _ovz, _ovv.houm += 1 * _ovz, 'ドイツ' != _ow1 && 'イタリア' != _ow1 || (_ovv.houg += 1)), _ovv; }; }, 29180: (_ow2, _ow3, _ow4) => { 'use strict'; var _ow5 = null; defineModule(_ow3); Object.defineProperty(_ow3, '__esModule', { 'value': !0 }), _ow3.getSlot87PersonalEffect = void 0; var _ow6 = _ow4(74496); _ow3.getSlot87PersonalEffect = function(_ow7) { var _ow8 = null, _ow9 = new _ow6.SlotItemEffectModel(), _owa = !1, _owb = new _ow6.SlotItemEffectModel(), _owc = 0; if (951 == _ow7.ship_id ? (_owb.houg += 1, _owb.kaih += 1, _owb.raig += 1, _owb.houm += 1, _owa = !0, _owc = 1) : 181 == _ow7.ship_id || 316 == _ow7.ship_id || 50 == _ow7.ship_id || 229 == _ow7.ship_id || 961 == _ow7.ship_id ? _owc = 2 : 591 != _ow7.ship_id && 592 != _ow7.ship_id && 593 != _ow7.ship_id && 954 != _ow7.ship_id || (_ow9.kaih += 2, _ow9.raig += 1, _owc = 3), 38 != _ow7.ctype && 54 != _ow7.ctype && 101 != _ow7.ctype || (_owc = 4), _owa) { var _owd = _ow7.get_slotnums(87); _ow9.add(_owb.multiply(_owd)); } if (0 == _owc) return _ow9; var _owe = _ow7.get_each_level_nums(87), _owf = []; return _owc > 0 && _owe.forEach(function(_owg, _owh) { var _owi = null; for (var _owj = 1; _owj <= _ow7.SLOT_LEVEL_MAX; _owj++) null == _owf[_owj] && (_owf[_owj] = 0), _owh >= _owj && (_owf[_owj] += _owg); }), 1 == _owc ? (_owf[6] >= 1 && (_ow9.tyku += 1 * _owf[6]), _owf[7] >= 1 && (_ow9.kaih += 1 * _owf[7]), _owf[8] >= 1 && (_ow9.raig += 1 * _owf[8]), _owf[9] >= 1 && (_ow9.houg += 1 * _owf[9]), _owf[10] >= 1 && (_ow9.houm += 1 * _owf[10])) : 2 == _owc ? (_owf[6] >= 1 && (_ow9.kaih += 1 * _owf[6]), _owf[7] >= 1 && (_ow9.raig += 1 * _owf[7]), _owf[8] >= 1 && (_ow9.houg += 1 * _owf[8]), _owf[9] >= 1 && (_ow9.houm += 1 * _owf[9]), _owf[10] >= 1 && (_ow9.kaih += 1 * _owf[10])) : 3 == _owc ? (_owf[6] > 0 && (_ow9.kaih += 1), _owf[8] > 0 && (_ow9.raig += 1), _owf[10] > 0 && (_ow9.houg += 1)) : 4 == _owc && (_owf[7] >= 1 && (_ow9.kaih += 1 * _owf[7]), _owf[8] >= 1 && (_ow9.raig += 1 * _owf[8]), _owf[10] >= 1 && (_ow9.houm += 1 * _owf[10])), _ow9; }; }, 68685: function(_owk, _owl, _owm) { 'use strict'; var _own = null; var _owo = this && this.__importDefault || function(_owp) { var _owq = null; return _owp && _owp.__esModule ? _owp : { 'default': _owp }; }; defineModule(_owl); Object.defineProperty(_owl, '__esModule', { 'value': !0 }), _owl.getSlot90PersonalEffect = void 0; var _owr = _owm(74496), _ows = _owo(_owm(18622)); _owl.getSlot90PersonalEffect = function(_owt) { var _owu = null, _owv = new _owr.SlotItemEffectModel(), _oww = new _owr.SlotItemEffectModel(); if (142 == _owt.ship_id ? (_oww.houg += 2, _oww.kaih += 1) : 295 == _owt.ship_id || 416 == _owt.ship_id || 417 == _owt.ship_id ? _oww.houg += 1 : 264 == _owt.ship_id ? (_oww.houg += 1, _oww.tyku += 1) : 501 != _owt.ship_id && 506 != _owt.ship_id && 502 != _owt.ship_id && 507 != _owt.ship_id || (_oww.houg += 1), 7 != _owt.ctype && 13 != _owt.ctype && 8 != _owt.ctype && 29 != _owt.ctype && 9 != _owt.ctype && 31 != _owt.ctype || (_oww.houg += 1), _oww.exists()) { var _owx = _owt.get_slotnums(90); _owv = _oww.multiply(_owx); } var _owy = []; if ('あおば' == _owt.yomi && (_owy[1] = 1), 13 != _owt.ctype && 7 != _owt.ctype || (_owy[2] = 1), 0 == _owy.length) return _owv; for (var _owz = 0, _ox0 = 0, _ox1 = 0, _ox2 = _owt.have_slot_ids(); _ox1 < _ox2.length; _ox1++) { var _ox3 = _ox2[_ox1], _ox4 = _ows.default.model.slot.getMst(_ox3), _ox5 = _ox4.equipType; 12 != _ox5 && 13 != _ox5 || (_ox4.sakuteki >= 5 && (_owz += _owt.get_slotnums(parseInt(_ox3))), _ox4.taiku >= 2 && (_ox0 += _owt.get_slotnums(parseInt(_ox3)))); } return _ox0 > 0 && null != _owy[1] && (_owv.tyku += 5, _owv.kaih += 2), _owz > 0 && null != _owy[2] && (_owv.houg += 3, _owv.kaih += 2, _owv.raig += 2), _owv; }; }, 26078: (_ox6, _ox7, _ox8) => { 'use strict'; var _ox9 = null; defineModule(_ox7); Object.defineProperty(_ox7, '__esModule', { 'value': !0 }), _ox7.getSlot93PersonalEffect = void 0; var _oxa = _ox8(74496); _ox7.getSlot93PersonalEffect = function(_oxb) { var _oxc = null, _oxd = new _oxa.SlotItemEffectModel(); return 'そうりゅう' == _oxb.yomi ? _oxd.houg = 1 : 'ひりゅう' == _oxb.yomi && (_oxd.houg = 3), _oxd; }; }, 20829: (_oxe, _oxf, _oxg) => { 'use strict'; var _oxh = null; defineModule(_oxf); Object.defineProperty(_oxf, '__esModule', { 'value': !0 }), _oxf.getSlot94PersonalEffect = void 0; var _oxi = _oxg(74496); _oxf.getSlot94PersonalEffect = function(_oxj) { var _oxk = null, _oxl = new _oxi.SlotItemEffectModel(); if (196 == _oxj.ship_id) _oxl.houg = 7; else { if (197 != _oxj.ship_id) return _oxl; _oxl.houg = 3; } return _oxl; }; }, 6880: (_oxm, _oxn, _oxo) => { 'use strict'; var _oxp = null; defineModule(_oxn); Object.defineProperty(_oxn, '__esModule', { 'value': !0 }), _oxn.getSlot99PersonalEffect = void 0; var _oxq = _oxo(74496); _oxn.getSlot99PersonalEffect = function(_oxr) { var _oxs = null, _oxt = new _oxq.SlotItemEffectModel(); return 'そうりゅう' == _oxr.yomi ? _oxt.houg = 4 : 'ひりゅう' == _oxr.yomi && (_oxt.houg = 1), _oxt; }; }, 21403: (_oxu, _oxv, _oxw) => { 'use strict'; var _oxx = null; defineModule(_oxv); Object.defineProperty(_oxv, '__esModule', { 'value': !0 }), _oxv.getSlotCorsairMkIIPersonalEffect = void 0; var _oxy = _oxw(74496); _oxv.getSlotCorsairMkIIPersonalEffect = function(_oxz) { var _oy0 = null, _oy1 = new _oxy.SlotItemEffectModel(), _oy2 = !1, _oy3 = new _oxy.SlotItemEffectModel(); 112 == _oxz.ctype && (_oy3.houg += 1, _oy3.tyku += 1, _oy3.kaih += 2, _oy2 = !0); var _oy4 = _oxz.getCountryName(); if (67 == _oxz.ctype || 78 == _oxz.ctype || 82 == _oxz.ctype || 88 == _oxz.ctype || 108 == _oxz.ctype || 112 == _oxz.ctype ? (_oy3.houg += 1, _oy3.tyku += 2, _oy3.kaih += 3, _oy2 = !0) : 'アメリカ' == _oy4 && (_oy3.houg += 1, _oy3.tyku += 1, _oy3.kaih += 2, _oy2 = !0), 0 == _oy2) return _oy1; var _oy5 = _oxz.get_slotnums(434) + _oxz.get_slotnums(435); return _oy1.add(_oy3.multiply(_oy5)), _oy1; }; }, 9195: (_oy6, _oy7, _oy8) => { 'use strict'; var _oy9 = null; defineModule(_oy7); Object.defineProperty(_oy7, '__esModule', { 'value': !0 }), _oy7.getSlotDomesticAntiSubmarineToushakiPersonalEffect = void 0; var _oya = _oy8(74496); _oy7.getSlotDomesticAntiSubmarineToushakiPersonalEffect = function(_oyb) { var _oyc = null, _oyd = new _oya.SlotItemEffectModel(), _oye = !1, _oyf = new _oya.SlotItemEffectModel(); if (56 == _oyb.ctype && (_oyf.tais += 3, _oyf.kaih += 2, _oye = !0), 0 == _oye) return _oyd; var _oyg = _oyb.get_slotnums(44) + _oyb.get_slotnums(45) + _oyb.get_slotnums(287) + _oyb.get_slotnums(288); return _oyd.add(_oyf.multiply(_oyg)), _oyd; }; }, 93297: (_oyh, _oyi, _oyj) => { 'use strict'; var _oyk = null; defineModule(_oyi); Object.defineProperty(_oyi, '__esModule', { 'value': !0 }), _oyi.getSlotDomesticSonarPersonalEffect = void 0; var _oyl = _oyj(74496); _oyi.getSlotDomesticSonarPersonalEffect = function(_oym) { var _oyn = null, _oyo = new _oyl.SlotItemEffectModel(); return 56 == _oym.ctype && (_oyo.tais += 2, _oyo.kaih += 3), _oyo; }; }, 45482: (_oyp, _oyq, _oyr) => { 'use strict'; var _oys = null; defineModule(_oyq); Object.defineProperty(_oyq, '__esModule', { 'value': !0 }), _oyq.getSlotOtherSuiseiPersonalEffect = void 0; var _oyt = _oyr(74496); _oyq.getSlotOtherSuiseiPersonalEffect = function(_oyu) { var _oyv = null, _oyw = new _oyt.SlotItemEffectModel(), _oyx = new _oyt.SlotItemEffectModel(); if (553 == _oyu.ship_id) _oyx.houg = 2; else { if (554 != _oyu.ship_id) return _oyw; _oyx.houg = 2; } var _oyy = _oyu.get_slotnums(24) + _oyu.get_slotnums(57) + _oyu.get_slotnums(111); return _oyw = _oyx.multiply(_oyy); }; }, 45927: (_oyz, _oz0, _oz1) => { 'use strict'; var _oz2 = null; defineModule(_oz0); Object.defineProperty(_oz0, '__esModule', { 'value': !0 }), _oz0.getSlotSmokePersonalEffect = void 0; var _oz3 = _oz1(74496); _oz0.getSlotSmokePersonalEffect = function(_oz4) { var _oz5 = null, _oz6 = new _oz3.SlotItemEffectModel(), _oz7 = !1, _oz8 = new _oz3.SlotItemEffectModel(); if (959 == _oz4.ship_id && (_oz8.kaih += 4, _oz7 = !0), 'ジョンストン' == _oz4.yomi || 'サミュエル・B・ロバーツ' == _oz4.yomi || 'せんだい' == _oz4.yomi || 'はるかぜ' == _oz4.yomi || 'かみかぜ' == _oz4.yomi || 'しきなみ' == _oz4.yomi || 'うらなみ' == _oz4.yomi || 'あおば' == _oz4.yomi ? (_oz8.kaih += 3, _oz7 = !0) : 'いなづま' != _oz4.yomi && 'はぐろ' != _oz4.yomi && 'はつしも' != _oz4.yomi && 'かすみ' != _oz4.yomi && 'ふぶき' != _oz4.yomi && 'あたご' != _oz4.yomi && 'あまぎり' != _oz4.yomi && 'はまなみ' != _oz4.yomi || (_oz8.kaih += 2, _oz7 = !0), 0 == _oz7) return _oz6; var _oz9 = _oz4.get_slotnums(500) + _oz4.get_slotnums(501); return _oz6.add(_oz8.multiply(_oz9)), _oz6; }; }, 32666: (_oza, _ozb, _ozc) => { 'use strict'; var _ozd = null; defineModule(_ozb); Object.defineProperty(_ozb, '__esModule', { 'value': !0 }), _ozb.getSlotTokuYonPersonalEffect = void 0; var _oze = _ozc(74496); _ozb.getSlotTokuYonPersonalEffect = function(_ozf) { var _ozg = null, _ozh = new _oze.SlotItemEffectModel(), _ozi = !1, _ozj = new _oze.SlotItemEffectModel(), _ozk = 0, _ozl = _ozf.get_slotnums(525), _ozm = _ozf.get_slotnums(526), _ozn = _ozl + _ozm; if (13 != _ozf.stype && 14 != _ozf.stype || (_ozj.houg += 1, _ozj.raig += 2, _ozj.kaih -= 1, _ozi = !0, _ozk = 1, 'い36' != _ozf.yomi && 'い41' != _ozf.yomi || (_ozh.houg += 2, _ozh.raig += 1, _ozh.houm += 2), _ozm >= 1 && (_ozh.houg += 1 * _ozm, _ozh.raig += 1 * _ozm, _ozh.houm += 1 * _ozm)), 0 == _ozi) return _ozh; if (_ozh.add(_ozj.multiply(_ozn)), 0 == _ozk) return _ozh; var _ozo = _ozf.get_each_level_over_nums([525, 526]), _ozp = _ozo[525], _ozq = _ozo[526]; if (1 == _ozk) { if (_ozp[1] >= 1 || _ozq[1] >= 1) { var _ozr = _ozp[1] + _ozq[1]; _ozh.raig += 1 * _ozr; } if (_ozq[2] >= 1) { var _ozs = _ozp[2] + _ozq[2]; _ozh.houg += 1 * _ozs; } if (_ozp[3] >= 1 || _ozq[3] >= 1) { var _ozt = _ozp[3] + _ozq[3]; _ozh.houm += 1 * _ozt; } if (_ozq[4] >= 1) { var _ozu = _ozp[4] + _ozq[4]; _ozh.raig += 1 * _ozu; } if (_ozp[6] >= 1 || _ozq[6] >= 1) { var _ozv = _ozp[6] + _ozq[6]; _ozh.houm += 1 * _ozv; } if (_ozq[8] >= 1) { var _ozw = _ozp[8] + _ozq[8]; _ozh.houg += 1 * _ozw; } if (_ozp[10] >= 1 || _ozq[10] >= 1) { var _ozx = _ozp[10] + _ozq[10]; _ozh.raig += 1 * _ozx; } } return _ozh; }; }, 29805: (_ozy, _ozz, _p00) => { 'use strict'; var _p01 = null; defineModule(_ozz); Object.defineProperty(_ozz, '__esModule', { 'value': !0 }), _ozz.getSlotType10PersonalEffect = void 0; var _p02 = _p00(74496); _ozz.getSlotType10PersonalEffect = function(_p03) { var _p04 = null, _p05 = new _p02.SlotItemEffectModel(); return 662 == _p03.ship_id || 663 == _p03.ship_id || 668 == _p03.ship_id ? (_p05.houg += 2, _p05.kaih += 1, _p05.tais += 3) : 501 != _p03.ship_id && 506 != _p03.ship_id && 502 != _p03.ship_id && 507 != _p03.ship_id || (_p05.houg += 2), _p05; }; }, 58913: (_p06, _p07, _p08) => { 'use strict'; var _p09 = null; defineModule(_p07); Object.defineProperty(_p07, '__esModule', { 'value': !0 }), _p07.getSlotType11PersonalEffect = void 0; var _p0a = _p08(74496); _p07.getSlotType11PersonalEffect = function(_p0b) { var _p0c = null, _p0d = new _p0a.SlotItemEffectModel(); return 662 == _p0b.ship_id || 663 == _p0b.ship_id || 668 == _p0b.ship_id ? (_p0d.houg += 1, _p0d.kaih += 1, _p0d.tais += 1) : 501 != _p0b.ship_id && 506 != _p0b.ship_id && 502 != _p0b.ship_id && 507 != _p0b.ship_id || (_p0d.houg += 1, _p0d.kaih += 1), _p0d; }; }, 55421: (_p0e, _p0f, _p0g) => { 'use strict'; var _p0h = null; defineModule(_p0f); Object.defineProperty(_p0f, '__esModule', { 'value': !0 }), _p0f.getSlotType25PersonalEffect = void 0; var _p0i = _p0g(74496); _p0f.getSlotType25PersonalEffect = function(_p0j) { var _p0k = null, _p0l = new _p0i.SlotItemEffectModel(); return 662 == _p0j.ship_id ? (_p0l.tais += 4, _p0l.kaih += 1) : 663 != _p0j.ship_id && 668 != _p0j.ship_id || (_p0l.tais += 3, _p0l.kaih += 1), _p0l; }; }, 272: function(_p0m, _p0n, _p0o) { 'use strict'; var _p0p = null; var _p0q = this && this.__importDefault || function(_p0r) { var _p0s = null; return _p0r && _p0r.__esModule ? _p0r : { 'default': _p0r }; }; defineModule(_p0n); Object.defineProperty(_p0n, '__esModule', { 'value': !0 }), _p0n.getSlotType9PersonalEffect = void 0; var _p0t = _p0o(74496), _p0u = _p0q(_p0o(18622)); _p0n.getSlotType9PersonalEffect = function(_p0v) { var _p0w = null, _p0x = new _p0t.SlotItemEffectModel(); if (null == { 11: 1, 18: 1, 7: 1, 10: 1 } [_p0v.stype]) return _p0x; for (var _p0y = 0, _p0z = 0, _p10 = _p0v.have_slot_ids(); _p0z < _p10.length; _p0z++) { var _p11 = _p10[_p0z]; if (9 == _p0u.default.model.slot.getMst(_p11).equipType) for (var _p12 = 0, _p13 = _p0v.have_slots_dict[parseInt(_p11)]; _p12 < _p13.length; _p12++) { var _p14 = _p13[_p12].level; _p0y < _p14 && (_p0y = _p14); } } return _p0y >= 2 && (_p0x.saku += 1), _p0y >= 4 && (_p0x.houg += 1), _p0y >= 6 && (_p0x.saku += 1), _p0y >= 10 && (_p0x.houg += 1, _p0x.saku += 1), _p0x; }; }, 54518: (_p15, _p16, _p17) => { 'use strict'; var _p18 = null; defineModule(_p16); Object.defineProperty(_p16, '__esModule', { 'value': !0 }), _p16.getSlot_16InchMkXRensouhou_PersonalEffect = void 0; var _p19 = _p17(74496); _p16.getSlot_16InchMkXRensouhou_PersonalEffect = function(_p1a) { var _p1b = null, _p1c = new _p19.SlotItemEffectModel(); if (93 == _p1a.ctype) { var _p1d = _p1a.get_slotnums(330); _p1d > 0 && (_p1c.houg = _p1c.houg + 1 * _p1d); var _p1e = _p1a.get_slotnums(331); _p1e > 0 && (_p1c.houg = _p1c.houg + 1 * _p1e, 1496 != _p1a.ship_id && 918 != _p1a.ship_id || (_p1c.houg = _p1c.houg + 1 * _p1e, _p1c.kaih = _p1c.kaih + 1 * _p1e)); var _p1f = _p1a.get_slotnums(332); return _p1f > 0 && (_p1c.houg = _p1c.houg + 1 * _p1f, 1496 != _p1a.ship_id && 918 != _p1a.ship_id || (_p1c.houg = _p1c.houg + 1 * _p1f, _p1c.kaih = _p1c.kaih + 1 * _p1f, _p1c.tyku = _p1c.tyku + 1 * _p1f)), _p1c; } var _p1g = new _p19.SlotItemEffectModel(); if (19 == _p1a.ctype ? (_p1g.houg = 1, (541 == _p1a.ship_id || 573 == _p1a.ship_id) && (_p1g.houg += 1)) : 88 == _p1a.ctype && (_p1g.houg = 1, 576 == _p1a.ship_id && (_p1g.houg += 1)), !_p1g.exists()) return _p1c; var _p1h = _p1a.get_slotnums(330) + _p1a.get_slotnums(331) + _p1a.get_slotnums(332); return _p1c = _p1g.multiply(_p1h); }; }, 79353: (_p1i, _p1j, _p1k) => { 'use strict'; var _p1l = null; defineModule(_p1j); Object.defineProperty(_p1j, '__esModule', { 'value': !0 }), _p1j.getZuiunSeriesEffect = void 0; var _p1m = _p1k(74496); _p1j.getZuiunSeriesEffect = function(_p1n) { var _p1o = null, _p1p = new _p1m.SlotItemEffectModel(), _p1q = !1, _p1r = new _p1m.SlotItemEffectModel(); if (662 == _p1n.ship_id ? (_p1p.houg += 2, _p1p.kaih += 1) : 663 == _p1n.ship_id || 668 == _p1n.ship_id || 501 == _p1n.ship_id || 506 == _p1n.ship_id ? (_p1p.houg += 2, _p1r.kaih += 1, _p1r.tyku += 1, _p1q = !0) : 502 != _p1n.ship_id && 507 != _p1n.ship_id || (_p1p.houg += 1, _p1r.kaih += 1, _p1r.tyku += 1, _p1q = !0), 0 == _p1q) return _p1p; var _p1s = 0; return [26, 62, 79, 80, 81, 207, 208].forEach(function(_p1t) { var _p1u = null; _p1s += _p1n.get_slotnums(_p1t); }), _p1p.add(_p1r.multiply(_p1s)), _p1p; }; }, 89051: function(_p1v, _p1w, _p1x) { 'use strict'; var _p1y = null; var _p1z = this && this.__createBinding || (Object.create ? function(_p20, _p21, _p22, _p23) { var _p24 = null; void 0 === _p23 && (_p23 = _p22); var _p25 = Object.getOwnPropertyDescriptor(_p21, _p22); _p25 && !('get' in _p25 ? !_p21.__esModule : _p25.writable || _p25.configurable) || (_p25 = { 'enumerable': !0, 'get': function() { return _p21[_p22]; } }), Object.defineProperty(_p20, _p23, _p25); } : function(_p26, _p27, _p28, _p29) { void 0 === _p29 && (_p29 = _p28), _p26[_p29] = _p27[_p28]; }), _p2a = this && this.__exportStar || function(_p2b, _p2c) { var _p2d = null; for (var _p2e in _p2b) 'default' === _p2e || Object.prototype.hasOwnProperty.call(_p2c, _p2e) || _p1z(_p2c, _p2b, _p2e); }; defineModule(_p1w); Object.defineProperty(_p1w, '__esModule', { 'value': !0 }), _p2a(_p1x(34165), _p1w), _p2a(_p1x(81018), _p1w), _p2a(_p1x(56716), _p1w), _p2a(_p1x(17713), _p1w), _p2a(_p1x(54518), _p1w), _p2a(_p1x(66985), _p1w), _p2a(_p1x(88102), _p1w), _p2a(_p1x(66904), _p1w), _p2a(_p1x(98137), _p1w), _p2a(_p1x(69954), _p1w), _p2a(_p1x(22218), _p1w), _p2a(_p1x(88271), _p1w), _p2a(_p1x(23035), _p1w), _p2a(_p1x(2578), _p1w), _p2a(_p1x(17143), _p1w), _p2a(_p1x(16164), _p1w), _p2a(_p1x(35023), _p1w), _p2a(_p1x(44680), _p1w), _p2a(_p1x(45749), _p1w), _p2a(_p1x(37334), _p1w), _p2a(_p1x(29180), _p1w), _p2a(_p1x(68685), _p1w), _p2a(_p1x(26078), _p1w), _p2a(_p1x(20829), _p1w), _p2a(_p1x(6880), _p1w), _p2a(_p1x(17213), _p1w), _p2a(_p1x(40176), _p1w), _p2a(_p1x(32889), _p1w), _p2a(_p1x(11285), _p1w), _p2a(_p1x(96200), _p1w), _p2a(_p1x(9115), _p1w), _p2a(_p1x(37173), _p1w), _p2a(_p1x(21713), _p1w), _p2a(_p1x(59823), _p1w), _p2a(_p1x(57440), _p1w), _p2a(_p1x(29240), _p1w), _p2a(_p1x(40885), _p1w), _p2a(_p1x(19614), _p1w), _p2a(_p1x(87220), _p1w), _p2a(_p1x(81367), _p1w), _p2a(_p1x(13052), _p1w), _p2a(_p1x(94968), _p1w), _p2a(_p1x(48658), _p1w), _p2a(_p1x(1906), _p1w), _p2a(_p1x(61887), _p1w), _p2a(_p1x(47970), _p1w), _p2a(_p1x(31797), _p1w), _p2a(_p1x(45738), _p1w), _p2a(_p1x(34718), _p1w), _p2a(_p1x(69245), _p1w), _p2a(_p1x(18478), _p1w), _p2a(_p1x(2899), _p1w), _p2a(_p1x(57120), _p1w), _p2a(_p1x(74985), _p1w), _p2a(_p1x(9234), _p1w), _p2a(_p1x(30802), _p1w), _p2a(_p1x(97002), _p1w), _p2a(_p1x(16748), _p1w), _p2a(_p1x(53618), _p1w), _p2a(_p1x(72573), _p1w), _p2a(_p1x(8955), _p1w), _p2a(_p1x(98947), _p1w), _p2a(_p1x(44726), _p1w), _p2a(_p1x(93065), _p1w), _p2a(_p1x(85767), _p1w), _p2a(_p1x(38314), _p1w), _p2a(_p1x(59747), _p1w), _p2a(_p1x(40649), _p1w), _p2a(_p1x(13533), _p1w), _p2a(_p1x(12138), _p1w), _p2a(_p1x(30042), _p1w), _p2a(_p1x(33623), _p1w), _p2a(_p1x(85630), _p1w), _p2a(_p1x(88736), _p1w), _p2a(_p1x(49341), _p1w), _p2a(_p1x(74306), _p1w), _p2a(_p1x(83898), _p1w), _p2a(_p1x(71873), _p1w), _p2a(_p1x(53122), _p1w), _p2a(_p1x(51063), _p1w), _p2a(_p1x(91491), _p1w), _p2a(_p1x(85495), _p1w), _p2a(_p1x(65365), _p1w), _p2a(_p1x(98164), _p1w), _p2a(_p1x(38114), _p1w), _p2a(_p1x(21003), _p1w), _p2a(_p1x(77010), _p1w), _p2a(_p1x(39126), _p1w), _p2a(_p1x(72176), _p1w), _p2a(_p1x(33846), _p1w), _p2a(_p1x(97157), _p1w), _p2a(_p1x(63406), _p1w), _p2a(_p1x(66373), _p1w), _p2a(_p1x(19707), _p1w), _p2a(_p1x(63978), _p1w), _p2a(_p1x(92382), _p1w), _p2a(_p1x(78415), _p1w), _p2a(_p1x(23090), _p1w), _p2a(_p1x(18776), _p1w), _p2a(_p1x(39656), _p1w), _p2a(_p1x(66039), _p1w), _p2a(_p1x(64679), _p1w), _p2a(_p1x(95953), _p1w), _p2a(_p1x(86384), _p1w), _p2a(_p1x(65345), _p1w), _p2a(_p1x(46514), _p1w), _p2a(_p1x(81976), _p1w), _p2a(_p1x(89331), _p1w), _p2a(_p1x(73973), _p1w), _p2a(_p1x(21178), _p1w), _p2a(_p1x(5079), _p1w), _p2a(_p1x(95014), _p1w), _p2a(_p1x(53099), _p1w), _p2a(_p1x(76201), _p1w), _p2a(_p1x(24931), _p1w), _p2a(_p1x(60978), _p1w), _p2a(_p1x(74312), _p1w), _p2a(_p1x(54350), _p1w), _p2a(_p1x(26262), _p1w), _p2a(_p1x(45530), _p1w), _p2a(_p1x(44053), _p1w), _p2a(_p1x(65441), _p1w), _p2a(_p1x(33258), _p1w), _p2a(_p1x(92168), _p1w), _p2a(_p1x(85975), _p1w), _p2a(_p1x(98467), _p1w), _p2a(_p1x(88348), _p1w), _p2a(_p1x(21097), _p1w), _p2a(_p1x(37273), _p1w), _p2a(_p1x(72694), _p1w), _p2a(_p1x(62067), _p1w), _p2a(_p1x(87817), _p1w), _p2a(_p1x(93526), _p1w), _p2a(_p1x(33084), _p1w), _p2a(_p1x(97831), _p1w), _p2a(_p1x(45482), _p1w), _p2a(_p1x(272), _p1w), _p2a(_p1x(69377), _p1w), _p2a(_p1x(31127), _p1w), _p2a(_p1x(79353), _p1w), _p2a(_p1x(17274), _p1w), _p2a(_p1x(91302), _p1w), _p2a(_p1x(82229), _p1w), _p2a(_p1x(10325), _p1w), _p2a(_p1x(351), _p1w), _p2a(_p1x(4050), _p1w), _p2a(_p1x(29805), _p1w), _p2a(_p1x(58913), _p1w), _p2a(_p1x(55421), _p1w), _p2a(_p1x(87845), _p1w), _p2a(_p1x(17562), _p1w), _p2a(_p1x(78466), _p1w), _p2a(_p1x(40061), _p1w), _p2a(_p1x(9195), _p1w), _p2a(_p1x(93297), _p1w), _p2a(_p1x(15133), _p1w), _p2a(_p1x(55747), _p1w), _p2a(_p1x(33155), _p1w), _p2a(_p1x(79086), _p1w), _p2a(_p1x(2306), _p1w), _p2a(_p1x(14386), _p1w), _p2a(_p1x(80225), _p1w), _p2a(_p1x(17732), _p1w), _p2a(_p1x(47169), _p1w), _p2a(_p1x(77670), _p1w), _p2a(_p1x(79988), _p1w), _p2a(_p1x(92253), _p1w), _p2a(_p1x(74428), _p1w), _p2a(_p1x(16498), _p1w), _p2a(_p1x(2631), _p1w), _p2a(_p1x(27177), _p1w), _p2a(_p1x(94781), _p1w), _p2a(_p1x(53908), _p1w), _p2a(_p1x(79813), _p1w), _p2a(_p1x(16088), _p1w), _p2a(_p1x(93733), _p1w), _p2a(_p1x(69939), _p1w), _p2a(_p1x(33734), _p1w), _p2a(_p1x(34432), _p1w), _p2a(_p1x(97423), _p1w), _p2a(_p1x(23551), _p1w), _p2a(_p1x(99791), _p1w), _p2a(_p1x(21403), _p1w), _p2a(_p1x(6173), _p1w), _p2a(_p1x(23934), _p1w), _p2a(_p1x(53709), _p1w), _p2a(_p1x(88838), _p1w), _p2a(_p1x(99790), _p1w), _p2a(_p1x(18387), _p1w), _p2a(_p1x(70941), _p1w), _p2a(_p1x(35025), _p1w), _p2a(_p1x(2603), _p1w), _p2a(_p1x(78707), _p1w), _p2a(_p1x(89058), _p1w), _p2a(_p1x(84372), _p1w), _p2a(_p1x(96804), _p1w), _p2a(_p1x(33896), _p1w), _p2a(_p1x(11031), _p1w), _p2a(_p1x(71383), _p1w), _p2a(_p1x(55888), _p1w), _p2a(_p1x(2258), _p1w), _p2a(_p1x(38003), _p1w), _p2a(_p1x(92174), _p1w), _p2a(_p1x(43768), _p1w), _p2a(_p1x(73254), _p1w), _p2a(_p1x(55734), _p1w), _p2a(_p1x(81254), _p1w), _p2a(_p1x(65455), _p1w), _p2a(_p1x(70362), _p1w), _p2a(_p1x(61977), _p1w), _p2a(_p1x(43607), _p1w), _p2a(_p1x(68086), _p1w), _p2a(_p1x(78173), _p1w), _p2a(_p1x(22581), _p1w), _p2a(_p1x(20418), _p1w), _p2a(_p1x(93373), _p1w), _p2a(_p1x(13053), _p1w), _p2a(_p1x(47874), _p1w), _p2a(_p1x(42788), _p1w), _p2a(_p1x(57664), _p1w), _p2a(_p1x(44990), _p1w), _p2a(_p1x(17712), _p1w), _p2a(_p1x(83957), _p1w), _p2a(_p1x(78539), _p1w), _p2a(_p1x(96282), _p1w), _p2a(_p1x(49679), _p1w), _p2a(_p1x(45927), _p1w), _p2a(_p1x(90312), _p1w), _p2a(_p1x(86856), _p1w), _p2a(_p1x(78123), _p1w), _p2a(_p1x(25765), _p1w), _p2a(_p1x(29493), _p1w), _p2a(_p1x(28221), _p1w), _p2a(_p1x(14830), _p1w), _p2a(_p1x(54047), _p1w), _p2a(_p1x(76054), _p1w), _p2a(_p1x(90725), _p1w), _p2a(_p1x(93053), _p1w), _p2a(_p1x(88792), _p1w), _p2a(_p1x(33242), _p1w), _p2a(_p1x(59415), _p1w), _p2a(_p1x(3296), _p1w), _p2a(_p1x(32666), _p1w); }, 82692: function(_p2f, _p2g, _p2h) { 'use strict'; var _p2i = null; var _p2j = this && this.__createBinding || (Object.create ? function(_p2k, _p2l, _p2m, _p2n) { var _p2o = null; void 0 === _p2n && (_p2n = _p2m); var _p2p = Object.getOwnPropertyDescriptor(_p2l, _p2m); _p2p && !('get' in _p2p ? !_p2l.__esModule : _p2p.writable || _p2p.configurable) || (_p2p = { 'enumerable': !0, 'get': function() { return _p2l[_p2m]; } }), Object.defineProperty(_p2k, _p2n, _p2p); } : function(_p2q, _p2r, _p2s, _p2t) { void 0 === _p2t && (_p2t = _p2s), _p2q[_p2t] = _p2r[_p2s]; }), _p2u = this && this.__setModuleDefault || (Object.create ? function(_p2v, _p2w) { var _p2x = null; Object.defineProperty(_p2v, 'default', { 'enumerable': !0, 'value': _p2w }); } : function(_p2y, _p2z) { var _p30 = null; _p2y.default = _p2z; }), _p31 = this && this.__importStar || function(_p32) { var _p33 = null; if (_p32 && _p32.__esModule) return _p32; var _p34 = {}; if (null != _p32) { for (var _p35 in _p32) 'default' !== _p35 && Object.prototype.hasOwnProperty.call(_p32, _p35) && _p2j(_p34, _p32, _p35); } return _p2u(_p34, _p32), _p34; }; defineModule(_p2g); Object.defineProperty(_p2g, '__esModule', { 'value': !0 }), _p2g.SlotItemEffectUtil = void 0; var _p36, _p37 = _p2h(73785), _p38 = _p31(_p2h(89051)), _p39 = _p2h(74496); ! function(_p3a) { var _p3b = null; _p3a.getSlotitemEffect = function(_p3c, _p3d) { var _p3e = null; if (null == _p3c || null == _p3d) return null; for (var _p3f = new _p37.SlotItemEffectParamModel(_p3c, _p3d), _p3g = [{ 'isExecute': Boolean(_p3f.get_type3_nums(9)), 'execFunc': _p38.getSlotType9PersonalEffect }, { 'isExecute': Boolean(_p3f.get_type3_nums(10)), 'execFunc': _p38.getSlotType10PersonalEffect }, { 'isExecute': Boolean(_p3f.get_type3_nums(11)), 'execFunc': _p38.getSlotType11PersonalEffect }, { 'isExecute': Boolean(_p3f.get_type3_nums(12)) || Boolean(_p3f.get_type3_nums(13)), 'execFunc': _p38.getRaderPrivateEffect }, { 'isExecute': Boolean(_p3f.get_type3_nums(25)), 'execFunc': _p38.getSlotType25PersonalEffect }, { 'isExecute': Boolean(_p3f.get_type3_nums(29)), 'execFunc': _p38.getSearchLightEffect }, { 'isExecute': Boolean(_p3f.get_type3_nums(42)), 'execFunc': _p38.getSearchLightLargeEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(3)) || Boolean(_p3f.get_slotnums(122)), 'execFunc': _p38.getSlot3_122PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(5)), 'execFunc': _p38.getSlot5PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(12)), 'execFunc': _p38.getSlot12PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(15)), 'execFunc': _p38.getSlot15PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(18)) || Boolean(_p3f.get_slotnums(52)), 'execFunc': _p38.getSlot18_52_PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(19)), 'execFunc': _p38.getSlot19PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(24)) || Boolean(_p3f.get_slotnums(57)) || Boolean(_p3f.get_slotnums(111)), 'execFunc': _p38.getSlotOtherSuiseiPersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(26)) || Boolean(_p3f.get_slotnums(62)) || Boolean(_p3f.get_slotnums(79)) || Boolean(_p3f.get_slotnums(80)) || Boolean(_p3f.get_slotnums(81)) || Boolean(_p3f.get_slotnums(207)) || Boolean(_p3f.get_slotnums(208)), 'execFunc': _p38.getZuiunSeriesEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(35)), 'execFunc': _p38.getSlot35PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(39)) || Boolean(_p3f.get_slotnums(40)) || Boolean(_p3f.get_slotnums(49)) || Boolean(_p3f.get_slotnums(131)), 'execFunc': _p38.get25mmMachinegunEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(30)) || Boolean(_p3f.get_slotnums(410)), 'execFunc': _p38.getSlot30_410PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(44)) || Boolean(_p3f.get_slotnums(45)) || Boolean(_p3f.get_slotnums(287)) || Boolean(_p3f.get_slotnums(288)), 'execFunc': _p38.getSlotDomesticAntiSubmarineToushakiPersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(46)) || Boolean(_p3f.get_slotnums(47)) || Boolean(_p3f.get_slotnums(149)) || Boolean(_p3f.get_slotnums(132)) || Boolean(_p3f.get_slotnums(438)), 'execFunc': _p38.getSlotDomesticSonarPersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(47)) || Boolean(_p3f.get_slotnums(438)), 'execFunc': _p38.getSlot47PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(50)), 'execFunc': _p38.getSlot50PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(58)), 'execFunc': _p38.getSlot58PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(59)), 'execFunc': _p38.getSlot59PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(60)) || Boolean(_p3f.get_slotnums(154)) || Boolean(_p3f.get_slotnums(219)), 'execFunc': _p38.getSlot60_154_219PersonalEffec }, { 'isExecute': Boolean(_p3f.get_slotnums(61)), 'execFunc': _p38.getSlot61PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(61)), 'execFunc': _p38.getSlot61PersonalEffect2 }, { 'isExecute': Boolean(_p3f.get_slotnums(63)), 'execFunc': _p38.getSlot63PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(66)) || Boolean(_p3f.get_slotnums(220)), 'execFunc': _p38.get8cmAntiAircraftGunPersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(67)), 'execFunc': _p38.getSlot67PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(69)), 'execFunc': _p38.getSlot69PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(70)), 'execFunc': _p38.getSlot70PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(78)), 'execFunc': _p38.getSlot78PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(79)) || Boolean(_p3f.get_slotnums(81)), 'execFunc': _p38.getSlot79And81PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(82)), 'execFunc': _p38.getSlot82PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(84)), 'execFunc': _p38.getSlot84PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(85)), 'execFunc': _p38.getSlot85PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(87)), 'execFunc': _p38.getSlot87PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(90)), 'execFunc': _p38.getSlot90PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(93)), 'execFunc': _p38.getSlot93PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(94)), 'execFunc': _p38.getSlot94PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(99)), 'execFunc': _p38.getSlot99PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(100)), 'execFunc': _p38.getSlot100PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(104)), 'execFunc': _p38.getSlot104PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(106)) || Boolean(_p3f.get_slotnums(450)), 'execFunc': _p38.getSlot106PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(115)), 'execFunc': _p38.getSlot115PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(118)) || Boolean(_p3f.get_slotnums(521)), 'execFunc': _p38.getSlot118PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(119)), 'execFunc': _p38.getSlot119PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(121)), 'execFunc': _p38.getSlot121PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(122)), 'execFunc': _p38.getSlot122PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(128)) || Boolean(_p3f.get_slotnums(281)), 'execFunc': _p38.getSlot51cmSeriesGunPersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(129)), 'execFunc': _p38.getSlot129PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(132)), 'execFunc': _p38.getSlot132PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(136)), 'execFunc': _p38.getSlot136PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(139)), 'execFunc': _p38.getSlot139PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(143)), 'execFunc': _p38.getSlot143PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(144)), 'execFunc': _p38.getSlot144PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(147)) || Boolean(_p3f.get_slotnums(393)) || Boolean(_p3f.get_slotnums(394)), 'execFunc': _p38.getSlot120mm50GroupPersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(149)), 'execFunc': _p38.getSlot149PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(165)) || Boolean(_p3f.get_slotnums(216)), 'execFunc': _p38.getSlot165_216PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(171)), 'execFunc': _p38.getSlot171PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(174)), 'execFunc': _p38.getSlot174PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(179)), 'execFunc': _p38.getSlot179PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(184)), 'execFunc': _p38.getSlot184PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(188)), 'execFunc': _p38.getSlot188PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(189)), 'execFunc': _p38.getSlot189PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(194)), 'execFunc': _p38.getSlot194PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(195)), 'execFunc': _p38.getSlot195PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(204)), 'execFunc': _p38.getSlot204PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(217)), 'execFunc': _p38.getSlot217PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(220)), 'execFunc': _p38.getSlot220PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(227)), 'execFunc': _p38.getSlot227PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(228)), 'execFunc': _p38.getSlot228PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(229)), 'execFunc': _p38.getSlot229PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(234)), 'execFunc': _p38.getSlot234PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(235)), 'execFunc': _p38.getSlot235PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(237)) || Boolean(_p3f.get_slotnums(322)) || Boolean(_p3f.get_slotnums(323)) || Boolean(_p3f.get_slotnums(490)), 'execFunc': _p38.getHighZuiunSeriesEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(237)), 'execFunc': _p38.getSlot237PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(238)) || Boolean(_p3f.get_slotnums(239)), 'execFunc': _p38.getSlot238_239PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(242)), 'execFunc': _p38.getSlot242PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(243)), 'execFunc': _p38.getSlot243PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(244)), 'execFunc': _p38.getSlot244PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(245)) || Boolean(_p3f.get_slotnums(246)) || Boolean(_p3f.get_slotnums(468)), 'execFunc': _p38.getSlot38cmFourBarrelGunPersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(247)), 'execFunc': _p38.getSlot247PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(266)), 'execFunc': _p38.getSlot266PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(266)), 'execFunc': _p38.getSlot266PersonalEffect2 }, { 'isExecute': Boolean(_p3f.get_slotnums(267)) || Boolean(_p3f.get_slotnums(366)), 'execFunc': _p38.getSlot267PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(267)) || Boolean(_p3f.get_slotnums(366)), 'execFunc': _p38.getSlot267PersonalEffect2 }, { 'isExecute': Boolean(_p3f.get_slotnums(268)), 'execFunc': _p38.getCamouflageSlotPersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(271)), 'execFunc': _p38.getSlot271PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(275)), 'execFunc': _p38.getSlot275PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(277)), 'execFunc': _p38.getSlot277PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(278)), 'execFunc': _p38.getSlot278PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(279)), 'execFunc': _p38.getSlot279PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(282)), 'execFunc': _p38.getSlot282PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(283)), 'execFunc': _p38.getSlot283PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(285)), 'execFunc': _p38.getSlot285PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(286)), 'execFunc': _p38.getSlot286PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(286)), 'execFunc': _p38.getSlot286PersonalEffect2 }, { 'isExecute': Boolean(_p3f.get_slotnums(286)), 'execFunc': _p38.getSlot286PersonalEffect3 }, { 'isExecute': Boolean(_p3f.get_slotnums(287)), 'execFunc': _p38.getSlot287PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(288)), 'execFunc': _p38.getSlot288PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(289)), 'execFunc': _p38.getSlot289PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(290)), 'execFunc': _p38.getSlot290PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(291)), 'execFunc': _p38.getSlot291PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(292)), 'execFunc': _p38.getSlot292PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(293)), 'execFunc': _p38.getSlot293PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(294)), 'execFunc': _p38.getSlot294PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(295)), 'execFunc': _p38.getSlot295PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(296)), 'execFunc': _p38.getSlot296PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(297)), 'execFunc': _p38.getSlot297PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(298)) || Boolean(_p3f.get_slotnums(299)) || Boolean(_p3f.get_slotnums(300)), 'execFunc': _p38.getSlot16M1PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(301)), 'execFunc': _p38.getSlot301PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(302)), 'execFunc': _p38.getSlot302PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(303)), 'execFunc': _p38.getSlot303PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(304)), 'execFunc': _p38.getSlot304PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(305)) || Boolean(_p3f.get_slotnums(306)), 'execFunc': _p38.getSlot305_And_306_PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(307)), 'execFunc': _p38.getSlot307PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(308)), 'execFunc': _p38.getSlot308PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(310)) || Boolean(_p3f.get_slotnums(518)), 'execFunc': _p38.getSlot310PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(313)), 'execFunc': _p38.getSlot313PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(314)), 'execFunc': _p38.getSlot314PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(315)), 'execFunc': _p38.getSlot315PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(316)), 'execFunc': _p38.getSlot316PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(317)), 'execFunc': _p38.getSlot317PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(318)), 'execFunc': _p38.getSlot318PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(319)), 'execFunc': _p38.getSlot319PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(320)), 'execFunc': _p38.getSlot320PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(322)), 'execFunc': _p38.getSlot322PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(323)), 'execFunc': _p38.getSlot323PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(324)) || Boolean(_p3f.get_slotnums(325)), 'execFunc': _p38.getSlot324And325PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(326)), 'execFunc': _p38.getSlot326PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(327)), 'execFunc': _p38.getSlot327PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(328)), 'execFunc': _p38.getSlot328PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(329)), 'execFunc': _p38.getSlot329PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(330)) || Boolean(_p3f.get_slotnums(331)) || Boolean(_p3f.get_slotnums(332)), 'execFunc': _p38.getSlot_16InchMkXRensouhou_PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(335)), 'execFunc': _p38.getSlot335PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(336)), 'execFunc': _p38.getSlot336PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(337)), 'execFunc': _p38.getSlot337PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(338)), 'execFunc': _p38.getSlot338PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(339)), 'execFunc': _p38.getSlot339PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(340)), 'execFunc': _p38.getSlot340PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(341)), 'execFunc': _p38.getSlot341PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(342)), 'execFunc': _p38.getSlot342PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(343)), 'execFunc': _p38.getSlot343PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(344)), 'execFunc': _p38.getSlot344PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(345)), 'execFunc': _p38.getSlot345PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(346)), 'execFunc': _p38.getSlot346PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(347)), 'execFunc': _p38.getSlot347PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(356)) || Boolean(_p3f.get_slotnums(357)), 'execFunc': _p38.getSlot356_357PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(358)), 'execFunc': _p38.getSlot358PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(359)), 'execFunc': _p38.getSlot359PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(360)) || Boolean(_p3f.get_slotnums(361)), 'execFunc': _p38.getSlot360_361PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(362)) || Boolean(_p3f.get_slotnums(363)), 'execFunc': _p38.getSlot362_363PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(364)), 'execFunc': _p38.getSlot364PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(365)), 'execFunc': _p38.getSlot365PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(367)), 'execFunc': _p38.getSlot367PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(368)), 'execFunc': _p38.getSlot368PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(369)), 'execFunc': _p38.getSlot369PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(370)), 'execFunc': _p38.getSlot370PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(371)), 'execFunc': _p38.getSlot371PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(372)), 'execFunc': _p38.getSlot372PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(373)), 'execFunc': _p38.getSlot373PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(374)), 'execFunc': _p38.getSlot374PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(375)), 'execFunc': _p38.getSlot375PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(376)), 'execFunc': _p38.getSlot376PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(377)), 'execFunc': _p38.getSlot377PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(378)), 'execFunc': _p38.getSlot378PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(379)), 'execFunc': _p38.getSlot379PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(380)), 'execFunc': _p38.getSlot380PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(381)), 'execFunc': _p38.getSlot381PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(382)) || Boolean(_p3f.get_slotnums(509)), 'execFunc': _p38.getSlot382PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(383)), 'execFunc': _p38.getSlot383PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(384)), 'execFunc': _p38.getSlot384PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(385)), 'execFunc': _p38.getSlot385PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(386)), 'execFunc': _p38.getSlot386PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(387)), 'execFunc': _p38.getSlot387PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(389)), 'execFunc': _p38.getSlot389PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(390)), 'execFunc': _p38.getSlot390PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(391)), 'execFunc': _p38.getSlot391PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(392)), 'execFunc': _p38.getSlot392PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(397)), 'execFunc': _p38.getSlot397PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(398)), 'execFunc': _p38.getSlot398PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(399)), 'execFunc': _p38.getSlot399PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(400)), 'execFunc': _p38.getSlot400PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(407)), 'execFunc': _p38.getSlot407PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(408)), 'execFunc': _p38.getSlot408PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(409)), 'execFunc': _p38.getSlot409PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(411)), 'execFunc': _p38.getSlot411PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(412)), 'execFunc': _p38.getSlot412PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(413)), 'execFunc': _p38.getSlot413PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(414)), 'execFunc': _p38.getSlot414PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(415)), 'execFunc': _p38.getSlot415PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(419)), 'execFunc': _p38.getSlot419PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(420)), 'execFunc': _p38.getSlot420PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(421)), 'execFunc': _p38.getSlot421PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(422)), 'execFunc': _p38.getSlot422PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(423)), 'execFunc': _p38.getSlot423PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(424)), 'execFunc': _p38.getSlot424PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(425)), 'execFunc': _p38.getSlot425PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(426)) || Boolean(_p3f.get_slotnums(427)) || Boolean(_p3f.get_slotnums(428)) || Boolean(_p3f.get_slotnums(429)), 'execFunc': _p38.getSlot305More320mmGunPersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(430)), 'execFunc': _p38.getSlot430PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(434)) || Boolean(_p3f.get_slotnums(435)), 'execFunc': _p38.getSlotCorsairMkIIPersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(437)), 'execFunc': _p38.getSlot437PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(438)), 'execFunc': _p38.getSlot438PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(439)), 'execFunc': _p38.getSlot439PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(440)) || Boolean(_p3f.get_slotnums(441)), 'execFunc': _p38.getSlot440_441PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(442)) || Boolean(_p3f.get_slotnums(443)), 'execFunc': _p38.getSlot442_443PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(447)), 'execFunc': _p38.getSlot447PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(450)), 'execFunc': _p38.getSlot450PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(451)), 'execFunc': _p38.getSlot451PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(455)), 'execFunc': _p38.getSlot455PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(456)), 'execFunc': _p38.getSlot456PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(457)) || Boolean(_p3f.get_slotnums(461)), 'execFunc': _p38.getSlot457PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(458)), 'execFunc': _p38.getSlot458PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(463)), 'execFunc': _p38.getSlot463PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(464)), 'execFunc': _p38.getSlot464PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(465)), 'execFunc': _p38.getSlot465PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(466)), 'execFunc': _p38.getSlot466PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(467)), 'execFunc': _p38.getSlot467PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(470)), 'execFunc': _p38.getSlot470PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(471)), 'execFunc': _p38.getSlot471PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(472)), 'execFunc': _p38.getSlot472PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(473)), 'execFunc': _p38.getSlot473PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(474)), 'execFunc': _p38.getSlot474PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(478)), 'execFunc': _p38.getSlot478PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(483)), 'execFunc': _p38.getSlot483PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(485)), 'execFunc': _p38.getSlot485PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(486)), 'execFunc': _p38.getSlot486PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(487)), 'execFunc': _p38.getSlot487PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(488)), 'execFunc': _p38.getSlot488PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(489)) || Boolean(_p3f.get_slotnums(491)), 'execFunc': _p38.getSlot489PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(500)) || Boolean(_p3f.get_slotnums(501)), 'execFunc': _p38.getSlotSmokePersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(502)), 'execFunc': _p38.getSlot502PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(503)), 'execFunc': _p38.getSlot503PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(505)), 'execFunc': _p38.getSlot505PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(506)), 'execFunc': _p38.getSlot506PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(507)) || Boolean(_p3f.get_slotnums(508)), 'execFunc': _p38.getSlot14inch45CaliberGunPersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(510)), 'execFunc': _p38.getSlot510PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(511)) || Boolean(_p3f.get_slotnums(512)), 'execFunc': _p38.getSlot511PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(517)), 'execFunc': _p38.getSlot517PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(518)), 'execFunc': _p38.getSlot518PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(519)), 'execFunc': _p38.getSlot519PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(520)), 'execFunc': _p38.getSlot520PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(521)), 'execFunc': _p38.getSlot521PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(522)) || Boolean(_p3f.get_slotnums(523)), 'execFunc': _p38.getSlot522_523PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(524)), 'execFunc': _p38.getSlot524PersonalEffect }, { 'isExecute': Boolean(_p3f.get_slotnums(525)) || Boolean(_p3f.get_slotnums(526)), 'execFunc': _p38.getSlotTokuYonPersonalEffect }], _p3h = new _p39.SlotItemEffectModel(), _p3i = 0, _p3j = _p3g; _p3i < _p3j.length; _p3i++) { var _p3k = _p3j[_p3i]; if (_p3k.isExecute) { var _p3l = _p3k.execFunc(_p3f); 0, _p3h.add(_p3l); } } return _p3h; }; }(_p36 || (_p2g.SlotItemEffectUtil = _p36 = {})); }, 86614: function(_p3m, _p3n, _p3o) { 'use strict'; var _p3p = null; var _p3q, _p3r = this && this.__extends || (_p3q = function(_p3s, _p3t) { var _p3u = null; return _p3q = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_p3v, _p3w) { var _p3x = null; _p3v.__proto__ = _p3w; } || function(_p3y, _p3z) { var _p40 = null; for (var _p41 in _p3z) Object.prototype.hasOwnProperty.call(_p3z, _p41) && (_p3y[_p41] = _p3z[_p41]); }, _p3q(_p3s, _p3t); }, function(_p42, _p43) { var _p44 = null; if ('function' != typeof _p43 && null !== _p43) throw new TypeError('Class extends value ' + String(_p43) + ' is not a constructor or null'); function _p45() { var _p46 = null; this.constructor = _p42; } _p3q(_p42, _p43), _p42.prototype = null === _p43 ? Object.create(_p43) : (_p45.prototype = _p43.prototype, new _p45()); }); defineModule(_p3n); Object.defineProperty(_p3n, '__esModule', { 'value': !0 }), _p3n.CutinBar = void 0; var _p47 = _p3o(31000), _p48 = function(_p49) { var _p4a = null; function _p4b() { var _p4c = null, _p4d = _p49.call(this) || this, _p4e = new PIXI.Sprite(_p47.REMODEL_ANIMATION.getTexture(0)); _p4d.addChild(_p4e); var _p4f = new PIXI.Sprite(_p47.REMODEL_ANIMATION.getTexture(1)); _p4d.addChild(_p4f); var _p4g = new PIXI.Graphics(); return _p4g.beginFill(16711935, 0.5), _p4g.drawRect(-_p4e.width / 2, -_p4e.height / 2, _p4e.width, _p4e.height), _p4g.endFill(), _p4g.position.set(_p4e.width / 2, _p4e.height / 2), _p4d.addChild(_p4g), _p4d.mask = _p4g, _p4d; } return _p3r(_p4b, _p49), _p4b.prototype.dispose = function() { var _p4h = null; this.removeChildren(), this.mask = null; }, _p4b; }(PIXI.Container); _p3n.CutinBar = _p48; }, 77473: function(_p4i, _p4j, _p4k) { 'use strict'; var _p4l = null; var _p4m, _p4n = this && this.__extends || (_p4m = function(_p4o, _p4p) { var _p4q = null; return _p4m = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_p4r, _p4s) { var _p4t = null; _p4r.__proto__ = _p4s; } || function(_p4u, _p4v) { var _p4w = null; for (var _p4x in _p4v) Object.prototype.hasOwnProperty.call(_p4v, _p4x) && (_p4u[_p4x] = _p4v[_p4x]); }, _p4m(_p4o, _p4p); }, function(_p4y, _p4z) { var _p50 = null; if ('function' != typeof _p4z && null !== _p4z) throw new TypeError('Class extends value ' + String(_p4z) + ' is not a constructor or null'); function _p51() { var _p52 = null; this.constructor = _p4y; } _p4m(_p4y, _p4z), _p4y.prototype = null === _p4z ? Object.create(_p4z) : (_p51.prototype = _p4z.prototype, new _p51()); }); defineModule(_p4j); Object.defineProperty(_p4j, '__esModule', { 'value': !0 }), _p4j.IconCategory = void 0; var _p53 = _p4k(61154), _p54 = _p4k(31000), _p55 = function(_p56) { var _p57 = null; function _p58() { var _p59 = null, _p5a = _p56.call(this) || this; return _p5a.textureRemodelCategory1 = _p54.REMODEL_POWERUP.getTexture(28), _p5a.textureRemodelCategory2 = _p54.REMODEL_POWERUP.getTexture(29), _p5a.textureRemodelCategory3 = _p54.REMODEL_POWERUP.getTexture(30), _p5a.textureRemodelCategory4 = _p54.REMODEL_POWERUP.getTexture(31), _p5a; } return _p4n(_p58, _p56), _p58.prototype.update = function(_p5b) { var _p5c = null; switch (this.texture = PIXI.Texture.EMPTY, _p5b) { case _p53.PowerUpCategory.Karyoku: this.texture = this.textureRemodelCategory1; break; case _p53.PowerUpCategory.Raisou: this.texture = this.textureRemodelCategory2; break; case _p53.PowerUpCategory.Taiku: this.texture = this.textureRemodelCategory3; break; case _p53.PowerUpCategory.Soukou: this.texture = this.textureRemodelCategory4; } }, _p58.prototype.dispose = function() { var _p5d = null; this.textureRemodelCategory1 = null, this.textureRemodelCategory2 = null, this.textureRemodelCategory3 = null, this.textureRemodelCategory4 = null; }, _p58; }(PIXI.Sprite); _p4j.IconCategory = _p55; }, 10430: function(_p5e, _p5f, _p5g) { 'use strict'; var _p5h = null; var _p5i, _p5j = this && this.__extends || (_p5i = function(_p5k, _p5l) { var _p5m = null; return _p5i = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_p5n, _p5o) { var _p5p = null; _p5n.__proto__ = _p5o; } || function(_p5q, _p5r) { var _p5s = null; for (var _p5t in _p5r) Object.prototype.hasOwnProperty.call(_p5r, _p5t) && (_p5q[_p5t] = _p5r[_p5t]); }, _p5i(_p5k, _p5l); }, function(_p5u, _p5v) { var _p5w = null; if ('function' != typeof _p5v && null !== _p5v) throw new TypeError('Class extends value ' + String(_p5v) + ' is not a constructor or null'); function _p5x() { var _p5y = null; this.constructor = _p5u; } _p5i(_p5u, _p5v), _p5u.prototype = null === _p5v ? Object.create(_p5v) : (_p5x.prototype = _p5v.prototype, new _p5x()); }); defineModule(_p5f); Object.defineProperty(_p5f, '__esModule', { 'value': !0 }), _p5f.PowerElement = void 0; var _p5z = _p5g(31000), _p60 = function(_p61) { var _p62 = null; function _p63() { var _p64 = null, _p65 = _p61.call(this) || this; _p65.rollR = [0, 0, 0, 0], _p65.rot = [0, 0, 0, 0], _p65.spd = 2, _p65.balls = [], _p65.RESIDS = [4, 5, 6, 7]; for (var _p66 = 0; _p66 < _p65.RESIDS.length; _p66++) { var _p67 = new PIXI.Sprite(_p5z.REMODEL_ANIMATION.getTexture(_p65.RESIDS[_p66])); _p67.anchor.set(0.5, 0.5), _p65.addChild(_p67), _p65.balls.push(_p67); } return createjs.Tween.get(_p65, { 'loop': !0 }).wait(1 / 60).call(function() { var _p68 = null; _p65.__ENTERFRAME__(); }).play(null), _p65; } return _p5j(_p63, _p61), _p63.prototype.updateRotationTable = function() { var _p69 = null; for (var _p6a = 0; _p6a < this.RESIDS.length; _p6a++) this.rollR[_p6a] = Math.floor(121 * Math.random()) - 60, this.rot[_p6a] = Math.floor(360 * Math.random()); }, _p63.prototype.__ENTERFRAME__ = function() { var _p6b = null; for (var _p6c = 0; _p6c < 4; _p6c++) { var _p6d = this.balls[_p6c]; _p6d.x = this.rollR[_p6c] * Math.cos(this.rot[_p6c] / 180 * Math.PI), _p6d.y = this.rollR[_p6c] * Math.sin(this.rot[_p6c] / 180 * Math.PI), this.rot[_p6c] += this.spd; } }, _p63.prototype.dispose = function() { var _p6e = null; createjs.Tween.removeTweens(this), this.rollR = null, this.rot = null, this.spd = null, this.balls = null, this.RESIDS = null, this.removeChildren(); }, _p63; }(PIXI.Container); _p5f.PowerElement = _p60; }, 34603: function(_p6f, _p6g, _p6h) { 'use strict'; var _p6i = null; var _p6j, _p6k = this && this.__extends || (_p6j = function(_p6l, _p6m) { var _p6n = null; return _p6j = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_p6o, _p6p) { var _p6q = null; _p6o.__proto__ = _p6p; } || function(_p6r, _p6s) { var _p6t = null; for (var _p6u in _p6s) Object.prototype.hasOwnProperty.call(_p6s, _p6u) && (_p6r[_p6u] = _p6s[_p6u]); }, _p6j(_p6l, _p6m); }, function(_p6v, _p6w) { var _p6x = null; if ('function' != typeof _p6w && null !== _p6w) throw new TypeError('Class extends value ' + String(_p6w) + ' is not a constructor or null'); function _p6y() { var _p6z = null; this.constructor = _p6v; } _p6j(_p6v, _p6w), _p6v.prototype = null === _p6w ? Object.create(_p6w) : (_p6y.prototype = _p6w.prototype, new _p6y()); }); defineModule(_p6g); Object.defineProperty(_p6g, '__esModule', { 'value': !0 }), _p6g.ShipParameter = void 0; var _p70 = _p6h(74568), _p71 = _p6h(90054), _p72 = function(_p73) { var _p74 = null; function _p75() { var _p76 = null, _p77 = _p71.COMMON_MAIN.getTexture(16); return _p73.call(this, _p77) || this; } return _p6k(_p75, _p73), _p75.prototype.update = function(_p78, _p79, _p7a, _p7b, _p7c, _p7d, _p7e, _p7f, _p7g, _p7h, _p7i, _p7j, _p7k, _p7l, _p7m, _p7n) { var _p7o = null; this._update_(_p78, _p79, _p7a, _p7b, _p7c, _p7d, _p7e, _p7f, _p7g, _p7h, _p7i, _p7j), this._updateSp(_p7k, _p7l, _p7m, _p7n), this._sokuryoku.position.set(113 - Math.floor(this._sokuryoku.width / 2), 143), this._shatei.position.set(113 - Math.floor(this._shatei.width / 2), 177); }, _p75.prototype._update_ = function(_p7p, _p7q, _p7r, _p7s, _p7t, _p7u, _p7v, _p7w, _p7x, _p7y, _p7z, _p80) { var _p81 = null; this._textHp.text = '' ['concat'](_p7p), this._textSoukou.text = '' ['concat'](_p7q), this._textKaihi.text = '' ['concat'](_p7r), this._textTousai.text = '' ['concat'](_p7s), this._textKaryoku.text = '' ['concat'](_p7v), this._textRaisou.text = '' ['concat'](_p7w), this._textTaiku.text = '' ['concat'](_p7x), this._textTaisen.text = '' ['concat'](_p7y), this._textSakuteki.text = '' ['concat'](_p7z), this._textLucky.text = '' ['concat'](_p80), this._sokuryoku.update(_p7t), this._shatei.update(_p7u); }, _p75.prototype._updateSp = function(_p82, _p83, _p84, _p85) { var _p86 = null; this._karyokuSp.update(_p82), this._raisouSp.update(_p83), this._soukouSp.update(_p84), this._kaihiSp.update(_p85); }, _p75.prototype._alignment = function() { var _p87 = null; this._textHp.position.set(140, 3), this._textSoukou.position.set(140, 38), this._textKaihi.position.set(140, 72), this._textTousai.position.set(140, 105), this._sokuryoku.position.set(113, 140), this._shatei.position.set(114, 173), this._textKaryoku.position.set(290, 3), this._textRaisou.position.set(290, 38), this._textTaiku.position.set(290, 72), this._textTaisen.position.set(290, 106), this._textSakuteki.position.set(290, 140), this._textLucky.position.set(290, 174), this._karyokuSp.position.set(281, 19), this._raisouSp.position.set(281, 53), this._soukouSp.position.set(130, 53), this._kaihiSp.position.set(130, 87); }, _p75; }(_p70.ShipParameterViewBase); _p6g.ShipParameter = _p72; }, 70245: function(_p88, _p89, _p8a) { 'use strict'; var _p8b = null; var _p8c, _p8d = this && this.__extends || (_p8c = function(_p8e, _p8f) { var _p8g = null; return _p8c = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_p8h, _p8i) { var _p8j = null; _p8h.__proto__ = _p8i; } || function(_p8k, _p8l) { var _p8m = null; for (var _p8n in _p8l) Object.prototype.hasOwnProperty.call(_p8l, _p8n) && (_p8k[_p8n] = _p8l[_p8n]); }, _p8c(_p8e, _p8f); }, function(_p8o, _p8p) { var _p8q = null; if ('function' != typeof _p8p && null !== _p8p) throw new TypeError('Class extends value ' + String(_p8p) + ' is not a constructor or null'); function _p8r() { var _p8s = null; this.constructor = _p8o; } _p8c(_p8o, _p8p), _p8o.prototype = null === _p8p ? Object.create(_p8p) : (_p8r.prototype = _p8p.prototype, new _p8r()); }); defineModule(_p89); Object.defineProperty(_p89, '__esModule', { 'value': !0 }), _p89.ShipParameterChecker = void 0; var _p8t = _p8a(74568), _p8u = _p8a(34654), _p8v = function(_p8w) { var _p8x = null; function _p8y() { var _p8z = null, _p90 = this, _p91 = _p8u.REMODEL_POWERUP.getTexture(18); _p90 = _p8w.call(this, _p91) || this; var _p92 = _p8u.REMODEL_POWERUP.getTexture(27); return _p90._taikyuArrow = new PIXI.Sprite(_p92), _p90._taikyuArrow.position.set(106, 8), _p90._taikyuArrow.visible = !1, _p90.addChild(_p90._taikyuArrow), _p90._taisenArrow = new PIXI.Sprite(_p92), _p90._taisenArrow.position.set(245, 110), _p90._taisenArrow.visible = !1, _p90.addChild(_p90._taisenArrow), _p90._luckyArrow = new PIXI.Sprite(_p92), _p90._luckyArrow.position.set(245, 179), _p90._luckyArrow.visible = !1, _p90.addChild(_p90._luckyArrow), _p90; } return _p8d(_p8y, _p8w), _p8y.prototype.dispose = function() { var _p93 = null; _p8w.prototype.dispose.call(this), this._taikyuArrow = null, this._taisenArrow = null, this._luckyArrow = null; }, _p8y.prototype.clear = function() { var _p94 = null; this._textHp.text = '', this._textSoukou.text = '', this._textKaihi.text = '', this._textTousai.text = '', this._textKaryoku.text = '', this._textRaisou.text = '', this._textTaiku.text = '', this._textTaisen.text = '', this._textSakuteki.text = '', this._textLucky.text = ''; }, _p8y.prototype.updateKaryoku = function(_p95, _p96) { var _p97 = null, _p98 = 5523516; _p95 != _p96 && (_p98 = 1949120), this._textKaryoku.style.fill = _p98, this._textKaryoku.text = '' ['concat'](_p96); }, _p8y.prototype.updateRaisou = function(_p99, _p9a) { var _p9b = null, _p9c = 5523516; _p99 != _p9a && (_p9c = 1949120), this._textRaisou.style.fill = _p9c, this._textRaisou.text = '' ['concat'](_p9a); }, _p8y.prototype.updateSoukou = function(_p9d, _p9e) { var _p9f = null, _p9g = 5523516; _p9d != _p9e && (_p9g = 1949120), this._textSoukou.style.fill = _p9g, this._textSoukou.text = '' ['concat'](_p9e); }, _p8y.prototype.updateTaiku = function(_p9h, _p9i) { var _p9j = null, _p9k = 5523516; _p9h != _p9i && (_p9k = 1949120), this._textTaiku.style.fill = _p9k, this._textTaiku.text = '' ['concat'](_p9i); }, _p8y.prototype.updateLucky = function(_p9l, _p9m, _p9n) { var _p9o = null; this._textLucky.visible = !1, this._luckyArrow.visible = !1; var _p9p = 5523516, _p9q = '', _p9r = _p9l != _p9m; _p9n ? this._luckyArrow.visible = !0 : _p9r ? (_p9p = 1949120, _p9q = '' ['concat'](_p9m), this._textLucky.visible = !0) : (_p9q = '' ['concat'](_p9m), this._textLucky.visible = !0), this._textLucky.style.fill = _p9p, this._textLucky.text = _p9q; }, _p8y.prototype.updateLuckyBonusOnly = function(_p9s) { var _p9t = null; '' != this._textLucky.text.trim() && (this._textLucky.visible = !_p9s, this._luckyArrow.visible = _p9s); }, _p8y.prototype.updateTaikyu = function(_p9u, _p9v) { var _p9w = null; this._textHp.visible = !1, this._taikyuArrow.visible = !1, _p9v ? this._taikyuArrow.visible = !0 : (this._textHp.visible = !0, this._textHp.text = '' ['concat'](_p9u)); }, _p8y.prototype.updateTaisen = function(_p9x, _p9y) { var _p9z = null; this._taisenArrow.visible = !1, this._textTaisen.visible = !1, _p9y ? this._taisenArrow.visible = !0 : (this._textTaisen.visible = !0, this._textTaisen.text = '' ['concat'](_p9x)); }, _p8y.prototype.updateCommon = function(_pa0, _pa1, _pa2, _pa3, _pa4, _pa5, _pa6, _pa7, _pa8, _pa9, _paa) { var _pab = null; this._textHp.text = '' ['concat'](_pa0), this._textKaihi.text = '' ['concat'](_pa1), this._textTousai.text = '' ['concat'](_pa2), this._textTaisen.text = '' ['concat'](_pa5), this._textSakuteki.text = '' ['concat'](_pa6), this._sokuryoku.update(_pa3), this._shatei.update(_pa4), this._sokuryoku.position.set(111 - Math.floor(this._sokuryoku.width / 2), 142), this._shatei.position.set(110 - Math.floor(this._shatei.width / 2), 175), this._updateSp(_pa7, _pa8, _pa9, _paa); }, _p8y.prototype._updateSp = function(_pac, _pad, _pae, _paf) { var _pag = null; this._karyokuSp.update(_pac), this._raisouSp.update(_pad), this._soukouSp.update(_pae), this._kaihiSp.update(_paf); }, _p8y.prototype._alignment = function() { var _pah = null; this._textHp.position.set(134, 3), this._textSoukou.position.set(134, 38), this._textKaihi.position.set(134, 72), this._textTousai.position.set(134, 107), this._sokuryoku.position.set(111, 143), this._shatei.position.set(111, 177), this._textKaryoku.position.set(273, 3), this._textRaisou.position.set(273, 38), this._textTaiku.position.set(273, 72), this._textTaisen.position.set(273, 106), this._textSakuteki.position.set(273, 139), this._textLucky.position.set(273, 174), this._karyokuSp.position.set(261, 19), this._raisouSp.position.set(261, 53), this._soukouSp.position.set(120, 53), this._kaihiSp.position.set(120, 87); }, _p8y; }(_p8t.ShipParameterViewBase); _p89.ShipParameterChecker = _p8v; }, 30603: function(_pai, _paj, _pak) { 'use strict'; var _pal = null; var _pam, _pan = this && this.__extends || (_pam = function(_pao, _pap) { var _paq = null; return _pam = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_par, _pas) { var _pat = null; _par.__proto__ = _pas; } || function(_pau, _pav) { var _paw = null; for (var _pax in _pav) Object.prototype.hasOwnProperty.call(_pav, _pax) && (_pau[_pax] = _pav[_pax]); }, _pam(_pao, _pap); }, function(_pay, _paz) { var _pb0 = null; if ('function' != typeof _paz && null !== _paz) throw new TypeError('Class extends value ' + String(_paz) + ' is not a constructor or null'); function _pb1() { var _pb2 = null; this.constructor = _pay; } _pam(_pay, _paz), _pay.prototype = null === _paz ? Object.create(_paz) : (_pb1.prototype = _paz.prototype, new _pb1()); }); defineModule(_paj); Object.defineProperty(_paj, '__esModule', { 'value': !0 }), _paj.SimpleSlotItemSlot = void 0; var _pb3 = _pak(31000), _pb4 = _pak(6218), _pb5 = _pak(8744), _pb6 = _pak(14921), _pb7 = function(_pb8) { var _pb9 = null; function _pba() { var _pbb = null, _pbc = _pb8.call(this) || this; return _pbc.background = new PIXI.Sprite(_pb3.COMMON_MAIN.getTexture(46)), _pbc.containerItemName = new PIXI.Container(), _pbc.containerItemName.position.set(50, 11), _pbc.textItemName = new _pb5.TextBox(19, 5523516), _pbc.maskItemName = _pb6.CreateRect.gradientLeftToRight(244, 35, 0.65, 0.7), _pbc.iconWeapon = new _pb4.IconWeapon(), _pbc.containerItemName.mask = _pbc.maskItemName, _pbc.containerItemName.addChild(_pbc.textItemName, _pbc.maskItemName), _pbc.addChild(_pbc.background, _pbc.containerItemName, _pbc.iconWeapon), _pbc; } return _pan(_pba, _pb8), _pba.prototype.update = function(_pbd) { var _pbe = null; this._update_(_pbd.name, _pbd.iconType); }, _pba.prototype.empty = function() { var _pbf = null; this._updateIconType_(0), this._updateItemName_(''); }, _pba.prototype._update_ = function(_pbg, _pbh) { var _pbi = null; this._updateIconType_(_pbh), this._updateItemName_(_pbg); }, _pba.prototype._updateItemName_ = function(_pbj) { var _pbk = null; this.textItemName.text = _pbj; }, _pba.prototype._updateIconType_ = function(_pbl) { var _pbm = null; this.iconWeapon.update(_pbl); }, _pba.prototype.dispose = function() { var _pbn = null; this.removeChildren(), this.iconWeapon.dispose(), this.containerItemName.removeChildren(), this.containerItemName.mask = null, this.textItemName.destroy(), this.iconWeapon = null, this.background = null, this.textItemName = null, this.background = null, this.containerItemName = null; }, _pba; }(PIXI.Container); _paj.SimpleSlotItemSlot = _pb7; }, 17205: function(_pbo, _pbp, _pbq) { 'use strict'; var _pbr = null; var _pbs, _pbt = this && this.__extends || (_pbs = function(_pbu, _pbv) { var _pbw = null; return _pbs = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_pbx, _pby) { var _pbz = null; _pbx.__proto__ = _pby; } || function(_pc0, _pc1) { var _pc2 = null; for (var _pc3 in _pc1) Object.prototype.hasOwnProperty.call(_pc1, _pc3) && (_pc0[_pc3] = _pc1[_pc3]); }, _pbs(_pbu, _pbv); }, function(_pc4, _pc5) { var _pc6 = null; if ('function' != typeof _pc5 && null !== _pc5) throw new TypeError('Class extends value ' + String(_pc5) + ' is not a constructor or null'); function _pc7() { var _pc8 = null; this.constructor = _pc4; } _pbs(_pc4, _pc5), _pc4.prototype = null === _pc5 ? Object.create(_pc5) : (_pc7.prototype = _pc5.prototype, new _pc7()); }); defineModule(_pbp); Object.defineProperty(_pbp, '__esModule', { 'value': !0 }), _pbp.CancelButton = void 0; var _pc9 = _pbq(35380), _pca = function(_pcb) { var _pcc = null; function _pcd(_pce, _pcf) { var _pcg = null, _pch = _pcb.call(this) || this; return _pch._onMouseOver = function() { var _pci = null; _pch.texture = _pch._textureOn; }, _pch._onMouseOut = function() { var _pcj = null; _pch.texture = _pch._textureOff; }, _pch._onClick = function() { var _pck = null; null != _pch._cb_onClick && _pch._cb_onClick(); }, _pch._textureOff = _pce, _pch._textureOn = _pcf, _pch.texture = _pch._textureOff, _pch.interactive = _pch.buttonMode = !0, _pch.on(_pc9.EventType.CLICK, _pch._onClick), _pch.on(_pc9.EventType.MOUSEOVER, _pch._onMouseOver), _pch.on(_pc9.EventType.MOUSEOUT, _pch._onMouseOut), _pch; } return _pbt(_pcd, _pcb), _pcd.prototype.initialize = function(_pcl) { var _pcm = null; this._cb_onClick = _pcl; }, _pcd.prototype.dispose = function() { var _pcn = null; this._textureOff = null, this._textureOn = null, this.off(_pc9.EventType.CLICK, this._onClick), this.off(_pc9.EventType.MOUSEOVER, this._onMouseOver), this.off(_pc9.EventType.MOUSEOUT, this._onMouseOut), this._cb_onClick = null, this.removeChildren(); }, _pcd; }(PIXI.Sprite); _pbp.CancelButton = _pca; }, 57828: function(_pco, _pcp, _pcq) { 'use strict'; var _pcr = null; var _pcs, _pct = this && this.__extends || (_pcs = function(_pcu, _pcv) { var _pcw = null; return _pcs = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_pcx, _pcy) { var _pcz = null; _pcx.__proto__ = _pcy; } || function(_pd0, _pd1) { var _pd2 = null; for (var _pd3 in _pd1) Object.prototype.hasOwnProperty.call(_pd1, _pd3) && (_pd0[_pd3] = _pd1[_pd3]); }, _pcs(_pcu, _pcv); }, function(_pd4, _pd5) { var _pd6 = null; if ('function' != typeof _pd5 && null !== _pd5) throw new TypeError('Class extends value ' + String(_pd5) + ' is not a constructor or null'); function _pd7() { var _pd8 = null; this.constructor = _pd4; } _pcs(_pd4, _pd5), _pd4.prototype = null === _pd5 ? Object.create(_pd5) : (_pd7.prototype = _pd5.prototype, new _pd7()); }); defineModule(_pcp); Object.defineProperty(_pcp, '__esModule', { 'value': !0 }), _pcp.TitleBar = void 0; var _pd9 = _pcq(31000), _pda = function(_pdb) { var _pdc = null; function _pdd() { var _pde = null, _pdf = _pdb.call(this) || this; return _pdf._text = new PIXI.Sprite(), _pdf._text.y = 11, _pdf.addChild(_pdf._text), _pdf.interactive = !0, _pdf; } return _pct(_pdd, _pdb), _pdd.prototype.initialize = function(_pdg, _pdh) { var _pdi = null; this.texture = _pd9.COMMON_MAIN.getTexture(67), this._text.texture = _pdg, this._text.x = _pdh; }, _pdd.prototype.dispose = function() { var _pdj = null; this.removeChildren(), this._text.destroy(), this._text = null; }, _pdd; }(PIXI.Sprite); _pcp.TitleBar = _pda; }, 36083: function(_pdk, _pdl, _pdm) { 'use strict'; var _pdn = null; var _pdo, _pdp = this && this.__extends || (_pdo = function(_pdq, _pdr) { var _pds = null; return _pdo = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_pdt, _pdu) { var _pdv = null; _pdt.__proto__ = _pdu; } || function(_pdw, _pdx) { var _pdy = null; for (var _pdz in _pdx) Object.prototype.hasOwnProperty.call(_pdx, _pdz) && (_pdw[_pdz] = _pdx[_pdz]); }, _pdo(_pdq, _pdr); }, function(_pe0, _pe1) { var _pe2 = null; if ('function' != typeof _pe1 && null !== _pe1) throw new TypeError('Class extends value ' + String(_pe1) + ' is not a constructor or null'); function _pe3() { var _pe4 = null; this.constructor = _pe0; } _pdo(_pe0, _pe1), _pe0.prototype = null === _pe1 ? Object.create(_pe1) : (_pe3.prototype = _pe1.prototype, new _pe3()); }); defineModule(_pdl); Object.defineProperty(_pdl, '__esModule', { 'value': !0 }), _pdl.DeckSelectView = void 0; var _pe5 = _pdm(11997), _pe6 = _pdm(35380), _pe7 = function(_pe8) { var _pe9 = null; function _pea() { var _peb = null, _pec = _pe8.call(this) || this; return _pec._onClick = function() { var _ped = null; _pec.onClick(); }, _pec.textureFocus = _pe5.COMMON_MISC.getTexture(90), _pec.textureDeFocus = _pe5.COMMON_MISC.getTexture(89), _pec.textureLocked = PIXI.Texture.EMPTY, _pec.interactive = _pec.buttonMode = !1, _pec.on(_pe6.EventType.CLICK, _pec._onClick), _pec; } return _pdp(_pea, _pe8), _pea.prototype.dispose = function() { var _pee = null; this.onClick = null, this.textureFocus = null, this.textureDeFocus = null, this.textureLocked = null, this.off(_pe6.EventType.CLICK); }, _pea.prototype.focus = function() { var _pef = null; this.interactive = this.buttonMode = !1, this.texture = this.textureFocus; }, _pea.prototype.deFocus = function() { var _peg = null; this.interactive = this.buttonMode = !0, this.texture = this.textureDeFocus; }, _pea.prototype.locked = function() { var _peh = null; this.interactive = this.buttonMode = !1, this.texture = this.textureLocked; }, _pea; }(PIXI.Sprite), _pei = function(_pej) { var _pek = null; function _pel(_pem, _pen, _peo, _pep) { var _peq = null, _per = _pej.call(this) || this; return _per._onClick = function() { var _pes = null; _per.onClick(_per.deckId); }, _per.deckId = _pem, _per.textureFocus = _pe5.COMMON_MISC.getTexture(_pen), _per.textureDeFocus = _pe5.COMMON_MISC.getTexture(_peo), _per.textureLocked = _pe5.COMMON_MISC.getTexture(_pep), _per.interactive = _per.buttonMode = !1, _per.on(_pe6.EventType.CLICK, _per._onClick), _per; } return _pdp(_pel, _pej), _pel.prototype.dispose = function() { var _pet = null; this.onClick = null, this.deckId = null, this.textureFocus = null, this.textureDeFocus = null, this.textureLocked = null, this.off(_pe6.EventType.CLICK); }, _pel.prototype.focus = function() { var _peu = null; this.interactive = this.buttonMode = !1, this.texture = this.textureFocus; }, _pel.prototype.deFocus = function() { var _pev = null; this.interactive = this.buttonMode = !0, this.texture = this.textureDeFocus; }, _pel.prototype.locked = function() { var _pew = null; this.interactive = this.buttonMode = !1, this.texture = this.textureLocked; }, _pel; }(PIXI.Sprite), _pex = function(_pey) { var _pez = null; function _pf0() { var _pf1 = null, _pf2 = _pey.call(this) || this; return _pf2._onClickDeck_1 = function() { var _pf3 = null; _pf2._onClickDeck(1); }, _pf2._onClickDeck_2 = function() { var _pf4 = null; _pf2._onClickDeck(2); }, _pf2._onClickDeck_3 = function() { var _pf5 = null; _pf2._onClickDeck(3); }, _pf2._onClickDeck_4 = function() { var _pf6 = null; _pf2._onClickDeck(4); }, _pf2._onClickOther = function() { var _pf7 = null; _pf2.onClickOther(); }, _pf2.deck1 = new _pei(1, 79, 78, 77), _pf2.deck2 = new _pei(2, 82, 81, 80), _pf2.deck3 = new _pei(3, 85, 84, 83), _pf2.deck4 = new _pei(4, 88, 87, 86), _pf2.other = new _pe7(), _pf2.deck1.position.set(0, 0), _pf2.deck2.position.set(45, 0), _pf2.deck3.position.set(90, 0), _pf2.deck4.position.set(135, 0), _pf2.other.position.set(180, 0), _pf2.deck1.onClick = _pf2._onClickDeck_1, _pf2.deck2.onClick = _pf2._onClickDeck_2, _pf2.deck3.onClick = _pf2._onClickDeck_3, _pf2.deck4.onClick = _pf2._onClickDeck_4, _pf2.other.onClick = _pf2._onClickOther, _pf2.addChild(_pf2.deck1, _pf2.deck2, _pf2.deck3, _pf2.deck4), _pf2.addChild(_pf2.other), _pf2; } return _pdp(_pf0, _pey), _pf0.prototype.focusDeck = function(_pf8) { var _pf9 = null; switch (this._reset(this.deckIds, this.otherShipCount), _pf8) { case 1: this.deck1.focus(); break; case 2: this.deck2.focus(); break; case 3: this.deck3.focus(); break; case 4: this.deck4.focus(); } }, _pf0.prototype.focusOther = function() { var _pfa = null; this._reset(this.deckIds, this.otherShipCount), this.other.focus(); }, _pf0.prototype.dispose = function() { var _pfb = null; this.deck1.dispose(), this.deck2.dispose(), this.deck3.dispose(), this.deck4.dispose(), this.other.dispose(), this.deck1 = null, this.deck2 = null, this.deck3 = null, this.deck4 = null, this.other = null, this.deckIds = null, this.otherShipCount = null, this.removeChildren(); }, _pf0.prototype._onClickDeck = function(_pfc) { var _pfd = null; this.onClickDeck(_pfc); }, _pf0.prototype.update = function(_pfe, _pff) { var _pfg = null; this._reset(_pfe, _pff), this.deckIds = _pfe, this.otherShipCount = _pff; }, _pf0.prototype._reset = function(_pfh, _pfi) { var _pfj = null; this.deck1.locked(), this.deck2.locked(), this.deck3.locked(), this.deck4.locked(), this.other.locked(), -1 != _pfh.indexOf(1) && this.deck1.deFocus(), -1 != _pfh.indexOf(2) && this.deck2.deFocus(), -1 != _pfh.indexOf(3) && this.deck3.deFocus(), -1 != _pfh.indexOf(4) && this.deck4.deFocus(), 0 < _pfi && this.other.deFocus(); }, _pf0; }(PIXI.Container); _pdl.DeckSelectView = _pex; }, 8817: function(_pfk, _pfl, _pfm) { 'use strict'; var _pfn = null; var _pfo, _pfp = this && this.__extends || (_pfo = function(_pfq, _pfr) { var _pfs = null; return _pfo = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_pft, _pfu) { var _pfv = null; _pft.__proto__ = _pfu; } || function(_pfw, _pfx) { var _pfy = null; for (var _pfz in _pfx) Object.prototype.hasOwnProperty.call(_pfx, _pfz) && (_pfw[_pfz] = _pfx[_pfz]); }, _pfo(_pfq, _pfr); }, function(_pg0, _pg1) { var _pg2 = null; if ('function' != typeof _pg1 && null !== _pg1) throw new TypeError('Class extends value ' + String(_pg1) + ' is not a constructor or null'); function _pg3() { var _pg4 = null; this.constructor = _pg0; } _pfo(_pg0, _pg1), _pg0.prototype = null === _pg1 ? Object.create(_pg1) : (_pg3.prototype = _pg1.prototype, new _pg3()); }), _pg5 = this && this.__createBinding || (Object.create ? function(_pg6, _pg7, _pg8, _pg9) { var _pga = null; void 0 === _pg9 && (_pg9 = _pg8); var _pgb = Object.getOwnPropertyDescriptor(_pg7, _pg8); _pgb && !('get' in _pgb ? !_pg7.__esModule : _pgb.writable || _pgb.configurable) || (_pgb = { 'enumerable': !0, 'get': function() { return _pg7[_pg8]; } }), Object.defineProperty(_pg6, _pg9, _pgb); } : function(_pgc, _pgd, _pge, _pgf) { void 0 === _pgf && (_pgf = _pge), _pgc[_pgf] = _pgd[_pge]; }), _pgg = this && this.__setModuleDefault || (Object.create ? function(_pgh, _pgi) { var _pgj = null; Object.defineProperty(_pgh, 'default', { 'enumerable': !0, 'value': _pgi }); } : function(_pgk, _pgl) { var _pgm = null; _pgk.default = _pgl; }), _pgn = this && this.__importStar || function(_pgo) { var _pgp = null; if (_pgo && _pgo.__esModule) return _pgo; var _pgq = {}; if (null != _pgo) { for (var _pgr in _pgo) 'default' !== _pgr && Object.prototype.hasOwnProperty.call(_pgo, _pgr) && _pg5(_pgq, _pgo, _pgr); } return _pgg(_pgq, _pgo), _pgq; }; defineModule(_pfl); Object.defineProperty(_pfl, '__esModule', { 'value': !0 }), _pfl.DeckCraneFrame = _pfl.OtherShipFrame = void 0; var _pgs = _pgn(_pfm(31000)), _pgt = _pfm(66285), _pgu = function(_pgv) { var _pgw = null; function _pgx() { var _pgy = null, _pgz = _pgv.call(this) || this; return _pgz.select_bg_crane01 = new PIXI.Sprite(_pgs.REMODEL_MAIN.getTexture(44)), _pgz.select_bg_crane02 = new PIXI.Sprite(_pgs.REMODEL_MAIN.getTexture(45)), _pgz.select_bg_crane01.position.set(275, -3), _pgz.select_bg_crane02.position.set(0, 0), _pgz.addChild(_pgz.select_bg_crane01, _pgz.select_bg_crane02), _pgz; } return _pfp(_pgx, _pgv), _pgx.prototype.dispose = function() { var _ph0 = null; this.select_bg_crane01 = null, this.select_bg_crane02 = null, this.removeChildren(); }, _pgx; }(PIXI.Container); _pfl.OtherShipFrame = _pgu; var _ph1 = function(_ph2) { var _ph3 = null; function _ph4() { var _ph5 = null, _ph6 = _ph2.call(this) || this, _ph7 = new PIXI.Sprite(_pgs.REMODEL_MAIN.getTexture(44)), _ph8 = new PIXI.Sprite(_pgs.REMODEL_MAIN.getTexture(45)); _ph6.crane = new PIXI.Sprite(_pgs.REMODEL_MAIN.getTexture(47)), _ph6.focus_card = new PIXI.Sprite(_pgs.REMODEL_MAIN.getTexture(22)), _ph7.position.set(275, -3), _ph8.position.set(0, 0); var _ph9 = [62, 143, 224, 305, 386, 467]; _ph6.addChild(_ph6.focus_card, _ph6.crane); for (var _pha = 0; _pha < _ph9.length; _pha++) { var _phb = new PIXI.Sprite(_pgs.REMODEL_MAIN.getTexture(46)); _phb.position.set(9, _ph9[_pha]), _ph6.addChild(_phb); } _ph6.addChild(_ph7, _ph8), _ph6.indexEmblems = new Array(); for (var _phc = 0; _phc < _ph9.length; _phc++) { var _phd = new _pgt.DeckIndexEmblem(); _phd.position.set(-15, _ph9[_phc] + 30), _ph6.indexEmblems.push(_phd), _ph6.addChild(_phd); } return _ph6; } return _pfp(_ph4, _ph2), _ph4.prototype.dispose = function() { var _phe = null; createjs.Tween.removeTweens(this.crane); for (var _phf = 0; _phf < this.indexEmblems.length; _phf++) this.indexEmblems[_phf].dispose(), this.indexEmblems[_phf] = null; this.indexEmblems = null, this.focus_card = null, this.crane = null, this.removeChildren(); }, _ph4.prototype.focus = function(_phg) { var _phh = null, _phi = this.getFocusPoint(_phg); this.focus_card.position.set(_phi[0], _phi[1]), this.focus_card.visible = !0; }, _ph4.prototype.updateEmblems = function(_phj, _phk) { var _phl = null, _phm = this.indexEmblems[_phj]; _phm.visible = !0, _phm.update(_phk); }, _ph4.prototype.hideEmblem = function(_phn) { var _pho = null; this.indexEmblems[_phn].visible = !1; }, _ph4.prototype.moveCrane = function(_php) { var _phq = null; createjs.Tween.removeTweens(this.crane); var _phr = this.getFocusPoint(_php); createjs.Tween.get(this.crane).to({ 'x': 278 }, 300, createjs.Ease.cubicIn).to({ 'y': _phr[1] - 8 }).to({ 'x': _phr[0] + 23 }, 500, createjs.Ease.cubicOut).play(null); }, _ph4.prototype.insertCrane = function() { var _phs = null; createjs.Tween.removeTweens(this.crane); var _pht = this.getFocusPoint(0); this.crane.x = 278, this.crane.y = _pht[1] - 8, createjs.Tween.get(this.crane).to({ 'x': _pht[0] + 23 }, 500, createjs.Ease.cubicOut).play(null); }, _ph4.prototype.hideCraneImmidiate = function() { var _phu = null; createjs.Tween.removeTweens(this.crane), this.crane.x = 278; }, _ph4.prototype.moveCraneImmidiate = function(_phv) { var _phw = null, _phx = this.getFocusPoint(_phv); createjs.Tween.removeTweens(this.crane), this.crane.x = _phx[0] + 23, this.crane.y = _phx[1] - 8; }, _ph4.prototype.deFocus = function() { var _phy = null; this.focus_card.visible = !1; }, _ph4.prototype.getFocusPoint = function(_phz) { switch (_phz) { case 0: return [27, 76]; case 1: return [27, 157]; case 2: return [27, 238]; case 3: return [27, 319]; case 4: return [27, 400]; case 5: return [27, 481]; } return [0, 0]; }, _ph4; }(PIXI.Container); _pfl.DeckCraneFrame = _ph1; }, 2016: function(_pi0, _pi1, _pi2) { 'use strict'; var _pi3 = null; var _pi4, _pi5 = this && this.__extends || (_pi4 = function(_pi6, _pi7) { var _pi8 = null; return _pi4 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_pi9, _pia) { var _pib = null; _pi9.__proto__ = _pia; } || function(_pic, _pid) { var _pie = null; for (var _pif in _pid) Object.prototype.hasOwnProperty.call(_pid, _pif) && (_pic[_pif] = _pid[_pif]); }, _pi4(_pi6, _pi7); }, function(_pig, _pih) { var _pii = null; if ('function' != typeof _pih && null !== _pih) throw new TypeError('Class extends value ' + String(_pih) + ' is not a constructor or null'); function _pij() { var _pik = null; this.constructor = _pig; } _pi4(_pig, _pih), _pig.prototype = null === _pih ? Object.create(_pih) : (_pij.prototype = _pih.prototype, new _pij()); }); defineModule(_pi1); Object.defineProperty(_pi1, '__esModule', { 'value': !0 }), _pi1.ShipSlot = void 0; var _pil = _pi2(35380), _pim = _pi2(79899), _pin = _pi2(37638), _pio = _pi2(47374), _pip = function(_piq) { var _pir = null; function _pis() { var _pit = null, _piu = _piq.call(this) || this; return _piu._onClick = function() { var _piv = null; _piu.onClick(_piu.index, _piu.memId); }, _piu.shipBanner = new _pin.ShipBanner(), _piu.emptyShipBanner = new PIXI.Sprite(_pio.REMODEL_MAIN.getTexture(18)), _piu.clickArea = new _pim.AreaBox(0, 0, 240, 60), _piu.clickArea.buttonMode = !0, _piu.clickArea.on(_pil.EventType.CLICK, _piu._onClick), _piu; } return _pi5(_pis, _piq), _pis.prototype.dispose = function() { var _piw = null; this.shipBanner.dispose(), this.clickArea.off(_pil.EventType.CLICK, this._onClick), this.onClick = null, this.shipBanner = null, this.emptyShipBanner = null, this.index = null, this.memId = null, this.clickArea = null; }, _pis.prototype.update = function(_pix, _piy, _piz) { var _pj0 = null; this.removeChildren(), this.shipBanner.update(_piy, _piz), this.memId = _piy.memID, this.index = _pix, this.addChild(this.shipBanner), this.addChild(this.clickArea); }, _pis.prototype.empty = function() { var _pj1 = null; this.removeChildren(), this.addChild(this.emptyShipBanner); }, _pis; }(PIXI.Container); _pi1.ShipSlot = _pip; }, 87095: function(_pj2, _pj3, _pj4) { 'use strict'; var _pj5 = null; var _pj6, _pj7 = this && this.__extends || (_pj6 = function(_pj8, _pj9) { var _pja = null; return _pj6 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_pjb, _pjc) { var _pjd = null; _pjb.__proto__ = _pjc; } || function(_pje, _pjf) { var _pjg = null; for (var _pjh in _pjf) Object.prototype.hasOwnProperty.call(_pjf, _pjh) && (_pje[_pjh] = _pjf[_pjh]); }, _pj6(_pj8, _pj9); }, function(_pji, _pjj) { var _pjk = null; if ('function' != typeof _pjj && null !== _pjj) throw new TypeError('Class extends value ' + String(_pjj) + ' is not a constructor or null'); function _pjl() { var _pjm = null; this.constructor = _pji; } _pj6(_pji, _pjj), _pji.prototype = null === _pjj ? Object.create(_pjj) : (_pjl.prototype = _pjj.prototype, new _pjl()); }); defineModule(_pj3); Object.defineProperty(_pj3, '__esModule', { 'value': !0 }), _pj3.ExtensionConfirm = void 0; var _pjn = _pj4(8744), _pjo = _pj4(31000), _pjp = _pj4(35380), _pjq = function(_pjr) { var _pjs = null; function _pjt(_pju, _pjv) { var _pjw = null, _pjx = _pjr.call(this) || this; _pjx._onClickYes = function() { var _pjy = null; _pjx._cb_onYes && _pjx._cb_onYes(); }, _pjx._onClickNo = function() { var _pjz = null; _pjx._cb_onNo && _pjx._cb_onNo(); }, _pjx._cb_onYes = _pju, _pjx._cb_onNo = _pjv; var _pk0 = new PIXI.Sprite(_pjo.REMODEL_MAIN.getTexture(50)); return _pjx.addChild(_pk0), _pjx._btnYes = new PIXI.Sprite(_pjo.REMODEL_MAIN.getTexture(13)), _pjx._btnYes.position.set(78, 210), _pjx._btnYes.interactive = !0, _pjx._btnYes.buttonMode = !0, _pjx.addChild(_pjx._btnYes), _pjx._btnNo = new PIXI.Sprite(_pjo.REMODEL_MAIN.getTexture(0)), _pjx._btnNo.position.set(351, 210), _pjx._btnNo.interactive = !0, _pjx._btnNo.buttonMode = !0, _pjx.addChild(_pjx._btnNo), _pjx._beforeCount = new _pjn.TextBox(25, 5523516), _pjx._beforeCount.anchor.x = 1, _pjx._beforeCount.position.set(395, 119), _pjx.addChild(_pjx._beforeCount), _pjx._arrow = new _pjn.TextBox(18, 5523516), _pjx._arrow.text = '→', _pjx._arrow.position.set(404, 122), _pjx.addChild(_pjx._arrow), _pjx._afterCount = new _pjn.TextBox(25, 5523516), _pjx._afterCount.position.set(438, 119), _pjx.addChild(_pjx._afterCount), _pjx._btnYes.on(_pjp.EventType.CLICK, _pjx._onClickYes), _pjx._btnNo.on(_pjp.EventType.CLICK, _pjx._onClickNo), _pjx; } return _pj7(_pjt, _pjr), _pjt.prototype.dispose = function() { var _pk1 = null; this.removeChildren(), this._btnYes.off(_pjp.EventType.CLICK), this._btnNo.off(_pjp.EventType.CLICK), this._beforeCount.destroy(), this._afterCount.destroy(), this._arrow.destroy(), this._cb_onYes = null, this._cb_onNo = null, this._btnYes = null, this._btnNo = null, this._beforeCount = null, this._afterCount = null, this._arrow = null; }, _pjt.prototype.update = function(_pk2) { var _pk3 = null; this._beforeCount.text = _pk2.toString(), this._afterCount.text = (_pk2 - 1).toString(); }, _pjt; }(PIXI.Container); _pj3.ExtensionConfirm = _pjq; }, 65223: function(_pk4, _pk5, _pk6) { 'use strict'; var _pk7 = null; var _pk8, _pk9 = this && this.__extends || (_pk8 = function(_pka, _pkb) { var _pkc = null; return _pk8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_pkd, _pke) { var _pkf = null; _pkd.__proto__ = _pke; } || function(_pkg, _pkh) { var _pki = null; for (var _pkj in _pkh) Object.prototype.hasOwnProperty.call(_pkh, _pkj) && (_pkg[_pkj] = _pkh[_pkj]); }, _pk8(_pka, _pkb); }, function(_pkk, _pkl) { var _pkm = null; if ('function' != typeof _pkl && null !== _pkl) throw new TypeError('Class extends value ' + String(_pkl) + ' is not a constructor or null'); function _pkn() { var _pko = null; this.constructor = _pkk; } _pk8(_pkk, _pkl), _pkk.prototype = null === _pkl ? Object.create(_pkl) : (_pkn.prototype = _pkl.prototype, new _pkn()); }); defineModule(_pk5); Object.defineProperty(_pk5, '__esModule', { 'value': !0 }), _pk5.KaizoConfirm = void 0; var _pkp = _pk6(8744), _pkq = _pk6(37638), _pkr = _pk6(31000), _pks = _pk6(31000), _pkt = _pk6(83426), _pku = _pk6(35380), _pkv = _pk6(62080), _pkw = function(_pkx) { var _pky = null; function _pkz() { var _pl0 = null, _pl1 = _pkx.call(this) || this; _pl1._labelArr = [], _pl1._onYES = function() { var _pl2 = null; null != _pl1._cb_onYes && (_pkt.SceneMemory.slotItemPage = 0, _pkt.SceneMemory.slotItemFilter = 0, _pkt.SceneMemory.listMode = _pkv.SlotListMode.UNSET, _pl1._cb_onYes()); }, _pl1._onNO = function() { var _pl3 = null; null != _pl1._cb_onNo && _pl1._cb_onNo(); }; var _pl4 = new PIXI.Sprite(_pkr.COMMON_MAIN.getTexture(66)); _pl1.btn_no = new PIXI.Sprite(_pks.REMODEL_GRADEUP.getTexture(3)), _pl1.btn_yes = new PIXI.Sprite(_pks.REMODEL_GRADEUP.getTexture(8)); var _pl5 = new PIXI.Sprite(_pks.REMODEL_GRADEUP.getTexture(21)); _pl1.textAmmo = new _pkp.TextBox(20, 16777215); var _pl6 = new PIXI.Sprite(_pks.REMODEL_GRADEUP.getTexture(22)); _pl1.textSteel = new _pkp.TextBox(20, 16777215); var _pl7 = new PIXI.Sprite(_pks.REMODEL_GRADEUP.getTexture(0)); _pl1.shipBanner = new _pkq.ShipBanner(); var _pl8 = new _pkp.TextBox(19, 1949120), _pl9 = new _pkp.TextBox(19, 1949120); return _pl1.textName = new _pkp.TextBox(19, 16777215), _pl8.text = '改造する艦船', _pl9.text = '使用する資材', _pl8.position.set(414, 219), _pl9.position.set(414, 341), _pl1._labelArr.push(_pl8), _pl1._labelArr.push(_pl9), _pl1.shipBanner.position.set(617, 258), _pl4.position.set(86, 60), _pl7.position.set(516, 20), _pl1.btn_no.position.set(377, 588), _pl1.btn_yes.position.set(639, 588), _pl5.position.set(612, 378), _pl6.position.set(612, 413), _pl1.textName.position.set(617, 219), _pl1.textAmmo.position.set(_pl5.x + _pl5.width, _pl5.y), _pl1.textSteel.position.set(_pl6.x + _pl6.width, _pl6.y), _pl1.btn_yes.on(_pku.EventType.CLICK, _pl1._onYES), _pl1.btn_no.on(_pku.EventType.CLICK, _pl1._onNO), _pl1.btn_yes.interactive = _pl1.btn_yes.buttonMode = !0, _pl1.btn_no.interactive = _pl1.btn_no.buttonMode = !0, _pl1.addChild(_pl4, _pl7, _pl5, _pl1.textAmmo, _pl6, _pl1.textSteel, _pl1.btn_no, _pl1.btn_yes), _pl1.addChild(_pl1.shipBanner), _pl1.addChild(_pl8, _pl9, _pl1.textName), _pl1; } return _pk9(_pkz, _pkx), _pkz.prototype.update = function(_pla, _plb, _plc) { var _pld = null; this.shipBanner.update(_pla, !1), this.textName.text = '' ['concat'](_pla.shipTypeName, '\x20「').concat(_pla.name, '」'), this.textAmmo.text = '×' ['concat'](_plb), this.textSteel.text = '×' ['concat'](_plc); }, _pkz.prototype.activate = function(_ple, _plf) { var _plg = null; this._cb_onYes = _ple, this._cb_onNo = _plf; }, _pkz.prototype.dispose = function() { var _plh = null; this.removeChildren(), this.shipBanner.dispose(), this.btn_yes.off(_pku.EventType.CLICK), this.btn_no.off(_pku.EventType.CLICK), this.textName.destroy(), this.textSteel.destroy(), this.textAmmo.destroy(), this._labelArr.forEach(function(_pli) { var _plj = null; _pli.destroy(); }), this.shipBanner = null, this.textName = null, this.textSteel = null, this.textAmmo = null, this.btn_yes = null, this.btn_no = null, this._cb_onYes = null, this._cb_onNo = null, this._labelArr = null; }, _pkz; }(PIXI.Container); _pk5.KaizoConfirm = _pkw; }, 96644: function(_plk, _pll, _plm) { 'use strict'; var _pln = null; var _plo, _plp = this && this.__extends || (_plo = function(_plq, _plr) { var _pls = null; return _plo = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_plt, _plu) { var _plv = null; _plt.__proto__ = _plu; } || function(_plw, _plx) { var _ply = null; for (var _plz in _plx) Object.prototype.hasOwnProperty.call(_plx, _plz) && (_plw[_plz] = _plx[_plz]); }, _plo(_plq, _plr); }, function(_pm0, _pm1) { var _pm2 = null; if ('function' != typeof _pm1 && null !== _pm1) throw new TypeError('Class extends value ' + String(_pm1) + ' is not a constructor or null'); function _pm3() { var _pm4 = null; this.constructor = _pm0; } _plo(_pm0, _pm1), _pm0.prototype = null === _pm1 ? Object.create(_pm1) : (_pm3.prototype = _pm1.prototype, new _pm3()); }); defineModule(_pll); Object.defineProperty(_pll, '__esModule', { 'value': !0 }), _pll.KaizoDetail = void 0; var _pm5 = _plm(8744), _pm6 = _plm(65065), _pm7 = _plm(31000), _pm8 = _plm(31000), _pm9 = _plm(17205), _pma = _plm(57828), _pmb = _plm(78084), _pmc = _plm(54045), _pmd = _plm(38769), _pme = _plm(16618), _pmf = function(_pmg) { var _pmh = null; function _pmi() { var _pmj = null, _pmk = _pmg.call(this) || this; _pmk._onClickStart = function() { var _pml = null; null != _pmk._cb_onStart && _pmk._cb_onStart(); }, _pmk._onClickCancel = function() { var _pmm = null; null != _pmk._cb_onCancel && _pmk._cb_onCancel(); }; var _pmn = new PIXI.Sprite(_pm7.COMMON_MAIN.getTexture(13)); _pmn.interactive = !0, _pmk.addChild(_pmn); var _pmo = new PIXI.Sprite(_pm8.REMODEL_GRADEUP.getTexture(27)); _pmo.position.set(275, 194), _pmk.addChild(_pmo); var _pmp = new PIXI.Sprite(_pm8.REMODEL_GRADEUP.getTexture(25)); _pmp.position.set(653, 194), _pmk.addChild(_pmp), _pmk._shipPanelBefore = new _pmc.KaizoDetailShipPanel(), _pmk._shipPanelBefore.position.set(35, 218), _pmk.addChild(_pmk._shipPanelBefore), _pmk._shipPanelAfter = new _pmc.KaizoDetailShipPanel(), _pmk._shipPanelAfter.position.set(408, 218), _pmk.addChild(_pmk._shipPanelAfter); var _pmq = new PIXI.Sprite(_pm8.REMODEL_GRADEUP.getTexture(30)); _pmq.position.set(32, 416), _pmk.addChild(_pmq); var _pmr = new PIXI.Sprite(_pm8.REMODEL_GRADEUP.getTexture(28)); _pmr.position.set(413, 418), _pmk.addChild(_pmr); var _pms = new PIXI.Sprite(_pm8.REMODEL_GRADEUP.getTexture(31)); _pms.position.set(32, 471), _pmk.addChild(_pms); var _pmt = new PIXI.Sprite(_pm8.REMODEL_GRADEUP.getTexture(29)); _pmt.position.set(413, 473), _pmk.addChild(_pmt), (_pmk._textAmmoNow = new _pm5.TextBox(24, 4999235), _pmk._textAmmoNow.anchor.x = 1, _pmk._textAmmoNow.position.set(330, 414), _pmk.addChild(_pmk._textAmmoNow), _pmk._textAmmoNeed = new _pm5.TextBox(24, 4999235), _pmk._textAmmoNeed.anchor.x = 1, _pmk._textAmmoNeed.position.set(700, 414), _pmk.addChild(_pmk._textAmmoNeed), _pmk._textSteelNow = new _pm5.TextBox(24, 4999235), _pmk._textSteelNow.anchor.x = 1, _pmk._textSteelNow.position.set(330, 469), _pmk.addChild(_pmk._textSteelNow), _pmk._textSteelNeed = new _pm5.TextBox(24, 4999235), _pmk._textSteelNeed.anchor.x = 1, _pmk._textSteelNeed.position.set(700, 469), _pmk.addChild(_pmk._textSteelNeed), _pmk._cancelBtn = new _pm9.CancelButton(_pm7.REMODEL_MAIN.getTexture(1), _pm7.REMODEL_MAIN.getTexture(2)), _pmk._cancelBtn.position.set(516, 507), _pmk._cancelBtn.initialize(_pmk._onClickCancel), _pmk.addChild(_pmk._cancelBtn), _pmk._startBtn = new _pme.KaizoStartButton(), _pmk._startBtn.position.set(732, 489), _pmk._startBtn.initialize(_pmk._onClickStart), _pmk.addChild(_pmk._startBtn)); var _pmu = new PIXI.Sprite(_pm8.REMODEL_GRADEUP.getTexture(26)); return _pmu.position.set(720, 446), _pmk.addChild(_pmu), _pmk._arrow = new _pm6.DownArrowAnimationView(), _pmk._arrow.position.set(354, Math.floor(297 + _pmk._arrow.width / 2)), _pmk._arrow.rotation = -90 * Math.PI / 180, _pmk.addChild(_pmk._arrow), _pmk._alertPanel = new _pmd.KaizoRequireItemPanel(), _pmk._alertPanel.position.set(723, 215), _pmk.addChild(_pmk._alertPanel), _pmk._alertMessage = new _pm5.TextBox(15, 12467003), _pmk._alertMessage.anchor.set(1, 0), _pmk._alertMessage.position.set(505, 522), _pmk.addChild(_pmk._alertMessage), _pmk._alertOverLimit = new PIXI.Sprite(_pm8.REMODEL_GRADEUP.getTexture(14)), _pmk._alertOverLimit.position.set(680, 405), _pmk._alertOverLimit.visible = !1, _pmk.addChild(_pmk._alertOverLimit), _pmk._header = new _pmb.KaizoDetailHeader(), _pmk.addChild(_pmk._header), _pmk._titleBar = new _pma.TitleBar(), _pmk._titleBar.initialize(_pm8.REMODEL_GRADEUP.getTexture(2), 26), _pmk._titleBar.position.set(0, -39), _pmk.addChild(_pmk._titleBar), _pmk; } return _plp(_pmi, _pmg), _pmi.prototype.activate = function(_pmv, _pmw) { var _pmx = null; this._cb_onStart = _pmv, this._cb_onCancel = _pmw; }, _pmi.prototype.update = function(_pmy, _pmz, _pn0, _pn1) { var _pn2 = null; this._shipPanelBefore.update(_pmy.level, _pmy.name, _pmy.shipTypeName), this._shipPanelBefore.updateStatus(_pmy.karyoku, _pmy.raisou, _pmy.taiku, _pmy.soukou), this._shipPanelAfter.update(_pmy.level), this._shipPanelAfter.updateStatus(), this._textAmmoNow.text = _pmz.getCount(32).toString(), this._textSteelNow.text = _pmz.getCount(33).toString(), this._textAmmoNeed.text = _pmz.getRequire(32).toString(), this._textSteelNeed.text = _pmz.getRequire(33).toString(), this._header.update(_pmy), this._startBtn.update(!1), _pmz.validateAll() && 1 == _pn0 && 1 == _pn1 && this._startBtn.update(!0); var _pn3 = _pmz.getRequire(58), _pn4 = _pmz.getRequire(65), _pn5 = _pmz.getRequire(78), _pn6 = _pmz.getRequire(75), _pn7 = _pmz.getRequire(77), _pn8 = _pmz.getRequire(94), _pn9 = _pmz.getRequire(902), _pna = _pmz.getRequire(3), _pnb = _pmz.getRequire(2), _pnc = !1; if (0 == _pmz.validate(58) ? (this._alertPanel.showAlertLackOfItem(58, _pn3), _pnc = !0) : 0 == _pmz.validate(65) ? (this._alertPanel.showAlertLackOfItem(65, _pn4), _pnc = !0) : 0 == _pmz.validate(75) ? (this._alertPanel.showAlertLackOfItem(75, _pn6), _pnc = !0) : 0 == _pmz.validate(77) ? (this._alertPanel.showAlertLackOfItem(77, _pn7), _pnc = !0) : 0 == _pmz.validate(94) ? (this._alertPanel.showAlertLackOfItem(94, _pn8), _pnc = !0) : 0 == _pmz.validate(78) ? (this._alertPanel.showAlertLackOfItem(78, _pn5), _pnc = !0) : 0 == _pmz.validate(902) ? (this._alertPanel.showAlertLackOfItem(902, _pn9), _pnc = !0) : _pn3 > 0 && _pn6 > 0 && _pn9 > 0 && _pn5 > 0 ? this._alertPanel.showMessageFourItems(58, _pn3, 75, _pn6, 78, _pn5, 902, _pn9, _pna, _pnb) : _pn3 > 0 && _pn4 > 0 && _pn5 > 0 && _pn7 > 0 ? this._alertPanel.showMessageFourItems(58, _pn3, 65, _pn4, 78, _pn5, 77, _pn7, _pna, _pnb) : _pn3 > 0 && _pn4 > 0 && _pn5 > 0 ? this._alertPanel.showMessageThreeItems(58, _pn3, 65, _pn4, 78, _pn5, _pna, _pnb) : _pn3 > 0 && _pn4 > 0 ? this._alertPanel.showMessageTwoItems(58, _pn3, 65, _pn4, _pna, _pnb) : _pn3 > 0 && _pn5 > 0 && _pn8 > 0 ? this._alertPanel.showMessageThreeItems(78, _pn5, 94, _pn8, 58, _pn3, _pna, _pnb) : _pn3 > 0 && _pn8 > 0 ? this._alertPanel.showMessageTwoItems(58, _pn3, 94, _pn8, _pna, _pnb) : _pn3 > 0 && _pn5 > 0 && _pn6 > 0 ? this._alertPanel.showMessageThreeItems(78, _pn5, 75, _pn6, 58, _pn3, _pna, _pnb) : _pn3 > 0 && _pn6 > 0 ? this._alertPanel.showMessageTwoItems(58, _pn3, 75, _pn6, _pna, _pnb) : _pn3 > 0 && _pn5 > 0 && _pn7 > 0 ? this._alertPanel.showMessageThreeItems(78, _pn5, 77, _pn7, 58, _pn3, _pna, _pnb) : _pn3 > 0 && _pn5 > 0 ? this._alertPanel.showMessageTwoItems(58, _pn3, 78, _pn5, _pna, _pnb) : _pn3 > 0 ? this._alertPanel.showMessageOneItem(58, _pn3, _pna, _pnb) : _pn5 > 0 ? this._alertPanel.showMessageOneItem(78, _pn5, _pna, _pnb) : _pn8 > 0 ? this._alertPanel.showMessageOneItem(94, _pn8, _pna, _pnb) : _pna > 0 || _pnb > 0 ? this._alertPanel.showMessageKits(_pna, _pnb) : this._alertPanel.hideAll(), this._alertMessage.visible = !1, this._alertOverLimit.visible = !1, 0 == _pnc) { var _pnd = _pmz.validate(32), _pne = _pmz.validate(33), _pnf = !(_pnb > 0) || _pmz.validate(2), _png = !(_pna > 0) || _pmz.validate(3), _pnh = _pnd && _pne, _pni = _pnf && _png; 0 == _pnh && 0 == _pni ? (this._alertMessage.text = '改装に必要な資源及び資材が不足しています。', this._alertMessage.visible = !0) : 0 == _pnh ? (this._alertMessage.text = '改装に必要な資源が不足しています。', this._alertMessage.visible = !0) : 0 == _pni ? (this._alertMessage.text = '改装に必要な資材が不足しています。', this._alertMessage.visible = !0) : 0 == _pn1 && (this._alertOverLimit.visible = !0); } }, _pmi.prototype.dispose = function() { var _pnj = null; this.removeChildren(), this._shipPanelBefore.dispose(), this._shipPanelAfter.dispose(), this._cancelBtn.dispose(), this._startBtn.dispose(), this._arrow.dispose(), this._alertPanel.dispose(), this._header.dispose(), this._titleBar.dispose(), this._textAmmoNow.destroy(), this._textSteelNow.destroy(), this._textAmmoNeed.destroy(), this._textSteelNeed.destroy(), this._alertMessage.destroy(), this._cb_onStart = null, this._cb_onCancel = null, this._shipPanelBefore = null, this._shipPanelAfter = null, this._textAmmoNow = null, this._textAmmoNeed = null, this._textSteelNow = null, this._textSteelNeed = null, this._cancelBtn = null, this._startBtn = null, this._arrow = null, this._alertPanel = null, this._alertMessage = null, this._alertOverLimit = null, this._header = null, this._titleBar = null; }, _pmi; }(PIXI.Container); _pll.KaizoDetail = _pmf; }, 78084: function(_pnk, _pnl, _pnm) { 'use strict'; var _pnn = null; var _pno, _pnp = this && this.__extends || (_pno = function(_pnq, _pnr) { var _pns = null; return _pno = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_pnt, _pnu) { var _pnv = null; _pnt.__proto__ = _pnu; } || function(_pnw, _pnx) { var _pny = null; for (var _pnz in _pnx) Object.prototype.hasOwnProperty.call(_pnx, _pnz) && (_pnw[_pnz] = _pnx[_pnz]); }, _pno(_pnq, _pnr); }, function(_po0, _po1) { var _po2 = null; if ('function' != typeof _po1 && null !== _po1) throw new TypeError('Class extends value ' + String(_po1) + ' is not a constructor or null'); function _po3() { var _po4 = null; this.constructor = _po0; } _pno(_po0, _po1), _po0.prototype = null === _po1 ? Object.create(_po1) : (_po3.prototype = _po1.prototype, new _po3()); }), _po5 = this && this.__importDefault || function(_po6) { var _po7 = null; return _po6 && _po6.__esModule ? _po6 : { 'default': _po6 }; }; defineModule(_pnl); Object.defineProperty(_pnl, '__esModule', { 'value': !0 }), _pnl.KaizoDetailHeader = void 0; var _po8 = _po5(_pnm(18622)), _po9 = _pnm(8744), _poa = _pnm(48205), _pob = _pnm(31000), _poc = function(_pod) { var _poe = null; function _pof() { var _pog = null, _poh = _pod.call(this) || this, _poi = new PIXI.Sprite(_pob.REMODEL_GRADEUP.getTexture(10)); _poi.position.set(2, 2), _poh.addChild(_poi), _poh._shipCanvas = new PIXI.Sprite(), _poh.addChild(_poh._shipCanvas), _poh._levelText = new _po9.TextBox(66, 16777215), _poh._levelText.position.set(809, 89), _poh.addChild(_poh._levelText); var _poj = new PIXI.Sprite(_pob.REMODEL_GRADEUP.getTexture(11)); _poj.position.set(0, 3), _poh.addChild(_poj); var _pok = new PIXI.Sprite(_pob.REMODEL_GRADEUP.getTexture(12)); return _pok.position.set(705, 95), _poh.addChild(_pok), _poh._nameText = new _po9.TextBox(39, 16777215), _poh._nameText.anchor.x = 1, _poh._nameText.position.set(969, 17), _poh.addChild(_poh._nameText), _poh; } return _pnp(_pof, _pod), _pof.prototype.update = function(_pol) { var _pom = null, _pon = _pol.mstID, _poo = _pol.isDamaged(); 1 == _po8.default.resources.isLoadedShip(_pon, _poo, 'remodel') ? this._shipCanvas.texture = _po8.default.resources.getShip(_pon, _poo, 'remodel') : (this._shipCanvas.texture = PIXI.Texture.EMPTY, new _poa.TaskLoadShipResource('remodel', this._shipCanvas, _pon, _poo).start()), this._levelText.text = _pol.level.toString(), this._nameText.text = '' ['concat'](_pol.shipTypeName, '\x20').concat(_pol.name); }, _pof.prototype.dispose = function() { var _pop = null; this.removeChildren(), this._levelText.destroy(), this._nameText.destroy(), this._shipCanvas = null, this._levelText = null, this._nameText = null; }, _pof; }(PIXI.Container); _pnl.KaizoDetailHeader = _poc; }, 54045: function(_poq, _por, _pos) { 'use strict'; var _pot = null; var _pou, _pov = this && this.__extends || (_pou = function(_pow, _pox) { var _poy = null; return _pou = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_poz, _pp0) { var _pp1 = null; _poz.__proto__ = _pp0; } || function(_pp2, _pp3) { var _pp4 = null; for (var _pp5 in _pp3) Object.prototype.hasOwnProperty.call(_pp3, _pp5) && (_pp2[_pp5] = _pp3[_pp5]); }, _pou(_pow, _pox); }, function(_pp6, _pp7) { var _pp8 = null; if ('function' != typeof _pp7 && null !== _pp7) throw new TypeError('Class extends value ' + String(_pp7) + ' is not a constructor or null'); function _pp9() { var _ppa = null; this.constructor = _pp6; } _pou(_pp6, _pp7), _pp6.prototype = null === _pp7 ? Object.create(_pp7) : (_pp9.prototype = _pp7.prototype, new _pp9()); }); defineModule(_por); Object.defineProperty(_por, '__esModule', { 'value': !0 }), _por.KaizoDetailShipPanel = void 0; var _ppb = _pos(8744), _ppc = _pos(31000), _ppd = _pos(14921), _ppe = function(_ppf) { var _ppg = null; function _pph() { var _ppi = null, _ppj = _ppf.call(this) || this, _ppk = new PIXI.Sprite(_ppc.REMODEL_GRADEUP.getTexture(13)), _ppl = new PIXI.Sprite(_ppc.REMODEL_GRADEUP.getTexture(24)); _ppl.position.set(204, 23); var _ppm = new PIXI.Sprite(_ppc.REMODEL_GRADEUP.getTexture(15)); _ppm.position.set(164, 143); var _ppn = new PIXI.Sprite(_ppc.REMODEL_GRADEUP.getTexture(16)); _ppn.position.set(21, 101); var _ppo = new PIXI.Sprite(_ppc.REMODEL_GRADEUP.getTexture(17)); _ppo.position.set(21, 143); var _ppp = new PIXI.Sprite(_ppc.REMODEL_GRADEUP.getTexture(18)); _ppp.position.set(162, 101), _ppj.addChild(_ppk, _ppl, _ppm, _ppn, _ppo, _ppp), _ppj._unknown = new PIXI.Sprite(), _ppj._unknown.position.set(27, 18), _ppj.addChild(_ppj._unknown), _ppj._containerName = new PIXI.Container(), _ppj._textName = new _ppb.TextBox(36, 4999235), _ppj._textName.position.set(11, 8); var _ppq = _ppd.CreateRect.gradientLeftToRight(200, 55, 0.9, 0.97); return _ppj._textName.mask = _ppq, _ppj._containerName.addChild(_ppj._textName, _ppq), _ppj.addChild(_ppj._containerName), _ppj._textShipType = new _ppb.TextBox(22, 4999235), _ppj._textShipType.position.set(14, 60), _ppj.addChild(_ppj._textShipType), _ppj._textLevel = new _ppb.TextBox(29, 4999235), _ppj._textLevel.position.set(231, 16), _ppj.addChild(_ppj._textLevel), (_ppj._textKaryoku = new _ppb.TextBox(24, 4999235), _ppj._textKaryoku.position.set(141, 99), _ppj._textKaryoku.anchor.x = 1, _ppj.addChild(_ppj._textKaryoku), _ppj._textRaiso = new _ppb.TextBox(24, 4999235), _ppj._textRaiso.position.set(141, 142), _ppj._textRaiso.anchor.x = 1, _ppj.addChild(_ppj._textRaiso), _ppj._textTaiku = new _ppb.TextBox(24, 4999235), _ppj._textTaiku.position.set(284, 99), _ppj._textTaiku.anchor.x = 1, _ppj.addChild(_ppj._textTaiku), _ppj._textSouko = new _ppb.TextBox(24, 4999235), _ppj._textSouko.position.set(284, 142), _ppj._textSouko.anchor.x = 1, _ppj.addChild(_ppj._textSouko), _ppj); } return _pov(_pph, _ppf), _pph.prototype.update = function(_ppr, _pps, _ppt) { var _ppu = null; void 0 === _pps && (_pps = null), void 0 === _ppt && (_ppt = null), this._textLevel.text = _ppr.toString(), null == _pps || '' == _pps ? (this._unknown.texture = _ppc.REMODEL_GRADEUP.getTexture(32), this._unknown.visible = !0, this._textName.visible = !1, this._textShipType.visible = !1) : (this._unknown.visible = !1, this._textName.text = _pps, this._textName.visible = !0, this._textShipType.text = _ppt, this._textShipType.visible = !0); }, _pph.prototype.updateStatus = function(_ppv, _ppw, _ppx, _ppy) { var _ppz = null; void 0 === _ppv && (_ppv = -1), void 0 === _ppw && (_ppw = -1), void 0 === _ppx && (_ppx = -1), void 0 === _ppy && (_ppy = -1), this._textKaryoku.text = _ppv >= 0 ? _ppv.toString() : '??', this._textRaiso.text = _ppw >= 0 ? _ppw.toString() : '??', this._textTaiku.text = _ppx >= 0 ? _ppx.toString() : '??', this._textSouko.text = _ppy >= 0 ? _ppy.toString() : '??'; }, _pph.prototype.dispose = function() { var _pq0 = null; this.removeChildren(), this._containerName.removeChildren(), this._textName.destroy(), this._textShipType.destroy(), this._textLevel.destroy(), this._textKaryoku.destroy(), this._textRaiso.destroy(), this._textTaiku.destroy(), this._textSouko.destroy(), this._unknown = null, this._containerName = null, this._textName = null, this._textShipType = null, this._textLevel = null, this._textKaryoku = null, this._textRaiso = null, this._textTaiku = null, this._textSouko = null; }, _pph; }(PIXI.Container); _por.KaizoDetailShipPanel = _ppe; }, 38769: function(_pq1, _pq2, _pq3) { 'use strict'; var _pq4 = null; var _pq5, _pq6 = this && this.__extends || (_pq5 = function(_pq7, _pq8) { var _pq9 = null; return _pq5 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_pqa, _pqb) { var _pqc = null; _pqa.__proto__ = _pqb; } || function(_pqd, _pqe) { var _pqf = null; for (var _pqg in _pqe) Object.prototype.hasOwnProperty.call(_pqe, _pqg) && (_pqd[_pqg] = _pqe[_pqg]); }, _pq5(_pq7, _pq8); }, function(_pqh, _pqi) { var _pqj = null; if ('function' != typeof _pqi && null !== _pqi) throw new TypeError('Class extends value ' + String(_pqi) + ' is not a constructor or null'); function _pqk() { var _pql = null; this.constructor = _pqh; } _pq5(_pqh, _pqi), _pqh.prototype = null === _pqi ? Object.create(_pqi) : (_pqk.prototype = _pqi.prototype, new _pqk()); }); defineModule(_pq2); Object.defineProperty(_pq2, '__esModule', { 'value': !0 }), _pq2.KaizoRequireItemPanel = void 0; var _pqm = _pq3(8744), _pqn = _pq3(31000), _pqo = function(_pqp) { var _pqq = null; function _pqr() { var _pqs = null; return _pqp.call(this) || this; } return _pq6(_pqr, _pqp), _pqr.prototype.showMessageOneItem = function(_pqt, _pqu, _pqv, _pqw) { var _pqx = null, _pqy; (this.hideAll(), _pqv > 0 || _pqw > 0) ? ((_pqy = new _pqz()).update(_pqt, _pqu, _pqv, _pqw), this._current = _pqy) : ((_pqy = new _pr0()).update(_pqt, _pqu, _pqv, _pqw), this._current = _pqy), this.addChild(this._current); }, _pqr.prototype.showMessageTwoItems = function(_pr1, _pr2, _pr3, _pr4, _pr5, _pr6) { var _pr7 = null; this.hideAll(); var _pr8 = new _pr9(); _pr8.update(_pr1, _pr2, _pr3, _pr4, _pr5, _pr6), this.addChild(_pr8), this._current = _pr8; }, _pqr.prototype.showMessageThreeItems = function(_pra, _prb, _prc, _prd, _pre, _prf, _prg, _prh) { var _pri = null; this.hideAll(); var _prj = new _prk(); _prj.update(_pra, _prb, _prc, _prd, _pre, _prf, _prg, _prh), this.addChild(_prj), this._current = _prj; }, _pqr.prototype.showMessageFourItems = function(_prl, _prm, _prn, _pro, _prp, _prq, _prr, _prs, _prt, _pru) { var _prv = null; this.hideAll(); var _prw = new _prx(); _prw.update(_prl, _prm, _prn, _pro, _prp, _prq, _prr, _prs, _prt, _pru), this.addChild(_prw), this._current = _prw; }, _pqr.prototype.showMessageKits = function(_pry, _prz) { var _ps0 = null; this.hideAll(); var _ps1 = new _ps2(); _ps1.update(_pry, _prz), this.addChild(_ps1), this._current = _ps1; }, _pqr.prototype.showAlertLackOfItem = function(_ps3, _ps4) { var _ps5 = null; this.hideAll(); var _ps6 = new _ps7(); _ps6.update(_ps3, _ps4), this.addChild(_ps6), this._current = _ps6; }, _pqr.prototype.hideAll = function() { var _ps8 = null; null != this._current && (null != this._current.parent && this._current.parent.removeChild(this._current), this._current.dispose(), this._current = null); }, _pqr.prototype.dispose = function() { var _ps9 = null; this.hideAll(), this.removeChildren(); }, _pqr; }(PIXI.Container); _pq2.KaizoRequireItemPanel = _pqo; var _pr0 = function(_psa) { var _psb = null; function _psc() { var _psd = null, _pse = _psa.call(this) || this; return _pse._icon = new PIXI.Sprite(), _pse._icon.position.set(87, 0), _pse.addChild(_pse._icon), _pse._message = new _pqm.TextBox(18, 1644567), _pse._message.position.set(0, 95), _pse.addChild(_pse._message), _pse; } return _pq6(_psc, _psa), _psc.prototype.update = function(_psf, _psg, _psh, _psi) { var _psj = null; switch (this._icon.texture = _pqn.COMMON_ITEMICONS.getTextureFromMstID(_psf), _psf) { case 58: this._message.text = 'この改装では「改装設計図」を\n'['concat'](_psg, '枚使用します。'); break; case 78: this._message.text = 'この改装では「戦闘詳報」'['concat'](_psg, '部が\n必要です。'); break; default: this._message.text = ''; } }, _psc.prototype.dispose = function() { var _psk = null; this.removeChildren(), this._message.destroy(), this._icon = null, this._message = null; }, _psc; }(PIXI.Container), _pr9 = function(_psl) { var _psm = null; function _psn() { var _pso = null, _psp = _psl.call(this) || this; return _psp._icon1 = new PIXI.Sprite(), _psp._icon1.position.set(30, 0), _psp.addChild(_psp._icon1), _psp._icon2 = new PIXI.Sprite(), _psp._icon2.position.set(153, 0), _psp.addChild(_psp._icon2), _psp._message = new _pqm.TextBox(17, 1644567), _psp._message.position.set(3, 81), _psp.addChild(_psp._message), _psp._message2 = new _pqm.TextBox(17, 1644567), _psp._message2.position.set(0, 150), _psp.addChild(_psp._message2), _psp; } return _pq6(_psn, _psl), _psn.prototype.update = function(_psq, _psr, _pss, _pst, _psu, _psv) { var _psw = null; switch (this._icon1.texture = _pqn.COMMON_ITEMICONS.getTextureFromMstID(_psq), this._icon2.texture = _pqn.COMMON_ITEMICONS.getTextureFromMstID(_pss), _pss) { case 65: this._message.text = '本改装は「試製甲板カタパルト」と\n「改装設計図」'['concat'](_psr, '枚を使用します。'); break; case 78: this._message.text = '本改装は「戦闘詳報」'['concat'](_pst, '部と\n「改装設計図」').concat(_psr, '枚が必要です。'); break; case 94: this._message.text = '本改装は「新型兵装資材」'['concat'](_pst, 'つと\n「改装設計図」').concat(_psr, '枚が必要です。'); break; case 75: this._message.text = '本改装は「新型砲熕兵装資材」'['concat'](_pst, 'つと\n「改装設計図」').concat(_psr, '枚が必要です。'); break; default: this._message.text = ''; } this._message2.text = _psx(_psu, _psv); }, _psn.prototype.dispose = function() { var _psy = null; this.removeChildren(), this._message.destroy(), this._message2.destroy(), this._icon1 = null, this._icon2 = null, this._message = null, this._message2 = null; }, _psn; }(PIXI.Container), _prk = function(_psz) { var _pt0 = null; function _pt1() { var _pt2 = null, _pt3 = _psz.call(this) || this, _pt4 = 3; return _pt3._icon1 = new PIXI.Sprite(), _pt3._icon1.position.set(_pt4, 0), _pt3.addChild(_pt3._icon1), _pt4 += 85, _pt3._icon2 = new PIXI.Sprite(), _pt3._icon2.position.set(_pt4, 0), _pt3.addChild(_pt3._icon2), _pt4 += 85, _pt3._icon3 = new PIXI.Sprite(), _pt3._icon3.position.set(_pt4, 0), _pt3.addChild(_pt3._icon3), _pt3._message = new _pqm.TextBox(17, 1644567), _pt3._message.position.set(3, 81), _pt3.addChild(_pt3._message), _pt3._message2 = new _pqm.TextBox(17, 1644567), _pt3._message2.position.set(3, 155), _pt3.addChild(_pt3._message2), _pt3; } return _pq6(_pt1, _psz), _pt1.prototype.update = function(_pt5, _pt6, _pt7, _pt8, _pt9, _pta, _ptb, _ptc) { var _ptd = null; this._icon1.texture = _pqn.COMMON_ITEMICONS.getTextureFromMstID(_pt5), this._icon2.texture = _pqn.COMMON_ITEMICONS.getTextureFromMstID(_pt7), this._icon3.texture = _pqn.COMMON_ITEMICONS.getTextureFromMstID(_pt9); var _pte = '本改装には'; switch (_pt5) { case 78: _pte += '「戦闘詳報」'['concat'](_pt6, '部と\n'); break; case 58: _pte += '「改装設計図」'['concat'](_pt6, '枚と\n'); break; default: _pte += ''; } switch (_pt7) { case 75: _pte += '「新型砲熕兵装資材」'['concat'](_pt8, 'つと\n'); break; case 65: _pte += '「試製甲板カタパルト」と\n'; break; case 77: _pte += '「新型航空兵装資材」'['concat'](_pt8, 'つと\n'); break; case 94: _pte += '「新型兵装資材」'['concat'](_pt8, 'つと\n'); break; default: _pte += ''; } switch (_pt9) { case 58: _pte += '「改装設計図」'['concat'](_pta, '枚'); break; case 78: _pte += '「戦闘詳報」'['concat'](_pta, '部'); break; default: _pte += ''; } this._message.text = '' ['concat'](_pte, 'が必要です。'), this._message2.text = _psx(_ptb, _ptc); }, _pt1.prototype.dispose = function() { var _ptf = null; this.removeChildren(), this._message.destroy(), this._message2.destroy(), this._icon1 = null, this._icon2 = null, this._icon3 = null, this._message = null, this._message2 = null; }, _pt1; }(PIXI.Container), _prx = function(_ptg) { var _pth = null; function _pti() { var _ptj = null, _ptk = _ptg.call(this) || this, _ptl = 5, _ptm = 60; return _ptk._icon1 = new PIXI.Sprite(), _ptk._icon1.width = _ptm, _ptk._icon1.height = _ptm, _ptk._icon1.position.set(_ptl, 8), _ptk.addChild(_ptk._icon1), _ptl += 65, _ptk._icon2 = new PIXI.Sprite(), _ptk._icon2.width = _ptm, _ptk._icon2.height = _ptm, _ptk._icon2.position.set(_ptl, 8), _ptk.addChild(_ptk._icon2), _ptl += 65, _ptk._icon3 = new PIXI.Sprite(), _ptk._icon3.width = _ptm, _ptk._icon3.height = _ptm, _ptk._icon3.position.set(_ptl, 8), _ptk.addChild(_ptk._icon3), _ptl += 65, _ptk._icon4 = new PIXI.Sprite(), _ptk._icon4.width = _ptm, _ptk._icon4.height = _ptm, _ptk._icon4.position.set(_ptl, 8), _ptk.addChild(_ptk._icon4), _ptk._message1 = new _pqm.TextBox(17, 1644567), _ptk._message1.position.set(2, 74), _ptk.addChild(_ptk._message1), _ptk._message2 = new _pqm.TextBox(17, 1644567), _ptk._message2.position.set(2, 153), _ptk.addChild(_ptk._message2), _ptk; } return _pq6(_pti, _ptg), _pti.prototype.update = function(_ptn, _pto, _ptp, _ptq, _ptr, _pts, _ptt, _ptu, _ptv, _ptw) { var _ptx = null; this._icon1.texture = _pqn.COMMON_ITEMICONS.getTextureFromMstID(_ptn), this._icon2.texture = _pqn.COMMON_ITEMICONS.getTextureFromMstID(_ptp), this._icon3.texture = _pqn.COMMON_ITEMICONS.getTextureFromMstID(_ptr), this._icon4.texture = _pqn.COMMON_ITEMICONS.getTextureFromMstID(_ptt); var _pty = '本改装には'; if (58 === _ptn) _pty += '「改装設計図」'['concat'](_pto, '枚と\n'); else _pty += ''; switch (_ptp) { case 65: _pty += '「試製甲板カタパルト」'; break; case 75: var _ptz = _ptq > 1 ? 'x' ['concat'](_ptq) : ''; _pty += '「新型砲熕兵装資材'['concat'](_ptz, '」'); break; default: _pty += ''; } if (78 === _ptr) _pty += '「戦闘詳報」\n'; else _pty += ''; switch (_ptt) { case 77: _ptz = _ptu > 1 ? 'x' ['concat'](_ptu) : '', _pty += '「新型航空兵装資材'['concat'](_ptz, '」'); break; case 902: var _pu0 = _ptu > 1 ? 'x' ['concat'](_ptu) : ''; _pty += '「新型高温高圧缶'['concat'](_pu0, '」'); break; default: _pty += ''; } this._message1.text = '' ['concat'](_pty, 'が必要です。'), this._message2.text = _psx(_ptv, _ptw); }, _pti.prototype.dispose = function() { var _pu1 = null; this.removeChildren(), this._message1.destroy(), this._message2.destroy(), this._icon1 = null, this._icon2 = null, this._icon3 = null, this._icon4 = null, this._message1 = null, this._message2 = null; }, _pti; }(PIXI.Container), _pqz = function(_pu2) { var _pu3 = null; function _pu4() { var _pu5 = null, _pu6 = _pu2.call(this) || this; return _pu6._icon = new PIXI.Sprite(), _pu6._icon.position.set(0, 0), _pu6.addChild(_pu6._icon), _pu6._message1 = new _pqm.TextBox(18, 1644567), _pu6._message1.position.set(77, 11), _pu6.addChild(_pu6._message1), _pu6._message2 = new _pqm.TextBox(18, 1644567), _pu6._message2.position.set(0, 105), _pu6.addChild(_pu6._message2), _pu6; } return _pq6(_pu4, _pu2), _pu4.prototype.update = function(_pu7, _pu8, _pu9, _pua) { var _pub = null; switch (this._icon.texture = _pqn.COMMON_ITEMICONS.getTextureFromMstID(_pu7), _pu7) { case 58: this._message1.text = '本改装は「改装設計図」\n'['concat'](_pu8, '枚を使用します。'); break; case 78: this._message1.text = '本改装は「戦闘詳報」\n'['concat'](_pu8, '部を使用します。'); break; case 94: this._message1.text = '本改装は\n「新型兵装資材」\n'['concat'](_pu8, 'つを使用します。'); break; default: this._message1.text = ''; } this._message2.text = _psx(_pu9, _pua); }, _pu4.prototype.dispose = function() { var _puc = null; this.removeChildren(), this._message1.destroy(), this._message2.destroy(), this._icon = null, this._message1 = null, this._message2 = null; }, _pu4; }(PIXI.Container), _ps2 = function(_pud) { var _pue = null; function _puf() { var _pug = null, _puh = _pud.call(this) || this; return _puh._message = new _pqm.TextBox(18, 1644567), _puh._message.position.set(0, 0), _puh.addChild(_puh._message), _puh; } return _pq6(_puf, _pud), _puf.prototype.update = function(_pui, _puj) { var _puk = null; this._message.text = _pui > 0 ? _puj > 0 ? '本改装では「高速建造材」を\n'['concat'](_puj, '個、「開発資材」を').concat(_pui, '個\n使用します。') : 'この改装では「開発資材」を\n'['concat'](_pui, '個使用します。') : _puj > 0 ? 'この改装では「高速建造材」を\n'['concat'](_puj, '個使用します。') : ''; }, _puf.prototype.dispose = function() { var _pul = null; this.removeChildren(), this._message.destroy(), this._message = null; }, _puf; }(PIXI.Container), _ps7 = function(_pum) { var _pun = null; function _puo() { var _pup = null, _puq = _pum.call(this) || this; return _puq._icon = new PIXI.Sprite(), _puq._icon.position.set(87, 0), _puq.addChild(_puq._icon), _puq._message1 = new _pqm.TextBox(18, 1644567), _puq._message1.position.set(0, 81), _puq.addChild(_puq._message1), _puq._message2 = new _pqm.TextBox(18, 1644567), _puq._message2.position.set(0, 81), _puq.addChild(_puq._message2), _puq._message3 = new _pqm.TextBox(18, 1644567), _puq.addChild(_puq._message3), _puq._message1_1 = new _pqm.TextBox(14, 39270), _puq.addChild(_puq._message1_1), _puq; } return _pq6(_puo, _pum), _puo.prototype.update = function(_pur, _pus) { var _put = null; if (this._icon.texture = _pqn.COMMON_ITEMICONS.getTextureFromMstID(_pur), this._message1_1.text = '', 58 == _pur) this._message1.style.fontSize = 15, this._message1.style.fill = 1644567, this._message2.style.fontSize = 15, this._message2.style.fill = 16724736, this._message3.style.fontSize = 15, this._message3.style.fill = 1644567, this._message1.text = '「改装設計図」が', this._message2.text = '足りません。', this._message2.position.set(this._message1.width, 81), this._message3.text = 'この改装では「改装設計図」が'['concat'](_pus, '枚\x0a') + '必要です。勲章を4個集めると、\nアイテム画面で「改装設計図」と\n交換できます。', this._message3.y = this._message1.y + this._message1.height; else { switch (this._message1.style.fontSize = 18, this._message1.style.fill = 39270, this._message2.style.fontSize = 18, this._message2.style.fill = 1644567, _pur) { case 65: this._message1.text = '「試製甲板カタパルト」'; break; case 78: this._message1.text = '「戦闘詳報」'; break; case 75: this._message1.text = '「新型砲熕兵装資材」'; break; case 77: this._message1.text = '「新型航空兵装資材」'; break; case 94: this._message1.text = '「新型兵装資材」'; break; case 902: this._message1.text = '「新型高温高圧缶」'; var _puu = _pus > 0 ? 'x' ['concat'](_pus) : ''; this._message1_1.text = _puu; break; default: this._message1.text = ''; } if (this._message1.position.set(11, 83), this._message1_1.position.set(this._message1.position.x + this._message1.width, 87), 902 === _pur) this._message2.text = '\n本改装には、上記装備が\n必要です。'; else this._message2.text = '\n本改装には上記アイテムが\n必要です。'; this._message2.position.set(11, 83), this._message3.text = ''; } }, _puo.prototype.dispose = function() { var _puv = null; this.removeChildren(), this._message1.destroy(), this._message2.destroy(), this._message3.destroy(), this._message1 = null, this._message2 = null, this._message3 = null, this._icon = null; }, _puo; }(PIXI.Container); function _psx(_puw, _pux) { var _puy = null; return _puw > 0 && 0 === _pux ? '本改装では「開発資材」を'['concat'](_puw, '個\n使用します。') : 0 == _puw && _pux > 0 ? '本改装では「高速建造材」を'['concat'](_pux, '個\n使用します。') : _puw > 0 && _pux > 0 ? '本改装では「高速建造材」を\n'['concat'](_pux, '個、「開発資材」を').concat(_puw, '個\n使用します。') : ''; } }, 16618: function(_puz, _pv0, _pv1) { 'use strict'; var _pv2 = null; var _pv3, _pv4 = this && this.__extends || (_pv3 = function(_pv5, _pv6) { var _pv7 = null; return _pv3 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_pv8, _pv9) { var _pva = null; _pv8.__proto__ = _pv9; } || function(_pvb, _pvc) { var _pvd = null; for (var _pve in _pvc) Object.prototype.hasOwnProperty.call(_pvc, _pve) && (_pvb[_pve] = _pvc[_pve]); }, _pv3(_pv5, _pv6); }, function(_pvf, _pvg) { var _pvh = null; if ('function' != typeof _pvg && null !== _pvg) throw new TypeError('Class extends value ' + String(_pvg) + ' is not a constructor or null'); function _pvi() { var _pvj = null; this.constructor = _pvf; } _pv3(_pvf, _pvg), _pvf.prototype = null === _pvg ? Object.create(_pvg) : (_pvi.prototype = _pvg.prototype, new _pvi()); }); defineModule(_pv0); Object.defineProperty(_pv0, '__esModule', { 'value': !0 }), _pv0.KaizoStartButton = void 0; var _pvk = _pv1(31000), _pvl = _pv1(35380), _pvm = function(_pvn) { var _pvo = null; function _pvp() { var _pvq = null, _pvr = _pvn.call(this) || this; return _pvr._onMouseOver = function() { var _pvs = null; _pvr.texture = _pvr._textureOn; }, _pvr._onMouseOut = function() { var _pvt = null; _pvr.texture = _pvr._textureOff; }, _pvr._onClick = function() { var _pvu = null; null != _pvr._cb_onClick && _pvr._cb_onClick(); }, _pvr._textureNone = _pvk.REMODEL_GRADEUP.getTexture(5), _pvr._textureOff = _pvk.REMODEL_GRADEUP.getTexture(6), _pvr._textureOn = _pvk.REMODEL_GRADEUP.getTexture(7), _pvr.texture = _pvr._textureNone, _pvr.on(_pvl.EventType.CLICK, _pvr._onClick), _pvr.on(_pvl.EventType.MOUSEOVER, _pvr._onMouseOver), _pvr.on(_pvl.EventType.MOUSEOUT, _pvr._onMouseOut), _pvr; } return _pv4(_pvp, _pvn), _pvp.prototype.initialize = function(_pvv) { var _pvw = null; this._cb_onClick = _pvv; }, _pvp.prototype.update = function(_pvx) { var _pvy = null; 1 == _pvx ? (this.texture = this._textureOff, this.interactive = this.buttonMode = !0) : (this.texture = this._textureNone, this.interactive = this.buttonMode = !1); }, _pvp.prototype.dispose = function() { var _pvz = null; this._textureNone = null, this._textureOff = null, this._textureOn = null, this.off(_pvl.EventType.CLICK, this._onClick), this.off(_pvl.EventType.MOUSEOVER, this._onMouseOver), this.off(_pvl.EventType.MOUSEOUT, this._onMouseOut), this._cb_onClick = null, this.removeChildren(); }, _pvp; }(PIXI.Sprite); _pv0.KaizoStartButton = _pvm; }, 50402: function(_pw0, _pw1, _pw2) { 'use strict'; var _pw3 = null; var _pw4, _pw5 = this && this.__extends || (_pw4 = function(_pw6, _pw7) { var _pw8 = null; return _pw4 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_pw9, _pwa) { var _pwb = null; _pw9.__proto__ = _pwa; } || function(_pwc, _pwd) { var _pwe = null; for (var _pwf in _pwd) Object.prototype.hasOwnProperty.call(_pwd, _pwf) && (_pwc[_pwf] = _pwd[_pwf]); }, _pw4(_pw6, _pw7); }, function(_pwg, _pwh) { var _pwi = null; if ('function' != typeof _pwh && null !== _pwh) throw new TypeError('Class extends value ' + String(_pwh) + ' is not a constructor or null'); function _pwj() { var _pwk = null; this.constructor = _pwg; } _pw4(_pwg, _pwh), _pwg.prototype = null === _pwh ? Object.create(_pwh) : (_pwj.prototype = _pwh.prototype, new _pwj()); }), _pwl = this && this.__importDefault || function(_pwm) { var _pwn = null; return _pwm && _pwm.__esModule ? _pwm : { 'default': _pwm }; }; defineModule(_pw1); Object.defineProperty(_pw1, '__esModule', { 'value': !0 }), _pw1.SpKaizoConfirm = void 0; var _pwo = _pwl(_pw2(18622)), _pwp = _pw2(18343), _pwq = _pw2(79899), _pwr = _pw2(8744), _pws = _pw2(37638), _pwt = _pw2(31000), _pwu = _pw2(31000), _pwv = _pw2(83426), _pww = _pw2(35380), _pwx = _pw2(62080), _pwy = _pw2(20137), _pwz = function(_px0) { var _px1 = null; function _px2() { var _px3 = null, _px4 = _px0.call(this) || this; _px4._onYES = function() { var _px5 = null; null != _px4._cb_onYes && (_pwv.SceneMemory.slotItemPage = 0, _pwv.SceneMemory.slotItemFilter = 0, _pwv.SceneMemory.listMode = _pwx.SlotListMode.UNSET, _px4._cb_onYes()); }, _px4._onNO = function() { var _px6 = null; null != _px4._cb_onNo && _px4._cb_onNo(); }, _px4.bg = new _pwq.AreaBox(1), _px4.frameBg = new PIXI.Sprite(_pwo.default.resources.getUIImage('sp_kaizo_frame')), _px4.titleTxt = new PIXI.Sprite(_pwt.REMODEL_GRADEUP.getTexture(1)), _px4.message1 = new PIXI.Sprite(), _px4.message2 = new PIXI.Sprite(_pwt.REMODEL_GRADEUP.getTexture(23)), _px4.text1 = new _pwr.TextBox(19, 1949120), _px4.text2 = new _pwr.TextBox(19, 1949120), _px4.text1.text = '大規模改装する艦艇', _px4.text2.text = '使用する資材', _px4.textName = new _pwr.TextBox(19, 16777215), _px4.shipBanner = new _pws.ShipBanner(), _px4.iconLayer = new PIXI.Container(), _px4.icons = [], _px4.textItems = []; for (var _px7 = 0, _px8 = 0, _px9 = 0; _px9 < 7; _px9++) { _px9 % 2 == 0 && 0 != _px9 && _px7++, _px8 = _px9 % 2 == 0 ? 0 : 1; var _pxa = new PIXI.Sprite(); _pxa.position.set(617 + 132 * _px8, 380 + 48 * _px7), _pxa.scale.set(0.5), _pxa.visible = !1, _px4.icons.push(_pxa), _px4.iconLayer.addChild(_pxa); var _pxb = new _pwr.TextBox(19, 16777215); _pxb.position.set(657 + 132 * _px8, 389 + 47 * _px7), _pxb.visible = !1, _px4.textItems.push(_pxb), _px4.iconLayer.addChild(_pxb); } return _px4.btn_yes = new PIXI.Sprite(_pwt.REMODEL_GRADEUP.getTexture(9)), _px4.btn_no = new PIXI.Sprite(_pwt.REMODEL_GRADEUP.getTexture(4)), _px4.btn_yes.on(_pww.EventType.CLICK, _px4._onYES), _px4.btn_no.on(_pww.EventType.CLICK, _px4._onNO), _px4.btn_yes.interactive = _px4.btn_yes.buttonMode = !0, _px4.btn_no.interactive = _px4.btn_no.buttonMode = !0, _px4.frameBg.position.set(40, 59), _px4.titleTxt.position.set(446, 19), _px4.text1.position.set(120, 255), _px4.text2.position.set(120, 377), _px4.message1.position.set(383, 85), _px4.message2.position.set(375, 130), _px4.textName.position.set(616, 255), _px4.shipBanner.position.set(616, 283), _px4.btn_yes.position.set(642, 587), _px4.btn_no.position.set(378, 587), _px4.addChild(_px4.bg, _px4.frameBg, _px4.titleTxt, _px4.text1, _px4.text2, _px4.message1, _px4.message2, _px4.textName, _px4.shipBanner, _px4.iconLayer, _px4.btn_yes, _px4.btn_no), _px4; } return _pw5(_px2, _px0), _px2.prototype.dispose = function() { var _pxc = null; this.removeChildren(), this.shipBanner.dispose(), this.btn_yes.off(_pww.EventType.CLICK), this.btn_no.off(_pww.EventType.CLICK), this.text1.destroy(), this.text2.destroy(), this.textName.destroy(); for (var _pxd = 0; _pxd < this.textItems.length; _pxd++) this.textItems[_pxd].destroy(); this.bg = null, this.frameBg = null, this.titleTxt = null, this.text1 = null, this.text2 = null, this.message1 = null, this.message2 = null, this.shipBanner = null, this.textName = null, this.iconLayer = null, this.icons = null, this.textItems = null, this.btn_yes = null, this.btn_no = null, this._cb_onYes = null, this._cb_onNo = null; }, _px2.prototype.update = function(_pxe, _pxf) { var _pxg = null, _pxh = this, _pxi = new _pwy.ShipLoader(); _pxi.add(_pxe.mstID, !1, 'sp_remodel/text_remodel_mes'), _pxi.load(function() { var _pxj = null; _pxh.shipBanner.update(_pxe, !1), _pxh.message1.texture = _pwo.default.resources.getShip(_pxe.mstID, !1, 'sp_remodel/text_remodel_mes'), _pxe.getClassType(), _pxh.textName.text = '' ['concat'](_pwp.ShipUtil.getShipClassTypeSpRemodelText(_pxe.mstID), '「').concat(_pxe.name, '」'); for (var _pxk = 0; _pxk < 7; _pxk++) _pxh.icons[_pxk].visible = !1, _pxh.textItems[_pxk].visible = !1; for (_pxk = 0; _pxk < _pxf.length; _pxk++) _pxh.icons[_pxk].visible = !0, _pxh.textItems[_pxk].visible = !0, _pxh.icons[_pxk].texture = _pwu.COMMON_ITEMICONS.getTextureFromMstID(_pxf[_pxk].id), _pxh.textItems[_pxk].text = _pxf[_pxk].count; }); }, _px2.prototype.activate = function(_pxl, _pxm) { var _pxn = null; this._cb_onYes = _pxl, this._cb_onNo = _pxm; }, _px2; }(PIXI.Container); _pw1.SpKaizoConfirm = _pwz; }, 7248: function(_pxo, _pxp, _pxq) { 'use strict'; var _pxr = null; var _pxs, _pxt = this && this.__extends || (_pxs = function(_pxu, _pxv) { var _pxw = null; return _pxs = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_pxx, _pxy) { var _pxz = null; _pxx.__proto__ = _pxy; } || function(_py0, _py1) { var _py2 = null; for (var _py3 in _py1) Object.prototype.hasOwnProperty.call(_py1, _py3) && (_py0[_py3] = _py1[_py3]); }, _pxs(_pxu, _pxv); }, function(_py4, _py5) { var _py6 = null; if ('function' != typeof _py5 && null !== _py5) throw new TypeError('Class extends value ' + String(_py5) + ' is not a constructor or null'); function _py7() { var _py8 = null; this.constructor = _py4; } _pxs(_py4, _py5), _py4.prototype = null === _py5 ? Object.create(_py5) : (_py7.prototype = _py5.prototype, new _py7()); }), _py9 = this && this.__importDefault || function(_pya) { var _pyb = null; return _pya && _pya.__esModule ? _pya : { 'default': _pya }; }; defineModule(_pxp); Object.defineProperty(_pxp, '__esModule', { 'value': !0 }), _pxp.SpecialRemodelStartStage = void 0; var _pyc = _pxq(57257), _pyd = _pxq(35380), _pye = _py9(_pxq(18622)), _pyf = _pxq(61228), _pyg = _pxq(89939), _pyh = function(_pyi) { var _pyj = null; function _pyk(_pyl) { var _pym = null, _pyn = _pyi.call(this) || this, _pyo = _pye.default.resources.getUIImage('vignette_frame'), _pyp = _pye.default.resources.getShip(_pyl, !1, 'sp_remodel/full_x2'), _pyq = _pye.default.resources.getShip(_pyl, !1, 'sp_remodel/text_class'), _pyr = _pye.default.resources.getShip(_pyl, !1, 'sp_remodel/text_name'), _pys = new PIXI.Graphics().beginFill(16777215).drawRect(0, 0, 1200, 720).endFill(), _pyt = new PIXI.Graphics().beginFill(0).drawRect(0, 0, 1200, 720).endFill(), _pyu = new PIXI.Sprite(_pyq), _pyv = new PIXI.Sprite(_pyr), _pyw = new PIXI.Sprite(_pyp), _pyx = new PIXI.Container(), _pyy = new PIXI.Sprite(_pyp), _pyz = new PIXI.Container(), _pz0 = new PIXI.Sprite(_pyo), _pz1 = new _pz2(); return _pyw.position.set(0.5 * -_pyp.width, 0.5 * -_pyp.height), _pyy.position.set(0.5 * -_pyp.width, 0.5 * -_pyp.height), _pyy.tint = 0, _pyy.alpha = 0.21, _pyu.position.set(12, 12), _pyv.position.set(12, 720 - _pyv.height - 12), _pyz.addChild(_pyy), _pyx.addChild(_pyw), _pyn.addChild(_pys), _pyn.addChild(_pyz), _pyn.addChild(_pyx), _pyn.addChild(_pz0), _pyn.addChild(_pyu), _pyn.addChild(_pyv), _pyn.addChild(_pyt), _pyn.addChild(_pz1), _pyn._configurableContents = [{ 'type': _pyf.SpecialRemodelStartKey.SHIP_CAMERA, 'content': _pyx }, { 'type': _pyf.SpecialRemodelStartKey.CLASS_TEXT, 'content': _pyu }, { 'type': _pyf.SpecialRemodelStartKey.NAME_TEXT, 'content': _pyv }, { 'type': _pyf.SpecialRemodelStartKey.SHIP_SHADOW, 'content': _pyz }, { 'type': _pyf.SpecialRemodelStartKey.VIGNETTE_FRAME, 'content': _pz0 }], _pyn._textClass = _pyu, _pyn._textName = _pyv, _pyn._vignetteFrame = _pz0, _pyn._backGround = _pys, _pyn._blackOver = _pyt, _pyn._goBackArea = _pz1, _pyn._shipSprite = _pyw, _pyn._shipContainer = _pyx, _pyn._shipShadowSprite = _pyy, _pyn._shipShadowContainer = _pyz, _pyn; } return _pxt(_pyk, _pyi), Object.defineProperty(_pyk.prototype, 'textClass', { 'get': function() { var _pz3 = null; return this._textClass; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_pyk.prototype, 'textName', { 'get': function() { var _pz4 = null; return this._textName; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_pyk.prototype, 'vignetteFrame', { 'get': function() { var _pz5 = null; return this._vignetteFrame; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_pyk.prototype, 'backGround', { 'get': function() { var _pz6 = null; return this._backGround; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_pyk.prototype, 'blackOver', { 'get': function() { var _pz7 = null; return this._blackOver; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_pyk.prototype, 'ship', { 'get': function() { var _pz8 = null; return this._shipContainer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_pyk.prototype, 'shipShadowSprite', { 'get': function() { var _pz9 = null; return this._shipShadowSprite; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_pyk.prototype, 'shipShadow', { 'get': function() { var _pza = null; return this._shipShadowContainer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_pyk.prototype, 'goBackArea', { 'get': function() { var _pzb = null; return this._goBackArea; }, 'enumerable': !1, 'configurable': !0 }), _pyk.prototype.initializeSetting = function(_pzc) { var _pzd = null; this._setZIndex(_pyg.ObjUtil.getObjectArray(_pzc, 'zindex', [])); }, _pyk.prototype._setZIndex = function(_pze) { var _pzf = null; if (!(_pze.length <= 0)) { for (var _pzg = 0, _pzh = _pze; _pzg < _pzh.length; _pzg++) for (var _pzi = _pzh[_pzg], _pzj = _pyg.ObjUtil.getNumber(_pzi, 'type'), _pzk = _pyg.ObjUtil.getNumber(_pzi, 'index'), _pzl = 0, _pzm = this._configurableContents; _pzl < _pzm.length; _pzl++) { var _pzn = _pzm[_pzl]; _pzn.type == _pzj && this.setChildIndex(_pzn.content, _pzk); } } }, _pyk.prototype.dispose = function() { var _pzo = null; this.removeChildren(), this._goBackArea.dispose(), this._backGround.filters = [], this._textClass.texture = PIXI.Texture.EMPTY, this._textName.texture = PIXI.Texture.EMPTY, this._vignetteFrame.texture = PIXI.Texture.EMPTY, this._vignetteFrame = null, this._goBackArea = null, this._shipContainer.removeChildren(), this._shipContainer = null, this._shipSprite.texture = PIXI.Texture.EMPTY, this._shipSprite = null, this._shipShadowContainer.removeChildren(), this._shipShadowContainer = null, this._shipShadowSprite.texture = PIXI.Texture.EMPTY, this._shipShadowSprite = null, this._textClass = null, this._textName = null, this._backGround = null, this._blackOver = null; }, _pyk; }(PIXI.Container); _pxp.SpecialRemodelStartStage = _pyh; var _pz2 = function(_pzp) { var _pzq = null; function _pzr() { var _pzs = null, _pzt = _pzp.call(this) || this; _pzt._onClick = function() { var _pzu = null; _pzt.onClick(); }; var _pzv = new _pyc.GearBtnHome(), _pzw = new PIXI.Graphics().beginFill(0, 0).drawRect(0, 0, 1200, 720).endFill(); return _pzv.initialize(), _pzv.activate(), _pzv.position.set(1200 - 0.5 * _pzv.width, 720 - 0.5 * _pzv.height), _pzw.interactive = !0, _pzw.buttonMode = !0, _pzw.addChild(_pzv), _pzw.addListener(_pyd.EventType.CLICK, _pzt._onClick), _pzt._gearBtnHome = _pzv, _pzt._goBackArea = _pzw, _pzt.addChild(_pzw), _pzt; } return _pxt(_pzr, _pzp), _pzr.prototype.dispose = function() { var _pzx = null; this.removeChildren(), this._goBackArea.removeListener(_pyd.EventType.CLICK, this._onClick), this._gearBtnHome.deactivate(), this._gearBtnHome.dispose(), this._goBackArea = null, this._onClick = null, this._gearBtnHome = null; }, _pzr; }(PIXI.Container); }, 15864: function(_pzy, _pzz, _q00) { 'use strict'; var _q01 = null; var _q02, _q03 = this && this.__extends || (_q02 = function(_q04, _q05) { var _q06 = null; return _q02 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_q07, _q08) { var _q09 = null; _q07.__proto__ = _q08; } || function(_q0a, _q0b) { var _q0c = null; for (var _q0d in _q0b) Object.prototype.hasOwnProperty.call(_q0b, _q0d) && (_q0a[_q0d] = _q0b[_q0d]); }, _q02(_q04, _q05); }, function(_q0e, _q0f) { var _q0g = null; if ('function' != typeof _q0f && null !== _q0f) throw new TypeError('Class extends value ' + String(_q0f) + ' is not a constructor or null'); function _q0h() { var _q0i = null; this.constructor = _q0e; } _q02(_q0e, _q0f), _q0e.prototype = null === _q0f ? Object.create(_q0f) : (_q0h.prototype = _q0f.prototype, new _q0h()); }); defineModule(_pzz); Object.defineProperty(_pzz, '__esModule', { 'value': !0 }), _pzz.MarriageAlert = void 0; var _q0j = _q00(31000), _q0k = _q00(35380), _q0l = function(_q0m) { var _q0n = null; function _q0o() { var _q0p = null, _q0q = _q0m.call(this) || this; _q0q._onClickBack = function() { var _q0r = null; _q0q.onClickBack(); }; var _q0s = new PIXI.Sprite(_q0j.REMODEL_MAIN.getTexture(49)); return _q0q.buttonBack = new PIXI.Sprite(_q0j.REMODEL_MAIN.getTexture(0)), _q0q.buttonBack.interactive = _q0q.buttonBack.buttonMode = !0, _q0q.buttonBack.on(_q0k.EventType.CLICK, _q0q._onClickBack), _q0q.buttonBack.position.set(221, 206), _q0q.addChild(_q0s, _q0q.buttonBack), _q0q; } return _q03(_q0o, _q0m), _q0o.prototype.dispose = function() { var _q0t = null; this.buttonBack.off(_q0k.EventType.CLICK), this.onClickBack = null, this.buttonBack = null, this.removeChildren(); }, _q0o; }(PIXI.Container); _pzz.MarriageAlert = _q0l; }, 25903: function(_q0u, _q0v, _q0w) { 'use strict'; var _q0x = null; var _q0y, _q0z = this && this.__extends || (_q0y = function(_q10, _q11) { var _q12 = null; return _q0y = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_q13, _q14) { var _q15 = null; _q13.__proto__ = _q14; } || function(_q16, _q17) { var _q18 = null; for (var _q19 in _q17) Object.prototype.hasOwnProperty.call(_q17, _q19) && (_q16[_q19] = _q17[_q19]); }, _q0y(_q10, _q11); }, function(_q1a, _q1b) { var _q1c = null; if ('function' != typeof _q1b && null !== _q1b) throw new TypeError('Class extends value ' + String(_q1b) + ' is not a constructor or null'); function _q1d() { var _q1e = null; this.constructor = _q1a; } _q0y(_q1a, _q1b), _q1a.prototype = null === _q1b ? Object.create(_q1b) : (_q1d.prototype = _q1b.prototype, new _q1d()); }); defineModule(_q0v); Object.defineProperty(_q0v, '__esModule', { 'value': !0 }), _q0v.MarriageConfirm = void 0; var _q1f = _q0w(8744), _q1g = _q0w(31000), _q1h = _q0w(35380), _q1i = function(_q1j) { var _q1k = null; function _q1l(_q1m, _q1n) { var _q1o = null, _q1p = _q1j.call(this) || this; _q1p._onClickSign = function() { var _q1q = null; _q1p._cb_onSign && _q1p._cb_onSign(); }, _q1p._onClickBack = function() { var _q1r = null; _q1p._cb_onBack && _q1p._cb_onBack(); }, _q1p._cb_onSign = _q1m, _q1p._cb_onBack = _q1n; var _q1s = new PIXI.Sprite(_q1g.REMODEL_MAIN.getTexture(48)); _q1p.addChild(_q1s); var _q1t = new PIXI.Sprite(_q1g.REMODEL_MAIN.getTexture(34)); return _q1t.position.set(18, -117), _q1s.addChild(_q1t), _q1p._buttonSign = new PIXI.Sprite(_q1g.REMODEL_MAIN.getTexture(12)), _q1p._buttonSign.position.set(48, 212), _q1p._buttonSign.interactive = !0, _q1p._buttonSign.buttonMode = !0, _q1p.addChild(_q1p._buttonSign), _q1p._buttonBack = new PIXI.Sprite(_q1g.REMODEL_MAIN.getTexture(0)), _q1p._buttonBack.position.set(384, 212), _q1p._buttonBack.interactive = !0, _q1p._buttonBack.buttonMode = !0, _q1p.addChild(_q1p._buttonBack), _q1p._textBeforeCount = new _q1f.TextBox(25, 5523516), _q1p._textBeforeCount.position.set(386, 78), _q1p._textBeforeCount.anchor.x = 1, _q1p.addChild(_q1p._textBeforeCount), _q1p._arrow = new _q1f.TextBox(18, 5523516), _q1p._arrow.position.set(393, 83), _q1p._arrow.text = '→', _q1p.addChild(_q1p._arrow), _q1p._textAfterCount = new _q1f.TextBox(25, 5523516), _q1p._textAfterCount.position.set(417, 78), _q1p.addChild(_q1p._textAfterCount), _q1p._buttonSign.on(_q1h.EventType.CLICK, _q1p._onClickSign), _q1p._buttonBack.on(_q1h.EventType.CLICK, _q1p._onClickBack), _q1p; } return _q0z(_q1l, _q1j), _q1l.prototype.dispose = function() { var _q1u = null; this._buttonSign.off(_q1h.EventType.CLICK), this._buttonBack.off(_q1h.EventType.CLICK), this._textBeforeCount.destroy(), this._textAfterCount.destroy(), this._arrow.destroy(), this._cb_onSign = null, this._cb_onBack = null, this._buttonSign = null, this._buttonBack = null, this._textBeforeCount = null, this._textAfterCount = null, this._arrow = null, this.removeChildren(); }, _q1l.prototype.update = function(_q1v) { var _q1w = null; this._textBeforeCount.text = '' ['concat'](_q1v), this._textAfterCount.text = '' ['concat'](_q1v - 1); }, _q1l; }(PIXI.Container); _q0v.MarriageConfirm = _q1i; }, 36609: function(_q1x, _q1y, _q1z) { 'use strict'; var _q20 = null; var _q21, _q22 = this && this.__extends || (_q21 = function(_q23, _q24) { var _q25 = null; return _q21 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_q26, _q27) { var _q28 = null; _q26.__proto__ = _q27; } || function(_q29, _q2a) { var _q2b = null; for (var _q2c in _q2a) Object.prototype.hasOwnProperty.call(_q2a, _q2c) && (_q29[_q2c] = _q2a[_q2c]); }, _q21(_q23, _q24); }, function(_q2d, _q2e) { var _q2f = null; if ('function' != typeof _q2e && null !== _q2e) throw new TypeError('Class extends value ' + String(_q2e) + ' is not a constructor or null'); function _q2g() { var _q2h = null; this.constructor = _q2d; } _q21(_q2d, _q2e), _q2d.prototype = null === _q2e ? Object.create(_q2e) : (_q2g.prototype = _q2e.prototype, new _q2g()); }), _q2i = this && this.__createBinding || (Object.create ? function(_q2j, _q2k, _q2l, _q2m) { var _q2n = null; void 0 === _q2m && (_q2m = _q2l); var _q2o = Object.getOwnPropertyDescriptor(_q2k, _q2l); _q2o && !('get' in _q2o ? !_q2k.__esModule : _q2o.writable || _q2o.configurable) || (_q2o = { 'enumerable': !0, 'get': function() { return _q2k[_q2l]; } }), Object.defineProperty(_q2j, _q2m, _q2o); } : function(_q2p, _q2q, _q2r, _q2s) { void 0 === _q2s && (_q2s = _q2r), _q2p[_q2s] = _q2q[_q2r]; }), _q2t = this && this.__setModuleDefault || (Object.create ? function(_q2u, _q2v) { var _q2w = null; Object.defineProperty(_q2u, 'default', { 'enumerable': !0, 'value': _q2v }); } : function(_q2x, _q2y) { var _q2z = null; _q2x.default = _q2y; }), _q30 = this && this.__importStar || function(_q31) { var _q32 = null; if (_q31 && _q31.__esModule) return _q31; var _q33 = {}; if (null != _q31) { for (var _q34 in _q31) 'default' !== _q34 && Object.prototype.hasOwnProperty.call(_q31, _q34) && _q2i(_q33, _q31, _q34); } return _q2t(_q33, _q31), _q33; }; defineModule(_q1y); Object.defineProperty(_q1y, '__esModule', { 'value': !0 }), _q1y.MiniPager = void 0; var _q35 = _q30(_q1z(31000)), _q36 = _q1z(8744), _q37 = _q1z(35380), _q38 = function(_q39) { var _q3a = null; function _q3b() { var _q3c = null, _q3d = _q39.call(this) || this; return _q3d.HIT_AREA_SIZE = 30, _q3d.COLOR_ON = 1949120, _q3d.COLOR_OFF = 5523516, _q3d.COLOR_NO = 16774898, _q3d.BASE = 68, _q3d.NUMBEROFFSET = 10, _q3d.PADDING = 60, _q3d._onClickPrev3 = function() { var _q3e = null, _q3f = _q3d.focusIndex - 3; _q3f < 0 && (_q3f = 0), _q3d.notifyChangeIndex(_q3f); }, _q3d._onClickNext3 = function() { var _q3g = null, _q3h = _q3d.focusIndex + 3; if (_q3d.pageCount <= 3) switch (_q3d.pageCount) { case 0: case 1: _q3h = 0; break; case 2: _q3h = 1; break; case 3: _q3h = 2; } else _q3d.pageCount - 1 < _q3h && (_q3h = _q3d.pageCount - 1, _q3d.pageCount <= 2 && _q3d.pageCount++); _q3d.notifyChangeIndex(_q3h); }, _q3d._onClickChange0 = function() { var _q3i = null, _q3j = 0; _q3j = _q3d.focusIndex < 2 || 2 == _q3d.pageCount ? 0 : _q3d.pageCount - 3 < _q3d.focusIndex ? _q3d.pageCount - 3 : _q3d.focusIndex - 1, _q3d.notifyChangeIndex(_q3j); }, _q3d._onClickChange1 = function() { var _q3k = null, _q3l = 0; _q3l = _q3d.focusIndex < 2 || _q3d.pageCount <= 2 ? 1 : _q3d.pageCount - 3 < _q3d.focusIndex ? _q3d.pageCount - 2 : _q3d.focusIndex, _q3d.notifyChangeIndex(_q3l); }, _q3d._onClickChange2 = function() { var _q3m = null, _q3n = 0; _q3n = _q3d.focusIndex < 2 || 2 == _q3d.pageCount ? 2 : _q3d.pageCount - 3 < _q3d.focusIndex ? _q3d.pageCount - 1 : _q3d.focusIndex + 1, _q3d.notifyChangeIndex(_q3n); }, _q3d.focusIndex = 0, (_q3d.textChange_0 = new _q36.TextBox(24, _q3d.COLOR_NO), _q3d.textChange_1 = new _q36.TextBox(24, _q3d.COLOR_NO), _q3d.textChange_2 = new _q36.TextBox(24, _q3d.COLOR_NO), _q3d.buttonPrev_3 = new PIXI.Sprite(_q35.COMMON_MAIN.getTexture(9)), _q3d.buttonChange_0 = new PIXI.Graphics(), _q3d.buttonChange_1 = new PIXI.Graphics(), _q3d.buttonChange_2 = new PIXI.Graphics(), _q3d.buttonNext_3 = new PIXI.Sprite(_q35.COMMON_MAIN.getTexture(8)), _q3d.buttonChange_0.beginFill(0, 0), _q3d.buttonChange_0.drawRect(0, 0, _q3d.HIT_AREA_SIZE, _q3d.HIT_AREA_SIZE), _q3d.buttonChange_0.endFill(), _q3d.buttonChange_0.renderable = !1, _q3d.buttonChange_1.beginFill(0, 0), _q3d.buttonChange_1.drawRect(0, 0, _q3d.HIT_AREA_SIZE, _q3d.HIT_AREA_SIZE), _q3d.buttonChange_1.endFill(), _q3d.buttonChange_1.renderable = !1, _q3d.buttonChange_2.beginFill(0, 0), _q3d.buttonChange_2.drawRect(0, 0, _q3d.HIT_AREA_SIZE, _q3d.HIT_AREA_SIZE), _q3d.buttonChange_2.endFill(), _q3d.buttonChange_2.renderable = !1, _q3d.buttonPrev_3.position.set(20, 0), _q3d.buttonChange_0.position.x = _q3d.BASE, _q3d.buttonChange_1.position.x = _q3d.BASE + _q3d.PADDING, _q3d.buttonChange_2.position.x = _q3d.BASE + 2 * _q3d.PADDING, _q3d.buttonChange_0.position.y = -Math.floor(_q3d.buttonChange_0.height / 2), _q3d.buttonChange_1.position.y = -Math.floor(_q3d.buttonChange_1.height / 2), _q3d.buttonChange_2.position.y = -Math.floor(_q3d.buttonChange_2.height / 2), _q3d.buttonNext_3.position.set(233.7, 0), _q3d.buttonPrev_3.anchor.set(0, 0.5), _q3d.buttonNext_3.anchor.set(0, 0.5), _q3d.textChange_0.anchor.set(0, 0), _q3d.textChange_1.anchor.set(0, 0), _q3d.textChange_2.anchor.set(0, 0), _q3d.buttonChange_0.interactive = _q3d.buttonPrev_3.interactive = _q3d.buttonNext_3.interactive = _q3d.buttonChange_1.interactive = _q3d.buttonChange_2.interactive = !0, _q3d.addChild(_q3d.buttonPrev_3), _q3d.addChild(_q3d.buttonChange_0, _q3d.buttonChange_1, _q3d.buttonChange_2), _q3d.addChild(_q3d.buttonNext_3, _q3d.textChange_0, _q3d.textChange_1, _q3d.textChange_2), _q3d); } return _q22(_q3b, _q39), _q3b.prototype.dispose = function() { var _q3o = null; this.buttonPrev_3.off(_q37.EventType.CLICK), this.buttonNext_3.off(_q37.EventType.CLICK), this.buttonChange_0.off(_q37.EventType.CLICK), this.buttonChange_1.off(_q37.EventType.CLICK), this.buttonChange_2.off(_q37.EventType.CLICK), this.textChange_0.destroy(), this.textChange_1.destroy(), this.textChange_2.destroy(), this.buttonPrev_3 = null, this.buttonChange_0 = null, this.buttonChange_1 = null, this.buttonChange_2 = null, this.buttonNext_3 = null, this.textChange_0 = null, this.textChange_1 = null, this.textChange_2 = null, this.focusIndex = null, this.pageCount = null, this.onClick = null, this.removeChildren(); }, _q3b.prototype.init = function(_q3p) { var _q3q = null; switch (this.buttonPrev_3.off(_q37.EventType.CLICK), this.buttonNext_3.off(_q37.EventType.CLICK), this.buttonChange_0.off(_q37.EventType.CLICK), this.buttonChange_1.off(_q37.EventType.CLICK), this.buttonChange_2.off(_q37.EventType.CLICK), _q3p) { case 0: case 1: break; case 2: this.buttonPrev_3.on(_q37.EventType.CLICK, this._onClickPrev3), this.buttonChange_0.on(_q37.EventType.CLICK, this._onClickChange0), this.buttonChange_1.on(_q37.EventType.CLICK, this._onClickChange1), this.buttonNext_3.on(_q37.EventType.CLICK, this._onClickNext3); break; default: this.buttonPrev_3.on(_q37.EventType.CLICK, this._onClickPrev3), this.buttonNext_3.on(_q37.EventType.CLICK, this._onClickNext3), this.buttonChange_0.on(_q37.EventType.CLICK, this._onClickChange0), this.buttonChange_1.on(_q37.EventType.CLICK, this._onClickChange1), this.buttonChange_2.on(_q37.EventType.CLICK, this._onClickChange2); } this.pageCount = _q3p; }, _q3b.prototype.focus = function(_q3r) { var _q3s = null, _q3t = 30; if (this.focusIndex = _q3r, this.textChange_0.style.fill = this.COLOR_NO, this.textChange_1.style.fill = this.COLOR_NO, this.textChange_2.style.fill = this.COLOR_NO, this.textChange_0.style.fontSize = 24, this.textChange_1.style.fontSize = 24, this.textChange_2.style.fontSize = 24, _q3r < 2 || this.pageCount <= 2) { switch (this.textChange_0.text = '1', this.textChange_1.text = '2', this.textChange_2.text = '3', this.pageCount) { case 0: case 1: this.textChange_0.style.fill = this.COLOR_NO, this.textChange_1.style.fill = this.COLOR_NO, this.textChange_2.style.fill = this.COLOR_NO; break; case 2: this.textChange_0.style.fill = this.COLOR_OFF, this.textChange_1.style.fill = this.COLOR_OFF, this.textChange_2.style.fill = this.COLOR_NO; break; default: this.textChange_0.style.fill = this.COLOR_OFF, this.textChange_1.style.fill = this.COLOR_OFF, this.textChange_2.style.fill = this.COLOR_OFF; } switch (_q3r) { case 0: this.textChange_0.style.fill = this.COLOR_ON, this.textChange_0.style.fontSize = _q3t; break; case 1: this.textChange_1.style.fill = this.COLOR_ON, this.textChange_1.style.fontSize = _q3t; break; case 2: this.textChange_2.style.fill = this.COLOR_ON, this.textChange_2.style.fontSize = _q3t; } } else { if (this.pageCount - 3 < _q3r) switch (this.textChange_0.text = '' ['concat'](this.pageCount - 3 + 1), this.textChange_1.text = '' ['concat'](this.pageCount - 2 + 1), this.textChange_2.text = '' ['concat'](this.pageCount - 1 + 1), this.textChange_0.style.fill = this.COLOR_OFF, this.textChange_1.style.fill = this.COLOR_OFF, this.textChange_2.style.fill = this.COLOR_OFF, this.focusIndex) { case this.pageCount - 3: this.textChange_0.style.fill = this.COLOR_ON, this.textChange_0.style.fontSize = _q3t; break; case this.pageCount - 2: this.textChange_1.style.fill = this.COLOR_ON, this.textChange_1.style.fontSize = _q3t; break; case this.pageCount - 1: this.textChange_2.style.fill = this.COLOR_ON, this.textChange_2.style.fontSize = _q3t; } else this.textChange_0.text = '' ['concat'](this.focusIndex - 1 + 1), this.textChange_1.text = '' ['concat'](this.focusIndex + 1), this.textChange_2.text = '' ['concat'](this.focusIndex + 1 + 1), this.textChange_0.style.fill = this.COLOR_OFF, this.textChange_1.style.fill = this.COLOR_ON, this.textChange_2.style.fill = this.COLOR_OFF, this.textChange_1.style.fontSize = 37; } this.textChange_0.position.set(this.BASE - Math.floor(this.textChange_0.width / 2) + this.NUMBEROFFSET + 0 * this.PADDING, -Math.floor(this.textChange_0.height / 2)), this.textChange_1.position.set(this.BASE - Math.floor(this.textChange_1.width / 2) + this.NUMBEROFFSET + 1 * this.PADDING, -Math.floor(this.textChange_1.height / 2)), this.textChange_2.position.set(this.BASE - Math.floor(this.textChange_2.width / 2) + this.NUMBEROFFSET + 2 * this.PADDING, -Math.floor(this.textChange_2.height / 2)); }, _q3b.prototype.notifyChangeIndex = function(_q3u) { var _q3v = null; this.onClick(_q3u); }, _q3b; }(PIXI.Container); _q1y.MiniPager = _q38; }, 68493: function(_q3w, _q3x, _q3y) { 'use strict'; var _q3z = null; var _q40, _q41 = this && this.__extends || (_q40 = function(_q42, _q43) { var _q44 = null; return _q40 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_q45, _q46) { var _q47 = null; _q45.__proto__ = _q46; } || function(_q48, _q49) { var _q4a = null; for (var _q4b in _q49) Object.prototype.hasOwnProperty.call(_q49, _q4b) && (_q48[_q4b] = _q49[_q4b]); }, _q40(_q42, _q43); }, function(_q4c, _q4d) { var _q4e = null; if ('function' != typeof _q4d && null !== _q4d) throw new TypeError('Class extends value ' + String(_q4d) + ' is not a constructor or null'); function _q4f() { var _q4g = null; this.constructor = _q4c; } _q40(_q4c, _q4d), _q4c.prototype = null === _q4d ? Object.create(_q4d) : (_q4f.prototype = _q4d.prototype, new _q4f()); }), _q4h = this && this.__createBinding || (Object.create ? function(_q4i, _q4j, _q4k, _q4l) { var _q4m = null; void 0 === _q4l && (_q4l = _q4k); var _q4n = Object.getOwnPropertyDescriptor(_q4j, _q4k); _q4n && !('get' in _q4n ? !_q4j.__esModule : _q4n.writable || _q4n.configurable) || (_q4n = { 'enumerable': !0, 'get': function() { return _q4j[_q4k]; } }), Object.defineProperty(_q4i, _q4l, _q4n); } : function(_q4o, _q4p, _q4q, _q4r) { void 0 === _q4r && (_q4r = _q4q), _q4o[_q4r] = _q4p[_q4q]; }), _q4s = this && this.__setModuleDefault || (Object.create ? function(_q4t, _q4u) { var _q4v = null; Object.defineProperty(_q4t, 'default', { 'enumerable': !0, 'value': _q4u }); } : function(_q4w, _q4x) { var _q4y = null; _q4w.default = _q4x; }), _q4z = this && this.__importStar || function(_q50) { var _q51 = null; if (_q50 && _q50.__esModule) return _q50; var _q52 = {}; if (null != _q50) { for (var _q53 in _q50) 'default' !== _q53 && Object.prototype.hasOwnProperty.call(_q50, _q53) && _q4h(_q52, _q50, _q53); } return _q4s(_q52, _q50), _q52; }, _q54 = this && this.__importDefault || function(_q55) { var _q56 = null; return _q55 && _q55.__esModule ? _q55 : { 'default': _q55 }; }; defineModule(_q3x); Object.defineProperty(_q3x, '__esModule', { 'value': !0 }), _q3x.OtherShipList = void 0; var _q57 = _q4z(_q3y(31000)), _q58 = _q54(_q3y(18622)), _q59 = _q3y(8744), _q5a = _q3y(18343), _q5b = _q3y(31000), _q5c = _q3y(14921), _q5d = _q3y(35380), _q5e = function(_q5f) { var _q5g = null; function _q5h(_q5i) { var _q5j = null, _q5k = _q5f.call(this) || this; _q5k._onClickListItem = function(_q5l, _q5m) { var _q5n = null; _q5k.onClick(_q5m); }; var _q5o = _q57.COMMON_MAIN.getTexture(38); _q5k.otherShipListItems = new Array(); for (var _q5p = 0; _q5p < _q5i; _q5p++) { var _q5q = new _q5r(_q5p); _q5q.y = 45 * _q5p, _q5q.onClick = _q5k._onClickListItem, _q5k.otherShipListItems.push(_q5q); var _q5s = new PIXI.Sprite(_q5o); _q5s.y = 45 * _q5p + 42, _q5k.addChild(_q5s), _q5k.addChild(_q5q); } return _q5k.itemCount = _q5i, _q5k; } return _q41(_q5h, _q5f), _q5h.prototype.dispose = function() { var _q5t = null; this.removeChildren(); for (var _q5u = 0; _q5u < this.otherShipListItems.length; _q5u++) this.otherShipListItems[_q5u].dispose(), this.otherShipListItems[_q5u] = null; this.otherShipListItems = null, this.onClick = null; }, _q5h.prototype.update = function(_q5v) { var _q5w = null; for (var _q5x = 0; _q5x < this.itemCount; _q5x++) { var _q5y = this.otherShipListItems[_q5x]; if (_q5y.visible = !1, _q5x < _q5v.length) { var _q5z = _q5v[_q5x]; _q5y.update(_q5z), _q5y.visible = !0; } } }, _q5h; }(PIXI.Container); _q3x.OtherShipList = _q5e; var _q5r = function(_q60) { var _q61 = null; function _q62(_q63) { var _q64 = null, _q65 = _q60.call(this) || this; _q65._onClick = function() { var _q66 = null; _q65.onClick(_q65.index, _q65.memId); }, _q65._onMouseOver = function() { var _q67 = null; _q65.focus.visible = !0, _q65.textName.style.fill = _q65.textLevel.style.fill = _q65.textType.style.fill = 16777215; }, _q65._onMouseOut = function() { var _q68 = null; _q65.focus.visible = !1, _q65.textName.style.fill = _q65.textLevel.style.fill = _q65.textType.style.fill = 5523516; }, _q65.index = _q63; var _q69 = Math.floor(22.5) + 1; _q65.clickArea = new PIXI.Graphics(), _q65.clickArea.beginFill(0, 0), _q65.clickArea.drawRect(0, 0, 268, 44), _q65.clickArea.endFill(), _q65.textContainer = new PIXI.Container(), _q65.textType = new _q59.TextBox(18, 5523516), _q65.textName = new _q59.TextBox(20, 5523516), _q65.textLevel = new _q59.TextBox(19, 5523516), _q65.focus = new PIXI.Sprite(_q57.COMMON_MAIN.getTexture(18)), _q65.focus.width = _q65.clickArea.width, _q65.focus.height = _q65.clickArea.height; var _q6a = _q5c.CreateRect.gradientLeftToRight(210, 45, 0.88, 0.95); return _q65.icon_max = new PIXI.Sprite(_q5b.REMODEL_POWERUP.getTexture(32)), _q65.textContainer.mask = _q6a, _q65.textType.anchor.set(0, 0), _q65.textType.position.set(6, Math.floor(_q69 - _q65.textType.height / 2)), _q65.textName.anchor.set(0, 0), _q65.textName.position.y = Math.floor(_q69 - _q65.textName.height / 2) + 0, _q65.textLevel.anchor.set(1, 0), _q65.textLevel.position.set(263, Math.floor(_q69 - _q65.textLevel.height / 2)), _q65.icon_max.position.set(213, 3), _q65.focus.visible = !1, _q65.icon_max.visible = !1, _q65.textContainer.addChild(_q65.textType, _q65.textName, _q6a), _q65.clickArea.on(_q5d.EventType.MOUSEOVER, _q65._onMouseOver), _q65.clickArea.on(_q5d.EventType.MOUSEOUT, _q65._onMouseOut), _q65.clickArea.on(_q5d.EventType.CLICK, _q65._onClick), _q65.clickArea.interactive = _q65.clickArea.buttonMode = !0, _q65.addChild(_q65.clickArea, _q65.focus, _q65.textContainer, _q65.textLevel, _q65.icon_max), _q65; } return _q41(_q62, _q60), _q62.prototype.dispose = function() { var _q6b = null; this.removeChildren(), this.clickArea.off(_q5d.EventType.MOUSEOVER), this.clickArea.off(_q5d.EventType.MOUSEOUT), this.clickArea.off(_q5d.EventType.CLICK), this.textContainer.removeChildren(), this.textName.destroy(), this.textType.destroy(), this.textLevel.destroy(), this.onClick = null, this.clickArea = null, this.focus = null, this.textContainer = null, this.textName = null, this.textType = null, this.textLevel = null, this.index = null, this.memId = null, this.icon_max = null; }, _q62.prototype.update = function(_q6c) { var _q6d = null; this.memId = _q6c.memID, this.textName.text = _q6c.name, this.textType.text = _q6c.shipTypeName + '\x20', this.textName.position.x = this.textType.x + this.textType.width, this.icon_max.visible = !1, this.textLevel.visible = !1, _q5a.ShipUtil.isMaxGradeUp(_q6c, _q58.default.model.ship.getMst(_q6c.mstID), !1) ? this.icon_max.visible = !0 : (this.textLevel.text = 'Lv' ['concat'](_q6c.level), this.textLevel.visible = !0); }, _q62; }(PIXI.Container); }, 61798: function(_q6e, _q6f, _q6g) { 'use strict'; var _q6h = null; var _q6i, _q6j = this && this.__extends || (_q6i = function(_q6k, _q6l) { var _q6m = null; return _q6i = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_q6n, _q6o) { var _q6p = null; _q6n.__proto__ = _q6o; } || function(_q6q, _q6r) { var _q6s = null; for (var _q6t in _q6r) Object.prototype.hasOwnProperty.call(_q6r, _q6t) && (_q6q[_q6t] = _q6r[_q6t]); }, _q6i(_q6k, _q6l); }, function(_q6u, _q6v) { var _q6w = null; if ('function' != typeof _q6v && null !== _q6v) throw new TypeError('Class extends value ' + String(_q6v) + ' is not a constructor or null'); function _q6x() { var _q6y = null; this.constructor = _q6u; } _q6i(_q6u, _q6v), _q6u.prototype = null === _q6v ? Object.create(_q6v) : (_q6x.prototype = _q6v.prototype, new _q6x()); }); defineModule(_q6f); Object.defineProperty(_q6f, '__esModule', { 'value': !0 }), _q6f.IconCategories = void 0; var _q6z = _q6g(77473), _q70 = _q6g(8744), _q71 = _q6g(61154), _q72 = function(_q73) { var _q74 = null; function _q75() { var _q76 = null, _q77 = _q73.call(this) || this; _q77.powerNums = [], _q77.iconCategories = new Array(); for (var _q78 = 0; _q78 < 4; _q78++) { var _q79 = new _q6z.IconCategory(); _q79.position.set(90 * _q78, 0), _q79.update(_q71.PowerUpCategory.EMPTY), _q77.iconCategories.push(_q79); var _q7a = new _q70.TextBox(21, 16777215); _q7a.position.set(45 + 90 * _q78, 9), _q77.powerNums.push(_q7a), _q77.addChild(_q79), _q77.addChild(_q7a); } return _q77; } return _q6j(_q75, _q73), _q75.prototype.update = function(_q7b) { var _q7c = null; for (var _q7d = 0; _q7d < 4; _q7d++) this.powerNums[_q7d].visible = !1, this.iconCategories[_q7d].visible = !1; var _q7e = 0, _q7f = _q7b[_q71.PowerUpCategory.Karyoku]; 0 < _q7f && (this.powerNums[_q7e].text = '+' ['concat'](_q7f), this.iconCategories[_q7e].update(_q71.PowerUpCategory.Karyoku), this.powerNums[_q7e].visible = !0, this.iconCategories[_q7e].visible = !0, _q7e++), 0 < (_q7f = _q7b[_q71.PowerUpCategory.Raisou]) && (this.powerNums[_q7e].text = '+' ['concat'](_q7f), this.iconCategories[_q7e].update(_q71.PowerUpCategory.Raisou), this.powerNums[_q7e].visible = !0, this.iconCategories[_q7e].visible = !0, _q7e++), 0 < (_q7f = _q7b[_q71.PowerUpCategory.Taiku]) && (this.powerNums[_q7e].text = '+' ['concat'](_q7f), this.iconCategories[_q7e].update(_q71.PowerUpCategory.Taiku), this.powerNums[_q7e].visible = !0, this.iconCategories[_q7e].visible = !0, _q7e++), 0 < (_q7f = _q7b[_q71.PowerUpCategory.Soukou]) && (this.powerNums[_q7e].text = '+' ['concat'](_q7f), this.iconCategories[_q7e].update(_q71.PowerUpCategory.Soukou), this.powerNums[_q7e].visible = !0, this.iconCategories[_q7e].visible = !0, _q7e++); }, _q75.prototype.dispose = function() { var _q7g = null; this.removeChildren(); for (var _q7h = 0; _q7h < this.iconCategories.length; _q7h++) this.iconCategories[_q7h].dispose(), this.iconCategories[_q7h] = null; for (_q7h = 0; _q7h < this.powerNums.length; _q7h++) this.powerNums[_q7h].destroy(), this.powerNums[_q7h] = null; this.iconCategories = null, this.powerNums = null; }, _q75; }(PIXI.Container); _q6f.IconCategories = _q72; }, 69702: function(_q7i, _q7j, _q7k) { 'use strict'; var _q7l = null; var _q7m, _q7n = this && this.__extends || (_q7m = function(_q7o, _q7p) { var _q7q = null; return _q7m = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_q7r, _q7s) { var _q7t = null; _q7r.__proto__ = _q7s; } || function(_q7u, _q7v) { var _q7w = null; for (var _q7x in _q7v) Object.prototype.hasOwnProperty.call(_q7v, _q7x) && (_q7u[_q7x] = _q7v[_q7x]); }, _q7m(_q7o, _q7p); }, function(_q7y, _q7z) { var _q80 = null; if ('function' != typeof _q7z && null !== _q7z) throw new TypeError('Class extends value ' + String(_q7z) + ' is not a constructor or null'); function _q81() { var _q82 = null; this.constructor = _q7y; } _q7m(_q7y, _q7z), _q7y.prototype = null === _q7z ? Object.create(_q7z) : (_q81.prototype = _q7z.prototype, new _q81()); }); defineModule(_q7j); Object.defineProperty(_q7j, '__esModule', { 'value': !0 }), _q7j.SoukouBeforeAfterConfirm = _q7j.TaikuBeforeAfterConfirm = _q7j.RaisouBeforeAfterConfirm = _q7j.KaryokuBeforeAfterConfirm = void 0; var _q83 = _q7k(8744), _q84 = _q7k(31000), _q85 = function(_q86) { var _q87 = null; function _q88(_q89, _q8a) { var _q8b = null, _q8c = _q86.call(this) || this; return _q8c.textureNormalFrame = _q84.REMODEL_POWERUP.getTexture(_q89), _q8c.textureMaxFrame = _q84.REMODEL_POWERUP.getTexture(_q8a), _q8c.textBefore = new _q83.TextBox(30, 5523516), _q8c.textAfter = new _q83.TextBox(30, 5523516), _q8c.textMax = new PIXI.Sprite(_q84.REMODEL_POWERUP.getTexture(46)), _q8c.textBefore.anchor.x = 0, _q8c.textAfter.anchor.x = 0, _q8c.textMax.anchor.x = 0, _q8c.textMax.position.set(233 - Math.floor(_q8c.textMax.width / 2), 6), _q8c.textMax.visible = !1, _q8c.addChild(_q8c.textBefore, _q8c.textAfter, _q8c.textMax), _q8c; } return _q7n(_q88, _q86), _q88.prototype.update = function(_q8d, _q8e, _q8f) { var _q8g = null; this.textBefore.text = _q8d.toString(), this.textAfter.text = _q8e.toString(), this.textMax.visible = !1, _q8d == _q8e || _q8f ? this.textAfter.style.fill = 5523516 : (this.textAfter.style.fill = 1949120, this.textMax.visible = !0), this.texture = _q8f ? this.textureMaxFrame : this.textureNormalFrame, this.textBefore.position.set(108 + Math.floor(34.0125 - this.textBefore.width / 2), 14), this.textAfter.position.set(203 + Math.floor(31.5 - this.textAfter.width / 2), 14); }, _q88.prototype.dispose = function() { var _q8h = null; this.removeChildren(), this.textBefore.destroy(), this.textAfter.destroy(), this.textBefore = null, this.textBefore = null, this.textAfter = null, this.textureNormalFrame = null, this.textureMaxFrame = null; }, _q88; }(PIXI.Sprite), _q8i = function(_q8j) { function _q8k() { var _q8l = null; return _q8j.call(this, 35, 36) || this; } return _q7n(_q8k, _q8j), _q8k; }(_q85); _q7j.KaryokuBeforeAfterConfirm = _q8i; var _q8m = function(_q8n) { function _q8o() { var _q8p = null; return _q8n.call(this, 37, 38) || this; } return _q7n(_q8o, _q8n), _q8o; }(_q85); _q7j.RaisouBeforeAfterConfirm = _q8m; var _q8q = function(_q8r) { function _q8s() { var _q8t = null; return _q8r.call(this, 39, 40) || this; } return _q7n(_q8s, _q8r), _q8s; }(_q85); _q7j.TaikuBeforeAfterConfirm = _q8q; var _q8u = function(_q8v) { function _q8w() { var _q8x = null; return _q8v.call(this, 41, 42) || this; } return _q7n(_q8w, _q8v), _q8w; }(_q85); _q7j.SoukouBeforeAfterConfirm = _q8u; }, 61367: function(_q8y, _q8z, _q90) { 'use strict'; var _q91 = null; var _q92, _q93 = this && this.__extends || (_q92 = function(_q94, _q95) { var _q96 = null; return _q92 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_q97, _q98) { var _q99 = null; _q97.__proto__ = _q98; } || function(_q9a, _q9b) { var _q9c = null; for (var _q9d in _q9b) Object.prototype.hasOwnProperty.call(_q9b, _q9d) && (_q9a[_q9d] = _q9b[_q9d]); }, _q92(_q94, _q95); }, function(_q9e, _q9f) { var _q9g = null; if ('function' != typeof _q9f && null !== _q9f) throw new TypeError('Class extends value ' + String(_q9f) + ' is not a constructor or null'); function _q9h() { var _q9i = null; this.constructor = _q9e; } _q92(_q9e, _q9f), _q9e.prototype = null === _q9f ? Object.create(_q9f) : (_q9h.prototype = _q9f.prototype, new _q9h()); }); defineModule(_q8z); Object.defineProperty(_q8z, '__esModule', { 'value': !0 }), _q8z.PowerUpEdit = void 0; var _q9j = _q90(90054), _q9k = _q90(17205), _q9l = _q90(69702), _q9m = _q90(71787), _q9n = _q90(66088), _q9o = _q90(5436), _q9p = _q90(36078), _q9q = _q90(70245), _q9r = _q90(31000), _q9s = _q90(65390), _q9t = _q90(45670), _q9u = _q90(71633), _q9v = function(_q9w) { var _q9x = null; function _q9y() { var _q9z = null, _qa0 = _q9w.call(this) || this; _qa0.headerKindaika = new _q9m.PowerUpHeader(); var _qa1 = new PIXI.Sprite(_q9j.COMMON_MAIN.getTexture(13)); _qa1.interactive = !0, _qa0._containerShipFull = new PIXI.Container(); var _qa2 = new PIXI.Graphics(); return _qa0._shipFull = new PIXI.Sprite(), _qa0._containerShipFull.position.set(-1, -1), _qa0._containerShipFull.mask = _qa2, _qa0._containerShipFull.addChild(_qa0._shipFull), _qa0._containerShipFull.addChild(_qa2), _qa0._cancelButton = new _q9k.CancelButton(_q9r.REMODEL_POWERUP.getTexture(4), _q9r.REMODEL_POWERUP.getTexture(5)), _qa0._shipInfoBox = new _q9n.ShipInfoBox(), _qa0._karyokuBeforeAfterConfirm = new _q9l.KaryokuBeforeAfterConfirm(), _qa0._raisouBeforeAfterConfirm = new _q9l.RaisouBeforeAfterConfirm(), _qa0._soukouBeforeAfterConfirm = new _q9l.SoukouBeforeAfterConfirm(), _qa0._taikuBeforeAfterConfirm = new _q9l.TaikuBeforeAfterConfirm(), _qa0._shipParameterChecker = new _q9q.ShipParameterChecker(), _qa0._targetShipBox = new _q9p.TargetShipBox(), _qa0._startButtonSlotDest = new _q9o.StartButton(1), _qa0._startButtonSlotHokan = new _q9o.StartButton(0), _qa2.beginFill(0, 0), _qa2.moveTo(0, 30), _qa2.lineTo(30, 0), _qa2.lineTo(1050, 0), _qa2.lineTo(1050, 569), _qa2.lineTo(29, 569), _qa2.lineTo(0, 537), _qa2.lineTo(0, 30), _qa2.endFill(), _qa2.renderable = !1, _qa0._cancelButton.position.set(535, 501), _qa0._startButtonSlotDest.position.set(855, 491), _qa0._startButtonSlotHokan.position.set(687, 491), _qa0._targetShipBox.position.set(534, 11), _qa0._shipInfoBox.position.set(11, 334), _qa0.headerKindaika.position.set(0, -41), _qa0._shipParameterChecker.position.set(255, 343), _qa0.addChild(_qa1, _qa0._containerShipFull, _qa0._shipInfoBox, _qa0._cancelButton, _qa0._startButtonSlotDest, _qa0._startButtonSlotHokan, _qa0._karyokuBeforeAfterConfirm, _qa0._raisouBeforeAfterConfirm, _qa0._soukouBeforeAfterConfirm, _qa0._taikuBeforeAfterConfirm, _qa0._shipParameterChecker, _qa0.headerKindaika, _qa0._targetShipBox), _q9u.EventConst.HALLOWEEN && (_qa0._pumpkin = new _q9s.Pumpkin(), _qa0._pumpkin.position.set(386, 499), _qa0._pumpkin_bg = new PIXI.Sprite(_q9t.REMODEL_PUMPKIN.getTexture(0)), _qa0._pumpkin_bg.position.set(12, 16), _qa0.addChildAt(_qa0._pumpkin_bg, 1), _qa0.addChild(_qa0._pumpkin)), _qa0; } return _q93(_q9y, _q9w), Object.defineProperty(_q9y.prototype, 'shipFull', { 'get': function() { var _qa3 = null; return this._shipFull; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_q9y.prototype, 'containerShipFull', { 'get': function() { var _qa4 = null; return this._containerShipFull; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_q9y.prototype, 'shipInfoBox', { 'get': function() { var _qa5 = null; return this._shipInfoBox; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_q9y.prototype, 'karyokuBeforeAfterConfirm', { 'get': function() { var _qa6 = null; return this._karyokuBeforeAfterConfirm; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_q9y.prototype, 'raisouBeforeAfterConfirm', { 'get': function() { var _qa7 = null; return this._raisouBeforeAfterConfirm; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_q9y.prototype, 'soukouBeforeAfterConfirm', { 'get': function() { var _qa8 = null; return this._soukouBeforeAfterConfirm; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_q9y.prototype, 'taikuBeforeAfterConfirm', { 'get': function() { var _qa9 = null; return this._taikuBeforeAfterConfirm; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_q9y.prototype, 'shipParameterChecker', { 'get': function() { var _qaa = null; return this._shipParameterChecker; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_q9y.prototype, 'targetShipBox', { 'get': function() { var _qab = null; return this._targetShipBox; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_q9y.prototype, 'startButtonSlotDest', { 'get': function() { var _qac = null; return this._startButtonSlotDest; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_q9y.prototype, 'startButtonSlotHokan', { 'get': function() { var _qad = null; return this._startButtonSlotHokan; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_q9y.prototype, 'cancelButton', { 'get': function() { var _qae = null; return this._cancelButton; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_q9y.prototype, 'pumpkin', { 'get': function() { var _qaf = null; return this._pumpkin; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_q9y.prototype, 'pumpkin_bg', { 'get': function() { var _qag = null; return this._pumpkin_bg; }, 'enumerable': !1, 'configurable': !0 }), _q9y.prototype.SetPos_karyokuBeforeAfterConfirm = function(_qah) { var _qai = null; this._karyokuBeforeAfterConfirm.position.set(252, 26 - (_qah ? 3 : 0)); }, _q9y.prototype.SetPos_raisouBeforeAfterConfirm = function(_qaj) { var _qak = null; this._raisouBeforeAfterConfirm.position.set(252, 100 - (_qaj ? 3 : 0)); }, _q9y.prototype.SetPos_taikuBeforeAfterConfirm = function(_qal) { var _qam = null; this._taikuBeforeAfterConfirm.position.set(252, 170 - (_qal ? 3 : 0)); }, _q9y.prototype.SetPos_soukouBeforeAfterConfirm = function(_qan) { var _qao = null; this._soukouBeforeAfterConfirm.position.set(252, 242 - (_qan ? 3 : 0)); }, _q9y.prototype.dispose = function() { var _qap = null, _qaq, _qar; this.removeChildren(), this._containerShipFull.removeChildren(), this._containerShipFull.mask = null, this.headerKindaika.dispose(), this._shipInfoBox.dispose(), this._karyokuBeforeAfterConfirm.dispose(), this._raisouBeforeAfterConfirm.dispose(), this._soukouBeforeAfterConfirm.dispose(), this._taikuBeforeAfterConfirm.dispose(), this._shipParameterChecker.dispose(), this._targetShipBox.dispose(), this._startButtonSlotDest.dispose(), this._startButtonSlotHokan.dispose(), this._cancelButton.dispose(), null === (_qaq = this._pumpkin) || void 0 === _qaq || _qaq.destroy(), null === (_qar = this._pumpkin_bg) || void 0 === _qar || _qar.destroy(), this.headerKindaika = null, this._shipFull = null, this._containerShipFull = null, this._shipInfoBox = null, this._karyokuBeforeAfterConfirm = null, this._raisouBeforeAfterConfirm = null, this._soukouBeforeAfterConfirm = null, this._taikuBeforeAfterConfirm = null, this._shipParameterChecker = null, this._targetShipBox = null, this._startButtonSlotDest = null, this._startButtonSlotHokan = null, this._cancelButton = null, this._pumpkin = null, this._pumpkin_bg = null; }, _q9y; }(PIXI.Container); _q8z.PowerUpEdit = _q9v; }, 71787: function(_qas, _qat, _qau) { 'use strict'; var _qav = null; var _qaw, _qax = this && this.__extends || (_qaw = function(_qay, _qaz) { var _qb0 = null; return _qaw = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_qb1, _qb2) { var _qb3 = null; _qb1.__proto__ = _qb2; } || function(_qb4, _qb5) { var _qb6 = null; for (var _qb7 in _qb5) Object.prototype.hasOwnProperty.call(_qb5, _qb7) && (_qb4[_qb7] = _qb5[_qb7]); }, _qaw(_qay, _qaz); }, function(_qb8, _qb9) { var _qba = null; if ('function' != typeof _qb9 && null !== _qb9) throw new TypeError('Class extends value ' + String(_qb9) + ' is not a constructor or null'); function _qbb() { var _qbc = null; this.constructor = _qb8; } _qaw(_qb8, _qb9), _qb8.prototype = null === _qb9 ? Object.create(_qb9) : (_qbb.prototype = _qb9.prototype, new _qbb()); }); defineModule(_qat); Object.defineProperty(_qat, '__esModule', { 'value': !0 }), _qat.PowerUpHeader = void 0; var _qbd = _qau(31000), _qbe = _qau(31000), _qbf = _qau(57828), _qbg = function(_qbh) { var _qbi = null; function _qbj() { var _qbk = null, _qbl = _qbh.call(this) || this; return _qbl.headerKansenStatus = new _qbf.TitleBar(), _qbl.headerKansenStatus.initialize(_qbd.COMMON_MAIN.getTexture(2), 35), _qbl.headerSelectKyouka = new _qbf.TitleBar(), _qbl.headerSelectKyouka.initialize(_qbe.REMODEL_POWERUP.getTexture(3), 26), _qbl.headerSelectKyouka.position.set(536, 0), _qbl.headerKyoukaList = new _qbf.TitleBar(), _qbl.headerKyoukaList.initialize(_qbe.REMODEL_POWERUP.getTexture(2), 26), _qbl.headerKyoukaList.position.set(806, 0), _qbl.addChild(_qbl.headerKansenStatus, _qbl.headerSelectKyouka, _qbl.headerKyoukaList), _qbl; } return _qax(_qbj, _qbh), _qbj.prototype.dispose = function() { var _qbm = null; this.removeChildren(), this.headerKansenStatus.dispose(), this.headerKyoukaList.dispose(), this.headerSelectKyouka.dispose(), this.headerKansenStatus = null, this.headerKyoukaList = null, this.headerSelectKyouka = null; }, _qbj; }(PIXI.Container); _qat.PowerUpHeader = _qbg; }, 86872: function(_qbn, _qbo, _qbp) { 'use strict'; var _qbq = null; var _qbr, _qbs = this && this.__extends || (_qbr = function(_qbt, _qbu) { var _qbv = null; return _qbr = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_qbw, _qbx) { var _qby = null; _qbw.__proto__ = _qbx; } || function(_qbz, _qc0) { var _qc1 = null; for (var _qc2 in _qc0) Object.prototype.hasOwnProperty.call(_qc0, _qc2) && (_qbz[_qc2] = _qc0[_qc2]); }, _qbr(_qbt, _qbu); }, function(_qc3, _qc4) { var _qc5 = null; if ('function' != typeof _qc4 && null !== _qc4) throw new TypeError('Class extends value ' + String(_qc4) + ' is not a constructor or null'); function _qc6() { var _qc7 = null; this.constructor = _qc3; } _qbr(_qc3, _qc4), _qc3.prototype = null === _qc4 ? Object.create(_qc4) : (_qc6.prototype = _qc4.prototype, new _qc6()); }), _qc8 = this && this.__createBinding || (Object.create ? function(_qc9, _qca, _qcb, _qcc) { var _qcd = null; void 0 === _qcc && (_qcc = _qcb); var _qce = Object.getOwnPropertyDescriptor(_qca, _qcb); _qce && !('get' in _qce ? !_qca.__esModule : _qce.writable || _qce.configurable) || (_qce = { 'enumerable': !0, 'get': function() { return _qca[_qcb]; } }), Object.defineProperty(_qc9, _qcc, _qce); } : function(_qcf, _qcg, _qch, _qci) { void 0 === _qci && (_qci = _qch), _qcf[_qci] = _qcg[_qch]; }), _qcj = this && this.__setModuleDefault || (Object.create ? function(_qck, _qcl) { var _qcm = null; Object.defineProperty(_qck, 'default', { 'enumerable': !0, 'value': _qcl }); } : function(_qcn, _qco) { var _qcp = null; _qcn.default = _qco; }), _qcq = this && this.__importStar || function(_qcr) { var _qcs = null; if (_qcr && _qcr.__esModule) return _qcr; var _qct = {}; if (null != _qcr) { for (var _qcu in _qcr) 'default' !== _qcu && Object.prototype.hasOwnProperty.call(_qcr, _qcu) && _qc8(_qct, _qcr, _qcu); } return _qcj(_qct, _qcr), _qct; }, _qcv = this && this.__importDefault || function(_qcw) { var _qcx = null; return _qcw && _qcw.__esModule ? _qcw : { 'default': _qcw }; }; defineModule(_qbo); Object.defineProperty(_qbo, '__esModule', { 'value': !0 }), _qbo.PowerUpStartConfirm = void 0; var _qcy = _qcq(_qbp(31000)), _qcz = _qcv(_qbp(18622)), _qd0 = _qbp(8744), _qd1 = _qbp(37638), _qd2 = _qbp(61154), _qd3 = _qbp(31000), _qd4 = _qbp(61798), _qd5 = _qbp(35380), _qd6 = function(_qd7) { var _qd8 = null; function _qd9() { var _qda = null, _qdb = _qd7.call(this) || this; _qdb._onClickYES = function() { var _qdc = null; _qdb.onClickYES(); }, _qdb._onClickNO = function() { var _qdd = null; _qdb.onClickNO(); }; var _qde = new PIXI.Sprite(_qcy.COMMON_MAIN.getTexture(66)); _qdb.btn_no = new PIXI.Sprite(_qd3.REMODEL_GRADEUP.getTexture(3)), _qdb.btn_yes = new PIXI.Sprite(_qd3.REMODEL_GRADEUP.getTexture(8)); var _qdf = new PIXI.Sprite(_qd3.REMODEL_POWERUP.getTexture(0)); _qdb.shipBanner = new _qd1.ShipBanner(), _qdb.label1 = new _qd0.TextBox(19, 1949120), _qdb.label2 = new _qd0.TextBox(19, 1949120), _qdb.label3 = new _qd0.TextBox(19, 1949120), _qdb.containerName = new PIXI.Container(), _qdb.containerNames = new PIXI.Container(); var _qdg = new PIXI.Sprite(_qcz.default.resources.getUIImage('mask')), _qdh = new PIXI.Sprite(_qcz.default.resources.getUIImage('mask')); return _qdg.scale.set(-2.8, 3.5), _qdg.anchor.x = 1, _qdh.scale.set(-2.8, 3.5), _qdh.anchor.x = 1, _qdb.textName = new _qd0.TextBox(19, 16777215), _qdb.textNames = new _qd0.TextBox(19, 16777215), _qdb.iconCategories = new _qd4.IconCategories(), _qdb.label1.text = '強化する艦船', _qdb.label2.text = '合成素材の艦船', _qdb.label3.text = '強化項目', _qdb.label1.position.set(414, 201), _qdb.label2.position.set(414, 309), _qdb.label3.position.set(414, 483), _qdb.containerName.addChild(_qdb.textName, _qdg), _qdb.containerName.mask = _qdg, _qdb.containerName.position.set(617, 201), _qdb.containerNames.addChild(_qdb.textNames, _qdh), _qdb.containerNames.mask = _qdh, _qdb.containerNames.position.set(617, 309), _qdb.iconCategories.position.set(617, 473), _qdb.shipBanner.position.set(623, 234), _qde.position.set(86, 60), _qdf.position.set(516, 20), _qdb.btn_no.position.set(377, 588), _qdb.btn_yes.position.set(639, 588), _qdb.btn_yes.interactive = _qdb.btn_yes.buttonMode = !0, _qdb.btn_no.interactive = _qdb.btn_no.buttonMode = !0, _qdb.btn_yes.on(_qd5.EventType.CLICK, _qdb._onClickYES), _qdb.btn_no.on(_qd5.EventType.CLICK, _qdb._onClickNO), _qdb.addChild(_qde, _qdf, _qdb.btn_no, _qdb.btn_yes, _qdb.shipBanner, _qdb.label1, _qdb.label2, _qdb.label3, _qdb.containerName, _qdb.containerNames, _qdb.iconCategories), _qdb; } return _qbs(_qd9, _qd7), _qd9.prototype.dispose = function() { var _qdi = null; this.removeChildren(), this.containerName.removeChildren(), this.containerNames.removeChildren(), this.containerName.mask = null, this.containerNames.mask = null, this.shipBanner.dispose(), this.iconCategories.dispose(), this.btn_yes.off(_qd5.EventType.CLICK), this.btn_no.off(_qd5.EventType.CLICK), this.textName.destroy(), this.textNames.destroy(), this.label1.destroy(), this.label2.destroy(), this.label3.destroy(), this.onClickYES = null, this.onClickNO = null, this.iconCategories = null, this.textName = null, this.textNames = null, this.shipBanner = null, this.btn_yes = null, this.btn_no = null, this.containerName = null, this.containerNames = null; }, _qd9.prototype.update = function(_qdj, _qdk, _qdl) { var _qdm = null; for (var _qdn = '', _qdo = 0; _qdo < _qdk.length; _qdo++) { var _qdp = _qdk[_qdo]; _qdp.mstID, _qdn += '' ['concat'](_qdp.shipTypeName, '\x20「').concat(_qdp.name, '」\x0a'); } var _qdq = {}; _qdq[_qd2.PowerUpCategory.Karyoku] = _qdl.karyoku, _qdq[_qd2.PowerUpCategory.Raisou] = _qdl.raiso, _qdq[_qd2.PowerUpCategory.Taiku] = _qdl.taiku, _qdq[_qd2.PowerUpCategory.Soukou] = _qdl.souko, this.iconCategories.update(_qdq), this.textNames.text = _qdn, this.textName.text = '' ['concat'](_qdj.shipTypeName, '\x20「').concat(_qdj.name, '」'), this.shipBanner.update(_qdj, !1); }, _qd9; }(PIXI.Container); _qbo.PowerUpStartConfirm = _qd6; }, 65390: function(_qdr, _qds, _qdt) { 'use strict'; var _qdu = null; var _qdv, _qdw = this && this.__extends || (_qdv = function(_qdx, _qdy) { var _qdz = null; return _qdv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_qe0, _qe1) { var _qe2 = null; _qe0.__proto__ = _qe1; } || function(_qe3, _qe4) { var _qe5 = null; for (var _qe6 in _qe4) Object.prototype.hasOwnProperty.call(_qe4, _qe6) && (_qe3[_qe6] = _qe4[_qe6]); }, _qdv(_qdx, _qdy); }, function(_qe7, _qe8) { var _qe9 = null; if ('function' != typeof _qe8 && null !== _qe8) throw new TypeError('Class extends value ' + String(_qe8) + ' is not a constructor or null'); function _qea() { var _qeb = null; this.constructor = _qe7; } _qdv(_qe7, _qe8), _qe7.prototype = null === _qe8 ? Object.create(_qe8) : (_qea.prototype = _qe8.prototype, new _qea()); }); defineModule(_qds); Object.defineProperty(_qds, '__esModule', { 'value': !0 }), _qds.Pumpkin = void 0; var _qec = _qdt(35380), _qed = _qdt(45670), _qee = function(_qef) { var _qeg = null; function _qeh() { var _qei = null, _qej = _qef.call(this) || this; return _qej._onClick = function() { var _qek = null; _qej._state = !_qej._state, 1 == _qej._state ? _qej.texture = _qed.REMODEL_PUMPKIN.getTexture(3) : _qej.texture = _qed.REMODEL_PUMPKIN.getTexture(4), null != _qej.onClick && _qej.onClick(_qej._state); }, _qej._onMouseover = function() { var _qel = null; _qej.texture = _qed.REMODEL_PUMPKIN.getTexture(2); }, _qej._onMouseOut = function() { var _qem = null; _qej._state ? _qej.texture = _qed.REMODEL_PUMPKIN.getTexture(3) : _qej.texture = _qed.REMODEL_PUMPKIN.getTexture(4); }, _qej.texture = _qed.REMODEL_PUMPKIN.getTexture(1), _qej._state = !1, _qej.on(_qec.EventType.CLICK, _qej._onClick), _qej.on(_qec.EventType.MOUSEOVER, _qej._onMouseover), _qej.on(_qec.EventType.MOUSEOUT, _qej._onMouseOut), _qej; } return _qdw(_qeh, _qef), Object.defineProperty(_qeh.prototype, 'state', { 'set': function(_qen) { var _qeo = null; this._state = _qen; }, 'enumerable': !1, 'configurable': !0 }), _qeh.prototype.activate = function() { var _qep = null; this.interactive = this.buttonMode = !0, 1 == this._state ? this.texture = _qed.REMODEL_PUMPKIN.getTexture(3) : this.texture = _qed.REMODEL_PUMPKIN.getTexture(4); }, _qeh.prototype.deactivate = function() { var _qeq = null; this.interactive = this.buttonMode = !1, this.texture = _qed.REMODEL_PUMPKIN.getTexture(1), this._state = !1; }, _qeh; }(PIXI.Sprite); _qds.Pumpkin = _qee; }, 66088: function(_qer, _qes, _qet) { 'use strict'; var _qeu = null; var _qev, _qew = this && this.__extends || (_qev = function(_qex, _qey) { var _qez = null; return _qev = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_qf0, _qf1) { var _qf2 = null; _qf0.__proto__ = _qf1; } || function(_qf3, _qf4) { var _qf5 = null; for (var _qf6 in _qf4) Object.prototype.hasOwnProperty.call(_qf4, _qf6) && (_qf3[_qf6] = _qf4[_qf6]); }, _qev(_qex, _qey); }, function(_qf7, _qf8) { var _qf9 = null; if ('function' != typeof _qf8 && null !== _qf8) throw new TypeError('Class extends value ' + String(_qf8) + ' is not a constructor or null'); function _qfa() { var _qfb = null; this.constructor = _qf7; } _qev(_qf7, _qf8), _qf7.prototype = null === _qf8 ? Object.create(_qf8) : (_qfa.prototype = _qf8.prototype, new _qfa()); }); defineModule(_qes); Object.defineProperty(_qes, '__esModule', { 'value': !0 }), _qes.ShipInfoBox = void 0; var _qfc = _qet(8744), _qfd = _qet(34654), _qfe = _qet(11363), _qff = _qet(14921), _qfg = function(_qfh) { var _qfi = null; function _qfj() { var _qfk = null, _qfl = _qfh.call(this) || this, _qfm = new PIXI.Sprite(_qfd.REMODEL_POWERUP.getTexture(21)); _qfl.textType = new _qfc.TextBox(21, 16777215), _qfl.textName = new _qfc.TextBox(36, 16777215), _qfl.textLevel = new _qfc.TextBox(65, 16777215), _qfl.starRate = new _qfe.StarRate(); var _qfn = _qff.CreateRect.gradientLeftToRight(220, 50, 0.65, 0.9); return _qfl.containerName = new PIXI.Container(), _qfl.containerName.mask = _qfn, _qfl.containerName.addChild(_qfl.textName, _qfn), _qfl.textType.position.set(18, 8), _qfl.containerName.position.set(18, 36), _qfl.textLevel.position.set(230, 89), _qfl.starRate.position.set(15, 165), _qfl.textLevel.anchor.x = 1, _qfl.addChild(_qfm, _qfl.textType, _qfl.containerName, _qfl.textLevel, _qfl.starRate), _qfl; } return _qew(_qfj, _qfh), _qfj.prototype.update = function(_qfo, _qfp, _qfq, _qfr) { var _qfs = null; this.textType.text = _qfo, this.textName.text = _qfp, this.textLevel.text = '' ['concat'](_qfq), this.starRate.update(_qfr); }, _qfj.prototype.dispose = function() { var _qft = null; this.removeChildren(), this.containerName.mask = null, this.containerName.removeChildren(), this.starRate.dispose(), this.textType.destroy(), this.textName.destroy(), this.textLevel.destroy(), this.textType = null, this.textName = null, this.textLevel = null, this.starRate = null, this.containerName = null; }, _qfj; }(PIXI.Container); _qes.ShipInfoBox = _qfg; }, 11363: function(_qfu, _qfv, _qfw) { 'use strict'; var _qfx = null; var _qfy, _qfz = this && this.__extends || (_qfy = function(_qg0, _qg1) { var _qg2 = null; return _qfy = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_qg3, _qg4) { var _qg5 = null; _qg3.__proto__ = _qg4; } || function(_qg6, _qg7) { var _qg8 = null; for (var _qg9 in _qg7) Object.prototype.hasOwnProperty.call(_qg7, _qg9) && (_qg6[_qg9] = _qg7[_qg9]); }, _qfy(_qg0, _qg1); }, function(_qga, _qgb) { var _qgc = null; if ('function' != typeof _qgb && null !== _qgb) throw new TypeError('Class extends value ' + String(_qgb) + ' is not a constructor or null'); function _qgd() { var _qge = null; this.constructor = _qga; } _qfy(_qga, _qgb), _qga.prototype = null === _qgb ? Object.create(_qgb) : (_qgd.prototype = _qgb.prototype, new _qgd()); }); defineModule(_qfv); Object.defineProperty(_qfv, '__esModule', { 'value': !0 }), _qfv.StarRate = void 0; var _qgf = _qfw(31000), _qgg = function(_qgh) { var _qgi = null; function _qgj() { var _qgk = null, _qgl = _qgh.call(this) || this; _qgl.MAX = 5, _qgl.stars = new Array(); for (var _qgm = _qgf.REMODEL_POWERUP.getTexture(34), _qgn = 0; _qgn < _qgl.MAX; _qgn++) { var _qgo = new PIXI.Sprite(_qgm); _qgo.position.set(45 * _qgn, 0), _qgl.stars.push(_qgo), _qgl.addChild(_qgo); } return _qgl; } return _qfz(_qgj, _qgh), _qgj.prototype.update = function(_qgp) { var _qgq = null; for (var _qgr = 0; _qgr < this.MAX; _qgr++) this.stars[_qgr].visible = !1, _qgr < _qgp && (this.stars[_qgr].visible = !0); }, _qgj.prototype.dispose = function() { var _qgs = null; for (var _qgt = 0; _qgt < this.MAX; _qgt++) this.removeChild(this.stars[_qgt]), this.stars[_qgt] = null; this.stars = null, this.removeChildren(); }, _qgj; }(PIXI.Container); _qfv.StarRate = _qgg; }, 5436: function(_qgu, _qgv, _qgw) { 'use strict'; var _qgx = null; var _qgy, _qgz = this && this.__extends || (_qgy = function(_qh0, _qh1) { var _qh2 = null; return _qgy = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_qh3, _qh4) { var _qh5 = null; _qh3.__proto__ = _qh4; } || function(_qh6, _qh7) { var _qh8 = null; for (var _qh9 in _qh7) Object.prototype.hasOwnProperty.call(_qh7, _qh9) && (_qh6[_qh9] = _qh7[_qh9]); }, _qgy(_qh0, _qh1); }, function(_qha, _qhb) { var _qhc = null; if ('function' != typeof _qhb && null !== _qhb) throw new TypeError('Class extends value ' + String(_qhb) + ' is not a constructor or null'); function _qhd() { var _qhe = null; this.constructor = _qha; } _qgy(_qha, _qhb), _qha.prototype = null === _qhb ? Object.create(_qhb) : (_qhd.prototype = _qhb.prototype, new _qhd()); }); defineModule(_qgv); Object.defineProperty(_qgv, '__esModule', { 'value': !0 }), _qgv.StartButton = void 0; var _qhf = _qgw(31000), _qhg = _qgw(35380), _qhh = function(_qhi) { var _qhj = null; function _qhk(_qhl) { var _qhm = null, _qhn = _qhi.call(this) || this; return _qhn._onMouseOver = function() { var _qho = null; _qhn.texture = _qhn.textureBtnStartIntensifyOn; }, _qhn._onMouseOut = function() { var _qhp = null; _qhn.texture = _qhn.textureBtnStartIntensifyOff; }, _qhn._onClick = function() { var _qhq = null; _qhn.onClick(_qhn._type); }, _qhn._type = _qhl, 1 == _qhl ? (_qhn.textureBtnStartIntensifyNone = _qhf.REMODEL_POWERUP.getTexture(11), _qhn.textureBtnStartIntensifyOn = _qhf.REMODEL_POWERUP.getTexture(13), _qhn.textureBtnStartIntensifyOff = _qhf.REMODEL_POWERUP.getTexture(12)) : (_qhn.textureBtnStartIntensifyNone = _qhf.REMODEL_POWERUP.getTexture(8), _qhn.textureBtnStartIntensifyOn = _qhf.REMODEL_POWERUP.getTexture(10), _qhn.textureBtnStartIntensifyOff = _qhf.REMODEL_POWERUP.getTexture(9)), _qhn.texture = _qhn.textureBtnStartIntensifyNone, _qhn.on(_qhg.EventType.MOUSEOVER, _qhn._onMouseOver), _qhn.on(_qhg.EventType.MOUSEOUT, _qhn._onMouseOut), _qhn.on(_qhg.EventType.CLICK, _qhn._onClick), _qhn; } return _qgz(_qhk, _qhi), _qhk.prototype.update = function(_qhr) { var _qhs = null; this._updateClickable_(_qhr); }, _qhk.prototype._updateClickable_ = function(_qht) { var _qhu = null; this.texture = this.textureBtnStartIntensifyNone, this.interactive = this.buttonMode = !1, _qht && (this.texture = this.textureBtnStartIntensifyOff, this.interactive = this.buttonMode = !0); }, _qhk.prototype.dispose = function() { var _qhv = null; this.off(_qhg.EventType.MOUSEOVER), this.off(_qhg.EventType.MOUSEOUT), this.off(_qhg.EventType.CLICK), this.textureBtnStartIntensifyNone = null, this.textureBtnStartIntensifyOn = null, this.textureBtnStartIntensifyOff = null, this.onClick = null, this.interactive = this.buttonMode = !1, this.removeChildren(); }, _qhk; }(PIXI.Sprite); _qgv.StartButton = _qhh; }, 36078: function(_qhw, _qhx, _qhy) { 'use strict'; var _qhz = null; var _qi0, _qi1 = this && this.__extends || (_qi0 = function(_qi2, _qi3) { var _qi4 = null; return _qi0 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_qi5, _qi6) { var _qi7 = null; _qi5.__proto__ = _qi6; } || function(_qi8, _qi9) { var _qia = null; for (var _qib in _qi9) Object.prototype.hasOwnProperty.call(_qi9, _qib) && (_qi8[_qib] = _qi9[_qib]); }, _qi0(_qi2, _qi3); }, function(_qic, _qid) { var _qie = null; if ('function' != typeof _qid && null !== _qid) throw new TypeError('Class extends value ' + String(_qid) + ' is not a constructor or null'); function _qif() { var _qig = null; this.constructor = _qic; } _qi0(_qic, _qid), _qic.prototype = null === _qid ? Object.create(_qid) : (_qif.prototype = _qid.prototype, new _qif()); }), _qih = this && this.__importDefault || function(_qii) { var _qij = null; return _qii && _qii.__esModule ? _qii : { 'default': _qii }; }; defineModule(_qhx); Object.defineProperty(_qhx, '__esModule', { 'value': !0 }), _qhx.TargetShipBox = void 0; var _qik = _qih(_qhy(18622)), _qil = _qhy(38834), _qim = _qhy(31000), _qin = _qhy(37638), _qio = _qhy(77473), _qip = _qhy(8744), _qiq = _qhy(61154), _qir = _qhy(35380), _qis = function(_qit) { var _qiu = null; function _qiv() { var _qiw = null, _qix = _qit.call(this) || this; _qix._onClickEmpty = function(_qiy) { var _qiz = null; _qix.onClickEmpty(_qiy); }, _qix._onClickSlotIn = function(_qj0) { var _qj1 = null; _qix.onClickSlotIn(_qj0); }; var _qj2 = new PIXI.Sprite(_qim.REMODEL_POWERUP.getTexture(20)); _qix.addChild(_qj2), _qix.emptySlots = new Array(); for (var _qj3 = 0; _qj3 < 5; _qj3++) { var _qj4 = new _qj5(_qj3); _qj4.onClick = _qix._onClickEmpty, _qj4.visible = !1, _qix.emptySlots.push(_qj4), _qix.emptySlots[_qj3].position.set(23, 26 + 90 * _qj3), _qix.addChild(_qj4); } _qix.shipInSlots = new Array(); for (_qj3 = 0; _qj3 < 5; _qj3++) { var _qj6 = new _qj7(_qj3); _qj6.onClick = _qix._onClickSlotIn, _qj6.visible = !1, _qj6.position.set(23, 26 + 90 * _qj3), _qix.shipInSlots.push(_qj6), _qix.addChild(_qj6); } return _qix; } return _qi1(_qiv, _qit), _qiv.prototype.update = function(_qj8) { var _qj9 = null; for (var _qja = 0; _qja < 5; _qja++) { var _qjb = this.shipInSlots[_qja], _qjc = this.emptySlots[_qja]; if (_qjb.visible = !1, _qjc.visible = !1, _qja < _qj8.length) { var _qjd = _qj8[_qja], _qje = _qik.default.model.ship.getMst(_qjd.mstID), _qjf = _qil.RemodelUtil.genPowUpCategories(_qje); this.shipInSlots[_qja].update(_qjd, _qjf[0], _qjf[1], _qjf[2], _qjf[3]), this.shipInSlots[_qja].visible = !0; } else this.emptySlots[_qja].visible = !0, this.emptySlots[_qja].update(!1), _qj8.length == _qja && this.emptySlots[_qja].update(!0); } }, _qiv.prototype.dispose = function() { var _qjg = null; this.removeChildren(); for (var _qjh = 0; _qjh < this.emptySlots.length; _qjh++) this.emptySlots[_qjh].dispose(), this.emptySlots[_qjh] = null; for (_qjh = 0; _qjh < this.shipInSlots.length; _qjh++) this.shipInSlots[_qjh].dispose(), this.shipInSlots[_qjh] = null; this.onClickEmpty = null, this.onClickSlotIn = null, this.emptySlots = null, this.shipInSlots = null; }, _qiv; }(PIXI.Container); _qhx.TargetShipBox = _qis; var _qj5 = function(_qji) { var _qjj = null; function _qjk(_qjl) { var _qjm = null, _qjn = _qji.call(this) || this; return _qjn._onClick = function() { var _qjo = null; _qjn.onClick(_qjn.index); }, _qjn.index = _qjl, _qjn.btnCardSelect = new PIXI.Sprite(_qim.REMODEL_POWERUP.getTexture(7)), _qjn.btnCardSelect.on(_qir.EventType.CLICK, _qjn._onClick), _qjn.btnCardSelect.position.set(-6, -6), _qjn.btnCardSelect.visible = !1, _qjn.btnCardSelect.interactive = _qjn.btnCardSelect.buttonMode = !0, _qjn.addChild(_qjn.btnCardSelect), _qjn; } return _qi1(_qjk, _qji), _qjk.prototype.update = function(_qjp) { var _qjq = null; this._updateClickable_(_qjp); }, _qjk.prototype._updateClickable_ = function(_qjr) { var _qjs = null; this.btnCardSelect.visible = !1, _qjr && (this.btnCardSelect.visible = !0); }, _qjk.prototype.dispose = function() { var _qjt = null; this.btnCardSelect.off(_qir.EventType.CLICK), this.onClick = null, this.btnCardSelect = null, this.index = null, this.removeChildren(); }, _qjk; }(PIXI.Container), _qj7 = function(_qju) { var _qjv = null; function _qjw(_qjx) { var _qjy = null, _qjz = _qju.call(this) || this; _qjz._onClick = function() { var _qk0 = null; _qjz.onClick(_qjz.index, _qjz.memId); }, _qjz._onMouseOver = function() { var _qk1 = null; _qjz.btnCardLeave.visible = !0; }, _qjz._onMouseOut = function() { var _qk2 = null; _qjz.btnCardLeave.visible = !1; }, _qjz.index = _qjx, _qjz.iconCategories = new Array(), _qjz.btnCardLeave = new PIXI.Sprite(_qim.REMODEL_POWERUP.getTexture(6)), _qjz.shipBanner = new _qin.ShipBanner(), _qjz.clickArea = new PIXI.Graphics(), _qjz.iconCategoriesContainer = new PIXI.Container(); var _qk3 = new _qio.IconCategory(), _qk4 = new _qio.IconCategory(), _qk5 = new _qio.IconCategory(), _qk6 = new _qio.IconCategory(); _qjz.textName = new _qip.TextBox(21, 16777215), _qjz.textLevel = new _qip.TextBox(23, 16777215); var _qk7 = new PIXI.Sprite(_qik.default.resources.getUIImage('mask')); return _qjz.clickArea.beginFill(0, 0), _qjz.clickArea.drawRect(0, 0, 240, 60), _qjz.clickArea.endFill(), _qjz.clickArea.renderable = !1, _qjz.clickArea.interactive = _qjz.clickArea.buttonMode = !0, _qjz.containerName = new PIXI.Container(), _qjz.containerName.mask = _qk7, _qjz.containerName.addChild(_qjz.textName, _qk7), _qk7.scale.x = -1, _qk7.anchor.x = 1, _qjz.textLevel.anchor.x = 1, _qjz.containerName.position.set(248, -6), _qjz.textLevel.position.set(443, -2), _qjz.iconCategoriesContainer.position.set(254, 27), _qk3.x = 0, _qk4.x = 48, _qk5.x = 96, _qk6.x = 144, _qjz.btnCardLeave.position.set(-6, -6), _qjz.clickArea.on(_qir.EventType.MOUSEOVER, _qjz._onMouseOver), _qjz.clickArea.on(_qir.EventType.MOUSEOUT, _qjz._onMouseOut), _qjz.clickArea.on(_qir.EventType.CLICK, _qjz._onClick), _qjz.iconCategoriesContainer.addChild(_qk3, _qk4, _qk5, _qk6), _qjz.iconCategories.push(_qk3, _qk4, _qk5, _qk6), _qjz.btnCardLeave.visible = !1, _qjz.addChild(_qjz.iconCategoriesContainer, _qjz.containerName, _qjz.textLevel, _qjz.shipBanner, _qjz.btnCardLeave, _qjz.clickArea), _qjz; } return _qi1(_qjw, _qju), _qjw.prototype.update = function(_qk8, _qk9, _qka, _qkb, _qkc) { var _qkd = null; this.memId = _qk8.memID, this.shipBanner.update(_qk8, !1), this.iconCategories[0].visible = !1, _qk9 != _qiq.PowerUpCategory.EMPTY && (this.iconCategories[0].visible = !0, this.iconCategories[0].update(_qk9)), this.iconCategories[1].visible = !1, _qka != _qiq.PowerUpCategory.EMPTY && (this.iconCategories[1].visible = !0, this.iconCategories[1].update(_qka)), this.iconCategories[2].visible = !1, _qkb != _qiq.PowerUpCategory.EMPTY && (this.iconCategories[2].visible = !0, this.iconCategories[2].update(_qkb)), this.iconCategories[3].visible = !1, _qkc != _qiq.PowerUpCategory.EMPTY && (this.iconCategories[3].visible = !0, this.iconCategories[3].update(_qkc)), this.btnCardLeave.visible = !1, this.textLevel.text = 'Lv.'['concat'](_qk8.level), this.textName.text = _qk8.name; }, _qjw.prototype.dispose = function() { var _qke = null; this.removeChildren(), this.iconCategoriesContainer.removeChildren(), this.containerName.mask = null, this.containerName.removeChildren(), this.shipBanner.dispose(), this.textName.destroy(), this.textLevel.destroy(); for (var _qkf = 0; _qkf < this.iconCategories.length; _qkf++) this.iconCategories[_qkf].dispose(), this.iconCategories[_qkf] = null; this.clickArea.off(_qir.EventType.MOUSEOVER), this.clickArea.off(_qir.EventType.MOUSEOUT), this.clickArea.off(_qir.EventType.CLICK), this.clickArea.clear(), this.onClick = null, this.clickArea = null, this.btnCardLeave = null, this.shipBanner = null, this.iconCategories = null, this.iconCategoriesContainer = null, this.textName = null, this.textLevel = null, this.index = null, this.containerName = null; }, _qjw; }(PIXI.Container); }, 60282: function(_qkg, _qkh, _qki) { 'use strict'; var _qkj = null; var _qkk, _qkl = this && this.__extends || (_qkk = function(_qkm, _qkn) { var _qko = null; return _qkk = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_qkp, _qkq) { var _qkr = null; _qkp.__proto__ = _qkq; } || function(_qks, _qkt) { var _qku = null; for (var _qkv in _qkt) Object.prototype.hasOwnProperty.call(_qkt, _qkv) && (_qks[_qkv] = _qkt[_qkv]); }, _qkk(_qkm, _qkn); }, function(_qkw, _qkx) { var _qky = null; if ('function' != typeof _qkx && null !== _qkx) throw new TypeError('Class extends value ' + String(_qkx) + ' is not a constructor or null'); function _qkz() { var _ql0 = null; this.constructor = _qkw; } _qkk(_qkw, _qkx), _qkw.prototype = null === _qkx ? Object.create(_qkx) : (_qkz.prototype = _qkx.prototype, new _qkz()); }); defineModule(_qkh); Object.defineProperty(_qkh, '__esModule', { 'value': !0 }), _qkh.ExtensionPresetConfirm = void 0; var _ql1 = _qki(43182), _ql2 = _qki(8744), _ql3 = _qki(97297), _ql4 = _qki(35380), _ql5 = function(_ql6) { var _ql7 = null; function _ql8(_ql9, _qla) { var _qlb = null, _qlc = _ql6.call(this) || this; _qlc._onClickYes = function() { var _qld = null; _qlc.onClickYES(); }, _qlc._onClickNo = function() { var _qle = null; _qlc.onClickNO(); }, _qlc.onClickYES = _ql9, _qlc.onClickNO = _qla, _qlc.text = new _ql2.TextBox(24, 5523516); var _qlf = _ql3.REMODEL_PRESET.getTexture(28), _qlg = _ql3.REMODEL_PRESET.getTexture(20), _qlh = _ql3.REMODEL_PRESET.getTexture(11); return _qlc.message = new PIXI.Sprite(_qlf), _qlc.buttonYes = new _ql1.SimpleButton(_qlg, _qlg), _qlc.buttonYes.addListener(_ql4.EventType.CLICK, _qlc._onClickYes), _qlc.buttonNo = new _ql1.SimpleButton(_qlh, _qlh), _qlc.buttonNo.addListener(_ql4.EventType.CLICK, _qlc._onClickNo), _qlc.text.position.set(Math.floor(435 - 0.5 * _qlc.text.width), Math.floor(138 - 0.5 * _qlc.text.height)), _qlc.buttonYes.position.set(171, 213), _qlc.buttonNo.position.set(385, 213), _qlc.buttonYes.onClick = _qlc._onClickYes, _qlc.buttonNo.onClick = _qlc._onClickNo, _qlc.addChild(_qlc.message, _qlc.text, _qlc.buttonYes, _qlc.buttonNo), _qlc; } return _qkl(_ql8, _ql6), _ql8.prototype.update = function(_qli) { var _qlj = null; this.text.text = _qli + ' → ' + (_qli - 1); }, _ql8.prototype.dispose = function() { var _qlk = null; this.removeChildren(), this.buttonYes.dispose(), this.buttonNo.dispose(), this.text.destroy(), this.onClickYES = null, this.onClickNO = null, this.message = null, this.buttonYes = null, this.buttonNo = null, this.text = null; }, _ql8; }(PIXI.Container); _qkh.ExtensionPresetConfirm = _ql5; }, 57722: function(_qll, _qlm, _qln) { 'use strict'; var _qlo = null; var _qlp, _qlq = this && this.__extends || (_qlp = function(_qlr, _qls) { var _qlt = null; return _qlp = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_qlu, _qlv) { var _qlw = null; _qlu.__proto__ = _qlv; } || function(_qlx, _qly) { var _qlz = null; for (var _qm0 in _qly) Object.prototype.hasOwnProperty.call(_qly, _qm0) && (_qlx[_qm0] = _qly[_qm0]); }, _qlp(_qlr, _qls); }, function(_qm1, _qm2) { var _qm3 = null; if ('function' != typeof _qm2 && null !== _qm2) throw new TypeError('Class extends value ' + String(_qm2) + ' is not a constructor or null'); function _qm4() { var _qm5 = null; this.constructor = _qm1; } _qlp(_qm1, _qm2), _qm1.prototype = null === _qm2 ? Object.create(_qm2) : (_qm4.prototype = _qm2.prototype, new _qm4()); }); defineModule(_qlm); Object.defineProperty(_qlm, '__esModule', { 'value': !0 }), _qlm.PresetDeployItem = void 0; var _qm6 = _qln(35380), _qm7 = _qln(8744), _qm8 = _qln(97297), _qm9 = _qln(20824), _qma = _qln(93211), _qmb = _qln(90996), _qmc = _qln(25188), _qmd = _qln(16934), _qme = function(_qmf) { var _qmg = null; function _qmh(_qmi, _qmj) { var _qmk = null, _qml = _qmf.call(this) || this; return _qml._onClickDeploy = function() { var _qmm = null; null != _qml._cb_onClick && _qml._cb_onClick(_qml._data.preset_no, _qml._data.selected_mode); }, _qml._onClickDeployA = function() { var _qmn = null; _qml._data.selected_mode != _qm9.DeployMode.modeA && (_qml._data.selected_mode = _qm9.DeployMode.modeA, _qml._updateDeployMode(_qml._data.selected_mode)); }, _qml._onClickDeployB = function() { var _qmo = null; _qml._data.selected_mode != _qm9.DeployMode.modeB && (_qml._data.selected_mode = _qm9.DeployMode.modeB, _qml._updateDeployMode(_qml._data.selected_mode)); }, _qml._onMouseMove = function(_qmp) { var _qmq = null, _qmr = _qmp.data.getLocalPosition(_qml._hit_area), _qms = _qml._hit_area.width; _qmr.x < 0 || _qmr.x > _qms || _qmr.y < 0 || _qmr.y > 319 ? (_qml._alert_text.visible = !1, _qml._focus.visible = !1) : (_qml._alert_text.visible = !0, _qml._focus.visible = !0); }, _qml._onClickUpdateExFlag = function() { var _qmt = null; null != _qml._cb_onClickUpdateExFlag && _qml._cb_onClickUpdateExFlag(_qml._preset_no); }, _qml._onMouseDown = function() { var _qmu = null; _qml._alert_text.visible = !0; }, _qml._onMouseUp = function() { var _qmv = null; 0 == _qml._focus.visible && (_qml._alert_text.visible = !1); }, _qml._cb_onClick = _qmi, _qml._cb_onClickUpdateExFlag = _qmj, _qml._bg = new PIXI.Sprite(_qm8.REMODEL_PRESET.getTexture(32)), _qml._hit_area = new PIXI.Graphics(), _qml._hit_area.position.set(0, 41), _qml._hit_area.interactive = !0, _qml._hit_area.on(_qm6.EventType.MOUSEMOVE, _qml._onMouseMove), _qml._focus = new PIXI.Sprite(_qm8.REMODEL_PRESET.getTexture(33)), _qml._focus.position.set(-9, 36), _qml._focus.visible = !1, _qml._name = new _qmc.EditNameArea(), _qml._name.editable = !1, _qml._name.position.set(9, 4), _qml._box = new _qmb.PresetSlotItemSlotBox(_qml._onClickUpdateExFlag), _qml._box.position.set(6, 43), _qml._deployBtn = new _qmd.Btn(_qml._onClickDeploy), _qml._deployBtn.initialize(18, 19), _qml._deployBtn.position.set(0, 362), _qml._deployBtnA = new _qmw(_qml._onClickDeployA), _qml._deployBtnA.initialize(5, 3, 4), _qml._deployBtnA.position.set(175, 362), _qml._deployBtnA_light = new PIXI.Sprite(_qm8.REMODEL_PRESET.getTexture(6)), _qml._deployBtnA_light.position.set(171, 357), _qml._deployBtnA_light.visible = !1, _qml._deployBtnB = new _qmw(_qml._onClickDeployB), _qml._deployBtnB.initialize(9, 7, 8), _qml._deployBtnB.position.set(244, 362), _qml._deployBtnB_light = new PIXI.Sprite(_qm8.REMODEL_PRESET.getTexture(6)), _qml._deployBtnB_light.position.set(240, 357), _qml._deployBtnB_light.visible = !1, _qml._alert_text = new _qm7.TextBox(16, 16724736), _qml._alert_text.position.set(5, 418), _qml.addChild(_qml._bg), _qml.addChild(_qml._hit_area), _qml.addChild(_qml._name), _qml.addChild(_qml._box), _qml.addChild(_qml._deployBtn), _qml.addChild(_qml._deployBtnA, _qml._deployBtnB), _qml.addChild(_qml._deployBtnA_light, _qml._deployBtnB_light), _qml.addChild(_qml._alert_text), _qml.addChild(_qml._focus), _qml; } return _qlq(_qmh, _qmf), Object.defineProperty(_qmh.prototype, 'preset_no', { 'get': function() { var _qmx = null; return this._preset_no; }, 'enumerable': !1, 'configurable': !0 }), _qmh.prototype.initialize = function(_qmy) { var _qmz = null; this._data = _qmy.data, this._alert = _qmy.alert, this._preset_no = _qmy.data.preset_no, this._name.reload(this._data.name), this._box.update(this._data, this._data.preset_no), this._alert_text.visible = !1, this._setAlert(this._alert), this._activate(); }, _qmh.prototype.update = function(_qn0) { var _qn1 = null; this._alert = _qn0, this._alert_text.visible = !1, this._setAlert(this._alert), this._activate(); }, _qmh.prototype._activate = function() { var _qn2 = null; this._hit_area.clear(), this._hit_area.removeAllListeners(_qm6.EventType.MOUSEDOWN), this._hit_area.removeAllListeners(_qm6.EventType.MOUSEUP), this._alert == _qma.AlertType.NONE ? (this._hit_area.beginFill(16774898, 0), this._hit_area.drawRect(0, 0, this._bg.width, 319), this._hit_area.endFill(), this._deployBtn.activate(), this._updateDeployMode(this._data.selected_mode)) : (this._hit_area.beginFill(16774898, 0), this._hit_area.drawRect(0, 0, this._bg.width, 376), this._hit_area.endFill(), this._deployBtn.deactivate(), this._deployBtnA.deactivate(), this._deployBtnB.deactivate(), this._deployBtnA_light.visible = !1, this._deployBtnB_light.visible = !1, this._hit_area.on(_qm6.EventType.MOUSEDOWN, this._onMouseDown), this._hit_area.on(_qm6.EventType.MOUSEUP, this._onMouseUp)); }, _qmh.prototype.activateEvents = function() { var _qn3 = null; this._hit_area.removeAllListeners(_qm6.EventType.MOUSEMOVE), this._hit_area.on(_qm6.EventType.MOUSEMOVE, this._onMouseMove); }, _qmh.prototype.deactivateEvents = function() { var _qn4 = null; this._alert_text.visible = !1, this._focus.visible = !1, this._hit_area.off(_qm6.EventType.MOUSEMOVE, this._onMouseMove); }, _qmh.prototype._updateDeployMode = function(_qn5) { var _qn6 = null; _qn5 == _qm9.DeployMode.modeA ? (this._deployBtnA.update(!0), this._deployBtnA_light.visible = !0, this._deployBtnB.update(!1), this._deployBtnB_light.visible = !1) : (this._deployBtnA.update(!1), this._deployBtnA_light.visible = !1, this._deployBtnB.update(!0), this._deployBtnB_light.visible = !0), this._deployBtnA.activate(), this._deployBtnB.activate(); }, _qmh.prototype._setAlert = function(_qn7) { var _qn8 = null; switch (_qn7) { case _qma.AlertType.CONTAIN_NOT_EQUIP: this._alert_text.text = '展開先が運用不能な装備があります。'; break; case _qma.AlertType.HAS_NOT_EX_SLOT: this._alert_text.text = '展開先に補強増設スロットがありません。'; break; case _qma.AlertType.HAS_NOT_STOCK_MAX: this._alert_text.text = '展開できる装備の余剰がありません。'; break; case _qma.AlertType.NOT_ENOUGH_SLOT: this._alert_text.text = '展開先の装備スロットが足りません。'; break; default: this._alert_text.text = ''; } }, _qmh.prototype.dispose = function() { var _qn9 = null; this.removeChildren(), this._hit_area.off(_qm6.EventType.MOUSEDOWN, this._onMouseDown), this._hit_area.off(_qm6.EventType.MOUSEMOVE, this._onMouseMove), this._hit_area.off(_qm6.EventType.MOUSEUP, this._onMouseUp), this._hit_area.destroy(), this._hit_area = null, this._bg.destroy(), this._bg = null, this._focus.destroy(), this._focus = null, this._name.dispose(), this._name = null, this._box.dispose(), this._deployBtn.dispose(), this._deployBtn = null, this._deployBtnA.dispose(), this._deployBtnA = null, this._deployBtnB.dispose(), this._deployBtnB = null, this._deployBtnA_light.destroy(), this._deployBtnA_light = null, this._deployBtnB_light.destroy(), this._deployBtnB_light = null, this._alert_text.destroy(), this._alert_text = null; }, _qmh; }(PIXI.Container); _qlm.PresetDeployItem = _qme; var _qmw = function(_qna) { var _qnb = null; function _qnc(_qnd) { var _qne = null, _qnf = _qna.call(this) || this; return _qnf._onClick = function() { var _qng = null; null != _qnf._cb_onClick && (_qnf._status = !_qnf._status, _qnf._cb_onClick()); }, _qnf._cb_onClick = _qnd, _qnf.on(_qm6.EventType.CLICK, _qnf._onClick), _qnf.texture = _qm8.REMODEL_PRESET.getTexture(22), _qnf._status = !1, _qnf; } return _qlq(_qnc, _qna), Object.defineProperty(_qnc.prototype, 'status', { 'get': function() { var _qnh = null; return this._status; }, 'enumerable': !1, 'configurable': !0 }), _qnc.prototype.initialize = function(_qni, _qnj, _qnk) { var _qnl = null; this._texture_no = _qni, this._texture_no_on = _qnj, this._texture_no_off = _qnk; }, _qnc.prototype.update = function(_qnm) { var _qnn = null; this._status = _qnm; }, _qnc.prototype.activate = function() { var _qno = null; this._activate(); }, _qnc.prototype.deactivate = function() { var _qnp = null; this._deactivate(); }, _qnc.prototype._deactivate = function() { var _qnq = null; this.buttonMode = this.interactive = !1, this.texture = _qm8.REMODEL_PRESET.getTexture(this._texture_no_off); }, _qnc.prototype._activate = function() { var _qnr = null; this.buttonMode = this.interactive = !0, this._status ? this.texture = _qm8.REMODEL_PRESET.getTexture(this._texture_no_on) : this.texture = _qm8.REMODEL_PRESET.getTexture(this._texture_no); }, _qnc.prototype.dispose = function() { var _qns = null; this.off(_qm6.EventType.CLICK, this._onClick), this.destroy(); }, _qnc; }(PIXI.Sprite); }, 93211: function(_qnt, _qnu, _qnv) { 'use strict'; var _qnw = null; var _qnx, _qny = this && this.__extends || (_qnx = function(_qnz, _qo0) { var _qo1 = null; return _qnx = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_qo2, _qo3) { var _qo4 = null; _qo2.__proto__ = _qo3; } || function(_qo5, _qo6) { var _qo7 = null; for (var _qo8 in _qo6) Object.prototype.hasOwnProperty.call(_qo6, _qo8) && (_qo5[_qo8] = _qo6[_qo8]); }, _qnx(_qnz, _qo0); }, function(_qo9, _qoa) { var _qob = null; if ('function' != typeof _qoa && null !== _qoa) throw new TypeError('Class extends value ' + String(_qoa) + ' is not a constructor or null'); function _qoc() { var _qod = null; this.constructor = _qo9; } _qnx(_qo9, _qoa), _qo9.prototype = null === _qoa ? Object.create(_qoa) : (_qoc.prototype = _qoa.prototype, new _qoc()); }), _qoe = this && this.__spreadArray || function(_qof, _qog, _qoh) { var _qoi = null; if (_qoh || 2 === arguments.length) { for (var _qoj, _qok = 0, _qol = _qog.length; _qok < _qol; _qok++) !_qoj && _qok in _qog || (_qoj || (_qoj = Array.prototype.slice.call(_qog, 0, _qok)), _qoj[_qok] = _qog[_qok]); } return _qof.concat(_qoj || Array.prototype.slice.call(_qog)); }, _qom = this && this.__importDefault || function(_qon) { var _qoo = null; return _qon && _qon.__esModule ? _qon : { 'default': _qon }; }; defineModule(_qnu); Object.defineProperty(_qnu, '__esModule', { 'value': !0 }), _qnu.PresetDeployLayer = _qnu.AlertType = void 0; var _qop, _qoq = _qnv(75134), _qor = _qnv(93490), _qos = _qnv(97297), _qot = _qom(_qnv(18622)), _qou = _qnv(18013), _qov = _qnv(57722), _qow = _qnv(72778); ! function(_qox) { var _qoy = null; _qox[_qox.NONE = 0] = 'NONE', _qox[_qox.NOT_ENOUGH_SLOT = 1] = 'NOT_ENOUGH_SLOT', _qox[_qox.HAS_NOT_EX_SLOT = 2] = 'HAS_NOT_EX_SLOT', _qox[_qox.HAS_NOT_STOCK_MAX = 3] = 'HAS_NOT_STOCK_MAX', _qox[_qox.HAS_NOT_STOCK_ORG = 4] = 'HAS_NOT_STOCK_ORG', _qox[_qox.CONTAIN_NOT_EQUIP = 5] = 'CONTAIN_NOT_EQUIP'; }(_qop || (_qnu.AlertType = _qop = {})); var _qoz = function(_qp0) { var _qp1 = null; function _qp2(_qp3, _qp4, _qp5) { var _qp6 = null, _qp7 = _qp0.call(this) || this; _qp7.ITEM_WIDTH = 320, _qp7.ONE_PAGE_WIDTH = 3 * _qp7.ITEM_WIDTH, _qp7.ITEM_ZERO_POS_X = 32, _qp7._onEvents = function() { var _qp8 = null, _qp9 = _qp7._item_container.position.x; _qp7._items.forEach(function(_qpa) { var _qpb = null, _qpc = -_qpa.position.x + _qp7.ITEM_ZERO_POS_X; _qpc - _qp7.ITEM_WIDTH <= _qp9 && _qpc + _qp7.ONE_PAGE_WIDTH >= _qp9 && _qpa.activateEvents(); }); }, _qp7._offEvents = function() { var _qpd = null; _qp7._items.forEach(function(_qpe) { var _qpf = null; _qpe.deactivateEvents(); }); }, _qp7._onClickUpdateExFlag = function(_qpg) { var _qph = null; null != _qp7._cb_onClickUpdateExFlag && _qp7._cb_onClickUpdateExFlag(_qpg); }, _qp7._onClickDeploy = _qp3, _qp7._cb_onClickUpdateExFlag = _qp4, _qp7._bg = new PIXI.Sprite(_qos.REMODEL_PRESET.getTexture(2)), _qp7._title = new PIXI.Sprite(_qos.REMODEL_PRESET.getTexture(43)), _qp7._title.position.set(383, 60), _qp7._backBtn = new _qor.BackBtn(_qp5), _qp7._backBtn.position.set(932, 64), _qp7._backBtn.startAnimation(), _qp7._item_container = new PIXI.Container(), _qp7._item_container.position.set(_qp7.ITEM_ZERO_POS_X, 140); var _qpi = new PIXI.Graphics(); return _qpi.beginFill(16774898, 0.5), _qpi.drawRect(_qp7.ITEM_ZERO_POS_X - 7, _qp7._item_container.y, _qp7.ONE_PAGE_WIDTH + 5, 445), _qpi.endFill(), _qp7._item_container.mask = _qpi, _qp7._scroll = new _qou.ScrollLayer(_qp7._onEvents, _qp7._offEvents), _qp7._scroll.position.set(28, 604), _qp7.addChild(_qp7._bg), _qp7.addChild(_qp7._title), _qp7.addChild(_qp7._backBtn), _qp7.addChild(_qp7._item_container), _qp7.addChild(_qpi), _qp7.addChild(_qp7._scroll), _qp7.interactive = !0, _qp7; } return _qny(_qp2, _qp0), _qp2.prototype.initialize = function(_qpj, _qpk) { var _qpl = null, _qpm; this._model = _qpj, this._targetShip = _qpk; var _qpn = _qpj.presetItemMap; this._item_container.removeChildren(), null === (_qpm = this._items) || void 0 === _qpm || _qpm.forEach(function(_qpo) { var _qpp = null; return _qpo.dispose(); }), this._items = new Array(), this._scroll.deactivate(); for (var _qpq = 0; _qpq < this._model.max_num; _qpq++) { var _qpr = _qpn[_qpq + 1]; if (null != _qpr && _qpr.isValid()) { var _qps = new _qov.PresetDeployItem(this._onClickDeploy, this._onClickUpdateExFlag); _qps.position.x = this.ITEM_WIDTH * this._items.length, this._items.push(_qps), this._item_container.addChild(_qps); var _qpt = { 'data': _qpr, 'alert': this._validate(_qpr) }; _qps.initialize(_qpt); } } var _qpu = this._item_container.children.length * this.ITEM_WIDTH; _qpu > this.ONE_PAGE_WIDTH ? (this._scroll.initialize(this._item_container, this.ITEM_ZERO_POS_X, _qpu, this.ONE_PAGE_WIDTH, this.ITEM_WIDTH), this._scroll.activate(), this._scroll.visible = !0) : (this._scroll.deactivate(), this._scroll.visible = !1); }, _qp2.prototype.update = function(_qpv, _qpw) { var _qpx = null, _qpy = this; this._model = _qpv; var _qpz = _qpv.presetItemMap[_qpw]; null != _qpz && _qpz.isValid() && this._items.forEach(function(_qq0) { var _qq1 = null; _qq0.preset_no == _qpw && _qq0.update(_qpy._validate(_qpz)); }); }, _qp2.prototype.dispose = function() { var _qq2 = null; this._item_container.removeChildren(), this._items.forEach(function(_qq3) { var _qq4 = null; return _qq3.dispose(); }), this._items.length = 0, this._items = null, this.removeChildren(), this._scroll.dispose(), this._scroll = null, this._bg.destroy(), this._bg = null, this._title.destroy(), this._title = null, this._backBtn.dispose(), this._backBtn = null; }, _qp2.prototype._validate = function(_qq5) { var _qq6 = null, _qq7 = this; if (_qq5.slot_items.length > this._targetShip.slotNum) return _qop.NOT_ENOUGH_SLOT; var _qq8 = null != _qq5.slot_item_ex, _qq9 = this._targetShip.isExtraSlot(); if (0 == _qq5.slot_ex_guard_flag && 1 == _qq8 && 0 == _qq9) return _qop.HAS_NOT_EX_SLOT; var _qqa = !1, _qqb = _qot.default.model.equip.get(this._targetShip.mstID).equip_type; if (_qq5.slot_items.forEach(function(_qqc, _qqd) { var _qqe = null, _qqf = _qot.default.model.slot.getMst(_qqc.id), _qqg = _qow.SlotUtil.excludeEquipList(_qq7._targetShip.memID, _qqd, !1); (-1 == _qqb.indexOf(_qqf.equipTypeSp) || _qqg.indexOf(_qqf.equipTypeSp) > -1) && (_qqa = !0), _qow.SlotUtil.isMstEquipShipExceptionSlotItem(_qq7._targetShip.mstID, _qqf.equipType, _qqf.mstID) && (_qqa = !0), _qqb.indexOf(_qoq.EquipType._04_HUKUHOU) > -1 && 467 == _qqf.mstID && -1 == _qqb.indexOf(_qoq.EquipType._95_HUKUHOU_L) && (_qqa = !0); }), 0 == _qq5.slot_ex_guard_flag && null != _qq5.slot_item_ex) { var _qqh = _qot.default.model.slot.getMst(_qq5.slot_item_ex.id); if (-1 == _qqb.indexOf(_qqh.equipType)) _qqa = !0; else { var _qqi = _qot.default.model.shipType.getAllExId(), _qqj = _qot.default.model.slot.getExtraEquipShipData(this._targetShip.mstID, this._targetShip.getClassType(), this._targetShip.shipTypeID); - 1 == _qqi.indexOf(_qqh.equipType) && 0 == _qqj.some(function(_qqk) { var _qql = null; return _qqk == _qqh.mstID; }) && (_qqa = !0); } } if (_qqa) return _qop.CONTAIN_NOT_EQUIP; var _qqm = (0 == _qq5.slot_ex_guard_flag ? _qoe(_qoe([], _qq5.slot_items, !0), [_qq5.slot_item_ex], !1) : _qoe([], _qq5.slot_items, !0)).filter(function(_qqn) { return null != (null == _qqn ? void 0 : _qqn.id); }), _qqo = {}; _qqm.forEach(function(_qqp) { var _qqq = null; null != _qqp && (null == _qqo[_qqp.id] && (_qqo[_qqp.id] = new Array()), _qqo[_qqp.id].push(_qqp)); }); var _qqr = (0 == _qq5.slot_ex_guard_flag ? _qoe(_qoe([], this._targetShip.getSlotitems(), !0), [this._targetShip.getSlotitemEx()], !1) : _qoe([], this._targetShip.getSlotitems(), !0)).filter(function(_qqs) { return null != _qqs; }), _qqt = function(_qqu) { var _qqv = null, _qqw = _qqo[_qqu], _qqx = _qqw[0].id, _qqy = _qot.default.model.slot.createUnsetListFromMstId(_qqx), _qqz = _qqr.filter(function(_qr0) { var _qr1 = null; return _qr0.mstID == _qqx; }), _qr2 = _qoe(_qoe([], _qqy, !0), _qqz, !0); if (_qr2.length < _qqw.length) return { 'value': _qop.HAS_NOT_STOCK_MAX }; if (0 == _qq5.slot_ex_guard_flag && _qq5.slot_item_ex && _qqx == _qq5.slot_item_ex.id && 0 == _qr2.filter(function(_qr3) { var _qr4 = null; return _qot.default.model.slot.isExtraSlotEquipableLevel(_qr3.mstID, _qr3.level); }).length) return { 'value': _qop.HAS_NOT_STOCK_MAX }; }; for (var _qr5 in _qqo) { var _qr6 = _qqt(_qr5); if ('object' == typeof _qr6) return _qr6.value; } return _qop.NONE; }, _qp2; }(PIXI.Container); _qnu.PresetDeployLayer = _qoz; }, 58886: function(_qr7, _qr8, _qr9) { 'use strict'; var _qra = null; var _qrb, _qrc = this && this.__extends || (_qrb = function(_qrd, _qre) { var _qrf = null; return _qrb = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_qrg, _qrh) { var _qri = null; _qrg.__proto__ = _qrh; } || function(_qrj, _qrk) { var _qrl = null; for (var _qrm in _qrk) Object.prototype.hasOwnProperty.call(_qrk, _qrm) && (_qrj[_qrm] = _qrk[_qrm]); }, _qrb(_qrd, _qre); }, function(_qrn, _qro) { var _qrp = null; if ('function' != typeof _qro && null !== _qro) throw new TypeError('Class extends value ' + String(_qro) + ' is not a constructor or null'); function _qrq() { var _qrr = null; this.constructor = _qrn; } _qrb(_qrn, _qro), _qrn.prototype = null === _qro ? Object.create(_qro) : (_qrq.prototype = _qro.prototype, new _qrq()); }); defineModule(_qr8); Object.defineProperty(_qr8, '__esModule', { 'value': !0 }), _qr8.PresetSaveItem = void 0; var _qrs = _qr9(35380), _qrt = _qr9(97297), _qru = _qr9(90996), _qrv = _qr9(25188), _qrw = _qr9(20624), _qrx = _qr9(16934), _qry = function(_qrz) { var _qs0 = null; function _qs1(_qs2, _qs3, _qs4, _qs5, _qs6, _qs7) { var _qs8 = null, _qs9 = _qrz.call(this) || this; return _qs9._onClickSave = function() { var _qsa = null; null != _qs9._cb_onClickSave && _qs9._cb_onClickSave(_qs9._preset_no); }, _qs9._onClickDelete = function() { var _qsb = null; null != _qs9._cb_onClickDelete && _qs9._cb_onClickDelete(_qs9._preset_no); }, _qs9._onClickUpdateLock = function() { var _qsc = null; null != _qs9._cb_onClickUpdateLock && (_qs9._cb_onClickUpdateLock(_qs9._preset_no), _qs9._activate()); }, _qs9._onMouseMove = function(_qsd) { var _qse = null, _qsf = _qsd.data.getLocalPosition(_qs9._hit_area), _qsg = _qs9._hit_area.width, _qsh = _qs9._hit_area.height; _qsf.x < 0 || _qsf.x > _qsg || _qsf.y < 0 || _qsf.y > _qsh ? _qs9._focus.visible = !1 : _qs9._focus.visible = !0; }, _qs9._onClickEditName = function(_qsi) { var _qsj = null; null != _qs9._cb_onClickEditName && _qs9._cb_onClickEditName(_qs9._preset_no, _qsi); }, _qs9._onClickUpdateName = function(_qsk) { var _qsl = null; null != _qs9._cb_onClickUpdateName && _qs9._cb_onClickUpdateName(_qs9._preset_no, _qsk); }, _qs9._onClickUpdateExFlag = function() { var _qsm = null; null != _qs9._cb_onClickUpdateExFlag && _qs9._cb_onClickUpdateExFlag(_qs9._preset_no); }, _qs9._cb_onClickSave = _qs2, _qs9._cb_onClickDelete = _qs3, _qs9._cb_onClickUpdateName = _qs5, _qs9._cb_onClickUpdateLock = _qs6, _qs9._cb_onClickEditName = _qs4, _qs9._cb_onClickUpdateExFlag = _qs7, _qs9._bg = new PIXI.Sprite(_qrt.REMODEL_PRESET.getTexture(32)), _qs9._hit_area = new PIXI.Graphics(), _qs9._hit_area.beginFill(16774898, 0), _qs9._hit_area.drawRect(0, 0, _qs9._bg.width, 319), _qs9._hit_area.endFill(), _qs9._hit_area.position.set(0, 41), _qs9._hit_area.interactive = !0, _qs9._hit_area.on(_qrs.EventType.MOUSEMOVE, _qs9._onMouseMove), _qs9._focus = new PIXI.Sprite(_qrt.REMODEL_PRESET.getTexture(33)), _qs9._focus.position.set(-9, 36), _qs9._focus.visible = !1, _qs9._name = new _qrv.EditNameArea(_qs9._onClickEditName, _qs9._onClickUpdateName), _qs9._name.editable = !0, _qs9._name.position.set(9, 4), _qs9._box = new _qru.PresetSlotItemSlotBox(_qs9._onClickUpdateExFlag), _qs9._box.position.set(6, 43), _qs9._saveBtn = new _qrx.Btn(_qs9._onClickSave), _qs9._saveBtn.initialize(26, 27), _qs9._saveBtn.position.set(0, 362), _qs9._lockBtn = new _qrw.LockBtn(_qs9._onClickUpdateLock), _qs9._lockBtn.position.set(175, 362), _qs9._deleteBtn = new _qrx.Btn(_qs9._onClickDelete), _qs9._deleteBtn.initialize(16, 17), _qs9._deleteBtn.position.set(244, 362), _qs9.addChild(_qs9._bg), _qs9.addChild(_qs9._hit_area), _qs9.addChild(_qs9._name), _qs9.addChild(_qs9._box), _qs9.addChild(_qs9._saveBtn), _qs9.addChild(_qs9._lockBtn), _qs9.addChild(_qs9._deleteBtn), _qs9.addChild(_qs9._focus), _qs9; } return _qrc(_qs1, _qrz), _qs1.prototype.update = function(_qsn, _qso) { var _qsp = null; if (this._data = _qsn, null != this._data) { if ('' != this._data.name) this._name.reload(this._data.name); else { var _qsq = '第' ['concat'](('00' + _qso).slice(-2)); this._name.reload(_qsq); } this._preset_no = this._data.preset_no; var _qsr = this._data.locked; this._lockBtn.update(_qsr); } else { var _qss = '第' ['concat'](('00' + _qso).slice(-2)); this._name.reload(_qss), this._preset_no = _qso, _qsr = !1, this._lockBtn.update(_qsr); } this._box.update(_qsn, _qso), this._activate(); }, _qs1.prototype._activate = function() { var _qst = null; null != this._data && this._data.isValid() ? this._lockBtn.locked ? (this._lockBtn.activate(), this._saveBtn.deactivate(), this._deleteBtn.deactivate()) : (this._lockBtn.activate(), this._saveBtn.activate(), this._deleteBtn.activate()) : (this._saveBtn.activate(), this._deleteBtn.deactivate(), this._lockBtn.deactivate()); }, _qs1.prototype.activateEvents = function() { var _qsu = null; this._hit_area.removeAllListeners(_qrs.EventType.MOUSEMOVE), this._hit_area.on(_qrs.EventType.MOUSEMOVE, this._onMouseMove); }, _qs1.prototype.deactivateEvents = function() { var _qsv = null; this._focus.visible = !1, this._hit_area.off(_qrs.EventType.MOUSEMOVE, this._onMouseMove); }, _qs1.prototype.resetEditArea = function() { var _qsw = null; this._name.reset(); }, _qs1.prototype.dispose = function() { var _qsx = null; this.removeChildren(), this._hit_area.off(_qrs.EventType.MOUSEMOVE, this._onMouseMove), this._hit_area.destroy(), this._hit_area = null, this._bg.destroy(), this._bg = null, this._focus.destroy(), this._focus = null, this._name.dispose(), this._name = null, this._saveBtn.dispose(), this._saveBtn = null, this._deleteBtn.dispose(), this._deleteBtn = null, this._lockBtn.dispose(), this._lockBtn = null, this._box.dispose(), this._box = null; }, _qs1; }(PIXI.Container); _qr8.PresetSaveItem = _qry; }, 96014: function(_qsy, _qsz, _qt0) { 'use strict'; var _qt1 = null; var _qt2, _qt3 = this && this.__extends || (_qt2 = function(_qt4, _qt5) { var _qt6 = null; return _qt2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_qt7, _qt8) { var _qt9 = null; _qt7.__proto__ = _qt8; } || function(_qta, _qtb) { var _qtc = null; for (var _qtd in _qtb) Object.prototype.hasOwnProperty.call(_qtb, _qtd) && (_qta[_qtd] = _qtb[_qtd]); }, _qt2(_qt4, _qt5); }, function(_qte, _qtf) { var _qtg = null; if ('function' != typeof _qtf && null !== _qtf) throw new TypeError('Class extends value ' + String(_qtf) + ' is not a constructor or null'); function _qth() { var _qti = null; this.constructor = _qte; } _qt2(_qte, _qtf), _qte.prototype = null === _qtf ? Object.create(_qtf) : (_qth.prototype = _qtf.prototype, new _qth()); }); defineModule(_qsz); Object.defineProperty(_qsz, '__esModule', { 'value': !0 }), _qsz.PresetSaveLayer = void 0; var _qtj = _qt0(97297), _qtk = _qt0(58886), _qtl = _qt0(26571), _qtm = _qt0(87967), _qtn = _qt0(18013), _qto = _qt0(93490), _qtp = function(_qtq) { var _qtr = null; function _qts(_qtt, _qtu, _qtv, _qtw, _qtx, _qty, _qtz) { var _qu0 = null, _qu1 = _qtq.call(this) || this; _qu1.ITEM_WIDTH = 320, _qu1.ONE_PAGE_WIDTH = 3 * _qu1.ITEM_WIDTH, _qu1.ITEM_ZERO_POS_X = 32, _qu1._onEvents = function() { var _qu2 = null, _qu3 = _qu1._item_container.position.x; _qu1._items.forEach(function(_qu4) { var _qu5 = null, _qu6 = -_qu4.position.x + _qu1.ITEM_ZERO_POS_X; _qu6 - _qu1.ITEM_WIDTH <= _qu3 && _qu6 + _qu1.ONE_PAGE_WIDTH >= _qu3 && (null == _qu4 || _qu4.activateEvents()); }); }, _qu1._offEvents = function() { var _qu7 = null; _qu1._items.forEach(function(_qu8) { var _qu9 = null; null == _qu8 || _qu8.deactivateEvents(); }); }, _qu1._onClickSave = function(_qua) { var _qub = null; null != _qu1._cb_onClickSave && (_qu1._resetEditNameAreaAll(), _qu1._cb_onClickSave(_qua)); }, _qu1._onClickDelete = function(_quc) { var _qud = null; null != _qu1._cb_onClickDelete && (_qu1._resetEditNameAreaAll(), _qu1._cb_onClickDelete(_quc)); }, _qu1._onClickExtension = function() { var _que = null; null != _qu1._cb_onClickExtension && (_qu1._resetEditNameAreaAll(), _qu1._cb_onClickExtension()); }, _qu1._onClickUpdateExFlag = function(_quf) { var _qug = null; null != _qu1._cb_onClickUpdateExFlag && (_qu1._resetEditNameAreaAll(), _qu1._cb_onClickUpdateExFlag(_quf)); }, _qu1._onClickUpdateLock = function(_quh) { var _qui = null; null != _qu1._cb_onClickUpdateLock && (_qu1._resetEditNameAreaAll(), _qu1._cb_onClickUpdateLock(_quh)); }, _qu1._onClickEditName = function(_quj, _quk) { var _qul = null; for (var _qum = 0; _qum < _qu1._model.max_num; _qum++) { _qum + 1 != _quj && _qu1._items[_qum].resetEditArea(); } var _qun = -_qu1._items[_quj - 1].position.x + _qu1.ITEM_ZERO_POS_X; _qu1._scroll.moveTween(_qun, _quk); }, _qu1._resetEditNameAreaAll = function() { var _quo = null; _qu1._items.forEach(function(_qup) { var _quq = null; return _qup.resetEditArea(); }); }, _qu1._cb_onClickSave = _qtt, _qu1._cb_onClickDelete = _qtu, _qu1._cb_onClickExtension = _qty, _qu1._onClickUpdateName = _qtv, _qu1._cb_onClickUpdateLock = _qtw, _qu1._cb_onClickUpdateExFlag = _qtz, _qu1._bg = new PIXI.Sprite(_qtj.REMODEL_PRESET.getTexture(2)), _qu1._title = new PIXI.Sprite(_qtj.REMODEL_PRESET.getTexture(44)), _qu1._title.position.set(383, 60), _qu1._backBtn = new _qto.BackBtn(_qtx), _qu1._backBtn.position.set(932, 64), _qu1._backBtn.startAnimation(), _qu1._item_container = new PIXI.Container(), _qu1._item_container.position.set(_qu1.ITEM_ZERO_POS_X, 140); var _qur = new PIXI.Graphics(); return _qur.beginFill(16774898, 0.5), _qur.drawRect(_qu1.ITEM_ZERO_POS_X - 7, _qu1._item_container.y, _qu1.ONE_PAGE_WIDTH + 5, 445), _qur.endFill(), _qu1._item_container.mask = _qur, _qu1._item_expand = new _qtl.PresetSlotExpandItem(_qu1._onClickExtension), _qu1._scroll = new _qtn.ScrollLayer(_qu1._onEvents, _qu1._offEvents, _qu1._resetEditNameAreaAll), _qu1._scroll.position.set(28, 604), _qu1.addChild(_qu1._bg), _qu1.addChild(_qu1._title), _qu1.addChild(_qu1._backBtn), _qu1.addChild(_qu1._item_container), _qu1.addChild(_qur), _qu1.addChild(_qu1._scroll), _qu1.interactive = !0, _qu1; } return _qt3(_qts, _qtq), _qts.prototype.initialize = function(_qus) { var _qut = null, _quu; this._model = _qus; var _quv = _qus.presetItemMap; this._items = new Array(), null === (_quu = this._scroll) || void 0 === _quu || _quu.deactivate(), this._item_container.removeChildren(); for (var _quw = 0; _quw < this._model.max_num; _quw++) { var _qux = new _qtk.PresetSaveItem(this._onClickSave, this._onClickDelete, this._onClickEditName, this._onClickUpdateName, this._onClickUpdateLock, this._onClickUpdateExFlag); _qux.position.x = this.ITEM_WIDTH * _quw, this._items.push(_qux), this._item_container.addChild(_qux); var _quy = _quw + 1, _quz = _quv[_quy]; null != _quz ? _qux.update(_quz, _quz.preset_no) : _qux.update(null, _quy); } if (this._model.max_num < _qtm.RemodelConst.PRESET_LIMIT) { var _qv0 = this._items[this._items.length - 1]; this._item_expand.position.x = _qv0.x + this.ITEM_WIDTH, this._item_expand.update(), this._item_container.addChild(this._item_expand); } var _qv1 = this._item_container.children.length * this.ITEM_WIDTH; _qv1 > this.ONE_PAGE_WIDTH ? (this._scroll.initialize(this._item_container, this.ITEM_ZERO_POS_X, _qv1, this.ONE_PAGE_WIDTH, this.ITEM_WIDTH), this._scroll.activate(), this._scroll.visible = !0) : (this._scroll.deactivate(), this._scroll.visible = !1); }, _qts.prototype.update = function(_qv2, _qv3) { var _qv4 = null; this._model = _qv2; var _qv5 = _qv3 - 1, _qv6 = _qv2.presetItemMap[_qv3], _qv7 = this._items[_qv5]; null != _qv6 ? _qv7.update(_qv6, _qv6.preset_no) : _qv7.update(null, _qv3); }, _qts.prototype.activate = function() { var _qv8 = null; this._scroll.activate(); }, _qts.prototype.deactivate = function() { var _qv9 = null; this._scroll.deactivate(); }, _qts.prototype.dispose = function() { var _qva = null; this.removeChildren(), this._item_container.removeChildren(), this._item_container.mask = null, this._items.forEach(function(_qvb) { var _qvc = null; return _qvb.dispose(); }), this._items.length = 0, this._items = null, this._item_expand.dispose(), this._item_expand = null, this._scroll.dispose(), this._scroll = null, this._bg.destroy(), this._bg = null, this._title.destroy(), this._title = null, this._backBtn.dispose(), this._backBtn = null; }, _qts; }(PIXI.Container); _qsz.PresetSaveLayer = _qtp; }, 26571: function(_qvd, _qve, _qvf) { 'use strict'; var _qvg = null; var _qvh, _qvi = this && this.__extends || (_qvh = function(_qvj, _qvk) { var _qvl = null; return _qvh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_qvm, _qvn) { var _qvo = null; _qvm.__proto__ = _qvn; } || function(_qvp, _qvq) { var _qvr = null; for (var _qvs in _qvq) Object.prototype.hasOwnProperty.call(_qvq, _qvs) && (_qvp[_qvs] = _qvq[_qvs]); }, _qvh(_qvj, _qvk); }, function(_qvt, _qvu) { var _qvv = null; if ('function' != typeof _qvu && null !== _qvu) throw new TypeError('Class extends value ' + String(_qvu) + ' is not a constructor or null'); function _qvw() { var _qvx = null; this.constructor = _qvt; } _qvh(_qvt, _qvu), _qvt.prototype = null === _qvu ? Object.create(_qvu) : (_qvw.prototype = _qvu.prototype, new _qvw()); }), _qvy = this && this.__importDefault || function(_qvz) { var _qw0 = null; return _qvz && _qvz.__esModule ? _qvz : { 'default': _qvz }; }; defineModule(_qve); Object.defineProperty(_qve, '__esModule', { 'value': !0 }), _qve.PresetSlotExpandItem = void 0; var _qw1 = _qvf(35380), _qw2 = _qvf(97297), _qw3 = _qvy(_qvf(18622)), _qw4 = _qvf(25188), _qw5 = function(_qw6) { var _qw7 = null; function _qw8(_qw9) { var _qwa = null, _qwb = _qw6.call(this) || this; return _qwb._onMouseMove = function(_qwc) { var _qwd = null, _qwe = _qwc.data.getLocalPosition(_qwb._hit_area), _qwf = _qwb._hit_area.width, _qwg = _qwb._hit_area.height; _qwe.x < 0 || _qwe.x > _qwf || _qwe.y < 0 || _qwe.y > _qwg ? _qwb._focus.visible = !1 : _qwb._focus.visible = !0; }, _qwb._onAlert = function(_qwh) { var _qwi = null; _qwb._alert.visible = _qwh; }, _qwb._bg = new PIXI.Sprite(_qw2.REMODEL_PRESET.getTexture(32)), _qwb._hit_area = new PIXI.Graphics(), _qwb._hit_area.beginFill(16774898, 0), _qwb._hit_area.drawRect(0, 0, _qwb._bg.width, 319), _qwb._hit_area.endFill(), _qwb._hit_area.position.set(0, 41), _qwb._hit_area.interactive = !0, _qwb._hit_area.on(_qw1.EventType.MOUSEMOVE, _qwb._onMouseMove), _qwb._focus = new PIXI.Sprite(_qw2.REMODEL_PRESET.getTexture(33)), _qwb._focus.position.set(-9, 36), _qwb._focus.visible = !1, _qwb._name = new _qw4.EditNameArea(), _qwb._name.position.set(9, 4), _qwb._name.editable = !1, _qwb._expand_btn = new _qwj(_qw9, _qwb._onAlert), _qwb._expand_btn.position.set(74, 181), _qwb._alert = new PIXI.Sprite(_qw2.REMODEL_PRESET.getTexture(29)), _qwb._alert.position.set(52, 109), _qwb._alert.visible = !1, _qwb.addChild(_qwb._bg), _qwb.addChild(_qwb._hit_area), _qwb.addChild(_qwb._name), _qwb.addChild(_qwb._expand_btn), _qwb.addChild(_qwb._focus), _qwb.addChild(_qwb._alert), _qwb; } return _qvi(_qw8, _qw6), _qw8.prototype.update = function() { var _qwk = null; _qw3.default.model.useItem.getCount(49) >= 1 ? this._expand_btn.activate() : this._expand_btn.deactivate(); }, _qw8.prototype.activateEvents = function() { var _qwl = null; this._hit_area.removeAllListeners(_qw1.EventType.MOUSEMOVE), this._hit_area.on(_qw1.EventType.MOUSEMOVE, this._onMouseMove); }, _qw8.prototype.deactivateEvents = function() { var _qwm = null; this._hit_area.off(_qw1.EventType.MOUSEMOVE, this._onMouseMove); }, _qw8.prototype.dispose = function() { var _qwn = null; this.removeChildren(), this._hit_area.off(_qw1.EventType.MOUSEMOVE, this._onMouseMove), this._bg.destroy(), this._bg = null, this._hit_area.destroy(), this._hit_area = null, this._focus.destroy(), this._focus = null, this._name.dispose(), this._name = null, this._expand_btn.dipose(), this._expand_btn = null, this._alert.destroy(), this._alert = null; }, _qw8; }(PIXI.Container); _qve.PresetSlotExpandItem = _qw5; var _qwj = function(_qwo) { var _qwp = null; function _qwq(_qwr, _qws) { var _qwt = null, _qwu = _qwo.call(this) || this; return _qwu._onClick = function() { var _qwv = null; null != _qwu._cb_onClick && (_qwu._cb_onClick(), _qwu._updateTexture(_qwu._enabled)); }, _qwu._onMouseOver = function() { var _qww = null; null != _qwu._cb_onAlert && _qwu._cb_onAlert(!0); }, _qwu._onMouseOut = function() { var _qwx = null; null != _qwu._cb_onAlert && _qwu._cb_onAlert(!1); }, _qwu._cb_onClick = _qwr, _qwu._cb_onAlert = _qws, _qwu.texture = _qw2.REMODEL_PRESET.getTexture(22), _qwu._enabled = !1, _qwu._updateTexture(_qwu._enabled), _qwu.buttonMode = _qwu.interactive = !0, _qwu; } return _qvi(_qwq, _qwo), _qwq.prototype.activate = function() { var _qwy = null; this._enabled = !0, this._updateTexture(this._enabled), this.off(_qw1.EventType.CLICK, this._onClick), this.off(_qw1.EventType.MOUSEOVER, this._onMouseOver), this.off(_qw1.EventType.MOUSEOUT, this._onMouseOut), this.on(_qw1.EventType.CLICK, this._onClick); }, _qwq.prototype.deactivate = function() { var _qwz = null; this._enabled = !1, this._updateTexture(this._enabled), this.off(_qw1.EventType.CLICK, this._onClick), this.off(_qw1.EventType.MOUSEOVER, this._onMouseOver), this.off(_qw1.EventType.MOUSEOUT, this._onMouseOut), this.on(_qw1.EventType.MOUSEOVER, this._onMouseOver), this.on(_qw1.EventType.MOUSEOUT, this._onMouseOut); }, _qwq.prototype._updateTexture = function(_qx0) { var _qx1 = null; this.texture = _qx0 ? _qw2.REMODEL_PRESET.getTexture(24) : _qw2.REMODEL_PRESET.getTexture(25); }, _qwq.prototype.dipose = function() { var _qx2 = null; this.buttonMode = this.interactive = !1, this.off(_qw1.EventType.CLICK, this._onClick), this.off(_qw1.EventType.MOUSEOVER, this._onMouseOver), this.off(_qw1.EventType.MOUSEOUT, this._onMouseOut), this.destroy(); }, _qwq; }(PIXI.Sprite); }, 44172: function(_qx3, _qx4, _qx5) { 'use strict'; var _qx6 = null; var _qx7, _qx8 = this && this.__extends || (_qx7 = function(_qx9, _qxa) { var _qxb = null; return _qx7 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_qxc, _qxd) { var _qxe = null; _qxc.__proto__ = _qxd; } || function(_qxf, _qxg) { var _qxh = null; for (var _qxi in _qxg) Object.prototype.hasOwnProperty.call(_qxg, _qxi) && (_qxf[_qxi] = _qxg[_qxi]); }, _qx7(_qx9, _qxa); }, function(_qxj, _qxk) { var _qxl = null; if ('function' != typeof _qxk && null !== _qxk) throw new TypeError('Class extends value ' + String(_qxk) + ' is not a constructor or null'); function _qxm() { var _qxn = null; this.constructor = _qxj; } _qx7(_qxj, _qxk), _qxj.prototype = null === _qxk ? Object.create(_qxk) : (_qxm.prototype = _qxk.prototype, new _qxm()); }), _qxo = this && this.__importDefault || function(_qxp) { var _qxq = null; return _qxp && _qxp.__esModule ? _qxp : { 'default': _qxp }; }; defineModule(_qx4); Object.defineProperty(_qx4, '__esModule', { 'value': !0 }), _qx4.PresetSlotItemSlot = void 0; var _qxr = _qx5(31000), _qxs = _qx5(97638), _qxt = _qx5(6218), _qxu = _qx5(8744), _qxv = _qxo(_qx5(18622)), _qxw = _qx5(97297), _qxx = _qx5(35380), _qxy = function(_qxz) { var _qy0 = null; function _qy1(_qy2) { var _qy3 = null; void 0 === _qy2 && (_qy2 = null); var _qy4 = _qxz.call(this) || this; _qy4._onClick = function() { var _qy5 = null; null != _qy4._cb_onClickExSlot && (_qy4._slot_off.visible = !_qy4._slot_off.visible, _qy4._cb_onClickExSlot()); }, _qy4._cb_onClickExSlot = _qy2, _qy4._background = new PIXI.Sprite(_qxr.COMMON_MAIN.getTexture(46)), _qy4._textItemName = new _qxu.TextBox(19, 5523516), _qy4._textItemNameMask = new PIXI.Graphics(), _qy4._textItemNameMask.beginFill(0), _qy4._textItemNameMask.drawRect(0, 0, 240, 30), _qy4._textItemNameMask.endFill(); var _qy6 = new PIXI.Sprite(_qxr.COMMON_MAIN.getTexture(45)); return _qy6.position.set(120, -2), _qy4._containerItemName = new PIXI.Container(), _qy4._containerItemName.position.set(50, 11), _qy4._containerItemName.mask = _qy4._textItemNameMask, _qy4._containerItemName.addChild(_qy4._textItemName), _qy4._containerItemName.addChild(_qy4._textItemNameMask), _qy4._containerItemName.addChild(_qy6), _qy4._slotItemLevel = new _qxs.SlotItemLevel(), _qy4._iconWeapon = new _qxt.IconWeapon(), _qy4._slotItemLevel.position.set(247, 14), _qy4._slot_off = new PIXI.Sprite(_qxw.REMODEL_PRESET.getTexture(34)), _qy4._slot_off.visible = !1, null != _qy4._cb_onClickExSlot && (_qy4._background.on(_qxx.EventType.CLICK, _qy4._onClick), _qy4._background.interactive = _qy4._background.buttonMode = !0), _qy4.addChild(_qy4._background, _qy4._containerItemName, _qy4._slotItemLevel, _qy4._iconWeapon, _qy4._slot_off), _qy4; } return _qx8(_qy1, _qxz), _qy1.prototype.update = function(_qy7, _qy8) { var _qy9 = null; void 0 === _qy8 && (_qy8 = !1); var _qya = _qxv.default.model.slot.getMst(_qy7.id); this._updateSlotItemLevel(_qy7.level), this._updateIconType(_qya.iconType), this._updateItemName(_qya.name), this._slot_off.visible = _qy8; }, _qy1.prototype._updateItemName = function(_qyb) { var _qyc = null; this._textItemName.text = _qyb; }, _qy1.prototype._updateIconType = function(_qyd) { var _qye = null; this._iconWeapon.update(_qyd); }, _qy1.prototype._updateSlotItemLevel = function(_qyf) { var _qyg = null; this._slotItemLevel.update(_qyf); }, _qy1.prototype.dispose = function() { var _qyh = null; this.removeChildren(), this._slotItemLevel.dispose(), this._iconWeapon.dispose(), this._containerItemName.mask = null, this._containerItemName.removeChildren(), this._textItemName.destroy(), this.onMouseOut = null, this._background.off(_qxx.EventType.CLICK, this._onClick), this._background.destroy(), this._background = null, this._textItemNameMask.destroy(), this._textItemNameMask = null, this._containerItemName = null, this._slotItemLevel = null, this._iconWeapon = null, this._textItemName = null; }, _qy1; }(PIXI.Container); _qx4.PresetSlotItemSlot = _qxy; }, 93490: function(_qyi, _qyj, _qyk) { 'use strict'; var _qyl = null; var _qym, _qyn = this && this.__extends || (_qym = function(_qyo, _qyp) { var _qyq = null; return _qym = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_qyr, _qys) { var _qyt = null; _qyr.__proto__ = _qys; } || function(_qyu, _qyv) { var _qyw = null; for (var _qyx in _qyv) Object.prototype.hasOwnProperty.call(_qyv, _qyx) && (_qyu[_qyx] = _qyv[_qyx]); }, _qym(_qyo, _qyp); }, function(_qyy, _qyz) { var _qz0 = null; if ('function' != typeof _qyz && null !== _qyz) throw new TypeError('Class extends value ' + String(_qyz) + ' is not a constructor or null'); function _qz1() { var _qz2 = null; this.constructor = _qyy; } _qym(_qyy, _qyz), _qyy.prototype = null === _qyz ? Object.create(_qyz) : (_qz1.prototype = _qyz.prototype, new _qz1()); }); defineModule(_qyj); Object.defineProperty(_qyj, '__esModule', { 'value': !0 }), _qyj.BackBtn = void 0; var _qz3 = _qyk(35380), _qz4 = _qyk(97297), _qz5 = function(_qz6) { var _qz7 = null; function _qz8(_qz9) { var _qza = null, _qzb = _qz6.call(this) || this; return _qzb._frames = [12, 13, 14, 15], _qzb._frame_no = 0, _qzb._gear = new PIXI.Sprite(), _qzb._btn = new PIXI.Sprite(_qz4.REMODEL_PRESET.getTexture(10)), _qzb._btn.position.set(8, 6), _qzb._btn.on(_qz3.EventType.CLICK, _qz9), _qzb._btn.interactive = _qzb._btn.buttonMode = !0, _qzb.addChild(_qzb._gear), _qzb.addChild(_qzb._btn), _qzb; } return _qyn(_qz8, _qz6), _qz8.prototype.startAnimation = function() { var _qzc = null, _qzd = this; this._gear.texture = _qz4.REMODEL_PRESET.getTexture(this._frames[0]), this._gear.alpha = 1, this._tween = createjs.Tween.get(null, { 'loop': !0 }).wait(500).call(function() { var _qze = null; _qzd._onUpdate(); }); }, _qz8.prototype._onUpdate = function() { var _qzf = null; this._frame_no++, this._frame_no >= this._frames.length - 1 && (this._frame_no = 0), this._gear.texture = _qz4.REMODEL_PRESET.getTexture(this._frames[this._frame_no]); }, _qz8.prototype.dispose = function() { var _qzg = null; this.removeChildren(), null != this._tween && (this._tween.setPaused(!0), this._tween = null), this._btn.destroy(), this._btn = null, this._gear.destroy(), this._gear = null; }, _qz8; }(PIXI.Container); _qyj.BackBtn = _qz5; }, 16934: function(_qzh, _qzi, _qzj) { 'use strict'; var _qzk = null; var _qzl, _qzm = this && this.__extends || (_qzl = function(_qzn, _qzo) { var _qzp = null; return _qzl = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_qzq, _qzr) { var _qzs = null; _qzq.__proto__ = _qzr; } || function(_qzt, _qzu) { var _qzv = null; for (var _qzw in _qzu) Object.prototype.hasOwnProperty.call(_qzu, _qzw) && (_qzt[_qzw] = _qzu[_qzw]); }, _qzl(_qzn, _qzo); }, function(_qzx, _qzy) { var _qzz = null; if ('function' != typeof _qzy && null !== _qzy) throw new TypeError('Class extends value ' + String(_qzy) + ' is not a constructor or null'); function _r00() { var _r01 = null; this.constructor = _qzx; } _qzl(_qzx, _qzy), _qzx.prototype = null === _qzy ? Object.create(_qzy) : (_r00.prototype = _qzy.prototype, new _r00()); }); defineModule(_qzi); Object.defineProperty(_qzi, '__esModule', { 'value': !0 }), _qzi.Btn = void 0; var _r02 = _qzj(97297), _r03 = _qzj(35380), _r04 = function(_r05) { var _r06 = null; function _r07(_r08) { var _r09 = null, _r0a = _r05.call(this) || this; return _r0a._onClick = function() { var _r0b = null; null != _r0a._cb_onClick && _r0a._cb_onClick(); }, _r0a._cb_onClick = _r08, _r0a.on(_r03.EventType.CLICK, _r0a._onClick), _r0a; } return _qzm(_r07, _r05), _r07.prototype.initialize = function(_r0c, _r0d) { var _r0e = null; this._texture_on = _r0c, this._texture_off = _r0d, this._updateTexture(_r0d); }, _r07.prototype.activate = function() { var _r0f = null; this._activate(); }, _r07.prototype.deactivate = function() { var _r0g = null; this._deactivate(); }, _r07.prototype._activate = function() { var _r0h = null; this._updateTexture(this._texture_on), this.buttonMode = this.interactive = !0; }, _r07.prototype._deactivate = function() { var _r0i = null; this._updateTexture(this._texture_off), this.buttonMode = this.interactive = !1; }, _r07.prototype._updateTexture = function(_r0j) { var _r0k = null; this.texture = _r02.REMODEL_PRESET.getTexture(_r0j); }, _r07.prototype.dispose = function() { var _r0l = null; this.off(_r03.EventType.CLICK, this._onClick), this.destroy(); }, _r07; }(PIXI.Sprite); _qzi.Btn = _r04; }, 25188: function(_r0m, _r0n, _r0o) { 'use strict'; var _r0p = null; var _r0q, _r0r = this && this.__extends || (_r0q = function(_r0s, _r0t) { var _r0u = null; return _r0q = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_r0v, _r0w) { var _r0x = null; _r0v.__proto__ = _r0w; } || function(_r0y, _r0z) { var _r10 = null; for (var _r11 in _r0z) Object.prototype.hasOwnProperty.call(_r0z, _r11) && (_r0y[_r11] = _r0z[_r11]); }, _r0q(_r0s, _r0t); }, function(_r12, _r13) { var _r14 = null; if ('function' != typeof _r13 && null !== _r13) throw new TypeError('Class extends value ' + String(_r13) + ' is not a constructor or null'); function _r15() { var _r16 = null; this.constructor = _r12; } _r0q(_r12, _r13), _r12.prototype = null === _r13 ? Object.create(_r13) : (_r15.prototype = _r13.prototype, new _r15()); }); defineModule(_r0n); Object.defineProperty(_r0n, '__esModule', { 'value': !0 }), _r0n.EditNameArea = void 0; var _r17 = _r0o(14921), _r18 = _r0o(8744), _r19 = _r0o(97297), _r1a = _r0o(16934), _r1b = function(_r1c) { var _r1d = null; function _r1e(_r1f, _r1g) { var _r1h = null; void 0 === _r1f && (_r1f = null), void 0 === _r1g && (_r1g = null); var _r1i = _r1c.call(this) || this; _r1i.VIEW_TEXT_SOUBI = '装備', _r1i.SAVE_MAX_LENGTH = 6, _r1i._onClickEdit = function() { var _r1j = null; null != _r1i._cb_onClickEdit && _r1i._cb_onClickEdit(function() { var _r1k = null; _r1i.writable = !0, _r1i._editButton.visible = !1, _r1i._updateButton.visible = !0, _r1i._updateButton.activate(); }); }, _r1i._onClickUpdate = function() { var _r1l = null; if (null != _r1i._cb_onClickUpdate) { var _r1m = _r17.EditTextBoxUtil.text; _r1m.length > _r1i.SAVE_MAX_LENGTH && (_r1m = _r1m.slice(0, _r1i.SAVE_MAX_LENGTH)), 0, _r17.EditTextBoxUtil.validation(_r1m, _r1i._baseText) && (_r1i._cb_onClickUpdate(_r1m), _r1i._baseText = _r1m), _r1i._mirrorText.text = _r1i._baseText + _r1i.VIEW_TEXT_SOUBI, _r1i.writable = !1, _r1i._editButton.visible = !0, _r1i._updateButton.visible = !1, _r1i._updateButton.deactivate(); } }, _r1i._cb_onClickEdit = _r1f, _r1i._cb_onClickUpdate = _r1g; var _r1n = new PIXI.Sprite(_r19.REMODEL_PRESET.getTexture(35)); return _r1i._editButton = new _r1a.Btn(_r1i._onClickEdit), _r1i._editButton.initialize(36, 36), _r1i._editButton.visible = !0, _r1i._editButton.position.set(245, 5), (_r1i._updateButton = new _r1a.Btn(_r1i._onClickUpdate), _r1i._updateButton.initialize(37, 37), _r1i._updateButton.visible = !1, _r1i._updateButton.position.set(245, 5), _r1i._mirrorText = new _r18.TextBox(21, 0), _r1i._mirrorText.visible = !0, _r1i._mirrorText.position.set(12, 4), _r1i._mirrorText.text = '', _r1i.addChild(_r1n, _r1i._updateButton, _r1i._editButton, _r1i._mirrorText), _r1i); } return _r0r(_r1e, _r1c), Object.defineProperty(_r1e.prototype, 'editable', { 'set': function(_r1o) { var _r1p = null; 1 == _r1o ? (this._editButton.visible = !0, this._editButton.activate()) : (this._editButton.visible = !1, this._updateButton.visible = !1, this._editButton.deactivate(), this._updateButton.deactivate(), this.writable = !1), this._editable = _r1o; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_r1e.prototype, 'text', { 'get': function() { var _r1q = null; return this._baseText; }, 'enumerable': !1, 'configurable': !0 }), _r1e.prototype.reload = function(_r1r) { var _r1s = null; this._baseText = _r1r, this._mirrorText.text = _r1r + this.VIEW_TEXT_SOUBI; }, _r1e.prototype.reset = function() { var _r1t = null; this._editable && (this._mirrorText.text = this._baseText + this.VIEW_TEXT_SOUBI, this.writable = !1, this._updateButton.deactivate()); }, Object.defineProperty(_r1e.prototype, 'writable', { 'set': function(_r1u) { var _r1v = null; if (this._editable) { if (_r1u) { var _r1w = new PIXI.Point(this._mirrorText.position.x + -4, this._mirrorText.position.y + -3), _r1x = this.toGlobal(_r1w); _r17.EditTextBoxUtil.init(_r1x.x, _r1x.y, 220, 16, 0), _r17.EditTextBoxUtil.onLengthCheck(), _r17.EditTextBoxUtil.text = this._baseText; } _r17.EditTextBoxUtil.setVisibility(_r1u), this._mirrorText.visible = !_r1u, this._editButton.visible = !_r1u, this._updateButton.visible = _r1u; } }, 'enumerable': !1, 'configurable': !0 }), _r1e.prototype.dispose = function() { var _r1y = null; this.removeChildren(), this._baseText = null, this._mirrorText.destroy(), this._mirrorText = null, this._editButton.dispose(), this._editButton = null, this._updateButton.dispose(), this._updateButton = null, _r17.EditTextBoxUtil.setVisibility(!1); }, _r1e; }(PIXI.Container); _r0n.EditNameArea = _r1b; }, 10333: function(_r1z, _r20, _r21) { 'use strict'; var _r22 = null; var _r23, _r24 = this && this.__extends || (_r23 = function(_r25, _r26) { var _r27 = null; return _r23 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_r28, _r29) { var _r2a = null; _r28.__proto__ = _r29; } || function(_r2b, _r2c) { var _r2d = null; for (var _r2e in _r2c) Object.prototype.hasOwnProperty.call(_r2c, _r2e) && (_r2b[_r2e] = _r2c[_r2e]); }, _r23(_r25, _r26); }, function(_r2f, _r2g) { var _r2h = null; if ('function' != typeof _r2g && null !== _r2g) throw new TypeError('Class extends value ' + String(_r2g) + ' is not a constructor or null'); function _r2i() { var _r2j = null; this.constructor = _r2f; } _r23(_r2f, _r2g), _r2f.prototype = null === _r2g ? Object.create(_r2g) : (_r2i.prototype = _r2g.prototype, new _r2i()); }); defineModule(_r20); Object.defineProperty(_r20, '__esModule', { 'value': !0 }), _r20.HorizontalScrollBar = _r20.ScrollDirection = void 0; var _r2k, _r2l = _r21(35380), _r2m = _r21(79899), _r2n = _r21(97297), _r2o = _r21(57616); ! function(_r2p) { var _r2q = null; _r2p[_r2p.LEFT = 0] = 'LEFT', _r2p[_r2p.RIGHT = 1] = 'RIGHT'; }(_r2k || (_r20.ScrollDirection = _r2k = {})); var _r2r = function(_r2s) { var _r2t = null; function _r2u(_r2v, _r2w, _r2x) { var _r2y = null, _r2z = _r2s.call(this) || this; _r2z._onDown = function(_r30) { var _r31 = null; _r2z._down_thumb_pos = _r30.data.getLocalPosition(_r2z._thumb_hitarea), _r2z._scroll_on = !0, _r2z._scroll_moveable_area.interactive = _r2z._scroll_moveable_area.buttonMode = !0, _r2z._scroll_moveable_area.visible = !0; }, _r2z._onMove = function(_r32) { var _r33 = null; if (0 != _r2z._scroll_on && null != _r2z._down_thumb_pos) { _r2z._move_on || (_r2z._offEvents(), _r2z._move_on = !0); var _r34 = _r32.data.getLocalPosition(_r2z._scroll_moveable_area), _r35 = _r32.data.getLocalPosition(_r2z), _r36 = _r2z._scroll_moveable_area.width - 10, _r37 = _r2z._scroll_moveable_area.height - 10; if (!(_r34.y < 10 || _r34.y > _r37 || _r34.x < 10 || _r34.x > _r36)) { var _r38 = _r35.x - _r2z._down_thumb_pos.x, _r39 = _r2o.MathUtil.round(_r2z._bar.position.x, 2), _r3a = _r2o.MathUtil.round(_r2z._bar.position.x + _r2z._bar.width - _r2z._thumb_hitarea.width, 2); return _r38 < _r39 ? (_r2z._thumb_hitarea.position.x = _r39, _r2z._thumb_img.position.x = _r39, void _r2z._cb_onMove(_r2z._convert_distance(_r39))) : _r38 > _r3a ? (_r2z._thumb_hitarea.position.x = _r3a, _r2z._thumb_img.position.x = _r3a, void _r2z._cb_onMove(_r2z._convert_distance(_r3a))) : null != _r2z._cb_onMove ? _r35.x >= _r2z._down_thumb_pos.x ? (_r2z._thumb_hitarea.position.x = _r38, _r2z._thumb_img.position.x = _r38, void _r2z._cb_onMove(_r2z._convert_distance(_r38))) : void _r2z._onUp() : void 0; } _r2z._onUp(); } }, _r2z._onUp = function() { var _r3b = null; _r2z._scroll_on = !1, _r2z._down_thumb_pos = null, _r2z._scroll_moveable_area.buttonMode = _r2z._scroll_moveable_area.interactive = !1, _r2z._scroll_moveable_area.visible = !1, _r2z._move_on && (_r2z._onEvents(), _r2z._move_on = !1); }, _r2z._cb_onMove = _r2v, _r2z._offEvents = _r2x, _r2z._onEvents = _r2w; var _r3c = _r2n.REMODEL_PRESET.getTexture(30), _r3d = _r2n.REMODEL_PRESET.getTexture(31); return _r2z._bar = new PIXI.Sprite(_r3c), _r2z._thumb_img = new PIXI.Sprite(_r3d), _r2z._thumb_hitarea = new PIXI.Graphics(), _r2z._thumb_hitarea.on(_r2l.EventType.MOUSEDOWN, _r2z._onDown), _r2z._thumb_hitarea.on(_r2l.EventType.MOUSEMOVE, _r2z._onMove), _r2z._thumb_hitarea.on(_r2l.EventType.MOUSEUP, _r2z._onUp), _r2z._scroll_moveable_area = new _r2m.AreaBox(0), _r2z._scroll_moveable_area.interactive = _r2z._scroll_moveable_area.buttonMode = !1, _r2z._scroll_moveable_area.visible = !1, _r2z._scroll_moveable_area.on(_r2l.EventType.MOUSEUP, _r2z._onUp), _r2z.addChild(_r2z._bar), _r2z.addChild(_r2z._scroll_moveable_area), _r2z.addChild(_r2z._thumb_img), _r2z.addChild(_r2z._thumb_hitarea), _r2z; } return _r24(_r2u, _r2s), Object.defineProperty(_r2u.prototype, 'bar', { 'get': function() { var _r3e = null; return this._bar; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_r2u.prototype, 'thumb_img', { 'get': function() { var _r3f = null; return this._thumb_img; }, 'enumerable': !1, 'configurable': !0 }), _r2u.prototype.initialize = function(_r3g, _r3h, _r3i, _r3j) { var _r3k = null; this._scroll_on = !1, this._move_on = !1; var _r3l = this.getGlobalPosition(); this._scroll_moveable_area.position.set(-_r3l.x, -_r3l.y), this._zero_point = _r3g, this._target_width = _r3i, this._one_page_width = _r3j; var _r3m = _r2o.MathUtil.round(this._one_page_width / _r3i, 10); this._thumb_img.width = this._bar.width * _r3m; var _r3n = this.reconvert_distance(_r3h); this._thumb_img.position.set(_r3n, 1), this._thumb_hitarea.clear(), this._thumb_hitarea.beginFill(16774898, 0), this._thumb_hitarea.drawRect(0, 0, this._thumb_img.width, this._thumb_img.height), this._thumb_hitarea.endFill(), this._thumb_hitarea.position.set(this._thumb_img.x, this._thumb_img.y); }, _r2u.prototype.activate = function() { var _r3o = null; this._thumb_hitarea.buttonMode = this._thumb_hitarea.interactive = !0; }, _r2u.prototype.deactivate = function() { var _r3p = null; this._thumb_hitarea.buttonMode = this._thumb_hitarea.interactive = !1; }, _r2u.prototype.dispose = function() { var _r3q = null; this.removeChildren(), this._bar.destroy(), this._bar = null, this._thumb_img.destroy(), this._thumb_img = null, this._thumb_hitarea.destroy(), this._thumb_hitarea = null, this._scroll_moveable_area.destroy(), this._scroll_moveable_area = null; }, _r2u.prototype.updatePos = function(_r3r) { var _r3s = null; this._thumb_hitarea.position.x = _r3r; }, _r2u.prototype._convert_distance = function(_r3t) { var _r3u = null, _r3v = _r2o.MathUtil.round(this._target_width / this._bar.width, 10), _r3w = this._zero_point - _r3t * _r3v; return Math.floor(_r3w); }, _r2u.prototype.reconvert_distance = function(_r3x) { var _r3y = null, _r3z = _r2o.MathUtil.round(this._bar.width / this._target_width, 10), _r40 = (this._zero_point - _r3x) * _r3z; return _r2o.MathUtil.round(_r40, 2); }, _r2u; }(PIXI.Container); _r20.HorizontalScrollBar = _r2r; }, 20624: function(_r41, _r42, _r43) { 'use strict'; var _r44 = null; var _r45, _r46 = this && this.__extends || (_r45 = function(_r47, _r48) { var _r49 = null; return _r45 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_r4a, _r4b) { var _r4c = null; _r4a.__proto__ = _r4b; } || function(_r4d, _r4e) { var _r4f = null; for (var _r4g in _r4e) Object.prototype.hasOwnProperty.call(_r4e, _r4g) && (_r4d[_r4g] = _r4e[_r4g]); }, _r45(_r47, _r48); }, function(_r4h, _r4i) { var _r4j = null; if ('function' != typeof _r4i && null !== _r4i) throw new TypeError('Class extends value ' + String(_r4i) + ' is not a constructor or null'); function _r4k() { var _r4l = null; this.constructor = _r4h; } _r45(_r4h, _r4i), _r4h.prototype = null === _r4i ? Object.create(_r4i) : (_r4k.prototype = _r4i.prototype, new _r4k()); }); defineModule(_r42); Object.defineProperty(_r42, '__esModule', { 'value': !0 }), _r42.LockBtn = void 0; var _r4m = _r43(35380), _r4n = _r43(97297), _r4o = function(_r4p) { var _r4q = null; function _r4r(_r4s) { var _r4t = null, _r4u = _r4p.call(this) || this; return _r4u._onClick = function() { var _r4v = null; null != _r4u._cb_onClick && (_r4u._locked = !_r4u._locked, _r4u._cb_onClick()); }, _r4u._cb_onClick = _r4s, _r4u.on(_r4m.EventType.CLICK, _r4u._onClick), _r4u.texture = _r4n.REMODEL_PRESET.getTexture(22), _r4u; } return _r46(_r4r, _r4p), Object.defineProperty(_r4r.prototype, 'locked', { 'get': function() { var _r4w = null; return this._locked; }, 'enumerable': !1, 'configurable': !0 }), _r4r.prototype.update = function(_r4x) { var _r4y = null; this._locked = _r4x; }, _r4r.prototype.activate = function() { var _r4z = null; this._activate(); }, _r4r.prototype.deactivate = function() { var _r50 = null; this._deactivate(); }, _r4r.prototype._deactivate = function() { var _r51 = null; this.buttonMode = this.interactive = !1, this.texture = _r4n.REMODEL_PRESET.getTexture(22); }, _r4r.prototype._activate = function() { var _r52 = null; this.buttonMode = this.interactive = !0, this._locked ? this.texture = _r4n.REMODEL_PRESET.getTexture(23) : this.texture = _r4n.REMODEL_PRESET.getTexture(21); }, _r4r.prototype.dispose = function() { var _r53 = null; this.off(_r4m.EventType.CLICK, this._onClick), this.destroy(); }, _r4r; }(PIXI.Sprite); _r42.LockBtn = _r4o; }, 90996: function(_r54, _r55, _r56) { 'use strict'; var _r57 = null; var _r58, _r59 = this && this.__extends || (_r58 = function(_r5a, _r5b) { var _r5c = null; return _r58 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_r5d, _r5e) { var _r5f = null; _r5d.__proto__ = _r5e; } || function(_r5g, _r5h) { var _r5i = null; for (var _r5j in _r5h) Object.prototype.hasOwnProperty.call(_r5h, _r5j) && (_r5g[_r5j] = _r5h[_r5j]); }, _r58(_r5a, _r5b); }, function(_r5k, _r5l) { var _r5m = null; if ('function' != typeof _r5l && null !== _r5l) throw new TypeError('Class extends value ' + String(_r5l) + ' is not a constructor or null'); function _r5n() { var _r5o = null; this.constructor = _r5k; } _r58(_r5k, _r5l), _r5k.prototype = null === _r5l ? Object.create(_r5l) : (_r5n.prototype = _r5l.prototype, new _r5n()); }); defineModule(_r55); Object.defineProperty(_r55, '__esModule', { 'value': !0 }), _r55.PresetSlotItemSlotBox = void 0; var _r5p = _r56(87967), _r5q = _r56(44172), _r5r = _r56(97297), _r5s = _r56(49980), _r5t = function(_r5u) { var _r5v = null; function _r5w(_r5x) { var _r5y = null, _r5z = _r5u.call(this) || this; _r5z.SLOT_MAX = 5, _r5z.PADDING_Y = 6, _r5z._slotItemSlots = new Array(); for (var _r60 = 0; _r60 < _r5z.SLOT_MAX; _r60++) { var _r61 = new _r5q.PresetSlotItemSlot(); _r61.y = _r5p.RemodelConst.DETAIL_LISTITEM.HEIGHT * _r60 + _r5z.PADDING_Y, _r5z._slotItemSlots.push(_r61), _r5z.addChild(_r61); } return _r5z._slotEx_txt = new PIXI.Sprite(_r5r.REMODEL_PRESET.getTexture(38)), _r5z._slotEx_txt.position.set(97, _r5p.RemodelConst.DETAIL_LISTITEM.HEIGHT * _r5z.SLOT_MAX + _r5z.PADDING_Y), _r5z._slotItemSlotEx = new _r5q.PresetSlotItemSlot(_r5x), _r5z._slotItemSlotEx.position.y = _r5z._slotEx_txt.y + _r5z._slotEx_txt.height + _r5z.PADDING_Y, _r5z._slot_empty = new PIXI.Sprite(), _r5z._slot_empty.position.set(75, 150), _r5z.addChild(_r5z._slotEx_txt), _r5z.addChild(_r5z._slotItemSlotEx), _r5z.addChild(_r5z._slot_empty), _r5z; } return _r59(_r5w, _r5u), _r5w.prototype.update = function(_r62, _r63) { var _r64 = null, _r65 = null == _r62 ? void 0 : _r62.slot_items, _r66 = null == _r62 ? void 0 : _r62.slot_item_ex; if (null == _r65 || 0 == _r65.length) this._hideSlotItems(0), this._slotItemSlotEx.visible = !1, this._slotEx_txt.visible = !1, this._slot_empty.texture = _r5s.REMODEL_PRESET_SLOT_TEXT.getTextureFromMstID(_r63), this._slot_empty.visible = !0; else { for (var _r67 = 0; _r67 < _r65.length; _r67++) this._slotItemSlots[_r67].update(_r65[_r67]), this._slotItemSlots[_r67].visible = !0; this._hideSlotItems(_r65.length), null != _r66 ? (this._slotItemSlotEx.update(_r66, _r62.slot_ex_guard_flag), this._slotEx_txt.y = _r5p.RemodelConst.DETAIL_LISTITEM.HEIGHT * _r65.length + this.PADDING_Y, this._slotItemSlotEx.position.y = this._slotEx_txt.y + this._slotEx_txt.height + this.PADDING_Y, this._slotItemSlotEx.visible = !0, this._slotEx_txt.visible = !0) : (this._slotItemSlotEx.visible = !1, this._slotEx_txt.visible = !1), this._slot_empty.visible = !1; } }, _r5w.prototype._hideSlotItems = function(_r68) { var _r69 = null; for (var _r6a = _r68, _r6b = this._slotItemSlots.length; _r6a < _r6b; _r6a++) this._slotItemSlots[_r6a].visible = !1; }, _r5w.prototype.dispose = function() { var _r6c = null, _r6d; this.removeChildren(); for (var _r6e = 0; _r6e < this._slotItemSlots.length; _r6e++) null === (_r6d = this._slotItemSlots[_r6e]) || void 0 === _r6d || _r6d.dispose(), this._slotItemSlots[_r6e] = null; this._slotItemSlots.length = 0, this._slotItemSlots = null, this._slotItemSlotEx.dispose(), this._slotItemSlotEx = null, this._slotEx_txt.destroy(), this._slotEx_txt = null, this._slot_empty.destroy(), this._slot_empty = null; }, _r5w; }(PIXI.Container); _r55.PresetSlotItemSlotBox = _r5t; }, 18013: function(_r6f, _r6g, _r6h) { 'use strict'; var _r6i = null; var _r6j, _r6k = this && this.__extends || (_r6j = function(_r6l, _r6m) { var _r6n = null; return _r6j = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_r6o, _r6p) { var _r6q = null; _r6o.__proto__ = _r6p; } || function(_r6r, _r6s) { var _r6t = null; for (var _r6u in _r6s) Object.prototype.hasOwnProperty.call(_r6s, _r6u) && (_r6r[_r6u] = _r6s[_r6u]); }, _r6j(_r6l, _r6m); }, function(_r6v, _r6w) { var _r6x = null; if ('function' != typeof _r6w && null !== _r6w) throw new TypeError('Class extends value ' + String(_r6w) + ' is not a constructor or null'); function _r6y() { var _r6z = null; this.constructor = _r6v; } _r6j(_r6v, _r6w), _r6v.prototype = null === _r6w ? Object.create(_r6w) : (_r6y.prototype = _r6w.prototype, new _r6y()); }); defineModule(_r6g); Object.defineProperty(_r6g, '__esModule', { 'value': !0 }), _r6g.ScrollLayer = void 0; var _r70 = _r6h(97297), _r71 = _r6h(35380), _r72 = _r6h(10333), _r73 = _r6h(79899), _r74 = _r6h(57616), _r75 = _r6h(16677), _r76 = function(_r77) { var _r78 = null; function _r79(_r7a, _r7b, _r7c) { var _r7d = null; void 0 === _r7c && (_r7c = null); var _r7e = _r77.call(this) || this; return _r7e._onNextClick = function() { var _r7f = null; null != _r7e._view_reset && _r7e._view_reset(), _r7e._scrollTween(250, _r72.ScrollDirection.RIGHT); }, _r7e._onPrevClick = function() { var _r7g = null; null != _r7e._view_reset && _r7e._view_reset(), _r7e._scrollTween(250, _r72.ScrollDirection.LEFT); }, _r7e._onWheel = function(_r7h) { var _r7i = null; 0 != _r7h.delta && (null != _r7e._view_reset && _r7e._view_reset(), _r7h.delta > 0 ? _r7e._scrollTween(62, _r72.ScrollDirection.RIGHT) : _r7h.delta < 0 && _r7e._scrollTween(62, _r72.ScrollDirection.LEFT)); }, _r7e._onEvents = function() { var _r7j = null; _r7e._cb_onEvents(); }, _r7e._offEvents = function() { var _r7k = null; _r7e._cb_offEvents(); }, _r7e._onScroll = function(_r7l) { var _r7m = null; null != _r7e._view_reset && _r7e._view_reset(); var _r7n = Math.floor(-_r7e._target_width + _r7e._one_page_width + _r7e._zero_point), _r7o = Math.floor(_r7e._zero_point); _r7e._target_layer.position.x = _r7l > _r7o ? _r7o : _r7l < _r7n ? _r7n : _r7l; }, _r7e._cb_onEvents = _r7a, _r7e._cb_offEvents = _r7b, _r7e._view_reset = _r7c, _r7e._nextBtn = new _r7p(1, _r7e._onNextClick), _r7e._nextBtn.position.set(931, -1), _r7e._prevBtn = new _r7p(0, _r7e._onPrevClick), _r7e._prevBtn.position.set(0, 0), _r7e._scroll = new _r72.HorizontalScrollBar(_r7e._onScroll, _r7e._onEvents, _r7e._offEvents), _r7e._scroll.position.set(30, 1), _r7e._click_guard = new _r73.AreaBox(0), _r7e._click_guard.interactive = !1, _r7e._click_guard.visible = !1, _r7e.addChild(_r7e._click_guard), _r7e.addChild(_r7e._prevBtn), _r7e.addChild(_r7e._nextBtn), _r7e.addChild(_r7e._scroll), _r7e; } return _r6k(_r79, _r77), _r79.prototype.initialize = function(_r7q, _r7r, _r7s, _r7t, _r7u) { var _r7v = null; this._target_layer = _r7q, this._zero_point = _r7r, this._target_width = _r7s, this._one_page_width = _r7t, this._one_item_width = _r7u; var _r7w = this.getGlobalPosition(); this._click_guard.position.set(-_r7w.x, -_r7w.y), this._scroll.initialize(_r7r, _r7q.position.x, _r7s, _r7t); }, _r79.prototype.moveTween = function(_r7x, _r7y) { var _r7z = null, _r80 = this._target_layer.position.x; _r7x > _r80 ? this._scrollTween(250, _r72.ScrollDirection.LEFT, _r7y) : _r7x + 2 * this._one_item_width < _r80 ? this._scrollTween(250, _r72.ScrollDirection.RIGHT, _r7y) : _r7y(); }, _r79.prototype.activate = function() { var _r81 = null; this._nextBtn.activate(), this._prevBtn.activate(), this._scroll.activate(), _r75.WheelEventUtil.regist(this._onWheel.bind(this)); }, _r79.prototype.deactivate = function() { var _r82 = null; this._nextBtn.deactivate(), this._prevBtn.deactivate(), this._scroll.deactivate(), _r75.WheelEventUtil.clear(); }, _r79.prototype._scrollTween = function(_r83, _r84, _r85) { var _r86 = null, _r87 = this; void 0 === _r85 && (_r85 = null); var _r88 = _r84 == _r72.ScrollDirection.LEFT ? this._one_item_width : -this._one_item_width, _r89 = _r74.MathUtil.round((this._target_layer.position.x - this._zero_point) % this._one_item_width, 2); !isNaN(_r89) && Math.abs(_r89) > 0.1 && Math.abs(this._one_item_width - _r89) > 0.1 && (_r88 = _r84 == _r72.ScrollDirection.LEFT ? -_r89 : -this._one_item_width - _r89); var _r8a = Math.floor(this._target_layer.position.x + _r88), _r8b = -this._target_width + this._one_page_width + this._zero_point, _r8c = this._zero_point; if (_r84 == _r72.ScrollDirection.LEFT) { if (this._target_layer.position.x >= _r8c) return; _r8a >= _r8c && (_r8a = _r8c); } else { if (this._target_layer.position.x <= _r8b) return; _r8a <= _r8b && (_r8a = _r8b); } var _r8d = this._scroll.bar.width - this._scroll.thumb_img.width, _r8e = this._scroll.reconvert_distance(_r8a); _r84 == _r72.ScrollDirection.LEFT ? (_r8e <= 0 || Math.abs(0 - _r8e) < 0.1) && (_r8e = 0) : (_r8e >= _r8d || Math.abs(_r8d - _r8e) < 0.1) && (_r8e = _r8d), null == this._thumb_move_tween && null == this._target_move_tween && (this._click_guard.interactive = !0, this._click_guard.visible = !0, this._scroll.deactivate(), this._offEvents(), this._target_move_tween = createjs.Tween.get(this._target_layer).to({ 'x': _r8a }, _r83, createjs.Ease.quadInOut), this._thumb_move_tween = createjs.Tween.get(this._scroll.thumb_img).to({ 'x': _r8e }, _r83, createjs.Ease.quadInOut).call(function() { var _r8f = null; _r87._target_move_tween = null, _r87._thumb_move_tween = null, _r87._scroll.updatePos(_r8e), _r87._onEvents(), _r87._scroll.activate(), _r87._click_guard.interactive = !1, _r87._click_guard.visible = !1, null != _r85 && _r85(); })); }, _r79.prototype.dispose = function() { var _r8g = null; null != this._thumb_move_tween && (this._thumb_move_tween.setPaused(!0), this._thumb_move_tween.removeAllEventListeners(), this._thumb_move_tween = null), null != this._target_move_tween && (this._target_move_tween.setPaused(!0), this._target_move_tween.removeAllEventListeners(), this._target_move_tween = null), this.removeChildren(), this._prevBtn.dispose(), this._prevBtn = null, this._nextBtn.dispose(), this._nextBtn = null, this._scroll.dispose(), this._scroll = null, this._click_guard.destroy(), this._click_guard = null, _r75.WheelEventUtil.clear(); }, _r79; }(PIXI.Container); _r6g.ScrollLayer = _r76; var _r7p = function(_r8h) { var _r8i = null; function _r8j(_r8k, _r8l) { var _r8m = null, _r8n = _r8h.call(this) || this; return _r8n._onClick = function() { var _r8o = null; null != _r8n._cb_onClick && (_r8n._cb_onClick(), 0 == _r8n._mouseTimer && (_r8n._mouseTimer = window.setInterval(function() { var _r8p = null; 0 != _r8n.visible ? _r8n._cb_onClick() : _r8n._onMouseUp(); }, 300))); }, _r8n._onMouseUp = function() { var _r8q = null; clearInterval(_r8n._mouseTimer), _r8n._mouseTimer = 0; }, _r8n._onMouseMove = function(_r8r) { var _r8s = null, _r8t = _r8r.data.getLocalPosition(_r8n); _r8n.hitArea.contains(_r8t.x, _r8t.y) || _r8n._onMouseUp(); }, _r8n._mouseTimer = 0, _r8n.texture = _r70.REMODEL_PRESET.getTexture(_r8k), _r8n._cb_onClick = _r8l, _r8n.hitArea = new PIXI.Circle(11, 10, 24), _r8n.on(_r71.EventType.MOUSEUP, _r8n._onMouseUp), _r8n.on(_r71.EventType.MOUSEDOWN, _r8n._onClick), _r8n.on(_r71.EventType.MOUSEMOVE, _r8n._onMouseMove), _r8n; } return _r6k(_r8j, _r8h), _r8j.prototype.activate = function() { var _r8u = null; this.buttonMode = this.interactive = !0; }, _r8j.prototype.deactivate = function() { var _r8v = null; this.buttonMode = this.interactive = !1; }, _r8j.prototype.dispose = function() { var _r8w = null; clearInterval(this._mouseTimer), this.off(_r71.EventType.MOUSEUP, this._onMouseUp), this.off(_r71.EventType.MOUSEDOWN, this._onClick), this.off(_r71.EventType.MOUSEMOVE, this._onMouseMove), this.destroy(); }, _r8j; }(PIXI.Sprite); }, 88656: function(_r8x, _r8y, _r8z) { 'use strict'; var _r90 = null; var _r91, _r92 = this && this.__extends || (_r91 = function(_r93, _r94) { var _r95 = null; return _r91 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_r96, _r97) { var _r98 = null; _r96.__proto__ = _r97; } || function(_r99, _r9a) { var _r9b = null; for (var _r9c in _r9a) Object.prototype.hasOwnProperty.call(_r9a, _r9c) && (_r99[_r9c] = _r9a[_r9c]); }, _r91(_r93, _r94); }, function(_r9d, _r9e) { var _r9f = null; if ('function' != typeof _r9e && null !== _r9e) throw new TypeError('Class extends value ' + String(_r9e) + ' is not a constructor or null'); function _r9g() { var _r9h = null; this.constructor = _r9d; } _r91(_r9d, _r9e), _r9d.prototype = null === _r9e ? Object.create(_r9e) : (_r9g.prototype = _r9e.prototype, new _r9g()); }), _r9i = this && this.__importDefault || function(_r9j) { var _r9k = null; return _r9j && _r9j.__esModule ? _r9j : { 'default': _r9j }; }; defineModule(_r8y); Object.defineProperty(_r8y, '__esModule', { 'value': !0 }), _r8y.BackAreaChoiceShip = void 0; var _r9l = _r9i(_r8z(21359)), _r9m = _r8z(35380), _r9n = function(_r9o) { var _r9p = null; function _r9q() { var _r9r = null, _r9s = _r9o.call(this) || this; return _r9s._onClick = function() { var _r9t = null; _r9s.onClick(); }, (_r9s.beginFill(0, 0.5), _r9s.drawRect(0, 103, _r9l.default.width, _r9l.default.height - 103), _r9s.endFill(), _r9s.interactive = !0, _r9s.addListener(_r9m.EventType.CLICK, _r9s._onClick), _r9s); } return _r92(_r9q, _r9o), _r9q.prototype.dispose = function() { var _r9u = null; this.onClick = this._onClick = null, this.clear(), this.removeAllListeners(_r9m.EventType.CLICK); }, _r9q; }(PIXI.Graphics); _r8y.BackAreaChoiceShip = _r9n; }, 5247: function(_r9v, _r9w, _r9x) { 'use strict'; var _r9y = null; var _r9z, _ra0 = this && this.__extends || (_r9z = function(_ra1, _ra2) { var _ra3 = null; return _r9z = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ra4, _ra5) { var _ra6 = null; _ra4.__proto__ = _ra5; } || function(_ra7, _ra8) { var _ra9 = null; for (var _raa in _ra8) Object.prototype.hasOwnProperty.call(_ra8, _raa) && (_ra7[_raa] = _ra8[_raa]); }, _r9z(_ra1, _ra2); }, function(_rab, _rac) { var _rad = null; if ('function' != typeof _rac && null !== _rac) throw new TypeError('Class extends value ' + String(_rac) + ' is not a constructor or null'); function _rae() { var _raf = null; this.constructor = _rab; } _r9z(_rab, _rac), _rab.prototype = null === _rac ? Object.create(_rac) : (_rae.prototype = _rac.prototype, new _rae()); }); defineModule(_r9w); Object.defineProperty(_r9w, '__esModule', { 'value': !0 }), _r9w.ShipList = void 0; var _rag = _r9x(15869), _rah = _r9x(43712), _rai = _r9x(1893), _raj = _r9x(43905), _rak = _r9x(20843), _ral = _r9x(8744), _ram = _r9x(90054), _ran = _r9x(34654), _rao = _r9x(87967), _rap = _r9x(38834), _raq = _r9x(57828), _rar = _r9x(77473), _ras = _r9x(35380), _rat = function(_rau) { var _rav = null; function _raw() { var _rax = null, _ray = _rau.call(this) || this; _ray._onClick = function(_raz, _rb0) { var _rb1 = null; _ray.onClick(_raz, _rb0); }; var _rb2 = new PIXI.Sprite(_ran.REMODEL_POWERUP.getTexture(17)), _rb3 = new PIXI.Sprite(_ran.REMODEL_POWERUP.getTexture(33)), _rb4 = new _rai.PagerView(), _rb5 = new _rak.ShipSortButton(), _rb6 = new Array(), _rb7 = new PIXI.Container(), _rb8 = new _raq.TitleBar(); _rb8.initialize(_ram.COMMON_MAIN.getTexture(1), 38), _rb2.interactive = !0, _rb3.position.set(51, 12), _rb4.position.set(39, 521), _rb7.position.set(51, 48), _rb5.position.set(488, 6), _ray.addChild(_rb2, _rb3), _ray.addChild(_rb4), _ray.addChild(_rb5); for (var _rb9 = 0; _rb9 < _rao.RemodelConst.ITEM_NUM; _rb9++) { var _rba = new _rbb(_rb9); _rba.visible = !1, _rba.onClick = _ray._onClick, _rba.x = 51, _rba.y = 48 + 45 * _rb9, _rb6.push(_rba), _ray.addChild(_rba); } return _ray.addChild(_rb8), _rb8.position.set(0, -37), _ray._pagerView = _rb4, _ray._shipSortButton = _rb5, _ray.listItems = _rb6, _ray.headerKansenSentaku = _rb8, _ray; } return _ra0(_raw, _rau), Object.defineProperty(_raw.prototype, 'shipSortButton', { 'get': function() { var _rbc = null; return this._shipSortButton; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_raw.prototype, 'pagerView', { 'get': function() { var _rbd = null; return this._pagerView; }, 'enumerable': !1, 'configurable': !0 }), _raw.prototype.clear = function() { var _rbe = null; this.listItems.forEach(function(_rbf) { var _rbg = null; return _rbf.visible = !1; }); }, _raw.prototype.update = function(_rbh, _rbi, _rbj, _rbk) { var _rbl = null, _rbm = this.listItems[_rbh]; _rbm.update(_rbi, _rbj, _rbk), _rbm.visible = !0; }, _raw.prototype.dispose = function() { var _rbn = null; this._shipSortButton.dispose(), this._pagerView.dispose(), this.headerKansenSentaku.dispose(), this.listItems.forEach(function(_rbo) { var _rbp = null; _rbo.dispose(); }), this.onClick = null, this._onClick = null, this._shipSortButton = null, this._pagerView = null, this.headerKansenSentaku = null, this.listItems = null; }, _raw; }(PIXI.Container); _r9w.ShipList = _rat; var _rbb = function(_rbq) { var _rbr = null; function _rbs(_rbt) { var _rbu = null, _rbv = _rbq.call(this) || this; _rbv._onMouseOver = function() { var _rbw = null; _rbv.background.alpha = 1, _rbv.textType.style.fill = _rbv.textName.style.fill = _rbv.textLevel.style.fill = 16777215; }, _rbv._onMouseOut = function() { var _rbx = null; _rbv.background.alpha = 0, _rbv.textType.style.fill = _rbv.textName.style.fill = 5523516, _rbv.textLevel.style.fill = _rbv.mouseoutColor; }, _rbv._onClick = function() { var _rby = null; _rbv.onClick(_rbv.index, _rbv.memId); }; var _rbz = Math.floor(22.5) + 1, _rc0 = new PIXI.Sprite(_ram.COMMON_MAIN.getTexture(18)), _rc1 = new PIXI.Container(), _rc2 = new _ral.TextBox(18, 5523516), _rc3 = new _ral.TextBox(20, 5523516), _rc4 = new _ral.TextBox(20, 5523516), _rc5 = new _rar.IconCategory(), _rc6 = new _rar.IconCategory(), _rc7 = new _rar.IconCategory(), _rc8 = new _rar.IconCategory(), _rc9 = new _raj.ShipInDeckFlag(), _rca = _rah.CreateRect.gradientLeftToRight(270, 45, 0.75, 0.85); return _rc9.scale.set(0.8, 0.8), _rc0.position.x = -33, _rc0.scale.x = 1.2, _rc0.interactive = _rc0.buttonMode = !0, _rc0.alpha = 0, _rc0.on(_ras.EventType.MOUSEOVER, _rbv._onMouseOver), _rc0.on(_ras.EventType.MOUSEOUT, _rbv._onMouseOut), _rc0.on(_ras.EventType.CLICK, _rbv._onClick), _rc2.anchor.y = 0, _rc2.position.y = Math.floor(_rbz - _rc2.height / 2), _rc3.anchor.y = 0, _rc3.position.y = Math.floor(_rbz - _rc3.height / 2) + 0, _rc4.anchor.y = 0, _rc4.position.set(293, Math.floor(_rbz - _rc4.height / 2) + 0), _rc1.position.set(17, 0), _rc5.position.set(311, 0), _rc6.position.set(356, 0), _rc7.position.set(401, 0), _rc8.position.set(446, 0), _rc9.anchor.set(0, 0.5), _rc9.position.set(-15, _rbz), _rc9.visible = !1, _rc4.anchor.x = 1, _rc1.mask = _rca, _rc1.addChild(_rc2, _rc3, _rca), _rbv.addChild(_rc0, _rc1, _rc4, _rc5, _rc6, _rc7, _rc8, _rc9), _rbv.textType = _rc2, _rbv.textName = _rc3, _rbv.textLevel = _rc4, _rbv.iconCategory_0 = _rc5, _rbv.iconCategory_1 = _rc6, _rbv.iconCategory_2 = _rc7, _rbv.iconCategory_3 = _rc8, _rbv.background = _rc0, _rbv.index = _rbt, _rbv.memId = -1, _rbv.shipInDeckFlag = _rc9, _rbv.containerTypeAndName = _rc1, _rbv.maskTextAndName = _rca, _rbv; } return _ra0(_rbs, _rbq), _rbs.prototype.dispose = function() { var _rcb = null; this.removeChildren(), this.containerTypeAndName.mask = null, this.containerTypeAndName.removeChildren(), this.iconCategory_0.dispose(), this.iconCategory_1.dispose(), this.iconCategory_2.dispose(), this.iconCategory_3.dispose(), this.background.off(_ras.EventType.MOUSEOVER), this.background.off(_ras.EventType.MOUSEOUT), this.background.off(_ras.EventType.CLICK), this.textType.destroy(), this.textName.destroy(), this.textLevel.destroy(), this.onClick = null, this.memId = null, this.textType = null, this.textName = null, this.textLevel = null, this.iconCategory_0 = null, this.iconCategory_1 = null, this.iconCategory_2 = null, this.iconCategory_3 = null, this.background = null, this.shipInDeckFlag = null, this.maskTextAndName = null, this.containerTypeAndName = null, this.mouseoutColor = null; }, _rbs.prototype.update = function(_rcc, _rcd, _rce) { var _rcf = null; this.shipInDeckFlag.visible = !1, _rce && (this.shipInDeckFlag.update(_rce), this.shipInDeckFlag.visible = !0), this.textLevel.style.fill = this.mouseoutColor = _rag.ColorUtil.getLevelColor(_rcc.level), this.memId = _rcc.memID; var _rcg = _rap.RemodelUtil.genPowUpCategories(_rcd); this.textLevel.text = _rcc.level.toString(), this.textName.text = _rcc.name, this.textType.text = _rcc.shipTypeName + '\x20', this.textName.position.x = this.textType.x + this.textType.width, this.iconCategory_0.update(_rcg[0]), this.iconCategory_1.update(_rcg[1]), this.iconCategory_2.update(_rcg[2]), this.iconCategory_3.update(_rcg[3]); }, _rbs; }(PIXI.Container); }, 60769: function(_rch, _rci, _rcj) { 'use strict'; var _rck = null; var _rcl, _rcm = this && this.__extends || (_rcl = function(_rcn, _rco) { var _rcp = null; return _rcl = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_rcq, _rcr) { var _rcs = null; _rcq.__proto__ = _rcr; } || function(_rct, _rcu) { var _rcv = null; for (var _rcw in _rcu) Object.prototype.hasOwnProperty.call(_rcu, _rcw) && (_rct[_rcw] = _rcu[_rcw]); }, _rcl(_rcn, _rco); }, function(_rcx, _rcy) { var _rcz = null; if ('function' != typeof _rcy && null !== _rcy) throw new TypeError('Class extends value ' + String(_rcy) + ' is not a constructor or null'); function _rd0() { var _rd1 = null; this.constructor = _rcx; } _rcl(_rcx, _rcy), _rcx.prototype = null === _rcy ? Object.create(_rcy) : (_rd0.prototype = _rcy.prototype, new _rd0()); }); defineModule(_rci); Object.defineProperty(_rci, '__esModule', { 'value': !0 }), _rci.DeployPresetButton = void 0; var _rd2 = _rcj(35380), _rd3 = _rcj(97297), _rd4 = function(_rd5) { var _rd6 = null; function _rd7() { var _rd8 = null, _rd9 = _rd5.call(this) || this; return _rd9._onClick = function() { var _rda = null; _rd9.onClick(); }, _rd9._onMouseOver = function() { var _rdb = null; _rd9.texture = _rd9.texture_on; }, _rd9._onMouseOut = function() { var _rdc = null; _rd9.texture = _rd9.texture_off; }, _rd9.texture_on = _rd3.REMODEL_PRESET.getTexture(39), _rd9.texture_off = _rd3.REMODEL_PRESET.getTexture(39), _rd9.texture_none = _rd3.REMODEL_PRESET.getTexture(40), _rd9.on(_rd2.EventType.CLICK, _rd9._onClick), _rd9.on(_rd2.EventType.MOUSEOVER, _rd9._onMouseOver), _rd9.on(_rd2.EventType.MOUSEOUT, _rd9._onMouseOut), _rd9.interactive = _rd9.buttonMode = !0, _rd9; } return _rcm(_rd7, _rd5), _rd7.prototype.update = function(_rdd) { var _rde = null; this.texture = this.texture_none, this.interactive = this.buttonMode = !1, _rdd && (this.texture = this.texture_off, this.interactive = this.buttonMode = !0); }, _rd7.prototype.dispose = function() { var _rdf = null; this.off(_rd2.EventType.CLICK), this.off(_rd2.EventType.MOUSEOVER), this.off(_rd2.EventType.MOUSEOUT), this.onClick = null, this.texture_on = null, this.texture_off = null, this.texture_none = null, this.removeChildren(); }, _rd7; }(PIXI.Sprite); _rci.DeployPresetButton = _rd4; }, 17193: function(_rdg, _rdh, _rdi) { 'use strict'; var _rdj = null; var _rdk, _rdl = this && this.__extends || (_rdk = function(_rdm, _rdn) { var _rdo = null; return _rdk = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_rdp, _rdq) { var _rdr = null; _rdp.__proto__ = _rdq; } || function(_rds, _rdt) { var _rdu = null; for (var _rdv in _rdt) Object.prototype.hasOwnProperty.call(_rdt, _rdv) && (_rds[_rdv] = _rdt[_rdv]); }, _rdk(_rdm, _rdn); }, function(_rdw, _rdx) { var _rdy = null; if ('function' != typeof _rdx && null !== _rdx) throw new TypeError('Class extends value ' + String(_rdx) + ' is not a constructor or null'); function _rdz() { var _re0 = null; this.constructor = _rdw; } _rdk(_rdw, _rdx), _rdw.prototype = null === _rdx ? Object.create(_rdx) : (_rdz.prototype = _rdx.prototype, new _rdz()); }); defineModule(_rdh); Object.defineProperty(_rdh, '__esModule', { 'value': !0 }), _rdh.DetachAllButton = void 0; var _re1 = _rdi(31000), _re2 = _rdi(35380), _re3 = function(_re4) { var _re5 = null; function _re6() { var _re7 = null, _re8 = _re4.call(this) || this; return _re8._onMouseOver = function() { var _re9 = null; _re8.gauge_on.visible = !0, _re8.huki.visible = !0; }, _re8._onMouseOut = function() { var _rea = null; _re8.gauge_on.visible = !1, _re8.huki.visible = !1; }, _re8._onClick = function() { var _reb = null; _re8.onClick(); }, _re8.textureGauge1 = _re1.REMODEL_MAIN.getTexture(24), _re8.textureGauge1_on = _re1.REMODEL_MAIN.getTexture(25), _re8.textureGauge2 = _re1.REMODEL_MAIN.getTexture(26), _re8.textureGauge2_on = _re1.REMODEL_MAIN.getTexture(27), _re8.textureGauge3 = _re1.REMODEL_MAIN.getTexture(28), _re8.textureGauge3_on = _re1.REMODEL_MAIN.getTexture(29), _re8.textureGauge4 = _re1.REMODEL_MAIN.getTexture(30), _re8.textureGauge4_on = _re1.REMODEL_MAIN.getTexture(31), _re8.textureGauge5 = _re1.REMODEL_MAIN.getTexture(32), _re8.textureGauge5_on = _re1.REMODEL_MAIN.getTexture(33), _re8.gauge = new PIXI.Sprite(), _re8.gauge_on = new PIXI.Sprite(), _re8.gauge_on.visible = !1, _re8.huki = new PIXI.Sprite(_re1.REMODEL_MAIN.getTexture(36)), _re8.huki.position.x = -6, _re8.huki.visible = !1, _re8.slotIconDelete = new PIXI.Sprite(_re1.REMODEL_MAIN.getTexture(51)), _re8.slotIconDelete.on(_re2.EventType.MOUSEOVER, _re8._onMouseOver), _re8.slotIconDelete.on(_re2.EventType.MOUSEOUT, _re8._onMouseOut), _re8.slotIconDelete.on(_re2.EventType.CLICK, _re8._onClick), _re8.slotIconDelete.interactive = _re8.slotIconDelete.buttonMode = !0, _re8.slotIconDelete.anchor.x = 0.5, _re8.slotIconDelete.x = 11, _re8.addChild(_re8.gauge, _re8.gauge_on, _re8.slotIconDelete, _re8.huki), _re8; } return _rdl(_re6, _re4), _re6.prototype.dispose = function() { var _rec = null; this.slotIconDelete.off(_re2.EventType.CLICK), this.slotIconDelete.off(_re2.EventType.MOUSEOUT), this.slotIconDelete.off(_re2.EventType.MOUSEOVER), this.onClick = null, this.gauge = null, this.gauge_on = null, this.slotIconDelete = null, this.huki = null, this.textureGauge1 = null, this.textureGauge1_on = null, this.textureGauge2 = null, this.textureGauge2_on = null, this.textureGauge3 = null, this.textureGauge3_on = null, this.textureGauge4 = null, this.textureGauge4_on = null, this.textureGauge5 = null, this.textureGauge5_on = null, this.removeChildren(); }, _re6.prototype.update = function(_red) { var _ree = null; switch (_red) { case 0: this.visible = !1; break; case 1: this.gauge.texture = this.textureGauge1, this.gauge_on.texture = this.textureGauge1_on, this.slotIconDelete.y = 32 + this.slotIconDelete.height, this.slotIconDelete.visible = !0, this.huki.position.y = 35; break; case 2: this.gauge.texture = this.textureGauge2, this.gauge_on.texture = this.textureGauge2_on, this.slotIconDelete.y = 81 + this.slotIconDelete.height, this.slotIconDelete.visible = !0, this.huki.position.y = 84; break; case 3: this.gauge.texture = this.textureGauge3, this.gauge_on.texture = this.textureGauge3_on, this.slotIconDelete.y = 131 + this.slotIconDelete.height, this.slotIconDelete.visible = !0, this.huki.position.y = 134; break; case 4: this.gauge.texture = this.textureGauge4, this.gauge_on.texture = this.textureGauge4_on, this.slotIconDelete.y = 180 + this.slotIconDelete.height, this.slotIconDelete.visible = !0, this.huki.position.y = 183; break; case 5: this.gauge.texture = this.textureGauge5, this.gauge_on.texture = this.textureGauge5_on, this.slotIconDelete.y = 230 + this.slotIconDelete.height, this.slotIconDelete.visible = !0, this.huki.position.y = 233; } }, _re6; }(PIXI.Container); _rdh.DetachAllButton = _re3; }, 23112: function(_ref, _reg, _reh) { 'use strict'; var _rei = null; var _rej, _rek = this && this.__extends || (_rej = function(_rel, _rem) { var _ren = null; return _rej = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_reo, _rep) { var _req = null; _reo.__proto__ = _rep; } || function(_rer, _res) { var _ret = null; for (var _reu in _res) Object.prototype.hasOwnProperty.call(_res, _reu) && (_rer[_reu] = _res[_reu]); }, _rej(_rel, _rem); }, function(_rev, _rew) { var _rex = null; if ('function' != typeof _rew && null !== _rew) throw new TypeError('Class extends value ' + String(_rew) + ' is not a constructor or null'); function _rey() { var _rez = null; this.constructor = _rev; } _rej(_rev, _rew), _rev.prototype = null === _rew ? Object.create(_rew) : (_rey.prototype = _rew.prototype, new _rey()); }), _rf0 = this && this.__createBinding || (Object.create ? function(_rf1, _rf2, _rf3, _rf4) { var _rf5 = null; void 0 === _rf4 && (_rf4 = _rf3); var _rf6 = Object.getOwnPropertyDescriptor(_rf2, _rf3); _rf6 && !('get' in _rf6 ? !_rf2.__esModule : _rf6.writable || _rf6.configurable) || (_rf6 = { 'enumerable': !0, 'get': function() { return _rf2[_rf3]; } }), Object.defineProperty(_rf1, _rf4, _rf6); } : function(_rf7, _rf8, _rf9, _rfa) { void 0 === _rfa && (_rfa = _rf9), _rf7[_rfa] = _rf8[_rf9]; }), _rfb = this && this.__setModuleDefault || (Object.create ? function(_rfc, _rfd) { var _rfe = null; Object.defineProperty(_rfc, 'default', { 'enumerable': !0, 'value': _rfd }); } : function(_rff, _rfg) { var _rfh = null; _rff.default = _rfg; }), _rfi = this && this.__importStar || function(_rfj) { var _rfk = null; if (_rfj && _rfj.__esModule) return _rfj; var _rfl = {}; if (null != _rfj) { for (var _rfm in _rfj) 'default' !== _rfm && Object.prototype.hasOwnProperty.call(_rfj, _rfm) && _rf0(_rfl, _rfj, _rfm); } return _rfb(_rfl, _rfj), _rfl; }; defineModule(_reg); Object.defineProperty(_reg, '__esModule', { 'value': !0 }), _reg.DetachButton = void 0; var _rfn = _rfi(_reh(31000)), _rfo = _reh(35380), _rfp = function(_rfq) { var _rfr = null; function _rfs() { var _rft = null, _rfu = _rfq.call(this) || this; return _rfu._onClick = function() { var _rfv = null; _rfu.onClick(); }, _rfu.slotIconDelete = new PIXI.Sprite(_rfn.REMODEL_MAIN.getTexture(51)), _rfu.clickArea = new PIXI.Graphics(), _rfu.clickArea.beginFill(0, 0), _rfu.clickArea.drawRect(0, 0, 30, 45), _rfu.clickArea.y = -_rfu.clickArea.height / 2 + _rfu.slotIconDelete.height / 2, _rfu.clickArea.endFill(), _rfu.clickArea.renderable = !1, _rfu.addChild(_rfu.clickArea), _rfu.addChild(_rfu.slotIconDelete), _rfu.interactive = _rfu.buttonMode = !0, _rfu.on(_rfo.EventType.CLICK, _rfu._onClick), _rfu; } return _rek(_rfs, _rfq), _rfs.prototype.dispose = function() { var _rfw = null; this.removeChildren(), this.off(_rfo.EventType.CLICK), this.clickArea.clear(), this.slotIconDelete = null, this.clickArea = null, this.onClick = null; }, _rfs; }(PIXI.Container); _reg.DetachButton = _rfp; }, 19645: function(_rfx, _rfy, _rfz) { 'use strict'; var _rg0 = null; var _rg1, _rg2 = this && this.__extends || (_rg1 = function(_rg3, _rg4) { var _rg5 = null; return _rg1 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_rg6, _rg7) { var _rg8 = null; _rg6.__proto__ = _rg7; } || function(_rg9, _rga) { var _rgb = null; for (var _rgc in _rga) Object.prototype.hasOwnProperty.call(_rga, _rgc) && (_rg9[_rgc] = _rga[_rgc]); }, _rg1(_rg3, _rg4); }, function(_rgd, _rge) { var _rgf = null; if ('function' != typeof _rge && null !== _rge) throw new TypeError('Class extends value ' + String(_rge) + ' is not a constructor or null'); function _rgg() { var _rgh = null; this.constructor = _rgd; } _rg1(_rgd, _rge), _rgd.prototype = null === _rge ? Object.create(_rge) : (_rgg.prototype = _rge.prototype, new _rgg()); }); defineModule(_rfy); Object.defineProperty(_rfy, '__esModule', { 'value': !0 }), _rfy.ExtensionButton = void 0; var _rgi = _rfz(31000), _rgj = _rfz(35380), _rgk = function(_rgl) { var _rgm = null; function _rgn() { var _rgo = null, _rgp = _rgl.call(this) || this; return _rgp._onClick = function() { var _rgq = null; _rgp.onClick(); }, _rgp._onMouseOver = function() { var _rgr = null; _rgp.extensionPopUp.alpha = 1; }, _rgp._onMouseOut = function() { var _rgs = null; _rgp.extensionPopUp.alpha = 0; }, _rgp.clickArea = new PIXI.Graphics(), _rgp.clickArea.beginFill(0, 0), _rgp.clickArea.drawRect(0, 0, 330, 180), _rgp.clickArea.endFill(), _rgp.clickArea.on(_rgj.EventType.MOUSEOVER, _rgp._onMouseOver), _rgp.clickArea.on(_rgj.EventType.MOUSEOUT, _rgp._onMouseOut), _rgp.clickArea.on(_rgj.EventType.CLICK, _rgp._onClick), _rgp.clickArea.renderable = !1, _rgp.clickArea.interactive = _rgp.clickArea.buttonMode = !0, _rgp.extensionPopUp = new PIXI.Sprite(_rgi.REMODEL_MAIN.getTexture(37)), _rgp.extensionPopUp.alpha = 0, _rgp.extensionPopUp.position.set(113, 0), _rgp.addChild(_rgp.clickArea), _rgp.addChild(_rgp.extensionPopUp), _rgp; } return _rg2(_rgn, _rgl), _rgn.prototype.dispose = function() { var _rgt = null; this.clickArea.off(_rgj.EventType.MOUSEOVER), this.clickArea.off(_rgj.EventType.MOUSEOUT), this.clickArea.off(_rgj.EventType.CLICK), this.onClick = null, this.clickArea = null, this.extensionPopUp = null, this.removeChildren(); }, _rgn; }(PIXI.Container); _rfy.ExtensionButton = _rgk; }, 61355: function(_rgu, _rgv, _rgw) { 'use strict'; var _rgx = null; var _rgy, _rgz = this && this.__extends || (_rgy = function(_rh0, _rh1) { var _rh2 = null; return _rgy = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_rh3, _rh4) { var _rh5 = null; _rh3.__proto__ = _rh4; } || function(_rh6, _rh7) { var _rh8 = null; for (var _rh9 in _rh7) Object.prototype.hasOwnProperty.call(_rh7, _rh9) && (_rh6[_rh9] = _rh7[_rh9]); }, _rgy(_rh0, _rh1); }, function(_rha, _rhb) { var _rhc = null; if ('function' != typeof _rhb && null !== _rhb) throw new TypeError('Class extends value ' + String(_rhb) + ' is not a constructor or null'); function _rhd() { var _rhe = null; this.constructor = _rha; } _rgy(_rha, _rhb), _rha.prototype = null === _rhb ? Object.create(_rhb) : (_rhd.prototype = _rhb.prototype, new _rhd()); }), _rhf = this && this.__importDefault || function(_rhg) { var _rhh = null; return _rhg && _rhg.__esModule ? _rhg : { 'default': _rhg }; }; defineModule(_rgv); Object.defineProperty(_rgv, '__esModule', { 'value': !0 }), _rgv.ExtraSlotItemSlot = void 0; var _rhi = _rhf(_rgw(18622)), _rhj = _rgw(6218), _rhk = _rgw(8744), _rhl = _rgw(47374), _rhm = _rgw(23112), _rhn = _rgw(35380), _rho = _rgw(97638), _rhp = function(_rhq) { var _rhr = null; function _rhs() { var _rht = null, _rhu = _rhq.call(this) || this; return _rhu._onClick = function() { var _rhv = null; _rhu.onClick(); }, _rhu._onClickDetach = function() { var _rhw = null; _rhu.onClickDetach(); }, _rhu._onMouseOver = function() { var _rhx = null; _rhu.namePopUp.alpha = 1; }, _rhu._onMouseOut = function() { var _rhy = null; _rhu.namePopUp.alpha = 0; }, _rhu.exSlotBg = new PIXI.Sprite(_rhl.REMODEL_MAIN.getTexture(21)), _rhu.iconSlot00 = new PIXI.Sprite(_rhl.REMODEL_MAIN.getTexture(38)), _rhu.iconWeapon = new _rhj.IconWeapon(), _rhu.detachButton = new _rhm.DetachButton(), _rhu.namePopUp = new _rhz(), _rhu.clickArea = new PIXI.Graphics(), _rhu.iconWeapon.position.set(6, 6), _rhu.iconSlot00.position.set(6, 6), _rhu.detachButton.position.set(57, 21), _rhu.namePopUp.position.set(33, 63), _rhu.addChild(_rhu.exSlotBg, _rhu.iconSlot00), _rhu.addChild(_rhu.iconWeapon), _rhu.addChild(_rhu.detachButton), _rhu.addChild(_rhu.namePopUp), _rhu.addChild(_rhu.clickArea), _rhu.clickArea.beginFill(0, 0), _rhu.clickArea.drawRect(0, 0, 57, 57), _rhu.clickArea.endFill(), _rhu.clickArea.on(_rhn.EventType.CLICK, _rhu._onClick), _rhu.clickArea.on(_rhn.EventType.MOUSEOVER, _rhu._onMouseOver), _rhu.clickArea.on(_rhn.EventType.MOUSEOUT, _rhu._onMouseOut), _rhu.clickArea.renderable = !1, _rhu.clickArea.interactive = _rhu.clickArea.buttonMode = !0, _rhu.detachButton.onClick = _rhu._onClickDetach, _rhu.namePopUp.visible = !1, _rhu; } return _rgz(_rhs, _rhq), _rhs.prototype.dispose = function() { var _ri0 = null; this.iconWeapon.dispose(), this.detachButton.dispose(), this.namePopUp.dispose(), this.onClick = null, this.onClickDetach = null, this.iconWeapon = null, this.exSlotBg = null, this.iconSlot00 = null, this.detachButton = null, this.namePopUp = null, this.clickArea.off(_rhn.EventType.CLICK), this.clickArea.off(_rhn.EventType.MOUSEOVER), this.clickArea.off(_rhn.EventType.MOUSEOUT), this.clickArea.clear(), this.clickArea = null, this.removeChildren(); }, _rhs.prototype.update = function(_ri1) { var _ri2 = null; this.iconWeapon.update(_ri1.iconType), this.namePopUp.update(_ri1.name, _ri1.level), this.detachButton.visible = !0, this.interactive = this.buttonMode = !0, this.namePopUp.visible = !0, this.namePopUp.alpha = 0; }, _rhs.prototype.clear = function() { var _ri3 = null; this.iconWeapon.clear(), this.detachButton.visible = !1, this.interactive = this.buttonMode = !0, this.namePopUp.visible = !1; }, _rhs; }(PIXI.Container); _rgv.ExtraSlotItemSlot = _rhp; var _rhz = function(_ri4) { var _ri5 = null; function _ri6() { var _ri7 = null, _ri8 = _ri4.call(this) || this; return _ri8.TEXT_OFFSET_X = 3, _ri8.TEXT_OFFSET_Y = 5, _ri8.LEVEL_OFFSET_Y = 6, _ri8.left = new PIXI.Sprite(_rhi.default.resources.getUIImage('6slot_huki1_l.png', 'remodel')), _ri8.right = new PIXI.Sprite(_rhi.default.resources.getUIImage('6slot_huki1_r.png', 'remodel')), _ri8.center = new PIXI.Sprite(_rhi.default.resources.getUIImage('6slot_huki1_c.png', 'remodel')), _ri8.head = new PIXI.Sprite(_rhi.default.resources.getUIImage('6slot_huki2.png', 'remodel')), _ri8.textName = new _rhk.TextBox(18, 5523516), _ri8.levelStar = new _rho.SlotItemLevel(), _ri8.textName.anchor.x = _ri8.left.anchor.x = _ri8.center.anchor.x = 1, _ri8.head.position.set(-18.75, 3 - _ri8.head.height), _ri8.addChild(_ri8.left, _ri8.center, _ri8.right, _ri8.textName, _ri8.head), _ri8.addChild(_ri8.levelStar), _ri8; } return _rgz(_ri6, _ri4), _ri6.prototype.dispose = function() { var _ri9 = null; this.removeChildren(), this.textName.destroy(), this.levelStar.dispose(), this.left = null, this.center = null, this.right = null, this.head = null, this.textName = null, this.levelStar = null; }, _ri6.prototype.update = function(_ria, _rib) { var _ric = null; this.levelStar.update(_rib); var _rid = 0, _rie = -5; _rib > 0 && (this.levelStar.position.set(this.TEXT_OFFSET_X + (10 == _rib ? -3 : 0), this.LEVEL_OFFSET_Y), _rid = 48, _rie = 43), this.textName.position.set(_rie + this.TEXT_OFFSET_X - _rid, this.TEXT_OFFSET_Y), this.center.scale.x = 1, this.textName.text = _ria; var _rif = (this.textName.width + _rid) / this.center.width; this.center.scale.x = _rif, this.right.position.set(_rie, 0), this.center.position.set(_rie, 0), this.left.position.set(this.center.x - this.center.width, 0); }, _ri6; }(PIXI.Container); }, 79955: function(_rig, _rih, _rii) { 'use strict'; var _rij = null; var _rik, _ril = this && this.__extends || (_rik = function(_rim, _rin) { var _rio = null; return _rik = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_rip, _riq) { var _rir = null; _rip.__proto__ = _riq; } || function(_ris, _rit) { var _riu = null; for (var _riv in _rit) Object.prototype.hasOwnProperty.call(_rit, _riv) && (_ris[_riv] = _rit[_riv]); }, _rik(_rim, _rin); }, function(_riw, _rix) { var _riy = null; if ('function' != typeof _rix && null !== _rix) throw new TypeError('Class extends value ' + String(_rix) + ' is not a constructor or null'); function _riz() { var _rj0 = null; this.constructor = _riw; } _rik(_riw, _rix), _riw.prototype = null === _rix ? Object.create(_rix) : (_riz.prototype = _rix.prototype, new _riz()); }); defineModule(_rih); Object.defineProperty(_rih, '__esModule', { 'value': !0 }), _rih.KaizoButton = void 0; var _rj1 = _rii(31000), _rj2 = _rii(35380), _rj3 = function(_rj4) { var _rj5 = null; function _rj6() { var _rj7 = null, _rj8 = _rj4.call(this) || this; return _rj8._onClick = function() { var _rj9 = null; _rj8.onClick(); }, _rj8._onMouseOver = function() { var _rja = null; _rj8.texture = _rj8.texture_on; }, _rj8._onMouseOut = function() { var _rjb = null; _rj8.texture = _rj8.texture_off; }, _rj8.on(_rj2.EventType.CLICK, _rj8._onClick), _rj8.on(_rj2.EventType.MOUSEOVER, _rj8._onMouseOver), _rj8.on(_rj2.EventType.MOUSEOUT, _rj8._onMouseOut), _rj8.texture_off = _rj1.REMODEL_MAIN.getTexture(8), _rj8.texture_on = _rj1.REMODEL_MAIN.getTexture(9), _rj8.texture_none = _rj1.REMODEL_MAIN.getTexture(7), _rj8; } return _ril(_rj6, _rj4), _rj6.prototype.dispose = function() { var _rjc = null; this.off(_rj2.EventType.CLICK), this.off(_rj2.EventType.MOUSEOVER), this.off(_rj2.EventType.MOUSEOUT), this.texture_on = null, this.texture_off = null, this.texture_none = null, this.onClick = null, this.removeChildren(); }, _rj6.prototype.update = function(_rjd) { var _rje = null; this.texture = this.texture_none, this.interactive = this.buttonMode = !1, _rjd && (this.texture = this.texture_off, this.interactive = this.buttonMode = !0); }, _rj6; }(PIXI.Sprite); _rih.KaizoButton = _rj3; }, 78335: function(_rjf, _rjg, _rjh) { 'use strict'; var _rji = null; var _rjj, _rjk = this && this.__extends || (_rjj = function(_rjl, _rjm) { var _rjn = null; return _rjj = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_rjo, _rjp) { var _rjq = null; _rjo.__proto__ = _rjp; } || function(_rjr, _rjs) { var _rjt = null; for (var _rju in _rjs) Object.prototype.hasOwnProperty.call(_rjs, _rju) && (_rjr[_rju] = _rjs[_rju]); }, _rjj(_rjl, _rjm); }, function(_rjv, _rjw) { var _rjx = null; if ('function' != typeof _rjw && null !== _rjw) throw new TypeError('Class extends value ' + String(_rjw) + ' is not a constructor or null'); function _rjy() { var _rjz = null; this.constructor = _rjv; } _rjj(_rjv, _rjw), _rjv.prototype = null === _rjw ? Object.create(_rjw) : (_rjy.prototype = _rjw.prototype, new _rjy()); }); defineModule(_rjg); Object.defineProperty(_rjg, '__esModule', { 'value': !0 }), _rjg.KindaikaButton = void 0; var _rk0 = _rjh(31000), _rk1 = _rjh(35380), _rk2 = function(_rk3) { var _rk4 = null; function _rk5() { var _rk6 = null, _rk7 = _rk3.call(this) || this; return _rk7._onClick = function() { var _rk8 = null; _rk7.onClick(); }, _rk7._onMouseOver = function() { var _rk9 = null; _rk7.texture = _rk7.texture_on; }, _rk7._onMouseOut = function() { var _rka = null; _rk7.texture = _rk7.texture_off; }, _rk7.texture_on = _rk0.REMODEL_MAIN.getTexture(5), _rk7.texture_off = _rk0.REMODEL_MAIN.getTexture(4), _rk7.texture_none = _rk0.REMODEL_MAIN.getTexture(3), _rk7.on(_rk1.EventType.CLICK, _rk7._onClick), _rk7.on(_rk1.EventType.MOUSEOVER, _rk7._onMouseOver), _rk7.on(_rk1.EventType.MOUSEOUT, _rk7._onMouseOut), _rk7.interactive = _rk7.buttonMode = !0, _rk7; } return _rjk(_rk5, _rk3), _rk5.prototype.update = function(_rkb) { var _rkc = null; this.texture = this.texture_none, this.interactive = this.buttonMode = !1, _rkb && (this.texture = this.texture_off, this.interactive = this.buttonMode = !0); }, _rk5.prototype.dispose = function() { var _rkd = null; this.off(_rk1.EventType.CLICK), this.off(_rk1.EventType.MOUSEOVER), this.off(_rk1.EventType.MOUSEOUT), this.onClick = null, this.texture_on = null, this.texture_off = null, this.texture_none = null, this.removeChildren(); }, _rk5; }(PIXI.Sprite); _rjg.KindaikaButton = _rk2; }, 24169: function(_rke, _rkf, _rkg) { 'use strict'; var _rkh = null; var _rki, _rkj = this && this.__extends || (_rki = function(_rkk, _rkl) { var _rkm = null; return _rki = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_rkn, _rko) { var _rkp = null; _rkn.__proto__ = _rko; } || function(_rkq, _rkr) { var _rks = null; for (var _rkt in _rkr) Object.prototype.hasOwnProperty.call(_rkr, _rkt) && (_rkq[_rkt] = _rkr[_rkt]); }, _rki(_rkk, _rkl); }, function(_rku, _rkv) { var _rkw = null; if ('function' != typeof _rkv && null !== _rkv) throw new TypeError('Class extends value ' + String(_rkv) + ' is not a constructor or null'); function _rkx() { var _rky = null; this.constructor = _rku; } _rki(_rku, _rkv), _rku.prototype = null === _rkv ? Object.create(_rkv) : (_rkx.prototype = _rkv.prototype, new _rkx()); }); defineModule(_rkf); Object.defineProperty(_rkf, '__esModule', { 'value': !0 }), _rkf.MarriageButton = void 0; var _rkz = _rkg(47374), _rl0 = _rkg(35380), _rl1 = function(_rl2) { var _rl3 = null; function _rl4() { var _rl5 = null, _rl6 = _rl2.call(this) || this; return _rl6._onClick = function() { var _rl7 = null; _rl6.onClick(); }, _rl6._onMouseOver = function() { var _rl8 = null; _rl6.marriagePopUp.visible = !0; }, _rl6._onMouseOut = function() { var _rl9 = null; _rl6.marriagePopUp.visible = !1; }, _rl6.level99Light = new PIXI.Sprite(_rkz.REMODEL_MAIN.getTexture(40)), _rl6.addChild(_rl6.level99Light), _rl6.play(), _rl6.clickArea = new PIXI.Graphics(), _rl6.clickArea.beginFill(0, 0), _rl6.clickArea.drawRect(0, 0, 119, 75), _rl6.clickArea.endFill(), _rl6.clickArea.on(_rl0.EventType.CLICK, _rl6._onClick), _rl6.clickArea.on(_rl0.EventType.MOUSEOUT, _rl6._onMouseOut), _rl6.clickArea.on(_rl0.EventType.MOUSEOVER, _rl6._onMouseOver), _rl6.clickArea.renderable = !1, _rl6.clickArea.interactive = !0, _rl6.clickArea.buttonMode = !0, _rl6.addChild(_rl6.clickArea), _rl6.marriagePopUp = new PIXI.Sprite(_rkz.REMODEL_MAIN.getTexture(35)), _rl6.marriagePopUp.position.set(-105, 48), _rl6.marriagePopUp.visible = !1, _rl6.addChild(_rl6.marriagePopUp), _rl6; } return _rkj(_rl4, _rl2), _rl4.prototype.dispose = function() { var _rla = null; this.clickArea.off(_rl0.EventType.CLICK), this.clickArea.off(_rl0.EventType.MOUSEOVER), this.clickArea.off(_rl0.EventType.MOUSEOUT), this.clickArea.clear(), null != this._loopTween && (this._loopTween.setPaused(!0), createjs.Tween.removeTweens(this.level99Light), this._loopTween = null), this.onClick = null, this.marriagePopUp = null, this.level99Light = null, this.clickArea = null, this.removeChildren(); }, _rl4.prototype.play = function() { var _rlb = null; null == this._loopTween && (this._loopTween = createjs.Tween.get(this.level99Light).to({ 'alpha': 0 }, 0).to({ 'alpha': 1 }, 1000).to({ 'alpha': 0 }, 1000), this._loopTween.loop = !0); }, _rl4; }(PIXI.Container); _rkf.MarriageButton = _rl1; }, 37518: function(_rlc, _rld, _rle) { 'use strict'; var _rlf = null; var _rlg, _rlh = this && this.__extends || (_rlg = function(_rli, _rlj) { var _rlk = null; return _rlg = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_rll, _rlm) { var _rln = null; _rll.__proto__ = _rlm; } || function(_rlo, _rlp) { var _rlq = null; for (var _rlr in _rlp) Object.prototype.hasOwnProperty.call(_rlp, _rlr) && (_rlo[_rlr] = _rlp[_rlr]); }, _rlg(_rli, _rlj); }, function(_rls, _rlt) { var _rlu = null; if ('function' != typeof _rlt && null !== _rlt) throw new TypeError('Class extends value ' + String(_rlt) + ' is not a constructor or null'); function _rlv() { var _rlw = null; this.constructor = _rls; } _rlg(_rls, _rlt), _rls.prototype = null === _rlt ? Object.create(_rlt) : (_rlv.prototype = _rlt.prototype, new _rlv()); }); defineModule(_rld); Object.defineProperty(_rld, '__esModule', { 'value': !0 }), _rld.SavePresetButton = void 0; var _rlx = _rle(35380), _rly = _rle(97297), _rlz = function(_rm0) { var _rm1 = null; function _rm2() { var _rm3 = null, _rm4 = _rm0.call(this) || this; return _rm4._onClick = function() { var _rm5 = null; _rm4.onClick(); }, _rm4._onMouseOver = function() { var _rm6 = null; _rm4.texture = _rm4.texture_on; }, _rm4._onMouseOut = function() { var _rm7 = null; _rm4.texture = _rm4.texture_off; }, _rm4.texture_on = _rly.REMODEL_PRESET.getTexture(41), _rm4.texture_off = _rly.REMODEL_PRESET.getTexture(41), _rm4.texture_none = _rly.REMODEL_PRESET.getTexture(42), _rm4.on(_rlx.EventType.CLICK, _rm4._onClick), _rm4.on(_rlx.EventType.MOUSEOVER, _rm4._onMouseOver), _rm4.on(_rlx.EventType.MOUSEOUT, _rm4._onMouseOut), _rm4.interactive = _rm4.buttonMode = !0, _rm4; } return _rlh(_rm2, _rm0), _rm2.prototype.update = function(_rm8) { var _rm9 = null; this.texture = this.texture_none, this.interactive = this.buttonMode = !1, _rm8 && (this.texture = this.texture_off, this.interactive = this.buttonMode = !0); }, _rm2.prototype.dispose = function() { var _rma = null; this.off(_rlx.EventType.CLICK), this.off(_rlx.EventType.MOUSEOVER), this.off(_rlx.EventType.MOUSEOUT), this.onClick = null, this.texture_on = null, this.texture_off = null, this.texture_none = null, this.removeChildren(); }, _rm2; }(PIXI.Sprite); _rld.SavePresetButton = _rlz; }, 26236: function(_rmb, _rmc, _rmd) { 'use strict'; var _rme = null; var _rmf, _rmg = this && this.__extends || (_rmf = function(_rmh, _rmi) { var _rmj = null; return _rmf = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_rmk, _rml) { var _rmm = null; _rmk.__proto__ = _rml; } || function(_rmn, _rmo) { var _rmp = null; for (var _rmq in _rmo) Object.prototype.hasOwnProperty.call(_rmo, _rmq) && (_rmn[_rmq] = _rmo[_rmq]); }, _rmf(_rmh, _rmi); }, function(_rmr, _rms) { var _rmt = null; if ('function' != typeof _rms && null !== _rms) throw new TypeError('Class extends value ' + String(_rms) + ' is not a constructor or null'); function _rmu() { var _rmv = null; this.constructor = _rmr; } _rmf(_rmr, _rms), _rmr.prototype = null === _rms ? Object.create(_rms) : (_rmu.prototype = _rms.prototype, new _rmu()); }); defineModule(_rmc); Object.defineProperty(_rmc, '__esModule', { 'value': !0 }), _rmc.ShipDetailEmpty = _rmc.ShipDetail = void 0; var _rmw = _rmd(11997), _rmx = _rmd(31000), _rmy = _rmd(31000), _rmz = _rmd(8744), _rn0 = _rmd(79522), _rn1 = _rmd(87397), _rn2 = _rmd(17733), _rn3 = _rmd(34603), _rn4 = _rmd(79378), _rn5 = _rmd(79955), _rn6 = _rmd(78335), _rn7 = _rmd(61355), _rn8 = _rmd(17193), _rn9 = _rmd(19645), _rna = _rmd(24169), _rnb = _rmd(60769), _rnc = _rmd(37518), _rnd = _rmd(57828), _rne = _rmd(14921), _rnf = function(_rng) { var _rnh = null; function _rni() { var _rnj = null, _rnk = _rng.call(this) || this; return _rnk.headerKansenStatus = new _rnd.TitleBar(), _rnk.headerKansenStatus.initialize(_rmy.COMMON_MAIN.getTexture(2), 35), _rnk.background = new PIXI.Sprite(_rmy.COMMON_MAIN.getTexture(13)), _rnk.textLevel = new _rmz.TextBox(28, 5523516), _rnk.textHp = new _rmz.TextBox(15, 5523516), _rnk.starRateView = new _rn0.StarRateView(), _rnk.hpGaugeView = new _rn1.HpGaugeView(), _rnk.textImageLv = new PIXI.Sprite(_rmw.COMMON_MISC.getTexture(186)), _rnk.remodelMaxMedal = new PIXI.Sprite(_rmy.COMMON_MAIN.getTexture(29)), _rnk._shipCard = new _rn2.ShipCard(!1, !1), _rnk._shipParameter = new _rn3.ShipParameter(), _rnk._slotItemSlotBox = new _rn4.SlotItemSlotBox(), _rnk._kaizoButton = new _rn5.KaizoButton(), _rnk._kindaikaButton = new _rn6.KindaikaButton(), _rnk._extraSlotItemSlot = new _rn7.ExtraSlotItemSlot(), _rnk._detachAllButton = new _rn8.DetachAllButton(), _rnk._extensionButton = new _rn9.ExtensionButton(), _rnk._marriageButton = new _rna.MarriageButton(), _rnk._deployPresetButton = new _rnb.DeployPresetButton(), _rnk._savePresetButton = new _rnc.SavePresetButton(), _rnk.containerName = new PIXI.Container(), _rnk.containerName.position.set(42, 20), _rnk.textName = new _rmz.TextBox(27, 5523516), _rnk.maskTextName = _rne.CreateRect.gradientLeftToRight(210, 45, 0.88, 0.91), _rnk.containerName.mask = _rnk.maskTextName, _rnk.containerName.addChild(_rnk.textName, _rnk.maskTextName), _rnk.headerKansenStatus.position.set(0, -39), _rnk._detachAllButton.position.set(6, 101), _rnk._slotItemSlotBox.position.set(57, 101), _rnk._kaizoButton.position.set(546, 483), _rnk._kindaikaButton.position.set(372, 483), _rnk._extraSlotItemSlot.position.set(636, 311), _rnk.textImageLv.position.set(238, 30), _rnk.hpGaugeView.position.set(44, 72), _rnk.textHp.position.set(152, 68), _rnk.starRateView.position.set(228, 72), _rnk.remodelMaxMedal.position.set(323, 20), _rnk._shipCard.position.set(369, 26), _rnk._extensionButton.position.set(369, 301), _rnk._shipParameter.position.set(51, 351), _rnk._marriageButton.position.set(212, 6), _rnk._savePresetButton.position.set(593, -24), _rnk._deployPresetButton.position.set(474, -24), _rnk.addChild(_rnk.background, _rnk._shipCard, _rnk.hpGaugeView, _rnk.textHp, _rnk.starRateView, _rnk._shipParameter, _rnk._slotItemSlotBox, _rnk._kaizoButton, _rnk._kindaikaButton, _rnk._detachAllButton, _rnk._extraSlotItemSlot, _rnk._extensionButton, _rnk.remodelMaxMedal, _rnk._marriageButton, _rnk.textImageLv, _rnk.textLevel, _rnk.headerKansenStatus, _rnk._savePresetButton, _rnk._deployPresetButton, _rnk.containerName), _rnk; } return _rmg(_rni, _rng), Object.defineProperty(_rni.prototype, 'slotItemSlotBox', { 'get': function() { var _rnl = null; return this._slotItemSlotBox; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_rni.prototype, 'kaizoButton', { 'get': function() { var _rnm = null; return this._kaizoButton; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_rni.prototype, 'kindaikaButton', { 'get': function() { var _rnn = null; return this._kindaikaButton; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_rni.prototype, 'shipCard', { 'get': function() { var _rno = null; return this._shipCard; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_rni.prototype, 'extraSlotItemSlot', { 'get': function() { var _rnp = null; return this._extraSlotItemSlot; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_rni.prototype, 'detachAllButton', { 'get': function() { var _rnq = null; return this._detachAllButton; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_rni.prototype, 'shipParameter', { 'get': function() { var _rnr = null; return this._shipParameter; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_rni.prototype, 'extensionButton', { 'get': function() { var _rns = null; return this._extensionButton; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_rni.prototype, 'marriageButton', { 'get': function() { var _rnt = null; return this._marriageButton; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_rni.prototype, 'deployPresetButton', { 'get': function() { var _rnu = null; return this._deployPresetButton; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_rni.prototype, 'savePresetButton', { 'get': function() { var _rnv = null; return this._savePresetButton; }, 'enumerable': !1, 'configurable': !0 }), _rni.prototype.update = function(_rnw, _rnx, _rny, _rnz, _ro0, _ro1) { var _ro2 = null; this.textName.text = _rnw, this.textHp.text = '' ['concat'](_rny, '/').concat(_rnz), this.hpGaugeView.update(_rny, _rnz), this.starRateView.update(_ro0), this._updateRemodelMax_(_ro1), this._updateLevel_(_rnx); }, _rni.prototype._updateRemodelMax_ = function(_ro3) { var _ro4 = null; this.remodelMaxMedal.visible = !1, _ro3 && (this.remodelMaxMedal.visible = !0); }, _rni.prototype._updateLevel_ = function(_ro5) { var _ro6 = null; this.textLevel.position.set(324, 24), this.textLevel.anchor.x = 1, this.textLevel.text = '' ['concat'](_ro5), 99 == _ro5 && (this.textLevel.anchor.x = 0, this.textLevel.position.x = this.textImageLv.x + 9 + this.textImageLv.width); }, _rni.prototype.dispose = function() { var _ro7 = null; this.removeChildren(), this._shipCard.dispose(), this.textName.mask = null, this.starRateView.dispose(), this.hpGaugeView.dispose(), this._shipParameter.dispose(), this._slotItemSlotBox.dispose(), this._kaizoButton.dispose(), this._kindaikaButton.dispose(), this._extraSlotItemSlot.dispose(), this._detachAllButton.dispose(), this._extensionButton.dispose(), this._marriageButton.dispose(), this._savePresetButton.dispose(), this._deployPresetButton.dispose(), this.headerKansenStatus.dispose(), this.containerName.removeChildren(), this.textLevel.destroy(), this.textHp.destroy(), this.textName.destroy(), this.headerKansenStatus = null, this.background = null, this._shipCard = null, this.textName = null, this.maskTextName = null, this.textLevel = null, this.remodelMaxMedal = null, this.starRateView = null, this.textHp = null, this.hpGaugeView = null, this.textImageLv = null, this._shipParameter = null, this._slotItemSlotBox = null, this._kaizoButton = null, this._kindaikaButton = null, this._extraSlotItemSlot = null, this._detachAllButton = null, this._extensionButton = null, this._marriageButton = null; }, _rni; }(PIXI.Container); _rmc.ShipDetail = _rnf; var _ro8 = function(_ro9) { var _roa = null; function _rob() { var _roc = null, _rod = _ro9.call(this) || this, _roe = new PIXI.Sprite(_rmy.COMMON_MAIN.getTexture(13)), _rof = new PIXI.Sprite(_rmx.REMODEL_MAIN.getTexture(54)); return _rof.position.set(210, 258), _rod.addChild(_roe, _rof), _rod; } return _rmg(_rob, _ro9), _rob.prototype.dispose = function() { var _rog = null; this.removeChildren(); }, _rob; }(PIXI.Container); _rmc.ShipDetailEmpty = _ro8; }, 18994: function(_roh, _roi, _roj) { 'use strict'; var _rok = null; var _rol, _rom = this && this.__extends || (_rol = function(_ron, _roo) { var _rop = null; return _rol = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_roq, _ror) { var _ros = null; _roq.__proto__ = _ror; } || function(_rot, _rou) { var _rov = null; for (var _row in _rou) Object.prototype.hasOwnProperty.call(_rou, _row) && (_rot[_row] = _rou[_row]); }, _rol(_ron, _roo); }, function(_rox, _roy) { var _roz = null; if ('function' != typeof _roy && null !== _roy) throw new TypeError('Class extends value ' + String(_roy) + ' is not a constructor or null'); function _rp0() { var _rp1 = null; this.constructor = _rox; } _rol(_rox, _roy), _rox.prototype = null === _roy ? Object.create(_roy) : (_rp0.prototype = _roy.prototype, new _rp0()); }); defineModule(_roi); Object.defineProperty(_roi, '__esModule', { 'value': !0 }), _roi.SlotItemSlot = void 0; var _rp2 = _roj(31000), _rp3 = _roj(85937), _rp4 = _roj(97638), _rp5 = _roj(6218), _rp6 = _roj(8744), _rp7 = _roj(31000), _rp8 = _roj(23112), _rp9 = _roj(87967), _rpa = _roj(35380), _rpb = function(_rpc) { var _rpd = null; function _rpe(_rpf) { var _rpg = null, _rph = _rpc.call(this) || this; _rph._mousedown = function(_rpi) { var _rpj = null; _rph.mousedown(_rph._index, _rpi.data.global); }, _rph._mouseover = function() { var _rpk = null; _rph.focusItem.alpha = 1; }, _rph._mouseout = function() { var _rpl = null; _rph.focusItem.alpha = 0, _rph.onMouseOut(); }, _rph._onClickDetach = function() { var _rpm = null; _rph.onClickDetach(_rph._index); }, _rph._mouseup = function() { var _rpn = null; _rph.onMouseUp(_rph._index); }, _rph._index = _rpf, _rph._background = new PIXI.Sprite(_rp2.COMMON_MAIN.getTexture(46)), _rph._background.texture = _rp2.COMMON_MAIN.getTexture(46), _rph.focusItem = new PIXI.Sprite(_rp7.REMODEL_MAIN.getTexture(23)), _rph.clickAreaSlot = new PIXI.Graphics(), _rph.clickAreaSlot.renderable = !1, _rph.clickAreaSlot.beginFill(0, 0), _rph.clickAreaSlot.drawRect(0, 0, _rp9.RemodelConst.DETAIL_LISTITEM.WIDTH, _rp9.RemodelConst.DETAIL_LISTITEM.HEIGHT), _rph.clickAreaSlot.endFill(), _rph._textItemName = new _rp6.TextBox(19, 5523516), _rph._textItemNameMask = new PIXI.Graphics(), _rph._textItemNameMask.beginFill(0), _rph._textItemNameMask.drawRect(0, 0, 240, 30), _rph._textItemNameMask.endFill(); var _rpo = new PIXI.Sprite(_rp2.COMMON_MAIN.getTexture(45)); return _rpo.position.set(120, -2), _rph.containerItemName = new PIXI.Container(), _rph.containerItemName.position.set(50, 11), _rph.containerItemName.mask = _rph._textItemNameMask, _rph.containerItemName.addChild(_rph._textItemName), _rph.containerItemName.addChild(_rph._textItemNameMask), _rph.containerItemName.addChild(_rpo), _rph.textTousai = new _rp6.TextBox(21, 5523516), _rph.textTousai.position.set(-2, 23), _rph.textTousai.anchor.set(1, 0.5), _rph.slotItemLevel = new _rp4.SlotItemLevel(), _rph.airPlaneLevel = new _rp3.AirPlaneLevel(), _rph.lockIcon = new PIXI.Sprite(_rp2.COMMON_MAIN.getTexture(43)), _rph.iconWeapon = new _rp5.IconWeapon(), _rph.detachButton = new _rp8.DetachButton(), _rph.detachButton.onClick = _rph._onClickDetach, _rph.detachButton.position.set(292, 15), _rph.slotItemLevel.position.set(247, 14), _rph.airPlaneLevel.position.set(219, 3), _rph.lockIcon.position.set(293, 2), _rph.focusItem.scale.x = 1, _rph.focusItem.position.x = -30, _rph.focusItem.alpha = 0, _rph.focusItem.visible = !1, _rph.addChild(_rph._background, _rph.containerItemName, _rph.textTousai, _rph.slotItemLevel, _rph.airPlaneLevel, _rph.lockIcon, _rph.iconWeapon, _rph.focusItem, _rph.clickAreaSlot, _rph.detachButton), _rph.clickAreaSlot.interactive = _rph.clickAreaSlot.buttonMode = !0, _rph.clickAreaSlot.on(_rpa.EventType.MOUSEDOWN, _rph._mousedown), _rph.clickAreaSlot.on(_rpa.EventType.MOUSEUP, _rph._mouseup), _rph.clickAreaSlot.on(_rpa.EventType.MOUSEOVER, _rph._mouseover), _rph.clickAreaSlot.on(_rpa.EventType.MOUSEOUT, _rph._mouseout), _rph; } return _rom(_rpe, _rpc), _rpe.prototype.update = function(_rpp, _rpq, _rpr, _rps) { var _rpt = null; this._update_(_rpp.name, _rpp.iconType, _rpp.isPlane(), _rpq, _rpp.skillLevel, _rpp.isLocked(), _rpp.level, _rpr, _rps); }, _rpe.prototype.empty = function(_rpu) { var _rpv = null; this._updateLock(!1), this._updateAirPlane(!1, 0, 0), this._updateSlotItemLevel(0), this._updateIconType(0), this._updateItemName(''), this._updateDetachButton(!1), this._updateFocusItem(_rpu); }, _rpe.prototype._update_ = function(_rpw, _rpx, _rpy, _rpz, _rq0, _rq1, _rq2, _rq3, _rq4) { var _rq5 = null; this._updateLock(_rq1), this._updateAirPlane(_rpy, _rpz, _rq0), this._updateSlotItemLevel(_rq2), this._updateIconType(_rpx), this._updateItemName(_rpw), this._updateDetachButton(_rq3), this._updateFocusItem(_rq4); }, _rpe.prototype._updateDetachButton = function(_rq6) { var _rq7 = null; this.detachButton.visible = !1, _rq6 && (this.detachButton.visible = !0); }, _rpe.prototype._updateFocusItem = function(_rq8) { var _rq9 = null; this.focusItem.alpha = 0, this.focusItem.visible = !1, this.clickAreaSlot.interactive = this.clickAreaSlot.buttonMode = !1, _rq8 && (this.focusItem.visible = !0, this.clickAreaSlot.interactive = this.clickAreaSlot.buttonMode = !0); }, _rpe.prototype._updateItemName = function(_rqa) { var _rqb = null; this._textItemName.text = _rqa; }, _rpe.prototype._updateLock = function(_rqc) { var _rqd = null; this.lockIcon.visible = !1, _rqc && (this.lockIcon.visible = !0); }, _rpe.prototype._updateIconType = function(_rqe) { var _rqf = null; this.iconWeapon.update(_rqe); }, _rpe.prototype._updateSlotItemLevel = function(_rqg) { var _rqh = null; this.slotItemLevel.update(_rqg); }, _rpe.prototype._updateAirPlane = function(_rqi, _rqj, _rqk) { var _rql = null; this.textTousai.visible = !1, this.airPlaneLevel.visible = !1, _rqi && (this.textTousai.text = '' ['concat'](_rqj), this.airPlaneLevel.update(_rqk), this.textTousai.visible = !0, this.airPlaneLevel.visible = !0); }, _rpe.prototype.dispose = function() { var _rqm = null; this.removeChildren(), this.clickAreaSlot.off(_rpa.EventType.MOUSEDOWN, this._mousedown), this.clickAreaSlot.off(_rpa.EventType.MOUSEOVER, this._mouseover), this.clickAreaSlot.off(_rpa.EventType.MOUSEOUT, this._mouseout), this.clickAreaSlot.off(_rpa.EventType.MOUSEUP, this._mouseup), this.clickAreaSlot.clear(), this.airPlaneLevel.dispose(), this.slotItemLevel.dispose(), this.iconWeapon.dispose(), this.detachButton.dispose(), this.containerItemName.mask = null, this.containerItemName.removeChildren(), this._textItemName.destroy(), this.textTousai.destroy(), this.mousedown = null, this.onClickDetach = null, this.onMouseUp = null, this.onMouseOut = null, this._background = null, this._textItemNameMask = null, this.focusItem = null, this.detachButton = null, this.containerItemName = null, this.airPlaneLevel = null, this.slotItemLevel = null, this.iconWeapon = null, this.lockIcon = null, this._textItemName = null, this.textTousai = null, this.clickAreaSlot = null; }, _rpe; }(PIXI.Container); _roi.SlotItemSlot = _rpb; }, 79378: function(_rqn, _rqo, _rqp) { 'use strict'; var _rqq = null; var _rqr, _rqs = this && this.__extends || (_rqr = function(_rqt, _rqu) { var _rqv = null; return _rqr = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_rqw, _rqx) { var _rqy = null; _rqw.__proto__ = _rqx; } || function(_rqz, _rr0) { var _rr1 = null; for (var _rr2 in _rr0) Object.prototype.hasOwnProperty.call(_rr0, _rr2) && (_rqz[_rr2] = _rr0[_rr2]); }, _rqr(_rqt, _rqu); }, function(_rr3, _rr4) { var _rr5 = null; if ('function' != typeof _rr4 && null !== _rr4) throw new TypeError('Class extends value ' + String(_rr4) + ' is not a constructor or null'); function _rr6() { var _rr7 = null; this.constructor = _rr3; } _rqr(_rr3, _rr4), _rr3.prototype = null === _rr4 ? Object.create(_rr4) : (_rr6.prototype = _rr4.prototype, new _rr6()); }); defineModule(_rqo); Object.defineProperty(_rqo, '__esModule', { 'value': !0 }), _rqo.SlotItemSlotBox = void 0; var _rr8 = _rqp(31000), _rr9 = _rqp(18994), _rra = _rqp(87967), _rrb = function(_rrc) { var _rrd = null; function _rre() { var _rrf = null, _rrg = _rrc.call(this) || this; _rrg._mousedown = function(_rrh, _rri) { var _rrj = null; _rrg.mousedown(_rrh, _rri); }, _rrg._onClickDetach = function(_rrk) { var _rrl = null; _rrg.onClickDetach(_rrk); }, _rrg._onMouseUp = function(_rrm) { var _rrn = null; _rrg.onMouseUp(_rrm); }, _rrg._onMouseOut = function() { var _rro = null; _rrg.onMouseOut(); }, (_rrg._slotItemSlots = new Array(), _rrg._clearSlotItemSlots = new Array()); for (var _rrp = _rr8.COMMON_MAIN.getTexture(47), _rrq = 0; _rrq < 5; _rrq++) { var _rrr = new _rr9.SlotItemSlot(_rrq); _rrr.mousedown = _rrg._mousedown, _rrr.onClickDetach = _rrg._onClickDetach, _rrr.onMouseUp = _rrg._onMouseUp, _rrr.onMouseOut = _rrg._onMouseOut; var _rrs = new PIXI.Sprite(_rrp); _rrs.y = _rrr.y = _rra.RemodelConst.DETAIL_LISTITEM.HEIGHT * _rrq + 6, _rrg._slotItemSlots.push(_rrr), _rrg._clearSlotItemSlots.push(_rrs), _rrg.addChild(_rrs), _rrg.addChild(_rrr); } return _rrg; } return _rqs(_rre, _rrc), Object.defineProperty(_rre.prototype, 'slotItemSlots', { 'get': function() { var _rrt = null; return this._slotItemSlots; }, 'enumerable': !1, 'configurable': !0 }), _rre.prototype.clean = function() { var _rru = null; for (var _rrv = 0; _rrv < this._slotItemSlots.length; _rrv++) this._slotItemSlots[_rrv].visible = !1; for (_rrv = 0; _rrv < this._clearSlotItemSlots.length; _rrv++) this._clearSlotItemSlots[_rrv].visible = !0; }, _rre.prototype.update = function(_rrw, _rrx, _rry, _rrz, _rs0) { var _rs1 = null, _rs2 = this._slotItemSlots[_rrw], _rs3 = this._clearSlotItemSlots[_rrw]; _rs2.empty(_rs0), _rrx && _rs2.update(_rrx, _rry, _rrz, _rs0), _rs3.visible = !1, _rs2.visible = !0; }, _rre.prototype.hide = function(_rs4) { var _rs5 = null; for (var _rs6 = _rs4, _rs7 = this._slotItemSlots.length; _rs6 < _rs7; _rs6++) this._slotItemSlots[_rs6].visible = !1, this._clearSlotItemSlots[_rs6].visible = !1; }, _rre.prototype.dispose = function() { var _rs8 = null; for (var _rs9 = 0; _rs9 < this._slotItemSlots.length; _rs9++) this._slotItemSlots[_rs9].dispose(), this._slotItemSlots[_rs9] = null; for (_rs9 = 0; _rs9 < this._clearSlotItemSlots.length; _rs9++) this._clearSlotItemSlots[_rs9] = null; this._slotItemSlots = null, this._clearSlotItemSlots = null, this.onClickDetach = null, this.mousedown = null, this.onMouseOut = null, this.removeChildren(); }, _rre; }(PIXI.Container); _rqo.SlotItemSlotBox = _rrb; }, 33859: function(_rsa, _rsb, _rsc) { 'use strict'; var _rsd = null; var _rse, _rsf = this && this.__extends || (_rse = function(_rsg, _rsh) { var _rsi = null; return _rse = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_rsj, _rsk) { var _rsl = null; _rsj.__proto__ = _rsk; } || function(_rsm, _rsn) { var _rso = null; for (var _rsp in _rsn) Object.prototype.hasOwnProperty.call(_rsn, _rsp) && (_rsm[_rsp] = _rsn[_rsp]); }, _rse(_rsg, _rsh); }, function(_rsq, _rsr) { var _rss = null; if ('function' != typeof _rsr && null !== _rsr) throw new TypeError('Class extends value ' + String(_rsr) + ' is not a constructor or null'); function _rst() { var _rsu = null; this.constructor = _rsq; } _rse(_rsq, _rsr), _rsq.prototype = null === _rsr ? Object.create(_rsr) : (_rst.prototype = _rsr.prototype, new _rst()); }), _rsv = this && this.__importDefault || function(_rsw) { var _rsx = null; return _rsw && _rsw.__esModule ? _rsw : { 'default': _rsw }; }; defineModule(_rsb); Object.defineProperty(_rsb, '__esModule', { 'value': !0 }), _rsb.DoubleBackArea = _rsb.BackArea = void 0; var _rsy = _rsv(_rsc(21359)), _rsz = _rsc(35380), _rt0 = function(_rt1) { var _rt2 = null; function _rt3() { var _rt4 = null, _rt5 = _rt1.call(this) || this; return _rt5._onClick = function() { var _rt6 = null; _rt5.onClick(); }, (_rt5.beginFill(0, 0.5), _rt5.drawRect(0, 103, _rsy.default.width, _rsy.default.height - 103), _rt5.endFill(), _rt5.interactive = _rt5.buttonMode = !0, _rt5.on(_rsz.EventType.CLICK, _rt5._onClick), _rt5); } return _rsf(_rt3, _rt1), _rt3.prototype.dispose = function() { var _rt7 = null; this.clear(), this.off(_rsz.EventType.CLICK), this.onClick = null, this.removeChildren(); }, _rt3; }(PIXI.Graphics); _rsb.BackArea = _rt0; var _rt8 = function(_rt9) { var _rta = null; function _rtb() { var _rtc = null, _rtd = _rt9.call(this) || this; _rtd._onClickLeft = function() { var _rte = null; _rtd.onClickLeft(); }, _rtd._onClickRight = function() { var _rtf = null; _rtd.onClickRight(); }, _rtd.leftArea = new PIXI.Graphics(), _rtd.rightArea = new PIXI.Graphics(); var _rtg = 103; return _rtd.leftArea.beginFill(0, 0.5), _rtd.leftArea.drawRect(0, _rtg, 501, _rsy.default.height - _rtg), _rtd.leftArea.endFill(), _rtd.rightArea.beginFill(0, 0.5), _rtd.rightArea.drawRect(0, _rtg, _rsy.default.width - 501, _rsy.default.height - _rtg), _rtd.rightArea.endFill(), _rtd.rightArea.x = 501, _rtd.leftArea.interactive = _rtd.leftArea.buttonMode = !0, _rtd.rightArea.interactive = _rtd.rightArea.buttonMode = !0, _rtd.leftArea.on(_rsz.EventType.CLICK, _rtd._onClickLeft), _rtd.rightArea.on(_rsz.EventType.CLICK, _rtd._onClickRight), _rtd.addChild(_rtd.leftArea, _rtd.rightArea), _rtd; } return _rsf(_rtb, _rt9), _rtb.prototype.dispose = function() { var _rth = null; this.leftArea.clear(), this.rightArea.clear(), this.leftArea.off(_rsz.EventType.CLICK), this.rightArea.off(_rsz.EventType.CLICK), this.onClickLeft = null, this.onClickLeft = null, this.leftArea = null, this.rightArea = null, this.removeChildren(); }, _rtb; }(PIXI.Container); _rsb.DoubleBackArea = _rt8; }, 12061: function(_rti, _rtj, _rtk) { 'use strict'; var _rtl = null; var _rtm, _rtn = this && this.__extends || (_rtm = function(_rto, _rtp) { var _rtq = null; return _rtm = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_rtr, _rts) { var _rtt = null; _rtr.__proto__ = _rts; } || function(_rtu, _rtv) { var _rtw = null; for (var _rtx in _rtv) Object.prototype.hasOwnProperty.call(_rtv, _rtx) && (_rtu[_rtx] = _rtv[_rtx]); }, _rtm(_rto, _rtp); }, function(_rty, _rtz) { var _ru0 = null; if ('function' != typeof _rtz && null !== _rtz) throw new TypeError('Class extends value ' + String(_rtz) + ' is not a constructor or null'); function _ru1() { var _ru2 = null; this.constructor = _rty; } _rtm(_rty, _rtz), _rty.prototype = null === _rtz ? Object.create(_rtz) : (_ru1.prototype = _rtz.prototype, new _ru1()); }); defineModule(_rtj); Object.defineProperty(_rtj, '__esModule', { 'value': !0 }), _rtj.ChangeConfirm = void 0; var _ru3 = _rtk(35380), _ru4 = _rtk(72778), _ru5 = _rtk(65065), _ru6 = _rtk(8744), _ru7 = _rtk(67605), _ru8 = _rtk(90054), _ru9 = _rtk(47374), _rua = _rtk(57828), _rub = function(_ruc) { var _rud = null; function _rue() { var _ruf = null, _rug = _ruc.call(this) || this; _rug._onClick = function() { var _ruh = null; _rug.onClick(); }; var _rui = new PIXI.Sprite(_ru8.COMMON_MAIN.getTexture(13)), _ruj = new PIXI.Sprite(_ru9.REMODEL_MAIN.getTexture(53)), _ruk = new PIXI.Sprite(_ru9.REMODEL_MAIN.getTexture(52)); return _rug.downArrowAnimationView = new _ru5.DownArrowAnimationView(), _rug.fromSlotItemChangeSummly = new _rul(), _rug.toSlotItemChangeSummly = new _rul(), _rug.changeButton = new _rum(), _rug.headerHenkouKakunin = new _rua.TitleBar(), _rug.headerHenkouKakunin.initialize(_ru8.COMMON_MAIN.getTexture(4), 26), _rui.interactive = !0, _rug.changeButton.onClick = _rug._onClick, _ruj.position.set(266, 18), _rug.fromSlotItemChangeSummly.position.set(27, 41), _ruk.position.set(266, 267), _rug.toSlotItemChangeSummly.position.set(27, 288), _rug.changeButton.position.set(92, 486), _rug.downArrowAnimationView.position.set(170, 242), _rug.headerHenkouKakunin.position.set(0, -39), _rug.addChild(_rui, _ruj), _rug.addChild(_rug.fromSlotItemChangeSummly), _rug.addChild(_ruk), _rug.addChild(_rug.toSlotItemChangeSummly), _rug.addChild(_rug.changeButton), _rug.addChild(_rug.downArrowAnimationView), _rug.addChild(_rug.headerHenkouKakunin), _rug; } return _rtn(_rue, _ruc), _rue.prototype.dispose = function() { var _run = null; this.removeChildren(), this.fromSlotItemChangeSummly.dispose(), this.toSlotItemChangeSummly.dispose(), this.downArrowAnimationView.dispose(), this.changeButton.dispose(), this.headerHenkouKakunin.dispose(), this.downArrowAnimationView = null, this.fromSlotItemChangeSummly = null, this.toSlotItemChangeSummly = null, this.changeButton = null, this.onClick = null; }, _rue.prototype.update = function(_ruo, _rup, _ruq) { var _rur = null; void 0 === _ruq && (_ruq = null), _ruo ? _ruq ? this.fromSlotItemChangeSummly.update(_ruo, _ruq.fromSlotItemEffect) : this.fromSlotItemChangeSummly.update(_ruo) : this.fromSlotItemChangeSummly.clear(), _rup ? _ruq ? this.toSlotItemChangeSummly.update(_rup, _ruq.toSlotItemEffect) : this.toSlotItemChangeSummly.update(_rup) : this.toSlotItemChangeSummly.clear(); }, _rue; }(PIXI.Container); _rtj.ChangeConfirm = _rub; var _rum = function(_rus) { var _rut = null; function _ruu() { var _ruv = null, _ruw = _rus.call(this) || this; return _ruw._onMouseOver = function() { var _rux = null; _ruw.texture = _ruw.textureBtnSelectOn; }, _ruw._onMouseOut = function() { var _ruy = null; _ruw.texture = _ruw.textureBtnSelectOff; }, _ruw._onClick = function() { var _ruz = null; _ruw.onClick(); }, _ruw.textureBtnSelectOff = _ru9.REMODEL_MAIN.getTexture(10), _ruw.textureBtnSelectOn = _ru9.REMODEL_MAIN.getTexture(11), _ruw.on(_ru3.EventType.MOUSEOVER, _ruw._onMouseOver), _ruw.on(_ru3.EventType.MOUSEOUT, _ruw._onMouseOut), _ruw.on(_ru3.EventType.CLICK, _ruw._onClick), _ruw.texture = _ruw.textureBtnSelectOff, _ruw.interactive = _ruw.buttonMode = !0, _ruw; } return _rtn(_ruu, _rus), _ruu.prototype.dispose = function() { var _rv0 = null; this.off(_ru3.EventType.MOUSEOVER), this.off(_ru3.EventType.MOUSEOUT), this.off(_ru3.EventType.CLICK), this.onClick = null, this.textureBtnSelectOff = null, this.textureBtnSelectOn = null, this.removeChildren(); }, _ruu; }(PIXI.Sprite), _rul = function(_rv1) { var _rv2 = null; function _rv3() { var _rv4 = null, _rv5 = _rv1.call(this) || this; return _rv5.textureCon2Bg2 = _ru9.REMODEL_MAIN.getTexture(19), _rv5.background = new PIXI.Sprite(_rv5.textureCon2Bg2), _rv5._specs = [], _rv5.addChild(_rv5.background), _rv5; } return _rtn(_rv3, _rv1), _rv3.prototype.dispose = function() { var _rv6 = null; this.removeChildren(), this._specs.map(function(_rv7) { var _rv8 = null; return _rv7.dispose(); }), this._specs = null, this.textureCon2Bg2 = null, this.background = null; }, _rv3.prototype.update = function(_rv9, _rva) { var _rvb = null, _rvc = this; void 0 === _rva && (_rva = null), this.clear(); for (var _rvd = _ru4.SlotUtil.getDispNameTexts(_rv9), _rve = 0; _rve < _rvd.length; _rve++) { var _rvf = _ru4.SlotUtil.getDispSlotItem(_rve, _rv9), _rvg = null == _rva ? 0 : _ru4.SlotUtil.getDispSlotItemEffect(_rve, _rva); if (0 != _rvf || 0 != _rvg) { var _rvh = new _rvi(); _rvh.update(_rvd[_rve], _rvf, _rvg), this._specs.push(_rvh); var _rvj = this._specs.length - 1; if (this._specs[_rvj].position.set(17, 42 + 18 * _rvj), this._specs.length >= 6) break; } } this._specs.map(function(_rvk) { var _rvl = null; return _rvc.addChild(_rvk); }), new _ru7.TaskLoadSlotResource('remodel', this.background, _rv9.mstID).start(); }, _rv3.prototype.clear = function() { var _rvm = null, _rvn = this; this._specs.map(function(_rvo) { var _rvp = null; _rvo.clear(), _rvn.removeChild(_rvo); }), this._specs.length = 0, this.background.texture = this.textureCon2Bg2; }, _rv3; }(PIXI.Container), _rvi = function(_rvq) { var _rvr = null; function _rvs() { var _rvt = null, _rvu = _rvq.call(this) || this; return _rvu._name = new _ru6.TextBox(19, 5523516), _rvu._name.position.set(0, 0), _rvu._textSpec = new _ru6.TextBox(19, 5523516), _rvu._textSpec.position.set(38, 0), _rvu._textSpecEffect = new _ru6.TextBox(14, 822930), _rvu._textSpecEffect.position.set(0, 4), _rvu._icon = new PIXI.Sprite(), _rvu._icon.position.set(0, 1), _rvu.addChild(_rvu._name, _rvu._textSpec, _rvu._textSpecEffect, _rvu._icon), _rvu; } return _rtn(_rvs, _rvq), _rvs.prototype.dispose = function() { var _rvv = null; this.removeChildren(), this._icon.destroy(), this._textSpec.destroy(), this._textSpecEffect.destroy(), this._name.destroy(); }, _rvs.prototype.update = function(_rvw, _rvx, _rvy) { var _rvz = null; this._name.text = _rvw; var _rw0 = 0 == _rvx ? '' : (_rvx < 0 ? '' : '+') + _rvx; this._textSpec.text = _rw0, 0 == _rvy ? (this._textSpecEffect.text = '', this._icon.visible = !1) : _rvy > 0 ? (this._icon.visible = !0, this._icon.texture = _ru9.REMODEL_MAIN.getTexture(55), this._textSpecEffect.text = _rvy.toString(), this._textSpecEffect.style.fill = 822930) : (this._icon.visible = !0, this._icon.texture = _ru9.REMODEL_MAIN.getTexture(20), this._textSpecEffect.text = Math.abs(_rvy).toString(), this._textSpecEffect.style.fill = 12465719); var _rw1 = '' == _rw0 ? 0 : this._textSpec.width, _rw2 = this._name.width + _rw1 + 5; this._icon.position.x = _rw2, this._textSpecEffect.position.x = _rw2 + this._icon.width + 2; }, _rvs.prototype.clear = function() { var _rw3 = null; this._name.text = '', this._textSpec.text = '', this._textSpecEffect.text = '', this._icon.visible = !1; }, _rvs; }(PIXI.Container); }, 55177: function(_rw4, _rw5, _rw6) { 'use strict'; var _rw7 = null; var _rw8, _rw9 = this && this.__extends || (_rw8 = function(_rwa, _rwb) { var _rwc = null; return _rw8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_rwd, _rwe) { var _rwf = null; _rwd.__proto__ = _rwe; } || function(_rwg, _rwh) { var _rwi = null; for (var _rwj in _rwh) Object.prototype.hasOwnProperty.call(_rwh, _rwj) && (_rwg[_rwj] = _rwh[_rwj]); }, _rw8(_rwa, _rwb); }, function(_rwk, _rwl) { var _rwm = null; if ('function' != typeof _rwl && null !== _rwl) throw new TypeError('Class extends value ' + String(_rwl) + ' is not a constructor or null'); function _rwn() { var _rwo = null; this.constructor = _rwk; } _rw8(_rwk, _rwl), _rwk.prototype = null === _rwl ? Object.create(_rwl) : (_rwn.prototype = _rwl.prototype, new _rwn()); }), _rwp = this && this.__createBinding || (Object.create ? function(_rwq, _rwr, _rws, _rwt) { var _rwu = null; void 0 === _rwt && (_rwt = _rws); var _rwv = Object.getOwnPropertyDescriptor(_rwr, _rws); _rwv && !('get' in _rwv ? !_rwr.__esModule : _rwv.writable || _rwv.configurable) || (_rwv = { 'enumerable': !0, 'get': function() { return _rwr[_rws]; } }), Object.defineProperty(_rwq, _rwt, _rwv); } : function(_rww, _rwx, _rwy, _rwz) { void 0 === _rwz && (_rwz = _rwy), _rww[_rwz] = _rwx[_rwy]; }), _rx0 = this && this.__setModuleDefault || (Object.create ? function(_rx1, _rx2) { var _rx3 = null; Object.defineProperty(_rx1, 'default', { 'enumerable': !0, 'value': _rx2 }); } : function(_rx4, _rx5) { var _rx6 = null; _rx4.default = _rx5; }), _rx7 = this && this.__importStar || function(_rx8) { var _rx9 = null; if (_rx8 && _rx8.__esModule) return _rx8; var _rxa = {}; if (null != _rx8) { for (var _rxb in _rx8) 'default' !== _rxb && Object.prototype.hasOwnProperty.call(_rx8, _rxb) && _rwp(_rxa, _rx8, _rxb); } return _rx0(_rxa, _rx8), _rxa; }, _rxc = this && this.__importDefault || function(_rxd) { var _rxe = null; return _rxd && _rxd.__esModule ? _rxd : { 'default': _rxd }; }; defineModule(_rw5); Object.defineProperty(_rw5, '__esModule', { 'value': !0 }), _rw5.ChangeConfirmFromOtherShip = void 0; var _rxf = _rxc(_rw6(18622)), _rxg = _rw6(65065), _rxh = _rw6(8744), _rxi = _rw6(6218), _rxj = _rx7(_rw6(31000)), _rxk = _rw6(31000), _rxl = _rw6(57257), _rxm = _rw6(71837), _rxn = _rw6(35380), _rxo = function(_rxp) { var _rxq = null; function _rxr() { var _rxs = null, _rxt = _rxp.call(this) || this; _rxt._labelArr = [], _rxt._onClickYes = function() { var _rxu = null; _rxt.onClickYes(); }, _rxt._onClickNo = function() { var _rxv = null; _rxt.onClickNo(); }; var _rxw = new PIXI.Sprite(_rxk.REMODEL_MAIN.getTexture(43)); _rxt.buttonYes = new PIXI.Sprite(_rxk.REMODEL_MAIN.getTexture(6)), _rxt.buttonNo = new PIXI.Sprite(_rxk.REMODEL_MAIN.getTexture(0)), _rxt.downArrowAnimationView = new _rxg.DownArrowAnimationView(), _rxt.fromShipBanner = new _rxl.ShipBanner(), _rxt.toShipBanner = new _rxl.ShipBanner(); var _rxx = new PIXI.Sprite(_rxj.COMMON_MAIN.getTexture(46)); _rxt.iconWeapon = new _rxi.IconWeapon(); var _rxy = new _rxh.TextBox(21, 3355443), _rxz = new _rxh.TextBox(21, 3355443); _rxt.textFromShipName = new _rxh.TextBox(21, 3355443), _rxt.textFromShipLevel = new _rxh.TextBox(15, 3355443), _rxt.textToShipName = new _rxh.TextBox(21, 3355443), _rxt.textToShipLevel = new _rxh.TextBox(15, 3355443), _rxt.textToSlotItemName = new _rxh.TextBox(21, 3355443); var _ry0 = new PIXI.Sprite(_rxf.default.resources.getUIImage('mask')), _ry1 = new PIXI.Sprite(_rxf.default.resources.getUIImage('mask')), _ry2 = new PIXI.Sprite(_rxf.default.resources.getUIImage('mask')); return _ry2.anchor.set(1, 0), _ry1.anchor.set(1, 0), _ry0.anchor.set(1, 0), _ry2.scale.set(-0.9, 1), _ry1.scale.set(-0.9, 1), _ry0.scale.set(-1.95, 1), _rxt.toShipBanner.position.set(98, 177), _rxt.textToShipName.position.set(348, 182), _rxt.textToShipLevel.position.set(348, 206), _rxy.position.set(465, 53), _rxt.fromShipBanner.position.set(98, 41), _rxt.textFromShipName.position.set(348, 48), _rxt.textFromShipLevel.position.set(348, 72), _rxz.position.set(465, 188), _rxx.position.set(351, 116), _rxt.textToSlotItemName.position.set(396, 125), _rxt.iconWeapon.position.set(351, 117), _rxt.downArrowAnimationView.position.set(216, 122), _rxt.buttonYes.position.set(156, 270), _rxt.buttonNo.position.set(411, 270), _rxt.buttonYes.interactive = !0, _rxt.buttonNo.interactive = !0, _rxt.textToSlotItemName.text = '', _rxy.text = 'が現在装備している', _rxz.text = 'に装備します', _rxt._labelArr.push(_rxy), _rxt._labelArr.push(_rxz), _rxt.textFromShipName.text = '', _rxt.textFromShipLevel.text = '', _rxt.textToShipName.text = '', _rxt.textToShipLevel.text = '', _rxt.textToSlotItemName.mask = _ry0, _rxt.textToShipName.mask = _ry1, _rxt.textFromShipName.mask = _ry2, _rxt.textToSlotItemName.addChild(_ry0), _rxt.textToShipName.addChild(_ry1), _rxt.textFromShipName.addChild(_ry2), _rxt.addChild(_rxw, _rxt.buttonYes, _rxt.buttonNo, _rxt.downArrowAnimationView), _rxt.addChild(_rxt.fromShipBanner, _rxt.toShipBanner), _rxt.addChild(_rxx), _rxt.addChild(_rxt.textFromShipName, _rxt.textFromShipLevel, _rxt.textToShipLevel, _rxt.textToShipName, _rxy, _rxz), _rxt.addChild(_rxt.iconWeapon), _rxt.addChild(_rxt.textToSlotItemName), _rxt; } return _rw9(_rxr, _rxp), _rxr.prototype.dispose = function() { var _ry3 = null; this.removeChildren(), this.deactivate(), this.iconWeapon.dispose(), this.downArrowAnimationView.dispose(), this.fromShipBanner.dispose(), this.toShipBanner.dispose(), this.textFromShipName.destroy(), this.textToShipName.destroy(), this.textFromShipLevel.destroy(), this.textToShipLevel.destroy(), this.textToSlotItemName.destroy(), this._labelArr.forEach(function(_ry4) { var _ry5 = null; _ry4.destroy(); }), this.onClickYes = null, this.onClickNo = null, this.textFromShipName = null, this.textToShipName = null, this.textFromShipLevel = null, this.textToShipLevel = null, this.fromShipBanner = null, this.toShipBanner = null, this.textToSlotItemName = null, this.iconWeapon = null, this.downArrowAnimationView = null, this.buttonYes = null, this.buttonNo = null, this._labelArr = null, this.onClickNo = null, this.onClickYes = null; }, _rxr.prototype.activate = function() { var _ry6 = null; 0 == this.buttonYes.buttonMode && (this.buttonYes.on(_rxn.EventType.CLICK, this._onClickYes), this.buttonYes.buttonMode = !0), 0 == this.buttonNo.buttonMode && (this.buttonNo.on(_rxn.EventType.CLICK, this._onClickNo), this.buttonNo.buttonMode = !0); }, _rxr.prototype.deactivate = function() { var _ry7 = null; this.buttonYes.buttonMode = !1, this.buttonYes.off(_rxn.EventType.CLICK), this.buttonNo.buttonMode = !1, this.buttonNo.off(_rxn.EventType.CLICK), _rxm.TaskLoadShipResource.abortBy(this); }, _rxr.prototype.update = function(_ry8, _ry9, _rya) { var _ryb = null, _ryc = '(Lv.'['concat'](_ry8.level, ')'), _ryd = '(Lv.'['concat'](_ry9.level, ')'); this.textFromShipName.text = _ry8.name, this.textFromShipLevel.text = _ryc, this.textToShipName.text = _ry9.name, this.textToShipLevel.text = _ryd, this.fromShipBanner.updateImage(_ry8.mstID, _ry8.isDamaged()), this.fromShipBanner.updateRibbon(_ry8.ribbon), this.toShipBanner.updateImage(_ry9.mstID, _ry9.isDamaged()), this.toShipBanner.updateRibbon(_ry9.ribbon), this.textToSlotItemName.text = _rya.name, this.iconWeapon.update(_rya.iconType); }, _rxr; }(PIXI.Container); _rw5.ChangeConfirmFromOtherShip = _rxo; }, 52383: function(_rye, _ryf, _ryg) { 'use strict'; var _ryh = null; var _ryi, _ryj = this && this.__extends || (_ryi = function(_ryk, _ryl) { var _rym = null; return _ryi = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ryn, _ryo) { var _ryp = null; _ryn.__proto__ = _ryo; } || function(_ryq, _ryr) { var _rys = null; for (var _ryt in _ryr) Object.prototype.hasOwnProperty.call(_ryr, _ryt) && (_ryq[_ryt] = _ryr[_ryt]); }, _ryi(_ryk, _ryl); }, function(_ryu, _ryv) { var _ryw = null; if ('function' != typeof _ryv && null !== _ryv) throw new TypeError('Class extends value ' + String(_ryv) + ' is not a constructor or null'); function _ryx() { var _ryy = null; this.constructor = _ryu; } _ryi(_ryu, _ryv), _ryu.prototype = null === _ryv ? Object.create(_ryv) : (_ryx.prototype = _ryv.prototype, new _ryx()); }), _ryz = this && this.__createBinding || (Object.create ? function(_rz0, _rz1, _rz2, _rz3) { var _rz4 = null; void 0 === _rz3 && (_rz3 = _rz2); var _rz5 = Object.getOwnPropertyDescriptor(_rz1, _rz2); _rz5 && !('get' in _rz5 ? !_rz1.__esModule : _rz5.writable || _rz5.configurable) || (_rz5 = { 'enumerable': !0, 'get': function() { return _rz1[_rz2]; } }), Object.defineProperty(_rz0, _rz3, _rz5); } : function(_rz6, _rz7, _rz8, _rz9) { void 0 === _rz9 && (_rz9 = _rz8), _rz6[_rz9] = _rz7[_rz8]; }), _rza = this && this.__setModuleDefault || (Object.create ? function(_rzb, _rzc) { var _rzd = null; Object.defineProperty(_rzb, 'default', { 'enumerable': !0, 'value': _rzc }); } : function(_rze, _rzf) { var _rzg = null; _rze.default = _rzf; }), _rzh = this && this.__importStar || function(_rzi) { var _rzj = null; if (_rzi && _rzi.__esModule) return _rzi; var _rzk = {}; if (null != _rzi) { for (var _rzl in _rzi) 'default' !== _rzl && Object.prototype.hasOwnProperty.call(_rzi, _rzl) && _ryz(_rzk, _rzi, _rzl); } return _rza(_rzk, _rzi), _rzk; }; defineModule(_ryf); Object.defineProperty(_ryf, '__esModule', { 'value': !0 }), _ryf.ChangeListSwitch = void 0; var _rzm = _rzh(_ryg(31000)), _rzn = _ryg(35380), _rzo = function(_rzp) { var _rzq = null; function _rzr() { var _rzs = null, _rzt = _rzp.call(this) || this; return _rzt.TYPE_UNEQUIPS = 'uniquips', _rzt.TYPE_EQUIPS_OTHER = 'equipsother', _rzt._onClick = function() { var _rzu = null; _rzt.onClick(); }, _rzt.btnSoubi1 = _rzm.REMODEL_MAIN.getTexture(14), _rzt.btnSoubi2 = _rzm.REMODEL_MAIN.getTexture(15), _rzt.on(_rzn.EventType.CLICK, _rzt._onClick), _rzt.interactive = _rzt.buttonMode = !0, _rzt; } return _ryj(_rzr, _rzp), _rzr.prototype.update = function(_rzv) { var _rzw = null; switch (this.texture = PIXI.Texture.EMPTY, _rzv) { case this.TYPE_UNEQUIPS: this.texture = this.btnSoubi1; break; case this.TYPE_EQUIPS_OTHER: this.texture = this.btnSoubi2; } }, _rzr.prototype.dispose = function() { var _rzx = null; this.onClick = null, this.btnSoubi1 = null, this.btnSoubi2 = null, this.off(_rzn.EventType.CLICK), this.removeChildren(); }, _rzr; }(PIXI.Sprite); _ryf.ChangeListSwitch = _rzo; }, 29386: function(_rzy, _rzz, _s00) { 'use strict'; var _s01 = null; var _s02, _s03 = this && this.__extends || (_s02 = function(_s04, _s05) { var _s06 = null; return _s02 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_s07, _s08) { var _s09 = null; _s07.__proto__ = _s08; } || function(_s0a, _s0b) { var _s0c = null; for (var _s0d in _s0b) Object.prototype.hasOwnProperty.call(_s0b, _s0d) && (_s0a[_s0d] = _s0b[_s0d]); }, _s02(_s04, _s05); }, function(_s0e, _s0f) { var _s0g = null; if ('function' != typeof _s0f && null !== _s0f) throw new TypeError('Class extends value ' + String(_s0f) + ' is not a constructor or null'); function _s0h() { var _s0i = null; this.constructor = _s0e; } _s02(_s0e, _s0f), _s0e.prototype = null === _s0f ? Object.create(_s0f) : (_s0h.prototype = _s0f.prototype, new _s0h()); }), _s0j = this && this.__createBinding || (Object.create ? function(_s0k, _s0l, _s0m, _s0n) { var _s0o = null; void 0 === _s0n && (_s0n = _s0m); var _s0p = Object.getOwnPropertyDescriptor(_s0l, _s0m); _s0p && !('get' in _s0p ? !_s0l.__esModule : _s0p.writable || _s0p.configurable) || (_s0p = { 'enumerable': !0, 'get': function() { return _s0l[_s0m]; } }), Object.defineProperty(_s0k, _s0n, _s0p); } : function(_s0q, _s0r, _s0s, _s0t) { void 0 === _s0t && (_s0t = _s0s), _s0q[_s0t] = _s0r[_s0s]; }), _s0u = this && this.__setModuleDefault || (Object.create ? function(_s0v, _s0w) { var _s0x = null; Object.defineProperty(_s0v, 'default', { 'enumerable': !0, 'value': _s0w }); } : function(_s0y, _s0z) { var _s10 = null; _s0y.default = _s0z; }), _s11 = this && this.__importStar || function(_s12) { var _s13 = null; if (_s12 && _s12.__esModule) return _s12; var _s14 = {}; if (null != _s12) { for (var _s15 in _s12) 'default' !== _s15 && Object.prototype.hasOwnProperty.call(_s12, _s15) && _s0j(_s14, _s12, _s15); } return _s0u(_s14, _s12), _s14; }; defineModule(_rzz); Object.defineProperty(_rzz, '__esModule', { 'value': !0 }), _rzz.InUseMarker = void 0; var _s16 = _s11(_s00(31000)), _s17 = function(_s18) { var _s19 = null; function _s1a() { var _s1b = null, _s1c = _s18.call(this) || this; return _s1c.btnSoubi3Light = new PIXI.Sprite(_s16.REMODEL_MAIN.getTexture(17)), _s1c.btnSoubi3 = new PIXI.Sprite(_s16.REMODEL_MAIN.getTexture(16)), _s1c.btnSoubi3Light.position.set(-14, -14), _s1c.btnSoubi3Light.alpha = 0, _s1c.addChild(_s1c.btnSoubi3Light, _s1c.btnSoubi3), _s1c.tween = createjs.Tween.get(_s1c.btnSoubi3Light).to({ 'alpha': 0 }).to({ 'alpha': 1 }, 1000).to({ 'alpha': 0 }, 1000), _s1c.tween.loop = !0, _s1c.tween.play(null), _s1c; } return _s03(_s1a, _s18), _s1a.prototype.dispose = function() { var _s1d = null; this.tween.setPaused(!0), createjs.Tween.removeTweens(this.btnSoubi3Light), this.btnSoubi3 = null, this.btnSoubi3Light = null, this.tween = null, this.removeChildren(); }, _s1a; }(PIXI.Container); _rzz.InUseMarker = _s17; }, 59699: function(_s1e, _s1f, _s1g) { 'use strict'; var _s1h = null; var _s1i, _s1j = this && this.__extends || (_s1i = function(_s1k, _s1l) { var _s1m = null; return _s1i = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_s1n, _s1o) { var _s1p = null; _s1n.__proto__ = _s1o; } || function(_s1q, _s1r) { var _s1s = null; for (var _s1t in _s1r) Object.prototype.hasOwnProperty.call(_s1r, _s1t) && (_s1q[_s1t] = _s1r[_s1t]); }, _s1i(_s1k, _s1l); }, function(_s1u, _s1v) { var _s1w = null; if ('function' != typeof _s1v && null !== _s1v) throw new TypeError('Class extends value ' + String(_s1v) + ' is not a constructor or null'); function _s1x() { var _s1y = null; this.constructor = _s1u; } _s1i(_s1u, _s1v), _s1u.prototype = null === _s1v ? Object.create(_s1v) : (_s1x.prototype = _s1v.prototype, new _s1x()); }), _s1z = this && this.__createBinding || (Object.create ? function(_s20, _s21, _s22, _s23) { var _s24 = null; void 0 === _s23 && (_s23 = _s22); var _s25 = Object.getOwnPropertyDescriptor(_s21, _s22); _s25 && !('get' in _s25 ? !_s21.__esModule : _s25.writable || _s25.configurable) || (_s25 = { 'enumerable': !0, 'get': function() { return _s21[_s22]; } }), Object.defineProperty(_s20, _s23, _s25); } : function(_s26, _s27, _s28, _s29) { void 0 === _s29 && (_s29 = _s28), _s26[_s29] = _s27[_s28]; }), _s2a = this && this.__setModuleDefault || (Object.create ? function(_s2b, _s2c) { var _s2d = null; Object.defineProperty(_s2b, 'default', { 'enumerable': !0, 'value': _s2c }); } : function(_s2e, _s2f) { var _s2g = null; _s2e.default = _s2f; }), _s2h = this && this.__importStar || function(_s2i) { var _s2j = null; if (_s2i && _s2i.__esModule) return _s2i; var _s2k = {}; if (null != _s2i) { for (var _s2l in _s2i) 'default' !== _s2l && Object.prototype.hasOwnProperty.call(_s2i, _s2l) && _s1z(_s2k, _s2i, _s2l); } return _s2a(_s2k, _s2i), _s2k; }; defineModule(_s1f); Object.defineProperty(_s1f, '__esModule', { 'value': !0 }), _s1f.ListHeader = void 0; var _s2m = _s2h(_s1g(31000)), _s2n = function(_s2o) { var _s2p = null; function _s2q() { var _s2r = null, _s2s = _s2o.call(this) || this; return _s2s.TYPE_SET = 'typeset', _s2s.TYPE_UNSET = 'typeunset', _s2s.listItem = _s2m.COMMON_MAIN.getTexture(36), _s2s.listItemInUse = _s2m.COMMON_MAIN.getTexture(37), _s2s; } return _s1j(_s2q, _s2o), _s2q.prototype.update = function(_s2t) { var _s2u = null; switch (this.texture = PIXI.Texture.EMPTY, _s2t) { case this.TYPE_SET: this.texture = this.listItemInUse; break; case this.TYPE_UNSET: this.texture = this.listItem; } }, _s2q.prototype.dispose = function() { var _s2v = null; this.listItem = null, this.listItemInUse = null, this.removeChildren(); }, _s2q; }(PIXI.Sprite); _s1f.ListHeader = _s2n; }, 87727: function(_s2w, _s2x, _s2y) { 'use strict'; var _s2z = null; var _s30, _s31 = this && this.__extends || (_s30 = function(_s32, _s33) { var _s34 = null; return _s30 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_s35, _s36) { var _s37 = null; _s35.__proto__ = _s36; } || function(_s38, _s39) { var _s3a = null; for (var _s3b in _s39) Object.prototype.hasOwnProperty.call(_s39, _s3b) && (_s38[_s3b] = _s39[_s3b]); }, _s30(_s32, _s33); }, function(_s3c, _s3d) { var _s3e = null; if ('function' != typeof _s3d && null !== _s3d) throw new TypeError('Class extends value ' + String(_s3d) + ' is not a constructor or null'); function _s3f() { var _s3g = null; this.constructor = _s3c; } _s30(_s3c, _s3d), _s3c.prototype = null === _s3d ? Object.create(_s3d) : (_s3f.prototype = _s3d.prototype, new _s3f()); }), _s3h = this && this.__importDefault || function(_s3i) { var _s3j = null; return _s3i && _s3i.__esModule ? _s3i : { 'default': _s3i }; }; defineModule(_s2x); Object.defineProperty(_s2x, '__esModule', { 'value': !0 }), _s2x.SlotInShipChangeConfirm = void 0; var _s3k = _s3h(_s2y(21359)), _s3l = function(_s3m) { var _s3n = null; function _s3o(_s3p) { var _s3q = null, _s3r = _s3m.call(this) || this; _s3r.DURATION = 150; var _s3s = new PIXI.Graphics(); return _s3s.beginFill(0, 0.5), _s3s.drawRect(0, 0, _s3k.default.width, _s3k.default.height), _s3s.endFill(), _s3r._container = _s3p, _s3r._container.alpha = 0, _s3r.interactive = !0, _s3r.alpha = 0, _s3r.addChild(_s3s, _s3r._container), _s3r; } return _s31(_s3o, _s3m), _s3o.prototype.dispose = function() { var _s3t = null; this.removeChildren(), this._container = null; }, _s3o.prototype.show = function(_s3u) { var _s3v = null, _s3w = this; void 0 === _s3u && (_s3u = null), createjs.Tween.get(this).to({ 'alpha': 1 }, 1.2 * this.DURATION).call(function() { var _s3x = null; createjs.Tween.get(_s3w._container).to({ 'alpha': 1 }, 0.5 * _s3w.DURATION).call(function() { null !== _s3u && _s3u(); }); }); }, _s3o.prototype.hide = function(_s3y) { var _s3z = null, _s40 = this; void 0 === _s3y && (_s3y = null), createjs.Tween.get(this._container).to({ 'alpha': 0 }, this.DURATION).call(function() { var _s41 = null; createjs.Tween.get(_s40).to({ 'alpha': 0 }, 1.2 * _s40.DURATION).call(function() { null !== _s3y && _s3y(); }); }); }, _s3o; }(PIXI.Container); _s2x.SlotInShipChangeConfirm = _s3l; }, 28726: function(_s42, _s43, _s44) { 'use strict'; var _s45 = null; var _s46, _s47 = this && this.__extends || (_s46 = function(_s48, _s49) { var _s4a = null; return _s46 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_s4b, _s4c) { var _s4d = null; _s4b.__proto__ = _s4c; } || function(_s4e, _s4f) { var _s4g = null; for (var _s4h in _s4f) Object.prototype.hasOwnProperty.call(_s4f, _s4h) && (_s4e[_s4h] = _s4f[_s4h]); }, _s46(_s48, _s49); }, function(_s4i, _s4j) { var _s4k = null; if ('function' != typeof _s4j && null !== _s4j) throw new TypeError('Class extends value ' + String(_s4j) + ' is not a constructor or null'); function _s4l() { var _s4m = null; this.constructor = _s4i; } _s46(_s4i, _s4j), _s4i.prototype = null === _s4j ? Object.create(_s4j) : (_s4l.prototype = _s4j.prototype, new _s4l()); }); defineModule(_s43); Object.defineProperty(_s43, '__esModule', { 'value': !0 }), _s43.SlotItemDragging = void 0; var _s4n = _s44(79899), _s4o = _s44(35380), _s4p = _s44(87967), _s4q = _s44(31000), _s4r = _s44(30603), _s4s = function(_s4t) { var _s4u = null; function _s4v(_s4w, _s4x, _s4y, _s4z, _s50, _s51, _s52) { var _s53 = null, _s54 = _s4t.call(this, 0) || this; return _s54._onMove = function(_s55) { var _s56 = null, _s57 = _s55.data.global; _s54._dragSlotItem.position.set(_s57.x, _s57.y); var _s58 = -1; _s54._slotArea.forEach(function(_s59, _s5a) { var _s5b = null, _s5c = _s55.data.getLocalPosition(_s59), _s5d = _s59.getChildByName('over'); 1 == _s59.hitArea.contains(_s5c.x, _s5c.y) ? (_s5d.alpha = _s54._beforeIndex == _s5a || _s5a >= _s54._availSlotNumber ? 0 : 1, _s58 = _s5a) : _s5d.alpha = 0; }), _s54._afterIndex = _s58; }, _s54._onUp = function() { var _s5e = null; _s54._cbDrop(_s54._beforeIndex, _s54._afterIndex, _s54._equipmentList), _s54._cbEnd(); }, _s54._onOut = function() { var _s5f = null; _s54._cbEnd(); }, _s54._afterIndex = -1, _s54._beforeIndex = _s4y, _s54._slotItems = _s4z, _s54._equipmentList = _s50, _s54._cbDrop = _s51, _s54._cbEnd = _s52, _s54.interactive = !1, _s54._slotArea = [], _s54._delayRun = createjs.Tween.get(null).wait(500).call(function() { var _s5g = null; _s54._activate(_s4w, _s4x); }), _s54; } return _s47(_s4v, _s4t), _s4v.prototype.inDraggingEventWaiting = function() { var _s5h = null; return null == this._drag; }, _s4v.prototype.cancel = function() { var _s5i = null; this._delayRun.setPaused(!0), this._cbEnd(); }, _s4v.prototype.dispose = function() { var _s5j = null; this.removeChildren(), this.off(_s4o.EventType.MOUSEMOVE, this._onMove), this.off(_s4o.EventType.MOUSEUP, this._onUp), this.off(_s4o.EventType.MOUSEOUT, this._onOut), this._dragSlotItem && this._dragSlotItem.dispose(), null != this._drag && (this._slotItems[this._beforeIndex].alpha = 1, this._drag.removeChildren(), this._slotArea.forEach(function(_s5k) { var _s5l = null; _s5k.removeChildren(); })), this._drag = null, this._slotArea = null, this._delayRun = null, this._dragSlotItem = null, this._afterIndex = null, this._availSlotNumber = null, this._beforeIndex = null, this._slotItems = null, this._equipmentList = null, this._cbEnd = null, this._cbDrop = null; }, _s4v.prototype._activate = function(_s5m, _s5n) { var _s5o = null, _s5p = this; this.interactive = !0, this._availSlotNumber = this._equipmentList.length, this._afterIndex = this._beforeIndex, this._drag = new PIXI.Container(), this._slotItems[this._beforeIndex].alpha = 0.5, this._slotItems.forEach(function(_s5q, _s5r) { var _s5s = null, _s5t = new _s4n.AreaBox(0, 16777215, _s4p.RemodelConst.DETAIL_LISTITEM.WIDTH, _s4p.RemodelConst.DETAIL_LISTITEM.HEIGHT); _s5t.hitArea = new PIXI.Rectangle(0, 0, _s4p.RemodelConst.DETAIL_LISTITEM.WIDTH, _s4p.RemodelConst.DETAIL_LISTITEM.HEIGHT); var _s5u = new PIXI.Sprite(_s4q.REMODEL_MAIN.getTexture(23)); _s5u.alpha = 0, _s5u.name = 'over', _s5u.position.set(-30, 0), _s5t.addChild(_s5u); var _s5v = _s5m.x + _s5p._slotItems[_s5r].x, _s5w = _s5m.y + _s5p._slotItems[_s5r].y; _s5t.position.set(_s5v, _s5w), _s5p._slotArea.push(_s5t), _s5p._drag.addChild(_s5t); }), this._dragSlotItem = new _s4r.SimpleSlotItemSlot(), this._dragSlotItem.update(this._equipmentList[this._beforeIndex]), this._dragSlotItem.pivot.set(Math.round(this._dragSlotItem.width / 2), Math.round(this._dragSlotItem.height / 2)), this._dragSlotItem.position.set(_s5n.x, _s5n.y), this._drag.addChild(this._dragSlotItem), this.addChild(this._drag), _s4q.SE.play('237'), this.on(_s4o.EventType.MOUSEMOVE, this._onMove), this.on(_s4o.EventType.MOUSEUP, this._onUp), this.on(_s4o.EventType.MOUSEOUT, this._onOut); }, _s4v; }(_s4n.AreaBox); _s43.SlotItemDragging = _s4s; }, 71087: function(_s5x, _s5y, _s5z) { 'use strict'; var _s60 = null; var _s61, _s62 = this && this.__extends || (_s61 = function(_s63, _s64) { var _s65 = null; return _s61 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_s66, _s67) { var _s68 = null; _s66.__proto__ = _s67; } || function(_s69, _s6a) { var _s6b = null; for (var _s6c in _s6a) Object.prototype.hasOwnProperty.call(_s6a, _s6c) && (_s69[_s6c] = _s6a[_s6c]); }, _s61(_s63, _s64); }, function(_s6d, _s6e) { var _s6f = null; if ('function' != typeof _s6e && null !== _s6e) throw new TypeError('Class extends value ' + String(_s6e) + ' is not a constructor or null'); function _s6g() { var _s6h = null; this.constructor = _s6d; } _s61(_s6d, _s6e), _s6d.prototype = null === _s6e ? Object.create(_s6e) : (_s6g.prototype = _s6e.prototype, new _s6g()); }); defineModule(_s5y); Object.defineProperty(_s5y, '__esModule', { 'value': !0 }), _s5y.SlotItemList = void 0; var _s6i = _s5z(1893), _s6j = _s5z(17261), _s6k = _s5z(90054), _s6l = _s5z(93501), _s6m = _s5z(57828), _s6n = _s5z(52383), _s6o = _s5z(29386), _s6p = _s5z(59699), _s6q = _s5z(810), _s6r = function(_s6s) { var _s6t = null; function _s6u() { var _s6v = null, _s6w = _s6s.call(this) || this; _s6w._onClick = function(_s6x, _s6y) { var _s6z = null; _s6w.onClick(_s6x, _s6y); }, _s6w._onClickLock = function(_s70, _s71) { var _s72 = null; _s6w.onClickLock(_s70, _s71); }, _s6w.sortSoubiTxtNone = new PIXI.Sprite(_s6l.COMMON_SORT.getTexture(55)), _s6w.headerSoubiSentaku = new _s6m.TitleBar(), _s6w.headerSoubiSentaku.initialize(_s6k.COMMON_MAIN.getTexture(3), 26); var _s73 = _s6k.COMMON_MAIN.getTexture(38), _s74 = new PIXI.Sprite(_s6k.COMMON_MAIN.getTexture(14)); _s6w._listHeader = new _s6p.ListHeader(), _s6w._pagerView = new _s6i.PagerView(), _s6w._slotItemFilterView = new _s6j.SlotItemFilterView(), _s6w.lines = new Array(), _s6w._changeListSwitch = new _s6n.ChangeListSwitch(), _s6w.listItems = new Array(), _s6w._inUseMarker = new _s6o.InUseMarker(), _s74.interactive = !0; for (var _s75 = new PIXI.Point(54, 54), _s76 = _s75.x, _s77 = 0; _s77 < 10; _s77++) { var _s78 = new PIXI.Sprite(_s73), _s79 = new _s6q.ListItem(_s77), _s7a = 45 * _s77 + _s75.y; _s79.position.set(_s76, _s7a), _s79.onClick = _s6w._onClick, _s79.onClickLock = _s6w._onClickLock, _s78.width += 45, _s78.position.set(_s76 + 30, _s7a + 45 - _s78.height), _s6w.lines.push(_s78), _s6w.listItems.push(_s79); } return _s6w.sortSoubiTxtNone.position.set(90, 65), _s6w._pagerView.position.set(96, 525), _s6w._listHeader.position.set(90, 12), _s6w._slotItemFilterView.position.set(246, 14), _s6w._changeListSwitch.position.set(569, 12), _s6w.headerSoubiSentaku.position.set(0, -39), _s6w._inUseMarker.position.y = 12, _s6w.addChild(_s74), _s6w.listItems.forEach(function(_s7b) { var _s7c = null; return _s6w.addChild(_s7b); }), _s6w.lines.forEach(function(_s7d) { var _s7e = null; return _s6w.addChild(_s7d); }), _s6w.addChild(_s6w._pagerView), _s6w.addChild(_s6w._listHeader, _s6w.sortSoubiTxtNone), _s6w.addChild(_s6w._slotItemFilterView), _s6w.addChild(_s6w._changeListSwitch), _s6w.addChild(_s6w.headerSoubiSentaku), _s6w.addChild(_s6w._inUseMarker), _s6w; } return _s62(_s6u, _s6s), Object.defineProperty(_s6u.prototype, 'pagerView', { 'get': function() { var _s7f = null; return this._pagerView; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_s6u.prototype, 'slotItemFilterView', { 'get': function() { var _s7g = null; return this._slotItemFilterView; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_s6u.prototype, 'changeListSwitch', { 'get': function() { var _s7h = null; return this._changeListSwitch; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_s6u.prototype, 'inUseMarker', { 'get': function() { var _s7i = null; return this._inUseMarker; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_s6u.prototype, 'listHeader', { 'get': function() { var _s7j = null; return this._listHeader; }, 'enumerable': !1, 'configurable': !0 }), _s6u.prototype.dispose = function() { var _s7k = null; for (var _s7l = 0; _s7l < this.listItems.length; _s7l++) this.listItems[_s7l].dispose(); this._pagerView.dispose(), this._slotItemFilterView.dispose(), this._changeListSwitch.dispose(), this._inUseMarker.dispose(), this._listHeader.dispose(), this.headerSoubiSentaku.dispose(), this.onClick = null, this.onClickLock = null, this._pagerView = null, this._slotItemFilterView = null, this._changeListSwitch = null, this._inUseMarker = null, this._listHeader = null, this.lines = null, this.listItems = null, this.headerSoubiSentaku = null, this.sortSoubiTxtNone = null, this.removeChildren(); }, _s6u.prototype.update = function(_s7m, _s7n, _s7o, _s7p, _s7q, _s7r, _s7s) { var _s7t = null, _s7u = this.listItems[_s7m]; _s7u.update(_s7n, _s7o, _s7p, _s7q, _s7r, _s7s), _s7u.visible = !0; }, _s6u.prototype.visibleEmptyText = function() { var _s7v = null; this.sortSoubiTxtNone.visible = !0; }, _s6u.prototype.clear = function() { var _s7w = null; this.listItems.forEach(function(_s7x) { var _s7y = null; _s7x.visible = !1; }), this.sortSoubiTxtNone.visible = !1; }, _s6u; }(PIXI.Container); _s5y.SlotItemList = _s6r; }, 810: function(_s7z, _s80, _s81) { 'use strict'; var _s82 = null; var _s83, _s84 = this && this.__extends || (_s83 = function(_s85, _s86) { var _s87 = null; return _s83 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_s88, _s89) { var _s8a = null; _s88.__proto__ = _s89; } || function(_s8b, _s8c) { var _s8d = null; for (var _s8e in _s8c) Object.prototype.hasOwnProperty.call(_s8c, _s8e) && (_s8b[_s8e] = _s8c[_s8e]); }, _s83(_s85, _s86); }, function(_s8f, _s8g) { var _s8h = null; if ('function' != typeof _s8g && null !== _s8g) throw new TypeError('Class extends value ' + String(_s8g) + ' is not a constructor or null'); function _s8i() { var _s8j = null; this.constructor = _s8f; } _s83(_s8f, _s8g), _s8f.prototype = null === _s8g ? Object.create(_s8g) : (_s8i.prototype = _s8g.prototype, new _s8i()); }), _s8k = this && this.__importDefault || function(_s8l) { var _s8m = null; return _s8l && _s8l.__esModule ? _s8l : { 'default': _s8l }; }; defineModule(_s80); Object.defineProperty(_s80, '__esModule', { 'value': !0 }), _s80.ListItem = void 0; var _s8n, _s8o = _s8k(_s81(18622)), _s8p = _s81(24117), _s8q = _s81(72778), _s8r = _s81(85937), _s8s = _s81(6218), _s8t = _s81(43905), _s8u = _s81(97638), _s8v = _s81(8744), _s8w = _s81(90054), _s8x = _s81(47374), _s8y = _s81(35380), _s8z = _s81(14921), _s90 = function(_s91) { var _s92 = null; function _s93(_s94) { var _s95 = null, _s96 = _s91.call(this) || this; _s96.center = 23, _s96.SCROLL_THRESHOLD = 193, _s96._onClick = function() { var _s97 = null; _s96.onClick(_s96.index, _s96.memSlotItemId); }, _s96._onClickLock = function() { var _s98 = null; _s96.onClickLock(_s96.index, _s96.memSlotItemId); }, _s96._onMouseOver = function(_s99) { var _s9a = null; _s99.target != _s96.clickArea && _s99.target != _s96.lockIcon || _s96.mouseover(); }, _s96._onScroll = function(_s9b) { var _s9c = null; _s9b.target != _s96.clickArea && _s9b.target != _s96.lockIcon || _s96.textName.width > _s96.SCROLL_THRESHOLD && _s96._scrollTween(!0); }, _s96._onMouseOut = function(_s9d) { var _s9e = null; _s9d.target != _s96.clickArea && _s9d.target != _s96.lockIcon && _s96.mouseout(); }, _s96._offScroll = function(_s9f) { var _s9g = null; _s9f.target != _s96.clickArea && _s9f.target != _s96.lockIcon && _s96._scrollTween(!1); }, _s96._scrollTween = function(_s9h) { var _s9i = null; if (_s9h) { if (null == _s96._scroll_t) { var _s9j = Math.abs(_s96.SCROLL_THRESHOLD - _s96.textName.width), _s9k = _s8z.MathUtil.round(_s9j / 0.2, 0); _s96._scroll_t = createjs.Tween.get(_s96.textName).wait(1000).to({ 'x': -_s9j }, _s9k); } } else null != _s96._scroll_t && (_s96._scroll_t.setPaused(!0), _s96._scroll_t = null), _s96.textName.position.x = 0; }, _s96.index = _s94, _s96.iconWeapon = new _s8s.IconWeapon(), _s96.focus = new PIXI.Sprite(_s8w.COMMON_MAIN.getTexture(18)), _s96.textRare = new _s8v.TextBox(15, 5523516), _s96.itemSummary = new _s9l(5523516), _s96.itemSummary.position.set(395, 0), _s96.shipSummary = new _s9m(), _s96.shipSummary.position.set(306, 0), _s96.maskName = new PIXI.Sprite(_s8w.COMMON_MAIN.getTexture(39)), _s96.maskName.position.x = 172, _s96.slotItemLevel = new _s8u.SlotItemLevel(), _s96.airPlaneLevel = new _s8r.AirPlaneLevel(), _s96.airPlaneLevel.position.set(232, 3), _s96.slotItemLevel.position.set(260, 13), _s96.clickArea = new PIXI.Graphics(), _s96.clickArea.beginFill(0, 0), _s96.clickArea.drawRect(0, 0, _s96.focus.width + 180, _s96.focus.height), _s96.clickArea.endFill(), _s96.clickArea.renderable = !1, _s96.clickArea.on(_s8y.EventType.MOUSEOVER, _s96._onScroll), _s96.clickArea.on(_s8y.EventType.MOUSEOUT, _s96._offScroll), _s96.clickArea.interactive = _s96.clickArea.buttonMode = !0; var _s9n = new PIXI.Graphics(); _s9n.beginFill(0, 0), _s9n.drawRect(0, 0, 245, 45), _s9n.endFill(), _s96.textName = new _s8v.TextBox(21, 5523516); var _s9o = Math.floor(_s96.center - _s96.textName.height / 2); return _s96.containerName = new PIXI.Container(), _s96.containerName.mask = _s9n, _s96.containerName.position.set(42, _s9o), _s96.containerName.addChild(_s96.textName), _s96.containerName.addChild(_s9n), _s96.lockIcon = new _s9p(), _s96.lockIcon.onClick = _s96._onClickLock, _s96.lockIcon.onMouseOut = _s96._onMouseOut, _s96.lockIcon.onMouseOver = _s96._onMouseOver, _s96.lockIcon.onScroll = _s96._onScroll, _s96.lockIcon.offScroll = _s96._offScroll, _s96.lockIcon.position.x = 603, _s96.focus.width += 135, _s96.focus.position.x = 36, _s96.focus.alpha = 0, _s96.iconWeapon.position.x = -6, _s96.overArea = new PIXI.Graphics(), _s96.overArea.beginFill(0, 0.4), _s96.overArea.drawRect(0, 0, _s96.focus.width + 180, _s96.focus.height), _s96.overArea.endFill(), _s96.overArea.x = -25, _s96.overArea.visible = !1, _s96.addChild(_s96.clickArea, _s96.focus, _s96.iconWeapon, _s96.containerName, _s96.maskName, _s96.textRare, _s96.itemSummary, _s96.shipSummary, _s96.slotItemLevel, _s96.airPlaneLevel, _s96.overArea, _s96.lockIcon), _s96; } return _s84(_s93, _s91), _s93.prototype.dispose = function() { var _s9q = null, _s9r; this.removeChildren(), this.iconWeapon.dispose(), this.itemSummary.dispose(), this.shipSummary.dispose(), this.slotItemLevel.dispose(), this.airPlaneLevel.dispose(), this.lockIcon.dispose(), this.clickArea.clear(), this.clickArea.off(_s8y.EventType.CLICK), this.clickArea.off(_s8y.EventType.MOUSEOVER), this.clickArea.off(_s8y.EventType.MOUSEOUT), this.containerName.mask = null, this.containerName.removeChildren(), this.textRare.destroy(), this.textName.destroy(), this.onClick = null, this.onClickLock = null, this.index = null, this.locked = null, this.memSlotItemId = null, this.itemType = null, this.iconWeapon = null, this.itemSummary = null, this.shipSummary = null, this.textName = null, this.textRare = null, this.lockIcon = null, this.focus = null, this.clickArea = null, this.slotItemLevel = null, this.airPlaneLevel = null, this.maskName = null, this.containerName = null, null === (_s9r = this._scroll_t) || void 0 === _s9r || _s9r.setPaused(!0), this._scroll_t = null; }, _s93.prototype.update = function(_s9s, _s9t, _s9u, _s9v, _s9w, _s9x) { var _s9y = null; this._scrollTween(!1), this.itemType = _s9t ? 1 : _s9w ? 2 : 0; var _s9z = _s8o.default.model.slot.getMst(_s9s.mstID).rarity, _sa0 = 2 == this.itemType ? 10263708 : 5523516; switch (this.iconWeapon.update(_s9s.iconType), this._updateSkillLevel_(_s9s.skillLevel), this._updateLevel_(_s9s.level), this.textRare.style.fill = _sa0, this.textName.style.fill = _sa0, this.textName.text = _s9s.name, this.locked = _s9s.isLocked(), this._updateLock_(), this.itemType) { case 0: case 2: this.textRare.visible = !0, this.itemSummary.visible = !0, this.lockIcon.visible = !0, this.shipSummary.visible = !1, this._updateTextRare_(_s9z), this._updateItemSummary_(_s9s, _sa0); break; case 1: this.shipSummary.visible = !0, this.textRare.visible = !1, this.itemSummary.visible = !1, this.lockIcon.visible = !1; var _sa1 = _s9t.isRepair(); this._updateShipSummary_(_s9t.name, _s9t.level, _s9u, _s9v, _sa1); } this.unset = _s9x, this.clickArea.off(_s8y.EventType.CLICK, this._onClick), this.clickArea.off(_s8y.EventType.MOUSEOVER, this._onMouseOver), this.clickArea.off(_s8y.EventType.MOUSEOUT, this._onMouseOut), _s9x ? (this.overArea.visible = !0, this.focus.visible = !1) : (this.overArea.visible = !1, this.focus.visible = !0, _s9v || (this.clickArea.on(_s8y.EventType.CLICK, this._onClick), this.clickArea.on(_s8y.EventType.MOUSEOVER, this._onMouseOver), this.clickArea.on(_s8y.EventType.MOUSEOUT, this._onMouseOut))), this.memSlotItemId = _s9s.memID, this.mouseout(); }, _s93.prototype._updateItemSummary_ = function(_sa2, _sa3) { var _sa4 = null; this.itemSummary.update(_sa2, _sa3); }, _s93.prototype._updateShipSummary_ = function(_sa5, _sa6, _sa7, _sa8, _sa9) { var _saa = null; this.shipSummary.update(_sa5, _sa6, _sa7, _sa8, _sa9); }, _s93.prototype._updateTextRare_ = function(_sab) { var _sac = null, _sad = _s8p.SlotConst.SLOTITEM_RARITY_NAMES[_sab]; this.textRare.text = _sad; var _sae = Math.floor(338 - this.textRare.width / 2), _saf = Math.floor(this.center - this.textRare.height / 2); this.textRare.position.set(_sae, _saf); }, _s93.prototype._updateSkillLevel_ = function(_sag) { var _sah = null; this.airPlaneLevel.visible = !1, 0 < _sag && (this.airPlaneLevel.update(_sag), this.airPlaneLevel.visible = !0); }, _s93.prototype._updateLevel_ = function(_sai) { var _saj = null; this.slotItemLevel.visible = !1, 0 < _sai && (this.slotItemLevel.update(_sai), this.slotItemLevel.visible = !0); }, _s93.prototype._updateLock_ = function() { var _sak = null; this.lockIcon.alpha = this.locked ? 1 : 0, this.lockIcon.update(this.locked); }, _s93.prototype.mouseover = function() { var _sal = null; if (this.focus.alpha = 1, this.lockIcon.alpha = 1, !this.unset) switch (this.maskName.texture = _s8w.COMMON_MAIN.getTexture(17), this.itemType) { case 0: this.textRare.style.fill = this.textName.style.fill = 16777215, this.itemSummary.mouseover(); break; case 1: this.textName.style.fill = 16774898, this.shipSummary.mouseover(); break; case 2: this.textName.style.fill = this.textRare.style.fill = 16774898, this.itemSummary.mouseover(); } }, _s93.prototype.mouseout = function() { var _sam = null; switch (this.focus.alpha = 0, this._updateLock_(), this.maskName.texture = _s8w.COMMON_MAIN.getTexture(39), this.itemType) { case 0: this.textName.style.fill = this.textRare.style.fill = 5523516, this.itemSummary.mouseout(); break; case 1: this.textName.style.fill = 5523516, this.shipSummary.mouseout(); break; case 2: this.textName.style.fill = this.textRare.style.fill = 10263708, this.itemSummary.mouseout(); } }, _s93; }(PIXI.Container); _s80.ListItem = _s90, function(_san) { var _sao = null; _san[_san.NONE = 0] = 'NONE', _san[_san.TAN = 1] = 'TAN', _san[_san.CHU = 2] = 'CHU', _san[_san.CHO = 3] = 'CHO', _san[_san.CHOCHO = 4] = 'CHOCHO'; }(_s8n || (_s8n = {})); var _sap = function(_saq) { var _sar = null; function _sas() { var _sat = null, _sau = _saq.call(this) || this; return _sau.center = 22, _sau.textName = new _s8v.TextBox(21, 5523516), _sau.textLevel = new _s8v.TextBox(18, 5523516), _sau.textName.position.y = _sau.center - Math.floor(_sau.textName.height / 2), _sau.textLevel.position.y = _sau.textName.position.y + (_sau.textName.height - _sau.textLevel.height), _sau.addChild(_sau.textName, _sau.textLevel), _sau; } return _s84(_sas, _saq), _sas.prototype.update = function(_sav, _saw, _sax) { var _say = null; this.textName.text = _sav, this.textLevel.text = '(Lv.'['concat'](_saw, ')'), this.textLevel.position.x = this.textName.width, this._updateTextColor_(_sax), this.mouseout(); }, _sas.prototype._updateTextColor_ = function(_saz) { var _sb0 = null, _sb1 = 5523516; _saz && (_sb1 = 10263708), this.defaultTextColor = _sb1; }, _sas.prototype.mouseover = function() { var _sb2 = null; this.textName.style.fill = this.textLevel.style.fill = 16777215; }, _sas.prototype.mouseout = function() { var _sb3 = null; this.textName.style.fill = this.textLevel.style.fill = this.defaultTextColor; }, _sas.prototype.dispose = function() { var _sb4 = null; this.removeChildren(), this.textName.destroy(), this.textLevel.destroy(), this.textName = null, this.textLevel = null; }, _sas; }(PIXI.Container), _s9m = function(_sb5) { var _sb6 = null; function _sb7() { var _sb8 = null, _sb9 = _sb5.call(this) || this; _sb9.center = 23, _sb9.shipInDeckFlag = new _s8t.ShipInDeckFlag(), _sb9.textStatus = new _s8v.TextBox(18, 5523516), _sb9.textNameAndLevel = new _sap(), _sb9.maskName = new PIXI.Sprite(_s8w.COMMON_MAIN.getTexture(39)), _sb9.maskName.position.x = 80; var _sba = new PIXI.Graphics(); return _sba.beginFill(0, 0), _sba.drawRect(0, 0, 170, 45), _sba.endFill(), _sb9.textNameAndLevel.mask = _sba, _sb9.textNameAndLevel.addChild(_sba), _sb9.shipInDeckFlag.position.x = 188, _sb9.shipInDeckFlag.scale.set(0.75, 0.75), _sb9.textStatus.position.x = 225, _sb9.textStatus.position.y = _sb9.center - Math.floor(_sb9.textStatus.height / 2), _sb9.addChild(_sb9.textNameAndLevel), _sb9.addChild(_sb9.maskName, _sb9.shipInDeckFlag, _sb9.textStatus), _sb9; } return _s84(_sb7, _sb5), _sb7.prototype.update = function(_sbb, _sbc, _sbd, _sbe, _sbf) { var _sbg = null; this.textNameAndLevel.update(_sbb, _sbc, _sbe), this._updateDeck_(_sbd), this._updateState_(_sbf, _sbe), this._updateTextColor_(_sbf, _sbe), this.mouseout(); }, _sb7.prototype.mouseover = function() { var _sbh = null; this.textNameAndLevel.mouseover(), this.textStatus.style.fill = 16777215, this.maskName.texture = _s8w.COMMON_MAIN.getTexture(17); }, _sb7.prototype.mouseout = function() { var _sbi = null; this.textNameAndLevel.mouseout(), this.textStatus.style.fill = this.stateColor, this.maskName.texture = _s8w.COMMON_MAIN.getTexture(39); }, _sb7.prototype.dispose = function() { var _sbj = null; this.removeChildren(), this.textNameAndLevel.removeChildren(), this.shipInDeckFlag.dispose(), this.textNameAndLevel.dispose(), this.textStatus.destroy(), this.repair = null, this.expedition = null, this.defaultTextColor = null, this.stateColor = null, this.textStatus = null, this.shipInDeckFlag = null, this.textNameAndLevel = null, this.maskName = null; }, _sb7.prototype._updateDeck_ = function(_sbk) { var _sbl = null; this.shipInDeckFlag.visible = !1, _sbk && (this.shipInDeckFlag.update(_sbk), this.shipInDeckFlag.position.y = Math.floor(this.center - this.shipInDeckFlag.height / 2), this.shipInDeckFlag.visible = !0); }, _sb7.prototype._updateTextColor_ = function(_sbm, _sbn) { var _sbo = null, _sbp = 5523516, _sbq = 5523516; _sbn ? (_sbp = 13224393, _sbq = 2466210) : _sbm && (_sbq = 6201187), this.defaultTextColor = _sbp, this.stateColor = _sbq; }, _sb7.prototype._updateState_ = function(_sbr, _sbs) { var _sbt = null; this.textStatus.text = '', this.textStatus.visible = !1, _sbr ? (this.textStatus.text = '入渠中', this.textStatus.visible = !0) : _sbs && (this.textStatus.text = '遠征中', this.textStatus.visible = !0); }, _sb7; }(PIXI.Container), _s9l = function(_sbu) { var _sbv = null; function _sbw(_sbx) { var _sby = null, _sbz = _sbu.call(this) || this; _sbz.defaultColor = _sbx, _sbz.labelShatei = new _s8v.TextBox(15, _sbx), _sbz.textShatei = new _s8v.TextBox(15, _sbx), _sbz.textOtherSpec = new _s8v.TextBox(15, _sbx), _sbz.paraLayer = new PIXI.Container(); var _sc0 = new PIXI.Graphics(); return _sc0.beginFill(0, 0), _sc0.drawRect(0, 0, 245, 45), _sc0.endFill(), _sbz.paraLayer.mask = _sc0, _sbz.paraLayer.addChild(_sc0), _sbz.labelShatei.text = '射程 ', _sbz.textShatei.visible = !1, _sbz.labelShatei.visible = !1, _sbz.textOtherSpec.visible = !1, _sbz.paraLayer.addChild(_sbz.labelShatei, _sbz.textShatei, _sbz.textOtherSpec), _sbz.maskPara = new PIXI.Sprite(_s8w.COMMON_MAIN.getTexture(39)), _sbz.maskPara.position.x = 160, _sbz.paraLayer.position.y = Math.floor(_sbz.maskPara.height / 2 - _sbz.labelShatei.height / 2), _sbz.addChild(_sbz.paraLayer, _sbz.maskPara), _sbz; } return _s84(_sbw, _sbu), _sbw.prototype.dispose = function() { var _sc1 = null; this.removeChildren(), this.paraLayer.mask = null, this.paraLayer.removeChildren(), this.labelShatei.destroy(), this.textShatei.destroy(), this.textOtherSpec.destroy(), this.colorMouseOverShatei = null, this.defaultColor = null, this.labelShatei = null, this.textShatei = null, this.textOtherSpec = null, this.maskPara = null, this.paraLayer = null; }, _sbw.prototype.update = function(_sc2, _sc3) { var _sc4 = null; this.labelShatei.visible = !1, this.textShatei.visible = !1, this.labelShatei.style.fill = _sc3, this.textShatei.style.fill = _sc3, this.textOtherSpec.style.fill = _sc3, this.defaultColor = _sc3, this.textOtherSpec.visible = !1; var _sc5 = _s8q.SlotUtil.genSummaryText(_sc2, '+', '/', !1); this.textOtherSpec.visible = !0; var _sc6 = this.lengthToShatei(_sc2.range); if (_sc6 == _s8n.NONE) this.textOtherSpec.text = _sc5, this.textOtherSpec.x = 0; else { this.textOtherSpec.text = '/' ['concat'](_sc5); var _sc7 = this.shateiToString(_sc6), _sc8 = this.shateiToColor(_sc6); this.textShatei.text = _sc7, this.colorMouseOverShatei = this.textShatei.style.fill = _sc8, this.labelShatei.x = 0, this.textShatei.x = this.labelShatei.x + this.labelShatei.width, this.textOtherSpec.x = this.textShatei.x + this.textShatei.width, this.labelShatei.visible = !0, this.textShatei.visible = !0; } }, _sbw.prototype.mouseover = function() { var _sc9 = null; this.textOtherSpec.style.fill = this.textShatei.style.fill = this.labelShatei.style.fill = 16777215, this.maskPara.texture = _s8w.COMMON_MAIN.getTexture(17); }, _sbw.prototype.mouseout = function() { var _sca = null; this.textOtherSpec.style.fill = this.labelShatei.style.fill = this.defaultColor, this.textShatei.style.fill = this.colorMouseOverShatei, this.maskPara.texture = _s8w.COMMON_MAIN.getTexture(39); }, _sbw.prototype.lengthToShatei = function(_scb) { var _scc = null; switch (_scb) { case 1: return _s8n.TAN; case 2: return _s8n.CHU; case 3: return _s8n.CHO; case 4: return _s8n.CHOCHO; } return _s8n.NONE; }, _sbw.prototype.shateiToString = function(_scd) { var _sce = null; switch (_scd) { case _s8n.TAN: return '短'; case _s8n.CHU: return '中'; case _s8n.CHO: return '長'; case _s8n.CHOCHO: return '超長'; } throw new Error('un supported'); }, _sbw.prototype.shateiToColor = function(_scf) { var _scg = null; switch (_scf) { case _s8n.TAN: return 33023; case _s8n.CHU: return 4246528; case _s8n.CHO: return 16744448; case _s8n.CHOCHO: return 16711680; } throw new Error('un supported'); }, _sbw; }(PIXI.Container), _s9p = function(_sch) { var _sci = null; function _scj() { var _sck = null, _scl = _sch.call(this) || this; return _scl._onClick = function() { var _scm = null; _scl.onClick(); }, _scl._onMouseOver = function(_scn) { var _sco = null; _scl.onMouseOver(_scn), _scl.onScroll(_scn); }, _scl._onMouseOut = function(_scp) { var _scq = null; _scl.onMouseOut(_scp), _scl.offScroll(_scp); }, _scl.textureLockOn = _s8x.REMODEL_MAIN.getTexture(42), _scl.textureLockOff = _s8x.REMODEL_MAIN.getTexture(41), _scl.interactive = _scl.buttonMode = !0, _scl.on(_s8y.EventType.CLICK, _scl._onClick), _scl.on(_s8y.EventType.MOUSEOVER, _scl._onMouseOver), _scl.on(_s8y.EventType.MOUSEOUT, _scl._onMouseOut), _scl; } return _s84(_scj, _sch), _scj.prototype.update = function(_scr) { var _scs = null; this.texture = this.textureLockOff, _scr && (this.texture = this.textureLockOn); }, _scj.prototype.dispose = function() { var _sct = null; this.off(_s8y.EventType.CLICK), this.off(_s8y.EventType.MOUSEOVER), this.off(_s8y.EventType.MOUSEOUT), this.onClick = null, this.textureLockOff = null, this.textureLockOn = null; }, _scj; }(PIXI.Sprite); }, 27436: (_scu, _scv) => { 'use strict'; var _scw = null; var _scx; defineModule(_scv); Object.defineProperty(_scv, '__esModule', { 'value': !0 }), _scv.RepairSceneMemory = void 0, function(_scy) { var _scz = null; _scy.shipSortKeyType = 4; }(_scx || (_scv.RepairSceneMemory = _scx = {})); }, 20726: function(_sd0, _sd1, _sd2) { 'use strict'; var _sd3 = null; var _sd4, _sd5 = this && this.__extends || (_sd4 = function(_sd6, _sd7) { var _sd8 = null; return _sd4 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_sd9, _sda) { var _sdb = null; _sd9.__proto__ = _sda; } || function(_sdc, _sdd) { var _sde = null; for (var _sdf in _sdd) Object.prototype.hasOwnProperty.call(_sdd, _sdf) && (_sdc[_sdf] = _sdd[_sdf]); }, _sd4(_sd6, _sd7); }, function(_sdg, _sdh) { var _sdi = null; if ('function' != typeof _sdh && null !== _sdh) throw new TypeError('Class extends value ' + String(_sdh) + ' is not a constructor or null'); function _sdj() { var _sdk = null; this.constructor = _sdg; } _sd4(_sdg, _sdh), _sdg.prototype = null === _sdh ? Object.create(_sdh) : (_sdj.prototype = _sdh.prototype, new _sdj()); }), _sdl = this && this.__importDefault || function(_sdm) { var _sdn = null; return _sdm && _sdm.__esModule ? _sdm : { 'default': _sdm }; }; defineModule(_sd1); Object.defineProperty(_sd1, '__esModule', { 'value': !0 }), _sd1.RepairScene = void 0; var _sdo = _sdl(_sd2(21359)), _sdp = _sdl(_sd2(18622)), _sdq = _sd2(61474), _sdr = _sd2(1967), _sds = _sd2(92627), _sdt = _sd2(24721), _sdu = _sd2(24378), _sdv = _sd2(3376), _sdw = _sd2(97651), _sdx = _sd2(49109), _sdy = _sd2(5346), _sdz = _sd2(42928), _se0 = _sd2(41029), _se1 = _sd2(25984), _se2 = _sd2(21433), _se3 = _sd2(56045), _se4 = _sd2(70461), _se5 = _sd2(48035), _se6 = _sd2(71666), _se7 = _sd2(79243), _se8 = _sd2(1893), _se9 = _sd2(80856), _sea = _sd2(27436), _seb = _sd2(16677), _sec = function(_sed) { var _see = null; function _sef() { var _seg = null, _seh = _sed.call(this) || this; return _seh.nDocks = [], _seh.listPageIndex = 0, _seh.shipSortKeyType = _sea.RepairSceneMemory.shipSortKeyType, _seh._onClickEmptySlot = function(_sei) { var _sej = null; _seh.timerState = _se6.TimerState.UpdateOnly; var _sek = new _sdt.PhaseRepairShipChoice(_seh, _seh.repairShipChoiceView, _seh.pagerView, _seh.shipSortButton, _seh.repairShipChoiceBackground); _sek.onComplete = function(_sel) { var _sem = null; _seh._onCompletePhaseRepairShipChoice(_sei, _sek, _sel); }, _sek.start(_seh.listPageIndex, _seh.shipSortKeyType); }, _seh._onClickExtension = function(_sen) { var _seo = null; _sdp.default.view.clickGuard = !0; var _sep = _sen - 1; _seh.timerState = _se6.TimerState.UpdateOnly, new _se1.OpenNewDockAPI(_sen).start(function() { var _seq = null; _seh.mainView.unLockAnimation(_sep, function() { var _ser = null, _ses = 0 < _sdp.default.model.useItem.get(_se3.RepairConst.OPEN_KEY_ITEMID).count; _seh.mainView.updateExtensionState(_sdp.default.model.ndock.getAll(), _ses), _seh.timerState = _se6.TimerState.WaitComplete, _sdp.default.view.clickGuard = !1; }); }); }, _seh.onUpdateNDockTimer = function() { var _set = null, _seu = Date.now(); switch (_seh.mainView.updateTime(_seu, _seh.nDocks), _seh.timerState) { case _se6.TimerState.UpdateOnly: return; case _se6.TimerState.WaitComplete: for (var _sev = 0; _sev < _seh.nDocks.length; _sev++) { var _sew = _seh.nDocks[_sev]; if (1 == _sew.state) { if (_sew.completeTime < _seu) return _sdp.default.view.clickGuard = !0, _seh.timerState = _se6.TimerState.UpdateOnly, void new _sdz.NDockAPI().start(function() { var _sex = null, _sey = _sdp.default.model.ndock.getAll(); _seh.mainView.hideAnimation(_sey, function() { var _sez = null; _seh.updateNDocks(_sey), _seh.timerState = _se6.TimerState.WaitComplete, _sdp.default.view.clickGuard = !1; }), _seh.nDocks = _sey; }); } } } }, _seh._onCompletePhaseRepairShipChoice = function(_sf0, _sf1, _sf2) { var _sf3 = null; switch (_seh.listPageIndex = _sf1.pageIndex, _seh.shipSortKeyType = _sf1.shipSortKeyType, _sf2) { case !1: _sdp.default.view.clickGuard = !0, _sf1.hide(function() { var _sf4 = null; _sf1.dispose(), _sdp.default.view.clickGuard = !1, _seh.timerState = _se6.TimerState.WaitComplete; }); break; case !0: _seb.WheelEventUtil.clear(); var _sf5 = _sf1.memShipId, _sf6 = new _sdu.PhaseRepairShipConfig(_seh, _seh.repairShipConfigView, _seh.repairShipConfigBackground); _sf6.onComplete = function(_sf7) { var _sf8 = null; _seh._onCompletePhaseRepairShipConfig(_sf0, _sf1, _sf6, _sf7); }, _sf6.start(_sf5); } }, _seh._onCompletePhaseRepairShipConfig = function(_sf9, _sfa, _sfb, _sfc) { var _sfd = null; switch (_sfc) { case !1: _sdp.default.view.clickGuard = !0, _sfb.hide(function() { var _sfe = null; _sfb.dispose(), _sdp.default.view.clickGuard = !1, _sfa.activateWheel(); }); break; case !0: var _sff = new _sdr.PhaseRepairConfirm(_sdp.default.view.overLayer, _seh.useRepairConfirmView, _seh.repairConfirmBackground); _sff.onComplete = function(_sfg) { var _sfh = null; _seh._onCompletePhaseRepairConfirm(_sf9, _sfa, _sfb, _sff, _sfg); }, _sff.start(_sfa.memShipId, _sfb.useHiSpeed); } }, _seh._onCompletePhaseRepairConfirm = function(_sfi, _sfj, _sfk, _sfl, _sfm) { var _sfn = null; switch (_sfm) { case !1: _sdp.default.view.clickGuard = !0, _sfl.hide(function() { var _sfo = null; _sfl.dispose(), _sdp.default.view.clickGuard = !1; }); break; case !0: var _sfp = _sfj.memShipId, _sfq = _sfk.useHiSpeed, _sfr = _sfi - 1, _sfs = _sdp.default.model.ship.get(_sfp), _sft = { 'hpNow': _sfs.hpNow, 'hpMax': _sfs.hpMax, 'damaged': _sfs.isDamaged(), 'completeTime': _sfs.getRepairTime() }, _sfu = new _se0.StartAPI(_sfi, _sfj.memShipId, _sfq); _seh.mainView.stopAnimation(_sfr), _sfu.start(function() { var _sfv = null; _sdp.default.model.useItem.get(31), _sdp.default.model.useItem.get(33); var _sfw = _sdp.default.model.useItem.get(1), _sfx = new _sdz.NDockAPI(); _sdp.default.view.portMain.updateInfo(), _sfx.start(function() { var _sfy = null; _seh.nDocks = _sdp.default.model.ndock.getAll(); for (var _sfz = 0 < _sfw.count, _sg0 = 0, _sg1 = _seh.nDocks.length; _sg0 < _sg1; _sg0++) { var _sg2 = _seh.nDocks[_sg0]; 0 != _sg2.state || 1 != _seh.mainView.dockState(_sg0) ? 1 == _sg2.state && _seh.mainView.updateHighSpeedButton(_sg0, _sfz) : _seh.mainView.forceEnd(_sg0); } var _sg3 = _seh.nDocks[_sfr]; _sfq || 1 == _sg3.state ? (_seh.mainView.updateViewState(_sfr, 1), _seh.mainView.updateShipInfo(_sfr, _sft.hpNow, _sft.hpMax, _sft.damaged, _sfs), _seh.mainView.updateDockInfo(_sfr, 1, _sfi, _sft.completeTime + Date.now())) : _seh.mainView.updateViewState(_sfr, _sg3.state), _sfj.dispose(), _sfk.dispose(), _sfl.hide(function() { var _sg4 = null; _sfl.dispose(); var _sg5 = _sdp.default.model.ndock.get(_sfi); _sfq ? _seh.mainView.highSpeedAnimation(_sfr, function() { var _sg6 = _sg4; _seh[_sg6(3676)][_sg6(1215)](_sfr, _sg5[_sg6(2926)]), _seh[_sg6(893)] = _se6[_sg6(2685)][_sg6(6679)]; }) : (1 == _sg5.state && _seh.mainView.playAnimation(_sfr), _seh.timerState = _se6.TimerState.WaitComplete); var _sg7 = _sfs.mstID, _sg8 = _sft.hpNow / _sft.hpMax > 0.5 ? 11 : 12; _sdp.default.sound.voice.play(_sg7.toString(), _sg8); }); }); }); } }, _seh._onClickHiSpeed = function(_sg9) { var _sga = null; _seh.timerState = _se6.TimerState.UpdateOnly; var _sgb = new PIXI.Graphics(); _sgb.beginFill(0, 1), _sgb.drawRect(0, 0, _sdo.default.width, _sdo.default.height), _sgb.endFill(); var _sgc = new _sds.PhaseHiSpeedRepairConfirm(_sdp.default.view.overLayer, _seh.useHiSpeedRepairConfirmView, _sgb); _sgc.onComplete = function(_sgd) { var _sge = null; _seh._onCompletePhaseHiSpeedRepairConfirm(_sg9, _sgc, _sgd); }, _sgc.start(_sg9); }, _seh._onCompletePhaseHiSpeedRepairConfirm = function(_sgf, _sgg, _sgh) { var _sgi = null; switch (_sgh) { case !1: _sgg.hide(function() { var _sgj = null; _sgg.dispose(), _seh.timerState = _se6.TimerState.WaitComplete; }); break; case !0: _sdp.default.view.clickGuard = !0; var _sgk = _sgf - 1, _sgl = _sdp.default.model.ndock.get(_sgf).shipMemID; new _se2.SpeedChangeAPI(_sgf).start(function() { var _sgm = null; _sdp.default.model.ndock.get(_sgf); var _sgn = _sdp.default.model.ndock.getAll(), _sgo = 0 < _sdp.default.model.useItem.get(1).count; _sdp.default.view.portMain.updateInfo(); for (var _sgp = 0; _sgp < _sgn.length; _sgp++) { 1 == _sgn[_sgp].state && _seh.mainView.updateHighSpeedButton(_sgp, _sgo); } _sgg.hide(function() { var _sgq = null, _sgr = _sdp.default.model.ship.get(_sgl).mstID; _sdp.default.sound.voice.play(_sgr.toString(), 26), _sgg.dispose(), _seh.mainView.highSpeedAnimation(_sgk, function() { var _sgs = null; _sdp.default.view.clickGuard = !1, _sdp.default.model.ship.get(_sgl), (_seh.mainView.stopAnimation(_sgk), _seh.mainView.updateDockInfo(_sgk, 0, _sgf, 0), _seh.mainView.updateViewState(_sgk, 0), _seh.timerState = _se6.TimerState.WaitComplete); }); }); }); } }, _seh; } return _sd5(_sef, _sed), _sef.prototype.dispose = function() { var _sgt = null; for (var _sgu = 0; _sgu < this.nDocks.length; _sgu++) this.nDocks[_sgu] = null; this.mainView.dispose(), this.__stopNDockTimer__(), this.repairShipChoiceView.dispose(), this.repairShipConfigView.dispose(), this.useRepairConfirmView.dispose(), this.useHiSpeedRepairConfirmView.dispose(), this.pagerView.dispose(), this.repairShipConfigBackground.clear(), this.repairShipChoiceBackground.clear(), this.nDocks = null, this.mainView = null, this.timerState = null, this.listPageIndex = null, this.shipSortKeyType = null, this.nDockTimer = null, this.repairShipChoiceView = null, this.repairShipConfigView = null, this.useRepairConfirmView = null, this.useHiSpeedRepairConfirmView = null, this.repairShipConfigBackground = null, this.repairShipChoiceBackground = null, this.removeChildren(), _seb.WheelEventUtil.clear(); }, _sef.prototype.start = function(_sgv) { var _sgw = null, _sgx = new _sdx.RepairShipChoiceView(), _sgy = new _sdy.RepairShipConfigView(), _sgz = new _sdv.UseRepairConfirmView(), _sh0 = new _sdw.UseHiSpeedRepairConfirmView(), _sh1 = new _se9.ShipSortButton(), _sh2 = new _se8.PagerView(), _sh3 = new PIXI.Graphics(), _sh4 = 103; _sh3.beginFill(0, 0.3), _sh3.drawRect(0, _sh4, _sdo.default.width, _sdo.default.height - _sh4), _sh3.endFill(); var _sh5 = new PIXI.Graphics(); _sh5.beginFill(0, 0.3), _sh5.drawRect(0, _sh4, _sdo.default.width, _sdo.default.height - _sh4), _sh5.endFill(); var _sh6 = new PIXI.Graphics(); _sh6.beginFill(0, 1), _sh6.drawRect(0, 0, _sdo.default.width, _sdo.default.height), _sh6.endFill(), this.repairShipConfigBackground = _sh5, this.repairShipChoiceBackground = _sh3, _sgv.onClickHiSpeed = this._onClickHiSpeed, _sgv.onClickEmptySlot = this._onClickEmptySlot, _sgv.onClickExtension = this._onClickExtension, this.addChild(_sgv), this.mainView = _sgv, this.repairShipChoiceView = _sgx, this.repairShipConfigView = _sgy, this.useRepairConfirmView = _sgz, this.useHiSpeedRepairConfirmView = _sh0, this.shipSortButton = _sh1, this.pagerView = _sh2, this.repairShipConfigBackground = _sh5, this.repairShipChoiceBackground = _sh3, this.repairConfirmBackground = _sh6; }, _sef.prototype.updateNDocks = function(_sh7) { var _sh8 = null; for (var _sh9 = 0 < _sdp.default.model.useItem.get(1).count, _sha = 0; _sha < _sh7.length; _sha++) { var _shb = _sh7[_sha]; if (this.mainView.updateDockInfo(_sha, _shb.state, _shb.mstID, _shb.completeTime), 1 === _shb.state) { var _shc = _sdp.default.model.ship.get(_shb.shipMemID); this.mainView.updateShipInfo(_sha, _shc.hpNow, _shc.hpMax, _shc.isDamaged(), _shc), this.mainView.updateHighSpeedButton(_sha, _sh9), this.mainView.playAnimation(_sha); } this.mainView.updateViewState(_sha, _shb.state); } var _shd = 0 < _sdp.default.model.useItem.get(_se3.RepairConst.OPEN_KEY_ITEMID).count; this.mainView.updateExtensionState(_sh7, _shd), this.nDocks = _sh7; }, _sef.prototype.stopNDockTimer = function() { var _she = null; this.__stopNDockTimer__(); }, _sef.prototype.__stopNDockTimer__ = function() { var _shf = null; null != this.nDockTimer && (this.nDockTimer.setPaused(!0), this.nDockTimer.addEventListener('change', this.onUpdateNDockTimer)), this.nDockTimer = null; }, _sef.prototype.startNDockTimer = function() { var _shg = null; this.__stopNDockTimer__(), this.timerState = _se6.TimerState.WaitComplete; var _shh = createjs.Tween.get({}); _shh.wait(500).loop = !0, _shh.play(null), _shh.addEventListener('change', this.onUpdateNDockTimer), this.nDockTimer = _shh; }, _sef.prototype.getPreInitializeTask = function(_shi) { var _shj = null; return new _se4.PreInitializeTask(this); }, _sef.prototype.getInitializeTask = function(_shk) { var _shl = null; return new _se5.InitializeTask(this); }, _sef.prototype.getPreFinalizeTask = function() { var _shm = null; return this.timerState = _se6.TimerState.UpdateOnly, null; }, _sef.prototype.getFinalizeTask = function() { var _shn = null; return new _se7.DisposeTask(this); }, _sef; }(_sdq.SceneBase); _sd1.RepairScene = _sec; }, 13412: function(_sho, _shp, _shq) { 'use strict'; var _shr = null; var _shs, _sht = this && this.__extends || (_shs = function(_shu, _shv) { var _shw = null; return _shs = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_shx, _shy) { var _shz = null; _shx.__proto__ = _shy; } || function(_si0, _si1) { var _si2 = null; for (var _si3 in _si1) Object.prototype.hasOwnProperty.call(_si1, _si3) && (_si0[_si3] = _si1[_si3]); }, _shs(_shu, _shv); }, function(_si4, _si5) { var _si6 = null; if ('function' != typeof _si5 && null !== _si5) throw new TypeError('Class extends value ' + String(_si5) + ' is not a constructor or null'); function _si7() { var _si8 = null; this.constructor = _si4; } _shs(_si4, _si5), _si4.prototype = null === _si5 ? Object.create(_si5) : (_si7.prototype = _si5.prototype, new _si7()); }), _si9 = this && this.__createBinding || (Object.create ? function(_sia, _sib, _sic, _sid) { var _sie = null; void 0 === _sid && (_sid = _sic); var _sif = Object.getOwnPropertyDescriptor(_sib, _sic); _sif && !('get' in _sif ? !_sib.__esModule : _sif.writable || _sif.configurable) || (_sif = { 'enumerable': !0, 'get': function() { return _sib[_sic]; } }), Object.defineProperty(_sia, _sid, _sif); } : function(_sig, _sih, _sii, _sij) { void 0 === _sij && (_sij = _sii), _sig[_sij] = _sih[_sii]; }), _sik = this && this.__setModuleDefault || (Object.create ? function(_sil, _sim) { var _sin = null; Object.defineProperty(_sil, 'default', { 'enumerable': !0, 'value': _sim }); } : function(_sio, _sip) { var _siq = null; _sio.default = _sip; }), _sir = this && this.__importStar || function(_sis) { var _sit = null; if (_sis && _sis.__esModule) return _sis; var _siu = {}; if (null != _sis) { for (var _siv in _sis) 'default' !== _siv && Object.prototype.hasOwnProperty.call(_sis, _siv) && _si9(_siu, _sis, _siv); } return _sik(_siu, _sis), _siu; }; defineModule(_shp); Object.defineProperty(_shp, '__esModule', { 'value': !0 }), _shp.CraneAnimation = void 0; var _siw = _sir(_shq(31000)), _six = _shq(59910), _siy = _shq(34668), _siz = function(_sj0) { var _sj1 = null; function _sj2() { var _sj3 = null, _sj4 = _sj0.call(this) || this; _sj4.CATAPULT_WIDTH = 1245, _sj4._tween = null, _sj4._craneTexture = { 'yellow': [_siw.REPAIR_MAIN.getTexture(19), _siw.REPAIR_MAIN.getTexture(20)], 'red': [_siw.REPAIR_MAIN.getTexture(17), _siw.REPAIR_MAIN.getTexture(18)], 'orange': [_siw.REPAIR_MAIN.getTexture(15), _siw.REPAIR_MAIN.getTexture(16)] }, _sj4._core = new PIXI.Sprite(), _sj4._arm = new PIXI.Sprite(), _sj4._arm.anchor.set(0.8, 1), (_sj4._wire = new _six.Wire(), _sj4._wire.scale.x = 0.69, _sj4._wireHand = new _siy.WireHand(), _sj4._randomColor(function() { var _sj5 = null; _sj4._arm.position.set(0.8 * _sj4._arm.width - 51, -82 + _sj4._arm.height); }), _sj4._wireHand.update(0.3)); var _sj6 = _sj4._armsPosition(0); return _sj4._arm.rotation = _sj6.arm.rotation, _sj4._wireHand.x = _sj6.wireHand.x, _sj4._wireHand.y = _sj6.wireHand.y, _sj4._wire.rotation = _sj6.wire.rotation, _sj4._wire.x = _sj6.wire.x, _sj4._wire.y = _sj6.wire.y, _sj4._crane = new PIXI.Container(), _sj4._crane.y = 60, _sj4._crane.x = _sj4.CATAPULT_WIDTH, _sj4._crane.addChild(_sj4._wireHand), _sj4._crane.addChild(_sj4._wire), _sj4._crane.addChild(_sj4._arm, _sj4._core), _sj4.addChild(_sj4._crane), _sj4; } return _sht(_sj2, _sj0), _sj2.prototype.play = function() { var _sj7 = null, _sj8 = this; if (null === this._tween) { this.end(); var _sj9 = new createjs.Timeline([], { 'start': 0 }, { 'loop': !0, 'paused': !0 }), _sja = 6000 - 1000 * Math.random(), _sjb = { 'crane': this._cranePosition(0), 'arms': this._armsPosition(0), 'wireHand': this._wireHand.getPosition(0.35) }, _sjc = { 'duration': _sja, 'crane': this._cranePosition(0.7) }, _sjd = { 'duration': 1000, 'arms': this._armsPosition(1), 'wireHand': this._wireHand.getPosition(0.7) }, _sje = { 'duration': 500, 'crane': this._cranePosition(0.745) }, _sjf = { 'duration': 500, 'wireHand': this._wireHand.getPosition(0.4) }, _sjg = { 'duration': 500, 'wireHand': this._wireHand.getPosition(0.8) }, _sjh = { 'duration': 500, 'crane': this._cranePosition(0.7), 'arms': this._armsPosition(0), 'wireHand': this._wireHand.getPosition(0.35) }, _sji = { 'duration': _sja, 'crane': this._cranePosition(0) }, _sjj = this._getTimeLineObj(); _sjj.crane.to(_sjb.crane).to(_sjc.crane, _sjc.duration).wait(_sjd.duration).to(_sje.crane, _sje.duration).wait(_sjf.duration).call(function() { var _sjk = null; _sj8._wireHand.hideMaterial(); }).wait(_sjg.duration).to(_sjh.crane, _sjh.duration).to(_sji.crane, _sji.duration).call(function() { var _sjl = null; _sj8._randomColor(), _sj8._wireHand.initialize(); }), _sjj.arm.to(_sjb.arms.arm).wait(_sjc.duration).to(_sjd.arms.arm, _sjd.duration).wait(_sje.duration).wait(_sjf.duration).wait(_sjg.duration).to(_sjh.arms.arm, _sjh.duration).wait(_sji.duration), _sjj.wire.to(_sjb.arms.wire).wait(_sjc.duration).to(_sjd.arms.wire, _sjd.duration).wait(_sje.duration).wait(_sjf.duration).wait(_sjg.duration).to(_sjh.arms.wire, _sjh.duration).wait(_sji.duration), _sjj.wireHand.to(_sjb.arms.wireHand).wait(_sjc.duration).to(_sjd.arms.wireHand, _sjd.duration).wait(_sje.duration).wait(_sjf.duration).wait(_sjg.duration).to(_sjh.arms.wireHand, _sjh.duration).wait(_sji.duration), _sjj.wireHandWire.to(_sjb.wireHand.wire).wait(_sjc.duration).to(_sjd.wireHand.wire, _sjd.duration).wait(_sje.duration).to(_sjf.wireHand.wire, _sjf.duration).to(_sjg.wireHand.wire, _sjg.duration).to(_sjh.wireHand.wire, _sjh.duration).wait(_sji.duration), _sjj.wireHandContainer.to(_sjb.wireHand.container).wait(_sjc.duration).to(_sjd.wireHand.container, _sjd.duration).wait(_sje.duration).to(_sjf.wireHand.container, _sjf.duration).to(_sjg.wireHand.container, _sjg.duration).to(_sjh.wireHand.container, _sjh.duration).wait(_sji.duration), _sj9.addTween(_sjj.crane, _sjj.arm, _sjj.wire, _sjj.wireHand, _sjj.wireHandWire, _sjj.wireHandContainer), _sj9.gotoAndPlay('start'), this._tween = _sj9; } }, _sj2.prototype.timeLimit = function() { var _sjm = null; this.end(), createjs.Tween.get(this._crane).to({ 'x': this.CATAPULT_WIDTH }, 1000, createjs.Ease.linear); }, _sj2.prototype.highSpeed = function() { var _sjn = null, _sjo = this, _sjp = null !== this._tween ? 1000 : 100; this.end(); var _sjq = new createjs.Timeline([], { 'start': 0 }, { 'loop': !1, 'paused': !0 }), _sjr = { 'duration': _sjp, 'crane': this._cranePosition(0), 'wireHand': this._wireHand.getPosition(0.4) }, _sjs = { 'duration': 1400, 'crane': this._cranePosition(0.7) }, _sjt = { 'duration': 1000, 'arms': this._armsPosition(1), 'wireHand': this._wireHand.getPosition(0.8) }, _sju = { 'duration': 500, 'crane': this._cranePosition(0.745) }, _sjv = { 'duration': 500, 'wireHand': this._wireHand.getPosition(0.5) }, _sjw = { 'duration': 500, 'wireHand': this._wireHand.getPosition(0.8) }, _sjx = { 'duration': 500, 'crane': this._cranePosition(0.7), 'arms': this._armsPosition(0), 'wireHand': this._wireHand.getPosition(0.3) }, _sjy = { 'duration': 1000, 'crane': this._cranePosition(0) }, _sjz = this._getTimeLineObj(); _sjz.crane.to(_sjr.crane, _sjr.duration).call(function() { var _sk0 = null; _sjo._wireHand.bucketMaterial(); }).to(_sjs.crane, _sjs.duration).wait(_sjt.duration).to(_sju.crane, _sju.duration).wait(_sjv.duration).call(function() { var _sk1 = null; _sjo._wireHand.hideMaterial(), _sjo.emit('high_speed_timer_stop'); }).wait(_sjw.duration).to(_sjx.crane, _sjx.duration).to(_sjy.crane, _sjy.duration).call(function() { var _sk2 = null; _sjo.end(), _sjo.emit('high_speed_complete'); }), _sjz.arm.wait(_sjr.duration).wait(_sjs.duration).to(_sjt.arms.arm, _sjt.duration).wait(_sju.duration).wait(_sjv.duration).wait(_sjw.duration).to(_sjx.arms.arm, _sjx.duration).wait(_sjy.duration), _sjz.wire.wait(_sjr.duration).wait(_sjs.duration).to(_sjt.arms.wire, _sjt.duration).wait(_sju.duration).wait(_sjv.duration).wait(_sjw.duration).to(_sjx.arms.wire, _sjx.duration).wait(_sjy.duration), _sjz.wireHand.wait(_sjr.duration).wait(_sjs.duration).to(_sjt.arms.wireHand, _sjt.duration).wait(_sju.duration).wait(_sjv.duration).wait(_sjw.duration).to(_sjx.arms.wireHand, _sjx.duration).wait(_sjy.duration), _sjz.wireHandWire.to(_sjr.wireHand.wire, _sjr.duration).wait(_sjs.duration).to(_sjt.wireHand.wire, _sjt.duration).wait(_sju.duration).to(_sjv.wireHand.wire, _sjv.duration).to(_sjw.wireHand.wire, _sjw.duration).to(_sjx.wireHand.wire, _sjx.duration).wait(_sjy.duration), _sjz.wireHandContainer.to(_sjr.wireHand.container, _sjr.duration).wait(_sjs.duration).to(_sjt.wireHand.container, _sjt.duration).wait(_sju.duration).to(_sjv.wireHand.container, _sjv.duration).to(_sjw.wireHand.container, _sjw.duration).to(_sjx.wireHand.container, _sjx.duration).wait(_sjy.duration), _sjq.addTween(_sjz.crane, _sjz.arm, _sjz.wire, _sjz.wireHand, _sjz.wireHandWire, _sjz.wireHandContainer), _sjq.gotoAndPlay('start'), this._tween = _sjq; }, _sj2.prototype.end = function() { var _sk3 = null; null !== this._tween && (this._tween.removeAllEventListeners('change'), this._tween.setPaused(!0)), this._tween = null; }, _sj2.prototype._randomColor = function(_sk4) { var _sk5 = null; void 0 === _sk4 && (_sk4 = null); var _sk6 = 100 * Math.random(); if (_sk6 <= 30) { var _sk7 = this._craneTexture.yellow; this._core.texture = _sk7[0], this._arm.texture = _sk7[1]; } else _sk6 <= 60 ? (_sk7 = this._craneTexture.red, (this._core.texture = _sk7[0], this._arm.texture = _sk7[1])) : (_sk7 = this._craneTexture.orange, (this._core.texture = _sk7[0], this._arm.texture = _sk7[1])); null !== _sk4 && _sk4(); }, _sj2.prototype._getTimeLineObj = function() { var _sk8 = null, _sk9 = this._wireHand.obj; return { 'crane': createjs.Tween.get(this._crane), 'arm': createjs.Tween.get(this._arm), 'wire': createjs.Tween.get(this._wire), 'wireHand': createjs.Tween.get(this._wireHand), 'wireHandWire': createjs.Tween.get(_sk9.wire), 'wireHandContainer': createjs.Tween.get(_sk9.container) }; }, _sj2.prototype._cranePosition = function(_ska) { var _skb = null; return { 'x': this.CATAPULT_WIDTH * (1 - _ska) }; }, _sj2.prototype._armsPosition = function(_skc) { var _skd = 22 * _skc, _ske = -4 * _skc; return { 'arm': { 'rotation': Math.PI / 180 * (14.5 * _skc) }, 'wireHand': { 'x': -42 + _skd, 'y': -78 + _ske }, 'wire': { 'rotation': Math.PI / 180 * (47 + 13 * _skc), 'x': -37 + _skd, 'y': -78 + _ske } }; }, _sj2.prototype.dispose = function() { var _skf = null; this.end(), this._core = null, this._arm = null, this._wire.dispose(), this._wire = null, this._wireHand.dispose(), this._wireHand = null, this._crane.removeChildren(), this._crane = null, this.removeChildren(); }, _sj2; }(PIXI.Container); _shp.CraneAnimation = _siz; }, 59910: function(_skg, _skh) { 'use strict'; var _ski = null; var _skj, _skk = this && this.__extends || (_skj = function(_skl, _skm) { var _skn = null; return _skj = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_sko, _skp) { var _skq = null; _sko.__proto__ = _skp; } || function(_skr, _sks) { var _skt = null; for (var _sku in _sks) Object.prototype.hasOwnProperty.call(_sks, _sku) && (_skr[_sku] = _sks[_sku]); }, _skj(_skl, _skm); }, function(_skv, _skw) { var _skx = null; if ('function' != typeof _skw && null !== _skw) throw new TypeError('Class extends value ' + String(_skw) + ' is not a constructor or null'); function _sky() { var _skz = null; this.constructor = _skv; } _skj(_skv, _skw), _skv.prototype = null === _skw ? Object.create(_skw) : (_sky.prototype = _skw.prototype, new _sky()); }); defineModule(_skh); Object.defineProperty(_skh, '__esModule', { 'value': !0 }), _skh.Wire = void 0; var _sl0 = function(_sl1) { var _sl2 = null; function _sl3() { var _sl4 = null, _sl5 = _sl1.call(this) || this; _sl5.WIDTH = 150; var _sl6 = new PIXI.Graphics(); _sl6.beginFill(16777215, 1), _sl6.drawRect(0, 0, _sl5.WIDTH, 3), _sl6.endFill(); var _sl7 = new PIXI.Graphics(); _sl7.beginFill(0, 1), _sl7.drawRect(0, 0, _sl5.WIDTH, 1), _sl7.endFill(); var _sl8 = _sl7.clone(); return _sl7.position.y = 3, _sl8.position.y = 0, _sl5.addChild(_sl6, _sl7, _sl8), _sl5; } return _skk(_sl3, _sl1), _sl3.prototype.dispose = function() { var _sl9 = null; this.removeChildren(); }, _sl3; }(PIXI.Container); _skh.Wire = _sl0; }, 34668: function(_sla, _slb, _slc) { 'use strict'; var _sld = null; var _sle, _slf = this && this.__extends || (_sle = function(_slg, _slh) { var _sli = null; return _sle = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_slj, _slk) { var _sll = null; _slj.__proto__ = _slk; } || function(_slm, _sln) { var _slo = null; for (var _slp in _sln) Object.prototype.hasOwnProperty.call(_sln, _slp) && (_slm[_slp] = _sln[_slp]); }, _sle(_slg, _slh); }, function(_slq, _slr) { var _sls = null; if ('function' != typeof _slr && null !== _slr) throw new TypeError('Class extends value ' + String(_slr) + ' is not a constructor or null'); function _slt() { var _slu = null; this.constructor = _slq; } _sle(_slq, _slr), _slq.prototype = null === _slr ? Object.create(_slr) : (_slt.prototype = _slr.prototype, new _slt()); }), _slv = this && this.__createBinding || (Object.create ? function(_slw, _slx, _sly, _slz) { var _sm0 = null; void 0 === _slz && (_slz = _sly); var _sm1 = Object.getOwnPropertyDescriptor(_slx, _sly); _sm1 && !('get' in _sm1 ? !_slx.__esModule : _sm1.writable || _sm1.configurable) || (_sm1 = { 'enumerable': !0, 'get': function() { return _slx[_sly]; } }), Object.defineProperty(_slw, _slz, _sm1); } : function(_sm2, _sm3, _sm4, _sm5) { void 0 === _sm5 && (_sm5 = _sm4), _sm2[_sm5] = _sm3[_sm4]; }), _sm6 = this && this.__setModuleDefault || (Object.create ? function(_sm7, _sm8) { var _sm9 = null; Object.defineProperty(_sm7, 'default', { 'enumerable': !0, 'value': _sm8 }); } : function(_sma, _smb) { var _smc = null; _sma.default = _smb; }), _smd = this && this.__importStar || function(_sme) { var _smf = null; if (_sme && _sme.__esModule) return _sme; var _smg = {}; if (null != _sme) { for (var _smh in _sme) 'default' !== _smh && Object.prototype.hasOwnProperty.call(_sme, _smh) && _slv(_smg, _sme, _smh); } return _sm6(_smg, _sme), _smg; }; defineModule(_slb); Object.defineProperty(_slb, '__esModule', { 'value': !0 }), _slb.WireHand = void 0; var _smi = _slc(59910), _smj = _smd(_slc(31000)), _smk = function(_sml) { var _smm = null; function _smn() { var _smo = null, _smp = _sml.call(this) || this; _smp._materialList = { 'fuel': _smj.REPAIR_MAIN.getTexture(26), 'steel': _smj.REPAIR_MAIN.getTexture(27), 'bucket': _smj.REPAIR_MAIN.getTexture(28) }, _smp._wire = new _smi.Wire(), _smp._wire.rotation = Math.PI / 180 * 90, _smp.WIRE_WIDTH = _smp._wire.width; var _smq = new PIXI.Sprite(_smj.REPAIR_MAIN.getTexture(13)); return _smp._material = new PIXI.Sprite(), _smp._handContainer = new PIXI.Container(), _smp._handContainer.position.set(-Math.floor(_smq.width / 2 + _smp._wire.height / 2), _smp.WIRE_WIDTH), _smp.initialize(), _smp._handContainer.addChild(_smq, _smp._material), _smp.addChild(_smp._wire, _smp._handContainer), _smp; } return _slf(_smn, _sml), _smn.prototype.initialize = function() { var _smr = null; this.randomMaterial(), this.update(0.3); }, _smn.prototype.randomMaterial = function() { var _sms = null, _smt = 50 < 100 * Math.random(); this._material.texture = _smt ? this._materialList.fuel : this._materialList.steel, this._material.position.set(-7, 3), this._material.visible = !0; }, _smn.prototype.bucketMaterial = function() { var _smu = null; this._material.texture = this._materialList.bucket, this._material.position.set(-18, 0), this._material.visible = !0; }, _smn.prototype.hideMaterial = function() { var _smv = null; this._material.texture = PIXI.Texture.EMPTY, this._material.visible = !1; }, _smn.prototype.update = function(_smw) { var _smx = null, _smy = this.WIRE_WIDTH * (1 - _smw); this._wire.width = _smy, this._handContainer.y = _smy - 3; }, Object.defineProperty(_smn.prototype, 'obj', { 'get': function() { var _smz = null; return { 'wire': this._wire, 'container': this._handContainer }; }, 'enumerable': !1, 'configurable': !0 }), _smn.prototype.getPosition = function(_sn0) { var _sn1 = null, _sn2 = this.WIRE_WIDTH * (1 - _sn0); return { 'wire': { 'width': _sn2 }, 'container': { 'y': _sn2 - 3 } }; }, _smn.prototype.dispose = function() { var _sn3 = null; this._wire.dispose(), this._handContainer.removeChildren(), this._wire = null, this._handContainer = null, this._material = null, this.removeChildren(); }, _smn; }(PIXI.Container); _slb.WireHand = _smk; }, 42928: function(_sn4, _sn5, _sn6) { 'use strict'; var _sn7 = null; var _sn8, _sn9 = this && this.__extends || (_sn8 = function(_sna, _snb) { var _snc = null; return _sn8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_snd, _sne) { var _snf = null; _snd.__proto__ = _sne; } || function(_sng, _snh) { var _sni = null; for (var _snj in _snh) Object.prototype.hasOwnProperty.call(_snh, _snj) && (_sng[_snj] = _snh[_snj]); }, _sn8(_sna, _snb); }, function(_snk, _snl) { var _snm = null; if ('function' != typeof _snl && null !== _snl) throw new TypeError('Class extends value ' + String(_snl) + ' is not a constructor or null'); function _snn() { var _sno = null; this.constructor = _snk; } _sn8(_snk, _snl), _snk.prototype = null === _snl ? Object.create(_snl) : (_snn.prototype = _snl.prototype, new _snn()); }), _snp = this && this.__importDefault || function(_snq) { var _snr = null; return _snq && _snq.__esModule ? _snq : { 'default': _snq }; }; defineModule(_sn5); Object.defineProperty(_sn5, '__esModule', { 'value': !0 }), _sn5.NDockAPI = void 0; var _sns = _snp(_sn6(18622)), _snt = function(_snu) { var _snv = null; function _snw() { var _snx = null, _sny = _snu.call(this) || this; return _sny._url = 'api_get_member/ndock', _sny; } return _sn9(_snw, _snu), _snw.prototype._completedEnd = function() { var _snz = null, _so0 = _sns.default.model.ndock.get(1), _so1 = _sns.default.model.ndock.get(2), _so2 = _sns.default.model.ndock.get(3), _so3 = _sns.default.model.ndock.get(4); _sns.default.model.ndock.setData(this._raw_data); var _so4, _so5 = _sns.default.model.ndock.get(1), _so6 = _sns.default.model.ndock.get(2), _so7 = _sns.default.model.ndock.get(3), _so8 = _sns.default.model.ndock.get(4); 1 == _so0.state && 0 == _so5.state && ((_so4 = _sns.default.model.ship.get(_so0.shipMemID)).__updateNowHp__(_so4.hpMax), _so4.__updateNDockTime__(0), _so4.__updateNDockItem__([0, 0]), _so4.tired < 40 && _so4.__updateCond__(40)), 1 == _so1.state && 0 == _so6.state && ((_so4 = _sns.default.model.ship.get(_so1.shipMemID)).__updateNowHp__(_so4.hpMax), _so4.__updateNDockTime__(0), _so4.__updateNDockItem__([0, 0]), _so4.tired < 40 && _so4.__updateCond__(40)), 1 == _so2.state && 0 == _so7.state && ((_so4 = _sns.default.model.ship.get(_so2.shipMemID)).__updateNowHp__(_so4.hpMax), _so4.__updateNDockTime__(0), _so4.__updateNDockItem__([0, 0]), _so4.tired < 40 && _so4.__updateCond__(40)), 1 == _so3.state && 0 == _so8.state && ((_so4 = _sns.default.model.ship.get(_so3.shipMemID)).__updateNowHp__(_so4.hpMax), _so4.__updateNDockTime__(0), _so4.__updateNDockItem__([0, 0]), _so4.tired < 40 && _so4.__updateCond__(40)), _snu.prototype._completedEnd.call(this); }, _snw; }(_sn6(58566).APIBase); _sn5.NDockAPI = _snt; }, 25984: function(_so9, _soa, _sob) { 'use strict'; var _soc = null; var _sod, _soe = this && this.__extends || (_sod = function(_sof, _sog) { var _soh = null; return _sod = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_soi, _soj) { var _sok = null; _soi.__proto__ = _soj; } || function(_sol, _som) { var _son = null; for (var _soo in _som) Object.prototype.hasOwnProperty.call(_som, _soo) && (_sol[_soo] = _som[_soo]); }, _sod(_sof, _sog); }, function(_sop, _soq) { var _sor = null; if ('function' != typeof _soq && null !== _soq) throw new TypeError('Class extends value ' + String(_soq) + ' is not a constructor or null'); function _sos() { var _sot = null; this.constructor = _sop; } _sod(_sop, _soq), _sop.prototype = null === _soq ? Object.create(_soq) : (_sos.prototype = _soq.prototype, new _sos()); }), _sou = this && this.__importDefault || function(_sov) { var _sow = null; return _sov && _sov.__esModule ? _sov : { 'default': _sov }; }; defineModule(_soa); Object.defineProperty(_soa, '__esModule', { 'value': !0 }), _soa.OpenNewDockAPI = void 0; var _sox = _sou(_sob(18622)), _soy = _sob(58566), _soz = _sob(56045), _sp0 = function(_sp1) { var _sp2 = null; function _sp3(_sp4) { var _sp5 = null, _sp6 = _sp1.call(this) || this; return _sp6._url = 'api_req_nyukyo/open_new_dock', _sp6.memDockId = _sp4, _sp6; } return _soe(_sp3, _sp1), _sp3.prototype._completedEnd = function() { var _sp7 = null, _sp8 = _sox.default.model.useItem.get(_soz.RepairConst.OPEN_KEY_ITEMID), _sp9 = _sox.default.model.ndock.get(this.memDockId); _sp9.__updateCompleteTime__(0), _sp9.__updateShipId__(0), _sp9.__updateState__(0), _sp8.__setCount__(_sp8.count - 1), _sp1.prototype._completedEnd.call(this); }, _sp3; }(_soy.APIBase); _soa.OpenNewDockAPI = _sp0; }, 21433: function(_spa, _spb, _spc) { 'use strict'; var _spd = null; var _spe, _spf = this && this.__extends || (_spe = function(_spg, _sph) { var _spi = null; return _spe = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_spj, _spk) { var _spl = null; _spj.__proto__ = _spk; } || function(_spm, _spn) { var _spo = null; for (var _spp in _spn) Object.prototype.hasOwnProperty.call(_spn, _spp) && (_spm[_spp] = _spn[_spp]); }, _spe(_spg, _sph); }, function(_spq, _spr) { var _sps = null; if ('function' != typeof _spr && null !== _spr) throw new TypeError('Class extends value ' + String(_spr) + ' is not a constructor or null'); function _spt() { var _spu = null; this.constructor = _spq; } _spe(_spq, _spr), _spq.prototype = null === _spr ? Object.create(_spr) : (_spt.prototype = _spr.prototype, new _spt()); }), _spv = this && this.__importDefault || function(_spw) { var _spx = null; return _spw && _spw.__esModule ? _spw : { 'default': _spw }; }; defineModule(_spb); Object.defineProperty(_spb, '__esModule', { 'value': !0 }), _spb.SpeedChangeAPI = void 0; var _spy = _spv(_spc(18622)), _spz = function(_sq0) { var _sq1 = null; function _sq2(_sq3) { var _sq4 = null, _sq5 = _sq0.call(this) || this; return _sq5._url = 'api_req_nyukyo/speedchange', _sq5.api_ndock_id = _sq3, _sq5; } return _spf(_sq2, _sq0), _sq2.prototype._connect = function() { var _sq6 = null; this._post_data.api_ndock_id = this.api_ndock_id, _sq0.prototype._connect.call(this); }, _sq2.prototype._completedEnd = function() { var _sq7 = null, _sq8 = _spy.default.model.useItem.get(1), _sq9 = _spy.default.model.ndock.get(this.api_ndock_id), _sqa = _spy.default.model.ship.get(_sq9.shipMemID); _sqa.__updateNowHp__(_sqa.hpMax), _sqa.__updateNDockTime__(0), _sqa.__updateNDockItem__([0, 0]), _sqa.tired < 40 && _sqa.__updateCond__(40), _sq9.__updateCompleteTime__(0), _sq9.__updateShipId__(-1), _sq9.__updateState__(0), _sq8.__setCount__(_sq8.count - 1), _sq0.prototype._completedEnd.call(this); }, _sq2; }(_spc(58566).APIBase); _spb.SpeedChangeAPI = _spz; }, 41029: function(_sqb, _sqc, _sqd) { 'use strict'; var _sqe = null; var _sqf, _sqg = this && this.__extends || (_sqf = function(_sqh, _sqi) { var _sqj = null; return _sqf = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_sqk, _sql) { var _sqm = null; _sqk.__proto__ = _sql; } || function(_sqn, _sqo) { var _sqp = null; for (var _sqq in _sqo) Object.prototype.hasOwnProperty.call(_sqo, _sqq) && (_sqn[_sqq] = _sqo[_sqq]); }, _sqf(_sqh, _sqi); }, function(_sqr, _sqs) { var _sqt = null; if ('function' != typeof _sqs && null !== _sqs) throw new TypeError('Class extends value ' + String(_sqs) + ' is not a constructor or null'); function _squ() { var _sqv = null; this.constructor = _sqr; } _sqf(_sqr, _sqs), _sqr.prototype = null === _sqs ? Object.create(_sqs) : (_squ.prototype = _sqs.prototype, new _squ()); }), _sqw = this && this.__importDefault || function(_sqx) { var _sqy = null; return _sqx && _sqx.__esModule ? _sqx : { 'default': _sqx }; }; defineModule(_sqc); Object.defineProperty(_sqc, '__esModule', { 'value': !0 }), _sqc.StartAPI = void 0; var _sqz = _sqw(_sqd(18622)), _sr0 = function(_sr1) { var _sr2 = null; function _sr3(_sr4, _sr5, _sr6) { var _sr7 = null, _sr8 = _sr1.call(this) || this; return _sr8.MINIMUM_TIME = 60000, _sr8._url = 'api_req_nyukyo/start', _sr8.api_ship_id = _sr5, _sr8.api_ndock_id = _sr4, _sr8.api_highspeed = _sr6, _sr8; } return _sqg(_sr3, _sr1), _sr3.prototype._connect = function() { var _sr9 = null; this._post_data.api_highspeed = this.api_highspeed ? 1 : 0, this._post_data.api_ndock_id = this.api_ndock_id, this._post_data.api_ship_id = this.api_ship_id, _sr1.prototype._connect.call(this); }, _sr3.prototype._completedEnd = function() { var _sra = null, _srb = _sqz.default.model.ship.get(this.api_ship_id), _src = _sqz.default.model.useItem.get(31), _srd = _sqz.default.model.useItem.get(33); if (_src.__setCount__(_src.count - _srb.getRepairFuel()), _srd.__setCount__(_srd.count - _srb.getRepairSteel()), this.api_highspeed) { var _sre = _sqz.default.model.useItem.get(1); _sre.__setCount__(_sre.count - 1), this.immediateRepair(_srb); } else _srb.getRepairTime() <= this.MINIMUM_TIME && this.immediateRepair(_srb); _sr1.prototype._completedEnd.call(this); }, _sr3.prototype.immediateRepair = function(_srf) { var _srg = null; _srf.__updateNowHp__(_srf.hpMax), _srf.__updateNDockTime__(0), _srf.__updateNDockItem__([0, 0]), _srf.tired < 40 && _srf.__updateCond__(40); }, _sr3; }(_sqd(58566).APIBase); _sqc.StartAPI = _sr0; }, 56045: (_srh, _sri) => { 'use strict'; var _srj = null; var _srk; defineModule(_sri); Object.defineProperty(_sri, '__esModule', { 'value': !0 }), _sri.RepairConst = void 0, function(_srl) { var _srm = null; _srl.ITEM_IN_COUNT = 10, _srl.OPEN_KEY_ITEMID = 49; }(_srk || (_sri.RepairConst = _srk = {})); }, 71666: (_srn, _sro) => { 'use strict'; var _srp = null; var _srq; defineModule(_sro); Object.defineProperty(_sro, '__esModule', { 'value': !0 }), _sro.TimerState = void 0, function(_srr) { var _srs = null; _srr[_srr.WaitComplete = 0] = 'WaitComplete', _srr[_srr.UpdateOnly = 1] = 'UpdateOnly'; }(_srq || (_sro.TimerState = _srq = {})); }, 92627: function(_srt, _sru, _srv) { 'use strict'; var _srw = null; var _srx = this && this.__importDefault || function(_sry) { var _srz = null; return _sry && _sry.__esModule ? _sry : { 'default': _sry }; }; defineModule(_sru); Object.defineProperty(_sru, '__esModule', { 'value': !0 }), _sru.PhaseHiSpeedRepairConfirm = void 0; var _ss0 = _srx(_srv(18622)), _ss1 = _srv(83415), _ss2 = (function() { var _ss3 = null; function _ss4(_ss5, _ss6, _ss7) { var _ss8 = null, _ss9 = this; this._onClickYES = function() { var _ssa = null; _ss9.onComplete(!0); }, this._onClickNO = function() { var _ssb = null; _ss9.onComplete(!1); }, _ss7.interactive = !0, _ss7.alpha = 0, _ss6.alpha = 0, _ss6.x = Math.floor(600 - _ss6.width / 2), _ss6.y = Math.floor(360 - _ss6.height / 2 + 27), _ss5.addChild(_ss7), _ss5.addChild(_ss6), _ss6.onClickYES = this._onClickYES, _ss6.onClickNO = this._onClickNO, this.mainView = _ss5, this.useHiSpeedRepairConfirmView = _ss6, this.background = _ss7; } return _ss4.prototype.start = function(_ssc) { var _ssd = null; _ss0.default.view.clickGuard = !0; var _sse = _ss0.default.model.ndock.get(_ssc), _ssf = _ss0.default.model.ship.get(_sse.shipMemID), _ssg = _ss0.default.model.useItem.get(1).count; this.useHiSpeedRepairConfirmView.update(_ssf, _ssg); var _ssh = _ss1.UISettings.DIALOG_FADETIME, _ssi = { 'alpha': 1 }; createjs.Tween.get(this.background).to(_ssi, _ssh), createjs.Tween.get(this.useHiSpeedRepairConfirmView).to(_ssi, _ssh).call(function() { var _ssj = null; _ss0.default.view.clickGuard = !1; }); }, _ss4.prototype.hide = function(_ssk) { var _ssl = null; _ss0.default.view.clickGuard = !0; var _ssm = _ss1.UISettings.DIALOG_FADETIME, _ssn = { 'alpha': 0 }; createjs.Tween.get(this.background).to(_ssn, _ssm), createjs.Tween.get(this.useHiSpeedRepairConfirmView).to(_ssn, _ssm).call(function() { var _sso = null; _ss0.default.view.clickGuard = !1, _ssk(); }); }, _ss4.prototype.dispose = function() { var _ssp = null; this.mainView.removeChild(this.background), this.mainView.removeChild(this.useHiSpeedRepairConfirmView), this.onComplete = null, this.mainView = null, this.useHiSpeedRepairConfirmView = null, this.background = null; }, _ss4; }()); _sru.PhaseHiSpeedRepairConfirm = _ss2; }, 1967: function(_ssq, _ssr, _sss) { 'use strict'; var _sst = null; var _ssu = this && this.__importDefault || function(_ssv) { var _ssw = null; return _ssv && _ssv.__esModule ? _ssv : { 'default': _ssv }; }; defineModule(_ssr); Object.defineProperty(_ssr, '__esModule', { 'value': !0 }), _ssr.PhaseRepairConfirm = void 0; var _ssx = _ssu(_sss(18622)), _ssy = _sss(83415), _ssz = (function() { var _st0 = null; function _st1(_st2, _st3, _st4) { var _st5 = null, _st6 = this; this._onClickYES = function() { var _st7 = null; _st6.onComplete(!0); }, this._onClickNO = function() { var _st8 = null; _st6.onComplete(!1); }, _st4.interactive = !0, _st4.alpha = 0, _st3.alpha = 0, _st3.x = Math.floor(600 - _st3.width / 2), _st3.y = Math.floor(360 - _st3.height / 2 + 27), _st3.onClickYES = this._onClickYES, _st3.onClickNO = this._onClickNO, _st2.addChild(_st4), _st2.addChild(_st3), this.mainView = _st2, this.background = _st4, this.useRepairConfirmView = _st3; } return _st1.prototype.dispose = function() { var _st9 = null; this.mainView.removeChild(this.background), this.mainView.removeChild(this.useRepairConfirmView), this.useRepairConfirmView = null, this.background = null, this.mainView = null, this._onClickYES = this._onClickNO = null; }, _st1.prototype.start = function(_sta, _stb) { var _stc = null; _ssx.default.view.clickGuard = !0; var _std = _ssx.default.model.ship.get(_sta); this.useRepairConfirmView.update(_std, _stb), this.background.alpha = 0, this.useRepairConfirmView.alpha = 0; var _ste = _ssy.UISettings.DIALOG_FADETIME, _stf = { 'alpha': 1 }; createjs.Tween.get(this.background).to(_stf, _ste), createjs.Tween.get(this.useRepairConfirmView).to(_stf, _ste).call(function() { var _stg = null; _ssx.default.view.clickGuard = !1; }); }, _st1.prototype.hide = function(_sth) { var _sti = null, _stj = _ssy.UISettings.DIALOG_FADETIME, _stk = { 'alpha': 0 }; createjs.Tween.get(this.background).to(_stk, _stj), createjs.Tween.get(this.useRepairConfirmView).to(_stk, _stj).call(function() { var _stl = null; _ssx.default.view.clickGuard = !1, _sth(); }); }, _st1; }()); _ssr.PhaseRepairConfirm = _ssz; }, 24721: function(_stm, _stn, _sto) { 'use strict'; var _stp = null; var _stq = this && this.__importDefault || function(_str) { var _sts = null; return _str && _str.__esModule ? _str : { 'default': _str }; }; defineModule(_stn); Object.defineProperty(_stn, '__esModule', { 'value': !0 }), _stn.PhaseRepairShipChoice = void 0; var _stt = _stq(_sto(21359)), _stu = _stq(_sto(18622)), _stv = _sto(18343), _stw = _sto(56045), _stx = _sto(26371), _sty = _sto(31000), _stz = _sto(35380), _su0 = _sto(27436), _su1 = _sto(16677), _su2 = (function() { var _su3 = null; function _su4(_su5, _su6, _su7, _su8, _su9) { var _sua = null, _sub = this; this._pageIndex = 0, this._onClickPage = function(_suc) { var _sud = null; if (_sub._pageIndex != _suc) { var _sue = _sub.ships.slice(_suc * _stw.RepairConst.ITEM_IN_COUNT, _suc * _stw.RepairConst.ITEM_IN_COUNT + _stw.RepairConst.ITEM_IN_COUNT); _sub.repairShipChoiceView.update(_sue, _sub.repairingIds), _sub._pageIndex = _suc; } }, this._onWheel = function(_suf) { var _sug = null; if (0 != _suf.delta) { var _suh = _stx.RepairUtil.calcPageCount(_sub.ships.length); if (0 != _suh) { var _sui = _suf.delta > 0 ? _sub._pageIndex + 1 : _sub._pageIndex - 1; _sui < 0 || _sui + 1 > _suh || (_suf.enabledGuard(), _sub._onClickPage(_sui), _sub.pagerView.changePage(_sui)); } } }, this._onClickBack = function() { var _suj = null; _su1.WheelEventUtil.clear(), _sub.onComplete(!1); }, this._onClickListItem = function(_suk) { var _sul = null; _sub._memShipId = _suk, _sub.onComplete(!0); }, this._onClickSort = function() { var _sum = null, _sun; switch (_sub._shipSortKeyType) { case 3: _sun = 4; break; case 4: _sun = 5; break; case 5: _sun = 6; break; case 6: _sun = 1; break; case 1: _sun = 2; break; case 2: _sun = 3; } _stv.ShipUtil.sort(_sub.ships, _sun); var _suo = _sub.ships.slice(_sub._pageIndex * _stw.RepairConst.ITEM_IN_COUNT, _sub._pageIndex * _stw.RepairConst.ITEM_IN_COUNT + _stw.RepairConst.ITEM_IN_COUNT); _sub.repairShipChoiceView.update(_suo, _sub.repairingIds), _sub.shipSortButton.update(_sun), _sub._shipSortKeyType = _sun, _su0.RepairSceneMemory.shipSortKeyType = _sub._shipSortKeyType; }, _su8.onClick = this._onClickSort, _su7.onChangePage = this._onClickPage, _su6.onClickListItem = this._onClickListItem, _su9.interactive = !0, _su9.addListener(_stz.EventType.CLICK, this._onClickBack), _su9.alpha = 0, _su5.addChild(_su9), _su5.addChild(_su6), _su6.addChild(_su7), _su6.addChild(_su8), _su6.position.set(1200, 142), _su8.position.set(585, 6), _su7.position.set(69, 528), this.repairShipChoiceView = _su6, this.shipSortButton = _su8, this.pagerView = _su7, this.mainView = _su5, this.background = _su9; } return Object.defineProperty(_su4.prototype, 'memShipId', { 'get': function() { var _sup = null; return this._memShipId; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_su4.prototype, 'pageIndex', { 'get': function() { var _suq = null; return this._pageIndex; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_su4.prototype, 'shipSortKeyType', { 'get': function() { var _sur = null; return this._shipSortKeyType; }, 'enumerable': !1, 'configurable': !0 }), _su4.prototype.start = function(_sus, _sut) { var _suu = null, _suv = this; _sty.SE.play('249'), _stu.default.view.clickGuard = !0; var _suw = _stu.default.model.ndock.getAll(), _sux = []; _suw.forEach(function(_suy) { var _suz = null; _sux.push(_suy.shipMemID); }); var _sv0 = _stu.default.model.ship.getAll(), _sv1 = _stx.RepairUtil.calcPageCount(_sv0.length); _stv.ShipUtil.sort(_sv0, _sut); var _sv2 = _sv0.slice(_sus * _stw.RepairConst.ITEM_IN_COUNT, _sus * _stw.RepairConst.ITEM_IN_COUNT + _stw.RepairConst.ITEM_IN_COUNT); this.repairShipChoiceView.update(_sv2, _sux), this.shipSortButton.update(_sut), this.ships = _sv0, this._pageIndex = _sus, this._shipSortKeyType = _sut, this.pagerView.init(_sv1), this.pagerView.changePage(_sus), this.repairingIds = _sux; var _sv3 = createjs.Tween.get(this.repairShipChoiceView); createjs.Tween.get(this.background).to({ 'alpha': 1 }, 150).play(null), _sv3.to({ 'x': 532 }, 150).call(function() { var _sv4 = null; _stu.default.view.clickGuard = !1, _suv.background.width = 568, _suv.activateWheel(); }).play(null); }, _su4.prototype.hide = function(_sv5) { var _sv6 = null, _sv7 = createjs.Tween.get(this.repairShipChoiceView), _sv8 = createjs.Tween.get(this.background); this.background.width = _stt.default.width, _sv8.to({ 'alpha': 0 }, 150).play(null), _sv7.to({ 'x': 1200 }, 150).call(function() { _sv5(); }).play(null); }, _su4.prototype.activateWheel = function() { var _sv9 = null; _su1.WheelEventUtil.regist(this._onWheel); }, _su4.prototype.dispose = function() { var _sva = null; this.mainView.removeChild(this.background), this.mainView.removeChild(this.repairShipChoiceView), this.repairShipChoiceView.removeChild(this.shipSortButton), this.repairShipChoiceView.removeChild(this.pagerView), this.background.removeAllListeners(_stz.EventType.CLICK), this.onComplete = null, this._memShipId = null, this.repairShipChoiceView = null, this.shipSortButton = null, this.pagerView = null, this.ships = null, this._shipSortKeyType = null, this._pageIndex = null, _su1.WheelEventUtil.clear(); }, _su4; }()); _stn.PhaseRepairShipChoice = _su2; }, 24378: function(_svb, _svc, _svd) { 'use strict'; var _sve = null; var _svf = this && this.__importDefault || function(_svg) { var _svh = null; return _svg && _svg.__esModule ? _svg : { 'default': _svg }; }; defineModule(_svc); Object.defineProperty(_svc, '__esModule', { 'value': !0 }), _svc.PhaseRepairShipConfig = void 0; var _svi = _svf(_svd(21359)), _svj = _svf(_svd(18622)), _svk = _svd(71837), _svl = _svd(35380), _svm = (function() { var _svn = null; function _svo(_svp, _svq, _svr) { var _svs = null, _svt = this; this._useHiSpeed = !1, this._onClick = function() { var _svu = null; _svt._useHiSpeed = 1 == _svt.repairShipConfigView.state, _svt.onComplete(!0); }, this._onClickBack = function() { var _svv = null; _svt.onComplete(!1); }, _svr.alpha = 0, _svr.interactive = !0, _svr.addListener(_svl.EventType.CLICK, this._onClickBack), _svq.position.set(1200, 140), _svp.addChild(_svr), _svp.addChild(_svq), _svq.onClick = this._onClick, this.repairShipConfigView = _svq, this.background = _svr, this.mainView = _svp; } return Object.defineProperty(_svo.prototype, 'useHiSpeed', { 'get': function() { var _svw = null; return this._useHiSpeed; }, 'enumerable': !1, 'configurable': !0 }), _svo.prototype.start = function(_svx) { var _svy = null, _svz = this; _svj.default.view.clickGuard = !0; var _sw0 = !1, _sw1 = _svj.default.model.ship.get(_svx), _sw2 = _svj.default.model.useItem.get(33).count, _sw3 = _svj.default.model.useItem.get(31).count, _sw4 = _sw1.getRepairSteel() <= _sw2, _sw5 = _sw1.getRepairFuel() <= _sw3, _sw6 = _svj.default.model.deck.isInDeck(_svx), _sw7 = 0 < _svj.default.model.useItem.get(1).count, _sw8 = -1 < _svj.default.model.ndock.getShipMemIDs().indexOf(_svx); null != _sw6 && (_sw0 = null != _svj.default.model.deck.get(_sw6[0]).expedition), this.repairShipConfigView.update(_sw1, _sw4, _sw5, _sw0, _sw8, _sw7); var _sw9 = createjs.Tween.get(this.repairShipConfigView); createjs.Tween.get(this.background).to({ 'alpha': 1 }, 150).play(null), _sw9.to({ 'x': 855 }, 150).call(function() { var _swa = null; createjs.Tween.removeTweens(_svz.repairShipConfigView), createjs.Tween.removeTweens(_svz.background), _svz.repairShipConfigView.x = 855, _svz.background.alpha = 1, _svz.background.width = 887, _svj.default.view.clickGuard = !1; }).play(null); }, _svo.prototype.hide = function(_swb) { var _swc = null, _swd = this; _svk.TaskLoadShipResource.abortBy(this.repairShipConfigView); var _swe = createjs.Tween.get(this.repairShipConfigView), _swf = createjs.Tween.get(this.background); this.background.width = _svi.default.width, _swf.to({ 'alpha': 0 }, 150).play(null), _swe.to({ 'x': 1200 }, 150).call(function() { var _swg = null; createjs.Tween.removeTweens(_swd.repairShipConfigView), createjs.Tween.removeTweens(_swd.background), _swd.repairShipConfigView.x = 1200, _swd.background.alpha = 0, _swb(); }).play(null); }, _svo.prototype.dispose = function() { var _swh = null; this.mainView.removeChild(this.background), this.mainView.removeChild(this.repairShipConfigView), this.background.removeAllListeners(_svl.EventType.CLICK), this.background = null, this.repairShipConfigView = null; }, _svo; }()); _svc.PhaseRepairShipConfig = _svm; }, 79243: function(_swi, _swj, _swk) { 'use strict'; var _swl = null; var _swm, _swn = this && this.__extends || (_swm = function(_swo, _swp) { var _swq = null; return _swm = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_swr, _sws) { var _swt = null; _swr.__proto__ = _sws; } || function(_swu, _swv) { var _sww = null; for (var _swx in _swv) Object.prototype.hasOwnProperty.call(_swv, _swx) && (_swu[_swx] = _swv[_swx]); }, _swm(_swo, _swp); }, function(_swy, _swz) { var _sx0 = null; if ('function' != typeof _swz && null !== _swz) throw new TypeError('Class extends value ' + String(_swz) + ' is not a constructor or null'); function _sx1() { var _sx2 = null; this.constructor = _swy; } _swm(_swy, _swz), _swy.prototype = null === _swz ? Object.create(_swz) : (_sx1.prototype = _swz.prototype, new _sx1()); }); defineModule(_swj); Object.defineProperty(_swj, '__esModule', { 'value': !0 }), _swj.DisposeTask = void 0; var _sx3 = _swk(81755), _sx4 = _swk(13748), _sx5 = function(_sx6) { var _sx7 = null; function _sx8(_sx9) { var _sxa = null, _sxb = _sx6.call(this) || this; return _sxb.repairScene = _sx9, _sxb.repairScene.dispose(), _sxb; } return _swn(_sx8, _sx6), _sx8.prototype._start = function() { var _sxc = null; _sx4.UIImageLoader.clearMemoryCache('repair'), this._endTask(); }, _sx8; }(_sx3.TaskBase); _swj.DisposeTask = _sx5; }, 48035: function(_sxd, _sxe, _sxf) { 'use strict'; var _sxg = null; var _sxh, _sxi = this && this.__extends || (_sxh = function(_sxj, _sxk) { var _sxl = null; return _sxh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_sxm, _sxn) { var _sxo = null; _sxm.__proto__ = _sxn; } || function(_sxp, _sxq) { var _sxr = null; for (var _sxs in _sxq) Object.prototype.hasOwnProperty.call(_sxq, _sxs) && (_sxp[_sxs] = _sxq[_sxs]); }, _sxh(_sxj, _sxk); }, function(_sxt, _sxu) { var _sxv = null; if ('function' != typeof _sxu && null !== _sxu) throw new TypeError('Class extends value ' + String(_sxu) + ' is not a constructor or null'); function _sxw() { var _sxx = null; this.constructor = _sxt; } _sxh(_sxt, _sxu), _sxt.prototype = null === _sxu ? Object.create(_sxu) : (_sxw.prototype = _sxu.prototype, new _sxw()); }), _sxy = this && this.__importDefault || function(_sxz) { var _sy0 = null; return _sxz && _sxz.__esModule ? _sxz : { 'default': _sxz }; }; defineModule(_sxe); Object.defineProperty(_sxe, '__esModule', { 'value': !0 }), _sxe.InitializeTask = void 0; var _sy1 = _sxf(81755), _sy2 = _sxy(_sxf(18622)), _sy3 = function(_sy4) { var _sy5 = null; function _sy6(_sy7) { var _sy8 = null; return _sy4.call(this) || this; } return _sxi(_sy6, _sy4), _sy6.prototype._start = function() { var _sy9 = null; this._playBGM(); }, _sy6.prototype._playBGM = function() { var _sya = null; _sy2.default.sound.bgm.play(102), this._startScene(); }, _sy6.prototype._startScene = function() { var _syb = null; this._endTask(); }, _sy6; }(_sy1.TaskBase); _sxe.InitializeTask = _sy3; }, 70461: function(_syc, _syd, _sye) { 'use strict'; var _syf = null; var _syg, _syh = this && this.__extends || (_syg = function(_syi, _syj) { var _syk = null; return _syg = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_syl, _sym) { var _syn = null; _syl.__proto__ = _sym; } || function(_syo, _syp) { var _syq = null; for (var _syr in _syp) Object.prototype.hasOwnProperty.call(_syp, _syr) && (_syo[_syr] = _syp[_syr]); }, _syg(_syi, _syj); }, function(_sys, _syt) { var _syu = null; if ('function' != typeof _syt && null !== _syt) throw new TypeError('Class extends value ' + String(_syt) + ' is not a constructor or null'); function _syv() { var _syw = null; this.constructor = _sys; } _syg(_sys, _syt), _sys.prototype = null === _syt ? Object.create(_syt) : (_syv.prototype = _syt.prototype, new _syv()); }), _syx = this && this.__importDefault || function(_syy) { var _syz = null; return _syy && _syy.__esModule ? _syy : { 'default': _syy }; }; defineModule(_syd); Object.defineProperty(_syd, '__esModule', { 'value': !0 }), _syd.PreInitializeTask = void 0; var _sz0 = _syx(_sye(18622)), _sz1 = _sye(81755), _sz2 = _sye(20137), _sz3 = _sye(13748), _sz4 = _sye(43224), _sz5 = _sye(42928), _sz6 = function(_sz7) { var _sz8 = null; function _sz9(_sza) { var _szb = null, _szc = _sz7.call(this) || this; return _szc._updateNDock = function() { var _szd = null; new _sz5.NDockAPI().start(_szc._loadAtlas); }, _szc._loadAtlas = function() { var _sze = null, _szf = new _sz3.UIImageLoader('repair'); _szf.add('repair_main.json'), _szf.add('repair_sort.json'), _szf.load(_szc._loadShipBanner); }, _szc._loadShipBanner = function() { var _szg = null, _szh = _sz0.default.model.ndock.getShipMemIDs(); if (0 < _szh.length) { for (var _szi = new _sz2.ShipLoader(), _szj = 0; _szj < _szh.length; _szj++) { var _szk = _szh[_szj], _szl = _sz0.default.model.ship.get(_szk); _szi.add(_szl.mstID, _szl.isDamaged(), 'banner'); } _szi.load(function() { var _szm = null; _szc._onCompleteLoad(); }); } else _szc._onCompleteLoad(); }, _szc._onCompleteLoad = function() { var _szn = null, _szo = _sz0.default.model.ndock.getAll(), _szp = new _sz4.MainView(_szo); _szc.repairScene.start(_szp), _szc.repairScene.updateNDocks(_szo), _szc.repairScene.startNDockTimer(), _szc._endTask(); }, _szc.repairScene = _sza, _szc; } return _syh(_sz9, _sz7), _sz9.prototype._start = function() { var _szq = null; this._updateNDock(); }, _sz9; }(_sz1.TaskBase); _syd.PreInitializeTask = _sz6; }, 26371: (_szr, _szs, _szt) => { 'use strict'; var _szu = null; defineModule(_szs); Object.defineProperty(_szs, '__esModule', { 'value': !0 }), _szs.RepairUtil = void 0; var _szv, _szw = _szt(56045); ! function(_szx) { var _szy = null; _szx.calcPageCount = function(_szz) { var _t00 = null, _t01 = 0 == _szz ? 0 : _szz / _szw.RepairConst.ITEM_IN_COUNT; return _t01 += 0 == _szz ? 0 : 0 < _szz % _szw.RepairConst.ITEM_IN_COUNT ? 1 : 0, _t01 = Math.floor(_t01); }; }(_szv || (_szs.RepairUtil = _szv = {})); }, 34493: function(_t02, _t03, _t04) { 'use strict'; var _t05 = null; var _t06, _t07 = this && this.__extends || (_t06 = function(_t08, _t09) { var _t0a = null; return _t06 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_t0b, _t0c) { var _t0d = null; _t0b.__proto__ = _t0c; } || function(_t0e, _t0f) { var _t0g = null; for (var _t0h in _t0f) Object.prototype.hasOwnProperty.call(_t0f, _t0h) && (_t0e[_t0h] = _t0f[_t0h]); }, _t06(_t08, _t09); }, function(_t0i, _t0j) { var _t0k = null; if ('function' != typeof _t0j && null !== _t0j) throw new TypeError('Class extends value ' + String(_t0j) + ' is not a constructor or null'); function _t0l() { var _t0m = null; this.constructor = _t0i; } _t06(_t0i, _t0j), _t0i.prototype = null === _t0j ? Object.create(_t0j) : (_t0l.prototype = _t0j.prototype, new _t0l()); }), _t0n = this && this.__createBinding || (Object.create ? function(_t0o, _t0p, _t0q, _t0r) { var _t0s = null; void 0 === _t0r && (_t0r = _t0q); var _t0t = Object.getOwnPropertyDescriptor(_t0p, _t0q); _t0t && !('get' in _t0t ? !_t0p.__esModule : _t0t.writable || _t0t.configurable) || (_t0t = { 'enumerable': !0, 'get': function() { return _t0p[_t0q]; } }), Object.defineProperty(_t0o, _t0r, _t0t); } : function(_t0u, _t0v, _t0w, _t0x) { void 0 === _t0x && (_t0x = _t0w), _t0u[_t0x] = _t0v[_t0w]; }), _t0y = this && this.__setModuleDefault || (Object.create ? function(_t0z, _t10) { var _t11 = null; Object.defineProperty(_t0z, 'default', { 'enumerable': !0, 'value': _t10 }); } : function(_t12, _t13) { var _t14 = null; _t12.default = _t13; }), _t15 = this && this.__importStar || function(_t16) { var _t17 = null; if (_t16 && _t16.__esModule) return _t16; var _t18 = {}; if (null != _t16) { for (var _t19 in _t16) 'default' !== _t19 && Object.prototype.hasOwnProperty.call(_t16, _t19) && _t0n(_t18, _t16, _t19); } return _t0y(_t18, _t16), _t18; }; defineModule(_t03); Object.defineProperty(_t03, '__esModule', { 'value': !0 }), _t03.EmptyDock = void 0; var _t1a = _t15(_t04(31000)), _t1b = _t04(35380), _t1c = function(_t1d) { var _t1e = null; function _t1f() { var _t1g = null, _t1h = _t1d.call(this) || this; _t1h._onMouseOver = function() { var _t1i = null; _t1h.buttonCardSelect.alpha = 1; }, _t1h._onMouseOut = function() { var _t1j = null; _t1h.buttonCardSelect.alpha = 0; }, _t1h._onClick = function() { var _t1k = null; _t1h.onClick(_t1h.memDockId); }; var _t1l = new PIXI.Sprite(_t1a.REPAIR_MAIN.getTexture(10)), _t1m = new PIXI.Sprite(_t1a.REPAIR_MAIN.getTexture(1)); return _t1m.position.set(60, 30), _t1m.addListener(_t1b.EventType.MOUSEOVER, _t1h._onMouseOver), _t1m.addListener(_t1b.EventType.MOUSEOUT, _t1h._onMouseOut), _t1m.addListener(_t1b.EventType.CLICK, _t1h._onClick), _t1m.interactive = _t1m.buttonMode = !0, _t1m.alpha = 0, _t1h.addChild(_t1l, _t1m), _t1h.buttonCardSelect = _t1m, _t1h.background = _t1l, _t1h; } return _t07(_t1f, _t1d), _t1f.prototype.update = function(_t1n) { var _t1o = null; this.memDockId = _t1n; }, _t1f.prototype.dispose = function() { var _t1p = null; this.onClick = null, this.background.texture = PIXI.Texture.EMPTY, this.buttonCardSelect.texture = PIXI.Texture.EMPTY, this.buttonCardSelect.removeAllListeners(_t1b.EventType.MOUSEOVER), this.buttonCardSelect.removeAllListeners(_t1b.EventType.MOUSEOUT), this.buttonCardSelect.removeAllListeners(_t1b.EventType.CLICK), this.background = null, this.buttonCardSelect = null, this.removeChildren(); }, _t1f; }(PIXI.Container); _t03.EmptyDock = _t1c; }, 4864: function(_t1q, _t1r, _t1s) { 'use strict'; var _t1t = null; var _t1u, _t1v = this && this.__extends || (_t1u = function(_t1w, _t1x) { var _t1y = null; return _t1u = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_t1z, _t20) { var _t21 = null; _t1z.__proto__ = _t20; } || function(_t22, _t23) { var _t24 = null; for (var _t25 in _t23) Object.prototype.hasOwnProperty.call(_t23, _t25) && (_t22[_t25] = _t23[_t25]); }, _t1u(_t1w, _t1x); }, function(_t26, _t27) { var _t28 = null; if ('function' != typeof _t27 && null !== _t27) throw new TypeError('Class extends value ' + String(_t27) + ' is not a constructor or null'); function _t29() { var _t2a = null; this.constructor = _t26; } _t1u(_t26, _t27), _t26.prototype = null === _t27 ? Object.create(_t27) : (_t29.prototype = _t27.prototype, new _t29()); }), _t2b = this && this.__createBinding || (Object.create ? function(_t2c, _t2d, _t2e, _t2f) { var _t2g = null; void 0 === _t2f && (_t2f = _t2e); var _t2h = Object.getOwnPropertyDescriptor(_t2d, _t2e); _t2h && !('get' in _t2h ? !_t2d.__esModule : _t2h.writable || _t2h.configurable) || (_t2h = { 'enumerable': !0, 'get': function() { return _t2d[_t2e]; } }), Object.defineProperty(_t2c, _t2f, _t2h); } : function(_t2i, _t2j, _t2k, _t2l) { void 0 === _t2l && (_t2l = _t2k), _t2i[_t2l] = _t2j[_t2k]; }), _t2m = this && this.__setModuleDefault || (Object.create ? function(_t2n, _t2o) { var _t2p = null; Object.defineProperty(_t2n, 'default', { 'enumerable': !0, 'value': _t2o }); } : function(_t2q, _t2r) { var _t2s = null; _t2q.default = _t2r; }), _t2t = this && this.__importStar || function(_t2u) { var _t2v = null; if (_t2u && _t2u.__esModule) return _t2u; var _t2w = {}; if (null != _t2u) { for (var _t2x in _t2u) 'default' !== _t2x && Object.prototype.hasOwnProperty.call(_t2u, _t2x) && _t2b(_t2w, _t2u, _t2x); } return _t2m(_t2w, _t2u), _t2w; }; defineModule(_t1r); Object.defineProperty(_t1r, '__esModule', { 'value': !0 }), _t1r.ExtensionDock = void 0; var _t2y = _t2t(_t1s(31000)), _t2z = _t1s(31000), _t30 = _t1s(35380), _t31 = function(_t32) { var _t33 = null; function _t34() { var _t35 = null, _t36 = _t32.call(this) || this; _t36._onMouseOver = function() { var _t37 = null; _t36.popup.visible = !0; }, _t36._onMouseOut = function() { var _t38 = null; _t36.popup.visible = !1; }, _t36._onClick = function() { var _t39 = null; _t36.hasKey ? _t36.onClick(_t36.memDockId) : _t2z.SE.play('248'); }; var _t3a = new PIXI.Sprite(_t2y.REPAIR_MAIN.getTexture(11)), _t3b = new PIXI.Sprite(); _t3b.position.set(462, -24), _t36.addChild(_t3a, _t3b); var _t3c = _t2y.REPAIR_MAIN.getTexture(25), _t3d = _t2y.REPAIR_MAIN.getTexture(24); return _t36.background = _t3a, _t36.background.addListener(_t30.EventType.MOUSEOVER, _t36._onMouseOver), _t36.background.addListener(_t30.EventType.MOUSEOUT, _t36._onMouseOut), _t36.background.addListener(_t30.EventType.CLICK, _t36._onClick), _t36.popup = _t3b, _t36.huki_r_01 = _t3d, _t36.huki_r_02 = _t3c, _t36; } return _t1v(_t34, _t32), _t34.prototype.update = function(_t3e, _t3f, _t3g) { var _t3h = null; this.popup.texture = PIXI.Texture.EMPTY, this.popup.visible = !1, this.popup.texture = this.huki_r_01, this.hasKey = _t3g, _t3g && (this.popup.texture = this.huki_r_02), this.background.interactive = this.background.buttonMode = !1, _t3f && (this.background.interactive = this.background.buttonMode = !0), this.memDockId = _t3e; }, _t34.prototype.dispose = function() { var _t3i = null; this.removeChild(this.background), this.removeChild(this.popup), this.background.removeAllListeners(_t30.EventType.MOUSEOVER), this.background.removeAllListeners(_t30.EventType.MOUSEOUT), this.background.removeAllListeners(_t30.EventType.CLICK), this.background.interactive = this.background.buttonMode = !1, this.background.texture = PIXI.Texture.EMPTY, this.popup.texture = PIXI.Texture.EMPTY, this.onClick = this._onClick = null, this._onMouseOut = null, this._onMouseOver = null, this.huki_r_01 = null, this.huki_r_02 = null, this.background = null, this.popup = null, this.memDockId = null, this.removeChildren(); }, _t34; }(PIXI.Container); _t1r.ExtensionDock = _t31; }, 43224: function(_t3j, _t3k, _t3l) { 'use strict'; var _t3m = null; var _t3n, _t3o = this && this.__extends || (_t3n = function(_t3p, _t3q) { var _t3r = null; return _t3n = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_t3s, _t3t) { var _t3u = null; _t3s.__proto__ = _t3t; } || function(_t3v, _t3w) { var _t3x = null; for (var _t3y in _t3w) Object.prototype.hasOwnProperty.call(_t3w, _t3y) && (_t3v[_t3y] = _t3w[_t3y]); }, _t3n(_t3p, _t3q); }, function(_t3z, _t40) { var _t41 = null; if ('function' != typeof _t40 && null !== _t40) throw new TypeError('Class extends value ' + String(_t40) + ' is not a constructor or null'); function _t42() { var _t43 = null; this.constructor = _t3z; } _t3n(_t3z, _t40), _t3z.prototype = null === _t40 ? Object.create(_t40) : (_t42.prototype = _t40.prototype, new _t42()); }), _t44 = this && this.__createBinding || (Object.create ? function(_t45, _t46, _t47, _t48) { var _t49 = null; void 0 === _t48 && (_t48 = _t47); var _t4a = Object.getOwnPropertyDescriptor(_t46, _t47); _t4a && !('get' in _t4a ? !_t46.__esModule : _t4a.writable || _t4a.configurable) || (_t4a = { 'enumerable': !0, 'get': function() { return _t46[_t47]; } }), Object.defineProperty(_t45, _t48, _t4a); } : function(_t4b, _t4c, _t4d, _t4e) { void 0 === _t4e && (_t4e = _t4d), _t4b[_t4e] = _t4c[_t4d]; }), _t4f = this && this.__setModuleDefault || (Object.create ? function(_t4g, _t4h) { var _t4i = null; Object.defineProperty(_t4g, 'default', { 'enumerable': !0, 'value': _t4h }); } : function(_t4j, _t4k) { var _t4l = null; _t4j.default = _t4k; }), _t4m = this && this.__importStar || function(_t4n) { var _t4o = null; if (_t4n && _t4n.__esModule) return _t4n; var _t4p = {}; if (null != _t4n) { for (var _t4q in _t4n) 'default' !== _t4q && Object.prototype.hasOwnProperty.call(_t4n, _t4q) && _t44(_t4p, _t4n, _t4q); } return _t4f(_t4p, _t4n), _t4p; }; defineModule(_t3k); Object.defineProperty(_t3k, '__esModule', { 'value': !0 }), _t3k.MainView = void 0; var _t4r = _t3l(4864), _t4s = _t3l(20789), _t4t = _t3l(34493), _t4u = _t4m(_t3l(31000)), _t4v = function(_t4w) { var _t4x = null; function _t4y(_t4z) { var _t50 = null, _t51 = _t4w.call(this) || this; _t51._onClickExtension = function(_t52) { var _t53 = null; _t51.onClickExtension(_t52); }, _t51._onClickHiSpeed = function(_t54) { var _t55 = null; _t51.onClickHiSpeed(_t54); }, _t51._onClickEmptySlot = function(_t56) { var _t57 = null; _t51.onClickEmptySlot(_t56); }; var _t58 = new PIXI.Sprite(_t4u.COMMON_MAIN.getTexture(67)); _t58.position.set(0, 105); var _t59 = new PIXI.Sprite(_t4u.REPAIR_MAIN.getTexture(0)); _t59.anchor.y = 0.5, _t59.position.set(199, 20), _t58.addChild(_t59), _t51.addChild(_t58); var _t5a = new PIXI.Container(); _t5a.position.set(195, 180); for (var _t5b = [], _t5c = [], _t5d = [], _t5e = 0; _t5e < 4; _t5e++) { var _t5f = _t4z[_t5e], _t5g = new _t4t.EmptyDock(); _t5g.onClick = _t51._onClickEmptySlot, _t5g.position.set(0, 123 * _t5e), _t5g.visible = !1, _t5b.push(_t5g), _t5a.addChild(_t5g); var _t5h = new _t4s.ShipInDock(); if (_t5h.onClickHiSpeed = _t51._onClickHiSpeed, _t5h.position.set(0, 123 * _t5e), _t5h.visible = !1, _t5c.push(_t5h), _t5a.addChild(_t5h), -1 === _t5f.state) { var _t5i = new _t4r.ExtensionDock(); _t5i.update(-1, !1, !1), _t5i.onClick = _t51._onClickExtension, _t5i.position.set(0, 123 * _t5e), _t5i.visible = !1, _t5d.push(_t5i), _t5a.addChild(_t5i); } else _t5d.push(null); } return _t51.emptyDocks = _t5b, _t51.shipInDocks = _t5c, _t51.extensionDocks = _t5d, _t51.addChild(_t5a), _t51; } return _t3o(_t4y, _t4w), _t4y.prototype.updateTime = function(_t5j, _t5k) { var _t5l = null; for (var _t5m = 0; _t5m < _t5k.length; _t5m++) { var _t5n = _t5k[_t5m], _t5o = this.shipInDocks[_t5m]; 1 == _t5n.state && _t5o.updateTime(_t5j, _t5n.completeTime); } }, _t4y.prototype.highSpeedAnimation = function(_t5p, _t5q) { var _t5r = null; this.shipInDocks[_t5p].playHispeed(_t5q); }, _t4y.prototype.hideAnimation = function(_t5s, _t5t) { var _t5u = null; for (var _t5v = Date.now(), _t5w = !1, _t5x = 0; _t5x < _t5s.length; _t5x++) { var _t5y = this.shipInDocks[_t5x]; if (0 == _t5s[_t5x].state) { var _t5z = function() {}; 0 == _t5w && (_t5z = function() { _t5t(); }, _t5w = !0), _t5y.playTimelimit(_t5v, _t5z); } } }, _t4y.prototype.updateHighSpeedButton = function(_t60, _t61) { var _t62 = null; this.shipInDocks[_t60].updateUsable(_t61); }, _t4y.prototype.updateExtensionState = function(_t63, _t64) { var _t65 = null; for (var _t66 = !1, _t67 = 0; _t67 < this.extensionDocks.length; _t67++) { var _t68 = this.extensionDocks[_t67]; if (null !== _t68) { var _t69 = _t63[_t67]; 0 == _t66 ? (_t68.update(_t69.mstID, !0, _t64), _t66 = !0) : _t68.update(_t69.mstID, !1, !1); } } }, _t4y.prototype.updateDockInfo = function(_t6a, _t6b, _t6c, _t6d) { var _t6e = null; this.shipInDocks[_t6a].updateDockInfo(_t6c, _t6d), this.emptyDocks[_t6a].update(_t6c); var _t6f = this.extensionDocks[_t6a]; null !== _t6f && _t6f.update(_t6c, !1, !1); }, _t4y.prototype.stopAnimation = function(_t6g) { var _t6h = null; this.shipInDocks[_t6g].stopAnimation(); }, _t4y.prototype.playAnimation = function(_t6i) { var _t6j = null; this.shipInDocks[_t6i].playAnimation(); }, _t4y.prototype.unLockAnimation = function(_t6k, _t6l) { var _t6m = null; this.emptyDocks[_t6k].alpha = 0, this.emptyDocks[_t6k].visible = !0, this.extensionDocks[_t6k].visible = !1, createjs.Tween.get(this.emptyDocks[_t6k]).to({ 'alpha': 1 }, 1500).call(function() { _t6l(); }).play(null); }, _t4y.prototype.updateViewState = function(_t6n, _t6o) { var _t6p = null, _t6q = this.shipInDocks[_t6n]; _t6q.updateState(_t6o), this.emptyDocks[_t6n].visible = !1, _t6q.visible = !1; var _t6r = this.extensionDocks[_t6n]; switch (null !== _t6r && (_t6r.visible = !1), _t6o) { case -1: _t6r.visible = !0; break; case 0: this.emptyDocks[_t6n].visible = !0; break; case 1: _t6q.visible = !0; } }, _t4y.prototype.updateShipInfo = function(_t6s, _t6t, _t6u, _t6v, _t6w) { var _t6x = null; this.shipInDocks[_t6s].updateShipInfo(_t6v, _t6t, _t6u, _t6w); }, _t4y.prototype.dockState = function(_t6y) { var _t6z = null; return this.shipInDocks[_t6y].state; }, _t4y.prototype.forceEnd = function(_t70) { var _t71 = null; this.updateViewState(_t70, 0), this.shipInDocks[_t70].playTimelimit(Date.now(), function() {}); }, _t4y.prototype.dispose = function() { var _t72 = null; for (var _t73 = 0; _t73 < this.emptyDocks.length; _t73++) this.emptyDocks[_t73].dispose(), this.emptyDocks[_t73] = null; for (_t73 = 0; _t73 < this.shipInDocks.length; _t73++) this.shipInDocks[_t73].dispose(), this.shipInDocks[_t73] = null; for (_t73 = 0; _t73 < this.extensionDocks.length; _t73++) null !== this.extensionDocks[_t73] && (this.extensionDocks[_t73].dispose(), this.extensionDocks[_t73] = null); this.onClickHiSpeed = null, this.onClickEmptySlot = null, this.onClickExtension = null, this.emptyDocks = null, this.shipInDocks = null, this.extensionDocks = null, this.removeChildren(); }, _t4y; }(PIXI.Container); _t3k.MainView = _t4v; }, 36805: function(_t74, _t75, _t76) { 'use strict'; var _t77 = null; var _t78, _t79 = this && this.__extends || (_t78 = function(_t7a, _t7b) { var _t7c = null; return _t78 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_t7d, _t7e) { var _t7f = null; _t7d.__proto__ = _t7e; } || function(_t7g, _t7h) { var _t7i = null; for (var _t7j in _t7h) Object.prototype.hasOwnProperty.call(_t7h, _t7j) && (_t7g[_t7j] = _t7h[_t7j]); }, _t78(_t7a, _t7b); }, function(_t7k, _t7l) { var _t7m = null; if ('function' != typeof _t7l && null !== _t7l) throw new TypeError('Class extends value ' + String(_t7l) + ' is not a constructor or null'); function _t7n() { var _t7o = null; this.constructor = _t7k; } _t78(_t7k, _t7l), _t7k.prototype = null === _t7l ? Object.create(_t7l) : (_t7n.prototype = _t7l.prototype, new _t7n()); }), _t7p = this && this.__createBinding || (Object.create ? function(_t7q, _t7r, _t7s, _t7t) { var _t7u = null; void 0 === _t7t && (_t7t = _t7s); var _t7v = Object.getOwnPropertyDescriptor(_t7r, _t7s); _t7v && !('get' in _t7v ? !_t7r.__esModule : _t7v.writable || _t7v.configurable) || (_t7v = { 'enumerable': !0, 'get': function() { return _t7r[_t7s]; } }), Object.defineProperty(_t7q, _t7t, _t7v); } : function(_t7w, _t7x, _t7y, _t7z) { void 0 === _t7z && (_t7z = _t7y), _t7w[_t7z] = _t7x[_t7y]; }), _t80 = this && this.__setModuleDefault || (Object.create ? function(_t81, _t82) { var _t83 = null; Object.defineProperty(_t81, 'default', { 'enumerable': !0, 'value': _t82 }); } : function(_t84, _t85) { var _t86 = null; _t84.default = _t85; }), _t87 = this && this.__importStar || function(_t88) { var _t89 = null; if (_t88 && _t88.__esModule) return _t88; var _t8a = {}; if (null != _t88) { for (var _t8b in _t88) 'default' !== _t8b && Object.prototype.hasOwnProperty.call(_t88, _t8b) && _t7p(_t8a, _t88, _t8b); } return _t80(_t8a, _t88), _t8a; }; defineModule(_t75); Object.defineProperty(_t75, '__esModule', { 'value': !0 }), _t75.RepairHpGaugeView = void 0; var _t8c = _t87(_t76(31000)), _t8d = function(_t8e) { var _t8f = null; function _t8g() { var _t8h = null, _t8i = _t8e.call(this) || this, _t8j = new PIXI.Sprite(_t8c.REPAIR_MAIN.getTexture(21)), _t8k = new PIXI.Sprite(_t8c.REPAIR_MAIN.getTexture(22)), _t8l = new PIXI.Sprite(_t8c.REPAIR_MAIN.getTexture(23)), _t8m = new PIXI.Graphics(); return _t8l.position.set(-22, -25), _t8l.visible = !1, _t8i.addChild(_t8k), _t8i.addChild(_t8m), _t8i.addChild(_t8j, _t8l), _t8i.redLight = _t8l, _t8i.gauge = _t8m, _t8i; } return _t79(_t8g, _t8e), _t8g.prototype.update = function(_t8n, _t8o) { var _t8p = null, _t8q = _t8n / _t8o * 100; _t8q <= 0 ? _t8q = 0 : 100 <= _t8q && (_t8q = 100), this.updateGauge(_t8q), this.updateBrokenLamp(_t8n / _t8o); }, _t8g.prototype.updateBrokenLamp = function(_t8r) { var _t8s = null; null != this.tween && (this.tween.setPaused(!0), this.tween = null); var _t8t = 0.7 * (1 - _t8r); this.redLight.visible = !0, this.redLight.alpha = 0, this.tween = createjs.Tween.get(this.redLight), this.tween.to({ 'alpha': _t8t }, 1000).to({ 'alpha': 0 }, 1000), this.tween.loop = !0, this.tween.play(null); }, _t8g.prototype.updateGauge = function(_t8u) { var _t8v = null, _t8w = 0; _t8u < 33.3 ? (_t8w = 255 << 16, _t8w += _t8u / 33.3 * 128 << 8) : _t8u < 66.6 ? (_t8w = 255 << 16, _t8w += 32768, _t8w += (_t8u - 33.3) / 33.3 * 128 << 8) : (_t8w = 255 - (_t8u - 66.6) / 33.3 * 255 << 16, _t8w += 65280), this.gauge.clear(), this.gauge.beginFill(_t8w), this.gauge.drawRect(0, 0, _t8u / 100 * 237, 10), this.gauge.endFill(); }, _t8g.prototype.dispose = function() { var _t8x = null; this.removeChild(this.gauge), this.removeChild(this.redLight), null != this.tween && (this.tween.setPaused(!0), createjs.Tween.removeTweens(this.redLight)), this.gauge = null, this.redLight = null, this.tween = null, this.removeChildren(); }, _t8g; }(PIXI.Container); _t75.RepairHpGaugeView = _t8d; }, 18168: function(_t8y, _t8z, _t90) { 'use strict'; var _t91 = null; var _t92, _t93 = this && this.__extends || (_t92 = function(_t94, _t95) { var _t96 = null; return _t92 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_t97, _t98) { var _t99 = null; _t97.__proto__ = _t98; } || function(_t9a, _t9b) { var _t9c = null; for (var _t9d in _t9b) Object.prototype.hasOwnProperty.call(_t9b, _t9d) && (_t9a[_t9d] = _t9b[_t9d]); }, _t92(_t94, _t95); }, function(_t9e, _t9f) { var _t9g = null; if ('function' != typeof _t9f && null !== _t9f) throw new TypeError('Class extends value ' + String(_t9f) + ' is not a constructor or null'); function _t9h() { var _t9i = null; this.constructor = _t9e; } _t92(_t9e, _t9f), _t9e.prototype = null === _t9f ? Object.create(_t9f) : (_t9h.prototype = _t9f.prototype, new _t9h()); }), _t9j = this && this.__importDefault || function(_t9k) { var _t9l = null; return _t9k && _t9k.__esModule ? _t9k : { 'default': _t9k }; }; defineModule(_t8z); Object.defineProperty(_t8z, '__esModule', { 'value': !0 }), _t8z.RepairShipBanner = void 0; var _t9m = _t9j(_t90(18622)), _t9n = _t90(32717), _t9o = _t90(11997), _t9p = _t90(11575), _t9q = function(_t9r) { var _t9s = null; function _t9t() { var _t9u = null, _t9v = _t9r.call(this) || this, _t9w = new PIXI.Sprite(), _t9x = new PIXI.Sprite(_t9o.COMMON_MISC.getTexture(115)), _t9y = new _t9n.RingSmall(); return _t9v._ribbon = new _t9p.BannerRibbon(), _t9y.position.set(207, 28), _t9y.initialize(), _t9y.activate(), _t9x.anchor.x = 1, _t9x.x = _t9x.width, _t9v.addChild(_t9w, _t9x), _t9v.addChild(_t9v._ribbon), _t9v.addChild(_t9y), _t9v.shipBanner = _t9w, _t9v.ring = _t9y, _t9v; } return _t93(_t9t, _t9r), _t9t.prototype.update = function(_t9z, _ta0, _ta1, _ta2) { var _ta3 = null; this.shipBanner.texture = _t9m.default.resources.getShip(_t9z, _ta0, 'banner'), this.ring.visible = !1, _ta1 && (this.ring.visible = !0), this._ribbon.update(_ta2); }, _t9t.prototype.dispose = function() { var _ta4 = null; this.removeChild(this.shipBanner), this.shipBanner.texture = PIXI.Texture.EMPTY, this.ring.deactivate(), this.ring.dispose(), this._ribbon.dispose(), this.ring = null, this.shipBanner = null, this.removeChildren(); }, _t9t; }(PIXI.Container); _t8z.RepairShipBanner = _t9q; }, 49109: function(_ta5, _ta6, _ta7) { 'use strict'; var _ta8 = null; var _ta9, _taa = this && this.__extends || (_ta9 = function(_tab, _tac) { var _tad = null; return _ta9 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_tae, _taf) { var _tag = null; _tae.__proto__ = _taf; } || function(_tah, _tai) { var _taj = null; for (var _tak in _tai) Object.prototype.hasOwnProperty.call(_tai, _tak) && (_tah[_tak] = _tai[_tak]); }, _ta9(_tab, _tac); }, function(_tal, _tam) { var _tan = null; if ('function' != typeof _tam && null !== _tam) throw new TypeError('Class extends value ' + String(_tam) + ' is not a constructor or null'); function _tao() { var _tap = null; this.constructor = _tal; } _ta9(_tal, _tam), _tal.prototype = null === _tam ? Object.create(_tam) : (_tao.prototype = _tam.prototype, new _tao()); }), _taq = this && this.__createBinding || (Object.create ? function(_tar, _tas, _tat, _tau) { var _tav = null; void 0 === _tau && (_tau = _tat); var _taw = Object.getOwnPropertyDescriptor(_tas, _tat); _taw && !('get' in _taw ? !_tas.__esModule : _taw.writable || _taw.configurable) || (_taw = { 'enumerable': !0, 'get': function() { return _tas[_tat]; } }), Object.defineProperty(_tar, _tau, _taw); } : function(_tax, _tay, _taz, _tb0) { void 0 === _tb0 && (_tb0 = _taz), _tax[_tb0] = _tay[_taz]; }), _tb1 = this && this.__setModuleDefault || (Object.create ? function(_tb2, _tb3) { var _tb4 = null; Object.defineProperty(_tb2, 'default', { 'enumerable': !0, 'value': _tb3 }); } : function(_tb5, _tb6) { var _tb7 = null; _tb5.default = _tb6; }), _tb8 = this && this.__importStar || function(_tb9) { var _tba = null; if (_tb9 && _tb9.__esModule) return _tb9; var _tbb = {}; if (null != _tb9) { for (var _tbc in _tb9) 'default' !== _tbc && Object.prototype.hasOwnProperty.call(_tb9, _tbc) && _taq(_tbb, _tb9, _tbc); } return _tb1(_tbb, _tb9), _tbb; }, _tbd = this && this.__importDefault || function(_tbe) { var _tbf = null; return _tbe && _tbe.__esModule ? _tbe : { 'default': _tbe }; }; defineModule(_ta6); Object.defineProperty(_ta6, '__esModule', { 'value': !0 }), _ta6.RepairShipChoiceView = void 0; var _tbg = _tbd(_ta7(18622)), _tbh = _tb8(_ta7(31000)), _tbi = _ta7(11997), _tbj = _ta7(8744), _tbk = _ta7(36805), _tbl = _ta7(15869), _tbm = _ta7(14921), _tbn = _ta7(35380), _tbo = function(_tbp) { var _tbq = null; function _tbr() { var _tbs = null, _tbt = _tbp.call(this) || this; _tbt._onClickListItem = function(_tbu) { var _tbv = null; _tbt.onClickListItem(_tbu); }; var _tbw = new PIXI.Sprite(_tbh.COMMON_MAIN.getTexture(67)); _tbw.position.set(0, -39); var _tbx = new PIXI.Sprite(_tbh.COMMON_MAIN.getTexture(1)); _tbx.anchor.y = 0.5, _tbx.position.set(22, 20), _tbw.addChild(_tbx), _tbt.addChild(_tbw); for (var _tby = new PIXI.Sprite(_tbh.COMMON_MAIN.getTexture(13)), _tbz = new PIXI.Sprite(_tbh.REPAIR_MAIN.getTexture(37)), _tc0 = new Array(), _tc1 = new PIXI.Container(), _tc2 = 0; _tc2 < 10; _tc2++) { var _tc3 = 45 + 46 * _tc2, _tc4 = new _tc5(); _tc4.onClick = _tbt._onClickListItem, _tc0.push(_tc4); var _tc6 = new PIXI.Graphics(); _tc6.beginFill(5523516, 0.5), _tc6.drawRect(0, 0, 630, 0.5), _tc6.endFill(), _tc4.position.set(0, _tc3), _tc6.position.set(60, _tc3 + 45), _tc1.addChild(_tc4), _tc1.addChild(_tc6); } return _tbz.position.set(58, 12), _tby.interactive = !0, _tbt.addChild(_tby, _tc1, _tbz), _tbt.listItems = _tc0, _tbt; } return _taa(_tbr, _tbp), _tbr.prototype.update = function(_tc7, _tc8) { var _tc9 = null; for (var _tca = 0; _tca < this.listItems.length; _tca++) { var _tcb = this.listItems[_tca]; if (_tcb.visible = !1, _tca < _tc7.length) { var _tcc = _tc7[_tca], _tcd = _tbg.default.model.deck.isInDeck(_tcc.memID), _tce = !1; if (_tcd) { var _tcf = _tcd[0]; _tce = null != _tbg.default.model.deck.get(_tcf).expedition; } var _tcg = -1 < _tc8.indexOf(_tcc.memID); _tcb.update(_tcc, _tcg, _tcd, _tce), _tcb.visible = !0; } } }, _tbr.prototype.dispose = function() { var _tch = null; for (var _tci = 0; _tci < this.listItems.length; _tci++) this.listItems[_tci].dispose(), this.listItems[_tci] = null; this.onClickListItem = null, this.listItems = null; }, _tbr; }(PIXI.Container); _ta6.RepairShipChoiceView = _tbo; var _tc5 = function(_tcj) { var _tck = null; function _tcl() { var _tcm = null, _tcn = _tcj.call(this) || this; _tcn._onMouseOver = function() { var _tco = null; _tcn.bgFocus.alpha = 1, _tcn.textType.style.fill = _tcn.textName.style.fill = _tcn.textLevel.style.fill = _tcn.textHp.style.fill = 16777215; }, _tcn._onMouseOut = function() { var _tcp = null; _tcn.bgFocus.alpha = 0, _tcn.textLevel.style.fill = _tcn.mouseoutColor, _tcn.textType.style.fill = _tcn.textName.style.fill = _tcn.textHp.style.fill = 5523516; }, _tcn._onClick = function() { var _tcq = null; _tcn.onClick(_tcn.memId); }; var _tcr = Math.floor(22.5) + 1, _tcs = new PIXI.Sprite(), _tct = new PIXI.Sprite(_tbh.COMMON_MAIN.getTexture(18)), _tcu = new PIXI.Sprite(), _tcv = new PIXI.Sprite(), _tcw = new _tbj.TextBox(18, 5523516), _tcx = new _tbj.TextBox(20, 5523516), _tcy = new _tbj.TextBox(20, 5523516), _tcz = new _tbj.TextBox(13, 5523516), _td0 = new PIXI.Container(), _td1 = new _tbk.RepairHpGaugeView(), _td2 = new PIXI.Rectangle(0, 0, 697, 45), _td3 = _tbm.CreateRect.gradientLeftToRight(260, 45, 0.88, 0.95); return _tcu.anchor.set(0, 0.5), _tcu.position.set(31, _tcr), _tcu.scale.set(0.8, 0.8), _tcw.anchor.set(0, 0), _tcw.position.set(0, Math.floor(_tcr - _tcw.height / 2)), _tcy.anchor.set(1, 0), _tcy.position.set(355, Math.floor(_tcr - _tcy.height / 2) + 0), _td0.position.set(64, 0), _td1.position.set(367, 17), _tcv.anchor.set(0, 0.5), _tcv.position.set(547, _tcr), _tcz.anchor.set(0, 0), _tcz.position.set(610, Math.floor(_tcr - _tcz.height / 2)), _tct.scale.x = 1.3, _tct.position.set(60, 0), _tcx.anchor.set(0, 0), _tcx.position.y = Math.floor(_tcr - _tcx.height / 2 + 0), _tct.alpha = 0, _tcu.visible = !1, _td0.mask = _td3, _tcn.addListener(_tbn.EventType.MOUSEOVER, _tcn._onMouseOver), _tcn.addListener(_tbn.EventType.MOUSEOUT, _tcn._onMouseOut), _tcn.addListener(_tbn.EventType.CLICK, _tcn._onClick), _tcn.interactive = _tcn.buttonMode = !0, _td0.addChild(_tcw, _tcx, _td3), _tcn.addChild(_tcs, _tct, _tcu, _td0, _tcy, _td1, _tcz, _tcv), _tcn.textType = _tcw, _tcn.textLevel = _tcy, _tcn.textName = _tcx, _tcn.textHp = _tcz, _tcn.hpGaugeView = _td1, _tcn.iconCondition = _tcv, _tcn.bgFocus = _tct, _tcn.hitArea = _td2, _tcn.bgCondition = _tcs, _tcn.iconDeck = _tcu, _tcn.typeAndNameContainer = _td0, _tcn; } return _taa(_tcl, _tcj), _tcl.prototype.update = function(_td4, _td5, _td6, _td7) { var _td8 = null, _td9 = _td4.getDamageType(); if (this.iconDeck.visible = !1, this.textLevel.style.fill = this.mouseoutColor = _tbl.ColorUtil.getLevelColor(_td4.level), _td6) { switch (_td6[0]) { case 1: 0 == _td6[1] ? this.iconDeck.texture = _tbi.COMMON_MISC.getTexture(76) : this.iconDeck.texture = _tbi.COMMON_MISC.getTexture(79); break; case 2: this.iconDeck.texture = _tbi.COMMON_MISC.getTexture(82); break; case 3: this.iconDeck.texture = _tbi.COMMON_MISC.getTexture(85); break; case 4: this.iconDeck.texture = _tbi.COMMON_MISC.getTexture(88); } this.iconDeck.visible = !0; } switch (this.bgCondition.visible = !1, this.iconCondition.visible = !1, _td9) { case 75: this.bgCondition.texture = _tbh.REPAIR_MAIN.getTexture(30), this.iconCondition.texture = _tbh.REPAIR_MAIN.getTexture(34), this.bgCondition.visible = !0, this.iconCondition.visible = !0; break; case 50: this.bgCondition.texture = _tbh.REPAIR_MAIN.getTexture(29), this.iconCondition.texture = _tbh.REPAIR_MAIN.getTexture(32), this.bgCondition.visible = !0, this.iconCondition.visible = !0; break; case 25: this.bgCondition.texture = _tbh.REPAIR_MAIN.getTexture(31), this.iconCondition.texture = _tbh.REPAIR_MAIN.getTexture(36), this.bgCondition.visible = !0, this.iconCondition.visible = !0; } _td5 ? (this.iconCondition.texture = _tbh.REPAIR_MAIN.getTexture(35), this.iconCondition.visible = !0) : _td7 && (this.iconCondition.texture = _tbh.REPAIR_MAIN.getTexture(33), this.iconCondition.visible = !0), this.memId = _td4.memID, this.textType.text = _td4.shipTypeName + '\x20', this.textLevel.text = _td4.level.toString(), this.textName.text = _td4.name, this.textHp.text = _td4.hpNow + '/' + _td4.hpMax, this.textName.position.x = this.textType.x + this.textType.width, this.hpGaugeView.update(_td4.hpNow, _td4.hpMax); }, _tcl.prototype.dispose = function() { var _tda = null; this.removeChildren(), this.textType.destroy(), this.textLevel.destroy(), this.textName.destroy(), this.textHp.destroy(), this.hpGaugeView.dispose(), this.iconCondition.texture = PIXI.Texture.EMPTY, this.bgFocus.texture = PIXI.Texture.EMPTY, this.bgCondition.texture = PIXI.Texture.EMPTY, this.iconDeck.texture = PIXI.Texture.EMPTY, this.onClick = null, this.textType = null, this.textName = null, this.textLevel = null, this.textHp = null, this.hpGaugeView = null, this.iconCondition = null, this.bgFocus = null, this.bgCondition = null, this.iconDeck = null, this.memId = null, this._onMouseOver = this._onMouseOut = this._onClick = null; }, _tcl; }(PIXI.Container); }, 5346: function(_tdb, _tdc, _tdd) { 'use strict'; var _tde = null; var _tdf, _tdg = this && this.__extends || (_tdf = function(_tdh, _tdi) { var _tdj = null; return _tdf = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_tdk, _tdl) { var _tdm = null; _tdk.__proto__ = _tdl; } || function(_tdn, _tdo) { var _tdp = null; for (var _tdq in _tdo) Object.prototype.hasOwnProperty.call(_tdo, _tdq) && (_tdn[_tdq] = _tdo[_tdq]); }, _tdf(_tdh, _tdi); }, function(_tdr, _tds) { var _tdt = null; if ('function' != typeof _tds && null !== _tds) throw new TypeError('Class extends value ' + String(_tds) + ' is not a constructor or null'); function _tdu() { var _tdv = null; this.constructor = _tdr; } _tdf(_tdr, _tds), _tdr.prototype = null === _tds ? Object.create(_tds) : (_tdu.prototype = _tds.prototype, new _tdu()); }), _tdw = this && this.__createBinding || (Object.create ? function(_tdx, _tdy, _tdz, _te0) { var _te1 = null; void 0 === _te0 && (_te0 = _tdz); var _te2 = Object.getOwnPropertyDescriptor(_tdy, _tdz); _te2 && !('get' in _te2 ? !_tdy.__esModule : _te2.writable || _te2.configurable) || (_te2 = { 'enumerable': !0, 'get': function() { return _tdy[_tdz]; } }), Object.defineProperty(_tdx, _te0, _te2); } : function(_te3, _te4, _te5, _te6) { void 0 === _te6 && (_te6 = _te5), _te3[_te6] = _te4[_te5]; }), _te7 = this && this.__setModuleDefault || (Object.create ? function(_te8, _te9) { var _tea = null; Object.defineProperty(_te8, 'default', { 'enumerable': !0, 'value': _te9 }); } : function(_teb, _tec) { var _ted = null; _teb.default = _tec; }), _tee = this && this.__importStar || function(_tef) { var _teg = null; if (_tef && _tef.__esModule) return _tef; var _teh = {}; if (null != _tef) { for (var _tei in _tef) 'default' !== _tei && Object.prototype.hasOwnProperty.call(_tef, _tei) && _tdw(_teh, _tef, _tei); } return _te7(_teh, _tef), _teh; }; defineModule(_tdc); Object.defineProperty(_tdc, '__esModule', { 'value': !0 }), _tdc.RepairShipConfigView = void 0; var _tej = _tee(_tdd(31000)), _tek = _tdd(31000), _tel = _tdd(36805), _tem = _tdd(8744), _ten = _tdd(37638), _teo = _tdd(57616), _tep = _tdd(65065), _teq = _tdd(35380), _ter = _tdd(14921), _tes = function(_tet) { var _teu = null; function _tev() { var _tew = null, _tex = _tet.call(this) || this; _tex._state = !1, _tex._onClick = function() { var _tey = null; _tex._state = _tex.hiSpeedToggle.state, _tex.onClick(); }; var _tez = new PIXI.Sprite(_tek.COMMON_MAIN.getTexture(13)), _tf0 = new PIXI.Sprite(_tej.REPAIR_MAIN.getTexture(12)), _tf1 = new PIXI.Sprite(_tej.REPAIR_MAIN.getTexture(46)), _tf2 = new PIXI.Sprite(_tej.REPAIR_MAIN.getTexture(45)), _tf3 = new PIXI.Sprite(_tej.REPAIR_MAIN.getTexture(43)), _tf4 = new PIXI.Sprite(_tej.REPAIR_MAIN.getTexture(44)), _tf5 = new PIXI.Sprite(_tej.REPAIR_MAIN.getTexture(42)), _tf6 = new _tf7(), _tf8 = new _tf9(), _tfa = new _tel.RepairHpGaugeView(), _tfb = new _ten.ShipBanner(), _tfc = new _tem.TextBox(26, 5523516), _tfd = new _tem.TextBox(19, 5523516), _tfe = new _tem.TextBox(24, 5523516), _tff = new _tem.TextBox(24, 5523516), _tfg = new _tem.TextBox(15, 12467003), _tfh = new _tem.TextBox(24, 5523516), _tfi = new _tep.DownArrowAnimationView(), _tfj = new _tep.DisableDownArrowAnimationView(), _tfk = new PIXI.Container(), _tfl = new PIXI.Sprite(_tej.COMMON_MAIN.getTexture(67)); _tfl.position.set(0, -34); var _tfm = new PIXI.Sprite(_tej.COMMON_MAIN.getTexture(2)); _tfm.anchor.y = 0.5, _tfm.position.set(22, 20), _tfl.addChild(_tfm), _tfk.addChild(_tfl), _tf8.onClick = _tex._onClick, _tf0.position.set(31, 31), _tf1.position.set(15, 226), _tf2.position.set(15, 280), _tf3.position.set(15, 336), _tf4.position.set(15, 390), _tf6.position.set(178, 275), _tfc.position.set(304, 42), _tf5.position.set(229, 49), _tfd.position.set(301, 151), _tfe.position.set(318, 333), _tff.position.set(318, 389), _tfg.position.set(40, 447), _tf8.position.set(40, 477), _tfa.position.set(61, 177), _tfh.position.set(318, 225), _tfb.position.set(60, 85), _tfi.position.set(156, 441), _tfj.position.set(156, 441), _tfd.anchor.x = 1, _tfc.anchor.x = 1; var _tfn = new PIXI.Container(), _tfo = new _tem.TextBox(30, 5523516); _tfn.position.set(57, 37); var _tfp = _ter.CreateRect.gradientLeftToRight(170, 42, 0.5, 0.98); return _tfn.mask = _tfp, _tfn.addChild(_tfo, _tfp), _tfe.anchor.x = 1, _tff.anchor.x = 1, _tfh.anchor.x = 1, _tez.interactive = !0, _tex.addChild(_tez, _tf0, _tf1, _tf2, _tf3, _tf4, _tfg, _tf8, _tf5, _tfn, _tfc, _tfd, _tfa, _tf6, _tfe, _tff, _tfh, _tfk, _tfb, _tfj, _tfi), _tex.textName = _tfo, _tex.textLevel = _tfc, _tex.textHp = _tfd, _tex.textSteel = _tfe, _tex.textFuel = _tff, _tex.textAlert = _tfg, _tex.hiSpeedToggle = _tf6, _tex.startButton = _tf8, _tex.textRequire = _tfh, _tex.shipBanner = _tfb, _tex.downArrowAnimationView = _tfi, _tex.disableDownArrowAnimationView = _tfj, _tex.hpGaugeView = _tfa, _tex.headerContainer = _tfk, _tex.containerName = _tfn, _tex; } return _tdg(_tev, _tet), Object.defineProperty(_tev.prototype, 'state', { 'get': function() { var _tfq = null; return this._state; }, 'enumerable': !1, 'configurable': !0 }), _tev.prototype.update = function(_tfr, _tfs, _tft, _tfu, _tfv, _tfw) { var _tfx = null; this.textName.text = _tfr.name, this.textLevel.text = _tfr.level.toString(), this.textHp.text = _tfr.hpNow + '/' + _tfr.hpMax, this.textSteel.text = _tfr.getRepairSteel().toString(), this.textFuel.text = _tfr.getRepairFuel().toString(), this.textRequire.text = _teo.MathUtil.timeToString(_tfr.getRepairTime()), this.shipBanner.update(_tfr, _tfu), this.hpGaugeView.update(_tfr.hpNow, _tfr.hpMax), this.textAlert.visible = !1; var _tfy = _tfw; this.hiSpeedToggle.update(_tfy); var _tfz = _tfr.hpNow < _tfr.hpMax; this.disableDownArrowAnimationView.visible = !1, this.downArrowAnimationView.visible = !1; var _tg0 = _tft && _tfs && 0 == _tfu && _tfz && 0 == _tfv; _tg0 ? this.downArrowAnimationView.visible = !0 : 0 == (_tft && _tfs) ? (this.textAlert.text = '修復に必要な資材が足りません!', this.textAlert.visible = !0) : this.disableDownArrowAnimationView.visible = !0, this.startButton.update(_tg0); }, _tev.prototype.dispose = function() { var _tg1 = null; this.removeChildren(), this.containerName.mask = null, this.containerName.removeChildren(), this.hiSpeedToggle.dispose(), this.startButton.dispose(), this.shipBanner.dispose(), this.downArrowAnimationView.dispose(), this.hpGaugeView.dispose(), this.textName.destroy(), this.textLevel.destroy(), this.textHp.destroy(), this.textSteel.destroy(), this.textFuel.destroy(), this.textAlert.destroy(), this.textRequire.destroy(), this.onClick = null, this.textName = null, this.textLevel = null, this.textHp = null, this.textRequire = null, this.textSteel = null, this.textFuel = null, this.textAlert = null, this.hiSpeedToggle = null, this.startButton = null, this.shipBanner = null, this.downArrowAnimationView = null, this.hpGaugeView = null, this.containerName = null; }, _tev; }(PIXI.Container); _tdc.RepairShipConfigView = _tes; var _tf7 = function(_tg2) { var _tg3 = null; function _tg4() { var _tg5 = null, _tg6 = _tg2.call(this) || this; _tg6._state = !1, _tg6.animationParams = { 'progress': 0 }, _tg6._onClick = function() { var _tg7 = null; null != _tg6.tween && _tg6.tween.setPaused(!0), _tg6.tween = null; var _tg8 = 0; switch (_tg6._state) { case !1: _tg6._state = !0, _tg8 = 0; break; case !0: _tg6._state = !1, _tg8 = 1; } var _tg9 = createjs.Tween.get(_tg6.animationParams); _tg9.to({ 'progress': _tg8 }, 300).on('change', function() { var _tga = null; 0.5 < _tg6.animationParams.progress ? _tg6.background_on.visible = !1 : _tg6.background_on.visible = !0, _tg6.toggle.x = 3 + 103 * _tg6.animationParams.progress; }), _tg9.play(null), _tg6.tween = _tg9; }; var _tgb = new PIXI.Sprite(_tej.REPAIR_MAIN.getTexture(39)), _tgc = new PIXI.Sprite(_tej.REPAIR_MAIN.getTexture(40)), _tgd = new PIXI.Sprite(_tej.REPAIR_MAIN.getTexture(41)); return _tgc.addListener(_teq.EventType.CLICK, _tg6._onClick), _tgb.position.set(106, 0), _tg6.addChild(_tgc, _tgd, _tgb), _tg6.background_off = _tgc, _tg6.background_on = _tgd, _tg6.toggle = _tgb, _tg6.update(!0), _tg6; } return _tdg(_tg4, _tg2), Object.defineProperty(_tg4.prototype, 'state', { 'get': function() { var _tge = null; return this._state; }, 'enumerable': !1, 'configurable': !0 }), _tg4.prototype.update = function(_tgf) { var _tgg = null; null != this.tween && this.tween.setPaused(!0), this.tween = null, this._state = !1, this.toggle.position.set(106, 0), this.background_off.interactive = this.background_off.buttonMode = !!_tgf, this.background_on.visible = !1, this.animationParams.progress = 1; }, _tg4.prototype.dispose = function() { var _tgh = null; null != this.tween && this.tween.setPaused(!0), this.removeChild(this.background_off), this.removeChild(this.background_on), this.removeChild(this.toggle), this.background_off = null, this.background_on = null, this.toggle = null, this.tween = null; }, _tg4; }(PIXI.Container), _tf9 = function(_tgi) { var _tgj = null; function _tgk() { var _tgl = null, _tgm = _tgi.call(this) || this; return _tgm._onMouseOver = function() { var _tgn = null; _tgm.texture = _tej.REPAIR_MAIN.getTexture(8); }, _tgm._onMouseOut = function() { var _tgo = null; _tgm.texture = _tej.REPAIR_MAIN.getTexture(7); }, _tgm._onClick = function() { var _tgp = null; _tgm.onClick(); }, _tgm.addListener(_teq.EventType.MOUSEOVER, _tgm._onMouseOver), _tgm.addListener(_teq.EventType.MOUSEOUT, _tgm._onMouseOut), _tgm.addListener(_teq.EventType.CLICK, _tgm._onClick), _tgm.texture = _tej.REPAIR_MAIN.getTexture(6), _tgm; } return _tdg(_tgk, _tgi), _tgk.prototype.update = function(_tgq) { var _tgr = null; this.interactive = this.buttonMode = !1, _tgq ? (this.interactive = this.buttonMode = !0, this.texture = _tej.REPAIR_MAIN.getTexture(7)) : this.texture = _tej.REPAIR_MAIN.getTexture(6); }, _tgk.prototype.dispose = function() { var _tgs = null; this.onClick = null, this.removeListener(_teq.EventType.MOUSEOVER, this._onMouseOver), this.removeListener(_teq.EventType.MOUSEOUT, this._onMouseOut), this.removeListener(_teq.EventType.CLICK, this._onClick); }, _tgk; }(PIXI.Sprite); }, 20789: function(_tgt, _tgu, _tgv) { 'use strict'; var _tgw = null; var _tgx, _tgy = this && this.__extends || (_tgx = function(_tgz, _th0) { var _th1 = null; return _tgx = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_th2, _th3) { var _th4 = null; _th2.__proto__ = _th3; } || function(_th5, _th6) { var _th7 = null; for (var _th8 in _th6) Object.prototype.hasOwnProperty.call(_th6, _th8) && (_th5[_th8] = _th6[_th8]); }, _tgx(_tgz, _th0); }, function(_th9, _tha) { var _thb = null; if ('function' != typeof _tha && null !== _tha) throw new TypeError('Class extends value ' + String(_tha) + ' is not a constructor or null'); function _thc() { var _thd = null; this.constructor = _th9; } _tgx(_th9, _tha), _th9.prototype = null === _tha ? Object.create(_tha) : (_thc.prototype = _tha.prototype, new _thc()); }), _the = this && this.__createBinding || (Object.create ? function(_thf, _thg, _thh, _thi) { var _thj = null; void 0 === _thi && (_thi = _thh); var _thk = Object.getOwnPropertyDescriptor(_thg, _thh); _thk && !('get' in _thk ? !_thg.__esModule : _thk.writable || _thk.configurable) || (_thk = { 'enumerable': !0, 'get': function() { return _thg[_thh]; } }), Object.defineProperty(_thf, _thi, _thk); } : function(_thl, _thm, _thn, _tho) { void 0 === _tho && (_tho = _thn), _thl[_tho] = _thm[_thn]; }), _thp = this && this.__setModuleDefault || (Object.create ? function(_thq, _thr) { var _ths = null; Object.defineProperty(_thq, 'default', { 'enumerable': !0, 'value': _thr }); } : function(_tht, _thu) { var _thv = null; _tht.default = _thu; }), _thw = this && this.__importStar || function(_thx) { var _thy = null; if (_thx && _thx.__esModule) return _thx; var _thz = {}; if (null != _thx) { for (var _ti0 in _thx) 'default' !== _ti0 && Object.prototype.hasOwnProperty.call(_thx, _ti0) && _the(_thz, _thx, _ti0); } return _thp(_thz, _thx), _thz; }; defineModule(_tgu); Object.defineProperty(_tgu, '__esModule', { 'value': !0 }), _tgu.ShipInDock = void 0; var _ti1 = _tgv(69859), _ti2 = _tgv(18168), _ti3 = _tgv(79522), _ti4 = _tgv(8744), _ti5 = _tgv(36805), _ti6 = _thw(_tgv(31000)), _ti7 = _tgv(57616), _ti8 = _tgv(14921), _ti9 = _tgv(13412), _tia = _tgv(35380), _tib = function(_tic) { var _tid = null; function _tie() { var _tif = null, _tig = _tic.call(this) || this; _tig.hpAnimationParams = { 'nowHp': 0, 'maxHp': 0, 'progress': 0 }, _tig.completeTime = 0, _tig._craneAnimation = null, _tig.ANIMATION_HIGHSPEED = {}, _tig._onClickUseItem = function() { var _tih = null; _tig.onClickHiSpeed(_tig.memDockId); }, _tig._onUseRepairItemAnimation = function() { var _tii = null; null != _tig.useRepairItemTween && _tig.useRepairItemTween.setPaused(!0); var _tij = { 'progress': 0 }, _tik = createjs.Tween.get(_tij).to({ 'progress': 0 }, 0).to({ 'progress': 1 }, 1500), _til = _tig.completeTime - Date.now(); _tik.addEventListener('change', function() { var _tim = null, _tin = _tig.hpAnimationParams.nowHp + _tij.progress * (_tig.hpAnimationParams.maxHp - _tig.hpAnimationParams.nowHp), _tio = Math.floor(_til * _tij.progress), _tip = Math.floor(_til - _tio); _ti7.MathUtil.timeToString(_tip), (_tig.repairHpGaugeView.update(_tin, _tig.hpAnimationParams.maxHp), _tig.textHp.text = (Math.floor(_tin) + '/' + _tig.hpAnimationParams.maxHp).toString()); }), _tig.useRepairItemTween = _tik; }; var _tiq = new PIXI.Sprite(_ti6.REPAIR_MAIN.getTexture(10)), _tir = new PIXI.Sprite(_ti6.REPAIR_MAIN.getTexture(42)); _tir.anchor.set(1, 1), _tir.position.set(95, 25); var _tis = new _ti4.TextBox(22, 16777215); _tis.style.lineHeight = 1, _tis.anchor.set(1, 1), _tis.position.set(145, 30); var _tit = new _ti3.StarRateView(); _tit.position.set(150, 10); var _tiu = new _ti4.TextBox(27, 16774898); _tiu.anchor.set(0, 1); var _tiv = _ti8.CreateRect.gradientLeftToRight(185, 40, 0.7, 0.9); _tiv.anchor.set(0, 1); var _tiw = new PIXI.Container(); _tiw.position.set(0, 64), _tiw.mask = _tiv, _tiw.addChild(_tiu, _tiv); var _tix = new _ti4.TextBox(18, 16777215); _tix.anchor.set(1, 1), _tix.position.set(234, 64); var _tiy = new _ti5.RepairHpGaugeView(); _tiy.position.set(0, 66); var _tiz = new PIXI.Container(); _tiz.name = 'info', _tiz.position.set(436, 20), _tiz.addChild(_tir, _tis, _tit, _tiw, _tix, _tiy); var _tj0 = new _ti4.TextBox(28, 5523516); _tj0.position.set(735, 55); var _tj1 = new _ti1.UseItemButton(); _tj1.onClick = _tig._onClickUseItem, _tj1.position.set(876, 4), _tig._craneContainer = new PIXI.Container(); var _tj2 = new _ti2.RepairShipBanner(); return _tj2.position.set(66, 36), _tig.addChild(_tiq, _tiz, _tj0, _tj1, _tig._craneContainer, _tj2), _tig.useItemButton = _tj1, _tig.repairShipBanner = _tj2, _tig.textHp = _tix, _tig.textLevel = _tis, _tig.textName = _tiu, _tig.textTime = _tj0, _tig.starRateView = _tit, _tig.repairHpGaugeView = _tiy, _tig.containerName = _tiw, _tig.informationContainer = _tiz, _tig; } return _tgy(_tie, _tic), Object.defineProperty(_tie.prototype, 'state', { 'get': function() { var _tj3 = null; return this._state; }, 'enumerable': !1, 'configurable': !0 }), _tie.prototype.updateDockInfo = function(_tj4, _tj5) { var _tj6 = null; this.memDockId = _tj4, this.completeTime = _tj5, this.textTime.text = _ti7.MathUtil.timeToString(_tj5 - Date.now()); }, _tie.prototype.updateShipInfo = function(_tj7, _tj8, _tj9, _tja) { var _tjb = null; this.name = _tja.name; var _tjc = _tj8 + '/' + _tj9, _tjd = _tja.level.toString(), _tje = _tja.name, _tjf = _tja.mstID, _tjg = _tja.isMarriage(), _tjh = _tja.ribbon, _tji = _tja.starNum; this.textName.style.fill = 16774898, _tjg && (this.textName.style.fill = 16766947), this.repairShipBanner.update(_tjf, _tj7, _tjg, _tjh), this.textHp.text = _tjc, this.textLevel.text = _tjd, this.textName.text = _tje, this.starRateView.update(_tji), this.repairHpGaugeView.update(_tj8, _tj9), this.hpAnimationParams.nowHp = _tj8, this.hpAnimationParams.maxHp = _tj9; }, _tie.prototype.updateState = function(_tjj) { var _tjk = null; this._state = _tjj; }, _tie.prototype.stopAnimation = function() { var _tjl = null; null != this.craneCarTween && this.craneCarTween.setPaused(!0), this.craneCarTween = null, null !== this._craneAnimation && (this._craneAnimation.off('high_speed_timer_stop'), this._craneAnimation.off('high_speed_complete'), this._craneAnimation.end()); }, _tie.prototype.playAnimation = function() { var _tjm = null; null == this.craneCarTween && (this._craneContainer.removeChildren(), this._craneAnimation = new _ti9.CraneAnimation(), this._craneContainer.addChild(this._craneAnimation), this._craneAnimation.play()); }, _tie.prototype.playTimelimit = function(_tjn, _tjo) { var _tjp = null, _tjq = this; null != this.craneCarTween && (this.craneCarTween.setPaused(!0), this.craneCarTween = null); var _tjr = { 'progress': 0 }, _tjs = createjs.Tween.get(_tjr); _tjs.to({ 'progress': 1 }, 1000), _tjs.call(function() { var _tjt = null; _tjs.removeAllEventListeners('change'), null !== _tjq._craneAnimation && (_tjq._craneAnimation.dispose(), _tjq._craneAnimation = null, _tjq._craneContainer.removeChildren()), _tjo(); }), _tjs.addEventListener('change', function() { var _tju = null, _tjv = _tjq.hpAnimationParams.nowHp + _tjr.progress * (_tjq.hpAnimationParams.maxHp - _tjq.hpAnimationParams.nowHp); _tjq.repairHpGaugeView.update(_tjv, _tjq.hpAnimationParams.maxHp), _tjq.textHp.text = (Math.floor(_tjv) + '/' + _tjq.hpAnimationParams.maxHp).toString(), null !== _tjq._craneAnimation && _tjq._craneAnimation.timeLimit(); }), _tjs.play(null), this.craneCarTween = _tjs; }, _tie.prototype.playHispeed = function(_tjw) { var _tjx = null, _tjy = this; this.useItemButton.visible = !0, this.useItemButton.interactive = !1, this.useItemButton.emit(_tia.EventType.MOUSEOVER), null != this.craneCarTween && (this.craneCarTween.setPaused(!0), this.craneCarTween = null); var _tjz = createjs.Tween.get(this.ANIMATION_HIGHSPEED, { 'loop': !0 }); null === this._craneAnimation && (this._craneAnimation = new _ti9.CraneAnimation(), this._craneContainer.addChild(this._craneAnimation)), this._craneAnimation.once('high_speed_timer_stop', function() { var _tk0 = null; _tjz.setPaused(!0), _tjy._onUseRepairItemAnimation(); }).once('high_speed_complete', function() { var _tk1 = null; _tjy._craneAnimation.dispose(), _tjy._craneAnimation = null, _tjy._craneContainer.removeChildren(), _tjy.useItemButton.interactive = !0, _tjy.useItemButton.emit(_tia.EventType.MOUSEOUT), _tjw(); }), this._craneAnimation.highSpeed(), _tjz.wait(500).call(function() { var _tk2 = null; _tjy.updateTime(Date.now(), _tjy.completeTime); }), _tjz.play(null); }, _tie.prototype.updateTime = function(_tk3, _tk4) { var _tk5 = null; this._updateTime(_tk3, _tk4); }, _tie.prototype._updateTime = function(_tk6, _tk7) { var _tk8 = null, _tk9 = '00:00:00'; 0 < _tk7 - _tk6 && (_tk9 = _ti7.MathUtil.timeToString(_tk7 - _tk6)), this.textTime.text = _tk9; }, _tie.prototype.updateUsable = function(_tka) { var _tkb = null; _tka ? this.useItemButton.active() : this.useItemButton.disable(); }, _tie.prototype.dispose = function() { var _tkc = null; this.removeChildren(), createjs.Tween.removeTweens(this.ANIMATION_HIGHSPEED), this.useItemButton.dispose(), this.repairShipBanner.dispose(), this.starRateView.dispose(), this.repairHpGaugeView.dispose(), null != this.craneCarTween && (this.craneCarTween.setPaused(!0), createjs.Tween.removeTweens(this.craneCarTween.target)), null != this.useRepairItemTween && (this.useRepairItemTween.setPaused(!0), createjs.Tween.removeTweens(this.useRepairItemTween.target)), this.informationContainer.removeChildren(), this.textHp.destroy(), this.textLevel.destroy(), this.textName.destroy(), this.textTime.destroy(), this.onClickHiSpeed = null, this.useItemButton = null, this.repairShipBanner = null, this.starRateView = null, this.textName = null, this.textLevel = null, this.textHp = null, this.textTime = null, this.repairHpGaugeView = null, this.memDockId = null, this.craneCarTween = null, this.hpAnimationParams = null, this.completeTime = null, this.useRepairItemTween = null, this.informationContainer = null, null !== this._craneAnimation && (this._craneAnimation.dispose(), this._craneAnimation = null, this._craneContainer.removeChildren()), this._craneContainer = null; }, _tie; }(PIXI.Container); _tgu.ShipInDock = _tib; }, 80856: function(_tkd, _tke, _tkf) { 'use strict'; var _tkg = null; var _tkh, _tki = this && this.__extends || (_tkh = function(_tkj, _tkk) { var _tkl = null; return _tkh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_tkm, _tkn) { var _tko = null; _tkm.__proto__ = _tkn; } || function(_tkp, _tkq) { var _tkr = null; for (var _tks in _tkq) Object.prototype.hasOwnProperty.call(_tkq, _tks) && (_tkp[_tks] = _tkq[_tks]); }, _tkh(_tkj, _tkk); }, function(_tkt, _tku) { var _tkv = null; if ('function' != typeof _tku && null !== _tku) throw new TypeError('Class extends value ' + String(_tku) + ' is not a constructor or null'); function _tkw() { var _tkx = null; this.constructor = _tkt; } _tkh(_tkt, _tku), _tkt.prototype = null === _tku ? Object.create(_tku) : (_tkw.prototype = _tku.prototype, new _tkw()); }); defineModule(_tke); Object.defineProperty(_tke, '__esModule', { 'value': !0 }), _tke.ShipSortButton = void 0; var _tky = _tkf(74761), _tkz = _tkf(35380), _tl0 = function(_tl1) { var _tl2 = null; function _tl3() { var _tl4 = null, _tl5 = _tl1.call(this) || this; return _tl5._onClick = function() { var _tl6 = null; _tl5.onClick(); }, _tl5.on(_tkz.EventType.CLICK, _tl5._onClick), _tl5.interactive = _tl5.buttonMode = !0, _tl5; } return _tki(_tl3, _tl1), _tl3.prototype.dispose = function() { var _tl7 = null; this.removeAllListeners(_tkz.EventType.CLICK), this.onClick = null; }, _tl3.prototype.update = function(_tl8) { var _tl9 = null; switch (_tl8) { case 1: this.texture = _tky.REPAIR_SORT.getTexture(0); break; case 4: this.texture = _tky.REPAIR_SORT.getTexture(2); break; case 3: this.texture = _tky.REPAIR_SORT.getTexture(3); break; case 2: this.texture = _tky.REPAIR_SORT.getTexture(4); break; case 5: this.texture = _tky.REPAIR_SORT.getTexture(5); break; case 6: this.texture = _tky.REPAIR_SORT.getTexture(1); } }, _tl3; }(PIXI.Sprite); _tke.ShipSortButton = _tl0; }, 97651: function(_tla, _tlb, _tlc) { 'use strict'; var _tld = null; var _tle, _tlf = this && this.__extends || (_tle = function(_tlg, _tlh) { var _tli = null; return _tle = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_tlj, _tlk) { var _tll = null; _tlj.__proto__ = _tlk; } || function(_tlm, _tln) { var _tlo = null; for (var _tlp in _tln) Object.prototype.hasOwnProperty.call(_tln, _tlp) && (_tlm[_tlp] = _tln[_tlp]); }, _tle(_tlg, _tlh); }, function(_tlq, _tlr) { var _tls = null; if ('function' != typeof _tlr && null !== _tlr) throw new TypeError('Class extends value ' + String(_tlr) + ' is not a constructor or null'); function _tlt() { var _tlu = null; this.constructor = _tlq; } _tle(_tlq, _tlr), _tlq.prototype = null === _tlr ? Object.create(_tlr) : (_tlt.prototype = _tlr.prototype, new _tlt()); }), _tlv = this && this.__createBinding || (Object.create ? function(_tlw, _tlx, _tly, _tlz) { var _tm0 = null; void 0 === _tlz && (_tlz = _tly); var _tm1 = Object.getOwnPropertyDescriptor(_tlx, _tly); _tm1 && !('get' in _tm1 ? !_tlx.__esModule : _tm1.writable || _tm1.configurable) || (_tm1 = { 'enumerable': !0, 'get': function() { return _tlx[_tly]; } }), Object.defineProperty(_tlw, _tlz, _tm1); } : function(_tm2, _tm3, _tm4, _tm5) { void 0 === _tm5 && (_tm5 = _tm4), _tm2[_tm5] = _tm3[_tm4]; }), _tm6 = this && this.__setModuleDefault || (Object.create ? function(_tm7, _tm8) { var _tm9 = null; Object.defineProperty(_tm7, 'default', { 'enumerable': !0, 'value': _tm8 }); } : function(_tma, _tmb) { var _tmc = null; _tma.default = _tmb; }), _tmd = this && this.__importStar || function(_tme) { var _tmf = null; if (_tme && _tme.__esModule) return _tme; var _tmg = {}; if (null != _tme) { for (var _tmh in _tme) 'default' !== _tmh && Object.prototype.hasOwnProperty.call(_tme, _tmh) && _tlv(_tmg, _tme, _tmh); } return _tm6(_tmg, _tme), _tmg; }; defineModule(_tlb); Object.defineProperty(_tlb, '__esModule', { 'value': !0 }), _tlb.UseHiSpeedRepairConfirmView = void 0; var _tmi = _tlc(8744), _tmj = _tlc(37638), _tmk = _tmd(_tlc(31000)), _tml = _tlc(57616), _tmm = _tlc(35380), _tmn = function(_tmo) { var _tmp = null; function _tmq() { var _tmr = null, _tms = _tmo.call(this) || this; _tms._labelArr = [], _tms._onClickYES = function() { var _tmt = null; _tms.onClickYES(); }, _tms._onClickNO = function() { var _tmu = null; _tms.onClickNO(); }; var _tmv = new PIXI.Sprite(_tmk.COMMON_MAIN.getTexture(66)), _tmw = new _tmi.TextBox(21, 1949120), _tmx = new _tmi.TextBox(21, 1949120), _tmy = new _tmi.TextBox(21, 1949120), _tmz = new _tmi.TextBox(21, 16777215), _tn0 = new _tmi.TextBox(21, 1949120), _tn1 = new _tmi.TextBox(24, 16777215), _tn2 = new _tmi.TextBox(24, 16777215), _tn3 = new PIXI.Sprite(_tmk.REPAIR_MAIN.getTexture(9)), _tn4 = new PIXI.Sprite(_tmk.REPAIR_MAIN.getTexture(5)), _tn5 = new _tmj.ShipBanner(), _tn6 = new _tmi.TextBox(21, 16777215), _tn7 = new _tmi.TextBox(24, 16777215), _tn8 = new PIXI.Sprite(_tmk.REPAIR_MAIN.getTexture(28)), _tn9 = new _tmi.TextBox(24, 16777215), _tna = new _tmi.TextBox(24, 16777215), _tnb = new _tmi.TextBox(24, 16777215); return _tmw.position.set(_tmv.width / 2, -39), _tmw.anchor.set(0.5, 0), _tn6.position.set(576, 147), _tmx.position.set(310, 147), _tn5.position.set(576, 180), _tmy.position.set(310, 258), _tn8.position.set(580, 288), _tmz.position.set(577, 258), _tn9.position.set(684, 298), _tna.position.set(718, 298), _tnb.position.set(685, 294), _tn0.position.set(310, 345), _tn7.position.set(684, 345), _tn2.position.set(687, 342), _tn1.position.set(718, 345), _tn4.position.set(297, 516), _tn3.position.set(580, 516), _tn9.anchor.x = 1, _tn7.anchor.x = 1, _tmw.text = '-艦船 入渠-', _tms._labelArr.push(_tmw), _tmx.text = '修復する艦船', _tms._labelArr.push(_tmx), _tmy.text = '高速修復', _tms._labelArr.push(_tmy), _tmz.text = '使用する', _tms._labelArr.push(_tmz), _tn9.text = '9999', _tnb.text = '→', _tms._labelArr.push(_tnb), _tna.text = '9999', _tn0.text = '所要時間', _tms._labelArr.push(_tn0), _tn2.text = '→', _tms._labelArr.push(_tn2), _tn1.text = '00:00:00', _tms._labelArr.push(_tn1), _tn3.addListener(_tmm.EventType.CLICK, _tms._onClickYES), _tn4.addListener(_tmm.EventType.CLICK, _tms._onClickNO), _tn4.interactive = _tn4.buttonMode = !0, _tn3.interactive = _tn3.buttonMode = !0, _tms.addChild(_tmv, _tmw, _tmx, _tmy, _tn0, _tn6, _tn7, _tn8, _tmz, _tn2, _tn1, _tn4, _tn3), _tms.addChild(_tn5), _tms.addChild(_tn9, _tnb, _tna), _tms.textName = _tn6, _tms.textRequireTime = _tn7, _tms.buttonYes = _tn3, _tms.buttonNo = _tn4, _tms.shipBanner = _tn5, _tms.beforeRepairKitCount = _tn9, _tms.afterRepairKitCount = _tna, _tms; } return _tlf(_tmq, _tmo), _tmq.prototype.update = function(_tnc, _tnd) { var _tne = null; this.textName.text = _tnc.name, this.textRequireTime.text = _tml.MathUtil.timeToString(_tnc.getRepairTime()), this.beforeRepairKitCount.text = _tnd.toString(), this.afterRepairKitCount.text = (_tnd - 1).toString(), this.shipBanner.update(_tnc, !1); }, _tmq.prototype.dispose = function() { var _tnf = null; this.removeChildren(), this.buttonYes.texture = PIXI.Texture.EMPTY, this.buttonNo.texture = PIXI.Texture.EMPTY, this.shipBanner.dispose(), this.buttonYes.removeAllListeners(_tmm.EventType.CLICK), this.buttonNo.removeAllListeners(_tmm.EventType.CLICK), this.textName.destroy(), this.textRequireTime.destroy(), this.beforeRepairKitCount.destroy(), this.afterRepairKitCount.destroy(), this._labelArr.forEach(function(_tng) { var _tnh = null; _tng.destroy(); }), this._labelArr = null, this.buttonYes = null, this.buttonNo = null, this.shipBanner = null, this.onClickYES = null, this.onClickNO = null, this.textName = null, this.textRequireTime = null, this.beforeRepairKitCount = null, this.afterRepairKitCount = null; }, _tmq; }(PIXI.Container); _tlb.UseHiSpeedRepairConfirmView = _tmn; }, 69859: function(_tni, _tnj, _tnk) { 'use strict'; var _tnl = null; var _tnm, _tnn = this && this.__extends || (_tnm = function(_tno, _tnp) { var _tnq = null; return _tnm = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_tnr, _tns) { var _tnt = null; _tnr.__proto__ = _tns; } || function(_tnu, _tnv) { var _tnw = null; for (var _tnx in _tnv) Object.prototype.hasOwnProperty.call(_tnv, _tnx) && (_tnu[_tnx] = _tnv[_tnx]); }, _tnm(_tno, _tnp); }, function(_tny, _tnz) { var _to0 = null; if ('function' != typeof _tnz && null !== _tnz) throw new TypeError('Class extends value ' + String(_tnz) + ' is not a constructor or null'); function _to1() { var _to2 = null; this.constructor = _tny; } _tnm(_tny, _tnz), _tny.prototype = null === _tnz ? Object.create(_tnz) : (_to1.prototype = _tnz.prototype, new _to1()); }), _to3 = this && this.__createBinding || (Object.create ? function(_to4, _to5, _to6, _to7) { var _to8 = null; void 0 === _to7 && (_to7 = _to6); var _to9 = Object.getOwnPropertyDescriptor(_to5, _to6); _to9 && !('get' in _to9 ? !_to5.__esModule : _to9.writable || _to9.configurable) || (_to9 = { 'enumerable': !0, 'get': function() { return _to5[_to6]; } }), Object.defineProperty(_to4, _to7, _to9); } : function(_toa, _tob, _toc, _tod) { void 0 === _tod && (_tod = _toc), _toa[_tod] = _tob[_toc]; }), _toe = this && this.__setModuleDefault || (Object.create ? function(_tof, _tog) { var _toh = null; Object.defineProperty(_tof, 'default', { 'enumerable': !0, 'value': _tog }); } : function(_toi, _toj) { var _tok = null; _toi.default = _toj; }), _tol = this && this.__importStar || function(_tom) { var _ton = null; if (_tom && _tom.__esModule) return _tom; var _too = {}; if (null != _tom) { for (var _top in _tom) 'default' !== _top && Object.prototype.hasOwnProperty.call(_tom, _top) && _to3(_too, _tom, _top); } return _toe(_too, _tom), _too; }; defineModule(_tnj); Object.defineProperty(_tnj, '__esModule', { 'value': !0 }), _tnj.UseItemButton = void 0; var _toq = _tol(_tnk(31000)), _tor = _tnk(35380), _tos = function(_tot) { var _tou = null; function _tov() { var _tow = null, _tox = _tot.call(this) || this; return _tox._onClick = function() { var _toy = null; _tox.onClick(); }, _tox._onMouseOver = function() { var _toz = null; _tox.texture = _toq.REPAIR_MAIN.getTexture(4); }, _tox._onMouseOut = function() { var _tp0 = null; _tox.texture = _toq.REPAIR_MAIN.getTexture(2); }, _tox.texture = _toq.REPAIR_MAIN.getTexture(2), _tox.on(_tor.EventType.CLICK, _tox._onClick).on(_tor.EventType.MOUSEOVER, _tox._onMouseOver).on(_tor.EventType.MOUSEOUT, _tox._onMouseOut), _tox.buttonMode = !0, _tox; } return _tnn(_tov, _tot), _tov.prototype.active = function() { var _tp1 = null; this.texture = _toq.REPAIR_MAIN.getTexture(2), this.interactive = !0; }, _tov.prototype.disable = function() { var _tp2 = null; this.texture = _toq.REPAIR_MAIN.getTexture(3), this.interactive = !1; }, _tov.prototype.dispose = function() { var _tp3 = null; this.onClick = null, this.off(_tor.EventType.CLICK, this._onClick).off(_tor.EventType.MOUSEOVER, this._onMouseOver).off(_tor.EventType.MOUSEOUT, this._onMouseOut), this.texture = PIXI.Texture.EMPTY, this.interactive = this.buttonMode = !1; }, _tov; }(PIXI.Sprite); _tnj.UseItemButton = _tos; }, 3376: function(_tp4, _tp5, _tp6) { 'use strict'; var _tp7 = null; var _tp8, _tp9 = this && this.__extends || (_tp8 = function(_tpa, _tpb) { var _tpc = null; return _tp8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_tpd, _tpe) { var _tpf = null; _tpd.__proto__ = _tpe; } || function(_tpg, _tph) { var _tpi = null; for (var _tpj in _tph) Object.prototype.hasOwnProperty.call(_tph, _tpj) && (_tpg[_tpj] = _tph[_tpj]); }, _tp8(_tpa, _tpb); }, function(_tpk, _tpl) { var _tpm = null; if ('function' != typeof _tpl && null !== _tpl) throw new TypeError('Class extends value ' + String(_tpl) + ' is not a constructor or null'); function _tpn() { var _tpo = null; this.constructor = _tpk; } _tp8(_tpk, _tpl), _tpk.prototype = null === _tpl ? Object.create(_tpl) : (_tpn.prototype = _tpl.prototype, new _tpn()); }), _tpp = this && this.__createBinding || (Object.create ? function(_tpq, _tpr, _tps, _tpt) { var _tpu = null; void 0 === _tpt && (_tpt = _tps); var _tpv = Object.getOwnPropertyDescriptor(_tpr, _tps); _tpv && !('get' in _tpv ? !_tpr.__esModule : _tpv.writable || _tpv.configurable) || (_tpv = { 'enumerable': !0, 'get': function() { return _tpr[_tps]; } }), Object.defineProperty(_tpq, _tpt, _tpv); } : function(_tpw, _tpx, _tpy, _tpz) { void 0 === _tpz && (_tpz = _tpy), _tpw[_tpz] = _tpx[_tpy]; }), _tq0 = this && this.__setModuleDefault || (Object.create ? function(_tq1, _tq2) { var _tq3 = null; Object.defineProperty(_tq1, 'default', { 'enumerable': !0, 'value': _tq2 }); } : function(_tq4, _tq5) { var _tq6 = null; _tq4.default = _tq5; }), _tq7 = this && this.__importStar || function(_tq8) { var _tq9 = null; if (_tq8 && _tq8.__esModule) return _tq8; var _tqa = {}; if (null != _tq8) { for (var _tqb in _tq8) 'default' !== _tqb && Object.prototype.hasOwnProperty.call(_tq8, _tqb) && _tpp(_tqa, _tq8, _tqb); } return _tq0(_tqa, _tq8), _tqa; }, _tqc = this && this.__importDefault || function(_tqd) { var _tqe = null; return _tqd && _tqd.__esModule ? _tqd : { 'default': _tqd }; }; defineModule(_tp5); Object.defineProperty(_tp5, '__esModule', { 'value': !0 }), _tp5.UseRepairConfirmView = void 0; var _tqf = _tq7(_tp6(31000)), _tqg = _tqc(_tp6(18622)), _tqh = _tp6(8744), _tqi = _tp6(37638), _tqj = _tp6(57616), _tqk = _tp6(35380), _tql = function(_tqm) { var _tqn = null; function _tqo() { var _tqp = null, _tqq = _tqm.call(this) || this; _tqq._labelArr = [], _tqq._onClickNO = function() { var _tqr = null; _tqq.onClickNO(); }, _tqq._onClickYES = function() { var _tqs = null; _tqq.onClickYES(); }; var _tqt = new PIXI.Sprite(_tqf.COMMON_MAIN.getTexture(66)), _tqu = new PIXI.Sprite(_tqf.REPAIR_MAIN.getTexture(27)), _tqv = new PIXI.Sprite(_tqf.REPAIR_MAIN.getTexture(26)), _tqw = new _tqh.TextBox(21, 1949120), _tqx = new _tqh.TextBox(21, 1949120), _tqy = new _tqh.TextBox(21, 1949120), _tqz = new _tqh.TextBox(21, 1949120), _tr0 = new _tqh.TextBox(21, 1949120), _tr1 = new PIXI.Sprite(_tqf.REPAIR_MAIN.getTexture(9)), _tr2 = new PIXI.Sprite(_tqf.REPAIR_MAIN.getTexture(5)), _tr3 = new _tqi.ShipBanner(), _tr4 = new _tqh.TextBox(21, 16777215), _tr5 = new _tqh.TextBox(21, 16777215), _tr6 = new _tqh.TextBox(21, 16777215), _tr7 = new _tqh.TextBox(21, 16777215), _tr8 = new PIXI.Container(), _tr9 = new _tqh.TextBox(21, 16777215), _tra = new PIXI.Sprite(_tqg.default.resources.getUIImage('mask')); _tra.scale.set(-2.8, 3.5), _tra.anchor.x = 1, _tr8.mask = _tra, _tr8.addChild(_tr9, _tra), _tqw.text = '-艦船 入渠-', _tqw.position.set(Math.floor(_tqt.width / 2) + 0.5, -39), _tqw.anchor.set(0.5, 0), _tqq._labelArr.push(_tqw), _tqx.text = '修復する艦船', _tr8.position.set(576, 147), _tqx.position.set(310, 147), _tr3.position.set(580, 180), _tqq._labelArr.push(_tqx), _tqy.text = '使用する資材', _tqy.position.set(310, 258), _tqu.position.set(576, 261), _tqv.position.set(576, 295), _tr5.position.set(609, 262), _tr6.position.set(609, 301), _tqq._labelArr.push(_tqy), _tqz.text = '所要時間', _tqz.position.set(310, 345), _tr4.position.set(579, 349), _tqq._labelArr.push(_tqz), _tr0.text = '高速修復', _tr0.position.set(310, 408), _tr7.position.set(579, 408), _tqq._labelArr.push(_tr0), _tqq._useRepairKitTime = new PIXI.Container(), _tqq._useRepairKitTime.position.set(685, 349), _tqq._useRepairKitTime.visible = !1; var _trb = new _tqh.TextBox(21, 16777215); _trb.text = '→', _trb.position.set(0, 0), _tqq._labelArr.push(_trb), _tqq._useRepairKitTime.addChild(_trb); var _trc = new _tqh.TextBox(21, 16777215); _trc.text = '00:00:00', _trc.position.set(32, 0), _tqq._labelArr.push(_trc), _tqq._useRepairKitTime.addChild(_trc), _tqq._useRepairKitCount = new PIXI.Container(), _tqq._useRepairKitCount.position.set(577, 450), _tqq._useRepairKitCount.visible = !1; var _trd = new PIXI.Sprite(_tqf.REPAIR_MAIN.getTexture(28)); _trd.position.set(0, 0), _tqq._useRepairKitCount.addChild(_trd); var _tre = new _tqh.TextBox(21, 16777215); _tre.name = 'before', _tre.text = '9999', _tre.anchor.x = 1, _tre.position.set(106, 7), _tqq._labelArr.push(_tre), _tqq._useRepairKitCount.addChild(_tre); var _trf = new _tqh.TextBox(21, 16777215); _trf.text = '→', _trf.position.set(116, 7), _tqq._labelArr.push(_trf), _tqq._useRepairKitCount.addChild(_trf); var _trg = new _tqh.TextBox(21, 16777215); return _trg.name = 'after', _trg.text = '9999', _trg.position.set(146, 7), _tqq._labelArr.push(_trg), _tqq._useRepairKitCount.addChild(_trg), _tr2.position.set(297, 516), _tr1.position.set(580, 516), _tr2.addListener(_tqk.EventType.CLICK, _tqq._onClickNO), _tr1.addListener(_tqk.EventType.CLICK, _tqq._onClickYES), _tr2.interactive = _tr2.buttonMode = !0, _tr1.interactive = _tr1.buttonMode = !0, _tqq.addChild(_tqt, _tqw, _tqx, _tqy, _tqz, _tr0, _tr8, _tr5, _tr6, _tr4, _tqq._useRepairKitTime, _tr7, _tr2, _tr1, _tqu, _tqv, _tr3, _tqq._useRepairKitCount), _tqq.textName = _tr9, _tqq.textSteelCount = _tr5, _tqq.textFuelCount = _tr6, _tqq.textUseOption = _tr7, _tqq.textRequireTime = _tr4, _tqq.buttonYes = _tr1, _tqq.buttonNo = _tr2, _tqq.shipBanner = _tr3, _tqq.containerName = _tr8, _tqq; } return _tp9(_tqo, _tqm), _tqo.prototype.update = function(_trh, _tri) { var _trj = null; if (this.textName.text = _trh.name, this.textSteelCount.text = '×' + _trh.getRepairSteel().toString(), this.textFuelCount.text = '×' + _trh.getRepairFuel().toString(), this.textUseOption.text = _tri ? '使用する' : '使用しない', this.textRequireTime.text = _tqj.MathUtil.timeToString(_trh.getRepairTime()), this.shipBanner.update(_trh, !1), this._useRepairKitTime.visible = _tri, this._useRepairKitCount.visible = _tri, _tri) { var _trk = _tqg.default.model.useItem.get(1).count; this._useRepairKitCount.getChildByName('before').text = _trk.toString(10), this._useRepairKitCount.getChildByName('after').text = (_trk - 1).toString(10); } }, _tqo.prototype.dispose = function() { var _trl = null; this.removeChildren(), this.containerName.mask = null, this.containerName.removeChildren(), this.shipBanner.dispose(), this.buttonNo.removeAllListeners(_tqk.EventType.CLICK), this.buttonYes.removeAllListeners(_tqk.EventType.CLICK), this._useRepairKitTime.removeChildren(), this._useRepairKitCount.removeChildren(), this.textName.destroy(), this.textSteelCount.destroy(), this.textFuelCount.destroy(), this.textUseOption.destroy(), this.textRequireTime.destroy(), this._labelArr.forEach(function(_trm) { var _trn = null; _trm.destroy(); }), this._labelArr = null, this.onClickYES = null, this.onClickNO = null, this.textName = null, this.textSteelCount = null, this.textFuelCount = null, this.textUseOption = null, this.textRequireTime = null, this.buttonYes = null, this.buttonNo = null, this.shipBanner = null, this.containerName = null, this._useRepairKitTime = null, this._useRepairKitCount = null; }, _tqo; }(PIXI.Container); _tp5.UseRepairConfirmView = _tql; }, 73760: (_tro, _trp) => { 'use strict'; var _trq = null; var _trr; defineModule(_trp); Object.defineProperty(_trp, '__esModule', { 'value': !0 }), _trp.ArsenalSceneMemory = void 0, function(_trs) { var _trt = null; _trs.shipSortKeyType = 0; }(_trr || (_trp.ArsenalSceneMemory = _trr = {})); }, 19146: function(_tru, _trv, _trw) { 'use strict'; var _trx = null; var _try, _trz = this && this.__extends || (_try = function(_ts0, _ts1) { var _ts2 = null; return _try = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ts3, _ts4) { var _ts5 = null; _ts3.__proto__ = _ts4; } || function(_ts6, _ts7) { var _ts8 = null; for (var _ts9 in _ts7) Object.prototype.hasOwnProperty.call(_ts7, _ts9) && (_ts6[_ts9] = _ts7[_ts9]); }, _try(_ts0, _ts1); }, function(_tsa, _tsb) { var _tsc = null; if ('function' != typeof _tsb && null !== _tsb) throw new TypeError('Class extends value ' + String(_tsb) + ' is not a constructor or null'); function _tsd() { var _tse = null; this.constructor = _tsa; } _try(_tsa, _tsb), _tsa.prototype = null === _tsb ? Object.create(_tsb) : (_tsd.prototype = _tsb.prototype, new _tsd()); }), _tsf = this && this.__importDefault || function(_tsg) { var _tsh = null; return _tsg && _tsg.__esModule ? _tsg : { 'default': _tsg }; }; defineModule(_trv); Object.defineProperty(_trv, '__esModule', { 'value': !0 }), _trv.ArsenalScene = void 0; var _tsi = _tsf(_trw(18622)), _tsj = _trw(61474), _tsk = _trw(13748), _tsl = _trw(97088), _tsm = _trw(5201), _tsn = _trw(7626), _tso = _trw(22086), _tsp = _trw(68531), _tsq = _trw(56428), _tsr = _trw(7626), _tss = function(_tst) { var _tsu = null; function _tsv() { var _tsw = null, _tsx = _tst.call(this) || this; return _tsx.arsenalTimerKey = {}, _tsx.updateCondition = function(_tsy, _tsz, _tt0) { var _tt1 = null; _tsx.menuLayer.hasLimitOver = _tt0, _tsx.dockLayer.updateCondition(_tsy, _tsz, _tt0); }, _tsx.onChangeArsenalTimer = function() { var _tt2 = null; if (_tsx.dockLayer.ArsenalTimerMode == _tsn.ArsenalTimerMode.WaitComplete) { var _tt3 = Date.now(); _tsi.default.model.kdock.getAll().forEach(function(_tt4) { var _tt5 = null; 2 != _tt4.state && 2 != _tsx.dockLayer.getKDockView(_tt4.id).state || (_tt4.complete_time < _tt3 ? (_tsx.dockLayer.hideHighSpeedButton(_tt4.id), _tt4.__complete__(), _tsx.dockLayer.complete(_tt4.id), _tsx.dockLayer.forceComplete(_tt4.id, _tt4.isLargeBuild())) : _tsx.dockLayer.notifyTime(_tt4.id, _tt3)); }); } }, _tsx; } return _trz(_tsv, _tst), _tsv.prototype.start = function() { var _tt6 = null, _tt7 = _tsi.default.model.kdock.getAll(); this.menuLayer = new _tsq.MenuLayer(), this.menuLayer.onUpdateCondition = this.updateCondition, this.dockLayer = new _tsr.DockLayer(), this.dockLayer.position.set(528, 177), this.dockLayer.onUpdateCondition = this.updateCondition, this.topBarLayer = new _tsp.TopBarLayer(); for (var _tt8 = _tso.ArsenalUtil.developLimit(), _tt9 = !1, _tta = 0; _tta < _tt7.length; _tta++) { var _ttb = _tt7[_tta]; switch (this.updateCondition(_ttb.id, _tt8.forShip, _tt8.forSlot), this.dockLayer.hideHighSpeedButton(_ttb.id), _ttb.state) { case 2: var _ttc = (_ttd = _tsi.default.model.ship.getMst(_ttb.ship_mst_id)).build_time, _tte = _tsi.default.model.shipType.get(_ttd.shipTypeID).build_phase_num, _ttf = Date.now(), _ttg = _ttb.isLargeBuild(), _tth = _ttb.complete_time, _tti = !1; _tti = _ttg ? 9 < _tsi.default.model.useItem.get(2).count : 0 < _tsi.default.model.useItem.get(2).count; var _ttj = 0.5 < Math.random(), _ttk = 0.5 < Math.random() || 0 == _ttj; this.dockLayer.showHighSpeedButton(_ttb.id, _tti), this.dockLayer.resume(_ttb.id, _ttg, _tti, _ttj, _ttk, _ttc, _tth, _ttf, _tte); break; case -1: if (0 == _tt9) { var _ttl = 0 < _tsi.default.model.useItem.get(49).count, _ttm = !0; this.dockLayer.noDock(_ttb.id, _ttm, _ttl); } else _ttm = !1, _ttl = !1, this.dockLayer.noDock(_ttb.id, _ttm, _ttl); _tt9 = !0; break; case 3: _ttj = 0.5 < Math.random(), _ttk = 0.5 < Math.random() || 0 == _ttj, this.dockLayer.updateMotivation(_ttb.id, _ttj, _ttk); var _ttd = _tsi.default.model.ship.getMst(_ttb.ship_mst_id), _ttn = (_tte = _tsi.default.model.shipType.get(_ttd.shipTypeID).build_phase_num, _ttb.isLargeBuild()); this.dockLayer.completed(_ttb.id, _tte, _ttn); break; case 0: this.dockLayer.standby(_ttb.id); } } _tso.ArsenalUtil.playVoiceOnBuildComplete(); var _tto = createjs.Tween.get(this.arsenalTimerKey, { 'loop': !0 }).wait(500); _tto.addEventListener('change', this.onChangeArsenalTimer), this.addChild(this.dockLayer), this.addChild(this.menuLayer), this.addChild(this.topBarLayer), this.arsenalTimer = _tto; }, _tsv.prototype.getPreInitializeTask = function(_ttp) { var _ttq = null; return new _tsm.PreInitializeTask(this); }, _tsv.prototype.getInitializeTask = function(_ttr) { var _tts = null; return new _tsl.InitializeTask(); }, _tsv.prototype.getFinalizeTask = function() { var _ttt = null; return this.dispose(), _tsk.UIImageLoader.clearMemoryCache('arsenal'), null; }, _tsv.prototype.dispose = function() { var _ttu = null; createjs.Tween.removeTweens(this.arsenalTimer.target), this.topBarLayer.dispose(), this.menuLayer.dispose(), this.dockLayer.dispose(), this.menuLayer = null, this.dockLayer = null, this.arsenalTimerKey = null, this.arsenalTimer = null, this.topBarLayer = null, this.removeChildren(); }, _tsv; }(_tsj.SceneBase); _trv.ArsenalScene = _tss; }, 31849: function(_ttv, _ttw, _ttx) { 'use strict'; var _tty = null; var _ttz = this && this.__importDefault || function(_tu0) { var _tu1 = null; return _tu0 && _tu0.__esModule ? _tu0 : { 'default': _tu0 }; }; defineModule(_ttw); Object.defineProperty(_ttw, '__esModule', { 'value': !0 }), _ttw.Util = void 0; var _tu2, _tu3 = _ttz(_ttx(18622)); ! function(_tu4) { var _tu5 = null; _tu4.BuildValidation = function(_tu6, _tu7, _tu8, _tu9, _tua, _tub) { var _tuc = null; return !(_tu3.default.model.useItem.get(31).count < _tu6) && (!(_tu3.default.model.useItem.get(32).count < _tu7) && (!(_tu3.default.model.useItem.get(33).count < _tu8) && (!(_tu3.default.model.useItem.get(34).count < _tu9) && (!(_tu3.default.model.useItem.get(3).count < _tua) && !(_tu3.default.model.useItem.get(2).count < _tub))))); }, _tu4.DevelopValidation = function(_tud, _tue, _tuf, _tug, _tuh, _tui) { var _tuj = null; return _tui && (_tud *= 3), !(_tu3.default.model.useItem.get(31).count < _tud) && (_tui && (_tue *= 3), !(_tu3.default.model.useItem.get(32).count < _tue) && (_tui && (_tuf *= 3), !(_tu3.default.model.useItem.get(33).count < _tuf) && (_tui && (_tug *= 3), !(_tu3.default.model.useItem.get(34).count < _tug) && (_tui && (_tuh *= 3), !(_tu3.default.model.useItem.get(3).count < _tuh))))); }, _tu4.ShipDisassemblyValidation = function(_tuk) { var _tul = null, _tum = _tu3.default.model.ship.get(_tuk); if (1 == _tum.isLocked()) return !1; if (1 == _tum.isRepair()) return !1; if (_tum.hasLockedSlotitem()) return !1; var _tun = _tu3.default.model.deck.isInDeck(_tuk); if (_tun) { if (1 == _tun[0] && 0 == _tun[1]) return !1; if (null != _tu3.default.model.deck.get(_tun[0]).expedition) return !1; } return !0; }, _tu4.getWhiteNumberResourceId = function(_tuo) { var _tup = null; switch (_tuo) { case 0: return 168; case 1: return 169; case 2: return 170; case 3: return 171; case 4: return 172; case 5: return 173; case 6: return 174; case 7: return 175; case 8: return 176; case 9: return 177; } throw new Error('unsupported param:' + _tuo); }, _tu4.getRedNumberResourceId = function(_tuq) { var _tur = null; switch (_tuq) { case 0: return 125; case 1: return 126; case 2: return 127; case 3: return 128; case 4: return 129; case 5: return 130; case 6: return 131; case 7: return 132; case 8: return 133; case 9: return 134; } throw new Error('unsupported param:' + _tuq); }; }(_tu2 || (_ttw.Util = _tu2 = {})); }, 33639: function(_tus, _tut, _tuu) { 'use strict'; var _tuv = null; var _tuw, _tux = this && this.__extends || (_tuw = function(_tuy, _tuz) { var _tv0 = null; return _tuw = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_tv1, _tv2) { var _tv3 = null; _tv1.__proto__ = _tv2; } || function(_tv4, _tv5) { var _tv6 = null; for (var _tv7 in _tv5) Object.prototype.hasOwnProperty.call(_tv5, _tv7) && (_tv4[_tv7] = _tv5[_tv7]); }, _tuw(_tuy, _tuz); }, function(_tv8, _tv9) { var _tva = null; if ('function' != typeof _tv9 && null !== _tv9) throw new TypeError('Class extends value ' + String(_tv9) + ' is not a constructor or null'); function _tvb() { var _tvc = null; this.constructor = _tv8; } _tuw(_tv8, _tv9), _tv8.prototype = null === _tv9 ? Object.create(_tv9) : (_tvb.prototype = _tv9.prototype, new _tvb()); }); defineModule(_tut); Object.defineProperty(_tut, '__esModule', { 'value': !0 }), _tut.DisassemblyAnimation = void 0; var _tvd = _tuu(11997), _tve = _tuu(31000), _tvf = _tuu(57257), _tvg = function(_tvh) { var _tvi = null; function _tvj(_tvk, _tvl) { var _tvm = null; void 0 === _tvk && (_tvk = 240), void 0 === _tvl && (_tvl = 60); var _tvn = _tvh.call(this) || this; _tvn._mokuTextureList = [], _tvn._mokuArea = [], _tvn._mokuTween = [], _tvn._materialTextureList = [], _tvn._materialArea = [], _tvn._materialTween = []; var _tvo = new PIXI.Container(); _tvn._materialTextureList = [_tvd.COMMON_MISC.getTexture(91), _tvd.COMMON_MISC.getTexture(92), _tvd.COMMON_MISC.getTexture(93), _tvd.COMMON_MISC.getTexture(94)]; for (var _tvp = 0; _tvp < 5; _tvp++) { (_tvq = new _tvf.Sprite()).alpha = 0, _tvo.addChild(_tvq), _tvn._materialArea.push(_tvq); } var _tvr = new PIXI.Container(); _tvn._mokuTextureList = [_tve.ARSENAL_MAIN.getTexture(123), _tve.ARSENAL_MAIN.getTexture(124)]; for (var _tvs = 0; _tvs < 20; _tvs++) { var _tvq; (_tvq = new _tvf.Sprite()).alpha = 0, _tvq.anchor.set(0.5, 0.5), _tvr.addChild(_tvq), _tvn._mokuArea.push(_tvq); } return _tvn.RANGE = { 'width': _tvk, 'height': _tvl }, _tvn.addChild(_tvo, _tvr), _tvn; } return _tux(_tvj, _tvh), _tvj.prototype.play = function(_tvt) { var _tvu = null; void 0 === _tvt && (_tvt = 5), this._stop(), this._mokuAnimation(), this._materialAnimation(_tvt); }, _tvj.prototype._stop = function() { var _tvv = null; for (var _tvw = 0, _tvx = this._mokuTween.length; _tvw < _tvx; _tvw++) createjs.Tween.removeTweens(this._mokuTween[_tvw].target), this._mokuTween[_tvw] = null; for (var _tvy = 0, _tvz = this._materialTween.length; _tvy < _tvz; _tvy++) this._materialTween[_tvy].removeAllEventListeners('change'), createjs.Tween.removeTweens(this._materialTween[_tvy].target), this._materialTween[_tvy] = null; }, _tvj.prototype._mokuAnimation = function() { var _tw0 = null; for (var _tw1 = 0, _tw2 = this._mokuArea.length; _tw1 < _tw2; _tw1++) { var _tw3 = this._mokuArea[_tw1], _tw4 = 2 * Math.random() >> 0; _tw3.texture = this._mokuTextureList[_tw4]; var _tw5 = 0.75 * (0.4 * Math.random() + 0.6); _tw3.x = Math.random() * this.RANGE.width, _tw3.y = Math.random() * this.RANGE.height, _tw3.alpha = 0, this._mokuTween[_tw1] = createjs.Tween.get(_tw3, { 'loop': !0 }).wait(100 * _tw1).to({ 'alpha': 0, 'scaleX': _tw5, 'scaleY': _tw5 }).to({ 'alpha': 1, 'scaleX': 0, 'scaleY': 0 }, 600, createjs.Ease.linear).play(null); } }, _tvj.prototype._materialAnimation = function(_tw6) { var _tw7 = null; for (var _tw8 = this, _tw9 = function(_twa, _twb) { var _twc = null, _twd = _twe._materialArea[_twa]; if (_twd.alpha = 0, _twe._materialTween[_twa] = null, _twa > _tw6) return 'continue'; var _twf = { 'progress': 0 }, _twg = createjs.Tween.get(_twf, { 'loop': !0 }).wait(1000 * _twa).call(function() { var _twh = null, _twi = 4 * Math.random() >> 0; _twd.texture = _tw8._materialTextureList[_twi]; var _twj = 30 / createjs.Ticker.framerate, _twk = Math.random() * _tw8.RANGE.width, _twl = Math.random() * _tw8.RANGE.height, _twm = 1.999 * Math.random() * Math.PI, _twn = 0.4 * Math.random() + 0.6, _two = 8 * _twn * Math.cos(_twm), _twp = 8 * _twn * Math.sin(_twm) - 8; _twd.alpha = 1, _twd.position.set(_twk, _twl), _twg.addEventListener('change', function() { var _twq = null; _twd.x += _two * _twj, _twd.y += _twp * _twj, _twd.alpha = 1 - _twf.progress, _twp += 0.7 * _twj; }); }).to({ 'progress': 1 }, 600).call(function() { var _twr = null; _twg.removeAllEventListeners('change'); }).play(null); _twe._materialTween[_twa] = _twg; }, _twe = this, _tws = 0, _twt = this._materialArea.length; _tws < _twt; _tws++) _tw9(_tws); }, _tvj.prototype.dispose = function() { var _twu = null; this._stop(), this.removeChildren(); }, _tvj; }(PIXI.Container); _tut.DisassemblyAnimation = _tvg; }, 73461: function(_twv, _tww, _twx) { 'use strict'; var _twy = null; var _twz, _tx0 = this && this.__extends || (_twz = function(_tx1, _tx2) { var _tx3 = null; return _twz = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_tx4, _tx5) { var _tx6 = null; _tx4.__proto__ = _tx5; } || function(_tx7, _tx8) { var _tx9 = null; for (var _txa in _tx8) Object.prototype.hasOwnProperty.call(_tx8, _txa) && (_tx7[_txa] = _tx8[_txa]); }, _twz(_tx1, _tx2); }, function(_txb, _txc) { var _txd = null; if ('function' != typeof _txc && null !== _txc) throw new TypeError('Class extends value ' + String(_txc) + ' is not a constructor or null'); function _txe() { var _txf = null; this.constructor = _txb; } _twz(_txb, _txc), _txb.prototype = null === _txc ? Object.create(_txc) : (_txe.prototype = _txc.prototype, new _txe()); }); defineModule(_tww); Object.defineProperty(_tww, '__esModule', { 'value': !0 }), _tww.MaterialCircleRollAnimation = void 0; var _txg = _twx(92980), _txh = function(_txi) { var _txj = null; function _txk() { var _txl = null, _txm = _txi.call(this) || this; _txm.MAX_CIRCLE = 5, _txm.onUpdate = function() { var _txn = null; for (var _txo = 0; _txo < _txm.effectCircles.length; _txo++) { var _txp = _txm.effectCircles[_txo]; if (!_txp.isAnimation && !(Math.floor(100 * Math.random()) >= 10)) { _txp.play(); break; } } }; var _txq = _txg.ARSENAL_ANIMATION.getTexture(2); _txm.effectCircles = new Array(); for (var _txr = 0; _txr < _txm.MAX_CIRCLE; _txr++) { var _txs = new _txt(_txq); _txm.effectCircles.push(_txs), _txs.texture = _txq, _txm.addChild(_txs); } return _txm; } return _tx0(_txk, _txi), _txk.prototype.dispose = function() { var _txu = null; this.stop(); for (var _txv = 0; _txv < this.effectCircles.length; _txv++) this.effectCircles[_txv].dispose(), this.effectCircles[_txv] = null; this.effectCircles = null, this.removeChildren(); }, _txk.prototype.play = function() { var _txw = null; createjs.Tween.removeTweens(this); var _txx = createjs.Tween.get(this, { 'onChange': this.onUpdate }); _txx.loop = !0, _txx.play(null); }, _txk.prototype.stop = function() { var _txy = null; createjs.Tween.removeTweens(this); for (var _txz = 0; _txz < this.effectCircles.length; _txz++) this.effectCircles[_txz].stop(), this.effectCircles[_txz].reset(); }, _txk; }(PIXI.Container); _tww.MaterialCircleRollAnimation = _txh; var _txt = function(_ty0) { var _ty1 = null; function _ty2(_ty3) { var _ty4 = null, _ty5 = _ty0.call(this, _ty3) || this; return _ty5.update = function(_ty6) { var _ty7 = null, _ty8 = _ty6.target.target.time, _ty9 = _ty6.target.target.alpha; _ty5.rotation = _ty5._rotationSpeed * _ty8, _ty5.alpha = _ty9; }, _ty5.anchor.set(0.5, 0.5), _ty5._isAnimation = !1, _ty5.reset(), _ty5; } return _tx0(_ty2, _ty0), Object.defineProperty(_ty2.prototype, 'isAnimation', { 'get': function() { var _tya = null; return this._isAnimation; }, 'enumerable': !1, 'configurable': !0 }), _ty2.prototype.dispose = function() { var _tyb = null; this.stop(), this._isAnimation = null, this._rotationSpeed = null, this._time = null, this._tween = null; }, _ty2.prototype.reset = function() { var _tyc = null, _tyd = 0.2 * Math.random() + 0.8; this.scale.set(_tyd, _tyd), this._rotationSpeed = Math.PI / 180 * (180 * Math.random() - 90), this._time = 200 + 400 * Math.random(), this.x = 450 * Math.random() - 225, this.y = 450 * Math.random() - 158, this.alpha = 0; }, _ty2.prototype.play = function() { var _tye = null, _tyf = this; this._isAnimation = !0, (null != this._tween && this._tween.removeAllEventListeners(), this.reset(), this._tween = createjs.Tween.get({ 'time': 0, 'alpha': 0 }, { 'onChange': this.update }).to({ 'time': 0.5, 'alpha': 1 }, this._time).to({ 'time': 1, 'alpha': 0 }, this._time).call(function() { var _tyg = null; _tyf.stop(); })); }, _ty2.prototype.stop = function() { var _tyh = null; this._isAnimation = !1, null != this._tween && this._tween.removeAllEventListeners(); }, _ty2; }(PIXI.Sprite); }, 29753: function(_tyi, _tyj, _tyk) { 'use strict'; var _tyl = null; var _tym, _tyn = this && this.__extends || (_tym = function(_tyo, _typ) { var _tyq = null; return _tym = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_tyr, _tys) { var _tyt = null; _tyr.__proto__ = _tys; } || function(_tyu, _tyv) { var _tyw = null; for (var _tyx in _tyv) Object.prototype.hasOwnProperty.call(_tyv, _tyx) && (_tyu[_tyx] = _tyv[_tyx]); }, _tym(_tyo, _typ); }, function(_tyy, _tyz) { var _tz0 = null; if ('function' != typeof _tyz && null !== _tyz) throw new TypeError('Class extends value ' + String(_tyz) + ' is not a constructor or null'); function _tz1() { var _tz2 = null; this.constructor = _tyy; } _tym(_tyy, _tyz), _tyy.prototype = null === _tyz ? Object.create(_tyz) : (_tz1.prototype = _tyz.prototype, new _tz1()); }), _tz3 = this && this.__importDefault || function(_tz4) { var _tz5 = null; return _tz4 && _tz4.__esModule ? _tz4 : { 'default': _tz4 }; }; defineModule(_tyj); Object.defineProperty(_tyj, '__esModule', { 'value': !0 }), _tyj.ReceiveAnimation = void 0; var _tz6 = _tz3(_tyk(21359)), _tz7 = _tyk(79899), _tz8 = _tyk(91936), _tz9 = _tyk(45054), _tza = _tyk(54011), _tzb = _tyk(31000), _tzc = _tyk(89211), _tzd = function(_tze) { var _tzf = null; function _tzg(_tzh) { var _tzi = null, _tzj = _tze.call(this) || this; _tzj._clickGuard = new _tz7.AreaBox(0), _tzj.addChild(_tzj._clickGuard), _tzj._bg = new _tz8.GetBG(), _tzj._card = new _tz9.Container(); var _tzk = new PIXI.Sprite(_tzb.ARSENAL_ANIMATION.getTexture(5)); return _tzk.width = 393, _tzk.height = _tzh, _tzk.x = -_tzk.width / 2, _tzk.y = -_tzk.height / 2, _tzj._card.addChild(_tzk), _tzj._bigflash = new _tza.Sprite(_tzb.ARSENAL_ANIMATION.getTexture(0)), _tzj._particles = new _tzc.ScatterCircleParticle(), _tzj._white = new _tz7.AreaBox(1, 16777215), _tzj; } return _tyn(_tzg, _tze), _tzg.prototype.preload = function(_tzl) { var _tzm = null; this._bg.initiailzeGetBG1(function() { null != _tzl && _tzl(); }); }, _tzg.prototype.play = function(_tzn) { var _tzo = null, _tzp = this; this._cb_onComplete = _tzn, this._bg.alpha = 0, this.addChild(this._bg), createjs.Tween.get(this._bg).to({ 'alpha': 1 }, 100).call(function() { var _tzq = null; _tzp._01_flyCard(); }); }, _tzg.prototype._01_flyCard = function() { var _tzr = null, _tzs = this; this._card.position.set(_tz6.default.width / 2, _tz6.default.height / 2 + 540), this._card.alpha = 0, this._card.scale.set(0), this.addChild(this._card), createjs.Tween.get(this._card).to({ 'y': _tz6.default.height / 2 - 660, 'scaleX': 0.57, 'scaleY': 0.57, 'alpha': 1 }, 700).to({ 'y': _tz6.default.height / 2, 'scaleX': 1, 'scaleY': 1 }, 500).call(function() { var _tzt = null; _tzs._01_light(); }); }, _tzg.prototype._01_light = function() { var _tzu = null, _tzv = this; this._bigflash.x = _tz6.default.width / 2, this._bigflash.y = _tz6.default.height / 2, this._bigflash.scale.set(0), this._bigflash.anchor.set(0.5, 0.5), this.addChild(this._bigflash), createjs.Tween.get(this._bigflash).to({ 'scaleX': 3.3, 'scaleY': 3.3 }, 300).to({ 'scaleX': 2, 'scaleY': 2 }, 1700), createjs.Tween.get(null).wait(1500).call(function() { var _tzw = null; _tzv._particles.x = _tz6.default.width / 2, _tzv._particles.y = _tz6.default.height / 2, _tzv.addChild(_tzv._particles), _tzv._particles.play(); }).wait(2000).call(function() { var _tzx = null; _tzv._02_whiteIn(); }); }, _tzg.prototype._02_whiteIn = function() { var _tzy = null, _tzz = this; this._white.alpha = 0, this.addChild(this._white), createjs.Tween.get(this._white).to({ 'alpha': 1 }, 500).call(function() { var _u00 = null; null != _tzz._cb_onComplete && _tzz._cb_onComplete(); }); }, _tzg.prototype.dispose = function() { var _u01 = null; this._cb_onComplete = null, this.removeChildren(), this._clickGuard = null, this._bg = null, this._card = null, this._bigflash = null, this._particles = null, this._white = null; }, _tzg; }(PIXI.Container); _tyj.ReceiveAnimation = _tzd; }, 46138: function(_u02, _u03, _u04) { 'use strict'; var _u05 = null; var _u06, _u07 = this && this.__extends || (_u06 = function(_u08, _u09) { var _u0a = null; return _u06 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_u0b, _u0c) { var _u0d = null; _u0b.__proto__ = _u0c; } || function(_u0e, _u0f) { var _u0g = null; for (var _u0h in _u0f) Object.prototype.hasOwnProperty.call(_u0f, _u0h) && (_u0e[_u0h] = _u0f[_u0h]); }, _u06(_u08, _u09); }, function(_u0i, _u0j) { var _u0k = null; if ('function' != typeof _u0j && null !== _u0j) throw new TypeError('Class extends value ' + String(_u0j) + ' is not a constructor or null'); function _u0l() { var _u0m = null; this.constructor = _u0i; } _u06(_u0i, _u0j), _u0i.prototype = null === _u0j ? Object.create(_u0j) : (_u0l.prototype = _u0j.prototype, new _u0l()); }), _u0n = this && this.__importDefault || function(_u0o) { var _u0p = null; return _u0o && _u0o.__esModule ? _u0o : { 'default': _u0o }; }; defineModule(_u03); Object.defineProperty(_u03, '__esModule', { 'value': !0 }), _u03.RecieveMultiAnimation = void 0; var _u0q = _u0n(_u04(21359)), _u0r = _u04(79899), _u0s = _u04(91936), _u0t = _u04(45054), _u0u = _u04(54011), _u0v = _u04(31000), _u0w = _u04(89211), _u0x = _u04(35380), _u0y = function(_u0z) { var _u10 = null; function _u11() { var _u12 = null, _u13 = _u0z.call(this) || this; _u13._clickGuard = new _u0r.AreaBox(0), _u13.addChild(_u13._clickGuard), _u13._bg = new _u0s.GetBG(), _u13._card_center = new _u0t.Container(); var _u14 = new PIXI.Sprite(_u0v.ARSENAL_ANIMATION.getTexture(6)); _u14.x = -_u14.width / 2, _u14.y = -_u14.height / 2, _u13._card_center.addChild(_u14), _u13._card_left = new _u0t.Container(); var _u15 = new PIXI.Sprite(_u0v.ARSENAL_ANIMATION.getTexture(6)); _u15.x = -_u15.width / 2, _u15.y = -_u15.height / 2, _u13._card_left.addChild(_u15), _u13._card_right = new _u0t.Container(); var _u16 = new PIXI.Sprite(_u0v.ARSENAL_ANIMATION.getTexture(6)); return _u16.x = -_u16.width / 2, _u16.y = -_u16.height / 2, _u13._card_right.addChild(_u16), _u13._cards = new _u0t.Container(), (_u13._card_left.position.x = -_u13._card_left.width / 2 - _u13._card_center.width / 2 - 30, _u13._card_right.position.x = _u13._card_right.width / 2 + _u13._card_center.width / 2 + 30, _u13._cards.addChild(_u13._card_center, _u13._card_left, _u13._card_right), _u13._bigflash_center = new _u0u.Sprite(_u0v.ARSENAL_ANIMATION.getTexture(0)), _u13._bigflash_left = new _u0u.Sprite(_u0v.ARSENAL_ANIMATION.getTexture(0)), _u13._bigflash_right = new _u0u.Sprite(_u0v.ARSENAL_ANIMATION.getTexture(0)), _u13._particles_center = new _u0w.ScatterCircleParticle(), _u13._particles_left = new _u0w.ScatterCircleParticle(), _u13._particles_right = new _u0w.ScatterCircleParticle(), _u13._white = new _u0r.AreaBox(1, 16777215), _u13._tweens = [], _u13); } return _u07(_u11, _u0z), _u11.prototype.preload = function(_u17) { var _u18 = null; this._bg.initiailzeGetBG1(function() { null != _u17 && _u17(); }); }, _u11.prototype.play = function(_u19) { var _u1a = null, _u1b = this; this._cb_onComplete = _u19; var _u1c = new _u0r.AreaBox(0); _u1c.buttonMode = !0, this.addChild(_u1c), _u1c.once(_u0x.EventType.CLICK, function() { var _u1d = null; null != _u1b._cb_onComplete && _u1b._cb_onComplete(); }), this._bg.alpha = 0, this.addChild(this._bg), createjs.Tween.get(this._bg).to({ 'alpha': 1 }, 100).call(function() { var _u1e = null; _u1b._01_flyCard(); }); }, _u11.prototype._01_flyCard = function() { var _u1f = null, _u1g = this; this._cards.position.set(_u0q.default.width / 2, _u0q.default.height / 2 + 540), this._cards.alpha = 0, this._cards.scale.set(0), this.addChild(this._cards); var _u1h = createjs.Tween.get(this._cards).to({ 'y': _u0q.default.height / 2 - 660, 'scaleX': 0.57, 'scaleY': 0.57, 'alpha': 1 }, 700).to({ 'y': _u0q.default.height / 2, 'scaleX': 1, 'scaleY': 1 }, 500).call(function() { var _u1i = null; _u1g._02_light(); }); this._tweens.push(_u1h); }, _u11.prototype._02_light = function() { var _u1j = null, _u1k = this; this._bigflash_center.x = _u0q.default.width / 2, this._bigflash_center.y = _u0q.default.height / 2, this._bigflash_center.scale.set(0), this._bigflash_center.anchor.set(0.5, 0.5), this.addChild(this._bigflash_center), this._bigflash_left.x = _u0q.default.width / 2 + this._card_left.x, this._bigflash_left.y = _u0q.default.height / 2, this._bigflash_left.scale.set(0), this._bigflash_left.anchor.set(0.5, 0.5), this.addChild(this._bigflash_left), this._bigflash_right.x = _u0q.default.width / 2 + this._card_right.x, this._bigflash_right.y = _u0q.default.height / 2, this._bigflash_right.scale.set(0), this._bigflash_right.anchor.set(0.5, 0.5), this.addChild(this._bigflash_right); var _u1l = createjs.Tween.get(this._bigflash_center).to({ 'scaleX': 3.3, 'scaleY': 3.3 }, 300).to({ 'scaleX': 2, 'scaleY': 2 }, 1700), _u1m = createjs.Tween.get(this._bigflash_left).to({ 'scaleX': 3.3, 'scaleY': 3.3 }, 300).to({ 'scaleX': 2, 'scaleY': 2 }, 1700), _u1n = createjs.Tween.get(this._bigflash_right).to({ 'scaleX': 3.3, 'scaleY': 3.3 }, 300).to({ 'scaleX': 2, 'scaleY': 2 }, 1700); this._tweens.push(_u1l, _u1m, _u1n); var _u1o = createjs.Tween.get(null).wait(1500).call(function() { var _u1p = null; _u1k._particles_center.x = _u0q.default.width / 2, _u1k._particles_center.y = _u0q.default.height / 2, _u1k.addChild(_u1k._particles_center), _u1k._tweens.push(_u1k._particles_center.play()), _u1k._particles_left.x = _u0q.default.width / 2 + _u1k._card_left.x, _u1k._particles_left.y = _u0q.default.height / 2, _u1k.addChild(_u1k._particles_left), _u1k._tweens.push(_u1k._particles_left.play()), _u1k._particles_right.x = _u0q.default.width / 2 + _u1k._card_right.x, _u1k._particles_right.y = _u0q.default.height / 2, _u1k.addChild(_u1k._particles_right), _u1k._tweens.push(_u1k._particles_right.play()); }).wait(2000).call(function() { var _u1q = null; _u1k._03_whiteIn(); }); this._tweens.push(_u1o); }, _u11.prototype._03_whiteIn = function() { var _u1r = null, _u1s = this; this._white.alpha = 0, this.addChild(this._white); var _u1t = createjs.Tween.get(this._white).to({ 'alpha': 1 }, 250).call(function() { var _u1u = null; null != _u1s._cb_onComplete && _u1s._cb_onComplete(); }); this._tweens.push(_u1t); }, _u11.prototype.dispose = function() { var _u1v = null; this._cb_onComplete = null, this._removeTweens(), this.removeChildren(), this._clickGuard = null, this._bg = null, this._cards.removeChildren(), this._cards = null, this._card_center.destroy(), this._card_center = null, this._card_right.destroy(), this._card_right = null, this._card_left.destroy(), this._card_left = null, this._bigflash_center.destroy(), this._bigflash_center = null, this._bigflash_left.destroy(), this._bigflash_left = null, this._bigflash_right.destroy(), this._bigflash_right = null, this._particles_center.destroy(), this._particles_center = null, this._particles_left.destroy(), this._particles_left = null, this._particles_right.destroy(), this._particles_right = null, this._white.destroy(), this._white = null; }, _u11.prototype._removeTweens = function() { var _u1w = null; if (null != this._tweens) { for (var _u1x = 0, _u1y = this._tweens; _u1x < _u1y.length; _u1x++) { _u1y[_u1x].setPaused(!0); } this._tweens = null; } }, _u11; }(PIXI.Container); _u03.RecieveMultiAnimation = _u0y; }, 75273: function(_u1z, _u20, _u21) { 'use strict'; var _u22 = null; var _u23, _u24 = this && this.__extends || (_u23 = function(_u25, _u26) { var _u27 = null; return _u23 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_u28, _u29) { var _u2a = null; _u28.__proto__ = _u29; } || function(_u2b, _u2c) { var _u2d = null; for (var _u2e in _u2c) Object.prototype.hasOwnProperty.call(_u2c, _u2e) && (_u2b[_u2e] = _u2c[_u2e]); }, _u23(_u25, _u26); }, function(_u2f, _u2g) { var _u2h = null; if ('function' != typeof _u2g && null !== _u2g) throw new TypeError('Class extends value ' + String(_u2g) + ' is not a constructor or null'); function _u2i() { var _u2j = null; this.constructor = _u2f; } _u23(_u2f, _u2g), _u2f.prototype = null === _u2g ? Object.create(_u2g) : (_u2i.prototype = _u2g.prototype, new _u2i()); }), _u2k = this && this.__importDefault || function(_u2l) { var _u2m = null; return _u2l && _u2l.__esModule ? _u2l : { 'default': _u2l }; }; defineModule(_u20); Object.defineProperty(_u20, '__esModule', { 'value': !0 }), _u20.RewardAnimation = void 0; var _u2n = _u2k(_u21(21359)), _u2o = _u21(79899), _u2p = _u21(7344), _u2q = _u21(43472), _u2r = _u21(27510), _u2s = _u21(73461), _u2t = _u21(35380), _u2u = function(_u2v) { var _u2w = null; function _u2x() { var _u2y = null, _u2z = _u2v.call(this) || this; return _u2z._message = '', _u2z._clickGuard = new _u2o.AreaBox(0), _u2z._rarityBG = new _u2q.RarityBG(), _u2z._target = new PIXI.Sprite(), _u2z._materialCircleRollAnimation = new _u2s.MaterialCircleRollAnimation(), _u2z._materialCircleRollAnimation.x = _u2n.default.width / 2, _u2z._materialCircleRollAnimation.y = _u2n.default.height / 2, _u2z._messageBox = new _u2r.MessageBox(), _u2z._gearBtnHome = new _u2p.GearBtnHome(), _u2z._gearBtnHome.position.set(1140, 660), _u2z._gearBtnHome.initialize(), _u2z._white = new _u2o.AreaBox(1, 16777215), _u2z; } return _u24(_u2x, _u2v), _u2x.prototype.play = function(_u30, _u31) { var _u32 = null; this._cb_onWhiteOut = _u30, this._cb_onComplete = _u31, this.addChild(this._clickGuard), this.addChild(this._rarityBG), this.addChild(this._target), this.addChild(this._materialCircleRollAnimation), this._01_whiteOut(); }, _u2x.prototype._01_whiteOut = function() { var _u33 = null, _u34 = this; this._materialCircleRollAnimation.play(), this.addChild(this._white), createjs.Tween.get(this._white).to({ 'alpha': 0 }, 500).call(function() { var _u35 = null; _u34.removeChild(_u34._white), _u34._02_showMessageBox(); }); }, _u2x.prototype._02_showMessageBox = function() { var _u36 = null, _u37 = this; this._messageBox.y = _u2n.default.height, this.addChild(this._messageBox), createjs.Tween.get(this._messageBox).to({ 'y': 480 }, 300, createjs.Ease.cubicOut).call(function() { var _u38 = null; _u37._gearBtnHome.activate(), _u37.addChild(_u37._gearBtnHome), _u37._messageBox.activate(), _u37._03_waitClick(); }); }, _u2x.prototype._03_waitClick = function() { var _u39 = null, _u3a = this, _u3b = new _u2o.AreaBox(0); _u3b.buttonMode = !0, this.addChild(_u3b), _u3b.once(_u2t.EventType.CLICK, function() { var _u3c = null; _u3a._04_whiteInOut(); }); }, _u2x.prototype._04_whiteInOut = function() { var _u3d = null, _u3e = this; this._white.alpha = 0, this.addChild(this._white), createjs.Tween.get(this._white).to({ 'alpha': 1 }, 100).call(function() { var _u3f = null; _u3e.removeChild(_u3e._rarityBG), _u3e.removeChild(_u3e._target), _u3e.removeChild(_u3e._materialCircleRollAnimation), _u3e.removeChild(_u3e._messageBox), _u3e._messageBox.deactivate(), _u3e.removeChild(_u3e._gearBtnHome), _u3e._gearBtnHome.deactivate(), null != _u3e._cb_onWhiteOut && _u3e._cb_onWhiteOut(); }).to({ 'alpha': 0 }, 500).call(function() { var _u3g = null; _u3e.removeChild(_u3e._white), null != _u3e._cb_onComplete && _u3e._cb_onComplete(); }); }, _u2x.prototype.dispose = function() { var _u3h = null; this._cb_onWhiteOut = null, this._cb_onComplete = null, this.removeChildren(), this._clickGuard = null, this._rarityBG.dispose(), this._rarityBG = null, this._target = null, this._materialCircleRollAnimation.dispose(), this._materialCircleRollAnimation = null, this._messageBox.dispose(), this._messageBox = null, this._gearBtnHome.dispose(), this._gearBtnHome = null, this._white = null; }, _u2x; }(PIXI.Container); _u20.RewardAnimation = _u2u; }, 31930: function(_u3i, _u3j, _u3k) { 'use strict'; var _u3l = null; var _u3m, _u3n = this && this.__extends || (_u3m = function(_u3o, _u3p) { var _u3q = null; return _u3m = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_u3r, _u3s) { var _u3t = null; _u3r.__proto__ = _u3s; } || function(_u3u, _u3v) { var _u3w = null; for (var _u3x in _u3v) Object.prototype.hasOwnProperty.call(_u3v, _u3x) && (_u3u[_u3x] = _u3v[_u3x]); }, _u3m(_u3o, _u3p); }, function(_u3y, _u3z) { var _u40 = null; if ('function' != typeof _u3z && null !== _u3z) throw new TypeError('Class extends value ' + String(_u3z) + ' is not a constructor or null'); function _u41() { var _u42 = null; this.constructor = _u3y; } _u3m(_u3y, _u3z), _u3y.prototype = null === _u3z ? Object.create(_u3z) : (_u41.prototype = _u3z.prototype, new _u41()); }), _u43 = this && this.__importDefault || function(_u44) { var _u45 = null; return _u44 && _u44.__esModule ? _u44 : { 'default': _u44 }; }; defineModule(_u3j); Object.defineProperty(_u3j, '__esModule', { 'value': !0 }), _u3j.RewardAnimationMultiSlot = void 0; var _u46 = _u43(_u3k(21359)), _u47 = _u43(_u3k(18622)), _u48 = _u3k(37760), _u49 = _u3k(73461), _u4a = _u3k(79899), _u4b = _u3k(57257), _u4c = _u3k(27510), _u4d = _u3k(35380), _u4e = _u3k(31000), _u4f = function(_u4g) { var _u4h = null; function _u4i() { var _u4j = null, _u4k = _u4g.call(this) || this; return _u4k._message = '', _u4k._targetMulti = [], _u4k._clickGuard = new _u4a.AreaBox(0), _u4k._rarityBG = new _u4b.RarityBG(), _u4k._target = new PIXI.Sprite(), _u4k._materialCircleRollAnims = [], _u4k._messageBox = new _u4c.MessageBox(), _u4k._gearBtnHome = new _u4b.GearBtnHome(), _u4k._gearBtnHome.position.set(1140, 660), _u4k._gearBtnHome.initialize(), _u4k._white = new _u4a.AreaBox(1, 16777215), _u4k; } return _u3n(_u4i, _u4g), _u4i.prototype.preload = function(_u4l, _u4m, _u4n, _u4o) { var _u4p = null, _u4q = this; this._message = _u4m; var _u4r = new _u48.SlotLoader(), _u4s = _u4l.filter(function(_u4t) { return _u4t > 0; }); null == _u4s || _u4s.forEach(function(_u4u) { var _u4v = null; return _u4r.add(_u4u, 'card'); }), _u4r.load(function() { var _u4w = null; for (var _u4x = 0; _u4x < 3; _u4x++) { _u4q._targetMulti.push(new PIXI.Sprite()); var _u4y = void 0; _u4l[_u4x] > 0 ? (_u4q._targetMulti[_u4x].texture = _u47.default.resources.getSlotitem(_u4l[_u4x], 'card'), _u4y = 0.8) : (_u4q._targetMulti[_u4x].texture = _u4e.ARSENAL_ANIMATION.getTexture(1), _u4y = 1), _u4q._targetMulti[_u4x].anchor.set(0, 0.5); var _u4z = _u4q._targetMulti[_u4x].width * _u4y; _u4q._targetMulti[_u4x].x = _u46.default.width / 2 - (3 * _u4z + 60) / 2 + _u4x * (_u4z + 30), _u4q._targetMulti[_u4x].y = 261, _u4q._targetMulti[_u4x].scale.set(_u4y); var _u50 = _u4l[_u4x] > 0 ? new _u49.MaterialCircleRollAnimation() : null; null == _u50 || _u50.position.set(_u4q._targetMulti[_u4x].x + _u4z / 2, _u46.default.height / 2), _u4q._materialCircleRollAnims.push(_u50); } _u4q._rarityBG.initiailzeForSlotitem(_u4n, function() { var _u51 = null; _u4q._messageBox.initialize(_u4q._message), null != _u4o && _u4o(); }); }); }, _u4i.prototype.play = function(_u52, _u53) { var _u54 = null, _u55, _u56 = this; this._cb_onWhiteOut = _u52, this._cb_onComplete = _u53, this.addChild(this._clickGuard), this.addChild(this._rarityBG), this._targetMulti.length > 0 ? this._targetMulti.forEach(function(_u57) { var _u58 = null; return _u56.addChild(_u57); }) : (this._gearBtnHome.visible = !1, this.addChild(this._target)), null === (_u55 = this._materialCircleRollAnims) || void 0 === _u55 || _u55.forEach(function(_u59) { var _u5a = null; null != _u59 && _u56.addChild(_u59); }), this._01_whiteOut(); }, _u4i.prototype._01_whiteOut = function() { var _u5b = null, _u5c, _u5d = this; null === (_u5c = this._materialCircleRollAnims) || void 0 === _u5c || _u5c.forEach(function(_u5e) { var _u5f = null; return null == _u5e ? void 0 : _u5e.play(); }), this.addChild(this._white), createjs.Tween.get(this._white).to({ 'alpha': 0 }, 500).call(function() { var _u5g = null; _u5d.removeChild(_u5d._white), _u5d._02_showMessageBox(); }); }, _u4i.prototype._02_showMessageBox = function() { var _u5h = null, _u5i = this; this._messageBox.y = _u46.default.height, this.addChild(this._messageBox), createjs.Tween.get(this._messageBox).to({ 'y': 480 }, 300, createjs.Ease.cubicOut).call(function() { var _u5j = null; _u5i._gearBtnHome.activate(), _u5i.addChild(_u5i._gearBtnHome), _u5i._messageBox.text = _u5i._message, _u5i._messageBox.textCentering(), _u5i._03_waitClick(); }); }, _u4i.prototype._03_waitClick = function() { var _u5k = null, _u5l = this, _u5m = new _u4a.AreaBox(0); _u5m.buttonMode = !0, this.addChild(_u5m), _u5m.once(_u4d.EventType.CLICK, function() { var _u5n = null; _u5l._04_whiteInOut(); }); }, _u4i.prototype._04_whiteInOut = function() { var _u5o = null, _u5p = this; this._white.alpha = 0, this.addChild(this._white), createjs.Tween.get(this._white).to({ 'alpha': 1 }, 100).call(function() { var _u5q = null, _u5r, _u5s; _u5p.removeChild(_u5p._rarityBG), _u5p.removeChild(_u5p._target), null === (_u5r = _u5p._materialCircleRollAnims) || void 0 === _u5r || _u5r.forEach(function(_u5t) { var _u5u = null; null != _u5t && _u5p.removeChild(_u5t); }), _u5p.removeChild(_u5p._messageBox), _u5p._messageBox.deactivate(), _u5p.removeChild(_u5p._gearBtnHome), _u5p._gearBtnHome.deactivate(), null != _u5p._cb_onWhiteOut && _u5p._cb_onWhiteOut(), null === (_u5s = _u5p._targetMulti) || void 0 === _u5s || _u5s.forEach(function(_u5v) { var _u5w = null; return _u5p.removeChild(_u5v); }); }).to({ 'alpha': 0 }, 500).call(function() { var _u5x = null; _u5p.removeChild(_u5p._white), null != _u5p._cb_onComplete && _u5p._cb_onComplete(); }); }, _u4i.prototype.dispose = function() { var _u5y = null, _u5z; this._cb_onWhiteOut = null, this._cb_onComplete = null, this.removeChildren(), this._clickGuard = null, this._rarityBG.dispose(), this._rarityBG = null, this._target = null, null === (_u5z = this._materialCircleRollAnims) || void 0 === _u5z || _u5z.forEach(function(_u60) { var _u61 = null; return null == _u60 ? void 0 : _u60.dispose(); }), this._materialCircleRollAnims.length = 0, this._materialCircleRollAnims = null, this._messageBox.dispose(), this._messageBox = null, this._gearBtnHome.dispose(), this._gearBtnHome = null, this._white = null, this._targetMulti = null; }, _u4i; }(PIXI.Container); _u3j.RewardAnimationMultiSlot = _u4f; }, 47600: function(_u62, _u63, _u64) { 'use strict'; var _u65 = null; var _u66, _u67 = this && this.__extends || (_u66 = function(_u68, _u69) { var _u6a = null; return _u66 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_u6b, _u6c) { var _u6d = null; _u6b.__proto__ = _u6c; } || function(_u6e, _u6f) { var _u6g = null; for (var _u6h in _u6f) Object.prototype.hasOwnProperty.call(_u6f, _u6h) && (_u6e[_u6h] = _u6f[_u6h]); }, _u66(_u68, _u69); }, function(_u6i, _u6j) { var _u6k = null; if ('function' != typeof _u6j && null !== _u6j) throw new TypeError('Class extends value ' + String(_u6j) + ' is not a constructor or null'); function _u6l() { var _u6m = null; this.constructor = _u6i; } _u66(_u6i, _u6j), _u6i.prototype = null === _u6j ? Object.create(_u6j) : (_u6l.prototype = _u6j.prototype, new _u6l()); }), _u6n = this && this.__importDefault || function(_u6o) { var _u6p = null; return _u6o && _u6o.__esModule ? _u6o : { 'default': _u6o }; }; defineModule(_u63); Object.defineProperty(_u63, '__esModule', { 'value': !0 }), _u63.RewardAnimationMultiSlotFailed = void 0; var _u6q = _u6n(_u64(21359)), _u6r = _u64(79899), _u6s = _u64(7344), _u6t = _u64(27510), _u6u = _u64(31000), _u6v = _u64(31000), _u6w = _u64(31000), _u6x = _u64(35380), _u6y = function(_u6z) { var _u70 = null; function _u71() { var _u72 = null, _u73 = _u6z.call(this) || this; _u73._clickGuard = new _u6r.AreaBox(0), _u73._bg_itemlost = new PIXI.Sprite(_u6v.COMMON_ANIMATION.getTexture(0)), _u73._messageBox = new _u6t.MessageBox(!1), _u73._gearBtnHome = new _u6s.GearBtnHome(), _u73._gearBtnHome.initialize(), _u73._gearBtnHome.x = 1140, _u73._gearBtnHome.y = 660, _u73._white = new _u6r.AreaBox(1, 16777215), _u73._penguins = []; for (var _u74 = 0; _u74 < 3; _u74++) { _u73._penguins.push(new PIXI.Sprite()), _u73._penguins[_u74].texture = _u6u.ARSENAL_ANIMATION.getTexture(1), _u73._penguins[_u74].anchor.set(0, 0.5); var _u75 = _u73._penguins[_u74].width; _u73._penguins[_u74].x = _u6q.default.width / 2 - (3 * _u75 + 60) / 2 + _u74 * (_u75 + 30), _u73._penguins[_u74].y = 261; } return _u73; } return _u67(_u71, _u6z), _u71.prototype.play = function(_u76) { var _u77 = null, _u78 = this; this._cb_onComplete = _u76, this.addChild(this._clickGuard), this.addChild(this._bg_itemlost), this._penguins.forEach(function(_u79) { var _u7a = null; return _u78.addChild(_u79); }), this.addChild(this._white), this._01_whiteOut(); }, _u71.prototype._01_whiteOut = function() { var _u7b = null, _u7c = this; createjs.Tween.get(this._white).to({ 'alpha': 0 }, 500).call(function() { var _u7d = null; _u7c.removeChild(_u7c._white), _u7c._02_typeMessage(); }); }, _u71.prototype._02_typeMessage = function() { var _u7e = null, _u7f = this, _u7g = '装備の開発に失敗しました……。\n\n '; this._messageBox.initialize(_u7g), this._messageBox.y = _u6q.default.height, this.addChild(this._messageBox), createjs.Tween.get(this._messageBox).to({ 'y': 480 }, 500, createjs.Ease.cubicOut).call(function() { var _u7h = null; _u7f._gearBtnHome.activate(), _u7f.addChild(_u7f._gearBtnHome), _u6u.SE.play('247'), _u7f._icon_m8 = new PIXI.Sprite(_u6w.ARSENAL_MAIN.getTexture(74)), _u7f._icon_m8.position.set(249, 640), _u7f.addChild(_u7f._icon_m8), _u7f._messageBox.text = _u7g + '『開発資材』は消耗しませんでした。', _u7f._03_waitClick(); }); }, _u71.prototype._03_waitClick = function() { var _u7i = null, _u7j = this, _u7k = new _u6r.AreaBox(0); _u7k.buttonMode = !0, this.addChild(_u7k), _u7k.once(_u6x.EventType.CLICK, function() { var _u7l = null; _u7j.removeChild(_u7k), _u7j._04_whiteInOut(); }); }, _u71.prototype._04_whiteInOut = function() { var _u7m = null, _u7n = this; this._white.alpha = 0, this.addChild(this._white), createjs.Tween.get(this._white).to({ 'alpha': 1 }, 250).call(function() { var _u7o = null; _u7n.removeChild(_u7n._bg_itemlost), _u7n._penguins.forEach(function(_u7p) { var _u7q = null; return _u7n.removeChild(_u7p); }), _u7n.removeChild(_u7n._icon_m8), _u7n._messageBox.deactivate(), _u7n.removeChild(_u7n._messageBox), _u7n._gearBtnHome.deactivate(), _u7n.removeChild(_u7n._gearBtnHome); }).to({ 'alpha': 0 }, 250).call(function() { var _u7r = null; _u7n.removeChild(_u7n._white), null != _u7n._cb_onComplete && _u7n._cb_onComplete(); }); }, _u71.prototype.dispose = function() { var _u7s = null; this._cb_onComplete = null, this.removeChildren(), this._clickGuard = null, this._bg_itemlost = null, this._penguins.length = 0, this._penguins = null, this._messageBox.dispose(), this._messageBox = null, this._gearBtnHome.dispose(), this._gearBtnHome = null, this._icon_m8 = null, this._white = null; }, _u71; }(PIXI.Container); _u63.RewardAnimationMultiSlotFailed = _u6y; }, 85270: function(_u7t, _u7u, _u7v) { 'use strict'; var _u7w = null; var _u7x, _u7y = this && this.__extends || (_u7x = function(_u7z, _u80) { var _u81 = null; return _u7x = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_u82, _u83) { var _u84 = null; _u82.__proto__ = _u83; } || function(_u85, _u86) { var _u87 = null; for (var _u88 in _u86) Object.prototype.hasOwnProperty.call(_u86, _u88) && (_u85[_u88] = _u86[_u88]); }, _u7x(_u7z, _u80); }, function(_u89, _u8a) { var _u8b = null; if ('function' != typeof _u8a && null !== _u8a) throw new TypeError('Class extends value ' + String(_u8a) + ' is not a constructor or null'); function _u8c() { var _u8d = null; this.constructor = _u89; } _u7x(_u89, _u8a), _u89.prototype = null === _u8a ? Object.create(_u8a) : (_u8c.prototype = _u8a.prototype, new _u8c()); }), _u8e = this && this.__importDefault || function(_u8f) { var _u8g = null; return _u8f && _u8f.__esModule ? _u8f : { 'default': _u8f }; }; defineModule(_u7u); Object.defineProperty(_u7u, '__esModule', { 'value': !0 }), _u7u.RewardAnimationShip = void 0; var _u8h = _u8e(_u7v(21359)), _u8i = _u8e(_u7v(18622)), _u8j = _u7v(20137), _u8k = function(_u8l) { var _u8m = null; function _u8n() { var _u8o = null, _u8p = _u8l.call(this) || this; return _u8p._stype_name = '', _u8p._ship_name = '', _u8p; } return _u7y(_u8n, _u8l), _u8n.prototype.preloadFromMst = function(_u8q, _u8r) { var _u8s = null, _u8t = _u8i.default.model.ship_graph.get(_u8q.mstID).getCenterOffset(!1); this.preload(_u8q.mstID, _u8q.name, _u8q.shipTypeName, _u8q.message_text, _u8q.rarity, _u8t, _u8r); }, _u8n.prototype.preload = function(_u8u, _u8v, _u8w, _u8x, _u8y, _u8z, _u90) { var _u91 = null, _u92 = this; this._mst_id = _u8u, this._ship_name = _u8v, this._stype_name = _u8w, this._message = _u8x, new _u8j.ShipLoader().add(_u8u, !1, 'full').load(function() { var _u93 = null; _u92._target.texture = _u8i.default.resources.getShip(_u8u, !1, 'full'), _u92._target.x = _u8h.default.width / 2 - 379 + _u8z.x, _u92._target.y = _u8h.default.height / 2 - 418 + _u8z.y, _u92._rarityBG.initiailzeForShip(_u8y, function() { var _u94 = null; _u92._messageBox.initializeForShip(_u92._stype_name, _u92._ship_name, _u92._message), null != _u90 && _u90(); }); }); }, _u8n.prototype._03_waitClick = function() { var _u95 = null; _u8i.default.sound.voice.play(this._mst_id.toString(), 1), _u8l.prototype._03_waitClick.call(this); }, _u8n; }(_u7v(75273).RewardAnimation); _u7u.RewardAnimationShip = _u8k; }, 99469: function(_u96, _u97, _u98) { 'use strict'; var _u99 = null; var _u9a, _u9b = this && this.__extends || (_u9a = function(_u9c, _u9d) { var _u9e = null; return _u9a = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_u9f, _u9g) { var _u9h = null; _u9f.__proto__ = _u9g; } || function(_u9i, _u9j) { var _u9k = null; for (var _u9l in _u9j) Object.prototype.hasOwnProperty.call(_u9j, _u9l) && (_u9i[_u9l] = _u9j[_u9l]); }, _u9a(_u9c, _u9d); }, function(_u9m, _u9n) { var _u9o = null; if ('function' != typeof _u9n && null !== _u9n) throw new TypeError('Class extends value ' + String(_u9n) + ' is not a constructor or null'); function _u9p() { var _u9q = null; this.constructor = _u9m; } _u9a(_u9m, _u9n), _u9m.prototype = null === _u9n ? Object.create(_u9n) : (_u9p.prototype = _u9n.prototype, new _u9p()); }), _u9r = this && this.__importDefault || function(_u9s) { var _u9t = null; return _u9s && _u9s.__esModule ? _u9s : { 'default': _u9s }; }; defineModule(_u97); Object.defineProperty(_u97, '__esModule', { 'value': !0 }), _u97.RewardAnimationSlot = void 0; var _u9u = _u9r(_u98(21359)), _u9v = _u9r(_u98(18622)), _u9w = _u98(37760), _u9x = function(_u9y) { var _u9z = null; function _ua0() { var _ua1 = null; return _u9y.call(this) || this; } return _u9b(_ua0, _u9y), _ua0.prototype.preload = function(_ua2, _ua3, _ua4, _ua5) { var _ua6 = null, _ua7 = this; this._mst_id = _ua2, this._message = _ua3, new _u9w.SlotLoader().add(_ua2, 'card').load(function() { var _ua8 = null; _ua7._target.texture = _u9v.default.resources.getSlotitem(_ua2, 'card'), _ua7._target.x = _u9u.default.width / 2 - _ua7._target.width / 2, _ua7._target.y = 67, _ua7._rarityBG.initiailzeForSlotitem(_ua4, function() { var _ua9 = null; _ua7._messageBox.initialize(_ua7._message), null != _ua5 && _ua5(); }); }); }, _ua0; }(_u98(75273).RewardAnimation); _u97.RewardAnimationSlot = _u9x; }, 67716: function(_uaa, _uab, _uac) { 'use strict'; var _uad = null; var _uae, _uaf = this && this.__extends || (_uae = function(_uag, _uah) { var _uai = null; return _uae = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_uaj, _uak) { var _ual = null; _uaj.__proto__ = _uak; } || function(_uam, _uan) { var _uao = null; for (var _uap in _uan) Object.prototype.hasOwnProperty.call(_uan, _uap) && (_uam[_uap] = _uan[_uap]); }, _uae(_uag, _uah); }, function(_uaq, _uar) { var _uas = null; if ('function' != typeof _uar && null !== _uar) throw new TypeError('Class extends value ' + String(_uar) + ' is not a constructor or null'); function _uat() { var _uau = null; this.constructor = _uaq; } _uae(_uaq, _uar), _uaq.prototype = null === _uar ? Object.create(_uar) : (_uat.prototype = _uar.prototype, new _uat()); }), _uav = this && this.__importDefault || function(_uaw) { var _uax = null; return _uaw && _uaw.__esModule ? _uaw : { 'default': _uaw }; }; defineModule(_uab); Object.defineProperty(_uab, '__esModule', { 'value': !0 }), _uab.RewardAnimationSlotFailed = void 0; var _uay = _uav(_uac(21359)), _uaz = _uac(69100), _ub0 = _uac(85492), _ub1 = _uac(79899), _ub2 = _uac(50740), _ub3 = _uac(7344), _ub4 = _uac(27510), _ub5 = _uac(31000), _ub6 = _uac(31000), _ub7 = _uac(31000), _ub8 = _uac(98807), _ub9 = _uac(35380), _uba = function(_ubb) { var _ubc = null; function _ubd() { var _ube = null, _ubf = _ubb.call(this) || this; return _ubf._clickGuard = new _ub1.AreaBox(0), _ubf._bg_itemlost = new PIXI.Sprite(_ub6.COMMON_ANIMATION.getTexture(0)), _ubf._penguin = new _ub2.FailedPenguin(), _ubf._leafDashes = new _ub8.LeafDashes(), _ubf._obj_leaf = new PIXI.Sprite(_ub6.COMMON_ANIMATION.getTexture(1)), _ubf._obj_leaf.anchor.set(0.5, 0.5), _ubf._messageBox = new _ub4.MessageBox(!1), _ubf._gearBtnHome = new _ub3.GearBtnHome(), _ubf._gearBtnHome.initialize(), _ubf._gearBtnHome.x = 1140, _ubf._gearBtnHome.y = 660, _ubf._white = new _ub1.AreaBox(1, 16777215), _ubf._leafTween = _uaz.LeafAnimationUtil.LeafWithDashAnimation(_ubf._obj_leaf, _ubf._leafDashes.dashes, new PIXI.Point(0, 60)), _ubf._leafTween.setPaused(!0), _ubf; } return _uaf(_ubd, _ubb), _ubd.prototype.play = function(_ubg) { var _ubh = null; this._cb_onComplete = _ubg, this.addChild(this._clickGuard), this.addChild(this._bg_itemlost), this._penguin.light.alpha = 0, this._penguin.light_place.alpha = 0, this.addChild(this._penguin); for (var _ubi = 0; _ubi < this._leafDashes.dashes.length; _ubi++) { this._leafDashes.dashes[_ubi].alpha = 0; } this.addChild(this._leafDashes), this._obj_leaf.visible = !1, this.addChild(this._obj_leaf), this.addChild(this._white), this._01_whiteOut(); }, _ubd.prototype._01_whiteOut = function() { var _ubj = null, _ubk = this; createjs.Tween.get(this._white).to({ 'alpha': 0 }, 1000).call(function() { var _ubl = null; _ubk.removeChild(_ubk._white), _ubk._02_showFailedPenguin(); }); }, _ubd.prototype._02_showFailedPenguin = function() { var _ubm = null, _ubn, _ubo = this, _ubp = new _ub0.TweenTask(); _ubn = createjs.Tween.get(this._penguin.light).to({ 'alpha': 1 }, 300), _ubp.addTween(_ubn), _ubn = createjs.Tween.get(this._penguin.light_place).to({ 'alpha': 1 }, 300), _ubp.addTween(_ubn), _ubp.start(function() { var _ubq = null; _ubo._obj_leaf.visible = !0, _ubo._leafTween.setPosition(0, 1), _ubo._leafTween.setPaused(!1), _ubo._03_typeMessage(); }); }, _ubd.prototype._03_typeMessage = function() { var _ubr = null, _ubs = this; this._messageBox.initialize('装備の開発に失敗しました……。\n\n '), this._messageBox.y = _uay.default.height, this.addChild(this._messageBox), createjs.Tween.get(this._messageBox).to({ 'y': 480 }, 500, createjs.Ease.cubicOut).call(function() { var _ubt = null; _ubs._gearBtnHome.activate(), _ubs.addChild(_ubs._gearBtnHome), _ub5.SE.play('247'), _ubs._messageBox.activate(function() { var _ubu = null; _ubs._icon_m8 = new PIXI.Sprite(_ub7.ARSENAL_MAIN.getTexture(74)), _ubs._icon_m8.position.set(249, 640), _ubs.addChild(_ubs._icon_m8), _ubs._messageBox.append('『開発資材』は消耗しませんでした。'), _ubs._messageBox.activate(); }), _ubs._04_waitClick(); }); }, _ubd.prototype._04_waitClick = function() { var _ubv = null, _ubw = this, _ubx = new _ub1.AreaBox(0); _ubx.buttonMode = !0, this.addChild(_ubx), _ubx.once(_ub9.EventType.CLICK, function() { var _uby = null; _ubw.removeChild(_ubx), _ubw._05_whiteInOut(); }); }, _ubd.prototype._05_whiteInOut = function() { var _ubz = null, _uc0 = this; this._white.alpha = 0, this.addChild(this._white), createjs.Tween.get(this._white).to({ 'alpha': 1 }, 250).call(function() { var _uc1 = null; _uc0.removeChild(_uc0._bg_itemlost), _uc0.removeChild(_uc0._penguin), _uc0.removeChild(_uc0._leafDashes), _uc0.removeChild(_uc0._obj_leaf), _uc0.removeChild(_uc0._icon_m8), _uc0._messageBox.deactivate(), _uc0.removeChild(_uc0._messageBox), _uc0._gearBtnHome.deactivate(), _uc0.removeChild(_uc0._gearBtnHome); }).to({ 'alpha': 0 }, 250).call(function() { var _uc2 = null; _uc0.removeChild(_uc0._white), null != _uc0._cb_onComplete && _uc0._cb_onComplete(); }); }, _ubd.prototype.dispose = function() { var _uc3 = null; this._cb_onComplete = null, this.removeChildren(), createjs.Tween.removeTweens(this._leafTween.target), this._leafTween = null, this._clickGuard = null, this._bg_itemlost = null, this._penguin.dispose(), this._penguin = null, this._leafDashes.dispose(), this._leafDashes = null, this._obj_leaf = null, this._messageBox.dispose(), this._messageBox = null, this._gearBtnHome.dispose(), this._gearBtnHome = null, this._icon_m8 = null, this._white = null; }, _ubd; }(PIXI.Container); _uab.RewardAnimationSlotFailed = _uba; }, 80896: function(_uc4, _uc5, _uc6) { 'use strict'; var _uc7 = null; var _uc8, _uc9 = this && this.__extends || (_uc8 = function(_uca, _ucb) { var _ucc = null; return _uc8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ucd, _uce) { var _ucf = null; _ucd.__proto__ = _uce; } || function(_ucg, _uch) { var _uci = null; for (var _ucj in _uch) Object.prototype.hasOwnProperty.call(_uch, _ucj) && (_ucg[_ucj] = _uch[_ucj]); }, _uc8(_uca, _ucb); }, function(_uck, _ucl) { var _ucm = null; if ('function' != typeof _ucl && null !== _ucl) throw new TypeError('Class extends value ' + String(_ucl) + ' is not a constructor or null'); function _ucn() { var _uco = null; this.constructor = _uck; } _uc8(_uck, _ucl), _uck.prototype = null === _ucl ? Object.create(_ucl) : (_ucn.prototype = _ucl.prototype, new _ucn()); }), _ucp = this && this.__importDefault || function(_ucq) { var _ucr = null; return _ucq && _ucq.__esModule ? _ucq : { 'default': _ucq }; }; defineModule(_uc5); Object.defineProperty(_uc5, '__esModule', { 'value': !0 }), _uc5.CreateItemAPI = void 0; var _ucs = _ucp(_uc6(18622)), _uct = _uc6(58566), _ucu = _uc6(14921), _ucv = function(_ucw) { var _ucx = null; function _ucy(_ucz, _ud0, _ud1, _ud2, _ud3) { var _ud4 = null, _ud5 = _ucw.call(this) || this; return _ud5._url = 'api_req_kousyou/createitem', _ud5.api_item1 = _ucz, _ud5.api_item2 = _ud0, _ud5.api_item3 = _ud1, _ud5.api_item4 = _ud2, _ud5.multpleFlag = _ud3, _ud5._api_slotitem_memid = [], _ud5._api_slotitem_mstid = [], _ud5; } return _uc9(_ucy, _ucw), Object.defineProperty(_ucy.prototype, 'api_create_flag', { 'get': function() { var _ud6 = null; return this._api_create_flag; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_ucy.prototype, 'api_slotitem_memid', { 'get': function() { var _ud7 = null; return this._api_slotitem_memid; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_ucy.prototype, 'api_slotitem_mstid', { 'get': function() { var _ud8 = null; return this._api_slotitem_mstid; }, 'enumerable': !1, 'configurable': !0 }), _ucy.prototype._connect = function() { var _ud9 = null; this._post_data.api_item1 = this.api_item1, this._post_data.api_item2 = this.api_item2, this._post_data.api_item3 = this.api_item3, this._post_data.api_item4 = this.api_item4, this._post_data.api_multiple_flag = Number(this.multpleFlag), _ucw.prototype._connect.call(this); }, _ucy.prototype._completedEnd = function() { var _uda = null, _udb = this._raw_data.api_create_flag, _udc = this._raw_data.api_material; switch (_ucs.default.model.useItem.get(31).__setCount__(_udc[0]), _ucs.default.model.useItem.get(32).__setCount__(_udc[1]), _ucs.default.model.useItem.get(33).__setCount__(_udc[2]), _ucs.default.model.useItem.get(34).__setCount__(_udc[3]), _ucs.default.model.useItem.get(2).__setCount__(_udc[4]), _ucs.default.model.useItem.get(1).__setCount__(_udc[5]), _ucs.default.model.useItem.get(3).__setCount__(_udc[6]), _ucs.default.model.useItem.get(4).__setCount__(_udc[7]), _udb) { case 0: this._api_slotitem_memid = [-1, -1, -1], this._api_slotitem_mstid = [-1, -1, -1]; break; case 1: var _udd = _ucu.ObjUtil.getObjectArray(this._raw_data, 'api_get_items'); if (null != _udd) { for (var _ude = 0, _udf = _udd; _ude < _udf.length; _ude++) { var _udg = _udf[_ude]; this._api_slotitem_memid.push(_ucu.ObjUtil.getNumber(_udg, 'api_id')), this._api_slotitem_mstid.push(_ucu.ObjUtil.getNumber(_udg, 'api_slotitem_id')); } _ucs.default.model.slot.addMemData(_udd); } var _udh = _ucu.ObjUtil.getObjectArray(this._raw_data, 'api_unset_items'); if (null != _udh) for (var _udi = 0, _udj = _udh; _udi < _udj.length; _udi++) { var _udk = _udj[_udi], _udl = _ucu.ObjUtil.getNumber(_udk, 'api_type3'), _udm = _ucu.ObjUtil.getNumArray(_udk, 'api_slot_list'); _ucs.default.model.slot.updateUnsetData(_udl, _udm); } } this._api_create_flag = _udb, _ucw.prototype._completedEnd.call(this); }, _ucy; }(_uct.APIBase); _uc5.CreateItemAPI = _ucv; }, 39704: function(_udn, _udo, _udp) { 'use strict'; var _udq = null; var _udr, _uds = this && this.__extends || (_udr = function(_udt, _udu) { var _udv = null; return _udr = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_udw, _udx) { var _udy = null; _udw.__proto__ = _udx; } || function(_udz, _ue0) { var _ue1 = null; for (var _ue2 in _ue0) Object.prototype.hasOwnProperty.call(_ue0, _ue2) && (_udz[_ue2] = _ue0[_ue2]); }, _udr(_udt, _udu); }, function(_ue3, _ue4) { var _ue5 = null; if ('function' != typeof _ue4 && null !== _ue4) throw new TypeError('Class extends value ' + String(_ue4) + ' is not a constructor or null'); function _ue6() { var _ue7 = null; this.constructor = _ue3; } _udr(_ue3, _ue4), _ue3.prototype = null === _ue4 ? Object.create(_ue4) : (_ue6.prototype = _ue4.prototype, new _ue6()); }), _ue8 = this && this.__importDefault || function(_ue9) { var _uea = null; return _ue9 && _ue9.__esModule ? _ue9 : { 'default': _ue9 }; }; defineModule(_udo); Object.defineProperty(_udo, '__esModule', { 'value': !0 }), _udo.CreateShipAPI = void 0; var _ueb = _udp(58566), _uec = _ue8(_udp(18622)), _ued = function(_uee) { var _uef = null; function _ueg(_ueh, _uei, _uej, _uek, _uel, _uem, _uen, _ueo) { var _uep = null, _ueq = _uee.call(this) || this; return _ueq._url = 'api_req_kousyou/createship', _ueq.api_kdock_id = _ueh, _ueq.api_large_flag = _uei, _ueq.api_item1_fuel = _uej, _ueq.api_item2_ammo = _uek, _ueq.api_item3_steel = _uel, _ueq.api_item4_baux = _uem, _ueq.api_item5_devkit = _uen, _ueq.api_highspeed = _ueo, _ueq; } return _uds(_ueg, _uee), _ueg.prototype._connect = function() { var _uer = null; this._post_data.api_kdock_id = this.api_kdock_id, this._post_data.api_large_flag = this.api_large_flag, this._post_data.api_item1 = this.api_item1_fuel, this._post_data.api_item2 = this.api_item2_ammo, this._post_data.api_item3 = this.api_item3_steel, this._post_data.api_item4 = this.api_item4_baux, this._post_data.api_item5 = this.api_item5_devkit, this._post_data.api_highspeed = this.api_highspeed, _uee.prototype._connect.call(this); }, _ueg.prototype._completedEnd = function() { var _ues = null, _uet = _uec.default.model.useItem.get(31), _ueu = _uec.default.model.useItem.get(32), _uev = _uec.default.model.useItem.get(33), _uew = _uec.default.model.useItem.get(34), _uex = _uec.default.model.useItem.get(3), _uey = _uec.default.model.useItem.get(2); _uet.__setCount__(_uet.count - this.api_item1_fuel), _ueu.__setCount__(_ueu.count - this.api_item2_ammo), _uev.__setCount__(_uev.count - this.api_item3_steel), _uew.__setCount__(_uew.count - this.api_item4_baux), _uex.__setCount__(_uex.count - this.api_item5_devkit); var _uez = 0; 1 == this.api_highspeed && (_uez = 1 == this.api_large_flag ? 10 : 1), _uey.__setCount__(_uey.count - _uez), _uee.prototype._completedEnd.call(this); }, _ueg; }(_ueb.APIBase); _udo.CreateShipAPI = _ued; }, 93822: function(_uf0, _uf1, _uf2) { 'use strict'; var _uf3 = null; var _uf4, _uf5 = this && this.__extends || (_uf4 = function(_uf6, _uf7) { var _uf8 = null; return _uf4 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_uf9, _ufa) { var _ufb = null; _uf9.__proto__ = _ufa; } || function(_ufc, _ufd) { var _ufe = null; for (var _uff in _ufd) Object.prototype.hasOwnProperty.call(_ufd, _uff) && (_ufc[_uff] = _ufd[_uff]); }, _uf4(_uf6, _uf7); }, function(_ufg, _ufh) { var _ufi = null; if ('function' != typeof _ufh && null !== _ufh) throw new TypeError('Class extends value ' + String(_ufh) + ' is not a constructor or null'); function _ufj() { var _ufk = null; this.constructor = _ufg; } _uf4(_ufg, _ufh), _ufg.prototype = null === _ufh ? Object.create(_ufh) : (_ufj.prototype = _ufh.prototype, new _ufj()); }), _ufl = this && this.__importDefault || function(_ufm) { var _ufn = null; return _ufm && _ufm.__esModule ? _ufm : { 'default': _ufm }; }; defineModule(_uf1); Object.defineProperty(_uf1, '__esModule', { 'value': !0 }), _uf1.CreateShipSpeedChangeAPI = void 0; var _ufo = _uf2(58566), _ufp = _ufl(_uf2(18622)), _ufq = function(_ufr) { var _ufs = null; function _uft(_ufu, _ufv) { var _ufw = null, _ufx = _ufr.call(this) || this; return _ufx._url = 'api_req_kousyou/createship_speedchange', _ufx.api_kdock_id = _ufu, _ufx.isLarge = _ufv, _ufx; } return _uf5(_uft, _ufr), _uft.prototype._connect = function() { var _ufy = null; this._post_data.api_kdock_id = this.api_kdock_id, this._post_data.api_highspeed = 1, _ufr.prototype._connect.call(this); }, _uft.prototype._completedEnd = function() { var _ufz = null, _ug0 = _ufp.default.model.useItem.get(2), _ug1 = _ufp.default.model.kdock.get(this.api_kdock_id), _ug2 = this.isLarge ? 10 : 1; _ug0.__setCount__(_ug0.count - _ug2), _ug1.__complete__(), _ufr.prototype._completedEnd.call(this); }, _uft; }(_ufo.APIBase); _uf1.CreateShipSpeedChangeAPI = _ufq; }, 76590: function(_ug3, _ug4, _ug5) { 'use strict'; var _ug6 = null; var _ug7, _ug8 = this && this.__extends || (_ug7 = function(_ug9, _uga) { var _ugb = null; return _ug7 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ugc, _ugd) { var _uge = null; _ugc.__proto__ = _ugd; } || function(_ugf, _ugg) { var _ugh = null; for (var _ugi in _ugg) Object.prototype.hasOwnProperty.call(_ugg, _ugi) && (_ugf[_ugi] = _ugg[_ugi]); }, _ug7(_ug9, _uga); }, function(_ugj, _ugk) { var _ugl = null; if ('function' != typeof _ugk && null !== _ugk) throw new TypeError('Class extends value ' + String(_ugk) + ' is not a constructor or null'); function _ugm() { var _ugn = null; this.constructor = _ugj; } _ug7(_ugj, _ugk), _ugj.prototype = null === _ugk ? Object.create(_ugk) : (_ugm.prototype = _ugk.prototype, new _ugm()); }), _ugo = this && this.__importDefault || function(_ugp) { var _ugq = null; return _ugp && _ugp.__esModule ? _ugp : { 'default': _ugp }; }; defineModule(_ug4); Object.defineProperty(_ug4, '__esModule', { 'value': !0 }), _ug4.DestroyItem2API = void 0; var _ugr = _ug5(58566), _ugs = _ugo(_ug5(18622)), _ugt = function(_ugu) { var _ugv = null; function _ugw(_ugx) { var _ugy = null, _ugz = _ugu.call(this) || this; return _ugz._url = 'api_req_kousyou/destroyitem2', _ugz.api_slotitem_ids = _ugx, _ugz; } return _ug8(_ugw, _ugu), _ugw.prototype._connect = function() { var _uh0 = null; this._post_data.api_slotitem_ids = this.api_slotitem_ids.toString(), _ugu.prototype._connect.call(this); }, _ugw.prototype._completedEnd = function() { var _uh1 = null; for (var _uh2 = 0; _uh2 < this.api_slotitem_ids.length; _uh2++) { var _uh3 = this.api_slotitem_ids[_uh2]; _ugs.default.model.slot.delete(_uh3); } var _uh4 = this._raw_data.api_get_material, _uh5 = _ugs.default.model.useItem.get(31), _uh6 = _ugs.default.model.useItem.get(32), _uh7 = _ugs.default.model.useItem.get(33), _uh8 = _ugs.default.model.useItem.get(34); _uh5.__setCount__(_uh5.count + _uh4[0]), _uh6.__setCount__(_uh6.count + _uh4[1]), _uh7.__setCount__(_uh7.count + _uh4[2]), _uh8.__setCount__(_uh8.count + _uh4[3]), _ugu.prototype._completedEnd.call(this); }, _ugw; }(_ugr.APIBase); _ug4.DestroyItem2API = _ugt; }, 55842: function(_uh9, _uha, _uhb) { 'use strict'; var _uhc = null; var _uhd, _uhe = this && this.__extends || (_uhd = function(_uhf, _uhg) { var _uhh = null; return _uhd = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_uhi, _uhj) { var _uhk = null; _uhi.__proto__ = _uhj; } || function(_uhl, _uhm) { var _uhn = null; for (var _uho in _uhm) Object.prototype.hasOwnProperty.call(_uhm, _uho) && (_uhl[_uho] = _uhm[_uho]); }, _uhd(_uhf, _uhg); }, function(_uhp, _uhq) { var _uhr = null; if ('function' != typeof _uhq && null !== _uhq) throw new TypeError('Class extends value ' + String(_uhq) + ' is not a constructor or null'); function _uhs() { var _uht = null; this.constructor = _uhp; } _uhd(_uhp, _uhq), _uhp.prototype = null === _uhq ? Object.create(_uhq) : (_uhs.prototype = _uhq.prototype, new _uhs()); }), _uhu = this && this.__importDefault || function(_uhv) { var _uhw = null; return _uhv && _uhv.__esModule ? _uhv : { 'default': _uhv }; }; defineModule(_uha); Object.defineProperty(_uha, '__esModule', { 'value': !0 }), _uha.DestroyShipAPI = void 0; var _uhx = _uhu(_uhb(18622)), _uhy = _uhb(58566), _uhz = _uhb(89939), _ui0 = function(_ui1) { var _ui2 = null; function _ui3(_ui4, _ui5) { var _ui6 = null, _ui7 = _ui1.call(this) || this; return _ui7._url = 'api_req_kousyou/destroyship', _ui7.api_ship_ids = _ui4, _ui7.type = _ui5, _ui7; } return _uhe(_ui3, _ui1), _ui3.prototype._connect = function() { var _ui8 = null; this._post_data.api_ship_id = this.api_ship_ids.join(','), this._post_data.api_slot_dest_flag = this.type, _uhx.default.model.basic.setDestroyShipSlotType(this.type), _ui1.prototype._connect.call(this); }, _ui3.prototype._completedEnd = function() { var _ui9 = null, _uia = this._raw_data.api_material; _uhx.default.model.useItem.get(31).__setCount__(_uia[0]), _uhx.default.model.useItem.get(32).__setCount__(_uia[1]), _uhx.default.model.useItem.get(33).__setCount__(_uia[2]), _uhx.default.model.useItem.get(34).__setCount__(_uia[3]); var _uib = 0 === this.type; _uib && _uhx.default.model.slot.setUnsetData(_uhz.ObjUtil.getObject(this._raw_data, 'api_unset_list')); for (var _uic = 0, _uid = this.api_ship_ids.length; _uic < _uid; _uic++) { var _uie = this.api_ship_ids[_uic], _uif = _uhx.default.model.ship.get(_uie), _uig = _uhx.default.model.deck.isInDeck(_uie); if (_uig) { var _uih = _uig[0], _uii = _uig[1]; _uhx.default.model.deck.get(_uih).__remove__(_uii); } _uhx.default.model.ship.delete(_uif.memID, _uib); } _ui1.prototype._completedEnd.call(this); }, _ui3; }(_uhy.APIBase); _uha.DestroyShipAPI = _ui0; }, 19283: function(_uij, _uik, _uil) { 'use strict'; var _uim = null; var _uin, _uio = this && this.__extends || (_uin = function(_uip, _uiq) { var _uir = null; return _uin = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_uis, _uit) { var _uiu = null; _uis.__proto__ = _uit; } || function(_uiv, _uiw) { var _uix = null; for (var _uiy in _uiw) Object.prototype.hasOwnProperty.call(_uiw, _uiy) && (_uiv[_uiy] = _uiw[_uiy]); }, _uin(_uip, _uiq); }, function(_uiz, _uj0) { var _uj1 = null; if ('function' != typeof _uj0 && null !== _uj0) throw new TypeError('Class extends value ' + String(_uj0) + ' is not a constructor or null'); function _uj2() { var _uj3 = null; this.constructor = _uiz; } _uin(_uiz, _uj0), _uiz.prototype = null === _uj0 ? Object.create(_uj0) : (_uj2.prototype = _uj0.prototype, new _uj2()); }), _uj4 = this && this.__importDefault || function(_uj5) { var _uj6 = null; return _uj5 && _uj5.__esModule ? _uj5 : { 'default': _uj5 }; }; defineModule(_uik); Object.defineProperty(_uik, '__esModule', { 'value': !0 }), _uik.GetShipAPI = void 0; var _uj7 = _uj4(_uil(18622)), _uj8 = _uil(89939), _uj9 = function(_uja) { var _ujb = null; function _ujc(_ujd) { var _uje = null, _ujf = _uja.call(this) || this; return _ujf._url = 'api_req_kousyou/getship', _ujf.api_kdock_id = _ujd, _ujf; } return _uio(_ujc, _uja), Object.defineProperty(_ujc.prototype, 'ship', { 'get': function() { var _ujg = null; return this._ship; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_ujc.prototype, 'kDocks', { 'get': function() { var _ujh = null; return this._kDocks; }, 'enumerable': !1, 'configurable': !0 }), _ujc.prototype._connect = function() { var _uji = null; this._post_data.api_kdock_id = this.api_kdock_id, _uja.prototype._connect.call(this); }, _ujc.prototype._completedEnd = function() { var _ujj = null, _ujk = _uj8.ObjUtil.getObject(this._raw_data, 'api_ship'); this._ship = _uj7.default.model.ship.updateData(_ujk); var _ujl = _uj8.ObjUtil.getObjectArray(this._raw_data, 'api_slotitem'); _uj7.default.model.slot.addMemData(_ujl), this._kDocks = _uj8.ObjUtil.getObjectArray(this._raw_data, 'api_kdock'), _uja.prototype._completedEnd.call(this); }, _ujc; }(_uil(58566).APIBase); _uik.GetShipAPI = _uj9; }, 30570: function(_ujm, _ujn, _ujo) { 'use strict'; var _ujp = null; var _ujq, _ujr = this && this.__extends || (_ujq = function(_ujs, _ujt) { var _uju = null; return _ujq = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ujv, _ujw) { var _ujx = null; _ujv.__proto__ = _ujw; } || function(_ujy, _ujz) { var _uk0 = null; for (var _uk1 in _ujz) Object.prototype.hasOwnProperty.call(_ujz, _uk1) && (_ujy[_uk1] = _ujz[_uk1]); }, _ujq(_ujs, _ujt); }, function(_uk2, _uk3) { var _uk4 = null; if ('function' != typeof _uk3 && null !== _uk3) throw new TypeError('Class extends value ' + String(_uk3) + ' is not a constructor or null'); function _uk5() { var _uk6 = null; this.constructor = _uk2; } _ujq(_uk2, _uk3), _uk2.prototype = null === _uk3 ? Object.create(_uk3) : (_uk5.prototype = _uk3.prototype, new _uk5()); }), _uk7 = this && this.__importDefault || function(_uk8) { var _uk9 = null; return _uk8 && _uk8.__esModule ? _uk8 : { 'default': _uk8 }; }; defineModule(_ujn); Object.defineProperty(_ujn, '__esModule', { 'value': !0 }), _ujn.KDockAPI = void 0; var _uka = _uk7(_ujo(18622)), _ukb = function(_ukc) { var _ukd = null; function _uke() { var _ukf = null, _ukg = _ukc.call(this) || this; return _ukg._url = 'api_get_member/kdock', _ukg; } return _ujr(_uke, _ukc), _uke.prototype._completedEnd = function() { var _ukh = null; _uka.default.model.kdock.__setData__(this._raw_data), _ukc.prototype._completedEnd.call(this); }, _uke; }(_ujo(58566).APIBase); _ujn.KDockAPI = _ukb; }, 73882: function(_uki, _ukj, _ukk) { 'use strict'; var _ukl = null; var _ukm, _ukn = this && this.__extends || (_ukm = function(_uko, _ukp) { var _ukq = null; return _ukm = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ukr, _uks) { var _ukt = null; _ukr.__proto__ = _uks; } || function(_uku, _ukv) { var _ukw = null; for (var _ukx in _ukv) Object.prototype.hasOwnProperty.call(_ukv, _ukx) && (_uku[_ukx] = _ukv[_ukx]); }, _ukm(_uko, _ukp); }, function(_uky, _ukz) { var _ul0 = null; if ('function' != typeof _ukz && null !== _ukz) throw new TypeError('Class extends value ' + String(_ukz) + ' is not a constructor or null'); function _ul1() { var _ul2 = null; this.constructor = _uky; } _ukm(_uky, _ukz), _uky.prototype = null === _ukz ? Object.create(_ukz) : (_ul1.prototype = _ukz.prototype, new _ul1()); }), _ul3 = this && this.__importDefault || function(_ul4) { var _ul5 = null; return _ul4 && _ul4.__esModule ? _ul4 : { 'default': _ul4 }; }; defineModule(_ukj); Object.defineProperty(_ukj, '__esModule', { 'value': !0 }), _ukj.OpenNewDockAPI = void 0; var _ul6 = _ukk(58566), _ul7 = _ul3(_ukk(18622)), _ul8 = function(_ul9) { var _ula = null; function _ulb(_ulc) { var _uld = null, _ule = _ul9.call(this) || this; return _ule._url = 'api_req_kousyou/open_new_dock', _ule.kDockId = _ulc, _ule; } return _ukn(_ulb, _ul9), _ulb.prototype._completedEnd = function() { var _ulf = null, _ulg = _ul7.default.model.kdock.get(this.kDockId), _ulh = _ul7.default.model.useItem.get(49); _ulg.__open__(), _ulh.__setCount__(_ulh.count - 1), _ul9.prototype._completedEnd.call(this); }, _ulb; }(_ul6.APIBase); _ukj.OpenNewDockAPI = _ul8; }, 28669: (_uli, _ulj) => { 'use strict'; var _ulk = null; var _ull, _ulm; defineModule(_ulj); Object.defineProperty(_ulj, '__esModule', { 'value': !0 }), _ulj.DisassemblyTypeName = _ulj.DisassemblyTypeMessage = void 0, function(_uln) { var _ulo = null; _uln.HOKAN = { 'text': '装備がある場合、倉庫に保管されます。', 'color': 3564704, 'x': 40 }, _uln.KAITAI = { 'text': '装備がある場合、同時に解体されます。', 'color': 12467003, 'x': 105 }; }(_ull || (_ulj.DisassemblyTypeMessage = _ull = {})), function(_ulp) { var _ulq = null; _ulp.HOKAN = 'hokan', _ulp.KAITAI = 'kaitai', _ulp.BTN = 'btn'; }(_ulm || (_ulj.DisassemblyTypeName = _ulm = {})); }, 97088: function(_ulr, _uls, _ult) { 'use strict'; var _ulu = null; var _ulv, _ulw = this && this.__extends || (_ulv = function(_ulx, _uly) { var _ulz = null; return _ulv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_um0, _um1) { var _um2 = null; _um0.__proto__ = _um1; } || function(_um3, _um4) { var _um5 = null; for (var _um6 in _um4) Object.prototype.hasOwnProperty.call(_um4, _um6) && (_um3[_um6] = _um4[_um6]); }, _ulv(_ulx, _uly); }, function(_um7, _um8) { var _um9 = null; if ('function' != typeof _um8 && null !== _um8) throw new TypeError('Class extends value ' + String(_um8) + ' is not a constructor or null'); function _uma() { var _umb = null; this.constructor = _um7; } _ulv(_um7, _um8), _um7.prototype = null === _um8 ? Object.create(_um8) : (_uma.prototype = _um8.prototype, new _uma()); }), _umc = this && this.__importDefault || function(_umd) { var _ume = null; return _umd && _umd.__esModule ? _umd : { 'default': _umd }; }; defineModule(_uls); Object.defineProperty(_uls, '__esModule', { 'value': !0 }), _uls.InitializeTask = void 0; var _umf = _ult(37562), _umg = _umc(_ult(18622)), _umh = function(_umi) { var _umj = null; function _umk() { var _uml = null; return _umi.call(this) || this; } return _ulw(_umk, _umi), _umk.prototype._start = function() { var _umm = null; this._playBGM(); }, _umk.prototype._playBGM = function() { var _umn = null; _umg.default.sound.bgm.play(102), this._startScene(); }, _umk.prototype._startScene = function() { var _umo = null; this._endTask(); }, _umk; }(_umf.TaskBase); _uls.InitializeTask = _umh; }, 5201: function(_ump, _umq, _umr) { 'use strict'; var _ums = null; var _umt, _umu = this && this.__extends || (_umt = function(_umv, _umw) { var _umx = null; return _umt = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_umy, _umz) { var _un0 = null; _umy.__proto__ = _umz; } || function(_un1, _un2) { var _un3 = null; for (var _un4 in _un2) Object.prototype.hasOwnProperty.call(_un2, _un4) && (_un1[_un4] = _un2[_un4]); }, _umt(_umv, _umw); }, function(_un5, _un6) { var _un7 = null; if ('function' != typeof _un6 && null !== _un6) throw new TypeError('Class extends value ' + String(_un6) + ' is not a constructor or null'); function _un8() { var _un9 = null; this.constructor = _un5; } _umt(_un5, _un6), _un5.prototype = null === _un6 ? Object.create(_un6) : (_un8.prototype = _un6.prototype, new _un8()); }), _una = this && this.__importDefault || function(_unb) { var _unc = null; return _unb && _unb.__esModule ? _unb : { 'default': _unb }; }; defineModule(_umq); Object.defineProperty(_umq, '__esModule', { 'value': !0 }), _umq.PreInitializeTask = void 0; var _und = _una(_umr(18622)), _une = _umr(81755), _unf = _umr(72554), _ung = _umr(31000), _unh = _umr(31000), _uni = _umr(31000), _unj = function(_unk) { var _unl = null; function _unm(_unn) { var _uno = null, _unp = _unk.call(this) || this; return _unp._uploadTexture = function() { var _unq = null; _und.default.settings.renderer.plugins.prepare.upload(_uni.ARSENAL_ANIMATION.getTexture(0).baseTexture, function() { var _unr = null; _und.default.settings.renderer.plugins.prepare.upload(_unh.ARSENAL_MAIN.getTexture(0).baseTexture, function() { var _uns = null; _und.default.settings.renderer.plugins.prepare.upload(_ung.COMMON_SORT.getTexture(0).baseTexture, function() { var _unt = null; _unp.arsenalScene.start(), _unp.arsenalScene = null, _unp._endTask(); }); }); }); }, _unp.arsenalScene = _unn, _unp; } return _umu(_unm, _unk), _unm.prototype._start = function() { var _unu = null, _unv = this, _unw = _und.default.model.basic.getUISkinID(); new _unf.TaskLoadResourcesArsenal(_unw).start(function() { var _unx = null; _unv._uploadTexture(); }); }, _unm; }(_une.TaskBase); _umq.PreInitializeTask = _unj; }, 85330: function(_uny, _unz, _uo0) { 'use strict'; var _uo1 = null; var _uo2, _uo3 = this && this.__extends || (_uo2 = function(_uo4, _uo5) { var _uo6 = null; return _uo2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_uo7, _uo8) { var _uo9 = null; _uo7.__proto__ = _uo8; } || function(_uoa, _uob) { var _uoc = null; for (var _uod in _uob) Object.prototype.hasOwnProperty.call(_uob, _uod) && (_uoa[_uod] = _uob[_uod]); }, _uo2(_uo4, _uo5); }, function(_uoe, _uof) { var _uog = null; if ('function' != typeof _uof && null !== _uof) throw new TypeError('Class extends value ' + String(_uof) + ' is not a constructor or null'); function _uoh() { var _uoi = null; this.constructor = _uoe; } _uo2(_uoe, _uof), _uoe.prototype = null === _uof ? Object.create(_uof) : (_uoh.prototype = _uof.prototype, new _uoh()); }), _uoj = this && this.__importDefault || function(_uok) { var _uol = null; return _uok && _uok.__esModule ? _uok : { 'default': _uok }; }; defineModule(_unz); Object.defineProperty(_unz, '__esModule', { 'value': !0 }), _unz.TaskMultiDevelopAnimation = void 0; var _uom = _uo0(81755), _uon = _uo0(46138), _uoo = _uo0(31930), _uop = _uo0(22086), _uoq = _uoj(_uo0(18622)), _uor = _uo0(91936), _uos = _uo0(47600), _uot = function(_uou) { var _uov = null; function _uow(_uox, _uoy, _uoz) { var _up0 = null, _up1 = _uou.call(this) || this; return _up1._success = _uox, _up1._mstids = _uoy, _up1._multiple_bg = new _uor.GetBG(), _up1._onUpdateCondition = _uoz, _up1; } return _uo3(_uow, _uou), _uow.prototype._start = function() { var _up2 = null, _up3 = this; this._multiple_bg.initiailzeGetBG1(function() { var _up4 = null; _up3._multiple_bg.alpha = 0, _uoq.default.view.overLayer.addChild(_up3._multiple_bg), createjs.Tween.get(_up3._multiple_bg).to({ 'alpha': 1 }, 500).set({ 'visible': !0 }), _up3._recieveAnimation(), _uoq.default.view.clickGuard = !1; }); }, _uow.prototype._recieveAnimation = function() { var _up5 = null, _up6 = this; this._recieveAnim = new _uon.RecieveMultiAnimation(), _uoq.default.view.overLayer.addChild(this._recieveAnim), this._recieveAnim.preload(function() { var _up7 = null; _up6._recieveAnim.play(function() { var _up8 = null; _up6._success ? _up6._successRewardAnimation() : _up6._failedAnimation(); }); }); }, _uow.prototype._successRewardAnimation = function() { var _up9 = null, _upa = this; _uop.ArsenalUtil.playFlagshipVoice(26); var _upb = this._createSuccessInfo(), _upc = new _uoo.RewardAnimationMultiSlot(); _upc.preload(this._mstids, _upb.message, _upb.rarity, function() { var _upd = null; _uoq.default.view.overLayer.addChild(_upc), _uoq.default.view.overLayer.removeChild(_upa._multiple_bg), _uoq.default.view.overLayer.removeChild(_upa._recieveAnim), _upa._recieveAnim.dispose(), _upc.play(function() { var _upe = null; _uoq.default.view.portMain.updateInfo(); for (var _upf = _uop.ArsenalUtil.developLimit(), _upg = _uoq.default.model.kdock.getAll(), _uph = 0; _uph < _upg.length; _uph++) { var _upi = _upg[_uph]; _upa._onUpdateCondition(_upi.id, _upf.forShip, _upf.forSlot); } }, function() { var _upj = null; _uoq.default.view.overLayer.removeChild(_upc), _upc.dispose(), _upa._endTask(); }); }); }, _uow.prototype._createSuccessInfo = function() { var _upk = null; for (var _upl = '', _upm = 0, _upn = 0; _upn < this._mstids.length; _upn++) if (!(this._mstids[_upn] <= 0)) { var _upo = _uoq.default.model.slot.getMst(this._mstids[_upn]), _upp = _uoq.default.model.slot.getEquipTypeById(_upo.equipType), _upq = _upo.rarity; _upm < _upq && (_upm = _upq), _upp.needsDisplayName() ? _upl += '「' + _upp.name + ' ' + _upo.name + '」' : _upl += '「' + _upo.name + '」', _upl += '\x0a'; } return { 'message': _upl += 'を入手しました!', 'rarity': _upm }; }, _uow.prototype._failedAnimation = function() { var _upr = null, _ups = this, _upt = new _uos.RewardAnimationMultiSlotFailed(); _uoq.default.view.overLayer.addChild(_upt), _uoq.default.view.overLayer.removeChild(this._multiple_bg), _uoq.default.view.overLayer.removeChild(this._recieveAnim), this._recieveAnim.dispose(), _upt.play(function() { var _upu = null; _uoq.default.view.portMain.updateInfo(), _uoq.default.view.overLayer.removeChild(_upt), _upt.dispose(), _ups._endTask(); }); }, _uow.prototype._endTask = function() { var _upv = null, _upw; _uop.ArsenalUtil.playVoiceOnBuildComplete(), this._recieveAnim = null, null === (_upw = this._multiple_bg) || void 0 === _upw || _upw.dispose(), this._multiple_bg = null, _uou.prototype._endTask.call(this); }, _uow; }(_uom.TaskBase); _unz.TaskMultiDevelopAnimation = _uot; }, 22086: function(_upx, _upy, _upz) { 'use strict'; var _uq0 = null; var _uq1 = this && this.__importDefault || function(_uq2) { var _uq3 = null; return _uq2 && _uq2.__esModule ? _uq2 : { 'default': _uq2 }; }; defineModule(_upy); Object.defineProperty(_upy, '__esModule', { 'value': !0 }), _upy.ArsenalUtil = void 0; var _uq4 = _uq1(_upz(18622)), _uq5 = (function() { var _uq6 = null; function _uq7() {} return _uq7.playVoiceOnBuildComplete = function() { var _uq8 = null; _uq4.default.model.kdock.getAll().some(function(_uq9) { var _uqa = null; return 3 == _uq9.state; }) && this.playFlagshipVoice(5); }, _uq7.playFlagshipVoice = function(_uqb) { var _uqc = null, _uqd = _uq4.default.model.deck.get(1).getShipList()[0].mstID; _uq4.default.sound.voice.play(_uqd.toString(), _uqb); }, _uq7.developLimit = function() { var _uqe = null, _uqf = _uq4.default.model.basic.slotMax - _uq4.default.model.slot.num <= 3; return { 'forShip': _uq4.default.model.basic.shipMax <= _uq4.default.model.ship.num, 'forSlot': _uqf }; }, _uq7; }()); _upy.ArsenalUtil = _uq5; }, 97819: function(_uqg, _uqh, _uqi) { 'use strict'; var _uqj = null; var _uqk, _uql = this && this.__extends || (_uqk = function(_uqm, _uqn) { var _uqo = null; return _uqk = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_uqp, _uqq) { var _uqr = null; _uqp.__proto__ = _uqq; } || function(_uqs, _uqt) { var _uqu = null; for (var _uqv in _uqt) Object.prototype.hasOwnProperty.call(_uqt, _uqv) && (_uqs[_uqv] = _uqt[_uqv]); }, _uqk(_uqm, _uqn); }, function(_uqw, _uqx) { var _uqy = null; if ('function' != typeof _uqx && null !== _uqx) throw new TypeError('Class extends value ' + String(_uqx) + ' is not a constructor or null'); function _uqz() { var _ur0 = null; this.constructor = _uqw; } _uqk(_uqw, _uqx), _uqw.prototype = null === _uqx ? Object.create(_uqx) : (_uqz.prototype = _uqx.prototype, new _uqz()); }); defineModule(_uqh); Object.defineProperty(_uqh, '__esModule', { 'value': !0 }), _uqh.Burner = void 0; var _ur1 = _uqi(31000), _ur2 = _uqi(57510), _ur3 = _uqi(7626), _ur4 = function(_ur5) { var _ur6 = null; function _ur7(_ur8) { var _ur9 = null, _ura = _ur5.call(this) || this; _ura.WALK = [116, 117, 118, 117], _ura.BURNER = [119, 120], _ura.COMPLETION = [121, 122], _ura.RANGE = { 'fx': -300, 'fy': -75, 'tx': -135, 'ty': 0 }, _ura.FPS = 60, _ura.ANIMATION_BUILD_KEY = {}, _ura.ANIMATION_COMPLETE_KEY = {}, _ura.ANIMATION_ENTER_KEY = {}, _ura.sprite = new PIXI.Sprite(), _ura.burner_1_l = new PIXI.Sprite(_ur1.ARSENAL_MAIN.getTexture(57)), _ura.kiraAnimations = new Array(), _ura.kiras = new Array(); var _urb = _ur1.COMMON_MAIN.getTexture(34), _urc = _ur1.COMMON_MAIN.getTexture(35); _ura.effect = new PIXI.Container(), _ura.sprite.texture = _ur1.ARSENAL_MAIN.getTexture(_ura.WALK[0]), _ura.sprite.position.set(45, 0), _ura.sprite.anchor.set(0.5, 1), _ura.burner_1_l.anchor.set(1, 0.69), _ura.burner_1_l.position.set(-40, -9), _ura.burner_1_l.scale.set(0, 0), _ura.effect.position.x = -45, _ura.effect.addChild(_ura.burner_1_l), _ura.sprite.addChild(_ura.effect), _ura.addChild(_ura.sprite); for (var _urd = 0; _urd < 5; _urd++) { var _ure = new PIXI.Sprite(), _urf = new _ur2.KiraAnimation(_ure, _urb, _urc); _ura.kiraAnimations.push(_urf), _ura.kiras.push(_ure), _ura.effect.addChild(_ure), _ure.x = _ura.RANGE.fx + (_ura.RANGE.tx - _ura.RANGE.fx) * Math.random(), _ure.y = _ura.RANGE.fy + (_ura.RANGE.ty - _ura.RANGE.fy) * Math.random(), _ure.alpha = 0; } return _ura.syncAnimationKey = _ur8, _ura; } return _uql(_ur7, _ur5), _ur7.prototype.useBurner = function(_urg, _urh) { var _uri = null, _urj = this; this.x = 825, this.sprite.y = 0, this.sprite.scale.x = 1, this.__AnimationWalk__(552, function() { var _urk = null; _urj.sprite.texture = _ur1.ARSENAL_MAIN.getTexture(_urj.BURNER[0]), _urj.__AnimationBuild__(_urg, function() { _urh(); }); }); }, _ur7.prototype.__AnimationBuild__ = function(_url, _urm) { var _urn = null, _uro = this; this.burner_1_l.scale.set(0, 0); for (var _urp = 0; _urp < this.kiraAnimations.length; _urp++) this.kiraAnimations[_urp].stop(); this.__AnimationFireStart__(function() { var _urq = null; _uro.__AnimationFireWave__(2500, _url, function() { var _urr = null; _uro.__AnimationFireEnd__(_urm); }); }); }, _ur7.prototype.__AnimationComplete__ = function() { var _urs = null, _urt = this; this.stopTweenAll(), createjs.Tween.get(this.ANIMATION_COMPLETE_KEY, { 'loop': !0 }).wait(1000).addEventListener('change', function() { var _uru = null, _urv = _urt.syncAnimationKey.getNumber(_ur3.SYNC_KEY_JUMP); _urt.sprite.y = -15 * _urv, _urt.sprite.texture = 0.4 < _urv ? _ur1.ARSENAL_MAIN.getTexture(_urt.COMPLETION[0]) : _ur1.ARSENAL_MAIN.getTexture(_urt.COMPLETION[1]); }); }, _ur7.prototype.complete = function() { var _urw = null; this.__AnimationComplete__(); }, _ur7.prototype.stopTweenAll = function() { var _urx = null; createjs.Tween.removeTweens(this.ANIMATION_BUILD_KEY), createjs.Tween.removeTweens(this.ANIMATION_ENTER_KEY), createjs.Tween.removeTweens(this.ANIMATION_COMPLETE_KEY); }, _ur7.prototype.receive = function() { var _ury = null, _urz = this; this.stopTweenAll(), this.sprite.y = 0, this.__AnimationTurng__(-0.5, 250, function() { var _us0 = null; _urz.sprite.texture = _ur1.ARSENAL_MAIN.getTexture(_urz.WALK[0]), _urz.__AnimationTurng__(-1, 250, function() { var _us1 = null; _urz.__AnimationWalk__(550, function() {}); }); }); }, _ur7.prototype.__AnimationTurng__ = function(_us2, _us3, _us4) { var _us5 = null, _us6 = this; this.stopTweenAll(), this.ANIMATION_BUILD_KEY.direction = this.sprite.scale.x; var _us7 = createjs.Tween.get(this.ANIMATION_BUILD_KEY); _us7.to({ 'direction': _us2 }, _us3).call(function() { var _us8 = null; createjs.Tween.removeTweens(_us6.ANIMATION_BUILD_KEY), _us7.setPaused(!0), _us4(); }).addEventListener('change', function() { var _us9 = null, _usa = _us6.ANIMATION_BUILD_KEY.direction; _us6.sprite.scale.x = _usa; }); }, _ur7.prototype.__AnimationWalk__ = function(_usb, _usc) { var _usd = null, _use = this; this.stopTweenAll(), this.ANIMATION_BUILD_KEY.x = this.x, this.ANIMATION_BUILD_KEY.walk = 0, this.y = 96, this.burner_1_l.scale.set(0, 0); var _usf = createjs.Tween.get(this.ANIMATION_BUILD_KEY, { 'loop': !0 }); _usf.to({ 'walk': 1 }, 500).addEventListener('change', function() { var _usg = null, _ush = _use.ANIMATION_BUILD_KEY.walk, _usi = Math.round((_use.WALK.length - 1) * _ush), _usj = _use.WALK[_usi]; _use.sprite.texture = _ur1.ARSENAL_MAIN.getTexture(_usj); }); var _usk = createjs.Tween.get(this.ANIMATION_BUILD_KEY); _usk.to({ 'x': _usb, 'walk': 1 }, 2000).call(function() { var _usl = null; createjs.Tween.removeTweens(_use.ANIMATION_BUILD_KEY), _usf.removeAllEventListeners('change'), _usk.removeAllEventListeners('change'), _usf.setPaused(!0), _usk.setPaused(!0), _usc(); }).addEventListener('change', function() { var _usm = null; _use.x = _use.ANIMATION_BUILD_KEY.x; }); }, _ur7.prototype.__AnimationFireStart__ = function(_usn) { var _uso = null, _usp = this; this.ANIMATION_BUILD_KEY.x = 0, this.ANIMATION_BUILD_KEY.y = 0, this.ANIMATION_BUILD_KEY.scale = 0, this.ANIMATION_BUILD_KEY.rotation = 0; var _usq = 1000 / this.FPS, _usr = (Math.PI, createjs.Tween.get(this.ANIMATION_BUILD_KEY)); _usr.call(function() { var _uss = null; _usp.sprite.texture = _ur1.ARSENAL_MAIN.getTexture(_usp.BURNER[0]); }).to({ 'x': 3.3, 'y': -10.65, 'scale': 0, 'rotation': 0 }).to({ 'x': 3.3, 'y': -10.65, 'width': 57.9, 'height': 25.725, 'scale': 0.18, 'rotation': 0 }, 2 * _usq).call(function() { var _ust = null; _usp.sprite.texture = _ur1.ARSENAL_MAIN.getTexture(_usp.BURNER[1]), _usp.burner_1_l.x = 3.15, _usp.burner_1_l.y = -12.075, _usp.burner_1_l.scale.set(0, 0), _usp.burner_1_l.rotation = 0; for (var _usu = 0; _usu < _usp.kiraAnimations.length; _usu++) { var _usv = _usp.kiraAnimations[_usu], _usw = Math.floor(3 * Math.random()); _usv.play(_usw); } }).to({ 'x': 4.5, 'y': -8.25, 'width': 321, 'height': 142, 'scale': 1 }, 2 * _usq).call(function() { var _usx = null; createjs.Tween.removeTweens(_usp.ANIMATION_BUILD_KEY), _usr.setPaused(!0), _usn(); }), _usr.addEventListener('change', function() { var _usy = null; for (var _usz = 0; _usz < _usp.kiraAnimations.length; _usz++) { var _ut0 = _usp.kiras[_usz]; _ut0.x = _usp.RANGE.fx + (_usp.RANGE.tx - _usp.RANGE.fx) * Math.random(), _ut0.y = _usp.RANGE.fy + (_usp.RANGE.ty - _usp.RANGE.fy) * Math.random(); } var _ut1 = _usp.ANIMATION_BUILD_KEY.scale; _usp.burner_1_l.x = _usp.ANIMATION_BUILD_KEY.x, _usp.burner_1_l.y = _usp.ANIMATION_BUILD_KEY.y, _usp.burner_1_l.scale.set(_ut1, _ut1), _usp.burner_1_l.rotation = _usp.ANIMATION_BUILD_KEY.rotation; }); }, _ur7.prototype.__AnimationFireEnd__ = function(_ut2) { var _ut3 = null; for (var _ut4 = this, _ut5 = 0; _ut5 < this.kiraAnimations.length; _ut5++) this.kiraAnimations[_ut5].stop(); var _ut6 = 1000 / this.FPS, _ut7 = createjs.Tween.get(this.ANIMATION_BUILD_KEY); _ut7.to({ 'x': 3.3, 'y': -10.65, 'width': 38.6, 'height': 17.15, 'scale': 0.18, 'rotation': 0 }, 2 * _ut6).to({ 'x': 3.3, 'y': -10.65, 'scale': 0, 'rotation': 0 }).call(function() { var _ut8 = null; _ut7.removeAllEventListeners('change'), _ut7.setPaused(!0), _ut4.burner_1_l.scale.set(0, 0), _ut2(); }).addEventListener('change', function() { var _ut9 = null, _uta = _ut4.ANIMATION_BUILD_KEY.scale; _ut4.burner_1_l.scale.set(_uta, _uta); }); }, _ur7.prototype.__AnimationFireWave__ = function(_utb, _utc, _utd) { var _ute = null, _utf = this, _utg = 2000 / this.FPS, _uth = Math.PI / 180; this.ANIMATION_BUILD_KEY.fireProgress = 0; var _uti = createjs.Tween.get(this.ANIMATION_BUILD_KEY); _uti.to({ 'fireProgress': 1 }, _utb).call(function() { var _utj = null; createjs.Tween.removeTweens(_utf.ANIMATION_BUILD_KEY), _uti.setPaused(!0), _utd(); }).addEventListener('change', function() { var _utk = null, _utl = _utf.ANIMATION_BUILD_KEY.fireProgress; _utc(_utl); }), createjs.Tween.get(this.ANIMATION_BUILD_KEY, { 'loop': !0 }).to({ 'x': 4.425, 'y': -8.4, 'rotation': -5.4841 * _uth }, 2 * _utg).to({ 'x': 4.425, 'y': -8.325, 'rotation': -0.3 * _uth }, 2 * _utg).to({ 'x': 4.5, 'y': -8.025, 'rotation': 4.7 * _uth }, 2 * _utg).to({ 'x': 4.425, 'y': -8.625, 'rotation': 1.5 * _uth }, 2 * _utg).to({ 'x': 4.5, 'y': -8.25, 'rotation': 0 }, 2 * _utg).to({ 'x': 4.425, 'y': -8.4, 'rotation': -5.5 * _uth }, 2 * _utg).to({ 'x': 4.425, 'y': -8.325, 'rotation': -0.3 * _uth }, 2 * _utg).to({ 'x': 4.5, 'y': -8.025, 'rotation': 4.7 * _uth }, 2 * _utg).to({ 'x': 4.5, 'y': -8.25, 'rotation': 0 * _uth }, 2 * _utg).to({ 'x': 4.425, 'y': -8.4, 'rotation': -5.5 * _uth }, 2 * _utg).to({ 'x': 4.425, 'y': -8.625, 'rotation': 1.5 * _uth }, 2 * _utg).to({ 'x': 4.5, 'y': -8.25, 'rotation': 0 }, 2 * _utg).to({ 'x': 4.425, 'y': -8.4, 'rotation': -5.5 * _uth }, 2 * _utg).to({ 'x': 4.425, 'y': -8.325, 'rotation': -0.3 * _uth }, 2 * _utg).to({ 'x': 4.5, 'y': -8.025, 'rotation': 4.7 * _uth }, 2 * _utg).to({ 'x': 4.5, 'y': -8.25, 'rotation': 0 * _uth }, 2 * _utg).to({ 'x': 4.425, 'y': -8.4, 'rotation': -5.5 * _uth }, 2 * _utg).to({ 'x': 4.425, 'y': -8.625, 'rotation': 1.5 * _uth }, 2 * _utg).to({ 'x': 4.5, 'y': -8.25, 'rotation': 0 }, 2 * _utg).to({ 'x': 4.425, 'y': -8.4, 'rotation': -5.5 * _uth }, 2 * _utg).to({ 'x': 4.425, 'y': -8.325, 'rotation': -0.3 * _uth }, 2 * _utg).to({ 'x': 4.5, 'y': -8.025, 'rotation': 4.7 * _uth }, 2 * _utg).to({ 'x': 4.5, 'y': -8.25, 'rotation': 0 * _uth }, 2 * _utg).to({ 'x': 4.425, 'y': -8.4, 'rotation': -5.5 * _uth }, 2 * _utg).to({ 'x': 4.425, 'y': -8.625, 'rotation': 1.5 * _uth }, 2 * _utg).to({ 'x': 4.5, 'y': -8.25, 'rotation': 0 }, 2 * _utg).to({ 'x': 4.425, 'y': -8.4, 'rotation': -5.5 * _uth }, 2 * _utg).to({ 'x': 4.425, 'y': -8.325, 'rotation': -0.3 * _uth }, 2 * _utg).to({ 'x': 4.5, 'y': -8.025, 'rotation': 4.7 * _uth }, 2 * _utg).to({ 'x': 4.5, 'y': -8.25, 'rotation': 0 * _uth }, 2 * _utg).to({ 'x': 4.425, 'y': -8.4, 'rotation': -5.5 * _uth }, 2 * _utg).to({ 'x': 4.425, 'y': -8.625, 'rotation': 1.5 * _uth }, 2 * _utg).to({ 'x': 4.5, 'y': -8.25, 'rotation': 0 }, 2 * _utg).to({ 'x': 4.425, 'y': -8.4, 'rotation': -5.5 * _uth }, 2 * _utg).to({ 'x': 4.425, 'y': -8.325, 'rotation': -0.3 * _uth }, 2 * _utg).to({ 'x': 4.5, 'y': -8.025, 'rotation': 4.7 * _uth }, 2 * _utg).to({ 'x': 4.5, 'y': -8.25, 'rotation': 0 * _uth }, 2 * _utg).to({ 'x': 4.425, 'y': -8.4, 'rotation': -5.5 * _uth }, 2 * _utg).to({ 'x': 4.425, 'y': -8.625, 'rotation': 1.5 * _uth }, 2 * _utg).to({ 'x': 4.5, 'y': -8.25, 'rotation': 0 }, 2 * _utg).to({ 'x': 4.425, 'y': -8.4, 'rotation': -5.5 * _uth }, 2 * _utg).to({ 'x': 4.425, 'y': -8.325, 'rotation': -0.3 * _uth }, 2 * _utg).to({ 'x': 4.5, 'y': -8.025, 'rotation': 4.7 * _uth }, 2 * _utg).to({ 'x': 4.5, 'y': -8.25, 'rotation': 0 * _uth }, 2 * _utg).to({ 'x': 4.425, 'y': -8.4, 'rotation': -5.5 * _uth }, 2 * _utg).to({ 'x': 4.425, 'y': -8.325, 'rotation': -0.3 * _uth }, 2 * _utg).to({ 'x': 4.5, 'y': -8.025, 'rotation': 4.7 * _uth }, 2 * _utg).to({ 'x': 4.425, 'y': -8.625, 'rotation': 1.5 * _uth }, 2 * _utg).addEventListener('change', function() { var _utm = null; for (var _utn = 0; _utn < _utf.kiraAnimations.length; _utn++) { var _uto = _utf.kiras[_utn]; _uto.x = _utf.RANGE.fx + (_utf.RANGE.tx - _utf.RANGE.fx) * Math.random(), _uto.y = _utf.RANGE.fy + (_utf.RANGE.ty - _utf.RANGE.fy) * Math.random(); } var _utp = _utf.ANIMATION_BUILD_KEY.scale; _utf.burner_1_l.x = _utf.ANIMATION_BUILD_KEY.x, _utf.burner_1_l.y = _utf.ANIMATION_BUILD_KEY.y, _utf.burner_1_l.scale.set(_utp, _utp), _utf.burner_1_l.rotation = _utf.ANIMATION_BUILD_KEY.rotation; }); }, _ur7.prototype.dispose = function() { var _utq = null; createjs.Tween.removeTweens(this.ANIMATION_BUILD_KEY), createjs.Tween.removeTweens(this.ANIMATION_COMPLETE_KEY), createjs.Tween.removeTweens(this.ANIMATION_ENTER_KEY), this.effect.removeChildren(), this.kiraAnimations.forEach(function(_utr) { var _uts = null; _utr.dispose(), _utr = null; }), this.kiras.forEach(function(_utt) { null; }), this.sprite = null, this.effect = null, this.burner_1_l = null, this.kiraAnimations = null, this.kiras = null, this.RANGE = null, this.syncAnimationKey = null, this.removeChildren(); }, _ur7; }(PIXI.Container); _uqh.Burner = _ur4; }, 40583: function(_utu, _utv, _utw) { 'use strict'; var _utx = null; var _uty, _utz = this && this.__extends || (_uty = function(_uu0, _uu1) { var _uu2 = null; return _uty = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_uu3, _uu4) { var _uu5 = null; _uu3.__proto__ = _uu4; } || function(_uu6, _uu7) { var _uu8 = null; for (var _uu9 in _uu7) Object.prototype.hasOwnProperty.call(_uu7, _uu9) && (_uu6[_uu9] = _uu7[_uu9]); }, _uty(_uu0, _uu1); }, function(_uua, _uub) { var _uuc = null; if ('function' != typeof _uub && null !== _uub) throw new TypeError('Class extends value ' + String(_uub) + ' is not a constructor or null'); function _uud() { var _uue = null; this.constructor = _uua; } _uty(_uua, _uub), _uua.prototype = null === _uub ? Object.create(_uub) : (_uud.prototype = _uub.prototype, new _uud()); }); defineModule(_utv); Object.defineProperty(_utv, '__esModule', { 'value': !0 }), _utv.Carry = _utv.ArsenalStaffConst = void 0; var _uuf, _uug = _utw(31000), _uuh = _utw(7626), _uui = _utw(35380); ! function(_uuj) { var _uuk = null; _uuj.LEFT = 270, _uuj.RIGHT = 705, _uuj.BOTTOM = 95, _uuj.DIRECTION_LEFT = 1, _uuj.DIRECTION_RIGHT = -1; }(_uuf || (_utv.ArsenalStaffConst = _uuf = {})); var _uul = function(_uum) { var _uun = null; function _uuo(_uup) { var _uuq = null, _uur = _uum.call(this) || this; return _uur.WALK = [97, 98, 99, 98], _uur.COMPLETION = [100, 101], _uur.ANIMATION_BUILD_KEY = {}, _uur.ANIMATION_ENTER_KEY = {}, _uur.JUMP_ANIMATION = { 'progress': 0 }, _uur.ANIMATION_COMPLETE_KEY = {}, _uur.ANIMATION_BURNER_KEY = {}, _uur._onClick = function() { var _uus = null; if (0 == createjs.Tween.hasActiveTweens(_uur.JUMP_ANIMATION)) { var _uut = createjs.Tween.get(_uur.JUMP_ANIMATION).to({ 'progress': 1 }, 250, createjs.Ease.quintOut).to({ 'progress': 0 }, 250); _uut.call(function() { var _uuu = null; _uut.removeAllEventListeners('change'), _uut.setPaused(!0); }).addEventListener('change', function() { var _uuv = null; _uur.sprite.y = -30 * _uur.JUMP_ANIMATION.progress; }); } }, _uur.sprite = new PIXI.Sprite(), _uur.effect = new PIXI.Container(), _uur.ase_0 = new PIXI.Sprite(_uug.ARSENAL_MAIN.getTexture(141)), _uur.ase_1 = new PIXI.Sprite(_uug.ARSENAL_MAIN.getTexture(141)), _uur.sprite.texture = _uug.ARSENAL_MAIN.getTexture(_uur.WALK[0]), _uur.sprite.interactive = !0, _uur.sprite.on(_uui.EventType.CLICK, _uur._onClick), _uur.ase_0.anchor.set(0, 1), _uur.ase_1.anchor.set(0, 1), _uur.sprite.anchor.set(0.5, 1), _uur.effect.addChild(_uur.ase_0, _uur.ase_1), _uur.sprite.addChild(_uur.effect), _uur.addChild(_uur.sprite), _uur.syncAnimationKey = _uup, _uur; } return _utz(_uuo, _uum), _uuo.prototype.dispose = function() { var _uuw = null; createjs.Tween.removeTweens(this.ANIMATION_BUILD_KEY), createjs.Tween.removeTweens(this.ANIMATION_ENTER_KEY), createjs.Tween.removeTweens(this.JUMP_ANIMATION), createjs.Tween.removeTweens(this.ANIMATION_COMPLETE_KEY), createjs.Tween.removeTweens(this.ANIMATION_BURNER_KEY), this.effect.removeChildren(), this.ase_0 = null, this.ase_1 = null, this.effect = null, this.sprite = null, this.syncAnimationKey = null, this.removeChildren(); }, _uuo.prototype.build = function() { var _uux = null; this.sprite.y = 0, this.__AnimationBuild__(); }, _uuo.prototype.__AnimationBuild__ = function() { var _uuy = null, _uuz = this; createjs.Tween.removeTweens(this.ANIMATION_BUILD_KEY), this.ANIMATION_BUILD_KEY.progress = 0, this.ANIMATION_BUILD_KEY.x = _uuf.RIGHT, this.ANIMATION_BUILD_KEY.direction = _uuf.DIRECTION_LEFT; var _uv0 = _uuf.RIGHT - _uuf.LEFT, _uv1 = (14 + 5 * Math.random()) / 1.5 * _uv0; this.position.set(_uuf.RIGHT, _uuf.BOTTOM), createjs.Tween.get(this.ANIMATION_BUILD_KEY, { 'loop': !0 }).wait(1000 * Math.random()).to({ 'x': _uuf.LEFT }, _uv1).to({ 'direction': _uuf.DIRECTION_RIGHT }, 1000).to({ 'x': _uuf.RIGHT }, _uv1).addEventListener('change', function() { var _uv2 = null, _uv3 = _uuz.ANIMATION_BUILD_KEY.x, _uv4 = _uuz.ANIMATION_BUILD_KEY.direction; _uuz.x = _uv3, _uuz.sprite.scale.x = _uv4; }), createjs.Tween.get(this.ANIMATION_BUILD_KEY, { 'loop': !0 }).to({ 'progress': 0 }).to({ 'progress': 1 }, 250).to({ 'progress': 0 }, 250).addEventListener('change', function() { var _uv5 = null, _uv6 = _uuz.ANIMATION_BUILD_KEY.progress, _uv7 = Math.round((_uuz.WALK.length - 1) * _uv6); switch (_uuz.sprite.texture = _uug.ARSENAL_MAIN.getTexture(_uuz.WALK[_uv7]), _uuz.ase_0.visible = !1, _uuz.ase_1.visible = !1, _uv7) { case 0: _uuz.ase_0.position.set(3, -64), _uuz.ase_1.position.set(21, -54), _uuz.ase_0.rotation = -6.2 / Math.PI / 180, _uuz.ase_1.rotation = 28.5 / Math.PI / 180, _uuz.ase_0.visible = !0, _uuz.ase_1.visible = !0; break; case 1: case 3: _uuz.ase_0.position.set(6.675, -47.25), _uuz.ase_1.position.set(14.25, -59.25), _uuz.ase_0.rotation = 1 / Math.PI / 180, _uuz.ase_1.rotation = 0, _uuz.ase_0.visible = !0, _uuz.ase_1.visible = !0; break; case 2: _uuz.ase_0.position.set(8.25, -62.25), _uuz.ase_1.position.set(20.25, -51.75), _uuz.ase_0.rotation = 0, _uuz.ase_1.rotation = 0, _uuz.ase_0.visible = !0, _uuz.ase_1.visible = !0; } }); }, _uuo.prototype.resume = function() { var _uv8 = null; this.sprite.y = 0, this.__AnimationBuild__(); }, _uuo.prototype.complete = function() { var _uv9 = null, _uva = this; this.effect.visible = !1, this.sprite.scale.x = 1, this.sprite.y = 0, createjs.Tween.removeTweens(this.ANIMATION_BUILD_KEY), createjs.Tween.removeTweens(this.ANIMATION_ENTER_KEY), createjs.Tween.removeTweens(this.ANIMATION_COMPLETE_KEY), createjs.Tween.get(this.ANIMATION_COMPLETE_KEY, { 'loop': !0 }).wait(1000).addEventListener('change', function() { var _uvb = null, _uvc = _uva.syncAnimationKey.getNumber(_uuh.SYNC_KEY_JUMP); _uva.sprite.y = -10 * _uvc, _uva.sprite.texture = 0.4 < _uvc ? _uug.ARSENAL_MAIN.getTexture(_uva.COMPLETION[0]) : _uug.ARSENAL_MAIN.getTexture(_uva.COMPLETION[1]); }); }, _uuo.prototype.stopOtherAnimation = function() { var _uvd = null; createjs.Tween.removeTweens(this.ANIMATION_BUILD_KEY), createjs.Tween.removeTweens(this.ANIMATION_ENTER_KEY), createjs.Tween.removeTweens(this.ANIMATION_COMPLETE_KEY), createjs.Tween.removeTweens(this.ANIMATION_BURNER_KEY); }, _uuo.prototype.useBurner = function() { var _uve = null, _uvf = this; this.stopOtherAnimation(), this.effect.visible = !1, this.sprite.scale.x = -1, this.sprite.y = 0, this.ANIMATION_BURNER_KEY.x = this.x, this.ANIMATION_BURNER_KEY.progress = 0; var _uvg = createjs.Tween.get(this.ANIMATION_BURNER_KEY, { 'loop': !0 }); _uvg.to({ 'progress': 0 }).to({ 'progress': 1 }, 250).to({ 'progress': 0 }, 250).addEventListener('change', function() { var _uvh = null, _uvi = _uvf.ANIMATION_BURNER_KEY.progress, _uvj = Math.round((_uvf.WALK.length - 1) * _uvi), _uvk = _uvf.WALK[_uvj]; _uvf.sprite.texture = _uug.ARSENAL_MAIN.getTexture(_uvk); }); var _uvl = createjs.Tween.get(this.ANIMATION_BURNER_KEY); _uvl.to({ 'x': 750 }, 1000).call(function() { var _uvm = null; createjs.Tween.removeTweens(_uvf.ANIMATION_BURNER_KEY), _uvl.removeAllEventListeners('change'), _uvg.removeAllEventListeners('change'), _uvl.setPaused(!0), _uvg.setPaused(!0), _uvf.x = 750; }).addEventListener('change', function() { var _uvn = null; _uvf.x = _uvf.ANIMATION_BURNER_KEY.x; }); }, _uuo.prototype.received = function() { var _uvo = null, _uvp = this; this.stopOtherAnimation(), this.sprite.y = 0, this.ANIMATION_BURNER_KEY.x = this.x, this.ANIMATION_BURNER_KEY.progress = 0; var _uvq = createjs.Tween.get(this.ANIMATION_BURNER_KEY); _uvq.to({ 'x': 750 }, 1000).call(function() { var _uvr = null; createjs.Tween.removeTweens(_uvp.ANIMATION_BURNER_KEY), _uvq.removeAllEventListeners('change'), _uvs.removeAllEventListeners('change'), _uvq.setPaused(!0), _uvs.setPaused(!0), _uvp.x = 750; }).addEventListener('change', function() { var _uvt = null; _uvp.x = _uvp.ANIMATION_BURNER_KEY.x; }); var _uvs = createjs.Tween.get(this.ANIMATION_BURNER_KEY, { 'loop': !0 }); _uvs.to({ 'progress': 0 }).to({ 'progress': 1 }, 250).to({ 'progress': 0 }, 250).addEventListener('change', function() { var _uvu = null, _uvv = _uvp.ANIMATION_BURNER_KEY.progress, _uvw = Math.round((_uvp.WALK.length - 1) * _uvv), _uvx = _uvp.WALK[_uvw]; _uvp.sprite.texture = _uug.ARSENAL_MAIN.getTexture(_uvx); }); }, _uuo; }(PIXI.Container); _utv.Carry = _uul; }, 53733: function(_uvy, _uvz, _uw0) { 'use strict'; var _uw1 = null; var _uw2, _uw3 = this && this.__extends || (_uw2 = function(_uw4, _uw5) { var _uw6 = null; return _uw2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_uw7, _uw8) { var _uw9 = null; _uw7.__proto__ = _uw8; } || function(_uwa, _uwb) { var _uwc = null; for (var _uwd in _uwb) Object.prototype.hasOwnProperty.call(_uwb, _uwd) && (_uwa[_uwd] = _uwb[_uwd]); }, _uw2(_uw4, _uw5); }, function(_uwe, _uwf) { var _uwg = null; if ('function' != typeof _uwf && null !== _uwf) throw new TypeError('Class extends value ' + String(_uwf) + ' is not a constructor or null'); function _uwh() { var _uwi = null; this.constructor = _uwe; } _uw2(_uwe, _uwf), _uwe.prototype = null === _uwf ? Object.create(_uwf) : (_uwh.prototype = _uwf.prototype, new _uwh()); }); defineModule(_uvz); Object.defineProperty(_uvz, '__esModule', { 'value': !0 }), _uvz.DisassemblyMaterialItem = void 0; var _uwj = _uw0(8744), _uwk = _uw0(31000), _uwl = function(_uwm) { var _uwn = null; function _uwo() { var _uwp = null, _uwq = _uwm.call(this) || this; return _uwq.iconMaterial = new PIXI.Sprite(), _uwq.textCount = new _uwj.TextBox(25, 5523516), _uwq.iconMaterial.position.set(0, 18), _uwq.textCount.anchor.set(1, 0), _uwq.textCount.position.set(261, 9), _uwq.addChild(_uwq.iconMaterial, _uwq.textCount), _uwq; } return _uw3(_uwo, _uwm), _uwo.prototype.update = function(_uwr, _uws) { var _uwt = null; switch (_uwr) { case 31: this.iconMaterial.texture = _uwk.ARSENAL_MAIN.getTexture(160); break; case 32: this.iconMaterial.texture = _uwk.ARSENAL_MAIN.getTexture(162); break; case 33: this.iconMaterial.texture = _uwk.ARSENAL_MAIN.getTexture(164); break; case 34: this.iconMaterial.texture = _uwk.ARSENAL_MAIN.getTexture(166); } this.textCount.text = _uws.toString(); }, _uwo.prototype.dispose = function() { var _uwu = null; this.removeChildren(), this.textCount.destroy(), this.iconMaterial = null, this.textCount = null; }, _uwo; }(PIXI.Container); _uvz.DisassemblyMaterialItem = _uwl; }, 7626: function(_uwv, _uww, _uwx) { 'use strict'; var _uwy = null; var _uwz, _ux0 = this && this.__extends || (_uwz = function(_ux1, _ux2) { var _ux3 = null; return _uwz = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ux4, _ux5) { var _ux6 = null; _ux4.__proto__ = _ux5; } || function(_ux7, _ux8) { var _ux9 = null; for (var _uxa in _ux8) Object.prototype.hasOwnProperty.call(_ux8, _uxa) && (_ux7[_uxa] = _ux8[_uxa]); }, _uwz(_ux1, _ux2); }, function(_uxb, _uxc) { var _uxd = null; if ('function' != typeof _uxc && null !== _uxc) throw new TypeError('Class extends value ' + String(_uxc) + ' is not a constructor or null'); function _uxe() { var _uxf = null; this.constructor = _uxb; } _uwz(_uxb, _uxc), _uxb.prototype = null === _uxc ? Object.create(_uxc) : (_uxe.prototype = _uxc.prototype, new _uxe()); }), _uxg = this && this.__importDefault || function(_uxh) { var _uxi = null; return _uxh && _uxh.__esModule ? _uxh : { 'default': _uxh }; }; defineModule(_uww); Object.defineProperty(_uww, '__esModule', { 'value': !0 }), _uww.DockLayer = _uww.ArsenalTimerMode = _uww.SYNC_KEY_JUMP = void 0; var _uxj = _uxg(_uwx(18622)), _uxk = _uwx(22086), _uxl = _uwx(68028), _uxm = _uwx(35660), _uxn = _uwx(52574), _uxo = _uwx(19043), _uxp = _uwx(25411), _uxq = _uwx(95008), _uxr = _uwx(38772), _uxs = _uwx(44622), _uxt = _uwx(73102), _uxu = _uwx(76138), _uxv = _uwx(93572), _uxw = _uwx(39704), _uxx = _uwx(93822), _uxy = _uwx(19283), _uxz = _uwx(30570), _uy0 = _uwx(73882), _uy1 = _uwx(29753), _uy2 = _uwx(85270); _uww.SYNC_KEY_JUMP = 'sync_key_jump'; var _uy3, _uy4 = (function() { var _uy5 = null; function _uy6() { var _uy7 = null; this.ANIMATION_SYNC_KEY = {}; } return _uy6.prototype.setNumber = function(_uy8, _uy9) { var _uya = null; this.ANIMATION_SYNC_KEY[_uy8] = _uy9; }, _uy6.prototype.getNumber = function(_uyb) { var _uyc = null; return this.ANIMATION_SYNC_KEY[_uyb]; }, _uy6; }()); ! function(_uyd) { var _uye = null; _uyd[_uyd.UpdateOnly = 0] = 'UpdateOnly', _uyd[_uyd.WaitComplete = 1] = 'WaitComplete'; }(_uy3 || (_uww.ArsenalTimerMode = _uy3 = {})); var _uyf = function(_uyg) { var _uyh = null; function _uyi() { var _uyj = null, _uyk, _uyl, _uym, _uyn = _uyg.call(this) || this; _uyn.syncAnimationKey = new _uy4(), _uyn.KDOCK_IDS = [1, 2, 3, 4], _uyn.normalSettingMemory = { 'ammo': 30, 'fuel': 30, 'steel': 30, 'baux': 30, 'buildKit': 0, 'devKit': 1 }, _uyn.largeSettingMemory = { 'ammo': 1500, 'fuel': 1500, 'steel': 2000, 'bauxite': 1000, 'buildKit': 0, 'devKit': 1 }, _uyn.arsenalTimerMode = _uy3.UpdateOnly, _uyn._onClickGet = function(_uyo) { var _uyp = null; _uyn.receive(_uyo); var _uyq = new _uxy.GetShipAPI(_uyo); _uyq.start(function() { var _uyr = null, _uys = _uyq.ship.mstID, _uyt = _uxj.default.model.ship.getMst(_uys); _uyn._getShipAnimation(_uyo, _uyt, _uyq.kDocks); }); }, _uyn._onClickNoDock = function(_uyu) { var _uyv = null; _uxj.default.view.clickGuard = !0, new _uy0.OpenNewDockAPI(_uyu).start(function() { var _uyw = null; _uyn.unLockDock(_uyu), _uxj.default.model.kdock.get(_uyu).__open__(); var _uyx = _uxj.default.model.kdock.getAll().filter(function(_uyy) { var _uyz = null; return -1 == _uyy.state; }); if (_uyx.length > 0) { var _uz0 = _uyx[0], _uz1 = _uxj.default.model.useItem.get(49).count > 0; _uyn.noDock(_uz0.id, !0, _uz1); } _uxj.default.view.clickGuard = !1; }); }, _uyn._onClickSelect = function(_uz2) { var _uz3 = null; _uyn.onClickSelect(_uz2); }, _uyn._onClickHighSpeed = function(_uz4) { var _uz5 = null, _uz6 = new _uxr.HighSpeedConfirmContainer(); _uxj.default.view.overLayer.addChild(_uz6); var _uz7 = _uxj.default.model.kdock.get(_uz4).isLargeBuild(), _uz8 = _uxj.default.model.useItem.get(2).count, _uz9 = _uz8 - (_uz7 ? 10 : 1); _uz6.show(_uz8, _uz9, function(_uza) { var _uzb = null; if (_uza) { _uxj.default.view.clickGuard = !0; var _uzc = _uxj.default.model.kdock.get(_uz4), _uzd = _uzc.complete_time; new _uxx.CreateShipSpeedChangeAPI(_uz4, _uzc.isLargeBuild()).start(function() { var _uze = null, _uzf = _uxj.default.model.kdock.get(_uz4), _uzg = Date.now(); _uyn.useBurner(_uzf.id, _uzd, _uzg); var _uzh = _uxk.ArsenalUtil.developLimit(); _uyn.hideHighSpeedButton(_uz4); var _uzi = _uz4.toString(); _uyn.kDockViews[_uzi].changeState(3), _uxj.default.model.kdock.getAll().forEach(function(_uzj) { var _uzk = null; 2 == _uzj.state && _uyn.updateHighSpeedButtonState(_uzj.id), _uyn.onUpdateCondition(_uzj.id, _uzh.forShip, _uzh.forSlot); }), _uz6.hide(function() { var _uzl = null; _uxj.default.view.overLayer.removeChild(_uz6), _uz6.dispose(), _uxj.default.view.clickGuard = !1; }); }); } else _uxj.default.view.clickGuard = !0, _uz6.hide(function() { var _uzm = null; _uxj.default.view.overLayer.removeChild(_uz6), _uz6.dispose(), _uxj.default.view.clickGuard = !1; }); }); }, _uyn._onClickDock = function(_uzn) { var _uzo = null; _uyn._materialAmountContainer || (_uyn._materialAmountContainer = new _uxu.MaterialAmountContainerShip(_uyn.parent), _uyn._materialAmountContainer.play(_uzn, _uyn.normalSettingMemory, !0, _uxj.default.model.basic.isLargeBuild(), _uyn._onCompleteMaterialAmountShip, _uyn._onGoToLargeBuild, function() { var _uzp = null; _uyn._onGoToShop(); })); }, _uyn._onCompleteMaterialAmountShip = function(_uzq) { var _uzr = null; switch (_uzq) { case !1: _uxj.default.view.clickGuard = !0, _uyn._materialAmountContainer.hide(function() { var _uzs = null; _uyn._materialAmountContainer.dispose(), _uyn._materialAmountContainer = null, _uxj.default.view.clickGuard = !1; }), _uxk.ArsenalUtil.playVoiceOnBuildComplete(); break; case !0: var _uzt = _uyn._materialAmountContainer.kDockId, _uzu = _uyn._materialAmountContainer.ammo, _uzv = _uyn._materialAmountContainer.fuel, _uzw = _uyn._materialAmountContainer.steel, _uzx = _uyn._materialAmountContainer.bauxite, _uzy = _uyn._materialAmountContainer.buildKit, _uzz = _uyn._materialAmountContainer.devKit, _v00 = 0 < _uzy, _v01 = new _uxw.CreateShipAPI(_uzt, 0, _uzv, _uzu, _uzw, _uzx, _uzz, _v00 ? 1 : 0), _v02 = new _uxz.KDockAPI(), _v03 = new _uxm.APIConnector(); 0 == _uxj.default.model.basic.getTutorialProgress() && _v03.add(new _uxn.UpdateTutorialAPI(10)), _v03.add(_v01), _v03.add(_v02), _uxj.default.view.clickGuard = !0, _v03.start(function() { var _v04 = null; _uyn._materialAmountContainer.dispose(), _uyn._materialAmountContainer = null; var _v05 = _uxj.default.model.kdock.get(_uzt), _v06 = (_uxj.default.model.kdock.getAll(), _uxj.default.model.ship.getMst(_v05.ship_mst_id)), _v07 = _v06.build_time, _v08 = 0.5 < Math.random(), _v09 = 0.5 < Math.random() || 0 == _v08, _v0a = 0 < _uxj.default.model.useItem.get(2).count, _v0b = Date.now(), _v0c = _v05.complete_time; _v00 && (_v0c = _v0b + 60 * _v07 * 1000); var _v0d = _uxj.default.model.shipType.get(_v06.shipTypeID).build_phase_num; _uyn.build(_v05.id, !1, _v00, _v0a, _v08, _v09, _v07, _v0c, _v0b, _v0d), _uxj.default.view.portMain.updateInfo(), _uyn.arsenalTimerMode = _uy3.WaitComplete; var _v0e = _uxk.ArsenalUtil.developLimit(); _uyn.hideHighSpeedButton(_uzt), _uxj.default.model.kdock.getAll().forEach(function(_v0f) { var _v0g = null; 2 == _v0f.state && _uyn.updateHighSpeedButtonState(_v0f.id), _uyn.onUpdateCondition(_v0f.id, _v0e.forShip, _v0e.forSlot); }), _uxj.default.view.clickGuard = !1, !1 === _v00 && _uxk.ArsenalUtil.playVoiceOnBuildComplete(); }), _uyn.normalSettingMemory.ammo = _uyn._materialAmountContainer.ammo, _uyn.normalSettingMemory.fuel = _uyn._materialAmountContainer.fuel, _uyn.normalSettingMemory.steel = _uyn._materialAmountContainer.steel, _uyn.normalSettingMemory.baux = _uyn._materialAmountContainer.bauxite, _uyn.normalSettingMemory.buildKit = 0, _uyn.normalSettingMemory.devKit = _uyn._materialAmountContainer.devKit; } }, _uyn._onGoToLargeBuild = function() { var _v0h = null, _v0i = new _uxt.LargeBuildConfirmContainer(); _uxj.default.view.overLayer.addChild(_v0i); var _v0j = _uxj.default.sound.voice.play('9999', 318); _v0i.show(function(_v0k) { var _v0l = null; if (_uxj.default.view.clickGuard = !0, _uxj.default.sound.voice.stop(_v0j), _v0i.hide(function() { var _v0m = null; _uxj.default.view.overLayer.removeChild(_v0i), _v0i.dispose(), _uxj.default.view.clickGuard = !1; }), _v0k) { var _v0n = _uyn._materialAmountContainer.kDockId; _uyn._materialAmountContainer.dispose(), _uyn._materialAmountContainer = null; var _v0o = new _uxv.LargeConfigureMaterialContainer(_uyn.parent); _v0o.onComplete = function(_v0p) { var _v0q = null; switch (_v0p) { case _uxv.Result.CHANGE_NORMAL: _v0o.dispose(), _uyn._materialAmountContainer = new _uxu.MaterialAmountContainerShip(_uyn.parent), _uyn._materialAmountContainer.play(_v0n, _uyn.normalSettingMemory, !1, _uxj.default.model.basic.isLargeBuild(), _uyn._onCompleteMaterialAmountShip, _uyn._onGoToLargeBuild, function() { var _v0r = null; _uyn._onGoToShop(); }); break; case _uxv.Result.CANCEL: _uxj.default.view.clickGuard = !0, _v0o.hide(function() { var _v0s = null; _v0o.dispose(), _uxj.default.view.clickGuard = !1; }); break; case _uxv.Result.START: var _v0t = _v0o.ammo, _v0u = _v0o.fuel, _v0v = _v0o.steel, _v0w = _v0o.bauxite, _v0x = _v0o.buildKit, _v0y = _v0o.devKit, _v0z = 0 < _v0x, _v10 = new _uxw.CreateShipAPI(_v0n, 1, _v0u, _v0t, _v0v, _v0w, _v0y, _v0z ? 1 : 0), _v11 = new _uxz.KDockAPI(), _v12 = new _uxm.APIConnector(); _v12.add(_v10), _v12.add(_v11), _uxj.default.view.clickGuard = !0, _v12.start(function() { var _v13 = null; _uxj.default.view.portMain.updateInfo(); var _v14 = _uxj.default.model.kdock.get(_v0n), _v15 = _uxj.default.model.ship.getMst(_v14.ship_mst_id), _v16 = _v15.build_time, _v17 = 0.5 < Math.random(), _v18 = 0.5 < Math.random() || 0 == _v17, _v19 = Date.now(), _v1a = 9 < _uxj.default.model.useItem.get(2).count; _v0o.dispose(); var _v1b = _v14.complete_time; _v0z && (_v1b = _v19 + 60 * _v16 * 1000); var _v1c = _uxk.ArsenalUtil.developLimit(); _uyn.hideHighSpeedButton(_v0n), _uxj.default.model.kdock.getAll().forEach(function(_v1d) { var _v1e = _v13; 2 == _v1d[_v1e(2926)] && _uyn[_v1e(5317)](_v1d.id), _uyn[_v1e(10513)](_v1d.id, _v1c[_v1e(8666)], _v1c[_v1e(5666)]); }), _uxj.default.view.clickGuard = !1; var _v1f = _uxj.default.model.shipType.get(_v15.shipTypeID).build_phase_num; _uyn.build(_v14.id, !0, _v0z, _v1a, _v17, _v18, _v16, _v1b, _v19, _v1f); }), _uyn.largeSettingMemory.ammo = _v0o.ammo, _uyn.largeSettingMemory.fuel = _v0o.fuel, _uyn.largeSettingMemory.steel = _v0o.steel, _uyn.largeSettingMemory.bauxite = _v0o.bauxite, _uyn.largeSettingMemory.buildKit = 0, _uyn.largeSettingMemory.devKit = 1; } }, _v0o.play(_uyn.largeSettingMemory.fuel, _uyn.largeSettingMemory.ammo, _uyn.largeSettingMemory.steel, _uyn.largeSettingMemory.bauxite, _uyn.largeSettingMemory.devKit, _uyn.largeSettingMemory.buildKit); } }); }, _uyn.kDockViews = {}; var _v1g = _uxj.default.model.basic.getUISkinID(); 101 == _v1g || 102 == _v1g ? (_uyk = new PIXI.Sprite(_uxo.ARSENAL_SKIN_1.getTexture(1)), _uyl = new PIXI.Sprite(_uxo.ARSENAL_SKIN_1.getTexture(0)), _uym = new PIXI.Sprite(_uxo.ARSENAL_SKIN_1.getTexture(2))) : 201 == _v1g ? (_uyk = new PIXI.Sprite(_uxp.ARSENAL_SKIN_2.getTexture(1)), _uyl = new PIXI.Sprite(_uxp.ARSENAL_SKIN_2.getTexture(0)), _uym = new PIXI.Sprite(_uxp.ARSENAL_SKIN_2.getTexture(2))) : 301 != _v1g && 311 != _v1g || (_uyk = new PIXI.Sprite(_uxq.ARSENAL_SKIN_3.getTexture(1)), _uyl = new PIXI.Sprite(_uxq.ARSENAL_SKIN_3.getTexture(0)), _uym = new PIXI.Sprite(_uxq.ARSENAL_SKIN_3.getTexture(2))); var _v1h = new PIXI.Container(); _uyn.layerBases = new Array(), _uyn.layerBuilds = new Array(), _uyn.layerInteractives = new Array(), _uyk.position.set(1, -29), _uyl.position.set(23, 40), _uym.position.set(638, 47); for (var _v1i = 0; _v1i < _uyn.KDOCK_IDS.length; _v1i++) { var _v1j = 46 + 120 * _v1i, _v1k = new PIXI.Container(), _v1l = new PIXI.Container(), _v1m = new PIXI.Container(); _v1k.position.set(16, _v1j), _v1l.position.set(16, _v1j), _v1m.position.set(16, _v1j), _uyn.layerBases.push(_v1k), _uyn.layerBuilds.push(_v1l), _uyn.layerInteractives.push(_v1m); } for (_v1i = 0; _v1i < _uyn.KDOCK_IDS.length; _v1i++) { var _v1n = _uyn.KDOCK_IDS[_v1i], _v1o = (_v1k = _uyn.layerBases[_v1i], _v1l = _uyn.layerBuilds[_v1i], _v1m = _uyn.layerInteractives[_v1i], new _uxs.KDockView(_v1n, _v1k, _v1l, _v1m, _uyn.syncAnimationKey)); _v1o.updateCondition(!0, !0), _v1o.onClickGet = _uyn._onClickGet, _v1o.onClickSelect = _uyn._onClickDock, _v1o.onClickHighSpeed = _uyn._onClickHighSpeed, _v1o.onClickNoDock = _uyn._onClickNoDock; var _v1p = _v1n.toString(); _uyn.kDockViews[_v1p] = _v1o; } _uyn.addChild(_uyk); for (_v1i = 0; _v1i < _uyn.KDOCK_IDS.length; _v1i++) _uyn.addChild(_uyn.layerBases[_v1i]); for (_v1i = 0; _v1i < _uyn.KDOCK_IDS.length; _v1i++) _uyn.addChild(_uyn.layerBuilds[_v1i]); _uyn.addChild(_uyl, _uym); for (_v1i = 0; _v1i < _uyn.KDOCK_IDS.length; _v1i++) _uyn.addChild(_uyn.layerInteractives[_v1i]); return _uyn.addChild(_v1h), _uyn.syncAnimationKey.setNumber(_uww.SYNC_KEY_JUMP, 0), _uyn.animation = createjs.Tween.get(_uyn.syncAnimationKey.ANIMATION_SYNC_KEY, { 'loop': !0 }), _uyn.animation.call(function() { var _v1q = null; _uyn.syncAnimationKey.setNumber(_uww.SYNC_KEY_JUMP, 0); }).to({ 'sync_key_jump': 1 }, 800, createjs.Ease.quintOut).to({ 'sync_key_jump': 0 }, 500, createjs.Ease.quintIn).wait(500), _uyn.arsenalTimerMode = _uy3.WaitComplete, _uyn; } return _ux0(_uyi, _uyg), Object.defineProperty(_uyi.prototype, 'ArsenalTimerMode', { 'get': function() { var _v1r = null; return this.arsenalTimerMode; }, 'enumerable': !1, 'configurable': !0 }), _uyi.prototype.getKDockView = function(_v1s) { var _v1t = null, _v1u = _v1s.toString(); return this.kDockViews[_v1u]; }, _uyi.prototype.notifyTime = function(_v1v, _v1w) { var _v1x = null; this.kDockViews[_v1v].onUpdateTime(_v1w); }, _uyi.prototype.updateCondition = function(_v1y, _v1z, _v20) { var _v21 = null, _v22 = _v1y.toString(); this.kDockViews[_v22].updateCondition(_v1z, _v20); }, _uyi.prototype.build = function(_v23, _v24, _v25, _v26, _v27, _v28, _v29, _v2a, _v2b, _v2c) { var _v2d = null, _v2e = _v23.toString(); this.kDockViews[_v2e].Build(_v25, _v24, _v26, _v27, _v28, _v29, _v2a, _v2b, _v2c); }, _uyi.prototype.resume = function(_v2f, _v2g, _v2h, _v2i, _v2j, _v2k, _v2l, _v2m, _v2n) { var _v2o = null, _v2p = _v2f.toString(); this.kDockViews[_v2p].Resume(_v2g, _v2h, _v2i, _v2j, _v2k, _v2l, _v2m, _v2n); }, _uyi.prototype.showHighSpeedButton = function(_v2q, _v2r) { var _v2s = null, _v2t = _v2q.toString(); this.kDockViews[_v2t].showHighSpeedButton(_v2r); }, _uyi.prototype.hideHighSpeedButton = function(_v2u) { var _v2v = null, _v2w = _v2u.toString(); this.kDockViews[_v2w].hideHighSpeedButton(); }, _uyi.prototype.updateMotivation = function(_v2x, _v2y, _v2z) { var _v30 = null, _v31 = _v2x.toString(); this.kDockViews[_v31].updateMotivation(_v2y, _v2z); }, _uyi.prototype.complete = function(_v32) { var _v33 = null, _v34 = _v32.toString(); this.kDockViews[_v34].Complete(); }, _uyi.prototype.noDock = function(_v35, _v36, _v37) { var _v38 = null, _v39 = _v35.toString(); this.kDockViews[_v39].NoDock(_v36, _v37); }, _uyi.prototype.unLockDock = function(_v3a) { var _v3b = null, _v3c = _v3a.toString(); this.kDockViews[_v3c].UnLockDock(); }, _uyi.prototype.completed = function(_v3d, _v3e, _v3f) { var _v3g = null, _v3h = _v3d.toString(); this.kDockViews[_v3h].Completed(_v3e, _v3f); }, _uyi.prototype.standby = function(_v3i) { var _v3j = null, _v3k = _v3i.toString(); this.kDockViews[_v3k].Standby(); }, _uyi.prototype.useBurner = function(_v3l, _v3m, _v3n) { var _v3o = null, _v3p = _v3l.toString(); this.kDockViews[_v3p].UseBanner(_v3m, _v3n); }, _uyi.prototype.receive = function(_v3q) { var _v3r = null, _v3s = _v3q.toString(); this.kDockViews[_v3s].Receive(); }, _uyi.prototype.received = function(_v3t) { var _v3u = null, _v3v = _v3t.toString(); this.kDockViews[_v3v].Received(); }, _uyi.prototype.forceComplete = function(_v3w, _v3x) { var _v3y = null, _v3z = _v3w.toString(); this.kDockViews[_v3z].forceComplete(_v3x); }, _uyi.prototype.dispose = function() { var _v40 = null; for (var _v41 = 0; _v41 < this.KDOCK_IDS.length; _v41++) { var _v42 = this.KDOCK_IDS[_v41].toString(); this.kDockViews[_v42].dispose(), this.kDockViews[_v42] = null; } createjs.Tween.removeTweens(this.animation.target); for (var _v43 = 0; _v43 < this.layerBases.length; _v43++) this.layerBases[_v43].removeChildren(), this.layerBases[_v43] = null; for (_v43 = 0; _v43 < this.layerBuilds.length; _v43++) this.layerBuilds[_v43].removeChildren(), this.layerBuilds[_v43] = null; for (_v43 = 0; _v43 < this.layerInteractives.length; _v43++) this.layerInteractives[_v43].removeChildren(), this.layerInteractives[_v43] = null; this.onUpdateCondition = null, this.layerBases = null, this.layerBuilds = null, this.layerInteractives = null, this.onClickNoDock = null, this.onClickSelect = null, this.kDockViews = null, this.animation = null, this._materialAmountContainer && (this._materialAmountContainer.dispose(), this._materialAmountContainer = null), this.removeChildren(); }, _uyi.prototype._getShipAnimation = function(_v44, _v45, _v46) { var _v47 = null, _v48 = this, _v49 = new _uy1.ReceiveAnimation(544), _v4a = new _uy2.RewardAnimationShip(); _uxj.default.view.overLayer.addChild(_v49), _v49.preload(function() { var _v4b = null; _v4a.preloadFromMst(_v45, function() { var _v4c = null; _v49.play(function() { var _v4d = _v4c; _uxj[_v4d(3499)][_v4d(2746)][_v4d(7472)][_v4d(6716)](_v46), _uxj[_v4d(3499)][_v4d(2726)][_v4d(11161)][_v4d(3693)](_v49), _uxj[_v4d(3499)][_v4d(2726)][_v4d(11161)][_v4d(9040)](_v4a), _v4a[_v4d(8679)](function() { var _v4e = _v4d; _uxj[_v4e(3499)][_v4e(2726)][_v4e(11305)][_v4e(4982)](); var _v4f = _uxk[_v4e(7561)][_v4e(6681)](); _v48[_v4e(8296)](_v44), _uxj[_v4e(3499)][_v4e(2746)][_v4e(7472)][_v4e(6713)]()[_v4e(3159)](function(_v4g) { var _v4h = _v4e; 2 == _v4g[_v4h(2926)] && _v48[_v4h(5317)](_v4g.id), _v48[_v4h(10513)](_v4g.id, _v4f[_v4h(8666)], _v4f[_v4h(5666)]); }), _v48[_v4e(9404)](_v44); }, function() { var _v4i = _v4d; _uxj[_v4i(3499)][_v4i(2726)][_v4i(11161)][_v4i(3693)](_v4a), _v4a[_v4i(5118)](), _uxk[_v4i(7561)][_v4i(6039)](); }); }); }); }); }, _uyi.prototype.updateHighSpeedButtonState = function(_v4j) { var _v4k = null, _v4l = _uxj.default.model.kdock.get(_v4j); if (this.hideHighSpeedButton(_v4j), _v4l.isLargeBuild()) { var _v4m = 9 < _uxj.default.model.useItem.get(2).count; this.showHighSpeedButton(_v4l.id, _v4m); } else _v4m = 0 < _uxj.default.model.useItem.get(2).count, this.showHighSpeedButton(_v4l.id, _v4m); }, _uyi.prototype._onGoToShop = function() { var _v4n = null; _uxj.default.scene.change(24, new _uxl.ItemSceneModel()); }, _uyi; }(PIXI.Container); _uww.DockLayer = _uyf; }, 70878: function(_v4o, _v4p, _v4q) { 'use strict'; var _v4r = null; var _v4s, _v4t = this && this.__extends || (_v4s = function(_v4u, _v4v) { var _v4w = null; return _v4s = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_v4x, _v4y) { var _v4z = null; _v4x.__proto__ = _v4y; } || function(_v50, _v51) { var _v52 = null; for (var _v53 in _v51) Object.prototype.hasOwnProperty.call(_v51, _v53) && (_v50[_v53] = _v51[_v53]); }, _v4s(_v4u, _v4v); }, function(_v54, _v55) { var _v56 = null; if ('function' != typeof _v55 && null !== _v55) throw new TypeError('Class extends value ' + String(_v55) + ' is not a constructor or null'); function _v57() { var _v58 = null; this.constructor = _v54; } _v4s(_v54, _v55), _v54.prototype = null === _v55 ? Object.create(_v55) : (_v57.prototype = _v55.prototype, new _v57()); }); defineModule(_v4p); Object.defineProperty(_v4p, '__esModule', { 'value': !0 }), _v4p.GetButton = void 0; var _v59 = _v4q(31000), _v5a = _v4q(35380), _v5b = function(_v5c) { var _v5d = null; function _v5e() { var _v5f = null, _v5g = _v5c.call(this) || this; _v5g.limitShip = !1, _v5g.limitSlot = !1, _v5g.animation = { 'progress': 0 }, _v5g._onClick = function() { var _v5h = null; 0 == (_v5g.limitShip || _v5g.limitSlot) && _v5g.onClick(_v5g.kDockId); }, _v5g._onMouseOver = function() { var _v5i = null; _v5g.popup.visible = !1, (_v5g.limitShip || _v5g.limitSlot) && (_v5g.popup.visible = !0); }, _v5g._onMouseOut = function() { var _v5j = null; _v5g.popup.visible = !1; }, _v5g.popup = new PIXI.Sprite(), _v5g.buttonSprite = new PIXI.Sprite(_v59.ARSENAL_MAIN.getTexture(40)), _v5g.popup.visible = !1; var _v5k = Math.floor(100 - _v5g.buttonSprite.width / 2), _v5l = Math.floor(50 - _v5g.buttonSprite.height / 2); return _v5g.area = new PIXI.Graphics(), _v5g.area.beginFill(0, 0), _v5g.area.drawRect(-_v5k, -_v5l, 200, 100), _v5g.area.endFill(), _v5g.area.interactive = _v5g.area.buttonMode = !0, _v5g.area.on(_v5a.EventType.CLICK, _v5g._onClick), _v5g.area.on(_v5a.EventType.MOUSEOVER, _v5g._onMouseOver), _v5g.area.on(_v5a.EventType.MOUSEOUT, _v5g._onMouseOut), _v5g.tween = createjs.Tween.get(_v5g.animation, { 'loop': !0 }).to({ 'progress': 0 }).to({ 'progress': 1 }, 750, createjs.Ease.quintOut).to({ 'progress': 0 }, 850, createjs.Ease.quintIn), _v5g.tween.addEventListener('change', function() { var _v5m = null; _v5g.buttonSprite.alpha = 0.2 + 0.8 * _v5g.animation.progress; }), _v5g.addChild(_v5g.area), _v5g.addChild(_v5g.buttonSprite, _v5g.popup), _v5g; } return _v4t(_v5e, _v5c), _v5e.prototype.updateCondition = function(_v5n, _v5o) { var _v5p = null; this.popup.visible = !1, _v5n ? (this.popup.texture = _v59.ARSENAL_MAIN.getTexture(1), this.popup.position.set(-118, -72)) : _v5o && (this.popup.texture = _v59.ARSENAL_MAIN.getTexture(69), this.popup.position.set(49, -33)), this.limitShip = _v5n, this.limitSlot = _v5o; }, _v5e.prototype.dispose = function() { var _v5q = null; createjs.Tween.removeTweens(this.tween.target), this.area.off(_v5a.EventType.CLICK), this.area.off(_v5a.EventType.MOUSEOVER), this.area.off(_v5a.EventType.MOUSEOUT), this.tween = null, this.onClick = null, this.popup = null, this.buttonSprite = null, this.kDockId = null, this.limitShip = null, this.limitSlot = null, this.animation = null, this.tween = null, this.area = null, this.removeChildren(); }, _v5e; }(PIXI.Container); _v4p.GetButton = _v5b; }, 98822: function(_v5r, _v5s, _v5t) { 'use strict'; var _v5u = null; var _v5v, _v5w = this && this.__extends || (_v5v = function(_v5x, _v5y) { var _v5z = null; return _v5v = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_v60, _v61) { var _v62 = null; _v60.__proto__ = _v61; } || function(_v63, _v64) { var _v65 = null; for (var _v66 in _v64) Object.prototype.hasOwnProperty.call(_v64, _v66) && (_v63[_v66] = _v64[_v66]); }, _v5v(_v5x, _v5y); }, function(_v67, _v68) { var _v69 = null; if ('function' != typeof _v68 && null !== _v68) throw new TypeError('Class extends value ' + String(_v68) + ' is not a constructor or null'); function _v6a() { var _v6b = null; this.constructor = _v67; } _v5v(_v67, _v68), _v67.prototype = null === _v68 ? Object.create(_v68) : (_v6a.prototype = _v68.prototype, new _v6a()); }); defineModule(_v5s); Object.defineProperty(_v5s, '__esModule', { 'value': !0 }), _v5s.GreenStarParticle = void 0; var _v6c = _v5t(31000), _v6d = function(_v6e) { var _v6f = null; function _v6g() { var _v6h = null, _v6i = _v6e.call(this) || this; _v6i.STAR = 5, _v6i.SHOOTING_STAR_DISTANCE = 45; var _v6j = Math.random(); _v6i.stars = [], _v6i.starTables = new Array(); for (var _v6k = 0; _v6k < _v6i.STAR; _v6k++) { var _v6l = new PIXI.Sprite(_v6c.ARSENAL_MAIN.getTexture(143)); _v6l.anchor.set(0.5, 0.5), _v6l.alpha = 0, _v6l.position.set(0, 0); var _v6m = Math.sin(Math.PI / 180 * (360 * _v6j)), _v6n = Math.cos(Math.PI / 180 * (360 * _v6j)), _v6o = { 'x': 0, 'y': 0 }; _v6o.x = _v6m, _v6o.y = _v6n, _v6i.stars.push(_v6l), _v6i.starTables.push(_v6o), _v6i.addChild(_v6l); } return _v6i; } return _v5w(_v6g, _v6e), _v6g.prototype.updateStarPosition = function() { var _v6p = null; for (var _v6q = 0; _v6q < this.stars.length; _v6q++) { var _v6r = Math.PI / 180 * (360 * Math.random()), _v6s = Math.sin(_v6r), _v6t = Math.cos(_v6r); this.starTables[_v6q].x = _v6s, this.starTables[_v6q].y = _v6t; } }, _v6g.prototype.updateAlpha = function(_v6u) { var _v6v = null; void 0 === _v6u && (_v6u = 0); for (var _v6w = 0; _v6w < this.stars.length; _v6w++) { this.stars[_v6w].alpha = _v6u; } }, _v6g.prototype.updateAnimation = function(_v6x) { var _v6y = null; for (var _v6z = Math.PI / 180 * (180 * _v6x), _v70 = 0; _v70 < this.stars.length; _v70++) { var _v71 = this.stars[_v70], _v72 = this.starTables[_v70]; _v71.rotation = _v6z, _v71.position.set(_v72.x * this.SHOOTING_STAR_DISTANCE * _v6x, _v72.y * this.SHOOTING_STAR_DISTANCE * _v6x); } }, _v6g.prototype.dispose = function() { var _v73 = null; for (var _v74 = 0; _v74 < this.stars.length; _v74++) this.stars[_v74] = null; this.starTables = null, this.stars = null, this.removeChildren(); }, _v6g; }(PIXI.Container); _v5s.GreenStarParticle = _v6d; }, 53712: function(_v75, _v76, _v77) { 'use strict'; var _v78 = null; var _v79, _v7a = this && this.__extends || (_v79 = function(_v7b, _v7c) { var _v7d = null; return _v79 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_v7e, _v7f) { var _v7g = null; _v7e.__proto__ = _v7f; } || function(_v7h, _v7i) { var _v7j = null; for (var _v7k in _v7i) Object.prototype.hasOwnProperty.call(_v7i, _v7k) && (_v7h[_v7k] = _v7i[_v7k]); }, _v79(_v7b, _v7c); }, function(_v7l, _v7m) { var _v7n = null; if ('function' != typeof _v7m && null !== _v7m) throw new TypeError('Class extends value ' + String(_v7m) + ' is not a constructor or null'); function _v7o() { var _v7p = null; this.constructor = _v7l; } _v79(_v7l, _v7m), _v7l.prototype = null === _v7m ? Object.create(_v7m) : (_v7o.prototype = _v7m.prototype, new _v7o()); }); defineModule(_v76); Object.defineProperty(_v76, '__esModule', { 'value': !0 }), _v76.Hammer = void 0; var _v7q = _v77(29075), _v7r = _v77(7626), _v7s = _v77(98822), _v7t = function(_v7u) { var _v7v = null; function _v7w(_v7x) { var _v7y = null, _v7z = _v7u.call(this) || this; return _v7z.DEFAULT_IN_X = 288, _v7z.DEFAULT_OUT_X = 825, _v7z.BUILD = [113, 112], _v7z.WALK = [109, 110, 111, 110], _v7z.COMPLETION = [114, 115], _v7z.STAR_CENTER_OFFSET = { 'x': -30, 'y': -30 }, _v7z.ANIMATION_KEY_WALK = {}, _v7z.ANIMATION_KEY_TURN = {}, _v7z.ANIMATION_KEY_COMPLETE = {}, _v7z.ANIMATION_KEY_BUILDING = {}, _v7z.y = 91, _v7z.x = _v7z.DEFAULT_OUT_X, _v7z.sprite = new PIXI.Sprite(), _v7z.sparkParticle = new _v7s.GreenStarParticle(), _v7z.sprite.anchor.set(0.5, 1), _v7z.sprite.texture = _v7q.ARSENAL_MAIN.getTexture(_v7z.WALK[0]), _v7z.sparkParticle.position.set(_v7z.STAR_CENTER_OFFSET.x, _v7z.STAR_CENTER_OFFSET.y), _v7z.sprite.addChild(_v7z.sparkParticle), _v7z.addChild(_v7z.sprite), _v7z.syncAnimationKey = _v7x, _v7z; } return _v7a(_v7w, _v7u), _v7w.prototype.build = function() { var _v80 = null, _v81 = this; this.stopAllTween(), this.sparkParticle.updateAlpha(0), this.sparkParticle.updateStarPosition(), this.sparkParticle.visible = !0, this.sprite.scale.x = 1, this.__AnimationWalk__(this.x, this.DEFAULT_IN_X, 2500, function() { var _v82 = null; _v81.stopAllTween(), _v81.__AnimationTurn__(-1, 500, function() { var _v83 = null; _v81.stopAllTween(), _v81.__AnimationBuilding__(); }); }); }, _v7w.prototype.resume = function() { var _v84 = null; this.stopAllTween(), this.x = 288, this.sprite.scale.x = -1, this.sprite.y = 0, this.__AnimationBuilding__(); }, _v7w.prototype.useBurner = function() { var _v85 = null; this.stopAllTween(), this.sparkParticle.visible = !1, this.sparkParticle.updateAlpha(0), this.sprite.scale.x = -1, this.sprite.y = 0, this.__AnimationWalk__(this.x, this.DEFAULT_OUT_X, 1000, function() {}); }, _v7w.prototype.useBurnerd = function() { var _v86 = null, _v87 = this; this.stopAllTween(), this.sprite.scale.x = 1, this.__AnimationWalk__(this.x, this.DEFAULT_IN_X, 1000, function() { var _v88 = null; _v87.sprite.scale.x = 1, _v87.sparkParticle.visible = !1, _v87.sparkParticle.updateAlpha(0), _v87.stopAllTween(), _v87.__AnimationComplete__(); }); }, _v7w.prototype.received = function() { var _v89 = null; this.stopAllTween(), this.sprite.y = 0, this.sprite.scale.x = -1, this.__AnimationWalk__(this.x, this.DEFAULT_OUT_X, 1000, function() {}); }, _v7w.prototype.complete = function() { var _v8a = null; this.stopAllTween(), this.x = this.DEFAULT_IN_X, this.sprite.scale.x = 1, this.sprite.y = 0, this.sparkParticle.visible = !1, this.sparkParticle.updateAlpha(0), this.__AnimationComplete__(); }, _v7w.prototype.stopAllTween = function() { var _v8b = null; createjs.Tween.removeTweens(this.ANIMATION_KEY_WALK), createjs.Tween.removeTweens(this.ANIMATION_KEY_BUILDING), createjs.Tween.removeTweens(this.ANIMATION_KEY_COMPLETE), createjs.Tween.removeTweens(this.ANIMATION_KEY_TURN); }, _v7w.prototype.__AnimationWalk__ = function(_v8c, _v8d, _v8e, _v8f) { var _v8g = null, _v8h = this; this.ANIMATION_KEY_WALK.x = this.x = _v8c, this.ANIMATION_KEY_WALK.progress = 0, this.ANIMATION_KEY_WALK.walk = 0; var _v8i = createjs.Tween.get(this.ANIMATION_KEY_WALK, { 'loop': !0 }); _v8i.to({ 'walk': 0 }).to({ 'walk': 1 }, 225).to({ 'walk': 0 }, 225).addEventListener('change', function() { var _v8j = null, _v8k = _v8h.ANIMATION_KEY_WALK.walk, _v8l = Math.round((_v8h.WALK.length - 1) * _v8k); _v8h.sprite.texture = _v7q.ARSENAL_MAIN.getTexture(_v8h.WALK[_v8l]); }); var _v8m = createjs.Tween.get(this.ANIMATION_KEY_WALK); _v8m.to({ 'x': _v8d, 'progress': 1 }, _v8e).call(function() { var _v8n = null; createjs.Tween.removeTweens(_v8h.ANIMATION_KEY_WALK), _v8m.removeAllEventListeners('change'), _v8i.removeAllEventListeners('change'), _v8m.setPaused(!0), _v8i.setPaused(!0), _v8h.x = _v8d, _v8f(); }).addEventListener('change', function() { var _v8o = null, _v8p = _v8h.ANIMATION_KEY_WALK.progress, _v8q = Math.round((_v8h.WALK.length - 1) * _v8p); _v8h.x = _v8h.ANIMATION_KEY_WALK.x, _v8h.sprite.texture = _v7q.ARSENAL_MAIN.getTexture(_v8h.WALK[_v8q]); }); }, _v7w.prototype.__AnimationTurn__ = function(_v8r, _v8s, _v8t) { var _v8u = null, _v8v = this; this.ANIMATION_KEY_TURN.direction = this.sprite.scale.x, createjs.Tween.removeTweens(this.ANIMATION_KEY_TURN); var _v8w = createjs.Tween.get(this.ANIMATION_KEY_TURN); _v8w.to({ 'direction': _v8r }, _v8s).call(function() { var _v8x = null; createjs.Tween.removeTweens(_v8v.ANIMATION_KEY_TURN), _v8w.removeAllEventListeners('change'), _v8w.setPaused(!0), _v8v.sprite.scale.x = _v8r, _v8t(); }).addEventListener('change', function() { var _v8y = null; _v8v.sprite.scale.x = _v8v.ANIMATION_KEY_TURN.direction; }); }, _v7w.prototype.__AnimationComplete__ = function() { var _v8z = null, _v90 = this; createjs.Tween.get(this.ANIMATION_KEY_COMPLETE, { 'loop': !0 }).wait(1000).addEventListener('change', function() { var _v91 = null, _v92 = _v90.syncAnimationKey.getNumber(_v7r.SYNC_KEY_JUMP); _v90.sprite.y = -15 * _v92, _v90.sprite.texture = 0.2 < _v92 ? _v7q.ARSENAL_MAIN.getTexture(_v90.COMPLETION[0]) : _v7q.ARSENAL_MAIN.getTexture(_v90.COMPLETION[1]); }); }, _v7w.prototype.__AnimationBuilding__ = function() { var _v93 = null, _v94 = this; createjs.Tween.get(this.ANIMATION_KEY_BUILDING, { 'loop': !0 }).call(function() { var _v95 = null; _v94.sparkParticle.updateStarPosition(), _v94.sparkParticle.updateAlpha(0), _v94.sprite.texture = _v7q.ARSENAL_MAIN.getTexture(_v94.BUILD[1]); }).wait(500).call(function() { var _v96 = null; _v94.sprite.texture = _v7q.ARSENAL_MAIN.getTexture(_v94.BUILD[0]), createjs.Tween.get(_v94.ANIMATION_KEY_BUILDING).to({ 'progress': 0 }).to({ 'progress': 1 }, 300).addEventListener('change', function() { var _v97 = null, _v98 = _v94.ANIMATION_KEY_BUILDING.progress; _v94.sparkParticle.updateAnimation(_v98), _v94.sparkParticle.updateAlpha(1 - _v98); }); }).wait(500); }, _v7w.prototype.dispose = function() { var _v99 = null; createjs.Tween.removeTweens(this.ANIMATION_KEY_WALK), createjs.Tween.removeTweens(this.ANIMATION_KEY_TURN), createjs.Tween.removeTweens(this.ANIMATION_KEY_COMPLETE), createjs.Tween.removeTweens(this.ANIMATION_KEY_BUILDING), this.sparkParticle.dispose(), this.sparkParticle = null, this.sprite = null, this.syncAnimationKey = null, this.removeChildren(); }, _v7w; }(PIXI.Container); _v76.Hammer = _v7t; }, 38772: function(_v9a, _v9b, _v9c) { 'use strict'; var _v9d = null; var _v9e, _v9f = this && this.__extends || (_v9e = function(_v9g, _v9h) { var _v9i = null; return _v9e = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_v9j, _v9k) { var _v9l = null; _v9j.__proto__ = _v9k; } || function(_v9m, _v9n) { var _v9o = null; for (var _v9p in _v9n) Object.prototype.hasOwnProperty.call(_v9n, _v9p) && (_v9m[_v9p] = _v9n[_v9p]); }, _v9e(_v9g, _v9h); }, function(_v9q, _v9r) { var _v9s = null; if ('function' != typeof _v9r && null !== _v9r) throw new TypeError('Class extends value ' + String(_v9r) + ' is not a constructor or null'); function _v9t() { var _v9u = null; this.constructor = _v9q; } _v9e(_v9q, _v9r), _v9q.prototype = null === _v9r ? Object.create(_v9r) : (_v9t.prototype = _v9r.prototype, new _v9t()); }), _v9v = this && this.__importDefault || function(_v9w) { var _v9x = null; return _v9w && _v9w.__esModule ? _v9w : { 'default': _v9w }; }; defineModule(_v9b); Object.defineProperty(_v9b, '__esModule', { 'value': !0 }), _v9b.HighSpeedConfirmContainer = void 0; var _v9y = _v9v(_v9c(18622)), _v9z = _v9c(83415), _va0 = _v9c(79899), _va1 = _v9c(25004), _va2 = function(_va3) { var _va4 = null; function _va5() { var _va6 = null, _va7 = _va3.call(this, 0.9) || this; return _va7.alpha = 0, _va7; } return _v9f(_va5, _va3), _va5.prototype.show = function(_va8, _va9, _vaa) { var _vab = null; this.removeChildren(), this.highSpeedConfirmView = new _va1.HighSpeedConfirmView(_vaa), this.highSpeedConfirmView.update(_va8, _va9), this.highSpeedConfirmView.position.set(91, 70), this.addChild(this.highSpeedConfirmView), _v9y.default.view.clickGuard = !0, createjs.Tween.get(this).to({ 'alpha': 1 }, _v9z.UISettings.DIALOG_FADETIME).call(function() { var _vac = null; _v9y.default.view.clickGuard = !1; }); }, _va5.prototype.hide = function(_vad) { var _vae = null; createjs.Tween.get(this).to({ 'alpha': 0 }, _v9z.UISettings.DIALOG_FADETIME).call(function() { _vad(); }); }, _va5.prototype.dispose = function() { var _vaf = null; createjs.Tween.removeTweens(this), this.removeChildren(), this.highSpeedConfirmView.dispose(), this.highSpeedConfirmView = null; }, _va5; }(_va0.AreaBox); _v9b.HighSpeedConfirmContainer = _va2; }, 25004: function(_vag, _vah, _vai) { 'use strict'; var _vaj = null; var _vak, _val = this && this.__extends || (_vak = function(_vam, _van) { var _vao = null; return _vak = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_vap, _vaq) { var _var = null; _vap.__proto__ = _vaq; } || function(_vas, _vat) { var _vau = null; for (var _vav in _vat) Object.prototype.hasOwnProperty.call(_vat, _vav) && (_vas[_vav] = _vat[_vav]); }, _vak(_vam, _van); }, function(_vaw, _vax) { var _vay = null; if ('function' != typeof _vax && null !== _vax) throw new TypeError('Class extends value ' + String(_vax) + ' is not a constructor or null'); function _vaz() { var _vb0 = null; this.constructor = _vaw; } _vak(_vaw, _vax), _vaw.prototype = null === _vax ? Object.create(_vax) : (_vaz.prototype = _vax.prototype, new _vaz()); }); defineModule(_vah); Object.defineProperty(_vah, '__esModule', { 'value': !0 }), _vah.HighSpeedConfirmView = void 0; var _vb1 = _vai(35380), _vb2 = _vai(8744), _vb3 = _vai(90054), _vb4 = _vai(29075), _vb5 = function(_vb6) { var _vb7 = null; function _vb8(_vb9) { var _vba = null, _vbb = _vb6.call(this) || this; _vbb._onClickYes = function() { var _vbc = null; _vbb._cb_onComplete(!0); }, _vbb._onClickNo = function() { var _vbd = null; _vbb._cb_onComplete(!1); }, _vbb._cb_onComplete = _vb9; var _vbe = new PIXI.Sprite(_vb3.COMMON_MAIN.getTexture(66)), _vbf = new PIXI.Sprite(_vb4.ARSENAL_MAIN.getTexture(83)), _vbg = new PIXI.Sprite(_vb4.ARSENAL_MAIN.getTexture(3)); _vbb.labelUse = new _vb2.TextBox(21, 16777215), _vbb.labelName = new _vb2.TextBox(21, 1949120), _vbb.beforeCount = new _vb2.TextBox(22, 16777215), _vbb.afterCount = new _vb2.TextBox(22, 16777215); var _vbh = new PIXI.Sprite(_vb4.ARSENAL_MAIN.getTexture(0)); return _vbb.labelName.text = '高速建造', _vbb.labelUse.text = '使用する', _vbb.beforeCount.anchor.x = 1, _vbb.beforeCount.position.set(630, 217), _vbb.afterCount.position.set(664, 217), _vbb.labelName.position.set(307, 166), _vbb.labelUse.position.set(513, 166), _vbh.position.set(730, 297), _vbg.position.set(432, -43), _vbf.position.set(498, 210), _vbh.position.set(639, 226), _vbb.addChild(_vbe, _vbg), _vbb._btn_yes = new PIXI.Sprite(_vb4.ARSENAL_MAIN.getTexture(44)), _vbb._btn_yes.interactive = !0, _vbb._btn_yes.buttonMode = !0, _vbb._btn_yes.position.set(540, 484), _vbb._btn_yes.on(_vb1.EventType.CLICK, _vbb._onClickYes), _vbb.addChild(_vbb._btn_yes), _vbb._btn_no = new PIXI.Sprite(_vb4.ARSENAL_MAIN.getTexture(36)), _vbb._btn_no.interactive = !0, _vbb._btn_no.buttonMode = !0, _vbb._btn_no.position.set(273, 484), _vbb._btn_no.on(_vb1.EventType.CLICK, _vbb._onClickNo), _vbb.addChild(_vbb._btn_no), _vbb.addChild(_vbb.beforeCount, _vbb.afterCount, _vbh, _vbf, _vbb.labelName, _vbb.labelUse), _vbb; } return _val(_vb8, _vb6), _vb8.prototype.dispose = function() { var _vbi = null; this.removeChildren(), this._btn_yes.off(_vb1.EventType.CLICK, this._onClickYes), this._btn_no.off(_vb1.EventType.CLICK, this._onClickNo), this.beforeCount.destroy(), this.afterCount.destroy(), this.labelName.destroy(), this.labelUse.destroy(), this._cb_onComplete = null, this._btn_yes = null, this._btn_no = null, this.beforeCount = null, this.afterCount = null, this.labelName = null, this.labelUse = null; }, _vb8.prototype.update = function(_vbj, _vbk) { var _vbl = null; this.beforeCount.text = _vbj.toString(), this.afterCount.text = _vbk.toString(); }, _vb8; }(PIXI.Container); _vah.HighSpeedConfirmView = _vb5; }, 8961: function(_vbm, _vbn, _vbo) { 'use strict'; var _vbp = null; var _vbq, _vbr = this && this.__extends || (_vbq = function(_vbs, _vbt) { var _vbu = null; return _vbq = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_vbv, _vbw) { var _vbx = null; _vbv.__proto__ = _vbw; } || function(_vby, _vbz) { var _vc0 = null; for (var _vc1 in _vbz) Object.prototype.hasOwnProperty.call(_vbz, _vc1) && (_vby[_vc1] = _vbz[_vc1]); }, _vbq(_vbs, _vbt); }, function(_vc2, _vc3) { var _vc4 = null; if ('function' != typeof _vc3 && null !== _vc3) throw new TypeError('Class extends value ' + String(_vc3) + ' is not a constructor or null'); function _vc5() { var _vc6 = null; this.constructor = _vc2; } _vbq(_vc2, _vc3), _vc2.prototype = null === _vc3 ? Object.create(_vc3) : (_vc5.prototype = _vc3.prototype, new _vc5()); }); defineModule(_vbn); Object.defineProperty(_vbn, '__esModule', { 'value': !0 }), _vbn.HighSpeedToggle = void 0; var _vc7 = _vbo(29075), _vc8 = _vbo(35380), _vc9 = function(_vca) { var _vcb = null; function _vcc() { var _vcd = null, _vce = _vca.call(this) || this; return _vce._state = !1, _vce.animationParams = { 'progress': 0 }, _vce._onClick = function() { var _vcf = null; null != _vce.tween && _vce.tween.setPaused(!0), _vce.tween = null; var _vcg = 0; switch (_vce._state) { case !1: _vce._state = !0, _vcg = 0; break; case !0: _vce._state = !1, _vcg = 1; } var _vch = createjs.Tween.get(_vce.animationParams); _vch.to({ 'progress': _vcg }, 300).on('change', function() { var _vci = null; 0.5 < _vce.animationParams.progress ? _vce.background_on.visible = !1 : _vce.background_on.visible = !0, _vce.toggle.x = 3 + 103 * _vce.animationParams.progress; }), _vch.play(null), _vce.tween = _vch; }, _vce.toggle = new PIXI.Sprite(_vc7.ARSENAL_MAIN.getTexture(150)), _vce.background_off = new PIXI.Sprite(_vc7.ARSENAL_MAIN.getTexture(151)), _vce.background_on = new PIXI.Sprite(_vc7.ARSENAL_MAIN.getTexture(153)), _vce.background_off.on(_vc8.EventType.CLICK, _vce._onClick), _vce.toggle.position.set(106, 0), _vce.addChild(_vce.background_off, _vce.background_on, _vce.toggle), _vce; } return _vbr(_vcc, _vca), Object.defineProperty(_vcc.prototype, 'state', { 'get': function() { var _vcj = null; return this._state; }, 'enumerable': !1, 'configurable': !0 }), _vcc.prototype.update = function(_vck) { var _vcl = null; null != this.tween && this.tween.setPaused(!0), this.tween = null, this._state = !1, this.toggle.position.set(106, 0), this.background_off.interactive = this.background_off.buttonMode = !!_vck, this.background_on.visible = !1, this.animationParams.progress = 1; }, _vcc.prototype.changeToggleState = function(_vcm) { var _vcn = null; switch (null != this.tween && this.tween.setPaused(!0), this.tween = null, this.toggle.x = 3, this.background_on.visible = !1, _vcm) { case !0: this.toggle.x = 3, this.animationParams.progress = 0, this.background_on.visible = !0; break; case !1: this.toggle.x = 106, this.animationParams.progress = 1, this.background_on.visible = !1; } this._state = _vcm; }, _vcc.prototype.dispose = function() { var _vco = null; null != this.tween && this.tween.setPaused(!0), this.removeChildren(), this.background_off = null, this.background_on = null, this.toggle = null, this.tween = null; }, _vcc; }(PIXI.Container); _vbn.HighSpeedToggle = _vc9; }, 49542: function(_vcp, _vcq, _vcr) { 'use strict'; var _vcs = null; var _vct, _vcu = this && this.__extends || (_vct = function(_vcv, _vcw) { var _vcx = null; return _vct = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_vcy, _vcz) { var _vd0 = null; _vcy.__proto__ = _vcz; } || function(_vd1, _vd2) { var _vd3 = null; for (var _vd4 in _vd2) Object.prototype.hasOwnProperty.call(_vd2, _vd4) && (_vd1[_vd4] = _vd2[_vd4]); }, _vct(_vcv, _vcw); }, function(_vd5, _vd6) { var _vd7 = null; if ('function' != typeof _vd6 && null !== _vd6) throw new TypeError('Class extends value ' + String(_vd6) + ' is not a constructor or null'); function _vd8() { var _vd9 = null; this.constructor = _vd5; } _vct(_vd5, _vd6), _vd5.prototype = null === _vd6 ? Object.create(_vd6) : (_vd8.prototype = _vd6.prototype, new _vd8()); }); defineModule(_vcq); Object.defineProperty(_vcq, '__esModule', { 'value': !0 }), _vcq.KDockStateView = void 0; var _vda = _vcr(29075), _vdb = _vcr(8744), _vdc = _vcr(57616), _vdd = function(_vde) { var _vdf = null; function _vdg() { var _vdh = null, _vdi = _vde.call(this) || this; _vdi.completeTime = 0, _vdi.now = 0, _vdi.timeCounter = new _vdb.TextBox(31, 5523516), _vdi.textBuildState = new PIXI.Sprite(_vda.ARSENAL_MAIN.getTexture(60)); var _vdj = new PIXI.Sprite(_vda.ARSENAL_MAIN.getTexture(144)); _vdj.position.set(-4, -30); var _vdk = new PIXI.Sprite(_vda.ARSENAL_MAIN.getTexture(156)); return _vdk.anchor.x = 0.5, _vdk.position.set(54, 16), _vdi.textBuildState.position.set(16, -28), _vdi.timeCounter.position.set(-14, 42), _vdi.timeCounter.text = _vdc.MathUtil.timeToString(0), _vdi.addChild(_vdj, _vdi.timeCounter, _vdi.textBuildState, _vdk), _vdi; } return _vcu(_vdg, _vde), _vdg.prototype.build = function(_vdl) { var _vdm = null; this.timeCounter.alpha = 1, this.completeTime = _vdl, this.textBuildState.texture = _vda.ARSENAL_MAIN.getTexture(58); }, _vdg.prototype.standby = function() { var _vdn = null; this.timeCounter.alpha = 0.5, this.textBuildState.texture = _vda.ARSENAL_MAIN.getTexture(60); }, _vdg.prototype.complete = function() { var _vdo = null; this.timeCounter.text = _vdc.MathUtil.timeToString(0), this.textBuildState.texture = _vda.ARSENAL_MAIN.getTexture(59); }, _vdg.prototype.update = function(_vdp) { var _vdq = null, _vdr = this.completeTime - _vdp; _vdr < 0 && (_vdr = 0), this.timeCounter.text = _vdc.MathUtil.timeToString(_vdr); }, _vdg.prototype.updateProgress = function(_vds, _vdt, _vdu) { var _vdv = null, _vdw = _vds - _vdt; _vdw < 0 && (_vdw = 0), _vdw *= 1 - _vdu, this.timeCounter.text = _vdc.MathUtil.timeToString(_vdw); }, _vdg.prototype.dispose = function() { var _vdx = null; this.removeChildren(), this.timeCounter.destroy(), this.textBuildState = null, this.timeCounter = null, this.completeTime = null, this.now = null, this.removeChildren(); }, _vdg; }(PIXI.Container); _vcq.KDockStateView = _vdd; }, 44622: function(_vdy, _vdz, _ve0) { 'use strict'; var _ve1 = null; var _ve2 = this && this.__importDefault || function(_ve3) { var _ve4 = null; return _ve3 && _ve3.__esModule ? _ve3 : { 'default': _ve3 }; }; defineModule(_vdz); Object.defineProperty(_vdz, '__esModule', { 'value': !0 }), _vdz.KDockView = void 0; var _ve5 = _ve2(_ve0(18622)), _ve6 = _ve0(29075), _ve7 = _ve0(40583), _ve8 = _ve0(53712), _ve9 = _ve0(58001), _vea = _ve0(97819), _veb = _ve0(81579), _vec = _ve0(84402), _ved = _ve0(92420), _vee = _ve0(70878), _vef = _ve0(29270), _veg = _ve0(49542), _veh = _ve0(35380), _vei = (function() { var _vej = null; function _vek(_vel, _vem, _ven, _veo, _vep) { var _veq = null, _ver = this; this.hammerMotivation = !1, this.spannerMotivation = !1, this.ANIMATION_KEY_UNLOCK = { 'alpha': 0, 'y': 0 }, this._onClickGet = function() { var _ves = null; _ver.onClickGet(_ver.memDockId); }, this._onClickSelect = function() { var _vet = null; _ver.onClickSelect(_ver.memDockId); }, this._onClickHighSpeed = function() { var _veu = null; _ver.onClickHighSpeed(_ver.memDockId); }, this._onMouseOverHighSpeed = function() { var _vev = null; _ver.buttonHighSpeed.texture = _ve6.ARSENAL_MAIN.getTexture(24); }, this._onMouseOutHighSpeed = function() { var _vew = null; _ver.buttonHighSpeed.texture = _ve6.ARSENAL_MAIN.getTexture(22); }, this._onClickNoDock = function() { var _vex = null; _ver.hasKey && _ver.focusableNoDock && _ver.onClickNoDock(_ver.memDockId); }, this.great_steelFrame_bg = new PIXI.Sprite(_ve6.ARSENAL_MAIN.getTexture(65)), this.spanner = new _ve9.Spanner(_vep), this.hammer = new _ve8.Hammer(_vep), this.carry = new _ve7.Carry(_vep), this.kDockStateView = new _veg.KDockStateView(), this.buttonGet = new _vee.GetButton(), this.buttonSelect = new _vef.SelectButton(), this.iconHighSpeedDisable = new PIXI.Sprite(_ve6.ARSENAL_MAIN.getTexture(23)), this.buttonHighSpeed = new PIXI.Sprite(_ve6.ARSENAL_MAIN.getTexture(22)), this.normalBuildStage = new _vec.NormalBuildStage(), this.largeBuildStage = new _ved.LargeBuildStage(), this.noDockView = new _veb.NoDockView(_veo), this.burner = new _vea.Burner(_vep), this.steelFrame_mask_door = new PIXI.Sprite(_ve6.ARSENAL_MAIN.getTexture(145)), this.txt_open = new PIXI.Sprite(_ve6.ARSENAL_MAIN.getTexture(157)), this.txt_open.alpha = 0, this.txt_open.visible = !1, this.txt_open.position.set(285, 54), this.normalBuildStage.visible = !1, this.largeBuildStage.visible = !1, this.great_steelFrame_bg.visible = !1, this.spanner.visible = !1, this.hammer.visible = !1, this.burner.visible = !1, this.carry.visible = !1, this.noDockView.visible = !1, this.iconHighSpeedDisable.x = this.buttonHighSpeed.x = 525, this.iconHighSpeedDisable.y = this.buttonHighSpeed.y = 2, this.kDockStateView.position.set(63, 0), this.buttonGet.position.set(345, 28); var _vey = function(_vez) { switch (_vez) { case 1: return 0; case 2: return -1; case 3: case 4: return -2; } }(_vel); this.great_steelFrame_bg.position.set(239, 1 + _vey), this.buttonSelect.position.set(345, 28), this.normalBuildStage.position.set(238, -3), this.largeBuildStage.position.set(238, -3), this.steelFrame_mask_door.position.set(641, 1), this.noDockView.position.set(-7, -12), this.buttonGet.onClick = this._onClickGet, this.buttonSelect.onClick = this._onClickSelect, this.noDockView.onClick = this._onClickNoDock, this.buttonHighSpeed.on(_veh.EventType.CLICK, this._onClickHighSpeed), this.buttonHighSpeed.on(_veh.EventType.MOUSEOUT, this._onMouseOutHighSpeed), this.buttonHighSpeed.on(_veh.EventType.MOUSEOVER, this._onMouseOverHighSpeed), this.buttonHighSpeed.interactive = this.buttonHighSpeed.buttonMode = !0, _vem.addChild(this.great_steelFrame_bg), _vem.addChild(this.kDockStateView), _vem.addChild(this.noDockView), _ven.addChild(this.carry), _ven.addChild(this.normalBuildStage), _ven.addChild(this.largeBuildStage), _ven.addChild(this.spanner), _ven.addChild(this.hammer), _ven.addChild(this.burner), _ven.addChild(this.steelFrame_mask_door), _veo.addChild(this.iconHighSpeedDisable), _veo.addChild(this.buttonSelect), _veo.addChild(this.buttonGet), _veo.addChild(this.buttonHighSpeed, this.txt_open), this.completeTime = 0, this.layerBase = _vem, this.layerBuild = _ven, this.layerInteractive = _veo, this.syncAnimationKey = _vep, this.memDockId = _vel, this._state = 0; } return Object.defineProperty(_vek.prototype, 'state', { 'get': function() { var _vf0 = null; return this._state; }, 'enumerable': !1, 'configurable': !0 }), _vek.prototype.showHighSpeedButton = function(_vf1) { var _vf2 = null; this.buttonHighSpeed.visible = !1, this.iconHighSpeedDisable.visible = !1, _vf1 ? this.buttonHighSpeed.visible = !0 : this.iconHighSpeedDisable.visible = !0; }, _vek.prototype.hideHighSpeedButton = function() { var _vf3 = null; this.buttonHighSpeed.visible = !1, this.iconHighSpeedDisable.visible = !1; }, _vek.prototype.Build = function(_vf4, _vf5, _vf6, _vf7, _vf8, _vf9, _vfa, _vfb, _vfc) { var _vfd = null, _vfe = this; this._state = _vf4 ? 3 : 2, this.steelFrame_mask_door.visible = !0, this.hammerMotivation = _vf7, this.spannerMotivation = _vf8, this.great_steelFrame_bg.visible = !1, this.buttonGet.visible = !1, this.buttonSelect.visible = !1, this.hammer.visible = !1, this.spanner.visible = !1, this.burner.visible = !1, this.carry.visible = !1, this.largeBuildStage.visible = !1, this.normalBuildStage.visible = !1, this.noDockView.visible = !1, this.kDockStateView.build(_vfa), this.kDockStateView.update(_vfb), this.normalBuildStage.updatePhaseMax(_vfc), this.largeBuildStage.updatePhaseMax(_vfc), this.normalBuildStage.update(0.1), this.largeBuildStage.update(0.1), this.hideHighSpeedButton(), _vf4 ? (this.burner.visible = !0, this.burner.useBurner(function(_vff) { var _vfg = null; _vfe.kDockStateView.updateProgress(_vfa, _vfb, _vff), _vfe.normalBuildStage.update(_vff), _vfe.largeBuildStage.update(_vff); }, function() { var _vfh = null; _vfe.kDockStateView.updateProgress(_vfa, _vfb, 1), _vfe.burner.complete(), _vfe.hammerMotivation && (_vfe.hammer.visible = !0, _vfe.hammer.x = 825, _vfe.hammer.useBurnerd()), _vfe.spannerMotivation && (_vfe.spanner.visible = !0, _vfe.spanner.x = 825, _vfe.spanner.useBurnerd()), _vfe._buildComplete(); var _vfi = _ve5.default.model.deck.get(1).getShipList()[0].mstID; _ve5.default.sound.voice.play(_vfi.toString(), 5); })) : (_vf6 ? this.buttonHighSpeed.visible = !0 : this.iconHighSpeedDisable.visible = !0, _vf7 && (this.hammer.visible = !0, this.hammer.build()), _vf8 && (this.spanner.visible = !0, this.spanner.build()), this.carry.build(), this.carry.visible = !0), _vf5 ? (this.great_steelFrame_bg.visible = !0, this.largeBuildStage.visible = !0) : this.normalBuildStage.visible = !0, this.totalRequireTime = 60 * _vf9 * 1000, this.completeTime = _vfa; }, _vek.prototype.changeState = function(_vfj) { var _vfk = null; this._state = _vfj; }, _vek.prototype.Standby = function() { var _vfl = null; this.__Standby__(); }, _vek.prototype.__Standby__ = function() { var _vfm = null; this._state = 0, this.iconHighSpeedDisable.visible = !0, this.steelFrame_mask_door.visible = !0, this.kDockStateView.standby(), this.normalBuildStage.update(0), this.largeBuildStage.update(0), this.kDockStateView.visible = !0, this.buttonSelect.visible = !0, this.buttonGet.visible = !1, this.largeBuildStage.visible = !1, this.normalBuildStage.visible = !0, this.great_steelFrame_bg.visible = !1, this.noDockView.visible = !1; }, _vek.prototype.UnLockDock = function() { var _vfn = null, _vfo = this; createjs.Tween.removeTweens(this.ANIMATION_KEY_UNLOCK), this.txt_open.alpha = 0, this.txt_open.visible = !0, this.txt_open.alpha = this.ANIMATION_KEY_UNLOCK.alpha = 0, this.txt_open.y = this.ANIMATION_KEY_UNLOCK.y = 54; var _vfp = createjs.Tween.get(this.ANIMATION_KEY_UNLOCK); _vfp.to({ 'alpha': 1, 'y': -26.25 }, 500).to({ 'alpha': 0, 'y': -52 }, 400).call(function() { var _vfq = null; _vfp.removeAllEventListeners('change'), _vfp.setPaused(!0), _vfo.txt_open.alpha = _vfo.ANIMATION_KEY_UNLOCK.alpha = 0, _vfo.txt_open.y = _vfo.ANIMATION_KEY_UNLOCK.y = -105; }).addEventListener('change', function() { var _vfr = null; _vfo.txt_open.alpha = _vfo.ANIMATION_KEY_UNLOCK.alpha, _vfo.txt_open.y = _vfo.ANIMATION_KEY_UNLOCK.y; }), _vfp.play(null), this.noDockView.hidePop(), this.noDockView.visible = !1, this.__Standby__(); }, _vek.prototype.updateMotivation = function(_vfs, _vft) { var _vfu = null; this.hammerMotivation = _vfs, this.spannerMotivation = _vft; }, _vek.prototype.Resume = function(_vfv, _vfw, _vfx, _vfy, _vfz, _vg0, _vg1, _vg2) { var _vg3 = null; this._state = 2, this.hammerMotivation = _vfx, this.spannerMotivation = _vfy, this.steelFrame_mask_door.visible = !0, this.largeBuildStage.visible = !1, this.normalBuildStage.visible = !1, this.buttonGet.visible = !1, this.buttonSelect.visible = !1, this.hammer.visible = !1, this.spanner.visible = !1, this.burner.visible = !1, this.carry.visible = !1, this.noDockView.visible = !1, this.normalBuildStage.updatePhaseMax(_vg2), this.largeBuildStage.updatePhaseMax(_vg2), _vfx && (this.hammer.visible = !0, this.hammer.resume()), _vfy && (this.spanner.visible = !0, this.spanner.resume()), _vfv ? (this.great_steelFrame_bg.visible = !0, this.largeBuildStage.visible = !0) : this.normalBuildStage.visible = !0, this.hideHighSpeedButton(), _vfw ? this.buttonHighSpeed.visible = !0 : this.iconHighSpeedDisable.visible = !0, this.kDockStateView.build(_vg0), this.kDockStateView.update(_vg1), this.carry.visible = !0, this.carry.resume(), this.totalRequireTime = 60 * _vfz * 1000, this.completeTime = _vg0; }, _vek.prototype.Complete = function() { var _vg4 = null; this.hammer.visible = !1, this.spanner.visible = !1, this.hammerMotivation && (this.hammer.visible = !0), this.spannerMotivation && (this.spanner.visible = !0), this.__Complete__(); }, _vek.prototype.NoDock = function(_vg5, _vg6) { var _vg7 = null; this._state = -1, this.steelFrame_mask_door.visible = !1, this.noDockView.visible = !0, this.kDockStateView.visible = !1, this.buttonGet.visible = !1, this.buttonSelect.visible = !1, this.noDockView.update(_vg5, _vg6), this.focusableNoDock = _vg5, this.hasKey = _vg6; }, _vek.prototype.forceComplete = function(_vg8) { var _vg9 = null; _vg8 ? this.largeBuildStage.forceComplete() : this.normalBuildStage.forceComplete(); }, _vek.prototype.Completed = function(_vga, _vgb) { var _vgc = null; this.steelFrame_mask_door.visible = !0, this.hammer.visible = !1, this.spanner.visible = !1, this.great_steelFrame_bg.visible = !1, this.largeBuildStage.visible = !1, this.normalBuildStage.visible = !1, this.hammerMotivation && (this.hammer.visible = !0), this.spannerMotivation && (this.spanner.visible = !0), _vgb ? (this.great_steelFrame_bg.visible = !0, this.largeBuildStage.visible = !0, this.largeBuildStage.updatePhaseMax(_vga), this.largeBuildStage.update(1)) : (this.normalBuildStage.visible = !0, this.normalBuildStage.updatePhaseMax(_vga), this.normalBuildStage.update(1)), this.__Complete__(); }, _vek.prototype.__Complete__ = function() { var _vgd = null; this._buildComplete(), this.hammer.visible && this.hammer.complete(), this.spanner.visible && this.spanner.complete(), this.carry.visible && this.carry.complete(), this.burner.visible && this.burner.complete(); }, _vek.prototype._buildComplete = function() { var _vge = null; this._state = 3, this.buttonSelect.visible = !1, this.buttonGet.visible = !0, this.kDockStateView.complete(); }, _vek.prototype.UseBanner = function(_vgf, _vgg) { var _vgh = null, _vgi = this; this.hammer.visible && this.hammer.useBurner(), this.spanner.visible && this.spanner.useBurner(), this.carry.visible && this.carry.useBurner(), this.burner.visible = !0, this.burner.useBurner(function(_vgj) { var _vgk = null; _vgi.kDockStateView.updateProgress(_vgf, _vgg, _vgj), _vgi.normalBuildStage.update(_vgj), _vgi.largeBuildStage.update(_vgj); }, function() { var _vgl = null; _vgi.buttonSelect.visible = !1, _vgi.buttonGet.visible = !0, _vgi.burner.complete(), _vgi.hammerMotivation && _vgi.hammer.useBurnerd(), _vgi.spannerMotivation && _vgi.spanner.useBurnerd(), _vgi.kDockStateView.complete(); var _vgm = _ve5.default.model.deck.get(1).getShipList()[0].mstID; _ve5.default.sound.voice.play(_vgm.toString(), 5); }); }, _vek.prototype.Receive = function() { var _vgn = null; this.burner.visible && this.burner.receive(); }, _vek.prototype.Received = function() { var _vgo = null; this.hammer.visible && this.hammer.received(), this.spanner.visible && this.spanner.received(), this.carry.visible && this.carry.received(), this.__Standby__(); }, _vek.prototype.onUpdateTime = function(_vgp) { var _vgq = null; this.kDockStateView.update(_vgp); var _vgr = 1 - (this.completeTime - _vgp) / this.totalRequireTime; this.normalBuildStage.update(_vgr), this.largeBuildStage.update(_vgr); }, _vek.prototype.updateCondition = function(_vgs, _vgt) { var _vgu = null; this.buttonGet.updateCondition(_vgs, _vgt), this.buttonSelect.updateCondition(_vgs, _vgt); }, _vek.prototype.dispose = function() { var _vgv = null; this.normalBuildStage.dispose(), this.largeBuildStage.dispose(), this.buttonGet.dispose(), this.buttonSelect.dispose(), this.kDockStateView.dispose(), this.noDockView.dispose(), this.burner.dispose(), this.spanner.dispose(), this.hammer.dispose(), this.carry.dispose(), this.layerBase.removeChildren(), this.layerBuild.removeChildren(), this.layerInteractive.removeChildren(), this.onClickGet = null, this.onClickSelect = null, this.onClickHighSpeed = null, this.onClickNoDock = null, this.completeTime = null, this.totalRequireTime = null, this.memDockId = null, this.syncAnimationKey = null, this.great_steelFrame_bg = null, this.normalBuildStage = null, this.largeBuildStage = null, this.buttonGet = null, this.buttonSelect = null, this.buttonHighSpeed = null, this.iconHighSpeedDisable = null, this.kDockStateView = null, this.noDockView = null, this.burner = null, this.spanner = null, this.hammer = null, this.carry = null, this.txt_open = null, this.steelFrame_mask_door = null, this.layerBase = null, this.layerBuild = null, this.layerInteractive = null, this.hammerMotivation = null, this.spannerMotivation = null, this.focusableNoDock = null, this.hasKey = null, this._state = null; }, _vek; }()); _vdz.KDockView = _vei; }, 43807: function(_vgw, _vgx, _vgy) { 'use strict'; var _vgz = null; var _vh0, _vh1 = this && this.__extends || (_vh0 = function(_vh2, _vh3) { var _vh4 = null; return _vh0 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_vh5, _vh6) { var _vh7 = null; _vh5.__proto__ = _vh6; } || function(_vh8, _vh9) { var _vha = null; for (var _vhb in _vh9) Object.prototype.hasOwnProperty.call(_vh9, _vhb) && (_vh8[_vhb] = _vh9[_vhb]); }, _vh0(_vh2, _vh3); }, function(_vhc, _vhd) { var _vhe = null; if ('function' != typeof _vhd && null !== _vhd) throw new TypeError('Class extends value ' + String(_vhd) + ' is not a constructor or null'); function _vhf() { var _vhg = null; this.constructor = _vhc; } _vh0(_vhc, _vhd), _vhc.prototype = null === _vhd ? Object.create(_vhd) : (_vhf.prototype = _vhd.prototype, new _vhf()); }); defineModule(_vgx); Object.defineProperty(_vgx, '__esModule', { 'value': !0 }), _vgx.LargeBuildConfirm = void 0; var _vhh = _vgy(35380), _vhi = _vgy(29075), _vhj = function(_vhk) { var _vhl = null; function _vhm(_vhn) { var _vho = null, _vhp = _vhk.call(this) || this; _vhp._onClickYes = function() { var _vhq = null; _vhp._cb_onComplete(!0); }, _vhp._onClickNo = function() { var _vhr = null; _vhp._cb_onComplete(!1); }, _vhp._cb_onComplete = _vhn; var _vhs = new PIXI.Sprite(_vhi.ARSENAL_MAIN.getTexture(79)); return _vhs.position.set(271, 87), _vhp.addChild(_vhs), _vhp._btn_yes = new PIXI.Sprite(_vhi.ARSENAL_MAIN.getTexture(39)), _vhp._btn_yes.interactive = !0, _vhp._btn_yes.buttonMode = !0, _vhp._btn_yes.position.set(435, 505), _vhp.addChild(_vhp._btn_yes), _vhp._btn_no = new PIXI.Sprite(_vhi.ARSENAL_MAIN.getTexture(35)), _vhp._btn_no.interactive = !0, _vhp._btn_no.buttonMode = !0, _vhp._btn_no.position.set(615, 505), _vhp.addChild(_vhp._btn_no), _vhp._btn_yes.on(_vhh.EventType.CLICK, _vhp._onClickYes), _vhp._btn_no.on(_vhh.EventType.CLICK, _vhp._onClickNo), _vhp; } return _vh1(_vhm, _vhk), _vhm.prototype.dispose = function() { var _vht = null; this._btn_yes.off(_vhh.EventType.CLICK, this._onClickYes), this._btn_no.off(_vhh.EventType.CLICK, this._onClickNo), this._cb_onComplete = null, this.removeChildren(); }, _vhm; }(PIXI.Container); _vgx.LargeBuildConfirm = _vhj; }, 73102: function(_vhu, _vhv, _vhw) { 'use strict'; var _vhx = null; var _vhy, _vhz = this && this.__extends || (_vhy = function(_vi0, _vi1) { var _vi2 = null; return _vhy = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_vi3, _vi4) { var _vi5 = null; _vi3.__proto__ = _vi4; } || function(_vi6, _vi7) { var _vi8 = null; for (var _vi9 in _vi7) Object.prototype.hasOwnProperty.call(_vi7, _vi9) && (_vi6[_vi9] = _vi7[_vi9]); }, _vhy(_vi0, _vi1); }, function(_via, _vib) { var _vic = null; if ('function' != typeof _vib && null !== _vib) throw new TypeError('Class extends value ' + String(_vib) + ' is not a constructor or null'); function _vid() { var _vie = null; this.constructor = _via; } _vhy(_via, _vib), _via.prototype = null === _vib ? Object.create(_vib) : (_vid.prototype = _vib.prototype, new _vid()); }), _vif = this && this.__importDefault || function(_vig) { var _vih = null; return _vig && _vig.__esModule ? _vig : { 'default': _vig }; }; defineModule(_vhv); Object.defineProperty(_vhv, '__esModule', { 'value': !0 }), _vhv.LargeBuildConfirmContainer = void 0; var _vii = _vif(_vhw(18622)), _vij = _vhw(79899), _vik = _vhw(43807), _vil = function(_vim) { var _vin = null; function _vio() { var _vip = null, _viq = _vim.call(this, 0.8) || this; return _viq.alpha = 0, _viq; } return _vhz(_vio, _vim), _vio.prototype.show = function(_vir) { var _vis = null; this.removeChildren(), this.largeBuildConfirm = new _vik.LargeBuildConfirm(_vir), this.addChild(this.largeBuildConfirm), _vii.default.view.clickGuard = !0, createjs.Tween.get(this).to({ 'alpha': 1 }, 250).call(function() { var _vit = null; _vii.default.view.clickGuard = !1; }); }, _vio.prototype.hide = function(_viu) { var _viv = null; createjs.Tween.get(this).to({ 'alpha': 0 }, 250).call(function() { _viu(); }); }, _vio.prototype.dispose = function() { var _viw = null; createjs.Tween.removeTweens(this), this.removeChildren(), this.largeBuildConfirm.dispose(), this.largeBuildConfirm = null; }, _vio; }(_vij.AreaBox); _vhv.LargeBuildConfirmContainer = _vil; }, 59264: function(_vix, _viy, _viz) { 'use strict'; var _vj0 = null; var _vj1, _vj2 = this && this.__extends || (_vj1 = function(_vj3, _vj4) { var _vj5 = null; return _vj1 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_vj6, _vj7) { var _vj8 = null; _vj6.__proto__ = _vj7; } || function(_vj9, _vja) { var _vjb = null; for (var _vjc in _vja) Object.prototype.hasOwnProperty.call(_vja, _vjc) && (_vj9[_vjc] = _vja[_vjc]); }, _vj1(_vj3, _vj4); }, function(_vjd, _vje) { var _vjf = null; if ('function' != typeof _vje && null !== _vje) throw new TypeError('Class extends value ' + String(_vje) + ' is not a constructor or null'); function _vjg() { var _vjh = null; this.constructor = _vjd; } _vj1(_vjd, _vje), _vjd.prototype = null === _vje ? Object.create(_vje) : (_vjg.prototype = _vje.prototype, new _vjg()); }); defineModule(_viy); Object.defineProperty(_viy, '__esModule', { 'value': !0 }), _viy.LargeBuildShip = void 0; var _vji = _viz(31000), _vjj = function(_vjk) { var _vjl = null; function _vjm() { var _vjn = null, _vjo = _vjk.call(this) || this; return _vjo.build_ship3_00 = new PIXI.Sprite(_vji.ARSENAL_MAIN.getTexture(47)), _vjo.build_ship3_01 = new PIXI.Sprite(_vji.ARSENAL_MAIN.getTexture(48)), _vjo.build_ship3_02 = new PIXI.Sprite(_vji.ARSENAL_MAIN.getTexture(49)), _vjo.build_ship3_03 = new PIXI.Sprite(_vji.ARSENAL_MAIN.getTexture(50)), _vjo.build_ship3_04 = new PIXI.Sprite(_vji.ARSENAL_MAIN.getTexture(51)), _vjo.build_ship3_00.alpha = 0, _vjo.build_ship3_01.alpha = 0, _vjo.build_ship3_02.alpha = 0, _vjo.build_ship3_03.alpha = 0, _vjo.build_ship3_04.alpha = 0, _vjo.addChild(_vjo.build_ship3_00, _vjo.build_ship3_01, _vjo.build_ship3_02, _vjo.build_ship3_03, _vjo.build_ship3_04), _vjo; } return _vj2(_vjm, _vjk), _vjm.prototype.update = function(_vjp) { var _vjq = null; switch (this.build_ship3_00.alpha = 0, this.build_ship3_01.alpha = 0, this.build_ship3_02.alpha = 0, this.build_ship3_03.alpha = 0, this.build_ship3_04.alpha = 0, _vjp) { case 1: this.build_ship3_00.alpha = 1, this.build_ship3_01.alpha = 0, this.build_ship3_02.alpha = 0, this.build_ship3_03.alpha = 0, this.build_ship3_04.alpha = 0; break; case 2: this.build_ship3_00.alpha = 1, this.build_ship3_01.alpha = 1, this.build_ship3_02.alpha = 0, this.build_ship3_03.alpha = 0, this.build_ship3_04.alpha = 0; break; case 3: this.build_ship3_00.alpha = 1, this.build_ship3_01.alpha = 1, this.build_ship3_02.alpha = 1, this.build_ship3_03.alpha = 0, this.build_ship3_04.alpha = 0; break; case 4: this.build_ship3_00.alpha = 1, this.build_ship3_01.alpha = 1, this.build_ship3_02.alpha = 1, this.build_ship3_03.alpha = 1, this.build_ship3_04.alpha = 0; break; case 5: this.build_ship3_00.alpha = 1, this.build_ship3_01.alpha = 1, this.build_ship3_02.alpha = 1, this.build_ship3_03.alpha = 1, this.build_ship3_04.alpha = 1; } }, _vjm.prototype.dispose = function() { var _vjr = null; this.build_ship3_00 = null, this.build_ship3_01 = null, this.build_ship3_02 = null, this.build_ship3_03 = null, this.build_ship3_04 = null, this.removeChildren(); }, _vjm; }(PIXI.Container); _viy.LargeBuildShip = _vjj; }, 92420: function(_vjs, _vjt, _vju) { 'use strict'; var _vjv = null; var _vjw, _vjx = this && this.__extends || (_vjw = function(_vjy, _vjz) { var _vk0 = null; return _vjw = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_vk1, _vk2) { var _vk3 = null; _vk1.__proto__ = _vk2; } || function(_vk4, _vk5) { var _vk6 = null; for (var _vk7 in _vk5) Object.prototype.hasOwnProperty.call(_vk5, _vk7) && (_vk4[_vk7] = _vk5[_vk7]); }, _vjw(_vjy, _vjz); }, function(_vk8, _vk9) { var _vka = null; if ('function' != typeof _vk9 && null !== _vk9) throw new TypeError('Class extends value ' + String(_vk9) + ' is not a constructor or null'); function _vkb() { var _vkc = null; this.constructor = _vk8; } _vjw(_vk8, _vk9), _vk8.prototype = null === _vk9 ? Object.create(_vk9) : (_vkb.prototype = _vk9.prototype, new _vkb()); }); defineModule(_vjt); Object.defineProperty(_vjt, '__esModule', { 'value': !0 }), _vjt.LargeBuildStage = void 0; var _vkd = _vju(31000), _vke = _vju(59264), _vkf = function(_vkg) { var _vkh = null; function _vki() { var _vkj = null, _vkk = _vkg.call(this) || this, _vkl = new PIXI.Sprite(_vkd.ARSENAL_MAIN.getTexture(46)); return _vkk.ship = new _vke.LargeBuildShip(), _vkk.ship.position.set(22, 13), _vkl.position.set(12, 82), _vkk.addChild(_vkl), _vkk.addChild(_vkk.ship), _vkk; } return _vjx(_vki, _vkg), _vki.prototype.updatePhaseMax = function(_vkm) { var _vkn = null; this.phaseMax = _vkm; }, _vki.prototype.update = function(_vko) { var _vkp = null; if (0 == _vko) this.ship.update(0); else { var _vkq = Math.floor(this.phaseMax * _vko); 0 == _vkq && (_vkq = 1), this.ship.update(_vkq); } }, _vki.prototype.forceComplete = function() { var _vkr = null; this.ship.update(this.phaseMax); }, _vki.prototype.dispose = function() { var _vks = null; this.ship.dispose(), this.ship = null, this.phaseMax = null, this.removeChildren(); }, _vki; }(PIXI.Container); _vjt.LargeBuildStage = _vkf; }, 93572: function(_vkt, _vku, _vkv) { 'use strict'; var _vkw = null; var _vkx, _vky = this && this.__extends || (_vkx = function(_vkz, _vl0) { var _vl1 = null; return _vkx = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_vl2, _vl3) { var _vl4 = null; _vl2.__proto__ = _vl3; } || function(_vl5, _vl6) { var _vl7 = null; for (var _vl8 in _vl6) Object.prototype.hasOwnProperty.call(_vl6, _vl8) && (_vl5[_vl8] = _vl6[_vl8]); }, _vkx(_vkz, _vl0); }, function(_vl9, _vla) { var _vlb = null; if ('function' != typeof _vla && null !== _vla) throw new TypeError('Class extends value ' + String(_vla) + ' is not a constructor or null'); function _vlc() { var _vld = null; this.constructor = _vl9; } _vkx(_vl9, _vla), _vl9.prototype = null === _vla ? Object.create(_vla) : (_vlc.prototype = _vla.prototype, new _vlc()); }), _vle = this && this.__importDefault || function(_vlf) { var _vlg = null; return _vlf && _vlf.__esModule ? _vlf : { 'default': _vlf }; }; defineModule(_vku); Object.defineProperty(_vku, '__esModule', { 'value': !0 }), _vku.LargeConfigureMaterialContainer = _vku.Result = void 0; var _vlh, _vli = _vle(_vkv(18622)), _vlj = _vkv(35380), _vlk = _vkv(83415), _vll = _vkv(79899), _vlm = _vkv(43182), _vln = _vkv(8744), _vlo = _vkv(90054), _vlp = _vkv(29075), _vlq = _vkv(31849), _vlr = _vkv(84123); ! function(_vls) { var _vlt = null; _vls[_vls.CANCEL = 0] = 'CANCEL', _vls[_vls.CHANGE_NORMAL = 1] = 'CHANGE_NORMAL', _vls[_vls.START = 2] = 'START'; }(_vlh || (_vku.Result = _vlh = {})); var _vlu = function(_vlv) { var _vlw = null; function _vlx(_vly) { var _vlz = null, _vm0 = _vlv.call(this) || this; _vm0._onClickNormal = function() { var _vm1 = null; _vm0.onComplete(_vlh.CHANGE_NORMAL); }, _vm0._onClickBuild = function() { var _vm2 = null; _vm0.onComplete(_vlh.START); }, _vm0._onChangeValue = function() { var _vm3 = null, _vm4 = _vm0.fuel, _vm5 = _vm0.ammo, _vm6 = _vm0.steel, _vm7 = _vm0.bauxite, _vm8 = _vm0.devKit, _vm9 = _vm0.buildKit, _vma = _vlq.Util.BuildValidation(_vm4, _vm5, _vm6, _vm7, _vm8, _vm9); _vm0.update(_vma); }, _vm0._onClickBack = function() { var _vmb = null; _vm0.onComplete(_vlh.CANCEL); }, _vm0.mainView = _vly, _vm0.configureMaterialView_fuel = new _vlr.LargeConfigureMaterialView(31, 1500, 7000), _vm0.configureMaterialView_ammo = new _vlr.LargeConfigureMaterialView(32, 1500, 7000), _vm0.configureMaterialView_steel = new _vlr.LargeConfigureMaterialView(33, 2000, 7000), _vm0.configureMaterialView_bauxite = new _vlr.LargeConfigureMaterialView(34, 1000, 7000), _vm0.btn_kenzou = new _vlm.SimpleButton(_vlp.ARSENAL_MAIN.getTexture(31), _vlp.ARSENAL_MAIN.getTexture(33)); var _vmc = new PIXI.Sprite(_vlp.ARSENAL_MAIN.getTexture(32)), _vmd = new PIXI.Sprite(_vlp.ARSENAL_MAIN.getTexture(18)), _vme = new PIXI.Sprite(_vlp.ARSENAL_MAIN.getTexture(64)); _vm0.configureMaterialView_fuel.onChangeValue = _vm0._onChangeValue, _vm0.configureMaterialView_ammo.onChangeValue = _vm0._onChangeValue, _vm0.configureMaterialView_steel.onChangeValue = _vm0._onChangeValue, _vm0.configureMaterialView_bauxite.onChangeValue = _vm0._onChangeValue, _vme.interactive = !0, _vmc.position.set(532, 486), _vm0.btn_kenzou.position.set(532, 486), _vm0.configureMaterialView_fuel.position.set(60, 33), _vm0.configureMaterialView_ammo.position.set(60, 228), _vm0.configureMaterialView_steel.position.set(402, 33), _vm0.configureMaterialView_bauxite.position.set(402, 228), _vmd.position.set(60, 492), _vm0.btn_kenzou.on(_vlj.EventType.CLICK, _vm0._onClickBuild); var _vmf = new PIXI.Sprite(_vlo.COMMON_MAIN.getTexture(67)); _vmf.position.set(0, -37); var _vmg = new PIXI.Sprite(_vlp.ARSENAL_MAIN.getTexture(5)); return _vmg.anchor.set(0, 0.5), _vmg.position.set(22, Math.floor(_vmf.height / 2 - 4)), _vm0.addChild(_vme), _vm0.addChild(_vm0.configureMaterialView_fuel), _vm0.addChild(_vm0.configureMaterialView_ammo), _vm0.addChild(_vm0.configureMaterialView_steel), _vm0.addChild(_vm0.configureMaterialView_bauxite), _vm0.addChild(_vmc, _vmd), _vm0._buildKitSwitch = new _vmh(_vm0._onChangeValue), _vm0._buildKitSwitch.position.set(229, 427), _vm0.addChild(_vm0._buildKitSwitch), _vm0._devKitSwitch = new _vmi(_vm0._onChangeValue), _vm0._devKitSwitch.position.set(547, 427), _vm0.addChild(_vm0._devKitSwitch), _vm0.textDevKitBefore = new _vln.TextBox(24, 5523516), _vm0.textDevKitBefore.anchor.x = 1, _vm0.textDevKitBefore.position.set(591, 438), _vm0.addChild(_vm0.textDevKitBefore), _vm0.textDevKitAfter = new _vln.TextBox(24, 12467003), _vm0.textDevKitAfter.position.set(619, 438), _vm0.addChild(_vm0.textDevKitAfter), _vm0.addChild(_vm0.btn_kenzou), _vm0._btnToNormal = new PIXI.Sprite(_vlp.ARSENAL_MAIN.getTexture(37)), _vm0._btnToNormal.interactive = !0, _vm0._btnToNormal.buttonMode = !0, _vm0._btnToNormal.position.set(60, 492), _vm0.addChild(_vm0._btnToNormal), _vm0.addChild(_vmf), _vm0.position.set(1200, 139), _vmf.addChild(_vmg), _vm0.dialogBackground = new _vll.AreaBox(_vlk.UISettings.DIALOG_BG_ALPHA), _vm0.mainView.addChild(_vm0.dialogBackground), _vm0.mainView.addChild(_vm0), _vm0._btnToNormal.on(_vlj.EventType.CLICK, _vm0._onClickNormal), _vm0.dialogBackground.on(_vlj.EventType.CLICK, _vm0._onClickBack), _vm0; } return _vky(_vlx, _vlv), Object.defineProperty(_vlx.prototype, 'fuel', { 'get': function() { var _vmj = null; return this.configureMaterialView_fuel.value; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_vlx.prototype, 'ammo', { 'get': function() { var _vmk = null; return this.configureMaterialView_ammo.value; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_vlx.prototype, 'steel', { 'get': function() { var _vml = null; return this.configureMaterialView_steel.value; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_vlx.prototype, 'bauxite', { 'get': function() { var _vmm = null; return this.configureMaterialView_bauxite.value; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_vlx.prototype, 'devKit', { 'get': function() { var _vmn = null; return this._devKitSwitch.value; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_vlx.prototype, 'buildKit', { 'get': function() { var _vmo = null; return this._buildKitSwitch.value; }, 'enumerable': !1, 'configurable': !0 }), _vlx.prototype.dispose = function() { var _vmp = null; this.removeChildren(), this._btnToNormal.off(_vlj.EventType.CLICK, this._onClickNormal), this.dialogBackground.off(_vlj.EventType.CLICK, this._onClickBack), this.mainView.removeChild(this.dialogBackground), this.mainView.removeChild(this), this.configureMaterialView_fuel.dispose(), this.configureMaterialView_ammo.dispose(), this.configureMaterialView_steel.dispose(), this.configureMaterialView_bauxite.dispose(), this._devKitSwitch.dispose(), this._buildKitSwitch.dispose(), this.btn_kenzou.dispose(), this.textDevKitBefore.destroy(), this.textDevKitAfter.destroy(), this.configureMaterialView_fuel = null, this.configureMaterialView_ammo = null, this.configureMaterialView_steel = null, this.configureMaterialView_bauxite = null, this.btn_kenzou = null, this.onComplete = null, this.mainView = null, this.dialogBackground = null, this.textDevKitBefore = null, this.textDevKitAfter = null; }, _vlx.prototype.initialize = function(_vmq, _vmr, _vms, _vmt, _vmu, _vmv) { var _vmw = null; this.configureMaterialView_fuel.setAvail(_vmq), this.configureMaterialView_ammo.setAvail(_vmr), this.configureMaterialView_steel.setAvail(_vms), this.configureMaterialView_bauxite.setAvail(_vmt); }, _vlx.prototype.play = function(_vmx, _vmy, _vmz, _vn0, _vn1, _vn2) { var _vn3 = null, _vn4 = _vli.default.model.useItem.get(31).count, _vn5 = _vli.default.model.useItem.get(32).count, _vn6 = _vli.default.model.useItem.get(33).count, _vn7 = _vli.default.model.useItem.get(34).count, _vn8 = _vli.default.model.useItem.get(3).count, _vn9 = _vli.default.model.useItem.get(2).count, _vna = _vlq.Util.BuildValidation(_vmx, _vmy, _vmz, _vn0, _vn1, _vn2); this.update(_vna), this.initialize(_vn4, _vn5, _vn6, _vn7, _vn8, _vn9), this.configureMaterialView_fuel.updateValue(_vmx), this.configureMaterialView_ammo.updateValue(_vmy), this.configureMaterialView_steel.updateValue(_vmz), this.configureMaterialView_bauxite.updateValue(_vn0), this._buildKitSwitch.enable = _vn9 >= 10, this._buildKitSwitch.update(0), this._devKitSwitch.update(1), this.x = 412; }, _vlx.prototype.hide = function(_vnb) { var _vnc = null, _vnd = this, _vne = { 'progress': 0 }, _vnf = createjs.Tween.get(_vne); _vnf.to({ 'progress': 1 }, 250).call(function() { var _vng = null; _vnd.x = 1200, _vnf.removeAllEventListeners('change'), _vnb(); }), _vnf.addEventListener('change', function() { var _vnh = null; _vnd.x = 412 + 788 * _vne.progress, _vnd.dialogBackground.alpha = 1 - _vne.progress; }), _vnf.play(null); }, _vlx.prototype.update = function(_vni) { var _vnj = null; this.btn_kenzou.visible = !1, _vni && (this.btn_kenzou.visible = !0); }, _vlx; }(PIXI.Container); _vku.LargeConfigureMaterialContainer = _vlu; var _vmh = function(_vnk) { var _vnl = null; function _vnm(_vnn) { var _vno = null, _vnp = _vnk.call(this, _vlp.ARSENAL_MAIN.getTexture(148)) || this; return _vnp._enable = !0, _vnp._onClick000 = function() { var _vnq = null; _vnp.update(0), _vnp._cb_onChange(); }, _vnp._onClick010 = function() { var _vnr = null; _vnp.update(10), _vnp._cb_onChange(); }, _vnp._cb_onChange = null == _vnn ? function() {} : _vnn, _vnp._toggle000 = new PIXI.Sprite(_vlp.ARSENAL_MAIN.getTexture(150)), _vnp._toggle000.interactive = !0, _vnp._toggle000.buttonMode = !0, _vnp._toggle000.position.set(6, 13), _vnp.addChild(_vnp._toggle000), _vnp._toggle010 = new PIXI.Sprite(_vlp.ARSENAL_MAIN.getTexture(150)), _vnp._toggle010.interactive = !0, _vnp._toggle010.buttonMode = !0, _vnp._toggle010.position.set(84, 13), _vnp.addChild(_vnp._toggle010), _vnp.update(0), _vnp._toggle000.on(_vlj.EventType.CLICK, _vnp._onClick000), _vnp._toggle010.on(_vlj.EventType.CLICK, _vnp._onClick010), _vnp; } return _vky(_vnm, _vnk), Object.defineProperty(_vnm.prototype, 'enable', { 'set': function(_vns) { var _vnt = null; this._enable = _vns, this._enable ? (this._toggle000.buttonMode = 0 != this._value, this._toggle010.buttonMode = 10 != this._value) : (this._value = 0, this._toggle000.buttonMode = !1, this._toggle010.buttonMode = !1); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_vnm.prototype, 'value', { 'get': function() { var _vnu = null; return this._value; }, 'enumerable': !1, 'configurable': !0 }), _vnm.prototype.dispose = function() { var _vnv = null; this._toggle000.off(_vlj.EventType.CLICK, this._onClick000), this._toggle010.off(_vlj.EventType.CLICK, this._onClick010), this._toggle000 = null, this._toggle010 = null, this._cb_onChange = null, this.removeChildren(); }, _vnm.prototype.update = function(_vnw) { var _vnx = null; switch (0 == this._enable && (_vnw = 0), this._value = _vnw, this._toggle000.alpha = 0, this._toggle010.alpha = 0, this._toggle000.buttonMode = !0, this._toggle010.buttonMode = !0, _vnw) { case 0: this._toggle000.alpha = 1, this._toggle000.buttonMode = !1; break; case 10: this._toggle010.alpha = 1, this._toggle010.buttonMode = !1; } }, _vnm; }(PIXI.Sprite), _vmi = function(_vny) { var _vnz = null; function _vo0(_vo1) { var _vo2 = null, _vo3 = _vny.call(this, _vlp.ARSENAL_MAIN.getTexture(149)) || this; return _vo3._onClick001 = function() { var _vo4 = null; _vo3.update(1), _vo3._cb_onChange(); }, _vo3._onClick020 = function() { var _vo5 = null; _vo3.update(20), _vo3._cb_onChange(); }, _vo3._onClick100 = function() { var _vo6 = null; _vo3.update(100), _vo3._cb_onChange(); }, _vo3._cb_onChange = null == _vo1 ? function() {} : _vo1, _vo3._toggle001 = new PIXI.Sprite(_vlp.ARSENAL_MAIN.getTexture(150)), _vo3._toggle001.interactive = !0, _vo3._toggle001.buttonMode = !0, _vo3._toggle001.position.set(0, 13), _vo3.addChild(_vo3._toggle001), _vo3._toggle020 = new PIXI.Sprite(_vlp.ARSENAL_MAIN.getTexture(150)), _vo3._toggle020.interactive = !0, _vo3._toggle020.buttonMode = !0, _vo3._toggle020.position.set(54, 13), _vo3.addChild(_vo3._toggle020), _vo3._toggle100 = new PIXI.Sprite(_vlp.ARSENAL_MAIN.getTexture(150)), _vo3._toggle100.interactive = !0, _vo3._toggle100.buttonMode = !0, _vo3._toggle100.position.set(108, 13), _vo3.addChild(_vo3._toggle100), _vo3.update(1), _vo3._toggle001.on(_vlj.EventType.CLICK, _vo3._onClick001), _vo3._toggle020.on(_vlj.EventType.CLICK, _vo3._onClick020), _vo3._toggle100.on(_vlj.EventType.CLICK, _vo3._onClick100), _vo3; } return _vky(_vo0, _vny), Object.defineProperty(_vo0.prototype, 'value', { 'get': function() { var _vo7 = null; return this._value; }, 'enumerable': !1, 'configurable': !0 }), _vo0.prototype.dispose = function() { var _vo8 = null; this._toggle001.off(_vlj.EventType.CLICK, this._onClick001), this._toggle020.off(_vlj.EventType.CLICK, this._onClick020), this._toggle100.off(_vlj.EventType.CLICK, this._onClick100), this._toggle001 = null, this._toggle020 = null, this._toggle100 = null, this._cb_onChange = null, this.removeChildren(); }, _vo0.prototype.update = function(_vo9) { var _voa = null; switch (this._value = _vo9, this._toggle001.alpha = 0, this._toggle020.alpha = 0, this._toggle100.alpha = 0, this._toggle001.buttonMode = !0, this._toggle020.buttonMode = !0, this._toggle100.buttonMode = !0, _vo9) { case 1: this._toggle001.alpha = 1, this._toggle001.buttonMode = !1; break; case 20: this._toggle020.alpha = 1, this._toggle020.buttonMode = !1; break; case 100: this._toggle100.alpha = 1, this._toggle100.buttonMode = !1; } }, _vo0; }(PIXI.Sprite); }, 84123: function(_vob, _voc, _vod) { 'use strict'; var _voe = null; var _vof, _vog = this && this.__extends || (_vof = function(_voh, _voi) { var _voj = null; return _vof = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_vok, _vol) { var _vom = null; _vok.__proto__ = _vol; } || function(_von, _voo) { var _vop = null; for (var _voq in _voo) Object.prototype.hasOwnProperty.call(_voo, _voq) && (_von[_voq] = _voo[_voq]); }, _vof(_voh, _voi); }, function(_vor, _vos) { var _vot = null; if ('function' != typeof _vos && null !== _vos) throw new TypeError('Class extends value ' + String(_vos) + ' is not a constructor or null'); function _vou() { var _vov = null; this.constructor = _vor; } _vof(_vor, _vos), _vor.prototype = null === _vos ? Object.create(_vos) : (_vou.prototype = _vos.prototype, new _vou()); }); defineModule(_voc); Object.defineProperty(_voc, '__esModule', { 'value': !0 }), _voc.LargeConfigureMaterialView = void 0; var _vow = _vod(35380), _vox = _vod(29075), _voy = _vod(44639), _voz = _vod(31849), _vp0 = function(_vp1) { var _vp2 = null; function _vp3(_vp4, _vp5, _vp6) { var _vp7 = null, _vp8 = _vp1.call(this) || this; _vp8._value = 0, _vp8.avail = 0, _vp8._onClick10Up = function() { var _vp9 = null; _vp8.up(_vp8._value + 10), _vp8.onChangeValue(); }, _vp8._onClick100Up = function() { var _vpa = null; _vp8.up(_vp8._value + 100), _vp8.onChangeValue(); }, _vp8._onClick1000Up = function() { var _vpb = null; _vp8.up(_vp8._value + 1000), _vp8.onChangeValue(); }, _vp8._onClick10Down = function() { var _vpc = null; _vp8.down(_vp8._value - 10), _vp8.onChangeValue(); }, _vp8._onClick100Down = function() { var _vpd = null; _vp8.down(_vp8._value - 100), _vp8.onChangeValue(); }, _vp8._onClick1000Down = function() { var _vpe = null; _vp8.down(_vp8._value - 1000), _vp8.onChangeValue(); }, _vp8._onClickReset = function() { var _vpf = null; _vp8.updateValue(_vp8._min); }, _vp8._onClickMax = function() { var _vpg = null, _vph = Math.min(_vp8.avail, _vp8._max); _vph < _vp8._min && (_vph = _vp8._min), _vp8.updateValue(_vph), _vp8.onChangeValue(); }, _vp8._min = _vp5, _vp8._max = _vp6; var _vpi = new _voy.MaterialIconText(); _vp8.n_1000 = new PIXI.Sprite(), _vp8.n_100 = new PIXI.Sprite(), _vp8.n_10 = new PIXI.Sprite(), _vp8.n_1 = new PIXI.Sprite(); var _vpj = new PIXI.Sprite(_vox.ARSENAL_MAIN.getTexture(82)), _vpk = new PIXI.Sprite(_vox.ARSENAL_MAIN.getTexture(16)), _vpl = new PIXI.Sprite(_vox.ARSENAL_MAIN.getTexture(16)), _vpm = new PIXI.Sprite(_vox.ARSENAL_MAIN.getTexture(11)), _vpn = new PIXI.Sprite(_vox.ARSENAL_MAIN.getTexture(11)); return _vp8.n_1000.position.set(31, 88), _vp8.n_100.position.set(58, 88), _vp8.n_10.position.set(85, 88), _vp8.n_1.position.set(112, 88), _vpi.position.set(7, 7), _vpk.position.set(183, 13), _vpl.position.set(183, 54), _vpm.position.set(274, 13), _vpn.position.set(274, 54), _vpi.update(_vp4), _vp8.addChild(_vpj, _vpi, _vp8.n_1000, _vp8.n_100, _vp8.n_10, _vp8.n_1), _vp8.btn_sozai_up = new PIXI.Sprite(_vox.ARSENAL_MAIN.getTexture(43)), _vp8.btn_sozai_up.interactive = !0, _vp8.btn_sozai_up.buttonMode = !0, _vp8.btn_sozai_up.position.set(78, 48), _vp8.addChild(_vp8.btn_sozai_up), _vp8.btn_sozai_down = new PIXI.Sprite(_vox.ARSENAL_MAIN.getTexture(42)), _vp8.btn_sozai_down.interactive = !0, _vp8.btn_sozai_down.buttonMode = !0, _vp8.btn_sozai_down.position.set(78, 150), _vp8.addChild(_vp8.btn_sozai_down), _vp8.addChild(_vpk, _vpl, _vpm, _vpn), _vp8._btnReset = new PIXI.Sprite(_vox.ARSENAL_MAIN.getTexture(38)), _vp8._btnReset.interactive = !0, _vp8._btnReset.buttonMode = !0, _vp8._btnReset.position.set(187, 99), _vp8.addChild(_vp8._btnReset), _vp8._btnMax = new PIXI.Sprite(_vox.ARSENAL_MAIN.getTexture(34)), _vp8._btnMax.interactive = !0, _vp8._btnMax.buttonMode = !0, _vp8._btnMax.position.set(187, 139), _vp8.addChild(_vp8._btnMax), _vp8.minus100 = new PIXI.Sprite(_vox.ARSENAL_MAIN.getTexture(15)), _vp8.minus100.interactive = !0, _vp8.minus100.buttonMode = !0, _vp8.minus100.position.set(183, 13), _vp8.addChild(_vp8.minus100), _vp8.minus1000 = new PIXI.Sprite(_vox.ARSENAL_MAIN.getTexture(15)), _vp8.minus1000.interactive = !0, _vp8.minus1000.buttonMode = !0, _vp8.minus1000.position.set(183, 54), _vp8.addChild(_vp8.minus1000), _vp8.plus100 = new PIXI.Sprite(_vox.ARSENAL_MAIN.getTexture(10)), _vp8.plus100.interactive = !0, _vp8.plus100.buttonMode = !0, _vp8.plus100.position.set(274, 13), _vp8.addChild(_vp8.plus100), _vp8.plus1000 = new PIXI.Sprite(_vox.ARSENAL_MAIN.getTexture(10)), _vp8.plus1000.interactive = !0, _vp8.plus1000.buttonMode = !0, _vp8.plus1000.position.set(274, 54), _vp8.addChild(_vp8.plus1000), _vp8.btn_sozai_up.on(_vow.EventType.CLICK, _vp8._onClick10Up), _vp8.btn_sozai_down.on(_vow.EventType.CLICK, _vp8._onClick10Down), _vp8._btnReset.on(_vow.EventType.CLICK, _vp8._onClickReset), _vp8._btnMax.on(_vow.EventType.CLICK, _vp8._onClickMax), _vp8.minus100.on(_vow.EventType.CLICK, _vp8._onClick100Down), _vp8.minus1000.on(_vow.EventType.CLICK, _vp8._onClick1000Down), _vp8.plus100.on(_vow.EventType.CLICK, _vp8._onClick100Up), _vp8.plus1000.on(_vow.EventType.CLICK, _vp8._onClick1000Up), _vp8; } return _vog(_vp3, _vp1), Object.defineProperty(_vp3.prototype, 'value', { 'get': function() { var _vpo = null; return this._value; }, 'enumerable': !1, 'configurable': !0 }), _vp3.prototype.dispose = function() { var _vpp = null; this.btn_sozai_up.off(_vow.EventType.CLICK, this._onClick100Up), this.btn_sozai_down.off(_vow.EventType.CLICK, this._onClick10Down), this._btnReset.off(_vow.EventType.CLICK, this._onClickReset), this._btnMax.off(_vow.EventType.CLICK, this._onClickMax), this.minus100.off(_vow.EventType.CLICK, this._onClick100Down), this.minus1000.off(_vow.EventType.CLICK, this._onClick1000Down), this.plus100.off(_vow.EventType.CLICK, this._onClick100Up), this.plus1000.off(_vow.EventType.CLICK, this._onClick1000Up), this.n_1000.texture = PIXI.Texture.EMPTY, this.n_100.texture = PIXI.Texture.EMPTY, this.n_10.texture = PIXI.Texture.EMPTY, this.n_1.texture = PIXI.Texture.EMPTY, this.n_1000 = null, this.n_100 = null, this.n_10 = null, this.n_1 = null, this.minus100 = null, this.minus1000 = null, this.plus100 = null, this.plus1000 = null, this.btn_sozai_down = null, this.onChangeValue = null, this._value = null, this.avail = null, this.removeChildren(); }, _vp3.prototype.up = function(_vpq) { var _vpr = null; this._max < _vpq && (_vpq = this._max), this.updateValue(_vpq); }, _vp3.prototype.down = function(_vps) { var _vpt = null; _vps < this._min && (_vps = this._min), this.updateValue(_vps); }, _vp3.prototype.updateValue = function(_vpu) { var _vpv = null, _vpw, _vpx, _vpy, _vpz, _vq0 = this.splitNumber(_vpu); this.btn_sozai_down.visible = !1, this.btn_sozai_up.visible = !1, this.minus100.visible = !1, this.minus1000.visible = !1, this.plus100.visible = !1, this.plus1000.visible = !1, _vpu <= this.avail && this._min <= _vpu ? (_vpw = _voz.Util.getWhiteNumberResourceId(_vq0[0]), _vpx = _voz.Util.getWhiteNumberResourceId(_vq0[1]), _vpy = _voz.Util.getWhiteNumberResourceId(_vq0[2]), _vpz = _voz.Util.getWhiteNumberResourceId(_vq0[3])) : (_vpw = _voz.Util.getRedNumberResourceId(_vq0[0]), _vpx = _voz.Util.getRedNumberResourceId(_vq0[1]), _vpy = _voz.Util.getRedNumberResourceId(_vq0[2]), _vpz = _voz.Util.getRedNumberResourceId(_vq0[3])), this._min < _vpu && (this.minus100.visible = !0, this.minus1000.visible = !0, this.btn_sozai_down.visible = !0), _vpu < this._max && (this.plus100.visible = !0, this.plus1000.visible = !0, this.btn_sozai_up.visible = !0), this.n_1000.texture = _vox.ARSENAL_MAIN.getTexture(_vpw), this.n_100.texture = _vox.ARSENAL_MAIN.getTexture(_vpx), this.n_10.texture = _vox.ARSENAL_MAIN.getTexture(_vpy), this.n_1.texture = _vox.ARSENAL_MAIN.getTexture(_vpz), this._value = _vpu; }, _vp3.prototype.setAvail = function(_vq1) { var _vq2 = null; this.avail = _vq1; }, _vp3.prototype.splitNumber = function(_vq3) { var _vq4 = null, _vq5 = 0 == _vq3 ? 0 : _vq3 % 10000, _vq6 = 0, _vq7 = 0, _vq8 = 0; return 0 < _vq5 && (_vq5 -= 1000 * (_vq6 = Math.floor(_vq5 / 1000))), 0 < _vq5 && (_vq5 -= 100 * (_vq7 = Math.floor(_vq5 / 100))), 0 < _vq5 && (_vq5 -= 10 * (_vq8 = Math.floor(_vq5 / 10))), [_vq6, _vq7, _vq8, Math.floor(_vq5)]; }, _vp3; }(PIXI.Container); _voc.LargeConfigureMaterialView = _vp0; }, 98807: function(_vq9, _vqa, _vqb) { 'use strict'; var _vqc = null; var _vqd, _vqe = this && this.__extends || (_vqd = function(_vqf, _vqg) { var _vqh = null; return _vqd = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_vqi, _vqj) { var _vqk = null; _vqi.__proto__ = _vqj; } || function(_vql, _vqm) { var _vqn = null; for (var _vqo in _vqm) Object.prototype.hasOwnProperty.call(_vqm, _vqo) && (_vql[_vqo] = _vqm[_vqo]); }, _vqd(_vqf, _vqg); }, function(_vqp, _vqq) { var _vqr = null; if ('function' != typeof _vqq && null !== _vqq) throw new TypeError('Class extends value ' + String(_vqq) + ' is not a constructor or null'); function _vqs() { var _vqt = null; this.constructor = _vqp; } _vqd(_vqp, _vqq), _vqp.prototype = null === _vqq ? Object.create(_vqq) : (_vqs.prototype = _vqq.prototype, new _vqs()); }); defineModule(_vqa); Object.defineProperty(_vqa, '__esModule', { 'value': !0 }), _vqa.LeafDashes = void 0; var _vqu = _vqb(31000), _vqv = function(_vqw) { var _vqx = null; function _vqy() { var _vqz = null; for (var _vr0 = _vqw.call(this) || this, _vr1 = new Array(), _vr2 = 0; _vr2 < 13; _vr2++) { var _vr3 = new PIXI.Sprite(_vqu.ARSENAL_ANIMATION.getTexture(4)); _vr3.alpha = 0, _vr1.push(_vr3), _vr0.addChild(_vr3); } return _vr0.leaf_dashes = _vr1, _vr0; } return _vqe(_vqy, _vqw), Object.defineProperty(_vqy.prototype, 'dashes', { 'get': function() { var _vr4 = null; return this.leaf_dashes; }, 'enumerable': !1, 'configurable': !0 }), _vqy.prototype.dispose = function() { var _vr5 = null; for (var _vr6 = 0; _vr6 < this.leaf_dashes.length; _vr6++) this.leaf_dashes[_vr6].texture = PIXI.Texture.EMPTY, this.leaf_dashes[_vr6] = null; this.leaf_dashes = null, this.removeChildren(); }, _vqy; }(PIXI.Container); _vqa.LeafDashes = _vqv; }, 76138: function(_vr7, _vr8, _vr9) { 'use strict'; var _vra = null; var _vrb, _vrc = this && this.__extends || (_vrb = function(_vrd, _vre) { var _vrf = null; return _vrb = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_vrg, _vrh) { var _vri = null; _vrg.__proto__ = _vrh; } || function(_vrj, _vrk) { var _vrl = null; for (var _vrm in _vrk) Object.prototype.hasOwnProperty.call(_vrk, _vrm) && (_vrj[_vrm] = _vrk[_vrm]); }, _vrb(_vrd, _vre); }, function(_vrn, _vro) { var _vrp = null; if ('function' != typeof _vro && null !== _vro) throw new TypeError('Class extends value ' + String(_vro) + ' is not a constructor or null'); function _vrq() { var _vrr = null; this.constructor = _vrn; } _vrb(_vrn, _vro), _vrn.prototype = null === _vro ? Object.create(_vro) : (_vrq.prototype = _vro.prototype, new _vrq()); }), _vrs = this && this.__importDefault || function(_vrt) { var _vru = null; return _vrt && _vrt.__esModule ? _vrt : { 'default': _vrt }; }; defineModule(_vr8); Object.defineProperty(_vr8, '__esModule', { 'value': !0 }), _vr8.MaterialAmountContainerShip = void 0; var _vrv = _vrs(_vr9(21359)), _vrw = _vrs(_vr9(18622)), _vrx = _vr9(35380), _vry = _vr9(83415), _vrz = _vr9(79899), _vs0 = _vr9(43182), _vs1 = _vr9(8744), _vs2 = _vr9(90054), _vs3 = _vr9(29075), _vs4 = _vr9(31849), _vs5 = _vr9(8961), _vs6 = _vr9(1354), _vs7 = _vr9(56968), _vs8 = function(_vs9) { var _vsa = null; function _vsb(_vsc) { var _vsd = null, _vse = _vs9.call(this) || this; _vse._onMouseOutKenzoOff = function() { var _vsf = null; _vse.huki1.visible = !1; }, _vse._onMouseOverKenzoOff = function() { var _vsg = null; _vse.huki1.visible = !0; }, _vse._onChangeValue = function() { var _vsh = null, _vsi = _vse.fuel, _vsj = _vse.ammo, _vsk = _vse.steel, _vsl = _vse.bauxite, _vsm = _vse.devKit, _vsn = _vse.buildKit; _vs4.Util.BuildValidation(_vsi, _vsj, _vsk, _vsl, _vsm, _vsn) ? _vse.update(!0) : _vse.update(!1); }, _vse._onClickShop = function() { var _vso = null; _vse._cb_onGoToShop(); }, _vse._onClickLarge = function() { var _vsp = null; _vse._cb_onGoToLargeBuild(); }, _vse._onClickBuild = function() { var _vsq = null; _vse._cb_onComplete(!0); }, _vse._onClickBack = function() { var _vsr = null; _vse._cb_onComplete(!1); }, _vse.mainView = _vsc; var _vss = new PIXI.Sprite(_vs2.COMMON_MAIN.getTexture(13)); _vss.interactive = !0, _vse.addChild(_vss), _vse.configureMaterialView_fuel = new _vs6.MaterialAmountView(31, 30, 999), _vse.configureMaterialView_ammo = new _vs6.MaterialAmountView(32, 30, 999), _vse.configureMaterialView_steel = new _vs6.MaterialAmountView(33, 30, 999), _vse.configureMaterialView_bauxite = new _vs6.MaterialAmountView(34, 30, 999), _vse.highSpeedToggle = new _vs5.HighSpeedToggle(), _vse.btn_great_off = new _vs0.SimpleButton(_vs3.ARSENAL_MAIN.getTexture(18), _vs3.ARSENAL_MAIN.getTexture(18)), _vse.btn_kenzo = new _vs0.SimpleButton(_vs3.ARSENAL_MAIN.getTexture(31), _vs3.ARSENAL_MAIN.getTexture(33)); var _vst = new PIXI.Sprite(_vs3.ARSENAL_MAIN.getTexture(32)), _vsu = new PIXI.Sprite(_vs3.ARSENAL_MAIN.getTexture(139)), _vsv = new PIXI.Sprite(_vs3.ARSENAL_MAIN.getTexture(159)), _vsw = new PIXI.Sprite(_vs3.ARSENAL_MAIN.getTexture(155)), _vsx = new PIXI.Sprite(_vs3.ARSENAL_MAIN.getTexture(74)), _vsy = new PIXI.Sprite(_vs3.ARSENAL_MAIN.getTexture(73)); _vse.huki1 = new PIXI.Sprite(_vs3.ARSENAL_MAIN.getTexture(66)), _vse.textDevKitBefore = new _vs1.TextBox(24, 5523516), _vse.textDevKitAfter = new _vs1.TextBox(24, 5523516), _vse.shopButton = new _vs7.ShopButton(), _vse.textDevKitBefore.anchor.x = 1, _vse.textDevKitAfter.anchor.x = 0, _vst.position.set(532, 486), _vse.btn_kenzo.position.set(532, 486), _vse.textDevKitBefore.position.set(591, 438), _vse.textDevKitAfter.position.set(619, 438), _vse.configureMaterialView_fuel.position.set(60, 33), _vse.configureMaterialView_ammo.position.set(60, 228), _vse.configureMaterialView_steel.position.set(402, 33), _vse.configureMaterialView_bauxite.position.set(402, 228), _vse.highSpeedToggle.position.set(207, 435), _vsx.position.set(394, 441), _vsy.position.set(594, 442), _vsu.position.set(60, 426), _vsv.position.set(424, 442), _vsw.position.set(78, 439), _vse.btn_great_off.position.set(60, 492), _vse.huki1.position.set(84, 441), _vse.shopButton.position.set(473, 496), _vse.configureMaterialView_fuel.onChangeValue = _vse._onChangeValue, _vse.configureMaterialView_ammo.onChangeValue = _vse._onChangeValue, _vse.configureMaterialView_steel.onChangeValue = _vse._onChangeValue, _vse.configureMaterialView_bauxite.onChangeValue = _vse._onChangeValue, _vse.shopButton.onClick = _vse._onClickShop, _vse.btn_kenzo.on(_vrx.EventType.CLICK, _vse._onClickBuild), _vse.btn_great_off.onMouseOut = _vse._onMouseOutKenzoOff, _vse.btn_great_off.onMouseOver = _vse._onMouseOverKenzoOff, _vse.huki1.visible = !1, _vse.shopButton.play(), _vse.addChild(_vse.configureMaterialView_fuel, _vse.configureMaterialView_ammo, _vse.configureMaterialView_steel, _vse.configureMaterialView_bauxite), _vse.addChild(_vsu, _vst, _vse.btn_great_off, _vsv, _vsw, _vsx, _vsy), _vse.addChild(_vse.highSpeedToggle), _vse.addChild(_vse.textDevKitBefore, _vse.textDevKitAfter), _vse.addChild(_vse.btn_kenzo), _vse.btn_great = new PIXI.Sprite(_vs3.ARSENAL_MAIN.getTexture(17)), _vse.btn_great.interactive = !0, _vse.btn_great.buttonMode = !0, _vse.btn_great.position.set(60, 492), _vse.addChild(_vse.btn_great), _vse.addChild(_vse.huki1, _vse.shopButton); var _vsz = new PIXI.Sprite(_vs2.COMMON_MAIN.getTexture(67)), _vt0 = new PIXI.Sprite(_vs3.ARSENAL_MAIN.getTexture(5)); return _vse.position.set(1200, 139), _vse.addChild(_vsz), _vt0.anchor.set(0, 0.5), _vt0.position.set(22, Math.floor(_vsz.height / 2 - 4)), _vsz.addChild(_vt0), _vsz.position.set(0, -37), _vsz.addChild(_vt0), (_vse.dialogBackground = new _vrz.AreaBox(_vry.UISettings.DIALOG_BG_ALPHA), _vse.dialogBackground.alpha = 0, _vse.dialogBackground.position.set(0, 103), _vse.dialogBackground.height = _vrv.default.height - 103, _vse.mainView.addChild(_vse.dialogBackground), _vse.mainView.addChild(_vse), _vse.btn_great.on(_vrx.EventType.CLICK, _vse._onClickLarge), _vse.dialogBackground.on(_vrx.EventType.CLICK, _vse._onClickBack), _vse); } return _vrc(_vsb, _vs9), Object.defineProperty(_vsb.prototype, 'fuel', { 'get': function() { var _vt1 = null; return this.configureMaterialView_fuel.value; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_vsb.prototype, 'ammo', { 'get': function() { var _vt2 = null; return this.configureMaterialView_ammo.value; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_vsb.prototype, 'steel', { 'get': function() { var _vt3 = null; return this.configureMaterialView_steel.value; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_vsb.prototype, 'bauxite', { 'get': function() { var _vt4 = null; return this.configureMaterialView_bauxite.value; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_vsb.prototype, 'buildKit', { 'get': function() { var _vt5 = null; return 1 == this.highSpeedToggle.state ? 1 : 0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_vsb.prototype, 'devKit', { 'get': function() { return 1; }, 'enumerable': !1, 'configurable': !0 }), _vsb.prototype.dispose = function() { var _vt6 = null; this.removeChildren(), this.mainView.removeChild(this.dialogBackground), this.mainView.removeChild(this), this.btn_great.off(_vrx.EventType.CLICK, this._onClickLarge), this.dialogBackground.off(_vrx.EventType.CLICK, this._onClickBack), this._cb_onComplete = null, this._cb_onGoToLargeBuild = null, this._cb_onGoToShop = null, this.highSpeedToggle.dispose(), this.configureMaterialView_fuel.dispose(), this.configureMaterialView_ammo.dispose(), this.configureMaterialView_steel.dispose(), this.configureMaterialView_bauxite.dispose(), this.btn_great_off.dispose(), this.btn_kenzo.dispose(), this.shopButton.dispose(), this.textDevKitBefore.destroy(), this.textDevKitAfter.destroy(), this.configureMaterialView_fuel.onChangeValue = this._onChangeValue = null, this.configureMaterialView_ammo.onChangeValue = this._onChangeValue = null, this.configureMaterialView_steel.onChangeValue = this._onChangeValue = null, this.configureMaterialView_bauxite.onChangeValue = this._onChangeValue = null, this.shopButton.onClick = this._onClickShop = null, this.btn_kenzo.onClick = this._onClickBuild = null, this.highSpeedToggle = null, this.configureMaterialView_fuel = null, this.configureMaterialView_ammo = null, this.configureMaterialView_steel = null, this.configureMaterialView_bauxite = null, this.textDevKitBefore = null, this.textDevKitAfter = null, this.btn_great = null, this.btn_kenzo = null, this.shopButton = null, this.btn_great_off.onClick = this.btn_great_off.onMouseOut = this.btn_great_off.onMouseOver = null, this.btn_great_off = null, this.huki1 = null, this.dialogBackground = null; }, _vsb.prototype.play = function(_vt7, _vt8, _vt9, _vta, _vtb, _vtc, _vtd) { var _vte = null, _vtf = this; this._cb_onComplete = _vtb, this._cb_onGoToLargeBuild = _vtc, this._cb_onGoToShop = _vtd; var _vtg = _vrw.default.model.useItem.get(31).count, _vth = _vrw.default.model.useItem.get(32).count, _vti = _vrw.default.model.useItem.get(33).count, _vtj = _vrw.default.model.useItem.get(34).count, _vtk = _vrw.default.model.useItem.get(3).count, _vtl = _vrw.default.model.useItem.get(2).count, _vtm = _vs4.Util.BuildValidation(_vt8.fuel, _vt8.ammo, _vt8.steel, _vt8.baux, 1, _vt8.buildKit), _vtn = 0 < _vtl; if (this.configureMaterialView_fuel.setAvail(_vtg), this.configureMaterialView_ammo.setAvail(_vth), this.configureMaterialView_steel.setAvail(_vti), this.configureMaterialView_bauxite.setAvail(_vtj), this.textDevKitBefore.text = _vtk.toString(), this.textDevKitAfter.style.fill = 12467003, this.textDevKitAfter.text = '0', 0 <= _vtk - 1 && (this.textDevKitAfter.style.fill = 5523516, this.textDevKitAfter.text = (_vtk - 1).toString()), this.btn_great_off.visible = !1, this.btn_great.visible = !1, _vta ? this.btn_great.visible = !0 : this.btn_great_off.visible = !0, this.configureMaterialView_fuel.updateValue(_vt8.fuel), this.configureMaterialView_ammo.updateValue(_vt8.ammo), this.configureMaterialView_steel.updateValue(_vt8.steel), this.configureMaterialView_bauxite.updateValue(_vt8.baux), this.highSpeedToggle.changeToggleState(0 < _vtl), this.highSpeedToggle.update(_vtn), 0 == _vtn && this.highSpeedToggle.changeToggleState(!1), this.update(_vtm), _vt9) { _vrw.default.view.clickGuard = !0; var _vto = { 'progress': 0 }, _vtp = createjs.Tween.get(_vto).to({ 'progress': 1 }, 200).call(function() { var _vtq = null; _vtf.x = 412, _vtp.removeAllEventListeners('change'), _vtf.dialogBackground.width = 444, _vrw.default.view.clickGuard = !1; }); _vtp.addEventListener('change', function() { var _vtr = null; _vtf.x = 1200 - 788 * _vto.progress, _vtf.dialogBackground.alpha = _vto.progress; }), _vtp.play(null); } else this.x = 412; this.kDockId = _vt7; }, _vsb.prototype.hide = function(_vts) { var _vtt = null, _vtu = this; this.dialogBackground.width = _vrv.default.width; var _vtv = { 'progress': 0 }, _vtw = createjs.Tween.get(_vtv); _vtw.to({ 'progress': 1 }, 200).call(function() { var _vtx = null; _vtu.x = 1200, _vtw.removeAllEventListeners('change'), createjs.Tween.removeTweens(_vtw.target), _vts(); }), _vtw.addEventListener('change', function() { var _vty = null; _vtu.x = 412 + 788 * _vtv.progress, _vtu.dialogBackground.alpha = 1 - _vtv.progress; }), _vtw.play(null); }, _vsb.prototype.update = function(_vtz) { var _vu0 = null; this.btn_kenzo.visible = !!_vtz; }, _vsb; }(PIXI.Container); _vr8.MaterialAmountContainerShip = _vs8; }, 69235: function(_vu1, _vu2, _vu3) { 'use strict'; var _vu4 = null; var _vu5, _vu6 = this && this.__extends || (_vu5 = function(_vu7, _vu8) { var _vu9 = null; return _vu5 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_vua, _vub) { var _vuc = null; _vua.__proto__ = _vub; } || function(_vud, _vue) { var _vuf = null; for (var _vug in _vue) Object.prototype.hasOwnProperty.call(_vue, _vug) && (_vud[_vug] = _vue[_vug]); }, _vu5(_vu7, _vu8); }, function(_vuh, _vui) { var _vuj = null; if ('function' != typeof _vui && null !== _vui) throw new TypeError('Class extends value ' + String(_vui) + ' is not a constructor or null'); function _vuk() { var _vul = null; this.constructor = _vuh; } _vu5(_vuh, _vui), _vuh.prototype = null === _vui ? Object.create(_vui) : (_vuk.prototype = _vui.prototype, new _vuk()); }), _vum = this && this.__importDefault || function(_vun) { var _vuo = null; return _vun && _vun.__esModule ? _vun : { 'default': _vun }; }; defineModule(_vu2); Object.defineProperty(_vu2, '__esModule', { 'value': !0 }), _vu2.MaterialAmountContainerSlot = _vu2.Result = void 0; var _vup, _vuq = _vum(_vu3(21359)), _vur = _vum(_vu3(18622)), _vus = _vu3(35380), _vut = _vu3(83415), _vuu = _vu3(79899), _vuv = _vu3(43182), _vuw = _vu3(8744), _vux = _vu3(90054), _vuy = _vu3(29075), _vuz = _vu3(31849), _vv0 = _vu3(1354), _vv1 = _vu3(56968), _vv2 = _vu3(26223); ! function(_vv3) { var _vv4 = null; _vv3[_vv3.CANCEL = 0] = 'CANCEL', _vv3[_vv3.DEVELOP = 1] = 'DEVELOP', _vv3[_vv3.MULTIPLE_DEV = 2] = 'MULTIPLE_DEV', _vv3[_vv3.GOTO_STORE = 3] = 'GOTO_STORE'; }(_vup || (_vu2.Result = _vup = {})); var _vv5 = function(_vv6) { var _vv7 = null; function _vv8(_vv9) { var _vva = null, _vvb = _vv6.call(this) || this; _vvb.animation = { 'progress': 0 }, _vvb._onChangeValue = function() { var _vvc = null, _vvd = _vvb.fuel, _vve = _vvb.ammo, _vvf = _vvb.steel, _vvg = _vvb.bauxite, _vvh = _vvb.devKit, _vvi = _vvb.multipleDevToggle.state, _vvj = _vuz.Util.DevelopValidation(_vvd, _vve, _vvf, _vvg, _vvh, _vvi); _vvb.update(_vvj); }, _vvb._onClickToggleCB = function() { var _vvk = null; _vvb._onChangeValue(); var _vvl = _vvb.multipleDevToggle.state; _vvb.configureMaterialView_fuel.multiple = _vvl, _vvb.configureMaterialView_ammo.multiple = _vvl, _vvb.configureMaterialView_steel.multiple = _vvl, _vvb.configureMaterialView_bauxite.multiple = _vvl, _vvb.config(_vvb.fuel, _vvb.ammo, _vvb.steel, _vvb.bauxite, _vvb.devKit); var _vvm = _vur.default.model.useItem.get(3).count, _vvn = 1 == _vvl ? 3 : 1; 0 <= _vvm - _vvn ? (_vvb.textDevKitAfter.style.fill = 5523516, _vvb.textDevKitAfter.text = (_vvm - _vvn).toString()) : (_vvb.textDevKitAfter.style.fill = 12467003, _vvb.textDevKitAfter.text = '0'); }, _vvb._onClickShop = function() { var _vvo = null; _vvb.onComplete(_vup.GOTO_STORE); }, _vvb._onClickBuild = function() { var _vvp = null, _vvq = 1 == _vvb.multipleDevToggle.state ? _vup.MULTIPLE_DEV : _vup.DEVELOP; _vvb.onComplete(_vvq); }, _vvb._onClickBackground = function() { var _vvr = null; _vvb.onComplete(_vup.CANCEL); }, _vvb.mainView = _vv9; var _vvs = 300; _vvb.multipleDevToggle = new _vv2.MultipleDevelopToggle(), _vvb.configureMaterialView_fuel = new _vv0.MaterialAmountView(31, 10, _vvs), _vvb.configureMaterialView_ammo = new _vv0.MaterialAmountView(32, 10, _vvs), _vvb.configureMaterialView_steel = new _vv0.MaterialAmountView(33, 10, _vvs), _vvb.configureMaterialView_bauxite = new _vv0.MaterialAmountView(34, 10, _vvs), _vvb.btn_kaihatsu = new _vuv.SimpleButton(_vuy.ARSENAL_MAIN.getTexture(25), _vuy.ARSENAL_MAIN.getTexture(27)); var _vvt = new PIXI.Sprite(_vuy.ARSENAL_MAIN.getTexture(26)), _vvu = new PIXI.Sprite(_vux.COMMON_MAIN.getTexture(13)), _vvv = new PIXI.Sprite(_vuy.ARSENAL_MAIN.getTexture(139)), _vvw = new PIXI.Sprite(_vuy.ARSENAL_MAIN.getTexture(159)), _vvx = new PIXI.Sprite(_vuy.ARSENAL_MAIN.getTexture(158)), _vvy = new PIXI.Sprite(_vuy.ARSENAL_MAIN.getTexture(74)), _vvz = new PIXI.Sprite(_vuy.ARSENAL_MAIN.getTexture(73)); _vvb.textDevKitBefore = new _vuw.TextBox(24, 5523516), _vvb.textDevKitAfter = new _vuw.TextBox(24, 12467003), _vvb.shopButton = new _vv1.ShopButton(), _vvb.configureMaterialView_fuel.onChangeValue = _vvb._onChangeValue, _vvb.configureMaterialView_ammo.onChangeValue = _vvb._onChangeValue, _vvb.configureMaterialView_steel.onChangeValue = _vvb._onChangeValue, _vvb.configureMaterialView_bauxite.onChangeValue = _vvb._onChangeValue, _vvb.multipleDevToggle.click_cb = _vvb._onClickToggleCB, _vvb.shopButton.onClick = _vvb._onClickShop, _vvb.btn_kaihatsu.on(_vus.EventType.CLICK, _vvb._onClickBuild), _vvu.interactive = !0, _vvb.textDevKitBefore.anchor.x = 1, _vvb.textDevKitAfter.anchor.x = 0, _vvt.position.set(532, 486), _vvb.btn_kaihatsu.position.set(532, 486), _vvb.textDevKitBefore.position.set(591, 438), _vvb.textDevKitAfter.position.set(619, 438), _vvb.configureMaterialView_fuel.position.set(60, 33), _vvb.configureMaterialView_ammo.position.set(60, 228), _vvb.configureMaterialView_steel.position.set(402, 33), _vvb.configureMaterialView_bauxite.position.set(402, 228), _vvb.multipleDevToggle.position.set(207, 438), _vvy.position.set(394, 441), _vvz.position.set(594, 442), _vvv.position.set(60, 426), _vvw.position.set(424, 442), _vvx.position.set(78, 439), _vvb.shopButton.position.set(473, 496), _vvb.addChild(_vvu), _vvb.addChild(_vvb.configureMaterialView_fuel, _vvb.configureMaterialView_ammo, _vvb.configureMaterialView_steel, _vvb.configureMaterialView_bauxite), _vvb.addChild(_vvv, _vvt, _vvw, _vvx, _vvy, _vvz), _vvb.addChild(_vvb.multipleDevToggle), _vvb.addChild(_vvb.textDevKitBefore, _vvb.textDevKitAfter), _vvb.addChild(_vvb.btn_kaihatsu), _vvb.addChild(_vvb.shopButton), _vvb.shopButton.play(); var _vw0 = new PIXI.Sprite(_vux.COMMON_MAIN.getTexture(67)); _vw0.position.set(0, -37); var _vw1 = new PIXI.Sprite(_vuy.ARSENAL_MAIN.getTexture(7)); return _vw1.anchor.set(0, 0.5), _vw1.position.set(22, Math.floor(_vw0.height / 2 - 4)), _vw0.addChild(_vw1), _vvb.addChild(_vw0), (_vvb.dialogBackground = new _vuu.AreaBox(_vut.UISettings.DIALOG_BG_ALPHA), _vvb.dialogBackground.alpha = 0, _vvb.dialogBackground.position.set(0, 103), _vvb.dialogBackground.height = _vuq.default.height - 103, _vvb.mainView.addChild(_vvb.dialogBackground), _vvb.mainView.addChild(_vvb), _vvb.position.set(1200, 139), _vvb.dialogBackground.on(_vus.EventType.CLICK, _vvb._onClickBackground), _vvb); } return _vu6(_vv8, _vv6), Object.defineProperty(_vv8.prototype, 'fuel', { 'get': function() { var _vw2 = null; return this.configureMaterialView_fuel.value; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_vv8.prototype, 'ammo', { 'get': function() { var _vw3 = null; return this.configureMaterialView_ammo.value; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_vv8.prototype, 'steel', { 'get': function() { var _vw4 = null; return this.configureMaterialView_steel.value; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_vv8.prototype, 'bauxite', { 'get': function() { var _vw5 = null; return this.configureMaterialView_bauxite.value; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_vv8.prototype, 'devKit', { 'get': function() { return 1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_vv8.prototype, 'isMultiple', { 'get': function() { var _vw6 = null; return this.multipleDevToggle.state; }, 'enumerable': !1, 'configurable': !0 }), _vv8.prototype.dispose = function() { var _vw7 = null; this.removeChildren(), this.mainView.removeChild(this.dialogBackground), this.mainView.removeChild(this), this.dialogBackground.off(_vus.EventType.CLICK, this._onClickBackground), this.multipleDevToggle.dispose(), this.configureMaterialView_fuel.dispose(), this.configureMaterialView_ammo.dispose(), this.configureMaterialView_steel.dispose(), this.configureMaterialView_bauxite.dispose(), this.btn_kaihatsu.dispose(), this.shopButton.dispose(), this.textDevKitBefore.destroy(), this.textDevKitAfter.destroy(), this.multipleDevToggle = null, this.configureMaterialView_fuel = null, this.configureMaterialView_ammo = null, this.configureMaterialView_steel = null, this.configureMaterialView_bauxite = null, this.btn_kaihatsu = null, this.textDevKitBefore = null, this.textDevKitAfter = null, this.onChangeValue = null, this.shopButton = null, this.mainView = null, this.dialogBackground = null, this.animation = null; }, _vv8.prototype.initialize = function(_vw8, _vw9, _vwa, _vwb, _vwc) { var _vwd = null; this.configureMaterialView_fuel.setAvail(_vw8), this.configureMaterialView_ammo.setAvail(_vw9), this.configureMaterialView_steel.setAvail(_vwa), this.configureMaterialView_bauxite.setAvail(_vwb), this.textDevKitBefore.text = _vwc.toString(), this.textDevKitAfter.style.fill = 12467003, this.textDevKitAfter.text = '0', 0 <= _vwc - 1 && (this.textDevKitAfter.style.fill = 5523516, this.textDevKitAfter.text = (_vwc - 1).toString()), this.multipleDevToggle.update(!0); }, _vv8.prototype.play = function(_vwe, _vwf, _vwg, _vwh) { var _vwi = null, _vwj = _vur.default.model.useItem.get(31).count, _vwk = _vur.default.model.useItem.get(32).count, _vwl = _vur.default.model.useItem.get(33).count, _vwm = _vur.default.model.useItem.get(34).count, _vwn = _vur.default.model.useItem.get(3).count; this.multipleDevToggle.changeToggleState(!1), this.initialize(_vwj, _vwk, _vwl, _vwm, _vwn), this.config(_vwe, _vwf, _vwg, _vwh, 1); var _vwo = _vuz.Util.DevelopValidation(_vwe, _vwf, _vwg, _vwh, 1, this.multipleDevToggle.state); this.update(_vwo), this.onChangeValue = this._onChangeValue, _vur.default.view.clickGuard = !0, this.show(function() { var _vwp = null; _vur.default.view.clickGuard = !1; }); }, _vv8.prototype.show = function(_vwq) { var _vwr = null, _vws = this; this.animation.progress = 0; var _vwt = createjs.Tween.get(this.animation), _vwu = function() { var _vwv = null; _vws.x = 1200 - 788 * _vws.animation.progress, _vws.dialogBackground.alpha = _vws.animation.progress; }; _vwu(), _vwt.call(function() { var _vww = null; _vwt.addEventListener('change', _vwu); }).to({ 'progress': 1 }, 200).call(function() { var _vwx = null; _vwt.removeAllEventListeners('change'), createjs.Tween.removeTweens(_vwt.target), _vws.animation.progress = 1, _vws.dialogBackground.width = 444, _vwu(), _vwq(); }), _vwt.play(null); }, _vv8.prototype.hide = function(_vwy) { var _vwz = null, _vx0 = this; this.animation.progress = 0, this.dialogBackground.width = _vuq.default.width; var _vx1 = createjs.Tween.get(this.animation), _vx2 = function() { var _vx3 = null; _vx0.x = 1200 - 788 * (1 - _vx0.animation.progress), _vx0.dialogBackground.alpha = 1 - _vx0.animation.progress; }; _vx2(), _vx1.call(function() { var _vx4 = null; _vx1.addEventListener('change', _vx2); }).to({ 'progress': 1 }, 200).call(function() { var _vx5 = null; _vx1.removeAllEventListeners('change'), createjs.Tween.removeTweens(_vx1.target), _vx0.animation.progress = 1, _vx2(), _vwy(); }), _vx1.play(null); }, _vv8.prototype.config = function(_vx6, _vx7, _vx8, _vx9, _vxa) { var _vxb = null; this.configureMaterialView_fuel.updateValue(_vx6), this.configureMaterialView_ammo.updateValue(_vx7), this.configureMaterialView_steel.updateValue(_vx8), this.configureMaterialView_bauxite.updateValue(_vx9); }, _vv8.prototype.update = function(_vxc) { var _vxd = null; this.btn_kaihatsu.visible = !!_vxc; }, _vv8; }(PIXI.Container); _vu2.MaterialAmountContainerSlot = _vv5; }, 1354: function(_vxe, _vxf, _vxg) { 'use strict'; var _vxh = null; var _vxi, _vxj = this && this.__extends || (_vxi = function(_vxk, _vxl) { var _vxm = null; return _vxi = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_vxn, _vxo) { var _vxp = null; _vxn.__proto__ = _vxo; } || function(_vxq, _vxr) { var _vxs = null; for (var _vxt in _vxr) Object.prototype.hasOwnProperty.call(_vxr, _vxt) && (_vxq[_vxt] = _vxr[_vxt]); }, _vxi(_vxk, _vxl); }, function(_vxu, _vxv) { var _vxw = null; if ('function' != typeof _vxv && null !== _vxv) throw new TypeError('Class extends value ' + String(_vxv) + ' is not a constructor or null'); function _vxx() { var _vxy = null; this.constructor = _vxu; } _vxi(_vxu, _vxv), _vxu.prototype = null === _vxv ? Object.create(_vxv) : (_vxx.prototype = _vxv.prototype, new _vxx()); }); defineModule(_vxf); Object.defineProperty(_vxf, '__esModule', { 'value': !0 }), _vxf.MaterialAmountView = void 0; var _vxz = _vxg(35380), _vy0 = _vxg(29075), _vy1 = _vxg(44639), _vy2 = _vxg(31849), _vy3 = function(_vy4) { var _vy5 = null; function _vy6(_vy7, _vy8, _vy9) { var _vya = null, _vyb = _vy4.call(this) || this; _vyb._value = 0, _vyb.avail = 0, _vyb._onClick1Up = function() { var _vyc = null; _vyb.up(_vyb._value + 1), _vyb.onChangeValue(); }, _vyb._onClick10Up = function() { var _vyd = null; _vyb.up(_vyb._value + 10), _vyb.onChangeValue(); }, _vyb._onClick100Up = function() { var _vye = null; _vyb.up(_vyb._value + 100), _vyb.onChangeValue(); }, _vyb._onClick1Down = function() { var _vyf = null; _vyb.down(_vyb._value - 1), _vyb.onChangeValue(); }, _vyb._onClick10Down = function() { var _vyg = null; _vyb.down(_vyb._value - 10), _vyb.onChangeValue(); }, _vyb._onClick100Down = function() { var _vyh = null; _vyb.down(_vyb._value - 100), _vyb.onChangeValue(); }, _vyb._onClickReset = function() { var _vyi = null; _vyb.updateValue(_vyb._min), _vyb.onChangeValue(); }, _vyb._onClickMax = function() { var _vyj = null, _vyk = Math.min(_vyb.avail, _vyb._max); _vyk < _vyb._min && (_vyk = _vyb._max), _vyb.updateValue(_vyk), _vyb.onChangeValue(); }, _vyb._min = _vy8, _vyb._max = _vy9; var _vyl = new _vy1.MaterialIconText(); _vyb._multiple = !1, _vyb.n_100 = new PIXI.Sprite(), _vyb.n_10 = new PIXI.Sprite(), _vyb.n_1 = new PIXI.Sprite(); var _vym = new PIXI.Sprite(_vy0.ARSENAL_MAIN.getTexture(81)), _vyn = new PIXI.Sprite(_vy0.ARSENAL_MAIN.getTexture(16)), _vyo = new PIXI.Sprite(_vy0.ARSENAL_MAIN.getTexture(16)), _vyp = new PIXI.Sprite(_vy0.ARSENAL_MAIN.getTexture(11)), _vyq = new PIXI.Sprite(_vy0.ARSENAL_MAIN.getTexture(11)); return _vyb.n_100.position.set(36, 91), _vyb.n_10.position.set(63, 91), _vyb.n_1.position.set(90, 91), _vyl.position.set(7, 7), _vyn.position.set(181, 13), _vyo.position.set(181, 54), _vyp.position.set(259, 13), _vyq.position.set(259, 54), _vyl.update(_vy7), _vyb.addChild(_vym, _vyl, _vyb.n_100, _vyb.n_10, _vyb.n_1), _vyb.btn_sozai_up = new PIXI.Sprite(_vy0.ARSENAL_MAIN.getTexture(43)), _vyb.btn_sozai_up.interactive = !0, _vyb.btn_sozai_up.buttonMode = !0, _vyb.btn_sozai_up.position.set(72, 48), _vyb.addChild(_vyb.btn_sozai_up), _vyb.btn_sozai_down = new PIXI.Sprite(_vy0.ARSENAL_MAIN.getTexture(42)), _vyb.btn_sozai_down.interactive = !0, _vyb.btn_sozai_down.buttonMode = !0, _vyb.btn_sozai_down.position.set(72, 150), _vyb.addChild(_vyb.btn_sozai_down), _vyb.addChild(_vyn, _vyo, _vyp, _vyq), _vyb._btnReset = new PIXI.Sprite(_vy0.ARSENAL_MAIN.getTexture(38)), _vyb._btnReset.interactive = !0, _vyb._btnReset.buttonMode = !0, _vyb._btnReset.position.set(178, 99), _vyb.addChild(_vyb._btnReset), _vyb._btnMax = new PIXI.Sprite(_vy0.ARSENAL_MAIN.getTexture(34)), _vyb._btnMax.interactive = !0, _vyb._btnMax.buttonMode = !0, _vyb._btnMax.position.set(178, 139), _vyb.addChild(_vyb._btnMax), _vyb.minus10 = new PIXI.Sprite(_vy0.ARSENAL_MAIN.getTexture(15)), _vyb.minus10.interactive = !0, _vyb.minus10.buttonMode = !0, _vyb.minus10.position.set(181, 13), _vyb.addChild(_vyb.minus10), _vyb.minus100 = new PIXI.Sprite(_vy0.ARSENAL_MAIN.getTexture(15)), _vyb.minus100.interactive = !0, _vyb.minus100.buttonMode = !0, _vyb.minus100.position.set(181, 54), _vyb.addChild(_vyb.minus100), _vyb.plus10 = new PIXI.Sprite(_vy0.ARSENAL_MAIN.getTexture(10)), _vyb.plus10.interactive = !0, _vyb.plus10.buttonMode = !0, _vyb.plus10.position.set(259, 13), _vyb.addChild(_vyb.plus10), _vyb.plus100 = new PIXI.Sprite(_vy0.ARSENAL_MAIN.getTexture(10)), _vyb.plus100.interactive = !0, _vyb.plus100.buttonMode = !0, _vyb.plus100.position.set(259, 54), _vyb.addChild(_vyb.plus100), _vyb._btnReset.on(_vxz.EventType.CLICK, _vyb._onClickReset), _vyb._btnMax.on(_vxz.EventType.CLICK, _vyb._onClickMax), _vyb.btn_sozai_up.on(_vxz.EventType.CLICK, _vyb._onClick1Up), _vyb.btn_sozai_down.on(_vxz.EventType.CLICK, _vyb._onClick1Down), _vyb.minus10.on(_vxz.EventType.CLICK, _vyb._onClick10Down), _vyb.minus100.on(_vxz.EventType.CLICK, _vyb._onClick100Down), _vyb.plus10.on(_vxz.EventType.CLICK, _vyb._onClick10Up), _vyb.plus100.on(_vxz.EventType.CLICK, _vyb._onClick100Up), _vyb; } return _vxj(_vy6, _vy4), Object.defineProperty(_vy6.prototype, 'value', { 'get': function() { var _vyr = null; return this._value; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_vy6.prototype, 'multiple', { 'get': function() { var _vys = null; return this._multiple; }, 'set': function(_vyt) { var _vyu = null; this._multiple = _vyt; }, 'enumerable': !1, 'configurable': !0 }), _vy6.prototype.dispose = function() { var _vyv = null; this._btnReset.off(_vxz.EventType.CLICK, this._onClickReset), this._btnMax.off(_vxz.EventType.CLICK, this._onClickMax), this.btn_sozai_up.off(_vxz.EventType.CLICK, this._onClick1Up), this.btn_sozai_down.off(_vxz.EventType.CLICK, this._onClick1Down), this.minus10.off(_vxz.EventType.CLICK, this._onClick10Down), this.minus100.off(_vxz.EventType.CLICK, this._onClick100Down), this.plus10.off(_vxz.EventType.CLICK, this._onClick10Up), this.plus100.off(_vxz.EventType.CLICK, this._onClick100Up), this.n_100.texture = PIXI.Texture.EMPTY, this.n_10.texture = PIXI.Texture.EMPTY, this.n_1.texture = PIXI.Texture.EMPTY, this.onChangeValue = null, this._value = null, this.avail = null, this.n_100 = null, this.n_10 = null, this.n_1 = null, this.removeChildren(); }, _vy6.prototype.up = function(_vyw) { var _vyx = null; this._max < _vyw && (_vyw = this._max), this.updateValue(_vyw); }, _vy6.prototype.down = function(_vyy) { var _vyz = null; _vyy < this._min && (_vyy = this._min), this.updateValue(_vyy); }, _vy6.prototype.updateValue = function(_vz0) { var _vz1 = null, _vz2, _vz3, _vz4, _vz5 = this.splitNumber(_vz0), _vz6 = this._multiple ? 3 * _vz0 : _vz0; this.btn_sozai_down.visible = !1, this.btn_sozai_up.visible = !1, this.minus10.visible = !1, this.minus100.visible = !1, this.plus10.visible = !1, this.plus100.visible = !1, _vz6 <= this.avail ? (_vz2 = _vy2.Util.getWhiteNumberResourceId(_vz5[0]), _vz3 = _vy2.Util.getWhiteNumberResourceId(_vz5[1]), _vz4 = _vy2.Util.getWhiteNumberResourceId(_vz5[2])) : (_vz2 = _vy2.Util.getRedNumberResourceId(_vz5[0]), _vz3 = _vy2.Util.getRedNumberResourceId(_vz5[1]), _vz4 = _vy2.Util.getRedNumberResourceId(_vz5[2])), this._min < _vz0 && (this.minus10.visible = !0, this.minus100.visible = !0, this.btn_sozai_down.visible = !0), _vz0 < this._max && (this.plus10.visible = !0, this.plus100.visible = !0, this.btn_sozai_up.visible = !0), this.n_100.texture = _vy0.ARSENAL_MAIN.getTexture(_vz2), this.n_10.texture = _vy0.ARSENAL_MAIN.getTexture(_vz3), this.n_1.texture = _vy0.ARSENAL_MAIN.getTexture(_vz4), this._value = _vz0; }, _vy6.prototype.setAvail = function(_vz7) { var _vz8 = null; this.avail = _vz7; }, _vy6.prototype.splitNumber = function(_vz9) { var _vza = null, _vzb = 0 == _vz9 ? 0 : _vz9 % 1000, _vzc = 0, _vzd = 0; return 0 < _vzb && (_vzb -= 100 * (_vzc = Math.floor(_vzb / 100))), 0 < _vzb && (_vzb -= 10 * (_vzd = Math.floor(_vzb / 10))), [_vzc, _vzd, Math.floor(_vzb)]; }, _vy6; }(PIXI.Container); _vxf.MaterialAmountView = _vy3; }, 44639: function(_vze, _vzf, _vzg) { 'use strict'; var _vzh = null; var _vzi, _vzj = this && this.__extends || (_vzi = function(_vzk, _vzl) { var _vzm = null; return _vzi = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_vzn, _vzo) { var _vzp = null; _vzn.__proto__ = _vzo; } || function(_vzq, _vzr) { var _vzs = null; for (var _vzt in _vzr) Object.prototype.hasOwnProperty.call(_vzr, _vzt) && (_vzq[_vzt] = _vzr[_vzt]); }, _vzi(_vzk, _vzl); }, function(_vzu, _vzv) { var _vzw = null; if ('function' != typeof _vzv && null !== _vzv) throw new TypeError('Class extends value ' + String(_vzv) + ' is not a constructor or null'); function _vzx() { var _vzy = null; this.constructor = _vzu; } _vzi(_vzu, _vzv), _vzu.prototype = null === _vzv ? Object.create(_vzv) : (_vzx.prototype = _vzv.prototype, new _vzx()); }); defineModule(_vzf); Object.defineProperty(_vzf, '__esModule', { 'value': !0 }), _vzf.MaterialIconText = void 0; var _vzz = _vzg(31000), _w00 = function(_w01) { var _w02 = null; function _w03() { var _w04 = null; return null !== _w01 && _w01.apply(this, arguments) || this; } return _vzj(_w03, _w01), _w03.prototype.update = function(_w05) { var _w06 = null, _w07 = this.getMaterialIconTextResourceid(_w05); this.texture = _vzz.ARSENAL_MAIN.getTexture(_w07); }, _w03.prototype.getMaterialIconTextResourceid = function(_w08) { var _w09 = null; switch (_w08) { case 31: return 161; case 32: return 163; case 33: return 165; case 34: return 167; } throw new Error('unsupported param'); }, _w03; }(PIXI.Sprite); _vzf.MaterialIconText = _w00; }, 56428: function(_w0a, _w0b, _w0c) { 'use strict'; var _w0d = null; var _w0e, _w0f = this && this.__extends || (_w0e = function(_w0g, _w0h) { var _w0i = null; return _w0e = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_w0j, _w0k) { var _w0l = null; _w0j.__proto__ = _w0k; } || function(_w0m, _w0n) { var _w0o = null; for (var _w0p in _w0n) Object.prototype.hasOwnProperty.call(_w0n, _w0p) && (_w0m[_w0p] = _w0n[_w0p]); }, _w0e(_w0g, _w0h); }, function(_w0q, _w0r) { var _w0s = null; if ('function' != typeof _w0r && null !== _w0r) throw new TypeError('Class extends value ' + String(_w0r) + ' is not a constructor or null'); function _w0t() { var _w0u = null; this.constructor = _w0q; } _w0e(_w0q, _w0r), _w0q.prototype = null === _w0r ? Object.create(_w0r) : (_w0t.prototype = _w0r.prototype, new _w0t()); }), _w0v = this && this.__importDefault || function(_w0w) { var _w0x = null; return _w0w && _w0w.__esModule ? _w0w : { 'default': _w0w }; }; defineModule(_w0b); Object.defineProperty(_w0b, '__esModule', { 'value': !0 }), _w0b.MenuLayer = void 0; var _w0y = _w0v(_w0c(18622)), _w0z = _w0c(31000), _w10 = _w0c(43182), _w11 = _w0c(35380), _w12 = _w0c(22086), _w13 = _w0c(80896), _w14 = _w0c(68028), _w15 = _w0c(69235), _w16 = _w0c(29753), _w17 = _w0c(99469), _w18 = _w0c(67716), _w19 = _w0c(73760), _w1a = _w0c(58423), _w1b = _w0c(47000), _w1c = _w0c(85330), _w1d = _w0c(16677), _w1e = function(_w1f) { var _w1g = null; function _w1h() { var _w1i = null, _w1j = _w1f.call(this) || this; _w1j.itemMemory = { 'ammo': 10, 'fuel': 10, 'steel': 10, 'bauxite': 10 }, _w1j.shipShipPageIndex = 0, _w1j.shipSortKeyType = _w19.ArsenalSceneMemory.shipSortKeyType, _w1j._hasLimitOver = !1, _w1j._onMouseOverDevelop = function() { var _w1k = null; _w1j.alertDevelopPopup.visible = _w1j._hasLimitOver; }, _w1j._onMouseOutDevelop = function() { var _w1l = null; _w1j.alertDevelopPopup.visible = !1; }, _w1j._onClickMenuDevelop = function() { var _w1m = null; if (0 == _w1j._hasLimitOver) { if (_w1j.focusDevelop(), _w1j._materialAmountContainer) return; _w1j._materialAmountContainer = new _w15.MaterialAmountContainerSlot(_w1j.parent), _w1j._materialAmountContainer.onComplete = _w1j._onCompletePhaseItemConfigureMaterial, _w1j._materialAmountContainer.play(_w1j.itemMemory.fuel, _w1j.itemMemory.ammo, _w1j.itemMemory.steel, _w1j.itemMemory.bauxite); } }, _w1j._onCompletePhaseItemConfigureMaterial = function(_w1n) { var _w1o = null; switch (_w1n) { case _w15.Result.CANCEL: _w0y.default.view.clickGuard = !0, _w1j._materialAmountContainer.hide(function() { var _w1p = null; _w1j.focusBuild(), _w1j._materialAmountContainer.dispose(), _w1j._materialAmountContainer = null, _w0y.default.view.clickGuard = !1, _w12.ArsenalUtil.playVoiceOnBuildComplete(); }); break; case _w15.Result.DEVELOP: var _w1q = _w1j._materialAmountContainer.fuel, _w1r = _w1j._materialAmountContainer.ammo, _w1s = _w1j._materialAmountContainer.steel, _w1t = _w1j._materialAmountContainer.bauxite; _w1j.itemMemory.fuel = _w1q, _w1j.itemMemory.ammo = _w1r, _w1j.itemMemory.steel = _w1s, _w1j.itemMemory.bauxite = _w1t; var _w1u = new _w13.CreateItemAPI(_w1q, _w1r, _w1s, _w1t, !1); _w0y.default.view.clickGuard = !0, _w1u.start(function() { var _w1v = null, _w1w = 1 == _w1u.api_create_flag, _w1x = _w1u.api_slotitem_mstid.pop(); _w1j.developAnimation(_w1w, _w1x), _w0y.default.view.clickGuard = !1; }), _w1j._materialAmountContainer.dispose(), _w1j._materialAmountContainer = null, _w1j.focusBuild(); break; case _w15.Result.MULTIPLE_DEV: var _w1y = _w1j._materialAmountContainer.fuel, _w1z = _w1j._materialAmountContainer.ammo, _w20 = _w1j._materialAmountContainer.steel, _w21 = _w1j._materialAmountContainer.bauxite; _w1j.itemMemory.fuel = _w1y, _w1j.itemMemory.ammo = _w1z, _w1j.itemMemory.steel = _w20, _w1j.itemMemory.bauxite = _w21; var _w22 = new _w13.CreateItemAPI(_w1y, _w1z, _w20, _w21, !0); _w0y.default.view.clickGuard = !0, _w22.start(function() { var _w23 = null, _w24 = 1 == _w22.api_create_flag, _w25 = _w22.api_slotitem_mstid; new _w1c.TaskMultiDevelopAnimation(_w24, _w25, _w1j.onUpdateCondition).start(); }), _w1j._materialAmountContainer.dispose(), _w1j._materialAmountContainer = null, _w1j.focusBuild(); break; case _w15.Result.GOTO_STORE: _w0y.default.scene.change(24, new _w14.ItemSceneModel()); } }, _w1j._onClickMenuShipDisassembly = function() { var _w26 = null; _w1j.focusShipDisassembly(), _w0y.default.view.clickGuard = !0, _w1j.shipDisassembly && (_w1j.shipDisassembly.dispose(), _w1j.shipDisassembly = null), _w1j.shipDisassembly = new _w1a.ShipDisassemblyContainer(_w1j.parent), _w1j.shipDisassembly.onComplete = function() { var _w27 = null; _w1j._onCompletePhaseShipDisassembly(); }, _w1j.shipDisassembly.start(_w1j.shipSortKeyType, 0); }, _w1j._onClickMenuSlotDisassembly = function() { var _w28 = null; _w1j.focusSlotDisassembly(), _w1j.slotDisassembly && (_w1j.slotDisassembly.dispose(), _w1j.slotDisassembly = null), _w1j.slotDisassembly = new _w1b.SlotDisassemblyContainer(_w1j.parent), _w1j.slotDisassembly.onComplete = function() { var _w29 = null; _w1j._onCompleteSlotDisassembly(); }, _w1j.slotDisassembly.start(0, 0); }; var _w2a = new PIXI.Sprite(_w0z.ARSENAL_MAIN.getTexture(95)); _w1j.iconBuild = new PIXI.Sprite(_w0z.ARSENAL_MAIN.getTexture(96)); var _w2b = new PIXI.Sprite(_w0z.ARSENAL_MAIN.getTexture(90)); _w1j.buttonSlotDisassembly = new _w10.SimpleButton(_w0z.ARSENAL_MAIN.getTexture(89), _w0z.ARSENAL_MAIN.getTexture(90)); var _w2c = new PIXI.Sprite(_w0z.ARSENAL_MAIN.getTexture(92)); _w1j.buttonDevelop = new _w10.SimpleButton(_w0z.ARSENAL_MAIN.getTexture(91), _w0z.ARSENAL_MAIN.getTexture(92)); var _w2d = new PIXI.Sprite(_w0z.ARSENAL_MAIN.getTexture(94)); _w1j.buttonShipDisassembly = new _w10.SimpleButton(_w0z.ARSENAL_MAIN.getTexture(93), _w0z.ARSENAL_MAIN.getTexture(94)), _w1j.alertDevelopPopup = new PIXI.Sprite(_w0z.ARSENAL_MAIN.getTexture(70)); var _w2e = 342; return _w1j.buttonDevelop.on(_w11.EventType.CLICK, _w1j._onClickMenuDevelop), _w1j.buttonDevelop.onMouseOver = _w1j._onMouseOverDevelop, _w1j.buttonDevelop.onMouseOut = _w1j._onMouseOutDevelop, _w1j.buttonSlotDisassembly.on(_w11.EventType.CLICK, _w1j._onClickMenuSlotDisassembly), _w1j.buttonShipDisassembly.on(_w11.EventType.CLICK, _w1j._onClickMenuShipDisassembly), _w1j.iconBuild.anchor.set(0.5, 0), _w2a.anchor.set(0.5, 0), _w2b.anchor.set(0.5, 0), _w1j.buttonSlotDisassembly.anchor.set(0.5, 0), _w2c.anchor.set(0.5, 0), _w1j.buttonDevelop.anchor.set(0.5, 0), _w2d.anchor.set(0.5, 0), _w1j.buttonShipDisassembly.anchor.set(0.5, 0), _w1j.iconBuild.position.set(_w2e, 201), _w2a.position.set(_w2e, 201), _w2d.position.set(_w2e, 321), _w1j.buttonShipDisassembly.position.set(_w2e, 321), _w2c.position.set(_w2e, 435), _w1j.buttonDevelop.position.set(_w2e, 435), _w1j.alertDevelopPopup.position.set(462, 435), _w2b.position.set(_w2e, 555), _w1j.buttonSlotDisassembly.position.set(_w2e, 555), _w1j.alertDevelopPopup.visible = !1, _w1j.addChild(_w2a, _w2d, _w2c, _w2b, _w1j.iconBuild, _w1j.buttonShipDisassembly, _w1j.buttonDevelop, _w1j.buttonSlotDisassembly, _w1j.alertDevelopPopup), _w1j; } return _w0f(_w1h, _w1f), Object.defineProperty(_w1h.prototype, 'hasLimitOver', { 'set': function(_w2f) { var _w2g = null; this._hasLimitOver = _w2f; }, 'enumerable': !1, 'configurable': !0 }), _w1h.prototype.dispose = function() { var _w2h = null; this.buttonSlotDisassembly.dispose(), this.buttonDevelop.dispose(), this.buttonShipDisassembly.dispose(), this.shipDisassembly && this.shipDisassembly.dispose(), this.slotDisassembly && this.slotDisassembly.dispose(), this.onUpdateCondition = null, this.shipShipPageIndex = null, this.shipSortKeyType = null, this.iconBuild = null, this.buttonSlotDisassembly = null, this.buttonDevelop = null, this.buttonShipDisassembly = null, this.alertDevelopPopup = null, this.itemMemory = null, this._hasLimitOver = null, this.shipDisassembly = null, this.slotDisassembly = null, this._materialAmountContainer && (this._materialAmountContainer.dispose(), this._materialAmountContainer = null), this.removeChildren(); }, _w1h.prototype.focusBuild = function() { var _w2i = null; this.iconBuild.visible = !0, this.buttonShipDisassembly.visible = !0, this.buttonDevelop.visible = !0, this.buttonSlotDisassembly.visible = !0; }, _w1h.prototype.focusShipDisassembly = function() { var _w2j = null; this.iconBuild.visible = !1, this.buttonShipDisassembly.visible = !1, this.buttonDevelop.visible = !0, this.buttonSlotDisassembly.visible = !0; }, _w1h.prototype.focusDevelop = function() { var _w2k = null; this.iconBuild.visible = !1, this.buttonShipDisassembly.visible = !0, this.buttonDevelop.visible = !1, this.buttonSlotDisassembly.visible = !0; }, _w1h.prototype.focusSlotDisassembly = function() { var _w2l = null; this.iconBuild.visible = !1, this.buttonShipDisassembly.visible = !0, this.buttonDevelop.visible = !0, this.buttonSlotDisassembly.visible = !1; }, _w1h.prototype.developAnimation = function(_w2m, _w2n) { var _w2o = null, _w2p = this, _w2q = new _w16.ReceiveAnimation(393); _w0y.default.view.overLayer.addChild(_w2q), _w2q.preload(function() { var _w2r = null; if (1 == _w2m) { var _w2s = _w0y.default.model.slot.getMst(_w2n), _w2t = '', _w2u = 301 === _w2s.mstID ? '\x0a' : '', _w2v = _w0y.default.model.slot.getEquipTypeById(_w2s.equipType); _w2t = _w2v.needsDisplayName() ? '「' + _w2v.name + ' ' + _w2s.name + '」を' + _w2u + '入手しました!' : '「' + _w2s.name + '」を' + _w2u + '入手しました!'; var _w2w = new _w17.RewardAnimationSlot(); _w2w.preload(_w2n, _w2t, _w2s.rarity, function() { var _w2x = null; _w2q.play(function() { var _w2y = _w2x; _w12[_w2y(7561)][_w2y(2320)](26), _w2q[_w2y(5118)](), _w0y[_w2y(3499)][_w2y(2726)][_w2y(11161)][_w2y(3693)](_w2q), _w0y[_w2y(3499)][_w2y(2726)][_w2y(11161)][_w2y(9040)](_w2w), _w2w[_w2y(8679)](function() { var _w2z = _w2y; _w0y[_w2z(3499)][_w2z(2726)][_w2z(11305)][_w2z(4982)](); for (var _w30 = _w12[_w2z(7561)][_w2z(6681)](), _w31 = _w0y[_w2z(3499)][_w2z(2746)][_w2z(7472)][_w2z(6713)](), _w32 = 0; _w32 < _w31[_w2z(2293)]; _w32++) { var _w33 = _w31[_w32]; _w2p[_w2z(10513)](_w33.id, _w30[_w2z(8666)], _w30[_w2z(5666)]); } }, function() { var _w34 = _w2y; _w2w[_w34(5118)](), _w0y[_w34(3499)][_w34(2726)][_w34(11161)][_w34(3693)](_w2w), _w12[_w34(7561)][_w34(6039)](); }); }); }); } else _w2q.play(function() { var _w35 = null; _w2q.dispose(), _w0y.default.view.overLayer.removeChild(_w2q); var _w36 = new _w18.RewardAnimationSlotFailed(); _w0y.default.view.overLayer.addChild(_w36), _w36.play(function() { var _w37 = _w35; _w0y[_w37(3499)][_w37(2726)][_w37(11305)][_w37(4982)](), _w36[_w37(5118)](), _w0y[_w37(3499)][_w37(2726)][_w37(11161)][_w37(3693)](_w36), _w12[_w37(7561)][_w37(6039)](); }); }); }); }, _w1h.prototype._onCompletePhaseShipDisassembly = function() { var _w38 = null, _w39 = this; this.shipSortKeyType = this.shipDisassembly.useShipSortKeyType, this.shipShipPageIndex = this.shipDisassembly.pageIndex, _w0y.default.view.clickGuard = !0, _w1d.WheelEventUtil.clear(), this.shipDisassembly.hide(function() { var _w3a = null; _w39.focusBuild(); for (var _w3b = _w12.ArsenalUtil.developLimit(), _w3c = _w0y.default.model.kdock.getAll(), _w3d = 0; _w3d < _w3c.length; _w3d++) { var _w3e = _w3c[_w3d]; _w39.onUpdateCondition(_w3e.id, _w3b.forShip, _w3b.forSlot); } _w0y.default.view.clickGuard = !1, _w12.ArsenalUtil.playVoiceOnBuildComplete(), _w39.shipDisassembly.dispose(), _w39.shipDisassembly = null; }); }, _w1h.prototype._onCompleteSlotDisassembly = function() { var _w3f = null, _w3g = this; _w0y.default.view.clickGuard = !0, _w1d.WheelEventUtil.clear(), this.slotDisassembly.hide(function() { var _w3h = null; for (var _w3i = _w12.ArsenalUtil.developLimit(), _w3j = _w0y.default.model.kdock.getAll(), _w3k = 0; _w3k < _w3j.length; _w3k++) { var _w3l = _w3j[_w3k]; _w3g.onUpdateCondition(_w3l.id, _w3i.forShip, _w3i.forSlot); } _w0y.default.view.clickGuard = !1, _w3g.focusBuild(), _w12.ArsenalUtil.playVoiceOnBuildComplete(), _w3g.slotDisassembly.dispose(), _w3g.slotDisassembly = null; }); }, _w1h; }(PIXI.Container); _w0b.MenuLayer = _w1e; }, 26223: function(_w3m, _w3n, _w3o) { 'use strict'; var _w3p = null; var _w3q, _w3r = this && this.__extends || (_w3q = function(_w3s, _w3t) { var _w3u = null; return _w3q = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_w3v, _w3w) { var _w3x = null; _w3v.__proto__ = _w3w; } || function(_w3y, _w3z) { var _w40 = null; for (var _w41 in _w3z) Object.prototype.hasOwnProperty.call(_w3z, _w41) && (_w3y[_w41] = _w3z[_w41]); }, _w3q(_w3s, _w3t); }, function(_w42, _w43) { var _w44 = null; if ('function' != typeof _w43 && null !== _w43) throw new TypeError('Class extends value ' + String(_w43) + ' is not a constructor or null'); function _w45() { var _w46 = null; this.constructor = _w42; } _w3q(_w42, _w43), _w42.prototype = null === _w43 ? Object.create(_w43) : (_w45.prototype = _w43.prototype, new _w45()); }); defineModule(_w3n); Object.defineProperty(_w3n, '__esModule', { 'value': !0 }), _w3n.MultipleDevelopToggle = void 0; var _w47 = _w3o(29075), _w48 = _w3o(35380), _w49 = function(_w4a) { var _w4b = null; function _w4c() { var _w4d = null, _w4e = _w4a.call(this) || this; return _w4e._state = !1, _w4e.animationParams = { 'progress': 0 }, _w4e._onClick = function() { var _w4f = null; null != _w4e.tween && _w4e.tween.setPaused(!0), _w4e.tween = null; var _w4g = 0; switch (_w4e._state) { case !1: _w4e._state = !0, _w4g = 0; break; case !0: _w4e._state = !1, _w4g = 1; } var _w4h = createjs.Tween.get(_w4e.animationParams); _w4h.to({ 'progress': _w4g }, 300).on('change', function() { var _w4i = null; 0.5 < _w4e.animationParams.progress ? _w4e.background_on.visible = !1 : _w4e.background_on.visible = !0, _w4e.toggle.x = 0 + 103 * _w4e.animationParams.progress; }), _w4h.play(null), _w4e.tween = _w4h, null != _w4e.click_cb && _w4e.click_cb(); }, _w4e.toggle = new PIXI.Sprite(_w47.ARSENAL_MAIN.getTexture(147)), _w4e.background_off = new PIXI.Sprite(_w47.ARSENAL_MAIN.getTexture(152)), _w4e.background_on = new PIXI.Sprite(_w47.ARSENAL_MAIN.getTexture(154)), _w4e.background_off.on(_w48.EventType.CLICK, _w4e._onClick), _w4e.toggle.position.set(103, -4), _w4e.addChild(_w4e.background_off, _w4e.background_on, _w4e.toggle), _w4e; } return _w3r(_w4c, _w4a), Object.defineProperty(_w4c.prototype, 'state', { 'get': function() { var _w4j = null; return this._state; }, 'enumerable': !1, 'configurable': !0 }), _w4c.prototype.update = function(_w4k) { var _w4l = null; null != this.tween && this.tween.setPaused(!0), this.tween = null, this._state = !1, this.toggle.position.set(103, -4), this.background_off.interactive = this.background_off.buttonMode = !!_w4k, this.background_on.visible = !1, this.animationParams.progress = 1; }, _w4c.prototype.changeToggleState = function(_w4m) { var _w4n = null; switch (null != this.tween && this.tween.setPaused(!0), this.tween = null, this.toggle.x = 0, this.background_on.visible = !1, _w4m) { case !0: this.toggle.x = 0, this.animationParams.progress = 0, this.background_on.visible = !0; break; case !1: this.toggle.x = 103, this.animationParams.progress = 1, this.background_on.visible = !1; } this._state = _w4m; }, _w4c.prototype.dispose = function() { var _w4o = null; null != this.tween && this.tween.setPaused(!0), this.removeChildren(), this.background_off = null, this.background_on = null, this.toggle = null, this.tween = null, this.click_cb = null; }, _w4c; }(PIXI.Container); _w3n.MultipleDevelopToggle = _w49; }, 81579: function(_w4p, _w4q, _w4r) { 'use strict'; var _w4s = null; var _w4t, _w4u = this && this.__extends || (_w4t = function(_w4v, _w4w) { var _w4x = null; return _w4t = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_w4y, _w4z) { var _w50 = null; _w4y.__proto__ = _w4z; } || function(_w51, _w52) { var _w53 = null; for (var _w54 in _w52) Object.prototype.hasOwnProperty.call(_w52, _w54) && (_w51[_w54] = _w52[_w54]); }, _w4t(_w4v, _w4w); }, function(_w55, _w56) { var _w57 = null; if ('function' != typeof _w56 && null !== _w56) throw new TypeError('Class extends value ' + String(_w56) + ' is not a constructor or null'); function _w58() { var _w59 = null; this.constructor = _w55; } _w4t(_w55, _w56), _w55.prototype = null === _w56 ? Object.create(_w56) : (_w58.prototype = _w56.prototype, new _w58()); }); defineModule(_w4q); Object.defineProperty(_w4q, '__esModule', { 'value': !0 }), _w4q.NoDockView = void 0; var _w5a = _w4r(31000), _w5b = _w4r(31000), _w5c = _w4r(35380), _w5d = function(_w5e) { var _w5f = null; function _w5g(_w5h) { var _w5i = null, _w5j = _w5e.call(this) || this; return _w5j.clickable = !1, _w5j.hasKey = !1, _w5j._onMouseOver = function(_w5k) { var _w5l = null; _w5j.alert_dock_key_sprite.visible = _w5j.confirm_dock_key_sprite.visible = !1, _w5j.hasKey ? _w5j.confirm_dock_key_sprite.visible = !0 : _w5j.alert_dock_key_sprite.visible = !0; }, _w5j._onClick = function() { var _w5m = null; _w5j.hasKey || _w5a.SE.play('248'), _w5j.onClick(); }, _w5j._onMouseOut = function(_w5n) { var _w5o = null; _w5j.alert_dock_key_sprite.visible = _w5j.confirm_dock_key_sprite.visible = !1; }, _w5j.steelFrame_noDock_sprite = new PIXI.Sprite(_w5b.ARSENAL_MAIN.getTexture(146)), _w5j.alert_dock_key_sprite = new PIXI.Sprite(_w5b.ARSENAL_MAIN.getTexture(71)), _w5j.confirm_dock_key_sprite = new PIXI.Sprite(_w5b.ARSENAL_MAIN.getTexture(72)), _w5j.alert_dock_key_sprite.position.set(255, -15), _w5j.confirm_dock_key_sprite.position.set(255, -15), _w5j.alert_dock_key_sprite.visible = _w5j.confirm_dock_key_sprite.visible = !1, _w5j.steelFrame_noDock_sprite.interactive = _w5j.steelFrame_noDock_sprite.buttonMode = !0, _w5j.steelFrame_noDock_sprite.on(_w5c.EventType.MOUSEOVER, _w5j._onMouseOver), _w5j.steelFrame_noDock_sprite.on(_w5c.EventType.MOUSEOUT, _w5j._onMouseOut), _w5j.steelFrame_noDock_sprite.on(_w5c.EventType.CLICK, _w5j._onClick), _w5j.addChild(_w5j.steelFrame_noDock_sprite), _w5h.addChild(_w5j.alert_dock_key_sprite, _w5j.confirm_dock_key_sprite), _w5j.overlayer = _w5h, _w5j; } return _w4u(_w5g, _w5e), _w5g.prototype.update = function(_w5p, _w5q) { var _w5r = null; this.steelFrame_noDock_sprite.interactive = !1, _w5p && (this.steelFrame_noDock_sprite.interactive = !0), this.clickable = _w5p, this.hasKey = _w5q; }, _w5g.prototype.hidePop = function() { var _w5s = null; this.alert_dock_key_sprite.visible = this.confirm_dock_key_sprite.visible = !1; }, _w5g.prototype.dispose = function() { var _w5t = null; this.steelFrame_noDock_sprite.removeAllListeners(_w5c.EventType.MOUSEOVER), this.steelFrame_noDock_sprite.removeAllListeners(_w5c.EventType.MOUSEOUT), this.steelFrame_noDock_sprite.removeAllListeners(_w5c.EventType.CLICK), this.overlayer.removeChildren(), this.onClick = null, this.steelFrame_noDock_sprite = null, this.alert_dock_key_sprite = null, this.confirm_dock_key_sprite = null, this.overlayer = null, this.removeChildren(); }, _w5g; }(PIXI.Container); _w4q.NoDockView = _w5d; }, 88566: function(_w5u, _w5v, _w5w) { 'use strict'; var _w5x = null; var _w5y, _w5z = this && this.__extends || (_w5y = function(_w60, _w61) { var _w62 = null; return _w5y = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_w63, _w64) { var _w65 = null; _w63.__proto__ = _w64; } || function(_w66, _w67) { var _w68 = null; for (var _w69 in _w67) Object.prototype.hasOwnProperty.call(_w67, _w69) && (_w66[_w69] = _w67[_w69]); }, _w5y(_w60, _w61); }, function(_w6a, _w6b) { var _w6c = null; if ('function' != typeof _w6b && null !== _w6b) throw new TypeError('Class extends value ' + String(_w6b) + ' is not a constructor or null'); function _w6d() { var _w6e = null; this.constructor = _w6a; } _w5y(_w6a, _w6b), _w6a.prototype = null === _w6b ? Object.create(_w6b) : (_w6d.prototype = _w6b.prototype, new _w6d()); }); defineModule(_w5v); Object.defineProperty(_w5v, '__esModule', { 'value': !0 }), _w5v.NormalBuildShip = void 0; var _w6f = _w5w(31000), _w6g = function(_w6h) { var _w6i = null; function _w6j() { var _w6k = null, _w6l = _w6h.call(this) || this; return _w6l.build_ship_00 = new PIXI.Sprite(_w6f.ARSENAL_MAIN.getTexture(52)), _w6l.build_ship_01 = new PIXI.Sprite(_w6f.ARSENAL_MAIN.getTexture(53)), _w6l.build_ship_02 = new PIXI.Sprite(_w6f.ARSENAL_MAIN.getTexture(54)), _w6l.build_ship_03 = new PIXI.Sprite(_w6f.ARSENAL_MAIN.getTexture(55)), _w6l.build_ship_04 = new PIXI.Sprite(_w6f.ARSENAL_MAIN.getTexture(56)), _w6l.build_ship_00.alpha = 0, _w6l.build_ship_01.alpha = 0, _w6l.build_ship_02.alpha = 0, _w6l.build_ship_03.alpha = 0, _w6l.build_ship_04.alpha = 0, _w6l.addChild(_w6l.build_ship_00, _w6l.build_ship_01, _w6l.build_ship_02, _w6l.build_ship_03, _w6l.build_ship_04), _w6l; } return _w5z(_w6j, _w6h), _w6j.prototype.update = function(_w6m) { var _w6n = null; switch (this.build_ship_00.alpha = 0, this.build_ship_01.alpha = 0, this.build_ship_02.alpha = 0, this.build_ship_03.alpha = 0, this.build_ship_04.alpha = 0, _w6m) { case 1: this.build_ship_00.alpha = 1, this.build_ship_01.alpha = 0, this.build_ship_02.alpha = 0, this.build_ship_03.alpha = 0, this.build_ship_04.alpha = 0; break; case 2: this.build_ship_00.alpha = 1, this.build_ship_01.alpha = 1, this.build_ship_02.alpha = 0, this.build_ship_03.alpha = 0, this.build_ship_04.alpha = 0; break; case 3: this.build_ship_00.alpha = 1, this.build_ship_01.alpha = 1, this.build_ship_02.alpha = 1, this.build_ship_03.alpha = 0, this.build_ship_04.alpha = 0; break; case 4: this.build_ship_00.alpha = 1, this.build_ship_01.alpha = 1, this.build_ship_02.alpha = 1, this.build_ship_03.alpha = 1, this.build_ship_04.alpha = 0; break; case 5: this.build_ship_00.alpha = 1, this.build_ship_01.alpha = 1, this.build_ship_02.alpha = 1, this.build_ship_03.alpha = 1, this.build_ship_04.alpha = 1; } }, _w6j.prototype.dispose = function() { var _w6o = null; this.build_ship_00 = null, this.build_ship_01 = null, this.build_ship_02 = null, this.build_ship_03 = null, this.build_ship_04 = null, this.removeChildren(); }, _w6j; }(PIXI.Container); _w5v.NormalBuildShip = _w6g; }, 84402: function(_w6p, _w6q, _w6r) { 'use strict'; var _w6s = null; var _w6t, _w6u = this && this.__extends || (_w6t = function(_w6v, _w6w) { var _w6x = null; return _w6t = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_w6y, _w6z) { var _w70 = null; _w6y.__proto__ = _w6z; } || function(_w71, _w72) { var _w73 = null; for (var _w74 in _w72) Object.prototype.hasOwnProperty.call(_w72, _w74) && (_w71[_w74] = _w72[_w74]); }, _w6t(_w6v, _w6w); }, function(_w75, _w76) { var _w77 = null; if ('function' != typeof _w76 && null !== _w76) throw new TypeError('Class extends value ' + String(_w76) + ' is not a constructor or null'); function _w78() { var _w79 = null; this.constructor = _w75; } _w6t(_w75, _w76), _w75.prototype = null === _w76 ? Object.create(_w76) : (_w78.prototype = _w76.prototype, new _w78()); }); defineModule(_w6q); Object.defineProperty(_w6q, '__esModule', { 'value': !0 }), _w6q.NormalBuildStage = void 0; var _w7a = _w6r(88566), _w7b = _w6r(31000), _w7c = function(_w7d) { var _w7e = null; function _w7f() { var _w7g = null, _w7h = _w7d.call(this) || this, _w7i = new PIXI.Sprite(_w7b.ARSENAL_MAIN.getTexture(45)); return _w7h.ship = new _w7a.NormalBuildShip(), _w7i.position.set(57, 82), _w7h.ship.position.set(69, 15), _w7h.addChild(_w7i), _w7h.addChild(_w7h.ship), _w7h; } return _w6u(_w7f, _w7d), _w7f.prototype.update = function(_w7j) { var _w7k = null; if (_w7j <= 0) this.ship.update(0); else { var _w7l = Math.floor(this.phaseMax * _w7j); 0 == _w7l && (_w7l = 1), this.ship.update(_w7l); } }, _w7f.prototype.updatePhaseMax = function(_w7m) { var _w7n = null; this.phaseMax = _w7m; }, _w7f.prototype.forceComplete = function() { var _w7o = null; this.ship.update(this.phaseMax); }, _w7f.prototype.dispose = function() { var _w7p = null; this.ship.dispose(), this.ship = null, this.phaseMax = null, this.removeChildren(); }, _w7f; }(PIXI.Container); _w6q.NormalBuildStage = _w7c; }, 89211: function(_w7q, _w7r, _w7s) { 'use strict'; var _w7t = null; var _w7u, _w7v = this && this.__extends || (_w7u = function(_w7w, _w7x) { var _w7y = null; return _w7u = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_w7z, _w80) { var _w81 = null; _w7z.__proto__ = _w80; } || function(_w82, _w83) { var _w84 = null; for (var _w85 in _w83) Object.prototype.hasOwnProperty.call(_w83, _w85) && (_w82[_w85] = _w83[_w85]); }, _w7u(_w7w, _w7x); }, function(_w86, _w87) { var _w88 = null; if ('function' != typeof _w87 && null !== _w87) throw new TypeError('Class extends value ' + String(_w87) + ' is not a constructor or null'); function _w89() { var _w8a = null; this.constructor = _w86; } _w7u(_w86, _w87), _w86.prototype = null === _w87 ? Object.create(_w87) : (_w89.prototype = _w87.prototype, new _w89()); }); defineModule(_w7r); Object.defineProperty(_w7r, '__esModule', { 'value': !0 }), _w7r.ScatterCircleParticle = void 0; var _w8b = _w7s(31000), _w8c = function(_w8d) { var _w8e = null; function _w8f() { var _w8g = null, _w8h = _w8d.call(this) || this; _w8h.animation = {}; var _w8i = _w8b.ARSENAL_ANIMATION.getTexture(3); _w8h.scatterCircles = new Array(); for (var _w8j = 0; _w8j < 40; _w8j++) { var _w8k = new _w8l(_w8i); _w8h.scatterCircles.push(_w8k), _w8h.addChild(_w8k); } return _w8h; } return _w7v(_w8f, _w8d), _w8f.prototype.play = function() { var _w8m = null, _w8n = this; createjs.Tween.removeTweens(this.animation); for (var _w8o = createjs.Tween.get(this.animation), _w8p = 0; _w8p < this.scatterCircles.length; _w8p++) { this.scatterCircles[_w8p].reset(); } return _w8o.call(function() { var _w8q = null; _w8o.removeAllEventListeners('change'), _w8o.addEventListener('change', function() { var _w8r = null; for (var _w8s = 0; _w8s < _w8n.scatterCircles.length; _w8s++) { _w8n.scatterCircles[_w8s].update(); } }); }).to({}, 5000).call(function() { var _w8t = null; _w8o.removeAllEventListeners('change'); }), _w8o.play(null), _w8o; }, _w8f; }(PIXI.Container); _w7r.ScatterCircleParticle = _w8c; var _w8l = function(_w8u) { var _w8v = null; function _w8w(_w8x) { var _w8y = null, _w8z = _w8u.call(this, _w8x) || this; return _w8z.updateCount = 0, _w8z; } return _w7v(_w8w, _w8u), _w8w.prototype.reset = function() { var _w90 = null, _w91 = 1.999 * Math.random() * Math.PI, _w92 = 0.2 * Math.random() + 0.8, _w93 = 30 * _w92 * Math.cos(_w91), _w94 = 30 * _w92 * Math.sin(_w91), _w95 = 15 * (0.2 * Math.random() + 0.8), _w96 = -1 * (0.2 * Math.random() + 0.8); this.updateCount = 0, this.vx = _w93, this.vy = _w94, this.x = 0, this.y = 0, this.scale.x = 1, this.scale.y = 1, this.alpha = 1, this.vScale = _w95, this.vAlpha = _w96; }, _w8w.prototype.update = function() { var _w97 = null; this.updateCount++, (this.x += this.vx * Math.exp(-0.05 * this.updateCount) * 1, this.y += 1 * (2 + this.vy * Math.exp(-0.05 * this.updateCount)), this.scale.x += this.vScale * Math.exp(-0.05 * this.updateCount) / 100 * 1, this.scale.y += this.vScale * Math.exp(-0.05 * this.updateCount) / 100 * 1, this.alpha += this.vAlpha * (1 - Math.exp(-0.05 * this.updateCount)) / 100 * 1); }, _w8w; }(PIXI.Sprite); }, 29270: function(_w98, _w99, _w9a) { 'use strict'; var _w9b = null; var _w9c, _w9d = this && this.__extends || (_w9c = function(_w9e, _w9f) { var _w9g = null; return _w9c = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_w9h, _w9i) { var _w9j = null; _w9h.__proto__ = _w9i; } || function(_w9k, _w9l) { var _w9m = null; for (var _w9n in _w9l) Object.prototype.hasOwnProperty.call(_w9l, _w9n) && (_w9k[_w9n] = _w9l[_w9n]); }, _w9c(_w9e, _w9f); }, function(_w9o, _w9p) { var _w9q = null; if ('function' != typeof _w9p && null !== _w9p) throw new TypeError('Class extends value ' + String(_w9p) + ' is not a constructor or null'); function _w9r() { var _w9s = null; this.constructor = _w9o; } _w9c(_w9o, _w9p), _w9o.prototype = null === _w9p ? Object.create(_w9p) : (_w9r.prototype = _w9p.prototype, new _w9r()); }); defineModule(_w99); Object.defineProperty(_w99, '__esModule', { 'value': !0 }), _w99.SelectButton = void 0; var _w9t = _w9a(31000), _w9u = _w9a(35380), _w9v = function(_w9w) { var _w9x = null; function _w9y() { var _w9z = null, _wa0 = _w9w.call(this) || this; _wa0.limitShip = !1, _wa0.limitSlot = !1, _wa0._onClick = function() { var _wa1 = null; 0 == (_wa0.limitShip || _wa0.limitSlot) && _wa0.onClick(); }, _wa0._onMouseOver = function() { var _wa2 = null; _wa0.popup.visible = !1, (_wa0.limitShip || _wa0.limitSlot) && (_wa0.popup.visible = !0); }, _wa0._onMouseOut = function() { var _wa3 = null; _wa0.popup.visible = !1; }, _wa0.popup = new PIXI.Sprite(), _wa0.buttonSprite = new PIXI.Sprite(_w9t.ARSENAL_MAIN.getTexture(41)), _wa0.popup.visible = !1; var _wa4 = Math.floor(100 - _wa0.buttonSprite.width / 2), _wa5 = Math.floor(50 - _wa0.buttonSprite.height / 2); return _wa0.area = new PIXI.Graphics(), _wa0.area.beginFill(0, 0), _wa0.area.drawRect(-_wa4, -_wa5, 200, 100), _wa0.area.endFill(), _wa0.area.interactive = _wa0.area.buttonMode = !0, _wa0.area.on(_w9u.EventType.CLICK, _wa0._onClick), _wa0.area.on(_w9u.EventType.MOUSEOVER, _wa0._onMouseOver), _wa0.area.on(_w9u.EventType.MOUSEOUT, _wa0._onMouseOut), _wa0.addChild(_wa0.area), _wa0.addChild(_wa0.buttonSprite), _wa0.addChild(_wa0.popup), _wa0; } return _w9d(_w9y, _w9w), _w9y.prototype.updateCondition = function(_wa6, _wa7) { var _wa8 = null; this.popup.visible = !1, _wa6 ? (this.popup.texture = _w9t.ARSENAL_MAIN.getTexture(2), this.popup.position.set(-61, -90)) : _wa7 && (this.popup.texture = _w9t.ARSENAL_MAIN.getTexture(68), this.popup.position.set(49, -33)), this.limitShip = _wa6, this.limitSlot = _wa7; }, _w9y.prototype.dispose = function() { var _wa9 = null; this.area.off(_w9u.EventType.CLICK), this.area.off(_w9u.EventType.MOUSEOVER), this.area.off(_w9u.EventType.MOUSEOUT), this.onClick = null, this.popup = null, this.buttonSprite = null, this.limitShip = null, this.limitSlot = null, this.area = null, this.removeChildren(); }, _w9y; }(PIXI.Container); _w99.SelectButton = _w9v; }, 72914: function(_waa, _wab, _wac) { 'use strict'; var _wad = null; var _wae, _waf = this && this.__extends || (_wae = function(_wag, _wah) { var _wai = null; return _wae = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_waj, _wak) { var _wal = null; _waj.__proto__ = _wak; } || function(_wam, _wan) { var _wao = null; for (var _wap in _wan) Object.prototype.hasOwnProperty.call(_wan, _wap) && (_wam[_wap] = _wan[_wap]); }, _wae(_wag, _wah); }, function(_waq, _war) { var _was = null; if ('function' != typeof _war && null !== _war) throw new TypeError('Class extends value ' + String(_war) + ' is not a constructor or null'); function _wat() { var _wau = null; this.constructor = _waq; } _wae(_waq, _war), _waq.prototype = null === _war ? Object.create(_war) : (_wat.prototype = _war.prototype, new _wat()); }), _wav = this && this.__importDefault || function(_waw) { var _wax = null; return _waw && _waw.__esModule ? _waw : { 'default': _waw }; }; defineModule(_wab); Object.defineProperty(_wab, '__esModule', { 'value': !0 }), _wab.ShipDisassemblyChoice = void 0; var _way = _wav(_wac(18622)), _waz = _wac(35380), _wb0 = _wac(15869), _wb1 = _wac(43712), _wb2 = _wac(43905), _wb3 = _wac(85636), _wb4 = _wac(8744), _wb5 = _wac(70723), _wb6 = _wac(90054), _wb7 = _wac(29075), _wb8 = _wac(31849), _wb9 = function(_wba) { var _wbb = null; function _wbc() { var _wbd = null, _wbe = _wba.call(this) || this; _wbe.ITEM_NUM = 10, _wbe._onClick = function(_wbf, _wbg) { var _wbh = null; _wbe.onClickShip(_wbf, _wbg); }; var _wbi = new PIXI.Sprite(_wb6.COMMON_MAIN.getTexture(13)); _wbi.interactive = !0, _wbe.addChild(_wbi); var _wbj = new PIXI.Sprite(_wb6.COMMON_MAIN.getTexture(40)); _wbe.listItems = new Array(), _wbj.position.set(45, 12), _wbe.addChild(_wbj); for (var _wbk = 0; _wbk < _wbe.ITEM_NUM; _wbk++) { var _wbl = new _wbm(), _wbn = new PIXI.Sprite(_wb6.COMMON_MAIN.getTexture(38)); _wbl.onClick = _wbe._onClick, _wbn.position.set(48, 46 * _wbk + 46 + 43), _wbl.position.set(0, 46 * _wbk + 46), _wbe.addChild(_wbn), _wbe.addChild(_wbl), _wbe.listItems.push(_wbl); } return _wbe; } return _waf(_wbc, _wba), _wbc.prototype.dispose = function() { var _wbo = null; for (var _wbp = 0; _wbp < this.listItems.length; _wbp++) this.listItems[_wbp].dispose(), this.listItems[_wbp] = null; this.listItems = null, this._onClick = this.onClickShip = null, this.removeChildren(); }, _wbc.prototype.update = function(_wbq) { var _wbr = null; for (var _wbs = 0; _wbs < this.listItems.length; _wbs++) { var _wbt = this.listItems[_wbs]; if (_wbt.visible = !1, _wbs < _wbq.length) { var _wbu = _wbq[_wbs], _wbv = _way.default.model.deck.isInDeck(_wbu.memID), _wbw = 0 == _wb8.Util.ShipDisassemblyValidation(_wbu.memID) ? 1 : 2; _wbt.update(_wbu.memID, _wbu.shipTypeName, _wbu.name, _wbu.level, _wbu.hpMax, _wbu.karyoku, _wbu.raisou, _wbu.taiku, _wbu.speed, _wbu.isLocked(), _wbu.hasLockedSlotitem(), _wbv, _wbw, _wbs), _wbt.visible = !0; } } }, _wbc.prototype.toggleCheckBox = function(_wbx) { var _wby = null; this.listItems[_wbx].toggleCheckBox(); }, _wbc; }(PIXI.Container); _wab.ShipDisassemblyChoice = _wb9; var _wbm = function(_wbz) { var _wc0 = null; function _wc1() { var _wc2 = null, _wc3 = _wbz.call(this) || this; _wc3._onClick = function() { var _wc4 = null; _wc3.onClick(_wc3.memShipId, _wc3.arrayIndex); }, _wc3._onMouseOver = function() { var _wc5 = null; _wc3.background.visible = !0, _wc3.textShipType.style.fill = _wc3.textName.style.fill = _wc3.textLevel.style.fill = _wc3.textTaikyu.style.fill = _wc3.textKaryoku.style.fill = _wc3.textRaiso.style.fill = _wc3.textTaiku.style.fill = 16777215; }, _wc3._onMouseOut = function() { var _wc6 = null; _wc3.background.visible = !1, _wc3.textLevel.style.fill = _wc3.mouseoutColor, _wc3.textShipType.style.fill = _wc3.textName.style.fill = _wc3.textTaikyu.style.fill = _wc3.textKaryoku.style.fill = _wc3.textRaiso.style.fill = _wc3.textTaiku.style.fill = 5523516; }, (_wc3.shipInDeckFlag = new _wb2.ShipInDeckFlag(), _wc3.textShipType = new _wb4.TextBox(18, 5523516), _wc3.textName = new _wb4.TextBox(20, 5523516), _wc3.textLevel = new _wb4.TextBox(22, 5523516), _wc3.textTaikyu = new _wb4.TextBox(18, 5523516), _wc3.textKaryoku = new _wb4.TextBox(18, 5523516), _wc3.textRaiso = new _wb4.TextBox(18, 5523516), _wc3.textTaiku = new _wb4.TextBox(18, 5523516), _wc3.iconLockedShip = new PIXI.Sprite(_wb7.ARSENAL_MAIN.getTexture(88)), _wc3.iconLockedItem = new PIXI.Sprite(_wb7.ARSENAL_MAIN.getTexture(80)), _wc3.shipSpeedImage = new _wb3.ShipSpeedImage(), _wc3.background = new PIXI.Sprite(_wb6.COMMON_MAIN.getTexture(18)), _wc3.clickArea = new PIXI.Graphics(), _wc3.containerShipTypeAndName = new PIXI.Container(), _wc3.iconCheckState = new PIXI.Sprite()); var _wc7 = Math.floor(22.5) + 1, _wc8 = _wb1.CreateRect.gradientLeftToRight(240, 45, 0.85, 0.9); return _wc3.shipInDeckFlag.scale.set(0.8, 0.8), _wc3.clickArea.beginFill(0, 0), _wc3.clickArea.drawRect(0, 0, 645, 45), _wc3.clickArea.endFill(), _wc3.clickArea.on(_waz.EventType.CLICK, _wc3._onClick), _wc3.clickArea.on(_waz.EventType.MOUSEOVER, _wc3._onMouseOver), _wc3.clickArea.on(_waz.EventType.MOUSEOUT, _wc3._onMouseOut), _wc3.clickArea.interactive = _wc3.clickArea.buttonMode = !0, _wc3.background.visible = !1, _wc3.iconCheckState.position.set(12, 12), _wc3.containerShipTypeAndName.position.set(79, 0), _wc3.textShipType.anchor.set(0, 0), _wc3.textShipType.position.set(0, Math.floor(_wc7 - _wc3.textShipType.height / 2)), _wc3.textName.anchor.set(0, 0), _wc3.textName.position.set(90, Math.floor(_wc7 - _wc3.textName.height / 2) + 0), _wc3.textLevel.position.set(336, Math.floor(_wc7 - _wc3.textLevel.height / 2)), _wc3.textTaikyu.position.set(393, Math.floor(_wc7 - _wc3.textTaikyu.height / 2)), _wc3.textKaryoku.position.set(439, Math.floor(_wc7 - _wc3.textKaryoku.height / 2)), _wc3.textRaiso.position.set(486, Math.floor(_wc7 - _wc3.textRaiso.height / 2)), _wc3.textTaiku.position.set(531, Math.floor(_wc7 - _wc3.textTaiku.height / 2)), _wc3.shipSpeedImage.position.set(540, _wc7), _wc3.iconLockedShip.position.set(591, Math.floor(_wc7 - _wc3.iconLockedShip.height / 2)), _wc3.iconLockedItem.position.set(591, Math.floor(_wc7 - _wc3.iconLockedItem.height / 2)), _wc3.shipInDeckFlag.position.set(47, _wc7), _wc3.background.position.set(75, 0), _wc3.background.scale.x = 1.05, _wc3.textLevel.anchor.set(1, 0), _wc3.textTaikyu.anchor.set(1, 0), _wc3.textKaryoku.anchor.set(1, 0), _wc3.textRaiso.anchor.set(1, 0), _wc3.textTaiku.anchor.set(1, 0), _wc3.shipSpeedImage.anchor.set(0, 0.5), _wc3.iconLockedShip.anchor.set(0, 0), _wc3.iconLockedItem.anchor.set(0, 0), _wc3.shipInDeckFlag.anchor.set(0, 0.5), _wc3.containerShipTypeAndName.mask = _wc8, _wc3.containerShipTypeAndName.addChild(_wc3.textShipType, _wc3.textName, _wc8), _wc3.addChild(_wc3.background, _wc3.iconCheckState, _wc3.shipInDeckFlag, _wc3.textLevel, _wc3.containerShipTypeAndName, _wc3.textLevel, _wc3.textTaikyu, _wc3.textKaryoku, _wc3.textRaiso, _wc3.textTaiku, _wc3.iconLockedShip, _wc3.iconLockedItem, _wc3.shipSpeedImage, _wc3.clickArea), _wc3; } return _waf(_wc1, _wbz), _wc1.prototype.dispose = function() { var _wc9 = null; this.removeChildren(), this.shipInDeckFlag.dispose(), this.containerShipTypeAndName.mask = null, this.containerShipTypeAndName.removeChildren(), this.shipSpeedImage.dispose(), this.clickArea.off(_waz.EventType.CLICK), this.clickArea.off(_waz.EventType.MOUSEOUT), this.clickArea.off(_waz.EventType.MOUSEOVER), this.clickArea.clear(), this.textShipType.destroy(), this.textName.destroy(), this.textLevel.destroy(), this.textTaikyu.destroy(), this.textKaryoku.destroy(), this.textRaiso.destroy(), this.textTaiku.destroy(), this.onClick = null, this.shipInDeckFlag = null, this.containerShipTypeAndName = null, this.iconLockedShip = null, this.iconLockedItem = null, this.shipSpeedImage = null, this.background = null, this.clickArea = null, this.textShipType = null, this.textName = null, this.textLevel = null, this.textTaikyu = null, this.textKaryoku = null, this.textRaiso = null, this.textTaiku = null, this.mouseoutColor = null, this.iconCheckState = null, this.checkState = null, this.arrayIndex = null; }, _wc1.prototype.update = function(_wca, _wcb, _wcc, _wcd, _wce, _wcf, _wcg, _wch, _wci, _wcj, _wck, _wcl, _wcm, _wcn) { var _wco = null; switch (void 0 === _wcl && (_wcl = null), this.arrayIndex = _wcn, this.memShipId = _wca, this.textShipType.text = _wcb + '\x20', this.textName.text = _wcc, this.textLevel.text = _wcd.toString(), this.textTaikyu.text = _wce.toString(), this.textKaryoku.text = _wcf.toString(), this.textRaiso.text = _wcg.toString(), this.textTaiku.text = _wch.toString(), this.shipSpeedImage.update(_wci), this.textName.position.x = this.textShipType.position.x + this.textShipType.width, this.iconLockedShip.visible = !1, this.iconLockedItem.visible = !1, _wcj ? this.iconLockedShip.visible = !0 : _wck && (this.iconLockedItem.visible = !0), _wcm) { case 1: this.iconCheckState.texture = _wb7.ARSENAL_MAIN.getTexture(12); break; case 2: this.iconCheckState.texture = _wb7.ARSENAL_MAIN.getTexture(13); break; case 3: this.iconCheckState.texture = _wb7.ARSENAL_MAIN.getTexture(14); } this.checkState = _wcm, this.textLevel.style.fill = this.mouseoutColor = _wb0.ColorUtil.getLevelColor(_wcd), this.shipInDeckFlag.visible = !1, _wcl && (this.shipInDeckFlag.update(_wcl), this.shipInDeckFlag.visible = !0); }, _wc1.prototype.toggleCheckBox = function() { var _wcp = null; switch (_wb5.SE.play('239'), this.checkState) { case 2: this.checkState = 3, this.iconCheckState.texture = _wb7.ARSENAL_MAIN.getTexture(14); break; case 3: this.checkState = 2, this.iconCheckState.texture = _wb7.ARSENAL_MAIN.getTexture(13); } }, _wc1; }(PIXI.Container); }, 56472: function(_wcq, _wcr, _wcs) { 'use strict'; var _wct = null; var _wcu, _wcv = this && this.__extends || (_wcu = function(_wcw, _wcx) { var _wcy = null; return _wcu = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_wcz, _wd0) { var _wd1 = null; _wcz.__proto__ = _wd0; } || function(_wd2, _wd3) { var _wd4 = null; for (var _wd5 in _wd3) Object.prototype.hasOwnProperty.call(_wd3, _wd5) && (_wd2[_wd5] = _wd3[_wd5]); }, _wcu(_wcw, _wcx); }, function(_wd6, _wd7) { var _wd8 = null; if ('function' != typeof _wd7 && null !== _wd7) throw new TypeError('Class extends value ' + String(_wd7) + ' is not a constructor or null'); function _wd9() { var _wda = null; this.constructor = _wd6; } _wcu(_wd6, _wd7), _wd6.prototype = null === _wd7 ? Object.create(_wd7) : (_wd9.prototype = _wd7.prototype, new _wd9()); }), _wdb = this && this.__importDefault || function(_wdc) { var _wdd = null; return _wdc && _wdc.__esModule ? _wdc : { 'default': _wdc }; }; defineModule(_wcr); Object.defineProperty(_wcr, '__esModule', { 'value': !0 }), _wcr.ShipDisassemblyConfirm = void 0; var _wde = _wdb(_wcs(18622)), _wdf = _wcs(35380), _wdg = _wcs(65065), _wdh = _wcs(37638), _wdi = _wcs(43182), _wdj = _wcs(8744), _wdk = _wcs(29075), _wdl = _wcs(28669), _wdm = _wcs(53733), _wdn = function(_wdo) { var _wdp = null; function _wdq() { var _wdr = null, _wds = _wdo.call(this) || this; _wds._onClickDisassembly = function() { var _wdt = null; _wds.onClickStart(_wds.checkedMemShipIdList, _wds.dissemblyType); }, _wds._onClickDisassemblyType = function() { var _wdu = null, _wdv, _wdw = _wds.typeContainer.getChildByName(_wdl.DisassemblyTypeName.KAITAI), _wdx = _wds.typeContainer.getChildByName(_wdl.DisassemblyTypeName.HOKAN), _wdy = _wds.typeContainer.getChildByName(_wdl.DisassemblyTypeName.BTN), _wdz = 0, _we0 = 0, _we1 = 150, _we2 = createjs.Ease.linear; switch (_wds.dissemblyType) { case 0: _wdz = 1, _wdv = _wdl.DisassemblyTypeMessage.KAITAI, _wds.dissemblyType = 1; break; case 1: _we0 = 1, _wdv = _wdl.DisassemblyTypeMessage.HOKAN, _wds.dissemblyType = 0; } createjs.Tween.get(_wdy).to({ 'x': _wdv.x }, _we1 + Math.floor(50), _we2).call(function() { var _we3 = null; _wds.textAlert.text = _wdv.text, _wds.textAlert.style.fill = _wdv.color, _wds._updateMaterialNumber(); }), createjs.Tween.get(_wdw).to({ 'alpha': _wdz }, _we1, _we2), createjs.Tween.get(_wdx).to({ 'alpha': _we0 }, _we1, _we2); }; var _we4 = new PIXI.Sprite(_wdk.ARSENAL_MAIN.getTexture(62)); _wds.interactive = !0, _wds.addChild(_we4); var _we5 = new PIXI.Sprite(_wdk.ARSENAL_MAIN.getTexture(63)); _we5.position.set(21, 32); var _we6 = function(_we7) { var _we8 = null, _we9 = null, _wea = _we7; if (0 === _we7) _we9 = _wdl.DisassemblyTypeMessage.HOKAN; else _wea = 1, _we9 = _wdl.DisassemblyTypeMessage.KAITAI; return { 'type': _wea, 'data': _we9 }; }(_wde.default.model.basic.getDestroyShipSlotType()), _web = _we6.data; _wds.dissemblyType = _we6.type, _wds.typeContainer = new PIXI.Container(), _wds.typeContainer.position.set(154, 30), _wds.typeContainer.buttonMode = !0, _wds.typeContainer.interactive = !0, _wds.typeContainer.on(_wdf.EventType.CLICK, _wds._onClickDisassemblyType); var _wec = new PIXI.Sprite(_wdk.ARSENAL_MAIN.getTexture(135)), _wed = new PIXI.Sprite(_wdk.ARSENAL_MAIN.getTexture(137)); _wed.position.set(50, 0), _wed.name = _wdl.DisassemblyTypeName.KAITAI, _wed.alpha = 1 === _we6.type ? 1 : 0; var _wee = new PIXI.Sprite(_wdk.ARSENAL_MAIN.getTexture(138)); _wee.position.set(65, 0), _wee.name = _wdl.DisassemblyTypeName.HOKAN, _wee.alpha = 0 === _we6.type ? 1 : 0; var _wef = new PIXI.Sprite(_wdk.ARSENAL_MAIN.getTexture(136)); _wef.position.set(_web.x, 2), _wef.name = _wdl.DisassemblyTypeName.BTN, _wds.typeContainer.addChild(_wec, _wed, _wee, _wef), _wds.textAlert = new _wdj.TextBox(15, _web.color); var _weg = new PIXI.Sprite(_wdk.ARSENAL_MAIN.getTexture(29)); _wds.buttonDisassembly = new _wdi.SimpleButton(_wdk.ARSENAL_MAIN.getTexture(28), _wdk.ARSENAL_MAIN.getTexture(30)); var _weh = new _wdg.DisableDownArrowAnimationView(); return _wds.downArrowAnimationView = new _wdg.DownArrowAnimationView(), _wds._shipBanner = new _wdh.ShipBanner(), _wds.disassemblyMaterialItems = new Array(), _wds.multiDisassemblyIcon = new PIXI.Sprite(_wdk.ARSENAL_MAIN.getTexture(77)), _wds.disassemblyMaterialItems.push(new _wdm.DisassemblyMaterialItem()), _wds.disassemblyMaterialItems.push(new _wdm.DisassemblyMaterialItem()), _wds.disassemblyMaterialItems.push(new _wdm.DisassemblyMaterialItem()), _wds.disassemblyMaterialItems.push(new _wdm.DisassemblyMaterialItem()), _wds.disassemblyMaterialItems[0].position.set(15, 84), _wds.disassemblyMaterialItems[1].position.set(15, 139), _wds.disassemblyMaterialItems[2].position.set(15, 195), _wds.disassemblyMaterialItems[3].position.set(15, 250), _wds.textAlert.text = _web.text, _wds.textAlert.position.set(24, 63), _weh.position.set(127, 450), _wds.downArrowAnimationView.position.set(127, 450), _weg.position.set(28, 496), _wds.buttonDisassembly.position.set(28, 496), _wds.buttonDisassembly.on(_wdf.EventType.CLICK, _wds._onClickDisassembly), _wds._shipBanner.position.set(21, 345), _wds.multiDisassemblyIcon.position.set(60, 302), _wds.container = new PIXI.Container(), _wds.container.name = 'container', _wds.container.addChild(_wds.typeContainer, _wds.disassemblyMaterialItems[0], _wds.disassemblyMaterialItems[1], _wds.disassemblyMaterialItems[2], _wds.disassemblyMaterialItems[3], _wds.textAlert, _wds.shipBanner, _wds.multiDisassemblyIcon, _weg, _weh, _wds.downArrowAnimationView, _wds.buttonDisassembly), _wds.addChild(_we5, _wds.container), _wds.visibleContainer(!1), _wds.checkedMemShipIdList = [], _wds; } return _wcv(_wdq, _wdo), Object.defineProperty(_wdq.prototype, 'shipBanner', { 'get': function() { var _wei = null; return this._shipBanner; }, 'enumerable': !1, 'configurable': !0 }), _wdq.prototype.dispose = function() { var _wej = null; this.removeChildren(), this.container.removeChildren(), this.typeContainer.off(_wdf.EventType.CLICK, this._onClickDisassemblyType), this.typeContainer.removeChildren(); for (var _wek = 0; _wek < this.disassemblyMaterialItems.length; _wek++) this.disassemblyMaterialItems[_wek].dispose(), this.disassemblyMaterialItems[_wek] = null; this._shipBanner.dispose(), this.buttonDisassembly.dispose(), this.downArrowAnimationView.dispose(), this.textAlert.destroy(), this.disassemblyMaterialItems = null, this._shipBanner = null, this.buttonDisassembly = null, this.downArrowAnimationView = null, this.onClickStart = null, this.multiDisassemblyIcon = null, this.checkedMemShipIdList = null, this.dissemblyType = null, this.typeContainer = null, this.container = null; }, _wdq.prototype.visibleContainer = function(_wel) { var _wem = null; this.getChildByName('container').visible = _wel; }, _wdq.prototype.update = function(_wen, _weo, _wep, _weq) { var _wer = null; switch (this.memShipId = _wen.memID, _weq.length) { case 0: this.container.visible = !1; break; case 1: this.container.visible = !0, this.multiDisassemblyIcon.visible = !1; var _wes = _wde.default.model.ship.get(_weq[0]); this._shipBanner.update(_wes, _weo), this._shipBanner.visible = !0, this.buttonDisassembly.visible = _wep, this.downArrowAnimationView.visible = _wep; break; default: this.container.visible = !0, this._shipBanner.visible = !1, this.multiDisassemblyIcon.visible = !0, this.buttonDisassembly.visible = _wep, this.downArrowAnimationView.visible = _wep; } this.checkedMemShipIdList = _weq, this._updateMaterialNumber(); }, _wdq.prototype._updateMaterialNumber = function() { var _wet = null; for (var _weu = { 'fuel': 0, 'ammo': 0, 'steel': 0, 'baux': 0 }, _wev = 0, _wew = this.checkedMemShipIdList.length; _wev < _wew; _wev++) { var _wex = _wde.default.model.ship.get(this.checkedMemShipIdList[_wev]).getMaterialForBroken(this.dissemblyType); _weu.fuel += _wex.fuel, _weu.ammo += _wex.ammo, _weu.steel += _wex.steel, _weu.baux += _wex.baux; } for (var _wey = 0, _wez = this.disassemblyMaterialItems.length; _wey < _wez; _wey++) this.disassemblyMaterialItems[_wey].visible = !1; var _wf0, _wf1 = 0; _weu.fuel > 0 && ((_wf0 = this.disassemblyMaterialItems[_wf1]).update(31, _weu.fuel), _wf0.visible = !0, _wf1++), _weu.ammo > 0 && ((_wf0 = this.disassemblyMaterialItems[_wf1]).update(32, _weu.ammo), _wf0.visible = !0, _wf1++), _weu.steel > 0 && ((_wf0 = this.disassemblyMaterialItems[_wf1]).update(33, _weu.steel), _wf0.visible = !0, _wf1++), _weu.baux > 0 && ((_wf0 = this.disassemblyMaterialItems[_wf1]).update(34, _weu.baux), _wf0.visible = !0); }, _wdq; }(PIXI.Container); _wcr.ShipDisassemblyConfirm = _wdn; }, 58423: function(_wf2, _wf3, _wf4) { 'use strict'; var _wf5 = null; var _wf6, _wf7 = this && this.__extends || (_wf6 = function(_wf8, _wf9) { var _wfa = null; return _wf6 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_wfb, _wfc) { var _wfd = null; _wfb.__proto__ = _wfc; } || function(_wfe, _wff) { var _wfg = null; for (var _wfh in _wff) Object.prototype.hasOwnProperty.call(_wff, _wfh) && (_wfe[_wfh] = _wff[_wfh]); }, _wf6(_wf8, _wf9); }, function(_wfi, _wfj) { var _wfk = null; if ('function' != typeof _wfj && null !== _wfj) throw new TypeError('Class extends value ' + String(_wfj) + ' is not a constructor or null'); function _wfl() { var _wfm = null; this.constructor = _wfi; } _wf6(_wfi, _wfj), _wfi.prototype = null === _wfj ? Object.create(_wfj) : (_wfl.prototype = _wfj.prototype, new _wfl()); }), _wfn = this && this.__importDefault || function(_wfo) { var _wfp = null; return _wfo && _wfo.__esModule ? _wfo : { 'default': _wfo }; }; defineModule(_wf3); Object.defineProperty(_wf3, '__esModule', { 'value': !0 }), _wf3.ShipDisassemblyContainer = void 0; var _wfq = _wfn(_wf4(21359)), _wfr = _wfn(_wf4(18622)), _wfs = _wf4(35380), _wft = _wf4(83415), _wfu = _wf4(18343), _wfv = _wf4(79899), _wfw = _wf4(1893), _wfx = _wf4(20843), _wfy = _wf4(48205), _wfz = _wf4(70723), _wg0 = _wf4(90054), _wg1 = _wf4(29075), _wg2 = _wf4(73760), _wg3 = _wf4(31849), _wg4 = _wf4(72914), _wg5 = _wf4(56472), _wg6 = _wf4(55842), _wg7 = _wf4(33639), _wg8 = _wf4(16677), _wg9 = function(_wga) { var _wgb = null; function _wgc(_wgd) { var _wge = null, _wgf = _wga.call(this) || this; return _wgf._pageIndex = 0, _wgf.animation = { 'progress': 0 }, _wgf._onClickShip = function(_wgg, _wgh) { var _wgi = null, _wgj = _wfr.default.model.ship.get(_wgg), _wgk = _wg3.Util.ShipDisassemblyValidation(_wgg); if (0 == _wgk) return _wgg == _wgf.memShipId || _wgf.checkedMemShipIdList.length > 0 || (_wgf.shipDisassemblyConfirm.update(_wgj, !1, _wgk, [_wgg]), _wgf.shipDisassemblyConfirm.visibleContainer(!0), _wgf.memShipId = _wgg), !1; var _wgl = _wgf.checkedMemShipIdList.indexOf(_wgg); _wgl < 0 ? _wgf.checkedMemShipIdList.push(_wgg) : _wgf.checkedMemShipIdList.splice(_wgl, 1), _wgf.shipDisassemblyChoice.toggleCheckBox(_wgh); var _wgm = _wfr.default.model.deck.isInDeck(_wgg), _wgn = !!_wgm && null != _wfr.default.model.deck.get(_wgm[0]).expedition; _wgf.shipDisassemblyConfirm.update(_wgj, _wgn, _wgk, _wgf.checkedMemShipIdList), _wgf.memShipId = _wgg; }, _wgf._onChangePage = function(_wgo) { var _wgp = null; if (_wgf._pageIndex != _wgo) { _wgf.memShipId = null; var _wgq = _wgf._getShipsInPage(_wgf.ships, _wgo); _wgf.shipDisassemblyChoice.update(_wgq), _wgf.shipDisassemblyConfirm.visibleContainer(!1), _wgf._pageIndex = _wgo, _wgf.checkedMemShipIdList = []; } }, _wgf._onWheel = function(_wgr) { var _wgs = null; if (0 != _wgr.delta) { var _wgt = _wgf._getPage(_wgf.ships.length), _wgu = _wgr.delta > 0 ? _wgf._pageIndex + 1 : _wgf._pageIndex - 1; _wgu < 0 || _wgu + 1 > _wgt || (_wgr.enabledGuard(), _wgf._onChangePage(_wgu), _wgf.pagerView.changePage(_wgu)); } }, _wgf._onClickDisassembly = function(_wgv, _wgw) { var _wgx = null, _wgy = new _wg6.DestroyShipAPI(_wgv, _wgw), _wgz = _wgf.shipDisassemblyConfirm.shipBanner; _wgf.disassemblyAnimation = new _wg7.DisassemblyAnimation(240, 60), _wgf.disassemblyAnimation.position.set(_wgz.x, _wgz.y), _wg8.WheelEventUtil.clear(), _wfr.default.view.clickGuard = !0, _wgy.start(function() { var _wh0 = null, _wh1 = new PIXI.Graphics(); _wh1.beginFill(0, 0.2), _wh1.drawRect(0, 0, _wfq.default.width, _wfq.default.height), _wh1.endFill(), _wfr.default.view.overLayer.addChild(_wh1), _wgz.parent.addChild(_wgf.disassemblyAnimation); var _wh2 = function() { var _wh3 = null; _wfz.SE.play('201'); }; createjs.Tween.get(_wgz).call(function() { var _wh4 = null; _wh2(), _wgf.disassemblyAnimation.play(5); }).to({ 'alpha': 0.33 }, 1000).call(_wh2).to({ 'alpha': 0.66 }, 1000).call(_wh2).to({ 'alpha': 1 }, 1000).call(function() { var _wh5 = null; _wh1.clear(), _wfr.default.view.overLayer.removeChild(_wh1), _wgz.parent.removeChild(_wgf.disassemblyAnimation), _wgf.disassemblyAnimation.dispose(), _wgf.disassemblyAnimation = null, _wgz.alpha = 1; var _wh6 = _wfr.default.model.ship.getAll(); _wfu.ShipUtil.sort(_wh6, _wgf.shipSortKeyType); var _wh7 = _wgf._getPage(_wh6.length), _wh8 = _wgf._pageIndex; _wh7 <= _wgf._pageIndex && (_wh8 = _wh7 - 1) < 0 && (_wh8 = 0); var _wh9 = _wgf._getShipsInPage(_wh6, _wh8); _wgf.pagerView.init(_wh7), _wgf.pagerView.changePage(_wh8), _wgf.ships = _wh6, _wgf._pageIndex = _wh8, _wgf.shipDisassemblyChoice.update(_wh9), _wgf.shipDisassemblyConfirm.visibleContainer(!1), _wgf.checkedMemShipIdList = [], _wfr.default.view.portMain.updateInfo(), _wfr.default.view.clickGuard = !1, _wg8.WheelEventUtil.regist(_wgf._onWheel); }).play(null); }); }, _wgf._onClickBackground = function() { var _wha = null; _wgf.onComplete(); }, _wgf._onClickSort = function() { var _whb = null, _whc; switch (_wgf.memShipId = null, _wgf.checkedMemShipIdList = [], _wgf.shipDisassemblyConfirm.visibleContainer(!1), _wgf.shipSortKeyType) { case 0: _whc = 2; break; case 2: _whc = 3; break; case 3: _whc = 4; break; case 4: _whc = 0; } _wfu.ShipUtil.sort(_wgf.ships, _whc); var _whd = _wgf._getShipsInPage(_wgf.ships, _wgf._pageIndex); _wgf.shipDisassemblyChoice.update(_whd), _wgf.shipSortButton.update(_whc), _wg2.ArsenalSceneMemory.shipSortKeyType = _wgf.shipSortKeyType = _whc; }, _wgf.mainView = _wgd, _wgf.list_tit_bg_0 = new PIXI.Sprite(_wg0.COMMON_MAIN.getTexture(67)), _wgf.list_tit_bg_1 = new PIXI.Sprite(_wg0.COMMON_MAIN.getTexture(67)), _wgf.shipSortButton = new _wfx.ShipSortButton(), _wgf.shipSortButton.position.set(582, 7), _wgf.shipSortButton.onClick = _wgf._onClickSort, _wgf.pagerView = new _wfw.PagerView(), _wgf.pagerView.position.set(42, 529), _wgf.pagerView.onChangePage = _wgf._onChangePage, _wgf.shipDisassemblyChoice = new _wg4.ShipDisassemblyChoice(), _wgf.shipDisassemblyChoice.onClickShip = _wgf._onClickShip, _wgf.shipDisassemblyChoice.addChild(_wgf.shipSortButton), _wgf.shipDisassemblyChoice.addChild(_wgf.pagerView), _wgf.shipDisassemblyConfirm = new _wg5.ShipDisassemblyConfirm(), _wgf.shipDisassemblyConfirm.position.set(651, -16), _wgf.shipDisassemblyConfirm.onClickStart = _wgf._onClickDisassembly, _wgf.blue_txt_01 = new PIXI.Sprite(_wg0.COMMON_MAIN.getTexture(1)), _wgf.blue_txt_01.anchor.set(0, 0.5), _wgf.blue_txt_01.position.set(22, _wgf.list_tit_bg_0.height / 2 - 4), _wgf.blue_txt_11 = new PIXI.Sprite(_wg1.ARSENAL_MAIN.getTexture(9)), _wgf.blue_txt_11.anchor.set(0, 0.5), _wgf.blue_txt_11.position.set(22, _wgf.list_tit_bg_0.height / 2 - 4), _wgf.list_tit_bg_0.position.set(0, -37), _wgf.list_tit_bg_1.position.set(654, -37), _wgf.list_tit_bg_0.addChild(_wgf.blue_txt_01), _wgf.list_tit_bg_1.addChild(_wgf.blue_txt_11), _wgf.addChild(_wgf.shipDisassemblyChoice), _wgf.addChild(_wgf.shipDisassemblyConfirm), _wgf.addChild(_wgf.list_tit_bg_0, _wgf.list_tit_bg_1), _wgf.position.set(1200, 139), (_wgf.dialogBackground = new _wfv.AreaBox(_wft.UISettings.DIALOG_BG_ALPHA), _wgf.dialogBackground.alpha = 0, _wgf.dialogBackground.position.set(0, 103), _wgf.dialogBackground.height = _wfq.default.height - 103, _wgf.mainView.addChild(_wgf.dialogBackground), _wgf.mainView.addChild(_wgf), _wgf.checkedMemShipIdList = [], _wgf.dialogBackground.on(_wfs.EventType.CLICK, _wgf._onClickBackground), _wgf); } return _wf7(_wgc, _wga), Object.defineProperty(_wgc.prototype, 'useShipSortKeyType', { 'get': function() { var _whe = null; return this.shipSortKeyType; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_wgc.prototype, 'pageIndex', { 'get': function() { var _whf = null; return this._pageIndex; }, 'enumerable': !1, 'configurable': !0 }), _wgc.prototype.start = function(_whg, _whh) { var _whi = null, _whj = this; _wfr.default.view.clickGuard = !0; var _whk = _wfr.default.model.ship.getAll(); _wfu.ShipUtil.sort(_whk, _whg); var _whl = this._getShipsInPage(_whk, _whh), _whm = this._getPage(_whk.length); this.pagerView.init(_whm), this.shipSortButton.update(_whg), this.shipSortKeyType = _whg, this._pageIndex = _whh, this.pagerView.changePage(_whh), this.ships = _whk, this.shipDisassemblyChoice.update(_whl), this.animation.progress = 0, this.x = 1200; var _whn = function() { var _who = null; _whj.x = 1200 - 945 * _whj.animation.progress, _whj.dialogBackground.alpha = _whj.animation.progress; }; createjs.Tween.removeTweens(this.animation); var _whp = createjs.Tween.get(this.animation); _whp.call(function() { var _whq = null; _whj.position.x = 1200, _whp.addEventListener('change', _whn); }).to({ 'progress': 1 }, 200).call(function() { var _whr = null; _whp.removeAllEventListeners('change'), createjs.Tween.removeTweens(_whp.target), _whj.animation.progress = 1, _whn(), _whj.dialogBackground.width = 288, _wfr.default.view.clickGuard = !1, _wg8.WheelEventUtil.regist(_whj._onWheel); }); }, _wgc.prototype.hide = function(_whs) { var _wht = null, _whu = this; _wfy.TaskLoadShipResource.abortBy(this.shipDisassemblyConfirm.shipBanner), this.dialogBackground.width = _wfq.default.width, _wfr.default.view.clickGuard = !0, this.animation.progress = 0; var _whv = function() { var _whw = null; _whu.x = 255 + 945 * _whu.animation.progress, _whu.dialogBackground.alpha = 1 - _whu.animation.progress; }; createjs.Tween.removeTweens(this.animation); var _whx = createjs.Tween.get(this.animation); _whx.call(function() { var _why = null; _whx.addEventListener('change', _whv); }).to({ 'progress': 1 }, 200).call(function() { var _whz = null; _whx.removeAllEventListeners('change'), createjs.Tween.removeTweens(_whx.target), _whu.animation.progress = 1, _whv(), _wfr.default.view.clickGuard = !1, _whs(); }), _whx.play(null); }, _wgc.prototype.dispose = function() { var _wi0 = null; if (this.dialogBackground.off(_wfs.EventType.CLICK, this._onClickBackground), this.removeChildren(), createjs.Tween.removeTweens(this.animation), this.mainView.removeChild(this.dialogBackground), this.mainView.removeChild(this), this.list_tit_bg_0.removeChild(this.blue_txt_01), this.list_tit_bg_1.removeChild(this.blue_txt_11), this.shipDisassemblyChoice.dispose(), this.shipDisassemblyConfirm.dispose(), this.pagerView.dispose(), this.shipSortButton.dispose(), this.disassemblyAnimation && this.disassemblyAnimation.dispose(), this.ships) { for (var _wi1 = 0; _wi1 < this.ships.length; _wi1++) this.ships[_wi1] = null; } this.onComplete = null, this.ships = null, this.shipSortKeyType = null, this._pageIndex = null, this.mainView = null, this.dialogBackground = null, this.shipDisassemblyChoice = null, this.shipDisassemblyConfirm = null, this.disassemblyAnimation = null, this.pagerView = null, this.shipSortButton = null, this.memShipId = null, this.checkedMemShipIdList = null, this.list_tit_bg_0 = null, this.list_tit_bg_1 = null, this.blue_txt_01 = null, this.blue_txt_11 = null, this.animation = null, _wg8.WheelEventUtil.clear(); }, _wgc.prototype._getShipsInPage = function(_wi2, _wi3) { var _wi4 = null, _wi5 = this.shipDisassemblyChoice.ITEM_NUM; return _wi2.slice(_wi3 * _wi5, _wi3 * _wi5 + _wi5); }, _wgc.prototype._getPage = function(_wi6) { var _wi7 = null, _wi8 = this.shipDisassemblyChoice.ITEM_NUM; return Math.ceil(_wi6 / _wi8); }, _wgc; }(PIXI.Container); _wf3.ShipDisassemblyContainer = _wg9; }, 56968: function(_wi9, _wia, _wib) { 'use strict'; var _wic = null; var _wid, _wie = this && this.__extends || (_wid = function(_wif, _wig) { var _wih = null; return _wid = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_wii, _wij) { var _wik = null; _wii.__proto__ = _wij; } || function(_wil, _wim) { var _win = null; for (var _wio in _wim) Object.prototype.hasOwnProperty.call(_wim, _wio) && (_wil[_wio] = _wim[_wio]); }, _wid(_wif, _wig); }, function(_wip, _wiq) { var _wir = null; if ('function' != typeof _wiq && null !== _wiq) throw new TypeError('Class extends value ' + String(_wiq) + ' is not a constructor or null'); function _wis() { var _wit = null; this.constructor = _wip; } _wid(_wip, _wiq), _wip.prototype = null === _wiq ? Object.create(_wiq) : (_wis.prototype = _wiq.prototype, new _wis()); }); defineModule(_wia); Object.defineProperty(_wia, '__esModule', { 'value': !0 }), _wia.ShopButton = void 0; var _wiu = _wib(31000), _wiv = _wib(35380), _wiw = function(_wix) { var _wiy = null; function _wiz() { var _wj0 = null, _wj1 = _wix.call(this) || this; _wj1.animation = { 'light': 0 }, _wj1._onClick = function() { var _wj2 = null; _wj1.onClick(); }, _wj1._onMouseOver = function() { var _wj3 = null; _wj1.stop(), _wj1.texture = _wj1.textureHover, _wj1.popup.visible = !0; }, _wj1._onMouseOut = function() { var _wj4 = null; _wj1.play(), _wj1.popup.visible = !1; }; var _wj5 = _wiu.ARSENAL_MAIN.getTexture(75), _wj6 = _wiu.ARSENAL_MAIN.getTexture(76); return _wj1.popup = new PIXI.Sprite(_wiu.ARSENAL_MAIN.getTexture(67)), _wj1.tween = createjs.Tween.get(_wj1.animation), _wj1.popup.position.set(-346, -37), _wj1.popup.visible = !1, _wj1.tween.to({ 'light': 0 }), _wj1.tween.to({ 'light': 1 }, 300), _wj1.tween.to({ 'light': 0 }, 300), _wj1.tween.loop = !0, _wj1.tween.addEventListener('change', function() { var _wj7 = null; 0.5 <= _wj1.animation.light ? _wj1.texture = _wj1.textureDefault : _wj1.texture = _wj1.textureHover; }), _wj1.addChild(_wj1.popup), _wj1.textureDefault = _wj5, _wj1.textureHover = _wj6, _wj1.on(_wiv.EventType.CLICK, _wj1._onClick), _wj1.on(_wiv.EventType.MOUSEOVER, _wj1._onMouseOver), _wj1.on(_wiv.EventType.MOUSEOUT, _wj1._onMouseOut), _wj1.interactive = _wj1.buttonMode = !0, _wj1; } return _wie(_wiz, _wix), _wiz.prototype.play = function() { var _wj8 = null; this.tween.setPosition(0, createjs.Tween.LOOP), this.tween.setPaused(!1); }, _wiz.prototype.stop = function() { var _wj9 = null; this.tween.setPaused(!0); }, _wiz.prototype.dispose = function() { var _wja = null; this.removeChildren(), createjs.Tween.removeTweens(this.tween.target), this.onClick = null, this.popup = null, this.textureDefault = null, this.textureHover = null, this.animation = null, this.tween = null; }, _wiz; }(PIXI.Sprite); _wia.ShopButton = _wiw; }, 43791: function(_wjb, _wjc, _wjd) { 'use strict'; var _wje = null; var _wjf, _wjg = this && this.__extends || (_wjf = function(_wjh, _wji) { var _wjj = null; return _wjf = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_wjk, _wjl) { var _wjm = null; _wjk.__proto__ = _wjl; } || function(_wjn, _wjo) { var _wjp = null; for (var _wjq in _wjo) Object.prototype.hasOwnProperty.call(_wjo, _wjq) && (_wjn[_wjq] = _wjo[_wjq]); }, _wjf(_wjh, _wji); }, function(_wjr, _wjs) { var _wjt = null; if ('function' != typeof _wjs && null !== _wjs) throw new TypeError('Class extends value ' + String(_wjs) + ' is not a constructor or null'); function _wju() { var _wjv = null; this.constructor = _wjr; } _wjf(_wjr, _wjs), _wjr.prototype = null === _wjs ? Object.create(_wjs) : (_wju.prototype = _wjs.prototype, new _wju()); }), _wjw = this && this.__importDefault || function(_wjx) { var _wjy = null; return _wjx && _wjx.__esModule ? _wjx : { 'default': _wjx }; }; defineModule(_wjc); Object.defineProperty(_wjc, '__esModule', { 'value': !0 }), _wjc.SlotDisassemblyChoice = void 0; var _wjz, _wk0 = _wjw(_wjd(18622)), _wk1 = _wjd(35380), _wk2 = _wjd(24117), _wk3 = _wjd(72778), _wk4 = _wjd(85937), _wk5 = _wjd(6218), _wk6 = _wjd(97638), _wk7 = _wjd(8744), _wk8 = _wjd(90054), _wk9 = _wjd(29075), _wka = function(_wkb) { var _wkc = null; function _wkd() { var _wke = null, _wkf = _wkb.call(this) || this; _wkf.ITEM_NUM = 10, _wkf._onClick = function(_wkg) { var _wkh = null; _wkf.onClickSlot(_wkg); }; var _wki = new PIXI.Sprite(_wk8.COMMON_MAIN.getTexture(14)); _wki.interactive = !0, _wkf.addChild(_wki); var _wkj = new PIXI.Sprite(_wk8.COMMON_MAIN.getTexture(36)); _wkf.iconEmpty = new PIXI.Sprite(_wk9.ARSENAL_MAIN.getTexture(140)), _wkf.listItems = new Array(), _wkj.position.set(90, 12), _wkf.addChild(_wkf.iconEmpty, _wkj), (_wkf.iconEmpty.position.set(93, 58), _wkf.iconEmpty.visible = !1); for (var _wkk = 0; _wkk < _wkf.ITEM_NUM; _wkk++) { var _wkl = new _wkm(), _wkn = new PIXI.Sprite(_wk8.COMMON_MAIN.getTexture(38)); _wkl.onClick = _wkf._onClick, _wkn.position.set(48, 43 + 46 * _wkk + 43), _wkl.position.set(0, 43 + 46 * _wkk), _wkf.addChild(_wkn), _wkf.addChild(_wkl), _wkf.listItems.push(_wkl); } return _wkf; } return _wjg(_wkd, _wkb), _wkd.prototype.dispose = function() { var _wko = null; for (var _wkp = 0; _wkp < this.listItems.length; _wkp++) this.listItems[_wkp].dispose(), this.listItems[_wkp] = null; this.listItems = null, this.iconEmpty = null, this.onClickSlot = null, this.removeChildren(); }, _wkd.prototype.update = function(_wkq, _wkr) { var _wks = null; for (var _wkt = 0; _wkt < this.listItems.length; _wkt++) { var _wku = this.listItems[_wkt]; if (_wku.visible = !1, !(_wkt >= _wkq.length)) { var _wkv = _wkq[_wkt], _wkw = _wk0.default.model.slot.getMst(_wkv.mstID), _wkx = _wk3.SlotUtil.genSummaryText(_wkv, '+', '/', !0), _wky = _wjz.DISABLE; _wky = _wkv.isLocked() ? _wjz.DISABLE : _wkr.indexOf(_wkv.memID) > -1 ? _wjz.ON : _wjz.OFF, _wku.update(_wkv.memID, _wkv.iconType, _wkv.name, _wkv.skillLevel, _wkv.level, _wkw.rarity, _wkx, _wkv.isLocked(), _wky), _wku.visible = !0; } } this.iconEmpty.visible = !1, 0 == _wkq.length && (this.iconEmpty.visible = !0); }, _wkd; }(PIXI.Container); _wjc.SlotDisassemblyChoice = _wka, function(_wkz) { var _wl0 = null; _wkz[_wkz.DISABLE = 0] = 'DISABLE', _wkz[_wkz.OFF = 1] = 'OFF', _wkz[_wkz.ON = 2] = 'ON'; }(_wjz || (_wjz = {})); var _wkm = function(_wl1) { var _wl2 = null; function _wl3() { var _wl4 = null, _wl5 = _wl1.call(this) || this; _wl5._onClick = function() { var _wl6 = null; _wl5.onClick(_wl5.memSlotId); }, _wl5._onMouseOver = function() { var _wl7 = null; _wl5.background.visible = !0, _wl5.textRarity.style.fill = _wl5.textSummary.style.fill = _wl5.textName.style.fill = 16777215, _wl5.maskName.texture = _wk8.COMMON_MAIN.getTexture(17), _wl5.maskSummary.texture = _wk8.COMMON_MAIN.getTexture(17); }, _wl5._onMouseOut = function() { var _wl8 = null; _wl5.background.visible = !1, _wl5.textRarity.style.fill = _wl5.textSummary.style.fill = _wl5.textName.style.fill = 5523516, _wl5.maskName.texture = _wk8.COMMON_MAIN.getTexture(39), _wl5.maskSummary.texture = _wk8.COMMON_MAIN.getTexture(39); }, _wl5.background = new PIXI.Sprite(_wk8.COMMON_MAIN.getTexture(18)), _wl5.clickArea = new PIXI.Graphics(), _wl5.iconCheckState = new PIXI.Sprite(_wk9.ARSENAL_MAIN.getTexture(12)), _wl5.iconWeapon = new _wk5.IconWeapon(), _wl5.airPlaneLevel = new _wk4.AirPlaneLevel(), _wl5.textRarity = new _wk7.TextBox(21, 5523516), _wl5.textSummary = new _wk7.TextBox(21, 5523516), _wl5.textName = new _wk7.TextBox(21, 5523516), _wl5.slotItemLevel = new _wk6.SlotItemLevel(), _wl5.maskName = new PIXI.Sprite(_wk8.COMMON_MAIN.getTexture(39)), _wl5.maskSummary = new PIXI.Sprite(_wk8.COMMON_MAIN.getTexture(39)), _wl5.iconLock = new PIXI.Sprite(_wk9.ARSENAL_MAIN.getTexture(80)), _wl5.maskName.anchor.set(1, 0), _wl5.maskName.position.set(360, 0), _wl5.maskSummary.anchor.set(1, 0), _wl5.maskSummary.position.set(700, 0), _wl5.iconCheckState.position.set(15, 24), _wl5.iconCheckState.anchor.set(0, 0.5), _wl5.airPlaneLevel.position.set(270, 3), _wl5.textRarity.anchor.x = 0, _wl5.slotItemLevel.position.set(307, 15), _wl5.iconWeapon.position.set(45, 0), _wl5.iconLock.position.set(618, 0), _wl5.background.position.set(90, 0), _wl5.background.scale.x = 1.22, _wl5.background.visible = !1, _wl5.clickArea.beginFill(0, 0), _wl5.clickArea.drawRect(0, 0, 645, 45), _wl5.clickArea.endFill(), _wl5.clickArea.on(_wk1.EventType.CLICK, _wl5._onClick), _wl5.clickArea.on(_wk1.EventType.MOUSEOVER, _wl5._onMouseOver), _wl5.clickArea.on(_wk1.EventType.MOUSEOUT, _wl5._onMouseOut), _wl5.clickArea.interactive = _wl5.clickArea.buttonMode = !0, _wl5.containerSummary = new PIXI.Container(), _wl5.containerName = new PIXI.Container(), _wl5.containerSummary.position.set(450, 10), _wl5.containerName.position.set(96, 10); var _wl9 = new PIXI.Graphics(); _wl9.beginFill(0, 0), _wl9.drawRect(0, 0, 245, 45), _wl9.endFill(); var _wla = new PIXI.Graphics(); return _wla.beginFill(0, 0), _wla.drawRect(0, 0, 245, 45), _wla.endFill(), _wl5.containerSummary.mask = _wla, _wl5.containerSummary.addChild(_wl5.textSummary), _wl5.containerSummary.addChild(_wla), _wl5.containerName.mask = _wl9, _wl5.containerName.addChild(_wl5.textName), _wl5.containerName.addChild(_wl9), _wl5.addChild(_wl5.background, _wl5.iconCheckState, _wl5.iconWeapon, _wl5.containerName, _wl5.maskName, _wl5.airPlaneLevel, _wl5.slotItemLevel, _wl5.textRarity, _wl5.containerSummary, _wl5.maskSummary, _wl5.iconLock, _wl5.clickArea), _wl5; } return _wjg(_wl3, _wl1), _wl3.prototype.dispose = function() { var _wlb = null; this.removeChildren(), this.containerName.mask = null, this.containerSummary.mask = null, this.containerName.removeChildren(), this.containerSummary.removeChildren(), this.iconWeapon.dispose(), this.airPlaneLevel.dispose(), this.slotItemLevel.dispose(), this.clickArea.clear(), this.clickArea.off(_wk1.EventType.CLICK), this.clickArea.off(_wk1.EventType.MOUSEOVER), this.clickArea.off(_wk1.EventType.MOUSEOUT), this.textRarity.destroy(), this.textSummary.destroy(), this.textName.destroy(), this.onClick = null, this.iconCheckState = null, this.iconWeapon = null, this.textName = null, this.airPlaneLevel = null, this.slotItemLevel = null, this.textRarity = null, this.textSummary = null, this.iconLock = null, this.background = null, this.clickArea = null, this.containerName = null, this.containerSummary = null, this.maskName = null, this.maskSummary = null; }, _wl3.prototype.update = function(_wlc, _wld, _wle, _wlf, _wlg, _wlh, _wli, _wlj, _wlk) { var _wll = null; switch (this.memSlotId = _wlc, this.iconWeapon.update(_wld), this.textName.text = _wle, this.airPlaneLevel.update(_wlf), this.slotItemLevel.update(_wlg), this.iconLock.visible = !1, _wlj && (this.iconLock.visible = !0), this.textRarity.text = _wk2.SlotConst.SLOTITEM_RARITY_NAMES[_wlh], this.textSummary.text = _wli, _wlk) { case _wjz.DISABLE: this.iconCheckState.texture = _wk9.ARSENAL_MAIN.getTexture(12); break; case _wjz.OFF: this.iconCheckState.texture = _wk9.ARSENAL_MAIN.getTexture(13); break; case _wjz.ON: this.iconCheckState.texture = _wk9.ARSENAL_MAIN.getTexture(14); } this.textRarity.position.set(391 - Math.floor(this.textRarity.width / 2), 10); }, _wl3; }(PIXI.Container); }, 84231: function(_wlm, _wln, _wlo) { 'use strict'; var _wlp = null; var _wlq, _wlr = this && this.__extends || (_wlq = function(_wls, _wlt) { var _wlu = null; return _wlq = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_wlv, _wlw) { var _wlx = null; _wlv.__proto__ = _wlw; } || function(_wly, _wlz) { var _wm0 = null; for (var _wm1 in _wlz) Object.prototype.hasOwnProperty.call(_wlz, _wm1) && (_wly[_wm1] = _wlz[_wm1]); }, _wlq(_wls, _wlt); }, function(_wm2, _wm3) { var _wm4 = null; if ('function' != typeof _wm3 && null !== _wm3) throw new TypeError('Class extends value ' + String(_wm3) + ' is not a constructor or null'); function _wm5() { var _wm6 = null; this.constructor = _wm2; } _wlq(_wm2, _wm3), _wm2.prototype = null === _wm3 ? Object.create(_wm3) : (_wm5.prototype = _wm3.prototype, new _wm5()); }), _wm7 = this && this.__importDefault || function(_wm8) { var _wm9 = null; return _wm8 && _wm8.__esModule ? _wm8 : { 'default': _wm8 }; }; defineModule(_wln); Object.defineProperty(_wln, '__esModule', { 'value': !0 }), _wln.SlotDisassemblyConfirm = void 0; var _wma = _wm7(_wlo(18622)), _wmb = _wlo(35380), _wmc = _wlo(65065), _wmd = _wlo(43182), _wme = _wlo(67605), _wmf = _wlo(29075), _wmg = _wlo(53733), _wmh = function(_wmi) { var _wmj = null; function _wmk() { var _wml = null, _wmm = _wmi.call(this) || this; _wmm._onClickDisassembly = function() { var _wmn = null; _wmm.onClickStart(_wmm.memSlotIds); }; var _wmo = new PIXI.Sprite(_wmf.ARSENAL_MAIN.getTexture(62)); _wmm.interactive = !0, _wmm.addChild(_wmo); var _wmp = new PIXI.Sprite(_wmf.ARSENAL_MAIN.getTexture(63)); _wmp.position.set(21, 32); var _wmq = new PIXI.Sprite(_wmf.ARSENAL_MAIN.getTexture(20)); _wmm.buttonDisassembly = new _wmd.SimpleButton(_wmf.ARSENAL_MAIN.getTexture(19), _wmf.ARSENAL_MAIN.getTexture(21)); var _wmr = new _wmc.DisableDownArrowAnimationView(); _wmm.downArrowAnimationView = new _wmc.DownArrowAnimationView(), _wmm._icon = new PIXI.Sprite(), _wmm._iconMulti = new PIXI.Sprite(_wmf.ARSENAL_MAIN.getTexture(78)), _wmm.disassemblyMaterialItems = new Array(), _wmm.disassemblyMaterialItems.push(new _wmg.DisassemblyMaterialItem()), _wmm.disassemblyMaterialItems.push(new _wmg.DisassemblyMaterialItem()), _wmm.disassemblyMaterialItems.push(new _wmg.DisassemblyMaterialItem()), _wmm.disassemblyMaterialItems.push(new _wmg.DisassemblyMaterialItem()), _wmm.disassemblyMaterialItems[0].position.set(15, 84), _wmm.disassemblyMaterialItems[1].position.set(15, 139), _wmm.disassemblyMaterialItems[2].position.set(15, 195), _wmm.disassemblyMaterialItems[3].position.set(15, 250), _wmr.position.set(127, 450), _wmm.downArrowAnimationView.position.set(127, 450), _wmq.position.set(28, 496), _wmm.buttonDisassembly.position.set(28, 496), _wmm.buttonDisassembly.on(_wmb.EventType.CLICK, _wmm._onClickDisassembly), _wmm._icon.anchor.set(0.5, 0.5), _wmm._icon.scale.set(0.356, 0.356), _wmm._icon.position.set(148, 367), _wmm._icon.visible = !1, _wmm._iconMulti.anchor.set(0.5, 0.5), _wmm._iconMulti.position.set(148, 367), _wmm._iconMulti.scale.set(1), _wmm._iconMulti.visible = !1; var _wms = new PIXI.Container(); return _wms.name = 'container', _wms.addChild(_wmm.disassemblyMaterialItems[0], _wmm.disassemblyMaterialItems[1], _wmm.disassemblyMaterialItems[2], _wmm.disassemblyMaterialItems[3]), _wms.addChild(_wmm._icon, _wmm._iconMulti, _wmq, _wmr, _wmm.downArrowAnimationView, _wmm.buttonDisassembly), _wmm.addChild(_wmp, _wms), _wmm.visibleContainer(!1), _wmm; } return _wlr(_wmk, _wmi), Object.defineProperty(_wmk.prototype, 'viewIcon', { 'get': function() { var _wmt = null; return this._icon.visible ? this._icon : this._iconMulti; }, 'enumerable': !1, 'configurable': !0 }), _wmk.prototype.dispose = function() { var _wmu = null; _wme.TaskLoadSlotResource.abortBy(this._icon); for (var _wmv = 0; _wmv < this.disassemblyMaterialItems.length; _wmv++) this.disassemblyMaterialItems[_wmv].dispose(), this.disassemblyMaterialItems[_wmv] = null; this.buttonDisassembly.dispose(), this.downArrowAnimationView.dispose(), this.onClickStart = null, this.disassemblyMaterialItems = null, this.buttonDisassembly = null, this.downArrowAnimationView = null, this._icon = null, this._iconMulti = null, this.memSlotIds = null, this.removeChildren(); }, _wmk.prototype.visibleContainer = function(_wmw) { var _wmx = null; this.getChildByName('container').visible = _wmw; }, _wmk.prototype.update = function(_wmy, _wmz) { var _wn0 = null; for (var _wn1 = { 'fuel': 0, 'ammo': 0, 'steel': 0, 'baux': 0 }, _wn2 = 0; _wn2 < _wmy.length; _wn2++) { var _wn3 = _wmy[_wn2], _wn4 = _wma.default.model.slot.get(_wn3), _wn5 = _wma.default.model.slot.getMst(_wn4.mstID).getMaterialsFromBroken(); _wn1.ammo += _wn5.ammo, _wn1.fuel += _wn5.fuel, _wn1.steel += _wn5.steel, _wn1.baux += _wn5.baux; } var _wn6, _wn7 = 0; for (_wn2 = 0; _wn2 < this.disassemblyMaterialItems.length; _wn2++) this.disassemblyMaterialItems[_wn2].visible = !1; 0 < _wn1.fuel && ((_wn6 = this.disassemblyMaterialItems[_wn7]).update(31, _wn1.fuel), _wn6.visible = !0, _wn7++), 0 < _wn1.ammo && ((_wn6 = this.disassemblyMaterialItems[_wn7]).update(32, _wn1.ammo), _wn6.visible = !0, _wn7++), 0 < _wn1.steel && ((_wn6 = this.disassemblyMaterialItems[_wn7]).update(33, _wn1.steel), _wn6.visible = !0, _wn7++), 0 < _wn1.baux && ((_wn6 = this.disassemblyMaterialItems[_wn7]).update(34, _wn1.baux), _wn6.visible = !0, _wn7++); if (_wme.TaskLoadSlotResource.abortBy(this._icon), 1 < _wmy.length) this._icon.visible = !1, this._icon.texture = PIXI.Texture.EMPTY, this._iconMulti.visible = !0; else { this._iconMulti.visible = !1, this._icon.visible = !0, _wn3 = _wmy[0]; var _wn8 = _wma.default.model.slot.get(_wn3); new _wme.TaskLoadSlotResource('item_on', this._icon, _wn8.mstID).start(); } this.buttonDisassembly.visible = !1, this.downArrowAnimationView.visible = !1, _wmz && (this.buttonDisassembly.visible = !0, this.downArrowAnimationView.visible = !0), this.memSlotIds = _wmy; }, _wmk.prototype.clearInfo = function() { var _wn9 = null; for (var _wna = 0; _wna < this.disassemblyMaterialItems.length; _wna++) this.disassemblyMaterialItems[_wna].visible = !1; this._icon.visible = !1, this._iconMulti.visible = !1, this.buttonDisassembly.visible = !1, this.downArrowAnimationView.visible = !1; }, _wmk; }(PIXI.Container); _wln.SlotDisassemblyConfirm = _wmh; }, 47000: function(_wnb, _wnc, _wnd) { 'use strict'; var _wne = null; var _wnf, _wng = this && this.__extends || (_wnf = function(_wnh, _wni) { var _wnj = null; return _wnf = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_wnk, _wnl) { var _wnm = null; _wnk.__proto__ = _wnl; } || function(_wnn, _wno) { var _wnp = null; for (var _wnq in _wno) Object.prototype.hasOwnProperty.call(_wno, _wnq) && (_wnn[_wnq] = _wno[_wnq]); }, _wnf(_wnh, _wni); }, function(_wnr, _wns) { var _wnt = null; if ('function' != typeof _wns && null !== _wns) throw new TypeError('Class extends value ' + String(_wns) + ' is not a constructor or null'); function _wnu() { var _wnv = null; this.constructor = _wnr; } _wnf(_wnr, _wns), _wnr.prototype = null === _wns ? Object.create(_wns) : (_wnu.prototype = _wns.prototype, new _wnu()); }), _wnw = this && this.__importDefault || function(_wnx) { var _wny = null; return _wnx && _wnx.__esModule ? _wnx : { 'default': _wnx }; }; defineModule(_wnc); Object.defineProperty(_wnc, '__esModule', { 'value': !0 }), _wnc.SlotDisassemblyContainer = void 0; var _wnz = _wnw(_wnd(18622)), _wo0 = _wnw(_wnd(21359)), _wo1 = _wnd(35380), _wo2 = _wnd(83415), _wo3 = _wnd(72778), _wo4 = _wnd(79899), _wo5 = _wnd(1893), _wo6 = _wnd(67605), _wo7 = _wnd(70723), _wo8 = _wnd(90054), _wo9 = _wnd(29075), _woa = _wnd(76590), _wob = _wnd(31615), _woc = _wnd(43791), _wod = _wnd(84231), _woe = _wnd(33639), _wof = _wnd(16677), _wog = function(_woh) { var _woi = null; function _woj(_wok) { var _wol = null, _wom = _woh.call(this) || this; return _wom.slotItemFilterKeyType = 0, _wom._pageIndex = 0, _wom.checkedMemSlotIdList = [], _wom.animation = { 'progress': 0 }, _wom._onClickFilter = function(_won) { var _woo = null, _wop = [], _woq = _wom._sortAndFilter(_wom.slots, _won), _wor = _wom._getPage(_woq.length), _wos = _wom._getSlotsInPage(_woq, 0); _wom.slotDisassemblyChoice.update(_wos, _wop), _wom.slotDisassemblyConfirm.visibleContainer(!1), _wom.slotItemFilterView.updateFilterType(_won), _wom.slotItemFilterView.hideFilterListImmidiate(), _wom.filteredSlots = _woq, _wom.pagerView.init(_wor), _wom.checkedMemSlotIdList = _wop, _wom._pageIndex = 0, _wom.slotItemFilterKeyType = _won, _wof.WheelEventUtil.clear(), _wof.WheelEventUtil.regist(_wom._onWheel); }, _wom._hideFilterView = function() { var _wot = null; _wof.WheelEventUtil.clear(), _wof.WheelEventUtil.regist(_wom._onWheel); }, _wom._onClickSlot = function(_wou) { var _wov = null, _wow = _wnz.default.model.slot.get(_wou), _wox = _wom._getSlotsInPage(_wom.filteredSlots, _wom.pageIndex); if (_wow.isLocked()) 0 == _wom.checkedMemSlotIdList.length && (_wom.slotDisassemblyConfirm.clearInfo(), _wom.slotDisassemblyConfirm.update([_wow.memID], !1), _wom.slotDisassemblyConfirm.visibleContainer(!0)); else { _wo7.SE.play('239'); var _woy = _wom.checkedMemSlotIdList.indexOf(_wou); if (-1 < _woy ? _wom.checkedMemSlotIdList.splice(_woy, 1) : _wom.checkedMemSlotIdList.push(_wou), _wom.slotDisassemblyConfirm.clearInfo(), _wom.slotDisassemblyChoice.update(_wox, _wom.checkedMemSlotIdList), 0 === _wom.checkedMemSlotIdList.length) _wom.slotDisassemblyConfirm.visibleContainer(!1); else _wom.slotDisassemblyConfirm.update(_wom.checkedMemSlotIdList, !0), _wom.slotDisassemblyConfirm.visibleContainer(!0); } }, _wom._onChangePage = function(_woz) { var _wp0 = null; if (_wom._pageIndex != _woz) { var _wp1 = [], _wp2 = _wom._getSlotsInPage(_wom.filteredSlots, _woz); _wom.slotDisassemblyChoice.update(_wp2, _wp1), _wom.slotDisassemblyConfirm.visibleContainer(!1), _wom._pageIndex = _woz, _wom.checkedMemSlotIdList = _wp1; } }, _wom._onWheel = function(_wp3) { var _wp4 = null; if (0 != _wp3.delta) { var _wp5 = _wom._getPage(_wom.filteredSlots.length), _wp6 = _wp3.delta > 0 ? _wom._pageIndex + 1 : _wom._pageIndex - 1; _wp6 < 0 || _wp6 + 1 > _wp5 || (_wp3.enabledGuard(), _wom._onChangePage(_wp6), _wom.pagerView.changePage(_wp6)); } }, _wom._onClickDisassembly = function(_wp7) { var _wp8 = null, _wp9 = new _woa.DestroyItem2API(_wp7), _wpa = _wom.slotDisassemblyConfirm.viewIcon; _wom.disassemblyAnimation = new _woe.DisassemblyAnimation(162, 142), _wom.disassemblyAnimation.position.x = _wpa.x + -0.5 * _wpa.width, _wom.disassemblyAnimation.position.y = _wpa.y + -0.5 * _wpa.height, _wof.WheelEventUtil.clear(), _wnz.default.view.clickGuard = !0, _wp9.start(function() { var _wpb = null, _wpc = new PIXI.Graphics(); _wpc.beginFill(0, 0.2), _wpc.drawRect(0, 0, _wo0.default.width, _wo0.default.height), _wpc.endFill(), _wnz.default.view.overLayer.addChild(_wpc), _wpa.parent.addChild(_wom.disassemblyAnimation); var _wpd = function() { var _wpe = null; _wo7.SE.play('202'); }; createjs.Tween.get(_wpa).call(function() { var _wpf = null; _wpd(), _wom.disassemblyAnimation.play(5); }).to({ 'alpha': 0.33 }, 1000).call(_wpd).to({ 'alpha': 0.66 }, 1000).call(_wpd).to({ 'alpha': 1 }, 1000).call(function() { var _wpg = null; _wpc.clear(), _wnz.default.view.overLayer.removeChild(_wpc), _wpa.parent.removeChild(_wom.disassemblyAnimation), _wom.disassemblyAnimation.dispose(), _wom.disassemblyAnimation = null, _wom.slotDisassemblyConfirm.viewIcon.alpha = 1; var _wph = _wnz.default.model.slot.createUnsetList(); 0 != _wom.slotItemFilterKeyType && 13 != _wom.slotItemFilterKeyType && 14 != _wom.slotItemFilterKeyType && _wo3.SlotUtil.sort(_wph, 0); var _wpi = _wom._sortAndFilter(_wph, _wom.slotItemFilterKeyType), _wpj = _wom._getPage(_wpi.length), _wpk = _wom._pageIndex; _wpj <= _wom._pageIndex && (_wpk = _wpj - 1) < 0 && (_wpk = 0); var _wpl = _wom._getSlotsInPage(_wpi, _wpk); _wom.pagerView.init(_wpj), _wom.pagerView.changePage(_wpk), _wom.slotDisassemblyConfirm.visibleContainer(!1), _wnz.default.view.portMain.updateInfo(), _wom.slotDisassemblyChoice.update(_wpl, []), _wom.slots = _wph, _wom.filteredSlots = _wpi, _wom.checkedMemSlotIdList = [], _wom._pageIndex = _wpk, _wnz.default.view.clickGuard = !1, _wof.WheelEventUtil.regist(_wom._onWheel); }); }); }, _wom._onClickBackground = function() { var _wpm = null; _wom.onComplete(); }, _wom.list_tit_bg_0 = new PIXI.Sprite(_wo8.COMMON_MAIN.getTexture(67)), _wom.list_tit_bg_1 = new PIXI.Sprite(_wo8.COMMON_MAIN.getTexture(67)), _wom.pagerView = new _wo5.PagerView(), _wom.pagerView.position.set(42, 529), _wom.pagerView.onChangePage = _wom._onChangePage, _wom.slotItemFilterView = new _wob.SlotItemFilterView(), _wom.slotItemFilterView.position.set(247, 13), _wom.slotItemFilterView.onClick = _wom._onClickFilter, _wom.slotItemFilterView.onHide = _wom._hideFilterView, _wom.slotDisassemblyChoice = new _woc.SlotDisassemblyChoice(), _wom.slotDisassemblyChoice.onClickSlot = _wom._onClickSlot, _wom.slotDisassemblyChoice.addChild(_wom.slotItemFilterView), _wom.slotDisassemblyChoice.addChild(_wom.pagerView), _wom.slotDisassemblyConfirm = new _wod.SlotDisassemblyConfirm(), _wom.slotDisassemblyConfirm.position.set(654, -16), _wom.slotDisassemblyConfirm.onClickStart = _wom._onClickDisassembly, _wom.blue_txt_04 = new PIXI.Sprite(_wo8.COMMON_MAIN.getTexture(3)), _wom.blue_txt_04.anchor.set(0, 0.5), _wom.blue_txt_04.position.set(22, Math.floor(_wom.list_tit_bg_0.height / 2 - 4)), _wom.blue_txt_11 = new PIXI.Sprite(_wo9.ARSENAL_MAIN.getTexture(6)), _wom.blue_txt_11.anchor.set(0, 0.5), _wom.blue_txt_11.position.set(22, Math.floor(_wom.list_tit_bg_0.height / 2 - 4)), _wom.list_tit_bg_0.position.set(0, -37), _wom.list_tit_bg_1.position.set(654, -37), _wom.list_tit_bg_0.addChild(_wom.blue_txt_04), _wom.list_tit_bg_1.addChild(_wom.blue_txt_11), _wom.addChild(_wom.slotDisassemblyChoice), _wom.addChild(_wom.slotDisassemblyConfirm), _wom.addChild(_wom.list_tit_bg_0, _wom.list_tit_bg_1), _wom.position.set(1200, 139), (_wom.dialogBackground = new _wo4.AreaBox(_wo2.UISettings.DIALOG_BG_ALPHA), _wom.dialogBackground.alpha = 0, _wom.dialogBackground.position.set(0, 103), _wom.dialogBackground.height = _wo0.default.height - 103, _wok.addChild(_wom.dialogBackground), _wok.addChild(_wom), _wom.mainView = _wok, _wom.dialogBackground.on(_wo1.EventType.CLICK, _wom._onClickBackground), _wom); } return _wng(_woj, _woh), Object.defineProperty(_woj.prototype, 'pageIndex', { 'get': function() { var _wpn = null; return this._pageIndex; }, 'enumerable': !1, 'configurable': !0 }), _woj.prototype._sortAndFilter = function(_wpo, _wpp) { var _wpq = null; if (0 == _wpp) return _wo3.SlotUtil.sort(_wpo, 0), _wpo; if (13 == _wpp) return _wo3.SlotUtil.sort(_wpo, 1), _wpo; if (14 == _wpp) return _wo3.SlotUtil.sort(_wpo, 2), _wpo; switch (_wpp) { case 1: return _wo3.SlotUtil.filter(_wpo, 1); case 2: return _wo3.SlotUtil.filter(_wpo, 2); case 3: return _wo3.SlotUtil.filter(_wpo, 3); case 4: return _wo3.SlotUtil.filter(_wpo, 4); case 5: return _wo3.SlotUtil.filter(_wpo, 5); case 6: return _wo3.SlotUtil.filter(_wpo, 6); case 7: return _wo3.SlotUtil.filter(_wpo, 7); case 8: return _wo3.SlotUtil.filter(_wpo, 8); case 9: return _wo3.SlotUtil.filter(_wpo, 9); case 10: return _wo3.SlotUtil.filter(_wpo, 10); case 11: return _wo3.SlotUtil.filter(_wpo, 11); case 12: return _wo3.SlotUtil.filter(_wpo, 12); } }, _woj.prototype._getSlotsInPage = function(_wpr, _wps) { var _wpt = null, _wpu = this.slotDisassemblyChoice.ITEM_NUM; return _wpr.slice(_wps * _wpu, _wps * _wpu + _wpu); }, _woj.prototype._getPage = function(_wpv) { var _wpw = null, _wpx = this.slotDisassemblyChoice.ITEM_NUM; return Math.ceil(_wpv / _wpx); }, _woj.prototype.start = function(_wpy, _wpz) { var _wq0 = null, _wq1 = this, _wq2 = _wnz.default.model.slot.createUnsetList(), _wq3 = this._sortAndFilter(_wq2, _wpy), _wq4 = [], _wq5 = this._getSlotsInPage(_wq3, _wpz), _wq6 = this._getPage(_wq3.length); this.pagerView.init(_wq6), this.slotItemFilterView.updateFilterType(_wpy), this._pageIndex = _wpz, this.pagerView.changePage(_wpz), this.slotDisassemblyChoice.update(_wq5, _wq4), this.animation.progress = 0, _wnz.default.view.clickGuard = !0; var _wq7 = function() { var _wq8 = null; _wq1.x = 1200 - 945 * _wq1.animation.progress, _wq1.dialogBackground.alpha = _wq1.animation.progress; }; this.checkedMemSlotIdList = _wq4, this.filteredSlots = _wq3, this.slots = _wq2; var _wq9 = createjs.Tween.get(this.animation); _wq9.call(function() { var _wqa = null; _wq9.addEventListener('change', _wq7); }).to({ 'progress': 1 }, 200).call(function() { var _wqb = null; _wq9.removeAllEventListeners('change'), createjs.Tween.removeTweens(_wq9.target), _wq1.animation.progress = 1, _wq7(), _wq1.dialogBackground.width = 288, _wnz.default.view.clickGuard = !1, _wof.WheelEventUtil.regist(_wq1._onWheel); }); }, _woj.prototype.hide = function(_wqc) { var _wqd = null, _wqe = this; _wo6.TaskLoadSlotResource.abortBy(this.slotDisassemblyConfirm.viewIcon), this.dialogBackground.width = _wo0.default.width; var _wqf = function() { var _wqg = null; _wqe.x = 1200 - 945 * (1 - _wqe.animation.progress), _wqe.dialogBackground.alpha = 1 - _wqe.animation.progress; }; this.animation.progress = 0; var _wqh = createjs.Tween.get(this.animation); _wqh.call(function() { var _wqi = null; _wqf(), _wqh.addEventListener('change', _wqf); }).to({ 'progress': 1 }, 200).call(function() { var _wqj = null; _wqh.removeAllEventListeners('change'), createjs.Tween.removeTweens(_wqh.target), _wqe.animation.progress = 1, _wqf(), _wqc(); }); }, _woj.prototype.dispose = function() { var _wqk = null; this.dialogBackground.off(_wo1.EventType.CLICK, this._onClickBackground), this.removeChildren(), createjs.Tween.removeTweens(this.animation), this.mainView.removeChild(this.dialogBackground), this.mainView.removeChild(this), this.list_tit_bg_0.removeChild(this.blue_txt_04), this.list_tit_bg_1.removeChild(this.blue_txt_11), this.slotDisassemblyChoice.dispose(), this.slotDisassemblyConfirm.visibleContainer(!1), this.slotDisassemblyConfirm.dispose(), this.pagerView.dispose(), this.slotItemFilterView.dispose(), this.disassemblyAnimation && this.disassemblyAnimation.dispose(), this.onComplete = null, this.slots = null, this.slotItemFilterKeyType = null, this.filteredSlots = null, this._pageIndex = null, this.mainView = null, this.dialogBackground = null, this.slotDisassemblyChoice = null, this.slotDisassemblyConfirm = null, this.pagerView = null, this.slotItemFilterView = null, this.checkedMemSlotIdList = null, this.list_tit_bg_0 = null, this.list_tit_bg_1 = null, this.blue_txt_04 = null, this.blue_txt_11 = null, this.animation = null, this.disassemblyAnimation = null, _wof.WheelEventUtil.clear(); }, _woj; }(PIXI.Container); _wnc.SlotDisassemblyContainer = _wog; }, 31615: function(_wql, _wqm, _wqn) { 'use strict'; var _wqo = null; var _wqp, _wqq = this && this.__extends || (_wqp = function(_wqr, _wqs) { var _wqt = null; return _wqp = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_wqu, _wqv) { var _wqw = null; _wqu.__proto__ = _wqv; } || function(_wqx, _wqy) { var _wqz = null; for (var _wr0 in _wqy) Object.prototype.hasOwnProperty.call(_wqy, _wr0) && (_wqx[_wr0] = _wqy[_wr0]); }, _wqp(_wqr, _wqs); }, function(_wr1, _wr2) { var _wr3 = null; if ('function' != typeof _wr2 && null !== _wr2) throw new TypeError('Class extends value ' + String(_wr2) + ' is not a constructor or null'); function _wr4() { var _wr5 = null; this.constructor = _wr1; } _wqp(_wr1, _wr2), _wr1.prototype = null === _wr2 ? Object.create(_wr2) : (_wr4.prototype = _wr2.prototype, new _wr4()); }), _wr6 = this && this.__createBinding || (Object.create ? function(_wr7, _wr8, _wr9, _wra) { var _wrb = null; void 0 === _wra && (_wra = _wr9); var _wrc = Object.getOwnPropertyDescriptor(_wr8, _wr9); _wrc && !('get' in _wrc ? !_wr8.__esModule : _wrc.writable || _wrc.configurable) || (_wrc = { 'enumerable': !0, 'get': function() { return _wr8[_wr9]; } }), Object.defineProperty(_wr7, _wra, _wrc); } : function(_wrd, _wre, _wrf, _wrg) { void 0 === _wrg && (_wrg = _wrf), _wrd[_wrg] = _wre[_wrf]; }), _wrh = this && this.__setModuleDefault || (Object.create ? function(_wri, _wrj) { var _wrk = null; Object.defineProperty(_wri, 'default', { 'enumerable': !0, 'value': _wrj }); } : function(_wrl, _wrm) { var _wrn = null; _wrl.default = _wrm; }), _wro = this && this.__importStar || function(_wrp) { var _wrq = null; if (_wrp && _wrp.__esModule) return _wrp; var _wrr = {}; if (null != _wrp) { for (var _wrs in _wrp) 'default' !== _wrs && Object.prototype.hasOwnProperty.call(_wrp, _wrs) && _wr6(_wrr, _wrp, _wrs); } return _wrh(_wrr, _wrp), _wrr; }; defineModule(_wqm); Object.defineProperty(_wqm, '__esModule', { 'value': !0 }), _wqm.SlotItemFilterButton = _wqm.SlotItemFilterListItem = _wqm.SlotItemFilterList = _wqm.SlotItemFilterView = void 0; var _wrt = _wro(_wqn(31000)), _wru = _wqn(35380), _wrv = _wqn(16677), _wrw = function(_wrx) { var _wry = null; function _wrz() { var _ws0 = null, _ws1 = _wrx.call(this) || this; return _ws1.maxDuration = 125, _ws1.shown = !1, _ws1._onClickSlotItemFilterKeyType = function(_ws2) { var _ws3 = null; _ws1.onClick(_ws2); }, _ws1._onMouseOutHideArea = function(_ws4) { var _ws5 = null, _ws6 = _ws4.data.getLocalPosition(_ws1); _ws6.x >= _ws1.startPoint.x && _ws6.x <= _ws1.endPoint.x && _ws6.y >= _ws1.startPoint.y && _ws6.y <= _ws1.endPoint.y || (_ws1.hideFilterList(), _ws1.shown = !1); }, _ws1._onClick = function() { var _ws7 = null; _wrv.WheelEventUtil.clear(), _ws1.switchShown(); }, _ws1.slotItemFilterButton = new _ws8(), _ws1.slotItemFilterButton.onClick = _ws1._onClick, _ws1.slotItemFilterList = new _ws9(), _ws1.slotItemFilterListMask = new PIXI.Graphics(), _ws1.slotItemFilterListMask.beginFill(0, 0), _ws1.slotItemFilterListMask.drawRect(0, 0, _ws1.slotItemFilterList.width, _ws1.slotItemFilterList.height), _ws1.slotItemFilterListMask.endFill(), _ws1.slotItemFilterListMask.position.set(0, -(_ws1.slotItemFilterListMask.height + 2)), _ws1.slotItemFilterList.position.set(29, 30), _ws1.slotItemFilterList.mask = _ws1.slotItemFilterListMask, _ws1.slotItemFilterList.onClick = _ws1._onClickSlotItemFilterKeyType, _ws1.slotItemFilterList.addChild(_ws1.slotItemFilterListMask), _ws1.startPoint = new PIXI.Point(-38, -38), _ws1.endPoint = new PIXI.Point(157, -38 + _ws1.slotItemFilterList.height + 76), _ws1.filterListArea = new PIXI.Graphics(), _ws1.filterListArea.beginFill(0, 0), _ws1.filterListArea.position.set(-246, -12), _ws1.filterListArea.drawRect(0, 0, 700, 560), _ws1.filterListArea.endFill(), _ws1.filterListArea.on(_wru.EventType.MOUSEMOVE, _ws1._onMouseOutHideArea), _ws1.filterListArea.interactive = !0, _ws1.filterListArea.visible = !1, _ws1.slotItemFilterList.renderable = !1, _ws1.addChild(_ws1.filterListArea), _ws1.addChild(_ws1.slotItemFilterButton), _ws1.addChild(_ws1.slotItemFilterList), _ws1; } return _wqq(_wrz, _wrx), _wrz.prototype.dispose = function() { var _wsa = null; this.slotItemFilterList.mask = null, this.slotItemFilterList.dispose(), this.slotItemFilterButton.dispose(), this.slotItemFilterListMask.clear(), this.filterListArea.clear(), this.onClick = null, this.shown = null, this.slotItemFilterButton = null, this.slotItemFilterList = null, this.slotItemFilterListMask = null, this.filterListArea = null, this.startPoint = null, this.endPoint = null, this.removeChildren(); }, _wrz.prototype.updateFilterType = function(_wsb) { var _wsc = null; this.slotItemFilterButton.update(_wsb); }, _wrz.prototype.switchShown = function() { var _wsd = null; this.shown = !this.shown, this.shown ? this.showFilterList() : this.hideFilterList(); }, _wrz.prototype.showFilterList = function() { var _wse = null; this.filterListArea.visible = !0, this.slotItemFilterList.renderable = !0, createjs.Tween.removeTweens(this.slotItemFilterListMask); var _wsf = this.slotItemFilterListMask.height + this.slotItemFilterListMask.y + 1, _wsg = 0 == _wsf ? 0 : _wsf / this.slotItemFilterListMask.height, _wsh = this.maxDuration * (1 - _wsg); createjs.Tween.get(this.slotItemFilterListMask).to({ 'y': 0 }, _wsh).play(null); }, _wrz.prototype.hideFilterList = function() { var _wsi = null, _wsj = this; this.filterListArea.visible = !1, createjs.Tween.removeTweens(this.slotItemFilterListMask); var _wsk = this.slotItemFilterListMask.height + this.slotItemFilterListMask.y + 2, _wsl = 0 == _wsk ? 0 : _wsk / this.slotItemFilterListMask.height, _wsm = -(this.slotItemFilterListMask.height + 2), _wsn = this.maxDuration * _wsl; createjs.Tween.get(this.slotItemFilterListMask).to({ 'y': _wsm }, _wsn).call(function() { var _wso = null; _wsj.slotItemFilterList.renderable = !1, null != _wsj.onHide && _wsj.onHide(); }).play(null); }, _wrz.prototype.hideFilterListImmidiate = function() { var _wsp = null; this.filterListArea.visible = !1, createjs.Tween.removeTweens(this.slotItemFilterListMask), this.slotItemFilterListMask.y = -(this.slotItemFilterListMask.height + 2), this.shown = !1; }, _wrz; }(PIXI.Container); _wqm.SlotItemFilterView = _wrw; var _ws9 = function(_wsq) { var _wsr = null; function _wss() { var _wst = null, _wsu = _wsq.call(this) || this; _wsu._onClick = function(_wsv) { var _wsw = null; _wsu.onClick(_wsv); }; for (var _wsx = new PIXI.Sprite(_wrt.COMMON_SORT.getTexture(53)), _wsy = [ [0, 21, 22], [1, 23, 24], [2, 25, 26], [3, 27, 28], [4, 29, 30], [5, 31, 32], [6, 33, 34], [7, 35, 36], [8, 43, 44], [9, 45, 46], [10, 47, 48], [11, 49, 50], [12, 37, 38], [13, 39, 40], [14, 41, 42] ], _wsz = [], _wt0 = 0; _wt0 < _wsy.length; _wt0++) { var _wt1 = _wsy[_wt0], _wt2 = _wt1[0], _wt3 = _wt1[1], _wt4 = _wt1[2], _wt5 = new _wt6(_wt2, _wt3, _wt4); _wt5.onClick = _wsu._onClick, _wt5.y = 28.5 * _wt0, _wsz.push(_wt5); } _wsu.addChild(_wsx); for (_wt0 = 0; _wt0 < _wsz.length; _wt0++) _wsu.addChild(_wsz[_wt0]); return _wsu.slotItemFilterListItems = _wsz, _wsu; } return _wqq(_wss, _wsq), _wss.prototype.dispose = function() { var _wt7 = null; for (var _wt8 = 0; _wt8 < this.slotItemFilterListItems.length; _wt8++) this.removeChild(this.slotItemFilterListItems[_wt8]), this.slotItemFilterListItems[_wt8].dispose(), this.slotItemFilterListItems[_wt8] = null; this.slotItemFilterListItems = null, this.onClick = null, this.removeChildren(); }, _wss; }(PIXI.Container); _wqm.SlotItemFilterList = _ws9; var _wt6 = function(_wt9) { var _wta = null; function _wtb(_wtc, _wtd, _wte) { var _wtf = null, _wtg = _wt9.call(this) || this; return _wtg._onMouseOver = function() { var _wth = null; _wtg.status.texture = _wrt.COMMON_SORT.getTexture(_wtg.rIdMouseover), _wtg.hover.visible = !0; }, _wtg._onMouseOut = function() { var _wti = null; _wtg.status.texture = _wrt.COMMON_SORT.getTexture(_wtg.rIdMouseout), _wtg.hover.visible = !1; }, _wtg._onClick = function() { var _wtj = null; _wtg.onClick(_wtg.slotItemFilterKeyType); }, _wtg.rIdMouseover = _wte, _wtg.rIdMouseout = _wtd, _wtg.slotItemFilterKeyType = _wtc, _wtg.status = new PIXI.Sprite(_wrt.COMMON_SORT.getTexture(_wtd)), _wtg.hover = new PIXI.Sprite(_wrt.COMMON_SORT.getTexture(20)), _wtg.hover.visible = !1, _wtg.interactive = !0, _wtg.on(_wru.EventType.MOUSEOVER, _wtg._onMouseOver), _wtg.on(_wru.EventType.MOUSEOUT, _wtg._onMouseOut), _wtg.on(_wru.EventType.CLICK, _wtg._onClick), _wtg.addChild(_wtg.hover, _wtg.status), _wtg; } return _wqq(_wtb, _wt9), _wtb.prototype.dispose = function() { var _wtk = null; this.removeChildren(), this.off(_wru.EventType.MOUSEOVER), this.off(_wru.EventType.MOUSEOUT), this.off(_wru.EventType.CLICK), this.rIdMouseover = null, this.rIdMouseout = null, this.status = null, this.hover = null, this.slotItemFilterKeyType = null, this.onClick = null; }, _wtb; }(PIXI.Container); _wqm.SlotItemFilterListItem = _wt6; var _ws8 = function(_wtl) { var _wtm = null; function _wtn() { var _wto = null, _wtp = _wtl.call(this) || this; _wtp._onClick = function() { var _wtq = null; _wtp.onClick(); }; var _wtr = new PIXI.Sprite(_wrt.COMMON_SORT.getTexture(19)), _wts = new PIXI.Sprite(_wrt.COMMON_SORT.getTexture(2)); return _wtp.state = new PIXI.Sprite(_wrt.COMMON_SORT.getTexture(3)), _wtp.on(_wru.EventType.CLICK, _wtp._onClick), _wtp.interactive = _wtp.buttonMode = !0, _wtr.position.set(0, 0), _wts.position.set(29, 0), _wtp.state.position.set(29, 0), _wtp.addChild(_wtr, _wts, _wtp.state), _wtp; } return _wqq(_wtn, _wtl), _wtn.prototype.dispose = function() { var _wtt = null; this.off(_wru.EventType.CLICK), this.removeChildren(), this.onClick = null, this.state = null; }, _wtn.prototype.update = function(_wtu) { var _wtv = null, _wtw = this.keyToRid(_wtu); this.state.texture = _wrt.COMMON_SORT.getTexture(_wtw); }, _wtn.prototype.keyToRid = function(_wtx) { switch (_wtx) { case 0: return 3; case 1: return 4; case 2: return 5; case 3: return 6; case 4: return 7; case 5: return 8; case 6: return 9; case 7: return 10; case 8: return 14; case 9: return 15; case 10: return 16; case 11: return 17; case 12: return 11; case 13: return 12; case 14: return 13; } return null; }, _wtn; }(PIXI.Container); _wqm.SlotItemFilterButton = _ws8; }, 58001: function(_wty, _wtz, _wu0) { 'use strict'; var _wu1 = null; var _wu2, _wu3 = this && this.__extends || (_wu2 = function(_wu4, _wu5) { var _wu6 = null; return _wu2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_wu7, _wu8) { var _wu9 = null; _wu7.__proto__ = _wu8; } || function(_wua, _wub) { var _wuc = null; for (var _wud in _wub) Object.prototype.hasOwnProperty.call(_wub, _wud) && (_wua[_wud] = _wub[_wud]); }, _wu2(_wu4, _wu5); }, function(_wue, _wuf) { var _wug = null; if ('function' != typeof _wuf && null !== _wuf) throw new TypeError('Class extends value ' + String(_wuf) + ' is not a constructor or null'); function _wuh() { var _wui = null; this.constructor = _wue; } _wu2(_wue, _wuf), _wue.prototype = null === _wuf ? Object.create(_wuf) : (_wuh.prototype = _wuf.prototype, new _wuh()); }); defineModule(_wtz); Object.defineProperty(_wtz, '__esModule', { 'value': !0 }), _wtz.Spanner = void 0; var _wuj = _wu0(31000), _wuk = _wu0(7626), _wul = function(_wum) { var _wun = null; function _wuo(_wup) { var _wuq = null, _wur = _wum.call(this) || this; return _wur.DEFAULT_IN_X = 507, _wur.DEFAULT_OUT_X = 825, _wur.COMPLETION = [107, 108], _wur.WALK = [102, 103, 104], _wur.BUILD = [106, 105], _wur.ANIMATION_KEY_MOVE = {}, _wur.ANIMATION_KEY_BUILDING = {}, _wur.ANIMATION_KEY_COMPLETE = {}, _wur.y = 91, _wur.x = _wur.DEFAULT_OUT_X, _wur.sprite = new PIXI.Sprite(), _wur.star_0 = new PIXI.Sprite(_wuj.ARSENAL_MAIN.getTexture(142)), _wur.star_1 = new PIXI.Sprite(_wuj.ARSENAL_MAIN.getTexture(142)), _wur.effect = new PIXI.Container(), _wur.sprite.anchor.set(0.5, 1), _wur.star_0.anchor.set(0.5, 0.5), _wur.star_1.anchor.set(0.5, 0.5), _wur.star_0.scale.set(0, 0), _wur.star_1.scale.set(0, 0), _wur.sprite.texture = _wuj.ARSENAL_MAIN.getTexture(_wur.WALK[0]), _wur.effect.position.x = 46, _wur.effect.addChild(_wur.star_1, _wur.star_0), _wur.sprite.addChild(_wur.effect), _wur.addChild(_wur.sprite), _wur.syncAnimationKey = _wup, _wur; } return _wu3(_wuo, _wum), _wuo.prototype.build = function() { var _wus = null, _wut = this; this.stopAllAnimation(), this.sprite.y = 0, this.sprite.scale.x = 1, this.__AnimationMove__(this.DEFAULT_OUT_X, this.DEFAULT_IN_X, 3000, function() { var _wuu = null; _wut.__AnimationBuilding__(); }); }, _wuo.prototype.resume = function() { var _wuv = null; this.x = this.DEFAULT_IN_X, this.sprite.y = 0, this.stopAllAnimation(), this.__AnimationBuilding__(); }, _wuo.prototype.complete = function() { var _wuw = null; this.sprite.scale.x = 1, this.effect.visible = !1, this.x = this.DEFAULT_IN_X, this.stopAllAnimation(), this.__AnimationComplete__(); }, _wuo.prototype.useBurner = function() { var _wux = null; this.stopAllAnimation(), this.sprite.y = 0, this.effect.visible = !1, this.sprite.scale.x = -1, this.__AnimationMove__(this.x, this.DEFAULT_OUT_X, 1000, function() {}); }, _wuo.prototype.received = function() { var _wuy = null; this.stopAllAnimation(), this.sprite.y = 0, this.sprite.scale.x = -1, this.__AnimationMove__(this.x, this.DEFAULT_OUT_X, 1000, function() {}); }, _wuo.prototype.useBurnerd = function() { var _wuz = null, _wv0 = this; this.sprite.scale.x = 1, this.sprite.y = 0, this.__AnimationMove__(this.x, this.DEFAULT_IN_X, 1000, function() { var _wv1 = null; _wv0.__AnimationComplete__(); }); }, _wuo.prototype.stopAllAnimation = function() { var _wv2 = null; createjs.Tween.removeTweens(this.ANIMATION_KEY_BUILDING), createjs.Tween.removeTweens(this.ANIMATION_KEY_COMPLETE), createjs.Tween.removeTweens(this.ANIMATION_KEY_MOVE); }, _wuo.prototype.__AnimationMove__ = function(_wv3, _wv4, _wv5, _wv6) { var _wv7 = null, _wv8 = this; this.ANIMATION_KEY_MOVE.x = this.x = _wv3, this.ANIMATION_KEY_MOVE.progress = 0; var _wv9 = createjs.Tween.get(this.ANIMATION_KEY_MOVE, { 'loop': !0 }); _wv9.to({ 'progress': 0 }).to({ 'progress': 1 }, 250).to({ 'progress': 0 }, 250).addEventListener('change', function() { var _wva = null, _wvb = _wv8.ANIMATION_KEY_MOVE.progress, _wvc = Math.round((_wv8.WALK.length - 1) * _wvb), _wvd = _wv8.WALK[_wvc]; _wv8.sprite.texture = _wuj.ARSENAL_MAIN.getTexture(_wvd); }); var _wve = createjs.Tween.get(this.ANIMATION_KEY_MOVE); _wve.to({ 'x': _wv4, 'progress': 1 }, _wv5).call(function() { var _wvf = null; createjs.Tween.removeTweens(_wv8.ANIMATION_KEY_MOVE), _wve.setPaused(!0), _wv9.setPaused(!0), _wve.removeAllEventListeners('change'), _wv9.removeAllEventListeners('change'), _wv6(); }).addEventListener('change', function() { var _wvg = null, _wvh = _wv8.ANIMATION_KEY_MOVE.x; _wv8.x = _wvh; }); }, _wuo.prototype.__AnimationBuilding__ = function() { var _wvi = null, _wvj = this; this.ANIMATION_KEY_BUILDING.progress_A = 0, this.ANIMATION_KEY_BUILDING.progress_B = 0; var _wvk = createjs.Tween.get(this.ANIMATION_KEY_BUILDING, { 'loop': !0 }).to({ 'progress_A': 1 }, 500).to({ 'progress_B': 1 }, 500); _wvk.addEventListener('change', function() { var _wvl = null, _wvm = _wvj.ANIMATION_KEY_BUILDING.progress_A, _wvn = _wvj.ANIMATION_KEY_BUILDING.progress_B; _wvj.sprite.texture = _wuj.ARSENAL_MAIN.getTexture(_wvj.BUILD[Math.round((_wvj.BUILD.length - 1) * _wvm)]), _wvj.sprite.position.x = 2 * Math.sin(Math.PI / 90 * (360 * _wvn)) * 1.5; var _wvo = function(_wvp, _wvq, _wvr, _wvs) { return { 'x': (1 - _wvs) * (1 - _wvs) * _wvp.x + 2 * (1 - _wvs) * _wvs * _wvq.x + _wvs * _wvs * _wvr.x, 'y': (1 - _wvs) * (1 - _wvs) * _wvp.y + 2 * (1 - _wvs) * _wvs * _wvq.y + _wvs * _wvs * _wvr.y }; }({ 'x': -18, 'y': 6 }, { 'x': -24, 'y': -45 }, { 'x': -37, 'y': 0 }, _wvn); _wvj.star_0.x = _wvo.x, _wvj.star_0.y = _wvo.y, _wvj.star_0.alpha = _wvj.star_1.alpha = _wvn < 0.9 ? _wvn : 0, _wvj.star_0.scale.set(_wvn, _wvn), _wvj.star_1.position.set(30, -19), _wvj.star_1.scale.set(_wvn, _wvn); }); }, _wuo.prototype.__AnimationComplete__ = function() { var _wvt = null, _wvu = this; createjs.Tween.get(this.ANIMATION_KEY_COMPLETE, { 'loop': !0 }).wait(1000).addEventListener('change', function() { var _wvv = null, _wvw = _wvu.syncAnimationKey.getNumber(_wuk.SYNC_KEY_JUMP); _wvu.sprite.y = -10 * _wvw, _wvu.sprite.texture = 0.4 < _wvw ? _wuj.ARSENAL_MAIN.getTexture(_wvu.COMPLETION[0]) : _wuj.ARSENAL_MAIN.getTexture(_wvu.COMPLETION[1]); }); }, _wuo.prototype.dispose = function() { var _wvx = null; createjs.Tween.removeTweens(this.ANIMATION_KEY_MOVE), createjs.Tween.removeTweens(this.ANIMATION_KEY_BUILDING), createjs.Tween.removeTweens(this.ANIMATION_KEY_COMPLETE), this.effect.removeChildren(), this.star_0 = null, this.star_1 = null, this.sprite = null, this.effect = null, this.syncAnimationKey = null, this.removeChildren(); }, _wuo; }(PIXI.Container); _wtz.Spanner = _wul; }, 68531: function(_wvy, _wvz, _ww0) { 'use strict'; var _ww1 = null; var _ww2, _ww3 = this && this.__extends || (_ww2 = function(_ww4, _ww5) { var _ww6 = null; return _ww2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ww7, _ww8) { var _ww9 = null; _ww7.__proto__ = _ww8; } || function(_wwa, _wwb) { var _wwc = null; for (var _wwd in _wwb) Object.prototype.hasOwnProperty.call(_wwb, _wwd) && (_wwa[_wwd] = _wwb[_wwd]); }, _ww2(_ww4, _ww5); }, function(_wwe, _wwf) { var _wwg = null; if ('function' != typeof _wwf && null !== _wwf) throw new TypeError('Class extends value ' + String(_wwf) + ' is not a constructor or null'); function _wwh() { var _wwi = null; this.constructor = _wwe; } _ww2(_wwe, _wwf), _wwe.prototype = null === _wwf ? Object.create(_wwf) : (_wwh.prototype = _wwf.prototype, new _wwh()); }); defineModule(_wvz); Object.defineProperty(_wvz, '__esModule', { 'value': !0 }), _wvz.TopBarLayer = void 0; var _wwj = _ww0(31000), _wwk = function(_wwl) { var _wwm = null; function _wwn() { var _wwo = null, _wwp = _wwl.call(this) || this; _wwp.bg_0 = new PIXI.Sprite(_wwj.COMMON_MAIN.getTexture(67)), _wwp.bg_1 = new PIXI.Sprite(_wwj.COMMON_MAIN.getTexture(67)), _wwp.bg_0.position.set(0, 102), _wwp.bg_1.position.set(529, 102); var _wwq = new PIXI.Sprite(_wwj.ARSENAL_MAIN.getTexture(8)); _wwq.anchor.set(0, 0.5), _wwq.position.set(198, _wwp.bg_0.height / 2 - 4); var _wwr = new PIXI.Sprite(_wwj.ARSENAL_MAIN.getTexture(4)); return _wwr.anchor.set(0, 0.5), _wwr.position.set(19, _wwp.bg_0.height / 2 - 4), _wwp.bg_0.addChild(_wwq), _wwp.bg_1.addChild(_wwr), _wwp.addChild(_wwp.bg_0), _wwp.addChild(_wwp.bg_1), _wwp; } return _ww3(_wwn, _wwl), _wwn.prototype.dispose = function() { var _wws = null; this.bg_0.removeChildren(), this.bg_1.removeChildren(), this.removeChildren(), this.bg_0 = null, this.bg_1 = null; }, _wwn; }(PIXI.Container); _wvz.TopBarLayer = _wwk; }, 81504: function(_wwt, _wwu, _wwv) { 'use strict'; var _www = null; var _wwx, _wwy = this && this.__extends || (_wwx = function(_wwz, _wx0) { var _wx1 = null; return _wwx = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_wx2, _wx3) { var _wx4 = null; _wx2.__proto__ = _wx3; } || function(_wx5, _wx6) { var _wx7 = null; for (var _wx8 in _wx6) Object.prototype.hasOwnProperty.call(_wx6, _wx8) && (_wx5[_wx8] = _wx6[_wx8]); }, _wwx(_wwz, _wx0); }, function(_wx9, _wxa) { var _wxb = null; if ('function' != typeof _wxa && null !== _wxa) throw new TypeError('Class extends value ' + String(_wxa) + ' is not a constructor or null'); function _wxc() { var _wxd = null; this.constructor = _wx9; } _wwx(_wx9, _wxa), _wx9.prototype = null === _wxa ? Object.create(_wxa) : (_wxc.prototype = _wxa.prototype, new _wxc()); }); defineModule(_wwu); Object.defineProperty(_wwu, '__esModule', { 'value': !0 }), _wwu.SallyScene = void 0; var _wxe = _wwv(61474), _wxf = _wwv(1897), _wxg = _wwv(19855), _wxh = _wwv(41586), _wxi = _wwv(98527), _wxj = _wwv(14997), _wxk = _wwv(73198), _wxl = _wwv(83859), _wxm = _wwv(54075), _wxn = _wwv(16546), _wxo = _wwv(5267), _wxp = _wwv(16677), _wxq = function(_wxr) { var _wxs = null; function _wxt() { var _wxu = null; return _wxr.call(this) || this; } return _wwy(_wxt, _wxr), Object.defineProperty(_wxt.prototype, 'viewTop', { 'get': function() { var _wxv = null; return this._viewTop; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_wxt.prototype, 'viewSub', { 'get': function() { var _wxw = null; return this._viewSub; }, 'enumerable': !1, 'configurable': !0 }), _wxt.prototype.initialize = function(_wxx) { var _wxy = null; this._expedition_available = _wxx, this._viewTop = new _wxl.ViewTop(), this._viewTop.initialize(this._expedition_available), this.addChild(this._viewTop); }, _wxt.prototype.dispose = function() { var _wxz = null; null != this._viewTop && (this.removeChild(this._viewTop), this._viewTop.dispose(), this._viewTop = null), null != this._topTask && this._topTask.cancel(), null != this._viewSub && (this.removeChild(this._viewSub), this._viewSub.dispose(), this._viewSub = null), _wxp.WheelEventUtil.clear(); }, _wxt.prototype.startTopTask = function() { var _wy0 = null, _wy1 = this; this._topTask = new _wxh.TaskTop(this), this._topTask.start(function() { var _wy2 = null; _wy1._topTask = null; }); }, _wxt.prototype.openView = function(_wy3) { var _wy4 = null, _wy5 = this, _wy6 = this._viewSub; if (0 == _wy3) { var _wy7 = new _wxm.ViewMain(this._expedition_available, function(_wy8) { var _wy9 = null; _wy5.openView(_wy8); }); new _wxi.MapInfoAPI().start(function() { var _wya = null; _wy7.initialize(), _wy7.update(1), _wy5._openView(_wy7, _wy6); }); } else { if (1 == _wy3) { var _wyb = new _wxn.ViewMain(this._expedition_available, function(_wyc) { var _wyd = null; _wy5.openView(_wyc); }), _wye = new _wxj.PracticeAPI(); _wye.start(function() { var _wyf = null; _wyb.initialize(), _wyb.update(_wye.res_model), _wy5._openView(_wyb, _wy6); }); } else { if (2 == _wy3) { var _wyg = new _wxo.ViewMain(this._expedition_available, function(_wyh) { var _wyi = null; _wy5.openView(_wyh); }); new _wxk.ExpeditionAPI().start(function() { var _wyj = null; _wyg.initialize(), _wy5._openView(_wyg, _wy6); }); } } } }, _wxt.prototype._removeTopView = function() { var _wyk = null; null != this._viewTop && (this.removeChild(this._viewTop), this._viewTop = null); }, _wxt.prototype._openView = function(_wyl, _wym) { var _wyn = null; _wyl.position.set(1200, 0), this.addChild(_wyl), this._viewSub = _wyl, this._openViewTween(_wyl, _wym); }, _wxt.prototype._openViewTween = function(_wyo, _wyp) { var _wyq = null, _wyr = this; createjs.Tween.get(_wyo).to({ 'x': 0 }, 200).call(function() { var _wys = null; _wyr._removeTopView(), _wyo.activate(); }), null != _wyp && (_wyp.deactivate(), createjs.Tween.get(_wyp).wait(200).to({ 'alpha': 0 }, 300).call(function() { var _wyt = null; _wyp.dispose(), _wyr.removeChild(_wyp); })); }, _wxt.prototype.getPreInitializeTask = function(_wyu) { var _wyv = null; return new _wxf.PreInitializeTask(this); }, _wxt.prototype.getInitializeTask = function(_wyw) { var _wyx = null; return new _wxf.InitializeTask(this); }, _wxt.prototype.getPreFinalizeTask = function() { var _wyy = null; return new _wxg.PreFinalizeTask(this); }, _wxt.prototype.getFinalizeTask = function() { var _wyz = null; return new _wxg.FinalizeTask(this); }, _wxt; }(_wxe.SceneBase); _wwu.SallyScene = _wxq; }, 45392: (_wz0, _wz1, _wz2) => { 'use strict'; var _wz3 = null; defineModule(_wz1); Object.defineProperty(_wz1, '__esModule', { 'value': !0 }), _wz1.AirReconnaissanceModel = void 0; var _wz4 = _wz2(89939), _wz5 = (function() { var _wz6 = null; function _wz7(_wz8) { this._o = _wz8; } return Object.defineProperty(_wz7.prototype, 'plane_type', { 'get': function() { var _wz9 = null; return _wz4.ObjUtil.getNumber(this._o, 'api_plane_type'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_wz7.prototype, 'result', { 'get': function() { var _wza = null; return _wz4.ObjUtil.getNumber(this._o, 'api_result'); }, 'enumerable': !1, 'configurable': !0 }), _wz7; }()); _wz1.AirReconnaissanceModel = _wz5; }, 9003: (_wzb, _wzc, _wzd) => { 'use strict'; var _wze = null; defineModule(_wzc); Object.defineProperty(_wzc, '__esModule', { 'value': !0 }), _wzc.CellModel = void 0; var _wzf = _wzd(14921), _wzg = (function() { var _wzh = null; function _wzi(_wzj) { this._o = _wzj; } return Object.defineProperty(_wzi.prototype, 'id', { 'get': function() { var _wzk = null; return _wzf.ObjUtil.getNumber(this._o, 'api_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_wzi.prototype, 'no', { 'get': function() { var _wzl = null; return _wzf.ObjUtil.getNumber(this._o, 'api_no'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_wzi.prototype, 'color', { 'get': function() { var _wzm = null; return _wzf.ObjUtil.getNumber(this._o, 'api_color_no'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_wzi.prototype, 'passed', { 'get': function() { var _wzn = null; return 1 == _wzf.ObjUtil.getNumber(this._o, 'api_passed'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_wzi.prototype, 'distance', { 'get': function() { var _wzo = null; return _wzf.ObjUtil.getNumber(this._o, 'api_distance'); }, 'enumerable': !1, 'configurable': !0 }), _wzi; }()); _wzc.CellModel = _wzg; }, 95614: (_wzp, _wzq, _wzr) => { 'use strict'; var _wzs = null; defineModule(_wzq); Object.defineProperty(_wzq, '__esModule', { 'value': !0 }), _wzq.DropItemModel = void 0; var _wzt = _wzr(89939), _wzu = (function() { var _wzv = null; function _wzw(_wzx) { this._o = _wzx; } return Object.defineProperty(_wzw.prototype, 'type', { 'get': function() { var _wzy = null; return _wzt.ObjUtil.getNumber(this._o, 'api_usemst'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_wzw.prototype, 'count', { 'get': function() { var _wzz = null; return _wzt.ObjUtil.getNumber(this._o, 'api_getcount'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_wzw.prototype, 'icon_id', { 'get': function() { var _x00 = null; return _wzt.ObjUtil.getNumber(this._o, 'api_icon_id'); }, 'enumerable': !1, 'configurable': !0 }), _wzw.prototype.getUseitemMstID = function() { var _x01 = null; return 4 == this.type ? [-1, 31, 32, 33, 34, 2, 1, 3, 4][this.icon_id] : 5 == this.type ? this.icon_id : 0; }, _wzw; }()); _wzq.DropItemModel = _wzu; }, 22595: (_x02, _x03, _x04) => { 'use strict'; var _x05 = null; defineModule(_x03); Object.defineProperty(_x03, '__esModule', { 'value': !0 }), _x03.EOItemModel = void 0; var _x06 = _x04(89939), _x07 = (function() { var _x08 = null; function _x09(_x0a) { this._o = _x0a; } return Object.defineProperty(_x09.prototype, 'type', { 'get': function() { var _x0b = null; return _x06.ObjUtil.getNumber(this._o, 'api_usemst'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_x09.prototype, 'id', { 'get': function() { var _x0c = null; return _x06.ObjUtil.getNumber(this._o, 'api_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_x09.prototype, 'count', { 'get': function() { var _x0d = null; return _x06.ObjUtil.getNumber(this._o, 'api_getcount'); }, 'enumerable': !1, 'configurable': !0 }), _x09; }()); _x03.EOItemModel = _x07; }, 59268: (_x0e, _x0f, _x0g) => { 'use strict'; var _x0h = null; defineModule(_x0f); Object.defineProperty(_x0f, '__esModule', { 'value': !0 }), _x0f.HappeningModel = void 0; var _x0i = _x0g(14921), _x0j = (function() { var _x0k = null; function _x0l(_x0m) { this._o = _x0m; } return Object.defineProperty(_x0l.prototype, 'lost_mstid', { 'get': function() { var _x0n = null; return _x0i.ObjUtil.getNumber(this._o, 'api_mst_id', 0); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_x0l.prototype, 'lost_count', { 'get': function() { var _x0o = null; return _x0i.ObjUtil.getNumber(this._o, 'api_count', 0); }, 'enumerable': !1, 'configurable': !0 }), _x0l.prototype.isDentan = function() { var _x0p = null; return 1 == _x0i.ObjUtil.getNumber(this._o, 'api_dentan', 0); }, _x0l.prototype.getUseitemMstID = function() { var _x0q = null; return [-1, 31, 32, 33, 34, 2, 1, 3, 4][this.lost_mstid]; }, _x0l; }()); _x0f.HappeningModel = _x0j; }, 12325: function(_x0r, _x0s, _x0t) { 'use strict'; var _x0u = null; var _x0v, _x0w = this && this.__extends || (_x0v = function(_x0x, _x0y) { var _x0z = null; return _x0v = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_x10, _x11) { var _x12 = null; _x10.__proto__ = _x11; } || function(_x13, _x14) { var _x15 = null; for (var _x16 in _x14) Object.prototype.hasOwnProperty.call(_x14, _x16) && (_x13[_x16] = _x14[_x16]); }, _x0v(_x0x, _x0y); }, function(_x17, _x18) { var _x19 = null; if ('function' != typeof _x18 && null !== _x18) throw new TypeError('Class extends value ' + String(_x18) + ' is not a constructor or null'); function _x1a() { var _x1b = null; this.constructor = _x17; } _x0v(_x17, _x18), _x17.prototype = null === _x18 ? Object.create(_x18) : (_x1a.prototype = _x18.prototype, new _x1a()); }); defineModule(_x0s); Object.defineProperty(_x0s, '__esModule', { 'value': !0 }), _x0s.MapSceneModel = void 0; var _x1c = function(_x1d) { var _x1e = null; function _x1f(_x1g, _x1h) { var _x1i = null, _x1j = _x1d.call(this) || this; return _x1j._sortie_data = _x1g, _x1j._deck_f = _x1h, _x1j; } return _x0w(_x1f, _x1d), Object.defineProperty(_x1f.prototype, 'sortie', { 'get': function() { var _x1k = null; return this._sortie_data; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_x1f.prototype, 'deck_f', { 'get': function() { var _x1l = null; return this._deck_f; }, 'enumerable': !1, 'configurable': !0 }), _x1f; }(_x0t(27218).SceneModel); _x0s.MapSceneModel = _x1c; }, 93538: (_x1m, _x1n, _x1o) => { 'use strict'; var _x1p = null; defineModule(_x1n); Object.defineProperty(_x1n, '__esModule', { 'value': !0 }), _x1n.NextModel = void 0; var _x1q = _x1o(89939), _x1r = _x1o(45392), _x1s = _x1o(95614), _x1t = _x1o(22595), _x1u = _x1o(59268), _x1v = _x1o(50854), _x1w = (function() { var _x1x = null; function _x1y(_x1z) { this._o = _x1z; } return Object.defineProperty(_x1y.prototype, 'rashin_id', { 'get': function() { var _x20 = null; return _x1q.ObjUtil.getNumber(this._o, 'api_rashin_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_x1y.prototype, 'no', { 'get': function() { var _x21 = null; return _x1q.ObjUtil.getNumber(this._o, 'api_no'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_x1y.prototype, 'event_id', { 'get': function() { var _x22 = null; return _x1q.ObjUtil.getNumber(this._o, 'api_event_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_x1y.prototype, 'event_detail_id', { 'get': function() { var _x23 = null; return _x1q.ObjUtil.getNumber(this._o, 'api_event_kind'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_x1y.prototype, 'flavor_text', { 'get': function() { var _x24 = null, _x25 = _x1q.ObjUtil.getObject(this._o, 'api_cell_flavor'); return null == _x25 ? '' : _x1q.ObjUtil.getString(_x25, 'api_message'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_x1y.prototype, 'flavor_text_type', { 'get': function() { var _x26 = null, _x27 = _x1q.ObjUtil.getObject(this._o, 'api_cell_flavor'); return null == _x27 ? 0 : _x1q.ObjUtil.getNumber(_x27, 'api_type'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_x1y.prototype, 'jakeID', { 'get': function() { var _x28 = null; return _x1q.ObjUtil.getNumber(this._o, 'api_production_kind'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_x1y.prototype, 'balloonID', { 'get': function() { var _x29 = null; return _x1q.ObjUtil.getNumber(this._o, 'api_comment_kind'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_x1y.prototype, 'gauge_now', { 'get': function() { var _x2a = null; return _x1q.ObjUtil.getNumber(this._eventdata, 'api_now_maphp'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_x1y.prototype, 'gauge_max', { 'get': function() { var _x2b = null; return _x1q.ObjUtil.getNumber(this._eventdata, 'api_max_maphp'); }, 'enumerable': !1, 'configurable': !0 }), _x1y.prototype.hasCompass = function() { var _x2c = null; return 1 == _x1q.ObjUtil.getNumber(this._o, 'api_rashin_flg'); }, _x1y.prototype.isDeadEnd = function() { var _x2d = null; return 0 == _x1q.ObjUtil.getNumber(this._o, 'api_next'); }, _x1y.prototype.isJunction = function() { var _x2e = null, _x2f = this.getSelectableRoutes(); return null != _x2f && !(_x2f.length <= 1); }, _x1y.prototype.getDropItems = function() { var _x2g = null, _x2h = _x1q.ObjUtil.getObjectArray(this._o, 'api_itemget'); return null == _x2h ? [] : 1 == _x2h.hasOwnProperty('length') ? _x2h.map(function(_x2i, _x2j, _x2k) { var _x2l = null; return new _x1s.DropItemModel(_x2i); }) : [new _x1s.DropItemModel(_x2h)]; }, _x1y.prototype.getHappeningData = function() { var _x2m = null, _x2n = _x1q.ObjUtil.getObject(this._o, 'api_happening'); return new _x1u.HappeningModel(_x2n); }, _x1y.prototype.getSelectableRoutes = function() { var _x2o = null, _x2p = _x1q.ObjUtil.getObject(this._o, 'api_select_route'); return null == _x2p ? null : _x1q.ObjUtil.getNumArray(_x2p, 'api_select_cells'); }, _x1y.prototype.getEOSupplyItem = function() { var _x2q = null, _x2r = _x1q.ObjUtil.getObject(this._o, 'api_itemget_eo_comment'); return null == _x2r ? null : new _x1t.EOItemModel(_x2r); }, _x1y.prototype.getEOSupplyBonusItem = function() { var _x2s = null, _x2t = _x1q.ObjUtil.getObject(this._o, 'api_itemget_eo_result'); return null == _x2t ? null : new _x1t.EOItemModel(_x2t); }, _x1y.prototype.getEOSupplyWarResult = function() { var _x2u = null; return _x1q.ObjUtil.getNumber(this._o, 'api_get_eo_rate'); }, _x1y.prototype.getReplenishmentData = function() { var _x2v = null, _x2w = _x1q.ObjUtil.getObject(this._o, 'api_offshore_supply'); return null == _x2w ? null : new _x1v.ReplenishmentModel(_x2w); }, _x1y.prototype.getAirReconnaissanceData = function() { var _x2x = null, _x2y = _x1q.ObjUtil.getObject(this._o, 'api_airsearch'); return null == _x2y ? null : new _x1r.AirReconnaissanceModel(_x2y); }, _x1y.prototype.isUsableRation = function() { var _x2z = null; return 1 == _x1q.ObjUtil.getNumber(this._o, 'api_ration_flag'); }, _x1y.prototype.getAnchorageRepair = function() { var _x30 = null; return 1 == _x1q.ObjUtil.getNumber(this._o, 'api_anchorage_flag'); }, _x1y.prototype.getM1 = function() { var _x31 = null; return _x1q.ObjUtil.getNumber(this._o, 'api_m1'); }, _x1y.prototype.getM10 = function() { var _x32 = null; return _x1q.ObjUtil.getNumber(this._o, 'api_m10'); }, _x1y.prototype.hasEventMapData = function() { var _x33 = null; return this._o.hasOwnProperty('api_eventmap'); }, _x1y.prototype.getAirraidDataObject = function() { var _x34 = null; return _x1q.ObjUtil.getObject(this._o, 'api_destruction_battle'); }, _x1y.prototype.hasBokuAirUnit = function() { var _x35 = null, _x36 = this.getAirraidDataObject(); return null != _x36 && null != _x1q.ObjUtil.getObject(_x36, 'api_map_squadron_plane'); }, Object.defineProperty(_x1y.prototype, '_eventdata', { 'get': function() { var _x37 = null; return _x1q.ObjUtil.getObject(this._o, 'api_eventmap'); }, 'enumerable': !1, 'configurable': !0 }), _x1y.prototype.getEnemyDeckSilhouette = function() { var _x38 = null, _x39 = _x1q.ObjUtil.getObjectArray(this._o, 'api_e_deck_info'), _x3a = []; if (null != _x39) for (var _x3b = 0, _x3c = _x39; _x3b < _x3c.length; _x3b++) { var _x3d = _x3c[_x3b]; null != _x3d && _x3a.push({ 'ids': _x1q.ObjUtil.getNumArray(_x3d, 'api_ship_ids'), 'kind': _x1q.ObjUtil.getNumber(_x3d, 'api_kind') }); } return _x3a; }, _x1y.prototype.getLimitedSmoke = function() { var _x3e = null; return 1 == _x1q.ObjUtil.getNumber(this._o, 'api_limit_state'); }, _x1y; }()); _x1n.NextModel = _x1w; }, 50854: (_x3f, _x3g, _x3h) => { 'use strict'; var _x3i = null; defineModule(_x3g); Object.defineProperty(_x3g, '__esModule', { 'value': !0 }), _x3g.ReplenishmentModel = void 0; var _x3j = _x3h(14921), _x3k = (function() { var _x3l = null; function _x3m(_x3n) { this._o = _x3n; } return Object.defineProperty(_x3m.prototype, 'ship_mem_id', { 'get': function() { var _x3o = null; return _x3j.ObjUtil.getNumber(this._o, 'api_supply_ship'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_x3m.prototype, 'ship_mem_id_supplied', { 'get': function() { var _x3p = null; return _x3j.ObjUtil.getNumber(this._o, 'api_given_ship'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_x3m.prototype, 'num_of_use', { 'get': function() { var _x3q = null; return _x3j.ObjUtil.getNumber(this._o, 'api_use_num'); }, 'enumerable': !1, 'configurable': !0 }), _x3m; }()); _x3g.ReplenishmentModel = _x3k; }, 36420: function(_x3r, _x3s, _x3t) { 'use strict'; var _x3u = null; var _x3v, _x3w = this && this.__extends || (_x3v = function(_x3x, _x3y) { var _x3z = null; return _x3v = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_x40, _x41) { var _x42 = null; _x40.__proto__ = _x41; } || function(_x43, _x44) { var _x45 = null; for (var _x46 in _x44) Object.prototype.hasOwnProperty.call(_x44, _x46) && (_x43[_x46] = _x44[_x46]); }, _x3v(_x3x, _x3y); }, function(_x47, _x48) { var _x49 = null; if ('function' != typeof _x48 && null !== _x48) throw new TypeError('Class extends value ' + String(_x48) + ' is not a constructor or null'); function _x4a() { var _x4b = null; this.constructor = _x47; } _x3v(_x47, _x48), _x47.prototype = null === _x48 ? Object.create(_x48) : (_x4a.prototype = _x48.prototype, new _x4a()); }); defineModule(_x3s); Object.defineProperty(_x3s, '__esModule', { 'value': !0 }), _x3s.SortieModelEdit = _x3s.SortieModel = void 0; var _x4c = _x3t(84412), _x4d = _x3t(89939), _x4e = _x3t(9003), _x4f = _x3t(93538), _x4g = (function() { var _x4h = null; function _x4i() { var _x4j = null; this._start_cell_no = 0, this._obtained_items = new Array(); } return Object.defineProperty(_x4i.prototype, 'map', { 'get': function() { var _x4k = null; return this._map; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_x4i.prototype, 'cells', { 'get': function() { var _x4l = null; return this._cells; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_x4i.prototype, 'area_id', { 'get': function() { var _x4m = null; return this._area_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_x4i.prototype, 'map_no', { 'get': function() { var _x4n = null; return this._map_no; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_x4i.prototype, 'map_id', { 'get': function() { var _x4o = null; return 10 * this.area_id + this._map_no; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_x4i.prototype, 'now_cell_no', { 'get': function() { var _x4p = null; return this._data.length <= 1 ? this._start_cell_no : this._data[this._data.length - 2].no; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_x4i.prototype, 'obtained_items', { 'get': function() { var _x4q = null; return this._obtained_items; }, 'enumerable': !1, 'configurable': !0 }), _x4i.prototype.getCellInfo = function(_x4r) { var _x4s = null; for (var _x4t = 0, _x4u = this._cells; _x4t < _x4u.length; _x4t++) { var _x4v = _x4u[_x4t]; if (_x4v.no == _x4r) return _x4v; } return null; }, _x4i.prototype.getCellNoAll = function() { var _x4w = null; for (var _x4x = [], _x4y = 0, _x4z = this._cells; _x4y < _x4z.length; _x4y++) { var _x50 = _x4z[_x4y]; _x4x.push(_x50.no); } return _x4x; }, _x4i.prototype.getNextCell = function() { var _x51 = null; return this._data[this._data.length - 1]; }, _x4i.prototype.getGaugeKey = function() { var _x52 = null, _x53 = this.map.getGaugeNum(); return _x4c.GaugeSetModel.createKey(this._area_id, this._map_no, _x53); }, _x4i; }()); _x3s.SortieModel = _x4g; var _x54 = function(_x55) { var _x56 = null; function _x57() { var _x58 = null; return null !== _x55 && _x55.apply(this, arguments) || this; } return _x3w(_x57, _x55), _x57.prototype.__init__ = function(_x59, _x5a) { var _x5b = null; this._map = _x59; var _x5c = _x5a.api_cell_data; delete _x5a.api_cell_data, this._cells = new Array(); for (var _x5d = 0, _x5e = _x5c; _x5d < _x5e.length; _x5d++) { var _x5f = _x5e[_x5d]; this._cells.push(new _x4e.CellModel(_x5f)); } this._data = [], this._area_id = _x4d.ObjUtil.getNumber(_x5a, 'api_maparea_id'), this._map_no = _x4d.ObjUtil.getNumber(_x5a, 'api_mapinfo_no'), this._start_cell_no = _x4d.ObjUtil.getNumber(_x5a, 'api_from_no'), this._data.push(new _x4f.NextModel(_x5a)); }, _x57.prototype.__add__ = function(_x5g) { var _x5h = null; this._data.push(new _x4f.NextModel(_x5g)); }, _x57; }(_x4g); _x3s.SortieModelEdit = _x54; }, 19855: function(_x5i, _x5j, _x5k) { 'use strict'; var _x5l = null; var _x5m, _x5n = this && this.__extends || (_x5m = function(_x5o, _x5p) { var _x5q = null; return _x5m = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_x5r, _x5s) { var _x5t = null; _x5r.__proto__ = _x5s; } || function(_x5u, _x5v) { var _x5w = null; for (var _x5x in _x5v) Object.prototype.hasOwnProperty.call(_x5v, _x5x) && (_x5u[_x5x] = _x5v[_x5x]); }, _x5m(_x5o, _x5p); }, function(_x5y, _x5z) { var _x60 = null; if ('function' != typeof _x5z && null !== _x5z) throw new TypeError('Class extends value ' + String(_x5z) + ' is not a constructor or null'); function _x61() { var _x62 = null; this.constructor = _x5y; } _x5m(_x5y, _x5z), _x5y.prototype = null === _x5z ? Object.create(_x5z) : (_x61.prototype = _x5z.prototype, new _x61()); }); defineModule(_x5j); Object.defineProperty(_x5j, '__esModule', { 'value': !0 }), _x5j.FinalizeTask = _x5j.PreFinalizeTask = void 0; var _x63 = _x5k(37562), _x64 = function(_x65) { var _x66 = null; function _x67(_x68) { var _x69 = null, _x6a = _x65.call(this) || this; return _x6a._view = _x68, _x6a; } return _x5n(_x67, _x65), _x67.prototype._start = function() { var _x6b = null; this._view = null, this._endTask(); }, _x67; }(_x63.TaskBase); _x5j.PreFinalizeTask = _x64; var _x6c = function(_x6d) { var _x6e = null; function _x6f(_x6g) { var _x6h = null, _x6i = _x6d.call(this) || this; return _x6i._view = _x6g, _x6i; } return _x5n(_x6f, _x6d), _x6f.prototype._start = function() { var _x6j = null, _x6k = this, _x6l = this._view.viewSub; null != _x6l && null != _x6l.airunit_layer && _x6l.airunit_layer.children.length > 0 ? (_x6l.airunit_layer.updateTempraryData(), _x6l.airunit_layer.createUpdateAPI().start(function() { var _x6m = null; _x6k._view.dispose(), _x6k._view = null, _x6k._endTask(); })) : (this._view.dispose(), this._view = null, this._endTask()); }, _x6f; }(_x63.TaskBase); _x5j.FinalizeTask = _x6c; }, 1897: function(_x6n, _x6o, _x6p) { 'use strict'; var _x6q = null; var _x6r, _x6s = this && this.__extends || (_x6r = function(_x6t, _x6u) { var _x6v = null; return _x6r = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_x6w, _x6x) { var _x6y = null; _x6w.__proto__ = _x6x; } || function(_x6z, _x70) { var _x71 = null; for (var _x72 in _x70) Object.prototype.hasOwnProperty.call(_x70, _x72) && (_x6z[_x72] = _x70[_x72]); }, _x6r(_x6t, _x6u); }, function(_x73, _x74) { var _x75 = null; if ('function' != typeof _x74 && null !== _x74) throw new TypeError('Class extends value ' + String(_x74) + ' is not a constructor or null'); function _x76() { var _x77 = null; this.constructor = _x73; } _x6r(_x73, _x74), _x73.prototype = null === _x74 ? Object.create(_x74) : (_x76.prototype = _x74.prototype, new _x76()); }), _x78 = this && this.__importDefault || function(_x79) { var _x7a = null; return _x79 && _x79.__esModule ? _x79 : { 'default': _x79 }; }; defineModule(_x6o); Object.defineProperty(_x6o, '__esModule', { 'value': !0 }), _x6o.InitializeTask = _x6o.PreInitializeTask = void 0; var _x7b = _x78(_x6p(18622)), _x7c = _x6p(81755), _x7d = _x6p(82899), _x7e = _x6p(71633), _x7f = function(_x7g) { var _x7h = null; function _x7i(_x7j) { var _x7k = null, _x7l = _x7g.call(this) || this; return _x7l._scene = _x7j, _x7l; } return _x6s(_x7i, _x7g), _x7i.prototype._start = function() { var _x7m = null; this._loadResources(); }, _x7i.prototype._loadResources = function() { var _x7n = null, _x7o = this, _x7p = null != _x7b.default.model.map.getArea(_x7e.EventConst.AREA_ID); new _x7d.TaskLoadResourcesSally(_x7p).start(function() { var _x7q = null; _x7o._showTopView(); }); }, _x7i.prototype._showTopView = function() { var _x7r = null, _x7s = _x7b.default.model.deck.num > 1; this._scene.initialize(_x7s), this._scene = null, this._endTask(); }, _x7i; }(_x7c.TaskBase); _x6o.PreInitializeTask = _x7f; var _x7t = function(_x7u) { var _x7v = null; function _x7w(_x7x) { var _x7y = null, _x7z = _x7u.call(this) || this; return _x7z._scene = _x7x, _x7z; } return _x6s(_x7w, _x7u), _x7w.prototype._start = function() { var _x80 = null; this._playBGM(); }, _x7w.prototype._playBGM = function() { var _x81 = null; _x7b.default.sound.bgm.play(103), this._startScene(); }, _x7w.prototype._startScene = function() { var _x82 = null; this._scene.startTopTask(), this._endTask(); }, _x7w; }(_x7c.TaskBase); _x6o.InitializeTask = _x7t; }, 17094: function(_x83, _x84, _x85) { 'use strict'; var _x86 = null; var _x87, _x88 = this && this.__extends || (_x87 = function(_x89, _x8a) { var _x8b = null; return _x87 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_x8c, _x8d) { var _x8e = null; _x8c.__proto__ = _x8d; } || function(_x8f, _x8g) { var _x8h = null; for (var _x8i in _x8g) Object.prototype.hasOwnProperty.call(_x8g, _x8i) && (_x8f[_x8i] = _x8g[_x8i]); }, _x87(_x89, _x8a); }, function(_x8j, _x8k) { var _x8l = null; if ('function' != typeof _x8k && null !== _x8k) throw new TypeError('Class extends value ' + String(_x8k) + ' is not a constructor or null'); function _x8m() { var _x8n = null; this.constructor = _x8j; } _x87(_x8j, _x8k), _x8j.prototype = null === _x8k ? Object.create(_x8k) : (_x8m.prototype = _x8k.prototype, new _x8m()); }), _x8o = this && this.__importDefault || function(_x8p) { var _x8q = null; return _x8p && _x8p.__esModule ? _x8p : { 'default': _x8p }; }; defineModule(_x84); Object.defineProperty(_x84, '__esModule', { 'value': !0 }), _x84.SallyAnimationTask = void 0; var _x8r = _x8o(_x85(21359)), _x8s = _x85(85492), _x8t = _x85(81755), _x8u = _x85(54011), _x8v = _x85(31669), _x8w = function(_x8x) { var _x8y = null; function _x8z(_x90) { var _x91 = null, _x92 = _x8x.call(this) || this; return _x92._layer = _x90, _x92; } return _x88(_x8z, _x8x), _x8z.prototype._start = function() { var _x93 = null; this._canvas = new PIXI.Container(), this._layer.addChild(this._canvas); var _x94 = _x8v.SALLY_MAP_PARTS.getTexture(1); this._bg = new PIXI.Sprite(_x94), this._bg.width = _x8r.default.width, this._bg.anchor.set(0.5, 0.5), this._bg.position.set(_x8r.default.width / 2, _x8r.default.height / 2), this._bg.scale.y = 0, this._canvas.addChild(this._bg), _x94 = _x8v.SALLY_MAP_PARTS.getTexture(0), this._light = new PIXI.Sprite(_x94), this._light.width = _x8r.default.width, this._light.anchor.set(0, 0.5), this._light.position.set(_x8r.default.width, _x8r.default.height / 2), this._canvas.addChild(this._light), this._text1 = new _x8u.Sprite(_x8v.SALLY_MAP_PARTS.getTexture(2)), this._text1.anchor.set(0.5, 0.5), this._text1.position.set(_x8r.default.width / 2, _x8r.default.height / 2), this._text1.scale.set(1.6), this._text1.alpha = 0, this._canvas.addChild(this._text1), this._text2 = new _x8u.Sprite(_x8v.SALLY_MAP_PARTS.getTexture(2)), this._text2.anchor.set(0.5, 0.5), this._text2.position.set(_x8r.default.width / 2, _x8r.default.height / 2), this._text2.scale.set(1.6), this._text2.alpha = 0, this._canvas.addChild(this._text2), this._startAnimation(); }, _x8z.prototype._startAnimation = function() { var _x95 = null, _x96 = this, _x97 = new _x8s.TweenTask(); _x97.addTweens([createjs.Tween.get(this._bg.scale).to({ 'y': 1 }, 200), createjs.Tween.get(this._light).to({ 'x': 0 }, 400).wait(150).to({ 'y': _x8r.default.height / 2 + 8 }, 50).to({ 'y': _x8r.default.height / 2 - 5 }, 50).to({ 'y': _x8r.default.height / 2 }, 50), createjs.Tween.get(this._text1).wait(400).to({ 'alpha': 1, 'scaleX': 1, 'scaleY': 1 }, 200), createjs.Tween.get(this._text2).wait(300).to({ 'alpha': 1, 'scaleX': 1, 'scaleY': 1 }, 200)]), _x97.start(function() { var _x98 = null; createjs.Tween.get(_x96._canvas).to({ 'alpha': 0 }, 200).call(function() { var _x99 = null; _x96._endTask(); }); }); }, _x8z.prototype._endTask = function() { var _x9a = null; this._canvas.removeChildren(), this._layer.removeChild(this._canvas), this._layer = null, _x8x.prototype._endTask.call(this); }, _x8z; }(_x8t.TaskBase); _x84.SallyAnimationTask = _x8w; }, 65790: function(_x9b, _x9c, _x9d) { 'use strict'; var _x9e = null; var _x9f, _x9g = this && this.__extends || (_x9f = function(_x9h, _x9i) { var _x9j = null; return _x9f = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_x9k, _x9l) { var _x9m = null; _x9k.__proto__ = _x9l; } || function(_x9n, _x9o) { var _x9p = null; for (var _x9q in _x9o) Object.prototype.hasOwnProperty.call(_x9o, _x9q) && (_x9n[_x9q] = _x9o[_x9q]); }, _x9f(_x9h, _x9i); }, function(_x9r, _x9s) { var _x9t = null; if ('function' != typeof _x9s && null !== _x9s) throw new TypeError('Class extends value ' + String(_x9s) + ' is not a constructor or null'); function _x9u() { var _x9v = null; this.constructor = _x9r; } _x9f(_x9r, _x9s), _x9r.prototype = null === _x9s ? Object.create(_x9s) : (_x9u.prototype = _x9s.prototype, new _x9u()); }), _x9w = this && this.__importDefault || function(_x9x) { var _x9y = null; return _x9x && _x9x.__esModule ? _x9x : { 'default': _x9x }; }; defineModule(_x9c); Object.defineProperty(_x9c, '__esModule', { 'value': !0 }), _x9c.TaskTemporarySupply = void 0; var _x9z = _x9w(_x9d(18622)), _xa0 = _x9d(81755), _xa1 = _x9d(54871), _xa2 = _x9d(79899), _xa3 = _x9d(89007), _xa4 = function(_xa5) { var _xa6 = null; function _xa7(_xa8, _xa9, _xaa) { var _xab = null, _xac = _xa5.call(this) || this; _xac._ships = _xa8, _xac._rader = _xa9, _xac._onUpdate = _xaa, _xac._fuel = 0, _xac._ammo = 0; for (var _xad = 0; _xad < _xa8.length; _xad++) { var _xae = _xa8[_xad]; null != _xae && (_xac._fuel += _xae.getFuelForSupply(), _xac._ammo += _xae.getAmmoForSupply()); } var _xaf = _x9z.default.model.useItem.getCount(31), _xag = _x9z.default.model.useItem.getCount(32); return _xac._fuelActive = _xac._fuel > 0 && _xac._fuel <= _xaf, _xac._ammoActive = _xac._ammo > 0 && _xac._ammo <= _xag, _xac; } return _x9g(_xa7, _xa5), _xa7.prototype._start = function() { var _xah = null; this._clickGuard = new _xa2.AreaBox(0), _x9z.default.view.overLayer.addChild(this._clickGuard), this._hideRader(); }, _xa7.prototype._hideRader = function() { var _xai = null, _xaj = this; createjs.Tween.get(this._rader.scale).to({ 'x': 0, 'y': 0 }, 300, createjs.Ease.quadIn).call(function() { var _xak = null; _xaj._showSupplyAnimationBox(); }); }, _xa7.prototype._showSupplyAnimationBox = function() { var _xal = null, _xam = this; this._box = new _xa3.TempSupplyBox(), this._box.initialize(), this._box.x = 360, this._box.y = 120, this._box.alpha = 0; var _xan = this._rader.parent; null != _xan && _xan.addChild(this._box), this._box.update(this._fuel, this._ammo), createjs.Tween.get(this._box).to({ 'alpha': 1 }, 500).call(function() { var _xao = null; _xam._playSupplyAnimation(); }); }, _xa7.prototype._playSupplyAnimation = function() { var _xap = null, _xaq = this; this._box.play(this._fuelActive, this._ammoActive, function() { var _xar = null; 1 == _xaq._fuelActive && (_xaq._fuel = 0), 1 == _xaq._ammoActive && (_xaq._ammo = 0), _xaq._box.update(_xaq._fuel, _xaq._ammo), _xaq._connectionAPI(); }); }, _xa7.prototype._getSupplyType = function() { var _xas = null; return 1 == this._fuelActive ? 1 == this._ammoActive ? 3 : 1 : 1 == this._ammoActive ? 2 : 0; }, _xa7.prototype._connectionAPI = function() { var _xat = null; for (var _xau = this, _xav = this._getSupplyType(), _xaw = [], _xax = 0; _xax < this._ships.length; _xax++) { var _xay = this._ships[_xax]; null != _xay && _xaw.push(_xay.memID); } new _xa1.ChargeAPI(_xav, _xaw, !1).start(function() { var _xaz = null; createjs.Tween.get(_xau._box).to({ 'alpha': 0 }, 500).call(function() { var _xb0 = null; _xau._reShowRader(); }); }); }, _xa7.prototype._reShowRader = function() { var _xb1 = null, _xb2 = this; null != this._onUpdate && this._onUpdate(), null != this._box.parent && this._box.parent.removeChild(this._box), createjs.Tween.get(this._rader.scale).to({ 'x': 1, 'y': 1 }, 300, createjs.Ease.quadOut).call(function() { var _xb3 = null; null != _xb2._clickGuard.parent && _xb2._clickGuard.parent.removeChild(_xb2._clickGuard), _xb2._endTask(); }); }, _xa7.prototype._endTask = function() { var _xb4 = null; this._ships = null, this._rader = null, this._onUpdate = null, this._clickGuard = null, this._box && this._box.dispose(), this._box = null, _xa5.prototype._endTask.call(this); }, _xa7; }(_xa0.TaskBase); _x9c.TaskTemporarySupply = _xa4; }, 41586: function(_xb5, _xb6, _xb7) { 'use strict'; var _xb8 = null; var _xb9, _xba = this && this.__extends || (_xb9 = function(_xbb, _xbc) { var _xbd = null; return _xb9 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_xbe, _xbf) { var _xbg = null; _xbe.__proto__ = _xbf; } || function(_xbh, _xbi) { var _xbj = null; for (var _xbk in _xbi) Object.prototype.hasOwnProperty.call(_xbi, _xbk) && (_xbh[_xbk] = _xbi[_xbk]); }, _xb9(_xbb, _xbc); }, function(_xbl, _xbm) { var _xbn = null; if ('function' != typeof _xbm && null !== _xbm) throw new TypeError('Class extends value ' + String(_xbm) + ' is not a constructor or null'); function _xbo() { var _xbp = null; this.constructor = _xbl; } _xb9(_xbl, _xbm), _xbl.prototype = null === _xbm ? Object.create(_xbm) : (_xbo.prototype = _xbm.prototype, new _xbo()); }); defineModule(_xb6); Object.defineProperty(_xb6, '__esModule', { 'value': !0 }), _xb6.TaskTop = void 0; var _xbq = _xb7(81755), _xbr = _xb7(35380), _xbs = function(_xbt) { var _xbu = null; function _xbv(_xbw) { var _xbx = null, _xby = _xbt.call(this) || this; return _xby._selected = null, _xby._onClickSortie = function() { var _xbz = null; _xby._removeEventListeners(), _xby._selected = _xby._topView.btn_sortie, _xby._hideTween(); }, _xby._onClickPractice = function() { var _xc0 = null; _xby._removeEventListeners(), _xby._selected = _xby._topView.btn_practice, _xby._hideTween(); }, _xby._onClickExpedition = function() { var _xc1 = null; _xby._removeEventListeners(), _xby._selected = _xby._topView.btn_expedition, _xby._hideTween(); }, _xby._scene = _xbw, _xby._topView = _xbw.viewTop, _xby._tweens = new Array(), _xby; } return _xba(_xbv, _xbt), _xbv.prototype.cancel = function() { var _xc2 = null; this._removeEventListeners(); for (var _xc3 = 0, _xc4 = this._tweens; _xc3 < _xc4.length; _xc3++) { _xc4[_xc3].setPaused(!0); } this._tweens = null; }, _xbv.prototype._start = function() { var _xc5 = null; this._topView.btn_sortie.on(_xbr.EventType.CLICK, this._onClickSortie), this._topView.btn_practice.on(_xbr.EventType.CLICK, this._onClickPractice), this._topView.btn_expedition.on(_xbr.EventType.CLICK, this._onClickExpedition); }, _xbv.prototype._removeEventListeners = function() { var _xc6 = null; this._topView.btn_sortie.off(_xbr.EventType.CLICK, this._onClickSortie), this._topView.btn_practice.off(_xbr.EventType.CLICK, this._onClickPractice), this._topView.btn_expedition.off(_xbr.EventType.CLICK, this._onClickExpedition); }, _xbv.prototype._hideTween = function() { var _xc7 = null, _xc8 = this, _xc9 = this._topView.btn_sortie; _xc9 != this._selected && this._tweens.push(createjs.Tween.get(_xc9).to({ 'alpha': 0 }, 300)), (_xc9 = this._topView.btn_practice) != this._selected && this._tweens.push(createjs.Tween.get(_xc9).to({ 'alpha': 0 }, 300)), (_xc9 = this._topView.btn_expedition) != this._selected && this._tweens.push(createjs.Tween.get(_xc9).to({ 'alpha': 0 }, 300)), this._tweens[this._tweens.length - 1].call(function() { var _xca = null; _xc8._selected == _xc8._topView.btn_sortie ? _xc8._scene.openView(0) : _xc8._selected == _xc8._topView.btn_practice ? _xc8._scene.openView(1) : _xc8._selected == _xc8._topView.btn_expedition && _xc8._scene.openView(2), _xc8._endTask(); }); }, _xbv.prototype._endTask = function(_xcb) { var _xcc = null; void 0 === _xcb && (_xcb = !1), this._scene = null, this._topView = null, this._selected = null, this._tweens = null, _xbt.prototype._endTask.call(this); }, _xbv; }(_xbq.TaskBase); _xb6.TaskTop = _xbs; }, 85443: function(_xcd, _xce, _xcf) { 'use strict'; var _xcg = null; var _xch, _xci = this && this.__extends || (_xch = function(_xcj, _xck) { var _xcl = null; return _xch = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_xcm, _xcn) { var _xco = null; _xcm.__proto__ = _xcn; } || function(_xcp, _xcq) { var _xcr = null; for (var _xcs in _xcq) Object.prototype.hasOwnProperty.call(_xcq, _xcs) && (_xcp[_xcs] = _xcq[_xcs]); }, _xch(_xcj, _xck); }, function(_xct, _xcu) { var _xcv = null; if ('function' != typeof _xcu && null !== _xcu) throw new TypeError('Class extends value ' + String(_xcu) + ' is not a constructor or null'); function _xcw() { var _xcx = null; this.constructor = _xct; } _xch(_xct, _xcu), _xct.prototype = null === _xcu ? Object.create(_xcu) : (_xcw.prototype = _xcu.prototype, new _xcw()); }); defineModule(_xce); Object.defineProperty(_xce, '__esModule', { 'value': !0 }), _xce.ContainerDeckSelectBase = void 0; var _xcy = _xcf(87475), _xcz = _xcf(35380), _xd0 = function(_xd1) { var _xd2 = null; function _xd3(_xd4) { var _xd5 = null, _xd6 = _xd1.call(this) || this; return _xd6._onGo = function(_xd7, _xd8) { var _xd9 = null; void 0 === _xd7 && (_xd7 = 0), null != _xd6._cb && _xd6._cb(_xd7, _xd8); }, _xd6._onCancel = function() { var _xda = null; null != _xd6._cb && 1 == _xd6._cancelArea.buttonMode && _xd6._cb(0, -1); }, _xd6._cb = _xd4, _xd6._cancelArea = new _xcy.FadeBox(0.2), _xd6._cancelArea.hide(0), _xd6._cancelArea.interactive = !0, _xd6.addChild(_xd6._cancelArea), _xd6; } return _xci(_xd3, _xd1), Object.defineProperty(_xd3.prototype, 'cancelArea', { 'get': function() { var _xdb = null; return this._cancelArea; }, 'enumerable': !1, 'configurable': !0 }), _xd3.prototype.activate = function() { var _xdc = null; this._cancelArea.buttonMode = !0, this._cancelArea.on(_xcz.EventType.CLICK, this._onCancel); }, _xd3.prototype.deactivate = function() { var _xdd = null; this._cancelArea.buttonMode = !1, this._cancelArea.off(_xcz.EventType.CLICK, this._onCancel); }, _xd3.prototype.dispose = function() { var _xde = null; this.deactivate(), this.removeChildren(), this._cancelArea = null, this._cb = null; }, _xd3; }(PIXI.Container); _xce.ContainerDeckSelectBase = _xd0; }, 57857: function(_xdf, _xdg, _xdh) { 'use strict'; var _xdi = null; var _xdj, _xdk = this && this.__extends || (_xdj = function(_xdl, _xdm) { var _xdn = null; return _xdj = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_xdo, _xdp) { var _xdq = null; _xdo.__proto__ = _xdp; } || function(_xdr, _xds) { var _xdt = null; for (var _xdu in _xds) Object.prototype.hasOwnProperty.call(_xds, _xdu) && (_xdr[_xdu] = _xds[_xdu]); }, _xdj(_xdl, _xdm); }, function(_xdv, _xdw) { var _xdx = null; if ('function' != typeof _xdw && null !== _xdw) throw new TypeError('Class extends value ' + String(_xdw) + ' is not a constructor or null'); function _xdy() { var _xdz = null; this.constructor = _xdv; } _xdj(_xdv, _xdw), _xdv.prototype = null === _xdw ? Object.create(_xdw) : (_xdy.prototype = _xdw.prototype, new _xdy()); }); defineModule(_xdg); Object.defineProperty(_xdg, '__esModule', { 'value': !0 }), _xdg.FormationBoxContainer = void 0; var _xe0 = _xdh(71633), _xe1 = _xdh(2673), _xe2 = function(_xe3) { var _xe4 = null; function _xe5() { var _xe6 = null, _xe7 = _xe3.call(this) || this; _xe7._count = 0, _xe7._boxes = []; for (var _xe8 = 0; _xe8 < (_xe0.EventConst.KEIKAIJIN ? 6 : 5); _xe8++) { var _xe9 = new _xe1.FormationBox(!0); _xe7.addChild(_xe9), _xe7._boxes.push(_xe9); } return _xe7; } return _xdk(_xe5, _xe3), Object.defineProperty(_xe5.prototype, 'count', { 'get': function() { var _xea = null; return this._count; }, 'enumerable': !1, 'configurable': !0 }), _xe5.prototype.initialize = function(_xeb, _xec, _xed) { var _xee = null; void 0 === _xed && (_xed = -1), _xed <= 0 && (_xed = _xeb), this._count = 0; for (var _xef = 0; _xef < this._boxes.length; _xef++) { (_xeg = this._boxes[_xef]).initialize(_xef + 1, _xeb, _xec, _xed), 1 == _xeg.enabled && this._count++; } var _xeh, _xei; _xe0.EventConst.KEIKAIJIN ? 6 == this._count ? (_xeh = [581, 776, 974, 581, 776, 974], _xei = [92, 92, 92, 330, 330, 330]) : (_xeh = [680, 876, 1073, 581, 776, 974], _xei = [92, 92, 92, 330, 330, 330]) : (_xeh = [581, 776, 974, 683, 879], _xei = [92, 92, 92, 330, 330]); for (_xef = 0; _xef < this._boxes.length; _xef++) { var _xeg = this._boxes[_xef], _xej = _xeh[_xef], _xek = _xei[_xef]; _xeg.position.set(_xej, _xek); } }, _xe5.prototype.activate = function() { var _xel = null; for (var _xem = 0, _xen = this._boxes; _xem < _xen.length; _xem++) { _xen[_xem].activate(); } }, _xe5.prototype.deactivate = function() { var _xeo = null; for (var _xep = 0, _xeq = this._boxes; _xep < _xeq.length; _xep++) { _xeq[_xep].deactivate(); } }, _xe5.prototype.dispose = function() { var _xer = null; for (var _xes = 0, _xet = this._boxes; _xes < _xet.length; _xes++) { _xet[_xes].dispose(); } }, _xe5; }(PIXI.Container); _xdg.FormationBoxContainer = _xe2; }, 21315: function(_xeu, _xev, _xew) { 'use strict'; var _xex = null; var _xey, _xez = this && this.__extends || (_xey = function(_xf0, _xf1) { var _xf2 = null; return _xey = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_xf3, _xf4) { var _xf5 = null; _xf3.__proto__ = _xf4; } || function(_xf6, _xf7) { var _xf8 = null; for (var _xf9 in _xf7) Object.prototype.hasOwnProperty.call(_xf7, _xf9) && (_xf6[_xf9] = _xf7[_xf9]); }, _xey(_xf0, _xf1); }, function(_xfa, _xfb) { var _xfc = null; if ('function' != typeof _xfb && null !== _xfb) throw new TypeError('Class extends value ' + String(_xfb) + ' is not a constructor or null'); function _xfd() { var _xfe = null; this.constructor = _xfa; } _xey(_xfa, _xfb), _xfa.prototype = null === _xfb ? Object.create(_xfb) : (_xfd.prototype = _xfb.prototype, new _xfd()); }); defineModule(_xev); Object.defineProperty(_xev, '__esModule', { 'value': !0 }), _xev.FormationBoxContainerCombined = void 0; var _xff = _xew(1719), _xfg = function(_xfh) { var _xfi = null; function _xfj() { var _xfk = null, _xfl = _xfh.call(this) || this; return _xfl._count = 0, _xfl._boxes = [], _xfl; } return _xez(_xfj, _xfh), Object.defineProperty(_xfj.prototype, 'count', { 'get': function() { var _xfm = null; return this._count; }, 'enumerable': !1, 'configurable': !0 }), _xfj.prototype.initialize = function(_xfn, _xfo, _xfp) { var _xfq = null; this._count = 0; for (var _xfr = [11, 12, 13, 14], _xfs = 0; _xfs < _xfr.length; _xfs++) { var _xft = new _xff.FormationBoxCombined(), _xfu = [626, 873, 626, 873][_xfs], _xfv = [96, 96, 302, 302][_xfs]; _xft.position.set(_xfu, _xfv); var _xfw = _xfr[_xfs]; _xft.initialize(_xfn, _xfw, _xfo, _xfp), 1 == _xft.enabled && this._count++, this.addChild(_xft), this._boxes.push(_xft); } }, _xfj.prototype.activate = function() { var _xfx = null; for (var _xfy = 0, _xfz = this._boxes; _xfy < _xfz.length; _xfy++) { _xfz[_xfy].activate(); } }, _xfj.prototype.deactivate = function() { var _xg0 = null; for (var _xg1 = 0, _xg2 = this._boxes; _xg1 < _xg2.length; _xg1++) { _xg2[_xg1].deactivate(); } }, _xfj.prototype.dispose = function() { var _xg3 = null; for (var _xg4 = 0, _xg5 = this._boxes; _xg4 < _xg5.length; _xg4++) { _xg5[_xg4].dispose(); } }, _xfj; }(PIXI.Container); _xev.FormationBoxContainerCombined = _xfg; }, 88622: function(_xg6, _xg7) { 'use strict'; var _xg8 = null; var _xg9, _xga = this && this.__extends || (_xg9 = function(_xgb, _xgc) { var _xgd = null; return _xg9 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_xge, _xgf) { var _xgg = null; _xge.__proto__ = _xgf; } || function(_xgh, _xgi) { var _xgj = null; for (var _xgk in _xgi) Object.prototype.hasOwnProperty.call(_xgi, _xgk) && (_xgh[_xgk] = _xgi[_xgk]); }, _xg9(_xgb, _xgc); }, function(_xgl, _xgm) { var _xgn = null; if ('function' != typeof _xgm && null !== _xgm) throw new TypeError('Class extends value ' + String(_xgm) + ' is not a constructor or null'); function _xgo() { var _xgp = null; this.constructor = _xgl; } _xg9(_xgl, _xgm), _xgl.prototype = null === _xgm ? Object.create(_xgm) : (_xgo.prototype = _xgm.prototype, new _xgo()); }); defineModule(_xg7); Object.defineProperty(_xg7, '__esModule', { 'value': !0 }), _xg7.ViewMainBase = void 0; var _xgq = function(_xgr) { function _xgs() { var _xgt = null; return null !== _xgr && _xgr.apply(this, arguments) || this; } return _xga(_xgs, _xgr), _xgs; }(PIXI.Container); _xg7.ViewMainBase = _xgq; }, 83859: function(_xgu, _xgv, _xgw) { 'use strict'; var _xgx = null; var _xgy, _xgz = this && this.__extends || (_xgy = function(_xh0, _xh1) { var _xh2 = null; return _xgy = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_xh3, _xh4) { var _xh5 = null; _xh3.__proto__ = _xh4; } || function(_xh6, _xh7) { var _xh8 = null; for (var _xh9 in _xh7) Object.prototype.hasOwnProperty.call(_xh7, _xh9) && (_xh6[_xh9] = _xh7[_xh9]); }, _xgy(_xh0, _xh1); }, function(_xha, _xhb) { var _xhc = null; if ('function' != typeof _xhb && null !== _xhb) throw new TypeError('Class extends value ' + String(_xhb) + ' is not a constructor or null'); function _xhd() { var _xhe = null; this.constructor = _xha; } _xgy(_xha, _xhb), _xha.prototype = null === _xhb ? Object.create(_xhb) : (_xhd.prototype = _xhb.prototype, new _xhd()); }); defineModule(_xgv); Object.defineProperty(_xgv, '__esModule', { 'value': !0 }), _xgv.ViewTop = void 0; var _xhf = _xgw(48473), _xhg = _xgw(7886), _xhh = _xgw(35380), _xhi = function(_xhj) { var _xhk = null; function _xhl() { var _xhm = null, _xhn = _xhj.call(this) || this; return _xhn._btn_sortie = new _xho(), _xhn._btn_sortie.position.set(179, 174), _xhn._btn_practice = new _xho(), _xhn._btn_practice.position.set(516, 174), _xhn._btn_expedition = new _xho(), _xhn._btn_expedition.position.set(852, 174), _xhn; } return _xgz(_xhl, _xhj), Object.defineProperty(_xhl.prototype, 'btn_sortie', { 'get': function() { var _xhp = null; return this._btn_sortie; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_xhl.prototype, 'btn_practice', { 'get': function() { var _xhq = null; return this._btn_practice; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_xhl.prototype, 'btn_expedition', { 'get': function() { var _xhr = null; return this._btn_expedition; }, 'enumerable': !1, 'configurable': !0 }), _xhl.prototype.initialize = function(_xhs) { var _xht = null, _xhu = new PIXI.Sprite(_xhf.SALLY_COMMON.getTexture(36)); _xhu.position.set(0, 102); var _xhv = new PIXI.Sprite(_xhg.SALLY_TOP.getTexture(0)); _xhv.position.set(188, 113); var _xhw = new PIXI.Sprite(_xhg.SALLY_TOP.getTexture(10)); _xhw.position.set(246, 575); var _xhx = new PIXI.Sprite(_xhg.SALLY_TOP.getTexture(3)); _xhx.position.set(572, 575); var _xhy = new PIXI.Sprite(_xhg.SALLY_TOP.getTexture(7)); _xhy.position.set(909, 575), this._btn_sortie.initialize(8, 9), this._btn_practice.initialize(1, 2), 1 == _xhs ? this._btn_expedition.initialize(4, 6) : this._btn_expedition.initialize(5, null), this.addChild(_xhu), this.addChild(_xhv), this.addChild(_xhw), this.addChild(_xhx), this.addChild(_xhy), this.addChild(this._btn_sortie), this.addChild(this._btn_practice), this.addChild(this._btn_expedition); }, _xhl.prototype.dispose = function() { var _xhz = null; this.removeChildren(), this._btn_sortie.dispose(), this._btn_practice.dispose(), this._btn_expedition.dispose(); }, _xhl; }(PIXI.Container); _xgv.ViewTop = _xhi; var _xho = function(_xi0) { var _xi1 = null; function _xi2() { var _xi3 = null, _xi4 = _xi0.call(this) || this; return _xi4._onMouseOver = function() { var _xi5 = null; _xi4._setTexture(_xi4._texture_no_on); }, _xi4._onMouseOut = function() { var _xi6 = null; _xi4._setTexture(_xi4._texture_no); }, _xi4; } return _xgz(_xi2, _xi0), _xi2.prototype.initialize = function(_xi7, _xi8) { var _xi9 = null; this._texture_no = _xi7, this._texture_no_on = _xi8, this._setTexture(this._texture_no), null != this._texture_no_on && (this.interactive = this.buttonMode = !0, this.on(_xhh.EventType.MOUSEOVER, this._onMouseOver), this.on(_xhh.EventType.MOUSEOUT, this._onMouseOut)); }, _xi2.prototype.dispose = function() { var _xia = null; this.interactive = this.buttonMode = !1, this.off(_xhh.EventType.MOUSEOVER, this._onMouseOver), this.off(_xhh.EventType.MOUSEOUT, this._onMouseOut); }, _xi2.prototype._setTexture = function(_xib) { var _xic = null; this.texture = _xhg.SALLY_TOP.getTexture(_xib); }, _xi2; }(PIXI.Sprite); }, 4951: function(_xid, _xie, _xif) { 'use strict'; var _xig = null; var _xih, _xii = this && this.__extends || (_xih = function(_xij, _xik) { var _xil = null; return _xih = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_xim, _xin) { var _xio = null; _xim.__proto__ = _xin; } || function(_xip, _xiq) { var _xir = null; for (var _xis in _xiq) Object.prototype.hasOwnProperty.call(_xiq, _xis) && (_xip[_xis] = _xiq[_xis]); }, _xih(_xij, _xik); }, function(_xit, _xiu) { var _xiv = null; if ('function' != typeof _xiu && null !== _xiu) throw new TypeError('Class extends value ' + String(_xiu) + ' is not a constructor or null'); function _xiw() { var _xix = null; this.constructor = _xit; } _xih(_xit, _xiu), _xit.prototype = null === _xiu ? Object.create(_xiu) : (_xiw.prototype = _xiu.prototype, new _xiw()); }); defineModule(_xie); Object.defineProperty(_xie, '__esModule', { 'value': !0 }), _xie.AlertBalloon = void 0; var _xiy = _xif(13748), _xiz = _xif(48473), _xj0 = function(_xj1) { var _xj2 = null; function _xj3() { var _xj4 = null; return _xj1.call(this) || this; } return _xii(_xj3, _xj1), _xj3.prototype.initialize = function() { var _xj5 = null; this.alpha = 0, this.visible = !1; }, _xj3.prototype.update = function(_xj6) { var _xj7 = null, _xj8 = this; if (0 == _xj6) return this.texture = PIXI.Texture.EMPTY, void(this.visible = !1); this.texture = _xiz.SALLY_COMMON.getTexture(0), this.visible = !0, this._type = _xj6; var _xj9 = new _xiy.UIImageLoader('sally'), _xja = 'sally_alert_alert_'['concat'](_xj6); _xj9.add('alert/alert_'['concat'](_xj6, '.png'), _xja), _xj9.load(function() { var _xjb = null; _xj8._type == _xj6 && (_xj8.texture = PIXI.Texture.fromFrame(_xja)); }); }, _xj3.prototype.activate = function() { var _xjc = null; 0 == this.alpha && createjs.Tween.get(this).to({ 'alpha': 1 }, 300); }, _xj3; }(PIXI.Sprite); _xie.AlertBalloon = _xj0; }, 1136: function(_xjd, _xje, _xjf) { 'use strict'; var _xjg = null; var _xjh, _xji = this && this.__extends || (_xjh = function(_xjj, _xjk) { var _xjl = null; return _xjh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_xjm, _xjn) { var _xjo = null; _xjm.__proto__ = _xjn; } || function(_xjp, _xjq) { var _xjr = null; for (var _xjs in _xjq) Object.prototype.hasOwnProperty.call(_xjq, _xjs) && (_xjp[_xjs] = _xjq[_xjs]); }, _xjh(_xjj, _xjk); }, function(_xjt, _xju) { var _xjv = null; if ('function' != typeof _xju && null !== _xju) throw new TypeError('Class extends value ' + String(_xju) + ' is not a constructor or null'); function _xjw() { var _xjx = null; this.constructor = _xjt; } _xjh(_xjt, _xju), _xjt.prototype = null === _xju ? Object.create(_xju) : (_xjw.prototype = _xju.prototype, new _xjw()); }), _xjy = this && this.__importDefault || function(_xjz) { var _xk0 = null; return _xjz && _xjz.__esModule ? _xjz : { 'default': _xjz }; }; defineModule(_xje); Object.defineProperty(_xje, '__esModule', { 'value': !0 }), _xje.AreaTextImage = void 0; var _xk1 = _xjf(71633), _xk2 = _xjf(13748), _xk3 = _xjy(_xjf(18622)), _xk4 = _xjf(14921), _xk5 = function(_xk6) { var _xk7 = null; function _xk8() { var _xk9 = null, _xka = _xk6.call(this) || this; return _xka._area_id = -1, _xka; } return _xji(_xk8, _xk6), _xk8.prototype.update = function(_xkb, _xkc, _xkd) { var _xke = null, _xkf = this; if (void 0 === _xkd && (_xkd = null), this._area_id != _xkb || _xkb == _xk1.EventConst.AREA_ID) { this._area_id = _xkb; var _xkg = _xk4.MathUtil.zeroPadding(_xkb, 3); 57 != _xkb || 5 != _xkc && 6 != _xkc && 7 != _xkc || (_xkg += '_2'); var _xkh = _xk2.UIImageLoader.getResourceVersionArea('sally'), _xki = _xk3.default.settings.path_root + 'resources/area/sally/'['concat'](_xkg, '.png').concat(_xkh ? '?version=' + _xkh : ''); if (this.clear(), this._img = new PIXI.Sprite(), this.addChild(this._img), null != PIXI.utils.TextureCache[_xki]) this._img.texture = PIXI.utils.TextureCache[_xki], null != _xkd && _xkd(); else { var _xkj = new PIXI.loaders.Loader(); _xkj.add(_xki), _xkj.load(function() { var _xkk = null; _xkf._img.texture = _xkj.resources[_xki].texture, null != _xkd && _xkd(); }); } } else null != _xkd && _xkd(); }, _xk8.prototype.clear = function() { var _xkl = null; null != this._img && (null != this._img.parent && this._img.parent.removeChild(this._img), this._img = null); }, _xk8.prototype.dispose = function() { var _xkm = null; this.clear(); }, _xk8; }(PIXI.Container); _xje.AreaTextImage = _xk5; }, 63320: function(_xkn, _xko, _xkp) { 'use strict'; var _xkq = null; var _xkr, _xks = this && this.__extends || (_xkr = function(_xkt, _xku) { var _xkv = null; return _xkr = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_xkw, _xkx) { var _xky = null; _xkw.__proto__ = _xkx; } || function(_xkz, _xl0) { var _xl1 = null; for (var _xl2 in _xl0) Object.prototype.hasOwnProperty.call(_xl0, _xl2) && (_xkz[_xl2] = _xl0[_xl2]); }, _xkr(_xkt, _xku); }, function(_xl3, _xl4) { var _xl5 = null; if ('function' != typeof _xl4 && null !== _xl4) throw new TypeError('Class extends value ' + String(_xl4) + ' is not a constructor or null'); function _xl6() { var _xl7 = null; this.constructor = _xl3; } _xkr(_xl3, _xl4), _xl3.prototype = null === _xl4 ? Object.create(_xl4) : (_xl6.prototype = _xl4.prototype, new _xl6()); }); defineModule(_xko); Object.defineProperty(_xko, '__esModule', { 'value': !0 }), _xko.BtnDicision = void 0; var _xl8 = _xkp(48473), _xl9 = _xkp(35380), _xla = function(_xlb) { var _xlc = null; function _xld() { var _xle = null, _xlf = _xlb.call(this) || this; return _xlf._onMouseOver = function() { var _xlg = null; _xlf.texture = _xl8.SALLY_COMMON.getTexture(6); }, _xlf._onMouseOut = function() { var _xlh = null; _xlf.texture = _xl8.SALLY_COMMON.getTexture(4); }, _xlf._onClick = function() { var _xli = null; _xlf.emit('dicision'); }, _xlf.interactive = !0, _xlf; } return _xks(_xld, _xlb), _xld.prototype.initialize = function() { var _xlj = null; this.texture = _xl8.SALLY_COMMON.getTexture(4); }, _xld.prototype.activate = function() { var _xlk = null; 0 == this.buttonMode && (this.buttonMode = !0, this.on(_xl9.EventType.MOUSEOVER, this._onMouseOver), this.on(_xl9.EventType.MOUSEOUT, this._onMouseOut), this.on(_xl9.EventType.CLICK, this._onClick)); }, _xld.prototype.deactivate = function() { var _xll = null; this.buttonMode = !1, this.off(_xl9.EventType.MOUSEOVER, this._onMouseOver), this.off(_xl9.EventType.MOUSEOUT, this._onMouseOut), this.off(_xl9.EventType.CLICK, this._onClick); }, _xld.prototype._setTextture = function(_xlm) { var _xln = null; this.texture = _xlm; }, _xld; }(PIXI.Sprite); _xko.BtnDicision = _xla; }, 18819: function(_xlo, _xlp, _xlq) { 'use strict'; var _xlr = null; var _xls, _xlt = this && this.__extends || (_xls = function(_xlu, _xlv) { var _xlw = null; return _xls = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_xlx, _xly) { var _xlz = null; _xlx.__proto__ = _xly; } || function(_xm0, _xm1) { var _xm2 = null; for (var _xm3 in _xm1) Object.prototype.hasOwnProperty.call(_xm1, _xm3) && (_xm0[_xm3] = _xm1[_xm3]); }, _xls(_xlu, _xlv); }, function(_xm4, _xm5) { var _xm6 = null; if ('function' != typeof _xm5 && null !== _xm5) throw new TypeError('Class extends value ' + String(_xm5) + ' is not a constructor or null'); function _xm7() { var _xm8 = null; this.constructor = _xm4; } _xls(_xm4, _xm5), _xm4.prototype = null === _xm5 ? Object.create(_xm5) : (_xm7.prototype = _xm5.prototype, new _xm7()); }); defineModule(_xlp); Object.defineProperty(_xlp, '__esModule', { 'value': !0 }), _xlp.BtnGoBase = void 0; var _xm9 = _xlq(35380), _xma = function(_xmb) { var _xmc = null; function _xmd(_xme) { var _xmf = null, _xmg = _xmb.call(this) || this; return _xmg._enabled = !0, _xmg._overed = !1, _xmg._onMouseOver = function() { var _xmh = null; _xmg._overed = !0, _xmg._updateTexture(); }, _xmg._onMouseOut = function() { var _xmi = null; _xmg._overed = !1, _xmg._updateTexture(); }, _xmg._onClick = function() { var _xmj = null; null != _xmg._cb && 1 == _xmg._btn.buttonMode && _xmg._cb(); }, _xmg._cb = _xme, _xmg._btn = new PIXI.Sprite(), _xmg.addChild(_xmg._btn), _xmg._btn.interactive = !0, _xmg; } return _xlt(_xmd, _xmb), Object.defineProperty(_xmd.prototype, 'enabled', { 'set': function(_xmk) { var _xml = null; this._enabled != _xmk && (this._enabled = _xmk, 1 == this._enabled ? this.activate() : this.deactivate(), this._updateTexture()); }, 'enumerable': !1, 'configurable': !0 }), _xmd.prototype.initialize = function() { var _xmm = null; this._updateTexture(); }, _xmd.prototype.activate = function() { var _xmn = null; 1 != this._btn.buttonMode && 0 != this._enabled && (this._btn.buttonMode = !0, this._btn.on(_xm9.EventType.MOUSEOVER, this._onMouseOver), this._btn.on(_xm9.EventType.MOUSEOUT, this._onMouseOut), this._btn.on(_xm9.EventType.CLICK, this._onClick)); }, _xmd.prototype.deactivate = function() { var _xmo = null; this._btn.buttonMode = !1, this._btn.off(_xm9.EventType.MOUSEOVER, this._onMouseOver), this._btn.off(_xm9.EventType.MOUSEOUT, this._onMouseOut), this._btn.off(_xm9.EventType.CLICK, this._onClick); }, _xmd.prototype.dispose = function() { var _xmp = null; this.deactivate(), this._cb = null; }, _xmd.prototype._updateTexture = function() {}, _xmd; }(PIXI.Container); _xlp.BtnGoBase = _xma; }, 76582: function(_xmq, _xmr, _xms) { 'use strict'; var _xmt = null; var _xmu, _xmv = this && this.__extends || (_xmu = function(_xmw, _xmx) { var _xmy = null; return _xmu = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_xmz, _xn0) { var _xn1 = null; _xmz.__proto__ = _xn0; } || function(_xn2, _xn3) { var _xn4 = null; for (var _xn5 in _xn3) Object.prototype.hasOwnProperty.call(_xn3, _xn5) && (_xn2[_xn5] = _xn3[_xn5]); }, _xmu(_xmw, _xmx); }, function(_xn6, _xn7) { var _xn8 = null; if ('function' != typeof _xn7 && null !== _xn7) throw new TypeError('Class extends value ' + String(_xn7) + ' is not a constructor or null'); function _xn9() { var _xna = null; this.constructor = _xn6; } _xmu(_xn6, _xn7), _xn6.prototype = null === _xn7 ? Object.create(_xn7) : (_xn9.prototype = _xn7.prototype, new _xn9()); }); defineModule(_xmr); Object.defineProperty(_xmr, '__esModule', { 'value': !0 }), _xmr.CompArrow2 = void 0; var _xnb = _xms(48473), _xnc = function(_xnd) { var _xne = null; function _xnf() { var _xng = null, _xnh = _xnd.call(this) || this; return _xnh._activated = !1, _xnh._enabled = !0, _xnh._supply_max = !1, _xnh; } return _xmv(_xnf, _xnd), Object.defineProperty(_xnf.prototype, 'enabled', { 'get': function() { var _xni = null; return this._enabled; }, 'set': function(_xnj) { var _xnk = null; this._enabled != _xnj && (this._enabled = _xnj, 1 == this._activated && (1 == this._enabled ? this.activate() : (this._on1.visible = !1, this._on2.visible = !1, this._on3.visible = !1, this._deactivate()))); }, 'enumerable': !1, 'configurable': !0 }), _xnf.prototype.initialize = function() { var _xnl = null, _xnm = new PIXI.Sprite(_xnb.SALLY_COMMON.getTexture(12)); this._on1 = new PIXI.Sprite(), this._on2 = new PIXI.Sprite(), this._on3 = new PIXI.Sprite(), this._on1.position.set(4, 16), this._on2.position.set(33, 16), this._on3.position.set(61, 4), this.addChild(_xnm), this.addChild(this._on1), this.addChild(this._on2), this.addChild(this._on3), this.update(!0); }, _xnf.prototype.update = function(_xnn) { var _xno = null; this._supply_max != _xnn && (this._supply_max = _xnn, 1 == _xnn ? (this._on1.texture = _xnb.SALLY_COMMON.getTexture(9), this._on2.texture = _xnb.SALLY_COMMON.getTexture(9), this._on3.texture = _xnb.SALLY_COMMON.getTexture(8)) : (this._on1.texture = _xnb.SALLY_COMMON.getTexture(11), this._on2.texture = _xnb.SALLY_COMMON.getTexture(11), this._on3.texture = _xnb.SALLY_COMMON.getTexture(10))); }, _xnf.prototype.activate = function() { var _xnp = null, _xnq = this; this._activated = !0, null == this._t && (this._on1.visible = !1, this._on2.visible = !1, this._on3.visible = !1, 0 != this._enabled && (this._t = createjs.Tween.get(this, { 'loop': !0 }).wait(300).call(function() { var _xnr = null; _xnq._on1.visible = !0; }).wait(300).call(function() { var _xns = null; _xnq._on1.visible = !1, _xnq._on2.visible = !0; }).wait(300).call(function() { var _xnt = null; _xnq._on2.visible = !1, _xnq._on3.visible = !0; }).wait(300).call(function() { var _xnu = null; _xnq._on3.visible = !1; }))); }, _xnf.prototype.deactivate = function() { var _xnv = null; this._activated = !1, this._deactivate(); }, _xnf.prototype.dispose = function() { var _xnw = null; this.deactivate(), this.removeChildren(); }, _xnf.prototype._deactivate = function() { var _xnx = null; this._stopAnimation(), this._on1.visible = !1, this._on2.visible = !1, this._on3.visible = !1; }, _xnf.prototype._stopAnimation = function() { var _xny = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _xnf; }(PIXI.Container); _xmr.CompArrow2 = _xnc; }, 84732: function(_xnz, _xo0, _xo1) { 'use strict'; var _xo2 = null; var _xo3, _xo4 = this && this.__extends || (_xo3 = function(_xo5, _xo6) { var _xo7 = null; return _xo3 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_xo8, _xo9) { var _xoa = null; _xo8.__proto__ = _xo9; } || function(_xob, _xoc) { var _xod = null; for (var _xoe in _xoc) Object.prototype.hasOwnProperty.call(_xoc, _xoe) && (_xob[_xoe] = _xoc[_xoe]); }, _xo3(_xo5, _xo6); }, function(_xof, _xog) { var _xoh = null; if ('function' != typeof _xog && null !== _xog) throw new TypeError('Class extends value ' + String(_xog) + ' is not a constructor or null'); function _xoi() { var _xoj = null; this.constructor = _xof; } _xo3(_xof, _xog), _xof.prototype = null === _xog ? Object.create(_xog) : (_xoi.prototype = _xog.prototype, new _xoi()); }), _xok = this && this.__importDefault || function(_xol) { var _xom = null; return _xol && _xol.__esModule ? _xol : { 'default': _xol }; }; defineModule(_xo0); Object.defineProperty(_xo0, '__esModule', { 'value': !0 }), _xo0.CompBannerAndLack = void 0; var _xon = _xok(_xo1(18622)), _xoo = _xo1(37638), _xop = _xo1(52250), _xoq = function(_xor) { var _xos = null; function _xot() { var _xou = null; return _xor.call(this) || this; } return _xo4(_xot, _xor), _xot.prototype.initialize = function() { var _xov = null; this._banner = new _xoo.ShipBanner(), this._alert = new _xop.CompLackAlerts(), this._alert.initialize(), this._alert.position.set(188, 53), this.addChild(this._banner), this.addChild(this._alert); }, _xot.prototype.update = function(_xow, _xox) { var _xoy = null; if (null == _xow) this.visible = !1; else { var _xoz = !1, _xp0 = _xon.default.model.deck.isInDeck(_xow.memID); if (null != _xp0) null != _xon.default.model.deck.get(_xp0[0]).expedition && (_xoz = !0); this._banner.update(_xow, _xoz), this._banner.updatePlate(_xow.label), _xox && this._banner.updateLockSlot(_xow), this._alert.update(_xow), this.visible = !0; } }, _xot.prototype.dispose = function() { var _xp1 = null; this._banner.dispose(); }, _xot; }(PIXI.Container); _xo0.CompBannerAndLack = _xoq; }, 18710: function(_xp2, _xp3, _xp4) { 'use strict'; var _xp5 = null; var _xp6, _xp7 = this && this.__extends || (_xp6 = function(_xp8, _xp9) { var _xpa = null; return _xp6 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_xpb, _xpc) { var _xpd = null; _xpb.__proto__ = _xpc; } || function(_xpe, _xpf) { var _xpg = null; for (var _xph in _xpf) Object.prototype.hasOwnProperty.call(_xpf, _xph) && (_xpe[_xph] = _xpf[_xph]); }, _xp6(_xp8, _xp9); }, function(_xpi, _xpj) { var _xpk = null; if ('function' != typeof _xpj && null !== _xpj) throw new TypeError('Class extends value ' + String(_xpj) + ' is not a constructor or null'); function _xpl() { var _xpm = null; this.constructor = _xpi; } _xp6(_xpi, _xpj), _xpi.prototype = null === _xpj ? Object.create(_xpj) : (_xpl.prototype = _xpj.prototype, new _xpl()); }); defineModule(_xp3); Object.defineProperty(_xp3, '__esModule', { 'value': !0 }), _xp3.CompBannerLevel = void 0; var _xpn = _xp4(48473), _xpo = function(_xpp) { var _xpq = null; function _xpr() { var _xps = null, _xpt = _xpp.call(this) || this; return _xpt._bg = new PIXI.Sprite(), _xpt._label = new PIXI.Sprite(), _xpt._n001 = new PIXI.Sprite(), _xpt._n010 = new PIXI.Sprite(), _xpt._n100 = new PIXI.Sprite(), _xpt.addChild(_xpt._bg), _xpt.addChild(_xpt._label), _xpt.addChild(_xpt._n001), _xpt.addChild(_xpt._n010), _xpt.addChild(_xpt._n100), _xpt; } return _xp7(_xpr, _xpp), _xpr.prototype.initialize = function() { var _xpu = null; this._bg.texture = _xpn.SALLY_COMMON.getTexture(16), this._label.texture = _xpn.SALLY_COMMON.getTexture(21), this._n001.position.set(44, 3), this._n010.position.set(33, 3), this._n100.position.set(23, 3); }, _xpr.prototype.update = function(_xpv) { var _xpw = null; if (null == _xpv) this.visible = !1; else { var _xpx = _xpv.level; _xpx = Math.max(0, _xpx), _xpx = Math.min(999, _xpx); var _xpy = Math.floor(_xpx / 100), _xpz = _xpx % 100, _xq0 = Math.floor(_xpz / 10), _xq1 = _xpz % 10, _xq2 = [44, 45, 46, 47, 48, 49, 50, 51, 52, 53]; _xpx < 10 ? (this._bg.scale.x = 0.866, this._bg.position.x = 17, this._label.position.set(23, 5), this._n001.texture = _xpn.SALLY_COMMON.getTexture(_xq2[_xq1]), this._n010.visible = !1, this._n100.visible = !1) : _xpx < 100 ? (this._bg.scale.x = 1.067, this._bg.position.x = 8, this._label.position.set(12, 5), this._n001.texture = _xpn.SALLY_COMMON.getTexture(_xq2[_xq1]), this._n010.texture = _xpn.SALLY_COMMON.getTexture(_xq2[_xq0]), this._n010.visible = !0, this._n100.visible = !1) : (this._bg.scale.x = 1.233, this._bg.position.x = 0, this._label.position.set(3, 5), this._n001.texture = _xpn.SALLY_COMMON.getTexture(_xq2[_xq1]), this._n010.texture = _xpn.SALLY_COMMON.getTexture(_xq2[_xq0]), this._n100.texture = _xpn.SALLY_COMMON.getTexture(_xq2[_xpy]), this._n010.visible = !0, this._n100.visible = !0), this.visible = !0; } }, _xpr; }(PIXI.Container); _xp3.CompBannerLevel = _xpo; }, 81578: function(_xq3, _xq4, _xq5) { 'use strict'; var _xq6 = null; var _xq7, _xq8 = this && this.__extends || (_xq7 = function(_xq9, _xqa) { var _xqb = null; return _xq7 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_xqc, _xqd) { var _xqe = null; _xqc.__proto__ = _xqd; } || function(_xqf, _xqg) { var _xqh = null; for (var _xqi in _xqg) Object.prototype.hasOwnProperty.call(_xqg, _xqi) && (_xqf[_xqi] = _xqg[_xqi]); }, _xq7(_xq9, _xqa); }, function(_xqj, _xqk) { var _xql = null; if ('function' != typeof _xqk && null !== _xqk) throw new TypeError('Class extends value ' + String(_xqk) + ' is not a constructor or null'); function _xqm() { var _xqn = null; this.constructor = _xqj; } _xq7(_xqj, _xqk), _xqj.prototype = null === _xqk ? Object.create(_xqk) : (_xqm.prototype = _xqk.prototype, new _xqm()); }); defineModule(_xq4); Object.defineProperty(_xq4, '__esModule', { 'value': !0 }), _xq4.CompCompass = void 0; var _xqo = _xq5(31669), _xqp = function(_xqq) { var _xqr = null; function _xqs() { var _xqt = null, _xqu = _xqq.call(this) || this; return _xqu._interval_id = 0, _xqu._bg = new PIXI.Sprite(), _xqu._bg.anchor.set(0.5, 0.5), _xqu._hand = new PIXI.Sprite(), _xqu._hand.anchor.set(0.5, 0.5), _xqu._light = new PIXI.Sprite(), _xqu._light.anchor.set(0.5, 0.5), _xqu.addChild(_xqu._bg), _xqu.addChild(_xqu._hand), _xqu.addChild(_xqu._light), _xqu; } return _xq8(_xqs, _xqq), _xqs.prototype.initialize = function() { var _xqv = null; this._bg.texture = _xqo.SALLY_MAP_PARTS.getTexture(15), this._hand.texture = _xqo.SALLY_MAP_PARTS.getTexture(17), this._light.texture = _xqo.SALLY_MAP_PARTS.getTexture(16); }, _xqs.prototype.activate = function() { var _xqw = null; this._startMove(); }, _xqs.prototype.deactivate = function() { var _xqx = null; this._stopMove(); }, _xqs.prototype.dispose = function() { var _xqy = null; this._stopMove(); }, _xqs.prototype._startMove = function() { var _xqz = null, _xr0 = this; 0 == this._interval_id && (this._interval_id = window.setInterval(function() { var _xr1 = null; _xr0._hand.rotation = (4 * Math.random() - 2) / 180 * Math.PI; }, 30)); }, _xqs.prototype._stopMove = function() { var _xr2 = null; 0 != this._interval_id && clearInterval(this._interval_id), this._interval_id = 0; }, _xqs; }(PIXI.Container); _xq4.CompCompass = _xqp; }, 74204: function(_xr3, _xr4, _xr5) { 'use strict'; var _xr6 = null; var _xr7, _xr8 = this && this.__extends || (_xr7 = function(_xr9, _xra) { var _xrb = null; return _xr7 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_xrc, _xrd) { var _xre = null; _xrc.__proto__ = _xrd; } || function(_xrf, _xrg) { var _xrh = null; for (var _xri in _xrg) Object.prototype.hasOwnProperty.call(_xrg, _xri) && (_xrf[_xri] = _xrg[_xri]); }, _xr7(_xr9, _xra); }, function(_xrj, _xrk) { var _xrl = null; if ('function' != typeof _xrk && null !== _xrk) throw new TypeError('Class extends value ' + String(_xrk) + ' is not a constructor or null'); function _xrm() { var _xrn = null; this.constructor = _xrj; } _xr7(_xrj, _xrk), _xrj.prototype = null === _xrk ? Object.create(_xrk) : (_xrm.prototype = _xrk.prototype, new _xrm()); }); defineModule(_xr4); Object.defineProperty(_xr4, '__esModule', { 'value': !0 }), _xr4.CompDeckBtns = void 0; var _xro = _xr5(11997), _xrp = _xr5(35380), _xrq = function(_xrr) { var _xrs = null; function _xrt(_xru) { var _xrv = null, _xrw = _xrr.call(this) || this; _xrw._activated = !1, _xrw._onClick = function(_xrx) { var _xry = null; null != _xrw._cb && _xrw._cb(_xrx); }, _xrw._cb = _xru, _xrw._btns = new Array(); var _xrz = new _xs0(1, _xrw._onClick); return _xrw._btns.push(_xrz), (_xrz = new _xs0(2, _xrw._onClick)).x = 45, _xrw._btns.push(_xrz), (_xrz = new _xs0(3, _xrw._onClick)).x = 90, _xrw._btns.push(_xrz), (_xrz = new _xs0(4, _xrw._onClick)).x = 135, _xrw._btns.push(_xrz), _xrw; } return _xr8(_xrt, _xrr), _xrt.prototype.initialize = function(_xs1) { var _xs2 = null; for (var _xs3 = 0, _xs4 = this._btns; _xs3 < _xs4.length; _xs3++) { var _xs5 = _xs4[_xs3]; _xs5.initialize(), _xs5.setEnabled(-1 != _xs1.indexOf(_xs5.id)), this.addChild(_xs5); } }, _xrt.prototype.activate = function() { var _xs6 = null; if (1 != this._activated) { for (var _xs7 = 0, _xs8 = this._btns; _xs7 < _xs8.length; _xs7++) { _xs8[_xs7].activate(); } this._activated = !0; } }, _xrt.prototype.deactivate = function() { var _xs9 = null; for (var _xsa = 0, _xsb = this._btns; _xsa < _xsb.length; _xsa++) { _xsb[_xsa].deactivate(); } this._activated = !1; }, _xrt.prototype.dispose = function() { var _xsc = null; for (var _xsd = 0, _xse = this._btns; _xsd < _xse.length; _xsd++) { _xse[_xsd].dispose(); } this._cb = null; }, _xrt.prototype.setSelected = function(_xsf) { var _xsg = null; for (var _xsh = 0, _xsi = this._btns; _xsh < _xsi.length; _xsh++) { var _xsj = _xsi[_xsh]; _xsj.setSelected(_xsf == _xsj.id); } }, _xrt; }(PIXI.Container); _xr4.CompDeckBtns = _xrq; var _xs0 = function(_xsk) { var _xsl = null; function _xsm(_xsn, _xso) { var _xsp = null, _xsq = _xsk.call(this) || this; return _xsq._enabled = !0, _xsq._selected = !1, _xsq._activated = !1, _xsq._texture_no = -1, _xsq._texture_no_on = -1, _xsq._texture_no_off = -1, _xsq._onClick = function() { var _xsr = null; null != _xsq._cb && _xsq._cb(_xsq._id); }, _xsq._id = _xsn, _xsq._cb = _xso, _xsq; } return _xr8(_xsm, _xsk), Object.defineProperty(_xsm.prototype, 'id', { 'get': function() { var _xss = null; return this._id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_xsm.prototype, 'enabled', { 'get': function() { var _xst = null; return this._enabled; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_xsm.prototype, 'selected', { 'get': function() { var _xsu = null; return this._selected; }, 'enumerable': !1, 'configurable': !0 }), _xsm.prototype.initialize = function() { var _xsv = null; 1 == this._id ? (this._texture_no = 78, this._texture_no_on = 79, this._texture_no_off = 77) : 2 == this._id ? (this._texture_no = 81, this._texture_no_on = 82, this._texture_no_off = 80) : 3 == this._id ? (this._texture_no = 84, this._texture_no_on = 85, this._texture_no_off = 83) : 4 == this._id && (this._texture_no = 87, this._texture_no_on = 88, this._texture_no_off = 86), this._updateTexture(); }, _xsm.prototype.setEnabled = function(_xsw) { var _xsx = null; this._enabled = _xsw, this._updateTexture(), this.deactivate(); }, _xsm.prototype.setSelected = function(_xsy) { var _xsz = null; this._selected = _xsy, this._updateTexture(), 1 == this._selected ? this.deactivate() : this.activate(); }, _xsm.prototype.activate = function() { var _xt0 = null; 1 != this._activated && 0 != this._enabled && 1 != this._selected && (this.interactive = this.buttonMode = !0, this.on(_xrp.EventType.CLICK, this._onClick), this._activated = !0); }, _xsm.prototype.deactivate = function() { var _xt1 = null; this.interactive = this.buttonMode = !1, this.off(_xrp.EventType.CLICK, this._onClick), this._activated = !1; }, _xsm.prototype.dispose = function() { var _xt2 = null; this.deactivate(), this._cb = null; }, _xsm.prototype._updateTexture = function() { var _xt3 = null; - 1 != this._texture_no && (0 == this._enabled ? this._setTexture(this._texture_no_off) : 1 == this._selected ? this._setTexture(this._texture_no_on) : this._setTexture(this._texture_no)); }, _xsm.prototype._setTexture = function(_xt4) { var _xt5 = null; this.texture = _xro.COMMON_MISC.getTexture(_xt4); }, _xsm; }(PIXI.Sprite); }, 80051: function(_xt6, _xt7, _xt8) { 'use strict'; var _xt9 = null; var _xta, _xtb = this && this.__extends || (_xta = function(_xtc, _xtd) { var _xte = null; return _xta = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_xtf, _xtg) { var _xth = null; _xtf.__proto__ = _xtg; } || function(_xti, _xtj) { var _xtk = null; for (var _xtl in _xtj) Object.prototype.hasOwnProperty.call(_xtj, _xtl) && (_xti[_xtl] = _xtj[_xtl]); }, _xta(_xtc, _xtd); }, function(_xtm, _xtn) { var _xto = null; if ('function' != typeof _xtn && null !== _xtn) throw new TypeError('Class extends value ' + String(_xtn) + ' is not a constructor or null'); function _xtp() { var _xtq = null; this.constructor = _xtm; } _xta(_xtm, _xtn), _xtm.prototype = null === _xtn ? Object.create(_xtn) : (_xtp.prototype = _xtn.prototype, new _xtp()); }); defineModule(_xt7); Object.defineProperty(_xt7, '__esModule', { 'value': !0 }), _xt7.CompDropItemIcon = void 0; var _xtr = _xt8(31669), _xts = function(_xtt) { var _xtu = null; function _xtv() { var _xtw = null; return _xtt.call(this) || this; } return _xtb(_xtv, _xtt), _xtv.prototype.update = function(_xtx) { var _xty = null; this.texture = this._getTexture(_xtx); }, _xtv.prototype._getTexture = function(_xtz) { var _xu0 = null, _xu1 = -1; return 31 == _xtz ? _xu1 = 3 : 32 == _xtz ? _xu1 = 9 : 33 == _xtz ? _xu1 = 10 : 34 == _xtz ? _xu1 = 11 : 2 == _xtz ? _xu1 = 4 : 1 == _xtz ? _xu1 = 12 : 3 == _xtz ? _xu1 = 13 : 4 == _xtz ? _xu1 = 8 : 44 == _xtz ? _xu1 = 14 : 10 == _xtz ? _xu1 = 5 : 11 == _xtz ? _xu1 = 6 : 12 == _xtz && (_xu1 = 7), _xu1 < 0 ? PIXI.Texture.EMPTY : _xtr.SALLY_MAP_PARTS.getTexture(_xu1); }, _xtv; }(PIXI.Sprite); _xt7.CompDropItemIcon = _xts; }, 52250: function(_xu2, _xu3, _xu4) { 'use strict'; var _xu5 = null; var _xu6, _xu7 = this && this.__extends || (_xu6 = function(_xu8, _xu9) { var _xua = null; return _xu6 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_xub, _xuc) { var _xud = null; _xub.__proto__ = _xuc; } || function(_xue, _xuf) { var _xug = null; for (var _xuh in _xuf) Object.prototype.hasOwnProperty.call(_xuf, _xuh) && (_xue[_xuh] = _xuf[_xuh]); }, _xu6(_xu8, _xu9); }, function(_xui, _xuj) { var _xuk = null; if ('function' != typeof _xuj && null !== _xuj) throw new TypeError('Class extends value ' + String(_xuj) + ' is not a constructor or null'); function _xul() { var _xum = null; this.constructor = _xui; } _xu6(_xui, _xuj), _xui.prototype = null === _xuj ? Object.create(_xuj) : (_xul.prototype = _xuj.prototype, new _xul()); }); defineModule(_xu3); Object.defineProperty(_xu3, '__esModule', { 'value': !0 }), _xu3.CompLackAlerts = void 0; var _xun = _xu4(48473), _xuo = function(_xup) { var _xuq = null; function _xur() { var _xus = null; return _xup.call(this) || this; } return _xu7(_xur, _xup), _xur.prototype.initialize = function() { var _xut = null; this._fuel = new _xuu(), this._ammo = new _xuv(), this._fuel.initialize(), this._ammo.initialize(), this._ammo.position.set(38, 0), this.addChild(this._fuel), this.addChild(this._ammo); }, _xur.prototype.update = function(_xuw) { var _xux = null; null == _xuw ? this.visible = !1 : (this.visible = !0, this._fuel.update(_xuw.fuelNow / _xuw.fuelMax), this._ammo.update(_xuw.ammoNow / _xuw.ammoMax)); }, _xur; }(PIXI.Container); _xu3.CompLackAlerts = _xuo; var _xuy = function(_xuz) { var _xv0 = null; function _xv1() { var _xv2 = null; return _xuz.call(this) || this; } return _xu7(_xv1, _xuz), _xv1.prototype.initialize = function() { var _xv3 = null, _xv4 = new PIXI.Sprite(this._getTexture()); this._alert = new PIXI.Sprite(), _xv4.position.set(-14, -14), this._alert.position.set(0, -11), this.addChild(_xv4), this.addChild(this._alert); }, _xv1.prototype.update = function(_xv5) { var _xv6 = null; _xv5 <= 0.5 ? (this._alert.texture = _xun.SALLY_COMMON.getTexture(20), this.visible = !0) : _xv5 < 1 ? (this._alert.texture = _xun.SALLY_COMMON.getTexture(19), this.visible = !0) : this.visible = !1; }, _xv1.prototype._getTexture = function() { return null; }, _xv1; }(PIXI.Container), _xuu = function(_xv7) { var _xv8 = null; function _xv9() { var _xva = null; return null !== _xv7 && _xv7.apply(this, arguments) || this; } return _xu7(_xv9, _xv7), _xv9.prototype._getTexture = function() { var _xvb = null; return _xun.SALLY_COMMON.getTexture(17); }, _xv9; }(_xuy), _xuv = function(_xvc) { var _xvd = null; function _xve() { var _xvf = null; return null !== _xvc && _xvc.apply(this, arguments) || this; } return _xu7(_xve, _xvc), _xve.prototype._getTexture = function() { var _xvg = null; return _xun.SALLY_COMMON.getTexture(18); }, _xve; }(_xuy); }, 76624: function(_xvh, _xvi, _xvj) { 'use strict'; var _xvk = null; var _xvl, _xvm = this && this.__extends || (_xvl = function(_xvn, _xvo) { var _xvp = null; return _xvl = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_xvq, _xvr) { var _xvs = null; _xvq.__proto__ = _xvr; } || function(_xvt, _xvu) { var _xvv = null; for (var _xvw in _xvu) Object.prototype.hasOwnProperty.call(_xvu, _xvw) && (_xvt[_xvw] = _xvu[_xvw]); }, _xvl(_xvn, _xvo); }, function(_xvx, _xvy) { var _xvz = null; if ('function' != typeof _xvy && null !== _xvy) throw new TypeError('Class extends value ' + String(_xvy) + ' is not a constructor or null'); function _xw0() { var _xw1 = null; this.constructor = _xvx; } _xvl(_xvx, _xvy), _xvx.prototype = null === _xvy ? Object.create(_xvy) : (_xw0.prototype = _xvy.prototype, new _xw0()); }); defineModule(_xvi); Object.defineProperty(_xvi, '__esModule', { 'value': !0 }), _xvi.CompMessageBox = void 0; var _xw2 = _xvj(8744), _xw3 = _xvj(31669), _xw4 = _xvj(81578), _xw5 = _xvj(80051), _xw6 = function(_xw7) { var _xw8 = null; function _xw9() { var _xwa = null, _xwb = _xw7.call(this) || this; return _xwb._bg = new _xwc(), _xwb._bg.position.set(0, 633), _xwb._bg.alpha = 0, _xwb._compass = new _xw4.CompCompass(), _xwb._compass.position.set(54, 766), _xwb._compass.alpha = 0, _xwb.addChild(_xwb._bg), _xwb.addChild(_xwb._compass), _xwb; } return _xvm(_xw9, _xw7), Object.defineProperty(_xw9.prototype, 'text', { 'get': function() { var _xwd = null; return this._bg.text; }, 'set': function(_xwe) { var _xwf = null; this._bg.text = _xwe; }, 'enumerable': !1, 'configurable': !0 }), _xw9.prototype.initialize = function() { var _xwg = null; this._bg.initialize(), this._compass.initialize(); }, _xw9.prototype.activate = function(_xwh) { var _xwi = null, _xwj = this; this._stopTweens(), this._t_bg = createjs.Tween.get(this._bg).to({ 'alpha': 1, 'y': 580 }, 400), this._compass.activate(), this._t_compass = createjs.Tween.get(this._compass).to({ 'alpha': 1, 'y': 668, 'rotation': Math.PI / 4 }, 400).call(function() { var _xwk = null; _xwj._t_bg = null, _xwj._t_compass = null, null != _xwh && _xwh(); }); }, _xw9.prototype.deactivate = function(_xwl) { var _xwm = null, _xwn = this; void 0 === _xwl && (_xwl = null), this._stopTweens(), this._t_bg = createjs.Tween.get(this._bg).to({ 'alpha': 0, 'y': 633 }, 400), this._compass.activate(), this._t_compass = createjs.Tween.get(this._compass).to({ 'alpha': 0, 'y': 766, 'rotation': 0 }, 400).call(function() { var _xwo = null; _xwn._t_bg = null, _xwn._t_compass = null, null != _xwl && _xwl(); }); }, _xw9.prototype.dispose = function() { var _xwp = null; this.removeChildren(), this._stopTweens(), this._bg.dispose(), this._bg = null, this._compass.dispose(), this._compass = null; }, _xw9.prototype.showItemGetText = function(_xwq, _xwr) { var _xws = null; this._bg.showItemGetText(_xwq, _xwr); }, _xw9.prototype.showUzushioText = function(_xwt, _xwu, _xwv) { var _xww = null; this._bg.showUzushioText(_xwt, _xwu, _xwv); }, _xw9.prototype._stopTweens = function() { var _xwx = null; null != this._t_bg && (this._t_bg.setPaused(!0), this._t_bg = null), null != this._t_compass && (this._t_compass.setPaused(!0), this._t_compass = null); }, _xw9; }(PIXI.Container); _xvi.CompMessageBox = _xw6; var _xwc = function(_xwy) { var _xwz = null; function _xx0() { var _xx1 = null, _xx2 = _xwy.call(this) || this; return _xx2._bg = new PIXI.Sprite(), _xx2._icon = new _xw5.CompDropItemIcon(), _xx2._icon.position.set(416, 23), _xx2._icon.visible = !1, _xx2._text = new _xw2.TextBox(30, 16777215), _xx2._text.position.set(414, 23), _xx2._text.style.wordWrap = !1, _xx2._text.style.breakWords = !1, _xx2.addChild(_xx2._bg), _xx2.addChild(_xx2._icon), _xx2.addChild(_xx2._text), _xx2; } return _xvm(_xx0, _xwy), Object.defineProperty(_xx0.prototype, 'text', { 'get': function() { var _xx3 = null; return this._text.text; }, 'set': function(_xx4) { var _xx5 = null; this._text.text = _xx4, this._icon.visible = !1; }, 'enumerable': !1, 'configurable': !0 }), _xx0.prototype.initialize = function() { var _xx6 = null; this._bg.texture = _xw3.SALLY_MAP_PARTS.getTexture(18); }, _xx0.prototype.showItemGetText = function(_xx7, _xx8) { var _xx9 = null; this._icon.update(_xx7), this._icon.visible = !0, this._text.text = ' ×' ['concat'](_xx8, '\nを入手しました!'); }, _xx0.prototype.showUzushioText = function(_xxa, _xxb, _xxc) { var _xxd = null; this._icon.update(_xxa), this._icon.visible = !0, this._text.text = ' ×' ['concat'](_xxb, '\nを落としてしまいました…。'), 1 == _xxc && (this._text.text += '\n(電探が役立って、被害を抑えられた!)'); }, _xx0.prototype.dispose = function() { var _xxe = null; this.removeChildren(), this._text.destroy(); }, _xx0; }(PIXI.Container); }, 28694: function(_xxf, _xxg, _xxh) { 'use strict'; var _xxi = null; var _xxj, _xxk = this && this.__extends || (_xxj = function(_xxl, _xxm) { var _xxn = null; return _xxj = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_xxo, _xxp) { var _xxq = null; _xxo.__proto__ = _xxp; } || function(_xxr, _xxs) { var _xxt = null; for (var _xxu in _xxs) Object.prototype.hasOwnProperty.call(_xxs, _xxu) && (_xxr[_xxu] = _xxs[_xxu]); }, _xxj(_xxl, _xxm); }, function(_xxv, _xxw) { var _xxx = null; if ('function' != typeof _xxw && null !== _xxw) throw new TypeError('Class extends value ' + String(_xxw) + ' is not a constructor or null'); function _xxy() { var _xxz = null; this.constructor = _xxv; } _xxj(_xxv, _xxw), _xxv.prototype = null === _xxw ? Object.create(_xxw) : (_xxy.prototype = _xxw.prototype, new _xxy()); }); defineModule(_xxg); Object.defineProperty(_xxg, '__esModule', { 'value': !0 }), _xxg.CompSwitchBtns = void 0; var _xy0 = _xxh(36800), _xy1 = _xxh(48473), _xy2 = function(_xy3) { var _xy4 = null; function _xy5(_xy6, _xy7, _xy8) { var _xy9 = null, _xya = _xy3.call(this) || this; return _xya._cb_onChange = _xy8, _xya._btn_sortie = new _xyb(0), _xya._btn_practice = new _xyb(1), _xya._btn_expedition = new _xyb(2), _xya._btn_expedition.enabled = _xy7, 0 == _xy6 ? _xya._btn_sortie.selected = !0 : 1 == _xy6 ? _xya._btn_practice.selected = !0 : 2 == _xy6 && (_xya._btn_expedition.selected = !0), _xya._btn_practice.x = 129, _xya._btn_expedition.x = 255, _xya.addChild(_xya._btn_sortie), _xya.addChild(_xya._btn_practice), _xya.addChild(_xya._btn_expedition), _xya; } return _xxk(_xy5, _xy3), _xy5.prototype.initialize = function() { var _xyc = null, _xyd = this; this._btn_sortie.initialize(function() { var _xye = null; null != _xyd._cb_onChange && _xyd._cb_onChange(0); }), this._btn_practice.initialize(function() { var _xyf = null; null != _xyd._cb_onChange && _xyd._cb_onChange(1); }), this._btn_expedition.initialize(function() { var _xyg = null; null != _xyd._cb_onChange && _xyd._cb_onChange(2); }); }, _xy5.prototype.activate = function() { var _xyh = null; this._btn_sortie.activate(), this._btn_practice.activate(), this._btn_expedition.activate(); }, _xy5.prototype.deactivate = function() { var _xyi = null; this._btn_sortie.deactivate(), this._btn_practice.deactivate(), this._btn_expedition.deactivate(); }, _xy5.prototype.dispose = function() { var _xyj = null; this._btn_sortie.dispose(), this._btn_practice.dispose(), this._btn_expedition.dispose(), this._cb_onChange = null; }, _xy5; }(PIXI.Container); _xxg.CompSwitchBtns = _xy2; var _xyb = function(_xyk) { var _xyl = null; function _xym(_xyn) { var _xyo = null, _xyp = _xyk.call(this) || this; return _xyp._selected = !1, _xyp._type = _xyn, _xyp; } return _xxk(_xym, _xyk), Object.defineProperty(_xym.prototype, 'type', { 'get': function() { var _xyq = null; return this._type; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_xym.prototype, 'selected', { 'get': function() { var _xyr = null; return this._selected; }, 'set': function(_xys) { var _xyt = null; this._selected = _xys, this.enabled = 0 == this._selected; }, 'enumerable': !1, 'configurable': !0 }), _xym.prototype._update = function(_xyu) { var _xyv = null; switch (this._type) { case 0: return void(1 == _xyu || 1 == this._selected ? this.texture = _xy1.SALLY_COMMON.getTexture(43) : this.texture = _xy1.SALLY_COMMON.getTexture(42)); case 1: return void(1 == _xyu || 1 == this._selected ? this.texture = _xy1.SALLY_COMMON.getTexture(38) : this.texture = _xy1.SALLY_COMMON.getTexture(37)); case 2: return void(0 == this.enabled && 0 == this._selected ? this.texture = _xy1.SALLY_COMMON.getTexture(40) : 1 == _xyu || 1 == this._selected ? this.texture = _xy1.SALLY_COMMON.getTexture(41) : this.texture = _xy1.SALLY_COMMON.getTexture(39)); } this.texture = PIXI.Texture.EMPTY; }, _xym; }(_xy0.BtnBase); }, 2673: function(_xyw, _xyx, _xyy) { 'use strict'; var _xyz = null; var _xz0, _xz1 = this && this.__extends || (_xz0 = function(_xz2, _xz3) { var _xz4 = null; return _xz0 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_xz5, _xz6) { var _xz7 = null; _xz5.__proto__ = _xz6; } || function(_xz8, _xz9) { var _xza = null; for (var _xzb in _xz9) Object.prototype.hasOwnProperty.call(_xz9, _xzb) && (_xz8[_xzb] = _xz9[_xzb]); }, _xz0(_xz2, _xz3); }, function(_xzc, _xzd) { var _xze = null; if ('function' != typeof _xzd && null !== _xzd) throw new TypeError('Class extends value ' + String(_xzd) + ' is not a constructor or null'); function _xzf() { var _xzg = null; this.constructor = _xzc; } _xz0(_xzc, _xzd), _xzc.prototype = null === _xzd ? Object.create(_xzd) : (_xzf.prototype = _xzd.prototype, new _xzf()); }); defineModule(_xyx); Object.defineProperty(_xyx, '__esModule', { 'value': !0 }), _xyx.FormationBox = void 0; var _xzh = _xyy(24616), _xzi = _xyy(50110), _xzj = _xyy(1041), _xzk = _xyy(35380), _xzl = function(_xzm) { var _xzn = null; function _xzo(_xzp) { var _xzq = null, _xzr = _xzm.call(this) || this; return _xzr._enabled = !1, _xzr._bg = new PIXI.Sprite(), _xzr._points = new _xzj.FormationPoints(_xzp), _xzr._btn = new _xzs(), _xzr._btn.position.set(15, 161), _xzr._points.position.set(90, 84), _xzr._points.scale.set(0.6), _xzr._points.rotation = Math.PI / 2, _xzr.addChild(_xzr._bg), _xzr.addChild(_xzr._points), _xzr.addChild(_xzr._btn), _xzr; } return _xz1(_xzo, _xzm), Object.defineProperty(_xzo.prototype, 'enabled', { 'get': function() { var _xzt = null; return this._enabled; }, 'enumerable': !1, 'configurable': !0 }), _xzo.prototype.initialize = function(_xzu, _xzv, _xzw, _xzx) { var _xzy = null; 3 == _xzu && _xzv < 5 || _xzv < 4 ? (this._enabled = !1, this.visible = !1) : (this._enabled = !0, this._bg.texture = _xzi.SALLY_JIN.getTexture(33), this._points.initialize(_xzu, _xzv, _xzx), this._points.show(0), this._btn.initialize(_xzu, _xzw)); }, _xzo.prototype.activate = function() { var _xzz = null; 1 == this._enabled && this._btn.activate(); }, _xzo.prototype.deactivate = function() { var _y00 = null; this._btn.deactivate(); }, _xzo.prototype.dispose = function() { var _y01 = null; this._btn.dispose(); }, _xzo; }(PIXI.Container); _xyx.FormationBox = _xzl; var _xzs = function(_y02) { var _y03 = null; function _y04() { var _y05 = null, _y06 = _y02.call(this) || this; return _y06._onMouseOver = function() { var _y07 = null; _y06._update(!0); }, _y06._onMouseOut = function() { var _y08 = null; _y06._update(!1); }, _y06._onClick = function() { var _y09 = null; null != _y06._cb && _y06._cb(_y06._type); }, _y06.interactive = !0, _y06; } return _xz1(_y04, _y02), _y04.prototype.initialize = function(_y0a, _y0b) { var _y0c = null; this._type = _y0a, this._cb = _y0b, 1 == _y0a ? (this._texture_no = 6, this._texture_no_on = 7) : 2 == _y0a ? (this._texture_no = 0, this._texture_no_on = 1) : 3 == _y0a ? (this._texture_no = 4, this._texture_no_on = 5) : 4 == _y0a ? (this._texture_no = 10, this._texture_no_on = 11) : 5 == _y0a ? (this._texture_no = 8, this._texture_no_on = 9) : 6 == _y0a && (this._texture_no = 2, this._texture_no_on = 3), this._update(!1); }, _y04.prototype.activate = function() { var _y0d = null; if (1 != this.buttonMode) { this.buttonMode = !0, this.on(_xzk.EventType.MOUSEOVER, this._onMouseOver), this.on(_xzk.EventType.MOUSEOUT, this._onMouseOut), this.on(_xzk.EventType.CLICK, this._onClick); var _y0e = _xzh.InteractiveUtil.isOnMouse(this); this._update(_y0e); } }, _y04.prototype.deactivate = function() { var _y0f = null; this.buttonMode = !1, this.off(_xzk.EventType.MOUSEOVER, this._onMouseOver), this.off(_xzk.EventType.MOUSEOUT, this._onMouseOut), this.off(_xzk.EventType.CLICK, this._onClick); }, _y04.prototype.dispose = function() { var _y0g = null; 1 == this.buttonMode && this.deactivate(), this._cb = null; }, _y04.prototype._update = function(_y0h) { var _y0i = null; this.texture = 0 == _y0h ? _xzi.SALLY_JIN.getTexture(this._texture_no) : _xzi.SALLY_JIN.getTexture(this._texture_no_on); }, _y04; }(PIXI.Sprite); }, 1719: function(_y0j, _y0k, _y0l) { 'use strict'; var _y0m = null; var _y0n, _y0o = this && this.__extends || (_y0n = function(_y0p, _y0q) { var _y0r = null; return _y0n = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_y0s, _y0t) { var _y0u = null; _y0s.__proto__ = _y0t; } || function(_y0v, _y0w) { var _y0x = null; for (var _y0y in _y0w) Object.prototype.hasOwnProperty.call(_y0w, _y0y) && (_y0v[_y0y] = _y0w[_y0y]); }, _y0n(_y0p, _y0q); }, function(_y0z, _y10) { var _y11 = null; if ('function' != typeof _y10 && null !== _y10) throw new TypeError('Class extends value ' + String(_y10) + ' is not a constructor or null'); function _y12() { var _y13 = null; this.constructor = _y0z; } _y0n(_y0z, _y10), _y0z.prototype = null === _y10 ? Object.create(_y10) : (_y12.prototype = _y10.prototype, new _y12()); }); defineModule(_y0k); Object.defineProperty(_y0k, '__esModule', { 'value': !0 }), _y0k.FormationBoxCombined = void 0; var _y14 = _y0l(24616), _y15 = _y0l(50110), _y16 = _y0l(35380), _y17 = function(_y18) { var _y19 = null; function _y1a() { var _y1b = null, _y1c = _y18.call(this) || this; return _y1c._enabled = !1, _y1c._bg = new PIXI.Sprite(), _y1c.addChild(_y1c._bg), _y1c._btn = new _y1d(), _y1c._btn.position.set(17, 143), _y1c.addChild(_y1c._btn), _y1c; } return _y0o(_y1a, _y18), Object.defineProperty(_y1a.prototype, 'enabled', { 'get': function() { var _y1e = null; return this._enabled; }, 'enumerable': !1, 'configurable': !0 }), _y1a.prototype.initialize = function(_y1f, _y1g, _y1h, _y1i) { var _y1j = null; this._bg.texture = this._getTexture(_y1f, _y1g), this._enabled = !(13 == _y1g && _y1h < 5) && !(14 == _y1g && _y1h < 4), 1 == this._enabled ? this._btn.initialize(_y1g, _y1i) : this.visible = !1; }, _y1a.prototype.activate = function() { var _y1k = null; 1 == this._enabled && this._btn.activate(); }, _y1a.prototype.deactivate = function() { var _y1l = null; this._btn.deactivate(); }, _y1a.prototype.dispose = function() { var _y1m = null; this._btn.dispose(); }, _y1a.prototype._getTexture = function(_y1n, _y1o) { var _y1p = null; switch (_y1n) { case 1: switch (_y1o) { case 11: return _y15.SALLY_JIN.getTexture(14); case 12: return _y15.SALLY_JIN.getTexture(15); case 13: return _y15.SALLY_JIN.getTexture(16); case 14: return _y15.SALLY_JIN.getTexture(17); } break; case 2: switch (_y1o) { case 11: return _y15.SALLY_JIN.getTexture(34); case 12: return _y15.SALLY_JIN.getTexture(35); case 13: return _y15.SALLY_JIN.getTexture(36); case 14: return _y15.SALLY_JIN.getTexture(37); } break; case 3: switch (_y1o) { case 11: return _y15.SALLY_JIN.getTexture(39); case 12: return _y15.SALLY_JIN.getTexture(40); case 13: return _y15.SALLY_JIN.getTexture(41); case 14: return _y15.SALLY_JIN.getTexture(42); } } return PIXI.Texture.EMPTY; }, _y1a; }(PIXI.Container); _y0k.FormationBoxCombined = _y17; var _y1d = function(_y1q) { var _y1r = null; function _y1s() { var _y1t = null, _y1u = _y1q.call(this) || this; return _y1u._onMouseOver = function() { var _y1v = null; _y1u._update(!0); }, _y1u._onMouseOut = function() { var _y1w = null; _y1u._update(!1); }, _y1u._onClick = function() { var _y1x = null; null != _y1u._cb_onClick && _y1u._cb_onClick(_y1u._type); }, _y1u.interactive = !0, _y1u; } return _y0o(_y1s, _y1q), _y1s.prototype.initialize = function(_y1y, _y1z) { var _y20 = null; this._type = _y1y, this._cb_onClick = _y1z, this._update(!1); }, _y1s.prototype.activate = function() { var _y21 = null; if (1 != this.buttonMode) { this.buttonMode = !0, this.on(_y16.EventType.MOUSEOVER, this._onMouseOver), this.on(_y16.EventType.MOUSEOUT, this._onMouseOut), this.on(_y16.EventType.CLICK, this._onClick); var _y22 = _y14.InteractiveUtil.isOnMouse(this); this._update(_y22); } }, _y1s.prototype.deactivate = function() { var _y23 = null; this.buttonMode = !1, this.off(_y16.EventType.MOUSEOVER, this._onMouseOver), this.off(_y16.EventType.MOUSEOUT, this._onMouseOut), this.off(_y16.EventType.CLICK, this._onClick); }, _y1s.prototype.dispose = function() { var _y24 = null; 1 == this.buttonMode && this.deactivate(), this._cb_onClick = null; }, _y1s.prototype._update = function(_y25) { var _y26 = null; this.texture = 0 == _y25 ? this._getTexture() : this._getTextureOn(); }, _y1s.prototype._getTexture = function() { var _y27 = null; switch (this._type) { case 11: return _y15.SALLY_JIN.getTexture(19); case 12: return _y15.SALLY_JIN.getTexture(21); case 13: return _y15.SALLY_JIN.getTexture(23); case 14: return _y15.SALLY_JIN.getTexture(25); default: return PIXI.Texture.EMPTY; } }, _y1s.prototype._getTextureOn = function() { var _y28 = null; switch (this._type) { case 11: return _y15.SALLY_JIN.getTexture(20); case 12: return _y15.SALLY_JIN.getTexture(22); case 13: return _y15.SALLY_JIN.getTexture(24); case 14: return _y15.SALLY_JIN.getTexture(26); default: return PIXI.Texture.EMPTY; } }, _y1s; }(PIXI.Sprite); }, 51978: function(_y29, _y2a, _y2b) { 'use strict'; var _y2c = null; var _y2d, _y2e = this && this.__extends || (_y2d = function(_y2f, _y2g) { var _y2h = null; return _y2d = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_y2i, _y2j) { var _y2k = null; _y2i.__proto__ = _y2j; } || function(_y2l, _y2m) { var _y2n = null; for (var _y2o in _y2m) Object.prototype.hasOwnProperty.call(_y2m, _y2o) && (_y2l[_y2o] = _y2m[_y2o]); }, _y2d(_y2f, _y2g); }, function(_y2p, _y2q) { var _y2r = null; if ('function' != typeof _y2q && null !== _y2q) throw new TypeError('Class extends value ' + String(_y2q) + ' is not a constructor or null'); function _y2s() { var _y2t = null; this.constructor = _y2p; } _y2d(_y2p, _y2q), _y2p.prototype = null === _y2q ? Object.create(_y2q) : (_y2s.prototype = _y2q.prototype, new _y2s()); }); defineModule(_y2a); Object.defineProperty(_y2a, '__esModule', { 'value': !0 }), _y2a.FormationPoint = void 0; var _y2u = _y2b(50110), _y2v = function(_y2w) { var _y2x = null; function _y2y() { var _y2z = null; return null !== _y2w && _y2w.apply(this, arguments) || this; } return _y2e(_y2y, _y2w), _y2y.prototype.initialize = function(_y30) { var _y31 = null; this.texture = 1 == _y30 ? _y2u.SALLY_JIN.getTexture(13) : _y2u.SALLY_JIN.getTexture(12); }, _y2y.prototype.initializeForCombinedMain = function(_y32, _y33) { var _y34 = null; if (1 == _y32) switch (_y33) { case 1: this.texture = _y2u.SALLY_JIN.getTexture(27); break; case 2: this.texture = _y2u.SALLY_JIN.getTexture(31); break; case 3: this.texture = _y2u.SALLY_JIN.getTexture(32); break; default: this.texture = PIXI.Texture.EMPTY; } else this.texture = _y2u.SALLY_JIN.getTexture(29); }, _y2y.prototype.initializeForCombinedSub = function(_y35) { var _y36 = null; this.texture = 1 == _y35 ? _y2u.SALLY_JIN.getTexture(28) : _y2u.SALLY_JIN.getTexture(30); }, _y2y; }(PIXI.Sprite); _y2a.FormationPoint = _y2v; }, 1041: function(_y37, _y38, _y39) { 'use strict'; var _y3a = null; var _y3b, _y3c = this && this.__extends || (_y3b = function(_y3d, _y3e) { var _y3f = null; return _y3b = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_y3g, _y3h) { var _y3i = null; _y3g.__proto__ = _y3h; } || function(_y3j, _y3k) { var _y3l = null; for (var _y3m in _y3k) Object.prototype.hasOwnProperty.call(_y3k, _y3m) && (_y3j[_y3m] = _y3k[_y3m]); }, _y3b(_y3d, _y3e); }, function(_y3n, _y3o) { var _y3p = null; if ('function' != typeof _y3o && null !== _y3o) throw new TypeError('Class extends value ' + String(_y3o) + ' is not a constructor or null'); function _y3q() { var _y3r = null; this.constructor = _y3n; } _y3b(_y3n, _y3o), _y3n.prototype = null === _y3o ? Object.create(_y3o) : (_y3q.prototype = _y3o.prototype, new _y3q()); }); defineModule(_y38); Object.defineProperty(_y38, '__esModule', { 'value': !0 }), _y38.FormationPoints = void 0; var _y3s = _y39(51978), _y3t = function(_y3u) { var _y3v = null; function _y3w(_y3x) { var _y3y = null, _y3z = _y3u.call(this) || this; return _y3z._POSITIONS_TANJUU = [null, [ [-11, -11] ], [ [-29, -11], [8, -11] ], [ [-47, -11], [-11, -11], [26, -11] ], [ [-63, -11], [-29, -11], [8, -11], [42, -11] ], [ [-80, -11], [-47, -11], [-11, -11], [26, -11], [59, -11] ], [ [-98, -11], [-63, -11], [-29, -11], [8, -11], [42, -11], [77, -11] ], [ [-101, -11], [-71, -11], [-41, -11], [-11, -11], [20, -11], [50, -11], [80, -11] ] ], _y3z._POSITIONS_FUKUJUU = [null, [ [-11, -11] ], null, [ [-29, -27], [8, -27], [-29, 6] ], [ [-29, -27], [8, -27], [-29, 6], [8, 6] ], [ [-47, -27], [-11, -27], [26, -27], [-47, 6], [-11, 6] ], [ [-47, -27], [-11, -27], [26, -27], [-47, 6], [-11, 6], [26, 6] ], [ [-65, -27], [-29, -27], [8, -27], [-65, 6], [-29, 6], [8, 6], [44, -11] ] ], _y3z._POSITIONS_RINKEI = [null, [ [-11, -11] ], null, null, [ [-11, -11], [-46, -11], [8, -44], [8, 23] ], [ [-11, -11], [26, -11], [-47, -11], [-11, -44], [-11, 23] ], [ [-29, -11], [8, -11], [42, -11], [-63, -11], [-11, -60], [-11, 39] ], [ [-11, -11], [51, -11], [-72, -11], [-42, -65], [-42, 44], [21, -65], [21, 44] ] ], _y3z._POSITIONS_TEIKEI = [null, [ [-11, -11] ], [ [-23, -23], [0, 0] ], [ [-33, -33], [-11, -11], [12, 12] ], [ [-44, -44], [-21, -21], [0, 0], [24, 24] ], [ [-56, -56], [-33, -33], [-11, -11], [12, 12], [35, 35] ], [ [-66, -66], [-44, -44], [-21, -21], [0, 0], [24, 24], [47, 47] ], [ [-69, -69], [-50, -50], [-30, -30], [-11, -11], [9, 9], [29, 29], [48, 48] ] ], _y3z._POSITIONS_TANOU = [null, [ [-11, -11] ], [ [-11, -27], [-11, 6] ], [ [-11, -43], [-11, -11], [-11, 23] ], [ [-11, -60], [-11, -27], [-11, 6], [-11, 39] ], [ [-11, -77], [-11, -44], [-11, -11], [-11, 23], [-11, 56] ], [ [-11, -93], [-11, -60], [-11, -27], [-11, 6], [-11, 39], [-11, 72] ], [ [-11, -101], [-11, -71], [-11, -41], [-11, -11], [-11, 20], [-11, 50], [-11, 80] ] ], _y3z._POSITIONS_KEIKAI = [null, [ [-11, -11] ], null, null, [ [-11, -11], [26, -11], [-47, -41], [-47, 20] ], [ [-11, -11], [26, -11], [-60, -11], [-41, -41], [-41, 20] ], [ [-11, -11], [26, -11], [62, -11], [-60, -11], [-41, -41], [-41, 20] ], [ [-3, -11], [33, -11], [69, -11], [-89, -11], [-53, -11], [-33, -41], [-33, 20] ] ], _y3z._friend = _y3x, _y3z._points = [], _y3z; } return _y3c(_y3w, _y3u), _y3w.prototype.initialize = function(_y40, _y41, _y42) { var _y43 = null; void 0 === _y42 && (_y42 = -1), this._clearPoints(), _y42 <= 0 && (_y42 = _y41); var _y44 = this._getPositionsList(_y40); if (null != _y44) { var _y45 = _y44[_y41]; if (null != _y45) { _y45 = _y44[_y42]; for (var _y46 = 0; _y46 < _y45.length; _y46++) { var _y47 = new _y3s.FormationPoint(), _y48 = _y45[_y46][0], _y49 = _y45[_y46][1]; _y47.position.set(_y48, _y49), _y47.initialize(this._friend), _y47.visible = !1, this.addChild(_y47), this._points.push(_y47); } } } }, _y3w.prototype.show = function(_y4a) { var _y4b = null; void 0 === _y4a && (_y4a = 100); for (var _y4c = createjs.Tween.get(null), _y4d = function(_y4e) { var _y4f = null; _y4c.wait(_y4a), _y4c.call(function() { var _y4g = null; _y4e.visible = !0; }); }, _y4h = 0, _y4i = this._points; _y4h < _y4i.length; _y4h++) { _y4d(_y4i[_y4h]); } }, _y3w.prototype.dispose = function() { var _y4j = null; this._clearPoints(); }, _y3w.prototype._getPositionsList = function(_y4k) { var _y4l = null; return 1 == _y4k ? this._POSITIONS_TANJUU : 2 == _y4k ? this._POSITIONS_FUKUJUU : 3 == _y4k ? this._POSITIONS_RINKEI : 4 == _y4k ? this._POSITIONS_TEIKEI : 5 == _y4k ? this._POSITIONS_TANOU : 6 == _y4k ? this._POSITIONS_KEIKAI : null; }, _y3w.prototype._clearPoints = function() { var _y4m = null; for (var _y4n = 0, _y4o = this._points; _y4n < _y4o.length; _y4n++) { var _y4p = _y4o[_y4n]; this.removeChild(_y4p); } this._points = []; }, _y3w; }(PIXI.Container); _y38.FormationPoints = _y3t; }, 63924: function(_y4q, _y4r, _y4s) { 'use strict'; var _y4t = null; var _y4u, _y4v = this && this.__extends || (_y4u = function(_y4w, _y4x) { var _y4y = null; return _y4u = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_y4z, _y50) { var _y51 = null; _y4z.__proto__ = _y50; } || function(_y52, _y53) { var _y54 = null; for (var _y55 in _y53) Object.prototype.hasOwnProperty.call(_y53, _y55) && (_y52[_y55] = _y53[_y55]); }, _y4u(_y4w, _y4x); }, function(_y56, _y57) { var _y58 = null; if ('function' != typeof _y57 && null !== _y57) throw new TypeError('Class extends value ' + String(_y57) + ' is not a constructor or null'); function _y59() { var _y5a = null; this.constructor = _y56; } _y4u(_y56, _y57), _y56.prototype = null === _y57 ? Object.create(_y57) : (_y59.prototype = _y57.prototype, new _y59()); }); defineModule(_y4r); Object.defineProperty(_y4r, '__esModule', { 'value': !0 }), _y4r.FormationPointsCombinedMain = void 0; var _y5b = _y4s(51978), _y5c = function(_y5d) { var _y5e = null; function _y5f(_y5g) { var _y5h = null, _y5i = _y5d.call(this) || this; return _y5i._friend = _y5g, _y5i._points = [], _y5i; } return _y4v(_y5f, _y5d), _y5f.prototype.initialize = function(_y5j, _y5k, _y5l) { var _y5m = null; if (this._clearPoints(), _y5k <= 0) return !1; var _y5n; switch (_y5j) { case 11: _y5n = this._get11Points(_y5k); break; case 12: _y5n = this._get12Points(_y5k); break; case 13: _y5n = this._get13Points(_y5k); break; case 14: _y5n = this._get14Points(_y5k); } if (null == _y5n) return !1; for (var _y5o = 0; _y5o < _y5n.length; _y5o++) { var _y5p = new _y5b.FormationPoint(), _y5q = _y5n[_y5o]; _y5p.position.set(_y5q.x, _y5q.y), _y5p.initializeForCombinedMain(this._friend, _y5l), _y5p.visible = !1, this.addChild(_y5p), this._points.push(_y5p); } return !0; }, _y5f.prototype.show = function(_y5r) { var _y5s = null; void 0 === _y5r && (_y5r = 100); for (var _y5t = createjs.Tween.get(null), _y5u = function(_y5v) { var _y5w = null; _y5t.wait(_y5r), _y5t.call(function() { var _y5x = null; _y5v.visible = !0; }); }, _y5y = 0, _y5z = this._points; _y5y < _y5z.length; _y5y++) { _y5u(_y5z[_y5y]); } }, _y5f.prototype.dispose = function() { var _y60 = null; this._clearPoints(); }, _y5f.prototype._clearPoints = function() { var _y61 = null; for (var _y62 = 0, _y63 = this._points; _y62 < _y63.length; _y62++) { var _y64 = _y63[_y62]; this.removeChild(_y64); } this._points = []; }, _y5f.prototype._get11Points = function(_y65) { var _y66 = null, _y67 = []; return _y65 > 0 && _y67.push(new PIXI.Point(-24, -20)), _y65 > 1 && _y67.push(new PIXI.Point(-24, 0)), _y65 > 2 && _y67.push(new PIXI.Point(-44, -20)), _y65 > 3 && _y67.push(new PIXI.Point(-44, 0)), _y65 > 4 && _y67.push(new PIXI.Point(-24, -44)), _y65 > 5 && _y67.push(new PIXI.Point(-24, 26)), _y67; }, _y5f.prototype._get12Points = function(_y68) { var _y69 = null, _y6a = []; return _y68 > 0 && _y6a.push(new PIXI.Point(-24, -21)), _y68 > 1 && _y6a.push(new PIXI.Point(-24, 0)), _y68 > 2 && _y6a.push(new PIXI.Point(-44, -21)), _y68 > 3 && _y6a.push(new PIXI.Point(-44, 0)), _y68 > 4 && _y6a.push(new PIXI.Point(-63, -21)), _y68 > 5 && _y6a.push(new PIXI.Point(-63, 0)), _y6a; }, _y5f.prototype._get13Points = function(_y6b) { var _y6c = null, _y6d = []; return _y6b > 0 && _y6d.push(new PIXI.Point(-12, -21)), _y6b > 1 && _y6d.push(new PIXI.Point(-12, 0)), _y6b > 2 && _y6d.push(new PIXI.Point(-32, -21)), _y6b > 3 && _y6d.push(new PIXI.Point(-32, 0)), _y6b > 4 && _y6d.push(new PIXI.Point(11, -21)), _y6b > 5 && _y6d.push(new PIXI.Point(11, 0)), _y6d; }, _y5f.prototype._get14Points = function(_y6e) { var _y6f = null, _y6g = []; return _y6e > 0 && _y6g.push(new PIXI.Point(-45, -21)), _y6e > 1 && _y6g.push(new PIXI.Point(-45, 0)), _y6e > 2 && _y6g.push(new PIXI.Point(-63, -21)), _y6e > 3 && _y6g.push(new PIXI.Point(-63, 0)), _y6e > 4 && _y6g.push(new PIXI.Point(-9, -12)), _y6e > 5 && _y6g.push(new PIXI.Point(-27, -12)), _y6g; }, _y5f; }(PIXI.Container); _y4r.FormationPointsCombinedMain = _y5c; }, 4348: function(_y6h, _y6i, _y6j) { 'use strict'; var _y6k = null; var _y6l, _y6m = this && this.__extends || (_y6l = function(_y6n, _y6o) { var _y6p = null; return _y6l = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_y6q, _y6r) { var _y6s = null; _y6q.__proto__ = _y6r; } || function(_y6t, _y6u) { var _y6v = null; for (var _y6w in _y6u) Object.prototype.hasOwnProperty.call(_y6u, _y6w) && (_y6t[_y6w] = _y6u[_y6w]); }, _y6l(_y6n, _y6o); }, function(_y6x, _y6y) { var _y6z = null; if ('function' != typeof _y6y && null !== _y6y) throw new TypeError('Class extends value ' + String(_y6y) + ' is not a constructor or null'); function _y70() { var _y71 = null; this.constructor = _y6x; } _y6l(_y6x, _y6y), _y6x.prototype = null === _y6y ? Object.create(_y6y) : (_y70.prototype = _y6y.prototype, new _y70()); }); defineModule(_y6i); Object.defineProperty(_y6i, '__esModule', { 'value': !0 }), _y6i.FormationPointsCombinedSub = void 0; var _y72 = _y6j(51978), _y73 = function(_y74) { var _y75 = null; function _y76(_y77) { var _y78 = null, _y79 = _y74.call(this) || this; return _y79._friend = _y77, _y79._points = [], _y79; } return _y6m(_y76, _y74), _y76.prototype.initialize = function(_y7a, _y7b) { var _y7c = null; if (this._clearPoints(), _y7b <= 0) return !1; var _y7d; switch (_y7a) { case 11: _y7d = this._get11Points(_y7b); break; case 12: _y7d = this._get12Points(_y7b); break; case 13: _y7d = this._get13Points(_y7b); break; case 14: _y7d = this._get14Points(_y7b); } if (null == _y7d) return !1; for (var _y7e = 0; _y7e < _y7d.length; _y7e++) { var _y7f = new _y72.FormationPoint(), _y7g = _y7d[_y7e]; _y7f.position.set(_y7g.x, _y7g.y), _y7f.initializeForCombinedSub(this._friend), _y7f.visible = !1, this.addChild(_y7f), this._points.push(_y7f); } return !0; }, _y76.prototype.show = function(_y7h) { var _y7i = null; void 0 === _y7h && (_y7h = 100); for (var _y7j = createjs.Tween.get(null), _y7k = function(_y7l) { var _y7m = null; _y7j.wait(_y7h), _y7j.call(function() { var _y7n = null; _y7l.visible = !0; }); }, _y7o = 0, _y7p = this._points; _y7o < _y7p.length; _y7o++) { _y7k(_y7p[_y7o]); } }, _y76.prototype.dispose = function() { var _y7q = null; this._clearPoints(); }, _y76.prototype._clearPoints = function() { var _y7r = null; for (var _y7s = 0, _y7t = this._points; _y7s < _y7t.length; _y7s++) { var _y7u = _y7t[_y7s]; this.removeChild(_y7u); } this._points = []; }, _y76.prototype._get11Points = function(_y7v) { var _y7w = null, _y7x = []; return _y7v > 0 && _y7x.push(new PIXI.Point(38, -12)), _y7v > 1 && _y7x.push(new PIXI.Point(23, -35)), _y7v > 2 && _y7x.push(new PIXI.Point(23, 12)), _y7v > 3 && _y7x.push(new PIXI.Point(8, -57)), _y7v > 4 && _y7x.push(new PIXI.Point(8, 35)), _y7v > 5 && _y7x.push(new PIXI.Point(0, -12)), _y7x; }, _y76.prototype._get12Points = function(_y7y) { var _y7z = null, _y80 = []; return _y7y > 0 && _y80.push(new PIXI.Point(44, -12)), _y7y > 1 && _y80.push(new PIXI.Point(17, -12)), _y7y > 2 && _y80.push(new PIXI.Point(36, -38)), _y7y > 3 && _y80.push(new PIXI.Point(36, 15)), _y7y > 4 && _y80.push(new PIXI.Point(-3, -21)), _y7y > 5 && _y80.push(new PIXI.Point(-3, 0)), _y80; }, _y76.prototype._get13Points = function(_y81) { var _y82 = null, _y83 = []; return _y81 > 0 && _y83.push(new PIXI.Point(36, -12)), _y81 > 1 && _y83.push(new PIXI.Point(11, -54)), _y81 > 2 && _y83.push(new PIXI.Point(11, 33)), _y81 > 3 && _y83.push(new PIXI.Point(-32, -54)), _y81 > 4 && _y83.push(new PIXI.Point(-32, 33)), _y81 > 5 && _y83.push(new PIXI.Point(-57, -12)), _y83; }, _y76.prototype._get14Points = function(_y84) { var _y85 = null, _y86 = []; return _y84 > 0 && _y86.push(new PIXI.Point(44, -12)), _y84 > 1 && _y86.push(new PIXI.Point(26, -38)), _y84 > 2 && _y86.push(new PIXI.Point(26, 15)), _y84 > 3 && _y86.push(new PIXI.Point(26, -12)), _y84 > 4 && _y86.push(new PIXI.Point(9, -21)), _y84 > 5 && _y86.push(new PIXI.Point(9, 0)), _y86; }, _y76; }(PIXI.Container); _y6i.FormationPointsCombinedSub = _y73; }, 82680: function(_y87, _y88, _y89) { 'use strict'; var _y8a = null; var _y8b, _y8c = this && this.__extends || (_y8b = function(_y8d, _y8e) { var _y8f = null; return _y8b = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_y8g, _y8h) { var _y8i = null; _y8g.__proto__ = _y8h; } || function(_y8j, _y8k) { var _y8l = null; for (var _y8m in _y8k) Object.prototype.hasOwnProperty.call(_y8k, _y8m) && (_y8j[_y8m] = _y8k[_y8m]); }, _y8b(_y8d, _y8e); }, function(_y8n, _y8o) { var _y8p = null; if ('function' != typeof _y8o && null !== _y8o) throw new TypeError('Class extends value ' + String(_y8o) + ' is not a constructor or null'); function _y8q() { var _y8r = null; this.constructor = _y8n; } _y8b(_y8n, _y8o), _y8n.prototype = null === _y8o ? Object.create(_y8o) : (_y8q.prototype = _y8o.prototype, new _y8q()); }); defineModule(_y88); Object.defineProperty(_y88, '__esModule', { 'value': !0 }), _y88.PanelDeckSelectBanners = void 0; var _y8s = _y89(48205), _y8t = _y89(84732), _y8u = _y89(18710), _y8v = function(_y8w) { var _y8x = null; function _y8y(_y8z) { var _y90 = null, _y91 = _y8w.call(this) || this; return _y91._banners = [], _y91._levels = [], _y91._view_max = _y8z, _y91; } return _y8c(_y8y, _y8w), _y8y.prototype.dispose = function() { var _y92 = null; for (var _y93 = 0, _y94 = this._banners; _y93 < _y94.length; _y93++) { _y94[_y93].dispose(); } }, _y8y.prototype.update = function(_y95, _y96) { var _y97 = null; for (_y8s.TaskLoadShipResource.abortBy(this); this._banners.length > 0;) { var _y98 = this._banners.pop(); null != _y98.parent && _y98.parent.removeChild(_y98), _y98.dispose(); } for (; this._levels.length > 0;) { var _y99 = this._levels.pop(); null != _y99.parent && _y99.parent.removeChild(_y99); } for (var _y9a = 0; _y9a < this._view_max; _y9a++) { var _y9b = _y96 + _y9a, _y9c = new _y8t.CompBannerAndLack(); _y9c.position.set(0, 75 * _y9a), _y9c.initialize(), _y9c.update(_y95[_y9b], !0), this.addChild(_y9c), this._banners.push(_y9c); var _y9d = new _y8u.CompBannerLevel(); _y9d.position.set(201, 75 * _y9a), _y9d.initialize(), _y9d.update(_y95[_y9b]), this.addChild(_y9d), this._levels.push(_y9d); } }, _y8y; }(PIXI.Container); _y88.PanelDeckSelectBanners = _y8v; }, 98685: function(_y9e, _y9f, _y9g) { 'use strict'; var _y9h = null; var _y9i, _y9j = this && this.__extends || (_y9i = function(_y9k, _y9l) { var _y9m = null; return _y9i = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_y9n, _y9o) { var _y9p = null; _y9n.__proto__ = _y9o; } || function(_y9q, _y9r) { var _y9s = null; for (var _y9t in _y9r) Object.prototype.hasOwnProperty.call(_y9r, _y9t) && (_y9q[_y9t] = _y9r[_y9t]); }, _y9i(_y9k, _y9l); }, function(_y9u, _y9v) { var _y9w = null; if ('function' != typeof _y9v && null !== _y9v) throw new TypeError('Class extends value ' + String(_y9v) + ' is not a constructor or null'); function _y9x() { var _y9y = null; this.constructor = _y9u; } _y9i(_y9u, _y9v), _y9u.prototype = null === _y9v ? Object.create(_y9v) : (_y9x.prototype = _y9v.prototype, new _y9x()); }); defineModule(_y9f); Object.defineProperty(_y9f, '__esModule', { 'value': !0 }), _y9f.Rader = void 0; var _y9z = _y9g(8744), _ya0 = _y9g(48473), _ya1 = function(_ya2) { var _ya3 = null; function _ya4() { var _ya5 = null, _ya6 = _ya2.call(this) || this; return _ya6._animation_progress = 0, _ya6._model = new _ya7(), _ya6._karyoku = new _y9z.TextBox(22, 1949120), _ya6._raisou = new _y9z.TextBox(22, 1949120), _ya6._taiku = new _y9z.TextBox(22, 1949120), _ya6._kaihi = new _y9z.TextBox(22, 1949120), _ya6._taikyu = new _y9z.TextBox(22, 1949120), _ya6._g = new PIXI.Graphics(), _ya6._karyoku.anchor.set(0.5, 0), _ya6._raisou.anchor.set(0.5, 0), _ya6._taiku.anchor.set(0.5, 0), _ya6._kaihi.anchor.set(0.5, 0), _ya6._taikyu.anchor.set(0.5, 0), _ya6._karyoku.position.set(209, 81), _ya6._raisou.position.set(345, 231), _ya6._taiku.position.set(336, 393), _ya6._kaihi.position.set(93, 393), _ya6._taikyu.position.set(30, 228), _ya6._g.position.set(186, 269), _ya6; } return _y9j(_ya4, _ya2), _ya4.prototype.initialize = function() { var _ya8 = null, _ya9 = new PIXI.Sprite(_ya0.SALLY_COMMON.getTexture(33)), _yaa = new PIXI.Sprite(_ya0.SALLY_COMMON.getTexture(34)), _yab = new PIXI.Sprite(_ya0.SALLY_COMMON.getTexture(34)), _yac = new PIXI.Sprite(_ya0.SALLY_COMMON.getTexture(35)), _yad = new PIXI.Sprite(_ya0.SALLY_COMMON.getTexture(28)); _ya9.position.set(0, 44), _yaa.position.set(281, 0), _yac.position.set(95, 0), _yad.position.set(0, 44), this.addChild(_ya9), this.addChild(_yaa), this.addChild(_yab), this.addChild(_yac), this.addChild(_yad), this.addChild(this._karyoku), this.addChild(this._raisou), this.addChild(this._taiku), this.addChild(this._kaihi), this.addChild(this._taikyu), this.addChild(this._g); }, _ya4.prototype.update = function(_yae) { var _yaf = null; null != _yae ? (this._model.update(_yae), this._karyoku.text = this._model.karyoku.toString(), this._raisou.text = this._model.raisou.toString(), this._taiku.text = this._model.taiku.toString(), this._kaihi.text = this._model.kaihi.toString(), this._taikyu.text = this._model.taikyu.toString(), this._startAnimation()) : this._clearDraw(); }, _ya4.prototype.dispose = function() { var _yag = null; this._stopAnimation(), this.removeChildren(), this._karyoku.destroy(), this._raisou.destroy(), this._taiku.destroy(), this._kaihi.destroy(), this._taikyu.destroy(); }, _ya4.prototype._startAnimation = function() { var _yah = null, _yai = this; this._stopAnimation(), this._animation_progress = 0, this._animation = createjs.Tween.get(this).to({ 'animation_progress': 1 }, 500).call(function() { var _yaj = null; _yai._animation = null, _yai._animation_progress = 0; }); }, _ya4.prototype._clearDraw = function() { var _yak = null; this._stopAnimation(), this._g.clear(), this._karyoku.text = '', this._raisou.text = '', this._taiku.text = '', this._kaihi.text = '', this._taikyu.text = ''; }, _ya4.prototype._stopAnimation = function() { var _yal = null; null != this._animation && (this._animation.setPaused(!0), this._animation = null); }, Object.defineProperty(_ya4.prototype, 'animation_progress', { 'get': function() { var _yam = null; return this._animation_progress; }, 'set': function(_yan) { var _yao = null; this._animation_progress = _yan, this._draw(this._animation_progress); }, 'enumerable': !1, 'configurable': !0 }), _ya4.prototype._draw = function(_yap) { var _yaq = null, _yar = 350, _yas = [(this._model.karyoku > _yar ? _yar : this._model.karyoku) * _yap, (this._model.raisou > _yar ? _yar : this._model.raisou) * _yap, (this._model.taiku > _yar ? _yar : this._model.taiku) * _yap, (this._model.kaihi > _yar ? _yar : this._model.kaihi) * _yap, (this._model.taikyu > _yar ? _yar : this._model.taikyu) * _yap].map(function(_yat, _yau, _yav) { var _yaw = null, _yax = (72 * _yau - 90) / 180 * Math.PI; return [142 * _yat / _yar * Math.cos(_yax), 142 * _yat / _yar * Math.sin(_yax)]; }); this._g.clear(), this._g.lineStyle(1, 16774898), this._g.beginFill(1949120), this._g.moveTo(_yas[0][0], _yas[0][1]); for (var _yay = 0; _yay < 5; _yay++) { var _yaz = (_yay + 1) % 5; _yas[_yay][0] == _yas[_yaz][0] && _yas[_yay][1] == _yas[_yaz][1] || this._g.lineTo(_yas[_yaz][0], _yas[_yaz][1]); } this._g.endFill(); }, _ya4; }(PIXI.Container); _y9f.Rader = _ya1; var _ya7 = (function() { var _yb0 = null; function _yb1() { var _yb2 = null; this._karyoku = 0, this._raisou = 0, this._taiku = 0, this._kaihi = 0, this._taikyu = 0; } return Object.defineProperty(_yb1.prototype, 'karyoku', { 'get': function() { var _yb3 = null; return this._karyoku; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_yb1.prototype, 'raisou', { 'get': function() { var _yb4 = null; return this._raisou; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_yb1.prototype, 'taiku', { 'get': function() { var _yb5 = null; return this._taiku; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_yb1.prototype, 'kaihi', { 'get': function() { var _yb6 = null; return this._kaihi; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_yb1.prototype, 'taikyu', { 'get': function() { var _yb7 = null; return this._taikyu; }, 'enumerable': !1, 'configurable': !0 }), _yb1.prototype.update = function(_yb8) { var _yb9 = null; for (var _yba = 0, _ybb = 0, _ybc = 0, _ybd = 0, _ybe = 0, _ybf = 0, _ybg = 0, _ybh = _yb8; _ybg < _ybh.length; _ybg++) { var _ybi = _ybh[_ybg]; null != _ybi && (_yba += _ybi.karyoku, _ybb += _ybi.raisou, _ybc += _ybi.taiku, _ybd += _ybi.kaihi, _ybe += _ybi.hpMax, _ybf++); } this._karyoku = this._getParam(_yba, _ybf), this._raisou = this._getParam(_ybb, _ybf), this._taiku = this._getParam(_ybc, _ybf), this._kaihi = this._getParam(_ybd, _ybf), this._taikyu = this._getParam(_ybe, _ybf); }, _yb1.prototype._getParam = function(_ybj, _ybk) { var _ybl = null; if (_ybk <= 0) return 0; var _ybm = Math.round(_ybj / _ybk); if (1 == _ybk) return _ybm; var _ybn = Math.sqrt(_ybk - 1); return _ybn *= _ybm, _ybm + Math.round(_ybn); }, _yb1; }()); }, 34608: function(_ybo, _ybp, _ybq) { 'use strict'; var _ybr = null; var _ybs, _ybt = this && this.__extends || (_ybs = function(_ybu, _ybv) { var _ybw = null; return _ybs = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ybx, _yby) { var _ybz = null; _ybx.__proto__ = _yby; } || function(_yc0, _yc1) { var _yc2 = null; for (var _yc3 in _yc1) Object.prototype.hasOwnProperty.call(_yc1, _yc3) && (_yc0[_yc3] = _yc1[_yc3]); }, _ybs(_ybu, _ybv); }, function(_yc4, _yc5) { var _yc6 = null; if ('function' != typeof _yc5 && null !== _yc5) throw new TypeError('Class extends value ' + String(_yc5) + ' is not a constructor or null'); function _yc7() { var _yc8 = null; this.constructor = _yc4; } _ybs(_yc4, _yc5), _yc4.prototype = null === _yc5 ? Object.create(_yc5) : (_yc7.prototype = _yc5.prototype, new _yc7()); }); defineModule(_ybp); Object.defineProperty(_ybp, '__esModule', { 'value': !0 }), _ybp.RaderCanvas = void 0; var _yc9 = _ybq(98685), _yca = function(_ycb) { var _ycc = null; function _ycd() { var _yce = null, _ycf = _ycb.call(this) || this; return _ycf._rader = new _yc9.Rader(), _ycf._rader.x = -188, _ycf._rader.y = -225, _ycf.addChild(_ycf._rader), _ycf; } return _ybt(_ycd, _ycb), _ycd.prototype.initialize = function() { var _ycg = null; this._rader.initialize(); }, _ycd.prototype.update = function(_ych) { var _yci = null; this._rader.update(_ych); }, _ycd.prototype.dispose = function() { var _ycj = null; this._rader.dispose(); }, _ycd; }(PIXI.Container); _ybp.RaderCanvas = _yca; }, 89007: function(_yck, _ycl, _ycm) { 'use strict'; var _ycn = null; var _yco, _ycp = this && this.__extends || (_yco = function(_ycq, _ycr) { var _ycs = null; return _yco = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_yct, _ycu) { var _ycv = null; _yct.__proto__ = _ycu; } || function(_ycw, _ycx) { var _ycy = null; for (var _ycz in _ycx) Object.prototype.hasOwnProperty.call(_ycx, _ycz) && (_ycw[_ycz] = _ycx[_ycz]); }, _yco(_ycq, _ycr); }, function(_yd0, _yd1) { var _yd2 = null; if ('function' != typeof _yd1 && null !== _yd1) throw new TypeError('Class extends value ' + String(_yd1) + ' is not a constructor or null'); function _yd3() { var _yd4 = null; this.constructor = _yd0; } _yco(_yd0, _yd1), _yd0.prototype = null === _yd1 ? Object.create(_yd1) : (_yd3.prototype = _yd1.prototype, new _yd3()); }); defineModule(_ycl); Object.defineProperty(_ycl, '__esModule', { 'value': !0 }), _ycl.TempSupplyBox = void 0; var _yd5 = _ycm(8744), _yd6 = _ycm(20962), _yd7 = _ycm(20962), _yd8 = _ycm(48473), _yd9 = function(_yda) { var _ydb = null; function _ydc() { var _ydd = null, _yde = _yda.call(this) || this; return _yde._fuelTitle = new PIXI.Sprite(), _yde.addChild(_yde._fuelTitle), _yde._ammoTitle = new PIXI.Sprite(), _yde._ammoTitle.x = 141, _yde.addChild(_yde._ammoTitle), _yde._fuelBox = new _yd6.FuelContainer(), _yde._fuelBox.y = 126, _yde.addChild(_yde._fuelBox), _yde._ammoBox = new _yd7.AmmoContainer(), _yde._ammoBox.x = 141, _yde._ammoBox.y = 126, _yde.addChild(_yde._ammoBox), _yde._fuelText = new _yd5.TextBox(28, 4999235), _yde._fuelText.y = 84, _yde.addChild(_yde._fuelText), _yde._ammoText = new _yd5.TextBox(28, 4999235), _yde._ammoText.y = 84, _yde.addChild(_yde._ammoText), _yde; } return _ycp(_ydc, _yda), _ydc.prototype.initialize = function() { var _ydf = null; this._fuelTitle.texture = _yd8.SALLY_COMMON.getTexture(3), this._ammoTitle.texture = _yd8.SALLY_COMMON.getTexture(2); }, _ydc.prototype.update = function(_ydg, _ydh) { var _ydi = null; this._fuelText.text = _ydg.toString(), this._fuelText.x = 128 - this._fuelText.width, this._ammoText.text = _ydh.toString(), this._ammoText.x = 269 - this._ammoText.width, this._fuelBox.update(_ydg), this._ammoBox.update(_ydh); }, _ydc.prototype.play = function(_ydj, _ydk, _ydl) { var _ydm = null; 1 == _ydj ? (this._fuelBox.playSupply(_ydl), 1 == _ydk && this._ammoBox.playSupply(function() {})) : 1 == _ydk ? this._ammoBox.playSupply(_ydl) : _ydl(); }, _ydc.prototype.dispose = function() { var _ydn = null; this.removeChildren(), this._fuelBox.dispose(), this._ammoBox.dispose(), this._fuelText.destroy(), this._ammoText.destroy(); }, _ydc; }(PIXI.Container); _ycl.TempSupplyBox = _yd9; }, 10798: function(_ydo, _ydp, _ydq) { 'use strict'; var _ydr = null; var _yds, _ydt = this && this.__extends || (_yds = function(_ydu, _ydv) { var _ydw = null; return _yds = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ydx, _ydy) { var _ydz = null; _ydx.__proto__ = _ydy; } || function(_ye0, _ye1) { var _ye2 = null; for (var _ye3 in _ye1) Object.prototype.hasOwnProperty.call(_ye1, _ye3) && (_ye0[_ye3] = _ye1[_ye3]); }, _yds(_ydu, _ydv); }, function(_ye4, _ye5) { var _ye6 = null; if ('function' != typeof _ye5 && null !== _ye5) throw new TypeError('Class extends value ' + String(_ye5) + ' is not a constructor or null'); function _ye7() { var _ye8 = null; this.constructor = _ye4; } _yds(_ye4, _ye5), _ye4.prototype = null === _ye5 ? Object.create(_ye5) : (_ye7.prototype = _ye5.prototype, new _ye7()); }); defineModule(_ydp); Object.defineProperty(_ydp, '__esModule', { 'value': !0 }), _ydp.TempSupplyBtn = void 0; var _ye9 = _ydq(48473), _yea = _ydq(35380), _yeb = function(_yec) { var _yed = null; function _yee() { var _yef = null, _yeg = _yec.call(this) || this; return _yeg._enabled = !0, _yeg._enabled_btn = new _yeh(), _yeg.addChild(_yeg._enabled_btn), _yeg._disabled_btn = new _yei(), _yeg._disabled_btn.visible = !1, _yeg.addChild(_yeg._disabled_btn), _yeg; } return _ydt(_yee, _yec), Object.defineProperty(_yee.prototype, 'enabled', { 'get': function() { var _yej = null; return this._enabled; }, 'set': function(_yek) { var _yel = null; this._enabled != _yek && (this._enabled = _yek, 1 == this._enabled ? (this._enabled_btn.visible = !0, this._disabled_btn.visible = !1) : (this._enabled_btn.visible = !1, this._disabled_btn.visible = !0)); }, 'enumerable': !1, 'configurable': !0 }), _yee.prototype.initialize = function(_yem) { var _yen = null; void 0 === _yem && (_yem = null), this._enabled_btn.initialize(_yem), this._disabled_btn.initialize(); }, _yee.prototype.activate = function() { var _yeo = null; this._enabled_btn.activate(); }, _yee.prototype.deactivate = function() { var _yep = null; this._enabled_btn.deactivate(); }, _yee.prototype.dispose = function() { var _yeq = null; this._enabled_btn.dispose(); }, _yee; }(PIXI.Container); _ydp.TempSupplyBtn = _yeb; var _yeh = function(_yer) { var _yes = null; function _yet() { var _yeu = null, _yev = _yer.call(this) || this; return _yev._onMouseOver = function() { var _yew = null; _yev._stopAnimation(), _yev._img.texture = _ye9.SALLY_COMMON.getTexture(24), _yev._over.visible = !0; }, _yev._onMouseOut = function() { var _yex = null; _yev._startAnimation(), _yev._over.visible = !1; }, _yev._onClick = function() { var _yey = null; null != _yev._cb_onClick && _yev._cb_onClick(); }, _yev._img = new PIXI.Sprite(), _yev.addChild(_yev._img), _yev._over = new PIXI.Sprite(), _yev._over.x = 63, _yev._over.y = -18, _yev._over.visible = !1, _yev.addChild(_yev._over), _yev._img.interactive = !0, _yev; } return _ydt(_yet, _yer), _yet.prototype.initialize = function(_yez) { var _yf0 = null; this._cb_onClick = _yez, this._img.texture = _ye9.SALLY_COMMON.getTexture(22), this._over.texture = _ye9.SALLY_COMMON.getTexture(31); }, _yet.prototype.activate = function() { var _yf1 = null; 1 != this._img.buttonMode && (this._img.buttonMode = !0, this._over.visible = !1, this._startAnimation(), this._img.on(_yea.EventType.MOUSEOVER, this._onMouseOver), this._img.on(_yea.EventType.MOUSEOUT, this._onMouseOut), this._img.on(_yea.EventType.CLICK, this._onClick)); }, _yet.prototype.deactivate = function() { var _yf2 = null; this.buttonMode = !1, this._over.visible = !1, this._stopAnimation(), this._img.off(_yea.EventType.MOUSEOVER, this._onMouseOver), this._img.off(_yea.EventType.MOUSEOUT, this._onMouseOut), this._img.off(_yea.EventType.CLICK, this._onClick); }, _yet.prototype.dispose = function() { var _yf3 = null; this.deactivate(), this._cb_onClick = null; }, _yet.prototype._startAnimation = function() { var _yf4 = null, _yf5 = this; null == this._t && (this._t = createjs.Tween.get(this), this._t.loop = !0, this._t.call(function() { var _yf6 = null; _yf5._img.texture = _ye9.SALLY_COMMON.getTexture(22); }), this._t.wait(300), this._t.call(function() { var _yf7 = null; _yf5._img.texture = _ye9.SALLY_COMMON.getTexture(23); }), this._t.wait(300)); }, _yet.prototype._stopAnimation = function() { var _yf8 = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _yet; }(PIXI.Container), _yei = function(_yf9) { var _yfa = null; function _yfb() { var _yfc = null; return _yf9.call(this) || this; } return _ydt(_yfb, _yf9), _yfb.prototype.initialize = function() { var _yfd = null; this.texture = _ye9.SALLY_COMMON.getTexture(25); }, _yfb; }(PIXI.Sprite); }, 4788: function(_yfe, _yff, _yfg) { 'use strict'; var _yfh = null; var _yfi, _yfj = this && this.__extends || (_yfi = function(_yfk, _yfl) { var _yfm = null; return _yfi = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_yfn, _yfo) { var _yfp = null; _yfn.__proto__ = _yfo; } || function(_yfq, _yfr) { var _yfs = null; for (var _yft in _yfr) Object.prototype.hasOwnProperty.call(_yfr, _yft) && (_yfq[_yft] = _yfr[_yft]); }, _yfi(_yfk, _yfl); }, function(_yfu, _yfv) { var _yfw = null; if ('function' != typeof _yfv && null !== _yfv) throw new TypeError('Class extends value ' + String(_yfv) + ' is not a constructor or null'); function _yfx() { var _yfy = null; this.constructor = _yfu; } _yfi(_yfu, _yfv), _yfu.prototype = null === _yfv ? Object.create(_yfv) : (_yfx.prototype = _yfv.prototype, new _yfx()); }); defineModule(_yff); Object.defineProperty(_yff, '__esModule', { 'value': !0 }), _yff.APIEventSortieCondition = void 0; var _yfz = function(_yg0) { var _yg1 = null; function _yg2(_yg3) { var _yg4 = null, _yg5 = _yg0.call(this) || this; return _yg5._url = 'api_get_member/sortie_conditions', _yg5._model = _yg3, _yg5; } return _yfj(_yg2, _yg0), _yg2.prototype._completedEnd = function() { var _yg6 = null, _yg7 = this._raw_data; this._model.update(_yg7), this._model = null, _yg0.prototype._completedEnd.call(this); }, _yg2; }(_yfg(37562).APIBase); _yff.APIEventSortieCondition = _yfz; }, 87067: function(_yg8, _yg9, _yga) { 'use strict'; var _ygb = null; var _ygc, _ygd = this && this.__extends || (_ygc = function(_yge, _ygf) { var _ygg = null; return _ygc = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ygh, _ygi) { var _ygj = null; _ygh.__proto__ = _ygi; } || function(_ygk, _ygl) { var _ygm = null; for (var _ygn in _ygl) Object.prototype.hasOwnProperty.call(_ygl, _ygn) && (_ygk[_ygn] = _ygl[_ygn]); }, _ygc(_yge, _ygf); }, function(_ygo, _ygp) { var _ygq = null; if ('function' != typeof _ygp && null !== _ygp) throw new TypeError('Class extends value ' + String(_ygp) + ' is not a constructor or null'); function _ygr() { var _ygs = null; this.constructor = _ygo; } _ygc(_ygo, _ygp), _ygo.prototype = null === _ygp ? Object.create(_ygp) : (_ygr.prototype = _ygp.prototype, new _ygr()); }); defineModule(_yg9); Object.defineProperty(_yg9, '__esModule', { 'value': !0 }), _yg9.APIOperationChange = void 0; var _ygt = _yga(89939), _ygu = function(_ygv) { var _ygw = null; function _ygx(_ygy, _ygz) { var _yh0 = null, _yh1 = _ygv.call(this) || this; return _yh1._url = 'api_req_map/select_eventmap_rank', _yh1._model = _ygy, _yh1._selected = _ygz, _yh1; } return _ygd(_ygx, _ygv), _ygx.prototype._connect = function() { var _yh2 = null; this._post_data.api_maparea_id = this._model.area_id, this._post_data.api_map_no = this._model.map_no, this._post_data.api_rank = this._selected, _ygv.prototype._connect.call(this); }, _ygx.prototype._completedEnd = function() { var _yh3 = null, _yh4 = this._model.getGaugeNum(), _yh5 = this._model.gauge_type, _yh6 = this._model.gauge_max, _yh7 = this._model.gauge_now, _yh8 = this._model.s_no, _yh9 = this._model.m10, _yha = this._raw_data; if (null != _yha) { if (_yha.hasOwnProperty('api_maphp')) { var _yhb = _yha.api_maphp; _yhb.hasOwnProperty('api_gauge_num') && (_yh4 = _yhb.api_gauge_num), _yhb.hasOwnProperty('api_gauge_type') && (_yh5 = _yhb.api_gauge_type), 1 == _yhb.hasOwnProperty('api_max_maphp') && (_yh6 = _yhb.api_max_maphp), 1 == _yhb.hasOwnProperty('api_now_maphp') && (_yh7 = _yhb.api_now_maphp); } 1 == _yha.hasOwnProperty('api_s_no') && (_yh8 = _yha.api_s_no), 1 == _yha.hasOwnProperty('api_m10') && (_yh9 = _yha.api_m10), this._model.changeOperation(this._selected, _yh4, _yh5, _yh6, _yh7, _yh8, _yh9); var _yhc = _ygt.ObjUtil.getNumArray(_yha, 'api_sally_flag'); if (_yhc && this._model.changeAllowedDeckType(_yhc), _yha.hasOwnProperty('api_air_base_decks')) { var _yhd = _yha.api_air_base_decks; this._model.setAvailableAirUnitCount(_yhd); } _ygv.prototype._completedEnd.call(this); } }, _ygx; }(_yga(58566).APIBase); _yg9.APIOperationChange = _ygu; }, 91296: function(_yhe, _yhf, _yhg) { 'use strict'; var _yhh = null; var _yhi, _yhj = this && this.__extends || (_yhi = function(_yhk, _yhl) { var _yhm = null; return _yhi = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_yhn, _yho) { var _yhp = null; _yhn.__proto__ = _yho; } || function(_yhq, _yhr) { var _yhs = null; for (var _yht in _yhr) Object.prototype.hasOwnProperty.call(_yhr, _yht) && (_yhq[_yht] = _yhr[_yht]); }, _yhi(_yhk, _yhl); }, function(_yhu, _yhv) { var _yhw = null; if ('function' != typeof _yhv && null !== _yhv) throw new TypeError('Class extends value ' + String(_yhv) + ' is not a constructor or null'); function _yhx() { var _yhy = null; this.constructor = _yhu; } _yhi(_yhu, _yhv), _yhu.prototype = null === _yhv ? Object.create(_yhv) : (_yhx.prototype = _yhv.prototype, new _yhx()); }); defineModule(_yhf); Object.defineProperty(_yhf, '__esModule', { 'value': !0 }), _yhf.ShowIntroAlertDialogTask = void 0; var _yhz = _yhg(81755), _yi0 = _yhg(72478), _yi1 = _yhg(35380), _yi2 = function(_yi3) { var _yi4 = null; function _yi5(_yi6) { var _yi7 = null, _yi8 = _yi3.call(this) || this; return _yi8._onClick = function() { var _yi9 = null; _yi8._dialog.interactive = !1, _yi8._dialog.buttonMode = !1, _yi8._close(); }, _yi8._layer = _yi6, _yi8; } return _yhj(_yi5, _yi3), _yi5.prototype._start = function() { var _yia = null; this._dialog = new _yi0.IntroAlertDialog(), this._dialog.chara.alpha = 0, this._dialog.board.scale.y = 0, this._dialog.initialize(), this._open(); }, _yi5.prototype._open = function() { var _yib = null, _yic = this; this._layer.addChild(this._dialog), createjs.Tween.get(this._dialog.chara).to({ 'alpha': 1 }, 250), createjs.Tween.get(this._dialog.board).wait(150).to({ 'scaleY': 1 }, 250).call(function() { var _yid = null; _yic._wait(); }); }, _yi5.prototype._wait = function() { var _yie = null; this._dialog.interactive = !0, this._dialog.buttonMode = !0, this._dialog.once(_yi1.EventType.CLICK, this._onClick); }, _yi5.prototype._close = function() { var _yif = null, _yig = this; createjs.Tween.get(this._dialog.chara).to({ 'alpha': 0 }, 150), createjs.Tween.get(this._dialog.board).wait(100).to({ 'scaleY': 0 }, 150).call(function() { var _yih = null; _yig._layer.removeChild(_yig._dialog), _yig._endTask(); }); }, _yi5.prototype._endTask = function() { var _yii = null; this._layer = null, this._dialog = null, _yi3.prototype._endTask.call(this); }, _yi5; }(_yhz.TaskBase); _yhf.ShowIntroAlertDialogTask = _yi2; }, 39035: function(_yij, _yik, _yil) { 'use strict'; var _yim = null; var _yin, _yio = this && this.__extends || (_yin = function(_yip, _yiq) { var _yir = null; return _yin = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_yis, _yit) { var _yiu = null; _yis.__proto__ = _yit; } || function(_yiv, _yiw) { var _yix = null; for (var _yiy in _yiw) Object.prototype.hasOwnProperty.call(_yiw, _yiy) && (_yiv[_yiy] = _yiw[_yiy]); }, _yin(_yip, _yiq); }, function(_yiz, _yj0) { var _yj1 = null; if ('function' != typeof _yj0 && null !== _yj0) throw new TypeError('Class extends value ' + String(_yj0) + ' is not a constructor or null'); function _yj2() { var _yj3 = null; this.constructor = _yiz; } _yin(_yiz, _yj0), _yiz.prototype = null === _yj0 ? Object.create(_yj0) : (_yj2.prototype = _yj0.prototype, new _yj2()); }); defineModule(_yik); Object.defineProperty(_yik, '__esModule', { 'value': !0 }), _yik.ShowMapIntroDialogTask = void 0; var _yj4 = _yil(81755), _yj5 = _yil(87067), _yj6 = _yil(25107), _yj7 = _yil(55506), _yj8 = _yil(35380), _yj9 = function(_yja) { var _yjb = null; function _yjc(_yjd, _yje, _yjf, _yjg) { var _yjh = null; void 0 === _yjg && (_yjg = !1); var _yji = _yja.call(this) || this; return _yji._onClick = function() { var _yjj = null; _yji._dialog.change_btn.deactivate(), _yji._dialog.interactive = !1, _yji._dialog.buttonMode = !1; var _yjk = _yji._model.getSelectedOperationType(); 0 == _yjk ? _yji._showSelectView(_yjk) : _yji._close(); }, _yji._onClickChangeBtn = function() { var _yjl = null; _yji._dialog.change_btn.deactivate(), _yji._dialog.interactive = !1, _yji._dialog.buttonMode = !1, _yji._dialog.off(_yj8.EventType.CLICK, _yji._onClick); var _yjm = _yji._model.getSelectedOperationType(); _yji._showSelectView(_yjm); }, _yji._onOperationSelect = function(_yjn) { var _yjo = null, _yjp = new _yj7.ChangeConfirmTask(_yji._layer, _yji._model); _yjp.start(function() { var _yjq = null; 0 == _yjp.cancel && (_yji._dialog.board.selectView.deactivate(), _yji._dialog.board.selectView.showCircle(_yjn, function() { var _yjr = null; 1 == _yji._skip_api_connection ? _yji._close() : new _yj5.APIOperationChange(_yji._model, _yjn).start(function() { var _yjs = null; _yji._close(); }); })); }); }, _yji._onOperationSelectCancel = function() { var _yjt = null; _yji._dialog.board.selectView.deactivate(), _yji._close(); }, _yji._layer = _yjd, _yji._model = _yje, _yji._selectable = _yjf, _yji._skip_api_connection = _yjg, _yji; } return _yio(_yjc, _yja), _yjc.prototype._start = function() { var _yju = null; this._dialog = new _yj6.MapIntroDialog(), this._dialog.chara.alpha = 0, this._dialog.board.scale.y = 0, this._dialog.operation.visible = !1, this._dialog.change_btn.visible = !1; var _yjv = this._model.mst_id, _yjw = this._model.getSelectedOperationType(); this._dialog.initialize(_yjv, _yjw), this._open(); }, _yjc.prototype._open = function() { var _yjx = null, _yjy = this; this._layer.addChild(this._dialog), createjs.Tween.get(this._dialog.chara).to({ 'alpha': 1 }, 250), createjs.Tween.get(this._dialog.board).wait(150).to({ 'scaleY': 1 }, 250).call(function() { var _yjz = null; 0 != _yjy._model.getSelectedOperationType() && 0 == _yjy._model.isCleared() && (_yjy._dialog.operation.visible = !0, _yjy._dialog.change_btn.visible = !0, _yjy._dialog.change_btn.activate(_yjy._onClickChangeBtn)), _yjy._wait(); }); }, _yjc.prototype._wait = function() { var _yk0 = null; this._dialog.interactive = !0, this._dialog.buttonMode = !0, this._dialog.once(_yj8.EventType.CLICK, this._onClick); }, _yjc.prototype._showSelectView = function(_yk1) { var _yk2 = null, _yk3 = this._dialog.board.showSelectView(); _yk3.initialize(_yk1, this._selectable), _yk3.activate(this._onOperationSelect, this._onOperationSelectCancel); }, _yjc.prototype._close = function() { var _yk4 = null, _yk5 = this; this._dialog.operation.visible = !1, this._dialog.change_btn.visible = !1, createjs.Tween.get(this._dialog.chara).to({ 'alpha': 0 }, 150), createjs.Tween.get(this._dialog.board).wait(100).to({ 'scaleY': 0 }, 150).call(function() { var _yk6 = null; _yk5._dialog.dispose(), _yk5._layer.removeChild(_yk5._dialog), _yk5._endTask(); }); }, _yjc.prototype._endTask = function() { var _yk7 = null; this._layer = null, this._model = null, this._selectable = null, this._dialog = null, _yja.prototype._endTask.call(this); }, _yjc; }(_yj4.TaskBase); _yik.ShowMapIntroDialogTask = _yj9; }, 55506: function(_yk8, _yk9, _yka) { 'use strict'; var _ykb = null; var _ykc, _ykd = this && this.__extends || (_ykc = function(_yke, _ykf) { var _ykg = null; return _ykc = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ykh, _yki) { var _ykj = null; _ykh.__proto__ = _yki; } || function(_ykk, _ykl) { var _ykm = null; for (var _ykn in _ykl) Object.prototype.hasOwnProperty.call(_ykl, _ykn) && (_ykk[_ykn] = _ykl[_ykn]); }, _ykc(_yke, _ykf); }, function(_yko, _ykp) { var _ykq = null; if ('function' != typeof _ykp && null !== _ykp) throw new TypeError('Class extends value ' + String(_ykp) + ' is not a constructor or null'); function _ykr() { var _yks = null; this.constructor = _yko; } _ykc(_yko, _ykp), _yko.prototype = null === _ykp ? Object.create(_ykp) : (_ykr.prototype = _ykp.prototype, new _ykr()); }); defineModule(_yk9); Object.defineProperty(_yk9, '__esModule', { 'value': !0 }), _yk9.ChangeConfirmTask = void 0; var _ykt = _yka(81755), _yku = _yka(42661), _ykv = function(_ykw) { var _ykx = null; function _yky(_ykz, _yl0) { var _yl1 = null, _yl2 = _ykw.call(this) || this; return _yl2._cancel = !0, _yl2._waitClick = function() { var _yl3 = null; _yl2._dialog.btn_no.activate(_yl2._onNo), _yl2._dialog.btn_yes.activate(_yl2._onYes); }, _yl2._onNo = function() { var _yl4 = null; _yl2._dialog.btn_no.deactivate(), _yl2._dialog.btn_yes.deactivate(), _yl2._closeDialog(); }, _yl2._onYes = function() { var _yl5 = null; _yl2._dialog.btn_no.deactivate(), _yl2._dialog.btn_yes.deactivate(), _yl2._cancel = !1, _yl2._closeDialog(); }, _yl2._layer = _ykz, _yl2._model = _yl0, _yl2; } return _ykd(_yky, _ykw), Object.defineProperty(_yky.prototype, 'cancel', { 'get': function() { var _yl6 = null; return this._cancel; }, 'enumerable': !1, 'configurable': !0 }), _yky.prototype._start = function() { var _yl7 = null; 0 == this._model.getSelectedOperationType() ? (this._cancel = !1, this._endTask()) : this._openDialog(); }, _yky.prototype._openDialog = function() { var _yl8 = null, _yl9 = this; this._dialog = new _yku.OperationSelectConfirmDialog(), this._dialog.initialize(), this._dialog.fade.hide(0), this._dialog.bg.alpha = 0, this._layer.addChild(this._dialog), this._dialog.fade.show(200, function() { var _yla = null; createjs.Tween.get(_yl9._dialog.bg).to({ 'alpha': 1 }, 300).call(_yl9._waitClick); }); }, _yky.prototype._closeDialog = function() { var _ylb = null, _ylc = this; createjs.Tween.get(this._dialog).to({ 'alpha': 0 }, 200).call(function() { var _yld = null; _ylc._dialog.fade.hide(100, function() { var _yle = null; _ylc._layer.removeChild(_ylc._dialog), _ylc._endTask(); }); }); }, _yky.prototype._endTask = function() { var _ylf = null; this._layer = null, this._model = null, this._dialog = null, _ykw.prototype._endTask.call(this); }, _yky; }(_ykt.TaskBase); _yk9.ChangeConfirmTask = _ykv; }, 72478: function(_ylg, _ylh, _yli) { 'use strict'; var _ylj = null; var _ylk, _yll = this && this.__extends || (_ylk = function(_ylm, _yln) { var _ylo = null; return _ylk = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ylp, _ylq) { var _ylr = null; _ylp.__proto__ = _ylq; } || function(_yls, _ylt) { var _ylu = null; for (var _ylv in _ylt) Object.prototype.hasOwnProperty.call(_ylt, _ylv) && (_yls[_ylv] = _ylt[_ylv]); }, _ylk(_ylm, _yln); }, function(_ylw, _ylx) { var _yly = null; if ('function' != typeof _ylx && null !== _ylx) throw new TypeError('Class extends value ' + String(_ylx) + ' is not a constructor or null'); function _ylz() { var _ym0 = null; this.constructor = _ylw; } _ylk(_ylw, _ylx), _ylw.prototype = null === _ylx ? Object.create(_ylx) : (_ylz.prototype = _ylx.prototype, new _ylz()); }); defineModule(_ylh); Object.defineProperty(_ylh, '__esModule', { 'value': !0 }), _ylh.IntroAlertDialog = void 0; var _ym1 = _yli(54011), _ym2 = _yli(63234), _ym3 = function(_ym4) { var _ym5 = null; function _ym6() { var _ym7 = null, _ym8 = _ym4.call(this) || this; return _ym8._board = new _ym9(), _ym8._board.position.set(726, 346), _ym8._chara = new PIXI.Sprite(), _ym8._chara.position.set(17, 74), _ym8.addChild(_ym8._board), _ym8.addChild(_ym8._chara), _ym8; } return _yll(_ym6, _ym4), Object.defineProperty(_ym6.prototype, 'board', { 'get': function() { var _yma = null; return this._board; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_ym6.prototype, 'chara', { 'get': function() { var _ymb = null; return this._chara; }, 'enumerable': !1, 'configurable': !0 }), _ym6.prototype.initialize = function() { var _ymc = null; this._board.initialize(), this._chara.texture = _ym2.SALLY_EVENT.getTexture(17); }, _ym6; }(PIXI.Container); _ylh.IntroAlertDialog = _ym3; var _ym9 = function(_ymd) { var _yme = null; function _ymf() { var _ymg = null, _ymh = _ymd.call(this) || this; return _ymh.anchor.set(0.5), _ymh._content = new PIXI.Sprite(), _ymh.addChild(_ymh._content), _ymh; } return _yll(_ymf, _ymd), _ymf.prototype.initialize = function() { var _ymi = null; this.texture = _ym2.SALLY_EVENT.getTexture(2), this._content.position.set(-344, -213), this._content.texture = _ym2.SALLY_EVENT.getTexture(27); }, _ymf; }(_ym1.Sprite); }, 74564: function(_ymj, _ymk, _yml) { 'use strict'; var _ymm = null; var _ymn, _ymo = this && this.__extends || (_ymn = function(_ymp, _ymq) { var _ymr = null; return _ymn = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_yms, _ymt) { var _ymu = null; _yms.__proto__ = _ymt; } || function(_ymv, _ymw) { var _ymx = null; for (var _ymy in _ymw) Object.prototype.hasOwnProperty.call(_ymw, _ymy) && (_ymv[_ymy] = _ymw[_ymy]); }, _ymn(_ymp, _ymq); }, function(_ymz, _yn0) { var _yn1 = null; if ('function' != typeof _yn0 && null !== _yn0) throw new TypeError('Class extends value ' + String(_yn0) + ' is not a constructor or null'); function _yn2() { var _yn3 = null; this.constructor = _ymz; } _ymn(_ymz, _yn0), _ymz.prototype = null === _yn0 ? Object.create(_yn0) : (_yn2.prototype = _yn0.prototype, new _yn2()); }), _yn4 = this && this.__importDefault || function(_yn5) { var _yn6 = null; return _yn5 && _yn5.__esModule ? _yn5 : { 'default': _yn5 }; }; defineModule(_ymk); Object.defineProperty(_ymk, '__esModule', { 'value': !0 }), _ymk.MapIntroBoard = void 0; var _yn7 = _yml(54011), _yn8 = _yml(63234), _yn9 = _yml(92209), _yna = _yn4(_yml(18622)), _ynb = _yml(13748), _ync = function(_ynd) { var _yne = null; function _ynf() { var _yng = null, _ynh = _ynd.call(this) || this; return _ynh.anchor.set(0.5), _ynh._content = new PIXI.Sprite(), _ynh.addChild(_ynh._content), _ynh; } return _ymo(_ynf, _ynd), Object.defineProperty(_ynf.prototype, 'selectView', { 'get': function() { var _yni = null; return this._createSelectView(), this._selectView; }, 'enumerable': !1, 'configurable': !0 }), _ynf.prototype.initialize = function(_ynj) { var _ynk = null, _ynl = '' ['concat'](_yna.default.settings.path_root, 'img/sally/event_maesetsu'), _ynm = '?version='['concat'](_ynb.UIImageLoader.getVersion('sally')); switch (this.texture = _yn8.SALLY_EVENT.getTexture(1), _ynj) { case 581: this._content.position.set(-260, -224), this._content.texture = PIXI.Texture.fromImage('' ['concat'](_ynl, '/300_c5526.png').concat(_ynm)); break; case 582: this._content.position.set(-272, -213), this._content.texture = PIXI.Texture.fromImage('' ['concat'](_ynl, '/301_3405f.png').concat(_ynm)); break; case 583: this._content.position.set(-264, -204), this._content.texture = PIXI.Texture.fromImage('' ['concat'](_ynl, '/302_303c8.png').concat(_ynm)); break; case 584: this._content.position.set(-275, -212), this._content.texture = PIXI.Texture.fromImage('' ['concat'](_ynl, '/303_a8890.png').concat(_ynm)); break; default: this._content.texture = PIXI.Texture.EMPTY; } }, _ynf.prototype.showSelectView = function() { var _ynn = null; return this._content.visible = !1, this._createSelectView(), this.addChild(this._selectView), this._selectView; }, _ynf.prototype.dispose = function() { var _yno = null; null != this._selectView && this._selectView.dispose(); }, _ynf.prototype._createSelectView = function() { var _ynp = null; null == this._selectView && (this._selectView = new _yn9.OperationSelectView()); }, _ynf; }(_yn7.Sprite); _ymk.MapIntroBoard = _ync; }, 25107: function(_ynq, _ynr, _yns) { 'use strict'; var _ynt = null; var _ynu, _ynv = this && this.__extends || (_ynu = function(_ynw, _ynx) { var _yny = null; return _ynu = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ynz, _yo0) { var _yo1 = null; _ynz.__proto__ = _yo0; } || function(_yo2, _yo3) { var _yo4 = null; for (var _yo5 in _yo3) Object.prototype.hasOwnProperty.call(_yo3, _yo5) && (_yo2[_yo5] = _yo3[_yo5]); }, _ynu(_ynw, _ynx); }, function(_yo6, _yo7) { var _yo8 = null; if ('function' != typeof _yo7 && null !== _yo7) throw new TypeError('Class extends value ' + String(_yo7) + ' is not a constructor or null'); function _yo9() { var _yoa = null; this.constructor = _yo6; } _ynu(_yo6, _yo7), _yo6.prototype = null === _yo7 ? Object.create(_yo7) : (_yo9.prototype = _yo7.prototype, new _yo9()); }); defineModule(_ynr); Object.defineProperty(_ynr, '__esModule', { 'value': !0 }), _ynr.MapIntroDialog = void 0; var _yob = _yns(63234), _yoc = _yns(74564), _yod = _yns(35380), _yoe = function(_yof) { var _yog = null; function _yoh() { var _yoi = null, _yoj = _yof.call(this) || this; return _yoj._board = new _yoc.MapIntroBoard(), _yoj._board.position.set(522, 369), _yoj._chara = new PIXI.Sprite(), _yoj._chara.position.set(825, 0), _yoj._operation = new _yok(), _yoj._operation.position.set(363, 51), _yoj._change_btn = new _yol(), _yoj._change_btn.position.set(648, 69), _yoj.addChild(_yoj._board), _yoj.addChild(_yoj._chara), _yoj.addChild(_yoj._operation), _yoj.addChild(_yoj._change_btn), _yoj; } return _ynv(_yoh, _yof), Object.defineProperty(_yoh.prototype, 'board', { 'get': function() { var _yom = null; return this._board; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_yoh.prototype, 'chara', { 'get': function() { var _yon = null; return this._chara; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_yoh.prototype, 'operation', { 'get': function() { var _yoo = null; return this._operation; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_yoh.prototype, 'change_btn', { 'get': function() { var _yop = null; return this._change_btn; }, 'enumerable': !1, 'configurable': !0 }), _yoh.prototype.initialize = function(_yoq, _yor) { var _yos = null; this._board.initialize(_yoq), this._chara.texture = _yob.SALLY_EVENT.getTexture(16), this._type = _yor, this._operation.update(_yor), this._change_btn.initialize(); }, _yoh.prototype.dispose = function() { var _yot = null; this._board.dispose(), this._change_btn.dispose(); }, _yoh; }(PIXI.Container); _ynr.MapIntroDialog = _yoe; var _yok = function(_you) { var _yov = null; function _yow() { var _yox = null; return null !== _you && _you.apply(this, arguments) || this; } return _ynv(_yow, _you), _yow.prototype.update = function(_yoy) { var _yoz = null; this.texture = 1 == _yoy ? _yob.SALLY_EVENT.getTexture(15) : 2 == _yoy ? _yob.SALLY_EVENT.getTexture(12) : 3 == _yoy ? _yob.SALLY_EVENT.getTexture(14) : 4 == _yoy ? _yob.SALLY_EVENT.getTexture(13) : PIXI.Texture.EMPTY; }, _yow; }(PIXI.Sprite), _yol = function(_yp0) { var _yp1 = null; function _yp2() { var _yp3 = null, _yp4 = _yp0.call(this) || this; return _yp4._onClick = function(_yp5) { var _yp6 = null; _yp5.stopPropagation(), null != _yp4._cb_onClick && _yp4._cb_onClick(); }, _yp4.interactive = !0, _yp4; } return _ynv(_yp2, _yp0), _yp2.prototype.initialize = function() { var _yp7 = null; this.texture = _yob.SALLY_EVENT.getTexture(9); }, _yp2.prototype.activate = function(_yp8) { var _yp9 = null; this._cb_onClick = _yp8, this.buttonMode = !0, this.on(_yod.EventType.CLICK, this._onClick); }, _yp2.prototype.deactivate = function() { var _ypa = null; this.buttonMode = !1, this.off(_yod.EventType.CLICK, this._onClick); }, _yp2.prototype.dispose = function() { var _ypb = null; this._cb_onClick = null, this.deactivate(); }, _yp2; }(PIXI.Sprite); }, 42661: function(_ypc, _ypd, _ype) { 'use strict'; var _ypf = null; var _ypg, _yph = this && this.__extends || (_ypg = function(_ypi, _ypj) { var _ypk = null; return _ypg = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_ypl, _ypm) { var _ypn = null; _ypl.__proto__ = _ypm; } || function(_ypo, _ypp) { var _ypq = null; for (var _ypr in _ypp) Object.prototype.hasOwnProperty.call(_ypp, _ypr) && (_ypo[_ypr] = _ypp[_ypr]); }, _ypg(_ypi, _ypj); }, function(_yps, _ypt) { var _ypu = null; if ('function' != typeof _ypt && null !== _ypt) throw new TypeError('Class extends value ' + String(_ypt) + ' is not a constructor or null'); function _ypv() { var _ypw = null; this.constructor = _yps; } _ypg(_yps, _ypt), _yps.prototype = null === _ypt ? Object.create(_ypt) : (_ypv.prototype = _ypt.prototype, new _ypv()); }); defineModule(_ypd); Object.defineProperty(_ypd, '__esModule', { 'value': !0 }), _ypd.OperationSelectConfirmDialog = void 0; var _ypx = _ype(87475), _ypy = _ype(63234), _ypz = _ype(35380), _yq0 = function(_yq1) { var _yq2 = null; function _yq3() { var _yq4 = null, _yq5 = _yq1.call(this) || this; return _yq5._fade = new _ypx.FadeBox(0.3), _yq5._bg = new PIXI.Sprite(), _yq5._bg.position.set(219, 207), _yq5.addChild(_yq5._fade), _yq5.addChild(_yq5._bg), _yq5._btn_no = new _yq6(!1), _yq5._btn_no.position.set(168, 216), _yq5._btn_yes = new _yq6(!0), _yq5._btn_yes.position.set(417, 216), _yq5.bg.addChild(_yq5._btn_no), _yq5.bg.addChild(_yq5._btn_yes), _yq5; } return _yph(_yq3, _yq1), Object.defineProperty(_yq3.prototype, 'fade', { 'get': function() { var _yq7 = null; return this._fade; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_yq3.prototype, 'bg', { 'get': function() { var _yq8 = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_yq3.prototype, 'btn_no', { 'get': function() { var _yq9 = null; return this._btn_no; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_yq3.prototype, 'btn_yes', { 'get': function() { var _yqa = null; return this._btn_yes; }, 'enumerable': !1, 'configurable': !0 }), _yq3.prototype.initialize = function() { var _yqb = null; this._bg.texture = _ypy.SALLY_EVENT.getTexture(18), this._btn_no.initialize(), this._btn_yes.initialize(); }, _yq3; }(PIXI.Container); _ypd.OperationSelectConfirmDialog = _yq0; var _yq6 = function(_yqc) { var _yqd = null; function _yqe(_yqf) { var _yqg = null, _yqh = _yqc.call(this) || this; return _yqh._onMouseOver = function() { var _yqi = null; _yqh._update(!0); }, _yqh._onMouseOut = function() { var _yqj = null; _yqh._update(!1); }, _yqh._onClick = function() { var _yqk = null; null != _yqh._cb_onClick && _yqh._cb_onClick(); }, _yqh._is_yes = _yqf, _yqh; } return _yph(_yqe, _yqc), _yqe.prototype.initialize = function() { var _yql = null; this._update(!1); }, _yqe.prototype.activate = function(_yqm) { var _yqn = null; this._cb_onClick = _yqm, 1 != this.interactive && (this.interactive = !0, this.buttonMode = !0, this.on(_ypz.EventType.MOUSEOVER, this._onMouseOver), this.on(_ypz.EventType.MOUSEOUT, this._onMouseOut), this.on(_ypz.EventType.CLICK, this._onClick)); }, _yqe.prototype.deactivate = function() { var _yqo = null; this._cb_onClick = null, this.interactive = !1, this.buttonMode = !1, this.on(_ypz.EventType.MOUSEOVER, this._onMouseOver), this.on(_ypz.EventType.MOUSEOUT, this._onMouseOut), this.on(_ypz.EventType.CLICK, this._onClick); }, _yqe.prototype._update = function(_yqp) { var _yqq = null, _yqr; _yqr = 1 == _yqp ? this._is_yes ? 11 : 8 : this._is_yes ? 10 : 7, this.texture = _ypy.SALLY_EVENT.getTexture(_yqr); }, _yqe; }(PIXI.Sprite); }, 92209: function(_yqs, _yqt, _yqu) { 'use strict'; var _yqv = null; var _yqw, _yqx = this && this.__extends || (_yqw = function(_yqy, _yqz) { var _yr0 = null; return _yqw = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_yr1, _yr2) { var _yr3 = null; _yr1.__proto__ = _yr2; } || function(_yr4, _yr5) { var _yr6 = null; for (var _yr7 in _yr5) Object.prototype.hasOwnProperty.call(_yr5, _yr7) && (_yr4[_yr7] = _yr5[_yr7]); }, _yqw(_yqy, _yqz); }, function(_yr8, _yr9) { var _yra = null; if ('function' != typeof _yr9 && null !== _yr9) throw new TypeError('Class extends value ' + String(_yr9) + ' is not a constructor or null'); function _yrb() { var _yrc = null; this.constructor = _yr8; } _yqw(_yr8, _yr9), _yr8.prototype = null === _yr9 ? Object.create(_yr9) : (_yrb.prototype = _yr9.prototype, new _yrb()); }); defineModule(_yqt); Object.defineProperty(_yqt, '__esModule', { 'value': !0 }), _yqt.OperationSelectView = void 0; var _yrd = _yqu(63234), _yre = _yqu(35380), _yrf = function(_yrg) { var _yrh = null; function _yri() { var _yrj = null, _yrk = _yrg.call(this) || this; return _yrk._onSelect = function(_yrl) { var _yrm = null; null != _yrk._cb_onSelect && _yrk._cb_onSelect(_yrl); }, _yrk._onBack = function() { var _yrn = null; null != _yrk._cb_onBack && _yrk._cb_onBack(); }, _yrk._title = new PIXI.Sprite(), _yrk._title.position.set(-350, -201), _yrk.addChild(_yrk._title), _yrk._btn_kou = new _yro(4, _yrk._onSelect), _yrk._btn_kou.position.set(-353, -53), _yrk._btn_otsu = new _yro(3, _yrk._onSelect), _yrk._btn_otsu.position.set(-183, -53), _yrk._btn_hei = new _yro(2, _yrk._onSelect), _yrk._btn_hei.position.set(-15, -53), _yrk._btn_tei = new _yro(1, _yrk._onSelect), _yrk._btn_tei.position.set(152, -53), _yrk._btn_back = new _yrp(_yrk._onBack), _yrk.addChild(_yrk._btn_kou), _yrk.addChild(_yrk._btn_otsu), _yrk.addChild(_yrk._btn_hei), _yrk.addChild(_yrk._btn_tei), _yrk.addChild(_yrk._btn_back), _yrk; } return _yqx(_yri, _yrg), _yri.prototype.initialize = function(_yrq, _yrr) { var _yrs = null; this._title.texture = _yrd.SALLY_EVENT.getTexture(26), this._btn_kou.initialize(), this._btn_kou.enabled = this._getEnabled(4, _yrq, _yrr), this._btn_otsu.initialize(), this._btn_otsu.enabled = this._getEnabled(3, _yrq, _yrr), this._btn_hei.initialize(), this._btn_hei.enabled = this._getEnabled(2, _yrq, _yrr), this._btn_tei.initialize(), this._btn_tei.enabled = this._getEnabled(1, _yrq, _yrr), this._btn_back.initialize(_yrq), this._btn_back.x = 263 - this._btn_back.width / 2, this._btn_back.y = 152 - this._btn_back.height / 2; }, _yri.prototype.activate = function(_yrt, _yru) { var _yrv = null; this._cb_onSelect = _yrt, this._cb_onBack = _yru, this._btn_kou.activate(), this._btn_otsu.activate(), this._btn_hei.activate(), this._btn_tei.activate(), this._btn_back.activate(); }, _yri.prototype.deactivate = function() { var _yrw = null; this._btn_kou.deactivate(), this._btn_otsu.deactivate(), this._btn_hei.deactivate(), this._btn_tei.deactivate(), this._btn_back.deactivate(); }, _yri.prototype.dispose = function() { var _yrx = null; this._btn_kou.dispose(), this._btn_otsu.dispose(), this._btn_hei.dispose(), this._btn_tei.dispose(), this._btn_back.dispose(), this._title = null, this._btn_kou = null, this._btn_otsu = null, this._btn_hei = null, this._btn_tei = null, this._cb_onSelect = null, this._cb_onBack = null; }, _yri.prototype.showCircle = function(_yry, _yrz) { var _ys0 = null; void 0 === _yrz && (_yrz = null), this._getBtn(_yry).showCircle(_yrz); }, _yri.prototype._getBtn = function(_ys1) { var _ys2 = null; return _ys1 == this._btn_kou.type ? this._btn_kou : _ys1 == this._btn_otsu.type ? this._btn_otsu : _ys1 == this._btn_hei.type ? this._btn_hei : _ys1 == this._btn_tei.type ? this._btn_tei : null; }, _yri.prototype._getEnabled = function(_ys3, _ys4, _ys5) { var _ys6 = null; return _ys3 != _ys4 && !(_ys5.indexOf(_ys3) < 0); }, _yri; }(PIXI.Container); _yqt.OperationSelectView = _yrf; var _yro = function(_ys7) { var _ys8 = null; function _ys9(_ysa, _ysb) { var _ysc = null, _ysd = _ys7.call(this, _ysa) || this; return _ysd._onMouseOver = function() { var _yse = null; _ysd._update(!0); }, _ysd._onMouseOut = function() { var _ysf = null; _ysd._update(!1); }, _ysd._onClick = function() { var _ysg = null; null != _ysd._cb_onClick && _ysd._cb_onClick(_ysd.type); }, _ysd._cb_onClick = _ysb, _ysd; } return _yqx(_ys9, _ys7), Object.defineProperty(_ys9.prototype, 'enabled', { 'get': function() { var _ysh = null; return this._enabled; }, 'set': function(_ysi) { var _ysj = null; this._enabled != _ysi && (1 == _ysi ? 1 == this.interactive && this._activate() : this.deactivate()), this._enabled = _ysi, this._update(!1); }, 'enumerable': !1, 'configurable': !0 }), _ys9.prototype.activate = function() { var _ysk = null; 1 != this._content.interactive && (this._content.interactive = !0, this._activate()); }, _ys9.prototype.deactivate = function() { var _ysl = null; this._content.off(_yre.EventType.MOUSEOVER, this._onMouseOver), this._content.off(_yre.EventType.MOUSEOUT, this._onMouseOut), this._content.off(_yre.EventType.CLICK, this._onClick), this._content.interactive = !1, this._content.buttonMode = !1; }, _ys9.prototype.dispose = function() { var _ysm = null; this.deactivate(); }, _ys9.prototype.showCircle = function(_ysn) { var _yso = null; if (void 0 === _ysn && (_ysn = null), 1 != this._circle.visible) { this._circle.alpha = 0, this._circle.visible = !0; var _ysp = createjs.Tween.get(this._circle).to({ 'alpha': 1 }, 500).wait(500); null != _ysn && _ysp.call(_ysn); } else null != _ysn && _ysn(); }, _ys9.prototype._activate = function() { var _ysq = null; 0 != this._enabled && (this._content.on(_yre.EventType.MOUSEOVER, this._onMouseOver), this._content.on(_yre.EventType.MOUSEOUT, this._onMouseOut), this._content.on(_yre.EventType.CLICK, this._onClick), this._content.buttonMode = !0); }, _ys9; }(function(_ysr) { var _yss = null; function _yst(_ysu) { var _ysv = null, _ysw = _ysr.call(this) || this; return _ysw._enabled = !0, _ysw._type = _ysu, _ysw._content = new PIXI.Sprite(), _ysw.addChild(_ysw._content), _ysw._label = new PIXI.Sprite(), _ysw.addChild(_ysw._label), _ysw._circle = new PIXI.Sprite(), _ysw._circle.position.set(-32, -39), _ysw._circle.alpha = 0, _ysw._circle.visible = !1, _ysw.addChild(_ysw._circle), _ysw; } return _yqx(_yst, _ysr), Object.defineProperty(_yst.prototype, 'type', { 'get': function() { var _ysx = null; return this._type; }, 'enumerable': !1, 'configurable': !0 }), _yst.prototype.initialize = function() { var _ysy = null; this._update(!1), this._label.texture = this._getTextureLabel(), this._circle.texture = _yrd.SALLY_EVENT.getTexture(42); }, _yst.prototype._update = function(_ysz) { var _yt0 = null; 0 == this._enabled ? this._content.texture = this._getTextureOff() : this._content.texture = 1 == _ysz ? this._getTextureOn() : this._getTexture(); }, _yst.prototype._getTexture = function() { var _yt1 = null; return 4 == this._type ? _yrd.SALLY_EVENT.getTexture(39) : 3 == this._type ? _yrd.SALLY_EVENT.getTexture(43) : 2 == this._type ? _yrd.SALLY_EVENT.getTexture(36) : 1 == this._type ? _yrd.SALLY_EVENT.getTexture(46) : PIXI.Texture.EMPTY; }, _yst.prototype._getTextureOn = function() { var _yt2 = null; return 4 == this._type ? _yrd.SALLY_EVENT.getTexture(41) : 3 == this._type ? _yrd.SALLY_EVENT.getTexture(45) : 2 == this._type ? _yrd.SALLY_EVENT.getTexture(38) : 1 == this._type ? _yrd.SALLY_EVENT.getTexture(48) : PIXI.Texture.EMPTY; }, _yst.prototype._getTextureOff = function() { var _yt3 = null; return 4 == this._type ? _yrd.SALLY_EVENT.getTexture(40) : 3 == this._type ? _yrd.SALLY_EVENT.getTexture(44) : 2 == this._type ? _yrd.SALLY_EVENT.getTexture(37) : 1 == this._type ? _yrd.SALLY_EVENT.getTexture(47) : PIXI.Texture.EMPTY; }, _yst.prototype._getTextureLabel = function() { var _yt4 = null; return 4 == this._type ? (this._label.position.set(0, 111), _yrd.SALLY_EVENT.getTexture(32)) : 3 == this._type ? (this._label.position.set(6, 111), _yrd.SALLY_EVENT.getTexture(31)) : 2 == this._type ? (this._label.position.set(23, 111), _yrd.SALLY_EVENT.getTexture(30)) : 1 == this._type ? (this._label.position.set(0, 111), _yrd.SALLY_EVENT.getTexture(33)) : PIXI.Texture.EMPTY; }, _yst; }(PIXI.Container)), _yrp = function(_yt5) { var _yt6 = null; function _yt7(_yt8) { var _yt9 = null, _yta = _yt5.call(this) || this; return _yta._onMouseOver = function() { var _ytb = null; _yta._update(!0); }, _yta._onMouseOut = function() { var _ytc = null; _yta._update(!1); }, _yta._onClick = function() { var _ytd = null; null != _yta._cb_onClick && _yta._cb_onClick(); }, _yta._cb_onClick = _yt8, _yta; } return _yqx(_yt7, _yt5), _yt7.prototype.initialize = function(_yte) { var _ytf = null; this._selected_type = _yte, this._update(!1); }, _yt7.prototype.activate = function() { var _ytg = null; 1 != this.interactive && (this.on(_yre.EventType.MOUSEOVER, this._onMouseOver), this.on(_yre.EventType.MOUSEOUT, this._onMouseOut), this.once(_yre.EventType.CLICK, this._onClick), this.interactive = !0, this.buttonMode = !0); }, _yt7.prototype.deactivate = function() { var _yth = null; this.off(_yre.EventType.MOUSEOVER, this._onMouseOver), this.off(_yre.EventType.MOUSEOUT, this._onMouseOut), this.off(_yre.EventType.CLICK, this._onClick), this.interactive = !1, this.buttonMode = !1; }, _yt7.prototype.dispose = function() { var _yti = null; this.deactivate(), this._stoptAnim(); }, _yt7.prototype._update = function(_ytj) { var _ytk = null; 1 == _ytj ? (this._stoptAnim(), 0 == this._selected_type ? this.texture = _yrd.SALLY_EVENT.getTexture(29) : this.texture = _yrd.SALLY_EVENT.getTexture(35)) : 0 == this._selected_type ? (this.texture = _yrd.SALLY_EVENT.getTexture(28), this._startAnim()) : this.texture = _yrd.SALLY_EVENT.getTexture(34); }, _yt7.prototype._startAnim = function() { var _ytl = null; null == this._t && (this.alpha = 1, this._t = createjs.Tween.get(this, { 'loop': !0 }).to({ 'alpha': 0.5 }, 700).wait(100).to({ 'alpha': 1 }, 700).wait(800)); }, _yt7.prototype._stoptAnim = function() { var _ytm = null; null != this._t && (this._t.setPaused(!0), this._t = null, this.alpha = 1); }, _yt7; }(PIXI.Sprite); }, 83517: (_ytn, _yto, _ytp) => { 'use strict'; var _ytq = null; defineModule(_yto); Object.defineProperty(_yto, '__esModule', { 'value': !0 }), _yto.EventSortieConditionModel = void 0; var _ytr = _ytp(14921), _yts = (function() { var _ytt = null; function _ytu() {} return Object.defineProperty(_ytu.prototype, 'win_count', { 'get': function() { var _ytv = null; return _ytr.ObjUtil.getNumber(this._war, 'api_win'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_ytu.prototype, 'lose_count', { 'get': function() { var _ytw = null; return _ytr.ObjUtil.getNumber(this._war, 'api_lose'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_ytu.prototype, 'win_rate', { 'get': function() { var _ytx = null; return _ytr.ObjUtil.getNumber(this._war, 'api_rate'); }, 'enumerable': !1, 'configurable': !0 }), _ytu.prototype.update = function(_yty) { this._o = _yty; }, Object.defineProperty(_ytu.prototype, '_war', { 'get': function() { var _ytz = null; return _ytr.ObjUtil.getObject(this._o, 'api_war'); }, 'enumerable': !1, 'configurable': !0 }), _ytu; }()); _yto.EventSortieConditionModel = _yts; }, 96231: function(_yu0, _yu1, _yu2) { 'use strict'; var _yu3 = null; var _yu4 = this && this.__importDefault || function(_yu5) { var _yu6 = null; return _yu5 && _yu5.__esModule ? _yu5 : { 'default': _yu5 }; }; defineModule(_yu1); Object.defineProperty(_yu1, '__esModule', { 'value': !0 }), _yu1.EventOperationVoice = void 0; var _yu7 = _yu4(_yu2(18622)), _yu8 = (function() { var _yu9 = null; function _yua() {} return _yua.killVoice = function() { var _yub = null; null != _yua.tween && _yua.tween.setPaused(!0), null != _yua.voice && _yu7.default.sound.voice.stop(_yua.voice), _yua.tween = null, _yua.voice = null; }, _yua.tween = null, _yua; }()); _yu1.EventOperationVoice = _yu8; }, 76498: (_yuc, _yud, _yue) => { 'use strict'; var _yuf = null; defineModule(_yud); Object.defineProperty(_yud, '__esModule', { 'value': !0 }), _yud.EventSortieCondition = void 0; var _yug = _yue(5339); Object.defineProperty(_yud, 'EventSortieCondition', { 'enumerable': !0, 'get': function() { var _yuh = null; return _yug.EventSortieCondition; } }); }, 5339: function(_yui, _yuj, _yuk) { 'use strict'; var _yul = null; var _yum, _yun = this && this.__extends || (_yum = function(_yuo, _yup) { var _yuq = null; return _yum = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_yur, _yus) { var _yut = null; _yur.__proto__ = _yus; } || function(_yuu, _yuv) { var _yuw = null; for (var _yux in _yuv) Object.prototype.hasOwnProperty.call(_yuv, _yux) && (_yuu[_yux] = _yuv[_yux]); }, _yum(_yuo, _yup); }, function(_yuy, _yuz) { var _yv0 = null; if ('function' != typeof _yuz && null !== _yuz) throw new TypeError('Class extends value ' + String(_yuz) + ' is not a constructor or null'); function _yv1() { var _yv2 = null; this.constructor = _yuy; } _yum(_yuy, _yuz), _yuy.prototype = null === _yuz ? Object.create(_yuz) : (_yv1.prototype = _yuz.prototype, new _yv1()); }), _yv3 = this && this.__spreadArray || function(_yv4, _yv5, _yv6) { var _yv7 = null; if (_yv6 || 2 === arguments.length) { for (var _yv8, _yv9 = 0, _yva = _yv5.length; _yv9 < _yva; _yv9++) !_yv8 && _yv9 in _yv5 || (_yv8 || (_yv8 = Array.prototype.slice.call(_yv5, 0, _yv9)), _yv8[_yv9] = _yv5[_yv9]); } return _yv4.concat(_yv8 || Array.prototype.slice.call(_yv5)); }, _yvb = this && this.__importDefault || function(_yvc) { var _yvd = null; return _yvc && _yvc.__esModule ? _yvc : { 'default': _yvc }; }; defineModule(_yuj); Object.defineProperty(_yuj, '__esModule', { 'value': !0 }), _yuj.EventSortieCondition = void 0; var _yve = _yvb(_yuk(18622)), _yvf = _yuk(81755), _yvg = _yuk(83517), _yvh = _yuk(4788), _yvi = _yuk(71633), _yvj = _yuk(14921), _yvk = (function() { var _yvl = null; function _yvm() {} return _yvm.prototype.getPreLoadTask = function() { var _yvn = null; return this._model = new _yvg.EventSortieConditionModel(), new _yvo(this._model); }, _yvm.prototype.update = function(_yvp) { var _yvq = null; this._map = _yvp; }, _yvm.prototype.check = function(_yvr, _yvs) { var _yvt = null; if (this._map.area_id != _yvi.EventConst.AREA_ID) return { 'result': !0, 'reason': 0 }; var _yvu = this._checkCommon(); return null != _yvu || null != (_yvu = this._check(_yvr, _yvs)) ? _yvu : { 'result': !0, 'reason': 0 }; }, _yvm.prototype._checkCommon = function() { var _yvv = null, _yvw = this._model.win_count, _yvx = this._model.lose_count; if (0 == _yvw && 0 == _yvx) return { 'result': !1, 'reason': 13 }; if (this._model.win_rate < 0.75) return { 'result': !1, 'reason': 15 }; var _yvy = _yve.default.model.basic.shipMax, _yvz = _yve.default.model.ship.num; return _yvy - _yvz < 5 ? { 'result': !1, 'reason': 16 } : (_yvy = _yve.default.model.basic.slotMax) - (_yvz = _yve.default.model.slot.num) < 20 ? { 'result': !1, 'reason': 17 } : 0 == this._map.getSelectedOperationType() ? { 'result': !1, 'reason': 18 } : null; }, _yvm.prototype._check = function(_yw0, _yw1) { var _yw2 = null, _yw3, _yw4 = this._map.mst_id, _yw5 = this._map.getSelectedOperationType(), _yw6 = [3, 4].indexOf(_yw5) > -1, _yw7 = 4 === _yw5, _yw8 = null === (_yw3 = _yve.default.model.map.getMapMem(584)) || void 0 === _yw3 ? void 0 : _yw3.isCleared(); if (_yw6 && !_yw8) switch (_yw4) { case 581: for (var _yw9 = [1, 2, 3], _ywa = this._map.s_no, _ywb = this._getStartPoint581(_ywa, _yw1, _yw5), _ywc = 0, _ywd = _yw1; _ywc < _ywd.length; _ywc++) { if (null != (_ywe = _ywd[_ywc])) { if (0 != (_ywf = _ywe.label)) { if (_yw9.indexOf(_ywf) < 0) return { 'result': !1, 'reason': 19 }; if (1 == _ywb) { if (1 != _ywf) return { 'result': !1, 'reason': 57 }; } else { if (2 == _ywb) { if (2 != _ywf) return { 'result': !1, 'reason': 57 }; } else { if (3 != _ywf) return { 'result': !1, 'reason': 57 }; } } } } } break; case 582: for (var _ywg = [2, 4, 5], _ywh = this._map.s_no, _ywi = this._getStartPoint582(_ywh, _yw0, _yw1, _yw5), _ywj = 0, _ywk = _yw1; _ywj < _ywk.length; _ywj++) { if (null != (_ywe = _ywk[_ywj])) { if (0 != (_ywf = _ywe.label)) { if (_ywg.indexOf(_ywf) < 0) return { 'result': !1, 'reason': 19 }; if (1 == _ywi) { if (2 != _ywf) return { 'result': !1, 'reason': 57 }; } else { if (2 == _ywi) { if (4 != _ywf) return { 'result': !1, 'reason': 57 }; } else { if (5 != _ywf) return { 'result': !1, 'reason': 57 }; } } } } } break; case 583: for (var _ywl = [4, 5, 6, 7], _ywm = this._map.getGaugeNum(), _ywn = this._getStartPoint583(_ywm, _yw0, _yw1, _yw5), _ywo = 0, _ywp = _yw1; _ywo < _ywp.length; _ywo++) { if (null != (_ywe = _ywp[_ywo])) { if (0 != (_ywf = _ywe.label)) { if (_ywl.indexOf(_ywf) < 0) return { 'result': !1, 'reason': 19 }; if (1 == _ywn) { if (4 != _ywf) return { 'result': !1, 'reason': 57 }; } else { if (2 == _ywn) { if (6 != _ywf) return { 'result': !1, 'reason': 57 }; } else { if (3 == _ywn) { if (7 != _ywf) return { 'result': !1, 'reason': 57 }; } else { if (5 != _ywf) return { 'result': !1, 'reason': 57 }; } } } } } } } if (_yw7 && !_yw8 && 584 == _yw4) for (var _ywq = [8, 9, 10, 11], _ywr = this._map.getGaugeNum(), _yws = this._getStartPoint584(_ywr, _yw0, _yw1, _yw5), _ywt = 0, _ywu = _yw1; _ywt < _ywu.length; _ywt++) { var _ywe, _ywf; if (null != (_ywe = _ywu[_ywt])) { if (0 != (_ywf = _ywe.label)) { if (_ywq.indexOf(_ywf) < 0) return { 'result': !1, 'reason': 19 }; if (1 == _yws) { if (8 != _ywf) return { 'result': !1, 'reason': 57 }; } else { if (2 == _yws) { if (9 != _ywf) return { 'result': !1, 'reason': 57 }; } else { if (3 == _yws) { if (11 != _ywf) return { 'result': !1, 'reason': 57 }; } else { if (10 != _ywf) return { 'result': !1, 'reason': 57 }; } } } } } } return null; }, _yvm.prototype._getStartPoint581 = function(_ywv, _yww, _ywx) { var _ywy = null; if (1 == _ywv) return 1; for (var _ywz = 0, _yx0 = 0, _yx1 = 0, _yx2 = 0, _yx3 = 0, _yx4 = 0, _yx5 = 0, _yx6 = 0, _yx7 = 0, _yx8 = 0, _yx9 = 0, _yxa = _yww; _yx9 < _yxa.length; _yx9++) { var _yxb = _yxa[_yx9]; if (null != _yxb) { if ([11, 18, 7].indexOf(_yxb.shipTypeID) > -1 || 'あきつまる' == _yxb.yomi) _ywz++, _yv3(_yv3([], _yxb.getSlotitems(), !0), [_yxb.getSlotitemEx()], !1).some(function(_yxc) { var _yxd = null; return 402 == (null == _yxc ? void 0 : _yxc.mstID); }) || _yx0++; [2, 1].indexOf(_yxb.shipTypeID) > -1 && _yx1++, [22, 17].indexOf(_yxb.shipTypeID) > -1 && _yx2++, [22, 17, 16].indexOf(_yxb.shipTypeID) > -1 && _yx3++, [9, 8, 10].indexOf(_yxb.shipTypeID) > -1 && _yx4++, [13, 14].indexOf(_yxb.shipTypeID) > -1 && _yx5++, [20].indexOf(_yxb.shipTypeID) > -1 && _yx6++, [5].indexOf(_yxb.shipTypeID) > -1 && _yx7++, [3, 21].indexOf(_yxb.shipTypeID) > -1 && _yx8++; } } return _ywz <= 0 && _yx1 >= 4 || _ywz >= 1 && _yx0 >= 1 || _yx2 >= 1 && _yx1 >= 3 || _yx3 >= 2 && _yx1 >= 3 ? 2 : _ywv >= 4 && _ywz >= 1 ? 3 : _ywz >= 3 || _yx4 >= 1 ? 1 : _yx6 <= 0 && _yx5 >= 1 || _yx6 >= 2 ? 2 : 4 == _ywv && _yx7 >= 2 && _yx8 >= 1 && _yx1 >= 2 || 1 === _ywx && 4 == _ywv && _yx7 >= 2 && _yx1 >= 2 ? 3 : _ywz >= 1 && _yx1 >= 3 ? 2 : 1; }, _yvm.prototype._getStartPoint582 = function(_yxe, _yxf, _yxg, _yxh) { var _yxi = null; if (1 == _yxe) return 1; if (0 != _yxf) return 2; if (2 == _yxe) return 1; for (var _yxj = 0, _yxk = 0, _yxl = 0, _yxm = 0, _yxn = 0, _yxo = _yxg; _yxn < _yxo.length; _yxn++) { var _yxp = _yxo[_yxn]; null != _yxp && ([9, 8, 10].indexOf(_yxp.shipTypeID) > -1 && _yxj++, ([11, 18, 7].indexOf(_yxp.shipTypeID) > -1 || 'あきつまる' == _yxp.yomi) && _yxk++, [5, 6].indexOf(_yxp.shipTypeID) > -1 && _yxl++, [13, 14].indexOf(_yxp.shipTypeID) > -1 && _yxm++); } return _yxj >= 1 || _yxk >= 1 || _yxl >= 3 || 4 === _yxh && _yxm <= 2 || 3 === _yxh && _yxm <= 1 || 2 === _yxh && _yxm <= 0 ? 1 : 3; }, _yvm.prototype._getStartPoint583 = function(_yxq, _yxr, _yxs, _yxt) { var _yxu = null; if (0 != _yxr) return 1; if (1 == _yxq) return 2; for (var _yxv, _yxw = 0, _yxx = 0, _yxy = 0, _yxz = 0, _yy0 = 0, _yy1 = 0, _yy2 = 0, _yy3 = 0, _yy4 = 0, _yy5 = _yxs; _yy4 < _yy5.length; _yy4++) { var _yy6 = _yy5[_yy4]; null != _yy6 && ((null == _yxv || _yxv > _yy6.speed) && (_yxv = _yy6.speed), [22].indexOf(_yy6.shipTypeID) > -1 && _yxw++, [3].indexOf(_yy6.shipTypeID) > -1 && _yxx++, [2, 1].indexOf(_yy6.shipTypeID) > -1 && _yxy++, ([11, 18, 7].indexOf(_yy6.shipTypeID) > -1 || 'あきつまる' == _yy6.yomi) && _yxz++, [9, 8, 10].indexOf(_yy6.shipTypeID) > -1 && _yy0++, [22, 17, 16].indexOf(_yy6.shipTypeID) > -1 && _yy1++, [20].indexOf(_yy6.shipTypeID) > -1 && _yy2++, [13, 14].indexOf(_yy6.shipTypeID) > -1 && _yy3++); } var _yy7 = _yvj.ShipUtil.getSpeedType(_yxv); return _yxw >= 1 || [0, 2, 1].indexOf(_yy7) > -1 && _yxx >= 1 && _yxy >= 3 ? 3 : _yxz >= 1 || _yy0 >= 1 || _yy1 >= 2 ? 2 : 2 == _yxq ? 3 : 4 === _yxt && _yy2 >= 1 && _yy3 >= 3 || 3 === _yxt && _yy3 >= 3 || 2 === _yxt && _yy3 >= 2 || 1 === _yxt && _yy3 >= 1 || 1 === _yxt && _yxy >= 3 ? 4 : 2; }, _yvm.prototype._getStartPoint584 = function(_yy8, _yy9, _yya, _yyb) { var _yyc = null; for (var _yyd, _yye, _yyf = 0, _yyg = 0, _yyh = 0, _yyi = 0, _yyj = 0, _yyk = 0, _yyl = 0, _yym = 0, _yyn = 0, _yyo = 0, _yyp = 0, _yyq = _yya; _yyp < _yyq.length; _yyp++) { var _yyr = _yyq[_yyp]; null != _yyr && ((null == _yye || _yye > _yyr.speed) && (_yye = _yyr.speed), 10 == _yyr.shipTypeID && _yyf++, 6 == _yyr.shipTypeID && _yyg++, 3 == _yyr.shipTypeID && _yyh++, [2, 1].includes(_yyr.shipTypeID) && _yyi++, [22, 17].includes(_yyr.shipTypeID) && _yyj++, 20 == _yyr.shipTypeID && _yyk++, [3, 21].includes(_yyr.shipTypeID) && _yyl++, [13, 14].includes(_yyr.shipTypeID) && _yym++, 37 == _yyr.getClassType() && _yyn++, [11, 18].includes(_yyr.shipTypeID) && _yyo++); } var _yys = _yvj.ShipUtil.getSpeedType(_yye); return 1 == (_yyd = 1 == _yy8 || 0 == _yy9 ? 1 : 3 == _yy9 || _yyf + _yyg == 2 && 1 == _yyh && _yyi + _yyj + _yyk == 9 || _yyf + _yyg == 2 && 2 == _yyl && _yyi + _yyj + _yyk == 8 || _yyf + _yyg == 1 && 2 == _yyl && _yyi + _yyj + _yyk == 9 ? 2 : [2, 3].includes(_yy8) ? 1 : 2 == _yy9 ? 3 : 1) && 0 == _yy9 ? [0, 1].includes(_yys) || _yy8 <= 2 && _yym >= 1 || 1 !== _yyb && 0 == _yy9 && 3 == _yys && _yyk + _yym == 0 || 2 == _yyn && 3 == _yys || _yyo >= 4 || _yy8 <= 2 ? _yyd : _yym >= 4 || _yyk >= 1 && _yym >= 3 || 3 === _yyb && _yym >= 3 || 2 === _yyb && _yym >= 2 || 1 === _yyb && _yym >= 1 || 1 === _yyb && _yyi >= 3 ? 4 : _yyd : _yyd; }, _yvm; }()); _yuj.EventSortieCondition = _yvk; var _yvo = function(_yyt) { var _yyu = null; function _yyv(_yyw) { var _yyx = null, _yyy = _yyt.call(this) || this; return _yyy._onComplete = function() { var _yyz = null; _yyy._endTask(); }, _yyy._model = _yyw, _yyy; } return _yun(_yyv, _yyt), _yyv.prototype._start = function() { var _yz0 = null; new _yvh.APIEventSortieCondition(this._model).start(this._onComplete); }, _yyv.prototype._endTask = function() { var _yz1 = null; this._model = null, _yyt.prototype._endTask.call(this); }, _yyv; }(_yvf.TaskBase); }, 31560: function(_yz2, _yz3, _yz4) { 'use strict'; var _yz5 = null; var _yz6, _yz7 = this && this.__extends || (_yz6 = function(_yz8, _yz9) { var _yza = null; return _yz6 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_yzb, _yzc) { var _yzd = null; _yzb.__proto__ = _yzc; } || function(_yze, _yzf) { var _yzg = null; for (var _yzh in _yzf) Object.prototype.hasOwnProperty.call(_yzf, _yzh) && (_yze[_yzh] = _yzf[_yzh]); }, _yz6(_yz8, _yz9); }, function(_yzi, _yzj) { var _yzk = null; if ('function' != typeof _yzj && null !== _yzj) throw new TypeError('Class extends value ' + String(_yzj) + ' is not a constructor or null'); function _yzl() { var _yzm = null; this.constructor = _yzi; } _yz6(_yzi, _yzj), _yzi.prototype = null === _yzj ? Object.create(_yzj) : (_yzl.prototype = _yzj.prototype, new _yzl()); }); defineModule(_yz3); Object.defineProperty(_yz3, '__esModule', { 'value': !0 }), _yz3.StrategyMap = void 0; var _yzn = _yz4(81478), _yzo = _yz4(33368), _yzp = function(_yzq) { var _yzr = null; function _yzs() { var _yzt = null, _yzu = _yzq.call(this) || this; return _yzu._map_id = -1, _yzu._bg = new PIXI.Sprite(), _yzu.addChild(_yzu._bg), _yzu._area_layer = new PIXI.Container(), _yzu.addChild(_yzu._area_layer), _yzu._arrow_layer = new PIXI.Container(), _yzu.addChild(_yzu._arrow_layer), _yzu._plate = new PIXI.Container(), _yzu.addChild(_yzu._plate), _yzu._base = new PIXI.Container(), _yzu.addChild(_yzu._base), _yzu._label_layer = new PIXI.Container(), _yzu.addChild(_yzu._label_layer), _yzu._mini_text_layer = new PIXI.Sprite(), _yzu.addChild(_yzu._mini_text_layer), _yzu._title1 = new PIXI.Sprite(), _yzu._title2 = new PIXI.Sprite(), _yzu.addChild(_yzu._title1), _yzu.addChild(_yzu._title2), _yzu; } return _yz7(_yzs, _yzq), _yzs.prototype.update = function(_yzv, _yzw) { var _yzx = null; void 0 === _yzw && (_yzw = !1); var _yzy = _yzv.mst_id, _yzz = _yzv.getGaugeNum(), _z00 = [].indexOf(_yzy) > -1 ? _yzv.availableAirUnitCount : _yzv.m10, _z01 = _yzv.getAllowedDeckType(); (_yzw || this._map_id != _yzy || this._gauge_num != _yzz) && (this._map_id = _yzy, this._gauge_num = _yzz, this._bg.texture = this._getBGTexture(_yzy), this._bg.y = 5, this._createAreaAnimation(_yzy), this._createArrowAnimation(_yzy), this._createAirBase(_yzy, _yzz, _z00), this._createPlate(_yzy), this._createLabelAnimation(_yzy), this._createMiniTextAnimation(_yzy, _yzz, _z01), (this._title1.texture = this._getTitle1Texture(_yzy), this._title1.position = function(_z02) { var _z03 = null; switch (_z02) { case 581: case 582: case 583: case 584: return new PIXI.Point(83, -41); default: return new PIXI.Point(0, 0); } }(_yzy)), (this._title2.texture = this._getTitle2Texture(_yzy), this._title2.position = function(_z04) { var _z05 = null; switch (_z04) { case 581: return new PIXI.Point(95, -21); case 582: return new PIXI.Point(94, -21); case 583: return new PIXI.Point(39, -20); case 584: return new PIXI.Point(85, -20); default: return new PIXI.Point(); } }(_yzy))); }, _yzs.prototype.dispose = function() { var _z06 = null; this._cleanArea(), this._cleanArrow(), this._cleanLabel(), this._cleanMiniText(); }, _yzs.prototype._getBGTexture = function(_z07) { var _z08 = null; switch (_z07) { case 581: return _yzn.SALLY_STRATEGYMAP.getTexture(48); case 582: return _yzn.SALLY_STRATEGYMAP.getTexture(49); case 583: return _yzn.SALLY_STRATEGYMAP.getTexture(50); case 584: return _yzo.SALLY_STRATEGYMAP_SECOND.getTexture(18); default: return PIXI.Texture.EMPTY; } }, _yzs.prototype._createAreaAnimation = function(_z09) { var _z0a = null; switch (this._cleanArea(), _z09) { case 581: return this._createArea(1, 181, _yzn.SALLY_STRATEGYMAP.getTexture(0)), this._createArea(75, 177, _yzn.SALLY_STRATEGYMAP.getTexture(1)), this._createArea(153, 153, _yzn.SALLY_STRATEGYMAP.getTexture(2)), this._createArea(169, 72, _yzn.SALLY_STRATEGYMAP.getTexture(3)), void this._createArea(144, 8, _yzn.SALLY_STRATEGYMAP.getTexture(4)); case 582: return this._createArea(85, 170, _yzn.SALLY_STRATEGYMAP.getTexture(5)), this._createArea(159, 122, _yzn.SALLY_STRATEGYMAP.getTexture(6)), void this._createArea(155, 25, _yzn.SALLY_STRATEGYMAP.getTexture(7)); case 583: return this._createArea(0, 119, _yzn.SALLY_STRATEGYMAP.getTexture(8)), this._createArea(60, 136, _yzn.SALLY_STRATEGYMAP.getTexture(9)), this._createArea(106, 76, _yzn.SALLY_STRATEGYMAP.getTexture(10)), void this._createArea(185, 148, _yzn.SALLY_STRATEGYMAP.getTexture(11)); case 584: return this._createArea(48, 102, _yzo.SALLY_STRATEGYMAP_SECOND.getTexture(0)), this._createArea(144, 165, _yzo.SALLY_STRATEGYMAP_SECOND.getTexture(1)), this._createArea(111, 40, _yzo.SALLY_STRATEGYMAP_SECOND.getTexture(2)), void this._createArea(140, 10, _yzo.SALLY_STRATEGYMAP_SECOND.getTexture(3)); default: return; } }, _yzs.prototype._createArrowAnimation = function(_z0b) { var _z0c = null; switch (this._cleanArrow(), _z0b) { case 581: return this._createArrow(41, 141, _yzn.SALLY_STRATEGYMAP.getTexture(12), _yzn.SALLY_STRATEGYMAP.getTexture(13)), this._createArrow(109, 102, _yzn.SALLY_STRATEGYMAP.getTexture(14), _yzn.SALLY_STRATEGYMAP.getTexture(15)), this._createArrow(39, 127, _yzn.SALLY_STRATEGYMAP.getTexture(16), _yzn.SALLY_STRATEGYMAP.getTexture(17)), void this._createArrow(112, 27, _yzn.SALLY_STRATEGYMAP.getTexture(18), _yzn.SALLY_STRATEGYMAP.getTexture(19)); case 582: return this._createArrow(25, 43, _yzn.SALLY_STRATEGYMAP.getTexture(20), _yzn.SALLY_STRATEGYMAP.getTexture(21)), this._createArrow(54, 98, _yzn.SALLY_STRATEGYMAP.getTexture(22), _yzn.SALLY_STRATEGYMAP.getTexture(23)), void this._createArrow(95, 19, _yzn.SALLY_STRATEGYMAP.getTexture(24), _yzn.SALLY_STRATEGYMAP.getTexture(25)); case 583: return this._createArrow(0, 5, _yzn.SALLY_STRATEGYMAP.getTexture(28), _yzn.SALLY_STRATEGYMAP.getTexture(29)), this._createArrow(88, 5, _yzn.SALLY_STRATEGYMAP.getTexture(30), _yzn.SALLY_STRATEGYMAP.getTexture(31)), this._createArrow(159, 7, _yzn.SALLY_STRATEGYMAP.getTexture(32), _yzn.SALLY_STRATEGYMAP.getTexture(33)), void this._createArrow(0, 77, _yzn.SALLY_STRATEGYMAP.getTexture(26), _yzn.SALLY_STRATEGYMAP.getTexture(27)); case 584: return this._createArrow(0, 150, _yzo.SALLY_STRATEGYMAP_SECOND.getTexture(4), _yzo.SALLY_STRATEGYMAP_SECOND.getTexture(5)), this._createArrow(41, 112, _yzo.SALLY_STRATEGYMAP_SECOND.getTexture(6), _yzo.SALLY_STRATEGYMAP_SECOND.getTexture(7)), this._createArrow(0, 92, _yzo.SALLY_STRATEGYMAP_SECOND.getTexture(8), _yzo.SALLY_STRATEGYMAP_SECOND.getTexture(9)), void this._createArrow(0, 40, _yzo.SALLY_STRATEGYMAP_SECOND.getTexture(10), _yzo.SALLY_STRATEGYMAP_SECOND.getTexture(11)); default: return; } }, _yzs.prototype._createArea = function(_z0d, _z0e, _z0f) { var _z0g = null, _z0h = new _z0i(_z0f); _z0h.x = _z0d, _z0h.y = _z0e, this._area_layer.addChild(_z0h); }, _yzs.prototype._cleanArea = function() { var _z0j = null; for (var _z0k = 0, _z0l = this._area_layer.children; _z0k < _z0l.length; _z0k++) { _z0l[_z0k].dispose(); } this._area_layer.removeChildren(); }, _yzs.prototype._createArrow = function(_z0m, _z0n, _z0o, _z0p) { var _z0q = null, _z0r = new _z0s(_z0o, _z0p); _z0r.x = _z0m, _z0r.y = _z0n, this._arrow_layer.addChild(_z0r); }, _yzs.prototype._cleanArrow = function() { var _z0t = null; for (var _z0u = 0, _z0v = this._arrow_layer.children; _z0u < _z0v.length; _z0u++) { _z0v[_z0u].dispose(); } this._arrow_layer.removeChildren(); }, _yzs.prototype._createAirBase = function(_z0w, _z0x, _z0y) { var _z0z = null; this._base.removeChildren(); var _z10 = null; switch (_z0w) { case 581: _z10 = new PIXI.Point(100, 126); break; case 582: _z10 = new PIXI.Point(83, 32); break; case 584: _z10 = new PIXI.Point(77, 111); break; default: _z10 = null; } if (null != _z10) { var _z11 = new PIXI.Sprite(_yzn.SALLY_STRATEGYMAP.getTexture(34)); _z11.position.set(_z10.x, _z10.y), this._base.addChild(_z11); } }, _yzs.prototype._createPlate = function(_z12) { var _z13 = null, _z14 = this; this._plate.removeChildren(); var _z15 = function(_z16, _z17, _z18) { var _z19 = null, _z1a = new PIXI.Sprite(_z16); _z1a.position.set(_z17, _z18), _z14._plate.addChild(_z1a); }; switch (_z12) { case 581: return _z15(_yzn.SALLY_STRATEGYMAP.getTexture(35), 156, 84), _z15(_yzn.SALLY_STRATEGYMAP.getTexture(36), 43, 98), void _z15(_yzn.SALLY_STRATEGYMAP.getTexture(37), 135, 27); case 582: return _z15(_yzn.SALLY_STRATEGYMAP.getTexture(36), 31, 76), _z15(_yzn.SALLY_STRATEGYMAP.getTexture(38), 160, 28), void _z15(_yzn.SALLY_STRATEGYMAP.getTexture(39), 110, 161); case 583: return _z15(_yzn.SALLY_STRATEGYMAP.getTexture(38), 36, 23), _z15(_yzn.SALLY_STRATEGYMAP.getTexture(39), 70, 175), _z15(_yzn.SALLY_STRATEGYMAP.getTexture(40), 106, 38), void _z15(_yzn.SALLY_STRATEGYMAP.getTexture(41), 204, 57); case 584: return _z15(_yzo.SALLY_STRATEGYMAP_SECOND.getTexture(14), 10, 103), _z15(_yzo.SALLY_STRATEGYMAP_SECOND.getTexture(15), 110, 31), _z15(_yzo.SALLY_STRATEGYMAP_SECOND.getTexture(12), 43, 179), void _z15(_yzo.SALLY_STRATEGYMAP_SECOND.getTexture(13), 145, 165); default: return; } }, _yzs.prototype._createLabelAnimation = function(_z1b) { var _z1c = null; switch (this._cleanLabel(), _z1b) { case 581: return void this._createLabel(79, 147, _yzn.SALLY_STRATEGYMAP.getTexture(42), _yzn.SALLY_STRATEGYMAP.getTexture(43)); case 582: return void this._createLabel(72, 120, _yzn.SALLY_STRATEGYMAP.getTexture(44), _yzn.SALLY_STRATEGYMAP.getTexture(45)); case 583: return void this._createLabel(18, 130, _yzn.SALLY_STRATEGYMAP.getTexture(46), _yzn.SALLY_STRATEGYMAP.getTexture(47)); case 584: return void this._createLabel(52, 117, _yzo.SALLY_STRATEGYMAP_SECOND.getTexture(16), _yzo.SALLY_STRATEGYMAP_SECOND.getTexture(17)); default: return; } }, _yzs.prototype._createLabel = function(_z1d, _z1e, _z1f, _z1g) { var _z1h = null, _z1i = new _z1j(_z1f, _z1g); _z1i.x = _z1d, _z1i.y = _z1e, this._label_layer.addChild(_z1i); }, _yzs.prototype._cleanLabel = function() { var _z1k = null; for (var _z1l = 0, _z1m = this._label_layer.children; _z1l < _z1m.length; _z1l++) { _z1m[_z1l].dispose(); } this._label_layer.removeChildren(); }, _yzs.prototype._createMiniTextAnimation = function(_z1n, _z1o, _z1p) { var _z1q = null; switch (this._cleanMiniText(), _z1n) { case 582: case 583: case 584: return void(0 != _z1p.rengo && this._createMiniText(192, 286, _yzn.SALLY_STRATEGYMAP.getTexture(55), _yzn.SALLY_STRATEGYMAP.getTexture(56))); default: return; } }, _yzs.prototype._createMiniText = function(_z1r, _z1s, _z1t, _z1u) { var _z1v = null, _z1w = new _z1x(_z1t, _z1u); _z1w.x = _z1r, _z1w.y = _z1s, this._mini_text_layer.addChild(_z1w); }, _yzs.prototype._cleanMiniText = function() { var _z1y = null; for (var _z1z = 0, _z20 = this._mini_text_layer.children; _z1z < _z20.length; _z1z++) { _z20[_z1z].dispose(); } this._mini_text_layer.removeChildren(); }, _yzs.prototype._getTitle1Texture = function(_z21) { var _z22 = null; switch (_z21) { case 581: case 582: case 583: case 584: return _yzn.SALLY_STRATEGYMAP.getTexture(54); default: return PIXI.Texture.EMPTY; } }, _yzs.prototype._getTitle2Texture = function(_z23) { var _z24 = null; switch (_z23) { case 581: return _yzn.SALLY_STRATEGYMAP.getTexture(51); case 582: return _yzn.SALLY_STRATEGYMAP.getTexture(52); case 583: return _yzn.SALLY_STRATEGYMAP.getTexture(53); case 584: return _yzo.SALLY_STRATEGYMAP_SECOND.getTexture(19); default: return PIXI.Texture.EMPTY; } }, _yzs; }(PIXI.Container); _yz3.StrategyMap = _yzp; var _z0i = function(_z25) { var _z26 = null; function _z27(_z28) { var _z29 = null, _z2a = _z25.call(this, _z28) || this; return _z2a._startAnimation(), _z2a; } return _yz7(_z27, _z25), _z27.prototype.dispose = function() { var _z2b = null; this._stopAnimation(); }, _z27.prototype._startAnimation = function() { var _z2c = null; null == this._t && (this.alpha = 0.5, this._t = createjs.Tween.get(this, { 'loop': !0 }).to({ 'alpha': 1 }, 1800).to({ 'alpha': 0.5 }, 0)); }, _z27.prototype._stopAnimation = function() { var _z2d = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _z27; }(PIXI.Sprite), _z0s = function(_z2e) { var _z2f = null; function _z2g(_z2h, _z2i) { var _z2j = null, _z2k = _z2e.call(this, _z2h) || this; return _z2k._over = new PIXI.Sprite(_z2i), _z2k.addChild(_z2k._over), _z2k._startAnimation(), _z2k; } return _yz7(_z2g, _z2e), _z2g.prototype.dispose = function() { var _z2l = null; this._stopAnimation(); }, _z2g.prototype._startAnimation = function() { var _z2m = null; null == this._t && (this._over.alpha = 0, this._t = createjs.Tween.get(this._over, { 'loop': !0 }).to({ 'alpha': 1 }, 1200).to({ 'alpha': 0 }, 0)); }, _z2g.prototype._stopAnimation = function() { var _z2n = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _z2g; }(PIXI.Sprite), _z1j = function(_z2o) { var _z2p = null; function _z2q(_z2r, _z2s) { var _z2t = null, _z2u = _z2o.call(this, _z2r) || this; return _z2u._over = new PIXI.Sprite(_z2s), _z2u.addChild(_z2u._over), _z2u._startAnimation(), _z2u; } return _yz7(_z2q, _z2o), _z2q.prototype.dispose = function() { var _z2v = null; this._stopAnimation(); }, _z2q.prototype._startAnimation = function() { var _z2w = null; null == this._t && (this._over.alpha = 0, this._t = createjs.Tween.get(this._over, { 'loop': !0 }).wait(600).to({ 'alpha': 1 }, 0).wait(600).to({ 'alpha': 0 }, 0)); }, _z2q.prototype._stopAnimation = function() { var _z2x = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _z2q; }(PIXI.Sprite), _z1x = function(_z2y) { var _z2z = null; function _z30(_z31, _z32) { var _z33 = null, _z34 = _z2y.call(this, _z31) || this; return _z34._over = new PIXI.Sprite(_z32), _z34.addChild(_z34._over), _z34._startAnimation(), _z34; } return _yz7(_z30, _z2y), _z30.prototype.dispose = function() { var _z35 = null; this._stopAnimation(); }, _z30.prototype._startAnimation = function() { var _z36 = null; null == this._t && (this._over.alpha = 0, this._t = createjs.Tween.get(this._over, { 'loop': !0 }).wait(600).to({ 'alpha': 1 }, 0).wait(600).to({ 'alpha': 0 }, 0)); }, _z30.prototype._stopAnimation = function() { var _z37 = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _z30; }(PIXI.Sprite); }, 42776: function(_z38, _z39, _z3a) { 'use strict'; var _z3b = null; var _z3c, _z3d = this && this.__extends || (_z3c = function(_z3e, _z3f) { var _z3g = null; return _z3c = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_z3h, _z3i) { var _z3j = null; _z3h.__proto__ = _z3i; } || function(_z3k, _z3l) { var _z3m = null; for (var _z3n in _z3l) Object.prototype.hasOwnProperty.call(_z3l, _z3n) && (_z3k[_z3n] = _z3l[_z3n]); }, _z3c(_z3e, _z3f); }, function(_z3o, _z3p) { var _z3q = null; if ('function' != typeof _z3p && null !== _z3p) throw new TypeError('Class extends value ' + String(_z3p) + ' is not a constructor or null'); function _z3r() { var _z3s = null; this.constructor = _z3o; } _z3c(_z3o, _z3p), _z3o.prototype = null === _z3p ? Object.create(_z3p) : (_z3r.prototype = _z3p.prototype, new _z3r()); }); defineModule(_z39); Object.defineProperty(_z39, '__esModule', { 'value': !0 }), _z39.AirUnitBtn = void 0; var _z3t = _z3a(98583), _z3u = _z3a(35380), _z3v = function(_z3w) { var _z3x = null; function _z3y(_z3z) { var _z40 = null, _z41 = _z3w.call(this) || this; return _z41._onClick = function() { var _z42 = null; null != _z41._cb_onClick && _z41._cb_onClick(); }, _z41._cb_onClick = _z3z, _z41.interactive = !0, _z41; } return _z3d(_z3y, _z3w), _z3y.prototype.initialize = function() { var _z43 = null; this.texture = _z3t.SALLY_AIRUNIT.getTexture(5); }, _z3y.prototype.activate = function() { var _z44 = null; 1 != this.buttonMode && (this.buttonMode = !0, this.on(_z3u.EventType.CLICK, this._onClick)); }, _z3y.prototype.deactivate = function() { var _z45 = null; this.buttonMode = !1, this.off(_z3u.EventType.CLICK, this._onClick); }, _z3y.prototype.dispose = function() { var _z46 = null; this.deactivate(), this._cb_onClick = null; }, _z3y; }(PIXI.Sprite); _z39.AirUnitBtn = _z3v; }, 93258: function(_z47, _z48, _z49) { 'use strict'; var _z4a = null; var _z4b, _z4c = this && this.__extends || (_z4b = function(_z4d, _z4e) { var _z4f = null; return _z4b = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_z4g, _z4h) { var _z4i = null; _z4g.__proto__ = _z4h; } || function(_z4j, _z4k) { var _z4l = null; for (var _z4m in _z4k) Object.prototype.hasOwnProperty.call(_z4k, _z4m) && (_z4j[_z4m] = _z4k[_z4m]); }, _z4b(_z4d, _z4e); }, function(_z4n, _z4o) { var _z4p = null; if ('function' != typeof _z4o && null !== _z4o) throw new TypeError('Class extends value ' + String(_z4o) + ' is not a constructor or null'); function _z4q() { var _z4r = null; this.constructor = _z4n; } _z4b(_z4n, _z4o), _z4n.prototype = null === _z4o ? Object.create(_z4o) : (_z4q.prototype = _z4o.prototype, new _z4q()); }); defineModule(_z48); Object.defineProperty(_z48, '__esModule', { 'value': !0 }), _z48.EventAreaIconBtn = void 0; var _z4s = _z49(69124), _z4t = function(_z4u) { var _z4v = null; function _z4w(_z4x) { var _z4y = null, _z4z = _z4u.call(this, _z4x) || this; return _z4z._overlay = new PIXI.Sprite(), _z4z.addChild(_z4z._overlay), _z4z._t = createjs.Tween.get(_z4z._overlay, { 'loop': !0 }).to({ 'alpha': 0 }, 600).to({ 'alpha': 1 }, 600), _z4z._t.setPaused(!0), _z4z; } return _z4c(_z4w, _z4u), _z4w.prototype.initialize = function(_z50) { var _z51 = null; this._overlay.texture = _z4s.COMMON_EVENT.getTexture(1), this.texture = _z4s.COMMON_EVENT.getTexture(0), _z4u.prototype.initialize.call(this, _z50); }, _z4w.prototype.dispose = function() { var _z52 = null; _z4u.prototype.dispose.call(this), this._t.setPaused(!0), this._t = null; }, _z4w.prototype._update = function(_z53) { var _z54 = null; 1 == this.selected || 1 == _z53 ? (this._t.setPaused(!0), this._overlay.alpha = 1) : this._t.setPaused(!1); }, _z4w; }(_z49(78211).AreaIconBtn); _z48.EventAreaIconBtn = _z4t; }, 68434: function(_z55, _z56, _z57) { 'use strict'; var _z58 = null; var _z59, _z5a = this && this.__extends || (_z59 = function(_z5b, _z5c) { var _z5d = null; return _z59 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_z5e, _z5f) { var _z5g = null; _z5e.__proto__ = _z5f; } || function(_z5h, _z5i) { var _z5j = null; for (var _z5k in _z5i) Object.prototype.hasOwnProperty.call(_z5i, _z5k) && (_z5h[_z5k] = _z5i[_z5k]); }, _z59(_z5b, _z5c); }, function(_z5l, _z5m) { var _z5n = null; if ('function' != typeof _z5m && null !== _z5m) throw new TypeError('Class extends value ' + String(_z5m) + ' is not a constructor or null'); function _z5o() { var _z5p = null; this.constructor = _z5l; } _z59(_z5l, _z5m), _z5l.prototype = null === _z5m ? Object.create(_z5m) : (_z5o.prototype = _z5m.prototype, new _z5o()); }); defineModule(_z56); Object.defineProperty(_z56, '__esModule', { 'value': !0 }), _z56.EventMapThumbnail = void 0; var _z5q = _z57(63234), _z5r = _z57(28686), _z5s = _z57(2235), _z5t = function(_z5u) { var _z5v = null; function _z5w(_z5x, _z5y, _z5z, _z60, _z61) { var _z62 = null; return _z5u.call(this, _z5x, _z5y, _z5z, _z60, _z61) || this; } return _z5a(_z5w, _z5u), _z5w.prototype._setPositions = function() { var _z63 = null; (1 == this._type || 2 == this._type || 3 == this._type) && this._clear.position.set(600, 0); }, _z5w.prototype._getNoneTexture = function() { var _z64 = null; switch (this._type) { case 2: return _z5q.SALLY_EVENT.getTexture(25); case 3: return _z5q.SALLY_EVENT.getTexture(24); } return PIXI.Texture.EMPTY; }, _z5w.prototype._getFocusTexture = function() { var _z65 = null; switch (this._type) { case 1: return _z5q.SALLY_EVENT.getTexture(22); case 2: return _z5q.SALLY_EVENT.getTexture(23); case 3: return _z5q.SALLY_EVENT.getTexture(21); } return PIXI.Texture.EMPTY; }, _z5w.prototype._createLock = function() { var _z66 = null; return new _z5s.EventMapThumbnailLocked(this._type); }, _z5w; }(_z5r.MapThumbnail); _z56.EventMapThumbnail = _z5t; }, 2235: function(_z67, _z68, _z69) { 'use strict'; var _z6a = null; var _z6b, _z6c = this && this.__extends || (_z6b = function(_z6d, _z6e) { var _z6f = null; return _z6b = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_z6g, _z6h) { var _z6i = null; _z6g.__proto__ = _z6h; } || function(_z6j, _z6k) { var _z6l = null; for (var _z6m in _z6k) Object.prototype.hasOwnProperty.call(_z6k, _z6m) && (_z6j[_z6m] = _z6k[_z6m]); }, _z6b(_z6d, _z6e); }, function(_z6n, _z6o) { var _z6p = null; if ('function' != typeof _z6o && null !== _z6o) throw new TypeError('Class extends value ' + String(_z6o) + ' is not a constructor or null'); function _z6q() { var _z6r = null; this.constructor = _z6n; } _z6b(_z6n, _z6o), _z6n.prototype = null === _z6o ? Object.create(_z6o) : (_z6q.prototype = _z6o.prototype, new _z6q()); }); defineModule(_z68); Object.defineProperty(_z68, '__esModule', { 'value': !0 }), _z68.EventMapThumbnailLocked = void 0; var _z6s = _z69(63234), _z6t = function(_z6u) { var _z6v = null; function _z6w() { var _z6x = null; return null !== _z6u && _z6u.apply(this, arguments) || this; } return _z6c(_z6w, _z6u), _z6w.prototype._getBlackTexture = function() { var _z6y = null; switch (this._type) { case 2: return _z6s.SALLY_EVENT.getTexture(20); case 3: return _z6s.SALLY_EVENT.getTexture(19); } return PIXI.Texture.EMPTY; }, _z6w.prototype._setPositions = function() { var _z6z = null; 1 == this._type ? (this._key.position.set(216, 104), this._cloud.position.set(230, 137), this._text.position.set(230, 174)) : 2 == this._type ? (this._key.position.set(311, 42), this._cloud.position.set(332, 81), this._text.position.set(333, 152)) : 3 == this._type ? (this._black.position.set(-3, -2), this._key.position.set(311, 11), this._cloud.position.set(332, 56), this._text.position.set(339, 117)) : 4 == this._type && (this._key.position.set(311, 8), this._cloud.position.set(332, 51), this._text.position.set(333, 60)); }, _z6w; }(_z69(84742).MapThumbnailLocked); _z68.EventMapThumbnailLocked = _z6t; }, 20922: function(_z70, _z71, _z72) { 'use strict'; var _z73 = null; var _z74, _z75 = this && this.__extends || (_z74 = function(_z76, _z77) { var _z78 = null; return _z74 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_z79, _z7a) { var _z7b = null; _z79.__proto__ = _z7a; } || function(_z7c, _z7d) { var _z7e = null; for (var _z7f in _z7d) Object.prototype.hasOwnProperty.call(_z7d, _z7f) && (_z7c[_z7f] = _z7d[_z7f]); }, _z74(_z76, _z77); }, function(_z7g, _z7h) { var _z7i = null; if ('function' != typeof _z7h && null !== _z7h) throw new TypeError('Class extends value ' + String(_z7h) + ' is not a constructor or null'); function _z7j() { var _z7k = null; this.constructor = _z7g; } _z74(_z7g, _z7h), _z7g.prototype = null === _z7h ? Object.create(_z7h) : (_z7j.prototype = _z7h.prototype, new _z7j()); }); defineModule(_z71); Object.defineProperty(_z71, '__esModule', { 'value': !0 }), _z71.ExpeditionEventAreaIconBtn = void 0; var _z7l = _z72(69124), _z7m = _z72(35380), _z7n = function(_z7o) { var _z7p = null; function _z7q(_z7r) { var _z7s = null, _z7t = _z7o.call(this) || this; return _z7t._activated = !1, _z7t._selected = !1, _z7t._onMouseOver = function() { var _z7u = null; _z7t._update(!0); }, _z7t._onMouseOut = function() { var _z7v = null; _z7t._update(!1); }, _z7t._onClick = function() { var _z7w = null; null != _z7t.onClick && _z7t.onClick(_z7t._area_id); }, _z7t._area_id = _z7r, _z7t._light = new PIXI.Sprite(), _z7t.addChild(_z7t._light), _z7t; } return _z75(_z7q, _z7o), Object.defineProperty(_z7q.prototype, 'area_id', { 'get': function() { var _z7x = null; return this._area_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_z7q.prototype, 'selected', { 'get': function() { var _z7y = null; return this._selected; }, 'set': function(_z7z) { var _z80 = null; this._selected = _z7z, 1 == this._selected ? this.deactivate() : this.activate(), this._update(!1); }, 'enumerable': !1, 'configurable': !0 }), _z7q.prototype.initialize = function() { var _z81 = null; this.texture = _z7l.COMMON_EVENT.getTexture(2), this._light.texture = _z7l.COMMON_EVENT.getTexture(3), this._update(!1); }, _z7q.prototype.activate = function() { var _z82 = null; 1 != this._activated && (this._activated = !0, this.interactive = this.buttonMode = !0, this.on(_z7m.EventType.MOUSEOVER, this._onMouseOver), this.on(_z7m.EventType.MOUSEOUT, this._onMouseOut), this.on(_z7m.EventType.CLICK, this._onClick)); }, _z7q.prototype.deactivate = function() { var _z83 = null; this._activated = !1, this.interactive = this.buttonMode = !1, this.off(_z7m.EventType.MOUSEOVER, this._onMouseOver), this.off(_z7m.EventType.MOUSEOUT, this._onMouseOut), this.off(_z7m.EventType.CLICK, this._onClick); }, _z7q.prototype.dispose = function() { var _z84 = null; this._stopTween(), this.deactivate(), this.onClick = null; }, _z7q.prototype._update = function(_z85) { var _z86 = null; this.selected || _z85 ? (this._light.visible = !0, this._stopTween()) : this._startTween(); }, _z7q.prototype._startTween = function() { var _z87 = null; null == this._t && (this._light.alpha = 1, this._t = createjs.Tween.get(this._light, { 'loop': !0 }).to({ 'alpha': 0 }, 700).to({ 'alpha': 1 }, 700)); }, _z7q.prototype._stopTween = function() { var _z88 = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _z7q; }(PIXI.Sprite); _z71.ExpeditionEventAreaIconBtn = _z7n; }, 83135: function(_z89, _z8a, _z8b) { 'use strict'; var _z8c = null; var _z8d, _z8e = this && this.__extends || (_z8d = function(_z8f, _z8g) { var _z8h = null; return _z8d = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_z8i, _z8j) { var _z8k = null; _z8i.__proto__ = _z8j; } || function(_z8l, _z8m) { var _z8n = null; for (var _z8o in _z8m) Object.prototype.hasOwnProperty.call(_z8m, _z8o) && (_z8l[_z8o] = _z8m[_z8o]); }, _z8d(_z8f, _z8g); }, function(_z8p, _z8q) { var _z8r = null; if ('function' != typeof _z8q && null !== _z8q) throw new TypeError('Class extends value ' + String(_z8q) + ' is not a constructor or null'); function _z8s() { var _z8t = null; this.constructor = _z8p; } _z8d(_z8p, _z8q), _z8p.prototype = null === _z8q ? Object.create(_z8q) : (_z8s.prototype = _z8q.prototype, new _z8s()); }), _z8u = this && this.__importDefault || function(_z8v) { var _z8w = null; return _z8v && _z8v.__esModule ? _z8v : { 'default': _z8v }; }; defineModule(_z8a); Object.defineProperty(_z8a, '__esModule', { 'value': !0 }), _z8a.EventLayoutBase = void 0; var _z8x = _z8b(63234), _z8y = _z8b(96709), _z8z = _z8b(31560), _z90 = _z8b(42776), _z91 = _z8b(96231), _z92 = _z8b(34690), _z93 = _z8b(80531), _z94 = _z8u(_z8b(18622)), _z95 = function(_z96) { var _z97 = null; function _z98(_z99, _z9a) { var _z9b = null, _z9c = _z96.call(this, _z99) || this; _z9c._onMouseOver = function(_z9d) { var _z9e = null, _z9f = _z94.default.model.map.getMapMem(_z9d); _z9c._strategy_map.update(_z9f); }, _z9c._onMouseOut = function(_z9g) {}, _z9c._onClickAirBaseMaint = function() { var _z9h = null; new _z92.TaskAirBaseMaint().start(); }; var _z9i = _z8x.SALLY_EVENT.getTexture(0), _z9j = new PIXI.Sprite(_z9i); return _z9j.position.set(182, 207), _z9c.addChild(_z9j), _z9c._strategy_map = new _z8z.StrategyMap(), _z9c._strategy_map.position.set(204, 261), _z9c.addChild(_z9c._strategy_map), _z9c._airunitbtn = new _z90.AirUnitBtn(_z9a), _z9c._airunitbtn.position.set(206, 570), _z9c._airunitbtn.visible = !1, _z9c.addChild(_z9c._airunitbtn), _z9c._airbase_maint_btn = new _z93.AirBaseMaintForEventBtn(), _z9c._airbase_maint_btn.position.set(206, 550), _z9c._airbase_maint_btn.visible = !1, _z9c.addChild(_z9c._airbase_maint_btn), _z9c; } return _z8e(_z98, _z96), _z98.prototype.initialize = function(_z9k) { var _z9l = null; _z96.prototype.initialize.call(this, _z9k), this._strategy_map.update(_z9k[this.offset]), this._airunitbtn.initialize(), this._airbase_maint_btn.initialize(this._onClickAirBaseMaint); }, _z98.prototype.updateAirUnitEnabled = function(_z9m) { var _z9n = null; _z96.prototype.updateAirUnitEnabled.call(this, _z9m), this._airunitbtn.visible = _z9m, this._airbase_maint_btn.visible = _z9m, 1 == _z9m ? (this._airunitbtn.activate(), this._airbase_maint_btn.activate()) : (this._airunitbtn.deactivate(), this._airbase_maint_btn.deactivate()); }, _z98.prototype.updateStrategyMapForce = function(_z9o) { var _z9p = null; this._strategy_map.update(_z9o, !0); }, _z98.prototype.dispose = function() { var _z9q = null; _z96.prototype.dispose.call(this), this._strategy_map.dispose(), this._airunitbtn.dispose(), this._airbase_maint_btn.dispose(), _z91.EventOperationVoice.killVoice(); }, _z98; }(_z8y.LayoutBase); _z8a.EventLayoutBase = _z95; }, 40425: function(_z9r, _z9s, _z9t) { 'use strict'; var _z9u = null; var _z9v, _z9w = this && this.__extends || (_z9v = function(_z9x, _z9y) { var _z9z = null; return _z9v = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_za0, _za1) { var _za2 = null; _za0.__proto__ = _za1; } || function(_za3, _za4) { var _za5 = null; for (var _za6 in _za4) Object.prototype.hasOwnProperty.call(_za4, _za6) && (_za3[_za6] = _za4[_za6]); }, _z9v(_z9x, _z9y); }, function(_za7, _za8) { var _za9 = null; if ('function' != typeof _za8 && null !== _za8) throw new TypeError('Class extends value ' + String(_za8) + ' is not a constructor or null'); function _zaa() { var _zab = null; this.constructor = _za7; } _z9v(_za7, _za8), _za7.prototype = null === _za8 ? Object.create(_za8) : (_zaa.prototype = _za8.prototype, new _zaa()); }); defineModule(_z9s); Object.defineProperty(_z9s, '__esModule', { 'value': !0 }), _z9s.LayoutEventMap1 = void 0; var _zac = _z9t(83135), _zad = _z9t(68434), _zae = function(_zaf) { function _zag(_zah, _zai, _zaj) { var _zak = null, _zal = _zaf.call(this, _zah, _zaj) || this, _zam = new _zad.EventMapThumbnail(1, _zai, _zaj, _zal._onMouseOver, _zal._onMouseOut); return _zam.position.set(501, 207), _zal.addChild(_zam), _zal._maps.push(_zam), _zal; } return _z9w(_zag, _zaf), _zag; }(_zac.EventLayoutBase); _z9s.LayoutEventMap1 = _zae; }, 89901: function(_zan, _zao, _zap) { 'use strict'; var _zaq = null; var _zar, _zas = this && this.__extends || (_zar = function(_zat, _zau) { var _zav = null; return _zar = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_zaw, _zax) { var _zay = null; _zaw.__proto__ = _zax; } || function(_zaz, _zb0) { var _zb1 = null; for (var _zb2 in _zb0) Object.prototype.hasOwnProperty.call(_zb0, _zb2) && (_zaz[_zb2] = _zb0[_zb2]); }, _zar(_zat, _zau); }, function(_zb3, _zb4) { var _zb5 = null; if ('function' != typeof _zb4 && null !== _zb4) throw new TypeError('Class extends value ' + String(_zb4) + ' is not a constructor or null'); function _zb6() { var _zb7 = null; this.constructor = _zb3; } _zar(_zb3, _zb4), _zb3.prototype = null === _zb4 ? Object.create(_zb4) : (_zb6.prototype = _zb4.prototype, new _zb6()); }); defineModule(_zao); Object.defineProperty(_zao, '__esModule', { 'value': !0 }), _zao.LayoutEventMap2 = void 0; var _zb8 = _zap(83135), _zb9 = _zap(68434), _zba = function(_zbb) { function _zbc(_zbd, _zbe, _zbf) { var _zbg = null; for (var _zbh = _zbb.call(this, _zbd, _zbf) || this, _zbi = 0; _zbi < 2; _zbi++) { var _zbj = new _zb9.EventMapThumbnail(2, _zbe, _zbf, _zbh._onMouseOver, _zbh._onMouseOut), _zbk = 207 + 216 * _zbi; _zbj.position.set(501, _zbk), _zbh.addChild(_zbj), _zbh._maps.push(_zbj); } return _zbh; } return _zas(_zbc, _zbb), _zbc; }(_zb8.EventLayoutBase); _zao.LayoutEventMap2 = _zba; }, 96380: (_zbl, _zbm) => { 'use strict'; var _zbn = null; var _zbo, _zbp; defineModule(_zbm); Object.defineProperty(_zbm, '__esModule', { 'value': !0 }), _zbm.ExpeditionState = _zbm.ListType = void 0, function(_zbq) { var _zbr = null; _zbq[_zbq.HEADER = 0] = 'HEADER', _zbq[_zbq.CENTER = 1] = 'CENTER', _zbq[_zbq.FOOTER = 2] = 'FOOTER'; }(_zbo || (_zbm.ListType = _zbo = {})), function(_zbs) { var _zbt = null; _zbs[_zbs.NONE = -1] = 'NONE', _zbs[_zbs.EXPEDITION = 0] = 'EXPEDITION', _zbs[_zbs.COMPLETE_MONTHLY = 1] = 'COMPLETE_MONTHLY', _zbs[_zbs.TIME_OVER_MONTHLY = 2] = 'TIME_OVER_MONTHLY'; }(_zbp || (_zbm.ExpeditionState = _zbp = {})); }, 97694: (_zbu, _zbv) => { 'use strict'; var _zbw = null; defineModule(_zbv); Object.defineProperty(_zbv, '__esModule', { 'value': !0 }), _zbv.shipTypeIdToCategory = _zbv.minuteToFormatHHMM = _zbv.millisecondToFormatHHMM = _zbv.useMaterialToString = void 0, _zbv.useMaterialToString = function(_zbx) { return _zbx <= 0 ? 'なし' : _zbx <= 0.3 ? '少量' : '普通'; }, _zbv.millisecondToFormatHHMM = function(_zby) { var _zbz = null, _zc0 = Math.floor(_zby / 60000 / 60), _zc1 = Math.floor(_zby / 60000 % 60), _zc2 = ''; return _zc0 < 10 && (_zc2 += '0'), _zc2 += '' ['concat'](_zc0, ':'), _zc1 < 10 && (_zc2 += '0'), _zc2 += '' ['concat'](_zc1); }, _zbv.minuteToFormatHHMM = function(_zc3) { var _zc4 = null, _zc5 = Math.floor(_zc3 / 60), _zc6 = Math.floor(_zc3 % 60), _zc7 = ''; return 0 < _zc5 && (_zc7 = '' ['concat'](_zc5, ':'), _zc6 < 10 && (_zc7 += '0')), _zc7 += '' ['concat'](_zc6); }, _zbv.shipTypeIdToCategory = function(_zc8) { var _zc9 = null; switch (_zc8) { case 1: return 5; case 2: return 4; case 3: case 4: return 3; case 5: case 6: return 2; case 7: case 11: case 18: return 1; case 8: case 9: case 12: return 0; case 10: return 8; case 13: case 14: return 6; case 15: case 16: case 17: case 19: case 20: case 22: return 7; case 21: return 9; } throw new Error('UNSUPPORT_TYPE'); }; }, 73198: function(_zca, _zcb, _zcc) { 'use strict'; var _zcd = null; var _zce, _zcf = this && this.__extends || (_zce = function(_zcg, _zch) { var _zci = null; return _zce = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_zcj, _zck) { var _zcl = null; _zcj.__proto__ = _zck; } || function(_zcm, _zcn) { var _zco = null; for (var _zcp in _zcn) Object.prototype.hasOwnProperty.call(_zcn, _zcp) && (_zcm[_zcp] = _zcn[_zcp]); }, _zce(_zcg, _zch); }, function(_zcq, _zcr) { var _zcs = null; if ('function' != typeof _zcr && null !== _zcr) throw new TypeError('Class extends value ' + String(_zcr) + ' is not a constructor or null'); function _zct() { var _zcu = null; this.constructor = _zcq; } _zce(_zcq, _zcr), _zcq.prototype = null === _zcr ? Object.create(_zcr) : (_zct.prototype = _zcr.prototype, new _zct()); }), _zcv = this && this.__importDefault || function(_zcw) { var _zcx = null; return _zcw && _zcw.__esModule ? _zcw : { 'default': _zcw }; }; defineModule(_zcb); Object.defineProperty(_zcb, '__esModule', { 'value': !0 }), _zcb.ExpeditionAPI = void 0; var _zcy = _zcv(_zcc(18622)), _zcz = _zcc(58566), _zd0 = _zcc(14921), _zd1 = function(_zd2) { var _zd3 = null; function _zd4(_zd5) { var _zd6 = null; void 0 === _zd5 && (_zd5 = !1); var _zd7 = _zd2.call(this) || this; return _zd7._url = 'api_get_member/mission', _zd7._debug = _zd5, _zd7; } return _zcf(_zd4, _zd2), _zd4.prototype._completedEnd = function() { var _zd8 = null; _zcy.default.model.expedition.setData(_zd0.ObjUtil.getObjectArray(this._raw_data, 'api_list_items'), _zd0.ObjUtil.getNumArray(this._raw_data, 'api_limit_time')), _zd2.prototype._completedEnd.call(this); }, _zd4; }(_zcz.APIBase); _zcb.ExpeditionAPI = _zd1; }, 35484: function(_zd9, _zda, _zdb) { 'use strict'; var _zdc = null; var _zdd, _zde = this && this.__extends || (_zdd = function(_zdf, _zdg) { var _zdh = null; return _zdd = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_zdi, _zdj) { var _zdk = null; _zdi.__proto__ = _zdj; } || function(_zdl, _zdm) { var _zdn = null; for (var _zdo in _zdm) Object.prototype.hasOwnProperty.call(_zdm, _zdo) && (_zdl[_zdo] = _zdm[_zdo]); }, _zdd(_zdf, _zdg); }, function(_zdp, _zdq) { var _zdr = null; if ('function' != typeof _zdq && null !== _zdq) throw new TypeError('Class extends value ' + String(_zdq) + ' is not a constructor or null'); function _zds() { var _zdt = null; this.constructor = _zdp; } _zdd(_zdp, _zdq), _zdp.prototype = null === _zdq ? Object.create(_zdq) : (_zds.prototype = _zdq.prototype, new _zds()); }), _zdu = this && this.__importDefault || function(_zdv) { var _zdw = null; return _zdv && _zdv.__esModule ? _zdv : { 'default': _zdv }; }; defineModule(_zda); Object.defineProperty(_zda, '__esModule', { 'value': !0 }), _zda.ExpeditionCancelAPI = void 0; var _zdx = _zdu(_zdb(18622)), _zdy = _zdb(58566), _zdz = _zdb(89939), _ze0 = function(_ze1) { var _ze2 = null; function _ze3(_ze4, _ze5) { var _ze6 = null; void 0 === _ze5 && (_ze5 = !1); var _ze7 = _ze1.call(this) || this; return _ze7._url = 'api_req_mission/return_instruction', _ze7._deck_id = _ze4, _ze7._debug = _ze5, _ze7; } return _zde(_ze3, _ze1), _ze3.prototype._connect = function() { var _ze8 = null; this._post_data.api_deck_id = this._deck_id, _ze1.prototype._connect.call(this); }, _ze3.prototype._completedEnd = function() { var _ze9 = null, _zea = _zdx.default.model.deck.get(this._deck_id).expedition, _zeb = _zdz.ObjUtil.getNumArray(this._raw_data, 'api_mission'); null == _zeb || _zea.__update__(_zeb), _ze1.prototype._completedEnd.call(this); }, _ze3; }(_zdy.APIBase); _zda.ExpeditionCancelAPI = _ze0; }, 16243: function(_zec, _zed, _zee) { 'use strict'; var _zef = null; var _zeg, _zeh = this && this.__extends || (_zeg = function(_zei, _zej) { var _zek = null; return _zeg = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_zel, _zem) { var _zen = null; _zel.__proto__ = _zem; } || function(_zeo, _zep) { var _zeq = null; for (var _zer in _zep) Object.prototype.hasOwnProperty.call(_zep, _zer) && (_zeo[_zer] = _zep[_zer]); }, _zeg(_zei, _zej); }, function(_zes, _zet) { var _zeu = null; if ('function' != typeof _zet && null !== _zet) throw new TypeError('Class extends value ' + String(_zet) + ' is not a constructor or null'); function _zev() { var _zew = null; this.constructor = _zes; } _zeg(_zes, _zet), _zes.prototype = null === _zet ? Object.create(_zet) : (_zev.prototype = _zet.prototype, new _zev()); }), _zex = this && this.__importDefault || function(_zey) { var _zez = null; return _zey && _zey.__esModule ? _zey : { 'default': _zey }; }; defineModule(_zed); Object.defineProperty(_zed, '__esModule', { 'value': !0 }), _zed.ExpeditionStartAPI = void 0; var _zf0 = _zex(_zee(18622)), _zf1 = _zee(37562), _zf2 = _zee(14921), _zf3 = function(_zf4) { var _zf5 = null; function _zf6(_zf7, _zf8, _zf9) { var _zfa = null; void 0 === _zf9 && (_zf9 = !1); var _zfb = _zf4.call(this) || this; return _zfb._url = 'api_req_mission/start', _zfb._expedition_id = _zf7, _zfb._deck_id = _zf8, _zfb._debug = _zf9, _zfb._expiredFlag = !1, _zfb; } return _zeh(_zf6, _zf4), Object.defineProperty(_zf6.prototype, 'expiredFlag', { 'get': function() { var _zfc = null; return this._expiredFlag; }, 'enumerable': !1, 'configurable': !0 }), _zf6.prototype._connect = function() { var _zfd = null; this._post_data.api_mission_id = this._expedition_id, this._post_data.api_deck_id = this._deck_id, this._post_data.api_mission = Math.round(100 * Math.random()), this._post_data.api_serial_cid = _zf0.default.model.expedition.getserialID(), _zf4.prototype._connect.call(this); }, _zf6.prototype._completedEnd = function() { var _zfe = null; this._expiredFlag = _zf2.ObjUtil.getBoolean(this._raw_data, 'api_expired_flag'), _zf4.prototype._completedEnd.call(this); }, _zf6; }(_zf1.APIBase); _zed.ExpeditionStartAPI = _zf3; }, 6986: function(_zff, _zfg, _zfh) { 'use strict'; var _zfi = null; var _zfj, _zfk = this && this.__extends || (_zfj = function(_zfl, _zfm) { var _zfn = null; return _zfj = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_zfo, _zfp) { var _zfq = null; _zfo.__proto__ = _zfp; } || function(_zfr, _zfs) { var _zft = null; for (var _zfu in _zfs) Object.prototype.hasOwnProperty.call(_zfs, _zfu) && (_zfr[_zfu] = _zfs[_zfu]); }, _zfj(_zfl, _zfm); }, function(_zfv, _zfw) { var _zfx = null; if ('function' != typeof _zfw && null !== _zfw) throw new TypeError('Class extends value ' + String(_zfw) + ' is not a constructor or null'); function _zfy() { var _zfz = null; this.constructor = _zfv; } _zfj(_zfv, _zfw), _zfv.prototype = null === _zfw ? Object.create(_zfw) : (_zfy.prototype = _zfw.prototype, new _zfy()); }), _zg0 = this && this.__importDefault || function(_zg1) { var _zg2 = null; return _zg1 && _zg1.__esModule ? _zg1 : { 'default': _zg1 }; }; defineModule(_zfg); Object.defineProperty(_zfg, '__esModule', { 'value': !0 }), _zfg.CancelExpeditionTask = void 0; var _zg3 = _zg0(_zfh(18622)), _zg4 = _zfh(81755), _zg5 = _zfh(87475), _zg6 = _zfh(35098), _zg7 = _zfh(35484), _zg8 = _zfh(35380), _zg9 = function(_zga) { var _zgb = null; function _zgc(_zgd) { var _zge = null, _zgf = _zga.call(this) || this; return _zgf._showDialog = function() { var _zgg = null; _zgf._dialog = new _zgh(), _zgf._dialog.alpha = 0, _zgf._dialog.initialize(), _zg3.default.view.overLayer.addChild(_zgf._dialog), createjs.Tween.get(_zgf._dialog).to({ 'alpha': 1 }, 150).call(_zgf._waitClick); }, _zgf._waitClick = function() { var _zgi = null; _zgf._dialog.btn_y.interactive = _zgf._dialog.btn_y.buttonMode = !0, _zgf._dialog.btn_y.once(_zg8.EventType.CLICK, _zgf._onClickYes), _zgf._dialog.btn_n.interactive = _zgf._dialog.btn_n.buttonMode = !0, _zgf._dialog.btn_n.once(_zg8.EventType.CLICK, _zgf._onClickNo); }, _zgf._onClickYes = function() { var _zgj = null; _zgf._deactivate(), new _zg7.ExpeditionCancelAPI(_zgf._deck_id).start(_zgf._hideDialog); }, _zgf._onClickNo = function() { var _zgk = null; _zgf._deactivate(), _zgf._hideDialog(); }, _zgf._hideDialog = function() { var _zgl = null; createjs.Tween.get(_zgf._dialog).to({ 'alpha': 0 }, 150).call(function() { var _zgm = null; _zgf._dialog.parent.removeChild(_zgf._dialog), _zgf._fade.hide(100, function() { var _zgn = null; _zgf._fade.parent.removeChild(_zgf._fade), _zgf._endTask(); }); }); }, _zgf._deck_id = _zgd, _zgf; } return _zfk(_zgc, _zga), _zgc.prototype._start = function() { var _zgo = null; this._fade = new _zg5.FadeBox(0.6), this._fade.hide(), _zg3.default.view.overLayer.addChild(this._fade), this._fade.show(100, this._showDialog); }, _zgc.prototype._deactivate = function() { var _zgp = null; this._dialog.btn_y.interactive = this._dialog.btn_y.buttonMode = !1, this._dialog.btn_y.off(_zg8.EventType.CLICK, this._onClickYes), this._dialog.btn_n.interactive = this._dialog.btn_n.buttonMode = !1, this._dialog.btn_n.off(_zg8.EventType.CLICK, this._onClickNo); }, _zgc.prototype._endTask = function(_zgq) { var _zgr = null; void 0 === _zgq && (_zgq = !1), this._fade = null, this._dialog = null, _zga.prototype._endTask.call(this); }, _zgc; }(_zg4.TaskBase); _zfg.CancelExpeditionTask = _zg9; var _zgh = function(_zgs) { var _zgt = null; function _zgu() { var _zgv = null, _zgw = _zgs.call(this) || this; return _zgw._activated = !1, _zgw; } return _zfk(_zgu, _zgs), Object.defineProperty(_zgu.prototype, 'btn_y', { 'get': function() { var _zgx = null; return this._btn_y; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_zgu.prototype, 'btn_n', { 'get': function() { var _zgy = null; return this._btn_n; }, 'enumerable': !1, 'configurable': !0 }), _zgu.prototype.initialize = function() { var _zgz = null, _zh0 = new PIXI.Sprite(_zg6.SALLY_EXPEDITION.getTexture(111)); this._btn_y = new PIXI.Sprite(_zg6.SALLY_EXPEDITION.getTexture(21)), this._btn_n = new PIXI.Sprite(_zg6.SALLY_EXPEDITION.getTexture(20)), _zh0.position.set(219, 207), this._btn_y.position.set(375, 411), this._btn_n.position.set(645, 411), this.addChild(_zh0), this.addChild(this._btn_y), this.addChild(this._btn_n); }, _zgu; }(PIXI.Container); }, 20045: function(_zh1, _zh2, _zh3) { 'use strict'; var _zh4 = null; var _zh5 = this && this.__importDefault || function(_zh6) { var _zh7 = null; return _zh6 && _zh6.__esModule ? _zh6 : { 'default': _zh6 }; }; defineModule(_zh2); Object.defineProperty(_zh2, '__esModule', { 'value': !0 }), _zh2.ExpeditionCondition = void 0; var _zh8 = _zh5(_zh3(18622)), _zh9 = (function() { var _zha = null; function _zhb() {} return _zhb.prototype.check = function(_zhc, _zhd, _zhe) { var _zhf = null; void 0 === _zhe && (_zhe = !1); var _zhg = _zh8.default.model.expedition.get(_zhc); if (null == _zhg || null == _zhd) return { 'result': !1, 'reason': 0 }; var _zhh = _zhd.getCount(); if (0 == _zhh) return { 'result': !1, 'reason': 31 }; if (_zhh > 6) return { 'result': !1, 'reason': 58 }; if (_zhd.isCombined_Main() || _zhd.isCombined_Sub()) return { 'result': !1, 'reason': 22 }; if (1 == _zhg.reset_type) { var _zhi = _zh8.default.model.expedition.getLimitTime(1), _zhj = Date.now() + 60 * _zhg.time * 1000; if (1 == _zhe || _zhj > 1000 * _zhi) return { 'result': !1, 'reason': 50 }; } var _zhk = _zhd.getShipList(), _zhl = _zhg.isSupport(); if (_zhl) { for (var _zhm = 0, _zhn = 0, _zho = _zhk; _zhn < _zho.length; _zhn++) { null != (_zhp = _zho[_zhn]) && (2 == _zhp.shipTypeID && _zhm++); } if (_zhm < 2) return { 'result': !1, 'reason': 13 }; } if (null != _zhd.expedition) return { 'result': !1, 'reason': 30 }; for (var _zhq = _zh8.default.model.ndock.getShipMemIDs(), _zhr = !1, _zhs = !1, _zht = !0, _zhu = 0, _zhv = _zhk; _zhu < _zhv.length; _zhu++) { var _zhp; null != (_zhp = _zhv[_zhu]) && (_zhq.indexOf(_zhp.memID) >= 0 && (_zhr = !0), (_zhp.fuelNow <= 0 || _zhp.ammoNow <= 0) && (_zhs = !0), (_zhp.fuelNow < _zhp.fuelMax || _zhp.ammoNow < _zhp.ammoMax) && (_zht = !1)); } if (_zhr) return { 'result': !1, 'reason': 1 }; if (_zhl && 0 == _zht) return { 'result': !1, 'reason': 14 }; if (_zhs) return { 'result': !1, 'reason': 2 }; var _zhw = _zhk[0].getDamageType(); return 25 == _zhw || 0 == _zhw ? { 'result': !1, 'reason': 3 } : { 'result': !0, 'reason': 0 }; }, _zhb; }()); _zh2.ExpeditionCondition = _zh9; }, 34015: function(_zhx, _zhy, _zhz) { 'use strict'; var _zi0 = null; var _zi1, _zi2 = this && this.__extends || (_zi1 = function(_zi3, _zi4) { var _zi5 = null; return _zi1 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_zi6, _zi7) { var _zi8 = null; _zi6.__proto__ = _zi7; } || function(_zi9, _zia) { var _zib = null; for (var _zic in _zia) Object.prototype.hasOwnProperty.call(_zia, _zic) && (_zi9[_zic] = _zia[_zic]); }, _zi1(_zi3, _zi4); }, function(_zid, _zie) { var _zif = null; if ('function' != typeof _zie && null !== _zie) throw new TypeError('Class extends value ' + String(_zie) + ' is not a constructor or null'); function _zig() { var _zih = null; this.constructor = _zid; } _zi1(_zid, _zie), _zid.prototype = null === _zie ? Object.create(_zie) : (_zig.prototype = _zie.prototype, new _zig()); }); defineModule(_zhy); Object.defineProperty(_zhy, '__esModule', { 'value': !0 }), _zhy.ContainerDeckSelect = void 0; var _zii = _zhz(85443), _zij = _zhz(80641), _zik = function(_zil) { var _zim = null; function _zin(_zio) { var _zip = null, _ziq = _zil.call(this, _zio) || this; return _ziq._panel = new _zij.PanelDeckSelect(_ziq._onGo), _ziq._panel.position.set(1200, 102), _ziq.addChild(_ziq._panel), _ziq; } return _zi2(_zin, _zil), Object.defineProperty(_zin.prototype, 'panel', { 'get': function() { var _zir = null; return this._panel; }, 'enumerable': !1, 'configurable': !0 }), _zin.prototype.initialize = function(_zis, _zit, _ziu) { var _ziv = null; this._panel.initialize(_zis, _zit, _ziu); }, _zin.prototype.activate = function() { var _ziw = null; _zil.prototype.activate.call(this), this._panel.activate(); }, _zin.prototype.deactivate = function() { var _zix = null; _zil.prototype.deactivate.call(this), this._panel.deactivate(); }, _zin.prototype.dispose = function() { var _ziy = null; _zil.prototype.dispose.call(this), this._panel.dispose(); }, _zin; }(_zii.ContainerDeckSelectBase); _zhy.ContainerDeckSelect = _zik; }, 34389: function(_ziz, _zj0, _zj1) { 'use strict'; var _zj2 = null; var _zj3, _zj4 = this && this.__extends || (_zj3 = function(_zj5, _zj6) { var _zj7 = null; return _zj3 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_zj8, _zj9) { var _zja = null; _zj8.__proto__ = _zj9; } || function(_zjb, _zjc) { var _zjd = null; for (var _zje in _zjc) Object.prototype.hasOwnProperty.call(_zjc, _zje) && (_zjb[_zje] = _zjc[_zje]); }, _zj3(_zj5, _zj6); }, function(_zjf, _zjg) { var _zjh = null; if ('function' != typeof _zjg && null !== _zjg) throw new TypeError('Class extends value ' + String(_zjg) + ' is not a constructor or null'); function _zji() { var _zjj = null; this.constructor = _zjf; } _zj3(_zjf, _zjg), _zjf.prototype = null === _zjg ? Object.create(_zjg) : (_zji.prototype = _zjg.prototype, new _zji()); }); defineModule(_zj0); Object.defineProperty(_zj0, '__esModule', { 'value': !0 }), _zj0.ExpeditionEmptyDetail = _zj0.ExpeditionDetail = void 0; var _zjk = _zj1(48473), _zjl = _zj1(35098), _zjm = _zj1(59505), _zjn = _zj1(43905), _zjo = _zj1(57257), _zjp = _zj1(8744), _zjq = _zj1(35380), _zjr = _zj1(51470), _zjs = _zj1(97694), _zjt = function(_zju) { var _zjv = null; function _zjw() { var _zjx = null, _zjy = _zju.call(this) || this, _zjz = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(14)), _zk0 = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(38)); _zk0.position.set(8, 36); var _zk1 = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(136)); _zk1.position.set(225, 8); var _zk2 = new PIXI.Sprite(); _zk2.position.set(75, 4); var _zk3 = new _zjp.TextBox(27, 4999235, 'bold'); _zk3.position.set(16, 60); var _zk4 = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(39)); _zk4.position.set(8, 95); var _zk5 = new _zjp.TextBox(21, 4999235, 'bold'); _zk5.position.set(18, 119); var _zk6 = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(40)); _zk6.position.set(22, 256); var _zk7 = new _zk8({ 'on': 103, 'off': 104 }); _zk7.position.set(175, 268); var _zk9 = new _zk8({ 'on': 105, 'off': 106 }); _zk9.position.set(265, 268); var _zka = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(41)); _zka.position.set(22, 289); var _zkb = new _zkc({ 'on': 103, 'off': 104 }); _zkb.position.set(175, 301); var _zkd = new _zkc({ 'on': 105, 'off': 106 }); _zkd.position.set(175, 326); var _zke = new _zkc({ 'on': 107, 'off': 108 }); _zke.position.set(265, 301); var _zkf = new _zkc({ 'on': 109, 'off': 110 }); _zkf.position.set(265, 326); var _zkg = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(42)); _zkg.position.set(22, 345); var _zkh = new PIXI.Sprite(); _zkh.position.set(175, 359.5), _zkh.anchor.set(0.5, 0.5); var _zki = new _zjp.TextBox(18, 4999235, 'bold'); _zki.position.set(186, 349); var _zkj = new PIXI.Sprite(); _zkj.position.set(233, 359.5), _zkj.anchor.set(0.5, 0.5); var _zkk = new _zjp.TextBox(18, 4999235, 'bold'); _zkk.position.set(244, 349); var _zkl = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(70)), _zkm = new _zkn(), _zko = new _zkp(), _zkq = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(43)); _zkq.position.set(8, 379); var _zkr = new _zjo.ShipBanner(); _zkr.position.set(10, 405); var _zks = new _zjn.ShipInDeckFlag(); _zks.anchor.set(0.5, 0.5), _zks.scale.set(0.75, 0.75), _zks.position.set(25, 483); var _zkt = new _zjp.TextBox(14, 0); _zkt.position.set(86, 382); var _zku = new _zjp.TextBox(14, 0); _zku.position.set(39, 467); var _zkv = new _zjp.TextBox(14, 0); _zkv.position.set(39, 483); var _zkw = new _zjm.FleetShadow(_zjr.ShadowType.DETAIL); _zkw.position.set(332, 486), _zkw.scale.set(1, 1); var _zkx = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(44)); _zkx.position.set(305, 420), _zkx.anchor.set(0.5, 0.5); var _zky = new _zkz(); _zky.position.x = 305, _zky.position.y = 420; var _zl0 = new _zl1(); _zl0.position.x = 305, _zl0.position.y = 420; var _zl2 = new _zl3(); _zl2.position.x = 305, _zl2.position.y = 420; var _zl4 = new _zjr.ShipShadow(); _zl4.anchor.set(0.5, 0), _zl4.position.set(305, 380), _zkm.position.set(40, 502), _zko.position.set(80, 502), _zkl.position.set(39, 502); var _zl5 = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(19)); _zl5.anchor.set(0, 0.5), _zl5.position.set(40, 20); var _zl6 = new PIXI.Sprite(_zjk.SALLY_COMMON.getTexture(36)); return _zl6.position.set(0, -35), _zl6.addChild(_zl5), _zkm.onClick = function() { var _zl7 = null; return _zjy.onClickStart(_zjy._expedition_mst_id); }, _zko.onClick = function() { var _zl8 = null; return _zjy.onClickCancel(_zjy._expedition_mst_id); }, _zjy.addChild(_zjz), _zjy.addChild(_zk0, _zk3, _zk1, _zk2), _zjy.addChild(_zk4, _zk5), _zjy.addChild(_zk6), _zjy.addChild(_zk7, _zk9), _zjy.addChild(_zka), _zjy.addChild(_zkb, _zke, _zkd, _zkf), _zjy.addChild(_zkg, _zkh, _zki, _zkj, _zkk), _zjy.addChild(_zkq, _zkt, _zku, _zkv), _zjy.addChild(_zkr), _zjy.addChild(_zks), _zjy.addChild(_zkw), _zjy.addChild(_zko), _zjy.addChild(_zkl), _zjy.addChild(_zkm), _zjy.addChild(_zkx), _zjy.addChild(_zl2, _zl0, _zky, _zl4), _zjy.addChild(_zl6), _zjy._textExpeditionDetail = _zk5, _zjy._textExpeditionName = _zk3, _zjy._decisionButton = _zkm, _zjy._stopButton = _zko, _zjy._useAmmo = _zk9, _zjy._useFuel = _zk7, _zjy._rewardFuel = _zkb, _zjy._rewardAmmo = _zkd, _zjy._rewardSteel = _zke, _zjy._rewardBauxite = _zkf, _zjy._rewardItem1Icon = _zkh, _zjy._rewardItem1Text = _zki, _zjy._rewardItem2Icon = _zkj, _zjy._rewardItem2Text = _zkk, _zjy._flagShipBanner = _zkr, _zjy._textDeckName = _zkt, _zjy._textFlagShipName = _zku, _zjy._textFlagShipLevel = _zkv, _zjy._hexClockActive = _zky, _zjy._hexClockCancel = _zl0, _zjy._hexClockComplete = _zl2, _zjy._iconMonthly = _zk1, _zjy._iconDamage = _zk2, _zjy._iconTower = _zkl, _zjy._iconDeck = _zks, _zjy._deckFleetShadow = _zkw, _zjy._flagShipShadow = _zl4, _zjy; } return _zj4(_zjw, _zju), _zjw.prototype._itemIdToTextureId = function(_zl9) { switch (_zl9) { case 0: return -1; case 1: return 84; case 2: return 90; case 3: return 87; case 59: return 94; case 4: return 95; default: return 93; } }, _zjw.prototype.updateMaster = function(_zla, _zlb, _zlc, _zld, _zle, _zlf, _zlg, _zlh, _zli, _zlj, _zlk, _zll, _zlm, _zln, _zlo, _zlp, _zlq) { var _zlr = null; this._useFuel.update(_zlf), this._useAmmo.update(_zlg), this._rewardFuel.update(_zli), this._rewardAmmo.update(_zlj), this._rewardSteel.update(_zlk), this._rewardBauxite.update(_zll); var _zls = function(_zlt) { return 94 == _zlt ? 358 : 95 == _zlt ? 358.5 : 359.5; }; if (0 == _zln) this._rewardItem1Icon.visible = !1, this._rewardItem1Text.visible = !1; else { this._rewardItem1Icon.visible = !0, this._rewardItem1Text.visible = !0; var _zlu = _zls(_zlv = this._itemIdToTextureId(_zlm)); - 1 == _zlv ? this._rewardItem1Icon.texture = PIXI.Texture.EMPTY : (this._rewardItem1Icon.position.y = _zlu, this._rewardItem1Icon.texture = _zjl.SALLY_EXPEDITION.getTexture(_zlv)), this._rewardItem1Text.text = '×' ['concat'](_zln); } if (0 == _zlp) this._rewardItem2Icon.visible = !1, this._rewardItem2Text.visible = !1; else { this._rewardItem2Icon.visible = !0, this._rewardItem2Text.visible = !0; var _zlv; _zlu = _zls(_zlv = this._itemIdToTextureId(_zlo)), (-1 == _zlv ? this._rewardItem2Icon.texture = PIXI.Texture.EMPTY : (this._rewardItem2Icon.position.y = _zlu, this._rewardItem2Icon.texture = _zjl.SALLY_EXPEDITION.getTexture(_zlv)), this._rewardItem2Text.text = '×' ['concat'](_zlp)); } switch (this._iconMonthly.visible = !1, 0 < _zlc && (this._iconMonthly.visible = !0), _zld) { case 1: this._iconDamage.texture = _zjl.SALLY_EXPEDITION.getTexture(68), this._iconDamage.position.set(75, 4), this._iconDamage.visible = !0; break; case 2: this._iconDamage.texture = _zjl.SALLY_EXPEDITION.getTexture(69), this._iconDamage.position.set(62, 7), this._iconDamage.visible = !0; break; default: this._iconDamage.texture = PIXI.Texture.EMPTY, this._iconDamage.visible = !1; } this._textExpeditionDetail.text = _zlh.replace(/
/g, '\x0a'), this._textExpeditionName.text = _zlb, this._cancelable = _zlq, this._expedition_mst_id = _zla, this._useTime = _zle; }, _zjw.prototype.updateMember = function(_zlw, _zlx, _zly, _zlz, _zm0, _zm1, _zm2) { var _zm3 = null; switch (this._flagShipBanner.visible = !1, this._textFlagShipName.visible = !1, this._textFlagShipLevel.visible = !1, this._flagShipShadow.visible = !1, _zm1 && (this._flagShipBanner.updateImage(_zm1.mstID, _zm1.isDamaged()), this._flagShipBanner.updateRing(_zm1.isMarriage()), this._flagShipBanner.updateRibbon(_zm1.ribbon), this._textFlagShipName.text = '旗艦 ['['concat'](_zm1.name, ']'), this._textFlagShipLevel.text = 'Lv.'['concat'](_zm1.level), this._flagShipBanner.visible = !0, this._textFlagShipName.visible = !0, this._textFlagShipLevel.visible = !0, this._flagShipShadow.update(_zm1.shipTypeID, _zjr.ShadowType.DETAIL), this._flagShipShadow.visible = !0), this._textDeckName.visible = !1, _zm0 && (this._textDeckName.text = _zm0, this._textDeckName.visible = !0), this._hexClockActive.visible = !1, this._flagShipShadow.visible = !1, this._hexClockCancel.visible = !1, this._hexClockComplete.visible = !1, _zlw) { case 0: break; case 1: this._hexClockActive.visible = !0, this._flagShipShadow.visible = !0; break; case 2: this._hexClockComplete.visible = !0; break; case 3: this._hexClockCancel.visible = !0, this._flagShipShadow.visible = !0; } if (_zlx) { var _zm4 = 60 * this._useTime * 1000, _zm5 = 1 - (_zlx - Date.now()) / _zm4, _zm6 = Math.floor((1 - _zm5) * _zm4); this._hexClockActive.visible && this._hexClockActive.update(_zm5, _zm6), this._hexClockCancel.visible && this._hexClockCancel.update(_zm5, _zm6); } this._decisionButton.setClickable(_zm2), this._decisionButton.visible = !1, this._iconTower.visible = !1, this._stopButton.visible = !1; var _zm7 = _zlx - Date.now(); switch (_zlw) { case 0: this._decisionButton.visible = !0; break; case 1: var _zm8 = 0 == _zm7 < 0 && this._cancelable; this._stopButton.setClickable(_zm8), this._stopButton.visible = !0, this._iconTower.visible = !0; break; case 2: case 3: this._stopButton.setClickable(!1), this._stopButton.visible = !0, this._iconTower.visible = !0; } this._iconDeck.visible = !1, _zlz && (this._iconDeck.update([_zlz, 0]), this._iconDeck.visible = !0), this._deckFleetShadow.visible = !1, _zly && (this._deckFleetShadow.update(_zly), this._deckFleetShadow.visible = !0), this._completeTime = _zlx, this._deckExpeditionType = _zlw; }, _zjw.prototype.updateInterface = function(_zm9) { var _zma = null, _zmb = 60 * this._useTime * 1000, _zmc = 1 - (this._completeTime - _zm9) / _zmb; switch (_zmc < 0 && (_zmc = 0), 1 <= _zmc && (_zmc = 1, 1 == this._deckExpeditionType && (this._deckExpeditionType = 2), this._stopButton.setClickable(!1)), this._hexClockActive.visible = !1, this._hexClockCancel.visible = !1, this._hexClockComplete.visible = !1, this._deckExpeditionType) { case 0: break; case 1: this._hexClockActive.visible = !0; break; case 2: this._hexClockComplete.visible = !0; break; case 3: this._hexClockCancel.visible = !0; } var _zmd = Math.floor((1 - _zmc) * _zmb); this._hexClockActive.visible && this._hexClockActive.update(_zmc, _zmd), this._hexClockCancel.visible && this._hexClockCancel.update(_zmc, _zmd); }, _zjw.prototype.dispose = function() { var _zme = null; this.removeChildren(), this._useFuel.dispose(), this._useAmmo.dispose(), this._rewardFuel.dispose(), this._rewardAmmo.dispose(), this._rewardSteel.dispose(), this._rewardBauxite.dispose(), this._flagShipBanner.dispose(), this._hexClockActive.dispose(), this._hexClockCancel.dispose(), this._iconMonthly.texture = PIXI.Texture.EMPTY, this._iconDamage.texture = PIXI.Texture.EMPTY, this._decisionButton.dispose(), this._stopButton.dispose(), this._iconTower.texture = PIXI.Texture.EMPTY, this._iconDeck.dispose(), this._deckFleetShadow.dispose(), this._deckFleetShadow = null, this._useFuel = null, this._useAmmo = null, this._rewardFuel = null, this._rewardAmmo = null, this._rewardSteel = null, this._rewardBauxite = null, this._rewardItem1Icon = null, this._rewardItem1Text = null, this._rewardItem2Icon = null, this._rewardItem2Text = null, this._flagShipBanner = null, this._hexClockActive = null, this._hexClockCancel = null, this._iconMonthly = null, this._iconDamage = null, this._decisionButton = null, this._stopButton = null, this._iconTower = null, this._iconDeck = null, this.onClickStart = null, this.onClickCancel = null, this._textExpeditionDetail = null, this._textExpeditionName = null, this._expedition_mst_id = null, this._textFlagShipName = null, this._textFlagShipLevel = null, this._textDeckName = null; }, _zjw; }(PIXI.Container); _zj0.ExpeditionDetail = _zjt; var _zmf = function(_zmg) { var _zmh = null; function _zmi() { var _zmj = null, _zmk = _zmg.call(this) || this, _zml = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(14)), _zmm = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(38)); _zmm.position.set(8, 36); var _zmn = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(39)); _zmn.position.set(8, 95); var _zmo = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(40)); _zmo.position.set(22, 256); var _zmp = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(41)); _zmp.position.set(22, 289); var _zmq = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(42)); _zmq.position.set(22, 345); var _zmr = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(43)); _zmr.position.set(8, 379); var _zms = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(103)), _zmt = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(105)); _zms.anchor.set(0.5, 0.5), _zms.position.set(175, 268), _zmt.anchor.set(0.5, 0.5), _zmt.position.set(265, 268), _zmk.addChild(_zml), _zmk.addChild(_zmm, _zmn, _zmo, _zmp, _zmq, _zmr, _zms, _zmt); var _zmu = new PIXI.Sprite(_zjk.SALLY_COMMON.getTexture(36)), _zmv = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(19)); return _zmk.addChild(_zmu), _zmu.addChild(_zmv), _zmv.anchor.set(0, 0.5), _zmv.position.set(40, 20), _zmu.position.set(0, -35), _zmk.addChild(_zmu), _zmk; } return _zj4(_zmi, _zmg), _zmi.prototype.dispose = function() { var _zmw = null; this.removeChildren(); }, _zmi; }(PIXI.Container); _zj0.ExpeditionEmptyDetail = _zmf; var _zk8 = function(_zmx) { var _zmy = null; function _zmz(_zn0) { var _zn1 = null, _zn2 = _zmx.call(this) || this, _zn3 = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(36)), _zn4 = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(_zn0.on)), _zn5 = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(_zn0.off)), _zn6 = new _zjp.TextBox(16, 4999235, 'bold'); return _zn4.anchor.set(0.5, 0.5), _zn5.anchor.set(0.5, 0.5), _zn6.anchor.set(0.5, 0.5), _zn3.anchor.set(0, 0.5), _zn3.position.x = 18, _zn6.position.set(40, 0.5), _zn2.addChild(_zn3, _zn5, _zn4, _zn6), _zn2._iconOn = _zn4, _zn2._iconOff = _zn5, _zn2._text = _zn6, _zn2; } return _zj4(_zmz, _zmx), _zmz.prototype.dispose = function() { var _zn7 = null; this.removeChildren(), this._iconOn.texture = PIXI.Texture.EMPTY, this._iconOff.texture = PIXI.Texture.EMPTY, this._text.texture = PIXI.Texture.EMPTY, this._iconOn = null, this._iconOff = null, this._text = null; }, _zmz.prototype.update = function(_zn8) { var _zn9 = null; this._iconOn.visible = !1, 0 < _zn8 && (this._iconOn.visible = !0), this._text.text = (0, _zjs.useMaterialToString)(_zn8); }, _zmz; }(PIXI.Container), _zkc = function(_zna) { var _znb = null; function _znc(_znd) { var _zne = null; for (var _znf = _zna.call(this) || this, _zng = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(37)), _znh = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(_znd.on)), _zni = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(_znd.off)), _znj = new Array(), _znk = 0; _znk < 4; _znk++) { (_znl = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(66))).position.y = -1, _znl.anchor.set(0, 0.5), _znj.push(_znl); } _znh.anchor.set(0.5, 0.5), _zni.anchor.set(0.5, 0.5), _zng.anchor.set(0, 0.5), _zng.position.x = 7, _znf._iconOn = _znh, _znf._iconOff = _zni, _znf._dots = _znj, _znf.addChild(_zng, _zni, _znh); var _znm = 21; for (_znk = 0; _znk < _znj.length; _znk++) { var _znl; (_znl = _znj[_znk]).position.x = _znm, _znm = _znm + _znl.width + 3.2, _znf.addChild(_znl); } return _znf; } return _zj4(_znc, _zna), _znc.prototype.dispose = function() { var _znn = null; this.removeChildren(), this._iconOn.texture = PIXI.Texture.EMPTY, this._iconOff.texture = PIXI.Texture.EMPTY, this._dots.forEach(function(_zno) { var _znp = null; return _zno.texture = PIXI.Texture.EMPTY; }), this._dots.length = 0, this._iconOn = null, this._iconOff = null, this._dots = null; }, _znc.prototype.update = function(_znq) { var _znr = null; this._iconOn.visible = !1, 0 < _znq && (this._iconOn.visible = !0); for (var _zns = 0; _zns < this._dots.length; _zns++) { var _znt = this._dots[_zns]; _znt.visible = !1, _zns < _znq && (_znt.visible = !0); } }, _znc; }(PIXI.Container), _zkn = function(_znu) { var _znv = null; function _znw() { var _znx = null, _zny = _znu.call(this) || this; _zny._resourceMap = { 'on': 4, 'over': 6, 'off': 5 }, _zny._onClick = function() { var _znz = null; _zny.onClick(); }, _zny._onOver = function() { var _zo0 = null; _zny._over(); }, _zny._onOut = function() { var _zo1 = null; _zny._on(); }; var _zo2 = _zjk.SALLY_COMMON.getTexture(_zny._resourceMap.off), _zo3 = new PIXI.Sprite(_zo2), _zo4 = new PIXI.Graphics().beginFill(0, 0).drawRect(0, 0, 280, 60).endFill(); return _zny.addChild(_zo3), _zny.addChild(_zo4), _zo4.addListener(_zjq.EventType.CLICK, _zny._onClick), _zo4.addListener(_zjq.EventType.MOUSEOVER, _zny._onOver), _zo4.addListener(_zjq.EventType.MOUSEOUT, _zny._onOut), _zo4.buttonMode = _zo4.interactive = !0, _zny._image = _zo3, _zny._hitArea = _zo4, _zny; } return _zj4(_znw, _znu), _znw.prototype.setClickable = function(_zo5) { var _zo6 = null; _zo5 ? this._on() : this._off(), this._hitArea.visible = _zo5; }, _znw.prototype._over = function() { var _zo7 = null; this._image.texture = _zjk.SALLY_COMMON.getTexture(this._resourceMap.over); }, _znw.prototype._on = function() { var _zo8 = null; this._image.texture = _zjk.SALLY_COMMON.getTexture(this._resourceMap.on); }, _znw.prototype._off = function() { var _zo9 = null; this._image.texture = _zjk.SALLY_COMMON.getTexture(this._resourceMap.off); }, _znw.prototype.dispose = function() { var _zoa = null; this.removeChildren(), this._hitArea.removeAllListeners(_zjq.EventType.CLICK), this._hitArea.removeAllListeners(_zjq.EventType.MOUSEOVER), this._hitArea.removeAllListeners(_zjq.EventType.MOUSEOUT), this._image.texture = PIXI.Texture.EMPTY, this._hitArea = null, this._image = null, this.onClick = this._onClick = null, this._onOver = null, this._onOut = null; }, _znw; }(PIXI.Container), _zkp = function(_zob) { var _zoc = null; function _zod() { var _zoe = null, _zof = _zob.call(this) || this; _zof._resourceMap = { 'off': 26, 'on': 25, 'over': 27 }, _zof._onClick = function() { var _zog = null; _zof.onClick(); }, _zof._onOver = function() { var _zoh = null; 0 != _zof._clickable && _zof._over(); }, _zof._onOut = function() { var _zoi = null; 0 != _zof._clickable && _zof._on(); }; var _zoj = _zjl.SALLY_EXPEDITION.getTexture(_zof._resourceMap.off), _zok = new PIXI.Sprite(_zoj), _zol = new PIXI.Graphics().beginFill(0, 0).drawRect(0, 0, _zoj.width, _zoj.height).endFill(); return _zof.addChild(_zok), _zof.addChild(_zol), _zol.addListener(_zjq.EventType.CLICK, _zof._onClick), _zol.addListener(_zjq.EventType.MOUSEOVER, _zof._onOver), _zol.addListener(_zjq.EventType.MOUSEOUT, _zof._onOut), _zol.buttonMode = _zol.interactive = !0, _zof._image = _zok, _zof._hitArea = _zol, _zof.setClickable(!1), _zof; } return _zj4(_zod, _zob), _zod.prototype.setClickable = function(_zom) { var _zon = null; _zom ? this._on() : this._off(), this._hitArea.interactive = _zom, this._clickable = _zom; }, _zod.prototype._over = function() { var _zoo = null; this._image.texture = _zjl.SALLY_EXPEDITION.getTexture(this._resourceMap.over); }, _zod.prototype._off = function() { var _zop = null; this._image.texture = _zjl.SALLY_EXPEDITION.getTexture(this._resourceMap.off); }, _zod.prototype._on = function() { var _zoq = null; this._image.texture = _zjl.SALLY_EXPEDITION.getTexture(this._resourceMap.on); }, _zod.prototype.dispose = function() { var _zor = null; this.removeChildren(), this._hitArea.removeAllListeners(_zjq.EventType.CLICK), this._hitArea.removeAllListeners(_zjq.EventType.MOUSEOVER), this._hitArea.removeAllListeners(_zjq.EventType.MOUSEOUT), this._image.texture = PIXI.Texture.EMPTY, this.onClick = this._onClick = null, this._onOver = null, this._onOut = null, this._hitArea = null, this._image = null; }, _zod; }(PIXI.Container), _zkz = function(_zos) { var _zot = null; function _zou() { var _zov = null, _zow = _zos.call(this) || this; _zow._yellowMap = { 1: 56, 2: 57, 3: 58, 4: 59, 5: 60, 6: 61 }, _zow._lightMap = { 1: 47, 2: 48, 3: 49, 4: 50, 5: 51, 6: 52 }; for (var _zox = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(44)), _zoy = new Array(), _zoz = 1; _zoz <= 6; _zoz++) { var _zp0 = _zow._yellowMap[_zoz]; (_zp1 = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(_zp0))).anchor.set(0.5, 0.5), _zoy.push(_zp1); } var _zp2 = new Array(); for (_zoz = 1; _zoz <= 6; _zoz++) { var _zp3 = _zow._lightMap[_zoz], _zp4 = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(_zp3)); _zp4.anchor.set(0.5, 0.5), _zp2.push(_zp4); } var _zp5 = new PIXI.Sprite(), _zp6 = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(53)), _zp7 = new PIXI.Text(); _zp7.anchor.set(1, 0.5), _zp7.position.set(22, -11), _zp7.style.fontSize = 22; var _zp8 = new PIXI.Text(); _zp8.anchor.set(0.5, 0), _zp8.position.y = 7, _zp8.style.fontSize = 20; var _zp9 = new PIXI.Text(); _zp9.anchor.set(0.5, 0), _zp9.position.y = 27, _zp9.style.fontSize = 17, _zox.anchor.set(0.5, 0.5), _zp5.anchor.set(0.5, 0.5), _zp6.anchor.set(0.5, 0.5), _zow.addChild(_zox); for (_zoz = 0; _zoz < _zoy.length; _zoz++) { var _zp1 = _zoy[_zoz]; _zow.addChild(_zp1); } for (_zoz = 0; _zoz < _zp2.length; _zoz++) { var _zpa = _zp2[_zoz]; _zpa.position.x = 0.5, _zow.addChild(_zpa); } return _zow.addChild(_zp7, _zp9, _zp8, _zp6), _zow._textProgress = _zp7, _zow._yellows = _zoy, _zow._lights = _zp2, _zow._textLast = _zp8, _zow._textLastSec = _zp9, _zow; } return _zj4(_zou, _zos), _zou.prototype.dispose = function() { var _zpb = null; this.removeChildren(), this._yellows.forEach(function(_zpc) { var _zpd = null; return _zpc.texture = PIXI.Texture.EMPTY; }), this._lights.forEach(function(_zpe) { var _zpf = null; return _zpe.texture = PIXI.Texture.EMPTY; }), this._textProgress = null, this._textLast = null, this._yellows = null, this._lights = null; }, _zou.prototype.update = function(_zpg, _zph) { var _zpi = null, _zpj = Math.floor(_zph % 60000 / 1000); this._updateYellow(1 - _zpj / 60), this._updateGauge(_zpg), this._textProgress.text = Math.floor(100 * _zpg).toString(), this._textLast.text = (0, _zjs.millisecondToFormatHHMM)(_zph); var _zpk = ''; _zpj < 10 && (_zpk += '0'), _zpk += _zpj.toString(), this._textLastSec.text = _zpk.toString(); }, _zou.prototype._updateYellow = function(_zpl) { var _zpm = null; for (var _zpn = Math.floor(6 * _zpl) + 1, _zpo = 0; _zpo < this._yellows.length; _zpo++) { var _zpp = this._yellows[_zpo]; _zpp.visible = !1, _zpo < _zpn && (_zpp.visible = !0); } }, _zou.prototype._updateGauge = function(_zpq) { var _zpr = null; for (var _zps = Math.floor(6 * _zpq) + 1, _zpt = 0; _zpt < this._lights.length; _zpt++) { var _zpu = this._lights[_zpt]; _zpu.visible = !1, _zpt < _zps && (_zpu.visible = !0); } }, _zou; }(PIXI.Container), _zl1 = function(_zpv) { var _zpw = null; function _zpx() { var _zpy = null, _zpz = _zpv.call(this) || this; _zpz._yellowMap = { 1: 56, 2: 57, 3: 58, 4: 59, 5: 60, 6: 61 }; for (var _zq0 = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(46)), _zq1 = new Array(), _zq2 = 1; _zq2 <= 6; _zq2++) { var _zq3 = _zpz._yellowMap[_zq2]; (_zq4 = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(_zq3))).anchor.set(0.5, 0.5), _zq1.push(_zq4); } var _zq5 = new PIXI.Sprite(), _zq6 = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(55)), _zq7 = new PIXI.Text(); _zq7.anchor.set(0.5, 0), _zq7.position.y = 7, _zq7.style.fontSize = 20; var _zq8 = new PIXI.Text(); _zq8.anchor.set(0.5, 0), _zq8.position.y = 27, _zq8.style.fontSize = 17, _zq0.anchor.set(0.5, 0.5), _zq5.anchor.set(0.5, 0.5), _zq6.anchor.set(0.5, 0.5), _zpz.addChild(_zq0); for (_zq2 = 0; _zq2 < _zq1.length; _zq2++) { var _zq4 = _zq1[_zq2]; _zpz.addChild(_zq4); } return _zpz.addChild(_zq8, _zq7, _zq6), _zpz._yellows = _zq1, _zpz._textLast = _zq7, _zpz._textLastSec = _zq8, _zpz; } return _zj4(_zpx, _zpv), _zpx.prototype.dispose = function() { var _zq9 = null; this.removeChildren(), this._yellows.forEach(function(_zqa) { var _zqb = null; return _zqa.texture = PIXI.Texture.EMPTY; }), this._textLast = null, this._yellows = null; }, _zpx.prototype.update = function(_zqc, _zqd) { var _zqe = null; if (1 <= _zqc) this._textLast.text = '', this._textLastSec.text = ''; else { var _zqf = Math.floor(_zqd % 60000 / 1000); this._updateYellow(1 - _zqf / 60), this._textLast.text = (0, _zjs.millisecondToFormatHHMM)(_zqd); var _zqg = ''; _zqf < 10 && (_zqg += '0'), _zqg += _zqf.toString(), this._textLastSec.text = _zqg.toString(); } }, _zpx.prototype._updateYellow = function(_zqh) { var _zqi = null; for (var _zqj = Math.floor(6 * _zqh) + 1, _zqk = 0; _zqk < this._yellows.length; _zqk++) { var _zql = this._yellows[_zqk]; _zql.visible = !1, _zqk < _zqj && (_zql.visible = !0); } }, _zpx; }(PIXI.Container), _zl3 = function(_zqm) { var _zqn = null; function _zqo() { var _zqp = null, _zqq = _zqm.call(this) || this, _zqr = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(45)), _zqs = new PIXI.Sprite(_zjl.SALLY_EXPEDITION.getTexture(54)); return _zqr.anchor.set(0.5, 0.5), _zqs.anchor.set(0.5, 0.5), _zqq.addChild(_zqr), _zqq.addChild(_zqs), _zqq; } return _zj4(_zqo, _zqm), _zqo.prototype.dispose = function() { var _zqt = null; this.removeChildren(); }, _zqo; }(PIXI.Container); }, 63685: function(_zqu, _zqv, _zqw) { 'use strict'; var _zqx = null; var _zqy, _zqz = this && this.__extends || (_zqy = function(_zr0, _zr1) { var _zr2 = null; return _zqy = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_zr3, _zr4) { var _zr5 = null; _zr3.__proto__ = _zr4; } || function(_zr6, _zr7) { var _zr8 = null; for (var _zr9 in _zr7) Object.prototype.hasOwnProperty.call(_zr7, _zr9) && (_zr6[_zr9] = _zr7[_zr9]); }, _zqy(_zr0, _zr1); }, function(_zra, _zrb) { var _zrc = null; if ('function' != typeof _zrb && null !== _zrb) throw new TypeError('Class extends value ' + String(_zrb) + ' is not a constructor or null'); function _zrd() { var _zre = null; this.constructor = _zra; } _zqy(_zra, _zrb), _zra.prototype = null === _zrb ? Object.create(_zrb) : (_zrd.prototype = _zrb.prototype, new _zrd()); }); defineModule(_zqv); Object.defineProperty(_zqv, '__esModule', { 'value': !0 }), _zqv.ExpeditionList = void 0; var _zrf = _zqw(56682), _zrg = _zqw(35098), _zrh = _zqw(48473), _zri = function(_zrj) { var _zrk = null; function _zrl() { var _zrm = null; for (var _zrn = _zrj.call(this) || this, _zro = new Array(), _zrp = 47, _zrq = 0; _zrq < 8; _zrq++) { var _zrr = new _zrf.ExpeditionListItem(); _zrr.x = 8, _zrr.y = _zrp, _zro.push(_zrr), _zrp += 45; } var _zrs = new PIXI.Sprite(_zrg.SALLY_EXPEDITION.getTexture(96)); _zrs.position.y = -1; var _zrt = new PIXI.Sprite(_zrg.SALLY_EXPEDITION.getTexture(18)); _zrt.anchor.set(0, 0.5), _zrt.position.set(40, 20); var _zru = new PIXI.Sprite(_zrh.SALLY_COMMON.getTexture(36)); return _zru.addChild(_zrt), _zru.position.set(-20, -90), _zro.forEach(function(_zrv) { var _zrw = null; _zrn.addChild(_zrv); }), _zrn.addChild(_zrs), _zrn.addChild(_zru), _zrn._listItems = _zro, _zrn; } return _zqz(_zrl, _zrj), Object.defineProperty(_zrl.prototype, 'items', { 'get': function() { var _zrx = null; return this._listItems; }, 'enumerable': !1, 'configurable': !0 }), _zrl.prototype.dispose = function() { var _zry = null; this.removeChildren(), this._listItems.forEach(function(_zrz) { var _zs0 = null; return _zrz.dispose(); }), this._listItems.length = 0, this._listItems = null; }, _zrl; }(PIXI.Container); _zqv.ExpeditionList = _zri; }, 56682: function(_zs1, _zs2, _zs3) { 'use strict'; var _zs4 = null; var _zs5, _zs6 = this && this.__extends || (_zs5 = function(_zs7, _zs8) { var _zs9 = null; return _zs5 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_zsa, _zsb) { var _zsc = null; _zsa.__proto__ = _zsb; } || function(_zsd, _zse) { var _zsf = null; for (var _zsg in _zse) Object.prototype.hasOwnProperty.call(_zse, _zsg) && (_zsd[_zsg] = _zse[_zsg]); }, _zs5(_zs7, _zs8); }, function(_zsh, _zsi) { var _zsj = null; if ('function' != typeof _zsi && null !== _zsi) throw new TypeError('Class extends value ' + String(_zsi) + ' is not a constructor or null'); function _zsk() { var _zsl = null; this.constructor = _zsh; } _zs5(_zsh, _zsi), _zsh.prototype = null === _zsi ? Object.create(_zsi) : (_zsk.prototype = _zsi.prototype, new _zsk()); }), _zsm = this && this.__importDefault || function(_zsn) { var _zso = null; return _zsn && _zsn.__esModule ? _zsn : { 'default': _zsn }; }; defineModule(_zs2); Object.defineProperty(_zs2, '__esModule', { 'value': !0 }), _zs2.ExpeditionListItem = void 0; var _zsp = _zs3(35098), _zsq = _zs3(8744), _zsr = _zs3(43905), _zss = _zs3(7438), _zst = _zs3(35380), _zsu = _zsm(_zs3(18622)), _zsv = _zs3(14921), _zsw = _zs3(59505), _zsx = _zs3(96380), _zsy = _zs3(97694), _zsz = _zs3(51470), _zt0 = function(_zt1) { var _zt2 = null; function _zt3() { var _zt4 = null, _zt5 = _zt1.call(this) || this; _zt5._onClick = function(_zt6) { var _zt7 = null, _zt8 = _zt6.data, _zt9 = _zsu.default.model.basic.member_id, _zta = (0, _zsv.__create_serial_id__)(_zt9, _zt8.global.x, _zt8.global.y); _zsu.default.model.expedition.serial_id = _zta, _zt5.onClick(_zt5._expedition_mst_id); }, _zt5._onOver = function() { var _ztb = null; _zt5._focusOver(); }, _zt5._onOut = function() { var _ztc = null; _zt5._focusOut(); }; var _ztd = new PIXI.Graphics().beginFill(16777215, 0).drawRect(0, 0, 655, 45).endFill(), _zte = new PIXI.Sprite(_zsp.SALLY_EXPEDITION.getTexture(101)), _ztf = new PIXI.Graphics().beginFill(0, 0).drawRect(0, 0, 655, 45).endFill(), _ztg = new _zsq.TextBox(18, 4999235, 'bold'), _zth = new _zsq.TextBox(20, 3768020, 'bold'), _zti = new _zsq.TextBox(14, 4999235, 'bold'), _ztj = new PIXI.Sprite(); _ztj.position.y = -10, _ztj.scale.set(0.75, 0.75); var _ztk = new _zsw.FleetShadow(_zsz.ShadowType.LIST); _ztk.scale.set(1, 1), _ztk.position.set(656, 32), _ztf.interactive = !0, _ztf.buttonMode = !0, _ztf.addListener(_zst.EventType.CLICK, _zt5._onClick), _ztf.addListener(_zst.EventType.MOUSEOVER, _zt5._onOver), _ztf.addListener(_zst.EventType.MOUSEOUT, _zt5._onOut); var _ztl = new PIXI.Sprite(_zsp.SALLY_EXPEDITION.getTexture(98)); _ztl.alpha = 0; var _ztm = new PIXI.Sprite(_zsp.SALLY_EXPEDITION.getTexture(62)), _ztn = new PIXI.Sprite(_zsp.SALLY_EXPEDITION.getTexture(81)), _zto = new _zsr.ShipInDeckFlag(); _ztm.anchor.set(0.5, 0.5), _ztm.position.set(23, 0.5 * _ztd.height), _ztn.anchor.set(0.5, 0.5), _ztn.position.set(23, 0.5 * _ztd.height), _zto.anchor.set(0.5, 0.5), _zto.position.set(23, 0.5 * _ztd.height), _zto.scale.set(0.75, 0.75); var _ztp = new _zsq.TextBox(15, 4999235, 'bold'); _ztp.position.set(42, 0.5 * _ztd.height), _ztp.anchor.set(0, 0.5); var _ztq = new _ztr(); _ztq.position.set(80, 0.5 * _ztd.height); var _zts = new _ztt(); _zts.position.set(67, 0); var _ztu = new _zsq.TextBox(22, 4999235, 'bold'); _ztu.position.set(95, Math.floor(0.5 * _ztd.height)), _ztu.anchor.set(0, 0.5); var _ztv = new PIXI.Graphics(); _ztv.beginFill(16777215, 1), _ztv.drawRect(92, 0, 229, 44), _ztv.endFill(), _ztu.mask = _ztv; var _ztw = new PIXI.Sprite(); _ztw.position.set(294, 0), _ztw.scale.y = 0.96; var _ztx = new _zty({ 'on': 72, 'off': 73 }), _ztz = new _zty({ 'on': 74, 'off': 75 }), _zu0 = new _zty({ 'on': 76, 'off': 77 }), _zu1 = new _zty({ 'on': 78, 'off': 79 }); _ztx.y = _ztz.y = _zu0.y = _zu1.y = 1, _ztx.x = 337, _zu0.x = _ztx.x + _ztx.width + 2, _ztz.x = _zu0.x + _zu0.width + 2, _zu1.x = _ztz.x + _ztz.width + 2; var _zu2 = new _zu3({ 'on': 82, 'off': 83 }), _zu4 = new _zu3({ 'on': 85, 'off': 86 }), _zu5 = new _zu3({ 'on': 88, 'off': 89 }), _zu6 = new _zu3({ 'on': 91, 'off': 92 }); _zu2.position.set(431.5, 9), _zu4.position.set(446, 9.5), _zu5.position.set(429.5, 23), _zu6.position.set(447, 23.5), _ztg.position.set(645, 0.5 * _ztd.height), _ztg.anchor.set(1, 0.5), _zth.style.fill = 3768020, _zth.style.fontSize = 20, _zth.position.set(478, Math.floor(0.5 * _ztd.height) - 0.5), _zth.anchor.set(1, 0.5), _zti.position.set(_zth.position.x, Math.floor(0.5 * _ztd.height)), _zti.anchor.set(0, 0.5); var _zu7 = new _zu8(); return _zu7.position.set(524, 7), _zt5.addChild(_ztd), _zt5.addChild(_zte), _zt5.addChild(_ztl), _zt5.addChild(_ztm, _ztn, _zto), _zt5.addChild(_ztp, _ztu), _zt5.addChild(_ztv), _zt5.addChild(_ztw, _ztg, _zth, _zti, _ztj), _zt5.addChild(_zts), _zt5.addChild(_ztq), _zt5.addChild(_ztx, _ztz, _zu0, _zu1), _zt5.addChild(_zu2, _zu4, _zu5, _zu6), _zt5.addChild(_ztk), _zt5.addChild(_zu7), _zt5.addChild(_ztf), _zt5._textDispNo = _ztp, _zt5._textTime = _ztg, _zt5._textName = _ztu, _zt5._textNameGradMask = _ztw, _zt5._textDeckNumText = _zti, _zt5._hitArea = _ztf, _zt5._focus = _ztl, _zt5._textDeckNum = _zth, _zt5._exampleFleetShadow = _ztk, _zt5._difficulty = _ztq, _zt5._iconDamage = _ztj, _zt5._expeditionStateIcon = _zu7, _zt5._iconDeck = _zto, _zt5._iconClear = _ztm, _zt5._iconNew = _ztn, _zt5._difficultyBG = _zts, _zt5._fuel = _ztx, _zt5._steel = _zu0, _zt5._ammo = _ztz, _zt5._bauxite = _zu1, _zt5._repairKit = _zu2, _zt5._devKit = _zu4, _zt5._buildKit = _zu5, _zt5._otherItem = _zu6, _zt5._grayOut = _zte, _zt5; } return _zs6(_zt3, _zt1), Object.defineProperty(_zt3.prototype, 'expedition_mst_id', { 'get': function() { var _zu9 = null; return this._expedition_mst_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_zt3.prototype, 'expeditionStateIcon', { 'get': function() { var _zua = null; return this._expeditionStateIcon; }, 'enumerable': !1, 'configurable': !0 }), _zt3.prototype._focusOver = function() { var _zub = null; this._focus.alpha = 1, this._textNameGradMask.texture = _zsp.SALLY_EXPEDITION.getTexture(99); }, _zt3.prototype._focusOut = function() { var _zuc = null; this._focus.alpha = 0, this._grayOut.visible ? this._textNameGradMask.texture = _zsp.SALLY_EXPEDITION.getTexture(100) : this._textNameGradMask.texture = _zsp.SALLY_EXPEDITION.getTexture(102); }, _zt3.prototype.updateMaster = function(_zud, _zue, _zuf, _zug, _zuh, _zui, _zuj, _zuk, _zul, _zum, _zun, _zuo, _zup, _zuq, _zur, _zus, _zut) { var _zuu = null; this._fuel.update(_zul), this._ammo.update(_zum), this._steel.update(_zun), this._bauxite.update(_zuo), this._repairKit.update(_zuq), this._buildKit.update(_zup), this._devKit.update(_zur), this._otherItem.update(_zus), this._exampleFleetShadow.update(_zuj), this._difficulty.update(_zug), this._textDeckNumText.text = 6 == _zuk ? '隻遠征' : '隻以上'; var _zuv = 0; switch (_zui) { case 1: this._iconDamage.texture = _zsp.SALLY_EXPEDITION.getTexture(68), this._iconDamage.visible = !0, _zuv = 12; break; case 2: this._iconDamage.texture = _zsp.SALLY_EXPEDITION.getTexture(69), this._iconDamage.visible = !0, _zuv = 20; break; default: this._iconDamage.texture = PIXI.Texture.EMPTY, this._iconDamage.visible = !1; } this._textDispNo.text = _zue, this._textTime.text = (0, _zsy.minuteToFormatHHMM)(_zuh), this._textName.text = _zuf, this._textDeckNum.text = '' ['concat'](_zuk), this._iconDamage.position.x = this._textName.position.x + this._textName.width - _zuv, this._monthly = _zut, this._expedition_mst_id = _zud; }, _zt3.prototype.updateMember = function(_zuw, _zux, _zuy, _zuz) { var _zv0 = null; this._expeditionStateIcon.update(_zsx.ExpeditionState.NONE), this._expeditionStateIcon.visible = !1, this._iconDeck.visible = !1, this._iconNew.visible = !1, this._iconClear.visible = !1, this._grayOut.visible = !1, this._textNameGradMask.texture = _zsp.SALLY_EXPEDITION.getTexture(102), _zux ? (this._iconDeck.update([_zux, 0]), this._expeditionStateIcon.update(_zsx.ExpeditionState.EXPEDITION), this._expeditionStateIcon.visible = !0, this._iconDeck.visible = !0) : 2 == _zuw ? (this._monthly && (this._expeditionStateIcon.update(_zsx.ExpeditionState.COMPLETE_MONTHLY), this._expeditionStateIcon.visible = !0, this._grayOut.visible = !0, this._textNameGradMask.texture = _zsp.SALLY_EXPEDITION.getTexture(100)), this._iconClear.visible = !0) : (0 == _zuw && (this._iconNew.visible = !0), this._monthly && _zuz && (this._expeditionStateIcon.update(_zsx.ExpeditionState.TIME_OVER_MONTHLY), this._expeditionStateIcon.visible = !0, this._grayOut.visible = !0, this._textNameGradMask.texture = _zsp.SALLY_EXPEDITION.getTexture(100))), null != _zuy && this._difficultyBG.update(_zuy); }, _zt3.prototype.dispose = function() { var _zv1 = null; this.removeChildren(), this._hitArea.removeAllListeners(_zst.EventType.CLICK), this._hitArea.removeAllListeners(_zst.EventType.MOUSEOVER), this._hitArea.removeAllListeners(_zst.EventType.MOUSEOUT), this._focus.texture = PIXI.Texture.EMPTY, this._difficulty.dispose(), this._iconDamage.texture = PIXI.Texture.EMPTY, this._iconDeck.dispose(), this._iconClear.texture = PIXI.Texture.EMPTY, this._iconNew.texture = PIXI.Texture.EMPTY, this._fuel.dispose(), this._steel.dispose(), this._ammo.dispose(), this._bauxite.dispose(), this._repairKit.dispose(), this._devKit.dispose(), this._buildKit.dispose(), this._otherItem.dispose(), this._exampleFleetShadow.dispose(), this._grayOut.texture = PIXI.Texture.EMPTY, this.onClick = null, this._textTime = null, this._textName = null, this._textDeckNum = null, this._textDeckNumText = null, this._textNameGradMask = null, this._textDispNo = null, this._hitArea = null, this._focus = null, this._difficulty = null, this._iconDamage = null, this._expeditionStateIcon = null, this._iconDeck = null, this._iconClear = null, this._iconNew = null, this._fuel = null, this._steel = null, this._ammo = null, this._bauxite = null, this._repairKit = null, this._devKit = null, this._buildKit = null, this._otherItem = null, this._exampleFleetShadow = null, this._grayOut = null, this._onClick = null, this._onOver = null, this._onOut = null; }, _zt3.prototype.genEntryDeckAnimation = function(_zv2) { var _zv3 = null, _zv4 = this; return _zss['$_$'].Sequence(function() { var _zv5 = null; return _zss['$_$'].Call(function() { var _zv6 = null; _zv4._iconDeck.update([_zv2, 0]), _zv4._iconDeck.alpha = 0, _zv4._iconDeck.scale.set(1.5, 1.5), _zv4._iconDeck.visible = !0, _zv4._iconClear.visible = !1, _zv4._iconNew.visible = !1; }); }, function() { var _zv7 = null; return _zss['$_$'].Parallel(function() { var _zv8 = null; return _zss['$_$'].Value(_zv4._iconDeck, { 'alpha': 1 }, 400); }, function() { var _zv9 = null; return _zss['$_$'].Value(_zv4._iconDeck.scale, { 'x': 0.75, 'y': 0.75 }, 400); }); }, function() { var _zva = null; return _zss['$_$'].Delay(100); }, function() { var _zvb = null; return _zss['$_$'].Call(function() { var _zvc = null, _zvd = new PIXI.filters.ColorMatrixFilter(); _zvd.matrix = [1, 0, 0, 0.5, 0, 1, 0, 0.5, 0, 0, 1, 0.5, 0, 0, 0, 1], _zv4._iconDeck.filters = [_zvd]; }); }, function() { var _zve = null; return _zss['$_$'].Delay(100); }, function() { var _zvf = null; return _zss['$_$'].Call(function() { var _zvg = null; _zv4._iconDeck.filters = null; }); }); }, _zt3; }(PIXI.Container); _zs2.ExpeditionListItem = _zt0; var _zu3 = function(_zvh) { var _zvi = null; function _zvj(_zvk) { var _zvl = null, _zvm = _zvh.call(this) || this, _zvn = new PIXI.Sprite(_zsp.SALLY_EXPEDITION.getTexture(_zvk.on)), _zvo = new PIXI.Sprite(_zsp.SALLY_EXPEDITION.getTexture(_zvk.off)); return _zvo.anchor.set(0.5, 0.5), _zvn.anchor.set(0.5, 0.5), _zvm.addChild(_zvo, _zvn), _zvm._iconOn = _zvn, _zvm; } return _zs6(_zvj, _zvh), _zvj.prototype.dispose = function() { var _zvp = null; this.removeChildren(), this._iconOn.texture = PIXI.Texture.EMPTY, this._iconOn = null; }, _zvj.prototype.update = function(_zvq) { var _zvr = null; this._iconOn.visible = !1, _zvq && (this._iconOn.visible = !0); }, _zvj; }(PIXI.Container), _zty = function(_zvs) { var _zvt = null; function _zvu(_zvv) { var _zvw = null, _zvx = _zvs.call(this) || this, _zvy = new PIXI.Sprite(_zsp.SALLY_EXPEDITION.getTexture(132)); _zvy.anchor.set(0.5, 0); var _zvz = new PIXI.Sprite(_zsp.SALLY_EXPEDITION.getTexture(_zvv.on)); _zvz.anchor.set(0.5, 0.5), _zvz.scale.set(0.8, 0.8); var _zw0 = new PIXI.Sprite(_zsp.SALLY_EXPEDITION.getTexture(_zvv.off)); _zw0.anchor.set(0.5, 0.5), _zw0.scale.set(0.8, 0.8), _zw0.position.y = _zvz.position.y = 16; var _zw1 = new PIXI.Sprite(_zsp.SALLY_EXPEDITION.getTexture(65)); _zw1.x = 0.5 * -_zw1.width, _zw1.y = 26; for (var _zw2 = _zw1.x, _zw3 = new Array(), _zw4 = 0; _zw4 < 4; _zw4++) { var _zw5 = new PIXI.Sprite(_zsp.SALLY_EXPEDITION.getTexture(64)); _zw5.position.x = _zw2, _zw5.position.y = _zw1.y, _zw3.push(_zw5), _zw2 = _zw5.position.x + _zw5.width + 1; } return _zvx.addChild(_zvy), _zvx.addChild(_zw0), _zvx.addChild(_zvz), _zvx.addChild(_zw1), _zw3.forEach(function(_zw6) { var _zw7 = null; _zvx.addChild(_zw6); }), _zvx._dots = _zw3, _zvx._iconOn = _zvz, _zvx._triangle = _zvy, _zvx; } return _zs6(_zvu, _zvs), _zvu.prototype.dispose = function() { var _zw8 = null; this.removeChildren(), this._dots.forEach(function(_zw9) { var _zwa = null; return _zw9.texture = PIXI.Texture.EMPTY; }), this._iconOn.texture = PIXI.Texture.EMPTY, this._triangle.texture = PIXI.Texture.EMPTY, this._dots = null, this._iconOn = null, this._triangle = null; }, _zvu.prototype.update = function(_zwb) { var _zwc = null; this._iconOn.visible = !1, this._triangle.visible = !1, 0 < _zwb && (this._iconOn.visible = !0, this._triangle.visible = !0); for (var _zwd = 0; _zwd < this._dots.length; _zwd++) { var _zwe = this._dots[_zwd]; _zwe.visible = !1, _zwd < _zwb && (_zwe.visible = !0); } }, _zvu; }(PIXI.Container), _ztr = function(_zwf) { var _zwg = null; function _zwh() { var _zwi = null, _zwj = _zwf.call(this) || this, _zwk = new PIXI.Sprite(); return _zwk.anchor.set(0.5, 0.5), _zwj.addChild(_zwk), _zwj._textDiff = _zwk, _zwj; } return _zs6(_zwh, _zwf), _zwh.prototype.dispose = function() { var _zwl = null; this.removeChildren(), this._textDiff.texture = PIXI.Texture.EMPTY, this._textDiff = null; }, _zwh.prototype.update = function(_zwm) { var _zwn = null, _zwo = this._difficultyToResourceID(_zwm); this._textDiff.texture = _zsp.SALLY_EXPEDITION.getTexture(_zwo), this._textDiff.position.set(0, 0), 35 == _zwo && this._textDiff.position.set(2, 0); }, _zwh.prototype._difficultyToResourceID = function(_zwp) { var _zwq = null; switch (_zwp) { case 0: throw new Error('UNSUPPORT VALUE'); case 1: return 33; case 2: return 32; case 3: return 31; case 4: return 30; case 5: return 29; case 6: case 7: case 8: return 34; } if (9 <= _zwp) return 35; }, _zwh; }(PIXI.Container), _ztt = function(_zwr) { var _zws = null; function _zwt() { var _zwu = null, _zwv = _zwr.call(this) || this, _zww = new PIXI.Sprite(); return _zwv.addChild(_zww), _zwv._bg = _zww, _zwv; } return _zs6(_zwt, _zwr), _zwt.prototype.dispose = function() { var _zwx = null; this.removeChildren(), this._bg.texture = PIXI.Texture.EMPTY, this._bg = null; }, _zwt.prototype.update = function(_zwy) { var _zwz = null; switch (this._bg.y = 0, this._bg.texture = PIXI.Texture.EMPTY, _zwy) { case _zsx.ListType.HEADER: this._bg.texture = _zsp.SALLY_EXPEDITION.getTexture(16), this._bg.y = -9; break; case _zsx.ListType.CENTER: this._bg.texture = _zsp.SALLY_EXPEDITION.getTexture(15), this._bg.y = -2; break; case _zsx.ListType.FOOTER: this._bg.texture = _zsp.SALLY_EXPEDITION.getTexture(17), this._bg.y = -1; } }, _zwt; }(PIXI.Container), _zu8 = function(_zx0) { var _zx1 = null; function _zx2() { var _zx3 = null, _zx4 = _zx0.call(this) || this, _zx5 = new PIXI.Sprite(); return _zx4.addChild(_zx5), _zx4._image = _zx5, _zx4._viewState = _zsx.ExpeditionState.NONE, _zx4; } return _zs6(_zx2, _zx0), Object.defineProperty(_zx2.prototype, 'viewState', { 'get': function() { var _zx6 = null; return this._viewState; }, 'enumerable': !1, 'configurable': !0 }), _zx2.prototype.update = function(_zx7) { var _zx8 = null; switch (this._image.texture = PIXI.Texture.EMPTY, this._viewState = _zx7, _zx7) { case _zsx.ExpeditionState.EXPEDITION: this._image.texture = _zsp.SALLY_EXPEDITION.getTexture(134); break; case _zsx.ExpeditionState.COMPLETE_MONTHLY: this._image.texture = _zsp.SALLY_EXPEDITION.getTexture(133); break; case _zsx.ExpeditionState.TIME_OVER_MONTHLY: this._image.texture = _zsp.SALLY_EXPEDITION.getTexture(135); break; default: this._viewState = _zsx.ExpeditionState.NONE; } }, _zx2; }(PIXI.Container); }, 54138: function(_zx9, _zxa, _zxb) { 'use strict'; var _zxc = null; var _zxd, _zxe = this && this.__extends || (_zxd = function(_zxf, _zxg) { var _zxh = null; return _zxd = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_zxi, _zxj) { var _zxk = null; _zxi.__proto__ = _zxj; } || function(_zxl, _zxm) { var _zxn = null; for (var _zxo in _zxm) Object.prototype.hasOwnProperty.call(_zxm, _zxo) && (_zxl[_zxo] = _zxm[_zxo]); }, _zxd(_zxf, _zxg); }, function(_zxp, _zxq) { var _zxr = null; if ('function' != typeof _zxq && null !== _zxq) throw new TypeError('Class extends value ' + String(_zxq) + ' is not a constructor or null'); function _zxs() { var _zxt = null; this.constructor = _zxp; } _zxd(_zxp, _zxq), _zxp.prototype = null === _zxq ? Object.create(_zxq) : (_zxs.prototype = _zxq.prototype, new _zxs()); }), _zxu = this && this.__importDefault || function(_zxv) { var _zxw = null; return _zxv && _zxv.__esModule ? _zxv : { 'default': _zxv }; }; defineModule(_zxa); Object.defineProperty(_zxa, '__esModule', { 'value': !0 }), _zxa.ExpeditionStage = void 0; var _zxx = _zxb(34389), _zxy = _zxb(48473), _zxz = _zxb(63685), _zy0 = _zxb(35098), _zy1 = _zxb(35837), _zy2 = _zxb(28694), _zy3 = _zxb(35380), _zy4 = _zxb(20922), _zy5 = _zxu(_zxb(18622)), _zy6 = _zxb(71633), _zy7 = function(_zy8) { var _zy9 = null; function _zya(_zyb, _zyc) { var _zyd = null, _zye = _zy8.call(this) || this, _zyf = new Array(), _zyg = 27; [1, 2, 3, 7, 4, 5, 6].forEach(function(_zyh) { var _zyi = null, _zyj = new _zyk(_zyh); _zyf.push(_zyj), _zyj.position.x = _zyg, _zyj.position.y = 510, _zyg = _zyj.position.x + _zyj.width + 4; }), _zye._eventAreaIcon = new _zy4.ExpeditionEventAreaIconBtn(_zy6.EventConst.AREA_ID), _zye._eventAreaIcon.position.set(590, 497); var _zyl = new _zxx.ExpeditionDetail(); _zyl.position.set(694, 0); var _zym = new _zxx.ExpeditionEmptyDetail(); _zym.position.set(694, 0); var _zyn = new PIXI.Sprite(_zxy.SALLY_COMMON.getTexture(14)); _zyn.position.set(-5, 2); var _zyo = new PIXI.Sprite(_zy0.SALLY_EXPEDITION.getTexture(28)), _zyp = new _zxz.ExpeditionList(); _zyp.position.set(10, 55); var _zyq = new PIXI.Sprite(_zy0.SALLY_EXPEDITION.getTexture(97)); _zyq.position.set(37, 468); var _zyr = new _zy1.ArrowButton(); _zyr.scale.set(0.85), _zyr.position.set(300, 75); var _zys = new _zy1.ArrowButton(!0); _zys.scale.set(0.85), _zys.position.set(300, 480); var _zyt = new _zy2.CompSwitchBtns(2, _zyb, _zyc); return (_zyt.position.set(300, 12), _zyt.initialize(), _zye.addChild(_zyn), _zye.addChild(_zyo), _zye.addChild(_zyp), _zye.addChild(_zyq), _zyf.forEach(function(_zyu) { var _zyv = null; _zye.addChild(_zyu); }), _zy6.EventConst.AREA_ID > 0) && (null != _zy5.default.model.map.getArea(_zy6.EventConst.AREA_ID) && (_zye._eventAreaIcon.initialize(), _zye._eventAreaIcon.activate(), _zye.addChild(_zye._eventAreaIcon))), (_zye.addChild(_zyr, _zys), _zye.addChild(_zyt), _zye.addChild(_zyl, _zym), _zye._detail = _zyl, _zye._emptyDetail = _zym, _zye._prevButton = _zyr, _zye._nextButton = _zys, _zye._areaIcons = _zyf, _zye._list = _zyp, _zye._hukidashi = _zyq, _zye._compSwitchBtns = _zyt, _zye); } return _zxe(_zya, _zy8), Object.defineProperty(_zya.prototype, 'list', { 'get': function() { var _zyw = null; return this._list; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_zya.prototype, 'detail', { 'get': function() { var _zyx = null; return this._detail; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_zya.prototype, 'emptyDetail', { 'get': function() { var _zyy = null; return this._emptyDetail; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_zya.prototype, 'areaIcons', { 'get': function() { var _zyz = null; return this._areaIcons; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_zya.prototype, 'eventAreaIcon', { 'get': function() { var _zz0 = null; return this._eventAreaIcon; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_zya.prototype, 'nextButton', { 'get': function() { var _zz1 = null; return this._nextButton; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_zya.prototype, 'prevButton', { 'get': function() { var _zz2 = null; return this._prevButton; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_zya.prototype, 'compSwitch', { 'get': function() { var _zz3 = null; return this._compSwitchBtns; }, 'enumerable': !1, 'configurable': !0 }), _zya.prototype.seekHukidashi = function(_zz4) { var _zz5 = null; this._hukidashi.position.x = _zz4; }, _zya.prototype.dispose = function() { var _zz6 = null; this.removeChildren(), this._detail.dispose(), this._emptyDetail.dispose(), this._list.dispose(), this._areaIcons.forEach(function(_zz7) { var _zz8 = null; return _zz7.dispose(); }), this._areaIcons.length = 0, this._eventAreaIcon.dispose(), this._nextButton.dispose(), this._prevButton.dispose(), this._hukidashi.texture = PIXI.Texture.EMPTY, this._compSwitchBtns.dispose(), this._detail = null, this._emptyDetail = null, this._list = null, this._areaIcons = null, this._nextButton = null, this._prevButton = null, this._hukidashi = null, this._compSwitchBtns = null, this._areaIcons = null, this._eventAreaIcon = null; }, _zya; }(PIXI.Container); _zxa.ExpeditionStage = _zy7; var _zyk = function(_zz9) { var _zza = null; function _zzb(_zzc) { var _zzd = null, _zze = _zz9.call(this) || this; _zze.RESOURCE_MAP = { 1: { 'off': 0, 'on': 1 }, 2: { 'off': 2, 'on': 3 }, 3: { 'off': 4, 'on': 5 }, 4: { 'off': 8, 'on': 9 }, 5: { 'off': 10, 'on': 11 }, 6: { 'off': 12, 'on': 13 }, 7: { 'off': 6, 'on': 7 } }, _zze._focus = !1, _zze._onClick = function() { var _zzf = null; _zze.onClick(_zze._area_mst_id); }, _zze._onOver = function() { var _zzg = null; _zze._focus || _zze._setActive(!0); }, _zze._onOut = function() { var _zzh = null; _zze._focus || _zze._setActive(!1); }; var _zzi = new PIXI.Sprite(), _zzj = new PIXI.Graphics().beginFill(0, 0).drawRect(0, 0, 56, 56).endFill(); return _zzj.addListener(_zy3.EventType.CLICK, _zze._onClick), _zzj.addListener(_zy3.EventType.MOUSEOVER, _zze._onOver), _zzj.addListener(_zy3.EventType.MOUSEOUT, _zze._onOut), _zzj.buttonMode = !0, _zzj.interactive = !0, _zze.addChild(_zzi), _zze.addChild(_zzj), _zze._icon = _zzi, _zze._area_mst_id = _zzc, _zze._resourceMap = _zze.RESOURCE_MAP[_zzc], _zze._hitArea = _zzj, _zze._setActive(!1), _zze._area_mst_id = _zzc, _zze; } return _zxe(_zzb, _zz9), _zzb.prototype.dispose = function() { var _zzk = null; this.removeChildren(), this._hitArea.removeAllListeners(_zy3.EventType.CLICK), this._hitArea.removeAllListeners(_zy3.EventType.MOUSEOUT), this._hitArea.removeAllListeners(_zy3.EventType.MOUSEOVER), this._icon.texture = PIXI.Texture.EMPTY, this._icon.texture = null, this._hitArea = null, this._resourceMap = null, this.onClick = this._onClick = null, this._onOver = null, this._onOut = null; }, Object.defineProperty(_zzb.prototype, 'area_mst_id', { 'get': function() { var _zzl = null; return this._area_mst_id; }, 'enumerable': !1, 'configurable': !0 }), _zzb.prototype._setActive = function(_zzm) { var _zzn = null; _zzm ? this._icon.texture = _zy0.SALLY_EXPEDITION.getTexture(this._resourceMap.on) : (this._icon.texture = _zy0.SALLY_EXPEDITION.getTexture(this._resourceMap.off), this._hitArea.interactive = !0); }, _zzb.prototype.focus = function(_zzo) { var _zzp = null; this._setActive(_zzo); var _zzq = 0 == _zzo; this._hitArea.interactive = _zzq, this._focus = _zzo; }, _zzb; }(PIXI.Container); }, 59505: function(_zzr, _zzs, _zzt) { 'use strict'; var _zzu = null; var _zzv, _zzw = this && this.__extends || (_zzv = function(_zzx, _zzy) { var _zzz = null; return _zzv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1000, _1001) { var _1002 = null; _1000.__proto__ = _1001; } || function(_1003, _1004) { var _1005 = null; for (var _1006 in _1004) Object.prototype.hasOwnProperty.call(_1004, _1006) && (_1003[_1006] = _1004[_1006]); }, _zzv(_zzx, _zzy); }, function(_1007, _1008) { var _1009 = null; if ('function' != typeof _1008 && null !== _1008) throw new TypeError('Class extends value ' + String(_1008) + ' is not a constructor or null'); function _100a() { var _100b = null; this.constructor = _1007; } _zzv(_1007, _1008), _1007.prototype = null === _1008 ? Object.create(_1008) : (_100a.prototype = _1008.prototype, new _100a()); }); defineModule(_zzs); Object.defineProperty(_zzs, '__esModule', { 'value': !0 }), _zzs.FleetShadow = void 0; var _100c = _zzt(51470), _100d = function(_100e) { var _100f = null; function _100g(_100h) { var _100i = null, _100j = _100e.call(this) || this; _100j.IMAGE_WIDTH = 39, _100j.PADDING = 16; var _100k = new PIXI.Container(), _100l = new Array(), _100m = 0; _100j._shadowType = _100h, _100j._shadowType == _100c.ShadowType.DETAIL ? (_100j.IMAGE_WIDTH = 41, _100j.PADDING = 2) : (_100j.IMAGE_WIDTH = 39, _100j.PADDING = 16); for (var _100n = 0; _100n < 6; _100n++) { var _100o = new _100c.ShipShadow(); _100o.position.x = _100m, _100l.push(_100o), _100k.addChild(_100o), _100m += _100j.IMAGE_WIDTH + _100j.PADDING; } return _100j.addChild(_100k), _100j._shipShadows = _100l, _100j._container = _100k, _100j; } return _zzw(_100g, _100e), _100g.prototype.update = function(_100p) { var _100q = null; for (var _100r = 0; _100r < this._shipShadows.length; _100r++) { var _100s = this._shipShadows[_100r]; if (_100s.visible = !1, _100r < _100p.length) { var _100t = _100p[_100r]; _100s.update(_100t, this._shadowType), _100s.visible = !0; } } this._shadowType == _100c.ShadowType.DETAIL ? this._container.x = -_100p.length * this.IMAGE_WIDTH : this._container.x = -_100p.length * (this.IMAGE_WIDTH + this.PADDING); }, _100g.prototype.dispose = function() { var _100u = null; this.removeChildren(), this._container.removeChildren(), this._shipShadows.forEach(function(_100v) { var _100w = null; return _100v.dispose(); }), this._container = null, this._shipShadows = null; }, _100g; }(PIXI.Container); _zzs.FleetShadow = _100d; }, 80641: function(_100x, _100y, _100z) { 'use strict'; var _1010 = null; var _1011, _1012 = this && this.__extends || (_1011 = function(_1013, _1014) { var _1015 = null; return _1011 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1016, _1017) { var _1018 = null; _1016.__proto__ = _1017; } || function(_1019, _101a) { var _101b = null; for (var _101c in _101a) Object.prototype.hasOwnProperty.call(_101a, _101c) && (_1019[_101c] = _101a[_101c]); }, _1011(_1013, _1014); }, function(_101d, _101e) { var _101f = null; if ('function' != typeof _101e && null !== _101e) throw new TypeError('Class extends value ' + String(_101e) + ' is not a constructor or null'); function _101g() { var _101h = null; this.constructor = _101d; } _1011(_101d, _101e), _101d.prototype = null === _101e ? Object.create(_101e) : (_101g.prototype = _101e.prototype, new _101g()); }), _101i = this && this.__importDefault || function(_101j) { var _101k = null; return _101j && _101j.__esModule ? _101j : { 'default': _101j }; }; defineModule(_100y); Object.defineProperty(_100y, '__esModule', { 'value': !0 }), _100y.PanelDeckSelect = void 0; var _101l = _101i(_100z(18622)), _101m = _100z(94341), _101n = _100z(11997), _101o = _100z(48473), _101p = _100z(35098), _101q = _100z(76582), _101r = _100z(74204), _101s = _100z(82680), _101t = _100z(34608), _101u = _100z(10798), _101v = _100z(65790), _101w = _100z(20045), _101x = _100z(4951), _101y = _100z(17570), _101z = _100z(16950), _1020 = _100z(77698), _1021 = _100z(35837), _1022 = _100z(16677), _1023 = function(_1024) { var _1025 = null; function _1026(_1027) { var _1028 = null, _1029 = _1024.call(this) || this; _1029.VIEW_MAX = 6, _1029._onDeckChange = function(_102a) { var _102b = null; _1022.WheelEventUtil.clear(), _1029._update(_102a); }, _1029._onClickBottom = function() { var _102c = null; _1029._exist_ships.length > _1029.VIEW_MAX && _1029._exist_ships.length - _1029.VIEW_MAX > _1029._view_top_index && (_1029._view_top_index += 1, _1029._updateShips(), _1029._arrowTopBtn.visible = !0, _1029._exist_ships.length - _1029.VIEW_MAX <= _1029._view_top_index && (_1029._arrowButtomBtn.visible = !1)); }, _1029._onClickTop = function() { var _102d = null; _1029._exist_ships.length > _1029.VIEW_MAX && _1029._view_top_index > 0 && (_1029._view_top_index -= 1, _1029._updateShips(), _1029._arrowButtomBtn.visible = !0, 0 >= _1029._view_top_index && (_1029._arrowTopBtn.visible = !1)); }, _1029._onWheel = function(_102e) { var _102f = null; 0 != _102e.delta && (_102e.delta > 0 ? (_102e.enabledGuard(), _1029._onClickBottom()) : (_102e.enabledGuard(), _1029._onClickTop())); }, _1029._onGo = function() { var _102g = null; null != _1029._cb_onGo && _1029._cb_onGo(_1029._selected_id, _1029._deck_id); }, _1029._onClickTempSupply = function() { var _102h = null, _102i = _101l.default.model.deck.get(_1029._deck_id).getShipList(); new _101v.TaskTemporarySupply(_102i, _1029._rader, function() { var _102j = null; _1029._update(_1029._deck_id); }).start(); }, _1029._updateShips = function() { var _102k = null; _1029._banners.update(_1029._exist_ships, _1029._view_top_index); for (var _102l = 0; _102l < _1029.VIEW_MAX; _102l++) { var _102m = _1029._view_top_index + _102l, _102n = _1029._exist_ships[_102m]; 0 == _102l && (_1029._flagship_flag.visible = null != _102n && 0 == _1029._view_top_index), _1029._drum_counts[_102l].update(_102n), _1029._support_boats[_102l].update(_102n); } }, _1029._cb_onGo = _1027, _1029._banners = new _101s.PanelDeckSelectBanners(_1029.VIEW_MAX), _1029._banners.position.set(30, 94), _1029._decks = new _101r.CompDeckBtns(_1029._onDeckChange), _1029._decks.position.set(30, 54), _1029._rader = new _101t.RaderCanvas(), _1029._rader.position.set(487, 292), _1029._arrow = new _101q.CompArrow2(), _1029._arrow.position.set(567, 537), _1029._alert = new _101x.AlertBalloon(), _1029._alert.anchor.set(1, 0.5), _1029._alert.position.set(298, 565), _1029._btn = new _101y.BtnGo(_1029._onGo), _1029._btn.position.set(301, 538), _1029._drum_counts = []; for (var _102o = 0; _102o < _1029.VIEW_MAX; _102o++) { var _102p = new _101z.CompDrumCount(); _102p.position.set(33, 136 + 75 * _102o), _1029._drum_counts.push(_102p); } _1029._support_boats = []; for (_102o = 0; _102o < _1029.VIEW_MAX; _102o++) { var _102q = new _1020.CompSupportBoatCount(); _102q.position.set(55, 145 + 75 * _102o), _1029._support_boats.push(_102q); } return _1029._flagship_flag = new PIXI.Sprite(), _1029._flagship_flag.position.set(31, 87), _1029._temp_supply_btn = new _101u.TempSupplyBtn(), _1029._temp_supply_btn.position.set(210, 528), _1029._checker = new _101w.ExpeditionCondition(), _1029.interactive = !0, _1029._expired_flag = !1, _1029._arrowTopBtn = new _1021.ArrowSmallButton(!1), _1029._arrowTopBtn.position.set(-9, 77), _1029._arrowButtomBtn = new _1021.ArrowSmallButton(!0), _1029._arrowButtomBtn.position.set(-9, 497), _1029; } return _1012(_1026, _1024), _1026.prototype.initialize = function(_102r, _102s, _102t) { var _102u = null; this._selected_id = _102r, this._exist_ships = []; var _102v = new PIXI.Sprite(_101o.SALLY_COMMON.getTexture(14)); _102v.position.set(-7, 36), this.addChild(_102v); var _102w = new PIXI.Sprite(_101o.SALLY_COMMON.getTexture(36)); _102w.position.set(0, 0), this.addChild(_102w); var _102x = new PIXI.Sprite(_101o.SALLY_COMMON.getTexture(1)); if (_102x.position.set(24, 10), this.addChild(_102x), this.addChild(this._banners), this._decks.initialize(_102s), this.addChild(this._decks), this._rader.initialize(), this.addChild(this._rader), this._arrow.initialize(), this.addChild(this._arrow), this._alert.initialize(), this.addChild(this._alert), _101l.default.model.deck.exist3rdUnit) { var _102y = new PIXI.Sprite(_101n.COMMON_MISC.getTexture(187)); _102y.position.set(108, 33), this.addChild(_102y); } 1 == _102t && (this._deck_combined_frame = new _101m.CombinedView(), this._deck_combined_frame.position.set(22, 44), this.addChild(this._deck_combined_frame)), this._btn.initialize(), this.addChild(this._btn); for (var _102z = 0, _1030 = this._drum_counts; _102z < _1030.length; _102z++) { var _1031 = _1030[_102z]; _1031.initialize(), this.addChild(_1031); } for (var _1032 = 0, _1033 = this._support_boats; _1032 < _1033.length; _1032++) { var _1034 = _1033[_1032]; _1034.initialize(), this.addChild(_1034); } this._flagship_flag.texture = _101p.SALLY_EXPEDITION.getTexture(71), this.addChild(this._flagship_flag), this._temp_supply_btn.initialize(this._onClickTempSupply), this.addChild(this._temp_supply_btn), this._update(_102s[0]), this.addChild(this._arrowTopBtn), this._arrowTopBtn.initialize(this._onClickTop), this.addChild(this._arrowButtomBtn), this._arrowButtomBtn.initialize(this._onClickBottom); }, _1026.prototype.activate = function() { var _1035 = null; this._decks.activate(), this._arrow.activate(), this._alert.activate(), null != this._deck_combined_frame && this._deck_combined_frame.activate(), this._btn.activate(), this._temp_supply_btn.activate(); }, _1026.prototype.deactivate = function() { var _1036 = null; _1022.WheelEventUtil.clear(), this._decks.deactivate(), this._arrow.deactivate(), null != this._deck_combined_frame && this._deck_combined_frame.deactivate(), this._btn.deactivate(), this._temp_supply_btn.deactivate(), this._arrowButtomBtn.deactivate(), this._arrowButtomBtn.deactivate(); }, _1026.prototype.dispose = function() { var _1037 = null; _1022.WheelEventUtil.clear(), this._banners.dispose(), this._decks.dispose(), this._rader.dispose(), this._arrow.dispose(), null != this._deck_combined_frame && this._deck_combined_frame.dispose(), this._btn.dispose(), this._temp_supply_btn.dispose(), this._checker = null, this._arrowButtomBtn.dispose(), this._arrowButtomBtn = null, this._arrowTopBtn.dispose(), this._arrowTopBtn = null; }, _1026.prototype.expiredUpdate = function(_1038) { var _1039 = null; this._expired_flag = _1038, this._update(this._deck_id); }, _1026.prototype._update = function(_103a) { var _103b = null; this._deck_id = _103a, this._view_top_index = 0; for (var _103c = _101l.default.model.deck.get(_103a), _103d = _103c.getShipListAll(), _103e = this._checker.check(this._selected_id, _103c, this._expired_flag), _103f = !0, _103g = 0; _103g < _103d.length; _103g++) { null != (_103h = _103d[_103g]) && 1 == _103f && (_103h.fuelNow < _103h.fuelMax || _103h.ammoNow < _103h.ammoMax) && (_103f = !1); } this._decks.setSelected(_103a), this._rader.update(_103d), this._arrow.enabled = _103e.result, this._arrow.update(_103f), this._arrow.activate(), this._alert.update(_103e.reason), this._btn.enabled = _103e.result; var _103i = _103c.getShipList(); this._exist_ships = _103i.filter(function(_103j) { return null != _103j; }); for (_103g = 0; _103g < this.VIEW_MAX; _103g++) { var _103h = _103i[_103g]; this._drum_counts[_103g].update(_103h), this._support_boats[_103g].update(_103h); } if (this._flagship_flag.visible = null != _103i[0] && 0 == this._view_top_index, 0 == _101l.default.model.basic.getExtraSupplyExpedition()) this._temp_supply_btn.visible = !1; else { if (_103f) this._temp_supply_btn.visible = !1; else { if (0 != _103e.reason && 2 != _103e.reason && 14 != _103e.reason) this._temp_supply_btn.visible = !1; else { var _103k = 0, _103l = 0; for (_103g = 0; _103g < _103i.length; _103g++) { null != (_103h = _103i[_103g]) && (_103k += _103h.getFuelForSupply(), _103l += _103h.getAmmoForSupply()); } var _103m = _101l.default.model.useItem.getCount(31), _103n = _101l.default.model.useItem.getCount(32), _103o = _103k > 0 && _103k <= _103m, _103p = _103l > 0 && _103l <= _103n; this._temp_supply_btn.enabled = 0 != _103o || 0 != _103p, this._temp_supply_btn.visible = !0; } } } this._banners.update(this._exist_ships, this._view_top_index), this._arrowTopBtn.deactivate(), this._arrowTopBtn.visible = !1, this._arrowButtomBtn.deactivate(), this._arrowButtomBtn.visible = !1, this._exist_ships.length > this.VIEW_MAX && (this._arrowTopBtn.activate(), this._arrowButtomBtn.activate(), this._arrowButtomBtn.visible = !0, _1022.WheelEventUtil.regist(this._onWheel.bind(this))); }, _1026; }(PIXI.Container); _100y.PanelDeckSelect = _1023; }, 51470: function(_103q, _103r, _103s) { 'use strict'; var _103t = null; var _103u, _103v = this && this.__extends || (_103u = function(_103w, _103x) { var _103y = null; return _103u = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_103z, _1040) { var _1041 = null; _103z.__proto__ = _1040; } || function(_1042, _1043) { var _1044 = null; for (var _1045 in _1043) Object.prototype.hasOwnProperty.call(_1043, _1045) && (_1042[_1045] = _1043[_1045]); }, _103u(_103w, _103x); }, function(_1046, _1047) { var _1048 = null; if ('function' != typeof _1047 && null !== _1047) throw new TypeError('Class extends value ' + String(_1047) + ' is not a constructor or null'); function _1049() { var _104a = null; this.constructor = _1046; } _103u(_1046, _1047), _1046.prototype = null === _1047 ? Object.create(_1047) : (_1049.prototype = _1047.prototype, new _1049()); }); defineModule(_103r); Object.defineProperty(_103r, '__esModule', { 'value': !0 }), _103r.ShipShadow = _103r.ShadowType = void 0; var _104b, _104c = _103s(35098), _104d = _103s(97694); ! function(_104e) { var _104f = null; _104e[_104e.LIST = 0] = 'LIST', _104e[_104e.DETAIL = 1] = 'DETAIL'; }(_104b || (_103r.ShadowType = _104b = {})); var _104g = function(_104h) { var _104i = null; function _104j() { var _104k = null; return null !== _104h && _104h.apply(this, arguments) || this; } return _103v(_104j, _104h), _104j.prototype.update = function(_104l, _104m) { var _104n = null, _104o = (0, _104d.shipTypeIdToCategory)(_104l), _104p = this._shipTypeToResourceID(_104o, _104m); this.texture = _104c.SALLY_EXPEDITION.getTexture(_104p); }, _104j.prototype._shipTypeToResourceID = function(_104q, _104r) { var _104s = null; if (_104r == _104b.DETAIL) switch (_104q) { case 0: return 115; case 1: return 117; case 2: return 119; case 3: return 121; case 4: return 123; case 5: return 125; case 6: return 127; case 7: return 129; case 8: return 114; case 9: return 131; } else switch (_104q) { case 0: return 112; case 1: return 116; case 2: return 118; case 3: return 120; case 4: return 122; case 5: return 124; case 6: return 126; case 7: return 128; case 8: return 113; case 9: return 130; } }, _104j.prototype.dispose = function() { var _104t = null; this.texture = PIXI.Texture.EMPTY; }, _104j; }(PIXI.Sprite); _103r.ShipShadow = _104g; }, 5267: function(_104u, _104v, _104w) { 'use strict'; var _104x = null; var _104y, _104z = this && this.__extends || (_104y = function(_1050, _1051) { var _1052 = null; return _104y = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1053, _1054) { var _1055 = null; _1053.__proto__ = _1054; } || function(_1056, _1057) { var _1058 = null; for (var _1059 in _1057) Object.prototype.hasOwnProperty.call(_1057, _1059) && (_1056[_1059] = _1057[_1059]); }, _104y(_1050, _1051); }, function(_105a, _105b) { var _105c = null; if ('function' != typeof _105b && null !== _105b) throw new TypeError('Class extends value ' + String(_105b) + ' is not a constructor or null'); function _105d() { var _105e = null; this.constructor = _105a; } _104y(_105a, _105b), _105a.prototype = null === _105b ? Object.create(_105b) : (_105d.prototype = _105b.prototype, new _105d()); }), _105f = this && this.__importDefault || function(_105g) { var _105h = null; return _105g && _105g.__esModule ? _105g : { 'default': _105g }; }; defineModule(_104v); Object.defineProperty(_104v, '__esModule', { 'value': !0 }), _104v.ViewMain = void 0; var _105i = _105f(_104w(18622)), _105j = _104w(88622), _105k = _104w(54138), _105l = _104w(34015), _105m = _104w(16243), _105n = _104w(67658), _105o = _104w(6986), _105p = _104w(71837), _105q = _104w(96380), _105r = _104w(16677), _105s = function(_105t) { var _105u = null; function _105v(_105w, _105x) { var _105y = null, _105z = _105t.call(this) || this; _105z._deckInfo = {}, _105z._lastFrameUpdateTimeMS = 0, _105z._INTERVAL_UPDATE_TIME = 500, _105z._onClickSallyMenu = function(_1060) { var _1061 = null; _105z._expeditionStage.compSwitch.deactivate(), _105z._switch_func(_1060); }, _105z._onWheel = function(_1062) { var _1063 = null; if (0 != _1062.delta) { var _1064 = _1062.delta > 0 ? _105z._pageSeekIndex + 1 : _105z._pageSeekIndex - 1; 0 > _1064 || _1064 + _105z._expeditionStage.list.items.length > _105z._area_expeditions.length || (_1062.enabledGuard(), _105z._updateList(_1064)); } }, _105z._onGoExpedition = function(_1065, _1066) { var _1067 = null; if (_105z._deckSelect.deactivate(), -1 == _1066) return _105i.default.view.clickGuard = !0, _105z._deckSelect.cancelArea.hide(300), createjs.Tween.get(_105z._expeditionStage.detail).to({ 'x': 694 }, 300), void createjs.Tween.get(_105z._deckSelect.panel).to({ 'x': 1200 }, 300).call(function() { var _1068 = null; _105z.removeChild(_105z._deckSelect), _105z._deckSelect.dispose(), _105z._deckSelect = null, _105i.default.view.clickGuard = !1, _105r.WheelEventUtil.regist(_105z._onWheel); }); _105i.default.view.clickGuard = !0, _105z._callExpeditionStartAPI(_1066, _1065); }; var _1069 = new _105k.ExpeditionStage(_105w, _105z._onClickSallyMenu); return _1069.areaIcons.forEach(function(_106a) { var _106b = null; return _106a.onClick = function(_106c) { var _106d = null; return _105z._onClickArea(_106c); }; }), _1069.eventAreaIcon.onClick = function(_106e) { var _106f = null; return _105z._onClickArea(_106e); }, _1069.list.items.forEach(function(_106g) { var _106h = null; _106g.onClick = function(_106i) { var _106j = null; return _105z._onClickListItem(_106i); }; }), _1069.nextButton.initialize(function() { var _106k = null; _105z._onClickNext(); }), _1069.prevButton.initialize(function() { var _106l = null; _105z._onClickPrev(); }), _1069.detail.onClickStart = function(_106m) { var _106n = null; _105z._onClickStart(_106m); }, _1069.detail.onClickCancel = function(_106o) { var _106p = null; _105z._onClickCancel(_106o); }, _1069.position.set(150, 138), _105z.addChild(_1069), _105z._expeditionStage = _1069, _105z._switch_func = _105x, _105z; } return _104z(_105v, _105t), _105v.prototype.initialize = function() { var _106q = null; this._expeditionStage.interactive = !1, this._expeditionStage.interactiveChildren = !1, this._expeditionStage.list.items.forEach(function(_106r) { var _106s = null; return _106r.visible = !1; }), this._expeditionStage.nextButton.visible = !1, this._expeditionStage.prevButton.visible = !1, this._expeditionStage.detail.visible = !1, this._expeditionStage.emptyDetail.visible = !1, this._updateVerificationTime(Date.now()), this._updateDeckInfo(), this._updateArea(1), this._updateList(0); }, _105v.prototype._updateVerificationTime = function(_106t) { var _106u = null; this._verificationTimeMS = _106t; }, _105v.prototype.activate = function() { var _106v = null; this._expeditionStage.interactive = !0, this._expeditionStage.interactiveChildren = !0, this._expeditionStage.compSwitch.activate(), this._expeditionStage.nextButton.activate(), this._expeditionStage.prevButton.activate(), this._startCycle(), _105r.WheelEventUtil.regist(this._onWheel); }, _105v.prototype.deactivate = function() { var _106w = null; this._expeditionStage.interactive = !1, this._expeditionStage.interactiveChildren = !1, this._deckSelect && this._deckSelect.deactivate(), this._expeditionStage.eventAreaIcon.deactivate(), _105r.WheelEventUtil.clear(); }, _105v.prototype.dispose = function() { var _106x = null; this._stopCycle(), this._deckSelect && (this._deckSelect.dispose(), this._deckSelect = null), this._expeditionStage.dispose(), this._expeditionStage = null, this._area_mst_id = null, this._pageSeekIndex = null, this._requestAnimationFrameID = null, this._switch_func = null, this._deckInfo = null, this._area_expeditions = null, this._lastFrameUpdateTimeMS = null, this._INTERVAL_UPDATE_TIME = null, _105r.WheelEventUtil.clear(); }, _105v.prototype._startCycle = function() { var _106y = null; this._cycle(); }, _105v.prototype._stopCycle = function() { var _106z = null; cancelAnimationFrame(this._requestAnimationFrameID); }, _105v.prototype._cycle = function() { var _1070 = null, _1071 = this; this._requestAnimationFrameID = requestAnimationFrame(function() { var _1072 = null; return _1071._cycle(); }); var _1073 = Date.now(), _1074 = _1073 - this._lastFrameUpdateTimeMS; this._INTERVAL_UPDATE_TIME < _1074 && this._updateTime(_1073); }, _105v.prototype._updateTime = function(_1075) { var _1076 = null; this._expeditionStage.detail && this._expeditionStage.detail.updateInterface(_1075), this._lastFrameUpdateTimeMS = _1075; }, _105v.prototype._genWinItemInfo = function(_1077) { var _1078 = null, _1079 = { 'rewardRepairKit': !1, 'rewardDevKit': !1, 'rewardBuildKit': !1, 'rewardOtherItem': !1 }; return [_1077.item1_id, _1077.item2_id].forEach(function(_107a) { var _107b = null; switch (_107a) { case 0: break; case 1: _1079.rewardRepairKit = !0; break; case 2: _1079.rewardBuildKit = !0; break; case 3: _1079.rewardDevKit = !0; break; default: _1079.rewardOtherItem = !0; } }), _1079; }, _105v.prototype._updateDetail = function(_107c) { var _107d = null, _107e = _105i.default.model.expedition.get(_107c); this._expeditionStage.emptyDetail.visible = !1, this._expeditionStage.detail.visible = !0; var _107f = _107e.win_mat_level, _107g = _107e.isCancelable(); if (this._expeditionStage.detail.updateMaster(_107e.mstID, _107e.name, _107e.reset_type, _107e.damage_type, _107e.time, _107e.fuel, _107e.ammo, _107e.detail, _107f[0], _107f[1], _107f[2], _107f[3], _107e.item1_id, _107e.item1_count, _107e.item2_id, _107e.item2_count, _107g), this._deckInfo[_107c]) { var _107h = this._deckInfo[_107c], _107i = _105i.default.model.deck.get(_107h), _107j = _107i.expedition, _107k = new Array(); _107i.getShipList().forEach(function(_107l) { var _107m = null; _107l && _107k.push(_107l.shipTypeID); }); var _107n = _107i.getShipModel(0); this._expeditionStage.detail.updateMember(_107j.state, _107j.complete_unixtime, _107k, _107h, _107i.name, _107n, !1), this._expeditionStage.detail.updateInterface(Date.now()); } else { var _107o = 0 < _107e.reset_type, _107p = 2 == _107e.state, _107q = this._expeditionStage.list.items.some(function(_107r) { var _107s = null, _107t = _107r.expedition_mst_id == _107c ? _107r.expeditionStateIcon.viewState : _105q.ExpeditionState.NONE; return _105q.ExpeditionState.TIME_OVER_MONTHLY == _107t; }), _107u = !0; _107o && (_107p || _107q) && (_107u = !1), this._expeditionStage.detail.updateMember(0, null, null, null, null, null, _107u); } }, _105v.prototype._updateDeckInfo = function() { var _107v = null; for (var _107w = {}, _107x = _105i.default.model.deck.getAll(), _107y = 0; _107y < _107x.length; _107y++) { var _107z = _107x[_107y]; _107z.expedition && (_107w[_107z.expedition.expedition_id] = _107z.mstID); } this._deckInfo = _107w; }, _105v.prototype._updateList = function(_1080) { var _1081 = null; for (var _1082 = _105i.default.model.expedition.getLimitTime(1), _1083 = this._area_expeditions.slice(_1080, _1080 + this._expeditionStage.list.items.length), _1084 = 0; _1084 < this._expeditionStage.list.items.length; _1084++) { var _1085 = this._expeditionStage.list.items[_1084]; if (_1085.visible = !1, _1084 < _1083.length) { var _1086 = null; _1086 = 0 == _1084 ? _105q.ListType.HEADER : _1084 == this._expeditionStage.list.items.length - 1 ? _105q.ListType.FOOTER : _105q.ListType.CENTER; var _1087 = _1083[_1084], _1088 = _1087.win_mat_level, _1089 = this._genWinItemInfo(_1087), _108a = _1087.sample_fleet.filter(function(_108b) { return 0 != _108b; }), _108c = 0 < _1087.reset_type; _1085.updateMaster(_1087.mstID, _1087.dispID, _1087.name, _1087.difficulty, _1087.time, _1087.damage_type, _108a, _1087.required_num, _1088[0], _1088[1], _1088[2], _1088[3], _1089.rewardBuildKit, _1089.rewardRepairKit, _1089.rewardDevKit, _1089.rewardOtherItem, _108c); var _108d = this._verificationTimeMS + 60 * _1087.time * 1000 > 1000 * _1082; if (this._deckInfo[_1087.mstID]) { var _108e = this._deckInfo[_1087.mstID]; _1085.updateMember(_1087.state, _108e, _1086, _108d); } else _1085.updateMember(_1087.state, null, _1086, _108d); _1085.visible = !0; } } this._expeditionStage.prevButton.visible = !1, 0 < _1080 && (this._expeditionStage.prevButton.visible = !0), this._expeditionStage.nextButton.visible = !1, _1080 + this._expeditionStage.list.items.length < this._area_expeditions.length && (this._expeditionStage.nextButton.visible = !0), this._pageSeekIndex = _1080; }, _105v.prototype._updateArea = function(_108f) { var _108g = null, _108h = this; if (this._area_mst_id != _108f) { this._expeditionStage.detail.visible = !1, this._expeditionStage.emptyDetail.visible = !0, this._expeditionStage.areaIcons.forEach(function(_108i) { var _108j = null, _108k = _108i.area_mst_id == _108f; _108i.focus(_108k), _108k && _108h._expeditionStage.seekHukidashi(_108i.x + 0.5 * _108i.width - 20); }); var _108l = this._expeditionStage.eventAreaIcon.area_id == _108f; this._expeditionStage.eventAreaIcon.selected = _108l, 1 == _108l && this._expeditionStage.seekHukidashi(this._expeditionStage.eventAreaIcon.x + 0.5 * this._expeditionStage.eventAreaIcon.width - 35); } var _108m = _105i.default.model.expedition.getInArea(_108f, !0); this._area_expeditions = _108m, this._area_mst_id = _108f; }, _105v.prototype._onClickListItem = function(_108n) { var _108o = null; this._updateDetail(_108n); }, _105v.prototype._onClickStart = function(_108p) { var _108q = null, _108r = this; _105r.WheelEventUtil.clear(), this._deckSelect = new _105l.ContainerDeckSelect(this._onGoExpedition); var _108s = _105i.default.model.deck.getIDs(), _108t = _108s.indexOf(1); - 1 != _108t && _108s.splice(_108t, 1); var _108u = _105i.default.model.deck.isCombined(); this._deckSelect.initialize(_108p, _108s, _108u), this.addChild(this._deckSelect), this._deckSelect.cancelArea.show(300), createjs.Tween.get(this._expeditionStage.detail.position).to({ 'x': 150 }, 300), createjs.Tween.get(this._deckSelect.panel).to({ 'x': 493 }, 300).call(function() { var _108v = null; _108r._deckSelect.activate(); }); }, _105v.prototype._onClickCancel = function(_108w) { var _108x = null, _108y = this; _105r.WheelEventUtil.clear(); var _108z = this._deckInfo[_108w]; new _105o.CancelExpeditionTask(_108z).start(function() { var _1090 = null; _108y._updateDeckInfo(), _108y._updateList(_108y._pageSeekIndex), _108y._updateDetail(_108w), _105r.WheelEventUtil.regist(_108y._onWheel); }); }, _105v.prototype._onClickArea = function(_1091) { var _1092 = null; this._area_mst_id != _1091 && (this._updateVerificationTime(Date.now()), this._updateArea(_1091), this._updateList(0)); }, _105v.prototype._onClickNext = function() { var _1093 = null; this._updateList(this._pageSeekIndex + 1); }, _105v.prototype._onClickPrev = function() { var _1094 = null; this._updateList(this._pageSeekIndex - 1); }, _105v.prototype._callExpeditionStartAPI = function(_1095, _1096) { var _1097 = null, _1098 = this, _1099 = new _105m.ExpeditionStartAPI(_1096, _1095); _1099.start(function() { var _109a = null; _1099.expiredFlag ? (_1098._deckSelect.panel.expiredUpdate(_1099.expiredFlag), _105i.default.view.clickGuard = !1, _1098._deckSelect.activate()) : _1098._callDeckAPI(_1095, _1096); }); }, _105v.prototype._callDeckAPI = function(_109b, _109c) { var _109d = null, _109e = this, _109f = _105i.default.model.deck.get(_109b).getShipModel(0).mstID; _105i.default.sound.voice.play(_109f.toString(), 26), new _105n.DeckAPI().start(function() { var _109g = null, _109h = _105i.default.model.expedition.get(_109c); 0 == _109h.state && _109h.__setState__(1), _109e._closeAnimationDeckInfo(_109b, _109c); }); }, _105v.prototype._closeAnimationDeckInfo = function(_109i, _109j) { var _109k = null, _109l = this; this._deckSelect.cancelArea.hide(300), createjs.Tween.get(this._expeditionStage.detail).to({ 'x': 694 }, 300), createjs.Tween.get(this._deckSelect.panel).to({ 'x': 1200 }, 300).call(function() { var _109m = null; _109l.removeChild(_109l._deckSelect), _109l._deckSelect.dispose(), _109l._deckSelect = null, _109l._entryAnimationDeck(_109i, _109j); }); }, _105v.prototype._entryAnimationDeck = function(_109n, _109o) { var _109p = null; for (var _109q, _109r = this, _109s = 0; _109s < this._expeditionStage.list.items.length; _109s++) { var _109t = this._expeditionStage.list.items[_109s]; if (_109t.expedition_mst_id == _109o) { _109q = _109t; break; } } if (null != _109q) { var _109u = _109q.genEntryDeckAnimation(_109n); _109u.execute(function() { var _109v = null; _109u.dispose(), _109r._updateStartExpeditionInfo(_109n, _109o); }); } else this._updateStartExpeditionInfo(_109n, _109o); }, _105v.prototype._updateStartExpeditionInfo = function(_109w, _109x) { var _109y = null; this._updateDeckInfo(), this._updateList(this._pageSeekIndex), this._updateDetail(_109x), this._showAnimationExpeditionStart(_109w); }, _105v.prototype._showAnimationExpeditionStart = function(_109z) { var _10a0 = null, _10a1 = this, _10a2 = _105i.default.model.deck.get(_109z); new _105p.TaskExpeditionStartCutin(_10a2.mstID).start(function() { var _10a3 = null; _105i.default.view.clickGuard = !1, _105r.WheelEventUtil.regist(_10a1._onWheel); }); }, _105v; }(_105j.ViewMainBase); _104v.ViewMain = _105s; }, 17570: function(_10a4, _10a5, _10a6) { 'use strict'; var _10a7 = null; var _10a8, _10a9 = this && this.__extends || (_10a8 = function(_10aa, _10ab) { var _10ac = null; return _10a8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_10ad, _10ae) { var _10af = null; _10ad.__proto__ = _10ae; } || function(_10ag, _10ah) { var _10ai = null; for (var _10aj in _10ah) Object.prototype.hasOwnProperty.call(_10ah, _10aj) && (_10ag[_10aj] = _10ah[_10aj]); }, _10a8(_10aa, _10ab); }, function(_10ak, _10al) { var _10am = null; if ('function' != typeof _10al && null !== _10al) throw new TypeError('Class extends value ' + String(_10al) + ' is not a constructor or null'); function _10an() { var _10ao = null; this.constructor = _10ak; } _10a8(_10ak, _10al), _10ak.prototype = null === _10al ? Object.create(_10al) : (_10an.prototype = _10al.prototype, new _10an()); }); defineModule(_10a5); Object.defineProperty(_10a5, '__esModule', { 'value': !0 }), _10a5.BtnGo = void 0; var _10ap = _10a6(35098), _10aq = function(_10ar) { var _10as = null; function _10at(_10au) { var _10av = null; return _10ar.call(this, _10au) || this; } return _10a9(_10at, _10ar), _10at.prototype._updateTexture = function() { var _10aw = null; 0 == this._enabled ? this._btn.texture = _10ap.SALLY_EXPEDITION.getTexture(23) : 1 == this._overed ? this._btn.texture = _10ap.SALLY_EXPEDITION.getTexture(24) : this._btn.texture = _10ap.SALLY_EXPEDITION.getTexture(22); }, _10at; }(_10a6(18819).BtnGoBase); _10a5.BtnGo = _10aq; }, 16950: function(_10ax, _10ay, _10az) { 'use strict'; var _10b0 = null; var _10b1, _10b2 = this && this.__extends || (_10b1 = function(_10b3, _10b4) { var _10b5 = null; return _10b1 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_10b6, _10b7) { var _10b8 = null; _10b6.__proto__ = _10b7; } || function(_10b9, _10ba) { var _10bb = null; for (var _10bc in _10ba) Object.prototype.hasOwnProperty.call(_10ba, _10bc) && (_10b9[_10bc] = _10ba[_10bc]); }, _10b1(_10b3, _10b4); }, function(_10bd, _10be) { var _10bf = null; if ('function' != typeof _10be && null !== _10be) throw new TypeError('Class extends value ' + String(_10be) + ' is not a constructor or null'); function _10bg() { var _10bh = null; this.constructor = _10bd; } _10b1(_10bd, _10be), _10bd.prototype = null === _10be ? Object.create(_10be) : (_10bg.prototype = _10be.prototype, new _10bg()); }); defineModule(_10ay); Object.defineProperty(_10ay, '__esModule', { 'value': !0 }), _10ay.CompDrumCount = void 0; var _10bi = _10az(12508), _10bj = _10az(35098), _10bk = function(_10bl) { var _10bm = null; function _10bn() { var _10bo = null, _10bp = _10bl.call(this) || this; _10bp._drums = []; for (var _10bq = 0; _10bq < 4; _10bq++) { var _10br = new PIXI.Sprite(); _10br.x = [0, -19, 0, -19][_10bq], _10br.y = [0, 0, -27, -27][_10bq], _10br.visible = !1, _10bp._drums.push(_10br), _10bp.addChild(_10br); } return _10bp; } return _10b2(_10bn, _10bl), _10bn.prototype.initialize = function() { var _10bs = null; this.update(0); for (var _10bt = 0, _10bu = this._drums; _10bt < _10bu.length; _10bt++) { _10bu[_10bt].texture = _10bj.SALLY_EXPEDITION.getTexture(67); } }, _10bn.prototype.update = function(_10bv) { var _10bw = null; _10bv instanceof _10bi.ShipModel ? this._updateFromShipModel(_10bv) : this._update(_10bv); }, _10bn.prototype._updateFromShipModel = function(_10bx) { var _10by = null; for (var _10bz = 0, _10c0 = 0, _10c1 = _10bx.getSlotitems(); _10c0 < _10c1.length; _10c0++) { var _10c2 = _10c1[_10c0]; null != _10c2 && (75 == _10c2.mstID && _10bz++); } var _10c3 = _10bx.getSlotitemEx(); null != _10c3 && 75 == _10c3.mstID && _10bz++, this._update(_10bz); }, _10bn.prototype._update = function(_10c4) { var _10c5 = null; for (var _10c6 = 0; _10c6 < this._drums.length; _10c6++) this._drums[_10c6].visible = _10c6 < _10c4; }, _10bn; }(PIXI.Container); _10ay.CompDrumCount = _10bk; }, 77698: function(_10c7, _10c8, _10c9) { 'use strict'; var _10ca = null; var _10cb, _10cc = this && this.__extends || (_10cb = function(_10cd, _10ce) { var _10cf = null; return _10cb = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_10cg, _10ch) { var _10ci = null; _10cg.__proto__ = _10ch; } || function(_10cj, _10ck) { var _10cl = null; for (var _10cm in _10ck) Object.prototype.hasOwnProperty.call(_10ck, _10cm) && (_10cj[_10cm] = _10ck[_10cm]); }, _10cb(_10cd, _10ce); }, function(_10cn, _10co) { var _10cp = null; if ('function' != typeof _10co && null !== _10co) throw new TypeError('Class extends value ' + String(_10co) + ' is not a constructor or null'); function _10cq() { var _10cr = null; this.constructor = _10cn; } _10cb(_10cn, _10co), _10cn.prototype = null === _10co ? Object.create(_10co) : (_10cq.prototype = _10co.prototype, new _10cq()); }); defineModule(_10c8); Object.defineProperty(_10c8, '__esModule', { 'value': !0 }), _10c8.CompSupportBoatCount = void 0; var _10cs = _10c9(51805), _10ct = _10c9(35098), _10cu = function(_10cv) { var _10cw = null; function _10cx() { var _10cy = null, _10cz = _10cv.call(this) || this; _10cz._icons = []; for (var _10d0 = 0; _10d0 < 4; _10d0++) { var _10d1 = new PIXI.Sprite(); _10d1.x = [0, 0, 49, 49][_10d0], _10d1.y = [0, -15, 0, -15][_10d0], _10cz.addChild(_10d1), _10cz._icons.push(_10d1); } return _10cz; } return _10cc(_10cx, _10cv), _10cx.prototype.initialize = function() { var _10d2 = null; for (var _10d3 = 0; _10d3 < this._icons.length; _10d3++) { this._icons[_10d3].visible = !1; } }, _10cx.prototype.update = function(_10d4) { var _10d5 = null, _10d6 = []; if (null != _10d4) for (var _10d7 = _10d4.getSlotitems(), _10d8 = 0, _10d9 = _10d7 = _10d7.concat(_10d4.getSlotitemEx()); _10d8 < _10d9.length; _10d8++) { var _10da = _10d9[_10d8]; if (null != _10da) { var _10db = _10da.equipType; if (_10db == _10cs.EquipType._24_JOURIKUYOU_SHUTEI) 355 != _10da.mstID && _10d6.push(_10da); else _10db == _10cs.EquipType._46_TOKUGATA_UCHIBITEI && _10d6.push(_10da); } } this._update(_10d6); }, _10cx.prototype._update = function(_10dc) { var _10dd = null; for (var _10de = 0; _10de < this._icons.length; _10de++) { var _10df = this._icons[_10de]; if (_10de >= _10dc.length) _10df.visible = !1; else { var _10dg = _10dc[_10de].equipType; _10dg == _10cs.EquipType._24_JOURIKUYOU_SHUTEI ? _10df.texture = _10ct.SALLY_EXPEDITION.getTexture(63) : _10dg == _10cs.EquipType._46_TOKUGATA_UCHIBITEI && (_10df.texture = _10ct.SALLY_EXPEDITION.getTexture(80)), _10df.visible = !0; } } }, _10cx; }(PIXI.Container); _10c8.CompSupportBoatCount = _10cu; }, 24821: function(_10dh, _10di, _10dj) { 'use strict'; var _10dk = null; var _10dl, _10dm = this && this.__extends || (_10dl = function(_10dn, _10do) { var _10dp = null; return _10dl = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_10dq, _10dr) { var _10ds = null; _10dq.__proto__ = _10dr; } || function(_10dt, _10du) { var _10dv = null; for (var _10dw in _10du) Object.prototype.hasOwnProperty.call(_10du, _10dw) && (_10dt[_10dw] = _10du[_10dw]); }, _10dl(_10dn, _10do); }, function(_10dx, _10dy) { var _10dz = null; if ('function' != typeof _10dy && null !== _10dy) throw new TypeError('Class extends value ' + String(_10dy) + ' is not a constructor or null'); function _10e0() { var _10e1 = null; this.constructor = _10dx; } _10dl(_10dx, _10dy), _10dx.prototype = null === _10dy ? Object.create(_10dy) : (_10e0.prototype = _10dy.prototype, new _10e0()); }); defineModule(_10di); Object.defineProperty(_10di, '__esModule', { 'value': !0 }), _10di.ChangeMatchingAPIResultModel = _10di.ChangeMatchingAPI = void 0; var _10e2 = _10dj(58566), _10e3 = _10dj(89939), _10e4 = function(_10e5) { var _10e6 = null; function _10e7(_10e8, _10e9) { var _10ea = null; void 0 === _10e9 && (_10e9 = !1); var _10eb = _10e5.call(this) || this; return _10eb._url = 'api_req_practice/change_matching_kind', _10eb._selected_type = _10e8, _10eb._res_model = new _10ec(), _10eb._debug = _10e9, _10eb; } return _10dm(_10e7, _10e5), Object.defineProperty(_10e7.prototype, 'res_model', { 'get': function() { var _10ed = null; return this._res_model; }, 'enumerable': !1, 'configurable': !0 }), _10e7.prototype._connect = function() { var _10ee = null; this._post_data.api_selected_kind = this._selected_type, _10e5.prototype._connect.call(this); }, _10e7.prototype._completedEnd = function() { var _10ef = null; this._res_model.setData(this._raw_data), _10e5.prototype._completedEnd.call(this); }, _10e7; }(_10e2.APIBase); _10di.ChangeMatchingAPI = _10e4; var _10ec = (function() { var _10eg = null; function _10eh() {} return _10eh.prototype.setData = function(_10ei) { this._o = _10ei; }, _10eh.prototype.isSucceed = function() { var _10ej = null; return 1 == _10e3.ObjUtil.getNumber(this._o, 'api_update_flag'); }, _10eh; }()); _10di.ChangeMatchingAPIResultModel = _10ec; }, 14997: function(_10ek, _10el, _10em) { 'use strict'; var _10en = null; var _10eo, _10ep = this && this.__extends || (_10eo = function(_10eq, _10er) { var _10es = null; return _10eo = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_10et, _10eu) { var _10ev = null; _10et.__proto__ = _10eu; } || function(_10ew, _10ex) { var _10ey = null; for (var _10ez in _10ex) Object.prototype.hasOwnProperty.call(_10ex, _10ez) && (_10ew[_10ez] = _10ex[_10ez]); }, _10eo(_10eq, _10er); }, function(_10f0, _10f1) { var _10f2 = null; if ('function' != typeof _10f1 && null !== _10f1) throw new TypeError('Class extends value ' + String(_10f1) + ' is not a constructor or null'); function _10f3() { var _10f4 = null; this.constructor = _10f0; } _10eo(_10f0, _10f1), _10f0.prototype = null === _10f1 ? Object.create(_10f1) : (_10f3.prototype = _10f1.prototype, new _10f3()); }); defineModule(_10el); Object.defineProperty(_10el, '__esModule', { 'value': !0 }), _10el.PracticeAPI = void 0; var _10f5 = _10em(58566), _10f6 = _10em(80539), _10f7 = function(_10f8) { var _10f9 = null; function _10fa(_10fb) { var _10fc = null; void 0 === _10fb && (_10fb = !1); var _10fd = _10f8.call(this) || this; return _10fd._url = 'api_get_member/practice', _10fd._res_model = new _10f6.PracticeAPIModel(), _10fd._debug = _10fb, _10fd; } return _10ep(_10fa, _10f8), Object.defineProperty(_10fa.prototype, 'res_model', { 'get': function() { var _10fe = null; return this._res_model; }, 'enumerable': !1, 'configurable': !0 }), _10fa.prototype._completedEnd = function() { var _10ff = null; this._res_model.setData(this._raw_data), _10f8.prototype._completedEnd.call(this); }, _10fa; }(_10f5.APIBase); _10el.PracticeAPI = _10f7; }, 25481: function(_10fg, _10fh, _10fi) { 'use strict'; var _10fj = null; var _10fk, _10fl = this && this.__extends || (_10fk = function(_10fm, _10fn) { var _10fo = null; return _10fk = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_10fp, _10fq) { var _10fr = null; _10fp.__proto__ = _10fq; } || function(_10fs, _10ft) { var _10fu = null; for (var _10fv in _10ft) Object.prototype.hasOwnProperty.call(_10ft, _10fv) && (_10fs[_10fv] = _10ft[_10fv]); }, _10fk(_10fm, _10fn); }, function(_10fw, _10fx) { var _10fy = null; if ('function' != typeof _10fx && null !== _10fx) throw new TypeError('Class extends value ' + String(_10fx) + ' is not a constructor or null'); function _10fz() { var _10g0 = null; this.constructor = _10fw; } _10fk(_10fw, _10fx), _10fw.prototype = null === _10fx ? Object.create(_10fx) : (_10fz.prototype = _10fx.prototype, new _10fz()); }), _10g1 = this && this.__importDefault || function(_10g2) { var _10g3 = null; return _10g2 && _10g2.__esModule ? _10g2 : { 'default': _10g2 }; }; defineModule(_10fh); Object.defineProperty(_10fh, '__esModule', { 'value': !0 }), _10fh.RivalShipModel = _10fh.RivalDetailAPIResultModel = _10fh.RivalDetailAPI = void 0; var _10g4 = _10g1(_10fi(18622)), _10g5 = _10fi(58566), _10g6 = _10fi(89939), _10g7 = _10fi(92547), _10g8 = function(_10g9) { var _10ga = null; function _10gb(_10gc, _10gd, _10ge, _10gf) { var _10gg = null; void 0 === _10gf && (_10gf = !1); var _10gh = _10g9.call(this) || this; return _10gh._url = 'api_req_member/get_practice_enemyinfo', _10gh._rival_id = _10gc, _10gh._flag_type = _10gd, _10gh._medal_num = _10ge, _10gh._res_model = new _10gi(), _10gh._debug = _10gf, _10gh; } return _10fl(_10gb, _10g9), Object.defineProperty(_10gb.prototype, 'res_model', { 'get': function() { var _10gj = null; return this._res_model; }, 'enumerable': !1, 'configurable': !0 }), _10gb.prototype._connect = function() { var _10gk = null; this._post_data.api_member_id = this._rival_id, _10g9.prototype._connect.call(this); }, _10gb.prototype._completedEnd = function() { var _10gl = null; this._res_model.setData(this._rival_id, this._raw_data, this._flag_type, this._medal_num), _10g9.prototype._completedEnd.call(this); }, _10gb; }(_10g5.APIBase); _10fh.RivalDetailAPI = _10g8; var _10gi = (function() { var _10gm = null; function _10gn() {} return Object.defineProperty(_10gn.prototype, 'id', { 'get': function() { var _10go = null; return this._id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10gn.prototype, 'flag_type', { 'get': function() { var _10gp = null; return this._flag_type; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10gn.prototype, 'medal_num', { 'get': function() { var _10gq = null; return this._medal_num; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10gn.prototype, 'name', { 'get': function() { var _10gr = null; return _10g6.ObjUtil.getString(this._o, 'api_nickname'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10gn.prototype, 'level', { 'get': function() { var _10gs = null; return _10g6.ObjUtil.getNumber(this._o, 'api_level'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10gn.prototype, 'rank', { 'get': function() { var _10gt = null; return _10g6.ObjUtil.getNumber(this._o, 'api_rank'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10gn.prototype, 'rank_name', { 'get': function() { var _10gu = null; return _10g7.RANK_NAME[this.rank]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10gn.prototype, 'exp_now', { 'get': function() { var _10gv = null, _10gw = _10g6.ObjUtil.getStrArray(this._o, 'api_experience'); return null != _10gw && _10gw.length > 0 ? _10gw[0] : ''; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10gn.prototype, 'exp_next', { 'get': function() { var _10gx = null, _10gy = _10g6.ObjUtil.getStrArray(this._o, 'api_experience'); return null != _10gy && _10gy.length > 1 ? _10gy[1] : ''; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10gn.prototype, 'comment', { 'get': function() { var _10gz = null; return _10g6.ObjUtil.getString(this._o, 'api_cmt'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10gn.prototype, 'friend_num', { 'get': function() { var _10h0 = null; return _10g6.ObjUtil.getNumber(this._o, 'api_friend'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10gn.prototype, 'ship_nums', { 'get': function() { var _10h1 = null, _10h2 = _10g6.ObjUtil.getNumArray(this._o, 'api_ship'); return null != _10h2 && _10h2.length > 1 ? [_10h2[0], _10h2[1]] : [0, 0]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10gn.prototype, 'slot_nums', { 'get': function() { var _10h3 = null, _10h4 = _10g6.ObjUtil.getNumArray(this._o, 'api_slotitem'); return null != _10h4 && _10h4.length > 1 ? [_10h4[0], _10h4[1] + 3] : [0, 0]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10gn.prototype, 'furniture_num', { 'get': function() { var _10h5 = null; return _10g6.ObjUtil.getNumber(this._o, 'api_furniture'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10gn.prototype, 'deck_name', { 'get': function() { var _10h6 = null; return _10g6.ObjUtil.getString(this._o, 'api_deckname'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10gn.prototype, 'ships', { 'get': function() { var _10h7 = null; return this._ships; }, 'enumerable': !1, 'configurable': !0 }), _10gn.prototype.setData = function(_10h8, _10h9, _10ha, _10hb) { var _10hc = null; this._id = _10h8, this._o = _10h9, this._flag_type = _10ha, this._medal_num = _10hb, this._ships = new Array(); var _10hd = _10g6.ObjUtil.getObject(_10h9, 'api_deck'); if (null != _10hd) for (var _10he = 0, _10hf = _10g6.ObjUtil.getObjectArray(_10hd, 'api_ships'); _10he < _10hf.length; _10he++) { var _10hg = _10hf[_10he], _10hh = new _10hi(_10hg); 1 == _10hh.isValid() ? this._ships.push(_10hh) : this._ships.push(null); } for (; this._ships.length < 6;) this._ships.push(null); }, _10gn; }()); _10fh.RivalDetailAPIResultModel = _10gi; var _10hi = (function() { var _10hj = null; function _10hk(_10hl) { this._o = _10hl; } return Object.defineProperty(_10hk.prototype, 'id', { 'get': function() { var _10hm = null; return _10g6.ObjUtil.getNumber(this._o, 'api_ship_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10hk.prototype, 'name', { 'get': function() { var _10hn = null, _10ho = _10g4.default.model.ship.getMst(this.id); return null == _10ho ? '' : _10ho.name; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10hk.prototype, 'level', { 'get': function() { var _10hp = null; return _10g6.ObjUtil.getNumber(this._o, 'api_level'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10hk.prototype, 'star', { 'get': function() { var _10hq = null; return _10g6.ObjUtil.getNumber(this._o, 'api_star'); }, 'enumerable': !1, 'configurable': !0 }), _10hk.prototype.isValid = function() { var _10hr = null; return this._mem_id > 0; }, Object.defineProperty(_10hk.prototype, '_mem_id', { 'get': function() { var _10hs = null; return _10g6.ObjUtil.getNumber(this._o, 'api_id'); }, 'enumerable': !1, 'configurable': !0 }), _10hk; }()); _10fh.RivalShipModel = _10hi; }, 80539: (_10ht, _10hu, _10hv) => { 'use strict'; var _10hw = null; defineModule(_10hu); Object.defineProperty(_10hu, '__esModule', { 'value': !0 }), _10hu.RivalModel = _10hu.PracticeAPIModel = void 0; var _10hx = _10hv(89939), _10hy = (function() { var _10hz = null; function _10i0() {} return Object.defineProperty(_10i0.prototype, 'matching_type', { 'get': function() { var _10i1 = null; return _10hx.ObjUtil.getNumber(this._o, 'api_create_kind', 2); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10i0.prototype, 'matching_type_next', { 'get': function() { var _10i2 = null; return _10hx.ObjUtil.getNumber(this._o, 'api_selected_kind', 2); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10i0.prototype, 'rivals', { 'get': function() { var _10i3 = null; return this._rivals; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10i0.prototype, 'remain_time', { 'get': function() { var _10i4 = null; return _10hx.ObjUtil.getNumber(this._o, 'api_entry_limit', 0); }, 'enumerable': !1, 'configurable': !0 }), _10i0.prototype.setData = function(_10i5) { var _10i6 = null; this._o = _10i5, this._rivals = new Array(); var _10i7 = _10hx.ObjUtil.getObjectArray(this._o, 'api_list'); if (null == _10i7) this._rivals = []; else for (var _10i8 = 0, _10i9 = _10i7; _10i8 < _10i9.length; _10i8++) { var _10ia = _10i9[_10i8], _10ib = new _10ic(_10ia); this._rivals.push(_10ib); } }, _10i0; }()); _10hu.PracticeAPIModel = _10hy; var _10ic = (function() { var _10id = null; function _10ie(_10if) { this._o = _10if; } return Object.defineProperty(_10ie.prototype, 'id', { 'get': function() { var _10ig = null; return _10hx.ObjUtil.getNumber(this._o, 'api_enemy_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10ie.prototype, 'name', { 'get': function() { var _10ih = null; return _10hx.ObjUtil.getString(this._o, 'api_enemy_name'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10ie.prototype, 'level', { 'get': function() { var _10ii = null; return _10hx.ObjUtil.getNumber(this._o, 'api_enemy_level'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10ie.prototype, 'rank_name', { 'get': function() { var _10ij = null; return _10hx.ObjUtil.getString(this._o, 'api_enemy_rank'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10ie.prototype, 'flag', { 'get': function() { var _10ik = null; return _10hx.ObjUtil.getNumber(this._o, 'api_enemy_flag'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10ie.prototype, 'flagShipMstID', { 'get': function() { var _10il = null; return _10hx.ObjUtil.getNumber(this._o, 'api_enemy_flag_ship'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10ie.prototype, 'comment', { 'get': function() { var _10im = null; return _10hx.ObjUtil.getString(this._o, 'api_enemy_comment'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10ie.prototype, 'state', { 'get': function() { var _10in = null; return _10hx.ObjUtil.getNumber(this._o, 'api_state'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10ie.prototype, 'medal_num', { 'get': function() { var _10io = null; return _10hx.ObjUtil.getNumber(this._o, 'api_medals'); }, 'enumerable': !1, 'configurable': !0 }), _10ie.prototype.isNoBattle = function() { var _10ip = null; return 0 == this.state; }, _10ie; }()); _10hu.RivalModel = _10ic; }, 36049: function(_10iq, _10ir, _10is) { 'use strict'; var _10it = null; var _10iu, _10iv = this && this.__extends || (_10iu = function(_10iw, _10ix) { var _10iy = null; return _10iu = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_10iz, _10j0) { var _10j1 = null; _10iz.__proto__ = _10j0; } || function(_10j2, _10j3) { var _10j4 = null; for (var _10j5 in _10j3) Object.prototype.hasOwnProperty.call(_10j3, _10j5) && (_10j2[_10j5] = _10j3[_10j5]); }, _10iu(_10iw, _10ix); }, function(_10j6, _10j7) { var _10j8 = null; if ('function' != typeof _10j7 && null !== _10j7) throw new TypeError('Class extends value ' + String(_10j7) + ' is not a constructor or null'); function _10j9() { var _10ja = null; this.constructor = _10j6; } _10iu(_10j6, _10j7), _10j6.prototype = null === _10j7 ? Object.create(_10j7) : (_10j9.prototype = _10j7.prototype, new _10j9()); }); defineModule(_10ir); Object.defineProperty(_10ir, '__esModule', { 'value': !0 }), _10ir.TaskChangeMatching = void 0; var _10jb = _10is(81755), _10jc = _10is(24821), _10jd = function(_10je) { var _10jf = null; function _10jg(_10jh, _10ji) { var _10jj = null, _10jk = _10je.call(this) || this; return _10jk._selected_type = _10jh, _10jk._view = _10ji, _10jk; } return _10iv(_10jg, _10je), _10jg.prototype._start = function() { var _10jl = null, _10jm = this, _10jn = new _10jc.ChangeMatchingAPI(this._selected_type); _10jn.start(function() { var _10jo = null; _10jm._view.updateMatchingState(_10jn.res_model.isSucceed(), _10jm._selected_type), _10jm._endTask(); }); }, _10jg; }(_10jb.TaskBase); _10ir.TaskChangeMatching = _10jd; }, 83065: function(_10jp, _10jq, _10jr) { 'use strict'; var _10js = null; var _10jt, _10ju = this && this.__extends || (_10jt = function(_10jv, _10jw) { var _10jx = null; return _10jt = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_10jy, _10jz) { var _10k0 = null; _10jy.__proto__ = _10jz; } || function(_10k1, _10k2) { var _10k3 = null; for (var _10k4 in _10k2) Object.prototype.hasOwnProperty.call(_10k2, _10k4) && (_10k1[_10k4] = _10k2[_10k4]); }, _10jt(_10jv, _10jw); }, function(_10k5, _10k6) { var _10k7 = null; if ('function' != typeof _10k6 && null !== _10k6) throw new TypeError('Class extends value ' + String(_10k6) + ' is not a constructor or null'); function _10k8() { var _10k9 = null; this.constructor = _10k5; } _10jt(_10k5, _10k6), _10k5.prototype = null === _10k6 ? Object.create(_10k6) : (_10k8.prototype = _10k6.prototype, new _10k8()); }), _10ka = this && this.__importDefault || function(_10kb) { var _10kc = null; return _10kb && _10kb.__esModule ? _10kb : { 'default': _10kb }; }; defineModule(_10jq); Object.defineProperty(_10jq, '__esModule', { 'value': !0 }), _10jq.TaskDetailInfo = void 0; var _10kd = _10ka(_10jr(18622)), _10ke = _10jr(81755), _10kf = _10jr(87475), _10kg = _10jr(25481), _10kh = _10jr(29231), _10ki = function(_10kj) { var _10kk = null; function _10kl(_10km, _10kn, _10ko) { var _10kp = null, _10kq = _10kj.call(this) || this; return _10kq._hideDetailInfo = function() { var _10kr = null; _10kq._detail.deactivate(), createjs.Tween.get(_10kq._detail).to({ 'alpha': 0 }, 300), createjs.Tween.get(_10kq._fade).wait(100).to({ 'alpha': 0 }, 300).call(function() { var _10ks = null; _10kq._detail.dispose(), _10kd.default.view.overLayer.removeChild(_10kq._fade); }); }, _10kq._rival_id = _10km, _10kq._flag_type = _10kn, _10kq._medal_num = _10ko, _10kq; } return _10ju(_10kl, _10kj), _10kl.prototype._start = function() { var _10kt = null; this._showFade(); }, _10kl.prototype._showFade = function() { var _10ku = null; this._fade = new _10kf.FadeBox(1), this._fade.hide(0), _10kd.default.view.overLayer.addChild(this._fade), this._fade.show(300), this._connectAPI(); }, _10kl.prototype._connectAPI = function() { var _10kv = null, _10kw = this, _10kx = new _10kg.RivalDetailAPI(this._rival_id, this._flag_type, this._medal_num); _10kx.start(function() { var _10ky = null; _10kw._showDetailInfo(_10kx.res_model); }); }, _10kl.prototype._showDetailInfo = function(_10kz) { var _10l0 = null, _10l1 = this; this._detail = new _10kh.ContainerOverlay(); var _10l2 = _10kd.default.model.deck.getIDs(), _10l3 = _10kd.default.model.deck.isCombined(); this._detail.initialize(_10l2, _10l3), this._detail.update(_10kz), this._detail.alpha = 0, this._fade.addChild(this._detail), createjs.Tween.get(this._detail).to({ 'alpha': 1 }, 300).call(function() { var _10l4 = null; _10l1._detail.once('close', _10l1._hideDetailInfo), _10l1._detail.activate(); }); }, _10kl; }(_10ke.TaskBase); _10jq.TaskDetailInfo = _10ki; }, 29231: function(_10l5, _10l6, _10l7) { 'use strict'; var _10l8 = null; var _10l9, _10la = this && this.__extends || (_10l9 = function(_10lb, _10lc) { var _10ld = null; return _10l9 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_10le, _10lf) { var _10lg = null; _10le.__proto__ = _10lf; } || function(_10lh, _10li) { var _10lj = null; for (var _10lk in _10li) Object.prototype.hasOwnProperty.call(_10li, _10lk) && (_10lh[_10lk] = _10li[_10lk]); }, _10l9(_10lb, _10lc); }, function(_10ll, _10lm) { var _10ln = null; if ('function' != typeof _10lm && null !== _10lm) throw new TypeError('Class extends value ' + String(_10lm) + ' is not a constructor or null'); function _10lo() { var _10lp = null; this.constructor = _10ll; } _10l9(_10ll, _10lm), _10ll.prototype = null === _10lm ? Object.create(_10lm) : (_10lo.prototype = _10lm.prototype, new _10lo()); }), _10lq = this && this.__importDefault || function(_10lr) { var _10ls = null; return _10lr && _10lr.__esModule ? _10lr : { 'default': _10lr }; }; defineModule(_10l6); Object.defineProperty(_10l6, '__esModule', { 'value': !0 }), _10l6.ContainerOverlay = void 0; var _10lt = _10lq(_10l7(18622)), _10lu = _10l7(62399), _10lv = _10l7(93319), _10lw = _10l7(33045), _10lx = _10l7(37252), _10ly = _10l7(77469), _10lz = function(_10m0) { var _10m1 = null; function _10m2() { var _10m3 = null, _10m4 = _10m0.call(this) || this; return _10m4._changeToInfo = function() { var _10m5 = null; _10m4._showInfo(); }, _10m4._changeToDeck = function() { var _10m6 = null; _10m4._showDeck(); }, _10m4._onStartPractice = function() { var _10m7 = null; for (var _10m8 = _10m4._deck.selected_deck_id, _10m9 = _10lt.default.model.deck.get(_10m8), _10ma = !0, _10mb = _10lt.default.model.basic.medal_num, _10mc = _10lt.default.model.basic.nickName, _10md = new _10lv.DeckModelReplica(_10m9, _10ma, _10mb, _10mc), _10me = new Array(), _10mf = _10m4._selected_rival.ships, _10mg = 0; _10mg < _10mf.length; _10mg++) { var _10mh = _10mf[_10mg]; if (null == _10mh) _10me.push(null); else { var _10mi = _10mh.id, _10mj = _10mh.level, _10mk = new _10lw.ShipModelReplica(1, _10ma, _10mg, _10mi, -_10mg, _10mj); _10me.push(_10mk); } } var _10ml = _10m4._selected_rival.id, _10mm = _10m4._selected_rival.medal_num, _10mn = _10m4._selected_rival.name, _10mo = _10m4._selected_rival.deck_name, _10mp = new _10lv.DeckModelReplica(_10ml, _10ma, _10mm, _10mn, 0, _10mo, _10me), _10mq = new _10lu.PracticeSceneModel(_10md, _10mp); _10lt.default.scene.change(32, _10mq), _10m4.emit('close'); }, _10m4._onClose = function() { var _10mr = null; _10m4.emit('close'); }, _10m4._info = new _10lx.UserinfoPanel(_10m4._changeToDeck, _10m4._onClose), _10m4._deck = new _10ly.PanelDeckSelect(_10m4._onClose), _10m4; } return _10la(_10m2, _10m0), _10m2.prototype.initialize = function(_10ms, _10mt) { var _10mu = null; this._info.initialize(), this._deck.visible = !1, this._deck.initialize(_10ms, _10mt, this._onStartPractice, this._changeToInfo), this.addChild(this._info), this.addChild(this._deck); }, _10m2.prototype.update = function(_10mv) { var _10mw = null; this._selected_rival = _10mv, this._info.update(_10mv), this._showInfo(); }, _10m2.prototype.activate = function() { var _10mx = null; 1 == this._info.visible ? (this._info.activate(), this._deck.deactivate()) : (this._deck.activate(), this._info.deactivate()); }, _10m2.prototype.deactivate = function() { var _10my = null; this._info.deactivate(), this._deck.deactivate(); }, _10m2.prototype.dispose = function() { var _10mz = null; this._info.dispose(), this._deck.dispose(); }, _10m2.prototype._showInfo = function() { var _10n0 = null; 1 != this._info.visible && (this._deck.deactivate(), this._info.visible = !0, this._deck.visible = !1, this._info.activate()); }, _10m2.prototype._showDeck = function() { var _10n1 = null; 1 != this._deck.visible && (this._info.deactivate(), this._deck.visible = !0, this._info.visible = !1, this._deck.activate()); }, _10m2; }(PIXI.Container); _10l6.ContainerOverlay = _10lz; }, 77469: function(_10n2, _10n3, _10n4) { 'use strict'; var _10n5 = null; var _10n6, _10n7 = this && this.__extends || (_10n6 = function(_10n8, _10n9) { var _10na = null; return _10n6 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_10nb, _10nc) { var _10nd = null; _10nb.__proto__ = _10nc; } || function(_10ne, _10nf) { var _10ng = null; for (var _10nh in _10nf) Object.prototype.hasOwnProperty.call(_10nf, _10nh) && (_10ne[_10nh] = _10nf[_10nh]); }, _10n6(_10n8, _10n9); }, function(_10ni, _10nj) { var _10nk = null; if ('function' != typeof _10nj && null !== _10nj) throw new TypeError('Class extends value ' + String(_10nj) + ' is not a constructor or null'); function _10nl() { var _10nm = null; this.constructor = _10ni; } _10n6(_10ni, _10nj), _10ni.prototype = null === _10nj ? Object.create(_10nj) : (_10nl.prototype = _10nj.prototype, new _10nl()); }), _10nn = this && this.__importDefault || function(_10no) { var _10np = null; return _10no && _10no.__esModule ? _10no : { 'default': _10no }; }; defineModule(_10n3); Object.defineProperty(_10n3, '__esModule', { 'value': !0 }), _10n3.PanelDeckSelect = void 0; var _10nq = _10nn(_10n4(18622)), _10nr = _10n4(8744), _10ns = _10n4(94341), _10nt = _10n4(48205), _10nu = _10n4(11997), _10nv = _10n4(33707), _10nw = _10n4(76582), _10nx = _10n4(84732), _10ny = _10n4(74204), _10nz = _10n4(98685), _10o0 = _10n4(33531), _10o1 = _10n4(59887), _10o2 = _10n4(40444), _10o3 = function(_10o4) { var _10o5 = null; function _10o6(_10o7) { var _10o8 = null, _10o9 = _10o4.call(this) || this; return _10o9._selected_deck_id = 1, _10o9._onChangeDeck = function(_10oa) { var _10ob = null; _10o9.update(_10oa); }, _10o9._bg = new PIXI.Sprite(), _10o9.addChild(_10o9._bg), _10o9._ship_container = new PIXI.Container(), _10o9._ship_container.position.set(270, 160), _10o9.addChild(_10o9._ship_container), _10o9._ships = [], _10o9._btn_close = new _10o1.CloseBtn(_10o7), _10o9._btn_close.position.set(1108, 27), _10o9; } return _10n7(_10o6, _10o4), Object.defineProperty(_10o6.prototype, 'selected_deck_id', { 'get': function() { var _10oc = null; return this._selected_deck_id; }, 'enumerable': !1, 'configurable': !0 }), _10o6.prototype.initialize = function(_10od, _10oe, _10of, _10og) { var _10oh = null; this._bg.texture = _10nv.SALLY_PRACTICE.getTexture(35); var _10oi = new PIXI.Sprite(_10nv.SALLY_PRACTICE.getTexture(29)); _10oi.position.set(40, 57), this._bg.addChild(_10oi), (_10oi = new PIXI.Sprite(_10nv.SALLY_PRACTICE.getTexture(33))).position.set(102, 64), this._bg.addChild(_10oi); for (var _10oj = 0; _10oj < 6; _10oj++) { var _10ok = new _10nx.CompBannerAndLack(); _10ok.initialize(), _10ok.position.set(0, 76 * _10oj), this._ship_container.addChild(_10ok), this._ships.push(_10ok); } if (this._deck_selection = new _10ny.CompDeckBtns(this._onChangeDeck), this._deck_selection.initialize(_10od), this._btn_back = new _10o0.BackBtn(_10og), this._btn_back.initialize(), this._btn = new _10o2.StartPracticeBtn(_10of), this._btn.initialize(), this._rader = new _10nz.Rader(), this._rader.initialize(), this._arrow = new _10nw.CompArrow2(), this._arrow.initialize(), this._err_message = new _10nr.TextBox(16, 16724736), this._deck_selection.position.set(270, 120), this._btn_back.position.set(306, 615), this._btn.position.set(558, 615), this._rader.position.set(556, 138), this._arrow.position.set(823, 616), this._err_message.anchor.set(0.5, 0), this._err_message.position.set(750, 576), this.addChild(this._deck_selection), this.addChild(this._rader), this.addChild(this._arrow), this.addChild(this._btn_back), this.addChild(this._btn), this.addChild(this._err_message), _10nq.default.model.deck.exist3rdUnit) { var _10ol = new PIXI.Sprite(_10nu.COMMON_MISC.getTexture(187)); _10ol.position.set(346, 98), this.addChild(_10ol); } 1 == _10oe && (this._deck_combined_frame = new _10ns.CombinedView(), this._deck_combined_frame.position.set(263, 110), this._deck_combined_frame.adjustFramePosition(0, 1), this.addChild(this._deck_combined_frame)), this._btn_close.initialize(), this.addChild(this._btn_close); }, _10o6.prototype.update = function(_10om) { var _10on = null; if (this._selected_deck_id != _10om) { var _10oo = _10nq.default.model.deck.get(_10om); null != _10oo && (this._selected_deck_id = _10om, this._update(_10oo)); } }, _10o6.prototype._update = function(_10op) { var _10oq = null; _10nt.TaskLoadShipResource.abortBy(this._ship_container), this._deck_selection.setSelected(_10op.mstID); for (var _10or = _10op.getShipListAll(), _10os = _10op.getShipList(), _10ot = 0; _10ot < this._ships.length; _10ot++) { var _10ou = _10os[_10ot]; this._ships[_10ot].update(_10ou, !1); } this._rader.update(_10or), this._checkCondition(_10op, _10or); }, _10o6.prototype.activate = function() { var _10ov = null; this._arrow.activate(), this._btn_back.activate(), this._btn.activate(), null != this._deck_combined_frame && this._deck_combined_frame.activate(); var _10ow = this._selected_deck_id; this._selected_deck_id = 0, this.update(_10ow), this._btn_close.activate(); }, _10o6.prototype.deactivate = function() { var _10ox = null; _10nt.TaskLoadShipResource.abortBy(this._ship_container), this._arrow.deactivate(), this._btn.deactivate(), this._btn_back.deactivate(), this._rader.update(null), null != this._deck_combined_frame && this._deck_combined_frame.deactivate(), this._btn_close.deactivate(); }, _10o6.prototype.dispose = function() { var _10oy = null; this.removeChildren(), this._deck_selection.dispose(), null != this._deck_combined_frame && this._deck_combined_frame.dispose(); for (var _10oz = 0, _10p0 = this._ships; _10oz < _10p0.length; _10oz++) { _10p0[_10oz].dispose(); } this._rader.dispose(), this._arrow.dispose(), this._btn.dispose(), this._btn_back.dispose(), this._btn_close.dispose(), this._err_message.destroy(); }, _10o6.prototype._checkCondition = function(_10p1, _10p2) { var _10p3 = null, _10p4 = _10p1.getCount(); if (0 == _10p4) return this._arrow.enabled = !1, this._btn.setEnabled(!1), void(this._err_message.text = ''); if (_10p4 > 6) return this._arrow.enabled = !1, this._btn.setEnabled(!1), void(this._err_message.text = '遊撃部隊では出撃できません。'); for (var _10p5 = _10nq.default.model.ndock.getShipMemIDs(), _10p6 = !1, _10p7 = !1, _10p8 = !0, _10p9 = 0, _10pa = _10p2; _10p9 < _10pa.length; _10p9++) { var _10pb = _10pa[_10p9]; null != _10pb && (-1 != _10p5.indexOf(_10pb.memID) && (_10p6 = !0), (_10pb.fuelNow <= 0 || _10pb.ammoNow <= 0) && (_10p7 = !0), (_10pb.fuelNow < _10pb.fuelMax || _10pb.ammoNow < _10pb.ammoMax) && (_10p8 = !1)); } if (this._arrow.update(_10p8), _10p1.isCombined_Main() || _10p1.isCombined_Sub()) return this._arrow.enabled = !1, this._btn.setEnabled(!1), void(this._err_message.text = '連合艦隊では出撃できません。'); if (null != _10p1.expedition) return this._arrow.enabled = !1, this._btn.setEnabled(!1), void(this._err_message.text = ''); if (1 == _10p6) return this._arrow.enabled = !1, this._btn.setEnabled(!1), void(this._err_message.text = '艦隊内に入渠中の艦があります!'); if (1 == _10p7) return this._arrow.enabled = !1, this._btn.setEnabled(!1), void(this._err_message.text = '燃料・弾薬の補給不足です!'); var _10pc = _10p2[0].getDamageType(); if (25 == _10pc || 0 == _10pc) return this._arrow.enabled = !1, this._btn.setEnabled(!1), void(this._err_message.text = '旗艦が大破しており、出撃できません。'); this._arrow.enabled = !0, this._btn.setEnabled(!0), this._err_message.text = ''; }, _10o6; }(PIXI.Container); _10n3.PanelDeckSelect = _10o3; }, 37252: function(_10pd, _10pe, _10pf) { 'use strict'; var _10pg = null; var _10ph, _10pi = this && this.__extends || (_10ph = function(_10pj, _10pk) { var _10pl = null; return _10ph = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_10pm, _10pn) { var _10po = null; _10pm.__proto__ = _10pn; } || function(_10pp, _10pq) { var _10pr = null; for (var _10ps in _10pq) Object.prototype.hasOwnProperty.call(_10pq, _10ps) && (_10pp[_10ps] = _10pq[_10ps]); }, _10ph(_10pj, _10pk); }, function(_10pt, _10pu) { var _10pv = null; if ('function' != typeof _10pu && null !== _10pu) throw new TypeError('Class extends value ' + String(_10pu) + ' is not a constructor or null'); function _10pw() { var _10px = null; this.constructor = _10pt; } _10ph(_10pt, _10pu), _10pt.prototype = null === _10pu ? Object.create(_10pu) : (_10pw.prototype = _10pu.prototype, new _10pw()); }); defineModule(_10pe); Object.defineProperty(_10pe, '__esModule', { 'value': !0 }), _10pe.UserinfoPanel = void 0; var _10py = _10pf(8744), _10pz = _10pf(79899), _10q0 = _10pf(48205), _10q1 = _10pf(64621), _10q2 = _10pf(87773), _10q3 = _10pf(19502), _10q4 = _10pf(94890), _10q5 = _10pf(51602), _10q6 = _10pf(59887), _10q7 = _10pf(35380), _10q8 = function(_10q9) { var _10qa = null; function _10qb(_10qc, _10qd) { var _10qe = null, _10qf = _10q9.call(this) || this; return _10qf._onClose = function() { var _10qg = null; null != _10qf._cb_onClose && _10qf._cb_onClose(); }, _10qf._cb_onClose = _10qd, _10qf._bg = new _10q1.UserinfoPanelBG(), _10qf.addChild(_10qf._bg), _10qf._detail = new _10q2.UserinfoPanelInfoDetail(), _10qf.addChild(_10qf._detail), _10qf._deck_name = new _10py.TextBox(25, 4999235), _10qf._deck_name.anchor.set(0.5, 0), _10qf._deck_name.position.set(885, 132), _10qf.addChild(_10qf._deck_name), _10qf._flag = new _10q3.CompFlag(), _10qf._flag.position.set(1065, 129), _10qf.addChild(_10qf._flag), _10qf._ship_container = new PIXI.Container(), _10qf._ship_container.position.set(711, 172), _10qf.addChild(_10qf._ship_container), _10qf._ships = [], _10qf._area_close = new _10pz.AreaBox(0), _10qf.addChild(_10qf._area_close), _10qf._btn = new _10q5.GoPracticeBtn(_10qc), _10qf._btn.position.set(249, 583), _10qf.addChild(_10qf._btn), _10qf._btn_close = new _10q6.CloseBtn(_10qd), _10qf._btn_close.position.set(1108, 27), _10qf.addChild(_10qf._btn_close), _10qf; } return _10pi(_10qb, _10q9), _10qb.prototype.initialize = function() { var _10qh = null; this._bg.initialize(), this._detail.initialize(); for (var _10qi = 0; _10qi < 6; _10qi++) { var _10qj = new _10q4.CompRivalShip(); _10qj.initialize(), _10qj.y = 80 * _10qi, this._ship_container.addChild(_10qj), this._ships.push(_10qj); } this._btn.initialize(), this._btn_close.initialize(); }, _10qb.prototype.update = function(_10qk) { var _10ql = null; this._detail.update(_10qk), this._flag.update(_10qk.flag_type); for (var _10qm = 0; _10qm < this._ships.length; _10qm++) { var _10qn = this._ships[_10qm], _10qo = _10qk.ships[_10qm]; _10qn.update(_10qo); } }, _10qb.prototype.activate = function() { var _10qp = null; this._area_close.on(_10q7.EventType.CLICK, this._onClose), this._btn.activate(), this._btn_close.activate(); }, _10qb.prototype.deactivate = function() { var _10qq = null; this._area_close.off(_10q7.EventType.CLICK, this._onClose), this._btn.deactivate(), this._btn_close.deactivate(); }, _10qb.prototype.dispose = function() { var _10qr = null; _10q0.TaskLoadShipResource.abortBy(this._ship_container), this._detail.dispose(), this._deck_name.destroy(); for (var _10qs = 0, _10qt = this._ships; _10qs < _10qt.length; _10qs++) { _10qt[_10qs].dispose(); } this._area_close.off(_10q7.EventType.CLICK, this._onClose), this._btn.dispose(), this._btn_close.dispose(), this._cb_onClose = null; }, _10qb; }(PIXI.Container); _10pe.UserinfoPanel = _10q8; }, 16546: function(_10qu, _10qv, _10qw) { 'use strict'; var _10qx = null; var _10qy, _10qz = this && this.__extends || (_10qy = function(_10r0, _10r1) { var _10r2 = null; return _10qy = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_10r3, _10r4) { var _10r5 = null; _10r3.__proto__ = _10r4; } || function(_10r6, _10r7) { var _10r8 = null; for (var _10r9 in _10r7) Object.prototype.hasOwnProperty.call(_10r7, _10r9) && (_10r6[_10r9] = _10r7[_10r9]); }, _10qy(_10r0, _10r1); }, function(_10ra, _10rb) { var _10rc = null; if ('function' != typeof _10rb && null !== _10rb) throw new TypeError('Class extends value ' + String(_10rb) + ' is not a constructor or null'); function _10rd() { var _10re = null; this.constructor = _10ra; } _10qy(_10ra, _10rb), _10ra.prototype = null === _10rb ? Object.create(_10rb) : (_10rd.prototype = _10rb.prototype, new _10rd()); }); defineModule(_10qv); Object.defineProperty(_10qv, '__esModule', { 'value': !0 }), _10qv.ViewMain = void 0; var _10rf = _10qw(48205), _10rg = _10qw(82401), _10rh = _10qw(57193), _10ri = _10qw(78251), _10rj = _10qw(11971), _10rk = _10qw(36049), _10rl = function(_10rm) { var _10rn = null; function _10ro(_10rp, _10rq) { var _10rr = null, _10rs = _10rm.call(this, _10rp, _10rq) || this; _10rs._timer_id = 0, _10rs._onChangeMatching = function(_10rt) { var _10ru = null; new _10rk.TaskChangeMatching(_10rt, _10rs).start(); }, _10rs._sub_title = new _10rj.CompSubTitle(), _10rs._sub_title.position.set(202, 204), _10rs._rivals = new Array(); for (var _10rv = 0; _10rv < 5; _10rv++) { var _10rw = new _10ri.CompRivalDeck(); _10rw.position.set(211, 267 + 82 * _10rv), _10rs._rivals.push(_10rw); } return _10rs._matching_btns = new _10rh.CompMatchingSelectBtns(_10rs._onChangeMatching), _10rs._matching_btns.position.set(460, 669), _10rs; } return _10qz(_10ro, _10rm), Object.defineProperty(_10ro.prototype, 'rivals', { 'get': function() { var _10rx = null; return this._rivals; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_10ro.prototype, 'matching_btns', { 'get': function() { var _10ry = null; return this._matching_btns; }, 'enumerable': !1, 'configurable': !0 }), _10ro.prototype.initialize = function() { var _10rz = null; _10rm.prototype.initialize.call(this), this._sub_title.initialize(), this.addChild(this._sub_title); for (var _10s0 = 0, _10s1 = this._rivals; _10s0 < _10s1.length; _10s0++) { var _10s2 = _10s1[_10s0]; _10s2.initialize(), this.addChild(_10s2); } this._matching_btns.initialize(), this.addChild(this._matching_btns); }, _10ro.prototype.update = function(_10s3) { var _10s4 = null; _10rf.TaskLoadShipResource.abortBy(this), this._sub_title.update(_10s3.matching_type); for (var _10s5 = _10s3.rivals, _10s6 = 0; _10s6 < this._rivals.length; _10s6++) { var _10s7 = this._rivals[_10s6]; _10s5.length <= _10s6 ? _10s7.visible = !1 : (_10s7.update(_10s5[_10s6]), _10s7.visible = !0); } this._selected_matching_type = _10s3.matching_type_next; var _10s8 = _10s3.remain_time; this._startTimer(1000 * _10s8), this._matching_btns.update(_10s8 > 0, _10s3.matching_type_next); }, _10ro.prototype.updateMatchingState = function(_10s9, _10sa) { var _10sb = null; this._selected_matching_type = _10sa, this._matching_btns.update(_10s9, _10sa), this._matching_btns.activate(); }, _10ro.prototype.activate = function() { var _10sc = null; _10rm.prototype.activate.call(this); for (var _10sd = 0, _10se = this.rivals; _10sd < _10se.length; _10sd++) { _10se[_10sd].activate(); } this._matching_btns.activate(); }, _10ro.prototype.deactivate = function() { var _10sf = null; _10rm.prototype.deactivate.call(this); for (var _10sg = 0, _10sh = this.rivals; _10sg < _10sh.length; _10sg++) { _10sh[_10sg].deactivate(); } this._matching_btns.deactivate(), _10rf.TaskLoadShipResource.abortBy(this); }, _10ro.prototype.dispose = function() { var _10si = null; _10rm.prototype.dispose.call(this), this._sub_title.dispose(); for (var _10sj = 0, _10sk = this.rivals; _10sj < _10sk.length; _10sj++) { _10sk[_10sj].dispose(); } this._matching_btns.dispose(), this._stopTimer(); }, _10ro.prototype._startTimer = function(_10sl) { var _10sm = null, _10sn = this; this._stopTimer(), _10sl > 0 && (this._timer_id = window.setTimeout(function() { var _10so = null; _10sn.updateMatchingState(!1, _10sn._selected_matching_type), _10sn._timer_id = 0; }, _10sl)); }, _10ro.prototype._stopTimer = function() { var _10sp = null; this._timer_id > 0 && clearTimeout(this._timer_id), this._timer_id = 0; }, _10ro; }(_10rg.ViewMainBase); _10qv.ViewMain = _10rl; }, 82401: function(_10sq, _10sr, _10ss) { 'use strict'; var _10st = null; var _10su, _10sv = this && this.__extends || (_10su = function(_10sw, _10sx) { var _10sy = null; return _10su = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_10sz, _10t0) { var _10t1 = null; _10sz.__proto__ = _10t0; } || function(_10t2, _10t3) { var _10t4 = null; for (var _10t5 in _10t3) Object.prototype.hasOwnProperty.call(_10t3, _10t5) && (_10t2[_10t5] = _10t3[_10t5]); }, _10su(_10sw, _10sx); }, function(_10t6, _10t7) { var _10t8 = null; if ('function' != typeof _10t7 && null !== _10t7) throw new TypeError('Class extends value ' + String(_10t7) + ' is not a constructor or null'); function _10t9() { var _10ta = null; this.constructor = _10t6; } _10su(_10t6, _10t7), _10t6.prototype = null === _10t7 ? Object.create(_10t7) : (_10t9.prototype = _10t7.prototype, new _10t9()); }); defineModule(_10sr); Object.defineProperty(_10sr, '__esModule', { 'value': !0 }), _10sr.ViewMainBase = void 0; var _10tb = _10ss(48473), _10tc = _10ss(33707), _10td = _10ss(88622), _10te = _10ss(28694), _10tf = function(_10tg) { var _10th = null; function _10ti(_10tj, _10tk) { var _10tl = null, _10tm = _10tg.call(this) || this; return _10tm._switch = new _10te.CompSwitchBtns(1, _10tj, _10tk), _10tm._switch.position.set(807, 171), _10tm; } return _10sv(_10ti, _10tg), _10ti.prototype.initialize = function() { var _10tn = null, _10to = new PIXI.Sprite(_10tb.SALLY_COMMON.getTexture(14)); _10to.position.set(144, 168); var _10tp = new PIXI.Sprite(_10tb.SALLY_COMMON.getTexture(36)); _10tp.position.set(0, 102); var _10tq = new PIXI.Sprite(_10tc.SALLY_PRACTICE.getTexture(0)); _10tq.position.set(198, 112); var _10tr = new PIXI.Sprite(_10tc.SALLY_PRACTICE.getTexture(31)); _10tr.position.set(207, 177); var _10ts = new PIXI.Sprite(_10tc.SALLY_PRACTICE.getTexture(15)); _10ts.position.set(196, 228); var _10tt = new PIXI.Sprite(_10tc.SALLY_PRACTICE.getTexture(27)); _10tt.position.set(196, 228), this._switch.initialize(), this.addChild(_10to), this.addChild(_10tp), this.addChild(_10tq), this.addChild(_10tr), this.addChild(_10ts), this.addChild(_10tt), this.addChild(this._switch); }, _10ti.prototype.activate = function() { var _10tu = null; this._switch.activate(); }, _10ti.prototype.deactivate = function() { var _10tv = null; this._switch.deactivate(); }, _10ti.prototype.dispose = function() { var _10tw = null; this.removeChildren(), this._switch.dispose(); }, _10ti; }(_10td.ViewMainBase); _10sr.ViewMainBase = _10tf; }, 33531: function(_10tx, _10ty, _10tz) { 'use strict'; var _10u0 = null; var _10u1, _10u2 = this && this.__extends || (_10u1 = function(_10u3, _10u4) { var _10u5 = null; return _10u1 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_10u6, _10u7) { var _10u8 = null; _10u6.__proto__ = _10u7; } || function(_10u9, _10ua) { var _10ub = null; for (var _10uc in _10ua) Object.prototype.hasOwnProperty.call(_10ua, _10uc) && (_10u9[_10uc] = _10ua[_10uc]); }, _10u1(_10u3, _10u4); }, function(_10ud, _10ue) { var _10uf = null; if ('function' != typeof _10ue && null !== _10ue) throw new TypeError('Class extends value ' + String(_10ue) + ' is not a constructor or null'); function _10ug() { var _10uh = null; this.constructor = _10ud; } _10u1(_10ud, _10ue), _10ud.prototype = null === _10ue ? Object.create(_10ue) : (_10ug.prototype = _10ue.prototype, new _10ug()); }); defineModule(_10ty); Object.defineProperty(_10ty, '__esModule', { 'value': !0 }), _10ty.BackBtn = void 0; var _10ui = _10tz(33707), _10uj = _10tz(35380), _10uk = function(_10ul) { var _10um = null; function _10un(_10uo) { var _10up = null, _10uq = _10ul.call(this) || this; return _10uq._onMouseOver = function() { var _10ur = null; _10uq._update(!0); }, _10uq._onMouseOut = function() { var _10us = null; _10uq._update(!1); }, _10uq._onClick = function() { var _10ut = null; null != _10uq._cb_onClick && _10uq._cb_onClick(); }, _10uq._cb_onClick = _10uo, _10uq.interactive = !0, _10uq; } return _10u2(_10un, _10ul), _10un.prototype.initialize = function() { var _10uu = null; this._update(!1); }, _10un.prototype.activate = function() { var _10uv = null; 1 != this.buttonMode && (this.buttonMode = !0, this.on(_10uj.EventType.MOUSEOVER, this._onMouseOver), this.on(_10uj.EventType.MOUSEOUT, this._onMouseOut), this.on(_10uj.EventType.CLICK, this._onClick)); }, _10un.prototype.deactivate = function() { var _10uw = null; this.buttonMode = !1, this.off(_10uj.EventType.MOUSEOVER, this._onMouseOver), this.off(_10uj.EventType.MOUSEOUT, this._onMouseOut), this.off(_10uj.EventType.CLICK, this._onClick); }, _10un.prototype.dispose = function() { var _10ux = null; this.deactivate(), this._cb_onClick = null; }, _10un.prototype._update = function(_10uy) { var _10uz = null; this.texture = 1 == _10uy ? _10ui.SALLY_PRACTICE.getTexture(2) : _10ui.SALLY_PRACTICE.getTexture(1); }, _10un; }(PIXI.Sprite); _10ty.BackBtn = _10uk; }, 47241: function(_10v0, _10v1, _10v2) { 'use strict'; var _10v3 = null; var _10v4, _10v5 = this && this.__extends || (_10v4 = function(_10v6, _10v7) { var _10v8 = null; return _10v4 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_10v9, _10va) { var _10vb = null; _10v9.__proto__ = _10va; } || function(_10vc, _10vd) { var _10ve = null; for (var _10vf in _10vd) Object.prototype.hasOwnProperty.call(_10vd, _10vf) && (_10vc[_10vf] = _10vd[_10vf]); }, _10v4(_10v6, _10v7); }, function(_10vg, _10vh) { var _10vi = null; if ('function' != typeof _10vh && null !== _10vh) throw new TypeError('Class extends value ' + String(_10vh) + ' is not a constructor or null'); function _10vj() { var _10vk = null; this.constructor = _10vg; } _10v4(_10vg, _10vh), _10vg.prototype = null === _10vh ? Object.create(_10vh) : (_10vj.prototype = _10vh.prototype, new _10vj()); }); defineModule(_10v1); Object.defineProperty(_10v1, '__esModule', { 'value': !0 }), _10v1.BtnMatchingSelect = void 0; var _10vl = _10v2(70723), _10vm = _10v2(33707), _10vn = _10v2(35380), _10vo = function(_10vp) { var _10vq = null; function _10vr(_10vs) { var _10vt = null, _10vu = _10vp.call(this) || this; return _10vu._activated = !1, _10vu._selected = !1, _10vu._onMouseOver = function() { var _10vv = null; _10vu._updateState(!0); }, _10vu._onMouseOut = function() { var _10vw = null; _10vu._updateState(!1); }, _10vu._onClick = function() { var _10vx = null; null != _10vu._cb && 1 == _10vu._btn.interactive && (_10vl.SE.play('231'), _10vu.deactivate(), _10vu._updateState(!0), _10vu._cb(_10vu._type)); }, _10vu._cb = _10vs, _10vu; } return _10v5(_10vr, _10vp), _10vr.prototype.setSelected = function(_10vy) { var _10vz = null; this._selected = _10vy, 1 == this._selected && 1 == this._activated && this.deactivate(), this._updateState(_10vy); }, _10vr.prototype.initialize = function(_10w0) { var _10w1 = null, _10w2, _10w3; this._type = _10w0, 0 == _10w0 ? (_10w2 = 3, _10w3 = 4) : 1 == _10w0 ? (_10w2 = 5, _10w3 = 6) : (_10w2 = 7, _10w3 = 8), this._btn = new PIXI.Sprite(_10vm.SALLY_PRACTICE.getTexture(_10w2)), this._btn_on = new PIXI.Sprite(_10vm.SALLY_PRACTICE.getTexture(_10w3)), this._btn_on.position.set(-6, -7), this.addChild(this._btn), this.addChild(this._btn_on), this._updateState(!1); }, _10vr.prototype.activate = function() { var _10w4 = null; 0 == this._activated && 0 == this._selected && (this._btn.interactive = this._btn.buttonMode = !0, this._btn.on(_10vn.EventType.MOUSEOVER, this._onMouseOver), this._btn.on(_10vn.EventType.MOUSEOUT, this._onMouseOut), this._btn.on(_10vn.EventType.CLICK, this._onClick)); }, _10vr.prototype.deactivate = function() { var _10w5 = null; this._btn.interactive = this._btn.buttonMode = !1, this._btn.off(_10vn.EventType.MOUSEOVER, this._onMouseOver), this._btn.off(_10vn.EventType.MOUSEOUT, this._onMouseOut), this._btn.off(_10vn.EventType.CLICK, this._onClick); }, _10vr.prototype.dispose = function() { var _10w6 = null; this.deactivate(); }, _10vr.prototype._updateState = function(_10w7) { var _10w8 = null; 1 == _10w7 ? (this._btn.alpha = 0, this._btn_on.visible = !0) : (this._btn.alpha = 1, this._btn_on.visible = !1); }, _10vr; }(PIXI.Container); _10v1.BtnMatchingSelect = _10vo; }, 59887: function(_10w9, _10wa, _10wb) { 'use strict'; var _10wc = null; var _10wd, _10we = this && this.__extends || (_10wd = function(_10wf, _10wg) { var _10wh = null; return _10wd = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_10wi, _10wj) { var _10wk = null; _10wi.__proto__ = _10wj; } || function(_10wl, _10wm) { var _10wn = null; for (var _10wo in _10wm) Object.prototype.hasOwnProperty.call(_10wm, _10wo) && (_10wl[_10wo] = _10wm[_10wo]); }, _10wd(_10wf, _10wg); }, function(_10wp, _10wq) { var _10wr = null; if ('function' != typeof _10wq && null !== _10wq) throw new TypeError('Class extends value ' + String(_10wq) + ' is not a constructor or null'); function _10ws() { var _10wt = null; this.constructor = _10wp; } _10wd(_10wp, _10wq), _10wp.prototype = null === _10wq ? Object.create(_10wq) : (_10ws.prototype = _10wq.prototype, new _10ws()); }); defineModule(_10wa); Object.defineProperty(_10wa, '__esModule', { 'value': !0 }), _10wa.CloseBtn = void 0; var _10wu = _10wb(48473), _10wv = _10wb(35380), _10ww = function(_10wx) { var _10wy = null; function _10wz(_10) { var _11 = null, _12 = _10wx.call(this) || this; return _12._onClick = function() { var _13 = null; null != _12._cb_onClick && _12._cb_onClick(); }, _12._cb_onClick = _10, _12.interactive = !0, _12; } return _10we(_10wz, _10wx), _10wz.prototype.initialize = function() { var _14 = null; this.texture = _10wu.SALLY_COMMON.getTexture(13); }, _10wz.prototype.activate = function() { var _15 = null; 1 != this.buttonMode && (this.buttonMode = !0, this.on(_10wv.EventType.CLICK, this._onClick)); }, _10wz.prototype.deactivate = function() { var _16 = null; this.buttonMode = !1, this.off(_10wv.EventType.CLICK, this._onClick); }, _10wz.prototype.dispose = function() { var _17 = null; this.deactivate(), this._cb_onClick = null; }, _10wz; }(PIXI.Sprite); _10wa.CloseBtn = _10ww; }, 19502: function(_18, _19, _110) { 'use strict'; var _111 = null; var _112, _113 = this && this.__extends || (_112 = function(_114, _115) { var _10xg = null; return _112 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_10xh, _10xi) { var _10xj = null; _10xh.__proto__ = _10xi; } || function(_10xk, _10xl) { var _10xm = null; for (var _10xn in _10xl) Object.prototype.hasOwnProperty.call(_10xl, _10xn) && (_10xk[_10xn] = _10xl[_10xn]); }, _112(_114, _115); }, function(_10xo, _10xp) { var _10xq = null; if ('function' != typeof _10xp && null !== _10xp) throw new TypeError('Class extends value ' + String(_10xp) + ' is not a constructor or null'); function _10xr() { var _10xs = null; this.constructor = _10xo; } _112(_10xo, _10xp), _10xo.prototype = null === _10xp ? Object.create(_10xp) : (_10xr.prototype = _10xp.prototype, new _10xr()); }); defineModule(_19); Object.defineProperty(_19, '__esModule', { 'value': !0 }), _19.CompFlag = void 0; var _10xt = _110(33707), _10xu = function(_10xv) { var _10xw = null; function _10xx() { var _10xy = null; return _10xv.call(this) || this; } return _113(_10xx, _10xv), _10xx.prototype.update = function(_10xz) { var _10y0 = null; this.visible = !0, 3 == _10xz ? this.texture = _10xt.SALLY_PRACTICE.getTexture(17) : 2 == _10xz ? this.texture = _10xt.SALLY_PRACTICE.getTexture(18) : 1 == _10xz ? this.texture = _10xt.SALLY_PRACTICE.getTexture(16) : this.visible = !1; }, _10xx; }(PIXI.Sprite); _19.CompFlag = _10xu; }, 57193: function(_10y1, _10y2, _10y3) { 'use strict'; var _10y4 = null; var _10y5, _10y6 = this && this.__extends || (_10y5 = function(_10y7, _10y8) { var _10y9 = null; return _10y5 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_10ya, _10yb) { var _10yc = null; _10ya.__proto__ = _10yb; } || function(_10yd, _10ye) { var _10yf = null; for (var _10yg in _10ye) Object.prototype.hasOwnProperty.call(_10ye, _10yg) && (_10yd[_10yg] = _10ye[_10yg]); }, _10y5(_10y7, _10y8); }, function(_10yh, _10yi) { var _10yj = null; if ('function' != typeof _10yi && null !== _10yi) throw new TypeError('Class extends value ' + String(_10yi) + ' is not a constructor or null'); function _10yk() { var _10yl = null; this.constructor = _10yh; } _10y5(_10yh, _10yi), _10yh.prototype = null === _10yi ? Object.create(_10yi) : (_10yk.prototype = _10yi.prototype, new _10yk()); }); defineModule(_10y2); Object.defineProperty(_10y2, '__esModule', { 'value': !0 }), _10y2.CompMatchingSelectBtns = void 0; var _10ym = _10y3(8744), _10yn = _10y3(47241), _10yo = function(_10yp) { var _10yq = null; function _10yr(_10ys) { var _10yt = null, _10yu = _10yp.call(this) || this; return _10yu._enabled = !1, _10yu._btn1 = new _10yn.BtnMatchingSelect(_10ys), _10yu._btn2 = new _10yn.BtnMatchingSelect(_10ys), _10yu._btn3 = new _10yn.BtnMatchingSelect(_10ys), _10yu._txt1 = new _10ym.TextBox(19, 4999235), _10yu._txt = new _10ym.TextBox(15, 4999235), _10yu; } return _10y6(_10yr, _10yp), _10yr.prototype.initialize = function() { var _10yv = null; this._btn1.initialize(0), this._btn2.initialize(1), this._btn3.initialize(2), this._txt1.text = 'より次回演習候補を更新後に設定。', this._txt1.position.set(141, 7), this.addChild(this._btn1), this.addChild(this._btn2), this.addChild(this._btn3), this.addChild(this._txt1), this.addChild(this._txt); }, _10yr.prototype.update = function(_10yw, _10yx) { var _10yy = null; this._enabled = _10yw, 1 == _10yw ? (this._btn1.position.set(0, 0), this._btn2.position.set(150, 0), this._btn3.position.set(300, 0), this._txt1.visible = !1, this._txt.position.set(445, 9), 0 == _10yx ? (this._btn1.setSelected(!0), this._btn2.setSelected(!1), this._btn3.setSelected(!1)) : 1 == _10yx ? (this._btn1.setSelected(!1), this._btn2.setSelected(!0), this._btn3.setSelected(!1)) : (this._btn1.setSelected(!1), this._btn2.setSelected(!1), this._btn3.setSelected(!0)), this._txt.text = '演習相手は一日二回更新されます。') : (this._btn1.setSelected(!1), this._btn2.setSelected(!1), this._btn3.setSelected(!1), this._btn1.deactivate(), this._btn2.deactivate(), this._btn3.deactivate(), this._btn1.visible = !1, this._btn2.visible = !1, this._btn3.visible = !1, 0 == _10yx ? (this._btn1.visible = !0, this._btn1.position.set(0, 0)) : 1 == _10yx ? (this._btn2.visible = !0, this._btn2.position.set(0, 0)) : (this._btn3.visible = !0, this._btn3.position.set(0, 0)), this._txt1.visible = !0, this._txt.position.set(490, 10), this._txt.text = '更新後に設定変更可能です。'); }, _10yr.prototype.activate = function() { var _10yz = null; 1 == this._enabled && (this._btn1.activate(), this._btn2.activate(), this._btn3.activate()); }, _10yr.prototype.deactivate = function() { var _10z0 = null; this._btn1.deactivate(), this._btn2.deactivate(), this._btn3.deactivate(); }, _10yr.prototype.dispose = function() { var _10z1 = null; this.removeChildren(), this._btn1.dispose(), this._btn2.dispose(), this._btn3.dispose(), this._txt1.destroy(), this._txt.destroy(); }, _10yr; }(PIXI.Container); _10y2.CompMatchingSelectBtns = _10yo; }, 48447: function(_10z2, _10z3, _10z4) { 'use strict'; var _10z5 = null; var _10z6, _10z7 = this && this.__extends || (_10z6 = function(_10z8, _10z9) { var _10za = null; return _10z6 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_10zb, _10zc) { var _10zd = null; _10zb.__proto__ = _10zc; } || function(_10ze, _10zf) { var _10zg = null; for (var _10zh in _10zf) Object.prototype.hasOwnProperty.call(_10zf, _10zh) && (_10ze[_10zh] = _10zf[_10zh]); }, _10z6(_10z8, _10z9); }, function(_10zi, _10zj) { var _10zk = null; if ('function' != typeof _10zj && null !== _10zj) throw new TypeError('Class extends value ' + String(_10zj) + ' is not a constructor or null'); function _10zl() { var _10zm = null; this.constructor = _10zi; } _10z6(_10zi, _10zj), _10zi.prototype = null === _10zj ? Object.create(_10zj) : (_10zl.prototype = _10zj.prototype, new _10zl()); }); defineModule(_10z3); Object.defineProperty(_10z3, '__esModule', { 'value': !0 }), _10z3.CompRank = void 0; var _10zn = _10z4(33707), _10zo = function(_10zp) { var _10zq = null; function _10zr() { var _10zs = null; return _10zp.call(this) || this; } return _10z7(_10zr, _10zp), _10zr.prototype.initialize = function() { var _10zt = null; this._result = new PIXI.Sprite(), this._rank = new PIXI.Sprite(), this._rank.position.set(66, 7), this.addChild(this._result), this.addChild(this._rank); }, _10zr.prototype.update = function(_10zu) { var _10zv = null; this.visible = !0, 6 == _10zu ? (this._result.texture = _10zn.SALLY_PRACTICE.getTexture(26), this._rank.texture = _10zn.SALLY_PRACTICE.getTexture(25)) : 5 == _10zu ? (this._result.texture = _10zn.SALLY_PRACTICE.getTexture(26), this._rank.texture = _10zn.SALLY_PRACTICE.getTexture(20)) : 4 == _10zu ? (this._result.texture = _10zn.SALLY_PRACTICE.getTexture(26), this._rank.texture = _10zn.SALLY_PRACTICE.getTexture(21)) : 3 == _10zu ? (this._result.texture = _10zn.SALLY_PRACTICE.getTexture(19), this._rank.texture = _10zn.SALLY_PRACTICE.getTexture(22)) : 2 == _10zu ? (this._result.texture = _10zn.SALLY_PRACTICE.getTexture(19), this._rank.texture = _10zn.SALLY_PRACTICE.getTexture(23)) : 1 == _10zu ? (this._result.texture = _10zn.SALLY_PRACTICE.getTexture(19), this._rank.texture = _10zn.SALLY_PRACTICE.getTexture(24)) : this.visible = !1; }, _10zr.prototype.dispose = function() {}, _10zr; }(PIXI.Container); _10z3.CompRank = _10zo; }, 78251: function(_10zw, _10zx, _10zy) { 'use strict'; var _10zz = null; var _1100, _1101 = this && this.__extends || (_1100 = function(_1102, _1103) { var _1104 = null; return _1100 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1105, _1106) { var _1107 = null; _1105.__proto__ = _1106; } || function(_1108, _1109) { var _110a = null; for (var _110b in _1109) Object.prototype.hasOwnProperty.call(_1109, _110b) && (_1108[_110b] = _1109[_110b]); }, _1100(_1102, _1103); }, function(_110c, _110d) { var _110e = null; if ('function' != typeof _110d && null !== _110d) throw new TypeError('Class extends value ' + String(_110d) + ' is not a constructor or null'); function _110f() { var _110g = null; this.constructor = _110c; } _1100(_110c, _110d), _110c.prototype = null === _110d ? Object.create(_110d) : (_110f.prototype = _110d.prototype, new _110f()); }); defineModule(_10zx); Object.defineProperty(_10zx, '__esModule', { 'value': !0 }), _10zx.CompRivalDeck = void 0; var _110h = _10zy(62814), _110i = _10zy(8744), _110j = _10zy(37638), _110k = _10zy(33707), _110l = _10zy(83065), _110m = _10zy(19502), _110n = _10zy(48447), _110o = _10zy(35380), _110p = function(_110q) { var _110r = null; function _110s() { var _110t = null, _110u = _110q.call(this) || this; return _110u._enabled = !1, _110u._activated = !1, _110u._onClick = function() { var _110v = null; new _110l.TaskDetailInfo(_110u._model.id, _110u._model.flag, _110u._model.medal_num).start(); }, _110u; } return _1101(_110s, _110q), _110s.prototype.initialize = function() { var _110w = null, _110x = new PIXI.Sprite(_110k.SALLY_PRACTICE.getTexture(14)), _110y = new PIXI.Sprite(_110k.SALLY_PRACTICE.getTexture(34)); this._flag = new _110m.CompFlag(), this._banner = new _110j.ShipBanner(), this._name = new _110i.TextBox(18, 1949120), this._level = new _110i.TextBox(26, 4999235), this._comment = new _110i.TextBox(15, 4999235), this._rank_name = new _110i.TextBox(18, 4999235), this._medal = new _110h.MedalIcon(), this._result_rank = new _110n.CompRank(), this._hit_area = new PIXI.Graphics(), this._hit_area.beginFill(0, 0), this._hit_area.drawRect(0, 0, 939, 79), this._hit_area.endFill(), this._medal.initialize(), this._result_rank.initialize(), _110x.position.set(295, 24), _110y.position.set(546, -3), this._flag.position.set(0, 16), this._banner.position.set(48, 0), this._name.position.set(294, 0), this._level.anchor.set(1, 0), this._level.position.set(624, -7), this._comment.position.set(310, 33), this._rank_name.position.set(637, 0), this._medal.position.set(750, 25), this._result_rank.position.set(817, 3), this._hit_area.position.set(-10, -7), this._hit_area.visible = !1, this.addChild(_110x), this.addChild(_110y), this.addChild(this._flag), this.addChild(this._banner), this.addChild(this._name), this.addChild(this._level), this.addChild(this._comment), this.addChild(this._rank_name), this.addChild(this._medal), this.addChild(this._result_rank), this.addChild(this._hit_area); }, _110s.prototype.update = function(_110z) { var _1110 = null; this._model = _110z, this._flag.update(_110z.flag), this._banner.updateImage(_110z.flagShipMstID, !1), this._name.text = _110z.name, this._level.text = _110z.level.toString(), this._comment.text = _110z.comment, this._rank_name.text = '[' ['concat'](_110z.rank_name, ']'), this._medal.update(_110z.medal_num, 9466926), this._result_rank.update(_110z.state), this._enabled = _110z.isNoBattle(); }, _110s.prototype.activate = function() { var _1111 = null; 0 == this._activated && 1 == this._enabled && (this._hit_area.interactive = this._hit_area.buttonMode = !0, this._hit_area.on(_110o.EventType.CLICK, this._onClick), this._hit_area.visible = !0, this._activated = !0); }, _110s.prototype.deactivate = function() { var _1112 = null; this._hit_area.interactive = this._hit_area.buttonMode = !1, this._hit_area.off(_110o.EventType.CLICK, this._onClick), this._hit_area.visible = !1, this._activated = !1; }, _110s.prototype.dispose = function() { var _1113 = null; this.deactivate(), this.removeChildren(), this._banner.dispose(), this._name.destroy(), this._level.destroy(), this._comment.destroy(), this._rank_name.destroy(), this._medal.dispose(), this._result_rank.dispose(); }, _110s; }(PIXI.Container); _10zx.CompRivalDeck = _110p; }, 94890: function(_1114, _1115, _1116) { 'use strict'; var _1117 = null; var _1118, _1119 = this && this.__extends || (_1118 = function(_111a, _111b) { var _111c = null; return _1118 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_111d, _111e) { var _111f = null; _111d.__proto__ = _111e; } || function(_111g, _111h) { var _111i = null; for (var _111j in _111h) Object.prototype.hasOwnProperty.call(_111h, _111j) && (_111g[_111j] = _111h[_111j]); }, _1118(_111a, _111b); }, function(_111k, _111l) { var _111m = null; if ('function' != typeof _111l && null !== _111l) throw new TypeError('Class extends value ' + String(_111l) + ' is not a constructor or null'); function _111n() { var _111o = null; this.constructor = _111k; } _1118(_111k, _111l), _111k.prototype = null === _111l ? Object.create(_111l) : (_111n.prototype = _111l.prototype, new _111n()); }); defineModule(_1115); Object.defineProperty(_1115, '__esModule', { 'value': !0 }), _1115.CompRivalShip = void 0; var _111p = _1116(8744), _111q = _1116(79522), _111r = _1116(37638), _111s = _1116(14921), _111t = _1116(33707), _111u = function(_111v) { var _111w = null; function _111x() { var _111y = null; return _111v.call(this) || this; } return _1119(_111x, _111v), _111x.prototype.initialize = function() { var _111z = null, _1120 = new PIXI.Sprite(_111t.SALLY_PRACTICE.getTexture(34)); this._banner = new _111r.ShipBanner(), this._name = new _111p.TextBox(21, 4999235), this._level = new _111p.TextBox(20, 4999235), this._star = new _111q.StarRateView(), this._container = new PIXI.Container(), _1120.position.set(330, 12); var _1121 = _111s.CreateRect.gradientLeftToRight(95, this._name.height, 0.85, 0.9); this._container.position.set(243, 0), this._level.position.set(392, 11), this._level.anchor.set(1, 0), this._star.position.set(295, 40), this.addChild(_1120), this.addChild(this._banner), this.addChild(this._container), this._container.addChild(this._name, _1121), this._container.mask = _1121, this.addChild(this._level), this.addChild(this._star); }, _111x.prototype.update = function(_1122) { var _1123 = null; null == _1122 ? this.visible = !1 : (this._name.text = _1122.name, this._level.text = _1122.level.toString(), this._star.update(_1122.star + 1), this._banner.updateImage(_1122.id, !1), this.visible = !0); }, _111x.prototype.dispose = function() { var _1124 = null; this.removeChildren(), this._container.removeChildren(), this._banner.dispose(), this._star.dispose(), this._name.destroy(), this._level.destroy(), this._container.mask = null, this._name = null, this._level = null, this._star = null, this._container = null; }, _111x; }(PIXI.Container); _1115.CompRivalShip = _111u; }, 11971: function(_1125, _1126, _1127) { 'use strict'; var _1128 = null; var _1129, _112a = this && this.__extends || (_1129 = function(_112b, _112c) { var _112d = null; return _1129 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_112e, _112f) { var _112g = null; _112e.__proto__ = _112f; } || function(_112h, _112i) { var _112j = null; for (var _112k in _112i) Object.prototype.hasOwnProperty.call(_112i, _112k) && (_112h[_112k] = _112i[_112k]); }, _1129(_112b, _112c); }, function(_112l, _112m) { var _112n = null; if ('function' != typeof _112m && null !== _112m) throw new TypeError('Class extends value ' + String(_112m) + ' is not a constructor or null'); function _112o() { var _112p = null; this.constructor = _112l; } _1129(_112l, _112m), _112l.prototype = null === _112m ? Object.create(_112m) : (_112o.prototype = _112m.prototype, new _112o()); }); defineModule(_1126); Object.defineProperty(_1126, '__esModule', { 'value': !0 }), _1126.CompSubTitle = void 0; var _112q = _1127(8744), _112r = function(_112s) { var _112t = null; function _112u() { var _112v = null, _112w = _112s.call(this) || this; return _112w._txt1 = new _112q.TextBox(16, 4999235), _112w._txt2 = new _112q.TextBox(16, 4999235), _112w._txt3 = new _112q.TextBox(16, 4999235), _112w.addChild(_112w._txt1), _112w.addChild(_112w._txt2), _112w.addChild(_112w._txt3), _112w; } return _112a(_112u, _112s), _112u.prototype.initialize = function() { var _112x = null; this._txt1.text = '現在の演習候補は', this._txt2.text = '演習艦隊【第一群】', this._txt3.text = 'より抽出されたものです。', this._txt2.x = this._txt1.width; }, _112u.prototype.update = function(_112y) { var _112z = null; 0 == _112y ? (this._txt2.style.fill = 6595904, this._txt2.text = '演習艦隊【第一群】') : 1 == _112y ? (this._txt2.style.fill = 4236648, this._txt2.text = '演習艦隊【第二群】') : (this._txt2.style.fill = 4232101, this._txt2.text = '【全体】'), this._txt3.x = this._txt2.x + this._txt2.width; }, _112u.prototype.dispose = function() { var _1130 = null; this.removeChildren(), this._txt1.destroy(), this._txt1 = null, this._txt2.destroy(), this._txt2 = null, this._txt3.destroy(), this._txt3 = null; }, _112u; }(PIXI.Container); _1126.CompSubTitle = _112r; }, 51602: function(_1131, _1132, _1133) { 'use strict'; var _1134 = null; var _1135, _1136 = this && this.__extends || (_1135 = function(_1137, _1138) { var _1139 = null; return _1135 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_113a, _113b) { var _113c = null; _113a.__proto__ = _113b; } || function(_113d, _113e) { var _113f = null; for (var _113g in _113e) Object.prototype.hasOwnProperty.call(_113e, _113g) && (_113d[_113g] = _113e[_113g]); }, _1135(_1137, _1138); }, function(_113h, _113i) { var _113j = null; if ('function' != typeof _113i && null !== _113i) throw new TypeError('Class extends value ' + String(_113i) + ' is not a constructor or null'); function _113k() { var _113l = null; this.constructor = _113h; } _1135(_113h, _113i), _113h.prototype = null === _113i ? Object.create(_113i) : (_113k.prototype = _113i.prototype, new _113k()); }); defineModule(_1132); Object.defineProperty(_1132, '__esModule', { 'value': !0 }), _1132.GoPracticeBtn = void 0; var _113m = _1133(33707), _113n = _1133(35380), _113o = function(_113p) { var _113q = null; function _113r(_113s) { var _113t = null, _113u = _113p.call(this) || this; return _113u._onMouseOver = function() { var _113v = null; _113u._update(!0); }, _113u._onMouseOut = function() { var _113w = null; _113u._update(!1); }, _113u._onClick = function() { var _113x = null; null != _113u._cb_onClick && _113u._cb_onClick(); }, _113u._cb_onClick = _113s, _113u.interactive = !0, _113u; } return _1136(_113r, _113p), _113r.prototype.initialize = function() { var _113y = null; this._update(!1); }, _113r.prototype.activate = function() { var _113z = null; 1 != this.buttonMode && (this.buttonMode = !0, this.on(_113n.EventType.MOUSEOVER, this._onMouseOver), this.on(_113n.EventType.MOUSEOUT, this._onMouseOut), this.on(_113n.EventType.CLICK, this._onClick)); }, _113r.prototype.deactivate = function() { var _1140 = null; this.buttonMode = !1, this.off(_113n.EventType.MOUSEOVER, this._onMouseOver), this.off(_113n.EventType.MOUSEOUT, this._onMouseOut), this.off(_113n.EventType.CLICK, this._onClick); }, _113r.prototype.dispose = function() { var _1141 = null; this.deactivate(), this._cb_onClick = null; }, _113r.prototype._update = function(_1142) { var _1143 = null; this.texture = 1 == _1142 ? _113m.SALLY_PRACTICE.getTexture(13) : _113m.SALLY_PRACTICE.getTexture(12); }, _113r; }(PIXI.Sprite); _1132.GoPracticeBtn = _113o; }, 40444: function(_1144, _1145, _1146) { 'use strict'; var _1147 = null; var _1148, _1149 = this && this.__extends || (_1148 = function(_114a, _114b) { var _114c = null; return _1148 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_114d, _114e) { var _114f = null; _114d.__proto__ = _114e; } || function(_114g, _114h) { var _114i = null; for (var _114j in _114h) Object.prototype.hasOwnProperty.call(_114h, _114j) && (_114g[_114j] = _114h[_114j]); }, _1148(_114a, _114b); }, function(_114k, _114l) { var _114m = null; if ('function' != typeof _114l && null !== _114l) throw new TypeError('Class extends value ' + String(_114l) + ' is not a constructor or null'); function _114n() { var _114o = null; this.constructor = _114k; } _1148(_114k, _114l), _114k.prototype = null === _114l ? Object.create(_114l) : (_114n.prototype = _114l.prototype, new _114n()); }); defineModule(_1145); Object.defineProperty(_1145, '__esModule', { 'value': !0 }), _1145.StartPracticeBtn = void 0; var _114p = _1146(33707), _114q = _1146(35380), _114r = function(_114s) { var _114t = null; function _114u(_114v) { var _114w = null, _114x = _114s.call(this) || this; return _114x._enabled = !1, _114x._onMouseOver = function() { var _114y = null; _114x._update(!0); }, _114x._onMouseOut = function() { var _114z = null; _114x._update(!1); }, _114x._onClick = function() { var _1150 = null; null != _114x._cb_onClick && _114x._cb_onClick(); }, _114x._cb_onClick = _114v, _114x.interactive = !0, _114x; } return _1149(_114u, _114s), _114u.prototype.setEnabled = function(_1151) { var _1152 = null; this._enabled != _1151 && (this._enabled = _1151, 0 == this._enabled ? this.deactivate() : this.activate(), this._update(!1)); }, _114u.prototype.initialize = function() { var _1153 = null; this._update(!1); }, _114u.prototype.activate = function() { var _1154 = null; 1 != this.buttonMode && 0 != this._enabled && (this.buttonMode = !0, this.on(_114q.EventType.MOUSEOVER, this._onMouseOver), this.on(_114q.EventType.MOUSEOUT, this._onMouseOut), this.on(_114q.EventType.CLICK, this._onClick)); }, _114u.prototype.deactivate = function() { var _1155 = null; this.buttonMode = !1, this.off(_114q.EventType.MOUSEOVER, this._onMouseOver), this.off(_114q.EventType.MOUSEOUT, this._onMouseOut), this.off(_114q.EventType.CLICK, this._onClick); }, _114u.prototype.dispose = function() { var _1156 = null; this.deactivate(), this._cb_onClick = null; }, _114u.prototype._update = function(_1157) { var _1158 = null; 0 == this._enabled ? this.texture = _114p.SALLY_PRACTICE.getTexture(10) : this.texture = 1 == _1157 ? _114p.SALLY_PRACTICE.getTexture(11) : _114p.SALLY_PRACTICE.getTexture(9); }, _114u; }(PIXI.Sprite); _1145.StartPracticeBtn = _114r; }, 64621: function(_1159, _115a, _115b) { 'use strict'; var _115c = null; var _115d, _115e = this && this.__extends || (_115d = function(_115f, _115g) { var _115h = null; return _115d = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_115i, _115j) { var _115k = null; _115i.__proto__ = _115j; } || function(_115l, _115m) { var _115n = null; for (var _115o in _115m) Object.prototype.hasOwnProperty.call(_115m, _115o) && (_115l[_115o] = _115m[_115o]); }, _115d(_115f, _115g); }, function(_115p, _115q) { var _115r = null; if ('function' != typeof _115q && null !== _115q) throw new TypeError('Class extends value ' + String(_115q) + ' is not a constructor or null'); function _115s() { var _115t = null; this.constructor = _115p; } _115d(_115p, _115q), _115p.prototype = null === _115q ? Object.create(_115q) : (_115s.prototype = _115q.prototype, new _115s()); }); defineModule(_115a); Object.defineProperty(_115a, '__esModule', { 'value': !0 }), _115a.UserinfoPanelBG = void 0; var _115u = _115b(33707), _115v = function(_115w) { var _115x = null; function _115y() { var _115z = null; return _115w.call(this) || this; } return _115e(_115y, _115w), _115y.prototype.initialize = function() { var _1160 = null; this.texture = _115u.SALLY_PRACTICE.getTexture(28); var _1161 = new PIXI.Sprite(_115u.SALLY_PRACTICE.getTexture(29)); _1161.position.set(40, 57), this.addChild(_1161); var _1162 = new PIXI.Sprite(_115u.SALLY_PRACTICE.getTexture(30)); _1162.position.set(102, 64), this.addChild(_1162); var _1163 = new PIXI.Sprite(_115u.SALLY_PRACTICE.getTexture(32)); _1163.position.set(132, 64), this.addChild(_1163); }, _115y; }(PIXI.Sprite); _115a.UserinfoPanelBG = _115v; }, 87773: function(_1164, _1165, _1166) { 'use strict'; var _1167 = null; var _1168, _1169 = this && this.__extends || (_1168 = function(_116a, _116b) { var _116c = null; return _1168 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_116d, _116e) { var _116f = null; _116d.__proto__ = _116e; } || function(_116g, _116h) { var _116i = null; for (var _116j in _116h) Object.prototype.hasOwnProperty.call(_116h, _116j) && (_116g[_116j] = _116h[_116j]); }, _1168(_116a, _116b); }, function(_116k, _116l) { var _116m = null; if ('function' != typeof _116l && null !== _116l) throw new TypeError('Class extends value ' + String(_116l) + ' is not a constructor or null'); function _116n() { var _116o = null; this.constructor = _116k; } _1168(_116k, _116l), _116k.prototype = null === _116l ? Object.create(_116l) : (_116n.prototype = _116l.prototype, new _116n()); }); defineModule(_1165); Object.defineProperty(_1165, '__esModule', { 'value': !0 }), _1165.UserinfoPanelInfoDetail = void 0; var _116p = _1166(62814), _116q = _1166(8744), _116r = _1166(57257), _116s = function(_116t) { var _116u = null; function _116v() { var _116w = null, _116x = _116t.call(this) || this; return _116x._name = new _116q.TextBox(30, 4999235), _116x._name.position.set(193, 129), _116x.addChild(_116x._name), _116x._level = new _116q.TextBox(26, 4999235), _116x._level.anchor.set(1, 0), _116x._level.position.set(319, 192), _116x.addChild(_116x._level), _116x._rank_name = new _116q.TextBox(19, 4999235), _116x._rank_name.position.set(324, 198), _116x.addChild(_116x._rank_name), _116x._exp = new _116q.TextBox(19, 4999235), _116x._exp.position.set(363, 235), _116x.addChild(_116x._exp), _116x._comment = new _116q.TextBox(16, 4999235), _116x._comment.position.set(151, 286), _116x.addChild(_116x._comment), _116x._friend_num = new _116q.TextBox(20, 4999235), _116x._friend_num.anchor.set(1, 0), _116x._friend_num.position.set(645, 344), _116x.addChild(_116x._friend_num), _116x._ship_num = new _116q.TextBox(20, 4999235), _116x._ship_num.anchor.set(1, 0), _116x._ship_num.position.set(645, 375), _116x.addChild(_116x._ship_num), _116x._slot_num = new _116q.TextBox(20, 4999235), _116x._slot_num.anchor.set(1, 0), _116x._slot_num.position.set(645, 407), _116x.addChild(_116x._slot_num), _116x._furniture_num = new _116q.TextBox(20, 4999235), _116x._furniture_num.anchor.set(1, 0), _116x._furniture_num.position.set(645, 438), _116x.addChild(_116x._furniture_num), _116x._rank_icon = new _116r.RankIcon(), _116x._rank_icon.position.set(135, 181), _116x.addChild(_116x._rank_icon), _116x._medal = new _116p.MedalIcon(), _116x._medal.position.set(594, 543), _116x.addChild(_116x._medal), _116x; } return _1169(_116v, _116t), _116v.prototype.initialize = function() { var _116y = null; this._medal.initialize(); }, _116v.prototype.update = function(_116z) { var _1170 = null; this._name.text = _116z.name, this._level.text = _116z.level.toString(), this._rank_name.text = _116z.rank_name, this._exp.text = _116z.exp_now + '/' + _116z.exp_next, this._comment.text = _116z.comment, this._friend_num.text = _116z.friend_num.toString(); var _1171 = _116z.ship_nums; this._ship_num.text = _1171[0] + '/' + _1171[1]; var _1172 = _116z.slot_nums; this._slot_num.text = _1172[0] + '/' + _1172[1], this._furniture_num.text = _116z.furniture_num.toString(), this._rank_icon.update(_116z.rank), this._medal.update(_116z.medal_num, 9466926); }, _116v.prototype.dispose = function() { var _1173 = null; this.removeChildren(), this._name.destroy(), this._name = null, this._level.destroy(), this._level = null, this._rank_name.destroy(), this._rank_name = null, this._exp.destroy(), this._exp = null, this._comment.destroy(), this._comment = null, this._friend_num.destroy(), this._friend_num = null, this._ship_num.destroy(), this._ship_num = null, this._slot_num.destroy(), this._slot_num = null, this._furniture_num.destroy(), this._furniture_num = null, this._rank_icon = null, this._medal.dispose(), this._medal = null; }, _116v; }(PIXI.Container); _1165.UserinfoPanelInfoDetail = _116s; }, 2335: function(_1174, _1175, _1176) { 'use strict'; var _1177 = null; var _1178, _1179 = this && this.__extends || (_1178 = function(_117a, _117b) { var _117c = null; return _1178 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_117d, _117e) { var _117f = null; _117d.__proto__ = _117e; } || function(_117g, _117h) { var _117i = null; for (var _117j in _117h) Object.prototype.hasOwnProperty.call(_117h, _117j) && (_117g[_117j] = _117h[_117j]); }, _1178(_117a, _117b); }, function(_117k, _117l) { var _117m = null; if ('function' != typeof _117l && null !== _117l) throw new TypeError('Class extends value ' + String(_117l) + ' is not a constructor or null'); function _117n() { var _117o = null; this.constructor = _117k; } _1178(_117k, _117l), _117k.prototype = null === _117l ? Object.create(_117l) : (_117n.prototype = _117l.prototype, new _117n()); }); defineModule(_1175); Object.defineProperty(_1175, '__esModule', { 'value': !0 }), _1175.APIMapStart = void 0; var _117p = _1176(58566), _117q = _1176(36420), _117r = function(_117s) { var _117t = null; function _117u(_117v, _117w, _117x, _117y) { var _117z = null; void 0 === _117y && (_117y = !1); var _1180 = _117s.call(this) || this; return _1180._url = 'api_req_map/start', _1180._map = _117v, _1180._deck_id = _117w, _1180._serial_id = _117x, _1180._debug = _117y, _1180._model = new _117q.SortieModelEdit(), _1180; } return _1179(_117u, _117s), Object.defineProperty(_117u.prototype, 'model', { 'get': function() { var _1181 = null; return this._model; }, 'enumerable': !1, 'configurable': !0 }), _117u.prototype._connect = function() { var _1182 = null; this._post_data.api_maparea_id = this._map.area_id, this._post_data.api_mapinfo_no = this._map.map_no, this._post_data.api_deck_id = this._deck_id, this._post_data.api_serial_cid = this._serial_id, _117s.prototype._connect.call(this); }, _117u.prototype._completedEnd = function() { var _1183 = null; this._model.__init__(this._map, this._raw_data), _117s.prototype._completedEnd.call(this); }, _117u; }(_117p.APIBase); _1175.APIMapStart = _117r; }, 98133: function(_1184, _1185, _1186) { 'use strict'; var _1187 = null; var _1188, _1189 = this && this.__extends || (_1188 = function(_118a, _118b) { var _118c = null; return _1188 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_118d, _118e) { var _118f = null; _118d.__proto__ = _118e; } || function(_118g, _118h) { var _118i = null; for (var _118j in _118h) Object.prototype.hasOwnProperty.call(_118h, _118j) && (_118g[_118j] = _118h[_118j]); }, _1188(_118a, _118b); }, function(_118k, _118l) { var _118m = null; if ('function' != typeof _118l && null !== _118l) throw new TypeError('Class extends value ' + String(_118l) + ' is not a constructor or null'); function _118n() { var _118o = null; this.constructor = _118k; } _1188(_118k, _118l), _118k.prototype = null === _118l ? Object.create(_118l) : (_118n.prototype = _118l.prototype, new _118n()); }); defineModule(_1185); Object.defineProperty(_1185, '__esModule', { 'value': !0 }), _1185.AirUnitChangeActionStateAPI = void 0; var _118p = function(_118q) { var _118r = null; function _118s(_118t, _118u, _118v) { var _118w = null, _118x = _118q.call(this) || this; return _118x._url = 'api_req_air_corps/set_action', _118x._area_id = _118t, _118x._airunit_ids = _118u, _118x._changed_status = _118v, _118x; } return _1189(_118s, _118q), _118s.prototype._connect = function() { var _118y = null; this._post_data.api_area_id = this._area_id, this._post_data.api_base_id = this._airunit_ids.join(','), this._post_data.api_action_kind = this._changed_status.join(','), _118q.prototype._connect.call(this); }, _118s.prototype._completedEnd = function() { var _118z = null; _118q.prototype._completedEnd.call(this); }, _118s; }(_1186(58566).APIBase); _1185.AirUnitChangeActionStateAPI = _118p; }, 20638: function(_1190, _1191, _1192) { 'use strict'; var _1193 = null; var _1194, _1195 = this && this.__extends || (_1194 = function(_1196, _1197) { var _1198 = null; return _1194 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1199, _119a) { var _119b = null; _1199.__proto__ = _119a; } || function(_119c, _119d) { var _119e = null; for (var _119f in _119d) Object.prototype.hasOwnProperty.call(_119d, _119f) && (_119c[_119f] = _119d[_119f]); }, _1194(_1196, _1197); }, function(_119g, _119h) { var _119i = null; if ('function' != typeof _119h && null !== _119h) throw new TypeError('Class extends value ' + String(_119h) + ' is not a constructor or null'); function _119j() { var _119k = null; this.constructor = _119g; } _1194(_119g, _119h), _119g.prototype = null === _119h ? Object.create(_119h) : (_119j.prototype = _119h.prototype, new _119j()); }), _119l = this && this.__importDefault || function(_119m) { var _119n = null; return _119m && _119m.__esModule ? _119m : { 'default': _119m }; }; defineModule(_1191); Object.defineProperty(_1191, '__esModule', { 'value': !0 }), _1191.AirUnitChangeDeployBaseAPI = void 0; var _119o = _119l(_1192(18622)), _119p = _1192(89939), _119q = function(_119r) { var _119s = null; function _119t(_119u, _119v, _119w, _119x, _119y) { var _119z = null, _11a0 = _119r.call(this) || this; return _11a0._url = 'api_req_air_corps/change_deployment_base', _11a0._area_id = _119u, _11a0._airunit_id = _119v, _11a0._squadron_index = _119w, _11a0._item_mem_id = _119x, _11a0._airutni_id_src = _119y, _11a0; } return _1195(_119t, _119r), _119t.prototype._connect = function() { var _11a1 = null; this._post_data.api_area_id = this._area_id, this._post_data.api_base_id = this._airunit_id, this._post_data.api_squadron_id = this._squadron_index + 1, this._post_data.api_item_id = this._item_mem_id, this._post_data.api_base_id_src = this._airutni_id_src, _119r.prototype._connect.call(this); }, _119t.prototype._completedEnd = function() { var _11a2 = null, _11a3 = this._area_id, _11a4 = this._squadron_index, _11a5 = _119p.ObjUtil.getObjectArray(this._raw_data, 'api_base_items'); null == _11a5 || _11a5.forEach(function(_11a6) { var _11a7 = null; if (null != _11a6) { var _11a8 = _119p.ObjUtil.getNumber(_11a6, 'api_rid'), _11a9 = _119p.ObjUtil.getObjectArray(_11a6, 'api_plane_info'), _11aa = _119p.ObjUtil.getObject(_11a6, 'api_distance'); _119o.default.model.airunit.updateData(_11a3, _11a8, _11a4, _11a9, _11aa, !0); } }), _119r.prototype._completedEnd.call(this); }, _119t; }(_1192(58566).APIBase); _1191.AirUnitChangeDeployBaseAPI = _119q; }, 17524: function(_11ab, _11ac, _11ad) { 'use strict'; var _11ae = null; var _11af, _11ag = this && this.__extends || (_11af = function(_11ah, _11ai) { var _11aj = null; return _11af = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_11ak, _11al) { var _11am = null; _11ak.__proto__ = _11al; } || function(_11an, _11ao) { var _11ap = null; for (var _11aq in _11ao) Object.prototype.hasOwnProperty.call(_11ao, _11aq) && (_11an[_11aq] = _11ao[_11aq]); }, _11af(_11ah, _11ai); }, function(_11ar, _11as) { var _11at = null; if ('function' != typeof _11as && null !== _11as) throw new TypeError('Class extends value ' + String(_11as) + ' is not a constructor or null'); function _11au() { var _11av = null; this.constructor = _11ar; } _11af(_11ar, _11as), _11ar.prototype = null === _11as ? Object.create(_11as) : (_11au.prototype = _11as.prototype, new _11au()); }); defineModule(_11ac); Object.defineProperty(_11ac, '__esModule', { 'value': !0 }), _11ac.AirUnitChangeNameAPI = void 0; var _11aw = function(_11ax) { var _11ay = null; function _11az(_11b0, _11b1, _11b2) { var _11b3 = null, _11b4 = _11ax.call(this) || this; return _11b4._url = 'api_req_air_corps/change_name', _11b4._area_id = _11b0, _11b4._airunit_id = _11b1, _11b4._changed_name = _11b2, _11b4; } return _11ag(_11az, _11ax), _11az.prototype._connect = function() { var _11b5 = null; this._post_data.api_area_id = this._area_id, this._post_data.api_base_id = this._airunit_id, this._post_data.api_name = this._changed_name, _11ax.prototype._connect.call(this); }, _11az.prototype._completedEnd = function() { var _11b6 = null; _11ax.prototype._completedEnd.call(this); }, _11az; }(_11ad(58566).APIBase); _11ac.AirUnitChangeNameAPI = _11aw; }, 75350: function(_11b7, _11b8, _11b9) { 'use strict'; var _11ba = null; var _11bb, _11bc = this && this.__extends || (_11bb = function(_11bd, _11be) { var _11bf = null; return _11bb = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_11bg, _11bh) { var _11bi = null; _11bg.__proto__ = _11bh; } || function(_11bj, _11bk) { var _11bl = null; for (var _11bm in _11bk) Object.prototype.hasOwnProperty.call(_11bk, _11bm) && (_11bj[_11bm] = _11bk[_11bm]); }, _11bb(_11bd, _11be); }, function(_11bn, _11bo) { var _11bp = null; if ('function' != typeof _11bo && null !== _11bo) throw new TypeError('Class extends value ' + String(_11bo) + ' is not a constructor or null'); function _11bq() { var _11br = null; this.constructor = _11bn; } _11bb(_11bn, _11bo), _11bn.prototype = null === _11bo ? Object.create(_11bo) : (_11bq.prototype = _11bo.prototype, new _11bq()); }), _11bs = this && this.__importDefault || function(_11bt) { var _11bu = null; return _11bt && _11bt.__esModule ? _11bt : { 'default': _11bt }; }; defineModule(_11b8); Object.defineProperty(_11b8, '__esModule', { 'value': !0 }), _11b8.AirUnitEditAPI = void 0; var _11bv = _11bs(_11b9(18622)), _11bw = _11b9(89939), _11bx = function(_11by) { var _11bz = null; function _11c0(_11c1, _11c2, _11c3, _11c4) { var _11c5 = null, _11c6 = _11by.call(this) || this; return _11c6._url = 'api_req_air_corps/set_plane', _11c6._area_id = _11c1, _11c6._airunit_id = _11c2, _11c6._squadron_index = _11c3, _11c6._item_mem_id = _11c4, _11c6; } return _11bc(_11c0, _11by), _11c0.prototype._connect = function() { var _11c7 = null; this._post_data.api_area_id = this._area_id, this._post_data.api_base_id = this._airunit_id, this._post_data.api_squadron_id = this._squadron_index + 1, this._post_data.api_item_id = this._item_mem_id, _11by.prototype._connect.call(this); }, _11c0.prototype._completedEnd = function() { var _11c8 = null, _11c9 = 'api_after_bauxite'; if (1 == this._raw_data.hasOwnProperty(_11c9)) { var _11ca = _11bw.ObjUtil.getNumber(this._raw_data, _11c9); _11bv.default.model.useItem.get(34).__setCount__(_11ca), _11bv.default.view.portMain.updateInfo(); } var _11cb = this._area_id, _11cc = this._airunit_id, _11cd = this._squadron_index, _11ce = _11bw.ObjUtil.getObjectArray(this._raw_data, 'api_plane_info'), _11cf = _11bw.ObjUtil.getObject(this._raw_data, 'api_distance'); _11bv.default.model.airunit.updateData(_11cb, _11cc, _11cd, _11ce, _11cf), _11by.prototype._completedEnd.call(this); }, _11c0; }(_11b9(58566).APIBase); _11b8.AirUnitEditAPI = _11bx; }, 74731: function(_11cg, _11ch, _11ci) { 'use strict'; var _11cj = null; var _11ck, _11cl = this && this.__extends || (_11ck = function(_11cm, _11cn) { var _11co = null; return _11ck = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_11cp, _11cq) { var _11cr = null; _11cp.__proto__ = _11cq; } || function(_11cs, _11ct) { var _11cu = null; for (var _11cv in _11ct) Object.prototype.hasOwnProperty.call(_11ct, _11cv) && (_11cs[_11cv] = _11ct[_11cv]); }, _11ck(_11cm, _11cn); }, function(_11cw, _11cx) { var _11cy = null; if ('function' != typeof _11cx && null !== _11cx) throw new TypeError('Class extends value ' + String(_11cx) + ' is not a constructor or null'); function _11cz() { var _11d0 = null; this.constructor = _11cw; } _11ck(_11cw, _11cx), _11cw.prototype = null === _11cx ? Object.create(_11cx) : (_11cz.prototype = _11cx.prototype, new _11cz()); }), _11d1 = this && this.__importDefault || function(_11d2) { var _11d3 = null; return _11d2 && _11d2.__esModule ? _11d2 : { 'default': _11d2 }; }; defineModule(_11ch); Object.defineProperty(_11ch, '__esModule', { 'value': !0 }), _11ch.AirUnitExtendAPI = void 0; var _11d4 = _11d1(_11ci(18622)), _11d5 = function(_11d6) { var _11d7 = null; function _11d8(_11d9) { var _11da = null, _11db = _11d6.call(this) || this; return _11db._url = 'api_req_air_corps/expand_base', _11db._area_id = _11d9, _11db; } return _11cl(_11d8, _11d6), _11d8.prototype._connect = function() { var _11dc = null; this._post_data.api_area_id = this._area_id, _11d6.prototype._connect.call(this); }, _11d8.prototype._completedEnd = function() { var _11dd = null, _11de = this._raw_data[0]; _11d4.default.model.airunit.addData(_11de); var _11df = _11d4.default.model.useItem.get(73); _11df.__setCount__(_11df.count - 1), _11d6.prototype._completedEnd.call(this); }, _11d8; }(_11ci(58566).APIBase); _11ch.AirUnitExtendAPI = _11d5; }, 81053: function(_11dg, _11dh, _11di) { 'use strict'; var _11dj = null; var _11dk, _11dl = this && this.__extends || (_11dk = function(_11dm, _11dn) { var _11do = null; return _11dk = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_11dp, _11dq) { var _11dr = null; _11dp.__proto__ = _11dq; } || function(_11ds, _11dt) { var _11du = null; for (var _11dv in _11dt) Object.prototype.hasOwnProperty.call(_11dt, _11dv) && (_11ds[_11dv] = _11dt[_11dv]); }, _11dk(_11dm, _11dn); }, function(_11dw, _11dx) { var _11dy = null; if ('function' != typeof _11dx && null !== _11dx) throw new TypeError('Class extends value ' + String(_11dx) + ' is not a constructor or null'); function _11dz() { var _11e0 = null; this.constructor = _11dw; } _11dk(_11dw, _11dx), _11dw.prototype = null === _11dx ? Object.create(_11dx) : (_11dz.prototype = _11dx.prototype, new _11dz()); }), _11e1 = this && this.__importDefault || function(_11e2) { var _11e3 = null; return _11e2 && _11e2.__esModule ? _11e2 : { 'default': _11e2 }; }; defineModule(_11dh); Object.defineProperty(_11dh, '__esModule', { 'value': !0 }), _11dh.AirUnitSupplyAPI = void 0; var _11e4 = _11e1(_11di(18622)), _11e5 = _11di(89939), _11e6 = function(_11e7) { var _11e8 = null; function _11e9(_11ea, _11eb, _11ec) { var _11ed = null, _11ee = _11e7.call(this) || this; return _11ee._url = 'api_req_air_corps/supply', _11ee._area_id = _11ea, _11ee._airunit_id = _11eb, _11ee._squadron_ids = _11ec, _11ee; } return _11dl(_11e9, _11e7), _11e9.prototype._connect = function() { var _11ef = null; this._post_data.api_area_id = this._area_id, this._post_data.api_base_id = this._airunit_id, this._post_data.api_squadron_id = this._squadron_ids.join(','), _11e7.prototype._connect.call(this); }, _11e9.prototype._completedEnd = function() { var _11eg = null, _11eh = _11e5.ObjUtil.getNumber(this._raw_data, 'api_after_fuel'); _11e4.default.model.useItem.get(31).__setCount__(_11eh); var _11ei = _11e5.ObjUtil.getNumber(this._raw_data, 'api_after_bauxite'); _11e4.default.model.useItem.get(34).__setCount__(_11ei), _11e4.default.view.portMain.updateInfo(); var _11ej = _11e5.ObjUtil.getObjectArray(this._raw_data, 'api_plane_info'), _11ek = _11e5.ObjUtil.getObject(this._raw_data, 'api_distance'), _11el = this._area_id, _11em = this._airunit_id; _11e4.default.model.airunit.getAirUnit(_11el, _11em).updateSquadronData(_11ej, _11ek), _11e7.prototype._completedEnd.call(this); }, _11e9; }(_11di(58566).APIBase); _11dh.AirUnitSupplyAPI = _11e6; }, 77878: function(_11en, _11eo, _11ep) { 'use strict'; var _11eq = null; var _11er, _11es = this && this.__extends || (_11er = function(_11et, _11eu) { var _11ev = null; return _11er = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_11ew, _11ex) { var _11ey = null; _11ew.__proto__ = _11ex; } || function(_11ez, _11f0) { var _11f1 = null; for (var _11f2 in _11f0) Object.prototype.hasOwnProperty.call(_11f0, _11f2) && (_11ez[_11f2] = _11f0[_11f2]); }, _11er(_11et, _11eu); }, function(_11f3, _11f4) { var _11f5 = null; if ('function' != typeof _11f4 && null !== _11f4) throw new TypeError('Class extends value ' + String(_11f4) + ' is not a constructor or null'); function _11f6() { var _11f7 = null; this.constructor = _11f3; } _11er(_11f3, _11f4), _11f3.prototype = null === _11f4 ? Object.create(_11f4) : (_11f6.prototype = _11f4.prototype, new _11f6()); }), _11f8 = this && this.__importDefault || function(_11f9) { var _11fa = null; return _11f9 && _11f9.__esModule ? _11f9 : { 'default': _11f9 }; }; defineModule(_11eo); Object.defineProperty(_11eo, '__esModule', { 'value': !0 }), _11eo.ExpandMaintenanceLevelAPI = void 0; var _11fb = _11f8(_11ep(18622)), _11fc = function(_11fd) { var _11fe = null; function _11ff(_11fg) { var _11fh = null, _11fi = _11fd.call(this) || this; return _11fi._url = 'api_req_air_corps/expand_maintenance_level', _11fi._area_id = _11fg, _11fi; } return _11es(_11ff, _11fd), _11ff.prototype._connect = function() { var _11fj = null; this._post_data.api_area_id = this._area_id, _11fd.prototype._connect.call(this); }, _11ff.prototype._completedEnd = function() { var _11fk = null, _11fl = _11fb.default.model.useItem.get(73); _11fl.__setCount__(_11fl.count - 1); var _11fm = _11fb.default.model.airbase.getAirBase(this._area_id); null != _11fm ? _11fb.default.model.airbase.updateData(this._area_id, _11fm.level + 1) : _11fb.default.model.airbase.addData(this._area_id), _11fd.prototype._completedEnd.call(this); }, _11ff; }(_11ep(58566).APIBase); _11eo.ExpandMaintenanceLevelAPI = _11fc; }, 98527: function(_11fn, _11fo, _11fp) { 'use strict'; var _11fq = null; var _11fr, _11fs = this && this.__extends || (_11fr = function(_11ft, _11fu) { var _11fv = null; return _11fr = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_11fw, _11fx) { var _11fy = null; _11fw.__proto__ = _11fx; } || function(_11fz, _11g0) { var _11g1 = null; for (var _11g2 in _11g0) Object.prototype.hasOwnProperty.call(_11g0, _11g2) && (_11fz[_11g2] = _11g0[_11g2]); }, _11fr(_11ft, _11fu); }, function(_11g3, _11g4) { var _11g5 = null; if ('function' != typeof _11g4 && null !== _11g4) throw new TypeError('Class extends value ' + String(_11g4) + ' is not a constructor or null'); function _11g6() { var _11g7 = null; this.constructor = _11g3; } _11fr(_11g3, _11g4), _11g3.prototype = null === _11g4 ? Object.create(_11g4) : (_11g6.prototype = _11g4.prototype, new _11g6()); }), _11g8 = this && this.__importDefault || function(_11g9) { var _11ga = null; return _11g9 && _11g9.__esModule ? _11g9 : { 'default': _11g9 }; }; defineModule(_11fo); Object.defineProperty(_11fo, '__esModule', { 'value': !0 }), _11fo.MapInfoAPI = void 0; var _11gb = _11g8(_11fp(18622)), _11gc = _11fp(58566), _11gd = _11fp(89939), _11ge = function(_11gf) { var _11gg = null; function _11gh() { var _11gi = null, _11gj = _11gf.call(this) || this; return _11gj._url = 'api_get_member/mapinfo', _11gj; } return _11fs(_11gh, _11gf), _11gh.prototype._completedEnd = function() { var _11gk = null, _11gl = _11gd.ObjUtil.getObjectArray(this._raw_data, 'api_map_info'); _11gb.default.model.map.setMapMem(_11gl); var _11gm = _11gd.ObjUtil.getObjectArray(this._raw_data, 'api_air_base'); _11gb.default.model.airunit.setData(_11gm); var _11gn = _11gd.ObjUtil.getObjectArray(this._raw_data, 'api_air_base_expanded_info'); _11gb.default.model.airbase.setData(_11gn), _11gf.prototype._completedEnd.call(this); }, _11gh; }(_11gc.APIBase); _11fo.MapInfoAPI = _11ge; }, 84882: (_11go, _11gp) => { 'use strict'; var _11gq = null; defineModule(_11gp); Object.defineProperty(_11gp, '__esModule', { 'value': !0 }), _11gp.getPosition = _11gp.getType = void 0, _11gp.getType = function(_11gr) { var _11gs = null; return 64 == _11gr || 74 == _11gr ? 1 : [581, 582, 584].indexOf(_11gr) > -1 ? 3 : [583].indexOf(_11gr) > -1 ? 4 : 0; }, _11gp.getPosition = function(_11gt) { var _11gu = null; return 64 == _11gt ? new PIXI.Point(-26, 69) : 65 == _11gt ? new PIXI.Point(-34, 47) : 74 == _11gt ? new PIXI.Point(-26, 69) : 581 == _11gt || 582 == _11gt ? new PIXI.Point(-20, 144) : 583 == _11gt || 584 == _11gt ? new PIXI.Point(-20, 341) : null; }; }, 14608: (_11gv, _11gw, _11gx) => { 'use strict'; var _11gy = null; defineModule(_11gw); Object.defineProperty(_11gw, '__esModule', { 'value': !0 }), _11gw.getKadouCount = _11gw.getEquipTypes = void 0; var _11gz = _11gx(51805); _11gw.getEquipTypes = function(_11h0) { var _11h1 = null; return 0 == _11h0 ? [_11gz.EquipType._47_RIKUJO_KOUGEKIKI, _11gz.EquipType._53_OOGATA_RIKUJOKI] : 1 == _11h0 ? [_11gz.EquipType._48_KYOKUCHI_SENTOUKI] : 2 == _11h0 ? [_11gz.EquipType._06_KANJO_SENTOUKI, _11gz.EquipType._56_FUNSHIKI_SENTOUKI] : 3 == _11h0 ? [_11gz.EquipType._07_KANJO_BAKUGEKIKI, _11gz.EquipType._08_KANJO_KOUGEKIKI, _11gz.EquipType._26_TAISEN_SHOKAIKI, _11gz.EquipType._57_FUNSHIKI_BAKUGEKIKI, _11gz.EquipType._58_FUNSHIKI_KOUGEKIKI] : 4 == _11h0 ? [_11gz.EquipType._09_KANJO_TEISATSUKI, _11gz.EquipType._10_SUIJO_TEISATSUKI, _11gz.EquipType._11_SUIJO_BAKUGEKIKI, _11gz.EquipType._25_AUTOGYRO, _11gz.EquipType._41_OGATA_HIKOUTEI, _11gz.EquipType._45_SUIJO_SENTOUKI, _11gz.EquipType._49_RIKUJO_TEISATSUKI, _11gz.EquipType._59_FUNSHIKI_TEISATSUKI, _11gz.EquipType._94_KANJO_TEISATSUKI] : []; }, _11gw.getKadouCount = function(_11h2) { var _11h3 = null, _11h4 = [_11gz.EquipType._09_KANJO_TEISATSUKI, _11gz.EquipType._10_SUIJO_TEISATSUKI, _11gz.EquipType._41_OGATA_HIKOUTEI, _11gz.EquipType._49_RIKUJO_TEISATSUKI, _11gz.EquipType._59_FUNSHIKI_TEISATSUKI, _11gz.EquipType._94_KANJO_TEISATSUKI], _11h5 = [_11gz.EquipType._53_OOGATA_RIKUJOKI]; return _11h4.indexOf(_11h2) >= 0 ? 4 : _11h5.indexOf(_11h2) >= 0 ? 9 : 18; }; }, 34690: function(_11h6, _11h7, _11h8) { 'use strict'; var _11h9 = null; var _11ha, _11hb = this && this.__extends || (_11ha = function(_11hc, _11hd) { var _11he = null; return _11ha = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_11hf, _11hg) { var _11hh = null; _11hf.__proto__ = _11hg; } || function(_11hi, _11hj) { var _11hk = null; for (var _11hl in _11hj) Object.prototype.hasOwnProperty.call(_11hj, _11hl) && (_11hi[_11hl] = _11hj[_11hl]); }, _11ha(_11hc, _11hd); }, function(_11hm, _11hn) { var _11ho = null; if ('function' != typeof _11hn && null !== _11hn) throw new TypeError('Class extends value ' + String(_11hn) + ' is not a constructor or null'); function _11hp() { var _11hq = null; this.constructor = _11hm; } _11ha(_11hm, _11hn), _11hm.prototype = null === _11hn ? Object.create(_11hn) : (_11hp.prototype = _11hn.prototype, new _11hp()); }), _11hr = this && this.__importDefault || function(_11hs) { var _11ht = null; return _11hs && _11hs.__esModule ? _11hs : { 'default': _11hs }; }; defineModule(_11h7); Object.defineProperty(_11h7, '__esModule', { 'value': !0 }), _11h7.TaskAirBaseMaint = void 0; var _11hu = _11h8(81755), _11hv = _11h8(35380), _11hw = _11h8(87475), _11hx = _11hr(_11h8(18622)), _11hy = _11h8(86245), _11hz = _11h8(77878), _11i0 = _11h8(35569), _11i1 = function(_11i2) { var _11i3 = null; function _11i4() { var _11i5 = null, _11i6 = _11i2.call(this) || this; return _11i6._clickClose = function() { var _11i7 = null; _11i6.endTask(); }, _11i6._onLevelUp = function(_11i8) { var _11i9 = null, _11ia = new _11i0.TaskExpandAirBaseLvConfirm(_11i8, _11hx.default.view.overLayer, function(_11ib) { var _11ic = null; switch (_11hx.default.view.clickGuard = !0, _11ib) { case !1: _11ia.dispose(), _11hx.default.view.clickGuard = !1; break; case !0: new _11hz.ExpandMaintenanceLevelAPI(_11i8).start(function() { var _11id = null; _11i6._panel.update(), _11ia.animation(function() { var _11ie = null; _11ia.dispose(), _11hx.default.view.clickGuard = !1; }); }); } }), _11if = _11hx.default.model.useItem.get(73).count; _11ia.start(_11if); }, _11i6._panel = new _11hy.AirBaseMaintPanel(_11i6._onLevelUp), _11i6._bg = new _11hw.FadeBox(0.4), _11i6._bg.buttonMode = !0, _11i6; } return _11hb(_11i4, _11i2), _11i4.prototype._start = function() { var _11ig = null; this._show(); }, _11i4.prototype._show = function() { var _11ih = null; this._panel.position.set(255, 99), this._bg.on(_11hv.EventType.CLICK, this._clickClose), _11hx.default.view.overLayer.addChild(this._bg), _11hx.default.view.overLayer.addChild(this._panel); }, _11i4.prototype.endTask = function() { var _11ii = null; this._bg.off(_11hv.EventType.CLICK, this._clickClose), _11hx.default.view.overLayer.removeChild(this._bg), _11hx.default.view.overLayer.removeChild(this._panel), this._bg.destroy(), this._bg = null, this._panel.dispose(), this._panel = null, _11i2.prototype._endTask.call(this); }, _11i4; }(_11hu.TaskBase); _11h7.TaskAirBaseMaint = _11i1; }, 96721: function(_11ij, _11ik, _11il) { 'use strict'; var _11im = null; var _11in, _11io = this && this.__extends || (_11in = function(_11ip, _11iq) { var _11ir = null; return _11in = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_11is, _11it) { var _11iu = null; _11is.__proto__ = _11it; } || function(_11iv, _11iw) { var _11ix = null; for (var _11iy in _11iw) Object.prototype.hasOwnProperty.call(_11iw, _11iy) && (_11iv[_11iy] = _11iw[_11iy]); }, _11in(_11ip, _11iq); }, function(_11iz, _11j0) { var _11j1 = null; if ('function' != typeof _11j0 && null !== _11j0) throw new TypeError('Class extends value ' + String(_11j0) + ' is not a constructor or null'); function _11j2() { var _11j3 = null; this.constructor = _11iz; } _11in(_11iz, _11j0), _11iz.prototype = null === _11j0 ? Object.create(_11j0) : (_11j2.prototype = _11j0.prototype, new _11j2()); }), _11j4 = this && this.__importDefault || function(_11j5) { var _11j6 = null; return _11j5 && _11j5.__esModule ? _11j5 : { 'default': _11j5 }; }; defineModule(_11ik); Object.defineProperty(_11ik, '__esModule', { 'value': !0 }), _11ik.TaskAirUnitChangeConfirm = void 0; var _11j7 = _11il(81755), _11j8 = _11il(75350), _11j9 = _11il(20638), _11ja = _11j4(_11il(18622)), _11jb = function(_11jc) { var _11jd = null; function _11je(_11jf, _11jg, _11jh, _11ji) { var _11jj = null, _11jk = _11jc.call(this) || this; return _11jk._area_id = _11jf, _11jk._airunit_id = _11jg, _11jk._squadron_index = _11jh, _11jk._item = _11ji, _11jk; } return _11io(_11je, _11jc), _11je.prototype._start = function() { var _11jl = null, _11jm = this, _11jn = this._deployedAirBase(this._area_id, this._airunit_id, this._squadron_index, this._item.memID); (_11jn > 0 ? new _11j9.AirUnitChangeDeployBaseAPI(this._area_id, this._airunit_id, this._squadron_index, this._item.memID, _11jn) : new _11j8.AirUnitEditAPI(this._area_id, this._airunit_id, this._squadron_index, this._item.memID)).start(function() { var _11jo = null; _11jm._endTask(); }); }, _11je.prototype._deployedAirBase = function(_11jp, _11jq, _11jr, _11js) { var _11jt = null, _11ju = _11ja.default.model.airunit.getAirUnit(_11jp, _11jq), _11jv = null != _11ju.squadrons[_11jr] ? _11ju.squadrons[_11jr] : null, _11jw = (null == _11jv ? void 0 : _11jv.mst_id) <= 0, _11jx = _11ja.default.model.airunit.getAirUnitList(_11jp), _11jy = 0; return null != _11jx && _11jx.forEach(function(_11jz) { var _11k0 = null; _11jz.squadrons.forEach(function(_11k1) { var _11k2 = null; _11k1.mem_id != _11js || _11jw || _11jz.id == _11jq || (_11jy = _11jz.id); }); }), _11jy; }, _11je.prototype._endTask = function() { var _11k3 = null; this._item = null, _11jc.prototype._endTask.call(this); }, _11je; }(_11j7.TaskBase); _11ik.TaskAirUnitChangeConfirm = _11jb; }, 49488: function(_11k4, _11k5, _11k6) { 'use strict'; var _11k7 = null; var _11k8, _11k9 = this && this.__extends || (_11k8 = function(_11ka, _11kb) { var _11kc = null; return _11k8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_11kd, _11ke) { var _11kf = null; _11kd.__proto__ = _11ke; } || function(_11kg, _11kh) { var _11ki = null; for (var _11kj in _11kh) Object.prototype.hasOwnProperty.call(_11kh, _11kj) && (_11kg[_11kj] = _11kh[_11kj]); }, _11k8(_11ka, _11kb); }, function(_11kk, _11kl) { var _11km = null; if ('function' != typeof _11kl && null !== _11kl) throw new TypeError('Class extends value ' + String(_11kl) + ' is not a constructor or null'); function _11kn() { var _11ko = null; this.constructor = _11kk; } _11k8(_11kk, _11kl), _11kk.prototype = null === _11kl ? Object.create(_11kl) : (_11kn.prototype = _11kl.prototype, new _11kn()); }); defineModule(_11k5); Object.defineProperty(_11k5, '__esModule', { 'value': !0 }), _11k5.TaskAirUnitImageLoader = void 0; var _11kp = _11k6(81755), _11kq = _11k6(37760), _11kr = function(_11ks) { var _11kt = null; function _11ku(_11kv) { var _11kw = null, _11kx = _11ks.call(this) || this; return _11kx._mstid = _11kv, _11kx; } return _11k9(_11ku, _11ks), _11ku.prototype._start = function() { var _11ky = null, _11kz = this; new _11kq.SlotLoader().add(this._mstid, 'airunit_banner').add(this._mstid, 'airunit_name').load(function() { var _11l0 = null; _11kz._endTask(); }); }, _11ku.prototype.cancel = function() { var _11l1 = null; this._cb = null, this._cb_failed = null; }, _11ku; }(_11kp.TaskBase); _11k5.TaskAirUnitImageLoader = _11kr; }, 35569: function(_11l2, _11l3, _11l4) { 'use strict'; var _11l5 = null; var _11l6 = this && this.__importDefault || function(_11l7) { var _11l8 = null; return _11l7 && _11l7.__esModule ? _11l7 : { 'default': _11l7 }; }; defineModule(_11l3); Object.defineProperty(_11l3, '__esModule', { 'value': !0 }), _11l3.TaskExpandAirBaseLvConfirm = void 0; var _11l9 = _11l6(_11l4(18622)), _11la = _11l4(79899), _11lb = _11l4(83415), _11lc = _11l4(59640), _11ld = _11l4(79675), _11le = (function() { var _11lf = null; function _11lg(_11lh, _11li, _11lj) { var _11lk = null, _11ll = this; this._onClickYES = function() { var _11lm = null; _11ll._onComplete(!0); }, this._onClickNO = function() { var _11ln = null; _11ll._onComplete(!1); }, this.container = _11li, this.dialogBackground = new _11la.AreaBox(_11lb.UISettings.DIALOG_BG_ALPHA), this.expandConfirm = new _11lc.ExpandConfirm(_11lh, this._onClickYES, this._onClickNO), this._onComplete = _11lj, this._white = new _11la.AreaBox(1, 16774898), this._white.alpha = 0, this._ending_txt = new PIXI.Sprite(_11ld.SALLY_AIRBASE_MAINT.getTexture(23)), this._ending_txt.anchor.set(0.5), this._ending_txt.visible = !1; } return _11lg.prototype.start = function(_11lo) { var _11lp = null, _11lq = this; this.expandConfirm.position.set(218, 233), this.container.addChild(this.dialogBackground), this.container.addChild(this.expandConfirm), this.expandConfirm.visible = !1, this.dialogBackground.alpha = 0, _11l9.default.view.clickGuard = !0, createjs.Tween.get(this.dialogBackground).to({ 'alpha': 1 }, 250).call(function() { var _11lr = null; _11lq.expandConfirm.visible = !0, _11l9.default.view.clickGuard = !1; }), this.expandConfirm.update(_11lo); }, _11lg.prototype.animation = function(_11ls) { var _11lt = null, _11lu = this; createjs.Tween.get(this.expandConfirm.confirm_container).to({ 'alpha': 0 }, 500), createjs.Tween.get(this.expandConfirm.animation_container).to({ 'alpha': 1 }, 500).call(function() { var _11lv = null; _11lu.expandConfirm.startAnimation(function() { var _11lw = null; _11lu._ending(_11ls); }); }); }, _11lg.prototype._ending = function(_11lx) { var _11ly = null, _11lz = this; this._ending_txt.position.set(1600, 357), this.container.addChild(this._white), this.container.addChild(this._ending_txt), createjs.Tween.get(this._white).to({ 'alpha': 1 }, 500).wait(2000).call(function() { var _11m0 = null; _11lz._hideDialog(); }).to({ 'alpha': 0 }, 400).call(function() { var _11m1 = null; _11lz.container.removeChild(_11lz._white), _11lz.container.removeChild(_11lz._ending_txt), _11lz._hideDialog(), _11lx(); }), createjs.Tween.get(this._ending_txt).wait(500).set({ 'visible': !0 }).to({ 'x': 680 }, 600, createjs.Ease.sineOut).to({ 'x': 570 }, 700).to({ 'x': -400 }, 700, createjs.Ease.sineIn).set({ 'visible': !1 }); }, _11lg.prototype._hideDialog = function() { var _11m2 = null; this.dialogBackground.alpha = 0, this.expandConfirm.visible = !1; }, _11lg.prototype.dispose = function() { var _11m3 = null; this.container.removeChild(this.dialogBackground), this.container.removeChild(this.expandConfirm), this._white.destroy(), this._white = null, this._ending_txt.destroy(), this._ending_txt = null, this._onComplete = null, this.container = null, this.dialogBackground = null, this.expandConfirm.dispose(), this.expandConfirm = null; }, _11lg; }()); _11l3.TaskExpandAirBaseLvConfirm = _11le; }, 6597: function(_11m4, _11m5, _11m6) { 'use strict'; var _11m7 = null; var _11m8, _11m9 = this && this.__extends || (_11m8 = function(_11ma, _11mb) { var _11mc = null; return _11m8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_11md, _11me) { var _11mf = null; _11md.__proto__ = _11me; } || function(_11mg, _11mh) { var _11mi = null; for (var _11mj in _11mh) Object.prototype.hasOwnProperty.call(_11mh, _11mj) && (_11mg[_11mj] = _11mh[_11mj]); }, _11m8(_11ma, _11mb); }, function(_11mk, _11ml) { var _11mm = null; if ('function' != typeof _11ml && null !== _11ml) throw new TypeError('Class extends value ' + String(_11ml) + ' is not a constructor or null'); function _11mn() { var _11mo = null; this.constructor = _11mk; } _11m8(_11mk, _11ml), _11mk.prototype = null === _11ml ? Object.create(_11ml) : (_11mn.prototype = _11ml.prototype, new _11mn()); }), _11mp = this && this.__importDefault || function(_11mq) { var _11mr = null; return _11mq && _11mq.__esModule ? _11mq : { 'default': _11mq }; }; defineModule(_11m5); Object.defineProperty(_11m5, '__esModule', { 'value': !0 }), _11m5.TaskExtendAirUnit = void 0; var _11ms = _11mp(_11m6(21359)), _11mt = _11mp(_11m6(18622)), _11mu = _11m6(35380), _11mv = _11m6(81755), _11mw = _11m6(45054), _11mx = _11m6(79899), _11my = _11m6(8744), _11mz = _11m6(57616), _11n0 = _11m6(79787), _11n1 = _11m6(70723), _11n2 = _11m6(11997), _11n3 = _11m6(98583), _11n4 = _11m6(74731), _11n5 = function(_11n6) { var _11n7 = null; function _11n8(_11n9, _11na, _11nb) { var _11nc = null, _11nd = _11n6.call(this) || this; return _11nd._onSelect = function(_11ne) { var _11nf = null; (_11nd._dialog.deactivate(), 0 == _11ne) ? (_11nd._removeDialog(), _11nd._endTask()) : new _11n4.AirUnitExtendAPI(_11nd._area_id).start(function() { var _11ng = null; _11nd._removeDialog(), _11nd._loadItemCard(); }); }, _11nd._layer = _11n9, _11nd._area_id = _11na, _11nd._cb_onUpdateInAnimation = _11nb, _11nd; } return _11m9(_11n8, _11n6), _11n8.prototype._start = function() { var _11nh = null; this._bg = new _11mx.AreaBox(0.6), this._layer.addChild(this._bg), this._dialog = new _11ni(this._onSelect), this._dialog.initialize(); var _11nj = this._area_id, _11nk = _11mt.default.model.useItem.getCount(73); this._dialog.update(_11nj, _11nk), this._dialog.activate(), this._layer.addChild(this._dialog); }, _11n8.prototype._removeDialog = function() { var _11nl = null; this._layer.removeChild(this._dialog), this._dialog.dispose(), this._dialog = null; }, _11n8.prototype._loadItemCard = function() { var _11nm = null, _11nn = this, _11no = new _11n0.UseitemLoader(); _11no.add(73, 1), _11no.load(function() { var _11np = null; _11nn._loadTextImage(); }); }, _11n8.prototype._loadTextImage = function() { var _11nq = null, _11nr = this, _11ns = _11mz.MathUtil.zeroPadding(this._area_id, 3), _11nt = _11mt.default.settings.path_root + 'resources/area/airunit_extend_confirm/'['concat'](_11ns, '_.png'), _11nu = new PIXI.loaders.Loader(); _11nu.add(_11nt), _11nu.load(function() { var _11nv = null; _11nr._message = new PIXI.Container(); var _11nw = _11nu.resources[_11nt].texture, _11nx = new PIXI.Sprite(_11nw); _11nr._message.addChild(_11nx); var _11ny = new PIXI.Sprite(_11n3.SALLY_AIRUNIT.getTexture(173)); _11nr._message.addChild(_11ny), _11nx.x = _11ms.default.width / 2 - Math.round(_11nx.width / 2), _11ny.x = _11ms.default.width / 2 - Math.round(_11ny.width / 2); var _11nz = _11nx.height / 2 + _11ny.height; _11nx.y = _11ms.default.height / 2 - Math.round(_11nz / 2), _11ny.y = _11nx.y + Math.round(_11nx.height / 2), _11nr._showCard(); }); }, _11n8.prototype._showCard = function() { var _11o0 = null, _11o1 = this; this._card = new _11mw.Container(), this._card.position.set(_11ms.default.width / 2, _11ms.default.height / 2), this._card.scale.set(0), this._layer.addChild(this._card); var _11o2 = _11mt.default.resources.getUseitem(73, 1), _11o3 = new PIXI.Sprite(_11o2); _11o3.position.set(-_11o3.width / 2, -_11o3.height / 2), this._card.addChild(_11o3), _11n1.SE.play('230'), createjs.Tween.get(this._card).to({ 'scaleX': 1, 'scaleY': 1 }, 250).wait(1300).call(function() { var _11o4 = null; _11o1._shakeCard(); }); }, _11n8.prototype._shakeCard = function() { var _11o5 = null; for (var _11o6 = this, _11o7 = createjs.Tween.get(null), _11o8 = 0; _11o8 < 20; _11o8++) _11o7.call(function() { var _11o9 = null; _11o6._card.x = _11ms.default.width / 2 + 16 * Math.random() - 8, _11o6._card.y = _11ms.default.height / 2 + 16 * Math.random() - 8; }), _11o7.wait(50); _11o7.call(function() { var _11oa = null; _11o6._card.x = _11ms.default.width / 2, _11o6._card.y = _11ms.default.height / 2, _11o6._showFlash(); }); }, _11n8.prototype._showFlash = function() { var _11ob = null, _11oc = this, _11od = new _11mw.Container(); _11od.position.set(_11ms.default.width / 2, _11ms.default.height / 2), _11od.scale.set(1.25), _11od.alpha = 0, this._layer.addChild(_11od); var _11oe = new PIXI.Sprite(_11n2.COMMON_MISC.getTexture(73)); _11oe.position.set(-_11oe.width / 2, -_11oe.height / 2), _11od.addChild(_11oe), createjs.Tween.get(_11od).to({ 'scaleX': 2, 'scaleY': 2, 'alpha': 1 }, 350).to({ 'scaleX': 2.8, 'scaleY': 2.8 }, 300), this._white = new _11mx.AreaBox(1, 16777215), this._white.alpha = 0, this._layer.addChild(this._white), createjs.Tween.get(this._white).wait(200).to({ 'alpha': 1 }, 450).call(function() { var _11of = null; null != _11oc._cb_onUpdateInAnimation && _11oc._cb_onUpdateInAnimation(), _11oc._layer.removeChild(_11oc._card), _11oc._card = null, _11oc._layer.removeChild(_11od), _11oc._showText(); }); }, _11n8.prototype._showText = function() { var _11og = null, _11oh = this; this._message.x = _11ms.default.width, this._white.addChild(this._message), _11n1.SE.play('216'), createjs.Tween.get(this._message).to({ 'x': 0 }, 500).wait(500).call(function() { var _11oi = null; _11oh._waitClick(); }); }, _11n8.prototype._waitClick = function() { var _11oj = null, _11ok = this; this._white.buttonMode = !0, this._white.once(_11mu.EventType.CLICK, function() { var _11ol = null; _11ok._bg.alpha = 0, createjs.Tween.get(_11ok._white).to({ 'alpha': 0 }, 1000).call(function() { var _11om = null; _11ok._layer.removeChild(_11ok._white), _11ok._white = null, _11ok._endTask(); }); }); }, _11n8.prototype._endTask = function() { var _11on = null; this._layer.removeChild(this._bg), this._bg = null, _11n6.prototype._endTask.call(this); }, _11n8; }(_11mv.TaskBase); _11m5.TaskExtendAirUnit = _11n5; var _11ni = function(_11oo) { var _11op = null; function _11oq(_11or) { var _11os = null, _11ot = _11oo.call(this) || this; return _11ot._onClickYes = function() { var _11ou = null; null != _11ot._cb_onResult && _11ot._cb_onResult(!0); }, _11ot._onClickNo = function() { var _11ov = null; null != _11ot._cb_onResult && _11ot._cb_onResult(!1); }, _11ot._cb_onResult = _11or, _11ot._bg = new PIXI.Sprite(), _11ot._bg.position.set(231, 185), _11ot.addChild(_11ot._bg), _11ot._area_name = new PIXI.Sprite(), _11ot._area_name.position.set(0, 219), _11ot.addChild(_11ot._area_name), _11ot._title = new PIXI.Sprite(), _11ot._title.position.set(437, 260), _11ot.addChild(_11ot._title), _11ot._icon = new PIXI.Sprite(), _11ot._icon.position.set(533, 327), _11ot.addChild(_11ot._icon), _11ot._item_num = new _11my.TextBox(20, 1381651), _11ot._item_num.position.set(621, 351), _11ot.addChild(_11ot._item_num), _11ot._logo = new PIXI.Sprite(), _11ot._logo.position.set(761, 96), _11ot.addChild(_11ot._logo), _11ot._btn_yes = new PIXI.Sprite(), _11ot._btn_yes.position.set(387, 455), _11ot.addChild(_11ot._btn_yes), _11ot._btn_no = new PIXI.Sprite(), _11ot._btn_no.position.set(642, 455), _11ot.addChild(_11ot._btn_no), _11ot._btn_yes.interactive = !0, _11ot._btn_no.interactive = !0, _11ot; } return _11m9(_11oq, _11oo), _11oq.prototype.initialize = function() { var _11ow = null; this._bg.texture = _11n3.SALLY_AIRUNIT.getTexture(114), this._title.texture = _11n3.SALLY_AIRUNIT.getTexture(180), this._icon.texture = _11mt.default.resources.getUseitem(73, 0), this._item_num.text = '1→0', this._logo.texture = _11n3.SALLY_AIRUNIT.getTexture(49), this._btn_yes.texture = _11n3.SALLY_AIRUNIT.getTexture(35), this._btn_no.texture = _11n3.SALLY_AIRUNIT.getTexture(16); }, _11oq.prototype.update = function(_11ox, _11oy) { var _11oz = null, _11p0 = this, _11p1 = _11mz.MathUtil.zeroPadding(_11ox, 3), _11p2 = _11mt.default.settings.path_root + 'resources/area/airunit_extend_confirm/'['concat'](_11p1, '.png'), _11p3 = new PIXI.loaders.Loader(); _11p3.add(_11p2), _11p3.load(function() { var _11p4 = null, _11p5 = _11p3.resources[_11p2].texture; _11p0._area_name.texture = _11p5; var _11p6 = _11p0._title.x + _11p0._title.width / 2 - _11p0._area_name.width / 2; _11p0._area_name.x = Math.round(_11p6); }); var _11p7 = _11oy; this._item_num.text = '' ['concat'](_11p7, '→').concat(Math.max(0, _11p7 - 1)); }, _11oq.prototype.activate = function() { var _11p8 = null; 0 == this._btn_yes.buttonMode && (this._btn_yes.buttonMode = !0, this._btn_yes.on(_11mu.EventType.CLICK, this._onClickYes)), 0 == this._btn_no.buttonMode && (this._btn_no.buttonMode = !0, this._btn_no.on(_11mu.EventType.CLICK, this._onClickNo)); }, _11oq.prototype.deactivate = function() { var _11p9 = null; this._btn_yes.buttonMode = !1, this._btn_yes.off(_11mu.EventType.CLICK, this._onClickYes), this._btn_no.buttonMode = !1, this._btn_no.off(_11mu.EventType.CLICK, this._onClickNo); }, _11oq.prototype.dispose = function() { var _11pa = null; this.deactivate(), this.removeChildren(), this._item_num.destroy(), this._cb_onResult = null; }, _11oq; }(PIXI.Container); }, 44961: function(_11pb, _11pc, _11pd) { 'use strict'; var _11pe = null; var _11pf, _11pg = this && this.__extends || (_11pf = function(_11ph, _11pi) { var _11pj = null; return _11pf = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_11pk, _11pl) { var _11pm = null; _11pk.__proto__ = _11pl; } || function(_11pn, _11po) { var _11pp = null; for (var _11pq in _11po) Object.prototype.hasOwnProperty.call(_11po, _11pq) && (_11pn[_11pq] = _11po[_11pq]); }, _11pf(_11ph, _11pi); }, function(_11pr, _11ps) { var _11pt = null; if ('function' != typeof _11ps && null !== _11ps) throw new TypeError('Class extends value ' + String(_11ps) + ' is not a constructor or null'); function _11pu() { var _11pv = null; this.constructor = _11pr; } _11pf(_11pr, _11ps), _11pr.prototype = null === _11ps ? Object.create(_11ps) : (_11pu.prototype = _11ps.prototype, new _11pu()); }), _11pw = this && this.__importDefault || function(_11px) { var _11py = null; return _11px && _11px.__esModule ? _11px : { 'default': _11px }; }; defineModule(_11pc); Object.defineProperty(_11pc, '__esModule', { 'value': !0 }), _11pc.TaskLoadGaugeResources = void 0; var _11pz = _11pw(_11pd(18622)), _11q0 = _11pd(81755), _11q1 = _11pd(84412), _11q2 = function(_11q3) { var _11q4 = null; function _11q5(_11q6) { var _11q7 = null, _11q8 = _11q3.call(this) || this; return _11q8._maps = _11q6, _11q8; } return _11pg(_11q5, _11q3), _11q5.prototype._start = function() { var _11q9 = null; this._load(); }, _11q5.prototype._load = function() { var _11qa = null; for (var _11qb = this, _11qc = _11pz.default.resources.gauge.createLoaderHorizontal(), _11qd = 0, _11qe = this._maps; _11qd < _11qe.length; _11qd++) { var _11qf = _11qe[_11qd]; if ((0 != _11qf.defeat_required || 0 != _11qf.gauge_max) && 0 != _11qf.isOpened()) { var _11qg = _11qf.area_id, _11qh = _11qf.map_no, _11qi = _11qf.getGaugeNum(), _11qj = _11q1.GaugeSetModel.createKey(_11qg, _11qh, _11qi); _11qc.add(_11qj); } } _11qc.count > 0 ? _11qc.load(function() { var _11qk = null; _11qb._endTask(); }) : this._endTask(); }, _11q5.prototype._endTask = function() { var _11ql = null; this._maps = null, _11q3.prototype._endTask.call(this); }, _11q5; }(_11q0.TaskBase); _11pc.TaskLoadGaugeResources = _11q2; }, 77960: function(_11qm, _11qn, _11qo) { 'use strict'; var _11qp = null; var _11qq, _11qr = this && this.__extends || (_11qq = function(_11qs, _11qt) { var _11qu = null; return _11qq = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_11qv, _11qw) { var _11qx = null; _11qv.__proto__ = _11qw; } || function(_11qy, _11qz) { var _11r0 = null; for (var _11r1 in _11qz) Object.prototype.hasOwnProperty.call(_11qz, _11r1) && (_11qy[_11r1] = _11qz[_11r1]); }, _11qq(_11qs, _11qt); }, function(_11r2, _11r3) { var _11r4 = null; if ('function' != typeof _11r3 && null !== _11r3) throw new TypeError('Class extends value ' + String(_11r3) + ' is not a constructor or null'); function _11r5() { var _11r6 = null; this.constructor = _11r2; } _11qq(_11r2, _11r3), _11r2.prototype = null === _11r3 ? Object.create(_11r3) : (_11r5.prototype = _11r3.prototype, new _11r5()); }), _11r7 = this && this.__importDefault || function(_11r8) { var _11r9 = null; return _11r8 && _11r8.__esModule ? _11r8 : { 'default': _11r8 }; }; defineModule(_11qn); Object.defineProperty(_11qn, '__esModule', { 'value': !0 }), _11qn.TaskShowDetailPanel = void 0; var _11ra = _11r7(_11qo(21359)), _11rb = _11r7(_11qo(18622)), _11rc = _11qo(81755), _11rd = _11qo(87475), _11re = _11qo(91296), _11rf = _11qo(39035), _11rg = _11qo(44961), _11rh = _11qo(96231), _11ri = _11qo(71633), _11rj = function(_11rk) { var _11rl = null; function _11rm(_11rn, _11ro, _11rp, _11rq, _11rr) { var _11rs = null, _11rt = _11rk.call(this) || this; return _11rt._showBeginnerAlert = function() { var _11ru = null; new _11re.ShowIntroAlertDialogTask(_11rt._layer).start(_11rt._showMapIntro); }, _11rt._showBeginnerAlertSecond = function() { var _11rv = null; _11rt._model.map_no; }, _11rt._showMapIntro = function() { var _11rw = null, _11rx = _11rb.default.model.basic.level, _11ry = []; _11rx >= 80 && (4 == _11rt._before_selected_type || 3 == _11rt._before_selected_type || 0 == _11rt._before_selected_type) && _11ry.push(4), _11rx >= 35 && _11ry.push(3), _11ry.push(2), _11ry.push(1); var _11rz = _11rt._model.getSelectedOperationType(); new _11rf.ShowMapIntroDialogTask(_11rt._layer, _11rt._model, _11ry).start(function() { var _11s0 = null, _11s1 = _11rt._model.getSelectedOperationType(), _11s2 = 0 == _11s1; _11rz != _11s1 && null != _11rt._mapThumbnailPanel ? new _11rg.TaskLoadGaugeResources([_11rt._model]).start(function() { var _11s3 = null; _11rt._mapThumbnailPanel.updateGauge(_11rt._model), _11rt._mapThumbnailPanel.updateStrategyMapForce(_11rt._model), _11rt._mapThumbnailPanel.updateAirUnitBanner(_11rt._model), _11rt._hideFade(_11s2); }) : _11rt._hideFade(_11s2); }); }, _11rt._model = _11rn, _11rt._before_selected_type = _11ro, _11rt._layer = _11rp, _11rt._mapThumbnailPanel = _11rq, _11rt._detailPanel = _11rr, _11rt; } return _11qr(_11rm, _11rk), _11rm.prototype._start = function() { var _11s4 = null, _11s5 = this._model.area_id; if (_11s5 == _11ri.EventConst.AREA_ID) { this._fade = new _11rd.FadeBox(0.6), this._fade.hide(0), this._layer.addChild(this._fade); var _11s6 = this._model.map_no, _11s7 = _11rb.default.model.basic.level; 57 == _11s5 && 5 == _11s6 ? this._fade.show(300, this._showBeginnerAlertSecond) : 1 == _11s6 || _11s7 < 35 ? this._fade.show(300, this._showBeginnerAlert) : this._fade.show(300, this._showMapIntro); var _11s8 = this._voicePlayList(_11s6); null != _11s8 && this._voicePlay(_11s8); } else this._showDetailPanel(); }, _11rm.prototype._voicePlayList = function(_11s9) { switch (_11s9) { case 1: return { 'voice': [411, 415], 'delay': [0, 200] }; case 2: return { 'voice': [411, 416], 'delay': [0, 200] }; case 3: return { 'voice': [411, 417], 'delay': [0, 200] }; case 4: return { 'voice': [413, 421], 'delay': [0, 200] }; default: return null; } }, _11rm.prototype._voicePlay = function(_11sa) { var _11sb = null, _11sc = this, _11sd = _11sa.voice, _11se = _11sa.delay; _11rh.EventOperationVoice.voice = _11rb.default.sound.voice.play('9999', _11sd[0], function() { var _11sf = null; _11sd.shift(), _11se.shift(), _11sd.length > 0 && _11sc._voiceNextDelay(_11sa); }); }, _11rm.prototype._voiceNextDelay = function(_11sg) { var _11sh = null, _11si = this, _11sj = _11sg.delay; _11sj[0] <= 0 ? this._voicePlay(_11sg) : _11rh.EventOperationVoice.tween = createjs.Tween.get(null).wait(_11sj[0]).call(function() { var _11sk = null; _11si._voicePlay(_11sg); }); }, _11rm.prototype._hideFade = function(_11sl) { var _11sm = null, _11sn = this; this._fade.hide(300, function() { var _11so = null; _11sn._layer.removeChild(_11sn._fade), _11sl ? _11sn._endTask(!0) : _11sn._showDetailPanel(); }); }, _11rm.prototype._showDetailPanel = function() { var _11sp = null, _11sq = this, _11sr = this._detailPanel; _11sr.update(this._model), _11sr.x = _11ra.default.width, _11sr.visible = !0, createjs.Tween.get(_11sr).to({ 'x': 840 }, 200).call(function() { var _11ss = null; _11sr.activate(), _11sq._endTask(); }); }, _11rm.prototype._endTask = function(_11st) { var _11su = null; void 0 === _11st && (_11st = !1), this._model = null, this._layer = null, this._mapThumbnailPanel = null, this._detailPanel = null, this._fade = null, _11rk.prototype._endTask.call(this, _11st); }, _11rm; }(_11rc.TaskBase); _11qn.TaskShowDetailPanel = _11rj; }, 91323: function(_11sv, _11sw, _11sx) { 'use strict'; var _11sy = null; var _11sz, _11t0 = this && this.__extends || (_11sz = function(_11t1, _11t2) { var _11t3 = null; return _11sz = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_11t4, _11t5) { var _11t6 = null; _11t4.__proto__ = _11t5; } || function(_11t7, _11t8) { var _11t9 = null; for (var _11ta in _11t8) Object.prototype.hasOwnProperty.call(_11t8, _11ta) && (_11t7[_11ta] = _11t8[_11ta]); }, _11sz(_11t1, _11t2); }, function(_11tb, _11tc) { var _11td = null; if ('function' != typeof _11tc && null !== _11tc) throw new TypeError('Class extends value ' + String(_11tc) + ' is not a constructor or null'); function _11te() { var _11tf = null; this.constructor = _11tb; } _11sz(_11tb, _11tc), _11tb.prototype = null === _11tc ? Object.create(_11tc) : (_11te.prototype = _11tc.prototype, new _11te()); }), _11tg = this && this.__importDefault || function(_11th) { var _11ti = null; return _11th && _11th.__esModule ? _11th : { 'default': _11th }; }; defineModule(_11sw); Object.defineProperty(_11sw, '__esModule', { 'value': !0 }), _11sw.ContainerDeckSelect = void 0; var _11tj = _11tg(_11sx(21359)), _11tk = _11sx(85443), _11tl = _11sx(48679), _11tm = function(_11tn) { var _11to = null; function _11tp(_11tq, _11tr, _11ts, _11tt) { var _11tu = null, _11tv = _11tn.call(this, _11ts) || this; return _11tv._panel = new _11tl.PanelDeckSelect(_11tq, _11tr, _11tv._onGo, _11tt), _11tv._panel.position.set(_11tj.default.width, 102), _11tv.addChild(_11tv._panel), _11tv; } return _11t0(_11tp, _11tn), Object.defineProperty(_11tp.prototype, 'panel', { 'get': function() { var _11tw = null; return this._panel; }, 'enumerable': !1, 'configurable': !0 }), _11tp.prototype.initialize = function(_11tx, _11ty, _11tz) { var _11u0 = null; this._panel.initialize(_11tx, _11ty, _11tz); }, _11tp.prototype.activate = function() { var _11u1 = null; _11tn.prototype.activate.call(this), this._panel.activate(); }, _11tp.prototype.deactivate = function() { var _11u2 = null; _11tn.prototype.deactivate.call(this), this._panel.deactivate(); }, _11tp.prototype.dispose = function() { var _11u3 = null; _11tn.prototype.dispose.call(this), this._panel.dispose(), this._panel = null; }, _11tp; }(_11tk.ContainerDeckSelectBase); _11sw.ContainerDeckSelect = _11tm; }, 39615: function(_11u4, _11u5, _11u6) { 'use strict'; var _11u7 = null; var _11u8, _11u9 = this && this.__extends || (_11u8 = function(_11ua, _11ub) { var _11uc = null; return _11u8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_11ud, _11ue) { var _11uf = null; _11ud.__proto__ = _11ue; } || function(_11ug, _11uh) { var _11ui = null; for (var _11uj in _11uh) Object.prototype.hasOwnProperty.call(_11uh, _11uj) && (_11ug[_11uj] = _11uh[_11uj]); }, _11u8(_11ua, _11ub); }, function(_11uk, _11ul) { var _11um = null; if ('function' != typeof _11ul && null !== _11ul) throw new TypeError('Class extends value ' + String(_11ul) + ' is not a constructor or null'); function _11un() { var _11uo = null; this.constructor = _11uk; } _11u8(_11uk, _11ul), _11uk.prototype = null === _11ul ? Object.create(_11ul) : (_11un.prototype = _11ul.prototype, new _11un()); }), _11up = this && this.__importDefault || function(_11uq) { var _11ur = null; return _11uq && _11uq.__esModule ? _11uq : { 'default': _11uq }; }; defineModule(_11u5); Object.defineProperty(_11u5, '__esModule', { 'value': !0 }), _11u5.ContainerLayout = void 0; var _11us = _11up(_11u6(18622)), _11ut = _11u6(24760), _11uu = _11u6(75993), _11uv = _11u6(63308), _11uw = _11u6(52114), _11ux = _11u6(40425), _11uy = _11u6(89901), _11uz = _11u6(35380), _11v0 = _11u6(71633), _11v1 = function(_11v2) { var _11v3 = null; function _11v4(_11v5, _11v6, _11v7, _11v8) { var _11v9 = null, _11va = _11v2.call(this) || this; return _11va._onSelect = function(_11vb, _11vc) { var _11vd = null; _11va._cb_select(_11vb, _11vc); }, _11va._onSelectAirUnit = function() { var _11ve = null; null != _11va._cb_onSelectAirUnit && _11va._cb_onSelectAirUnit(); }, _11va._cb_select = _11v5, _11va._cb_onSelectAirUnit = _11v6, _11va._cb_back = _11v7, _11va._cb_next = _11v8, _11va._back_btn = new _11ut.BtnBack(), _11va._next_btn = new _11uu.BtnNext(), _11va; } return _11u9(_11v4, _11v2), Object.defineProperty(_11v4.prototype, 'content', { 'get': function() { var _11vf = null; return this._content; }, 'enumerable': !1, 'configurable': !0 }), _11v4.prototype.initialize = function() { var _11vg = null; this._back_btn.on(_11uz.EventType.CLICK, this._cb_back), this._next_btn.on(_11uz.EventType.CLICK, this._cb_next), this.addChild(this._back_btn), this.addChild(this._next_btn); }, _11v4.prototype.update = function(_11vh, _11vi, _11vj) { var _11vk = null, _11vl = _11us.default.model.map.getMapMems(_11vh); _11vh == _11v0.EventConst.AREA_ID ? this._updateEventArea(_11vh, _11vi, _11vl) : this._updateNormalArea(_11vh, _11vi, _11vl), this._content.updateAirUnitEnabled(_11vj); }, _11v4.prototype.deactivate = function() { var _11vm = null; this._content.deactivate(); }, _11v4.prototype.dispose = function() { var _11vn = null; this._back_btn.off(_11uz.EventType.CLICK, this._cb_back), this._next_btn.off(_11uz.EventType.CLICK, this._cb_next), this._back_btn.dispose(), this._next_btn.dispose(), this._cb_select = null, this._cb_back = null, this._cb_next = null, this._removePreContent(), this.removeChildren(), this._back_btn = null, this._next_btn = null; }, _11v4.prototype._updateNormalArea = function(_11vo, _11vp, _11vq) { var _11vr = null; this._removePreContent(), this._content = 0 == _11vp ? new _11uw.LayoutMap4(_11vp, this._onSelect, this._onSelectAirUnit) : new _11uv.LayoutMap3(_11vp, this._onSelect, this._onSelectAirUnit), this._content.initialize(_11vq), this.addChildAt(this._content, 0), this._content.activate(), this._updateBackBtn(), this._updateNextBtn(_11vo, _11vp, _11vq); }, _11v4.prototype._updateEventArea = function(_11vs, _11vt, _11vu) { var _11vv = null; this._removePreContent(), this._content = _11vt < 1 ? new _11uy.LayoutEventMap2(_11vt, this._onSelect, this._onSelectAirUnit) : new _11ux.LayoutEventMap1(_11vt, this._onSelect, this._onSelectAirUnit), this._content.initialize(_11vu), this.addChildAt(this._content, 0), this._content.activate(), this._updateBackBtn(!0), this._updateNextBtn(_11vs, _11vt, _11vu); }, _11v4.prototype._removePreContent = function() { var _11vw = null; null != this._content && (this._content.deactivate(), this.removeChild(this._content), this._content.dispose(), this._content = null); }, _11v4.prototype._updateBackBtn = function(_11vx) { var _11vy = null; void 0 === _11vx && (_11vx = !1), this._content.offset > 0 ? (this._back_btn.update(_11vx), this._back_btn.show()) : this._back_btn.hide(); }, _11v4.prototype._updateNextBtn = function(_11vz, _11w0, _11w1) { var _11w2 = null, _11w3 = !1, _11w4 = this._content.offset + this._content.num; if (_11w4 < _11w1.length) { var _11w5 = _11w1[_11w4]; if (1 == _11w5.isOpened()) _11w3 = !0; else 65 == _11w5.mst_id && (1 == _11w1[_11w4 - 1].isCleared() && (_11w3 = !0)); } 1 == _11w3 ? (this._next_btn.update(_11vz, _11w0), this._next_btn.show()) : this._next_btn.hide(); }, _11v4; }(PIXI.Container); _11u5.ContainerLayout = _11v1; }, 48679: function(_11w6, _11w7, _11w8) { 'use strict'; var _11w9 = null; var _11wa, _11wb = this && this.__extends || (_11wa = function(_11wc, _11wd) { var _11we = null; return _11wa = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_11wf, _11wg) { var _11wh = null; _11wf.__proto__ = _11wg; } || function(_11wi, _11wj) { var _11wk = null; for (var _11wl in _11wj) Object.prototype.hasOwnProperty.call(_11wj, _11wl) && (_11wi[_11wl] = _11wj[_11wl]); }, _11wa(_11wc, _11wd); }, function(_11wm, _11wn) { var _11wo = null; if ('function' != typeof _11wn && null !== _11wn) throw new TypeError('Class extends value ' + String(_11wn) + ' is not a constructor or null'); function _11wp() { var _11wq = null; this.constructor = _11wm; } _11wa(_11wm, _11wn), _11wm.prototype = null === _11wn ? Object.create(_11wn) : (_11wp.prototype = _11wn.prototype, new _11wp()); }), _11wr = this && this.__createBinding || (Object.create ? function(_11ws, _11wt, _11wu, _11wv) { var _11ww = null; void 0 === _11wv && (_11wv = _11wu); var _11wx = Object.getOwnPropertyDescriptor(_11wt, _11wu); _11wx && !('get' in _11wx ? !_11wt.__esModule : _11wx.writable || _11wx.configurable) || (_11wx = { 'enumerable': !0, 'get': function() { return _11wt[_11wu]; } }), Object.defineProperty(_11ws, _11wv, _11wx); } : function(_11wy, _11wz, _11x0, _11x1) { void 0 === _11x1 && (_11x1 = _11x0), _11wy[_11x1] = _11wz[_11x0]; }), _11x2 = this && this.__setModuleDefault || (Object.create ? function(_11x3, _11x4) { var _11x5 = null; Object.defineProperty(_11x3, 'default', { 'enumerable': !0, 'value': _11x4 }); } : function(_11x6, _11x7) { var _11x8 = null; _11x6.default = _11x7; }), _11x9 = this && this.__importStar || function(_11xa) { var _11xb = null; if (_11xa && _11xa.__esModule) return _11xa; var _11xc = {}; if (null != _11xa) { for (var _11xd in _11xa) 'default' !== _11xd && Object.prototype.hasOwnProperty.call(_11xa, _11xd) && _11wr(_11xc, _11xa, _11xd); } return _11x2(_11xc, _11xa), _11xc; }, _11xe = this && this.__importDefault || function(_11xf) { var _11xg = null; return _11xf && _11xf.__esModule ? _11xf : { 'default': _11xf }; }; defineModule(_11w7); Object.defineProperty(_11w7, '__esModule', { 'value': !0 }), _11w7.PanelDeckSelect = void 0; var _11xh = _11xe(_11w8(18622)), _11xi = _11w8(11997), _11xj = _11w8(48473), _11xk = _11w8(82680), _11xl = _11w8(65790), _11xm = _11w8(4951), _11xn = _11w8(76582), _11xo = _11w8(34608), _11xp = _11w8(74204), _11xq = _11w8(10798), _11xr = _11w8(24895), _11xs = _11w8(15805), _11xt = _11x9(_11w8(13431)), _11xu = _11w8(94341), _11xv = _11w8(35837), _11xw = _11w8(35380), _11xx = _11w8(16677), _11xy = function(_11xz) { var _11y0 = null; function _11y1(_11y2, _11y3, _11y4, _11y5) { var _11y6 = null, _11y7 = _11xz.call(this) || this; return _11y7.VIEW_MAX = 6, _11y7._onDeckChange = function(_11y8) { var _11y9 = null; _11y7._update(_11y8); }, _11y7._onClickBottom = function() { var _11ya = null; _11y7._exist_ships.length > _11y7.VIEW_MAX && _11y7._exist_ships.length - _11y7.VIEW_MAX > _11y7._view_top_index && (_11y7._view_top_index += 1, _11y7._updateShips(), _11y7._arrowTopBtn.visible = !0, _11y7._exist_ships.length - _11y7.VIEW_MAX <= _11y7._view_top_index && (_11y7._arrowButtomBtn.visible = !1)); }, _11y7._onClickTop = function() { var _11yb = null; _11y7._exist_ships.length > _11y7.VIEW_MAX && _11y7._view_top_index > 0 && (_11y7._view_top_index -= 1, _11y7._updateShips(), _11y7._arrowButtomBtn.visible = !0, 0 >= _11y7._view_top_index && (_11y7._arrowTopBtn.visible = !1)); }, _11y7._onWheel = function(_11yc) { var _11yd = null; 0 != _11yc.delta && (_11yc.delta > 0 ? (_11yc.enabledGuard(), _11y7._onClickBottom()) : (_11yc.enabledGuard(), _11y7._onClickTop())); }, _11y7._onGo = function() { var _11ye = null; if (null != _11y7._cb_onGo) { var _11yf = _11y7._selected_map.mst_id; _11y7._cb_onGo(_11yf, _11y7._deck_id); } }, _11y7._onOrganize = function() { var _11yg = null; null != _11y7._cb_onOrganize && _11y7._cb_onOrganize(); }, _11y7._onClickTempSupply = function() { var _11yh = null, _11yi = _11xh.default.model.deck.get(_11y7._deck_id).getShipList(); new _11xl.TaskTemporarySupply(_11yi, _11y7._rader, function() { var _11yj = null; _11y7._update(_11y7._deck_id); }).start(); }, _11y7._updateShips = function() { var _11yk = null; _11y7._banners.update(_11y7._exist_ships, _11y7._view_top_index); }, _11y7._cb_onGo = _11y4, _11y7._cb_onOrganize = _11y5, _11y7._banners = new _11xk.PanelDeckSelectBanners(_11y7.VIEW_MAX), _11y7._banners.position.set(30, 95), _11y7._decks = new _11xp.CompDeckBtns(_11y7._onDeckChange), _11y7._decks.position.set(30, 54), _11y7._rader = new _11xo.RaderCanvas(), _11y7._rader.position.set(488, 293), _11y7._arrow = new _11xn.CompArrow2(), _11y7._arrow.position.set(567, 537), _11y7._alert = new _11xm.AlertBalloon(), _11y7._alert.anchor.set(1, 0.5), _11y7._alert.position.set(299, 566), _11y7.interactive = !0, _11y7._airunit_limit = _11y2, _11y7._event_sortie_condition = _11y3, _11y7._btn = new _11xr.BtnGo(_11y7._onGo), _11y7._btn.position.set(302, 539), _11y7._shop = new _11xs.BtnShop(), _11y7._shop.position.set(15, 538), _11y7._temp_supply_btn = new _11xq.TempSupplyBtn(), _11y7._temp_supply_btn.position.set(210, 528), _11y7._arrowTopBtn = new _11xv.ArrowSmallButton(!1), _11y7._arrowTopBtn.position.set(-9, 77), _11y7._arrowButtomBtn = new _11xv.ArrowSmallButton(!0), _11y7._arrowButtomBtn.position.set(-9, 497), _11y7._organize_btn = new _11yl(_11y7._onOrganize), _11y7._organize_btn.position.set(-16, 508), _11y7; } return _11wb(_11y1, _11xz), _11y1.prototype.initialize = function(_11ym, _11yn, _11yo) { var _11yp = null; this._selected_map = _11ym, this._exist_ships = []; var _11yq = new PIXI.Sprite(_11xj.SALLY_COMMON.getTexture(14)); _11yq.position.set(-8, 36); var _11yr = new PIXI.Sprite(_11xj.SALLY_COMMON.getTexture(36)); _11yr.position.set(0, 0); var _11ys = new PIXI.Sprite(_11xj.SALLY_COMMON.getTexture(1)); if (_11ys.position.set(24, 11), this._decks.initialize(_11yn), this._rader.initialize(), this._arrow.initialize(), this.addChild(_11yq), this.addChild(_11yr), this.addChild(_11ys), this.addChild(this._banners), this.addChild(this._decks), this.addChild(this._rader), this.addChild(this._arrow), this._alert.initialize(), this.addChild(this._alert), _11xh.default.model.deck.exist3rdUnit) { var _11yt = new PIXI.Sprite(_11xi.COMMON_MISC.getTexture(187)); _11yt.position.set(108, 33), this.addChild(_11yt); } 1 == _11yo && (this._deck_combined_frame = new _11xu.CombinedView(), this._deck_combined_frame.position.set(23, 45), this.addChild(this._deck_combined_frame)), this._btn.initialize(), this.addChild(this._btn), this._shop.initialize(), this.addChild(this._shop), this._temp_supply_btn.initialize(this._onClickTempSupply), this.addChild(this._temp_supply_btn), this._update(_11yn[0]), this.addChild(this._arrowTopBtn), this._arrowTopBtn.initialize(this._onClickTop), this.addChild(this._arrowButtomBtn), this._arrowButtomBtn.initialize(this._onClickBottom), this._organize_btn.visible = !1, this.addChild(this._organize_btn); }, _11y1.prototype.activate = function() { var _11yu = null; this._decks.activate(), this._arrow.activate(), null != this._deck_combined_frame && this._deck_combined_frame.activate(), this._btn.activate(), this._alert.activate(), this._temp_supply_btn.activate(), this._shop.activate(), this._organize_btn.activate(); }, _11y1.prototype.deactivate = function() { var _11yv = null; _11xx.WheelEventUtil.clear(), this._decks.deactivate(), this._arrow.deactivate(), null != this._deck_combined_frame && this._deck_combined_frame.deactivate(), this._btn.deactivate(), this._temp_supply_btn.deactivate(), this._shop.deactivate(), this._arrowButtomBtn.deactivate(), this._arrowButtomBtn.deactivate(), this._organize_btn.deactivate(); }, _11y1.prototype.dispose = function() { var _11yw = null; _11xx.WheelEventUtil.clear(), this.removeChildren(), this._selected_map = null, this._cb_onGo = null, this._banners.dispose(), this._banners = null, this._decks.dispose(), this._decks = null, this._rader.dispose(), this._rader = null, this._arrow.dispose(), this._arrow = null, this._alert = null, this._btn.dispose(), this._btn = null, this._shop.deactivate(), this._shop = null, this._temp_supply_btn.dispose(), this._temp_supply_btn = null, null != this._deck_combined_frame && (this._deck_combined_frame.dispose(), this._deck_combined_frame = null), this._arrowButtomBtn.dispose(), this._arrowButtomBtn = null, this._arrowTopBtn.dispose(), this._arrowTopBtn = null, this._organize_btn.dispose(), this._organize_btn = null; }, _11y1.prototype._update = function(_11yx) { var _11yy = null; _11xx.WheelEventUtil.clear(), this._deck_id = _11yx, this._decks.setSelected(_11yx); var _11yz = _11xh.default.model.deck.get(_11yx), _11z0 = _11yz.getShipListAll(), _11z1 = _11yz.getShipList(); this._view_top_index = 0, this._exist_ships = _11z1.filter(function(_11z2) { return null != _11z2; }); for (var _11z3 = !0, _11z4 = 0; _11z4 < _11z0.length; _11z4++) { null != (_11z5 = _11z0[_11z4]) && 1 == _11z3 && (_11z5.fuelNow < _11z5.fuelMax || _11z5.ammoNow < _11z5.ammoMax) && (_11z3 = !1); } this._rader.update(_11z0); var _11z6 = _11xh.default.model.ndock.getShipMemIDs(), _11z7 = this._airunit_limit, _11z8 = this._selected_map.area_id, _11z9 = _11xh.default.model.airunit.getReadyAirUnitList(_11z8), _11za = _11xt.check(this._selected_map, _11yz, _11z6, this._event_sortie_condition); if (this._btn.enabled = _11za.result, this._btn.air_unit = _11z7 > 0 && _11z9.length > 0, this._alert.update(_11za.reason), this._arrow.enabled = _11za.result, this._arrow.update(_11z3), this._arrow.activate(), 0 == _11xh.default.model.basic.getExtraSupplySortie()) this._temp_supply_btn.visible = !1; else { if (_11z3) this._temp_supply_btn.visible = !1; else { if (0 != _11za.reason && 2 != _11za.reason && 14 != _11za.reason) this._temp_supply_btn.visible = !1; else { var _11zb = 0, _11zc = 0; for (_11z4 = 0; _11z4 < _11z1.length; _11z4++) { var _11z5; null != (_11z5 = _11z1[_11z4]) && (_11zb += _11z5.getFuelForSupply(), _11zc += _11z5.getAmmoForSupply()); } var _11zd = _11xh.default.model.useItem.getCount(31), _11ze = _11xh.default.model.useItem.getCount(32), _11zf = _11zb > 0 && _11zb <= _11zd, _11zg = _11zc > 0 && _11zc <= _11ze; this._temp_supply_btn.enabled = 0 != _11zf || 0 != _11zg, this._temp_supply_btn.visible = !0; } } } this._shop.visible = _11za.result, this._banners.update(this._exist_ships, this._view_top_index), this._arrowTopBtn.deactivate(), this._arrowTopBtn.visible = !1, this._arrowButtomBtn.deactivate(), this._arrowButtomBtn.visible = !1, this._organize_btn.visible = !1, this._exist_ships.length > this.VIEW_MAX ? (this._arrowTopBtn.activate(), this._arrowButtomBtn.activate(), this._arrowButtomBtn.visible = !0, _11xx.WheelEventUtil.regist(this._onWheel.bind(this))) : _11z1.length > this.VIEW_MAX && (this._organize_btn.visible = !0); }, _11y1; }(PIXI.Container); _11w7.PanelDeckSelect = _11xy; var _11yl = function(_11zh) { var _11zi = null; function _11zj(_11zk) { var _11zl = null, _11zm = _11zh.call(this) || this; return _11zm.texture = _11xj.SALLY_COMMON.getTexture(7), _11zm._onClick = _11zk, _11zm.on(_11xw.EventType.CLICK, _11zk), _11zm; } return _11wb(_11zj, _11zh), _11zj.prototype.activate = function() { var _11zn = null; this.buttonMode = this.interactive = !0; }, _11zj.prototype.deactivate = function() { var _11zo = null; this.buttonMode = this.interactive = !1; }, _11zj.prototype.dispose = function() { var _11zp = null; this.off(_11xw.EventType.CLICK, this._onClick), this.destroy(); }, _11zj; }(PIXI.Sprite); }, 14917: function(_11zq, _11zr, _11zs) { 'use strict'; var _11zt = null; var _11zu, _11zv = this && this.__extends || (_11zu = function(_11zw, _11zx) { var _11zy = null; return _11zu = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_11zz, _1200) { var _1201 = null; _11zz.__proto__ = _1200; } || function(_1202, _1203) { var _1204 = null; for (var _1205 in _1203) Object.prototype.hasOwnProperty.call(_1203, _1205) && (_1202[_1205] = _1203[_1205]); }, _11zu(_11zw, _11zx); }, function(_1206, _1207) { var _1208 = null; if ('function' != typeof _1207 && null !== _1207) throw new TypeError('Class extends value ' + String(_1207) + ' is not a constructor or null'); function _1209() { var _120a = null; this.constructor = _1206; } _11zu(_1206, _1207), _1206.prototype = null === _1207 ? Object.create(_1207) : (_1209.prototype = _1207.prototype, new _1209()); }), _120b = this && this.__importDefault || function(_120c) { var _120d = null; return _120c && _120c.__esModule ? _120c : { 'default': _120c }; }; defineModule(_11zr); Object.defineProperty(_11zr, '__esModule', { 'value': !0 }), _11zr.PanelDetail = void 0; var _120e = _120b(_11zs(18622)), _120f = _11zs(8744), _120g = _11zs(48473), _120h = _11zs(55022), _120i = _11zs(1136), _120j = _11zs(63320), _120k = _11zs(91928), _120l = _11zs(71633), _120m = function(_120n) { var _120o = null; function _120p(_120q) { var _120r = null, _120s = _120n.call(this) || this; return _120s._onClick = function() { var _120t = null; null != _120s._cb && _120s._cb(_120s._selected_id); }, _120s._cb = _120q, _120s.interactive = !0, _120s; } return _11zv(_120p, _120n), _120p.prototype.initialize = function() { var _120u = null, _120v = new PIXI.Sprite(_120g.SALLY_COMMON.getTexture(15)); _120v.position.set(0, 138), this.addChild(_120v); var _120w = new PIXI.Sprite(_120g.SALLY_COMMON.getTexture(36)); _120w.position.set(0, 102), this.addChild(_120w); var _120x = new PIXI.Sprite(_120h.SALLY_SORTIE.getTexture(10)); _120x.position.set(24, 111), this.addChild(_120x); var _120y = new PIXI.Sprite(_120h.SALLY_SORTIE.getTexture(34)); _120y.position.set(27, 227), this.addChild(_120y); var _120z = new PIXI.Sprite(_120h.SALLY_SORTIE.getTexture(35)); _120z.position.set(27, 315), this.addChild(_120z); var _1210 = new PIXI.Sprite(_120g.SALLY_COMMON.getTexture(32)); _1210.position.set(27, 530), this.addChild(_1210); var _1211 = new PIXI.Graphics(); _1211.lineStyle(1, 13421772), _1211.moveTo(21, 224), _1211.lineTo(336, 224), _1211.moveTo(21, 309), _1211.lineTo(336, 309), this.addChild(_1211), this._map_name_txt = new _120f.TextBox(21, 4999235), this._map_name_txt.position.set(24, 156), this.addChild(this._map_name_txt), this._areaText = new _120i.AreaTextImage(), this._areaText.position.set(29, 185), this.addChild(this._areaText), this._ope_name_txt = new _120f.TextBox(21, 4999235), this._ope_name_txt.position.set(24, 249), this.addChild(this._ope_name_txt), this._ope_detail_txt = new _120f.TextBox(21, 4999235), this._ope_detail_txt.position.set(24, 342), this._ope_detail_txt.style.wordWrap = !0, this._ope_detail_txt.style.breakWords = !0, this._ope_detail_txt.style.wordWrapWidth = 323, this.addChild(this._ope_detail_txt), this._err_txt = new _120f.TextBox(17, 12467003), this._err_txt.position.set(24, 465), this.addChild(this._err_txt), this._shop = new _120k.BtnShop2(), this._shop.position.set(271, 468), this._shop.initialize(), this.addChild(this._shop), this._items = new Array(); for (var _1212 = 0; _1212 < 4; _1212++) { var _1213 = new PIXI.Sprite(); _1213.position.set(26 + 81 * _1212, 555), this._items.push(_1213); } for (var _1214 = 0, _1215 = this._items; _1214 < _1215.length; _1214++) { var _1216 = _1215[_1214]; this.addChild(_1216); } this._btn = new _120j.BtnDicision(), this._btn.position.set(33, 638), this._btn.initialize(), this._btn.on('dicision', this._onClick), this.addChild(this._btn); }, _120p.prototype.update = function(_1217) { var _1218 = null; if (this._selected_id = _1217.mst_id, _1217.area_id == _120l.EventConst.AREA_ID) { this._map_name_txt.text = _1217.name, [562].indexOf(_1217.mst_id) > -1 ? this._ope_name_txt.text = _1217.operation_name : this._ope_name_txt.text = _1217.operation_name.replace('\x20', '\x0a'); var _1219 = 0, _121a = 0; [513].indexOf(_1217.mst_id) > -1 && (_121a = -7, _1219 = 19, this._map_name_txt.text = this._map_name_txt.text.replace('/マ', '/\nマ')), this._map_name_txt.position.set(24, 155 + _121a), this._areaText.position.set(16, 178 + _1219); } else this._map_name_txt.text = _1217.name, this._map_name_txt.position.set(24, 156), this._areaText.position.set(29, 185), this._ope_name_txt.text = _1217.operation_name; this._areaText.update(_1217.area_id, _1217.map_no), this._ope_detail_txt.text = _1217.operation_detail.replace(//g, '\x0a'), this._err_txt.text = ''; for (var _121b = _1217.item_ids, _121c = 0; _121c < this._items.length; _121c++) { var _121d = this._items[_121c]; if (null != _121b && _121b.length > _121c && _121b[_121c] > 0) { var _121e = _121b[_121c]; _121d.texture = _120e.default.resources.getUseitem(_121e, 0), _121d.visible = !0; } else _121d.visible = !1; } var _121f = _120e.default.model.const.boko_max_ships, _121g = _120e.default.model.basic.shipMax, _121h = _121g < _121f, _121i = _120e.default.model.ship.num, _121j = _120e.default.model.basic.slotMax, _121k = _120e.default.model.slot.num; _121g - _121i < 1 ? (this._err_txt.text = '艦娘保有数が上限一杯のため、\n出撃による新しい艦娘の獲得\nはできません。', 1 == _121h && (this._shop.visible = !0)) : _121j - _121k < 4 ? (this._err_txt.text = '装備保有数が上限一杯のため、\n出撃による新しい艦娘の獲得\nはできません。', 1 == _121h && (this._shop.visible = !0)) : this._shop.visible = !1; }, _120p.prototype.activate = function() { var _121l = null; this._shop.activate(), this._btn.activate(); }, _120p.prototype.deactivate = function() { var _121m = null; this._shop.deactivate(), this._btn.deactivate(); }, _120p.prototype.dispose = function() { var _121n = null; this.removeChildren(), this._cb = null, this._map_name_txt.destroy(), this._areaText.dispose(), this._ope_name_txt.destroy(), this._ope_detail_txt.destroy(), this._err_txt.destroy(), this._shop.deactivate(), this._btn.off('dicision', this._onClick); }, _120p; }(PIXI.Container); _11zr.PanelDetail = _120m; }, 54075: function(_121o, _121p, _121q) { 'use strict'; var _121r = null; var _121s, _121t = this && this.__extends || (_121s = function(_121u, _121v) { var _121w = null; return _121s = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_121x, _121y) { var _121z = null; _121x.__proto__ = _121y; } || function(_1220, _1221) { var _1222 = null; for (var _1223 in _1221) Object.prototype.hasOwnProperty.call(_1221, _1223) && (_1220[_1223] = _1221[_1223]); }, _121s(_121u, _121v); }, function(_1224, _1225) { var _1226 = null; if ('function' != typeof _1225 && null !== _1225) throw new TypeError('Class extends value ' + String(_1225) + ' is not a constructor or null'); function _1227() { var _1228 = null; this.constructor = _1224; } _121s(_1224, _1225), _1224.prototype = null === _1225 ? Object.create(_1225) : (_1227.prototype = _1225.prototype, new _1227()); }), _1229 = this && this.__importDefault || function(_122a) { var _122b = null; return _122a && _122a.__esModule ? _122a : { 'default': _122a }; }; defineModule(_121p); Object.defineProperty(_121p, '__esModule', { 'value': !0 }), _121p.ViewMain = void 0; var _122c = _1229(_121q(21359)), _122d = _1229(_121q(18622)), _122e = _121q(94686), _122f = _121q(55535), _122g = _121q(87475), _122h = _121q(35660), _122i = _121q(52574), _122j = _121q(93319), _122k = _121q(48473), _122l = _121q(55022), _122m = _121q(12325), _122n = _121q(88622), _122o = _121q(28694), _122p = _121q(2335), _122q = _121q(44961), _122r = _121q(77960), _122s = _121q(28544), _122t = _121q(50815), _122u = _121q(91323), _122v = _121q(14917), _122w = _121q(39615), _122x = _121q(76498), _122y = _121q(35380), _122z = _121q(97909), _1230 = _121q(34690), _1231 = _121q(80531), _1232 = _121q(71633), _1233 = function(_1234) { var _1235 = null; function _1236(_1237, _1238) { var _1239 = null, _123a = _1234.call(this) || this; return _123a._serial_id = null, _123a._onChangeArea = function(_123b) { var _123c = null; _123a.update(_123b); }, _123a._onBack = function() { var _123d = null, _123e = 0; _123a._offset_list.pop(), _123a._offset_list.length > 0 && (_123e = _123a._offset_list[_123a._offset_list.length - 1]); var _123f = _123a._selected_area_id, _123g = _122d.default.model.airunit.getAirUnitList(_123f).length > 0; _123a._layout.update(_123a._selected_area_id, _123e, _123g); }, _123a._onNext = function() { var _123h = null, _123i = _123a._layout.content.offset + _123a._layout.content.num; _123a._offset_list.push(_123i); var _123j = _123a._selected_area_id, _123k = _122d.default.model.airunit.getAirUnitList(_123j).length > 0; _123a._layout.update(_123a._selected_area_id, _123i, _123k); }, _123a._onSelect = function(_123l, _123m) { var _123n = null; if (1 != _123a._cancelArea.isNowAnimation()) { var _123o = _122d.default.model.basic.member_id; _123a._serial_id = (0, _122e.__create_serial_id__)(_123o, _123m.x, _123m.y), _123a._cancelArea.interactive = !0, _123a._cancelArea.buttonMode = !0, _123a._cancelArea.visible = !0, _123a._cancelArea.show(200); var _123p = _122d.default.model.map.getMapMem(_123l), _123q = _122d.default.view.overLayer, _123r = _123a._layout.content, _123s = _123a._detailPanel, _123t = _122d.default.model.map.getMapMem(_123l - 1), _123u = 0; null != _123t && (_123u = _123t.getSelectedOperationType()), new _122r.TaskShowDetailPanel(_123p, _123u, _123q, _123r, _123s).start(null, function() { var _123v = null; _123a._cancelArea.interactive = !1, _123a._cancelArea.buttonMode = !1, _123a._cancelArea.hide(200, function() { var _123w = null; _123a._cancelArea.visible = !1; }); }); } }, _123a._onCancel = function() { var _123x = null; 1 != _123a._cancelArea.isNowAnimation() && (_123a._cancelArea.interactive = !1, _123a._cancelArea.buttonMode = !1, _123a._cancelArea.hide(200, function() { var _123y = null; _123a._cancelArea.visible = !1; }), _123a._detailPanel.deactivate(), createjs.Tween.get(_123a._detailPanel).to({ 'x': _122c.default.width }, 200).call(function() { var _123z = null; _123a._detailPanel.visible = !1; })); }, _123a._onDecision = function(_1240) { var _1241 = null; if (null == _123a._deckSelectPanel) { var _1242 = _122d.default.model.map.getMapMem(_1240); null != _123a._event_sortie_condition && _123a._event_sortie_condition.update(_1242), _123a._deckSelectPanel = new _122u.ContainerDeckSelect(_1242.availableAirUnitCount, _123a._event_sortie_condition, _123a._onGo, _123a._onOrganize); var _1243 = _122d.default.model.deck.getIDs(), _1244 = _122d.default.model.deck.isCombined(); _123a._deckSelectPanel.initialize(_1242, _1243, _1244), _123a.addChild(_123a._deckSelectPanel), _123a._deckSelectPanel.cancelArea.show(300), createjs.Tween.get(_123a._detailPanel).to({ 'x': 322 }, 300), createjs.Tween.get(_123a._deckSelectPanel.panel).to({ 'x': 494 }, 300).call(function() { var _1245 = null; _123a._deckSelectPanel.activate(); }); } }, _123a._onGo = function(_1246, _1247) { var _1248 = null; if (-1 == _1247) _123a._onCancel(), _123a._deckSelectPanel.deactivate(), _123a._deckSelectPanel.cancelArea.hide(300), createjs.Tween.get(_123a._deckSelectPanel.panel).to({ 'x': _122c.default.width }, 300).call(function() { var _1249 = null; _123a.removeChild(_123a._deckSelectPanel), _123a._deckSelectPanel.dispose(), _123a._deckSelectPanel = null; }); else { 0; var _124a = _122d.default.model.deck.get(_1247), _124b = _124a.getShipModel(0).mstID; _122d.default.sound.voice.playAtRandom(_124b.toString(), [13, 14], [50, 50]); var _124c = new _122h.APIConnector(), _124d = _122d.default.model.map.getMapMem(_1246), _124e = new _122p.APIMapStart(_124d, _1247, _123a._serial_id), _124f = _124e.model; _124c.add(_124e), 30 == _122d.default.model.basic.getTutorialProgress() && _124c.add(new _122i.UpdateTutorialAPI(40)), _124c.start(function() { var _124g = null, _124h = _122d.default.model.basic.medal_num, _124i = _122d.default.model.basic.nickName, _124j = new _122j.DeckModelReplica(_124a, !1, _124h, _124i), _124k = new _122m.MapSceneModel(_124f, _124j); _122d.default.scene.change(33, _124k); }); } }, _123a._onOrganize = function() { var _124l = null; _122d.default.scene.change(11); }, _123a._onClickAirBaseMaint = function() { var _124m = null; new _1230.TaskAirBaseMaint().start(); }, _123a._onSelectAirUnit = function() { var _124n = null; _123a._airunit_layer = new _122z.AirUnitPanelLayer(_123a._selected_area_id), _123a.addChild(_123a._airunit_layer), _123a._airunit_layer.initilize(), _123a._airunit_layer.openPanel(); }, _123a._layout = new _122w.ContainerLayout(_123a._onSelect, _123a._onSelectAirUnit, _123a._onBack, _123a._onNext), _123a._switch = new _122o.CompSwitchBtns(0, _1237, _1238), _123a._switch.position.set(795, 162), _123a._area_icons = new _122t.CompAreaIcons(_123a._onChangeArea), _123a._area_icons.position.set(188, 633), _123a._airUnitBtn = new _122s.AirUnitBtn(_123a._onSelectAirUnit), _123a._airUnitBtn.position.set(651, 165), _123a._airUnitBtn.visible = !1, _123a._airBaseMaintBtn = new _1231.AirBaseMaintBtn(), _123a._airBaseMaintBtn.position.set(657, 146), _123a._airBaseMaintBtn.visible = !1, _123a._cancelArea = new _122g.FadeBox(0.3), _123a._cancelArea.hide(), _123a._cancelArea.visible = !1, _123a._detailPanel = new _122v.PanelDetail(_123a._onDecision), _123a._detailPanel.position.set(_122c.default.width, 0), _123a._detailPanel.visible = !1, _123a._offset_list = [], _123a; } return _121t(_1236, _1234), Object.defineProperty(_1236.prototype, 'airunit_layer', { 'get': function() { var _124o = null; return this._airunit_layer; }, 'enumerable': !1, 'configurable': !0 }), _1236.prototype.initialize = function() { var _124p = null, _124q = new PIXI.Sprite(_122k.SALLY_COMMON.getTexture(14)); _124q.position.set(144, 140); var _124r = new PIXI.Sprite(_122k.SALLY_COMMON.getTexture(36)); _124r.position.set(0, 102); var _124s = new PIXI.Sprite(_122l.SALLY_SORTIE.getTexture(9)); _124s.position.set(198, 113); var _124t = new PIXI.Sprite(_122l.SALLY_SORTIE.getTexture(42)); _124t.position.set(191, 162), this._layout.initialize(), this._switch.initialize(), this._area_icons.initialize(), this._airUnitBtn.initialize(), this._airBaseMaintBtn.initialize(this._onClickAirBaseMaint), this._cancelArea.on(_122y.EventType.CLICK, this._onCancel), this._detailPanel.initialize(), this.addChild(_124q), this.addChild(_124r), this.addChild(_124s), this.addChild(_124t), this.addChild(this._layout), this.addChild(this._switch), this.addChild(this._area_icons), this.addChild(this._airUnitBtn), this.addChild(this._airBaseMaintBtn), this.addChild(this._cancelArea), this.addChild(this._detailPanel); }, _1236.prototype.update = function(_124u) { var _124v = null, _124w = this; if (this._selected_area_id != _124u) { _122d.default.view.loading.show(200); var _124x = new _122f.SerialTask(); _124u == _1232.EventConst.AREA_ID && null == this._event_sortie_condition && (this._event_sortie_condition = new _122x.EventSortieCondition(), _124x.add(this._event_sortie_condition.getPreLoadTask())); var _124y = _122d.default.model.airunit.getAirUnitList(_124u).length > 0; this._airUnitBtn.visible = this._airBaseMaintBtn.visible = _124u != _1232.EventConst.AREA_ID && _124y; var _124z = _122d.default.model.map.getMapMems(_124u); _124x.add(new _122q.TaskLoadGaugeResources(_124z)), _124x.start(function() { var _1250 = null; _122d.default.view.loading.hide(200), _124w._selected_area_id = _124u, _124w._area_icons.update(_124u), _124w._offset_list = [], _124w._layout.update(_124u, 0, _124y), _124u == _1232.EventConst.AREA_ID && _122d.default.sound.voice.play('9999', 414); }); } }, _1236.prototype.activate = function() { var _1251 = null; this._layout.off('back', this._onBack), this._layout.off('next', this._onNext), this._switch.activate(), this._area_icons.activate(), this._layout.on('back', this._onBack), this._layout.on('next', this._onNext), this._airUnitBtn.activate(), this._airBaseMaintBtn.activate(); }, _1236.prototype.deactivate = function() { var _1252 = null; this._layout.off('back', this._onBack), this._layout.off('next', this._onNext), this._layout.deactivate(), this._switch.deactivate(), this._area_icons.deactivate(), this._airUnitBtn.deactivate(), this._airBaseMaintBtn.deactivate(); }, _1236.prototype.dispose = function() { var _1253 = null; this._event_sortie_condition = null, this._layout.dispose(), this._layout = null, this._switch.dispose(), this._switch = null, this._area_icons.dispose(), this._area_icons = null, this._airUnitBtn.dispose(), this._airUnitBtn = null, this._airBaseMaintBtn.dispose(), this._airBaseMaintBtn = null, this._cancelArea.off(_122y.EventType.CLICK, this._onCancel), this._cancelArea = null, this._detailPanel.dispose(), this._detailPanel = null, null != this._deckSelectPanel && (this._deckSelectPanel.dispose(), this._deckSelectPanel = null), null != this._airunit_layer && (this._airunit_layer.dispose(), this._airunit_layer = null), this.removeChildren(); }, _1236; }(_122n.ViewMainBase); _121p.ViewMain = _1233; }, 90875: function(_1254, _1255, _1256) { 'use strict'; var _1257 = null; var _1258, _1259 = this && this.__extends || (_1258 = function(_125a, _125b) { var _125c = null; return _1258 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_125d, _125e) { var _125f = null; _125d.__proto__ = _125e; } || function(_125g, _125h) { var _125i = null; for (var _125j in _125h) Object.prototype.hasOwnProperty.call(_125h, _125j) && (_125g[_125j] = _125h[_125j]); }, _1258(_125a, _125b); }, function(_125k, _125l) { var _125m = null; if ('function' != typeof _125l && null !== _125l) throw new TypeError('Class extends value ' + String(_125l) + ' is not a constructor or null'); function _125n() { var _125o = null; this.constructor = _125k; } _1258(_125k, _125l), _125k.prototype = null === _125l ? Object.create(_125l) : (_125n.prototype = _125l.prototype, new _125n()); }); defineModule(_1255); Object.defineProperty(_1255, '__esModule', { 'value': !0 }), _1255.AirBaseAreaBtn = void 0; var _125p = _1256(71633), _125q = _1256(35380), _125r = _1256(79675), _125s = function(_125t) { var _125u = null; function _125v(_125w, _125x) { var _125y = null, _125z = _125t.call(this) || this; return _125z._onSelect = function() { var _1260 = null; 1 != _125z._selected && (_125z._selected = !0, _125z._cb_onSelect(), _125z._update(!0)); }, _125z._view_area_id = _125w, _125z._cb_onSelect = _125x, _125z.on(_125q.EventType.CLICK, _125z._onSelect), _125z.interactive = _125z.buttonMode = !0, _125z._selected = !1, _125z._update(!1), _125z; } return _1259(_125v, _125t), _125v.prototype.unSelected = function() { var _1261 = null; this._selected = !1, this._update(!1); }, _125v.prototype._update = function(_1262) { var _1263 = null; this.texture = _1262 ? this._getTextureOn() : this._getTexture(); }, _125v.prototype.activate = function() { var _1264 = null; this.interactive = this.buttonMode = !0; }, _125v.prototype.deactivate = function() { var _1265 = null; this.interactive = this.buttonMode = !1; }, _125v.prototype._getTexture = function() { var _1266 = null; switch (this._view_area_id) { case _125p.EventConst.AREA_ID: return _125r.SALLY_AIRBASE_MAINT.getTexture(20); case 7: return _125r.SALLY_AIRBASE_MAINT.getTexture(12); case 5: return _125r.SALLY_AIRBASE_MAINT.getTexture(14); case 6: return _125r.SALLY_AIRBASE_MAINT.getTexture(17); } }, _125v.prototype._getTextureOn = function() { var _1267 = null; switch (this._view_area_id) { case _125p.EventConst.AREA_ID: return _125r.SALLY_AIRBASE_MAINT.getTexture(21); case 7: return _125r.SALLY_AIRBASE_MAINT.getTexture(13); case 5: return _125r.SALLY_AIRBASE_MAINT.getTexture(15); case 6: return _125r.SALLY_AIRBASE_MAINT.getTexture(18); } }, _125v.prototype.dispose = function() { var _1268 = null; this.off(_125q.EventType.CLICK, this._onSelect), this.destroy(), this._onSelect = null; }, _125v; }(PIXI.Sprite); _1255.AirBaseAreaBtn = _125s; }, 44013: function(_1269, _126a, _126b) { 'use strict'; var _126c = null; var _126d, _126e = this && this.__extends || (_126d = function(_126f, _126g) { var _126h = null; return _126d = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_126i, _126j) { var _126k = null; _126i.__proto__ = _126j; } || function(_126l, _126m) { var _126n = null; for (var _126o in _126m) Object.prototype.hasOwnProperty.call(_126m, _126o) && (_126l[_126o] = _126m[_126o]); }, _126d(_126f, _126g); }, function(_126p, _126q) { var _126r = null; if ('function' != typeof _126q && null !== _126q) throw new TypeError('Class extends value ' + String(_126q) + ' is not a constructor or null'); function _126s() { var _126t = null; this.constructor = _126p; } _126d(_126p, _126q), _126p.prototype = null === _126q ? Object.create(_126q) : (_126s.prototype = _126q.prototype, new _126s()); }); defineModule(_126a); Object.defineProperty(_126a, '__esModule', { 'value': !0 }), _126a.AirBaseLvTxt = void 0; var _126u = _126b(79675), _126v = function(_126w) { var _126x = null; function _126y() { var _126z = null, _1270 = _126w.call(this) || this; return _1270._bg = new PIXI.Sprite(_126u.SALLY_AIRBASE_MAINT.getTexture(33)), _1270._on = new PIXI.Sprite(_126u.SALLY_AIRBASE_MAINT.getTexture(34)), _1270._on.position.set(-5, -5), _1270._on.visible = !1, _1270._lv_txt = new PIXI.Sprite(), _1270.addChild(_1270._bg), _1270.addChild(_1270._lv_txt), _1270.addChild(_1270._on), _1270; } return _126e(_126y, _126w), _126y.prototype.update = function(_1271, _1272) { var _1273 = null; this._lv_txt.texture = this._getLvTexture(_1271), this._lv_txt.position.set(Math.floor(this._bg.width / 2 - this._lv_txt.width / 2), 5), this._lv_txt.visible = _1272; }, _126y.prototype._getLvTexture = function(_1274) { var _1275 = null; switch (_1274) { case 1: return _126u.SALLY_AIRBASE_MAINT.getTexture(36); case 2: return _126u.SALLY_AIRBASE_MAINT.getTexture(37); case 3: return _126u.SALLY_AIRBASE_MAINT.getTexture(38); default: return _126u.SALLY_AIRBASE_MAINT.getTexture(35); } }, _126y.prototype.selected = function(_1276) { var _1277 = null; this._on.visible = _1276; }, _126y.prototype.dispose = function() { var _1278 = null; this.removeChildren(), this._bg.destroy(), this._bg = null, this._lv_txt.destroy(), this._lv_txt = null, this._on.destroy(), this._on = null; }, _126y; }(PIXI.Container); _126a.AirBaseLvTxt = _126v; }, 58302: function(_1279, _127a, _127b) { 'use strict'; var _127c = null; var _127d, _127e = this && this.__extends || (_127d = function(_127f, _127g) { var _127h = null; return _127d = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_127i, _127j) { var _127k = null; _127i.__proto__ = _127j; } || function(_127l, _127m) { var _127n = null; for (var _127o in _127m) Object.prototype.hasOwnProperty.call(_127m, _127o) && (_127l[_127o] = _127m[_127o]); }, _127d(_127f, _127g); }, function(_127p, _127q) { var _127r = null; if ('function' != typeof _127q && null !== _127q) throw new TypeError('Class extends value ' + String(_127q) + ' is not a constructor or null'); function _127s() { var _127t = null; this.constructor = _127p; } _127d(_127p, _127q), _127p.prototype = null === _127q ? Object.create(_127q) : (_127s.prototype = _127q.prototype, new _127s()); }); defineModule(_127a); Object.defineProperty(_127a, '__esModule', { 'value': !0 }), _127a.AirBaseLvUpBtn = _127a.AirBaseState = void 0; var _127u, _127v = _127b(35380), _127w = _127b(79675); ! function(_127x) { var _127y = null; _127x[_127x.ACTIVATE = 0] = 'ACTIVATE', _127x[_127x.DEACTIVATE = 1] = 'DEACTIVATE', _127x[_127x.LEVEL_MAX = 2] = 'LEVEL_MAX'; }(_127u || (_127a.AirBaseState = _127u = {})); var _127z = function(_1280) { var _1281 = null; function _1282(_1283) { var _1284 = null, _1285 = _1280.call(this) || this; return _1285._onOver = function() { var _1286 = null; _1285._txt.texture = _127w.SALLY_AIRBASE_MAINT.getTexture(6); }, _1285._onOut = function() { var _1287 = null; _1285._txt.texture = _127w.SALLY_AIRBASE_MAINT.getTexture(2); }, _1285._txt = new PIXI.Sprite(), _1285._onLevelUp = _1283, _1285._txt.on(_127v.EventType.CLICK, _1283), _1285._txt.on(_127v.EventType.MOUSEOVER, _1285._onOver), _1285._txt.on(_127v.EventType.MOUSEOUT, _1285._onOut), _1285._light = new PIXI.Sprite(_127w.SALLY_AIRBASE_MAINT.getTexture(5)), _1285._light.position.set(-6, -5), _1285.addChild(_1285._txt), _1285.addChild(_1285._light), _1285.update(_127u.DEACTIVATE), _1285; } return _127e(_1282, _1280), _1282.prototype.update = function(_1288) { var _1289 = null; switch (this._deactivate(), _1288) { case _127u.ACTIVATE: this._txt.texture = _127w.SALLY_AIRBASE_MAINT.getTexture(2), this._txt.position.set(0, 0), this._txt.interactive = this._txt.buttonMode = !0; break; case _127u.LEVEL_MAX: this._txt.texture = _127w.SALLY_AIRBASE_MAINT.getTexture(4), this._txt.position.set(-6, -5), this._txt.interactive = this._txt.buttonMode = !1, this._activate(); break; case _127u.DEACTIVATE: this._txt.texture = _127w.SALLY_AIRBASE_MAINT.getTexture(3), this._txt.position.set(0, 0), this._txt.interactive = this._txt.buttonMode = !1; } }, _1282.prototype.dispose = function() { var _128a = null; this._deactivate(), this.removeChildren(), this._txt.off(_127v.EventType.CLICK, this._onLevelUp), this._txt.off(_127v.EventType.MOUSEOVER, this._onOver), this._txt.off(_127v.EventType.MOUSEOUT, this._onOut), this._txt.destroy(), this._txt = null, this._light.destroy(), this._light = null; }, _1282.prototype._activate = function() { var _128b = null; null == this._t && (this._light.alpha = 0, this._t = createjs.Tween.get(this._light, { 'loop': !0 }).to({ 'alpha': 1 }, 800).to({ 'alpha': 0 }, 400)); }, _1282.prototype._deactivate = function() { var _128c = null, _128d; null === (_128d = this._t) || void 0 === _128d || _128d.setPaused(!0), this._t = null, this._light.alpha = 0; }, _1282; }(PIXI.Container); _127a.AirBaseLvUpBtn = _127z; }, 86245: function(_128e, _128f, _128g) { 'use strict'; var _128h = null; var _128i, _128j = this && this.__extends || (_128i = function(_128k, _128l) { var _128m = null; return _128i = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_128n, _128o) { var _128p = null; _128n.__proto__ = _128o; } || function(_128q, _128r) { var _128s = null; for (var _128t in _128r) Object.prototype.hasOwnProperty.call(_128r, _128t) && (_128q[_128t] = _128r[_128t]); }, _128i(_128k, _128l); }, function(_128u, _128v) { var _128w = null; if ('function' != typeof _128v && null !== _128v) throw new TypeError('Class extends value ' + String(_128v) + ' is not a constructor or null'); function _128x() { var _128y = null; this.constructor = _128u; } _128i(_128u, _128v), _128u.prototype = null === _128v ? Object.create(_128v) : (_128x.prototype = _128v.prototype, new _128x()); }), _128z = this && this.__importDefault || function(_1290) { var _1291 = null; return _1290 && _1290.__esModule ? _1290 : { 'default': _1290 }; }; defineModule(_128f); Object.defineProperty(_128f, '__esModule', { 'value': !0 }), _128f.AirBaseMaintPanel = void 0; var _1292 = _128g(79675), _1293 = _128z(_128g(18622)), _1294 = _128g(21919), _1295 = _128g(23204), _1296 = _128g(58302), _1297 = _128g(71633), _1298 = function(_1299) { var _129a = null; function _129b(_129c) { var _129d = null, _129e = _1299.call(this) || this; _129e.VIEW_AREA_IDS = [_1297.EventConst.AREA_ID, 7, 5, 6], _129e.AIRBASE_MAX_LEVEL = 3, _129e._getAirBaseInfo = function(_129f) { var _129g = null; return _129f == _1297.EventConst.AREA_ID ? _1293.default.model.airbase.getAirBaseEvent() : _1293.default.model.airbase.getAirBase(_129f); }, _129e._getLineSprite = function(_129h) { var _129i = null; switch (_129h) { case _1297.EventConst.AREA_ID: var _129j = new PIXI.Sprite(_1292.SALLY_AIRBASE_MAINT.getTexture(30)); return _129j.position.set(175, 439), _129j; case 7: var _129k = new PIXI.Sprite(_1292.SALLY_AIRBASE_MAINT.getTexture(31)); return _129k.position.set(287, 442), _129k; case 5: var _129l = new PIXI.Sprite(_1292.SALLY_AIRBASE_MAINT.getTexture(31)); return _129l.position.set(440, 442), _129l; case 6: var _129m = new PIXI.Sprite(_1292.SALLY_AIRBASE_MAINT.getTexture(32)); return _129m.position.set(479, 440), _129m; } }, _129e._onSelect = function(_129n) { var _129o = null; _129e._airbase_views.forEach(function(_129p) { var _129q = null; _129p.view_area_id == _129n ? _129e._selected_area_id = _129p.area_id : _129p.unSelected(); }), _129e._update(_129n, _129e._selected_area_id); }, _129e._onLevelUp = function() { var _129r = null; _129e._cb_onLevelUp(_129e._selected_area_id); }, _129e._selected_area_id = 0, _129e._cb_onLevelUp = _129c, _129e._airbase_views = new Array(), _129e._selected_lines = {}; for (var _129s = 0; _129s < _129e.VIEW_AREA_IDS.length; _129s++) { var _129t = _129e.VIEW_AREA_IDS[_129s], _129u = new _1294.AirBaseView(_129t, _129e._onSelect), _129v = _129e._getAirBaseInfo(_129t); _129u.update(_129v), _129e._airbase_views.push(_129u), _129e._selected_lines[_129t] = _129e._getLineSprite(_129t), _129e._selected_lines[_129t].visible = !1; } return _129e._bg = new PIXI.Sprite(_1292.SALLY_AIRBASE_MAINT.getTexture(0)), _129e.addChild(_129e._bg), _129e._airbase_views.forEach(function(_129w, _129x) { var _129y = null; 0 == _129x ? _129w.position.set(42, 60) : _129w.position.set(149 * _129x + 69, 61), _129e.addChild(_129w); }), Object.keys(_129e._selected_lines).forEach(function(_129z) { var _12a0 = null; return _129e.addChild(_129e._selected_lines[parseInt(_129z)]); }), _129e._setup_team = new _1295.SetupTeamIcon(), _129e._setup_team.position.set(515, 448), _129e.addChild(_129e._setup_team), _129e._levelup_btn = new _1296.AirBaseLvUpBtn(_129e._onLevelUp), _129e._levelup_btn.position.set(211, 457), _129e.addChild(_129e._levelup_btn), _129e.interactive = !0, _129e; } return _128j(_129b, _1299), _129b.prototype.update = function() { var _12a1 = null; for (var _12a2, _12a3 = 0; _12a3 < this.VIEW_AREA_IDS.length; _12a3++) { var _12a4 = this.VIEW_AREA_IDS[_12a3], _12a5 = this._airbase_views[_12a3], _12a6 = this._getAirBaseInfo(_12a4); _12a5.update(_12a6), _12a5.area_id == this._selected_area_id && (_12a2 = _12a5.view_area_id); } this._setup_team.update(), this._update(_12a2, this._selected_area_id); }, _129b.prototype._update = function(_12a7, _12a8) { var _12a9 = null, _12aa = this; this._airbase_views.forEach(function(_12ab) { var _12ac = null; return _12aa._selected_lines[_12ab.view_area_id].visible = !1; }); var _12ad = _1293.default.model.airbase.getAirBase(_12a8), _12ae = _1293.default.model.useItem.getCount(73); null != _12ad && _12ad.level >= this.AIRBASE_MAX_LEVEL ? this._levelup_btn.update(_1296.AirBaseState.LEVEL_MAX) : _12ae > 0 ? (this._levelup_btn.update(_1296.AirBaseState.ACTIVATE), this._selected_lines[_12a7].visible = !0) : this._levelup_btn.update(_1296.AirBaseState.DEACTIVATE); }, _129b.prototype.dispose = function() { var _12af = null, _12ag = this; this.removeChildren(), Object.keys(this._selected_lines).forEach(function(_12ah) { var _12ai = null; return _12ag._selected_lines[parseInt(_12ah)].destroy(); }), this._selected_lines = null, this._bg.destroy(), this._bg = null, this._airbase_views.forEach(function(_12aj) { var _12ak = null; _12aj.dispose(), _12aj = null; }), this._airbase_views = null, this._setup_team.dispose(), this._setup_team = null, this._levelup_btn.dispose(), this._levelup_btn = null; }, _129b; }(PIXI.Container); _128f.AirBaseMaintPanel = _1298; }, 12135: function(_12al, _12am, _12an) { 'use strict'; var _12ao = null; var _12ap, _12aq = this && this.__extends || (_12ap = function(_12ar, _12as) { var _12at = null; return _12ap = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_12au, _12av) { var _12aw = null; _12au.__proto__ = _12av; } || function(_12ax, _12ay) { var _12az = null; for (var _12b0 in _12ay) Object.prototype.hasOwnProperty.call(_12ay, _12b0) && (_12ax[_12b0] = _12ay[_12b0]); }, _12ap(_12ar, _12as); }, function(_12b1, _12b2) { var _12b3 = null; if ('function' != typeof _12b2 && null !== _12b2) throw new TypeError('Class extends value ' + String(_12b2) + ' is not a constructor or null'); function _12b4() { var _12b5 = null; this.constructor = _12b1; } _12ap(_12b1, _12b2), _12b1.prototype = null === _12b2 ? Object.create(_12b2) : (_12b4.prototype = _12b2.prototype, new _12b4()); }), _12b6 = this && this.__importDefault || function(_12b7) { var _12b8 = null; return _12b7 && _12b7.__esModule ? _12b7 : { 'default': _12b7 }; }; defineModule(_12am); Object.defineProperty(_12am, '__esModule', { 'value': !0 }), _12am.AirBaseStatusTxt = void 0; var _12b9 = _12an(79675), _12ba = _12b6(_12an(18622)), _12bb = function(_12bc) { var _12bd = null; function _12be() { var _12bf = null, _12bg = _12bc.call(this) || this; return _12bg._bg = new PIXI.Sprite(_12b9.SALLY_AIRBASE_MAINT.getTexture(46)), _12bg._on = new PIXI.Sprite(_12b9.SALLY_AIRBASE_MAINT.getTexture(47)), _12bg._on.position.set(-5, -5), _12bg._on.visible = !1, _12bg._status_txt = new PIXI.Sprite(), _12bg.addChild(_12bg._bg), _12bg.addChild(_12bg._status_txt), _12bg.addChild(_12bg._on), _12bg; } return _12aq(_12be, _12bc), _12be.prototype.selected = function(_12bh) { var _12bi = null; this._on.visible = _12bh; }, _12be.prototype.update = function(_12bj) { var _12bk = null, _12bl = this._getTexture(_12bj); this._status_txt.texture = _12bl, this._status_txt.position.set(Math.floor(this._bg.width / 2 - this._status_txt.width / 2), 4); }, _12be.prototype._getTexture = function(_12bm) { var _12bn = null; if (null == _12bm || 0 == _12bm.length) return _12b9.SALLY_AIRBASE_MAINT.getTexture(49); for (var _12bo = 0, _12bp = _12bm; _12bo < _12bp.length; _12bo++) for (var _12bq = 0, _12br = _12bp[_12bo].squadrons; _12bq < _12br.length; _12bq++) { var _12bs = _12br[_12bq]; if (null != _12ba.default.model.slot.get(_12bs.mem_id)) return _12b9.SALLY_AIRBASE_MAINT.getTexture(48); } return _12b9.SALLY_AIRBASE_MAINT.getTexture(50); }, _12be.prototype.dispose = function() { var _12bt = null; this.removeChildren(), this._bg.destroy(), this._bg = null, this._status_txt.destroy(), this._status_txt = null, this._on.destroy(), this._on = null; }, _12be; }(PIXI.Container); _12am.AirBaseStatusTxt = _12bb; }, 21919: function(_12bu, _12bv, _12bw) { 'use strict'; var _12bx = null; var _12by, _12bz = this && this.__extends || (_12by = function(_12c0, _12c1) { var _12c2 = null; return _12by = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_12c3, _12c4) { var _12c5 = null; _12c3.__proto__ = _12c4; } || function(_12c6, _12c7) { var _12c8 = null; for (var _12c9 in _12c7) Object.prototype.hasOwnProperty.call(_12c7, _12c9) && (_12c6[_12c9] = _12c7[_12c9]); }, _12by(_12c0, _12c1); }, function(_12ca, _12cb) { var _12cc = null; if ('function' != typeof _12cb && null !== _12cb) throw new TypeError('Class extends value ' + String(_12cb) + ' is not a constructor or null'); function _12cd() { var _12ce = null; this.constructor = _12ca; } _12by(_12ca, _12cb), _12ca.prototype = null === _12cb ? Object.create(_12cb) : (_12cd.prototype = _12cb.prototype, new _12cd()); }), _12cf = this && this.__importDefault || function(_12cg) { var _12ch = null; return _12cg && _12cg.__esModule ? _12cg : { 'default': _12cg }; }; defineModule(_12bv); Object.defineProperty(_12bv, '__esModule', { 'value': !0 }), _12bv.AirBaseView = void 0; var _12ci = _12cf(_12bw(18622)), _12cj = _12bw(4960), _12ck = _12bw(90875), _12cl = _12bw(55105), _12cm = _12bw(12135), _12cn = _12bw(44013), _12co = _12bw(71633), _12cp = function(_12cq) { var _12cr = null; function _12cs(_12ct, _12cu) { var _12cv = null, _12cw = _12cq.call(this) || this; return _12cw._onSelect = function() { var _12cx = null; _12cw._cb_onSelect(_12cw._view_area_id), _12cw._lv.selected(!0), _12cw._status.selected(!0), _12cw._deploy_box.selected(!0), _12cw._deploy_status.selected(!0); }, _12cw._view_area_id = _12ct, _12cw._cb_onSelect = _12cu, _12cw._area_btn = new _12ck.AirBaseAreaBtn(_12cw._view_area_id, _12cw._onSelect), _12cw._area_btn.position.set(0, 18), _12cw._lv = new _12cn.AirBaseLvTxt(), _12cw._lv.position.set(0, 113), _12cw._status = new _12cm.AirBaseStatusTxt(), _12cw._status.position.set(0, 148), _12cw._deploy_status = new _12cl.AirUnitCountTxt(), _12cw._deploy_status.position.set(1, 175), _12cw._deploy_box = new _12cj.AirUnitDetailBox(), _12cw._deploy_box.position.set(0, 203), _12cw.addChild(_12cw._area_btn), _12cw.addChild(_12cw._lv), _12cw.addChild(_12cw._status), _12cw.addChild(_12cw._deploy_status), _12cw.addChild(_12cw._deploy_box), _12cw; } return _12bz(_12cs, _12cq), Object.defineProperty(_12cs.prototype, 'area_id', { 'get': function() { var _12cy = null; return this._area_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_12cs.prototype, 'view_area_id', { 'get': function() { var _12cz = null; return this._view_area_id; }, 'enumerable': !1, 'configurable': !0 }), _12cs.prototype.update = function(_12d0) { var _12d1 = null; this._is_event_area = this._view_area_id == _12co.EventConst.AREA_ID, this._area_id = this._is_event_area ? _12d0.area_id : this._view_area_id; var _12d2 = _12ci.default.model.airunit.getAirUnitList(this._area_id), _12d3 = (null == _12d2 ? void 0 : _12d2.length) > 0; this._is_event_area && this._area_id != _12co.EventConst.AREA_ID ? (this._lv.update(_12d0.level, !0), this._status.update(null), this._deploy_status.update(null), this._deploy_box.update(null), this._area_btn.activate()) : _12d3 ? (this._lv.update(null == _12d0 ? void 0 : _12d0.level, !0), this._status.update(_12d2), this._deploy_status.update(_12d2), this._deploy_box.update(_12d2), this._area_btn.activate()) : (this._lv.update(null, !1), this._status.update(null), this._deploy_status.update(null), this._deploy_box.visible = !1, this._area_btn.deactivate()); }, _12cs.prototype.unSelected = function() { var _12d4 = null; this._area_btn.unSelected(), this._lv.selected(!1), this._status.selected(!1), this._deploy_box.selected(!1), this._deploy_status.selected(!1); }, _12cs.prototype.dispose = function() { var _12d5 = null; this.removeChildren(), this._lv.dispose(), this._lv = null, this._status.dispose(), this._status = null, this._deploy_box.dispose(), this._deploy_box = null, this._deploy_status.dispose(), this._deploy_status = null; }, _12cs; }(PIXI.Container); _12bv.AirBaseView = _12cp; }, 55105: function(_12d6, _12d7, _12d8) { 'use strict'; var _12d9 = null; var _12da, _12db = this && this.__extends || (_12da = function(_12dc, _12dd) { var _12de = null; return _12da = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_12df, _12dg) { var _12dh = null; _12df.__proto__ = _12dg; } || function(_12di, _12dj) { var _12dk = null; for (var _12dl in _12dj) Object.prototype.hasOwnProperty.call(_12dj, _12dl) && (_12di[_12dl] = _12dj[_12dl]); }, _12da(_12dc, _12dd); }, function(_12dm, _12dn) { var _12do = null; if ('function' != typeof _12dn && null !== _12dn) throw new TypeError('Class extends value ' + String(_12dn) + ' is not a constructor or null'); function _12dp() { var _12dq = null; this.constructor = _12dm; } _12da(_12dm, _12dn), _12dm.prototype = null === _12dn ? Object.create(_12dn) : (_12dp.prototype = _12dn.prototype, new _12dp()); }), _12dr = this && this.__importDefault || function(_12ds) { var _12dt = null; return _12ds && _12ds.__esModule ? _12ds : { 'default': _12ds }; }; defineModule(_12d7); Object.defineProperty(_12d7, '__esModule', { 'value': !0 }), _12d7.AirUnitCountTxt = void 0; var _12du = _12d8(79675), _12dv = _12dr(_12d8(18622)), _12dw = function(_12dx) { var _12dy = null; function _12dz() { var _12e0 = null, _12e1 = _12dx.call(this) || this; return _12e1._bg = new PIXI.Sprite(_12du.SALLY_AIRBASE_MAINT.getTexture(52)), _12e1._on = new PIXI.Sprite(_12du.SALLY_AIRBASE_MAINT.getTexture(53)), _12e1._on.position.set(-5, -5), _12e1._on.visible = !1, _12e1._status_txt = new PIXI.Sprite(), _12e1.addChild(_12e1._bg), _12e1.addChild(_12e1._status_txt), _12e1.addChild(_12e1._on), _12e1; } return _12db(_12dz, _12dx), _12dz.prototype.selected = function(_12e2) { var _12e3 = null; this._on.visible = _12e2; }, _12dz.prototype.update = function(_12e4) { var _12e5 = null, _12e6 = this._getTexture(_12e4); this._status_txt.texture = _12e6, this._status_txt.position.set(Math.floor(this._bg.width / 2 - this._status_txt.width / 2), 4); }, _12dz.prototype._getTexture = function(_12e7) { var _12e8 = null; if (null == _12e7 || 0 == _12e7.length) return _12du.SALLY_AIRBASE_MAINT.getTexture(54); for (var _12e9 = 0, _12ea = 0, _12eb = _12e7; _12ea < _12eb.length; _12ea++) for (var _12ec = 0, _12ed = _12eb[_12ea].squadrons; _12ec < _12ed.length; _12ec++) { var _12ee = _12ed[_12ec]; if (null != _12dv.default.model.slot.get(_12ee.mem_id)) { _12e9++; break; } } switch (_12e9) { case 1: return _12du.SALLY_AIRBASE_MAINT.getTexture(55); case 2: return _12du.SALLY_AIRBASE_MAINT.getTexture(56); case 3: return _12du.SALLY_AIRBASE_MAINT.getTexture(57); default: return _12du.SALLY_AIRBASE_MAINT.getTexture(54); } }, _12dz.prototype.dispose = function() { var _12ef = null; this.removeChildren(), this._bg.destroy(), this._bg = null, this._status_txt.destroy(), this._status_txt = null, this._on.destroy(), this._on = null; }, _12dz; }(PIXI.Container); _12d7.AirUnitCountTxt = _12dw; }, 4960: function(_12eg, _12eh, _12ei) { 'use strict'; var _12ej = null; var _12ek, _12el = this && this.__extends || (_12ek = function(_12em, _12en) { var _12eo = null; return _12ek = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_12ep, _12eq) { var _12er = null; _12ep.__proto__ = _12eq; } || function(_12es, _12et) { var _12eu = null; for (var _12ev in _12et) Object.prototype.hasOwnProperty.call(_12et, _12ev) && (_12es[_12ev] = _12et[_12ev]); }, _12ek(_12em, _12en); }, function(_12ew, _12ex) { var _12ey = null; if ('function' != typeof _12ex && null !== _12ex) throw new TypeError('Class extends value ' + String(_12ex) + ' is not a constructor or null'); function _12ez() { var _12f0 = null; this.constructor = _12ew; } _12ek(_12ew, _12ex), _12ew.prototype = null === _12ex ? Object.create(_12ex) : (_12ez.prototype = _12ex.prototype, new _12ez()); }), _12f1 = this && this.__importDefault || function(_12f2) { var _12f3 = null; return _12f2 && _12f2.__esModule ? _12f2 : { 'default': _12f2 }; }; defineModule(_12eh); Object.defineProperty(_12eh, '__esModule', { 'value': !0 }), _12eh.AirUnitDetailBox = void 0; var _12f4, _12f5 = _12ei(8744), _12f6 = _12ei(79675), _12f7 = _12ei(98583), _12f8 = _12f1(_12ei(18622)), _12f9 = _12ei(14608); ! function(_12fa) { var _12fb = null; _12fa[_12fa.NONE = 0] = 'NONE', _12fa[_12fa.DEPLOY = 1] = 'DEPLOY', _12fa[_12fa.RELOCATION = 2] = 'RELOCATION'; }(_12f4 || (_12f4 = {})); var _12fc = function(_12fd) { var _12fe = null; function _12ff() { var _12fg = null, _12fh = _12fd.call(this) || this; _12fh.CATEGORY_NUM = 5, _12fh._unit = [], _12fh._bg = new PIXI.Sprite(_12f6.SALLY_AIRBASE_MAINT.getTexture(26)), _12fh._on = new PIXI.Sprite(_12f6.SALLY_AIRBASE_MAINT.getTexture(28)), _12fh._on.position.set(-8, -8), _12fh._on.visible = !1; for (var _12fi = 0; _12fi < _12fh.CATEGORY_NUM; _12fi++) { var _12fj = new _12fk(_12fi); _12fj.position.set(0, 7 + 35 * _12fi), _12fh._unit.push(_12fj); } return _12fh.addChild(_12fh._bg), _12fh._unit.forEach(function(_12fl) { var _12fm = null; return _12fh.addChild(_12fl); }), _12fh.addChild(_12fh._on), _12fh; } return _12el(_12ff, _12fd), _12ff.prototype.selected = function(_12fn) { var _12fo = null; this._on.visible = _12fn; }, _12ff.prototype.update = function(_12fp) { var _12fq = null; this._unit.forEach(function(_12fr) { var _12fs = null; return _12fr.update(_12fp); }); }, _12ff.prototype.dispose = function() { var _12ft = null; this.removeChildren(), this._bg.destroy(), this._bg = null, this._unit.forEach(function(_12fu) { var _12fv = null; _12fu.dispose(), _12fu = null; }), this._unit = null, this._on.destroy(), this._on = null; }, _12ff; }(PIXI.Container); _12eh.AirUnitDetailBox = _12fc; var _12fk = function(_12fw) { var _12fx = null; function _12fy(_12fz) { var _12g0 = null, _12g1 = _12fw.call(this) || this; return _12g1._category = _12fz, _12g1._block = new _12g2(), _12g1.addChild(_12g1._block), _12g1._icon = new PIXI.Sprite(), _12g1._getIconTexture(_12fz), _12g1.addChild(_12g1._icon), _12g1._txt = new PIXI.Sprite(_12f6.SALLY_AIRBASE_MAINT.getTexture(27)), _12g1._txt.position.set(63, 7), _12g1.addChild(_12g1._txt), _12g1._count_txt = new _12f5.TextBox(16, 4999235), _12g1._count_txt.position.set(76, 2), _12g1.addChild(_12g1._count_txt), _12g1; } return _12el(_12fy, _12fw), _12fy.prototype.update = function(_12g3) { var _12g4 = null; if (null != _12g3) { for (var _12g5 = (0, _12f9.getEquipTypes)(this._category), _12g6 = 0, _12g7 = 0, _12g8 = _12g3; _12g7 < _12g8.length; _12g7++) for (var _12g9 = _12g8[_12g7], _12ga = _12g9.id, _12gb = 0, _12gc = _12g9.squadrons; _12gb < _12gc.length; _12gb++) { var _12gd = _12gc[_12gb], _12ge = _12f4.NONE, _12gf = _12f8.default.model.slot.get(_12gd.mem_id); null != _12gf && _12g5.indexOf(_12gf.equipTypeSp) >= 0 && (_12g6++, _12ge = _12gd.isRelocation() ? _12f4.RELOCATION : _12f4.DEPLOY), this._block.update(_12ge, _12ga - 1, _12gd.id - 1); } 0 == _12g6 ? (this._count_txt.text = '', this._txt.visible = !1) : (this._count_txt.text = _12g6.toString(), this._txt.visible = !0), this._block.visible = !0; } else this._block.visible = !1, this._txt.visible = !1, this._count_txt.text = ''; }, _12fy.prototype._getIconTexture = function(_12gg) { var _12gh = null; 0 == _12gg ? (this._icon.texture = _12f7.SALLY_AIRUNIT.getTexture(134), this._icon.position.set(7, 2)) : 1 == _12gg ? (this._icon.texture = _12f7.SALLY_AIRUNIT.getTexture(135), this._icon.position.set(11, -1)) : 2 == _12gg ? (this._icon.texture = _12f7.SALLY_AIRUNIT.getTexture(136), this._icon.position.set(11, 5)) : 3 == _12gg ? (this._icon.texture = _12f7.SALLY_AIRUNIT.getTexture(137), this._icon.position.set(11, 5)) : 4 == _12gg ? (this._icon.texture = _12f7.SALLY_AIRUNIT.getTexture(138), this._icon.position.set(11, 4)) : this._icon.texture = PIXI.Texture.EMPTY; }, _12fy.prototype.dispose = function() { var _12gi = null; this.removeChildren(), this._block.dispose(), this._block = null, this._icon.destroy(), this._icon = null, this._txt.destroy(), this._txt = null, this._count_txt.destroy(), this._count_txt = null; }, _12fy; }(PIXI.Container), _12g2 = function(_12gj) { var _12gk = null; function _12gl() { var _12gm = null, _12gn = _12gj.call(this) || this; _12gn.AIRUNIT_MAX = 3, _12gn.SQUADRON_MAX = 4, _12gn._bg = new PIXI.Sprite(_12f6.SALLY_AIRBASE_MAINT.getTexture(59)), _12gn._bg.position.set(106, 0), _12gn.addChild(_12gn._bg); for (var _12go = [], _12gp = 0; _12gp < _12gn.AIRUNIT_MAX; _12gp++) { _12go[_12gp] = new Array(); for (var _12gq = 0; _12gq < _12gn.SQUADRON_MAX; _12gq++) { var _12gr = new _12gs(); _12gr.position.set(106 + 8 * _12gp, 2 + 6 * _12gq), _12go[_12gp][_12gq] = _12gr, _12gn.addChild(_12gr); } } return _12gn._unit = _12go, _12gn; } return _12el(_12gl, _12gj), _12gl.prototype.update = function(_12gt, _12gu, _12gv) { var _12gw = null; this._unit[_12gu][_12gv].update(_12gt); }, _12gl.prototype.dispose = function() { var _12gx = null; this.removeChildren(), this._bg.destroy(), this._bg = null, this._unit.forEach(function(_12gy) { var _12gz = null; return _12gy.forEach(function(_12h0) { var _12h1 = null; _12h0.destroy(), _12h0 = null; }); }), this._unit = null; }, _12gl; }(PIXI.Container), _12gs = function(_12h2) { var _12h3 = null; function _12h4() { var _12h5 = null; return _12h2.call(this) || this; } return _12el(_12h4, _12h2), _12h4.prototype.update = function(_12h6) { var _12h7 = null; switch (_12h6) { case _12f4.DEPLOY: this.texture = _12f6.SALLY_AIRBASE_MAINT.getTexture(60); break; case _12f4.RELOCATION: this.texture = _12f6.SALLY_AIRBASE_MAINT.getTexture(58); break; case _12f4.DEPLOY: this.texture = PIXI.Texture.EMPTY; } }, _12h4; }(PIXI.Sprite); }, 59640: function(_12h8, _12h9, _12ha) { 'use strict'; var _12hb = null; var _12hc, _12hd = this && this.__extends || (_12hc = function(_12he, _12hf) { var _12hg = null; return _12hc = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_12hh, _12hi) { var _12hj = null; _12hh.__proto__ = _12hi; } || function(_12hk, _12hl) { var _12hm = null; for (var _12hn in _12hl) Object.prototype.hasOwnProperty.call(_12hl, _12hn) && (_12hk[_12hn] = _12hl[_12hn]); }, _12hc(_12he, _12hf); }, function(_12ho, _12hp) { var _12hq = null; if ('function' != typeof _12hp && null !== _12hp) throw new TypeError('Class extends value ' + String(_12hp) + ' is not a constructor or null'); function _12hr() { var _12hs = null; this.constructor = _12ho; } _12hc(_12ho, _12hp), _12ho.prototype = null === _12hp ? Object.create(_12hp) : (_12hr.prototype = _12hp.prototype, new _12hr()); }); defineModule(_12h9); Object.defineProperty(_12h9, '__esModule', { 'value': !0 }), _12h9.ExpandConfirm = void 0; var _12ht = _12ha(43182), _12hu = _12ha(8744), _12hv = _12ha(35380), _12hw = _12ha(79675), _12hx = _12ha(98583), _12hy = function(_12hz) { var _12i0 = null; function _12i1(_12i2, _12i3, _12i4) { var _12i5 = null, _12i6 = _12hz.call(this) || this; _12i6._onClickYes = function() { var _12i7 = null; _12i6.onClickYES(); }, _12i6._onClickNo = function() { var _12i8 = null; _12i6.onClickNO(); }, _12i6.onClickYES = _12i3, _12i6.onClickNO = _12i4, _12i6._bg = new PIXI.Sprite(_12hx.SALLY_AIRUNIT.getTexture(114)), _12i6._confirm_container = new PIXI.Container(), _12i6._item_from = new _12hu.TextBox(19, 5523516), _12i6._item_to = new _12hu.TextBox(19, 5523516), _12i6._item_icon = new PIXI.Sprite(_12hw.SALLY_AIRBASE_MAINT.getTexture(39)), _12i6._area_txt = new PIXI.Sprite(_12i6._getTargetAreaTexture(_12i2)), _12i6._txt1 = new PIXI.Sprite(_12hw.SALLY_AIRBASE_MAINT.getTexture(45)), _12i6._txt2 = new PIXI.Sprite(_12hw.SALLY_AIRBASE_MAINT.getTexture(40)), _12i6._txt3 = new PIXI.Sprite(_12hw.SALLY_AIRBASE_MAINT.getTexture(41)); var _12i9 = _12hw.SALLY_AIRBASE_MAINT.getTexture(22); _12i6.buttonYes = new _12ht.SimpleButton(_12i9, _12i9), _12i6.buttonYes.addListener(_12hv.EventType.CLICK, _12i6._onClickYes); var _12ia = _12hw.SALLY_AIRBASE_MAINT.getTexture(1); _12i6.buttonNo = new _12ht.SimpleButton(_12ia, _12ia), _12i6.buttonNo.addListener(_12hv.EventType.CLICK, _12i6._onClickNo); var _12ib = Math.floor(_12i6._bg.width / 2); _12i6._item_from.position.set(364, 210), _12i6._item_to.position.set(426, 210), _12i6._item_icon.position.set(Math.floor(_12ib - _12i6._item_icon.width / 2), 118), _12i6._area_txt.position.set(Math.floor(_12ib - _12i6._area_txt.width / 2), 35), _12i6._txt1.position.set(Math.floor(_12ib - _12i6._txt1.width / 2), 73), _12i6._txt2.position.set(296, 210), _12i6._txt3.position.set(Math.floor(_12ib - _12i6._txt3.width / 2), 237), _12i6.buttonYes.position.set(150, 271), _12i6.buttonNo.position.set(420, 271), _12i6.buttonYes.onClick = _12i6._onClickYes, _12i6.buttonNo.onClick = _12i6._onClickNo, _12i6.addChild(_12i6._bg), _12i6._confirm_container.addChild(_12i6._item_from), _12i6._confirm_container.addChild(_12i6._item_to), _12i6._confirm_container.addChild(_12i6._item_icon), _12i6._confirm_container.addChild(_12i6._area_txt), _12i6._confirm_container.addChild(_12i6._txt1), _12i6._confirm_container.addChild(_12i6._txt2), _12i6._confirm_container.addChild(_12i6._txt3), _12i6._confirm_container.addChild(_12i6.buttonYes), _12i6._confirm_container.addChild(_12i6.buttonNo), _12i6._animation_container = new PIXI.Container(), _12i6._layer = new PIXI.Container(), _12i6._area_icon = new PIXI.Sprite(_12i6._getTargetAreaIconTexture(_12i2)), _12i6._icon_01 = new PIXI.Sprite(_12hw.SALLY_AIRBASE_MAINT.getTexture(24)), _12i6._icon_02 = new PIXI.Sprite(_12hw.SALLY_AIRBASE_MAINT.getTexture(25)), _12i6._layer.addChild(_12i6._area_icon), _12i6._layer.addChild(_12i6._icon_01), _12i6._layer.addChild(_12i6._icon_02); var _12ic = new PIXI.Graphics(); return _12ic.beginFill(16774898, 0.5), _12ic.drawRect(0, 0, _12i6._bg.width, _12i6._bg.height), _12ic.endFill(), _12i6._animation_container.mask = _12ic, _12i6._animation_container.alpha = 0, _12i6._layer.position.set(900, 160), _12i6._area_icon.position.set(0, 0), _12i6._icon_01.position.set(200, 28), _12i6._icon_02.position.set(202, 49), _12i6.addChild(_12i6._confirm_container), _12i6.addChild(_12i6._animation_container), _12i6.addChild(_12ic), _12i6; } return _12hd(_12i1, _12hz), Object.defineProperty(_12i1.prototype, 'confirm_container', { 'get': function() { var _12id = null; return this._confirm_container; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_12i1.prototype, 'animation_container', { 'get': function() { var _12ie = null; return this._animation_container; }, 'enumerable': !1, 'configurable': !0 }), _12i1.prototype.update = function(_12if) { var _12ig = null; this._item_from.text = _12if.toString(), this._item_to.text = (_12if - 1).toString(); }, _12i1.prototype.startAnimation = function(_12ih) { var _12ii = null; this._animation_container.addChild(this._layer), createjs.Tween.get(this._layer).to({ 'x': 147 }, 1500).wait(1500).call(function() { _12ih(); }), createjs.Tween.get(this._area_icon).wait(1500).to({ 'x': 30 }, 500).wait(1100).to({ 'x': 0 }, 100).to({ 'x': 30 }, 500), createjs.Tween.get(this._icon_01).wait(1500).to({ 'x': 327 }, 800).to({ 'x': 230 }, 800).to({ 'x': 337 }, 800), createjs.Tween.get(this._icon_02).wait(1500).to({ 'x': 374 }, 800).to({ 'x': 232 }, 800).to({ 'x': 384 }, 800); }, _12i1.prototype._getTargetAreaTexture = function(_12ij) { var _12ik = null; if (_12ij > 20) return _12hw.SALLY_AIRBASE_MAINT.getTexture(43); switch (_12ij) { case 6: return _12hw.SALLY_AIRBASE_MAINT.getTexture(42); case 7: return _12hw.SALLY_AIRBASE_MAINT.getTexture(44); default: return PIXI.Texture.EMPTY; } }, _12i1.prototype._getTargetAreaIconTexture = function(_12il) { var _12im = null; if (_12il > 20) return _12hw.SALLY_AIRBASE_MAINT.getTexture(19); switch (_12il) { case 6: return _12hw.SALLY_AIRBASE_MAINT.getTexture(16); case 7: return _12hw.SALLY_AIRBASE_MAINT.getTexture(11); default: return PIXI.Texture.EMPTY; } }, _12i1.prototype.dispose = function() { var _12in = null; this.removeChildren(), this.buttonYes.dispose(), this.buttonNo.dispose(), this._animation_container.removeChildren(), this._confirm_container.removeChildren(), this._layer.removeChildren(), this._bg.destroy(), this._bg = null, this._item_from.destroy(), this._item_from = null, this._item_to.destroy(), this._item_to = null, this._item_icon.destroy(), this._item_icon = null, this._txt1.destroy(), this._txt1 = null, this._txt2.destroy(), this._txt2 = null, this._txt3.destroy(), this._txt3 = null, this._area_txt.destroy(), this._area_txt = null, this._icon_01.destroy(), this._icon_01 = null, this._icon_02.destroy(), this._icon_02 = null, this.onClickYES = null, this.onClickNO = null, this.buttonYes = null, this.buttonNo = null; }, _12i1; }(PIXI.Container); _12h9.ExpandConfirm = _12hy; }, 23204: function(_12io, _12ip, _12iq) { 'use strict'; var _12ir = null; var _12is, _12it = this && this.__extends || (_12is = function(_12iu, _12iv) { var _12iw = null; return _12is = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_12ix, _12iy) { var _12iz = null; _12ix.__proto__ = _12iy; } || function(_12j0, _12j1) { var _12j2 = null; for (var _12j3 in _12j1) Object.prototype.hasOwnProperty.call(_12j1, _12j3) && (_12j0[_12j3] = _12j1[_12j3]); }, _12is(_12iu, _12iv); }, function(_12j4, _12j5) { var _12j6 = null; if ('function' != typeof _12j5 && null !== _12j5) throw new TypeError('Class extends value ' + String(_12j5) + ' is not a constructor or null'); function _12j7() { var _12j8 = null; this.constructor = _12j4; } _12is(_12j4, _12j5), _12j4.prototype = null === _12j5 ? Object.create(_12j5) : (_12j7.prototype = _12j5.prototype, new _12j7()); }), _12j9 = this && this.__importDefault || function(_12ja) { var _12jb = null; return _12ja && _12ja.__esModule ? _12ja : { 'default': _12ja }; }; defineModule(_12ip); Object.defineProperty(_12ip, '__esModule', { 'value': !0 }), _12ip.SetupTeamIcon = void 0; var _12jc = _12iq(8744), _12jd = _12j9(_12iq(18622)), _12je = _12iq(79675), _12jf = function(_12jg) { var _12jh = null; function _12ji() { var _12jj = null, _12jk = _12jg.call(this) || this; return _12jk._icon = new PIXI.Sprite(_12je.SALLY_AIRBASE_MAINT.getTexture(29)), _12jk.addChild(_12jk._icon), _12jk._txt = new PIXI.Sprite(_12je.SALLY_AIRBASE_MAINT.getTexture(51)), _12jk._txt.position.set(53, 17), _12jk.addChild(_12jk._txt), _12jk._num_txt = new _12jc.TextBox(19, 4999235, 'bold'), _12jk._num_txt.position.set(109, 12), _12jk.addChild(_12jk._num_txt), _12jk.update(), _12jk; } return _12it(_12ji, _12jg), _12ji.prototype.update = function() { var _12jl = null; this._num_txt.text = _12jd.default.model.useItem.getCount(73).toString(); }, _12ji.prototype.dispose = function() { var _12jm = null; this.removeChildren(), this._icon.destroy(), this._icon = null, this._txt.destroy(), this._txt = null, this._num_txt.destroy(), this._num_txt = null; }, _12ji; }(PIXI.Container); _12ip.SetupTeamIcon = _12jf; }, 80531: function(_12jn, _12jo, _12jp) { 'use strict'; var _12jq = null; var _12jr, _12js = this && this.__extends || (_12jr = function(_12jt, _12ju) { var _12jv = null; return _12jr = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_12jw, _12jx) { var _12jy = null; _12jw.__proto__ = _12jx; } || function(_12jz, _12k0) { var _12k1 = null; for (var _12k2 in _12k0) Object.prototype.hasOwnProperty.call(_12k0, _12k2) && (_12jz[_12k2] = _12k0[_12k2]); }, _12jr(_12jt, _12ju); }, function(_12k3, _12k4) { var _12k5 = null; if ('function' != typeof _12k4 && null !== _12k4) throw new TypeError('Class extends value ' + String(_12k4) + ' is not a constructor or null'); function _12k6() { var _12k7 = null; this.constructor = _12k3; } _12jr(_12k3, _12k4), _12k3.prototype = null === _12k4 ? Object.create(_12k4) : (_12k6.prototype = _12k4.prototype, new _12k6()); }); defineModule(_12jo); Object.defineProperty(_12jo, '__esModule', { 'value': !0 }), _12jo.AirBaseMaintForEventBtn = _12jo.AirBaseMaintBtn = void 0; var _12k8 = _12jp(36800), _12k9 = _12jp(79675), _12ka = function(_12kb) { var _12kc = null; function _12kd() { var _12ke = null; return null !== _12kb && _12kb.apply(this, arguments) || this; } return _12js(_12kd, _12kb), _12kd.prototype._update = function(_12kf) { var _12kg = null; this.texture = 0 == _12kf ? _12k9.SALLY_AIRBASE_MAINT.getTexture(9) : _12k9.SALLY_AIRBASE_MAINT.getTexture(10); }, _12kd; }(_12k8.BtnBase); _12jo.AirBaseMaintBtn = _12ka; var _12kh = function(_12ki) { var _12kj = null; function _12kk() { var _12kl = null; return null !== _12ki && _12ki.apply(this, arguments) || this; } return _12js(_12kk, _12ki), _12kk.prototype._update = function(_12km) { var _12kn = null; this.texture = 0 == _12km ? _12k9.SALLY_AIRBASE_MAINT.getTexture(7) : _12k9.SALLY_AIRBASE_MAINT.getTexture(8); }, _12kk; }(_12k8.BtnBase); _12jo.AirBaseMaintForEventBtn = _12kh; }, 28544: function(_12ko, _12kp, _12kq) { 'use strict'; var _12kr = null; var _12ks, _12kt = this && this.__extends || (_12ks = function(_12ku, _12kv) { var _12kw = null; return _12ks = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_12kx, _12ky) { var _12kz = null; _12kx.__proto__ = _12ky; } || function(_12l0, _12l1) { var _12l2 = null; for (var _12l3 in _12l1) Object.prototype.hasOwnProperty.call(_12l1, _12l3) && (_12l0[_12l3] = _12l1[_12l3]); }, _12ks(_12ku, _12kv); }, function(_12l4, _12l5) { var _12l6 = null; if ('function' != typeof _12l5 && null !== _12l5) throw new TypeError('Class extends value ' + String(_12l5) + ' is not a constructor or null'); function _12l7() { var _12l8 = null; this.constructor = _12l4; } _12ks(_12l4, _12l5), _12l4.prototype = null === _12l5 ? Object.create(_12l5) : (_12l7.prototype = _12l5.prototype, new _12l7()); }); defineModule(_12kp); Object.defineProperty(_12kp, '__esModule', { 'value': !0 }), _12kp.AirUnitBtn = void 0; var _12l9 = _12kq(98583), _12la = _12kq(35380), _12lb = function(_12lc) { var _12ld = null; function _12le(_12lf) { var _12lg = null, _12lh = _12lc.call(this) || this; return _12lh._onClick = function() { var _12li = null; null != _12lh._cb_onClick && _12lh._cb_onClick(); }, _12lh._cb_onClick = _12lf, _12lh._flash = new PIXI.Sprite(_12l9.SALLY_AIRUNIT.getTexture(7)), _12lh._flash.position.set(-14, -14), _12lh._flash.alpha = 0, _12lh.addChild(_12lh._flash), _12lh.interactive = !0, _12lh; } return _12kt(_12le, _12lc), _12le.prototype.dispose = function() { var _12lj = null; this.removeChildren(), this.deactivate(), this._cb_onClick = null, this._flash = null; }, _12le.prototype.initialize = function() { var _12lk = null; this.texture = _12l9.SALLY_AIRUNIT.getTexture(6); }, _12le.prototype.activate = function() { var _12ll = null; 1 != this.buttonMode && (this.buttonMode = !0, this.on(_12la.EventType.CLICK, this._onClick), this.playFlash()); }, _12le.prototype.deactivate = function() { var _12lm = null; this.buttonMode = !1, this.off(_12la.EventType.CLICK, this._onClick), this.stopFlash(); }, _12le.prototype.playFlash = function() { var _12ln = null; this.stopFlash(), this._tween = createjs.Tween.get(this._flash, { 'loop': !0 }), this._tween.to({ 'alpha': 1 }, 1000).to({ 'alpha': 0 }, 1000); }, _12le.prototype.stopFlash = function() { var _12lo = null; this._tween && (this._tween.setPaused(!0), createjs.Tween.removeTweens(this._flash), this._tween = null, this._flash.alpha = 0); }, _12le; }(PIXI.Sprite); _12kp.AirUnitBtn = _12lb; }, 8263: function(_12lp, _12lq, _12lr) { 'use strict'; var _12ls = null; var _12lt, _12lu = this && this.__extends || (_12lt = function(_12lv, _12lw) { var _12lx = null; return _12lt = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_12ly, _12lz) { var _12m0 = null; _12ly.__proto__ = _12lz; } || function(_12m1, _12m2) { var _12m3 = null; for (var _12m4 in _12m2) Object.prototype.hasOwnProperty.call(_12m2, _12m4) && (_12m1[_12m4] = _12m2[_12m4]); }, _12lt(_12lv, _12lw); }, function(_12m5, _12m6) { var _12m7 = null; if ('function' != typeof _12m6 && null !== _12m6) throw new TypeError('Class extends value ' + String(_12m6) + ' is not a constructor or null'); function _12m8() { var _12m9 = null; this.constructor = _12m5; } _12lt(_12m5, _12m6), _12m5.prototype = null === _12m6 ? Object.create(_12m6) : (_12m8.prototype = _12m6.prototype, new _12m8()); }), _12ma = this && this.__importDefault || function(_12mb) { var _12mc = null; return _12mb && _12mb.__esModule ? _12mb : { 'default': _12mb }; }; defineModule(_12lq); Object.defineProperty(_12lq, '__esModule', { 'value': !0 }), _12lq.AirUnitChangeConfirmPanel = void 0; var _12md = _12ma(_12lr(18622)), _12me = _12lr(8744), _12mf = _12lr(72778), _12mg = _12lr(67605), _12mh = _12lr(98583), _12mi = _12lr(14608), _12mj = _12lr(35380), _12mk = function(_12ml) { var _12mm = null; function _12mn(_12mo) { var _12mp = null, _12mq = _12ml.call(this) || this; return _12mq._bg = new PIXI.Sprite(), _12mq._bg.position.set(0, 38), _12mq.addChild(_12mq._bg), _12mq._title_bg = new PIXI.Sprite(), _12mq._title_bg.position.set(2, 0), _12mq.addChild(_12mq._title_bg), _12mq._title_label = new PIXI.Sprite(), _12mq._title_label.position.set(35, 11), _12mq.addChild(_12mq._title_label), _12mq._label_from = new PIXI.Sprite(), _12mq._label_from.position.set(266, 56), _12mq.addChild(_12mq._label_from), _12mq._label_tobe = new PIXI.Sprite(), _12mq._label_tobe.position.set(266, 305), _12mq.addChild(_12mq._label_tobe), _12mq._arrow = new _12mr(), _12mq._arrow.position.set(170, 279), _12mq.addChild(_12mq._arrow), _12mq._item_from = new _12ms(), _12mq._item_from.position.set(27, 78), _12mq.addChild(_12mq._item_from), _12mq._item_tobe = new _12ms(), _12mq._item_tobe.position.set(27, 326), _12mq.addChild(_12mq._item_tobe), _12mq._btn = new _12mt(_12mo), _12mq._btn.position.set(92, 524), _12mq.addChild(_12mq._btn), _12mq.interactive = !0, _12mq; } return _12lu(_12mn, _12ml), _12mn.prototype.initialize = function() { var _12mu = null; this._bg.texture = _12mh.SALLY_AIRUNIT.getTexture(9), this._title_bg.texture = _12mh.SALLY_AIRUNIT.getTexture(144), this._title_label.texture = _12mh.SALLY_AIRUNIT.getTexture(10), this._label_from.texture = _12mh.SALLY_AIRUNIT.getTexture(159), this._label_tobe.texture = _12mh.SALLY_AIRUNIT.getTexture(158), this._arrow.initialize(), this._item_from.initialize(), this._item_tobe.initialize(), this._btn.initialize(); }, _12mn.prototype.update = function(_12mv, _12mw) { var _12mx = null; this._item_from.update(_12mv), this._item_tobe.update(_12mw); var _12my = _12mw.equipTypeSp, _12mz = _12mw.cost * (0, _12mi.getKadouCount)(_12my) <= _12md.default.model.useItem.getCount(34); this._btn.update(_12mz); }, _12mn.prototype.activate = function() { var _12n0 = null; this._arrow.activate(), this._btn.activate(); }, _12mn.prototype.deactivate = function() { var _12n1 = null; _12mg.TaskLoadSlotResource.abortBy(this), this._arrow.deactivate(), this._btn.deactivate(); }, _12mn.prototype.dispose = function() { var _12n2 = null; this.removeChildren(), this._arrow.dispose(), this._item_from.dispose(), this._item_tobe.dispose(), this._btn.dispose(); }, _12mn; }(PIXI.Container); _12lq.AirUnitChangeConfirmPanel = _12mk; var _12mr = function(_12n3) { var _12n4 = null; function _12n5() { var _12n6 = null, _12n7 = _12n3.call(this) || this; return _12n7._over = new PIXI.Sprite(), _12n7._over.visible = !1, _12n7.addChild(_12n7._over), _12n7; } return _12lu(_12n5, _12n3), _12n5.prototype.initialize = function() { var _12n8 = null; this.texture = _12mh.SALLY_AIRUNIT.getTexture(42), this._over.texture = _12mh.SALLY_AIRUNIT.getTexture(43); }, _12n5.prototype.activate = function() { var _12n9 = null, _12na = this; this._over.visible = !1, this._over.y = 0, createjs.Tween.removeTweens(this._over), createjs.Tween.get(this._over, { 'loop': !0 }).wait(100).call(function() { var _12nb = null; _12na._over.visible = !0; }).wait(250).call(function() { var _12nc = null; _12na._over.y = 15; }).wait(250).call(function() { var _12nd = null; _12na._over.visible = !1, _12na._over.y = 0; }); }, _12n5.prototype.deactivate = function() { var _12ne = null; createjs.Tween.get(this._over).setPaused(!0); }, _12n5.prototype.dispose = function() { var _12nf = null; this.removeChildren(), createjs.Tween.removeTweens(this._over), this._over = null; }, _12n5; }(PIXI.Sprite), _12ms = function(_12ng) { var _12nh = null; function _12ni() { var _12nj = null, _12nk = _12ng.call(this) || this; return _12nk._img = new PIXI.Sprite(), _12nk.addChild(_12nk._img), _12nk._text = new _12me.TextBox(20, 4999235), _12nk._text.position.set(17, 42), _12nk.addChild(_12nk._text), _12nk; } return _12lu(_12ni, _12ng), _12ni.prototype.initialize = function() { var _12nl = null; this.texture = _12mh.SALLY_AIRUNIT.getTexture(36); }, _12ni.prototype.update = function(_12nm) { var _12nn = null; if (_12mg.TaskLoadSlotResource.abortBy(this._img), this._target = _12nm, null == this._target) this._img.texture = PIXI.Texture.EMPTY, this._text.text = ''; else { var _12no = this._target.mstID; this._img.texture = _12md.default.resources.getSlotitem(_12no, 'remodel'), this._img.texture == PIXI.Texture.EMPTY && new _12mg.TaskLoadSlotResource('remodel', this._img, _12no).start(), this._text.text = _12mf.SlotUtil.genSummaryText(this._target, '+', '\x0a', !1, 5); } }, _12ni.prototype.dispose = function() { var _12np = null; this.removeChildren(), this._target = null, this._img = null, this._text.destroy(), this._text = null; }, _12ni; }(PIXI.Sprite), _12mt = function(_12nq) { var _12nr = null; function _12ns(_12nt) { var _12nu = null, _12nv = _12nq.call(this) || this; return _12nv._enabled = !0, _12nv._onMouseOver = function() { var _12nw = null; _12nv._update(!0); }, _12nv._onMouseOut = function() { var _12nx = null; _12nv._update(!1); }, _12nv._onClick = function() { var _12ny = null; 0 != _12nv._enabled && null != _12nv._cb_onClick && _12nv._cb_onClick(); }, _12nv._cb_onClick = _12nt, _12nv._img = new PIXI.Sprite(), _12nv.addChild(_12nv._img), _12nv._img.interactive = !0, _12nv._alert = new PIXI.Sprite(), _12nv._alert.position.set(-35, -92), _12nv.addChild(_12nv._alert), _12nv; } return _12lu(_12ns, _12nq), Object.defineProperty(_12ns.prototype, 'enabled', { 'get': function() { var _12nz = null; return this._enabled; }, 'enumerable': !1, 'configurable': !0 }), _12ns.prototype.initialize = function() { var _12o0 = null; this._alert.texture = _12mh.SALLY_AIRUNIT.getTexture(41), this._update(!1); }, _12ns.prototype.update = function(_12o1) { var _12o2 = null; this._enabled = _12o1, this._update(!1); }, _12ns.prototype.activate = function() { var _12o3 = null; 1 != this.buttonMode && (this._img.buttonMode = !0, this._img.on(_12mj.EventType.MOUSEOVER, this._onMouseOver), this._img.on(_12mj.EventType.MOUSEOUT, this._onMouseOut), this._img.on(_12mj.EventType.CLICK, this._onClick)); }, _12ns.prototype.deactivate = function() { var _12o4 = null; this._img.buttonMode = !1, this._img.off(_12mj.EventType.MOUSEOVER, this._onMouseOver), this._img.off(_12mj.EventType.MOUSEOUT, this._onMouseOut), this._img.off(_12mj.EventType.CLICK, this._onClick); }, _12ns.prototype.dispose = function() { var _12o5 = null; this.deactivate(); }, _12ns.prototype._update = function(_12o6) { var _12o7 = null; 0 == this._enabled ? (this._img.texture = _12mh.SALLY_AIRUNIT.getTexture(33), this._alert.visible = _12o6) : (this._img.texture = 0 == _12o6 ? _12mh.SALLY_AIRUNIT.getTexture(32) : _12mh.SALLY_AIRUNIT.getTexture(34), this._alert.visible = !1); }, _12ns; }(PIXI.Container); }, 89233: function(_12o8, _12o9, _12oa) { 'use strict'; var _12ob = null; var _12oc, _12od = this && this.__extends || (_12oc = function(_12oe, _12of) { var _12og = null; return _12oc = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_12oh, _12oi) { var _12oj = null; _12oh.__proto__ = _12oi; } || function(_12ok, _12ol) { var _12om = null; for (var _12on in _12ol) Object.prototype.hasOwnProperty.call(_12ol, _12on) && (_12ok[_12on] = _12ol[_12on]); }, _12oc(_12oe, _12of); }, function(_12oo, _12op) { var _12oq = null; if ('function' != typeof _12op && null !== _12op) throw new TypeError('Class extends value ' + String(_12op) + ' is not a constructor or null'); function _12or() { var _12os = null; this.constructor = _12oo; } _12oc(_12oo, _12op), _12oo.prototype = null === _12op ? Object.create(_12op) : (_12or.prototype = _12op.prototype, new _12or()); }); defineModule(_12o9); Object.defineProperty(_12o9, '__esModule', { 'value': !0 }), _12o9.AirUnitExtendBtn = void 0; var _12ot = _12oa(98583), _12ou = _12oa(35380), _12ov = function(_12ow) { var _12ox = null; function _12oy(_12oz) { var _12p0 = null, _12p1 = _12ow.call(this) || this; return _12p1._activated = !1, _12p1._enabled = !0, _12p1._onMouseOver = function() { var _12p2 = null; _12p1._update(!0), null != _12p1._t && (_12p1._t.setPaused(!0), _12p1._t = null, _12p1._under.visible = !1); }, _12p1._onMouseOut = function() { var _12p3 = null; _12p1._update(!1), null == _12p1._t && (_12p1._under.visible = !1, _12p1._t = createjs.Tween.get(null, { 'loop': !0 }).wait(2000).call(function() { var _12p4 = null; _12p1._under.visible = !0; }).wait(2000).call(function() { var _12p5 = null; _12p1._under.visible = !1; })); }, _12p1._onClick = function() { var _12p6 = null; null != _12p1._cb_onClick && _12p1._cb_onClick(); }, _12p1._cb_onClick = _12oz, _12p1._under = new PIXI.Sprite(), _12p1._under.position.set(-12, -12), _12p1.addChild(_12p1._under), _12p1._bg = new PIXI.Sprite(), _12p1._bg.position.set(-12, -12), _12p1.addChild(_12p1._bg), _12p1._txt = new PIXI.Sprite(), _12p1._txt.position.set(-12, -12), _12p1.addChild(_12p1._txt), _12p1._over = new PIXI.Sprite(), _12p1._over.position.set(-12, -12), _12p1.addChild(_12p1._over), _12p1.interactive = !0, _12p1; } return _12od(_12oy, _12ow), Object.defineProperty(_12oy.prototype, 'enabled', { 'get': function() { var _12p7 = null; return this._enabled; }, 'set': function(_12p8) { var _12p9 = null; this._enabled != _12p8 && (this._enabled = _12p8, 1 == this._activated && (1 == this._enabled ? this.activate() : this._deactivate()), this._update(!1)); }, 'enumerable': !1, 'configurable': !0 }), _12oy.prototype.initialize = function() { var _12pa = null; this._under.texture = _12ot.SALLY_AIRUNIT.getTexture(26), this._bg.texture = _12ot.SALLY_AIRUNIT.getTexture(24), this._txt.texture = _12ot.SALLY_AIRUNIT.getTexture(27), this._over.texture = _12ot.SALLY_AIRUNIT.getTexture(26), null != this._t && (this._t.setPaused(!0), this._t = null), this._update(!1); }, _12oy.prototype.activate = function() { var _12pb = null; this._activated = !0, 0 != this._enabled && 1 != this.buttonMode && (this.buttonMode = !0, this.on(_12ou.EventType.MOUSEOVER, this._onMouseOver), this.on(_12ou.EventType.MOUSEOUT, this._onMouseOut), this.on(_12ou.EventType.CLICK, this._onClick)); }, _12oy.prototype.deactivate = function() { var _12pc = null; this._activated = !1, this._deactivate(); }, _12oy.prototype.dispose = function() { var _12pd = null; this.deactivate(), null != this._t && (this._t.setPaused(!0), this._t = null, this._cb_onClick = null); }, _12oy.prototype._deactivate = function() { var _12pe = null; this.buttonMode = !1, this.off(_12ou.EventType.MOUSEOVER, this._onMouseOver), this.off(_12ou.EventType.MOUSEOUT, this._onMouseOut), this.off(_12ou.EventType.CLICK, this._onClick); }, _12oy.prototype._update = function(_12pf) { var _12pg = null; 0 == this._enabled ? (this._under.visible = !1, this._bg.texture = _12ot.SALLY_AIRUNIT.getTexture(25), this._txt.visible = !1, this._over.visible = !1) : 1 == _12pf ? (this._under.visible = !1, this._bg.texture = _12ot.SALLY_AIRUNIT.getTexture(24), this._txt.visible = !0, this._over.visible = !0) : (this._bg.texture = _12ot.SALLY_AIRUNIT.getTexture(24), this._txt.visible = !0, this._over.visible = !1); }, _12oy; }(PIXI.Container); _12o9.AirUnitExtendBtn = _12ov; }, 62895: function(_12ph, _12pi, _12pj) { 'use strict'; var _12pk = null; var _12pl, _12pm = this && this.__extends || (_12pl = function(_12pn, _12po) { var _12pp = null; return _12pl = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_12pq, _12pr) { var _12ps = null; _12pq.__proto__ = _12pr; } || function(_12pt, _12pu) { var _12pv = null; for (var _12pw in _12pu) Object.prototype.hasOwnProperty.call(_12pu, _12pw) && (_12pt[_12pw] = _12pu[_12pw]); }, _12pl(_12pn, _12po); }, function(_12px, _12py) { var _12pz = null; if ('function' != typeof _12py && null !== _12py) throw new TypeError('Class extends value ' + String(_12py) + ' is not a constructor or null'); function _12q0() { var _12q1 = null; this.constructor = _12px; } _12pl(_12px, _12py), _12px.prototype = null === _12py ? Object.create(_12py) : (_12q0.prototype = _12py.prototype, new _12q0()); }), _12q2 = this && this.__importDefault || function(_12q3) { var _12q4 = null; return _12q3 && _12q3.__esModule ? _12q3 : { 'default': _12q3 }; }; defineModule(_12pi); Object.defineProperty(_12pi, '__esModule', { 'value': !0 }), _12pi.AirUnitList = _12pi.ListType = void 0; var _12q5, _12q6 = _12q2(_12pj(18622)), _12q7 = _12pj(51805), _12q8 = _12pj(26942), _12q9 = _12pj(8744), _12qa = _12pj(6218), _12qb = _12pj(43712), _12qc = _12pj(72778), _12qd = _12pj(70723), _12qe = _12pj(98583), _12qf = _12pj(14608), _12qg = _12pj(51138), _12qh = _12pj(64940), _12qi = _12pj(42718), _12qj = _12pj(9627), _12qk = _12pj(81146), _12ql = _12pj(35380), _12qm = _12pj(16677); ! function(_12qn) { var _12qo = null; _12qn[_12qn.NONE = 0] = 'NONE', _12qn[_12qn.RELOCATION = 1] = 'RELOCATION', _12qn[_12qn.DEPLOYMENT = 2] = 'DEPLOYMENT', _12qn[_12qn.DEPLOYMENT_OTHER_BASE = 3] = 'DEPLOYMENT_OTHER_BASE', _12qn[_12qn.DEPLOYMENT_EXCHANGE_ABLE = 4] = 'DEPLOYMENT_EXCHANGE_ABLE'; }(_12q5 || (_12pi.ListType = _12q5 = {})); var _12qp = function(_12qq) { var _12qr = null; function _12qs(_12qt, _12qu, _12qv, _12qw, _12qx) { var _12qy = null, _12qz = _12qq.call(this) || this; return _12qz._selected_page_no = 1, _12qz._onChangeTab = function(_12r0) { var _12r1 = null; _12qz._recordCurrentCategory(_12r0), _12qz.update(_12r0, 1); }, _12qz._onChangePage = function(_12r2) { var _12r3 = null; _12qz.update(_12qz._selected_category, _12r2); }, _12qz._onWheel = function(_12r4) { var _12r5 = null; if (0 != _12r4.delta) { var _12r6 = Math.ceil(_12qz._items.length / 9), _12r7 = _12r4.delta > 0 ? _12qz._selected_page_no + 1 : _12qz._selected_page_no - 1; _12r7 < 1 || _12r7 > _12r6 || (_12r4.enabledGuard(), _12qz.update(_12qz._selected_category, _12r7)); } }, _12qz._area_id = _12qt, _12qz._squadron_index = _12qv, _12qz._airunit_id = _12qu, _12qz._bg = new PIXI.Sprite(), _12qz._bg.position.set(0, 35), _12qz.addChild(_12qz._bg), _12qz._title = new PIXI.Sprite(), _12qz._title.position.set(56, 53), _12qz.addChild(_12qz._title), _12qz._lines = new PIXI.Graphics(), _12qz.addChild(_12qz._lines), _12qz._tabs = new _12qh.AirUnitListTabContainer(_12qz._onChangeTab), _12qz._tabs.x = 36, _12qz.addChild(_12qz._tabs), _12qz._list = new _12r8(_12qw), _12qz._list.position.set(0, 98), _12qz.addChild(_12qz._list), _12qz._pager = new _12qg.AirUnitListPager(_12qz._onChangePage), _12qz._pager.position.set(219, 510), _12qz.addChild(_12qz._pager), _12qz.interactive = !0, _12qz._recordCurrentCategory = _12qx, _12qz; } return _12pm(_12qs, _12qq), _12qs.prototype.initialize = function(_12r9) { var _12ra = null; this._bg.texture = _12qe.SALLY_AIRUNIT.getTexture(62), this._title.texture = _12qe.SALLY_AIRUNIT.getTexture(65), this._lines.lineStyle(1, 13945534); for (var _12rb = 0; _12rb < 9; _12rb++) this._lines.moveTo(93, 141 + 45 * _12rb), this._lines.lineTo(711, 141 + 45 * _12rb); this._tabs.initialize(), this._list.initialize(), this._pager.initialize(), this.update(_12r9, 1); }, _12qs.prototype.update = function(_12rc, _12rd) { var _12re = null, _12rf = this, _12rg = _12q6.default.model.slot.getAirUnitRelocation(); if (this._selected_category != _12rc) { this._selected_category = _12rc, this._tabs.update(_12rc); var _12rh = (0, _12qf.getEquipTypes)(_12rc); this._items = _12q6.default.model.slot.createUnsetList(_12rh); for (var _12ri = 0, _12rj = _12rg; _12ri < _12rj.length; _12ri++) { var _12rk = _12rj[_12ri], _12rl = _12q6.default.model.slot.get(_12rk); _12rh.indexOf(_12rl.equipTypeSp) >= 0 && this._items.push(_12rl); } var _12rm = _12q6.default.model.airunit.getAirUnit(this._area_id, this._airunit_id), _12rn = null != _12rm.squadrons[this._squadron_index] ? _12rm.squadrons[this._squadron_index] : null, _12ro = (null == _12rn ? void 0 : _12rn.mst_id) <= 0; this._deployments = [], _12q6.default.model.airunit.getAirUnitList().forEach(function(_12rp) { var _12rq = null; for (var _12rr = 0, _12rs = _12rp.squadrons; _12rr < _12rs.length; _12rr++) { var _12rt = _12rs[_12rr]; if (!_12rt.isRelocation()) { var _12ru = _12q6.default.model.slot.get(_12rt.mem_id); if (null == _12ru) continue; _12rf._deployments.push({ 'isSameBase': _12rf._area_id == _12rp.area_id, 'isSlotExchangeAble': !_12ro && _12rp.id != _12rf._airunit_id, 'mem_id': _12rt.mem_id, 'airunit_id': _12rp.id, 'squadron_id': _12rt.id }), _12rh.indexOf(_12ru.equipTypeSp) >= 0 && _12rf._items.push(_12ru); } } }), _12qc.SlotUtil.sort(this._items, 0, !1); } else this._selected_page_no != _12rd && _12qd.SE.play('249'); this._selected_page_no = _12rd, this._list.update(this._items, this._selected_page_no, _12rg, this._deployments); var _12rv = Math.ceil(this._items.length / 9); this._pager.update(this._selected_page_no, _12rv); }, _12qs.prototype.activate = function() { var _12rw = null; this._tabs.activate(), this._list.activate(), this._pager.activate(); }, _12qs.prototype.activateWheelEvent = function() { var _12rx = null; _12qm.WheelEventUtil.regist(this._onWheel); }, _12qs.prototype.deactivate = function() { var _12ry = null; this._tabs.deactivate(), this._list.deactivate(), this._pager.deactivate(); }, _12qs.prototype.dispose = function() { var _12rz = null; this.removeChildren(), this._tabs.dispose(), this._list.dispose(), this._pager.dispose(), _12qm.WheelEventUtil.clear(); }, _12qs; }(PIXI.Container); _12pi.AirUnitList = _12qp; var _12r8 = function(_12s0) { var _12s1 = null; function _12s2(_12s3) { var _12s4 = null, _12s5 = _12s0.call(this) || this; _12s5._items = []; for (var _12s6 = 0; _12s6 < 9; _12s6++) { var _12s7 = new _12s8(_12s3); _12s7.y = 45 * _12s6, _12s5.addChild(_12s7), _12s5._items.push(_12s7); } return _12s5; } return _12pm(_12s2, _12s0), _12s2.prototype.initialize = function() { var _12s9 = null; for (var _12sa = 0, _12sb = this._items; _12sa < _12sb.length; _12sa++) { _12sb[_12sa].initialize(); } }, _12s2.prototype.update = function(_12sc, _12sd, _12se, _12sf) { var _12sg = null; for (var _12sh = (_12sd - 1) * this._items.length, _12si = 0; _12si < this._items.length; _12si++) { var _12sj = this._items[_12si]; if (_12sh + _12si >= _12sc.length) _12sj.visible = !1; else { var _12sk = _12sc[_12sh + _12si], _12sl = _12q5.NONE, _12sm = null; _12se.indexOf(_12sk.memID) >= 0 && (_12sl = _12q5.RELOCATION); for (var _12sn = 0, _12so = _12sf; _12sn < _12so.length; _12sn++) { var _12sp = _12so[_12sn]; if (_12sk.memID == _12sp.mem_id) { _12sp.isSameBase ? _12sp.isSlotExchangeAble ? (_12sl = _12q5.DEPLOYMENT_EXCHANGE_ABLE, _12sm = _12sp) : _12sl = _12q5.DEPLOYMENT : _12sl = _12q5.DEPLOYMENT_OTHER_BASE; break; } } _12sj.update(_12sk, _12sl, _12sm), _12sj.visible = !0; } } }, _12s2.prototype.activate = function() { var _12sq = null; for (var _12sr = 0, _12ss = this._items; _12sr < _12ss.length; _12sr++) { _12ss[_12sr].activate(); } }, _12s2.prototype.deactivate = function() { var _12st = null; for (var _12su = 0, _12sv = this._items; _12su < _12sv.length; _12su++) { _12sv[_12su].deactivate(); } }, _12s2.prototype.dispose = function() { var _12sw = null; for (var _12sx = 0, _12sy = this._items; _12sx < _12sy.length; _12sx++) { _12sy[_12sx].dispose(); } }, _12s2; }(PIXI.Container), _12s8 = function(_12sz) { var _12t0 = null; function _12t1(_12t2) { var _12t3 = null, _12t4 = _12sz.call(this) || this; return _12t4._name = new _12q9.TextBox(21, 3355443), _12t4._name.position.set(104, 9), _12t4.addChild(_12t4._name), _12t4._name_mask = _12qb.CreateRect.gradientLeftToRight(270, 30, 0.7, 0.88), _12t4._name.mask = _12t4._name_mask, _12t4._name.addChild(_12t4._name_mask), _12t4._distance = new _12q9.TextBox(18, 3355443), _12t4._distance.position.set(434, 11), _12t4.addChild(_12t4._distance), _12t4._status = new _12t5(), _12t4._status.position.set(477, 5), _12t4.addChild(_12t4._status), _12t4._skill_level = new _12qj.AirPlaneSkillLevel(), _12t4._skill_level.position.set(344, 0), _12t4.addChild(_12t4._skill_level), _12t4._level = new _12qk.SlotitemLevel(), _12t4._level.position.set(390, 11), _12t4.addChild(_12t4._level), _12t4._icon = new _12qa.IconWeapon(), _12t4._icon.position.set(51, -3), _12t4.addChild(_12t4._icon), _12t4._over = new _12t6(_12t2), _12t4._over.position.set(42, 0), _12t4.addChild(_12t4._over), _12t4._extra_layer = new _12qi.AirUnitListItemExtraLayer(), _12t4._extra_layer.position.set(42, 0), _12t4.addChild(_12t4._extra_layer), _12t4; } return _12pm(_12t1, _12sz), _12t1.prototype.initialize = function() { var _12t7 = null; this._status.initialize(), this._level.initialize(), this._over.initialize(); }, _12t1.prototype.update = function(_12t8, _12t9, _12ta) { var _12tb = null; switch (void 0 === _12ta && (_12ta = null), this._name.text = _12t8.name, this._distance.text = _12t8.distance.toString(), this._distance.x = Math.round(450 - this._distance.width / 2), this._skill_level.update(_12t8.skillLevel), this._level.update(_12t8.level), this._icon.update(_12t8.iconType), this._extra_layer.update(!1, null), this._status.viewStatus(3, !0), _12t9) { case _12q5.NONE: this._status.taiku = _12t8.taiku, this._status.bakusou = _12t8.bakusou, this._status.raisou = _12t8.raisou, _12t8.equipTypeSp == _12q7.EquipType._48_KYOKUCHI_SENTOUKI ? this._status.taibaku = _12t8.meichu : this._status.meichu = _12t8.meichu, this._status.visible = !0, this._over.update(_12t8), this._over.visible = !0; break; case _12q5.RELOCATION: this._status.visible = !1, this._over.visible = !1, this._extra_layer.update(!0, _12t9); break; case _12q5.DEPLOYMENT: case _12q5.DEPLOYMENT_OTHER_BASE: this._status.visible = !0, this._status.viewStatus(3, !1), this._status.taiku = _12t8.taiku, this._status.bakusou = _12t8.bakusou, this._status.raisou = _12t8.raisou, this._over.visible = !1, this._extra_layer.update(!0, _12t9); break; case _12q5.DEPLOYMENT_EXCHANGE_ABLE: this._status.visible = !0, this._status.viewStatus(3, !1), this._status.taiku = _12t8.taiku, this._status.bakusou = _12t8.bakusou, this._status.raisou = _12t8.raisou, this._over.update(_12t8, _12q5.DEPLOYMENT_EXCHANGE_ABLE), this._over.visible = !0, this._extra_layer.update(!0, _12t9, _12ta); } }, _12t1.prototype.activate = function() { var _12tc = null; this._over.activate(); }, _12t1.prototype.deactivate = function() { var _12td = null; this._over.deactivate(); }, _12t1.prototype.dispose = function() { var _12te = null; this.removeChildren(), this._name.destroy(), this._distance.destroy(), this._status.dispose(), this._level.dispose(), this._icon.dispose(), this._over.dispose(), this._extra_layer.dispose(); }, _12t1; }(PIXI.Container), _12t5 = function(_12tf) { var _12tg = null; function _12th() { var _12ti = null, _12tj = _12tf.call(this) || this; _12tj._imgs = [], _12tj._texts = []; for (var _12tk = 0; _12tk < 4; _12tk++) { var _12tl = new PIXI.Sprite(); _12tl.x = 51 * _12tk, _12tj.addChild(_12tl), _12tj._imgs.push(_12tl); var _12tm = new _12q9.TextBox(18, 3355443); _12tm.y = 17, _12tj.addChild(_12tm), _12tj._texts.push(_12tm); } return _12tj; } return _12pm(_12th, _12tf), Object.defineProperty(_12th.prototype, 'taiku', { 'set': function(_12tn) { var _12to = null; this._texts[0].text = (_12tn > 0 ? '+' : '') + _12tn.toString(), this._texts[0].x = 20 - Math.round(this._texts[0].width / 2); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_12th.prototype, 'bakusou', { 'set': function(_12tp) { var _12tq = null; this._texts[1].text = (_12tp > 0 ? '+' : '') + _12tp.toString(), this._texts[1].x = 71 - Math.round(this._texts[1].width / 2); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_12th.prototype, 'raisou', { 'set': function(_12tr) { var _12ts = null; this._texts[2].text = (_12tr > 0 ? '+' : '') + _12tr.toString(), this._texts[2].x = 122 - Math.round(this._texts[2].width / 2); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_12th.prototype, 'meichu', { 'set': function(_12tt) { var _12tu = null; this._imgs[3].texture = _12qe.SALLY_AIRUNIT.getTexture(132), this._texts[3].text = (_12tt > 0 ? '+' : '') + _12tt.toString(), this._texts[3].x = 172 - Math.round(this._texts[3].width / 2); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_12th.prototype, 'taibaku', { 'set': function(_12tv) { var _12tw = null; this._imgs[3].texture = _12qe.SALLY_AIRUNIT.getTexture(133), this._texts[3].text = (_12tv > 0 ? '+' : '') + _12tv.toString(), this._texts[3].x = 173 - Math.round(this._texts[3].width / 2); }, 'enumerable': !1, 'configurable': !0 }), _12th.prototype.initialize = function() { var _12tx = null; this._imgs[0].texture = _12qe.SALLY_AIRUNIT.getTexture(129), this._imgs[1].texture = _12qe.SALLY_AIRUNIT.getTexture(130), this._imgs[2].texture = _12qe.SALLY_AIRUNIT.getTexture(131), this._imgs[3].texture = _12qe.SALLY_AIRUNIT.getTexture(132); }, _12th.prototype.dispose = function() { var _12ty = null; this.removeChildren(); for (var _12tz = 0, _12u0 = this._texts; _12tz < _12u0.length; _12tz++) { _12u0[_12tz].destroy(); } }, _12th.prototype.viewStatus = function(_12u1, _12u2) { var _12u3 = null; this._imgs[_12u1].visible = _12u2, this._texts[_12u1].visible = _12u2; }, _12th; }(PIXI.Container), _12t6 = function(_12u4) { var _12u5 = null; function _12u6(_12u7) { var _12u8 = null, _12u9 = _12u4.call(this) || this; return _12u9._locked = !1, _12u9._onMouseOver = function() { var _12ua = null; _12u9._img.alpha = 1, 0 == _12u9._locked && (_12u9._lockicon.alpha = 1); }, _12u9._onMouseOut = function() { var _12ub = null; _12u9._img.alpha = 0, 0 == _12u9._locked && (_12u9._lockicon.alpha = 0); }, _12u9._onClick = function() { var _12uc = null; null != _12u9._cb_onSelect && _12u9._cb_onSelect(_12u9._data); }, _12u9._onClickLockIcon = function(_12ud) { var _12ue = null; _12ud.stopPropagation(); var _12uf = _12u9._data.memID; new _12q8.SlotItemLockAPI(_12uf).start(function() { var _12ug = null; _12u9.update(_12u9._data); }); }, _12u9._cb_onSelect = _12u7, _12u9._img = new PIXI.Sprite(), _12u9.addChild(_12u9._img), _12u9._lockicon = new PIXI.Sprite(), _12u9._lockicon.position.set(638, -3), _12u9.addChild(_12u9._lockicon), _12u9._img.alpha = 0, _12u9.interactive = !0, _12u9._lockicon.interactive = !0, _12u9; } return _12pm(_12u6, _12u4), _12u6.prototype.initialize = function() { var _12uh = null; this._img.texture = _12qe.SALLY_AIRUNIT.getTexture(40), this._img.width = 681, this._img.height = 42; }, _12u6.prototype.update = function(_12ui, _12uj) { var _12uk = null; void 0 === _12uj && (_12uj = _12q5.NONE), this._data = _12ui, this._locked = _12ui.isLocked(), _12uj == _12q5.NONE ? (this._lockicon.visible = !0, 1 == this._locked ? (this._lockicon.texture = _12qe.SALLY_AIRUNIT.getTexture(67), this._lockicon.position.set(638, -2), this._lockicon.alpha = 1) : (this._lockicon.texture = _12qe.SALLY_AIRUNIT.getTexture(66), this._lockicon.position.set(638, -3), this._lockicon.alpha = this._img.alpha)) : this._lockicon.visible = !1; }, _12u6.prototype.activate = function() { var _12ul = null; 1 != this.buttonMode && (this.buttonMode = !0, this.on(_12ql.EventType.MOUSEOVER, this._onMouseOver), this.on(_12ql.EventType.MOUSEOUT, this._onMouseOut), this.on(_12ql.EventType.CLICK, this._onClick), this._lockicon.on(_12ql.EventType.CLICK, this._onClickLockIcon)); }, _12u6.prototype.deactivate = function() { var _12um = null; this.buttonMode = !1, this.off(_12ql.EventType.MOUSEOVER, this._onMouseOver), this.off(_12ql.EventType.MOUSEOUT, this._onMouseOut), this.off(_12ql.EventType.CLICK, this._onClick), this._lockicon.off(_12ql.EventType.CLICK, this._onClickLockIcon); }, _12u6.prototype.dispose = function() { var _12un = null; this.deactivate(), this._cb_onSelect = null; }, _12u6; }(PIXI.Container); }, 42718: function(_12uo, _12up, _12uq) { 'use strict'; var _12ur = null; var _12us, _12ut = this && this.__extends || (_12us = function(_12uu, _12uv) { var _12uw = null; return _12us = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_12ux, _12uy) { var _12uz = null; _12ux.__proto__ = _12uy; } || function(_12v0, _12v1) { var _12v2 = null; for (var _12v3 in _12v1) Object.prototype.hasOwnProperty.call(_12v1, _12v3) && (_12v0[_12v3] = _12v1[_12v3]); }, _12us(_12uu, _12uv); }, function(_12v4, _12v5) { var _12v6 = null; if ('function' != typeof _12v5 && null !== _12v5) throw new TypeError('Class extends value ' + String(_12v5) + ' is not a constructor or null'); function _12v7() { var _12v8 = null; this.constructor = _12v4; } _12us(_12v4, _12v5), _12v4.prototype = null === _12v5 ? Object.create(_12v5) : (_12v7.prototype = _12v5.prototype, new _12v7()); }); defineModule(_12up); Object.defineProperty(_12up, '__esModule', { 'value': !0 }), _12up.AirUnitListItemExtraLayer = void 0; var _12v9 = _12uq(98583), _12va = _12uq(62895), _12vb = function(_12vc) { var _12vd = null; function _12ve() { var _12vf = null, _12vg = _12vc.call(this) || this; return _12vg._txt = new PIXI.Sprite(), _12vg.addChild(_12vg._txt), _12vg._txt_on = new PIXI.Sprite(), _12vg._txt_on.alpha = 0, _12vg.addChild(_12vg._txt_on), _12vg._txt2 = new PIXI.Sprite(), _12vg.addChild(_12vg._txt2), _12vg; } return _12ut(_12ve, _12vc), _12ve.prototype.update = function(_12vh, _12vi, _12vj) { var _12vk = null; switch (void 0 === _12vj && (_12vj = null), this.visible = _12vh, this._deactivate(), _12vi) { case _12va.ListType.RELOCATION: this.texture = _12v9.SALLY_AIRUNIT.getTexture(63), this._txt.texture = _12v9.SALLY_AIRUNIT.getTexture(160), this._txt_on.texture = _12v9.SALLY_AIRUNIT.getTexture(161), this._txt.position.set(479, 12), this._txt_on.position.set(467, -2), this._txt2.alpha = 0, 1 == _12vh && this._activate(); break; case _12va.ListType.DEPLOYMENT_OTHER_BASE: this.texture = _12v9.SALLY_AIRUNIT.getTexture(63), this._txt.texture = _12v9.SALLY_AIRUNIT.getTexture(164), this._txt.position.set(577, 2), this._txt2.alpha = 0; break; case _12va.ListType.DEPLOYMENT: this.texture = _12v9.SALLY_AIRUNIT.getTexture(63), this._txt.texture = _12v9.SALLY_AIRUNIT.getTexture(163), this._txt.position.set(577, 2), this._txt2.alpha = 0; break; case _12va.ListType.DEPLOYMENT_EXCHANGE_ABLE: this.texture = _12v9.SALLY_AIRUNIT.getTexture(64); if (this._txt2.alpha = 1, null != _12vj) { var _12vl = _12vj.airunit_id - 1, _12vm = _12vj.squadron_id - 1; this._txt.texture = _12v9.SALLY_AIRUNIT.getTexture([162, 165, 166][_12vl]), this._txt.position.set(571, -2), this._txt2.texture = _12v9.SALLY_AIRUNIT.getTexture([167, 168, 169, 170][_12vm]), this._txt2.position.set(571, 15); } } }, _12ve.prototype.dispose = function() { var _12vn = null; this._deactivate(), this._txt.destroy(), this._txt = null, this._txt_on.destroy(), this._txt_on = null, this._txt2.destroy(), this._txt2 = null; }, _12ve.prototype._activate = function() { var _12vo = null; null == this._t && (this._txt_on.alpha = 0, this._t = createjs.Tween.get(this._txt_on, { 'loop': !0 }).to({ 'alpha': 1 }, 800).to({ 'alpha': 0 }, 400)); }, _12ve.prototype._deactivate = function() { var _12vp = null, _12vq; null === (_12vq = this._t) || void 0 === _12vq || _12vq.setPaused(!0), this._t = null, this._txt_on.alpha = 0; }, _12ve; }(PIXI.Sprite); _12up.AirUnitListItemExtraLayer = _12vb; }, 51138: function(_12vr, _12vs, _12vt) { 'use strict'; var _12vu = null; var _12vv, _12vw = this && this.__extends || (_12vv = function(_12vx, _12vy) { var _12vz = null; return _12vv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_12w0, _12w1) { var _12w2 = null; _12w0.__proto__ = _12w1; } || function(_12w3, _12w4) { var _12w5 = null; for (var _12w6 in _12w4) Object.prototype.hasOwnProperty.call(_12w4, _12w6) && (_12w3[_12w6] = _12w4[_12w6]); }, _12vv(_12vx, _12vy); }, function(_12w7, _12w8) { var _12w9 = null; if ('function' != typeof _12w8 && null !== _12w8) throw new TypeError('Class extends value ' + String(_12w8) + ' is not a constructor or null'); function _12wa() { var _12wb = null; this.constructor = _12w7; } _12vv(_12w7, _12w8), _12w7.prototype = null === _12w8 ? Object.create(_12w8) : (_12wa.prototype = _12w8.prototype, new _12wa()); }); defineModule(_12vs); Object.defineProperty(_12vs, '__esModule', { 'value': !0 }), _12vs.AirUnitListPager = void 0; var _12wc = _12vt(8744), _12wd = _12vt(79899), _12we = _12vt(98583), _12wf = _12vt(35380), _12wg = function(_12wh) { var _12wi = null; function _12wj(_12wk) { var _12wl = null, _12wm = _12wh.call(this) || this; _12wm._onPrev5 = function() { var _12wn = null, _12wo = Math.max(_12wm._page_now - 5, 1); _12wm._onChange(_12wo); }, _12wm._onNext5 = function() { var _12wp = null, _12wq = Math.min(_12wm._page_now + 5, _12wm._page_max); _12wm._onChange(_12wq); }, _12wm._onChange = function(_12wr) { var _12ws = null; null != _12wm._cb_onChangePage && _12wm._cb_onChangePage(_12wr); }, _12wm._cb_onChangePage = _12wk, _12wm._pages = []; for (var _12wt = 0; _12wt < 5; _12wt++) { var _12wu = new _12wv(_12wm._onChange); _12wu.x = 33 + 51 * _12wt, _12wm.addChild(_12wu), _12wm._pages.push(_12wu); } return _12wm._prev = new _12ww(_12wm._onPrev5), _12wm._prev.position.set(0, 8), _12wm.addChild(_12wm._prev), _12wm._next = new _12ww(_12wm._onNext5), _12wm._next.position.set(290, 8), _12wm.addChild(_12wm._next), _12wm._activated = !1, _12wm; } return _12vw(_12wj, _12wh), _12wj.prototype.initialize = function() { var _12wx = null; for (var _12wy = 0, _12wz = this._pages; _12wy < _12wz.length; _12wy++) { _12wz[_12wy].initialize(); } this._prev.initialize(_12we.SALLY_AIRUNIT.getTexture(29)), this._next.initialize(_12we.SALLY_AIRUNIT.getTexture(28)); }, _12wj.prototype.update = function(_12x0, _12x1) { var _12x2 = null; this._page_now = _12x0, this._page_max = _12x1; var _12x3 = Math.min(_12x0 - 2, _12x1 - 4); _12x3 = Math.max(_12x3, 1); for (var _12x4 = 0; _12x4 < 5; _12x4++) { var _12x5 = this._pages[_12x4], _12x6 = _12x3 + _12x4; _12x5.enabled = _12x6 <= _12x1, _12x5.selected = _12x6 == _12x0, _12x5.update(_12x6), this._activated && _12x5.activate(); } this._prev.buttonMode = this._activated && _12x0 > 1, this._next.buttonMode = this._activated && _12x0 < _12x1; }, _12wj.prototype.activate = function() { var _12x7 = null; this._activated || (this._activated = !0, this._pages.map(function(_12x8) { var _12x9 = null; return _12x8.activate(); }), this._prev.activate(), this._next.activate()); }, _12wj.prototype.deactivate = function() { var _12xa = null; this._activated = !1, this._pages.map(function(_12xb) { var _12xc = null; return _12xb.deactivate(); }), this._prev.deactivate(), this._next.deactivate(); }, _12wj.prototype.dispose = function() { var _12xd = null; for (var _12xe = 0, _12xf = this._pages; _12xe < _12xf.length; _12xe++) { _12xf[_12xe].dispose(); } this._prev.dispose(), this._next.dispose(), this._cb_onChangePage = null; }, _12wj; }(PIXI.Container); _12vs.AirUnitListPager = _12wg; var _12wv = function(_12xg) { var _12xh = null; function _12xi(_12xj) { var _12xk = null, _12xl = _12xg.call(this) || this; return _12xl._onClick = function() { var _12xm = null; null != _12xl._cb_onClick && _12xl._cb_onClick(_12xl._page_no); }, _12xl._page_no = 0, _12xl.enabled = !0, _12xl.selected = !1, _12xl._cb_onClick = _12xj, _12xl.interactive = !0, _12xl._hitArea = new _12wd.AreaBox(0, 0, 51, 36), _12xl; } return _12vw(_12xi, _12xg), _12xi.prototype.initialize = function() { var _12xn = null; this._text = new _12wc.TextBox(24, 1949120), this.addChild(this._text), this.addChild(this._hitArea); }, _12xi.prototype.update = function(_12xo) { var _12xp = null; this._page_no = _12xo, this._text.text = this._page_no.toString(), 0 == this.enabled ? (this._text.style.fontSize = 30, this._text.style.fill = 16774898, this._text.y = 3) : 1 == this.selected ? (this._text.style.fontSize = 36, this._text.style.fill = 1949120, this._text.y = 0) : (this._text.style.fontSize = 30, this._text.style.fill = 4999235, this._text.y = 3), this._text.x = 26 - Math.round(this._text.width / 2); }, _12xi.prototype.activate = function() { var _12xq = null; 0 == this.enabled || 1 == this.selected ? this._deactivate() : this._activate(); }, _12xi.prototype.deactivate = function() { var _12xr = null; this._deactivate(); }, _12xi.prototype._activate = function() { var _12xs = null; 1 != this._hitArea.buttonMode && (this._hitArea.buttonMode = !0, this._hitArea.on(_12wf.EventType.CLICK, this._onClick)); }, _12xi.prototype._deactivate = function() { var _12xt = null; this._hitArea.buttonMode = !1, this._hitArea.off(_12wf.EventType.CLICK, this._onClick); }, _12xi.prototype.dispose = function() { var _12xu = null; this._deactivate(), this.removeChildren(), this._text.destroy(), this._cb_onClick = null, this._hitArea = null; }, _12xi; }(PIXI.Container), _12ww = function(_12xv) { var _12xw = null; function _12xx(_12xy) { var _12xz = null, _12y0 = _12xv.call(this) || this; return _12y0._onClick = function() { var _12y1 = null; null != _12y0._cb_onClick && 0 != _12y0.buttonMode && _12y0._cb_onClick(); }, _12y0._cb_onClick = _12xy, _12y0.interactive = !0, _12y0; } return _12vw(_12xx, _12xv), _12xx.prototype.initialize = function(_12y2) { var _12y3 = null; this.texture = _12y2; }, _12xx.prototype.activate = function() { var _12y4 = null; this.buttonMode = !0, this.on(_12wf.EventType.CLICK, this._onClick); }, _12xx.prototype.deactivate = function() { var _12y5 = null; this.buttonMode = !1, this.off(_12wf.EventType.CLICK, this._onClick); }, _12xx.prototype.dispose = function() { var _12y6 = null; this.off(_12wf.EventType.CLICK, this._onClick), this._cb_onClick = null; }, _12xx; }(PIXI.Sprite); }, 37693: function(_12y7, _12y8, _12y9) { 'use strict'; var _12ya = null; var _12yb, _12yc = this && this.__extends || (_12yb = function(_12yd, _12ye) { var _12yf = null; return _12yb = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_12yg, _12yh) { var _12yi = null; _12yg.__proto__ = _12yh; } || function(_12yj, _12yk) { var _12yl = null; for (var _12ym in _12yk) Object.prototype.hasOwnProperty.call(_12yk, _12ym) && (_12yj[_12ym] = _12yk[_12ym]); }, _12yb(_12yd, _12ye); }, function(_12yn, _12yo) { var _12yp = null; if ('function' != typeof _12yo && null !== _12yo) throw new TypeError('Class extends value ' + String(_12yo) + ' is not a constructor or null'); function _12yq() { var _12yr = null; this.constructor = _12yn; } _12yb(_12yn, _12yo), _12yn.prototype = null === _12yo ? Object.create(_12yo) : (_12yq.prototype = _12yo.prototype, new _12yq()); }); defineModule(_12y8); Object.defineProperty(_12y8, '__esModule', { 'value': !0 }), _12y8.AirUnitListTab = void 0; var _12ys = _12y9(98583), _12yt = _12y9(35380), _12yu = function(_12yv) { var _12yw = null; function _12yx(_12yy) { var _12yz = null, _12z0 = _12yv.call(this) || this; return _12z0._activated = !1, _12z0._selected = !1, _12z0._onMouseOver = function() { var _12z1 = null; _12z0._update(!0); }, _12z0._onMouseOut = function() { var _12z2 = null; _12z0._update(!1); }, _12z0._onClick = function() { var _12z3 = null; null != _12z0._cb_onClick && _12z0._cb_onClick(_12z0._category); }, _12z0._cb_onClick = _12yy, _12z0._bg = new PIXI.Sprite(), _12z0.addChild(_12z0._bg), _12z0._label = new PIXI.Sprite(), _12z0.addChild(_12z0._label), _12z0.interactive = !0, _12z0; } return _12yc(_12yx, _12yv), Object.defineProperty(_12yx.prototype, 'category', { 'get': function() { var _12z4 = null; return this._category; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_12yx.prototype, 'selected', { 'get': function() { var _12z5 = null; return this._selected; }, 'set': function(_12z6) { var _12z7 = null; this._selected != _12z6 && (this._selected = _12z6, 1 == this._activated && 0 == this._selected ? this.activate() : this._deactivate(), this._update(!1)); }, 'enumerable': !1, 'configurable': !0 }), _12yx.prototype.initialize = function(_12z8) { var _12z9 = null; this._category = _12z8, this._update(!1), 0 == _12z8 ? (this._label.texture = _12ys.SALLY_AIRUNIT.getTexture(134), this._label.position.set(11, 12)) : 1 == _12z8 ? (this._label.texture = _12ys.SALLY_AIRUNIT.getTexture(135), this._label.position.set(15, 9)) : 2 == _12z8 ? (this._label.texture = _12ys.SALLY_AIRUNIT.getTexture(136), this._label.position.set(15, 15)) : 3 == _12z8 ? (this._label.texture = _12ys.SALLY_AIRUNIT.getTexture(137), this._label.position.set(15, 15)) : 4 == _12z8 ? (this._label.texture = _12ys.SALLY_AIRUNIT.getTexture(138), this._label.position.set(15, 14)) : this._label.texture = PIXI.Texture.EMPTY; }, _12yx.prototype.activate = function() { var _12za = null; this._activated = !0, 1 != this._selected && 1 != this.buttonMode && (this.buttonMode = !0, this.on(_12yt.EventType.MOUSEOVER, this._onMouseOver), this.on(_12yt.EventType.MOUSEOUT, this._onMouseOut), this.on(_12yt.EventType.CLICK, this._onClick)); }, _12yx.prototype.deactivate = function() { var _12zb = null; this._activated = !1, this._deactivate(); }, _12yx.prototype.dispose = function() { var _12zc = null; this._deactivate(), this._cb_onClick = null; }, _12yx.prototype._update = function(_12zd) { var _12ze = null; 0 == _12zd && 0 == this._selected ? this._bg.texture = _12ys.SALLY_AIRUNIT.getTexture(140) : this._bg.texture = _12ys.SALLY_AIRUNIT.getTexture(139); }, _12yx.prototype._deactivate = function() { var _12zf = null; this.buttonMode = !1, this.off(_12yt.EventType.MOUSEOVER, this._onMouseOver), this.off(_12yt.EventType.MOUSEOUT, this._onMouseOut), this.off(_12yt.EventType.CLICK, this._onClick); }, _12yx; }(PIXI.Container); _12y8.AirUnitListTab = _12yu; }, 64940: function(_12zg, _12zh, _12zi) { 'use strict'; var _12zj = null; var _12zk, _12zl = this && this.__extends || (_12zk = function(_12zm, _12zn) { var _12zo = null; return _12zk = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_12zp, _12zq) { var _12zr = null; _12zp.__proto__ = _12zq; } || function(_12zs, _12zt) { var _12zu = null; for (var _12zv in _12zt) Object.prototype.hasOwnProperty.call(_12zt, _12zv) && (_12zs[_12zv] = _12zt[_12zv]); }, _12zk(_12zm, _12zn); }, function(_12zw, _12zx) { var _12zy = null; if ('function' != typeof _12zx && null !== _12zx) throw new TypeError('Class extends value ' + String(_12zx) + ' is not a constructor or null'); function _12zz() { var _1300 = null; this.constructor = _12zw; } _12zk(_12zw, _12zx), _12zw.prototype = null === _12zx ? Object.create(_12zx) : (_12zz.prototype = _12zx.prototype, new _12zz()); }); defineModule(_12zh); Object.defineProperty(_12zh, '__esModule', { 'value': !0 }), _12zh.AirUnitListTabContainer = void 0; var _1301 = _12zi(37693), _1302 = function(_1303) { var _1304 = null; function _1305(_1306) { var _1307 = null, _1308 = _1303.call(this) || this; _1308._tabs = []; for (var _1309 = 0; _1309 < 5; _1309++) { var _130a = new _1301.AirUnitListTab(_1306); _130a.x = 69 * _1309, _1308.addChild(_130a), _1308._tabs.push(_130a); } return _1308; } return _12zl(_1305, _1303), _1305.prototype.initialize = function() { var _130b = null; for (var _130c = 0; _130c < this._tabs.length; _130c++) { var _130d = this._tabs[_130c]; 0 == _130c && (_130d.selected = !0), _130d.initialize(_130c); } }, _1305.prototype.update = function(_130e) { var _130f = null; for (var _130g = 0, _130h = this._tabs; _130g < _130h.length; _130g++) { var _130i = _130h[_130g]; _130i.selected = _130i.category == _130e; } }, _1305.prototype.activate = function() { var _130j = null; for (var _130k = 0, _130l = this._tabs; _130k < _130l.length; _130k++) { _130l[_130k].activate(); } }, _1305.prototype.deactivate = function() { var _130m = null; for (var _130n = 0, _130o = this._tabs; _130n < _130o.length; _130n++) { _130o[_130n].deactivate(); } }, _1305.prototype.dispose = function() { var _130p = null; for (var _130q = 0, _130r = this._tabs; _130q < _130r.length; _130q++) { _130r[_130q].dispose(); } }, _1305; }(PIXI.Container); _12zh.AirUnitListTabContainer = _1302; }, 12922: function(_130s, _130t, _130u) { 'use strict'; var _130v = null; var _130w, _130x = this && this.__extends || (_130w = function(_130y, _130z) { var _1310 = null; return _130w = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1311, _1312) { var _1313 = null; _1311.__proto__ = _1312; } || function(_1314, _1315) { var _1316 = null; for (var _1317 in _1315) Object.prototype.hasOwnProperty.call(_1315, _1317) && (_1314[_1317] = _1315[_1317]); }, _130w(_130y, _130z); }, function(_1318, _1319) { var _131a = null; if ('function' != typeof _1319 && null !== _1319) throw new TypeError('Class extends value ' + String(_1319) + ' is not a constructor or null'); function _131b() { var _131c = null; this.constructor = _1318; } _130w(_1318, _1319), _1318.prototype = null === _1319 ? Object.create(_1319) : (_131b.prototype = _1319.prototype, new _131b()); }), _131d = this && this.__importDefault || function(_131e) { var _131f = null; return _131e && _131e.__esModule ? _131e : { 'default': _131e }; }; defineModule(_130t); Object.defineProperty(_130t, '__esModule', { 'value': !0 }), _130t.AirUnitPanel = void 0; var _131g = _131d(_130u(18622)), _131h = _130u(35380), _131i = _130u(39450), _131j = _130u(79899), _131k = _130u(8744), _131l = _130u(98583), _131m = _130u(96928), _131n = _130u(51968), _131o = _130u(70010), _131p = _130u(52966), _131q = _130u(99827), _131r = function(_131s) { var _131t = null; function _131u(_131v, _131w, _131x) { var _131y = null, _131z = _131s.call(this) || this; _131z._selected_airunit_id = 0, _131z._onClick = function(_1320) { var _1321 = null; _1320.stopPropagation(); }, _131z._onChangeTab = function(_1322) { var _1323 = null; _131z.update(_1322); }, _131z._onMouseDownAtItem = function(_1324) { var _1325 = null; _131z.deactivate(); var _1326 = new _1327(_1324, _131z._items, _131z._onSelect); _131g.default.view.overLayer.addChild(_1326); }, _131z._onSelect = function(_1328, _1329) { var _132a = null; if (_1328 < 0) _131z.activate(); else { if (_1328 != _1329 && _131z.activate(), null != _131z._cb_onDrop) { var _132b = _131z._selected_airunit_id; _131z._cb_onDrop(_132b, _1328, _1329); } } }, _131z._onSupplyAll = function() { var _132c = null; null != _131z._cb_onSupply && _131z._cb_onSupply(-1); }, _131z._onSupply = function(_132d) { var _132e = null; null != _131z._cb_onSupply && _131z._cb_onSupply(_132d); }, _131z._cb_onDrop = _131v, _131z._cb_onSupply = _131w, _131z._area = new PIXI.Graphics(), _131z.addChild(_131z._area), _131z._tabs = new _131p.AirUnitPanelTabContainerWithExtend(_131z._onChangeTab, _131x), _131z._tabs.x = 30, _131z.addChild(_131z._tabs), _131z._base = new PIXI.Sprite(), _131z._base.position.set(0, 21), _131z.addChild(_131z._base), _131z._banner = new _131m.AirUnitPanelBanner(), _131z._banner.position.set(26, 45), _131z.addChild(_131z._banner), _131z._name = new _131k.TextBox(21, 0), _131z._name.position.set(33, 119), _131z.addChild(_131z._name), _131z._tag = new _131q.AirUnitPanelWoodenTag(), _131z._tag.position.set(314, 47), _131z.addChild(_131z._tag), _131z._items = []; for (var _132f = 0; _132f < 4; _132f++) { var _132g = new _131n.AirUnitPanelItem(_131z._onMouseDownAtItem, _131z._onSupply); _132g.position.set(17, 164 + 90 * _132f), _131z.addChild(_132g), _131z._items.push(_132g); } return _131z._supply_btn = new _131o.AirUnitPanelSupplyAllBtn(_131z._onSupplyAll), _131z._supply_btn.position.set(287, 146), _131z.addChild(_131z._supply_btn), _131z.interactive = !0, _131z; } return _130x(_131u, _131s), Object.defineProperty(_131u.prototype, 'selected_airunit_id', { 'get': function() { var _132h = null; return this._selected_airunit_id; }, 'enumerable': !1, 'configurable': !0 }), _131u.prototype.initialize = function(_132i, _132j) { var _132k = null; this._area_id = _132i, this._models = _132j, this._tabs.initialize(this._models.length), this._base.texture = _131l.SALLY_AIRUNIT.getTexture(8), this._area.beginFill(0, 0), this._area.drawRect(this._base.x, this._base.y, this._base.width, this._base.height), this._area.endFill(), this._banner.initialize(_132i); for (var _132l = 0; _132l < this._items.length; _132l++) { this._items[_132l].initialize(_132l); } this._supply_btn.initialize(), this.update(1), this.on(_131h.EventType.CLICK, this._onClick); }, _131u.prototype.update = function(_132m, _132n) { var _132o = null; if (void 0 === _132n && (_132n = !1), (0 != _132n || this._selected_airunit_id != _132m) && !(_132m <= 0 || _132m > this._models.length)) { this.updateTemporaryData(), this._selected_airunit_id = _132m; for (var _132p = null, _132q = 0, _132r = this._models; _132q < _132r.length; _132q++) { var _132s = _132r[_132q]; if (_132s.id == _132m) { _132p = _132s; break; } } this._updateTabs(_132m), this._name.text = _132p.name, _131i.EditTextBoxUtil.text = _132p.name; for (var _132t = _132p.squadrons, _132u = 0, _132v = !1, _132w = 0; _132w < this._items.length; _132w++) { var _132x = _132w < _132t.length ? _132t[_132w] : null; this._items[_132w].update(_132x), 0 == _132u && null != _132x && 1 == _132x.state && (_132u = _132x.mst_id), _132v = _132v || _132x.count < _132x.countMax; } this._banner.update(_132m, _132u, _132p.distance_base, _132p.distance_bonus), this._tag.skipAnimation(), 0 == _132u ? (this._tag.update(0, !1), this._tag.enabled = !1) : (this._tag.update(_132p.airUnitState, !1), this._tag.enabled = !0), this._supply_btn.visible = _132v; } }, _131u.prototype.updateAfterExtend = function(_132y) { var _132z = null; this._models = _132y, this._tabs.initialize(this._models.length), this._updateTabs(this._selected_airunit_id); }, _131u.prototype.activate = function() { var _1330 = null; this._tabs.activate(), this._tag.activate(); for (var _1331 = 0, _1332 = this._items; _1331 < _1332.length; _1331++) { _1332[_1331].activate(); } this._supply_btn.activate(); var _1333 = new PIXI.Point(this._name.x, this._name.y), _1334 = this.toGlobal(_1333); _131i.EditTextBoxUtil.init(_1334.x - 2, _1334.y - 4, 300, 16, 0), _131i.EditTextBoxUtil.text = this._name.text, _131i.EditTextBoxUtil.setVisibility(!0), _131i.EditTextBoxUtil.onLengthCheck(12), this._name.visible = !1; }, _131u.prototype.deactivate = function() { var _1335 = null; this._tabs.deactivate(), this._tag.deactivate(); for (var _1336 = 0, _1337 = this._items; _1336 < _1337.length; _1336++) { _1337[_1336].deactivate(); } this._supply_btn.deactivate(), this._name.text = _131i.EditTextBoxUtil.text, _131i.EditTextBoxUtil.setVisibility(!1), _131i.EditTextBoxUtil.onEventDestroy(), this._name.visible = !0; }, _131u.prototype.showUnselectMask = function(_1338) { var _1339 = null; this._items.forEach(function(_133a, _133b) { var _133c = null; _133b != _1338 && _133a.showGrayMask(); }); }, _131u.prototype.dispose = function() { var _133d = null; this.off(_131h.EventType.CLICK, this._onClick), this._tabs.dispose(), this._tabs = null, this._banner.dispose(), this._banner = null, this._name.destroy(), this._name = null, this._tag.dispose(), this._tag = null; for (var _133e = 0, _133f = this._items; _133e < _133f.length; _133e++) { var _133g = _133f[_133e]; _133g.dispose(), _133g = null; } this._items = null, this._supply_btn.dispose(), this._supply_btn = null, this._cb_onDrop = null, this._cb_onSupply = null; }, _131u.prototype.updateTemporaryData = function() { var _133h = null; for (var _133i = this._selected_airunit_id, _133j = null, _133k = 0, _133l = this._models; _133k < _133l.length; _133k++) { var _133m = _133l[_133k]; if (_133m.id == _133i) { _133j = _133m; break; } } null != _133j && (_133j.name_tmp = _131i.EditTextBoxUtil.text, _133j.state_tmp = this._tag.state); }, _131u.prototype._updateTabs = function(_133n) { var _133o = null; this._tabs.update(_133n); var _133p = _131g.default.model.useItem.getCount(73); this._tabs.updateExtendBtn(this._area_id, _133p); }, _131u; }(PIXI.Container); _130t.AirUnitPanel = _131r; var _1327 = function(_133q) { var _133r = null; function _133s(_133t, _133u, _133v) { var _133w = null, _133x = _133q.call(this, 0) || this; return _133x._onMouseOut = function() { var _133y = null; _133x._removeListeners(), null != _133x._cb_onDrop && _133x._cb_onDrop(-1, -1), _133x._dispose(); }, _133x._onMouseMove = function(_133z) { var _1340 = null; if (null == _133x._drag) { var _1341 = _133x._items[_133x._index], _1342 = _133z.data.getLocalPosition(_1341); if (0 == _1341.isNoneData() && 0 == _1341.isRelocation() && 0 == _1341.contains(_1342.x, _1342.y)) { 0; for (var _1343 = 0, _1344 = _133x._items; _1343 < _1344.length; _1343++) { _1344[_1343].alpha = 0.5; } _133x._drag = new PIXI.Container(); var _1345 = _131g.default.resources.getSlotitem(_1341.mst_id, 'airunit_banner'); if (null == _1345 || _1345 == PIXI.Texture.EMPTY) { var _1346 = new PIXI.Graphics(); _1346.beginFill(6710886, 0.5), _1346.drawRect(0, 0, 150, 30), _1346.endFill(), _1346.position.set(-75, -15), _133x._drag.addChild(_1346); } else { var _1347 = new PIXI.Sprite(_1345); _1347.scale.set(0.5), _1347.anchor.set(0.5), _1347.alpha = 0.5, _133x._drag.addChild(_1347); } _133x.addChild(_133x._drag), _133x._drag.x = _133z.data.global.x, _133x._drag.y = _133z.data.global.y; } } else { _133x._drag.x = _133z.data.global.x, _133x._drag.y = _133z.data.global.y; for (var _1348 = 0; _1348 < _133x._items.length; _1348++) { _1341 = _133x._items[_1348], _1342 = _133z.data.getLocalPosition(_1341), 1 == _1341.contains(_1342.x, _1342.y) ? _1341.alpha = 1 : _1341.alpha = 0.5; } } }, _133x._onMouseUp = function(_1349) { var _134a = null; _133x._removeListeners(); for (var _134b = 0; _134b < _133x._items.length; _134b++) { var _134c = _133x._items[_134b], _134d = _1349.data.getLocalPosition(_134c); if (1 == _134c.contains(_134d.x, _134d.y)) return _133x._index == _134b ? null == _133x._drag ? null != _133x._cb_onDrop && _133x._cb_onDrop(_133x._index, _133x._index) : null != _133x._cb_onDrop && _133x._cb_onDrop(-1, -1) : null == _133x._drag ? null != _133x._cb_onDrop && _133x._cb_onDrop(-1, -1) : null != _133x._cb_onDrop && _133x._cb_onDrop(_133x._index, _134b), void _133x._dispose(); } null != _133x._drag ? null != _133x._cb_onDrop && _133x._cb_onDrop(_133x._index, -1) : null != _133x._cb_onDrop && _133x._cb_onDrop(-1, -1), _133x._dispose(); }, _133x._cb_onDrop = _133v, _133x.buttonMode = !0, _133x._index = _133t, _133x._items = _133u, _133x.on(_131h.EventType.MOUSEOUT, _133x._onMouseOut), _133x.on(_131h.EventType.MOUSEMOVE, _133x._onMouseMove), _133x.on(_131h.EventType.MOUSEUP, _133x._onMouseUp), _133x; } return _130x(_133s, _133q), _133s.prototype._dispose = function() { var _134e = null; for (var _134f = 0; _134f < this._items.length; _134f++) { this._items[_134f].alpha = 1; } null != this.parent && this.parent.removeChild(this), this._items = null, this._drag = null, this._cb_onDrop = null; }, _133s.prototype._removeListeners = function() { var _134g = null; this.off(_131h.EventType.MOUSEUP, this._onMouseOut), this.off(_131h.EventType.MOUSEMOVE, this._onMouseMove), this.off(_131h.EventType.MOUSEUP, this._onMouseUp); }, _133s; }(_131j.AreaBox); }, 96928: function(_134h, _134i, _134j) { 'use strict'; var _134k = null; var _134l, _134m = this && this.__extends || (_134l = function(_134n, _134o) { var _134p = null; return _134l = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_134q, _134r) { var _134s = null; _134q.__proto__ = _134r; } || function(_134t, _134u) { var _134v = null; for (var _134w in _134u) Object.prototype.hasOwnProperty.call(_134u, _134w) && (_134t[_134w] = _134u[_134w]); }, _134l(_134n, _134o); }, function(_134x, _134y) { var _134z = null; if ('function' != typeof _134y && null !== _134y) throw new TypeError('Class extends value ' + String(_134y) + ' is not a constructor or null'); function _1350() { var _1351 = null; this.constructor = _134x; } _134l(_134x, _134y), _134x.prototype = null === _134y ? Object.create(_134y) : (_1350.prototype = _134y.prototype, new _1350()); }), _1352 = this && this.__importDefault || function(_1353) { var _1354 = null; return _1353 && _1353.__esModule ? _1353 : { 'default': _1353 }; }; defineModule(_134i); Object.defineProperty(_134i, '__esModule', { 'value': !0 }), _134i.AirUnitPanelBanner = void 0; var _1355 = _1352(_134j(18622)), _1356 = _134j(81755), _1357 = _134j(37760), _1358 = _134j(57616), _1359 = _134j(98583), _135a = function(_135b) { var _135c = null; function _135d() { var _135e = null, _135f = _135b.call(this) || this; return _135f.NUM_TEXTURE_M = [70, 71, 72, 73, 74, 75, 76, 77, 78, 79], _135f.PULS_TEXTURE = [90, 91, 92], _135f._setTexture = function(_135g) { var _135h = null; _135f.texture = _1359.SALLY_AIRUNIT.getTexture(_135g); }, _135f._fairy = new PIXI.Sprite(), _135f.addChild(_135f._fairy), _135f._area = new PIXI.Sprite(), _135f._area.position.set(5, 5), _135f.addChild(_135f._area), _135f._distanceLayer = new PIXI.Container(), _135f.addChild(_135f._distanceLayer), _135f._text = new PIXI.Sprite(_1359.SALLY_AIRUNIT.getTexture(171)), _135f._text.position.set(5, 46), _135f._distanceLayer.addChild(_135f._text), _135f._distance1 = new PIXI.Sprite(), _135f._distanceLayer.addChild(_135f._distance1), _135f._distance2 = new PIXI.Sprite(), _135f._distanceLayer.addChild(_135f._distance2), _135f._plusNum = new PIXI.Sprite(), _135f._distanceLayer.addChild(_135f._plusNum), _135f; } return _134m(_135d, _135b), _135d.prototype.initialize = function(_135i) { var _135j = null, _135k = _1358.MathUtil.zeroPadding(_135i, 3), _135l = './resources/area/airunit/'['concat'](_135k, '.png'); this._area.texture = PIXI.Texture.fromImage(_135l); }, _135d.prototype.update = function(_135m, _135n, _135o, _135p) { var _135q = null, _135r = this; this._stopLoadImage(), this._fairy.texture = PIXI.Texture.EMPTY, _135n > 0 && (this._load_task = new _135s(_135n, this._fairy), this._load_task.start(function() { var _135t = null; _135r._load_task = null; })), this._stopAnimation(), 1 == _135m ? this._t = createjs.Tween.get(null, { 'loop': !0 }).call(this._setTexture, [0]).wait(150).call(this._setTexture, [1]).wait(150) : 2 == _135m ? this.texture = _1359.SALLY_AIRUNIT.getTexture(2) : 3 == _135m ? this._t = createjs.Tween.get(null, { 'loop': !0 }).call(this._setTexture, [3]).wait(150).call(this._setTexture, [4]).wait(150) : this.texture = PIXI.Texture.EMPTY; var _135u = _135o, _135v = _135p; if (this._distanceLayer.visible = !1, this._plusNum.visible = !1, this._distance2.visible = !1, _135u > 0) { switch (this._distanceLayer.visible = !0, _135v) { case 1: case 2: case 3: this._plusNum.visible = !0, this._plusNum.texture = _1359.SALLY_AIRUNIT.getTexture(this.PULS_TEXTURE[_135v - 1]); } if (_135u >= 10) { var _135w = _135u.toString().split(''), _135x = parseInt(_135w[0]), _135y = parseInt(_135w[1]); this._distance2.visible = !0, this._distance1.position.set(86, 35), this._distance2.position.set(102, 35), this._plusNum.position.set(120, 40), this._distance1.texture = _1359.SALLY_AIRUNIT.getTexture(this.NUM_TEXTURE_M[_135x]), this._distance2.texture = _1359.SALLY_AIRUNIT.getTexture(this.NUM_TEXTURE_M[_135y]); } else this._distance1.position.set(86, 35), this._plusNum.position.set(102, 40), this._distance1.texture = _1359.SALLY_AIRUNIT.getTexture(this.NUM_TEXTURE_M[_135u]); } }, _135d.prototype.dispose = function() { var _135z = null; this.removeChildren(), this._distanceLayer.removeChildren(), this._stopLoadImage(), this._stopAnimation(); }, _135d.prototype._stopLoadImage = function() { var _1360 = null; null != this._load_task && (this._load_task.cancel(), this._load_task = null); }, _135d.prototype._stopAnimation = function() { var _1361 = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _135d; }(PIXI.Sprite); _134i.AirUnitPanelBanner = _135a; var _135s = function(_1362) { var _1363 = null; function _1364(_1365, _1366) { var _1367 = null, _1368 = _1362.call(this) || this; return _1368._mst_id = _1365, _1368._target = _1366, _1368; } return _134m(_1364, _1362), _1364.prototype._start = function() { var _1369 = null, _136a = this; this._l = new _1357.SlotLoader(), this._l.add(this._mst_id, 'airunit_fairy'), this._l.load(function() { var _136b = null; null != _136a._target && (_136a._target.texture = _1355.default.resources.getSlotitem(_136a._mst_id, 'airunit_fairy'), _136a._endTask()); }); }, _1364.prototype.cancel = function() { var _136c = null; this._endTask(); }, _1364.prototype._endTask = function() { var _136d = null; this._target = null, this._l = null, _1362.prototype._endTask.call(this); }, _1364; }(_1356.TaskBase); }, 51968: function(_136e, _136f, _136g) { 'use strict'; var _136h = null; var _136i, _136j = this && this.__extends || (_136i = function(_136k, _136l) { var _136m = null; return _136i = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_136n, _136o) { var _136p = null; _136n.__proto__ = _136o; } || function(_136q, _136r) { var _136s = null; for (var _136t in _136r) Object.prototype.hasOwnProperty.call(_136r, _136t) && (_136q[_136t] = _136r[_136t]); }, _136i(_136k, _136l); }, function(_136u, _136v) { var _136w = null; if ('function' != typeof _136v && null !== _136v) throw new TypeError('Class extends value ' + String(_136v) + ' is not a constructor or null'); function _136x() { var _136y = null; this.constructor = _136u; } _136i(_136u, _136v), _136u.prototype = null === _136v ? Object.create(_136v) : (_136x.prototype = _136v.prototype, new _136x()); }), _136z = this && this.__importDefault || function(_1370) { var _1371 = null; return _1370 && _1370.__esModule ? _1370 : { 'default': _1370 }; }; defineModule(_136f); Object.defineProperty(_136f, '__esModule', { 'value': !0 }), _136f.AirUnitPanelItem = void 0; var _1372 = _136z(_136g(18622)), _1373 = _136g(35380), _1374 = _136g(98583), _1375 = _136g(49488), _1376 = _136g(20296), _1377 = _136g(59690), _1378 = _136g(55315), _1379 = _136g(22150), _137a = _136g(21134), _137b = _136g(89496), _137c = function(_137d) { var _137e = null; function _137f(_137g, _137h) { var _137i = null, _137j = _137d.call(this) || this; return _137j.NUM_TEXTURE_S = [80, 81, 82, 83, 84, 85, 86, 87, 88, 89], _137j._activated = !1, _137j._onMouseDown = function() { var _137k = null; null != _137j._cb_onMouseDown && _137j._cb_onMouseDown(_137j._index); }, _137j._onSupply = function() { var _137l = null; null != _137j._cb_onSupply && _137j._cb_onSupply(_137j._index); }, _137j._onMouseOver = function() { var _137m = null; _137j._isSlot && (_137j._distanceLayer.visible = !0); }, _137j._onMouseOut = function() { var _137n = null; _137j._isSlot && (_137j._distanceLayer.visible = !1); }, _137j._cb_onMouseDown = _137g, _137j._cb_onSupply = _137h, _137j._isSlot = !1, _137j._bg = new PIXI.Sprite(), _137j._bg.position.set(11, 23), _137j.addChild(_137j._bg), _137j._banner = new PIXI.Sprite(), _137j._banner.position.set(11, 23), _137j.addChild(_137j._banner), _137j._none_label = new PIXI.Sprite(), _137j.addChild(_137j._none_label), _137j._label = new PIXI.Sprite(), _137j._label.position.set(8, 0), _137j.addChild(_137j._label), _137j._name = new PIXI.Sprite(), _137j._name.position.set(93, 0), _137j.addChild(_137j._name), _137j._detail = new _1376.AirUnitPanelItemDetailInfoPanel(), _137j._detail.position.set(29, 30), _137j.addChild(_137j._detail), _137j._skill = new _137a.AirUnitPanelItemSkillLevelIcon(), _137j._skill.position.set(128, 24), _137j.addChild(_137j._skill), _137j._fatigue = new _1377.AirUnitPanelItemFatigueIcon(), _137j._fatigue.position.set(0, 21), _137j.addChild(_137j._fatigue), _137j._level = new _1378.AirUnitPanelItemLevelIcon(), _137j._level.position.set(167, 54), _137j.addChild(_137j._level), _137j._supply_btn = new _137b.AirUnitPanelItemSupplyButton(_137j._onSupply), _137j._supply_btn.position.set(123, 26), _137j.addChild(_137j._supply_btn), _137j._relocation = new _1379.AirUnitPanelItemRelocationLayer(), _137j._relocation.position.set(11, 23), _137j.addChild(_137j._relocation), _137j._gray_mask = new PIXI.Sprite(_1374.SALLY_AIRUNIT.getTexture(68)), _137j._gray_mask.position.set(11, 23), _137j._gray_mask.alpha = 0.5, _137j._gray_mask.visible = !1, _137j.addChild(_137j._gray_mask), _137j._distanceLayer = new PIXI.Container(), _137j.addChild(_137j._distanceLayer), _137j._distanceLayer.visible = !1, _137j._numText = new PIXI.Sprite(_1374.SALLY_AIRUNIT.getTexture(172)), _137j._distanceLayer.addChild(_137j._numText), _137j._distance1 = new PIXI.Sprite(), _137j._distanceLayer.addChild(_137j._distance1), _137j._distance2 = new PIXI.Sprite(), _137j._distanceLayer.addChild(_137j._distance2), _137j._bg.interactive = !0, _137j; } return _136j(_137f, _137d), Object.defineProperty(_137f.prototype, 'mst_id', { 'get': function() { var _137o = null; return this._mst_id; }, 'enumerable': !1, 'configurable': !0 }), _137f.prototype.initialize = function(_137p) { var _137q = null; switch (this._index = _137p, this._bg.texture = _1374.SALLY_AIRUNIT.getTexture(69), this._none_label.texture = _1374.SALLY_AIRUNIT.getTexture(181), this._none_label.position.set(138, 44), _137p) { case 0: this._label.texture = _1374.SALLY_AIRUNIT.getTexture(176); break; case 1: this._label.texture = _1374.SALLY_AIRUNIT.getTexture(177); break; case 2: this._label.texture = _1374.SALLY_AIRUNIT.getTexture(178); break; case 3: this._label.texture = _1374.SALLY_AIRUNIT.getTexture(179); break; default: this._label.texture = PIXI.Texture.EMPTY; } this._detail.initialize(), this._level.initialize(), this._supply_btn.initialize(), this._relocation.initialize(); }, _137f.prototype.update = function(_137r) { var _137s = null, _137t = this; if (null != this._load_task && this._load_task.cancel(), null == _137r || -1 == _137r.mst_id) return this._showNone(), void(1 == this._activated && this._activate()); if (this._mst_id != _137r.mst_id && this._showNone(), this._mst_id = _137r.mst_id, this._bg.texture = _1374.SALLY_AIRUNIT.getTexture(69), this._none_label.visible = !1, this._distanceLayer.visible = !1, this._relocation.update(!1), 1 == _137r.isRelocation()) this._isSlot = !1, this._detail.visible = !1, this._skill.update(0), this._fatigue.update(1), this._level.update(0), this._supply_btn.update(!1), this._relocation.update(!0), this._activated && this._deactivate(), this._distanceLayer.visible = !1; else { this._isSlot = !0, this._detail.update(_137r.count, _137r.countMax), this._detail.visible = !0, this._skill.update(_137r.skill_level), this._fatigue.update(_137r.fatigue), this._level.update(_137r.level); var _137u = _137r.count < _137r.countMax; this._supply_btn.update(_137u), this._activated && this._activate(); var _137v = _1372.default.model.slot.getMst(this._mst_id).distance; if (this._distance2.visible = !1, _137v >= 10) { var _137w = _137v.toString().split(''), _137x = parseInt(_137w[0]), _137y = parseInt(_137w[1]); this._numText.position.set(213, 68), this._distance2.visible = !0, this._distance1.position.set(288, 63), this._distance2.position.set(299, 63), this._distance1.texture = _1374.SALLY_AIRUNIT.getTexture(this.NUM_TEXTURE_S[_137x]), this._distance2.texture = _1374.SALLY_AIRUNIT.getTexture(this.NUM_TEXTURE_S[_137y]); } else this._numText.position.set(222, 68), this._distance1.position.set(299, 63), this._distance1.texture = _1374.SALLY_AIRUNIT.getTexture(this.NUM_TEXTURE_S[_137v]); } this._load_task = new _1375.TaskAirUnitImageLoader(this._mst_id), this._load_task.start(function() { var _137z = null; _137t._load_task = null, _137t._banner.texture = _1372.default.resources.getSlotitem(_137t._mst_id, 'airunit_banner'), _137t._name.texture = _1372.default.resources.getSlotitem(_137t._mst_id, 'airunit_name'), _137t._name.visible = !0; }); }, _137f.prototype.activate = function() { var _1380 = null; this._gray_mask.visible = !1, this._activated = !0, this._activate(); }, _137f.prototype.deactivate = function() { var _1381 = null; this._activated = !1, this._deactivate(); }, _137f.prototype.showGrayMask = function() { var _1382 = null; this._gray_mask.visible = !0; }, _137f.prototype.dispose = function() { var _1383 = null; this.removeChildren(), this._distanceLayer.removeChildren(), this.deactivate(), this._bg.destroy(), this._bg = null, this._banner.destroy(), this._banner = null, this._none_label.destroy(), this._none_label = null, this._label.destroy(), this._label = null, this._name.destroy(), this._name = null, this._detail.dispose(), this._detail = null, this._skill.dispose(), this._skill = null, this._fatigue.dispose(), this._fatigue = null, this._level.dispose(), this._level = null, this._supply_btn.dispose(), this._supply_btn = null, this._relocation.dispose(), this._gray_mask.destroy(), this._gray_mask = null, this._relocation = null, this._distanceLayer = null, this._distance1.destroy(), this._distance1 = null, this._distance2.destroy(), this._distance2 = null, null != this._load_task && (this._load_task.cancel(), this._load_task = null), this._cb_onMouseDown = null, this._cb_onSupply = null; }, _137f.prototype.isNoneData = function() { var _1384 = null; return this._none_label.visible; }, _137f.prototype.isRelocation = function() { var _1385 = null; return this._relocation.visible; }, _137f.prototype._activate = function() { var _1386 = null; 1 != this._bg.buttonMode && 1 != this._relocation.visible && (this._bg.buttonMode = !0, this._bg.on(_1373.EventType.MOUSEDOWN, this._onMouseDown), this._bg.on(_1373.EventType.MOUSEOVER, this._onMouseOver), this._bg.on(_1373.EventType.MOUSEOUT, this._onMouseOut), this._supply_btn.activate()); }, _137f.prototype._deactivate = function() { var _1387 = null; this._bg.buttonMode = !1, this._bg.off(_1373.EventType.MOUSEDOWN), this._bg.off(_1373.EventType.MOUSEOVER), this._bg.off(_1373.EventType.MOUSEOUT), this._distanceLayer.visible = !1, this._supply_btn.deactivate(); }, _137f.prototype._showNone = function() { var _1388 = null; this._isSlot = !1, this._bg.texture = _1374.SALLY_AIRUNIT.getTexture(69), this._banner.texture = PIXI.Texture.EMPTY, this._none_label.visible = !0, this._name.visible = !1, this._detail.visible = !1, this._skill.update(0), this._fatigue.update(1), this._level.update(0), this._supply_btn.update(!1), this._relocation.update(!1), this._distanceLayer.visible = !1; }, _137f.prototype.contains = function(_1389, _138a) { var _138b = null; return _1389 >= this._bg.x && _1389 <= this._bg.x + this._bg.width && _138a >= this._bg.y && _138a <= this._bg.y + this._bg.height; }, _137f; }(PIXI.Container); _136f.AirUnitPanelItem = _137c; }, 20296: function(_138c, _138d, _138e) { 'use strict'; var _138f = null; var _138g, _138h = this && this.__extends || (_138g = function(_138i, _138j) { var _138k = null; return _138g = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_138l, _138m) { var _138n = null; _138l.__proto__ = _138m; } || function(_138o, _138p) { var _138q = null; for (var _138r in _138p) Object.prototype.hasOwnProperty.call(_138p, _138r) && (_138o[_138r] = _138p[_138r]); }, _138g(_138i, _138j); }, function(_138s, _138t) { var _138u = null; if ('function' != typeof _138t && null !== _138t) throw new TypeError('Class extends value ' + String(_138t) + ' is not a constructor or null'); function _138v() { var _138w = null; this.constructor = _138s; } _138g(_138s, _138t), _138s.prototype = null === _138t ? Object.create(_138t) : (_138v.prototype = _138t.prototype, new _138v()); }); defineModule(_138d); Object.defineProperty(_138d, '__esModule', { 'value': !0 }), _138d.AirUnitPanelItemDetailInfoPanel = void 0; var _138x = _138e(8744), _138y = _138e(98583), _138z = function(_1390) { var _1391 = null; function _1392() { var _1393 = null, _1394 = _1390.call(this) || this; _1394._img = []; var _1395 = new PIXI.Sprite(); return _1394.addChild(_1395), _1394._img.push(_1395), (_1395 = new PIXI.Sprite()).position.set(0, 27), _1394.addChild(_1395), _1394._img.push(_1395), (_1395 = new PIXI.Sprite()).position.set(72, 0), _1394.addChild(_1395), _1394._img.push(_1395), (_1395 = new PIXI.Sprite()).position.set(72, 27), _1394.addChild(_1395), _1394._img.push(_1395), _1394._kadou = new _138x.TextBox(24, 0), _1394._kadou.y = -5, _1394.addChild(_1394._kadou), _1394._teisu = new _138x.TextBox(24, 0), _1394._teisu.y = 21, _1394.addChild(_1394._teisu), _1394; } return _138h(_1392, _1390), _1392.prototype.initialize = function() { var _1396 = null; this._img[0].texture = _138y.SALLY_AIRUNIT.getTexture(174), this._img[1].texture = _138y.SALLY_AIRUNIT.getTexture(182), this._img[2].texture = _138y.SALLY_AIRUNIT.getTexture(175), this._img[3].texture = _138y.SALLY_AIRUNIT.getTexture(175); }, _1392.prototype.update = function(_1397, _1398) { var _1399 = null; this._kadou.text = _1397.toString(), this._kadou.x = 72 - this._kadou.width, this._teisu.text = _1398.toString(), this._teisu.x = 72 - this._teisu.width; }, _1392.prototype.dispose = function() { var _139a = null; this.removeChildren(), this._img = null, this._kadou.destroy(), this._kadou = null, this._teisu.destroy(), this._teisu = null; }, _1392; }(PIXI.Container); _138d.AirUnitPanelItemDetailInfoPanel = _138z; }, 59690: function(_139b, _139c, _139d) { 'use strict'; var _139e = null; var _139f, _139g = this && this.__extends || (_139f = function(_139h, _139i) { var _139j = null; return _139f = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_139k, _139l) { var _139m = null; _139k.__proto__ = _139l; } || function(_139n, _139o) { var _139p = null; for (var _139q in _139o) Object.prototype.hasOwnProperty.call(_139o, _139q) && (_139n[_139q] = _139o[_139q]); }, _139f(_139h, _139i); }, function(_139r, _139s) { var _139t = null; if ('function' != typeof _139s && null !== _139s) throw new TypeError('Class extends value ' + String(_139s) + ' is not a constructor or null'); function _139u() { var _139v = null; this.constructor = _139r; } _139f(_139r, _139s), _139r.prototype = null === _139s ? Object.create(_139s) : (_139u.prototype = _139s.prototype, new _139u()); }); defineModule(_139c); Object.defineProperty(_139c, '__esModule', { 'value': !0 }), _139c.AirUnitPanelItemFatigueIcon = void 0; var _139w = _139d(98583), _139x = function(_139y) { var _139z = null; function _13a0() { var _13a1 = null, _13a2 = _139y.call(this) || this; return _13a2._bg = new PIXI.Sprite(), _13a2._bg.position.set(11, 0), _13a2.addChild(_13a2._bg), _13a2._icon = new PIXI.Sprite(), _13a2._icon.position.set(0, 20), _13a2.addChild(_13a2._icon), _13a2; } return _139g(_13a0, _139y), _13a0.prototype.update = function(_13a3) { var _13a4 = null; 3 == _13a3 ? (this._bg.texture = _139w.SALLY_AIRUNIT.getTexture(39), this._icon.texture = _139w.SALLY_AIRUNIT.getTexture(45), this.visible = !0) : 2 == _13a3 ? (this._bg.texture = _139w.SALLY_AIRUNIT.getTexture(38), this._icon.texture = _139w.SALLY_AIRUNIT.getTexture(44), this.visible = !0) : this.visible = !1; }, _13a0.prototype.dispose = function() { var _13a5 = null; this.removeChildren(), this._bg.destroy(), this._bg = null, this._icon.destroy(), this._icon = null; }, _13a0; }(PIXI.Container); _139c.AirUnitPanelItemFatigueIcon = _139x; }, 55315: function(_13a6, _13a7, _13a8) { 'use strict'; var _13a9 = null; var _13aa, _13ab = this && this.__extends || (_13aa = function(_13ac, _13ad) { var _13ae = null; return _13aa = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_13af, _13ag) { var _13ah = null; _13af.__proto__ = _13ag; } || function(_13ai, _13aj) { var _13ak = null; for (var _13al in _13aj) Object.prototype.hasOwnProperty.call(_13aj, _13al) && (_13ai[_13al] = _13aj[_13al]); }, _13aa(_13ac, _13ad); }, function(_13am, _13an) { var _13ao = null; if ('function' != typeof _13an && null !== _13an) throw new TypeError('Class extends value ' + String(_13an) + ' is not a constructor or null'); function _13ap() { var _13aq = null; this.constructor = _13am; } _13aa(_13am, _13an), _13am.prototype = null === _13an ? Object.create(_13an) : (_13ap.prototype = _13an.prototype, new _13ap()); }); defineModule(_13a7); Object.defineProperty(_13a7, '__esModule', { 'value': !0 }), _13a7.AirUnitPanelItemLevelIcon = void 0; var _13ar = _13a8(98583), _13as = function(_13at) { var _13au = null; function _13av() { var _13aw = null, _13ax = _13at.call(this) || this; return _13ax._star = new PIXI.Sprite(), _13ax.addChild(_13ax._star), _13ax._plus = new PIXI.Sprite(), _13ax._plus.position.set(20, 3), _13ax.addChild(_13ax._plus), _13ax._num = new PIXI.Sprite(), _13ax._num.position.set(33, 0), _13ax.addChild(_13ax._num), _13ax._max = new PIXI.Sprite(), _13ax._max.position.set(8, -3), _13ax.addChild(_13ax._max), _13ax; } return _13ab(_13av, _13at), _13av.prototype.initialize = function() { var _13ay = null; this._star.visible = !1, this._plus.visible = !1, this._max.visible = !1, this._star.texture = _13ar.SALLY_AIRUNIT.getTexture(61), this._plus.texture = _13ar.SALLY_AIRUNIT.getTexture(60), this._max.texture = _13ar.SALLY_AIRUNIT.getTexture(59); }, _13av.prototype.update = function(_13az) { var _13b0 = null, _13b1; switch (_13az) { case 1: _13b1 = 50; break; case 2: _13b1 = 51; break; case 3: _13b1 = 52; break; case 4: _13b1 = 53; break; case 5: _13b1 = 54; break; case 6: _13b1 = 55; break; case 7: _13b1 = 56; break; case 8: _13b1 = 57; break; case 9: _13b1 = 58; break; case 10: return this._star.visible = !1, this._plus.visible = !1, this._num.visible = !1, void(this._max.visible = !0); default: return this._star.visible = !1, this._plus.visible = !1, this._num.visible = !1, void(this._max.visible = !1); } this._star.visible = !0, this._plus.visible = !0, this._num.texture = _13ar.SALLY_AIRUNIT.getTexture(_13b1), this._num.visible = !0, this._max.visible = !1; }, _13av.prototype.dispose = function() { var _13b2 = null; this.removeChildren(), this._star.destroy(), this._star = null, this._plus.destroy(), this._plus = null, this._num.destroy(), this._num = null, this._max.destroy(), this._max = null; }, _13av; }(PIXI.Container); _13a7.AirUnitPanelItemLevelIcon = _13as; }, 22150: function(_13b3, _13b4, _13b5) { 'use strict'; var _13b6 = null; var _13b7, _13b8 = this && this.__extends || (_13b7 = function(_13b9, _13ba) { var _13bb = null; return _13b7 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_13bc, _13bd) { var _13be = null; _13bc.__proto__ = _13bd; } || function(_13bf, _13bg) { var _13bh = null; for (var _13bi in _13bg) Object.prototype.hasOwnProperty.call(_13bg, _13bi) && (_13bf[_13bi] = _13bg[_13bi]); }, _13b7(_13b9, _13ba); }, function(_13bj, _13bk) { var _13bl = null; if ('function' != typeof _13bk && null !== _13bk) throw new TypeError('Class extends value ' + String(_13bk) + ' is not a constructor or null'); function _13bm() { var _13bn = null; this.constructor = _13bj; } _13b7(_13bj, _13bk), _13bj.prototype = null === _13bk ? Object.create(_13bk) : (_13bm.prototype = _13bk.prototype, new _13bm()); }); defineModule(_13b4); Object.defineProperty(_13b4, '__esModule', { 'value': !0 }), _13b4.AirUnitPanelItemRelocationLayer = void 0; var _13bo = _13b5(98583), _13bp = function(_13bq) { var _13br = null; function _13bs() { var _13bt = null, _13bu = _13bq.call(this) || this; return _13bu._txt = new PIXI.Sprite(), _13bu._txt.position.set(23, 23), _13bu.addChild(_13bu._txt), _13bu._txt_on = new PIXI.Sprite(), _13bu._txt_on.position.set(11, 9), _13bu._txt_on.alpha = 0, _13bu.addChild(_13bu._txt_on), _13bu; } return _13b8(_13bs, _13bq), _13bs.prototype.initialize = function() { var _13bv = null; this.texture = _13bo.SALLY_AIRUNIT.getTexture(68), this._txt.texture = _13bo.SALLY_AIRUNIT.getTexture(160), this._txt_on.texture = _13bo.SALLY_AIRUNIT.getTexture(161); }, _13bs.prototype.update = function(_13bw) { var _13bx = null; this.visible = _13bw, 1 == _13bw ? this._activate() : this._deactivate(); }, _13bs.prototype.dispose = function() { var _13by = null; this._deactivate(); }, _13bs.prototype._activate = function() { var _13bz = null; null == this._t && (this._txt_on.alpha = 0, this._t = createjs.Tween.get(this._txt_on, { 'loop': !0 }).to({ 'alpha': 1 }, 800).to({ 'alpha': 0 }, 400)); }, _13bs.prototype._deactivate = function() { var _13c0 = null; null != this._t && (this._t.setPaused(!0), this._t = null, this._txt_on.alpha = 0); }, _13bs; }(PIXI.Sprite); _13b4.AirUnitPanelItemRelocationLayer = _13bp; }, 21134: function(_13c1, _13c2, _13c3) { 'use strict'; var _13c4 = null; var _13c5, _13c6 = this && this.__extends || (_13c5 = function(_13c7, _13c8) { var _13c9 = null; return _13c5 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_13ca, _13cb) { var _13cc = null; _13ca.__proto__ = _13cb; } || function(_13cd, _13ce) { var _13cf = null; for (var _13cg in _13ce) Object.prototype.hasOwnProperty.call(_13ce, _13cg) && (_13cd[_13cg] = _13ce[_13cg]); }, _13c5(_13c7, _13c8); }, function(_13ch, _13ci) { var _13cj = null; if ('function' != typeof _13ci && null !== _13ci) throw new TypeError('Class extends value ' + String(_13ci) + ' is not a constructor or null'); function _13ck() { var _13cl = null; this.constructor = _13ch; } _13c5(_13ch, _13ci), _13ch.prototype = null === _13ci ? Object.create(_13ci) : (_13ck.prototype = _13ci.prototype, new _13ck()); }); defineModule(_13c2); Object.defineProperty(_13c2, '__esModule', { 'value': !0 }), _13c2.AirUnitPanelItemSkillLevelIcon = void 0; var _13cm = _13c3(98583), _13cn = function(_13co) { var _13cp = null; function _13cq() { var _13cr = null, _13cs = _13co.call(this) || this; return _13cs._img = new PIXI.Sprite(), _13cs.addChild(_13cs._img), _13cs; } return _13c6(_13cq, _13co), _13cq.prototype.update = function(_13ct) { var _13cu = null, _13cv; switch (_13ct) { case 1: _13cv = 122; break; case 2: _13cv = 123; break; case 3: _13cv = 124; break; case 4: _13cv = 125; break; case 5: _13cv = 126; break; case 6: _13cv = 127; break; case 7: _13cv = 128; break; default: return void(this.visible = !1); } this._img.texture = _13cm.SALLY_AIRUNIT.getTexture(_13cv), this._img.x = 23 - Math.floor(this._img.width / 2), this.visible = !0; }, _13cq.prototype.dispose = function() { var _13cw = null; this.removeChildren(), this._img.destroy(), this._img = null; }, _13cq; }(PIXI.Container); _13c2.AirUnitPanelItemSkillLevelIcon = _13cn; }, 89496: function(_13cx, _13cy, _13cz) { 'use strict'; var _13d0 = null; var _13d1, _13d2 = this && this.__extends || (_13d1 = function(_13d3, _13d4) { var _13d5 = null; return _13d1 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_13d6, _13d7) { var _13d8 = null; _13d6.__proto__ = _13d7; } || function(_13d9, _13da) { var _13db = null; for (var _13dc in _13da) Object.prototype.hasOwnProperty.call(_13da, _13dc) && (_13d9[_13dc] = _13da[_13dc]); }, _13d1(_13d3, _13d4); }, function(_13dd, _13de) { var _13df = null; if ('function' != typeof _13de && null !== _13de) throw new TypeError('Class extends value ' + String(_13de) + ' is not a constructor or null'); function _13dg() { var _13dh = null; this.constructor = _13dd; } _13d1(_13dd, _13de), _13dd.prototype = null === _13de ? Object.create(_13de) : (_13dg.prototype = _13de.prototype, new _13dg()); }); defineModule(_13cy); Object.defineProperty(_13cy, '__esModule', { 'value': !0 }), _13cy.AirUnitPanelItemSupplyButton = void 0; var _13di = _13cz(98583), _13dj = _13cz(35380), _13dk = function(_13dl) { var _13dm = null; function _13dn(_13do) { var _13dp = null, _13dq = _13dl.call(this) || this; return _13dq._onClick = function() { var _13dr = null; null != _13dq._cb_onClick && _13dq._cb_onClick(); }, _13dq._cb_onClick = _13do, _13dq._img_light = new PIXI.Sprite(), _13dq._img_light.alpha = 0, _13dq.addChild(_13dq._img_light), _13dq._img = new PIXI.Sprite(), _13dq._img.position.set(12, 12), _13dq.addChild(_13dq._img), _13dq.interactive = !0, _13dq; } return _13d2(_13dn, _13dl), _13dn.prototype.initialize = function() { var _13ds = null; this._img.texture = _13di.SALLY_AIRUNIT.getTexture(20), this._img_light.texture = _13di.SALLY_AIRUNIT.getTexture(23), this.update(!1); }, _13dn.prototype.update = function(_13dt) { var _13du = null; if (this.visible = _13dt, 1 == _13dt) { if (null != this._t) return; this._img_light.alpha = 0, this._t = createjs.Tween.get(this._img_light, { 'loop': !0 }).to({ 'alpha': 1 }, 1000).to({ 'alpha': 0 }, 1000); } else { if (null == this._t) return; this._t.setPaused(!0), this._t = null, this._img_light.alpha = 0; } }, _13dn.prototype.dispose = function() { var _13dv = null, _13dw; this.deactivate(), this._img.destroy(), this._img = null, this._img_light.destroy(), this._img_light = null, null === (_13dw = this._t) || void 0 === _13dw || _13dw.setPaused(!0), this._t = null, this._cb_onClick = null; }, _13dn.prototype.activate = function() { var _13dx = null; 1 != this.buttonMode && (this.buttonMode = !0, this.on(_13dj.EventType.CLICK, this._onClick)); }, _13dn.prototype.deactivate = function() { var _13dy = null; this.buttonMode = !1, this.off(_13dj.EventType.CLICK, this._onClick); }, _13dn; }(PIXI.Container); _13cy.AirUnitPanelItemSupplyButton = _13dk; }, 97909: function(_13dz, _13e0, _13e1) { 'use strict'; var _13e2 = null; var _13e3, _13e4 = this && this.__extends || (_13e3 = function(_13e5, _13e6) { var _13e7 = null; return _13e3 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_13e8, _13e9) { var _13ea = null; _13e8.__proto__ = _13e9; } || function(_13eb, _13ec) { var _13ed = null; for (var _13ee in _13ec) Object.prototype.hasOwnProperty.call(_13ec, _13ee) && (_13eb[_13ee] = _13ec[_13ee]); }, _13e3(_13e5, _13e6); }, function(_13ef, _13eg) { var _13eh = null; if ('function' != typeof _13eg && null !== _13eg) throw new TypeError('Class extends value ' + String(_13eg) + ' is not a constructor or null'); function _13ei() { var _13ej = null; this.constructor = _13ef; } _13e3(_13ef, _13eg), _13ef.prototype = null === _13eg ? Object.create(_13eg) : (_13ei.prototype = _13eg.prototype, new _13ei()); }), _13ek = this && this.__importDefault || function(_13el) { var _13em = null; return _13el && _13el.__esModule ? _13el : { 'default': _13el }; }; defineModule(_13e0); Object.defineProperty(_13e0, '__esModule', { 'value': !0 }), _13e0.AirUnitPanelLayer = void 0; var _13en = _13ek(_13e1(21359)), _13eo = _13ek(_13e1(18622)), _13ep = _13e1(35380), _13eq = _13e1(35660), _13er = _13e1(79899), _13es = _13e1(87475), _13et = _13e1(70723), _13eu = _13e1(75350), _13ev = _13e1(81053), _13ew = _13e1(98133), _13ex = _13e1(17524), _13ey = _13e1(12922), _13ez = _13e1(62895), _13f0 = _13e1(8263), _13f1 = _13e1(54156), _13f2 = _13e1(6597), _13f3 = _13e1(96721), _13f4 = _13e1(5527), _13f5 = _13e1(85492), _13f6 = _13e1(88471), _13f7 = _13e1(55535), _13f8 = _13e1(16677), _13f9 = function(_13fa) { var _13fb = null; function _13fc(_13fd) { var _13fe = null, _13ff = _13fa.call(this) || this; return _13ff._clickGuard = null, _13ff._onPanelCancel = function() { var _13fg = null; _13ff._panel_cancel_area.buttonMode = !1, _13ff._closePanel(); }, _13ff._onDrop = function(_13fh, _13fi, _13fj) { var _13fk = null; if (-1 == _13fj) { var _13fl = _13ff._area_id; new _13eu.AirUnitEditAPI(_13fl, _13fh, _13fi, -1).start(function() { var _13fm = null; null != _13ff._panel && _13ff._panel.update(_13fh, !0); }); } else { if (_13fi == _13fj) _13ff._openList(_13fh, _13fi); else { _13fl = _13ff._area_id; var _13fn = _13eo.default.model.airunit.getAirUnit(_13fl, _13fh), _13fo = _13fn.squadrons[_13fi], _13fp = _13fn.squadrons[_13fj]; if (null != _13fp && 2 == _13fp.state) return; new _13eu.AirUnitEditAPI(_13fl, _13fh, _13fj, _13fo.mem_id).start(function() { var _13fq = null; null != _13ff._panel && _13ff._panel.update(_13fh, !0); }); } } }, _13ff._onListCancel = function() { var _13fr = null; _13ff._list_cancel_area.buttonMode = !1, _13ff._closeList(); }, _13ff._onSupplyCancel = function() { var _13fs = null; _13ff._supply_cancel_area.buttonMode = !1, _13ff._closeSupply(); }, _13ff._onSelectListItem = function(_13ft) { var _13fu = null; _13f8.WheelEventUtil.clear(); var _13fv = null, _13fw = _13eo.default.model.airunit.getAirUnit(_13ff._area_id, _13ff._selected_airunit_id).squadrons[_13ff._selected_squadron_index]; null != _13fw && _13fw.mem_id > 0 && (_13fv = _13eo.default.model.slot.get(_13fw.mem_id)), _13ff._item = _13ft, _13ff._confirm = new _13f0.AirUnitChangeConfirmPanel(_13ff._onChangeConfirm), _13ff._confirm.initialize(), _13ff._confirm.update(_13fv, _13ff._item), _13ff._openConfirmPanel(); }, _13ff._onChangeConfirm = function() { var _13fx = null; _13ff._clickGuard = new _13er.AreaBox(0), _13eo.default.view.overLayer.addChild(_13ff._clickGuard); var _13fy = _13ff._area_id, _13fz = _13ff._selected_airunit_id, _13g0 = _13ff._selected_squadron_index; new _13f3.TaskAirUnitChangeConfirm(_13fy, _13fz, _13g0, _13ff._item).start(function() { var _13g1 = null; _13ff._panel.update(_13fz, !0), new _13f7.SerialTask().add(_13ff._taskCloseConfirm()).add(_13ff._taskCloseList()).start(function() { var _13g2 = null; _13et.SE.play('231'), null != _13ff._clickGuard && (_13eo.default.view.overLayer.removeChild(_13ff._clickGuard), _13ff._clickGuard = null); }); }); }, _13ff._onConfirmCancel = function() { var _13g3 = null; _13ff._confirm_cancel_area.buttonMode = !1, _13ff._closeConfirmPanel(); }, _13ff._onReadySupply = function(_13g4) { var _13g5 = null, _13g6 = _13ff._panel.selected_airunit_id; _13ff._openSupply(_13g6, _13g4); }, _13ff._onPreSupply = function() { var _13g7 = null; null == _13ff._clickGuard && (_13ff._clickGuard = new _13er.AreaBox(0), _13eo.default.view.overLayer.addChild(_13ff._clickGuard)); }, _13ff._onSupply = function(_13g8, _13g9, _13ga) { var _13gb = null; null != _13ga && 0 != _13ga.length ? (_13ff._supply.deactivate(), new _13f4.ParallelTask().add(new _13ev.AirUnitSupplyAPI(_13g8, _13g9, _13ga)).add(new _13f5.TweenTask().addTween(createjs.Tween.get(null).wait(1500))).start(function() { var _13gc = null; _13ff._closeSupply(), null != _13ff._panel && _13ff._panel.update(_13g9, !0); })) : _13ff._closeSupply(); }, _13ff._onExtend = function() { var _13gd = null; _13ff._panel.deactivate(); var _13ge = _13eo.default.view.overLayer; new _13f2.TaskExtendAirUnit(_13ge, _13ff._area_id, _13ff._onUpdateInExtendAnimarion).start(function() { var _13gf = null; null != _13ff._panel && _13ff._panel.activate(); }); }, _13ff._onUpdateInExtendAnimarion = function() { var _13gg = null, _13gh = _13eo.default.model.airunit.getAirUnitList(_13ff._area_id); _13ff._panel.updateAfterExtend(_13gh); }, _13ff._recordCurrentCategory = function(_13gi) { var _13gj = null; _13ff._currentCategory = _13gi; }, _13ff._area_id = _13fd, _13ff._currentCategory = 0, _13ff; } return _13e4(_13fc, _13fa), _13fc.prototype.initilize = function() { var _13gk = null, _13gl = this._area_id, _13gm = _13eo.default.model.airunit.getAirUnitList(_13gl); this._panel = new _13ey.AirUnitPanel(this._onDrop, this._onReadySupply, this._onExtend), this._panel.initialize(_13gl, _13gm), this._panel.position.set(203, _13en.default.height); }, _13fc.prototype.updateTempraryData = function() { var _13gn = null; null != this._panel && this._panel.updateTemporaryData(); }, _13fc.prototype.createUpdateAPI = function() { var _13go = null; for (var _13gp = [], _13gq = [], _13gr = new _13eq.APIConnector(), _13gs = 0, _13gt = _13eo.default.model.airunit.getAirUnitList(this._area_id); _13gs < _13gt.length; _13gs++) { var _13gu = _13gt[_13gs]; 1 == _13gu.updateNameFromTemporaryInfo() && _13gr.add(new _13ex.AirUnitChangeNameAPI(this._area_id, _13gu.id, _13gu.name)), 1 == _13gu.updateStateFromTemporaryInfo() && (_13gp.push(_13gu.id), _13gq.push(_13gu.airUnitState)); } return _13gp.length > 0 && _13gr.add(new _13ew.AirUnitChangeActionStateAPI(this._area_id, _13gp, _13gq)), _13gr; }, _13fc.prototype.dispose = function() { var _13gv = null; this.removeChildren(), null != this._supply && (this._supply.dispose(), this._supply = null), null != this._list && (this._list.deactivate(), this._list.dispose(), this._list = null), null != this._panel && (this._panel.deactivate(), this._panel.updateTemporaryData(), this._panel.dispose(), this._panel = null), null != this._confirm && (this._confirm.deactivate(), this._confirm.dispose(), this._confirm = null), null !== this._clickGuard && (_13eo.default.view.overLayer.removeChild(this._clickGuard), this._clickGuard = null); }, _13fc.prototype.openPanel = function() { var _13gw = null, _13gx = this; this._panel_cancel_area = new _13es.FadeBox(0.2), this.addChild(this._panel_cancel_area), this.addChild(this._panel), createjs.Tween.get(this._panel).to({ 'y': 164 }, 200, createjs.Ease.cubicOut).wait(100).call(function() { var _13gy = null; _13et.SE.play('219'); }).to({ 'x': 849 }, 200, createjs.Ease.backOut).call(function() { var _13gz = null; null != _13gx._panel && null != _13gx._panel_cancel_area && (_13gx._panel.activate(), _13gx._panel_cancel_area.once(_13ep.EventType.CLICK, _13gx._onPanelCancel), _13gx._panel_cancel_area.buttonMode = !0, _13gx._pre_bgm_id = _13eo.default.sound.bgm.bgm_id, _13eo.default.sound.bgm.play(125)); }); }, _13fc.prototype._closePanel = function() { var _13h0 = null, _13h1 = this; this._panel.deactivate(), this._panel.updateTemporaryData(), new _13f4.ParallelTask().add(this.createUpdateAPI()).add(new _13f5.TweenTask().addTween(createjs.Tween.get(this._panel).to({ 'y': _13en.default.height }, 300))).start(function() { var _13h2 = null; _13eo.default.sound.bgm.play(_13h1._pre_bgm_id), _13h1.parent.removeChild(_13h1), _13h1.dispose(); }); }, _13fc.prototype._openList = function(_13h3, _13h4) { var _13h5 = null, _13h6 = this; this._selected_airunit_id = _13h3, this._selected_squadron_index = _13h4, this._gray_mask = new _13es.FadeBox(0.2); var _13h7 = this.getChildIndex(this._panel); this.addChildAt(this._gray_mask, _13h7), this._list_cancel_area = new _13er.AreaBox(0), this.addChild(this._list_cancel_area), this._panel.deactivate(), this._panel.showUnselectMask(_13h4), this._list = new _13ez.AirUnitList(this._area_id, _13h3, _13h4, this._onSelectListItem, this._recordCurrentCategory), this._list.position.set(_13en.default.width, 147), this._list.initialize(this._currentCategory), this.addChild(this._list), new _13f5.TweenTask().addTween(createjs.Tween.get(this._panel).to({ 'x': 126 }, 300)).addTween(createjs.Tween.get(this._list).to({ 'x': 473 }, 300)).start(function() { var _13h8 = null; null != _13h6._list && null != _13h6._list_cancel_area && (_13h6._list_cancel_area.once(_13ep.EventType.CLICK, _13h6._onListCancel), _13h6._list_cancel_area.buttonMode = !0, _13h6._list.activate(), _13h6._list.activateWheelEvent()); }); }, _13fc.prototype._closeList = function() { var _13h9 = null; this._list.deactivate(), this._taskCloseList().start(); }, _13fc.prototype._taskCloseList = function() { var _13ha = null, _13hb = this; return new _13f7.SerialTask().add(new _13f6.FuncTask(function() { var _13hc = null; _13f8.WheelEventUtil.clear(), _13hb._list.deactivate(); })).add(new _13f5.TweenTask().addTween(createjs.Tween.get(this._panel).to({ 'x': 849 }, 300)).addTween(createjs.Tween.get(this._list).to({ 'x': _13en.default.width }, 300))).add(new _13f6.FuncTask(function() { var _13hd = null; null != _13hb._list && null != _13hb._panel && null != _13hb._list_cancel_area && (_13hb.removeChild(_13hb._list), _13hb.removeChild(_13hb._list_cancel_area), _13hb.removeChild(_13hb._gray_mask), _13hb._list.dispose(), _13hb._list = null, _13hb._list_cancel_area = null, _13hb._gray_mask = null, _13hb._panel.activate()); })); }, _13fc.prototype._openSupply = function(_13he, _13hf) { var _13hg = null, _13hh = this, _13hi = _13eo.default.model.airunit.getAirUnit(this._area_id, _13he), _13hj = null; _13hf >= 0 && (_13hj = _13hi.squadrons[_13hf]), this._supply_cancel_area = new _13es.FadeBox(0.2), this.addChild(this._supply_cancel_area), this._panel.deactivate(); var _13hk = _13eo.default.model.useItem.getCount(31), _13hl = _13eo.default.model.useItem.getCount(34); this._supply = new _13f1.AirUnitSupplyPanel(this._onSupply, this._onPreSupply), this._supply.x = _13en.default.width + 75, this._supply.y = 144, this._supply.initialize(_13hk, _13hl, _13hi, _13hj), this.addChild(this._supply), new _13f5.TweenTask().addTween(createjs.Tween.get(this._panel).to({ 'x': 468 }, 300)).addTween(createjs.Tween.get(this._supply).to({ 'x': 899 }, 300)).start(function() { var _13hm = null; null != _13hh._supply && null != _13hh._supply_cancel_area && (null == _13hj ? _13hh._supply.autoPlaySupplyAll() : (_13hh._supply_cancel_area.buttonMode = !0, _13hh._supply_cancel_area.once(_13ep.EventType.CLICK, _13hh._onSupplyCancel), _13hh._supply.activate())); }); }, _13fc.prototype._closeSupply = function() { var _13hn = null, _13ho = this; null != this._panel && null != this._supply && (this._supply.deactivate(), new _13f5.TweenTask().addTween(createjs.Tween.get(this._panel).to({ 'x': 849 }, 300)).addTween(createjs.Tween.get(this._supply).to({ 'x': _13en.default.width + 75 }, 300)).start(function() { var _13hp = null; null !== _13ho._clickGuard && (_13eo.default.view.overLayer.removeChild(_13ho._clickGuard), _13ho._clickGuard = null), null != _13ho._supply && null != _13ho._supply_cancel_area && null != _13ho._panel && (_13ho.removeChild(_13ho._supply), _13ho._supply.dispose(), _13ho._supply = null, _13ho.removeChild(_13ho._supply_cancel_area), _13ho._supply_cancel_area = null, _13ho._panel.activate()); })); }, _13fc.prototype._openConfirmPanel = function() { var _13hq = null, _13hr = this; this._confirm_cancel_area = new _13es.FadeBox(0.2), this.addChild(this._confirm_cancel_area), this.addChild(this._confirm), this._confirm.position.set(_13en.default.width, 102), createjs.Tween.get(this._confirm).to({ 'x': 840 }, 200).call(function() { var _13hs = null; null != _13hr._confirm && null != _13hr._confirm_cancel_area && (_13hr._confirm_cancel_area.once(_13ep.EventType.CLICK, _13hr._onConfirmCancel), _13hr._confirm_cancel_area.buttonMode = !0, _13hr._confirm.activate()); }); }, _13fc.prototype._closeConfirmPanel = function() { var _13ht = null; this._taskCloseConfirm().start(); }, _13fc.prototype._taskCloseConfirm = function() { var _13hu = null, _13hv = this; return new _13f7.SerialTask().add(new _13f6.FuncTask(function() { var _13hw = null; null != _13hv._confirm && _13hv._confirm.deactivate(); })).add(new _13f5.TweenTask().addTween(createjs.Tween.get(this._confirm).to({ 'x': _13en.default.width }, 200))).add(new _13f6.FuncTask(function() { var _13hx = null; null != _13hv._confirm && null != _13hv._confirm_cancel_area && (_13hv.removeChild(_13hv._confirm), _13hv.removeChild(_13hv._confirm_cancel_area), _13hv._confirm.dispose(), _13hv._confirm = null, _13hv._confirm_cancel_area = null, _13hv._list.activateWheelEvent()); })); }, _13fc; }(PIXI.Container); _13e0.AirUnitPanelLayer = _13f9; }, 70010: function(_13hy, _13hz, _13i0) { 'use strict'; var _13i1 = null; var _13i2, _13i3 = this && this.__extends || (_13i2 = function(_13i4, _13i5) { var _13i6 = null; return _13i2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_13i7, _13i8) { var _13i9 = null; _13i7.__proto__ = _13i8; } || function(_13ia, _13ib) { var _13ic = null; for (var _13id in _13ib) Object.prototype.hasOwnProperty.call(_13ib, _13id) && (_13ia[_13id] = _13ib[_13id]); }, _13i2(_13i4, _13i5); }, function(_13ie, _13if) { var _13ig = null; if ('function' != typeof _13if && null !== _13if) throw new TypeError('Class extends value ' + String(_13if) + ' is not a constructor or null'); function _13ih() { var _13ii = null; this.constructor = _13ie; } _13i2(_13ie, _13if), _13ie.prototype = null === _13if ? Object.create(_13if) : (_13ih.prototype = _13if.prototype, new _13ih()); }); defineModule(_13hz); Object.defineProperty(_13hz, '__esModule', { 'value': !0 }), _13hz.AirUnitPanelSupplyAllBtn = void 0; var _13ij = _13i0(98583), _13ik = _13i0(35380), _13il = function(_13im) { var _13in = null; function _13io(_13ip) { var _13iq = null, _13ir = _13im.call(this) || this; return _13ir._onMouseOver = function() { var _13is = null; null == _13ir._t && (_13ir._light.alpha = 0, _13ir._t = createjs.Tween.get(_13ir._light, { 'loop': !0 }).to({ 'alpha': 1 }, 500).to({ 'alpha': 0 }, 500)); }, _13ir._onMouseOut = function() { var _13it = null; null != _13ir._t && (_13ir._t.setPaused(!0), _13ir._t = null, _13ir._light.alpha = 0); }, _13ir._onClick = function() { var _13iu = null; null != _13ir._cb_onClick && _13ir._cb_onClick(); }, _13ir._light = new PIXI.Sprite(), _13ir._light.position.set(-12, -12), _13ir.addChild(_13ir._light), _13ir._light.alpha = 0, _13ir._img = new PIXI.Sprite(), _13ir.addChild(_13ir._img), _13ir._img.interactive = !0, _13ir._cb_onClick = _13ip, _13ir; } return _13i3(_13io, _13im), _13io.prototype.initialize = function() { var _13iv = null; this._img.texture = _13ij.SALLY_AIRUNIT.getTexture(21), this._light.texture = _13ij.SALLY_AIRUNIT.getTexture(22); }, _13io.prototype.dispose = function() { var _13iw = null; this.deactivate(), this._onMouseOut(), this.removeChildren(), this._cb_onClick = null; }, _13io.prototype.activate = function() { var _13ix = null; 1 != this._img.buttonMode && (this._img.buttonMode = !0, this._img.on(_13ik.EventType.MOUSEOVER, this._onMouseOver), this._img.on(_13ik.EventType.MOUSEOUT, this._onMouseOut), this._img.on(_13ik.EventType.CLICK, this._onClick)); }, _13io.prototype.deactivate = function() { var _13iy = null; this._img.buttonMode = !1, this._img.off(_13ik.EventType.MOUSEOVER, this._onMouseOver), this._img.off(_13ik.EventType.MOUSEOUT, this._onMouseOut), this._img.off(_13ik.EventType.CLICK, this._onClick); }, _13io; }(PIXI.Container); _13hz.AirUnitPanelSupplyAllBtn = _13il; }, 92715: function(_13iz, _13j0, _13j1) { 'use strict'; var _13j2 = null; var _13j3, _13j4 = this && this.__extends || (_13j3 = function(_13j5, _13j6) { var _13j7 = null; return _13j3 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_13j8, _13j9) { var _13ja = null; _13j8.__proto__ = _13j9; } || function(_13jb, _13jc) { var _13jd = null; for (var _13je in _13jc) Object.prototype.hasOwnProperty.call(_13jc, _13je) && (_13jb[_13je] = _13jc[_13je]); }, _13j3(_13j5, _13j6); }, function(_13jf, _13jg) { var _13jh = null; if ('function' != typeof _13jg && null !== _13jg) throw new TypeError('Class extends value ' + String(_13jg) + ' is not a constructor or null'); function _13ji() { var _13jj = null; this.constructor = _13jf; } _13j3(_13jf, _13jg), _13jf.prototype = null === _13jg ? Object.create(_13jg) : (_13ji.prototype = _13jg.prototype, new _13ji()); }); defineModule(_13j0); Object.defineProperty(_13j0, '__esModule', { 'value': !0 }), _13j0.AirUnitPanelTab = void 0; var _13jk = _13j1(98583), _13jl = _13j1(35380), _13jm = function(_13jn) { var _13jo = null; function _13jp(_13jq) { var _13jr = null, _13js = _13jn.call(this) || this; return _13js._activated = !1, _13js._selected = !1, _13js._onClick = function() { var _13jt = null; null != _13js._cb_onClick && _13js._cb_onClick(_13js._airunit_id); }, _13js._cb_onClick = _13jq, _13js._bg = new PIXI.Sprite(), _13js.addChild(_13js._bg), _13js._label = new PIXI.Sprite(), _13js._label.position.set(8, 11), _13js.addChild(_13js._label), _13js.interactive = !0, _13js; } return _13j4(_13jp, _13jn), Object.defineProperty(_13jp.prototype, 'selected', { 'get': function() { var _13ju = null; return this._selected; }, 'set': function(_13jv) { var _13jw = null; this._selected != _13jv && (this._selected = _13jv, 1 == this._activated && 0 == this._selected ? this.activate() : this._deactivate(), 1 == this.visible && this.update()); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_13jp.prototype, 'airunit_id', { 'get': function() { var _13jx = null; return this._airunit_id; }, 'enumerable': !1, 'configurable': !0 }), _13jp.prototype.initialize = function(_13jy, _13jz) { var _13k0 = null; if (this._airunit_id = _13jy, _13jy > _13jz) this.visible = !1; else { if (1 == _13jz && 1 == _13jy) this._label.texture = _13jk.SALLY_AIRUNIT.getTexture(151); else switch (_13jy) { case 1: this._label.texture = _13jk.SALLY_AIRUNIT.getTexture(152); break; case 2: this._label.texture = _13jk.SALLY_AIRUNIT.getTexture(153); break; case 3: this._label.texture = _13jk.SALLY_AIRUNIT.getTexture(154); break; default: this._label.texture = PIXI.Texture.EMPTY; } this.update(), this.visible = !0; } }, _13jp.prototype.update = function() { var _13k1 = null; 1 == this._selected ? this._bg.texture = _13jk.SALLY_AIRUNIT.getTexture(157) : this._bg.texture = _13jk.SALLY_AIRUNIT.getTexture(156); }, _13jp.prototype.activate = function() { var _13k2 = null; this._activated = !0, 1 != this._selected && 1 != this.buttonMode && (this.buttonMode = !0, this.on(_13jl.EventType.CLICK, this._onClick)); }, _13jp.prototype.deactivate = function() { var _13k3 = null; this._activated = !1, this._deactivate(); }, _13jp.prototype.dispose = function() { var _13k4 = null; this._deactivate(), this._cb_onClick = null; }, _13jp.prototype._deactivate = function() { var _13k5 = null; this.buttonMode = !1, this.off(_13jl.EventType.CLICK, this._onClick); }, _13jp; }(PIXI.Container); _13j0.AirUnitPanelTab = _13jm; }, 29293: function(_13k6, _13k7, _13k8) { 'use strict'; var _13k9 = null; var _13ka, _13kb = this && this.__extends || (_13ka = function(_13kc, _13kd) { var _13ke = null; return _13ka = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_13kf, _13kg) { var _13kh = null; _13kf.__proto__ = _13kg; } || function(_13ki, _13kj) { var _13kk = null; for (var _13kl in _13kj) Object.prototype.hasOwnProperty.call(_13kj, _13kl) && (_13ki[_13kl] = _13kj[_13kl]); }, _13ka(_13kc, _13kd); }, function(_13km, _13kn) { var _13ko = null; if ('function' != typeof _13kn && null !== _13kn) throw new TypeError('Class extends value ' + String(_13kn) + ' is not a constructor or null'); function _13kp() { var _13kq = null; this.constructor = _13km; } _13ka(_13km, _13kn), _13km.prototype = null === _13kn ? Object.create(_13kn) : (_13kp.prototype = _13kn.prototype, new _13kp()); }); defineModule(_13k7); Object.defineProperty(_13k7, '__esModule', { 'value': !0 }), _13k7.AirUnitPanelTabContainer = void 0; var _13kr = _13k8(98583), _13ks = _13k8(92715), _13kt = function(_13ku) { var _13kv = null; function _13kw(_13kx) { var _13ky = null, _13kz = _13ku.call(this) || this; _13kz._total_num = 0, _13kz._tabs = []; for (var _13l0 = 0; _13l0 < 3; _13l0++) { var _13l1 = new _13ks.AirUnitPanelTab(_13kx); _13l1.x = 101 * _13l0, _13kz.addChild(_13l1), _13kz._tabs.push(_13l1); } return _13kz; } return _13kb(_13kw, _13ku), _13kw.prototype.initialize = function(_13l2) { var _13l3 = null; this.texture = _13kr.SALLY_AIRUNIT.getTexture(155), this._total_num = _13l2; for (var _13l4 = 0; _13l4 < this._tabs.length; _13l4++) { this._tabs[_13l4].initialize(_13l4 + 1, _13l2); } }, _13kw.prototype.update = function(_13l5) { var _13l6 = null; for (var _13l7 = 0; _13l7 < this._tabs.length; _13l7++) { var _13l8 = this._tabs[_13l7]; _13l8.selected = _13l8.airunit_id == _13l5; } }, _13kw.prototype.activate = function() { var _13l9 = null; for (var _13la = 0, _13lb = this._tabs; _13la < _13lb.length; _13la++) { _13lb[_13la].activate(); } }, _13kw.prototype.deactivate = function() { var _13lc = null; for (var _13ld = 0, _13le = this._tabs; _13ld < _13le.length; _13ld++) { _13le[_13ld].deactivate(); } }, _13kw.prototype.dispose = function() { var _13lf = null; for (var _13lg = 0, _13lh = this._tabs; _13lg < _13lh.length; _13lg++) { _13lh[_13lg].dispose(); } }, _13kw; }(PIXI.Sprite); _13k7.AirUnitPanelTabContainer = _13kt; }, 52966: function(_13li, _13lj, _13lk) { 'use strict'; var _13ll = null; var _13lm, _13ln = this && this.__extends || (_13lm = function(_13lo, _13lp) { var _13lq = null; return _13lm = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_13lr, _13ls) { var _13lt = null; _13lr.__proto__ = _13ls; } || function(_13lu, _13lv) { var _13lw = null; for (var _13lx in _13lv) Object.prototype.hasOwnProperty.call(_13lv, _13lx) && (_13lu[_13lx] = _13lv[_13lx]); }, _13lm(_13lo, _13lp); }, function(_13ly, _13lz) { var _13m0 = null; if ('function' != typeof _13lz && null !== _13lz) throw new TypeError('Class extends value ' + String(_13lz) + ' is not a constructor or null'); function _13m1() { var _13m2 = null; this.constructor = _13ly; } _13lm(_13ly, _13lz), _13ly.prototype = null === _13lz ? Object.create(_13lz) : (_13m1.prototype = _13lz.prototype, new _13m1()); }); defineModule(_13lj); Object.defineProperty(_13lj, '__esModule', { 'value': !0 }), _13lj.AirUnitPanelTabContainerWithExtend = void 0; var _13m3 = _13lk(29293), _13m4 = _13lk(89233), _13m5 = _13lk(71633), _13m6 = function(_13m7) { var _13m8 = null; function _13m9(_13ma, _13mb) { var _13mc = null, _13md = _13m7.call(this, _13ma) || this; return _13md._btn_extend = new _13m4.AirUnitExtendBtn(_13mb), _13md._btn_extend.visible = !1, _13md.addChild(_13md._btn_extend), _13md; } return _13ln(_13m9, _13m7), _13m9.prototype.initialize = function(_13me) { var _13mf = null; _13m7.prototype.initialize.call(this, _13me), this._btn_extend.initialize(); }, _13m9.prototype.activate = function() { var _13mg = null; _13m7.prototype.activate.call(this), this._btn_extend.activate(); }, _13m9.prototype.deactivate = function() { var _13mh = null; _13m7.prototype.deactivate.call(this), this._btn_extend.deactivate(); }, _13m9.prototype.dispose = function() { var _13mi = null; _13m7.prototype.dispose.call(this), this._btn_extend.dispose(); }, _13m9.prototype.updateExtendBtn = function(_13mj, _13mk) { var _13ml = null; this._total_num < 3 && _13mj != _13m5.EventConst.AREA_ID ? (this._btn_extend.enabled = _13mk > 0, this._btn_extend.x = 101 * this._total_num, this._btn_extend.visible = !0) : this._btn_extend.visible = !1; }, _13m9; }(_13m3.AirUnitPanelTabContainer); _13lj.AirUnitPanelTabContainerWithExtend = _13m6; }, 99827: function(_13mm, _13mn, _13mo) { 'use strict'; var _13mp = null; var _13mq, _13mr = this && this.__extends || (_13mq = function(_13ms, _13mt) { var _13mu = null; return _13mq = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_13mv, _13mw) { var _13mx = null; _13mv.__proto__ = _13mw; } || function(_13my, _13mz) { var _13n0 = null; for (var _13n1 in _13mz) Object.prototype.hasOwnProperty.call(_13mz, _13n1) && (_13my[_13n1] = _13mz[_13n1]); }, _13mq(_13ms, _13mt); }, function(_13n2, _13n3) { var _13n4 = null; if ('function' != typeof _13n3 && null !== _13n3) throw new TypeError('Class extends value ' + String(_13n3) + ' is not a constructor or null'); function _13n5() { var _13n6 = null; this.constructor = _13n2; } _13mq(_13n2, _13n3), _13n2.prototype = null === _13n3 ? Object.create(_13n3) : (_13n5.prototype = _13n3.prototype, new _13n5()); }); defineModule(_13mn); Object.defineProperty(_13mn, '__esModule', { 'value': !0 }), _13mn.AirUnitPanelWoodenTag = void 0; var _13n7 = _13mo(45054), _13n8 = _13mo(79899), _13n9 = _13mo(70723), _13na = _13mo(98583), _13nb = _13mo(35380), _13nc = function(_13nd) { var _13ne = null; function _13nf() { var _13ng = null, _13nh = _13nd.call(this) || this; return _13nh._activated = !1, _13nh._enabled = !0, _13nh._state = -1, _13nh._onMouseOver = function() { var _13ni = null; _13nh.scale.set(1.1); }, _13nh._onMouseOut = function() { var _13nj = null; _13nh.scale.set(1); }, _13nh._onClick = function() { var _13nk = null, _13nl; _13nl = 4 == _13nh._state ? 0 : _13nh._state + 1, _13n9.SE.play('223'), _13nh.update(_13nl, !0); }, _13nh._content = new _13nm(), _13nh.addChild(_13nh._content), _13nh._hitArea = new _13n8.AreaBox(0, 0, 42, 74), _13nh._hitArea.position.set(-21, -12), _13nh._hitArea.interactive = !0, _13nh.addChild(_13nh._hitArea), _13nh; } return _13mr(_13nf, _13nd), Object.defineProperty(_13nf.prototype, 'enabled', { 'get': function() { var _13nn = null; return this._enabled; }, 'set': function(_13no) { var _13np = null; this._enabled != _13no && (this._enabled = _13no, 1 == this._enabled ? 1 == this._activated && this.activate() : 1 == this._activated && this._deactivate()); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_13nf.prototype, 'state', { 'get': function() { var _13nq = null; return this._state; }, 'enumerable': !1, 'configurable': !0 }), _13nf.prototype.update = function(_13nr, _13ns) { var _13nt = null, _13nu = this; this._state != _13nr && null == this._t && (this._state = _13nr, 0 == _13ns ? this._content.update(_13nr) : this._t = createjs.Tween.get(this._content).to({ 'scaleX': 0 }, 200, createjs.Ease.quadIn).call(function() { var _13nv = null; _13nu._content.update(_13nr); }).to({ 'scaleX': 1 }, 200, createjs.Ease.quadOut).call(function() { _13nu._t = null; })); }, _13nf.prototype.skipAnimation = function() { var _13nw = null; null != this._t && (this._t.setPaused(!0), this._t = null, this._content.update(this._state), this._content.scaleX = 1); }, _13nf.prototype.activate = function() { var _13nx = null; this._activated = !0, 1 != this._hitArea.buttonMode && 0 != this._enabled && (this._hitArea.buttonMode = !0, this._hitArea.on(_13nb.EventType.MOUSEOVER, this._onMouseOver), this._hitArea.on(_13nb.EventType.MOUSEOUT, this._onMouseOut), this._hitArea.on(_13nb.EventType.CLICK, this._onClick)); }, _13nf.prototype.deactivate = function() { var _13ny = null; this._activated = !1, this._deactivate(); }, _13nf.prototype.dispose = function() { var _13nz = null; this.removeChildren(), this.deactivate(), this._content.dispose(), null != this._t && (this._t.setPaused(!0), this._t = null); }, _13nf.prototype._deactivate = function() { var _13o0 = null; this._hitArea.buttonMode = !1, this._hitArea.off(_13nb.EventType.MOUSEOVER, this._onMouseOver), this._hitArea.off(_13nb.EventType.MOUSEOUT, this._onMouseOut), this._hitArea.off(_13nb.EventType.CLICK, this._onClick); }, _13nf; }(PIXI.Container); _13mn.AirUnitPanelWoodenTag = _13nc; var _13nm = function(_13o1) { var _13o2 = null; function _13o3() { var _13o4 = null, _13o5 = _13o1.call(this) || this; return _13o5._img = new PIXI.Sprite(), _13o5._img.position.set(-21, -12), _13o5.addChild(_13o5._img), _13o5._light = new PIXI.Sprite(), _13o5._light.position.set(-24, -12), _13o5.addChild(_13o5._light), _13o5; } return _13mr(_13o3, _13o1), _13o3.prototype.update = function(_13o6) { var _13o7 = null; this._stopAnimation(), 0 == _13o6 ? (this._img.texture = _13na.SALLY_AIRUNIT.getTexture(183), this._light.visible = !1) : 1 == _13o6 ? (this._img.texture = _13na.SALLY_AIRUNIT.getTexture(184), this._light.texture = _13na.SALLY_AIRUNIT.getTexture(185), this._light.visible = !0, this._startAnimation()) : 2 == _13o6 ? (this._img.texture = _13na.SALLY_AIRUNIT.getTexture(186), this._light.texture = _13na.SALLY_AIRUNIT.getTexture(187), this._light.visible = !0, this._startAnimation()) : 3 == _13o6 ? (this._img.texture = _13na.SALLY_AIRUNIT.getTexture(188), this._light.texture = _13na.SALLY_AIRUNIT.getTexture(189), this._light.visible = !0, this._startAnimation()) : 4 == _13o6 ? (this._img.texture = _13na.SALLY_AIRUNIT.getTexture(190), this._light.texture = _13na.SALLY_AIRUNIT.getTexture(191), this._light.visible = !0, this._startAnimation()) : (this._img.texture = PIXI.Texture.EMPTY, this._light.visible = !1); }, _13o3.prototype.dispose = function() { var _13o8 = null; this._stopAnimation(); }, _13o3.prototype._startAnimation = function() { var _13o9 = null; null == this._t && (this._light.alpha = 0, this._t = createjs.Tween.get(this._light, { 'loop': !0 }).to({ 'alpha': 1 }, 1000).to({ 'alpha': 0 }, 300)); }, _13o3.prototype._stopAnimation = function() { var _13oa = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _13o3; }(_13n7.Container); }, 54156: function(_13ob, _13oc, _13od) { 'use strict'; var _13oe = null; var _13of, _13og = this && this.__extends || (_13of = function(_13oh, _13oi) { var _13oj = null; return _13of = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_13ok, _13ol) { var _13om = null; _13ok.__proto__ = _13ol; } || function(_13on, _13oo) { var _13op = null; for (var _13oq in _13oo) Object.prototype.hasOwnProperty.call(_13oo, _13oq) && (_13on[_13oq] = _13oo[_13oq]); }, _13of(_13oh, _13oi); }, function(_13or, _13os) { var _13ot = null; if ('function' != typeof _13os && null !== _13os) throw new TypeError('Class extends value ' + String(_13os) + ' is not a constructor or null'); function _13ou() { var _13ov = null; this.constructor = _13or; } _13of(_13or, _13os), _13or.prototype = null === _13os ? Object.create(_13os) : (_13ou.prototype = _13os.prototype, new _13ou()); }); defineModule(_13oc); Object.defineProperty(_13oc, '__esModule', { 'value': !0 }), _13oc.AirUnitSupplyPanel = void 0; var _13ow = _13od(20962), _13ox = _13od(98583), _13oy = _13od(31166), _13oz = _13od(35380), _13p0 = function(_13p1) { var _13p2 = null; function _13p3(_13p4, _13p5) { var _13p6 = null, _13p7 = _13p1.call(this) || this; return _13p7.FUEL = 3, _13p7.BAUX = 5, _13p7._fuelNow = 0, _13p7._bauxNow = 0, _13p7._material_key = null, _13p7._onMouseOverBtn = function() { var _13p8 = null, _13p9 = _13p7._calcNeedMaterial([_13p7._squadron]); _13p7._title.show(_13p9.fuel, _13p9.baux, ''), _13p7._materialShow(_13p9.fuel, _13p9.baux, ''); }, _13p7._onMouseOutBtn = function() { var _13pa = null; _13p7._title.hide(''), _13p7._materialHide(''); }, _13p7._onMouseOverBtnAll = function() { var _13pb = null, _13pc = _13p7._calcNeedMaterial(_13p7._airunit.squadrons); _13p7._title.show(_13pc.fuel, _13pc.baux, 'all'), _13p7._materialShow(_13pc.fuel, _13pc.baux, 'all'); }, _13p7._onMouseOutBtnAll = function() { var _13pd = null; _13p7._title.hide('all'), _13p7._materialHide('all'); }, _13p7._onClick = function() { var _13pe = null; if (null != _13p7._cb_onSupply) { _13p7._cb_onPreSupply(); var _13pf = _13p7._airunit.area_id, _13pg = _13p7._airunit.id, _13ph = [_13p7._squadron.id]; _13p7._cb_onSupply(_13pf, _13pg, _13ph), _13p7.fuelContainer.playSupply(function() {}), _13p7.bauxContainer.playSupply(function() {}); } }, _13p7._onClickAll = function() { var _13pi = null; if (null != _13p7._cb_onSupply) { _13p7._cb_onPreSupply(); for (var _13pj = _13p7._airunit.area_id, _13pk = _13p7._airunit.id, _13pl = [], _13pm = 0, _13pn = _13p7._airunit.squadrons; _13pm < _13pn.length; _13pm++) { var _13po = _13pn[_13pm]; 1 == _13po.state && _13po.count < _13po.countMax && _13pl.push(_13po.id); } _13p7._cb_onSupply(_13pj, _13pk, _13pl), _13p7.fuelContainer.playSupply(function() {}), _13p7.bauxContainer.playSupply(function() {}); } }, _13p7._cb_onSupply = _13p4, _13p7._cb_onPreSupply = _13p5, _13p7._bg = new PIXI.Sprite(), _13p7.addChild(_13p7._bg), _13p7._title = new _13oy.AirUnitSupplyPanelTitle(), _13p7.addChild(_13p7._title), _13p7._btn = new _13pp(_13p7._onMouseOverBtn, _13p7._onMouseOutBtn, _13p7._onClick), _13p7._btn.position.set(32, 438), _13p7._btn_all = new _13pq(_13p7._onMouseOverBtnAll, _13p7._onMouseOutBtnAll, _13p7._onClickAll), _13p7._btn_all.position.set(32, 495), _13p7.interactive = !0, _13p7; } return _13og(_13p3, _13p1), _13p3.prototype.initialize = function(_13pr, _13ps, _13pt, _13pu) { var _13pv = null; if (this._fuelNow = _13pr, this._bauxNow = _13ps, this._airunit = _13pt, this._squadron = _13pu, this._bg.texture = _13ox.SALLY_AIRUNIT.getTexture(37), this._title.initialize(_13pr, _13ps), this.fuelContainer = new _13ow.FuelContainer(), this.fuelContainer.position.set(17, 206), this.addChild(this.fuelContainer), this.bauxContainer = new _13ow.BauxContainer(), this.bauxContainer.position.set(158, 206), this.addChild(this.bauxContainer), null == this._squadron) this._btn.initialize(!1), this._btn_all.initialize(!1); else { var _13pw = _13pr >= this.FUEL && _13ps >= this.BAUX; this._btn.initialize(_13pw), this.addChild(this._btn), this._btn_all.initialize(_13pw), this.addChild(this._btn_all); } }, _13p3.prototype.activate = function() { var _13px = null; this._btn.activate(), this._btn_all.activate(); }, _13p3.prototype.deactivate = function() { var _13py = null; this._btn.deactivate(), this._btn_all.deactivate(); }, _13p3.prototype.dispose = function() { var _13pz = null; this.fuelContainer.dispose(), this.bauxContainer.dispose(), this._title.dispose(), this._btn.dispose(), this._btn_all.dispose(), this._cb_onSupply = null, this._cb_onPreSupply = null; }, _13p3.prototype.autoPlaySupplyAll = function() { var _13q0 = null, _13q1 = this, _13q2 = this._calcNeedMaterial(this._airunit.squadrons); this._title.show(_13q2.fuel, _13q2.baux, 'all'), this._fuelNow >= _13q2.fuel && this._bauxNow >= _13q2.baux ? (this._materialShow(_13q2.fuel, _13q2.baux, 'all'), createjs.Tween.get(null).wait(1000).call(function() { var _13q3 = null; _13q1._onClickAll(); })) : createjs.Tween.get(null).wait(1000).call(function() { var _13q4 = null; if (null != _13q1._cb_onSupply) { 0; var _13q5 = _13q1._airunit.area_id, _13q6 = _13q1._airunit.id; _13q1._cb_onSupply(_13q5, _13q6, []); } }); }, _13p3.prototype._calcNeedMaterial = function(_13q7) { var _13q8 = null; for (var _13q9 = { 'fuel': 0, 'baux': 0 }, _13qa = 0, _13qb = _13q7; _13qa < _13qb.length; _13qa++) { var _13qc = _13qb[_13qa], _13qd = _13qc.countMax - _13qc.count; _13q9.fuel += _13qd * this.FUEL, _13q9.baux += _13qd * this.BAUX; } return _13q9; }, _13p3.prototype._materialShow = function(_13qe, _13qf, _13qg) { var _13qh = null; void 0 === _13qg && (_13qg = null), this._material_key = _13qg, this.fuelContainer.update(_13qe), this.bauxContainer.update(_13qf); }, _13p3.prototype._materialHide = function(_13qi) { var _13qj = null; void 0 === _13qi && (_13qi = null), null != _13qi && _13qi != this._material_key || (this._material_key = null, this.fuelContainer.update(0), this.bauxContainer.update(0)); }, _13p3; }(PIXI.Container); _13oc.AirUnitSupplyPanel = _13p0; var _13pp = function(_13qk) { var _13ql = null; function _13qm(_13qn, _13qo, _13qp) { var _13qq = null, _13qr = _13qk.call(this) || this; return _13qr._onMouseOver = function() { var _13qs = null; _13qr._update(!0), null != _13qr._cb_onMouseOver && _13qr._cb_onMouseOver(); }, _13qr._onMouseOut = function() { var _13qt = null; _13qr._update(!1), null != _13qr._cb_onMouseOut && _13qr._cb_onMouseOut(); }, _13qr._onClick = function() { var _13qu = null; null != _13qr._cb_onClick && _13qr._cb_onClick(); }, _13qr._cb_onMouseOver = _13qn, _13qr._cb_onMouseOut = _13qo, _13qr._cb_onClick = _13qp, _13qr.interactive = !0, _13qr; } return _13og(_13qm, _13qk), _13qm.prototype.initialize = function(_13qv) { var _13qw = null; this._enabled = _13qv, this._update(!1); }, _13qm.prototype.activate = function() { var _13qx = null; 0 != this._enabled && 1 != this.buttonMode && (this.buttonMode = !0, this.on(_13oz.EventType.CLICK, this._onClick), this.on(_13oz.EventType.MOUSEOVER, this._onMouseOver), this.on(_13oz.EventType.MOUSEOUT, this._onMouseOut)); }, _13qm.prototype.deactivate = function() { var _13qy = null; this.buttonMode = !1, this.off(_13oz.EventType.CLICK, this._onClick), this.off(_13oz.EventType.MOUSEOVER, this._onMouseOver), this.off(_13oz.EventType.MOUSEOUT, this._onMouseOut); }, _13qm.prototype.dispose = function() { var _13qz = null; this.deactivate(), this.destroy(); }, _13qm.prototype._update = function(_13r0) { var _13r1 = null; 0 == this._enabled ? this.texture = _13ox.SALLY_AIRUNIT.getTexture(18) : this.texture = 0 == _13r0 ? _13ox.SALLY_AIRUNIT.getTexture(17) : _13ox.SALLY_AIRUNIT.getTexture(19); }, _13qm; }(PIXI.Sprite), _13pq = function(_13r2) { var _13r3 = null; function _13r4(_13r5, _13r6, _13r7) { var _13r8 = null, _13r9 = _13r2.call(this) || this; return _13r9._onMouseOver = function() { var _13ra = null; _13r9._update(!0), null != _13r9._cb_onMouseOver && _13r9._cb_onMouseOver(); }, _13r9._onMouseOut = function() { var _13rb = null; _13r9._update(!1), null != _13r9._cb_onMouseOut && _13r9._cb_onMouseOut(); }, _13r9._onClick = function() { var _13rc = null; null != _13r9._cb_onClick && _13r9._cb_onClick(); }, _13r9._cb_onMouseOver = _13r5, _13r9._cb_onMouseOut = _13r6, _13r9._cb_onClick = _13r7, _13r9.interactive = !0, _13r9; } return _13og(_13r4, _13r2), _13r4.prototype.initialize = function(_13rd) { var _13re = null; this._enabled = _13rd, this._update(!1); }, _13r4.prototype.activate = function() { var _13rf = null; 0 != this._enabled && 1 != this.buttonMode && (this.buttonMode = !0, this.on(_13oz.EventType.CLICK, this._onClick), this.on(_13oz.EventType.MOUSEOVER, this._onMouseOver), this.on(_13oz.EventType.MOUSEOUT, this._onMouseOut)); }, _13r4.prototype.deactivate = function() { var _13rg = null; 0 != this.buttonMode && (this.buttonMode = !1, this.off(_13oz.EventType.CLICK, this._onClick), this.off(_13oz.EventType.MOUSEOVER, this._onMouseOver), this.off(_13oz.EventType.MOUSEOUT, this._onMouseOut)); }, _13r4.prototype.dispose = function() { var _13rh = null; this.deactivate(), this.destroy(); }, _13r4.prototype._update = function(_13ri) { var _13rj = null; 0 == this._enabled ? this.texture = _13ox.SALLY_AIRUNIT.getTexture(14) : this.texture = 0 == _13ri ? _13ox.SALLY_AIRUNIT.getTexture(13) : _13ox.SALLY_AIRUNIT.getTexture(15); }, _13r4; }(PIXI.Sprite); }, 31166: function(_13rk, _13rl, _13rm) { 'use strict'; var _13rn = null; var _13ro, _13rp = this && this.__extends || (_13ro = function(_13rq, _13rr) { var _13rs = null; return _13ro = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_13rt, _13ru) { var _13rv = null; _13rt.__proto__ = _13ru; } || function(_13rw, _13rx) { var _13ry = null; for (var _13rz in _13rx) Object.prototype.hasOwnProperty.call(_13rx, _13rz) && (_13rw[_13rz] = _13rx[_13rz]); }, _13ro(_13rq, _13rr); }, function(_13s0, _13s1) { var _13s2 = null; if ('function' != typeof _13s1 && null !== _13s1) throw new TypeError('Class extends value ' + String(_13s1) + ' is not a constructor or null'); function _13s3() { var _13s4 = null; this.constructor = _13s0; } _13ro(_13s0, _13s1), _13s0.prototype = null === _13s1 ? Object.create(_13s1) : (_13s3.prototype = _13s1.prototype, new _13s3()); }); defineModule(_13rl); Object.defineProperty(_13rl, '__esModule', { 'value': !0 }), _13rl.AirUnitSupplyPanelTitle = void 0; var _13s5 = _13rm(8744), _13s6 = _13rm(98583), _13s7 = function(_13s8) { var _13s9 = null; function _13sa() { var _13sb = null, _13sc = _13s8.call(this) || this; return _13sc._fuel_max = 0, _13sc._baux_max = 0, _13sc._key = null, _13sc._title = new PIXI.Sprite(), _13sc._title.position.set(15, 17), _13sc.addChild(_13sc._title), _13sc._icon_fuel = new PIXI.Sprite(), _13sc._icon_fuel.position.set(17, 75), _13sc.addChild(_13sc._icon_fuel), _13sc._icon_baux = new PIXI.Sprite(), _13sc._icon_baux.position.set(158, 75), _13sc.addChild(_13sc._icon_baux), _13sc._txt_fuel = new _13s5.TextBox(28, 5523516), _13sc._txt_fuel.y = 158, _13sc.addChild(_13sc._txt_fuel), _13sc._txt_baux = new _13s5.TextBox(28, 5523516), _13sc._txt_baux.y = 158, _13sc.addChild(_13sc._txt_baux), _13sc; } return _13rp(_13sa, _13s8), _13sa.prototype.initialize = function(_13sd, _13se) { var _13sf = null; this._fuel_max = _13sd, this._baux_max = _13se, this._title.texture = _13s6.SALLY_AIRUNIT.getTexture(145), this._icon_fuel.texture = _13s6.SALLY_AIRUNIT.getTexture(12), this._icon_baux.texture = _13s6.SALLY_AIRUNIT.getTexture(11); }, _13sa.prototype.show = function(_13sg, _13sh, _13si) { var _13sj = null; void 0 === _13si && (_13si = null), this._key = _13si; var _13sk = _13sg > this._fuel_max ? 16711680 : 5523516; this._txt_fuel.style.fill = _13sk, this._txt_fuel.text = _13sg.toString(), this._txt_fuel.x = 144 - this._txt_fuel.width; var _13sl = _13sh > this._baux_max ? 16711680 : 5523516; this._txt_baux.style.fill = _13sl, this._txt_baux.text = _13sh.toString(), this._txt_baux.x = 285 - this._txt_baux.width; }, _13sa.prototype.hide = function(_13sm) { var _13sn = null; void 0 === _13sm && (_13sm = null), null != _13sm && _13sm != this._key || (this._key = null, this._txt_fuel.text = '', this._txt_baux.text = ''); }, _13sa.prototype.dispose = function() { var _13so = null; this.removeChildren(), this._txt_fuel.destroy(), this._txt_baux.destroy(); }, _13sa; }(PIXI.Container); _13rl.AirUnitSupplyPanelTitle = _13s7; }, 9627: function(_13sp, _13sq, _13sr) { 'use strict'; var _13ss = null; var _13st, _13su = this && this.__extends || (_13st = function(_13sv, _13sw) { var _13sx = null; return _13st = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_13sy, _13sz) { var _13t0 = null; _13sy.__proto__ = _13sz; } || function(_13t1, _13t2) { var _13t3 = null; for (var _13t4 in _13t2) Object.prototype.hasOwnProperty.call(_13t2, _13t4) && (_13t1[_13t4] = _13t2[_13t4]); }, _13st(_13sv, _13sw); }, function(_13t5, _13t6) { var _13t7 = null; if ('function' != typeof _13t6 && null !== _13t6) throw new TypeError('Class extends value ' + String(_13t6) + ' is not a constructor or null'); function _13t8() { var _13t9 = null; this.constructor = _13t5; } _13st(_13t5, _13t6), _13t5.prototype = null === _13t6 ? Object.create(_13t6) : (_13t8.prototype = _13t6.prototype, new _13t8()); }); defineModule(_13sq); Object.defineProperty(_13sq, '__esModule', { 'value': !0 }), _13sq.AirPlaneSkillLevel = void 0; var _13ta = _13sr(98583), _13tb = function(_13tc) { var _13td = null; function _13te() { var _13tf = null, _13tg = _13tc.call(this) || this; return _13tg.texture = PIXI.Texture.EMPTY, _13tg; } return _13su(_13te, _13tc), _13te.prototype.update = function(_13th) { var _13ti = null; switch (_13th) { case 1: this.texture = _13ta.SALLY_AIRUNIT.getTexture(115); break; case 2: this.texture = _13ta.SALLY_AIRUNIT.getTexture(116); break; case 3: this.texture = _13ta.SALLY_AIRUNIT.getTexture(117); break; case 4: this.texture = _13ta.SALLY_AIRUNIT.getTexture(118); break; case 5: this.texture = _13ta.SALLY_AIRUNIT.getTexture(119); break; case 6: this.texture = _13ta.SALLY_AIRUNIT.getTexture(120); break; case 7: this.texture = _13ta.SALLY_AIRUNIT.getTexture(121); break; default: this.texture = PIXI.Texture.EMPTY; } }, _13te.prototype.dispose = function() { var _13tj = null; this.texture = PIXI.Texture.EMPTY; }, _13te; }(PIXI.Sprite); _13sq.AirPlaneSkillLevel = _13tb; }, 36552: function(_13tk, _13tl, _13tm) { 'use strict'; var _13tn = null; var _13to, _13tp = this && this.__extends || (_13to = function(_13tq, _13tr) { var _13ts = null; return _13to = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_13tt, _13tu) { var _13tv = null; _13tt.__proto__ = _13tu; } || function(_13tw, _13tx) { var _13ty = null; for (var _13tz in _13tx) Object.prototype.hasOwnProperty.call(_13tx, _13tz) && (_13tw[_13tz] = _13tx[_13tz]); }, _13to(_13tq, _13tr); }, function(_13u0, _13u1) { var _13u2 = null; if ('function' != typeof _13u1 && null !== _13u1) throw new TypeError('Class extends value ' + String(_13u1) + ' is not a constructor or null'); function _13u3() { var _13u4 = null; this.constructor = _13u0; } _13to(_13u0, _13u1), _13u0.prototype = null === _13u1 ? Object.create(_13u1) : (_13u3.prototype = _13u1.prototype, new _13u3()); }); defineModule(_13tl); Object.defineProperty(_13tl, '__esModule', { 'value': !0 }), _13tl.AirUnitBadge = void 0; var _13u5 = _13tm(55022), _13u6 = _13tm(35380), _13u7 = function(_13u8) { var _13u9 = null; function _13ua(_13ub) { var _13uc = null; void 0 === _13ub && (_13ub = null); var _13ud = _13u8.call(this) || this; return _13ud._onClick = function(_13ue) { var _13uf = null; _13ue.stopPropagation(), null != _13ud._click_cb && _13ud._click_cb(); }, _13ud._click_cb = _13ub, _13ud._bg = new PIXI.Sprite(), _13ud._title = new PIXI.Sprite(), _13ud._number = new PIXI.Sprite(), _13ud._touch_area = new PIXI.Graphics(), _13ud._touch_area.on(_13u6.EventType.CLICK, _13ud._onClick), _13ud.enabled = !0, _13ud.addChild(_13ud._bg), _13ud.addChild(_13ud._title), _13ud.addChild(_13ud._number), _13ud.addChild(_13ud._touch_area), _13ud; } return _13tp(_13ua, _13u8), Object.defineProperty(_13ua.prototype, 'enabled', { 'get': function() { var _13ug = null; return this._touch_area.interactive; }, 'set': function(_13uh) { var _13ui = null; this._touch_area.interactive = _13uh, this._touch_area.buttonMode = _13uh; }, 'enumerable': !1, 'configurable': !0 }), _13ua.prototype.initialize = function(_13uj) { var _13uk = null; this._type = _13uj, this._touch_area.clear(), this._touch_area.beginFill(16711680, 0), 0 == _13uj ? (this._bg.texture = _13u5.SALLY_SORTIE.getTexture(0), this._title.texture = _13u5.SALLY_SORTIE.getTexture(11), this._title.position.set(143, 62), this._title.visible = !1, this._number.position.set(233, 59), this._number.visible = !1, this._touch_area.drawRect(32, 18, 287, 48)) : 1 == _13uj ? (this._bg.texture = _13u5.SALLY_SORTIE.getTexture(7), this._title.texture = _13u5.SALLY_SORTIE.getTexture(11), this._title.position.set(86, 54), this._title.visible = !1, this._number.position.set(176, 51), this._number.visible = !1, this._touch_area.drawRect(32, 18, 227, 36)) : 2 == _13uj ? (this._bg.texture = _13u5.SALLY_SORTIE.getTexture(1), this._title.texture = _13u5.SALLY_SORTIE.getTexture(2), this._title.position.set(314, 25), this._title.visible = !1, this._number.position.set(325, 44), this._number.visible = !1, this._touch_area.drawRect(24, 27, 287, 36)) : 3 == _13uj ? (this._bg.texture = _13u5.SALLY_SORTIE.getTexture(1), this._title.texture = _13u5.SALLY_SORTIE.getTexture(2), this._title.position.set(296, 24), this._title.visible = !1, this._number.position.set(306, 43), this._number.visible = !1, this._touch_area.drawRect(24, 17, 287, 46)) : 4 == _13uj && (this._bg.texture = _13u5.SALLY_SORTIE.getTexture(1), this._title.texture = _13u5.SALLY_SORTIE.getTexture(6), this._title.position.set(296, 41), this._title.visible = !1, this._number.position.set(306, 43), this._number.visible = !1, this._touch_area.drawRect(24, 17, 287, 46)), this._touch_area.endFill(); }, _13ua.prototype.update = function(_13ul) { var _13um = null, _13un = -1; 0 == this._type || 1 == this._type ? (1 == _13ul && (_13un = 12), 2 == _13ul && (_13un = 13), 3 == _13ul && (_13un = 14)) : (1 == _13ul && (_13un = 3), 2 == _13ul && (_13un = 4), 3 == _13ul && (_13un = 5)), -1 == _13un ? (this._title.visible = !1, this._number.visible = !1) : (this._number.texture = _13u5.SALLY_SORTIE.getTexture(_13un), this._title.visible = !0, this._number.visible = !0); }, _13ua.prototype.dispose = function() { var _13uo = null; this._touch_area.off(_13u6.EventType.CLICK, this._click_cb); }, _13ua; }(PIXI.Container); _13tl.AirUnitBadge = _13u7; }, 78211: function(_13up, _13uq, _13ur) { 'use strict'; var _13us = null; var _13ut, _13uu = this && this.__extends || (_13ut = function(_13uv, _13uw) { var _13ux = null; return _13ut = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_13uy, _13uz) { var _13v0 = null; _13uy.__proto__ = _13uz; } || function(_13v1, _13v2) { var _13v3 = null; for (var _13v4 in _13v2) Object.prototype.hasOwnProperty.call(_13v2, _13v4) && (_13v1[_13v4] = _13v2[_13v4]); }, _13ut(_13uv, _13uw); }, function(_13v5, _13v6) { var _13v7 = null; if ('function' != typeof _13v6 && null !== _13v6) throw new TypeError('Class extends value ' + String(_13v6) + ' is not a constructor or null'); function _13v8() { var _13v9 = null; this.constructor = _13v5; } _13ut(_13v5, _13v6), _13v5.prototype = null === _13v6 ? Object.create(_13v6) : (_13v8.prototype = _13v6.prototype, new _13v8()); }); defineModule(_13uq); Object.defineProperty(_13uq, '__esModule', { 'value': !0 }), _13uq.AreaIconBtn = void 0; var _13va = _13ur(6499), _13vb = _13ur(35380), _13vc = function(_13vd) { var _13ve = null; function _13vf(_13vg) { var _13vh = null, _13vi = _13vd.call(this) || this; return _13vi._selected = !1, _13vi._onMouseOver = function() { var _13vj = null; _13vi._update(!0); }, _13vi._onMouseOut = function() { var _13vk = null; _13vi._update(!1); }, _13vi._onClick = function() { var _13vl = null; null != _13vi._cb_onClick && _13vi._cb_onClick(_13vi); }, _13vi._area_id = _13vg, _13vi.interactive = !0, _13vi; } return _13uu(_13vf, _13vd), Object.defineProperty(_13vf.prototype, 'area_id', { 'get': function() { var _13vm = null; return this._area_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_13vf.prototype, 'selected', { 'get': function() { var _13vn = null; return this._selected; }, 'set': function(_13vo) { var _13vp = null; this._selected != _13vo && (this._selected = _13vo, this._update(!1)); }, 'enumerable': !1, 'configurable': !0 }), _13vf.prototype.initialize = function(_13vq) { var _13vr = null; this._cb_onClick = _13vq, this._update(!1); }, _13vf.prototype.activate = function() { var _13vs = null; 0 == this.buttonMode && 0 == this._selected && (this.buttonMode = !0, this.on(_13vb.EventType.MOUSEOVER, this._onMouseOver), this.on(_13vb.EventType.MOUSEOUT, this._onMouseOut), this.on(_13vb.EventType.CLICK, this._onClick)); }, _13vf.prototype.deactivate = function() { var _13vt = null; this.buttonMode = !1, this.off(_13vb.EventType.MOUSEOVER, this._onMouseOver), this.off(_13vb.EventType.MOUSEOUT, this._onMouseOut), this.off(_13vb.EventType.CLICK, this._onClick); }, _13vf.prototype.dispose = function() { var _13vu = null; this.interactive = !1, this.deactivate(), this._cb_onClick = null; }, _13vf.prototype._update = function(_13vv) { var _13vw = null; if (1 == _13vv || 1 == this._selected) { var _13vx = [-1, 1, 3, 5, 9, 11, 13, 7]; this._area_id > 0 && this._area_id < _13vx.length ? this.texture = _13va.COMMON_AREA_ICON.getTexture(_13vx[this._area_id]) : this.texture = PIXI.Texture.EMPTY; } else _13vx = [-1, 0, 2, 4, 8, 10, 12, 6], this._area_id > 0 && this._area_id < _13vx.length ? this.texture = _13va.COMMON_AREA_ICON.getTexture(_13vx[this._area_id]) : this.texture = PIXI.Texture.EMPTY; }, _13vf; }(PIXI.Sprite); _13uq.AreaIconBtn = _13vc; }, 24760: function(_13vy, _13vz, _13w0) { 'use strict'; var _13w1 = null; var _13w2, _13w3 = this && this.__extends || (_13w2 = function(_13w4, _13w5) { var _13w6 = null; return _13w2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_13w7, _13w8) { var _13w9 = null; _13w7.__proto__ = _13w8; } || function(_13wa, _13wb) { var _13wc = null; for (var _13wd in _13wb) Object.prototype.hasOwnProperty.call(_13wb, _13wd) && (_13wa[_13wd] = _13wb[_13wd]); }, _13w2(_13w4, _13w5); }, function(_13we, _13wf) { var _13wg = null; if ('function' != typeof _13wf && null !== _13wf) throw new TypeError('Class extends value ' + String(_13wf) + ' is not a constructor or null'); function _13wh() { var _13wi = null; this.constructor = _13we; } _13w2(_13we, _13wf), _13we.prototype = null === _13wf ? Object.create(_13wf) : (_13wh.prototype = _13wf.prototype, new _13wh()); }); defineModule(_13vz); Object.defineProperty(_13vz, '__esModule', { 'value': !0 }), _13vz.BtnBack = void 0; var _13wj = _13w0(55022), _13wk = _13w0(63234), _13wl = function(_13wm) { var _13wn = null; function _13wo() { var _13wp = null, _13wq = _13wm.call(this) || this; return _13wq._light = new PIXI.Sprite(), _13wq._content = new PIXI.Sprite(), _13wq.addChild(_13wq._light), _13wq.addChild(_13wq._content), _13wq.interactive = !0, _13wq.buttonMode = !0, _13wq; } return _13w3(_13wo, _13wm), _13wo.prototype.update = function(_13wr) { var _13ws = null; 0 == _13wr ? (this._light.visible = !1, this._content.position.set(141, 341), this._content.texture = _13wj.SALLY_SORTIE.getTexture(15)) : (this._content.position.set(488, 353), this._content.texture = _13wk.SALLY_EVENT.getTexture(3), this._light.texture = _13wk.SALLY_EVENT.getTexture(4), this._light.position.set(this._content.x - 23, this._content.y - 20), this._light.visible = !0); }, _13wo.prototype.show = function() { var _13wt = null; this._activate(), this.visible = !0; }, _13wo.prototype.hide = function() { var _13wu = null; this._deactivate(), this.visible = !1; }, _13wo.prototype.dispose = function() { var _13wv = null; this._deactivate(); }, _13wo.prototype._activate = function() { var _13ww = null; null == this._t && 0 != this._light.visible && (this._light.alpha = 0, this._t = createjs.Tween.get(this._light, { 'loop': !0 }).to({ 'alpha': 1 }, 800).to({ 'alpha': 0 }, 800)); }, _13wo.prototype._deactivate = function() { var _13wx = null; null != this._t && (this._t.setPaused(!0), this._t = null, this._light.alpha = 0); }, _13wo; }(PIXI.Container); _13vz.BtnBack = _13wl; }, 24895: function(_13wy, _13wz, _13x0) { 'use strict'; var _13x1 = null; var _13x2, _13x3 = this && this.__extends || (_13x2 = function(_13x4, _13x5) { var _13x6 = null; return _13x2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_13x7, _13x8) { var _13x9 = null; _13x7.__proto__ = _13x8; } || function(_13xa, _13xb) { var _13xc = null; for (var _13xd in _13xb) Object.prototype.hasOwnProperty.call(_13xb, _13xd) && (_13xa[_13xd] = _13xb[_13xd]); }, _13x2(_13x4, _13x5); }, function(_13xe, _13xf) { var _13xg = null; if ('function' != typeof _13xf && null !== _13xf) throw new TypeError('Class extends value ' + String(_13xf) + ' is not a constructor or null'); function _13xh() { var _13xi = null; this.constructor = _13xe; } _13x2(_13xe, _13xf), _13xe.prototype = null === _13xf ? Object.create(_13xf) : (_13xh.prototype = _13xf.prototype, new _13xh()); }); defineModule(_13wz); Object.defineProperty(_13wz, '__esModule', { 'value': !0 }), _13wz.BtnGo = void 0; var _13xj = _13x0(55022), _13xk = function(_13xl) { var _13xm = null; function _13xn(_13xo) { var _13xp = null; return _13xl.call(this, _13xo) || this; } return _13x3(_13xn, _13xl), Object.defineProperty(_13xn.prototype, 'air_unit', { 'get': function() { var _13xq = null; return null != this._airunit; }, 'set': function(_13xr) { var _13xs = null; if (_13xr != this.air_unit) { if (1 == _13xr) { this._btn.position.set(0, -8); var _13xt = _13xj.SALLY_SORTIE.getTexture(8); this._airunit = new PIXI.Sprite(_13xt), this._airunit.position.set(6, 33), this.addChild(this._airunit); } else this.removeChild(this._airunit), this._airunit = null, this._btn.position.set(0, 0); this._updateTexture(); } }, 'enumerable': !1, 'configurable': !0 }), _13xn.prototype._updateTexture = function() { var _13xu = null; 1 == this.air_unit ? 0 == this._enabled ? this._btn.texture = _13xj.SALLY_SORTIE.getTexture(19) : 1 == this._overed ? this._btn.texture = _13xj.SALLY_SORTIE.getTexture(20) : this._btn.texture = _13xj.SALLY_SORTIE.getTexture(18) : 0 == this._enabled ? this._btn.texture = _13xj.SALLY_SORTIE.getTexture(22) : 1 == this._overed ? this._btn.texture = _13xj.SALLY_SORTIE.getTexture(23) : this._btn.texture = _13xj.SALLY_SORTIE.getTexture(21); }, _13xn; }(_13x0(18819).BtnGoBase); _13wz.BtnGo = _13xk; }, 75993: function(_13xv, _13xw, _13xx) { 'use strict'; var _13xy = null; var _13xz, _13y0 = this && this.__extends || (_13xz = function(_13y1, _13y2) { var _13y3 = null; return _13xz = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_13y4, _13y5) { var _13y6 = null; _13y4.__proto__ = _13y5; } || function(_13y7, _13y8) { var _13y9 = null; for (var _13ya in _13y8) Object.prototype.hasOwnProperty.call(_13y8, _13ya) && (_13y7[_13ya] = _13y8[_13ya]); }, _13xz(_13y1, _13y2); }, function(_13yb, _13yc) { var _13yd = null; if ('function' != typeof _13yc && null !== _13yc) throw new TypeError('Class extends value ' + String(_13yc) + ' is not a constructor or null'); function _13ye() { var _13yf = null; this.constructor = _13yb; } _13xz(_13yb, _13yc), _13yb.prototype = null === _13yc ? Object.create(_13yc) : (_13ye.prototype = _13yc.prototype, new _13ye()); }); defineModule(_13xw); Object.defineProperty(_13xw, '__esModule', { 'value': !0 }), _13xw.BtnNext = void 0; var _13yg = _13xx(55022), _13yh = _13xx(63234), _13yi = _13xx(70532), _13yj = _13xx(71633), _13yk = function(_13yl) { var _13ym = null; function _13yn() { var _13yo = null, _13yp = _13yl.call(this) || this; return _13yp._content = new PIXI.Sprite(), _13yp._light = new PIXI.Sprite(), _13yp._light.alpha = 0, _13yp.addChild(_13yp._light), _13yp.addChild(_13yp._content), _13yp.interactive = !0, _13yp.buttonMode = !0, _13yp; } return _13y0(_13yn, _13yl), _13yn.prototype.update = function(_13yq, _13yr) { var _13ys = null; _13yq == _13yj.EventConst.AREA_ID ? (_13yr < 1 ? (this._content.texture = _13yh.SALLY_EVENT.getTexture(5), this._content.position.set(1025, 328), this._light.texture = _13yh.SALLY_EVENT.getTexture(6), this._light.position.set(1025, 328)) : (this._content.texture = _13yi.SALLY_EVENT_SECOND.getTexture(0), this._content.position.set(1025, 328), this._light.texture = _13yi.SALLY_EVENT_SECOND.getTexture(1), this._light.position.set(1025, 328)), this._light.alpha = 0) : (this._content.position.set(1031, 332), this._content.texture = _13yg.SALLY_SORTIE.getTexture(16), this._light.texture = _13yg.SALLY_SORTIE.getTexture(17), this._light.position.set(this._content.x - 26, this._content.y - 24), this._light.alpha = 0); }, _13yn.prototype.show = function() { var _13yt = null; this._activate(), this.visible = !0; }, _13yn.prototype.hide = function() { var _13yu = null; this._deactivate(), this.visible = !1; }, _13yn.prototype.dispose = function() { var _13yv = null; this._deactivate(); }, _13yn.prototype._activate = function() { var _13yw = null; null == this._t && (this._t = createjs.Tween.get(this._light, { 'loop': !0 }).to({ 'alpha': 1 }, 1500).to({ 'alpha': 0 }, 800)); }, _13yn.prototype._deactivate = function() { var _13yx = null; null != this._t && (this._t.setPaused(!0), this._t = null, this._light.alpha = 0); }, _13yn; }(PIXI.Container); _13xw.BtnNext = _13yk; }, 15805: function(_13yy, _13yz, _13z0) { 'use strict'; var _13z1 = null; var _13z2, _13z3 = this && this.__extends || (_13z2 = function(_13z4, _13z5) { var _13z6 = null; return _13z2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_13z7, _13z8) { var _13z9 = null; _13z7.__proto__ = _13z8; } || function(_13za, _13zb) { var _13zc = null; for (var _13zd in _13zb) Object.prototype.hasOwnProperty.call(_13zb, _13zd) && (_13za[_13zd] = _13zb[_13zd]); }, _13z2(_13z4, _13z5); }, function(_13ze, _13zf) { var _13zg = null; if ('function' != typeof _13zf && null !== _13zf) throw new TypeError('Class extends value ' + String(_13zf) + ' is not a constructor or null'); function _13zh() { var _13zi = null; this.constructor = _13ze; } _13z2(_13ze, _13zf), _13ze.prototype = null === _13zf ? Object.create(_13zf) : (_13zh.prototype = _13zf.prototype, new _13zh()); }), _13zj = this && this.__importDefault || function(_13zk) { var _13zl = null; return _13zk && _13zk.__esModule ? _13zk : { 'default': _13zk }; }; defineModule(_13yz); Object.defineProperty(_13yz, '__esModule', { 'value': !0 }), _13yz.BtnShop = void 0; var _13zm = _13zj(_13z0(18622)), _13zn = _13z0(68028), _13zo = _13z0(48473), _13zp = _13z0(35380), _13zq = function(_13zr) { var _13zs = null; function _13zt() { var _13zu = null, _13zv = _13zr.call(this) || this; return _13zv._flg = !1, _13zv._overed = !1, _13zv._updateTexture = function() { var _13zw = null; _13zv._flg = !_13zv._flg, 1 == _13zv._flg || 1 == _13zv._overed ? _13zv._icon.texture = _13zo.SALLY_COMMON.getTexture(27) : _13zv._icon.texture = _13zo.SALLY_COMMON.getTexture(26); }, _13zv._onMouseOver = function() { var _13zx = null; _13zv._overed = !0, _13zv._updateTexture(), _13zv._over.visible = !0; }, _13zv._onMouseOut = function() { var _13zy = null; _13zv._overed = !1, _13zv._updateTexture(), _13zv._over.visible = !1; }, _13zv._onClick = function() { var _13zz = null; _13zm.default.scene.change(24, new _13zn.ItemSceneModel()); }, _13zv._icon = new PIXI.Sprite(), _13zv._over = new PIXI.Sprite(), _13zv._over.position.set(30, -55), _13zv._over.visible = !1, _13zv._icon.interactive = !0, _13zv; } return _13z3(_13zt, _13zr), _13zt.prototype.initialize = function() { var _1400 = null; this._icon.texture = _13zo.SALLY_COMMON.getTexture(26), this._over.texture = _13zo.SALLY_COMMON.getTexture(29), this.addChild(this._over), this.addChild(this._icon); }, _13zt.prototype.activate = function() { var _1401 = null, _1402 = this; null == this._t && (this._icon.buttonMode = !0, this._icon.on(_13zp.EventType.MOUSEOVER, this._onMouseOver), this._icon.on(_13zp.EventType.MOUSEOUT, this._onMouseOut), this._icon.on(_13zp.EventType.CLICK, this._onClick), this._t = createjs.Tween.get(this, { 'loop': !0 }).wait(300).call(function() { var _1403 = null; _1402._updateTexture(); })); }, _13zt.prototype.deactivate = function() { var _1404 = null; this._icon.off(_13zp.EventType.MOUSEOVER, this._onMouseOver), this._icon.off(_13zp.EventType.MOUSEOUT, this._onMouseOut), this._icon.off(_13zp.EventType.CLICK, this._onClick), null != this._t && (this._t.setPaused(!0), this._t = null), this._icon.buttonMode = !1; }, _13zt; }(PIXI.Container); _13yz.BtnShop = _13zq; }, 64285: function(_1405, _1406, _1407) { 'use strict'; var _1408 = null; var _1409, _140a = this && this.__extends || (_1409 = function(_140b, _140c) { var _140d = null; return _1409 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_140e, _140f) { var _140g = null; _140e.__proto__ = _140f; } || function(_140h, _140i) { var _140j = null; for (var _140k in _140i) Object.prototype.hasOwnProperty.call(_140i, _140k) && (_140h[_140k] = _140i[_140k]); }, _1409(_140b, _140c); }, function(_140l, _140m) { var _140n = null; if ('function' != typeof _140m && null !== _140m) throw new TypeError('Class extends value ' + String(_140m) + ' is not a constructor or null'); function _140o() { var _140p = null; this.constructor = _140l; } _1409(_140l, _140m), _140l.prototype = null === _140m ? Object.create(_140m) : (_140o.prototype = _140m.prototype, new _140o()); }); defineModule(_1406); Object.defineProperty(_1406, '__esModule', { 'value': !0 }), _1406.ClearBadge = void 0; var _140q = _1407(55022), _140r = function(_140s) { var _140t = null; function _140u() { var _140v = null, _140w = _140s.call(this) || this; return _140w._content = new PIXI.Sprite(), _140w.addChild(_140w._content), _140w.visible = !1, _140w; } return _140a(_140u, _140s), _140u.prototype.show = function(_140x) { var _140y = null; void 0 === _140x && (_140x = 0), this._content.y = 0; var _140z = -1; 0 == _140x ? (_140z = 32, this._content.y = 8) : 1 == _140x ? _140z = 27 : 2 == _140x ? _140z = 26 : 3 == _140x ? _140z = 25 : 4 == _140x && (_140z = 24), this._content.texture = _140z < 0 ? PIXI.Texture.EMPTY : _140q.SALLY_SORTIE.getTexture(_140z), this._content.x = -Math.floor(this._content.width / 2), this.visible = !0; }, _140u.prototype.hide = function() { var _1410 = null; this.visible = !1; }, _140u; }(PIXI.Container); _1406.ClearBadge = _140r; }, 50815: function(_1411, _1412, _1413) { 'use strict'; var _1414 = null; var _1415, _1416 = this && this.__extends || (_1415 = function(_1417, _1418) { var _1419 = null; return _1415 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_141a, _141b) { var _141c = null; _141a.__proto__ = _141b; } || function(_141d, _141e) { var _141f = null; for (var _141g in _141e) Object.prototype.hasOwnProperty.call(_141e, _141g) && (_141d[_141g] = _141e[_141g]); }, _1415(_1417, _1418); }, function(_141h, _141i) { var _141j = null; if ('function' != typeof _141i && null !== _141i) throw new TypeError('Class extends value ' + String(_141i) + ' is not a constructor or null'); function _141k() { var _141l = null; this.constructor = _141h; } _1415(_141h, _141i), _141h.prototype = null === _141i ? Object.create(_141i) : (_141k.prototype = _141i.prototype, new _141k()); }), _141m = this && this.__importDefault || function(_141n) { var _141o = null; return _141n && _141n.__esModule ? _141n : { 'default': _141n }; }; defineModule(_1412); Object.defineProperty(_1412, '__esModule', { 'value': !0 }), _1412.CompAreaIcons = void 0; var _141p = _141m(_1413(18622)), _141q = _1413(55022), _141r = _1413(78211), _141s = _1413(93258), _141t = _1413(71633), _141u = function(_141v) { var _141w = null; function _141x(_141y) { var _141z = null, _1420 = _141v.call(this) || this; _1420._initialized = !1, _1420._activated = !1, _1420._onSelectArea = function(_1421) { var _1422 = null; null != _1420._cb && _1420._cb(_1421.area_id); }, _1420._cb = _141y, _1420._btns = new Array(); for (var _1423 = [0, 96, 191, 383, 478, 574, 287], _1424 = 0; _1424 < _1423.length; _1424++) { var _1425 = new _141r.AreaIconBtn(_1424 + 1); _1425.position.set(_1423[_1424], 0), _1420._btns.push(_1425); } return _1420; } return _1416(_141x, _141v), _141x.prototype.initialize = function() { var _1426 = null; if (1 != this._initialized) { this._initialized = !0; var _1427 = new PIXI.Sprite(_141q.SALLY_SORTIE.getTexture(33)); if (_1427.x = 65, _1427.y = 27, this.addChild(_1427), _141t.EventConst.AREA_ID > 0) { if (null != _141p.default.model.map.getArea(_141t.EventConst.AREA_ID))(_1428 = new _141s.EventAreaIconBtn(_141t.EventConst.AREA_ID)).position.set(875, -9), this._btns.push(_1428); } for (var _1429 = 0, _142a = this._btns; _1429 < _142a.length; _1429++) { var _1428; (_1428 = _142a[_1429]).initialize(this._onSelectArea), this.addChild(_1428); } } }, _141x.prototype.update = function(_142b) { var _142c = null; for (var _142d = 0, _142e = this._btns; _142d < _142e.length; _142d++) { var _142f = _142e[_142d], _142g = _142f.area_id == _142b; _142f.selected = _142g, _142g ? _142f.deactivate() : _142f.activate(); } }, _141x.prototype.activate = function() { var _142h = null; if (0 == this._activated) { for (var _142i = 0, _142j = this._btns; _142i < _142j.length; _142i++) { _142j[_142i].activate(); } this._activated = !0; } }, _141x.prototype.deactivate = function() { var _142k = null; this._activated = !1; for (var _142l = 0, _142m = this._btns; _142l < _142m.length; _142l++) { _142m[_142l].deactivate(); } }, _141x.prototype.dispose = function() { var _142n = null; this._cb = null, this.removeChildren(); for (var _142o = 0, _142p = this._btns; _142o < _142p.length; _142o++) { _142p[_142o].dispose(); } this._btns = null; }, _141x; }(PIXI.Container); _1412.CompAreaIcons = _141u; }, 27678: function(_142q, _142r, _142s) { 'use strict'; var _142t = null; var _142u, _142v = this && this.__extends || (_142u = function(_142w, _142x) { var _142y = null; return _142u = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_142z, _1430) { var _1431 = null; _142z.__proto__ = _1430; } || function(_1432, _1433) { var _1434 = null; for (var _1435 in _1433) Object.prototype.hasOwnProperty.call(_1433, _1435) && (_1432[_1435] = _1433[_1435]); }, _142u(_142w, _142x); }, function(_1436, _1437) { var _1438 = null; if ('function' != typeof _1437 && null !== _1437) throw new TypeError('Class extends value ' + String(_1437) + ' is not a constructor or null'); function _1439() { var _143a = null; this.constructor = _1436; } _142u(_1436, _1437), _1436.prototype = null === _1437 ? Object.create(_1437) : (_1439.prototype = _1437.prototype, new _1439()); }); defineModule(_142r); Object.defineProperty(_142r, '__esModule', { 'value': !0 }), _142r.GaugeHorizontalForThumbnail = void 0; var _143b = _142s(35380), _143c = function(_143d) { var _143e = null; function _143f() { var _143g = null, _143h = _143d.call(this) || this; return _143h._onMouseOver = function() { var _143i = null; _143h._now < _143h._max && _143h._bar.flash(!0); }, _143h._onMouseOut = function() { var _143j = null; _143h._bar.flash(!1); }, _143h._img.on(_143b.EventType.MOUSEOVER, _143h._onMouseOver), _143h._img.on(_143b.EventType.MOUSEOUT, _143h._onMouseOut), _143h; } return _142v(_143f, _143d), _143f.prototype.initialize = function(_143k, _143l) { var _143m = null; _143d.prototype.initialize.call(this, _143k, _143l), this._img.interactive = _143l; }, _143f.prototype.dispose = function() { var _143n = null; _143d.prototype.dispose.call(this), this._img.removeAllListeners(); }, _143f; }(_142s(84272).GaugeHorizontal); _142r.GaugeHorizontalForThumbnail = _143c; }, 28686: function(_143o, _143p, _143q) { 'use strict'; var _143r = null; var _143s, _143t = this && this.__extends || (_143s = function(_143u, _143v) { var _143w = null; return _143s = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_143x, _143y) { var _143z = null; _143x.__proto__ = _143y; } || function(_1440, _1441) { var _1442 = null; for (var _1443 in _1441) Object.prototype.hasOwnProperty.call(_1441, _1443) && (_1440[_1443] = _1441[_1443]); }, _143s(_143u, _143v); }, function(_1444, _1445) { var _1446 = null; if ('function' != typeof _1445 && null !== _1445) throw new TypeError('Class extends value ' + String(_1445) + ' is not a constructor or null'); function _1447() { var _1448 = null; this.constructor = _1444; } _143s(_1444, _1445), _1444.prototype = null === _1445 ? Object.create(_1445) : (_1447.prototype = _1445.prototype, new _1447()); }), _1449 = this && this.__createBinding || (Object.create ? function(_144a, _144b, _144c, _144d) { var _144e = null; void 0 === _144d && (_144d = _144c); var _144f = Object.getOwnPropertyDescriptor(_144b, _144c); _144f && !('get' in _144f ? !_144b.__esModule : _144f.writable || _144f.configurable) || (_144f = { 'enumerable': !0, 'get': function() { return _144b[_144c]; } }), Object.defineProperty(_144a, _144d, _144f); } : function(_144g, _144h, _144i, _144j) { void 0 === _144j && (_144j = _144i), _144g[_144j] = _144h[_144i]; }), _144k = this && this.__setModuleDefault || (Object.create ? function(_144l, _144m) { var _144n = null; Object.defineProperty(_144l, 'default', { 'enumerable': !0, 'value': _144m }); } : function(_144o, _144p) { var _144q = null; _144o.default = _144p; }), _144r = this && this.__importStar || function(_144s) { var _144t = null; if (_144s && _144s.__esModule) return _144s; var _144u = {}; if (null != _144s) { for (var _144v in _144s) 'default' !== _144v && Object.prototype.hasOwnProperty.call(_144s, _144v) && _1449(_144u, _144s, _144v); } return _144k(_144u, _144s), _144u; }, _144w = this && this.__importDefault || function(_144x) { var _144y = null; return _144x && _144x.__esModule ? _144x : { 'default': _144x }; }; defineModule(_143p); Object.defineProperty(_143p, '__esModule', { 'value': !0 }), _143p.MapThumbnail = void 0; var _144z = _144w(_143q(18622)), _1450 = _143q(10742), _1451 = _143q(84412), _1452 = _143q(27678), _1453 = _143q(2156), _1454 = _143q(55022), _1455 = _144r(_143q(84882)), _1456 = _143q(64285), _1457 = _143q(36552), _1458 = _143q(84742), _1459 = _143q(35380), _145a = function(_145b) { var _145c = null; function _145d(_145e, _145f, _145g, _145h, _145i) { var _145j = null, _145k = _145b.call(this) || this; return _145k._mst_id = 0, _145k._enabled = !1, _145k._onMouseOver = function() { var _145l = null; _145k._update(!0), null != _145k._cb_onMouseOver && _145k._cb_onMouseOver(_145k._mst_id); }, _145k._onMouseOut = function() { var _145m = null; _145k._update(!1), null != _145k._cb_onMouseOut && _145k._cb_onMouseOut(_145k._mst_id); }, _145k._onClick = function(_145n) { var _145o = null; if (null != _145k._cb_onClick) { var _145p = _145n.data.global, _145q = new PIXI.Point(_145p.x, _145p.y); _145k._cb_onClick(_145k._mst_id, _145q); } }, _145k._onClickAirUnitBadge = function() { var _145r = null; null != _145k._cb_onClickAirUnitBadge && _145k._cb_onClickAirUnitBadge(); }, _145k._type = _145e, _145k._cb_onClick = _145f, _145k._cb_onClickAirUnitBadge = _145g, _145k._cb_onMouseOver = _145h, _145k._cb_onMouseOut = _145i, _145k._image = new _1453.MapThumbnailImage(), _145k._clear = new _1456.ClearBadge(), _145k._focus = new PIXI.Sprite(), _145k._focus.visible = !1, _145k._lock = _145k._createLock(), _145k._gauge = new _1452.GaugeHorizontalForThumbnail(), _145k._airUnitBanner = new _1457.AirUnitBadge(_145k._onClickAirUnitBadge), _145k._setPositions(), _145k.interactive = !0, _145k; } return _143t(_145d, _145b), Object.defineProperty(_145d.prototype, 'mst_id', { 'get': function() { var _145s = null; return this._mst_id; }, 'enumerable': !1, 'configurable': !0 }), _145d.prototype.initialize = function(_145t) { var _145u = null; if (this._focus.visible = !1, this._airUnitBanner.visible = !1, null == _145t) this._enabled = !1, this._mst_id = 0, this._image.setTexture(this._getNoneTexture()), this._lock.initialize(1), this._lock.visible = !0; else { this._mst_id = _145t.mst_id; var _145v = _1450.MapUtil.toAreaID(this._mst_id), _145w = _1450.MapUtil.toMapNo(this._mst_id); if (this._image.setImage(_145v, _145w), 1 == _145t.isOpened()) { if (this._enabled = !0, this._focus.texture = this._getFocusTexture(), this._lock.visible = !1, _145t.availableAirUnitCount > 0) { var _145x = _1455.getType(this._mst_id); this._airUnitBanner.initialize(_145x), this._airUnitBanner.update(_145t.availableAirUnitCount); var _145y = _1455.getPosition(this._mst_id); null != _145y ? this._airUnitBanner.position.set(_145y.x, _145y.y) : this._airUnitBanner.position.set(0, 0), this._airUnitBanner.visible = !0; } } else this._enabled = !1, 65 == _145t.mst_id ? this._lock.initialize(3) : this._lock.initialize(0), this._lock.visible = !0; } this._initClearBadge(_145t), this.updateGauge(_145t), this.addChild(this._image), this.addChild(this._focus), this.addChild(this._clear), this.addChild(this._lock), this.addChild(this._gauge), this.addChild(this._airUnitBanner); }, _145d.prototype.updateAirUnitEnabled = function(_145z) { var _1460 = null; this._airUnitBanner.enabled = _145z; }, _145d.prototype.updateGauge = function(_1461) { var _1462 = null; if (null != _1461) { if (_1461.gauge_max > 0) { if (_1461.gauge_now <= 0) return; } else { if (_1461.defeat_required <= 0) return; } if (0 != _1461.isOpened()) { var _1463 = _1461.area_id, _1464 = _1461.map_no, _1465 = _1461.getGaugeNum(), _1466 = _1451.GaugeSetModel.createKey(_1463, _1464, _1465), _1467 = _144z.default.resources.gauge.getGaugeInfo(_1466); if (null != _1467) { var _1468 = _1450.MapUtil.isEventArea(_1463); if (this._gauge.initialize(_1467, _1468), this._gauge.x = _1467.x, this._gauge.y = _1467.y, this._gauge.tp_visible = 0 != _1461.getSelectedOperationType(), _1461.defeat_required > 0) { var _1469 = (_146a = _1461.defeat_required) - _1461.defeat_count; this._gauge.update(_1469, _146a); } else { _1469 = _1461.gauge_now; var _146a = _1461.gauge_max; this._gauge.update(_1469, _146a); } } } } }, _145d.prototype.updateThumbnail = function(_146b) { var _146c = null; if (null == _146b) this._image.setTexture(this._getNoneTexture()); else { this._mst_id = _146b.mst_id; var _146d = _1450.MapUtil.toAreaID(this._mst_id), _146e = _1450.MapUtil.toMapNo(this._mst_id); this._image.setImage(_146d, _146e); } }, _145d.prototype.updateAirUnitBanner = function(_146f) { var _146g = null; this._airUnitBanner.update(_146f), this._airUnitBanner.visible = _146f > 0; }, _145d.prototype._initClearBadge = function(_146h) { var _146i = null; if (null != _146h && 0 != _146h.isOpened() && 0 != _146h.isCleared()) { var _146j = _146h.getSelectedOperationType(); this._clear.show(_146j); } else this._clear.hide(); }, _145d.prototype._setPositions = function() { var _146k = null; 3 == this._type ? this._clear.position.set(930, 8) : 4 == this._type && this._clear.position.set(434, 8); }, _145d.prototype._getNoneTexture = function() { var _146l = null; return 3 == this._type ? _1454.SALLY_SORTIE.getTexture(41) : 4 == this._type ? _1454.SALLY_SORTIE.getTexture(40) : PIXI.Texture.EMPTY; }, _145d.prototype._getFocusTexture = function() { var _146m = null; return 3 == this._type ? _1454.SALLY_SORTIE.getTexture(39) : 4 == this._type ? _1454.SALLY_SORTIE.getTexture(38) : PIXI.Texture.EMPTY; }, _145d.prototype.activate = function() { var _146n = null; 0 == this.buttonMode && 1 == this._enabled && (this.buttonMode = !0, this.on(_1459.EventType.MOUSEOVER, this._onMouseOver), this.on(_1459.EventType.MOUSEOUT, this._onMouseOut), this.on(_1459.EventType.CLICK, this._onClick)), 1 == this._lock.visible && this._lock.activate(); }, _145d.prototype.deactivate = function() { var _146o = null; this.buttonMode = !1, this.off(_1459.EventType.MOUSEOVER, this._onMouseOver), this.off(_1459.EventType.MOUSEOUT, this._onMouseOut), this.off(_1459.EventType.CLICK, this._onClick), this._lock.deactivate(); }, _145d.prototype.dispose = function() { var _146p = null; this.interactive = !1, this.deactivate(), this._gauge.dispose(), this._airUnitBanner.dispose(), this._cb_onClick = null, this._cb_onClickAirUnitBadge = null; }, _145d.prototype._createLock = function() { var _146q = null; return new _1458.MapThumbnailLocked(this._type); }, _145d.prototype._update = function(_146r) { var _146s = null; this._focus.visible = 1 == _146r; }, _145d; }(PIXI.Container); _143p.MapThumbnail = _145a; }, 84742: function(_146t, _146u, _146v) { 'use strict'; var _146w = null; var _146x, _146y = this && this.__extends || (_146x = function(_146z, _1470) { var _1471 = null; return _146x = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1472, _1473) { var _1474 = null; _1472.__proto__ = _1473; } || function(_1475, _1476) { var _1477 = null; for (var _1478 in _1476) Object.prototype.hasOwnProperty.call(_1476, _1478) && (_1475[_1478] = _1476[_1478]); }, _146x(_146z, _1470); }, function(_1479, _147a) { var _147b = null; if ('function' != typeof _147a && null !== _147a) throw new TypeError('Class extends value ' + String(_147a) + ' is not a constructor or null'); function _147c() { var _147d = null; this.constructor = _1479; } _146x(_1479, _147a), _1479.prototype = null === _147a ? Object.create(_147a) : (_147c.prototype = _147a.prototype, new _147c()); }); defineModule(_146u); Object.defineProperty(_146u, '__esModule', { 'value': !0 }), _146u.MapThumbnailLocked = void 0; var _147e = _146v(55022), _147f = _146v(90758), _147g = function(_147h) { var _147i = null; function _147j(_147k) { var _147l = null, _147m = _147h.call(this) || this; return _147m._type = _147k, _147m._black = new PIXI.Sprite(), _147m._key = new PIXI.Sprite(), _147m._cloud = new _147f.MapThumbnailLockedCloud(), _147m._text = new PIXI.Container(), _147m; } return _146y(_147j, _147h), _147j.prototype.initialize = function(_147n) { var _147o = null; this._black.texture = this._getBlackTexture(), this._key.texture = _147e.SALLY_SORTIE.getTexture(31), this._cloud.initialize(), this._text.visible = !0, this._text.removeChildren(); var _147p = new PIXI.Sprite(); 0 == _147n ? _147p.texture = _147e.SALLY_SORTIE.getTexture(43) : 1 == _147n ? _147p.texture = _147e.SALLY_SORTIE.getTexture(44) : 3 == _147n ? _147p.texture = _147e.SALLY_SORTIE.getTexture(45) : this._text.visible = !1, 1 == this._text.visible && (_147p.x = -Math.round(_147p.width / 2), _147p.y = -Math.round(_147p.height / 2), this._text.addChild(_147p)), this._setPositions(), this.addChild(this._black), this.addChild(this._key), this.addChild(this._cloud), this.addChild(this._text); }, _147j.prototype.activate = function() { var _147q = null; this._cloud.activate(); }, _147j.prototype.deactivate = function() { var _147r = null; this._cloud.deactivate(); }, _147j.prototype._getBlackTexture = function() { var _147s = null; switch (this._type) { case 3: return _147e.SALLY_SORTIE.getTexture(37); case 4: return _147e.SALLY_SORTIE.getTexture(36); } return PIXI.Texture.EMPTY; }, _147j.prototype._setPositions = function() { var _147t = null; 3 == this._type ? (this._key.position.set(470, 14), this._cloud.position.set(491, 53), this._text.position.set(490, 99)) : 4 == this._type && (this._key.position.set(218, 42), this._cloud.position.set(239, 81), this._text.position.set(240, 152)); }, _147j; }(PIXI.Container); _146u.MapThumbnailLocked = _147g; }, 90758: function(_147u, _147v, _147w) { 'use strict'; var _147x = null; var _147y, _147z = this && this.__extends || (_147y = function(_1480, _1481) { var _1482 = null; return _147y = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1483, _1484) { var _1485 = null; _1483.__proto__ = _1484; } || function(_1486, _1487) { var _1488 = null; for (var _1489 in _1487) Object.prototype.hasOwnProperty.call(_1487, _1489) && (_1486[_1489] = _1487[_1489]); }, _147y(_1480, _1481); }, function(_148a, _148b) { var _148c = null; if ('function' != typeof _148b && null !== _148b) throw new TypeError('Class extends value ' + String(_148b) + ' is not a constructor or null'); function _148d() { var _148e = null; this.constructor = _148a; } _147y(_148a, _148b), _148a.prototype = null === _148b ? Object.create(_148b) : (_148d.prototype = _148b.prototype, new _148d()); }); defineModule(_147v); Object.defineProperty(_147v, '__esModule', { 'value': !0 }), _147v.MapThumbnailLockedCloud = void 0; var _148f = _147w(55022), _148g = function(_148h) { var _148i = null; function _148j() { var _148k = null, _148l = _148h.call(this) || this, _148m = createjs.Ticker.framerate; return _148l._cloud1 = new _148n(3, 60 / _148m * 0.0035), _148l._cloud2 = new _148n(2, 60 / _148m * 0.0025), _148l._cloud3 = new _148n(0, 60 / _148m * 0.005), _148l._cloud1.anchor.set(0.5, 0.5), _148l._cloud2.anchor.set(0.5, 0.5), _148l._cloud3.anchor.set(0.5, 0.5), _148l.addChild(_148l._cloud1), _148l.addChild(_148l._cloud2), _148l.addChild(_148l._cloud3), _148l; } return _147z(_148j, _148h), _148j.prototype.initialize = function() { var _148o = null; this._cloud1.texture = _148f.SALLY_SORTIE.getTexture(28), this._cloud2.texture = _148f.SALLY_SORTIE.getTexture(29), this._cloud3.texture = _148f.SALLY_SORTIE.getTexture(30); }, _148j.prototype.activate = function() { var _148p = null, _148q = this; null == this._t && (this._t = createjs.Tween.get(this, { 'loop': !0, 'onChange': function(_148r) { var _148s = null; _148q._cloud1.update(), _148q._cloud2.update(), _148q._cloud3.update(); } })); }, _148j.prototype.deactivate = function() { var _148t = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _148j; }(PIXI.Container); _147v.MapThumbnailLockedCloud = _148g; var _148n = function(_148u) { var _148v = null; function _148w(_148x, _148y) { var _148z = null, _1490 = _148u.call(this) || this; return _1490._tmp = 150 * Math.random(), _1490._offset = _148x, _1490._speed = _148y, _1490; } return _147z(_148w, _148u), _148w.prototype.update = function() { var _1491 = null, _1492 = createjs.Ticker.framerate; this.x = 90 * Math.cos(this._tmp + this._offset), this.y = 15 * Math.cos(0.9 * this._tmp * (60 / _1492) + this._offset), this._tmp += this._speed; }, _148w; }(PIXI.Sprite); }, 91928: function(_1493, _1494, _1495) { 'use strict'; var _1496 = null; var _1497, _1498 = this && this.__extends || (_1497 = function(_1499, _149a) { var _149b = null; return _1497 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_149c, _149d) { var _149e = null; _149c.__proto__ = _149d; } || function(_149f, _149g) { var _149h = null; for (var _149i in _149g) Object.prototype.hasOwnProperty.call(_149g, _149i) && (_149f[_149i] = _149g[_149i]); }, _1497(_1499, _149a); }, function(_149j, _149k) { var _149l = null; if ('function' != typeof _149k && null !== _149k) throw new TypeError('Class extends value ' + String(_149k) + ' is not a constructor or null'); function _149m() { var _149n = null; this.constructor = _149j; } _1497(_149j, _149k), _149j.prototype = null === _149k ? Object.create(_149k) : (_149m.prototype = _149k.prototype, new _149m()); }), _149o = this && this.__importDefault || function(_149p) { var _149q = null; return _149p && _149p.__esModule ? _149p : { 'default': _149p }; }; defineModule(_1494); Object.defineProperty(_1494, '__esModule', { 'value': !0 }), _1494.BtnShop2 = void 0; var _149r = _149o(_1495(18622)), _149s = _1495(68028), _149t = _1495(48473), _149u = _1495(35380), _149v = function(_149w) { var _149x = null; function _149y() { var _149z = null, _14a0 = _149w.call(this) || this; return _14a0._flg = !1, _14a0._overed = !1, _14a0._updateTexture = function() { var _14a1 = null; _14a0._flg = !_14a0._flg, 1 == _14a0._flg || 1 == _14a0._overed ? _14a0._icon.texture = _149t.SALLY_COMMON.getTexture(27) : _14a0._icon.texture = _149t.SALLY_COMMON.getTexture(26); }, _14a0._onMouseOver = function() { var _14a2 = null; _14a0._overed = !0, _14a0._updateTexture(), _14a0._over.visible = !0; }, _14a0._onMouseOut = function() { var _14a3 = null; _14a0._overed = !1, _14a0._updateTexture(), _14a0._over.visible = !1; }, _14a0._onClick = function() { var _14a4 = null; _149r.default.scene.change(24, new _149s.ItemSceneModel()); }, _14a0._icon = new PIXI.Sprite(), _14a0._over = new PIXI.Sprite(), _14a0._over.position.set(-187, -40), _14a0._over.visible = !1, _14a0._icon.interactive = !0, _14a0; } return _1498(_149y, _149w), _149y.prototype.initialize = function() { var _14a5 = null; this._icon.texture = _149t.SALLY_COMMON.getTexture(26), this._over.texture = _149t.SALLY_COMMON.getTexture(30), this.addChild(this._over), this.addChild(this._icon); }, _149y.prototype.activate = function() { var _14a6 = null, _14a7 = this; null == this._t && (this._icon.buttonMode = !0, this._icon.on(_149u.EventType.MOUSEOVER, this._onMouseOver), this._icon.on(_149u.EventType.MOUSEOUT, this._onMouseOut), this._icon.on(_149u.EventType.CLICK, this._onClick), this._t = createjs.Tween.get(this, { 'loop': !0 }).wait(300).call(function() { var _14a8 = null; _14a7._updateTexture(); })); }, _149y.prototype.deactivate = function() { var _14a9 = null; this._icon.off(_149u.EventType.MOUSEOVER, this._onMouseOver), this._icon.off(_149u.EventType.MOUSEOUT, this._onMouseOut), this._icon.off(_149u.EventType.CLICK, this._onClick), null != this._t && (this._t.setPaused(!0), this._t = null), this._icon.buttonMode = !1; }, _149y; }(PIXI.Container); _1494.BtnShop2 = _149v; }, 81146: function(_14aa, _14ab, _14ac) { 'use strict'; var _14ad = null; var _14ae, _14af = this && this.__extends || (_14ae = function(_14ag, _14ah) { var _14ai = null; return _14ae = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_14aj, _14ak) { var _14al = null; _14aj.__proto__ = _14ak; } || function(_14am, _14an) { var _14ao = null; for (var _14ap in _14an) Object.prototype.hasOwnProperty.call(_14an, _14ap) && (_14am[_14ap] = _14an[_14ap]); }, _14ae(_14ag, _14ah); }, function(_14aq, _14ar) { var _14as = null; if ('function' != typeof _14ar && null !== _14ar) throw new TypeError('Class extends value ' + String(_14ar) + ' is not a constructor or null'); function _14at() { var _14au = null; this.constructor = _14aq; } _14ae(_14aq, _14ar), _14aq.prototype = null === _14ar ? Object.create(_14ar) : (_14at.prototype = _14ar.prototype, new _14at()); }); defineModule(_14ab); Object.defineProperty(_14ab, '__esModule', { 'value': !0 }), _14ab.SlotitemLevel = void 0; var _14av = _14ac(8744), _14aw = _14ac(98583), _14ax = function(_14ay) { var _14az = null; function _14b0() { var _14b1 = null, _14b2 = _14ay.call(this) || this; return _14b2._star = new PIXI.Sprite(), _14b2._star.position.set(0, 3), _14b2.addChild(_14b2._star), _14b2._plus = new PIXI.Sprite(), _14b2._plus.position.set(18, 6), _14b2.addChild(_14b2._plus), _14b2._num = new _14av.TextBox(19, 3198426), _14b2._num.position.set(30, 0), _14b2.addChild(_14b2._num), _14b2._max = new PIXI.Sprite(), _14b2._max.position.set(6, 0), _14b2.addChild(_14b2._max), _14b2; } return _14af(_14b0, _14ay), _14b0.prototype.initialize = function() { var _14b3 = null; this._star.visible = !1, this._plus.visible = !1, this._max.visible = !1, this._star.texture = _14aw.SALLY_AIRUNIT.getTexture(47), this._plus.texture = _14aw.SALLY_AIRUNIT.getTexture(46), this._max.texture = _14aw.SALLY_AIRUNIT.getTexture(48); }, _14b0.prototype.update = function(_14b4) { var _14b5 = null; _14b4 <= 0 || _14b4 > 10 ? (this._star.visible = !1, this._plus.visible = !1, this._num.text = '', this._max.visible = !1) : 10 == _14b4 ? (this._star.visible = !1, this._plus.visible = !1, this._num.text = '', this._max.visible = !0) : (this._star.visible = !0, this._plus.visible = !0, this._num.text = _14b4.toString(), this._max.visible = !1); }, _14b0.prototype.dispose = function() { var _14b6 = null; this.removeChildren(), this._num.destroy(); }, _14b0; }(PIXI.Container); _14ab.SlotitemLevel = _14ax; }, 96709: function(_14b7, _14b8) { 'use strict'; var _14b9 = null; var _14ba, _14bb = this && this.__extends || (_14ba = function(_14bc, _14bd) { var _14be = null; return _14ba = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_14bf, _14bg) { var _14bh = null; _14bf.__proto__ = _14bg; } || function(_14bi, _14bj) { var _14bk = null; for (var _14bl in _14bj) Object.prototype.hasOwnProperty.call(_14bj, _14bl) && (_14bi[_14bl] = _14bj[_14bl]); }, _14ba(_14bc, _14bd); }, function(_14bm, _14bn) { var _14bo = null; if ('function' != typeof _14bn && null !== _14bn) throw new TypeError('Class extends value ' + String(_14bn) + ' is not a constructor or null'); function _14bp() { var _14bq = null; this.constructor = _14bm; } _14ba(_14bm, _14bn), _14bm.prototype = null === _14bn ? Object.create(_14bn) : (_14bp.prototype = _14bn.prototype, new _14bp()); }); defineModule(_14b8); Object.defineProperty(_14b8, '__esModule', { 'value': !0 }), _14b8.LayoutBase = void 0; var _14br = function(_14bs) { var _14bt = null; function _14bu(_14bv) { var _14bw = null, _14bx = _14bs.call(this) || this; return _14bx._offset = 0, _14bx._offset = _14bv, _14bx._maps = [], _14bx; } return _14bb(_14bu, _14bs), Object.defineProperty(_14bu.prototype, 'offset', { 'get': function() { var _14by = null; return this._offset; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14bu.prototype, 'num', { 'get': function() { var _14bz = null; return this._maps.length; }, 'enumerable': !1, 'configurable': !0 }), _14bu.prototype.initialize = function(_14c0) { var _14c1 = null; for (var _14c2 = 0; _14c2 < this._maps.length; _14c2++) { var _14c3 = _14c2 + this._offset, _14c4 = _14c0.length > _14c3 ? _14c0[_14c3] : null; this._maps[_14c2].initialize(_14c4); } }, _14bu.prototype.updateAirUnitEnabled = function(_14c5) { var _14c6 = null; for (var _14c7 = 0, _14c8 = this._maps; _14c7 < _14c8.length; _14c7++) { _14c8[_14c7].updateAirUnitEnabled(_14c5); } }, _14bu.prototype.updateGauge = function(_14c9) { var _14ca = null; for (var _14cb = _14c9.mst_id, _14cc = 0, _14cd = this._maps; _14cc < _14cd.length; _14cc++) { var _14ce = _14cd[_14cc]; if (_14ce.mst_id == _14cb) return void _14ce.updateGauge(_14c9); } }, _14bu.prototype.updateThumbnail = function(_14cf) { var _14cg = null; for (var _14ch = _14cf.mst_id, _14ci = 0, _14cj = this._maps; _14ci < _14cj.length; _14ci++) { var _14ck = _14cj[_14ci]; if (_14ck.mst_id == _14ch) return void _14ck.updateThumbnail(_14cf); } }, _14bu.prototype.updateAirUnitBanner = function(_14cl) { var _14cm = null; for (var _14cn = _14cl.mst_id, _14co = 0, _14cp = this._maps; _14co < _14cp.length; _14co++) { var _14cq = _14cp[_14co]; if (_14cq.mst_id == _14cn) return void _14cq.updateAirUnitBanner(_14cl.availableAirUnitCount); } }, _14bu.prototype.activate = function() { var _14cr = null; for (var _14cs = 0, _14ct = this._maps; _14cs < _14ct.length; _14cs++) { _14ct[_14cs].activate(); } }, _14bu.prototype.deactivate = function() { var _14cu = null; for (var _14cv = 0, _14cw = this._maps; _14cv < _14cw.length; _14cv++) { _14cw[_14cv].deactivate(); } }, _14bu.prototype.dispose = function() { var _14cx = null; for (var _14cy = 0, _14cz = this._maps; _14cy < _14cz.length; _14cy++) { _14cz[_14cy].dispose(); } }, _14bu; }(PIXI.Container); _14b8.LayoutBase = _14br; }, 63308: function(_14d0, _14d1, _14d2) { 'use strict'; var _14d3 = null; var _14d4, _14d5 = this && this.__extends || (_14d4 = function(_14d6, _14d7) { var _14d8 = null; return _14d4 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_14d9, _14da) { var _14db = null; _14d9.__proto__ = _14da; } || function(_14dc, _14dd) { var _14de = null; for (var _14df in _14dd) Object.prototype.hasOwnProperty.call(_14dd, _14df) && (_14dc[_14df] = _14dd[_14df]); }, _14d4(_14d6, _14d7); }, function(_14dg, _14dh) { var _14di = null; if ('function' != typeof _14dh && null !== _14dh) throw new TypeError('Class extends value ' + String(_14dh) + ' is not a constructor or null'); function _14dj() { var _14dk = null; this.constructor = _14dg; } _14d4(_14dg, _14dh), _14dg.prototype = null === _14dh ? Object.create(_14dh) : (_14dj.prototype = _14dh.prototype, new _14dj()); }); defineModule(_14d1); Object.defineProperty(_14d1, '__esModule', { 'value': !0 }), _14d1.LayoutMap3 = void 0; var _14dl = _14d2(28686), _14dm = function(_14dn) { function _14do(_14dp, _14dq, _14dr) { var _14ds = null; for (var _14dt = _14dn.call(this, _14dp) || this, _14du = 0; _14du < 3; _14du++) { var _14dv = new _14dl.MapThumbnail(3, _14dq, _14dr, null, null), _14dw = 206 + 144 * _14du; _14dv.position.set(186, _14dw), _14dt.addChild(_14dv), _14dt._maps.push(_14dv); } return _14dt; } return _14d5(_14do, _14dn), _14do; }(_14d2(96709).LayoutBase); _14d1.LayoutMap3 = _14dm; }, 52114: function(_14dx, _14dy, _14dz) { 'use strict'; var _14e0 = null; var _14e1, _14e2 = this && this.__extends || (_14e1 = function(_14e3, _14e4) { var _14e5 = null; return _14e1 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_14e6, _14e7) { var _14e8 = null; _14e6.__proto__ = _14e7; } || function(_14e9, _14ea) { var _14eb = null; for (var _14ec in _14ea) Object.prototype.hasOwnProperty.call(_14ea, _14ec) && (_14e9[_14ec] = _14ea[_14ec]); }, _14e1(_14e3, _14e4); }, function(_14ed, _14ee) { var _14ef = null; if ('function' != typeof _14ee && null !== _14ee) throw new TypeError('Class extends value ' + String(_14ee) + ' is not a constructor or null'); function _14eg() { var _14eh = null; this.constructor = _14ed; } _14e1(_14ed, _14ee), _14ed.prototype = null === _14ee ? Object.create(_14ee) : (_14eg.prototype = _14ee.prototype, new _14eg()); }); defineModule(_14dy); Object.defineProperty(_14dy, '__esModule', { 'value': !0 }), _14dy.LayoutMap4 = void 0; var _14ei = _14dz(28686), _14ej = function(_14ek) { function _14el(_14em, _14en, _14eo) { var _14ep = null; for (var _14eq = _14ek.call(this, _14em) || this, _14er = 0; _14er < 4; _14er++) { var _14es = new _14ei.MapThumbnail(4, _14en, _14eo, null, null), _14et = _14er % 2 == 0 ? 188 : 689, _14eu = _14er < 2 ? 207 : 422; _14es.position.set(_14et, _14eu), _14eq.addChild(_14es), _14eq._maps.push(_14es); } return _14eq; } return _14e2(_14el, _14ek), _14el; }(_14dz(96709).LayoutBase); _14dy.LayoutMap4 = _14ej; }, 13431: function(_14ev, _14ew, _14ex) { 'use strict'; var _14ey = null; var _14ez = this && this.__importDefault || function(_14f0) { var _14f1 = null; return _14f0 && _14f0.__esModule ? _14f0 : { 'default': _14f0 }; }; defineModule(_14ew); Object.defineProperty(_14ew, '__esModule', { 'value': !0 }), _14ew.check = void 0; var _14f2 = _14ez(_14ex(18622)); _14ew.check = function(_14f3, _14f4, _14f5, _14f6) { var _14f7 = null; if (0 == _14f4.getCount()) return { 'result': !1, 'reason': 31 }; var _14f8 = function(_14f9, _14fa) { var _14fb = null, _14fc = _14fa.getCombinedType(), _14fd = _14f9.getAllowedDeckType(); if (0 == _14fc) { if (_14fa.getCount() > 6) return 1 == _14fd.yugeki ? null : [573].indexOf(_14f9.mst_id) > -1 ? { 'result': !1, 'reason': 59 } : { 'result': !1, 'reason': 58 }; if (1 == _14fd.normal) return null; } var _14fe = _14fd.rengo; if (0 == _14fe) { if (1 == _14fc || 2 == _14fc || 3 == _14fc) return [582].indexOf(_14f9.mst_id) > -1 ? { 'result': !1, 'reason': 46 } : { 'result': !1, 'reason': 22 }; } if (1 == _14fe && 1 != _14fc) return { 'result': !1, 'reason': 23 }; if (2 == _14fe && 2 != _14fc) return { 'result': !1, 'reason': 24 }; if (3 == _14fe && 1 != _14fc && 2 != _14fc) return { 'result': !1, 'reason': 25 }; if (4 == _14fe && 3 != _14fc) return { 'result': !1, 'reason': 28 }; if (5 == _14fe && 1 != _14fc && 3 != _14fc) return { 'result': !1, 'reason': 26 }; if (6 == _14fe && 2 != _14fc && 3 != _14fc) return { 'result': !1, 'reason': 56 }; if (7 == _14fe && 1 != _14fc && 2 != _14fc && 3 != _14fc) return { 'result': !1, 'reason': 29 }; return null; }(_14f3, _14f4); if (null != _14f8) return _14f8; var _14ff = _14f3.mst_id, _14fg = _14f4.getShipListAll(); if (16 == _14ff && null != (_14f8 = function(_14fh) { var _14fi = null; for (var _14fj = 0, _14fk = _14fh; _14fj < _14fk.length; _14fj++) { var _14fl = _14fk[_14fj]; if (null != _14fl) switch (_14fl.shipTypeID) { case 4: case 8: case 9: case 11: case 13: case 14: case 18: return { 'result': !1, 'reason': 4 }; } } return null; }(_14fg))) return _14f8; if (63 == _14ff && null != (_14f8 = function(_14fm) { var _14fn = null; for (var _14fo = 0, _14fp = 0, _14fq = 0, _14fr = 0, _14fs = _14fm; _14fr < _14fs.length; _14fr++) { var _14ft = _14fs[_14fr]; if (null != _14ft) { var _14fu = _14ft.shipTypeID; if (2 == _14fu) _14fo++; else { if (3 == _14fu) _14fp++; else { if (21 == _14fu) _14fp++; else { if (16 != _14fu) return { 'result': !1, 'reason': 5 }; _14fq++; } } } } } if (0 == _14fo) return { 'result': !1, 'reason': 6 }; if (0 == _14fp) return { 'result': !1, 'reason': 7 }; if (_14fp >= 4) return { 'result': !1, 'reason': 8 }; if (0 == _14fq) return { 'result': !1, 'reason': 9 }; if (_14fq >= 3) return { 'result': !1, 'reason': 10 }; return null; }(_14fg))) return _14f8; if (64 == _14ff && null != (_14f8 = function(_14fv) { var _14fw = null; for (var _14fx = 0, _14fy = 0, _14fz = 0, _14g0 = _14fv; _14fz < _14g0.length; _14fz++) { var _14g1 = _14g0[_14fz]; if (null != _14g1) { var _14g2 = _14g1.shipTypeID; 8 == _14g2 || 9 == _14g2 || 10 == _14g2 ? _14fx++ : (7 == _14g2 || 11 == _14g2 || 18 == _14g2) && _14fy++; } } if (_14fx >= 3) return { 'result': !1, 'reason': 11 }; if (_14fy >= 3) return { 'result': !1, 'reason': 12 }; return null; }(_14fg))) return _14f8; if (null != _14f4.expedition) return { 'result': !1, 'reason': 30 }; if (null != _14f6) { var _14g3 = _14f4.getCombinedType(), _14g4 = _14f6.check(_14g3, _14fg); if (0 == _14g4.result || 0 != _14g4.reason) return _14g4; } for (var _14g5 = !1, _14g6 = !1, _14g7 = 0, _14g8 = _14fg; _14g7 < _14g8.length; _14g7++) { var _14g9 = _14g8[_14g7]; null != _14g9 && (-1 != _14f5.indexOf(_14g9.memID) && (_14g5 = !0), (_14g9.fuelNow <= 0 || _14g9.ammoNow <= 0) && (_14g6 = !0)); } if (1 == _14g5) return { 'result': !1, 'reason': 1 }; if (1 == _14g6) return { 'result': !1, 'reason': 2 }; var _14ga = _14fg[0].getDamageType(); if (0 != _14f4.getCombinedType()) { if (50 == _14ga || 25 == _14ga || 0 == _14ga) return { 'result': !1, 'reason': 21 }; var _14gb = _14fg[6].getDamageType(); if (50 == _14gb || 25 == _14gb || 0 == _14gb) return { 'result': !1, 'reason': 21 }; } else { if (25 == _14ga || 0 == _14ga) return { 'result': !1, 'reason': 3 }; } if (1 == _14f4.isCombined_Sub()) return { 'result': !1, 'reason': 20 }; var _14gc = _14f2.default.model.airunit.getReadyAirUnitList(_14f3.area_id); return 1 == function(_14gd) { var _14ge = null, _14gf = _14f2.default.model.map.getMapMem(_14gd); switch (_14gd) { case 581: if (_14gf.s_no < 2) for (var _14gg = 0, _14gh = _14gc; _14gg < _14gh.length; _14gg++) { if ((_14gi = _14gh[_14gg]).distance + _14gi.distance_bonus < 2) return !0; } break; case 582: for (var _14gj = function(_14gk) { return 1 === _14gk ? 3 : 2; }(_14gf.getGaugeNum()), _14gl = 0, _14gm = _14gc; _14gl < _14gm.length; _14gl++) { if ((_14gi = _14gm[_14gl]).distance + _14gi.distance_bonus < _14gj) return !0; } break; case 583: for (var _14gn = 0, _14go = _14gc; _14gn < _14go.length; _14gn++) { var _14gi; if ((_14gi = _14go[_14gn]).distance + _14gi.distance_bonus < 4) return !0; } break; default: return !1; } }(_14f3.mst_id) ? { 'result': !1, 'reason': 51 } : { 'result': !0, 'reason': 0 }; }; }, 5074: function(_14gp, _14gq, _14gr) { 'use strict'; var _14gs = null; var _14gt, _14gu = this && this.__extends || (_14gt = function(_14gv, _14gw) { var _14gx = null; return _14gt = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_14gy, _14gz) { var _14h0 = null; _14gy.__proto__ = _14gz; } || function(_14h1, _14h2) { var _14h3 = null; for (var _14h4 in _14h2) Object.prototype.hasOwnProperty.call(_14h2, _14h4) && (_14h1[_14h4] = _14h2[_14h4]); }, _14gt(_14gv, _14gw); }, function(_14h5, _14h6) { var _14h7 = null; if ('function' != typeof _14h6 && null !== _14h6) throw new TypeError('Class extends value ' + String(_14h6) + ' is not a constructor or null'); function _14h8() { var _14h9 = null; this.constructor = _14h5; } _14gt(_14h5, _14h6), _14h5.prototype = null === _14h6 ? Object.create(_14h6) : (_14h8.prototype = _14h6.prototype, new _14h8()); }), _14ha = this && this.__importDefault || function(_14hb) { var _14hc = null; return _14hb && _14hb.__esModule ? _14hb : { 'default': _14hb }; }; defineModule(_14gq); Object.defineProperty(_14gq, '__esModule', { 'value': !0 }), _14gq.RecordScene = void 0; var _14hd = _14ha(_14gr(18622)), _14he = _14gr(37562), _14hf = _14gr(13259), _14hg = _14gr(47946), _14hh = _14gr(21399), _14hi = _14gr(5136), _14hj = _14gr(70365), _14hk = _14gr(54857), _14hl = function(_14hm) { var _14hn = null; function _14ho() { var _14hp = null, _14hq = _14hm.call(this) || this; return _14hq._dispose = function() { var _14hr = null; null != _14hq._viewTop && (_14hq.removeChild(_14hq._viewTop), _14hq._viewTop.dispose(), _14hq._viewTop = null, _14hq._viewInfo.dispose(), _14hq._viewInfo = null, _14hq._viewRanking.dispose(), _14hq._viewRanking = null), null != _14hq._topTask && _14hq._topTask.cancel(), null != _14hq._viewSub && (_14hq.removeChild(_14hq._viewSub), _14hq._viewSub.dispose(), _14hq._viewSub = null); }, _14hq; } return _14gu(_14ho, _14hm), Object.defineProperty(_14ho.prototype, 'viewTop', { 'get': function() { var _14hs = null; return this._viewTop; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14ho.prototype, 'viewInfo', { 'get': function() { var _14ht = null; return this._viewInfo; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14ho.prototype, 'viewRanking', { 'get': function() { var _14hu = null; return this._viewRanking; }, 'enumerable': !1, 'configurable': !0 }), _14ho.prototype.getPreInitializeTask = function(_14hv) { var _14hw = null; return new _14hf.PreInitializeTask(this); }, _14ho.prototype.getInitializeTask = function(_14hx) { var _14hy = null; return new _14hf.InitializeTask(this); }, _14ho.prototype.getPreFinalizeTask = function() { var _14hz = null; return new _14hg.PreFinalizeTask(this); }, _14ho.prototype.getFinalizeTask = function() { var _14i0 = null; return new _14hg.FinalizeTask(this._dispose); }, _14ho.prototype.initialize = function() { var _14i1 = null; this._viewTop = new _14hi.ViewTop(), this._viewTop.initialize(), this.addChild(this._viewTop), this._viewInfo = new _14hj.ViewInfo(), this._viewInfo.initialize(), this.addChild(this._viewInfo), this._viewRanking = new _14hk.ViewRanking(), this._viewRanking.initialize(), this._viewRanking.visible = !1, this.addChild(this._viewRanking); }, _14ho.prototype.startTopTask = function() { var _14i2 = null, _14i3 = this, _14i4 = _14hd.default.model.deck.get(1).getShipList()[0].mstID; _14hd.default.sound.voice.play(_14i4.toString(), 8), this._topTask = new _14hh.TaskTop(this), this._topTask.start(function() { var _14i5 = null; _14i3._topTask = null; }); }, _14ho; }(_14he.SceneBase); _14gq.RecordScene = _14hl; }, 53644: function(_14i6, _14i7, _14i8) { 'use strict'; var _14i9 = null; var _14ia, _14ib = this && this.__extends || (_14ia = function(_14ic, _14id) { var _14ie = null; return _14ia = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_14if, _14ig) { var _14ih = null; _14if.__proto__ = _14ig; } || function(_14ii, _14ij) { var _14ik = null; for (var _14il in _14ij) Object.prototype.hasOwnProperty.call(_14ij, _14il) && (_14ii[_14il] = _14ij[_14il]); }, _14ia(_14ic, _14id); }, function(_14im, _14in) { var _14io = null; if ('function' != typeof _14in && null !== _14in) throw new TypeError('Class extends value ' + String(_14in) + ' is not a constructor or null'); function _14ip() { var _14iq = null; this.constructor = _14im; } _14ia(_14im, _14in), _14im.prototype = null === _14in ? Object.create(_14in) : (_14ip.prototype = _14in.prototype, new _14ip()); }); defineModule(_14i7); Object.defineProperty(_14i7, '__esModule', { 'value': !0 }), _14i7.RecordInfoAPI = void 0; var _14ir = function(_14is) { var _14it = null; function _14iu(_14iv) { var _14iw = null, _14ix = _14is.call(this) || this; return _14ix._url = 'api_get_member/record', _14ix._recordInfoModel = _14iv, _14ix; } return _14ib(_14iu, _14is), _14iu.prototype._connect = function() { var _14iy = null; _14is.prototype._connect.call(this); }, _14iu.prototype._completedEnd = function() { var _14iz = null; this._recordInfoModel.SetAll(this._raw_data), _14is.prototype._completedEnd.call(this); }, _14iu; }(_14i8(37562).APIBase); _14i7.RecordInfoAPI = _14ir; }, 39050: function(_14j0, _14j1, _14j2) { 'use strict'; var _14j3 = null; var _14j4, _14j5 = this && this.__extends || (_14j4 = function(_14j6, _14j7) { var _14j8 = null; return _14j4 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_14j9, _14ja) { var _14jb = null; _14j9.__proto__ = _14ja; } || function(_14jc, _14jd) { var _14je = null; for (var _14jf in _14jd) Object.prototype.hasOwnProperty.call(_14jd, _14jf) && (_14jc[_14jf] = _14jd[_14jf]); }, _14j4(_14j6, _14j7); }, function(_14jg, _14jh) { var _14ji = null; if ('function' != typeof _14jh && null !== _14jh) throw new TypeError('Class extends value ' + String(_14jh) + ' is not a constructor or null'); function _14jj() { var _14jk = null; this.constructor = _14jg; } _14j4(_14jg, _14jh), _14jg.prototype = null === _14jh ? Object.create(_14jh) : (_14jj.prototype = _14jh.prototype, new _14jj()); }), _14jl = this && this.__createBinding || (Object.create ? function(_14jm, _14jn, _14jo, _14jp) { var _14jq = null; void 0 === _14jp && (_14jp = _14jo); var _14jr = Object.getOwnPropertyDescriptor(_14jn, _14jo); _14jr && !('get' in _14jr ? !_14jn.__esModule : _14jr.writable || _14jr.configurable) || (_14jr = { 'enumerable': !0, 'get': function() { return _14jn[_14jo]; } }), Object.defineProperty(_14jm, _14jp, _14jr); } : function(_14js, _14jt, _14ju, _14jv) { void 0 === _14jv && (_14jv = _14ju), _14js[_14jv] = _14jt[_14ju]; }), _14jw = this && this.__setModuleDefault || (Object.create ? function(_14jx, _14jy) { var _14jz = null; Object.defineProperty(_14jx, 'default', { 'enumerable': !0, 'value': _14jy }); } : function(_14k0, _14k1) { var _14k2 = null; _14k0.default = _14k1; }), _14k3 = this && this.__importStar || function(_14k4) { var _14k5 = null; if (_14k4 && _14k4.__esModule) return _14k4; var _14k6 = {}; if (null != _14k4) { for (var _14k7 in _14k4) 'default' !== _14k7 && Object.prototype.hasOwnProperty.call(_14k4, _14k7) && _14jl(_14k6, _14k4, _14k7); } return _14jw(_14k6, _14k4), _14k6; }, _14k8 = this && this.__importDefault || function(_14k9) { var _14ka = null; return _14k9 && _14k9.__esModule ? _14k9 : { 'default': _14k9 }; }; defineModule(_14j1); Object.defineProperty(_14j1, '__esModule', { 'value': !0 }), _14j1.RecordRankingAPI = void 0; var _14kb = _14k8(_14j2(18622)), _14kc = _14k3(_14j2(92547)), _14kd = function(_14ke) { var _14kf = null; function _14kg(_14kh, _14ki) { var _14kj = null, _14kk = _14ke.call(this) || this; return _14kk._url = 'api_req_ranking/mxltvkpyuklh', _14kk._recordRankingModels = _14kh, _14kk._pageNo = _14ki, _14kk; } return _14j5(_14kg, _14ke), _14kg.prototype._connect = function() { var _14kl = null; 0 != this._pageNo && (this._post_data.api_pageno = this._pageNo), this._post_data.api_ranking = this._createKey(_14kb.default.model.basic.member_id), _14ke.prototype._connect.call(this); }, _14kg.prototype._completedEnd = function() { var _14km = null; this._recordRankingModels[this._pageNo].SetAll(this._raw_data, this._pageNo), _14ke.prototype._completedEnd.call(this); }, _14kg.prototype._getSeed = function(_14kn) { var _14ko = null; return _14kc.PORT_API_SEED[_14kn % 10]; }, _14kg.prototype._createKey = function(_14kp) { var _14kq = null, _14kr = this._getSeed(_14kp), _14ks = Math.floor(Date.now() / 1000), _14kt = 1000 * (Math.floor(9 * Math.random()) + 1) + _14kp % 1000, _14ku = Math.floor(8999 * Math.random()) + 1000, _14kv = Math.floor(32767 * Math.random()) + 32768, _14kw = Math.floor(10 * Math.random()), _14kx = Math.floor(10 * Math.random()), _14ky = Math.floor(10 * Math.random()), _14kz = ((4132653 + _14kv) * (parseInt(_14kp.toString().substr(0, 4)) + 1000) - _14ks + (1875979 + 9 * _14kv) - _14kp) * _14kr, _14l0 = _14kt.toString() + _14kz.toString() + _14ku.toString(), _14l1 = (_14l0 = _14kw.toString() + _14l0).substr(0, 8), _14l2 = _14l0.substr(8); return _14l1 = (_14l0 = _14l1 + _14kx + _14l2).substr(0, 18), _14l2 = _14l0.substr(18), (_14l0 = _14l1 + _14ky + _14l2) + _14kv.toString(); }, _14kg; }(_14j2(37562).APIBase); _14j1.RecordRankingAPI = _14kd; }, 26389: function(_14l3, _14l4, _14l5) { 'use strict'; var _14l6 = null; var _14l7, _14l8 = this && this.__extends || (_14l7 = function(_14l9, _14la) { var _14lb = null; return _14l7 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_14lc, _14ld) { var _14le = null; _14lc.__proto__ = _14ld; } || function(_14lf, _14lg) { var _14lh = null; for (var _14li in _14lg) Object.prototype.hasOwnProperty.call(_14lg, _14li) && (_14lf[_14li] = _14lg[_14li]); }, _14l7(_14l9, _14la); }, function(_14lj, _14lk) { var _14ll = null; if ('function' != typeof _14lk && null !== _14lk) throw new TypeError('Class extends value ' + String(_14lk) + ' is not a constructor or null'); function _14lm() { var _14ln = null; this.constructor = _14lj; } _14l7(_14lj, _14lk), _14lj.prototype = null === _14lk ? Object.create(_14lk) : (_14lm.prototype = _14lk.prototype, new _14lm()); }); defineModule(_14l4); Object.defineProperty(_14l4, '__esModule', { 'value': !0 }), _14l4.RecordUpdateCommentAPI = void 0; var _14lo = function(_14lp) { var _14lq = null; function _14lr(_14ls, _14lt) { var _14lu = null, _14lv = _14lp.call(this) || this; return _14lv._url = 'api_req_member/updatecomment', _14lv._comment = _14ls, _14lv._cmt_id = _14lt, _14lv; } return _14l8(_14lr, _14lp), _14lr.prototype._connect = function() { var _14lw = null; this._post_data.api_cmt = this._comment, '' != this._cmt_id && (this._post_data.api_cmt_id = this._cmt_id), _14lp.prototype._connect.call(this); }, _14lr.prototype._completedEnd = function() { var _14lx = null; _14lp.prototype._completedEnd.call(this); }, _14lr; }(_14l5(37562).APIBase); _14l4.RecordUpdateCommentAPI = _14lo; }, 59172: function(_14ly, _14lz, _14m0) { 'use strict'; var _14m1 = null; var _14m2, _14m3 = this && this.__extends || (_14m2 = function(_14m4, _14m5) { var _14m6 = null; return _14m2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_14m7, _14m8) { var _14m9 = null; _14m7.__proto__ = _14m8; } || function(_14ma, _14mb) { var _14mc = null; for (var _14md in _14mb) Object.prototype.hasOwnProperty.call(_14mb, _14md) && (_14ma[_14md] = _14mb[_14md]); }, _14m2(_14m4, _14m5); }, function(_14me, _14mf) { var _14mg = null; if ('function' != typeof _14mf && null !== _14mf) throw new TypeError('Class extends value ' + String(_14mf) + ' is not a constructor or null'); function _14mh() { var _14mi = null; this.constructor = _14me; } _14m2(_14me, _14mf), _14me.prototype = null === _14mf ? Object.create(_14mf) : (_14mh.prototype = _14mf.prototype, new _14mh()); }); defineModule(_14lz); Object.defineProperty(_14lz, '__esModule', { 'value': !0 }), _14lz.RecordInfoModel = void 0; var _14mj = _14m0(14921), _14mk = _14m0(79221), _14ml = _14m0(81823), _14mm = function(_14mn) { var _14mo = null; function _14mp(_14mq) { var _14mr = null; return _14mn.call(this, _14mq) || this; } return _14m3(_14mp, _14mn), Object.defineProperty(_14mp.prototype, 'nickname', { 'get': function() { var _14ms = null; return this._nickname; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14mp.prototype, 'comment', { 'get': function() { var _14mt = null; return this._comment; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14mp.prototype, 'level', { 'get': function() { var _14mu = null; return this._level; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14mp.prototype, 'rank', { 'get': function() { var _14mv = null; return this._rank; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14mp.prototype, 'experience_now', { 'get': function() { var _14mw = null; return this._experience_now; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14mp.prototype, 'experience_next', { 'get': function() { var _14mx = null; return this._experience_next; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14mp.prototype, 'warWin', { 'get': function() { var _14my = null; return this._war_win; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14mp.prototype, 'warLose', { 'get': function() { var _14mz = null; return this._war_lose; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14mp.prototype, 'warRate', { 'get': function() { var _14n0 = null; return this._war_rate; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14mp.prototype, 'missionCount', { 'get': function() { var _14n1 = null; return this._mission_count; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14mp.prototype, 'missionSuccess', { 'get': function() { var _14n2 = null; return this._mission_success; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14mp.prototype, 'missionRate', { 'get': function() { var _14n3 = null; return this._mission_rate; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14mp.prototype, 'practiceWin', { 'get': function() { var _14n4 = null; return this._practice_win; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14mp.prototype, 'practiceLose', { 'get': function() { var _14n5 = null; return this._practice_lose; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14mp.prototype, 'practiceRate', { 'get': function() { var _14n6 = null; return this._practice_rate; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14mp.prototype, 'deckNum', { 'get': function() { var _14n7 = null; return this._deck; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14mp.prototype, 'kDockNum', { 'get': function() { var _14n8 = null; return this._kdoc; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14mp.prototype, 'nDockNum', { 'get': function() { var _14n9 = null; return this._ndoc; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14mp.prototype, 'shipNum', { 'get': function() { var _14na = null; return this._shipNow; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14mp.prototype, 'shipMax', { 'get': function() { var _14nb = null; return this._shipMax; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14mp.prototype, 'slotitemNum', { 'get': function() { var _14nc = null; return this._slotitemNow; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14mp.prototype, 'slotitemMax', { 'get': function() { var _14nd = null; return this._slotitemMax; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14mp.prototype, 'furnitureNum', { 'get': function() { var _14ne = null; return this._furniture; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14mp.prototype, 'materialMax', { 'get': function() { var _14nf = null; return this._material_max; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14mp.prototype, 'airbase', { 'get': function() { var _14ng = null; return this._airbase; }, 'enumerable': !1, 'configurable': !0 }), _14mp.prototype.SetAll = function(_14nh) { var _14ni = null, _14nj; this._nickname = _14mj.ObjUtil.getString(_14nh, 'api_nickname'), this._comment = _14mj.ObjUtil.getString(_14nh, 'api_cmt'), this._level = _14mj.ObjUtil.getNumber(_14nh, 'api_level'), this._rank = _14mj.ObjUtil.getNumber(_14nh, 'api_rank'); var _14nk = _14mj.ObjUtil.getNumArray(_14nh, 'api_experience'); this._experience_now = _14nk[0], this._experience_next = _14nk[1], _14nk = null, _14nj = _14mj.ObjUtil.getNumArray(_14nh, 'api_war'), this._war_win = _14mj.ObjUtil.getNumber(_14nj, 'api_win'), this._war_lose = _14mj.ObjUtil.getNumber(_14nj, 'api_lose'), this._war_rate = _14mj.ObjUtil.getString(_14nj, 'api_rate'), _14nj = _14mj.ObjUtil.getNumArray(_14nh, 'api_mission'), this._mission_count = _14mj.ObjUtil.getNumber(_14nj, 'api_count'), this._mission_success = _14mj.ObjUtil.getNumber(_14nj, 'api_success'), this._mission_rate = _14mj.ObjUtil.getString(_14nj, 'api_rate'), _14nj = _14mj.ObjUtil.getNumArray(_14nh, 'api_practice'), this._practice_win = _14mj.ObjUtil.getNumber(_14nj, 'api_win'), this._practice_lose = _14mj.ObjUtil.getNumber(_14nj, 'api_lose'), this._practice_rate = _14mj.ObjUtil.getString(_14nj, 'api_rate'), this._deck = _14mj.ObjUtil.getNumber(_14nh, 'api_deck'), this._kdoc = _14mj.ObjUtil.getNumber(_14nh, 'api_kdoc'), this._ndoc = _14mj.ObjUtil.getNumber(_14nh, 'api_ndoc'), _14nk = _14mj.ObjUtil.getNumArray(_14nh, 'api_ship'), this._shipNow = _14nk[0], this._shipMax = _14nk[1], _14nk = null, _14nk = _14mj.ObjUtil.getNumArray(_14nh, 'api_slotitem'), this._slotitemNow = _14nk[0], this._slotitemMax = _14nk[1], _14nk = null, this._furniture = _14mj.ObjUtil.getNumber(_14nh, 'api_furniture'), this._material_max = _14mj.ObjUtil.getNumber(_14nh, 'api_material_max'), this._airbase = new _14ml.AirBaseModelHolderEdit(); var _14nl = _14mj.ObjUtil.getObjectArray(_14nh, 'api_air_base_expanded_info'); this._airbase.setData(_14nl); }, _14mp; }(_14mk.RecordModelBase); _14lz.RecordInfoModel = _14mm; }, 89887: (_14nm, _14nn) => { 'use strict'; var _14no = null; defineModule(_14nn); Object.defineProperty(_14nn, '__esModule', { 'value': !0 }), _14nn.RecordModelBase = void 0; var _14np = function(_14nq) { this._o = _14nq; }; _14nn.RecordModelBase = _14np; }, 83127: (_14nr, _14ns, _14nt) => { 'use strict'; var _14nu = null; defineModule(_14ns); Object.defineProperty(_14ns, '__esModule', { 'value': !0 }), _14ns.RecordModelManager = void 0; var _14nv = _14nt(79221), _14nw = (function() { var _14nx = null; function _14ny() {} return _14ny.prototype.addInfoData = function(_14nz) { var _14o0 = null; for (var _14o1 = 0, _14o2 = _14nz; _14o1 < _14o2.length; _14o1++) { var _14o3 = _14o2[_14o1]; new _14nv.RecordInfoModel(_14o3); } }, _14ny; }()); _14ns.RecordModelManager = _14nw; }, 7203: function(_14o4, _14o5, _14o6) { 'use strict'; var _14o7 = null; var _14o8, _14o9 = this && this.__extends || (_14o8 = function(_14oa, _14ob) { var _14oc = null; return _14o8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_14od, _14oe) { var _14of = null; _14od.__proto__ = _14oe; } || function(_14og, _14oh) { var _14oi = null; for (var _14oj in _14oh) Object.prototype.hasOwnProperty.call(_14oh, _14oj) && (_14og[_14oj] = _14oh[_14oj]); }, _14o8(_14oa, _14ob); }, function(_14ok, _14ol) { var _14om = null; if ('function' != typeof _14ol && null !== _14ol) throw new TypeError('Class extends value ' + String(_14ol) + ' is not a constructor or null'); function _14on() { var _14oo = null; this.constructor = _14ok; } _14o8(_14ok, _14ol), _14ok.prototype = null === _14ol ? Object.create(_14ol) : (_14on.prototype = _14ol.prototype, new _14on()); }); defineModule(_14o5); Object.defineProperty(_14o5, '__esModule', { 'value': !0 }), _14o5.RecordRankingLineModel = _14o5.RecordRankingModel = void 0; var _14op = _14o6(14921), _14oq = function(_14or) { var _14os = null; function _14ot(_14ou) { var _14ov = null, _14ow = _14or.call(this, _14ou) || this; _14ow._list = [], _14ow._isLoaded = !1; for (var _14ox = 0; _14ox < 10; _14ox++) _14ow._list[_14ox] = new _14oy(); return _14ow; } return _14o9(_14ot, _14or), Object.defineProperty(_14ot.prototype, 'isLoaded', { 'get': function() { var _14oz = null; return this._isLoaded; }, 'set': function(_14p0) { var _14p1 = null; this._isLoaded = _14p0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14ot.prototype, 'count', { 'get': function() { var _14p2 = null; return this._count; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14ot.prototype, 'pageCount', { 'get': function() { var _14p3 = null; return this._page_count; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14ot.prototype, 'dispPage', { 'get': function() { var _14p4 = null; return this._disp_page; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14ot.prototype, 'list', { 'get': function() { var _14p5 = null; return this._list; }, 'enumerable': !1, 'configurable': !0 }), _14ot.prototype.SetAll = function(_14p6, _14p7) { var _14p8 = null; this._count = _14op.ObjUtil.getNumber(_14p6, 'api_count'), this._page_count = _14op.ObjUtil.getNumber(_14p6, 'api_page_count'), this._disp_page = _14op.ObjUtil.getNumber(_14p6, 'api_disp_page'); for (var _14p9 = _14op.ObjUtil.getObjectArray(_14p6, 'api_list'), _14pa = 0, _14pb = 0, _14pc = _14p9; _14pb < _14pc.length; _14pb++) { var _14pd = _14pc[_14pb]; this._list[_14pa].rank = _14op.ObjUtil.getNumber(_14pd, 'api_mxltvkpyuklh'), this._list[_14pa].nickname = _14op.ObjUtil.getString(_14pd, 'api_mtjmdcwtvhdr'), this._list[_14pa].comment = _14op.ObjUtil.getString(_14pd, 'api_itbrdpdbkynm'), this._list[_14pa].flagtype = _14op.ObjUtil.getNumber(_14pd, 'api_pbgkfylkbjuy'), this._list[_14pa].classrank = _14op.ObjUtil.getNumber(_14pd, 'api_pcumlrymlujh'), this._list[_14pa].medals = _14op.ObjUtil.getNumber(_14pd, 'api_itslcqtmrxtf'), this._list[_14pa].score[0] = _14op.ObjUtil.getNumber(_14pd, 'api_wuhnhojjxmke'), this._list[_14pa].score[1] = _14op.ObjUtil.getNumber(_14pd, 'api_xlqcmisdyfiu'), this._list[_14pa].score[2] = _14op.ObjUtil.getNumber(_14pd, 'api_mcouotbbbzpx'), this._list[_14pa].isLoaded = !0, _14pa++; } for (var _14pe = _14pa; _14pe < _14pa; _14pe++) this._list[_14pa].isLoaded = !1; _14p9 = null, this._isLoaded = !0, 0 == _14p7 && this._disp_page > 0 && this.SetAll(_14p6, this._disp_page); }, _14ot.prototype.remove_list = function() { var _14pf = null; for (var _14pg = 0; _14pg < this._list.length; _14pg++) this._list[_14pg].dispose(); this._list = null; }, _14ot; }(_14o6(79221).RecordModelBase); _14o5.RecordRankingModel = _14oq; var _14oy = (function() { var _14ph = null; function _14pi() { var _14pj = null; this._score = [], this._isLoaded = !1; } return Object.defineProperty(_14pi.prototype, 'isLoaded', { 'get': function() { var _14pk = null; return this._isLoaded; }, 'set': function(_14pl) { var _14pm = null; this._isLoaded = _14pl; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14pi.prototype, 'rank', { 'get': function() { var _14pn = null; return this._rank; }, 'set': function(_14po) { var _14pp = null; this._rank = _14po; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14pi.prototype, 'nickname', { 'get': function() { var _14pq = null; return this._nickname; }, 'set': function(_14pr) { var _14ps = null; this._nickname = _14pr; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14pi.prototype, 'comment', { 'get': function() { var _14pt = null; return this._comment; }, 'set': function(_14pu) { var _14pv = null; this._comment = _14pu; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14pi.prototype, 'flagtype', { 'get': function() { var _14pw = null; return this._flagtype; }, 'set': function(_14px) { var _14py = null; this._flagtype = _14px; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14pi.prototype, 'classrank', { 'get': function() { var _14pz = null; return this._classrank; }, 'set': function(_14q0) { var _14q1 = null; this._classrank = _14q0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14pi.prototype, 'medals', { 'get': function() { var _14q2 = null; return this._medals; }, 'set': function(_14q3) { var _14q4 = null; this._medals = _14q3; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_14pi.prototype, 'score', { 'get': function() { var _14q5 = null; return this._score; }, 'set': function(_14q6) { var _14q7 = null; this._score = _14q6; }, 'enumerable': !1, 'configurable': !0 }), _14pi.prototype.dispose = function() { var _14q8 = null; this._score = null; }, _14pi; }()); _14o5.RecordRankingLineModel = _14oy; }, 79221: function(_14q9, _14qa, _14qb) { 'use strict'; var _14qc = null; var _14qd = this && this.__createBinding || (Object.create ? function(_14qe, _14qf, _14qg, _14qh) { var _14qi = null; void 0 === _14qh && (_14qh = _14qg); var _14qj = Object.getOwnPropertyDescriptor(_14qf, _14qg); _14qj && !('get' in _14qj ? !_14qf.__esModule : _14qj.writable || _14qj.configurable) || (_14qj = { 'enumerable': !0, 'get': function() { return _14qf[_14qg]; } }), Object.defineProperty(_14qe, _14qh, _14qj); } : function(_14qk, _14ql, _14qm, _14qn) { void 0 === _14qn && (_14qn = _14qm), _14qk[_14qn] = _14ql[_14qm]; }), _14qo = this && this.__exportStar || function(_14qp, _14qq) { var _14qr = null; for (var _14qs in _14qp) 'default' === _14qs || Object.prototype.hasOwnProperty.call(_14qq, _14qs) || _14qd(_14qq, _14qp, _14qs); }; defineModule(_14qa); Object.defineProperty(_14qa, '__esModule', { 'value': !0 }), _14qo(_14qb(59172), _14qa), _14qo(_14qb(89887), _14qa), _14qo(_14qb(83127), _14qa), _14qo(_14qb(7203), _14qa); }, 47946: function(_14qt, _14qu, _14qv) { 'use strict'; var _14qw = null; var _14qx, _14qy = this && this.__extends || (_14qx = function(_14qz, _14r0) { var _14r1 = null; return _14qx = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_14r2, _14r3) { var _14r4 = null; _14r2.__proto__ = _14r3; } || function(_14r5, _14r6) { var _14r7 = null; for (var _14r8 in _14r6) Object.prototype.hasOwnProperty.call(_14r6, _14r8) && (_14r5[_14r8] = _14r6[_14r8]); }, _14qx(_14qz, _14r0); }, function(_14r9, _14ra) { var _14rb = null; if ('function' != typeof _14ra && null !== _14ra) throw new TypeError('Class extends value ' + String(_14ra) + ' is not a constructor or null'); function _14rc() { var _14rd = null; this.constructor = _14r9; } _14qx(_14r9, _14ra), _14r9.prototype = null === _14ra ? Object.create(_14ra) : (_14rc.prototype = _14ra.prototype, new _14rc()); }); defineModule(_14qu); Object.defineProperty(_14qu, '__esModule', { 'value': !0 }), _14qu.FinalizeTask = _14qu.PreFinalizeTask = void 0; var _14re = _14qv(37562), _14rf = _14qv(14921), _14rg = _14qv(13748), _14rh = function(_14ri) { var _14rj = null; function _14rk(_14rl) { var _14rm = null, _14rn = _14ri.call(this) || this; return _14rn._view = _14rl, _14rn; } return _14qy(_14rk, _14ri), _14rk.prototype._start = function() { var _14ro = null; this._view = null, _14rf.EditTextBoxUtil.setVisibility(!1), this._endTask(); }, _14rk; }(_14re.TaskBase); _14qu.PreFinalizeTask = _14rh; var _14rp = function(_14rq) { var _14rr = null; function _14rs(_14rt) { var _14ru = null, _14rv = _14rq.call(this) || this; return _14rv._scene_dispose_delegate = _14rt, _14rv; } return _14qy(_14rs, _14rq), _14rs.prototype._start = function() { var _14rw = null; null != this._scene_dispose_delegate && this._scene_dispose_delegate(), this._view = null, _14rg.UIImageLoader.clearMemoryCache('record'), this._endTask(); }, _14rs; }(_14re.TaskBase); _14qu.FinalizeTask = _14rp; }, 13259: function(_14rx, _14ry, _14rz) { 'use strict'; var _14s0 = null; var _14s1, _14s2 = this && this.__extends || (_14s1 = function(_14s3, _14s4) { var _14s5 = null; return _14s1 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_14s6, _14s7) { var _14s8 = null; _14s6.__proto__ = _14s7; } || function(_14s9, _14sa) { var _14sb = null; for (var _14sc in _14sa) Object.prototype.hasOwnProperty.call(_14sa, _14sc) && (_14s9[_14sc] = _14sa[_14sc]); }, _14s1(_14s3, _14s4); }, function(_14sd, _14se) { var _14sf = null; if ('function' != typeof _14se && null !== _14se) throw new TypeError('Class extends value ' + String(_14se) + ' is not a constructor or null'); function _14sg() { var _14sh = null; this.constructor = _14sd; } _14s1(_14sd, _14se), _14sd.prototype = null === _14se ? Object.create(_14se) : (_14sg.prototype = _14se.prototype, new _14sg()); }), _14si = this && this.__importDefault || function(_14sj) { var _14sk = null; return _14sj && _14sj.__esModule ? _14sj : { 'default': _14sj }; }; defineModule(_14ry); Object.defineProperty(_14ry, '__esModule', { 'value': !0 }), _14ry.InitializeTask = _14ry.PreInitializeTask = void 0; var _14sl = _14si(_14rz(18622)), _14sm = _14rz(37562), _14sn = _14rz(5401), _14so = _14rz(14921), _14sp = function(_14sq) { var _14sr = null; function _14ss(_14st) { var _14su = null, _14sv = _14sq.call(this) || this; return _14sv._scene = _14st, _14sv; } return _14s2(_14ss, _14sq), _14ss.prototype._start = function() { var _14sw = null; this._loadResources(); }, _14ss.prototype._loadResources = function() { var _14sx = null, _14sy = this; new _14sn.TaskLoadResources().start(function() { var _14sz = null; _14sy._showTopView(); }); }, _14ss.prototype._showTopView = function() { var _14t0 = null; this._scene.initialize(), this._scene.startTopTask(), this._scene = null, this._endTask(); }, _14ss; }(_14sm.TaskBase); _14ry.PreInitializeTask = _14sp; var _14t1 = function(_14t2) { var _14t3 = null; function _14t4(_14t5) { var _14t6 = null, _14t7 = _14t2.call(this) || this; return _14t7._scene = _14t5, _14t7; } return _14s2(_14t4, _14t2), _14t4.prototype._start = function() { var _14t8 = null; this._playBGM(), _14so.EditTextBoxUtil.setVisibility(!0); }, _14t4.prototype._playBGM = function() { var _14t9 = null; _14sl.default.sound.bgm.play(102), this._startScene(); }, _14t4.prototype._startScene = function() { var _14ta = null; this._endTask(); }, _14t4; }(_14sm.TaskBase); _14ry.InitializeTask = _14t1; }, 74751: function(_14tb, _14tc, _14td) { 'use strict'; var _14te = null; var _14tf, _14tg = this && this.__extends || (_14tf = function(_14th, _14ti) { var _14tj = null; return _14tf = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_14tk, _14tl) { var _14tm = null; _14tk.__proto__ = _14tl; } || function(_14tn, _14to) { var _14tp = null; for (var _14tq in _14to) Object.prototype.hasOwnProperty.call(_14to, _14tq) && (_14tn[_14tq] = _14to[_14tq]); }, _14tf(_14th, _14ti); }, function(_14tr, _14ts) { var _14tt = null; if ('function' != typeof _14ts && null !== _14ts) throw new TypeError('Class extends value ' + String(_14ts) + ' is not a constructor or null'); function _14tu() { var _14tv = null; this.constructor = _14tr; } _14tf(_14tr, _14ts), _14tr.prototype = null === _14ts ? Object.create(_14ts) : (_14tu.prototype = _14ts.prototype, new _14tu()); }), _14tw = this && this.__importDefault || function(_14tx) { var _14ty = null; return _14tx && _14tx.__esModule ? _14tx : { 'default': _14tx }; }; defineModule(_14tc); Object.defineProperty(_14tc, '__esModule', { 'value': !0 }), _14tc.TaskAirBaseMaint = void 0; var _14tz = _14td(81755), _14u0 = _14td(35380), _14u1 = _14td(87475), _14u2 = _14tw(_14td(18622)), _14u3 = _14td(59907), _14u4 = function(_14u5) { var _14u6 = null; function _14u7(_14u8, _14u9) { var _14ua = null, _14ub = _14u5.call(this) || this; return _14ub._clickClose = function() { var _14uc = null; _14ub.endTask(); }, _14ub._panel = new _14u3.AirBaseMaintPanel(_14u9), _14ub._view = _14u8, _14ub._bg = new _14u1.FadeBox(0), _14ub._bg.buttonMode = !0, _14ub; } return _14tg(_14u7, _14u5), _14u7.prototype._start = function() { var _14ud = null; this._show(); }, _14u7.prototype._show = function() { var _14ue = null; this._panel.position.set(770, 484), this._bg.on(_14u0.EventType.CLICK, this._clickClose), this._view.addChild(this._panel), _14u2.default.view.overLayer.addChild(this._bg); }, _14u7.prototype.endTask = function() { var _14uf = null; this._bg.off(_14u0.EventType.CLICK, this._clickClose), this._view.removeChild(this._panel), _14u2.default.view.overLayer.removeChild(this._bg), this._bg.destroy(), this._bg = null, this._panel.dispose(), this._panel = null, _14u5.prototype._endTask.call(this); }, _14u7; }(_14tz.TaskBase); _14tc.TaskAirBaseMaint = _14u4; }, 5401: function(_14ug, _14uh, _14ui) { 'use strict'; var _14uj = null; var _14uk, _14ul = this && this.__extends || (_14uk = function(_14um, _14un) { var _14uo = null; return _14uk = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_14up, _14uq) { var _14ur = null; _14up.__proto__ = _14uq; } || function(_14us, _14ut) { var _14uu = null; for (var _14uv in _14ut) Object.prototype.hasOwnProperty.call(_14ut, _14uv) && (_14us[_14uv] = _14ut[_14uv]); }, _14uk(_14um, _14un); }, function(_14uw, _14ux) { var _14uy = null; if ('function' != typeof _14ux && null !== _14ux) throw new TypeError('Class extends value ' + String(_14ux) + ' is not a constructor or null'); function _14uz() { var _14v0 = null; this.constructor = _14uw; } _14uk(_14uw, _14ux), _14uw.prototype = null === _14ux ? Object.create(_14ux) : (_14uz.prototype = _14ux.prototype, new _14uz()); }); defineModule(_14uh); Object.defineProperty(_14uh, '__esModule', { 'value': !0 }), _14uh.TaskLoadResources = void 0; var _14v1 = _14ui(81755), _14v2 = _14ui(13748), _14v3 = function(_14v4) { var _14v5 = null; function _14v6() { var _14v7 = null; return _14v4.call(this) || this; } return _14ul(_14v6, _14v4), _14v6.prototype._start = function() { var _14v8 = null; this._load(); }, _14v6.prototype._load = function() { var _14v9 = null, _14va = this, _14vb = new _14v2.UIImageLoader('record'); _14vb.add('record_parts.json').add('record_mini.json').add('record_menu.json').add('record_airbase_maint.json'), _14vb.load(function() { var _14vc = null; _14va._endTask(); }); }, _14v6; }(_14v1.TaskBase); _14uh.TaskLoadResources = _14v3; }, 35141: function(_14vd, _14ve, _14vf) { 'use strict'; var _14vg = null; var _14vh, _14vi = this && this.__extends || (_14vh = function(_14vj, _14vk) { var _14vl = null; return _14vh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_14vm, _14vn) { var _14vo = null; _14vm.__proto__ = _14vn; } || function(_14vp, _14vq) { var _14vr = null; for (var _14vs in _14vq) Object.prototype.hasOwnProperty.call(_14vq, _14vs) && (_14vp[_14vs] = _14vq[_14vs]); }, _14vh(_14vj, _14vk); }, function(_14vt, _14vu) { var _14vv = null; if ('function' != typeof _14vu && null !== _14vu) throw new TypeError('Class extends value ' + String(_14vu) + ' is not a constructor or null'); function _14vw() { var _14vx = null; this.constructor = _14vt; } _14vh(_14vt, _14vu), _14vt.prototype = null === _14vu ? Object.create(_14vu) : (_14vw.prototype = _14vu.prototype, new _14vw()); }), _14vy = this && this.__createBinding || (Object.create ? function(_14vz, _14w0, _14w1, _14w2) { var _14w3 = null; void 0 === _14w2 && (_14w2 = _14w1); var _14w4 = Object.getOwnPropertyDescriptor(_14w0, _14w1); _14w4 && !('get' in _14w4 ? !_14w0.__esModule : _14w4.writable || _14w4.configurable) || (_14w4 = { 'enumerable': !0, 'get': function() { return _14w0[_14w1]; } }), Object.defineProperty(_14vz, _14w2, _14w4); } : function(_14w5, _14w6, _14w7, _14w8) { void 0 === _14w8 && (_14w8 = _14w7), _14w5[_14w8] = _14w6[_14w7]; }), _14w9 = this && this.__setModuleDefault || (Object.create ? function(_14wa, _14wb) { var _14wc = null; Object.defineProperty(_14wa, 'default', { 'enumerable': !0, 'value': _14wb }); } : function(_14wd, _14we) { var _14wf = null; _14wd.default = _14we; }), _14wg = this && this.__importStar || function(_14wh) { var _14wi = null; if (_14wh && _14wh.__esModule) return _14wh; var _14wj = {}; if (null != _14wh) { for (var _14wk in _14wh) 'default' !== _14wk && Object.prototype.hasOwnProperty.call(_14wh, _14wk) && _14vy(_14wj, _14wh, _14wk); } return _14w9(_14wj, _14wh), _14wj; }, _14wl = this && this.__importDefault || function(_14wm) { var _14wn = null; return _14wm && _14wm.__esModule ? _14wm : { 'default': _14wm }; }; defineModule(_14ve); Object.defineProperty(_14ve, '__esModule', { 'value': !0 }), _14ve.TaskTop = void 0; var _14wo, _14wp = _14vf(37562), _14wq = _14wl(_14vf(18622)), _14wr = _14vf(92547), _14ws = _14vf(31000), _14wt = _14vf(73269), _14wu = _14vf(5941), _14wv = _14vf(59172), _14ww = _14vf(53644), _14wx = _14vf(7203), _14wy = _14vf(39050), _14wz = _14vf(26389), _14x0 = _14wg(_14vf(92547)), _14x1 = _14vf(14921), _14x2 = _14vf(39156), _14x3 = _14vf(35380), _14x4 = _14vf(74751), _14x5 = _14vf(16677); ! function(_14x6) { var _14x7 = null; _14x6[_14x6.MODE_INFO = 0] = 'MODE_INFO', _14x6[_14x6.MODE_RANKING = 1] = 'MODE_RANKING'; }(_14wo || (_14wo = {})); var _14x8 = function(_14x9) { var _14xa = null; function _14xb(_14xc) { var _14xd = null, _14xe = _14x9.call(this) || this; _14xe._selected = null, _14xe._recordRankingModel = new Array(101), _14xe._onKeyDown = function() { var _14xf = null, _14xg = _14x1.EditTextBoxUtil.text; _14xe._validation = _14x1.EditTextBoxUtil.validation(_14xg, _14xe._nowComment), _14xe._keydownInput(); }, _14xe._updateComment = function() { var _14xh = null; if (_14xe._nowComment != _14x1.EditTextBoxUtil.text && 0 != _14xe._validation) { var _14xi = _14x1.EditTextBoxUtil.text; _14xi = (_14xi = (_14xi = (_14xi = (_14xi = (_14xi = (_14xi = (_14xi = _14xi.replace(/%/g, '%')).replace(/\t/g, '\x20')).replace(//g, '>')).replace(/&/g, '&')).replace(/\"/g, '')).replace(/\'/g, '')).replace(/\`/g, ''), _14xe._nowComment = _14xi, _14xe._GadgetIP = _14wr.SCHEME + '://' + _14wq.default.settings.osapi_root; var _14xj = _14xe._GadgetIP; 0, window.parent.postMessage(_14x2.PostMessageType.COMMENT + '\x09' + _14xe._nowComment, _14xj), window.addEventListener('message', _14xe._onCallback); } }, _14xe._onCallback = function(_14xk) { var _14xl = null; if (window.removeEventListener('message', _14xe._onCallback), _14xk.origin == _14xe._GadgetIP) { var _14xm = _14xk.data; _14xe._CommentUpdate(_14xe._nowComment, _14xm); } else _14wq.default.view.showError(); }, _14xe._showAirbaseLv = function() { var _14xn = null; new _14x4.TaskAirBaseMaint(_14xe._viewInfo, _14xe._recordInfoModel.airbase).start(); }, _14xe._onClickBtnModeInfo = function() { var _14xo = null; _14x5.WheelEventUtil.clear(), _14xe._topView.btn_modeInfo.interactive = _14xe._topView.btn_modeInfo.buttonMode = !1, _14xe._topView.btn_modeInfo.texture = _14wt.RECORD_MENU.getTexture(4), _14xe._topView.btn_modeRanking.interactive = _14xe._topView.btn_modeRanking.buttonMode = !0, _14xe._topView.btn_modeRanking.texture = _14wt.RECORD_MENU.getTexture(1), _14xe._viewRanking.visible = !1, _14xe._viewInfo.visible = !0, _14xe._topView.sideMenu_light1.texture = _14wt.RECORD_MENU.getTexture(5), _14xe._topView.sideMenu_light1.position.set(_14xe._topView.btn_modeInfo.x, _14xe._topView.btn_modeInfo.y), _14xe._NowMode = _14wo.MODE_INFO, -1 != _14xe._rankingMyPage && (_14xe._rankingLastPage < 51 && _14xe._viewRanking.btn_Rank500.position.set(-150, -150), _14xe._rankingNowPage = _14xe._rankingMyPage, _14x1.EditTextBoxUtil.setVisibility(!0)), _14xe._keydownInput(); }, _14xe._onClickBtnModeRanking = function() { var _14xp = null; _14xe._topView.btn_modeInfo.interactive = _14xe._topView.btn_modeInfo.buttonMode = !0, _14xe._topView.btn_modeInfo.texture = _14wt.RECORD_MENU.getTexture(4), _14xe._topView.btn_modeRanking.interactive = _14xe._topView.btn_modeRanking.buttonMode = !1, _14xe._topView.btn_modeRanking.texture = _14wt.RECORD_MENU.getTexture(1), _14xe._viewRanking.visible = !0, _14xe._viewInfo.visible = !1, _14xe._setRankingPage(0), _14xe._NowMode = _14wo.MODE_RANKING, _14xe._topView.sideMenu_light1.texture = _14wt.RECORD_MENU.getTexture(2), _14xe._topView.sideMenu_light1.position.set(_14xe._topView.btn_modeRanking.x, _14xe._topView.btn_modeRanking.y), _14x1.EditTextBoxUtil.setVisibility(!1), _14x5.WheelEventUtil.regist(_14xe._onWheel); }, _14xe._onClickBtnLists = function(_14xq) { var _14xr = null; switch (_14xq) { case 0: _14xe._onClickBtnListGoMyRank(); break; case 1: _14xe._onClickBtnListGoRank1st(); break; case 2: _14xe._onClickBtnListGoRank501st(); break; case 3: _14xe._onClickBtnListGoPrev(); break; case 4: _14xe._onClickBtnListGoNext(); } }, _14xe._onClickBtnListGoRank1st = function() { var _14xs = null; _14xe._rankingMyPage > 0 && 1 != _14xe._rankingNowPage && (_14xe._rankingNowPage = 1, _14xe._setRankingPage(_14xe._rankingNowPage)); }, _14xe._onClickBtnListGoRank501st = function() { var _14xt = null; _14xe._rankingMyPage > 0 && 51 != _14xe._rankingNowPage && _14xe._rankingLastPage >= 51 && (_14xe._rankingNowPage = 51, _14xe._setRankingPage(_14xe._rankingNowPage)); }, _14xe._onClickBtnListGoMyRank = function() { var _14xu = null; _14xe._rankingMyPage > 0 && _14xe._rankingNowPage != _14xe._rankingMyPage && (_14xe._rankingNowPage = _14xe._rankingMyPage, _14xe._setRankingPage(_14xe._rankingNowPage)); }, _14xe._onClickBtnListGoPrev = function() { var _14xv = null; 1 != _14xe._rankingNowPage && (_14xe._rankingNowPage--, _14xe._setRankingPage(_14xe._rankingNowPage)); }, _14xe._onClickBtnListGoNext = function() { var _14xw = null; _14xe._rankingNowPage != _14xe._rankingLastPage && (_14xe._rankingNowPage++, _14xe._setRankingPage(_14xe._rankingNowPage)); }, _14xe._onClickBtnBack = function() { var _14xx = null; _14xe._removeEventListeners(), _14wq.default.scene.change(0); }, _14xe._onWheel = function(_14xy) { var _14xz = null; if (0 != _14xy.delta) { var _14y0 = _14xy.delta > 0 ? _14xe._rankingNowPage + 1 : _14xe._rankingNowPage - 1; _14y0 < 1 || _14y0 + 1 > _14xe._rankingLastPage || (_14xy.enabledGuard(), _14xy.delta > 0 ? _14xe._onClickBtnListGoNext() : _14xe._onClickBtnListGoPrev()); } }, _14xe._scene = _14xc, _14xe._topView = _14xc.viewTop, _14xe._viewInfo = _14xc.viewInfo, _14xe._viewRanking = _14xc.viewRanking, _14xe._tweens = new Array(), _14xe._NowMode = _14wo.MODE_INFO, _14xe._recordInfoModel = new _14wv.RecordInfoModel(_14xe._o); for (var _14y1 = 0; _14y1 < 101; _14y1++) _14xe._recordRankingModel[_14y1] = new _14wx.RecordRankingModel(_14xe._o); return _14xe._rankingNowPage = 1, _14xe._rankingLastPage = 1, _14xe._rankingMyPage = -1, _14x1.EditTextBoxUtil.init(277, 337, 300, 16, 4473924, 'font_j'), _14x1.EditTextBoxUtil.onLengthCheck(12, _14xe._onKeyDown), _14xe; } return _14vi(_14xb, _14x9), _14xb.prototype.cancel = function() { var _14y2 = null; this._dispose(); }, _14xb.prototype._dispose = function() { var _14y3 = null; this._removeEventListeners(), this._scene = null, this._topView = null, this._selected = null, this._selected = null, this._NowMode = null, this._o = null, this._rankingNowPage = null, this._rankingLastPage = null, this._rankingMyPage = null; for (var _14y4 = 0; _14y4 < 101; _14y4++) this._recordRankingModel[_14y4].remove_list(); this._recordRankingModel = null, this._recordInfoModel = null, _14x1.EditTextBoxUtil.setVisibility(!1); }, _14xb.prototype._start = function() { var _14y5 = null, _14y6 = this; this._topView.btn_back.on(_14x3.EventType.CLICK, this._onClickBtnBack), this._topView.btn_modeInfo.on(_14x3.EventType.CLICK, this._onClickBtnModeInfo), this._topView.btn_modeRanking.on(_14x3.EventType.CLICK, this._onClickBtnModeRanking), this._viewInfo.btn_USER_BTN_EDIT.on(_14x3.EventType.CLICK, this._updateComment), this._viewInfo.btn_airbase_maint.on(_14x3.EventType.CLICK, this._showAirbaseLv), this._viewRanking.btn_RankMy.on(_14x3.EventType.CLICK, function() { var _14y7 = null; _14y6._onClickBtnLists(0); }), this._viewRanking.btn_RankTop.on(_14x3.EventType.CLICK, function() { var _14y8 = null; _14y6._onClickBtnLists(1); }), this._viewRanking.btn_Rank500.on(_14x3.EventType.CLICK, function() { var _14y9 = null; _14y6._onClickBtnLists(2); }), this._viewRanking.btn_ArrowPrev.on(_14x3.EventType.CLICK, function() { var _14ya = null; _14y6._onClickBtnLists(3); }), this._viewRanking.btn_ArrowNext.on(_14x3.EventType.CLICK, function() { var _14yb = null; _14y6._onClickBtnLists(4); }), this._setInfoPage(); }, _14xb.prototype._setInfoPage = function() { var _14yc = null, _14yd = this; new _14ww.RecordInfoAPI(this._recordInfoModel).start(function() { var _14ye = null; _14yd._nowComment = _14yd._recordInfoModel.comment, _14x1.EditTextBoxUtil.text = _14yd._nowComment, _14yd._setInfoParam(), _14yd._onClickBtnModeInfo(); }); }, _14xb.prototype._keydownInput = function() { var _14yf = null; this._viewInfo.btn_USER_BTN_EDIT.dispose(), this._nowComment == _14x1.EditTextBoxUtil.text || 0 == this._validation ? this._viewInfo.btn_USER_BTN_EDIT.initialize(33, 33) : this._viewInfo.btn_USER_BTN_EDIT.initialize(34, 35); }, _14xb.prototype._CommentUpdate = function(_14yg, _14yh) { var _14yi = null, _14yj = this; _14ws.SE.play('246'), new _14wz.RecordUpdateCommentAPI(_14yg, _14yh).start(function() { var _14yk = null; _14yj._viewInfo.btn_USER_BTN_EDIT.dispose(), _14yj._viewInfo.btn_USER_BTN_EDIT.initialize(33, 33), -1 != _14yj._rankingMyPage && (_14yj._recordRankingModel[0].isLoaded = !1, _14yj._recordRankingModel[_14yj._rankingMyPage].isLoaded = !1); }); }, _14xb.prototype._setInfoParam = function() { var _14yl = null; this._viewInfo.NickName.text = this._recordInfoModel.nickname, this._viewInfo.Rank.text = '[' + _14wr.RANK_NAME[this._recordInfoModel.rank] + ']'; var _14ym = _14wq.default.model.basic.port_bgm_id, _14yn = _14wq.default.model.mst_bgm.getMst(_14ym).name; for (this._viewInfo.BGM.text = '♪「' + _14yn + '」'; this._viewInfo.BGM.width > 250;) this._viewInfo.BGM.style.fontSize = this._viewInfo.BGM.style.fontSize - 1; this._viewInfo.Level.text = this._recordInfoModel.level + '', this._viewInfo.Experiences.text = this._recordInfoModel.experience_now + (0 == this._recordInfoModel.experience_next ? '' : '/' + this._recordInfoModel.experience_next), this._viewInfo.WarWin.text = this._recordInfoModel.warWin + '', this._viewInfo.WarLose.text = this._recordInfoModel.warLose + '', this._viewInfo.WarRate.text = 100 * parseFloat(this._recordInfoModel.warRate) + '%', this._viewInfo.MissionCount.text = this._recordInfoModel.missionCount + '', this._viewInfo.MissionSuccess.text = this._recordInfoModel.missionSuccess + '', this._viewInfo.MissionRate.text = Math.round(parseFloat(this._recordInfoModel.missionRate)) + '%', this._viewInfo.PracticeWin.text = this._recordInfoModel.practiceWin + '', this._viewInfo.PracticeLose.text = this._recordInfoModel.practiceLose + '', this._viewInfo.PracticeRate.text = Math.round(parseFloat(this._recordInfoModel.practiceRate)) + '%', this._viewInfo.DeckNum.text = this._recordInfoModel.deckNum + '', this._viewInfo.ArsenalDockNum.text = this._recordInfoModel.kDockNum + '', this._viewInfo.RepairDockNum.text = this._recordInfoModel.nDockNum + '', this._viewInfo.ShipNum.text = this._recordInfoModel.shipNum + '', this._viewInfo.ShipMax.text = this._recordInfoModel.shipMax + '', this._viewInfo.SlotItemNum.text = this._recordInfoModel.slotitemNum + '', this._viewInfo.ShipMaxRemain.text = '+' + (_14wq.default.model.const.boko_max_ships - this._recordInfoModel.shipMax), this._viewInfo.SlotItemMax.text = this._recordInfoModel.slotitemMax + 3 + '', this._viewInfo.FurnitureNum.text = this._recordInfoModel.furnitureNum + '', this._viewInfo.DeckMax.text = '4', this._viewInfo.MaterialMax.text = this._recordInfoModel.materialMax + '', this._viewInfo.DutyExecCount.text = _14wq.default.model.basic.getDutyExecutableCount() + '', this._viewInfo.RevKitCount.text = _14wq.default.model.useItem.getMaterialCounts().revKit + '', this._viewInfo.Level.text = _14wq.default.model.basic.level + '', _14wq.default.model.basic.medal_num >= 2 ? this._viewInfo.Medal_Kou_Num.text = _14wq.default.model.basic.medal_num + '' : this._viewInfo.Medal_Kou_Num.text = ''; }, _14xb.prototype._setRankingPage = function(_14yo) { var _14yp = null, _14yq = this; (100 == _14yo && (_14yo = 0), this._recordRankingModel[_14yo].isLoaded) ? this.__drawRanking(_14yo): new _14wy.RecordRankingAPI(this._recordRankingModel, _14yo).start(function() { var _14yr = null; _14yq.__drawRanking(_14yo), 0 == _14yo && (_14yq._recordRankingModel[_14yo].dispPage <= _14yq._recordRankingModel[_14yo].pageCount ? (_14yq._rankingNowPage = _14yq._recordRankingModel[_14yo].dispPage, _14yq._rankingLastPage = _14yq._recordRankingModel[_14yo].pageCount, _14yq._rankingMyPage = _14yq._rankingNowPage) : (_14yq._rankingNowPage = 100, _14yq._rankingLastPage = _14yq._recordRankingModel[_14yo].pageCount, _14yq._rankingMyPage = 100), _14yq._rankingLastPage < 51 && _14yq._viewRanking.btn_Rank500.position.set(-150, -150), _14yq._pageBtnEnalechk()); }); }, _14xb.prototype._getPortSeed = function(_14ys) { var _14yt = null, _14yu = _14x0.PORT_API_SEED[_14ys % 10]; return (_14yu - _14yu % 100) / 100; }, _14xb.prototype.__drawRanking = function(_14yv) { var _14yw = null; for (var _14yx = 0; _14yx < 10; _14yx++) if (this._recordRankingModel[_14yv].list[_14yx].isLoaded) { var _14yy = [8931, 1201, 1156, 5061, 4569, 4732, 3779, 4568, 5695, 4619, 4912, 5669, 6586][this._recordRankingModel[_14yv].list[_14yx].rank % 13]; this._viewRanking.textN_Rank[_14yx].text = this._recordRankingModel[_14yv].list[_14yx].rank + '', this._viewRanking.textJ_Name[_14yx].text = this._recordRankingModel[_14yv].list[_14yx].nickname, this._recordRankingModel[_14yv].list[_14yx].classrank <= 2 ? this._viewRanking.obj_flag[_14yx].texture = _14wu.RECORD_PARTS.getTexture(16) : this._recordRankingModel[_14yv].list[_14yx].classrank <= 6 ? this._viewRanking.obj_flag[_14yx].texture = _14wu.RECORD_PARTS.getTexture(17) : this._viewRanking.obj_flag[_14yx].texture = _14wu.RECORD_PARTS.getTexture(15), this._viewRanking.obj_flag[_14yx].visible = !0, this._viewRanking.textJ_RankName[_14yx].text = _14wr.RANK_NAME[this._recordRankingModel[_14yv].list[_14yx].classrank] + '', this._viewRanking.obj_balloon[_14yx].visible = !0, this._viewRanking.textJ_Comment[_14yx].text = this._recordRankingModel[_14yv].list[_14yx].comment; var _14yz = this._recordRankingModel[_14yv].list[_14yx].medals; (_14yz = _14yz / (_14yy + 1853) - 157) < 1 ? (this._viewRanking.obj_medal[_14yx].position.set(-150, 231 + 45 * _14yx), this._viewRanking.obj_medal[_14yx].visible = !1) : (this._viewRanking.obj_medal[_14yx].position.set(1021, 231 + 45 * _14yx), this._viewRanking.obj_medal[_14yx].visible = !0), this._viewRanking.textN_Medal[_14yx].text = _14yz < 2 ? '' : _14yz + '', this._viewRanking.obj_medal[_14yx].scale.set(1, 1); var _14z0 = this._recordRankingModel[_14yv].list[_14yx].score[0]; _14z0 = _14z0 / _14yy / this._getPortSeed(_14wq.default.model.basic.member_id) - 91, this._viewRanking.textN_Score[_14yx].text = _14z0 + ''; } else this._viewRanking.textN_Rank[_14yx].text = '', this._viewRanking.textJ_Name[_14yx].text = '', this._viewRanking.obj_flag[_14yx].visible = !1, this._viewRanking.textJ_RankName[_14yx].text = '', this._viewRanking.obj_balloon[_14yx].visible = !1, this._viewRanking.textJ_Comment[_14yx].text = '', this._viewRanking.obj_medal[_14yx].visible = !1, this._viewRanking.textN_Medal[_14yx].text = '', this._viewRanking.textN_Score[_14yx].text = ''; this._pageBtnEnalechk(); }, _14xb.prototype._pageBtnEnalechk = function() { var _14z1 = null, _14z2 = !0, _14z3 = !0; 100 == this._rankingNowPage && (_14z2 = !1, _14z3 = !1), 1 == this._rankingNowPage && (_14z2 = !1), this._rankingNowPage == this._rankingLastPage && (_14z3 = !1), this._viewRanking.btn_ArrowPrev.interactive = this._viewRanking.btn_ArrowPrev.buttonMode = _14z2, this._viewRanking.btn_ArrowPrev.visible = _14z2, this._viewRanking.btn_ArrowNext.interactive = this._viewRanking.btn_ArrowNext.buttonMode = _14z3, this._viewRanking.btn_ArrowNext.visible = _14z3; }, _14xb.prototype._removeEventListeners = function() { var _14z4 = null, _14z5 = this; _14x1.EditTextBoxUtil.onEventDestroy(), this._topView.btn_back.off(_14x3.EventType.CLICK, this._onClickBtnBack), this._topView.btn_modeInfo.off(_14x3.EventType.CLICK, this._onClickBtnModeInfo), this._topView.btn_modeRanking.off(_14x3.EventType.CLICK, this._onClickBtnModeRanking), this._viewInfo.btn_USER_BTN_EDIT.off(_14x3.EventType.CLICK, this._updateComment), this._viewRanking.btn_RankMy.off(_14x3.EventType.CLICK, function() { var _14z6 = null; _14z5._onClickBtnLists(0); }), this._viewRanking.btn_RankTop.off(_14x3.EventType.CLICK, function() { var _14z7 = null; _14z5._onClickBtnLists(1); }), this._viewRanking.btn_Rank500.off(_14x3.EventType.CLICK, function() { var _14z8 = null; _14z5._onClickBtnLists(2); }), this._viewRanking.btn_ArrowPrev.off(_14x3.EventType.CLICK, function() { var _14z9 = null; _14z5._onClickBtnLists(3); }), this._viewRanking.btn_ArrowNext.off(_14x3.EventType.CLICK, function() { var _14za = null; _14z5._onClickBtnLists(4); }); }, _14xb.prototype._endTask = function(_14zb) { var _14zc = null; void 0 === _14zb && (_14zb = !1), _14x9.prototype._endTask.call(this); }, _14xb; }(_14wp.TaskBase); _14ve.TaskTop = _14x8; }, 21399: function(_14zd, _14ze, _14zf) { 'use strict'; var _14zg = null; var _14zh = this && this.__createBinding || (Object.create ? function(_14zi, _14zj, _14zk, _14zl) { var _14zm = null; void 0 === _14zl && (_14zl = _14zk); var _14zn = Object.getOwnPropertyDescriptor(_14zj, _14zk); _14zn && !('get' in _14zn ? !_14zj.__esModule : _14zn.writable || _14zn.configurable) || (_14zn = { 'enumerable': !0, 'get': function() { return _14zj[_14zk]; } }), Object.defineProperty(_14zi, _14zl, _14zn); } : function(_14zo, _14zp, _14zq, _14zr) { void 0 === _14zr && (_14zr = _14zq), _14zo[_14zr] = _14zp[_14zq]; }), _14zs = this && this.__exportStar || function(_14zt, _14zu) { var _14zv = null; for (var _14zw in _14zt) 'default' === _14zw || Object.prototype.hasOwnProperty.call(_14zu, _14zw) || _14zh(_14zu, _14zt, _14zw); }; defineModule(_14ze); Object.defineProperty(_14ze, '__esModule', { 'value': !0 }), _14zs(_14zf(35141), _14ze); }, 59907: function(_14zx, _14zy, _14zz) { 'use strict'; var _1500 = null; var _1501, _1502 = this && this.__extends || (_1501 = function(_1503, _1504) { var _1505 = null; return _1501 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1506, _1507) { var _1508 = null; _1506.__proto__ = _1507; } || function(_1509, _150a) { var _150b = null; for (var _150c in _150a) Object.prototype.hasOwnProperty.call(_150a, _150c) && (_1509[_150c] = _150a[_150c]); }, _1501(_1503, _1504); }, function(_150d, _150e) { var _150f = null; if ('function' != typeof _150e && null !== _150e) throw new TypeError('Class extends value ' + String(_150e) + ' is not a constructor or null'); function _150g() { var _150h = null; this.constructor = _150d; } _1501(_150d, _150e), _150d.prototype = null === _150e ? Object.create(_150e) : (_150g.prototype = _150e.prototype, new _150g()); }); defineModule(_14zy); Object.defineProperty(_14zy, '__esModule', { 'value': !0 }), _14zy.AirBaseMaintPanel = void 0; var _150i = _14zz(76693), _150j = _14zz(46226), _150k = _14zz(71633), _150l = function(_150m) { var _150n = null; function _150o(_150p) { var _150q = null, _150r = _150m.call(this) || this; _150r.VIEW_AREA_IDS = [_150k.EventConst.AREA_ID, 7, 5, 6], _150r._getAirBaseInfo = function(_150s) { var _150t = null; return _150s == _150k.EventConst.AREA_ID ? _150r._data.getAirBaseEvent() : _150r._data.getAirBase(_150s); }, _150r._data = _150p, _150r._airbase_views = new Array(); for (var _150u = 0; _150u < _150r.VIEW_AREA_IDS.length; _150u++) { var _150v = _150r.VIEW_AREA_IDS[_150u], _150w = new _150j.AirBaseView(_150v), _150x = _150r._getAirBaseInfo(_150v); _150w.update(_150x), _150r._airbase_views.push(_150w); } return _150r._bg = new PIXI.Sprite(_150i.RECORD_AIRBASE_MAINT.getTexture(0)), _150r.addChild(_150r._bg), _150r._airbase_views.forEach(function(_150y, _150z) { var _1510 = null; 0 == _150z ? _150y.position.set(20, 35) : _150y.position.set(94 * (_150z - 1) + 129, 35), _150r.addChild(_150y); }), _150r.interactive = !0, _150r; } return _1502(_150o, _150m), _150o.prototype.dispose = function() { var _1511 = null; this.removeChildren(), this._bg.destroy(), this._bg = null, this._airbase_views.forEach(function(_1512) { var _1513 = null; _1512.dispose(), _1512 = null; }), this._airbase_views = null; }, _150o; }(PIXI.Container); _14zy.AirBaseMaintPanel = _150l; }, 46226: function(_1514, _1515, _1516) { 'use strict'; var _1517 = null; var _1518, _1519 = this && this.__extends || (_1518 = function(_151a, _151b) { var _151c = null; return _1518 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_151d, _151e) { var _151f = null; _151d.__proto__ = _151e; } || function(_151g, _151h) { var _151i = null; for (var _151j in _151h) Object.prototype.hasOwnProperty.call(_151h, _151j) && (_151g[_151j] = _151h[_151j]); }, _1518(_151a, _151b); }, function(_151k, _151l) { var _151m = null; if ('function' != typeof _151l && null !== _151l) throw new TypeError('Class extends value ' + String(_151l) + ' is not a constructor or null'); function _151n() { var _151o = null; this.constructor = _151k; } _1518(_151k, _151l), _151k.prototype = null === _151l ? Object.create(_151l) : (_151n.prototype = _151l.prototype, new _151n()); }); defineModule(_1515); Object.defineProperty(_1515, '__esModule', { 'value': !0 }), _1515.AirBaseView = void 0; var _151p = _1516(71633), _151q = _1516(76693), _151r = function(_151s) { var _151t = null; function _151u(_151v) { var _151w = null, _151x = _151s.call(this) || this; return _151x._view_area_id = _151v, _151x._area_icon = new _151y(_151x._view_area_id), _151x._area_icon.position.set(0, 0), _151x._lv = new _151z(), _151x._lv.position.set(-1, 63), _151x.addChild(_151x._area_icon), _151x.addChild(_151x._lv), _151x; } return _1519(_151u, _151s), _151u.prototype.update = function(_1520) { var _1521 = null; this._area_icon.update(null == _1520 ? void 0 : _1520.level), -1 == [5].indexOf(this._view_area_id) ? this._lv.update(null == _1520 ? void 0 : _1520.level, !0) : this._lv.update(null, !1); }, _151u.prototype.dispose = function() { var _1522 = null; this.removeChildren(), this._area_icon.dispose(), this._area_icon = null, this._lv.dispose(), this._lv = null; }, _151u; }(PIXI.Container); _1515.AirBaseView = _151r; var _151y = function(_1523) { var _1524 = null; function _1525(_1526) { var _1527 = null, _1528 = _1523.call(this) || this; return _1528._view_area_id = _1526, _1528; } return _1519(_1525, _1523), _1525.prototype.update = function(_1529) { var _152a = null; null != _1529 && _1529 > 0 ? this._update(!0) : this._update(!1); }, _1525.prototype._update = function(_152b) { var _152c = null; this.texture = _152b ? this._getTextureOn() : this._getTexture(); }, _1525.prototype._getTexture = function() { var _152d = null; switch (this._view_area_id) { case _151p.EventConst.AREA_ID: return _151q.RECORD_AIRBASE_MAINT.getTexture(6); case 7: return _151q.RECORD_AIRBASE_MAINT.getTexture(1); case 5: return _151q.RECORD_AIRBASE_MAINT.getTexture(3); case 6: return _151q.RECORD_AIRBASE_MAINT.getTexture(4); } }, _1525.prototype._getTextureOn = function() { var _152e = null; switch (this._view_area_id) { case _151p.EventConst.AREA_ID: return _151q.RECORD_AIRBASE_MAINT.getTexture(7); case 7: return _151q.RECORD_AIRBASE_MAINT.getTexture(2); case 5: return _151q.RECORD_AIRBASE_MAINT.getTexture(3); case 6: return _151q.RECORD_AIRBASE_MAINT.getTexture(5); } }, _1525.prototype.dispose = function() { var _152f = null; this.destroy(); }, _1525; }(PIXI.Sprite), _151z = function(_152g) { var _152h = null; function _152i() { var _152j = null, _152k = _152g.call(this) || this; return _152k._bg = new PIXI.Sprite(_151q.RECORD_AIRBASE_MAINT.getTexture(8)), _152k._lv_txt = new PIXI.Sprite(), _152k.addChild(_152k._bg), _152k.addChild(_152k._lv_txt), _152k; } return _1519(_152i, _152g), _152i.prototype.update = function(_152l, _152m) { var _152n = null, _152o = this._getLvTexture(_152l), _152p = _152o.texture, _152q = _152o.pos_y; this._lv_txt.texture = _152p, this._lv_txt.position.set(Math.floor(this._bg.width / 2 - this._lv_txt.width / 2), _152q), this._lv_txt.visible = _152m; }, _152i.prototype._getLvTexture = function(_152r) { var _152s = null; switch (_152r) { case 1: return { 'texture': _151q.RECORD_AIRBASE_MAINT.getTexture(10), 'pos_y': 3 }; case 2: return { 'texture': _151q.RECORD_AIRBASE_MAINT.getTexture(11), 'pos_y': 3 }; case 3: return { 'texture': _151q.RECORD_AIRBASE_MAINT.getTexture(12), 'pos_y': 3 }; default: return { 'texture': _151q.RECORD_AIRBASE_MAINT.getTexture(9), 'pos_y': 6 }; } }, _152i.prototype.dispose = function() { var _152t = null; this.removeChildren(), this._bg.destroy(), this._bg = null, this._lv_txt.destroy(), this._lv_txt = null; }, _152i; }(PIXI.Container); }, 68172: function(_152u, _152v, _152w) { 'use strict'; var _152x = null; var _152y, _152z = this && this.__extends || (_152y = function(_1530, _1531) { var _1532 = null; return _152y = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1533, _1534) { var _1535 = null; _1533.__proto__ = _1534; } || function(_1536, _1537) { var _1538 = null; for (var _1539 in _1537) Object.prototype.hasOwnProperty.call(_1537, _1539) && (_1536[_1539] = _1537[_1539]); }, _152y(_1530, _1531); }, function(_153a, _153b) { var _153c = null; if ('function' != typeof _153b && null !== _153b) throw new TypeError('Class extends value ' + String(_153b) + ' is not a constructor or null'); function _153d() { var _153e = null; this.constructor = _153a; } _152y(_153a, _153b), _153a.prototype = null === _153b ? Object.create(_153b) : (_153d.prototype = _153b.prototype, new _153d()); }); defineModule(_152v); Object.defineProperty(_152v, '__esModule', { 'value': !0 }), _152v.RecordMiniChara = void 0; var _153f = _152w(63328), _153g = function(_153h) { var _153i = null; function _153j() { var _153k = null, _153l = _153h.call(this) || this; return _153l._eye_open_flag = !0, _153l._disposed = !1, _153l._onUpdate = function() {}, _153l; } return _152z(_153j, _153h), _153j.prototype.initialize = function() { var _153m = null; this._update(); }, _153j.prototype.activate = function() { var _153n = null; this._startWaiting(); }, _153j.prototype.deactivate = function() { var _153o = null; this._stopWaiting(); }, _153j.prototype.dispose = function() { var _153p = null; this._disposed = !0, this._t.setPaused(!0), this._t = null, this.deactivate(); }, _153j.prototype._update = function() { var _153q = null; 1 == this._eye_open_flag ? this.texture = _153f.RECORD_MINI.getTexture(0) : this.texture = _153f.RECORD_MINI.getTexture(1); }, _153j.prototype._startWaiting = function() { var _153r = null, _153s = this; if (null == this._t && !this._disposed) { var _153t = 0; _153t = 1 == this._eye_open_flag ? 3000 * Math.random() + 10000 : 200 * Math.random() + 100, this._t = createjs.Tween.get(null, { 'onChange': this._onUpdate }).wait(_153t).call(function() { var _153u = null; _153s._eye_open_flag = !_153s._eye_open_flag, _153s._update(), _153s._t = null, _153s._startWaiting(); }); } }, _153j.prototype._stopWaiting = function() { var _153v = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _153j; }(PIXI.Sprite); _152v.RecordMiniChara = _153g; }, 56871: function(_153w, _153x, _153y) { 'use strict'; var _153z = null; var _1540, _1541 = this && this.__extends || (_1540 = function(_1542, _1543) { var _1544 = null; return _1540 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1545, _1546) { var _1547 = null; _1545.__proto__ = _1546; } || function(_1548, _1549) { var _154a = null; for (var _154b in _1549) Object.prototype.hasOwnProperty.call(_1549, _154b) && (_1548[_154b] = _1549[_154b]); }, _1540(_1542, _1543); }, function(_154c, _154d) { var _154e = null; if ('function' != typeof _154d && null !== _154d) throw new TypeError('Class extends value ' + String(_154d) + ' is not a constructor or null'); function _154f() { var _154g = null; this.constructor = _154c; } _1540(_154c, _154d), _154c.prototype = null === _154d ? Object.create(_154d) : (_154f.prototype = _154d.prototype, new _154f()); }); defineModule(_153x); Object.defineProperty(_153x, '__esModule', { 'value': !0 }), _153x.RecordKiraLayer = void 0; var _154h = _153y(63328), _154i = function(_154j) { var _154k = null; function _154l() { var _154m = null, _154n = _154j.call(this) || this; _154n._particle = new Array(); for (var _154o = [0, 4, 16], _154p = [0, 24, 16], _154q = 0; _154q < _154o.length; _154q++) { var _154r = new _154s(); _154r.position.set(_154o[_154q], _154p[_154q]), _154n.addChild(_154r), _154n._particle.push(_154r); } return _154n; } return _1541(_154l, _154j), _154l.prototype.initialize = function() { var _154t = null; for (var _154u = 0, _154v = this._particle; _154u < _154v.length; _154u++) { var _154w = _154v[_154u]; _154w.initialize(), _154w.startAnim(); } }, _154l.prototype.dispose = function() { var _154x = null; for (var _154y = 0, _154z = this._particle; _154y < _154z.length; _154y++) { _154z[_154y].stopAnim(); } this._particle = null; }, _154l; }(PIXI.Container); _153x.RecordKiraLayer = _154i; var _154s = function(_1550) { var _1551 = null; function _1552() { var _1553 = null, _1554 = _1550.call(this) || this; return _1554.alpha = 0, _1554; } return _1541(_1552, _1550), _1552.prototype.initialize = function() { var _1555 = null; this.texture = _154h.RECORD_MINI.getTexture(2); }, _1552.prototype.startAnim = function() { var _1556 = null; this._anim(); }, _1552.prototype.stopAnim = function() { var _1557 = null; null != this._tween && (this._tween.setPaused(!0), this._tween = null); }, _1552.prototype._anim = function() { var _1558 = null, _1559 = this; this._tween = createjs.Tween.get(this).wait(1000 * Math.random() + 1000).to({ 'alpha': 1 }, 150).to({ 'alpha': 0 }, 150).call(function() { var _155a = null; _1559._tween = null, _1559._anim(); }); }, _1552; }(PIXI.Sprite); }, 70365: function(_155b, _155c, _155d) { 'use strict'; var _155e = null; var _155f, _155g = this && this.__extends || (_155f = function(_155h, _155i) { var _155j = null; return _155f = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_155k, _155l) { var _155m = null; _155k.__proto__ = _155l; } || function(_155n, _155o) { var _155p = null; for (var _155q in _155o) Object.prototype.hasOwnProperty.call(_155o, _155q) && (_155n[_155q] = _155o[_155q]); }, _155f(_155h, _155i); }, function(_155r, _155s) { var _155t = null; if ('function' != typeof _155s && null !== _155s) throw new TypeError('Class extends value ' + String(_155s) + ' is not a constructor or null'); function _155u() { var _155v = null; this.constructor = _155r; } _155f(_155r, _155s), _155r.prototype = null === _155s ? Object.create(_155s) : (_155u.prototype = _155s.prototype, new _155u()); }), _155w = this && this.__importDefault || function(_155x) { var _155y = null; return _155x && _155x.__esModule ? _155x : { 'default': _155x }; }; defineModule(_155c); Object.defineProperty(_155c, '__esModule', { 'value': !0 }), _155c.ViewInfo = void 0; var _155z = _155d(11997), _1560 = _155d(5941), _1561 = _155d(8744), _1562 = _155d(51932), _1563 = _155w(_155d(18622)), _1564 = _155d(35380), _1565 = function(_1566) { var _1567 = null; function _1568() { var _1569 = null, _156a = _1566.call(this) || this; return _156a._disposed = !1, _156a; } return _155g(_1568, _1566), Object.defineProperty(_1568.prototype, 'NickName', { 'get': function() { var _156b = null; return this._textJ_NickName; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'Rank', { 'get': function() { var _156c = null; return this._textJ_Rank; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'BGM', { 'get': function() { var _156d = null; return this._textJ_BGM; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'DeckNum', { 'get': function() { var _156e = null; return this._textN_DeckNum; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'ArsenalDockNum', { 'get': function() { var _156f = null; return this._textN_ArsenalDockNum; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'RepairDockNum', { 'get': function() { var _156g = null; return this._textN_RepairDockNum; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'ShipNum', { 'get': function() { var _156h = null; return this._textN_ShipNum; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'SlotItemNum', { 'get': function() { var _156i = null; return this._textN_SlotItemNum; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'FurnitureNum', { 'get': function() { var _156j = null; return this._textN_FurnitureNum; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'DeckMax', { 'get': function() { var _156k = null; return this._textN_DeckMax; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'ShipMax', { 'get': function() { var _156l = null; return this._textN_ShipMax; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'ShipMaxRemain', { 'get': function() { var _156m = null; return this._textN_ShipMaxRemain; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'SlotItemMax', { 'get': function() { var _156n = null; return this._textN_SlotItemMax; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'DutyExecCount', { 'get': function() { var _156o = null; return this._textN_DutyExecCount; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'MaterialMax', { 'get': function() { var _156p = null; return this._textN_MaterialMax; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'RevKitCount', { 'get': function() { var _156q = null; return this._textN_RevKitCount; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'Level', { 'get': function() { var _156r = null; return this._textN_Level; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'Experiences', { 'get': function() { var _156s = null; return this._textN_Experiences; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'WarWin', { 'get': function() { var _156t = null; return this._textN_WarWin; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'WarLose', { 'get': function() { var _156u = null; return this._textN_WarLose; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'WarRate', { 'get': function() { var _156v = null; return this._textN_WarRate; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'MissionCount', { 'get': function() { var _156w = null; return this._textN_MissionCount; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'MissionSuccess', { 'get': function() { var _156x = null; return this._textN_MissionSuccess; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'MissionRate', { 'get': function() { var _156y = null; return this._textN_MissionRate; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'PracticeWin', { 'get': function() { var _156z = null; return this._textN_PracticeWin; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'PracticeLose', { 'get': function() { var _1570 = null; return this._textN_PracticeLose; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'PracticeRate', { 'get': function() { var _1571 = null; return this._textN_PracticeRate; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'Medal_Kou_Num', { 'get': function() { var _1572 = null; return this._textN_Medal_Kou_Num; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'btn_USER_BTN_EDIT', { 'get': function() { var _1573 = null; return this._btn_USER_BTN_EDIT; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1568.prototype, 'btn_airbase_maint', { 'get': function() { var _1574 = null; return this._btn_airbase_maint; }, 'enumerable': !1, 'configurable': !0 }), _1568.prototype.initialize = function() { var _1575 = null, _1576 = this; this._bg = new PIXI.Sprite(_155z.COMMON_MISC.getTexture(52)), this._bg.position.set(171, 103), this._header = new PIXI.Sprite(_1560.RECORD_PARTS.getTexture(31)), this._header.anchor.set(1, 0), this._header.position.set(1200, 102), this.addChild(this._bg), this.addChild(this._header), this._obj_USER_TXT1 = new PIXI.Sprite(_1560.RECORD_PARTS.getTexture(41)), this._obj_USER_TXT1.position.set(219, 192), this.addChild(this._obj_USER_TXT1), this._obj_CLASS = new PIXI.Sprite(_155z.COMMON_MISC.getTexture(this._getClassTexture(_1563.default.model.basic.rank))), this._obj_CLASS.position.set(258, 235), this.addChild(this._obj_CLASS), this._obj_USER_TXT2 = new PIXI.Sprite(_1560.RECORD_PARTS.getTexture(42)), this._obj_USER_TXT2.position.set(360, 258), this.addChild(this._obj_USER_TXT2), this._obj_USER_ICON1 = new PIXI.Sprite(_1560.RECORD_PARTS.getTexture(19)), this._obj_USER_ICON1.position.set(360, 294), this.addChild(this._obj_USER_ICON1), this._obj_USER_COMMENT = new PIXI.Sprite(_1560.RECORD_PARTS.getTexture(36)), this._obj_USER_COMMENT.position.set(270, 334), this.addChild(this._obj_USER_COMMENT), this._obj_USER_BG = new PIXI.Sprite(_1560.RECORD_PARTS.getTexture(32)), this._obj_USER_BG.position.set(204, 405), this.addChild(this._obj_USER_BG), _1563.default.model.basic.medal_num > 0 && (this._obj_ICON_CLEAR_1S = new PIXI.Sprite(_1560.RECORD_PARTS.getTexture(20)), this._obj_ICON_CLEAR_1S.position.set(684, 640), this.addChild(this._obj_ICON_CLEAR_1S)), this._obj_USER_INFO2_BG2 = new PIXI.Sprite(_1560.RECORD_PARTS.getTexture(38)), this._obj_USER_INFO2_BG2.position.set(775, 195), this.addChild(this._obj_USER_INFO2_BG2), this._obj_BROWN_S_KANTAI = new PIXI.Sprite(_1560.RECORD_PARTS.getTexture(3)), this._obj_BROWN_S_KANTAI.position.set(1176, 199), this._obj_BROWN_S_KANTAI.anchor.set(1, 0), this.addChild(this._obj_BROWN_S_KANTAI), this._obj_BROWN_S_SHISETSU1 = new PIXI.Sprite(_1560.RECORD_PARTS.getTexture(5)), this._obj_BROWN_S_SHISETSU1.position.set(1176, 226), this._obj_BROWN_S_SHISETSU1.anchor.set(1, 0), this.addChild(this._obj_BROWN_S_SHISETSU1), this._obj_BROWN_S_SHISETSU2 = new PIXI.Sprite(_1560.RECORD_PARTS.getTexture(5)), this._obj_BROWN_S_SHISETSU2.position.set(1176, 253), this._obj_BROWN_S_SHISETSU2.anchor.set(1, 0), this.addChild(this._obj_BROWN_S_SHISETSU2), this._obj_BROWN_S_SEKI = new PIXI.Sprite(_1560.RECORD_PARTS.getTexture(4)), this._obj_BROWN_S_SEKI.position.set(1176, 280), this._obj_BROWN_S_SEKI.anchor.set(1, 0), this.addChild(this._obj_BROWN_S_SEKI), this._obj_WorldName = new _1562.WorldTextImage(), this._obj_WorldName.load('small'), this._obj_WorldName.anchor.set(0, 0), this._obj_WorldName.texture.baseTexture.hasLoaded ? this._alignMid(this._obj_WorldName, 1120, 372) : this._obj_WorldName.texture.baseTexture.addListener('loaded', function() { var _1577 = null; _1576._alignMid(_1576._obj_WorldName, 1120, 372); }), this.addChild(this._obj_WorldName), this._obj_BLUE_S_SHISETSU = new PIXI.Sprite(_1560.RECORD_PARTS.getTexture(2)), this._obj_BLUE_S_SHISETSU.position.set(1176, 415), this._obj_BLUE_S_SHISETSU.anchor.set(1, 0), this.addChild(this._obj_BLUE_S_SHISETSU), this._obj_BLUE_S_SEKI = new PIXI.Sprite(_1560.RECORD_PARTS.getTexture(1)), this._obj_BLUE_S_SEKI.position.set(1176, 442), this._obj_BLUE_S_SEKI.anchor.set(1, 0), this.addChild(this._obj_BLUE_S_SEKI), this._obj_USER_TXT_SEKI = new PIXI.Sprite(_1560.RECORD_PARTS.getTexture(44)), this._obj_USER_TXT_SEKI.position.set(1176, 469), this._obj_USER_TXT_SEKI.anchor.set(1, 0), this.addChild(this._obj_USER_TXT_SEKI), this._obj_USER_INFO2_TXT = new PIXI.Sprite(_1560.RECORD_PARTS.getTexture(40)), this._obj_USER_INFO2_TXT.position.set(780, 579), this.addChild(this._obj_USER_INFO2_TXT), this._obj_USER_INFO2_KAISYU = new PIXI.Sprite(_1560.RECORD_PARTS.getTexture(39)), this._obj_USER_INFO2_KAISYU.position.set(1050, 579), this.addChild(this._obj_USER_INFO2_KAISYU), this._obj_JUKEBOX_BG2 = new PIXI.Sprite(_1560.RECORD_PARTS.getTexture(23)), this._obj_JUKEBOX_BG2.position.set(774, 660), this.addChild(this._obj_JUKEBOX_BG2), this._obj_USER_ILINE1 = new PIXI.Sprite(_1560.RECORD_PARTS.getTexture(37)), this._obj_USER_ILINE1.position.set(1053, 600), this.addChild(this._obj_USER_ILINE1), _1563.default.model.useItem.getCount(79) > 0 && (this._obj_ICON_CLEAR_4S = new PIXI.Sprite(_1560.RECORD_PARTS.getTexture(21)), this._obj_ICON_CLEAR_4S.position.set(471, 601), this.addChild(this._obj_ICON_CLEAR_4S)), _1563.default.model.useItem.getCount(81) + _1563.default.model.useItem.getCount(82) + _1563.default.model.useItem.getCount(83) + _1563.default.model.useItem.getCount(84) > 0 && (this._obj_ICON_CLEAR_5S = new PIXI.Sprite(_1560.RECORD_PARTS.getTexture(22)), this._obj_ICON_CLEAR_5S.position.set(529, 596), this.addChild(this._obj_ICON_CLEAR_5S)), this._textJ_NickName = new _1561.TextBox(30, 4473924), this._textJ_NickName.text = _1563.default.model.basic.nickName, this._textJ_NickName.position.set(312, 186), this.addChild(this._textJ_NickName), this._textJ_Rank = new _1561.TextBox(20, 4473924), this._textJ_Rank.text = '', this._textJ_Rank.position.set(457, 252), this.addChild(this._textJ_Rank), this._textJ_BGM = new _1561.TextBox(18, 4473924), this._textJ_BGM.text = '', this._textJ_BGM.anchor.set(1, 1), this._textJ_BGM.position.set(1180, 686), this.addChild(this._textJ_BGM); var _1578 = 21; this._textN_DeckNum = new _1561.TextBox(_1578, 4473924), this._textN_DeckNum.text = '', this._textN_DeckNum.anchor.set(1, 0), this._textN_DeckNum.position.set(1141, 195), this.addChild(this._textN_DeckNum), this._textN_ArsenalDockNum = new _1561.TextBox(_1578, 4473924), this._textN_ArsenalDockNum.text = '', this._textN_ArsenalDockNum.anchor.set(1, 0), this._textN_ArsenalDockNum.position.set(1141, 222), this.addChild(this._textN_ArsenalDockNum), this._textN_RepairDockNum = new _1561.TextBox(_1578, 4473924), this._textN_RepairDockNum.text = '', this._textN_RepairDockNum.anchor.set(1, 0), this._textN_RepairDockNum.position.set(1141, 249), this.addChild(this._textN_RepairDockNum), this._textN_ShipNum = new _1561.TextBox(_1578, 4473924), this._textN_ShipNum.text = '', this._textN_ShipNum.anchor.set(1, 0), this._textN_ShipNum.position.set(1158, 276), this.addChild(this._textN_ShipNum), this._textN_SlotItemNum = new _1561.TextBox(_1578, 4473924), this._textN_SlotItemNum.text = '', this._textN_SlotItemNum.anchor.set(1, 0), this._textN_SlotItemNum.position.set(1179, 303), this.addChild(this._textN_SlotItemNum), this._textN_FurnitureNum = new _1561.TextBox(_1578, 4473924), this._textN_FurnitureNum.text = '', this._textN_FurnitureNum.anchor.set(1, 0), this._textN_FurnitureNum.position.set(1179, 330), this.addChild(this._textN_FurnitureNum), this._textN_DeckMax = new _1561.TextBox(_1578, 2334367), this._textN_DeckMax.text = '', this._textN_DeckMax.anchor.set(1, 0), this._textN_DeckMax.position.set(1141, 411), this.addChild(this._textN_DeckMax), this._textN_ShipMax = new _1561.TextBox(_1578, 2334367), this._textN_ShipMax.text = '', this._textN_ShipMax.anchor.set(1, 0), this._textN_ShipMax.position.set(1158, 438), this.addChild(this._textN_ShipMax), this._textN_ShipMaxRemain = new _1561.TextBox(_1578, 2323103), this._textN_ShipMaxRemain.text = '', this._textN_ShipMaxRemain.anchor.set(1, 0), this._textN_ShipMaxRemain.position.set(1158, 465), this.addChild(this._textN_ShipMaxRemain), this._textN_SlotItemMax = new _1561.TextBox(_1578, 2334367), this._textN_SlotItemMax.text = '', this._textN_SlotItemMax.anchor.set(1, 0), this._textN_SlotItemMax.position.set(1179, 492), this.addChild(this._textN_SlotItemMax), this._textN_DutyExecCount = new _1561.TextBox(_1578, 2334367), this._textN_DutyExecCount.text = '', this._textN_DutyExecCount.anchor.set(1, 0), this._textN_DutyExecCount.position.set(1179, 519), this.addChild(this._textN_DutyExecCount), this._textN_MaterialMax = new _1561.TextBox(_1578, 2334367), this._textN_MaterialMax.text = '', this._textN_MaterialMax.anchor.set(1, 0), this._textN_MaterialMax.position.set(1179, 546), this.addChild(this._textN_MaterialMax), this._textN_RevKitCount = new _1561.TextBox(_1578, 10324338), this._textN_RevKitCount.text = '', this._textN_RevKitCount.anchor.set(1, 0), this._textN_RevKitCount.position.set(1179, 573), this.addChild(this._textN_RevKitCount), this._textN_Level = new _1561.TextBox(28, 4473924), this._textN_Level.text = '', this._textN_Level.position.set(393, 248), this.addChild(this._textN_Level), this._textN_Experiences = new _1561.TextBox(24, 4473924), this._textN_Experiences.text = '', this._textN_Experiences.position.set(490, 291), this.addChild(this._textN_Experiences); var _1579 = 21; this._textN_WarWin = new _1561.TextBox(_1579, 16777215), this._textN_WarWin.text = '', this._textN_WarWin.anchor.set(1, 0), this._textN_WarWin.position.set(450, 430), this.addChild(this._textN_WarWin), this._textN_WarLose = new _1561.TextBox(_1579, 16777215), this._textN_WarLose.text = '', this._textN_WarLose.anchor.set(1, 0), this._textN_WarLose.position.set(450, 460), this.addChild(this._textN_WarLose), this._textN_WarRate = new _1561.TextBox(_1579, 16777215), this._textN_WarRate.text = '', this._textN_WarRate.anchor.set(1, 0), this._textN_WarRate.position.set(450, 490), this.addChild(this._textN_WarRate), this._textN_MissionCount = new _1561.TextBox(_1579, 16777215), this._textN_MissionCount.text = '', this._textN_MissionCount.anchor.set(1, 0), this._textN_MissionCount.position.set(450, 550), this.addChild(this._textN_MissionCount), this._textN_MissionSuccess = new _1561.TextBox(_1579, 16777215), this._textN_MissionSuccess.text = '', this._textN_MissionSuccess.anchor.set(1, 0), this._textN_MissionSuccess.position.set(450, 580), this.addChild(this._textN_MissionSuccess), this._textN_MissionRate = new _1561.TextBox(_1579, 16777215), this._textN_MissionRate.text = '', this._textN_MissionRate.anchor.set(1, 0), this._textN_MissionRate.position.set(450, 610), this.addChild(this._textN_MissionRate), this._textN_PracticeWin = new _1561.TextBox(_1579, 16777215), this._textN_PracticeWin.text = '', this._textN_PracticeWin.anchor.set(1, 0), this._textN_PracticeWin.position.set(726, 430), this.addChild(this._textN_PracticeWin), this._textN_PracticeLose = new _1561.TextBox(_1579, 16777215), this._textN_PracticeLose.text = '', this._textN_PracticeLose.anchor.set(1, 0), this._textN_PracticeLose.position.set(726, 460), this.addChild(this._textN_PracticeLose), this._textN_PracticeRate = new _1561.TextBox(_1579, 16777215), this._textN_PracticeRate.text = '', this._textN_PracticeRate.anchor.set(1, 0), this._textN_PracticeRate.position.set(726, 490), this.addChild(this._textN_PracticeRate), this._textN_Medal_Kou_Num = new _1561.TextBox(16, 16777215), this._textN_Medal_Kou_Num.text = '', this._textN_Medal_Kou_Num.style.stroke = 4473924, this._textN_Medal_Kou_Num.style.strokeThickness = 3, this._textN_Medal_Kou_Num.anchor.set(1, 0), this._textN_Medal_Kou_Num.position.set(736, 655), this.addChild(this._textN_Medal_Kou_Num), this._btn_USER_BTN_EDIT = new _157a(), this._btn_USER_BTN_EDIT.initialize(33, 33), this._btn_USER_BTN_EDIT.position.set(613, 334), this.addChild(this._btn_USER_BTN_EDIT), this._btn_airbase_maint = new PIXI.Sprite(_1560.RECORD_PARTS.getTexture(0)), this._btn_airbase_maint.interactive = this._btn_airbase_maint.buttonMode = !0, this._btn_airbase_maint.position.set(774, 626), this.addChild(this._btn_airbase_maint); }, _1568.prototype._getClassTexture = function(_157b) { switch (_157b) { case 10: return 42; case 9: return 43; case 8: return 44; case 7: return 45; case 6: return 46; case 5: return 47; case 4: return 48; case 3: return 49; case 2: return 50; case 1: return 51; } }, _1568.prototype.dispose = function() { var _157c = null; this._textJ_NickName.destroy(), this._textJ_Rank.destroy(), this._textJ_BGM.destroy(), this._textN_DeckNum.destroy(), this._textN_ArsenalDockNum.destroy(), this._textN_RepairDockNum.destroy(), this._textN_ShipNum.destroy(), this._textN_SlotItemNum.destroy(), this._textN_FurnitureNum.destroy(), this._textN_DeckMax.destroy(), this._textN_ShipMax.destroy(), this._textN_ShipMaxRemain.destroy(), this._textN_SlotItemMax.destroy(), this._textN_DutyExecCount.destroy(), this._textN_MaterialMax.destroy(), this._textN_RevKitCount.destroy(), this._textN_Level.destroy(), this._textN_Experiences.destroy(), this._textN_WarWin.destroy(), this._textN_WarLose.destroy(), this._textN_WarRate.destroy(), this._textN_MissionCount.destroy(), this._textN_MissionSuccess.destroy(), this._textN_MissionRate.destroy(), this._textN_PracticeWin.destroy(), this._textN_PracticeLose.destroy(), this._textN_PracticeRate.destroy(), this._textN_Medal_Kou_Num.destroy(), this._btn_airbase_maint.removeAllListeners(_1564.EventType.CLICK), this._btn_airbase_maint.destroy(), this._btn_airbase_maint = null, this._disposed = !0, this.removeChildren(); }, _1568.prototype._alignMid = function(_157d, _157e, _157f) { var _157g = null; _157d.position.set(Math.floor(_157e - _157d.width / 2), Math.floor(_157f - _157d.height / 2)); }, _1568; }(PIXI.Container); _155c.ViewInfo = _1565; var _157a = function(_157h) { var _157i = null; function _157j() { var _157k = null, _157l = _157h.call(this) || this; return _157l._onMouseOver = function() { var _157m = null; _157l._setTexture(_157l._texture_no_on); }, _157l._onMouseOut = function() { var _157n = null; _157l._setTexture(_157l._texture_no); }, _157l; } return _155g(_157j, _157h), _157j.prototype.initialize = function(_157o, _157p) { var _157q = null; this._texture_no = _157o, this._texture_no_on = _157p, this._setTexture(this._texture_no), null != this._texture_no_on && (this.interactive = this.buttonMode = !0, this.on(_1564.EventType.MOUSEOVER, this._onMouseOver), this.on(_1564.EventType.MOUSEOUT, this._onMouseOut)); }, _157j.prototype.dispose = function() { var _157r = null; this.interactive = this.buttonMode = !1, this.off(_1564.EventType.MOUSEOVER, this._onMouseOver), this.off(_1564.EventType.MOUSEOUT, this._onMouseOut); }, _157j.prototype._setTexture = function(_157s) { var _157t = null; this._texture = _1560.RECORD_PARTS.getTexture(_157s); }, _157j; }(PIXI.Sprite); }, 54857: function(_157u, _157v, _157w) { 'use strict'; var _157x = null; var _157y, _157z = this && this.__extends || (_157y = function(_1580, _1581) { var _1582 = null; return _157y = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1583, _1584) { var _1585 = null; _1583.__proto__ = _1584; } || function(_1586, _1587) { var _1588 = null; for (var _1589 in _1587) Object.prototype.hasOwnProperty.call(_1587, _1589) && (_1586[_1589] = _1587[_1589]); }, _157y(_1580, _1581); }, function(_158a, _158b) { var _158c = null; if ('function' != typeof _158b && null !== _158b) throw new TypeError('Class extends value ' + String(_158b) + ' is not a constructor or null'); function _158d() { var _158e = null; this.constructor = _158a; } _157y(_158a, _158b), _158a.prototype = null === _158b ? Object.create(_158b) : (_158d.prototype = _158b.prototype, new _158d()); }); defineModule(_157v); Object.defineProperty(_157v, '__esModule', { 'value': !0 }), _157v.ViewRanking = void 0; var _158f = _157w(11997), _158g = _157w(5941), _158h = _157w(8744), _158i = _157w(51932), _158j = _157w(35380), _158k = _157w(16677), _158l = function(_158m) { var _158n = null; function _158o() { var _158p = null, _158q = _158m.call(this) || this; return _158q._obj_line = [], _158q._obj_balloon = [], _158q._obj_medal = [], _158q._obj_flag = [], _158q._textJ_Name = [], _158q._textJ_RankName = [], _158q._textJ_Comment = [], _158q._textN_Rank = [], _158q._textN_Medal = [], _158q._textN_Score = [], _158q._mode2_mask = [], _158q; } return _157z(_158o, _158m), Object.defineProperty(_158o.prototype, 'obj_line', { 'get': function() { var _158r = null; return this._obj_line; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_158o.prototype, 'obj_balloon', { 'get': function() { var _158s = null; return this._obj_balloon; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_158o.prototype, 'obj_medal', { 'get': function() { var _158t = null; return this._obj_medal; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_158o.prototype, 'obj_flag', { 'get': function() { var _158u = null; return this._obj_flag; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_158o.prototype, 'textJ_Name', { 'get': function() { var _158v = null; return this._textJ_Name; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_158o.prototype, 'textJ_RankName', { 'get': function() { var _158w = null; return this._textJ_RankName; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_158o.prototype, 'textJ_Comment', { 'get': function() { var _158x = null; return this._textJ_Comment; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_158o.prototype, 'textN_Rank', { 'get': function() { var _158y = null; return this._textN_Rank; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_158o.prototype, 'textN_Medal', { 'get': function() { var _158z = null; return this._textN_Medal; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_158o.prototype, 'textN_Score', { 'get': function() { var _1590 = null; return this._textN_Score; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_158o.prototype, 'mode2_mask', { 'get': function() { var _1591 = null; return this._mode2_mask; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_158o.prototype, 'btn_RankMy', { 'get': function() { var _1592 = null; return this._btn_RankMy; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_158o.prototype, 'btn_RankTop', { 'get': function() { var _1593 = null; return this._btn_RankTop; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_158o.prototype, 'btn_Rank500', { 'get': function() { var _1594 = null; return this._btn_Rank500; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_158o.prototype, 'btn_ArrowPrev', { 'get': function() { var _1595 = null; return this._btn_ArrowPrev; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_158o.prototype, 'btn_ArrowNext', { 'get': function() { var _1596 = null; return this._btn_ArrowNext; }, 'enumerable': !1, 'configurable': !0 }), _158o.prototype.initialize = function() { var _1597 = null; this._bg = new PIXI.Sprite(_158f.COMMON_MISC.getTexture(52)), this._bg.position.set(171, 103), this.addChild(this._bg), this._header = new PIXI.Sprite(_158g.RECORD_PARTS.getTexture(29)), this._header.anchor.set(1, 0), this._header.position.set(1200, 102), this.addChild(this._header), this._obj_ServerName = new _158i.WorldTextImage(), this._obj_ServerName.visible = !0, this._obj_ServerName.load('large'), this._obj_ServerName.position.set(1143, 160), this._obj_ServerName.anchor.set(1, 0), this.addChild(this._obj_ServerName), this._obj_TIT_RANKING = new PIXI.Sprite(_158g.RECORD_PARTS.getTexture(30)), this._obj_TIT_RANKING.visible = !0, this._obj_TIT_RANKING.position.set(186, 111), this.addChild(this._obj_TIT_RANKING), this._obj_board = new PIXI.Sprite(_158g.RECORD_PARTS.getTexture(27)), this._obj_board.visible = !0, this._obj_board.position.set(205, 198), this.addChild(this._obj_board), this._textJ_Title1 = new _158h.TextBox(17, 16777215), this._textJ_Title1.visible = !0, this._textJ_Title1.position.set(610, 112), this._textJ_Title1.text = '出撃・任務の提督ランキングです', this.addChild(this._textJ_Title1), this._textJ_Title2 = new _158h.TextBox(17, 2334367), this._textJ_Title2.visible = !0, this._textJ_Title2.position.set(875, 112), this._textJ_Title2.text = '(称号とともに一日二回更新されます)', this.addChild(this._textJ_Title2), this._btn_RankMy = new _1598(), this._btn_RankMy.visible = !0, this._btn_RankMy.initialize(11, 8), this._btn_RankMy.position.set(192, 159), this.addChild(this._btn_RankMy), this._btn_RankTop = new _1598(), this._btn_RankTop.visible = !0, this._btn_RankTop.initialize(10, 9), this._btn_RankTop.position.set(336, 159), this.addChild(this._btn_RankTop), this._btn_Rank500 = new _1598(), this._btn_Rank500.visible = !0, this._btn_Rank500.initialize(7, 6), this._btn_Rank500.position.set(480, 159), this.addChild(this._btn_Rank500), this._btn_ArrowPrev = new _1598(), this._btn_ArrowPrev.visible = !0, this._btn_ArrowPrev.initialize(13, 13), this._btn_ArrowPrev.position.set(547, 682), this.addChild(this._btn_ArrowPrev), this._btn_ArrowNext = new _1598(), this._btn_ArrowNext.visible = !0, this._btn_ArrowNext.initialize(12, 12), this._btn_ArrowNext.position.set(738, 682), this.addChild(this._btn_ArrowNext); for (var _1599 = 0; _1599 < 10; _1599++) this._obj_line[_1599] = new PIXI.Sprite(_158g.RECORD_PARTS.getTexture(26)), this._obj_line[_1599].visible = !0, this._obj_line[_1599].position.set(205, 268 + 45 * _1599), this._obj_line[_1599].width = 942, this.addChild(this._obj_line[_1599]), this._obj_balloon[_1599] = new PIXI.Sprite(_158g.RECORD_PARTS.getTexture(25)), this._obj_balloon[_1599].visible = !0, this._obj_balloon[_1599].position.set(714, 231 + 45 * _1599), this.addChild(this._obj_balloon[_1599]), this._obj_medal[_1599] = new PIXI.Sprite(_158g.RECORD_PARTS.getTexture(20)), this._obj_medal[_1599].visible = !0, this._obj_medal[_1599].position.set(-150, 231 + 45 * _1599), this._obj_medal[_1599].scale.set(0, 0), this.addChild(this._obj_medal[_1599]), this._textJ_Name[_1599] = new _158h.TextBox(19, 2334367), this._textJ_Name[_1599].visible = !0, this._textJ_Name[_1599].position.set(346, 237 + 45 * _1599), this._textJ_Name[_1599].text = '', this.addChild(this._textJ_Name[_1599]), this._mode2_mask[_1599] = new PIXI.Sprite(_158g.RECORD_PARTS.getTexture(24)), this._mode2_mask[_1599].visible = !0, this._mode2_mask[_1599].position.set(561, 231 + 45 * _1599), this._mode2_mask[_1599].height = 34, this.addChild(this._mode2_mask[_1599]), this._obj_flag[_1599] = new PIXI.Sprite(), this._obj_flag[_1599].visible = !0, this._obj_flag[_1599].position.set(573, 237 + 45 * _1599), this.addChild(this._obj_flag[_1599]), this._textJ_RankName[_1599] = new _158h.TextBox(19, 16777215), this._textJ_RankName[_1599].visible = !0, this._textJ_RankName[_1599].position.set(618, 237 + 45 * _1599), this._textJ_RankName[_1599].text = '', this.addChild(this._textJ_RankName[_1599]), this._textJ_Comment[_1599] = new _158h.TextBox(18, 4473924), this._textJ_Comment[_1599].visible = !0, this._textJ_Comment[_1599].position.set(732, 238 + 45 * _1599), this._textJ_Comment[_1599].text = '', this.addChild(this._textJ_Comment[_1599]), this._textN_Rank[_1599] = new _158h.TextBox(26, 16777215), this._textN_Rank[_1599].visible = !0, this._textN_Rank[_1599].position.set(336, 232 + 45 * _1599), this._textN_Rank[_1599].anchor.set(1, 0), this._textN_Rank[_1599].text = '', this.addChild(this._textN_Rank[_1599]), this._textN_Medal[_1599] = new _158h.TextBox(17, 16777215), this._textN_Medal[_1599].visible = !0, this._textN_Medal[_1599].position.set(1074, 270 + 45 * _1599), this._textN_Medal[_1599].anchor.set(1, 1), this._textN_Medal[_1599].text = '', this._textN_Medal[_1599].style.stroke = 0, this._textN_Medal[_1599].style.strokeThickness = 3, this.addChild(this._textN_Medal[_1599]), this._textN_Score[_1599] = new _158h.TextBox(17, 16777215), this._textN_Score[_1599].visible = !0, this._textN_Score[_1599].position.set(1147, 238 + 45 * _1599), this._textN_Score[_1599].anchor.set(1, 0), this._textN_Score[_1599].text = '', this.addChild(this._textN_Score[_1599]); }, _158o.prototype.dispose = function() { var _159a = null; this.removeChildren(), this._textJ_Title1.destroy(), this._textJ_Title2.destroy(); for (var _159b = 0; _159b < 10; _159b++) this._textJ_Name[_159b].destroy(), this._textJ_RankName[_159b].destroy(), this._textJ_Comment[_159b].destroy(), this._textN_Rank[_159b].destroy(), this._textN_Medal[_159b].destroy(), this._textN_Score[_159b].destroy(); this._btn_ArrowNext.dispose(), this._btn_ArrowPrev.dispose(), this._btn_Rank500.dispose(), this._btn_RankTop.dispose(), this._btn_RankMy.dispose(), _158k.WheelEventUtil.clear(); }, _158o.prototype._alignMid = function(_159c, _159d, _159e) { var _159f = null; _159c.position.set(Math.floor(_159d - _159c.width / 2), Math.floor(_159e - _159c.height / 2)); }, _158o; }(PIXI.Container); _157v.ViewRanking = _158l; var _1598 = function(_159g) { var _159h = null; function _159i() { var _159j = null, _159k = _159g.call(this) || this; return _159k._onMouseOver = function() { var _159l = null; _159k._setTexture(_159k._texture_no_on); }, _159k._onMouseOut = function() { var _159m = null; _159k._setTexture(_159k._texture_no); }, _159k; } return _157z(_159i, _159g), _159i.prototype.initialize = function(_159n, _159o) { var _159p = null; this._texture_no = _159n, this._texture_no_on = _159o, this._setTexture(this._texture_no), null != this._texture_no_on && (this.interactive = this.buttonMode = !0, this.on(_158j.EventType.MOUSEOVER, this._onMouseOver), this.on(_158j.EventType.MOUSEOUT, this._onMouseOut)); }, _159i.prototype.dispose = function() { var _159q = null; this.interactive = this.buttonMode = !1, this.off(_158j.EventType.MOUSEOVER, this._onMouseOver), this.off(_158j.EventType.MOUSEOUT, this._onMouseOut); }, _159i.prototype._setTexture = function(_159r) { var _159s = null; this.texture = _158g.RECORD_PARTS.getTexture(_159r); }, _159i; }(PIXI.Sprite); }, 5136: function(_159t, _159u, _159v) { 'use strict'; var _159w = null; var _159x, _159y = this && this.__extends || (_159x = function(_159z, _15a0) { var _15a1 = null; return _159x = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_15a2, _15a3) { var _15a4 = null; _15a2.__proto__ = _15a3; } || function(_15a5, _15a6) { var _15a7 = null; for (var _15a8 in _15a6) Object.prototype.hasOwnProperty.call(_15a6, _15a8) && (_15a5[_15a8] = _15a6[_15a8]); }, _159x(_159z, _15a0); }, function(_15a9, _15aa) { var _15ab = null; if ('function' != typeof _15aa && null !== _15aa) throw new TypeError('Class extends value ' + String(_15aa) + ' is not a constructor or null'); function _15ac() { var _15ad = null; this.constructor = _15a9; } _159x(_15a9, _15aa), _15a9.prototype = null === _15aa ? Object.create(_15aa) : (_15ac.prototype = _15aa.prototype, new _15ac()); }); defineModule(_159u); Object.defineProperty(_159u, '__esModule', { 'value': !0 }), _159u.ViewTop = void 0; var _15ae = _159v(73269), _15af = _159v(57257), _15ag = _159v(56871), _15ah = _159v(68172), _15ai = _159v(35380), _15aj = function(_15ak) { var _15al = null; function _15am() { var _15an = null, _15ao = _15ak.call(this) || this; return _15ao._btn_back = new _15af.BackBtn(), _15ao._btn_back.position.set(0, 653), _15ao._btn_modeInfo = new _15ap(), _15ao._btn_modeInfo.position.set(0, 205), _15ao._btn_modeRanking = new _15ap(), _15ao._btn_modeRanking.position.set(0, 261), _15ao._isModeChanging = !1, _15ao._disposed = !1, _15ao; } return _159y(_15am, _15ak), Object.defineProperty(_15am.prototype, 'btn_back', { 'get': function() { var _15aq = null; return this._btn_back; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_15am.prototype, 'btn_modeInfo', { 'get': function() { var _15ar = null; return this._btn_modeInfo; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_15am.prototype, 'btn_modeRanking', { 'get': function() { var _15as = null; return this._btn_modeRanking; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_15am.prototype, 'sideMenu_light1', { 'get': function() { var _15at = null; return this._sideMenu_light1; }, 'enumerable': !1, 'configurable': !0 }), _15am.prototype.initialize = function() { var _15au = null, _15av = new PIXI.Sprite(_15ae.RECORD_MENU.getTexture(0)); this.addChild(_15av), this._btn_back.initialize(), this._btn_back.activate(), this._btn_modeInfo.initialize(4, 6), this._btn_modeRanking.initialize(1, 3), this._sideMenu_light1 = new PIXI.Sprite(_15ae.RECORD_MENU.getTexture(5)), this._sideMenu_light1.position.set(this._btn_modeInfo.position.x, this._btn_modeInfo.position.y), this.sideMenu_light_blink(), this._kira = new _15ag.RecordKiraLayer(), this._kira.scale.set(1, 1), this._kira.position.set(132, 528), this._kira.initialize(), this._medalist = new _15ah.RecordMiniChara(), this._medalist.scale.set(1, 1), this._medalist.position.set(-21, 433), this._medalist.initialize(), this._medalist.activate(), this.addChild(this._btn_back), this.addChild(this._btn_modeInfo), this.addChild(this._btn_modeRanking), this.addChild(this._sideMenu_light1), this.addChild(this._medalist), this.addChild(this._kira); }, _15am.prototype.sideMenu_light_blink = function() { var _15aw = null, _15ax = this; this._t = createjs.Tween.get(this._sideMenu_light1).to({ 'alpha': 0 }, 1).to({ 'alpha': 1 }, 2500, createjs.Ease.quadOut).to({ 'alpha': 0 }, 2499, createjs.Ease.quadIn).call(function() { var _15ay = null; _15ax._t = null, _15ax._disposed || _15ax.sideMenu_light_blink(); }); }, _15am.prototype.dispose = function() { var _15az = null; this._disposed = !0, this._medalist.dispose(), this._medalist = null, this._kira.dispose(), this._kira = null, this._btn_back.dispose(), this._btn_modeInfo.dispose(), this._btn_modeRanking.dispose(), this.removeChildren(); }, _15am; }(PIXI.Container); _159u.ViewTop = _15aj; var _15ap = function(_15b0) { var _15b1 = null; function _15b2() { var _15b3 = null, _15b4 = _15b0.call(this) || this; return _15b4._onMouseOver = function() { var _15b5 = null; _15b4._setTexture(_15b4._texture_no_on); }, _15b4._onMouseOut = function() { var _15b6 = null; _15b4._setTexture(_15b4._texture_no); }, _15b4; } return _159y(_15b2, _15b0), _15b2.prototype.initialize = function(_15b7, _15b8) { var _15b9 = null; this._texture_no = _15b7, this._texture_no_on = _15b8, this._setTexture(this._texture_no), null != this._texture_no_on && (this.interactive = this.buttonMode = !0, this.on(_15ai.EventType.MOUSEOVER, this._onMouseOver), this.on(_15ai.EventType.MOUSEOUT, this._onMouseOut)); }, _15b2.prototype.dispose = function() { var _15ba = null; this.interactive = this.buttonMode = !1, this.off(_15ai.EventType.MOUSEOVER, this._onMouseOver), this.off(_15ai.EventType.MOUSEOUT, this._onMouseOut); }, _15b2.prototype._setTexture = function(_15bb) { var _15bc = null; this.texture = _15ae.RECORD_MENU.getTexture(_15bb); }, _15b2; }(PIXI.Sprite); }, 37513: function(_15bd, _15be, _15bf) { 'use strict'; var _15bg = null; var _15bh, _15bi = this && this.__extends || (_15bh = function(_15bj, _15bk) { var _15bl = null; return _15bh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_15bm, _15bn) { var _15bo = null; _15bm.__proto__ = _15bn; } || function(_15bp, _15bq) { var _15br = null; for (var _15bs in _15bq) Object.prototype.hasOwnProperty.call(_15bq, _15bs) && (_15bp[_15bs] = _15bq[_15bs]); }, _15bh(_15bj, _15bk); }, function(_15bt, _15bu) { var _15bv = null; if ('function' != typeof _15bu && null !== _15bu) throw new TypeError('Class extends value ' + String(_15bu) + ' is not a constructor or null'); function _15bw() { var _15bx = null; this.constructor = _15bt; } _15bh(_15bt, _15bu), _15bt.prototype = null === _15bu ? Object.create(_15bu) : (_15bw.prototype = _15bu.prototype, new _15bw()); }), _15by = this && this.__importDefault || function(_15bz) { var _15c0 = null; return _15bz && _15bz.__esModule ? _15bz : { 'default': _15bz }; }; defineModule(_15be); Object.defineProperty(_15be, '__esModule', { 'value': !0 }), _15be.AlbumScene = void 0; var _15c1 = _15by(_15bf(18622)), _15c2 = _15bf(37562), _15c3 = _15bf(87475), _15c4 = _15bf(71837), _15c5 = _15bf(53672), _15c6 = _15bf(85034), _15c7 = _15bf(85034), _15c8 = _15bf(85034), _15c9 = _15bf(85034), _15ca = _15bf(73581), _15cb = _15bf(90470), _15cc = _15bf(90470), _15cd = _15bf(90470), _15ce = _15bf(90470), _15cf = _15bf(90470), _15cg = _15bf(90470), _15ch = _15bf(98241), _15ci = function(_15cj) { var _15ck = null; function _15cl() { var _15cm = null, _15cn = _15cj.call(this) || this; return _15cn._selected_mode = 1, _15cn._selected_tab_no = 0, _15cn._onChangeTab = function(_15co, _15cp) { var _15cq = null; if (1 == _15co) { var _15cr = _15c5.AlbumConst.BGM_ID_FOR_SHIP; _15c1.default.sound.bgm.play(_15cr); } else _15cr = _15c5.AlbumConst.BGM_ID_FOR_SLOT, _15c1.default.sound.bgm.play(_15cr); _15cn._selected_mode = _15co; var _15cs = _15cp * _15c5.AlbumConst.COUNT_INTAB * _15c5.AlbumConst.COUNT_INPAGE; (_15cn._selected_tab_no = _15cs, _15cn._view.tab_container.update(_15co, _15cp), 0 == _15cn._model.hasData(_15co, _15cp)) ? new _15ca.AlbumAPI(_15co, _15cp, _15cn._model).start(function() { var _15ct = null; _15cn._update(_15co, _15cs); }): _15cn._update(_15co, _15cs); }, _15cn._onChangePage = function(_15cu) { var _15cv = null, _15cw = _15cn._selected_mode; _15cn._update(_15cw, _15cu); }, _15cn._onSelect = function(_15cx) { var _15cy = null; if (_15cx instanceof _15c8.AlbumShipModel) new _15ce.TaskShowShipDetail(_15cn._over, _15cx, _15cn._option, _15cn._view).start(); else _15cx instanceof _15c9.AlbumSlotModel && new _15cf.TaskShowSlotDetail(_15cn._over, _15cx, _15cn._view).start(); }, _15cn._onSwitchAlbum = function() { var _15cz = null; new _15cg.TaskSwitchAlbumMode(_15cn._view.album_switch_btn, _15cn._view.tab_container).start(); }, _15cn._onBack = function() { var _15d0 = null; _15c1.default.scene.change(0); }, _15cn._option = new _15c6.AlbumSceneOptionModel(), _15cn._model = new _15c7.AlbumModelManager(), _15cn._view = new _15ch.MainView(_15cn._onChangeTab, _15cn._onChangePage, _15cn._onSelect, _15cn._onSwitchAlbum), _15cn.addChild(_15cn._view), _15cn._over = new _15c3.FadeBox(1, 0, 1200, 720), _15cn._over.hide(0), _15cn._over.visible = !1, _15cn.addChild(_15cn._over), _15cn; } return _15bi(_15cl, _15cj), _15cl.prototype.getPreInitializeTask = function(_15d1) { var _15d2 = null; return new _15cb.TaskScenePreInitialize(_15d1, this._model, this._view, this._onBack); }, _15cl.prototype.getInitializeTask = function(_15d3) { var _15d4 = null; return new _15cc.TaskSceneInitialize(_15d3, this._view); }, _15cl.prototype.getFinalizeTask = function() { var _15d5 = null; return _15c4.TaskLoadBase.abortAll(), new _15cd.TaskSceneFinalize(this._view); }, _15cl.prototype._update = function(_15d6, _15d7) { var _15d8 = null; _15c4.TaskLoadBase.abortAll(); var _15d9 = _15c5.AlbumConst.COUNT_INPAGE, _15da = this._model.getData(_15d6, _15d7, _15d9), _15db = this._selected_tab_no; this._view.pager.update(_15db, _15d7); var _15dc = this._view.content; _15dc.deactivate(), _15dc.update(_15d6, _15d7, _15da), _15dc.activate(); }, _15cl; }(_15c2.SceneBase); _15be.AlbumScene = _15ci; }, 78658: function(_15dd, _15de, _15df) { 'use strict'; var _15dg = null; var _15dh, _15di = this && this.__extends || (_15dh = function(_15dj, _15dk) { var _15dl = null; return _15dh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_15dm, _15dn) { var _15do = null; _15dm.__proto__ = _15dn; } || function(_15dp, _15dq) { var _15dr = null; for (var _15ds in _15dq) Object.prototype.hasOwnProperty.call(_15dq, _15ds) && (_15dp[_15ds] = _15dq[_15ds]); }, _15dh(_15dj, _15dk); }, function(_15dt, _15du) { var _15dv = null; if ('function' != typeof _15du && null !== _15du) throw new TypeError('Class extends value ' + String(_15du) + ' is not a constructor or null'); function _15dw() { var _15dx = null; this.constructor = _15dt; } _15dh(_15dt, _15du), _15dt.prototype = null === _15du ? Object.create(_15du) : (_15dw.prototype = _15du.prototype, new _15dw()); }); defineModule(_15de); Object.defineProperty(_15de, '__esModule', { 'value': !0 }), _15de.AlbumAPI = void 0; var _15dy = _15df(58566), _15dz = _15df(89939), _15e0 = function(_15e1) { var _15e2 = null; function _15e3(_15e4, _15e5, _15e6) { var _15e7 = null, _15e8 = _15e1.call(this) || this; return _15e8._url = 'api_get_member/picture_book', _15e8._mode = _15e4, _15e8._no = _15e5, _15e8._modelManager = _15e6, _15e8; } return _15di(_15e3, _15e1), _15e3.prototype._connect = function() { var _15e9 = null; this._post_data.api_type = this._mode, this._post_data.api_no = this._no + 1, _15e1.prototype._connect.call(this); }, _15e3.prototype._completedEnd = function() { var _15ea = null, _15eb = _15dz.ObjUtil.getObjectArray(this._raw_data, 'api_list'); null != _15eb && (1 == this._mode ? this._modelManager.addShipData(this._no, _15eb) : this._modelManager.addSlotData(this._no, _15eb)), this._modelManager = null, _15e1.prototype._completedEnd.call(this); }, _15e3; }(_15dy.APIBase); _15de.AlbumAPI = _15e0; }, 73581: function(_15ec, _15ed, _15ee) { 'use strict'; var _15ef = null; var _15eg = this && this.__createBinding || (Object.create ? function(_15eh, _15ei, _15ej, _15ek) { var _15el = null; void 0 === _15ek && (_15ek = _15ej); var _15em = Object.getOwnPropertyDescriptor(_15ei, _15ej); _15em && !('get' in _15em ? !_15ei.__esModule : _15em.writable || _15em.configurable) || (_15em = { 'enumerable': !0, 'get': function() { return _15ei[_15ej]; } }), Object.defineProperty(_15eh, _15ek, _15em); } : function(_15en, _15eo, _15ep, _15eq) { void 0 === _15eq && (_15eq = _15ep), _15en[_15eq] = _15eo[_15ep]; }), _15er = this && this.__exportStar || function(_15es, _15et) { var _15eu = null; for (var _15ev in _15es) 'default' === _15ev || Object.prototype.hasOwnProperty.call(_15et, _15ev) || _15eg(_15et, _15es, _15ev); }; defineModule(_15ed); Object.defineProperty(_15ed, '__esModule', { 'value': !0 }), _15er(_15ee(78658), _15ed); }, 87348: (_15ew, _15ex) => { 'use strict'; var _15ey = null; defineModule(_15ex); Object.defineProperty(_15ex, '__esModule', { 'value': !0 }), _15ex.AlbumConst = void 0; var _15ez = (function() { var _15f0 = null; function _15f1() {} return _15f1.BGM_ID_FOR_SHIP = 123, _15f1.BGM_ID_FOR_SLOT = 102, _15f1.COUNT_INTAB = 7, _15f1.COUNT_INPAGE = 10, _15f1.ADD_IMAGE_SLOTS = [525, 526], _15f1; }()); _15ex.AlbumConst = _15ez; }, 53672: function(_15f2, _15f3, _15f4) { 'use strict'; var _15f5 = null; var _15f6 = this && this.__createBinding || (Object.create ? function(_15f7, _15f8, _15f9, _15fa) { var _15fb = null; void 0 === _15fa && (_15fa = _15f9); var _15fc = Object.getOwnPropertyDescriptor(_15f8, _15f9); _15fc && !('get' in _15fc ? !_15f8.__esModule : _15fc.writable || _15fc.configurable) || (_15fc = { 'enumerable': !0, 'get': function() { return _15f8[_15f9]; } }), Object.defineProperty(_15f7, _15fa, _15fc); } : function(_15fd, _15fe, _15ff, _15fg) { void 0 === _15fg && (_15fg = _15ff), _15fd[_15fg] = _15fe[_15ff]; }), _15fh = this && this.__exportStar || function(_15fi, _15fj) { var _15fk = null; for (var _15fl in _15fi) 'default' === _15fl || Object.prototype.hasOwnProperty.call(_15fj, _15fl) || _15f6(_15fj, _15fi, _15fl); }; defineModule(_15f3); Object.defineProperty(_15f3, '__esModule', { 'value': !0 }), _15fh(_15f4(87348), _15f3); }, 2415: (_15fm, _15fn, _15fo) => { 'use strict'; var _15fp = null; defineModule(_15fn); Object.defineProperty(_15fn, '__esModule', { 'value': !0 }), _15fn.AlbumModelBase = void 0; var _15fq = _15fo(14921), _15fr = (function() { var _15fs = null; function _15ft(_15fu) { this._o = _15fu; } return Object.defineProperty(_15ft.prototype, 'no', { 'get': function() { var _15fv = null; return _15fq.ObjUtil.getNumber(this._o, 'api_index_no'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_15ft.prototype, 'mst_ids', { 'get': function() { var _15fw = null; return _15fq.ObjUtil.getNumArray(this._o, 'api_table_id'); }, 'enumerable': !1, 'configurable': !0 }), _15ft; }()); _15fn.AlbumModelBase = _15fr; }, 52594: (_15fx, _15fy, _15fz) => { 'use strict'; var _15g0 = null; defineModule(_15fy); Object.defineProperty(_15fy, '__esModule', { 'value': !0 }), _15fy.AlbumModelManager = void 0; var _15g1 = _15fz(85034), _15g2 = _15fz(85034), _15g3 = (function() { var _15g4 = null; function _15g5() { var _15g6 = null; this._ship_data_flag = [], this._slot_data_flag = [], this._ship = {}, this._slot = {}; } return _15g5.prototype.hasData = function(_15g7, _15g8) { var _15g9 = null; return 1 == _15g7 ? this._ship_data_flag.indexOf(_15g8) >= 0 : 2 == _15g7 && this._slot_data_flag.indexOf(_15g8) >= 0; }, _15g5.prototype.getData = function(_15ga, _15gb, _15gc) { var _15gd = null; return 1 == _15ga ? this.getShipData(_15gb, _15gc) : 2 == _15ga ? this.getSlotData(_15gb, _15gc) : null; }, _15g5.prototype.getShipData = function(_15ge, _15gf) { var _15gg = null; for (var _15gh = [], _15gi = 0; _15gi < _15gf; _15gi++) { var _15gj = _15ge + 1 + _15gi; 1 == this._ship.hasOwnProperty(_15gj.toString()) ? _15gh.push(this._ship[_15gj]) : _15gh.push(null); } return _15gh; }, _15g5.prototype.getSlotData = function(_15gk, _15gl) { var _15gm = null; for (var _15gn = [], _15go = 0; _15go < _15gl; _15go++) { var _15gp = _15gk + 1 + _15go; 1 == this._slot.hasOwnProperty(_15gp.toString()) ? _15gn.push(this._slot[_15gp]) : _15gn.push(null); } return _15gn; }, _15g5.prototype.addShipData = function(_15gq, _15gr) { var _15gs = null; this._ship_data_flag.push(_15gq); for (var _15gt = 0, _15gu = _15gr; _15gt < _15gu.length; _15gt++) { var _15gv = _15gu[_15gt], _15gw = new _15g1.AlbumShipModel(_15gv); this._ship[_15gw.no] = _15gw; } }, _15g5.prototype.addSlotData = function(_15gx, _15gy) { var _15gz = null; this._slot_data_flag.push(_15gx); for (var _15h0 = 0, _15h1 = _15gy; _15h0 < _15h1.length; _15h0++) { var _15h2 = _15h1[_15h0], _15h3 = new _15g2.AlbumSlotModel(_15h2); this._slot[_15h3.no] = _15h3; } }, _15g5; }()); _15fy.AlbumModelManager = _15g3; }, 63539: (_15h4, _15h5) => { 'use strict'; var _15h6 = null; defineModule(_15h5); Object.defineProperty(_15h5, '__esModule', { 'value': !0 }), _15h5.AlbumSceneOptionModel = void 0; var _15h7 = function() { var _15h8 = null; this.takao_flag = 1, this.atago_flag = 1; }; _15h5.AlbumSceneOptionModel = _15h7; }, 47945: function(_15h9, _15ha, _15hb) { 'use strict'; var _15hc = null; var _15hd, _15he = this && this.__extends || (_15hd = function(_15hf, _15hg) { var _15hh = null; return _15hd = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_15hi, _15hj) { var _15hk = null; _15hi.__proto__ = _15hj; } || function(_15hl, _15hm) { var _15hn = null; for (var _15ho in _15hm) Object.prototype.hasOwnProperty.call(_15hm, _15ho) && (_15hl[_15ho] = _15hm[_15ho]); }, _15hd(_15hf, _15hg); }, function(_15hp, _15hq) { var _15hr = null; if ('function' != typeof _15hq && null !== _15hq) throw new TypeError('Class extends value ' + String(_15hq) + ' is not a constructor or null'); function _15hs() { var _15ht = null; this.constructor = _15hp; } _15hd(_15hp, _15hq), _15hp.prototype = null === _15hq ? Object.create(_15hq) : (_15hs.prototype = _15hq.prototype, new _15hs()); }); defineModule(_15ha); Object.defineProperty(_15ha, '__esModule', { 'value': !0 }), _15ha.AlbumShipModel = void 0; var _15hu = _15hb(14921), _15hv = function(_15hw) { var _15hx = null; function _15hy(_15hz) { var _15i0 = null; return _15hw.call(this, _15hz) || this; } return _15he(_15hy, _15hw), Object.defineProperty(_15hy.prototype, 'sType', { 'get': function() { var _15i1 = null; return _15hu.ObjUtil.getNumber(this._o, 'api_stype'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_15hy.prototype, 'message', { 'get': function() { var _15i2 = null; return _15hu.ObjUtil.getString(this._o, 'api_sinfo'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_15hy.prototype, 'karyoku', { 'get': function() { var _15i3 = null; return _15hu.ObjUtil.getNumber(this._o, 'api_houg'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_15hy.prototype, 'raisou', { 'get': function() { var _15i4 = null; return _15hu.ObjUtil.getNumber(this._o, 'api_raig'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_15hy.prototype, 'taiku', { 'get': function() { var _15i5 = null; return _15hu.ObjUtil.getNumber(this._o, 'api_tyku'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_15hy.prototype, 'kaihi', { 'get': function() { var _15i6 = null; return _15hu.ObjUtil.getNumber(this._o, 'api_kaih'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_15hy.prototype, 'taikyu', { 'get': function() { var _15i7 = null; return _15hu.ObjUtil.getNumber(this._o, 'api_taik'); }, 'enumerable': !1, 'configurable': !0 }), _15hy.prototype.hasTaiha = function(_15i8) { var _15i9 = null, _15ia = this.mst_ids.indexOf(_15i8); if (_15ia < 0) return !1; var _15ib = _15hu.ObjUtil.getObjectArray(this._o, 'api_state'); return !(null == _15ib || _15ib.length <= _15ia) && (!(null == (_15ib = _15ib[_15ia]) || _15ib.length <= 1) && 1 == _15ib[1]); }, _15hy.prototype.isMarriage = function(_15ic) { var _15id = null, _15ie = this.mst_ids.indexOf(_15ic); if (_15ie < 0) return !1; var _15if = _15hu.ObjUtil.getObjectArray(this._o, 'api_state'); return !(null == _15if || _15if.length <= _15ie) && (!(null == (_15if = _15if[_15ie]) || _15if.length <= 2) && 1 == _15if[2]); }, _15hy.prototype.hasMarriage = function() { var _15ig = null, _15ih = _15hu.ObjUtil.getObjectArray(this._o, 'api_state'); if (null == _15ih) return !1; for (var _15ii = 0, _15ij = _15ih; _15ii < _15ij.length; _15ii++) { var _15ik = _15ij[_15ii]; if (!(null == _15ik || _15ik.length <= 2) && 1 == _15ik[2]) return !0; } return !1; }, _15hy.prototype.extraVoices = function() { var _15il = null; return _15hu.ObjUtil.getObjectArray(this._o, 'api_q_voice_info'); }, _15hy; }(_15hb(85034).AlbumModelBase); _15ha.AlbumShipModel = _15hv; }, 10836: function(_15im, _15in, _15io) { 'use strict'; var _15ip = null; var _15iq, _15ir = this && this.__extends || (_15iq = function(_15is, _15it) { var _15iu = null; return _15iq = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_15iv, _15iw) { var _15ix = null; _15iv.__proto__ = _15iw; } || function(_15iy, _15iz) { var _15j0 = null; for (var _15j1 in _15iz) Object.prototype.hasOwnProperty.call(_15iz, _15j1) && (_15iy[_15j1] = _15iz[_15j1]); }, _15iq(_15is, _15it); }, function(_15j2, _15j3) { var _15j4 = null; if ('function' != typeof _15j3 && null !== _15j3) throw new TypeError('Class extends value ' + String(_15j3) + ' is not a constructor or null'); function _15j5() { var _15j6 = null; this.constructor = _15j2; } _15iq(_15j2, _15j3), _15j2.prototype = null === _15j3 ? Object.create(_15j3) : (_15j5.prototype = _15j3.prototype, new _15j5()); }); defineModule(_15in); Object.defineProperty(_15in, '__esModule', { 'value': !0 }), _15in.AlbumSlotModel = void 0; var _15j7 = _15io(14921), _15j8 = function(_15j9) { var _15ja = null; function _15jb(_15jc) { var _15jd = null; return _15j9.call(this, _15jc) || this; } return _15ir(_15jb, _15j9), Object.defineProperty(_15jb.prototype, 'cardType', { 'get': function() { var _15je = null, _15jf = _15j7.ObjUtil.getNumArray(this._o, 'api_type'); return null == _15jf || _15jf.length <= 1 ? 0 : _15jf[1]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_15jb.prototype, 'equipType', { 'get': function() { var _15jg = null, _15jh = _15j7.ObjUtil.getNumArray(this._o, 'api_type'); return null == _15jh || _15jh.length <= 2 ? 0 : _15jh[2]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_15jb.prototype, 'iconType', { 'get': function() { var _15ji = null, _15jj = _15j7.ObjUtil.getNumArray(this._o, 'api_type'); return null == _15jj || _15jj.length <= 3 ? 0 : _15jj[3]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_15jb.prototype, 'soukou', { 'get': function() { var _15jk = null; return _15j7.ObjUtil.getNumber(this._o, 'api_souk'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_15jb.prototype, 'karyoku', { 'get': function() { var _15jl = null; return _15j7.ObjUtil.getNumber(this._o, 'api_houg'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_15jb.prototype, 'raisou', { 'get': function() { var _15jm = null; return _15j7.ObjUtil.getNumber(this._o, 'api_raig'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_15jb.prototype, 'baku', { 'get': function() { var _15jn = null; return _15j7.ObjUtil.getNumber(this._o, 'api_baku'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_15jb.prototype, 'taiku', { 'get': function() { var _15jo = null; return _15j7.ObjUtil.getNumber(this._o, 'api_tyku'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_15jb.prototype, 'taisen', { 'get': function() { var _15jp = null; return _15j7.ObjUtil.getNumber(this._o, 'api_tais'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_15jb.prototype, 'meichu', { 'get': function() { var _15jq = null; return _15j7.ObjUtil.getNumber(this._o, 'api_houm'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_15jb.prototype, 'kaihi', { 'get': function() { var _15jr = null; return _15j7.ObjUtil.getNumber(this._o, 'api_houk'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_15jb.prototype, 'sakuteki', { 'get': function() { var _15js = null; return _15j7.ObjUtil.getNumber(this._o, 'api_saku'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_15jb.prototype, 'syatei', { 'get': function() { var _15jt = null; return _15j7.ObjUtil.getNumber(this._o, 'api_leng'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_15jb.prototype, 'message', { 'get': function() { var _15ju = null; return _15j7.ObjUtil.getString(this._o, 'api_info'); }, 'enumerable': !1, 'configurable': !0 }), _15jb; }(_15io(85034).AlbumModelBase); _15in.AlbumSlotModel = _15j8; }, 85034: function(_15jv, _15jw, _15jx) { 'use strict'; var _15jy = null; var _15jz = this && this.__createBinding || (Object.create ? function(_15k0, _15k1, _15k2, _15k3) { var _15k4 = null; void 0 === _15k3 && (_15k3 = _15k2); var _15k5 = Object.getOwnPropertyDescriptor(_15k1, _15k2); _15k5 && !('get' in _15k5 ? !_15k1.__esModule : _15k5.writable || _15k5.configurable) || (_15k5 = { 'enumerable': !0, 'get': function() { return _15k1[_15k2]; } }), Object.defineProperty(_15k0, _15k3, _15k5); } : function(_15k6, _15k7, _15k8, _15k9) { void 0 === _15k9 && (_15k9 = _15k8), _15k6[_15k9] = _15k7[_15k8]; }), _15ka = this && this.__exportStar || function(_15kb, _15kc) { var _15kd = null; for (var _15ke in _15kb) 'default' === _15ke || Object.prototype.hasOwnProperty.call(_15kc, _15ke) || _15jz(_15kc, _15kb, _15ke); }; defineModule(_15jw); Object.defineProperty(_15jw, '__esModule', { 'value': !0 }), _15ka(_15jx(63539), _15jw), _15ka(_15jx(52594), _15jw), _15ka(_15jx(2415), _15jw), _15ka(_15jx(47945), _15jw), _15ka(_15jx(10836), _15jw); }, 71944: function(_15kf, _15kg, _15kh) { 'use strict'; var _15ki = null; var _15kj, _15kk = this && this.__extends || (_15kj = function(_15kl, _15km) { var _15kn = null; return _15kj = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_15ko, _15kp) { var _15kq = null; _15ko.__proto__ = _15kp; } || function(_15kr, _15ks) { var _15kt = null; for (var _15ku in _15ks) Object.prototype.hasOwnProperty.call(_15ks, _15ku) && (_15kr[_15ku] = _15ks[_15ku]); }, _15kj(_15kl, _15km); }, function(_15kv, _15kw) { var _15kx = null; if ('function' != typeof _15kw && null !== _15kw) throw new TypeError('Class extends value ' + String(_15kw) + ' is not a constructor or null'); function _15ky() { var _15kz = null; this.constructor = _15kv; } _15kj(_15kv, _15kw), _15kv.prototype = null === _15kw ? Object.create(_15kw) : (_15ky.prototype = _15kw.prototype, new _15ky()); }); defineModule(_15kg); Object.defineProperty(_15kg, '__esModule', { 'value': !0 }), _15kg.TaskLoadResources = void 0; var _15l0 = _15kh(81755), _15l1 = _15kh(13748), _15l2 = function(_15l3) { var _15l4 = null; function _15l5() { var _15l6 = null; return _15l3.call(this) || this; } return _15kk(_15l5, _15l3), _15l5.prototype._start = function() { var _15l7 = null; this._load(); }, _15l5.prototype._load = function() { var _15l8 = null, _15l9 = this, _15la = new _15l1.UIImageLoader('album'); _15la.add('album_main.json'), _15la.add('album_slot2.json'), _15la.add('album_slot3.json'), _15la.add('album_slot4.json'), _15la.load(function() { var _15lb = null; _15l9._endTask(); }); }, _15l5; }(_15l0.TaskBase); _15kg.TaskLoadResources = _15l2; }, 82819: function(_15lc, _15ld, _15le) { 'use strict'; var _15lf = null; var _15lg, _15lh = this && this.__extends || (_15lg = function(_15li, _15lj) { var _15lk = null; return _15lg = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_15ll, _15lm) { var _15ln = null; _15ll.__proto__ = _15lm; } || function(_15lo, _15lp) { var _15lq = null; for (var _15lr in _15lp) Object.prototype.hasOwnProperty.call(_15lp, _15lr) && (_15lo[_15lr] = _15lp[_15lr]); }, _15lg(_15li, _15lj); }, function(_15ls, _15lt) { var _15lu = null; if ('function' != typeof _15lt && null !== _15lt) throw new TypeError('Class extends value ' + String(_15lt) + ' is not a constructor or null'); function _15lv() { var _15lw = null; this.constructor = _15ls; } _15lg(_15ls, _15lt), _15ls.prototype = null === _15lt ? Object.create(_15lt) : (_15lv.prototype = _15lt.prototype, new _15lv()); }); defineModule(_15ld); Object.defineProperty(_15ld, '__esModule', { 'value': !0 }), _15ld.TaskSceneFinalize = void 0; var _15lx = _15le(37562), _15ly = _15le(13748), _15lz = function(_15m0) { var _15m1 = null; function _15m2(_15m3) { var _15m4 = null, _15m5 = _15m0.call(this) || this; return _15m5._view = _15m3, _15m5; } return _15lh(_15m2, _15m0), _15m2.prototype._start = function() { var _15m6 = null; this._view.dispose(), _15ly.UIImageLoader.clearMemoryCache('album'), this._endTask(); }, _15m2.prototype._endTask = function() { var _15m7 = null; this._view = null, _15m0.prototype._endTask.call(this); }, _15m2; }(_15lx.TaskBase); _15ld.TaskSceneFinalize = _15lz; }, 87656: function(_15m8, _15m9, _15ma) { 'use strict'; var _15mb = null; var _15mc, _15md = this && this.__extends || (_15mc = function(_15me, _15mf) { var _15mg = null; return _15mc = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_15mh, _15mi) { var _15mj = null; _15mh.__proto__ = _15mi; } || function(_15mk, _15ml) { var _15mm = null; for (var _15mn in _15ml) Object.prototype.hasOwnProperty.call(_15ml, _15mn) && (_15mk[_15mn] = _15ml[_15mn]); }, _15mc(_15me, _15mf); }, function(_15mo, _15mp) { var _15mq = null; if ('function' != typeof _15mp && null !== _15mp) throw new TypeError('Class extends value ' + String(_15mp) + ' is not a constructor or null'); function _15mr() { var _15ms = null; this.constructor = _15mo; } _15mc(_15mo, _15mp), _15mo.prototype = null === _15mp ? Object.create(_15mp) : (_15mr.prototype = _15mp.prototype, new _15mr()); }), _15mt = this && this.__importDefault || function(_15mu) { var _15mv = null; return _15mu && _15mu.__esModule ? _15mu : { 'default': _15mu }; }; defineModule(_15m9); Object.defineProperty(_15m9, '__esModule', { 'value': !0 }), _15m9.TaskSceneInitialize = void 0; var _15mw = _15mt(_15ma(18622)), _15mx = _15ma(37562), _15my = _15ma(53672), _15mz = function(_15n0) { var _15n1 = null; function _15n2(_15n3, _15n4) { var _15n5 = null, _15n6 = _15n0.call(this) || this; return _15n6._view = _15n4, _15n6; } return _15md(_15n2, _15n0), _15n2.prototype._start = function() { var _15n7 = null, _15n8 = _15my.AlbumConst.BGM_ID_FOR_SHIP; _15mw.default.sound.bgm.play(_15n8), this._startScene(); }, _15n2.prototype._startScene = function() { var _15n9 = null; this._view.activate(), this._endTask(); }, _15n2.prototype._endTask = function() { var _15na = null; this._view = null, _15n0.prototype._endTask.call(this); }, _15n2; }(_15mx.TaskBase); _15m9.TaskSceneInitialize = _15mz; }, 99558: function(_15nb, _15nc, _15nd) { 'use strict'; var _15ne = null; var _15nf, _15ng = this && this.__extends || (_15nf = function(_15nh, _15ni) { var _15nj = null; return _15nf = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_15nk, _15nl) { var _15nm = null; _15nk.__proto__ = _15nl; } || function(_15nn, _15no) { var _15np = null; for (var _15nq in _15no) Object.prototype.hasOwnProperty.call(_15no, _15nq) && (_15nn[_15nq] = _15no[_15nq]); }, _15nf(_15nh, _15ni); }, function(_15nr, _15ns) { var _15nt = null; if ('function' != typeof _15ns && null !== _15ns) throw new TypeError('Class extends value ' + String(_15ns) + ' is not a constructor or null'); function _15nu() { var _15nv = null; this.constructor = _15nr; } _15nf(_15nr, _15ns), _15nr.prototype = null === _15ns ? Object.create(_15ns) : (_15nu.prototype = _15ns.prototype, new _15nu()); }); defineModule(_15nc); Object.defineProperty(_15nc, '__esModule', { 'value': !0 }), _15nc.TaskScenePreInitialize = void 0; var _15nw = _15nd(37562), _15nx = _15nd(53672), _15ny = _15nd(73581), _15nz = _15nd(71944), _15o0 = function(_15o1) { var _15o2 = null; function _15o3(_15o4, _15o5, _15o6, _15o7) { var _15o8 = null, _15o9 = _15o1.call(this) || this; return _15o9._model = _15o5, _15o9._view = _15o6, _15o9._onBack = _15o7, _15o9; } return _15ng(_15o3, _15o1), _15o3.prototype._start = function() { var _15oa = null, _15ob = this; new _15nz.TaskLoadResources().start(function() { var _15oc = null; _15ob._initView(); }); }, _15o3.prototype._initView = function() { var _15od = null; this._view.initialize(this._onBack), this._connectAPI(); }, _15o3.prototype._connectAPI = function() { var _15oe = null, _15of = this; new _15ny.AlbumAPI(1, 0, this._model).start(function() { var _15og = null; _15of._showImage(); }); }, _15o3.prototype._showImage = function() { var _15oh = null, _15oi = _15nx.AlbumConst.COUNT_INPAGE, _15oj = this._model.getData(1, 0, _15oi); this._view.content.update(1, 0, _15oj), this._endTask(); }, _15o3.prototype._endTask = function() { var _15ok = null; this._model = null, this._view = null, this._onBack = null, _15o1.prototype._endTask.call(this); }, _15o3; }(_15nw.TaskBase); _15nc.TaskScenePreInitialize = _15o0; }, 44896: function(_15ol, _15om, _15on) { 'use strict'; var _15oo = null; var _15op, _15oq = this && this.__extends || (_15op = function(_15or, _15os) { var _15ot = null; return _15op = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_15ou, _15ov) { var _15ow = null; _15ou.__proto__ = _15ov; } || function(_15ox, _15oy) { var _15oz = null; for (var _15p0 in _15oy) Object.prototype.hasOwnProperty.call(_15oy, _15p0) && (_15ox[_15p0] = _15oy[_15p0]); }, _15op(_15or, _15os); }, function(_15p1, _15p2) { var _15p3 = null; if ('function' != typeof _15p2 && null !== _15p2) throw new TypeError('Class extends value ' + String(_15p2) + ' is not a constructor or null'); function _15p4() { var _15p5 = null; this.constructor = _15p1; } _15op(_15p1, _15p2), _15p1.prototype = null === _15p2 ? Object.create(_15p2) : (_15p4.prototype = _15p2.prototype, new _15p4()); }), _15p6 = this && this.__importDefault || function(_15p7) { var _15p8 = null; return _15p7 && _15p7.__esModule ? _15p7 : { 'default': _15p7 }; }; defineModule(_15om); Object.defineProperty(_15om, '__esModule', { 'value': !0 }), _15om.TaskShowShipCard = void 0; var _15p9 = _15p6(_15on(18622)), _15pa = _15on(81755), _15pb = _15on(20137), _15pc = function(_15pd) { var _15pe = null; function _15pf(_15pg, _15ph) { var _15pi = null, _15pj = _15pd.call(this) || this; return _15pj._mst_id = _15pg, _15pj._target = _15ph, _15pj; } return _15oq(_15pf, _15pd), _15pf.prototype.cancel = function() { var _15pk = null; this._target = null; }, _15pf.prototype._start = function() { var _15pl = null, _15pm = this, _15pn = new _15pb.ShipLoader(); _15pn.add(this._mst_id, !1, 'card'), _15pn.load(function() { var _15po = null; if (null != _15pm._target) { var _15pp = _15p9.default.resources.getShip(_15pm._mst_id, !1, 'card'); _15pm._target.texture = _15pp; } _15pm._endTask(); }); }, _15pf.prototype._endTask = function() { var _15pq = null; this._target = null, _15pd.prototype._endTask.call(this); }, _15pf; }(_15pa.TaskBase); _15om.TaskShowShipCard = _15pc; }, 17775: function(_15pr, _15ps, _15pt) { 'use strict'; var _15pu = null; var _15pv, _15pw = this && this.__extends || (_15pv = function(_15px, _15py) { var _15pz = null; return _15pv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_15q0, _15q1) { var _15q2 = null; _15q0.__proto__ = _15q1; } || function(_15q3, _15q4) { var _15q5 = null; for (var _15q6 in _15q4) Object.prototype.hasOwnProperty.call(_15q4, _15q6) && (_15q3[_15q6] = _15q4[_15q6]); }, _15pv(_15px, _15py); }, function(_15q7, _15q8) { var _15q9 = null; if ('function' != typeof _15q8 && null !== _15q8) throw new TypeError('Class extends value ' + String(_15q8) + ' is not a constructor or null'); function _15qa() { var _15qb = null; this.constructor = _15q7; } _15pv(_15q7, _15q8), _15q7.prototype = null === _15q8 ? Object.create(_15q8) : (_15qa.prototype = _15q8.prototype, new _15qa()); }); defineModule(_15ps); Object.defineProperty(_15ps, '__esModule', { 'value': !0 }), _15ps.TaskShowShipDetail = void 0; var _15qc = _15pt(81755), _15qd = _15pt(20137), _15qe = _15pt(3609), _15qf = function(_15qg) { var _15qh = null; function _15qi(_15qj, _15qk, _15ql, _15qm) { var _15qn = null, _15qo = _15qg.call(this) || this; return _15qo._onClose = function() { var _15qp = null; _15qo._panel.deactivate(), _15qo._hideFade(); }, _15qo._layer = _15qj, _15qo._model = _15qk, _15qo._option = _15ql, _15qo._mainView = _15qm, _15qo; } return _15pw(_15qi, _15qg), _15qi.prototype._start = function() { var _15qq = null; this._layer.hide(0), this._layer.visible = !0, this._layer.show(300), this._loadImages(); }, _15qi.prototype._loadImages = function() { var _15qr = null, _15qs = this, _15qt = this._model.mst_ids, _15qu = new _15qd.ShipLoader(); _15qu.add(_15qt[0], !1, 'album_status'); for (var _15qv = 0, _15qw = _15qt; _15qv < _15qw.length; _15qv++) { var _15qx = _15qw[_15qv], _15qy = _15qu.getSpecificAlbumImageLoadList(_15qx); 1 == _15qu.needCard(_15qy.typeList) && _15qu.add(_15qx, !1, 'card'), 1 == _15qu.needCharaFull(_15qy.typeList) && _15qu.add(_15qx, !1, 'character_full'), 1 == _15qu.needCharaUp(_15qy.typeList) && _15qu.add(_15qx, !1, 'character_up'), 1 == this._model.hasTaiha(_15qx) && (null == _15qy.typeList || _15qy.hasTaiha) && (_15qu.add(_15qx, !0, 'character_full'), _15qu.add(_15qx, !0, 'character_up')); } _15qu.load(function() { var _15qz = null; _15qs._showPanel(); }); }, _15qi.prototype._showPanel = function() { var _15r0 = null, _15r1 = this, _15r2 = new _15qe.ShipDetailPanel(this._onClose); this._panel = _15r2, _15r2.initialize(this._model, this._option), _15r2.alpha = 0, this._layer.addChild(_15r2), _15r2.preactivate(), createjs.Tween.get(_15r2).to({ 'alpha': 1 }, 500).call(function() { var _15r3 = null; _15r2.activate(), _15r1._mainView.visible = !1; }); }, _15qi.prototype._hideFade = function() { var _15r4 = null, _15r5 = this; this._mainView.visible = !0, createjs.Tween.get(this._panel).to({ 'alpha': 0 }, 300), this._layer.hide(500, function() { var _15r6 = null; _15r5._layer.visible = !1, _15r5._endTask(); }); }, _15qi.prototype._endTask = function() { var _15r7 = null; this._layer = null, this._model = null, this._option = null, null != this._panel.parent && this._panel.parent.removeChild(this._panel), this._panel.dispose(), this._panel = null, _15qg.prototype._endTask.call(this); }, _15qi; }(_15qc.TaskBase); _15ps.TaskShowShipDetail = _15qf; }, 13090: function(_15r8, _15r9, _15ra) { 'use strict'; var _15rb = null; var _15rc, _15rd = this && this.__extends || (_15rc = function(_15re, _15rf) { var _15rg = null; return _15rc = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_15rh, _15ri) { var _15rj = null; _15rh.__proto__ = _15ri; } || function(_15rk, _15rl) { var _15rm = null; for (var _15rn in _15rl) Object.prototype.hasOwnProperty.call(_15rl, _15rn) && (_15rk[_15rn] = _15rl[_15rn]); }, _15rc(_15re, _15rf); }, function(_15ro, _15rp) { var _15rq = null; if ('function' != typeof _15rp && null !== _15rp) throw new TypeError('Class extends value ' + String(_15rp) + ' is not a constructor or null'); function _15rr() { var _15rs = null; this.constructor = _15ro; } _15rc(_15ro, _15rp), _15ro.prototype = null === _15rp ? Object.create(_15rp) : (_15rr.prototype = _15rp.prototype, new _15rr()); }), _15rt = this && this.__importDefault || function(_15ru) { var _15rv = null; return _15ru && _15ru.__esModule ? _15ru : { 'default': _15ru }; }; defineModule(_15r9); Object.defineProperty(_15r9, '__esModule', { 'value': !0 }), _15r9.TaskShowSlotCard = void 0; var _15rw = _15rt(_15ra(18622)), _15rx = _15ra(81755), _15ry = _15ra(37760), _15rz = function(_15s0) { var _15s1 = null; function _15s2(_15s3, _15s4) { var _15s5 = null, _15s6 = _15s0.call(this) || this; return _15s6._mst_id = _15s3, _15s6._target = _15s4, _15s6; } return _15rd(_15s2, _15s0), _15s2.prototype.cancel = function() { var _15s7 = null; this._target = null; }, _15s2.prototype._start = function() { var _15s8 = null, _15s9 = this, _15sa = new _15ry.SlotLoader(); _15sa.add(this._mst_id, 'card'), _15sa.load(function() { var _15sb = null; if (null != _15s9._target) { var _15sc = _15rw.default.resources.getSlotitem(_15s9._mst_id, 'card'); _15s9._target.texture = _15sc; } _15s9._endTask(); }); }, _15s2.prototype._endTask = function() { var _15sd = null; this._target = null, _15s0.prototype._endTask.call(this); }, _15s2; }(_15rx.TaskBase); _15r9.TaskShowSlotCard = _15rz; }, 40545: function(_15se, _15sf, _15sg) { 'use strict'; var _15sh = null; var _15si, _15sj = this && this.__extends || (_15si = function(_15sk, _15sl) { var _15sm = null; return _15si = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_15sn, _15so) { var _15sp = null; _15sn.__proto__ = _15so; } || function(_15sq, _15sr) { var _15ss = null; for (var _15st in _15sr) Object.prototype.hasOwnProperty.call(_15sr, _15st) && (_15sq[_15st] = _15sr[_15st]); }, _15si(_15sk, _15sl); }, function(_15su, _15sv) { var _15sw = null; if ('function' != typeof _15sv && null !== _15sv) throw new TypeError('Class extends value ' + String(_15sv) + ' is not a constructor or null'); function _15sx() { var _15sy = null; this.constructor = _15su; } _15si(_15su, _15sv), _15su.prototype = null === _15sv ? Object.create(_15sv) : (_15sx.prototype = _15sv.prototype, new _15sx()); }); defineModule(_15sf); Object.defineProperty(_15sf, '__esModule', { 'value': !0 }), _15sf.TaskShowSlotDetail = void 0; var _15sz = _15sg(37562), _15t0 = _15sg(37760), _15t1 = _15sg(98241), _15t2 = _15sg(53672), _15t3 = function(_15t4) { var _15t5 = null; function _15t6(_15t7, _15t8, _15t9) { var _15ta = null, _15tb = _15t4.call(this) || this; return _15tb._onClose = function() { var _15tc = null; _15tb._panel.deactivate(), _15tb._hideFade(); }, _15tb._layer = _15t7, _15tb._model = _15t8, _15tb._mainView = _15t9, _15tb; } return _15sj(_15t6, _15t4), _15t6.prototype._start = function() { var _15td = null; this._layer.hide(0), this._layer.visible = !0, this._layer.show(300), this._loadImages(); }, _15t6.prototype._loadImages = function() { var _15te = null, _15tf = this, _15tg = this._model.mst_ids, _15th = new _15t0.SlotLoader(); _15th.add(_15tg[0], 'statustop_item'); for (var _15ti = 0, _15tj = _15tg; _15ti < _15tj.length; _15ti++) { var _15tk = _15tj[_15ti]; _15th.add(_15tk, 'card'), _15th.add(_15tk, 'item_up'), _15th.add(_15tk, 'item_on'), _15th.add(_15tk, 'item_character'), _15t2.AlbumConst.ADD_IMAGE_SLOTS.includes(_15tk) && (_15th.add(_15tk, 'item_up2'), _15th.add(_15tk, 'item_on2')); } _15th.load(function() { var _15tl = null; _15tf._showPanel(); }); }, _15t6.prototype._showPanel = function() { var _15tm = null, _15tn = this, _15to = new _15t1.SlotDetailPanel(this._onClose); this._panel = _15to, _15to.initialize(this._model), _15to.alpha = 0, this._layer.addChild(_15to), createjs.Tween.get(_15to).to({ 'alpha': 1 }, 500).call(function() { var _15tp = null; _15to.activate(), _15tn._mainView.visible = !1; }); }, _15t6.prototype._hideFade = function() { var _15tq = null, _15tr = this; this._mainView.visible = !0, createjs.Tween.get(this._panel).to({ 'alpha': 0 }, 300), this._layer.hide(500, function() { var _15ts = null; _15tr._layer.visible = !1, _15tr._endTask(); }); }, _15t6.prototype._endTask = function() { var _15tt = null; this._layer = null, this._model = null, null != this._panel.parent && this._panel.parent.removeChild(this._panel), this._panel.dispose(), this._panel = null, _15t4.prototype._endTask.call(this); }, _15t6; }(_15sz.TaskBase); _15sf.TaskShowSlotDetail = _15t3; }, 5558: function(_15tu, _15tv, _15tw) { 'use strict'; var _15tx = null; var _15ty, _15tz = this && this.__extends || (_15ty = function(_15u0, _15u1) { var _15u2 = null; return _15ty = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_15u3, _15u4) { var _15u5 = null; _15u3.__proto__ = _15u4; } || function(_15u6, _15u7) { var _15u8 = null; for (var _15u9 in _15u7) Object.prototype.hasOwnProperty.call(_15u7, _15u9) && (_15u6[_15u9] = _15u7[_15u9]); }, _15ty(_15u0, _15u1); }, function(_15ua, _15ub) { var _15uc = null; if ('function' != typeof _15ub && null !== _15ub) throw new TypeError('Class extends value ' + String(_15ub) + ' is not a constructor or null'); function _15ud() { var _15ue = null; this.constructor = _15ua; } _15ty(_15ua, _15ub), _15ua.prototype = null === _15ub ? Object.create(_15ub) : (_15ud.prototype = _15ub.prototype, new _15ud()); }); defineModule(_15tv); Object.defineProperty(_15tv, '__esModule', { 'value': !0 }), _15tv.TaskSwitchAlbumMode = void 0; var _15uf = function(_15ug) { var _15uh = null; function _15ui(_15uj, _15uk) { var _15ul = null, _15um = _15ug.call(this) || this; _15um._switchOrder = [1, 2], _15um._switch_btn = _15uj, _15um._tab_container = _15uk; var _15un = _15um._switchOrder.indexOf(_15um._switch_btn.mode); return _15um._switchMode = _15un + 1 >= _15um._switchOrder.length ? _15um._switchOrder[0] : _15um._switchOrder[_15un + 1], _15um; } return _15tz(_15ui, _15ug), _15ui.prototype._start = function() { var _15uo = null; this._switch_btn.mode = this._switchMode, this._tab_container.switchViewAlbumMode(this._switchMode), this._animate(); }, _15ui.prototype._animate = function() { var _15up = null, _15uq = this; createjs.Tween.get(this._switch_btn).to({ 'alpha': 0 }, 0).to({ 'x': -137 }, 0).wait(300).call(function() { var _15ur = null; _15uq._switch_btn.update(!1), createjs.Tween.get(_15uq._switch_btn).to({ 'alpha': 1 }, 0).wait(100).to({ 'x': 0 }, 450, createjs.Ease.quintOut).call(function() { var _15us = null; _15uq._endTask(); }); }); }, _15ui.prototype._endTask = function() { var _15ut = null; this._switch_btn.addOnceClickEvent(), _15ug.prototype._endTask.call(this); }, _15ui; }(_15tw(81755).TaskBase); _15tv.TaskSwitchAlbumMode = _15uf; }, 47135: function(_15uu, _15uv, _15uw) { 'use strict'; var _15ux = null; var _15uy, _15uz = this && this.__extends || (_15uy = function(_15v0, _15v1) { var _15v2 = null; return _15uy = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_15v3, _15v4) { var _15v5 = null; _15v3.__proto__ = _15v4; } || function(_15v6, _15v7) { var _15v8 = null; for (var _15v9 in _15v7) Object.prototype.hasOwnProperty.call(_15v7, _15v9) && (_15v6[_15v9] = _15v7[_15v9]); }, _15uy(_15v0, _15v1); }, function(_15va, _15vb) { var _15vc = null; if ('function' != typeof _15vb && null !== _15vb) throw new TypeError('Class extends value ' + String(_15vb) + ' is not a constructor or null'); function _15vd() { var _15ve = null; this.constructor = _15va; } _15uy(_15va, _15vb), _15va.prototype = null === _15vb ? Object.create(_15vb) : (_15vd.prototype = _15vb.prototype, new _15vd()); }), _15vf = this && this.__importDefault || function(_15vg) { var _15vh = null; return _15vg && _15vg.__esModule ? _15vg : { 'default': _15vg }; }; defineModule(_15uv); Object.defineProperty(_15uv, '__esModule', { 'value': !0 }), _15uv.TaskWedding = void 0; var _15vi = _15vf(_15uw(18622)), _15vj = _15uw(37562), _15vk = _15uw(53672), _15vl = _15uw(85426), _15vm = function(_15vn) { var _15vo = null; function _15vp(_15vq, _15vr) { var _15vs = null, _15vt = _15vn.call(this) || this; return _15vt._layer = _15vq, _15vt._mst_id = _15vr, _15vt._marriageAnimation = new _15vl.MarriageAnimation(_15vr), _15vt; } return _15uz(_15vp, _15vn), _15vp.prototype._start = function() { var _15vu = null, _15vv = this; this._marriageAnimation.PreLoad(function() { var _15vw = null; _15vv._marriageAnimation.Initialize(), _15vi.default.view.overLayer.addChild(_15vv._marriageAnimation), _15vv._marriageAnimation.Play(!0, function() { var _15vx = null; _15vi.default.view.overLayer.removeChild(_15vv._marriageAnimation), _15vv._resetBGM(); }); }); }, _15vp.prototype._resetBGM = function() { var _15vy = null, _15vz = _15vk.AlbumConst.BGM_ID_FOR_SHIP; _15vi.default.sound.bgm.play(_15vz), this._endTask(); }, _15vp.prototype._endTask = function() { var _15w0 = null; this._layer = null, this._btn = null, this._marriageAnimation.Dispose(), this._marriageAnimation = null, _15vn.prototype._endTask.call(this); }, _15vp; }(_15vj.TaskBase); _15uv.TaskWedding = _15vm; }, 90470: function(_15w1, _15w2, _15w3) { 'use strict'; var _15w4 = null; var _15w5 = this && this.__createBinding || (Object.create ? function(_15w6, _15w7, _15w8, _15w9) { var _15wa = null; void 0 === _15w9 && (_15w9 = _15w8); var _15wb = Object.getOwnPropertyDescriptor(_15w7, _15w8); _15wb && !('get' in _15wb ? !_15w7.__esModule : _15wb.writable || _15wb.configurable) || (_15wb = { 'enumerable': !0, 'get': function() { return _15w7[_15w8]; } }), Object.defineProperty(_15w6, _15w9, _15wb); } : function(_15wc, _15wd, _15we, _15wf) { void 0 === _15wf && (_15wf = _15we), _15wc[_15wf] = _15wd[_15we]; }), _15wg = this && this.__exportStar || function(_15wh, _15wi) { var _15wj = null; for (var _15wk in _15wh) 'default' === _15wk || Object.prototype.hasOwnProperty.call(_15wi, _15wk) || _15w5(_15wi, _15wh, _15wk); }; defineModule(_15w2); Object.defineProperty(_15w2, '__esModule', { 'value': !0 }), _15wg(_15w3(99558), _15w2), _15wg(_15w3(87656), _15w2), _15wg(_15w3(82819), _15w2), _15wg(_15w3(71944), _15w2), _15wg(_15w3(44896), _15w2), _15wg(_15w3(13090), _15w2), _15wg(_15w3(17775), _15w2), _15wg(_15w3(47135), _15w2), _15wg(_15w3(40545), _15w2), _15wg(_15w3(5558), _15w2); }, 28567: function(_15wl, _15wm, _15wn) { 'use strict'; var _15wo = null; var _15wp, _15wq = this && this.__extends || (_15wp = function(_15wr, _15ws) { var _15wt = null; return _15wp = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_15wu, _15wv) { var _15ww = null; _15wu.__proto__ = _15wv; } || function(_15wx, _15wy) { var _15wz = null; for (var _15x0 in _15wy) Object.prototype.hasOwnProperty.call(_15wy, _15x0) && (_15wx[_15x0] = _15wy[_15x0]); }, _15wp(_15wr, _15ws); }, function(_15x1, _15x2) { var _15x3 = null; if ('function' != typeof _15x2 && null !== _15x2) throw new TypeError('Class extends value ' + String(_15x2) + ' is not a constructor or null'); function _15x4() { var _15x5 = null; this.constructor = _15x1; } _15wp(_15x1, _15x2), _15x1.prototype = null === _15x2 ? Object.create(_15x2) : (_15x4.prototype = _15x2.prototype, new _15x4()); }); defineModule(_15wm); Object.defineProperty(_15wm, '__esModule', { 'value': !0 }), _15wm.MainContainer = void 0; var _15x6 = _15wn(14921), _15x7 = _15wn(98241), _15x8 = _15wn(31000), _15x9 = function(_15xa) { var _15xb = null; function _15xc(_15xd) { var _15xe = null, _15xf = _15xa.call(this) || this; _15xf._items_ship = [], _15xf._items_slot = [], _15xf._slot_separate = new PIXI.Container(), _15xf._slot_separate.position.set(0, 10); var _15xg = new PIXI.Sprite(); _15xg.name = 'l1', _15xg.position.set(120, 312), _15xf._slot_separate.addChild(_15xg); var _15xh = new PIXI.Sprite(); _15xh.name = 'l2', _15xh.position.set(502, 300), _15xf._slot_separate.addChild(_15xh); var _15xi = new PIXI.Sprite(); _15xi.name = 'l3', _15xi.position.set(660, 312), _15xf._slot_separate.addChild(_15xi), _15xf.addChild(_15xf._slot_separate); for (var _15xj = 0; _15xj < 10; _15xj++) { var _15xk = new _15x7.MainItemShip(_15xd); _15xk.x = 120 + _15xj % 5 * 179, _15xk.y = 45 + 288 * Math.floor(_15xj / 5), _15xf._items_ship.push(_15xk); var _15xl = new _15x7.MainItemSlot(_15xd); _15xl.x = 120 + _15xj % 5 * 179, _15xl.y = 60 + 318 * Math.floor(_15xj / 5), _15xf._items_slot.push(_15xl); } return _15xf; } return _15wq(_15xc, _15xa), _15xc.prototype.initialize = function() { var _15xm = null; this._slot_separate.getChildByName('l1').texture = _15x8.ALBUM_MAIN.getTexture(17), this._slot_separate.getChildByName('l2').texture = _15x8.ALBUM_MAIN.getTexture(18), this._slot_separate.getChildByName('l3').texture = _15x8.ALBUM_MAIN.getTexture(17), this._items_ship.forEach(function(_15xn) { var _15xo = null; _15xn.initialize(); }), this._items_slot.forEach(function(_15xp) { var _15xq = null; _15xp.initialize(); }); }, _15xc.prototype.update = function(_15xr, _15xs, _15xt) { var _15xu = null; if (this._updateLabels(_15xr, _15xs), 1 == _15xr) this._slot_separate.visible = !1, this._removeSlotItems(), this._updateShipItem(_15xt), this._addShipItem(); else { if (2 != _15xr) return this._slot_separate.visible = !1, this._removeShipItems(), this._removeSlotItems(), null; this._slot_separate.visible = !0, this._removeShipItems(), this._updateSlotItem(_15xt), this._addSlotItem(); } }, _15xc.prototype.activate = function() { var _15xv = null; if (null != this._items_ship) for (var _15xw = 0, _15xx = this._items_ship; _15xw < _15xx.length; _15xw++) { null != (_15xy = _15xx[_15xw]).parent && _15xy.activate(); } if (null != this._items_slot) for (var _15xz = 0, _15y0 = this._items_slot; _15xz < _15y0.length; _15xz++) { var _15xy; null != (_15xy = _15y0[_15xz]).parent && _15xy.activate(); } }, _15xc.prototype.deactivate = function() { var _15y1 = null; if (null != this._items_ship) for (var _15y2 = 0, _15y3 = this._items_ship; _15y2 < _15y3.length; _15y2++) { _15y3[_15y2].deactivate(); } if (null != this._items_slot) for (var _15y4 = 0, _15y5 = this._items_slot; _15y4 < _15y5.length; _15y4++) { _15y5[_15y4].deactivate(); } }, _15xc.prototype.dispose = function() { var _15y6 = null; this.removeChildren(), this.deactivate(); for (var _15y7 = 0; _15y7 < this._items_ship.length; _15y7++) this._items_ship[_15y7].dispose(), this._items_ship[_15y7] = null; for (_15y7 = 0; _15y7 < this._items_slot.length; _15y7++) this._items_slot[_15y7].dispose(), this._items_slot[_15y7] = null; this._slot_separate.removeChildren(), this._items_ship = null, this._items_slot = null, this._slot_separate = null; }, _15xc.prototype._updateLabels = function(_15y8, _15y9) { var _15ya = null; switch (_15y8) { case 1: this._items_ship.forEach(function(_15yb, _15yc) { var _15yd = null, _15ye = _15x6.MathUtil.zeroPadding(_15y9 + 1 + _15yc, 3); _15yb.updateLabel(_15ye); }); break; case 2: this._items_slot.forEach(function(_15yf, _15yg) { var _15yh = null, _15yi = _15x6.MathUtil.zeroPadding(_15y9 + 1 + _15yg, 3); _15yf.updateLabel(_15yi); }); } }, _15xc.prototype._addShipItem = function() { var _15yj = null; if (null != this._items_ship) for (var _15yk = 0, _15yl = this._items_ship; _15yk < _15yl.length; _15yk++) { var _15ym = _15yl[_15yk]; this.addChild(_15ym); } }, _15xc.prototype._updateShipItem = function(_15yn) { var _15yo = null; if (null == this._items_ship) return null; if (null == _15yn) return null; for (var _15yp = _15yn, _15yq = Math.min(this._items_ship.length, _15yp.length), _15yr = 0; _15yr < _15yq; _15yr++) { var _15ys = this._items_ship[_15yr], _15yt = _15yp[_15yr]; _15ys.update(_15yt); } }, _15xc.prototype._removeShipItems = function() { var _15yu = null; if (null != this._items_ship) for (var _15yv = 0, _15yw = this._items_ship; _15yv < _15yw.length; _15yv++) { var _15yx = _15yw[_15yv]; null != _15yx.parent && _15yx.parent.removeChild(_15yx); } }, _15xc.prototype._addSlotItem = function() { var _15yy = null; if (null != this._items_slot) for (var _15yz = 0, _15z0 = this._items_slot; _15yz < _15z0.length; _15yz++) { var _15z1 = _15z0[_15yz]; this.addChild(_15z1); } }, _15xc.prototype._updateSlotItem = function(_15z2) { var _15z3 = null; if (null == this._items_slot) return null; if (null == _15z2) return null; for (var _15z4 = _15z2, _15z5 = Math.min(this._items_slot.length, _15z4.length), _15z6 = 0; _15z6 < _15z5; _15z6++) { var _15z7 = this._items_slot[_15z6], _15z8 = _15z4[_15z6]; _15z7.update(_15z8); } }, _15xc.prototype._removeSlotItems = function() { var _15z9 = null; if (null != this._items_slot) for (var _15za = 0, _15zb = this._items_slot; _15za < _15zb.length; _15za++) { var _15zc = _15zb[_15za]; null != _15zc.parent && _15zc.parent.removeChild(_15zc); } }, _15xc; }(PIXI.Container); _15wm.MainContainer = _15x9; }, 83406: function(_15zd, _15ze, _15zf) { 'use strict'; var _15zg = null; var _15zh, _15zi = this && this.__extends || (_15zh = function(_15zj, _15zk) { var _15zl = null; return _15zh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_15zm, _15zn) { var _15zo = null; _15zm.__proto__ = _15zn; } || function(_15zp, _15zq) { var _15zr = null; for (var _15zs in _15zq) Object.prototype.hasOwnProperty.call(_15zq, _15zs) && (_15zp[_15zs] = _15zq[_15zs]); }, _15zh(_15zj, _15zk); }, function(_15zt, _15zu) { var _15zv = null; if ('function' != typeof _15zu && null !== _15zu) throw new TypeError('Class extends value ' + String(_15zu) + ' is not a constructor or null'); function _15zw() { var _15zx = null; this.constructor = _15zt; } _15zh(_15zt, _15zu), _15zt.prototype = null === _15zu ? Object.create(_15zu) : (_15zw.prototype = _15zu.prototype, new _15zw()); }); defineModule(_15ze); Object.defineProperty(_15ze, '__esModule', { 'value': !0 }), _15ze.MainView = void 0; var _15zy = _15zf(55233), _15zz = _15zf(84309), _1600 = _15zf(28567), _1601 = _15zf(51205), _1602 = _15zf(13220), _1603 = _15zf(17622), _1604 = _15zf(64109), _1605 = function(_1606) { var _1607 = null; function _1608(_1609, _160a, _160b, _160c) { var _160d = null, _160e = _1606.call(this) || this; return _160e._bg = new PIXI.Sprite(), _160e._bg.position.set(152, 54), _160e.addChild(_160e._bg), _160e._pager = new _1602.PagerContainer(_160a), _160e._pager.position.set(195, 6), _160e.addChild(_160e._pager), _160e._content = new _1600.MainContainer(_160b), _160e._content.position.set(126, 55), _160e.addChild(_160e._content), _160e._tab_container = new _1603.TabBtnContainer(_1609), _160e._tab_container.position.set(0, 66), _160e.addChild(_160e._tab_container), _160e._mini_chara = new _1601.MiniChara(), _160e._mini_chara.position.set(104, 564), _160e.addChild(_160e._mini_chara), _160e._back_btn = new _15zy.BackBtn(), _160e._back_btn.position.set(0, 659), _160e.addChild(_160e._back_btn), _160e._album_switch_btn = new _1604.AlbumModeSwitchBtn(_160c, _1609), _160e._album_switch_btn.position.set(0, 462), _160e.addChild(_160e._album_switch_btn), _160e; } return _15zi(_1608, _1606), Object.defineProperty(_1608.prototype, 'pager', { 'get': function() { var _160f = null; return this._pager; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1608.prototype, 'content', { 'get': function() { var _160g = null; return this._content; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1608.prototype, 'tab_container', { 'get': function() { var _160h = null; return this._tab_container; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1608.prototype, 'album_switch_btn', { 'get': function() { var _160i = null; return this._album_switch_btn; }, 'enumerable': !1, 'configurable': !0 }), _1608.prototype.initialize = function(_160j) { var _160k = null; this._bg.texture = _15zz.ALBUM_MAIN.getTexture(20), this._pager.initialize(), this._tab_container.initialize(), this._content.initialize(), this._pager.update(0, 0), this._content.update(1, 0, null), this._tab_container.update(1, 0), this._mini_chara.initialize(), this._back_btn.initialize(_160j), this._album_switch_btn.initialize(); }, _1608.prototype.activate = function() { var _160l = null; this._pager.activate(), this._content.activate(), this._tab_container.activate(), this._mini_chara.activate(), this._back_btn.activate(), this._album_switch_btn.activate(); }, _1608.prototype.deactivate = function() { var _160m = null; this._pager.deactivate(), this._content.deactivate(), this._tab_container.deactivate(), this._mini_chara.deactivate(), this._back_btn.deactivate(), this._album_switch_btn.deactivate(); }, _1608.prototype.dispose = function() { var _160n = null; this.removeChildren(), this._pager.dispose(), this._content.dispose(), this._tab_container.dispose(), this._mini_chara.dispose(), this._back_btn.dispose(), this._album_switch_btn.dispose(), this._bg = null, this._pager = null, this._content = null, this._tab_container = null, this._mini_chara = null, this._back_btn = null, this._album_switch_btn = null; }, _1608; }(PIXI.Container); _15ze.MainView = _1605; }, 64109: function(_160o, _160p, _160q) { 'use strict'; var _160r = null; var _160s, _160t = this && this.__extends || (_160s = function(_160u, _160v) { var _160w = null; return _160s = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_160x, _160y) { var _160z = null; _160x.__proto__ = _160y; } || function(_1610, _1611) { var _1612 = null; for (var _1613 in _1611) Object.prototype.hasOwnProperty.call(_1611, _1613) && (_1610[_1613] = _1611[_1613]); }, _160s(_160u, _160v); }, function(_1614, _1615) { var _1616 = null; if ('function' != typeof _1615 && null !== _1615) throw new TypeError('Class extends value ' + String(_1615) + ' is not a constructor or null'); function _1617() { var _1618 = null; this.constructor = _1614; } _160s(_1614, _1615), _1614.prototype = null === _1615 ? Object.create(_1615) : (_1617.prototype = _1615.prototype, new _1617()); }); defineModule(_160p); Object.defineProperty(_160p, '__esModule', { 'value': !0 }), _160p.AlbumModeSwitchBtn = void 0; var _1619 = _160q(35380), _161a = _160q(84309), _161b = function(_161c) { var _161d = null; function _161e(_161f, _161g) { var _161h = null, _161i = _161c.call(this) || this; return _161i._activated = !1, _161i._onMouseOver = function() { var _161j = null; _161i._update(!0); }, _161i._onMouseOut = function() { var _161k = null; _161i._update(!1); }, _161i._onClick = function() { var _161l = null; null != _161i._cb_onClick && null != _161i._cb_onChange && (_161i._cb_onClick(), _161i._cb_onChange(_161i._mode, 0)); }, _161i._mode = 1, _161i._cb_onChange = _161g, _161i._cb_onClick = _161f, _161i.interactive = !0, _161i; } return _160t(_161e, _161c), Object.defineProperty(_161e.prototype, 'mode', { 'get': function() { var _161m = null; return this._mode; }, 'set': function(_161n) { var _161o = null; this._mode = _161n; }, 'enumerable': !1, 'configurable': !0 }), _161e.prototype.initialize = function() { var _161p = null; this._ship_texture_cache = _161a.ALBUM_MAIN.getTexture(25), this._ship_texture_on_cache = _161a.ALBUM_MAIN.getTexture(26), this._slot_texture_cache = _161a.ALBUM_MAIN.getTexture(23), this._slot_texture_on_cache = _161a.ALBUM_MAIN.getTexture(24), this._update(!1); }, _161e.prototype.update = function(_161q) { var _161r = null; this._update(_161q); }, _161e.prototype.activate = function() { var _161s = null; 1 != this._activated && (this._activated = !0, this._activate()); }, _161e.prototype.deactivate = function() { var _161t = null; this._activated = !1, this._deactivate(); }, _161e.prototype.dispose = function() { var _161u = null; this.deactivate(), this._slot_texture_cache = null, this._slot_texture_on_cache = null, this._ship_texture_cache = null, this._ship_texture_on_cache = null, this._cb_onChange = null, this._cb_onClick = null; }, _161e.prototype.addOnceClickEvent = function() { var _161v = null; this.once(_1619.EventType.CLICK, this._onClick); }, _161e.prototype._update = function(_161w) { var _161x = null; 1 == _161w ? 1 == this._mode ? this.texture = this._slot_texture_on_cache : this.texture = this._ship_texture_on_cache : 1 == this._mode ? this.texture = this._slot_texture_cache : this.texture = this._ship_texture_cache; }, _161e.prototype._activate = function() { var _161y = null; this.buttonMode = !0, this.on(_1619.EventType.MOUSEOVER, this._onMouseOver), this.on(_1619.EventType.MOUSEOUT, this._onMouseOut), this.once(_1619.EventType.CLICK, this._onClick); }, _161e.prototype._deactivate = function() { var _161z = null; this.buttonMode = !1, this.off(_1619.EventType.MOUSEOVER, this._onMouseOver), this.off(_1619.EventType.MOUSEOUT, this._onMouseOut), this.off(_1619.EventType.CLICK, this._onClick); }, _161e; }(PIXI.Sprite); _160p.AlbumModeSwitchBtn = _161b; }, 3415: function(_1620, _1621, _1622) { 'use strict'; var _1623 = null; var _1624, _1625 = this && this.__extends || (_1624 = function(_1626, _1627) { var _1628 = null; return _1624 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1629, _162a) { var _162b = null; _1629.__proto__ = _162a; } || function(_162c, _162d) { var _162e = null; for (var _162f in _162d) Object.prototype.hasOwnProperty.call(_162d, _162f) && (_162c[_162f] = _162d[_162f]); }, _1624(_1626, _1627); }, function(_162g, _162h) { var _162i = null; if ('function' != typeof _162h && null !== _162h) throw new TypeError('Class extends value ' + String(_162h) + ' is not a constructor or null'); function _162j() { var _162k = null; this.constructor = _162g; } _1624(_162g, _162h), _162g.prototype = null === _162h ? Object.create(_162h) : (_162j.prototype = _162h.prototype, new _162j()); }); defineModule(_1621); Object.defineProperty(_1621, '__esModule', { 'value': !0 }), _1621.DetailPanelNumbers = void 0; var _162l = _1622(31000), _162m = function(_162n) { var _162o = null; function _162p() { var _162q = null, _162r = _162n.call(this) || this; return _162r._n100 = new _162s(), _162r.addChild(_162r._n100), _162r._n010 = new _162s(), _162r._n010.x = 18, _162r.addChild(_162r._n010), _162r._n001 = new _162s(), _162r._n001.x = 36, _162r.addChild(_162r._n001), _162r; } return _1625(_162p, _162n), _162p.prototype.dispose = function() { var _162t = null; this.removeChildren(), this._n100 = null, this._n010 = null, this._n001 = null; }, _162p.prototype.update = function(_162u) { var _162v = null; if (_162u < 0 || _162u > 999) this._n100.texture = PIXI.Texture.EMPTY, this._n010.texture = PIXI.Texture.EMPTY, this._n001.texture = PIXI.Texture.EMPTY; else { this._n100.update(Math.floor(_162u / 100)); var _162w = _162u % 100; this._n010.update(Math.floor(_162w / 10)), _162w = _162u % 10, this._n001.update(_162w); } }, _162p; }(PIXI.Container); _1621.DetailPanelNumbers = _162m; var _162s = function(_162x) { var _162y = null; function _162z() { var _1630 = null; return null !== _162x && _162x.apply(this, arguments) || this; } return _1625(_162z, _162x), _162z.prototype.update = function(_1631) { var _1632 = null; if (_1631 < 0 || _1631 > 9) this.texture = PIXI.Texture.EMPTY; else { var _1633 = [130, 131, 132, 133, 134, 135, 136, 137, 138, 139][_1631]; this.texture = _162l.ALBUM_MAIN.getTexture(_1633); } }, _162z; }(PIXI.Sprite); }, 23076: function(_1634, _1635, _1636) { 'use strict'; var _1637 = null; var _1638, _1639 = this && this.__extends || (_1638 = function(_163a, _163b) { var _163c = null; return _1638 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_163d, _163e) { var _163f = null; _163d.__proto__ = _163e; } || function(_163g, _163h) { var _163i = null; for (var _163j in _163h) Object.prototype.hasOwnProperty.call(_163h, _163j) && (_163g[_163j] = _163h[_163j]); }, _1638(_163a, _163b); }, function(_163k, _163l) { var _163m = null; if ('function' != typeof _163l && null !== _163l) throw new TypeError('Class extends value ' + String(_163l) + ' is not a constructor or null'); function _163n() { var _163o = null; this.constructor = _163k; } _1638(_163k, _163l), _163k.prototype = null === _163l ? Object.create(_163l) : (_163n.prototype = _163l.prototype, new _163n()); }), _163p = this && this.__importDefault || function(_163q) { var _163r = null; return _163q && _163q.__esModule ? _163q : { 'default': _163q }; }; defineModule(_1635); Object.defineProperty(_1635, '__esModule', { 'value': !0 }), _1635.EngStypeView = void 0; var _163s = _163p(_1636(18622)), _163t = _1636(57616), _163u = function(_163v) { var _163w = null; function _163x() { var _163y = null; return null !== _163v && _163v.apply(this, arguments) || this; } return _1639(_163x, _163v), _163x.prototype.update = function(_163z, _1640) { var _1641 = null, _1642; if (553 == _163z || 554 == _163z) _1642 = _163s.default.settings.path_root + 'resources/stype/etext/sp001.png'; else { if (699 == _163z) _1642 = _163s.default.settings.path_root + 'resources/stype/etext/sp002.png'; else { if (645 == _163z) _1642 = _163s.default.settings.path_root + 'resources/stype/etext/sp003.png'; else { if (650 == _163z) _1642 = _163s.default.settings.path_root + 'resources/stype/etext/sp004.png'; else { if (900 == _163z || 717 == _163z) _1642 = _163s.default.settings.path_root + 'resources/stype/etext/sp005.png'; else { if (945 == _163z || 727 == _163z) _1642 = _163s.default.settings.path_root + 'resources/stype/etext/sp006.png'; else { if (953 == _163z) _1642 = _163s.default.settings.path_root + 'resources/stype/etext/sp007.png'; else { 8 == _1640 ? _1640 = 9 : 15 == _1640 && (_1640 = 22); var _1643 = _163t.MathUtil.zeroPadding(_1640, 3); _1642 = _163s.default.settings.path_root + 'resources/stype/etext/'['concat'](_1643, '.png'); } } } } } } } this.texture = PIXI.Texture.fromImage(_1642); }, _163x.prototype.dispose = function() {}, _163x; }(PIXI.Sprite); _1635.EngStypeView = _163u; }, 41940: function(_1644, _1645, _1646) { 'use strict'; var _1647 = null; var _1648, _1649 = this && this.__extends || (_1648 = function(_164a, _164b) { var _164c = null; return _1648 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_164d, _164e) { var _164f = null; _164d.__proto__ = _164e; } || function(_164g, _164h) { var _164i = null; for (var _164j in _164h) Object.prototype.hasOwnProperty.call(_164h, _164j) && (_164g[_164j] = _164h[_164j]); }, _1648(_164a, _164b); }, function(_164k, _164l) { var _164m = null; if ('function' != typeof _164l && null !== _164l) throw new TypeError('Class extends value ' + String(_164l) + ' is not a constructor or null'); function _164n() { var _164o = null; this.constructor = _164k; } _1648(_164k, _164l), _164k.prototype = null === _164l ? Object.create(_164l) : (_164n.prototype = _164l.prototype, new _164n()); }); defineModule(_1645); Object.defineProperty(_1645, '__esModule', { 'value': !0 }), _1645.MainItemShip = void 0; var _164p = _1646(35380), _164q = _1646(32717), _164r = _1646(48205), _164s = _1646(31000), _164t = _1646(8744), _164u = function(_164v) { var _164w = null; function _164x(_164y) { var _164z = null, _1650 = _164v.call(this) || this; _1650._onClick = function() { var _1651 = null; null != _1650._cb_onClick && _1650._cb_onClick(_1650._target); }, _1650._cb_onClick = _164y; var _1652 = new PIXI.Container(); _1650._no = new PIXI.Sprite(), _1650._no.position.set(0, 10), _1652.addChild(_1650._no), _1650._label = new _164t.TextBox(28, 4999235), _1650._label.position.set(37, 0), _1650._label.text = '', _1652.addChild(_1650._label), _1650.addChild(_1652); var _1653 = new PIXI.Container(); return _1653.position.set(0, 34), _1650._bg = new PIXI.Sprite(), _1653.addChild(_1650._bg), _1650._img = new PIXI.Sprite(), _1650._img.position.set(2, 2), _1650._img.scale.set(0.5), _1653.addChild(_1650._img), _1650._ring = new _164q.RingMiddle(), _1650._ring.position.set(114, 175), _1650._ring.visible = !1, _1653.addChild(_1650._ring), _1650.addChild(_1653), _1650._bg.interactive = !0, _1650; } return _1649(_164x, _164v), _164x.prototype.initialize = function() { var _1654 = null; this._no.texture = _164s.ALBUM_MAIN.getTexture(19), this._bg.texture = _164s.ALBUM_MAIN.getTexture(15); }, _164x.prototype.update = function(_1655) { var _1656 = null; if (this._target = _1655, this._img.texture = PIXI.Texture.EMPTY, this._ring.visible = !1, null != _1655) { var _1657 = _1655.mst_ids[0]; this._ring.initialize(), this._ring.visible = _1655.hasMarriage(), this._ring.deactivate(), 1 == this._ring.visible && this._ring.activate(), new _164r.TaskLoadShipResource('card', this._img, _1657, !1).start(); } }, _164x.prototype.updateLabel = function(_1658) { var _1659 = null; this._label.text = _1658; }, _164x.prototype.activate = function() { var _165a = null; null != this._target && 1 != this._bg.buttonMode && (this._bg.buttonMode = !0, this._bg.on(_164p.EventType.CLICK, this._onClick), this._ring.activate()); }, _164x.prototype.deactivate = function() { var _165b = null; this._bg.buttonMode = !1, this._bg.off(_164p.EventType.CLICK, this._onClick), this._ring.deactivate(); }, _164x.prototype.dispose = function() { var _165c = null; this.removeChildren(), this.deactivate(), this._ring.dispose(), this._label.destroy(), this._target = null, this._bg = null, this._img = null, this._ring = null, this._no = null, this._label = null, this._cb_onClick = null; }, _164x; }(PIXI.Container); _1645.MainItemShip = _164u; }, 20955: function(_165d, _165e, _165f) { 'use strict'; var _165g = null; var _165h, _165i = this && this.__extends || (_165h = function(_165j, _165k) { var _165l = null; return _165h = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_165m, _165n) { var _165o = null; _165m.__proto__ = _165n; } || function(_165p, _165q) { var _165r = null; for (var _165s in _165q) Object.prototype.hasOwnProperty.call(_165q, _165s) && (_165p[_165s] = _165q[_165s]); }, _165h(_165j, _165k); }, function(_165t, _165u) { var _165v = null; if ('function' != typeof _165u && null !== _165u) throw new TypeError('Class extends value ' + String(_165u) + ' is not a constructor or null'); function _165w() { var _165x = null; this.constructor = _165t; } _165h(_165t, _165u), _165t.prototype = null === _165u ? Object.create(_165u) : (_165w.prototype = _165u.prototype, new _165w()); }), _165y = this && this.__importDefault || function(_165z) { var _1660 = null; return _165z && _165z.__esModule ? _165z : { 'default': _165z }; }; defineModule(_165e); Object.defineProperty(_165e, '__esModule', { 'value': !0 }), _165e.MainItemSlot = void 0; var _1661 = _165f(35380), _1662 = _165f(67605), _1663 = _165f(31000), _1664 = _165f(8744), _1665 = _165f(8262), _1666 = _165y(_165f(18622)), _1667 = function(_1668) { var _1669 = null; function _166a(_166b) { var _166c = null, _166d = _1668.call(this) || this; _166d._onClick = function() { var _166e = null; null != _166d._cb_onClick && _166d._cb_onClick(_166d._target); }, _166d._cb_onClick = _166b; var _166f = new PIXI.Container(); _166d._no = new PIXI.Sprite(), _166d._no.position.set(0, 10), _166f.addChild(_166d._no), _166d._label = new _1664.TextBox(28, 4999235), _166d._label.position.set(37, 0), _166d._label.text = '', _166f.addChild(_166d._label), _166d.addChild(_166f); var _166g = new PIXI.Container(); return _166g.position.set(0, 34), _166d._bg = new PIXI.Sprite(), _166g.addChild(_166d._bg), _166d._img = new PIXI.Sprite(), _166d._img.position.set(2, 2), _166g.addChild(_166d._img), _166d.addChild(_166g), _166d._stock_num = new _1665.StockNumberDisplay(), _166d._stock_num.position.set(97, 200), _166d.addChild(_166d._stock_num), _166d.scale.set(1), _166d._bg.interactive = !0, _166d; } return _165i(_166a, _1668), _166a.prototype.initialize = function() { var _166h = null; this._no.texture = _1663.ALBUM_MAIN.getTexture(19), this._bg.texture = _1663.ALBUM_MAIN.getTexture(16), this._stock_num.initialize(); }, _166a.prototype.update = function(_166i) { var _166j = null; this._target = _166i, this._img.texture = PIXI.Texture.EMPTY; var _166k = null == _166i ? void 0 : _166i.mst_ids[0], _166l = _1666.default.model.slot.getCount(_166k); if (this._stock_num.visible = _166k > 0, this._stock_num.update(_166l), null == _166i) return null; new _1662.TaskLoadSlotResource('card_t', this._img, _166k).start(); }, _166a.prototype.updateLabel = function(_166m) { var _166n = null; this._label.text = _166m; }, _166a.prototype.activate = function() { var _166o = null; null != this._target && 1 != this._bg.buttonMode && (this._bg.buttonMode = !0, this._bg.on(_1661.EventType.CLICK, this._onClick)); }, _166a.prototype.deactivate = function() { var _166p = null; this._bg.buttonMode = !1, this._bg.off(_1661.EventType.CLICK, this._onClick); }, _166a.prototype.dispose = function() { var _166q = null; this.removeChildren(), this.deactivate(), this._stock_num.dispose(), this._label.destroy(), this._target = null, this._bg = null, this._img = null, this._no = null, this._label = null, this._cb_onClick = null; }, _166a; }(PIXI.Container); _165e.MainItemSlot = _1667; }, 51205: function(_166r, _166s, _166t) { 'use strict'; var _166u = null; var _166v, _166w = this && this.__extends || (_166v = function(_166x, _166y) { var _166z = null; return _166v = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1670, _1671) { var _1672 = null; _1670.__proto__ = _1671; } || function(_1673, _1674) { var _1675 = null; for (var _1676 in _1674) Object.prototype.hasOwnProperty.call(_1674, _1676) && (_1673[_1676] = _1674[_1676]); }, _166v(_166x, _166y); }, function(_1677, _1678) { var _1679 = null; if ('function' != typeof _1678 && null !== _1678) throw new TypeError('Class extends value ' + String(_1678) + ' is not a constructor or null'); function _167a() { var _167b = null; this.constructor = _1677; } _166v(_1677, _1678), _1677.prototype = null === _1678 ? Object.create(_1678) : (_167a.prototype = _1678.prototype, new _167a()); }); defineModule(_166s); Object.defineProperty(_166s, '__esModule', { 'value': !0 }), _166s.MiniChara = void 0; var _167c = _166t(54061), _167d = _166t(84309), _167e = _166t(35380), _167f = function(_167g) { var _167h = null; function _167i() { var _167j = null, _167k = _167g.call(this) || this; return _167k._startWait = function() { var _167l = null; _167k._stopWait(); var _167m = 3000 * Math.random() + 1000; _167k._wait_tween = createjs.Tween.get(null).wait(_167m).call(function() { var _167n = null; _167k._caterpillar.buttonMode = !1, 0 == Math.floor(5 * Math.random()) ? _167k._action2() : _167k._action1(); }); }, _167k._onClick = function() { var _167o = null; 0 != _167k._caterpillar.buttonMode && (_167k._caterpillar.buttonMode = !1, 0 == Math.floor(5 * Math.random()) ? _167k._action3() : _167k._action1()); }, _167k._shadow = new _167c.CenteringSprite(), _167k._shadow.position.set(60, 92), _167k.addChild(_167k._shadow), _167k._frown = new PIXI.Sprite(), _167k.addChild(_167k._frown), _167k._caterpillar = new _167c.CenteringSprite(), _167k._caterpillar.position.set(63, 77), _167k._caterpillar.interactive = !0, _167k.addChild(_167k._caterpillar), _167k; } return _166w(_167i, _167g), _167i.prototype.initialize = function() { var _167p = null; this.texture = _167d.ALBUM_MAIN.getTexture(144), this._shadow.texture = _167d.ALBUM_MAIN.getTexture(143), this._frown.texture = _167d.ALBUM_MAIN.getTexture(141); var _167q = new PIXI.Sprite(_167d.ALBUM_MAIN.getTexture(142)); _167q.position.set(71, 21), this._frown.addChild(_167q), this._caterpillar.texture = _167d.ALBUM_MAIN.getTexture(140), this._caterpillar.buttonMode = !0, this._caterpillar.on(_167e.EventType.CLICK, this._onClick); }, _167i.prototype.activate = function() { var _167r = null; this._startWait(); }, _167i.prototype.deactivate = function() { var _167s = null; this._stopWait(), null != this._action_tween && (this._action_tween.setPaused(!0), this._action_tween = null); }, _167i.prototype.dispose = function() { var _167t = null; this.removeChildren(), this.deactivate(), this._caterpillar.off(_167e.EventType.CLICK, this._onClick), this._shadow = null, this._frown = null, this._caterpillar = null, this._wait_tween = null, this._action_tween = null; }, _167i.prototype._stopWait = function() { var _167u = null; null != this._wait_tween && (this._wait_tween.setPaused(!0), this._wait_tween = null); }, _167i.prototype._action1 = function() { var _167v = null, _167w = this; null == this._action_tween && (this._stopWait(), this._action_tween = createjs.Tween.get(this._caterpillar).to({ 'y': -105 }, 400, createjs.Ease.sineOut).to({ 'y': 77 }, 400, createjs.Ease.sineIn).call(function() { var _167x = null; _167w._action_tween = null, _167w._caterpillar.buttonMode = !0, _167w._startWait(); }), createjs.Tween.get(this._shadow).to({ 'alpha': 0.4, 'scaleX': 0.9, 'scaleY': 0.9 }, 400).to({ 'alpha': 1, 'scaleX': 1, 'scaleY': 1 }, 400)); }, _167i.prototype._action2 = function() { var _167y = null, _167z = this; null == this._action_tween && (this._stopWait(), this._action_tween = createjs.Tween.get(this._caterpillar).to({ 'rotation': -30 * Math.PI / 180 }, 200).to({ 'rotation': 25 * Math.PI / 180 }, 400).to({ 'rotation': 0 }, 200).call(function() { var _1680 = null; _167z._action_tween = null, _167z._caterpillar.buttonMode = !0, _167z._startWait(); })); }, _167i.prototype._action3 = function() { var _1681 = null, _1682 = this; null == this._action_tween && (this._stopWait(), this._action_tween = createjs.Tween.get(this._caterpillar).to({ 'y': -584 }, 500, createjs.Ease.sineOut).call(function() { var _1683 = null; createjs.Tween.get(_1682._frown).to({ 'alpha': 0 }, 100); }).wait(700).to({ 'y': 77 }, 500, createjs.Ease.sineIn).to({ 'y': 80, 'scaleY': 0.8 }, 100).to({ 'y': 77, 'scaleY': 1 }, 100).call(function() { var _1684 = null; createjs.Tween.get(_1682._frown).to({ 'alpha': 1 }, 100); }).call(function() { var _1685 = null; _1682._action_tween = null, _1682._caterpillar.buttonMode = !0, _1682._startWait(); }), createjs.Tween.get(this._shadow).to({ 'alpha': 0, 'scaleX': 0.7, 'scaleY': 0.7 }, 600).wait(400).to({ 'alpha': 1, 'scaleX': 1, 'scaleY': 1 }, 400)); }, _167i; }(PIXI.Sprite); _166s.MiniChara = _167f; }, 32430: function(_1686, _1687, _1688) { 'use strict'; var _1689 = null; var _168a, _168b = this && this.__extends || (_168a = function(_168c, _168d) { var _168e = null; return _168a = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_168f, _168g) { var _168h = null; _168f.__proto__ = _168g; } || function(_168i, _168j) { var _168k = null; for (var _168l in _168j) Object.prototype.hasOwnProperty.call(_168j, _168l) && (_168i[_168l] = _168j[_168l]); }, _168a(_168c, _168d); }, function(_168m, _168n) { var _168o = null; if ('function' != typeof _168n && null !== _168n) throw new TypeError('Class extends value ' + String(_168n) + ' is not a constructor or null'); function _168p() { var _168q = null; this.constructor = _168m; } _168a(_168m, _168n), _168m.prototype = null === _168n ? Object.create(_168n) : (_168p.prototype = _168n.prototype, new _168p()); }); defineModule(_1687); Object.defineProperty(_1687, '__esModule', { 'value': !0 }), _1687.MovieBtn = void 0; var _168r = _1688(57257), _168s = _1688(31000), _168t = _1688(35380), _168u = function(_168v) { var _168w = null; function _168x(_168y) { var _168z = null, _1690 = _168v.call(this) || this; return _1690._onMouseOver = function() { var _1691 = null; _1690._update(!0); }, _1690._onMouseOut = function() { var _1692 = null; _1690._update(!1); }, _1690._onClick = function(_1693) { var _1694 = null; null != _1690._cb_onClick && _1690._cb_onClick(_1693); }, _1690._bg = new PIXI.Sprite(), _1690._bg.position.set(-12, -12), _1690.addChild(_1690._bg), _1690._icon = new _168r.Sprite(), _1690._icon.position.set(18.5, 18.5), _1690._icon.anchor.set(0.5), _1690._icon.scale.set(0.5), _1690.addChild(_1690._icon), _1690._t = createjs.Tween.get(_1690._icon, { 'loop': !0 }).to({ 'scaleX': 0.8, 'scaleY': 0.8 }, 1000).to({ 'scaleX': 0.5, 'scaleY': 0.5 }, 1000), _1690._t.setPaused(!0), _1690._cb_onClick = _168y, _1690.interactive = !0, _1690; } return _168b(_168x, _168v), _168x.prototype.initialize = function() { var _1695 = null; this._icon.texture = _168s.ALBUM_MAIN.getTexture(9), this._update(!1); }, _168x.prototype.activate = function() { var _1696 = null; 1 != this.buttonMode && (this.buttonMode = !0, this.on(_168t.EventType.MOUSEOVER, this._onMouseOver), this.on(_168t.EventType.MOUSEOUT, this._onMouseOut), this.on(_168t.EventType.CLICK, this._onClick)); }, _168x.prototype.deactivate = function() { var _1697 = null; this.buttonMode = !1, this.off(_168t.EventType.MOUSEOVER, this._onMouseOver), this.off(_168t.EventType.MOUSEOUT, this._onMouseOut), this.off(_168t.EventType.CLICK, this._onClick); }, _168x.prototype.dispose = function() { var _1698 = null; this.removeChildren(), this.deactivate(), this._t.setPaused(!0), createjs.Tween.removeTweens(this._icon), this._bg = null, this._icon = null, this._t = null, this._cb_onClick = null; }, _168x.prototype._update = function(_1699) { var _169a = null; 0 == _1699 ? (this._bg.texture = _168s.ALBUM_MAIN.getTexture(2), this._icon.visible = !0, this._t.setPaused(!1)) : (this._bg.texture = _168s.ALBUM_MAIN.getTexture(10), this._icon.visible = !1, this._t.setPaused(!0)); }, _168x; }(PIXI.Container); _1687.MovieBtn = _168u; }, 75943: function(_169b, _169c, _169d) { 'use strict'; var _169e = null; var _169f, _169g = this && this.__extends || (_169f = function(_169h, _169i) { var _169j = null; return _169f = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_169k, _169l) { var _169m = null; _169k.__proto__ = _169l; } || function(_169n, _169o) { var _169p = null; for (var _169q in _169o) Object.prototype.hasOwnProperty.call(_169o, _169q) && (_169n[_169q] = _169o[_169q]); }, _169f(_169h, _169i); }, function(_169r, _169s) { var _169t = null; if ('function' != typeof _169s && null !== _169s) throw new TypeError('Class extends value ' + String(_169s) + ' is not a constructor or null'); function _169u() { var _169v = null; this.constructor = _169r; } _169f(_169r, _169s), _169r.prototype = null === _169s ? Object.create(_169s) : (_169u.prototype = _169s.prototype, new _169u()); }); defineModule(_169c); Object.defineProperty(_169c, '__esModule', { 'value': !0 }), _169c.PrevBtn = _169c.NextBtn = void 0; var _169w = _169d(31000), _169x = _169d(35380), _169y = function(_169z) { var _16a0 = null; function _16a1(_16a2) { var _16a3 = null, _16a4 = _169z.call(this) || this; return _16a4._onMouseOver = function() { var _16a5 = null; _16a4._update(!0); }, _16a4._onMouseOut = function() { var _16a6 = null; _16a4._update(!1); }, _16a4._onClick = function(_16a7) { var _16a8 = null; null != _16a4._cb_onClick && _16a4._cb_onClick(_16a7); }, _16a4._cb_onClick = _16a2, _16a4.interactive = !0, _16a4; } return _169g(_16a1, _169z), _16a1.prototype.initialize = function() { var _16a9 = null; this._update(!1); }, _16a1.prototype.activate = function() { var _16aa = null; 1 != this.buttonMode && (this.buttonMode = !0, this.on(_169x.EventType.MOUSEOVER, this._onMouseOver), this.on(_169x.EventType.MOUSEOUT, this._onMouseOut), this.on(_169x.EventType.CLICK, this._onClick)); }, _16a1.prototype.deactivate = function() { var _16ab = null; this.buttonMode = !1, this.off(_169x.EventType.MOUSEOVER, this._onMouseOver), this.off(_169x.EventType.MOUSEOUT, this._onMouseOut), this.off(_169x.EventType.CLICK, this._onClick); }, _16a1.prototype.dispose = function() { var _16ac = null; this.deactivate(), this._cb_onClick = null; }, _16a1; }(PIXI.Sprite), _16ad = function(_16ae) { var _16af = null; function _16ag() { var _16ah = null; return null !== _16ae && _16ae.apply(this, arguments) || this; } return _169g(_16ag, _16ae), _16ag.prototype._update = function(_16ai) { var _16aj = null; this.texture = 0 == _16ai ? _169w.ALBUM_MAIN.getTexture(5) : _169w.ALBUM_MAIN.getTexture(6); }, _16ag; }(_169y); _169c.NextBtn = _16ad; var _16ak = function(_16al) { var _16am = null; function _16an() { var _16ao = null; return null !== _16al && _16al.apply(this, arguments) || this; } return _169g(_16an, _16al), _16an.prototype._update = function(_16ap) { var _16aq = null; this.texture = 0 == _16ap ? _169w.ALBUM_MAIN.getTexture(7) : _169w.ALBUM_MAIN.getTexture(8); }, _16an; }(_169y); _169c.PrevBtn = _16ak; }, 66099: function(_16ar, _16as, _16at) { 'use strict'; var _16au = null; var _16av, _16aw = this && this.__extends || (_16av = function(_16ax, _16ay) { var _16az = null; return _16av = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_16b0, _16b1) { var _16b2 = null; _16b0.__proto__ = _16b1; } || function(_16b3, _16b4) { var _16b5 = null; for (var _16b6 in _16b4) Object.prototype.hasOwnProperty.call(_16b4, _16b6) && (_16b3[_16b6] = _16b4[_16b6]); }, _16av(_16ax, _16ay); }, function(_16b7, _16b8) { var _16b9 = null; if ('function' != typeof _16b8 && null !== _16b8) throw new TypeError('Class extends value ' + String(_16b8) + ' is not a constructor or null'); function _16ba() { var _16bb = null; this.constructor = _16b7; } _16av(_16b7, _16b8), _16b7.prototype = null === _16b8 ? Object.create(_16b8) : (_16ba.prototype = _16b8.prototype, new _16ba()); }); defineModule(_16as); Object.defineProperty(_16as, '__esModule', { 'value': !0 }), _16as.Pager = void 0; var _16bc = _16at(31000), _16bd = _16at(35380), _16be = function(_16bf) { var _16bg = null; function _16bh(_16bi) { var _16bj = null, _16bk = _16bf.call(this) || this; return _16bk._offset = 0, _16bk._activated = !1, _16bk._selected = !1, _16bk._onClick = function() { var _16bl = null; null != _16bk._cb_onChange && _16bk._cb_onChange(_16bk._offset); }, _16bk._cb_onChange = _16bi, _16bk._dash = new PIXI.Sprite(), _16bk._dash.position.set(75, 28), _16bk.addChild(_16bk._dash), _16bk._from = new _16bm(), _16bk._from.position.set(24, 22), _16bk.addChild(_16bk._from), _16bk._to = new _16bm(), _16bk._to.position.set(95, 22), _16bk.addChild(_16bk._to), _16bk.interactive = !0, _16bk; } return _16aw(_16bh, _16bf), Object.defineProperty(_16bh.prototype, 'selected', { 'get': function() { var _16bn = null; return this._selected; }, 'set': function(_16bo) { var _16bp = null; this._selected != _16bo && (this._selected = _16bo, 1 == this._selected ? this._deactivate() : 1 == this._activated && this._activate(), this.update(this._offset)); }, 'enumerable': !1, 'configurable': !0 }), _16bh.prototype.initialize = function() { var _16bq = null; this._setBGTexture(), this._from.update(0, this._selected), this._to.update(0, this._selected); }, _16bh.prototype.update = function(_16br) { var _16bs = null; this._offset = _16br, this._setBGTexture(), this._from.update(_16br + 1, this._selected), this._to.update(_16br + 10, this._selected); }, _16bh.prototype.activate = function() { var _16bt = null; 1 != this._activated && (this._activated = !0, this._activate()); }, _16bh.prototype.deactivate = function() { var _16bu = null; this._activated = !1, this._deactivate(); }, _16bh.prototype.dispose = function() { var _16bv = null; this.removeChildren(), this.deactivate(), this._from.dispose(), this._to.dispose(), this._dash = null, this._from = null, this._to = null, this._cb_onChange = null; }, _16bh.prototype._setBGTexture = function() { var _16bw = null; 0 == this._selected ? (this.texture = _16bc.ALBUM_MAIN.getTexture(124), this._dash.texture = _16bc.ALBUM_MAIN.getTexture(27)) : (this.texture = _16bc.ALBUM_MAIN.getTexture(125), this._dash.texture = _16bc.ALBUM_MAIN.getTexture(28)); }, _16bh.prototype._activate = function() { var _16bx = null; 1 != this._selected && (this.buttonMode = !0, this.on(_16bd.EventType.CLICK, this._onClick)); }, _16bh.prototype._deactivate = function() { var _16by = null; this.buttonMode = !1, this.off(_16bd.EventType.CLICK, this._onClick); }, _16bh; }(PIXI.Sprite); _16as.Pager = _16be; var _16bm = function(_16bz) { var _16c0 = null; function _16c1() { var _16c2 = null, _16c3 = _16bz.call(this) || this; return _16c3._n100 = new _16c4(), _16c3.addChild(_16c3._n100), _16c3._n010 = new _16c4(), _16c3._n010.x = 15, _16c3.addChild(_16c3._n010), _16c3._n001 = new _16c4(), _16c3._n001.x = 30, _16c3.addChild(_16c3._n001), _16c3; } return _16aw(_16c1, _16bz), _16c1.prototype.dispose = function() { var _16c5 = null; this.removeChildren(), this._n100 = null, this._n010 = null, this._n001 = null; }, _16c1.prototype.update = function(_16c6, _16c7) { var _16c8 = null; if (_16c6 < 0 || _16c6 > 999) this._n100.texture = PIXI.Texture.EMPTY, this._n010.texture = PIXI.Texture.EMPTY, this._n001.texture = PIXI.Texture.EMPTY; else { this._n100.update(Math.floor(_16c6 / 100), _16c7); var _16c9 = _16c6 % 100; this._n010.update(Math.floor(_16c9 / 10), _16c7), _16c9 = _16c6 % 10, this._n001.update(_16c9, _16c7); } }, _16c1; }(PIXI.Sprite), _16c4 = function(_16ca) { var _16cb = null; function _16cc() { var _16cd = null; return null !== _16ca && _16ca.apply(this, arguments) || this; } return _16aw(_16cc, _16ca), _16cc.prototype.update = function(_16ce, _16cf) { var _16cg = null; if (_16ce < 0 || _16ce > 9) this.texture = PIXI.Texture.EMPTY; else { var _16ch = void 0; _16ch = 0 == _16cf ? [49, 51, 53, 55, 57, 59, 61, 63, 65, 67][_16ce] : [50, 52, 54, 56, 58, 60, 62, 64, 66, 68][_16ce], this.texture = _16bc.ALBUM_MAIN.getTexture(_16ch); } }, _16cc; }(PIXI.Sprite); }, 13220: function(_16ci, _16cj, _16ck) { 'use strict'; var _16cl = null; var _16cm, _16cn = this && this.__extends || (_16cm = function(_16co, _16cp) { var _16cq = null; return _16cm = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_16cr, _16cs) { var _16ct = null; _16cr.__proto__ = _16cs; } || function(_16cu, _16cv) { var _16cw = null; for (var _16cx in _16cv) Object.prototype.hasOwnProperty.call(_16cv, _16cx) && (_16cu[_16cx] = _16cv[_16cx]); }, _16cm(_16co, _16cp); }, function(_16cy, _16cz) { var _16d0 = null; if ('function' != typeof _16cz && null !== _16cz) throw new TypeError('Class extends value ' + String(_16cz) + ' is not a constructor or null'); function _16d1() { var _16d2 = null; this.constructor = _16cy; } _16cm(_16cy, _16cz), _16cy.prototype = null === _16cz ? Object.create(_16cz) : (_16d1.prototype = _16cz.prototype, new _16d1()); }); defineModule(_16cj); Object.defineProperty(_16cj, '__esModule', { 'value': !0 }), _16cj.PagerContainer = void 0; var _16d3 = _16ck(66099), _16d4 = function(_16d5) { var _16d6 = null; function _16d7(_16d8) { var _16d9 = null, _16da = _16d5.call(this) || this; _16da.PAGE_NUM = 7, _16da._pagers = []; for (var _16db = 0; _16db < _16da.PAGE_NUM; _16db++) { var _16dc = new _16d3.Pager(_16d8); _16dc.x = 138 * _16db, _16da.addChild(_16dc), _16da._pagers.push(_16dc); } return _16da; } return _16cn(_16d7, _16d5), _16d7.prototype.initialize = function() { var _16dd = null; for (var _16de = 0, _16df = this._pagers; _16de < _16df.length; _16de++) { _16df[_16de].initialize(); } }, _16d7.prototype.update = function(_16dg, _16dh) { var _16di = null; for (var _16dj = 0; _16dj < this._pagers.length; _16dj++) { var _16dk = this._pagers[_16dj], _16dl = _16dg + 10 * _16dj; _16dk.update(_16dl), _16dk.selected = _16dh >= _16dl && _16dh < _16dl + 10; } }, _16d7.prototype.activate = function() { var _16dm = null; for (var _16dn = 0, _16do = this._pagers; _16dn < _16do.length; _16dn++) { _16do[_16dn].activate(); } }, _16d7.prototype.deactivate = function() { var _16dp = null; for (var _16dq = 0, _16dr = this._pagers; _16dq < _16dr.length; _16dq++) { _16dr[_16dq].deactivate(); } }, _16d7.prototype.dispose = function() { var _16ds = null; this.removeChildren(); for (var _16dt = 0, _16du = this._pagers; _16dt < _16du.length; _16dt++) { _16du[_16dt].dispose(); } this._pagers = null; }, _16d7; }(PIXI.Container); _16cj.PagerContainer = _16d4; }, 42849: function(_16dv, _16dw) { 'use strict'; var _16dx = null; var _16dy, _16dz = this && this.__extends || (_16dy = function(_16e0, _16e1) { var _16e2 = null; return _16dy = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_16e3, _16e4) { var _16e5 = null; _16e3.__proto__ = _16e4; } || function(_16e6, _16e7) { var _16e8 = null; for (var _16e9 in _16e7) Object.prototype.hasOwnProperty.call(_16e7, _16e9) && (_16e6[_16e9] = _16e7[_16e9]); }, _16dy(_16e0, _16e1); }, function(_16ea, _16eb) { var _16ec = null; if ('function' != typeof _16eb && null !== _16eb) throw new TypeError('Class extends value ' + String(_16eb) + ' is not a constructor or null'); function _16ed() { var _16ee = null; this.constructor = _16ea; } _16dy(_16ea, _16eb), _16ea.prototype = null === _16eb ? Object.create(_16eb) : (_16ed.prototype = _16eb.prototype, new _16ed()); }); defineModule(_16dw); Object.defineProperty(_16dw, '__esModule', { 'value': !0 }), _16dw.RaderGraphModel = _16dw.RaderGraph = void 0; var _16ef = function(_16eg) { var _16eh = null; function _16ei() { var _16ej = null, _16ek = _16eg.call(this) || this; return _16ek._progress = 0, _16ek; } return _16dz(_16ei, _16eg), Object.defineProperty(_16ei.prototype, 'progress', { 'get': function() { var _16el = null; return this._progress; }, 'set': function(_16em) { var _16en = null; this._progress = _16em, this._draw(this._progress); }, 'enumerable': !1, 'configurable': !0 }), _16ei.prototype.update = function(_16eo) { var _16ep = null; this._model = _16eo, null != _16eo ? this._startAnimation() : this._clear(); }, _16ei.prototype.dispose = function() { var _16eq = null; this._stopAnimation(); }, _16ei.prototype._clear = function() { var _16er = null; this._stopAnimation(), this.clear(); }, _16ei.prototype._startAnimation = function() { var _16es = null, _16et = this; this._stopAnimation(), this._progress = 0, this._t = createjs.Tween.get(this).to({ 'progress': 1 }, 1000).call(function() { var _16eu = null; _16et._t = null, _16et._progress = 0; }); }, _16ei.prototype._stopAnimation = function() { var _16ev = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _16ei.prototype._draw = function(_16ew) { var _16ex = null, _16ey = 100, _16ez = [(this._model.karyoku > _16ey ? _16ey : this._model.karyoku) * _16ew, (this._model.raisou > _16ey ? _16ey : this._model.raisou) * _16ew, (this._model.taiku > _16ey ? _16ey : this._model.taiku) * _16ew, (this._model.kaihi > _16ey ? _16ey : this._model.kaihi) * _16ew, (this._model.taikyu > _16ey ? _16ey : this._model.taikyu) * _16ew].map(function(_16f0, _16f1, _16f2) { var _16f3 = null, _16f4 = (72 * _16f1 - 90) / 180 * Math.PI; return [95 * _16f0 / _16ey * Math.cos(_16f4), 95 * _16f0 / _16ey * Math.sin(_16f4)]; }); this.clear(), this.lineStyle(1.4, 16774898), this.beginFill(1949120), this.moveTo(_16ez[0][0], _16ez[0][1]); for (var _16f5 = 0; _16f5 < 5; _16f5++) { var _16f6 = (_16f5 + 1) % 5; _16ez[_16f5][0] == _16ez[_16f6][0] && _16ez[_16f5][1] == _16ez[_16f6][1] || this.lineTo(_16ez[_16f6][0], _16ez[_16f6][1]); } this.endFill(); }, _16ei; }(PIXI.Graphics); _16dw.RaderGraph = _16ef; var _16f7 = function() { var _16f8 = null; this.karyoku = 0, this.raisou = 0, this.taiku = 0, this.kaihi = 0, this.taikyu = 0; }; _16dw.RaderGraphModel = _16f7; }, 20473: function(_16f9, _16fa, _16fb) { 'use strict'; var _16fc = null; var _16fd, _16fe = this && this.__extends || (_16fd = function(_16ff, _16fg) { var _16fh = null; return _16fd = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_16fi, _16fj) { var _16fk = null; _16fi.__proto__ = _16fj; } || function(_16fl, _16fm) { var _16fn = null; for (var _16fo in _16fm) Object.prototype.hasOwnProperty.call(_16fm, _16fo) && (_16fl[_16fo] = _16fm[_16fo]); }, _16fd(_16ff, _16fg); }, function(_16fp, _16fq) { var _16fr = null; if ('function' != typeof _16fq && null !== _16fq) throw new TypeError('Class extends value ' + String(_16fq) + ' is not a constructor or null'); function _16fs() { var _16ft = null; this.constructor = _16fp; } _16fd(_16fp, _16fq), _16fp.prototype = null === _16fq ? Object.create(_16fq) : (_16fs.prototype = _16fq.prototype, new _16fs()); }), _16fu = this && this.__importDefault || function(_16fv) { var _16fw = null; return _16fv && _16fv.__esModule ? _16fv : { 'default': _16fv }; }; defineModule(_16fa); Object.defineProperty(_16fa, '__esModule', { 'value': !0 }), _16fa.ShipDetailContent = void 0; var _16fx = _16fu(_16fb(18622)), _16fy = _16fb(35380), _16fz = _16fb(79899), _16g0 = _16fb(32717), _16g1 = _16fb(32667), _16g2 = _16fb(75943), _16g3 = _16fb(32430), _16g4 = _16fb(90144), _16g5 = _16fb(47135), _16g6 = function(_16g7) { var _16g8 = null; function _16g9() { var _16ga = null, _16gb = _16g7.call(this) || this; _16gb._extraVoiceBtn = [], _16gb._extraVoiceBtnData = [], _16gb._onPrev = function(_16gc) { var _16gd = null; if (_16gc.stopPropagation(), null != _16gb._current) { var _16ge = _16gb._data_list.indexOf(_16gb._current); if (!(_16ge < 0)) { var _16gf = _16ge - 1; _16gf < 0 && (_16gf = _16gb._data_list.length - 1), _16gb._current = _16gb._data_list[_16gf], _16gb._update(); } } }, _16gb._onNext = function(_16gg) { var _16gh = null; if (_16gg.stopPropagation(), null != _16gb._current) { var _16gi = _16gb._data_list.indexOf(_16gb._current); if (!(_16gi < 0)) { var _16gj = _16gi + 1; _16gj >= _16gb._data_list.length && (_16gj = 0), _16gb._current = _16gb._data_list[_16gj], _16gb._update(); } } }, _16gb._onVoice = function(_16gk) { var _16gl = null; if (_16gk.stopPropagation(), null != _16gb._data_list && 0 != _16gb._data_list.length) { var _16gm = _16gb._data_list[0].mst_id; _16gb._playVoice(_16gm, 25); } }, _16gb._onMovie = function(_16gn) { var _16go = null; if (_16gn.stopPropagation(), null != _16gb._current) { var _16gp = _16gb._current.mst_id; 66 == _16gp ? 1 == _16gb._option.takao_flag ? (_16gp = 269, _16gb._option.takao_flag = 0) : _16gb._option.takao_flag = 1 : 67 == _16gp && (1 == _16gb._option.atago_flag ? (_16gp = 270, _16gb._option.atago_flag = 0) : _16gb._option.atago_flag = 1); var _16gq = new _16fz.AreaBox(1, 16777215); _16gq.alpha = 0, _16fx.default.view.overLayer.addChild(_16gq), _16gb._stopVoice(), new _16g5.TaskWedding(_16gq, _16gp).start(function() { var _16gr = null; _16fx.default.view.overLayer.removeChild(_16gq); }); } }, _16gb._onClickRing = function(_16gs) { var _16gt = null; if (_16gs.stopPropagation(), null != _16gb._data_list && 0 != _16gb._data_list.length) { var _16gu = _16gb._data_list[0].mst_id; _16gb._playVoice(_16gu, 24); } }, _16gb._onClickExtraVoice = function(_16gv, _16gw) { var _16gx = null; (_16gv.stopPropagation(), -1 !== _16gw) && (_16gb._data_list[0].mst_id, _16gb._playVoice(9997, _16gw)); }, _16gb._canvas = new PIXI.Sprite(), _16gb.addChild(_16gb._canvas), _16gb._prevBtn = new _16g2.PrevBtn(_16gb._onPrev), _16gb._prevBtn.position.set(10, 582), _16gb.addChild(_16gb._prevBtn), _16gb._nextBtn = new _16g2.NextBtn(_16gb._onNext), _16gb._nextBtn.position.set(55, 582), _16gb.addChild(_16gb._nextBtn), _16gb._voiceBtn = new _16g4.VoiceBtn(_16gb._onVoice), _16gb._voiceBtn.position.set(105, 582), _16gb.addChild(_16gb._voiceBtn), _16gb._movieBtn = new _16g3.MovieBtn(_16gb._onMovie), _16gb._movieBtn.position.set(154, 582), _16gb.addChild(_16gb._movieBtn); for (var _16gy = [370, 325, 280, 235], _16gz = 0, _16h0 = _16gy.length; _16gz < _16h0; _16gz++) { var _16h1 = _16gy[_16gz], _16h2 = new _16g1.extraVoiceBtn(_16gb._onClickExtraVoice); _16h2.position.set(_16h1, 582), _16gb.addChild(_16h2), _16gb._extraVoiceBtn[_16gz] = _16h2, _16gb._extraVoiceBtnData[_16gz] = null; } return _16gb._ring = new _16g0.RingLarge(), _16gb._ring.position.set(-13, 22), _16gb._ring.interactive = !0, _16gb.addChild(_16gb._ring), _16gb._canvas.interactive = !0, _16gb; } return _16fe(_16g9, _16g7), _16g9.prototype.initialize = function(_16h3, _16h4) { var _16h5 = null; this._option = _16h4, this._data_list = []; for (var _16h6 = 0, _16h7 = _16h3.mst_ids; _16h6 < _16h7.length; _16h6++) { var _16h8 = _16h7[_16h6], _16h9 = _16h3.isMarriage(_16h8), _16ha = _16fx.default.resources.getShip(_16h8, !1, 'card'); this._addImageData(_16h8, _16ha, _16h9, new PIXI.Point(45, 105)), _16ha = _16fx.default.resources.getShip(_16h8, !1, 'character_full'), this._addImageData(_16h8, _16ha, _16h9), _16ha = _16fx.default.resources.getShip(_16h8, !1, 'character_up'), this._addImageData(_16h8, _16ha, _16h9), 1 == _16h3.hasTaiha(_16h8) && (_16ha = _16fx.default.resources.getShip(_16h8, !0, 'character_full'), this._addImageData(_16h8, _16ha, _16h9), _16ha = _16fx.default.resources.getShip(_16h8, !0, 'character_up'), this._addImageData(_16h8, _16ha, _16h9)); } var _16hb = _16h3.extraVoices(); if (null !== _16hb) for (var _16hc = 0, _16hd = _16hb.length; _16hc < _16hd; _16hc++) { var _16he = _16hb[_16hc], _16hf = _16he.api_no - 1; this._extraVoiceBtnData[_16hf] = _16he; } for (_16hc = 0, _16hd = this._extraVoiceBtn.length; _16hc < _16hd; _16hc++) this._extraVoiceBtn[_16hc].initialize(this._extraVoiceBtnData[_16hc]); this._data_list.length > 0 && (this._current = this._data_list[0], this._update(), this._playVoice(this._current.mst_id, 25)), this._prevBtn.initialize(), this._nextBtn.initialize(), this._voiceBtn.initialize(), this._movieBtn.initialize(), this._ring.initialize(); }, _16g9.prototype.preactivate = function() { var _16hg = null; this._ring.activate(); }, _16g9.prototype.activate = function() { var _16hh = null; if (1 != this._canvas.buttonMode) { this._canvas.buttonMode = !0, this._canvas.on(_16fy.EventType.CLICK, this._onNext), this._prevBtn.activate(), this._nextBtn.activate(), this._voiceBtn.activate(), this._movieBtn.activate(), this._ring.buttonMode = !0, this._ring.on(_16fy.EventType.CLICK, this._onClickRing); for (var _16hi = 0, _16hj = this._extraVoiceBtn.length; _16hi < _16hj; _16hi++) this._extraVoiceBtn[_16hi].activate(); } }, _16g9.prototype.deactivate = function() { var _16hk = null; this._canvas.buttonMode = !1, this._canvas.off(_16fy.EventType.CLICK, this._onNext), this._prevBtn.deactivate(), this._nextBtn.deactivate(), this._voiceBtn.deactivate(), this._movieBtn.deactivate(), this._ring.deactivate(), this._ring.buttonMode = !1, this._ring.off(_16fy.EventType.CLICK, this._onClickRing); for (var _16hl = 0, _16hm = this._extraVoiceBtn.length; _16hl < _16hm; _16hl++) this._extraVoiceBtn[_16hl].deactivate(); }, _16g9.prototype.dispose = function() { var _16hn = null; this.removeChildren(), this.deactivate(), this._prevBtn.dispose(), this._nextBtn.dispose(), this._voiceBtn.dispose(), this._movieBtn.dispose(), this._ring.dispose(), this._stopVoice(); for (var _16ho = 0, _16hp = this._extraVoiceBtn.length; _16ho < _16hp; _16ho++) this._extraVoiceBtn[_16ho].dispose(), this._extraVoiceBtn[_16ho] = null; for (_16ho = 0; _16ho < this._data_list.length; _16ho++) this._data_list[_16ho] = null; this._option = null, this._data_list = null, this._current = null, this._canvas = null, this._prevBtn = null, this._nextBtn = null, this._voiceBtn = null, this._movieBtn = null, this._ring = null, this._extraVoiceBtn = null, this._extraVoiceBtnData = null, this._play_voice = null; }, _16g9.prototype._addImageData = function(_16hq, _16hr, _16hs, _16ht) { var _16hu = null; if (void 0 === _16ht && (_16ht = null), _16hr != PIXI.Texture.EMPTY) { var _16hv = new _16hw(); _16hv.mst_id = _16hq, _16hv.texture = _16hr, _16hv.marriage = _16hs, _16hv.offset = _16ht, this._data_list.push(_16hv); } }, _16g9.prototype._update = function() { var _16hx = null; if (null != this._current) { this._canvas.texture = this._current.texture, null != this._current.offset ? (this._canvas.x = this._current.offset.x, this._canvas.y = this._current.offset.y) : this._canvas.position.set(0, 0), this._movieBtn.visible = this._current.marriage, this._ring.visible = this._current.marriage; for (var _16hy = 0, _16hz = this._extraVoiceBtn.length; _16hy < _16hz; _16hy++) { var _16i0 = this._extraVoiceBtnData[_16hy]; this._extraVoiceBtn[_16hy].visible = null !== _16i0; } } }, _16g9.prototype._playVoice = function(_16i1, _16i2) { var _16i3 = null; this._stopVoice(), this._play_voice = _16fx.default.sound.voice.play(_16i1.toString(), _16i2); }, _16g9.prototype._stopVoice = function() { var _16i4 = null; null != this._play_voice && _16fx.default.sound.voice.stop(this._play_voice); }, _16g9; }(PIXI.Container); _16fa.ShipDetailContent = _16g6; var _16hw = function() {}; }, 3609: function(_16i5, _16i6, _16i7) { 'use strict'; var _16i8 = null; var _16i9, _16ia = this && this.__extends || (_16i9 = function(_16ib, _16ic) { var _16id = null; return _16i9 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_16ie, _16if) { var _16ig = null; _16ie.__proto__ = _16if; } || function(_16ih, _16ii) { var _16ij = null; for (var _16ik in _16ii) Object.prototype.hasOwnProperty.call(_16ii, _16ik) && (_16ih[_16ik] = _16ii[_16ik]); }, _16i9(_16ib, _16ic); }, function(_16il, _16im) { var _16in = null; if ('function' != typeof _16im && null !== _16im) throw new TypeError('Class extends value ' + String(_16im) + ' is not a constructor or null'); function _16io() { var _16ip = null; this.constructor = _16il; } _16i9(_16il, _16im), _16il.prototype = null === _16im ? Object.create(_16im) : (_16io.prototype = _16im.prototype, new _16io()); }), _16iq = this && this.__importDefault || function(_16ir) { var _16is = null; return _16ir && _16ir.__esModule ? _16ir : { 'default': _16ir }; }; defineModule(_16i6); Object.defineProperty(_16i6, '__esModule', { 'value': !0 }), _16i6.ShipDetailPanel = void 0; var _16it = _16iq(_16i7(18622)), _16iu = _16i7(35380), _16iv = _16i7(8744), _16iw = _16i7(31000), _16ix = _16i7(98241), _16iy = _16i7(98241), _16iz = _16i7(98241), _16j0 = _16i7(98241), _16j1 = _16i7(98241), _16j2 = function(_16j3) { var _16j4 = null; function _16j5(_16j6) { var _16j7 = null, _16j8 = _16j3.call(this) || this; return _16j8._onClose = function() { var _16j9 = null; null != _16j8._cb_onClose && _16j8._cb_onClose(); }, _16j8._cb_onClose = _16j6, _16j8._title = new _16ja(), _16j8._title.position.set(39, 45), _16j8.addChild(_16j8._title), _16j8._message = new _16iv.TextBox(23, 5523516), _16j8._message.position.set(106, 138), _16j8._message.style.breakWords = !0, _16j8._message.style.wordWrap = !0, _16j8._message.style.wordWrapWidth = 585, _16j8._message.style.lineHeight = 34.5, _16j8.addChild(_16j8._message), _16j8._statusBox = new _16ix.ShipDetailStatusBox(), _16j8._statusBox.position.set(107, 354), _16j8.addChild(_16j8._statusBox), _16j8._stype = new _16iz.EngStypeView(), _16j8._stype.position.set(873, 37), _16j8.addChild(_16j8._stype), _16j8._rader = new _16j0.RaderGraph(), _16j8._rader.position.set(255, 513), _16j8.addChild(_16j8._rader), _16j8._content = new _16j1.ShipDetailContent(), _16j8._content.position.set(706, 33), _16j8.addChild(_16j8._content), _16j8._close_btn = new PIXI.Sprite(), _16j8._close_btn.position.set(1111, 30), _16j8._close_btn.interactive = !0, _16j8.addChild(_16j8._close_btn), _16j8.interactive = !0, _16j8; } return _16ia(_16j5, _16j3), _16j5.prototype.initialize = function(_16jb, _16jc) { var _16jd = null; this._model = _16jb, this.texture = _16iw.ALBUM_MAIN.getTexture(117); var _16je = _16jb.no, _16jf = _16jb.mst_ids[0]; this._title.initialize(_16je, _16jf), this._message.text = _16jb.message.replace(/
/g, '\x0a').replace(/’/g, '\x27'), this._statusBox.initialize(_16jb); var _16jg = _16jb.sType; this._stype.update(_16jf, _16jg), this._rader.update(null), this._content.initialize(_16jb, _16jc), this._close_btn.texture = _16iw.ALBUM_MAIN.getTexture(22); }, _16j5.prototype.preactivate = function() { var _16jh = null; this._content.preactivate(); }, _16j5.prototype.activate = function() { var _16ji = null; 1 != this.buttonMode && (this.buttonMode = !0, this._rader.update(this._model), this._content.activate(), this.on(_16iu.EventType.CLICK, this._onClose)); }, _16j5.prototype.deactivate = function() { var _16jj = null; this.buttonMode = !1, this.off(_16iu.EventType.CLICK, this._onClose), this._content.deactivate(); }, _16j5.prototype.dispose = function() { var _16jk = null; this.removeChildren(), this.deactivate(), this._title.dispose(), this._stype.dispose(), this._rader.dispose(), this._content.dispose(), this._statusBox.dispose(), this._message.destroy(), this._model = null, this._title = null, this._message = null, this._statusBox = null, this._stype = null, this._rader = null, this._content = null, this._close_btn = null, this._cb_onClose = null; }, _16j5; }(PIXI.Sprite); _16i6.ShipDetailPanel = _16j2; var _16ja = function(_16jl) { var _16jm = null; function _16jn() { var _16jo = null, _16jp = _16jl.call(this) || this; return _16jp._nums = new _16iy.DetailPanelNumbers(), _16jp._nums.position.set(60, 36), _16jp.addChild(_16jp._nums), _16jp._img = new PIXI.Sprite(), _16jp.addChild(_16jp._img), _16jp; } return _16ia(_16jn, _16jl), _16jn.prototype.dispose = function() { var _16jq = null; this.removeChildren(), this._nums.dispose(), this._nums = null, this._img = null; }, _16jn.prototype.initialize = function(_16jr, _16js) { var _16jt = null; this.texture = _16iw.ALBUM_MAIN.getTexture(116), this._nums.update(_16jr), this._img.texture = _16it.default.resources.getShip(_16js, !1, 'album_status'); }, _16jn; }(PIXI.Sprite); }, 2383: function(_16ju, _16jv, _16jw) { 'use strict'; var _16jx = null; var _16jy, _16jz = this && this.__extends || (_16jy = function(_16k0, _16k1) { var _16k2 = null; return _16jy = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_16k3, _16k4) { var _16k5 = null; _16k3.__proto__ = _16k4; } || function(_16k6, _16k7) { var _16k8 = null; for (var _16k9 in _16k7) Object.prototype.hasOwnProperty.call(_16k7, _16k9) && (_16k6[_16k9] = _16k7[_16k9]); }, _16jy(_16k0, _16k1); }, function(_16ka, _16kb) { var _16kc = null; if ('function' != typeof _16kb && null !== _16kb) throw new TypeError('Class extends value ' + String(_16kb) + ' is not a constructor or null'); function _16kd() { var _16ke = null; this.constructor = _16ka; } _16jy(_16ka, _16kb), _16ka.prototype = null === _16kb ? Object.create(_16kb) : (_16kd.prototype = _16kb.prototype, new _16kd()); }); defineModule(_16jv); Object.defineProperty(_16jv, '__esModule', { 'value': !0 }), _16jv.ShipDetailStatusBox = void 0; var _16kf = _16jw(8744), _16kg = _16jw(31000), _16kh = function(_16ki) { var _16kj = null; function _16kk() { var _16kl = null, _16km = _16ki.call(this) || this; return _16km._karyoku = _16km._createTextBox(85), _16km._raisou = _16km._createTextBox(124), _16km._taiku = _16km._createTextBox(163), _16km._kaihi = _16km._createTextBox(202), _16km._taikyu = _16km._createTextBox(241), _16km; } return _16jz(_16kk, _16ki), _16kk.prototype.dispose = function() { var _16kn = null; this.removeChildren(), this._karyoku.destroy(), this._raisou.destroy(), this._taiku.destroy(), this._kaihi.destroy(), this._taikyu.destroy(), this._karyoku = null, this._raisou = null, this._taiku = null, this._kaihi = null, this._taikyu = null; }, _16kk.prototype.initialize = function(_16ko) { var _16kp = null; this.texture = _16kg.ALBUM_MAIN.getTexture(123), this._karyoku.text = _16ko.karyoku.toString(), this._karyoku.x = 487 - Math.floor(this._karyoku.width / 2), this._raisou.text = _16ko.raisou.toString(), this._raisou.x = 487 - Math.floor(this._raisou.width / 2), this._taiku.text = _16ko.taiku.toString(), this._taiku.x = 487 - Math.floor(this._taiku.width / 2), this._kaihi.text = _16ko.kaihi.toString(), this._kaihi.x = 487 - Math.floor(this._kaihi.width / 2), this._taikyu.text = _16ko.taikyu.toString(), this._taikyu.x = 487 - Math.floor(this._taikyu.width / 2); }, _16kk.prototype._createTextBox = function(_16kq) { var _16kr = null, _16ks = new _16kf.TextBox(23, 16777215); return _16ks.y = _16kq - 3, this.addChild(_16ks), _16ks; }, _16kk; }(PIXI.Sprite); _16jv.ShipDetailStatusBox = _16kh; }, 60988: function(_16kt, _16ku, _16kv) { 'use strict'; var _16kw = null; var _16kx, _16ky = this && this.__extends || (_16kx = function(_16kz, _16l0) { var _16l1 = null; return _16kx = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_16l2, _16l3) { var _16l4 = null; _16l2.__proto__ = _16l3; } || function(_16l5, _16l6) { var _16l7 = null; for (var _16l8 in _16l6) Object.prototype.hasOwnProperty.call(_16l6, _16l8) && (_16l5[_16l8] = _16l6[_16l8]); }, _16kx(_16kz, _16l0); }, function(_16l9, _16la) { var _16lb = null; if ('function' != typeof _16la && null !== _16la) throw new TypeError('Class extends value ' + String(_16la) + ' is not a constructor or null'); function _16lc() { var _16ld = null; this.constructor = _16l9; } _16kx(_16l9, _16la), _16l9.prototype = null === _16la ? Object.create(_16la) : (_16lc.prototype = _16la.prototype, new _16lc()); }), _16le = this && this.__importDefault || function(_16lf) { var _16lg = null; return _16lf && _16lf.__esModule ? _16lf : { 'default': _16lf }; }; defineModule(_16ku); Object.defineProperty(_16ku, '__esModule', { 'value': !0 }), _16ku.SlotDetailContent = void 0; var _16lh = _16le(_16kv(18622)), _16li = _16kv(98241), _16lj = _16kv(35380), _16lk = _16kv(8262), _16ll = function(_16lm) { var _16ln = null; function _16lo() { var _16lp = null, _16lq = _16lm.call(this) || this; return _16lq._onPrev = function(_16lr) { var _16ls = null; if (_16lr.stopPropagation(), null != _16lq._current) { var _16lt = _16lq._data_list.indexOf(_16lq._current); if (!(_16lt < 0)) { var _16lu = _16lt - 1; _16lu < 0 && (_16lu = _16lq._data_list.length - 1), _16lq._current = _16lq._data_list[_16lu], _16lq._update(); } } }, _16lq._onNext = function(_16lv) { var _16lw = null; if (_16lv.stopPropagation(), null != _16lq._current) { var _16lx = _16lq._data_list.indexOf(_16lq._current); if (!(_16lx < 0)) { var _16ly = _16lx + 1; _16ly >= _16lq._data_list.length && (_16ly = 0), _16lq._current = _16lq._data_list[_16ly], _16lq._update(); } } }, _16lq._stock_num = new _16lk.StockNumberDisplay(), _16lq._stock_num.position.set(104, 590), _16lq.addChild(_16lq._stock_num), _16lq._canvas = new PIXI.Sprite(), _16lq.addChild(_16lq._canvas), _16lq._prevBtn = new _16li.PrevBtn(_16lq._onPrev), _16lq._prevBtn.position.set(10, 582), _16lq.addChild(_16lq._prevBtn), _16lq._nextBtn = new _16li.NextBtn(_16lq._onNext), _16lq._nextBtn.position.set(55, 582), _16lq.addChild(_16lq._nextBtn), _16lq._canvas.interactive = !0, _16lq; } return _16ky(_16lo, _16lm), _16lo.prototype.initialize = function(_16lz) { var _16m0 = null; this._data_list = []; for (var _16m1 = 0, _16m2 = _16lz.mst_ids; _16m1 < _16m2.length; _16m1++) { var _16m3 = _16m2[_16m1], _16m4 = _16lh.default.resources.getSlotitem(_16m3, 'card'); this._addImageData(_16m3, _16m4, new PIXI.Point(20, 142)), _16m4 = _16lh.default.resources.getSlotitem(_16m3, 'item_up2'), this._addImageData(_16m3, _16m4), _16m4 = _16lh.default.resources.getSlotitem(_16m3, 'item_on2'), this._addImageData(_16m3, _16m4), _16m4 = _16lh.default.resources.getSlotitem(_16m3, 'item_up'), this._addImageData(_16m3, _16m4), _16m4 = _16lh.default.resources.getSlotitem(_16m3, 'item_on'), this._addImageData(_16m3, _16m4), _16m4 = _16lh.default.resources.getSlotitem(_16m3, 'item_character'), this._addImageData(_16m3, _16m4); var _16m5 = _16lh.default.model.slot.getCount(_16m3); this._stock_num.initialize(), this._stock_num.update(_16m5); } this._data_list.length > 0 && (this._current = this._data_list[0], this._update()), this._prevBtn.initialize(), this._nextBtn.initialize(); }, _16lo.prototype.activate = function() { var _16m6 = null; 1 != this._canvas.buttonMode && (this._canvas.buttonMode = !0, this._canvas.on(_16lj.EventType.CLICK, this._onNext), this._prevBtn.activate(), this._nextBtn.activate()); }, _16lo.prototype.deactivate = function() { var _16m7 = null; this._canvas.buttonMode = !1, this._canvas.off(_16lj.EventType.CLICK, this._onNext), this._prevBtn.deactivate(), this._nextBtn.deactivate(); }, _16lo.prototype.dispose = function() { var _16m8 = null; this.removeChildren(), this.deactivate(), this._prevBtn.dispose(), this._nextBtn.dispose(), this._stock_num.dispose(); for (var _16m9 = 0; _16m9 < this._data_list.length; _16m9++) this._data_list[_16m9] = null; this._data_list = null, this._current = null, this._canvas = null, this._prevBtn = null, this._nextBtn = null; }, _16lo.prototype._addImageData = function(_16ma, _16mb, _16mc) { var _16md = null; if (void 0 === _16mc && (_16mc = null), _16mb != PIXI.Texture.EMPTY) { var _16me = new _16mf(); _16me.mst_id = _16ma, _16me.texture = _16mb, _16me.offset = _16mc, this._data_list.push(_16me); } }, _16lo.prototype._update = function() { var _16mg = null; null != this._current && (this._canvas.texture = this._current.texture, null != this._current.offset ? (this._canvas.x = this._current.offset.x, this._canvas.y = this._current.offset.y) : this._canvas.position.set(0, 0)); }, _16lo; }(PIXI.Container); _16ku.SlotDetailContent = _16ll; var _16mf = function() {}; }, 53285: function(_16mh, _16mi, _16mj) { 'use strict'; var _16mk = null; var _16ml, _16mm = this && this.__extends || (_16ml = function(_16mn, _16mo) { var _16mp = null; return _16ml = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_16mq, _16mr) { var _16ms = null; _16mq.__proto__ = _16mr; } || function(_16mt, _16mu) { var _16mv = null; for (var _16mw in _16mu) Object.prototype.hasOwnProperty.call(_16mu, _16mw) && (_16mt[_16mw] = _16mu[_16mw]); }, _16ml(_16mn, _16mo); }, function(_16mx, _16my) { var _16mz = null; if ('function' != typeof _16my && null !== _16my) throw new TypeError('Class extends value ' + String(_16my) + ' is not a constructor or null'); function _16n0() { var _16n1 = null; this.constructor = _16mx; } _16ml(_16mx, _16my), _16mx.prototype = null === _16my ? Object.create(_16my) : (_16n0.prototype = _16my.prototype, new _16n0()); }), _16n2 = this && this.__importDefault || function(_16n3) { var _16n4 = null; return _16n3 && _16n3.__esModule ? _16n3 : { 'default': _16n3 }; }; defineModule(_16mi); Object.defineProperty(_16mi, '__esModule', { 'value': !0 }), _16mi.SlotDetailPanel = void 0; var _16n5 = _16n2(_16mj(18622)), _16n6 = _16mj(35380), _16n7 = _16mj(8744), _16n8 = _16mj(31000), _16n9 = _16mj(98241), _16na = _16mj(98241), _16nb = _16mj(98241), _16nc = _16mj(98241), _16nd = function(_16ne) { var _16nf = null; function _16ng(_16nh) { var _16ni = null, _16nj = _16ne.call(this) || this; return _16nj._onClose = function() { var _16nk = null; null != _16nj._cb_onClose && _16nj._cb_onClose(); }, _16nj._cb_onClose = _16nh, _16nj._title = new _16nl(), _16nj._title.position.set(39, 45), _16nj.addChild(_16nj._title), _16nj._message = new _16n7.TextBox(20, 5523516), _16nj._message.position.set(94, 136), _16nj._message.style.breakWords = !0, _16nj._message.style.wordWrap = !0, _16nj._message.style.wordWrapWidth = 598, _16nj._message.style.lineHeight = 33.6, _16nj.addChild(_16nj._message), _16nj._statusBox = new _16n9.SlotDetailStatusBox(), _16nj._statusBox.position.set(93, 355), _16nj.addChild(_16nj._statusBox), _16nj._etype = new _16nb.SlotTypeView(), _16nj._etype.position.set(873, 37), _16nj.addChild(_16nj._etype), _16nj._content = new _16nc.SlotDetailContent(), _16nj._content.position.set(699, 34), _16nj.addChild(_16nj._content), _16nj._close_btn = new PIXI.Sprite(), _16nj._close_btn.position.set(1111, 30), _16nj._close_btn.interactive = !0, _16nj.addChild(_16nj._close_btn), _16nj.interactive = !0, _16nj; } return _16mm(_16ng, _16ne), _16ng.prototype.initialize = function(_16nm) { var _16nn = null; this._model = _16nm, this.texture = _16n8.ALBUM_MAIN.getTexture(117); var _16no = _16nm.no, _16np = _16nm.mst_ids[0]; this._title.initialize(_16no, _16np), this._message.text = _16nm.message.replace(/
/g, '\x0a'), this._statusBox.initialize(_16nm), this._etype.update(_16nm.cardType), this._content.initialize(_16nm), this._close_btn.texture = _16n8.ALBUM_MAIN.getTexture(22); }, _16ng.prototype.activate = function() { var _16nq = null; 1 != this.buttonMode && (this.buttonMode = !0, this._content.activate(), this.on(_16n6.EventType.CLICK, this._onClose)); }, _16ng.prototype.deactivate = function() { var _16nr = null; this.buttonMode = !1, this.off(_16n6.EventType.CLICK, this._onClose), this._content.deactivate(); }, _16ng.prototype.dispose = function() { var _16ns = null; this.removeChildren(), this.deactivate(), this._title.dispose(), this._content.dispose(), this._statusBox.dispose(), this._message.destroy(), this._model = null, this._title = null, this._message = null, this._statusBox = null, this._etype = null, this._content = null, this._close_btn = null, this._cb_onClose = null; }, _16ng; }(PIXI.Sprite); _16mi.SlotDetailPanel = _16nd; var _16nl = function(_16nt) { var _16nu = null; function _16nv() { var _16nw = null, _16nx = _16nt.call(this) || this; return _16nx._nums = new _16na.DetailPanelNumbers(), _16nx._nums.position.set(60, 36), _16nx.addChild(_16nx._nums), _16nx._img = new PIXI.Sprite(), _16nx.addChild(_16nx._img), _16nx; } return _16mm(_16nv, _16nt), _16nv.prototype.dispose = function() { var _16ny = null; this.removeChildren(), this._nums.dispose(), this._nums = null, this._img = null; }, _16nv.prototype.initialize = function(_16nz, _16o0) { var _16o1 = null; this.texture = _16n8.ALBUM_MAIN.getTexture(116), this._nums.update(_16nz), this._img.texture = _16n5.default.resources.getSlotitem(_16o0, 'statustop_item'); }, _16nv; }(PIXI.Sprite); }, 18261: function(_16o2, _16o3, _16o4) { 'use strict'; var _16o5 = null; var _16o6, _16o7 = this && this.__extends || (_16o6 = function(_16o8, _16o9) { var _16oa = null; return _16o6 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_16ob, _16oc) { var _16od = null; _16ob.__proto__ = _16oc; } || function(_16oe, _16of) { var _16og = null; for (var _16oh in _16of) Object.prototype.hasOwnProperty.call(_16of, _16oh) && (_16oe[_16oh] = _16of[_16oh]); }, _16o6(_16o8, _16o9); }, function(_16oi, _16oj) { var _16ok = null; if ('function' != typeof _16oj && null !== _16oj) throw new TypeError('Class extends value ' + String(_16oj) + ' is not a constructor or null'); function _16ol() { var _16om = null; this.constructor = _16oi; } _16o6(_16oi, _16oj), _16oi.prototype = null === _16oj ? Object.create(_16oj) : (_16ol.prototype = _16oj.prototype, new _16ol()); }), _16on = this && this.__importDefault || function(_16oo) { var _16op = null; return _16oo && _16oo.__esModule ? _16oo : { 'default': _16oo }; }; defineModule(_16o3); Object.defineProperty(_16o3, '__esModule', { 'value': !0 }), _16o3.TypeNameView = _16o3.IconView = _16o3.SlotDetailStatusBox = void 0; var _16oq = _16on(_16o4(18622)), _16or = _16o4(75134), _16os = _16o4(31000), _16ot = _16o4(31000), _16ou = _16o4(31000), _16ov = _16o4(98241), _16ow = function(_16ox) { var _16oy = null; function _16oz() { var _16p0 = null, _16p1 = _16ox.call(this) || this; return _16p1._boxes = new _16p2(), _16p1._boxes.position.set(7, 190), _16p1.addChild(_16p1._boxes), _16p1._icon = new _16p3(), _16p1.addChild(_16p1._icon), _16p1._name = new _16p4(), _16p1._name.position.set(150, 19), _16p1.addChild(_16p1._name), _16p1._params = new _16ov.SlotParamsContainer(), _16p1._params.position.set(159, 66), _16p1.addChild(_16p1._params), _16p1; } return _16o7(_16oz, _16ox), _16oz.prototype.dispose = function() { var _16p5 = null; this.removeChildren(), this._boxes.dispose(), this._params.dispose(), this._boxes = null, this._icon = null, this._name = null, this._params = null; }, _16oz.prototype.initialize = function(_16p6) { var _16p7 = null; this.texture = _16os.ALBUM_MAIN.getTexture(115), this._boxes.initialize(), this._boxes.update(_16p6.equipType), this._icon.update(_16p6.iconType), this._name.update(_16p6.equipType, _16p6.iconType), this._params.update(_16p6); }, _16oz; }(PIXI.Sprite); _16o3.SlotDetailStatusBox = _16ow; var _16p3 = function(_16p8) { var _16p9 = null; function _16pa() { var _16pb = null; return null !== _16p8 && _16p8.apply(this, arguments) || this; } return _16o7(_16pa, _16p8), _16pa.prototype.update = function(_16pc) { var _16pd = null; this.texture = _16ou.ALBUM_SLOT4.getTextureFromMstID(_16pc); }, _16pa; }(PIXI.Sprite); _16o3.IconView = _16p3; var _16p4 = function(_16pe) { var _16pf = null; function _16pg() { var _16ph = null; return null !== _16pe && _16pe.apply(this, arguments) || this; } return _16o7(_16pg, _16pe), _16pg.prototype.update = function(_16pi, _16pj) { var _16pk = null; if (_16pi == _16or.EquipType._38_DAIKOUKEI) _16pi = _16or.EquipType._03_DAIKOUKEI; else { if (_16pi == _16or.EquipType._93_DENTAN_L) _16pi = _16or.EquipType._13_DENTAN_L; else { if (_16pi == _16or.EquipType._94_KANJO_TEISATSUKI) _16pi = _16or.EquipType._09_KANJO_TEISATSUKI; else { if (_16pi == _16or.EquipType._95_HUKUHOU_L) _16pi = _16or.EquipType._04_HUKUHOU; else { if (_16pi == _16or.EquipType._48_KYOKUCHI_SENTOUKI) 44 == _16pj && (_16pi = 148); else { if (_16pi == _16or.EquipType._54_SUIJOKAN_SOUBI) switch (_16pj) { case 54: _16pi = 901; break; case 55: _16pi = 902; } } } } } } this.texture = _16ot.ALBUM_SLOT3.getTextureFromMstID(_16pi); }, _16pg; }(PIXI.Sprite); _16o3.TypeNameView = _16p4; var _16p2 = function(_16pl) { var _16pm = null; function _16pn() { var _16po = null, _16pp = _16pl.call(this) || this; _16pp._boxes = []; for (var _16pq = 0; _16pq < 8; _16pq++) { var _16pr = new PIXI.Sprite(); _16pr.x = _16pq % 4 * 144, _16pr.y = 54 * Math.floor(_16pq / 4), _16pr.visible = !1, _16pp.addChild(_16pr), _16pp._boxes.push(_16pr); } return _16pp; } return _16o7(_16pn, _16pl), _16pn.prototype.dispose = function() { var _16ps = null; this.removeChildren(), this._boxes = null; }, _16pn.prototype.initialize = function() { var _16pt = null; for (var _16pu = [44, 45, 46, 48, 47, 42, 43, 41], _16pv = 0; _16pv < this._boxes.length; _16pv++) { var _16pw = _16pu[_16pv]; this._boxes[_16pv].texture = _16os.ALBUM_MAIN.getTexture(_16pw); } }, _16pn.prototype.update = function(_16px) { var _16py = null; for (var _16pz = [2, 3, 5, 9, 7, 11, 16, 10], _16q0 = 0; _16q0 < this._boxes.length; _16q0++) { var _16q1 = _16pz[_16q0], _16q2 = this._boxes[_16q0], _16q3 = _16oq.default.model.shipType.get(_16q1); _16q2.visible = _16q3.getEquippableTypes().indexOf(_16px) >= 0; } }, _16pn; }(PIXI.Container); }, 53900: function(_16q4, _16q5, _16q6) { 'use strict'; var _16q7 = null; var _16q8, _16q9 = this && this.__extends || (_16q8 = function(_16qa, _16qb) { var _16qc = null; return _16q8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_16qd, _16qe) { var _16qf = null; _16qd.__proto__ = _16qe; } || function(_16qg, _16qh) { var _16qi = null; for (var _16qj in _16qh) Object.prototype.hasOwnProperty.call(_16qh, _16qj) && (_16qg[_16qj] = _16qh[_16qj]); }, _16q8(_16qa, _16qb); }, function(_16qk, _16ql) { var _16qm = null; if ('function' != typeof _16ql && null !== _16ql) throw new TypeError('Class extends value ' + String(_16ql) + ' is not a constructor or null'); function _16qn() { var _16qo = null; this.constructor = _16qk; } _16q8(_16qk, _16ql), _16qk.prototype = null === _16ql ? Object.create(_16ql) : (_16qn.prototype = _16ql.prototype, new _16qn()); }); defineModule(_16q5); Object.defineProperty(_16q5, '__esModule', { 'value': !0 }), _16q5.SlotParamsContainer = void 0; var _16qp = _16q6(75134), _16qq = _16q6(8744), _16qr = _16q6(31000), _16qs = function(_16qt) { var _16qu = null; function _16qv() { var _16qw = null, _16qx = _16qt.call(this) || this; _16qx._items = []; for (var _16qy = 0; _16qy < 6; _16qy++) { var _16qz = new _16r0(); _16qz.x = _16qy % 2 * 225, _16qz.y = 39 * Math.floor(_16qy / 2), _16qx.addChild(_16qz), _16qx._items.push(_16qz); } return _16qx; } return _16q9(_16qv, _16qt), _16qv.prototype.dispose = function() { var _16r1 = null; this.removeChildren(); for (var _16r2 = 0; _16r2 < this._items.length; _16r2++) this._items[_16r2].dispose(), this._items[_16r2] = null; this._items = null; }, _16qv.prototype.update = function(_16r3) { var _16r4 = null, _16r5 = []; this._addParamData(_16r5, 0, _16r3.soukou), this._addParamData(_16r5, 1, _16r3.karyoku), this._addParamData(_16r5, 2, _16r3.raisou), this._addParamData(_16r5, 3, _16r3.baku), this._addParamData(_16r5, 4, _16r3.taiku), this._addParamData(_16r5, 5, _16r3.taisen), this._addParamData(_16r5, 6, _16r3.meichu), this._addParamData(_16r5, 7, _16r3.kaihi), this._addParamData(_16r5, 8, _16r3.sakuteki), this._addParamData(_16r5, 9, _16r3.syatei); for (var _16r6 = _16r3.equipType, _16r7 = 0; _16r7 < this._items.length; _16r7++) if (_16r5.length <= _16r7) this._items[_16r7].visible = !1; else { var _16r8 = _16r5[_16r7]; this._items[_16r7].update(_16r8.type, _16r8.value, _16r6), this._items[_16r7].visible = !0; } }, _16qv.prototype._addParamData = function(_16r9, _16ra, _16rb) { var _16rc = null; null != _16r9 && 0 != _16rb && _16r9.push({ 'type': _16ra, 'value': _16rb }); }, _16qv; }(PIXI.Container); _16q5.SlotParamsContainer = _16qs; var _16r0 = function(_16rd) { var _16re = null; function _16rf() { var _16rg = null, _16rh = _16rd.call(this) || this; return _16rh._value_text = new _16qq.TextBox(19, 16774898), _16rh._value_text.position.set(189, 2), _16rh._value_text.anchor.x = 1, _16rh.addChild(_16rh._value_text), _16rh._value_img = new PIXI.Sprite(), _16rh._value_img.position.set(184, 13), _16rh._value_img.anchor.set(1, 0.5), _16rh.addChild(_16rh._value_img), _16rh; } return _16q9(_16rf, _16rd), _16rf.prototype.dispose = function() { var _16ri = null; this.removeChildren(), this._value_text.destroy(), this._value_text = null, this._value_img = null; }, _16rf.prototype.update = function(_16rj, _16rk, _16rl) { var _16rm = null; if (this.texture = this._getTexture(_16rj, _16rl), 9 == _16rj) { this._value_text.visible = !1; var _16rn = [120, 121, 119, 118, 122][_16rk]; this._value_img.texture = _16qr.ALBUM_MAIN.getTexture(_16rn), this._value_img.visible = !0; } else this._value_img.visible = !1, this._value_text.text = _16rk > 0 ? '+' + _16rk : _16rk.toString(), this._value_text.visible = !0; }, _16rf.prototype._getTexture = function(_16ro, _16rp) { var _16rq = null, _16rr; switch (_16ro) { case 0: _16rr = 35; break; case 1: _16rr = 38; break; case 2: _16rr = 39; break; case 3: _16rr = 32; break; case 4: _16rr = 40; break; case 5: _16rr = 29; break; case 6: _16rr = _16rp == _16qp.EquipType._48_KYOKUCHI_SENTOUKI ? 33 : 31; break; case 7: _16rr = _16rp == _16qp.EquipType._48_KYOKUCHI_SENTOUKI ? 34 : 36; break; case 8: _16rr = 30; break; case 9: _16rr = 37; break; default: return PIXI.Texture.EMPTY; } return _16qr.ALBUM_MAIN.getTexture(_16rr); }, _16rf; }(PIXI.Sprite); }, 97432: function(_16rs, _16rt, _16ru) { 'use strict'; var _16rv = null; var _16rw, _16rx = this && this.__extends || (_16rw = function(_16ry, _16rz) { var _16s0 = null; return _16rw = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_16s1, _16s2) { var _16s3 = null; _16s1.__proto__ = _16s2; } || function(_16s4, _16s5) { var _16s6 = null; for (var _16s7 in _16s5) Object.prototype.hasOwnProperty.call(_16s5, _16s7) && (_16s4[_16s7] = _16s5[_16s7]); }, _16rw(_16ry, _16rz); }, function(_16s8, _16s9) { var _16sa = null; if ('function' != typeof _16s9 && null !== _16s9) throw new TypeError('Class extends value ' + String(_16s9) + ' is not a constructor or null'); function _16sb() { var _16sc = null; this.constructor = _16s8; } _16rw(_16s8, _16s9), _16s8.prototype = null === _16s9 ? Object.create(_16s9) : (_16sb.prototype = _16s9.prototype, new _16sb()); }); defineModule(_16rt); Object.defineProperty(_16rt, '__esModule', { 'value': !0 }), _16rt.SlotTypeView = void 0; var _16sd = _16ru(31000), _16se = function(_16sf) { var _16sg = null; function _16sh() { var _16si = null; return _16sf.call(this) || this; } return _16rx(_16sh, _16sf), _16sh.prototype.update = function(_16sj) { var _16sk = null; this.texture = _16sd.ALBUM_SLOT2.getTextureFromMstID(_16sj); }, _16sh; }(PIXI.Sprite); _16rt.SlotTypeView = _16se; }, 8262: function(_16sl, _16sm, _16sn) { 'use strict'; var _16so = null; var _16sp, _16sq = this && this.__extends || (_16sp = function(_16sr, _16ss) { var _16st = null; return _16sp = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_16su, _16sv) { var _16sw = null; _16su.__proto__ = _16sv; } || function(_16sx, _16sy) { var _16sz = null; for (var _16t0 in _16sy) Object.prototype.hasOwnProperty.call(_16sy, _16t0) && (_16sx[_16t0] = _16sy[_16t0]); }, _16sp(_16sr, _16ss); }, function(_16t1, _16t2) { var _16t3 = null; if ('function' != typeof _16t2 && null !== _16t2) throw new TypeError('Class extends value ' + String(_16t2) + ' is not a constructor or null'); function _16t4() { var _16t5 = null; this.constructor = _16t1; } _16sp(_16t1, _16t2), _16t1.prototype = null === _16t2 ? Object.create(_16t2) : (_16t4.prototype = _16t2.prototype, new _16t4()); }); defineModule(_16sm); Object.defineProperty(_16sm, '__esModule', { 'value': !0 }), _16sm.StockNumberDisplay = void 0; var _16t6 = _16sn(84309), _16t7 = function(_16t8) { var _16t9 = null; function _16ta() { var _16tb = null; return _16t8.call(this) || this; } return _16sq(_16ta, _16t8), _16ta.prototype.initialize = function() { var _16tc = null; this._bg = new PIXI.Sprite(_16t6.ALBUM_MAIN.getTexture(21)), this.addChild(this._bg), this._canvas = new PIXI.Container(), this.addChild(this._canvas), this._txt_unown = new PIXI.Sprite(_16t6.ALBUM_MAIN.getTexture(128)), this._txt_unown.position.set(8, 8), this._txt_own = new PIXI.Sprite(_16t6.ALBUM_MAIN.getTexture(126)), this._txt_99over = new PIXI.Sprite(_16t6.ALBUM_MAIN.getTexture(127)), this._txt_x = new PIXI.Sprite(_16t6.ALBUM_MAIN.getTexture(129)), this._numbers = new _16td(); }, _16ta.prototype.update = function(_16te) { var _16tf = null; this._canvas.removeChildren(), _16te <= 0 ? (this._canvas.addChild(this._txt_unown), this._canvas.position.x = 0) : _16te >= 99 ? (this._numbers.update(99), this._canvas.addChild(this._txt_x), this._canvas.addChild(this._numbers), this._canvas.addChild(this._txt_99over), this._centeringPosition(this._txt_x, this._numbers, this._txt_99over)) : (this._numbers.update(_16te), this._canvas.addChild(this._txt_x), this._canvas.addChild(this._numbers), this._canvas.addChild(this._txt_own), this._centeringPosition(this._txt_x, this._numbers, this._txt_own)); }, _16ta.prototype._centeringPosition = function(_16tg, _16th, _16ti) { var _16tj = null; _16tg.position.set(0, 10); var _16tk = _16tg.width + 2; _16th.position.set(_16tk, 6); var _16tl = _16tk + _16th.width + 2; _16ti.position.set(_16tl, 12); var _16tm = this._bg.width / 2 - this._canvas.width / 2; this._canvas.position.x = _16tm; }, _16ta.prototype.dispose = function() { var _16tn = null; this.removeChildren(), this._bg.destroy(), this._bg = null, this._txt_x.destroy(), this._txt_x = null, this._txt_own.destroy(), this._txt_own = null, this._txt_unown.destroy(), this._txt_unown = null, this._txt_99over.destroy(), this._txt_99over = null, this._numbers.dispose(), this._numbers = null; }, _16ta; }(PIXI.Container); _16sm.StockNumberDisplay = _16t7; var _16td = function(_16to) { var _16tp = null; function _16tq() { var _16tr = null, _16ts = _16to.call(this) || this; return _16ts._nums = [], _16ts; } return _16sq(_16tq, _16to), _16tq.prototype.update = function(_16tt) { var _16tu = null; if (this._nums.length = 0, this.removeChildren(), _16tt = Math.floor(_16tt), _16tt = Math.max(0, _16tt), 0 != (_16tt = Math.min(99, _16tt))) { for (var _16tv = !1, _16tw = 0; _16tw < 2; _16tw++) { var _16tx = Math.pow(10, 2 - _16tw - 1), _16ty = Math.floor(_16tt / _16tx); if (_16ty > 0 || 1 == _16tv) { var _16tz = new _16u0(); this.addChild(_16tz), _16tz.update(_16ty), this._nums.push(_16tz), _16tv = !0; } _16tt %= _16tx; } this._nums.forEach(function(_16u1, _16u2, _16u3) { var _16u4 = null, _16u5, _16u6, _16u7, _16u8, _16u9 = null !== (_16u6 = null === (_16u5 = _16u3[_16u2 - 1]) || void 0 === _16u5 ? void 0 : _16u5.width) && void 0 !== _16u6 ? _16u6 : 0, _16ua = (null !== (_16u8 = null === (_16u7 = _16u3[_16u2 - 1]) || void 0 === _16u7 ? void 0 : _16u7.x) && void 0 !== _16u8 ? _16u8 : 0) + _16u9, _16ub = 0 == _16u2 ? 0 : 2; _16u1.x = _16ua + _16ub; }); } else this.visible = !1; }, _16tq.prototype.dispose = function() { var _16uc = null; this.removeChildren(), this._nums.forEach(function(_16ud) { var _16ue = null; return _16ud.destroy(); }), this._nums.length = 0, this._nums = null; }, _16tq; }(PIXI.Container), _16u0 = function(_16uf) { var _16ug = null; function _16uh() { var _16ui = null; return null !== _16uf && _16uf.apply(this, arguments) || this; } return _16sq(_16uh, _16uf), _16uh.prototype.update = function(_16uj) { var _16uk = null; _16uj >= 0 && _16uj <= 9 ? (this.texture = _16t6.ALBUM_MAIN.getTexture(_16uh._TEXTURES[_16uj]), this.visible = !0) : this.visible = !1; }, _16uh._TEXTURES = [69, 70, 71, 72, 73, 74, 75, 76, 77, 78], _16uh; }(PIXI.Sprite); }, 6558: function(_16ul, _16um, _16un) { 'use strict'; var _16uo = null; var _16up, _16uq = this && this.__extends || (_16up = function(_16ur, _16us) { var _16ut = null; return _16up = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_16uu, _16uv) { var _16uw = null; _16uu.__proto__ = _16uv; } || function(_16ux, _16uy) { var _16uz = null; for (var _16v0 in _16uy) Object.prototype.hasOwnProperty.call(_16uy, _16v0) && (_16ux[_16v0] = _16uy[_16v0]); }, _16up(_16ur, _16us); }, function(_16v1, _16v2) { var _16v3 = null; if ('function' != typeof _16v2 && null !== _16v2) throw new TypeError('Class extends value ' + String(_16v2) + ' is not a constructor or null'); function _16v4() { var _16v5 = null; this.constructor = _16v1; } _16up(_16v1, _16v2), _16v1.prototype = null === _16v2 ? Object.create(_16v2) : (_16v4.prototype = _16v2.prototype, new _16v4()); }); defineModule(_16um); Object.defineProperty(_16um, '__esModule', { 'value': !0 }), _16um.TabBtn = void 0; var _16v6 = _16un(35380), _16v7 = function(_16v8) { var _16v9 = null; function _16va(_16vb, _16vc, _16vd) { var _16ve = null, _16vf = _16v8.call(this) || this; return _16vf._activated = !1, _16vf._selected = !1, _16vf._onMouseOver = function() { var _16vg = null; _16vf._update(!0); }, _16vf._onMouseOut = function() { var _16vh = null; _16vf._update(!1); }, _16vf._onClick = function() { var _16vi = null; null != _16vf._cb_onChange && _16vf._cb_onChange(_16vf._mode, _16vf._no); }, _16vf._mode = _16vb, _16vf._no = _16vc, _16vf._cb_onChange = _16vd, _16vf.interactive = !0, _16vf; } return _16uq(_16va, _16v8), Object.defineProperty(_16va.prototype, 'mode', { 'get': function() { var _16vj = null; return this._mode; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_16va.prototype, 'no', { 'get': function() { var _16vk = null; return this._no; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_16va.prototype, 'selected', { 'get': function() { var _16vl = null; return this._selected; }, 'set': function(_16vm) { var _16vn = null; this._selected != _16vm && (this._selected = _16vm, 1 == this._selected ? this._deactivate() : 1 == this._activated && this._activate(), this._update(!1)); }, 'enumerable': !1, 'configurable': !0 }), _16va.prototype.initialize = function(_16vo, _16vp) { var _16vq = null; this._texture_cache = _16vo, this._texture_on_cache = _16vp, this._update(!1); }, _16va.prototype.activate = function() { var _16vr = null; 1 != this._activated && (this._activated = !0, this._activate()); }, _16va.prototype.deactivate = function() { var _16vs = null; this._activated = !1, this._deactivate(); }, _16va.prototype.dispose = function() { var _16vt = null; this.deactivate(), this._texture_cache = null, this._texture_on_cache = null, this._cb_onChange = null; }, _16va.prototype._update = function(_16vu) { var _16vv = null; 1 == this._selected || 1 == _16vu ? this.texture = this._texture_on_cache : this.texture = this._texture_cache; }, _16va.prototype._activate = function() { var _16vw = null; 1 != this._selected && (this.buttonMode = !0, this.on(_16v6.EventType.MOUSEOVER, this._onMouseOver), this.on(_16v6.EventType.MOUSEOUT, this._onMouseOut), this.on(_16v6.EventType.CLICK, this._onClick)); }, _16va.prototype._deactivate = function() { var _16vx = null; this.buttonMode = !1, this.off(_16v6.EventType.MOUSEOVER, this._onMouseOver), this.off(_16v6.EventType.MOUSEOUT, this._onMouseOut), this.off(_16v6.EventType.CLICK, this._onClick); }, _16va; }(PIXI.Sprite); _16um.TabBtn = _16v7; }, 17622: function(_16vy, _16vz, _16w0) { 'use strict'; var _16w1 = null; var _16w2, _16w3 = this && this.__extends || (_16w2 = function(_16w4, _16w5) { var _16w6 = null; return _16w2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_16w7, _16w8) { var _16w9 = null; _16w7.__proto__ = _16w8; } || function(_16wa, _16wb) { var _16wc = null; for (var _16wd in _16wb) Object.prototype.hasOwnProperty.call(_16wb, _16wd) && (_16wa[_16wd] = _16wb[_16wd]); }, _16w2(_16w4, _16w5); }, function(_16we, _16wf) { var _16wg = null; if ('function' != typeof _16wf && null !== _16wf) throw new TypeError('Class extends value ' + String(_16wf) + ' is not a constructor or null'); function _16wh() { var _16wi = null; this.constructor = _16we; } _16w2(_16we, _16wf), _16we.prototype = null === _16wf ? Object.create(_16wf) : (_16wh.prototype = _16wf.prototype, new _16wh()); }); defineModule(_16vz); Object.defineProperty(_16vz, '__esModule', { 'value': !0 }), _16vz.TabBtnContainer = void 0; var _16wj = _16w0(84309), _16wk = _16w0(6558), _16wl = function(_16wm) { var _16wn = null; function _16wo(_16wp) { var _16wq = null, _16wr = _16wm.call(this) || this; _16wr.TABMAX_SHIP = 9, _16wr.TABMAX_SLOT = 9, _16wr._ship_tabs = []; for (var _16ws = 0; _16ws < _16wr.TABMAX_SHIP; _16ws++) { (_16wt = new _16wk.TabBtn(1, _16ws, _16wp)).position.set(0, 44 * _16ws), _16wt.visible = !0, _16wr.addChild(_16wt), _16wr._ship_tabs.push(_16wt); } _16wr._slot_tabs = []; for (_16ws = 0; _16ws < _16wr.TABMAX_SLOT; _16ws++) { var _16wt; (_16wt = new _16wk.TabBtn(2, _16ws, _16wp)).position.set(0, 44 * _16ws), _16wt.visible = !1, _16wr.addChild(_16wt), _16wr._slot_tabs.push(_16wt); } return _16wr; } return _16w3(_16wo, _16wm), _16wo.prototype.initialize = function() { var _16wu = null; this._initializeTabBtns(this._ship_tabs), this._initializeTabBtns(this._slot_tabs); }, _16wo.prototype.update = function(_16wv, _16ww) { var _16wx = null; if (1 == _16wv) for (var _16wy = 0, _16wz = this._ship_tabs; _16wy < _16wz.length; _16wy++) { (_16x0 = _16wz[_16wy]).selected = _16x0.no == _16ww; } else for (var _16x1 = 0, _16x2 = this._ship_tabs; _16x1 < _16x2.length; _16x1++) { (_16x0 = _16x2[_16x1]).selected = !1; } if (2 == _16wv) for (var _16x3 = 0, _16x4 = this._slot_tabs; _16x3 < _16x4.length; _16x3++) { (_16x0 = _16x4[_16x3]).selected = _16x0.no == _16ww; } else for (var _16x5 = 0, _16x6 = this._slot_tabs; _16x5 < _16x6.length; _16x5++) { var _16x0; (_16x0 = _16x6[_16x5]).selected = !1; } }, _16wo.prototype.activate = function() { var _16x7 = null; for (var _16x8 = 0, _16x9 = this._ship_tabs; _16x8 < _16x9.length; _16x8++) { _16x9[_16x8].activate(); } for (var _16xa = 0, _16xb = this._slot_tabs; _16xa < _16xb.length; _16xa++) { _16xb[_16xa].activate(); } }, _16wo.prototype.deactivate = function() { var _16xc = null; for (var _16xd = 0, _16xe = this._ship_tabs; _16xd < _16xe.length; _16xd++) { _16xe[_16xd].deactivate(); } for (var _16xf = 0, _16xg = this._slot_tabs; _16xf < _16xg.length; _16xf++) { _16xg[_16xf].deactivate(); } }, _16wo.prototype.dispose = function() { var _16xh = null; this.removeChildren(); for (var _16xi = 0, _16xj = this._ship_tabs; _16xi < _16xj.length; _16xi++) { _16xj[_16xi].dispose(); } for (var _16xk = 0, _16xl = this._slot_tabs; _16xk < _16xl.length; _16xk++) { _16xl[_16xk].dispose(); } this._ship_tabs = null, this._slot_tabs = null; }, _16wo.prototype.switchViewAlbumMode = function(_16xm) { var _16xn = null; switch (_16xm) { case 1: this._ship_tabs.forEach(function(_16xo) { var _16xp = null; return _16xo.visible = !0; }), this._slot_tabs.forEach(function(_16xq) { var _16xr = null; return _16xq.visible = !1; }); break; case 2: this._ship_tabs.forEach(function(_16xs) { var _16xt = null; return _16xs.visible = !1; }), this._slot_tabs.forEach(function(_16xu) { var _16xv = null; return _16xu.visible = !0; }); } }, _16wo.prototype._getBtnTextureNo = function(_16xw, _16xx) { var _16xy = null; return 1 == _16xw ? _16xx >= 0 && _16xx < this.TABMAX_SHIP ? [97, 99, 101, 103, 105, 107, 109, 111, 113][_16xx] : -1 : 2 == _16xw && _16xx >= 0 && _16xx < this.TABMAX_SLOT ? [79, 81, 83, 85, 87, 89, 91, 93, 95][_16xx] : -1; }, _16wo.prototype._getBtnOnTextureNo = function(_16xz, _16y0) { var _16y1 = null; return 1 == _16xz ? _16y0 >= 0 && _16y0 < this.TABMAX_SHIP ? [98, 100, 102, 104, 106, 108, 110, 112, 114][_16y0] : -1 : 2 == _16xz && _16y0 >= 0 && _16y0 < this.TABMAX_SLOT ? [80, 82, 84, 86, 88, 90, 92, 94, 96][_16y0] : -1; }, _16wo.prototype._initializeTabBtns = function(_16y2) { var _16y3 = null; for (var _16y4 = 0, _16y5 = _16y2; _16y4 < _16y5.length; _16y4++) { var _16y6 = _16y5[_16y4], _16y7 = _16y6.mode, _16y8 = _16y6.no, _16y9 = this._getBtnTextureNo(_16y7, _16y8), _16ya = -1 == _16y9 ? PIXI.Texture.EMPTY : _16wj.ALBUM_MAIN.getTexture(_16y9), _16yb = this._getBtnOnTextureNo(_16y7, _16y8), _16yc = -1 == _16yb ? PIXI.Texture.EMPTY : _16wj.ALBUM_MAIN.getTexture(_16yb); _16y6.initialize(_16ya, _16yc); } }, _16wo; }(PIXI.Container); _16vz.TabBtnContainer = _16wl; }, 90144: function(_16yd, _16ye, _16yf) { 'use strict'; var _16yg = null; var _16yh, _16yi = this && this.__extends || (_16yh = function(_16yj, _16yk) { var _16yl = null; return _16yh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_16ym, _16yn) { var _16yo = null; _16ym.__proto__ = _16yn; } || function(_16yp, _16yq) { var _16yr = null; for (var _16ys in _16yq) Object.prototype.hasOwnProperty.call(_16yq, _16ys) && (_16yp[_16ys] = _16yq[_16ys]); }, _16yh(_16yj, _16yk); }, function(_16yt, _16yu) { var _16yv = null; if ('function' != typeof _16yu && null !== _16yu) throw new TypeError('Class extends value ' + String(_16yu) + ' is not a constructor or null'); function _16yw() { var _16yx = null; this.constructor = _16yt; } _16yh(_16yt, _16yu), _16yt.prototype = null === _16yu ? Object.create(_16yu) : (_16yw.prototype = _16yu.prototype, new _16yw()); }); defineModule(_16ye); Object.defineProperty(_16ye, '__esModule', { 'value': !0 }), _16ye.VoiceBtn = void 0; var _16yy = _16yf(57257), _16yz = _16yf(31000), _16z0 = _16yf(35380), _16z1 = function(_16z2) { var _16z3 = null; function _16z4(_16z5) { var _16z6 = null, _16z7 = _16z2.call(this) || this; return _16z7._onMouseOver = function() { var _16z8 = null; _16z7._update(!0); }, _16z7._onMouseOut = function() { var _16z9 = null; _16z7._update(!1); }, _16z7._onClick = function(_16za) { var _16zb = null; null != _16z7._cb_onClick && _16z7._cb_onClick(_16za); }, _16z7._icon = new _16yy.Sprite(), _16z7._icon.position.set(19, 19), _16z7._icon.anchor.set(0.5), _16z7._icon.scale.set(0.5), _16z7.addChild(_16z7._icon), _16z7._t = createjs.Tween.get(_16z7._icon, { 'loop': !0 }).to({ 'scaleX': 0.8, 'scaleY': 0.8 }, 1000).to({ 'scaleX': 0.5, 'scaleY': 0.5 }, 1000), _16z7._t.setPaused(!0), _16z7._cb_onClick = _16z5, _16z7.interactive = !0, _16z7; } return _16yi(_16z4, _16z2), _16z4.prototype.initialize = function() { var _16zc = null, _16zd = this; this._icon.texture = _16yz.ALBUM_MAIN.getTexture(11), this._update(!1, function() { var _16ze = null, _16zf = _16zd.texture; _16zd.hitArea = new PIXI.Rectangle(0, 0, _16zf.width, _16zf.height); }); }, _16z4.prototype.activate = function() { var _16zg = null; 1 != this.buttonMode && (this.buttonMode = !0, this.on(_16z0.EventType.MOUSEOVER, this._onMouseOver), this.on(_16z0.EventType.MOUSEOUT, this._onMouseOut), this.on(_16z0.EventType.CLICK, this._onClick)); }, _16z4.prototype.deactivate = function() { var _16zh = null; this.buttonMode = !1, this.off(_16z0.EventType.MOUSEOVER, this._onMouseOver), this.off(_16z0.EventType.MOUSEOUT, this._onMouseOut), this.off(_16z0.EventType.CLICK, this._onClick); }, _16z4.prototype.dispose = function() { var _16zi = null; this.removeChildren(), this.deactivate(), this._t.setPaused(!0), createjs.Tween.removeTweens(this._icon), this._icon = null, this._t = null, this._cb_onClick = null; }, _16z4.prototype._update = function(_16zj, _16zk) { var _16zl = null; void 0 === _16zk && (_16zk = null), 0 == _16zj ? (this.texture = _16yz.ALBUM_MAIN.getTexture(0), this._icon.visible = !0, this._t.setPaused(!1)) : (this.texture = _16yz.ALBUM_MAIN.getTexture(14), this._icon.visible = !1, this._t.setPaused(!0)), null !== _16zk && _16zk(); }, _16z4; }(PIXI.Sprite); _16ye.VoiceBtn = _16z1; }, 32667: function(_16zm, _16zn, _16zo) { 'use strict'; var _16zp = null; var _16zq, _16zr = this && this.__extends || (_16zq = function(_16zs, _16zt) { var _16zu = null; return _16zq = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_16zv, _16zw) { var _16zx = null; _16zv.__proto__ = _16zw; } || function(_16zy, _16zz) { var _1700 = null; for (var _1701 in _16zz) Object.prototype.hasOwnProperty.call(_16zz, _1701) && (_16zy[_1701] = _16zz[_1701]); }, _16zq(_16zs, _16zt); }, function(_1702, _1703) { var _1704 = null; if ('function' != typeof _1703 && null !== _1703) throw new TypeError('Class extends value ' + String(_1703) + ' is not a constructor or null'); function _1705() { var _1706 = null; this.constructor = _1702; } _16zq(_1702, _1703), _1702.prototype = null === _1703 ? Object.create(_1703) : (_1705.prototype = _1703.prototype, new _1705()); }); defineModule(_16zn); Object.defineProperty(_16zn, '__esModule', { 'value': !0 }), _16zn.extraVoiceBtn = void 0; var _1707 = _16zo(57257), _1708 = _16zo(31000), _1709 = _16zo(35380), _170a = function(_170b) { var _170c = null; function _170d(_170e) { var _170f = null, _170g = _170b.call(this) || this; return _170g._onMouseOver = function() { var _170h = null; _170g._update(!0); }, _170g._onMouseOut = function() { var _170i = null; _170g._update(!1); }, _170g._onClick = function(_170j) { var _170k = null; null != _170g._cb_onClick && _170g._cb_onClick(_170j, _170g._voice_id); }, _170g._bg = new PIXI.Sprite(), _170g._bg.position.set(0, 0), _170g.addChild(_170g._bg), _170g._icon = new _1707.Sprite(), _170g._icon.position.set(18.5, 18.5), _170g._icon.anchor.set(0.5), _170g.addChild(_170g._icon), _170g._category = new PIXI.Sprite(), _170g._category.position.set(0, 0), _170g.addChild(_170g._category), _170g._t = createjs.Tween.get(_170g._icon, { 'loop': !0 }).to({ 'scaleX': 1.5, 'scaleY': 1.5 }, 1000).to({ 'scaleX': 1, 'scaleY': 1 }, 1000), _170g._t.setPaused(!0), _170g._cb_onClick = _170e, _170g._bg.interactive = !0, _170g; } return _16zr(_170d, _170b), _170d.prototype.initialize = function(_170l) { var _170m = null; this._voice_id = null === _170l ? -1 : _170l.api_voice_id, this._icon.texture = _1708.ALBUM_MAIN.getTexture(12); var _170n = 4; this._category.position.set(23, 20), null !== _170l && 2 === _170l.api_icon_id && (_170n = 3, this._category.position.set(20, 20)), this._category.texture = _1708.ALBUM_MAIN.getTexture(_170n), this._update(!1); }, _170d.prototype._update = function(_170o) { var _170p = null; 0 == _170o ? (this._bg.texture = _1708.ALBUM_MAIN.getTexture(1), this._icon.visible = !0, this._t.setPaused(!1)) : (this._bg.texture = _1708.ALBUM_MAIN.getTexture(13), this._icon.visible = !1, this._t.setPaused(!0)); }, _170d.prototype.activate = function() { var _170q = null; 1 != this.buttonMode && (this._bg.buttonMode = !0, this._bg.on(_1709.EventType.MOUSEOVER, this._onMouseOver), this._bg.on(_1709.EventType.MOUSEOUT, this._onMouseOut), this._bg.on(_1709.EventType.CLICK, this._onClick)); }, _170d.prototype.deactivate = function() { var _170r = null; this._bg.buttonMode = !1, this._bg.off(_1709.EventType.MOUSEOVER, this._onMouseOver), this._bg.off(_1709.EventType.MOUSEOUT, this._onMouseOut), this._bg.off(_1709.EventType.CLICK, this._onClick); }, _170d.prototype.dispose = function() { var _170s = null; this.removeChildren(), this.deactivate(), this._t.setPaused(!0), createjs.Tween.removeTweens(this._icon), this._bg = null, this._icon = null, this._category = null, this._t = null, this._cb_onClick = null, this._voice_id = null; }, _170d; }(PIXI.Container); _16zn.extraVoiceBtn = _170a; }, 98241: function(_170t, _170u, _170v) { 'use strict'; var _170w = null; var _170x = this && this.__createBinding || (Object.create ? function(_170y, _170z, _1710, _1711) { var _1712 = null; void 0 === _1711 && (_1711 = _1710); var _1713 = Object.getOwnPropertyDescriptor(_170z, _1710); _1713 && !('get' in _1713 ? !_170z.__esModule : _1713.writable || _1713.configurable) || (_1713 = { 'enumerable': !0, 'get': function() { return _170z[_1710]; } }), Object.defineProperty(_170y, _1711, _1713); } : function(_1714, _1715, _1716, _1717) { void 0 === _1717 && (_1717 = _1716), _1714[_1717] = _1715[_1716]; }), _1718 = this && this.__exportStar || function(_1719, _171a) { var _171b = null; for (var _171c in _1719) 'default' === _171c || Object.prototype.hasOwnProperty.call(_171a, _171c) || _170x(_171a, _1719, _171c); }; defineModule(_170u); Object.defineProperty(_170u, '__esModule', { 'value': !0 }), _1718(_170v(83406), _170u), _1718(_170v(51205), _170u), _1718(_170v(66099), _170u), _1718(_170v(13220), _170u), _1718(_170v(6558), _170u), _1718(_170v(17622), _170u), _1718(_170v(41940), _170u), _1718(_170v(20955), _170u), _1718(_170v(75943), _170u), _1718(_170v(90144), _170u), _1718(_170v(32430), _170u), _1718(_170v(3609), _170u), _1718(_170v(2383), _170u), _1718(_170v(3415), _170u), _1718(_170v(23076), _170u), _1718(_170v(42849), _170u), _1718(_170v(20473), _170u), _1718(_170v(53285), _170u), _1718(_170v(60988), _170u), _1718(_170v(97432), _170u), _1718(_170v(18261), _170u), _1718(_170v(53900), _170u); }, 42264: function(_171d, _171e, _171f) { 'use strict'; var _171g = null; var _171h, _171i = this && this.__extends || (_171h = function(_171j, _171k) { var _171l = null; return _171h = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_171m, _171n) { var _171o = null; _171m.__proto__ = _171n; } || function(_171p, _171q) { var _171r = null; for (var _171s in _171q) Object.prototype.hasOwnProperty.call(_171q, _171s) && (_171p[_171s] = _171q[_171s]); }, _171h(_171j, _171k); }, function(_171t, _171u) { var _171v = null; if ('function' != typeof _171u && null !== _171u) throw new TypeError('Class extends value ' + String(_171u) + ' is not a constructor or null'); function _171w() { var _171x = null; this.constructor = _171t; } _171h(_171t, _171u), _171t.prototype = null === _171u ? Object.create(_171u) : (_171w.prototype = _171u.prototype, new _171w()); }), _171y = this && this.__importDefault || function(_171z) { var _1720 = null; return _171z && _171z.__esModule ? _171z : { 'default': _171z }; }; defineModule(_171e); Object.defineProperty(_171e, '__esModule', { 'value': !0 }), _171e.ItemScene = void 0; var _1721 = _171y(_171f(18622)), _1722 = _171f(61474), _1723 = _171f(55233), _1724 = _171f(11997), _1725 = _171f(28118), _1726 = _171f(52525), _1727 = _171f(85913), _1728 = _171f(5308), _1729 = _171f(4535), _172a = _171f(54403), _172b = _171f(41901), _172c = _171f(34877), _172d = _171f(3151), _172e = _171f(42058), _172f = _171f(7703), _172g = _171f(58651), _172h = _171f(35672), _172i = _171f(40348), _172j = _171f(75732), _172k = function(_172l) { var _172m = null; function _172n() { var _172o = null, _172p = _172l.call(this) || this; return _172p._initialize = function(_172q) { var _172r = null, _172s; _172p._selected_state = _172q; var _172t = _1721.default.model.basic.getUISkinID(); 101 == _172t || 102 == _172t ? (_172s = new PIXI.Sprite(_1725.ITEM_MENU_1.getTexture(6)), _172p._tabs.y = 193) : 201 == _172t ? (_172s = new PIXI.Sprite(_1726.ITEM_MENU_2.getTexture(6)), _172p._tabs.y = 190) : 301 != _172t && 311 != _172t || (_172s = new PIXI.Sprite(_1727.ITEM_MENU_3.getTexture(12)), _172p._tabs.y = 187), _172p._bg.addChild(_172s), (_172s = new PIXI.Sprite(_1724.COMMON_MISC.getTexture(52))).position.set(171, 103), _172p._bg.addChild(_172s), _172p._tabs.initialize(_172t), _172p._mini_chara.onCompleteFlowerCollection = _172p._onCompleteFlowerCollection, _172p._mini_chara.initialize(0 == _172q), _172p._back_btn.initialize(_172p._onBack), _172p._showView(_172p._selected_state); }, _172p._activate = function() { var _172u = null; _172p._tabs.activate(), _172p._mini_chara.activate(), _172p._back_btn.activate(); }, _172p._dispose = function() { var _172v = null; _172p._removeView(), null != _172p._ilist && (_172p._ilist.dispose(), _172p._ilist = null), null != _172p._ishop && (_172p._ishop.dispose(), _172p._ishop = null), null != _172p._fshop && (_172p._fshop.dispose(), _172p._fshop = null), _172p._tabs.dispose(), _172p._tabs = null, _172p._mini_chara.dispose(), _172p._mini_chara = null, _172p._back_btn.dispose(), _172p._back_btn = null, _172p._purchasedItems = null, _172p.removeChildren(); }, _172p._onChangeSceneState = function(_172w) { var _172x = null; _172p._showView(_172w); }, _172p._onPurchased = function() { var _172y = null; new _1728.PayItemAPI(_172p._purchasedItems).start(function() { var _172z = null; _172p._showView(0, !0); }); }, _172p._onBack = function() { var _1730 = null; _1721.default.scene.change(0); }, _172p._onCompleteFlowerCollection = function(_1731) { var _1732 = null, _1733 = new _172j.TaskMinigame0(); _1733.command = _1731, _172p._taskMinigame = _1733, _1733.onComplete = function() { var _1734 = null; _172p._mini_chara.resetFlower(), _172p._taskMinigame.dispose(), _172p._taskMinigame = null; }, _1733.start(); }, _172p._purchasedItems = new _1729.PurchasedItemModelHolder(), _172p._bg = new PIXI.Container(), _172p.addChild(_172p._bg), _172p._tabs = new _172e.TabContainer(_172p._onChangeSceneState), _172p.addChild(_172p._tabs), _172p._mini_chara = new _172f.MiniChara(), _172p._mini_chara.position.set(-16, 444), _172p.addChild(_172p._mini_chara), _172p._back_btn = new _1723.BackBtn(), _172p._back_btn.position.set(0, 653), _172p.addChild(_172p._back_btn), _172p; } return _171i(_172n, _172l), _172n.prototype.getPreInitializeTask = function(_1735, _1736) { var _1737 = null; return new _172a.TaskItemScenePreInitialize(this._purchasedItems, _1736, this._initialize); }, _172n.prototype.getInitializeTask = function(_1738) { var _1739 = null; return new _172b.TaskItemSceneInitialize(this._activate); }, _172n.prototype.getPreFinalizeTask = function() { var _173a = null; return this._taskMinigame && (this._taskMinigame.dispose(), this._taskMinigame = null), null; }, _172n.prototype.getFinalizeTask = function() { var _173b = null; return new _172c.TaskItemSceneFinalize(this._dispose); }, _172n.prototype._removeView = function() { var _173c = null; null != this._current && (this.removeChild(this._current), this._current.deactivate(), this._current = null); }, _172n.prototype._showView = function(_173d, _173e) { var _173f = null; if (void 0 === _173e && (_173e = !1), this._removeView(), null != this._taskMinigame && (this._taskMinigame.dispose(), this._taskMinigame = null), this._mini_chara.initialize(0 == _173d), this._mini_chara.resetFlower(), this._tabs.update(_173d), 0 == _173d ? (null == this._ilist && (this._ilist = new _172g.ItemListMain(this._purchasedItems), this._ilist.initialize()), this._current = this._ilist, this._mini_chara.interactiveFlower(!0)) : 1 == _173d ? (null == this._ishop && (this._ishop = new _172h.ItemShopMain(this._purchasedItems, this._onPurchased), this._ishop.initialize()), this._current = this._ishop, this._mini_chara.interactiveFlower(!1)) : 2 == _173d && (null == this._fshop && (this._fshop = new _172i.FurnitureShopMain(), this._fshop.initialize()), this._current = this._fshop, this._mini_chara.interactiveFlower(!1)), 0 == _173d && 1 == _173e) { this._ilist.updateForPurchasedView(); var _173g = _1721.default.view.overLayer; new _172d.TaskPurchased(_173g).start(); } else this._current.update(); this._current.activate(), this.addChild(this._current); }, _172n; }(_1722.SceneBase); _171e.ItemScene = _172k; }, 42417: function(_173h, _173i, _173j) { 'use strict'; var _173k = null; var _173l, _173m = this && this.__extends || (_173l = function(_173n, _173o) { var _173p = null; return _173l = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_173q, _173r) { var _173s = null; _173q.__proto__ = _173r; } || function(_173t, _173u) { var _173v = null; for (var _173w in _173u) Object.prototype.hasOwnProperty.call(_173u, _173w) && (_173t[_173w] = _173u[_173w]); }, _173l(_173n, _173o); }, function(_173x, _173y) { var _173z = null; if ('function' != typeof _173y && null !== _173y) throw new TypeError('Class extends value ' + String(_173y) + ' is not a constructor or null'); function _1740() { var _1741 = null; this.constructor = _173x; } _173l(_173x, _173y), _173x.prototype = null === _173y ? Object.create(_173y) : (_1740.prototype = _173y.prototype, new _1740()); }); defineModule(_173i); Object.defineProperty(_173i, '__esModule', { 'value': !0 }), _173i.PayCheckAPI = void 0; var _1742 = _173j(37562), _1743 = _173j(14921), _1744 = function(_1745) { var _1746 = null; function _1747() { var _1748 = null, _1749 = _1745.call(this) || this; return _1749._result = -1, _1749._url = 'api_dmm_payment/paycheck', _1749; } return _173m(_1747, _1745), Object.defineProperty(_1747.prototype, 'result', { 'get': function() { var _174a = null; return this._result; }, 'enumerable': !1, 'configurable': !0 }), _1747.prototype._completedEnd = function() { var _174b = null; this._result = _1743.ObjUtil.getNumber(this._raw_data, 'api_check_value', -1), _1745.prototype._completedEnd.call(this); }, _1747; }(_1742.APIBase); _173i.PayCheckAPI = _1744; }, 5308: function(_174c, _174d, _174e) { 'use strict'; var _174f = null; var _174g, _174h = this && this.__extends || (_174g = function(_174i, _174j) { var _174k = null; return _174g = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_174l, _174m) { var _174n = null; _174l.__proto__ = _174m; } || function(_174o, _174p) { var _174q = null; for (var _174r in _174p) Object.prototype.hasOwnProperty.call(_174p, _174r) && (_174o[_174r] = _174p[_174r]); }, _174g(_174i, _174j); }, function(_174s, _174t) { var _174u = null; if ('function' != typeof _174t && null !== _174t) throw new TypeError('Class extends value ' + String(_174t) + ' is not a constructor or null'); function _174v() { var _174w = null; this.constructor = _174s; } _174g(_174s, _174t), _174s.prototype = null === _174t ? Object.create(_174t) : (_174v.prototype = _174t.prototype, new _174v()); }); defineModule(_174d); Object.defineProperty(_174d, '__esModule', { 'value': !0 }), _174d.PayItemAPI = void 0; var _174x = function(_174y) { var _174z = null; function _1750(_1751) { var _1752 = null, _1753 = _174y.call(this) || this; return _1753._url = 'api_get_member/payitem', _1753._modelManager = _1751, _1753; } return _174h(_1750, _174y), _1750.prototype._completedEnd = function() { var _1754 = null; this._modelManager.setData(this._raw_data), this._modelManager = null, _174y.prototype._completedEnd.call(this); }, _1750; }(_174e(58566).APIBase); _174d.PayItemAPI = _174x; }, 83990: function(_1755, _1756, _1757) { 'use strict'; var _1758 = null; var _1759, _175a = this && this.__extends || (_1759 = function(_175b, _175c) { var _175d = null; return _1759 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_175e, _175f) { var _175g = null; _175e.__proto__ = _175f; } || function(_175h, _175i) { var _175j = null; for (var _175k in _175i) Object.prototype.hasOwnProperty.call(_175i, _175k) && (_175h[_175k] = _175i[_175k]); }, _1759(_175b, _175c); }, function(_175l, _175m) { var _175n = null; if ('function' != typeof _175m && null !== _175m) throw new TypeError('Class extends value ' + String(_175m) + ' is not a constructor or null'); function _175o() { var _175p = null; this.constructor = _175l; } _1759(_175l, _175m), _175l.prototype = null === _175m ? Object.create(_175m) : (_175o.prototype = _175m.prototype, new _175o()); }); defineModule(_1756); Object.defineProperty(_1756, '__esModule', { 'value': !0 }), _1756.PurchasedItemPickupResult = _1756.PurchasedItemPickupAPI = void 0; var _175q = _1757(58566), _175r = _1757(89939), _175s = function(_175t) { var _175u = null; function _175v(_175w, _175x) { var _175y = null, _175z = _175t.call(this) || this; return _175z._url = 'api_req_member/payitemuse', _175z._result = new _1760(), _175z._mst_id = _175w, _175z._force = _175x, _175z; } return _175a(_175v, _175t), Object.defineProperty(_175v.prototype, 'result', { 'get': function() { var _1761 = null; return this._result; }, 'enumerable': !1, 'configurable': !0 }), _175v.prototype._connect = function() { var _1762 = null; this._post_data.api_payitem_id = this._mst_id, this._post_data.api_force_flag = this._force ? 1 : 0, _175t.prototype._connect.call(this); }, _175v.prototype._completedEnd = function() { var _1763 = null; this._result.setData(this._raw_data), _175t.prototype._completedEnd.call(this); }, _175v; }(_175q.APIBase); _1756.PurchasedItemPickupAPI = _175s; var _1764 = (function() { var _1765 = null; function _1766() {} return Object.defineProperty(_1766.prototype, 'cautionFlg', { 'get': function() { var _1767 = null; return _175r.ObjUtil.getNumber(this._o, 'api_caution_flag'); }, 'enumerable': !1, 'configurable': !0 }), _1766.prototype.hasCaution = function() { var _1768 = null; return this.cautionFlg >= 1; }, _1766; }()); _1756.PurchasedItemPickupResult = _1764; var _1760 = function(_1769) { var _176a = null; function _176b() { var _176c = null; return null !== _1769 && _1769.apply(this, arguments) || this; } return _175a(_176b, _1769), _176b.prototype.setData = function(_176d) { this._o = _176d; }, _176b; }(_1764); }, 20653: function(_176e, _176f, _176g) { 'use strict'; var _176h = null; var _176i = this && this.__createBinding || (Object.create ? function(_176j, _176k, _176l, _176m) { var _176n = null; void 0 === _176m && (_176m = _176l); var _176o = Object.getOwnPropertyDescriptor(_176k, _176l); _176o && !('get' in _176o ? !_176k.__esModule : _176o.writable || _176o.configurable) || (_176o = { 'enumerable': !0, 'get': function() { return _176k[_176l]; } }), Object.defineProperty(_176j, _176m, _176o); } : function(_176p, _176q, _176r, _176s) { void 0 === _176s && (_176s = _176r), _176p[_176s] = _176q[_176r]; }), _176t = this && this.__exportStar || function(_176u, _176v) { var _176w = null; for (var _176x in _176u) 'default' === _176x || Object.prototype.hasOwnProperty.call(_176v, _176x) || _176i(_176v, _176u, _176x); }; defineModule(_176f); Object.defineProperty(_176f, '__esModule', { 'value': !0 }), _176t(_176g(5308), _176f), _176t(_176g(42417), _176f); }, 20087: (_176y, _176z, _1770) => { 'use strict'; var _1771 = null; defineModule(_176z); Object.defineProperty(_176z, '__esModule', { 'value': !0 }), _176z.getPosterOffsetPurchased = _176z.getPosterOffsetWelcome = _176z.FAIRY_KEY_2 = _176z.FAIRY_KEY_1 = _176z.POSTER_KEY_2 = _176z.POSTER_KEY_1 = void 0; var _1772 = _1770(80534); function _1773(_1774) { var _1775 = null; return 'gd' == _1774 ? new PIXI.Point(108, 12) : 'xmas' == _1774 ? new PIXI.Point(104, 3) : 'nw' == _1774 ? new PIXI.Point(8, 12) : 'happi' == _1774 ? new PIXI.Point(32, 12) : null; } _176z.POSTER_KEY_1 = 'item_poster_1', _176z.POSTER_KEY_2 = 'item_poster_2', _176z.FAIRY_KEY_1 = 'item_fairy_1', _176z.FAIRY_KEY_2 = 'item_fairy_2', _176z.getPosterOffsetWelcome = function() { var _1776 = null; return _1773(_1772.AKASHI_SEASON); }, _176z.getPosterOffsetPurchased = function() { var _1777 = null; return _1773(_1772.AKASHI_SEASON); }; }, 77181: function(_1778, _1779) { 'use strict'; var _177a = null; var _177b, _177c = this && this.__extends || (_177b = function(_177d, _177e) { var _177f = null; return _177b = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_177g, _177h) { var _177i = null; _177g.__proto__ = _177h; } || function(_177j, _177k) { var _177l = null; for (var _177m in _177k) Object.prototype.hasOwnProperty.call(_177k, _177m) && (_177j[_177m] = _177k[_177m]); }, _177b(_177d, _177e); }, function(_177n, _177o) { var _177p = null; if ('function' != typeof _177o && null !== _177o) throw new TypeError('Class extends value ' + String(_177o) + ' is not a constructor or null'); function _177q() { var _177r = null; this.constructor = _177n; } _177b(_177n, _177o), _177n.prototype = null === _177o ? Object.create(_177o) : (_177q.prototype = _177o.prototype, new _177q()); }); defineModule(_1779); Object.defineProperty(_1779, '__esModule', { 'value': !0 }), _1779.ViewBase = void 0; var _177s = function(_177t) { function _177u() { var _177v = null; return null !== _177t && _177t.apply(this, arguments) || this; } return _177c(_177u, _177t), _177u; }(PIXI.Container); _1779.ViewBase = _177s; }, 40348: function(_177w, _177x, _177y) { 'use strict'; var _177z = null; var _1780, _1781 = this && this.__extends || (_1780 = function(_1782, _1783) { var _1784 = null; return _1780 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1785, _1786) { var _1787 = null; _1785.__proto__ = _1786; } || function(_1788, _1789) { var _178a = null; for (var _178b in _1789) Object.prototype.hasOwnProperty.call(_1789, _178b) && (_1788[_178b] = _1789[_178b]); }, _1780(_1782, _1783); }, function(_178c, _178d) { var _178e = null; if ('function' != typeof _178d && null !== _178d) throw new TypeError('Class extends value ' + String(_178d) + ' is not a constructor or null'); function _178f() { var _178g = null; this.constructor = _178c; } _1780(_178c, _178d), _178c.prototype = null === _178d ? Object.create(_178d) : (_178f.prototype = _178d.prototype, new _178f()); }), _178h = this && this.__importDefault || function(_178i) { var _178j = null; return _178i && _178i.__esModule ? _178i : { 'default': _178i }; }; defineModule(_177x); Object.defineProperty(_177x, '__esModule', { 'value': !0 }), _177x.FurnitureShopMain = void 0; var _178k = _178h(_177y(18622)), _178l = _177y(70723), _178m = _177y(79563), _178n = _177y(77181), _178o = _177y(63686), _178p = _177y(16810), _178q = _177y(16274), _178r = _177y(61016), _178s = function(_178t) { var _178u = null; function _178v() { var _178w = null, _178x = _178t.call(this) || this; return _178x._onSelect = function(_178y) { var _178z = null; _178l.SE.play('240'), null == _178x._sub_view && (_178x._sub_view = new _178p.FShopListView(_178x._onUnSelect, _178x._onExchange), _178x.addChild(_178x._sub_view)), _178x._sub_view.initialize(_178y), _178x._sub_view.activate(), _178x._sub_view.visible = !0, _178x._main_view.deactivate(), _178x._main_view.visible = !1; }, _178x._onUnSelect = function() { var _1790 = null; _178x._main_view.activate(), _178x._main_view.visible = !0, _178x._sub_view.deactivate(), _178x._sub_view.visible = !1; }, _178x._onExchange = function(_1791) { var _1792 = null, _1793 = _178k.default.view.overLayer, _1794 = new _178r.TaskExchange(_1793, _1791); _1794.start(function() { var _1795 = null; 1 == _1794.result && (_178x.update(), null != _178x._sub_view && 1 == _178x._sub_view.visible && _178x._sub_view.update()); }); }, _178x._header = new PIXI.Sprite(), _178x._header.position.set(0, 102), _178x.addChild(_178x._header), _178x._main_view = new _178o.FurnitureShopMainView(_178x._onSelect), _178x.addChild(_178x._main_view), _178x._coin = new _178q.CoinBox(), _178x._coin.position.set(984, 640), _178x.addChild(_178x._coin), _178x; } return _1781(_178v, _178t), _178v.prototype.initialize = function() { var _1796 = null; this._header.texture = _178m.ITEM_FSHOP.getTexture(55), this._main_view.initialize(), this._coin.initialize(), this.update(); }, _178v.prototype.update = function() { var _1797 = null, _1798 = _178k.default.model.useItem.getCount(44); this._coin.update(_1798); }, _178v.prototype.activate = function() { var _1799 = null; 1 == this._main_view.visible && this._main_view.activate(); }, _178v.prototype.deactivate = function() { var _179a = null; this._main_view.deactivate(), this._main_view.visible = !0, null != this._sub_view && (this._sub_view.visible = !1); }, _178v.prototype.dispose = function() { var _179b = null; this.removeChildren(), this._main_view.dispose(), null != this._sub_view && this._sub_view.dispose(), this._coin.dispose(); }, _178v; }(_178n.ViewBase); _177x.FurnitureShopMain = _178s; }, 10088: function(_179c, _179d, _179e) { 'use strict'; var _179f = null; var _179g, _179h = this && this.__extends || (_179g = function(_179i, _179j) { var _179k = null; return _179g = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_179l, _179m) { var _179n = null; _179l.__proto__ = _179m; } || function(_179o, _179p) { var _179q = null; for (var _179r in _179p) Object.prototype.hasOwnProperty.call(_179p, _179r) && (_179o[_179r] = _179p[_179r]); }, _179g(_179i, _179j); }, function(_179s, _179t) { var _179u = null; if ('function' != typeof _179t && null !== _179t) throw new TypeError('Class extends value ' + String(_179t) + ' is not a constructor or null'); function _179v() { var _179w = null; this.constructor = _179s; } _179g(_179s, _179t), _179s.prototype = null === _179t ? Object.create(_179t) : (_179v.prototype = _179t.prototype, new _179v()); }), _179x = this && this.__importDefault || function(_179y) { var _179z = null; return _179y && _179y.__esModule ? _179y : { 'default': _179y }; }; defineModule(_179d); Object.defineProperty(_179d, '__esModule', { 'value': !0 }), _179d.FurnitureExchangeAPI = void 0; var _17a0 = _179x(_179e(18622)), _17a1 = function(_17a2) { var _17a3 = null; function _17a4(_17a5, _17a6) { var _17a7 = null; void 0 === _17a6 && (_17a6 = !1); var _17a8 = _17a2.call(this) || this; return _17a8._url = 'api_req_furniture/buy', _17a8._model = _17a5, _17a8._discount = _17a6, _17a8; } return _179h(_17a4, _17a2), _17a4.prototype._connect = function() { var _17a9 = null; this._post_data.api_type = this._model.type, this._post_data.api_no = this._model.no, 1 == this._discount && (this._post_data.api_discount_flag = 1), _17a2.prototype._connect.call(this); }, _17a4.prototype._completedEnd = function() { var _17aa = null; if (1 == this._discount || 1 == this._model.isNeedCraftsman()) { var _17ab = _17a0.default.model.useItem.get(52); _17ab.__setCount__(_17ab.count - 1); } var _17ac = this._model.price; 1 == this._discount && (_17ac = this._model.getDiscountPrice()); var _17ad = _17a0.default.model.useItem.get(44); _17ad.__setCount__(_17ad.count - _17ac), this._model.updateHasFlag(!0), _17a2.prototype._completedEnd.call(this); }, _17a4; }(_179e(58566).APIBase); _179d.FurnitureExchangeAPI = _17a1; }, 61016: function(_17ae, _17af, _17ag) { 'use strict'; var _17ah = null; var _17ai, _17aj = this && this.__extends || (_17ai = function(_17ak, _17al) { var _17am = null; return _17ai = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_17an, _17ao) { var _17ap = null; _17an.__proto__ = _17ao; } || function(_17aq, _17ar) { var _17as = null; for (var _17at in _17ar) Object.prototype.hasOwnProperty.call(_17ar, _17at) && (_17aq[_17at] = _17ar[_17at]); }, _17ai(_17ak, _17al); }, function(_17au, _17av) { var _17aw = null; if ('function' != typeof _17av && null !== _17av) throw new TypeError('Class extends value ' + String(_17av) + ' is not a constructor or null'); function _17ax() { var _17ay = null; this.constructor = _17au; } _17ai(_17au, _17av), _17au.prototype = null === _17av ? Object.create(_17av) : (_17ax.prototype = _17av.prototype, new _17ax()); }), _17az = this && this.__importDefault || function(_17b0) { var _17b1 = null; return _17b0 && _17b0.__esModule ? _17b0 : { 'default': _17b0 }; }; defineModule(_17af); Object.defineProperty(_17af, '__esModule', { 'value': !0 }), _17af.TaskExchange = void 0; var _17b2 = _17az(_17ag(18622)), _17b3 = _17ag(81755), _17b4 = _17ag(87475), _17b5 = _17ag(8744), _17b6 = _17ag(31000), _17b7 = _17ag(31000), _17b8 = _17ag(10088), _17b9 = _17ag(54784), _17ba = _17ag(35380), _17bb = function(_17bc) { var _17bd = null; function _17be(_17bf, _17bg) { var _17bh = null, _17bi = _17bc.call(this) || this; return _17bi._result = !1, _17bi._layer = _17bf, _17bi._model = _17bg, _17bi; } return _17aj(_17be, _17bc), Object.defineProperty(_17be.prototype, 'result', { 'get': function() { var _17bj = null; return this._result; }, 'enumerable': !1, 'configurable': !0 }), _17be.prototype._start = function() { var _17bk = null, _17bl = this; if (1 == this._model.isHighGrade()) { var _17bm = new _17b9.TaskExchangeHighGrade(this._layer, this._model); _17bm.start(function() { var _17bn = null; _17bl._result = _17bm.result, _17bl._endTask(); }); } else { var _17bo = new _17bp(this._layer, this._model); _17bo.start(function() { var _17bq = null; _17bl._result = _17bo.result, _17bl._endTask(); }); } }, _17be.prototype._endTask = function() { var _17br = null; this._layer = null, this._model = null, _17bc.prototype._endTask.call(this); }, _17be; }(_17b3.TaskBase); _17af.TaskExchange = _17bb; var _17bp = function(_17bs) { var _17bt = null; function _17bu(_17bv, _17bw) { var _17bx = null, _17by = _17bs.call(this) || this; return _17by._result = !1, _17by._showDialog = function() { var _17bz = null, _17c0 = _17b2.default.model.useItem.getCount(44), _17c1 = _17c0 - _17by._model.price, _17c2 = _17b2.default.model.useItem.getCount(52), _17c3 = _17c2 - 1; _17by._dialog = new _17c4(_17by._onResult), _17by._dialog.initialize(), _17by._dialog.update(_17c0, _17c1, _17c2, _17c3), _17by._dialog.alpha = 0, _17by._fade.addChild(_17by._dialog), createjs.Tween.get(_17by._dialog).to({ 'alpha': 1 }, 300).call(function() { var _17c5 = null; _17by._dialog.activate(); }); }, _17by._onResult = function(_17c6) { var _17c7 = null; _17by._dialog.deactivate(), 1 == _17c6 ? _17by._connectAPI() : _17by._hideDialog(); }, _17by._layer = _17bv, _17by._model = _17bw, _17by; } return _17aj(_17bu, _17bs), Object.defineProperty(_17bu.prototype, 'result', { 'get': function() { var _17c8 = null; return this._result; }, 'enumerable': !1, 'configurable': !0 }), _17bu.prototype._start = function() { var _17c9 = null; 1 == this._model.isNeedCraftsman() ? this._showFade() : this._connectAPI(); }, _17bu.prototype._showFade = function() { var _17ca = null; this._fade = new _17b4.FadeBox(0.8), this._fade.hide(0), this._layer.addChild(this._fade), this._fade.show(200, this._showDialog); }, _17bu.prototype._connectAPI = function() { var _17cb = null, _17cc = this; _17b6.SE.play('215'), this._result = !0, new _17b8.FurnitureExchangeAPI(this._model).start(function() { var _17cd = null; null == _17cc._dialog ? _17cc._endTask() : _17cc._hideDialog(); }); }, _17bu.prototype._hideDialog = function() { var _17ce = null, _17cf = this; createjs.Tween.get(this._dialog).to({ 'alpha': 0 }, 200).call(function() { var _17cg = null; _17cf._dialog.dispose(), _17cf._layer.removeChild(_17cf._dialog), _17cf._dialog = null, _17cf._hideFade(); }); }, _17bu.prototype._hideFade = function() { var _17ch = null, _17ci = this; this._fade.hide(200, function() { var _17cj = null; _17ci._layer.removeChild(_17ci._fade), _17ci._fade = null, _17ci._endTask(); }); }, _17bu.prototype._endTask = function() { var _17ck = null; this._layer = null, this._model = null, _17bs.prototype._endTask.call(this); }, _17bu; }(_17b3.TaskBase), _17c4 = function(_17cl) { var _17cm = null; function _17cn(_17co) { var _17cp = null, _17cq = _17cl.call(this) || this; return _17cq._onYes = function() { var _17cr = null; null != _17cq._cb_onResult && _17cq._cb_onResult(!0); }, _17cq._onNo = function() { var _17cs = null; null != _17cq._cb_onResult && _17cq._cb_onResult(!1); }, _17cq._cb_onResult = _17co, _17cq._label1 = new _17b5.TextBox(21, 1949120), _17cq._label1.text = '-家具屋 特別注文-', _17cq._label1.position.set(600 - _17cq._label1.width / 2, 21), _17cq.addChild(_17cq._label1), _17cq._label2 = new _17b5.TextBox(21, 1949120), _17cq._label2.text = '家具コイン', _17cq._label2.position.set(395, 236), _17cq.addChild(_17cq._label2), _17cq._label3 = new _17b5.TextBox(21, 1949120), _17cq._label3.text = '特注家具職人', _17cq._label3.position.set(395, 308), _17cq.addChild(_17cq._label3), _17cq._coin_from = new _17b5.TextBox(21, 16774898), _17cq._coin_from.anchor.x = 1, _17cq._coin_from.position.set(681, 236), _17cq.addChild(_17cq._coin_from), _17cq._coin_to = new _17b5.TextBox(21, 16774898), _17cq._coin_to.position.set(710, 236), _17cq.addChild(_17cq._coin_to), _17cq._craftman_from = new _17b5.TextBox(21, 16774898), _17cq._craftman_from.anchor.x = 1, _17cq._craftman_from.position.set(681, 309), _17cq.addChild(_17cq._craftman_from), _17cq._craftman_to = new _17b5.TextBox(21, 16774898), _17cq._craftman_to.position.set(710, 309), _17cq.addChild(_17cq._craftman_to), _17cq._btn_no = new PIXI.Sprite(), _17cq._btn_no.interactive = !0, _17cq._btn_no.position.set(381, 578), _17cq.addChild(_17cq._btn_no), _17cq._btn_yes = new PIXI.Sprite(), _17cq._btn_yes.interactive = !0, _17cq._btn_yes.position.set(665, 578), _17cq.addChild(_17cq._btn_yes), _17cq; } return _17aj(_17cn, _17cl), _17cn.prototype.initialize = function() { var _17ct = null; this.texture = _17b7.ITEM_FSHOP.getTexture(54), this._btn_no.texture = _17b7.ITEM_FSHOP.getTexture(6), this._btn_yes.texture = _17b7.ITEM_FSHOP.getTexture(7); var _17cu = new PIXI.Sprite(_17b7.ITEM_FSHOP.getTexture(9)); _17cu.position.set(573, 234), this.addChild(_17cu), (_17cu = new PIXI.Sprite(_17b7.ITEM_FSHOP.getTexture(8))).position.set(576, 308), this.addChild(_17cu); var _17cv = _17b7.ITEM_FSHOP.getTexture(0), _17cw = new PIXI.Sprite(_17cv); _17cw.position.set(684, 243), this.addChild(_17cw), (_17cw = new PIXI.Sprite(_17cv)).position.set(684, 318), this.addChild(_17cw); }, _17cn.prototype.update = function(_17cx, _17cy, _17cz, _17d0) { var _17d1 = null; this._coin_from.text = _17cx.toString(), this._coin_to.text = _17cy.toString(), this._craftman_from.text = _17cz.toString(), this._craftman_to.text = _17d0.toString(); }, _17cn.prototype.activate = function() { var _17d2 = null; this._btn_no.buttonMode = !0, this._btn_no.once(_17ba.EventType.CLICK, this._onNo), this._btn_yes.buttonMode = !0, this._btn_yes.once(_17ba.EventType.CLICK, this._onYes); }, _17cn.prototype.deactivate = function() { var _17d3 = null; this._btn_no.buttonMode = !1, this._btn_no.off(_17ba.EventType.CLICK, this._onNo), this._btn_yes.buttonMode = !1, this._btn_yes.off(_17ba.EventType.CLICK, this._onYes); }, _17cn.prototype.dispose = function() { var _17d4 = null; this.deactivate(), this.removeChildren(), this._label1.destroy(), this._label2.destroy(), this._label3.destroy(), this._coin_from.destroy(), this._coin_to.destroy(), this._craftman_from.destroy(), this._craftman_to.destroy(), this._cb_onResult = null; }, _17cn; }(PIXI.Sprite); }, 54784: function(_17d5, _17d6, _17d7) { 'use strict'; var _17d8 = null; var _17d9, _17da = this && this.__extends || (_17d9 = function(_17db, _17dc) { var _17dd = null; return _17d9 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_17de, _17df) { var _17dg = null; _17de.__proto__ = _17df; } || function(_17dh, _17di) { var _17dj = null; for (var _17dk in _17di) Object.prototype.hasOwnProperty.call(_17di, _17dk) && (_17dh[_17dk] = _17di[_17dk]); }, _17d9(_17db, _17dc); }, function(_17dl, _17dm) { var _17dn = null; if ('function' != typeof _17dm && null !== _17dm) throw new TypeError('Class extends value ' + String(_17dm) + ' is not a constructor or null'); function _17do() { var _17dp = null; this.constructor = _17dl; } _17d9(_17dl, _17dm), _17dl.prototype = null === _17dm ? Object.create(_17dm) : (_17do.prototype = _17dm.prototype, new _17do()); }), _17dq = this && this.__importDefault || function(_17dr) { var _17ds = null; return _17dr && _17dr.__esModule ? _17dr : { 'default': _17dr }; }; defineModule(_17d6); Object.defineProperty(_17d6, '__esModule', { 'value': !0 }), _17d6.TaskExchangeHighGrade = void 0; var _17dt = _17dq(_17d7(18622)), _17du = _17d7(35380), _17dv = _17d7(81755), _17dw = _17d7(87475), _17dx = _17d7(8744), _17dy = _17d7(70723), _17dz = _17d7(79563), _17e0 = _17d7(10088), _17e1 = function(_17e2) { var _17e3 = null; function _17e4(_17e5, _17e6) { var _17e7 = null, _17e8 = _17e2.call(this) || this; return _17e8._result = !1, _17e8._showDialog = function() { var _17e9 = null, _17ea = _17dt.default.model.useItem.getCount(44), _17eb = _17dt.default.model.useItem.getCount(52); _17e8._dialog = new _17ec(_17e8._onResult), _17e8._dialog.initialize(_17e8._model, _17ea, _17eb), _17e8._dialog.alpha = 0, _17e8._fade.addChild(_17e8._dialog), createjs.Tween.get(_17e8._dialog).to({ 'alpha': 1 }, 150).call(function() { var _17ed = null; _17e8._dialog.activate(); }); }, _17e8._onResult = function(_17ee) { var _17ef = null; _17e8._dialog.deactivate(), 0 == _17ee ? _17e8._hideDialog() : _17e8._connectAPI(_17ee); }, _17e8._layer = _17e5, _17e8._model = _17e6, _17e8; } return _17da(_17e4, _17e2), Object.defineProperty(_17e4.prototype, 'result', { 'get': function() { var _17eg = null; return this._result; }, 'enumerable': !1, 'configurable': !0 }), _17e4.prototype._start = function() { var _17eh = null; this._showFade(); }, _17e4.prototype._showFade = function() { var _17ei = null; this._fade = new _17dw.FadeBox(0.6), this._fade.hide(0), this._layer.addChild(this._fade), this._fade.show(200, this._showDialog); }, _17e4.prototype._connectAPI = function(_17ej) { var _17ek = null, _17el = this; _17dy.SE.play('215'), this._result = !0; var _17em = 2 == _17ej; new _17e0.FurnitureExchangeAPI(this._model, _17em).start(function() { var _17en = null; null == _17el._dialog ? _17el._endTask() : _17el._hideDialog(); }); }, _17e4.prototype._hideDialog = function() { var _17eo = null, _17ep = this; createjs.Tween.get(this._dialog).to({ 'alpha': 0 }, 150).call(function() { var _17eq = null; _17ep._dialog.dispose(), _17ep._layer.removeChild(_17ep._dialog), _17ep._dialog = null, _17ep._hideFade(); }); }, _17e4.prototype._hideFade = function() { var _17er = null, _17es = this; this._fade.hide(150, function() { var _17et = null; _17es._layer.removeChild(_17es._fade), _17es._fade = null, _17es._endTask(); }); }, _17e4.prototype._endTask = function() { var _17eu = null; this._layer = null, this._model = null, _17e2.prototype._endTask.call(this); }, _17e4; }(_17dv.TaskBase); _17d6.TaskExchangeHighGrade = _17e1; var _17ec = function(_17ev) { var _17ew = null; function _17ex(_17ey) { var _17ez = null, _17f0 = _17ev.call(this) || this; return _17f0._onNominal = function() { var _17f1 = null; null != _17f0._cb_onResult && _17f0._cb_onResult(1); }, _17f0._onDiscount = function() { var _17f2 = null; null != _17f0._cb_onResult && _17f0._cb_onResult(2); }, _17f0._onBack = function() { var _17f3 = null; null != _17f0._cb_onResult && _17f0._cb_onResult(0); }, _17f0._cb_onResult = _17ey, _17f0._bg = new PIXI.Sprite(), _17f0._bg.position.set(147, 267), _17f0.addChild(_17f0._bg), _17f0._btn_nominal = new _17f4(_17f0._onNominal), _17f0._btn_nominal.interactive = !0, _17f0._btn_nominal.position.set(259, 312), _17f0.addChild(_17f0._btn_nominal), _17f0._btn_discount = new _17f5(_17f0._onDiscount), _17f0._btn_discount.interactive = !0, _17f0._btn_discount.position.set(622, 295), _17f0.addChild(_17f0._btn_discount), _17f0._btn_back = new PIXI.Sprite(), _17f0._btn_back.interactive = !0, _17f0._btn_back.position.set(972, 402), _17f0.addChild(_17f0._btn_back), _17f0; } return _17da(_17ex, _17ev), _17ex.prototype.initialize = function(_17f6, _17f7, _17f8) { var _17f9 = null; this._bg.texture = _17dz.ITEM_FSHOP.getTexture(52); var _17fa = _17f6.price; this._btn_nominal.initialize(_17fa, _17f7 >= _17fa), _17fa = _17f6.getDiscountPrice(), this._btn_discount.initialize(_17fa, _17f7 >= _17fa && _17f8 > 0), this._btn_back.texture = _17dz.ITEM_FSHOP.getTexture(1); }, _17ex.prototype.activate = function() { var _17fb = null; this._btn_nominal.activate(), this._btn_discount.activate(), this._btn_back.buttonMode = !0, this._btn_back.once(_17du.EventType.CLICK, this._onBack); }, _17ex.prototype.deactivate = function() { var _17fc = null; this._btn_nominal.deactivate(), this._btn_discount.deactivate(), this._btn_back.buttonMode = !1, this._btn_back.off(_17du.EventType.CLICK, this._onBack); }, _17ex.prototype.dispose = function() { var _17fd = null; this.deactivate(), this._cb_onResult = null; }, _17ex; }(PIXI.Container), _17f4 = function(_17fe) { var _17ff = null; function _17fg(_17fh) { var _17fi = null, _17fj = _17fe.call(this) || this; return _17fj._enabled = !1, _17fj._onClick = function() { var _17fk = null; null != _17fj._cb_onClick && _17fj._cb_onClick(); }, _17fj._price = new _17dx.TextBox(28, 16774898), _17fj._price.y = 58, _17fj.addChild(_17fj._price), _17fj._cb_onClick = _17fh, _17fj; } return _17da(_17fg, _17fe), _17fg.prototype.initialize = function(_17fl, _17fm) { var _17fn = null; this._enabled = _17fm, this.texture = 1 == _17fm ? _17dz.ITEM_FSHOP.getTexture(2) : _17dz.ITEM_FSHOP.getTexture(3), this._price.text = _17fl.toString(), this._price.x = Math.floor(72 - this._price.width / 2); }, _17fg.prototype.activate = function() { var _17fo = null; 0 != this._enabled && (this.buttonMode = !0, this.once(_17du.EventType.CLICK, this._onClick)); }, _17fg.prototype.deactivate = function() { var _17fp = null; this.buttonMode = !1, this.off(_17du.EventType.CLICK, this._onClick); }, _17fg.prototype.dispose = function() { var _17fq = null; this.deactivate(), this.removeChildren(), this._price.destroy(), this._cb_onClick = null; }, _17fg; }(PIXI.Sprite), _17f5 = function(_17fr) { var _17fs = null; function _17ft(_17fu) { var _17fv = null, _17fw = _17fr.call(this) || this; return _17fw._enabled = !1, _17fw._onClick = function() { var _17fx = null; null != _17fw._cb_onClick && _17fw._cb_onClick(); }, _17fw._price = new _17dx.TextBox(28, 16774898), _17fw._price.y = 88, _17fw.addChild(_17fw._price), _17fw._cb_onClick = _17fu, _17fw; } return _17da(_17ft, _17fr), _17ft.prototype.initialize = function(_17fy, _17fz) { var _17g0 = null; this._enabled = _17fz, this.texture = 1 == _17fz ? _17dz.ITEM_FSHOP.getTexture(4) : _17dz.ITEM_FSHOP.getTexture(5), this._price.text = _17fy.toString(), this._price.x = Math.floor(70 - this._price.width / 2); }, _17ft.prototype.activate = function() { var _17g1 = null; 0 != this._enabled && (this.buttonMode = !0, this.once(_17du.EventType.CLICK, this._onClick)); }, _17ft.prototype.deactivate = function() { var _17g2 = null; this.buttonMode = !1, this.off(_17du.EventType.CLICK, this._onClick); }, _17ft.prototype.dispose = function() { var _17g3 = null; this.deactivate(), this._cb_onClick = null; }, _17ft; }(PIXI.Sprite); }, 16810: function(_17g4, _17g5, _17g6) { 'use strict'; var _17g7 = null; var _17g8, _17g9 = this && this.__extends || (_17g8 = function(_17ga, _17gb) { var _17gc = null; return _17g8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_17gd, _17ge) { var _17gf = null; _17gd.__proto__ = _17ge; } || function(_17gg, _17gh) { var _17gi = null; for (var _17gj in _17gh) Object.prototype.hasOwnProperty.call(_17gh, _17gj) && (_17gg[_17gj] = _17gh[_17gj]); }, _17g8(_17ga, _17gb); }, function(_17gk, _17gl) { var _17gm = null; if ('function' != typeof _17gl && null !== _17gl) throw new TypeError('Class extends value ' + String(_17gl) + ' is not a constructor or null'); function _17gn() { var _17go = null; this.constructor = _17gk; } _17g8(_17gk, _17gl), _17gk.prototype = null === _17gl ? Object.create(_17gl) : (_17gn.prototype = _17gl.prototype, new _17gn()); }), _17gp = this && this.__importDefault || function(_17gq) { var _17gr = null; return _17gq && _17gq.__esModule ? _17gq : { 'default': _17gq }; }; defineModule(_17g5); Object.defineProperty(_17g5, '__esModule', { 'value': !0 }), _17g5.FShopListView = void 0; var _17gs = _17gp(_17g6(18622)), _17gt = _17g6(70723), _17gu = _17g6(79563), _17gv = _17g6(18681), _17gw = _17g6(88505), _17gx = _17g6(85635), _17gy = _17g6(41767), _17gz = function(_17h0) { var _17h1 = null; function _17h2(_17h3, _17h4) { var _17h5 = null, _17h6 = _17h0.call(this) || this; return _17h6._onSelect = function(_17h7) { var _17h8 = null; _17gt.SE.play('239'), _17h6._now_selected = _17h7; var _17h9 = _17gs.default.model.useItem.getCount(52); _17h6._detail.update(_17h7, _17h9), _17h6._exchange_btn.enabled = _17h6._getExchangeBtnEnabled(_17h7, _17h9); }, _17h6._onBack = function() { var _17ha = null; _17h6._now_selected = null, null != _17h6._cb_onBack && _17h6._cb_onBack(); }, _17h6._onExchange = function() { var _17hb = null; null != _17h6._cb_onExchange && _17h6._cb_onExchange(_17h6._now_selected); }, _17h6._cb_onBack = _17h3, _17h6._cb_onExchange = _17h4, _17h6._header = new _17hc(), _17h6._header.position.set(648, 147), _17h6.addChild(_17h6._header), _17h6._list = new _17gv.FShopListPanel(_17h6._onSelect), _17h6._list.position.set(187, 183), _17h6.addChild(_17h6._list), _17h6._detail = new _17gw.FShopDetailPanel(), _17h6._detail.position.set(643, 213), _17h6.addChild(_17h6._detail), _17h6._back_btn = new _17gx.BackBtn(), _17h6._back_btn.position.set(202, 654), _17h6.addChild(_17h6._back_btn), _17h6._exchange_btn = new _17gy.ExchangeBtn(), _17h6._exchange_btn.position.set(666, 643), _17h6.addChild(_17h6._exchange_btn), _17h6; } return _17g9(_17h2, _17h0), _17h2.prototype.initialize = function(_17hd) { var _17he = null; this._type = _17hd, this._list.initialize(), this._detail.initialize(), this._back_btn.initialize(this._onBack), this._exchange_btn.initialize(this._onExchange), this.update(); }, _17h2.prototype.update = function() { var _17hf = null; this._header.update(this._type); var _17hg = _17gs.default.model.furniture.getOnSaleList(this._type); this._list.update(_17hg), this._detail.update(null, 0), this._exchange_btn.enabled = !1; }, _17h2.prototype.activate = function() { var _17hh = null; this._list.activate(), this._back_btn.activate(), this._exchange_btn.activate(); }, _17h2.prototype.deactivate = function() { var _17hi = null; this._list.deactivate(), this._back_btn.deactivate(), this._exchange_btn.deactivate(); }, _17h2.prototype.dispose = function() { var _17hj = null; this._list.dispose(), this._detail.dispose(), this._back_btn.dispose(), this._exchange_btn.dispose(), this._cb_onBack = null, this._cb_onExchange = null; }, _17h2.prototype._getExchangeBtnEnabled = function(_17hk, _17hl) { var _17hm = null; if (1 == _17hk.has()) return !1; var _17hn = _17gs.default.model.useItem.getCount(44); if (_17hn < _17hk.price) { if (1 != _17hk.isHighGrade()) return !1; if (_17hn < _17hk.getDiscountPrice() || _17hl < 1) return !1; } return !(1 == _17hk.isNeedCraftsman() && _17hl < 1); }, _17h2; }(PIXI.Container); _17g5.FShopListView = _17gz; var _17hc = function(_17ho) { var _17hp = null; function _17hq() { var _17hr = null; return null !== _17ho && _17ho.apply(this, arguments) || this; } return _17g9(_17hq, _17ho), _17hq.prototype.update = function(_17hs) { var _17ht = null, _17hu; switch (_17hs) { case 0: _17hu = 45; break; case 1: _17hu = 46; break; case 2: _17hu = 47; break; case 3: _17hu = 48; break; case 4: _17hu = 49; break; case 5: _17hu = 50; break; default: return void(this.texture = PIXI.Texture.EMPTY); } this.texture = _17gu.ITEM_FSHOP.getTexture(_17hu); }, _17hq; }(PIXI.Sprite); }, 63686: function(_17hv, _17hw, _17hx) { 'use strict'; var _17hy = null; var _17hz, _17i0 = this && this.__extends || (_17hz = function(_17i1, _17i2) { var _17i3 = null; return _17hz = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_17i4, _17i5) { var _17i6 = null; _17i4.__proto__ = _17i5; } || function(_17i7, _17i8) { var _17i9 = null; for (var _17ia in _17i8) Object.prototype.hasOwnProperty.call(_17i8, _17ia) && (_17i7[_17ia] = _17i8[_17ia]); }, _17hz(_17i1, _17i2); }, function(_17ib, _17ic) { var _17id = null; if ('function' != typeof _17ic && null !== _17ic) throw new TypeError('Class extends value ' + String(_17ic) + ' is not a constructor or null'); function _17ie() { var _17if = null; this.constructor = _17ib; } _17hz(_17ib, _17ic), _17ib.prototype = null === _17ic ? Object.create(_17ic) : (_17ie.prototype = _17ic.prototype, new _17ie()); }); defineModule(_17hw); Object.defineProperty(_17hw, '__esModule', { 'value': !0 }), _17hw.FurnitureShopMainView = void 0; var _17ig = _17hx(8744), _17ih = _17hx(31000), _17ii = _17hx(57491), _17ij = function(_17ik) { var _17il = null; function _17im(_17in) { var _17io = null, _17ip = _17ik.call(this) || this; _17ip._onBtnMouseOver = function(_17iq) { var _17ir = null; _17ip._illust.update(_17iq); }, _17ip._onBtnMouseOut = function(_17is) { var _17it = null; _17ip._illust.update(); }, _17ip._onBtnClick = function(_17iu) { var _17iv = null; null != _17ip._cb_onSelect && _17ip._cb_onSelect(_17iu); }, _17ip._cb_onSelect = _17in, _17ip._header = new PIXI.Sprite(), _17ip._header.position.set(561, 169), _17ip.addChild(_17ip._header), _17ip._illust = new _17iw(), _17ip._illust.position.set(387, 210), _17ip.addChild(_17ip._illust), _17ip._footer = new _17ig.TextBox(16, 0), _17ip._footer.position.set(670, 679), _17ip._footer.text = '家具コインは遠征などで入手できます。', _17ip.addChild(_17ip._footer), _17ip._btns = []; for (var _17ix = [1, 0, 5, 2, 3, 4], _17iy = 0; _17iy < _17ix.length; _17iy++) { var _17iz = _17ix[_17iy], _17j0 = new _17ii.FurnitureTypeBtn(_17iz); _17j0.x = 204, _17j0.y = 241 + 70 * _17iy, _17ip.addChild(_17j0), _17ip._btns.push(_17j0); } return _17ip; } return _17i0(_17im, _17ik), _17im.prototype.initialize = function() { var _17j1 = null; this._header.texture = _17ih.ITEM_FSHOP.getTexture(51), this._illust.initiatize(); for (var _17j2 = 0, _17j3 = this._btns; _17j2 < _17j3.length; _17j2++) { _17j3[_17j2].initialize(this._onBtnMouseOver, this._onBtnMouseOut, this._onBtnClick); } }, _17im.prototype.activate = function() { var _17j4 = null; for (var _17j5 = 0, _17j6 = this._btns; _17j5 < _17j6.length; _17j5++) { _17j6[_17j5].activate(); } }, _17im.prototype.deactivate = function() { var _17j7 = null; this._illust.update(); for (var _17j8 = 0, _17j9 = this._btns; _17j8 < _17j9.length; _17j8++) { _17j9[_17j8].deactivate(); } }, _17im.prototype.dispose = function() { var _17ja = null; this.removeChildren(), this._footer.destroy(); for (var _17jb = 0, _17jc = this._btns; _17jb < _17jc.length; _17jb++) { _17jc[_17jb].dispose(); } this._cb_onSelect = null; }, _17im; }(PIXI.Container); _17hw.FurnitureShopMainView = _17ij; var _17iw = function(_17jd) { var _17je = null; function _17jf() { var _17jg = null, _17jh = _17jd.call(this) || this; return _17jh._over = new PIXI.Sprite(), _17jh.addChild(_17jh._over), _17jh; } return _17i0(_17jf, _17jd), _17jf.prototype.initiatize = function() { var _17ji = null; this.texture = _17ih.ITEM_FSHOP.getTexture(38); }, _17jf.prototype.update = function(_17jj) { var _17jk = null; if (void 0 === _17jj && (_17jj = -1), -1 == _17jj) this._over.visible = !1; else { var _17jl = void 0; switch (_17jj) { case 0: _17jl = 39, this._over.position.set(16, 258); break; case 1: _17jl = 40, this._over.position.set(16, 16); break; case 2: _17jl = 41, this._over.position.set(196, 15); break; case 3: _17jl = 42, this._over.position.set(16, 16); break; case 4: _17jl = 43, this._over.position.set(577, 16); break; case 5: _17jl = 44, this._over.position.set(39, 114); break; default: return void(this._over.visible = !1); } this._over.texture = _17ih.ITEM_FSHOP.getTexture(_17jl), this._over.visible = !0; } }, _17jf; }(PIXI.Sprite); }, 57491: function(_17jm, _17jn, _17jo) { 'use strict'; var _17jp = null; var _17jq, _17jr = this && this.__extends || (_17jq = function(_17js, _17jt) { var _17ju = null; return _17jq = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_17jv, _17jw) { var _17jx = null; _17jv.__proto__ = _17jw; } || function(_17jy, _17jz) { var _17k0 = null; for (var _17k1 in _17jz) Object.prototype.hasOwnProperty.call(_17jz, _17k1) && (_17jy[_17k1] = _17jz[_17k1]); }, _17jq(_17js, _17jt); }, function(_17k2, _17k3) { var _17k4 = null; if ('function' != typeof _17k3 && null !== _17k3) throw new TypeError('Class extends value ' + String(_17k3) + ' is not a constructor or null'); function _17k5() { var _17k6 = null; this.constructor = _17k2; } _17jq(_17k2, _17k3), _17k2.prototype = null === _17k3 ? Object.create(_17k3) : (_17k5.prototype = _17k3.prototype, new _17k5()); }); defineModule(_17jn); Object.defineProperty(_17jn, '__esModule', { 'value': !0 }), _17jn.FurnitureTypeBtn = void 0; var _17k7 = _17jo(31000), _17k8 = _17jo(35380), _17k9 = function(_17ka) { var _17kb = null; function _17kc(_17kd) { var _17ke = null, _17kf = _17ka.call(this) || this; return _17kf._onMouseOver = function() { var _17kg = null; _17kf._update(!0), null != _17kf._cb_onMouseOver && _17kf._cb_onMouseOver(_17kf._type); }, _17kf._onMouseOut = function() { var _17kh = null; _17kf._update(!1), null != _17kf._cb_onMouseOut && _17kf._cb_onMouseOut(_17kf._type); }, _17kf._onClick = function() { var _17ki = null; null != _17kf._cb_onClick && _17kf._cb_onClick(_17kf._type); }, _17kf._type = _17kd, _17kf.interactive = !0, _17kf; } return _17jr(_17kc, _17ka), _17kc.prototype.initialize = function(_17kj, _17kk, _17kl) { var _17km = null; this._cb_onMouseOver = _17kj, this._cb_onMouseOut = _17kk, this._cb_onClick = _17kl, this._update(!1); }, _17kc.prototype.activate = function() { var _17kn = null; 1 != this.buttonMode && (this.buttonMode = !0, this.on(_17k8.EventType.MOUSEOVER, this._onMouseOver), this.on(_17k8.EventType.MOUSEOUT, this._onMouseOut), this.on(_17k8.EventType.CLICK, this._onClick), this._update(!1)); }, _17kc.prototype.deactivate = function() { var _17ko = null; this.buttonMode = !1, this.off(_17k8.EventType.MOUSEOVER, this._onMouseOver), this.off(_17k8.EventType.MOUSEOUT, this._onMouseOut), this.off(_17k8.EventType.CLICK, this._onClick); }, _17kc.prototype.dispose = function() { var _17kp = null; this.deactivate(); }, _17kc.prototype._update = function(_17kq) { var _17kr = null; this.texture = 0 == _17kq ? this._getTexture() : this._getTextureOn(); }, _17kc.prototype._getTexture = function() { var _17ks = null, _17kt; switch (this._type) { case 0: _17kt = 25; break; case 1: _17kt = 27; break; case 2: _17kt = 29; break; case 3: _17kt = 31; break; case 4: _17kt = 33; break; case 5: _17kt = 35; break; default: return PIXI.Texture.EMPTY; } return _17k7.ITEM_FSHOP.getTexture(_17kt); }, _17kc.prototype._getTextureOn = function() { var _17ku = null, _17kv; switch (this._type) { case 0: _17kv = 26; break; case 1: _17kv = 28; break; case 2: _17kv = 30; break; case 3: _17kv = 32; break; case 4: _17kv = 34; break; case 5: _17kv = 36; break; default: return PIXI.Texture.EMPTY; } return _17k7.ITEM_FSHOP.getTexture(_17kv); }, _17kc; }(PIXI.Sprite); _17jn.FurnitureTypeBtn = _17k9; }, 85635: function(_17kw, _17kx, _17ky) { 'use strict'; var _17kz = null; var _17l0, _17l1 = this && this.__extends || (_17l0 = function(_17l2, _17l3) { var _17l4 = null; return _17l0 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_17l5, _17l6) { var _17l7 = null; _17l5.__proto__ = _17l6; } || function(_17l8, _17l9) { var _17la = null; for (var _17lb in _17l9) Object.prototype.hasOwnProperty.call(_17l9, _17lb) && (_17l8[_17lb] = _17l9[_17lb]); }, _17l0(_17l2, _17l3); }, function(_17lc, _17ld) { var _17le = null; if ('function' != typeof _17ld && null !== _17ld) throw new TypeError('Class extends value ' + String(_17ld) + ' is not a constructor or null'); function _17lf() { var _17lg = null; this.constructor = _17lc; } _17l0(_17lc, _17ld), _17lc.prototype = null === _17ld ? Object.create(_17ld) : (_17lf.prototype = _17ld.prototype, new _17lf()); }); defineModule(_17kx); Object.defineProperty(_17kx, '__esModule', { 'value': !0 }), _17kx.BackBtn = void 0; var _17lh = _17ky(57257), _17li = _17ky(31000), _17lj = function(_17lk) { var _17ll = null; function _17lm() { var _17ln = null; return null !== _17lk && _17lk.apply(this, arguments) || this; } return _17l1(_17lm, _17lk), _17lm.prototype._update = function(_17lo) { var _17lp = null; this.texture = 0 == _17lo ? _17li.ITEM_FSHOP.getTexture(19) : _17li.ITEM_FSHOP.getTexture(20); }, _17lm; }(_17lh.BtnBase); _17kx.BackBtn = _17lj; }, 16274: function(_17lq, _17lr, _17ls) { 'use strict'; var _17lt = null; var _17lu, _17lv = this && this.__extends || (_17lu = function(_17lw, _17lx) { var _17ly = null; return _17lu = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_17lz, _17m0) { var _17m1 = null; _17lz.__proto__ = _17m0; } || function(_17m2, _17m3) { var _17m4 = null; for (var _17m5 in _17m3) Object.prototype.hasOwnProperty.call(_17m3, _17m5) && (_17m2[_17m5] = _17m3[_17m5]); }, _17lu(_17lw, _17lx); }, function(_17m6, _17m7) { var _17m8 = null; if ('function' != typeof _17m7 && null !== _17m7) throw new TypeError('Class extends value ' + String(_17m7) + ' is not a constructor or null'); function _17m9() { var _17ma = null; this.constructor = _17m6; } _17lu(_17m6, _17m7), _17m6.prototype = null === _17m7 ? Object.create(_17m7) : (_17m9.prototype = _17m7.prototype, new _17m9()); }); defineModule(_17lr); Object.defineProperty(_17lr, '__esModule', { 'value': !0 }), _17lr.CoinBox = void 0; var _17mb = _17ls(8744), _17mc = _17ls(31000), _17md = function(_17me) { var _17mf = null; function _17mg() { var _17mh = null, _17mi = _17me.call(this) || this; return _17mi._text = new _17mb.TextBox(28, 5010027), _17mi._text.anchor.x = 1, _17mi._text.position.set(174, 27), _17mi.addChild(_17mi._text), _17mi; } return _17lv(_17mg, _17me), _17mg.prototype.initialize = function() { var _17mj = null; this.texture = _17mc.ITEM_FSHOP.getTexture(37), this.update(0); }, _17mg.prototype.update = function(_17mk) { var _17ml = null; _17mk = Math.max(_17mk, 0), this._text.text = _17mk.toString(); }, _17mg.prototype.dispose = function() { var _17mm = null; this.removeChildren(), this._text.destroy(); }, _17mg; }(PIXI.Sprite); _17lr.CoinBox = _17md; }, 41767: function(_17mn, _17mo, _17mp) { 'use strict'; var _17mq = null; var _17mr, _17ms = this && this.__extends || (_17mr = function(_17mt, _17mu) { var _17mv = null; return _17mr = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_17mw, _17mx) { var _17my = null; _17mw.__proto__ = _17mx; } || function(_17mz, _17n0) { var _17n1 = null; for (var _17n2 in _17n0) Object.prototype.hasOwnProperty.call(_17n0, _17n2) && (_17mz[_17n2] = _17n0[_17n2]); }, _17mr(_17mt, _17mu); }, function(_17n3, _17n4) { var _17n5 = null; if ('function' != typeof _17n4 && null !== _17n4) throw new TypeError('Class extends value ' + String(_17n4) + ' is not a constructor or null'); function _17n6() { var _17n7 = null; this.constructor = _17n3; } _17mr(_17n3, _17n4), _17n3.prototype = null === _17n4 ? Object.create(_17n4) : (_17n6.prototype = _17n4.prototype, new _17n6()); }); defineModule(_17mo); Object.defineProperty(_17mo, '__esModule', { 'value': !0 }), _17mo.ExchangeBtn = void 0; var _17n8 = _17mp(57257), _17n9 = _17mp(31000), _17na = function(_17nb) { var _17nc = null; function _17nd() { var _17ne = null; return null !== _17nb && _17nb.apply(this, arguments) || this; } return _17ms(_17nd, _17nb), _17nd.prototype._update = function(_17nf) { var _17ng = null; 0 == this._enabled ? this.texture = _17n9.ITEM_FSHOP.getTexture(17) : this.texture = 0 == _17nf ? _17n9.ITEM_FSHOP.getTexture(16) : _17n9.ITEM_FSHOP.getTexture(18); }, _17nd; }(_17n8.BtnBase); _17mo.ExchangeBtn = _17na; }, 88505: function(_17nh, _17ni, _17nj) { 'use strict'; var _17nk = null; var _17nl, _17nm = this && this.__extends || (_17nl = function(_17nn, _17no) { var _17np = null; return _17nl = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_17nq, _17nr) { var _17ns = null; _17nq.__proto__ = _17nr; } || function(_17nt, _17nu) { var _17nv = null; for (var _17nw in _17nu) Object.prototype.hasOwnProperty.call(_17nu, _17nw) && (_17nt[_17nw] = _17nu[_17nw]); }, _17nl(_17nn, _17no); }, function(_17nx, _17ny) { var _17nz = null; if ('function' != typeof _17ny && null !== _17ny) throw new TypeError('Class extends value ' + String(_17ny) + ' is not a constructor or null'); function _17o0() { var _17o1 = null; this.constructor = _17nx; } _17nl(_17nx, _17ny), _17nx.prototype = null === _17ny ? Object.create(_17ny) : (_17o0.prototype = _17ny.prototype, new _17o0()); }); defineModule(_17ni); Object.defineProperty(_17ni, '__esModule', { 'value': !0 }), _17ni.FShopDetailPanel = void 0; var _17o2 = _17nj(8744), _17o3 = _17nj(79563), _17o4 = _17nj(68195), _17o5 = function(_17o6) { var _17o7 = null; function _17o8() { var _17o9 = null, _17oa = _17o6.call(this) || this; return _17oa._thumbnail = new _17o4.Thumbnail(), _17oa._thumbnail.position.set(30, 31), _17oa._name = new _17o2.TextBox(20, 16774898), _17oa._name.x = 283, _17oa._name.y = 28, _17oa.addChild(_17oa._name), _17oa._description = new _17o2.TextBox(19, 16774898), _17oa._description.x = 285, _17oa._description.y = 87, _17oa._description.style.breakWords = !0, _17oa._description.style.wordWrap = !0, _17oa._description.style.wordWrapWidth = 258, _17oa._description.style.lineHeight = 24.7, _17oa._price = new _17o2.TextBox(20, 16774898), _17oa._price.x = 292, _17oa._price.y = 255, _17oa._bgmFairy = new PIXI.Sprite(), _17oa._bgmFairy.x = 368, _17oa._bgmFairy.y = 234, _17oa._rare = new _17ob(), _17oa._rare.x = 319, _17oa._rare.y = 333, _17oa._craftman = new _17oc(), _17oa._craftman.x = 34, _17oa._craftman.y = 343, _17oa; } return _17nm(_17o8, _17o6), _17o8.prototype.initialize = function() { var _17od = null; this.texture = _17o3.ITEM_FSHOP.getTexture(56); var _17oe = _17o3.ITEM_FSHOP.getTexture(10), _17of = new PIXI.Sprite(_17oe); _17of.x = 282, _17of.y = 61, this.addChild(_17of), _17oe = _17o3.ITEM_FSHOP.getTexture(12), (_17of = new PIXI.Sprite(_17oe)).x = 282, _17of.y = 222, this.addChild(_17of), _17oe = _17o3.ITEM_FSHOP.getTexture(11), (_17of = new PIXI.Sprite(_17oe)).x = 282, _17of.y = 304, this.addChild(_17of), this._thumbnail.initialize(), this.addChild(this._thumbnail), this.addChild(this._description), this.addChild(this._price), this._bgmFairy.texture = _17o3.ITEM_FSHOP.getTexture(13), this.addChild(this._bgmFairy), this._rare.initialize(), this.addChild(this._rare), this._craftman.initialize(), this._craftman.visible = !1, this.addChild(this._craftman); }, _17o8.prototype.update = function(_17og, _17oh) { var _17oi = null; null == _17og ? (this._thumbnail.clean(), this._name.text = '', this._description.text = '', this._price.text = '', this._bgmFairy.visible = !1, this._rare.update(0), this._craftman.visible = !1) : (this._thumbnail.updateFromModel(_17og), this._name.text = _17og.name, this._description.text = _17og.description.replace(/
/g, '\x0a'), this._price.text = _17og.price.toString(), this._bgmFairy.visible = _17og.seasonID > 0, this._rare.update(_17og.rarity), 1 == _17og.isNeedCraftsman() ? (this._craftman.update(_17oh), this._craftman.visible = !0) : this._craftman.visible = !1); }, _17o8.prototype.dispose = function() { var _17oj = null; this.removeChildren(), this._name.destroy(), this._description.destroy(), this._price.destroy(), this._craftman.dispose(); }, _17o8; }(PIXI.Sprite); _17ni.FShopDetailPanel = _17o5; var _17ob = function(_17ok) { var _17ol = null; function _17om() { var _17on = null, _17oo = _17ok.call(this) || this; _17oo._stars = []; for (var _17op = 0; _17op < 7; _17op++) { var _17oq = new PIXI.Sprite(); _17oq.x = 30 * _17op, _17oq.visible = !1, _17oo.addChild(_17oq), _17oo._stars.push(_17oq); } return _17oo; } return _17nm(_17om, _17ok), _17om.prototype.initialize = function() { var _17or = null; this.texture = _17o3.ITEM_FSHOP.getTexture(53); for (var _17os = 0, _17ot = this._stars; _17os < _17ot.length; _17os++) { _17ot[_17os].texture = _17o3.ITEM_FSHOP.getTexture(15); } }, _17om.prototype.update = function(_17ou) { var _17ov = null; for (var _17ow = 0; _17ow < this._stars.length; _17ow++) { this._stars[_17ow].visible = _17ow < _17ou; } }, _17om; }(PIXI.Sprite), _17oc = function(_17ox) { var _17oy = null; function _17oz() { var _17p0 = null, _17p1 = _17ox.call(this) || this; return _17p1._icon = new PIXI.Sprite(), _17p1._icon.x = 1, _17p1.addChild(_17p1._icon), _17p1._arrow = new PIXI.Sprite(), _17p1._arrow.x = 88, _17p1._arrow.y = 7, _17p1.addChild(_17p1._arrow), _17p1._from = new _17o2.TextBox(19, 16774898), _17p1._from.anchor.x = 1, _17p1._from.x = 79, _17p1.addChild(_17p1._from), _17p1._to = new _17o2.TextBox(19, 16774898), _17p1._to.x = 120, _17p1.addChild(_17p1._to), _17p1._comment = new _17o2.TextBox(17, 16774898), _17p1._comment.y = 27, _17p1._comment.text = '特注家具職人の協力が必要となります。', _17p1.addChild(_17p1._comment), _17p1; } return _17nm(_17oz, _17ox), _17oz.prototype.initialize = function() { var _17p2 = null; this._icon.texture = _17o3.ITEM_FSHOP.getTexture(8), this._arrow.texture = _17o3.ITEM_FSHOP.getTexture(0); }, _17oz.prototype.update = function(_17p3) { var _17p4 = null; this._from.text = _17p3.toString(), _17p3 > 0 ? (this._to.style.fill = 16774898, this._to.text = (_17p3 - 1).toString()) : (this._to.style.fill = 15859712, this._to.text = '0'); }, _17oz.prototype.dispose = function() { var _17p5 = null; this.removeChildren(), this._from.destroy(), this._to.destroy(), this._comment.destroy(); }, _17oz; }(PIXI.Container); }, 18681: function(_17p6, _17p7, _17p8) { 'use strict'; var _17p9 = null; var _17pa, _17pb = this && this.__extends || (_17pa = function(_17pc, _17pd) { var _17pe = null; return _17pa = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_17pf, _17pg) { var _17ph = null; _17pf.__proto__ = _17pg; } || function(_17pi, _17pj) { var _17pk = null; for (var _17pl in _17pj) Object.prototype.hasOwnProperty.call(_17pj, _17pl) && (_17pi[_17pl] = _17pj[_17pl]); }, _17pa(_17pc, _17pd); }, function(_17pm, _17pn) { var _17po = null; if ('function' != typeof _17pn && null !== _17pn) throw new TypeError('Class extends value ' + String(_17pn) + ' is not a constructor or null'); function _17pp() { var _17pq = null; this.constructor = _17pm; } _17pa(_17pm, _17pn), _17pm.prototype = null === _17pn ? Object.create(_17pn) : (_17pp.prototype = _17pn.prototype, new _17pp()); }); defineModule(_17p7); Object.defineProperty(_17p7, '__esModule', { 'value': !0 }), _17p7.FShopListPanel = void 0; var _17pr = _17p8(35380), _17ps = _17p8(8744), _17pt = _17p8(79563), _17pu = function(_17pv) { var _17pw = null; function _17px(_17py) { var _17pz = null, _17q0 = _17pv.call(this) || this; _17q0._onMouseOverListItem = function(_17q1) { var _17q2 = null; _17q0._focusTo = _17q1, _17q0._focus.x = _17q1.x - 6, _17q0._focus.y = _17q1.y - 4, _17q0._focus.visible = !0; }, _17q0._onMouseOutListItem = function(_17q3) { var _17q4 = null; _17q0._focusTo == _17q3 && (_17q0._focusTo = null, _17q0._focus.visible = !1); }, _17q0._items = []; for (var _17q5 = 0; _17q5 < 10; _17q5++) { var _17q6 = new _17q7(_17q0._onMouseOverListItem, _17q0._onMouseOutListItem, _17py); _17q6.y = 45 * _17q5, _17q0.addChild(_17q6), _17q0._items.push(_17q6); } return _17q0._focus = new PIXI.Sprite(), _17q0.addChild(_17q0._focus), _17q0; } return _17pb(_17px, _17pv), _17px.prototype.initialize = function() { var _17q8 = null; this.texture = _17pt.ITEM_FSHOP.getTexture(22); for (var _17q9 = 0, _17qa = this._items; _17q9 < _17qa.length; _17q9++) { _17qa[_17q9].initialize(); } this._focus.texture = _17pt.ITEM_FSHOP.getTexture(23); }, _17px.prototype.update = function(_17qb) { var _17qc = null; for (var _17qd = 0; _17qd < this._items.length; _17qd++) { var _17qe = this._items[_17qd]; _17qd < _17qb.length ? (_17qe.update(_17qb[_17qd]), _17qe.visible = !0) : _17qe.visible = !1; } }, _17px.prototype.activate = function() { var _17qf = null; for (var _17qg = 0, _17qh = this._items; _17qg < _17qh.length; _17qg++) { _17qh[_17qg].activate(); } }, _17px.prototype.deactivate = function() { var _17qi = null; for (var _17qj = 0, _17qk = this._items; _17qj < _17qk.length; _17qj++) { _17qk[_17qj].deactivate(); } }, _17px.prototype.dispose = function() { var _17ql = null; for (var _17qm = 0, _17qn = this._items; _17qm < _17qn.length; _17qm++) { _17qn[_17qm].dispose(); } this._items = null; }, _17px; }(PIXI.Sprite); _17p7.FShopListPanel = _17pu; var _17q7 = function(_17qo) { var _17qp = null; function _17qq(_17qr, _17qs, _17qt) { var _17qu = null, _17qv = _17qo.call(this) || this; return _17qv._onMouseOver = function() { var _17qw = null; null != _17qv._cb_onMouseOver && _17qv._cb_onMouseOver(_17qv); }, _17qv._onMouseOut = function() { var _17qx = null; null != _17qv._cb_onMouseOut && _17qv._cb_onMouseOut(_17qv); }, _17qv._onClick = function() { var _17qy = null; null != _17qv._cb_onClick && _17qv._cb_onClick(_17qv._model); }, _17qv._cb_onMouseOver = _17qr, _17qv._cb_onMouseOut = _17qs, _17qv._cb_onClick = _17qt, _17qv._coin = new PIXI.Sprite(), _17qv._coin.position.set(316, 12), _17qv.addChild(_17qv._coin), _17qv._name = new _17ps.TextBox(20, 16774898), _17qv._name.position.set(6, 10), _17qv.addChild(_17qv._name), _17qv._price = new _17ps.TextBox(18, 16774898), _17qv._price.anchor.x = 1, _17qv._price.position.set(433, 10), _17qv.addChild(_17qv._price), _17qv._soldout = new PIXI.Sprite(), _17qv._soldout.x = 1, _17qv._soldout.alpha = 0, _17qv.addChild(_17qv._soldout), _17qv.interactive = !0, _17qv; } return _17pb(_17qq, _17qo), _17qq.prototype.initialize = function() { var _17qz = null; this._coin.texture = _17pt.ITEM_FSHOP.getTexture(14), this._soldout.texture = _17pt.ITEM_FSHOP.getTexture(24); }, _17qq.prototype.update = function(_17r0) { var _17r1 = null; this._model = _17r0, this._name.text = _17r0.name, this._price.text = _17r0.price.toString(), this._soldout.alpha = 1 == _17r0.has() ? 1 : 0; }, _17qq.prototype.activate = function() { var _17r2 = null; 1 != this.buttonMode && (this.buttonMode = !0, this.on(_17pr.EventType.MOUSEOVER, this._onMouseOver), this.on(_17pr.EventType.MOUSEOUT, this._onMouseOut), this.on(_17pr.EventType.CLICK, this._onClick)); }, _17qq.prototype.deactivate = function() { var _17r3 = null; this.buttonMode = !1, this.off(_17pr.EventType.MOUSEOVER, this._onMouseOver), this.off(_17pr.EventType.MOUSEOUT, this._onMouseOut), this.off(_17pr.EventType.CLICK, this._onClick); }, _17qq.prototype.dispose = function() { var _17r4 = null; this.deactivate(), this.removeChildren(), this._name.destroy(), this._price.destroy(), this._model = null, this._cb_onMouseOver = null, this._cb_onMouseOut = null, this._cb_onClick = null; }, _17qq; }(PIXI.Container); }, 68195: function(_17r5, _17r6, _17r7) { 'use strict'; var _17r8 = null; var _17r9, _17ra = this && this.__extends || (_17r9 = function(_17rb, _17rc) { var _17rd = null; return _17r9 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_17re, _17rf) { var _17rg = null; _17re.__proto__ = _17rf; } || function(_17rh, _17ri) { var _17rj = null; for (var _17rk in _17ri) Object.prototype.hasOwnProperty.call(_17ri, _17rk) && (_17rh[_17rk] = _17ri[_17rk]); }, _17r9(_17rb, _17rc); }, function(_17rl, _17rm) { var _17rn = null; if ('function' != typeof _17rm && null !== _17rm) throw new TypeError('Class extends value ' + String(_17rm) + ' is not a constructor or null'); function _17ro() { var _17rp = null; this.constructor = _17rl; } _17r9(_17rl, _17rm), _17rl.prototype = null === _17rm ? Object.create(_17rm) : (_17ro.prototype = _17rm.prototype, new _17ro()); }); defineModule(_17r6); Object.defineProperty(_17r6, '__esModule', { 'value': !0 }), _17r6.Thumbnail = void 0; var _17rq = _17r7(15478), _17rr = _17r7(17248), _17rs = _17r7(55853), _17rt = _17r7(31000), _17ru = function(_17rv) { var _17rw = null; function _17rx() { var _17ry = null, _17rz = _17rv.call(this) || this; return _17rz._soldout = new PIXI.Sprite(), _17rz._soldout.x = 147, _17rz._soldout.y = 207, _17rz._soldout.visible = !1, _17rz.addChild(_17rz._soldout), _17rz; } return _17ra(_17rx, _17rv), _17rx.prototype.initialize = function() { var _17s0 = null; _17rv.prototype.initialize.call(this), this._soldout.texture = _17rt.ITEM_FSHOP.getTexture(21); }, _17rx.prototype.updateFromModel = function(_17s1) { var _17s2 = null; if (this.clean(), this._soldout.visible = _17s1.has(), _17s1.isActive()) { this._img.scale.set(1), this._img.position.set(0, 0); var _17s3 = _17rq.FurnitureLoader.getPath(_17s1.mstID, 'thumbnail'), _17s4 = _17rq.FurnitureLoader.getVersionQuery(_17s1.mstID), _17s5 = _17s3 + ('' == _17s4 ? '' : '?' + _17s4), _17s6 = PIXI.Texture.fromImage(_17s5); _17rv.prototype.update.call(this, _17s6); } else { switch (_17s1.type) { case 0: this._img.scale.set(1.45), this._img.position.set(-757, -99); break; case 1: this._img.scale.set(0.64), this._img.position.set(-96, 3); break; case 2: this._img.scale.set(0.64), this._img.position.set(3, 3); break; case 3: this._img.scale.set(1), this._img.position.set(0, 0); break; case 4: this._img.scale.set(0.73), this._img.position.set(1, -90); break; case 5: this._img.scale.set(0.56), this._img.position.set(-34, 9); } var _17s7 = _17s1.mstID; _17s5 = _17rq.FurnitureLoader.getPath(_17s7, 'normal') + _17rs.VersionUtil.getResourceVersion(2, _17s7), _17s6 = PIXI.Texture.fromImage(_17s5), _17rv.prototype.update.call(this, _17s6); } }, _17rx.prototype.clean = function() { var _17s8 = null; this._soldout.visible = !1, _17rv.prototype.clean.call(this); }, _17rx; }(_17rr.FurnitureThumbnail); _17r6.Thumbnail = _17ru; }, 58651: function(_17s9, _17sa, _17sb) { 'use strict'; var _17sc = null; var _17sd, _17se = this && this.__extends || (_17sd = function(_17sf, _17sg) { var _17sh = null; return _17sd = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_17si, _17sj) { var _17sk = null; _17si.__proto__ = _17sj; } || function(_17sl, _17sm) { var _17sn = null; for (var _17so in _17sm) Object.prototype.hasOwnProperty.call(_17sm, _17so) && (_17sl[_17so] = _17sm[_17so]); }, _17sd(_17sf, _17sg); }, function(_17sp, _17sq) { var _17sr = null; if ('function' != typeof _17sq && null !== _17sq) throw new TypeError('Class extends value ' + String(_17sq) + ' is not a constructor or null'); function _17ss() { var _17st = null; this.constructor = _17sp; } _17sd(_17sp, _17sq), _17sp.prototype = null === _17sq ? Object.create(_17sq) : (_17ss.prototype = _17sq.prototype, new _17ss()); }); defineModule(_17sa); Object.defineProperty(_17sa, '__esModule', { 'value': !0 }), _17sa.ItemListMain = void 0; var _17su = _17sb(92990), _17sv = _17sb(77181), _17sw = _17sb(4638), _17sx = _17sb(64887), _17sy = _17sb(32773), _17sz = function(_17t0) { var _17t1 = null; function _17t2(_17t3) { var _17t4 = null, _17t5 = _17t0.call(this) || this; return _17t5._onChangeSceneState = function(_17t6) { var _17t7 = null; _17t5._showView(_17t6); }, _17t5._purchasedItems = _17t3, _17t5._header = new PIXI.Sprite(), _17t5._header.position.set(0, 102), _17t5.addChild(_17t5._header), _17t5._tabs = new _17sw.TabContainer(_17t5._onChangeSceneState), _17t5._tabs.position.set(181, 160), _17t5.addChild(_17t5._tabs), _17t5; } return _17se(_17t2, _17t0), _17t2.prototype.initialize = function() { var _17t8 = null; this._header.texture = _17su.ITEM_ILIST.getTexture(36), this._tabs.initialize(); }, _17t2.prototype.update = function() { var _17t9 = null; this._showView(0); }, _17t2.prototype.updateForPurchasedView = function() { var _17ta = null; this._showView(1); }, _17t2.prototype.activate = function() { var _17tb = null; this._tabs.activate(); }, _17t2.prototype.deactivate = function() { var _17tc = null; this._tabs.deactivate(); }, _17t2.prototype.dispose = function() { var _17td = null; this._tabs.dispose(), null != this._ownedView && (this._ownedView.dispose(), this._ownedView = null), null != this._purchasedView && (this._purchasedView.dispose(), this._purchasedView = null), this._purchasedItems = null; }, _17t2.prototype._removeView = function() { var _17te = null; null != this._current && (this.removeChild(this._current), this._current.deactivate(), this._current = null); }, _17t2.prototype._showView = function(_17tf) { var _17tg = null; this._removeView(), this._tabs.update(_17tf), 0 == _17tf ? (null == this._ownedView && (this._ownedView = new _17sx.OwnedItemListMain(), this._ownedView.initialize()), this._current = this._ownedView) : 1 == _17tf && (null == this._purchasedView && (this._purchasedView = new _17sy.PurchasedItemListMain(this._purchasedItems), this._purchasedView.initialize()), this._current = this._purchasedView), this._current.update(), this._current.activate(), this.addChild(this._current); }, _17t2; }(_17sv.ViewBase); _17sa.ItemListMain = _17sz; }, 62634: function(_17th, _17ti, _17tj) { 'use strict'; var _17tk = null; var _17tl, _17tm = this && this.__extends || (_17tl = function(_17tn, _17to) { var _17tp = null; return _17tl = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_17tq, _17tr) { var _17ts = null; _17tq.__proto__ = _17tr; } || function(_17tt, _17tu) { var _17tv = null; for (var _17tw in _17tu) Object.prototype.hasOwnProperty.call(_17tu, _17tw) && (_17tt[_17tw] = _17tu[_17tw]); }, _17tl(_17tn, _17to); }, function(_17tx, _17ty) { var _17tz = null; if ('function' != typeof _17ty && null !== _17ty) throw new TypeError('Class extends value ' + String(_17ty) + ' is not a constructor or null'); function _17u0() { var _17u1 = null; this.constructor = _17tx; } _17tl(_17tx, _17ty), _17tx.prototype = null === _17ty ? Object.create(_17ty) : (_17u0.prototype = _17ty.prototype, new _17u0()); }); defineModule(_17ti); Object.defineProperty(_17ti, '__esModule', { 'value': !0 }), _17ti.UseItemUseResult = _17ti.UseItemUseAPI = void 0; var _17u2 = _17tj(89939), _17u3 = _17tj(58566), _17u4 = _17tj(28847), _17u5 = _17tj(22423), _17u6 = _17tj(32992), _17u7 = _17tj(33395), _17u8 = function(_17u9) { var _17ua = null; function _17ub(_17uc, _17ud, _17ue) { var _17uf = null, _17ug = _17u9.call(this) || this; return _17ug._url = 'api_req_member/itemuse', _17ug._result = new _17uh(), _17ug._mst_id = _17uc, _17ug._force = _17ud, _17ug._exchange_type = _17ue, _17ug; } return _17tm(_17ub, _17u9), Object.defineProperty(_17ub.prototype, 'result', { 'get': function() { var _17ui = null; return this._result; }, 'enumerable': !1, 'configurable': !0 }), _17ub.prototype._connect = function() { var _17uj = null; this._post_data.api_useitem_id = this._mst_id, this._post_data.api_force_flag = this._force ? 1 : 0, this._exchange_type > 0 && (this._post_data.api_exchange_type = this._exchange_type), _17u9.prototype._connect.call(this); }, _17ub.prototype._completedEnd = function() { var _17uk = null; this._result.setData(this._raw_data), _17u9.prototype._completedEnd.call(this); }, _17ub; }(_17u3.APIBase); _17ti.UseItemUseAPI = _17u8; var _17ul = (function() { var _17um = null; function _17un() { var _17uo = null; this._has_material_reward = !1, this._has_slotitem_reward = !1, this._has_coin_reward = !1, this._has_useitem_reward = !1, this._has_furniture_reward = !1, this._rewards = null; } return Object.defineProperty(_17un.prototype, 'rewards', { 'get': function() { var _17up = null; return this._rewards; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_17un.prototype, 'cautionFlg', { 'get': function() { var _17uq = null; return _17u2.ObjUtil.getNumber(this._o, 'api_caution_flag'); }, 'enumerable': !1, 'configurable': !0 }), _17un.prototype.hasCaution = function() { var _17ur = null; return this.cautionFlg >= 1; }, _17un.prototype.hasMaterialReward = function() { var _17us = null; return this._has_material_reward; }, _17un.prototype.hasSlotitemReward = function() { var _17ut = null; return this._has_slotitem_reward; }, _17un.prototype.hasCoinReward = function() { var _17uu = null; return this._has_coin_reward; }, _17un.prototype.hasUseitemReward = function() { var _17uv = null; return this._has_useitem_reward; }, _17un.prototype.hasFurnitureReward = function() { var _17uw = null; return this._has_furniture_reward; }, _17un.prototype.getSlotitemObjects = function() { var _17ux = null, _17uy = []; if (null != this._o && this._o.hasOwnProperty('api_getitem')) { var _17uz = _17u2.ObjUtil.getObjectArray(this._o, 'api_getitem'); if (null != _17uz) for (var _17v0 = 0, _17v1 = _17uz; _17v0 < _17v1.length; _17v0++) { var _17v2 = _17v1[_17v0], _17v3 = _17u2.ObjUtil.getObject(_17v2, 'api_slotitem'); _17uy.push(_17v3); } } return _17uy; }, _17un; }()); _17ti.UseItemUseResult = _17ul; var _17uh = function(_17v4) { var _17v5 = null; function _17v6() { var _17v7 = null; return null !== _17v4 && _17v4.apply(this, arguments) || this; } return _17tm(_17v6, _17v4), _17v6.prototype.setData = function(_17v8) { var _17v9 = null; this._o = _17v8, this._rewards = [], this._initMaterialReward(), this._initRewardItem(); }, _17v6.prototype._initRewardItem = function() { var _17va = null, _17vb, _17vc = _17u2.ObjUtil.getObjectArray(this._o, 'api_getitem'); if (null != _17vc) for (var _17vd = 0, _17ve = _17vc; _17vd < _17ve.length; _17vd++) { var _17vf = _17ve[_17vd], _17vg = _17u2.ObjUtil.getNumber(_17vf, 'api_usemst'), _17vh = _17u2.ObjUtil.getNumber(_17vf, 'api_mst_id'), _17vi = _17u2.ObjUtil.getNumber(_17vf, 'api_getcount'), _17vj = _17u2.ObjUtil.getObject(_17vf, 'api_slotitem', null), _17vk = null !== (_17vb = null == _17vj ? void 0 : _17vj.api_level) && void 0 !== _17vb ? _17vb : 0; if (0 != _17vi) { if (2 == _17vg) { this._has_slotitem_reward = !0; for (var _17vl = 0; _17vl < _17vi; _17vl++) this._rewards.push(new _17u5.RewardModelSlotitem(_17vh, _17vk, 1)); } else { if (5 == _17vg) this._has_coin_reward = !0, this._rewards.push(new _17u4.RewardModelMultiUseitem().add(_17vh, _17vi)); else { if (6 == _17vg) { if (10 == _17vh || 11 == _17vh || 12 == _17vh) this._has_useitem_reward = !0, this._rewards.push(new _17u4.RewardModelMultiUseitem().add(_17vh, _17vi)); else { this._has_useitem_reward = !0; for (_17vl = 0; _17vl < _17vi; _17vl++) this._rewards.push(new _17u6.RewardModelUseitem(_17vh, 1)); } } else 1 == _17vg && (this._has_furniture_reward = !0, this._rewards.push(new _17u7.RewardModelFurniture(_17vh))); } } } } }, _17v6.prototype._initMaterialReward = function() { var _17vm = null, _17vn = _17u2.ObjUtil.getNumArray(this._o, 'api_material'); if (null != _17vn) for (var _17vo = [31, 32, 33, 34, 2, 1, 3, 4], _17vp = null, _17vq = 0; _17vq < _17vn.length; _17vq++) { var _17vr = _17vn[_17vq]; if (!(_17vr <= 0)) { null == _17vp && (this._has_material_reward = !0, _17vp = new _17u4.RewardModelMultiUseitem(), this.rewards.push(_17vp)); var _17vs = _17vo[_17vq]; _17vp.add(_17vs, _17vr); } } }, _17v6; }(_17ul); }, 45111: function(_17vt, _17vu, _17vv) { 'use strict'; var _17vw = null; var _17vx = this && this.__createBinding || (Object.create ? function(_17vy, _17vz, _17w0, _17w1) { var _17w2 = null; void 0 === _17w1 && (_17w1 = _17w0); var _17w3 = Object.getOwnPropertyDescriptor(_17vz, _17w0); _17w3 && !('get' in _17w3 ? !_17vz.__esModule : _17w3.writable || _17w3.configurable) || (_17w3 = { 'enumerable': !0, 'get': function() { return _17vz[_17w0]; } }), Object.defineProperty(_17vy, _17w1, _17w3); } : function(_17w4, _17w5, _17w6, _17w7) { void 0 === _17w7 && (_17w7 = _17w6), _17w4[_17w7] = _17w5[_17w6]; }), _17w8 = this && this.__exportStar || function(_17w9, _17wa) { var _17wb = null; for (var _17wc in _17w9) 'default' === _17wc || Object.prototype.hasOwnProperty.call(_17wa, _17wc) || _17vx(_17wa, _17w9, _17wc); }; defineModule(_17vu); Object.defineProperty(_17vu, '__esModule', { 'value': !0 }), _17w8(_17vv(62634), _17vu); }, 53126: (_17wd, _17we) => { 'use strict'; var _17wf = null; defineModule(_17we); Object.defineProperty(_17we, '__esModule', { 'value': !0 }), _17we.RELATED_USEITEM_PAYITEM = _17we.RELATED_SLOTITEM_PAYITEM = _17we.RELATED_MATERIAL_PAYITEM = _17we.RELATED_USERDATA_PAYITEM = _17we.PAYITEMLIST_ORDER = _17we.ITEMLIST_ORDER = void 0, _17we.ITEMLIST_ORDER = [55, 57, 4, 59, 60, 56, 61, 74, 10, 11, 12, 54, 58, 52, 63, 64, 1, 2, 3, 49, 50, 51, 62, 80, 70, 65, 71, 69, 66, 67, 73, 95, 96, 89, 78, 75, 77, 92, 76, 91, 94, 98, 99, 90], _17we.PAYITEMLIST_ORDER = [1, 2, 3, 4, 11, 14, 24, 5, 6, 7, 8, 9, 10, 25, 13, 15, 17, 16, 18, 19, 26, 20, 21, 23, 22, 27, 28, 29], _17we.RELATED_USERDATA_PAYITEM = [16], _17we.RELATED_MATERIAL_PAYITEM = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 13, 17, 19, 21, 22, 28], _17we.RELATED_SLOTITEM_PAYITEM = [11, 14, 24, 25], _17we.RELATED_USEITEM_PAYITEM = [10, 15, 18, 20, 21, 23, 26, 27, 28, 29]; }, 55697: function(_17wg, _17wh, _17wi) { 'use strict'; var _17wj = null; var _17wk, _17wl = this && this.__extends || (_17wk = function(_17wm, _17wn) { var _17wo = null; return _17wk = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_17wp, _17wq) { var _17wr = null; _17wp.__proto__ = _17wq; } || function(_17ws, _17wt) { var _17wu = null; for (var _17wv in _17wt) Object.prototype.hasOwnProperty.call(_17wt, _17wv) && (_17ws[_17wv] = _17wt[_17wv]); }, _17wk(_17wm, _17wn); }, function(_17ww, _17wx) { var _17wy = null; if ('function' != typeof _17wx && null !== _17wx) throw new TypeError('Class extends value ' + String(_17wx) + ' is not a constructor or null'); function _17wz() { var _17x0 = null; this.constructor = _17ww; } _17wk(_17ww, _17wx), _17ww.prototype = null === _17wx ? Object.create(_17wx) : (_17wz.prototype = _17wx.prototype, new _17wz()); }); defineModule(_17wh); Object.defineProperty(_17wh, '__esModule', { 'value': !0 }), _17wh.FBoxUseDialog = void 0; var _17x1 = _17wi(31000), _17x2 = _17wi(31000), _17x3 = _17wi(23098), _17x4 = _17wi(23098), _17x5 = function(_17x6) { var _17x7 = null; function _17x8(_17x9) { var _17xa = null, _17xb = _17x6.call(this) || this; return _17xb._bg = new PIXI.Sprite(), _17xb._bg.position.set(147, 267), _17xb.addChild(_17xb._bg), _17xb._btn_all = new _17x4.BtnBase(41, _17x9), _17xb._btn_all.position.set(332, 305), _17xb.addChild(_17xb._btn_all), _17xb._btn_half = new _17x4.BtnBase(42, _17x9), _17xb._btn_half.position.set(537, 305), _17xb.addChild(_17xb._btn_half), _17xb._btn_only10 = new _17x4.BtnBase(43, _17x9), _17xb._btn_only10.position.set(744, 305), _17xb.addChild(_17xb._btn_only10), _17xb._btn_back = new _17x4.BtnBase(-1, _17x9), _17xb._btn_back.position.set(972, 402), _17xb.addChild(_17xb._btn_back), _17xb; } return _17wl(_17x8, _17x6), _17x8.prototype.initialize = function(_17xc) { var _17xd = null, _17xe, _17xf; _17xe = _17x2.ITEM_FSHOP.getTexture(52), this._bg.texture = _17xe, _17xe = _17x1.ITEM_ILIST.getTexture(5), this._btn_all.initialize(_17xe), _17xe = _17x1.ITEM_ILIST.getTexture(6), _17xf = _17x1.ITEM_ILIST.getTexture(7), this._btn_half.initialize(_17xe, _17xf), this._btn_half.enabled = _17xc > 1, _17xe = _17x1.ITEM_ILIST.getTexture(8), _17xf = _17x1.ITEM_ILIST.getTexture(9), this._btn_only10.initialize(_17xe, _17xf), this._btn_only10.enabled = _17xc >= 10, _17xe = _17x2.ITEM_FSHOP.getTexture(1), this._btn_back.initialize(_17xe); }, _17x8.prototype.activate = function() { var _17xg = null; this._btn_all.activate(), this._btn_half.activate(), this._btn_only10.activate(), this._btn_back.activate(); }, _17x8.prototype.deactivate = function() { var _17xh = null; this._btn_all.deactivate(), this._btn_half.deactivate(), this._btn_only10.deactivate(), this._btn_back.deactivate(); }, _17x8.prototype.dispose = function() { var _17xi = null; this._btn_all.dispose(), this._btn_half.dispose(), this._btn_only10.dispose(), this._btn_back.dispose(); }, _17x8; }(_17x3.DialogBase); _17wh.FBoxUseDialog = _17x5; }, 97811: function(_17xj, _17xk, _17xl) { 'use strict'; var _17xm = null; var _17xn, _17xo = this && this.__extends || (_17xn = function(_17xp, _17xq) { var _17xr = null; return _17xn = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_17xs, _17xt) { var _17xu = null; _17xs.__proto__ = _17xt; } || function(_17xv, _17xw) { var _17xx = null; for (var _17xy in _17xw) Object.prototype.hasOwnProperty.call(_17xw, _17xy) && (_17xv[_17xy] = _17xw[_17xy]); }, _17xn(_17xp, _17xq); }, function(_17xz, _17y0) { var _17y1 = null; if ('function' != typeof _17y0 && null !== _17y0) throw new TypeError('Class extends value ' + String(_17y0) + ' is not a constructor or null'); function _17y2() { var _17y3 = null; this.constructor = _17xz; } _17xn(_17xz, _17y0), _17xz.prototype = null === _17y0 ? Object.create(_17y0) : (_17y2.prototype = _17y0.prototype, new _17y2()); }), _17y4 = this && this.__importDefault || function(_17y5) { var _17y6 = null; return _17y5 && _17y5.__esModule ? _17y5 : { 'default': _17y5 }; }; defineModule(_17xk); Object.defineProperty(_17xk, '__esModule', { 'value': !0 }), _17xk.TaskUseFurnitureBox = void 0; var _17y7 = _17y4(_17xl(18622)), _17y8 = _17xl(62634), _17y9 = _17xl(23098), _17ya = _17xl(4), _17yb = _17xl(55697), _17yc = function(_17yd) { var _17ye = null; function _17yf(_17yg, _17yh) { var _17yi = null, _17yj = _17yd.call(this) || this; return _17yj._onResult = function(_17yk) { var _17yl = null; _17yj._dialog.deactivate(), _17yj._selected_exchange_type = _17yk, -1 == _17yk ? _17yj._hideDialog(!1) : _17yj._connectAPI(_17yk); }, _17yj._layer = _17yg, _17yj._target = _17yh, _17yj; } return _17xo(_17yf, _17yd), _17yf.prototype._start = function() { var _17ym = null; this._showDialog(); }, _17yf.prototype._showDialog = function() { var _17yn = null, _17yo = this; this._dialog = new _17yb.FBoxUseDialog(this._onResult), this._dialog.initialize(this._target.count), this._dialog.alpha = 0, this._layer.addChild(this._dialog), createjs.Tween.get(this._dialog).to({ 'alpha': 1 }, 150).call(function() { var _17yp = null; _17yo._dialog.activate(); }); }, _17yf.prototype._connectAPI = function(_17yq) { var _17yr = null, _17ys = this, _17yt = this._target.mstID, _17yu = (_17y7.default.view.overLayer, new _17y8.UseItemUseAPI(_17yt, !1, _17yq)), _17yv = _17yu.result; _17yu.start(function() { var _17yw = null; 1 == _17yv.hasCaution() ? _17ys._hideDialog(!0) : (_17ys._result = _17yv, _17ys._hideDialog(!1)); }); }, _17yf.prototype._hideDialog = function(_17yx) { var _17yy = null, _17yz = this; createjs.Tween.get(this._dialog).to({ 'alpha': 0 }, 150).call(function() { var _17z0 = null; _17yz._dialog.dispose(), _17yz._layer.removeChild(_17yz._dialog), _17yz._dialog = null, 1 == _17yx ? _17yz._confirm() : _17yz._endTask(); }); }, _17yf.prototype._confirm = function() { var _17z1 = null, _17z2 = this, _17z3 = this._target.mstID, _17z4 = this._selected_exchange_type, _17z5 = this._layer, _17z6 = new _17ya.TaskItemOverflowConfirm(_17z5); _17z6.start(function() { var _17z7 = null; if (1 == _17z6.result) { var _17z8 = new _17y8.UseItemUseAPI(_17z3, !0, _17z4), _17z9 = _17z8.result; _17z8.start(function() { var _17za = null; _17z2._result = _17z9, _17z2._endTask(); }); } else _17z2._endTask(); }); }, _17yf.prototype._endTask = function() { var _17zb = null; this._layer = null, this._target = null, _17yd.prototype._endTask.call(this); }, _17yf; }(_17y9.TaskWithResult); _17xk.TaskUseFurnitureBox = _17yc; }, 183: function(_17zc, _17zd, _17ze) { 'use strict'; var _17zf = null; var _17zg, _17zh = this && this.__extends || (_17zg = function(_17zi, _17zj) { var _17zk = null; return _17zg = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_17zl, _17zm) { var _17zn = null; _17zl.__proto__ = _17zm; } || function(_17zo, _17zp) { var _17zq = null; for (var _17zr in _17zp) Object.prototype.hasOwnProperty.call(_17zp, _17zr) && (_17zo[_17zr] = _17zp[_17zr]); }, _17zg(_17zi, _17zj); }, function(_17zs, _17zt) { var _17zu = null; if ('function' != typeof _17zt && null !== _17zt) throw new TypeError('Class extends value ' + String(_17zt) + ' is not a constructor or null'); function _17zv() { var _17zw = null; this.constructor = _17zs; } _17zg(_17zs, _17zt), _17zs.prototype = null === _17zt ? Object.create(_17zt) : (_17zv.prototype = _17zt.prototype, new _17zv()); }), _17zx = this && this.__importDefault || function(_17zy) { var _17zz = null; return _17zy && _17zy.__esModule ? _17zy : { 'default': _17zy }; }; defineModule(_17zd); Object.defineProperty(_17zd, '__esModule', { 'value': !0 }), _17zd.TaskUseMedal = void 0; var _1800 = _17zx(_17ze(18622)), _1801 = _17ze(62634), _1802 = _17ze(23098), _1803 = _17ze(4), _1804 = _17ze(20765), _1805 = function(_1806) { var _1807 = null; function _1808(_1809, _180a) { var _180b = null, _180c = _1806.call(this) || this; return _180c._onResult = function(_180d) { var _180e = null; _180c._dialog.deactivate(), _180c._selected_exchange_type = _180d, -1 == _180d ? _180c._hideDialog(!1) : _180c._connectAPI(_180d); }, _180c._layer = _1809, _180c._target = _180a, _180c; } return _17zh(_1808, _1806), _1808.prototype._start = function() { var _180f = null; this._showDialog(); }, _1808.prototype._showDialog = function() { var _180g = null, _180h = this; this._dialog = new _1804.MedalUseDialog(this._onResult), this._dialog.initialize(this._target.count), this._dialog.alpha = 0, this._layer.addChild(this._dialog), createjs.Tween.get(this._dialog).to({ 'alpha': 1 }, 150).call(function() { var _180i = null; _180h._dialog.activate(); }); }, _1808.prototype._connectAPI = function(_180j) { var _180k = null, _180l = this, _180m = this._target.mstID, _180n = (_1800.default.view.overLayer, new _1801.UseItemUseAPI(_180m, !1, _180j)), _180o = _180n.result; _180n.start(function() { var _180p = null; 1 == _180o.hasCaution() ? _180l._hideDialog(!0) : (_180l._result = _180o, _180l._hideDialog(!1)); }); }, _1808.prototype._hideDialog = function(_180q) { var _180r = null, _180s = this; createjs.Tween.get(this._dialog).to({ 'alpha': 0 }, 150).call(function() { var _180t = null; _180s._dialog.dispose(), _180s._layer.removeChild(_180s._dialog), _180s._dialog = null, 1 == _180q ? _180s._confirm() : _180s._endTask(); }); }, _1808.prototype._confirm = function() { var _180u = null, _180v = this, _180w = this._target.mstID, _180x = this._selected_exchange_type, _180y = this._layer, _180z = new _1803.TaskItemOverflowConfirm(_180y); _180z.start(function() { var _1810 = null; if (1 == _180z.result) { var _1811 = new _1801.UseItemUseAPI(_180w, !0, _180x), _1812 = _1811.result; _1811.start(function() { var _1813 = null; _180v._result = _1812, _180v._endTask(); }); } else _180v._endTask(); }); }, _1808.prototype._endTask = function() { var _1814 = null; this._layer = null, this._target = null, _1806.prototype._endTask.call(this); }, _1808; }(_1802.TaskWithResult); _17zd.TaskUseMedal = _1805; }, 79384: function(_1815, _1816, _1817) { 'use strict'; var _1818 = null; var _1819, _181a = this && this.__extends || (_1819 = function(_181b, _181c) { var _181d = null; return _1819 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_181e, _181f) { var _181g = null; _181e.__proto__ = _181f; } || function(_181h, _181i) { var _181j = null; for (var _181k in _181i) Object.prototype.hasOwnProperty.call(_181i, _181k) && (_181h[_181k] = _181i[_181k]); }, _1819(_181b, _181c); }, function(_181l, _181m) { var _181n = null; if ('function' != typeof _181m && null !== _181m) throw new TypeError('Class extends value ' + String(_181m) + ' is not a constructor or null'); function _181o() { var _181p = null; this.constructor = _181l; } _1819(_181l, _181m), _181l.prototype = null === _181m ? Object.create(_181m) : (_181o.prototype = _181m.prototype, new _181o()); }); defineModule(_1816); Object.defineProperty(_1816, '__esModule', { 'value': !0 }), _1816.ConfirmRemodelPlanView = void 0; var _181q = _1817(31000), _181r = _1817(23098), _181s = _1817(44345), _181t = _1817(40068), _181u = function(_181v) { var _181w = null; function _181x(_181y, _181z) { var _1820 = null, _1821 = _181v.call(this) || this; return _1821._bg = new PIXI.Sprite(), _1821._bg.position.set(-106, 37), _1821.addChild(_1821._bg), _1821._message = new PIXI.Sprite(), _1821._message.position.set(282, 74), _1821.addChild(_1821._message), _1821._icon = new _181t.MedalIcon(), _1821._icon.position.set(358, 152), _1821.addChild(_1821._icon), _1821._btn_yes = new _181r.BtnBase(_181y, _181z), _1821._btn_yes.position.set(241, 251), _1821.addChild(_1821._btn_yes), _1821._btn_no = new _181r.BtnBase(-1, _181z), _1821._btn_no.position.set(451, 251), _1821.addChild(_1821._btn_no), _1821; } return _181a(_181x, _181v), _181x.prototype.initialize = function(_1822) { var _1823 = null; this._bg.texture = _181q.ITEM_ILIST_MEDAL.getTexture(8), this._message.texture = _181q.ITEM_ILIST_MEDAL.getTexture(9), this._initialize(_1822, 4); }, _181x; }(_181s.ConfirmViewBase); _1816.ConfirmRemodelPlanView = _181u; }, 69763: function(_1824, _1825, _1826) { 'use strict'; var _1827 = null; var _1828, _1829 = this && this.__extends || (_1828 = function(_182a, _182b) { var _182c = null; return _1828 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_182d, _182e) { var _182f = null; _182d.__proto__ = _182e; } || function(_182g, _182h) { var _182i = null; for (var _182j in _182h) Object.prototype.hasOwnProperty.call(_182h, _182j) && (_182g[_182j] = _182h[_182j]); }, _1828(_182a, _182b); }, function(_182k, _182l) { var _182m = null; if ('function' != typeof _182l && null !== _182l) throw new TypeError('Class extends value ' + String(_182l) + ' is not a constructor or null'); function _182n() { var _182o = null; this.constructor = _182k; } _1828(_182k, _182l), _182k.prototype = null === _182l ? Object.create(_182l) : (_182n.prototype = _182l.prototype, new _182n()); }); defineModule(_1825); Object.defineProperty(_1825, '__esModule', { 'value': !0 }), _1825.ConfirmView = void 0; var _182p = _1826(8744), _182q = _1826(31000), _182r = _1826(23098), _182s = _1826(44345), _182t = _1826(40068), _182u = function(_182v) { var _182w = null; function _182x(_182y, _182z) { var _1830 = null, _1831 = _182v.call(this) || this; return _1831._message = new _182p.TextBox(18, 4999235), _1831._message.position.set(230, 33), _1831.addChild(_1831._message), _1831._icon = new _182t.MedalIcon(), _1831._icon.position.set(308, 116), _1831.addChild(_1831._icon), _1831._btn_yes = new _182r.BtnBase(_182y, _182z), _1831._btn_yes.position.set(179, 215), _1831.addChild(_1831._btn_yes), _1831._btn_no = new _182r.BtnBase(-1, _182z), _1831._btn_no.position.set(389, 215), _1831.addChild(_1831._btn_no), 0 == _182y ? _1831._message.text = '勲章を「資源」に交換します。\nよろしいですか?' : 2 == _182y && (_1831._message.text = '勲章を「改修資材」に交換します。\nよろしいですか?'), _1831; } return _1829(_182x, _182v), _182x.prototype.initialize = function(_1832) { var _1833 = null; this.texture = _182q.ITEM_ILIST_MEDAL.getTexture(7), this._initialize(_1832, 1); }, _182x.prototype.dispose = function() { var _1834 = null; _182v.prototype.dispose.call(this), this._message.destroy(); }, _182x; }(_182s.ConfirmViewBase); _1825.ConfirmView = _182u; }, 44345: function(_1835, _1836, _1837) { 'use strict'; var _1838 = null; var _1839, _183a = this && this.__extends || (_1839 = function(_183b, _183c) { var _183d = null; return _1839 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_183e, _183f) { var _183g = null; _183e.__proto__ = _183f; } || function(_183h, _183i) { var _183j = null; for (var _183k in _183i) Object.prototype.hasOwnProperty.call(_183i, _183k) && (_183h[_183k] = _183i[_183k]); }, _1839(_183b, _183c); }, function(_183l, _183m) { var _183n = null; if ('function' != typeof _183m && null !== _183m) throw new TypeError('Class extends value ' + String(_183m) + ' is not a constructor or null'); function _183o() { var _183p = null; this.constructor = _183l; } _1839(_183l, _183m), _183l.prototype = null === _183m ? Object.create(_183m) : (_183o.prototype = _183m.prototype, new _183o()); }); defineModule(_1836); Object.defineProperty(_1836, '__esModule', { 'value': !0 }), _1836.ConfirmViewBase = void 0; var _183q = _1837(31000), _183r = function(_183s) { var _183t = null; function _183u() { var _183v = null; return null !== _183s && _183s.apply(this, arguments) || this; } return _183a(_183u, _183s), _183u.prototype.dispose = function() { var _183w = null; this.removeChildren(), this._icon && this._icon.dispose(), this._btn_yes.dispose(), this._btn_no.dispose(); }, _183u.prototype._initialize = function(_183x, _183y) { var _183z = null; this._icon.initialize(_183x, _183y), this._btn_yes.initialize(_183q.ITEM_ILIST_MEDAL.getTexture(6)), this._btn_no.initialize(_183q.ITEM_ILIST_MEDAL.getTexture(0)), this._btn_yes.activate(), this._btn_no.activate(); }, _183u; }(PIXI.Sprite); _1836.ConfirmViewBase = _183r; }, 20765: function(_1840, _1841, _1842) { 'use strict'; var _1843 = null; var _1844, _1845 = this && this.__extends || (_1844 = function(_1846, _1847) { var _1848 = null; return _1844 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1849, _184a) { var _184b = null; _1849.__proto__ = _184a; } || function(_184c, _184d) { var _184e = null; for (var _184f in _184d) Object.prototype.hasOwnProperty.call(_184d, _184f) && (_184c[_184f] = _184d[_184f]); }, _1844(_1846, _1847); }, function(_184g, _184h) { var _184i = null; if ('function' != typeof _184h && null !== _184h) throw new TypeError('Class extends value ' + String(_184h) + ' is not a constructor or null'); function _184j() { var _184k = null; this.constructor = _184g; } _1844(_184g, _184h), _184g.prototype = null === _184h ? Object.create(_184h) : (_184j.prototype = _184h.prototype, new _184j()); }); defineModule(_1841); Object.defineProperty(_1841, '__esModule', { 'value': !0 }), _1841.MedalUseDialog = void 0; var _184l = _1842(23098), _184m = _1842(5630), _184n = _1842(69763), _184o = _1842(79384), _184p = function(_184q) { var _184r = null; function _184s(_184t) { var _184u = null, _184v = _184q.call(this) || this; return _184v._count = 0, _184v._onSelectFromTop = function(_184w) { var _184x = null; if (-1 == _184w) { if (null == _184v._cb_onResult) return; _184v._cb_onResult(_184w); } else null != _184v._confirm_view && (null != _184v._confirm_view.parent && _184v._confirm_view.parent.removeChild(_184v._confirm_view), _184v._confirm_view.dispose(), _184v._confirm_view = null), 1 == _184w ? (_184v._confirm_view = new _184o.ConfirmRemodelPlanView(1, _184v._onSelectFromConfirm), _184v._confirm_view.position.set(220, 171)) : 0 == _184w ? (_184v._confirm_view = new _184n.ConfirmView(0, _184v._onSelectFromConfirm), _184v._confirm_view.position.set(225, 208)) : 2 == _184w && (_184v._confirm_view = new _184n.ConfirmView(2, _184v._onSelectFromConfirm), _184v._confirm_view.position.set(225, 208)), _184v._confirm_view.initialize(_184v._count), _184v.addChild(_184v._confirm_view), _184v._top_view.visible = !1; }, _184v._onSelectFromConfirm = function(_184y) { var _184z = null; null != _184v._confirm_view && _184v._confirm_view.dispose(), null != _184v._cb_onResult && _184v._cb_onResult(_184y); }, _184v._cb_onResult = _184t, _184v._top_view = new _184m.TopView(_184v._onSelectFromTop), _184v._top_view.position.set(225, 208), _184v.addChild(_184v._top_view), _184v; } return _1845(_184s, _184q), _184s.prototype.initialize = function(_1850) { var _1851 = null; this._count = _1850, this._top_view.initialize(_1850); }, _184s.prototype.activate = function() { var _1852 = null; this._top_view.activate(); }, _184s.prototype.deactivate = function() { var _1853 = null; this._top_view.deactivate(); }, _184s.prototype.dispose = function() { var _1854 = null; this._top_view.dispose(); }, _184s; }(_184l.DialogBase); _1841.MedalUseDialog = _184p; }, 5630: function(_1855, _1856, _1857) { 'use strict'; var _1858 = null; var _1859, _185a = this && this.__extends || (_1859 = function(_185b, _185c) { var _185d = null; return _1859 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_185e, _185f) { var _185g = null; _185e.__proto__ = _185f; } || function(_185h, _185i) { var _185j = null; for (var _185k in _185i) Object.prototype.hasOwnProperty.call(_185i, _185k) && (_185h[_185k] = _185i[_185k]); }, _1859(_185b, _185c); }, function(_185l, _185m) { var _185n = null; if ('function' != typeof _185m && null !== _185m) throw new TypeError('Class extends value ' + String(_185m) + ' is not a constructor or null'); function _185o() { var _185p = null; this.constructor = _185l; } _1859(_185l, _185m), _185l.prototype = null === _185m ? Object.create(_185m) : (_185o.prototype = _185m.prototype, new _185o()); }), _185q = this && this.__importDefault || function(_185r) { var _185s = null; return _185r && _185r.__esModule ? _185r : { 'default': _185r }; }; defineModule(_1856); Object.defineProperty(_1856, '__esModule', { 'value': !0 }), _1856.TopView = void 0; var _185t = _185q(_1857(18622)), _185u = _1857(8744), _185v = _1857(31000), _185w = _1857(23098), _185x = function(_185y) { var _185z = null; function _1860(_1861) { var _1862 = null, _1863 = _185y.call(this) || this; return _1863._message = new _185u.TextBox(18, 4999235), _1863._message.position.set(272, 74), _1863.addChild(_1863._message), _1863._icon = new PIXI.Sprite(), _1863._icon.position.set(149, 74), _1863.addChild(_1863._icon), _1863._btn_plan = new _185w.BtnBase(1, _1861), _1863._btn_plan.position.set(21, 207), _1863.addChild(_1863._btn_plan), _1863._btn_mat = new _185w.BtnBase(0, _1861), _1863._btn_mat.position.set(332, 188), _1863.addChild(_1863._btn_mat), _1863._btn_rev = new _185w.BtnBase(2, _1861), _1863._btn_rev.position.set(332, 237), _1863.addChild(_1863._btn_rev), _1863._btn_back = new _185w.BtnBase(-1, _1861), _1863._btn_back.position.set(585, 213), _1863.addChild(_1863._btn_back), _1863; } return _185a(_1860, _185y), _1860.prototype.initialize = function(_1864) { var _1865 = null; this.texture = _185v.ITEM_ILIST_MEDAL.getTexture(7), this._message.text = '「資源」や「改修資材」に交換できます。\nまた、勲章4個を「改装設計図」1枚に\n交換可能です。', this._icon.texture = _185t.default.resources.getUseitem(57, 0); var _1866 = _185v.ITEM_ILIST_MEDAL.getTexture(2), _1867 = _185v.ITEM_ILIST_MEDAL.getTexture(3); this._btn_plan.initialize(_1866, _1867), this._btn_plan.enabled = _1864 >= 4, _1866 = _185v.ITEM_ILIST_MEDAL.getTexture(4), this._btn_mat.initialize(_1866), _1866 = _185v.ITEM_ILIST_MEDAL.getTexture(5), this._btn_rev.initialize(_1866), _1866 = _185v.ITEM_ILIST_MEDAL.getTexture(1), this._btn_back.initialize(_1866); }, _1860.prototype.activate = function() { var _1868 = null; this._btn_plan.activate(), this._btn_mat.activate(), this._btn_rev.activate(), this._btn_back.activate(); }, _1860.prototype.deactivate = function() { var _1869 = null; this._btn_plan.deactivate(), this._btn_mat.deactivate(), this._btn_rev.deactivate(), this._btn_back.deactivate(); }, _1860.prototype.dispose = function() { var _186a = null; this.removeChildren(), this._message.destroy(), this._btn_plan.dispose(), this._btn_mat.dispose(), this._btn_rev.dispose(), this._btn_back.dispose(); }, _1860; }(PIXI.Sprite); _1856.TopView = _185x; }, 40068: function(_186b, _186c, _186d) { 'use strict'; var _186e = null; var _186f, _186g = this && this.__extends || (_186f = function(_186h, _186i) { var _186j = null; return _186f = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_186k, _186l) { var _186m = null; _186k.__proto__ = _186l; } || function(_186n, _186o) { var _186p = null; for (var _186q in _186o) Object.prototype.hasOwnProperty.call(_186o, _186q) && (_186n[_186q] = _186o[_186q]); }, _186f(_186h, _186i); }, function(_186r, _186s) { var _186t = null; if ('function' != typeof _186s && null !== _186s) throw new TypeError('Class extends value ' + String(_186s) + ' is not a constructor or null'); function _186u() { var _186v = null; this.constructor = _186r; } _186f(_186r, _186s), _186r.prototype = null === _186s ? Object.create(_186s) : (_186u.prototype = _186s.prototype, new _186u()); }), _186w = this && this.__importDefault || function(_186x) { var _186y = null; return _186x && _186x.__esModule ? _186x : { 'default': _186x }; }; defineModule(_186c); Object.defineProperty(_186c, '__esModule', { 'value': !0 }), _186c.MedalIcon = void 0; var _186z = _186w(_186d(18622)), _1870 = _186d(8744), _1871 = function(_1872) { var _1873 = null; function _1874() { var _1875 = null, _1876 = _1872.call(this) || this; return _1876._arrow = new _1870.TextBox(22, 4999235), _1876._arrow.position.set(152, 20), _1876.addChild(_1876._arrow), _1876._from = new _1870.TextBox(24, 4999235), _1876._from.y = 20, _1876.addChild(_1876._from), _1876._tobe = new _1870.TextBox(24, 4999235), _1876._tobe.position.set(188, 20), _1876.addChild(_1876._tobe), _1876; } return _186g(_1874, _1872), _1874.prototype.initialize = function(_1877, _1878) { var _1879 = null; void 0 === _1878 && (_1878 = 1), this.texture = _186z.default.resources.getUseitem(57, 0), this._arrow.text = '→', this._from.text = _1877.toString(), this._from.x = 147 - this._from.width, this._tobe.text = (_1877 - _1878).toString(); }, _1874.prototype.dispose = function() { var _187a = null; this.removeChildren(), this._arrow.destroy(), this._from.destroy(), this._tobe.destroy(); }, _1874; }(PIXI.Sprite); _186c.MedalIcon = _1871; }, 76444: function(_187b, _187c, _187d) { 'use strict'; var _187e = null; var _187f, _187g = this && this.__extends || (_187f = function(_187h, _187i) { var _187j = null; return _187f = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_187k, _187l) { var _187m = null; _187k.__proto__ = _187l; } || function(_187n, _187o) { var _187p = null; for (var _187q in _187o) Object.prototype.hasOwnProperty.call(_187o, _187q) && (_187n[_187q] = _187o[_187q]); }, _187f(_187h, _187i); }, function(_187r, _187s) { var _187t = null; if ('function' != typeof _187s && null !== _187s) throw new TypeError('Class extends value ' + String(_187s) + ' is not a constructor or null'); function _187u() { var _187v = null; this.constructor = _187r; } _187f(_187r, _187s), _187r.prototype = null === _187s ? Object.create(_187s) : (_187u.prototype = _187s.prototype, new _187u()); }), _187w = this && this.__importDefault || function(_187x) { var _187y = null; return _187x && _187x.__esModule ? _187x : { 'default': _187x }; }; defineModule(_187c); Object.defineProperty(_187c, '__esModule', { 'value': !0 }), _187c.TaskUsePresentBox = void 0; var _187z = _187w(_187d(18622)), _1880 = _187d(62634), _1881 = _187d(23098), _1882 = _187d(4), _1883 = _187d(64675), _1884 = function(_1885) { var _1886 = null; function _1887(_1888, _1889) { var _188a = null, _188b = _1885.call(this) || this; return _188b._onResult = function(_188c) { var _188d = null; _188b._dialog.deactivate(), _188b._seleced_use_type = _188c, -1 == _188c ? _188b._hideDialog(!1) : _188b._connectAPI(); }, _188b._layer = _1888, _188b._target = _1889, _188b; } return _187g(_1887, _1885), _1887.prototype._start = function() { var _188e = null; this._showDialog(); }, _1887.prototype._showDialog = function() { var _188f = null, _188g = this; this._dialog = new _1883.PresentBoxUseDialog(this._onResult), this._dialog.initialize(), this._dialog.alpha = 0, this._layer.addChild(this._dialog), createjs.Tween.get(this._dialog).to({ 'alpha': 1 }, 150).call(function() { var _188h = null; _188g._dialog.activate(); }); }, _1887.prototype._connectAPI = function() { var _188i = null, _188j = this, _188k = this._target.mstID, _188l = this._seleced_use_type, _188m = (_187z.default.view.overLayer, new _1880.UseItemUseAPI(_188k, !1, _188l)), _188n = _188m.result; _188m.start(function() { var _188o = null; 1 == _188n.hasCaution() ? _188j._hideDialog(!0) : (_188j._result = _188n, _188j._hideDialog(!1)); }); }, _1887.prototype._hideDialog = function(_188p) { var _188q = null, _188r = this; createjs.Tween.get(this._dialog).to({ 'alpha': 0 }, 150).call(function() { var _188s = null; _188r._dialog.dispose(), _188r._layer.removeChild(_188r._dialog), _188r._dialog = null, 1 == _188p ? _188r._confirm() : _188r._endTask(); }); }, _1887.prototype._confirm = function() { var _188t = null, _188u = this, _188v = this._target.mstID, _188w = this._seleced_use_type, _188x = this._layer, _188y = new _1882.TaskItemOverflowConfirm(_188x); _188y.start(function() { var _188z = null; if (1 == _188y.result) { var _1890 = new _1880.UseItemUseAPI(_188v, !0, _188w), _1891 = _1890.result; _1890.start(function() { var _1892 = null; _188u._result = _1891, _188u._endTask(); }); } else _188u._endTask(); }); }, _1887.prototype._endTask = function() { var _1893 = null; this._layer = null, this._target = null, _1885.prototype._endTask.call(this); }, _1887; }(_1881.TaskWithResult); _187c.TaskUsePresentBox = _1884; }, 42937: function(_1894, _1895, _1896) { 'use strict'; var _1897 = null; var _1898, _1899 = this && this.__extends || (_1898 = function(_189a, _189b) { var _189c = null; return _1898 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_189d, _189e) { var _189f = null; _189d.__proto__ = _189e; } || function(_189g, _189h) { var _189i = null; for (var _189j in _189h) Object.prototype.hasOwnProperty.call(_189h, _189j) && (_189g[_189j] = _189h[_189j]); }, _1898(_189a, _189b); }, function(_189k, _189l) { var _189m = null; if ('function' != typeof _189l && null !== _189l) throw new TypeError('Class extends value ' + String(_189l) + ' is not a constructor or null'); function _189n() { var _189o = null; this.constructor = _189k; } _1898(_189k, _189l), _189k.prototype = null === _189l ? Object.create(_189l) : (_189n.prototype = _189l.prototype, new _189n()); }); defineModule(_1895); Object.defineProperty(_1895, '__esModule', { 'value': !0 }), _1895.ConfirmView = void 0; var _189p = _1896(8744), _189q = _1896(31000), _189r = _1896(23098), _189s = function(_189t) { var _189u = null; function _189v(_189w, _189x) { var _189y = null, _189z = _189t.call(this) || this; return _189z._message1 = new _189p.TextBox(22, 1381651), _189z._message1.position.set(92, 81), _189z.addChild(_189z._message1), _189z._message2 = new _189p.TextBox(22, 1381651), _189z._message2.position.set(92, 111), _189z.addChild(_189z._message2), _189z._icon = new PIXI.Sprite(), _189z._icon.position.set(152, 165), _189z.addChild(_189z._icon), _189z._btn_yes = new _189r.BtnBase(_189w, _189x), _189z._btn_yes.position.set(129, 267), _189z.addChild(_189z._btn_yes), _189z._btn_back = new _189r.BtnBase(-1, _189x), _189z._btn_back.position.set(279, 267), _189z.addChild(_189z._btn_back), _189z; } return _1899(_189v, _189t), _189v.prototype.initialize = function(_18a0) { var _18a1 = null; this.texture = _189q.ITEM_ILIST_PRESENTBOX.getTexture(10), this._message1.text = '「プレゼント箱」を開封します。', this._message1.x = 264 - this._message1.width / 2, this._message2.text = 'よろしいですか?', this._message2.x = 264 - this._message2.width / 2, 11 == _18a0 ? this._icon.texture = _189q.ITEM_ILIST_PRESENTBOX.getTexture(7) : 13 == _18a0 ? this._icon.texture = _189q.ITEM_ILIST_PRESENTBOX.getTexture(6) : 12 == _18a0 && (this._icon.texture = _189q.ITEM_ILIST_PRESENTBOX.getTexture(8)); var _18a2 = _189q.ITEM_ILIST_PRESENTBOX.getTexture(2); this._btn_yes.initialize(_18a2), _18a2 = _189q.ITEM_ILIST_PRESENTBOX.getTexture(1), this._btn_back.initialize(_18a2); }, _189v.prototype.activate = function() { var _18a3 = null; this._btn_yes.activate(), this._btn_back.activate(); }, _189v.prototype.deactivate = function() { var _18a4 = null; this._btn_yes.deactivate(), this._btn_back.deactivate(); }, _189v.prototype.dispose = function() { var _18a5 = null; this.removeChildren(), this._message1.destroy(), this._message2.destroy(), this._btn_yes.dispose(), this._btn_back.dispose(); }, _189v; }(PIXI.Sprite); _1895.ConfirmView = _189s; }, 64675: function(_18a6, _18a7, _18a8) { 'use strict'; var _18a9 = null; var _18aa, _18ab = this && this.__extends || (_18aa = function(_18ac, _18ad) { var _18ae = null; return _18aa = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_18af, _18ag) { var _18ah = null; _18af.__proto__ = _18ag; } || function(_18ai, _18aj) { var _18ak = null; for (var _18al in _18aj) Object.prototype.hasOwnProperty.call(_18aj, _18al) && (_18ai[_18al] = _18aj[_18al]); }, _18aa(_18ac, _18ad); }, function(_18am, _18an) { var _18ao = null; if ('function' != typeof _18an && null !== _18an) throw new TypeError('Class extends value ' + String(_18an) + ' is not a constructor or null'); function _18ap() { var _18aq = null; this.constructor = _18am; } _18aa(_18am, _18an), _18am.prototype = null === _18an ? Object.create(_18an) : (_18ap.prototype = _18an.prototype, new _18ap()); }); defineModule(_18a7); Object.defineProperty(_18a7, '__esModule', { 'value': !0 }), _18a7.PresentBoxUseDialog = void 0; var _18ar = _18a8(23098), _18as = _18a8(61060), _18at = _18a8(42937), _18au = function(_18av) { var _18aw = null; function _18ax(_18ay) { var _18az = null, _18b0 = _18av.call(this) || this; return _18b0._onSelectFromTop = function(_18b1) { var _18b2 = null; if (_18b0._top_view.deactivate(), -1 == _18b1) { if (null == _18b0._cb_onResult) return; _18b0._cb_onResult(_18b1); } else _18b0._confirm_view = new _18at.ConfirmView(_18b1, _18b0._onSelectFromConfirm), _18b0._confirm_view.position.set(387, 171), _18b0.addChild(_18b0._confirm_view), _18b0._confirm_view.initialize(_18b1), _18b0._confirm_view.activate(), _18b0._top_view.dispose(), _18b0.removeChild(_18b0._top_view), _18b0._top_view = null; }, _18b0._onSelectFromConfirm = function(_18b3) { var _18b4 = null; null != _18b0._cb_onResult && _18b0._cb_onResult(_18b3); }, _18b0._cb_onResult = _18ay, _18b0._top_view = new _18as.TopView(_18b0._onSelectFromTop), _18b0._top_view.position.set(312, 171), _18b0.addChild(_18b0._top_view), _18b0; } return _18ab(_18ax, _18av), _18ax.prototype.initialize = function() { var _18b5 = null; this._top_view.initialize(); }, _18ax.prototype.activate = function() { var _18b6 = null; null != this._top_view && this._top_view.activate(), null != this._confirm_view && this._confirm_view.activate(); }, _18ax.prototype.deactivate = function() { var _18b7 = null; null != this._top_view && this._top_view.deactivate(), null != this._confirm_view && this._confirm_view.deactivate(); }, _18ax.prototype.dispose = function() { var _18b8 = null; null != this._top_view && this._top_view.dispose(), null != this._confirm_view && this._confirm_view.dispose(); }, _18ax; }(_18ar.DialogBase); _18a7.PresentBoxUseDialog = _18au; }, 61060: function(_18b9, _18ba, _18bb) { 'use strict'; var _18bc = null; var _18bd, _18be = this && this.__extends || (_18bd = function(_18bf, _18bg) { var _18bh = null; return _18bd = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_18bi, _18bj) { var _18bk = null; _18bi.__proto__ = _18bj; } || function(_18bl, _18bm) { var _18bn = null; for (var _18bo in _18bm) Object.prototype.hasOwnProperty.call(_18bm, _18bo) && (_18bl[_18bo] = _18bm[_18bo]); }, _18bd(_18bf, _18bg); }, function(_18bp, _18bq) { var _18br = null; if ('function' != typeof _18bq && null !== _18bq) throw new TypeError('Class extends value ' + String(_18bq) + ' is not a constructor or null'); function _18bs() { var _18bt = null; this.constructor = _18bp; } _18bd(_18bp, _18bq), _18bp.prototype = null === _18bq ? Object.create(_18bq) : (_18bs.prototype = _18bq.prototype, new _18bs()); }); defineModule(_18ba); Object.defineProperty(_18ba, '__esModule', { 'value': !0 }), _18ba.TopView = void 0; var _18bu = _18bb(8744), _18bv = _18bb(31000), _18bw = _18bb(23098), _18bx = function(_18by) { var _18bz = null; function _18c0(_18c1) { var _18c2 = null, _18c3 = _18by.call(this) || this; return _18c3._message1 = new _18bu.TextBox(22, 1381651), _18c3._message1.position.set(167, 96), _18c3.addChild(_18c3._message1), _18c3._message2 = new _18bu.TextBox(22, 1381651), _18c3._message2.position.set(167, 126), _18c3.addChild(_18c3._message2), _18c3._btn_shigen = new _18bw.BtnBase(11, _18c1), _18c3._btn_shigen.position.set(146, 180), _18c3.addChild(_18c3._btn_shigen), _18c3._btn_kanmi = new _18bw.BtnBase(13, _18c1), _18c3._btn_kanmi.position.set(284, 180), _18c3.addChild(_18c3._btn_kanmi), _18c3._btn_shizai = new _18bw.BtnBase(12, _18c1), _18c3._btn_shizai.position.set(422, 180), _18c3.addChild(_18c3._btn_shizai), _18c3._btn_back = new _18bw.BtnBase(-1, _18c1), _18c3._btn_back.position.set(585, 278), _18c3.addChild(_18c3._btn_back), _18c3; } return _18be(_18c0, _18by), _18c0.prototype.initialize = function() { var _18c4 = null; this.texture = _18bv.ITEM_ILIST_PRESENTBOX.getTexture(9), this._message1.text = '「プレゼント箱」を開封します。', this._message1.x = 339 - this._message1.width / 2, this._message2.text = '下記のチョイスが可能です。', this._message2.x = 339 - this._message2.width / 2; var _18c5 = _18bv.ITEM_ILIST_PRESENTBOX.getTexture(3); this._btn_shigen.initialize(_18c5), _18c5 = _18bv.ITEM_ILIST_PRESENTBOX.getTexture(4), this._btn_kanmi.initialize(_18c5), _18c5 = _18bv.ITEM_ILIST_PRESENTBOX.getTexture(5), this._btn_shizai.initialize(_18c5), _18c5 = _18bv.ITEM_ILIST_PRESENTBOX.getTexture(0), this._btn_back.initialize(_18c5); }, _18c0.prototype.activate = function() { var _18c6 = null; this._btn_shigen.activate(), this._btn_kanmi.activate(), this._btn_shizai.activate(), this._btn_back.activate(); }, _18c0.prototype.deactivate = function() { var _18c7 = null; this._btn_shigen.deactivate(), this._btn_kanmi.deactivate(), this._btn_shizai.deactivate(), this._btn_back.deactivate(); }, _18c0.prototype.dispose = function() { var _18c8 = null; this.removeChildren(), this._message1.destroy(), this._message2.destroy(), this._btn_shigen.dispose(), this._btn_kanmi.dispose(), this._btn_shizai.dispose(), this._btn_back.dispose(); }, _18c0; }(PIXI.Sprite); _18ba.TopView = _18bx; }, 18852: function(_18c9, _18ca, _18cb) { 'use strict'; var _18cc = null; var _18cd, _18ce = this && this.__extends || (_18cd = function(_18cf, _18cg) { var _18ch = null; return _18cd = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_18ci, _18cj) { var _18ck = null; _18ci.__proto__ = _18cj; } || function(_18cl, _18cm) { var _18cn = null; for (var _18co in _18cm) Object.prototype.hasOwnProperty.call(_18cm, _18co) && (_18cl[_18co] = _18cm[_18co]); }, _18cd(_18cf, _18cg); }, function(_18cp, _18cq) { var _18cr = null; if ('function' != typeof _18cq && null !== _18cq) throw new TypeError('Class extends value ' + String(_18cq) + ' is not a constructor or null'); function _18cs() { var _18ct = null; this.constructor = _18cp; } _18cd(_18cp, _18cq), _18cp.prototype = null === _18cq ? Object.create(_18cq) : (_18cs.prototype = _18cq.prototype, new _18cs()); }), _18cu = this && this.__importDefault || function(_18cv) { var _18cw = null; return _18cv && _18cv.__esModule ? _18cv : { 'default': _18cv }; }; defineModule(_18ca); Object.defineProperty(_18ca, '__esModule', { 'value': !0 }), _18ca.TaskUseKouMedal = void 0; var _18cx = _18cu(_18cb(18622)), _18cy = _18cb(62634), _18cz = _18cb(23098), _18d0 = _18cb(4), _18d1 = _18cb(81917), _18d2 = function(_18d3) { var _18d4 = null; function _18d5(_18d6, _18d7) { var _18d8 = null, _18d9 = _18d3.call(this) || this; return _18d9._onResult = function(_18da) { var _18db = null; _18d9._dialog.deactivate(), -1 == _18da ? _18d9._hideDialog(!1) : _18d9._connectAPI(); }, _18d9._layer = _18d6, _18d9._target = _18d7, _18d9; } return _18ce(_18d5, _18d3), _18d5.prototype._start = function() { var _18dc = null; this._showDialog(); }, _18d5.prototype._showDialog = function() { var _18dd = null, _18de = this; this._dialog = new _18d1.KouMedalUseDialog(this._onResult), this._dialog.initialize(this._target.count), this._dialog.alpha = 0, this._layer.addChild(this._dialog), createjs.Tween.get(this._dialog).to({ 'alpha': 1 }, 150).call(function() { var _18df = null; _18de._dialog.activate(); }); }, _18d5.prototype._connectAPI = function() { var _18dg = null, _18dh = this, _18di = this._target.mstID, _18dj = (_18cx.default.view.overLayer, new _18cy.UseItemUseAPI(_18di, !1, 0)), _18dk = _18dj.result; _18dj.start(function() { var _18dl = null; 1 == _18dk.hasCaution() ? _18dh._hideDialog(!0) : (_18dh._result = _18dk, _18dh._hideDialog(!1)); }); }, _18d5.prototype._hideDialog = function(_18dm) { var _18dn = null, _18do = this; createjs.Tween.get(this._dialog).to({ 'alpha': 0 }, 150).call(function() { var _18dp = null; _18do._dialog.dispose(), _18do._layer.removeChild(_18do._dialog), _18do._dialog = null, 1 == _18dm ? _18do._confirm() : _18do._endTask(); }); }, _18d5.prototype._confirm = function() { var _18dq = null, _18dr = this, _18ds = this._target.mstID, _18dt = this._layer, _18du = new _18d0.TaskItemOverflowConfirm(_18dt); _18du.start(function() { var _18dv = null; if (1 == _18du.result) { var _18dw = new _18cy.UseItemUseAPI(_18ds, !0, 0), _18dx = _18dw.result; _18dw.start(function() { var _18dy = null; _18dr._result = _18dx, _18dr._endTask(); }); } else _18dr._endTask(); }); }, _18d5.prototype._endTask = function() { var _18dz = null; this._layer = null, this._target = null, _18d3.prototype._endTask.call(this); }, _18d5; }(_18cz.TaskWithResult); _18ca.TaskUseKouMedal = _18d2; }, 84327: function(_18e0, _18e1, _18e2) { 'use strict'; var _18e3 = null; var _18e4, _18e5 = this && this.__extends || (_18e4 = function(_18e6, _18e7) { var _18e8 = null; return _18e4 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_18e9, _18ea) { var _18eb = null; _18e9.__proto__ = _18ea; } || function(_18ec, _18ed) { var _18ee = null; for (var _18ef in _18ed) Object.prototype.hasOwnProperty.call(_18ed, _18ef) && (_18ec[_18ef] = _18ed[_18ef]); }, _18e4(_18e6, _18e7); }, function(_18eg, _18eh) { var _18ei = null; if ('function' != typeof _18eh && null !== _18eh) throw new TypeError('Class extends value ' + String(_18eh) + ' is not a constructor or null'); function _18ej() { var _18ek = null; this.constructor = _18eg; } _18e4(_18eg, _18eh), _18eg.prototype = null === _18eh ? Object.create(_18eh) : (_18ej.prototype = _18eh.prototype, new _18ej()); }), _18el = this && this.__importDefault || function(_18em) { var _18en = null; return _18em && _18em.__esModule ? _18em : { 'default': _18em }; }; defineModule(_18e1); Object.defineProperty(_18e1, '__esModule', { 'value': !0 }), _18e1.ConfirmView = void 0; var _18eo = _18el(_18e2(18622)), _18ep = _18e2(8744), _18eq = _18e2(31000), _18er = _18e2(23098), _18es = function(_18et) { var _18eu = null; function _18ev(_18ew) { var _18ex = null, _18ey = _18et.call(this) || this; return _18ey._message = new _18ep.TextBox(18, 4999235), _18ey._message.position.set(174, 47), _18ey.addChild(_18ey._message), _18ey._icon = new PIXI.Sprite(), _18ey._icon.position.set(303, 122), _18ey.addChild(_18ey._icon), _18ey._arrow = new _18ep.TextBox(18, 4999235), _18ey._arrow.text = '→', _18ey._arrow.position.set(425, 150), _18ey.addChild(_18ey._arrow), _18ey._from = new _18ep.TextBox(18, 4999235), _18ey._from.position.set(380, 152), _18ey.addChild(_18ey._from), _18ey._tobe = new _18ep.TextBox(18, 4999235), _18ey._tobe.position.set(455, 152), _18ey.addChild(_18ey._tobe), _18ey._btn_yes = new _18er.BtnBase(0, _18ew), _18ey._btn_yes.position.set(191, 219), _18ey.addChild(_18ey._btn_yes), _18ey._btn_back = new _18er.BtnBase(-1, _18ew), _18ey._btn_back.position.set(399, 219), _18ey.addChild(_18ey._btn_back), _18ey; } return _18e5(_18ev, _18et), _18ev.prototype.initialize = function(_18ez) { var _18f0 = null; this.texture = _18eq.ITEM_ILIST_MEDAL_KOU.getTexture(2), this._message.text = '物資と交換すると、甲種勲章×1が消えてしまいます。\nそれでも交換しますか?', this._icon.texture = _18eo.default.resources.getUseitem(61, 0), this._from.text = _18ez.toString(), this._from.x = 420 - this._from.width, this._tobe.text = (_18ez - 1).toString(); var _18f1 = _18eq.ITEM_ILIST_MEDAL_KOU.getTexture(1); this._btn_yes.initialize(_18f1), _18f1 = _18eq.ITEM_ILIST_MEDAL_KOU.getTexture(0), this._btn_back.initialize(_18f1); }, _18ev.prototype.activate = function() { var _18f2 = null; this._btn_yes.activate(), this._btn_back.activate(); }, _18ev.prototype.deactivate = function() { var _18f3 = null; this._btn_yes.deactivate(), this._btn_back.deactivate(); }, _18ev.prototype.dispose = function() { var _18f4 = null; this.removeChildren(), this._message.destroy(), this._arrow.destroy(), this._from.destroy(), this._tobe.destroy(), this._btn_yes.dispose(), this._btn_back.dispose(); }, _18ev; }(PIXI.Sprite); _18e1.ConfirmView = _18es; }, 81917: function(_18f5, _18f6, _18f7) { 'use strict'; var _18f8 = null; var _18f9, _18fa = this && this.__extends || (_18f9 = function(_18fb, _18fc) { var _18fd = null; return _18f9 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_18fe, _18ff) { var _18fg = null; _18fe.__proto__ = _18ff; } || function(_18fh, _18fi) { var _18fj = null; for (var _18fk in _18fi) Object.prototype.hasOwnProperty.call(_18fi, _18fk) && (_18fh[_18fk] = _18fi[_18fk]); }, _18f9(_18fb, _18fc); }, function(_18fl, _18fm) { var _18fn = null; if ('function' != typeof _18fm && null !== _18fm) throw new TypeError('Class extends value ' + String(_18fm) + ' is not a constructor or null'); function _18fo() { var _18fp = null; this.constructor = _18fl; } _18f9(_18fl, _18fm), _18fl.prototype = null === _18fm ? Object.create(_18fm) : (_18fo.prototype = _18fm.prototype, new _18fo()); }); defineModule(_18f6); Object.defineProperty(_18f6, '__esModule', { 'value': !0 }), _18f6.KouMedalUseDialog = void 0; var _18fq = _18f7(23098), _18fr = _18f7(17456), _18fs = _18f7(84327), _18ft = function(_18fu) { var _18fv = null; function _18fw(_18fx) { var _18fy = null, _18fz = _18fu.call(this) || this; return _18fz._count = 0, _18fz._onSelectFromTop = function(_18g0) { var _18g1 = null; if (_18fz._top_view.deactivate(), -1 == _18g0) { if (null == _18fz._cb_onResult) return; _18fz._cb_onResult(_18g0); } else _18fz._confirm_view = new _18fs.ConfirmView(_18fz._onSelectFromConfirm), _18fz._confirm_view.position.set(215, 206), _18fz.addChild(_18fz._confirm_view), _18fz._confirm_view.initialize(_18fz._count), _18fz._confirm_view.activate(), _18fz._top_view.dispose(), _18fz.removeChild(_18fz._top_view), _18fz._top_view = null; }, _18fz._onSelectFromConfirm = function(_18g2) { var _18g3 = null; null != _18fz._cb_onResult && _18fz._cb_onResult(_18g2); }, _18fz._cb_onResult = _18fx, _18fz._top_view = new _18fr.TopView(_18fz._onSelectFromTop), _18fz._top_view.position.set(215, 206), _18fz.addChild(_18fz._top_view), _18fz; } return _18fa(_18fw, _18fu), _18fw.prototype.initialize = function(_18g4) { var _18g5 = null; this._count = _18g4, this._top_view.initialize(_18g4); }, _18fw.prototype.activate = function() { var _18g6 = null; null != this._top_view && this._top_view.activate(), null != this._confirm_view && this._confirm_view.activate(); }, _18fw.prototype.deactivate = function() { var _18g7 = null; null != this._top_view && this._top_view.deactivate(), null != this._confirm_view && this._confirm_view.deactivate(); }, _18fw.prototype.dispose = function() { var _18g8 = null; null != this._top_view && this._top_view.dispose(), null != this._confirm_view && this._confirm_view.dispose(); }, _18fw; }(_18fq.DialogBase); _18f6.KouMedalUseDialog = _18ft; }, 17456: function(_18g9, _18ga, _18gb) { 'use strict'; var _18gc = null; var _18gd, _18ge = this && this.__extends || (_18gd = function(_18gf, _18gg) { var _18gh = null; return _18gd = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_18gi, _18gj) { var _18gk = null; _18gi.__proto__ = _18gj; } || function(_18gl, _18gm) { var _18gn = null; for (var _18go in _18gm) Object.prototype.hasOwnProperty.call(_18gm, _18go) && (_18gl[_18go] = _18gm[_18go]); }, _18gd(_18gf, _18gg); }, function(_18gp, _18gq) { var _18gr = null; if ('function' != typeof _18gq && null !== _18gq) throw new TypeError('Class extends value ' + String(_18gq) + ' is not a constructor or null'); function _18gs() { var _18gt = null; this.constructor = _18gp; } _18gd(_18gp, _18gq), _18gp.prototype = null === _18gq ? Object.create(_18gq) : (_18gs.prototype = _18gq.prototype, new _18gs()); }); defineModule(_18ga); Object.defineProperty(_18ga, '__esModule', { 'value': !0 }), _18ga.TopView = void 0; var _18gu = _18gb(8744), _18gv = _18gb(31000), _18gw = _18gb(23098), _18gx = function(_18gy) { var _18gz = null; function _18h0(_18h1) { var _18h2 = null, _18h3 = _18gy.call(this) || this; return _18h3._message = new _18gu.TextBox(18, 4999235), _18h3._message.position.set(176, 47), _18h3.addChild(_18h3._message), _18h3._message1 = new _18gu.TextBox(18, 4999235), _18h3._message1.position.set(237, 92), _18h3.addChild(_18h3._message1), _18h3._message2 = new _18gu.TextBox(18, 4999235), _18h3._message2.position.set(399, 92), _18h3.addChild(_18h3._message2), _18h3._message3 = new _18gu.TextBox(18, 4999235), _18h3._message3.position.set(237, 122), _18h3.addChild(_18h3._message3), _18h3._message4 = new _18gu.TextBox(18, 4999235), _18h3._message4.position.set(399, 122), _18h3.addChild(_18h3._message4), _18h3._message5 = new _18gu.TextBox(18, 4999235), _18h3._message5.position.set(323, 161), _18h3.addChild(_18h3._message5), _18h3._btn_yes = new _18gw.BtnBase(0, _18h1), _18h3._btn_yes.position.set(191, 219), _18h3.addChild(_18h3._btn_yes), _18h3._btn_back = new _18gw.BtnBase(-1, _18h1), _18h3._btn_back.position.set(399, 219), _18h3.addChild(_18h3._btn_back), _18h3; } return _18ge(_18h0, _18gy), _18h0.prototype.initialize = function(_18h4) { var _18h5 = null; this.texture = _18gv.ITEM_ILIST_MEDAL_KOU.getTexture(2), this._message.text = '甲種勲章は、下記の物資と交換することも可能です。', this._message1.text = '燃料×10,000', this._message2.text = '改修資材×10', this._message3.text = '開発資源×10', this._message4.text = '家具箱(大)×10', this._message5.text = '交換しますか?'; var _18h6 = _18gv.ITEM_ILIST_MEDAL_KOU.getTexture(1); this._btn_yes.initialize(_18h6), _18h6 = _18gv.ITEM_ILIST_MEDAL_KOU.getTexture(0), this._btn_back.initialize(_18h6); }, _18h0.prototype.activate = function() { var _18h7 = null; this._btn_yes.activate(), this._btn_back.activate(); }, _18h0.prototype.deactivate = function() { var _18h8 = null; this._btn_yes.deactivate(), this._btn_back.deactivate(); }, _18h0.prototype.dispose = function() { var _18h9 = null; this.removeChildren(), this._message.destroy(), this._message1.destroy(), this._message2.destroy(), this._message3.destroy(), this._message4.destroy(), this._message5.destroy(), this._btn_yes.dispose(), this._btn_back.dispose(); }, _18h0; }(PIXI.Sprite); _18ga.TopView = _18gx; }, 81642: function(_18ha, _18hb, _18hc) { 'use strict'; var _18hd = null; var _18he, _18hf = this && this.__extends || (_18he = function(_18hg, _18hh) { var _18hi = null; return _18he = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_18hj, _18hk) { var _18hl = null; _18hj.__proto__ = _18hk; } || function(_18hm, _18hn) { var _18ho = null; for (var _18hp in _18hn) Object.prototype.hasOwnProperty.call(_18hn, _18hp) && (_18hm[_18hp] = _18hn[_18hp]); }, _18he(_18hg, _18hh); }, function(_18hq, _18hr) { var _18hs = null; if ('function' != typeof _18hr && null !== _18hr) throw new TypeError('Class extends value ' + String(_18hr) + ' is not a constructor or null'); function _18ht() { var _18hu = null; this.constructor = _18hq; } _18he(_18hq, _18hr), _18hq.prototype = null === _18hr ? Object.create(_18hr) : (_18ht.prototype = _18hr.prototype, new _18ht()); }), _18hv = this && this.__importDefault || function(_18hw) { var _18hx = null; return _18hw && _18hw.__esModule ? _18hw : { 'default': _18hw }; }; defineModule(_18hb); Object.defineProperty(_18hb, '__esModule', { 'value': !0 }), _18hb.TaskUseHishimochi = void 0; var _18hy = _18hv(_18hc(18622)), _18hz = _18hc(62634), _18i0 = _18hc(23098), _18i1 = _18hc(4), _18i2 = _18hc(26356), _18i3 = function(_18i4) { var _18i5 = null; function _18i6(_18i7, _18i8) { var _18i9 = null, _18ia = _18i4.call(this) || this; return _18ia._onResult = function(_18ib) { var _18ic = null; _18ia._dialog.deactivate(), _18ia._seleced_use_type = _18ib, -1 == _18ib ? _18ia._hideDialog(!1) : _18ia._connectAPI(); }, _18ia._layer = _18i7, _18ia._target = _18i8, _18ia; } return _18hf(_18i6, _18i4), _18i6.prototype._start = function() { var _18id = null; this._showDialog(); }, _18i6.prototype._showDialog = function() { var _18ie = null, _18if = this; this._dialog = new _18i2.HishimochiUseDialog(this._onResult), this._dialog.initialize(), this._dialog.alpha = 0, this._layer.addChild(this._dialog), createjs.Tween.get(this._dialog).to({ 'alpha': 1 }, 150).call(function() { var _18ig = null; _18if._dialog.activate(); }); }, _18i6.prototype._connectAPI = function() { var _18ih = null, _18ii = this, _18ij = this._target.mstID, _18ik = this._seleced_use_type, _18il = (_18hy.default.view.overLayer, new _18hz.UseItemUseAPI(_18ij, !1, _18ik)), _18im = _18il.result; _18il.start(function() { var _18in = null; 1 == _18im.hasCaution() ? _18ii._hideDialog(!0) : (_18ii._result = _18im, _18ii._hideDialog(!1)); }); }, _18i6.prototype._hideDialog = function(_18io) { var _18ip = null, _18iq = this; createjs.Tween.get(this._dialog).to({ 'alpha': 0 }, 150).call(function() { var _18ir = null; _18iq._dialog.dispose(), _18iq._layer.removeChild(_18iq._dialog), _18iq._dialog = null, 1 == _18io ? _18iq._confirm() : _18iq._endTask(); }); }, _18i6.prototype._confirm = function() { var _18is = null, _18it = this, _18iu = this._target.mstID, _18iv = this._seleced_use_type, _18iw = this._layer, _18ix = new _18i1.TaskItemOverflowConfirm(_18iw); _18ix.start(function() { var _18iy = null; if (1 == _18ix.result) { var _18iz = new _18hz.UseItemUseAPI(_18iu, !0, _18iv), _18j0 = _18iz.result; _18iz.start(function() { var _18j1 = null; _18it._result = _18j0, _18it._endTask(); }); } else _18it._endTask(); }); }, _18i6.prototype._endTask = function() { var _18j2 = null; this._layer = null, this._target = null, _18i4.prototype._endTask.call(this); }, _18i6; }(_18i0.TaskWithResult); _18hb.TaskUseHishimochi = _18i3; }, 27420: function(_18j3, _18j4, _18j5) { 'use strict'; var _18j6 = null; var _18j7, _18j8 = this && this.__extends || (_18j7 = function(_18j9, _18ja) { var _18jb = null; return _18j7 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_18jc, _18jd) { var _18je = null; _18jc.__proto__ = _18jd; } || function(_18jf, _18jg) { var _18jh = null; for (var _18ji in _18jg) Object.prototype.hasOwnProperty.call(_18jg, _18ji) && (_18jf[_18ji] = _18jg[_18ji]); }, _18j7(_18j9, _18ja); }, function(_18jj, _18jk) { var _18jl = null; if ('function' != typeof _18jk && null !== _18jk) throw new TypeError('Class extends value ' + String(_18jk) + ' is not a constructor or null'); function _18jm() { var _18jn = null; this.constructor = _18jj; } _18j7(_18jj, _18jk), _18jj.prototype = null === _18jk ? Object.create(_18jk) : (_18jm.prototype = _18jk.prototype, new _18jm()); }); defineModule(_18j4); Object.defineProperty(_18j4, '__esModule', { 'value': !0 }), _18j4.ConfirmView = void 0; var _18jo = _18j5(8744), _18jp = _18j5(31000), _18jq = _18j5(23098), _18jr = function(_18js) { var _18jt = null; function _18ju(_18jv, _18jw) { var _18jx = null, _18jy = _18js.call(this) || this; return _18jy._message = new _18jo.TextBox(22, 1381651), _18jy._message.position.set(123, 77), _18jy.addChild(_18jy._message), _18jy._icon = new PIXI.Sprite(), _18jy._icon.position.set(152, 144), _18jy.addChild(_18jy._icon), _18jy._btn_yes = new _18jq.BtnBase(_18jv, _18jw), _18jy._btn_yes.position.set(129, 260), _18jy.addChild(_18jy._btn_yes), _18jy._btn_back = new _18jq.BtnBase(-1, _18jw), _18jy._btn_back.position.set(279, 260), _18jy.addChild(_18jy._btn_back), _18jy; } return _18j8(_18ju, _18js), _18ju.prototype.initialize = function(_18jz) { var _18k0 = null; this.texture = _18jp.ITEM_ILIST_HISHIMOCHI.getTexture(10), this._message.text = '「菱餅」を交換しますか?', 21 == _18jz ? this._icon.texture = _18jp.ITEM_ILIST_HISHIMOCHI.getTexture(7) : 23 == _18jz ? this._icon.texture = _18jp.ITEM_ILIST_HISHIMOCHI.getTexture(6) : 22 == _18jz && (this._icon.texture = _18jp.ITEM_ILIST_HISHIMOCHI.getTexture(8)); var _18k1 = _18jp.ITEM_ILIST_HISHIMOCHI.getTexture(2); this._btn_yes.initialize(_18k1), _18k1 = _18jp.ITEM_ILIST_HISHIMOCHI.getTexture(1), this._btn_back.initialize(_18k1); }, _18ju.prototype.activate = function() { var _18k2 = null; this._btn_yes.activate(), this._btn_back.activate(); }, _18ju.prototype.deactivate = function() { var _18k3 = null; this._btn_yes.deactivate(), this._btn_back.deactivate(); }, _18ju.prototype.dispose = function() { var _18k4 = null; this.removeChildren(), this._message.destroy(), this._btn_yes.dispose(), this._btn_back.dispose(); }, _18ju; }(PIXI.Sprite); _18j4.ConfirmView = _18jr; }, 26356: function(_18k5, _18k6, _18k7) { 'use strict'; var _18k8 = null; var _18k9, _18ka = this && this.__extends || (_18k9 = function(_18kb, _18kc) { var _18kd = null; return _18k9 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_18ke, _18kf) { var _18kg = null; _18ke.__proto__ = _18kf; } || function(_18kh, _18ki) { var _18kj = null; for (var _18kk in _18ki) Object.prototype.hasOwnProperty.call(_18ki, _18kk) && (_18kh[_18kk] = _18ki[_18kk]); }, _18k9(_18kb, _18kc); }, function(_18kl, _18km) { var _18kn = null; if ('function' != typeof _18km && null !== _18km) throw new TypeError('Class extends value ' + String(_18km) + ' is not a constructor or null'); function _18ko() { var _18kp = null; this.constructor = _18kl; } _18k9(_18kl, _18km), _18kl.prototype = null === _18km ? Object.create(_18km) : (_18ko.prototype = _18km.prototype, new _18ko()); }); defineModule(_18k6); Object.defineProperty(_18k6, '__esModule', { 'value': !0 }), _18k6.HishimochiUseDialog = void 0; var _18kq = _18k7(23098), _18kr = _18k7(70662), _18ks = _18k7(27420), _18kt = function(_18ku) { var _18kv = null; function _18kw(_18kx) { var _18ky = null, _18kz = _18ku.call(this) || this; return _18kz._onSelectFromTop = function(_18l0) { var _18l1 = null; if (_18kz._top_view.deactivate(), -1 == _18l0) { if (null == _18kz._cb_onResult) return; _18kz._cb_onResult(_18l0); } else _18kz._confirm_view = new _18ks.ConfirmView(_18l0, _18kz._onSelectFromConfirm), _18kz._confirm_view.position.set(387, 171), _18kz.addChild(_18kz._confirm_view), _18kz._confirm_view.initialize(_18l0), _18kz._confirm_view.activate(), _18kz._top_view.dispose(), _18kz.removeChild(_18kz._top_view), _18kz._top_view = null; }, _18kz._onSelectFromConfirm = function(_18l2) { var _18l3 = null; null != _18kz._cb_onResult && _18kz._cb_onResult(_18l2); }, _18kz._cb_onResult = _18kx, _18kz._top_view = new _18kr.TopView(_18kz._onSelectFromTop), _18kz._top_view.position.set(312, 171), _18kz.addChild(_18kz._top_view), _18kz; } return _18ka(_18kw, _18ku), _18kw.prototype.initialize = function() { var _18l4 = null; this._top_view.initialize(); }, _18kw.prototype.activate = function() { var _18l5 = null; null != this._top_view && this._top_view.activate(), null != this._confirm_view && this._confirm_view.activate(); }, _18kw.prototype.deactivate = function() { var _18l6 = null; null != this._top_view && this._top_view.deactivate(), null != this._confirm_view && this._confirm_view.deactivate(); }, _18kw.prototype.dispose = function() { var _18l7 = null; null != this._top_view && this._top_view.dispose(), null != this._confirm_view && this._confirm_view.dispose(); }, _18kw; }(_18kq.DialogBase); _18k6.HishimochiUseDialog = _18kt; }, 70662: function(_18l8, _18l9, _18la) { 'use strict'; var _18lb = null; var _18lc, _18ld = this && this.__extends || (_18lc = function(_18le, _18lf) { var _18lg = null; return _18lc = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_18lh, _18li) { var _18lj = null; _18lh.__proto__ = _18li; } || function(_18lk, _18ll) { var _18lm = null; for (var _18ln in _18ll) Object.prototype.hasOwnProperty.call(_18ll, _18ln) && (_18lk[_18ln] = _18ll[_18ln]); }, _18lc(_18le, _18lf); }, function(_18lo, _18lp) { var _18lq = null; if ('function' != typeof _18lp && null !== _18lp) throw new TypeError('Class extends value ' + String(_18lp) + ' is not a constructor or null'); function _18lr() { var _18ls = null; this.constructor = _18lo; } _18lc(_18lo, _18lp), _18lo.prototype = null === _18lp ? Object.create(_18lp) : (_18lr.prototype = _18lp.prototype, new _18lr()); }); defineModule(_18l9); Object.defineProperty(_18l9, '__esModule', { 'value': !0 }), _18l9.TopView = void 0; var _18lt = _18la(8744), _18lu = _18la(31000), _18lv = _18la(23098), _18lw = function(_18lx) { var _18ly = null; function _18lz(_18m0) { var _18m1 = null, _18m2 = _18lx.call(this) || this; return _18m2._message1 = new _18lt.TextBox(22, 1381651), _18m2._message1.position.set(189, 89), _18m2.addChild(_18m2._message1), _18m2._message2 = new _18lt.TextBox(22, 1381651), _18m2._message2.position.set(189, 119), _18m2.addChild(_18m2._message2), _18m2._btn_shigen = new _18lv.BtnBase(21, _18m0), _18m2._btn_shigen.position.set(143, 168), _18m2.addChild(_18m2._btn_shigen), _18m2._btn_kanmi = new _18lv.BtnBase(23, _18m0), _18m2._btn_kanmi.position.set(281, 168), _18m2.addChild(_18m2._btn_kanmi), _18m2._btn_shizai = new _18lv.BtnBase(22, _18m0), _18m2._btn_shizai.position.set(419, 168), _18m2.addChild(_18m2._btn_shizai), _18m2._btn_back = new _18lv.BtnBase(-1, _18m0), _18m2._btn_back.position.set(585, 270), _18m2.addChild(_18m2._btn_back), _18m2; } return _18ld(_18lz, _18lx), _18lz.prototype.initialize = function() { var _18m3 = null; this.texture = _18lu.ITEM_ILIST_HISHIMOCHI.getTexture(9), this._message1.text = '「菱餅」を交換します。', this._message1.x = 226 - this._message1.width / 2, this._message2.text = '下記のチョイスが可能です。', this._message2.x = 226 - this._message2.width / 2; var _18m4 = _18lu.ITEM_ILIST_HISHIMOCHI.getTexture(3); this._btn_shigen.initialize(_18m4), _18m4 = _18lu.ITEM_ILIST_HISHIMOCHI.getTexture(4), this._btn_kanmi.initialize(_18m4), _18m4 = _18lu.ITEM_ILIST_HISHIMOCHI.getTexture(5), this._btn_shizai.initialize(_18m4), _18m4 = _18lu.ITEM_ILIST_HISHIMOCHI.getTexture(0), this._btn_back.initialize(_18m4); }, _18lz.prototype.activate = function() { var _18m5 = null; this._btn_shigen.activate(), this._btn_kanmi.activate(), this._btn_shizai.activate(), this._btn_back.activate(); }, _18lz.prototype.deactivate = function() { var _18m6 = null; this._btn_shigen.deactivate(), this._btn_kanmi.deactivate(), this._btn_shizai.deactivate(), this._btn_back.deactivate(); }, _18lz.prototype.dispose = function() { var _18m7 = null; this.removeChildren(), this._message1.destroy(), this._message2.destroy(), this._btn_shigen.dispose(), this._btn_kanmi.dispose(), this._btn_shizai.dispose(), this._btn_back.dispose(); }, _18lz; }(PIXI.Sprite); _18l9.TopView = _18lw; }, 60867: function(_18m8, _18m9, _18ma) { 'use strict'; var _18mb = null; var _18mc, _18md = this && this.__extends || (_18mc = function(_18me, _18mf) { var _18mg = null; return _18mc = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_18mh, _18mi) { var _18mj = null; _18mh.__proto__ = _18mi; } || function(_18mk, _18ml) { var _18mm = null; for (var _18mn in _18ml) Object.prototype.hasOwnProperty.call(_18ml, _18mn) && (_18mk[_18mn] = _18ml[_18mn]); }, _18mc(_18me, _18mf); }, function(_18mo, _18mp) { var _18mq = null; if ('function' != typeof _18mp && null !== _18mp) throw new TypeError('Class extends value ' + String(_18mp) + ' is not a constructor or null'); function _18mr() { var _18ms = null; this.constructor = _18mo; } _18mc(_18mo, _18mp), _18mo.prototype = null === _18mp ? Object.create(_18mp) : (_18mr.prototype = _18mp.prototype, new _18mr()); }), _18mt = this && this.__importDefault || function(_18mu) { var _18mv = null; return _18mu && _18mu.__esModule ? _18mu : { 'default': _18mu }; }; defineModule(_18m9); Object.defineProperty(_18m9, '__esModule', { 'value': !0 }), _18m9.TaskUseSanma = void 0; var _18mw = _18mt(_18ma(18622)), _18mx = _18ma(45111), _18my = _18ma(23098), _18mz = _18ma(44083), _18n0 = _18ma(59379), _18n1 = function(_18n2) { var _18n3 = null; function _18n4(_18n5, _18n6) { var _18n7 = null, _18n8 = _18n2.call(this) || this; return _18n8._onResult = function(_18n9) { var _18na = null; _18n8._dialog.deactivate(), _18n8._seleced_use_type = _18n9, -1 == _18n9 ? _18n8._hideDialog(!1) : _18n8._connectAPI(); }, _18n8._layer = _18n5, _18n8._target = _18n6, _18n8; } return _18md(_18n4, _18n2), _18n4.prototype._start = function() { var _18nb = null; this._showDialog(); }, _18n4.prototype._showDialog = function() { var _18nc = null, _18nd = this; this._dialog = new _18n0.SanmaUseDialog(this._onResult), this._dialog.initialize(this._target.count), this._dialog.alpha = 0, this._layer.addChild(this._dialog), createjs.Tween.get(this._dialog).to({ 'alpha': 1 }, 150).call(function() { var _18ne = null; _18nd._dialog.activate(); }); }, _18n4.prototype._connectAPI = function() { var _18nf = null, _18ng = this, _18nh = this._target.mstID, _18ni = this._seleced_use_type, _18nj = (_18mw.default.view.overLayer, new _18mx.UseItemUseAPI(_18nh, !1, _18ni)), _18nk = _18nj.result; _18nj.start(function() { var _18nl = null; if (1 == _18nk.hasCaution()) _18ng._hideDialog(!0); else { if (_18ng._result = _18nk, 34 == _18ng._seleced_use_type) { var _18nm = _18mw.default.model.basic.getCFlag(0) + 1; _18mw.default.model.basic.setCFlag(0, _18nm); } _18ng._hideDialog(!1); } }); }, _18n4.prototype._hideDialog = function(_18nn) { var _18no = null, _18np = this; createjs.Tween.get(this._dialog).to({ 'alpha': 0 }, 150).call(function() { var _18nq = null; _18np._dialog.dispose(), _18np._layer.removeChild(_18np._dialog), _18np._dialog = null, 1 == _18nn ? _18np._confirm() : _18np._endTask(); }); }, _18n4.prototype._confirm = function() { var _18nr = null, _18ns = this, _18nt = this._target.mstID, _18nu = this._seleced_use_type, _18nv = this._layer, _18nw = new _18mz.TaskItemOverflowConfirm(_18nv); _18nw.start(function() { var _18nx = null; if (1 == _18nw.result) { var _18ny = new _18mx.UseItemUseAPI(_18nt, !0, _18nu), _18nz = _18ny.result; _18ny.start(function() { var _18o0 = null; if (_18ns._result = _18nz, 34 == _18ns._seleced_use_type) { var _18o1 = _18mw.default.model.basic.getCFlag(0) + 1; _18mw.default.model.basic.setCFlag(0, _18o1); } _18ns._endTask(); }); } else _18ns._endTask(); }); }, _18n4.prototype._endTask = function() { var _18o2 = null; this._layer = null, this._target = null, _18n2.prototype._endTask.call(this); }, _18n4; }(_18my.TaskWithResult); _18m9.TaskUseSanma = _18n1; }, 93414: function(_18o3, _18o4, _18o5) { 'use strict'; var _18o6 = null; var _18o7, _18o8 = this && this.__extends || (_18o7 = function(_18o9, _18oa) { var _18ob = null; return _18o7 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_18oc, _18od) { var _18oe = null; _18oc.__proto__ = _18od; } || function(_18of, _18og) { var _18oh = null; for (var _18oi in _18og) Object.prototype.hasOwnProperty.call(_18og, _18oi) && (_18of[_18oi] = _18og[_18oi]); }, _18o7(_18o9, _18oa); }, function(_18oj, _18ok) { var _18ol = null; if ('function' != typeof _18ok && null !== _18ok) throw new TypeError('Class extends value ' + String(_18ok) + ' is not a constructor or null'); function _18om() { var _18on = null; this.constructor = _18oj; } _18o7(_18oj, _18ok), _18oj.prototype = null === _18ok ? Object.create(_18ok) : (_18om.prototype = _18ok.prototype, new _18om()); }); defineModule(_18o4); Object.defineProperty(_18o4, '__esModule', { 'value': !0 }), _18o4.ConfirmView = void 0; var _18oo = _18o5(56714), _18op = _18o5(23098), _18oq = function(_18or) { var _18os = null; function _18ot(_18ou, _18ov) { var _18ow = null, _18ox = _18or.call(this) || this; return _18ox._icon = new PIXI.Sprite(), _18ox.addChild(_18ox._icon), _18ox._err_message = new PIXI.Sprite(), _18ox.addChild(_18ox._err_message), _18ox._btn_yes = new _18op.BtnBase(_18ou, _18ov), _18ox.addChild(_18ox._btn_yes), _18ox._btn_back = new _18op.BtnBase(-1, _18ov), _18ox.addChild(_18ox._btn_back), _18ox; } return _18o8(_18ot, _18or), _18ot.prototype.initialize = function(_18oy, _18oz) { var _18p0 = null, _18p1 = 0; 31 == _18oy ? (this.texture = _18oo.ITEM_ILIST_SANMA.getTexture(13), this._icon.texture = _18oo.ITEM_ILIST_SANMA.getTexture(9), this._icon.position.set(211, 135), this._err_message.texture = _18oo.ITEM_ILIST_SANMA.getTexture(18), this._err_message.position.set(205, 224), this._btn_yes.position.set(198, 250), this._btn_back.position.set(389, 250), _18p1 = 3) : 32 == _18oy ? (this.texture = _18oo.ITEM_ILIST_SANMA.getTexture(14), this._icon.texture = _18oo.ITEM_ILIST_SANMA.getTexture(10), this._icon.position.set(187, 197), this._err_message.texture = _18oo.ITEM_ILIST_SANMA.getTexture(19), this._err_message.position.set(182, 286), this._btn_yes.position.set(173, 312), this._btn_back.position.set(363, 312), _18p1 = 5) : 33 == _18oy ? (this.texture = _18oo.ITEM_ILIST_SANMA.getTexture(15), this._icon.texture = _18oo.ITEM_ILIST_SANMA.getTexture(11), this._icon.position.set(164, 188), this._err_message.texture = _18oo.ITEM_ILIST_SANMA.getTexture(20), this._err_message.position.set(158, 277), this._btn_yes.position.set(151, 303), this._btn_back.position.set(342, 303), _18p1 = 7) : 34 == _18oy && (this.texture = _18oo.ITEM_ILIST_SANMA.getTexture(16), this._icon.texture = _18oo.ITEM_ILIST_SANMA.getTexture(12), this._icon.position.set(164, 128), this._err_message.texture = _18oo.ITEM_ILIST_SANMA.getTexture(21), this._err_message.position.set(128, 234), this._btn_yes.position.set(151, 270), this._btn_back.position.set(342, 270), _18p1 = 46); var _18p2 = _18oo.ITEM_ILIST_SANMA.getTexture(2), _18p3 = _18oo.ITEM_ILIST_SANMA.getTexture(3); this._btn_yes.initialize(_18p2, _18p3), _18oz < _18p1 ? (this._btn_yes.enabled = !1, this._err_message.visible = !0) : (this._btn_yes.enabled = !0, this._err_message.visible = !1), _18p2 = _18oo.ITEM_ILIST_SANMA.getTexture(1), this._btn_back.initialize(_18p2); }, _18ot.prototype.activate = function() { var _18p4 = null; this._btn_yes.activate(), this._btn_back.activate(); }, _18ot.prototype.deactivate = function() { var _18p5 = null; this._btn_yes.deactivate(), this._btn_back.deactivate(); }, _18ot.prototype.dispose = function() { var _18p6 = null; this.removeChildren(), this._btn_yes.dispose(), this._btn_back.dispose(); }, _18ot; }(PIXI.Sprite); _18o4.ConfirmView = _18oq; }, 59379: function(_18p7, _18p8, _18p9) { 'use strict'; var _18pa = null; var _18pb, _18pc = this && this.__extends || (_18pb = function(_18pd, _18pe) { var _18pf = null; return _18pb = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_18pg, _18ph) { var _18pi = null; _18pg.__proto__ = _18ph; } || function(_18pj, _18pk) { var _18pl = null; for (var _18pm in _18pk) Object.prototype.hasOwnProperty.call(_18pk, _18pm) && (_18pj[_18pm] = _18pk[_18pm]); }, _18pb(_18pd, _18pe); }, function(_18pn, _18po) { var _18pp = null; if ('function' != typeof _18po && null !== _18po) throw new TypeError('Class extends value ' + String(_18po) + ' is not a constructor or null'); function _18pq() { var _18pr = null; this.constructor = _18pn; } _18pb(_18pn, _18po), _18pn.prototype = null === _18po ? Object.create(_18po) : (_18pq.prototype = _18po.prototype, new _18pq()); }); defineModule(_18p8); Object.defineProperty(_18p8, '__esModule', { 'value': !0 }), _18p8.SanmaUseDialog = void 0; var _18ps = _18p9(23098), _18pt = _18p9(63980), _18pu = _18p9(93414), _18pv = function(_18pw) { var _18px = null; function _18py(_18pz) { var _18q0 = null, _18q1 = _18pw.call(this) || this; return _18q1._onSelectFromTop = function(_18q2) { var _18q3 = null; if (_18q1._top_view.deactivate(), -1 == _18q2) { if (null == _18q1._cb_onResult) return; _18q1._cb_onResult(_18q2); } else _18q1._confirm_view = new _18pu.ConfirmView(_18q2, _18q1._onSelectFromConfirm), 31 == _18q2 ? _18q1._confirm_view.position.set(319, 190) : 32 == _18q2 ? _18q1._confirm_view.position.set(343, 127) : 33 == _18q2 ? _18q1._confirm_view.position.set(365, 138) : 34 == _18q2 && _18q1._confirm_view.position.set(365, 171), _18q1.addChild(_18q1._confirm_view), _18q1._confirm_view.initialize(_18q2, _18q1._count), _18q1._confirm_view.activate(), _18q1._top_view.dispose(), _18q1.removeChild(_18q1._top_view), _18q1._top_view = null; }, _18q1._onSelectFromConfirm = function(_18q4) { var _18q5 = null; null != _18q1._cb_onResult && _18q1._cb_onResult(_18q4); }, _18q1._cb_onResult = _18pz, _18q1._top_view = new _18pt.TopView(_18q1._onSelectFromTop), _18q1._top_view.position.set(257, 168), _18q1.addChild(_18q1._top_view), _18q1; } return _18pc(_18py, _18pw), _18py.prototype.initialize = function(_18q6) { var _18q7 = null; this._count = _18q6, this._top_view.initialize(); }, _18py.prototype.activate = function() { var _18q8 = null; null != this._top_view && this._top_view.activate(), null != this._confirm_view && this._confirm_view.activate(); }, _18py.prototype.deactivate = function() { var _18q9 = null; null != this._top_view && this._top_view.deactivate(), null != this._confirm_view && this._confirm_view.deactivate(); }, _18py.prototype.dispose = function() { var _18qa = null; null != this._top_view && this._top_view.dispose(), null != this._confirm_view && this._confirm_view.dispose(); }, _18py; }(_18ps.DialogBase); _18p8.SanmaUseDialog = _18pv; }, 63980: function(_18qb, _18qc, _18qd) { 'use strict'; var _18qe = null; var _18qf, _18qg = this && this.__extends || (_18qf = function(_18qh, _18qi) { var _18qj = null; return _18qf = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_18qk, _18ql) { var _18qm = null; _18qk.__proto__ = _18ql; } || function(_18qn, _18qo) { var _18qp = null; for (var _18qq in _18qo) Object.prototype.hasOwnProperty.call(_18qo, _18qq) && (_18qn[_18qq] = _18qo[_18qq]); }, _18qf(_18qh, _18qi); }, function(_18qr, _18qs) { var _18qt = null; if ('function' != typeof _18qs && null !== _18qs) throw new TypeError('Class extends value ' + String(_18qs) + ' is not a constructor or null'); function _18qu() { var _18qv = null; this.constructor = _18qr; } _18qf(_18qr, _18qs), _18qr.prototype = null === _18qs ? Object.create(_18qs) : (_18qu.prototype = _18qs.prototype, new _18qu()); }), _18qw = this && this.__importDefault || function(_18qx) { var _18qy = null; return _18qx && _18qx.__esModule ? _18qx : { 'default': _18qx }; }; defineModule(_18qc); Object.defineProperty(_18qc, '__esModule', { 'value': !0 }), _18qc.TopView = void 0; var _18qz = _18qd(56714), _18r0 = _18qd(23098), _18r1 = _18qw(_18qd(18622)), _18r2 = function(_18r3) { var _18r4 = null; function _18r5(_18r6) { var _18r7 = null, _18r8 = _18r3.call(this) || this; return _18r8._btn_sashimi = new _18r0.BtnBase(31, _18r6), _18r8._btn_sashimi.position.set(132, 177), _18r8.addChild(_18r8._btn_sashimi), _18r8._btn_shio = new _18r0.BtnBase(32, _18r6), _18r8._btn_shio.position.set(279, 155), _18r8.addChild(_18r8._btn_shio), _18r8._btn_kaba = new _18r0.BtnBase(33, _18r6), _18r8._btn_kaba.position.set(422, 149), _18r8.addChild(_18r8._btn_kaba), _18r8._btn_curry = new _18r0.BtnBase(34, _18r6), _18r8._btn_curry.position.set(547, 172), _18r8.addChild(_18r8._btn_curry), _18r8._btn_back = new _18r0.BtnBase(-1, _18r6), _18r8._btn_back.position.set(681, 273), _18r8.addChild(_18r8._btn_back), _18r8; } return _18qg(_18r5, _18r3), _18r5.prototype.initialize = function() { var _18r9 = null; this.texture = _18qz.ITEM_ILIST_SANMA.getTexture(17); var _18ra = _18qz.ITEM_ILIST_SANMA.getTexture(4); this._btn_sashimi.initialize(_18ra), _18ra = _18qz.ITEM_ILIST_SANMA.getTexture(5), this._btn_shio.initialize(_18ra), _18ra = _18qz.ITEM_ILIST_SANMA.getTexture(6), this._btn_kaba.initialize(_18ra), _18ra = _18r1.default.model.basic.getCFlag(0) < 1 ? _18qz.ITEM_ILIST_SANMA.getTexture(7) : _18qz.ITEM_ILIST_SANMA.getTexture(8), this._btn_curry.initialize(_18ra), _18ra = _18qz.ITEM_ILIST_SANMA.getTexture(0), this._btn_back.initialize(_18ra); }, _18r5.prototype.activate = function() { var _18rb = null; this._btn_sashimi.activate(), this._btn_shio.activate(), this._btn_kaba.activate(), _18r1.default.model.basic.getCFlag(0) < 1 && this._btn_curry.activate(), this._btn_back.activate(); }, _18r5.prototype.deactivate = function() { var _18rc = null; this._btn_sashimi.deactivate(), this._btn_shio.deactivate(), this._btn_kaba.deactivate(), this._btn_curry.deactivate(), this._btn_back.deactivate(); }, _18r5.prototype.dispose = function() { var _18rd = null; this.removeChildren(), this._btn_sashimi.dispose(), this._btn_shio.dispose(), this._btn_kaba.dispose(), this._btn_curry.dispose(), this._btn_back.dispose(); }, _18r5; }(PIXI.Sprite); _18qc.TopView = _18r2; }, 56230: function(_18re, _18rf, _18rg) { 'use strict'; var _18rh = null; var _18ri, _18rj = this && this.__extends || (_18ri = function(_18rk, _18rl) { var _18rm = null; return _18ri = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_18rn, _18ro) { var _18rp = null; _18rn.__proto__ = _18ro; } || function(_18rq, _18rr) { var _18rs = null; for (var _18rt in _18rr) Object.prototype.hasOwnProperty.call(_18rr, _18rt) && (_18rq[_18rt] = _18rr[_18rt]); }, _18ri(_18rk, _18rl); }, function(_18ru, _18rv) { var _18rw = null; if ('function' != typeof _18rv && null !== _18rv) throw new TypeError('Class extends value ' + String(_18rv) + ' is not a constructor or null'); function _18rx() { var _18ry = null; this.constructor = _18ru; } _18ri(_18ru, _18rv), _18ru.prototype = null === _18rv ? Object.create(_18rv) : (_18rx.prototype = _18rv.prototype, new _18rx()); }), _18rz = this && this.__importDefault || function(_18s0) { var _18s1 = null; return _18s0 && _18s0.__esModule ? _18s0 : { 'default': _18s0 }; }; defineModule(_18rf); Object.defineProperty(_18rf, '__esModule', { 'value': !0 }), _18rf.TaskUseGiftBox = void 0; var _18s2 = _18rz(_18rg(18622)), _18s3 = _18rg(22027), _18s4 = _18rg(46670), _18s5 = _18rg(74566), _18s6 = _18rg(91974), _18s7 = _18rg(91974), _18s8 = _18rg(62634), _18s9 = _18rg(23098), _18sa = _18rg(4), _18sb = function(_18sc) { var _18sd = null; function _18se(_18sf, _18sg) { var _18sh = null, _18si = _18sc.call(this) || this; return _18si._onSelect = function(_18sj) { var _18sk = null; if (null != _18sj) { var _18sl = PIXI.Texture.EMPTY; if (11 == _18sj.type) _18sl = _18s2.default.resources.getShip(_18sj.mst_id, !1, 'icon_box'); else { if (12 == _18sj.type) _18sl = _18s2.default.resources.getSlotitem(_18sj.mst_id, 'card'); else { if (13 == _18sj.type) _18sl = _18s2.default.resources.getUseitem(_18sj.mst_id, 2); else { if (14 == _18sj.type) { _18sl = _18s2.default.resources.getFurniture(_18sj.mst_id, 'reward'); var _18sm = _18s2.default.model.furniture.getData(_18sj.mst_id); if (null == _18sm || 1 == _18sm.has()) return void _18si._dialog.showAlert(_18sj); } } } } var _18sn = new _18s4.TaskRewardSelectConfirm(_18si._layer, _18sl); _18sn.start(function() { var _18so = null; _18si._dialog.deactivate(), 1 == _18sn.result ? (_18si._seleced = _18sj, _18si._connectAPI()) : _18si._dialog.activate(); }); } else _18si._hideDialog(!1); }, _18si._layer = _18sf, _18si._candidates = [new _18s5.SelectableRewardModel({ 'api_no': 2301, 'api_kind': 12, 'api_mst_id': 402, 'api_slotitem_level': 0, 'api_count': 1 }), new _18s5.SelectableRewardModel({ 'api_no': 2302, 'api_kind': 12, 'api_mst_id': 372, 'api_slotitem_level': 0, 'api_count': 2 }), new _18s5.SelectableRewardModel({ 'api_no': 2303, 'api_kind': 13, 'api_mst_id': 4, 'api_slotitem_level': 0, 'api_count': 10 })], _18si._target = _18sg, _18si; } return _18rj(_18se, _18sc), _18se.prototype._start = function() { var _18sp = null; this._loadResources(); }, _18se.prototype._loadResources = function() { var _18sq = null; for (var _18sr = this, _18ss = new _18s3.TaskLoadResources(), _18st = 0, _18su = this._candidates; _18st < _18su.length; _18st++) { var _18sv = _18su[_18st]; 11 == _18sv.type ? _18ss.addShipOld(_18sv.mst_id) : 12 == _18sv.type ? _18ss.addSlotitem(_18sv.mst_id) : 13 == _18sv.type ? _18ss.addUseitem(_18sv.mst_id) : 14 == _18sv.type && _18ss.addFurniture(_18sv.mst_id); } _18ss.start(function() { var _18sw = null; _18sr._showDialog(); }); }, _18se.prototype._showDialog = function() { var _18sx = null, _18sy = this; 3 == this._candidates.length ? (this._dialog = new _18s7.RewardSelectDialog3(!0), this._dialog.position.set(195, 164)) : (this._dialog = new _18s6.RewardSelectDialog2(!0), this._dialog.position.set(297, 164)), this._dialog.initialize(this._candidates, this._onSelect), this._dialog.alpha = 0, this._layer.addChild(this._dialog), createjs.Tween.get(this._dialog).to({ 'alpha': 1 }, 150).call(function() { var _18sz = null; _18sy._dialog.activate(); }); }, _18se.prototype._connectAPI = function() { var _18t0 = null, _18t1 = this, _18t2 = this._target.mstID, _18t3 = this._seleced.no, _18t4 = (_18s2.default.view.overLayer, new _18s8.UseItemUseAPI(_18t2, !1, _18t3)), _18t5 = _18t4.result; _18t4.start(function() { var _18t6 = null; 1 == _18t5.hasCaution() ? _18t1._hideDialog(!0) : (_18t1._result = _18t5, _18t1._hideDialog(!1)); }); }, _18se.prototype._hideDialog = function(_18t7) { var _18t8 = null, _18t9 = this; createjs.Tween.get(this._dialog).to({ 'alpha': 0 }, 150).call(function() { var _18ta = null; _18t9._layer.removeChild(_18t9._dialog), _18t9._dialog = null, 1 == _18t7 ? _18t9._confirm() : _18t9._endTask(); }); }, _18se.prototype._confirm = function() { var _18tb = null, _18tc = this, _18td = this._target.mstID, _18te = this._seleced.no, _18tf = this._layer, _18tg = new _18sa.TaskItemOverflowConfirm(_18tf); _18tg.start(function() { var _18th = null; if (1 == _18tg.result) { var _18ti = new _18s8.UseItemUseAPI(_18td, !0, _18te), _18tj = _18ti.result; _18ti.start(function() { var _18tk = null; _18tc._result = _18tj, _18tc._endTask(); }); } else _18tc._endTask(); }); }, _18se.prototype._endTask = function() { var _18tl = null; this._layer = null, this._target = null, _18sc.prototype._endTask.call(this); }, _18se; }(_18s9.TaskWithResult); _18rf.TaskUseGiftBox = _18sb; }, 96885: function(_18tm, _18tn, _18to) { 'use strict'; var _18tp = null; var _18tq, _18tr = this && this.__extends || (_18tq = function(_18ts, _18tt) { var _18tu = null; return _18tq = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_18tv, _18tw) { var _18tx = null; _18tv.__proto__ = _18tw; } || function(_18ty, _18tz) { var _18u0 = null; for (var _18u1 in _18tz) Object.prototype.hasOwnProperty.call(_18tz, _18u1) && (_18ty[_18u1] = _18tz[_18u1]); }, _18tq(_18ts, _18tt); }, function(_18u2, _18u3) { var _18u4 = null; if ('function' != typeof _18u3 && null !== _18u3) throw new TypeError('Class extends value ' + String(_18u3) + ' is not a constructor or null'); function _18u5() { var _18u6 = null; this.constructor = _18u2; } _18tq(_18u2, _18u3), _18u2.prototype = null === _18u3 ? Object.create(_18u3) : (_18u5.prototype = _18u3.prototype, new _18u5()); }), _18u7 = this && this.__importDefault || function(_18u8) { var _18u9 = null; return _18u8 && _18u8.__esModule ? _18u8 : { 'default': _18u8 }; }; defineModule(_18tn); Object.defineProperty(_18tn, '__esModule', { 'value': !0 }), _18tn.TaskUseSetsubun = void 0; var _18ua = _18u7(_18to(18622)), _18ub = _18to(22027), _18uc = _18to(45111), _18ud = _18to(23098), _18ue = _18to(44083), _18uf = _18to(5476), _18ug = _18to(70723), _18uh = function(_18ui) { var _18uj = null; function _18uk(_18ul, _18um) { var _18un = null, _18uo = _18ui.call(this) || this; return _18uo._onResult = function(_18up) { var _18uq = null; _18uo._dialog.deactivate(), _18uo._seleced_use_type = _18up, -1 == _18up ? _18uo._hideDialog(!1) : _18uo._connectAPI(); }, _18uo._layer = _18ul, _18uo._target = _18um, _18uo; } return _18tr(_18uk, _18ui), _18uk.prototype._start = function() { var _18ur = null; this._loadResources(); }, _18uk.prototype._loadResources = function() { var _18us = null, _18ut = this, _18uu = new _18ub.TaskLoadResources(); _18uu.addUseitem(4), _18uu.addSlotitem(167), _18uu.addUseitem(58), _18uu.addSlotitem(504), _18uu.start(function() { var _18uv = null; _18ut._showDialog(); }); }, _18uk.prototype._showDialog = function() { var _18uw = null; this._dialog = new _18uf.SetsubunUseDialog(this._onResult), this._dialog.initialize(this._target.count), this._dialog.alpha = 1, this._layer.addChild(this._dialog), this._dialog.activate(); }, _18uk.prototype._connectAPI = function() { var _18ux = null, _18uy = this, _18uz = this._target.mstID, _18v0 = this._seleced_use_type, _18v1 = new _18uc.UseItemUseAPI(_18uz, !1, _18v0), _18v2 = _18v1.result; _18v1.start(function() { var _18v3 = null; 1 == _18v2.hasCaution() ? _18uy._hideDialog(!0) : (_18ug.SE.play('215'), _18uy._updateMaterials(), _18uy._result = _18v2, _18uy._hideDialog(!1)); }); }, _18uk.prototype._hideDialog = function(_18v4) { var _18v5 = null; this._dialog.dispose(), this._layer.removeChild(this._dialog), this._dialog = null, 1 == _18v4 ? this._confirm() : this._endTask(); }, _18uk.prototype._confirm = function() { var _18v6 = null, _18v7 = this, _18v8 = this._target.mstID, _18v9 = this._seleced_use_type, _18va = this._layer, _18vb = new _18ue.TaskItemOverflowConfirm(_18va); _18vb.start(function() { var _18vc = null; if (1 == _18vb.result) { var _18vd = new _18uc.UseItemUseAPI(_18v8, !0, _18v9), _18ve = _18vd.result; _18vd.start(function() { var _18vf = null; _18ug.SE.play('215'), _18v7._updateMaterials(), _18v7._result = _18ve, _18v7._endTask(); }); } else _18v7._endTask(); }); }, _18uk.prototype._updateMaterials = function() { var _18vg = null, _18vh = this._seleced_use_type; if (82 == _18vh) { var _18vi = _18ua.default.model.useItem.getMaterialCounts().devKit - 35; _18ua.default.model.useItem.get(3).__setCount__(_18vi); } 84 == _18vh && (_18vi = _18ua.default.model.useItem.getMaterialCounts().devKit - 70, (_18ua.default.model.useItem.get(3).__setCount__(_18vi), _18ua.default.model.basic.setCFlag(0, 1))); }, _18uk.prototype._endTask = function() { var _18vj = null; this._layer = null, this._target = null, _18ui.prototype._endTask.call(this); }, _18uk; }(_18ud.TaskWithResult); _18tn.TaskUseSetsubun = _18uh; }, 93848: function(_18vk, _18vl, _18vm) { 'use strict'; var _18vn = null; var _18vo, _18vp = this && this.__extends || (_18vo = function(_18vq, _18vr) { var _18vs = null; return _18vo = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_18vt, _18vu) { var _18vv = null; _18vt.__proto__ = _18vu; } || function(_18vw, _18vx) { var _18vy = null; for (var _18vz in _18vx) Object.prototype.hasOwnProperty.call(_18vx, _18vz) && (_18vw[_18vz] = _18vx[_18vz]); }, _18vo(_18vq, _18vr); }, function(_18w0, _18w1) { var _18w2 = null; if ('function' != typeof _18w1 && null !== _18w1) throw new TypeError('Class extends value ' + String(_18w1) + ' is not a constructor or null'); function _18w3() { var _18w4 = null; this.constructor = _18w0; } _18vo(_18w0, _18w1), _18w0.prototype = null === _18w1 ? Object.create(_18w1) : (_18w3.prototype = _18w1.prototype, new _18w3()); }), _18w5 = this && this.__importDefault || function(_18w6) { var _18w7 = null; return _18w6 && _18w6.__esModule ? _18w6 : { 'default': _18w6 }; }; defineModule(_18vl); Object.defineProperty(_18vl, '__esModule', { 'value': !0 }), _18vl.ConfirmView = void 0; var _18w8 = _18w5(_18vm(18622)), _18w9 = _18vm(78773), _18wa = _18vm(23098), _18wb = function(_18wc) { var _18wd = null; function _18we(_18wf, _18wg) { var _18wh = null, _18wi = _18wc.call(this) || this; _18wi.texture = _18w9.ITEM_ILIST_SETSUBUN.getTexture(36), _18wi._img = new PIXI.Sprite(), _18wi._img.position.set(198, 116), _18wi.addChild(_18wi._img); var _18wj = _18w9.ITEM_ILIST_SETSUBUN.getTexture(23), _18wk = _18w9.ITEM_ILIST_SETSUBUN.getTexture(24); return _18wi._btn_yes = new _18wa.BtnBase(_18wf, _18wg), _18wi._btn_yes.initialize(_18wj, _18wk), _18wi._btn_yes.position.set(202, 273), _18wi.addChild(_18wi._btn_yes), _18wj = _18w9.ITEM_ILIST_SETSUBUN.getTexture(22), _18wi._btn_back = new _18wa.BtnBase(-1, _18wg), _18wi._btn_back.initialize(_18wj), _18wi._btn_back.position.set(394, 273), _18wi.addChild(_18wi._btn_back), _18wi; } return _18vp(_18we, _18wc), _18we.prototype.dispose = function() { var _18wl = null; this.removeChildren(), this._btn_yes.dispose(), this._btn_back.dispose(); }, _18we.prototype.initialize = function(_18wm, _18wn) { var _18wo = null, _18wp = _18w8.default.model.useItem.getMaterialCounts().devKit; switch (_18wm) { case 81: _18wn < 2 && (this._btn_yes.enabled = !1), this._img.texture = _18w9.ITEM_ILIST_SETSUBUN.getTexture(37), this._img.position.set(171, 49); break; case 82: (_18wn < 16 || _18wp < 35) && (this._btn_yes.enabled = !1), this._img.texture = _18w9.ITEM_ILIST_SETSUBUN.getTexture(38), this._img.position.set(177, 49); break; case 83: _18wn < 20 && (this._btn_yes.enabled = !1), this._img.texture = _18w9.ITEM_ILIST_SETSUBUN.getTexture(39), this._img.position.set(179, 49); break; case 84: (_18wn < 32 || _18wp < 70) && (this._btn_yes.enabled = !1), this._img.texture = _18w9.ITEM_ILIST_SETSUBUN.getTexture(40), this._img.position.set(183, 49); } }, _18we.prototype.activate = function() { var _18wq = null; this.visible = !0, this._btn_yes.activate(), this._btn_back.activate(); }, _18we.prototype.deactivate = function() { var _18wr = null; this.visible = !1, this._btn_yes.deactivate(), this._btn_back.deactivate(); }, _18we; }(PIXI.Sprite); _18vl.ConfirmView = _18wb; }, 5476: function(_18ws, _18wt, _18wu) { 'use strict'; var _18wv = null; var _18ww, _18wx = this && this.__extends || (_18ww = function(_18wy, _18wz) { var _18x0 = null; return _18ww = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_18x1, _18x2) { var _18x3 = null; _18x1.__proto__ = _18x2; } || function(_18x4, _18x5) { var _18x6 = null; for (var _18x7 in _18x5) Object.prototype.hasOwnProperty.call(_18x5, _18x7) && (_18x4[_18x7] = _18x5[_18x7]); }, _18ww(_18wy, _18wz); }, function(_18x8, _18x9) { var _18xa = null; if ('function' != typeof _18x9 && null !== _18x9) throw new TypeError('Class extends value ' + String(_18x9) + ' is not a constructor or null'); function _18xb() { var _18xc = null; this.constructor = _18x8; } _18ww(_18x8, _18x9), _18x8.prototype = null === _18x9 ? Object.create(_18x9) : (_18xb.prototype = _18x9.prototype, new _18xb()); }); defineModule(_18wt); Object.defineProperty(_18wt, '__esModule', { 'value': !0 }), _18wt.SetsubunUseDialog = void 0; var _18xd = _18wu(23098), _18xe = _18wu(76740), _18xf = _18wu(93848), _18xg = function(_18xh) { var _18xi = null; function _18xj(_18xk) { var _18xl = null, _18xm = _18xh.call(this) || this; return _18xm._onSelectFromTop = function(_18xn) { var _18xo = null; if (_18xm._top_view.deactivate(), -1 == _18xn) { if (null == _18xm._cb_onResult) return; _18xm._cb_onResult(_18xn); } else _18xm._confirm_view = new _18xf.ConfirmView(_18xn, _18xm._onSelectFromConfirm), _18xm._confirm_view.position.set(332, 190), _18xm.addChild(_18xm._confirm_view), _18xm._confirm_view.initialize(_18xn, _18xm._count), _18xm._confirm_view.activate(); }, _18xm._onSelectFromConfirm = function(_18xp) { var _18xq = null; if (-1 == _18xp) { if (null == _18xm._cb_onResult) return; _18xm._confirm_view.deactivate(), _18xm.removeChild(_18xm._confirm_view), _18xm._confirm_view.dispose(), _18xm._confirm_view = null, _18xm._top_view.activate(); } else { if (null == _18xm._cb_onResult) return; _18xm._cb_onResult(_18xp); } }, _18xm._cb_onResult = _18xk, _18xm._top_view = new _18xe.TopView(_18xm._onSelectFromTop), _18xm._top_view.position.set(295, 203), _18xm.addChild(_18xm._top_view), _18xm; } return _18wx(_18xj, _18xh), _18xj.prototype.initialize = function(_18xr) { var _18xs = null; this._count = _18xr, this._top_view.initialize(); }, _18xj.prototype.activate = function() { var _18xt = null; null != this._top_view && this._top_view.activate(), null != this._confirm_view && this._confirm_view.activate(); }, _18xj.prototype.deactivate = function() { var _18xu = null; null != this._top_view && this._top_view.deactivate(), null != this._confirm_view && this._confirm_view.deactivate(); }, _18xj.prototype.dispose = function() { var _18xv = null; null != this._top_view && this._top_view.dispose(), null != this._confirm_view && this._confirm_view.dispose(); }, _18xj; }(_18xd.DialogBase); _18wt.SetsubunUseDialog = _18xg; }, 76740: function(_18xw, _18xx, _18xy) { 'use strict'; var _18xz = null; var _18y0, _18y1 = this && this.__extends || (_18y0 = function(_18y2, _18y3) { var _18y4 = null; return _18y0 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_18y5, _18y6) { var _18y7 = null; _18y5.__proto__ = _18y6; } || function(_18y8, _18y9) { var _18ya = null; for (var _18yb in _18y9) Object.prototype.hasOwnProperty.call(_18y9, _18yb) && (_18y8[_18yb] = _18y9[_18yb]); }, _18y0(_18y2, _18y3); }, function(_18yc, _18yd) { var _18ye = null; if ('function' != typeof _18yd && null !== _18yd) throw new TypeError('Class extends value ' + String(_18yd) + ' is not a constructor or null'); function _18yf() { var _18yg = null; this.constructor = _18yc; } _18y0(_18yc, _18yd), _18yc.prototype = null === _18yd ? Object.create(_18yd) : (_18yf.prototype = _18yd.prototype, new _18yf()); }), _18yh = this && this.__importDefault || function(_18yi) { var _18yj = null; return _18yi && _18yi.__esModule ? _18yi : { 'default': _18yi }; }; defineModule(_18xx); Object.defineProperty(_18xx, '__esModule', { 'value': !0 }), _18xx.TopView = void 0; var _18yk = _18yh(_18xy(18622)), _18yl = _18xy(78773), _18ym = _18xy(23098), _18yn = function(_18yo) { var _18yp = null; function _18yq(_18yr) { var _18ys = null, _18yt = _18yo.call(this) || this; _18yt.texture = _18yl.ITEM_ILIST_SETSUBUN.getTexture(35), _18yt._bg_ship = new PIXI.Sprite(), _18yt._bg_ship.position.set(114, 144), _18yt.addChild(_18yt._bg_ship); var _18yu = _18yl.ITEM_ILIST_SETSUBUN.getTexture(25); _18yt._btn_reward1 = new _18ym.BtnBase(81, _18yr), _18yt._btn_reward1.initialize(_18yu), _18yt._btn_reward1.position.set(162, 95), _18yt.addChild(_18yt._btn_reward1); var _18yv = _18yl.ITEM_ILIST_SETSUBUN.getTexture(26); _18yt._btn_reward2 = new _18ym.BtnBase(82, _18yr), _18yt._btn_reward2.initialize(_18yv), _18yt._btn_reward2.position.set(308, 95), _18yt.addChild(_18yt._btn_reward2); var _18yw = _18yl.ITEM_ILIST_SETSUBUN.getTexture(27); _18yt._btn_reward3 = new _18ym.BtnBase(83, _18yr), _18yt._btn_reward3.initialize(_18yw), _18yt._btn_reward3.position.set(480, 95), _18yt.addChild(_18yt._btn_reward3); var _18yx = _18yl.ITEM_ILIST_SETSUBUN.getTexture(28); _18yt._btn_reward4 = new _18ym.BtnBase(84, _18yr), _18yt._btn_reward4.initialize(_18yx), _18yt._btn_reward4.position.set(629, 95), _18yt.addChild(_18yt._btn_reward4); var _18yy = _18yl.ITEM_ILIST_SETSUBUN.getTexture(21); return _18yt._btn_back = new _18ym.BtnBase(-1, _18yr), _18yt._btn_back.initialize(_18yy), _18yt._btn_back.position.set(351, 259), _18yt.addChild(_18yt._btn_back), _18yt._reward1_count = new PIXI.Sprite(_18yl.ITEM_ILIST_SETSUBUN.getTexture(30)), _18yt._reward1_count.position.set(142, 114), _18yt.addChild(_18yt._reward1_count), _18yt._reward2_count = new PIXI.Sprite(_18yl.ITEM_ILIST_SETSUBUN.getTexture(31)), _18yt._reward2_count.position.set(302, 114), _18yt.addChild(_18yt._reward2_count), _18yt._reward3_count = new PIXI.Sprite(_18yl.ITEM_ILIST_SETSUBUN.getTexture(32)), _18yt._reward3_count.position.set(460, 114), _18yt.addChild(_18yt._reward3_count), _18yt._reward4_count = new PIXI.Sprite(_18yl.ITEM_ILIST_SETSUBUN.getTexture(33)), _18yt._reward4_count.position.set(621, 114), _18yt.addChild(_18yt._reward4_count), _18yt._reward3_txt = new PIXI.Sprite(_18yl.ITEM_ILIST_SETSUBUN.getTexture(41)), _18yt._reward3_txt.position.set(314, 221), _18yt.addChild(_18yt._reward3_txt), _18yt._reward4_txt = new PIXI.Sprite(_18yl.ITEM_ILIST_SETSUBUN.getTexture(42)), _18yt._reward4_txt.position.set(633, 221), _18yt.addChild(_18yt._reward4_txt), _18yt._icon = new PIXI.Sprite(_18yl.ITEM_ILIST_SETSUBUN.getTexture(34)), _18yt._icon.position.set(453, 258), _18yt.addChild(_18yt._icon), _18yt; } return _18y1(_18yq, _18yo), _18yq.prototype.dispose = function() { var _18yz = null; this.removeChildren(), this._btn_reward1.dispose(), this._btn_reward2.dispose(), this._btn_reward3.dispose(), this._btn_reward4.dispose(), this._btn_back.dispose(); }, _18yq.prototype.initialize = function() { var _18z0 = null, _18z1; 1 == _18yk.default.model.basic.getCFlag(0) ? (_18z1 = _18yl.ITEM_ILIST_SETSUBUN.getTexture(29), this._btn_reward4.deactivate()) : _18z1 = _18yl.ITEM_ILIST_SETSUBUN.getTexture(28), this._btn_reward4.initialize(_18z1); for (var _18z2 = _18yk.default.model.ship.getAll(), _18z3 = _18yk.default.model.deck.get(1).getShipModel(0), _18z4 = _18z3.getClassType(), _18z5 = _18z3.shipTypeID, _18z6 = !1, _18z7 = !1, _18z8 = !1, _18z9 = !1, _18za = !1, _18zb = !1, _18zc = !1, _18zd = !1, _18ze = !1, _18zf = !1, _18zg = !1, _18zh = !1, _18zi = !1, _18zj = !1, _18zk = !1, _18zl = !1, _18zm = !1, _18zn = !1, _18zo = !1, _18zp = !1, _18zq = !1, _18zr = 0, _18zs = _18z2; _18zr < _18zs.length; _18zr++) { var _18zt = _18zs[_18zr]; 'みねぐも' == _18zt.yomi && (_18z6 = !0), 'おおよど' == _18zt.yomi && (_18z7 = !0), 321 == _18zt.mstID && (_18z8 = !0), 'まつわ' == _18zt.yomi && (_18z9 = !0), 'コマンダン・テスト' == _18zt.yomi && (_18za = !0), 'かざぐも' == _18zt.yomi && (_18zb = !0), 'ちょうげい' == _18zt.yomi && (_18zc = !0), 'レンジャー' == _18zt.yomi && (_18zd = !0), 'い47' == _18zt.yomi && (_18zf = !0), 'だいにじゅうにごう' == _18zt.yomi && (_18ze = !0), 'うらなみ' == _18zt.yomi && (_18zg = !0), [368, 486].indexOf(_18zt.mstID) > -1 && (_18zh = !0), 647 == _18zt.mstID && (_18zi = !0), 894 == _18zt.mstID && (_18zj = !0), 899 == _18zt.mstID && (_18zk = !0), 562 == _18zt.mstID && (_18zl = !0), 689 == _18zt.mstID && (_18zm = !0), 'はやしも' == _18zt.yomi && (_18zn = !0), 'うしお' == _18zt.yomi && (_18zo = !0), [16, 233].indexOf(_18zt.mstID) > -1 && (_18zp = !0), 407 == _18zt.mstID && (_18zq = !0); } if (['はやしも', 'きよしも', 'きしなみ', 'ふじなみ', 'はまなみ', 'はやなみ'].indexOf(_18z3.yomi) > -1 && _18zn) this._bg_ship.texture = _18yl.ITEM_ILIST_SETSUBUN.getTexture(16), this._bg_ship.position.set(-154, -14), _18yk.default.sound.voice.play('9999', 337); else { if (!_18zb || 'あきぐも' != _18z3.yomi && 38 != _18z4) { if (_18zc && [20, 14].indexOf(_18z5) >= 0) this._bg_ship.texture = _18yl.ITEM_ILIST_SETSUBUN.getTexture(17), this._bg_ship.position.set(-156, -27), _18yk.default.sound.voice.play('9999', 338); else { if (['レンジャー', 'ラングレー', 'サラトガ', 'ホーネット', 'ガンビア・ベイ'].indexOf(_18z3.yomi) > -1 && _18zd) this._bg_ship.texture = _18yl.ITEM_ILIST_SETSUBUN.getTexture(9), this._bg_ship.position.set(-151, -55), _18yk.default.sound.voice.play('9999', 333); else { if (91 == _18z4 && _18zm) this._bg_ship.texture = _18yl.ITEM_ILIST_SETSUBUN.getTexture(14), this._bg_ship.position.set(-294, -29), _18yk.default.sound.voice.play('9999', 334); else { if (91 == _18z4 && _18zl) this._bg_ship.texture = _18yl.ITEM_ILIST_SETSUBUN.getTexture(10), this._bg_ship.position.set(-294, -29), _18yk.default.sound.voice.play('9999', 334); else { if ([11, 18, 7].indexOf(_18z5) >= 0) { if (_18zk) { var _18zu = Math.floor(100 * Math.random()); if (!_18zj || _18zu < 60) return this._bg_ship.texture = _18yl.ITEM_ILIST_SETSUBUN.getTexture(15), this._bg_ship.position.set(-82, -23), void _18yk.default.sound.voice.play('9999', 330); } if (_18zj) return this._bg_ship.texture = _18yl.ITEM_ILIST_SETSUBUN.getTexture(13), this._bg_ship.position.set(-82, -23), void _18yk.default.sound.voice.play('9999', 330); this._bg_ship.texture = _18yl.ITEM_ILIST_SETSUBUN.getTexture(7), this._bg_ship.position.set(-82, -23), _18yk.default.sound.voice.play('9999', 330); } else { if (_18z6 && [18, 23, 30].indexOf(_18z4) >= 0) this._bg_ship.texture = _18yl.ITEM_ILIST_SETSUBUN.getTexture(4), this._bg_ship.position.set(-154, -7), _18yk.default.sound.voice.play('9999', 324); else { if (_18z7 && [52, 4, 16, 20, 56, 9].indexOf(_18z4) >= 0) _18zu = Math.floor(100 * Math.random()), (this._bg_ship.texture = _18z8 && _18zu < 60 ? _18yl.ITEM_ILIST_SETSUBUN.getTexture(8) : _18yl.ITEM_ILIST_SETSUBUN.getTexture(5), this._bg_ship.position.set(-204, -19), _18yk.default.sound.voice.play('9999', 332)); else { if (_18zo && ['うしお', 'あけぼの', 'おぼろ', 'さざなみ'].indexOf(_18z3.yomi) > -1) { if (_18zq && !_18zp) this._bg_ship.texture = _18yl.ITEM_ILIST_SETSUBUN.getTexture(19), this._bg_ship.position.set(-166, -10), _18yk.default.sound.voice.play('9999', 339); else { if (!_18zq && _18zp) this._bg_ship.texture = _18yl.ITEM_ILIST_SETSUBUN.getTexture(18), this._bg_ship.position.set(-152, -26), _18yk.default.sound.voice.play('9999', 339); else(_18zu = Math.floor(100 * Math.random())) < 60 ? (this._bg_ship.texture = _18yl.ITEM_ILIST_SETSUBUN.getTexture(19), this._bg_ship.position.set(-166, -10), _18yk.default.sound.voice.play('9999', 339)) : (this._bg_ship.texture = _18yl.ITEM_ILIST_SETSUBUN.getTexture(18), this._bg_ship.position.set(-152, -26), _18yk.default.sound.voice.play('9999', 339)); } } else { if (2 != _18z5 && 9 != _18z5 || !_18zg) _18ze && [94, 104].indexOf(_18z4) > -1 ? (this._bg_ship.texture = _18yl.ITEM_ILIST_SETSUBUN.getTexture(20), this._bg_ship.position.set(-192, 12), _18yk.default.sound.voice.play('9999', 340)) : 1 == _18z5 && _18z9 ? (this._bg_ship.texture = _18yl.ITEM_ILIST_SETSUBUN.getTexture(1), this._bg_ship.position.set(-94, 27), _18yk.default.sound.voice.play('9999', 328)) : _18za && [16, 22, 17].indexOf(_18z5) >= 0 ? (this._bg_ship.texture = _18yl.ITEM_ILIST_SETSUBUN.getTexture(2), this._bg_ship.position.set(-231, -34), _18yk.default.sound.voice.play('9999', 322)) : _18zf && [13].indexOf(_18z5) >= 0 ? (this._bg_ship.texture = _18yl.ITEM_ILIST_SETSUBUN.getTexture(11), this._bg_ship.position.set(-185, -12), _18yk.default.sound.voice.play('9999', 336)) : (this._bg_ship.texture = _18yl.ITEM_ILIST_SETSUBUN.getTexture(3), this._bg_ship.position.set(-209, -24), _18yk.default.sound.voice.play('9999', 323)); else { if (_18zi && !_18zh) this._bg_ship.texture = _18yl.ITEM_ILIST_SETSUBUN.getTexture(12), this._bg_ship.position.set(-124, -74), _18yk.default.sound.voice.play('9999', 320); else { if (!_18zi && _18zh) this._bg_ship.texture = _18yl.ITEM_ILIST_SETSUBUN.getTexture(0), this._bg_ship.position.set(-124, -74), _18yk.default.sound.voice.play('9999', 320); else(_18zu = Math.floor(100 * Math.random())) < 60 ? (this._bg_ship.texture = _18yl.ITEM_ILIST_SETSUBUN.getTexture(12), this._bg_ship.position.set(-124, -74), _18yk.default.sound.voice.play('9999', 320)) : (this._bg_ship.texture = _18yl.ITEM_ILIST_SETSUBUN.getTexture(0), this._bg_ship.position.set(-124, -74), _18yk.default.sound.voice.play('9999', 320)); } } } } } } } } } } } else this._bg_ship.texture = _18yl.ITEM_ILIST_SETSUBUN.getTexture(6), this._bg_ship.position.set(-126, -42), _18yk.default.sound.voice.play('9999', 326); } }, _18yq.prototype.activate = function() { var _18zv = null; this.visible = !0, this._btn_reward1.activate(), this._btn_reward2.activate(), this._btn_reward3.activate(), 0 == _18yk.default.model.basic.getCFlag(0) && this._btn_reward4.activate(), this._btn_back.activate(); }, _18yq.prototype.deactivate = function() { var _18zw = null; this.visible = !1, this._btn_reward1.deactivate(), this._btn_reward2.deactivate(), this._btn_reward3.deactivate(), this._btn_reward4.deactivate(), this._btn_back.deactivate(); }, _18yq; }(PIXI.Sprite); _18xx.TopView = _18yn; }, 8497: function(_18zx, _18zy, _18zz) { 'use strict'; var _1900 = null; var _1901, _1902 = this && this.__extends || (_1901 = function(_1903, _1904) { var _1905 = null; return _1901 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1906, _1907) { var _1908 = null; _1906.__proto__ = _1907; } || function(_1909, _190a) { var _190b = null; for (var _190c in _190a) Object.prototype.hasOwnProperty.call(_190a, _190c) && (_1909[_190c] = _190a[_190c]); }, _1901(_1903, _1904); }, function(_190d, _190e) { var _190f = null; if ('function' != typeof _190e && null !== _190e) throw new TypeError('Class extends value ' + String(_190e) + ' is not a constructor or null'); function _190g() { var _190h = null; this.constructor = _190d; } _1901(_190d, _190e), _190d.prototype = null === _190e ? Object.create(_190e) : (_190g.prototype = _190e.prototype, new _190g()); }), _190i = this && this.__importDefault || function(_190j) { var _190k = null; return _190j && _190j.__esModule ? _190j : { 'default': _190j }; }; defineModule(_18zy); Object.defineProperty(_18zy, '__esModule', { 'value': !0 }), _18zy.TaskUsePumpkin = void 0; var _190l = _18zz(45111), _190m = _18zz(23098), _190n = _18zz(44083), _190o = _18zz(20105), _190p = _190i(_18zz(18622)), _190q = function(_190r) { var _190s = null; function _190t(_190u, _190v) { var _190w = null, _190x = _190r.call(this) || this; return _190x._onResult = function(_190y) { var _190z = null; _190x._dialog.deactivate(), _190x._seleced_use_type = _190y, -1 == _190y ? _190x._hideDialog(!1) : _190x._connectAPI(); }, _190x._layer = _190u, _190x._target = _190v, _190x; } return _1902(_190t, _190r), _190t.prototype._start = function() { var _1910 = null; this._showDialog(); }, _190t.prototype._showDialog = function() { var _1911 = null, _1912 = this; this._dialog = new _190o.PumpkinUseDialog(this._onResult), this._dialog.initialize(this._target.count), this._dialog.alpha = 0, this._layer.addChild(this._dialog), createjs.Tween.get(this._dialog).to({ 'alpha': 1 }, 150).call(function() { var _1913 = null; _1912._dialog.activate(); }); }, _190t.prototype._connectAPI = function() { var _1914 = null, _1915 = this, _1916 = this._target.mstID, _1917 = this._seleced_use_type, _1918 = new _190l.UseItemUseAPI(_1916, !1, _1917), _1919 = _1918.result; _1918.start(function() { var _191a = null; 1 == _1919.hasCaution() ? _1915._hideDialog(!0) : (_1915._result = _1919, 101 == _1915._seleced_use_type && _190p.default.model.basic.setCFlag(0, 1), _1915._hideDialog(!1)); }); }, _190t.prototype._hideDialog = function(_191b) { var _191c = null, _191d = this; createjs.Tween.get(this._dialog).to({ 'alpha': 0 }, 150).call(function() { var _191e = null; _191d._dialog.dispose(), _191d._layer.removeChild(_191d._dialog), _191d._dialog = null, 1 == _191b ? _191d._confirm() : _191d._endTask(); }); }, _190t.prototype._confirm = function() { var _191f = null, _191g = this, _191h = this._target.mstID, _191i = this._seleced_use_type, _191j = this._layer, _191k = new _190n.TaskItemOverflowConfirm(_191j); _191k.start(function() { var _191l = null; if (1 == _191k.result) { var _191m = new _190l.UseItemUseAPI(_191h, !0, _191i), _191n = _191m.result; _191m.start(function() { var _191o = null; _191g._result = _191n, 101 == _191g._seleced_use_type && _190p.default.model.basic.setCFlag(0, 1), _191g._endTask(); }); } else _191g._endTask(); }); }, _190t.prototype._endTask = function() { var _191p = null; this._layer = null, this._target = null, _190r.prototype._endTask.call(this); }, _190t; }(_190m.TaskWithResult); _18zy.TaskUsePumpkin = _190q; }, 3619: function(_191q, _191r, _191s) { 'use strict'; var _191t = null; var _191u, _191v = this && this.__extends || (_191u = function(_191w, _191x) { var _191y = null; return _191u = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_191z, _1920) { var _1921 = null; _191z.__proto__ = _1920; } || function(_1922, _1923) { var _1924 = null; for (var _1925 in _1923) Object.prototype.hasOwnProperty.call(_1923, _1925) && (_1922[_1925] = _1923[_1925]); }, _191u(_191w, _191x); }, function(_1926, _1927) { var _1928 = null; if ('function' != typeof _1927 && null !== _1927) throw new TypeError('Class extends value ' + String(_1927) + ' is not a constructor or null'); function _1929() { var _192a = null; this.constructor = _1926; } _191u(_1926, _1927), _1926.prototype = null === _1927 ? Object.create(_1927) : (_1929.prototype = _1927.prototype, new _1929()); }), _192b = this && this.__importDefault || function(_192c) { var _192d = null; return _192c && _192c.__esModule ? _192c : { 'default': _192c }; }; defineModule(_191r); Object.defineProperty(_191r, '__esModule', { 'value': !0 }), _191r.ConfirmView = void 0; var _192e = _192b(_191s(18622)), _192f = _191s(8744), _192g = _191s(44060), _192h = _191s(23098), _192i = function(_192j) { var _192k = null; function _192l(_192m, _192n) { var _192o = null, _192p = _192j.call(this) || this; return _192p._message1 = new PIXI.Sprite(), _192p._message1.position.set(145, 109), _192p.addChild(_192p._message1), _192p._icon = new PIXI.Sprite(), _192p._icon.position.set(169, 169), _192p.addChild(_192p._icon), _192p._err_message = new _192f.TextBox(16, 16711680), _192p._err_message.y = 316, _192p.addChild(_192p._err_message), _192p._btn_yes = new _192h.BtnBase(_192m, _192n), _192p._btn_yes.position.set(155, 270), _192p.addChild(_192p._btn_yes), _192p._btn_back = new _192h.BtnBase(-1, _192n), _192p._btn_back.position.set(349, 270), _192p.addChild(_192p._btn_back), _192p; } return _191v(_192l, _192j), _192l.prototype.initialize = function(_192q, _192r) { var _192s = null, _192t = 0, _192u = ''; 101 == _192q ? (this.texture = _192g.ITEM_ILIST_PUMPKIN.getTexture(11), this._message1.texture = _192g.ITEM_ILIST_PUMPKIN.getTexture(13), this._icon.texture = _192g.ITEM_ILIST_PUMPKIN.getTexture(6), _192t = 6, _192u = 'Halloween Party には「南瓜」6個が必要です。') : 102 == _192q && (this.texture = _192g.ITEM_ILIST_PUMPKIN.getTexture(12), this._message1.texture = _192g.ITEM_ILIST_PUMPKIN.getTexture(14), this._icon.texture = _192g.ITEM_ILIST_PUMPKIN.getTexture(7), this._message1.position.set(164, 83), this._icon.position.set(212, 143), this._err_message.position.y = 290, this._btn_yes.position.set(155, 245), this._btn_back.position.set(350, 245), _192u = '南瓜羊羹 には「南瓜」2個が必要です。', _192t = 2); var _192v = _192g.ITEM_ILIST_PUMPKIN.getTexture(2), _192w = _192g.ITEM_ILIST_PUMPKIN.getTexture(3); this._btn_yes.initialize(_192v, _192w), 1 == _192e.default.model.basic.getCFlag(0) && 101 == _192q ? (this._btn_yes.enabled = !1, this._err_message.text = 'Halloween Party は1回までです!') : _192r < _192t ? (this._btn_yes.enabled = !1, this._err_message.text = _192u) : (this._btn_yes.enabled = !0, this._err_message.text = ''), this._err_message.x = 338 - this._err_message.width / 2, _192v = _192g.ITEM_ILIST_PUMPKIN.getTexture(1), this._btn_back.initialize(_192v); }, _192l.prototype.activate = function() { var _192x = null; this._btn_yes.activate(), this._btn_back.activate(); }, _192l.prototype.deactivate = function() { var _192y = null; this._btn_yes.deactivate(), this._btn_back.deactivate(); }, _192l.prototype.dispose = function() { var _192z = null; this.removeChildren(), this._message1.destroy(), this._err_message.destroy(), this._btn_yes.dispose(), this._btn_back.dispose(); }, _192l; }(PIXI.Sprite); _191r.ConfirmView = _192i; }, 20105: function(_1930, _1931, _1932) { 'use strict'; var _1933 = null; var _1934, _1935 = this && this.__extends || (_1934 = function(_1936, _1937) { var _1938 = null; return _1934 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1939, _193a) { var _193b = null; _1939.__proto__ = _193a; } || function(_193c, _193d) { var _193e = null; for (var _193f in _193d) Object.prototype.hasOwnProperty.call(_193d, _193f) && (_193c[_193f] = _193d[_193f]); }, _1934(_1936, _1937); }, function(_193g, _193h) { var _193i = null; if ('function' != typeof _193h && null !== _193h) throw new TypeError('Class extends value ' + String(_193h) + ' is not a constructor or null'); function _193j() { var _193k = null; this.constructor = _193g; } _1934(_193g, _193h), _193g.prototype = null === _193h ? Object.create(_193h) : (_193j.prototype = _193h.prototype, new _193j()); }); defineModule(_1931); Object.defineProperty(_1931, '__esModule', { 'value': !0 }), _1931.PumpkinUseDialog = void 0; var _193l = _1932(23098), _193m = _1932(71215), _193n = _1932(3619), _193o = function(_193p) { var _193q = null; function _193r(_193s) { var _193t = null, _193u = _193p.call(this) || this; return _193u._onSelectFromTop = function(_193v) { var _193w = null; if (_193u._top_view.deactivate(), -1 == _193v) { if (null == _193u._cb_onResult) return; _193u._cb_onResult(_193v); } else _193u._confirm_view = new _193n.ConfirmView(_193v, _193u._onSelectFromConfirm), 101 == _193v ? _193u._confirm_view.position.set(312, 206) : _193u._confirm_view.position.set(312, 233), _193u.addChild(_193u._confirm_view), _193u._confirm_view.initialize(_193v, _193u._count), _193u._confirm_view.activate(), _193u._top_view.dispose(), _193u.removeChild(_193u._top_view), _193u._top_view = null; }, _193u._onSelectFromConfirm = function(_193x) { var _193y = null; null != _193u._cb_onResult && _193u._cb_onResult(_193x); }, _193u._cb_onResult = _193s, _193u._top_view = new _193m.TopView(_193u._onSelectFromTop), _193u._top_view.position.set(312, 195), _193u.addChild(_193u._top_view), _193u; } return _1935(_193r, _193p), _193r.prototype.initialize = function(_193z) { var _1940 = null; this._count = _193z, this._top_view.initialize(); }, _193r.prototype.activate = function() { var _1941 = null; null != this._top_view && this._top_view.activate(), null != this._confirm_view && this._confirm_view.activate(); }, _193r.prototype.deactivate = function() { var _1942 = null; null != this._top_view && this._top_view.deactivate(), null != this._confirm_view && this._confirm_view.deactivate(); }, _193r.prototype.dispose = function() { var _1943 = null; null != this._top_view && this._top_view.dispose(), null != this._confirm_view && this._confirm_view.dispose(); }, _193r; }(_193l.DialogBase); _1931.PumpkinUseDialog = _193o; }, 71215: function(_1944, _1945, _1946) { 'use strict'; var _1947 = null; var _1948, _1949 = this && this.__extends || (_1948 = function(_194a, _194b) { var _194c = null; return _1948 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_194d, _194e) { var _194f = null; _194d.__proto__ = _194e; } || function(_194g, _194h) { var _194i = null; for (var _194j in _194h) Object.prototype.hasOwnProperty.call(_194h, _194j) && (_194g[_194j] = _194h[_194j]); }, _1948(_194a, _194b); }, function(_194k, _194l) { var _194m = null; if ('function' != typeof _194l && null !== _194l) throw new TypeError('Class extends value ' + String(_194l) + ' is not a constructor or null'); function _194n() { var _194o = null; this.constructor = _194k; } _1948(_194k, _194l), _194k.prototype = null === _194l ? Object.create(_194l) : (_194n.prototype = _194l.prototype, new _194n()); }); defineModule(_1945); Object.defineProperty(_1945, '__esModule', { 'value': !0 }), _1945.TopView = void 0; var _194p = _1946(44060), _194q = _1946(23098), _194r = _1946(35380), _194s = function(_194t) { var _194u = null; function _194v(_194w) { var _194x = null, _194y = _194t.call(this) || this; return _194y._onMouseOver = function() { var _194z = null; _194y._eye.texture = _194p.ITEM_ILIST_PUMPKIN.getTexture(9), _194y._eye.position.set(521, 73); }, _194y._onMouseOut = function() { var _1950 = null; _194y._eye.texture = _194p.ITEM_ILIST_PUMPKIN.getTexture(8), _194y._eye.position.set(527, 75); }, _194y._message1 = new PIXI.Sprite(_194p.ITEM_ILIST_PUMPKIN.getTexture(15)), _194y._message1.position.set(207, 106), _194y.addChild(_194y._message1), _194y._btn_halloween_party = new _194q.BtnBase(101, _194w), _194y._btn_halloween_party.position.set(159, 179), _194y.addChild(_194y._btn_halloween_party), _194y._btn_pumpkin_yokan = new _194q.BtnBase(102, _194w), _194y._btn_pumpkin_yokan.position.set(326, 189), _194y.addChild(_194y._btn_pumpkin_yokan), _194y._btn_back = new _194q.BtnBase(-1, _194w), _194y._btn_back.position.set(478, 304), _194y.addChild(_194y._btn_back), _194y._pumpkin_hitarea = new PIXI.Graphics(), _194y._pumpkin_hitarea.position.set(471, 0), _194y.addChild(_194y._pumpkin_hitarea), _194y._eye = new PIXI.Sprite(_194p.ITEM_ILIST_PUMPKIN.getTexture(8)), _194y._eye.position.set(527, 75), _194y.addChild(_194y._eye), _194y; } return _1949(_194v, _194t), _194v.prototype.initialize = function() { var _1951 = null; this.texture = _194p.ITEM_ILIST_PUMPKIN.getTexture(10); var _1952 = _194p.ITEM_ILIST_PUMPKIN.getTexture(4); this._btn_halloween_party.initialize(_1952), _1952 = _194p.ITEM_ILIST_PUMPKIN.getTexture(5), this._btn_pumpkin_yokan.initialize(_1952), _1952 = _194p.ITEM_ILIST_PUMPKIN.getTexture(0), this._btn_back.initialize(_1952), this._btn_halloween_party.on(_194r.EventType.MOUSEOVER, this._onMouseOver), this._btn_halloween_party.on(_194r.EventType.MOUSEOUT, this._onMouseOut), this._btn_pumpkin_yokan.on(_194r.EventType.MOUSEOVER, this._onMouseOver), this._btn_pumpkin_yokan.on(_194r.EventType.MOUSEOUT, this._onMouseOut), this._btn_back.on(_194r.EventType.MOUSEOVER, this._onMouseOver), this._btn_back.on(_194r.EventType.MOUSEOUT, this._onMouseOut), this._pumpkin_hitarea.beginFill(16774898, 0), this._pumpkin_hitarea.drawRect(0, 0, 180, 165), this._pumpkin_hitarea.endFill(), this._pumpkin_hitarea.interactive = !0, this._pumpkin_hitarea.on(_194r.EventType.MOUSEOVER, this._onMouseOver), this._pumpkin_hitarea.on(_194r.EventType.MOUSEOUT, this._onMouseOut); }, _194v.prototype.activate = function() { var _1953 = null; this._btn_halloween_party.activate(), this._btn_pumpkin_yokan.activate(), this._btn_back.activate(); }, _194v.prototype.deactivate = function() { var _1954 = null; this._btn_halloween_party.deactivate(), this._btn_pumpkin_yokan.deactivate(), this._btn_back.deactivate(); }, _194v.prototype.dispose = function() { var _1955 = null; this.removeChildren(), this._message1.destroy(), this._btn_halloween_party.dispose(), this._btn_pumpkin_yokan.dispose(), this._btn_back.dispose(); }, _194v; }(PIXI.Sprite); _1945.TopView = _194s; }, 17461: function(_1956, _1957, _1958) { 'use strict'; var _1959 = null; var _195a, _195b = this && this.__extends || (_195a = function(_195c, _195d) { var _195e = null; return _195a = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_195f, _195g) { var _195h = null; _195f.__proto__ = _195g; } || function(_195i, _195j) { var _195k = null; for (var _195l in _195j) Object.prototype.hasOwnProperty.call(_195j, _195l) && (_195i[_195l] = _195j[_195l]); }, _195a(_195c, _195d); }, function(_195m, _195n) { var _195o = null; if ('function' != typeof _195n && null !== _195n) throw new TypeError('Class extends value ' + String(_195n) + ' is not a constructor or null'); function _195p() { var _195q = null; this.constructor = _195m; } _195a(_195m, _195n), _195m.prototype = null === _195n ? Object.create(_195n) : (_195p.prototype = _195n.prototype, new _195p()); }), _195r = this && this.__importDefault || function(_195s) { var _195t = null; return _195s && _195s.__esModule ? _195s : { 'default': _195s }; }; defineModule(_1957); Object.defineProperty(_1957, '__esModule', { 'value': !0 }), _1957.TaskUseTeruteruBozu = _1957.getUseTypeIndex = void 0; var _195u = _1958(45111), _195v = _1958(23098), _195w = _1958(44083), _195x = _1958(41177), _195y = _195r(_1958(18622)); function _195z(_1960) { switch (_1960) { case 111: return 0; case 112: return 1; case 113: return 2; case 114: return 3; default: return -1; } } _1957.getUseTypeIndex = _195z; var _1961 = function(_1962) { var _1963 = null; function _1964(_1965, _1966) { var _1967 = null, _1968 = _1962.call(this) || this; return _1968._onResult = function(_1969) { var _196a = null; _1968._dialog.deactivate(), _1968._seleced_use_type = _1969, -1 == _1969 ? _1968._hideDialog(!1) : _1968._connectAPI(); }, _1968._layer = _1965, _1968._target = _1966, _1968; } return _195b(_1964, _1962), _1964.prototype._start = function() { var _196b = null; this._showDialog(); }, _1964.prototype._showDialog = function() { var _196c = null, _196d = this; this._dialog = new _195x.TeruteruBozuUseDialog(this._onResult), this._dialog.initialize(this._target.count), this._dialog.alpha = 0, this._layer.addChild(this._dialog), createjs.Tween.get(this._dialog).to({ 'alpha': 1 }, 150).call(function() { var _196e = null; _196d._dialog.activate(); }); }, _1964.prototype._connectAPI = function() { var _196f = null, _196g = this, _196h = this._target.mstID, _196i = this._seleced_use_type, _196j = new _195u.UseItemUseAPI(_196h, !1, _196i), _196k = _196j.result; _196j.start(function() { var _196l = null; 1 == _196k.hasCaution() ? _196g._hideDialog(!0) : (_196g._result = _196k, _196g._updateUsageLimit(_196i), _196g._hideDialog(!1)); }); }, _1964.prototype._hideDialog = function(_196m) { var _196n = null, _196o = this; createjs.Tween.get(this._dialog).to({ 'alpha': 0 }, 150).call(function() { var _196p = null; _196o._dialog.dispose(), _196o._layer.removeChild(_196o._dialog), _196o._dialog = null, 1 == _196m ? _196o._confirm() : _196o._endTask(); }); }, _1964.prototype._confirm = function() { var _196q = null, _196r = this, _196s = this._target.mstID, _196t = this._seleced_use_type, _196u = this._layer, _196v = new _195w.TaskItemOverflowConfirm(_196u); _196v.start(function() { var _196w = null; if (1 == _196v.result) { var _196x = new _195u.UseItemUseAPI(_196s, !0, _196t), _196y = _196x.result; _196x.start(function() { var _196z = null; _196r._result = _196y, _196r._updateUsageLimit(_196t), _196r._endTask(); }); } else _196r._endTask(); }); }, _1964.prototype._updateUsageLimit = function(_1970) { var _1971 = null, _1972 = _195z(_1970); if (_1972 > -1) { var _1973 = _195y.default.model.basic.getCFlag(_1972) + 1; _195y.default.model.basic.setCFlag(_1972, _1973); } }, _1964.prototype._endTask = function() { var _1974 = null; this._layer = null, this._target = null, _1962.prototype._endTask.call(this); }, _1964; }(_195v.TaskWithResult); _1957.TaskUseTeruteruBozu = _1961; }, 49785: function(_1975, _1976, _1977) { 'use strict'; var _1978 = null; var _1979, _197a = this && this.__extends || (_1979 = function(_197b, _197c) { var _197d = null; return _1979 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_197e, _197f) { var _197g = null; _197e.__proto__ = _197f; } || function(_197h, _197i) { var _197j = null; for (var _197k in _197i) Object.prototype.hasOwnProperty.call(_197i, _197k) && (_197h[_197k] = _197i[_197k]); }, _1979(_197b, _197c); }, function(_197l, _197m) { var _197n = null; if ('function' != typeof _197m && null !== _197m) throw new TypeError('Class extends value ' + String(_197m) + ' is not a constructor or null'); function _197o() { var _197p = null; this.constructor = _197l; } _1979(_197l, _197m), _197l.prototype = null === _197m ? Object.create(_197m) : (_197o.prototype = _197m.prototype, new _197o()); }); defineModule(_1976); Object.defineProperty(_1976, '__esModule', { 'value': !0 }), _1976.ConfirmView = void 0; var _197q = _1977(99950), _197r = _1977(23098), _197s = function(_197t) { var _197u = null; function _197v(_197w, _197x) { var _197y = null, _197z = _197t.call(this) || this; return _197z._icon = new PIXI.Sprite(), _197z._icon.position.set(45, 102), _197z.addChild(_197z._icon), _197z._err_message = new PIXI.Sprite(), _197z._err_message.position.set(100, 263), _197z.addChild(_197z._err_message), _197z._btn_yes = new _197r.BtnBase(_197w, _197x), _197z._btn_yes.position.set(171, 328), _197z.addChild(_197z._btn_yes), _197z._btn_back = new _197r.BtnBase(-1, _197x), _197z._btn_back.position.set(310, 383), _197z.addChild(_197z._btn_back), _197z; } return _197a(_197v, _197t), _197v.prototype.initialize = function(_1980, _1981) { var _1982 = null, _1983 = 0; this.texture = _197q.ITEM_ILIST_TERUTERUBOZU.getTexture(16), 113 == _1980 ? (this._icon.texture = _197q.ITEM_ILIST_TERUTERUBOZU.getTexture(17), this._icon.position.set(45, 102), _1983 = 12) : 112 == _1980 ? (this._icon.texture = _197q.ITEM_ILIST_TERUTERUBOZU.getTexture(18), _1983 = 11) : 111 == _1980 ? (this._icon.texture = _197q.ITEM_ILIST_TERUTERUBOZU.getTexture(19), _1983 = 10) : 114 == _1980 && (this._icon.texture = _197q.ITEM_ILIST_TERUTERUBOZU.getTexture(20), _1983 = 1); var _1984 = _197q.ITEM_ILIST_TERUTERUBOZU.getTexture(1), _1985 = _197q.ITEM_ILIST_TERUTERUBOZU.getTexture(2); this._btn_yes.initialize(_1984, _1985), this._err_message.texture = _197q.ITEM_ILIST_TERUTERUBOZU.getTexture(21), _1981 < _1983 ? (this._btn_yes.enabled = !1, this._err_message.visible = !0) : (this._btn_yes.enabled = !0, this._err_message.visible = !1), _1984 = _197q.ITEM_ILIST_TERUTERUBOZU.getTexture(0), this._btn_back.initialize(_1984); }, _197v.prototype.activate = function() { var _1986 = null; this._btn_yes.activate(), this._btn_back.activate(); }, _197v.prototype.deactivate = function() { var _1987 = null; this._btn_yes.deactivate(), this._btn_back.deactivate(); }, _197v.prototype.dispose = function() { var _1988 = null; this.removeChildren(), this._icon.destroy(), this._btn_yes.dispose(), this._btn_back.dispose(); }, _197v; }(PIXI.Sprite); _1976.ConfirmView = _197s; }, 41177: function(_1989, _198a, _198b) { 'use strict'; var _198c = null; var _198d, _198e = this && this.__extends || (_198d = function(_198f, _198g) { var _198h = null; return _198d = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_198i, _198j) { var _198k = null; _198i.__proto__ = _198j; } || function(_198l, _198m) { var _198n = null; for (var _198o in _198m) Object.prototype.hasOwnProperty.call(_198m, _198o) && (_198l[_198o] = _198m[_198o]); }, _198d(_198f, _198g); }, function(_198p, _198q) { var _198r = null; if ('function' != typeof _198q && null !== _198q) throw new TypeError('Class extends value ' + String(_198q) + ' is not a constructor or null'); function _198s() { var _198t = null; this.constructor = _198p; } _198d(_198p, _198q), _198p.prototype = null === _198q ? Object.create(_198q) : (_198s.prototype = _198q.prototype, new _198s()); }); defineModule(_198a); Object.defineProperty(_198a, '__esModule', { 'value': !0 }), _198a.TeruteruBozuUseDialog = void 0; var _198u = _198b(23098), _198v = _198b(66079), _198w = _198b(49785), _198x = function(_198y) { var _198z = null; function _1990(_1991) { var _1992 = null, _1993 = _198y.call(this) || this; return _1993._onSelectFromTop = function(_1994) { var _1995 = null; if (_1993._top_view.deactivate(), -1 == _1994) { if (null == _1993._cb_onResult) return; _1993._cb_onResult(_1994); } else _1993._confirm_view = new _198w.ConfirmView(_1994, _1993._onSelectFromConfirm), _1993._confirm_view.position.set(427, 138), _1993.addChild(_1993._confirm_view), _1993._confirm_view.initialize(_1994, _1993._count), _1993._confirm_view.activate(), _1993._top_view.dispose(), _1993.removeChild(_1993._top_view), _1993._top_view = null; }, _1993._onSelectFromConfirm = function(_1996) { var _1997 = null; null != _1993._cb_onResult && _1993._cb_onResult(_1996); }, _1993._cb_onResult = _1991, _1993._top_view = new _198v.TopView(_1993._onSelectFromTop), _1993._top_view.position.set(398, 116), _1993.addChild(_1993._top_view), _1993; } return _198e(_1990, _198y), _1990.prototype.initialize = function(_1998) { var _1999 = null; this._count = _1998, this._top_view.initialize(); }, _1990.prototype.activate = function() { var _199a = null; null != this._top_view && this._top_view.activate(), null != this._confirm_view && this._confirm_view.activate(); }, _1990.prototype.deactivate = function() { var _199b = null; null != this._top_view && this._top_view.deactivate(), null != this._confirm_view && this._confirm_view.deactivate(); }, _1990.prototype.dispose = function() { var _199c = null; null != this._top_view && this._top_view.dispose(), null != this._confirm_view && this._confirm_view.dispose(); }, _1990; }(_198u.DialogBase); _198a.TeruteruBozuUseDialog = _198x; }, 66079: function(_199d, _199e, _199f) { 'use strict'; var _199g = null; var _199h, _199i = this && this.__extends || (_199h = function(_199j, _199k) { var _199l = null; return _199h = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_199m, _199n) { var _199o = null; _199m.__proto__ = _199n; } || function(_199p, _199q) { var _199r = null; for (var _199s in _199q) Object.prototype.hasOwnProperty.call(_199q, _199s) && (_199p[_199s] = _199q[_199s]); }, _199h(_199j, _199k); }, function(_199t, _199u) { var _199v = null; if ('function' != typeof _199u && null !== _199u) throw new TypeError('Class extends value ' + String(_199u) + ' is not a constructor or null'); function _199w() { var _199x = null; this.constructor = _199t; } _199h(_199t, _199u), _199t.prototype = null === _199u ? Object.create(_199u) : (_199w.prototype = _199u.prototype, new _199w()); }), _199y = this && this.__importDefault || function(_199z) { var _19a0 = null; return _199z && _199z.__esModule ? _199z : { 'default': _199z }; }; defineModule(_199e); Object.defineProperty(_199e, '__esModule', { 'value': !0 }), _199e.Btn = _199e.TopView = void 0; var _19a1 = _199f(99950), _19a2 = _199f(23098), _19a3 = _199y(_199f(18622)), _19a4 = _199f(17461), _19a5 = _199f(35380), _19a6 = function(_19a7) { var _19a8 = null; function _19a9(_19aa) { var _19ab = null, _19ac = _19a7.call(this) || this; return _19ac._btn_furniture = new _19ad(111, new PIXI.Point(305, 160), _19aa), _19ac.addChild(_19ac._btn_furniture), _19ac._btn_mosquito = new _19ad(112, new PIXI.Point(26, 160), _19aa), _19ac.addChild(_19ac._btn_mosquito), _19ac._btn_blue_ribbon = new _19ad(113, new PIXI.Point(165, 18), _19aa), _19ac.addChild(_19ac._btn_blue_ribbon), _19ac._btn_sizai = new _19ad(114, new PIXI.Point(165, 304), _19aa), _19ac.addChild(_19ac._btn_sizai), _19ac._btn_back = new _19a2.BtnBase(-1, _19aa), _19ac._btn_back.position.set(359, 431), _19ac.addChild(_19ac._btn_back), _19ac; } return _199i(_19a9, _19a7), _19a9.prototype.initialize = function() { var _19ae = null; this.texture = _19a1.ITEM_ILIST_TERUTERUBOZU.getTexture(15); var _19af = this._enable_ribbon() ? _19a1.ITEM_ILIST_TERUTERUBOZU.getTexture(3) : _19a1.ITEM_ILIST_TERUTERUBOZU.getTexture(4), _19ag = _19a1.ITEM_ILIST_TERUTERUBOZU.getTexture(5); this._btn_blue_ribbon.initialize(_19af, _19ag), _19af = this._enable_mosquite() ? _19a1.ITEM_ILIST_TERUTERUBOZU.getTexture(6) : _19a1.ITEM_ILIST_TERUTERUBOZU.getTexture(7); var _19ah = _19a1.ITEM_ILIST_TERUTERUBOZU.getTexture(8); this._btn_mosquito.initialize(_19af, _19ah), _19af = this._enable_furniture() ? _19a1.ITEM_ILIST_TERUTERUBOZU.getTexture(9) : _19a1.ITEM_ILIST_TERUTERUBOZU.getTexture(10); var _19ai = _19a1.ITEM_ILIST_TERUTERUBOZU.getTexture(11); this._btn_furniture.initialize(_19af, _19ai), _19af = this._enable_sizai() ? _19a1.ITEM_ILIST_TERUTERUBOZU.getTexture(12) : _19a1.ITEM_ILIST_TERUTERUBOZU.getTexture(13); var _19aj = _19a1.ITEM_ILIST_TERUTERUBOZU.getTexture(14); this._btn_sizai.initialize(_19af, _19aj), _19af = _19a1.ITEM_ILIST_TERUTERUBOZU.getTexture(0), this._btn_back.initialize(_19af); }, _19a9.prototype.activate = function() { var _19ak = null; this._enable_furniture() && this._btn_furniture.activate(), this._enable_mosquite() && this._btn_mosquito.activate(), this._enable_ribbon() && this._btn_blue_ribbon.activate(), this._enable_sizai() && this._btn_sizai.activate(), this._btn_back.activate(); }, _19a9.prototype.deactivate = function() { var _19al = null; this._btn_furniture.deactivate(), this._btn_mosquito.deactivate(), this._btn_blue_ribbon.deactivate(), this._btn_sizai.deactivate(), this._btn_back.deactivate(); }, _19a9.prototype._enable_sizai = function() { var _19am = null, _19an = (0, _19a4.getUseTypeIndex)(114); return _19a3.default.model.basic.getCFlag(_19an) < 7; }, _19a9.prototype._enable_furniture = function() { var _19ao = null, _19ap = (0, _19a4.getUseTypeIndex)(111); return _19a3.default.model.basic.getCFlag(_19ap) < 1; }, _19a9.prototype._enable_mosquite = function() { var _19aq = null, _19ar = (0, _19a4.getUseTypeIndex)(112); return _19a3.default.model.basic.getCFlag(_19ar) < 1; }, _19a9.prototype._enable_ribbon = function() { var _19as = null, _19at = (0, _19a4.getUseTypeIndex)(113); return _19a3.default.model.basic.getCFlag(_19at) < 2; }, _19a9.prototype.dispose = function() { var _19au = null; this.removeChildren(), this._btn_furniture.dispose(), this._btn_mosquito.dispose(), this._btn_blue_ribbon.dispose(), this._btn_sizai.dispose(), this._btn_back.dispose(); }, _19a9; }(PIXI.Sprite); _199e.TopView = _19a6; var _19ad = function(_19av) { var _19aw = null; function _19ax(_19ay, _19az, _19b0) { var _19b1 = null, _19b2 = _19av.call(this) || this; return _19b2._activated = !1, _19b2._onMouseOver = function() { var _19b3 = null; _19b2.position.set(_19b2._base_pos.x - 14, _19b2._base_pos.y - 15), _19b2.texture = _19b2._t_on; }, _19b2._onMouseOut = function() { var _19b4 = null; _19b2.position = _19b2._base_pos, _19b2.texture = _19b2._t; }, _19b2._onClick = function() { var _19b5 = null; null != _19b2._cb_onClick && _19b2._cb_onClick(_19b2._target); }, _19b2._target = _19ay, _19b2._cb_onClick = _19b0, _19b2.interactive = !0, _19b2._base_pos = _19az, _19b2.position = _19az, _19b2; } return _199i(_19ax, _19av), _19ax.prototype.initialize = function(_19b6, _19b7) { var _19b8 = null; this._t = _19b6, this._t_on = _19b7, this.texture = this._t; }, _19ax.prototype.activate = function() { var _19b9 = null; 1 != this._activated && (this._activated = !0, this._activate()); }, _19ax.prototype.deactivate = function() { var _19ba = null; this._activated = !1, this._deactivate(); }, _19ax.prototype.dispose = function() { var _19bb = null; this.deactivate(), this._cb_onClick = null, this._t = null, this._t_on = null; }, _19ax.prototype._activate = function() { var _19bc = null; this.buttonMode = !0, this.once(_19a5.EventType.CLICK, this._onClick), this.on(_19a5.EventType.MOUSEOVER, this._onMouseOver), this.on(_19a5.EventType.MOUSEOUT, this._onMouseOut); }, _19ax.prototype._deactivate = function() { var _19bd = null; this.buttonMode = !1, this.off(_19a5.EventType.CLICK, this._onClick), this.off(_19a5.EventType.MOUSEOVER, this._onMouseOver), this.off(_19a5.EventType.MOUSEOUT, this._onMouseOut); }, _19ax; }(PIXI.Sprite); _199e.Btn = _19ad; }, 63715: function(_19be, _19bf, _19bg) { 'use strict'; var _19bh = null; var _19bi, _19bj = this && this.__extends || (_19bi = function(_19bk, _19bl) { var _19bm = null; return _19bi = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_19bn, _19bo) { var _19bp = null; _19bn.__proto__ = _19bo; } || function(_19bq, _19br) { var _19bs = null; for (var _19bt in _19br) Object.prototype.hasOwnProperty.call(_19br, _19bt) && (_19bq[_19bt] = _19br[_19bt]); }, _19bi(_19bk, _19bl); }, function(_19bu, _19bv) { var _19bw = null; if ('function' != typeof _19bv && null !== _19bv) throw new TypeError('Class extends value ' + String(_19bv) + ' is not a constructor or null'); function _19bx() { var _19by = null; this.constructor = _19bu; } _19bi(_19bu, _19bv), _19bu.prototype = null === _19bv ? Object.create(_19bv) : (_19bx.prototype = _19bv.prototype, new _19bx()); }), _19bz = this && this.__importDefault || function(_19c0) { var _19c1 = null; return _19c0 && _19c0.__esModule ? _19c0 : { 'default': _19c0 }; }; defineModule(_19bf); Object.defineProperty(_19bf, '__esModule', { 'value': !0 }), _19bf.TaskUseNormalItem = void 0; var _19c2 = _19bz(_19bg(18622)), _19c3 = _19bg(45111), _19c4 = _19bg(23098), _19c5 = _19bg(44083), _19c6 = function(_19c7) { var _19c8 = null; function _19c9(_19ca, _19cb) { var _19cc = null, _19cd = _19c7.call(this) || this; return _19cd._layer = _19ca, _19cd._target = _19cb, _19cd; } return _19bj(_19c9, _19c7), _19c9.prototype._start = function() { var _19ce = null; this._connectAPI(); }, _19c9.prototype._connectAPI = function() { var _19cf = null, _19cg = this, _19ch = this._target.mstID, _19ci = (_19c2.default.view.overLayer, new _19c3.UseItemUseAPI(_19ch, !1, 0)), _19cj = _19ci.result; _19ci.start(function() { var _19ck = null; 1 == _19cj.hasCaution() ? _19cg._confirm() : (_19cg._result = _19cj, _19cg._endTask()); }); }, _19c9.prototype._confirm = function() { var _19cl = null, _19cm = this, _19cn = this._target.mstID, _19co = this._layer, _19cp = new _19c5.TaskItemOverflowConfirm(_19co); _19cp.start(function() { var _19cq = null; if (1 == _19cp.result) { var _19cr = new _19c3.UseItemUseAPI(_19cn, !0, 0), _19cs = _19cr.result; _19cr.start(function() { var _19ct = null; _19cm._result = _19cs, _19cm._endTask(); }); } else _19cm._endTask(); }); }, _19c9.prototype._endTask = function() { var _19cu = null; this._layer = null, this._target = null, _19c7.prototype._endTask.call(this); }, _19c9; }(_19c4.TaskWithResult); _19bf.TaskUseNormalItem = _19c6; }, 15842: function(_19cv, _19cw, _19cx) { 'use strict'; var _19cy = null; var _19cz, _19d0 = this && this.__extends || (_19cz = function(_19d1, _19d2) { var _19d3 = null; return _19cz = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_19d4, _19d5) { var _19d6 = null; _19d4.__proto__ = _19d5; } || function(_19d7, _19d8) { var _19d9 = null; for (var _19da in _19d8) Object.prototype.hasOwnProperty.call(_19d8, _19da) && (_19d7[_19da] = _19d8[_19da]); }, _19cz(_19d1, _19d2); }, function(_19db, _19dc) { var _19dd = null; if ('function' != typeof _19dc && null !== _19dc) throw new TypeError('Class extends value ' + String(_19dc) + ' is not a constructor or null'); function _19de() { var _19df = null; this.constructor = _19db; } _19cz(_19db, _19dc), _19db.prototype = null === _19dc ? Object.create(_19dc) : (_19de.prototype = _19dc.prototype, new _19de()); }); defineModule(_19cw); Object.defineProperty(_19cw, '__esModule', { 'value': !0 }), _19cw.TaskWithResult = void 0; var _19dg = function(_19dh) { var _19di = null; function _19dj() { var _19dk = null, _19dl = null !== _19dh && _19dh.apply(this, arguments) || this; return _19dl._result = null, _19dl; } return _19d0(_19dj, _19dh), Object.defineProperty(_19dj.prototype, 'result', { 'get': function() { var _19dm = null; return this._result; }, 'enumerable': !1, 'configurable': !0 }), _19dj; }(_19cx(37562).TaskBase); _19cw.TaskWithResult = _19dg; }, 16331: function(_19dn, _19do, _19dp) { 'use strict'; var _19dq = null; var _19dr, _19ds = this && this.__extends || (_19dr = function(_19dt, _19du) { var _19dv = null; return _19dr = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_19dw, _19dx) { var _19dy = null; _19dw.__proto__ = _19dx; } || function(_19dz, _19e0) { var _19e1 = null; for (var _19e2 in _19e0) Object.prototype.hasOwnProperty.call(_19e0, _19e2) && (_19dz[_19e2] = _19e0[_19e2]); }, _19dr(_19dt, _19du); }, function(_19e3, _19e4) { var _19e5 = null; if ('function' != typeof _19e4 && null !== _19e4) throw new TypeError('Class extends value ' + String(_19e4) + ' is not a constructor or null'); function _19e6() { var _19e7 = null; this.constructor = _19e3; } _19dr(_19e3, _19e4), _19e3.prototype = null === _19e4 ? Object.create(_19e4) : (_19e6.prototype = _19e4.prototype, new _19e6()); }); defineModule(_19do); Object.defineProperty(_19do, '__esModule', { 'value': !0 }), _19do.BtnBase = void 0; var _19e8 = _19dp(35380), _19e9 = function(_19ea) { var _19eb = null; function _19ec(_19ed, _19ee) { var _19ef = null, _19eg = _19ea.call(this) || this; return _19eg._activated = !1, _19eg._enabled = !0, _19eg._onClick = function() { var _19eh = null; null != _19eg._cb_onClick && _19eg._cb_onClick(_19eg._target); }, _19eg._target = _19ed, _19eg._cb_onClick = _19ee, _19eg.interactive = !0, _19eg; } return _19ds(_19ec, _19ea), Object.defineProperty(_19ec.prototype, 'enabled', { 'get': function() { var _19ei = null; return this._enabled; }, 'set': function(_19ej) { var _19ek = null; this._enabled != _19ej && (this._enabled = _19ej, 1 == this._enabled ? 1 == this._activated && this._activate() : 1 == this._activated && this._deactivate(), this._update()); }, 'enumerable': !1, 'configurable': !0 }), _19ec.prototype.initialize = function(_19el, _19em) { var _19en = null; void 0 === _19em && (_19em = null), this._t = _19el, this._t_off = null == _19em ? _19el : _19em, this._update(); }, _19ec.prototype.activate = function() { var _19eo = null; 1 != this._activated && (this._activated = !0, 0 != this._enabled && this._activate()); }, _19ec.prototype.deactivate = function() { var _19ep = null; this._activated = !1, this._deactivate(); }, _19ec.prototype.dispose = function() { var _19eq = null; this.deactivate(), this._cb_onClick = null, this._t = null, this._t_off = null; }, _19ec.prototype._update = function() { var _19er = null; 0 == this._enabled ? this.texture = this._t_off : this.texture = this._t; }, _19ec.prototype._activate = function() { var _19es = null; this.buttonMode = !0, this.once(_19e8.EventType.CLICK, this._onClick); }, _19ec.prototype._deactivate = function() { var _19et = null; this.buttonMode = !1, this.off(_19e8.EventType.CLICK, this._onClick); }, _19ec; }(PIXI.Sprite); _19do.BtnBase = _19e9; }, 94485: function(_19eu, _19ev) { 'use strict'; var _19ew = null; var _19ex, _19ey = this && this.__extends || (_19ex = function(_19ez, _19f0) { var _19f1 = null; return _19ex = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_19f2, _19f3) { var _19f4 = null; _19f2.__proto__ = _19f3; } || function(_19f5, _19f6) { var _19f7 = null; for (var _19f8 in _19f6) Object.prototype.hasOwnProperty.call(_19f6, _19f8) && (_19f5[_19f8] = _19f6[_19f8]); }, _19ex(_19ez, _19f0); }, function(_19f9, _19fa) { var _19fb = null; if ('function' != typeof _19fa && null !== _19fa) throw new TypeError('Class extends value ' + String(_19fa) + ' is not a constructor or null'); function _19fc() { var _19fd = null; this.constructor = _19f9; } _19ex(_19f9, _19fa), _19f9.prototype = null === _19fa ? Object.create(_19fa) : (_19fc.prototype = _19fa.prototype, new _19fc()); }); defineModule(_19ev); Object.defineProperty(_19ev, '__esModule', { 'value': !0 }), _19ev.DialogBase = void 0; var _19fe = function(_19ff) { function _19fg() { var _19fh = null; return null !== _19ff && _19ff.apply(this, arguments) || this; } return _19ey(_19fg, _19ff), _19fg; }(PIXI.Sprite); _19ev.DialogBase = _19fe; }, 23098: function(_19fi, _19fj, _19fk) { 'use strict'; var _19fl = null; var _19fm = this && this.__createBinding || (Object.create ? function(_19fn, _19fo, _19fp, _19fq) { var _19fr = null; void 0 === _19fq && (_19fq = _19fp); var _19fs = Object.getOwnPropertyDescriptor(_19fo, _19fp); _19fs && !('get' in _19fs ? !_19fo.__esModule : _19fs.writable || _19fs.configurable) || (_19fs = { 'enumerable': !0, 'get': function() { return _19fo[_19fp]; } }), Object.defineProperty(_19fn, _19fq, _19fs); } : function(_19ft, _19fu, _19fv, _19fw) { void 0 === _19fw && (_19fw = _19fv), _19ft[_19fw] = _19fu[_19fv]; }), _19fx = this && this.__exportStar || function(_19fy, _19fz) { var _19g0 = null; for (var _19g1 in _19fy) 'default' === _19g1 || Object.prototype.hasOwnProperty.call(_19fz, _19g1) || _19fm(_19fz, _19fy, _19g1); }; defineModule(_19fj); Object.defineProperty(_19fj, '__esModule', { 'value': !0 }), _19fx(_19fk(15842), _19fj), _19fx(_19fk(63715), _19fj), _19fx(_19fk(94485), _19fj), _19fx(_19fk(16331), _19fj); }, 4: function(_19g2, _19g3, _19g4) { 'use strict'; var _19g5 = null; var _19g6, _19g7 = this && this.__extends || (_19g6 = function(_19g8, _19g9) { var _19ga = null; return _19g6 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_19gb, _19gc) { var _19gd = null; _19gb.__proto__ = _19gc; } || function(_19ge, _19gf) { var _19gg = null; for (var _19gh in _19gf) Object.prototype.hasOwnProperty.call(_19gf, _19gh) && (_19ge[_19gh] = _19gf[_19gh]); }, _19g6(_19g8, _19g9); }, function(_19gi, _19gj) { var _19gk = null; if ('function' != typeof _19gj && null !== _19gj) throw new TypeError('Class extends value ' + String(_19gj) + ' is not a constructor or null'); function _19gl() { var _19gm = null; this.constructor = _19gi; } _19g6(_19gi, _19gj), _19gi.prototype = null === _19gj ? Object.create(_19gj) : (_19gl.prototype = _19gj.prototype, new _19gl()); }); defineModule(_19g3); Object.defineProperty(_19g3, '__esModule', { 'value': !0 }), _19g3.TaskItemOverflowConfirm = void 0; var _19gn = _19g4(81755), _19go = _19g4(87475), _19gp = _19g4(92990), _19gq = _19g4(35380), _19gr = function(_19gs) { var _19gt = null; function _19gu(_19gv) { var _19gw = null, _19gx = _19gs.call(this) || this; return _19gx._result = !1, _19gx._onYes = function() { var _19gy = null; _19gx._result = !0, _19gx._dialog.btn_no.off(_19gq.EventType.CLICK, _19gx._onNo), _19gx._hideDialog(); }, _19gx._onNo = function() { var _19gz = null; _19gx._dialog.btn_yes.off(_19gq.EventType.CLICK, _19gx._onYes), _19gx._hideDialog(); }, _19gx._layer = _19gv, _19gx; } return _19g7(_19gu, _19gs), Object.defineProperty(_19gu.prototype, 'result', { 'get': function() { var _19h0 = null; return this._result; }, 'enumerable': !1, 'configurable': !0 }), _19gu.prototype._start = function() { var _19h1 = null; this._showFade(); }, _19gu.prototype._showFade = function() { var _19h2 = null, _19h3 = this; this._fade = new _19go.FadeBox(0.2), this._fade.hide(0), this._layer.addChild(this._fade), this._fade.show(200, function() { var _19h4 = null; _19h3._showDialog(); }); }, _19gu.prototype._showDialog = function() { var _19h5 = null, _19h6 = this; this._dialog = new _19h7(), this._dialog.position.set(219, 207), this._dialog.alpha = 0, this._fade.addChild(this._dialog), this._dialog.initialize(), createjs.Tween.get(this._dialog).to({ 'alpha': 1 }, 250).call(function() { var _19h8 = null; _19h6._waitSelect(); }); }, _19gu.prototype._waitSelect = function() { var _19h9 = null; this._dialog.btn_yes.once(_19gq.EventType.CLICK, this._onYes), this._dialog.btn_no.once(_19gq.EventType.CLICK, this._onNo); }, _19gu.prototype._hideDialog = function() { var _19ha = null, _19hb = this; createjs.Tween.get(this._fade).to({ 'alpha': 0 }, 300).call(function() { var _19hc = null; _19hb._layer.removeChild(_19hb._fade), _19hb._fade = null, _19hb._dialog = null, _19hb._endTask(); }); }, _19gu; }(_19gn.TaskBase); _19g3.TaskItemOverflowConfirm = _19gr; var _19h7 = function(_19hd) { var _19he = null; function _19hf() { var _19hg = null, _19hh = _19hd.call(this) || this; return _19hh._btn_yes = new PIXI.Sprite(), _19hh._btn_yes.position.set(203, 216), _19hh._btn_yes.interactive = !0, _19hh._btn_yes.buttonMode = !0, _19hh.addChild(_19hh._btn_yes), _19hh._btn_no = new PIXI.Sprite(), _19hh._btn_no.position.set(419, 216), _19hh._btn_no.interactive = !0, _19hh._btn_no.buttonMode = !0, _19hh.addChild(_19hh._btn_no), _19hh; } return _19g7(_19hf, _19hd), Object.defineProperty(_19hf.prototype, 'btn_yes', { 'get': function() { var _19hi = null; return this._btn_yes; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_19hf.prototype, 'btn_no', { 'get': function() { var _19hj = null; return this._btn_no; }, 'enumerable': !1, 'configurable': !0 }), _19hf.prototype.initialize = function() { var _19hk = null; this.texture = _19gp.ITEM_ILIST.getTexture(35), this._btn_yes.texture = _19gp.ITEM_ILIST.getTexture(10), this._btn_no.texture = _19gp.ITEM_ILIST.getTexture(4); }, _19hf; }(PIXI.Sprite); }, 21698: function(_19hl, _19hm, _19hn) { 'use strict'; var _19ho = null; var _19hp, _19hq = this && this.__extends || (_19hp = function(_19hr, _19hs) { var _19ht = null; return _19hp = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_19hu, _19hv) { var _19hw = null; _19hu.__proto__ = _19hv; } || function(_19hx, _19hy) { var _19hz = null; for (var _19i0 in _19hy) Object.prototype.hasOwnProperty.call(_19hy, _19i0) && (_19hx[_19i0] = _19hy[_19i0]); }, _19hp(_19hr, _19hs); }, function(_19i1, _19i2) { var _19i3 = null; if ('function' != typeof _19i2 && null !== _19i2) throw new TypeError('Class extends value ' + String(_19i2) + ' is not a constructor or null'); function _19i4() { var _19i5 = null; this.constructor = _19i1; } _19hp(_19i1, _19i2), _19i1.prototype = null === _19i2 ? Object.create(_19i2) : (_19i4.prototype = _19i2.prototype, new _19i4()); }), _19i6 = this && this.__importDefault || function(_19i7) { var _19i8 = null; return _19i7 && _19i7.__esModule ? _19i7 : { 'default': _19i7 }; }; defineModule(_19hm); Object.defineProperty(_19hm, '__esModule', { 'value': !0 }), _19hm.TaskUseItem = void 0; var _19i9 = _19i6(_19hn(18622)), _19ia = _19hn(81755), _19ib = _19hn(87475), _19ic = _19hn(35660), _19id = _19hn(58310), _19ie = _19hn(17103), _19if = _19hn(42552), _19ig = _19hn(95703), _19ih = _19hn(6147), _19ii = _19hn(70723), _19ij = _19hn(63715), _19ik = _19hn(97811), _19il = _19hn(183), _19im = _19hn(76444), _19in = _19hn(18852), _19io = _19hn(81642), _19ip = _19hn(56230), _19iq = _19hn(60867), _19ir = _19hn(96885), _19is = _19hn(8497), _19it = _19hn(17461), _19iu = _19hn(71633), _19iv = _19hn(71736), _19iw = _19hn(45134), _19ix = function(_19iy) { var _19iz = null; function _19j0(_19j1, _19j2) { var _19j3 = null, _19j4 = _19iy.call(this) || this; return _19j4._layer = _19j1, _19j4._target = _19j2, _19j4; } return _19hq(_19j0, _19iy), Object.defineProperty(_19j0.prototype, 'result', { 'get': function() { var _19j5 = null; return null != this._api_result; }, 'enumerable': !1, 'configurable': !0 }), _19j0.prototype._start = function() { var _19j6 = null; null != this._target ? (this._fade = new _19ib.FadeBox(0.6), this._fade.hide(0), this._startTask()) : this._endTask(); }, _19j0.prototype._startTask = function() { var _19j7 = null, _19j8, _19j9 = this._target.mstID; if (10 == _19j9 || 11 == _19j9 || 12 == _19j9) _19j8 = new _19ik.TaskUseFurnitureBox(this._fade, this._target); else { if (57 == _19j9) _19j8 = new _19il.TaskUseMedal(this._fade, this._target); else { if (60 == _19j9) _19j8 = new _19im.TaskUsePresentBox(this._fade, this._target); else { if (61 == _19j9) _19j8 = new _19in.TaskUseKouMedal(this._fade, this._target); else { if (62 == _19j9) _19j8 = new _19io.TaskUseHishimochi(this._fade, this._target); else { if (63 == _19j9) { var _19ja = _19i9.default.model.const.quest_max; 0, _19i9.default.model.basic.getDutyExecutableCount() < _19ja ? (_19ii.SE.play('244'), _19j8 = new _19ij.TaskUseNormalItem(this._fade, this._target)) : _19ii.SE.play('248'); } else 68 == _19j9 ? _19iu.EventConst.SANMA && (_19j8 = new _19iq.TaskUseSanma(this._fade, this._target)) : 93 == _19j9 ? _19iu.EventConst.SANMA : 72 == _19j9 || (80 == _19j9 ? _19j8 = new _19ip.TaskUseGiftBox(this._fade, this._target) : 85 == _19j9 || 86 == _19j9 || 87 == _19j9 || 88 == _19j9 || 89 == _19j9 || (90 == _19j9 ? _19iu.EventConst.SETSUBUN && (_19j8 = new _19ir.TaskUseSetsubun(this._fade, this._target)) : 96 == _19j9 ? _19iu.EventConst.HALLOWEEN && (_19j8 = new _19is.TaskUsePumpkin(this._fade, this._target)) : 97 == _19j9 ? _19iu.EventConst.TERUTERU_BOZU && (_19j8 = new _19it.TaskUseTeruteruBozu(this._fade, this._target)) : _19j8 = new _19ij.TaskUseNormalItem(this._fade, this._target))); } } } } } null != _19j8 ? this._showFade(_19j8) : this._endTask(); }, _19j0.prototype._showFade = function(_19jb) { var _19jc = null, _19jd = this; this._layer.addChild(this._fade), this._fade.show(200, function() { var _19je = null; _19jb.start(function() { var _19jf = null; _19jd._api_result = _19jb.result, _19jd._updateData(); }); }); }, _19j0.prototype._updateData = function() { var _19jg = null, _19jh = this; if (null != this._api_result) { if (63 == this._target.mstID) { var _19ji = _19i9.default.model.basic.getDutyExecutableCount(); _19i9.default.model.basic.setDutyExcutableCount(_19ji + 1); } else { if (68 == this._target.mstID || 93 == this._target.mstID) { var _19jj = _19i9.default.model.deck.get(1).getShipModel(0); _19i9.default.sound.voice.play(_19jj.mstID.toString(), 26); } } var _19jk = new _19ic.APIConnector(); if (_19jk.add(new _19if.UseItemAPI()), this._api_result.hasMaterialReward() && _19jk.add(new _19id.MaterialAPI()), this._api_result.hasCoinReward() && _19jk.add(new _19ig.UserDataAPI()), this._api_result.hasSlotitemReward()) { var _19jl = this._api_result.getSlotitemObjects(); _19i9.default.model.slot.addMemData(_19jl), _19jk.add(new _19ie.UnsetSlotAPI()); } this._api_result.hasFurnitureReward() && _19jk.add(new _19iw.UserFurnitureAPI()), _19jk.start(function() { var _19jm = null; _19i9.default.model.useItem.updateCount(), _19i9.default.view.portMain.updateInfo(), _19jh._updateFlagShip(_19jh._target.mstID), _19jh._showReward(); }); } else this._hideFade(); }, _19j0.prototype._updateFlagShip = function(_19jn) { var _19jo = null; if (-1 != [99, 98].indexOf(_19jn)) { var _19jp = {}; 98 == _19jn ? _19jp.api_sp_effect_items = [{ 'api_kind': _19iv.RibbonType.BLUE }] : 99 == _19jn && (_19jp.api_sp_effect_items = [{ 'api_kind': _19iv.RibbonType.WHITE }]), _19i9.default.model.deck.get(1).getShipModel(0).__updateSpEffects__(_19jp); } }, _19j0.prototype._showReward = function() { var _19jq = null, _19jr = this; if (null != this._api_result) { var _19js = this._api_result.rewards; if (null != _19js && 0 != _19js.length) { var _19jt = _19i9.default.view.overLayer; new _19ih.TaskReward(_19jt, _19js).start(function() { var _19ju = null; _19jr._hideFade(); }); } else this._hideFade(); } else this._hideFade(); }, _19j0.prototype._hideFade = function() { var _19jv = null, _19jw = this; this._fade.hide(150, function() { var _19jx = null; _19jw._layer.removeChild(_19jw._fade), _19jw._endTask(); }); }, _19j0.prototype._endTask = function() { var _19jy = null; this._layer = null, this._target = null, this._fade = null, _19iy.prototype._endTask.call(this); }, _19j0; }(_19ia.TaskBase); _19hm.TaskUseItem = _19ix; }, 44083: function(_19jz, _19k0, _19k1) { 'use strict'; var _19k2 = null; var _19k3 = this && this.__createBinding || (Object.create ? function(_19k4, _19k5, _19k6, _19k7) { var _19k8 = null; void 0 === _19k7 && (_19k7 = _19k6); var _19k9 = Object.getOwnPropertyDescriptor(_19k5, _19k6); _19k9 && !('get' in _19k9 ? !_19k5.__esModule : _19k9.writable || _19k9.configurable) || (_19k9 = { 'enumerable': !0, 'get': function() { return _19k5[_19k6]; } }), Object.defineProperty(_19k4, _19k7, _19k9); } : function(_19ka, _19kb, _19kc, _19kd) { void 0 === _19kd && (_19kd = _19kc), _19ka[_19kd] = _19kb[_19kc]; }), _19ke = this && this.__exportStar || function(_19kf, _19kg) { var _19kh = null; for (var _19ki in _19kf) 'default' === _19ki || Object.prototype.hasOwnProperty.call(_19kg, _19ki) || _19k3(_19kg, _19kf, _19ki); }; defineModule(_19k0); Object.defineProperty(_19k0, '__esModule', { 'value': !0 }), _19ke(_19k1(21698), _19k0), _19ke(_19k1(4), _19k0); }, 64887: function(_19kj, _19kk, _19kl) { 'use strict'; var _19km = null; var _19kn, _19ko = this && this.__extends || (_19kn = function(_19kp, _19kq) { var _19kr = null; return _19kn = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_19ks, _19kt) { var _19ku = null; _19ks.__proto__ = _19kt; } || function(_19kv, _19kw) { var _19kx = null; for (var _19ky in _19kw) Object.prototype.hasOwnProperty.call(_19kw, _19ky) && (_19kv[_19ky] = _19kw[_19ky]); }, _19kn(_19kp, _19kq); }, function(_19kz, _19l0) { var _19l1 = null; if ('function' != typeof _19l0 && null !== _19l0) throw new TypeError('Class extends value ' + String(_19l0) + ' is not a constructor or null'); function _19l2() { var _19l3 = null; this.constructor = _19kz; } _19kn(_19kz, _19l0), _19kz.prototype = null === _19l0 ? Object.create(_19l0) : (_19l2.prototype = _19l0.prototype, new _19l2()); }), _19l4 = this && this.__importDefault || function(_19l5) { var _19l6 = null; return _19l5 && _19l5.__esModule ? _19l5 : { 'default': _19l5 }; }; defineModule(_19kk); Object.defineProperty(_19kk, '__esModule', { 'value': !0 }), _19kk.OwnedItemListMain = void 0; var _19l7 = _19l4(_19kl(18622)), _19l8 = _19kl(31000), _19l9 = _19kl(77181), _19la = _19kl(53126), _19lb = _19kl(12185), _19lc = _19kl(8615), _19ld = _19kl(44083), _19le = _19kl(35380), _19lf = function(_19lg) { var _19lh = null; function _19li() { var _19lj = null, _19lk = _19lg.call(this) || this; return _19lk._onSelect = function(_19ll) { var _19lm = null; _19lk._detail_panel.update(_19ll); }, _19lk._onUse = function(_19ln) { var _19lo = null, _19lp = _19l7.default.model.useItem.get(_19ln); if (null != _19lp) { _19lk._soundSE(_19ln); var _19lq = _19l7.default.view.overLayer, _19lr = new _19ld.TaskUseItem(_19lq, _19lp); _19lr.start(function() { var _19ls = null; 1 == _19lr.result && (_19lk.update(!1), _19lk.activate(), _19lk._detail_panel.update(-1)); }); } }, _19lk._onExOpen = function() { var _19lt = null; _19lk._openExShelf(300); }, _19lk._onExClose = function() { var _19lu = null; _19lk._closeExShelf(300); }, _19lk._bg_layer = new PIXI.Container(), _19lk.addChild(_19lk._bg_layer), _19lk._btn_ex_close = new _19lv(), _19lk._btn_ex_close.position.set(186, 205), _19lk.addChild(_19lk._btn_ex_close), _19lk._btn_ex_open = new _19lw(), _19lk._btn_ex_open.position.set(735, 205), _19lk.addChild(_19lk._btn_ex_open), _19lk._shelf_layer = new PIXI.Container(), _19lk.addChild(_19lk._shelf_layer), _19lk._shelf_mask = new PIXI.Graphics(), _19lk._shelf_mask.beginFill(0), _19lk._shelf_mask.drawRect(180, 240, 727, 427), _19lk._shelf_mask.endFill(), _19lk.addChild(_19lk._shelf_mask), _19lk._shelf_layer.mask = _19lk._shelf_mask, _19lk._shelf_grad = new PIXI.Sprite(), _19lk._shelf_grad.position.set(180, 240), _19lk._shelf_grad.visible = !1, _19lk.addChild(_19lk._shelf_grad), _19lk._detail_panel = new _19lc.OwnedItemDetailPanel(_19lk._onUse), _19lk._detail_panel.position.set(904, 201), _19lk.addChild(_19lk._detail_panel), _19lk; } return _19ko(_19li, _19lg), _19li.prototype.initialize = function() { var _19lx = null, _19ly = new PIXI.Sprite(_19l8.ITEM_ILIST.getTexture(17)); _19ly.position.set(180, 202), this._bg_layer.addChild(_19ly), this._btn_ex_open.initialize(this._onExOpen), this._btn_ex_close.initialize(this._onExClose), (_19ly = new PIXI.Sprite(_19l8.ITEM_ILIST.getTexture(19))).position.set(180, 240), this._shelf_layer.addChild(_19ly), (_19ly = new PIXI.Sprite(_19l8.ITEM_ILIST.getTexture(20))).position.set(907, 240), this._shelf_layer.addChild(_19ly), this._shelf_grad.texture = _19l8.ITEM_ILIST.getTexture(1), this._detail_panel.initialize(), this._icons = []; for (var _19lz = _19la.ITEMLIST_ORDER.length, _19m0 = 0; _19m0 < _19lz; _19m0++) { var _19m1 = new _19lb.ItemIcon(this._onSelect); if (_19m0 < 32) { var _19m2 = Math.floor(_19m0 / 8); _19m1.x = 213 + _19m0 % 8 * 84, _19m1.y = 260 + 104 * _19m2, _19m2 >= 2 && (_19m1.y -= 1); } else { var _19m3 = _19m0 - 32; _19m2 = Math.floor(_19m3 / 3), (_19m1.x = 928 + _19m3 % 3 * 84, _19m1.y = 260 + 104 * _19m2, _19m2 >= 2 && (_19m1.y -= 1)); } _19m1.initialize(), this._shelf_layer.addChild(_19m1), this._icons.push(_19m1); } }, _19li.prototype.update = function(_19m4) { var _19m5 = null; void 0 === _19m4 && (_19m4 = !0), _19m4 && this._closeExShelf(0), this._detail_panel.update(-1); for (var _19m6 = 0; _19m6 < this._icons.length; _19m6++) { var _19m7 = this._icons[_19m6], _19m8 = _19la.ITEMLIST_ORDER[_19m6], _19m9 = _19l7.default.model.useItem.get(_19m8), _19ma = null == _19m9 ? 0 : _19m9.count; _19m7.update(_19m8, _19ma); } }, _19li.prototype.activate = function() { var _19mb = null; for (var _19mc = 0, _19md = this._icons; _19mc < _19md.length; _19mc++) { _19md[_19mc].activate(); } this._btn_ex_open.activate(), this._btn_ex_close.activate(); }, _19li.prototype.deactivate = function() { var _19me = null; for (var _19mf = 0, _19mg = this._icons; _19mf < _19mg.length; _19mf++) { _19mg[_19mf].deactivate(); } this._btn_ex_open.deactivate(), this._btn_ex_close.deactivate(); }, _19li.prototype.dispose = function() { var _19mh = null; this._shelf_layer.removeChildren(), this._shelf_layer = null; for (var _19mi = 0, _19mj = this._icons; _19mi < _19mj.length; _19mi++) { var _19mk = _19mj[_19mi]; _19mk.deactivate(), _19mk.dispose(); } this._icons = null, this._btn_ex_open.dispose(), this._btn_ex_close.dispose(), this._detail_panel.dispose(), this.removeChildren(); }, _19li.prototype._openExShelf = function(_19ml) { var _19mm = null, _19mn = this; this._btn_ex_open.hide(), this._shelf_grad.visible = !0, createjs.Tween.get(this._shelf_layer).to({ 'x': -282 }, _19ml, createjs.Ease.cubicOut).call(function() { var _19mo = null; _19mn._btn_ex_close.show(); }); }, _19li.prototype._closeExShelf = function(_19mp) { var _19mq = null, _19mr = this; this._btn_ex_close.hide(), createjs.Tween.get(this._shelf_layer).to({ 'x': 0 }, _19mp, createjs.Ease.cubicOut).call(function() { var _19ms = null; _19mr._shelf_grad.visible = !1, _19mr._btn_ex_open.show(); }); }, _19li.prototype._soundSE = function(_19mt) { var _19mu = null; [98, 99].indexOf(_19mt) > -1 && _19l8.SE.play('266'); }, _19li; }(_19l9.ViewBase); _19kk.OwnedItemListMain = _19lf; var _19mv = function(_19mw) { var _19mx = null; function _19my() { var _19mz = null, _19n0 = _19mw.call(this) || this; return _19n0._onMouseOver = function() { var _19n1 = null; _19n0._update(!0); }, _19n0._onMouseOut = function() { var _19n2 = null; _19n0._update(!1); }, _19n0._onClick = function() { var _19n3 = null; null != _19n0._cb_onClick && _19n0._cb_onClick(); }, _19n0.interactive = !0, _19n0; } return _19ko(_19my, _19mw), _19my.prototype.initialize = function(_19n4) { var _19n5 = null; this._cb_onClick = _19n4, this._update(!1); }, _19my.prototype.activate = function() { var _19n6 = null; 1 != this.buttonMode && (this.buttonMode = !0, this.on(_19le.EventType.MOUSEOVER, this._onMouseOver), this.on(_19le.EventType.MOUSEOUT, this._onMouseOut), this.on(_19le.EventType.CLICK, this._onClick)); }, _19my.prototype.deactivate = function() { var _19n7 = null; this.buttonMode = !1, this.off(_19le.EventType.MOUSEOVER, this._onMouseOver), this.off(_19le.EventType.MOUSEOUT, this._onMouseOut), this.off(_19le.EventType.CLICK, this._onClick); }, _19my.prototype.dispose = function() { var _19n8 = null; this.deactivate(); }, _19my.prototype.show = function() { var _19n9 = null; this.visible = !0; }, _19my.prototype.hide = function() { var _19na = null; this.visible = !1, this._update(!1); }, _19my; }(PIXI.Sprite), _19lw = function(_19nb) { var _19nc = null; function _19nd() { var _19ne = null; return null !== _19nb && _19nb.apply(this, arguments) || this; } return _19ko(_19nd, _19nb), _19nd.prototype._update = function(_19nf) { var _19ng = null; this.texture = 0 == _19nf ? _19l8.ITEM_ILIST.getTexture(21) : _19l8.ITEM_ILIST.getTexture(22); }, _19nd; }(_19mv), _19lv = function(_19nh) { var _19ni = null; function _19nj() { var _19nk = null; return null !== _19nh && _19nh.apply(this, arguments) || this; } return _19ko(_19nj, _19nh), _19nj.prototype._update = function(_19nl) { var _19nm = null; this.texture = 0 == _19nl ? _19l8.ITEM_ILIST.getTexture(23) : _19l8.ITEM_ILIST.getTexture(24); }, _19nj; }(_19mv); }, 32773: function(_19nn, _19no, _19np) { 'use strict'; var _19nq = null; var _19nr, _19ns = this && this.__extends || (_19nr = function(_19nt, _19nu) { var _19nv = null; return _19nr = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_19nw, _19nx) { var _19ny = null; _19nw.__proto__ = _19nx; } || function(_19nz, _19o0) { var _19o1 = null; for (var _19o2 in _19o0) Object.prototype.hasOwnProperty.call(_19o0, _19o2) && (_19nz[_19o2] = _19o0[_19o2]); }, _19nr(_19nt, _19nu); }, function(_19o3, _19o4) { var _19o5 = null; if ('function' != typeof _19o4 && null !== _19o4) throw new TypeError('Class extends value ' + String(_19o4) + ' is not a constructor or null'); function _19o6() { var _19o7 = null; this.constructor = _19o3; } _19nr(_19o3, _19o4), _19o3.prototype = null === _19o4 ? Object.create(_19o4) : (_19o6.prototype = _19o4.prototype, new _19o6()); }), _19o8 = this && this.__importDefault || function(_19o9) { var _19oa = null; return _19o9 && _19o9.__esModule ? _19o9 : { 'default': _19o9 }; }; defineModule(_19no); Object.defineProperty(_19no, '__esModule', { 'value': !0 }), _19no.PurchasedItemListMain = void 0; var _19ob = _19o8(_19np(18622)), _19oc = _19np(35660), _19od = _19np(17103), _19oe = _19np(58310), _19of = _19np(95703), _19og = _19np(22242), _19oh = _19np(42552), _19oi = _19np(70723), _19oj = _19np(92990), _19ok = _19np(83990), _19ol = _19np(77181), _19om = _19np(53126), _19on = _19np(53126), _19oo = _19np(53126), _19op = _19np(53126), _19oq = _19np(53126), _19or = _19np(44083), _19os = _19np(12185), _19ot = _19np(94838), _19ou = function(_19ov) { var _19ow = null; function _19ox(_19oy) { var _19oz = null, _19p0 = _19ov.call(this) || this; return _19p0._onSelect = function(_19p1) { var _19p2 = null, _19p3 = _19p0._purchasedItems.getData(_19p1); _19p0._detail_panel.update(_19p3); }, _19p0._onPickup = function(_19p4) { var _19p5 = null; if (16 == _19p4.id) { var _19p6 = _19ob.default.model.const.boko_max_ships; if (_19ob.default.model.basic.shipMax >= _19p6) return void _19oi.SE.play('248'); _19oi.SE.play('244'); } else _19oi.SE.play('243'); var _19p7 = new _19ok.PurchasedItemPickupAPI(_19p4.id, !1), _19p8 = _19p7.result; _19p7.start(function() { var _19p9 = null; _19p0._detail_panel.update(null), 1 == _19p8.hasCaution() ? _19p0._confirm(_19p4) : _19p0._AfterPickup(_19p4); }); }, _19p0._purchasedItems = _19oy, _19p0._bg = new PIXI.Sprite(), _19p0._bg.position.set(202, 201), _19p0.addChild(_19p0._bg), _19p0._detail_panel = new _19ot.PurchasedItemDetailPanel(_19p0._onPickup), _19p0._detail_panel.position.set(904, 201), _19p0.addChild(_19p0._detail_panel), _19p0._icon_layer = new PIXI.Container(), _19p0.addChild(_19p0._icon_layer), _19p0; } return _19ns(_19ox, _19ov), _19ox.prototype.initialize = function() { var _19pa = null; this._bg.texture = _19oj.ITEM_ILIST.getTexture(15), this._detail_panel.initialize(), this._icons = []; for (var _19pb = _19om.PAYITEMLIST_ORDER.length, _19pc = 0; _19pc < _19pb; _19pc++) { var _19pd = new _19os.PayItemIcon(this._onSelect); _19pd.x = 238 + _19pc % 7 * 84, _19pc % 7 >= 3 && (_19pd.x += 54), _19pd.y = 265 + 112 * Math.floor(_19pc / 7), _19pd.initialize(), this._icon_layer.addChild(_19pd), this._icons.push(_19pd); } }, _19ox.prototype.update = function() { var _19pe = null; this._detail_panel.update(null); for (var _19pf = 0; _19pf < this._icons.length; _19pf++) { var _19pg = this._icons[_19pf], _19ph = _19om.PAYITEMLIST_ORDER[_19pf], _19pi = this._purchasedItems.getData(_19ph), _19pj = null == _19pi ? 0 : _19pi.count; _19pg.update(_19ph, _19pj); } }, _19ox.prototype.activate = function() { var _19pk = null; for (var _19pl = 0, _19pm = this._icons; _19pl < _19pm.length; _19pl++) { _19pm[_19pl].activate(); } }, _19ox.prototype.deactivate = function() { var _19pn = null; for (var _19po = 0, _19pp = this._icons; _19po < _19pp.length; _19po++) { _19pp[_19po].deactivate(); } }, _19ox.prototype.dispose = function() { var _19pq = null; this._icon_layer.removeChildren(), this._icon_layer = null; for (var _19pr = 0, _19ps = this._icons; _19pr < _19ps.length; _19pr++) { var _19pt = _19ps[_19pr]; _19pt.deactivate(), _19pt.dispose(); } this._icons = null, this._detail_panel.dispose(), this._detail_panel = null, this._purchasedItems = null, this.removeChildren(); }, _19ox.prototype._confirm = function(_19pu) { var _19pv = null, _19pw = this, _19px = _19ob.default.view.overLayer, _19py = new _19or.TaskItemOverflowConfirm(_19px); _19py.start(function() { var _19pz = null; if (1 == _19py.result) { var _19q0 = new _19ok.PurchasedItemPickupAPI(_19pu.id, !0); _19q0.result, _19q0.start(function() { var _19q1 = null; _19pw._AfterPickup(_19pu); }); } else 0; }); }, _19ox.prototype._AfterPickup = function(_19q2) { var _19q3 = null, _19q4 = this, _19q5 = _19q2.id, _19q6 = new _19oc.APIConnector(); _19oo.RELATED_USERDATA_PAYITEM.indexOf(_19q5) >= 0 && _19q6.add(new _19of.UserDataAPI()), _19op.RELATED_SLOTITEM_PAYITEM.indexOf(_19q5) >= 0 && (_19q6.add(new _19og.UserSlotItemAPI()), _19q6.add(new _19od.UnsetSlotAPI())), _19oq.RELATED_USEITEM_PAYITEM.indexOf(_19q5) >= 0 && _19q6.add(new _19oh.UseItemAPI()), _19on.RELATED_MATERIAL_PAYITEM.indexOf(_19q5) >= 0 && _19q6.add(new _19oe.MaterialAPI()), _19q6.start(function() { var _19q7 = null; _19q2.setCount(_19q2.count - 1), _19q4.update(), _19ob.default.model.useItem.updateCount(), _19ob.default.view.portMain.updateInfo(); }); }, _19ox; }(_19ol.ViewBase); _19no.PurchasedItemListMain = _19ou; }, 4638: function(_19q8, _19q9, _19qa) { 'use strict'; var _19qb = null; var _19qc, _19qd = this && this.__extends || (_19qc = function(_19qe, _19qf) { var _19qg = null; return _19qc = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_19qh, _19qi) { var _19qj = null; _19qh.__proto__ = _19qi; } || function(_19qk, _19ql) { var _19qm = null; for (var _19qn in _19ql) Object.prototype.hasOwnProperty.call(_19ql, _19qn) && (_19qk[_19qn] = _19ql[_19qn]); }, _19qc(_19qe, _19qf); }, function(_19qo, _19qp) { var _19qq = null; if ('function' != typeof _19qp && null !== _19qp) throw new TypeError('Class extends value ' + String(_19qp) + ' is not a constructor or null'); function _19qr() { var _19qs = null; this.constructor = _19qo; } _19qc(_19qo, _19qp), _19qo.prototype = null === _19qp ? Object.create(_19qp) : (_19qr.prototype = _19qp.prototype, new _19qr()); }); defineModule(_19q9); Object.defineProperty(_19q9, '__esModule', { 'value': !0 }), _19q9.TabContainer = void 0; var _19qt = _19qa(31000), _19qu = _19qa(35380), _19qv = function(_19qw) { var _19qx = null; function _19qy(_19qz) { var _19r0 = null, _19r1 = _19qw.call(this) || this; return _19r1._owned = new _19r2(0, _19qz), _19r1.addChild(_19r1._owned), _19r1._purchased = new _19r2(1, _19qz), _19r1._purchased.x = 192, _19r1.addChild(_19r1._purchased), _19r1; } return _19qd(_19qy, _19qw), _19qy.prototype.initialize = function() { var _19r3 = null; this._owned.initialize(), this._purchased.initialize(); }, _19qy.prototype.activate = function() { var _19r4 = null; this._owned.activate(), this._purchased.activate(); }, _19qy.prototype.update = function(_19r5) { var _19r6 = null; this._owned.selected = _19r5 == this._owned.state, this._purchased.selected = _19r5 == this._purchased.state; }, _19qy.prototype.deactivate = function() { var _19r7 = null; this._owned.deactivate(), this._purchased.deactivate(); }, _19qy.prototype.dispose = function() { var _19r8 = null; this._owned.dispose(), this._purchased.dispose(); }, _19qy; }(PIXI.Container); _19q9.TabContainer = _19qv; var _19r2 = function(_19r9) { var _19ra = null; function _19rb(_19rc, _19rd) { var _19re = null, _19rf = _19r9.call(this) || this; return _19rf._activated = !1, _19rf._selected = !1, _19rf._onMouseOver = function() { var _19rg = null; _19rf._update(!0); }, _19rf._onMouseOut = function() { var _19rh = null; _19rf._update(!1); }, _19rf._onClick = function() { var _19ri = null; null != _19rf._cb_onClick && _19rf._cb_onClick(_19rf._state); }, _19rf._state = _19rc, _19rf._cb_onClick = _19rd, _19rf.interactive = !0, _19rf; } return _19qd(_19rb, _19r9), Object.defineProperty(_19rb.prototype, 'state', { 'get': function() { var _19rj = null; return this._state; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_19rb.prototype, 'selected', { 'get': function() { var _19rk = null; return this._selected; }, 'set': function(_19rl) { var _19rm = null; this._selected != _19rl && (this._selected = _19rl, 0 == this._selected && 1 == this._activated ? this.activate() : 1 == this._selected && 1 == this._activated && this._deactivate(), this._update(!1)); }, 'enumerable': !1, 'configurable': !0 }), _19rb.prototype.initialize = function() { var _19rn = null; this._update(!1); }, _19rb.prototype.activate = function() { var _19ro = null; this._activated = !0, 1 != this.buttonMode && 1 != this.selected && (this.buttonMode = !0, this.on(_19qu.EventType.MOUSEOVER, this._onMouseOver), this.on(_19qu.EventType.MOUSEOUT, this._onMouseOut), this.on(_19qu.EventType.CLICK, this._onClick)); }, _19rb.prototype.deactivate = function() { var _19rp = null; this._activated = !1, this._deactivate(); }, _19rb.prototype.dispose = function() { var _19rq = null; this.deactivate(); }, _19rb.prototype._deactivate = function() { var _19rr = null; this.buttonMode = !1, this.off(_19qu.EventType.MOUSEOVER, this._onMouseOver), this.off(_19qu.EventType.MOUSEOUT, this._onMouseOut), this.off(_19qu.EventType.CLICK, this._onClick); }, _19rb.prototype._update = function(_19rs) { var _19rt = null; 0 == _19rs && 0 == this._selected ? this.texture = this._getTexture() : this.texture = this._getTextureOn(); }, _19rb.prototype._getTexture = function() { var _19ru = null, _19rv; switch (this._state) { case 0: _19rv = 31; break; case 1: _19rv = 33; break; default: return PIXI.Texture.EMPTY; } return _19qt.ITEM_ILIST.getTexture(_19rv); }, _19rb.prototype._getTextureOn = function() { var _19rw = null, _19rx; switch (this._state) { case 0: _19rx = 32; break; case 1: _19rx = 34; break; default: return PIXI.Texture.EMPTY; } return _19qt.ITEM_ILIST.getTexture(_19rx); }, _19rb; }(PIXI.Sprite); }, 12185: function(_19ry, _19rz, _19s0) { 'use strict'; var _19s1 = null; var _19s2, _19s3 = this && this.__extends || (_19s2 = function(_19s4, _19s5) { var _19s6 = null; return _19s2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_19s7, _19s8) { var _19s9 = null; _19s7.__proto__ = _19s8; } || function(_19sa, _19sb) { var _19sc = null; for (var _19sd in _19sb) Object.prototype.hasOwnProperty.call(_19sb, _19sd) && (_19sa[_19sd] = _19sb[_19sd]); }, _19s2(_19s4, _19s5); }, function(_19se, _19sf) { var _19sg = null; if ('function' != typeof _19sf && null !== _19sf) throw new TypeError('Class extends value ' + String(_19sf) + ' is not a constructor or null'); function _19sh() { var _19si = null; this.constructor = _19se; } _19s2(_19se, _19sf), _19se.prototype = null === _19sf ? Object.create(_19sf) : (_19sh.prototype = _19sf.prototype, new _19sh()); }), _19sj = this && this.__importDefault || function(_19sk) { var _19sl = null; return _19sk && _19sk.__esModule ? _19sk : { 'default': _19sk }; }; defineModule(_19rz); Object.defineProperty(_19rz, '__esModule', { 'value': !0 }), _19rz.PayItemIcon = _19rz.ItemIcon = void 0; var _19sm = _19sj(_19s0(18622)), _19sn = _19s0(35380), _19so = _19s0(8744), _19sp = _19s0(31000), _19sq = _19s0(84748), _19sr = function(_19ss) { var _19st = null; function _19su(_19sv) { var _19sw = null, _19sx = _19ss.call(this) || this; return _19sx._mst_id = -1, _19sx._onMouseOver = function() { var _19sy = null; _19sx._over.visible = !0; }, _19sx._onMouseOut = function() { var _19sz = null; _19sx._over.visible = !1; }, _19sx._onClick = function() { var _19t0 = null; null != _19sx._cb_onClick && _19sx._cb_onClick(_19sx._mst_id); }, _19sx._cb_onClick = _19sv, _19sx.beginFill(0, 0), _19sx.drawRect(0, 0, 75, 75), _19sx.endFill(), _19sx._img = new PIXI.Sprite(), _19sx.addChild(_19sx._img), _19sx._count = new _19t1(), _19sx.addChild(_19sx._count), _19sx._over = new PIXI.Sprite(), _19sx._over.position.set(-3, -3), _19sx._over.visible = !1, _19sx.addChild(_19sx._over), _19sx.interactive = !0, _19sx; } return _19s3(_19su, _19ss), _19su.prototype.initialize = function() { var _19t2 = null; this._over.texture = _19sp.ITEM_ILIST.getTexture(16), this._count.initialize(); }, _19su.prototype.update = function(_19t3, _19t4) { var _19t5 = null; this._mst_id = _19t3, _19t3 <= 0 || _19t4 <= 0 ? this.visible = !1 : (this._img.texture = this._getTexture(_19t3), this._count.update(_19t4), this.visible = !0); }, _19su.prototype.activate = function() { var _19t6 = null; 0 != this.visible && 1 != this.buttonMode && (this.buttonMode = !0, this.on(_19sn.EventType.MOUSEOVER, this._onMouseOver), this.on(_19sn.EventType.MOUSEOUT, this._onMouseOut), this.on(_19sn.EventType.CLICK, this._onClick)); }, _19su.prototype.deactivate = function() { var _19t7 = null; this.buttonMode = !1, this.off(_19sn.EventType.MOUSEOVER, this._onMouseOver), this.off(_19sn.EventType.MOUSEOUT, this._onMouseOut), this.off(_19sn.EventType.CLICK, this._onClick); }, _19su.prototype.dispose = function() { var _19t8 = null; this.deactivate(), this._count.dispose(); }, _19su.prototype._getTexture = function(_19t9) { var _19ta = null; return _19sm.default.resources.getUseitem(_19t9, 0); }, _19su; }(PIXI.Graphics); _19rz.ItemIcon = _19sr; var _19tb = function(_19tc) { var _19td = null; function _19te() { var _19tf = null; return null !== _19tc && _19tc.apply(this, arguments) || this; } return _19s3(_19te, _19tc), _19te.prototype.initialize = function() { var _19tg = null; this._over.texture = _19sp.ITEM_ILIST.getTexture(16), this._count.initialize(99); }, _19te.prototype._getTexture = function(_19th) { var _19ti = null; return (0, _19sq.getPayitemIcon)(_19th); }, _19te; }(_19sr); _19rz.PayItemIcon = _19tb; var _19t1 = function(_19tj) { var _19tk = null; function _19tl() { var _19tm = null, _19tn = _19tj.call(this) || this; return _19tn._max = 0, _19tn._bg = new PIXI.Sprite(), _19tn.addChild(_19tn._bg), _19tn._text = new _19so.TextBox(21, 16777215), _19tn.addChild(_19tn._text), _19tn; } return _19s3(_19tl, _19tj), _19tl.prototype.initialize = function(_19to) { var _19tp = null; void 0 === _19to && (_19to = 9999), this._max = _19to, this.update(0); }, _19tl.prototype.update = function(_19tq) { var _19tr = null, _19ts; _19tq = Math.max(_19tq, 0), _19tq = Math.min(_19tq, this._max), this._text.text = _19tq.toString(), _19tq < 100 ? (_19ts = 28, this._bg.position.set(36, 36), this._text.position.set(54 - Math.floor(this._text.width / 2), 42)) : _19tq < 1000 ? (_19ts = 29, this._bg.position.set(25, 39), this._text.position.set(49 - Math.floor(this._text.width / 2), 42)) : (_19ts = 30, this._bg.position.set(12, 40), this._text.position.set(43 - Math.floor(this._text.width / 2), 40)), this._bg.texture = _19sp.ITEM_ILIST.getTexture(_19ts); }, _19tl.prototype.dispose = function() { var _19tt = null; this.removeChildren(), this._bg = null, this._text.destroy(), this._text = null; }, _19tl; }(PIXI.Container); }, 8615: function(_19tu, _19tv, _19tw) { 'use strict'; var _19tx = null; var _19ty, _19tz = this && this.__extends || (_19ty = function(_19u0, _19u1) { var _19u2 = null; return _19ty = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_19u3, _19u4) { var _19u5 = null; _19u3.__proto__ = _19u4; } || function(_19u6, _19u7) { var _19u8 = null; for (var _19u9 in _19u7) Object.prototype.hasOwnProperty.call(_19u7, _19u9) && (_19u6[_19u9] = _19u7[_19u9]); }, _19ty(_19u0, _19u1); }, function(_19ua, _19ub) { var _19uc = null; if ('function' != typeof _19ub && null !== _19ub) throw new TypeError('Class extends value ' + String(_19ub) + ' is not a constructor or null'); function _19ud() { var _19ue = null; this.constructor = _19ua; } _19ty(_19ua, _19ub), _19ua.prototype = null === _19ub ? Object.create(_19ub) : (_19ud.prototype = _19ub.prototype, new _19ud()); }), _19uf = this && this.__importDefault || function(_19ug) { var _19uh = null; return _19ug && _19ug.__esModule ? _19ug : { 'default': _19ug }; }; defineModule(_19tv); Object.defineProperty(_19tv, '__esModule', { 'value': !0 }), _19tv.OwnedItemDetailPanel = void 0; var _19ui = _19uf(_19tw(18622)), _19uj = _19tw(8744), _19uk = _19tw(31000), _19ul = _19tw(8981), _19um = _19tw(75134), _19un = function(_19uo) { var _19up = null; function _19uq(_19ur) { var _19us = null, _19ut = _19uo.call(this) || this; return _19ut._onUse = function() { var _19uu = null; null != _19ut._cb_onUse && _19ut._cb_onUse(_19ut._mst_id); }, _19ut._cb_onUse = _19ur, _19ut._name = new _19uj.TextBox(22, 16777215), _19ut._name.position.set(0, 18), _19ut.addChild(_19ut._name), _19ut._name2 = new _19uj.TextBox(22, 16777215), _19ut._name2.position.set(0, 18), _19ut.addChild(_19ut._name2), _19ut._name2.visible = !1, _19ut._icon = new PIXI.Sprite(), _19ut._icon.position.set(105, 81), _19ut.addChild(_19ut._icon), _19ut._count = new _19uv(), _19ut._count.position.set(243, 84), _19ut.addChild(_19ut._count), _19ut._description = new _19uj.TextBox(18, 16777215), _19ut._description.position.set(22, 186), _19ut._description.style.breakWords = !0, _19ut._description.style.wordWrap = !0, _19ut._description.style.wordWrapWidth = 264, _19ut.addChild(_19ut._description), _19ut._use_btn = new _19ul.UseBtn(), _19ut._use_btn.position.set(66, 388), _19ut._use_btn.visible = !1, _19ut.addChild(_19ut._use_btn), _19ut._alert = new PIXI.Sprite(), _19ut._alert.position.set(42, 384), _19ut._alert.visible = !1, _19ut.addChild(_19ut._alert), _19ut; } return _19tz(_19uq, _19uo), _19uq.prototype.initialize = function() { var _19uw = null; this.texture = _19uk.ITEM_ILIST.getTexture(18), this._use_btn.initialize(this._onUse), this._alert.texture = _19uk.ITEM_ILIST.getTexture(0); }, _19uq.prototype.update = function(_19ux) { var _19uy = null; this._mst_id = _19ux; var _19uz = _19ui.default.model.useItem.get(_19ux); if (null != _19uz) { if (76 == this._mst_id) { var _19v0 = _19uz.name.match(/(.+)(\(.+\))/); if (null == _19v0 || _19v0.length < 3) this._name.text = _19uz.name, this._name.x = Math.round(154 - this._name.width / 2), this._name2.visible = !1; else { this._name.text = _19v0[1], this._name2.text = _19v0[2], this._name2.style.fontSize = 21, this._name2.visible = !0; var _19v1 = this._name.width + this._name2.width; this._name.x = Math.round(154 - _19v1 / 2), this._name2.x = this._name.x + this._name.width, this._name2.y = this._name.y + this._name.height - this._name2.height; } } else this._name.text = _19uz.name, this._name.x = Math.round(154 - this._name.width / 2), this._name2.visible = !1; this._icon.texture = _19ui.default.resources.getUseitem(_19ux, 0), this._count.update(_19uz.count), this._count.visible = !0, this._description.text = _19uz.description.replace(/
/g, '\x0a'), 1 == _19uz.isUsable() && _19uz.count > 0 ? this._isUsableSp(_19uz.mstID) ? (this._use_btn.visible = !0, this._use_btn.activate(), this._alert.visible = !1) : (this._use_btn.visible = !1, this._use_btn.deactivate(), this._alert.visible = !0) : (this._use_btn.visible = !1, this._use_btn.deactivate(), this._alert.visible = !1); } else this._clean(); }, _19uq.prototype.dispose = function() { var _19v2 = null; this._name.destroy(), this._name2.destroy(), this._count.dispose(), this._description.destroy(), this._use_btn.dispose(), this._alert.destroy(), this._cb_onUse = null; }, _19uq.prototype._clean = function() { var _19v3 = null; this._name.text = '', this._name2.text = '', this._icon.texture = PIXI.Texture.EMPTY, this._count.visible = !1, this._description.text = '', this._use_btn.visible = !1, this._use_btn.deactivate(), this._alert.visible = !1; }, _19uq.prototype._isUsableSp = function(_19v4) { var _19v5 = null, _19v6 = _19ui.default.model.deck.get(1).getShipModel(0); return (98 != _19v4 || _19v6.ribbon != _19um.RibbonType.BLUE) && (99 != _19v4 || _19v6.ribbon != _19um.RibbonType.WHITE); }, _19uq; }(PIXI.Sprite); _19tv.OwnedItemDetailPanel = _19un; var _19uv = function(_19v7) { var _19v8 = null; function _19v9() { var _19va = null, _19vb = _19v7.call(this) || this; return _19vb._bg = new PIXI.Sprite(), _19vb.addChild(_19vb._bg), _19vb._text = new _19uj.TextBox(30, 16777215), _19vb._text.y = 28, _19vb.addChild(_19vb._text), _19vb; } return _19tz(_19v9, _19v7), _19v9.prototype.initialize = function() { var _19vc = null; this.update(0); }, _19v9.prototype.update = function(_19vd) { var _19ve = null, _19vf; _19vf = _19vd < 100 ? 25 : _19vd < 1000 ? 26 : 27, this._bg.texture = _19uk.ITEM_ILIST.getTexture(_19vf), this._bg.x = -Math.round(this._bg.width / 2), this._text.text = _19vd.toString(), this._text.x = -Math.round(this._text.width / 2); }, _19v9.prototype.dispose = function() { var _19vg = null; this.removeChildren(), this._text.destroy(); }, _19v9; }(PIXI.Container); }, 15203: function(_19vh, _19vi, _19vj) { 'use strict'; var _19vk = null; var _19vl, _19vm = this && this.__extends || (_19vl = function(_19vn, _19vo) { var _19vp = null; return _19vl = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_19vq, _19vr) { var _19vs = null; _19vq.__proto__ = _19vr; } || function(_19vt, _19vu) { var _19vv = null; for (var _19vw in _19vu) Object.prototype.hasOwnProperty.call(_19vu, _19vw) && (_19vt[_19vw] = _19vu[_19vw]); }, _19vl(_19vn, _19vo); }, function(_19vx, _19vy) { var _19vz = null; if ('function' != typeof _19vy && null !== _19vy) throw new TypeError('Class extends value ' + String(_19vy) + ' is not a constructor or null'); function _19w0() { var _19w1 = null; this.constructor = _19vx; } _19vl(_19vx, _19vy), _19vx.prototype = null === _19vy ? Object.create(_19vy) : (_19w0.prototype = _19vy.prototype, new _19w0()); }); defineModule(_19vi); Object.defineProperty(_19vi, '__esModule', { 'value': !0 }), _19vi.PickupBtn = void 0; var _19w2 = _19vj(57257), _19w3 = _19vj(31000), _19w4 = function(_19w5) { var _19w6 = null; function _19w7() { var _19w8 = null, _19w9 = _19w5.call(this) || this; return _19w9._light = new PIXI.Sprite(), _19w9._light.position.set(-22, -24), _19w9.addChild(_19w9._light), _19w9; } return _19vm(_19w7, _19w5), _19w7.prototype.dispose = function() { var _19wa = null; this._stopTween(), _19w5.prototype.dispose.call(this); }, _19w7.prototype._update = function(_19wb) { var _19wc = null; 0 == _19wb ? (this.texture = _19w3.ITEM_ILIST.getTexture(11), this._light.texture = _19w3.ITEM_ILIST.getTexture(2)) : (this.texture = _19w3.ITEM_ILIST.getTexture(12), this._light.texture = _19w3.ITEM_ILIST.getTexture(3)), this._stopTween(), this._startTween(); }, _19w7.prototype._activate = function() { var _19wd = null; this._stopTween(), this._startTween(), _19w5.prototype._activate.call(this); }, _19w7.prototype._startTween = function() { var _19we = null; this._light.alpha = 0, this._tween = createjs.Tween.get(this._light, { 'loop': !0 }).to({ 'alpha': 1 }, 3000).to({ 'alpha': 0 }, 3000); }, _19w7.prototype._stopTween = function() { var _19wf = null; null != this._tween && this._tween.setPaused(!0), this._tween = null; }, _19w7; }(_19w2.BtnBase); _19vi.PickupBtn = _19w4; }, 94838: function(_19wg, _19wh, _19wi) { 'use strict'; var _19wj = null; var _19wk, _19wl = this && this.__extends || (_19wk = function(_19wm, _19wn) { var _19wo = null; return _19wk = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_19wp, _19wq) { var _19wr = null; _19wp.__proto__ = _19wq; } || function(_19ws, _19wt) { var _19wu = null; for (var _19wv in _19wt) Object.prototype.hasOwnProperty.call(_19wt, _19wv) && (_19ws[_19wv] = _19wt[_19wv]); }, _19wk(_19wm, _19wn); }, function(_19ww, _19wx) { var _19wy = null; if ('function' != typeof _19wx && null !== _19wx) throw new TypeError('Class extends value ' + String(_19wx) + ' is not a constructor or null'); function _19wz() { var _19x0 = null; this.constructor = _19ww; } _19wk(_19ww, _19wx), _19ww.prototype = null === _19wx ? Object.create(_19wx) : (_19wz.prototype = _19wx.prototype, new _19wz()); }); defineModule(_19wh); Object.defineProperty(_19wh, '__esModule', { 'value': !0 }), _19wh.PurchasedItemDetailPanel = void 0; var _19x1 = _19wi(8744), _19x2 = _19wi(92990), _19x3 = _19wi(84748), _19x4 = _19wi(15203), _19x5 = function(_19x6) { var _19x7 = null; function _19x8(_19x9) { var _19xa = null, _19xb = _19x6.call(this) || this; return _19xb._onPickup = function() { var _19xc = null; null != _19xb._cb_onPickup && _19xb._cb_onPickup(_19xb._model); }, _19xb._cb_onPickup = _19x9, _19xb._name = new _19x1.TextBox(22, 16777215), _19xb._name.position.set(0, 18), _19xb.addChild(_19xb._name), _19xb._icon = new PIXI.Sprite(), _19xb._icon.position.set(105, 81), _19xb.addChild(_19xb._icon), _19xb._count = new _19xd(), _19xb._count.position.set(243, 84), _19xb.addChild(_19xb._count), _19xb._description = new _19x1.TextBox(18, 16777215), _19xb._description.position.set(22, 186), _19xb._description.style.breakWords = !0, _19xb._description.style.wordWrap = !0, _19xb._description.style.wordWrapWidth = 264, _19xb.addChild(_19xb._description), _19xb._pickup_btn = new _19x4.PickupBtn(), _19xb._pickup_btn.position.set(66, 388), _19xb._pickup_btn.visible = !1, _19xb.addChild(_19xb._pickup_btn), _19xb; } return _19wl(_19x8, _19x6), _19x8.prototype.initialize = function() { var _19xe = null; this._pickup_btn.initialize(this._onPickup); }, _19x8.prototype.update = function(_19xf) { var _19xg = null; null == _19xf || this._model != _19xf ? (this._model = _19xf, null != this._model ? (this._name.text = this._model.name, this._name.x = Math.round(154 - this._name.width / 2), this._icon.texture = (0, _19x3.getPayitemIcon)(this._model.id), this._count.update(this._model.count), this._count.visible = !0, this._description.text = this._model.description.replace(/
/g, '\x0a'), this._pickup_btn.visible = !0, this._pickup_btn.activate()) : this._clean()) : this._onPickup(); }, _19x8.prototype.dispose = function() { var _19xh = null; this.removeChildren(), this._name.destroy(), this._count.dispose(), this._description.destroy(), this._pickup_btn.dispose(), this._cb_onPickup = null; }, _19x8.prototype._clean = function() { var _19xi = null; this._name.text = '', this._icon.texture = PIXI.Texture.EMPTY, this._count.visible = !1, this._description.text = '', this._pickup_btn.visible = !1, this._pickup_btn.deactivate(); }, _19x8; }(PIXI.Sprite); _19wh.PurchasedItemDetailPanel = _19x5; var _19xd = function(_19xj) { var _19xk = null; function _19xl() { var _19xm = null, _19xn = _19xj.call(this) || this; return _19xn._bg = new PIXI.Sprite(), _19xn.addChild(_19xn._bg), _19xn._text = new _19x1.TextBox(30, 16777215), _19xn._text.y = 28, _19xn.addChild(_19xn._text), _19xn; } return _19wl(_19xl, _19xj), _19xl.prototype.initialize = function() { var _19xo = null; this.update(0); }, _19xl.prototype.update = function(_19xp) { var _19xq = null, _19xr; _19xr = _19xp < 100 ? 25 : _19xp < 1000 ? 26 : 27, this._bg.texture = _19x2.ITEM_ILIST.getTexture(_19xr), this._bg.x = -Math.round(this._bg.width / 2), this._text.text = _19xp.toString(), this._text.x = -Math.round(this._text.width / 2); }, _19xl.prototype.dispose = function() { var _19xs = null; this.removeChildren(), this._text.destroy(); }, _19xl; }(PIXI.Container); }, 8981: function(_19xt, _19xu, _19xv) { 'use strict'; var _19xw = null; var _19xx, _19xy = this && this.__extends || (_19xx = function(_19xz, _19y0) { var _19y1 = null; return _19xx = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_19y2, _19y3) { var _19y4 = null; _19y2.__proto__ = _19y3; } || function(_19y5, _19y6) { var _19y7 = null; for (var _19y8 in _19y6) Object.prototype.hasOwnProperty.call(_19y6, _19y8) && (_19y5[_19y8] = _19y6[_19y8]); }, _19xx(_19xz, _19y0); }, function(_19y9, _19ya) { var _19yb = null; if ('function' != typeof _19ya && null !== _19ya) throw new TypeError('Class extends value ' + String(_19ya) + ' is not a constructor or null'); function _19yc() { var _19yd = null; this.constructor = _19y9; } _19xx(_19y9, _19ya), _19y9.prototype = null === _19ya ? Object.create(_19ya) : (_19yc.prototype = _19ya.prototype, new _19yc()); }); defineModule(_19xu); Object.defineProperty(_19xu, '__esModule', { 'value': !0 }), _19xu.UseBtn = void 0; var _19ye = _19xv(57257), _19yf = _19xv(31000), _19yg = function(_19yh) { var _19yi = null; function _19yj() { var _19yk = null, _19yl = _19yh.call(this) || this; return _19yl._light = new PIXI.Sprite(), _19yl._light.position.set(-22, -24), _19yl.addChild(_19yl._light), _19yl; } return _19xy(_19yj, _19yh), _19yj.prototype.dispose = function() { var _19ym = null; this._stopTween(), _19yh.prototype.dispose.call(this); }, _19yj.prototype._update = function(_19yn) { var _19yo = null; 0 == _19yn ? (this.texture = _19yf.ITEM_ILIST.getTexture(13), this._light.texture = _19yf.ITEM_ILIST.getTexture(2)) : (this.texture = _19yf.ITEM_ILIST.getTexture(14), this._light.texture = _19yf.ITEM_ILIST.getTexture(3)), this._stopTween(), this._startTween(); }, _19yj.prototype._activate = function() { var _19yp = null; this._stopTween(), this._startTween(), _19yh.prototype._activate.call(this); }, _19yj.prototype._startTween = function() { var _19yq = null; this._light.alpha = 0, this._tween = createjs.Tween.get(this._light, { 'loop': !0 }).to({ 'alpha': 1 }, 3000).to({ 'alpha': 0 }, 3000); }, _19yj.prototype._stopTween = function() { var _19yr = null; null != this._tween && this._tween.setPaused(!0), this._tween = null; }, _19yj; }(_19ye.BtnBase); _19xu.UseBtn = _19yg; }, 35672: function(_19ys, _19yt, _19yu) { 'use strict'; var _19yv = null; var _19yw, _19yx = this && this.__extends || (_19yw = function(_19yy, _19yz) { var _19z0 = null; return _19yw = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_19z1, _19z2) { var _19z3 = null; _19z1.__proto__ = _19z2; } || function(_19z4, _19z5) { var _19z6 = null; for (var _19z7 in _19z5) Object.prototype.hasOwnProperty.call(_19z5, _19z7) && (_19z4[_19z7] = _19z5[_19z7]); }, _19yw(_19yy, _19yz); }, function(_19z8, _19z9) { var _19za = null; if ('function' != typeof _19z9 && null !== _19z9) throw new TypeError('Class extends value ' + String(_19z9) + ' is not a constructor or null'); function _19zb() { var _19zc = null; this.constructor = _19z8; } _19yw(_19z8, _19z9), _19z8.prototype = null === _19z9 ? Object.create(_19z9) : (_19zb.prototype = _19z9.prototype, new _19zb()); }), _19zd = this && this.__importDefault || function(_19ze) { var _19zf = null; return _19ze && _19ze.__esModule ? _19ze : { 'default': _19ze }; }; defineModule(_19yt); Object.defineProperty(_19yt, '__esModule', { 'value': !0 }), _19yt.ItemShopMain = void 0; var _19zg = _19zd(_19yu(18622)), _19zh = _19yu(70723), _19zi = _19yu(40168), _19zj = _19yu(77181), _19zk = _19yu(41103), _19zl = _19yu(14681), _19zm = _19yu(83544), _19zn = _19yu(67789), _19zo = _19yu(12713), _19zp = function(_19zq) { var _19zr = null; function _19zs(_19zt, _19zu) { var _19zv = null, _19zw = _19zq.call(this) || this; return _19zw._count = 0, _19zw._onChangePage = function() { var _19zx = null, _19zy = _19zw._views.indexOf(_19zw._current); _19zw._showView(_19zy ? 0 : 1); }, _19zw._onSelect = function(_19zz, _1a00) { var _1a01 = null; _19zh.SE.play('214'); var _1a02 = 10; 27 == _1a00.id && (_1a02 = 10, _1a02 -= _19zw._purchasedItems.getCount(27), _1a02 -= _19zg.default.model.useItem.getCount(73)); var _1a03 = new _19zn.TaskPurchaseConfirm(_19zz, _1a00, _1a02); _19zw.addChild(_1a03.layer), _1a03.start(function() { var _1a04 = null; _1a03.count > 0 && null != _19zw._cb_onPurchased && _19zw._cb_onPurchased(); }); }, _19zw._purchasedItems = _19zt, _19zw._cb_onPurchased = _19zu, _19zw._header = new PIXI.Sprite(), _19zw._header.position.set(226, 114), _19zw.addChild(_19zw._header), _19zw._tab = new _19zk.TabContainer(_19zw._onChangePage), _19zw.addChild(_19zw._tab), _19zw._views = [], _19zw._views.push(new _19zl.NormalItemShopMain(_19zw._onSelect)), _19zw._views.push(new _19zm.SpecialItemShopMain(_19zw._onSelect)), _19zw; } return _19yx(_19zs, _19zq), _19zs.prototype.initialize = function() { var _1a05 = null; this._header.texture = _19zi.ITEM_ISHOP.getTexture(35); for (var _1a06 = 0, _1a07 = this._views; _1a06 < _1a07.length; _1a06++) { _1a07[_1a06].initialize(); } }, _19zs.prototype.update = function() { var _1a08 = null; this._count = 0, this._showView(0); }, _19zs.prototype.activate = function() { var _1a09 = null; null != this._current && this._current.activate(), this._tab.activate(); }, _19zs.prototype.deactivate = function() { var _1a0a = null; null != this._current && this._current.deactivate(), this._tab.deactivate(); }, _19zs.prototype.dispose = function() { var _1a0b = null; this._purchasedItems = null, this._tab.dispose(), this._removeView(); for (var _1a0c = 0, _1a0d = this._views; _1a0c < _1a0d.length; _1a0c++) { _1a0d[_1a0c].dispose(); } }, _19zs.prototype._removeView = function() { var _1a0e = null; null != this._current && (this.removeChild(this._current), this._current.deactivate(), this._current = null, this._tab.deactivate()); }, _19zs.prototype._showView = function(_1a0f) { var _1a0g = null; this._removeView(), this._tab.update(_1a0f), this._tab.activate(), this._current = this._views[_1a0f], this._current.update(), this._current.activate(), this.addChild(this._current), this._count += 0 == _1a0f ? 1 : 0; var _1a0h = _19zg.default.view.overLayer; new _19zo.TaskWelcomeCutin(_1a0h, _1a0f, this._count).start(); }, _19zs; }(_19zj.ViewBase); _19yt.ItemShopMain = _19zp; }, 8122: function(_1a0i, _1a0j, _1a0k) { 'use strict'; var _1a0l = null; var _1a0m, _1a0n = this && this.__extends || (_1a0m = function(_1a0o, _1a0p) { var _1a0q = null; return _1a0m = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1a0r, _1a0s) { var _1a0t = null; _1a0r.__proto__ = _1a0s; } || function(_1a0u, _1a0v) { var _1a0w = null; for (var _1a0x in _1a0v) Object.prototype.hasOwnProperty.call(_1a0v, _1a0x) && (_1a0u[_1a0x] = _1a0v[_1a0x]); }, _1a0m(_1a0o, _1a0p); }, function(_1a0y, _1a0z) { var _1a10 = null; if ('function' != typeof _1a0z && null !== _1a0z) throw new TypeError('Class extends value ' + String(_1a0z) + ' is not a constructor or null'); function _1a11() { var _1a12 = null; this.constructor = _1a0y; } _1a0m(_1a0y, _1a0z), _1a0y.prototype = null === _1a0z ? Object.create(_1a0z) : (_1a11.prototype = _1a0z.prototype, new _1a11()); }); defineModule(_1a0j); Object.defineProperty(_1a0j, '__esModule', { 'value': !0 }), _1a0j.TaskPayCheck = void 0; var _1a13 = _1a0k(37562), _1a14 = _1a0k(20653), _1a15 = function(_1a16) { var _1a17 = null; function _1a18() { var _1a19 = null, _1a1a = _1a16.call(this) || this; return _1a1a._result = !1, _1a1a._api = null, _1a1a._retry_count = 0, _1a1a; } return _1a0n(_1a18, _1a16), Object.defineProperty(_1a18.prototype, 'result', { 'get': function() { var _1a1b = null; return this._result; }, 'enumerable': !1, 'configurable': !0 }), _1a18.prototype._start = function() { var _1a1c = null, _1a1d = this; createjs.Tween.get(null).wait(500).call(function() { var _1a1e = null; _1a1d._check(); }); }, _1a18.prototype._check = function() { var _1a1f = null, _1a1g = this; this._retry_count++, this._api = new _1a14.PayCheckAPI(), this._api.start(function() { var _1a1h = null; _1a1g._checked(); }); }, _1a18.prototype._checked = function() { var _1a1i = null, _1a1j = this; 2 == this._api.result ? (this._result = !0, this._endTask()) : this._retry_count >= 3 ? this._endTask() : createjs.Tween.get(null).wait(1000).call(function() { var _1a1k = null; _1a1j._check(); }); }, _1a18.prototype._endTask = function() { var _1a1l = null; this._api = null, _1a16.prototype._endTask.call(this); }, _1a18; }(_1a13.TaskBase); _1a0j.TaskPayCheck = _1a15; }, 67789: function(_1a1m, _1a1n, _1a1o) { 'use strict'; var _1a1p = null; var _1a1q, _1a1r = this && this.__extends || (_1a1q = function(_1a1s, _1a1t) { var _1a1u = null; return _1a1q = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1a1v, _1a1w) { var _1a1x = null; _1a1v.__proto__ = _1a1w; } || function(_1a1y, _1a1z) { var _1a20 = null; for (var _1a21 in _1a1z) Object.prototype.hasOwnProperty.call(_1a1z, _1a21) && (_1a1y[_1a21] = _1a1z[_1a21]); }, _1a1q(_1a1s, _1a1t); }, function(_1a22, _1a23) { var _1a24 = null; if ('function' != typeof _1a23 && null !== _1a23) throw new TypeError('Class extends value ' + String(_1a23) + ' is not a constructor or null'); function _1a25() { var _1a26 = null; this.constructor = _1a22; } _1a1q(_1a22, _1a23), _1a22.prototype = null === _1a23 ? Object.create(_1a23) : (_1a25.prototype = _1a23.prototype, new _1a25()); }), _1a27 = this && this.__importDefault || function(_1a28) { var _1a29 = null; return _1a28 && _1a28.__esModule ? _1a28 : { 'default': _1a28 }; }; defineModule(_1a1n); Object.defineProperty(_1a1n, '__esModule', { 'value': !0 }), _1a1n.PurchaseBtn = _1a1n.TaskPurchaseConfirm = void 0; var _1a2a = _1a27(_1a1o(18622)), _1a2b = _1a1o(81755), _1a2c = _1a1o(79899), _1a2d = _1a1o(87475), _1a2e = _1a1o(8744), _1a2f = _1a1o(36800), _1a2g = _1a1o(31000), _1a2h = _1a1o(47592), _1a2i = _1a1o(84748), _1a2j = _1a1o(8122), _1a2k = _1a1o(39156), _1a2l = _1a1o(35380), _1a2m = _1a1o(92547), _1a2n = function(_1a2o) { var _1a2p = null; function _1a2q(_1a2r, _1a2s, _1a2t) { var _1a2u = null, _1a2v = _1a2o.call(this) || this; return _1a2v._count = 1, _1a2v._onUp = function() { var _1a2w = null; _1a2v._count++, _1a2v._count = Math.min(10, _1a2v._count), _1a2v._dialog.update(_1a2v._count, _1a2v._mst.price * _1a2v._count, _1a2v._limit); }, _1a2v._onDown = function() { var _1a2x = null; _1a2v._count--, _1a2v._count = Math.max(1, _1a2v._count), _1a2v._dialog.update(_1a2v._count, _1a2v._mst.price * _1a2v._count, _1a2v._limit); }, _1a2v._onBack = function() { var _1a2y = null; _1a2v._count = 0, _1a2v._dialog.deactivate(), _1a2v._close(); }, _1a2v._onBuy = function() { var _1a2z = null; _1a2v._dialog.deactivate(), _1a2v._clickGuard = new _1a2c.AreaBox(0), _1a2a.default.view.overLayer.addChild(_1a2v._clickGuard); var _1a30 = '' ['concat'](location.hostname), _1a31 = _1a2v._mst.id, _1a32 = _1a31 + '\x09' + _1a2v._mst.price + '\x09' + _1a2v._count + '\x09' + _1a2v._mst.description.replace(/
/g, '') + '\x09' + _1a2v._mst.name + '\x09' + (_1a2m.SCHEME + '://' + _1a30 + '/kcs/images/purchase_items/' + _1a31 + '.jpg'); _1a2v._GadgetIP = _1a2m.SCHEME + '://' + _1a2a.default.settings.osapi_root; var _1a33 = _1a2v._GadgetIP; window.parent.postMessage(_1a2k.PostMessageType.BUY + '\x09' + _1a32, _1a33), window.addEventListener('message', _1a2v._onCallback); }, _1a2v._onCallback = function(_1a34) { var _1a35 = null; window.removeEventListener('message', _1a2v._onCallback); var _1a36 = _1a34.data; if (_1a34.origin != _1a2v._GadgetIP && (_1a2v._count = 0, _1a2v._close()), _1a36 >= 0) { var _1a37 = new _1a2j.TaskPayCheck(); _1a37.start(function() { var _1a38 = null; 1 == _1a37.result || (_1a2v._count = 0), _1a2v._close(); }); } else _1a2v._count = 0, _1a2v._close(); }, _1a2v._type = _1a2r, _1a2v._mst = _1a2s, _1a2v._limit = _1a2t, _1a2v._layer = new _1a2d.FadeBox(0.8, 0, 1200, 720), _1a2v; } return _1a1r(_1a2q, _1a2o), Object.defineProperty(_1a2q.prototype, 'layer', { 'get': function() { var _1a39 = null; return this._layer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1a2q.prototype, 'count', { 'get': function() { var _1a3a = null; return this._count; }, 'enumerable': !1, 'configurable': !0 }), _1a2q.prototype._start = function() { var _1a3b = null, _1a3c = this; _1a2a.default.sound.voice.playAtRandom('9999', [313, 314], [60, 40]), this._layer.show(200, function() { var _1a3d = null; _1a3c._showDialog(); }); }, _1a2q.prototype._showDialog = function() { var _1a3e = null, _1a3f = this; this._dialog = new _1a3g(), this._dialog.initialize(this._type, this._mst, this._onUp, this._onDown, this._onBack, this._onBuy), this._dialog.update(this._count, this._mst.price * this._count, this._limit), this._dialog.alpha = 0, this._layer.addChild(this._dialog), createjs.Tween.get(this._dialog).to({ 'alpha': 1 }, 300).call(function() { var _1a3h = null; _1a3f._dialog.activate(); }); }, _1a2q.prototype._close = function() { var _1a3i = null, _1a3j = this; createjs.Tween.get(this._dialog).to({ 'alpha': 0 }, 200).call(function() { var _1a3k = null; _1a3j._layer.hide(300, function() { var _1a3l = null; _1a2a.default.view.overLayer.removeChild(_1a3j._clickGuard), _1a3j._layer.removeChild(_1a3j._dialog), _1a3j._dialog.dispose(), _1a3j._endTask(); }); }); }, _1a2q.prototype._endTask = function() { var _1a3m = null; null != this._layer.parent && this._layer.parent.removeChild(this._layer), this._layer = null, this._mst = null, this._dialog = null, this._clickGuard = null, _1a2o.prototype._endTask.call(this); }, _1a2q; }(_1a2b.TaskBase); _1a1n.TaskPurchaseConfirm = _1a2n; var _1a3g = function(_1a3n) { var _1a3o = null; function _1a3p() { var _1a3q = null, _1a3r = _1a3n.call(this) || this; return _1a3r._bg = new PIXI.Sprite(), _1a3r._bg.position.set(48, 102), _1a3r.addChild(_1a3r._bg), _1a3r._header = new PIXI.Sprite(), _1a3r._header.position.set(439, 123), _1a3r.addChild(_1a3r._header), _1a3r._icon = new PIXI.Sprite(), _1a3r._icon.position.set(562, 195), _1a3r.addChild(_1a3r._icon), _1a3r._description = new _1a2e.TextBox(21, 16774898), _1a3r._description.position.set(534, 282), _1a3r._description.style.breakWords = !0, _1a3r._description.style.wordWrap = !0, _1a3r._description.style.wordWrapWidth = 306, _1a3r.addChild(_1a3r._description), _1a3r._count = new _1a2e.TextBox(21, 16774898), _1a3r._count.anchor.x = 1, _1a3r._count.position.set(568, 418), _1a3r.addChild(_1a3r._count), _1a3r._price = new _1a2e.TextBox(21, 16724736), _1a3r._price.position.set(574, 456), _1a3r.addChild(_1a3r._price), _1a3r._btn_up = new _1a3s(), _1a3r._btn_up.position.set(604, 418), _1a3r.addChild(_1a3r._btn_up), _1a3r._btn_down = new _1a3t(), _1a3r._btn_down.position.set(604, 438), _1a3r.addChild(_1a3r._btn_down), _1a3r._btn_back = new _1a2h.BackBtn(), _1a3r._btn_back.position.set(108, 571), _1a3r.addChild(_1a3r._btn_back), _1a3r._btn_purchase = new _1a3u(), _1a3r._btn_purchase.position.set(424, 568), _1a3r.addChild(_1a3r._btn_purchase), _1a3r; } return _1a1r(_1a3p, _1a3n), _1a3p.prototype.initialize = function(_1a3v, _1a3w, _1a3x, _1a3y, _1a3z, _1a40) { var _1a41 = null; this._bg.texture = _1a2g.ITEM_ISHOP.getTexture(8); var _1a42 = new PIXI.Sprite(_1a2g.ITEM_ISHOP.getTexture(36)); _1a42.position.set(267, 18), this._bg.addChild(_1a42), (_1a42 = new PIXI.Sprite(_1a2g.ITEM_ISHOP.getTexture(9))).position.set(366, 183), this._bg.addChild(_1a42), (_1a42 = new PIXI.Sprite(_1a2g.ITEM_ISHOP.getTexture(10))).position.set(366, 316), this._bg.addChild(_1a42), (_1a42 = new PIXI.Sprite(_1a2g.ITEM_ISHOP.getTexture(11))).position.set(366, 354), this._bg.addChild(_1a42), (_1a42 = new PIXI.Sprite(_1a2g.ITEM_ISHOP.getTexture(12))).position.set(499, 358), this._bg.addChild(_1a42), this._label = new _1a2e.TextBox(21, 16777215), this._label.text = '個', this._label.position.set(520, 316), this._bg.addChild(this._label), this._header.texture = 0 == _1a3v ? _1a2g.ITEM_ISHOP.getTexture(29) : 1 == _1a3v ? _1a2g.ITEM_ISHOP.getTexture(28) : 2 == _1a3v ? _1a2g.ITEM_ISHOP.getTexture(27) : _1a2g.ITEM_ISHOP.getTexture(31), this._icon.texture = (0, _1a2i.getPayitemIcon)(_1a3w.id), this._description.text = _1a3w.description.replace(/
/g, '\x0a'), this._btn_up.initialize(_1a3x), this._btn_down.initialize(_1a3y), this._btn_back.initialize(_1a3z), this._btn_purchase.initialize(_1a40); }, _1a3p.prototype.update = function(_1a43, _1a44, _1a45) { var _1a46 = null; this._count.text = _1a43.toString(), this._price.text = _1a44.toString(), this._btn_purchase.enabled = _1a43 <= _1a45; }, _1a3p.prototype.activate = function() { var _1a47 = null; this._btn_up.activate(), this._btn_down.activate(), this._btn_back.activate(), this._btn_purchase.activate(); }, _1a3p.prototype.deactivate = function() { var _1a48 = null; this._btn_up.deactivate(), this._btn_down.deactivate(), this._btn_back.deactivate(), this._btn_purchase.deactivate(); }, _1a3p.prototype.dispose = function() { var _1a49 = null; this.removeChildren(), this._label.destroy(), this._description.destroy(), this._count.destroy(), this._price.destroy(), this._btn_up.dispose(), this._btn_down.dispose(), this._btn_back.dispose(), this._btn_purchase.dispose(); }, _1a3p; }(PIXI.Container), _1a3s = function(_1a4a) { var _1a4b = null; function _1a4c() { var _1a4d = null, _1a4e = _1a4a.call(this) || this; return _1a4e._onMouseOver = function() { var _1a4f = null; _1a4e._update(!0); }, _1a4e._onMouseOut = function() { var _1a4g = null; _1a4e._update(!1); }, _1a4e._onClick = function() { var _1a4h = null; null != _1a4e._cb_onClick && _1a4e._cb_onClick(); }, _1a4e.interactive = !0, _1a4e; } return _1a1r(_1a4c, _1a4a), _1a4c.prototype.initialize = function(_1a4i) { var _1a4j = null; this._cb_onClick = _1a4i, this._update(!1); }, _1a4c.prototype.activate = function() { var _1a4k = null; 1 != this.buttonMode && (this.buttonMode = !0, this.on(_1a2l.EventType.MOUSEOVER, this._onMouseOver), this.on(_1a2l.EventType.MOUSEOUT, this._onMouseOut), this.on(_1a2l.EventType.CLICK, this._onClick)); }, _1a4c.prototype.deactivate = function() { var _1a4l = null; 1 != this.buttonMode && (this.buttonMode = !1, this.off(_1a2l.EventType.MOUSEOVER, this._onMouseOver), this.off(_1a2l.EventType.MOUSEOUT, this._onMouseOut), this.off(_1a2l.EventType.CLICK, this._onClick)); }, _1a4c.prototype.dispose = function() { var _1a4m = null; this.deactivate(), this._cb_onClick = null; }, _1a4c.prototype._update = function(_1a4n) { var _1a4o = null; this.texture = 0 == _1a4n ? _1a2g.ITEM_ISHOP.getTexture(2) : _1a2g.ITEM_ISHOP.getTexture(0); }, _1a4c; }(PIXI.Sprite), _1a3t = function(_1a4p) { var _1a4q = null; function _1a4r() { var _1a4s = null; return null !== _1a4p && _1a4p.apply(this, arguments) || this; } return _1a1r(_1a4r, _1a4p), _1a4r.prototype._update = function(_1a4t) { var _1a4u = null; this.texture = 0 == _1a4t ? _1a2g.ITEM_ISHOP.getTexture(3) : _1a2g.ITEM_ISHOP.getTexture(1); }, _1a4r; }(_1a3s), _1a3u = function(_1a4v) { var _1a4w = null; function _1a4x() { var _1a4y = null; return null !== _1a4v && _1a4v.apply(this, arguments) || this; } return _1a1r(_1a4x, _1a4v), _1a4x.prototype._update = function(_1a4z) { var _1a50 = null; 0 == this._enabled ? this.texture = _1a2g.ITEM_ISHOP.getTexture(33) : this.texture = 0 == _1a4z ? _1a2g.ITEM_ISHOP.getTexture(32) : _1a2g.ITEM_ISHOP.getTexture(34); }, _1a4x; }(_1a2f.BtnBase); _1a1n.PurchaseBtn = _1a3u; }, 12713: function(_1a51, _1a52, _1a53) { 'use strict'; var _1a54 = null; var _1a55, _1a56 = this && this.__extends || (_1a55 = function(_1a57, _1a58) { var _1a59 = null; return _1a55 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1a5a, _1a5b) { var _1a5c = null; _1a5a.__proto__ = _1a5b; } || function(_1a5d, _1a5e) { var _1a5f = null; for (var _1a5g in _1a5e) Object.prototype.hasOwnProperty.call(_1a5e, _1a5g) && (_1a5d[_1a5g] = _1a5e[_1a5g]); }, _1a55(_1a57, _1a58); }, function(_1a5h, _1a5i) { var _1a5j = null; if ('function' != typeof _1a5i && null !== _1a5i) throw new TypeError('Class extends value ' + String(_1a5i) + ' is not a constructor or null'); function _1a5k() { var _1a5l = null; this.constructor = _1a5h; } _1a55(_1a5h, _1a5i), _1a5h.prototype = null === _1a5i ? Object.create(_1a5i) : (_1a5k.prototype = _1a5i.prototype, new _1a5k()); }), _1a5m = this && this.__importDefault || function(_1a5n) { var _1a5o = null; return _1a5n && _1a5n.__esModule ? _1a5n : { 'default': _1a5n }; }; defineModule(_1a52); Object.defineProperty(_1a52, '__esModule', { 'value': !0 }), _1a52.TaskWelcomeCutin = void 0; var _1a5p = _1a5m(_1a53(18622)), _1a5q = _1a53(81755), _1a5r = _1a53(79899), _1a5s = _1a53(35380), _1a5t = _1a53(20087), _1a5u = function(_1a5v) { var _1a5w = null; function _1a5x(_1a5y, _1a5z, _1a60) { var _1a61 = null, _1a62 = _1a5v.call(this) || this; return _1a62._onClose = function() { var _1a63 = null; _1a62._bg.buttonMode = !1, _1a62._bg.off(_1a5s.EventType.CLICK, _1a62._onClose), null != _1a62._t && (_1a62._t.setPaused(!0), _1a62._t = null), createjs.Tween.get(_1a62._chara).to({ 'y': 450, 'alpha': 0 }, 300).call(function() { var _1a64 = null; _1a62._layer.removeChild(_1a62._bg), _1a62._layer.removeChild(_1a62._chara), _1a62._endTask(); }); }, _1a62._layer = _1a5y, _1a62._page_no = _1a5z, _1a62._count = _1a60, _1a62; } return _1a56(_1a5x, _1a5v), _1a5x.prototype._start = function() { var _1a65 = null, _1a66 = this; this._bg = new _1a5r.AreaBox(0, 0, 1200, 720), this._layer.addChild(this._bg); var _1a67 = PIXI.Sprite.fromFrame(_1a5t.POSTER_KEY_1), _1a68 = (0, _1a5t.getPosterOffsetWelcome)(); null != _1a68 && (_1a67.x = _1a68.x, _1a67.y = _1a68.y), this._chara = new PIXI.Sprite(), this._chara.addChild(_1a67), this._chara.position.set(1200, 0), this._layer.addChild(this._chara), 0 == this._page_no ? this._count <= 1 && _1a5p.default.sound.voice.playAtRandom('9999', [311, 312], [60, 40]) : _1a5p.default.sound.voice.play('9999', 315), this._bg.interactive = !0, this._bg.buttonMode = !0, this._bg.once(_1a5s.EventType.CLICK, this._onClose), this._t = createjs.Tween.get(this._chara).to({ 'x': 660 }, 300).call(function() { _1a66._t = null; }); }, _1a5x; }(_1a5q.TaskBase); _1a52.TaskWelcomeCutin = _1a5u; }, 14681: function(_1a69, _1a6a, _1a6b) { 'use strict'; var _1a6c = null; var _1a6d, _1a6e = this && this.__extends || (_1a6d = function(_1a6f, _1a6g) { var _1a6h = null; return _1a6d = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1a6i, _1a6j) { var _1a6k = null; _1a6i.__proto__ = _1a6j; } || function(_1a6l, _1a6m) { var _1a6n = null; for (var _1a6o in _1a6m) Object.prototype.hasOwnProperty.call(_1a6m, _1a6o) && (_1a6l[_1a6o] = _1a6m[_1a6o]); }, _1a6d(_1a6f, _1a6g); }, function(_1a6p, _1a6q) { var _1a6r = null; if ('function' != typeof _1a6q && null !== _1a6q) throw new TypeError('Class extends value ' + String(_1a6q) + ' is not a constructor or null'); function _1a6s() { var _1a6t = null; this.constructor = _1a6p; } _1a6d(_1a6p, _1a6q), _1a6p.prototype = null === _1a6q ? Object.create(_1a6q) : (_1a6s.prototype = _1a6q.prototype, new _1a6s()); }), _1a6u = this && this.__importDefault || function(_1a6v) { var _1a6w = null; return _1a6v && _1a6v.__esModule ? _1a6v : { 'default': _1a6v }; }; defineModule(_1a6a); Object.defineProperty(_1a6a, '__esModule', { 'value': !0 }), _1a6a.NormalItemShopMain = void 0; var _1a6x = _1a6u(_1a6b(18622)), _1a6y = _1a6b(8744), _1a6z = _1a6b(40168), _1a70 = _1a6b(77181), _1a71 = _1a6b(37903), _1a72 = function(_1a73) { var _1a74 = null; function _1a75(_1a76) { var _1a77 = null, _1a78 = _1a73.call(this) || this; return _1a78._onMouseOn = function(_1a79, _1a7a) { var _1a7b = null; _1a78._description.x = 0 == _1a79 ? 202 : 1 == _1a79 ? 535 : 865, _1a78._description.text = _1a7a.replace(/
/g, '\x0a'); }, _1a78._onMouseOff = function() { var _1a7c = null; _1a78._description.text = ''; }, _1a78._cb_onSelect = _1a76, _1a78._bg_layer = new PIXI.Container(), _1a78.addChild(_1a78._bg_layer), _1a78._description = new _1a6y.TextBox(18, 16777215), _1a78._description.y = 217, _1a78.addChild(_1a78._description), _1a78; } return _1a6e(_1a75, _1a73), _1a75.prototype.initialize = function() { var _1a7d = null, _1a7e = new PIXI.Sprite(_1a6z.ITEM_ISHOP.getTexture(29)); _1a7e.position.set(186, 144), this._bg_layer.addChild(_1a7e), (_1a7e = new PIXI.Sprite(_1a6z.ITEM_ISHOP.getTexture(13))).position.set(184, 204), this._bg_layer.addChild(_1a7e), (_1a7e = new PIXI.Sprite(_1a6z.ITEM_ISHOP.getTexture(28))).position.set(516, 144), this._bg_layer.addChild(_1a7e), (_1a7e = new PIXI.Sprite(_1a6z.ITEM_ISHOP.getTexture(17))).position.set(516, 204), this._bg_layer.addChild(_1a7e), (_1a7e = new PIXI.Sprite(_1a6z.ITEM_ISHOP.getTexture(27))).position.set(846, 144), this._bg_layer.addChild(_1a7e), (_1a7e = new PIXI.Sprite(_1a6z.ITEM_ISHOP.getTexture(15))).position.set(846, 204), this._bg_layer.addChild(_1a7e), (_1a7e = new PIXI.Sprite(_1a6z.ITEM_ISHOP.getTexture(25))).position.set(1176, 144), this._bg_layer.addChild(_1a7e), this._icons = []; for (var _1a7f = 0; _1a7f < 12; _1a7f++) { var _1a7g = new _1a71.ItemIcon(this._onMouseOn, this._onMouseOff, this._cb_onSelect); _1a7g.x = 204 + 330 * Math.floor(_1a7f / 4) + _1a7f % 2 * 150, _1a7g.y = 289 + (Math.floor(_1a7f % 4) <= 1 ? 0 : 180), _1a7g.initialize(Math.floor(_1a7f / 4)), this.addChild(_1a7g), this._icons.push(_1a7g); } }, _1a75.prototype.update = function() { var _1a7h = null; for (var _1a7i = _1a6x.default.model.payitem.getOrder(0), _1a7j = 0; _1a7j < this._icons.length; _1a7j++) { var _1a7k = this._icons[_1a7j], _1a7l = _1a7i[_1a7j], _1a7m = _1a6x.default.model.payitem.getData(_1a7l); _1a7k.update(_1a7m); } }, _1a75.prototype.activate = function() { var _1a7n = null; for (var _1a7o = 0, _1a7p = this._icons; _1a7o < _1a7p.length; _1a7o++) { _1a7p[_1a7o].activate(); } }, _1a75.prototype.deactivate = function() { var _1a7q = null; for (var _1a7r = 0, _1a7s = this._icons; _1a7r < _1a7s.length; _1a7r++) { _1a7s[_1a7r].deactivate(); } }, _1a75.prototype.dispose = function() { var _1a7t = null; this.removeChildren(); for (var _1a7u = 0, _1a7v = this._icons; _1a7u < _1a7v.length; _1a7u++) { _1a7v[_1a7u].dispose(); } this._description.destroy(), this._cb_onSelect = null; }, _1a75; }(_1a70.ViewBase); _1a6a.NormalItemShopMain = _1a72; }, 83544: function(_1a7w, _1a7x, _1a7y) { 'use strict'; var _1a7z = null; var _1a80, _1a81 = this && this.__extends || (_1a80 = function(_1a82, _1a83) { var _1a84 = null; return _1a80 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1a85, _1a86) { var _1a87 = null; _1a85.__proto__ = _1a86; } || function(_1a88, _1a89) { var _1a8a = null; for (var _1a8b in _1a89) Object.prototype.hasOwnProperty.call(_1a89, _1a8b) && (_1a88[_1a8b] = _1a89[_1a8b]); }, _1a80(_1a82, _1a83); }, function(_1a8c, _1a8d) { var _1a8e = null; if ('function' != typeof _1a8d && null !== _1a8d) throw new TypeError('Class extends value ' + String(_1a8d) + ' is not a constructor or null'); function _1a8f() { var _1a8g = null; this.constructor = _1a8c; } _1a80(_1a8c, _1a8d), _1a8c.prototype = null === _1a8d ? Object.create(_1a8d) : (_1a8f.prototype = _1a8d.prototype, new _1a8f()); }), _1a8h = this && this.__importDefault || function(_1a8i) { var _1a8j = null; return _1a8i && _1a8i.__esModule ? _1a8i : { 'default': _1a8i }; }; defineModule(_1a7x); Object.defineProperty(_1a7x, '__esModule', { 'value': !0 }), _1a7x.SpecialItemShopMain = void 0; var _1a8k = _1a8h(_1a7y(18622)), _1a8l = _1a7y(8744), _1a8m = _1a7y(40168), _1a8n = _1a7y(77181), _1a8o = _1a7y(37903), _1a8p = function(_1a8q) { var _1a8r = null; function _1a8s(_1a8t) { var _1a8u = null, _1a8v = _1a8q.call(this) || this; return _1a8v.ITEM_ICON_NUM = 16, _1a8v._onMouseOn = function(_1a8w, _1a8x) { var _1a8y = null; _1a8v._description.text = _1a8x.replace(/
/g, '\x0a'); }, _1a8v._onMouseOff = function() { var _1a8z = null; _1a8v._description.text = ''; }, _1a8v._cb_onSelect = _1a8t, _1a8v._bg_layer = new PIXI.Container(), _1a8v.addChild(_1a8v._bg_layer), _1a8v._description = new _1a8l.TextBox(19, 16777215), _1a8v._description.position.set(219, 219), _1a8v._description.style.breakWords = !0, _1a8v._description.style.wordWrap = !0, _1a8v._description.style.wordWrapWidth = 744, _1a8v.addChild(_1a8v._description), _1a8v; } return _1a81(_1a8s, _1a8q), _1a8s.prototype.initialize = function() { var _1a90 = null, _1a91 = new PIXI.Sprite(_1a8m.ITEM_ISHOP.getTexture(26)); _1a91.position.set(172, 144), this._bg_layer.addChild(_1a91), (_1a91 = new PIXI.Sprite(_1a8m.ITEM_ISHOP.getTexture(30))).position.set(202, 144), this._bg_layer.addChild(_1a91), (_1a91 = new PIXI.Sprite(_1a8m.ITEM_ISHOP.getTexture(19))).position.set(202, 202), this._bg_layer.addChild(_1a91), this._icons = []; for (var _1a92 = 0; _1a92 < this.ITEM_ICON_NUM; _1a92++) { var _1a93 = new _1a8o.ItemIcon(this._onMouseOn, this._onMouseOff, this._cb_onSelect); _1a93.x = 234 + 118 * Math.floor(_1a92 / 2), _1a93.y = 288 + (0 == Math.floor(_1a92 % 2) ? 0 : 181), _1a93.initialize(3), this.addChild(_1a93), this._icons.push(_1a93); } }, _1a8s.prototype.update = function() { var _1a94 = null; for (var _1a95 = _1a8k.default.model.payitem.getOrder(1), _1a96 = 0; _1a96 < this._icons.length; _1a96++) { var _1a97 = this._icons[_1a96], _1a98 = _1a95[_1a96], _1a99 = _1a8k.default.model.payitem.getData(_1a98); _1a97.update(_1a99); } }, _1a8s.prototype.activate = function() { var _1a9a = null; for (var _1a9b = 0, _1a9c = this._icons; _1a9b < _1a9c.length; _1a9b++) { _1a9c[_1a9b].activate(); } }, _1a8s.prototype.deactivate = function() { var _1a9d = null; for (var _1a9e = 0, _1a9f = this._icons; _1a9e < _1a9f.length; _1a9e++) { _1a9f[_1a9e].deactivate(); } }, _1a8s.prototype.dispose = function() { var _1a9g = null; this.removeChildren(); for (var _1a9h = 0, _1a9i = this._icons; _1a9h < _1a9i.length; _1a9h++) { _1a9i[_1a9h].dispose(); } this._description.destroy(), this._cb_onSelect = null; }, _1a8s; }(_1a8n.ViewBase); _1a7x.SpecialItemShopMain = _1a8p; }, 41103: function(_1a9j, _1a9k, _1a9l) { 'use strict'; var _1a9m = null; var _1a9n, _1a9o = this && this.__extends || (_1a9n = function(_1a9p, _1a9q) { var _1a9r = null; return _1a9n = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1a9s, _1a9t) { var _1a9u = null; _1a9s.__proto__ = _1a9t; } || function(_1a9v, _1a9w) { var _1a9x = null; for (var _1a9y in _1a9w) Object.prototype.hasOwnProperty.call(_1a9w, _1a9y) && (_1a9v[_1a9y] = _1a9w[_1a9y]); }, _1a9n(_1a9p, _1a9q); }, function(_1a9z, _1aa0) { var _1aa1 = null; if ('function' != typeof _1aa0 && null !== _1aa0) throw new TypeError('Class extends value ' + String(_1aa0) + ' is not a constructor or null'); function _1aa2() { var _1aa3 = null; this.constructor = _1a9z; } _1a9n(_1a9z, _1aa0), _1a9z.prototype = null === _1aa0 ? Object.create(_1aa0) : (_1aa2.prototype = _1aa0.prototype, new _1aa2()); }); defineModule(_1a9k); Object.defineProperty(_1a9k, '__esModule', { 'value': !0 }), _1a9k.TabContainer = void 0; var _1aa4 = _1a9l(31000), _1aa5 = _1a9l(35380), _1aa6 = function(_1aa7) { var _1aa8 = null; function _1aa9(_1aaa) { var _1aab = null, _1aac = _1aa7.call(this) || this; return _1aac._btn = new _1aad(_1aaa), _1aac.addChild(_1aac._btn), _1aac; } return _1a9o(_1aa9, _1aa7), _1aa9.prototype.initialize = function() { var _1aae = null; this._btn.initialize(); }, _1aa9.prototype.activate = function() { var _1aaf = null; this._btn.activate(); }, _1aa9.prototype.update = function(_1aag) { var _1aah = null; this._btn.update(_1aag), 0 == _1aag ? this._btn.position.set(801, 667) : this._btn.position.set(207, 666); }, _1aa9.prototype.deactivate = function() { var _1aai = null; this._btn.deactivate(); }, _1aa9.prototype.dispose = function() { var _1aaj = null; this._btn.dispose(); }, _1aa9; }(PIXI.Container); _1a9k.TabContainer = _1aa6; var _1aad = function(_1aak) { var _1aal = null; function _1aam(_1aan) { var _1aao = null, _1aap = _1aak.call(this) || this; return _1aap._onClick = function() { var _1aaq = null; null != _1aap._cb_onClick && _1aap._cb_onClick(); }, _1aap._cb_onClick = _1aan, _1aap._over = new PIXI.Sprite(), _1aap.addChild(_1aap._over), _1aap.interactive = !0, _1aap; } return _1a9o(_1aam, _1aak), _1aam.prototype.initialize = function() {}, _1aam.prototype.update = function(_1aar) { var _1aas = null; 0 == _1aar ? (this._texture = _1aa4.ITEM_ISHOP.getTexture(6), this._over.texture = _1aa4.ITEM_ISHOP.getTexture(7)) : (this._texture = _1aa4.ITEM_ISHOP.getTexture(4), this._over.texture = _1aa4.ITEM_ISHOP.getTexture(5)); }, _1aam.prototype.activate = function() { var _1aat = null; 1 != this.buttonMode && (this.buttonMode = !0, this.on(_1aa5.EventType.CLICK, this._onClick), this._startTween()); }, _1aam.prototype.deactivate = function() { var _1aau = null; this.buttonMode = !1, this.off(_1aa5.EventType.CLICK, this._onClick), this._stopTween(); }, _1aam.prototype.dispose = function() { var _1aav = null; this.deactivate(); }, _1aam.prototype._startTween = function() { var _1aaw = null; null == this._t && (this._over.alpha = 0, this._t = createjs.Tween.get(this._over, { 'loop': !0 }).to({ 'alpha': 1 }, 500).to({ 'alpha': 0 }, 500)); }, _1aam.prototype._stopTween = function() { var _1aax = null; null != this._t && (this._over.alpha = 0, this._t.setPaused(!0), this._t = null); }, _1aam; }(PIXI.Sprite); }, 37903: function(_1aay, _1aaz, _1ab0) { 'use strict'; var _1ab1 = null; var _1ab2, _1ab3 = this && this.__extends || (_1ab2 = function(_1ab4, _1ab5) { var _1ab6 = null; return _1ab2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ab7, _1ab8) { var _1ab9 = null; _1ab7.__proto__ = _1ab8; } || function(_1aba, _1abb) { var _1abc = null; for (var _1abd in _1abb) Object.prototype.hasOwnProperty.call(_1abb, _1abd) && (_1aba[_1abd] = _1abb[_1abd]); }, _1ab2(_1ab4, _1ab5); }, function(_1abe, _1abf) { var _1abg = null; if ('function' != typeof _1abf && null !== _1abf) throw new TypeError('Class extends value ' + String(_1abf) + ' is not a constructor or null'); function _1abh() { var _1abi = null; this.constructor = _1abe; } _1ab2(_1abe, _1abf), _1abe.prototype = null === _1abf ? Object.create(_1abf) : (_1abh.prototype = _1abf.prototype, new _1abh()); }); defineModule(_1aaz); Object.defineProperty(_1aaz, '__esModule', { 'value': !0 }), _1aaz.ItemIcon = void 0; var _1abj = _1ab0(8744), _1abk = _1ab0(40168), _1abl = _1ab0(84748), _1abm = _1ab0(35380), _1abn = function(_1abo) { var _1abp = null; function _1abq(_1abr, _1abs, _1abt) { var _1abu = null, _1abv = _1abo.call(this) || this; return _1abv._mst = null, _1abv._onBuyBtnMouseOver = function() { var _1abw = null; null != _1abv._mst && null != _1abv._cb_onMouseOver && _1abv._cb_onMouseOver(_1abv._type, _1abv._mst.description_at_shop); }, _1abv._onBuyBtnMouseOut = function() { var _1abx = null; null != _1abv._mst && null != _1abv._cb_onMouseOut && _1abv._cb_onMouseOut(); }, _1abv._onBuyBtnClick = function() { var _1aby = null; null != _1abv._mst && null != _1abv._cb_onClick && _1abv._cb_onClick(_1abv._type, _1abv._mst); }, _1abv._cb_onMouseOver = _1abr, _1abv._cb_onMouseOut = _1abs, _1abv._cb_onClick = _1abt, _1abv._img = new PIXI.Sprite(), _1abv.addChild(_1abv._img), _1abv._price = new _1abj.TextBox(21, 16711680), _1abv._price.anchor.x = 1, _1abv.addChild(_1abv._price), _1abv._btn = new _1abz(_1abv._onBuyBtnMouseOver, _1abv._onBuyBtnMouseOut, _1abv._onBuyBtnClick), _1abv.addChild(_1abv._btn), _1abv; } return _1ab3(_1abq, _1abo), _1abq.prototype.initialize = function(_1ac0) { var _1ac1 = null; this._type = _1ac0, 3 == _1ac0 ? (this.texture = _1abk.ITEM_ISHOP.getTexture(20), this._img.position.set(18, 4), this._price.position.set(100, 136), this._price.style.fill = 15898880, this._btn.position.set(6, 87)) : (0 == _1ac0 ? this.texture = _1abk.ITEM_ISHOP.getTexture(14) : 1 == _1ac0 ? this.texture = _1abk.ITEM_ISHOP.getTexture(18) : 2 == _1ac0 && (this.texture = _1abk.ITEM_ISHOP.getTexture(16)), this._img.position.set(31, 4), this._price.position.set(126, 136), this._price.style.fill = 16724736, this._btn.position.set(13, 85)), this._btn.initialize(_1ac0); }, _1abq.prototype.update = function(_1ac2) { var _1ac3 = null; this._mst = _1ac2, null == _1ac2 ? this.visible = !1 : (this._img.texture = (0, _1abl.getPayitemIcon)(_1ac2.id), this._price.text = Math.floor(_1ac2.price).toString(), this.visible = !0); }, _1abq.prototype.activate = function() { var _1ac4 = null; 0 != this.visible && this._btn.activate(); }, _1abq.prototype.deactivate = function() { var _1ac5 = null; this._btn.deactivate(); }, _1abq.prototype.dispose = function() { var _1ac6 = null; this._cb_onMouseOver = null, this._cb_onMouseOut = null, this._cb_onClick = null, this.deactivate(), this.removeChildren(), this._price.destroy(), this._btn.dispose(); }, _1abq; }(PIXI.Sprite); _1aaz.ItemIcon = _1abn; var _1abz = function(_1ac7) { var _1ac8 = null; function _1ac9(_1aca, _1acb, _1acc) { var _1acd = null, _1ace = _1ac7.call(this) || this; return _1ace._onMouseOver = function() { var _1acf = null; _1ace._update(!0), null != _1ace._cb_onMouseOver && _1ace._cb_onMouseOver(); }, _1ace._onMouseOut = function() { var _1acg = null; _1ace._update(!1), null != _1ace._cb_onMouseOut && _1ace._cb_onMouseOut(); }, _1ace._onClick = function() { var _1ach = null; null != _1ace._cb_onClick && _1ace._cb_onClick(); }, _1ace._cb_onMouseOver = _1aca, _1ace._cb_onMouseOut = _1acb, _1ace._cb_onClick = _1acc, _1ace.interactive = !0, _1ace; } return _1ab3(_1ac9, _1ac7), _1ac9.prototype.initialize = function(_1aci) { var _1acj = null; this._type = _1aci, this._update(!1); }, _1ac9.prototype.activate = function() { var _1ack = null; 1 != this.buttonMode && (this.buttonMode = !0, this.on(_1abm.EventType.MOUSEOVER, this._onMouseOver), this.on(_1abm.EventType.MOUSEOUT, this._onMouseOut), this.on(_1abm.EventType.CLICK, this._onClick)); }, _1ac9.prototype.deactivate = function() { var _1acl = null; this.buttonMode = !1, this.off(_1abm.EventType.MOUSEOVER, this._onMouseOver), this.off(_1abm.EventType.MOUSEOUT, this._onMouseOut), this.off(_1abm.EventType.CLICK, this._onClick); }, _1ac9.prototype.dispose = function() { var _1acm = null; this.deactivate(), this._cb_onMouseOver = null, this._cb_onMouseOut = null, this._cb_onClick = null; }, _1ac9.prototype._update = function(_1acn) { var _1aco = null, _1acp; _1acp = 0 == _1acn ? 3 == this._type ? 22 : 21 : 3 == this._type ? 23 : 24, this._texture = _1abk.ITEM_ISHOP.getTexture(_1acp); }, _1ac9; }(PIXI.Sprite); }, 34877: function(_1acq, _1acr, _1acs) { 'use strict'; var _1act = null; var _1acu, _1acv = this && this.__extends || (_1acu = function(_1acw, _1acx) { var _1acy = null; return _1acu = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1acz, _1ad0) { var _1ad1 = null; _1acz.__proto__ = _1ad0; } || function(_1ad2, _1ad3) { var _1ad4 = null; for (var _1ad5 in _1ad3) Object.prototype.hasOwnProperty.call(_1ad3, _1ad5) && (_1ad2[_1ad5] = _1ad3[_1ad5]); }, _1acu(_1acw, _1acx); }, function(_1ad6, _1ad7) { var _1ad8 = null; if ('function' != typeof _1ad7 && null !== _1ad7) throw new TypeError('Class extends value ' + String(_1ad7) + ' is not a constructor or null'); function _1ad9() { var _1ada = null; this.constructor = _1ad6; } _1acu(_1ad6, _1ad7), _1ad6.prototype = null === _1ad7 ? Object.create(_1ad7) : (_1ad9.prototype = _1ad7.prototype, new _1ad9()); }); defineModule(_1acr); Object.defineProperty(_1acr, '__esModule', { 'value': !0 }), _1acr.TaskItemSceneFinalize = void 0; var _1adb = _1acs(37562), _1adc = _1acs(13748), _1add = function(_1ade) { var _1adf = null; function _1adg(_1adh) { var _1adi = null, _1adj = _1ade.call(this) || this; return _1adj._scene_dispose_delegate = _1adh, _1adj; } return _1acv(_1adg, _1ade), _1adg.prototype._start = function() { var _1adk = null; null != this._scene_dispose_delegate && this._scene_dispose_delegate(), _1adc.UIImageLoader.clearMemoryCache('item'), this._endTask(); }, _1adg; }(_1adb.TaskBase); _1acr.TaskItemSceneFinalize = _1add; }, 41901: function(_1adl, _1adm, _1adn) { 'use strict'; var _1ado = null; var _1adp, _1adq = this && this.__extends || (_1adp = function(_1adr, _1ads) { var _1adt = null; return _1adp = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1adu, _1adv) { var _1adw = null; _1adu.__proto__ = _1adv; } || function(_1adx, _1ady) { var _1adz = null; for (var _1ae0 in _1ady) Object.prototype.hasOwnProperty.call(_1ady, _1ae0) && (_1adx[_1ae0] = _1ady[_1ae0]); }, _1adp(_1adr, _1ads); }, function(_1ae1, _1ae2) { var _1ae3 = null; if ('function' != typeof _1ae2 && null !== _1ae2) throw new TypeError('Class extends value ' + String(_1ae2) + ' is not a constructor or null'); function _1ae4() { var _1ae5 = null; this.constructor = _1ae1; } _1adp(_1ae1, _1ae2), _1ae1.prototype = null === _1ae2 ? Object.create(_1ae2) : (_1ae4.prototype = _1ae2.prototype, new _1ae4()); }), _1ae6 = this && this.__importDefault || function(_1ae7) { var _1ae8 = null; return _1ae7 && _1ae7.__esModule ? _1ae7 : { 'default': _1ae7 }; }; defineModule(_1adm); Object.defineProperty(_1adm, '__esModule', { 'value': !0 }), _1adm.TaskItemSceneInitialize = void 0; var _1ae9 = _1ae6(_1adn(18622)), _1aea = function(_1aeb) { var _1aec = null; function _1aed(_1aee) { var _1aef = null, _1aeg = _1aeb.call(this) || this; return _1aeg._scene_activate_delegate = _1aee, _1aeg; } return _1adq(_1aed, _1aeb), _1aed.prototype._start = function() { var _1aeh = null; this._playBGM(); }, _1aed.prototype._playBGM = function() { var _1aei = null; _1ae9.default.sound.bgm.play(102), this._startScene(); }, _1aed.prototype._startScene = function() { var _1aej = null; null != this._scene_activate_delegate && this._scene_activate_delegate(), this._endTask(); }, _1aed; }(_1adn(37562).TaskBase); _1adm.TaskItemSceneInitialize = _1aea; }, 54403: function(_1aek, _1ael, _1aem) { 'use strict'; var _1aen = null; var _1aeo, _1aep = this && this.__extends || (_1aeo = function(_1aeq, _1aer) { var _1aes = null; return _1aeo = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1aet, _1aeu) { var _1aev = null; _1aet.__proto__ = _1aeu; } || function(_1aew, _1aex) { var _1aey = null; for (var _1aez in _1aex) Object.prototype.hasOwnProperty.call(_1aex, _1aez) && (_1aew[_1aez] = _1aex[_1aez]); }, _1aeo(_1aeq, _1aer); }, function(_1af0, _1af1) { var _1af2 = null; if ('function' != typeof _1af1 && null !== _1af1) throw new TypeError('Class extends value ' + String(_1af1) + ' is not a constructor or null'); function _1af3() { var _1af4 = null; this.constructor = _1af0; } _1aeo(_1af0, _1af1), _1af0.prototype = null === _1af1 ? Object.create(_1af1) : (_1af3.prototype = _1af1.prototype, new _1af3()); }), _1af5 = this && this.__importDefault || function(_1af6) { var _1af7 = null; return _1af6 && _1af6.__esModule ? _1af6 : { 'default': _1af6 }; }; defineModule(_1ael); Object.defineProperty(_1ael, '__esModule', { 'value': !0 }), _1ael.TaskItemScenePreInitialize = void 0; var _1af8 = _1af5(_1aem(18622)), _1af9 = _1aem(81755), _1afa = _1aem(68028), _1afb = _1aem(5308), _1afc = _1aem(79315), _1afd = function(_1afe) { var _1aff = null; function _1afg(_1afh, _1afi, _1afj) { var _1afk = null, _1afl = _1afe.call(this) || this; return _1afl._purchasedItems = _1afh, _1afl._scene_model = _1afi, _1afl._delegate_initialize = _1afj, _1afl; } return _1aep(_1afg, _1afe), _1afg.prototype._start = function() { var _1afm = null; this._loadResources(); }, _1afg.prototype._loadResources = function() { var _1afn = null, _1afo = this; new _1afc.TaskLoadResources().start(function() { var _1afp = null; if (null != _1afo._delegate_initialize) { _1af8.default.model.useItem.updateCount(); var _1afq = 0; if (_1afo._scene_model instanceof _1afa.ItemSceneModel) _1afq = _1afo._scene_model.subtype; _1afo._delegate_initialize(_1afq); } _1afo._connectAPI(); }); }, _1afg.prototype._connectAPI = function() { var _1afr = null, _1afs = this; new _1afb.PayItemAPI(this._purchasedItems).start(function() { var _1aft = null; _1afs._endTask(); }); }, _1afg.prototype._endTask = function() { var _1afu = null; this._purchasedItems = null, this._scene_model = null, this._delegate_initialize = null, _1afe.prototype._endTask.call(this); }, _1afg; }(_1af9.TaskBase); _1ael.TaskItemScenePreInitialize = _1afd; }, 79315: function(_1afv, _1afw, _1afx) { 'use strict'; var _1afy = null; var _1afz, _1ag0 = this && this.__extends || (_1afz = function(_1ag1, _1ag2) { var _1ag3 = null; return _1afz = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ag4, _1ag5) { var _1ag6 = null; _1ag4.__proto__ = _1ag5; } || function(_1ag7, _1ag8) { var _1ag9 = null; for (var _1aga in _1ag8) Object.prototype.hasOwnProperty.call(_1ag8, _1aga) && (_1ag7[_1aga] = _1ag8[_1aga]); }, _1afz(_1ag1, _1ag2); }, function(_1agb, _1agc) { var _1agd = null; if ('function' != typeof _1agc && null !== _1agc) throw new TypeError('Class extends value ' + String(_1agc) + ' is not a constructor or null'); function _1age() { var _1agf = null; this.constructor = _1agb; } _1afz(_1agb, _1agc), _1agb.prototype = null === _1agc ? Object.create(_1agc) : (_1age.prototype = _1agc.prototype, new _1age()); }), _1agg = this && this.__importDefault || function(_1agh) { var _1agi = null; return _1agh && _1agh.__esModule ? _1agh : { 'default': _1agh }; }; defineModule(_1afw); Object.defineProperty(_1afw, '__esModule', { 'value': !0 }), _1afw.TaskLoadResources = void 0; var _1agj = _1agg(_1afx(18622)), _1agk = _1afx(81755), _1agl = _1afx(13748), _1agm = _1afx(20087), _1agn = _1afx(80534), _1ago = _1afx(71633), _1agp = function(_1agq) { var _1agr = null; function _1ags() { var _1agt = null; return _1agq.call(this) || this; } return _1ag0(_1ags, _1agq), _1ags.prototype._start = function() { var _1agu = null; this._load(); }, _1ags.prototype._load = function() { var _1agv = null, _1agw = this, _1agx = new _1agl.UIImageLoader('item'); _1agx.add('item_common.json'), _1agx.add('item_ilist.json'), _1agx.add('item_payitemicon.json'), _1agx.add('item_ishop.json'), _1agx.add('item_fshop.json'), _1agx.load(function() { var _1agy = null; _1agw._load2(); }); }, _1ags.prototype._load2 = function() { var _1agz = null, _1ah0 = this, _1ah1 = new _1agl.UIImageLoader('item'); _1ah1.add('item_ilist_medal.json'), _1ah1.add('item_ilist_medal_kou.json'), _1ah1.add('item_ilist_presentbox.json'), _1ah1.add('item_ilist_hishimochi.json'), _1ago.EventConst.SETSUBUN && _1ah1.add('item_ilist_setsubun.json'), _1ago.EventConst.SANMA && _1ah1.add('item_ilist_sanma.json'), _1ago.EventConst.HALLOWEEN && _1ah1.add('item_ilist_pumpkin.json'), _1ago.EventConst.TERUTERU_BOZU && _1ah1.add('item_ilist_teruterubozu.json'), _1ah1.load(function() { var _1ah2 = null; _1ah0._loadSkinResource(); }); }, _1ags.prototype._loadSkinResource = function() { var _1ah3 = null, _1ah4 = this, _1ah5 = new _1agl.UIImageLoader('item'), _1ah6 = _1agj.default.model.basic.getUISkinID(); 101 == _1ah6 || 102 == _1ah6 ? _1ah5.add('item_menu_1.json') : 201 == _1ah6 ? _1ah5.add('item_menu_2.json') : 301 != _1ah6 && 311 != _1ah6 || _1ah5.add('item_menu_3.json'), _1ah5.load(function() { var _1ah7 = null; _1ah4._loadAkashiResoueces(); }); }, _1ags.prototype._loadAkashiResoueces = function() { var _1ah8 = null, _1ah9 = this, _1aha = new _1agl.UIImageLoader('item'); _1aha.add('akashi/'['concat'](_1agn.AKASHI_SEASON, '1.png'), _1agm.POSTER_KEY_1), _1aha.add('akashi/'['concat'](_1agn.AKASHI_SEASON, '2.png'), _1agm.POSTER_KEY_2), _1aha.add('fairy/'['concat'](_1agn.FAIRY_ITEM_SHOP_SEASON, '1.png'), _1agm.FAIRY_KEY_1), _1aha.add('fairy/'['concat'](_1agn.FAIRY_ITEM_SHOP_SEASON, '2.png'), _1agm.FAIRY_KEY_2), _1aha.load(function() { var _1ahb = null; _1ah9._endTask(); }); }, _1ags; }(_1agk.TaskBase); _1afw.TaskLoadResources = _1agp; }, 3151: function(_1ahc, _1ahd, _1ahe) { 'use strict'; var _1ahf = null; var _1ahg, _1ahh = this && this.__extends || (_1ahg = function(_1ahi, _1ahj) { var _1ahk = null; return _1ahg = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ahl, _1ahm) { var _1ahn = null; _1ahl.__proto__ = _1ahm; } || function(_1aho, _1ahp) { var _1ahq = null; for (var _1ahr in _1ahp) Object.prototype.hasOwnProperty.call(_1ahp, _1ahr) && (_1aho[_1ahr] = _1ahp[_1ahr]); }, _1ahg(_1ahi, _1ahj); }, function(_1ahs, _1aht) { var _1ahu = null; if ('function' != typeof _1aht && null !== _1aht) throw new TypeError('Class extends value ' + String(_1aht) + ' is not a constructor or null'); function _1ahv() { var _1ahw = null; this.constructor = _1ahs; } _1ahg(_1ahs, _1aht), _1ahs.prototype = null === _1aht ? Object.create(_1aht) : (_1ahv.prototype = _1aht.prototype, new _1ahv()); }), _1ahx = this && this.__importDefault || function(_1ahy) { var _1ahz = null; return _1ahy && _1ahy.__esModule ? _1ahy : { 'default': _1ahy }; }; defineModule(_1ahd); Object.defineProperty(_1ahd, '__esModule', { 'value': !0 }), _1ahd.TaskPurchased = void 0; var _1ai0 = _1ahx(_1ahe(21359)), _1ai1 = _1ahx(_1ahe(18622)), _1ai2 = _1ahe(37562), _1ai3 = _1ahe(79899), _1ai4 = _1ahe(31000), _1ai5 = _1ahe(35380), _1ai6 = _1ahe(20087), _1ai7 = function(_1ai8) { var _1ai9 = null; function _1aia(_1aib) { var _1aic = null, _1aid = _1ai8.call(this) || this; return _1aid._onClose = function() { var _1aie = null; _1aid._dialog.btn.buttonMode = !1, createjs.Tween.get(_1aid._chara).to({ 'x': _1ai0.default.width }, 300), createjs.Tween.get(_1aid._dialog).to({ 'alpha': 0 }, 300).call(function() { var _1aif = null; _1aid._layer.removeChild(_1aid._bg), _1aid._layer.removeChild(_1aid._chara), _1aid._layer.removeChild(_1aid._dialog), _1aid._endTask(); }); }, _1aid._layer = _1aib, _1aid; } return _1ahh(_1aia, _1ai8), _1aia.prototype._start = function() { var _1aig = null; this._bg = new _1ai3.AreaBox(0), this._layer.addChild(this._bg); var _1aih = PIXI.Sprite.fromFrame(_1ai6.POSTER_KEY_2), _1aii = (0, _1ai6.getPosterOffsetPurchased)(); null != _1aii && (_1aih.x = _1aii.x, _1aih.y = _1aii.y), this._chara = new PIXI.Sprite(), this._chara.addChild(_1aih), this._chara.position.set(681, 3), this._layer.addChild(this._chara), this._dialog = new _1aij(), this._dialog.initialize(), this._dialog.position.set(219, 207), this._layer.addChild(this._dialog), _1ai1.default.sound.voice.playAtRandom('9999', [316, 317], [60, 40]), this._dialog.btn.buttonMode = !0, this._dialog.btn.once(_1ai5.EventType.CLICK, this._onClose); }, _1aia; }(_1ai2.TaskBase); _1ahd.TaskPurchased = _1ai7; var _1aij = function(_1aik) { var _1ail = null; function _1aim() { var _1ain = null, _1aio = _1aik.call(this) || this; return _1aio._btn = new PIXI.Sprite(), _1aio._btn.position.set(291, 201), _1aio._btn.interactive = !0, _1aio.addChild(_1aio._btn), _1aio; } return _1ahh(_1aim, _1aik), Object.defineProperty(_1aim.prototype, 'btn', { 'get': function() { var _1aip = null; return this._btn; }, 'enumerable': !1, 'configurable': !0 }), _1aim.prototype.initialize = function() { var _1aiq = null; this.texture = _1ai4.ITEM_COMMON.getTexture(4), this._btn.texture = _1ai4.ITEM_COMMON.getTexture(3); }, _1aim; }(PIXI.Sprite); }, 4535: function(_1air, _1ais, _1ait) { 'use strict'; var _1aiu = null; var _1aiv, _1aiw = this && this.__extends || (_1aiv = function(_1aix, _1aiy) { var _1aiz = null; return _1aiv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1aj0, _1aj1) { var _1aj2 = null; _1aj0.__proto__ = _1aj1; } || function(_1aj3, _1aj4) { var _1aj5 = null; for (var _1aj6 in _1aj4) Object.prototype.hasOwnProperty.call(_1aj4, _1aj6) && (_1aj3[_1aj6] = _1aj4[_1aj6]); }, _1aiv(_1aix, _1aiy); }, function(_1aj7, _1aj8) { var _1aj9 = null; if ('function' != typeof _1aj8 && null !== _1aj8) throw new TypeError('Class extends value ' + String(_1aj8) + ' is not a constructor or null'); function _1aja() { var _1ajb = null; this.constructor = _1aj7; } _1aiv(_1aj7, _1aj8), _1aj7.prototype = null === _1aj8 ? Object.create(_1aj8) : (_1aja.prototype = _1aj8.prototype, new _1aja()); }); defineModule(_1ais); Object.defineProperty(_1ais, '__esModule', { 'value': !0 }), _1ais.PurchasedItemModelEdit = _1ais.PurchasedItemModel = _1ais.PurchasedItemModelHolder = void 0; var _1ajc = _1ait(89939), _1ajd = (function() { var _1aje = null; function _1ajf() { var _1ajg = null; this._dic = {}; } return _1ajf.prototype.getCount = function(_1ajh) { var _1aji = null, _1ajj = this.getData(_1ajh); return null == _1ajj ? 0 : _1ajj.count; }, _1ajf.prototype.getData = function(_1ajk) { var _1ajl = null; return 1 == this._dic.hasOwnProperty(_1ajk.toString()) ? this._dic[_1ajk] : null; }, _1ajf.prototype.setData = function(_1ajm) { var _1ajn = null; if (this._dic = {}, null != _1ajm) for (var _1ajo = 0, _1ajp = _1ajm; _1ajo < _1ajp.length; _1ajo++) { var _1ajq = _1ajp[_1ajo], _1ajr = new _1ajs(_1ajq); this._dic[_1ajr.id] = _1ajr; } }, _1ajf; }()); _1ais.PurchasedItemModelHolder = _1ajd; var _1ajt = (function() { var _1aju = null; function _1ajv(_1ajw) { this._o = _1ajw; } return Object.defineProperty(_1ajv.prototype, 'id', { 'get': function() { var _1ajx = null; return parseInt(_1ajc.ObjUtil.getString(this._o, 'api_payitem_id')); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ajv.prototype, 'name', { 'get': function() { var _1ajy = null; return _1ajc.ObjUtil.getString(this._o, 'api_name'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ajv.prototype, 'description', { 'get': function() { var _1ajz = null; return _1ajc.ObjUtil.getString(this._o, 'api_description'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ajv.prototype, 'count', { 'get': function() { var _1ak0 = null; return _1ajc.ObjUtil.getNumber(this._o, 'api_count'); }, 'enumerable': !1, 'configurable': !0 }), _1ajv; }()); _1ais.PurchasedItemModel = _1ajt; var _1ajs = function(_1ak1) { var _1ak2 = null; function _1ak3() { var _1ak4 = null; return null !== _1ak1 && _1ak1.apply(this, arguments) || this; } return _1aiw(_1ak3, _1ak1), _1ak3.prototype.setCount = function(_1ak5) { var _1ak6 = null; this._o.api_count = _1ak5; }, _1ak3; }(_1ajt); _1ais.PurchasedItemModelEdit = _1ajs; }, 84748: (_1ak7, _1ak8, _1ak9) => { 'use strict'; var _1aka = null; defineModule(_1ak8); Object.defineProperty(_1ak8, '__esModule', { 'value': !0 }), _1ak8.getPayitemIcon = void 0; var _1akb = _1ak9(81526); _1ak8.getPayitemIcon = function(_1akc) { var _1akd = null; try { return _1akb.ITEM_PAYITEMICON.getTextureFromMstID(_1akc); } catch (_1ake) { return PIXI.Texture.EMPTY; } }; }, 47592: function(_1akf, _1akg, _1akh) { 'use strict'; var _1aki = null; var _1akj, _1akk = this && this.__extends || (_1akj = function(_1akl, _1akm) { var _1akn = null; return _1akj = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ako, _1akp) { var _1akq = null; _1ako.__proto__ = _1akp; } || function(_1akr, _1aks) { var _1akt = null; for (var _1aku in _1aks) Object.prototype.hasOwnProperty.call(_1aks, _1aku) && (_1akr[_1aku] = _1aks[_1aku]); }, _1akj(_1akl, _1akm); }, function(_1akv, _1akw) { var _1akx = null; if ('function' != typeof _1akw && null !== _1akw) throw new TypeError('Class extends value ' + String(_1akw) + ' is not a constructor or null'); function _1aky() { var _1akz = null; this.constructor = _1akv; } _1akj(_1akv, _1akw), _1akv.prototype = null === _1akw ? Object.create(_1akw) : (_1aky.prototype = _1akw.prototype, new _1aky()); }); defineModule(_1akg); Object.defineProperty(_1akg, '__esModule', { 'value': !0 }), _1akg.BackBtn = void 0; var _1al0 = _1akh(57257), _1al1 = _1akh(31000), _1al2 = function(_1al3) { var _1al4 = null; function _1al5() { var _1al6 = null; return null !== _1al3 && _1al3.apply(this, arguments) || this; } return _1akk(_1al5, _1al3), _1al5.prototype._update = function(_1al7) { var _1al8 = null; 0 == this._enabled ? this.texture = _1al1.ITEM_COMMON.getTexture(1) : this.texture = 0 == _1al7 ? _1al1.ITEM_COMMON.getTexture(0) : _1al1.ITEM_COMMON.getTexture(2); }, _1al5; }(_1al0.BtnBase); _1akg.BackBtn = _1al2; }, 7703: function(_1al9, _1ala, _1alb) { 'use strict'; var _1alc = null; var _1ald, _1ale = this && this.__extends || (_1ald = function(_1alf, _1alg) { var _1alh = null; return _1ald = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ali, _1alj) { var _1alk = null; _1ali.__proto__ = _1alj; } || function(_1all, _1alm) { var _1aln = null; for (var _1alo in _1alm) Object.prototype.hasOwnProperty.call(_1alm, _1alo) && (_1all[_1alo] = _1alm[_1alo]); }, _1ald(_1alf, _1alg); }, function(_1alp, _1alq) { var _1alr = null; if ('function' != typeof _1alq && null !== _1alq) throw new TypeError('Class extends value ' + String(_1alq) + ' is not a constructor or null'); function _1als() { var _1alt = null; this.constructor = _1alp; } _1ald(_1alp, _1alq), _1alp.prototype = null === _1alq ? Object.create(_1alq) : (_1als.prototype = _1alq.prototype, new _1als()); }); defineModule(_1ala); Object.defineProperty(_1ala, '__esModule', { 'value': !0 }), _1ala.MiniChara = void 0; var _1alu = _1alb(20087), _1alv = _1alb(31000), _1alw = function(_1alx) { var _1aly = null; function _1alz() { var _1am0 = null, _1am1 = _1alx.call(this) || this; _1am1._eye_open_flag = !0, _1am1._flower = 0, _1am1._onClickFlower = function(_1am2) { var _1am3 = null; _1am2.interactive = !1, _1am2.visible = !1, _1am1._command += _1am2.name, 3 == ++_1am1._flower && _1am1.onCompleteFlowerCollection(_1am1._command); }, _1am1._onUpdate = function() { var _1am4 = null; for (var _1am5 = 0, _1am6 = _1am1._flowers; _1am5 < _1am6.length; _1am5++) { _1am6[_1am5].update(); } }, _1am1._flowers = []; var _1am7 = new _1am8(); return _1am7.name = '0', _1am7.position.set(151, 10), _1am1.addChild(_1am7), _1am1._flowers.push(_1am7), (_1am7 = new _1am8()).name = '1', _1am7.position.set(166, 43), _1am1.addChild(_1am7), _1am1._flowers.push(_1am7), (_1am7 = new _1am8()).name = '2', _1am7.position.set(40, 177), _1am1.addChild(_1am7), _1am1._flowers.push(_1am7), _1am1._command = '', _1am1; } return _1ale(_1alz, _1alx), _1alz.prototype.initialize = function(_1am9) { var _1ama = null; for (var _1amb = this, _1amc = function(_1amd) { var _1ame = null; _1amd.initialize(), _1amd.onClick = _1am9 ? function() { var _1amf = null; _1amb._onClickFlower(_1amd); } : function() {}; }, _1amg = 0, _1amh = this._flowers; _1amg < _1amh.length; _1amg++) { _1amc(_1amh[_1amg]); } this._update(), this._command = ''; }, _1alz.prototype.interactiveFlower = function(_1ami) { var _1amj = null; this._flowers.map(function(_1amk) { var _1aml = null; return _1amk.interactive = _1ami; }); }, _1alz.prototype.resetFlower = function() { var _1amm = null; this._flower = 0, this._command = '', this._flowers.forEach(function(_1amn) { var _1amo = null; _1amn.interactive = !0, _1amn.visible = !0; }); }, _1alz.prototype.activate = function() { var _1amp = null; this._startWaiting(); }, _1alz.prototype.deactivate = function() { var _1amq = null; this._stopWaiting(); }, _1alz.prototype.dispose = function() { var _1amr = null; this.deactivate(); }, _1alz.prototype._update = function() { var _1ams = null; 1 == this._eye_open_flag ? this.texture = PIXI.Sprite.fromFrame(_1alu.FAIRY_KEY_1).texture : this.texture = PIXI.Sprite.fromFrame(_1alu.FAIRY_KEY_2).texture; }, _1alz.prototype._startWaiting = function() { var _1amt = null, _1amu = this; if (null == this._t) { var _1amv = 0; _1amv = 1 == this._eye_open_flag ? 3000 * Math.random() + 200 : 200 * Math.random() + 100, this._t = createjs.Tween.get(null, { 'onChange': this._onUpdate }).wait(_1amv).call(function() { var _1amw = null; _1amu._eye_open_flag = !_1amu._eye_open_flag, _1amu._update(), _1amu._t = null, _1amu._startWaiting(); }); } }, _1alz.prototype._stopWaiting = function() { var _1amx = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _1alz; }(PIXI.Sprite); _1ala.MiniChara = _1alw; var _1am8 = function(_1amy) { var _1amz = null; function _1an0() { var _1an1 = null, _1an2 = _1amy.call(this) || this; return _1an2._i = 0, _1an2._rnd = 0, _1an2._startY = 0, _1an2._rnd = 0.04 * Math.random() + 0.05, _1an2.addListener('tap', function() { var _1an3 = null; _1an2.onClick(); }), _1an2.addListener('click', function() { var _1an4 = null; _1an2.onClick(); }), _1an2.interactive = _1an2.buttonMode = !0, _1an2; } return _1ale(_1an0, _1amy), _1an0.prototype.initialize = function() { var _1an5 = null; this.texture = _1alv.ITEM_COMMON.getTexture(5), this._startY = this.y; }, _1an0.prototype.update = function() { var _1an6 = null; this.y = this._startY + 2 * Math.sin(this._i * this._rnd), this._i += 0.5; }, _1an0; }(PIXI.Sprite); }, 63508: function(_1an7, _1an8, _1an9) { 'use strict'; var _1ana = null; var _1anb, _1anc = this && this.__extends || (_1anb = function(_1and, _1ane) { var _1anf = null; return _1anb = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ang, _1anh) { var _1ani = null; _1ang.__proto__ = _1anh; } || function(_1anj, _1ank) { var _1anl = null; for (var _1anm in _1ank) Object.prototype.hasOwnProperty.call(_1ank, _1anm) && (_1anj[_1anm] = _1ank[_1anm]); }, _1anb(_1and, _1ane); }, function(_1ann, _1ano) { var _1anp = null; if ('function' != typeof _1ano && null !== _1ano) throw new TypeError('Class extends value ' + String(_1ano) + ' is not a constructor or null'); function _1anq() { var _1anr = null; this.constructor = _1ann; } _1anb(_1ann, _1ano), _1ann.prototype = null === _1ano ? Object.create(_1ano) : (_1anq.prototype = _1ano.prototype, new _1anq()); }); defineModule(_1an8); Object.defineProperty(_1an8, '__esModule', { 'value': !0 }), _1an8.TabBtn = void 0; var _1ans = _1an9(35380), _1ant = _1an9(28118), _1anu = _1an9(52525), _1anv = _1an9(85913), _1anw = function(_1anx) { var _1any = null; function _1anz(_1ao0, _1ao1) { var _1ao2 = null, _1ao3 = _1anx.call(this) || this; return _1ao3._selected = !1, _1ao3._activated = !1, _1ao3._onClick = function() { var _1ao4 = null; null != _1ao3._cb_onClick && _1ao3._cb_onClick(_1ao3._target); }, _1ao3._onMouseOver = function() { var _1ao5 = null; _1ao3._update(!0); }, _1ao3._onMouseOut = function() { var _1ao6 = null; _1ao3._update(!1); }, _1ao3._target = _1ao0, _1ao3._cb_onClick = _1ao1, _1ao3.interactive = !0, _1ao3._base = new PIXI.Sprite(), _1ao3.addChild(_1ao3._base), _1ao3._over = new PIXI.Sprite(), _1ao3.addChild(_1ao3._over), _1ao3._light = new _1ao7(), _1ao3.addChild(_1ao3._light), _1ao3; } return _1anc(_1anz, _1anx), Object.defineProperty(_1anz.prototype, 'target', { 'get': function() { var _1ao8 = null; return this._target; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1anz.prototype, 'selected', { 'set': function(_1ao9) { var _1aoa = null; this._selected != _1ao9 && (this._selected = _1ao9, 0 == this._selected && 1 == this._activated ? this._activate() : this._deactivate(), this._update(!1)); }, 'enumerable': !1, 'configurable': !0 }), _1anz.prototype.initialize = function(_1aob) { var _1aoc = null; this._deactivate(), 0 == this._selected && 1 == this._activated && this.activate(), this._base.texture = this._getTexture(_1aob), this._over.texture = this._getTextureOn(_1aob), this._light.initialize(this._getTextureOn(_1aob)), 201 == _1aob ? (this._over.y = -3, this._light.y = -3) : (this._over.y = 0, this._light.y = 0), this._update(!1); }, _1anz.prototype.activate = function() { var _1aod = null; this._activated = !0, 1 != this.buttonMode && 1 != this._selected && this._activate(); }, _1anz.prototype.deactivate = function() { var _1aoe = null; this._activated = !1, this._deactivate(); }, _1anz.prototype.dispose = function() { var _1aof = null; this.deactivate(), this._cb_onClick = null; }, _1anz.prototype._activate = function() { var _1aog = null; this.buttonMode = !0, this.on(_1ans.EventType.MOUSEOVER, this._onMouseOver), this.on(_1ans.EventType.MOUSEOUT, this._onMouseOut), this.on(_1ans.EventType.CLICK, this._onClick); }, _1anz.prototype._deactivate = function() { var _1aoh = null; this.buttonMode = !1, this.off(_1ans.EventType.MOUSEOVER, this._onMouseOver), this.off(_1ans.EventType.MOUSEOUT, this._onMouseOut), this.off(_1ans.EventType.CLICK, this._onClick); }, _1anz.prototype._update = function(_1aoi) { var _1aoj = null; 0 == _1aoi || 1 == this._selected ? (this._base.visible = !0, this._over.visible = !1) : (this._base.visible = !1, this._over.visible = !0), 1 == this._selected ? this._light.activate() : this._light.deactivate(); }, _1anz.prototype._getTexture = function(_1aok) { var _1aol = null; if (101 == _1aok || 102 == _1aok) { if (0 == this._target) return _1ant.ITEM_MENU_1.getTexture(0); if (1 == this._target) return _1ant.ITEM_MENU_1.getTexture(2); if (2 == this._target) return _1ant.ITEM_MENU_1.getTexture(4); } else { if (201 == _1aok) { if (0 == this._target) return _1anu.ITEM_MENU_2.getTexture(0); if (1 == this._target) return _1anu.ITEM_MENU_2.getTexture(2); if (2 == this._target) return _1anu.ITEM_MENU_2.getTexture(4); } else { if (301 == _1aok) { if (0 == this._target) return _1anv.ITEM_MENU_3.getTexture(0); if (1 == this._target) return _1anv.ITEM_MENU_3.getTexture(2); if (2 == this._target) return _1anv.ITEM_MENU_3.getTexture(4); } else { if (311 == _1aok) { if (0 == this._target) return _1anv.ITEM_MENU_3.getTexture(6); if (1 == this._target) return _1anv.ITEM_MENU_3.getTexture(8); if (2 == this._target) return _1anv.ITEM_MENU_3.getTexture(10); } } } } return PIXI.Texture.EMPTY; }, _1anz.prototype._getTextureOn = function(_1aom) { var _1aon = null; if (101 == _1aom || 102 == _1aom) { if (0 == this._target) return _1ant.ITEM_MENU_1.getTexture(1); if (1 == this._target) return _1ant.ITEM_MENU_1.getTexture(3); if (2 == this._target) return _1ant.ITEM_MENU_1.getTexture(5); } else { if (201 == _1aom) { if (0 == this._target) return _1anu.ITEM_MENU_2.getTexture(1); if (1 == this._target) return _1anu.ITEM_MENU_2.getTexture(3); if (2 == this._target) return _1anu.ITEM_MENU_2.getTexture(5); } else { if (301 == _1aom) { if (0 == this._target) return _1anv.ITEM_MENU_3.getTexture(1); if (1 == this._target) return _1anv.ITEM_MENU_3.getTexture(3); if (2 == this._target) return _1anv.ITEM_MENU_3.getTexture(5); } else { if (311 == _1aom) { if (0 == this._target) return _1anv.ITEM_MENU_3.getTexture(7); if (1 == this._target) return _1anv.ITEM_MENU_3.getTexture(9); if (2 == this._target) return _1anv.ITEM_MENU_3.getTexture(11); } } } } return PIXI.Texture.EMPTY; }, _1anz; }(PIXI.Sprite); _1an8.TabBtn = _1anw; var _1ao7 = function(_1aoo) { var _1aop = null; function _1aoq() { var _1aor = null; return null !== _1aoo && _1aoo.apply(this, arguments) || this; } return _1anc(_1aoq, _1aoo), _1aoq.prototype.initialize = function(_1aos) { var _1aot = null; this.texture = _1aos, this.visible = !1; }, _1aoq.prototype.activate = function() { var _1aou = null; this.alpha = 0, this.visible = !0, this._tween = createjs.Tween.get(this, { 'loop': !0 }).to({ 'alpha': 1 }, 3000).to({ 'alpha': 0 }, 3000); }, _1aoq.prototype.deactivate = function() { var _1aov = null; this.visible = !1, null != this._tween && this._tween.setPaused(!0), this._tween = null; }, _1aoq.prototype.dispose = function() { var _1aow = null; this.deactivate(); }, _1aoq; }(PIXI.Sprite); }, 42058: function(_1aox, _1aoy, _1aoz) { 'use strict'; var _1ap0 = null; var _1ap1, _1ap2 = this && this.__extends || (_1ap1 = function(_1ap3, _1ap4) { var _1ap5 = null; return _1ap1 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ap6, _1ap7) { var _1ap8 = null; _1ap6.__proto__ = _1ap7; } || function(_1ap9, _1apa) { var _1apb = null; for (var _1apc in _1apa) Object.prototype.hasOwnProperty.call(_1apa, _1apc) && (_1ap9[_1apc] = _1apa[_1apc]); }, _1ap1(_1ap3, _1ap4); }, function(_1apd, _1ape) { var _1apf = null; if ('function' != typeof _1ape && null !== _1ape) throw new TypeError('Class extends value ' + String(_1ape) + ' is not a constructor or null'); function _1apg() { var _1aph = null; this.constructor = _1apd; } _1ap1(_1apd, _1ape), _1apd.prototype = null === _1ape ? Object.create(_1ape) : (_1apg.prototype = _1ape.prototype, new _1apg()); }); defineModule(_1aoy); Object.defineProperty(_1aoy, '__esModule', { 'value': !0 }), _1aoy.TabContainer = void 0; var _1api = _1aoz(71092), _1apj = function(_1apk) { var _1apl = null; function _1apm(_1apn) { var _1apo = null, _1app = _1apk.call(this) || this; _1app._btns = [], _1app._btns.push(new _1api.TabBtn(0, _1apn)), _1app._btns.push(new _1api.TabBtn(1, _1apn)), _1app._btns.push(new _1api.TabBtn(2, _1apn)); for (var _1apq = 0; _1apq < _1app._btns.length; _1apq++) { var _1apr = _1app._btns[_1apq]; _1apr.y = 61 * _1apq, _1app.addChild(_1apr); } return _1app; } return _1ap2(_1apm, _1apk), _1apm.prototype.initialize = function(_1aps) { var _1apt = null; for (var _1apu = 0; _1apu < this._btns.length; _1apu++) { this._btns[_1apu].initialize(_1aps); } }, _1apm.prototype.activate = function() { var _1apv = null; for (var _1apw = 0, _1apx = this._btns; _1apw < _1apx.length; _1apw++) { _1apx[_1apw].activate(); } }, _1apm.prototype.update = function(_1apy) { var _1apz = null; for (var _1aq0 = 0, _1aq1 = this._btns; _1aq0 < _1aq1.length; _1aq0++) { var _1aq2 = _1aq1[_1aq0]; _1aq2.selected = _1aq2.target == _1apy; } }, _1apm.prototype.deactivate = function() { var _1aq3 = null; for (var _1aq4 = 0, _1aq5 = this._btns; _1aq4 < _1aq5.length; _1aq4++) { _1aq5[_1aq4].deactivate(); } }, _1apm.prototype.dispose = function() { var _1aq6 = null; for (var _1aq7 = 0, _1aq8 = this._btns; _1aq7 < _1aq8.length; _1aq7++) { _1aq8[_1aq7].dispose(); } }, _1apm; }(PIXI.Container); _1aoy.TabContainer = _1apj; }, 71092: function(_1aq9, _1aqa, _1aqb) { 'use strict'; var _1aqc = null; var _1aqd = this && this.__createBinding || (Object.create ? function(_1aqe, _1aqf, _1aqg, _1aqh) { var _1aqi = null; void 0 === _1aqh && (_1aqh = _1aqg); var _1aqj = Object.getOwnPropertyDescriptor(_1aqf, _1aqg); _1aqj && !('get' in _1aqj ? !_1aqf.__esModule : _1aqj.writable || _1aqj.configurable) || (_1aqj = { 'enumerable': !0, 'get': function() { return _1aqf[_1aqg]; } }), Object.defineProperty(_1aqe, _1aqh, _1aqj); } : function(_1aqk, _1aql, _1aqm, _1aqn) { void 0 === _1aqn && (_1aqn = _1aqm), _1aqk[_1aqn] = _1aql[_1aqm]; }), _1aqo = this && this.__exportStar || function(_1aqp, _1aqq) { var _1aqr = null; for (var _1aqs in _1aqp) 'default' === _1aqs || Object.prototype.hasOwnProperty.call(_1aqq, _1aqs) || _1aqd(_1aqq, _1aqp, _1aqs); }; defineModule(_1aqa); Object.defineProperty(_1aqa, '__esModule', { 'value': !0 }), _1aqo(_1aqb(47592), _1aqa), _1aqo(_1aqb(7703), _1aqa), _1aqo(_1aqb(63508), _1aqa), _1aqo(_1aqb(42058), _1aqa); }, 90234: function(_1aqt, _1aqu, _1aqv) { 'use strict'; var _1aqw = null; var _1aqx, _1aqy = this && this.__extends || (_1aqx = function(_1aqz, _1ar0) { var _1ar1 = null; return _1aqx = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ar2, _1ar3) { var _1ar4 = null; _1ar2.__proto__ = _1ar3; } || function(_1ar5, _1ar6) { var _1ar7 = null; for (var _1ar8 in _1ar6) Object.prototype.hasOwnProperty.call(_1ar6, _1ar8) && (_1ar5[_1ar8] = _1ar6[_1ar8]); }, _1aqx(_1aqz, _1ar0); }, function(_1ar9, _1ara) { var _1arb = null; if ('function' != typeof _1ara && null !== _1ara) throw new TypeError('Class extends value ' + String(_1ara) + ' is not a constructor or null'); function _1arc() { var _1ard = null; this.constructor = _1ar9; } _1aqx(_1ar9, _1ara), _1ar9.prototype = null === _1ara ? Object.create(_1ara) : (_1arc.prototype = _1ara.prototype, new _1arc()); }); defineModule(_1aqu); Object.defineProperty(_1aqu, '__esModule', { 'value': !0 }), _1aqu.InteriorScene = void 0; var _1are = _1aqv(61474), _1arf = _1aqv(61412), _1arg = _1aqv(35628), _1arh = _1aqv(92329), _1ari = _1aqv(12949), _1arj = function(_1ark) { var _1arl = null; function _1arm() { var _1arn = null; return _1ark.call(this) || this; } return _1aqy(_1arm, _1ark), Object.defineProperty(_1arm.prototype, 'viewTop', { 'get': function() { var _1aro = null; return this._viewTop; }, 'enumerable': !1, 'configurable': !0 }), _1arm.prototype.getPreInitializeTask = function(_1arp) { var _1arq = null; return new _1arf.PreInitializeTask(this); }, _1arm.prototype.getInitializeTask = function(_1arr) { var _1ars = null; return new _1arf.InitializeTask(this); }, _1arm.prototype.getFinalizeTask = function() { var _1art = null; return new _1ari.FinalizeTask(this); }, _1arm.prototype.initialize = function() { var _1aru = null; this._viewTop = new _1arh.ViewTop(), this._viewTop.initialize(), this.addChild(this._viewTop); }, _1arm.prototype.startTopTask = function() { var _1arv = null, _1arw = this; this._topTask = new _1arg.TaskTop(this), this._topTask.start(function() { var _1arx = null; _1arw._topTask = null; }); }, _1arm.prototype.dispose = function() { var _1ary = null; null != this._topTask && (this._topTask.cancel(), this._topTask = null), null != this._viewTop && (this._viewTop.dispose(), this._viewTop = null), null != this._viewSub && (this._viewSub.dispose(), this._viewSub = null), this._FurnitureLists = null, this.removeChildren(); }, _1arm; }(_1are.SceneBase); _1aqu.InteriorScene = _1arj; }, 92165: function(_1arz, _1as0, _1as1) { 'use strict'; var _1as2 = null; var _1as3, _1as4 = this && this.__extends || (_1as3 = function(_1as5, _1as6) { var _1as7 = null; return _1as3 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1as8, _1as9) { var _1asa = null; _1as8.__proto__ = _1as9; } || function(_1asb, _1asc) { var _1asd = null; for (var _1ase in _1asc) Object.prototype.hasOwnProperty.call(_1asc, _1ase) && (_1asb[_1ase] = _1asc[_1ase]); }, _1as3(_1as5, _1as6); }, function(_1asf, _1asg) { var _1ash = null; if ('function' != typeof _1asg && null !== _1asg) throw new TypeError('Class extends value ' + String(_1asg) + ' is not a constructor or null'); function _1asi() { var _1asj = null; this.constructor = _1asf; } _1as3(_1asf, _1asg), _1asf.prototype = null === _1asg ? Object.create(_1asg) : (_1asi.prototype = _1asg.prototype, new _1asi()); }), _1ask = this && this.__importDefault || function(_1asl) { var _1asm = null; return _1asl && _1asl.__esModule ? _1asl : { 'default': _1asl }; }; defineModule(_1as0); Object.defineProperty(_1as0, '__esModule', { 'value': !0 }), _1as0.FurnitureChangeAPI = void 0; var _1asn = _1ask(_1as1(18622)), _1aso = function(_1asp) { var _1asq = null; function _1asr(_1ass, _1ast, _1asu, _1asv, _1asw, _1asx, _1asy) { var _1asz = null, _1at0 = _1asp.call(this) || this; return _1at0._url = 'api_req_furniture/change', _1at0._api_floor = _1ass, _1at0._api_wallpaper = _1ast, _1at0._api_window = _1asu, _1at0._api_wallhanging = _1asv, _1at0._api_shelf = _1asw, _1at0._api_desk = _1asx, _1at0._api_season = _1asy, _1at0; } return _1as4(_1asr, _1asp), _1asr.prototype._connect = function() { var _1at1 = null; this._post_data.api_floor = this._api_floor, this._post_data.api_wallpaper = this._api_wallpaper, this._post_data.api_window = this._api_window, this._post_data.api_wallhanging = this._api_wallhanging, this._post_data.api_shelf = this._api_shelf, this._post_data.api_desk = this._api_desk, -1 != this._api_season && (this._post_data.api_season = this._api_season), _1asp.prototype._connect.call(this); }, _1asr.prototype._completedEnd = function() { var _1at2 = null, _1at3 = _1asn.default.model.basic; _1at3.updatePortFurnitureMstID(0, this._api_floor), _1at3.updatePortFurnitureMstID(1, this._api_wallpaper), _1at3.updatePortFurnitureMstID(2, this._api_window), _1at3.updatePortFurnitureMstID(3, this._api_wallhanging), _1at3.updatePortFurnitureMstID(4, this._api_shelf), _1at3.updatePortFurnitureMstID(5, this._api_desk), _1asp.prototype._completedEnd.call(this); }, _1asr; }(_1as1(58566).APIBase); _1as0.FurnitureChangeAPI = _1aso; }, 4043: function(_1at4, _1at5, _1at6) { 'use strict'; var _1at7 = null; var _1at8 = this && this.__createBinding || (Object.create ? function(_1at9, _1ata, _1atb, _1atc) { var _1atd = null; void 0 === _1atc && (_1atc = _1atb); var _1ate = Object.getOwnPropertyDescriptor(_1ata, _1atb); _1ate && !('get' in _1ate ? !_1ata.__esModule : _1ate.writable || _1ate.configurable) || (_1ate = { 'enumerable': !0, 'get': function() { return _1ata[_1atb]; } }), Object.defineProperty(_1at9, _1atc, _1ate); } : function(_1atf, _1atg, _1ath, _1ati) { void 0 === _1ati && (_1ati = _1ath), _1atf[_1ati] = _1atg[_1ath]; }), _1atj = this && this.__exportStar || function(_1atk, _1atl) { var _1atm = null; for (var _1atn in _1atk) 'default' === _1atn || Object.prototype.hasOwnProperty.call(_1atl, _1atn) || _1at8(_1atl, _1atk, _1atn); }; defineModule(_1at5); Object.defineProperty(_1at5, '__esModule', { 'value': !0 }), _1atj(_1at6(54066), _1at5); }, 12949: function(_1ato, _1atp, _1atq) { 'use strict'; var _1atr = null; var _1ats, _1att = this && this.__extends || (_1ats = function(_1atu, _1atv) { var _1atw = null; return _1ats = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1atx, _1aty) { var _1atz = null; _1atx.__proto__ = _1aty; } || function(_1au0, _1au1) { var _1au2 = null; for (var _1au3 in _1au1) Object.prototype.hasOwnProperty.call(_1au1, _1au3) && (_1au0[_1au3] = _1au1[_1au3]); }, _1ats(_1atu, _1atv); }, function(_1au4, _1au5) { var _1au6 = null; if ('function' != typeof _1au5 && null !== _1au5) throw new TypeError('Class extends value ' + String(_1au5) + ' is not a constructor or null'); function _1au7() { var _1au8 = null; this.constructor = _1au4; } _1ats(_1au4, _1au5), _1au4.prototype = null === _1au5 ? Object.create(_1au5) : (_1au7.prototype = _1au5.prototype, new _1au7()); }); defineModule(_1atp); Object.defineProperty(_1atp, '__esModule', { 'value': !0 }), _1atp.FinalizeTask = _1atp.PreFinalizeTask = void 0; var _1au9 = _1atq(37562), _1aua = _1atq(13748), _1aub = function(_1auc) { var _1aud = null; function _1aue(_1auf) { var _1aug = null, _1auh = _1auc.call(this) || this; return _1auh._view = _1auf, _1auh; } return _1att(_1aue, _1auc), _1aue.prototype._start = function() { var _1aui = null; this._view = null, this._endTask(); }, _1aue; }(_1au9.TaskBase); _1atp.PreFinalizeTask = _1aub; var _1auj = function(_1auk) { var _1aul = null; function _1aum(_1aun) { var _1auo = null, _1aup = _1auk.call(this) || this; return _1aup._view = _1aun, _1aup; } return _1att(_1aum, _1auk), _1aum.prototype._start = function() { var _1auq = null; this._view.dispose(), this._view = null, _1aua.UIImageLoader.clearMemoryCache('interior'), this._endTask(); }, _1aum; }(_1au9.TaskBase); _1atp.FinalizeTask = _1auj; }, 61412: function(_1aur, _1aus, _1aut) { 'use strict'; var _1auu = null; var _1auv, _1auw = this && this.__extends || (_1auv = function(_1aux, _1auy) { var _1auz = null; return _1auv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1av0, _1av1) { var _1av2 = null; _1av0.__proto__ = _1av1; } || function(_1av3, _1av4) { var _1av5 = null; for (var _1av6 in _1av4) Object.prototype.hasOwnProperty.call(_1av4, _1av6) && (_1av3[_1av6] = _1av4[_1av6]); }, _1auv(_1aux, _1auy); }, function(_1av7, _1av8) { var _1av9 = null; if ('function' != typeof _1av8 && null !== _1av8) throw new TypeError('Class extends value ' + String(_1av8) + ' is not a constructor or null'); function _1ava() { var _1avb = null; this.constructor = _1av7; } _1auv(_1av7, _1av8), _1av7.prototype = null === _1av8 ? Object.create(_1av8) : (_1ava.prototype = _1av8.prototype, new _1ava()); }), _1avc = this && this.__importDefault || function(_1avd) { var _1ave = null; return _1avd && _1avd.__esModule ? _1avd : { 'default': _1avd }; }; defineModule(_1aus); Object.defineProperty(_1aus, '__esModule', { 'value': !0 }), _1aus.InitializeTask = _1aus.PreInitializeTask = void 0; var _1avf = _1avc(_1aut(18622)), _1avg = _1aut(37562), _1avh = _1aut(45044), _1avi = function(_1avj) { var _1avk = null; function _1avl(_1avm) { var _1avn = null, _1avo = _1avj.call(this) || this; return _1avo._scene = _1avm, _1avo; } return _1auw(_1avl, _1avj), _1avl.prototype._start = function() { var _1avp = null; this._loadResources(); }, _1avl.prototype._loadResources = function() { var _1avq = null, _1avr = this; new _1avh.TaskLoadResources().start(function() { var _1avs = null; _1avr._showTopView(); }); }, _1avl.prototype._showTopView = function() { var _1avt = null; this._scene.initialize(), this._scene.startTopTask(), this._scene = null, this._endTask(); }, _1avl; }(_1avg.TaskBase); _1aus.PreInitializeTask = _1avi; var _1avu = function(_1avv) { var _1avw = null; function _1avx(_1avy) { var _1avz = null, _1aw0 = _1avv.call(this) || this; return _1aw0._scene = _1avy, _1aw0; } return _1auw(_1avx, _1avv), _1avx.prototype._start = function() { var _1aw1 = null; this._playBGM(); }, _1avx.prototype._playBGM = function() { var _1aw2 = null; _1avf.default.sound.bgm.play(104), this._startScene(); }, _1avx.prototype._startScene = function() { var _1aw3 = null; this._endTask(); }, _1avx; }(_1avg.TaskBase); _1aus.InitializeTask = _1avu; }, 45044: function(_1aw4, _1aw5, _1aw6) { 'use strict'; var _1aw7 = null; var _1aw8, _1aw9 = this && this.__extends || (_1aw8 = function(_1awa, _1awb) { var _1awc = null; return _1aw8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1awd, _1awe) { var _1awf = null; _1awd.__proto__ = _1awe; } || function(_1awg, _1awh) { var _1awi = null; for (var _1awj in _1awh) Object.prototype.hasOwnProperty.call(_1awh, _1awj) && (_1awg[_1awj] = _1awh[_1awj]); }, _1aw8(_1awa, _1awb); }, function(_1awk, _1awl) { var _1awm = null; if ('function' != typeof _1awl && null !== _1awl) throw new TypeError('Class extends value ' + String(_1awl) + ' is not a constructor or null'); function _1awn() { var _1awo = null; this.constructor = _1awk; } _1aw8(_1awk, _1awl), _1awk.prototype = null === _1awl ? Object.create(_1awl) : (_1awn.prototype = _1awl.prototype, new _1awn()); }); defineModule(_1aw5); Object.defineProperty(_1aw5, '__esModule', { 'value': !0 }), _1aw5.TaskLoadResources = void 0; var _1awp = _1aw6(81755), _1awq = _1aw6(13748), _1awr = function(_1aws) { var _1awt = null; function _1awu() { var _1awv = null; return _1aws.call(this) || this; } return _1aw9(_1awu, _1aws), _1awu.prototype._start = function() { var _1aww = null; this._load(); }, _1awu.prototype._load = function() { var _1awx = null, _1awy = this, _1awz = new _1awq.UIImageLoader('interior'); _1awz.add('interior_parts.json'), _1awz.load(function() { var _1ax0 = null; _1awy._endTask(); }); }, _1awu; }(_1awp.TaskBase); _1aw5.TaskLoadResources = _1awr; }, 35628: function(_1ax1, _1ax2, _1ax3) { 'use strict'; var _1ax4 = null; var _1ax5, _1ax6 = this && this.__extends || (_1ax5 = function(_1ax7, _1ax8) { var _1ax9 = null; return _1ax5 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1axa, _1axb) { var _1axc = null; _1axa.__proto__ = _1axb; } || function(_1axd, _1axe) { var _1axf = null; for (var _1axg in _1axe) Object.prototype.hasOwnProperty.call(_1axe, _1axg) && (_1axd[_1axg] = _1axe[_1axg]); }, _1ax5(_1ax7, _1ax8); }, function(_1axh, _1axi) { var _1axj = null; if ('function' != typeof _1axi && null !== _1axi) throw new TypeError('Class extends value ' + String(_1axi) + ' is not a constructor or null'); function _1axk() { var _1axl = null; this.constructor = _1axh; } _1ax5(_1axh, _1axi), _1axh.prototype = null === _1axi ? Object.create(_1axi) : (_1axk.prototype = _1axi.prototype, new _1axk()); }), _1axm = this && this.__importDefault || function(_1axn) { var _1axo = null; return _1axn && _1axn.__esModule ? _1axn : { 'default': _1axn }; }; defineModule(_1ax2); Object.defineProperty(_1ax2, '__esModule', { 'value': !0 }), _1ax2.TaskTop = void 0; var _1axp = _1axm(_1ax3(18622)), _1axq = _1ax3(81755), _1axr = _1ax3(68028), _1axs = _1ax3(15478), _1axt = _1ax3(65105), _1axu = _1ax3(70723), _1axv = _1ax3(28535), _1axw = _1ax3(92165), _1axx = _1ax3(35380), _1axy = _1ax3(16677), _1axz = function(_1ay0) { var _1ay1 = null; function _1ay2(_1ay3) { var _1ay4 = null, _1ay5 = _1ay0.call(this) || this; return _1ay5._selected = null, _1ay5._FurnitureIdsonPage = new Array(10), _1ay5._ids_before = new Array(7), _1ay5._ids_after = new Array(7), _1ay5._ids_season = new Array(6), _1ay5._onClickBtnGoFigure = function(_1ay6) { var _1ay7 = null; _1ay5._ListNowPage = _1ay5._ListPagerLeft + _1ay6, _1axu.SE.play('249'), _1ay5._drawList(); }, _1ay5._onClickBtnLists = function(_1ay8) { var _1ay9 = null; if (_1ay5._NowFurnitureSelected = _1ay5._FurnitureIdsonPage[_1ay8], _1ay5._ListNowFurnitureBeforeSelected != _1ay5._NowFurnitureSelected) { -1 != _1ay5._ListNowFurnitureBeforeSelected && _1axu.SE.play('239'), _1ay5._ListNowFurnitureBeforeSelected = _1ay5._NowFurnitureSelected, _1ay5._ListNowFurnitureSelected = _1ay8, _1ay5._topView.itemName.text = _1ay5._topView.lists_str[_1ay8].text, _1ay5._topView.itemName.position.set(Math.floor(975 - _1ay5._topView.itemName.width / 2), Math.floor(409 - _1ay5._topView.itemName.height / 2)); var _1aya, _1ayb = _1axp.default.model.furniture.getData(_1ay5._NowFurnitureSelected).description; if (_1ay5._topView.itemDescription.text = _1ayb.replace(/
/g, '\x0a'), _1ay5._topView.bgm_fairy.scale.x = _1axp.default.model.furniture.getData(_1ay5._NowFurnitureSelected).seasonID > 0 ? 1 : 0, _1axp.default.model.furniture.isActive(_1ay5._NowFurnitureSelected))(_1aya = new _1axs.FurnitureLoader()).add(_1ay5._NowFurnitureSelected, 'thumbnail'), _1aya.load(function() { var _1ayc = null; _1ay5._topView.thumbnail.texture = _1axp.default.resources.getFurniture(_1ay5._NowFurnitureSelected, 'thumbnail'); }), _1ay5._topView.thumbnail.scale.set(1, 1), _1ay5._topView.thumbnail.position.set(856, 89); else switch ((_1aya = new _1axs.FurnitureLoader()).add(_1ay5._NowFurnitureSelected, 'normal'), _1aya.load(function() { var _1ayd = null; _1ay5._topView.thumbnail.texture = _1axp.default.resources.getFurniture(_1ay5._NowFurnitureSelected, 'normal'); }), _1ay5._selected) { case _1ay5._topView.btn_wall: _1ay5._topView.thumbnail.scale.set(0.64, 0.64), _1ay5._topView.thumbnail.position.set(754, 89); break; case _1ay5._topView.btn_floor: _1ay5._topView.thumbnail.scale.set(1.45, 1.45), _1ay5._topView.thumbnail.position.set(93, -11); break; case _1ay5._topView.btn_desk: _1ay5._topView.thumbnail.scale.set(0.56, 0.56), _1ay5._topView.thumbnail.position.set(817, 93); break; case _1ay5._topView.btn_window: _1ay5._topView.thumbnail.scale.set(0.64, 0.64), _1ay5._topView.thumbnail.position.set(851, 87); break; case _1ay5._topView.btn_object: _1ay5._topView.thumbnail.scale.set(1, 1), _1ay5._topView.thumbnail.position.set(850, 86); break; case _1ay5._topView.btn_chest: _1ay5._topView.thumbnail.scale.set(0.73, 0.73), _1ay5._topView.thumbnail.position.set(851, -2); } _1ay5._topView.thumbnail.mask = _1ay5._topView.thumbnailMask; } }, _1ay5._onClickBtnListGoTop = function() { var _1aye = null; 0 != _1ay5._ListNowPage && (_1ay5._ListNowPage = 0, _1ay5._drawList('249')); }, _1ay5._onClickBtnListGoPrev = function() { var _1ayf = null; 0 != _1ay5._ListNowPage && (_1ay5._ListNowPage - 5 >= 0 ? _1ay5._ListNowPage -= 5 : _1ay5._ListNowPage = 0, _1ay5._drawList('249')); }, _1ay5._onClickBtnListGoNext = function() { var _1ayg = null; _1ay5._ListNowPage + 1 != _1ay5._ListLastPage && (_1ay5._ListNowPage + 5 < _1ay5._ListLastPage ? _1ay5._ListNowPage += 5 : _1ay5._ListNowPage = _1ay5._ListLastPage - 1, _1ay5._drawList('249')); }, _1ay5._onClickBtnListGoLowest = function() { var _1ayh = null; _1ay5._ListNowPage + 1 != _1ay5._ListLastPage && (_1ay5._ListNowPage = _1ay5._ListLastPage - 1, _1ay5._drawList('249')); }, _1ay5._onWheel = function(_1ayi) { var _1ayj = null; if (0 != _1ayi.delta) { var _1ayk = _1ayi.delta > 0 ? _1ay5._ListNowPage + 1 : _1ay5._ListNowPage - 1; _1ayk < 0 || _1ayk + 1 > _1ay5._ListLastPage || (_1ay5._ListNowPage = _1ayk, _1ayi.enabledGuard(), _1ay5._topView.focusMouseOutForce(), _1ay5._drawList('249')); } }, _1ay5._onClickBtnBack = function() { var _1ayl = null; _1ay5.__onLeaveInterior(!0); }, _1ay5._onClickBtnGoShop = function() { var _1aym = null; _1ay5.__onLeaveInterior(!1); }, _1ay5._onClickBtnChange = function() { var _1ayn = null, _1ayo = -1; switch (_1ay5._selected) { case _1ay5._topView.btn_wall: _1ay5._ids_after[1] != _1ay5._NowFurnitureSelected && _1axu.SE.play('246'), _1ayo = _1ay5._ids_season[1], _1ay5._ids_after[1] = _1ay5._NowFurnitureSelected; break; case _1ay5._topView.btn_floor: _1ay5._ids_after[0] != _1ay5._NowFurnitureSelected && _1axu.SE.play('246'), _1ayo = _1ay5._ids_season[0], _1ay5._ids_after[0] = _1ay5._NowFurnitureSelected; break; case _1ay5._topView.btn_desk: _1ay5._ids_after[5] != _1ay5._NowFurnitureSelected && _1axu.SE.play('246'), _1ayo = _1ay5._ids_season[5], _1ay5._ids_after[5] = _1ay5._NowFurnitureSelected; break; case _1ay5._topView.btn_window: _1ay5._ids_after[2] != _1ay5._NowFurnitureSelected && _1axu.SE.play('246'), _1ayo = _1ay5._ids_season[2], _1ay5._ids_after[2] = _1ay5._NowFurnitureSelected; break; case _1ay5._topView.btn_object: _1ay5._ids_after[3] != _1ay5._NowFurnitureSelected && _1axu.SE.play('246'), _1ayo = _1ay5._ids_season[3], _1ay5._ids_after[3] = _1ay5._NowFurnitureSelected; break; case _1ay5._topView.btn_chest: _1ay5._ids_after[4] != _1ay5._NowFurnitureSelected && _1axu.SE.play('246'), _1ayo = _1ay5._ids_season[4], _1ay5._ids_after[4] = _1ay5._NowFurnitureSelected; } var _1ayp = new _1axt.FurnitureLoadTask(!1); _1ayp.floor_id = _1ay5._ids_after[0], _1ayp.wall_id = _1ay5._ids_after[1], _1ayp.window_id = _1ay5._ids_after[2], _1ayp.object_id = _1ay5._ids_after[3], _1ayp.desk_id = _1ay5._ids_after[5], _1ayp.chest_id = _1ay5._ids_after[4], _1ayp.start(function() {}); var _1ayq = _1axp.default.model.furniture.getData(_1ay5._NowFurnitureSelected).seasonID; switch ((0 != _1ayq || 0 != _1ayo) && (_1ay5._LastChangedSeason = _1ayq, _1ay5._ids_after[6] = _1ayq), _1ay5._selected) { case _1ay5._topView.btn_wall: _1ay5._ids_season[1] = _1ayq; break; case _1ay5._topView.btn_floor: _1ay5._ids_season[0] = _1ayq; break; case _1ay5._topView.btn_desk: _1ay5._ids_season[5] = _1ayq; break; case _1ay5._topView.btn_window: _1ay5._ids_season[2] = _1ayq; break; case _1ay5._topView.btn_object: _1ay5._ids_season[3] = _1ayq; break; case _1ay5._topView.btn_chest: _1ay5._ids_season[4] = _1ayq; } _1ay5._changeList(); }, _1ay5._onClickBtnMess = function() { var _1ayr = null; _1ay5._NowAnimeUI || (_1ay5._NowVisibleUI ? (_1axy.WheelEventUtil.clear(), _1ay5.Fade(!1)) : (_1axy.WheelEventUtil.regist(_1ay5._onWheel), _1ay5.Fade(!0))); }, _1ay5._onClickBtnWall = function() { var _1ays = null; _1ay5._selected = _1ay5._topView.btn_wall, _1ay5._topView.menumoji.texture = _1axv.INTERIOR_PARTS.getTexture(19), _1ay5.interactiveAllLeftMenuSet(!0), _1ay5._topView.btn_wall.interactive = !1, _1ay5._topView.btn_wall.texture = _1axv.INTERIOR_PARTS.getTexture(29), _1ay5._changeList(); }, _1ay5._onClickBtnFloor = function() { var _1ayt = null; _1ay5._selected = _1ay5._topView.btn_floor, _1ay5._topView.menumoji.texture = _1axv.INTERIOR_PARTS.getTexture(18), _1ay5.interactiveAllLeftMenuSet(!0), _1ay5._topView.btn_floor.interactive = !1, _1ay5._topView.btn_floor.texture = _1axv.INTERIOR_PARTS.getTexture(26), _1ay5._changeList(); }, _1ay5._onClickBtnDesk = function() { var _1ayu = null; _1ay5._selected = _1ay5._topView.btn_desk, _1ay5._topView.menumoji.texture = _1axv.INTERIOR_PARTS.getTexture(23), _1ay5.interactiveAllLeftMenuSet(!0), _1ay5._topView.btn_desk.interactive = !1, _1ay5._topView.btn_desk.texture = _1axv.INTERIOR_PARTS.getTexture(41), _1ay5._changeList(); }, _1ay5._onClickBtnWindow = function() { var _1ayv = null; _1ay5._selected = _1ay5._topView.btn_window, _1ay5._topView.menumoji.texture = _1axv.INTERIOR_PARTS.getTexture(20), _1ay5.interactiveAllLeftMenuSet(!0), _1ay5._topView.btn_window.interactive = !1, _1ay5._topView.btn_window.texture = _1axv.INTERIOR_PARTS.getTexture(32), _1ay5._changeList(); }, _1ay5._onClickBtnObject = function() { var _1ayw = null; _1ay5._selected = _1ay5._topView.btn_object, _1ay5._topView.menumoji.texture = _1axv.INTERIOR_PARTS.getTexture(21), _1ay5.interactiveAllLeftMenuSet(!0), _1ay5._topView.btn_object.interactive = !1, _1ay5._topView.btn_object.texture = _1axv.INTERIOR_PARTS.getTexture(35), _1ay5._changeList(); }, _1ay5._onClickBtnChest = function() { var _1ayx = null; _1ay5._selected = _1ay5._topView.btn_chest, _1ay5._topView.menumoji.texture = _1axv.INTERIOR_PARTS.getTexture(22), _1ay5.interactiveAllLeftMenuSet(!0), _1ay5._topView.btn_chest.interactive = !1, _1ay5._topView.btn_chest.texture = _1axv.INTERIOR_PARTS.getTexture(38), _1ay5._changeList(); }, _1ay5._scene = _1ay3, _1ay5._topView = _1ay3.viewTop, _1ay5._ListNowFurnitureBeforeSelected = -1, _1ay5._tweens = new Array(), _1ay5._NowVisibleUI = !0, _1ay5._NowAnimeUI = !1, _1ay5; } return _1ax6(_1ay2, _1ay0), _1ay2.prototype.cancel = function() { var _1ayy = null; this._removeEventListeners(); for (var _1ayz = 0, _1az0 = this._tweens; _1ayz < _1az0.length; _1ayz++) { _1az0[_1ayz].setPaused(!0); } this._tweens = null; }, _1ay2.prototype._start = function() { var _1az1 = null, _1az2 = this; this._firstIDs(), this._topView.btn_back.on(_1axx.EventType.CLICK, this._onClickBtnBack), this._topView.btn_goShop.on(_1axx.EventType.CLICK, this._onClickBtnGoShop), this._topView.btn_change.on(_1axx.EventType.CLICK, this._onClickBtnChange), this._topView.btn_mess_icon.on(_1axx.EventType.CLICK, this._onClickBtnMess), this._topView.btn_wall.on(_1axx.EventType.CLICK, this._onClickBtnWall), this._topView.btn_floor.on(_1axx.EventType.CLICK, this._onClickBtnFloor), this._topView.btn_desk.on(_1axx.EventType.CLICK, this._onClickBtnDesk), this._topView.btn_window.on(_1axx.EventType.CLICK, this._onClickBtnWindow), this._topView.btn_object.on(_1axx.EventType.CLICK, this._onClickBtnObject), this._topView.btn_chest.on(_1axx.EventType.CLICK, this._onClickBtnChest), this._topView.btn_list_goTop.on(_1axx.EventType.CLICK, this._onClickBtnListGoTop), this._topView.btn_list_goPrev.on(_1axx.EventType.CLICK, this._onClickBtnListGoPrev), this._topView.btn_list_goNext.on(_1axx.EventType.CLICK, this._onClickBtnListGoNext), this._topView.btn_list_goLowest.on(_1axx.EventType.CLICK, this._onClickBtnListGoLowest); for (var _1az3 = function(_1az4) { var _1az5 = null; _1az6._topView.btn_lists[_1az4].on(_1axx.EventType.CLICK, function() { var _1az7 = null; _1az2._onClickBtnLists(_1az4); }); }, _1az6 = this, _1az8 = 0; _1az8 < 10; _1az8++) _1az3(_1az8); var _1az9 = function(_1aza) { var _1azb = null; _1azc._topView.btn_list_goFigure[_1aza].on(_1axx.EventType.CLICK, function() { var _1azd = null; _1az2._onClickBtnGoFigure(_1aza); }); }, _1azc = this; for (_1az8 = 0; _1az8 < 5; _1az8++) _1az9(_1az8); this._selected = this._topView.btn_wall, this._onClickBtnWall(), _1axy.WheelEventUtil.regist(this._onWheel); }, _1ay2.prototype._firstIDs = function() { var _1aze = null; this._LastChangedSeason = -1, this._ids_before[1] = _1axp.default.model.basic.getPortFurnitureMstID(1), this._ids_before[0] = _1axp.default.model.basic.getPortFurnitureMstID(0), this._ids_before[5] = _1axp.default.model.basic.getPortFurnitureMstID(5), this._ids_before[2] = _1axp.default.model.basic.getPortFurnitureMstID(2), this._ids_before[3] = _1axp.default.model.basic.getPortFurnitureMstID(3), this._ids_before[4] = _1axp.default.model.basic.getPortFurnitureMstID(4), this._ids_before[6] = this._LastChangedSeason, this._ids_after[1] = this._ids_before[1], this._ids_after[0] = this._ids_before[0], this._ids_after[5] = this._ids_before[5], this._ids_after[2] = this._ids_before[2], this._ids_after[3] = this._ids_before[3], this._ids_after[4] = this._ids_before[4], this._ids_after[6] = this._LastChangedSeason, this._ids_season[1] = _1axp.default.model.furniture.getData(this._ids_after[1]).seasonID, this._ids_season[0] = _1axp.default.model.furniture.getData(this._ids_after[0]).seasonID, this._ids_season[5] = _1axp.default.model.furniture.getData(this._ids_after[5]).seasonID, this._ids_season[2] = _1axp.default.model.furniture.getData(this._ids_after[2]).seasonID, this._ids_season[3] = _1axp.default.model.furniture.getData(this._ids_after[3]).seasonID, this._ids_season[4] = _1axp.default.model.furniture.getData(this._ids_after[4]).seasonID; }, _1ay2.prototype.SetFontStyle = function(_1azf, _1azg) { var _1azh = null; switch (_1azg) { case 0: this._topView.btn_list_goFigureStr[_1azf].style.fill = 2014913, this._topView.btn_list_goFigureStr[_1azf].style.fontSize = 29, this._topView.btn_list_goFigureStr[_1azf].y = 566, this._topView.btn_list_goFigure[_1azf].interactive = this._topView.btn_list_goFigure[_1azf].buttonMode = !1; break; case 1: this._topView.btn_list_goFigureStr[_1azf].style.fill = 0, this._topView.btn_list_goFigureStr[_1azf].style.fontSize = 22, this._topView.btn_list_goFigureStr[_1azf].y = 567, this._topView.btn_list_goFigure[_1azf].interactive = this._topView.btn_list_goFigure[_1azf].buttonMode = !0; break; case 2: this._topView.btn_list_goFigureStr[_1azf].style.fill = 16777215, this._topView.btn_list_goFigureStr[_1azf].style.fontSize = 29, this._topView.btn_list_goFigureStr[_1azf].y = 566, this._topView.btn_list_goFigure[_1azf].interactive = this._topView.btn_list_goFigure[_1azf].buttonMode = !1; } }, _1ay2.prototype.PagerFigureDraw = function() { var _1azi = null; if (this._ListLastPage <= 5) { this._ListPagerLeft = 0; for (var _1azj = 0; _1azj < 5; _1azj++) this._topView.btn_list_goFigureStr[_1azj].text = (_1azj + 1).toString(), _1azj == this._ListNowPage ? this.SetFontStyle(_1azj, 0) : _1azj < this._ListLastPage ? this.SetFontStyle(_1azj, 1) : this.SetFontStyle(_1azj, 2); } else { this._ListLastPage - this._ListNowPage <= 3 ? this._ListPagerLeft = this._ListLastPage - 5 : this._ListNowPage < 3 ? this._ListPagerLeft = 0 : this._ListPagerLeft = this._ListNowPage - 2; for (_1azj = 0; _1azj < 5; _1azj++) this._topView.btn_list_goFigureStr[_1azj].text = (_1azj + 1 + this._ListPagerLeft).toString(), _1azj + this._ListPagerLeft == this._ListNowPage ? this.SetFontStyle(_1azj, 0) : this.SetFontStyle(_1azj, 1); } }, _1ay2.prototype.__onLeaveInterior = function(_1azk) { var _1azl = null, _1azm = this; this._removeEventListeners(); for (var _1azn = !1, _1azo = 0; _1azo < 6; _1azo++) if (this._ids_before[_1azo] != this._ids_after[_1azo]) { _1azn = !0; break; } if (_1axu.SE.play('237'), _1azn) { var _1azp = this._ids_before[6] == this._ids_after[6] ? -1 : this._ids_after[6]; new _1axw.FurnitureChangeAPI(this._ids_after[0], this._ids_after[1], this._ids_after[2], this._ids_after[3], this._ids_after[4], this._ids_after[5], _1azp).start(function() { var _1azq = null; _1azm.__GotoScene(_1azk); }); } else this.__GotoScene(_1azk); }, _1ay2.prototype.__GotoScene = function(_1azr) { var _1azs = null; if (_1azr) _1axp.default.scene.change(0); else { var _1azt = new _1axr.ItemSceneModel(2); _1axp.default.scene.change(24, _1azt); } }, _1ay2.prototype.interactiveAllLeftMenuSet = function(_1azu) { var _1azv = null; this._topView.btn_wall.interactive = _1azu, this._topView.btn_floor.interactive = _1azu, this._topView.btn_desk.interactive = _1azu, this._topView.btn_window.interactive = _1azu, this._topView.btn_object.interactive = _1azu, this._topView.btn_chest.interactive = _1azu, this._topView.btn_wall.texture = _1axv.INTERIOR_PARTS.getTexture(_1azu ? 27 : 28), this._topView.btn_floor.texture = _1axv.INTERIOR_PARTS.getTexture(_1azu ? 24 : 25), this._topView.btn_desk.texture = _1axv.INTERIOR_PARTS.getTexture(_1azu ? 39 : 40), this._topView.btn_window.texture = _1axv.INTERIOR_PARTS.getTexture(_1azu ? 30 : 31), this._topView.btn_object.texture = _1axv.INTERIOR_PARTS.getTexture(_1azu ? 33 : 34), this._topView.btn_chest.texture = _1axv.INTERIOR_PARTS.getTexture(_1azu ? 36 : 37); }, _1ay2.prototype._changeList = function() { var _1azw = null; this._ListNowFurnitureBeforeSelected = -1; var _1azx = 0; switch (this._selected) { case this._topView.btn_wall: this._FurnitureList = _1axp.default.model.furniture.getOwnList(1), _1azx = this._ids_after[1]; break; case this._topView.btn_floor: this._FurnitureList = _1axp.default.model.furniture.getOwnList(0), _1azx = this._ids_after[0]; break; case this._topView.btn_desk: this._FurnitureList = _1axp.default.model.furniture.getOwnList(5), _1azx = this._ids_after[5]; break; case this._topView.btn_window: this._FurnitureList = _1axp.default.model.furniture.getOwnList(2), _1azx = this._ids_after[2]; break; case this._topView.btn_object: this._FurnitureList = _1axp.default.model.furniture.getOwnList(3), _1azx = this._ids_after[3]; break; case this._topView.btn_chest: this._FurnitureList = _1axp.default.model.furniture.getOwnList(4), _1azx = this._ids_after[4]; } for (var _1azy = 0, _1azz = 0, _1b00 = this._FurnitureList; _1azz < _1b00.length; _1azz++) { _1b00[_1azz].mstID == _1azx && (this._ListNowFurniturePage = parseInt(_1azy / 10 + ''), this._ListNowPage = this._ListNowFurniturePage, this._ListNowFurnitureLine = _1azy % 10), _1azy++; } this._ListLastPage = parseInt((this._FurnitureList.length - 1) / 10 + '', 10) + 1, this._drawList(), this._onClickBtnLists(this._ListNowFurnitureLine); }, _1ay2.prototype._drawList = function(_1b01) { var _1b02 = null; void 0 === _1b01 && (_1b01 = null); for (var _1b03 = 0, _1b04 = 0, _1b05 = 0, _1b06 = this._FurnitureList; _1b05 < _1b06.length; _1b05++) { var _1b07 = _1b06[_1b05]; if (this._ListNowPage > _1b04 / 10) _1b04++; else { if (this._topView.lists_str[_1b03].text = _1b07.name, this._topView.btn_lists[_1b03].interactive = this._topView.btn_lists[_1b03].buttonMode = !0, this._FurnitureIdsonPage[_1b03] = _1b07.mstID, 10 == ++_1b03) break; } } for (_1b07 = _1b03; _1b07 < 10; _1b07++) this._topView.lists_str[_1b07].text = '', this._topView.btn_lists[_1b07].interactive = this._topView.btn_lists[_1b07].buttonMode = !1, this._FurnitureIdsonPage[_1b07] = -1; this._ListNowPage == this._ListNowFurniturePage ? this._topView.iconEquipment.position.set(288, 48 * this._ListNowFurnitureLine + 59) : this._topView.iconEquipment.position.set(-150, -150), this.PagerFigureDraw(), null != _1b01 && _1axu.SE.play(_1b01); }, _1ay2.prototype._removeEventListeners = function() { var _1b08 = null, _1b09 = this; this._topView.btn_back.off(_1axx.EventType.CLICK, this._onClickBtnBack), this._topView.btn_change.off(_1axx.EventType.CLICK, this._onClickBtnChange), this._topView.btn_goShop.on(_1axx.EventType.CLICK, this._onClickBtnGoShop), this._topView.btn_mess_icon.off(_1axx.EventType.CLICK, this._onClickBtnMess), this._topView.btn_wall.off(_1axx.EventType.CLICK, this._onClickBtnWall), this._topView.btn_floor.off(_1axx.EventType.CLICK, this._onClickBtnFloor), this._topView.btn_desk.off(_1axx.EventType.CLICK, this._onClickBtnDesk), this._topView.btn_window.off(_1axx.EventType.CLICK, this._onClickBtnWindow), this._topView.btn_object.off(_1axx.EventType.CLICK, this._onClickBtnObject), this._topView.btn_chest.off(_1axx.EventType.CLICK, this._onClickBtnChest), this._topView.btn_list_goTop.off(_1axx.EventType.CLICK, this._onClickBtnListGoTop), this._topView.btn_list_goPrev.off(_1axx.EventType.CLICK, this._onClickBtnListGoPrev), this._topView.btn_list_goNext.off(_1axx.EventType.CLICK, this._onClickBtnListGoNext), this._topView.btn_list_goLowest.off(_1axx.EventType.CLICK, this._onClickBtnListGoLowest); for (var _1b0a = function(_1b0b) { var _1b0c = null; _1b0d._topView.btn_lists[_1b0b].off(_1axx.EventType.CLICK, function() { var _1b0e = null; _1b09._onClickBtnLists(_1b0b); }); }, _1b0d = this, _1b0f = 0; _1b0f < 10; _1b0f++) _1b0a(_1b0f); var _1b0g = function(_1b0h) { var _1b0i = null; _1b0j._topView.btn_list_goFigure[_1b0h].off(_1axx.EventType.CLICK, function() { var _1b0k = null; _1b09._onClickBtnGoFigure(_1b0h); }); }, _1b0j = this; for (_1b0f = 0; _1b0f < 5; _1b0f++) _1b0g(_1b0f); _1axy.WheelEventUtil.clear(); }, _1ay2.prototype._VisibleUI = function(_1b0l) { var _1b0m = null; this._topView.btn_back.visible = _1b0l, this._topView.btn_change.visible = _1b0l, this._topView.btn_goShop.visible = _1b0l, this._topView.btn_wall.visible = _1b0l, this._topView.btn_floor.visible = _1b0l, this._topView.btn_desk.visible = _1b0l, this._topView.btn_window.visible = _1b0l, this._topView.btn_object.visible = _1b0l, this._topView.btn_chest.visible = _1b0l, this._topView.frame1_bg.visible = _1b0l, this._topView.btn_list_goTop.visible = _1b0l, this._topView.btn_list_goPrev.visible = _1b0l, this._topView.btn_list_goNext.visible = _1b0l, this._topView.btn_list_goLowest.visible = _1b0l, this._topView.frame2_bg.visible = _1b0l; for (var _1b0n = 0; _1b0n < 5; _1b0n++) this._topView.btn_list_goFigureStr[_1b0n].visible = _1b0l, this._topView.btn_list_goFigure[_1b0n].visible = _1b0l; for (_1b0n = 0; _1b0n < 10; _1b0n++) this._topView.lists_str[_1b0n].visible = _1b0l, this._topView.btn_lists[_1b0n].visible = _1b0l; this._topView.iconEquipment.visible = _1b0l, this._topView.itemName.visible = _1b0l, this._topView.itemDescription.visible = _1b0l, this._topView.thumbnailBG.visible = _1b0l, this._topView.thumbnail.visible = _1b0l, this._topView.thumbnailBG2.visible = _1b0l, this._topView.menumoji.visible = _1b0l, this._topView.bgm_fairy.visible = _1b0l; }, _1ay2.prototype._AlphaAnime = function(_1b0o, _1b0p) { var _1b0q = null; _1b0p ? this._tweens.push(createjs.Tween.get(_1b0o).to({ 'alpha': 1 }, 150)) : this._tweens.push(createjs.Tween.get(_1b0o).to({ 'alpha': 0 }, 150)); }, _1ay2.prototype.Fade = function(_1b0r) { var _1b0s = null, _1b0t = this; this._NowAnimeUI = !0, this._NowVisibleUI || this._VisibleUI(!0), this._AlphaAnime(this._topView.btn_back, _1b0r), this._AlphaAnime(this._topView.btn_change, _1b0r), this._AlphaAnime(this._topView.btn_goShop, _1b0r), this._AlphaAnime(this._topView.btn_wall, _1b0r), this._AlphaAnime(this._topView.btn_floor, _1b0r), this._AlphaAnime(this._topView.btn_desk, _1b0r), this._AlphaAnime(this._topView.btn_window, _1b0r), this._AlphaAnime(this._topView.btn_object, _1b0r), this._AlphaAnime(this._topView.btn_chest, _1b0r), this._AlphaAnime(this._topView.frame1_bg, _1b0r), this._AlphaAnime(this._topView.btn_list_goTop, _1b0r), this._AlphaAnime(this._topView.btn_list_goPrev, _1b0r), this._AlphaAnime(this._topView.btn_list_goNext, _1b0r), this._AlphaAnime(this._topView.btn_list_goLowest, _1b0r), this._AlphaAnime(this._topView.frame2_bg, _1b0r); for (var _1b0u = 0; _1b0u < 5; _1b0u++) this._AlphaAnime(this._topView.btn_list_goFigureStr[_1b0u], _1b0r), this._AlphaAnime(this._topView.btn_list_goFigure[_1b0u], _1b0r); for (_1b0u = 0; _1b0u < 10; _1b0u++) this._AlphaAnime(this._topView.lists_str[_1b0u], _1b0r), this._AlphaAnime(this._topView.btn_lists[_1b0u], _1b0r); this._AlphaAnime(this._topView.iconEquipment, _1b0r), this._AlphaAnime(this._topView.itemName, _1b0r), this._AlphaAnime(this._topView.itemDescription, _1b0r), this._AlphaAnime(this._topView.thumbnailBG, _1b0r), this._AlphaAnime(this._topView.thumbnail, _1b0r), this._AlphaAnime(this._topView.thumbnailBG2, _1b0r), this._AlphaAnime(this._topView.menumoji, _1b0r), this._AlphaAnime(this._topView.bgm_fairy, _1b0r), this._tweens[this._tweens.length - 1].call(function() { var _1b0v = null; _1b0r || _1b0t._VisibleUI(!1), _1b0t._topView.changeMessIconTexture(_1b0r), _1b0t._NowVisibleUI = _1b0r, _1b0t._NowAnimeUI = !1; }); }, _1ay2.prototype._endTask = function(_1b0w) { var _1b0x = null; void 0 === _1b0w && (_1b0w = !1), this._scene.dispose(), this._scene = null, this._topView.dispose(), this._topView = null, this._selected = null; for (var _1b0y = 0, _1b0z = this._tweens; _1b0y < _1b0z.length; _1b0y++) { _1b0z[_1b0y].setPaused(!0); } this._tweens = null, this._FurnitureList = null, this._FurnitureIdsonPage = null, this._ids_before = null, this._ids_after = null, this._ids_season = null, _1axy.WheelEventUtil.clear(), _1ay0.prototype._endTask.call(this); }, _1ay2; }(_1axq.TaskBase); _1ax2.TaskTop = _1axz; }, 92329: function(_1b10, _1b11, _1b12) { 'use strict'; var _1b13 = null; var _1b14, _1b15 = this && this.__extends || (_1b14 = function(_1b16, _1b17) { var _1b18 = null; return _1b14 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1b19, _1b1a) { var _1b1b = null; _1b19.__proto__ = _1b1a; } || function(_1b1c, _1b1d) { var _1b1e = null; for (var _1b1f in _1b1d) Object.prototype.hasOwnProperty.call(_1b1d, _1b1f) && (_1b1c[_1b1f] = _1b1d[_1b1f]); }, _1b14(_1b16, _1b17); }, function(_1b1g, _1b1h) { var _1b1i = null; if ('function' != typeof _1b1h && null !== _1b1h) throw new TypeError('Class extends value ' + String(_1b1h) + ' is not a constructor or null'); function _1b1j() { var _1b1k = null; this.constructor = _1b1g; } _1b14(_1b1g, _1b1h), _1b1g.prototype = null === _1b1h ? Object.create(_1b1h) : (_1b1j.prototype = _1b1h.prototype, new _1b1j()); }); defineModule(_1b11); Object.defineProperty(_1b11, '__esModule', { 'value': !0 }), _1b11.ViewTop = void 0; var _1b1l = _1b12(4043), _1b1m = _1b12(8744), _1b1n = _1b12(57257), _1b1o = _1b12(35380), _1b1p = function(_1b1q) { var _1b1r = null; function _1b1s() { var _1b1t = null, _1b1u = _1b1q.call(this) || this; _1b1u._btn_lists = [], _1b1u._lists_str = [], _1b1u._btn_list_goFigure = [], _1b1u._btn_list_goFigureStr = [], _1b1u._btn_back = new _1b1n.BackBtn(), _1b1u._btn_back.position.set(15, 653), _1b1u._btn_change = new _1b1v(), _1b1u._btn_change.position.set(862, 645), _1b1u._btn_mess_icon = new _1b1v(), _1b1u._btn_mess_icon.position.set(1101, 684), _1b1u._btn_wall = new _1b1v(), _1b1u._btn_wall.position.set(10, 39), _1b1u._btn_floor = new _1b1v(), _1b1u._btn_floor.position.set(10, 102), _1b1u._btn_desk = new _1b1v(), _1b1u._btn_desk.position.set(10, 165), _1b1u._btn_window = new _1b1v(), _1b1u._btn_window.position.set(10, 228), _1b1u._btn_object = new _1b1v(), _1b1u._btn_object.position.set(10, 291), _1b1u._btn_chest = new _1b1v(), _1b1u._btn_chest.position.set(10, 354), _1b1u._btn_goShop = new _1b1v(), _1b1u._btn_goShop.position.set(0, 477); for (var _1b1w = 0; _1b1w < 10; _1b1w++) _1b1u._btn_lists[_1b1w] = new _1b1v(), _1b1u._btn_lists[_1b1w].position.set(327, 48 * _1b1w + 54); _1b1u._btn_list_goTop = new _1b1v(), _1b1u._btn_list_goTop.position.set(273, 573), _1b1u._btn_list_goPrev = new _1b1v(), _1b1u._btn_list_goPrev.position.set(330, 573), _1b1u._btn_list_goNext = new _1b1v(), _1b1u._btn_list_goNext.position.set(645, 573), _1b1u._btn_list_goLowest = new _1b1v(), _1b1u._btn_list_goLowest.position.set(699, 573); for (_1b1w = 0; _1b1w < 5; _1b1w++) _1b1u._btn_list_goFigure[_1b1w] = new _1b1v(); return _1b1u; } return _1b15(_1b1s, _1b1q), Object.defineProperty(_1b1s.prototype, 'btn_back', { 'get': function() { var _1b1x = null; return this._btn_back; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'btn_goShop', { 'get': function() { var _1b1y = null; return this._btn_goShop; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'btn_change', { 'get': function() { var _1b1z = null; return this._btn_change; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'btn_mess_icon', { 'get': function() { var _1b20 = null; return this._btn_mess_icon; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'btn_wall', { 'get': function() { var _1b21 = null; return this._btn_wall; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'btn_floor', { 'get': function() { var _1b22 = null; return this._btn_floor; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'btn_desk', { 'get': function() { var _1b23 = null; return this._btn_desk; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'btn_window', { 'get': function() { var _1b24 = null; return this._btn_window; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'btn_object', { 'get': function() { var _1b25 = null; return this._btn_object; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'btn_chest', { 'get': function() { var _1b26 = null; return this._btn_chest; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'btn_lists', { 'get': function() { var _1b27 = null; return this._btn_lists; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'lists_str', { 'get': function() { var _1b28 = null; return this._lists_str; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'btn_list_goTop', { 'get': function() { var _1b29 = null; return this._btn_list_goTop; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'btn_list_goLowest', { 'get': function() { var _1b2a = null; return this._btn_list_goLowest; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'btn_list_goPrev', { 'get': function() { var _1b2b = null; return this._btn_list_goPrev; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'btn_list_goNext', { 'get': function() { var _1b2c = null; return this._btn_list_goNext; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'itemName', { 'get': function() { var _1b2d = null; return this._itemName; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'itemDescription', { 'get': function() { var _1b2e = null; return this._itemDescription; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'itemDescriptionLength', { 'get': function() { var _1b2f = null; return this._itemDescriptionLength; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'iconEquipment', { 'get': function() { var _1b2g = null; return this._iconEquipment; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'btn_list_goFigure', { 'get': function() { var _1b2h = null; return this._btn_list_goFigure; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'btn_list_goFigureStr', { 'get': function() { var _1b2i = null; return this._btn_list_goFigureStr; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'frame1_bg', { 'get': function() { var _1b2j = null; return this._frame1_bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'frame2_bg', { 'get': function() { var _1b2k = null; return this._frame2_bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'thumbnail', { 'get': function() { var _1b2l = null; return this._thumbnail; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'thumbnailBG', { 'get': function() { var _1b2m = null; return this._thumbnailBG; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'thumbnailBG2', { 'get': function() { var _1b2n = null; return this._thumbnailBG2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'thumbnailMask', { 'get': function() { var _1b2o = null; return this._thumbnailMask; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'menumoji', { 'get': function() { var _1b2p = null; return this._menumoji; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1b1s.prototype, 'bgm_fairy', { 'get': function() { var _1b2q = null; return this._bgm_fairy; }, 'enumerable': !1, 'configurable': !0 }), _1b1s.prototype.initialize = function() { var _1b2r = null; this._frame1_bg = new PIXI.Sprite(_1b1l.INTERIOR_PARTS.getTexture(10)), this._frame1_bg.position.set(261, 37), this._frame2_bg = new PIXI.Sprite(_1b1l.INTERIOR_PARTS.getTexture(11)), this._frame2_bg.position.set(763, 58), this._menumoji = new PIXI.Sprite(_1b1l.INTERIOR_PARTS.getTexture(19)), this._menumoji.position.set(1050, 457), this._bgm_fairy = new PIXI.Sprite(_1b1l.INTERIOR_PARTS.getTexture(15)), this._bgm_fairy.position.set(1171, 604), this._bgm_fairy.anchor.set(1, 1), this._thumbnailBG = new PIXI.Sprite(_1b1l.INTERIOR_PARTS.getTexture(12)), this._thumbnailBG.position.set(849, 83), this._thumbnailBG2 = new PIXI.Sprite(_1b1l.INTERIOR_PARTS.getTexture(13)), this._thumbnailBG2.position.set(849, 83), this._thumbnailMask = new PIXI.Graphics(), this._thumbnailMask.beginFill(16777215), this._thumbnailMask.drawRect(853, 83, 240, 300), this._thumbnail = new PIXI.Sprite(), this._thumbnail.position.set(849, 77), this._btn_back.initialize(), this._btn_back.activate(), this._btn_goShop.initialize(2, 3), this._btn_change.initialize(0, 1), this._btn_mess_icon.initialize(16, 16), this._btn_wall.initialize(27, 28), this._btn_floor.initialize(24, 25), this._btn_desk.initialize(39, 40), this._btn_window.initialize(30, 31), this._btn_object.initialize(33, 34), this._btn_chest.initialize(36, 37), this._btn_list_goTop.initialize(7, 7), this._btn_list_goPrev.initialize(6, 6), this._btn_list_goNext.initialize(5, 5), this._btn_list_goLowest.initialize(4, 4), this.addChild(this._btn_back), this.addChild(this._btn_goShop), this.addChild(this._btn_change), this.addChild(this._btn_mess_icon), this.addChild(this._btn_wall), this.addChild(this._btn_floor), this.addChild(this._btn_desk), this.addChild(this._btn_window), this.addChild(this._btn_object), this.addChild(this._btn_chest), this.addChild(this._frame1_bg), this.addChild(this._btn_list_goTop), this.addChild(this._btn_list_goPrev), this.addChild(this._btn_list_goNext), this.addChild(this._btn_list_goLowest), this.addChild(this._frame2_bg), this.addChild(this._menumoji), this.addChild(this._bgm_fairy); for (var _1b2s = 0; _1b2s < 5; _1b2s++) this._btn_list_goFigureStr[_1b2s] = new _1b1m.TextBox(24, 5592405), this._btn_list_goFigureStr[_1b2s].text = (_1b2s + 1).toString(), this._btn_list_goFigureStr[_1b2s].position.set(394 + 52 * _1b2s, 566), this.addChild(this._btn_list_goFigureStr[_1b2s]), this._btn_list_goFigure[_1b2s].position.set(382 + 52 * _1b2s, 566), this._btn_list_goFigure[_1b2s].initialize(9, 9), this._btn_list_goFigure[_1b2s].width = 36, this._btn_list_goFigure[_1b2s].height = 36, this.addChild(this._btn_list_goFigure[_1b2s]); for (_1b2s = 0; _1b2s < 10; _1b2s++) this._lists_str[_1b2s] = new _1b1m.TextBox(24, 5592405), this._lists_str[_1b2s].text = '', this._lists_str[_1b2s].position.set(333, 48 * _1b2s + 61), this.addChild(this._lists_str[_1b2s]), this._btn_lists[_1b2s].initialize(9, 8), this.addChild(this._btn_lists[_1b2s]); this._iconEquipment = new PIXI.Sprite(_1b1l.INTERIOR_PARTS.getTexture(14)), this._iconEquipment.position.set(-150, -150), this.addChild(this._iconEquipment), this._itemName = new _1b1m.TextBox(22, 5592405), this._itemName.text = '', this._itemName.position.set(Math.floor(900 - this._itemName.width / 2), Math.floor(409 - this._itemName.height / 2)), this._itemDescription = new _1b1m.TextBox(19, 5592405), this._itemDescription.text = '', this._itemDescription.position.set(801, 442), this._itemDescription.style.wordWrap = !0, this._itemDescription.style.wordWrapWidth = 272, this._itemDescription.style.breakWords = !0, this.addChild(this._itemName), this.addChild(this._itemDescription), this.addChild(this._thumbnailBG), this.addChild(this._thumbnailMask), this.addChild(this._thumbnail), this.addChild(this._thumbnailBG2); }, _1b1s.prototype.focusMouseOutForce = function() { var _1b2t = null; this._btn_lists.forEach(function(_1b2u) { var _1b2v = null; _1b2u.emit(_1b1o.EventType.MOUSEOUT); }); }, _1b1s.prototype.changeMessIconTexture = function(_1b2w) { var _1b2x = null; this._btn_mess_icon.dispose(), _1b2w ? this._btn_mess_icon.initialize(16, 16) : this._btn_mess_icon.initialize(17, 17); }, _1b1s.prototype.dispose = function() { var _1b2y = null; this._btn_back.dispose(), this._btn_back = null, this._btn_goShop.dispose(), this._btn_goShop = null, this._btn_change.dispose(), this._btn_change = null, this._btn_mess_icon.dispose(), this._btn_mess_icon = null, this._btn_wall.dispose(), this._btn_wall = null, this._btn_floor.dispose(), this._btn_floor = null, this._btn_desk.dispose(), this._btn_desk = null, this._btn_window.dispose(), this._btn_window = null, this._btn_object.dispose(), this._btn_object = null, this._btn_chest.dispose(), this._btn_chest = null; for (var _1b2z = 0; _1b2z < 10; _1b2z++) this._btn_lists[_1b2z].dispose(); this._btn_lists = null, this._lists_str.forEach(function(_1b30) { var _1b31 = null; _1b30.destroy(); }), this._lists_str = null, this._btn_list_goTop.dispose(), this._btn_list_goTop = null, this._btn_list_goLowest.dispose(), this._btn_list_goLowest = null, this._btn_list_goPrev.dispose(), this._btn_list_goPrev = null, this._btn_list_goNext.dispose(), this._btn_list_goNext = null, this._itemName.destroy(), this._itemName = null, this._itemDescription.destroy(), this._itemDescription = null, this._itemDescriptionLength = null, this._iconEquipment = null; for (_1b2z = 0; _1b2z < 5; _1b2z++) this._btn_list_goFigure[_1b2z].dispose(); this._btn_list_goFigure = null, this._btn_list_goFigureStr.forEach(function(_1b32) { var _1b33 = null; _1b32.destroy(); }), this._btn_list_goFigureStr = null, this._frame1_bg = null, this._frame2_bg = null, this._thumbnail = null, this._thumbnailBG = null, this._thumbnailBG2 = null, this._thumbnailMask = null, this._menumoji = null, this._bgm_fairy = null, this.removeChildren(); }, _1b1s; }(PIXI.Container); _1b11.ViewTop = _1b1p; var _1b1v = function(_1b34) { var _1b35 = null; function _1b36() { var _1b37 = null, _1b38 = _1b34.call(this) || this; return _1b38._onMouseOver = function() { var _1b39 = null; _1b38._setTexture(_1b38._texture_no_on); }, _1b38._onMouseOut = function() { var _1b3a = null; _1b38._setTexture(_1b38._texture_no); }, _1b38; } return _1b15(_1b36, _1b34), _1b36.prototype.initialize = function(_1b3b, _1b3c) { var _1b3d = null; this._texture_no = _1b3b, this._texture_no_on = _1b3c, this._setTexture(this._texture_no), null != this._texture_no_on && (this.interactive = this.buttonMode = !0, this.on(_1b1o.EventType.MOUSEOVER, this._onMouseOver), this.on(_1b1o.EventType.MOUSEOUT, this._onMouseOut)); }, _1b36.prototype.dispose = function() { var _1b3e = null; this.interactive = this.buttonMode = !1, this.off(_1b1o.EventType.MOUSEOVER, this._onMouseOver), this.off(_1b1o.EventType.MOUSEOUT, this._onMouseOut); }, _1b36.prototype._setTexture = function(_1b3f) { var _1b3g = null; this.texture = _1b1l.INTERIOR_PARTS.getTexture(_1b3f); }, _1b36; }(PIXI.Sprite); }, 96611: function(_1b3h, _1b3i, _1b3j) { 'use strict'; var _1b3k = null; var _1b3l, _1b3m = this && this.__extends || (_1b3l = function(_1b3n, _1b3o) { var _1b3p = null; return _1b3l = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1b3q, _1b3r) { var _1b3s = null; _1b3q.__proto__ = _1b3r; } || function(_1b3t, _1b3u) { var _1b3v = null; for (var _1b3w in _1b3u) Object.prototype.hasOwnProperty.call(_1b3u, _1b3w) && (_1b3t[_1b3w] = _1b3u[_1b3w]); }, _1b3l(_1b3n, _1b3o); }, function(_1b3x, _1b3y) { var _1b3z = null; if ('function' != typeof _1b3y && null !== _1b3y) throw new TypeError('Class extends value ' + String(_1b3y) + ' is not a constructor or null'); function _1b40() { var _1b41 = null; this.constructor = _1b3x; } _1b3l(_1b3x, _1b3y), _1b3x.prototype = null === _1b3y ? Object.create(_1b3y) : (_1b40.prototype = _1b3y.prototype, new _1b40()); }), _1b42 = this && this.__importDefault || function(_1b43) { var _1b44 = null; return _1b43 && _1b43.__esModule ? _1b43 : { 'default': _1b43 }; }; defineModule(_1b3i); Object.defineProperty(_1b3i, '__esModule', { 'value': !0 }), _1b3i.DutyScene = void 0; var _1b45 = _1b42(_1b3j(18622)), _1b46 = _1b3j(37562), _1b47 = _1b3j(79899), _1b48 = _1b3j(11997), _1b49 = _1b3j(38010), _1b4a = _1b3j(79913), _1b4b = _1b3j(81019), _1b4c = _1b3j(50522), _1b4d = _1b3j(50522), _1b4e = _1b3j(50522), _1b4f = _1b3j(50522), _1b4g = _1b3j(50522), _1b4h = _1b3j(50522), _1b4i = _1b3j(50522), _1b4j = _1b3j(50522), _1b4k = _1b3j(16677), _1b4l = function(_1b4m) { var _1b4n = null; function _1b4o() { var _1b4p = null, _1b4q = _1b4m.call(this) || this; return _1b4q._onInitialize = function() { var _1b4r = null, _1b4s = _1b49.DUTY_MAIN.getTexture(55), _1b4t = new PIXI.Sprite(_1b4s); _1b4q.addChild(_1b4t), _1b4s = _1b48.COMMON_MISC.getTexture(52), (_1b4t = new PIXI.Sprite(_1b4s)).position.set(171, 103), _1b4q.addChild(_1b4t), _1b4q._girl_layer = new _1b47.AreaBox(0), _1b45.default.view.overLayer.addChild(_1b4q._girl_layer), _1b4q.addChild(_1b4q._view); var _1b4u = _1b45.default.model.basic.getDutyExecutableCount(); _1b4q._view.initialize(_1b4u, _1b4q._onBack), _1b4q._view.update(_1b4q._data, 1, 0); }, _1b4q._onActivate = function() { var _1b4v = null; null != _1b4q._girl_layer && new _1b4f.TaskPosterGirl(_1b4q._girl_layer).start(function() { var _1b4w = null; _1b4q._girl_layer.parent.removeChild(_1b4q._girl_layer), _1b4q._girl_layer = null, _1b4k.WheelEventUtil.regist(_1b4q._onWheel); }), _1b4q._view.activate(); }, _1b4q._onDispose = function() { var _1b4x = null; _1b4q._view.dispose(), _1b4k.WheelEventUtil.clear(); }, _1b4q._onChangeType = function(_1b4y) { var _1b4z = null; new _1b4g.TaskUpdateDutyListData(_1b4y, _1b4q._data).start(function() { var _1b50 = null; _1b4q._view.update(_1b4q._data, 1); }); }, _1b4q._onChangePage = function(_1b51) { var _1b52 = null; _1b4q._view.update(_1b4q._data, _1b51); }, _1b4q._onWheel = function(_1b53) { var _1b54 = null; if (0 != _1b53.delta) { var _1b55 = _1b53.delta > 0 ? _1b4q._view.page_now + 1 : _1b4q._view.page_now - 1; _1b55 < 1 || _1b4q._view.page_max < _1b55 || (_1b53.enabledGuard(), _1b4q._onChangePage(_1b55)); } }, _1b4q._onFilter = function(_1b56) { var _1b57 = null; _1b4q._view.update(_1b4q._data, 1, _1b56); }, _1b4q._onSelectDuty = function(_1b58) { var _1b59 = null; if (3 == _1b58.status) { if (0 == _1b58.alert) { _1b4k.WheelEventUtil.clear(); var _1b5a = _1b45.default.view.overLayer; new _1b4j.TaskTasseiDutySelect(_1b5a, _1b58, _1b4q._data).start(function() { var _1b5b = null; _1b4q._view.update(_1b4q._data), _1b4k.WheelEventUtil.regist(_1b4q._onWheel); }); } } else 2 == _1b58.status ? new _1b4i.TaskExecutedDutySelect(_1b58, _1b4q._data).start(function() { var _1b5c = null; _1b4q._view.update(_1b4q._data); }) : new _1b4h.TaskWaitedDutySelect(_1b58, _1b4q._data).start(function() { var _1b5d = null; _1b4q._view.update(_1b4q._data); }); }, _1b4q._onBack = function() { var _1b5e = null; _1b45.default.scene.change(0); }, _1b4q._data = new _1b4a.DutyDataHolder(), _1b4q._view = new _1b4b.DutyMainView(_1b4q._onChangeType, _1b4q._onChangePage, _1b4q._onSelectDuty, _1b4q._onFilter), _1b4q; } return _1b3m(_1b4o, _1b4m), _1b4o.prototype.getPreInitializeTask = function(_1b5f) { var _1b5g = null; return new _1b4c.TaskDutyScenePreInitialize(this._data, this._onInitialize); }, _1b4o.prototype.getInitializeTask = function(_1b5h) { var _1b5i = null; return new _1b4d.TaskDutySceneInitialize(this._data, this._onActivate); }, _1b4o.prototype.getFinalizeTask = function() { var _1b5j = null; return new _1b4e.TaskDutySceneFinalize(this._onDispose); }, _1b4o; }(_1b46.SceneBase); _1b3i.DutyScene = _1b4l; }, 21594: function(_1b5k, _1b5l, _1b5m) { 'use strict'; var _1b5n = null; var _1b5o, _1b5p = this && this.__extends || (_1b5o = function(_1b5q, _1b5r) { var _1b5s = null; return _1b5o = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1b5t, _1b5u) { var _1b5v = null; _1b5t.__proto__ = _1b5u; } || function(_1b5w, _1b5x) { var _1b5y = null; for (var _1b5z in _1b5x) Object.prototype.hasOwnProperty.call(_1b5x, _1b5z) && (_1b5w[_1b5z] = _1b5x[_1b5z]); }, _1b5o(_1b5q, _1b5r); }, function(_1b60, _1b61) { var _1b62 = null; if ('function' != typeof _1b61 && null !== _1b61) throw new TypeError('Class extends value ' + String(_1b61) + ' is not a constructor or null'); function _1b63() { var _1b64 = null; this.constructor = _1b60; } _1b5o(_1b60, _1b61), _1b60.prototype = null === _1b61 ? Object.create(_1b61) : (_1b63.prototype = _1b61.prototype, new _1b63()); }); defineModule(_1b5l); Object.defineProperty(_1b5l, '__esModule', { 'value': !0 }), _1b5l.DutyCancelAPI = void 0; var _1b65 = function(_1b66) { var _1b67 = null; function _1b68(_1b69) { var _1b6a = null, _1b6b = _1b66.call(this) || this; return _1b6b._url = 'api_req_quest/stop', _1b6b._duty_id = _1b69, _1b6b; } return _1b5p(_1b68, _1b66), _1b68.prototype._connect = function() { var _1b6c = null; this._post_data.api_quest_id = this._duty_id, _1b66.prototype._connect.call(this); }, _1b68; }(_1b5m(37562).APIBase); _1b5l.DutyCancelAPI = _1b65; }, 468: function(_1b6d, _1b6e, _1b6f) { 'use strict'; var _1b6g = null; var _1b6h, _1b6i = this && this.__extends || (_1b6h = function(_1b6j, _1b6k) { var _1b6l = null; return _1b6h = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1b6m, _1b6n) { var _1b6o = null; _1b6m.__proto__ = _1b6n; } || function(_1b6p, _1b6q) { var _1b6r = null; for (var _1b6s in _1b6q) Object.prototype.hasOwnProperty.call(_1b6q, _1b6s) && (_1b6p[_1b6s] = _1b6q[_1b6s]); }, _1b6h(_1b6j, _1b6k); }, function(_1b6t, _1b6u) { var _1b6v = null; if ('function' != typeof _1b6u && null !== _1b6u) throw new TypeError('Class extends value ' + String(_1b6u) + ' is not a constructor or null'); function _1b6w() { var _1b6x = null; this.constructor = _1b6t; } _1b6h(_1b6t, _1b6u), _1b6t.prototype = null === _1b6u ? Object.create(_1b6u) : (_1b6w.prototype = _1b6u.prototype, new _1b6w()); }); defineModule(_1b6e); Object.defineProperty(_1b6e, '__esModule', { 'value': !0 }), _1b6e.DutyEndAPI = void 0; var _1b6y = _1b6f(58566), _1b6z = _1b6f(77173), _1b70 = function(_1b71) { var _1b72 = null; function _1b73(_1b74, _1b75) { var _1b76 = null, _1b77 = _1b71.call(this) || this; return _1b77._url = 'api_req_quest/clearitemget', _1b77._duty_id = _1b74, _1b77._selected_no_list = _1b75, _1b77._result = new _1b78(_1b74), _1b77; } return _1b6i(_1b73, _1b71), Object.defineProperty(_1b73.prototype, 'result', { 'get': function() { var _1b79 = null; return this._result; }, 'enumerable': !1, 'configurable': !0 }), _1b73.prototype._connect = function() { var _1b7a = null; if (this._post_data.api_quest_id = this._duty_id, null != this._selected_no_list && this._selected_no_list.length > 0) { this._post_data.api_select_no = this._selected_no_list[0]; for (var _1b7b = 1; _1b7b < this._selected_no_list.length; _1b7b++) this._post_data['api_select_no' + (_1b7b + 1)] = this._selected_no_list[_1b7b]; } _1b71.prototype._connect.call(this); }, _1b73.prototype._completedEnd = function() { var _1b7c = null; this._result.initialize(this._raw_data), _1b71.prototype._completedEnd.call(this); }, _1b73; }(_1b6y.APIBase); _1b6e.DutyEndAPI = _1b70; var _1b78 = function(_1b7d) { var _1b7e = null; function _1b7f() { var _1b7g = null; return null !== _1b7d && _1b7d.apply(this, arguments) || this; } return _1b6i(_1b7f, _1b7d), _1b7f.prototype.initialize = function(_1b7h) { var _1b7i = null; this._o = _1b7h, this._initialize(); }, _1b7f; }(_1b6z.DutyEndModel); }, 5284: function(_1b7j, _1b7k, _1b7l) { 'use strict'; var _1b7m = null; var _1b7n, _1b7o = this && this.__extends || (_1b7n = function(_1b7p, _1b7q) { var _1b7r = null; return _1b7n = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1b7s, _1b7t) { var _1b7u = null; _1b7s.__proto__ = _1b7t; } || function(_1b7v, _1b7w) { var _1b7x = null; for (var _1b7y in _1b7w) Object.prototype.hasOwnProperty.call(_1b7w, _1b7y) && (_1b7v[_1b7y] = _1b7w[_1b7y]); }, _1b7n(_1b7p, _1b7q); }, function(_1b7z, _1b80) { var _1b81 = null; if ('function' != typeof _1b80 && null !== _1b80) throw new TypeError('Class extends value ' + String(_1b80) + ' is not a constructor or null'); function _1b82() { var _1b83 = null; this.constructor = _1b7z; } _1b7n(_1b7z, _1b80), _1b7z.prototype = null === _1b80 ? Object.create(_1b80) : (_1b82.prototype = _1b80.prototype, new _1b82()); }); defineModule(_1b7k); Object.defineProperty(_1b7k, '__esModule', { 'value': !0 }), _1b7k.DutyListAPI = void 0; var _1b84 = function(_1b85) { var _1b86 = null; function _1b87(_1b88, _1b89) { var _1b8a = null, _1b8b = _1b85.call(this) || this; return _1b8b._url = 'api_get_member/questlist', _1b8b._type = _1b88, _1b8b._data_holder = _1b89, _1b8b; } return _1b7o(_1b87, _1b85), _1b87.prototype._connect = function() { var _1b8c = null; this._post_data.api_tab_id = this._type, _1b85.prototype._connect.call(this); }, _1b87.prototype._completedEnd = function() { var _1b8d = null; this._data_holder.update(this._type, this._raw_data), this._data_holder = null, _1b85.prototype._completedEnd.call(this); }, _1b87; }(_1b7l(58566).APIBase); _1b7k.DutyListAPI = _1b84; }, 60054: function(_1b8e, _1b8f, _1b8g) { 'use strict'; var _1b8h = null; var _1b8i, _1b8j = this && this.__extends || (_1b8i = function(_1b8k, _1b8l) { var _1b8m = null; return _1b8i = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1b8n, _1b8o) { var _1b8p = null; _1b8n.__proto__ = _1b8o; } || function(_1b8q, _1b8r) { var _1b8s = null; for (var _1b8t in _1b8r) Object.prototype.hasOwnProperty.call(_1b8r, _1b8t) && (_1b8q[_1b8t] = _1b8r[_1b8t]); }, _1b8i(_1b8k, _1b8l); }, function(_1b8u, _1b8v) { var _1b8w = null; if ('function' != typeof _1b8v && null !== _1b8v) throw new TypeError('Class extends value ' + String(_1b8v) + ' is not a constructor or null'); function _1b8x() { var _1b8y = null; this.constructor = _1b8u; } _1b8i(_1b8u, _1b8v), _1b8u.prototype = null === _1b8v ? Object.create(_1b8v) : (_1b8x.prototype = _1b8v.prototype, new _1b8x()); }); defineModule(_1b8f); Object.defineProperty(_1b8f, '__esModule', { 'value': !0 }), _1b8f.DutyStartAPI = void 0; var _1b8z = function(_1b90) { var _1b91 = null; function _1b92(_1b93) { var _1b94 = null, _1b95 = _1b90.call(this) || this; return _1b95._url = 'api_req_quest/start', _1b95._duty_id = _1b93, _1b95; } return _1b8j(_1b92, _1b90), _1b92.prototype._connect = function() { var _1b96 = null; this._post_data.api_quest_id = this._duty_id, _1b90.prototype._connect.call(this); }, _1b92; }(_1b8g(37562).APIBase); _1b8f.DutyStartAPI = _1b8z; }, 36693: function(_1b97, _1b98, _1b99) { 'use strict'; var _1b9a = null; var _1b9b = this && this.__createBinding || (Object.create ? function(_1b9c, _1b9d, _1b9e, _1b9f) { var _1b9g = null; void 0 === _1b9f && (_1b9f = _1b9e); var _1b9h = Object.getOwnPropertyDescriptor(_1b9d, _1b9e); _1b9h && !('get' in _1b9h ? !_1b9d.__esModule : _1b9h.writable || _1b9h.configurable) || (_1b9h = { 'enumerable': !0, 'get': function() { return _1b9d[_1b9e]; } }), Object.defineProperty(_1b9c, _1b9f, _1b9h); } : function(_1b9i, _1b9j, _1b9k, _1b9l) { void 0 === _1b9l && (_1b9l = _1b9k), _1b9i[_1b9l] = _1b9j[_1b9k]; }), _1b9m = this && this.__exportStar || function(_1b9n, _1b9o) { var _1b9p = null; for (var _1b9q in _1b9n) 'default' === _1b9q || Object.prototype.hasOwnProperty.call(_1b9o, _1b9q) || _1b9b(_1b9o, _1b9n, _1b9q); }; defineModule(_1b98); Object.defineProperty(_1b98, '__esModule', { 'value': !0 }), _1b9m(_1b99(468), _1b98), _1b9m(_1b99(5284), _1b98), _1b9m(_1b99(60054), _1b98), _1b9m(_1b99(21594), _1b98); }, 62610: (_1b9r, _1b9s, _1b9t) => { 'use strict'; var _1b9u = null; defineModule(_1b9s); Object.defineProperty(_1b9s, '__esModule', { 'value': !0 }), _1b9s.DUTY_LIST_MAX = _1b9s.BUTAI_SAIHENSEI = _1b9s.getFairyOffset = _1b9s.FAIRY_KEY_2 = _1b9s.FAIRY_KEY_1 = _1b9s.POSTER_KEY_2 = _1b9s.POSTER_KEY_1 = void 0; var _1b9v = _1b9t(80534); _1b9s.POSTER_KEY_1 = 'duty_poster_1', _1b9s.POSTER_KEY_2 = 'duty_poster_2', _1b9s.FAIRY_KEY_1 = 'duty_fairy_1', _1b9s.FAIRY_KEY_2 = 'duty_fairy_2', _1b9s.getFairyOffset = function() { var _1b9w = null; return function(_1b9x) { var _1b9y = null; if ('xmas' === _1b9x) return new PIXI.Point(28, 498); return new PIXI.Point(36, 498); }(_1b9v.FAIRY_DUTY_LIST_SEASON); }, _1b9s.BUTAI_SAIHENSEI = [626, 629, 630, 659, 660], _1b9s.DUTY_LIST_MAX = 5; }, 40683: (_1b9z, _1ba0, _1ba1) => { 'use strict'; var _1ba2 = null; defineModule(_1ba0); Object.defineProperty(_1ba0, '__esModule', { 'value': !0 }), _1ba0.DutyDataHolder = void 0; var _1ba3 = _1ba1(14921), _1ba4 = _1ba1(79913), _1ba5 = (function() { var _1ba6 = null; function _1ba7() { var _1ba8 = null; this._models = []; } return Object.defineProperty(_1ba7.prototype, 'selected_type', { 'get': function() { var _1ba9 = null; return this._selected_type; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ba7.prototype, 'models', { 'get': function() { var _1baa = null; return this._models; }, 'enumerable': !1, 'configurable': !0 }), _1ba7.prototype.update = function(_1bab, _1bac) { var _1bad = null; this._selected_type = _1bab, this._o = _1bac, this._models = []; var _1bae = _1ba3.ObjUtil.getObjectArray(this._o, 'api_list'), _1baf = _1ba3.ObjUtil.getObjectArray(this._o, 'api_c_list'); if (null != _1bae) for (var _1bag = 0, _1bah = _1bae; _1bag < _1bah.length; _1bag++) { var _1bai = _1bah[_1bag]; 'number' == typeof _1bai && -1 == _1bai || this._models.push(new _1ba4.DutyModel_(_1bai, _1baf)); } }, _1ba7.prototype.getExecCount = function() { var _1baj = null; return _1ba3.ObjUtil.getNumber(this._o, 'api_exec_count'); }, _1ba7.prototype.hasComplete = function() { var _1bak = null; if (1 == (1 == _1ba3.ObjUtil.getNumber(this._o, 'api_completed_kind'))) return !0; var _1bal = _1ba3.ObjUtil.getObjectArray(this._o, 'api_c_list'); if (null != _1bal) for (var _1bam = 0, _1ban = _1bal; _1bam < _1ban.length; _1bam++) { var _1bao = _1ban[_1bam]; if (3 == new _1ba4.DutyModel_(_1bao, _1bal).status) return !0; } return !1; }, _1ba7; }()); _1ba0.DutyDataHolder = _1ba5; }, 77173: (_1bap, _1baq, _1bar) => { 'use strict'; var _1bas = null; defineModule(_1baq); Object.defineProperty(_1baq, '__esModule', { 'value': !0 }), _1baq.DutyEndModel = void 0; var _1bat = _1bar(89939), _1bau = _1bar(64415), _1bav = _1bar(30126), _1baw = _1bar(12677), _1bax = _1bar(33395), _1bay = _1bar(44678), _1baz = _1bar(57947), _1bb0 = _1bar(3882), _1bb1 = _1bar(28847), _1bb2 = _1bar(81695), _1bb3 = _1bar(22423), _1bb4 = _1bar(32992), _1bb5 = _1bar(88321), _1bb6 = (function() { var _1bb7 = null; function _1bb8(_1bb9) { var _1bba = null; this._duty_id = _1bb9, this._dic = {}, this._rewards = []; } return _1bb8.prototype.getRewards = function(_1bbb) { var _1bbc = null; return 0 == this._dic.hasOwnProperty(_1bbb.toString()) ? [] : this._dic[_1bbb]; }, _1bb8.prototype.getRewardList = function() { var _1bbd = null; return this._rewards.concat(); }, _1bb8.prototype.isNeedUpdateUserBasic = function() { var _1bbe = null; for (var _1bbf = this.getRewards(13), _1bbg = 0; _1bbg < _1bbf.length; _1bbg++) { if (44 == _1bbf[_1bbg].mst_id) return !0; } _1bbf = this.getRewards(15); for (_1bbg = 0; _1bbg < _1bbf.length; _1bbg++) { if (1 == _1bbf[_1bbg].need_basic_update) return !0; } _1bbf = this.getRewards(16); for (_1bbg = 0; _1bbg < _1bbf.length; _1bbg++) { if (1 == _1bbf[_1bbg].need_basic_update) return !0; } return !1; }, _1bb8.prototype.isNeedUpdateSlotitem = function() { var _1bbh = null, _1bbi = this.getRewards(11); return _1bbi.length > 0 || ((_1bbi = this.getRewards(12)).length > 0 || ((_1bbi = this.getRewards(15)).length > 0 || (_1bbi = this.getRewards(16)).length > 0)); }, _1bb8.prototype.isNeedUpdateUseitem = function() { var _1bbj = null, _1bbk = this.getRewards(3); if (_1bbk.length > 0) return !0; if ((_1bbk = this.getRewards(13)).length > 0) return !0; _1bbk = this.getRewards(15); for (var _1bbl = 0; _1bbl < _1bbk.length; _1bbl++) { if (1 == _1bbk[_1bbl].need_useitem_update) return !0; } _1bbk = this.getRewards(16); for (_1bbl = 0; _1bbl < _1bbk.length; _1bbl++) { if (1 == _1bbk[_1bbl].need_useitem_update) return !0; } return !1; }, _1bb8.prototype._initialize = function() { var _1bbm = null, _1bbn = _1bat.ObjUtil.getNumArray(this._o, 'api_material'); if (null != _1bbn) { for (; _1bbn.length < 4;) _1bbn.push(0); this._addMaterialBonus(31, _1bbn[0]), this._addMaterialBonus(32, _1bbn[1]), this._addMaterialBonus(33, _1bbn[2]), this._addMaterialBonus(34, _1bbn[3]); } var _1bbo = [], _1bbp = _1bat.ObjUtil.getNumArray(this._o, 'api_bounus'); if (null != _1bbp) for (var _1bbq = 0; _1bbq < _1bbp.length; _1bbq++) { var _1bbr = _1bbp[_1bbq]; _1bbo.push(new _1bbs(_1bbr)); } for (_1bbq = 0; _1bbq < _1bbo.length; _1bbq++) { var _1bbt = _1bbo[_1bbq]; if (1 == _1bbt.type) { if (_1bbt.count <= 0) continue; var _1bbu = _1bbt.id; switch (_1bbu) { case 1: _1bbu = 31; break; case 2: _1bbu = 32; break; case 3: _1bbu = 33; break; case 4: _1bbu = 34; break; case 5: _1bbu = 2; break; case 6: _1bbu = 1; break; case 7: _1bbu = 3; break; case 8: _1bbu = 4; break; default: _1bbu = -1; } - 1 != _1bbu && this._addMaterialBonus(_1bbu, _1bbt.count); } else 2 == _1bbt.type ? this._addDeckBonus(_1bbt) : 3 == _1bbt.type ? this._addFBoxBonus(_1bbt) : 4 == _1bbt.type ? this._addLargeBonus(_1bbt) : 5 == _1bbt.type ? this._addAirunitBaseBonus(_1bbt) : 6 == _1bbt.type ? this._addExtraSupplyBonus(_1bbt) : 11 == _1bbt.type ? this._addShipBonus(_1bbt) : 12 == _1bbt.type ? this._addSlotitemBonus(_1bbt) : 13 == _1bbt.type ? this._addUseitemBonus(_1bbt) : 14 == _1bbt.type ? this._addFurnitureBonus(_1bbt) : 15 == _1bbt.type || 16 == _1bbt.type ? this._addModelChangeBonus(_1bbt) : 18 == _1bbt.type && this._addWarResultBonus(_1bbt); } }, _1bb8.prototype._addMaterialBonus = function(_1bbv, _1bbw) { var _1bbx = null, _1bby; 0 != _1bbw && (null != this._material && this._material.rewards.length < 6 ? _1bby = this._material : (this._material = new _1bb1.RewardModelMultiUseitem(), _1bby = this._material, 0 == this._dic.hasOwnProperty((1).toString()()) && (this._dic[1] = []), this._dic[1].push(_1bby), this._rewards.push(_1bby)), _1bby.add(_1bbv, _1bbw)); }, _1bb8.prototype._addDeckBonus = function(_1bbz) { var _1bc0 = null, _1bc1 = new _1bav.RewardModelDeck(_1bbz.id, _1bbz.name); 0 == this._dic.hasOwnProperty((2).toString()()) && (this._dic[2] = []), this._dic[2].push(_1bc1), this._rewards.push(_1bc1); }, _1bb8.prototype._addFBoxBonus = function(_1bc2) { var _1bc3 = null, _1bc4; 0 != _1bc2.count && (null != this._fbox && this._fbox.rewards.length < 6 ? _1bc4 = this._fbox : (this._fbox = new _1bb1.RewardModelMultiUseitem(), _1bc4 = this._fbox, 0 == this._dic.hasOwnProperty((3).toString()()) && (this._dic[3] = []), this._dic[3].push(_1bc4), this._rewards.push(_1bc4)), _1bc4.add(_1bc2.id, _1bc2.count)); }, _1bb8.prototype._addLargeBonus = function(_1bc5) { var _1bc6 = null, _1bc7 = new _1bay.RewardModelLargeBuild(); 0 == this._dic.hasOwnProperty((4).toString()()) && (this._dic[4] = []), this._dic[4].push(_1bc7), this._rewards.push(_1bc7); }, _1bb8.prototype._addAirunitBaseBonus = function(_1bc8) { var _1bc9 = null, _1bca = _1bc8.id, _1bcb = _1bc8.message_a, _1bcc = _1bc8.message, _1bcd = new _1bau.RewardModelAirUnit(_1bca, _1bcb, _1bcc); if (0 == this._dic.hasOwnProperty((5).toString()()) && (this._dic[5] = []), this._dic[5].push(_1bcd), this._rewards.push(_1bcd), 647 == this._duty_id && 1 == _1bc8.c_flag) { var _1bce = new _1baz.RewardModelMap(6, 5); this._rewards.push(_1bce); } }, _1bb8.prototype._addExtraSupplyBonus = function(_1bcf) { var _1bcg = null, _1bch = new _1baw.RewardModelExtraSupply(_1bcf.id); 0 == this._dic.hasOwnProperty((6).toString()()) && (this._dic[6] = []), this._dic[6].push(_1bch), this._rewards.push(_1bch); }, _1bb8.prototype._addShipBonus = function(_1bci) { var _1bcj = null, _1bck = new _1bb2.RewardModelShip(_1bci.id); 0 == this._dic.hasOwnProperty((11).toString()()) && (this._dic[11] = []), this._dic[11].push(_1bck), this._rewards.push(_1bck); }, _1bb8.prototype._addSlotitemBonus = function(_1bcl) { var _1bcm = null; for (var _1bcn = 0; _1bcn < _1bcl.count; _1bcn++) { var _1bco = new _1bb3.RewardModelSlotitem(_1bcl.id, _1bcl.level, 1); 0 == this._dic.hasOwnProperty((12).toString()()) && (this._dic[12] = []), this._dic[12].push(_1bco), this._rewards.push(_1bco); } }, _1bb8.prototype._addUseitemBonus = function(_1bcp) { var _1bcq = null; if (59 == _1bcp.id && 10 == _1bcp.count) { var _1bcr = new _1bb4.RewardModelUseitem(_1bcp.id, _1bcp.count); 0 == this._dic.hasOwnProperty((13).toString()()) && (this._dic[13] = []), this._dic[13].push(_1bcr), this._rewards.push(_1bcr); } else for (var _1bcs = 0; _1bcs < _1bcp.count; _1bcs++) { _1bcr = new _1bb4.RewardModelUseitem(_1bcp.id, 1), (0 == this._dic.hasOwnProperty((13).toString()()) && (this._dic[13] = []), this._dic[13].push(_1bcr), this._rewards.push(_1bcr)); } }, _1bb8.prototype._addFurnitureBonus = function(_1bct) { var _1bcu = null, _1bcv = new _1bax.RewardModelFurniture(_1bct.id, _1bct.name); 0 == this._dic.hasOwnProperty((14).toString()()) && (this._dic[14] = []), this._dic[14].push(_1bcv), this._rewards.push(_1bcv); }, _1bb8.prototype._addModelChangeBonus = function(_1bcw) { var _1bcx = null, _1bcy = _1bcw.id_from, _1bcz = _1bcw.id_tobe, _1bd0 = _1bcw.message, _1bd1 = new _1bb0.RewardModelModelChange(_1bcy, _1bcz, '', _1bd0), _1bd2 = _1bcw.type; 0 == this._dic.hasOwnProperty(_1bd2.toString()) && (this._dic[_1bd2] = []), this._dic[_1bd2].push(_1bd1), this._rewards.push(_1bd1); }, _1bb8.prototype._addWarResultBonus = function(_1bd3) { var _1bd4 = null, _1bd5 = new _1bb5.RewardModelWarResult(_1bd3.count), _1bd6 = _1bd3.type; 0 == this._dic.hasOwnProperty(_1bd6.toString()) && (this._dic[_1bd6] = []), this._dic[_1bd6].push(_1bd5), this._rewards.push(_1bd5); }, _1bb8; }()); _1baq.DutyEndModel = _1bb6; var _1bbs = (function() { var _1bd7 = null; function _1bd8(_1bd9) { this._o = _1bd9; } return Object.defineProperty(_1bd8.prototype, 'type', { 'get': function() { var _1bda = null; return _1bat.ObjUtil.getNumber(this._o, 'api_type'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1bd8.prototype, 'count', { 'get': function() { var _1bdb = null; return _1bat.ObjUtil.getNumber(this._o, 'api_count'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1bd8.prototype, 'id', { 'get': function() { var _1bdc = null; return 11 == this.type ? _1bat.ObjUtil.getNumber(this._item, 'api_ship_id') : _1bat.ObjUtil.getNumber(this._item, 'api_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1bd8.prototype, 'id_from', { 'get': function() { var _1bdd = null; return _1bat.ObjUtil.getNumber(this._item, 'api_id_from'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1bd8.prototype, 'id_tobe', { 'get': function() { var _1bde = null; return _1bat.ObjUtil.getNumber(this._item, 'api_id_to'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1bd8.prototype, 'name', { 'get': function() { var _1bdf = null; return _1bat.ObjUtil.getString(this._item, 'api_name'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1bd8.prototype, 'message_a', { 'get': function() { var _1bdg = null; return _1bat.ObjUtil.getString(this._item, 'api_message_a'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1bd8.prototype, 'message', { 'get': function() { var _1bdh = null; return _1bat.ObjUtil.getString(this._item, 'api_message'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1bd8.prototype, 'c_flag', { 'get': function() { var _1bdi = null; return 1 == _1bat.ObjUtil.getNumber(this._item, 'api_c_flag'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1bd8.prototype, 'level', { 'get': function() { var _1bdj = null; return _1bat.ObjUtil.getNumber(this._item, 'api_slotitem_level'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1bd8.prototype, '_item', { 'get': function() { var _1bdk = null; return _1bat.ObjUtil.getObject(this._o, 'api_item'); }, 'enumerable': !1, 'configurable': !0 }), _1bd8; }()); }, 30616: function(_1bdl, _1bdm, _1bdn) { 'use strict'; var _1bdo = null; var _1bdp = this && this.__assign || function() { var _1bdq = null; return _1bdp = Object.assign || function(_1bdr) { var _1bds = null; for (var _1bdt, _1bdu = 1, _1bdv = arguments.length; _1bdu < _1bdv; _1bdu++) for (var _1bdw in _1bdt = arguments[_1bdu]) Object.prototype.hasOwnProperty.call(_1bdt, _1bdw) && (_1bdr[_1bdw] = _1bdt[_1bdw]); return _1bdr; }, _1bdp.apply(this, arguments); }, _1bdx = this && this.__importDefault || function(_1bdy) { var _1bdz = null; return _1bdy && _1bdy.__esModule ? _1bdy : { 'default': _1bdy }; }; defineModule(_1bdm); Object.defineProperty(_1bdm, '__esModule', { 'value': !0 }), _1bdm.DutyModel = void 0; var _1be0 = _1bdx(_1bdn(18622)), _1be1 = _1bdn(89939), _1be2 = _1bdn(74566), _1be3 = _1bdn(62610), _1be4 = (function() { var _1be5 = null; function _1be6(_1be7) { var _1be8 = null; this._o = _1be7, this._alert = this._initAlert(); } return Object.defineProperty(_1be6.prototype, 'id', { 'get': function() { var _1be9 = null; return _1be1.ObjUtil.getNumber(this._o, 'api_no', -1); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1be6.prototype, 'title', { 'get': function() { var _1bea = null; return _1be1.ObjUtil.getString(this._o, 'api_title'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1be6.prototype, 'description', { 'get': function() { var _1beb = null; return _1be1.ObjUtil.getString(this._o, 'api_detail'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1be6.prototype, 'category', { 'get': function() { var _1bec = null; return _1be1.ObjUtil.getNumber(this._o, 'api_category', 1); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1be6.prototype, 'fuel', { 'get': function() { var _1bed = null, _1bee = _1be1.ObjUtil.getNumArray(this._o, 'api_get_material'); return null == _1bee || _1bee.length < 1 ? 0 : _1bee[0]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1be6.prototype, 'ammo', { 'get': function() { var _1bef = null, _1beg = _1be1.ObjUtil.getNumArray(this._o, 'api_get_material'); return null == _1beg || _1beg.length < 2 ? 0 : _1beg[1]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1be6.prototype, 'steel', { 'get': function() { var _1beh = null, _1bei = _1be1.ObjUtil.getNumArray(this._o, 'api_get_material'); return null == _1bei || _1bei.length < 3 ? 0 : _1bei[2]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1be6.prototype, 'baux', { 'get': function() { var _1bej = null, _1bek = _1be1.ObjUtil.getNumArray(this._o, 'api_get_material'); return null == _1bek || _1bek.length < 4 ? 0 : _1bek[3]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1be6.prototype, 'progress', { 'get': function() { var _1bel = null, _1bem = _1be1.ObjUtil.getNumber(this._o, 'api_progress_flag_', -1); return -1 == _1bem ? this._getRawProgress() : _1bem; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1be6.prototype, 'type', { 'get': function() { var _1ben = null; return _1be1.ObjUtil.getNumber(this._o, 'api_type'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1be6.prototype, 'label_type', { 'get': function() { var _1beo = null; return _1be1.ObjUtil.getNumber(this._o, 'api_label_type'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1be6.prototype, 'status', { 'get': function() { var _1bep = null, _1beq = _1be1.ObjUtil.getNumber(this._o, 'api_state_', -1); return -1 == _1beq ? this._getRawStatus() : _1beq; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1be6.prototype, 'hasVoiceID', { 'get': function() { var _1ber = null; return _1be1.ObjUtil.getNumber(this._o, 'api_voice_id', 0) > 0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1be6.prototype, 'voiceID', { 'get': function() { var _1bes = null; if (190 === _1be1.ObjUtil.getNumber(this._o, 'api_no', -1)) { for (var _1bet = void 0, _1beu = void 0, _1bev = 1; _1bev <= _1be0.default.model.deck.getAll().length; _1bev++) { _1bet = 0, _1beu = !1; var _1bew = _1be0.default.model.deck.get(_1bev), _1bex = _1bew.getCount(); if (4 == _1bex) { for (var _1bey = 0; _1bey < _1bex; _1bey++) switch (_1bew.getShipModel(_1bey).yomi) { case 'わかば': case 'はつはる': case 'はつしも': _1bet++; break; case 'ねのひ': _1beu = !0; } if (3 == _1bet && _1beu) break; } } return _1beu ? 1101 : _1be1.ObjUtil.getNumber(this._o, 'api_voice_id', 0); } return _1be1.ObjUtil.getNumber(this._o, 'api_voice_id', 0); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1be6.prototype, 'alert', { 'get': function() { var _1bez = null; return this._alert; }, 'enumerable': !1, 'configurable': !0 }), _1be6.prototype.hasBonus = function() { var _1bf0 = null; return 0 != _1be1.ObjUtil.getNumber(this._o, 'api_bonus_flag'); }, _1be6.prototype.hasShipBonus = function() { var _1bf1 = null; return 2 == _1be1.ObjUtil.getNumber(this._o, 'api_bonus_flag'); }, _1be6.prototype.isValid = function() { var _1bf2 = null; return 0 == _1be1.ObjUtil.getNumber(this._o, 'api_invalid_flag'); }, _1be6.prototype.getNeedMedalCount = function() { var _1bf3 = null; return _1be1.ObjUtil.getNumber(this._o, 'api_lost_badges'); }, _1be6.prototype.getRewardCandidates = function() { var _1bf4 = null, _1bf5 = _1be1.ObjUtil.getObjectArray(this._o, 'api_select_rewards'); if (null == _1bf5) return null; for (var _1bf6 = [], _1bf7 = 0, _1bf8 = _1bf5; _1bf7 < _1bf8.length; _1bf7++) { for (var _1bf9 = [], _1bfa = 0, _1bfb = _1bf8[_1bf7]; _1bfa < _1bfb.length; _1bfa++) { var _1bfc = _1bfb[_1bfa]; 682 == this.id && (_1bfc = _1bdp(_1bdp({}, _1bfc), { 'old_ship_layout': 1 })), _1bf9.push(new _1be2.SelectableRewardModel(_1bfc)); } _1bf6.push(_1bf9); } return _1bf6; }, _1be6.prototype._getRawProgress = function() { var _1bfd = null; return _1be1.ObjUtil.getNumber(this._o, 'api_progress_flag'); }, _1be6.prototype._getRawStatus = function() { var _1bfe = null; return _1be1.ObjUtil.getNumber(this._o, 'api_state'); }, _1be6.prototype._initAlert = function() { var _1bff = null; if (1 == this.hasShipBonus()) { if (_1be0.default.model.basic.shipMax - _1be0.default.model.ship.num < 1) return 1; if (_1be0.default.model.basic.slotMax - _1be0.default.model.slot.num < 5) return 1; } return 0 == this.isValid() ? 318 == this.id ? 5 : 683 == this.id || 684 == this.id || 685 == this.id || 686 == this.id || 687 == this.id || 620 == this.id || 621 == this.id || this.getNeedMedalCount() > 0 ? 4 : _1be3.BUTAI_SAIHENSEI.indexOf(this.id) >= 0 ? 3 : 2 : 0; }, _1be6; }()); _1bdm.DutyModel = _1be4; }, 56360: function(_1bfg, _1bfh, _1bfi) { 'use strict'; var _1bfj = null; var _1bfk, _1bfl = this && this.__extends || (_1bfk = function(_1bfm, _1bfn) { var _1bfo = null; return _1bfk = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1bfp, _1bfq) { var _1bfr = null; _1bfp.__proto__ = _1bfq; } || function(_1bfs, _1bft) { var _1bfu = null; for (var _1bfv in _1bft) Object.prototype.hasOwnProperty.call(_1bft, _1bfv) && (_1bfs[_1bfv] = _1bft[_1bfv]); }, _1bfk(_1bfm, _1bfn); }, function(_1bfw, _1bfx) { var _1bfy = null; if ('function' != typeof _1bfx && null !== _1bfx) throw new TypeError('Class extends value ' + String(_1bfx) + ' is not a constructor or null'); function _1bfz() { var _1bg0 = null; this.constructor = _1bfw; } _1bfk(_1bfw, _1bfx), _1bfw.prototype = null === _1bfx ? Object.create(_1bfx) : (_1bfz.prototype = _1bfx.prototype, new _1bfz()); }), _1bg1 = this && this.__importDefault || function(_1bg2) { var _1bg3 = null; return _1bg2 && _1bg2.__esModule ? _1bg2 : { 'default': _1bg2 }; }; defineModule(_1bfh); Object.defineProperty(_1bfh, '__esModule', { 'value': !0 }), _1bfh.DutyModel_ = void 0; var _1bg4 = _1bg1(_1bfi(18622)), _1bg5 = _1bfi(14921), _1bg6 = function(_1bg7) { var _1bg8 = null; function _1bg9(_1bga, _1bgb) { var _1bgc = null, _1bgd = _1bg7.call(this, _1bga) || this; switch (_1bgd._clist = _1bgb, _1bgd.id) { case 506: _1bgd._statusUpdate506(); break; case 641: _1bgd._statusUpdate641(); break; case 642: _1bgd._statusUpdate642(); break; case 643: _1bgd._statusUpdate643(); break; case 644: _1bgd._statusUpdate644(); break; case 645: _1bgd._statusUpdate645(); break; case 646: _1bgd._statusUpdate646(); break; case 647: _1bgd._statusUpdate647(); break; case 648: _1bgd._statusUpdate648(); break; case 649: _1bgd._statusUpdate649(); break; case 650: _1bgd._statusUpdate650(); break; case 651: _1bgd._statusUpdate651(); break; case 652: _1bgd._statusUpdate652(); break; case 653: _1bgd._statusUpdate653(); break; case 658: _1bgd._statusUpdate658(); break; case 666: _1bgd._statusUpdate666(); break; case 668: _1bgd._statusUpdate668(); break; case 966: _1bgd._statusUpdate966(); break; case 1101: _1bgd._statusUpdate1101(); break; case 1102: _1bgd._statusUpdate1102(); break; case 1103: _1bgd._statusUpdate1103(); break; case 1104: _1bgd._statusUpdate1104(); break; case 1105: _1bgd._statusUpdate1105(); break; case 1110: _1bgd._statusUpdate1110(); break; case 1111: _1bgd._statusUpdate1111(); break; case 1112: _1bgd._statusUpdate1112(); break; case 1113: _1bgd._statusUpdate1113(); break; case 1114: _1bgd._statusUpdate1114(); break; case 1115: _1bgd._statusUpdate1115(); break; case 1116: _1bgd._statusUpdate1116(); break; case 1117: _1bgd._statusUpdate1117(); break; case 1119: _1bgd._statusUpdate1119(); break; case 1120: _1bgd._statusUpdate1120(); break; case 1121: _1bgd._statusUpdate1121(); break; case 1122: _1bgd._statusUpdate1122(); break; case 1126: _1bgd._statusUpdate1126(); break; case 1127: _1bgd._statusUpdate1127(); break; case 1128: _1bgd._statusUpdate1128(); break; case 1129: _1bgd._statusUpdate1129(); break; case 1130: _1bgd._statusUpdate1130(); break; case 1131: _1bgd._statusUpdate1131(); break; case 1132: _1bgd._statusUpdate1132(); break; case 1133: _1bgd._statusUpdate1133(); break; case 1134: _1bgd._statusUpdate1134(); break; case 1135: _1bgd._statusUpdate1135(); } return _1bgd; } return _1bfl(_1bg9, _1bg7), _1bg9.prototype._statusUpdate506 = function() { var _1bge = null, _1bgf = this._getRawProgress(), _1bgg = this._getUnsetSlotCount(145); _1bgf >= 3 && _1bgg.all >= 3 ? 2 == this._getRawStatus() ? (this._updateTassei(), _1bgg.unlocked < 3 && (this._alert = 4)) : this._updateProgress(2) : _1bgf >= 2 && _1bgg.all >= 2 ? this._updateProgress(2) : _1bgf >= 1 && _1bgg.all >= 1 ? this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate641 = function() { var _1bgh = null; if (0 != this._getRawProgress()) { var _1bgi = this._getUnsetSlotCount(37), _1bgj = this._getUnsetSlotCount(19), _1bgk = _1bgi.all >= 2 && _1bgj.all >= 2, _1bgl = _1bgi.unlocked >= 2 && _1bgj.unlocked >= 2; if (1 == _1bgk) { var _1bgm = this._getRawStatus(); 2 == _1bgm ? (this._updateTassei(), 0 == _1bgl && (this._alert = 4)) : 1 == _1bgm && this._updateProgress(2); } } }, _1bg9.prototype._statusUpdate642 = function() { var _1bgn = null, _1bgo = this._getUnsetSlotCount(37), _1bgp = this._getUnsetSlotCount(23), _1bgq = _1bgo.all >= 2 && _1bgp.all >= 2, _1bgr = _1bgo.unlocked >= 2 && _1bgp.unlocked >= 2; if (1 == _1bgq) { var _1bgs = this._getRawStatus(); 2 == _1bgs ? (this._updateTassei(), 0 == _1bgr && (this._alert = 4)) : 1 == _1bgs && this._updateProgress(2); } else _1bgo.all >= 2 || _1bgp.all >= 2 ? this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate643 = function() { var _1bgt = null; if (0 != this._getRawProgress()) { var _1bgu = this._getUnsetSlotCount(16), _1bgv = this._getUnsetSlotCount(168), _1bgw = _1bgu.all >= 2 && _1bgv.all >= 1, _1bgx = _1bgu.unlocked >= 2 && _1bgv.unlocked >= 1; if (1 == _1bgw) { var _1bgy = this._getRawStatus(); 2 == _1bgy ? (this._updateTassei(), 0 == _1bgx && (this._alert = 4)) : 1 == _1bgy && this._updateProgress(2); } } }, _1bg9.prototype._statusUpdate644 = function() { var _1bgz = null, _1bh0 = this._getUnsetSlotCount(17), _1bh1 = this._getUnsetSlotCount(169), _1bh2 = _1bh0.all >= 2 && _1bh1.all >= 1, _1bh3 = _1bh0.unlocked >= 2 && _1bh1.unlocked >= 1; if (1 == _1bh2) { var _1bh4 = this._getRawStatus(); 2 == _1bh4 ? (this._updateTassei(), 0 == _1bh3 && (this._alert = 4)) : 1 == _1bh4 && this._updateProgress(2); } else _1bh1.all >= 1 ? this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate645 = function() { var _1bh5 = null, _1bh6 = this._getRawProgress(), _1bh7 = _1bg4.default.model.useItem.getCount(31), _1bh8 = _1bg4.default.model.useItem.getCount(32), _1bh9 = _1bh7 >= 750 && _1bh8 >= 750, _1bha = new _1bhb(); if (_1bha.add(75, 2), _1bha.add(36, 1), 2 == _1bh6 && 1 == _1bh9 && 1 == _1bha.isFulfill()) { var _1bhc = this._getRawStatus(); 2 == _1bhc ? (this._updateTassei(), 0 == _1bha.isFulfillUnlocked() && (this._alert = 4)) : 1 == _1bhc && this._updateProgress(2); } else 2 == _1bh6 && 1 == _1bh9 && _1bha.fulfill_count > 0 ? this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate646 = function() { var _1bhd = null, _1bhe = this._getRawProgress(), _1bhf = _1bg4.default.model.useItem.getCount(44) >= 5000, _1bhg = new _1bhb(); if (_1bhg.add(39, 2), _1bhg.add(40, 2), 2 == _1bhe && 1 == _1bhf && 1 == _1bhg.isFulfill()) { var _1bhh = this._getRawStatus(); 2 == _1bhh ? (this._updateTassei(), 0 == _1bhg.isFulfillUnlocked() && (this._alert = 4)) : 1 == _1bhh && this._updateProgress(2); } else 2 == _1bhe && 1 == _1bhf && _1bhg.fulfill_count > 0 ? this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate647 = function() { var _1bhi = null, _1bhj = this._getRawProgress(), _1bhk = _1bg4.default.model.useItem.getCount(31), _1bhl = _1bg4.default.model.useItem.getCount(34), _1bhm = _1bhk >= 1200 && _1bhl >= 3000, _1bhn = _1bg4.default.model.useItem.getCount(73) >= 1; if (2 == _1bhj && 1 == _1bhm && 1 == _1bhn) { var _1bho = this._getRawStatus(); 2 == _1bho ? this._updateTassei() : 1 == _1bho && this._updateProgress(2); } else 1 == _1bhm && 1 == _1bhn ? this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate648 = function() { var _1bhp = null, _1bhq = this._getRawProgress(), _1bhr = _1bg4.default.model.useItem.getCount(44) >= 5000, _1bhs = new _1bhb(); if (_1bhs.add(4, 2), _1bhs.add(11, 2), 2 == _1bhq && 1 == _1bhr && 1 == _1bhs.isFulfill()) { var _1bht = this._getRawStatus(); 2 == _1bht ? (this._updateTassei(), 0 == _1bhs.isFulfillUnlocked() && (this._alert = 4)) : 1 == _1bht && this._updateProgress(2); } else 2 == _1bhq && 1 == _1bhr && _1bhs.fulfill_count > 0 ? this._updateProgress(2) : 1 == _1bhq && 1 == _1bhr && _1bhs.fulfill_count > 0 ? this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate649 = function() { var _1bhu = null, _1bhv = this._getRawProgress(), _1bhw = this._getUnsetSlotCount(169), _1bhx = this._getUnsetSlotCount(54), _1bhy = _1bhw.all >= 1 && _1bhx.all >= 2, _1bhz = _1bhw.unlocked >= 1 && _1bhx.unlocked >= 2; if (2 == _1bhv && 1 == _1bhy) { var _1bi0 = this._getRawStatus(); 2 == _1bi0 ? (this._updateTassei(), 0 == _1bhz && (this._alert = 4)) : 1 == _1bi0 && this._updateProgress(2); } else 2 == _1bhv && 0 == _1bhy || 1 == _1bhy ? this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate650 = function() { var _1bi1 = null, _1bi2 = this._getRawProgress(), _1bi3 = _1bg4.default.model.useItem.getCount(74), _1bi4 = _1bg4.default.model.useItem.getCount(71), _1bi5 = _1bi3 >= 2 && _1bi4 >= 1; if (2 == _1bi2 && 1 == _1bi5) { var _1bi6 = this._getRawStatus(); 2 == _1bi6 ? this._updateTassei() : 1 == _1bi6 && this._updateProgress(2); } else 2 == _1bi2 && 0 == _1bi5 ? this._updateProgress(2) : 1 == _1bi2 || 1 == _1bi5 ? this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate651 = function() { var _1bi7 = null, _1bi8 = this._getRawProgress(), _1bi9 = _1bg4.default.model.useItem.getCount(33), _1bia = this._getUnsetSlotCount(18), _1bib = this._getUnsetSlotCount(22), _1bic = _1bia.all >= 2 && _1bib.all >= 2 && _1bi9 >= 8000, _1bid = _1bia.unlocked >= 2 && _1bib.unlocked >= 2 && _1bi9 >= 8000; if (2 == _1bi8 && 1 == _1bic) { var _1bie = this._getRawStatus(); 2 == _1bie ? (this._updateTassei(), 0 == _1bid && (this._alert = 4)) : 1 == _1bie && this._updateProgress(2); } else 2 == _1bi8 ? this._updateProgress(2) : 1 == _1bi8 || 1 == _1bic ? this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate652 = function() { var _1bif = null, _1big = this._getRawProgress(), _1bih = _1bg4.default.model.useItem.getCount(44) >= 5000, _1bii = new _1bhb(); if (_1bii.add(19, 2), _1bii.add(37, 2), 2 == _1big && 1 == _1bih && 1 == _1bii.isFulfill()) { var _1bij = this._getRawStatus(); 2 == _1bij ? (this._updateTassei(), 0 == _1bii.isFulfillUnlocked() && (this._alert = 4)) : 1 == _1bij && this._updateProgress(2); } else 2 == _1big && 1 == _1bih && _1bii.fulfill_count > 0 ? this._updateProgress(2) : 1 == _1big && 1 == _1bih && _1bii.fulfill_count > 0 ? this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate653 = function() { var _1bik = null, _1bil = this._getRawProgress(), _1bim = _1bg4.default.model.useItem.getCount(44) >= 6000, _1bin = new _1bhb(); _1bin.add(7, 3), _1bin.add(19, 3); var _1bio, _1bip = this._getUnsetSlotCount(7), _1biq = this._getUnsetSlotCount(19), _1bir = _1bip.all >= 3 || _1biq.all >= 3, _1bis = this._clist; if (null != _1bis) for (var _1bit = 0, _1biu = _1bis; _1bit < _1biu.length; _1bit++) { var _1biv = _1biu[_1bit]; _1bg5.ObjUtil.getNumber(_1biv, 'api_no') == this.id && (_1bio = _1bg5.ObjUtil.getNumber(_1biv, 'api_c_flag')); } if (2 == _1bil && 1 == _1bim && 1 == _1bin.isFulfill()) { var _1biw = this._getRawStatus(); 2 == _1biw && 1 == _1bio ? (this._updateTassei(), 0 == _1bin.isFulfillUnlocked() && (this._alert = 4)) : 1 == _1biw && this._updateProgress(2); } else 2 == _1bil && 1 == _1bim && 1 == _1bir ? this._updateProgress(2) : 1 == _1bil && 1 == _1bim && 1 == _1bir ? this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate658 = function() { var _1bix = null, _1biy = this._getRawProgress(), _1biz = _1bg4.default.model.useItem.getCount(3) >= 120, _1bj0 = new _1bhb(); if (_1bj0.add(15, 3), _1bj0.add(46, 3), 2 == _1biy && 1 == _1biz && 1 == _1bj0.isFulfill()) { var _1bj1 = this._getRawStatus(); 2 == _1bj1 ? (this._updateTassei(), 0 == _1bj0.isFulfillUnlocked() && (this._alert = 4)) : 1 == _1bj1 && this._updateProgress(2); } else 2 == _1biy && 1 == _1biz && _1bj0.fulfill_count > 0 ? this._updateProgress(2) : 1 == _1biy && 1 == _1biz && _1bj0.fulfill_count > 0 ? this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate666 = function() { var _1bj2 = null, _1bj3 = this._getRawProgress(), _1bj4 = new _1bhb(); _1bj4.add(23, 2), _1bj4.add(26, 2); var _1bj5 = _1bg4.default.model.useItem.getCount(70) >= 1; 1 == _1bj3 ? 1 == _1bj4.isFulfill() ? 1 == _1bj5 && 2 == this._getRawStatus() ? (this._updateTassei(), 0 == _1bj4.isFulfillUnlocked() && (this._alert = 4)) : this._updateProgress(2) : this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate668 = function() { var _1bj6 = null, _1bj7 = this._getUnsetSlotCount(145), _1bj8 = _1bg4.default.model.useItem.get(31).count, _1bj9 = _1bg4.default.model.useItem.get(34).count, _1bja = _1bj8 >= 800 && _1bj9 >= 150; 1 == _1bja && _1bj7.all >= 2 ? 2 == this._getRawStatus() ? (this._updateTassei(), _1bj7.unlocked < 2 && (this._alert = 4)) : this._updateProgress(2) : 1 == _1bja && _1bj7.all >= 1 ? this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate966 = function() { var _1bjb = null, _1bjc = this._getCflag(this.id), _1bjd = _1bg4.default.model.useItem.getCount(73); if (1 == _1bjc) { if (_1bjd >= 1) { var _1bje = this._getRawStatus(); 2 == _1bje ? this._updateTassei() : 1 == _1bje && this._updateProgress(2); } else this._updateProgress(2); } }, _1bg9.prototype._statusUpdate1101 = function() { var _1bjf = null, _1bjg = this._getRawProgress(), _1bjh = _1bg4.default.model.useItem.getCount(44) >= 4000, _1bji = new _1bhb(); _1bji.add(4, 4), _1bji.add(6, 4); var _1bjj = this._getCflag(this.id); if (2 == _1bjg && _1bjh && _1bji.isFulfill()) { var _1bjk = this._getRawStatus(); 2 == _1bjk && 1 == _1bjj ? (this._updateTassei(), 0 == _1bji.isFulfillUnlocked() && (this._alert = 4)) : 1 == _1bjk && this._updateProgress(2); } else(1 == _1bjg || 2 == _1bjg) && _1bjh && _1bji.achieve_count >= 1 ? this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate1102 = function() { var _1bjl = null, _1bjm = this._getRawProgress(), _1bjn = _1bg4.default.model.useItem.get(31).count >= 2400, _1bjo = new _1bhb(); _1bjo.add(6, 5), _1bjo.add(7, 5); var _1bjp = this._getCflag(this.id); if (2 == _1bjm && _1bjn && _1bjo.isFulfill()) { var _1bjq = this._getRawStatus(); 2 == _1bjq && 1 == _1bjp ? (this._updateTassei(), 0 == _1bjo.isFulfillUnlocked() && (this._alert = 4)) : 1 == _1bjq && this._updateProgress(2); } else(1 == _1bjm || 2 == _1bjm) && _1bjn && _1bjo.achieve_count >= 1 ? this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate1103 = function() { var _1bjr = null, _1bjs = this._getRawProgress(), _1bjt = _1bg4.default.model.useItem.get(3).count >= 60, _1bju = new _1bhb(); _1bju.add(46, 2), _1bju.add(106, 2); var _1bjv = this._getCflag(this.id); if (2 == _1bjs && _1bjt && _1bju.isFulfill()) { var _1bjw = this._getRawStatus(); 2 == _1bjw && 1 == _1bjv ? (this._updateTassei(), 0 == _1bju.isFulfillUnlocked() && (this._alert = 4)) : 1 == _1bjw && this._updateProgress(2); } else(1 == _1bjs || 2 == _1bjs) && _1bjt && _1bju.achieve_count >= 1 ? this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate1104 = function() { var _1bjx = null, _1bjy = this._getRawProgress(), _1bjz = _1bg4.default.model.useItem.get(3).count >= 100, _1bk0 = new _1bhb(); _1bk0.add(46, 2), _1bk0.add(28, 2); var _1bk1 = this._getCflag(this.id); if (2 == _1bjy && _1bjz && 1 == _1bk0.isFulfill()) { var _1bk2 = this._getRawStatus(); 2 == _1bk2 && 1 == _1bk1 ? (this._updateTassei(), 0 == _1bk0.isFulfillUnlocked() && (this._alert = 4)) : 1 == _1bk2 && this._updateProgress(2); } else(1 == _1bjy || 2 == _1bjy) && _1bjz && _1bk0.achieve_count >= 1 ? this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate1105 = function() { var _1bk3 = null, _1bk4 = this._getRawProgress(), _1bk5 = _1bg4.default.model.useItem.get(32).count >= 2800, _1bk6 = new _1bhb(); _1bk6.add(16, 4), _1bk6.add(17, 4); var _1bk7 = this._getCflag(this.id); if (2 == _1bk4 && _1bk5 && 1 == _1bk6.isFulfill()) { var _1bk8 = this._getRawStatus(); 2 == _1bk8 && 1 == _1bk7 ? (this._updateTassei(), 0 == _1bk6.isFulfillUnlocked() && (this._alert = 4)) : 1 == _1bk8 && this._updateProgress(2); } else [1, 2].indexOf(_1bk4) >= 0 && _1bk5 && _1bk6.achieve_count >= 1 ? this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate1110 = function() { var _1bk9 = null, _1bka = _1bg4.default.model.deck.get(1).getShipModel(0), _1bkb = ['あさひ', 'やましおまる', 'くまのまる'].indexOf(_1bka.yomi) > -1, _1bkc = new _1bhb(); _1bkc.add(444, 1); var _1bkd = _1bkc.achieve_count; _1bkc.add(452, 1, [7, 8, 9, 10]); var _1bke = _1bg4.default.model.useItem.getCount(68) >= 10, _1bkf = _1bg4.default.model.useItem.getCount(3) >= 35; if (_1bkb && _1bkc.isFulfill() && _1bke && _1bkf) { var _1bkg = this._getRawStatus(); 2 == _1bkg ? (this._updateTassei(), 0 == _1bkc.isFulfillUnlocked() && (this._alert = 4)) : 1 == _1bkg && this._updateProgress(2); } else _1bkd >= 1 && _1bke ? this._updateProgress(2) : _1bkd >= 1 ? this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate1111 = function() { var _1bkh = null, _1bki = new _1bhb(); _1bki.add(180, 1, [10]); var _1bkj = _1bki.achieve_count; if (_1bki.add(169, 2), _1bg4.default.model.useItem.getCount(70) >= 3 && 1 == _1bki.isFulfill()) { var _1bkk = this._getRawStatus(); 2 == _1bkk ? (this._updateTassei(), 0 == _1bki.isFulfillUnlocked() && (this._alert = 4)) : 1 == _1bkk && this._updateProgress(2); } else _1bkj >= 1 ? this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate1112 = function() { var _1bkl = null, _1bkm = this._getRawProgress(), _1bkn = new _1bhb(); _1bkn.add(75, 1); var _1bko = _1bg4.default.model.useItem.get(33).count >= 1800, _1bkp = _1bg4.default.model.useItem.get(3).count >= 10, _1bkq = this._getCflag(this.id); 2 == _1bkm && 1 == _1bkn.isFulfill() && _1bko && _1bkp && (2 == this._getRawStatus() && 1 == _1bkq && (this._updateTassei(), 0 == _1bkn.isFulfillUnlocked() && (this._alert = 4))); }, _1bg9.prototype._statusUpdate1113 = function() { var _1bkr = null, _1bks = new _1bhb(); _1bks.add(453, 1); var _1bkt = _1bks.achieve_count; _1bks.add(446, 1); var _1bku = _1bg4.default.model.useItem.getCount(70), _1bkv = _1bg4.default.model.useItem.getCount(77); if (_1bku >= 2 && _1bkv >= 4 && 1 == _1bks.isFulfill()) { var _1bkw = this._getRawStatus(); 2 == _1bkw ? (this._updateTassei(), 0 == _1bks.isFulfillUnlocked() && (this._alert = 4)) : 1 == _1bkw && this._updateProgress(2); } else _1bkt >= 1 ? this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate1114 = function() { var _1bkx = null, _1bky = this._getRawProgress(), _1bkz = new _1bhb(); _1bkz.add(7, 3); var _1bl0 = _1bg4.default.model.useItem.get(34).count >= 800, _1bl1 = _1bg4.default.model.useItem.get(2).count >= 8, _1bl2 = this._getCflag(this.id); 2 == _1bky && 1 == _1bkz.isFulfill() && _1bl0 && _1bl1 && (2 == this._getRawStatus() && 1 == _1bl2 && (this._updateTassei(), 0 == _1bkz.isFulfillUnlocked() && (this._alert = 4))); }, _1bg9.prototype._statusUpdate1115 = function() { var _1bl3 = null, _1bl4 = this._getRawProgress(), _1bl5 = new _1bhb(); _1bl5.add(9, 2), _1bl5.add(146, 4); var _1bl6 = _1bg4.default.model.useItem.get(32).count >= 2700, _1bl7 = this._getCflag(this.id); 2 == _1bl4 && 1 == _1bl5.isFulfill() && _1bl6 && (2 == this._getRawStatus() && 1 == _1bl7 && (this._updateTassei(), 0 == _1bl5.isFulfillUnlocked() && (this._alert = 4))); }, _1bg9.prototype._statusUpdate1116 = function() { var _1bl8 = null, _1bl9 = this._getRawProgress(), _1bla = new _1bhb(); _1bla.add(102, 2); var _1blb = _1bg4.default.model.useItem.get(33).count >= 2800, _1blc = _1bg4.default.model.useItem.get(2).count >= 10, _1bld = this._getCflag(this.id); 2 == _1bl9 && 1 == _1bla.isFulfill() && _1blb && _1blc && (2 == this._getRawStatus() && 1 == _1bld && (this._updateTassei(), 0 == _1bla.isFulfillUnlocked() && (this._alert = 4))); }, _1bg9.prototype._statusUpdate1117 = function() { var _1ble = null, _1blf = this._getRawProgress(), _1blg = new _1bhb(); _1blg.add(238, 1, [10]); var _1blh = _1bg4.default.model.useItem.get(70).count >= 3, _1bli = _1bg4.default.model.useItem.get(3).count >= 13, _1blj = _1bg4.default.model.useItem.get(4).count >= 13; 1 == _1blf ? 1 == _1blg.isFulfill() && _1bli && _1blj && _1blh ? 2 == this._getRawStatus() ? (this._updateTassei(), 0 == _1blg.isFulfillUnlocked() && (this._alert = 4)) : this._updateProgress(2) : 1 == _1blg.isFulfill() ? this._updateProgress(2) : this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate1119 = function() { var _1blk = null, _1bll = this._getRawProgress(), _1blm = new _1bhb(); _1blm.add(7, 3), _1blm.add(39, 3); var _1bln = _1bg4.default.model.useItem.get(44).count >= 1031, _1blo = this._getCflag(this.id); 2 == _1bll && 1 == _1blm.isFulfill() && _1bln && (2 == this._getRawStatus() && 1 == _1blo && (this._updateTassei(), 0 == _1blm.isFulfillUnlocked() && (this._alert = 4))); }, _1bg9.prototype._statusUpdate1120 = function() { var _1blp = null, _1blq = this._getRawProgress(), _1blr = new _1bhb(); _1blr.add(20, 3), _1blr.add(21, 3); var _1bls = _1bg4.default.model.useItem.getCount(34) >= 1800, _1blt = this._getCflag(this.id); 2 == _1blq && 1 == _1blr.isFulfill() && _1bls && (2 == this._getRawStatus() && 1 == _1blt && (this._updateTassei(), 0 == _1blr.isFulfillUnlocked() && (this._alert = 4))); }, _1bg9.prototype._statusUpdate1121 = function() { var _1blu = null, _1blv = this._getRawProgress(), _1blw = new _1bhb(); _1blw.add(19, 6), _1blw.add(145, 4); var _1blx = _1bg4.default.model.useItem.getCount(33) >= 2023, _1bly = this._getCflag(this.id); 2 == _1blv && 1 == _1blw.isFulfill() && _1blx && (2 == this._getRawStatus() && 1 == _1bly && (this._updateTassei(), 0 == _1blw.isFulfillUnlocked() && (this._alert = 4))); }, _1bg9.prototype._statusUpdate1122 = function() { var _1blz = null, _1bm0 = this._getRawProgress(), _1bm1 = new _1bhb(); _1bm1.add(16, 8); var _1bm2 = _1bg4.default.model.useItem.getCount(33), _1bm3 = _1bg4.default.model.useItem.getCount(32), _1bm4 = _1bg4.default.model.useItem.getCount(2), _1bm5 = _1bg4.default.model.useItem.getCount(3), _1bm6 = _1bm2 >= 2800 && _1bm3 >= 2800 && _1bm4 >= 8 && _1bm5 >= 8, _1bm7 = this._getCflag(this.id); 1 == _1bm0 && (_1bm1.isFulfill() && _1bm6 ? 2 == this._getRawStatus() && 1 == _1bm7 ? (this._updateTassei(), 0 == _1bm1.isFulfillUnlocked() && (this._alert = 4)) : this._updateProgress(2) : _1bm1.isFulfill() && this._updateProgress(2)); }, _1bg9.prototype._statusUpdate1126 = function() { var _1bm8 = null, _1bm9 = this._getRawProgress(), _1bma = new _1bhb(); _1bma.add(271, 2); var _1bmb = _1bg4.default.model.useItem.get(34).count >= 3000, _1bmc = _1bg4.default.model.useItem.get(3).count >= 80, _1bmd = this._getCflag(this.id); 2 == _1bm9 && 1 == _1bma.isFulfill() && _1bmb && _1bmc && (2 == this._getRawStatus() && 1 == _1bmd && (this._updateTassei(), 0 == _1bma.isFulfillUnlocked() && (this._alert = 4))); }, _1bg9.prototype._statusUpdate1127 = function() { var _1bme = null, _1bmf = this._getRawProgress(), _1bmg = new _1bhb(); _1bmg.add(500, 2); var _1bmh = _1bg4.default.model.useItem.get(34).count >= 350, _1bmi = _1bg4.default.model.useItem.get(31).count >= 480, _1bmj = _1bg4.default.model.useItem.get(3).count >= 12, _1bmk = _1bg4.default.model.useItem.getCount(94) >= 2; 1 == _1bmf ? 1 == _1bmg.isFulfill() && _1bmh && _1bmi && _1bmj && _1bmk ? 2 == this._getRawStatus() ? (this._updateTassei(), 0 == _1bmg.isFulfillUnlocked() && (this._alert = 4)) : this._updateProgress(2) : 1 == _1bmg.isFulfill() ? this._updateProgress(2) : this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate1128 = function() { var _1bml = null, _1bmm = this._getRawProgress(), _1bmn = new _1bhb(); _1bmn.add(7, 5); var _1bmo = _1bg4.default.model.useItem.get(34).count >= 800, _1bmp = _1bg4.default.model.useItem.get(32).count >= 960, _1bmq = _1bg4.default.model.useItem.get(3).count >= 48, _1bmr = _1bg4.default.model.useItem.getCount(75) >= 2; 1 == _1bmm ? 1 == _1bmn.isFulfill() && _1bmo && _1bmp && _1bmq && _1bmr ? 2 == this._getRawStatus() ? (this._updateTassei(), 0 == _1bmn.isFulfillUnlocked() && (this._alert = 4)) : this._updateProgress(2) : 1 == _1bmn.isFulfill() ? this._updateProgress(2) : this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate1129 = function() { var _1bms = null, _1bmt = this._getRawProgress(), _1bmu = new _1bhb(); _1bmu.add(125, 4), _1bmu.add(129, 3); var _1bmv = _1bg4.default.model.useItem.get(32).count >= 800, _1bmw = _1bg4.default.model.useItem.get(3).count >= 36, _1bmx = _1bg4.default.model.useItem.getCount(94) >= 2, _1bmy = new _1bhb(); (_1bmy.add(125, 3), 1 == _1bmt) ? 1 == _1bmu.isFulfill() && _1bmv && _1bmw && _1bmx ? 2 == this._getRawStatus() ? (this._updateTassei(), 0 == _1bmu.isFulfillUnlocked() && (this._alert = 4)) : this._updateProgress(2) : 1 == _1bmy.isFulfill() ? this._updateProgress(2) : this._updateProgress(1): this._updateProgress(0); }, _1bg9.prototype._statusUpdate1130 = function() { var _1bmz = null, _1bn0 = this._getRawProgress(), _1bn1 = new _1bhb(); _1bn1.add(75, 3); var _1bn2 = _1bg4.default.model.useItem.get(33).count >= 5500, _1bn3 = _1bg4.default.model.useItem.get(34).count >= 2700, _1bn4 = this._getCflag(this.id); 2 == _1bn0 && 1 == _1bn1.isFulfill() && _1bn2 && _1bn3 && (2 == this._getRawStatus() && 1 == _1bn4 && (this._updateTassei(), 0 == _1bn1.isFulfillUnlocked() && (this._alert = 4))); }, _1bg9.prototype._statusUpdate1131 = function() { var _1bn5 = null, _1bn6 = this._getRawProgress(), _1bn7 = new _1bhb(); _1bn7.add(42, 1); var _1bn8 = _1bg4.default.model.useItem.get(33).count >= 3000, _1bn9 = _1bg4.default.model.useItem.get(32).count >= 2500, _1bna = this._getCflag(this.id); 2 == _1bn6 && 1 == _1bn7.isFulfill() && _1bn8 && _1bn9 && (2 == this._getRawStatus() && 1 == _1bna && (this._updateTassei(), 0 == _1bn7.isFulfillUnlocked() && (this._alert = 4))); }, _1bg9.prototype._statusUpdate1132 = function() { var _1bnb = null, _1bnc = this._getRawProgress(), _1bnd = new _1bhb(); _1bnd.add(2, 10); var _1bne = _1bg4.default.model.useItem.get(32).count >= 350, _1bnf = _1bg4.default.model.useItem.get(3).count >= 22, _1bng = _1bg4.default.model.useItem.get(4).count >= 8, _1bnh = _1bg4.default.model.useItem.getCount(75) >= 1; 1 == _1bnc ? 1 == _1bnd.isFulfill() && _1bng && _1bne && _1bnf && _1bnh ? 2 == this._getRawStatus() ? (this._updateTassei(), 0 == _1bnd.isFulfillUnlocked() && (this._alert = 4)) : this._updateProgress(2) : 1 == _1bnd.isFulfill() && _1bnh ? this._updateProgress(2) : this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate1133 = function() { var _1bni = null, _1bnj = this._getRawProgress(), _1bnk = new _1bhb(); _1bnk.add(450, 1, [4, 5, 6, 7, 8, 9, 10]); var _1bnl = _1bg4.default.model.useItem.get(32).count >= 350, _1bnm = _1bg4.default.model.useItem.get(3).count >= 40, _1bnn = _1bg4.default.model.useItem.get(4).count >= 6; 1 == _1bnj ? 1 == _1bnk.isFulfill() && _1bnn && _1bnl && _1bnm ? 2 == this._getRawStatus() ? (this._updateTassei(), 0 == _1bnk.isFulfillUnlocked() && (this._alert = 4)) : this._updateProgress(2) : 1 == _1bnk.isFulfill() ? this._updateProgress(2) : this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._statusUpdate1134 = function() { var _1bno = null, _1bnp = this._getRawProgress(), _1bnq = new _1bhb(), _1bnr = new _1bhb(); _1bnq.add(28, 4); var _1bns = _1bg4.default.model.useItem.get(3).count >= 22, _1bnt = _1bg4.default.model.useItem.get(4).count >= 6, _1bnu = _1bg4.default.model.useItem.getCount(94) >= 2; (_1bnr.add(28, 3), 1 == _1bnp) ? 1 == _1bnq.isFulfill() && _1bnt && _1bns && _1bnu ? 2 == this._getRawStatus() ? (this._updateTassei(), 0 == _1bnq.isFulfillUnlocked() && (this._alert = 4)) : this._updateProgress(2) : _1bnr.isFulfill() ? this._updateProgress(2) : this._updateProgress(1): this._updateProgress(0); }, _1bg9.prototype._statusUpdate1135 = function() { var _1bnv = null, _1bnw = new _1bhb(); _1bnw.add(395, 1, [10]); var _1bnx = _1bnw.achieve_count; _1bnw.add(180, 1); var _1bny = new _1bhb(); _1bny.add(395, 1); var _1bnz = _1bny.achieve_count, _1bo0 = _1bg4.default.model.useItem.getCount(70), _1bo1 = _1bg4.default.model.useItem.getCount(77); if (_1bo0 >= 3 && _1bo1 >= 2 && 1 == _1bnw.isFulfill()) { var _1bo2 = this._getRawStatus(); 2 == _1bo2 ? (this._updateTassei(), 0 == _1bnw.isFulfillUnlocked() && (this._alert = 4)) : 1 == _1bo2 && this._updateProgress(2); } else _1bnx >= 1 ? this._updateProgress(2) : _1bnz >= 1 ? this._updateProgress(1) : this._updateProgress(0); }, _1bg9.prototype._getUnsetSlotCount = function(_1bo3) { var _1bo4 = null; for (var _1bo5 = _1bg4.default.model.slot.createUnsetList([], [_1bo3]), _1bo6 = _1bo5.length, _1bo7 = 0, _1bo8 = 0, _1bo9 = _1bo5; _1bo8 < _1bo9.length; _1bo8++) { 0 == _1bo9[_1bo8].isLocked() && _1bo7++; } return { 'all': _1bo6, 'unlocked': _1bo7 }; }, _1bg9.prototype._updateTassei = function() { var _1boa = null; this._o.api_state_ = 3, this._updateProgress(0); }, _1bg9.prototype._updateProgress = function(_1bob) { var _1boc = null; this._o.api_progress_flag_ = _1bob; }, _1bg9.prototype._getCflag = function(_1bod) { var _1boe = null, _1bof = this._clist; if (null != _1bof) for (var _1bog = 0, _1boh = _1bof; _1bog < _1boh.length; _1bog++) { var _1boi = _1boh[_1bog]; if (_1bg5.ObjUtil.getNumber(_1boi, 'api_no') == _1bod) return _1bg5.ObjUtil.getNumber(_1boi, 'api_c_flag'); } return 0; }, _1bg9; }(_1bfi(30616).DutyModel); _1bfh.DutyModel_ = _1bg6; var _1bhb = (function() { var _1boj = null; function _1bok() { var _1bol = null; this._conds = []; } return Object.defineProperty(_1bok.prototype, 'fulfill_count', { 'get': function() { var _1bom = null; for (var _1bon = 0, _1boo = 0, _1bop = this._conds; _1boo < _1bop.length; _1boo++) { var _1boq = _1bop[_1boo]; _1boq.count < _1boq.need && _1bon++; } return _1bon; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1bok.prototype, 'achieve_count', { 'get': function() { var _1bor = null; for (var _1bos = 0, _1bot = 0, _1bou = this._conds; _1bot < _1bou.length; _1bot++) { var _1bov = _1bou[_1bot]; _1bov.count >= _1bov.need && _1bos++; } return _1bos; }, 'enumerable': !1, 'configurable': !0 }), _1bok.prototype.add = function(_1bow, _1box, _1boy) { var _1boz = null; void 0 === _1boy && (_1boy = null); var _1bp0 = new _1bp1(_1bow, _1box, _1boy); this._conds.push(_1bp0); }, _1bok.prototype.isFulfill = function() { var _1bp2 = null; for (var _1bp3 = 0, _1bp4 = this._conds; _1bp3 < _1bp4.length; _1bp3++) { var _1bp5 = _1bp4[_1bp3]; if (_1bp5.count < _1bp5.need) return !1; } return !0; }, _1bok.prototype.isFulfillUnlocked = function() { var _1bp6 = null; for (var _1bp7 = 0, _1bp8 = this._conds; _1bp7 < _1bp8.length; _1bp7++) { var _1bp9 = _1bp8[_1bp7]; if (_1bp9.count_unlocked < _1bp9.need) return !1; } return !0; }, _1bok; }()), _1bp1 = (function() { var _1bpa = null; function _1bpb(_1bpc, _1bpd, _1bpe) { var _1bpf = null; void 0 === _1bpe && (_1bpe = null), this._count = 0, this._count_unlocked = 0, this._need = 0; var _1bpg, _1bph = (_1bpg = _1bpc, null == _1bpe ? _1bg4.default.model.slot.createUnsetList([], [_1bpg]) : _1bg4.default.model.slot.createUnsetList([], [_1bpg]).filter(function(_1bpi) { var _1bpj = null; return _1bpe.indexOf(_1bpi.level) >= 0; })); this._count = _1bph.length, this._count_unlocked = 0; for (var _1bpk = 0, _1bpl = _1bph; _1bpk < _1bpl.length; _1bpk++) { 0 == _1bpl[_1bpk].isLocked() && this._count_unlocked++; } this._need = _1bpd; } return Object.defineProperty(_1bpb.prototype, 'count', { 'get': function() { var _1bpm = null; return this._count; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1bpb.prototype, 'count_unlocked', { 'get': function() { var _1bpn = null; return this._count_unlocked; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1bpb.prototype, 'need', { 'get': function() { var _1bpo = null; return this._need; }, 'enumerable': !1, 'configurable': !0 }), _1bpb; }()); }, 79913: function(_1bpp, _1bpq, _1bpr) { 'use strict'; var _1bps = null; var _1bpt = this && this.__createBinding || (Object.create ? function(_1bpu, _1bpv, _1bpw, _1bpx) { var _1bpy = null; void 0 === _1bpx && (_1bpx = _1bpw); var _1bpz = Object.getOwnPropertyDescriptor(_1bpv, _1bpw); _1bpz && !('get' in _1bpz ? !_1bpv.__esModule : _1bpz.writable || _1bpz.configurable) || (_1bpz = { 'enumerable': !0, 'get': function() { return _1bpv[_1bpw]; } }), Object.defineProperty(_1bpu, _1bpx, _1bpz); } : function(_1bq0, _1bq1, _1bq2, _1bq3) { void 0 === _1bq3 && (_1bq3 = _1bq2), _1bq0[_1bq3] = _1bq1[_1bq2]; }), _1bq4 = this && this.__exportStar || function(_1bq5, _1bq6) { var _1bq7 = null; for (var _1bq8 in _1bq5) 'default' === _1bq8 || Object.prototype.hasOwnProperty.call(_1bq6, _1bq8) || _1bpt(_1bq6, _1bq5, _1bq8); }; defineModule(_1bpq); Object.defineProperty(_1bpq, '__esModule', { 'value': !0 }), _1bq4(_1bpr(40683), _1bpq), _1bq4(_1bpr(77173), _1bpq), _1bq4(_1bpr(30616), _1bpq), _1bq4(_1bpr(56360), _1bpq); }, 84311: function(_1bq9, _1bqa, _1bqb) { 'use strict'; var _1bqc = null; var _1bqd, _1bqe = this && this.__extends || (_1bqd = function(_1bqf, _1bqg) { var _1bqh = null; return _1bqd = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1bqi, _1bqj) { var _1bqk = null; _1bqi.__proto__ = _1bqj; } || function(_1bql, _1bqm) { var _1bqn = null; for (var _1bqo in _1bqm) Object.prototype.hasOwnProperty.call(_1bqm, _1bqo) && (_1bql[_1bqo] = _1bqm[_1bqo]); }, _1bqd(_1bqf, _1bqg); }, function(_1bqp, _1bqq) { var _1bqr = null; if ('function' != typeof _1bqq && null !== _1bqq) throw new TypeError('Class extends value ' + String(_1bqq) + ' is not a constructor or null'); function _1bqs() { var _1bqt = null; this.constructor = _1bqp; } _1bqd(_1bqp, _1bqq), _1bqp.prototype = null === _1bqq ? Object.create(_1bqq) : (_1bqs.prototype = _1bqq.prototype, new _1bqs()); }); defineModule(_1bqa); Object.defineProperty(_1bqa, '__esModule', { 'value': !0 }), _1bqa.TaskDutySceneFinalize = void 0; var _1bqu = _1bqb(81755), _1bqv = _1bqb(13748), _1bqw = _1bqb(16677), _1bqx = function(_1bqy) { var _1bqz = null; function _1br0(_1br1) { var _1br2 = null, _1br3 = _1bqy.call(this) || this; return _1br3._scene_dispose_delegate = _1br1, _1br3; } return _1bqe(_1br0, _1bqy), _1br0.prototype._start = function() { var _1br4 = null; null != this._scene_dispose_delegate && this._scene_dispose_delegate(), this._endTask(); }, _1br0.prototype._endTask = function() { var _1br5 = null; _1bqw.WheelEventUtil.clear(), this._scene_dispose_delegate = null, _1bqv.UIImageLoader.clearMemoryCache('duty'), _1bqy.prototype._endTask.call(this); }, _1br0; }(_1bqu.TaskBase); _1bqa.TaskDutySceneFinalize = _1bqx; }, 82760: function(_1br6, _1br7, _1br8) { 'use strict'; var _1br9 = null; var _1bra, _1brb = this && this.__extends || (_1bra = function(_1brc, _1brd) { var _1bre = null; return _1bra = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1brf, _1brg) { var _1brh = null; _1brf.__proto__ = _1brg; } || function(_1bri, _1brj) { var _1brk = null; for (var _1brl in _1brj) Object.prototype.hasOwnProperty.call(_1brj, _1brl) && (_1bri[_1brl] = _1brj[_1brl]); }, _1bra(_1brc, _1brd); }, function(_1brm, _1brn) { var _1bro = null; if ('function' != typeof _1brn && null !== _1brn) throw new TypeError('Class extends value ' + String(_1brn) + ' is not a constructor or null'); function _1brp() { var _1brq = null; this.constructor = _1brm; } _1bra(_1brm, _1brn), _1brm.prototype = null === _1brn ? Object.create(_1brn) : (_1brp.prototype = _1brn.prototype, new _1brp()); }), _1brr = this && this.__importDefault || function(_1brs) { var _1brt = null; return _1brs && _1brs.__esModule ? _1brs : { 'default': _1brs }; }; defineModule(_1br7); Object.defineProperty(_1br7, '__esModule', { 'value': !0 }), _1br7.TaskDutySceneInitialize = void 0; var _1bru = _1brr(_1br8(18622)), _1brv = function(_1brw) { var _1brx = null; function _1bry(_1brz, _1bs0) { var _1bs1 = null, _1bs2 = _1brw.call(this) || this; return _1bs2._data = _1brz, _1bs2._scene_activate_delegate = _1bs0, _1bs2; } return _1brb(_1bry, _1brw), _1bry.prototype._start = function() { var _1bs3 = null; this._playBGM(); }, _1bry.prototype._playBGM = function() { var _1bs4 = null; _1bru.default.sound.bgm.play(102), this._playVoice(); }, _1bry.prototype._playVoice = function() { var _1bs5 = null; 1 == _1bru.default.option.voice_duty && (1 == this._data.hasComplete() ? _1bru.default.sound.voice.playAtRandom('9999', [401, 402, 403, 404, 405], [20, 20, 20, 20, 20]) : _1bru.default.sound.voice.playAtRandom('9999', [406, 407], [50, 50])), this._startScene(); }, _1bry.prototype._startScene = function() { var _1bs6 = null; null != this._scene_activate_delegate && this._scene_activate_delegate(), this._endTask(); }, _1bry.prototype._endTask = function() { var _1bs7 = null; this._data = null, this._scene_activate_delegate = null, _1brw.prototype._endTask.call(this); }, _1bry; }(_1br8(37562).TaskBase); _1br7.TaskDutySceneInitialize = _1brv; }, 2863: function(_1bs8, _1bs9, _1bsa) { 'use strict'; var _1bsb = null; var _1bsc, _1bsd = this && this.__extends || (_1bsc = function(_1bse, _1bsf) { var _1bsg = null; return _1bsc = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1bsh, _1bsi) { var _1bsj = null; _1bsh.__proto__ = _1bsi; } || function(_1bsk, _1bsl) { var _1bsm = null; for (var _1bsn in _1bsl) Object.prototype.hasOwnProperty.call(_1bsl, _1bsn) && (_1bsk[_1bsn] = _1bsl[_1bsn]); }, _1bsc(_1bse, _1bsf); }, function(_1bso, _1bsp) { var _1bsq = null; if ('function' != typeof _1bsp && null !== _1bsp) throw new TypeError('Class extends value ' + String(_1bsp) + ' is not a constructor or null'); function _1bsr() { var _1bss = null; this.constructor = _1bso; } _1bsc(_1bso, _1bsp), _1bso.prototype = null === _1bsp ? Object.create(_1bsp) : (_1bsr.prototype = _1bsp.prototype, new _1bsr()); }), _1bst = this && this.__importDefault || function(_1bsu) { var _1bsv = null; return _1bsu && _1bsu.__esModule ? _1bsu : { 'default': _1bsu }; }; defineModule(_1bs9); Object.defineProperty(_1bs9, '__esModule', { 'value': !0 }), _1bs9.TaskDutyScenePreInitialize = void 0; var _1bsw = _1bst(_1bsa(18622)), _1bsx = _1bsa(81755), _1bsy = _1bsa(35660), _1bsz = _1bsa(52574), _1bt0 = _1bsa(5284), _1bt1 = _1bsa(60469), _1bt2 = function(_1bt3) { var _1bt4 = null; function _1bt5(_1bt6, _1bt7) { var _1bt8 = null, _1bt9 = _1bt3.call(this) || this; return _1bt9._data = _1bt6, _1bt9._scene_initialize_delegate = _1bt7, _1bt9; } return _1bsd(_1bt5, _1bt3), _1bt5.prototype._start = function() { var _1bta = null; this._loadResources(); }, _1bt5.prototype._loadResources = function() { var _1btb = null, _1btc = this; new _1bt1.TaskLoadResources().start(function() { var _1btd = null; _1btc._connectAPI(); }); }, _1bt5.prototype._connectAPI = function() { var _1bte = null, _1btf = this, _1btg = new _1bsy.APIConnector(); 20 == _1bsw.default.model.basic.getTutorialProgress() && _1btg.add(new _1bsz.UpdateTutorialAPI(30)), (_1btg.add(new _1bt0.DutyListAPI(0, this._data)), _1btg.start(function() { var _1bth = null; null != _1btf._scene_initialize_delegate && _1btf._scene_initialize_delegate(), _1btf._endTask(); })); }, _1bt5.prototype._endTask = function() { var _1bti = null; this._data = null, this._scene_initialize_delegate = null, _1bt3.prototype._endTask.call(this); }, _1bt5; }(_1bsx.TaskBase); _1bs9.TaskDutyScenePreInitialize = _1bt2; }, 89700: function(_1btj, _1btk, _1btl) { 'use strict'; var _1btm = null; var _1btn, _1bto = this && this.__extends || (_1btn = function(_1btp, _1btq) { var _1btr = null; return _1btn = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1bts, _1btt) { var _1btu = null; _1bts.__proto__ = _1btt; } || function(_1btv, _1btw) { var _1btx = null; for (var _1bty in _1btw) Object.prototype.hasOwnProperty.call(_1btw, _1bty) && (_1btv[_1bty] = _1btw[_1bty]); }, _1btn(_1btp, _1btq); }, function(_1btz, _1bu0) { var _1bu1 = null; if ('function' != typeof _1bu0 && null !== _1bu0) throw new TypeError('Class extends value ' + String(_1bu0) + ' is not a constructor or null'); function _1bu2() { var _1bu3 = null; this.constructor = _1btz; } _1btn(_1btz, _1bu0), _1btz.prototype = null === _1bu0 ? Object.create(_1bu0) : (_1bu2.prototype = _1bu0.prototype, new _1bu2()); }); defineModule(_1btk); Object.defineProperty(_1btk, '__esModule', { 'value': !0 }), _1btk.TaskExecutedDutySelect = void 0; var _1bu4 = _1btl(37562), _1bu5 = _1btl(70723), _1bu6 = _1btl(36693), _1bu7 = _1btl(55952), _1bu8 = function(_1bu9) { var _1bua = null; function _1bub(_1buc, _1bud) { var _1bue = null, _1buf = _1bu9.call(this) || this; return _1buf._model = _1buc, _1buf._holder = _1bud, _1buf; } return _1bto(_1bub, _1bu9), _1bub.prototype._start = function() { var _1bug = null, _1buh = this; _1bu5.SE.play('240'), new _1bu6.DutyCancelAPI(this._model.id).start(function() { var _1bui = null; _1buh._update(); }); }, _1bub.prototype._update = function() { var _1buj = null, _1buk = this, _1bul = this._holder.selected_type; new _1bu7.TaskUpdateDutyListData(_1bul, this._holder).start(function() { var _1bum = null; _1buk._endTask(); }); }, _1bub.prototype._endTask = function() { var _1bun = null; this._model = null, this._holder = null, _1bu9.prototype._endTask.call(this); }, _1bub; }(_1bu4.TaskBase); _1btk.TaskExecutedDutySelect = _1bu8; }, 60469: function(_1buo, _1bup, _1buq) { 'use strict'; var _1bur = null; var _1bus, _1but = this && this.__extends || (_1bus = function(_1buu, _1buv) { var _1buw = null; return _1bus = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1bux, _1buy) { var _1buz = null; _1bux.__proto__ = _1buy; } || function(_1bv0, _1bv1) { var _1bv2 = null; for (var _1bv3 in _1bv1) Object.prototype.hasOwnProperty.call(_1bv1, _1bv3) && (_1bv0[_1bv3] = _1bv1[_1bv3]); }, _1bus(_1buu, _1buv); }, function(_1bv4, _1bv5) { var _1bv6 = null; if ('function' != typeof _1bv5 && null !== _1bv5) throw new TypeError('Class extends value ' + String(_1bv5) + ' is not a constructor or null'); function _1bv7() { var _1bv8 = null; this.constructor = _1bv4; } _1bus(_1bv4, _1bv5), _1bv4.prototype = null === _1bv5 ? Object.create(_1bv5) : (_1bv7.prototype = _1bv5.prototype, new _1bv7()); }); defineModule(_1bup); Object.defineProperty(_1bup, '__esModule', { 'value': !0 }), _1bup.TaskLoadResources = void 0; var _1bv9 = _1buq(81755), _1bva = _1buq(13748), _1bvb = _1buq(62610), _1bvc = _1buq(80534), _1bvd = function(_1bve) { var _1bvf = null; function _1bvg() { var _1bvh = null; return _1bve.call(this) || this; } return _1but(_1bvg, _1bve), _1bvg.prototype._start = function() { var _1bvi = null; this._load(); }, _1bvg.prototype._load = function() { var _1bvj = null, _1bvk = this, _1bvl = new _1bva.UIImageLoader('duty'); _1bvl.add('duty_main.json'), _1bvl.load(function() { var _1bvm = null; _1bvk._loadPosterGirlResoueces(); }); }, _1bvg.prototype._loadPosterGirlResoueces = function() { var _1bvn = null, _1bvo = this, _1bvp = new _1bva.UIImageLoader('duty'); _1bvp.add('poster_girl/'['concat'](_1bvc.OOYODO_SEASON, '1.png'), _1bvb.POSTER_KEY_1), _1bvp.add('poster_girl/'['concat'](_1bvc.OOYODO_SEASON, '2.png'), _1bvb.POSTER_KEY_2), _1bvp.add('fairy/'['concat'](_1bvc.FAIRY_DUTY_LIST_SEASON, '1.png'), _1bvb.FAIRY_KEY_1), _1bvp.add('fairy/'['concat'](_1bvc.FAIRY_DUTY_LIST_SEASON, '2.png'), _1bvb.FAIRY_KEY_2), _1bvp.load(function() { var _1bvq = null; _1bvo._endTask(); }); }, _1bvg; }(_1bv9.TaskBase); _1bup.TaskLoadResources = _1bvd; }, 22996: function(_1bvr, _1bvs, _1bvt) { 'use strict'; var _1bvu = null; var _1bvv, _1bvw = this && this.__extends || (_1bvv = function(_1bvx, _1bvy) { var _1bvz = null; return _1bvv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1bw0, _1bw1) { var _1bw2 = null; _1bw0.__proto__ = _1bw1; } || function(_1bw3, _1bw4) { var _1bw5 = null; for (var _1bw6 in _1bw4) Object.prototype.hasOwnProperty.call(_1bw4, _1bw6) && (_1bw3[_1bw6] = _1bw4[_1bw6]); }, _1bvv(_1bvx, _1bvy); }, function(_1bw7, _1bw8) { var _1bw9 = null; if ('function' != typeof _1bw8 && null !== _1bw8) throw new TypeError('Class extends value ' + String(_1bw8) + ' is not a constructor or null'); function _1bwa() { var _1bwb = null; this.constructor = _1bw7; } _1bvv(_1bw7, _1bw8), _1bw7.prototype = null === _1bw8 ? Object.create(_1bw8) : (_1bwa.prototype = _1bw8.prototype, new _1bwa()); }); defineModule(_1bvs); Object.defineProperty(_1bvs, '__esModule', { 'value': !0 }), _1bvs.TaskPosterGirl = void 0; var _1bwc = _1bvt(37562), _1bwd = _1bvt(62610), _1bwe = _1bvt(35380), _1bwf = function(_1bwg) { var _1bwh = null; function _1bwi(_1bwj) { var _1bwk = null, _1bwl = _1bwg.call(this) || this; return _1bwl._waitClick = function() { var _1bwm = null; _1bwl._layer.buttonMode = !0, _1bwl._layer.once(_1bwe.EventType.CLICK, _1bwl._onClick); }, _1bwl._onClick = function() { var _1bwn = null; _1bwl._layer.buttonMode = !1, _1bwl._chara.texture = PIXI.Texture.fromFrame(_1bwd.POSTER_KEY_2), createjs.Tween.get(_1bwl._chara).wait(300).to({ 'x': 1200 }, 500, createjs.Ease.sineInOut).call(function() { var _1bwo = null; _1bwl._layer.removeChild(_1bwl._chara), _1bwl._endTask(); }); }, _1bwl._layer = _1bwj, _1bwl; } return _1bvw(_1bwi, _1bwg), _1bwi.prototype._start = function() { var _1bwp = null; this._chara = PIXI.Sprite.fromFrame(_1bwd.POSTER_KEY_1), this._chara.position.set(760, 705), this._layer.addChild(this._chara), createjs.Tween.get(this._chara).to({ 'y': 45 }, 500).call(this._waitClick); }, _1bwi.prototype._endTask = function() { var _1bwq = null; this._layer = null, this._chara = null, _1bwg.prototype._endTask.call(this); }, _1bwi; }(_1bwc.TaskBase); _1bvs.TaskPosterGirl = _1bwf; }, 79623: function(_1bwr, _1bws, _1bwt) { 'use strict'; var _1bwu = null; var _1bwv, _1bww = this && this.__extends || (_1bwv = function(_1bwx, _1bwy) { var _1bwz = null; return _1bwv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1bx0, _1bx1) { var _1bx2 = null; _1bx0.__proto__ = _1bx1; } || function(_1bx3, _1bx4) { var _1bx5 = null; for (var _1bx6 in _1bx4) Object.prototype.hasOwnProperty.call(_1bx4, _1bx6) && (_1bx3[_1bx6] = _1bx4[_1bx6]); }, _1bwv(_1bwx, _1bwy); }, function(_1bx7, _1bx8) { var _1bx9 = null; if ('function' != typeof _1bx8 && null !== _1bx8) throw new TypeError('Class extends value ' + String(_1bx8) + ' is not a constructor or null'); function _1bxa() { var _1bxb = null; this.constructor = _1bx7; } _1bwv(_1bx7, _1bx8), _1bx7.prototype = null === _1bx8 ? Object.create(_1bx8) : (_1bxa.prototype = _1bx8.prototype, new _1bxa()); }), _1bxc = this && this.__importDefault || function(_1bxd) { var _1bxe = null; return _1bxd && _1bxd.__esModule ? _1bxd : { 'default': _1bxd }; }; defineModule(_1bws); Object.defineProperty(_1bws, '__esModule', { 'value': !0 }), _1bws.TaskTasseiDutySelect = void 0; var _1bxf = _1bxc(_1bwt(18622)), _1bxg = _1bwt(81755), _1bxh = _1bwt(35660), _1bxi = _1bwt(67658), _1bxj = _1bwt(58310), _1bxk = _1bwt(17103), _1bxl = _1bwt(42552), _1bxm = _1bwt(95703), _1bxn = _1bwt(45134), _1bxo = _1bwt(69105), _1bxp = _1bwt(22242), _1bxq = _1bwt(79899), _1bxr = _1bwt(6147), _1bxs = _1bwt(70723), _1bxt = _1bwt(468), _1bxu = _1bwt(36129), _1bxv = _1bwt(55952), _1bxw = _1bwt(3882), _1bxx = function(_1bxy) { var _1bxz = null; function _1by0(_1by1, _1by2, _1by3) { var _1by4 = null, _1by5 = _1bxy.call(this) || this; return _1by5._layer = _1by1, _1by5._model = _1by2, _1by5._holder = _1by3, _1by5; } return _1bww(_1by0, _1bxy), _1by0.prototype._start = function() { var _1by6 = null, _1by7 = this, _1by8 = this._model.getRewardCandidates(); if (null != _1by8 && _1by8.length > 0) { this._click_guard = new _1bxq.AreaBox(0.2), this._layer.addChild(this._click_guard); var _1by9 = new _1bxu.TaskRewardSelectMulti(this._layer, _1by8); _1by9.start(function() { var _1bya = null, _1byb = _1by9.result; _1by7._receiveReward(_1byb); }); } else this._click_guard = new _1bxq.AreaBox(0), this._layer.addChild(this._click_guard), this._receiveReward(null); }, _1by0.prototype._receiveReward = function(_1byc) { var _1byd = null, _1bye = this; _1bxs.SE.play('215'), this._model.hasVoiceID && _1bxf.default.sound.voice.play('9999', this._model.voiceID, null, 'duty'); var _1byf = this._model.id, _1byg = []; if (null != _1byc) for (var _1byh = 0, _1byi = _1byc; _1byh < _1byi.length; _1byh++) { var _1byj; null != (_1byj = _1byi[_1byh]) && _1byg.push(_1byj.no); } var _1byk = new _1bxt.DutyEndAPI(_1byf, _1byg), _1byl = _1byk.result; _1byk.start(function() { var _1bym = null; _1bye._showRewardDialog(_1byl); }); }, _1by0.prototype._showRewardDialog = function(_1byn) { var _1byo = null, _1byp = this, _1byq = _1bxf.default.view.overLayer, _1byr = this._sortRewrdListById(_1byn.getRewardList(), this._model.id); new _1bxr.TaskReward(_1byq, _1byr, this._model.id).start(function() { var _1bys = null; _1byp._updateInternalData(_1byn); }); }, _1by0.prototype._sortRewrdListById = function(_1byt, _1byu) { var _1byv = null; switch (_1byu) { case 1103: case 1104: return _1byt.reverse(); case 1122: var _1byw = function(_1byx, _1byy, _1byz) { var _1bz0 = null; if (_1byy === _1byz || _1byy > _1byx.length - 1 || _1byz > _1byx.length - 1) return _1byx; var _1bz1 = _1byx[_1byy], _1bz2 = _1byx.slice(_1byy + 1); return _1byx.splice(_1byy), _1byx.push.apply(_1byx, _1bz2), _1byx.splice(_1byz, 0, _1bz1), _1byx; }(_1byt, function(_1bz3) { var _1bz4 = null; for (var _1bz5 = 0; _1bz5 < _1bz3.length; _1bz5++) { if (_1bz3[_1bz5] instanceof _1bxw.RewardModelModelChange) return _1bz5; } }(_1byt), 0); return _1byw; default: return _1byt; } }, _1by0.prototype._updateInternalData = function(_1bz6) { var _1bz7 = null, _1bz8 = this, _1bz9 = new _1bxh.APIConnector(); if (_1bz9.add(new _1bxj.MaterialAPI()), 653 == this._model.id) { var _1bza = 6000; (_1bzb = _1bxf.default.model.useItem.get(44)).__setCount__(_1bzb.count - _1bza); } else { if (1119 == this._model.id) { var _1bzb; _1bza = 1031, (_1bzb = _1bxf.default.model.useItem.get(44)).__setCount__(_1bzb.count - _1bza); } }(1 == _1bz6.isNeedUpdateUserBasic() || [1101].indexOf(this._model.id) >= 0) && _1bz9.add(new _1bxm.UserDataAPI()); var _1bzc = [1101, 1102, 1105, 1112, 1114, 1115, 1116, 1119, 1121, 1130]; (1 == _1bz6.isNeedUpdateSlotitem() || 318 == this._model.id || 513 == this._model.id || _1bzc.indexOf(this._model.id) >= 0) && _1bz9.add(new _1bxp.UserSlotItemAPI()), (1 == _1bz6.isNeedUpdateSlotitem() || _1bzc.indexOf(this._model.id) >= 0) && _1bz9.add(new _1bxk.UnsetSlotAPI()); if ((1 == _1bz6.isNeedUpdateUseitem() || [511, 513, 620, 621, 654, 688, 689, 690, 695, 696, 697, 698, 710, 711, 712, 713, 966].indexOf(this._model.id) >= 0) && _1bz9.add(new _1bxl.UseItemAPI()), _1bz6.getRewards(2).length > 0 && _1bz9.add(new _1bxi.DeckAPI()), _1bz6.getRewards(11).length > 0) _1bz9.add(new _1bxo.UserShipAPI()); else { if (318 == this._model.id || 513 == this._model.id) { var _1bzd = _1bxf.default.model.deck.get(1).getShipList()[0].memID; _1bz9.add(new _1bxo.UserShipAPI(_1bzd)); } } _1bz6.getRewards(14).length > 0 && _1bz9.add(new _1bxn.UserFurnitureAPI()), _1bz9.start(function() { var _1bze = null, _1bzf = _1bz6.getRewards(6); if (_1bzf.length > 0) for (var _1bzg = 0; _1bzg < _1bzf.length; _1bzg++) { var _1bzh = _1bzf[_1bzg].flag, _1bzi = [_1bxf.default.model.basic.getExtraSupplySortie() ? 1 : 0, _1bxf.default.model.basic.getExtraSupplyExpedition() ? 1 : 0]; 1 == _1bzh ? _1bzi[0] = 1 : 2 == _1bzh && (_1bzi[1] = 1), _1bxf.default.model.basic.setExtraSupplyFlag(_1bzi); } _1bz8._updateDutyList(_1bz6); }); }, _1by0.prototype._updateDutyList = function(_1bzj) { var _1bzk = null, _1bzl = this; new _1bxv.TaskUpdateDutyListData(this._holder.selected_type, this._holder).start(function() { var _1bzm = null; _1bzj.getRewards(2).length > 0 && _1bxf.default.view.portMain.updateUserInfo({ 'fleetNum': _1bxf.default.model.deck.num }), _1bxf.default.view.portMain.updateInfo(), null != _1bzl._click_guard && _1bzl._layer.removeChild(_1bzl._click_guard), _1bzl._endTask(); }); }, _1by0.prototype._endTask = function() { var _1bzn = null; this._layer = null, this._model = null, this._holder = null, this._click_guard = null, _1bxy.prototype._endTask.call(this); }, _1by0; }(_1bxg.TaskBase); _1bws.TaskTasseiDutySelect = _1bxx; }, 55952: function(_1bzo, _1bzp, _1bzq) { 'use strict'; var _1bzr = null; var _1bzs, _1bzt = this && this.__extends || (_1bzs = function(_1bzu, _1bzv) { var _1bzw = null; return _1bzs = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1bzx, _1bzy) { var _1bzz = null; _1bzx.__proto__ = _1bzy; } || function(_1c00, _1c01) { var _1c02 = null; for (var _1c03 in _1c01) Object.prototype.hasOwnProperty.call(_1c01, _1c03) && (_1c00[_1c03] = _1c01[_1c03]); }, _1bzs(_1bzu, _1bzv); }, function(_1c04, _1c05) { var _1c06 = null; if ('function' != typeof _1c05 && null !== _1c05) throw new TypeError('Class extends value ' + String(_1c05) + ' is not a constructor or null'); function _1c07() { var _1c08 = null; this.constructor = _1c04; } _1bzs(_1c04, _1c05), _1c04.prototype = null === _1c05 ? Object.create(_1c05) : (_1c07.prototype = _1c05.prototype, new _1c07()); }); defineModule(_1bzp); Object.defineProperty(_1bzp, '__esModule', { 'value': !0 }), _1bzp.TaskUpdateDutyListData = void 0; var _1c09 = _1bzq(37562), _1c0a = _1bzq(36693), _1c0b = function(_1c0c) { var _1c0d = null; function _1c0e(_1c0f, _1c0g) { var _1c0h = null, _1c0i = _1c0c.call(this) || this; return _1c0i._selected_type = _1c0f, _1c0i._data = _1c0g, _1c0i; } return _1bzt(_1c0e, _1c0c), _1c0e.prototype._start = function() { var _1c0j = null, _1c0k = this, _1c0l = this._selected_type; new _1c0a.DutyListAPI(_1c0l, this._data).start(function() { var _1c0m = null; _1c0k._endTask(); }); }, _1c0e; }(_1c09.TaskBase); _1bzp.TaskUpdateDutyListData = _1c0b; }, 6759: function(_1c0n, _1c0o, _1c0p) { 'use strict'; var _1c0q = null; var _1c0r, _1c0s = this && this.__extends || (_1c0r = function(_1c0t, _1c0u) { var _1c0v = null; return _1c0r = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1c0w, _1c0x) { var _1c0y = null; _1c0w.__proto__ = _1c0x; } || function(_1c0z, _1c10) { var _1c11 = null; for (var _1c12 in _1c10) Object.prototype.hasOwnProperty.call(_1c10, _1c12) && (_1c0z[_1c12] = _1c10[_1c12]); }, _1c0r(_1c0t, _1c0u); }, function(_1c13, _1c14) { var _1c15 = null; if ('function' != typeof _1c14 && null !== _1c14) throw new TypeError('Class extends value ' + String(_1c14) + ' is not a constructor or null'); function _1c16() { var _1c17 = null; this.constructor = _1c13; } _1c0r(_1c13, _1c14), _1c13.prototype = null === _1c14 ? Object.create(_1c14) : (_1c16.prototype = _1c14.prototype, new _1c16()); }), _1c18 = this && this.__importDefault || function(_1c19) { var _1c1a = null; return _1c19 && _1c19.__esModule ? _1c19 : { 'default': _1c19 }; }; defineModule(_1c0o); Object.defineProperty(_1c0o, '__esModule', { 'value': !0 }), _1c0o.TaskWaitedDutySelect = void 0; var _1c1b = _1c18(_1c0p(18622)), _1c1c = _1c0p(37562), _1c1d = _1c0p(70723), _1c1e = _1c0p(36693), _1c1f = _1c0p(55952), _1c1g = function(_1c1h) { var _1c1i = null; function _1c1j(_1c1k, _1c1l) { var _1c1m = null, _1c1n = _1c1h.call(this) || this; return _1c1n._model = _1c1k, _1c1n._holder = _1c1l, _1c1n; } return _1c0s(_1c1j, _1c1h), _1c1j.prototype._start = function() { var _1c1o = null, _1c1p = this, _1c1q = _1c1b.default.model.basic.getDutyExecutableCount(); this._holder.getExecCount() >= _1c1q ? this._endTask() : (_1c1d.SE.play('240'), new _1c1e.DutyStartAPI(this._model.id).start(function() { var _1c1r = null; _1c1p._update(); })); }, _1c1j.prototype._update = function() { var _1c1s = null, _1c1t = this, _1c1u = this._holder.selected_type; new _1c1f.TaskUpdateDutyListData(_1c1u, this._holder).start(function() { var _1c1v = null; 1 == _1c1b.default.option.voice_duty && _1c1b.default.sound.voice.playAtRandom('9999', [409, 410], [50, 50]), _1c1t._endTask(); }); }, _1c1j.prototype._endTask = function() { var _1c1w = null; this._model = null, this._holder = null, _1c1h.prototype._endTask.call(this); }, _1c1j; }(_1c1c.TaskBase); _1c0o.TaskWaitedDutySelect = _1c1g; }, 50522: function(_1c1x, _1c1y, _1c1z) { 'use strict'; var _1c20 = null; var _1c21 = this && this.__createBinding || (Object.create ? function(_1c22, _1c23, _1c24, _1c25) { var _1c26 = null; void 0 === _1c25 && (_1c25 = _1c24); var _1c27 = Object.getOwnPropertyDescriptor(_1c23, _1c24); _1c27 && !('get' in _1c27 ? !_1c23.__esModule : _1c27.writable || _1c27.configurable) || (_1c27 = { 'enumerable': !0, 'get': function() { return _1c23[_1c24]; } }), Object.defineProperty(_1c22, _1c25, _1c27); } : function(_1c28, _1c29, _1c2a, _1c2b) { void 0 === _1c2b && (_1c2b = _1c2a), _1c28[_1c2b] = _1c29[_1c2a]; }), _1c2c = this && this.__exportStar || function(_1c2d, _1c2e) { var _1c2f = null; for (var _1c2g in _1c2d) 'default' === _1c2g || Object.prototype.hasOwnProperty.call(_1c2e, _1c2g) || _1c21(_1c2e, _1c2d, _1c2g); }; defineModule(_1c1y); Object.defineProperty(_1c1y, '__esModule', { 'value': !0 }), _1c2c(_1c1z(2863), _1c1y), _1c2c(_1c1z(82760), _1c1y), _1c2c(_1c1z(84311), _1c1y), _1c2c(_1c1z(60469), _1c1y), _1c2c(_1c1z(22996), _1c1y), _1c2c(_1c1z(79623), _1c1y), _1c2c(_1c1z(55952), _1c1y), _1c2c(_1c1z(6759), _1c1y), _1c2c(_1c1z(89700), _1c1y), _1c2c(_1c1z(80135), _1c1y), _1c2c(_1c1z(36129), _1c1y); }, 80135: function(_1c2h, _1c2i, _1c2j) { 'use strict'; var _1c2k = null; var _1c2l, _1c2m = this && this.__extends || (_1c2l = function(_1c2n, _1c2o) { var _1c2p = null; return _1c2l = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1c2q, _1c2r) { var _1c2s = null; _1c2q.__proto__ = _1c2r; } || function(_1c2t, _1c2u) { var _1c2v = null; for (var _1c2w in _1c2u) Object.prototype.hasOwnProperty.call(_1c2u, _1c2w) && (_1c2t[_1c2w] = _1c2u[_1c2w]); }, _1c2l(_1c2n, _1c2o); }, function(_1c2x, _1c2y) { var _1c2z = null; if ('function' != typeof _1c2y && null !== _1c2y) throw new TypeError('Class extends value ' + String(_1c2y) + ' is not a constructor or null'); function _1c30() { var _1c31 = null; this.constructor = _1c2x; } _1c2l(_1c2x, _1c2y), _1c2x.prototype = null === _1c2y ? Object.create(_1c2y) : (_1c30.prototype = _1c2y.prototype, new _1c30()); }), _1c32 = this && this.__importDefault || function(_1c33) { var _1c34 = null; return _1c33 && _1c33.__esModule ? _1c33 : { 'default': _1c33 }; }; defineModule(_1c2i); Object.defineProperty(_1c2i, '__esModule', { 'value': !0 }), _1c2i.TaskRewardSelect = void 0; var _1c35 = _1c32(_1c2j(18622)), _1c36 = _1c2j(81755), _1c37 = _1c2j(22027), _1c38 = _1c2j(46670), _1c39 = _1c2j(91974), _1c3a = _1c2j(91974), _1c3b = _1c2j(91974), _1c3c = function(_1c3d) { var _1c3e = null; function _1c3f(_1c3g, _1c3h) { var _1c3i = null, _1c3j = _1c3d.call(this) || this; return _1c3j._result = null, _1c3j._onSelect = function(_1c3k) { var _1c3l = null, _1c3m = PIXI.Texture.EMPTY; if (11 == _1c3k.type) _1c3m = 1 !== _1c3k.old_ship_layout ? _1c35.default.resources.getShip(_1c3k.mst_id, !1, 'reward_icon') : _1c35.default.resources.getShip(_1c3k.mst_id, !1, 'icon_box'); else { if (12 == _1c3k.type) _1c3m = _1c35.default.resources.getSlotitem(_1c3k.mst_id, 'card'); else { if (13 == _1c3k.type) _1c3m = _1c35.default.resources.getUseitem(_1c3k.mst_id, 2); else { if (14 == _1c3k.type) { _1c3m = _1c35.default.resources.getFurniture(_1c3k.mst_id, 'reward'); var _1c3n = _1c35.default.model.furniture.getData(_1c3k.mst_id); if (null == _1c3n || 1 == _1c3n.has()) return void _1c3j._dialog.showAlert(_1c3k); } } } } var _1c3o = new _1c38.TaskRewardSelectConfirm(_1c3j._layer, _1c3m); _1c3o.start(function() { var _1c3p = null; 1 == _1c3o.result && (_1c3j._layer.removeChild(_1c3j._dialog), _1c3j._result = _1c3k, _1c3j._endTask()); }); }, _1c3j._layer = _1c3g, _1c3j._candidates = _1c3h, _1c3j; } return _1c2m(_1c3f, _1c3d), Object.defineProperty(_1c3f.prototype, 'result', { 'get': function() { var _1c3q = null; return this._result; }, 'enumerable': !1, 'configurable': !0 }), _1c3f.prototype._start = function() { var _1c3r = null; this._loadResources(); }, _1c3f.prototype._loadResources = function() { var _1c3s = null; for (var _1c3t = this, _1c3u = new _1c37.TaskLoadResources(), _1c3v = 0, _1c3w = this._candidates; _1c3v < _1c3w.length; _1c3v++) { var _1c3x = _1c3w[_1c3v]; 11 == _1c3x.type ? 1 !== _1c3x.old_ship_layout ? _1c3u.addShip(_1c3x.mst_id) : _1c3u.addShipOld(_1c3x.mst_id) : 12 == _1c3x.type ? _1c3u.addSlotitem(_1c3x.mst_id) : 13 == _1c3x.type ? _1c3u.addUseitem(_1c3x.mst_id) : 14 == _1c3x.type && _1c3u.addFurniture(_1c3x.mst_id); } _1c3u.start(function() { var _1c3y = null; 5 == _1c3t._candidates.length ? (_1c3t._dialog = new _1c3b.RewardSelectDialog5(), _1c3t._dialog.position.set(119, 164)) : 3 == _1c3t._candidates.length ? (_1c3t._dialog = new _1c3a.RewardSelectDialog3(), _1c3t._dialog.position.set(195, 164)) : (_1c3t._dialog = new _1c39.RewardSelectDialog2(), _1c3t._dialog.position.set(297, 164)), _1c3t._dialog.initialize(_1c3t._candidates, _1c3t._onSelect), _1c3t._layer.addChild(_1c3t._dialog), _1c3t._dialog.activate(); }); }, _1c3f.prototype._endTask = function() { var _1c3z = null; this._layer = null, this._candidates = null, this._dialog = null, _1c3d.prototype._endTask.call(this); }, _1c3f; }(_1c36.TaskBase); _1c2i.TaskRewardSelect = _1c3c; }, 36129: function(_1c40, _1c41, _1c42) { 'use strict'; var _1c43 = null; var _1c44, _1c45 = this && this.__extends || (_1c44 = function(_1c46, _1c47) { var _1c48 = null; return _1c44 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1c49, _1c4a) { var _1c4b = null; _1c49.__proto__ = _1c4a; } || function(_1c4c, _1c4d) { var _1c4e = null; for (var _1c4f in _1c4d) Object.prototype.hasOwnProperty.call(_1c4d, _1c4f) && (_1c4c[_1c4f] = _1c4d[_1c4f]); }, _1c44(_1c46, _1c47); }, function(_1c4g, _1c4h) { var _1c4i = null; if ('function' != typeof _1c4h && null !== _1c4h) throw new TypeError('Class extends value ' + String(_1c4h) + ' is not a constructor or null'); function _1c4j() { var _1c4k = null; this.constructor = _1c4g; } _1c44(_1c4g, _1c4h), _1c4g.prototype = null === _1c4h ? Object.create(_1c4h) : (_1c4j.prototype = _1c4h.prototype, new _1c4j()); }); defineModule(_1c41); Object.defineProperty(_1c41, '__esModule', { 'value': !0 }), _1c41.TaskRewardSelectMulti = void 0; var _1c4l = _1c42(81755), _1c4m = _1c42(80135), _1c4n = function(_1c4o) { var _1c4p = null; function _1c4q(_1c4r, _1c4s) { var _1c4t = null, _1c4u = _1c4o.call(this) || this; return _1c4u._result = [], _1c4u._layer = _1c4r, _1c4u._candidates_list = null == _1c4s ? [] : _1c4s.concat(), _1c4u; } return _1c45(_1c4q, _1c4o), Object.defineProperty(_1c4q.prototype, 'result', { 'get': function() { var _1c4v = null; return this._result; }, 'enumerable': !1, 'configurable': !0 }), _1c4q.prototype._start = function() { var _1c4w = null, _1c4x = this; if (0 != this._candidates_list.length) { var _1c4y = this._candidates_list.shift(), _1c4z = new _1c4m.TaskRewardSelect(this._layer, _1c4y); _1c4z.start(function() { var _1c50 = null; _1c4x._result.push(_1c4z.result), _1c4x._start(); }); } else this._endTask(); }, _1c4q.prototype._endTask = function() { var _1c51 = null; this._layer = null, this._candidates_list = null, _1c4o.prototype._endTask.call(this); }, _1c4q; }(_1c4l.TaskBase); _1c41.TaskRewardSelectMulti = _1c4n; }, 95886: function(_1c52, _1c53, _1c54) { 'use strict'; var _1c55 = null; var _1c56 = this && this.__spreadArray || function(_1c57, _1c58, _1c59) { var _1c5a = null; if (_1c59 || 2 === arguments.length) { for (var _1c5b, _1c5c = 0, _1c5d = _1c58.length; _1c5c < _1c5d; _1c5c++) !_1c5b && _1c5c in _1c58 || (_1c5b || (_1c5b = Array.prototype.slice.call(_1c58, 0, _1c5c)), _1c5b[_1c5c] = _1c58[_1c5c]); } return _1c57.concat(_1c5b || Array.prototype.slice.call(_1c58)); }; defineModule(_1c53); Object.defineProperty(_1c53, '__esModule', { 'value': !0 }), _1c53.DutyUtil = void 0; var _1c5e, _1c5f = _1c54(62610); ! function(_1c5g) { var _1c5h = null; function _1c5i(_1c5j) { var _1c5k = null; return null != _1c5j && 0 != _1c5j.length ? Math.ceil(_1c5j.length / _1c5f.DUTY_LIST_MAX) : 0; } function _1c5l(_1c5m, _1c5n) { var _1c5o = null; if (0 == _1c5n) return _1c5m; var _1c5p = []; return 1 == _1c5n ? (_1c5p.push(2), _1c5p.push(8), _1c5p.push(9), _1c5p.push(10)) : 2 == _1c5n ? _1c5p.push(3) : 3 == _1c5n ? _1c5p.push(4) : 4 == _1c5n ? (_1c5p.push(6), _1c5p.push(11)) : 5 == _1c5n && (_1c5p.push(1), _1c5p.push(5), _1c5p.push(7)), _1c5q(_1c5m, _1c5p); } function _1c5q(_1c5r, _1c5s) { var _1c5t = null; return null == _1c5r ? null : _1c5r.filter(function(_1c5u, _1c5v, _1c5w) { var _1c5x = null, _1c5y = _1c5u.category; return _1c5s.indexOf(_1c5y) >= 0; }); } _1c5g.getModelListPerPage = function(_1c5z, _1c60) { var _1c61 = null; if (0 == _1c5z.length) return { 'pages': [ [] ], 'total_page': 0 }; var _1c62, _1c63, _1c64 = _1c5l(_1c5z, _1c60); return { 'pages': (_1c62 = _1c64, _1c63 = _1c62.slice(0), _1c63.reduce(function(_1c65, _1c66, _1c67) { var _1c68 = null; return _1c67 % _1c5f.DUTY_LIST_MAX ? _1c65 : _1c56(_1c56([], _1c65, !0), [_1c63.slice(_1c67, _1c67 + _1c5f.DUTY_LIST_MAX)], !1); }, [])), 'total_page': _1c5i(_1c64) }; }, _1c5g.getPage = function(_1c69, _1c6a) { var _1c6b = null; return _1c69 < 1 || null == _1c6a || _1c6a.length < _1c69 ? [] : _1c6a[_1c69 - 1]; }, _1c5g.getTotalPage = _1c5i, _1c5g.filterByCategory = _1c5l, _1c5g.filterList = _1c5q; }(_1c5e || (_1c53.DutyUtil = _1c5e = {})); }, 94860: function(_1c6c, _1c6d, _1c6e) { 'use strict'; var _1c6f = null; var _1c6g, _1c6h = this && this.__extends || (_1c6g = function(_1c6i, _1c6j) { var _1c6k = null; return _1c6g = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1c6l, _1c6m) { var _1c6n = null; _1c6l.__proto__ = _1c6m; } || function(_1c6o, _1c6p) { var _1c6q = null; for (var _1c6r in _1c6p) Object.prototype.hasOwnProperty.call(_1c6p, _1c6r) && (_1c6o[_1c6r] = _1c6p[_1c6r]); }, _1c6g(_1c6i, _1c6j); }, function(_1c6s, _1c6t) { var _1c6u = null; if ('function' != typeof _1c6t && null !== _1c6t) throw new TypeError('Class extends value ' + String(_1c6t) + ' is not a constructor or null'); function _1c6v() { var _1c6w = null; this.constructor = _1c6s; } _1c6g(_1c6s, _1c6t), _1c6s.prototype = null === _1c6t ? Object.create(_1c6t) : (_1c6v.prototype = _1c6t.prototype, new _1c6v()); }); defineModule(_1c6d); Object.defineProperty(_1c6d, '__esModule', { 'value': !0 }), _1c6d.AlertLayer = void 0; var _1c6x = _1c6e(38010), _1c6y = function(_1c6z) { var _1c70 = null; function _1c71() { var _1c72 = null, _1c73 = _1c6z.call(this) || this; return _1c73._dic = {}, _1c73; } return _1c6h(_1c71, _1c6z), _1c71.prototype.showAlert = function(_1c74) { var _1c75 = null, _1c76, _1c77 = _1c74.model.alert, _1c78 = 384, _1c79 = 0; if (1 == _1c77) _1c76 = 1, _1c78 = 444, _1c79 = -7; else { if (2 == _1c77) _1c76 = 2; else { if (3 == _1c77) _1c76 = 3; else { if (4 == _1c77) _1c76 = 4; else { if (5 != _1c77) return; _1c76 = 5; } } } } var _1c7a = new PIXI.Sprite(_1c6x.DUTY_MAIN.getTexture(_1c76)); _1c7a.x = _1c74.x + _1c78, _1c7a.y = _1c74.y + _1c79, this.addChild(_1c7a), this._dic[_1c74.model.id] = _1c7a; }, _1c71.prototype.hideAlert = function(_1c7b) { var _1c7c = null; if (void 0 === _1c7b && (_1c7b = null), null == _1c7b) { for (var _1c7d in this._dic) this._hideAlert(_1c7d); } else { var _1c7e = _1c7b.model.id; this._hideAlert(_1c7e.toString()); } }, _1c71.prototype._hideAlert = function(_1c7f) { var _1c7g = null; if (1 == this._dic.hasOwnProperty(_1c7f)) { var _1c7h = this._dic[_1c7f]; null != _1c7h.parent && (_1c7h.parent.removeChild(_1c7h), delete this._dic[_1c7f]); } }, _1c71; }(PIXI.Container); _1c6d.AlertLayer = _1c6y; }, 27890: function(_1c7i, _1c7j, _1c7k) { 'use strict'; var _1c7l = null; var _1c7m, _1c7n = this && this.__extends || (_1c7m = function(_1c7o, _1c7p) { var _1c7q = null; return _1c7m = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1c7r, _1c7s) { var _1c7t = null; _1c7r.__proto__ = _1c7s; } || function(_1c7u, _1c7v) { var _1c7w = null; for (var _1c7x in _1c7v) Object.prototype.hasOwnProperty.call(_1c7v, _1c7x) && (_1c7u[_1c7x] = _1c7v[_1c7x]); }, _1c7m(_1c7o, _1c7p); }, function(_1c7y, _1c7z) { var _1c80 = null; if ('function' != typeof _1c7z && null !== _1c7z) throw new TypeError('Class extends value ' + String(_1c7z) + ' is not a constructor or null'); function _1c81() { var _1c82 = null; this.constructor = _1c7y; } _1c7m(_1c7y, _1c7z), _1c7y.prototype = null === _1c7z ? Object.create(_1c7z) : (_1c81.prototype = _1c7z.prototype, new _1c81()); }); defineModule(_1c7j); Object.defineProperty(_1c7j, '__esModule', { 'value': !0 }), _1c7j.DutyCategoryFilterTabContainer = void 0; var _1c83 = _1c7k(38010), _1c84 = _1c7k(35380), _1c85 = function(_1c86) { var _1c87 = null; function _1c88(_1c89) { var _1c8a = null, _1c8b = _1c86.call(this) || this; return _1c8b._tabs = [], _1c8b._createTab(1, _1c89), _1c8b._createTab(2, _1c89), _1c8b._createTab(3, _1c89), _1c8b._createTab(4, _1c89), _1c8b._createTab(5, _1c89), _1c8b._selected_filter = 0, _1c8b; } return _1c7n(_1c88, _1c86), Object.defineProperty(_1c88.prototype, 'selected_filter', { 'get': function() { var _1c8c = null; return this._selected_filter; }, 'enumerable': !1, 'configurable': !0 }), _1c88.prototype._createTab = function(_1c8d, _1c8e) { var _1c8f = null, _1c8g = new _1c8h(_1c8d, _1c8e); _1c8g.x = 95 * this._tabs.length, this.addChild(_1c8g), this._tabs.push(_1c8g); }, _1c88.prototype.initialize = function() { var _1c8i = null; for (var _1c8j = 0, _1c8k = this._tabs; _1c8j < _1c8k.length; _1c8j++) { _1c8k[_1c8j].initialize(); } }, _1c88.prototype.activate = function() { var _1c8l = null; for (var _1c8m = 0, _1c8n = this._tabs; _1c8m < _1c8n.length; _1c8m++) { _1c8n[_1c8m].activate(); } }, _1c88.prototype.deactivate = function() { var _1c8o = null; for (var _1c8p = 0, _1c8q = this._tabs; _1c8p < _1c8q.length; _1c8p++) { _1c8q[_1c8p].deactivate(); } }, _1c88.prototype.update = function(_1c8r) { var _1c8s = null; for (var _1c8t = 0, _1c8u = this._tabs; _1c8t < _1c8u.length; _1c8t++) { var _1c8v = _1c8u[_1c8t]; _1c8v.filter == _1c8r ? _1c8v.selected = !_1c8v.selected : _1c8v.selected = !1; } this._selected_filter = _1c8r; }, _1c88.prototype.dispose = function() { var _1c8w = null; for (var _1c8x = 0, _1c8y = this._tabs; _1c8x < _1c8y.length; _1c8x++) { _1c8y[_1c8x].dispose(); } }, _1c88; }(PIXI.Container); _1c7j.DutyCategoryFilterTabContainer = _1c85; var _1c8h = function(_1c8z) { var _1c90 = null; function _1c91(_1c92, _1c93) { var _1c94 = null, _1c95 = _1c8z.call(this) || this; return _1c95._selected = !1, _1c95._onClick = function() { var _1c96 = null; if (null != _1c95._cb_onFilter) { var _1c97 = _1c95._selected ? 0 : _1c95._filter; _1c95._cb_onFilter(_1c97); } }, _1c95._filter = _1c92, _1c95._cb_onFilter = _1c93, _1c95.interactive = !0, _1c95; } return _1c7n(_1c91, _1c8z), Object.defineProperty(_1c91.prototype, 'filter', { 'get': function() { var _1c98 = null; return this._filter; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1c91.prototype, 'selected', { 'get': function() { var _1c99 = null; return this._selected; }, 'set': function(_1c9a) { var _1c9b = null; this._selected != _1c9a && (this._selected = _1c9a, this._update()); }, 'enumerable': !1, 'configurable': !0 }), _1c91.prototype.initialize = function() { var _1c9c = null; this._update(); }, _1c91.prototype.activate = function() { var _1c9d = null; 1 != this._selected && this._activate(); }, _1c91.prototype.deactivate = function() { var _1c9e = null; this._deactivate(); }, _1c91.prototype.dispose = function() { var _1c9f = null; this._deactivate(), this._cb_onFilter = null; }, _1c91.prototype._activate = function() { var _1c9g = null; 1 != this.buttonMode && (this.buttonMode = !0, this.on(_1c84.EventType.CLICK, this._onClick)); }, _1c91.prototype._deactivate = function() { var _1c9h = null; this.buttonMode = !1, this.off(_1c84.EventType.CLICK, this._onClick); }, _1c91.prototype._update = function() { var _1c9i = null; 0 == this._selected ? this.texture = this._getTexture() : this.texture = this._getTextureOn(); }, _1c91.prototype._getTexture = function() { var _1c9j = null, _1c9k; return 1 == this._filter ? _1c9k = 56 : 2 == this._filter ? _1c9k = 58 : 3 == this._filter ? _1c9k = 60 : 4 == this._filter ? _1c9k = 62 : 5 == this._filter && (_1c9k = 64), _1c83.DUTY_MAIN.getTexture(_1c9k); }, _1c91.prototype._getTextureOn = function() { var _1c9l = null, _1c9m; if (1 == this._filter) _1c9m = 57; else { if (2 == this._filter) _1c9m = 59; else { if (3 == this._filter) _1c9m = 61; else { if (4 == this._filter) _1c9m = 63; else { if (5 != this._filter) return PIXI.Texture.EMPTY; _1c9m = 65; } } } } return _1c83.DUTY_MAIN.getTexture(_1c9m); }, _1c91; }(PIXI.Sprite); }, 22339: function(_1c9n, _1c9o, _1c9p) { 'use strict'; var _1c9q = null; var _1c9r, _1c9s = this && this.__extends || (_1c9r = function(_1c9t, _1c9u) { var _1c9v = null; return _1c9r = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1c9w, _1c9x) { var _1c9y = null; _1c9w.__proto__ = _1c9x; } || function(_1c9z, _1ca0) { var _1ca1 = null; for (var _1ca2 in _1ca0) Object.prototype.hasOwnProperty.call(_1ca0, _1ca2) && (_1c9z[_1ca2] = _1ca0[_1ca2]); }, _1c9r(_1c9t, _1c9u); }, function(_1ca3, _1ca4) { var _1ca5 = null; if ('function' != typeof _1ca4 && null !== _1ca4) throw new TypeError('Class extends value ' + String(_1ca4) + ' is not a constructor or null'); function _1ca6() { var _1ca7 = null; this.constructor = _1ca3; } _1c9r(_1ca3, _1ca4), _1ca3.prototype = null === _1ca4 ? Object.create(_1ca4) : (_1ca6.prototype = _1ca4.prototype, new _1ca6()); }); defineModule(_1c9o); Object.defineProperty(_1c9o, '__esModule', { 'value': !0 }), _1c9o.DutyMainView = void 0; var _1ca8 = _1c9p(8744), _1ca9 = _1c9p(57257), _1caa = _1c9p(38010), _1cab = _1c9p(81019), _1cac = _1c9p(81019), _1cad = _1c9p(81019), _1cae = _1c9p(81019), _1caf = _1c9p(81019), _1cag = _1c9p(62610), _1cah = _1c9p(27890), _1cai = _1c9p(95886), _1caj = function(_1cak) { var _1cal = null; function _1cam(_1can, _1cao, _1cap, _1caq) { var _1car = null, _1cas = _1cak.call(this) || this; return _1cas._list = new _1cat(_1cap), _1cas._list.position.set(216, 165), _1cas.addChild(_1cas._list), _1cas._tab = new _1cac.TabContainer(_1can), _1cas._tab.position.set(9, 184), _1cas.addChild(_1cas._tab), _1cas._back_btn = new _1ca9.BackBtn(), _1cas._back_btn.position.set(2, 652), _1cas.addChild(_1cas._back_btn), _1cas._minichara = new _1caf.MiniChara(), _1cas._minichara.position = (0, _1cag.getFairyOffset)(), _1cas.addChild(_1cas._minichara), _1cas._header = new _1cau(), _1cas._header.position.set(0, 105), _1cas.addChild(_1cas._header), _1cas._pager = new _1cad.Pager(_1cao), _1cas._pager.position.set(369, 681), _1cas.addChild(_1cas._pager), _1cas._filter_tab = new _1cah.DutyCategoryFilterTabContainer(_1caq), _1cas._filter_tab.position.set(686, 114), _1cas.addChild(_1cas._filter_tab), _1cas; } return _1c9s(_1cam, _1cak), Object.defineProperty(_1cam.prototype, 'page_now', { 'get': function() { var _1cav = null, _1caw; return null === (_1caw = this._pager) || void 0 === _1caw ? void 0 : _1caw.page_now; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1cam.prototype, 'page_max', { 'get': function() { var _1cax = null, _1cay; return null === (_1cay = this._pager) || void 0 === _1cay ? void 0 : _1cay.page_max; }, 'enumerable': !1, 'configurable': !0 }), _1cam.prototype.initialize = function(_1caz, _1cb0) { var _1cb1 = null; this._list.initialize(), this._tab.initialize(), this._back_btn.initialize(_1cb0), this._minichara.initialize(), this._header.initialize(_1caz), this._pager.initialize(), this._filter_tab.initialize(); }, _1cam.prototype.activate = function() { var _1cb2 = null; this._tab.activate(), this._back_btn.activate(), this._minichara.activate(), this._filter_tab.activate(); }, _1cam.prototype.deactivate = function() { var _1cb3 = null; this._tab.deactivate(), this._back_btn.deactivate(), this._minichara.deactivate(), this._filter_tab.deactivate(); }, _1cam.prototype.update = function(_1cb4, _1cb5, _1cb6) { var _1cb7 = null; void 0 === _1cb5 && (_1cb5 = this._pager.page_now), void 0 === _1cb6 && (_1cb6 = this._filter_tab.selected_filter); var _1cb8 = _1cb5, _1cb9 = _1cai.DutyUtil.getModelListPerPage(_1cb4.models, _1cb6); _1cb8 > _1cb9.total_page && (_1cb8 = _1cb9.total_page), _1cb8 < 1 && (_1cb8 = 1); var _1cba = _1cai.DutyUtil.getPage(_1cb8, _1cb9.pages); this._list.update(_1cba, _1cb4.selected_type), this._tab.update(_1cb4.selected_type), this._pager.update(_1cb8, _1cb9.total_page), _1cb6 != this._filter_tab.selected_filter && this._filter_tab.update(_1cb6); }, _1cam.prototype.dispose = function() { var _1cbb = null; this._list.dispose(), this._tab.dispose(), this._back_btn.dispose(), this._minichara.dispose(), this._header.dispose(), this._pager.dispose(), this._filter_tab.dispose(); }, _1cam; }(PIXI.Container); _1c9o.DutyMainView = _1caj; var _1cat = function(_1cbc) { var _1cbd = null; function _1cbe(_1cbf) { var _1cbg = null, _1cbh = _1cbc.call(this) || this; _1cbh._onMouseOver = function(_1cbi) { var _1cbj = null; 0 != _1cbi.model.alert && _1cbh._alert_later.showAlert(_1cbi); }, _1cbh._onMouseOut = function(_1cbk) { var _1cbl = null; _1cbh._alert_later.hideAlert(_1cbk); }, _1cbh._items = []; for (var _1cbm = 0; _1cbm < _1cag.DUTY_LIST_MAX; _1cbm++) { var _1cbn = new _1cab.ListItem(_1cbf, _1cbh._onMouseOver, _1cbh._onMouseOut); _1cbn.y = 102 * _1cbm, _1cbh.addChild(_1cbn), _1cbh._items.push(_1cbn); } return _1cbh._message = new PIXI.Sprite(), _1cbh._message.position.set(285, 221), _1cbh._message.visible = !1, _1cbh.addChild(_1cbh._message), _1cbh._alert_later = new _1cae.AlertLayer(), _1cbh.addChild(_1cbh._alert_later), _1cbh; } return _1c9s(_1cbe, _1cbc), _1cbe.prototype.initialize = function() { var _1cbo = null; for (var _1cbp = 0, _1cbq = this._items; _1cbp < _1cbq.length; _1cbp++) { _1cbq[_1cbp].initialize(); } }, _1cbe.prototype.update = function(_1cbr, _1cbs) { var _1cbt = null; for (var _1cbu = 0; _1cbu < this._items.length; _1cbu++) { var _1cbv = this._items[_1cbu], _1cbw = _1cbu < _1cbr.length ? _1cbr[_1cbu] : null; _1cbv.update(_1cbw); } _1cbr.length > 0 ? this._message.visible = !1 : (this._message.texture = 9 == _1cbs ? _1caa.DUTY_MAIN.getTexture(71) : _1caa.DUTY_MAIN.getTexture(70), this._message.visible = !0), this._alert_later.hideAlert(); }, _1cbe.prototype.dispose = function() { var _1cbx = null; for (var _1cby = 0, _1cbz = this._items; _1cby < _1cbz.length; _1cby++) { _1cbz[_1cby].dispose(); } }, _1cbe; }(PIXI.Container), _1cau = function(_1cc0) { var _1cc1 = null; function _1cc2() { var _1cc3 = null, _1cc4 = _1cc0.call(this) || this; return _1cc4._gear = new PIXI.Sprite(), _1cc4._gear.position.set(186, 7), _1cc4.addChild(_1cc4._gear), _1cc4._title = new PIXI.Sprite(), _1cc4._title.position.set(222, 6), _1cc4.addChild(_1cc4._title), _1cc4._message1 = new _1ca8.TextBox(13, 16777215), _1cc4._message1.y = 5, _1cc4.addChild(_1cc4._message1), _1cc4._message2 = new _1ca8.TextBox(13, 16777215), _1cc4._message2.y = 21, _1cc4.addChild(_1cc4._message2), _1cc4._message3 = new _1ca8.TextBox(13, 4565413), _1cc4._message3.y = 21, _1cc4.addChild(_1cc4._message3), _1cc4._message4 = new _1ca8.TextBox(13, 16777215), _1cc4._message4.y = 21, _1cc4.addChild(_1cc4._message4), _1cc4; } return _1c9s(_1cc2, _1cc0), _1cc2.prototype.initialize = function(_1cc5) { var _1cc6 = null; this.texture = _1caa.DUTY_MAIN.getTexture(67), this._gear.texture = _1caa.DUTY_MAIN.getTexture(68), this._title.texture = _1caa.DUTY_MAIN.getTexture(69), this._message1.text = '現在発生中の任務一覧です。', this._message2.text = '同時に', this._message3.text = _1cc5.toString(), this._message4.text = '個まで遂行することが可能です。', this._message1.x = 358, this._message2.x = 358, this._message3.x = this._message2.x + this._message2.width, this._message4.x = this._message3.x + this._message3.width; }, _1cc2.prototype.dispose = function() { var _1cc7 = null; this.removeChildren(), this._message1.destroy(), this._message2.destroy(), this._message3.destroy(), this._message4.destroy(); }, _1cc2; }(PIXI.Sprite); }, 71592: function(_1cc8, _1cc9, _1cca) { 'use strict'; var _1ccb = null; var _1ccc, _1ccd = this && this.__extends || (_1ccc = function(_1cce, _1ccf) { var _1ccg = null; return _1ccc = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1cch, _1cci) { var _1ccj = null; _1cch.__proto__ = _1cci; } || function(_1cck, _1ccl) { var _1ccm = null; for (var _1ccn in _1ccl) Object.prototype.hasOwnProperty.call(_1ccl, _1ccn) && (_1cck[_1ccn] = _1ccl[_1ccn]); }, _1ccc(_1cce, _1ccf); }, function(_1cco, _1ccp) { var _1ccq = null; if ('function' != typeof _1ccp && null !== _1ccp) throw new TypeError('Class extends value ' + String(_1ccp) + ' is not a constructor or null'); function _1ccr() { var _1ccs = null; this.constructor = _1cco; } _1ccc(_1cco, _1ccp), _1cco.prototype = null === _1ccp ? Object.create(_1ccp) : (_1ccr.prototype = _1ccp.prototype, new _1ccr()); }); defineModule(_1cc9); Object.defineProperty(_1cc9, '__esModule', { 'value': !0 }), _1cc9.ListItem = void 0; var _1cct = _1cca(8744), _1ccu = _1cca(38010), _1ccv = _1cca(35380), _1ccw = function(_1ccx) { var _1ccy = null; function _1ccz(_1cd0, _1cd1, _1cd2) { var _1cd3 = null, _1cd4 = _1ccx.call(this) || this; return _1cd4._onMouseOver = function() { var _1cd5 = null; null != _1cd4._cb_onMouseOver && null != _1cd4._model && 3 == _1cd4._model.status && _1cd4._cb_onMouseOver(_1cd4); }, _1cd4._onMouseOut = function() { var _1cd6 = null; null != _1cd4._cb_onMouseOut && null != _1cd4._model && 3 == _1cd4._model.status && _1cd4._cb_onMouseOut(_1cd4); }, _1cd4._onClick = function() { var _1cd7 = null; null != _1cd4._cb_onClick && _1cd4._cb_onClick(_1cd4._model); }, _1cd4._cb_onClick = _1cd0, _1cd4._cb_onMouseOver = _1cd1, _1cd4._cb_onMouseOut = _1cd2, _1cd4._icon = new _1cd8(), _1cd4._icon.position.set(9, 7), _1cd4.addChild(_1cd4._icon), _1cd4._title = new _1cct.TextBox(21, 4999235), _1cd4._title.position.set(105, 2), _1cd4.addChild(_1cd4._title), _1cd4._description = new _1cct.TextBox(15, 4999235), _1cd4._description.position.set(105, 27), _1cd4.addChild(_1cd4._description), _1cd4._bonus = new PIXI.Sprite(), _1cd4._bonus.position.set(115, 70), _1cd4.addChild(_1cd4._bonus), _1cd4._mat = new _1cd9(), _1cd4._mat.position.set(234, 66), _1cd4.addChild(_1cd4._mat), _1cd4._progress = new _1cda(), _1cd4._progress.position.set(715, 69), _1cd4.addChild(_1cd4._progress), _1cd4._type = new _1cdb(), _1cd4._type.position.set(70, 54), _1cd4.addChild(_1cd4._type), _1cd4._status = new _1cdc(), _1cd4._status.position.set(849, 0), _1cd4.addChild(_1cd4._status), _1cd4.interactive = !0, _1cd4; } return _1ccd(_1ccz, _1ccx), Object.defineProperty(_1ccz.prototype, 'model', { 'get': function() { var _1cdd = null; return this._model; }, 'enumerable': !1, 'configurable': !0 }), _1ccz.prototype.initialize = function() { var _1cde = null; this.texture = _1ccu.DUTY_MAIN.getTexture(0), this._bonus.texture = _1ccu.DUTY_MAIN.getTexture(15), this._mat.initialize(); }, _1ccz.prototype.update = function(_1cdf) { var _1cdg = null; this._model = _1cdf, null == _1cdf ? (this.visible = !1, this._deactivate()) : (this._icon.update(_1cdf.category), this._title.text = _1cdf.title, this._description.text = _1cdf.description.replace(/
/g, '\x0a'), this._bonus.visible = _1cdf.hasBonus(), this._mat.update(_1cdf.fuel, _1cdf.ammo, _1cdf.steel, _1cdf.baux), this._progress.update(_1cdf.progress), this._type.update(_1cdf.label_type), this._status.update(_1cdf.status), this.visible = !0, this._activate()); }, _1ccz.prototype.dispose = function() { var _1cdh = null; this._model = null, this._deactivate(), this.removeChildren(), this._title.destroy(), this._description.destroy(), this._mat.dispose(), this._status.dispose(), this._cb_onClick = null, this._cb_onMouseOver = null, this._cb_onMouseOut = null; }, _1ccz.prototype._activate = function() { var _1cdi = null; 1 != this.buttonMode && (this.buttonMode = !0, this.on(_1ccv.EventType.MOUSEOVER, this._onMouseOver), this.on(_1ccv.EventType.MOUSEOUT, this._onMouseOut), this.on(_1ccv.EventType.CLICK, this._onClick)); }, _1ccz.prototype._deactivate = function() { var _1cdj = null; this.buttonMode = !1, this.off(_1ccv.EventType.MOUSEOVER, this._onMouseOver), this.off(_1ccv.EventType.MOUSEOUT, this._onMouseOut), this.off(_1ccv.EventType.CLICK, this._onClick); }, _1ccz; }(PIXI.Sprite); _1cc9.ListItem = _1ccw; var _1cd8 = function(_1cdk) { var _1cdl = null; function _1cdm() { var _1cdn = null; return null !== _1cdk && _1cdk.apply(this, arguments) || this; } return _1ccd(_1cdm, _1cdk), _1cdm.prototype.update = function(_1cdo) { var _1cdp = null, _1cdq; if (1 == _1cdo) _1cdq = 51; else { if (2 == _1cdo) _1cdq = 46; else { if (3 == _1cdo) _1cdq = 47; else { if (4 == _1cdo) _1cdq = 48; else { if (5 == _1cdo) _1cdq = 49; else { if (6 == _1cdo) _1cdq = 52; else { if (7 == _1cdo) _1cdq = 50; else { if (8 == _1cdo) _1cdq = 46; else { if (9 == _1cdo) _1cdq = 46; else { if (10 == _1cdo) _1cdq = 46; else { if (11 != _1cdo) return void(this.texture = PIXI.Texture.EMPTY); _1cdq = 52; } } } } } } } } } } this.texture = _1ccu.DUTY_MAIN.getTexture(_1cdq); }, _1cdm; }(PIXI.Sprite), _1cd9 = function(_1cdr) { var _1cds = null; function _1cdt() { var _1cdu = null, _1cdv = _1cdr.call(this) || this; return _1cdv._fuel = new _1cct.TextBox(19, 4999235), _1cdv._fuel.position.set(29, 0), _1cdv._ammo = new _1cct.TextBox(19, 4999235), _1cdv._ammo.position.set(115, 0), _1cdv._steel = new _1cct.TextBox(19, 4999235), _1cdv._steel.position.set(198, 0), _1cdv._baux = new _1cct.TextBox(19, 4999235), _1cdv._baux.position.set(278, 0), _1cdv; } return _1ccd(_1cdt, _1cdr), _1cdt.prototype.initialize = function() { var _1cdw = null, _1cdx = _1ccu.DUTY_MAIN.getTexture(6), _1cdy = new PIXI.Sprite(_1cdx); _1cdy.position.set(0, 1), this.addChild(_1cdy), _1cdx = _1ccu.DUTY_MAIN.getTexture(7), (_1cdy = new PIXI.Sprite(_1cdx)).position.set(82, 3), this.addChild(_1cdy), _1cdx = _1ccu.DUTY_MAIN.getTexture(8), (_1cdy = new PIXI.Sprite(_1cdx)).position.set(165, 1), this.addChild(_1cdy), _1cdx = _1ccu.DUTY_MAIN.getTexture(9), (_1cdy = new PIXI.Sprite(_1cdx)).position.set(247, 1), this.addChild(_1cdy), this.addChild(this._fuel), this.addChild(this._ammo), this.addChild(this._steel), this.addChild(this._baux); }, _1cdt.prototype.update = function(_1cdz, _1ce0, _1ce1, _1ce2) { var _1ce3 = null; this._fuel.text = _1cdz.toString(), this._ammo.text = _1ce0.toString(), this._steel.text = _1ce1.toString(), this._baux.text = _1ce2.toString(); }, _1cdt.prototype.dispose = function() { var _1ce4 = null; this.removeChildren(), this._fuel.destroy(), this._ammo.destroy(), this._steel.destroy(), this._baux.destroy(); }, _1cdt; }(PIXI.Container), _1cda = function(_1ce5) { var _1ce6 = null; function _1ce7() { var _1ce8 = null; return _1ce5.call(this) || this; } return _1ccd(_1ce7, _1ce5), _1ce7.prototype.update = function(_1ce9) { var _1cea = null; 2 == _1ce9 ? (this.texture = _1ccu.DUTY_MAIN.getTexture(11), this.visible = !0) : 1 == _1ce9 ? (this.texture = _1ccu.DUTY_MAIN.getTexture(10), this.visible = !0) : this.visible = !1; }, _1ce7; }(PIXI.Sprite), _1cdb = function(_1ceb) { var _1cec = null; function _1ced() { var _1cee = null, _1cef, _1ceg = null !== _1ceb && _1ceb.apply(this, arguments) || this; return _1ceg._labels = ((_1cef = {})[2] = 14, _1cef[3] = 19, _1cef[6] = 16, _1cef[1] = 17, _1cef[7] = 18, _1cef[101] = 21, _1cef[102] = 20, _1cef[103] = 25, _1cef[104] = 26, _1cef[105] = 27, _1cef[106] = 28, _1cef[107] = 29, _1cef[108] = 30, _1cef[109] = 31, _1cef[110] = 22, _1cef[111] = 23, _1cef[112] = 24, _1cef), _1ceg; } return _1ccd(_1ced, _1ceb), _1ced.prototype.update = function(_1ceh) { var _1cei = null; Object.keys(this._labels).indexOf(_1ceh.toString()) >= 0 ? -1 == this._labels[_1ceh] ? this.texture = PIXI.Texture.EMPTY : this.texture = _1ccu.DUTY_MAIN.getTexture(this._labels[_1ceh]) : this.texture = PIXI.Texture.EMPTY; }, _1ced; }(PIXI.Sprite), _1cdc = function(_1cej) { var _1cek = null; function _1cel() { var _1cem = null, _1cen = _1cej.call(this) || this; return _1cen._over = null, _1cen._img = new PIXI.Sprite(), _1cen._img.position.set(10, 28), _1cen.addChild(_1cen._img), _1cen._over = new PIXI.Sprite(), _1cen._over.position.set(1, 19), _1cen._over.visible = !1, _1cen.addChild(_1cen._over), _1cen; } return _1ccd(_1cel, _1cej), _1cel.prototype.update = function(_1ceo) { var _1cep = null; 3 == _1ceo ? (this._img.texture = _1ccu.DUTY_MAIN.getTexture(12), this._over.texture = _1ccu.DUTY_MAIN.getTexture(13), this._over.visible = !0, this._startAnimation()) : 2 == _1ceo ? (this._img.texture = _1ccu.DUTY_MAIN.getTexture(66), this._over.visible = !1, this._stopAnimation()) : (this._img.texture = PIXI.Texture.EMPTY, this._over.visible = !1, this._stopAnimation()); }, _1cel.prototype.dispose = function() { var _1ceq = null; this._stopAnimation(); }, _1cel.prototype._startAnimation = function() { var _1cer = null; null == this._t && (this._over.alpha = 0, this._t = createjs.Tween.get(this._over, { 'loop': !0 }).to({ 'alpha': 1 }, 1700).to({ 'alpha': 0 }, 1700)); }, _1cel.prototype._stopAnimation = function() { var _1ces = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _1cel; }(PIXI.Container); }, 41394: function(_1cet, _1ceu, _1cev) { 'use strict'; var _1cew = null; var _1cex, _1cey = this && this.__extends || (_1cex = function(_1cez, _1cf0) { var _1cf1 = null; return _1cex = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1cf2, _1cf3) { var _1cf4 = null; _1cf2.__proto__ = _1cf3; } || function(_1cf5, _1cf6) { var _1cf7 = null; for (var _1cf8 in _1cf6) Object.prototype.hasOwnProperty.call(_1cf6, _1cf8) && (_1cf5[_1cf8] = _1cf6[_1cf8]); }, _1cex(_1cez, _1cf0); }, function(_1cf9, _1cfa) { var _1cfb = null; if ('function' != typeof _1cfa && null !== _1cfa) throw new TypeError('Class extends value ' + String(_1cfa) + ' is not a constructor or null'); function _1cfc() { var _1cfd = null; this.constructor = _1cf9; } _1cex(_1cf9, _1cfa), _1cf9.prototype = null === _1cfa ? Object.create(_1cfa) : (_1cfc.prototype = _1cfa.prototype, new _1cfc()); }); defineModule(_1ceu); Object.defineProperty(_1ceu, '__esModule', { 'value': !0 }), _1ceu.MiniChara = void 0; var _1cfe = _1cev(38010), _1cff = _1cev(62610), _1cfg = function(_1cfh) { var _1cfi = null; function _1cfj() { var _1cfk = null, _1cfl = _1cfh.call(this) || this; return _1cfl._star1 = new PIXI.Sprite(), _1cfl._star1.position.set(73, 42), _1cfl._star1.visible = !1, _1cfl.addChild(_1cfl._star1), _1cfl._star2 = new PIXI.Sprite(), _1cfl._star2.position.set(93, 27), _1cfl._star2.visible = !1, _1cfl.addChild(_1cfl._star2), _1cfl; } return _1cey(_1cfj, _1cfh), _1cfj.prototype.initialize = function() { var _1cfm = null; this.texture = PIXI.Sprite.fromFrame(_1cff.FAIRY_KEY_1).texture, this._star1.texture = _1cfe.DUTY_MAIN.getTexture(54), this._star2.texture = _1cfe.DUTY_MAIN.getTexture(53); }, _1cfj.prototype.activate = function() { var _1cfn = null; null == this._t && this._wait(); }, _1cfj.prototype.deactivate = function() { var _1cfo = null; this._stopTween(); }, _1cfj.prototype.dispose = function() { var _1cfp = null; this.deactivate(); }, _1cfj.prototype._wait = function() { var _1cfq = null, _1cfr = this; this._stopTween(), this._t = createjs.Tween.get(null).wait(3000 * Math.random() + 1000).call(function() { var _1cfs = null; _1cfr._wink(); }); }, _1cfj.prototype._wink = function() { var _1cft = null; 0 == Math.floor(4 * Math.random()) ? this._anim() : this._wait(); }, _1cfj.prototype._anim = function() { var _1cfu = null, _1cfv = this; this._stopTween(), this.texture = PIXI.Sprite.fromFrame(_1cff.FAIRY_KEY_2).texture, this._t = createjs.Tween.get(null).wait(150).call(function() { var _1cfw = null; _1cfv.texture = PIXI.Sprite.fromFrame(_1cff.FAIRY_KEY_1).texture; }).wait(150).call(function() { var _1cfx = null; _1cfv.texture = PIXI.Sprite.fromFrame(_1cff.FAIRY_KEY_2).texture; }).wait(150).call(function() { var _1cfy = null; _1cfv._star1.visible = !0, _1cfv.texture = PIXI.Sprite.fromFrame(_1cff.FAIRY_KEY_1).texture; }).wait(100).call(function() { var _1cfz = null; _1cfv._star2.visible = !0; }).wait(600).call(function() { var _1cg0 = null; _1cfv._star1.visible = !1; }).wait(30).call(function() { var _1cg1 = null; _1cfv._star2.visible = !1, _1cfv._wait(); }); }, _1cfj.prototype._stopTween = function() { var _1cg2 = null; null != this._t && (this._t.setPaused(!0), this._t = null, this.texture = PIXI.Sprite.fromFrame(_1cff.FAIRY_KEY_1).texture, this._star1.visible = !1, this._star2.visible = !1); }, _1cfj; }(PIXI.Sprite); _1ceu.MiniChara = _1cfg; }, 21977: function(_1cg3, _1cg4, _1cg5) { 'use strict'; var _1cg6 = null; var _1cg7, _1cg8 = this && this.__extends || (_1cg7 = function(_1cg9, _1cga) { var _1cgb = null; return _1cg7 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1cgc, _1cgd) { var _1cge = null; _1cgc.__proto__ = _1cgd; } || function(_1cgf, _1cgg) { var _1cgh = null; for (var _1cgi in _1cgg) Object.prototype.hasOwnProperty.call(_1cgg, _1cgi) && (_1cgf[_1cgi] = _1cgg[_1cgi]); }, _1cg7(_1cg9, _1cga); }, function(_1cgj, _1cgk) { var _1cgl = null; if ('function' != typeof _1cgk && null !== _1cgk) throw new TypeError('Class extends value ' + String(_1cgk) + ' is not a constructor or null'); function _1cgm() { var _1cgn = null; this.constructor = _1cgj; } _1cg7(_1cgj, _1cgk), _1cgj.prototype = null === _1cgk ? Object.create(_1cgk) : (_1cgm.prototype = _1cgk.prototype, new _1cgm()); }); defineModule(_1cg4); Object.defineProperty(_1cg4, '__esModule', { 'value': !0 }), _1cg4.Pager = void 0; var _1cgo = _1cg5(8744), _1cgp = _1cg5(90054), _1cgq = _1cg5(35380), _1cgr = function(_1cgs) { var _1cgt = null; function _1cgu(_1cgv) { var _1cgw = null, _1cgx = _1cgs.call(this) || this; _1cgx._onFirst = function() { var _1cgy = null; _1cgx._onChange(1); }, _1cgx._onPrev = function() { var _1cgz = null; _1cgx._onChange(_1cgx._page_now - 1); }, _1cgx._onNext = function() { var _1ch0 = null; _1cgx._onChange(_1cgx._page_now + 1); }, _1cgx._onLast = function() { var _1ch1 = null; _1cgx._onChange(_1cgx._page_max); }, _1cgx._onChange = function(_1ch2) { var _1ch3 = null; null != _1cgx._cb_onChangePage && _1cgx._cb_onChangePage(_1ch2); }, _1cgx._cb_onChangePage = _1cgv, _1cgx._pages = []; for (var _1ch4 = 0; _1ch4 < 5; _1ch4++) { var _1ch5 = new _1ch6(_1cgx._onChange); _1ch5.x = 118 + 82 * _1ch4, _1cgx.addChild(_1ch5), _1cgx._pages.push(_1ch5); } return _1cgx._first = new _1ch7(_1cgx._onFirst), _1cgx._first.position.set(0, 2), _1cgx.addChild(_1cgx._first), _1cgx._prev = new _1ch7(_1cgx._onPrev), _1cgx._prev.position.set(57, 2), _1cgx.addChild(_1cgx._prev), _1cgx._next = new _1ch7(_1cgx._onNext), _1cgx._next.position.set(544, 2), _1cgx.addChild(_1cgx._next), _1cgx._last = new _1ch7(_1cgx._onLast), _1cgx._last.position.set(595, 2), _1cgx.addChild(_1cgx._last), _1cgx; } return _1cg8(_1cgu, _1cgs), Object.defineProperty(_1cgu.prototype, 'page_now', { 'get': function() { var _1ch8 = null; return this._page_now; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1cgu.prototype, 'page_max', { 'get': function() { var _1ch9 = null; return this._page_max; }, 'enumerable': !1, 'configurable': !0 }), _1cgu.prototype.initialize = function() { var _1cha = null; for (var _1chb = 0, _1chc = this._pages; _1chb < _1chc.length; _1chb++) { _1chc[_1chb].initialize(); } this._first.initialize(_1cgp.COMMON_MAIN.getTexture(7)), this._prev.initialize(_1cgp.COMMON_MAIN.getTexture(9)), this._next.initialize(_1cgp.COMMON_MAIN.getTexture(8)), this._last.initialize(_1cgp.COMMON_MAIN.getTexture(6)); }, _1cgu.prototype.update = function(_1chd, _1che) { var _1chf = null; if (0 != _1che) { this.visible = !0, this._page_now = _1chd, this._page_max = _1che; var _1chg = Math.min(_1chd - 2, _1che - 4); _1chg = Math.max(_1chg, 1); for (var _1chh = 0; _1chh < 5; _1chh++) { var _1chi = this._pages[_1chh], _1chj = _1chg + _1chh; _1chi.enabled = _1chj <= _1che, _1chi.selected = _1chj == _1chd, _1chi.update(_1chj); } this._first.visible = _1chd > 1, this._prev.visible = this._first.visible, this._last.visible = _1chd < _1che, this._next.visible = this._last.visible; } else this.visible = !1; }, _1cgu.prototype.dispose = function() { var _1chk = null; for (var _1chl = 0, _1chm = this._pages; _1chl < _1chm.length; _1chl++) { _1chm[_1chl].dispose(); } this._first.dispose(), this._prev.dispose(), this._last.dispose(), this._next.dispose(), this._cb_onChangePage = null; }, _1cgu; }(PIXI.Container); _1cg4.Pager = _1cgr; var _1ch6 = function(_1chn) { var _1cho = null; function _1chp(_1chq) { var _1chr = null, _1chs = _1chn.call(this) || this; return _1chs._page_no = 0, _1chs.enabled = !0, _1chs.selected = !1, _1chs._onClick = function() { var _1cht = null; null != _1chs._cb_onClick && _1chs._cb_onClick(_1chs._page_no); }, _1chs._cb_onClick = _1chq, _1chs.interactive = !0, _1chs.hitArea = new PIXI.Rectangle(12, 3, 57, 27), _1chs; } return _1cg8(_1chp, _1chn), _1chp.prototype.initialize = function() { var _1chu = null; this._text = new _1cgo.TextBox(24, 1949120), this.addChild(this._text); }, _1chp.prototype.update = function(_1chv) { var _1chw = null; this._page_no = _1chv, this._text.text = this._page_no.toString(), this._text.x = 42 - Math.floor(this._text.width / 2), 0 == this.enabled ? (this._text.style.fill = 16777215, this.deactivate()) : 1 == this.selected ? (this._text.style.fill = 3642803, this.deactivate()) : (this._text.style.fill = 4999235, this.activate()); }, _1chp.prototype.activate = function() { var _1chx = null; 1 != this.buttonMode && (this.buttonMode = !0, this.on(_1cgq.EventType.CLICK, this._onClick)); }, _1chp.prototype.deactivate = function() { var _1chy = null; this.buttonMode = !1, this.off(_1cgq.EventType.CLICK, this._onClick); }, _1chp.prototype.dispose = function() { var _1chz = null; this.deactivate(), this.removeChildren(), this._text.destroy(), this._cb_onClick = null; }, _1chp; }(PIXI.Container), _1ch7 = function(_1ci0) { var _1ci1 = null; function _1ci2(_1ci3) { var _1ci4 = null, _1ci5 = _1ci0.call(this) || this; return _1ci5._onClick = function() { var _1ci6 = null; null != _1ci5._cb_onClick && _1ci5._cb_onClick(); }, _1ci5._cb_onClick = _1ci3, _1ci5.interactive = !0, _1ci5; } return _1cg8(_1ci2, _1ci0), _1ci2.prototype.initialize = function(_1ci7) { var _1ci8 = null; this.texture = _1ci7, this.buttonMode = !0, this.on(_1cgq.EventType.CLICK, this._onClick); }, _1ci2.prototype.dispose = function() { var _1ci9 = null; this.off(_1cgq.EventType.CLICK, this._onClick), this._cb_onClick = null; }, _1ci2; }(PIXI.Sprite); }, 39642: function(_1cia, _1cib, _1cic) { 'use strict'; var _1cid = null; var _1cie, _1cif = this && this.__extends || (_1cie = function(_1cig, _1cih) { var _1cii = null; return _1cie = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1cij, _1cik) { var _1cil = null; _1cij.__proto__ = _1cik; } || function(_1cim, _1cin) { var _1cio = null; for (var _1cip in _1cin) Object.prototype.hasOwnProperty.call(_1cin, _1cip) && (_1cim[_1cip] = _1cin[_1cip]); }, _1cie(_1cig, _1cih); }, function(_1ciq, _1cir) { var _1cis = null; if ('function' != typeof _1cir && null !== _1cir) throw new TypeError('Class extends value ' + String(_1cir) + ' is not a constructor or null'); function _1cit() { var _1ciu = null; this.constructor = _1ciq; } _1cie(_1ciq, _1cir), _1ciq.prototype = null === _1cir ? Object.create(_1cir) : (_1cit.prototype = _1cir.prototype, new _1cit()); }); defineModule(_1cib); Object.defineProperty(_1cib, '__esModule', { 'value': !0 }), _1cib.TabContainer = void 0; var _1civ = _1cic(38010), _1ciw = _1cic(35380), _1cix = function(_1ciy) { var _1ciz = null; function _1cj0(_1cj1) { var _1cj2 = null, _1cj3 = _1ciy.call(this) || this; return _1cj3._tabs = [], _1cj3._createTab(0, _1cj1), _1cj3._createTab(9, _1cj1), _1cj3._createTab(1, _1cj1), _1cj3._createTab(2, _1cj1), _1cj3._createTab(3, _1cj1), _1cj3._createTab(4, _1cj1), _1cj3._createTab(5, _1cj1), _1cj3; } return _1cif(_1cj0, _1ciy), _1cj0.prototype._createTab = function(_1cj4, _1cj5) { var _1cj6 = null, _1cj7 = new _1cj8(_1cj4, _1cj5); _1cj7.y = 43 * this._tabs.length, this.addChild(_1cj7), this._tabs.push(_1cj7); }, _1cj0.prototype.initialize = function() { var _1cj9 = null; for (var _1cja = 0, _1cjb = this._tabs; _1cja < _1cjb.length; _1cja++) { _1cjb[_1cja].initialize(); } }, _1cj0.prototype.activate = function() { var _1cjc = null; for (var _1cjd = 0, _1cje = this._tabs; _1cjd < _1cje.length; _1cjd++) { _1cje[_1cjd].activate(); } }, _1cj0.prototype.deactivate = function() { var _1cjf = null; for (var _1cjg = 0, _1cjh = this._tabs; _1cjg < _1cjh.length; _1cjg++) { _1cjh[_1cjg].deactivate(); } }, _1cj0.prototype.update = function(_1cji) { var _1cjj = null; for (var _1cjk = 0, _1cjl = this._tabs; _1cjk < _1cjl.length; _1cjk++) { var _1cjm = _1cjl[_1cjk]; _1cjm.selected = _1cjm.type == _1cji; } }, _1cj0.prototype.dispose = function() { var _1cjn = null; for (var _1cjo = 0, _1cjp = this._tabs; _1cjo < _1cjp.length; _1cjo++) { _1cjp[_1cjo].dispose(); } }, _1cj0; }(PIXI.Container); _1cib.TabContainer = _1cix; var _1cj8 = function(_1cjq) { var _1cjr = null; function _1cjs(_1cjt, _1cju) { var _1cjv = null, _1cjw = _1cjq.call(this) || this; return _1cjw._activated = !1, _1cjw._selected = !1, _1cjw._onClick = function() { var _1cjx = null; null != _1cjw._cb_onChange && _1cjw._cb_onChange(_1cjw._type); }, _1cjw._type = _1cjt, _1cjw._cb_onChange = _1cju, _1cjw.interactive = !0, _1cjw; } return _1cif(_1cjs, _1cjq), Object.defineProperty(_1cjs.prototype, 'type', { 'get': function() { var _1cjy = null; return this._type; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1cjs.prototype, 'selected', { 'get': function() { var _1cjz = null; return this._selected; }, 'set': function(_1ck0) { var _1ck1 = null; this._selected != _1ck0 && (this._selected = _1ck0, 1 == this._selected && 1 == this._activated ? this._deactivate() : 0 == this._selected && 1 == this._activated && this._activate(), this._update()); }, 'enumerable': !1, 'configurable': !0 }), _1cjs.prototype.initialize = function() { var _1ck2 = null; this._update(); }, _1cjs.prototype.activate = function() { var _1ck3 = null; this._activated = !0, 1 != this._selected && this._activate(); }, _1cjs.prototype.deactivate = function() { var _1ck4 = null; this._activated = !1, this._deactivate(); }, _1cjs.prototype.dispose = function() { var _1ck5 = null; this._deactivate(), this._cb_onChange = null; }, _1cjs.prototype._activate = function() { var _1ck6 = null; 1 != this.buttonMode && (this.buttonMode = !0, this.on(_1ciw.EventType.CLICK, this._onClick)); }, _1cjs.prototype._deactivate = function() { var _1ck7 = null; this.buttonMode = !1, this.off(_1ciw.EventType.CLICK, this._onClick); }, _1cjs.prototype._update = function() { var _1ck8 = null; 0 == this._selected ? this.texture = this._getTexture() : this.texture = this._getTextureOn(); }, _1cjs.prototype._getTexture = function() { var _1ck9 = null, _1cka; if (0 == this._type) _1cka = 32; else { if (1 == this._type) _1cka = 36; else { if (2 == this._type) _1cka = 38; else { if (3 == this._type) _1cka = 40; else { if (4 == this._type) _1cka = 42; else { if (5 == this._type) _1cka = 44; else { if (9 != this._type) return PIXI.Texture.EMPTY; _1cka = 34; } } } } } } return _1civ.DUTY_MAIN.getTexture(_1cka); }, _1cjs.prototype._getTextureOn = function() { var _1ckb = null, _1ckc; if (0 == this._type) _1ckc = 33; else { if (1 == this._type) _1ckc = 37; else { if (2 == this._type) _1ckc = 39; else { if (3 == this._type) _1ckc = 41; else { if (4 == this._type) _1ckc = 43; else { if (5 == this._type) _1ckc = 45; else { if (9 != this._type) return PIXI.Texture.EMPTY; _1ckc = 35; } } } } } } return _1civ.DUTY_MAIN.getTexture(_1ckc); }, _1cjs; }(PIXI.Sprite); }, 81019: function(_1ckd, _1cke, _1ckf) { 'use strict'; var _1ckg = null; var _1ckh = this && this.__createBinding || (Object.create ? function(_1cki, _1ckj, _1ckk, _1ckl) { var _1ckm = null; void 0 === _1ckl && (_1ckl = _1ckk); var _1ckn = Object.getOwnPropertyDescriptor(_1ckj, _1ckk); _1ckn && !('get' in _1ckn ? !_1ckj.__esModule : _1ckn.writable || _1ckn.configurable) || (_1ckn = { 'enumerable': !0, 'get': function() { return _1ckj[_1ckk]; } }), Object.defineProperty(_1cki, _1ckl, _1ckn); } : function(_1cko, _1ckp, _1ckq, _1ckr) { void 0 === _1ckr && (_1ckr = _1ckq), _1cko[_1ckr] = _1ckp[_1ckq]; }), _1cks = this && this.__exportStar || function(_1ckt, _1cku) { var _1ckv = null; for (var _1ckw in _1ckt) 'default' === _1ckw || Object.prototype.hasOwnProperty.call(_1cku, _1ckw) || _1ckh(_1cku, _1ckt, _1ckw); }; defineModule(_1cke); Object.defineProperty(_1cke, '__esModule', { 'value': !0 }), _1cks(_1ckf(94860), _1cke), _1cks(_1ckf(22339), _1cke), _1cks(_1ckf(41394), _1cke), _1cks(_1ckf(21977), _1cke), _1cks(_1ckf(71592), _1cke), _1cks(_1ckf(39642), _1cke); }, 74853: function(_1ckx, _1cky, _1ckz) { 'use strict'; var _1cl0 = null; var _1cl1, _1cl2 = this && this.__extends || (_1cl1 = function(_1cl3, _1cl4) { var _1cl5 = null; return _1cl1 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1cl6, _1cl7) { var _1cl8 = null; _1cl6.__proto__ = _1cl7; } || function(_1cl9, _1cla) { var _1clb = null; for (var _1clc in _1cla) Object.prototype.hasOwnProperty.call(_1cla, _1clc) && (_1cl9[_1clc] = _1cla[_1clc]); }, _1cl1(_1cl3, _1cl4); }, function(_1cld, _1cle) { var _1clf = null; if ('function' != typeof _1cle && null !== _1cle) throw new TypeError('Class extends value ' + String(_1cle) + ' is not a constructor or null'); function _1clg() { var _1clh = null; this.constructor = _1cld; } _1cl1(_1cld, _1cle), _1cld.prototype = null === _1cle ? Object.create(_1cle) : (_1clg.prototype = _1cle.prototype, new _1clg()); }), _1cli = this && this.__importDefault || function(_1clj) { var _1clk = null; return _1clj && _1clj.__esModule ? _1clj : { 'default': _1clj }; }; defineModule(_1cky); Object.defineProperty(_1cky, '__esModule', { 'value': !0 }), _1cky.RevampScene = void 0; var _1cll = _1ckz(37562), _1clm = _1ckz(56945), _1cln = _1ckz(105), _1clo = _1ckz(74702), _1clp = _1ckz(12071), _1clq = _1ckz(62174), _1clr = _1ckz(46278), _1cls = _1ckz(50265), _1clt = _1cli(_1ckz(18622)), _1clu = _1ckz(79899), _1clv = function(_1clw) { var _1clx = null; function _1cly() { var _1clz = null, _1cm0 = _1clw.call(this) || this; return _1cm0.onOpenSlotList = function(_1cm1) { var _1cm2 = null; new _1clr.TaskSelectSlotitem(_1cm1, _1cm0._data, _1cm0._view).start(); }, _1cm0._onRevampStart = function(_1cm3, _1cm4) { var _1cm5 = null, _1cm6 = new _1clq.TaskRevampStart(_1cm3, _1cm4, _1cm0._view, _1cm0._data); _1clt.default.view.overLayer.addChild(_1cm0._click_guard), _1cm6.start(function() { var _1cm7 = null; new _1cls.TaskRevampCompleted(_1cm3, _1cm0._view, !0).start(function() { var _1cm8 = null; _1clt.default.view.overLayer.removeChild(_1cm0._click_guard); }); }); }, _1cm0._onRevampCancel = function(_1cm9) { var _1cma = null, _1cmb = new _1cls.TaskRevampCompleted(_1cm9, _1cm0._view, !1); _1clt.default.view.overLayer.addChild(_1cm0._click_guard), _1cmb.start(function() { var _1cmc = null; _1clt.default.view.overLayer.removeChild(_1cm0._click_guard); }); }, _1cm0._dispose = function() { var _1cmd = null, _1cme; null != _1cm0._view && (_1cm0._view.dispose(), _1cm0._view = null), _1clt.default.view.overLayer.removeChild(_1cm0._click_guard), null === (_1cme = _1cm0._click_guard) || void 0 === _1cme || _1cme.destroy(), _1cm0._click_guard = null; }, _1cm0._data = new _1clp.RevampModelHolderEdit(), _1cm0._click_guard = new _1clu.AreaBox(0), _1cm0; } return _1cl2(_1cly, _1clw), _1cly.prototype.initialize = function() { var _1cmf = null; this._view = new _1clo.ViewMain(this.onOpenSlotList, this._onRevampStart, this._onRevampCancel), this._view.initialize(this._data.models), this._view.update(), this.addChild(this._view); }, _1cly.prototype.getPreInitializeTask = function(_1cmg) { var _1cmh = null; return new _1clm.PreInitializeTask(this, this._data); }, _1cly.prototype.getInitializeTask = function(_1cmi) { var _1cmj = null; return new _1clm.InitializeTask(); }, _1cly.prototype.getFinalizeTask = function() { var _1cmk = null; return new _1cln.TaskItemSceneFinalize(this._dispose); }, _1cly; }(_1cll.SceneBase); _1cky.RevampScene = _1clv; }, 27598: function(_1cml, _1cmm, _1cmn) { 'use strict'; var _1cmo = null; var _1cmp, _1cmq = this && this.__extends || (_1cmp = function(_1cmr, _1cms) { var _1cmt = null; return _1cmp = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1cmu, _1cmv) { var _1cmw = null; _1cmu.__proto__ = _1cmv; } || function(_1cmx, _1cmy) { var _1cmz = null; for (var _1cn0 in _1cmy) Object.prototype.hasOwnProperty.call(_1cmy, _1cn0) && (_1cmx[_1cn0] = _1cmy[_1cn0]); }, _1cmp(_1cmr, _1cms); }, function(_1cn1, _1cn2) { var _1cn3 = null; if ('function' != typeof _1cn2 && null !== _1cn2) throw new TypeError('Class extends value ' + String(_1cn2) + ' is not a constructor or null'); function _1cn4() { var _1cn5 = null; this.constructor = _1cn1; } _1cmp(_1cn1, _1cn2), _1cn1.prototype = null === _1cn2 ? Object.create(_1cn2) : (_1cn4.prototype = _1cn2.prototype, new _1cn4()); }), _1cn6 = this && this.__importDefault || function(_1cn7) { var _1cn8 = null; return _1cn7 && _1cn7.__esModule ? _1cn7 : { 'default': _1cn7 }; }; defineModule(_1cmm); Object.defineProperty(_1cmm, '__esModule', { 'value': !0 }), _1cmm.RevampRemodelSlotAPI = void 0; var _1cn9 = _1cn6(_1cmn(18622)), _1cna = _1cmn(37562), _1cnb = _1cmn(91812), _1cnc = _1cmn(35660), _1cnd = _1cmn(17103), _1cne = function(_1cnf) { var _1cng = null; function _1cnh(_1cni, _1cnj, _1cnk, _1cnl) { var _1cnm = null, _1cnn = _1cnf.call(this) || this; return _1cnn._url = 'api_req_kousyou/remodel_slot', _1cnn._result = new _1cno(), _1cnn._detail = _1cnl, _1cnn._post_data.api_id = _1cni, _1cnn._post_data.api_slot_id = _1cnj, _1cnn._post_data.api_certain_flag = _1cnk, _1cnn; } return _1cmq(_1cnh, _1cnf), Object.defineProperty(_1cnh.prototype, 'result', { 'get': function() { var _1cnp = null; return this._result; }, 'enumerable': !1, 'configurable': !0 }), _1cnh.prototype._connect = function() { var _1cnq = null; _1cnf.prototype._connect.call(this); }, _1cnh.prototype._completedEnd = function() { var _1cnr = null; if (this._result.update(this._raw_data), 1 == this._result.success) { var _1cns = this._result.target_slotitem_memid; if (_1cn9.default.model.slot.get(_1cns).__updateObject__(this._result.getItemObject()), this._result.changed) { var _1cnt = new _1cnc.APIConnector(); _1cnt.add(new _1cnd.UnsetSlotAPI()), _1cnt.start(); } } for (var _1cnu = 0, _1cnv = this._result.use_slotitem_memids; _1cnu < _1cnv.length; _1cnu++) { var _1cnw = _1cnv[_1cnu]; _1cn9.default.model.slot.delete(_1cnw); } var _1cnx = this._detail.req_useitem_num; if (_1cnx > 0 && 1 == this._result.success) { var _1cny = this._detail.req_useitem_id, _1cnz = _1cn9.default.model.useItem.get(_1cny), _1co0 = _1cnz.count; _1cnz.__setCount__(_1co0 - _1cnx); } var _1co1 = this._detail.req_useitem_num2; if (_1co1 > 0 && 1 == this._result.success) { var _1co2 = this._detail.req_useitem_id2, _1co3 = _1cn9.default.model.useItem.get(_1co2); _1co0 = _1co3.count, _1co3.__setCount__(_1co0 - _1co1); } var _1co4 = this._result.after_materials; this._updateMaterialCount(31, _1co4[0]), this._updateMaterialCount(32, _1co4[1]), this._updateMaterialCount(33, _1co4[2]), this._updateMaterialCount(34, _1co4[3]), this._updateMaterialCount(2, _1co4[4]), this._updateMaterialCount(1, _1co4[5]), this._updateMaterialCount(3, _1co4[6]), this._updateMaterialCount(4, _1co4[7]), _1cnf.prototype._completedEnd.call(this); }, _1cnh.prototype._updateMaterialCount = function(_1co5, _1co6) { var _1co7 = null, _1co8 = _1cn9.default.model.useItem.get(_1co5); null != _1co8 && _1co8.__setCount__(_1co6); }, _1cnh; }(_1cna.APIBase); _1cmm.RevampRemodelSlotAPI = _1cne; var _1cno = function(_1co9) { var _1coa = null; function _1cob() { var _1coc = null; return null !== _1co9 && _1co9.apply(this, arguments) || this; } return _1cmq(_1cob, _1co9), _1cob.prototype.update = function(_1cod) { this._o = _1cod; }, _1cob; }(_1cnb.RevampRemodelSlotModel); }, 55550: function(_1coe, _1cof, _1cog) { 'use strict'; var _1coh = null; var _1coi, _1coj = this && this.__extends || (_1coi = function(_1cok, _1col) { var _1com = null; return _1coi = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1con, _1coo) { var _1cop = null; _1con.__proto__ = _1coo; } || function(_1coq, _1cor) { var _1cos = null; for (var _1cot in _1cor) Object.prototype.hasOwnProperty.call(_1cor, _1cot) && (_1coq[_1cot] = _1cor[_1cot]); }, _1coi(_1cok, _1col); }, function(_1cou, _1cov) { var _1cow = null; if ('function' != typeof _1cov && null !== _1cov) throw new TypeError('Class extends value ' + String(_1cov) + ' is not a constructor or null'); function _1cox() { var _1coy = null; this.constructor = _1cou; } _1coi(_1cou, _1cov), _1cou.prototype = null === _1cov ? Object.create(_1cov) : (_1cox.prototype = _1cov.prototype, new _1cox()); }); defineModule(_1cof); Object.defineProperty(_1cof, '__esModule', { 'value': !0 }), _1cof.RevampSlotlistAPI = void 0; var _1coz = function(_1cp0) { var _1cp1 = null; function _1cp2(_1cp3) { var _1cp4 = null, _1cp5 = _1cp0.call(this) || this; return _1cp5._url = 'api_req_kousyou/remodel_slotlist', _1cp5._holder = _1cp3, _1cp5; } return _1coj(_1cp2, _1cp0), _1cp2.prototype._connect = function() { var _1cp6 = null; _1cp0.prototype._connect.call(this); }, _1cp2.prototype._completedEnd = function() { var _1cp7 = null; for (var _1cp8 = [], _1cp9 = 0; _1cp9 <= 2; _1cp9++) _1cp8.push(this._raw_data[_1cp9]); this._holder.setRemodelSlotList(_1cp8), _1cp0.prototype._completedEnd.call(this); }, _1cp2; }(_1cog(37562).APIBase); _1cof.RevampSlotlistAPI = _1coz; }, 23060: function(_1cpa, _1cpb, _1cpc) { 'use strict'; var _1cpd = null; var _1cpe, _1cpf = this && this.__extends || (_1cpe = function(_1cpg, _1cph) { var _1cpi = null; return _1cpe = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1cpj, _1cpk) { var _1cpl = null; _1cpj.__proto__ = _1cpk; } || function(_1cpm, _1cpn) { var _1cpo = null; for (var _1cpp in _1cpn) Object.prototype.hasOwnProperty.call(_1cpn, _1cpp) && (_1cpm[_1cpp] = _1cpn[_1cpp]); }, _1cpe(_1cpg, _1cph); }, function(_1cpq, _1cpr) { var _1cps = null; if ('function' != typeof _1cpr && null !== _1cpr) throw new TypeError('Class extends value ' + String(_1cpr) + ' is not a constructor or null'); function _1cpt() { var _1cpu = null; this.constructor = _1cpq; } _1cpe(_1cpq, _1cpr), _1cpq.prototype = null === _1cpr ? Object.create(_1cpr) : (_1cpt.prototype = _1cpr.prototype, new _1cpt()); }); defineModule(_1cpb); Object.defineProperty(_1cpb, '__esModule', { 'value': !0 }), _1cpb.RevampSlotListDetailAPI = void 0; var _1cpv = function(_1cpw) { var _1cpx = null; function _1cpy(_1cpz, _1cq0, _1cq1) { var _1cq2 = null, _1cq3 = _1cpw.call(this) || this; return _1cq3._url = 'api_req_kousyou/remodel_slotlist_detail', _1cq3._id = _1cpz, _1cq3._slot_id = _1cq0, _1cq3._data = _1cq1, _1cq3._post_data.api_id = _1cq3._id, _1cq3._post_data.api_slot_id = _1cq3._slot_id, _1cq3; } return _1cpf(_1cpy, _1cpw), _1cpy.prototype._connect = function() { var _1cq4 = null; _1cpw.prototype._connect.call(this); }, _1cpy.prototype._completedEnd = function() { var _1cq5 = null; this._data.setDetail(this._raw_data), _1cpw.prototype._completedEnd.call(this); }, _1cpy; }(_1cpc(37562).APIBase); _1cpb.RevampSlotListDetailAPI = _1cpv; }, 38406: function(_1cq6, _1cq7, _1cq8) { 'use strict'; var _1cq9 = null; var _1cqa = this && this.__createBinding || (Object.create ? function(_1cqb, _1cqc, _1cqd, _1cqe) { var _1cqf = null; void 0 === _1cqe && (_1cqe = _1cqd); var _1cqg = Object.getOwnPropertyDescriptor(_1cqc, _1cqd); _1cqg && !('get' in _1cqg ? !_1cqc.__esModule : _1cqg.writable || _1cqg.configurable) || (_1cqg = { 'enumerable': !0, 'get': function() { return _1cqc[_1cqd]; } }), Object.defineProperty(_1cqb, _1cqe, _1cqg); } : function(_1cqh, _1cqi, _1cqj, _1cqk) { void 0 === _1cqk && (_1cqk = _1cqj), _1cqh[_1cqk] = _1cqi[_1cqj]; }), _1cql = this && this.__exportStar || function(_1cqm, _1cqn) { var _1cqo = null; for (var _1cqp in _1cqm) 'default' === _1cqp || Object.prototype.hasOwnProperty.call(_1cqn, _1cqp) || _1cqa(_1cqn, _1cqm, _1cqp); }; defineModule(_1cq7); Object.defineProperty(_1cq7, '__esModule', { 'value': !0 }), _1cql(_1cq8(64052), _1cq7); }, 12013: (_1cqq, _1cqr, _1cqs) => { 'use strict'; var _1cqt = null; defineModule(_1cqr); Object.defineProperty(_1cqr, '__esModule', { 'value': !0 }), _1cqr.RemodelSlotListDetailModel = void 0; var _1cqu = _1cqs(14921), _1cqv = (function() { var _1cqw = null; function _1cqx(_1cqy) { this._o = _1cqy; } return Object.defineProperty(_1cqx.prototype, 'req_slot_id', { 'get': function() { var _1cqz = null; return _1cqu.ObjUtil.getNumber(this._o, 'api_req_slot_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1cqx.prototype, 'req_slot_num', { 'get': function() { var _1cr0 = null; return _1cqu.ObjUtil.getNumber(this._o, 'api_req_slot_num'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1cqx.prototype, 'req_buildkit', { 'get': function() { var _1cr1 = null; return _1cqu.ObjUtil.getNumber(this._o, 'api_req_buildkit'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1cqx.prototype, 'req_remodelkit', { 'get': function() { var _1cr2 = null; return _1cqu.ObjUtil.getNumber(this._o, 'api_req_remodelkit'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1cqx.prototype, 'certain_buildkit', { 'get': function() { var _1cr3 = null; return _1cqu.ObjUtil.getNumber(this._o, 'api_certain_buildkit'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1cqx.prototype, 'certain_remodelkit', { 'get': function() { var _1cr4 = null; return _1cqu.ObjUtil.getNumber(this._o, 'api_certain_remodelkit'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1cqx.prototype, 'req_useitem_id', { 'get': function() { var _1cr5 = null; return _1cqu.ObjUtil.getNumber(this._o, 'api_req_useitem_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1cqx.prototype, 'req_useitem_num', { 'get': function() { var _1cr6 = null; return _1cqu.ObjUtil.getNumber(this._o, 'api_req_useitem_num'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1cqx.prototype, 'req_useitem_id2', { 'get': function() { var _1cr7 = null; return _1cqu.ObjUtil.getNumber(this._o, 'api_req_useitem_id2'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1cqx.prototype, 'req_useitem_num2', { 'get': function() { var _1cr8 = null; return _1cqu.ObjUtil.getNumber(this._o, 'api_req_useitem_num2'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1cqx.prototype, 'change_flag', { 'get': function() { var _1cr9 = null; return _1cqu.ObjUtil.getNumber(this._o, 'api_change_flag'); }, 'enumerable': !1, 'configurable': !0 }), _1cqx; }()); _1cqr.RemodelSlotListDetailModel = _1cqv; }, 92040: (_1cra, _1crb, _1crc) => { 'use strict'; var _1crd = null; defineModule(_1crb); Object.defineProperty(_1crb, '__esModule', { 'value': !0 }), _1crb.RemodelSlotListModel = void 0; var _1cre = _1crc(14921), _1crf = (function() { var _1crg = null; function _1crh(_1cri) { this._o = _1cri; } return Object.defineProperty(_1crh.prototype, 'id', { 'get': function() { var _1crj = null; return _1cre.ObjUtil.getNumber(this._o, 'api_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1crh.prototype, 'slot_id', { 'get': function() { var _1crk = null; return _1cre.ObjUtil.getNumber(this._o, 'api_slot_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1crh.prototype, 'sp_type', { 'get': function() { var _1crl = null; return _1cre.ObjUtil.getNumber(this._o, 'api_sp_type'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1crh.prototype, 'req_fuel', { 'get': function() { var _1crm = null; return _1cre.ObjUtil.getNumber(this._o, 'api_req_fuel'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1crh.prototype, 'req_bull', { 'get': function() { var _1crn = null; return _1cre.ObjUtil.getNumber(this._o, 'api_req_bull'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1crh.prototype, 'req_steel', { 'get': function() { var _1cro = null; return _1cre.ObjUtil.getNumber(this._o, 'api_req_steel'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1crh.prototype, 'req_bauxite', { 'get': function() { var _1crp = null; return _1cre.ObjUtil.getNumber(this._o, 'api_req_bauxite'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1crh.prototype, 'req_buildkit', { 'get': function() { var _1crq = null; return _1cre.ObjUtil.getNumber(this._o, 'api_req_buildkit'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1crh.prototype, 'req_remodelkit', { 'get': function() { var _1crr = null; return _1cre.ObjUtil.getNumber(this._o, 'api_req_remodelkit'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1crh.prototype, 'req_slot_id', { 'get': function() { var _1crs = null; return _1cre.ObjUtil.getNumber(this._o, 'api_req_slot_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1crh.prototype, 'req_slot_num', { 'get': function() { var _1crt = null; return _1cre.ObjUtil.getNumber(this._o, 'api_req_slot_num'); }, 'enumerable': !1, 'configurable': !0 }), _1crh; }()); _1crb.RemodelSlotListModel = _1crf; }, 42357: function(_1cru, _1crv, _1crw) { 'use strict'; var _1crx = null; var _1cry, _1crz = this && this.__extends || (_1cry = function(_1cs0, _1cs1) { var _1cs2 = null; return _1cry = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1cs3, _1cs4) { var _1cs5 = null; _1cs3.__proto__ = _1cs4; } || function(_1cs6, _1cs7) { var _1cs8 = null; for (var _1cs9 in _1cs7) Object.prototype.hasOwnProperty.call(_1cs7, _1cs9) && (_1cs6[_1cs9] = _1cs7[_1cs9]); }, _1cry(_1cs0, _1cs1); }, function(_1csa, _1csb) { var _1csc = null; if ('function' != typeof _1csb && null !== _1csb) throw new TypeError('Class extends value ' + String(_1csb) + ' is not a constructor or null'); function _1csd() { var _1cse = null; this.constructor = _1csa; } _1cry(_1csa, _1csb), _1csa.prototype = null === _1csb ? Object.create(_1csb) : (_1csd.prototype = _1csb.prototype, new _1csd()); }); defineModule(_1crv); Object.defineProperty(_1crv, '__esModule', { 'value': !0 }), _1crv.RevampModelHolderEdit = _1crv.RevampModelHolder = void 0; var _1csf = _1crw(12013), _1csg = _1crw(92040), _1csh = (function() { var _1csi = null; function _1csj() { var _1csk = null; this._models = [], this._detail = null; } return Object.defineProperty(_1csj.prototype, 'models', { 'get': function() { var _1csl = null; return this._models; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1csj.prototype, 'detail', { 'get': function() { var _1csm = null; return this._detail; }, 'enumerable': !1, 'configurable': !0 }), _1csj; }()); _1crv.RevampModelHolder = _1csh; var _1csn = function(_1cso) { var _1csp = null; function _1csq() { var _1csr = null; return _1cso.call(this) || this; } return _1crz(_1csq, _1cso), _1csq.prototype.setRemodelSlotList = function(_1css) { var _1cst = null; if (null != _1css) for (var _1csu = 0, _1csv = _1css; _1csu < _1csv.length; _1csu++) { var _1csw = _1csv[_1csu], _1csx = new _1csg.RemodelSlotListModel(_1csw); this._models.push(_1csx); } }, _1csq.prototype.setDetail = function(_1csy) { var _1csz = null; null != _1csy && (this._detail = new _1csf.RemodelSlotListDetailModel(_1csy)); }, _1csq; }(_1csh); _1crv.RevampModelHolderEdit = _1csn; }, 91812: (_1ct0, _1ct1, _1ct2) => { 'use strict'; var _1ct3 = null; defineModule(_1ct1); Object.defineProperty(_1ct1, '__esModule', { 'value': !0 }), _1ct1.RevampRemodelSlotModel = void 0; var _1ct4 = _1ct2(14921), _1ct5 = (function() { var _1ct6 = null; function _1ct7() { this._o = {}; } return Object.defineProperty(_1ct7.prototype, 'remodel_id', { 'get': function() { var _1ct8 = null; return _1ct4.ObjUtil.getNumArray(this._o, 'api_remodel_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ct7.prototype, 'voice_ship_id', { 'get': function() { var _1ct9 = null; return _1ct4.ObjUtil.getNumber(this._o, 'api_voice_ship_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ct7.prototype, 'voice_id', { 'get': function() { var _1cta = null; return _1ct4.ObjUtil.getNumber(this._o, 'api_voice_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ct7.prototype, 'after_materials', { 'get': function() { var _1ctb = null, _1ctc = _1ct4.ObjUtil.getNumArray(this._o, 'api_after_material'); for (null == _1ctc && (_1ctc = []); _1ctc.length < 8;) _1ctc.push(0); return _1ctc; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ct7.prototype, 'target_slotitem_memid', { 'get': function() { var _1ctd = null, _1cte = this.getItemObject(); return _1ct4.ObjUtil.getNumber(_1cte, 'api_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ct7.prototype, 'use_slotitem_memids', { 'get': function() { var _1ctf = null, _1ctg = _1ct4.ObjUtil.getNumArray(this._o, 'api_use_slot_id'); return null == _1ctg ? [] : _1ctg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ct7.prototype, 'success', { 'get': function() { var _1cth = null; return 1 == _1ct4.ObjUtil.getNumber(this._o, 'api_remodel_flag'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ct7.prototype, 'changed', { 'get': function() { var _1cti = null, _1ctj = _1ct4.ObjUtil.getNumArray(this._o, 'api_remodel_id'); return _1ctj[0] != _1ctj[1]; }, 'enumerable': !1, 'configurable': !0 }), _1ct7.prototype.getItemObject = function() { var _1ctk = null; return _1ct4.ObjUtil.getObject(this._o, 'api_after_slot'); }, _1ct7; }()); _1ct1.RevampRemodelSlotModel = _1ct5; }, 12071: function(_1ctl, _1ctm, _1ctn) { 'use strict'; var _1cto = null; var _1ctp = this && this.__createBinding || (Object.create ? function(_1ctq, _1ctr, _1cts, _1ctt) { var _1ctu = null; void 0 === _1ctt && (_1ctt = _1cts); var _1ctv = Object.getOwnPropertyDescriptor(_1ctr, _1cts); _1ctv && !('get' in _1ctv ? !_1ctr.__esModule : _1ctv.writable || _1ctv.configurable) || (_1ctv = { 'enumerable': !0, 'get': function() { return _1ctr[_1cts]; } }), Object.defineProperty(_1ctq, _1ctt, _1ctv); } : function(_1ctw, _1ctx, _1cty, _1ctz) { void 0 === _1ctz && (_1ctz = _1cty), _1ctw[_1ctz] = _1ctx[_1cty]; }), _1cu0 = this && this.__exportStar || function(_1cu1, _1cu2) { var _1cu3 = null; for (var _1cu4 in _1cu1) 'default' === _1cu4 || Object.prototype.hasOwnProperty.call(_1cu2, _1cu4) || _1ctp(_1cu2, _1cu1, _1cu4); }; defineModule(_1ctm); Object.defineProperty(_1ctm, '__esModule', { 'value': !0 }), _1cu0(_1ctn(92040), _1ctm), _1cu0(_1ctn(12013), _1ctm), _1cu0(_1ctn(91812), _1ctm), _1cu0(_1ctn(42357), _1ctm); }, 105: function(_1cu5, _1cu6, _1cu7) { 'use strict'; var _1cu8 = null; var _1cu9, _1cua = this && this.__extends || (_1cu9 = function(_1cub, _1cuc) { var _1cud = null; return _1cu9 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1cue, _1cuf) { var _1cug = null; _1cue.__proto__ = _1cuf; } || function(_1cuh, _1cui) { var _1cuj = null; for (var _1cuk in _1cui) Object.prototype.hasOwnProperty.call(_1cui, _1cuk) && (_1cuh[_1cuk] = _1cui[_1cuk]); }, _1cu9(_1cub, _1cuc); }, function(_1cul, _1cum) { var _1cun = null; if ('function' != typeof _1cum && null !== _1cum) throw new TypeError('Class extends value ' + String(_1cum) + ' is not a constructor or null'); function _1cuo() { var _1cup = null; this.constructor = _1cul; } _1cu9(_1cul, _1cum), _1cul.prototype = null === _1cum ? Object.create(_1cum) : (_1cuo.prototype = _1cum.prototype, new _1cuo()); }); defineModule(_1cu6); Object.defineProperty(_1cu6, '__esModule', { 'value': !0 }), _1cu6.TaskItemSceneFinalize = void 0; var _1cuq = _1cu7(37562), _1cur = _1cu7(13748), _1cus = function(_1cut) { var _1cuu = null; function _1cuv(_1cuw) { var _1cux = null, _1cuy = _1cut.call(this) || this; return _1cuy._scene_dispose_delegate = _1cuw, _1cuy; } return _1cua(_1cuv, _1cut), _1cuv.prototype._start = function() { var _1cuz = null; null != this._scene_dispose_delegate && this._scene_dispose_delegate(), _1cur.UIImageLoader.clearMemoryCache('revamp'), this._endTask(); }, _1cuv; }(_1cuq.TaskBase); _1cu6.TaskItemSceneFinalize = _1cus; }, 56945: function(_1cv0, _1cv1, _1cv2) { 'use strict'; var _1cv3 = null; var _1cv4, _1cv5 = this && this.__extends || (_1cv4 = function(_1cv6, _1cv7) { var _1cv8 = null; return _1cv4 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1cv9, _1cva) { var _1cvb = null; _1cv9.__proto__ = _1cva; } || function(_1cvc, _1cvd) { var _1cve = null; for (var _1cvf in _1cvd) Object.prototype.hasOwnProperty.call(_1cvd, _1cvf) && (_1cvc[_1cvf] = _1cvd[_1cvf]); }, _1cv4(_1cv6, _1cv7); }, function(_1cvg, _1cvh) { var _1cvi = null; if ('function' != typeof _1cvh && null !== _1cvh) throw new TypeError('Class extends value ' + String(_1cvh) + ' is not a constructor or null'); function _1cvj() { var _1cvk = null; this.constructor = _1cvg; } _1cv4(_1cvg, _1cvh), _1cvg.prototype = null === _1cvh ? Object.create(_1cvh) : (_1cvj.prototype = _1cvh.prototype, new _1cvj()); }), _1cvl = this && this.__importDefault || function(_1cvm) { var _1cvn = null; return _1cvm && _1cvm.__esModule ? _1cvm : { 'default': _1cvm }; }; defineModule(_1cv1); Object.defineProperty(_1cv1, '__esModule', { 'value': !0 }), _1cv1.InitializeTask = _1cv1.PreInitializeTask = void 0; var _1cvo = _1cvl(_1cv2(18622)), _1cvp = _1cv2(81755), _1cvq = _1cv2(37361), _1cvr = _1cv2(55550), _1cvs = function(_1cvt) { var _1cvu = null; function _1cvv(_1cvw, _1cvx) { var _1cvy = null, _1cvz = _1cvt.call(this) || this; return _1cvz._scene = _1cvw, _1cvz._model = _1cvx, _1cvz; } return _1cv5(_1cvv, _1cvt), _1cvv.prototype._start = function() { var _1cw0 = null; this._loadResources(); }, _1cvv.prototype._loadResources = function() { var _1cw1 = null, _1cw2 = this; new _1cvq.TaskLoadResources().start(function() { var _1cw3 = null; _1cw2._loadAPI(); }); }, _1cvv.prototype._loadAPI = function() { var _1cw4 = null, _1cw5 = this; new _1cvr.RevampSlotlistAPI(this._model).start(function() { var _1cw6 = null; _1cw5._showTopView(); }); }, _1cvv.prototype._showTopView = function() { var _1cw7 = null; this._scene.initialize(), this._endTask(); }, _1cvv; }(_1cvp.TaskBase); _1cv1.PreInitializeTask = _1cvs; var _1cw8 = function(_1cw9) { var _1cwa = null; function _1cwb() { var _1cwc = null; return _1cw9.call(this) || this; } return _1cv5(_1cwb, _1cw9), _1cwb.prototype._start = function() { var _1cwd = null; this._playBGM(); }, _1cwb.prototype._playBGM = function() { var _1cwe = null, _1cwf = this._getBGMID(); _1cvo.default.sound.bgm.play(_1cwf), this._startScene(); }, _1cwb.prototype._startScene = function() { var _1cwg = null; this._endTask(); }, _1cwb.prototype._getBGMID = function() { var _1cwh = null, _1cwi = _1cvo.default.model.deck.get(1).getShipModel(1); return null == _1cwi || 466 != _1cwi.mstID && 467 != _1cwi.mstID || 0 == _1cvo.default.model.useItem.get(71).count ? 206 : 126; }, _1cwb; }(_1cvp.TaskBase); _1cv1.InitializeTask = _1cw8; }, 53456: function(_1cwj, _1cwk, _1cwl) { 'use strict'; var _1cwm = null; var _1cwn, _1cwo = this && this.__extends || (_1cwn = function(_1cwp, _1cwq) { var _1cwr = null; return _1cwn = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1cws, _1cwt) { var _1cwu = null; _1cws.__proto__ = _1cwt; } || function(_1cwv, _1cww) { var _1cwx = null; for (var _1cwy in _1cww) Object.prototype.hasOwnProperty.call(_1cww, _1cwy) && (_1cwv[_1cwy] = _1cww[_1cwy]); }, _1cwn(_1cwp, _1cwq); }, function(_1cwz, _1cx0) { var _1cx1 = null; if ('function' != typeof _1cx0 && null !== _1cx0) throw new TypeError('Class extends value ' + String(_1cx0) + ' is not a constructor or null'); function _1cx2() { var _1cx3 = null; this.constructor = _1cwz; } _1cwn(_1cwz, _1cx0), _1cwz.prototype = null === _1cx0 ? Object.create(_1cx0) : (_1cx2.prototype = _1cx0.prototype, new _1cx2()); }), _1cx4 = this && this.__importDefault || function(_1cx5) { var _1cx6 = null; return _1cx5 && _1cx5.__esModule ? _1cx5 : { 'default': _1cx5 }; }; defineModule(_1cwk); Object.defineProperty(_1cwk, '__esModule', { 'value': !0 }), _1cwk.TaskChangeSlotitem = void 0; var _1cx7 = _1cx4(_1cwl(18622)), _1cx8 = _1cwl(70723), _1cx9 = _1cwl(37760), _1cxa = _1cwl(81755), _1cxb = _1cwl(74702), _1cxc = _1cwl(79899), _1cxd = _1cwl(61057), _1cxe = _1cwl(5527), _1cxf = _1cwl(85492), _1cxg = _1cwl(35380), _1cxh = function(_1cxi) { var _1cxj = null; function _1cxk(_1cxl) { var _1cxm = null, _1cxn = _1cxi.call(this) || this; return _1cxn.showButton = function() { var _1cxo = null; _1cxn._layer.goBackActivate(), _1cxn._white_fg.once(_1cxg.EventType.CLICK, _1cxn._onClick_complete); }, _1cxn._onClick_complete = function() { var _1cxp = null; createjs.Tween.get(_1cxn._layer).to({ 'alpha': 0 }, 500).call(function() { var _1cxq = null; _1cxn._shooting_star.stop(), _1cxn._endTask(); }); }, _1cxn._model = _1cxl, _1cxn._layer = new _1cxb.ChangeSlotitemLayer(), _1cxn._white_fg = new _1cxc.AreaBox(1, 16777215), _1cxn._white_fg.interactive = !0, _1cxn._white_fg.buttonMode = !1, _1cxn._shooting_star = new _1cxd.ShootingStarLayer(0), _1cxn; } return _1cwo(_1cxk, _1cxi), _1cxk.prototype._start = function() { var _1cxr = null; this._preload(); }, _1cxk.prototype._preload = function() { var _1cxs = null, _1cxt = this, _1cxu = this._model.remodel_id[0], _1cxv = this._model.remodel_id[1], _1cxw = _1cx7.default.model.slot.getMst(_1cxv).rarity; this._layer.bg.initiailzeForSlotitem(_1cxw, function() { var _1cxx = null, _1cxy = new _1cx9.SlotLoader(); _1cxy.add(_1cxu, 'card'), _1cxy.add(_1cxv, 'card'), _1cxy.load(function() { var _1cxz = null; _1cxt._layer.alpha = 0, _1cxt._white_fg.alpha = 0, _1cxt._layer.initialize(_1cxu, _1cxv), _1cx7.default.view.overLayer.addChild(_1cxt._layer), _1cx7.default.view.overLayer.addChild(_1cxt._white_fg), _1cx7.default.view.overLayer.addChild(_1cxt._shooting_star), _1cxt._scene0(); }); }); }, _1cxk.prototype._scene0 = function() { var _1cy0 = null, _1cy1 = this; createjs.Tween.get(this._white_fg).wait(200).call(function() { var _1cy2 = null; createjs.Tween.get(null).wait(200).call(function() { var _1cy3 = null; _1cy1._shooting_star.start(); }); }).to({ 'alpha': 1 }, 1000).call(function() { var _1cy4 = null; _1cy1._scene1(); }); }, _1cxk.prototype._scene1 = function() { var _1cy5 = null, _1cy6 = this; this._layer.alpha = 1, createjs.Tween.get(this._white_fg).wait(100).to({ 'alpha': 0.75 }, 250).call(function() { var _1cy7 = null; _1cy6._scene2(); }); }, _1cxk.prototype._scene2 = function() { var _1cy8 = null, _1cy9 = this, _1cya = new _1cxf.TweenTask().addTween(createjs.Tween.get(this._white_fg).to({ 'alpha': 0 }, 750)), _1cyb = new _1cxf.TweenTask().addTween(createjs.Tween.get(this._layer.before_item_card).to({ 'y': 243 }, 1000).wait(1000).to({ 'x': 408, 'width': 351, 'height': 351 }, 1000, createjs.Ease.sineOut).call(function() { var _1cyc = null; _1cy9._layer.before_item_card.texture = _1cy9._layer.after_item_card_texture; }).to({ 'x': 792 }, 0).to({ 'x': 600, 'width': 390, 'height': 390 }, 1000, createjs.Ease.sineIn)), _1cyd = new _1cxf.TweenTask().addTween(createjs.Tween.get(this._layer.after_item_card).wait(1000).wait(1000).to({ 'x': 792, 'width': 351, 'height': 351, 'alpha': 1 }, 1000, createjs.Ease.sineOut).call(function() { var _1cye = null; _1cy9._layer.after_item_card.texture = _1cy9._layer.before_item_card_texture; }).to({ 'x': 408 }, 0).to({ 'x': 600, 'width': 234, 'height': 234, 'alpha': 0 }, 1000, createjs.Ease.sineIn)), _1cyf = new _1cxf.TweenTask().addTween(createjs.Tween.get(this._layer.message_bg).wait(500).to({ 'y': 480 }, 500)), _1cyg = new _1cxf.TweenTask().addTween(createjs.Tween.get(this._layer.message_container).wait(1000).to({ 'alpha': 1 }, 250).wait(2500).to({ 'alpha': 0 }, 250)); new _1cxe.ParallelTask(_1cya, _1cyb, _1cyd, _1cyf, _1cyg).start(function() { var _1cyh = null; return _1cy9._scene3(); }); }, _1cxk.prototype._scene3 = function() { var _1cyi = null, _1cyj = this; createjs.Tween.get(this._layer.message_container).call(function() { var _1cyk = null, _1cyl = _1cx7.default.model.slot.get(_1cyj._model.target_slotitem_memid); _1cyj._layer.updateRevampMessage(_1cyl), _1cyj._layer.ringPartingle.initialize(), (null == _1cyl ? void 0 : _1cyl.level) > 0 && (_1cyj._layer.levelStar.scale.set(2, 2), _1cyj._layer.levelStar.alpha = 1, createjs.Tween.get(_1cyj._layer.levelStar).to({ 'scaleX': 1, 'scaleY': 1 }, 150, createjs.Ease.sineIn)); }).to({ 'alpha': 1 }, 250).wait(1000).call(function() { var _1cym = null; _1cx7.default.sound.voice.play('9999', 308), _1cx8.SE.play('210'); }).wait(5000).call(function() { var _1cyn = null; _1cyj.showButton(); }); }, _1cxk.prototype._endTask = function() { var _1cyo = null; _1cx7.default.view.overLayer.removeChild(this._layer), _1cx7.default.view.overLayer.removeChild(this._white_fg), _1cx7.default.view.overLayer.removeChild(this._shooting_star), this._layer.dispose(), this._layer = null, this._white_fg.destroy(), this._white_fg = null, this._shooting_star.dispose(), this._shooting_star = null, _1cxi.prototype._endTask.call(this); }, _1cxk; }(_1cxa.TaskBase); _1cwk.TaskChangeSlotitem = _1cxh; }, 37361: function(_1cyp, _1cyq, _1cyr) { 'use strict'; var _1cys = null; var _1cyt, _1cyu = this && this.__extends || (_1cyt = function(_1cyv, _1cyw) { var _1cyx = null; return _1cyt = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1cyy, _1cyz) { var _1cz0 = null; _1cyy.__proto__ = _1cyz; } || function(_1cz1, _1cz2) { var _1cz3 = null; for (var _1cz4 in _1cz2) Object.prototype.hasOwnProperty.call(_1cz2, _1cz4) && (_1cz1[_1cz4] = _1cz2[_1cz4]); }, _1cyt(_1cyv, _1cyw); }, function(_1cz5, _1cz6) { var _1cz7 = null; if ('function' != typeof _1cz6 && null !== _1cz6) throw new TypeError('Class extends value ' + String(_1cz6) + ' is not a constructor or null'); function _1cz8() { var _1cz9 = null; this.constructor = _1cz5; } _1cyt(_1cz5, _1cz6), _1cz5.prototype = null === _1cz6 ? Object.create(_1cz6) : (_1cz8.prototype = _1cz6.prototype, new _1cz8()); }); defineModule(_1cyq); Object.defineProperty(_1cyq, '__esModule', { 'value': !0 }), _1cyq.TaskLoadResources = void 0; var _1cza = _1cyr(81755), _1czb = _1cyr(13748), _1czc = function(_1czd) { var _1cze = null; function _1czf() { var _1czg = null; return _1czd.call(this) || this; } return _1cyu(_1czf, _1czd), _1czf.prototype._start = function() { var _1czh = null; this._load(); }, _1czf.prototype._load = function() { var _1czi = null, _1czj = this, _1czk = new _1czb.UIImageLoader('revamp'); _1czk.add('revamp_box.json'), _1czk.add('revamp_main.json'), _1czk.add('revamp_list.json'), _1czk.load(function() { var _1czl = null; _1czj._endTask(); }); }, _1czf; }(_1cza.TaskBase); _1cyq.TaskLoadResources = _1czc; }, 50265: function(_1czm, _1czn, _1czo) { 'use strict'; var _1czp = null; var _1czq, _1czr = this && this.__extends || (_1czq = function(_1czs, _1czt) { var _1czu = null; return _1czq = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1czv, _1czw) { var _1czx = null; _1czv.__proto__ = _1czw; } || function(_1czy, _1czz) { var _1d00 = null; for (var _1d01 in _1czz) Object.prototype.hasOwnProperty.call(_1czz, _1d01) && (_1czy[_1d01] = _1czz[_1d01]); }, _1czq(_1czs, _1czt); }, function(_1d02, _1d03) { var _1d04 = null; if ('function' != typeof _1d03 && null !== _1d03) throw new TypeError('Class extends value ' + String(_1d03) + ' is not a constructor or null'); function _1d05() { var _1d06 = null; this.constructor = _1d02; } _1czq(_1d02, _1d03), _1d02.prototype = null === _1d03 ? Object.create(_1d03) : (_1d05.prototype = _1d03.prototype, new _1d05()); }), _1d07 = this && this.__spreadArray || function(_1d08, _1d09, _1d0a) { var _1d0b = null; if (_1d0a || 2 === arguments.length) { for (var _1d0c, _1d0d = 0, _1d0e = _1d09.length; _1d0d < _1d0e; _1d0d++) !_1d0c && _1d0d in _1d09 || (_1d0c || (_1d0c = Array.prototype.slice.call(_1d09, 0, _1d0d)), _1d0c[_1d0d] = _1d09[_1d0d]); } return _1d08.concat(_1d0c || Array.prototype.slice.call(_1d09)); }; defineModule(_1czn); Object.defineProperty(_1czn, '__esModule', { 'value': !0 }), _1czn.TaskRevampCompleted = void 0; var _1d0f = _1czo(81755), _1d0g = _1czo(5527), _1d0h = _1czo(85492), _1d0i = _1czo(31000), _1d0j = _1czo(28103), _1d0k = function(_1d0l) { var _1d0m = null; function _1d0n(_1d0o, _1d0p, _1d0q) { var _1d0r = null, _1d0s = _1d0l.call(this) || this; return _1d0s._box_index = _1d0o, _1d0s._view = _1d0p, _1d0s._executed = _1d0q, _1d0s; } return _1czr(_1d0n, _1d0l), _1d0n.prototype._start = function() { var _1d0t = null, _1d0u = this; this._view.revampRecipeBoxes[this._box_index].clearDetail(); var _1d0v = this._getBoxTweenTasks(this._box_index, this._view.revampRecipeBoxes), _1d0w = new(_1d0g.ParallelTask.bind.apply(_1d0g.ParallelTask, _1d07([void 0], _1d0v, !1)))(); this._executed && (_1d0w.add(this._getBalloonTweenTask()).add(this._getAkashiTweenTask()), this._view.revampParticleLayer.stop()), _1d0w.start(function() { var _1d0x = null; return _1d0u._endTask(); }); }, _1d0n.prototype._getBoxTweenTasks = function(_1d0y, _1d0z) { var _1d10 = null; switch (_1d0y) { case _1d0j.RevampUtils.BOX_POSITION.UP: return this._getTweenTask_selected_box_up(_1d0z); case _1d0j.RevampUtils.BOX_POSITION.CENTER: return this._getTweenTask_selected_box_center(_1d0z); case _1d0j.RevampUtils.BOX_POSITION.UNDER: return this._getTweenTask_selected_box_under(_1d0z); } }, _1d0n.prototype._getBalloonTweenTask = function() { var _1d11 = null, _1d12 = this; return new _1d0h.TweenTask().addTween(createjs.Tween.get(null).call(function() { var _1d13 = null; _1d12._view.messageBalloons.visible = !1; }).wait(1000).call(function() { var _1d14 = null, _1d15; null === (_1d15 = _1d12._view.messageBalloons) || void 0 === _1d15 || _1d15.initialize(), _1d12._view.messageBalloons.visible = !0; })); }, _1d0n.prototype._getAkashiTweenTask = function() { var _1d16 = null, _1d17 = this; return new _1d0h.TweenTask().addTween(createjs.Tween.get(null).call(function() { var _1d18 = null; _1d17._view.revampakashi.moveLeft(); })); }, _1d0n.prototype._getTweenTask_selected_box_up = function(_1d19) { var _1d1a = null, _1d1b = [_1d19[_1d0j.RevampUtils.BOX_POSITION.UP], _1d19[_1d0j.RevampUtils.BOX_POSITION.CENTER], _1d19[_1d0j.RevampUtils.BOX_POSITION.UNDER]], _1d1c = _1d1b[0], _1d1d = _1d1b[1], _1d1e = _1d1b[2]; return [new _1d0h.TweenTask().addTween(createjs.Tween.get(null).wait(350).call(function() { var _1d1f = null; return _1d0i.SE.play('208'); }).wait(700).call(function() { var _1d1g = null; return _1d0i.SE.play('209'); }).wait(100).call(function() { var _1d1h = null; return _1d0i.SE.play('209'); })), new _1d0h.TweenTask().addTween(createjs.Tween.get(_1d1c).to({ 'y': 159 }, 700, createjs.Ease.getPowIn(2.72 * 2.5)).to({ 'y': 144 }, 0).wait(30).to({ 'y': 166 }, 0).wait(40).to({ 'y': 159 }, 0).wait(30)), new _1d0h.TweenTask().addTween(createjs.Tween.get(_1d1d).wait(300).to({ 'y': 339 }, 750, createjs.Ease.quartIn).to({ 'y': 324 }, 0).wait(30).to({ 'y': 346 }, 0).wait(40).to({ 'y': 339 }, 0).wait(30)), new _1d0h.TweenTask().addTween(createjs.Tween.get(_1d1e).wait(500).to({ 'y': 519 }, 750, createjs.Ease.quartIn).to({ 'y': 504 }, 0).wait(30).to({ 'y': 526 }, 0).wait(40).to({ 'y': 519 }, 0).wait(30))]; }, _1d0n.prototype._getTweenTask_selected_box_center = function(_1d1i) { var _1d1j = null, _1d1k = [_1d1i[_1d0j.RevampUtils.BOX_POSITION.UP], _1d1i[_1d0j.RevampUtils.BOX_POSITION.UNDER]], _1d1l = _1d1k[0], _1d1m = _1d1k[1]; return [new _1d0h.TweenTask().addTween(createjs.Tween.get(null).wait(400).call(function() { var _1d1n = null; _1d0i.SE.play('208'); })), new _1d0h.TweenTask().addTween(createjs.Tween.get(_1d1l).to({ 'y': 159 }, 700, createjs.Ease.getPowIn(2.72 * 2.5)).to({ 'y': 174 }, 0).wait(30).to({ 'y': 152 }, 0).wait(40).to({ 'y': 159 }, 0).wait(30)), new _1d0h.TweenTask().addTween(createjs.Tween.get(_1d1m).to({ 'y': 519 }, 700, createjs.Ease.getPowIn(2.72 * 2.5)).to({ 'y': 504 }, 0).wait(30).to({ 'y': 526 }, 0).wait(40).to({ 'y': 519 }, 0).wait(30))]; }, _1d0n.prototype._getTweenTask_selected_box_under = function(_1d1o) { var _1d1p = null, _1d1q = [_1d1o[_1d0j.RevampUtils.BOX_POSITION.UP], _1d1o[_1d0j.RevampUtils.BOX_POSITION.CENTER], _1d1o[_1d0j.RevampUtils.BOX_POSITION.UNDER]], _1d1r = _1d1q[0], _1d1s = _1d1q[1], _1d1t = _1d1q[2]; return [new _1d0h.TweenTask().addTween(createjs.Tween.get(null).wait(350).call(function() { var _1d1u = null; _1d0i.SE.play('208'); }).wait(700).call(function() { var _1d1v = null; _1d0i.SE.play('209'); }).wait(100).call(function() { var _1d1w = null; _1d0i.SE.play('209'); })), new _1d0h.TweenTask().addTween(createjs.Tween.get(_1d1r).wait(500).to({ 'y': 159 }, 700, createjs.Ease.quartIn).to({ 'y': 144 }, 0).wait(30).to({ 'y': 166 }, 0).wait(40).to({ 'y': 159 }, 0).wait(30)), new _1d0h.TweenTask().addTween(createjs.Tween.get(_1d1s).wait(300).to({ 'y': 339 }, 700, createjs.Ease.quartIn).to({ 'y': 324 }, 0).wait(30).to({ 'y': 346 }, 0).wait(40).to({ 'y': 339 }, 0).wait(30)), new _1d0h.TweenTask().addTween(createjs.Tween.get(_1d1t).to({ 'y': 519 }, 700, createjs.Ease.getPowIn(2.72 * 2.5)).to({ 'y': 504 }, 0).wait(30).to({ 'y': 526 }, 0).wait(40).to({ 'y': 519 }, 3).wait(30))]; }, _1d0n.prototype._endTask = function() { var _1d1x = null, _1d1y; null === (_1d1y = this._view) || void 0 === _1d1y || _1d1y.update(), _1d0l.prototype._endTask.call(this); }, _1d0n; }(_1d0f.TaskBase); _1czn.TaskRevampCompleted = _1d0k; }, 62174: function(_1d1z, _1d20, _1d21) { 'use strict'; var _1d22 = null; var _1d23, _1d24 = this && this.__extends || (_1d23 = function(_1d25, _1d26) { var _1d27 = null; return _1d23 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1d28, _1d29) { var _1d2a = null; _1d28.__proto__ = _1d29; } || function(_1d2b, _1d2c) { var _1d2d = null; for (var _1d2e in _1d2c) Object.prototype.hasOwnProperty.call(_1d2c, _1d2e) && (_1d2b[_1d2e] = _1d2c[_1d2e]); }, _1d23(_1d25, _1d26); }, function(_1d2f, _1d2g) { var _1d2h = null; if ('function' != typeof _1d2g && null !== _1d2g) throw new TypeError('Class extends value ' + String(_1d2g) + ' is not a constructor or null'); function _1d2i() { var _1d2j = null; this.constructor = _1d2f; } _1d23(_1d2f, _1d2g), _1d2f.prototype = null === _1d2g ? Object.create(_1d2g) : (_1d2i.prototype = _1d2g.prototype, new _1d2i()); }), _1d2k = this && this.__importDefault || function(_1d2l) { var _1d2m = null; return _1d2l && _1d2l.__esModule ? _1d2l : { 'default': _1d2l }; }; defineModule(_1d20); Object.defineProperty(_1d20, '__esModule', { 'value': !0 }), _1d20.TaskRevampStart = void 0; var _1d2n = _1d21(81755), _1d2o = _1d2k(_1d21(18622)), _1d2p = _1d21(27598), _1d2q = _1d21(20137), _1d2r = _1d21(31000), _1d2s = _1d21(64052), _1d2t = _1d21(79899), _1d2u = _1d21(35380), _1d2v = _1d21(53456), _1d2w = function(_1d2x) { var _1d2y = null; function _1d2z(_1d30, _1d31, _1d32, _1d33) { var _1d34 = null, _1d35 = _1d2x.call(this) || this; return _1d35._onClick_screen = function() { var _1d36 = null, _1d37; _1d2o.default.view.removeChild(_1d35._click_area), null === (_1d37 = _1d35._click_area) || void 0 === _1d37 || _1d37.off(_1d2u.EventType.CLICK, _1d35._onClick_screen), _1d35._endTask(); }, _1d35._box_index = _1d30, _1d35._view = _1d32, _1d35._data = _1d33, _1d35._selected_slotitem = _1d31, _1d35._target_box = _1d35._view.revampRecipeBoxes[_1d35._box_index], _1d35._white_box = new PIXI.Sprite(_1d2s.REVAMP_BOX.getTexture(4)), _1d35._white_box.alpha = 0, _1d35._flag = !1, _1d35._click_area = new _1d2t.AreaBox(0), _1d35._click_area.interactive = !0, _1d35; } return _1d24(_1d2z, _1d2x), _1d2z.prototype._start = function() { var _1d38 = null; _1d2o.default.sound.voice.playAtRandom('9999', [306, 307], [50, 50]), _1d2o.default.view.addChild(this._click_area), this._connect(); }, _1d2z.prototype._connect = function() { var _1d39 = null, _1d3a = this, _1d3b = this._data.models[this._box_index], _1d3c = new _1d2p.RevampRemodelSlotAPI(_1d3b.id, this._selected_slotitem.memID, this._target_box.isRevampEnsure, this._data.detail); _1d3c.start(function() { var _1d3d = null; _1d3a._result = _1d3c.result, _1d2o.default.view.portMain.updateInfo(), _1d3a._preLoad(); }); }, _1d2z.prototype._preLoad = function() { var _1d3e = null, _1d3f = this; if (0 != this._result.voice_ship_id) { var _1d3g = _1d2o.default.model.deck.get(1).getShipModel(1).mstID, _1d3h = new _1d2q.ShipLoader(); _1d3h.add(_1d3g, !1, 'full'), _1d3h.load(function() { var _1d3i = null; _1d3f._view.revamp2ndShip.texture = _1d2o.default.resources.getShip(_1d3g, !1, 'full'), _1d3f._revampAnimation(); }); } else this._revampAnimation(); }, _1d2z.prototype._revampAnimation = function() { var _1d3j = null, _1d3k, _1d3l = this; if (this._view.messageBalloons.visible = !1, this._view.revampakashi.moveRight(), this._view.revampakashi.spark(), _1d2r.SE.play('203'), this._tween_blink_box = this._getTween_blinkBox(this._target_box), this._tween_shake_box = this._getTween_shakeBox(this._target_box), 0 != (null === (_1d3k = this._result) || void 0 === _1d3k ? void 0 : _1d3k.voice_ship_id)) { var _1d3m = _1d2o.default.model.deck.get(1).getShipModel(1).mstID, _1d3n = 0.6; this._view.revamp2ndShip.scale.set(_1d3n, _1d3n); var _1d3o = _1d2o.default.model.ship_graph.get(_1d3m).getFaceRect(!1); this._leaveX = -_1d3o.x * _1d3n + 198, this._view.revamp2ndShip.position.set(this._leaveX, -_1d3o.y * _1d3n + 153), this._view.revamp2ndShip.alpha = 0, createjs.Tween.get(this._view.revamp2ndShip).to({ 'x': -_1d3o.x * _1d3n + 348, 'alpha': 1 }, 500, createjs.Ease.quadIn).wait(500).call(function() { var _1d3p = null; _1d2o.default.sound.voice.play(_1d3l._result.voice_ship_id + '', _1d3l._result.voice_id, function() { var _1d3q = null; return _1d3l._flag = !0; }), createjs.Tween.get(null).wait(5000).call(function() { var _1d3r = null; return _1d3l._flag = !0; }); }); } else createjs.Tween.get(null).wait(2500).call(function() { var _1d3s = null; return _1d3l._flag = !0; }); this._wait(); }, _1d2z.prototype._getTween_shakeBox = function(_1d3t) { var _1d3u = null; return createjs.Tween.get(_1d3t, { 'loop': !0 }).to({ 'x': 163 }, 50).to({ 'x': 172 }, 50); }, _1d2z.prototype._getTween_blinkBox = function(_1d3v) { var _1d3w = null; return createjs.Tween.get(_1d3v, { 'loop': !0 }).to({ 'alpha': 0 }, 750, createjs.Ease.sineIn).to({ 'alpha': 1 }, 750, createjs.Ease.cubicInOut); }, _1d2z.prototype._wait = function() { var _1d3x = null, _1d3y = this; this._flag ? 0 != this._result.voice_ship_id ? createjs.Tween.get(this._view.revamp2ndShip).to({ 'x': this._leaveX, 'alpha': 0 }, 500, createjs.Ease.quadIn).call(function() { var _1d3z = null; _1d3y._view.revamp2ndShip.alpha = 0, _1d3y._view.revamp2ndShip.position.set(-600, 138), _1d3y._falshWhiteBox(); }) : this._falshWhiteBox() : createjs.Tween.get(this).wait(200).call(function() { var _1d40 = null; _1d3y._wait(); }); }, _1d2z.prototype._falshWhiteBox = function() { var _1d41 = null, _1d42 = this; this._tween_shake_box.loop = !1, this._tween_blink_box.loop = !1, this._tween_shake_box.to({ 'x': 168 }, 50), this._target_box.addChild(this._white_box), createjs.Tween.get(this._white_box).to({ 'alpha': 1 }, 1000).call(function() { var _1d43 = null; _1d42._showResult(); }).to({ 'alpha': 0 }, 500).call(function() { var _1d44 = null; _1d42._target_box.removeChild(_1d42._white_box); }); }, _1d2z.prototype._showResult = function() { var _1d45 = null, _1d46 = this._result; if (1 == _1d46.success) { var _1d47 = _1d2o.default.model.slot.get(_1d46.target_slotitem_memid); if (_1d46.remodel_id[0] != _1d46.remodel_id[1]) return void this._changeSlotitem(_1d46); this._target_box.updateSlotlevel(_1d47.level), this._view.messageBalloons.showRevampResult(_1d46), this._view.messageBalloons.visible = !0, _1d2o.default.sound.voice.play('9999', 308), this._view.revampParticleLayer.start(), _1d2r.SE.play('211'); } else this._view.messageBalloons.showRevampResult(_1d46), this._view.messageBalloons.visible = !0, _1d2o.default.sound.voice.play('9999', 309), _1d2r.SE.play('206'); this._click_area.buttonMode = !0, this._click_area.on(_1d2u.EventType.CLICK, this._onClick_screen); }, _1d2z.prototype._changeSlotitem = function(_1d48) { var _1d49 = null, _1d4a = this; _1d2o.default.view.removeChild(this._click_area), new _1d2v.TaskChangeSlotitem(_1d48).start(function() { var _1d4b = null; _1d4a._endTask(); }); }, _1d2z.prototype._endTask = function() { var _1d4c = null, _1d4d, _1d4e, _1d4f; null === (_1d4d = this._click_area) || void 0 === _1d4d || _1d4d.destroy(), this._click_area = null, this._white_box.destroy(), this._white_box = null, null === (_1d4e = this._tween_blink_box) || void 0 === _1d4e || _1d4e.setPaused(!0), this._tween_blink_box = null, null === (_1d4f = this._tween_shake_box) || void 0 === _1d4f || _1d4f.setPaused(!0), this._tween_shake_box = null, _1d2x.prototype._endTask.call(this); }, _1d2z; }(_1d2n.TaskBase); _1d20.TaskRevampStart = _1d2w; }, 46278: function(_1d4g, _1d4h, _1d4i) { 'use strict'; var _1d4j = null; var _1d4k, _1d4l = this && this.__extends || (_1d4k = function(_1d4m, _1d4n) { var _1d4o = null; return _1d4k = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1d4p, _1d4q) { var _1d4r = null; _1d4p.__proto__ = _1d4q; } || function(_1d4s, _1d4t) { var _1d4u = null; for (var _1d4v in _1d4t) Object.prototype.hasOwnProperty.call(_1d4t, _1d4v) && (_1d4s[_1d4v] = _1d4t[_1d4v]); }, _1d4k(_1d4m, _1d4n); }, function(_1d4w, _1d4x) { var _1d4y = null; if ('function' != typeof _1d4x && null !== _1d4x) throw new TypeError('Class extends value ' + String(_1d4x) + ' is not a constructor or null'); function _1d4z() { var _1d50 = null; this.constructor = _1d4w; } _1d4k(_1d4w, _1d4x), _1d4w.prototype = null === _1d4x ? Object.create(_1d4x) : (_1d4z.prototype = _1d4x.prototype, new _1d4z()); }), _1d51 = this && this.__importDefault || function(_1d52) { var _1d53 = null; return _1d52 && _1d52.__esModule ? _1d52 : { 'default': _1d52 }; }; defineModule(_1d4h); Object.defineProperty(_1d4h, '__esModule', { 'value': !0 }), _1d4h.TaskSelectSlotitem = void 0; var _1d54 = _1d4i(81755), _1d55 = _1d4i(35380), _1d56 = _1d4i(5527), _1d57 = _1d4i(85492), _1d58 = _1d4i(16677), _1d59 = _1d4i(87475), _1d5a = _1d4i(31000), _1d5b = _1d51(_1d4i(18622)), _1d5c = _1d4i(23060), _1d5d = _1d4i(28103), _1d5e = _1d4i(74702), _1d5f = _1d4i(47117), _1d5g = function(_1d5h) { var _1d5i = null; function _1d5j(_1d5k, _1d5l, _1d5m) { var _1d5n = null, _1d5o = _1d5h.call(this) || this; return _1d5o._onClick_confirm = function(_1d5p) { var _1d5q = null; _1d58.WheelEventUtil.clear(), _1d5o._confirm_bg.show(200), _1d5o._view.addChild(_1d5o._confirm_bg), _1d5o._confirm.position.set(919, 102), _1d5o._view.addChild(_1d5o._confirm), createjs.Tween.get(_1d5o._confirm).to({ 'x': 438 }, 200).call(function() { var _1d5r = null, _1d5s, _1d5t; null === (_1d5s = _1d5o._confirm) || void 0 === _1d5s || _1d5s.initialize(_1d5p), null === (_1d5t = _1d5o._confirm) || void 0 === _1d5t || _1d5t.activate(); }); }, _1d5o._onClickCancelArea = function() { var _1d5u = null; _1d58.WheelEventUtil.clear(), _1d5o._view.addChild(_1d5o._confirm_click_guard), _1d5o._confirm_click_guard.show(200), _1d5o._closeList(function() { var _1d5v = null; _1d5o._endTask(); }); }, _1d5o._onClick_revampReady = function(_1d5w) { var _1d5x = null; _1d5o._view.addChild(_1d5o._confirm_click_guard), _1d5o._confirm_click_guard.show(200), 10 == _1d5w.level ? _1d5b.default.sound.voice.play('9999', 310) : _1d5b.default.sound.voice.play('9999', 313), _1d5o._selected_item = _1d5w; var _1d5y = _1d5o._data.models[_1d5o._index].id; new _1d5c.RevampSlotListDetailAPI(_1d5y, _1d5w.memID, _1d5o._data).start(function() { var _1d5z = null; _1d5o._view.revampRecipeBoxes.forEach(function(_1d60) { var _1d61 = null; return _1d60.deactivate(); }), _1d5o._view.revampRecipeBoxes[_1d5o._index].showDetail(_1d5o._data.detail, _1d5o._selected_item), _1d5o._CenteringBox(), _1d5o._closeList(); }); }, _1d5o._index = _1d5k, _1d5o._data = _1d5l, _1d5o._view = _1d5m, _1d5o._list = new _1d5e.SlotitemListNormal(_1d5o._onClick_confirm), _1d5o._cancel_area_bg = new _1d59.FadeBox(0.2), _1d5o._cancel_area_bg.interactive = _1d5o._cancel_area_bg.buttonMode = !1, _1d5o._selected_item = null, _1d5o._confirm_bg = new _1d59.FadeBox(0.3), _1d5o._confirm = new _1d5f.RevampConfirm(_1d5o._onClick_revampReady, _1d5o._onClickCancelArea), _1d5o._confirm_click_guard = new _1d59.FadeBox(0.3), _1d5o; } return _1d4l(_1d5j, _1d5h), _1d5j.prototype._start = function() { var _1d62 = null, _1d63 = this; this._view.addChild(this._cancel_area_bg), this._cancel_area_bg.show(200); var _1d64 = this._data.models[this._index]; this._list.initialize(_1d64), this._list.position.set(1219, 102), this._view.addChild(this._list), _1d5b.default.sound.voice.playAtRandom('9999', [303, 304], [50, 50]), this._cancel_area_bg.interactive = this._cancel_area_bg.buttonMode = !0, createjs.Tween.get(this._list).to({ 'x': 798 }, 200).call(function() { var _1d65 = null, _1d66; _1d63._cancel_area_bg.on(_1d55.EventType.CLICK, _1d63._onClickCancelArea), null === (_1d66 = _1d63._list) || void 0 === _1d66 || _1d66.activate(); }); }, _1d5j.prototype._closeList = function(_1d67) { var _1d68 = null, _1d69, _1d6a, _1d6b, _1d6c = this; void 0 === _1d67 && (_1d67 = null), null === (_1d69 = this._cancel_area_bg) || void 0 === _1d69 || _1d69.hide(200), null === (_1d6a = this._cancel_area_bg) || void 0 === _1d6a || _1d6a.off(_1d55.EventType.CLICK, this._onClickCancelArea), null === (_1d6b = this._confirm_bg) || void 0 === _1d6b || _1d6b.hide(200), this._list.deactivate(), this._confirm.deactivate(), new _1d56.ParallelTask().add(new _1d57.TweenTask().addTween(createjs.Tween.get(this._list).to({ 'x': 1219 }, 200))).add(new _1d57.TweenTask().addTween(createjs.Tween.get(this._confirm).to({ 'x': 919 }, 200))).start(function() { var _1d6d = null, _1d6e; null === (_1d6e = _1d6c._confirm_click_guard) || void 0 === _1d6e || _1d6e.hide(), null != _1d67 && _1d67(); }); }, _1d5j.prototype._CenteringBox = function() { var _1d6f = null, _1d6g = this; switch (this._index) { case _1d5d.RevampUtils.BOX_POSITION.UP: _1d5a.SE.play('207'), createjs.Tween.get(this._view.revampRecipeBoxes[_1d5d.RevampUtils.BOX_POSITION.UP]).wait(500).to({ 'y': 339 }, 400, createjs.Ease.getPowIn(2.72 * 2.5)).to({ 'y': 354 }, 0).wait(30).to({ 'y': 332 }, 0).wait(40).to({ 'y': 339 }, 0).wait(30).call(function() { var _1d6h = null; _1d6g._showDetail(); }), createjs.Tween.get(this._view.revampRecipeBoxes[_1d5d.RevampUtils.BOX_POSITION.CENTER]).to({ 'y': 1239 }, 1000, createjs.Ease.quartIn), createjs.Tween.get(this._view.revampRecipeBoxes[_1d5d.RevampUtils.BOX_POSITION.UNDER]).to({ 'y': 1539 }, 800, createjs.Ease.quartIn); break; case _1d5d.RevampUtils.BOX_POSITION.CENTER: createjs.Tween.get(this._view.revampRecipeBoxes[_1d5d.RevampUtils.BOX_POSITION.UP]).to({ 'y': -561 }, 1000, createjs.Ease.quartIn).call(function() { var _1d6i = null; null != _1d6g._view.revampRecipeBoxes && (_1d6g._view.revampRecipeBoxes[_1d5d.RevampUtils.BOX_POSITION.UP].position.y = -111), _1d5a.SE.play('209'), _1d6g._showDetail(); }), createjs.Tween.get(this._view.revampRecipeBoxes[_1d5d.RevampUtils.BOX_POSITION.UNDER]).to({ 'y': 1239 }, 1000, createjs.Ease.quartIn).to({ 'y': 789 }, 0); break; case _1d5d.RevampUtils.BOX_POSITION.UNDER: _1d5a.SE.play('207'), createjs.Tween.get(this._view.revampRecipeBoxes[_1d5d.RevampUtils.BOX_POSITION.UNDER]).wait(500).to({ 'y': 339 }, 400, createjs.Ease.getPowIn(2.72 * 2.5)).to({ 'y': 324 }, 0).wait(30).to({ 'y': 346 }, 0).wait(40).to({ 'y': 339 }, 0).wait(30).call(function() { var _1d6j = null; _1d6g._showDetail(); }), createjs.Tween.get(this._view.revampRecipeBoxes[_1d5d.RevampUtils.BOX_POSITION.UP]).to({ 'y': -861 }, 800, createjs.Ease.quartIn), createjs.Tween.get(this._view.revampRecipeBoxes[_1d5d.RevampUtils.BOX_POSITION.CENTER]).to({ 'y': -561 }, 1000, createjs.Ease.quartIn); } }, _1d5j.prototype._showDetail = function() { var _1d6k = null, _1d6l, _1d6m; null != this._view.revampRecipeBoxes && (null === (_1d6l = this._view.revampRecipeBoxes[this._index]) || void 0 === _1d6l || _1d6l.activateDetail()), null === (_1d6m = this._view.messageBalloons) || void 0 === _1d6m || _1d6m.revampReady(this._data.detail, this._selected_item), this._endTask(); }, _1d5j.prototype._endTask = function() { var _1d6n = null, _1d6o, _1d6p, _1d6q, _1d6r, _1d6s, _1d6t, _1d6u, _1d6v, _1d6w, _1d6x, _1d6y; null === (_1d6o = this._view) || void 0 === _1d6o || _1d6o.removeChild(this._confirm), null === (_1d6p = this._confirm) || void 0 === _1d6p || _1d6p.dispose(), this._confirm = null, null === (_1d6q = this._view) || void 0 === _1d6q || _1d6q.removeChild(this._confirm_bg), null === (_1d6r = this._confirm_bg) || void 0 === _1d6r || _1d6r.destroy(), this._confirm_bg = null, null === (_1d6s = this._view) || void 0 === _1d6s || _1d6s.removeChild(this._list), null === (_1d6t = this._list) || void 0 === _1d6t || _1d6t.dispose(), this._list = null, null === (_1d6u = this._view) || void 0 === _1d6u || _1d6u.removeChild(this._cancel_area_bg), null === (_1d6v = this._cancel_area_bg) || void 0 === _1d6v || _1d6v.off(_1d55.EventType.CLICK, this._onClickCancelArea), null === (_1d6w = this._cancel_area_bg) || void 0 === _1d6w || _1d6w.destroy(), this._cancel_area_bg = null, null === (_1d6x = this._view) || void 0 === _1d6x || _1d6x.removeChild(this._confirm_click_guard), null === (_1d6y = this._confirm_click_guard) || void 0 === _1d6y || _1d6y.destroy(), this._confirm_click_guard = null, _1d5h.prototype._endTask.call(this); }, _1d5j; }(_1d54.TaskBase); _1d4h.TaskSelectSlotitem = _1d5g; }, 28103: function(_1d6z, _1d70, _1d71) { 'use strict'; var _1d72 = null; var _1d73 = this && this.__importDefault || function(_1d74) { var _1d75 = null; return _1d74 && _1d74.__esModule ? _1d74 : { 'default': _1d74 }; }; defineModule(_1d70); Object.defineProperty(_1d70, '__esModule', { 'value': !0 }), _1d70.RevampUtils = void 0; var _1d76, _1d77 = _1d73(_1d71(18622)); ! function(_1d78) { var _1d79 = null; _1d78.getRevampableItems = function(_1d7a) { var _1d7b = null, _1d7c = _1d77.default.model.slot.createUnsetListFromMstId(_1d7a), _1d7d = _1d77.default.model.slot.createSetListFromMstId(_1d7a); return _1d7d[0].forEach(function(_1d7e) { var _1d7f = null; if (_1d7e.mstID == _1d7a) { var _1d7g = _1d77.default.model.ship.get(_1d7d[1][_1d7e.memID]), _1d7h = _1d77.default.model.deck.isInDeck(_1d7g.memID); if (null != _1d7h) null == _1d77.default.model.deck.get(_1d7h[0]).expedition && _1d7c.push(_1d7e); else _1d7c.push(_1d7e); } }), { 'items': _1d7c, 'equiped_ship': _1d7d[1] }; }, _1d78.getNumRevampableItem = function(_1d7i, _1d7j) { var _1d7k = null, _1d7l = 0; if (_1d7i <= 0) return _1d7l; for (var _1d7m = 0, _1d7n = _1d77.default.model.slot.createUnsetListFromMstId(_1d7i); _1d7m < _1d7n.length; _1d7m++) { var _1d7o = _1d7n[_1d7m]; 0 != _1d7o.level || _1d7o.isLocked() || _1d7o.memID == _1d7j || _1d7l++; } return _1d7l; }, _1d78.BOX_POSITION = { 'UP': 0, 'CENTER': 1, 'UNDER': 2 }; }(_1d76 || (_1d70.RevampUtils = _1d76 = {})); }, 92410: function(_1d7p, _1d7q, _1d7r) { 'use strict'; var _1d7s = null; var _1d7t, _1d7u = this && this.__extends || (_1d7t = function(_1d7v, _1d7w) { var _1d7x = null; return _1d7t = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1d7y, _1d7z) { var _1d80 = null; _1d7y.__proto__ = _1d7z; } || function(_1d81, _1d82) { var _1d83 = null; for (var _1d84 in _1d82) Object.prototype.hasOwnProperty.call(_1d82, _1d84) && (_1d81[_1d84] = _1d82[_1d84]); }, _1d7t(_1d7v, _1d7w); }, function(_1d85, _1d86) { var _1d87 = null; if ('function' != typeof _1d86 && null !== _1d86) throw new TypeError('Class extends value ' + String(_1d86) + ' is not a constructor or null'); function _1d88() { var _1d89 = null; this.constructor = _1d85; } _1d7t(_1d85, _1d86), _1d85.prototype = null === _1d86 ? Object.create(_1d86) : (_1d88.prototype = _1d86.prototype, new _1d88()); }), _1d8a = this && this.__importDefault || function(_1d8b) { var _1d8c = null; return _1d8b && _1d8b.__esModule ? _1d8b : { 'default': _1d8b }; }; defineModule(_1d7q); Object.defineProperty(_1d7q, '__esModule', { 'value': !0 }), _1d7q.ChangeSlotitemLayer = void 0; var _1d8d = _1d8a(_1d7r(18622)), _1d8e = _1d7r(11997), _1d8f = _1d7r(8744), _1d8g = _1d7r(43472), _1d8h = _1d7r(88225), _1d8i = _1d7r(7344), _1d8j = _1d7r(63865), _1d8k = function(_1d8l) { var _1d8m = null; function _1d8n() { var _1d8o = null, _1d8p = _1d8l.call(this) || this; return _1d8p._bg = new _1d8g.RarityBG(), _1d8p._bg.position.set(0, 0), _1d8p.addChild(_1d8p._bg), _1d8p._after_item_card = new PIXI.Sprite(), _1d8p._after_item_card.anchor.set(0.5, 0.5), _1d8p._after_item_card.position.set(600, 243), _1d8p._after_item_card.width = 234, _1d8p._after_item_card.height = 234, _1d8p.addChild(_1d8p._after_item_card), _1d8p._before_item_card = new PIXI.Sprite(), _1d8p._before_item_card.anchor.set(0.5, 0.5), _1d8p._before_item_card.position.set(600, 525), _1d8p.addChild(_1d8p._before_item_card), _1d8p._levelStar = new _1d8j.LevelStar(), _1d8p._levelStar.position.set(768, 215), _1d8p.addChild(_1d8p._levelStar), _1d8p._ringParticle = new _1d8h.CircleEffectLayer(), _1d8p.addChild(_1d8p._ringParticle), _1d8p._message_bg = new PIXI.Sprite(_1d8e.COMMON_MISC.getTexture(127)), _1d8p._message_bg.position.set(0, 720), _1d8p.addChild(_1d8p._message_bg), _1d8p._message_container = new PIXI.Container(), _1d8p._message1 = new _1d8f.TextBox(27, 16777215), _1d8p._message_container.addChild(_1d8p._message1), _1d8p._star_text = new _1d8f.TextBox(27, 15720041), _1d8p._message_container.addChild(_1d8p._star_text), _1d8p._message2 = new _1d8f.TextBox(27, 16777215), _1d8p._message_container.addChild(_1d8p._message2), _1d8p._message3 = new _1d8f.TextBox(27, 16777215), _1d8p._message_container.addChild(_1d8p._message3), _1d8p.addChild(_1d8p._message_container), _1d8p._btn = new _1d8i.GearBtnHome(), _1d8p._btn.position.set(1130, 648), _1d8p._btn.initialize(), _1d8p.addChild(_1d8p._btn), _1d8p; } return _1d7u(_1d8n, _1d8l), Object.defineProperty(_1d8n.prototype, 'bg', { 'get': function() { var _1d8q = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1d8n.prototype, 'before_item_card', { 'get': function() { var _1d8r = null; return this._before_item_card; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1d8n.prototype, 'after_item_card', { 'get': function() { var _1d8s = null; return this._after_item_card; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1d8n.prototype, 'before_item_card_texture', { 'get': function() { var _1d8t = null; return this._bofore_item_card_texture; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1d8n.prototype, 'after_item_card_texture', { 'get': function() { var _1d8u = null; return this._after_item_card_texture; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1d8n.prototype, 'ringPartingle', { 'get': function() { var _1d8v = null; return this._ringParticle; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1d8n.prototype, 'levelStar', { 'get': function() { var _1d8w = null; return this._levelStar; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1d8n.prototype, 'message_bg', { 'get': function() { var _1d8x = null; return this._message_bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1d8n.prototype, 'message_container', { 'get': function() { var _1d8y = null; return this._message_container; }, 'enumerable': !1, 'configurable': !0 }), _1d8n.prototype.initialize = function(_1d8z, _1d90) { var _1d91 = null; this._before_item_id = _1d8z, this._after_item_id = _1d90, this._after_item_card_texture = _1d8d.default.resources.getSlotitem(this._after_item_id, 'card'), this._after_item_card.texture = this._after_item_card_texture, this._after_item_card.alpha = 0, this._bofore_item_card_texture = _1d8d.default.resources.getSlotitem(this._before_item_id, 'card'), this._before_item_card.texture = this._bofore_item_card_texture, this._before_item_card.alpha = 1, this._levelStar.alpha = 0, this._message1.text = ' 装備改修中…', this._star_text.text = '', this._message2.text = '', this._message3.text = '', this._message_container.position.set(600 - Math.floor(this._message1.width / 2), 600), this._message_container.alpha = 0, this._btn.alpha = 0; }, _1d8n.prototype.updateRevampMessage = function(_1d92) { var _1d93 = null, _1d94 = ''; switch (null == _1d92 ? void 0 : _1d92.mstID) { case 300: case 344: case 345: case 373: case 460: case 289: case 443: _1d94 = '\x0a'; } var _1d95 = '', _1d96 = null == _1d92 ? void 0 : _1d92.level; _1d96 > 0 && _1d96 <= 9 ? _1d95 = ' ★+'['concat'](_1d96, '\x20') : _1d96 > 9 && (_1d95 = ' ★MAX '), this._message1.text = null == _1d92 ? void 0 : _1d92.name, this._star_text.text = _1d95, this._message2.text = 'に', this._message3.text = _1d94 + '装備が改修更新されました!', this._message1.position.set(0, 0), this._star_text.position.set(this._message1.x + this._message1.width, 0), this._message2.position.set(this._star_text.x + this._star_text.width, 0); var _1d97 = '' == _1d94 ? this._message2.x + this._message2.width : 0; this._message3.position.set(_1d97, 0); var _1d98 = '' == _1d94 ? this._message1.width + this._star_text.width + this._message2.width + this._message3.width : this._message1.width + this._star_text.width + this._message2.width; this._message_container.position.set(600 - Math.floor(_1d98 / 2), 600), this._levelStar.update(_1d96); }, _1d8n.prototype.goBackActivate = function() { var _1d99 = null; this._btn.activate(), this._btn.alpha = 1; }, _1d8n.prototype.dispose = function() { var _1d9a = null; this.removeChildren(), this._bg.destroy(), this._bg = null, this._message_bg.destroy(), this._message_bg = null, this._before_item_card.destroy(), this._before_item_card = null, this._after_item_card.destroy(), this._after_item_card = null, this._ringParticle.dispose(), this._ringParticle = null, this._btn.dispose(), this._btn = null, this._message_container.destroy(), this._message_container = null, this._message1.destroy(), this._message1 = null, this._message2.destroy(), this._message2 = null, this._message3.destroy(), this._message3 = null, this._star_text.destroy(), this._star_text = null, this._levelStar.dispose(), this._levelStar = null; }, _1d8n; }(PIXI.Container); _1d7q.ChangeSlotitemLayer = _1d8k; }, 1746: function(_1d9b, _1d9c, _1d9d) { 'use strict'; var _1d9e = null; var _1d9f, _1d9g = this && this.__extends || (_1d9f = function(_1d9h, _1d9i) { var _1d9j = null; return _1d9f = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1d9k, _1d9l) { var _1d9m = null; _1d9k.__proto__ = _1d9l; } || function(_1d9n, _1d9o) { var _1d9p = null; for (var _1d9q in _1d9o) Object.prototype.hasOwnProperty.call(_1d9o, _1d9q) && (_1d9n[_1d9q] = _1d9o[_1d9q]); }, _1d9f(_1d9h, _1d9i); }, function(_1d9r, _1d9s) { var _1d9t = null; if ('function' != typeof _1d9s && null !== _1d9s) throw new TypeError('Class extends value ' + String(_1d9s) + ' is not a constructor or null'); function _1d9u() { var _1d9v = null; this.constructor = _1d9r; } _1d9f(_1d9r, _1d9s), _1d9r.prototype = null === _1d9s ? Object.create(_1d9s) : (_1d9u.prototype = _1d9s.prototype, new _1d9u()); }), _1d9w = this && this.__importDefault || function(_1d9x) { var _1d9y = null; return _1d9x && _1d9x.__esModule ? _1d9x : { 'default': _1d9x }; }; defineModule(_1d9c); Object.defineProperty(_1d9c, '__esModule', { 'value': !0 }), _1d9c.MessageBalloons = void 0; var _1d9z = _1d9w(_1d9d(18622)), _1da0 = _1d9d(8744), _1da1 = _1d9d(73195), _1da2 = _1d9d(49231), _1da3 = _1d9d(16512), _1da4 = _1d9d(28103), _1da5 = function(_1da6) { var _1da7 = null; function _1da8() { var _1da9 = null, _1daa = _1da6.call(this) || this; return _1daa._serif1 = new _1dab(), _1daa.addChild(_1daa._serif1), _1daa._serif2 = new _1dac(), _1daa.addChild(_1daa._serif2), _1daa._serif3 = new _1dad(), _1daa.addChild(_1daa._serif3), _1daa._serif4 = new _1dae(), _1daa.addChild(_1daa._serif4), _1daa; } return _1d9g(_1da8, _1da6), _1da8.prototype.initialize = function() { var _1daf = null; this._serif1.initialize(), this._serif1.visible = !0, this._serif2.initialize(), this._serif2.visible = !0, this._serif3.initialize(), this._serif3.visible = !1, this._serif4.initialize(), this._serif4.visible = !1; }, _1da8.prototype.revampReady = function(_1dag, _1dah) { var _1dai = null; this._serif1.update(_1dag, _1dah), this._serif1.visible = !0, this._serif2.visible = !0; var _1daj = [{ 'id': _1dag.req_useitem_id, 'num': _1dag.req_useitem_num }, { 'id': _1dag.req_useitem_id2, 'num': _1dag.req_useitem_num2 }].filter(function(_1dak) { return 71 != _1dak.id && _1dak.id > 0; }); _1daj.length > 0 ? (this._serif3.update(_1daj[0], _1daj[1]), this._serif3.visible = !0) : this._serif3.visible = !1, this._serif4.visible = !1; }, _1da8.prototype.showRevampResult = function(_1dal) { var _1dam = null; this._serif1.initialize(), this._serif1.visible = !1, this._serif2.initialize(), this._serif2.visible = !1, this._serif3.initialize(), this._serif3.visible = !1, this._serif4.update(_1dal), this._serif4.visible = !0; }, _1da8.prototype.dispose = function() { var _1dan = null; this.removeChildren(), this._serif1.dispose(), this._serif2.dispose(), this._serif3.dispose(), this._serif4.dispose(); }, _1da8; }(PIXI.Container); _1d9c.MessageBalloons = _1da5; var _1dab = function(_1dao) { var _1dap = null; function _1daq() { var _1dar = null, _1das = _1dao.call(this) || this; _1das._fuki1_bg = new PIXI.Sprite(_1da2.REVAMP_MAIN.getTexture(20)), _1das._fuki1_bg.position.set(-33, 4), _1das.addChild(_1das._fuki1_bg), _1das._fuki1_serif = []; for (var _1dat = 0; _1dat < 8; _1dat++) _1das._fuki1_serif[_1dat] = new _1da0.TextBox(19, 98690), _1das._fuki1_serif[_1dat].scale.set(0.95, 1), _1das.addChild(_1das._fuki1_serif[_1dat]); return _1das._fuki1_mask0 = new PIXI.Graphics(), _1das._fuki1_mask0.beginFill(0), _1das._fuki1_mask0.drawRect(0, 0, 320, 25), _1das._fuki1_mask0.endFill(), _1das._fuki1_serif[0].addChild(_1das._fuki1_mask0), _1das._fuki1_serif[0].mask = _1das._fuki1_mask0, _1das._fuki1_mask1 = new PIXI.Graphics(), _1das._fuki1_mask1.beginFill(0), _1das._fuki1_mask1.drawRect(3, 0, 320, 25), _1das._fuki1_mask1.endFill(), _1das._fuki1_serif[1].addChild(_1das._fuki1_mask1), _1das._fuki1_serif[1].mask = _1das._fuki1_mask1, _1das._fuki1_slot_mask = new PIXI.Sprite(_1da2.REVAMP_MAIN.getTexture(24)), _1das._fuki1_slot_mask.position.set(0, 0), _1das.addChild(_1das._fuki1_slot_mask), _1das; } return _1d9g(_1daq, _1dao), _1daq.prototype.initialize = function() { var _1dau = null; this._resetMessage(), this._fuki1_serif[0].style.fontSize = 22, this._fuki1_serif[0].style.fill = 4999235, this._fuki1_serif[0].text = '提督、明石の工廠へようこそ!', this._fuki1_serif[0].position.set(21, 67), this._fuki1_serif[1].style.fontSize = 22, this._fuki1_serif[1].style.fill = 4999235, this._fuki1_serif[1].text = 'どの装備の改修を試みますか?', this._fuki1_serif[1].position.set(21, 93), this._fuki1_serif[2].style.fontSize = 19, this._fuki1_serif[2].style.fill = 4999235, this._fuki1_serif[2].text = '', this._fuki1_serif[2].position.set(21, 82), this._fuki1_serif[3].style.fontSize = 19, this._fuki1_serif[3].style.fill = 98690, this._fuki1_serif[3].text = '', this._fuki1_serif[3].position.set(21, 103), this._fuki1_serif[4].style.fontSize = 19, this._fuki1_serif[4].style.fill = 4999235, this._fuki1_serif[4].text = '', this._fuki1_serif[4].position.set(21, 124), this._fuki1_serif[5].style.fontSize = 15, this._fuki1_serif[5].style.fill = 4999235, this._fuki1_serif[5].text = '', this._fuki1_serif[5].position.set(132, 144), this._fuki1_serif[6].style.fontSize = 15, this._fuki1_serif[6].style.fill = 4999235, this._fuki1_serif[6].text = '', this._fuki1_serif[6].position.set(21, 153), this._fuki1_serif[7].style.fontSize = 15, this._fuki1_serif[7].style.fill = 98690, this._fuki1_serif[7].text = '', this._fuki1_serif[7].position.set(174, 153), this._fuki1_slot_mask.visible = !1; }, _1daq.prototype.update = function(_1dav, _1daw) { var _1dax = null; this._resetMessage(); var _1day = _1daw.name; if (0 == _1dav.req_buildkit && 0 == _1dav.req_remodelkit) this._fuki1_serif[0].style.fontSize = 19, this._fuki1_serif[0].style.fill = 16711680, this._fuki1_serif[0].text = '現在選択された装備', this._fuki1_serif[0].position.set(21, 39), this._fuki1_serif[1].style.fontSize = 19, this._fuki1_serif[1].style.fill = 98690, this._fuki1_serif[1].text = _1day, this._fuki1_serif[1].position.set(21, 61), this._fuki1_serif[2].style.fontSize = 19, this._fuki1_serif[2].style.fill = 16711680, this._fuki1_serif[2].text = 'は、これ以上の改修ができません。', this._fuki1_serif[2].position.set(21, 82), this._fuki1_slot_mask.visible = !0, this._fuki1_slot_mask.position.set(231, 40); else { if (0 == _1dav.req_slot_num) this._fuki1_serif[0].style.fontSize = 22, this._fuki1_serif[0].style.fill = 98690, this._fuki1_serif[0].text = _1day, this._fuki1_serif[0].position.set(21, 64), this._fuki1_serif[1].style.fontSize = 21, this._fuki1_serif[1].style.fill = 4999235, this._fuki1_serif[1].text = 'を、改修しますね!', this._fuki1_serif[1].position.set(21, 90), this._fuki1_slot_mask.visible = !0, this._fuki1_slot_mask.position.set(231, 50); else { if (_1dav.req_slot_num > 0) { var _1daz = _1da4.RevampUtils.getNumRevampableItem(_1dav.req_slot_id, _1daw.memID); if (_1daz >= _1dav.req_slot_num) { if (1 == _1dav.change_flag && _1daw.isLocked()) this._fuki1_serif[0].style.fontSize = 19, this._fuki1_serif[0].style.fill = 98690, this._fuki1_serif[0].text = _1day, this._fuki1_serif[0].position.set(21, 19), this._fuki1_serif[1].style.fontSize = 19, this._fuki1_serif[1].style.fill = 4999235, this._fuki1_serif[1].text = 'を、改修しますね!', this._fuki1_serif[1].position.set(21, 42), this._fuki1_serif[2].style.fontSize = 19, this._fuki1_serif[2].style.fill = 16711680, this._fuki1_serif[2].text = 'この装備を改修するには', this._fuki1_serif[2].position.set(21, 82), this._fuki1_serif[3].style.fontSize = 19, this._fuki1_serif[3].style.fill = 16711680, this._fuki1_serif[3].text = '同装備のロック解除が必要です。', this._fuki1_serif[3].position.set(21, 103), this._fuki1_slot_mask.visible = !0, this._fuki1_slot_mask.position.set(231, 7); else { this._fuki1_serif[0].style.fontSize = 19, this._fuki1_serif[0].style.fill = 98690, this._fuki1_serif[0].text = _1day, this._fuki1_serif[0].position.set(21, 19), this._fuki1_serif[1].style.fontSize = 19, this._fuki1_serif[1].style.fill = 4999235, this._fuki1_serif[1].text = 'を、改修しますね!', this._fuki1_serif[1].position.set(21, 42), this._fuki1_serif[2].style.fontSize = 19, this._fuki1_serif[2].style.fill = 4999235, this._fuki1_serif[2].text = 'この改修には、無改修の', this._fuki1_serif[2].position.set(21, 82); var _1db0 = this._getAdjustLayoutInfo(_1dav), _1db1 = _1db0.fontsize, _1db2 = _1db0.space, _1db3 = _1db0.text; this._fuki1_serif[3].style.fontSize = _1db1, this._fuki1_serif[3].style.fill = 98690, this._fuki1_serif[3].style.letterSpacing = _1db2, this._fuki1_serif[3].text = _1db3, this._fuki1_serif[3].position.set(21, 103), this._fuki1_serif[4].style.fontSize = 19, this._fuki1_serif[4].style.fill = 4999235, this._fuki1_serif[4].text = 'が必要です。', this._fuki1_serif[4].position.set(21, 124), this._fuki1_serif[5].style.fontSize = 15, this._fuki1_serif[5].style.fill = 4999235, this._fuki1_serif[5].text = '(※改修で消費します)', this._fuki1_serif[5].position.set(132, 129), this._fuki1_serif[6].style.fontSize = 15, this._fuki1_serif[6].style.fill = 4999235, this._fuki1_serif[6].text = '同改修消費可能装備数', this._fuki1_serif[6].position.set(21, 153), this._fuki1_serif[7].style.fontSize = 15, this._fuki1_serif[7].style.fill = 98690, this._fuki1_serif[7].text = '×' + _1daz, this._fuki1_serif[7].position.set(162, 153), this._fuki1_slot_mask.visible = !0, this._fuki1_slot_mask.position.set(231, 7); } } else { this._fuki1_serif[0].style.fontSize = 19, this._fuki1_serif[0].style.fill = 98690, this._fuki1_serif[0].text = _1day, this._fuki1_serif[0].position.set(21, 19), this._fuki1_serif[1].style.fontSize = 19, this._fuki1_serif[1].style.fill = 4999235, this._fuki1_serif[1].text = 'を、改修しますね!', this._fuki1_serif[1].position.set(21, 42), this._fuki1_serif[2].style.fontSize = 19, this._fuki1_serif[2].style.fill = 16711680, this._fuki1_serif[2].text = 'この改修に必要となる', this._fuki1_serif[2].position.set(21, 82), this._fuki1_serif[3].style.fontSize = 19, this._fuki1_serif[3].style.fill = 16711680, this._fuki1_serif[3].text = '(無改修)', this._fuki1_serif[3].position.set(21, 103); var _1db4 = this._getAdjustLayoutInfo(_1dav); _1db1 = _1db4.fontsize, _1db2 = _1db4.space, _1db3 = _1db4.text, (this._fuki1_serif[4].style.fontSize = _1db1, this._fuki1_serif[4].style.fill = 98690, this._fuki1_serif[4].style.letterSpacing = _1db2, this._fuki1_serif[4].text = _1db3, this._fuki1_serif[4].position.set(21, 124), this._fuki1_serif[5].style.fontSize = 19, this._fuki1_serif[5].style.fill = 16711680, this._fuki1_serif[5].text = 'が足りません。', this._fuki1_serif[5].position.set(21, 145), this._fuki1_slot_mask.visible = !0, this._fuki1_slot_mask.position.set(231, 7)); } } } } var _1db5 = [{ 'id': _1dav.req_useitem_id, 'num': _1dav.req_useitem_num }, { 'id': _1dav.req_useitem_id2, 'num': _1dav.req_useitem_num2 }].filter(function(_1db6) { return 71 == _1db6.id; }); if (_1db5.length > 0) { var _1db7 = _1db5.pop(); (null == _1db7 ? void 0 : _1db7.num) <= _1d9z.default.model.useItem.getCount(null == _1db7 ? void 0 : _1db7.id) ? (this._fuki1_serif[0].style.fontSize = 19, this._fuki1_serif[0].style.fill = 98690, this._fuki1_serif[0].text = _1day, this._fuki1_serif[0].position.set(21, 19), this._fuki1_serif[1].style.fontSize = 19, this._fuki1_serif[1].style.fill = 4999235, this._fuki1_serif[1].text = 'を、改修しますね!', this._fuki1_serif[1].position.set(21, 42), this._fuki1_serif[2].style.fontSize = 19, this._fuki1_serif[2].style.fill = 4999235, this._fuki1_serif[2].text = 'この改修には、', this._fuki1_serif[2].position.set(21, 82), this._fuki1_serif[3].style.fontSize = 19, this._fuki1_serif[3].style.fill = 6201187, this._fuki1_serif[3].text = _1d9z.default.model.useItem.get(_1dav.req_useitem_id).name + (_1dav.req_useitem_num < 2 ? '' : '×' + _1dav.req_useitem_num), this._fuki1_serif[3].position.set(21, 103), this._fuki1_serif[4].style.fontSize = 19, this._fuki1_serif[4].style.fill = 4999235, this._fuki1_serif[4].text = 'が必要です。', this._fuki1_serif[4].position.set(21, 124), this._fuki1_serif[5].style.fontSize = 15, this._fuki1_serif[5].style.fill = 4999235, this._fuki1_serif[5].text = '(※改修で消費します)', this._fuki1_serif[5].position.set(132, 129), this._fuki1_slot_mask.visible = !0, this._fuki1_slot_mask.position.set(231, 7)) : (this._fuki1_serif[0].style.fontSize = 19, this._fuki1_serif[0].style.fill = 98690, this._fuki1_serif[0].text = _1day, this._fuki1_serif[0].position.set(21, 19), this._fuki1_serif[1].style.fontSize = 19, this._fuki1_serif[1].style.fill = 4999235, this._fuki1_serif[1].text = 'を、改修しますね!', this._fuki1_serif[1].position.set(21, 42), this._fuki1_serif[2].style.fontSize = 19, this._fuki1_serif[2].style.fill = 16711680, this._fuki1_serif[2].text = 'この改修に必要となる', this._fuki1_serif[2].position.set(21, 82), this._fuki1_serif[3].style.fontSize = 19, this._fuki1_serif[3].style.fill = 6201187, this._fuki1_serif[3].text = _1d9z.default.model.useItem.get(_1dav.req_useitem_id).name + (_1dav.req_useitem_num < 2 ? '' : '×' + _1dav.req_useitem_num), this._fuki1_serif[3].position.set(21, 103), this._fuki1_serif[4].style.fontSize = 19, this._fuki1_serif[4].style.fill = 16711680, this._fuki1_serif[4].text = 'が足りません。', this._fuki1_serif[4].position.set(21, 124), this._fuki1_slot_mask.visible = !0, this._fuki1_slot_mask.position.set(231, 7)); } }, _1daq.prototype._resetMessage = function() { var _1db8 = null; this._fuki1_serif.forEach(function(_1db9) { var _1dba = null; _1db9.text = '', _1db9.style.letterSpacing = 0; }); }, _1daq.prototype.dispose = function() { var _1dbb = null; this.removeChildren(), this._fuki1_serif.forEach(function(_1dbc) { var _1dbd = null; _1dbc.destroy(); }), this._fuki1_serif = null, this._fuki1_mask0.destroy(), this._fuki1_mask1.destroy(), this._fuki1_bg.destroy(), this._fuki1_bg = null; }, _1daq.prototype._getAdjustLayoutInfo = function(_1dbe) { var _1dbf = null; switch (_1d9z.default.model.slot.getMst(_1dbe.req_slot_id).mstID) { case 344: return { 'fontsize': 16.5, 'space': -2, 'text': _1d9z.default.model.slot.getMst(_1dbe.req_slot_id).name }; case 301: case 440: case 441: case 511: return { 'fontsize': 16, 'space': 0, 'text': _1d9z.default.model.slot.getMst(_1dbe.req_slot_id).name + '×' + _1dbe.req_slot_num }; default: return { 'fontsize': 19, 'space': 0, 'text': _1d9z.default.model.slot.getMst(_1dbe.req_slot_id).name + '×' + _1dbe.req_slot_num }; } }, _1daq; }(PIXI.Container), _1dac = function(_1dbg) { var _1dbh = null; function _1dbi() { var _1dbj = null, _1dbk = _1dbg.call(this) || this; _1dbk._fuki2_bg = new PIXI.Sprite(_1da2.REVAMP_MAIN.getTexture(21)), _1dbk._fuki2_bg.position.set(7, 294), _1dbk.addChild(_1dbk._fuki2_bg), _1dbk._fuki2_serif = []; for (var _1dbl = 0; _1dbl < 2; _1dbl++) _1dbk._fuki2_serif[_1dbl] = new _1da0.TextBox(21, 4999235), _1dbk._fuki2_serif[_1dbl].text = '', _1dbk._fuki2_serif[_1dbl].anchor.set(1, 0), _1dbk._fuki2_serif[_1dbl].position.set(253, 314 + 34 * _1dbl), _1dbk.addChild(_1dbk._fuki2_serif[_1dbl]); return _1dbk; } return _1d9g(_1dbi, _1dbg), _1dbi.prototype.initialize = function() { var _1dbm = null; this._fuki2_serif[0].text = _1d9z.default.model.useItem.getMaterialCounts().devKit + '', this._fuki2_serif[1].text = _1d9z.default.model.useItem.getMaterialCounts().revKit + ''; }, _1dbi.prototype.dispose = function() { var _1dbn = null; this.removeChildren(), this._fuki2_serif.forEach(function(_1dbo) { var _1dbp = null; _1dbo.destroy(); }), this._fuki2_serif = null, this._fuki2_bg.destroy(), this._fuki2_bg = null; }, _1dbi; }(PIXI.Container), _1dad = function(_1dbq) { var _1dbr = null; function _1dbs() { var _1dbt = null, _1dbu = _1dbq.call(this) || this; _1dbu._fuki3_bg = new PIXI.Sprite(_1da2.REVAMP_MAIN.getTexture(23)), _1dbu._fuki3_bg.position.set(-33, 189), _1dbu.addChild(_1dbu._fuki3_bg), _1dbu._fuki3_serif = []; for (var _1dbv = 0; _1dbv < 6; _1dbv++) _1dbu._fuki3_serif[_1dbv] = new _1da0.TextBox(19, 98690), _1dbu._fuki3_serif[_1dbv].scale.set(0.95, 1), _1dbu.addChild(_1dbu._fuki3_serif[_1dbv]); return _1dbu; } return _1d9g(_1dbs, _1dbq), _1dbs.prototype.initialize = function() { var _1dbw = null; this._fuki3_serif[2].style.fontSize = 18, this._fuki3_serif[5].style.fontSize = 18; }, _1dbs.prototype.update = function(_1dbx, _1dby) { var _1dbz = null; if (this._reset_message(), null != _1dbx && this._fuki3_serif[0].position.set(20, 215), null != _1dby && this._fuki3_serif[0].position.set(20, 193), (null == _1dbx ? void 0 : _1dbx.num) > 0) { var _1dc0 = _1d9z.default.model.useItem.get(_1dbx.id).name, _1dc1 = _1d9z.default.model.useItem.getCount(_1dbx.id); this._fuki3_serif[0].text = _1dc0 + '×' + _1dbx.num, this._fuki3_serif[1].text = 'が必要です。', this._fuki3_serif[1].position.set(this._fuki3_serif[0].position.x + this._fuki3_serif[0].width, this._fuki3_serif[0].position.y), this._fuki3_serif[2].text = '(現在保有数×' + _1dc1 + ')', this._fuki3_serif[2].position.set(this._fuki3_serif[0].position.x, this._fuki3_serif[0].position.y + this._fuki3_serif[0].height), _1dbx.num <= _1dc1 ? (this._fuki3_serif[0].style.fill = 98690, this._fuki3_serif[1].style.fill = 4999235, this._fuki3_serif[2].style.fill = 4999235) : (this._fuki3_serif[0].style.fill = 15859712, this._fuki3_serif[1].style.fill = 15859712, this._fuki3_serif[2].style.fill = 4999235); } if ((null == _1dby ? void 0 : _1dby.num) > 0) { var _1dc2 = _1d9z.default.model.useItem.get(_1dby.id).name, _1dc3 = _1d9z.default.model.useItem.getCount(_1dby.id); this._fuki3_serif[3].text = _1dc2 + '×' + _1dby.num, this._fuki3_serif[3].position.set(this._fuki3_serif[0].position.x, this._fuki3_serif[2].position.y + this._fuki3_serif[2].height + 2), this._fuki3_serif[4].text = 'が必要です。', this._fuki3_serif[4].position.set(this._fuki3_serif[3].position.x + this._fuki3_serif[3].width, this._fuki3_serif[3].position.y), this._fuki3_serif[5].text = '(現在保有数×' + _1dc3 + ')', this._fuki3_serif[5].position.set(this._fuki3_serif[2].position.x, this._fuki3_serif[3].position.y + this._fuki3_serif[3].height), _1dby.num <= _1dc3 ? (this._fuki3_serif[3].style.fill = 98690, this._fuki3_serif[4].style.fill = 4999235, this._fuki3_serif[5].style.fill = 4999235) : (this._fuki3_serif[3].style.fill = 15859712, this._fuki3_serif[4].style.fill = 15859712, this._fuki3_serif[5].style.fill = 4999235); } }, _1dbs.prototype._reset_message = function() { var _1dc4 = null; this._fuki3_serif.forEach(function(_1dc5) { var _1dc6 = null; return _1dc5.text = ''; }); }, _1dbs.prototype.dispose = function() { var _1dc7 = null; this.removeChildren(), this._fuki3_serif.forEach(function(_1dc8) { var _1dc9 = null; _1dc8.destroy(); }), this._fuki3_serif = null; }, _1dbs; }(PIXI.Container), _1dae = function(_1dca) { var _1dcb = null; function _1dcc() { var _1dcd = null, _1dce = _1dca.call(this) || this; return _1dce._fuki4_bg = new PIXI.Sprite(_1da2.REVAMP_MAIN.getTexture(22)), _1dce._fuki4_bg.position.set(-453, -30), _1dce.addChild(_1dce._fuki4_bg), _1dce._fuki4_icon_type = new PIXI.Sprite(_1da2.REVAMP_MAIN.getTexture(18)), _1dce._fuki4_icon_type.anchor.set(0.5, 0.5), _1dce._fuki4_icon_type.position.set(-417, 26), _1dce.addChild(_1dce._fuki4_icon_type), _1dce._fuki4_serif = [], _1dce._fuki4_serif[0] = new _1da0.TextBox(22, 4999235), _1dce._fuki4_serif[0].position.set(-426, -22), _1dce.addChild(_1dce._fuki4_serif[0]), _1dce._fuki4_mask = new PIXI.Graphics(), _1dce._fuki4_mask.beginFill(16777215), _1dce._fuki4_mask.drawRect(-400, 12, 270, 39), _1dce.addChild(_1dce._fuki4_mask), _1dce._fuki4_serif[1] = new _1da0.TextBox(22, 98690), _1dce._fuki4_serif[1].position.set(-394, 12), _1dce._fuki4_serif[1].mask = _1dce._fuki4_mask, _1dce.addChild(_1dce._fuki4_serif[1]), _1dce._fuki4_slot_mask = new PIXI.Sprite(_1da2.REVAMP_MAIN.getTexture(19)), _1dce._fuki4_slot_mask.position.set(-261, 4), _1dce.addChild(_1dce._fuki4_slot_mask), _1dce._fuki4_star = new PIXI.Sprite(_1da2.REVAMP_MAIN.getTexture(26)), _1dce._fuki4_star.position.set(-429, 48), _1dce.addChild(_1dce._fuki4_star), _1dce._fuki4_plus = new PIXI.Sprite(_1da2.REVAMP_MAIN.getTexture(25)), _1dce._fuki4_plus.position.set(-411, 52), _1dce.addChild(_1dce._fuki4_plus), _1dce._fuki4_starnum = new _1da0.TextBox(22, 98690), _1dce._fuki4_starnum.position.set(-397, 46), _1dce._fuki4_starnum.text = '', _1dce.addChild(_1dce._fuki4_starnum), _1dce._fuki4_starM = new PIXI.Sprite(_1da2.REVAMP_MAIN.getTexture(27)), _1dce._fuki4_starM.position.set(-426, 45), _1dce.addChild(_1dce._fuki4_starM), _1dce._revampLevelParticleLayer = new _1da3.ParticleLayer(), _1dce._revampLevelParticleLayer.position.set(-447, 27), _1dce.addChild(_1dce._revampLevelParticleLayer), _1dce; } return _1d9g(_1dcc, _1dca), _1dcc.prototype.initialize = function() { var _1dcf = null; this._revampLevelParticleLayer.visible = !1, this._revampLevelParticleLayer.dispose(), this._setstars(0); }, _1dcc.prototype.update = function(_1dcg) { var _1dch = null; if (_1dcg.success) { var _1dci = _1dcg.remodel_id[1]; this._fuki4_serif[0].text = '改修に成功しました!'; var _1dcj = _1d9z.default.model.slot.getMst(_1dci).iconType; switch (this._fuki4_icon_type.texture = _1da1.COMMON_ICON_WEAPON.getTextureFromMstID(_1dcj), _1dcj) { case 4: case 15: this._fuki4_icon_type.position.y = 23; break; case 5: case 13: case 16: case 43: this._fuki4_icon_type.position.y = 25; break; case 23: case 36: case 42: this._fuki4_icon_type.position.y = 24; break; case 24: case 34: this._fuki4_icon_type.position.y = 27; break; default: this._fuki4_icon_type.position.y = 26; } this._fuki4_serif[1].text = _1d9z.default.model.slot.getMst(_1dci).name, this._fuki4_serif[1].visible = !0, this._fuki4_icon_type.visible = !0, this._fuki4_slot_mask.visible = !0; var _1dck = _1d9z.default.model.slot.get(_1dcg.target_slotitem_memid); this._setstars(null == _1dck ? void 0 : _1dck.level), this._showParticle(); } else this._fuki4_serif[0].text = '改修に失敗しました...。', this._fuki4_serif[1].visible = !1, this._fuki4_icon_type.visible = !1, this._fuki4_slot_mask.visible = !1, this._fuki4_star.visible = !1, this._fuki4_plus.visible = !1, this._fuki4_starnum.visible = !1, this._fuki4_starM.visible = !1; }, _1dcc.prototype._showParticle = function() { var _1dcl = null; this._revampLevelParticleLayer.visible = !0, this._revampLevelParticleLayer.initialize(); }, _1dcc.prototype._setstars = function(_1dcm) { var _1dcn = null; 0 == _1dcm ? (this._fuki4_star.visible = !1, this._fuki4_plus.visible = !1, this._fuki4_starnum.visible = !1, this._fuki4_starM.visible = !1, this._fuki4_starnum.text = '') : _1dcm < 10 ? (this._fuki4_star.visible = !0, this._fuki4_plus.visible = !0, this._fuki4_starnum.visible = !0, this._fuki4_starM.visible = !1, this._fuki4_starnum.text = _1dcm + '') : (this._fuki4_star.visible = !1, this._fuki4_plus.visible = !1, this._fuki4_starnum.visible = !1, this._fuki4_starM.visible = !0, this._fuki4_starnum.text = ''); }, _1dcc.prototype.dispose = function() { var _1dco = null; this.removeChildren(), this._fuki4_serif.forEach(function(_1dcp) { var _1dcq = null; _1dcp.destroy(); }), this._fuki4_serif = null, this._fuki4_starnum.destroy(), this._fuki4_starnum = null, this._revampLevelParticleLayer.visible = !1, this._revampLevelParticleLayer.dispose(); }, _1dcc; }(PIXI.Container); }, 54758: function(_1dcr, _1dcs, _1dct) { 'use strict'; var _1dcu = null; var _1dcv, _1dcw = this && this.__extends || (_1dcv = function(_1dcx, _1dcy) { var _1dcz = null; return _1dcv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1dd0, _1dd1) { var _1dd2 = null; _1dd0.__proto__ = _1dd1; } || function(_1dd3, _1dd4) { var _1dd5 = null; for (var _1dd6 in _1dd4) Object.prototype.hasOwnProperty.call(_1dd4, _1dd6) && (_1dd3[_1dd6] = _1dd4[_1dd6]); }, _1dcv(_1dcx, _1dcy); }, function(_1dd7, _1dd8) { var _1dd9 = null; if ('function' != typeof _1dd8 && null !== _1dd8) throw new TypeError('Class extends value ' + String(_1dd8) + ' is not a constructor or null'); function _1dda() { var _1ddb = null; this.constructor = _1dd7; } _1dcv(_1dd7, _1dd8), _1dd7.prototype = null === _1dd8 ? Object.create(_1dd8) : (_1dda.prototype = _1dd8.prototype, new _1dda()); }), _1ddc = this && this.__importDefault || function(_1ddd) { var _1dde = null; return _1ddd && _1ddd.__esModule ? _1ddd : { 'default': _1ddd }; }; defineModule(_1dcs); Object.defineProperty(_1dcs, '__esModule', { 'value': !0 }), _1dcs.RecipeBox = void 0; var _1ddf = _1dct(64052), _1ddg = _1dct(8744), _1ddh = _1ddc(_1dct(18622)), _1ddi = _1dct(91976), _1ddj = _1dct(25805), _1ddk = _1dct(97753), _1ddl = _1dct(20194), _1ddm = _1dct(71843), _1ddn = _1dct(28103), _1ddo = _1dct(35380), _1ddp = _1dct(79899), _1ddq = _1dct(73195), _1ddr = _1dct(37760), _1dds = _1dct(31000), _1ddt = function(_1ddu) { var _1ddv = null; function _1ddw(_1ddx, _1ddy, _1ddz, _1de0) { var _1de1 = null, _1de2 = _1ddu.call(this) || this; return _1de2._onClick_toggle = function() { var _1de3 = null; _1de2._updateMaterial(_1de2._detailModel), _1de2._updateStartBtn(_1de2._detailModel); }, _1de2._onMouseOver = function() { var _1de4 = null; switch (_1de2._box_bg_selected.visible = !0, _1de2._model.sp_type) { case 1: case 2: _1de2._huki.visible = !0; break; default: _1de2._huki.visible = !1; } }, _1de2._onMouseOut = function() { var _1de5 = null; _1de2._box_bg_selected.visible = !1, _1de2._huki.visible = !1; }, _1de2._onClick_cancel = function() { var _1de6 = null; null == _1de2._toggle_btn.tween && (_1dds.SE.play('205'), null == _1de2 || _1de2._cb_onClick_cancel(_1de2._box_index)); }, _1de2._onClick_start = function() { var _1de7 = null; null != _1de2._selected_slotitem && null == _1de2._toggle_btn.tween && (_1dds.SE.play('204'), _1de2._toggle_btn.deactivate(), _1de2._btn_start.texture = _1ddf.REVAMP_BOX.getTexture(14), _1de2._btn_start.interactive = _1de2._btn_start.buttonMode = !1, _1de2._btn_cancel.texture = _1ddf.REVAMP_BOX.getTexture(6), _1de2._btn_cancel.interactive = _1de2._btn_cancel.buttonMode = !1, null == _1de2 || _1de2._cb_onClick_start(_1de2._box_index, _1de2._selected_slotitem)); }, _1de2._onClick_open_list = function() { var _1de8 = null; _1dds.SE.play('249'), null == _1de2 || _1de2._cb_onClick_open_list(_1de2._box_index); }, _1de2._box_index = _1ddx, _1de2._cb_onClick_open_list = _1ddy, _1de2._cb_onClick_start = _1ddz, _1de2._cb_onClick_cancel = _1de0, _1de2._box_bg_selected = new PIXI.Sprite(), _1de2._box_bg_selected.position.set(-15, -15), _1de2._box_bg_selected.visible = !1, _1de2.addChild(_1de2._box_bg_selected), _1de2._bg = new PIXI.Sprite(_1ddf.REVAMP_BOX.getTexture(0)), _1de2._bg.position.set(0, 0), _1de2.addChild(_1de2._bg), _1de2._frame_item = new PIXI.Sprite(_1ddf.REVAMP_BOX.getTexture(16)), _1de2._frame_item.position.set(6, 6), _1de2.addChild(_1de2._frame_item), _1de2._frame_name = new PIXI.Sprite(_1ddf.REVAMP_BOX.getTexture(17)), _1de2._frame_name.position.set(85, 6), _1de2.addChild(_1de2._frame_name), _1de2._slotItemIcon = new PIXI.Sprite(), _1de2._slotItemIcon.position.set(43, 45), _1de2._slotItemIcon.anchor.set(0.5, 0.5), _1de2._slotItemIcon.scale.set(0.2, 0.2), _1de2.addChild(_1de2._slotItemIcon), _1de2._slotItemIcon_mask = new PIXI.Graphics(), _1de2._slotItemIcon_mask.beginFill(16777215), _1de2._slotItemIcon_mask.drawRect(0, 0, 82, 85), _1de2._slotItemIcon_mask.endFill(), _1de2.addChild(_1de2._slotItemIcon_mask), _1de2._slotItemIcon.mask = _1de2._slotItemIcon_mask, _1de2._slotTypeItemIcon = new PIXI.Sprite(), _1de2._slotTypeItemIcon.position.set(108, 28), _1de2._slotTypeItemIcon.anchor.set(0.5, 0.5), _1de2.addChild(_1de2._slotTypeItemIcon), _1de2._frame_name_mask = new PIXI.Graphics(), _1de2._frame_name_mask.beginFill(16777215), _1de2._frame_name_mask.drawRect(130, 10, 291, 36), _1de2.addChild(_1de2._frame_name_mask), _1de2._slotitem_name = new _1ddg.TextBox(21, 4999235), _1de2._slotitem_name.text = '', _1de2._slotitem_name.mask = _1de2._frame_name_mask, _1de2._slotitem_name.position.set(132, 15), _1de2.addChild(_1de2._slotitem_name), _1de2._material_box = new _1ddi.MaterialBox(), _1de2._material_box.position.set(7, 88), _1de2.addChild(_1de2._material_box), _1de2._frame_name_mask_sprite = new PIXI.Sprite(_1ddf.REVAMP_BOX.getTexture(18)), _1de2._frame_name_mask_sprite.scale.set(0.4, 1), _1de2._frame_name_mask_sprite.position.set(373, 10), _1de2.addChild(_1de2._frame_name_mask_sprite), _1de2._btn_select = new PIXI.Sprite(), _1de2._btn_select.position.set(282, 91), _1de2.addChild(_1de2._btn_select), _1de2._huki = new PIXI.Sprite(_1ddf.REVAMP_BOX.getTexture(19)), _1de2._huki.position.set(415, 95), _1de2._huki.visible = !1, _1de2.addChild(_1de2._huki), _1de2._toggle_btn = new _1ddm.ToggleBtn(_1de2._onClick_toggle), _1de2._toggle_btn.position.set(351, 49), _1de2._toggle_btn.visible = !1, _1de2.addChild(_1de2._toggle_btn), _1de2._btn_cancel = new _1ddl.Button(_1de2._onClick_cancel), _1de2._btn_cancel.initialize(_1ddf.REVAMP_BOX.getTexture(5), _1ddf.REVAMP_BOX.getTexture(7)), _1de2._btn_cancel.visible = !1, _1de2._btn_cancel.position.set(282, 90), _1de2.addChild(_1de2._btn_cancel), _1de2._btn_start = new _1ddl.Button(_1de2._onClick_start), _1de2._btn_start.initialize(_1ddf.REVAMP_BOX.getTexture(13), _1ddf.REVAMP_BOX.getTexture(15)), _1de2._btn_start.visible = !1, _1de2._btn_start.position.set(282, 121), _1de2.addChild(_1de2._btn_start), _1de2._require_option_item = new PIXI.Sprite(_1ddf.REVAMP_BOX.getTexture(33)), _1de2._require_option_item.visible = !1, _1de2._require_option_item.position.set(132, 121), _1de2.addChild(_1de2._require_option_item), _1de2._icon_slot_level = new _1ddj.IconSlotLevel(), _1de2._icon_slot_level.position.set(376, 19), _1de2._icon_slot_level.visible = !1, _1de2.addChild(_1de2._icon_slot_level), _1de2._icon_stars = new _1ddk.IconStars(), _1de2._icon_stars.position.set(85, 60), _1de2._icon_stars.visible = !1, _1de2.addChild(_1de2._icon_stars), _1de2._click_area = new _1ddp.AreaBox(0, 16774898, _1de2._bg.width, _1de2._bg.height), _1de2._click_area.position.set(_1de2._bg.x, _1de2._bg.y), _1de2._click_area.on(_1ddo.EventType.MOUSEOVER, _1de2._onMouseOver), _1de2._click_area.on(_1ddo.EventType.MOUSEOUT, _1de2._onMouseOut), _1de2._click_area.on(_1ddo.EventType.CLICK, _1de2._onClick_open_list), _1de2.addChild(_1de2._click_area), _1de2; } return _1dcw(_1ddw, _1ddu), Object.defineProperty(_1ddw.prototype, 'isRevampEnsure', { 'get': function() { var _1de9 = null; return this._toggle_btn.ensure ? 1 : 0; }, 'enumerable': !1, 'configurable': !0 }), _1ddw.prototype.initialize = function(_1dea) { var _1deb = null; this._model = _1dea; var _1dec = _1ddh.default.model.slot.getMst(_1dea.slot_id); this._box_bg_selected.texture = _1ddf.REVAMP_BOX.getTexture(this.getTexture_no_selected_bg(_1dea.sp_type)), this._slotitem_name.text = _1dec.name, this._slotTypeItemIcon.texture = _1ddq.COMMON_ICON_WEAPON.getTextureFromMstID(_1dec.iconType), this._slotItemIcon.texture = PIXI.Texture.fromImage(_1ddr.SlotLoader.getPath(_1dea.slot_id, 'item_on')), this._material_box.initilaize(_1dea); }, _1ddw.prototype.update = function() { var _1ded = null; _1ddn.RevampUtils.getRevampableItems(this._model.slot_id).items.length > 0 ? (this._btn_select.texture = _1ddf.REVAMP_BOX.getTexture(11), this._activate()) : (this._btn_select.texture = _1ddf.REVAMP_BOX.getTexture(12), this._deactivate()); }, _1ddw.prototype.deactivate = function() { var _1dee = null; this._deactivate(); }, _1ddw.prototype.showDetail = function(_1def, _1deg) { var _1deh = null; this._detailModel = _1def, this._selected_slotitem = _1deg, this._btn_select.visible = !1, this._click_area.interactive = this._click_area.buttonMode = !1, this._toggle_btn.initialize(), this._toggle_btn.visible = !0, this._updateRequireOption(_1def), this._updateSlotlevel(this._selected_slotitem.level), this._updateMaterial(_1def), this._icon_slot_level.visible = !0, this._icon_stars.visible = !0, this._btn_start.visible = !0, this._btn_cancel.visible = !0, this._btn_cancel.texture = _1ddf.REVAMP_BOX.getTexture(5); }, _1ddw.prototype.activateDetail = function() { var _1dei = null; this._toggle_btn.activate(), this._btn_cancel.interactive = this._btn_cancel.buttonMode = !0, this._updateStartBtn(this._detailModel); }, _1ddw.prototype.updateSlotlevel = function(_1dej) { var _1dek = null; this._updateSlotlevel(_1dej); }, _1ddw.prototype.clearDetail = function() { var _1del = null; this._btn_select.visible = !0, this._toggle_btn.deactivate(), this._toggle_btn.visible = !1, this._icon_slot_level.visible = !1, this._icon_stars.visible = !1, this._updateSlotlevel(0), this._material_box.update(!1, this._model.req_buildkit, this._model.req_remodelkit), this._require_option_item.texture = _1ddf.REVAMP_BOX.getTexture(33), this._require_option_item.visible = !1, this._btn_start.visible = !1, this._btn_start.interactive = this._btn_start.buttonMode = !1, this._btn_cancel.visible = !1, this._btn_cancel.interactive = this._btn_cancel.buttonMode = !1, this._detailModel = null, this._selected_slotitem = null; }, _1ddw.prototype._activate = function() { var _1dem = null; this._click_area.interactive = this._click_area.buttonMode = !0; }, _1ddw.prototype._deactivate = function() { var _1den = null; this._click_area.interactive = this._click_area.buttonMode = !1; }, _1ddw.prototype.getTexture_no_selected_bg = function(_1deo) { switch (_1deo) { case 1: return 2; case 2: return 3; default: return 1; } }, _1ddw.prototype._updateRequireOption = function(_1dep) { var _1deq = null; 71 == _1dep.req_useitem_id ? this._require_option_item.texture = _1ddf.REVAMP_BOX.getTexture(32) : 0 != _1dep.req_slot_num ? this._require_option_item.texture = _1ddf.REVAMP_BOX.getTexture(34) : this._require_option_item.texture = _1ddf.REVAMP_BOX.getTexture(33), this._require_option_item.visible = !0; }, _1ddw.prototype._updateStartBtn = function(_1der) { var _1des = null; this._checkRevampFeasible(_1der) ? (this._btn_start.updateTexture(_1ddf.REVAMP_BOX.getTexture(13), _1ddf.REVAMP_BOX.getTexture(15)), this._btn_start.interactive = this._btn_start.buttonMode = !0) : (this._btn_start.updateTexture(_1ddf.REVAMP_BOX.getTexture(14), _1ddf.REVAMP_BOX.getTexture(14)), this._btn_start.interactive = this._btn_start.buttonMode = !1); }, _1ddw.prototype._checkRevampFeasible = function(_1det) { var _1deu = null, _1dev, _1dew, _1dex = this._toggle_btn.ensure, _1dey = _1ddh.default.model.useItem.getMaterialCounts(), _1dez = _1dex ? _1det.certain_buildkit : _1det.req_buildkit, _1df0 = _1dex ? _1det.certain_remodelkit : _1det.req_remodelkit, _1df1 = { 'fuel': _1dey.fuel, 'ammo': _1dey.ammo, 'steel': _1dey.steel, 'baux': _1dey.baux, 'revkit': _1dey.revKit, 'devkit': _1dey.devKit }, _1df2 = { 'fuel': this._model.req_fuel, 'ammo': this._model.req_bull, 'steel': this._model.req_steel, 'baux': this._model.req_bauxite, 'revkit': _1df0, 'devkit': _1dez }; if (_1dev = _1df1, _1dew = _1df2, Object.keys(_1dev).some(function(_1df3) { return _1dew[_1df3] > _1dev[_1df3]; })) return !1; var _1df4 = this._selected_slotitem; if (_1det.req_slot_num > 0) { var _1df5 = _1ddn.RevampUtils.getNumRevampableItem(_1det.req_slot_id, this._selected_slotitem.memID); if (_1det.req_slot_num > _1df5) return !1; } return (0 != _1det.req_buildkit || 0 != _1det.req_remodelkit) && ((1 != _1det.change_flag || !_1df4.isLocked()) && (!(_1det.req_useitem_num > 0 && _1det.req_useitem_num > _1ddh.default.model.useItem.getCount(_1det.req_useitem_id)) && !(_1det.req_useitem_num2 > 0 && _1det.req_useitem_num2 > _1ddh.default.model.useItem.getCount(_1det.req_useitem_id2)))); }, _1ddw.prototype._updateSlotlevel = function(_1df6) { var _1df7 = null, _1df8, _1df9, _1dfa, _1dfb, _1dfc, _1dfd; _1df6 > 0 ? (null === (_1df8 = this._frame_name_mask_sprite) || void 0 === _1df8 || _1df8.position.set(301, 10), null === (_1df9 = this._frame_name_mask_sprite) || void 0 === _1df9 || _1df9.scale.set(1)) : (null === (_1dfa = this._frame_name_mask_sprite) || void 0 === _1dfa || _1dfa.position.set(373, 10), null === (_1dfb = this._frame_name_mask_sprite) || void 0 === _1dfb || _1dfb.scale.set(0.4, 1)), null === (_1dfc = this._icon_slot_level) || void 0 === _1dfc || _1dfc.update(_1df6), null === (_1dfd = this._icon_stars) || void 0 === _1dfd || _1dfd.update(_1df6); }, _1ddw.prototype._updateMaterial = function(_1dfe) { var _1dff = null, _1dfg = this._toggle_btn.ensure ? _1dfe.certain_buildkit : _1dfe.req_buildkit, _1dfh = this._toggle_btn.ensure ? _1dfe.certain_remodelkit : _1dfe.req_remodelkit; this._material_box.update(this._toggle_btn.ensure, _1dfg, _1dfh); }, _1ddw.prototype.dispose = function() { var _1dfi = null, _1dfj, _1dfk, _1dfl, _1dfm, _1dfn, _1dfo, _1dfp, _1dfq, _1dfr, _1dfs, _1dft, _1dfu, _1dfv, _1dfw, _1dfx, _1dfy, _1dfz, _1dg0; this.off(_1ddo.EventType.MOUSEOVER, this._onMouseOver), this.off(_1ddo.EventType.MOUSEOUT, this._onMouseOut), this.removeChildren(), null === (_1dfj = this._box_bg_selected) || void 0 === _1dfj || _1dfj.destroy(), this._box_bg_selected = null, null === (_1dfk = this._bg) || void 0 === _1dfk || _1dfk.destroy(), this._bg = null, null === (_1dfl = this._frame_item) || void 0 === _1dfl || _1dfl.destroy(), this._frame_item = null, null === (_1dfm = this._frame_name) || void 0 === _1dfm || _1dfm.destroy(), this._frame_name = null, null === (_1dfn = this._frame_name_mask_sprite) || void 0 === _1dfn || _1dfn.destroy(), this._frame_name_mask_sprite = null, null === (_1dfo = this._frame_name_mask) || void 0 === _1dfo || _1dfo.destroy(), this._frame_name_mask = null, null === (_1dfp = this._slotItemIcon) || void 0 === _1dfp || _1dfp.destroy(), this._slotItemIcon = null, null === (_1dfq = this._slotItemIcon_mask) || void 0 === _1dfq || _1dfq.destroy(), this._slotItemIcon_mask = null, null === (_1dfr = this._slotTypeItemIcon) || void 0 === _1dfr || _1dfr.destroy(), this._slotTypeItemIcon = null, null === (_1dfs = this._slotitem_name) || void 0 === _1dfs || _1dfs.destroy(), this._slotitem_name = null, null === (_1dft = this._material_box) || void 0 === _1dft || _1dft.dispose(), this._material_box = null, null === (_1dfu = this._btn_select) || void 0 === _1dfu || _1dfu.destroy(), this._btn_select = null, null === (_1dfv = this._toggle_btn) || void 0 === _1dfv || _1dfv.dispose(), this._toggle_btn = null, null === (_1dfw = this._btn_cancel) || void 0 === _1dfw || _1dfw.dispose(), this._btn_cancel = null, null === (_1dfx = this._btn_start) || void 0 === _1dfx || _1dfx.dispose(), this._btn_start = null, null === (_1dfy = this._require_option_item) || void 0 === _1dfy || _1dfy.destroy(), this._require_option_item = null, null === (_1dfz = this._icon_slot_level) || void 0 === _1dfz || _1dfz.dispose(), this._icon_slot_level = null, null === (_1dg0 = this._icon_stars) || void 0 === _1dg0 || _1dg0.dispose(), this._icon_stars = null; }, _1ddw; }(PIXI.Container); _1dcs.RecipeBox = _1ddt; }, 60102: function(_1dg1, _1dg2, _1dg3) { 'use strict'; var _1dg4 = null; var _1dg5, _1dg6 = this && this.__extends || (_1dg5 = function(_1dg7, _1dg8) { var _1dg9 = null; return _1dg5 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1dga, _1dgb) { var _1dgc = null; _1dga.__proto__ = _1dgb; } || function(_1dgd, _1dge) { var _1dgf = null; for (var _1dgg in _1dge) Object.prototype.hasOwnProperty.call(_1dge, _1dgg) && (_1dgd[_1dgg] = _1dge[_1dgg]); }, _1dg5(_1dg7, _1dg8); }, function(_1dgh, _1dgi) { var _1dgj = null; if ('function' != typeof _1dgi && null !== _1dgi) throw new TypeError('Class extends value ' + String(_1dgi) + ' is not a constructor or null'); function _1dgk() { var _1dgl = null; this.constructor = _1dgh; } _1dg5(_1dgh, _1dgi), _1dgh.prototype = null === _1dgi ? Object.create(_1dgi) : (_1dgk.prototype = _1dgi.prototype, new _1dgk()); }), _1dgm = this && this.__importDefault || function(_1dgn) { var _1dgo = null; return _1dgn && _1dgn.__esModule ? _1dgn : { 'default': _1dgn }; }; defineModule(_1dg2); Object.defineProperty(_1dg2, '__esModule', { 'value': !0 }), _1dg2.RevampAkashi = void 0; var _1dgp = _1dgm(_1dg3(18622)), _1dgq = _1dg3(64052), _1dgr = function(_1dgs) { var _1dgt = null; function _1dgu(_1dgv) { var _1dgw = null, _1dgx = _1dgs.call(this) || this; return _1dgx._eye_state = 0, _1dgx._ship1st_mst_id = _1dgv, _1dgx._disposed = !1, 182 == _1dgx._ship1st_mst_id ? _1dgx._akashi_body = new PIXI.Sprite(_1dgq.REVAMP_MAIN.getTexture(5)) : _1dgx._akashi_body = new PIXI.Sprite(_1dgq.REVAMP_MAIN.getTexture(7)), _1dgx._akashi_body.position.set(256, 156), _1dgx._akashi_eye = new PIXI.Sprite(_1dgq.REVAMP_MAIN.getTexture(0)), _1dgx._akashi_eye.position.set(675, 225), _1dgx.addChild(_1dgx._akashi_body), _1dgx.addChild(_1dgx._akashi_eye), _1dgx._effect_1_2 = new PIXI.Sprite(_1dgq.REVAMP_MAIN.getTexture(14)), _1dgx._effect_1_2.position.set(499, 559), _1dgx._effect_1_2.visible = !1, _1dgx._effect_1_2.anchor.set(0.5, 0.5), _1dgx.addChild(_1dgx._effect_1_2), _1dgx._effect_3 = new PIXI.Sprite(_1dgq.REVAMP_MAIN.getTexture(16)), _1dgx._effect_3.position.set(541, 275), _1dgx._effect_3.visible = !1, _1dgx.addChild(_1dgx._effect_3), _1dgx; } return _1dg6(_1dgu, _1dgs), _1dgu.prototype.initialize = function() { var _1dgy = null; _1dgp.default.sound.voice.playAtRandom('9999', [301, 302], [50, 50]), this._startWaiting(); }, _1dgu.prototype.moveRight = function() { var _1dgz = null, _1dh0 = this; return createjs.Tween.get(this).wait(1).to({ 'x': 150 }, 250, createjs.Ease.quintIn).call(function() { var _1dh1 = null; 182 == _1dh0._ship1st_mst_id ? _1dh0._akashi_body.texture = _1dgq.REVAMP_MAIN.getTexture(6) : _1dh0._akashi_body.texture = _1dgq.REVAMP_MAIN.getTexture(8); }); }, _1dgu.prototype.moveLeft = function() { var _1dh2 = null, _1dh3 = this; return createjs.Tween.get(this).call(function() { var _1dh4 = null; 182 == _1dh3._ship1st_mst_id ? _1dh3._akashi_body.texture = _1dgq.REVAMP_MAIN.getTexture(5) : _1dh3._akashi_body.texture = _1dgq.REVAMP_MAIN.getTexture(7); }).wait(1).to({ 'x': 0 }, 250, createjs.Ease.quintIn); }, _1dgu.prototype.spark = function() { var _1dh5 = null, _1dh6 = this; return [createjs.Tween.get(this._effect_1_2).wait(500).call(function() { var _1dh7 = null; _1dh6._effect_1_2.visible = !0, _1dh6._effect_1_2.position.set(499, 559), _1dh6._effect_1_2.width = 214, _1dh6._effect_1_2.height = 247, _1dh6._effect_1_2.texture = _1dgq.REVAMP_MAIN.getTexture(14); }).to({ 'alpha': 1 }, 1).wait(100).to({ 'alpha': 0 }, 1).call(function() { var _1dh8 = null; _1dh6._effect_1_2.position.set(511, 547), _1dh6._effect_1_2.width = 214, _1dh6._effect_1_2.height = 247; }).to({ 'alpha': 1 }, 1).to({ 'width': 6.42, 'height': 7.41 }, 1).to({ 'width': 214, 'height': 247 }, 200).to({ 'alpha': 0 }, 60).call(function() { var _1dh9 = null; _1dh6._effect_1_2.position.set(595, 629), _1dh6._effect_1_2.width = 214, _1dh6._effect_1_2.height = 247; }).to({ 'alpha': 1 }, 1).wait(100).call(function() { var _1dha = null; _1dh6._effect_1_2.position.set(595, 629), _1dh6._effect_1_2.texture = _1dgq.REVAMP_MAIN.getTexture(15), _1dh6._effect_1_2.width = 142, _1dh6._effect_1_2.height = 165; }).to({ 'alpha': 1 }, 1).to({ 'width': 4.26, 'height': 4.95 }, 1).to({ 'width': 142, 'height': 165 }, 200).to({ 'alpha': 0 }, 60).wait(1000).call(function() { var _1dhb = null; _1dh6._effect_1_2.position.set(548, 537), _1dh6._effect_1_2.width = 143, _1dh6._effect_1_2.height = 165, _1dh6._effect_1_2.texture = _1dgq.REVAMP_MAIN.getTexture(14); }).to({ 'alpha': 1 }, 1).wait(100).call(function() { var _1dhc = null; _1dh6._effect_1_2.position.set(554, 531), _1dh6._effect_1_2.width = 143, _1dh6._effect_1_2.height = 165; }).to({ 'alpha': 1 }, 1).to({ 'width': 6.42, 'height': 7.41 }, 1).to({ 'width': 214, 'height': 247 }, 200).to({ 'alpha': 0 }, 60).call(function() { var _1dhd = null; _1dh6._effect_1_2.position.set(595, 629), _1dh6._effect_1_2.texture = _1dgq.REVAMP_MAIN.getTexture(15), _1dh6._effect_1_2.width = 142, _1dh6._effect_1_2.height = 165; }).to({ 'alpha': 1 }, 1).wait(100).call(function() { var _1dhe = null; _1dh6._effect_1_2.position.set(595, 629), _1dh6._effect_1_2.width = 142, _1dh6._effect_1_2.height = 165; }).to({ 'alpha': 1 }, 1).to({ 'width': 4.26, 'height': 4.95 }, 1).to({ 'width': 142, 'height': 165 }, 200).to({ 'alpha': 0 }, 60), createjs.Tween.get(this._effect_3).wait(500).call(function() { var _1dhf = null; _1dh6._effect_3.visible = !0; }).to({ 'alpha': 1 }, 1).wait(100).to({ 'alpha': 0 }, 1).to({ 'alpha': 1 }, 1).wait(1).wait(200).to({ 'alpha': 0 }, 60).to({ 'alpha': 1 }, 1).wait(100).to({ 'alpha': 1 }, 1).wait(1).wait(200).to({ 'alpha': 0 }, 60).wait(1000).to({ 'alpha': 1 }, 1).wait(100).to({ 'alpha': 1 }, 1).wait(1).wait(200).to({ 'alpha': 0 }, 60).to({ 'alpha': 1 }, 1).wait(100).to({ 'alpha': 1 }, 1).wait(1).wait(200).to({ 'alpha': 0 }, 60)]; }, _1dgu.prototype._startWaiting = function() { var _1dhg = null, _1dhh = this; this._disposed || createjs.Tween.get(null).wait(this._getWaitTime()).call(function() { var _1dhi = null; _1dhh._eye_state = _1dhh._updateEyeState(_1dhh._eye_state), _1dhh._update(_1dhh._eye_state), _1dhh._startWaiting(); }); }, _1dgu.prototype._update = function(_1dhj) { var _1dhk = null; 0 == _1dhj ? this._eye_pattern(0, 1, 2) : 1 == _1dhj ? 10 * Math.random() > 2 ? this._eye_pattern(2, 1, 0) : this._eye_pattern_twice(2, 1, 0) : 2 == _1dhj ? this._eye_pattern(4, 3, 2) : 10 * Math.random() > 2 ? this._eye_pattern(2, 3, 4) : this._eye_pattern_twice(2, 3, 4); }, _1dgu.prototype._eye_pattern = function(_1dhl, _1dhm, _1dhn) { var _1dho = null, _1dhp = this; null == this._eye_tween && (this._eye_tween = createjs.Tween.get(this).wait(30).call(function() { var _1dhq = null; return _1dhp._setTexture(_1dhl); }).wait(30).call(function() { var _1dhr = null; return _1dhp._setTexture(_1dhm); }).wait(30).call(function() { var _1dhs = null; _1dhp._setTexture(_1dhn), _1dhp._eye_tween = null; })); }, _1dgu.prototype._eye_pattern_twice = function(_1dht, _1dhu, _1dhv) { var _1dhw = null, _1dhx = this; null == this._eye_tween && (this._eye_tween = createjs.Tween.get(this).wait(30).call(function() { var _1dhy = null; return _1dhx._setTexture(_1dht); }).wait(30).call(function() { var _1dhz = null; return _1dhx._setTexture(_1dhu); }).wait(30).call(function() { var _1di0 = null; return _1dhx._setTexture(_1dhv); }).wait(30).call(function() { var _1di1 = null; return _1dhx._setTexture(_1dhu); }).wait(30).call(function() { var _1di2 = null; return _1dhx._setTexture(_1dht); }).wait(60).call(function() { var _1di3 = null; return _1dhx._setTexture(_1dhu); }).wait(30).call(function() { var _1di4 = null; _1dhx._setTexture(_1dhv), _1dhx._eye_tween = null; })); }, _1dgu.prototype._setTexture = function(_1di5) { var _1di6 = null; this._disposed || (this._akashi_eye.texture = _1dgq.REVAMP_MAIN.getTexture(_1di5)); }, _1dgu.prototype._updateEyeState = function(_1di7) { var _1di8 = null; return 0 == _1di7 ? 10 * Math.random() > 2 ? 1 : 3 : 1 == _1di7 ? 0 : 2 == _1di7 ? 10 * Math.random() > 2 ? 1 : 3 : 3 == _1di7 ? 2 : void 0; }, _1dgu.prototype._getWaitTime = function() { var _1di9 = null; return 1 == this._eye_state || 3 == this._eye_state ? 1000 * Math.random() + 2000 : 100 * Math.random() + 100; }, _1dgu.prototype._stopWaiting = function() { var _1dia = null, _1dib; null === (_1dib = this._eye_tween) || void 0 === _1dib || _1dib.setPaused(!0), this._eye_tween = null; }, _1dgu.prototype.dispose = function() { var _1dic = null; this._stopWaiting(), this._disposed = !0; }, _1dgu; }(PIXI.Container); _1dg2.RevampAkashi = _1dgr; }, 47117: function(_1did, _1die, _1dif) { 'use strict'; var _1dig = null; var _1dih, _1dii = this && this.__extends || (_1dih = function(_1dij, _1dik) { var _1dil = null; return _1dih = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1dim, _1din) { var _1dio = null; _1dim.__proto__ = _1din; } || function(_1dip, _1diq) { var _1dir = null; for (var _1dis in _1diq) Object.prototype.hasOwnProperty.call(_1diq, _1dis) && (_1dip[_1dis] = _1diq[_1dis]); }, _1dih(_1dij, _1dik); }, function(_1dit, _1diu) { var _1div = null; if ('function' != typeof _1diu && null !== _1diu) throw new TypeError('Class extends value ' + String(_1diu) + ' is not a constructor or null'); function _1diw() { var _1dix = null; this.constructor = _1dit; } _1dih(_1dit, _1diu), _1dit.prototype = null === _1diu ? Object.create(_1diu) : (_1diw.prototype = _1diu.prototype, new _1diw()); }); defineModule(_1die); Object.defineProperty(_1die, '__esModule', { 'value': !0 }), _1die.RevampConfirm = void 0; var _1diy = _1dif(20194), _1diz = _1dif(31000), _1dj0 = _1dif(49231), _1dj1 = function(_1dj2) { var _1dj3 = null; function _1dj4(_1dj5, _1dj6) { var _1dj7 = null, _1dj8 = _1dj2.call(this) || this; return _1dj8._onClick_Ready = function() { var _1dj9 = null; _1diz.SE.play('204'), _1dj8._cb_onClick_Ready(_1dj8._selected_item); }, _1dj8._onClick_cancel = function() { var _1dja = null; _1diz.SE.play('205'), _1dj8._cb_onClick_cancel(); }, _1dj8._cb_onClick_Ready = _1dj5, _1dj8._cb_onClick_cancel = _1dj6, _1dj8._btn_special_repair = new _1diy.Button(_1dj8._onClick_Ready), _1dj8._btn_special_repair.initialize(_1dj0.REVAMP_MAIN.getTexture(12), _1dj0.REVAMP_MAIN.getTexture(13)), _1dj8._btn_special_repair.position.set(447, 540), _1dj8.addChild(_1dj8._btn_special_repair), _1dj8._btn_back = new _1diy.Button(_1dj8._onClick_cancel), _1dj8._btn_back.initialize(_1dj0.REVAMP_MAIN.getTexture(10), _1dj0.REVAMP_MAIN.getTexture(11)), _1dj8._btn_back.position.set(588, 550), _1dj8.addChild(_1dj8._btn_back), _1dj8; } return _1dii(_1dj4, _1dj2), _1dj4.prototype.initialize = function(_1djb) { var _1djc = null; this._selected_item = _1djb; }, _1dj4.prototype.activate = function() { var _1djd = null; this._activate(); }, _1dj4.prototype._activate = function() { var _1dje = null; this._btn_special_repair.buttonMode = this._btn_special_repair.interactive = !0, this._btn_back.buttonMode = this._btn_back.interactive = !0; }, _1dj4.prototype.deactivate = function() { var _1djf = null; this._deactivate(); }, _1dj4.prototype._deactivate = function() { var _1djg = null; this._btn_special_repair.buttonMode = this._btn_special_repair.interactive = !1, this._btn_back.buttonMode = this._btn_back.interactive = !1; }, _1dj4.prototype.dispose = function() { var _1djh = null; this.removeChildren(), this._btn_special_repair.dispose(), this._btn_back.dispose(); }, _1dj4; }(PIXI.Container); _1die.RevampConfirm = _1dj1; }, 31825: function(_1dji, _1djj, _1djk) { 'use strict'; var _1djl = null; var _1djm, _1djn = this && this.__extends || (_1djm = function(_1djo, _1djp) { var _1djq = null; return _1djm = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1djr, _1djs) { var _1djt = null; _1djr.__proto__ = _1djs; } || function(_1dju, _1djv) { var _1djw = null; for (var _1djx in _1djv) Object.prototype.hasOwnProperty.call(_1djv, _1djx) && (_1dju[_1djx] = _1djv[_1djx]); }, _1djm(_1djo, _1djp); }, function(_1djy, _1djz) { var _1dk0 = null; if ('function' != typeof _1djz && null !== _1djz) throw new TypeError('Class extends value ' + String(_1djz) + ' is not a constructor or null'); function _1dk1() { var _1dk2 = null; this.constructor = _1djy; } _1djm(_1djy, _1djz), _1djy.prototype = null === _1djz ? Object.create(_1djz) : (_1dk1.prototype = _1djz.prototype, new _1dk1()); }), _1dk3 = this && this.__importDefault || function(_1dk4) { var _1dk5 = null; return _1dk4 && _1dk4.__esModule ? _1dk4 : { 'default': _1dk4 }; }; defineModule(_1djj); Object.defineProperty(_1djj, '__esModule', { 'value': !0 }), _1djj.IconStar = _1djj.PopUpShipInfo = _1djj.Slotitem = void 0; var _1dk6 = _1djk(35660), _1dk7 = _1djk(35380), _1dk8 = _1djk(14921), _1dk9 = _1djk(43905), _1dka = _1djk(8744), _1dkb = _1djk(31000), _1dkc = _1djk(73195), _1dkd = _1djk(44237), _1dke = _1djk(15981), _1dkf = _1djk(33704), _1dkg = _1dk3(_1djk(18622)), _1dkh = function(_1dki) { var _1dkj = null; function _1dkk(_1dkl, _1dkm) { var _1dkn = null, _1dko = _1dki.call(this) || this; return _1dko._onClick = function() { var _1dkp = null; null == _1dko || _1dko._cb_onClick(_1dko._model); }, _1dko._onClick_purge = function() { var _1dkq = null; if (null != _1dko._equiped_ship) { var _1dkr = _1dko._equiped_ship.getSlotitems().filter(function(_1dks) { return null != _1dks; }).map(function(_1dkt, _1dku) { return { 'index': _1dku, 'model': _1dkt }; }).filter(function(_1dkv) { var _1dkw = null, _1dkx; return (null === (_1dkx = null == _1dkv ? void 0 : _1dkv.model) || void 0 === _1dkx ? void 0 : _1dkx.memID) == _1dko._model.memID; }).pop(), _1dky = null != _1dkr ? new _1dke.SlotSetAPI(_1dko._equiped_ship.memID, -1, _1dkr.index) : new _1dkf.SlotSetExAPI(_1dko._equiped_ship.memID, -1), _1dkz = new _1dk6.APIConnector(), _1dl0 = new _1dkd.Ship3API(_1dko._equiped_ship.memID); _1dkb.SE.play('106'), _1dkz.add(_1dky).add(_1dl0).start(function() { var _1dl1 = null; _1dkg.default.view.portMain.updateInfo(), _1dko._cb_onClick_purge(_1dko._model.mstID); }); } }, _1dko._showShipInfo = function(_1dl2) { var _1dl3 = null; _1dko._name_popup.visible = _1dl2, _1dko._text_slotName.visible = !_1dl2, _1dko._list_kosho_mask.visible = !_1dl2, _1dko._focus_ship_bg.visible = _1dl2; }, _1dko._cb_onClick = _1dkl, _1dko._cb_onClick_purge = _1dkm, _1dko; } return _1djn(_1dkk, _1dki), _1dkk.prototype.update = function(_1dl4, _1dl5) { var _1dl6 = null; if (void 0 === _1dl5 && (_1dl5 = null), this._clear(), null != _1dl4) { var _1dl7 = Math.floor(this.boxHeight / 2); this._model = _1dl4, this._text_slotName.text = _1dl4.name, this._icon_star.update(_1dl4.level), this._icon_star.position.y = Math.floor(_1dl7 - this._icon_star.height / 2), this._icon_star.visible = !0, this._lock_on.visible = _1dl4.isLocked(), this._skill_lv.texture = this._getSkillLvTexture(_1dl4.skillLevel), this._skill_lv.position.y = Math.floor(_1dl7 - this._skill_lv.height / 2) + 1, this._skill_lv.visible = !0, this._equiped_ship = _1dl5; var _1dl8 = null != _1dl5; _1dl8 ? this._click_area.off(_1dk7.EventType.CLICK, this._onClick) : this._click_area.on(_1dk7.EventType.CLICK, this._onClick), this._list_kosho_mask.visible = _1dl8, this._type_icon.texture = _1dkc.COMMON_ICON_WEAPON.getTextureFromMstID(_1dl4.iconType), this._type_icon.position.set(33, Math.floor(_1dl7 - this._type_icon.height / 2) - 0.5), this._type_icon.visible = !_1dl8; var _1dl9 = _1dkg.default.model.deck.isInDeck(null == _1dl5 ? void 0 : _1dl5.memID); this._name_popup.visible = !1, this._name_popup.update(null == _1dl5 ? void 0 : _1dl5.name, null == _1dl5 ? void 0 : _1dl5.level, _1dl9), this._purge_slotitem_btn.visible = _1dl8; } }, _1dkk.prototype.activate = function() { var _1dla = null; this._activate(); }, _1dkk.prototype.deactivate = function() { var _1dlb = null; this._deactivate(); }, _1dkk.prototype._activate = function() { var _1dlc = null; null != this._model && (this._click_area.buttonMode = this._click_area.interactive = !0), null != this._equiped_ship && (this._purge_slotitem_btn.buttonMode = this._purge_slotitem_btn.interactive = !0); }, _1dkk.prototype._clear = function() { var _1dld = null; this._model = null, this._equiped_ship = null, this._text_slotName.text = '', this._icon_star.visible = !1, this._lock_on.visible = !1, this._skill_lv.visible = !1, this._list_kosho_mask.visible = !1, this._type_icon.visible = !1, this._name_popup.visible = !1, this._purge_slotitem_btn.visible = !1, this._click_area.off(_1dk7.EventType.CLICK, this._onClick), this._deactivate(); }, _1dkk.prototype._deactivate = function() { var _1dle = null; this._click_area.buttonMode = this._click_area.interactive = !1, this._purge_slotitem_btn.buttonMode = this._purge_slotitem_btn.interactive = !1; }, _1dkk.prototype.dispose = function() { var _1dlf = null, _1dlg, _1dlh, _1dli; this.removeChildren(), this._name_popup.dispose(), this._name_popup = null, this._type_icon.destroy(), this._type_icon = null, this._focus_txt.destroy(), this._focus_txt = null, this._text_slotName.destroy(), this._text_slotName = null, this._containerName.destroy(), this._containerName = null, null === (_1dlg = this._skill_lv) || void 0 === _1dlg || _1dlg.destroy(), this._skill_lv = null, null === (_1dlh = this._icon_star) || void 0 === _1dlh || _1dlh.dispose(), this._icon_star = null, null === (_1dli = this._lock_on) || void 0 === _1dli || _1dli.destroy(), this._lock_on = null; }, _1dkk; }(PIXI.Container); _1djj.Slotitem = _1dkh; var _1dlj = function(_1dlk) { var _1dll = null; function _1dlm(_1dln) { var _1dlo = null, _1dlp = _1dlk.call(this) || this; _1dlp._text_name = new _1dka.TextBox(_1dln.textName, 16777215), _1dlp._text_lv = new _1dka.TextBox(_1dln.textShip, 16774898), _1dlp._container_name = new PIXI.Container(), _1dlp._size = _1dln; var _1dlq = Math.floor(_1dln.height / 2); return _1dlp._text_name.position.set(0, Math.floor(_1dlq - _1dlp._text_name.height / 2) - 1), _1dlp._text_mask = _1dk8.CreateRect.gradientLeftToRight(360, _1dln.height, 0.2, 0.3), _1dlp._text_name.mask = _1dlp._text_mask, _1dlp._container_name.addChild(_1dlp._text_name, _1dlp._text_mask), _1dlp._text_lv.anchor.x = 1, _1dlp._text_lv.position.set(Math.floor(170 * _1dln.scaleX), Math.floor(_1dlq - _1dlp._text_lv.height / 2) + 1), _1dlp._ship_flag = new _1dk9.ShipInDeckFlag(), _1dlp._ship_flag.scale.set(0.75), _1dlp.addChild(_1dlp._container_name, _1dlp._text_lv, _1dlp._ship_flag), _1dlp; } return _1djn(_1dlm, _1dlk), _1dlm.prototype.dispose = function() { var _1dlr = null; this.removeChildren(), this._text_name.destroy(), this._text_name = null, this.destroy(); }, _1dlm.prototype.update = function(_1dls, _1dlt, _1dlu) { var _1dlv = null; this._text_name.text = _1dls, this._text_name.anchor.x = 0, this._text_lv.text = '(Lv:'['concat'](_1dlt, ')'), this._ship_flag.update(null == _1dlu ? [-1, -1] : _1dlu), this._ship_flag.position.set(Math.floor(172 * this._size.scaleX), Math.floor(this._size.height / 2 - this._ship_flag.height / 2) - 1); }, _1dlm; }(PIXI.Container); _1djj.PopUpShipInfo = _1dlj; var _1dlw = function(_1dlx) { var _1dly = null; function _1dlz(_1dm0) { var _1dm1 = null, _1dm2 = _1dlx.call(this) || this; return _1dm2._icon_star = new PIXI.Sprite(_1dm0.star), _1dm2._icon_star.visible = !1, _1dm2._icon_star.position.set(0, 0), _1dm2.addChild(_1dm2._icon_star), _1dm2._icon_plus = new PIXI.Sprite(_1dm0.plus), _1dm2._icon_plus.visible = !1, _1dm2._icon_plus.position.set(18, 3), _1dm2.addChild(_1dm2._icon_plus), _1dm2._icon_starM = new PIXI.Sprite(_1dm0.max), _1dm2._icon_starM.visible = !1, _1dm2._icon_starM.position.set(12, -1), _1dm2.addChild(_1dm2._icon_starM), _1dm2._text_level = new _1dka.TextBox(17, 4565413), _1dm2._text_level.visible = !1, _1dm2._text_level.position.set(33, -1), _1dm2._text_level.text = '', _1dm2.addChild(_1dm2._text_level), _1dm2; } return _1djn(_1dlz, _1dlx), _1dlz.prototype.update = function(_1dm3) { var _1dm4 = null; 0 == _1dm3 ? (this._icon_star.visible = !1, this._icon_plus.visible = !1, this._icon_starM.visible = !1, this._text_level.text = '', this._text_level.visible = !1) : 10 == _1dm3 ? (this._icon_starM.visible = !0, this._icon_star.visible = !1, this._icon_plus.visible = !1, this._text_level.text = '', this._text_level.visible = !1) : (this._icon_star.visible = !0, this._icon_plus.visible = !0, this._text_level.visible = !0, this._text_level.text = _1dm3.toString(), this._icon_starM.visible = !1); }, _1dlz.prototype.dispose = function() { var _1dm5 = null, _1dm6, _1dm7, _1dm8, _1dm9; null === (_1dm6 = this._icon_star) || void 0 === _1dm6 || _1dm6.destroy(), this._icon_star = null, null === (_1dm7 = this._icon_plus) || void 0 === _1dm7 || _1dm7.destroy(), this._icon_plus = null, null === (_1dm8 = this._icon_starM) || void 0 === _1dm8 || _1dm8.destroy(), this._icon_starM = null, null === (_1dm9 = this._text_level) || void 0 === _1dm9 || _1dm9.destroy(), this._text_level = null; }, _1dlz; }(PIXI.Container); _1djj.IconStar = _1dlw; }, 19831: function(_1dma, _1dmb, _1dmc) { 'use strict'; var _1dmd = null; var _1dme, _1dmf = this && this.__extends || (_1dme = function(_1dmg, _1dmh) { var _1dmi = null; return _1dme = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1dmj, _1dmk) { var _1dml = null; _1dmj.__proto__ = _1dmk; } || function(_1dmm, _1dmn) { var _1dmo = null; for (var _1dmp in _1dmn) Object.prototype.hasOwnProperty.call(_1dmn, _1dmp) && (_1dmm[_1dmp] = _1dmn[_1dmp]); }, _1dme(_1dmg, _1dmh); }, function(_1dmq, _1dmr) { var _1dms = null; if ('function' != typeof _1dmr && null !== _1dmr) throw new TypeError('Class extends value ' + String(_1dmr) + ' is not a constructor or null'); function _1dmt() { var _1dmu = null; this.constructor = _1dmq; } _1dme(_1dmq, _1dmr), _1dmq.prototype = null === _1dmr ? Object.create(_1dmr) : (_1dmt.prototype = _1dmr.prototype, new _1dmt()); }), _1dmv = this && this.__importDefault || function(_1dmw) { var _1dmx = null; return _1dmw && _1dmw.__esModule ? _1dmw : { 'default': _1dmw }; }; defineModule(_1dmb); Object.defineProperty(_1dmb, '__esModule', { 'value': !0 }), _1dmb.SlotitemListNormal = _1dmb.SlotitemList = void 0; var _1dmy = _1dmc(82232), _1dmz = _1dmc(4785), _1dn0 = _1dmc(26448), _1dn1 = _1dmv(_1dmc(18622)), _1dn2 = _1dmc(14921), _1dn3 = _1dmc(28103), _1dn4 = _1dmc(16677), _1dn5 = function(_1dn6) { var _1dn7 = null; function _1dn8(_1dn9) { var _1dna = null, _1dnb = _1dn6.call(this) || this; return _1dnb._cb_onClick_purge = function(_1dnc) { var _1dnd = null; _1dnb._getRevampableList(_1dnc), _1dnb._update(_1dnb._pager.selected_index); }, _1dnb._onChange_pager = function(_1dne) { var _1dnf = null; _1dnb._update(_1dne); }, _1dnb._cb_onClick_selected_item = _1dn9, _1dnb; } return _1dmf(_1dn8, _1dn6), _1dn8.prototype.initialize = function(_1dng) { var _1dnh = null, _1dni = this; this._getRevampableList(_1dng.slot_id); var _1dnj = Math.ceil(this._items.length / this.ITEM_COUNT); this._pager.initialize(_1dnj); var _1dnk = this._items.slice(this._pager.selected_index, this.ITEM_COUNT); _1dnk.length > 0 && this._view_list.forEach(function(_1dnl, _1dnm) { var _1dnn = null, _1dno, _1dnp, _1dnq = null !== (_1dnp = _1dni._equiped_ships[null === (_1dno = _1dnk[_1dnm]) || void 0 === _1dno ? void 0 : _1dno.memID]) && void 0 !== _1dnp ? _1dnp : 0, _1dnr = _1dn1.default.model.ship.get(_1dnq); _1dnl.update(_1dnk[_1dnm], _1dnr); }); }, _1dn8.prototype.activate = function() { var _1dns = null; this._activate(); }, _1dn8.prototype.deactivate = function() { var _1dnt = null; this._deactivate(); }, _1dn8.prototype._getRevampableList = function(_1dnu) { var _1dnv = null, _1dnw = _1dn3.RevampUtils.getRevampableItems(_1dnu); this._equiped_ships = _1dnw.equiped_ship, this._items = _1dnw.items, _1dn2.SlotUtil.sort(this._items, 1); }, _1dn8.prototype._activate = function() { var _1dnx = null; this._view_list.forEach(function(_1dny) { var _1dnz = null; return _1dny.activate(); }), this._pager.activate(), _1dn4.WheelEventUtil.regist(this._onWheel.bind(this)); }, _1dn8.prototype._deactivate = function() { var _1do0 = null; this._view_list.forEach(function(_1do1) { var _1do2 = null; return _1do1.deactivate(); }), this._pager.deactivate(); }, _1dn8.prototype.dispose = function() { var _1do3 = null; this.removeChildren(), null != this._clickGuard && (_1dn1.default.view.overLayer.removeChild(this._clickGuard), this._clickGuard.destroy(), this._clickGuard = null), this._list_bg.destroy(), this._list_bg = null, this._list_header.destroy(), this._list_header = null, this._menu_header.destroy(), this._menu_header = null, this._blue_txt_04.destroy(), this._blue_txt_04 = null, this._view_list.forEach(function(_1do4) { var _1do5 = null; return _1do4.dispose(); }), this._view_list.length = 0, this._view_list = null, this._pager.dispose(), this._pager = null, _1dn4.WheelEventUtil.clear(); }, _1dn8.prototype._update = function(_1do6) { var _1do7 = null, _1do8 = this, _1do9 = _1do6 * this.ITEM_COUNT, _1doa = this._items.slice(_1do9, _1do9 + this.ITEM_COUNT); 0 != _1doa.length && this._view_list.forEach(function(_1dob, _1doc) { var _1dod = null, _1doe, _1dof, _1dog = null !== (_1dof = _1do8._equiped_ships[null === (_1doe = _1doa[_1doc]) || void 0 === _1doe ? void 0 : _1doe.memID]) && void 0 !== _1dof ? _1dof : 0, _1doh = _1dn1.default.model.ship.get(_1dog); _1dob.update(_1doa[_1doc], _1doh), _1dob.activate(); }); }, _1dn8; }(PIXI.Container); _1dmb.SlotitemList = _1dn5; var _1doi = function(_1doj) { function _1dok(_1dol) { var _1dom = null, _1don = _1doj.call(this, _1dol) || this; _1don.ITEM_COUNT = 10, _1don._onWheel = function(_1doo) { var _1dop = null; if (0 != _1doo.delta) { var _1doq = Math.ceil(_1don._items.length / _1don.ITEM_COUNT); if (0 != _1doq) { var _1dor = _1doo.delta > 0 ? _1don._pager.selected_index + 1 : _1don._pager.selected_index - 1; _1dor < 0 || _1dor + 1 > _1doq || (_1doo.enabledGuard(), _1don._view_list.forEach(function(_1dos) { var _1dot = null; _1dos.resetView(!1); }), _1don._onChange_pager(_1dor), _1don._pager.updatePageNumbers(_1dor)); } } }, _1don._list_bg = new PIXI.Sprite(_1dmy.REVAMP_LIST.getTexture(9)), _1don._list_bg.position.set(-6, 36), _1don.addChild(_1don._list_bg), _1don._list_header = new PIXI.Sprite(_1dmy.REVAMP_LIST.getTexture(10)), _1don._list_header.position.set(49, 48), _1don.addChild(_1don._list_header), _1don._menu_header = new PIXI.Sprite(_1dmy.REVAMP_LIST.getTexture(20)), _1don._menu_header.position.set(0, 0), _1don.addChild(_1don._menu_header), _1don._blue_txt_04 = new PIXI.Sprite(_1dmy.REVAMP_LIST.getTexture(1)), _1don._blue_txt_04.position.set(40, 10), _1don.addChild(_1don._blue_txt_04), _1don._pager = new _1dmz.PagerNormal(_1don._onChange_pager), _1don._pager.position.set(27, 553), _1don.addChild(_1don._pager), _1don._view_list = []; for (var _1dou = 0; _1dou < _1don.ITEM_COUNT; _1dou++) { var _1dov = new _1dn0.SlotitemNormal(_1don._cb_onClick_selected_item, _1don._cb_onClick_purge); _1dov.position.y = 45 * _1dou + 84, _1dov.initialize(), _1don._view_list.push(_1dov), _1don.addChild(_1dov); } return _1don.interactive = !0, _1don; } return _1dmf(_1dok, _1doj), _1dok; }(_1dn5); _1dmb.SlotitemListNormal = _1doi; }, 26448: function(_1dow, _1dox, _1doy) { 'use strict'; var _1doz = null; var _1dp0, _1dp1 = this && this.__extends || (_1dp0 = function(_1dp2, _1dp3) { var _1dp4 = null; return _1dp0 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1dp5, _1dp6) { var _1dp7 = null; _1dp5.__proto__ = _1dp6; } || function(_1dp8, _1dp9) { var _1dpa = null; for (var _1dpb in _1dp9) Object.prototype.hasOwnProperty.call(_1dp9, _1dpb) && (_1dp8[_1dpb] = _1dp9[_1dpb]); }, _1dp0(_1dp2, _1dp3); }, function(_1dpc, _1dpd) { var _1dpe = null; if ('function' != typeof _1dpd && null !== _1dpd) throw new TypeError('Class extends value ' + String(_1dpd) + ' is not a constructor or null'); function _1dpf() { var _1dpg = null; this.constructor = _1dpc; } _1dp0(_1dpc, _1dpd), _1dpc.prototype = null === _1dpd ? Object.create(_1dpd) : (_1dpf.prototype = _1dpd.prototype, new _1dpf()); }); defineModule(_1dox); Object.defineProperty(_1dox, '__esModule', { 'value': !0 }), _1dox.SlotitemNormal = void 0; var _1dph = _1doy(35380), _1dpi = _1doy(14921), _1dpj = _1doy(79899), _1dpk = _1doy(8744), _1dpl = _1doy(31825), _1dpm = _1doy(82232), _1dpn = function(_1dpo) { var _1dpp = null; function _1dpq(_1dpr, _1dps) { var _1dpt = null, _1dpu = _1dpo.call(this, _1dpr, _1dps) || this; return _1dpu.boxHeight = 45, _1dpu.textSize = 15, _1dpu.textShipSize = 18, _1dpu.textNameSize = 21, _1dpu.scaleX = 1, _1dpu.scaleY = 1, _1dpu; } return _1dp1(_1dpq, _1dpo), _1dpq.prototype.initialize = function() { var _1dpv = null, _1dpw = this, _1dpx = Math.floor(this.boxHeight / 2); this._type_icon = new PIXI.Sprite(), this._type_icon.visible = !1, this._type_icon.anchor.set(0.5, 0), this.addChild(this._type_icon), this._list_kosho_mask = new PIXI.Sprite(), this._list_kosho_mask.texture = _1dpm.REVAMP_LIST.getTexture(11), this._list_kosho_mask.visible = !1, this._list_kosho_mask.position.set(57, 0), this._list_kosho_mask.width = 487, this._list_kosho_mask.scale.y = this.scaleY, this.addChild(this._list_kosho_mask), this._focus_txt = new PIXI.Sprite(_1dpm.REVAMP_LIST.getTexture(5)), this._focus_txt.position.set(57, 0), this._focus_txt.scale.y = 0.97 * this.scaleY, this._focus_txt.visible = !1, this.addChild(this._focus_txt), this._focus_ship_bg = new PIXI.Sprite(_1dpm.REVAMP_LIST.getTexture(5)), this._focus_ship_bg.position.set(57, 0), this._focus_ship_bg.scale.y = 0.97 * this.scaleY, this._focus_ship_bg.visible = !1, this.addChild(this._focus_ship_bg), this._containerName = new PIXI.Container(), this._containerName.position.set(64, 0), this._text_slotName = new _1dpk.TextBox(this.textNameSize, 4999235), this._text_slotName.text = ''; var _1dpy = _1dpi.CreateRect.gradientLeftToRight(254, this.boxHeight, 0.9, 0.97); this._text_slotName.mask = _1dpy, this._text_slotName.position.set(0, Math.floor(_1dpx - this._text_slotName.height / 2) - 1), this._containerName.addChild(this._text_slotName, _1dpy), this.addChild(this._containerName), this._skill_lv = new PIXI.Sprite(), this._skill_lv.position.set(277, 0), this.addChild(this._skill_lv); var _1dpz = _1dpm.REVAMP_LIST.getTexture(7), _1dq0 = _1dpm.REVAMP_LIST.getTexture(6), _1dq1 = _1dpm.REVAMP_LIST.getTexture(8); this._icon_star = new _1dpl.IconStar({ 'star': _1dpz, 'plus': _1dq0, 'max': _1dq1 }), this._icon_star.position.set(315, 0), this.addChild(this._icon_star), this._click_area = new _1dpj.AreaBox(0, 16774898, 487, this.boxHeight), this._click_area.position.set(57, 0), this._click_area.interactive = !1, this._click_area.on(_1dph.EventType.MOUSEOVER, function() { var _1dq2 = null; _1dpw._focus_txt.visible = !0, null == _1dpw._equiped_ship && (_1dpw._text_slotName.style.fill = 16777215); }), this._click_area.on(_1dph.EventType.MOUSEOUT, function() { var _1dq3 = null; _1dpw._focus_txt.visible = !1, null == _1dpw._equiped_ship && (_1dpw._text_slotName.style.fill = 4999235); }), this.addChild(this._click_area), this._lock_on = new PIXI.Sprite(_1dpm.REVAMP_LIST.getTexture(12)), this._lock_on.visible = !1, this._lock_on.position.set(358, Math.floor(_1dpx - this._lock_on.height / 2) - 2), this.addChild(this._lock_on), this._name_popup = new _1dpl.PopUpShipInfo({ 'textName': this.textNameSize, 'textShip': this.textShipSize, 'height': this.boxHeight, 'scaleX': this.scaleX, 'scaleY': this.scaleY }), this._name_popup.position.set(64, 0), this._name_popup.visible = !1, this.addChild(this._name_popup), this._purge_slotitem_btn = new PIXI.Sprite(_1dpm.REVAMP_LIST.getTexture(2)), this._purge_slotitem_btn.position.set(8, Math.floor(_1dpx - this._purge_slotitem_btn.height / 2) + 1), this._purge_slotitem_btn.visible = !1, this._purge_slotitem_btn.on(_1dph.EventType.CLICK, this._onClick_purge), this._purge_slotitem_btn.on(_1dph.EventType.MOUSEOVER, function() { var _1dq4 = null; return _1dpw._showShipInfo(!0); }), this._purge_slotitem_btn.on(_1dph.EventType.MOUSEOUT, function() { var _1dq5 = null; return _1dpw._showShipInfo(!1); }), this.addChild(this._purge_slotitem_btn); }, _1dpq.prototype.resetView = function(_1dq6) { var _1dq7 = null; this._showShipInfo(_1dq6), this._focus_txt.visible = !1, this._text_slotName.style.fill = 4999235; }, _1dpq.prototype._getSkillLvTexture = function(_1dq8) { var _1dq9 = null; switch (_1dq8) { case 1: return _1dpm.REVAMP_LIST.getTexture(13); case 2: return _1dpm.REVAMP_LIST.getTexture(14); case 3: return _1dpm.REVAMP_LIST.getTexture(15); case 4: return _1dpm.REVAMP_LIST.getTexture(16); case 5: return _1dpm.REVAMP_LIST.getTexture(17); case 6: return _1dpm.REVAMP_LIST.getTexture(18); case 7: return _1dpm.REVAMP_LIST.getTexture(19); default: return PIXI.Texture.EMPTY; } }, _1dpq; }(_1dpl.Slotitem); _1dox.SlotitemNormal = _1dpn; }, 73252: function(_1dqa, _1dqb, _1dqc) { 'use strict'; var _1dqd = null; var _1dqe, _1dqf = this && this.__extends || (_1dqe = function(_1dqg, _1dqh) { var _1dqi = null; return _1dqe = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1dqj, _1dqk) { var _1dql = null; _1dqj.__proto__ = _1dqk; } || function(_1dqm, _1dqn) { var _1dqo = null; for (var _1dqp in _1dqn) Object.prototype.hasOwnProperty.call(_1dqn, _1dqp) && (_1dqm[_1dqp] = _1dqn[_1dqp]); }, _1dqe(_1dqg, _1dqh); }, function(_1dqq, _1dqr) { var _1dqs = null; if ('function' != typeof _1dqr && null !== _1dqr) throw new TypeError('Class extends value ' + String(_1dqr) + ' is not a constructor or null'); function _1dqt() { var _1dqu = null; this.constructor = _1dqq; } _1dqe(_1dqq, _1dqr), _1dqq.prototype = null === _1dqr ? Object.create(_1dqr) : (_1dqt.prototype = _1dqr.prototype, new _1dqt()); }), _1dqv = this && this.__importDefault || function(_1dqw) { var _1dqx = null; return _1dqw && _1dqw.__esModule ? _1dqw : { 'default': _1dqw }; }; defineModule(_1dqb); Object.defineProperty(_1dqb, '__esModule', { 'value': !0 }), _1dqb.ViewMain = void 0; var _1dqy = _1dqv(_1dqc(18622)), _1dqz = _1dqc(54758), _1dr0 = _1dqc(1746), _1dr1 = _1dqc(60102), _1dr2 = _1dqc(61057), _1dr3 = _1dqc(49231), _1dr4 = _1dqc(28103), _1dr5 = function(_1dr6) { var _1dr7 = null; function _1dr8(_1dr9, _1dra, _1drb) { var _1drc = null, _1drd = _1dr6.call(this) || this; _1drd._ship2nd = new PIXI.Sprite(), _1drd._ship2nd.position.set(0, 0), _1drd.addChild(_1drd._ship2nd); var _1dre = _1dqy.default.model.deck.get(1).getShipModel(0).mstID; _1drd._revampAkashi = new _1dr1.RevampAkashi(_1dre), _1drd.addChild(_1drd._revampAkashi), _1drd._tit2_bg = new PIXI.Sprite(_1dr3.REVAMP_MAIN.getTexture(30)), _1drd._tit2_bg.position.set(0, 102), _1drd._blue_txt_30 = new PIXI.Sprite(_1dr3.REVAMP_MAIN.getTexture(9)), _1drd._blue_txt_30.position.set(186, 112), _1drd.addChild(_1drd._tit2_bg), _1drd.addChild(_1drd._blue_txt_30), _1drd._messageBalloons = new _1dr0.MessageBalloons(), _1drd._messageBalloons.position.set(855, 207), _1drd.addChild(_1drd._messageBalloons), _1drd._revampParticleLayer = new _1dr2.ShootingStarLayer(-1), _1drd._revampParticleLayer.position.set(0, 0), _1drd.addChild(_1drd._revampParticleLayer), _1drd._revampRecipeBoxes = []; var _1drf = Object.keys(_1dr4.RevampUtils.BOX_POSITION).map(function(_1drg) { var _1drh = null; return _1dr4.RevampUtils.BOX_POSITION[_1drg]; }); for (var _1dri in _1drf) { var _1drj = parseInt(_1dri); _1drd._revampRecipeBoxes[_1drj] = new _1dqz.RecipeBox(_1drj, _1dr9, _1dra, _1drb), _1drd._revampRecipeBoxes[_1drj].position.set(168, 180 * _1drj + 159), _1drd.addChild(_1drd._revampRecipeBoxes[_1drj]); } return _1drd; } return _1dqf(_1dr8, _1dr6), Object.defineProperty(_1dr8.prototype, 'revamp2ndShip', { 'get': function() { var _1drk = null; return this._ship2nd; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1dr8.prototype, 'revampakashi', { 'get': function() { var _1drl = null; return this._revampAkashi; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1dr8.prototype, 'revampRecipeBoxes', { 'get': function() { var _1drm = null; return this._revampRecipeBoxes; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1dr8.prototype, 'revampParticleLayer', { 'get': function() { var _1drn = null; return this._revampParticleLayer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1dr8.prototype, 'messageBalloons', { 'get': function() { var _1dro = null; return this._messageBalloons; }, 'enumerable': !1, 'configurable': !0 }), _1dr8.prototype.initialize = function(_1drp) { var _1drq = null, _1drr = this; this._models = _1drp, this._revampRecipeBoxes.forEach(function(_1drs, _1drt) { var _1dru = null; _1drs.initialize(_1drr._models[_1drt]); }), this._revampAkashi.initialize(); }, _1dr8.prototype.update = function() { var _1drv = null, _1drw, _1drx; null === (_1drw = this._revampRecipeBoxes) || void 0 === _1drw || _1drw.forEach(function(_1dry) { var _1drz = null; return null == _1dry ? void 0 : _1dry.update(); }), null === (_1drx = this._messageBalloons) || void 0 === _1drx || _1drx.initialize(); }, _1dr8.prototype.dispose = function() { var _1ds0 = null, _1ds1, _1ds2, _1ds3, _1ds4, _1ds5, _1ds6; null === (_1ds1 = this._ship2nd) || void 0 === _1ds1 || _1ds1.destroy(), this._ship2nd = null, null === (_1ds2 = this._revampAkashi) || void 0 === _1ds2 || _1ds2.dispose(), this._revampAkashi = null; for (var _1ds7 = 0, _1ds8 = this._revampRecipeBoxes; _1ds7 < _1ds8.length; _1ds7++) { var _1ds9 = _1ds8[_1ds7]; null == _1ds9 || _1ds9.dispose(), _1ds9 = null; } this._revampRecipeBoxes.length = 0, this._revampRecipeBoxes = null, null === (_1ds3 = this._messageBalloons) || void 0 === _1ds3 || _1ds3.dispose(), this._messageBalloons = null, null === (_1ds4 = this._revampParticleLayer) || void 0 === _1ds4 || _1ds4.dispose(), this._revampParticleLayer = null, null === (_1ds5 = this._tit2_bg) || void 0 === _1ds5 || _1ds5.destroy(), this._tit2_bg = null, null === (_1ds6 = this._blue_txt_30) || void 0 === _1ds6 || _1ds6.destroy(), this._blue_txt_30 = null, this.removeChildren(); }, _1dr8; }(PIXI.Container); _1dqb.ViewMain = _1dr5; }, 20194: function(_1dsa, _1dsb, _1dsc) { 'use strict'; var _1dsd = null; var _1dse, _1dsf = this && this.__extends || (_1dse = function(_1dsg, _1dsh) { var _1dsi = null; return _1dse = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1dsj, _1dsk) { var _1dsl = null; _1dsj.__proto__ = _1dsk; } || function(_1dsm, _1dsn) { var _1dso = null; for (var _1dsp in _1dsn) Object.prototype.hasOwnProperty.call(_1dsn, _1dsp) && (_1dsm[_1dsp] = _1dsn[_1dsp]); }, _1dse(_1dsg, _1dsh); }, function(_1dsq, _1dsr) { var _1dss = null; if ('function' != typeof _1dsr && null !== _1dsr) throw new TypeError('Class extends value ' + String(_1dsr) + ' is not a constructor or null'); function _1dst() { var _1dsu = null; this.constructor = _1dsq; } _1dse(_1dsq, _1dsr), _1dsq.prototype = null === _1dsr ? Object.create(_1dsr) : (_1dst.prototype = _1dsr.prototype, new _1dst()); }); defineModule(_1dsb); Object.defineProperty(_1dsb, '__esModule', { 'value': !0 }), _1dsb.Button = void 0; var _1dsv = _1dsc(35380), _1dsw = function(_1dsx) { var _1dsy = null; function _1dsz(_1dt0) { var _1dt1 = null, _1dt2 = _1dsx.call(this) || this; return _1dt2._onClick = function() { var _1dt3 = null; null == _1dt2 || _1dt2._cb_onClick(); }, _1dt2._onMouseOver = function() { var _1dt4 = null; _1dt2._setTexture(_1dt2.__texture_on); }, _1dt2._onMouseOut = function() { var _1dt5 = null; _1dt2._setTexture(_1dt2.__texture); }, _1dt2._cb_onClick = _1dt0, _1dt2.on(_1dsv.EventType.MOUSEOVER, _1dt2._onMouseOver), _1dt2.on(_1dsv.EventType.MOUSEOUT, _1dt2._onMouseOut), _1dt2.on(_1dsv.EventType.CLICK, _1dt2._onClick), _1dt2; } return _1dsf(_1dsz, _1dsx), _1dsz.prototype.initialize = function(_1dt6, _1dt7) { var _1dt8 = null; this.__texture = _1dt6, this.__texture_on = _1dt7, this._setTexture(this.__texture); }, _1dsz.prototype.dispose = function() { var _1dt9 = null; this.interactive = this.buttonMode = !1, this.off(_1dsv.EventType.MOUSEOVER, this._onMouseOver), this.off(_1dsv.EventType.MOUSEOUT, this._onMouseOut), this.destroy(); }, _1dsz.prototype.updateTexture = function(_1dta, _1dtb) { var _1dtc = null; this.__texture = _1dta, this.__texture_on = _1dtb, this._setTexture(this.__texture); }, _1dsz.prototype._setTexture = function(_1dtd) { var _1dte = null; this.texture = _1dtd; }, _1dsz; }(PIXI.Sprite); _1dsb.Button = _1dsw; }, 88225: function(_1dtf, _1dtg, _1dth) { 'use strict'; var _1dti = null; var _1dtj, _1dtk = this && this.__extends || (_1dtj = function(_1dtl, _1dtm) { var _1dtn = null; return _1dtj = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1dto, _1dtp) { var _1dtq = null; _1dto.__proto__ = _1dtp; } || function(_1dtr, _1dts) { var _1dtt = null; for (var _1dtu in _1dts) Object.prototype.hasOwnProperty.call(_1dts, _1dtu) && (_1dtr[_1dtu] = _1dts[_1dtu]); }, _1dtj(_1dtl, _1dtm); }, function(_1dtv, _1dtw) { var _1dtx = null; if ('function' != typeof _1dtw && null !== _1dtw) throw new TypeError('Class extends value ' + String(_1dtw) + ' is not a constructor or null'); function _1dty() { var _1dtz = null; this.constructor = _1dtv; } _1dtj(_1dtv, _1dtw), _1dtv.prototype = null === _1dtw ? Object.create(_1dtw) : (_1dty.prototype = _1dtw.prototype, new _1dty()); }); defineModule(_1dtg); Object.defineProperty(_1dtg, '__esModule', { 'value': !0 }), _1dtg.CircleEffectLayer = void 0; var _1du0 = _1dth(64052), _1du1 = function(_1du2) { var _1du3 = null; function _1du4() { var _1du5 = null, _1du6 = _1du2.call(this) || this; _1du6._particle = new Array(); for (var _1du7 = [600], _1du8 = [243], _1du9 = 0; _1du9 < 8; _1du9++) _1du7.push(555 + 90 * Math.random()), _1du8.push(243 - 90 * Math.random()); for (_1du9 = 0; _1du9 < _1du7.length; _1du9++) { var _1dua = new _1dub(); _1dua.position.set(_1du7[_1du9], _1du8[_1du9]), _1du6.addChild(_1dua), _1du6._particle.push(_1dua); } return _1du6; } return _1dtk(_1du4, _1du2), _1du4.prototype.activate = function() { var _1duc = null; this.initialize(); }, _1du4.prototype.initialize = function() { var _1dud = null; for (var _1due = function(_1duf) { var _1dug = null; createjs.Tween.get(null).wait(1000 * Math.random()).call(function() { var _1duh = null; _1duf.initialize(), _1duf.alpha = 1, _1duf.startAnim(); }); }, _1dui = 0, _1duj = this._particle; _1dui < _1duj.length; _1dui++) { _1due(_1duj[_1dui]); } }, _1du4.prototype.dispose = function() { var _1duk = null; for (var _1dul = 0, _1dum = this._particle; _1dul < _1dum.length; _1dul++) { var _1dun = _1dum[_1dul]; _1dun.alpha = 0, _1dun.stopAnim(); } }, _1du4; }(PIXI.Container); _1dtg.CircleEffectLayer = _1du1; var _1dub = function(_1duo) { var _1dup = null; function _1duq() { var _1dur = null; return _1duo.call(this) || this; } return _1dtk(_1duq, _1duo), _1duq.prototype.initialize = function() { var _1dus = null; this.alpha = 0, this.anchor.set(0.5, 0.5), this.scale.set(0.5, 0.5), this._initXYSpeed(), this.texture = _1du0.REVAMP_MAIN.getTexture(17); }, _1duq.prototype.startAnim = function() { var _1dut = null; this._anim(); }, _1duq.prototype.stopAnim = function() { var _1duu = null; null != this._tween && (this._tween.setPaused(!0), this._tween = null); }, _1duq.prototype._initXYSpeed = function() { var _1duv = null; this._vx = (2 * Math.random() < 1 ? 1 : -1) * (6 * Math.random() + 6), this._vy = -(6 * Math.random() + 6), this._rot = 0.025 * (this._vx > 0 ? 1 : -1); }, _1duq.prototype._anim = function() { var _1duw = null, _1dux = this; this._tween = createjs.Tween.get(this).to({ 'alpha': 1 }, 0).to({ 'x': this.x + this._vx, 'y': this.y + this._vy, 'rotation': this.rotation + this._rot }, 20).call(function() { var _1duy = null; _1dux._tween = null, _1dux.y > 1200 && (_1dux.y = 243 - 90 * Math.random(), _1dux.x = 555 + 90 * Math.random(), _1dux._initXYSpeed()), _1dux._vy += 0.4, _1dux._anim(); }); }, _1duq; }(PIXI.Sprite); }, 25805: function(_1duz, _1dv0, _1dv1) { 'use strict'; var _1dv2 = null; var _1dv3, _1dv4 = this && this.__extends || (_1dv3 = function(_1dv5, _1dv6) { var _1dv7 = null; return _1dv3 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1dv8, _1dv9) { var _1dva = null; _1dv8.__proto__ = _1dv9; } || function(_1dvb, _1dvc) { var _1dvd = null; for (var _1dve in _1dvc) Object.prototype.hasOwnProperty.call(_1dvc, _1dve) && (_1dvb[_1dve] = _1dvc[_1dve]); }, _1dv3(_1dv5, _1dv6); }, function(_1dvf, _1dvg) { var _1dvh = null; if ('function' != typeof _1dvg && null !== _1dvg) throw new TypeError('Class extends value ' + String(_1dvg) + ' is not a constructor or null'); function _1dvi() { var _1dvj = null; this.constructor = _1dvf; } _1dv3(_1dvf, _1dvg), _1dvf.prototype = null === _1dvg ? Object.create(_1dvg) : (_1dvi.prototype = _1dvg.prototype, new _1dvi()); }); defineModule(_1dv0); Object.defineProperty(_1dv0, '__esModule', { 'value': !0 }), _1dv0.IconSlotLevel = void 0; var _1dvk = _1dv1(38406), _1dvl = _1dv1(8744), _1dvm = function(_1dvn) { var _1dvo = null; function _1dvp() { var _1dvq = null, _1dvr = _1dvn.call(this) || this; return _1dvr._icon_star = new PIXI.Sprite(_1dvk.REVAMP_BOX.getTexture(29)), _1dvr._icon_star.position.set(0, 0), _1dvr.addChild(_1dvr._icon_star), _1dvr._icon_plus = new PIXI.Sprite(_1dvk.REVAMP_BOX.getTexture(27)), _1dvr._icon_plus.position.set(17, 3), _1dvr.addChild(_1dvr._icon_plus), _1dvr._text_level = new _1dvl.TextBox(17, 4565413), _1dvr._text_level.position.set(30, -1), _1dvr._text_level.text = '', _1dvr.addChild(_1dvr._text_level), _1dvr._icon_starM = new PIXI.Sprite(_1dvk.REVAMP_BOX.getTexture(30)), _1dvr._icon_starM.position.set(11, -6), _1dvr.addChild(_1dvr._icon_starM), _1dvr; } return _1dv4(_1dvp, _1dvn), _1dvp.prototype.update = function(_1dvs) { var _1dvt = null; _1dvs < 1 ? (this._icon_star.visible = !1, this._icon_plus.visible = !1, this._text_level.visible = !1, this._text_level.text = '', this._icon_starM.visible = !1) : _1dvs < 10 ? (this._icon_star.visible = !0, this._icon_plus.visible = !0, this._text_level.visible = !0, this._text_level.text = _1dvs + '', this._icon_starM.visible = !1) : (this._icon_star.visible = !1, this._icon_plus.visible = !1, this._text_level.visible = !1, this._text_level.text = '', this._icon_starM.visible = !0); }, _1dvp.prototype.dispose = function() { var _1dvu = null, _1dvv, _1dvw, _1dvx, _1dvy; null === (_1dvv = this._icon_star) || void 0 === _1dvv || _1dvv.destroy(), this._icon_star = null, null === (_1dvw = this._icon_plus) || void 0 === _1dvw || _1dvw.destroy(), this._icon_plus = null, null === (_1dvx = this._text_level) || void 0 === _1dvx || _1dvx.destroy(), this._text_level = null, null === (_1dvy = this._icon_starM) || void 0 === _1dvy || _1dvy.destroy(), this._icon_starM = null; }, _1dvp; }(PIXI.Container); _1dv0.IconSlotLevel = _1dvm; }, 97753: function(_1dvz, _1dw0, _1dw1) { 'use strict'; var _1dw2 = null; var _1dw3, _1dw4 = this && this.__extends || (_1dw3 = function(_1dw5, _1dw6) { var _1dw7 = null; return _1dw3 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1dw8, _1dw9) { var _1dwa = null; _1dw8.__proto__ = _1dw9; } || function(_1dwb, _1dwc) { var _1dwd = null; for (var _1dwe in _1dwc) Object.prototype.hasOwnProperty.call(_1dwc, _1dwe) && (_1dwb[_1dwe] = _1dwc[_1dwe]); }, _1dw3(_1dw5, _1dw6); }, function(_1dwf, _1dwg) { var _1dwh = null; if ('function' != typeof _1dwg && null !== _1dwg) throw new TypeError('Class extends value ' + String(_1dwg) + ' is not a constructor or null'); function _1dwi() { var _1dwj = null; this.constructor = _1dwf; } _1dw3(_1dwf, _1dwg), _1dwf.prototype = null === _1dwg ? Object.create(_1dwg) : (_1dwi.prototype = _1dwg.prototype, new _1dwi()); }); defineModule(_1dw0); Object.defineProperty(_1dw0, '__esModule', { 'value': !0 }), _1dw0.IconStars = void 0; var _1dwk = _1dw1(38406), _1dwl = function(_1dwm) { var _1dwn = null; function _1dwo() { var _1dwp = null, _1dwq = _1dwm.call(this) || this; return _1dwq._icon_stars = [], _1dwq; } return _1dw4(_1dwo, _1dwm), _1dwo.prototype.update = function(_1dwr) { var _1dws = null; this.removeChildren(), this._icon_stars = []; for (var _1dwt = 0; _1dwt < _1dwr; _1dwt++) this._icon_stars[_1dwt] = new PIXI.Sprite(_1dwk.REVAMP_BOX.getTexture(29)), this._icon_stars[_1dwt].visible = !0, this._icon_stars[_1dwt].position.set(19 * _1dwt, 0), this.addChild(this._icon_stars[_1dwt]); }, _1dwo.prototype.dispose = function() { var _1dwu = null, _1dwv; this.removeChildren(), null === (_1dwv = this._icon_stars) || void 0 === _1dwv || _1dwv.forEach(function(_1dww) { var _1dwx = null; return _1dww.destroy(); }), this._icon_stars.length = 0, this._icon_stars = null; }, _1dwo; }(PIXI.Container); _1dw0.IconStars = _1dwl; }, 91976: function(_1dwy, _1dwz, _1dx0) { 'use strict'; var _1dx1 = null; var _1dx2, _1dx3 = this && this.__extends || (_1dx2 = function(_1dx4, _1dx5) { var _1dx6 = null; return _1dx2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1dx7, _1dx8) { var _1dx9 = null; _1dx7.__proto__ = _1dx8; } || function(_1dxa, _1dxb) { var _1dxc = null; for (var _1dxd in _1dxb) Object.prototype.hasOwnProperty.call(_1dxb, _1dxd) && (_1dxa[_1dxd] = _1dxb[_1dxd]); }, _1dx2(_1dx4, _1dx5); }, function(_1dxe, _1dxf) { var _1dxg = null; if ('function' != typeof _1dxf && null !== _1dxf) throw new TypeError('Class extends value ' + String(_1dxf) + ' is not a constructor or null'); function _1dxh() { var _1dxi = null; this.constructor = _1dxe; } _1dx2(_1dxe, _1dxf), _1dxe.prototype = null === _1dxf ? Object.create(_1dxf) : (_1dxh.prototype = _1dxf.prototype, new _1dxh()); }); defineModule(_1dwz); Object.defineProperty(_1dwz, '__esModule', { 'value': !0 }), _1dwz.MaterialBox = void 0; var _1dxj = _1dx0(38406), _1dxk = _1dx0(8744), _1dxl = function(_1dxm) { var _1dxn = null; function _1dxo() { var _1dxp = null, _1dxq = _1dxm.call(this) || this; return _1dxq._icon_fuel = new PIXI.Sprite(_1dxj.REVAMP_BOX.getTexture(20)), _1dxq._icon_fuel.position.set(0, 0), _1dxq.addChild(_1dxq._icon_fuel), _1dxq._icon_bull = new PIXI.Sprite(_1dxj.REVAMP_BOX.getTexture(22)), _1dxq._icon_bull.position.set(66, 0), _1dxq.addChild(_1dxq._icon_bull), _1dxq._icon_steel = new PIXI.Sprite(_1dxj.REVAMP_BOX.getTexture(23)), _1dxq._icon_steel.position.set(135, 0), _1dxq.addChild(_1dxq._icon_steel), _1dxq._icon_bauxite = new PIXI.Sprite(_1dxj.REVAMP_BOX.getTexture(24)), _1dxq._icon_bauxite.position.set(203, 0), _1dxq.addChild(_1dxq._icon_bauxite), _1dxq._icon_buildkit = new PIXI.Sprite(_1dxj.REVAMP_BOX.getTexture(25)), _1dxq._icon_buildkit.position.set(0, 32), _1dxq.addChild(_1dxq._icon_buildkit), _1dxq._icon_remodelkit = new PIXI.Sprite(_1dxj.REVAMP_BOX.getTexture(26)), _1dxq._icon_remodelkit.position.set(63, 32), _1dxq.addChild(_1dxq._icon_remodelkit), _1dxq._fuel = new _1dxk.TextBox(17, 4999235), _1dxq._bull = new _1dxk.TextBox(17, 4999235), _1dxq._steel = new _1dxk.TextBox(17, 4999235), _1dxq._bauxite = new _1dxk.TextBox(17, 4999235), _1dxq._buildkit = new _1dxk.TextBox(17, 4999235), _1dxq._remodelkit = new _1dxk.TextBox(17, 4999235), _1dxq._paramTexts = [_1dxq._fuel, _1dxq._bull, _1dxq._steel, _1dxq._bauxite, _1dxq._buildkit, _1dxq._remodelkit], _1dxq._paramTexts.forEach(function(_1dxr, _1dxs) { var _1dxt = null, _1dxu = new PIXI.Point(); _1dxs < 4 ? _1dxu.set(30 + 67 * _1dxs, 3) : _1dxu.set(30 + 61 * (_1dxs - 4), 41), _1dxr.text = '', _1dxr.position = _1dxu, _1dxq.addChild(_1dxr); }), _1dxq._icon_buildkit_light = new PIXI.Sprite(_1dxj.REVAMP_BOX.getTexture(21)), _1dxq._icon_buildkit_light.visible = !1, _1dxq._icon_buildkit_light.position.set(-8, 23), _1dxq.addChild(_1dxq._icon_buildkit_light), _1dxq._icon_remodelkit_light = new PIXI.Sprite(_1dxj.REVAMP_BOX.getTexture(21)), _1dxq._icon_remodelkit_light.visible = !1, _1dxq._icon_remodelkit_light.position.set(56, 23), _1dxq.addChild(_1dxq._icon_remodelkit_light), _1dxq; } return _1dx3(_1dxo, _1dxm), _1dxo.prototype.initilaize = function(_1dxv) { var _1dxw = null; this._fuel.text = _1dxv.req_fuel.toString(), this._bull.text = _1dxv.req_bull.toString(), this._steel.text = _1dxv.req_steel.toString(), this._bauxite.text = _1dxv.req_bauxite.toString(), this._resizeParamText(this._buildkit, _1dxv.req_buildkit), this._buildkit.text = 'x' + _1dxv.req_buildkit.toString(), this._resizeParamText(this._remodelkit, _1dxv.req_remodelkit), this._remodelkit.text = 'x' + _1dxv.req_remodelkit.toString(); }, _1dxo.prototype.update = function(_1dxx, _1dxy, _1dxz) { var _1dy0 = null; this._resizeParamText(this._buildkit, _1dxy), this._buildkit.text = 'x' + _1dxy.toString(), this._resizeParamText(this._remodelkit, _1dxz), this._remodelkit.text = 'x' + _1dxz.toString(), this._icon_buildkit_light.visible = _1dxx, this._icon_remodelkit_light.visible = _1dxx; }, _1dxo.prototype._resizeParamText = function(_1dy1, _1dy2) { var _1dy3 = null; _1dy2 >= 100 ? (_1dy1.style.letterSpacing = -2, _1dy1.style.fontSize = 15, _1dy1.position.y = 43) : (_1dy1.style.letterSpacing = 0, _1dy1.style.fontSize = 17, _1dy1.position.y = 41); }, _1dxo.prototype.dispose = function() { var _1dy4 = null, _1dy5, _1dy6, _1dy7, _1dy8, _1dy9, _1dya, _1dyb, _1dyc, _1dyd, _1dye, _1dyf, _1dyg; null === (_1dy5 = this._icon_fuel) || void 0 === _1dy5 || _1dy5.destroy(), this._icon_fuel = null, null === (_1dy6 = this._fuel) || void 0 === _1dy6 || _1dy6.destroy(), this._fuel = null, null === (_1dy7 = this._icon_bull) || void 0 === _1dy7 || _1dy7.destroy(), this._icon_bull = null, null === (_1dy8 = this._bull) || void 0 === _1dy8 || _1dy8.destroy(), this._bull = null, null === (_1dy9 = this._icon_steel) || void 0 === _1dy9 || _1dy9.destroy(), this._icon_steel = null, null === (_1dya = this._steel) || void 0 === _1dya || _1dya.destroy(), this._steel = null, null === (_1dyb = this._icon_bauxite) || void 0 === _1dyb || _1dyb.destroy(), this._icon_bauxite = null, null === (_1dyc = this._bauxite) || void 0 === _1dyc || _1dyc.destroy(), this._bauxite = null, null === (_1dyd = this._icon_buildkit) || void 0 === _1dyd || _1dyd.destroy(), this._icon_buildkit = null, null === (_1dye = this._icon_buildkit_light) || void 0 === _1dye || _1dye.destroy(), this._icon_buildkit_light = null, null === (_1dyf = this._icon_remodelkit) || void 0 === _1dyf || _1dyf.destroy(), this._icon_remodelkit = null, null === (_1dyg = this._icon_remodelkit_light) || void 0 === _1dyg || _1dyg.destroy(), this._icon_remodelkit_light = null; }, _1dxo; }(PIXI.Container); _1dwz.MaterialBox = _1dxl; }, 61818: function(_1dyh, _1dyi, _1dyj) { 'use strict'; var _1dyk = null; var _1dyl, _1dym = this && this.__extends || (_1dyl = function(_1dyn, _1dyo) { var _1dyp = null; return _1dyl = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1dyq, _1dyr) { var _1dys = null; _1dyq.__proto__ = _1dyr; } || function(_1dyt, _1dyu) { var _1dyv = null; for (var _1dyw in _1dyu) Object.prototype.hasOwnProperty.call(_1dyu, _1dyw) && (_1dyt[_1dyw] = _1dyu[_1dyw]); }, _1dyl(_1dyn, _1dyo); }, function(_1dyx, _1dyy) { var _1dyz = null; if ('function' != typeof _1dyy && null !== _1dyy) throw new TypeError('Class extends value ' + String(_1dyy) + ' is not a constructor or null'); function _1dz0() { var _1dz1 = null; this.constructor = _1dyx; } _1dyl(_1dyx, _1dyy), _1dyx.prototype = null === _1dyy ? Object.create(_1dyy) : (_1dz0.prototype = _1dyy.prototype, new _1dz0()); }); defineModule(_1dyi); Object.defineProperty(_1dyi, '__esModule', { 'value': !0 }), _1dyi.SeekBtn = _1dyi.PageBtn = _1dyi.Pager = void 0; var _1dz2 = _1dyj(35380), _1dz3 = _1dyj(79899), _1dz4 = _1dyj(8744), _1dz5 = function(_1dz6) { var _1dz7 = null; function _1dz8() { var _1dz9 = null; return null !== _1dz6 && _1dz6.apply(this, arguments) || this; } return _1dym(_1dz8, _1dz6), Object.defineProperty(_1dz8.prototype, 'selected_index', { 'get': function() { var _1dza = null; return this._selected_index; }, 'enumerable': !1, 'configurable': !0 }), _1dz8; }(PIXI.Container); _1dyi.Pager = _1dz5; var _1dzb = function(_1dzc) { var _1dzd = null; function _1dze(_1dzf) { var _1dzg = null, _1dzh = _1dzc.call(this) || this; return _1dzh._onClick = function() { var _1dzi = null; null != _1dzh._cb_onClick && _1dzh._cb_onClick(_1dzh._page_index); }, _1dzh._page_index = 0, _1dzh._enabled = !1, _1dzh._selected = !1, _1dzh._cb_onClick = _1dzf, _1dzh._text = new _1dz4.TextBox(33, 16777215), _1dzh._text.style.letterSpacing = -1, _1dzh._text.anchor.set(0.5, 0), _1dzh.addChild(_1dzh._text), _1dzh._hitArea = new _1dz3.AreaBox(0, 0, 42, 36), _1dzh._hitArea.position.set(-21, 0), _1dzh.addChild(_1dzh._hitArea), _1dzh._hitArea.on(_1dz2.EventType.CLICK, _1dzh._onClick), _1dzh._hitArea.buttonMode = _1dzh._hitArea.interactive = !1, _1dzh; } return _1dym(_1dze, _1dzc), _1dze.prototype.initialize = function(_1dzj, _1dzk, _1dzl) { var _1dzm = null; this._page_index = _1dzj, this._text.text = (this._page_index + 1).toString(), this._enabled = _1dzk, this._selected = _1dzl, this._text.style.fill = 0 == _1dzk ? 16777215 : 1 == _1dzl ? 1949120 : 0; }, _1dze.prototype.update = function(_1dzn, _1dzo, _1dzp) { var _1dzq = null; this._page_index = _1dzn, this._text.text = (this._page_index + 1).toString(), this._enabled = _1dzo, this._selected = _1dzp, 0 == _1dzo ? (this._text.style.fill = 16777215, this._deactivate()) : 1 == _1dzp ? (this._text.style.fill = 1949120, this._deactivate()) : (this._text.style.fill = 0, this._activate()); }, _1dze.prototype.activate = function() { var _1dzr = null; 0 == this._enabled || 1 == this._selected ? this._deactivate() : this._activate(); }, _1dze.prototype.deactivate = function() { var _1dzs = null; this._deactivate(); }, _1dze.prototype._activate = function() { var _1dzt = null; 1 != this._hitArea.buttonMode && (this._hitArea.interactive = this._hitArea.buttonMode = !0); }, _1dze.prototype._deactivate = function() { var _1dzu = null; this._hitArea.interactive = this._hitArea.buttonMode = !1; }, _1dze.prototype.dispose = function() { var _1dzv = null; this._hitArea.off(_1dz2.EventType.CLICK, this._onClick), this._deactivate(), this.removeChildren(), this._text.destroy(), this._cb_onClick = null, this._hitArea = null; }, _1dze; }(PIXI.Container); _1dyi.PageBtn = _1dzb; var _1dzw = function(_1dzx) { var _1dzy = null; function _1dzz(_1e00) { var _1e01 = null, _1e02 = _1dzx.call(this) || this; return _1e02._onClick = function() { var _1e03 = null; null != _1e02._onClick && _1e02._cb_onClick(); }, _1e02._btn_texture = _1e00, _1e02; } return _1dym(_1dzz, _1dzx), _1dzz.prototype.initialize = function(_1e04) { var _1e05 = null; this._setTexture(this._btn_texture), this.on(_1dz2.EventType.CLICK, this._onClick), this._cb_onClick = _1e04; }, _1dzz.prototype.dispose = function() { var _1e06 = null; this.interactive = this.buttonMode = !1, this.off(_1dz2.EventType.CLICK, this._onClick), this.destroy(); }, _1dzz.prototype._setTexture = function(_1e07) { var _1e08 = null; this.texture = _1e07; }, _1dzz; }(PIXI.Sprite); _1dyi.SeekBtn = _1dzw; }, 4785: function(_1e09, _1e0a, _1e0b) { 'use strict'; var _1e0c = null; var _1e0d, _1e0e = this && this.__extends || (_1e0d = function(_1e0f, _1e0g) { var _1e0h = null; return _1e0d = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1e0i, _1e0j) { var _1e0k = null; _1e0i.__proto__ = _1e0j; } || function(_1e0l, _1e0m) { var _1e0n = null; for (var _1e0o in _1e0m) Object.prototype.hasOwnProperty.call(_1e0m, _1e0o) && (_1e0l[_1e0o] = _1e0m[_1e0o]); }, _1e0d(_1e0f, _1e0g); }, function(_1e0p, _1e0q) { var _1e0r = null; if ('function' != typeof _1e0q && null !== _1e0q) throw new TypeError('Class extends value ' + String(_1e0q) + ' is not a constructor or null'); function _1e0s() { var _1e0t = null; this.constructor = _1e0p; } _1e0d(_1e0p, _1e0q), _1e0p.prototype = null === _1e0q ? Object.create(_1e0q) : (_1e0s.prototype = _1e0q.prototype, new _1e0s()); }); defineModule(_1e0a); Object.defineProperty(_1e0a, '__esModule', { 'value': !0 }), _1e0a.PagerNormal = void 0; var _1e0u = _1e0b(38406), _1e0v = _1e0b(31000), _1e0w = _1e0b(61818), _1e0x = function(_1e0y) { var _1e0z = null; function _1e10(_1e11) { var _1e12 = null, _1e13 = _1e0y.call(this) || this; return _1e13._VIEW_PAGE_COUNT = 5, _1e13._onClickPage = function(_1e14) { var _1e15 = null; _1e0v.SE.play('249'), _1e13._selected_index = _1e14, _1e13._updatePageNumbers(_1e13._selected_index), _1e13._cb_onChange(_1e13._selected_index); }, _1e13._onClick_prev = function() { var _1e16 = null; _1e0v.SE.play('249'), _1e13._selected_index -= _1e13._VIEW_PAGE_COUNT, _1e13._selected_index < 0 && (_1e13._selected_index = 0), _1e13._updatePageNumbers(_1e13._selected_index), _1e13._cb_onChange(_1e13._selected_index); }, _1e13._onClick_next = function() { var _1e17 = null; _1e0v.SE.play('249'), _1e13._selected_index += _1e13._VIEW_PAGE_COUNT, _1e13._max_page <= _1e13._selected_index && (_1e13._selected_index = _1e13._max_page - 1), _1e13._updatePageNumbers(_1e13._selected_index), _1e13._cb_onChange(_1e13._selected_index); }, _1e13._cb_onChange = _1e11, _1e13._pages = [], _1e13._btn_prev = new _1e0w.SeekBtn(_1e0u.REVAMP_LIST.getTexture(4)), _1e13._btn_prev.position.set(19, 6), _1e13.addChild(_1e13._btn_prev), _1e13._btn_next = new _1e0w.SeekBtn(_1e0u.REVAMP_LIST.getTexture(3)), _1e13._btn_next.position.set(292, 6), _1e13.addChild(_1e13._btn_next), _1e13; } return _1e0e(_1e10, _1e0y), _1e10.prototype.initialize = function(_1e18) { var _1e19 = null; this._max_page = _1e18, this._selected_index = 0; for (var _1e1a = 0; _1e1a < this._VIEW_PAGE_COUNT; _1e1a++) { var _1e1b = new _1e0w.PageBtn(this._onClickPage); this.addChild(_1e1b), _1e1b.position.set(84 + 42 * _1e1a, 0), this._pages.push(_1e1b); var _1e1c = _1e1a < this._max_page, _1e1d = this._selected_index == _1e1a; this._pages[_1e1a].initialize(_1e1a, _1e1c, _1e1d); } this._btn_prev.initialize(this._onClick_prev), this._btn_next.initialize(this._onClick_next); }, _1e10.prototype.activate = function() { var _1e1e = null; this._activate(); }, _1e10.prototype.deactivate = function() { var _1e1f = null; this._deactivate(); }, _1e10.prototype.dispose = function() { var _1e1g = null; this.removeChildren(), this._deactivate(); }, _1e10.prototype._activate = function() { var _1e1h = null; this._btn_prev.interactive = this._btn_prev.buttonMode = 0 != this._selected_index, this._btn_next.interactive = this._btn_next.buttonMode = this._max_page > 1 && this._selected_index < this._max_page - 1, this._pages.forEach(function(_1e1i) { var _1e1j = null; return _1e1i.activate(); }); }, _1e10.prototype._deactivate = function() { var _1e1k = null; this._btn_prev.interactive = this._btn_prev.buttonMode = !1, this._btn_next.interactive = this._btn_next.buttonMode = !1, this._pages.forEach(function(_1e1l) { var _1e1m = null; return _1e1l.deactivate(); }); }, _1e10.prototype.updatePageNumbers = function(_1e1n) { var _1e1o = null; this._selected_index = _1e1n, this._updatePageNumbers(_1e1n); }, _1e10.prototype._updatePageNumbers = function(_1e1p) { var _1e1q = null, _1e1r = this; this._btn_prev.buttonMode = this._btn_prev.interactive = 0 != _1e1p, this._btn_next.buttonMode = this._btn_next.interactive = this._max_page > 1 && _1e1p < this._max_page - 1; var _1e1s = 0; _1e1p < 2 || this._max_page <= 5 ? (_1e1s = _1e1p, this._pages.forEach(function(_1e1t, _1e1u) { var _1e1v = null, _1e1w = _1e1u < _1e1r._max_page, _1e1x = _1e1u == _1e1s; _1e1t.update(_1e1u, _1e1w, _1e1x); })) : this._max_page - 2 <= _1e1p ? (_1e1s = this._VIEW_PAGE_COUNT - (this._max_page - _1e1p), this._pages.forEach(function(_1e1y, _1e1z) { var _1e20 = null, _1e21 = _1e1r._max_page - (_1e1r._VIEW_PAGE_COUNT - _1e1z), _1e22 = _1e21 < _1e1r._max_page, _1e23 = _1e1z == _1e1s; _1e1y.update(_1e21, _1e22, _1e23); })) : (_1e1s = 2, this._pages.forEach(function(_1e24, _1e25) { var _1e26 = null, _1e27 = _1e1p + (_1e25 - 2), _1e28 = _1e27 < _1e1r._max_page, _1e29 = _1e25 == _1e1s; _1e24.update(_1e27, _1e28, _1e29); })); }, _1e10; }(_1e0w.Pager); _1e0a.PagerNormal = _1e0x; }, 16512: function(_1e2a, _1e2b, _1e2c) { 'use strict'; var _1e2d = null; var _1e2e, _1e2f = this && this.__extends || (_1e2e = function(_1e2g, _1e2h) { var _1e2i = null; return _1e2e = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1e2j, _1e2k) { var _1e2l = null; _1e2j.__proto__ = _1e2k; } || function(_1e2m, _1e2n) { var _1e2o = null; for (var _1e2p in _1e2n) Object.prototype.hasOwnProperty.call(_1e2n, _1e2p) && (_1e2m[_1e2p] = _1e2n[_1e2p]); }, _1e2e(_1e2g, _1e2h); }, function(_1e2q, _1e2r) { var _1e2s = null; if ('function' != typeof _1e2r && null !== _1e2r) throw new TypeError('Class extends value ' + String(_1e2r) + ' is not a constructor or null'); function _1e2t() { var _1e2u = null; this.constructor = _1e2q; } _1e2e(_1e2q, _1e2r), _1e2q.prototype = null === _1e2r ? Object.create(_1e2r) : (_1e2t.prototype = _1e2r.prototype, new _1e2t()); }); defineModule(_1e2b); Object.defineProperty(_1e2b, '__esModule', { 'value': !0 }), _1e2b.ParticleLayer = void 0; var _1e2v = _1e2c(64052), _1e2w = function(_1e2x) { var _1e2y = null; function _1e2z() { var _1e30 = null, _1e31 = _1e2x.call(this) || this; _1e31._particle = new Array(); for (var _1e32 = [0, 15, 30, 48], _1e33 = [0, 21, 4, 18], _1e34 = 0; _1e34 < _1e32.length; _1e34++) { var _1e35 = new _1e36(); _1e35.position.set(_1e32[_1e34], _1e33[_1e34]), _1e31.addChild(_1e35), _1e31._particle.push(_1e35); } return _1e31; } return _1e2f(_1e2z, _1e2x), _1e2z.prototype.initialize = function() { var _1e37 = null; for (var _1e38 = 0, _1e39 = this._particle; _1e38 < _1e39.length; _1e38++) { var _1e3a = _1e39[_1e38]; _1e3a.initialize(), _1e3a.startAnim(); } }, _1e2z.prototype.dispose = function() { var _1e3b = null; for (var _1e3c = 0, _1e3d = this._particle; _1e3c < _1e3d.length; _1e3c++) { _1e3d[_1e3c].stopAnim(); } }, _1e2z; }(PIXI.Container); _1e2b.ParticleLayer = _1e2w; var _1e36 = function(_1e3e) { var _1e3f = null; function _1e3g() { var _1e3h = null, _1e3i = _1e3e.call(this) || this; return _1e3i.alpha = 0, _1e3i; } return _1e2f(_1e3g, _1e3e), _1e3g.prototype.initialize = function() { var _1e3j = null; this.texture = _1e2v.REVAMP_MAIN.getTexture(28); }, _1e3g.prototype.startAnim = function() { var _1e3k = null; this._anim(); }, _1e3g.prototype.stopAnim = function() { var _1e3l = null; null != this._tween && (this._tween.setPaused(!0), this._tween = null); }, _1e3g.prototype._anim = function() { var _1e3m = null, _1e3n = this; this._tween = createjs.Tween.get(this).wait(300 * Math.random() + 300).to({ 'alpha': 1 }, 150).to({ 'alpha': 0 }, 150).call(function() { var _1e3o = null; 2 * Math.random() > 1 ? _1e3n.texture = _1e2v.REVAMP_MAIN.getTexture(28) : _1e3n.texture = _1e2v.REVAMP_MAIN.getTexture(29), _1e3n._tween = null, _1e3n._anim(); }); }, _1e3g; }(PIXI.Sprite); }, 61057: function(_1e3p, _1e3q, _1e3r) { 'use strict'; var _1e3s = null; var _1e3t, _1e3u = this && this.__extends || (_1e3t = function(_1e3v, _1e3w) { var _1e3x = null; return _1e3t = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1e3y, _1e3z) { var _1e40 = null; _1e3y.__proto__ = _1e3z; } || function(_1e41, _1e42) { var _1e43 = null; for (var _1e44 in _1e42) Object.prototype.hasOwnProperty.call(_1e42, _1e44) && (_1e41[_1e44] = _1e42[_1e44]); }, _1e3t(_1e3v, _1e3w); }, function(_1e45, _1e46) { var _1e47 = null; if ('function' != typeof _1e46 && null !== _1e46) throw new TypeError('Class extends value ' + String(_1e46) + ' is not a constructor or null'); function _1e48() { var _1e49 = null; this.constructor = _1e45; } _1e3t(_1e45, _1e46), _1e45.prototype = null === _1e46 ? Object.create(_1e46) : (_1e48.prototype = _1e46.prototype, new _1e48()); }); defineModule(_1e3q); Object.defineProperty(_1e3q, '__esModule', { 'value': !0 }), _1e3q.ShootingStarLayer = void 0; var _1e4a = _1e3r(49231), _1e4b = function(_1e4c) { var _1e4d = null; function _1e4e(_1e4f) { var _1e4g = null, _1e4h = _1e4c.call(this) || this; _1e4h._particle = new Array(); for (var _1e4i = [300, 600, 900], _1e4j = [0, 0, 0], _1e4k = 0; _1e4k < 10; _1e4k++) 0 == _1e4f ? _1e4i.push(1200 * Math.random()) : _1e4i.push(300 * Math.random() + 450), _1e4j.push(-30 - 105 * Math.random()); for (_1e4k = 0; _1e4k < _1e4i.length; _1e4k++) { var _1e4l = new _1e4m(_1e4f); _1e4l.position.set(_1e4i[_1e4k], _1e4j[_1e4k]), _1e4h.addChild(_1e4l), _1e4h._particle.push(_1e4l); } return _1e4h; } return _1e3u(_1e4e, _1e4c), _1e4e.prototype.start = function() { var _1e4n = null; for (var _1e4o = 0, _1e4p = this._particle; _1e4o < _1e4p.length; _1e4o++) { var _1e4q = _1e4p[_1e4o]; _1e4q.initialize(), _1e4q.alpha = 1, _1e4q.startAnim(); } }, _1e4e.prototype.stop = function() { var _1e4r = null; for (var _1e4s = 0, _1e4t = this._particle; _1e4s < _1e4t.length; _1e4s++) { var _1e4u = _1e4t[_1e4s]; _1e4u.alpha = 0, _1e4u.stopAnim(); } }, _1e4e.prototype.dispose = function() { var _1e4v = null; this._particle.forEach(function(_1e4w) { var _1e4x = null; _1e4w.stopAnim(), _1e4w.destroy(); }), this._particle.length = 0, this._particle = null; }, _1e4e; }(PIXI.Container); _1e3q.ShootingStarLayer = _1e4b; var _1e4m = function(_1e4y) { var _1e4z = null; function _1e50(_1e51) { var _1e52 = null, _1e53 = _1e4y.call(this) || this; return _1e53._wind = _1e51, _1e53; } return _1e3u(_1e50, _1e4y), _1e50.prototype.initialize = function() { var _1e54 = null; this.alpha = 0, this.anchor.set(0.5, 0.5), this._rot = (2 * Math.random() < 1 ? 1 : -1) * Math.random() * 5 * Math.PI * 2, this._scale = 0.75 * Math.random() + 0.5, this._vx = (1 * Math.random() * this._scale * this._scale + 300) * this._wind, this.scale.set(this._scale, this._scale), this.texture = _1e4a.REVAMP_MAIN.getTexture(18); }, _1e50.prototype.startAnim = function() { var _1e55 = null; this._anim(); }, _1e50.prototype.stopAnim = function() { var _1e56 = null; null != this._tween && (this._tween.setPaused(!0), this._tween = null); }, _1e50.prototype._calc = function() { var _1e57 = null; 0 == this._wind ? this.x = 1200 * Math.random() : this.x = 300 * Math.random() + 450, this.y = -30 - 105 * Math.random(), this._rot += (2 * Math.random() < 1 ? 1 : -1) * Math.random() * 5 * Math.PI * 2; }, _1e50.prototype._anim = function() { var _1e58 = null, _1e59 = this; this._tween = createjs.Tween.get(this).to({ 'alpha': 1 }).to({ 'y': 800, 'x': this.x + this._vx, 'rotation': this._rot }, 3000 * Math.random() + 1000).call(function() { var _1e5a = null; _1e59._tween = null, _1e59._calc(), _1e59._anim(); }); }, _1e50; }(PIXI.Sprite); }, 71843: function(_1e5b, _1e5c, _1e5d) { 'use strict'; var _1e5e = null; var _1e5f, _1e5g = this && this.__extends || (_1e5f = function(_1e5h, _1e5i) { var _1e5j = null; return _1e5f = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1e5k, _1e5l) { var _1e5m = null; _1e5k.__proto__ = _1e5l; } || function(_1e5n, _1e5o) { var _1e5p = null; for (var _1e5q in _1e5o) Object.prototype.hasOwnProperty.call(_1e5o, _1e5q) && (_1e5n[_1e5q] = _1e5o[_1e5q]); }, _1e5f(_1e5h, _1e5i); }, function(_1e5r, _1e5s) { var _1e5t = null; if ('function' != typeof _1e5s && null !== _1e5s) throw new TypeError('Class extends value ' + String(_1e5s) + ' is not a constructor or null'); function _1e5u() { var _1e5v = null; this.constructor = _1e5r; } _1e5f(_1e5r, _1e5s), _1e5r.prototype = null === _1e5s ? Object.create(_1e5s) : (_1e5u.prototype = _1e5s.prototype, new _1e5u()); }); defineModule(_1e5c); Object.defineProperty(_1e5c, '__esModule', { 'value': !0 }), _1e5c.ToggleBtn = void 0; var _1e5w = _1e5d(38406), _1e5x = _1e5d(35380), _1e5y = function(_1e5z) { var _1e60 = null; function _1e61(_1e62) { var _1e63 = null, _1e64 = _1e5z.call(this) || this; return _1e64._onClick = function() { var _1e65 = null; null == _1e64._tween && (_1e64._ensure ? _1e64._tween = createjs.Tween.get(_1e64._switch_btn_maru).to({ 'x': 51 }, 233, createjs.Ease.cubicOut).call(function() { var _1e66 = null, _1e67; _1e64._ensure = !1, _1e64._tween = null, null === (_1e67 = _1e64._switch_btn) || void 0 === _1e67 || _1e67.initialize(9), null == _1e64 || _1e64._cb_onClick(); }) : _1e64._tween = createjs.Tween.get(_1e64._switch_btn_maru).to({ 'x': -14 }, 233, createjs.Ease.cubicOut).call(function() { var _1e68 = null, _1e69; _1e64._ensure = !0, null === (_1e69 = _1e64._switch_btn) || void 0 === _1e69 || _1e69.initialize(10), _1e64._tween = null, null == _1e64 || _1e64._cb_onClick(); })); }, _1e64._icon_quickly = new PIXI.Sprite(_1e5w.REVAMP_BOX.getTexture(28)), _1e64.addChild(_1e64._icon_quickly), _1e64._switch_btn = new _1e6a(_1e64._onClick), _1e64._switch_btn.initialize(9), _1e64._switch_btn.position.set(-14, 15), _1e64._switch_btn.on(_1e5x.EventType.CLICK, function() { var _1e6b = null; _1e64._onClick(); }), _1e64.addChild(_1e64._switch_btn), _1e64._switch_btn_maru = new PIXI.Sprite(_1e5w.REVAMP_BOX.getTexture(8)), _1e64.addChild(_1e64._switch_btn_maru), _1e64._cb_onClick = _1e62, _1e64; } return _1e5g(_1e61, _1e5z), Object.defineProperty(_1e61.prototype, 'tween', { 'get': function() { var _1e6c = null; return this._tween; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1e61.prototype, 'ensure', { 'get': function() { var _1e6d = null; return this._ensure; }, 'enumerable': !1, 'configurable': !0 }), _1e61.prototype.initialize = function() { var _1e6e = null; this._ensure = !1, this._switch_btn.initialize(9), this._switch_btn_maru.position.set(51, 15); }, _1e61.prototype.activate = function() { var _1e6f = null; this._switch_btn.interactive = this._switch_btn.buttonMode = !0; }, _1e61.prototype.deactivate = function() { var _1e6g = null; this._switch_btn.interactive = this._switch_btn.buttonMode = !1; }, _1e61.prototype.dispose = function() { var _1e6h = null, _1e6i, _1e6j, _1e6k, _1e6l; null === (_1e6i = this._tween) || void 0 === _1e6i || _1e6i.setPaused(!0), this._tween = null, this.removeChildren(), null === (_1e6j = this._icon_quickly) || void 0 === _1e6j || _1e6j.destroy(), this._icon_quickly = null, null === (_1e6k = this._switch_btn_maru) || void 0 === _1e6k || _1e6k.destroy(), this._switch_btn_maru = null, null === (_1e6l = this._switch_btn) || void 0 === _1e6l || _1e6l.destroy(), this._switch_btn = null; }, _1e61; }(PIXI.Container); _1e5c.ToggleBtn = _1e5y; var _1e6a = function(_1e6m) { var _1e6n = null; function _1e6o(_1e6p) { var _1e6q = null, _1e6r = _1e6m.call(this) || this; return _1e6r._onClick = function() { var _1e6s = null; null == _1e6r || _1e6r._cb_onClick(); }, _1e6r._cb_onClick = _1e6p, _1e6r.on(_1e5x.EventType.CLICK, _1e6r._onClick), _1e6r; } return _1e5g(_1e6o, _1e6m), _1e6o.prototype.initialize = function(_1e6t) { var _1e6u = null; this._texture_no = _1e6t, this._setTexture(this._texture_no); }, _1e6o.prototype.dispose = function() { var _1e6v = null; this.interactive = this.buttonMode = !1, this.destroy(); }, _1e6o.prototype._setTexture = function(_1e6w) { var _1e6x = null; this.texture = _1e5w.REVAMP_BOX.getTexture(_1e6w); }, _1e6o; }(PIXI.Sprite); }, 74702: function(_1e6y, _1e6z, _1e70) { 'use strict'; var _1e71 = null; var _1e72 = this && this.__createBinding || (Object.create ? function(_1e73, _1e74, _1e75, _1e76) { var _1e77 = null; void 0 === _1e76 && (_1e76 = _1e75); var _1e78 = Object.getOwnPropertyDescriptor(_1e74, _1e75); _1e78 && !('get' in _1e78 ? !_1e74.__esModule : _1e78.writable || _1e78.configurable) || (_1e78 = { 'enumerable': !0, 'get': function() { return _1e74[_1e75]; } }), Object.defineProperty(_1e73, _1e76, _1e78); } : function(_1e79, _1e7a, _1e7b, _1e7c) { void 0 === _1e7c && (_1e7c = _1e7b), _1e79[_1e7c] = _1e7a[_1e7b]; }), _1e7d = this && this.__exportStar || function(_1e7e, _1e7f) { var _1e7g = null; for (var _1e7h in _1e7e) 'default' === _1e7h || Object.prototype.hasOwnProperty.call(_1e7f, _1e7h) || _1e72(_1e7f, _1e7e, _1e7h); }; defineModule(_1e6z); Object.defineProperty(_1e6z, '__esModule', { 'value': !0 }), _1e7d(_1e70(73252), _1e6z), _1e7d(_1e70(1746), _1e6z), _1e7d(_1e70(54758), _1e6z), _1e7d(_1e70(19831), _1e6z), _1e7d(_1e70(60102), _1e6z), _1e7d(_1e70(92410), _1e6z), _1e7d(_1e70(47117), _1e6z), _1e7d(_1e70(19831), _1e6z), _1e7d(_1e70(31825), _1e6z); }, 15621: function(_1e7i, _1e7j, _1e7k) { 'use strict'; var _1e7l = null; var _1e7m, _1e7n = this && this.__extends || (_1e7m = function(_1e7o, _1e7p) { var _1e7q = null; return _1e7m = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1e7r, _1e7s) { var _1e7t = null; _1e7r.__proto__ = _1e7s; } || function(_1e7u, _1e7v) { var _1e7w = null; for (var _1e7x in _1e7v) Object.prototype.hasOwnProperty.call(_1e7v, _1e7x) && (_1e7u[_1e7x] = _1e7v[_1e7x]); }, _1e7m(_1e7o, _1e7p); }, function(_1e7y, _1e7z) { var _1e80 = null; if ('function' != typeof _1e7z && null !== _1e7z) throw new TypeError('Class extends value ' + String(_1e7z) + ' is not a constructor or null'); function _1e81() { var _1e82 = null; this.constructor = _1e7y; } _1e7m(_1e7y, _1e7z), _1e7y.prototype = null === _1e7z ? Object.create(_1e7z) : (_1e81.prototype = _1e7z.prototype, new _1e81()); }), _1e83 = this && this.__importDefault || function(_1e84) { var _1e85 = null; return _1e84 && _1e84.__esModule ? _1e84 : { 'default': _1e84 }; }; defineModule(_1e7j); Object.defineProperty(_1e7j, '__esModule', { 'value': !0 }), _1e7j.PracticeScene = void 0; var _1e86 = _1e83(_1e7k(18622)), _1e87 = _1e7k(61474), _1e88 = _1e7k(3301), _1e89 = _1e7k(16111), _1e8a = _1e7k(45229), _1e8b = _1e7k(43798), _1e8c = _1e7k(90928), _1e8d = _1e7k(13748), _1e8e = _1e7k(20137), _1e8f = _1e7k(37760), _1e8g = _1e7k(15478), _1e8h = _1e7k(71633), _1e8i = function(_1e8j) { var _1e8k = null; function _1e8l(_1e8m, _1e8n) { var _1e8o = null, _1e8p = _1e8j.call(this) || this; return _1e8p._startBattleResult = function() { var _1e8q = null; _1e8p._result.initialize(), _1e8p.addChild(_1e8p._result), _1e8p._result.shutter.close(), _1e8p._result.once('complete', _1e8p._endBattleResult); var _1e8r = _1e8p._taskMain.model; _1e8p._result.start(_1e8r); }, _1e8p._endBattleResult = function() { var _1e8s = null; _1e86.default.scene.change(0); }, _1e8p._battle = _1e8m, _1e8p._result = _1e8n, _1e8p._view = new _1e8c.ViewMain(), _1e8p._battle.alpha = 0, _1e8p.addChild(_1e8p._view), _1e8p.addChild(_1e8p._battle), _1e8p; } return _1e7n(_1e8l, _1e8j), Object.defineProperty(_1e8l.prototype, 'view', { 'get': function() { var _1e8t = null; return this._view; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1e8l.prototype, 'battle', { 'get': function() { var _1e8u = null; return this._battle; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1e8l.prototype, 'result', { 'get': function() { var _1e8v = null; return this._result; }, 'enumerable': !1, 'configurable': !0 }), _1e8l.prototype.start = function() { var _1e8w = null, _1e8x = this; this._taskMain.start(function() { var _1e8y = null; _1e8x._clearMemoryCache(), _1e8x._startBattle(); }); }, _1e8l.prototype._clearMemoryCache = function() { var _1e8z = null; _1e8d.UIImageLoader.clearMemoryCacheDetail('sally', 'common'), _1e8d.UIImageLoader.clearMemoryCacheDetail('sally', 'top'), _1e8d.UIImageLoader.clearMemoryCacheDetail('sally', 'airunit'), _1e8d.UIImageLoader.clearMemoryCacheDetail('sally', 'sortie'), _1e8d.UIImageLoader.clearMemoryCacheDetail('sally', 'practice'), _1e8d.UIImageLoader.clearMemoryCacheDetail('sally', 'expedition'), _1e8d.UIImageLoader.clearMemoryCacheDetail('sally', 'map_parts'), null != _1e86.default.model.map.getArea(_1e8h.EventConst.AREA_ID) && (_1e8d.UIImageLoader.clearMemoryCacheDetail('sally', 'event'), _1e8d.UIImageLoader.clearMemoryCacheDetail('sally', 'event_second'), _1e8d.UIImageLoader.clearMemoryCacheDetail('sally', 'strategymap'), _1e8d.UIImageLoader.clearMemoryCacheDetail('sally', 'strategymap_second')), _1e8d.UIImageLoader.clearMemoryCache('prac'), _1e8e.ShipLoader.clearMemoryCache(), _1e8f.SlotLoader.clearMemoryCache(), _1e8d.UIImageLoader.clearMemoryCache('port'), _1e86.default.view.disposePort(), _1e8g.FurnitureLoader.clearMemoryCache(); }, _1e8l.prototype._startBattle = function() { var _1e90 = null; this._battle.once('complete', this._startBattleResult), this._battle.start(); }, _1e8l.prototype.getPreInitializeTask = function(_1e91, _1e92) { var _1e93 = null; return this._model = _1e92, this._taskMain = new _1e8b.TaskMain(this, this._model), new _1e89.TaskInitPre(this); }, _1e8l.prototype.getInitializeTask = function(_1e94) { var _1e95 = null; return new _1e8a.TaskInit(this); }, _1e8l.prototype.getFinalizeTask = function() { var _1e96 = null, _1e97 = this; return new _1e88.TaskFinalize(function() { var _1e98 = null; _1e97.removeChild(_1e97._battle), _1e97._battle.dispose(), _1e97.removeChild(_1e97._result), _1e97._result.dispose(); }); }, _1e8l; }(_1e87.SceneBase); _1e7j.PracticeScene = _1e8i; }, 30503: function(_1e99, _1e9a, _1e9b) { 'use strict'; var _1e9c = null; var _1e9d, _1e9e = this && this.__extends || (_1e9d = function(_1e9f, _1e9g) { var _1e9h = null; return _1e9d = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1e9i, _1e9j) { var _1e9k = null; _1e9i.__proto__ = _1e9j; } || function(_1e9l, _1e9m) { var _1e9n = null; for (var _1e9o in _1e9m) Object.prototype.hasOwnProperty.call(_1e9m, _1e9o) && (_1e9l[_1e9o] = _1e9m[_1e9o]); }, _1e9d(_1e9f, _1e9g); }, function(_1e9p, _1e9q) { var _1e9r = null; if ('function' != typeof _1e9q && null !== _1e9q) throw new TypeError('Class extends value ' + String(_1e9q) + ' is not a constructor or null'); function _1e9s() { var _1e9t = null; this.constructor = _1e9p; } _1e9d(_1e9p, _1e9q), _1e9p.prototype = null === _1e9q ? Object.create(_1e9q) : (_1e9s.prototype = _1e9q.prototype, new _1e9s()); }), _1e9u = this && this.__importDefault || function(_1e9v) { var _1e9w = null; return _1e9v && _1e9v.__esModule ? _1e9v : { 'default': _1e9v }; }; defineModule(_1e9a); Object.defineProperty(_1e9a, '__esModule', { 'value': !0 }), _1e9a.StartAnimationTask = void 0; var _1e9x = _1e9u(_1e9b(21359)), _1e9y = _1e9u(_1e9b(18622)), _1e9z = _1e9b(81755), _1ea0 = _1e9b(5527), _1ea1 = _1e9b(85492), _1ea2 = _1e9b(20137), _1ea3 = _1e9b(29016), _1ea4 = _1e9b(90450), _1ea5 = function(_1ea6) { var _1ea7 = null; function _1ea8(_1ea9, _1eaa, _1eab, _1eac, _1ead) { var _1eae = null, _1eaf = _1ea6.call(this) || this; return _1eaf._layer = _1ea9, _1eaf._ships_f = _1eaa, _1eaf._medal_num_f = _1eab, _1eaf._ships_e = _1eac, _1eaf._medal_num_e = _1ead, _1eaf; } return _1e9e(_1ea8, _1ea6), _1ea8.prototype.preload = function(_1eag) { var _1eah = null, _1eai = new _1ea2.ShipLoader(), _1eaj = this._ships_f[0]; _1eai.add(_1eaj.mst_id, _1eaj.isDamaged(), 'full'); var _1eak = this._ships_e[0]; _1eai.add(_1eak.mst_id, _1eak.isDamaged(), 'full'), _1eai.load(function() { null != _1eag && _1eag(); }); }, _1ea8.prototype._start = function() { var _1eal = null, _1eam = this; this._view = new _1ea4.PracticeAnimMainView(), this._view.initialize(this._ships_f, this._medal_num_f, this._ships_e, this._medal_num_e), _1e9y.default.view.addChild(this._view); var _1ean = new _1ea1.TweenTask(); _1ean.addTween(createjs.Tween.get(this._view.upper).to({ 'alpha': 1 }, 200)), _1ean.addTween(createjs.Tween.get(this._view.enemy.content).wait(200).to({ 'x': 0, 'alpha': 1 }, 200)), _1ean.addTween(createjs.Tween.get(this._view.friend.content).wait(200).to({ 'x': 0, 'alpha': 1 }, 200)), _1ean.start(function() { var _1eao = null; _1eam._animation2(); }); }, _1ea8.prototype._animation2 = function() { var _1eap = null, _1eaq = this, _1ear = new _1ea0.ParallelTask(); _1ear.add(this._view.friend.getAnimationTask()), _1ear.add(this._view.enemy.getAnimationTask()), _1ear.start(function() { var _1eas = null; _1eaq._animation3(); }); }, _1ea8.prototype._animation3 = function() { var _1eat = null, _1eau = this, _1eav = _1ea3.PRAC_MAIN.getTexture(5); this._line_g = new PIXI.extras.TilingSprite(_1eav, 825, 45), this._line_g.rotation = 109 / 180 * Math.PI, this._line_g.position.set(_1e9x.default.width / 2 - 128 + 38, _1e9x.default.height), this._view.friend.addChild(this._line_g), _1eav = _1ea3.PRAC_MAIN.getTexture(6), this._line_r = new PIXI.extras.TilingSprite(_1eav, 825, 45), this._line_r.rotation = -71 / 180 * Math.PI, this._line_r.position.set(90, 0), this._view.enemy.addChild(this._line_r); var _1eaw = new _1ea1.TweenTask(); _1eaw.addTween(createjs.Tween.get(this._line_g).to({ 'x': _1e9x.default.width / 2 + 128, 'y': 0 }, 200)), _1eaw.addTween(createjs.Tween.get(this._line_r).to({ 'x': -128, 'y': _1e9x.default.height }, 200)), _1eaw.start(function() { var _1eax = null; _1eau._animation4(); }); }, _1ea8.prototype._animation4 = function() { var _1eay = null, _1eaz = this; this._view.friend.circle.visible = !0, this._view.enemy.circle.visible = !0; var _1eb0 = new _1ea1.TweenTask(); _1eb0.addTweens([createjs.Tween.get(this._view.friend.circle.scale).to({ 'x': 1, 'y': 1 }, 600), createjs.Tween.get(this._view.friend.circle).to({ 'rotation': 4 * Math.PI }, 600), createjs.Tween.get(this._view.enemy.circle.scale).to({ 'x': 1, 'y': 1 }, 600), createjs.Tween.get(this._view.enemy.circle).to({ 'rotation': 4 * Math.PI }, 600)]), _1eb0.start(function() { var _1eb1 = null; _1eaz._animation5(); }); }, _1ea8.prototype._animation5 = function() { var _1eb2 = null, _1eb3 = this, _1eb4 = new _1ea1.TweenTask(); _1eb4.addTweens([createjs.Tween.get(this._line_g).wait(400).to({ 'x': 773 }, 500), createjs.Tween.get(this._line_r).wait(400).to({ 'x': -173 }, 500), createjs.Tween.get(this._view.friend.content).wait(400).to({ 'x': 45 }, 100).to({ 'x': -375, 'alpha': 0 }, 400), createjs.Tween.get(this._view.enemy.content).wait(400).to({ 'x': -45 }, 100).to({ 'x': 375, 'alpha': 0 }, 400), createjs.Tween.get(this._view.upper).wait(500).to({ 'y': -54, 'alpha': 0 }, 400)]), _1eb4.start(function() { var _1eb5 = null; _1e9y.default.view.removeChild(_1eb3._view), _1eb3._endTask(); }); }, _1ea8.prototype._endTask = function() { var _1eb6 = null; this._layer = null, this._ships_f = null, this._ships_e = null, this._view.dispose(), this._view = null, _1ea6.prototype._endTask.call(this); }, _1ea8; }(_1e9z.TaskBase); _1e9a.StartAnimationTask = _1ea5; }, 85373: function(_1eb7, _1eb8, _1eb9) { 'use strict'; var _1eba = null; var _1ebb, _1ebc = this && this.__extends || (_1ebb = function(_1ebd, _1ebe) { var _1ebf = null; return _1ebb = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ebg, _1ebh) { var _1ebi = null; _1ebg.__proto__ = _1ebh; } || function(_1ebj, _1ebk) { var _1ebl = null; for (var _1ebm in _1ebk) Object.prototype.hasOwnProperty.call(_1ebk, _1ebm) && (_1ebj[_1ebm] = _1ebk[_1ebm]); }, _1ebb(_1ebd, _1ebe); }, function(_1ebn, _1ebo) { var _1ebp = null; if ('function' != typeof _1ebo && null !== _1ebo) throw new TypeError('Class extends value ' + String(_1ebo) + ' is not a constructor or null'); function _1ebq() { var _1ebr = null; this.constructor = _1ebn; } _1ebb(_1ebn, _1ebo), _1ebn.prototype = null === _1ebo ? Object.create(_1ebo) : (_1ebq.prototype = _1ebo.prototype, new _1ebq()); }), _1ebs = this && this.__importDefault || function(_1ebt) { var _1ebu = null; return _1ebt && _1ebt.__esModule ? _1ebt : { 'default': _1ebt }; }; defineModule(_1eb8); Object.defineProperty(_1eb8, '__esModule', { 'value': !0 }), _1eb8.Content = void 0; var _1ebv = _1ebs(_1eb9(18622)), _1ebw = _1eb9(62814), _1ebx = _1eb9(8744), _1eby = _1eb9(29016), _1ebz = _1eb9(39603), _1ec0 = function(_1ec1) { var _1ec2 = null; function _1ec3(_1ec4) { var _1ec5 = null, _1ec6 = _1ec1.call(this) || this; _1ec6._friend = _1ec4, _1ec6._chara = new PIXI.Sprite(), _1ec6.addChild(_1ec6._chara), _1ec6._bg = new PIXI.Sprite(), _1ec6._bg.x = _1ec4 ? 0 : 95, _1ec6._bg.y = 368, _1ec6.addChild(_1ec6._bg), _1ec6._stype_txt = new _1ebx.TextBox(21, 16774898); var _1ec7 = new PIXI.Graphics(); return _1ec7.beginFill(0).drawRect(0, 0, 126, 27).endFill(), _1ec6._stype_txt.addChild(_1ec7), _1ec6._stype_txt.mask = _1ec7, _1ec6._stype_txt.x = _1ec4 ? 6 : 168, _1ec6._stype_txt.y = 476, _1ec6.addChild(_1ec6._stype_txt), _1ec6._name_txt = new _1ebx.TextBox(39, 16774898), (_1ec7 = new PIXI.Graphics()).beginFill(0).drawRect(0, 0, 204, 45).endFill(), _1ec6._name_txt.addChild(_1ec7), _1ec6._name_txt.mask = _1ec7, _1ec6._name_txt.x = _1ec4 ? 143 : 303, _1ec6._name_txt.y = 465, _1ec6.addChild(_1ec6._name_txt), _1ec6._lvlabel_txt = new _1ebx.TextBox(27, 16774898), _1ec6._lvlabel_txt.text = 'Lv', _1ec6._lvlabel_txt.x = _1ec4 ? 351 : 512, _1ec6._lvlabel_txt.y = 474, _1ec6.addChild(_1ec6._lvlabel_txt), _1ec6._lv_txt = new _1ebx.TextBox(28, 16774898), _1ec6._lv_txt.x = _1ec4 ? 383 : 543, _1ec6._lv_txt.y = 473, _1ec6.addChild(_1ec6._lv_txt), _1ec6._elementLayer = new PIXI.Container(), _1ec6.addChild(_1ec6._elementLayer), _1ec6._medal = new _1ebw.MedalIcon(), _1ec6._medal.alpha = 0, _1ec6._medal.x = _1ec4 ? 440 : 108, _1ec6._medal.y = 533, _1ec6.addChild(_1ec6._medal), _1ec6; } return _1ebc(_1ec3, _1ec1), Object.defineProperty(_1ec3.prototype, 'medal', { 'get': function() { var _1ec8 = null; return this._medal; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ec3.prototype, 'elements', { 'get': function() { var _1ec9 = null; return this._elements; }, 'enumerable': !1, 'configurable': !0 }), _1ec3.prototype.initialize = function(_1eca, _1ecb) { var _1ecc = null; this._friend ? this._bg.texture = _1eby.PRAC_MAIN.getTexture(1) : this._bg.texture = _1eby.PRAC_MAIN.getTexture(0); var _1ecd = _1eca[0], _1ece = _1ecd.mst_id, _1ecf = _1ecd.isDamaged(), _1ecg = _1ebv.default.model.ship_graph.get(_1ece), _1ech = null == _1ecg ? new PIXI.Point() : _1ecg.getLeftOffset(_1ecf); this._friend || (_1ech.x += 90), this._chara.position.set(_1ech.x - 150, _1ech.y - 60), this._chara.texture = _1ebv.default.resources.getShip(_1ece, _1ecf, 'full'), this._stype_txt.text = _1ecd.stype_name, this._name_txt.text = _1ecd.name, this._lv_txt.text = _1ecd.level.toString(), this._initializeElements(_1eca), _1ecb > 0 && (this._medal.initialize(), this._medal.update(_1ecb, 9466926)); }, _1ec3.prototype.dispose = function() { var _1eci = null; if (this.removeChildren(), this._stype_txt.destroy(), this._name_txt.destroy(), this._lvlabel_txt.destroy(), this._lv_txt.destroy(), this._medal.dispose(), null != this._elements) for (var _1ecj = 0, _1eck = this._elements; _1ecj < _1eck.length; _1ecj++) { _1eck[_1ecj].dispose(); } }, _1ec3.prototype._initializeElements = function(_1ecl) { var _1ecm = null; this._elements = []; for (var _1ecn = 1; _1ecn < _1ecl.length; _1ecn++) { var _1eco = _1ecl[_1ecn]; if (null == _1eco) return; var _1ecp = new _1ebz.ShipElement(); _1ecp.alpha = 0, _1ecp.x = this._friend ? -101 : 273, _1ecp.y = 530 + 38 * (_1ecn - 1); var _1ecq = _1eco.stype_name, _1ecr = _1eco.name, _1ecs = _1eco.level; _1ecp.update(_1ecq, _1ecr, _1ecs), this._elements.push(_1ecp), this._elementLayer.addChild(_1ecp); } }, _1ec3; }(PIXI.Container); _1eb8.Content = _1ec0; }, 37843: function(_1ect, _1ecu, _1ecv) { 'use strict'; var _1ecw = null; var _1ecx, _1ecy = this && this.__extends || (_1ecx = function(_1ecz, _1ed0) { var _1ed1 = null; return _1ecx = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ed2, _1ed3) { var _1ed4 = null; _1ed2.__proto__ = _1ed3; } || function(_1ed5, _1ed6) { var _1ed7 = null; for (var _1ed8 in _1ed6) Object.prototype.hasOwnProperty.call(_1ed6, _1ed8) && (_1ed5[_1ed8] = _1ed6[_1ed8]); }, _1ecx(_1ecz, _1ed0); }, function(_1ed9, _1eda) { var _1edb = null; if ('function' != typeof _1eda && null !== _1eda) throw new TypeError('Class extends value ' + String(_1eda) + ' is not a constructor or null'); function _1edc() { var _1edd = null; this.constructor = _1ed9; } _1ecx(_1ed9, _1eda), _1ed9.prototype = null === _1eda ? Object.create(_1eda) : (_1edc.prototype = _1eda.prototype, new _1edc()); }), _1ede = this && this.__importDefault || function(_1edf) { var _1edg = null; return _1edf && _1edf.__esModule ? _1edf : { 'default': _1edf }; }; defineModule(_1ecu); Object.defineProperty(_1ecu, '__esModule', { 'value': !0 }), _1ecu.Panel = void 0; var _1edh = _1ede(_1ecv(21359)), _1edi = _1ecv(85492), _1edj = _1ecv(29016), _1edk = _1ecv(85373), _1edl = function(_1edm) { var _1edn = null; function _1edo(_1edp) { var _1edq = null, _1edr = _1edm.call(this) || this; _1edr._friend = _1edp, _1edr._circle = new PIXI.Sprite(), _1edr._circle.anchor.set(0.5, 0.5), _1edr._circle.scale.set(0.1), _1edr._circle.visible = !1, _1edr._content = new _1edk.Content(_1edp), _1edr._content.alpha = 0, _1edr.addChild(_1edr._circle), _1edr.addChild(_1edr._content); var _1eds = new PIXI.Graphics(); return _1eds.beginFill(65280, 0.5), _1edr._drawGraphics(_1eds), _1eds.endFill(), _1edr.addChild(_1eds), _1edr.mask = _1eds, _1edr._friend ? (_1edr.circle.position.set(255, 311), _1edr.content.position.set(-150, 0)) : (_1edr.circle.position.set(345, 311), _1edr.content.position.set(150, 0)), _1edr; } return _1ecy(_1edo, _1edm), Object.defineProperty(_1edo.prototype, 'circle', { 'get': function() { var _1edt = null; return this._circle; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1edo.prototype, 'content', { 'get': function() { var _1edu = null; return this._content; }, 'enumerable': !1, 'configurable': !0 }), _1edo.prototype.initialize = function(_1edv, _1edw) { var _1edx = null; this._friend ? this._circle.texture = _1edj.PRAC_MAIN.getTexture(3) : this._circle.texture = _1edj.PRAC_MAIN.getTexture(4), this._content.initialize(_1edv, _1edw); }, _1edo.prototype.dispose = function() { var _1edy = null; this.removeChildren(), this._content.dispose(); }, _1edo.prototype.getAnimationTask = function() { var _1edz = null, _1ee0 = new _1edi.TweenTask(); _1ee0.addTween(createjs.Tween.get(this._content.medal).to({ 'alpha': 1 }, 100)); for (var _1ee1 = this._content.elements, _1ee2 = this._friend ? 0 : 173, _1ee3 = 0; _1ee3 < _1ee1.length; _1ee3++) { var _1ee4 = _1ee1[_1ee3]; 0 != _1ee4.visible && _1ee0.addTween(createjs.Tween.get(_1ee4).wait(300 + 100 * _1ee3).to({ 'x': _1ee2, 'alpha': 1 }, 200, createjs.Ease.sineIn)); } return _1ee0; }, _1edo.prototype._drawGraphics = function(_1ee5) { var _1ee6 = null; this._friend ? (_1ee5.moveTo(0, 0), _1ee5.lineTo(0, _1edh.default.height), _1ee5.lineTo(_1edh.default.width / 2 - 128, _1edh.default.height), _1ee5.lineTo(_1edh.default.width / 2 + 128, 0)) : (_1ee5.moveTo(128, 0), _1ee5.lineTo(_1edh.default.width / 2, 0), _1ee5.lineTo(_1edh.default.width / 2, _1edh.default.height), _1ee5.lineTo(-128, _1edh.default.height)); }, _1edo; }(PIXI.Container); _1ecu.Panel = _1edl; }, 90450: function(_1ee7, _1ee8, _1ee9) { 'use strict'; var _1eea = null; var _1eeb, _1eec = this && this.__extends || (_1eeb = function(_1eed, _1eee) { var _1eef = null; return _1eeb = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1eeg, _1eeh) { var _1eei = null; _1eeg.__proto__ = _1eeh; } || function(_1eej, _1eek) { var _1eel = null; for (var _1eem in _1eek) Object.prototype.hasOwnProperty.call(_1eek, _1eem) && (_1eej[_1eem] = _1eek[_1eem]); }, _1eeb(_1eed, _1eee); }, function(_1een, _1eeo) { var _1eep = null; if ('function' != typeof _1eeo && null !== _1eeo) throw new TypeError('Class extends value ' + String(_1eeo) + ' is not a constructor or null'); function _1eeq() { var _1eer = null; this.constructor = _1een; } _1eeb(_1een, _1eeo), _1een.prototype = null === _1eeo ? Object.create(_1eeo) : (_1eeq.prototype = _1eeo.prototype, new _1eeq()); }), _1ees = this && this.__importDefault || function(_1eet) { var _1eeu = null; return _1eet && _1eet.__esModule ? _1eet : { 'default': _1eet }; }; defineModule(_1ee8); Object.defineProperty(_1ee8, '__esModule', { 'value': !0 }), _1ee8.PracticeAnimMainView = void 0; var _1eev = _1ees(_1ee9(21359)), _1eew = _1ee9(37843), _1eex = _1ee9(72806), _1eey = function(_1eez) { var _1ef0 = null; function _1ef1() { var _1ef2 = null, _1ef3 = _1eez.call(this) || this; return _1ef3._enemy = new _1eew.Panel(!1), _1ef3._enemy.position.set(_1eev.default.width / 2, 0), _1ef3.addChild(_1ef3._enemy), _1ef3._friend = new _1eew.Panel(!0), _1ef3.addChild(_1ef3._friend), _1ef3._upper = new _1eex.PracticeTitleBar(), _1ef3._upper.position.set(38, 56), _1ef3._upper.alpha = 0, _1ef3.addChild(_1ef3._upper), _1ef3; } return _1eec(_1ef1, _1eez), Object.defineProperty(_1ef1.prototype, 'enemy', { 'get': function() { var _1ef4 = null; return this._enemy; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ef1.prototype, 'friend', { 'get': function() { var _1ef5 = null; return this._friend; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ef1.prototype, 'upper', { 'get': function() { var _1ef6 = null; return this._upper; }, 'enumerable': !1, 'configurable': !0 }), _1ef1.prototype.initialize = function(_1ef7, _1ef8, _1ef9, _1efa) { var _1efb = null; this._friend.initialize(_1ef7, _1ef8), this._enemy.initialize(_1ef9, _1efa), this._upper.initialize('演習'); }, _1ef1.prototype.dispose = function() { var _1efc = null; this.removeChildren(), this._enemy.dispose(), this._friend.dispose(), this._upper.dispose(); }, _1ef1; }(PIXI.Container); _1ee8.PracticeAnimMainView = _1eey; }, 72806: function(_1efd, _1efe, _1eff) { 'use strict'; var _1efg = null; var _1efh, _1efi = this && this.__extends || (_1efh = function(_1efj, _1efk) { var _1efl = null; return _1efh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1efm, _1efn) { var _1efo = null; _1efm.__proto__ = _1efn; } || function(_1efp, _1efq) { var _1efr = null; for (var _1efs in _1efq) Object.prototype.hasOwnProperty.call(_1efq, _1efs) && (_1efp[_1efs] = _1efq[_1efs]); }, _1efh(_1efj, _1efk); }, function(_1eft, _1efu) { var _1efv = null; if ('function' != typeof _1efu && null !== _1efu) throw new TypeError('Class extends value ' + String(_1efu) + ' is not a constructor or null'); function _1efw() { var _1efx = null; this.constructor = _1eft; } _1efh(_1eft, _1efu), _1eft.prototype = null === _1efu ? Object.create(_1efu) : (_1efw.prototype = _1efu.prototype, new _1efw()); }); defineModule(_1efe); Object.defineProperty(_1efe, '__esModule', { 'value': !0 }), _1efe.PracticeTitleBar = void 0; var _1efy = _1eff(8744), _1efz = _1eff(29016), _1eg0 = function(_1eg1) { var _1eg2 = null; function _1eg3() { var _1eg4 = null, _1eg5 = _1eg1.call(this) || this; return _1eg5._bg = new PIXI.Sprite(), _1eg5._text = new _1efy.TextBox(39, 16774898), _1eg5._text.anchor.set(0.5, 0), _1eg5.addChild(_1eg5._bg), _1eg5.addChild(_1eg5._text), _1eg5; } return _1efi(_1eg3, _1eg1), Object.defineProperty(_1eg3.prototype, 'bg', { 'get': function() { var _1eg6 = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1eg3.prototype, 'text', { 'get': function() { var _1eg7 = null; return this._text; }, 'enumerable': !1, 'configurable': !0 }), _1eg3.prototype.initialize = function(_1eg8) { var _1eg9 = null; void 0 === _1eg8 && (_1eg8 = ''), this._bg.texture = _1efz.PRAC_MAIN.getTexture(7), this._text.position.set(this._bg.width / 2, 9), this.update(_1eg8); }, _1eg3.prototype.update = function(_1ega) { var _1egb = null; this._text.text = _1ega; }, _1eg3.prototype.dispose = function() { var _1egc = null; this.removeChildren(), this._text.destroy(); }, _1eg3; }(PIXI.Container); _1efe.PracticeTitleBar = _1eg0; }, 39603: function(_1egd, _1ege, _1egf) { 'use strict'; var _1egg = null; var _1egh, _1egi = this && this.__extends || (_1egh = function(_1egj, _1egk) { var _1egl = null; return _1egh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1egm, _1egn) { var _1ego = null; _1egm.__proto__ = _1egn; } || function(_1egp, _1egq) { var _1egr = null; for (var _1egs in _1egq) Object.prototype.hasOwnProperty.call(_1egq, _1egs) && (_1egp[_1egs] = _1egq[_1egs]); }, _1egh(_1egj, _1egk); }, function(_1egt, _1egu) { var _1egv = null; if ('function' != typeof _1egu && null !== _1egu) throw new TypeError('Class extends value ' + String(_1egu) + ' is not a constructor or null'); function _1egw() { var _1egx = null; this.constructor = _1egt; } _1egh(_1egt, _1egu), _1egt.prototype = null === _1egu ? Object.create(_1egu) : (_1egw.prototype = _1egu.prototype, new _1egw()); }); defineModule(_1ege); Object.defineProperty(_1ege, '__esModule', { 'value': !0 }), _1ege.ShipElement = void 0; var _1egy = _1egf(8744), _1egz = _1egf(29016), _1eh0 = function(_1eh1) { var _1eh2 = null; function _1eh3() { var _1eh4 = null, _1eh5 = _1eh1.call(this) || this; _1eh5._bg = new PIXI.Sprite(), _1eh5._name_txt = new _1egy.TextBox(20, 16774898); var _1eh6 = new PIXI.Graphics(); return _1eh6.beginFill(0), _1eh6.drawRect(0, 0, 264, 26), _1eh6.endFill(), _1eh5._name_txt.addChild(_1eh6), _1eh5._name_txt.mask = _1eh6, _1eh5._name_txt.position.set(20, 3), _1eh5._lvlabel_txt = new _1egy.TextBox(20, 16774898), _1eh5._lvlabel_txt.position.set(351, 5), _1eh5._lvlabel_txt.text = 'Lv', _1eh5._lv_txt = new _1egy.TextBox(24, 16774898), _1eh5._lv_txt.anchor.set(1, 0), _1eh5._lv_txt.position.set(423, 0), _1eh5.addChild(_1eh5._bg), _1eh5.addChild(_1eh5._name_txt), _1eh5.addChild(_1eh5._lvlabel_txt), _1eh5.addChild(_1eh5._lv_txt), _1eh5; } return _1egi(_1eh3, _1eh1), _1eh3.prototype.update = function(_1eh7, _1eh8, _1eh9) { var _1eha = null; this._bg.texture = _1egz.PRAC_MAIN.getTexture(2), this._name_txt.text = _1eh7 + '\x20' + _1eh8, this._lv_txt.text = _1eh9.toString(); }, _1eh3.prototype.dispose = function() { var _1ehb = null; this.removeChildren(), this._name_txt.destroy(), this._lvlabel_txt.destroy(), this._lv_txt.destroy(); }, _1eh3; }(PIXI.Container); _1ege.ShipElement = _1eh0; }, 3301: function(_1ehc, _1ehd, _1ehe) { 'use strict'; var _1ehf = null; var _1ehg, _1ehh = this && this.__extends || (_1ehg = function(_1ehi, _1ehj) { var _1ehk = null; return _1ehg = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ehl, _1ehm) { var _1ehn = null; _1ehl.__proto__ = _1ehm; } || function(_1eho, _1ehp) { var _1ehq = null; for (var _1ehr in _1ehp) Object.prototype.hasOwnProperty.call(_1ehp, _1ehr) && (_1eho[_1ehr] = _1ehp[_1ehr]); }, _1ehg(_1ehi, _1ehj); }, function(_1ehs, _1eht) { var _1ehu = null; if ('function' != typeof _1eht && null !== _1eht) throw new TypeError('Class extends value ' + String(_1eht) + ' is not a constructor or null'); function _1ehv() { var _1ehw = null; this.constructor = _1ehs; } _1ehg(_1ehs, _1eht), _1ehs.prototype = null === _1eht ? Object.create(_1eht) : (_1ehv.prototype = _1eht.prototype, new _1ehv()); }); defineModule(_1ehd); Object.defineProperty(_1ehd, '__esModule', { 'value': !0 }), _1ehd.TaskFinalize = void 0; var _1ehx = _1ehe(81755), _1ehy = _1ehe(13748), _1ehz = function(_1ei0) { var _1ei1 = null; function _1ei2(_1ei3) { var _1ei4 = null, _1ei5 = _1ei0.call(this) || this; return _1ei5._callback = _1ei3, _1ei5; } return _1ehh(_1ei2, _1ei0), _1ei2.prototype._start = function() { var _1ei6 = null; this._callback && this._callback(), this._endTask(); }, _1ei2.prototype._endTask = function() { var _1ei7 = null; this._callback = null, _1ehy.UIImageLoader.clearMemoryCache('prac'), _1ei0.prototype._endTask.call(this); }, _1ei2; }(_1ehx.TaskBase); _1ehd.TaskFinalize = _1ehz; }, 62473: function(_1ei8, _1ei9, _1eia) { 'use strict'; var _1eib = null; var _1eic, _1eid = this && this.__extends || (_1eic = function(_1eie, _1eif) { var _1eig = null; return _1eic = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1eih, _1eii) { var _1eij = null; _1eih.__proto__ = _1eii; } || function(_1eik, _1eil) { var _1eim = null; for (var _1ein in _1eil) Object.prototype.hasOwnProperty.call(_1eil, _1ein) && (_1eik[_1ein] = _1eil[_1ein]); }, _1eic(_1eie, _1eif); }, function(_1eio, _1eip) { var _1eiq = null; if ('function' != typeof _1eip && null !== _1eip) throw new TypeError('Class extends value ' + String(_1eip) + ' is not a constructor or null'); function _1eir() { var _1eis = null; this.constructor = _1eio; } _1eic(_1eio, _1eip), _1eio.prototype = null === _1eip ? Object.create(_1eip) : (_1eir.prototype = _1eip.prototype, new _1eir()); }), _1eit = this && this.__importDefault || function(_1eiu) { var _1eiv = null; return _1eiu && _1eiu.__esModule ? _1eiu : { 'default': _1eiu }; }; defineModule(_1ei9); Object.defineProperty(_1ei9, '__esModule', { 'value': !0 }), _1ei9.TaskFormationSelect = void 0; var _1eiw = _1eit(_1eia(18622)), _1eix = _1eia(81755), _1eiy = _1eia(20137), _1eiz = _1eia(76624), _1ej0 = _1eia(57857), _1ej1 = function(_1ej2) { var _1ej3 = null; function _1ej4(_1ej5, _1ej6) { var _1ej7 = null, _1ej8 = _1ej2.call(this) || this; return _1ej8._selected_formation = 1, _1ej8._onSelectFormation = function(_1ej9) { var _1eja = null; _1ej8._selected_formation = _1ej9, _1ej8._view.boxes.deactivate(), _1ej8._view.message_box.text = '', createjs.Tween.get(_1ej8._view.message_box).to({ 'alpha': 0 }, 300), createjs.Tween.get(_1ej8._view.chara).to({ 'alpha': 0 }, 300), createjs.Tween.get(_1ej8._view.boxes).to({ 'alpha': 0 }, 300).call(function() { var _1ejb = null; _1ej8._preEnd(); }); }, _1ej8._parent = _1ej5, _1ej8._deck = _1ej6, _1ej8; } return _1eid(_1ej4, _1ej2), Object.defineProperty(_1ej4.prototype, 'selected_formation', { 'get': function() { var _1ejc = null; return this._selected_formation; }, 'enumerable': !1, 'configurable': !0 }), _1ej4.prototype._start = function() { var _1ejd = null; this._view = new _1eje(), this._parent.addChild(this._view), this._readyForFormationBox(); }, _1ej4.prototype._readyForFormationBox = function() { var _1ejf = null, _1ejg = this._deck.getCount(); this._view.boxes.initialize(_1ejg, this._onSelectFormation, 6), this._view.boxes.alpha = 0, this._view.boxes.count <= 1 ? this._preEnd() : this._readyForFlagship(); }, _1ej4.prototype._readyForFlagship = function() { var _1ejh = null, _1eji = this, _1ejj = this._deck.ships[0], _1ejk = _1ejj.mst_id, _1ejl = _1ejj.isDamaged(), _1ejm = _1eiw.default.model.ship_graph.get(_1ejk).getMapOffset(_1ejl); this._view.chara.position.set(-80 + _1ejm.x, -93 + _1ejm.y), this._view.chara.alpha = 0, new _1eiy.ShipLoader().add(_1ejk, _1ejl, 'full').load(function() { var _1ejn = null; _1eji._view.chara.texture = _1eiw.default.resources.getShip(_1ejk, _1ejl, 'full'), _1eji._showMessageBox(); }); }, _1ej4.prototype._showMessageBox = function() { var _1ejo = null, _1ejp = this; this._view.message_box.initialize(), this._view.message_box.activate(function() { var _1ejq = null; _1ejp._showFlagShip(); }); }, _1ej4.prototype._showFlagShip = function() { var _1ejr = null, _1ejs = this, _1ejt = this._view.chara.x; this._view.chara.x += 75, createjs.Tween.get(this._view.chara).to({ 'alpha': 1, 'x': _1ejt }, 300), createjs.Tween.get(this._view.boxes).to({ 'alpha': 1 }, 300).call(function() { var _1eju = null; _1ejs._view.boxes.activate(), _1ejs._view.message_box.text = '陣形を選択してください。'; }); }, _1ej4.prototype._preEnd = function() { var _1ejv = null; this._parent.removeChild(this._view), this._view.dispose(), this._view = null, this._parent = null, this._deck = null, this._endTask(); }, _1ej4; }(_1eix.TaskBase); _1ei9.TaskFormationSelect = _1ej1; var _1eje = function(_1ejw) { var _1ejx = null; function _1ejy() { var _1ejz = null, _1ek0 = _1ejw.call(this) || this; return _1ek0._chara = new PIXI.Sprite(), _1ek0._boxes = new _1ej0.FormationBoxContainer(), _1ek0._message_box = new _1eiz.CompMessageBox(), _1ek0.addChild(_1ek0._chara), _1ek0.addChild(_1ek0._boxes), _1ek0.addChild(_1ek0._message_box), _1ek0; } return _1eid(_1ejy, _1ejw), Object.defineProperty(_1ejy.prototype, 'chara', { 'get': function() { var _1ek1 = null; return this._chara; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ejy.prototype, 'boxes', { 'get': function() { var _1ek2 = null; return this._boxes; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ejy.prototype, 'message_box', { 'get': function() { var _1ek3 = null; return this._message_box; }, 'enumerable': !1, 'configurable': !0 }), _1ejy.prototype.dispose = function() { var _1ek4 = null; this.removeChildren(), this._boxes.dispose(), this._message_box.dispose(); }, _1ejy; }(PIXI.Container); }, 45229: function(_1ek5, _1ek6, _1ek7) { 'use strict'; var _1ek8 = null; var _1ek9, _1eka = this && this.__extends || (_1ek9 = function(_1ekb, _1ekc) { var _1ekd = null; return _1ek9 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1eke, _1ekf) { var _1ekg = null; _1eke.__proto__ = _1ekf; } || function(_1ekh, _1eki) { var _1ekj = null; for (var _1ekk in _1eki) Object.prototype.hasOwnProperty.call(_1eki, _1ekk) && (_1ekh[_1ekk] = _1eki[_1ekk]); }, _1ek9(_1ekb, _1ekc); }, function(_1ekl, _1ekm) { var _1ekn = null; if ('function' != typeof _1ekm && null !== _1ekm) throw new TypeError('Class extends value ' + String(_1ekm) + ' is not a constructor or null'); function _1eko() { var _1ekp = null; this.constructor = _1ekl; } _1ek9(_1ekl, _1ekm), _1ekl.prototype = null === _1ekm ? Object.create(_1ekm) : (_1eko.prototype = _1ekm.prototype, new _1eko()); }); defineModule(_1ek6); Object.defineProperty(_1ek6, '__esModule', { 'value': !0 }), _1ek6.TaskInit = void 0; var _1ekq = function(_1ekr) { var _1eks = null; function _1ekt(_1eku) { var _1ekv = null, _1ekw = _1ekr.call(this) || this; return _1ekw._scene = _1eku, _1ekw; } return _1eka(_1ekt, _1ekr), _1ekt.prototype._start = function() { var _1ekx = null; this._scene.start(), this._endTask(); }, _1ekt.prototype._endTask = function() { var _1eky = null; this._scene = null, _1ekr.prototype._endTask.call(this); }, _1ekt; }(_1ek7(81755).TaskBase); _1ek6.TaskInit = _1ekq; }, 16111: function(_1ekz, _1el0, _1el1) { 'use strict'; var _1el2 = null; var _1el3, _1el4 = this && this.__extends || (_1el3 = function(_1el5, _1el6) { var _1el7 = null; return _1el3 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1el8, _1el9) { var _1ela = null; _1el8.__proto__ = _1el9; } || function(_1elb, _1elc) { var _1eld = null; for (var _1ele in _1elc) Object.prototype.hasOwnProperty.call(_1elc, _1ele) && (_1elb[_1ele] = _1elc[_1ele]); }, _1el3(_1el5, _1el6); }, function(_1elf, _1elg) { var _1elh = null; if ('function' != typeof _1elg && null !== _1elg) throw new TypeError('Class extends value ' + String(_1elg) + ' is not a constructor or null'); function _1eli() { var _1elj = null; this.constructor = _1elf; } _1el3(_1elf, _1elg), _1elf.prototype = null === _1elg ? Object.create(_1elg) : (_1eli.prototype = _1elg.prototype, new _1eli()); }); defineModule(_1el0); Object.defineProperty(_1el0, '__esModule', { 'value': !0 }), _1el0.TaskInitPre = void 0; var _1elk = _1el1(81755), _1ell = _1el1(73780), _1elm = function(_1eln) { var _1elo = null; function _1elp(_1elq) { var _1elr = null, _1els = _1eln.call(this) || this; return _1els._scene = _1elq, _1els; } return _1el4(_1elp, _1eln), _1elp.prototype._start = function() { var _1elt = null, _1elu = this; new _1ell.TaskLoadResourcesPractice().start(function() { var _1elv = null; _1elu._initView(); }); }, _1elp.prototype._initView = function() { var _1elw = null, _1elx = this; this._scene.view.bg.setDay(function() { var _1ely = null; _1elx._scene.view.initialize(), _1elx._endTask(); }); }, _1elp.prototype._endTask = function() { var _1elz = null; this._scene = null, _1eln.prototype._endTask.call(this); }, _1elp; }(_1elk.TaskBase); _1el0.TaskInitPre = _1elm; }, 43798: function(_1em0, _1em1, _1em2) { 'use strict'; var _1em3 = null; var _1em4, _1em5 = this && this.__extends || (_1em4 = function(_1em6, _1em7) { var _1em8 = null; return _1em4 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1em9, _1ema) { var _1emb = null; _1em9.__proto__ = _1ema; } || function(_1emc, _1emd) { var _1eme = null; for (var _1emf in _1emd) Object.prototype.hasOwnProperty.call(_1emd, _1emf) && (_1emc[_1emf] = _1emd[_1emf]); }, _1em4(_1em6, _1em7); }, function(_1emg, _1emh) { var _1emi = null; if ('function' != typeof _1emh && null !== _1emh) throw new TypeError('Class extends value ' + String(_1emh) + ' is not a constructor or null'); function _1emj() { var _1emk = null; this.constructor = _1emg; } _1em4(_1emg, _1emh), _1emg.prototype = null === _1emh ? Object.create(_1emh) : (_1emj.prototype = _1emh.prototype, new _1emj()); }); defineModule(_1em1); Object.defineProperty(_1em1, '__esModule', { 'value': !0 }), _1em1.TaskMain = void 0; var _1eml = _1em2(81755), _1emm = _1em2(8305), _1emn = _1em2(17094), _1emo = _1em2(62473), _1emp = _1em2(30503), _1emq = function(_1emr) { var _1ems = null; function _1emt(_1emu, _1emv) { var _1emw = null, _1emx = _1emr.call(this) || this; return _1emx._scene = _1emu, _1emx._option = _1emv, _1emx; } return _1em5(_1emt, _1emr), Object.defineProperty(_1emt.prototype, 'model', { 'get': function() { var _1emy = null; return this._model; }, 'enumerable': !1, 'configurable': !0 }), _1emt.prototype._start = function() { var _1emz = null, _1en0 = this; this._model = new _1emm.BattleSceneModel(!0), this._model.updateDeckData(this._option.deck_f, this._option.deck_e), this._scene.battle.initialize(this._model), this._scene.view.shutter.once('closed', function() { var _1en1 = null; _1en0._formationSelect(); }), this._scene.view.shutter.close(400); }, _1emt.prototype._formationSelect = function() { var _1en2 = null, _1en3 = this, _1en4 = new _1emo.TaskFormationSelect(this._scene, this._option.deck_f); _1en4.start(function() { var _1en5 = null; _1en3._option.deck_f.formation = _1en4.selected_formation, _1en3._insert(); }); }, _1emt.prototype._insert = function() { var _1en6 = null, _1en7 = this; this._scene.battle.bg.setDay(function() { var _1en8 = null; createjs.Tween.get(_1en7._scene.view).to({ 'alpha': 0 }, 300), _1en7._scene.battle.shutter2.open(0), createjs.Tween.get(_1en7._scene.battle).to({ 'alpha': 1 }, 300), new _1emn.SallyAnimationTask(_1en7._scene).start(function() { var _1en9 = null; _1en7._cutin(); }); }); }, _1emt.prototype._cutin = function() { var _1ena = null, _1enb = this, _1enc = this._option.deck_f.ships, _1end = this._option.deck_f.medal_num, _1ene = this._option.deck_e.ships, _1enf = this._option.deck_e.medal_num, _1eng = new _1emp.StartAnimationTask(this._scene, _1enc, _1end, _1ene, _1enf); _1eng.preload(function() { var _1enh = null; _1eng.start(function() { var _1eni = null; _1enb._endTask(); }); }); }, _1emt.prototype._endTask = function() { var _1enj = null; this._scene = null, this._option = null, _1emr.prototype._endTask.call(this); }, _1emt; }(_1eml.TaskBase); _1em1.TaskMain = _1emq; }, 90928: function(_1enk, _1enl, _1enm) { 'use strict'; var _1enn = null; var _1eno, _1enp = this && this.__extends || (_1eno = function(_1enq, _1enr) { var _1ens = null; return _1eno = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ent, _1enu) { var _1env = null; _1ent.__proto__ = _1enu; } || function(_1enw, _1enx) { var _1eny = null; for (var _1enz in _1enx) Object.prototype.hasOwnProperty.call(_1enx, _1enz) && (_1enw[_1enz] = _1enx[_1enz]); }, _1eno(_1enq, _1enr); }, function(_1eo0, _1eo1) { var _1eo2 = null; if ('function' != typeof _1eo1 && null !== _1eo1) throw new TypeError('Class extends value ' + String(_1eo1) + ' is not a constructor or null'); function _1eo3() { var _1eo4 = null; this.constructor = _1eo0; } _1eno(_1eo0, _1eo1), _1eo0.prototype = null === _1eo1 ? Object.create(_1eo1) : (_1eo3.prototype = _1eo1.prototype, new _1eo3()); }); defineModule(_1enl); Object.defineProperty(_1enl, '__esModule', { 'value': !0 }), _1enl.ViewMain = void 0; var _1eo5 = _1enm(87475), _1eo6 = _1enm(37618), _1eo7 = _1enm(7570), _1eo8 = function(_1eo9) { var _1eoa = null; function _1eob() { var _1eoc = null, _1eod = _1eo9.call(this) || this; return _1eod._bg = new _1eo6.MapBG(), _1eod._black = new _1eo5.FadeBox(1), _1eod._shutter = new _1eo7.Shutter(), _1eod.addChild(_1eod._bg), _1eod.addChild(_1eod._black), _1eod.addChild(_1eod._shutter), _1eod; } return _1enp(_1eob, _1eo9), Object.defineProperty(_1eob.prototype, 'bg', { 'get': function() { var _1eoe = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1eob.prototype, 'black', { 'get': function() { var _1eof = null; return this._black; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1eob.prototype, 'shutter', { 'get': function() { var _1eog = null; return this._shutter; }, 'enumerable': !1, 'configurable': !0 }), _1eob.prototype.initialize = function() { var _1eoh = null; this._shutter.initializeLight(); }, _1eob; }(PIXI.Container); _1enl.ViewMain = _1eo8; }, 41109: function(_1eoi, _1eoj, _1eok) { 'use strict'; var _1eol = null; var _1eom, _1eon = this && this.__extends || (_1eom = function(_1eoo, _1eop) { var _1eoq = null; return _1eom = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1eor, _1eos) { var _1eot = null; _1eor.__proto__ = _1eos; } || function(_1eou, _1eov) { var _1eow = null; for (var _1eox in _1eov) Object.prototype.hasOwnProperty.call(_1eov, _1eox) && (_1eou[_1eox] = _1eov[_1eox]); }, _1eom(_1eoo, _1eop); }, function(_1eoy, _1eoz) { var _1ep0 = null; if ('function' != typeof _1eoz && null !== _1eoz) throw new TypeError('Class extends value ' + String(_1eoz) + ' is not a constructor or null'); function _1ep1() { var _1ep2 = null; this.constructor = _1eoy; } _1eom(_1eoy, _1eoz), _1eoy.prototype = null === _1eoz ? Object.create(_1eoz) : (_1ep1.prototype = _1eoz.prototype, new _1ep1()); }), _1ep3 = this && this.__importDefault || function(_1ep4) { var _1ep5 = null; return _1ep4 && _1ep4.__esModule ? _1ep4 : { 'default': _1ep4 }; }; defineModule(_1eoj); Object.defineProperty(_1eoj, '__esModule', { 'value': !0 }), _1eoj.MapScene = void 0; var _1ep6 = _1ep3(_1eok(18622)), _1ep7 = _1eok(3294), _1ep8 = _1eok(61474), _1ep9 = _1eok(7570), _1epa = _1eok(14921), _1epb = _1eok(3883), _1epc = _1eok(84866), _1epd = _1eok(93230), _1epe = _1eok(43902), _1epf = _1eok(16791), _1epg = _1eok(70085), _1eph = _1eok(25143), _1epi = _1eok(38233), _1epj = _1eok(98284), _1epk = _1eok(24), _1epl = _1eok(97757), _1epm = _1eok(10021), _1epn = _1eok(36564), _1epo = _1eok(43201), _1epp = _1eok(41564), _1epq = _1eok(24960), _1epr = _1eok(3720), _1eps = _1eok(55633), _1ept = _1eok(13748), _1epu = _1eok(20137), _1epv = _1eok(37760), _1epw = _1eok(15478), _1epx = _1eok(71633), _1epy = function(_1epz) { var _1eq0 = null; function _1eq1(_1eq2, _1eq3) { var _1eq4 = null, _1eq5 = _1epz.call(this) || this; return _1eq5._startScene = function() { var _1eq6 = null; _1eq5._appointAirUnit(); }, _1eq5._battle_cls = _1eq2, _1eq5._battle_result_cls = _1eq3, _1eq5._view = new _1epr.ViewMain(), _1eq5.addChild(_1eq5._view), _1eq5._resInfo = new _1epd.MapResourceInfo(), _1eq5._user_select = new _1epe.UserSelectModel(), _1eq5; } return _1eon(_1eq1, _1epz), Object.defineProperty(_1eq1.prototype, 'model', { 'get': function() { var _1eq7 = null; return this._model; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1eq1.prototype, 'view', { 'get': function() { var _1eq8 = null; return this._view; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1eq1.prototype, 'resInfo', { 'get': function() { var _1eq9 = null; return this._resInfo; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1eq1.prototype, 'user_select', { 'get': function() { var _1eqa = null; return this._user_select; }, 'enumerable': !1, 'configurable': !0 }), _1eq1.prototype._appointAirUnit = function() { var _1eqb = null, _1eqc = this, _1eqd = this._model.sortie.map, _1eqe = _1eqd.availableAirUnitCount, _1eqf = _1eqd.area_id, _1eqg = _1ep6.default.model.airunit.getAirUnitList(_1eqf), _1eqh = _1ep6.default.model.airunit.getReadyAirUnitList(_1eqf); if (null == (_1eqh = _1eqh.slice(0, _1eqe)) || _1eqh.length <= 0) return this._clearMemoryCache(), void this._showFlagShip(); var _1eqi = _1ep6.default.view.overLayer; new _1epp.TaskAirUnitAppointment(_1eqi, _1eqf, _1eqg, _1eqh, this._model, this.view.map).start(function() { var _1eqj = null; _1eqc._clearMemoryCache(), _1eqc._showFlagShip(); }); }, _1eq1.prototype._clearMemoryCache = function() { var _1eqk = null; _1ept.UIImageLoader.clearMemoryCacheDetail('sally', 'common'), _1ept.UIImageLoader.clearMemoryCacheDetail('sally', 'top'), _1ept.UIImageLoader.clearMemoryCacheDetail('sally', 'airunit'), _1ept.UIImageLoader.clearMemoryCacheDetail('sally', 'sortie'), _1ept.UIImageLoader.clearMemoryCacheDetail('sally', 'practice'), _1ept.UIImageLoader.clearMemoryCacheDetail('sally', 'expedition'), null != _1ep6.default.model.map.getArea(_1epx.EventConst.AREA_ID) && (_1ept.UIImageLoader.clearMemoryCacheDetail('sally', 'event'), _1ept.UIImageLoader.clearMemoryCacheDetail('sally', 'event_second'), _1ept.UIImageLoader.clearMemoryCacheDetail('sally', 'strategymap'), _1ept.UIImageLoader.clearMemoryCacheDetail('sally', 'strategymap_second')), _1epu.ShipLoader.clearMemoryCache(), _1epv.SlotLoader.clearMemoryCache(), _1ept.UIImageLoader.clearMemoryCache('port'), _1ep6.default.view.disposePort(), _1epw.FurnitureLoader.clearMemoryCache(); for (var _1eql = 0, _1eqm = Object.keys(PIXI.utils.TextureCache).filter(function(_1eqn) { var _1eqo = null; return /^resources\/map\/\d{3}\/\d{2}\.png/ ['test'](_1eqn); }); _1eql < _1eqm.length; _1eql++) { var _1eqp = _1eqm[_1eql], _1eqq = PIXI.utils.TextureCache[_1eqp]; _1eqq && _1eqq.destroy(!0), delete PIXI.utils.TextureCache[_1eqp]; } }, _1eq1.prototype._showFlagShip = function() { var _1eqr = null, _1eqs = this, _1eqt = this._model.deck_f.ships[0], _1equ = _1eqt.mst_id, _1eqv = _1eqt.isDamaged(); new _1epo.AnimFlagShip(this, _1equ, _1eqv).start(function() { var _1eqw = null; _1eqs._next(0); }); }, _1eq1.prototype._next = function(_1eqx) { var _1eqy = null, _1eqz = this, _1er0 = new _1epi.TaskNextSpot(this, this._model, _1eqx, this._battle_cls, this._battle_result_cls); _1er0.start(function() { var _1er1 = null; if (_1er0.cell_open) { var _1er2 = _1eqz._model.sortie.getNextCell(); _1eqz._endScene(_1er2); } else _1eqz._afterMove(_1er0.battle_model, _1eqx); }); }, _1eq1.prototype._afterMove = function(_1er3, _1er4) { var _1er5 = null, _1er6 = this, _1er7 = this._model.sortie.getNextCell(); if (1 == _1er7.isDeadEnd()) { var _1er8 = this._model.sortie.area_id, _1er9 = this._model.sortie.map_no, _1era = _1er7.getM1(), _1erb = null == _1er3 ? 0 : _1er3.m1, _1erc = this._model.sortie.map_id, _1erd = this._resInfo, _1ere = this._view, _1erf = this._model.sortie.map.getGaugeNum(), _1erg = null == _1er3 ? 0 : _1er3.m10, _1erh = _1er7.getM10(); if (7 == _1er8 && 2 == _1er9 && 1 == _1erb) return void new _1epq.EventTaskCellOpen(_1erc, _1erd, _1ere, _1erf, _1erb, { 'mapGimmick': !0, 'hideEnemy': !0, 'onShutter': !0, 'nextGauge': !0, 'gaugeLeft': !1, 'gaugeAftShutter': !0 }).start(function() { var _1eri = null; _1er6._endScene(_1er7); }); if (7 == _1er8 && 3 == _1er9 && 1 == _1erb) return void new _1epq.EventTaskCellOpen(_1erc, _1erd, _1ere, _1erf, _1erb, { 'mapGimmick': !0, 'hideEnemy': !0, 'onShutter': !0, 'nextGauge': !0, 'gaugeLeft': !0, 'gaugeAftShutter': !0 }).start(function() { var _1erj = null; _1er6._endScene(_1er7); }); var _1erk = null == _1er3 ? _1epa.CellOpenScene.END_POINT_NON_BATTLE : _1epa.CellOpenScene.END_POINT, _1erl = null == _1er3 ? _1era : _1erb, _1erm = null == _1er3 ? _1erh : _1erg, _1ern = _1epa.MapUtil.getCellOpenOption(_1erc, _1erk, _1erf, _1erl, _1erm); if (null != _1ern) return void new _1epq.EventTaskCellOpen(_1erc, _1erd, _1ere, _1erf, _1erl, _1ern).start(function() { var _1ero = null; _1er6._endScene(_1er7); }); this._endScene(_1er7); } else null != _1er3 ? this._preNextAfterBattle(_1er7, _1er3) : this._preNext(_1er7, _1er3, _1er4); }, _1eq1.prototype._preNextAfterBattle = function(_1erp, _1erq) { var _1err = null, _1ers = this, _1ert = _1erq.deck_f.ships[0], _1eru = 25 == _1ert.damageType || 0 == _1ert.damageType, _1erv = _1ert.hasYouin(), _1erw = _1ert.hasMegami(), _1erx = null == _1erq ? 0 : _1erq.m1, _1ery = this._model.sortie.map_id, _1erz = this._resInfo, _1es0 = this._view, _1es1 = this._model.sortie.map.getGaugeNum(), _1es2 = null == _1erq ? 0 : _1erq.m10, _1es3 = _1epa.MapUtil.getCellOpenOption(_1ery, _1epa.CellOpenScene.AFTER_BATTLE, _1es1, _1erx, _1es2); if (null == _1es3) { if (1 != _1eru || 0 != _1erv || 0 != _1erw) new _1eps.EscapeTask(this, _1erq).start(function() { var _1es4 = null; for (var _1es5 = _1erq.deck_f.ships, _1es6 = 0; _1es6 < _1es5.length; _1es6++) { var _1es7 = _1es5[_1es6]; if (null != _1es7) _1ers.model.deck_f.ships[_1es6].initializeTaihi(_1es7.isTaihi()); } 1 != _1eru || 1 != _1erv && 1 != _1erw ? _1ers._selectGoAhead(_1erp, _1erq) : _1ers._selectTaihaShingun(_1erp, _1erq, _1erv, _1erw); }); else { var _1es8 = _1erq.deck_f.name; new _1epm.TaskFlagShipDamaged(this._view, _1es8, _1ert.mst_id).start(function() { var _1es9 = null; _1ers._endScene(_1erp); }); } } else new _1epq.EventTaskCellOpen(_1ery, _1erz, _1es0, _1es1, _1erx, _1es3).start(function() { var _1esa = null; _1ers._endScene(_1erp); }); }, _1eq1.prototype._selectGoAhead = function(_1esb, _1esc) { var _1esd = null, _1ese = this, _1esf = new _1epj.TaskMarchRetreatSelect(this._view); _1esf.start(function() { var _1esg = null; if (0 == _1esf.result) _1ese._endScene(_1esb); else { var _1esh = _1ese._model.sortie.area_id, _1esi = _1ese._model.sortie.map_no, _1esj = _1ep7.MapConst.getMapBGMID(_1esh, _1esi); 1 == _1esj.battle_bgm ? _1ep6.default.sound.bgm.playBattleBGM(_1esj.id) : _1ep6.default.sound.bgm.play(_1esj.id); var _1esk = _1ese._model.deck_f, _1esl = [_1esk.id]; 0 != _1esk.type && _1esl.push(_1esk.id_second); var _1esm = _1ese._model.sortie.getNextCell().no; new _1epc.APIShipDeck(_1esl, _1esh, _1esi, _1esm).start(function() { var _1esn = null, _1eso = _1ese._model.deck_f.id, _1esp = _1ep6.default.model.deck.get(_1eso); _1ese._model.deck_f.updateShipList(_1esp), _1ese._preNext(_1esb, _1esc); }); } }); }, _1eq1.prototype._selectTaihaShingun = function(_1esq, _1esr, _1ess, _1est) { var _1esu = null, _1esv = this, _1esw = new _1epk.TaskTaihaShingunSelect(this._view, _1ess, _1est); _1esw.start(function() { var _1esx = null, _1esy = _1esw.result; if (0 == _1esy) _1esv._endScene(_1esq); else { var _1esz = _1esv._model.sortie.area_id, _1et0 = _1esv._model.sortie.map_no, _1et1 = _1ep7.MapConst.getMapBGMID(_1esz, _1et0); 1 == _1et1.battle_bgm ? _1ep6.default.sound.bgm.playBattleBGM(_1et1.id) : _1ep6.default.sound.bgm.play(_1et1.id); var _1et2 = _1esv._model.deck_f, _1et3 = [_1et2.id]; 0 != _1et2.type && _1et3.push(_1et2.id_second); var _1et4 = _1esv._model.sortie.getNextCell().no; new _1epc.APIShipDeck(_1et3, _1esz, _1et0, _1et4).start(function() { var _1et5 = null, _1et6 = _1esv._model.deck_f.id, _1et7 = _1ep6.default.model.deck.get(_1et6); _1esv._model.deck_f.updateShipList(_1et7), _1esv._model.deck_f.ships[0].selectRepairItem(_1esy), _1esv._preNext(_1esq, _1esr, _1esy); }); } }); }, _1eq1.prototype._preNext = function(_1et8, _1et9, _1eta) { var _1etb = null, _1etc = this; (void 0 === _1eta && (_1eta = 0), 1 == _1et8.isJunction()) ? (_1et8.getSelectableRoutes(), this._viewNext(_1et9, _1eta, function() { var _1etd = null; _1etc._view.map.plane_layer.hideAll(); var _1ete = new _1epl.TaskBranchRoute(_1etc, _1etc._model); _1ete.start(function() { var _1etf = null, _1etg = _1ete.selected_no; new _1epb.APIMapNext(_1etc._model.sortie, _1eta, _1etg).start(function() { var _1eth = _1etf; _1etc[_1eth(13504)](_1eta); }); }); })) : new _1epb.APIMapNext(this._model.sortie, _1eta).start(function() { var _1eti = null; _1etc._viewNext(_1et9, _1eta, function() { var _1etj = null; _1etc._view.map.plane_layer.hideAll(function() { var _1etk = _1etj; _1etc[_1etk(13504)](_1eta); }); }); }); }, _1eq1.prototype._viewNext = function(_1etl, _1etm, _1etn) { var _1eto = null, _1etp = this; createjs.Tween.get(this._view.shutter).to({ 'alpha': 0 }, 200), createjs.Tween.get(this._view.map).to({ 'alpha': 1 }, 200), createjs.Tween.get(this._view.upper).to({ 'alpha': 1 }, 200), createjs.Tween.get(this._view.gauge_layer).to({ 'alpha': 1 }, 200), this._view.message_box.text = '', this._view.message_box.activate(function() { var _1etq = null; _1etp._view.map.enemy_layer.hide(function() { _1etn(); }); }); }, _1eq1.prototype._endScene = function(_1etr) { var _1ets = null, _1ett = this; this._model.sortie.area_id, this._model.sortie.map_no, _1etr.no, 4 == _1etr.event_id || 5 == _1etr.event_id || 8 == _1etr.event_id || _1etr.getM1() > 0 ? _1ep6.default.scene.change(0) : (this._view.message_box.deactivate(), createjs.Tween.get(this._view.gauge_layer).to({ 'alpha': 0 }, 300).call(function() { var _1etu = null, _1etv = new _1ep9.Shutter(); _1etv.initializeDark(), _1ett._view.universal_layer.addChild(_1etv); var _1etw = _1ett._model.sortie.obtained_items; new _1epn.TaskShowMapEndView(_1etv, _1etw).start(function() { var _1etx = null; _1ep6.default.scene.change(0); }); })); }, _1eq1.prototype.getPreInitializeTask = function(_1ety, _1etz) { var _1eu0 = null; return this._model = _1etz, new _1epf.TaskInitPre(this, _1etz); }, _1eq1.prototype.getInitializeTask = function(_1eu1) { var _1eu2 = null; return this.once('showed', this._startScene), new _1epg.TaskInit(this, this._model); }, _1eq1.prototype.getFinalizeTask = function() { var _1eu3 = null; return new _1eph.TaskFinalize(this); }, _1eq1; }(_1ep8.SceneBase); _1eoj.MapScene = _1epy; }, 80500: function(_1eu4, _1eu5, _1eu6) { 'use strict'; var _1eu7 = null; var _1eu8, _1eu9 = this && this.__extends || (_1eu8 = function(_1eua, _1eub) { var _1euc = null; return _1eu8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1eud, _1eue) { var _1euf = null; _1eud.__proto__ = _1eue; } || function(_1eug, _1euh) { var _1eui = null; for (var _1euj in _1euh) Object.prototype.hasOwnProperty.call(_1euh, _1euj) && (_1eug[_1euj] = _1euh[_1euj]); }, _1eu8(_1eua, _1eub); }, function(_1euk, _1eul) { var _1eum = null; if ('function' != typeof _1eul && null !== _1eul) throw new TypeError('Class extends value ' + String(_1eul) + ' is not a constructor or null'); function _1eun() { var _1euo = null; this.constructor = _1euk; } _1eu8(_1euk, _1eul), _1euk.prototype = null === _1eul ? Object.create(_1eul) : (_1eun.prototype = _1eul.prototype, new _1eun()); }), _1eup = this && this.__importDefault || function(_1euq) { var _1eur = null; return _1euq && _1euq.__esModule ? _1euq : { 'default': _1euq }; }; defineModule(_1eu5); Object.defineProperty(_1eu5, '__esModule', { 'value': !0 }), _1eu5.APIAnchorageRepair = void 0; var _1eus = _1eu6(58566), _1eut = _1eu6(89939), _1euu = _1eup(_1eu6(18622)), _1euv = function(_1euw) { var _1eux = null; function _1euy() { var _1euz = null, _1ev0 = _1euw.call(this) || this; return _1ev0._url = 'api_req_map/anchorage_repair', _1ev0; } return _1eu9(_1euy, _1euw), Object.defineProperty(_1euy.prototype, 'used_ship', { 'get': function() { var _1ev1 = null; return this._used_ship; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1euy.prototype, 'repair_ships', { 'get': function() { var _1ev2 = null; return this._repair_ships; }, 'enumerable': !1, 'configurable': !0 }), _1euy.prototype._connect = function() { var _1ev3 = null; _1euw.prototype._connect.call(this); }, _1euy.prototype._completedEnd = function() { var _1ev4 = null; this._used_ship = _1eut.ObjUtil.getNumber(this._raw_data, 'api_used_ship'); for (var _1ev5 = 0, _1ev6 = _1eut.ObjUtil.getObjectArray(this._raw_data, 'api_ship_data'); _1ev5 < _1ev6.length; _1ev5++) { var _1ev7 = _1ev6[_1ev5]; _1euu.default.model.ship.updateData(_1ev7); } var _1ev8 = _1eut.ObjUtil.getNumArray(this._raw_data, 'api_repair_ships'); this._repair_ships = _1ev8, _1euw.prototype._completedEnd.call(this); }, _1euy; }(_1eus.APIBase); _1eu5.APIAnchorageRepair = _1euv; }, 3883: function(_1ev9, _1eva, _1evb) { 'use strict'; var _1evc = null; var _1evd, _1eve = this && this.__extends || (_1evd = function(_1evf, _1evg) { var _1evh = null; return _1evd = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1evi, _1evj) { var _1evk = null; _1evi.__proto__ = _1evj; } || function(_1evl, _1evm) { var _1evn = null; for (var _1evo in _1evm) Object.prototype.hasOwnProperty.call(_1evm, _1evo) && (_1evl[_1evo] = _1evm[_1evo]); }, _1evd(_1evf, _1evg); }, function(_1evp, _1evq) { var _1evr = null; if ('function' != typeof _1evq && null !== _1evq) throw new TypeError('Class extends value ' + String(_1evq) + ' is not a constructor or null'); function _1evs() { var _1evt = null; this.constructor = _1evp; } _1evd(_1evp, _1evq), _1evp.prototype = null === _1evq ? Object.create(_1evq) : (_1evs.prototype = _1evq.prototype, new _1evs()); }); defineModule(_1eva); Object.defineProperty(_1eva, '__esModule', { 'value': !0 }), _1eva.APIMapNext = void 0; var _1evu = function(_1evv) { var _1evw = null; function _1evx(_1evy, _1evz, _1ew0) { var _1ew1 = null; void 0 === _1ew0 && (_1ew0 = -1); var _1ew2 = _1evv.call(this) || this; return _1ew2._url = 'api_req_map/next', _1ew2._model = _1evy, _1ew2._repair_item = _1evz, _1ew2._next_cell_no = _1ew0, _1ew2; } return _1eve(_1evx, _1evv), _1evx.prototype._connect = function() { var _1ew3 = null; this._post_data.api_recovery_type = this._repair_item, this._next_cell_no >= 0 && (this._post_data.api_cell_id = this._next_cell_no), _1evv.prototype._connect.call(this); }, _1evx.prototype._completedEnd = function() { var _1ew4 = null; this._model.__add__(this._raw_data), _1evv.prototype._completedEnd.call(this); }, _1evx; }(_1evb(58566).APIBase); _1eva.APIMapNext = _1evu; }, 84866: function(_1ew5, _1ew6, _1ew7) { 'use strict'; var _1ew8 = null; var _1ew9, _1ewa = this && this.__extends || (_1ew9 = function(_1ewb, _1ewc) { var _1ewd = null; return _1ew9 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ewe, _1ewf) { var _1ewg = null; _1ewe.__proto__ = _1ewf; } || function(_1ewh, _1ewi) { var _1ewj = null; for (var _1ewk in _1ewi) Object.prototype.hasOwnProperty.call(_1ewi, _1ewk) && (_1ewh[_1ewk] = _1ewi[_1ewk]); }, _1ew9(_1ewb, _1ewc); }, function(_1ewl, _1ewm) { var _1ewn = null; if ('function' != typeof _1ewm && null !== _1ewm) throw new TypeError('Class extends value ' + String(_1ewm) + ' is not a constructor or null'); function _1ewo() { var _1ewp = null; this.constructor = _1ewl; } _1ew9(_1ewl, _1ewm), _1ewl.prototype = null === _1ewm ? Object.create(_1ewm) : (_1ewo.prototype = _1ewm.prototype, new _1ewo()); }), _1ewq = this && this.__importDefault || function(_1ewr) { var _1ews = null; return _1ewr && _1ewr.__esModule ? _1ewr : { 'default': _1ewr }; }; defineModule(_1ew6); Object.defineProperty(_1ew6, '__esModule', { 'value': !0 }), _1ew6.APIShipDeck = void 0; var _1ewt = _1ewq(_1ew7(18622)), _1ewu = _1ew7(58566), _1ewv = _1ew7(89939), _1eww = function(_1ewx) { var _1ewy = null; function _1ewz(_1ex0, _1ex1, _1ex2, _1ex3) { var _1ex4 = null, _1ex5 = _1ewx.call(this) || this; return _1ex5._url = 'api_get_member/ship_deck', _1ex5._deck_ids = _1ex0, _1ex5._area_id = _1ex1, _1ex5._map_no = _1ex2, _1ex5._cell_no = _1ex3, _1ex5; } return _1ewa(_1ewz, _1ewx), _1ewz.prototype._connect = function() { var _1ex6 = null; this._post_data.api_deck_rid = this._deck_ids.join(','), _1ewx.prototype._connect.call(this); }, _1ewz.prototype._completedEnd = function() { var _1ex7 = null; for (var _1ex8 = 0, _1ex9 = _1ewv.ObjUtil.getObjectArray(this._raw_data, 'api_deck_data'); _1ex8 < _1ex9.length; _1ex8++) { var _1exa = _1ex9[_1ex8]; _1ewt.default.model.deck.updateData(_1exa); } for (var _1exb = 0, _1exc = _1ewv.ObjUtil.getObjectArray(this._raw_data, 'api_ship_data'); _1exb < _1exc.length; _1exb++) { _1exa = _1exc[_1exb], _1ewt.default.model.ship.updateData(_1exa); } _1ewx.prototype._completedEnd.call(this); }, _1ewz; }(_1ewu.APIBase); _1ew6.APIShipDeck = _1eww; }, 65199: function(_1exd, _1exe, _1exf) { 'use strict'; var _1exg = null; var _1exh, _1exi = this && this.__extends || (_1exh = function(_1exj, _1exk) { var _1exl = null; return _1exh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1exm, _1exn) { var _1exo = null; _1exm.__proto__ = _1exn; } || function(_1exp, _1exq) { var _1exr = null; for (var _1exs in _1exq) Object.prototype.hasOwnProperty.call(_1exq, _1exs) && (_1exp[_1exs] = _1exq[_1exs]); }, _1exh(_1exj, _1exk); }, function(_1ext, _1exu) { var _1exv = null; if ('function' != typeof _1exu && null !== _1exu) throw new TypeError('Class extends value ' + String(_1exu) + ' is not a constructor or null'); function _1exw() { var _1exx = null; this.constructor = _1ext; } _1exh(_1ext, _1exu), _1ext.prototype = null === _1exu ? Object.create(_1exu) : (_1exw.prototype = _1exu.prototype, new _1exw()); }); defineModule(_1exe); Object.defineProperty(_1exe, '__esModule', { 'value': !0 }), _1exe.AirUnitGoAPI = void 0; var _1exy = function(_1exz) { var _1ey0 = null; function _1ey1(_1ey2, _1ey3, _1ey4) { var _1ey5 = null, _1ey6 = _1exz.call(this) || this; return _1ey6._url = 'api_req_map/start_air_base', _1ey6._airunit1 = _1ey2, _1ey6._airunit2 = _1ey3, _1ey6._airunit3 = _1ey4, _1ey6; } return _1exi(_1ey1, _1exz), _1ey1.prototype._connect = function() { var _1ey7 = null; null != this._airunit1 && this._airunit1.length > 0 && (this._post_data.api_strike_point_1 = this._airunit1.join(',')), null != this._airunit2 && this._airunit2.length > 0 && (this._post_data.api_strike_point_2 = this._airunit2.join(',')), null != this._airunit3 && this._airunit3.length > 0 && (this._post_data.api_strike_point_3 = this._airunit3.join(',')), _1exz.prototype._connect.call(this); }, _1ey1; }(_1exf(37562).APIBase); _1exe.AirUnitGoAPI = _1exy; }, 93911: function(_1ey8, _1ey9, _1eya) { 'use strict'; var _1eyb = null; var _1eyc, _1eyd = this && this.__extends || (_1eyc = function(_1eye, _1eyf) { var _1eyg = null; return _1eyc = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1eyh, _1eyi) { var _1eyj = null; _1eyh.__proto__ = _1eyi; } || function(_1eyk, _1eyl) { var _1eym = null; for (var _1eyn in _1eyl) Object.prototype.hasOwnProperty.call(_1eyl, _1eyn) && (_1eyk[_1eyn] = _1eyl[_1eyn]); }, _1eyc(_1eye, _1eyf); }, function(_1eyo, _1eyp) { var _1eyq = null; if ('function' != typeof _1eyp && null !== _1eyp) throw new TypeError('Class extends value ' + String(_1eyp) + ' is not a constructor or null'); function _1eyr() { var _1eys = null; this.constructor = _1eyo; } _1eyc(_1eyo, _1eyp), _1eyo.prototype = null === _1eyp ? Object.create(_1eyp) : (_1eyr.prototype = _1eyp.prototype, new _1eyr()); }); defineModule(_1ey9); Object.defineProperty(_1ey9, '__esModule', { 'value': !0 }), _1ey9.GobackPortAPI = void 0; var _1eyt = function(_1eyu) { function _1eyv(_1eyw, _1eyx, _1eyy, _1eyz, _1ez0) { var _1ez1 = null, _1ez2 = _1eyu.call(this) || this; return _1ez2._area_id = _1eyw, _1ez2._map_no = _1eyx, _1ez2._cell_no = _1eyy, _1ez2._target_mem_id = _1eyz, _1ez2._towing_mem_id = _1ez0, _1ez2._towing_mem_id <= 0 ? _1ez2._url = 'api_req_sortie/goback_port' : _1ez2._url = 'api_req_combined_battle/goback_port', _1ez2; } return _1eyd(_1eyv, _1eyu), _1eyv; }(_1eya(58566).APIBase); _1ey9.GobackPortAPI = _1eyt; }, 68826: function(_1ez3, _1ez4, _1ez5) { 'use strict'; var _1ez6 = null; var _1ez7, _1ez8 = this && this.__extends || (_1ez7 = function(_1ez9, _1eza) { var _1ezb = null; return _1ez7 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ezc, _1ezd) { var _1eze = null; _1ezc.__proto__ = _1ezd; } || function(_1ezf, _1ezg) { var _1ezh = null; for (var _1ezi in _1ezg) Object.prototype.hasOwnProperty.call(_1ezg, _1ezi) && (_1ezf[_1ezi] = _1ezg[_1ezi]); }, _1ez7(_1ez9, _1eza); }, function(_1ezj, _1ezk) { var _1ezl = null; if ('function' != typeof _1ezk && null !== _1ezk) throw new TypeError('Class extends value ' + String(_1ezk) + ' is not a constructor or null'); function _1ezm() { var _1ezn = null; this.constructor = _1ezj; } _1ez7(_1ezj, _1ezk), _1ezj.prototype = null === _1ezk ? Object.create(_1ezk) : (_1ezm.prototype = _1ezk.prototype, new _1ezm()); }); defineModule(_1ez4); Object.defineProperty(_1ez4, '__esModule', { 'value': !0 }), _1ez4.RemoveCellEnemyAPI = void 0; var _1ezo = function(_1ezp) { function _1ezq() { var _1ezr = null; return _1ezp.call(this) || this; } return _1ez8(_1ezq, _1ezp), _1ezq; }(_1ez5(58566).APIBase); _1ez4.RemoveCellEnemyAPI = _1ezo; }, 94224: function(_1ezs, _1ezt, _1ezu) { 'use strict'; var _1ezv = null; var _1ezw, _1ezx = this && this.__extends || (_1ezw = function(_1ezy, _1ezz) { var _1f00 = null; return _1ezw = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1f01, _1f02) { var _1f03 = null; _1f01.__proto__ = _1f02; } || function(_1f04, _1f05) { var _1f06 = null; for (var _1f07 in _1f05) Object.prototype.hasOwnProperty.call(_1f05, _1f07) && (_1f04[_1f07] = _1f05[_1f07]); }, _1ezw(_1ezy, _1ezz); }, function(_1f08, _1f09) { var _1f0a = null; if ('function' != typeof _1f09 && null !== _1f09) throw new TypeError('Class extends value ' + String(_1f09) + ' is not a constructor or null'); function _1f0b() { var _1f0c = null; this.constructor = _1f08; } _1ezw(_1f08, _1f09), _1f08.prototype = null === _1f09 ? Object.create(_1f09) : (_1f0b.prototype = _1f09.prototype, new _1f0b()); }), _1f0d = this && this.__importDefault || function(_1f0e) { var _1f0f = null; return _1f0e && _1f0e.__esModule ? _1f0e : { 'default': _1f0e }; }; defineModule(_1ezt); Object.defineProperty(_1ezt, '__esModule', { 'value': !0 }), _1ezt.AirRaidResultTelop = void 0; var _1f0g = _1f0d(_1ezu(21359)), _1f0h = _1ezu(54061), _1f0i = _1ezu(67273), _1f0j = function(_1f0k) { var _1f0l = null; function _1f0m() { var _1f0n = null, _1f0o = _1f0k.call(this) || this; return _1f0o._container = new PIXI.Container(), _1f0o.addChild(_1f0o._container), _1f0o._bg = new _1f0h.CenteringSprite(), _1f0o._bg.scale.x = 1.2, _1f0o._container.addChild(_1f0o._bg), _1f0o._txt = new _1f0h.CenteringSprite(), _1f0o._container.addChild(_1f0o._txt), _1f0o; } return _1ezx(_1f0m, _1f0k), _1f0m.prototype.initialize = function(_1f0p) { var _1f0q = null; switch (_1f0p) { case 1: this._bg.texture = _1f0i.MAP_TELOP.getTexture(0), this._txt.texture = _1f0i.MAP_TELOP.getTexture(10); break; case 2: this._bg.texture = _1f0i.MAP_TELOP.getTexture(2), this._txt.texture = _1f0i.MAP_TELOP.getTexture(12); break; case 3: this._bg.texture = _1f0i.MAP_TELOP.getTexture(0), this._txt.texture = _1f0i.MAP_TELOP.getTexture(11); break; case 4: this._bg.texture = _1f0i.MAP_TELOP.getTexture(1), this._txt.texture = _1f0i.MAP_TELOP.getTexture(13); } this._container.y = -_1f0g.default.height / 2 - this._container.height; }, _1f0m.prototype.playAnimation = function(_1f0r, _1f0s) { var _1f0t = null; createjs.Tween.get(this._container).call(_1f0r).to({ 'y': 0 }, 600, createjs.Ease.sineOut).wait(1000).to({ 'y': _1f0g.default.height / 2 + this.height }, 600, createjs.Ease.sineIn).call(_1f0s); }, _1f0m; }(PIXI.Container); _1ezt.AirRaidResultTelop = _1f0j; }, 83817: function(_1f0u, _1f0v, _1f0w) { 'use strict'; var _1f0x = null; var _1f0y, _1f0z = this && this.__extends || (_1f0y = function(_1f10, _1f11) { var _1f12 = null; return _1f0y = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1f13, _1f14) { var _1f15 = null; _1f13.__proto__ = _1f14; } || function(_1f16, _1f17) { var _1f18 = null; for (var _1f19 in _1f17) Object.prototype.hasOwnProperty.call(_1f17, _1f19) && (_1f16[_1f19] = _1f17[_1f19]); }, _1f0y(_1f10, _1f11); }, function(_1f1a, _1f1b) { var _1f1c = null; if ('function' != typeof _1f1b && null !== _1f1b) throw new TypeError('Class extends value ' + String(_1f1b) + ' is not a constructor or null'); function _1f1d() { var _1f1e = null; this.constructor = _1f1a; } _1f0y(_1f1a, _1f1b), _1f1a.prototype = null === _1f1b ? Object.create(_1f1b) : (_1f1d.prototype = _1f1b.prototype, new _1f1d()); }); defineModule(_1f0v); Object.defineProperty(_1f0v, '__esModule', { 'value': !0 }), _1f0v.AirRaidTelop = void 0; var _1f1f = _1f0w(85492), _1f1g = _1f0w(54061), _1f1h = _1f0w(67273), _1f1i = function(_1f1j) { var _1f1k = null; function _1f1l() { var _1f1m = null, _1f1n = _1f1j.call(this) || this; return _1f1n._bg = new _1f1g.CenteringSprite(), _1f1n._bg.y = -45, _1f1n.addChild(_1f1n._bg), _1f1n._txt1 = new _1f1g.CenteringSprite(), _1f1n._txt1.y = -45, _1f1n.addChild(_1f1n._txt1), _1f1n._txt2 = new _1f1g.CenteringSprite(), _1f1n._txt2.y = 90, _1f1n.addChild(_1f1n._txt2), _1f1n; } return _1f0z(_1f1l, _1f1j), _1f1l.prototype.initialize = function(_1f1o) { var _1f1p = null; this._bg.alpha = 0, this._bg.scale.y = 0, this._bg.texture = _1f1h.MAP_TELOP.getTexture(2), this._txt1.alpha = 0, this._txt1.x = 150, this._txt1.texture = _1f1h.MAP_TELOP.getTexture(7), this._txt2.alpha = 0, this._txt2.texture = 1 == _1f1o ? _1f1h.MAP_TELOP.getTexture(9) : _1f1h.MAP_TELOP.getTexture(8); }, _1f1l.prototype.playAnimation = function(_1f1q) { var _1f1r = null; this._animation1(_1f1q); }, _1f1l.prototype._animation1 = function(_1f1s) { var _1f1t = null, _1f1u = this, _1f1v = new _1f1f.TweenTask(); _1f1v.addTween(createjs.Tween.get(this._bg).to({ 'alpha': 1, 'scaleY': 1 }, 500)), _1f1v.addTween(createjs.Tween.get(this._txt1).wait(300).to({ 'x': 30, 'alpha': 1 }, 700)), _1f1v.addTween(createjs.Tween.get(this._txt2).wait(300).to({ 'alpha': 1 }, 700)), _1f1v.start(function() { var _1f1w = null; _1f1u._animation2(_1f1s); }); }, _1f1l.prototype._animation2 = function(_1f1x) { var _1f1y = null, _1f1z = new _1f1f.TweenTask(); _1f1z.addTween(createjs.Tween.get(this._bg).wait(1200).to({ 'scaleY': 0 }, 200)), _1f1z.addTween(createjs.Tween.get(this._txt1).wait(800).to({ 'x': -40, 'alpha': 0 }, 300)), _1f1z.addTween(createjs.Tween.get(this._txt2).wait(1100).to({ 'alpha': 0 }, 100)), _1f1z.start(function() { null != _1f1x && _1f1x(); }); }, _1f1l; }(PIXI.Container); _1f0v.AirRaidTelop = _1f1i; }, 11409: function(_1f20, _1f21, _1f22) { 'use strict'; var _1f23 = null; var _1f24, _1f25 = this && this.__extends || (_1f24 = function(_1f26, _1f27) { var _1f28 = null; return _1f24 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1f29, _1f2a) { var _1f2b = null; _1f29.__proto__ = _1f2a; } || function(_1f2c, _1f2d) { var _1f2e = null; for (var _1f2f in _1f2d) Object.prototype.hasOwnProperty.call(_1f2d, _1f2f) && (_1f2c[_1f2f] = _1f2d[_1f2f]); }, _1f24(_1f26, _1f27); }, function(_1f2g, _1f2h) { var _1f2i = null; if ('function' != typeof _1f2h && null !== _1f2h) throw new TypeError('Class extends value ' + String(_1f2h) + ' is not a constructor or null'); function _1f2j() { var _1f2k = null; this.constructor = _1f2g; } _1f24(_1f2g, _1f2h), _1f2g.prototype = null === _1f2h ? Object.create(_1f2h) : (_1f2j.prototype = _1f2h.prototype, new _1f2j()); }); defineModule(_1f21); Object.defineProperty(_1f21, '__esModule', { 'value': !0 }), _1f21.EscapeGoeiTask = void 0; var _1f2l = _1f22(81755), _1f2m = _1f22(20137), _1f2n = _1f22(93911), _1f2o = _1f22(96792), _1f2p = function(_1f2q) { var _1f2r = null; function _1f2s(_1f2t, _1f2u, _1f2v, _1f2w) { var _1f2x = null, _1f2y = _1f2q.call(this) || this; return _1f2y._onTaihi = function() { var _1f2z = null; _1f2y._view.deactivate(); var _1f30 = _1f2y._model.map_info.area_id, _1f31 = _1f2y._model.map_info.map_no, _1f32 = _1f2y._model.map_info.cell_no; new _1f2n.GobackPortAPI(_1f30, _1f31, _1f32, _1f2y._target.mem_id, _1f2y._towing.mem_id).start(function() { var _1f33 = null; _1f2y._target.initializeTaihi(!0), _1f2y._towing.initializeTaihi(!0), _1f2y._hideView(); }); }, _1f2y._onTaihiSezu = function() { var _1f34 = null; _1f2y._view.deactivate(), _1f2y._hideView(); }, _1f2y._scene = _1f2t, _1f2y._model = _1f2u, _1f2y._target = _1f2v, _1f2y._towing = _1f2w, _1f2y; } return _1f25(_1f2s, _1f2q), _1f2s.prototype._start = function() { var _1f35 = null; this._loadShipResources(); }, _1f2s.prototype._loadShipResources = function() { var _1f36 = null, _1f37 = this, _1f38 = new _1f2m.ShipLoader(); _1f38.add(this._target.mst_id, this._target.isDamaged(), 'banner'), _1f38.add(this._towing.mst_id, this._towing.isDamaged(), 'banner'), _1f38.load(function() { var _1f39 = null; _1f37._show(); }); }, _1f2s.prototype._show = function() { var _1f3a = null; this._view = new _1f2o.EscapeGoeiView(this._onTaihi, this._onTaihiSezu), this._view.initialize(); var _1f3b = this._target, _1f3c = this._towing; this._view.updateTargetShipBanner(_1f3b.mst_id, _1f3b.level, _1f3b.isMarriage(), _1f3b.hp_now, _1f3b.hp_max, _1f3b.ribbon), this._view.updateTowingShipBanner(_1f3c.mst_id, _1f3c.isMarriage(), _1f3c.hp_now, _1f3c.hp_max, _1f3c.ribbon), this._view.activate(), this._view.alpha = 0, this._scene.addChild(this._view), createjs.Tween.get(this._view).to({ 'alpha': 1 }, 300); }, _1f2s.prototype._hideView = function() { var _1f3d = null, _1f3e = this; createjs.Tween.get(this._view).to({ 'alpha': 0 }, 300).call(function() { var _1f3f = null; _1f3e._endTask(); }); }, _1f2s.prototype._endTask = function() { var _1f3g = null; this._scene.removeChild(this._view), this._scene = null, this._model = null, this._target = null, this._towing = null, this._view.dispose(), this._view = null, _1f2q.prototype._endTask.call(this); }, _1f2s; }(_1f2l.TaskBase); _1f21.EscapeGoeiTask = _1f2p; }, 96792: function(_1f3h, _1f3i, _1f3j) { 'use strict'; var _1f3k = null; var _1f3l, _1f3m = this && this.__extends || (_1f3l = function(_1f3n, _1f3o) { var _1f3p = null; return _1f3l = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1f3q, _1f3r) { var _1f3s = null; _1f3q.__proto__ = _1f3r; } || function(_1f3t, _1f3u) { var _1f3v = null; for (var _1f3w in _1f3u) Object.prototype.hasOwnProperty.call(_1f3u, _1f3w) && (_1f3t[_1f3w] = _1f3u[_1f3w]); }, _1f3l(_1f3n, _1f3o); }, function(_1f3x, _1f3y) { var _1f3z = null; if ('function' != typeof _1f3y && null !== _1f3y) throw new TypeError('Class extends value ' + String(_1f3y) + ' is not a constructor or null'); function _1f40() { var _1f41 = null; this.constructor = _1f3x; } _1f3l(_1f3x, _1f3y), _1f3x.prototype = null === _1f3y ? Object.create(_1f3y) : (_1f40.prototype = _1f3y.prototype, new _1f40()); }), _1f42 = this && this.__importDefault || function(_1f43) { var _1f44 = null; return _1f43 && _1f43.__esModule ? _1f43 : { 'default': _1f43 }; }; defineModule(_1f3i); Object.defineProperty(_1f3i, '__esModule', { 'value': !0 }), _1f3i.EscapeGoeiView = void 0; var _1f45 = _1f42(_1f3j(18622)), _1f46 = _1f3j(8744), _1f47 = _1f3j(37638), _1f48 = _1f3j(60883), _1f49 = _1f3j(18343), _1f4a = _1f3j(55896), _1f4b = _1f3j(31531), _1f4c = function(_1f4d) { var _1f4e = null; function _1f4f(_1f4g, _1f4h) { var _1f4i = null, _1f4j = _1f4d.call(this) || this; return _1f4j._onClickTaihi = function() { var _1f4k = null; null != _1f4j._cb_onYes && _1f4j._cb_onYes(); }, _1f4j._onClickTaihiSezu = function() { var _1f4l = null; null != _1f4j._cb_onNo && _1f4j._cb_onNo(); }, _1f4j._cb_onYes = _1f4g, _1f4j._cb_onNo = _1f4h, _1f4j._taihi = new _1f4m(_1f4j._onClickTaihi), _1f4j._taihi.position.set(438, 563), _1f4j.addChild(_1f4j._taihi), _1f4j._taihisezu = new _1f4n(_1f4j._onClickTaihiSezu), _1f4j._taihisezu.position.set(771, 563), _1f4j.addChild(_1f4j._taihisezu), _1f4j._ship_target = new _1f47.ShipBanner(), _1f4j._ship_target.position.set(344, 255), _1f4j.addChild(_1f4j._ship_target), _1f4j._ship_towing = new _1f47.ShipBanner(), _1f4j._ship_towing.position.set(344, 330), _1f4j.addChild(_1f4j._ship_towing), _1f4j._txt1 = new PIXI.Sprite(), _1f4j._txt1.position.set(584, 258), _1f4j.addChild(_1f4j._txt1), _1f4j._txt2 = new PIXI.Sprite(), _1f4j._txt2.position.set(123, 333), _1f4j.addChild(_1f4j._txt2), _1f4j._txt3 = new PIXI.Sprite(), _1f4j._txt3.position.set(584, 333), _1f4j.addChild(_1f4j._txt3), _1f4j._ship_name = new _1f46.TextBox(27, 16777215), _1f4j._ship_name.y = 258, _1f4j.addChild(_1f4j._ship_name), _1f4j._ship_level = new _1f46.TextBox(18, 16777215), _1f4j._ship_level.y = 258, _1f4j.addChild(_1f4j._ship_level), _1f4j._ship_hp = new _1f46.TextBox(18, 16777215), _1f4j._ship_hp.y = 291, _1f4j.addChild(_1f4j._ship_hp), _1f4j._title = new _1f48.PhaseTitle(), _1f4j._title.y = 17, _1f4j.addChild(_1f4j._title), _1f4j; } return _1f3m(_1f4f, _1f4d), _1f4f.prototype.initialize = function() { var _1f4o = null; this._taihi.initialize(), this._taihisezu.initialize(), this._txt1.texture = _1f4a.MAP_DECISION.getTexture(16), this._txt2.texture = _1f4a.MAP_DECISION.getTexture(17), this._txt3.texture = _1f4a.MAP_DECISION.getTexture(18), this._title.initialize(!1), this._title.update(_1f4a.MAP_DECISION.getTexture(15)), this._title.activate(); }, _1f4f.prototype.updateTargetShipBanner = function(_1f4p, _1f4q, _1f4r, _1f4s, _1f4t, _1f4u) { var _1f4v = null, _1f4w = '', _1f4x = _1f45.default.model.ship.getMst(_1f4p); null != _1f4x && (_1f4w = _1f4x.name); var _1f4y = _1f49.ShipUtil.isDamaged(_1f4s, _1f4t), _1f4z = _1f49.ShipUtil.getDamageType(_1f4s, _1f4t); this._ship_target.updateImage(_1f4p, _1f4y); if (this._ship_target.updateIcon(!1, !1, _1f4z), this._ship_target.updateRing(_1f4r), this._ship_target.updateRibbon(_1f4u), this._ship_name.text = _1f4w, this._ship_name.x = 240 - this._ship_name.width, this._ship_name.x < 30) { this._ship_name.x = 30; var _1f50 = new PIXI.Graphics(); _1f50.beginFill(16711680, 0.5), _1f50.drawRect(0, 0, 210, 33), _1f50.endFill(), this._ship_name.addChild(_1f50), this._ship_name.mask = _1f50; } this._ship_level.text = 'Lv ' + _1f4q, this._ship_level.x = 338 - this._ship_level.width, this._ship_hp.text = _1f4s + '/' + _1f4t, this._ship_hp.x = 338 - this._ship_hp.width; }, _1f4f.prototype.updateTowingShipBanner = function(_1f51, _1f52, _1f53, _1f54, _1f55) { var _1f56 = null, _1f57 = _1f49.ShipUtil.isDamaged(_1f53, _1f54), _1f58 = _1f49.ShipUtil.getDamageType(_1f53, _1f54); this._ship_towing.updateImage(_1f51, _1f57), (this._ship_towing.updateIcon(!1, !1, _1f58), this._ship_towing.updateRing(_1f52), this._ship_towing.updateRibbon(_1f55)); }, _1f4f.prototype.activate = function() { var _1f59 = null; this._taihi.activate(), this._taihisezu.activate(); }, _1f4f.prototype.deactivate = function() { var _1f5a = null; this._taihi.deactivate(), this._taihisezu.deactivate(); }, _1f4f.prototype.dispose = function() { var _1f5b = null; this._taihi.dispose(), this._taihisezu.dispose(), this._title.dispose(), this._cb_onYes = null, this._cb_onNo = null; }, _1f4f; }(PIXI.Container); _1f3i.EscapeGoeiView = _1f4c; var _1f4m = function(_1f5c) { var _1f5d = null; function _1f5e(_1f5f) { var _1f5g = null; return _1f5c.call(this, !1, _1f5f) || this; } return _1f3m(_1f5e, _1f5c), _1f5e.prototype.initialize = function() { var _1f5h = null; this._initialize(0); }, _1f5e.prototype._setTexture = function(_1f5i) { var _1f5j = null; this._btn.texture = 1 == _1f5i ? _1f4a.MAP_DECISION.getTexture(12) : _1f4a.MAP_DECISION.getTexture(11), this._btn.x = -Math.round(this._btn.width / 2), this._btn.y = -Math.round(this._btn.height / 2); }, _1f5e; }(_1f4b.WaveBtnBase), _1f4n = function(_1f5k) { var _1f5l = null; function _1f5m(_1f5n) { var _1f5o = null; return _1f5k.call(this, !0, _1f5n) || this; } return _1f3m(_1f5m, _1f5k), _1f5m.prototype.initialize = function() { var _1f5p = null; this._initialize(-3); }, _1f5m.prototype._setTexture = function(_1f5q) { var _1f5r = null; this._btn.texture = 1 == _1f5q ? _1f4a.MAP_DECISION.getTexture(10) : _1f4a.MAP_DECISION.getTexture(9), this._btn.x = -Math.round(this._btn.width / 2), this._btn.y = -Math.round(this._btn.height / 2); }, _1f5m; }(_1f4b.WaveBtnBase); }, 68686: function(_1f5s, _1f5t, _1f5u) { 'use strict'; var _1f5v = null; var _1f5w, _1f5x = this && this.__extends || (_1f5w = function(_1f5y, _1f5z) { var _1f60 = null; return _1f5w = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1f61, _1f62) { var _1f63 = null; _1f61.__proto__ = _1f62; } || function(_1f64, _1f65) { var _1f66 = null; for (var _1f67 in _1f65) Object.prototype.hasOwnProperty.call(_1f65, _1f67) && (_1f64[_1f67] = _1f65[_1f67]); }, _1f5w(_1f5y, _1f5z); }, function(_1f68, _1f69) { var _1f6a = null; if ('function' != typeof _1f69 && null !== _1f69) throw new TypeError('Class extends value ' + String(_1f69) + ' is not a constructor or null'); function _1f6b() { var _1f6c = null; this.constructor = _1f68; } _1f5w(_1f68, _1f69), _1f68.prototype = null === _1f69 ? Object.create(_1f69) : (_1f6b.prototype = _1f69.prototype, new _1f6b()); }); defineModule(_1f5t); Object.defineProperty(_1f5t, '__esModule', { 'value': !0 }), _1f5t.EscapeTankanTask = void 0; var _1f6d = _1f5u(81755), _1f6e = _1f5u(20137), _1f6f = _1f5u(93911), _1f6g = _1f5u(80372), _1f6h = function(_1f6i) { var _1f6j = null; function _1f6k(_1f6l, _1f6m, _1f6n, _1f6o) { var _1f6p = null, _1f6q = _1f6i.call(this) || this; return _1f6q._onTaihi = function() { var _1f6r = null; _1f6q._view.deactivate(); var _1f6s = _1f6q._model.map_info.area_id, _1f6t = _1f6q._model.map_info.map_no, _1f6u = _1f6q._model.map_info.cell_no; new _1f6f.GobackPortAPI(_1f6s, _1f6t, _1f6u, _1f6q._target.mem_id, -1).start(function() { var _1f6v = null; _1f6q._target.initializeTaihi(!0), _1f6q._hideView(); }); }, _1f6q._onTaihiSezu = function() { var _1f6w = null; _1f6q._view.deactivate(), _1f6q._hideView(); }, _1f6q._scene = _1f6l, _1f6q._model = _1f6m, _1f6q._target = _1f6n, _1f6q._type = _1f6o, _1f6q; } return _1f5x(_1f6k, _1f6i), _1f6k.prototype._start = function() { var _1f6x = null; this._loadShipResources(); }, _1f6k.prototype._loadShipResources = function() { var _1f6y = null, _1f6z = this, _1f70 = new _1f6e.ShipLoader(); _1f70.add(this._target.mst_id, this._target.isDamaged(), 'banner'), _1f70.load(function() { var _1f71 = null; _1f6z._show(); }); }, _1f6k.prototype._show = function() { var _1f72 = null; this._view = new _1f6g.EscapeTankanView(this._onTaihi, this._onTaihiSezu), this._view.initialize(this._type); var _1f73 = this._target; this._view.updateTargetShipBanner(_1f73.mst_id, _1f73.level, _1f73.isMarriage(), _1f73.hp_now, _1f73.hp_max, _1f73.ribbon), this._view.activate(), this._view.alpha = 0, this._scene.addChild(this._view), createjs.Tween.get(this._view).to({ 'alpha': 1 }, 300); }, _1f6k.prototype._hideView = function() { var _1f74 = null, _1f75 = this; createjs.Tween.get(this._view).to({ 'alpha': 0 }, 300).call(function() { var _1f76 = null; _1f75._endTask(); }); }, _1f6k.prototype._endTask = function() { var _1f77 = null; this._scene.removeChild(this._view), this._scene = null, this._model = null, this._target = null, this._view.dispose(), this._view = null, _1f6i.prototype._endTask.call(this); }, _1f6k; }(_1f6d.TaskBase); _1f5t.EscapeTankanTask = _1f6h; }, 80372: function(_1f78, _1f79, _1f7a) { 'use strict'; var _1f7b = null; var _1f7c, _1f7d = this && this.__extends || (_1f7c = function(_1f7e, _1f7f) { var _1f7g = null; return _1f7c = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1f7h, _1f7i) { var _1f7j = null; _1f7h.__proto__ = _1f7i; } || function(_1f7k, _1f7l) { var _1f7m = null; for (var _1f7n in _1f7l) Object.prototype.hasOwnProperty.call(_1f7l, _1f7n) && (_1f7k[_1f7n] = _1f7l[_1f7n]); }, _1f7c(_1f7e, _1f7f); }, function(_1f7o, _1f7p) { var _1f7q = null; if ('function' != typeof _1f7p && null !== _1f7p) throw new TypeError('Class extends value ' + String(_1f7p) + ' is not a constructor or null'); function _1f7r() { var _1f7s = null; this.constructor = _1f7o; } _1f7c(_1f7o, _1f7p), _1f7o.prototype = null === _1f7p ? Object.create(_1f7p) : (_1f7r.prototype = _1f7p.prototype, new _1f7r()); }), _1f7t = this && this.__importDefault || function(_1f7u) { var _1f7v = null; return _1f7u && _1f7u.__esModule ? _1f7u : { 'default': _1f7u }; }; defineModule(_1f79); Object.defineProperty(_1f79, '__esModule', { 'value': !0 }), _1f79.EscapeTankanView = void 0; var _1f7w = _1f7t(_1f7a(18622)), _1f7x = _1f7a(8744), _1f7y = _1f7a(37638), _1f7z = _1f7a(60883), _1f80 = _1f7a(18343), _1f81 = _1f7a(31531), _1f82 = _1f7a(55896), _1f83 = _1f7a(42514), _1f84 = function(_1f85) { var _1f86 = null; function _1f87(_1f88, _1f89) { var _1f8a = null, _1f8b = _1f85.call(this) || this; return _1f8b._onClickTaihi = function() { var _1f8c = null; null != _1f8b._cb_onYes && _1f8b._cb_onYes(); }, _1f8b._onClickTaihiSezu = function() { var _1f8d = null; null != _1f8b._cb_onNo && _1f8b._cb_onNo(); }, _1f8b._cb_onYes = _1f88, _1f8b._cb_onNo = _1f89, _1f8b._taihi = new _1f8e(_1f8b._onClickTaihi), _1f8b._taihi.position.set(438, 563), _1f8b.addChild(_1f8b._taihi), _1f8b._taihisezu = new _1f8f(_1f8b._onClickTaihiSezu), _1f8b._taihisezu.position.set(771, 563), _1f8b.addChild(_1f8b._taihisezu), _1f8b._ship_target = new _1f7y.ShipBanner(), _1f8b._ship_target.position.set(344, 255), _1f8b.addChild(_1f8b._ship_target), _1f8b._txt1 = new PIXI.Sprite(), _1f8b._txt1.position.set(584, 258), _1f8b.addChild(_1f8b._txt1), _1f8b._txt2 = new PIXI.Sprite(), _1f8b._txt2.position.set(266, 347), _1f8b.addChild(_1f8b._txt2), _1f8b._ship_name = new _1f7x.TextBox(27, 16777215), _1f8b._ship_name.y = 258, _1f8b.addChild(_1f8b._ship_name), _1f8b._ship_level = new _1f7x.TextBox(18, 16777215), _1f8b._ship_level.y = 258, _1f8b.addChild(_1f8b._ship_level), _1f8b._ship_hp = new _1f7x.TextBox(18, 16777215), _1f8b._ship_hp.y = 291, _1f8b.addChild(_1f8b._ship_hp), _1f8b._title = new _1f7z.PhaseTitle(), _1f8b._title.y = 17, _1f8b.addChild(_1f8b._title), _1f8b; } return _1f7d(_1f87, _1f85), _1f87.prototype.initialize = function(_1f8g) { var _1f8h = null; this._taihi.initialize(), this._taihisezu.initialize(), this._txt1.texture = _1f82.MAP_DECISION.getTexture(16), this._txt2.texture = this._getTextTexture(_1f8g), this._title.initialize(!1), this._title.update(_1f82.MAP_DECISION.getTexture(15)), this._title.activate(); }, _1f87.prototype._getTextTexture = function(_1f8i) { var _1f8j = null; switch (_1f8i) { case _1f83.EscapeType.YUGEKI: return _1f82.MAP_DECISION.getTexture(19); case _1f83.EscapeType.SUIRAI: return _1f82.MAP_DECISION.getTexture(20); default: return PIXI.Texture.EMPTY; } }, _1f87.prototype.updateTargetShipBanner = function(_1f8k, _1f8l, _1f8m, _1f8n, _1f8o, _1f8p) { var _1f8q = null, _1f8r = '', _1f8s = _1f7w.default.model.ship.getMst(_1f8k); null != _1f8s && (_1f8r = _1f8s.name); var _1f8t = _1f80.ShipUtil.isDamaged(_1f8n, _1f8o), _1f8u = _1f80.ShipUtil.getDamageType(_1f8n, _1f8o); this._ship_target.updateImage(_1f8k, _1f8t), this._ship_target.updateRibbon(_1f8p); if (this._ship_target.updateIcon(!1, !1, _1f8u), this._ship_target.updateRing(_1f8m), this._ship_name.text = _1f8r, this._ship_name.x = 240 - this._ship_name.width, this._ship_name.x < 30) { this._ship_name.x = 30; var _1f8v = new PIXI.Graphics(); _1f8v.beginFill(16711680, 0.5), _1f8v.drawRect(0, 0, 210, 33), _1f8v.endFill(), this._ship_name.addChild(_1f8v), this._ship_name.mask = _1f8v; } this._ship_level.text = 'Lv ' + _1f8l, this._ship_level.x = 338 - this._ship_level.width, this._ship_hp.text = _1f8n + '/' + _1f8o, this._ship_hp.x = 338 - this._ship_hp.width; }, _1f87.prototype.activate = function() { var _1f8w = null; this._taihi.activate(), this._taihisezu.activate(); }, _1f87.prototype.deactivate = function() { var _1f8x = null; this._taihi.deactivate(), this._taihisezu.deactivate(); }, _1f87.prototype.dispose = function() { var _1f8y = null; this._taihi.dispose(), this._taihisezu.dispose(), this._title.dispose(), this._cb_onYes = null, this._cb_onNo = null; }, _1f87; }(PIXI.Container); _1f79.EscapeTankanView = _1f84; var _1f8e = function(_1f8z) { var _1f90 = null; function _1f91(_1f92) { var _1f93 = null; return _1f8z.call(this, !1, _1f92) || this; } return _1f7d(_1f91, _1f8z), _1f91.prototype.initialize = function() { var _1f94 = null; this._initialize(0); }, _1f91.prototype._setTexture = function(_1f95) { var _1f96 = null; this._btn.texture = 1 == _1f95 ? _1f82.MAP_DECISION.getTexture(12) : _1f82.MAP_DECISION.getTexture(11), this._btn.x = -Math.round(this._btn.width / 2), this._btn.y = -Math.round(this._btn.height / 2); }, _1f91; }(_1f81.WaveBtnBase), _1f8f = function(_1f97) { var _1f98 = null; function _1f99(_1f9a) { var _1f9b = null; return _1f97.call(this, !0, _1f9a) || this; } return _1f7d(_1f99, _1f97), _1f99.prototype.initialize = function() { var _1f9c = null; this._initialize(-3); }, _1f99.prototype._setTexture = function(_1f9d) { var _1f9e = null; this._btn.texture = 1 == _1f9d ? _1f82.MAP_DECISION.getTexture(10) : _1f82.MAP_DECISION.getTexture(9), this._btn.x = -Math.round(this._btn.width / 2), this._btn.y = -Math.round(this._btn.height / 2); }, _1f99; }(_1f81.WaveBtnBase); }, 55633: function(_1f9f, _1f9g, _1f9h) { 'use strict'; var _1f9i = null; var _1f9j, _1f9k = this && this.__extends || (_1f9j = function(_1f9l, _1f9m) { var _1f9n = null; return _1f9j = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1f9o, _1f9p) { var _1f9q = null; _1f9o.__proto__ = _1f9p; } || function(_1f9r, _1f9s) { var _1f9t = null; for (var _1f9u in _1f9s) Object.prototype.hasOwnProperty.call(_1f9s, _1f9u) && (_1f9r[_1f9u] = _1f9s[_1f9u]); }, _1f9j(_1f9l, _1f9m); }, function(_1f9v, _1f9w) { var _1f9x = null; if ('function' != typeof _1f9w && null !== _1f9w) throw new TypeError('Class extends value ' + String(_1f9w) + ' is not a constructor or null'); function _1f9y() { var _1f9z = null; this.constructor = _1f9v; } _1f9j(_1f9v, _1f9w), _1f9v.prototype = null === _1f9w ? Object.create(_1f9w) : (_1f9y.prototype = _1f9w.prototype, new _1f9y()); }); defineModule(_1f9g); Object.defineProperty(_1f9g, '__esModule', { 'value': !0 }), _1f9g.EscapeTask = void 0; var _1fa0 = _1f9h(81755), _1fa1 = _1f9h(68686), _1fa2 = _1f9h(11409), _1fa3 = function(_1fa4) { var _1fa5 = null; function _1fa6(_1fa7, _1fa8) { var _1fa9 = null, _1faa = _1fa4.call(this) || this; return _1faa._scene = _1fa7, _1faa._model = _1fa8, _1faa; } return _1f9k(_1fa6, _1fa4), _1fa6.prototype._start = function() { var _1fab = null, _1fac = this; if (this._scene.model.sortie.getNextCell().isDeadEnd()) this._endTask(); else { var _1fad = this._model.escape, _1fae = _1fad.getTargetShipIndexes(), _1faf = _1fad.getEscapeType(), _1fag = _1fad.getTowingShipIndexes(); 0; var _1fah = null; if (_1fae.length > 0) { var _1fai = _1fae[0]; _1fah = this._model.deck_f.ships[_1fai]; } var _1faj = null; if (_1fag.length > 0) { var _1fak = _1fag[0]; _1faj = this._model.deck_f.ships[_1fak]; } if (null != _1fah) { if (null != _1faj) 0, new _1fa2.EscapeGoeiTask(this._scene, this._model, _1fah, _1faj).start(function() { var _1fal = null; _1fac._endTask(); }); else 0, new _1fa1.EscapeTankanTask(this._scene, this._model, _1fah, _1faf).start(function() { var _1fam = null; _1fac._endTask(); }); } else this._endTask(); } }, _1fa6.prototype._endTask = function() { var _1fan = null; this._scene = null, this._model = null, _1fa4.prototype._endTask.call(this); }, _1fa6; }(_1fa0.TaskBase); _1f9g.EscapeTask = _1fa3; }, 39690: (_1fao, _1fap, _1faq) => { 'use strict'; var _1far = null; defineModule(_1fap); Object.defineProperty(_1fap, '__esModule', { 'value': !0 }), _1fap.AirBaseData = void 0; var _1fas = _1faq(89939), _1fat = _1faq(93088), _1fau = (function() { var _1fav = null; function _1faw(_1fax) { this._o = _1fax; } return Object.defineProperty(_1faw.prototype, 'phase', { 'get': function() { var _1fay = null; return _1fas.ObjUtil.getNumber(this._o, 'phase'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1faw.prototype, 'airraid', { 'get': function() { var _1faz = null, _1fb0 = [], _1fb1 = _1fas.ObjUtil.getObjectArray(this._o, 'airbaseraids'); if (null != _1fb1) for (var _1fb2 = 0, _1fb3 = _1fb1; _1fb2 < _1fb3.length; _1fb2++) { var _1fb4 = _1fb3[_1fb2]; _1fb0.push(new _1fat.AirRaidData(_1fb4)); } return _1fb0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1faw.prototype, 'pos', { 'get': function() { var _1fb5 = null, _1fb6 = _1fas.ObjUtil.getObject(this._o, 'point'); return null == _1fb6 ? null : new PIXI.Point(_1fas.ObjUtil.getNumber(_1fb6, 'x'), _1fas.ObjUtil.getNumber(_1fb6, 'y')); }, 'enumerable': !1, 'configurable': !0 }), _1faw; }()); _1fap.AirBaseData = _1fau; }, 93088: (_1fb7, _1fb8, _1fb9) => { 'use strict'; var _1fba = null; defineModule(_1fb8); Object.defineProperty(_1fb8, '__esModule', { 'value': !0 }), _1fb8.AirRaidData = void 0; var _1fbb = _1fb9(89939), _1fbc = (function() { var _1fbd = null; function _1fbe(_1fbf) { this._o = _1fbf; } return Object.defineProperty(_1fbe.prototype, 'no', { 'get': function() { var _1fbg = null; return _1fbb.ObjUtil.getNumber(this._o, 'no'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fbe.prototype, 'type', { 'get': function() { var _1fbh = null; return _1fbb.ObjUtil.getNumber(this._o, 'type'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fbe.prototype, 'from', { 'get': function() { var _1fbi = null, _1fbj = _1fbb.ObjUtil.getNumber(this._o, 'from'), _1fbk = new PIXI.Point(); return _1fbk.x = _1fbb.ObjUtil.getNumber(_1fbj, 'x'), _1fbk.y = _1fbb.ObjUtil.getNumber(_1fbj, 'y'), _1fbk; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fbe.prototype, 'to', { 'get': function() { var _1fbl = null, _1fbm = _1fbb.ObjUtil.getNumber(this._o, 'to'), _1fbn = new PIXI.Point(); return _1fbn.x = _1fbb.ObjUtil.getNumber(_1fbm, 'x'), _1fbn.y = _1fbb.ObjUtil.getNumber(_1fbm, 'y'), _1fbn; }, 'enumerable': !1, 'configurable': !0 }), _1fbe; }()); _1fb8.AirRaidData = _1fbc; }, 25721: (_1fbo, _1fbp, _1fbq) => { 'use strict'; var _1fbr = null; defineModule(_1fbp); Object.defineProperty(_1fbp, '__esModule', { 'value': !0 }), _1fbp.BalloonData = void 0; var _1fbs = _1fbq(89939), _1fbt = (function() { var _1fbu = null; function _1fbv(_1fbw) { this._o = _1fbw; } return Object.defineProperty(_1fbv.prototype, 'offset', { 'get': function() { var _1fbx = null; return null != this._o && (this._o.hasOwnProperty('x') || this._o.hasOwnProperty('y')) ? new PIXI.Point(_1fbs.ObjUtil.getNumber(this._o, 'x'), _1fbs.ObjUtil.getNumber(this._o, 'y')) : null; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fbv.prototype, 'type', { 'get': function() { var _1fby = null; switch (_1fbs.ObjUtil.getString(this._o, 'type')) { case 'R': return 2; case 'L': return 6; case 'T': return 0; case 'B': return 4; case 'RT': case 'TR': return 1; case 'RB': case 'BR': return 3; case 'LT': case 'TL': return 7; case 'LB': case 'BL': return 5; } return 1; }, 'enumerable': !1, 'configurable': !0 }), _1fbv; }()); _1fbp.BalloonData = _1fbt; }, 56838: (_1fbz, _1fc0, _1fc1) => { 'use strict'; var _1fc2 = null; defineModule(_1fc0); Object.defineProperty(_1fc0, '__esModule', { 'value': !0 }), _1fc0.BranchBalloonData = void 0; var _1fc3 = _1fc1(89939), _1fc4 = (function() { var _1fc5 = null; function _1fc6(_1fc7) { this._o = _1fc7; } return Object.defineProperty(_1fc6.prototype, 'offset', { 'get': function() { var _1fc8 = null; return this._o.hasOwnProperty('x') || this._o.hasOwnProperty('y') ? new PIXI.Point(_1fc3.ObjUtil.getNumber(this._o, 'x'), _1fc3.ObjUtil.getNumber(this._o, 'y')) : null; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fc6.prototype, 'type', { 'get': function() { var _1fc9 = null; switch (_1fc3.ObjUtil.getString(this._o, 'type')) { case 'R': return 2; case 'L': return 6; case 'T': return 0; case 'B': return 4; case 'RT': case 'TR': return 1; case 'RB': case 'BR': return 3; case 'LT': case 'TL': return 7; case 'LB': case 'BL': return 5; } return 1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fc6.prototype, 'beak', { 'get': function() { var _1fca = null; switch (_1fc3.ObjUtil.getString(this._o, 'beak')) { case 's': case 'straight': return 1; } return 0; }, 'enumerable': !1, 'configurable': !0 }), _1fc6; }()); _1fc0.BranchBalloonData = _1fc4; }, 8010: (_1fcb, _1fcc, _1fcd) => { 'use strict'; var _1fce = null; defineModule(_1fcc); Object.defineProperty(_1fcc, '__esModule', { 'value': !0 }), _1fcc.MapInfoModel = void 0; var _1fcf = _1fcd(89939), _1fcg = _1fcd(42209), _1fch = _1fcd(93088), _1fci = _1fcd(39690), _1fcj = (function() { var _1fck = null; function _1fcl(_1fcm) { this._o = _1fcm; } return Object.defineProperty(_1fcl.prototype, 'backgrounds', { 'get': function() { var _1fcn = null, _1fco = [], _1fcp = _1fcf.ObjUtil.getObjectArray(this._o, 'bg'); if (null != _1fcp) for (var _1fcq = 0, _1fcr = _1fcp; _1fcq < _1fcr.length; _1fcq++) { var _1fcs = _1fcr[_1fcq]; if (_1fcs.hasOwnProperty('name') && _1fcs.hasOwnProperty('img')) { var _1fct = _1fcf.ObjUtil.getString(_1fcs, 'name'), _1fcu = _1fcf.ObjUtil.getString(_1fcs, 'img'); _1fco.push({ 'name': _1fct, 'img': _1fcu }); } else _1fco.push({ 'name': null, 'img': _1fcs }); } return _1fco; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fcl.prototype, 'labels', { 'get': function() { var _1fcv = null, _1fcw = [], _1fcx = _1fcf.ObjUtil.getObjectArray(this._o, 'labels'); if (null != _1fcx) for (var _1fcy = 0, _1fcz = _1fcx; _1fcy < _1fcz.length; _1fcy++) { var _1fd0 = _1fcz[_1fcy], _1fd1 = { 'x': _1fcf.ObjUtil.getNumber(_1fd0, 'x'), 'y': _1fcf.ObjUtil.getNumber(_1fd0, 'y'), 'r': _1fcf.ObjUtil.getNumber(_1fd0, 'r'), 'img': _1fcf.ObjUtil.getString(_1fd0, 'img') }; _1fcw.push(_1fd1); } return _1fcw; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fcl.prototype, 'spots', { 'get': function() { var _1fd2 = null, _1fd3 = [], _1fd4 = _1fcf.ObjUtil.getObjectArray(this._o, 'spots'); if (null != _1fd4) for (var _1fd5 = 0, _1fd6 = _1fd4; _1fd5 < _1fd6.length; _1fd5++) { var _1fd7 = _1fd6[_1fd5], _1fd8 = new _1fcg.SpotData(_1fd7); _1fd3.push(_1fd8); } return _1fd3; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fcl.prototype, 'enemies', { 'get': function() { var _1fd9 = null, _1fda = [], _1fdb = _1fcf.ObjUtil.getObjectArray(this._o, 'enemies'); if (null != _1fdb) for (var _1fdc = 0, _1fdd = _1fdb; _1fdc < _1fdd.length; _1fdc++) { var _1fde = _1fdd[_1fdc], _1fdf = { 'no': _1fcf.ObjUtil.getNumber(_1fde, 'no'), 'x': _1fcf.ObjUtil.getNumber(_1fde, 'x'), 'y': _1fcf.ObjUtil.getNumber(_1fde, 'y'), 'img': _1fcf.ObjUtil.getString(_1fde, 'img') }; _1fda.push(_1fdf); } return _1fda; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fcl.prototype, 'airraids', { 'get': function() { var _1fdg = null, _1fdh = [], _1fdi = _1fcf.ObjUtil.getObjectArray(this._o, 'airraids'); if (null != _1fdi) for (var _1fdj = 0, _1fdk = _1fdi; _1fdj < _1fdk.length; _1fdj++) { var _1fdl = _1fdk[_1fdj]; _1fdh.push(new _1fch.AirRaidData(_1fdl)); } return _1fdh; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fcl.prototype, 'airbases', { 'get': function() { var _1fdm = null, _1fdn = [], _1fdo = _1fcf.ObjUtil.getObjectArray(this._o, 'airbases'); if (null != _1fdo) for (var _1fdp = 0, _1fdq = _1fdo; _1fdp < _1fdq.length; _1fdp++) { var _1fdr = _1fdq[_1fdp]; _1fdn.push(new _1fci.AirBaseData(_1fdr)); } return _1fdn; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fcl.prototype, 'recce', { 'get': function() { var _1fds = null, _1fdt = [], _1fdu = _1fcf.ObjUtil.getObjectArray(this._o, 'recce'); if (null != _1fdu) for (var _1fdv = 0, _1fdw = _1fdu; _1fdv < _1fdw.length; _1fdv++) { var _1fdx = _1fdw[_1fdv], _1fdy = { 'no': _1fcf.ObjUtil.getNumber(_1fdx, 'no'), 'x': _1fcf.ObjUtil.getNumber(_1fdx, 'x'), 'y': _1fcf.ObjUtil.getNumber(_1fdx, 'y') }; _1fdt.push(_1fdy); } return _1fdt; }, 'enumerable': !1, 'configurable': !0 }), _1fcl; }()); _1fcc.MapInfoModel = _1fcj; }, 93230: (_1fdz, _1fe0, _1fe1) => { 'use strict'; var _1fe2 = null; defineModule(_1fe0); Object.defineProperty(_1fe0, '__esModule', { 'value': !0 }), _1fe0.MapResourceInfo = void 0; var _1fe3 = _1fe1(8010), _1fe4 = (function() { var _1fe5 = null; function _1fe6() { var _1fe7 = null; this._data = []; } return Object.defineProperty(_1fe6.prototype, 'backgrounds', { 'get': function() { var _1fe8 = null, _1fe9; if (null == this._backgrounds) { this._backgrounds = []; for (var _1fea = 0, _1feb = this._data; _1fea < _1feb.length; _1fea++) { var _1fec = _1feb[_1fea]; (_1fe9 = this._backgrounds).push.apply(_1fe9, _1fec.backgrounds); } } return this._backgrounds; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fe6.prototype, 'labels', { 'get': function() { var _1fed = null; if (null == this._labels) { this._labels = []; for (var _1fee = 0, _1fef = this._data; _1fee < _1fef.length; _1fee++) { var _1feg = _1fef[_1fee], _1feh = []; _1feh.push.apply(_1feh, _1feg.labels), this._labels.push(_1feh); } } return this._labels; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fe6.prototype, 'spots', { 'get': function() { var _1fei = null, _1fej; if (null == this._spots) { this._spots = []; for (var _1fek = 0, _1fel = this._data; _1fek < _1fel.length; _1fek++) { var _1fem = _1fel[_1fek]; (_1fej = this._spots).push.apply(_1fej, _1fem.spots); } } return this._spots; }, 'enumerable': !1, 'configurable': !0 }), _1fe6.prototype.add = function(_1fen) { var _1feo = null, _1fep = new _1fe3.MapInfoModel(_1fen); this._data.push(_1fep), this._backgrounds = null, this._labels = null, this._spots = null, this._airraids = null, this._recce = null; }, _1fe6.prototype.getSpot = function(_1feq) { var _1fer = null; for (var _1fes = 0, _1fet = this.spots; _1fes < _1fet.length; _1fes++) { var _1feu = _1fet[_1fes]; if (_1feu.no == _1feq) return _1feu; } return null; }, _1fe6.prototype.getEnemyOption = function(_1fev) { var _1few = null; for (var _1fex = this.getSameSpotData(_1fev).map(function(_1fey, _1fez, _1ff0) { return _1fey.no; }), _1ff1 = 0, _1ff2 = this._data; _1ff1 < _1ff2.length; _1ff1++) for (var _1ff3 = 0, _1ff4 = _1ff2[_1ff1].enemies; _1ff3 < _1ff4.length; _1ff3++) { var _1ff5 = _1ff4[_1ff3]; if (_1fex.indexOf(_1ff5.no) >= 0) return _1ff5; } return null; }, _1fe6.prototype.getAirRaidOption = function(_1ff6) { var _1ff7 = null, _1ff8; if (null == this._airraids) { this._airraids = []; for (var _1ff9 = 0, _1ffa = this._data; _1ff9 < _1ffa.length; _1ff9++) { var _1ffb = _1ffa[_1ff9]; (_1ff8 = this._airraids).push.apply(_1ff8, _1ffb.airraids); } } for (var _1ffc = [], _1ffd = 0, _1ffe = this._airraids; _1ffd < _1ffe.length; _1ffd++) { (_1fff = _1ffe[_1ffd]).no == _1ff6 && _1ffc.push(_1fff); } if (_1ffc.length > 0) return _1ffc; for (var _1ffg = 0, _1ffh = this.getSameSpotData(_1ff6); _1ffg < _1ffh.length; _1ffg++) { var _1ffi = _1ffh[_1ffg]; if (_1ffi.no != _1ff6) for (var _1ffj = 0, _1ffk = this._airraids; _1ffj < _1ffk.length; _1ffj++) { var _1fff; (_1fff = _1ffk[_1ffj]).no == _1ffi.no && _1ffc.push(_1fff); } } return _1ffc.length > 0 ? _1ffc : null; }, _1fe6.prototype.getAirBaseRaidOption = function(_1ffl) { var _1ffm = null; for (var _1ffn, _1ffo, _1ffp = 0, _1ffq = this._data; _1ffp < _1ffq.length; _1ffp++) { var _1ffr = _1ffq[_1ffp].airbases; if (_1ffr.length > 0) { var _1ffs = null === (_1ffo = null === (_1ffn = _1ffr.filter(function(_1fft) { var _1ffu = null; return _1fft.phase == _1ffl; })) || void 0 === _1ffn ? void 0 : _1ffn.pop()) || void 0 === _1ffo ? void 0 : _1ffo.airraid; if (_1ffs.length > 0) return _1ffs; } } return null; }, _1fe6.prototype.getAirBasePos = function(_1ffv) { var _1ffw = null; for (var _1ffx, _1ffy, _1ffz = 0, _1fg0 = this._data; _1ffz < _1fg0.length; _1ffz++) { var _1fg1 = _1fg0[_1ffz].airbases; if (_1fg1.length > 0) return null === (_1ffy = null === (_1ffx = _1fg1.filter(function(_1fg2) { var _1fg3 = null; return _1fg2.phase == _1ffv; })) || void 0 === _1ffx ? void 0 : _1ffx.pop()) || void 0 === _1ffy ? void 0 : _1ffy.pos; } return null; }, _1fe6.prototype.getShipDirection = function(_1fg4) { var _1fg5 = null, _1fg6 = this.getSpot(_1fg4); return null == _1fg6 ? 0 : _1fg6.direction; }, _1fe6.prototype.getControlPoint = function(_1fg7) { var _1fg8 = null, _1fg9 = this.getSpot(_1fg7); return null == _1fg9 ? null : _1fg9.controll_point; }, _1fe6.prototype.getCommentOption = function(_1fga) { var _1fgb = null, _1fgc = this.getSpot(_1fga); if (null != _1fgc.comment) return _1fgc.comment; for (var _1fgd = 0, _1fge = this.getSameSpotData(_1fga); _1fgd < _1fge.length; _1fgd++) { var _1fgf = _1fge[_1fgd]; if (_1fgf != _1fgc && null != _1fgf.comment) return _1fgf.comment; } return null; }, _1fe6.prototype.getBranchOption = function(_1fgg) { var _1fgh = null, _1fgi = this.getSpot(_1fgg); if (null != _1fgi.branch) return _1fgi.branch; for (var _1fgj = 0, _1fgk = this.getSameSpotData(_1fgg); _1fgj < _1fgk.length; _1fgj++) { var _1fgl = _1fgk[_1fgj]; if (_1fgl != _1fgi && null != _1fgl.branch) return _1fgl.branch; } return null; }, _1fe6.prototype.getAnchorageRepairConfirmOffsets = function(_1fgm) { var _1fgn = null, _1fgo = this.getSpot(_1fgm); return null == _1fgo ? null : _1fgo.repair_confirm_offsets; }, _1fe6.prototype.getReplenishConfirmOffsets = function(_1fgp) { var _1fgq = null, _1fgr = this.getSpot(_1fgp); if (null != (null == _1fgr ? void 0 : _1fgr.replenish_confirm_offsets)) return _1fgr.replenish_confirm_offsets; for (var _1fgs = 0, _1fgt = this.getSameSpotData(_1fgp); _1fgs < _1fgt.length; _1fgs++) { var _1fgu = _1fgt[_1fgs]; if (_1fgu != _1fgr && null != (null == _1fgu ? void 0 : _1fgu.replenish_confirm_offsets)) return _1fgu.replenish_confirm_offsets; } return null; }, _1fe6.prototype.getRationConfirmOffset = function(_1fgv) { var _1fgw = null, _1fgx = this.getSpot(_1fgv); return null == _1fgx ? null : _1fgx.ration_confirm_offset; }, _1fe6.prototype.getAirReconnaissancePoint = function(_1fgy) { var _1fgz = null, _1fh0; if (null == this._recce) { this._recce = []; for (var _1fh1 = 0, _1fh2 = this._data; _1fh1 < _1fh2.length; _1fh1++) { var _1fh3 = _1fh2[_1fh1]; (_1fh0 = this._recce).push.apply(_1fh0, _1fh3.recce); } } for (var _1fh4 = 0, _1fh5 = this._recce; _1fh4 < _1fh5.length; _1fh4++) { if ((_1fh6 = _1fh5[_1fh4]).no == _1fgy) return new PIXI.Point(_1fh6.x, _1fh6.y); } for (var _1fh7 = this.getSameSpotData(_1fgy).map(function(_1fh8, _1fh9, _1fha) { return _1fh8.no; }), _1fhb = 0, _1fhc = this._recce; _1fhb < _1fhc.length; _1fhb++) { var _1fh6 = _1fhc[_1fhb]; if (_1fh7.indexOf(_1fh6.no) >= 0) return new PIXI.Point(_1fh6.x, _1fh6.y); } return null; }, _1fe6.prototype.hasAirReconnaissancePoint = function() { var _1fhd = null, _1fhe; if (null == this._recce) { this._recce = []; for (var _1fhf = 0, _1fhg = this._data; _1fhf < _1fhg.length; _1fhf++) { var _1fhh = _1fhg[_1fhf]; (_1fhe = this._recce).push.apply(_1fhe, _1fhh.recce); } } return this._recce.length > 0; }, _1fe6.prototype.getLandingBalloonType = function(_1fhi) { var _1fhj = null; for (var _1fhk = 0, _1fhl = this.getSameSpotData(_1fhi); _1fhk < _1fhl.length; _1fhk++) { var _1fhm = _1fhl[_1fhk]; if (null != (null == _1fhm ? void 0 : _1fhm.landing)) return _1fhm.landing.type; } return 0; }, _1fe6.prototype.getSameSpotData = function(_1fhn) { var _1fho = null; for (var _1fhp = [], _1fhq = this.spots, _1fhr = null, _1fhs = 0, _1fht = _1fhq; _1fhs < _1fht.length; _1fhs++) { if ((_1fhu = _1fht[_1fhs]).no == _1fhn) { _1fhr = _1fhu; break; } } if (null == _1fhr) return _1fhp; for (var _1fhv = 0, _1fhw = _1fhq; _1fhv < _1fhw.length; _1fhv++) { var _1fhu; (_1fhu = _1fhw[_1fhv]).x == _1fhr.x && _1fhu.y == _1fhr.y && _1fhp.push(_1fhu); } return _1fhp.sort(function(_1fhx, _1fhy) { return _1fhx.no < _1fhy.no ? -1 : _1fhx.no > _1fhy.no ? 1 : 0; }); }, _1fe6; }()); _1fe0.MapResourceInfo = _1fe4; }, 42209: (_1fhz, _1fi0, _1fi1) => { 'use strict'; var _1fi2 = null; defineModule(_1fi0); Object.defineProperty(_1fi0, '__esModule', { 'value': !0 }), _1fi0.SpotData = void 0; var _1fi3 = _1fi1(89939), _1fi4 = _1fi1(56838), _1fi5 = _1fi1(25721), _1fi6 = (function() { var _1fi7 = null; function _1fi8(_1fi9) { var _1fia = null; this._offsetDic = null, this._line = null, this._route = null, this._comment = null, this._branch = null, this._o = _1fi9; } return Object.defineProperty(_1fi8.prototype, 'no', { 'get': function() { var _1fib = null; return _1fi3.ObjUtil.getNumber(this._o, 'no'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fi8.prototype, 'x', { 'get': function() { var _1fic = null; return _1fi3.ObjUtil.getNumber(this._o, 'x'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fi8.prototype, 'y', { 'get': function() { var _1fid = null; return _1fi3.ObjUtil.getNumber(this._o, 'y'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fi8.prototype, 'color', { 'get': function() { var _1fie = null; return _1fi3.ObjUtil.getNumber(this._o, 'color'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fi8.prototype, 'offsetDic', { 'get': function() { var _1fif = null; return 0 == this._o.hasOwnProperty('offsets') ? {} : this._o.offsets; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fi8.prototype, 'line', { 'get': function() { var _1fig = null; if (null == this._line && 1 == this._o.hasOwnProperty('line')) { var _1fih = this._o.line; this._line = { 'x': _1fi3.ObjUtil.getNumber(_1fih, 'x'), 'y': _1fi3.ObjUtil.getNumber(_1fih, 'y'), 'r': _1fi3.ObjUtil.getNumber(_1fih, 'r'), 'img': _1fi3.ObjUtil.getString(_1fih, 'img') }; } return this._line; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fi8.prototype, 'route', { 'get': function() { var _1fii = null; if (null == this._route && 1 == this._o.hasOwnProperty('route')) { var _1fij = this._o.route; this._route = { 'x': _1fij.hasOwnProperty('x') ? _1fij.x : null == this.line ? 0 : this.line.x, 'y': _1fij.hasOwnProperty('y') ? _1fij.y : null == this.line ? 0 : this.line.y, 'r': _1fij.hasOwnProperty('r') ? _1fij.r : null == this.line ? 0 : this.line.r, 'img': _1fi3.ObjUtil.getString(_1fij, 'img') }; } return this._route; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fi8.prototype, 'landing', { 'get': function() { var _1fik = null; if (0 == this._o.hasOwnProperty('landing')) return null; var _1fil = this._o.landing; return { 'x': _1fi3.ObjUtil.getNumber(_1fil, 'x'), 'y': _1fi3.ObjUtil.getNumber(_1fil, 'y'), 'type': _1fi3.ObjUtil.getNumber(_1fil, 'type'), 'flag': _1fil.hasOwnProperty('flag') ? _1fi3.ObjUtil.getNumber(_1fil, 'flag') : 0 }; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fi8.prototype, 'comment', { 'get': function() { var _1fim = null; if (null == this._comment) { if (0 == this._o.hasOwnProperty('comment')) return null; var _1fin = this._o.comment; this._comment = new _1fi5.BalloonData(_1fin); } return this._comment; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fi8.prototype, 'branch', { 'get': function() { var _1fio = null; if (null == this._branch) { if (0 == this._o.hasOwnProperty('branch')) return null; var _1fip = this._o.branch; this._branch = new _1fi4.BranchBalloonData(_1fip); } return this._branch; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fi8.prototype, 'direction', { 'get': function() { var _1fiq = null; if (0 == this._o.hasOwnProperty('direction')) return 0; var _1fir = _1fi3.ObjUtil.getString(this._o, 'direction'); return 'R' == _1fir ? 2 : 'L' == _1fir ? 1 : 0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fi8.prototype, 'controll_point', { 'get': function() { var _1fis = null, _1fit = _1fi3.ObjUtil.getObject(this._o, 'cpoint'); return null == _1fit ? null : new PIXI.Point(_1fi3.ObjUtil.getNumber(_1fit, 'x'), _1fi3.ObjUtil.getNumber(_1fit, 'y')); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fi8.prototype, 'repair_confirm_offsets', { 'get': function() { var _1fiu = null, _1fiv = _1fi3.ObjUtil.getObject(this._o, 'repair'); if (null == _1fiv) return null; var _1fiw = _1fi3.ObjUtil.getObject(_1fiv, 'box'), _1fix = new PIXI.Point(_1fi3.ObjUtil.getNumber(_1fiw, 'x'), _1fi3.ObjUtil.getNumber(_1fiw, 'y')), _1fiy = _1fi3.ObjUtil.getObject(_1fiv, 'btn'), _1fiz = new PIXI.Point(_1fi3.ObjUtil.getNumber(_1fiy, 'x'), _1fi3.ObjUtil.getNumber(_1fiy, 'y')), _1fj0 = _1fi3.ObjUtil.getObject(_1fiv, 'beak'); return { 'box': _1fix, 'btn': _1fiz, 'beak': new PIXI.Point(_1fi3.ObjUtil.getNumber(_1fj0, 'x'), _1fi3.ObjUtil.getNumber(_1fj0, 'y')) }; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fi8.prototype, 'replenish_confirm_offsets', { 'get': function() { var _1fj1 = null, _1fj2 = _1fi3.ObjUtil.getObject(this._o, 'replenish'); if (null == _1fj2) return null; var _1fj3 = _1fi3.ObjUtil.getObject(_1fj2, 'box'), _1fj4 = new PIXI.Point(_1fi3.ObjUtil.getNumber(_1fj3, 'x'), _1fi3.ObjUtil.getNumber(_1fj3, 'y')), _1fj5 = _1fi3.ObjUtil.getObject(_1fj2, 'btn'), _1fj6 = new PIXI.Point(_1fi3.ObjUtil.getNumber(_1fj5, 'x'), _1fi3.ObjUtil.getNumber(_1fj5, 'y')), _1fj7 = _1fi3.ObjUtil.getObject(_1fj2, 'beak'), _1fj8 = new PIXI.Point(_1fi3.ObjUtil.getNumber(_1fj7, 'x'), _1fi3.ObjUtil.getNumber(_1fj7, 'y')), _1fj9 = _1fi3.ObjUtil.getObject(_1fj2, 'balloon'); return { 'box': _1fj4, 'btn': _1fj6, 'beak': _1fj8, 'bln': null != _1fj9 ? new _1fi5.BalloonData(_1fj9) : null }; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fi8.prototype, 'ration_confirm_offset', { 'get': function() { var _1fja = null, _1fjb = _1fi3.ObjUtil.getObject(this._o, 'ration'); if (null == _1fjb) return null; var _1fjc = _1fi3.ObjUtil.getObject(_1fjb, 'box'), _1fjd = new PIXI.Point(_1fi3.ObjUtil.getNumber(_1fjc, 'x'), _1fi3.ObjUtil.getNumber(_1fjc, 'y')), _1fje = _1fi3.ObjUtil.getObject(_1fjb, 'btn'), _1fjf = new PIXI.Point(_1fi3.ObjUtil.getNumber(_1fje, 'x'), _1fi3.ObjUtil.getNumber(_1fje, 'y')), _1fjg = _1fi3.ObjUtil.getObject(_1fjb, 'beak'); return { 'box': _1fjd, 'btn': _1fjf, 'beak': new PIXI.Point(_1fi3.ObjUtil.getNumber(_1fjg, 'x'), _1fi3.ObjUtil.getNumber(_1fjg, 'y')) }; }, 'enumerable': !1, 'configurable': !0 }), _1fi8; }()); _1fi0.SpotData = _1fi6; }, 43902: (_1fjh, _1fji) => { 'use strict'; var _1fjj = null; defineModule(_1fji); Object.defineProperty(_1fji, '__esModule', { 'value': !0 }), _1fji.UserSelectModel = void 0; var _1fjk = function() { var _1fjl = null; this.supply_on_the_sea = -1, this.ration = -1; }; _1fji.UserSelectModel = _1fjk; }, 41564: function(_1fjm, _1fjn, _1fjo) { 'use strict'; var _1fjp = null; var _1fjq, _1fjr = this && this.__extends || (_1fjq = function(_1fjs, _1fjt) { var _1fju = null; return _1fjq = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1fjv, _1fjw) { var _1fjx = null; _1fjv.__proto__ = _1fjw; } || function(_1fjy, _1fjz) { var _1fk0 = null; for (var _1fk1 in _1fjz) Object.prototype.hasOwnProperty.call(_1fjz, _1fk1) && (_1fjy[_1fk1] = _1fjz[_1fk1]); }, _1fjq(_1fjs, _1fjt); }, function(_1fk2, _1fk3) { var _1fk4 = null; if ('function' != typeof _1fk3 && null !== _1fk3) throw new TypeError('Class extends value ' + String(_1fk3) + ' is not a constructor or null'); function _1fk5() { var _1fk6 = null; this.constructor = _1fk2; } _1fjq(_1fk2, _1fk3), _1fk2.prototype = null === _1fk3 ? Object.create(_1fk3) : (_1fk5.prototype = _1fk3.prototype, new _1fk5()); }); defineModule(_1fjn); Object.defineProperty(_1fjn, '__esModule', { 'value': !0 }), _1fjn.TaskAirUnitAppointment = void 0; var _1fk7 = _1fjo(81755), _1fk8 = _1fjo(70723), _1fk9 = _1fjo(65199), _1fka = _1fjo(7826), _1fkb = _1fjo(50135), _1fkc = function(_1fkd) { var _1fke = null; function _1fkf(_1fkg, _1fkh, _1fki, _1fkj, _1fkk, _1fkl) { var _1fkm = null, _1fkn = _1fkd.call(this) || this; return _1fkn._selected_spot_no_1 = null, _1fkn._selected_spot_no_2 = null, _1fkn._selected_spot_no_3 = null, _1fkn._onChange = function() { var _1fko = null; _1fkn._point_layer.update(), 2 == _1fkn._selected_spot_no.length ? (_1fkn._panel.title.complete = !0, _1fkn._panel.cancel_btn.visible = !0) : 1 == _1fkn._selected_spot_no.length ? (_1fkn._panel.title.complete = !1, _1fkn._panel.cancel_btn.visible = !0) : (_1fkn._panel.title.complete = !1, _1fkn._panel.cancel_btn.visible = !1); }, _1fkn._onFixed = function() { var _1fkp = null; switch (_1fkn._current_target.id) { case 1: _1fkn._selected_spot_no_1 = _1fkn._selected_spot_no.concat(); break; case 2: _1fkn._selected_spot_no_2 = _1fkn._selected_spot_no.concat(); break; case 3: _1fkn._selected_spot_no_3 = _1fkn._selected_spot_no.concat(); } _1fk8.SE.play('227'); var _1fkq = _1fkn._airunits.indexOf(_1fkn._current_target); _1fkq == _1fkn._airunits.length - 1 ? _1fkn._endTask() : (_1fkn._current_target = _1fkn._airunits[_1fkq + 1], _1fkn._onCancel(), _1fkn._panel.update(_1fkn._current_target.id), _1fkn._initializePoints()); }, _1fkn._onCancel = function() { var _1fkr = null; for (; _1fkn._selected_spot_no.length > 0;) _1fkn._selected_spot_no.pop(); _1fkn._point_layer.update(), _1fkn._panel.title.complete = !1, _1fkn._panel.cancel_btn.visible = !1; }, _1fkn._layer = _1fkg, _1fkn._area_id = _1fkh, _1fkn._airunits_all = _1fki, _1fkn._airunits = _1fkj, _1fkn._model = _1fkk, _1fkn._map = _1fkl, _1fkn; } return _1fjr(_1fkf, _1fkd), _1fkf.prototype._start = function() { var _1fks = null, _1fkt = this; this._current_target = this._airunits[0], this._selected_spot_no = [], this._point_layer = new _1fkb.AirUnitAppointmentLayer(this._selected_spot_no, this._onChange), this._layer.addChild(this._point_layer), this._panel = new _1fka.AirUnitPanelSet(this._onFixed, this._onCancel), this._panel.x = -375, this._layer.addChild(this._panel); var _1fku = this._area_id; this._panel.initialize(_1fku, this._airunits_all), this._panel.update(this._current_target.id), createjs.Tween.get(this._panel).to({ 'x': 0 }, 300, createjs.Ease.quadOut).call(function() { var _1fkv = null; _1fkt._panel.activate(), _1fkt._initializePoints(); }); }, _1fkf.prototype._initializePoints = function() { var _1fkw = null, _1fkx = this._current_target.distance, _1fky = this._model.sortie, _1fkz = this._map.spotLayer.getAllSpots(); this._point_layer.initialize(_1fkx, _1fkz, _1fky); }, _1fkf.prototype._endTask = function() { var _1fl0 = null, _1fl1 = this; this._layer.removeChild(this._point_layer), this._point_layer.dispose(), this._panel.deactivate(), createjs.Tween.get(this._panel).to({ 'x': -450 }, 300, createjs.Ease.quadOut).call(function() { var _1fl2 = null; _1fl1._layer.removeChild(_1fl1._panel), _1fl1._panel.dispose(), new _1fk9.AirUnitGoAPI(_1fl1._selected_spot_no_1, _1fl1._selected_spot_no_2, _1fl1._selected_spot_no_3).start(function() { var _1fl3 = null; _1fkd.prototype._endTask.call(_1fl1); }); }); }, _1fkf; }(_1fk7.TaskBase); _1fjn.TaskAirUnitAppointment = _1fkc; }, 47355: function(_1fl4, _1fl5, _1fl6) { 'use strict'; var _1fl7 = null; var _1fl8, _1fl9 = this && this.__extends || (_1fl8 = function(_1fla, _1flb) { var _1flc = null; return _1fl8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1fld, _1fle) { var _1flf = null; _1fld.__proto__ = _1fle; } || function(_1flg, _1flh) { var _1fli = null; for (var _1flj in _1flh) Object.prototype.hasOwnProperty.call(_1flh, _1flj) && (_1flg[_1flj] = _1flh[_1flj]); }, _1fl8(_1fla, _1flb); }, function(_1flk, _1fll) { var _1flm = null; if ('function' != typeof _1fll && null !== _1fll) throw new TypeError('Class extends value ' + String(_1fll) + ' is not a constructor or null'); function _1fln() { var _1flo = null; this.constructor = _1flk; } _1fl8(_1flk, _1fll), _1flk.prototype = null === _1fll ? Object.create(_1fll) : (_1fln.prototype = _1fll.prototype, new _1fln()); }), _1flp = this && this.__spreadArray || function(_1flq, _1flr, _1fls) { var _1flt = null; if (_1fls || 2 === arguments.length) { for (var _1flu, _1flv = 0, _1flw = _1flr.length; _1flv < _1flw; _1flv++) !_1flu && _1flv in _1flr || (_1flu || (_1flu = Array.prototype.slice.call(_1flr, 0, _1flv)), _1flu[_1flv] = _1flr[_1flv]); } return _1flq.concat(_1flu || Array.prototype.slice.call(_1flr)); }, _1flx = this && this.__importDefault || function(_1fly) { var _1flz = null; return _1fly && _1fly.__esModule ? _1fly : { 'default': _1fly }; }; defineModule(_1fl5); Object.defineProperty(_1fl5, '__esModule', { 'value': !0 }), _1fl5.TaskAnchorageRepairAnim = void 0; var _1fm0 = _1fl6(81755), _1fm1 = _1fl6(70723), _1fm2 = _1flx(_1fl6(21359)), _1fm3 = function(_1fm4) { var _1fm5 = null; function _1fm6(_1fm7, _1fm8, _1fm9) { var _1fma = null, _1fmb = _1fm4.call(this) || this; return _1fmb._repairLayer = _1fm8, _1fmb._comepleteLayer = _1fm9, _1fmb.CRANE_NUM = _1fm7, _1fmb; } return _1fl9(_1fm6, _1fm4), _1fm6.prototype._start = function() { var _1fmc = null; this._preLoad(); }, _1fm6.prototype._preLoad = function() { var _1fmd = null; this._repairLayer.initialize(this.CRANE_NUM), this._comepleteLayer.initialize(), this._whiteInOut(); }, _1fm6.prototype._whiteInOut = function() { var _1fme = null, _1fmf = this; createjs.Tween.get(this._repairLayer.white).to({ 'alpha': 1 }, 300).call(function() { var _1fmg = null; _1fmf._repairLayer.bg.alpha = 1; }).wait(200).to({ 'alpha': 0 }, 200).call(function() { var _1fmh = null; _1fmf._introAnim(); }); }, _1fm6.prototype._introAnim = function() { var _1fmi = null, _1fmj = this, _1fmk = new createjs.Timeline([], { 'start': 0 }, { 'paused': !0 }), _1fml = createjs.Tween.get(this._repairLayer.ship_layer).wait(299).to({ 'x': 830, 'y': 183, 'alpha': 1 }, 500); _1fmk.addTween(_1fml); for (var _1fmm = 0; _1fmm < this.CRANE_NUM; _1fmm++) { var _1fmn = this._repairLayer.cranes.getChildAt(_1fmm), _1fmo = createjs.Tween.get(_1fmn).wait(600 - 300 * _1fmm).to({ 'x': -68 }, 300); _1fmk.addTween(_1fmo); } var _1fmp = createjs.Tween.get(this._repairLayer.fariy_worker).wait(400).to({ 'y': 570, 'alpha': 1 }, 300); _1fmk.addTween(_1fmp), createjs.Tween.get(null).call(function() { var _1fmq = null; _1fmj._repairLayer.playTxtReparing(), _1fmk.gotoAndPlay('start'); }).wait(1200).call(function() { var _1fmr = null; _1fmj._repairCnt = 1, _1fmj._repairAnim(0); }); }, _1fm6.prototype._repairAnim = function(_1fms) { var _1fmt = null, _1fmu = this; createjs.Tween.get(null).call(function() { var _1fmv = null; if (_1fms <= 4) { for (var _1fmw = _1fms * _1fmu.CRANE_NUM, _1fmx = [], _1fmy = 0; _1fmy < _1fmu.CRANE_NUM; _1fmy++) _1fmx.push(_1fmw + _1fmy); var _1fmz = _1fmu._repairLayer.getBannerGroup(_1fmx); if (!_1fmz.some(function(_1fn0) { return null != _1fn0; })) return _1fms++, void _1fmu._repairAnim(_1fms); 3 == _1fmu._repairCnt ? (createjs.Tween.get(_1fmu._repairLayer.fairy_cutin).set({ 'visible': !0, 'alpha': 1 }).to({ 'x': 590 }, 500).wait(300).to({ 'alpha': 0 }, 300), createjs.Tween.get(_1fmu._repairLayer.fairy_cutin.scale).wait(700).to({ 'x': 1.1, 'y': 1.1 }, 300), _1fmu._repairLayer.bg.setNight(function() { var _1fn1 = null; _1fmu._repairShipsAnim(_1fms, _1fmz); })) : _1fmu._repairShipsAnim(_1fms, _1fmz); } else _1fmu._repairFinish(); }); }, _1fm6.prototype._repairShipsAnim = function(_1fn2, _1fn3) { var _1fn4 = null, _1fn5 = this, _1fn6 = this._repair(_1fn3), _1fn7 = this._FairiesAnim(); createjs.Tween.get(null).call(function() { var _1fn8 = null; _1fn6.gotoAndPlay('start'), _1fn7.gotoAndPlay('start'); }).wait(4000).call(function() { var _1fn9 = null; _1fn5._repairCnt++, _1fn2++, _1fn5._repairAnim(_1fn2); }); }, _1fm6.prototype._repairFinish = function() { var _1fna = null, _1fnb = this, _1fnc = new createjs.Timeline([], { 'start': 0 }, { 'paused': !0 }); _1fnc.addTween.apply(_1fnc, _1flp(_1flp([], this._fadeOutReparingAnim(), !1), this._fadeInRepairFinish(), !1)), createjs.Tween.get(null).wait(300).call(function() { var _1fnd = null; _1fnb._repairLayer.stopTxtReparing(), _1fnc.gotoAndPlay('start'); }).wait(2000).call(function() { var _1fne = null; createjs.Tween.get(_1fnb._comepleteLayer).to({ 'alpha': 0 }, 400).call(function() { var _1fnf = null; _1fnb._endTask(); }); }); }, _1fm6.prototype._repair = function(_1fng) { var _1fnh = null; for (var _1fni = new createjs.Timeline([], { 'start': 0 }, { 'paused': !0 }), _1fnj = function(_1fnk) { var _1fnl = null; if (null == _1fng[_1fnk]) return 'continue'; var _1fnm = _1fng[_1fnk], _1fnn = _1fno._repairLayer.cranes.getChildAt(_1fnk).position.y + 100, _1fnp = 300 - 150 * _1fnk; _1fnm.position.set(100, _1fnn + 35); var _1fnq = createjs.Tween.get(_1fnm).wait(300).to({ 'y': _1fnn, 'alpha': 1 }, 400, createjs.Ease.getBackOut(1.2)).wait(200).to({ 'x': 0 }, 300, createjs.Ease.quintInOut).wait(200).call(function() { var _1fnr = null; _1fnm.content.kira.play(), _1fnm.updateHp(_1fnm.hp_repaired, function() { var _1fns = _1fnr; _1fnm[_1fns(1511)][_1fns(10462)][_1fns(4711)](); }); }).wait(1500 + _1fnp).to({ 'x': 100, 'alpha': 0 }, 200, createjs.Ease.cubicIn); _1fni.addTween(_1fnq); }, _1fno = this, _1fnt = 0; _1fnt < _1fng.length; _1fnt++) _1fnj(_1fnt); var _1fnu = this._repairLayer.cranes.position.y, _1fnv = createjs.Tween.get(this._repairLayer.cranes).to({ 'y': _1fnu + 10 }, 100, createjs.Ease.cubicOut).to({ 'y': _1fnu }, 300, createjs.Ease.cubicIn).wait(1000).to({ 'y': _1fnu + 10 }, 500, createjs.Ease.cubicOut).to({ 'y': _1fnu }, 400, createjs.Ease.cubicIn); _1fni.addTween(_1fnv); var _1fnw = 182, _1fnx = createjs.Tween.get(this._repairLayer.ship_layer).to({ 'y': 192 }, 100, createjs.Ease.cubicOut).to({ 'y': _1fnw }, 300, createjs.Ease.cubicIn).wait(1000).to({ 'y': 192 }, 500, createjs.Ease.cubicOut).to({ 'y': _1fnw }, 400, createjs.Ease.cubicIn); return _1fni.addTween(_1fnx), _1fni; }, _1fm6.prototype._FairiesAnim = function() { var _1fny = null, _1fnz = new createjs.Timeline([], { 'start': 0 }, { 'paused': !0 }); if (this._repairCnt <= 2) { var _1fo0 = createjs.Tween.get(this._repairLayer.fariy_worker).call(function() { var _1fo1 = null; _1fm1.SE.play('230'); }).to({ 'y': 570 }, 250).to({ 'y': 585 }, 150, createjs.Ease.cubicOut).to({ 'y': 570 }, 150, createjs.Ease.cubicIn).to({ 'y': 585 }, 150, createjs.Ease.cubicOut).to({ 'y': 700 }, 250, createjs.Ease.cubicIn); _1fnz.addTween(_1fo0); } else { this._repairLayer.getLeftFairy(); var _1fo2 = _1fm2.default.height - this._repairLayer.fairy_left.height / 2 - 10, _1fo3 = createjs.Tween.get(this._repairLayer.fairy_left).set({ 'visible': !0 }).to({ 'alpha': 1 }, 0).to({ 'y': _1fo2 }, 500, createjs.Ease.cubicOut).call(function() { var _1fo4 = null; return _1fm1.SE.play('264'); }).wait(500).to({ 'alpha': 0 }, 300).to({ 'y': _1fm2.default.height + this._repairLayer.fairy_left.height }), _1fo5 = createjs.Tween.get(this._repairLayer.fairy_left.scale).wait(1000).to({ 'x': 1, 'y': 1 }, 300).wait(100).to({ 'x': 0.5, 'y': 0.5 }, 0); _1fnz.addTween(_1fo3, _1fo5), this._repairLayer.getRightFairy(); var _1fo6 = _1fm2.default.width - this._repairLayer.fairy_right.width / 2 - 20, _1fo7 = createjs.Tween.get(this._repairLayer.fairy_right).wait(600).to({ 'alpha': 1 }, 0).to({ 'x': _1fo6 }, 500).wait(500).to({ 'alpha': 0 }, 300).to({ 'x': _1fm2.default.width + this._repairLayer.fairy_right.width }), _1fo8 = createjs.Tween.get(this._repairLayer.fairy_right.scale).wait(1600).to({ 'x': 1, 'y': 1 }, 500).wait(100).to({ 'x': 0.5, 'y': 0.5 }, 0); _1fnz.addTween(_1fo7, _1fo8); } return _1fnz; }, _1fm6.prototype._fadeOutReparingAnim = function() { var _1fo9 = null, _1foa = [], _1fob = createjs.Tween.get(this._repairLayer.ship_layer).to({ 'x': 1200, 'y': 600, 'alpha': 0 }, 500); _1foa.push(_1fob); var _1foc = createjs.Tween.get(this._repairLayer.cranes).to({ 'x': -350, 'alpha': 0 }, 500); _1foa.push(_1foc); var _1fod = createjs.Tween.get(this._repairLayer).wait(400).to({ 'alpha': 0 }, 400); return _1foa.push(_1fod), _1foa; }, _1fm6.prototype._fadeInRepairFinish = function() { var _1foe = null, _1fof = [], _1fog = createjs.Tween.get(this._comepleteLayer).set({ 'visible': !0 }).wait(200).to({ 'alpha': 1 }, 300); if (_1fof.push(_1fog), 0 == this._comepleteLayer.pattern) { this._comepleteLayer.fairy_complete.pivot.set(this._comepleteLayer.fairy_complete.width - 40, this._comepleteLayer.fairy_complete.height - 10); var _1foh = createjs.Tween.get(this._comepleteLayer.fairy_complete).to({ 'alpha': 0 }, 0).to({ 'rotation': 90 * Math.PI / 180 }, 0).wait(150).to({ 'alpha': 1 }, 200).to({ 'rotation': 0 * Math.PI / 180 }, 1200, createjs.Ease.quintOut), _1foi = createjs.Tween.get(this._comepleteLayer.fairy_complete).wait(300).to({ 'x': 900 }, 1250, createjs.Ease.quadInOut); _1fof.push(_1foh, _1foi); } if (1 == this._comepleteLayer.pattern) { var _1foj = createjs.Tween.get(this._comepleteLayer.fairy_complete).to({ 'y': 168 }, 1200, createjs.Ease.bounceOut); _1fof.push(_1foj); } return _1fof; }, _1fm6; }(_1fm0.TaskBase); _1fl5.TaskAnchorageRepairAnim = _1fm3; }, 97757: function(_1fok, _1fol, _1fom) { 'use strict'; var _1fon = null; var _1foo, _1fop = this && this.__extends || (_1foo = function(_1foq, _1for) { var _1fos = null; return _1foo = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1fot, _1fou) { var _1fov = null; _1fot.__proto__ = _1fou; } || function(_1fow, _1fox) { var _1foy = null; for (var _1foz in _1fox) Object.prototype.hasOwnProperty.call(_1fox, _1foz) && (_1fow[_1foz] = _1fox[_1foz]); }, _1foo(_1foq, _1for); }, function(_1fp0, _1fp1) { var _1fp2 = null; if ('function' != typeof _1fp1 && null !== _1fp1) throw new TypeError('Class extends value ' + String(_1fp1) + ' is not a constructor or null'); function _1fp3() { var _1fp4 = null; this.constructor = _1fp0; } _1foo(_1fp0, _1fp1), _1fp0.prototype = null === _1fp1 ? Object.create(_1fp1) : (_1fp3.prototype = _1fp1.prototype, new _1fp3()); }), _1fp5 = this && this.__importDefault || function(_1fp6) { var _1fp7 = null; return _1fp6 && _1fp6.__esModule ? _1fp6 : { 'default': _1fp6 }; }; defineModule(_1fol); Object.defineProperty(_1fol, '__esModule', { 'value': !0 }), _1fol.TaskBranchRoute = void 0; var _1fp8 = _1fp5(_1fom(18622)), _1fp9 = _1fom(35380), _1fpa = _1fom(81755), _1fpb = _1fom(70723), _1fpc = _1fom(73553), _1fpd = _1fom(7331), _1fpe = function(_1fpf) { var _1fpg = null; function _1fph(_1fpi, _1fpj) { var _1fpk = null, _1fpl = _1fpf.call(this) || this; return _1fpl._selected_no = -1, _1fpl._onClick = function(_1fpm) { var _1fpn = null; _1fpl._selected_no = _1fpm; for (var _1fpo = _1fpl._scene.view.map, _1fpp = 0, _1fpq = _1fpl._cellWaves; _1fpp < _1fpq.length; _1fpp++) { var _1fpr = _1fpq[_1fpp]; _1fpo.spotLayer.removeChild(_1fpr), _1fpr.dispose(); } _1fpl._balloon.close(function() { var _1fps = null; _1fpl._scene.view.word_balloons_layer.removeChild(_1fpl._balloon), createjs.Tween.get(null).wait(1000).call(function() { var _1fpt = null; _1fpl._endTask(); }); }); }, _1fpl._scene = _1fpi, _1fpl._model = _1fpj, _1fpl; } return _1fop(_1fph, _1fpf), Object.defineProperty(_1fph.prototype, 'selected_no', { 'get': function() { var _1fpu = null; return this._selected_no; }, 'enumerable': !1, 'configurable': !0 }), _1fph.prototype._start = function() { var _1fpv = null; this._scene.view.message_box.text = '艦隊の針路を選択できます。\n提督、どちらの針路をとられますか?', this._showHukidashi(); }, _1fph.prototype._showHukidashi = function() { var _1fpw = null, _1fpx = this, _1fpy = this._model.sortie.getNextCell(), _1fpz = this._scene.resInfo.getBranchOption(_1fpy.no); if (this._balloon = new _1fpd.BranchBalloon(), null == _1fpz) this._balloon.initialize(1, 0); else this._balloon.initialize(_1fpz.type, _1fpz.beak, _1fpz.offset); var _1fq0 = this._scene.view.map.ship_icon.getGlobalPosition(); this._balloon.position = _1fq0, this._scene.view.word_balloons_layer.addChild(this._balloon), this._balloon.open(function() { var _1fq1 = null; _1fpx._showWaves(); }); }, _1fph.prototype._showWaves = function() { var _1fq2 = null; this._cellWaves = []; for (var _1fq3 = 0, _1fq4 = this._model.sortie.getNextCell().getSelectableRoutes(); _1fq3 < _1fq4.length; _1fq3++) { var _1fq5 = _1fq4[_1fq3], _1fq6 = this._scene.view.map, _1fq7 = _1fq6.spotLayer.getSpot(_1fq5), _1fq8 = new _1fq9(_1fq7, this._onClick); _1fq8.position.set(_1fq7.x, _1fq7.y), _1fq6.spotLayer.addChild(_1fq8), this._cellWaves.push(_1fq8), _1fq8.activate(); } }, _1fph.prototype._endTask = function() { var _1fqa = null; this._scene.view.message_box.text = ''; var _1fqb = this._model.deck_f.ships[0].mst_id; _1fp8.default.sound.voice.play(_1fqb.toString(), 26), this._scene = null, this._model = null, this._balloon = null, this._cellWaves = null, _1fpf.prototype._endTask.call(this); }, _1fph; }(_1fpa.TaskBase); _1fol.TaskBranchRoute = _1fpe; var _1fq9 = function(_1fqc) { var _1fqd = null; function _1fqe(_1fqf, _1fqg) { var _1fqh = null, _1fqi = _1fqc.call(this) || this; _1fqi._onMouseOver = function() { var _1fqj = null; _1fqi._wave.deactivate(), _1fqi._wave.selectedScale(), _1fqi._target.showLine(), _1fpb.SE.play('242'); }, _1fqi._onMouseOut = function() { var _1fqk = null; _1fqi._wave.activate(), _1fqi._target.hideLine(); }, _1fqi._onClick = function() { var _1fql = null; null != _1fqi._cb_onClick && _1fqi._cb_onClick(_1fqi._target.no); }, _1fqi._target = _1fqf, _1fqi._cb_onClick = _1fqg, _1fqi._wave = new _1fpc.CellWave(), _1fqi._wave.interactive = !1, _1fqi.addChild(_1fqi._wave); var _1fqm = new PIXI.Graphics(); return _1fqm.beginFill(65280, 0), _1fqm.drawCircle(0, 0, 24), _1fqm.endFill(), _1fqi._clickCircle = _1fqm, _1fqi.addChild(_1fqi._clickCircle), _1fqi; } return _1fop(_1fqe, _1fqc), _1fqe.prototype.activate = function() { var _1fqn = null; 1 != this._wave.activated && (this._wave.activate(), this._clickCircle.on(_1fp9.EventType.MOUSEOVER, this._onMouseOver), this._clickCircle.on(_1fp9.EventType.MOUSEOUT, this._onMouseOut), this._clickCircle.interactive = !0, this._clickCircle.buttonMode = !0, this._clickCircle.on(_1fp9.EventType.CLICK, this._onClick)); }, _1fqe.prototype.deactivate = function() { var _1fqo = null; this._wave.deactivate(), this._clickCircle.off(_1fp9.EventType.MOUSEOVER, this._onMouseOver), this._clickCircle.off(_1fp9.EventType.MOUSEOUT, this._onMouseOut), this._clickCircle.interactive = !1, this._clickCircle.buttonMode = !1, this._clickCircle.off(_1fp9.EventType.CLICK, this._onClick); }, _1fqe.prototype.dispose = function() { var _1fqp = null; this._wave.dispose(), this._target = null, this._cb_onClick = null; }, _1fqe; }(PIXI.Container); }, 15710: function(_1fqq, _1fqr, _1fqs) { 'use strict'; var _1fqt = null; var _1fqu, _1fqv = this && this.__extends || (_1fqu = function(_1fqw, _1fqx) { var _1fqy = null; return _1fqu = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1fqz, _1fr0) { var _1fr1 = null; _1fqz.__proto__ = _1fr0; } || function(_1fr2, _1fr3) { var _1fr4 = null; for (var _1fr5 in _1fr3) Object.prototype.hasOwnProperty.call(_1fr3, _1fr5) && (_1fr2[_1fr5] = _1fr3[_1fr5]); }, _1fqu(_1fqw, _1fqx); }, function(_1fr6, _1fr7) { var _1fr8 = null; if ('function' != typeof _1fr7 && null !== _1fr7) throw new TypeError('Class extends value ' + String(_1fr7) + ' is not a constructor or null'); function _1fr9() { var _1fra = null; this.constructor = _1fr6; } _1fqu(_1fr6, _1fr7), _1fr6.prototype = null === _1fr7 ? Object.create(_1fr7) : (_1fr9.prototype = _1fr7.prototype, new _1fr9()); }); defineModule(_1fqr); Object.defineProperty(_1fqr, '__esModule', { 'value': !0 }), _1fqr.ConfirmDialog = _1fqr.TaskConfirmRation = void 0; var _1frb = _1fqs(81755), _1frc = _1fqs(70723), _1frd = _1fqs(74876), _1fre = _1fqs(35380), _1frf = function(_1frg) { var _1frh = null; function _1fri(_1frj, _1frk) { var _1frl = null, _1frm = _1frg.call(this) || this; return _1frm._onSelect = function(_1frn) { var _1fro = null; _1frm._scene.user_select.ration = 1 == _1frn ? 1 : 0, _1frm._hideConfirmDialog(); }, _1frm._scene = _1frj, _1frm._model = _1frk, _1frm; } return _1fqv(_1fri, _1frg), _1fri.prototype._start = function() { var _1frp = null; 1 == this._model.sortie.getNextCell().isUsableRation() ? this._showConfirmDialog() : (this._scene.user_select.ration = -1, this._endTask()); }, _1fri.prototype._showConfirmDialog = function() { var _1frq = null, _1frr = this, _1frs = this._model.sortie.now_cell_no, _1frt = this._scene.resInfo.getRationConfirmOffset(_1frs), _1fru = this._scene.view.map.ship_icon; this._confirm = new _1frv(_1frt, this._onSelect), this._confirm.x = _1fru.x, this._confirm.y = _1fru.y + 15, this._confirm.alpha = 0, this._confirm.initialize(), this._scene.view.word_balloons_layer.addChild(this._confirm), _1frc.SE.play('212'), createjs.Tween.get(this._confirm).to({ 'y': _1fru.y, 'alpha': 1 }, 300).call(function() { var _1frw = null; _1frr._confirm.activate(); }); }, _1fri.prototype._hideConfirmDialog = function() { var _1frx = null, _1fry = this; this._confirm.deactivate(), createjs.Tween.get(this._confirm.btn_yes).to({ 'alpha': 0 }, 200), createjs.Tween.get(this._confirm.btn_no).to({ 'alpha': 0 }, 200); var _1frz = this._confirm.y; createjs.Tween.get(this._confirm).wait(200).to({ 'y': _1frz, 'alpha': 0 }, 300).call(function() { var _1fs0 = null; _1fry._scene.view.word_balloons_layer.removeChild(_1fry._confirm), _1fry._confirm.dispose(), _1fry._endTask(); }); }, _1fri; }(_1frb.TaskBase); _1fqr.TaskConfirmRation = _1frf; var _1frv = function(_1fs1) { var _1fs2 = null; function _1fs3(_1fs4, _1fs5) { var _1fs6 = null, _1fs7 = _1fs1.call(this) || this; if (_1fs7._onClickYes = function() { var _1fs8 = null; null != _1fs7._cb_onSelect && _1fs7._cb_onSelect(!0); }, _1fs7._onClickNo = function() { var _1fs9 = null; null != _1fs7._cb_onSelect && _1fs7._cb_onSelect(!1); }, _1fs7._cb_onSelect = _1fs5, _1fs7._box = new PIXI.Sprite(), _1fs7._box.position.set(-120, -135), _1fs7.addChild(_1fs7._box), _1fs7._beak = new PIXI.Sprite(), _1fs7._beak.position.set(30, -59), _1fs7.addChild(_1fs7._beak), _1fs7._btn_yes = new _1fsa(_1fs7._onClickYes), _1fs7._btn_yes.position.set(-65, 42), _1fs7.addChild(_1fs7._btn_yes), _1fs7._btn_no = new _1fsa(_1fs7._onClickNo), _1fs7._btn_no.position.set(68, 42), _1fs7.addChild(_1fs7._btn_no), null != _1fs4) { if (null != _1fs4.box) { var _1fsb = _1fs4.box; _1fs7._box.x += _1fsb.x, _1fs7._box.y += _1fsb.y, _1fs7._beak.x += _1fsb.x, _1fs7._beak.y += _1fsb.y; } null != _1fs4.btn && (_1fsb = _1fs4.btn, (_1fs7._btn_yes.x += _1fsb.x, _1fs7._btn_yes.y += _1fsb.y, _1fs7._btn_no.x += _1fsb.x, _1fs7._btn_no.y += _1fsb.y)), null != _1fs4.beak && (_1fsb = _1fs4.beak, (_1fs7._beak.x += _1fsb.x, _1fs7._beak.y += _1fsb.y)); } return _1fs7; } return _1fqv(_1fs3, _1fs1), Object.defineProperty(_1fs3.prototype, 'btn_yes', { 'get': function() { var _1fsc = null; return this._btn_yes; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fs3.prototype, 'btn_no', { 'get': function() { var _1fsd = null; return this._btn_no; }, 'enumerable': !1, 'configurable': !0 }), _1fs3.prototype.initialize = function() { var _1fse = null; this._box.texture = _1frd.MAP_CELL_EVENT.getTexture(46), this._beak.texture = _1frd.MAP_CELL_EVENT.getTexture(47); var _1fsf = _1frd.MAP_CELL_EVENT.getTexture(55), _1fsg = _1frd.MAP_CELL_EVENT.getTexture(57); this._btn_yes.initialize(_1fsf, _1fsg), _1fsf = _1frd.MAP_CELL_EVENT.getTexture(53), _1fsg = _1frd.MAP_CELL_EVENT.getTexture(54), this._btn_no.initialize(_1fsf, _1fsg); }, _1fs3.prototype.activate = function() { var _1fsh = null; this._btn_yes.activate(), this._btn_no.activate(); }, _1fs3.prototype.deactivate = function() { var _1fsi = null; this._btn_yes.deactivate(), this._btn_no.deactivate(); }, _1fs3.prototype.dispose = function() { var _1fsj = null; this._btn_yes.dispose(), this._btn_no.dispose(); }, _1fs3; }(PIXI.Container); _1fqr.ConfirmDialog = _1frv; var _1fsa = function(_1fsk) { var _1fsl = null; function _1fsm(_1fsn) { var _1fso = null, _1fsp = _1fsk.call(this) || this; return _1fsp._onMouseOver = function() { var _1fsq = null; _1frc.SE.play('225'), _1fsp._over.alpha = 1; }, _1fsp._onMouseOut = function() { var _1fsr = null; _1fsp._over.alpha = 0; }, _1fsp._onClick = function() { var _1fss = null; null != _1fsp._cb_onClick && _1fsp._cb_onClick(); }, _1fsp._cb_onClick = _1fsn, _1fsp._img = new PIXI.Sprite(), _1fsp.addChild(_1fsp._img), _1fsp._over = new PIXI.Sprite(), _1fsp._over.alpha = 0, _1fsp.addChild(_1fsp._over), _1fsp.interactive = !0, _1fsp; } return _1fqv(_1fsm, _1fsk), _1fsm.prototype.initialize = function(_1fst, _1fsu) { var _1fsv = null; this._img.texture = _1fst, this._img.x = -Math.round(this._img.width / 2), this._img.y = -Math.round(this._img.height / 2), this._over.texture = _1fsu, this._over.x = -Math.round(this._over.width / 2), this._over.y = -Math.round(this._over.height / 2); }, _1fsm.prototype.activate = function() { var _1fsw = null; 1 != this.buttonMode && (this.buttonMode = !0, this.on(_1fre.EventType.MOUSEOVER, this._onMouseOver), this.on(_1fre.EventType.MOUSEOUT, this._onMouseOut), this.on(_1fre.EventType.CLICK, this._onClick)); }, _1fsm.prototype.deactivate = function() { var _1fsx = null; this.buttonMode = !1, this.off(_1fre.EventType.MOUSEOVER, this._onMouseOver), this.off(_1fre.EventType.MOUSEOUT, this._onMouseOut), this.off(_1fre.EventType.CLICK, this._onClick); }, _1fsm.prototype.dispose = function() { var _1fsy = null; this.deactivate(); }, _1fsm; }(PIXI.Container); }, 75595: function(_1fsz, _1ft0, _1ft1) { 'use strict'; var _1ft2 = null; var _1ft3, _1ft4 = this && this.__extends || (_1ft3 = function(_1ft5, _1ft6) { var _1ft7 = null; return _1ft3 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ft8, _1ft9) { var _1fta = null; _1ft8.__proto__ = _1ft9; } || function(_1ftb, _1ftc) { var _1ftd = null; for (var _1fte in _1ftc) Object.prototype.hasOwnProperty.call(_1ftc, _1fte) && (_1ftb[_1fte] = _1ftc[_1fte]); }, _1ft3(_1ft5, _1ft6); }, function(_1ftf, _1ftg) { var _1fth = null; if ('function' != typeof _1ftg && null !== _1ftg) throw new TypeError('Class extends value ' + String(_1ftg) + ' is not a constructor or null'); function _1fti() { var _1ftj = null; this.constructor = _1ftf; } _1ft3(_1ftf, _1ftg), _1ftf.prototype = null === _1ftg ? Object.create(_1ftg) : (_1fti.prototype = _1ftg.prototype, new _1fti()); }), _1ftk = this && this.__spreadArray || function(_1ftl, _1ftm, _1ftn) { var _1fto = null; if (_1ftn || 2 === arguments.length) { for (var _1ftp, _1ftq = 0, _1ftr = _1ftm.length; _1ftq < _1ftr; _1ftq++) !_1ftp && _1ftq in _1ftm || (_1ftp || (_1ftp = Array.prototype.slice.call(_1ftm, 0, _1ftq)), _1ftp[_1ftq] = _1ftm[_1ftq]); } return _1ftl.concat(_1ftp || Array.prototype.slice.call(_1ftm)); }; defineModule(_1ft0); Object.defineProperty(_1ft0, '__esModule', { 'value': !0 }), _1ft0.ConfirmDialog = _1ft0.TaskConfirmReplenishment = void 0; var _1fts = _1ft1(81755), _1ftt = _1ft1(70723), _1ftu = _1ft1(74876), _1ftv = _1ft1(86156), _1ftw = _1ft1(35380), _1ftx = function(_1fty) { var _1ftz = null; function _1fu0(_1fu1, _1fu2) { var _1fu3 = null, _1fu4 = _1fty.call(this) || this; return _1fu4._onSelect = function(_1fu5) { var _1fu6 = null; _1fu4._scene.user_select.supply_on_the_sea = 1 == _1fu5 ? 1 : 0, _1fu4._hideConfirmDialog(_1fu5); }, _1fu4._scene = _1fu1, _1fu4._model = _1fu2, _1fu4; } return _1ft4(_1fu0, _1fty), _1fu0.prototype._start = function() { var _1fu7 = null, _1fu8 = this._model.sortie.getNextCell(); this._data = _1fu8.getReplenishmentData(), null != this._data ? this._showConfirmDialog() : (this._scene.user_select.supply_on_the_sea = -1, this._endTask()); }, _1fu0.prototype._showConfirmDialog = function() { var _1fu9 = null, _1fua = this, _1fub = this._model.sortie.now_cell_no, _1fuc = this._scene.resInfo.getReplenishConfirmOffsets(_1fub), _1fud = this._scene.view.map.ship_icon; this._confirm = new _1fue(_1fuc, this._onSelect), this._confirm.x = _1fud.x, this._confirm.y = _1fud.y + 15, this._confirm.alpha = 0, this._confirm.initialize(), this._scene.view.word_balloons_layer.addChild(this._confirm), _1ftt.SE.play('212'), createjs.Tween.get(this._confirm).to({ 'y': _1fud.y, 'alpha': 1 }, 300).call(function() { var _1fuf = null; _1fua._confirm.activate(); }); }, _1fu0.prototype._hideConfirmDialog = function(_1fug) { var _1fuh = null, _1fui = this; this._confirm.deactivate(), createjs.Tween.get(this._confirm.btn_yes).to({ 'alpha': 0 }, 200), createjs.Tween.get(this._confirm.btn_no).to({ 'alpha': 0 }, 200); var _1fuj = this._confirm.y; createjs.Tween.get(this._confirm).wait(200).to({ 'y': _1fuj, 'alpha': 0 }, 300).call(function() { var _1fuk = null; _1fui._scene.view.word_balloons_layer.removeChild(_1fui._confirm), _1fui._confirm.dispose(), 1 == _1fug ? _1fui._startSupplyOnTheSea() : _1fui._endTask(); }); }, _1fu0.prototype._startSupplyOnTheSea = function() { var _1ful = null; this._updateData(); }, _1fu0.prototype._updateData = function() { var _1fum = null; this._getShips(this._data.num_of_use), this._effect(); }, _1fu0.prototype._effect = function() { var _1fun = null, _1fuo = this; new _1ftv.TaskReplenishmentEffect(this._scene, this._model, this._data).start(function() { var _1fup = null; _1fuo._endTask(); }); }, _1fu0.prototype._getShips = function(_1fuq) { var _1fur = null, _1fus = [], _1fut = this._model.deck_f.ships_main, _1fuu = this._model.deck_f.ships_sub, _1fuv = _1ftk([], _1fut, !0).reverse(); null != _1fuu && (_1fuv = _1fuv.concat(_1ftk([], _1fuu, !0).reverse())); for (var _1fuw = 0, _1fux = _1fuv; _1fuw < _1fux.length; _1fuw++) { var _1fuy = _1fux[_1fuw]; if (null != _1fuy && (!(_1fuy.hp_now <= 0) && 1 != _1fuy.isTaihi())) { var _1fuz = void 0; do { if (1 == (_1fuz = _1fuy.useReplenishment()) && _1fus.push(_1fuy), _1fuq == _1fus.length) return _1fus; } while (1 == _1fuz); } } return _1fus; }, _1fu0; }(_1fts.TaskBase); _1ft0.TaskConfirmReplenishment = _1ftx; var _1fue = function(_1fv0) { var _1fv1 = null; function _1fv2(_1fv3, _1fv4) { var _1fv5 = null, _1fv6 = _1fv0.call(this) || this; if (_1fv6._onClickYes = function() { var _1fv7 = null; null != _1fv6._cb_onSelect && _1fv6._cb_onSelect(!0); }, _1fv6._onClickNo = function() { var _1fv8 = null; null != _1fv6._cb_onSelect && _1fv6._cb_onSelect(!1); }, _1fv6._cb_onSelect = _1fv4, _1fv6._box = new PIXI.Sprite(), _1fv6._box.position.set(-120, -135), _1fv6.addChild(_1fv6._box), _1fv6._beak = new PIXI.Sprite(), _1fv6._beak.position.set(30, -59), _1fv6.addChild(_1fv6._beak), _1fv6._btn_yes = new _1fv9(_1fv6._onClickYes), _1fv6._btn_yes.position.set(-65, 42), _1fv6.addChild(_1fv6._btn_yes), _1fv6._btn_no = new _1fv9(_1fv6._onClickNo), _1fv6._btn_no.position.set(68, 42), _1fv6.addChild(_1fv6._btn_no), null != _1fv3) { if (null != _1fv3.box) { var _1fva = _1fv3.box; _1fv6._box.x += _1fva.x, _1fv6._box.y += _1fva.y, _1fv6._beak.x += _1fva.x, _1fv6._beak.y += _1fva.y; } null != _1fv3.btn && (_1fva = _1fv3.btn, (_1fv6._btn_yes.x += _1fva.x, _1fv6._btn_yes.y += _1fva.y, _1fv6._btn_no.x += _1fva.x, _1fv6._btn_no.y += _1fva.y)), null != _1fv3.beak && (_1fva = _1fv3.beak, (_1fv6._beak.x += _1fva.x, _1fv6._beak.y += _1fva.y)); } return _1fv6; } return _1ft4(_1fv2, _1fv0), Object.defineProperty(_1fv2.prototype, 'btn_yes', { 'get': function() { var _1fvb = null; return this._btn_yes; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1fv2.prototype, 'btn_no', { 'get': function() { var _1fvc = null; return this._btn_no; }, 'enumerable': !1, 'configurable': !0 }), _1fv2.prototype.initialize = function() { var _1fvd = null; this._box.texture = _1ftu.MAP_CELL_EVENT.getTexture(48), this._beak.texture = _1ftu.MAP_CELL_EVENT.getTexture(47); var _1fve = _1ftu.MAP_CELL_EVENT.getTexture(55), _1fvf = _1ftu.MAP_CELL_EVENT.getTexture(57); this._btn_yes.initialize(_1fve, _1fvf), _1fve = _1ftu.MAP_CELL_EVENT.getTexture(53), _1fvf = _1ftu.MAP_CELL_EVENT.getTexture(54), this._btn_no.initialize(_1fve, _1fvf); }, _1fv2.prototype.activate = function() { var _1fvg = null; this._btn_yes.activate(), this._btn_no.activate(); }, _1fv2.prototype.deactivate = function() { var _1fvh = null; this._btn_yes.deactivate(), this._btn_no.deactivate(); }, _1fv2.prototype.dispose = function() { var _1fvi = null; this._btn_yes.dispose(), this._btn_no.dispose(); }, _1fv2; }(PIXI.Container); _1ft0.ConfirmDialog = _1fue; var _1fv9 = function(_1fvj) { var _1fvk = null; function _1fvl(_1fvm) { var _1fvn = null, _1fvo = _1fvj.call(this) || this; return _1fvo._onMouseOver = function() { var _1fvp = null; _1ftt.SE.play('225'), _1fvo._over.alpha = 1; }, _1fvo._onMouseOut = function() { var _1fvq = null; _1fvo._over.alpha = 0; }, _1fvo._onClick = function() { var _1fvr = null; null != _1fvo._cb_onClick && _1fvo._cb_onClick(); }, _1fvo._cb_onClick = _1fvm, _1fvo._img = new PIXI.Sprite(), _1fvo.addChild(_1fvo._img), _1fvo._over = new PIXI.Sprite(), _1fvo._over.alpha = 0, _1fvo.addChild(_1fvo._over), _1fvo.interactive = !0, _1fvo; } return _1ft4(_1fvl, _1fvj), _1fvl.prototype.initialize = function(_1fvs, _1fvt) { var _1fvu = null; this._img.texture = _1fvs, this._img.x = -Math.round(this._img.width / 2), this._img.y = -Math.round(this._img.height / 2), this._over.texture = _1fvt, this._over.x = -Math.round(this._over.width / 2), this._over.y = -Math.round(this._over.height / 2); }, _1fvl.prototype.activate = function() { var _1fvv = null; 1 != this.buttonMode && (this.buttonMode = !0, this.on(_1ftw.EventType.MOUSEOVER, this._onMouseOver), this.on(_1ftw.EventType.MOUSEOUT, this._onMouseOut), this.on(_1ftw.EventType.CLICK, this._onClick)); }, _1fvl.prototype.deactivate = function() { var _1fvw = null; this.buttonMode = !1, this.off(_1ftw.EventType.MOUSEOVER, this._onMouseOver), this.off(_1ftw.EventType.MOUSEOUT, this._onMouseOut), this.off(_1ftw.EventType.CLICK, this._onClick); }, _1fvl.prototype.dispose = function() { var _1fvx = null; this.deactivate(); }, _1fvl; }(PIXI.Container); }, 94996: function(_1fvy, _1fvz, _1fw0) { 'use strict'; var _1fw1 = null; var _1fw2, _1fw3 = this && this.__extends || (_1fw2 = function(_1fw4, _1fw5) { var _1fw6 = null; return _1fw2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1fw7, _1fw8) { var _1fw9 = null; _1fw7.__proto__ = _1fw8; } || function(_1fwa, _1fwb) { var _1fwc = null; for (var _1fwd in _1fwb) Object.prototype.hasOwnProperty.call(_1fwb, _1fwd) && (_1fwa[_1fwd] = _1fwb[_1fwd]); }, _1fw2(_1fw4, _1fw5); }, function(_1fwe, _1fwf) { var _1fwg = null; if ('function' != typeof _1fwf && null !== _1fwf) throw new TypeError('Class extends value ' + String(_1fwf) + ' is not a constructor or null'); function _1fwh() { var _1fwi = null; this.constructor = _1fwe; } _1fw2(_1fwe, _1fwf), _1fwe.prototype = null === _1fwf ? Object.create(_1fwf) : (_1fwh.prototype = _1fwf.prototype, new _1fwh()); }), _1fwj = this && this.__importDefault || function(_1fwk) { var _1fwl = null; return _1fwk && _1fwk.__esModule ? _1fwk : { 'default': _1fwk }; }; defineModule(_1fvz); Object.defineProperty(_1fvz, '__esModule', { 'value': !0 }), _1fvz.TaskCreateMap = void 0; var _1fwm = _1fwj(_1fw0(83300)), _1fwn = _1fwj(_1fw0(18622)), _1fwo = _1fw0(10742), _1fwp = _1fw0(57616), _1fwq = _1fw0(89939), _1fwr = _1fw0(81755), _1fws = _1fw0(13748), _1fwt = function(_1fwu) { var _1fwv = null; function _1fww(_1fwx, _1fwy, _1fwz, _1fx0, _1fx1) { var _1fx2 = null, _1fx3 = _1fwu.call(this) || this; if (_1fx3._map_id = _1fwx, _1fx3._mapView = _1fwy, _1fx3._mapInfo = _1fwz, _1fx3._data = _1fx1, _1fx3._memDataNum = 0, _1fx3._memData = {}, null != _1fx0) for (var _1fx4 = 0, _1fx5 = _1fx0; _1fx4 < _1fx5.length; _1fx4++) { var _1fx6 = _1fx5[_1fx4]; _1fx3._memData[_1fx6.no] = _1fx6, _1fx3._memDataNum++; } return _1fx3._version = _1fws.UIImageLoader.getResourceVersionMap(_1fx3._map_id), _1fx3; } return _1fw3(_1fww, _1fwu), _1fww.prototype._start = function() { var _1fx7 = null, _1fx8 = this, _1fx9 = this._getPath('info.json'['concat'](this._version ? '?version=' + this._version : '')); _1fwm.default.get(_1fx9).then(function(_1fxa) { var _1fxb = null, _1fxc = _1fwq.ObjUtil.getObject(_1fxa, 'data'); _1fx8._mapInfo.add(_1fxc), _1fx8._loadSpriteSheet(); }).catch(function(_1fxd) { var _1fxe = null; _1fx8._failedEnd(); }); }, _1fww.prototype._loadSpriteSheet = function() { var _1fxf = null, _1fxg = this, _1fxh = this._getPath('image.json'); if (null != PIXI.utils.TextureCache[_1fxh + '_image']) this._loadAddingInfo(); else { var _1fxi = new PIXI.loaders.Loader(); null != this._version && (_1fxi.defaultQueryString = 'version='['concat'](this._version)), _1fxi.add(_1fxh), _1fxi.load(function() { var _1fxj = null; _1fxg._loadAddingInfo(); }); } }, _1fww.prototype._loadAddingInfo = function() { var _1fxk = null, _1fxl = this; if (this._mapInfo.spots.length >= this._memDataNum) this._createMapBackGround(); else { var _1fxm = this._mapInfo.spots.length, _1fxn = this._getPath('info'['concat'](_1fxm, '.json').concat(this._version ? '?version=' + this._version : '')); 0, _1fwm.default.get(_1fxn).then(function(_1fxo) { var _1fxp = null, _1fxq = _1fwq.ObjUtil.getObject(_1fxo, 'data'); _1fxl._mapInfo.add(_1fxq), _1fxl._loadAddingSpriteSheet(_1fxm); }).catch(function(_1fxr) { var _1fxs = null; _1fxl._failedEnd(); }); } }, _1fww.prototype._loadAddingSpriteSheet = function(_1fxt) { var _1fxu = null, _1fxv = this, _1fxw = this._getPath('image'['concat'](_1fxt, '.json')); if (null != PIXI.utils.TextureCache[_1fxw + '_image']) this._loadAddingInfo(); else { var _1fxx = new PIXI.loaders.Loader(); null != this._version && (_1fxx.defaultQueryString = 'version='['concat'](this._version)), _1fxx.add(_1fxw), _1fxx.load(function() { var _1fxy = null; _1fxv._loadAddingInfo(); }); } }, _1fww.prototype._createMapBackGround = function() { var _1fxz = null; for (var _1fy0 = 0, _1fy1 = this._mapInfo.backgrounds; _1fy0 < _1fy1.length; _1fy0++) { var _1fy2 = _1fy1[_1fy0], _1fy3 = _1fwo.MapUtil.toResKey(this._map_id), _1fy4 = 'map'['concat'](_1fy3, '_').concat(_1fy2.img), _1fy5 = PIXI.Texture.fromFrame(_1fy4); this._mapView.bg.addBGLayer(_1fy5, _1fy2.name); } this._mapView.bg.setMapAnime(this._map_id), this._createLabel(); }, _1fww.prototype._createLabel = function() { var _1fy6 = null; for (var _1fy7 = 0, _1fy8 = this._mapInfo.labels; _1fy7 < _1fy8.length; _1fy7++) { for (var _1fy9 = [], _1fya = 0, _1fyb = _1fy8[_1fy7]; _1fya < _1fyb.length; _1fya++) { var _1fyc = _1fyb[_1fya], _1fyd = _1fwo.MapUtil.toResKey(this._map_id), _1fye = 'map'['concat'](_1fyd, '_').concat(_1fyc.img), _1fyf = PIXI.Texture.fromFrame(_1fye); _1fy9.push({ 'texture': _1fyf, 'x': _1fyc.x, 'y': _1fyc.y }); } this._mapView.bg.addLabels(_1fy9); } this._createSpots(); }, _1fww.prototype._createSpots = function() { var _1fyg = null; for (var _1fyh = 0, _1fyi = this._mapInfo.spots; _1fyh < _1fyi.length; _1fyh++) { var _1fyj = _1fyi[_1fyh], _1fyk = _1fyj.no; if (!(this._memDataNum > 0 && null == this._memData[_1fyk]) && (this._mapView.addSpot(this._map_id, _1fyk, this._mapInfo), null != _1fyj.landing && this._existLanding())) { var _1fyl = _1fyj.x + _1fyj.landing.x, _1fym = _1fyj.y + _1fyj.landing.y, _1fyn = _1fyj.landing.flag; this._mapView.spotLayer.addFlag(_1fyn, _1fyk, _1fyl, _1fym); } } this._createAirBase(); }, _1fww.prototype._createAirBase = function() { var _1fyo = null; if (this._isExistAirBase()) { var _1fyp = this._getAirBasePhase(), _1fyq = this._mapInfo.getAirBasePos(_1fyp); null != _1fyq && this._mapView.airbaseLayer.create(_1fyq); } this._initCellColor(); }, _1fww.prototype._isExistAirBase = function() { var _1fyr = null, _1fys = _1fwo.MapUtil.toAreaID(this._map_id); return !!(_1fwn.default.model.airunit.getAirUnitList(_1fys).length > 0); }, _1fww.prototype._initCellColor = function() { var _1fyt = null; for (var _1fyu = [], _1fyv = 0, _1fyw = this._mapView.spotLayer.getAllSpots(); _1fyv < _1fyw.length; _1fyv++) { var _1fyx = _1fyw[_1fyv]; if (!(_1fyu.indexOf(_1fyx.no) >= 0)) { for (var _1fyy = !1, _1fyz = 0, _1fz0 = 0, _1fz1 = this._mapInfo.getSameSpotData(_1fyx.no), _1fz2 = 0, _1fz3 = _1fz1; _1fz2 < _1fz3.length; _1fz2++) { var _1fz4 = _1fz3[_1fz2]; _1fyu.push(_1fz4.no), 0 == _1fyz && (_1fyz = _1fz4.color); var _1fz5 = this._memData[_1fz4.no]; null != _1fz5 && (_1fyy = _1fyy || _1fz5.passed, 0 == _1fz0 && (_1fz0 = _1fz5.color)); } var _1fz6 = _1fz1[0].no, _1fz7 = this._mapView.spotLayer.getSpot(_1fz6); 1 == _1fyy ? _1fz7.setColor(_1fz0) : _1fz7.setColor(_1fyz); } } this._endTask(); }, _1fww.prototype._getAirBasePhase = function() { var _1fz8 = null; return 575 == this._map_id && this._data.sortie.map.getGaugeNum() > 2 || [572, 573].indexOf(this._map_id) > -1 && this._data.sortie.map.availableAirUnitCount > 0 ? 1 : 0; }, _1fww.prototype._existLanding = function() { var _1fz9 = null; return !(572 == this._map_id && this._data.sortie.map.getGaugeNum() > 1) && (!(573 == this._map_id && this._data.sortie.map.getGaugeNum() > 1) && !(575 == this._map_id && this._data.sortie.map.getGaugeNum() > 2)); }, _1fww.prototype._getPath = function(_1fza) { var _1fzb = null, _1fzc = _1fwo.MapUtil.toAreaID(this._map_id), _1fzd = _1fwo.MapUtil.toMapNo(this._map_id); return _1fwn.default.settings.path_root + 'resources/map/'['concat'](_1fwp.MathUtil.zeroPadding(_1fzc, 3), '/').concat(_1fwp.MathUtil.zeroPadding(_1fzd, 2), '_').concat(_1fza); }, _1fww; }(_1fwr.TaskBase); _1fvz.TaskCreateMap = _1fwt; }, 25143: function(_1fze, _1fzf, _1fzg) { 'use strict'; var _1fzh = null; var _1fzi, _1fzj = this && this.__extends || (_1fzi = function(_1fzk, _1fzl) { var _1fzm = null; return _1fzi = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1fzn, _1fzo) { var _1fzp = null; _1fzn.__proto__ = _1fzo; } || function(_1fzq, _1fzr) { var _1fzs = null; for (var _1fzt in _1fzr) Object.prototype.hasOwnProperty.call(_1fzr, _1fzt) && (_1fzq[_1fzt] = _1fzr[_1fzt]); }, _1fzi(_1fzk, _1fzl); }, function(_1fzu, _1fzv) { var _1fzw = null; if ('function' != typeof _1fzv && null !== _1fzv) throw new TypeError('Class extends value ' + String(_1fzv) + ' is not a constructor or null'); function _1fzx() { var _1fzy = null; this.constructor = _1fzu; } _1fzi(_1fzu, _1fzv), _1fzu.prototype = null === _1fzv ? Object.create(_1fzv) : (_1fzx.prototype = _1fzv.prototype, new _1fzx()); }); defineModule(_1fzf); Object.defineProperty(_1fzf, '__esModule', { 'value': !0 }), _1fzf.TaskFinalize = void 0; var _1fzz = _1fzg(81755), _1g00 = _1fzg(13748), _1g01 = function(_1g02) { var _1g03 = null; function _1g04(_1g05) { var _1g06 = null, _1g07 = _1g02.call(this) || this; return _1g07._scene = _1g05, _1g07; } return _1fzj(_1g04, _1g02), _1g04.prototype._start = function() { var _1g08 = null; this._scene.view.dispose(), _1g00.UIImageLoader.clearMemoryCache('map'), this._endTask(); }, _1g04; }(_1fzz.TaskBase); _1fzf.TaskFinalize = _1g01; }, 10021: function(_1g09, _1g0a, _1g0b) { 'use strict'; var _1g0c = null; var _1g0d, _1g0e = this && this.__extends || (_1g0d = function(_1g0f, _1g0g) { var _1g0h = null; return _1g0d = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1g0i, _1g0j) { var _1g0k = null; _1g0i.__proto__ = _1g0j; } || function(_1g0l, _1g0m) { var _1g0n = null; for (var _1g0o in _1g0m) Object.prototype.hasOwnProperty.call(_1g0m, _1g0o) && (_1g0l[_1g0o] = _1g0m[_1g0o]); }, _1g0d(_1g0f, _1g0g); }, function(_1g0p, _1g0q) { var _1g0r = null; if ('function' != typeof _1g0q && null !== _1g0q) throw new TypeError('Class extends value ' + String(_1g0q) + ' is not a constructor or null'); function _1g0s() { var _1g0t = null; this.constructor = _1g0p; } _1g0d(_1g0p, _1g0q), _1g0p.prototype = null === _1g0q ? Object.create(_1g0q) : (_1g0s.prototype = _1g0q.prototype, new _1g0s()); }), _1g0u = this && this.__importDefault || function(_1g0v) { var _1g0w = null; return _1g0v && _1g0v.__esModule ? _1g0v : { 'default': _1g0v }; }; defineModule(_1g0a); Object.defineProperty(_1g0a, '__esModule', { 'value': !0 }), _1g0a.TaskFlagShipDamaged = void 0; var _1g0x = _1g0u(_1g0b(18622)), _1g0y = _1g0b(81755), _1g0z = _1g0b(35380), _1g10 = _1g0b(79899), _1g11 = _1g0b(8744), _1g12 = _1g0b(54011), _1g13 = _1g0b(20137), _1g14 = _1g0b(86699), _1g15 = function(_1g16) { var _1g17 = null; function _1g18(_1g19, _1g1a, _1g1b) { var _1g1c = null, _1g1d = _1g16.call(this) || this; return _1g1d._waitClick = function() { var _1g1e = null; _1g1d._click_area.buttonMode = !0, _1g1d._gear.visible = !0, _1g1d._gear.activate(), _1g1d._click_area.once(_1g0z.EventType.CLICK, function() { var _1g1f = null; _1g1d._hideLayer(); }); }, _1g1d._deck_name = _1g1a, _1g1d._mst_id = _1g1b, _1g1d._layer = new PIXI.Container(), _1g19.addChild(_1g1d._layer), _1g1d; } return _1g0e(_1g18, _1g16), _1g18.prototype._start = function() { var _1g1g = null; _1g0x.default.sound.bgm.play(5, !1, 0, 'fanfare'), this._load(); }, _1g18.prototype._load = function() { var _1g1h = null, _1g1i = this; new _1g13.ShipLoader().add(this._mst_id, !0, 'full').load(function() { var _1g1j = null; _1g1i._loaded(); }); }, _1g18.prototype._loaded = function() { var _1g1k = null, _1g1l = this, _1g1m = _1g0x.default.model.ship_graph.get(this._mst_id).getBattleOffset(!0), _1g1n = _1g0x.default.resources.getShip(this._mst_id, !0, 'full'); this._chara = new PIXI.Sprite(_1g1n), this._chara.alpha = 0, this._chara_base_x = -45 + _1g1m.x, this._chara.position.set(this._chara_base_x - 405, -90 + _1g1m.y), this._layer.addChild(this._chara), createjs.Tween.get(this._chara).to({ 'x': this._chara_base_x - 45, 'alpha': 0.6 }, 700).call(function() { var _1g1o = null; _1g1l._show(); }); }, _1g18.prototype._show = function() { var _1g1p = null, _1g1q = this, _1g1r = _1g0x.default.model.ship.getMst(this._mst_id).name; this._smokeLayer = new _1g1s(), this._smokeLayer.initialize(), this._mes_box = new _1g1t(), this._mes_box.alpha = 0, this._mes_box.position.set(603, 360), this._mes_box.initialize(this._deck_name, _1g1r), this._img = new PIXI.Sprite(_1g14.MAP_FLAGSHIP_DAMAGE.getTexture(6)), this._img.alpha = 0, this._img.anchor.set(0.5), this._img.position.set(981, 180), this._gear = new _1g1u(), this._gear.position.set(1125, 618), this._gear.visible = !1, this._gear.initialize(), this._click_area = new _1g10.AreaBox(0), this._layer.addChild(this._smokeLayer), this._layer.addChild(this._mes_box), this._layer.addChild(this._img), this._layer.addChild(this._gear), this._layer.addChild(this._click_area), createjs.Tween.get(this._img).wait(200).call(function() { var _1g1v = null; _1g1q._smokeLayer.start(), _1g0x.default.sound.voice.play(_1g1q._mst_id.toString(), 20); }).wait(400).to({ 'alpha': 1 }, 600).call(function() { var _1g1w = null; _1g1q._showText(); }), createjs.Tween.get(this._mes_box).wait(100).to({ 'alpha': 1 }, 600), createjs.Tween.get(this._chara).to({ 'x': this._chara_base_x, 'alpha': 1 }, 300); }, _1g18.prototype._showText = function() { var _1g1x = null; this._mes_box.once('complete', this._waitClick), this._mes_box.start(); }, _1g18.prototype._hideLayer = function() { var _1g1y = null, _1g1z = this; createjs.Tween.get(this._layer).to({ 'alpha': 0 }, 200).call(function() { var _1g20 = null; _1g1z._endTask(); }); }, _1g18.prototype._endTask = function() { var _1g21 = null; this._layer && this._layer.parent && this._layer.parent.removeChild(this._layer), this._smokeLayer.stop(), this._mes_box.dispose(), this._gear.dispose(), _1g16.prototype._endTask.call(this); }, _1g18; }(_1g0y.TaskBase); _1g0a.TaskFlagShipDamaged = _1g15; var _1g1t = function(_1g22) { var _1g23 = null; function _1g24() { var _1g25 = null, _1g26 = _1g22.call(this) || this; return _1g26._timer_id = -1, _1g26._anim = function() { var _1g27 = null; if (_1g26._text1.length > 0) { var _1g28 = _1g26._text1.charAt(0); _1g26._text1 = _1g26._text1.slice(1), _1g26._line1.text += _1g28; } else { if (_1g26._text2.length > 0) _1g28 = _1g26._text2.charAt(0), (_1g26._text2 = _1g26._text2.slice(1), _1g26._line2.text += _1g28); else { if (_1g26._text3.length > 0) _1g28 = _1g26._text3.charAt(0), (_1g26._text3 = _1g26._text3.slice(1), _1g26._line3.text += _1g28); else clearInterval(_1g26._timer_id), _1g26._timer_id = -1, _1g26.emit('complete'); } } }, _1g26._bg = new PIXI.Sprite(), _1g26._line1 = new _1g11.TextBox(30, 16777215), _1g26._line1.position.set(33, 78), _1g26._line2 = new _1g11.TextBox(30, 16777215), _1g26._line2.position.set(33, 132), _1g26._line3 = new _1g11.TextBox(20, 16777215), _1g26._line3.position.set(33, 225), _1g26.addChild(_1g26._bg), _1g26.addChild(_1g26._line1), _1g26.addChild(_1g26._line2), _1g26.addChild(_1g26._line3), _1g26; } return _1g0e(_1g24, _1g22), _1g24.prototype.initialize = function(_1g29, _1g2a) { var _1g2b = null; this._bg.texture = _1g14.MAP_FLAGSHIP_DAMAGE.getTexture(2), this._text1 = '「' + _1g29 + '」旗艦', this._text2 = '「' + _1g2a + '」が大破しました。', this._line2.alpha = 0, this._line2.text = this._text2, this._line2.width > 540 && (this._text2 = '「' + _1g2a + '」\nが大破しました。'), this._line2.alpha = 1, this._line2.text = '', this._text3 = '残念ですが進撃は困難です...母港に帰投します。'; }, _1g24.prototype.start = function() { var _1g2c = null; this._timer_id = window.setInterval(this._anim, 50); }, _1g24.prototype.dispose = function() { var _1g2d = null; this._timer_id >= 0 && (clearInterval(this._timer_id), this._timer_id = -1), this.removeChildren(), this._line1.destroy(), this._line2.destroy(), this._line3.destroy(); }, _1g24; }(PIXI.Container), _1g1s = function(_1g2e) { var _1g2f = null; function _1g2g() { var _1g2h = null, _1g2i = _1g2e.call(this) || this; return _1g2i._smoke1 = new _1g2j(), _1g2i._smoke1.position.set(276, 180), _1g2i._smoke2 = new _1g2j(), _1g2i._smoke2.position.set(450, 336), _1g2i._smoke3 = new _1g2j(), _1g2i._smoke3.position.set(219, 558), _1g2i.addChild(_1g2i._smoke1), _1g2i.addChild(_1g2i._smoke2), _1g2i.addChild(_1g2i._smoke3), _1g2i; } return _1g0e(_1g2g, _1g2e), _1g2g.prototype.initialize = function() { var _1g2k = null; this._smoke1.initialize(), this._smoke2.initialize(), this._smoke3.initialize(); }, _1g2g.prototype.start = function() { var _1g2l = null; this._smoke1.start(), this._smoke2.start(), this._smoke3.start(); }, _1g2g.prototype.stop = function() { var _1g2m = null; this._smoke1.stop(), this._smoke2.stop(), this._smoke3.stop(); }, _1g2g; }(PIXI.Container), _1g2j = function(_1g2n) { var _1g2o = null; function _1g2p() { var _1g2q = null, _1g2r = _1g2n.call(this) || this; return _1g2r._s1 = new _1g12.Sprite(), _1g2r._s1.anchor.set(0.5), _1g2r._s2 = new PIXI.Sprite(), _1g2r._s2.anchor.set(0.5), _1g2r._s3 = new PIXI.Sprite(), _1g2r._s3.anchor.set(0.5), _1g2r.addChild(_1g2r._s1), _1g2r.addChild(_1g2r._s2), _1g2r.addChild(_1g2r._s3), _1g2r; } return _1g0e(_1g2p, _1g2n), _1g2p.prototype.initialize = function() { var _1g2s = null; this._initialize(), this._s1.texture = _1g14.MAP_FLAGSHIP_DAMAGE.getTexture(3), this._s2.texture = _1g14.MAP_FLAGSHIP_DAMAGE.getTexture(4), this._s3.texture = _1g14.MAP_FLAGSHIP_DAMAGE.getTexture(5); }, _1g2p.prototype.start = function() { var _1g2t = null, _1g2u = this; if (null == this._t1 && null == this._t2 && null == this._t3) { var _1g2v = 1000 * Math.random(); this._t1 = createjs.Tween.get(this._s1).wait(_1g2v).to({ 'y': 0, 'alpha': 1, 'scaleX': 1, 'scaleY': 1 }, 200).to({ 'y': -60, 'alpha': 0, 'scaleX': 0.8, 'scaleY': 0.8 }, 400), this._t2 = createjs.Tween.get(this._s2).wait(_1g2v + 200).to({ 'y': -38, 'alpha': 1, 'scaleX': 1, 'scaleY': 1 }, 150).to({ 'y': -75, 'alpha': 0, 'scaleX': 0.8, 'scaleY': 0.8 }, 400), this._t3 = createjs.Tween.get(this._s3).wait(_1g2v + 400).to({ 'y': -105, 'alpha': 1, 'scaleX': 1, 'scaleY': 1 }, 150).to({ 'y': -128, 'alpha': 0, 'scaleX': 0.75, 'scaleY': 0.75 }, 400).call(function() { var _1g2w = null; _1g2u._t1 = null, _1g2u._t2 = null, _1g2u._t3 = null, _1g2u._initialize(), _1g2u.start(); }); } }, _1g2p.prototype.stop = function() { var _1g2x = null; null != this._t1 && (this._t1.setPaused(!0), this._t1 = null), null != this._t2 && (this._t2.setPaused(!0), this._t2 = null), null != this._t3 && (this._t3.setPaused(!0), this._t3 = null), this._initialize(); }, _1g2p.prototype._initialize = function() { var _1g2y = null; this._s1.alpha = 0, this._s1.scale.set(0.6), this._s1.position.set(0, 45), this._s2.alpha = 0, this._s2.scale.set(0.6), this._s2.position.set(60, -23), this._s3.alpha = 0, this._s3.scale.set(0.6), this._s3.position.set(0, -75); }, _1g2p; }(PIXI.Container), _1g1u = function(_1g2z) { var _1g30 = null; function _1g31() { var _1g32 = null, _1g33 = _1g2z.call(this) || this; return _1g33._gear = new PIXI.Sprite(), _1g33._gear.anchor.set(0.5), _1g33._content = new PIXI.Sprite(), _1g33._content.anchor.set(0.5), _1g33.addChild(_1g33._gear), _1g33.addChild(_1g33._content), _1g33; } return _1g0e(_1g31, _1g2z), _1g31.prototype.initialize = function() { var _1g34 = null; this._gear.texture = _1g14.MAP_FLAGSHIP_DAMAGE.getTexture(0), this._content.texture = _1g14.MAP_FLAGSHIP_DAMAGE.getTexture(1); }, _1g31.prototype.activate = function() { var _1g35 = null; null == this._t && (this._t = createjs.Tween.get(this._gear, { 'loop': !0 }).to({ 'rotation': 2 * Math.PI }, 6000)); }, _1g31.prototype.deactivate = function() { var _1g36 = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _1g31.prototype.dispose = function() { var _1g37 = null; this.deactivate(); }, _1g31; }(PIXI.Container); }, 2067: function(_1g38, _1g39, _1g3a) { 'use strict'; var _1g3b = null; var _1g3c, _1g3d = this && this.__extends || (_1g3c = function(_1g3e, _1g3f) { var _1g3g = null; return _1g3c = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1g3h, _1g3i) { var _1g3j = null; _1g3h.__proto__ = _1g3i; } || function(_1g3k, _1g3l) { var _1g3m = null; for (var _1g3n in _1g3l) Object.prototype.hasOwnProperty.call(_1g3l, _1g3n) && (_1g3k[_1g3n] = _1g3l[_1g3n]); }, _1g3c(_1g3e, _1g3f); }, function(_1g3o, _1g3p) { var _1g3q = null; if ('function' != typeof _1g3p && null !== _1g3p) throw new TypeError('Class extends value ' + String(_1g3p) + ' is not a constructor or null'); function _1g3r() { var _1g3s = null; this.constructor = _1g3o; } _1g3c(_1g3o, _1g3p), _1g3o.prototype = null === _1g3p ? Object.create(_1g3p) : (_1g3r.prototype = _1g3p.prototype, new _1g3r()); }), _1g3t = this && this.__importDefault || function(_1g3u) { var _1g3v = null; return _1g3u && _1g3u.__esModule ? _1g3u : { 'default': _1g3u }; }; defineModule(_1g39); Object.defineProperty(_1g39, '__esModule', { 'value': !0 }), _1g39.TaskFormationSelect = void 0; var _1g3w = _1g3t(_1g3a(21359)), _1g3x = _1g3t(_1g3a(18622)), _1g3y = _1g3a(81755), _1g3z = _1g3a(87475), _1g40 = _1g3a(54011), _1g41 = _1g3a(20137), _1g42 = _1g3a(67273), _1g43 = _1g3a(57857), _1g44 = _1g3a(35380), _1g45 = _1g3a(79899), _1g46 = _1g3a(56494), _1g47 = _1g3a(51724), _1g48 = _1g3a(5527), _1g49 = _1g3a(85492), _1g4a = _1g3a(62833), _1g4b = _1g3a(70723), _1g4c = (_1g3a(27691), function(_1g4d) { var _1g4e = null; function _1g4f(_1g4g, _1g4h, _1g4i, _1g4j, _1g4k) { var _1g4l = null, _1g4m = _1g4d.call(this) || this; return _1g4m._selected_formation = 1, _1g4m._use_smoke = -1, _1g4m._skip_battle = !1, _1g4m._showText = function() { var _1g4n = null, _1g4o = _1g4m._telopContainer.text; _1g4o.position.set(750, _1g3w.default.height / 2), _1g4o.alpha = 0, _1g4o.texture = _1g42.MAP_TELOP.getTexture(5), createjs.Tween.get(_1g4o).to({ 'x': 630, 'alpha': 1 }, 500).to({ 'x': 585 }, 500).call(_1g4m._formationSelect), createjs.Tween.get(_1g4m._chara).to({ 'alpha': 1 }, 500); var _1g4p = _1g4m._view.shutter; _1g4p.alpha = 0, _1g4p.close(0), createjs.Tween.get(_1g4p).to({ 'alpha': 1 }, 400); }, _1g4m._formationSelect = function() { var _1g4q = null, _1g4r = 1 == _1g4m._deck.isCombined() ? _1g4m._deck.getCountSubDeck() : _1g4m._deck.getCount(), _1g4s = 1 == _1g4m._deck.isYugeki() ? 7 : 6; if (_1g4m._layer.boxes.initialize(_1g4r, _1g4m._onSelectFormation, _1g4s), _1g4m._layer.boxes.alpha = 0, _1g4m._layer.smoke_button.alpha = 0, _1g4m._layer.boxes.count <= 1 || _1g4m._isLongRange) { var _1g4t = _1g4m._telopContainer.bg; createjs.Tween.get(_1g4t).wait(150).to({ 'alpha': 0, 'scaleY': 0 }, 100).call(_1g4m._showText2); var _1g4u = _1g4m._telopContainer.text; createjs.Tween.get(_1g4u).to({ 'x': 555, 'alpha': 0 }, 100); } else _1g4m._layer.fade.show(200), _1g4t = _1g4m._telopContainer.bg, createjs.Tween.get(_1g4t).wait(150).to({ 'alpha': 0, 'scaleY': 0 }, 100), _1g4u = _1g4m._telopContainer.text, (createjs.Tween.get(_1g4u).to({ 'x': 555, 'alpha': 0 }, 100), createjs.Tween.get(_1g4m._layer.smoke_button).to({ 'alpha': 1 }, 300), createjs.Tween.get(_1g4m._layer.boxes).to({ 'alpha': 1 }, 300).call(function() { var _1g4v = null; _1g4m._layer.boxes.activate(), _1g4m._view.message_box.text = '陣形を選択してください。', _1g4m._layer.ship_click_area.beginFill(16774898, 0), _1g4m._layer.ship_click_area.drawRect(0, 0, 550, 580), _1g4m._layer.ship_click_area.endFill(), _1g4m._layer.ship_click_area.interactive = _1g4m._layer.ship_click_area.buttonMode = !0, _1g4m._layer.ship_click_area.once(_1g44.EventType.CLICK, _1g4m._hide_ship); var _1g4w = _1g4m._view.map.ship_icon.getGlobalPosition(); _1g4m._layer.enemy_silhouette_click_area.beginFill(0, 0), _1g4m._layer.enemy_silhouette_click_area.drawCircle(0, 0, 38), _1g4m._layer.enemy_silhouette_click_area.endFill(), _1g4m._layer.enemy_silhouette_click_area.position.set(_1g4w.x, _1g4w.y), null != _1g4m._enemy_deck_infos && _1g4m._enemy_deck_infos.length > 0 ? _1g4m._layer.enemy_silhouette_click_area.on(_1g44.EventType.CLICK, _1g4m._show_enemy_silhouette) : _1g4m._layer.enemy_silhouette_click_area.on(_1g44.EventType.CLICK, function() { var _1g4x = null; _1g4b.SE.play('248'); }), (_1g4m._layer.smoke_button.initialize(!1, _1g4m._layer.boxes.count), _1g4m._layer.smoke_button.activate()); })); }, _1g4m._hide_ship = function() { var _1g4y = null; _1g4m._ship_hide_t = createjs.Tween.get(_1g4m._layer.chara).to({ 'x': -25, 'alpha': 0 }, 300).call(function() { var _1g4z = null; _1g4m._layer.ship_click_area.once(_1g44.EventType.CLICK, _1g4m._hide_formation), _1g4m._ship_hide_t = null; }), _1g4m._fade_hide_t = createjs.Tween.get(_1g4m._layer.fade).to({ 'alpha': 0 }, 300, createjs.Ease.cubicOut).call(function() { var _1g50 = null; _1g4m._fade_hide_t = null; }); }, _1g4m._hide_formation = function() { var _1g51 = null; _1g4m._layer.ship_click_area.interactive = _1g4m._layer.ship_click_area.buttonMode = !1, _1g4m._layer.boxes.deactivate(), createjs.Tween.get(_1g4m._layer.boxes).to({ 'x': 25, 'alpha': 0 }, 300).call(function() { var _1g52 = null; _1g4m._layer.remove_ship_formation_click_area.interactive = _1g4m._layer.remove_ship_formation_click_area.buttonMode = !0, _1g4m._layer.remove_ship_formation_click_area.once(_1g44.EventType.CLICK, _1g4m._remove_ship_formation), _1g4m._layer.enemy_silhouette_click_area.interactive = _1g4m._layer.enemy_silhouette_click_area.buttonMode = !0; }), _1g4m._layer.smoke_button.deactivate(), createjs.Tween.get(_1g4m._layer.smoke_button).to({ 'x': 25, 'alpha': 0 }, 300); }, _1g4m._show_enemy_silhouette = function() { var _1g53 = null; _1g4m._layer.remove_ship_formation_click_area.interactive = _1g4m._layer.remove_ship_formation_click_area.buttonMode = !1, _1g4m._layer.enemy_silhouette_click_area.interactive = _1g4m._layer.enemy_silhouette_click_area.buttonMode = !1, createjs.Tween.get(_1g4m._enemy_deck_silhouette).to({ 'alpha': 1 }, 300).call(function() { var _1g54 = null; _1g4m._enemy_deck_silhouette.buttonMode = _1g4m._enemy_deck_silhouette.interactive = !0, _1g4m._enemy_deck_silhouette.once(_1g44.EventType.CLICK, function() { var _1g55 = null; _1g4m._hide_enemy_silhouette(function() { var _1g56 = null; _1g4m._layer.enemy_silhouette_click_area.buttonMode = _1g4m._layer.enemy_silhouette_click_area.interactive = !0; }); }), _1g4m._layer.remove_ship_formation_click_area.interactive = _1g4m._layer.remove_ship_formation_click_area.buttonMode = !0; }); }, _1g4m._hide_enemy_silhouette = function(_1g57) { var _1g58 = null; _1g4m._enemy_deck_silhouette.buttonMode = _1g4m._enemy_deck_silhouette.interactive = !1, createjs.Tween.get(_1g4m._enemy_deck_silhouette).to({ 'alpha': 0 }, 0).call(function() { _1g57(); }); }, _1g4m._remove_ship_formation = function() { var _1g59 = null; _1g4m._layer.remove_ship_formation_click_area.interactive = _1g4m._layer.remove_ship_formation_click_area.buttonMode = !1, _1g4m._layer.enemy_silhouette_click_area.interactive = _1g4m._layer.enemy_silhouette_click_area.buttonMode = !1; var _1g5a = 300, _1g5b = new _1g48.ParallelTask(); _1g5b.add(new _1g49.TweenTask().addTween(createjs.Tween.get(_1g4m._layer.chara).to({ 'x': 0, 'alpha': 1 }, _1g5a, createjs.Ease.cubicOut))), _1g5b.add(new _1g49.TweenTask().addTween(createjs.Tween.get(_1g4m._layer.boxes).to({ 'x': 0, 'alpha': 1 }, _1g5a, createjs.Ease.cubicOut))), _1g5b.add(new _1g49.TweenTask().addTween(createjs.Tween.get(_1g4m._layer.fade).to({ 'alpha': 1 }, _1g5a, createjs.Ease.cubicOut))), _1g5b.add(new _1g49.TweenTask().addTween(createjs.Tween.get(_1g4m._layer.smoke_button).to({ 'x': 0, 'alpha': 1 }, _1g5a, createjs.Ease.cubicOut))); var _1g5c = createjs.Tween.get(null).call(function() { var _1g5d = null; _1g5b.start(function() { var _1g5e = null; _1g4m._layer.ship_click_area.interactive = _1g4m._layer.ship_click_area.buttonMode = !0, _1g4m._layer.ship_click_area.once(_1g44.EventType.CLICK, _1g4m._hide_ship), _1g4m._layer.boxes.activate(), _1g4m._layer.smoke_button.activate(); }); }); 1 == _1g4m._enemy_deck_silhouette.alpha ? _1g4m._hide_enemy_silhouette(function() { var _1g5f = null; _1g5c.play(null); }) : _1g5c.play(null); }, _1g4m._onSelectFormation = function(_1g5g) { var _1g5h = null; _1g4m._layer.ship_click_area.interactive = _1g4m._layer.ship_click_area.buttonMode = !1, _1g4m._selected_formation = _1g5g, _1g4m._use_smoke = _1g4m._layer.smoke_button.use_smoke, _1g4m._layer.boxes.deactivate(), _1g4m._layer.smoke_button.deactivate(), createjs.Tween.get(_1g4m._layer.boxes).to({ 'alpha': 0 }, 200), createjs.Tween.get(_1g4m._layer.smoke_button).to({ 'alpha': 0 }, 200), null == _1g4m._fade_hide_t ? _1g4m._layer.fade.hide(200, _1g4m._showText2) : new _1g46.WaitTask(200).start(_1g4m._showText2); }, _1g4m._showText2 = function() { var _1g5i = null, _1g5j = _1g4m._telopContainer.bg, _1g5k = _1g4m._telopContainer.text; _1g5k.position.set(_1g3w.default.width / 2, _1g3w.default.height / 2), _1g5k.texture = _1g42.MAP_TELOP.getTexture(4), createjs.Tween.get(_1g5j).to({ 'alpha': 1, 'scaleY': 1 }, 200).wait(950).to({ 'alpha': 0, 'scaleY': 0 }, 200), createjs.Tween.get(_1g5k).wait(150).to({ 'alpha': 1 }, 100).wait(200).to({ 'x': 570 }, 300).to({ 'x': 450, 'alpha': 0 }, 400), null == _1g4m._ship_hide_t && createjs.Tween.get(_1g4m._layer.chara).wait(950).to({ 'x': -75, 'alpha': 0 }, 600), createjs.Tween.get(_1g4m._view.map).wait(950).to({ 'alpha': 0 }, 600).call(function() { var _1g5l = null; _1g4m._view.map.ship_icon.stopWave(), _1g4m._preEnd(); }), createjs.Tween.get(_1g4m._view.upper).wait(950).to({ 'alpha': 0 }, 600), createjs.Tween.get(_1g4m._view.gauge_layer).wait(950).to({ 'alpha': 0 }, 600), createjs.Tween.get(_1g4m).wait(750).call(function() { var _1g5m = null; _1g4m._view.message_box.deactivate(); }); }, _1g4m._view = _1g4g, _1g4m._deck = _1g4h, _1g4m._isLongRange = _1g4i, _1g4m._enemy_deck_infos = _1g4j, _1g4m._is_smoke = _1g4k, _1g4m; } return _1g3d(_1g4f, _1g4d), Object.defineProperty(_1g4f.prototype, 'selected_formation', { 'get': function() { var _1g5n = null; return this._selected_formation; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1g4f.prototype, 'use_smoke', { 'get': function() { var _1g5o = null; return this._use_smoke; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1g4f.prototype, 'skip_battle', { 'get': function() { return !1; }, 'enumerable': !1, 'configurable': !0 }), _1g4f.prototype._start = function() { var _1g5p = null; this._layer = new _1g5q(this._is_smoke), this._view.universal_layer.addChild(this._layer), this._telopContainer = new _1g5r(), this._view.top_layer.addChild(this._telopContainer), this._enemy_deck_silhouette = new _1g47.EnemyDeckSilhouette(this._enemy_deck_infos), this._enemy_deck_silhouette.alpha = 0, this._view.universal_layer.addChild(this._enemy_deck_silhouette), this._readyForFlagship(); }, _1g4f.prototype._readyForFlagship = function() { var _1g5s = null, _1g5t = this, _1g5u = this._deck.ships[0], _1g5v = _1g5u.mst_id, _1g5w = _1g5u.isDamaged(); this._chara = new PIXI.Sprite(); var _1g5x = _1g3x.default.model.ship_graph.get(_1g5v).getMapOffset(_1g5w); this._chara.position.set(-80 + _1g5x.x, -93 + _1g5x.y), this._chara.alpha = 0, this._layer.chara.addChild(this._chara), new _1g41.ShipLoader().add(_1g5v, _1g5w, 'full').load(function() { var _1g5y = null; _1g5t._chara.texture = _1g3x.default.resources.getShip(_1g5v, _1g5w, 'full'), _1g5t._showTelopBG(); }); }, _1g4f.prototype._showTelopBG = function() { var _1g5z = null, _1g60 = this._telopContainer.bg; _1g60.position.set(_1g3w.default.width / 2, _1g3w.default.height / 2), _1g60.scaleY = 0, _1g60.alpha = 0, _1g60.texture = _1g42.MAP_TELOP.getTexture(2), createjs.Tween.get(_1g60).to({ 'alpha': 1, 'scaleY': 1 }, 500).call(this._showText); }, _1g4f.prototype._preEnd = function() { var _1g61 = null; this._view.universal_layer.removeChild(this._layer), this._view.universal_layer.removeChild(this._enemy_deck_silhouette), this._view = null, this._deck = null, this._chara = null, this._layer = null, this._isLongRange = null, this._endTask(); }, _1g4f.prototype._addBattleSkip = function() {}, _1g4f; }(_1g3y.TaskBase)); _1g39.TaskFormationSelect = _1g4c; var _1g5q = function(_1g62) { var _1g63 = null; function _1g64(_1g65) { var _1g66 = null; void 0 === _1g65 && (_1g65 = !1); var _1g67 = _1g62.call(this) || this; return _1g67._fade = new _1g3z.FadeBox(0.6), _1g67._fade.hide(0), _1g67._chara = new PIXI.Sprite(), _1g67._boxes = new _1g43.FormationBoxContainer(), _1g67._ship_click_area = new PIXI.Graphics(), _1g67._remove_ship_formation_click_area = new _1g45.AreaBox(0), _1g67._remove_ship_formation_click_area.interactive = !1, _1g67._enemy_silhouette_click_area = new PIXI.Graphics(), _1g67._smoke_button = new _1g4a.SmokeButton(_1g65), _1g67.addChild(_1g67._fade), _1g67.addChild(_1g67._chara), _1g67.addChild(_1g67._boxes), _1g67.addChild(_1g67._ship_click_area), _1g67.addChild(_1g67._remove_ship_formation_click_area), _1g67.addChild(_1g67._enemy_silhouette_click_area), _1g67.addChild(_1g67._smoke_button), _1g67; } return _1g3d(_1g64, _1g62), Object.defineProperty(_1g64.prototype, 'fade', { 'get': function() { var _1g68 = null; return this._fade; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1g64.prototype, 'chara', { 'get': function() { var _1g69 = null; return this._chara; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1g64.prototype, 'boxes', { 'get': function() { var _1g6a = null; return this._boxes; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1g64.prototype, 'ship_click_area', { 'get': function() { var _1g6b = null; return this._ship_click_area; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1g64.prototype, 'remove_ship_formation_click_area', { 'get': function() { var _1g6c = null; return this._remove_ship_formation_click_area; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1g64.prototype, 'enemy_silhouette_click_area', { 'get': function() { var _1g6d = null; return this._enemy_silhouette_click_area; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1g64.prototype, 'smoke_button', { 'get': function() { var _1g6e = null; return this._smoke_button; }, 'enumerable': !1, 'configurable': !0 }), _1g64; }(PIXI.Container), _1g5r = function(_1g6f) { var _1g6g = null; function _1g6h() { var _1g6i = null, _1g6j = _1g6f.call(this) || this; return _1g6j._bg = new _1g40.Sprite(), _1g6j._bg.anchor.set(0.5), _1g6j._text = new PIXI.Sprite(), _1g6j._text.anchor.set(0.5), _1g6j.addChild(_1g6j._bg), _1g6j.addChild(_1g6j._text), _1g6j; } return _1g3d(_1g6h, _1g6f), Object.defineProperty(_1g6h.prototype, 'bg', { 'get': function() { var _1g6k = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1g6h.prototype, 'text', { 'get': function() { var _1g6l = null; return this._text; }, 'enumerable': !1, 'configurable': !0 }), _1g6h; }(PIXI.Container); }, 38083: function(_1g6m, _1g6n, _1g6o) { 'use strict'; var _1g6p = null; var _1g6q, _1g6r = this && this.__extends || (_1g6q = function(_1g6s, _1g6t) { var _1g6u = null; return _1g6q = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1g6v, _1g6w) { var _1g6x = null; _1g6v.__proto__ = _1g6w; } || function(_1g6y, _1g6z) { var _1g70 = null; for (var _1g71 in _1g6z) Object.prototype.hasOwnProperty.call(_1g6z, _1g71) && (_1g6y[_1g71] = _1g6z[_1g71]); }, _1g6q(_1g6s, _1g6t); }, function(_1g72, _1g73) { var _1g74 = null; if ('function' != typeof _1g73 && null !== _1g73) throw new TypeError('Class extends value ' + String(_1g73) + ' is not a constructor or null'); function _1g75() { var _1g76 = null; this.constructor = _1g72; } _1g6q(_1g72, _1g73), _1g72.prototype = null === _1g73 ? Object.create(_1g73) : (_1g75.prototype = _1g73.prototype, new _1g75()); }), _1g77 = this && this.__importDefault || function(_1g78) { var _1g79 = null; return _1g78 && _1g78.__esModule ? _1g78 : { 'default': _1g78 }; }; defineModule(_1g6n); Object.defineProperty(_1g6n, '__esModule', { 'value': !0 }), _1g6n.TaskFormationSelectCombined = void 0; var _1g7a = _1g77(_1g6o(21359)), _1g7b = _1g77(_1g6o(18622)), _1g7c = _1g6o(81755), _1g7d = _1g6o(87475), _1g7e = _1g6o(54011), _1g7f = _1g6o(20137), _1g7g = _1g6o(50110), _1g7h = _1g6o(67273), _1g7i = _1g6o(21315), _1g7j = _1g6o(35380), _1g7k = _1g6o(79899), _1g7l = _1g6o(56494), _1g7m = _1g6o(51724), _1g7n = _1g6o(5527), _1g7o = _1g6o(85492), _1g7p = _1g6o(70723), _1g7q = _1g6o(62833), _1g7r = (_1g6o(27691), function(_1g7s) { var _1g7t = null; function _1g7u(_1g7v, _1g7w, _1g7x, _1g7y, _1g7z) { var _1g80 = null, _1g81 = _1g7s.call(this) || this; return _1g81._selected_formation = 12, _1g81._use_smoke = -1, _1g81._skip_battle = !1, _1g81._showText = function() { var _1g82 = null, _1g83 = _1g81._telopContainer.text; _1g83.position.set(750, _1g7a.default.height / 2), _1g83.alpha = 0, _1g83.texture = _1g7h.MAP_TELOP.getTexture(5), createjs.Tween.get(_1g83).to({ 'x': 630, 'alpha': 1 }, 500).to({ 'x': 585 }, 500).call(_1g81._formationSelect), createjs.Tween.get(_1g81._chara).to({ 'alpha': 1 }, 500); var _1g84 = _1g81._view.shutter; _1g84.alpha = 0, _1g84.close(0), createjs.Tween.get(_1g84).to({ 'alpha': 1 }, 400); }, _1g81._formationSelect = function() { var _1g85 = null, _1g86 = _1g81._deck.type, _1g87 = _1g81._deck.getCountSubDeck(); if (_1g81._layer.boxes.initialize(_1g86, _1g87, _1g81._onSelectFormation), _1g81._layer.boxes.alpha = 0, _1g81._layer.boxes.count <= 1 || _1g81._isLongRange) { _1g81._isLongRange && (_1g81._selected_formation = 14); var _1g88 = _1g81._telopContainer.bg; createjs.Tween.get(_1g88).wait(150).to({ 'alpha': 0, 'scaleY': 0 }, 100).call(_1g81._showText2); var _1g89 = _1g81._telopContainer.text; createjs.Tween.get(_1g89).to({ 'x': 555, 'alpha': 0 }, 100); } else _1g81._layer.fade.show(200), _1g88 = _1g81._telopContainer.bg, createjs.Tween.get(_1g88).wait(150).to({ 'alpha': 0, 'scaleY': 0 }, 100), _1g89 = _1g81._telopContainer.text, (createjs.Tween.get(_1g89).to({ 'x': 555, 'alpha': 0 }, 100), createjs.Tween.get(_1g81._layer.smoke_button).to({ 'alpha': 1 }, 300), createjs.Tween.get(_1g81._layer.boxes).to({ 'alpha': 1 }, 300).call(function() { var _1g8a = null; _1g81._layer.boxes.activate(), _1g81._view.message_box.text = '陣形を選択してください。', _1g81._layer.ship_click_area.beginFill(16774898, 0), _1g81._layer.ship_click_area.drawRect(0, 0, 550, 580), _1g81._layer.ship_click_area.endFill(), _1g81._layer.ship_click_area.interactive = _1g81._layer.ship_click_area.buttonMode = !0, _1g81._layer.ship_click_area.once(_1g7j.EventType.CLICK, _1g81._hide_ship); var _1g8b = _1g81._view.map.ship_icon.getGlobalPosition(); _1g81._layer.enemy_silhouette_click_area.beginFill(0, 0), _1g81._layer.enemy_silhouette_click_area.drawCircle(0, 0, 38), _1g81._layer.enemy_silhouette_click_area.endFill(), _1g81._layer.enemy_silhouette_click_area.position.set(_1g8b.x, _1g8b.y), null != _1g81._enemy_deck_infos && _1g81._enemy_deck_infos.length > 0 ? _1g81._layer.enemy_silhouette_click_area.on(_1g7j.EventType.CLICK, _1g81._show_enemy_silhouette) : _1g81._layer.enemy_silhouette_click_area.on(_1g7j.EventType.CLICK, function() { var _1g8c = null; _1g7p.SE.play('248'); }), (_1g81._layer.smoke_button.initialize(!0, _1g81._layer.boxes.count), _1g81._layer.smoke_button.activate()); }), _1g81._layer.description.alpha = 0, 1 == _1g86 ? _1g81._layer.description.texture = _1g7g.SALLY_JIN.getTexture(18) : 2 == _1g86 ? _1g81._layer.description.texture = _1g7g.SALLY_JIN.getTexture(38) : 3 == _1g86 && (_1g81._layer.description.texture = _1g7g.SALLY_JIN.getTexture(43)), createjs.Tween.get(_1g81._layer.description).to({ 'alpha': 1 }, 300)); }, _1g81._hide_ship = function() { var _1g8d = null; _1g81._ship_hide_t = createjs.Tween.get(_1g81._layer.chara).to({ 'x': -25, 'alpha': 0 }, 300).call(function() { var _1g8e = null; _1g81._layer.ship_click_area.once(_1g7j.EventType.CLICK, _1g81._hide_formation), _1g81._ship_hide_t = null; }), _1g81._fade_hide_t = createjs.Tween.get(_1g81._layer.fade).to({ 'alpha': 0 }, 300, createjs.Ease.cubicOut).call(function() { var _1g8f = null; _1g81._fade_hide_t = null; }); }, _1g81._hide_formation = function() { var _1g8g = null; _1g81._layer.ship_click_area.interactive = _1g81._layer.ship_click_area.buttonMode = !1, _1g81._layer.boxes.deactivate(), _1g81._layer.smoke_button.deactivate(), createjs.Tween.get(_1g81._layer.boxes).to({ 'x': 25, 'alpha': 0 }, 300).call(function() { var _1g8h = null; _1g81._layer.remove_ship_formation_click_area.interactive = _1g81._layer.remove_ship_formation_click_area.buttonMode = !0, _1g81._layer.remove_ship_formation_click_area.once(_1g7j.EventType.CLICK, _1g81._remove_ship_formation), _1g81._layer.enemy_silhouette_click_area.interactive = _1g81._layer.enemy_silhouette_click_area.buttonMode = !0; }), createjs.Tween.get(_1g81._layer.description).to({ 'x': _1g81._layer.description.x + 25, 'alpha': 0 }, 300), createjs.Tween.get(_1g81._layer.smoke_button).to({ 'x': 25, 'alpha': 0 }, 300); }, _1g81._show_enemy_silhouette = function() { var _1g8i = null; _1g81._layer.remove_ship_formation_click_area.interactive = _1g81._layer.remove_ship_formation_click_area.buttonMode = !1, _1g81._layer.enemy_silhouette_click_area.interactive = _1g81._layer.enemy_silhouette_click_area.buttonMode = !1, createjs.Tween.get(_1g81._enemy_deck_silhouette).to({ 'alpha': 1 }, 300).call(function() { var _1g8j = null; _1g81._enemy_deck_silhouette.buttonMode = _1g81._enemy_deck_silhouette.interactive = !0, _1g81._enemy_deck_silhouette.once(_1g7j.EventType.CLICK, function() { var _1g8k = null; _1g81._hide_enemy_silhouette(function() { var _1g8l = null; _1g81._layer.enemy_silhouette_click_area.buttonMode = _1g81._layer.enemy_silhouette_click_area.interactive = !0; }); }), _1g81._layer.remove_ship_formation_click_area.interactive = _1g81._layer.remove_ship_formation_click_area.buttonMode = !0; }); }, _1g81._hide_enemy_silhouette = function(_1g8m) { var _1g8n = null; _1g81._enemy_deck_silhouette.buttonMode = _1g81._enemy_deck_silhouette.interactive = !1, createjs.Tween.get(_1g81._enemy_deck_silhouette).to({ 'alpha': 0 }, 0).call(function() { _1g8m(); }); }, _1g81._remove_ship_formation = function() { var _1g8o = null; _1g81._layer.remove_ship_formation_click_area.interactive = _1g81._layer.remove_ship_formation_click_area.buttonMode = !1, _1g81._layer.enemy_silhouette_click_area.interactive = _1g81._layer.enemy_silhouette_click_area.buttonMode = !1; var _1g8p = 300, _1g8q = new _1g7n.ParallelTask(); _1g8q.add(new _1g7o.TweenTask().addTween(createjs.Tween.get(_1g81._layer.description).to({ 'x': _1g81._layer.description.x - 25, 'alpha': 1 }, _1g8p, createjs.Ease.cubicOut))), _1g8q.add(new _1g7o.TweenTask().addTween(createjs.Tween.get(_1g81._layer.chara).to({ 'x': 0, 'alpha': 1 }, _1g8p, createjs.Ease.cubicOut))), _1g8q.add(new _1g7o.TweenTask().addTween(createjs.Tween.get(_1g81._layer.boxes).to({ 'x': 0, 'alpha': 1 }, _1g8p, createjs.Ease.cubicOut))), _1g8q.add(new _1g7o.TweenTask().addTween(createjs.Tween.get(_1g81._layer.smoke_button).to({ 'x': 0, 'alpha': 1 }, _1g8p, createjs.Ease.cubicOut))), _1g8q.add(new _1g7o.TweenTask().addTween(createjs.Tween.get(_1g81._layer.fade).to({ 'alpha': 1 }, _1g8p, createjs.Ease.cubicOut))); var _1g8r = createjs.Tween.get(null).call(function() { var _1g8s = null; _1g8q.start(function() { var _1g8t = null; _1g81._layer.ship_click_area.interactive = _1g81._layer.ship_click_area.buttonMode = !0, _1g81._layer.ship_click_area.once(_1g7j.EventType.CLICK, _1g81._hide_ship), _1g81._layer.boxes.activate(), _1g81._layer.smoke_button.activate(); }); }); 1 == _1g81._enemy_deck_silhouette.alpha ? _1g81._hide_enemy_silhouette(function() { var _1g8u = null; _1g8r.play(null); }) : _1g8r.play(null); }, _1g81._onSelectFormation = function(_1g8v) { var _1g8w = null; _1g81._layer.ship_click_area.interactive = _1g81._layer.ship_click_area.buttonMode = !1, _1g81._selected_formation = _1g8v, _1g81._use_smoke = _1g81._layer.smoke_button.use_smoke, _1g81._layer.boxes.deactivate(), createjs.Tween.get(_1g81._layer.boxes).to({ 'alpha': 0 }, 200), createjs.Tween.get(_1g81._layer.description).to({ 'alpha': 0 }, 200), createjs.Tween.get(_1g81._layer.smoke_button).to({ 'alpha': 0 }, 200), null == _1g81._fade_hide_t ? _1g81._layer.fade.hide(200, _1g81._showText2) : new _1g7l.WaitTask(200).start(_1g81._showText2); }, _1g81._showText2 = function() { var _1g8x = null, _1g8y = _1g81._telopContainer.bg, _1g8z = _1g81._telopContainer.text; _1g8z.position.set(_1g7a.default.width / 2, _1g7a.default.height / 2), _1g8z.texture = _1g7h.MAP_TELOP.getTexture(4), createjs.Tween.get(_1g8y).to({ 'alpha': 1, 'scaleY': 1 }, 200).wait(950).to({ 'alpha': 0, 'scaleY': 0 }, 200), createjs.Tween.get(_1g8z).wait(150).to({ 'alpha': 1 }, 100).wait(200).to({ 'x': 570 }, 300).to({ 'x': 450, 'alpha': 0 }, 400), null == _1g81._ship_hide_t && createjs.Tween.get(_1g81._layer.chara).wait(950).to({ 'x': -75, 'alpha': 0 }, 600), createjs.Tween.get(_1g81._view.map).wait(950).to({ 'alpha': 0 }, 600).call(function() { var _1g90 = null; _1g81._view.map.ship_icon.stopWave(), _1g81._preEnd(); }), createjs.Tween.get(_1g81._view.upper).wait(950).to({ 'alpha': 0 }, 600), createjs.Tween.get(_1g81._view.gauge_layer).wait(950).to({ 'alpha': 0 }, 600), createjs.Tween.get(_1g81).wait(750).call(function() { var _1g91 = null; _1g81._view.message_box.deactivate(); }); }, _1g81._view = _1g7v, _1g81._deck = _1g7w, _1g81._isLongRange = _1g7x, _1g81._enemy_deck_infos = _1g7y, _1g81._is_smoke = _1g7z, _1g81; } return _1g6r(_1g7u, _1g7s), Object.defineProperty(_1g7u.prototype, 'selected_formation', { 'get': function() { var _1g92 = null; return this._selected_formation; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1g7u.prototype, 'use_smoke', { 'get': function() { var _1g93 = null; return this._use_smoke; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1g7u.prototype, 'skip_battle', { 'get': function() { return !1; }, 'enumerable': !1, 'configurable': !0 }), _1g7u.prototype._start = function() { var _1g94 = null; this._layer = new _1g95(this._is_smoke), this._view.universal_layer.addChild(this._layer), this._telopContainer = new _1g96(), this._view.top_layer.addChild(this._telopContainer), this._enemy_deck_silhouette = new _1g7m.EnemyDeckSilhouette(this._enemy_deck_infos), this._enemy_deck_silhouette.alpha = 0, this._view.universal_layer.addChild(this._enemy_deck_silhouette), this._readyForFlagship(); }, _1g7u.prototype._readyForFlagship = function() { var _1g97 = null, _1g98 = this, _1g99 = this._deck.ships[0], _1g9a = _1g99.mst_id, _1g9b = _1g99.isDamaged(); this._chara = new PIXI.Sprite(); var _1g9c = _1g7b.default.model.ship_graph.get(_1g9a).getMapOffset(_1g9b); this._chara.position.set(-80 + _1g9c.x, -93 + _1g9c.y), this._chara.alpha = 0, this._layer.chara.addChild(this._chara), new _1g7f.ShipLoader().add(_1g9a, _1g9b, 'full').load(function() { var _1g9d = null; _1g98._chara.texture = _1g7b.default.resources.getShip(_1g9a, _1g9b, 'full'), _1g98._showTelopBG(); }); }, _1g7u.prototype._showTelopBG = function() { var _1g9e = null, _1g9f = this._telopContainer.bg; _1g9f.position.set(_1g7a.default.width / 2, _1g7a.default.height / 2), _1g9f.scaleY = 0, _1g9f.alpha = 0, _1g9f.texture = _1g7h.MAP_TELOP.getTexture(2), createjs.Tween.get(_1g9f).to({ 'alpha': 1, 'scaleY': 1 }, 500).call(this._showText); }, _1g7u.prototype._preEnd = function() { var _1g9g = null; this._view.universal_layer.removeChild(this._layer), this._view.universal_layer.removeChild(this._enemy_deck_silhouette), this._view = null, this._deck = null, this._chara = null, this._layer = null, this._isLongRange = null, this._endTask(); }, _1g7u.prototype._addBattleSkip = function() {}, _1g7u; }(_1g7c.TaskBase)); _1g6n.TaskFormationSelectCombined = _1g7r; var _1g95 = function(_1g9h) { var _1g9i = null; function _1g9j(_1g9k) { var _1g9l = null, _1g9m = _1g9h.call(this) || this; return _1g9m._fade = new _1g7d.FadeBox(0.6), _1g9m._fade.hide(0), _1g9m._chara = new PIXI.Sprite(), _1g9m._boxes = new _1g7i.FormationBoxContainerCombined(), _1g9m._description = new PIXI.Sprite(), _1g9m._description.x = 984, _1g9m._description.y = 500, _1g9m._ship_click_area = new PIXI.Graphics(), _1g9m._remove_ship_formation_click_area = new _1g7k.AreaBox(0), _1g9m._remove_ship_formation_click_area.interactive = !1, _1g9m._enemy_silhouette_click_area = new PIXI.Graphics(), _1g9m._smoke_button = new _1g7q.SmokeButton(_1g9k), _1g9m.addChild(_1g9m._fade), _1g9m.addChild(_1g9m._chara), _1g9m.addChild(_1g9m._boxes), _1g9m.addChild(_1g9m._description), _1g9m.addChild(_1g9m._ship_click_area), _1g9m.addChild(_1g9m._remove_ship_formation_click_area), _1g9m.addChild(_1g9m._enemy_silhouette_click_area), _1g9m.addChild(_1g9m._smoke_button), _1g9m; } return _1g6r(_1g9j, _1g9h), Object.defineProperty(_1g9j.prototype, 'fade', { 'get': function() { var _1g9n = null; return this._fade; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1g9j.prototype, 'chara', { 'get': function() { var _1g9o = null; return this._chara; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1g9j.prototype, 'boxes', { 'get': function() { var _1g9p = null; return this._boxes; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1g9j.prototype, 'description', { 'get': function() { var _1g9q = null; return this._description; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1g9j.prototype, 'ship_click_area', { 'get': function() { var _1g9r = null; return this._ship_click_area; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1g9j.prototype, 'remove_ship_formation_click_area', { 'get': function() { var _1g9s = null; return this._remove_ship_formation_click_area; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1g9j.prototype, 'enemy_silhouette_click_area', { 'get': function() { var _1g9t = null; return this._enemy_silhouette_click_area; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1g9j.prototype, 'smoke_button', { 'get': function() { var _1g9u = null; return this._smoke_button; }, 'enumerable': !1, 'configurable': !0 }), _1g9j; }(PIXI.Container), _1g96 = function(_1g9v) { var _1g9w = null; function _1g9x() { var _1g9y = null, _1g9z = _1g9v.call(this) || this; return _1g9z._bg = new _1g7e.Sprite(), _1g9z._bg.anchor.set(0.5), _1g9z._text = new PIXI.Sprite(), _1g9z._text.anchor.set(0.5), _1g9z.addChild(_1g9z._bg), _1g9z.addChild(_1g9z._text), _1g9z; } return _1g6r(_1g9x, _1g9v), Object.defineProperty(_1g9x.prototype, 'bg', { 'get': function() { var _1ga0 = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1g9x.prototype, 'text', { 'get': function() { var _1ga1 = null; return this._text; }, 'enumerable': !1, 'configurable': !0 }), _1g9x; }(PIXI.Container); }, 70085: function(_1ga2, _1ga3, _1ga4) { 'use strict'; var _1ga5 = null; var _1ga6, _1ga7 = this && this.__extends || (_1ga6 = function(_1ga8, _1ga9) { var _1gaa = null; return _1ga6 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1gab, _1gac) { var _1gad = null; _1gab.__proto__ = _1gac; } || function(_1gae, _1gaf) { var _1gag = null; for (var _1gah in _1gaf) Object.prototype.hasOwnProperty.call(_1gaf, _1gah) && (_1gae[_1gah] = _1gaf[_1gah]); }, _1ga6(_1ga8, _1ga9); }, function(_1gai, _1gaj) { var _1gak = null; if ('function' != typeof _1gaj && null !== _1gaj) throw new TypeError('Class extends value ' + String(_1gaj) + ' is not a constructor or null'); function _1gal() { var _1gam = null; this.constructor = _1gai; } _1ga6(_1gai, _1gaj), _1gai.prototype = null === _1gaj ? Object.create(_1gaj) : (_1gal.prototype = _1gaj.prototype, new _1gal()); }), _1gan = this && this.__importDefault || function(_1gao) { var _1gap = null; return _1gao && _1gao.__esModule ? _1gao : { 'default': _1gao }; }; defineModule(_1ga3); Object.defineProperty(_1ga3, '__esModule', { 'value': !0 }), _1ga3.TaskInit = void 0; var _1gaq = _1gan(_1ga4(21359)), _1gar = _1gan(_1ga4(18622)), _1gas = _1ga4(3294), _1gat = _1ga4(81755), _1gau = _1ga4(87475), _1gav = _1ga4(84412), _1gaw = _1ga4(17094), _1gax = _1ga4(94996), _1gay = _1ga4(18851), _1gaz = _1ga4(10742), _1gb0 = function(_1gb1) { var _1gb2 = null; function _1gb3(_1gb4, _1gb5) { var _1gb6 = null, _1gb7 = _1gb1.call(this) || this; return _1gb7._scene = _1gb4, _1gb7._model = _1gb5, _1gb7._black = new _1gau.FadeBox(1), _1gb7; } return _1ga7(_1gb3, _1gb1), _1gb3.prototype._start = function() { var _1gb8 = null, _1gb9 = this; this._black.hide(0), this._scene.view.addChild(this._black), this._black.show(300), new _1gaw.SallyAnimationTask(this._scene.view).start(function() { var _1gba = null; _1gb9._loadMapResource(); }); }, _1gb3.prototype._loadMapResource = function() { var _1gbb = null, _1gbc = this, _1gbd = this._model.sortie.map_id, _1gbe = this._scene.view.map, _1gbf = this._scene.resInfo, _1gbg = this._model.sortie.cells; new _1gax.TaskCreateMap(_1gbd, _1gbe, _1gbf, _1gbg, this._model).start(function() { var _1gbh = null; _1gbc._initMapGauge(); }); }, _1gb3.prototype._initMapGauge = function() { var _1gbi = null, _1gbj = this, _1gbk = 0, _1gbl = 0, _1gbm = this._model.sortie.getNextCell(); if (1 == _1gbm.hasEventMapData()) { if (_1gbk = _1gbm.gauge_max, (_1gbl = _1gbm.gauge_now) <= 0) return void this._loadMapBGM(); } else _1gbk = this._model.sortie.map.defeat_required, _1gbl = _1gbk - this._model.sortie.map.defeat_count; if (_1gbk <= 0) this._loadMapBGM(); else { var _1gbn = this._model.sortie.map, _1gbo = _1gbn.area_id, _1gbp = _1gbn.map_no, _1gbq = _1gbn.getGaugeNum(), _1gbr = _1gav.GaugeSetModel.createKey(_1gbo, _1gbp, _1gbq), _1gbs = _1gaz.MapUtil.isEventArea(_1gbo), _1gbt = _1gar.default.resources.gauge.createLoaderVertical(); _1gbt.add(_1gbr), _1gbt.load(function() { var _1gbu = null, _1gbv = _1gar.default.resources.gauge.getGaugeInfo(_1gbr); if (_1gbv) { var _1gbw = _1gbv.vertical; null != _1gbw && (_1gbj._scene.view.gauge_layer.initialize(_1gbs, _1gbw, _1gbl, _1gbk, 1), _1gbw.x < _1gaq.default.width / 2 && _1gbj._scene.view.frontOfGaugeLayer()); } _1gbj._loadMapBGM(); }); } }, _1gb3.prototype._loadMapBGM = function() { var _1gbx = null, _1gby = this._model.sortie.area_id, _1gbz = this._model.sortie.map_no, _1gc0 = _1gas.MapConst.getMapBGMID(_1gby, _1gbz); 1 == _1gc0.battle_bgm ? _1gar.default.sound.bgm.playBattleBGM(_1gc0.id) : _1gar.default.sound.bgm.play(_1gc0.id), this._showMap(); }, _1gb3.prototype._showMap = function() { var _1gc1 = null, _1gc2 = this; this._black.hide(200, function() { var _1gc3 = null; _1gc2._scene.view.removeChild(_1gc2._black), _1gc2._showShipAndMessageBox(); }); }, _1gb3.prototype._showShipAndMessageBox = function() { var _1gc4 = null, _1gc5 = this; this._scene.view.message_box.activate(), new _1gay.AnimShipInit(this._scene, this._model).start(function() { var _1gc6 = null; _1gc5._endTask(); }); }, _1gb3; }(_1gat.TaskBase); _1ga3.TaskInit = _1gb0; }, 16791: function(_1gc7, _1gc8, _1gc9) { 'use strict'; var _1gca = null; var _1gcb, _1gcc = this && this.__extends || (_1gcb = function(_1gcd, _1gce) { var _1gcf = null; return _1gcb = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1gcg, _1gch) { var _1gci = null; _1gcg.__proto__ = _1gch; } || function(_1gcj, _1gck) { var _1gcl = null; for (var _1gcm in _1gck) Object.prototype.hasOwnProperty.call(_1gck, _1gcm) && (_1gcj[_1gcm] = _1gck[_1gcm]); }, _1gcb(_1gcd, _1gce); }, function(_1gcn, _1gco) { var _1gcp = null; if ('function' != typeof _1gco && null !== _1gco) throw new TypeError('Class extends value ' + String(_1gco) + ' is not a constructor or null'); function _1gcq() { var _1gcr = null; this.constructor = _1gcn; } _1gcb(_1gcn, _1gco), _1gcn.prototype = null === _1gco ? Object.create(_1gco) : (_1gcq.prototype = _1gco.prototype, new _1gcq()); }), _1gcs = this && this.__importDefault || function(_1gct) { var _1gcu = null; return _1gct && _1gct.__esModule ? _1gct : { 'default': _1gct }; }; defineModule(_1gc8); Object.defineProperty(_1gc8, '__esModule', { 'value': !0 }), _1gc8.TaskInitPre = void 0; var _1gcv = _1gcs(_1gc9(18622)), _1gcw = _1gc9(81755), _1gcx = _1gc9(81054), _1gcy = function(_1gcz) { var _1gd0 = null; function _1gd1(_1gd2, _1gd3) { var _1gd4 = null, _1gd5 = _1gcz.call(this) || this; return _1gd5._scene = _1gd2, _1gd5._model = _1gd3, _1gd5; } return _1gcc(_1gd1, _1gcz), _1gd1.prototype._start = function() { var _1gd6 = null; this._loadResources(); }, _1gd1.prototype._loadResources = function() { var _1gd7 = null, _1gd8 = this; new _1gcx.TaskLoadResourcesMap().start(function() { var _1gd9 = null; _1gd8._showViewMain(); }); }, _1gd1.prototype._showViewMain = function() { var _1gda = null, _1gdb = this; this._scene.view.bg.setDay(function() { var _1gdc = null; _1gdb._initialize(); }); }, _1gd1.prototype._initialize = function() { var _1gdd = null; this._scene.view.initialize(); var _1gde = this._model.sortie.area_id, _1gdf = this._model.sortie.map_id, _1gdg = _1gcv.default.model.map.getMapMst(_1gdf.toString()).name; this._scene.view.upper.update(_1gde, _1gdg), this._endTask(); }, _1gd1; }(_1gcw.TaskBase); _1gc8.TaskInitPre = _1gcy; }, 59315: function(_1gdh, _1gdi, _1gdj) { 'use strict'; var _1gdk = null; var _1gdl, _1gdm = this && this.__extends || (_1gdl = function(_1gdn, _1gdo) { var _1gdp = null; return _1gdl = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1gdq, _1gdr) { var _1gds = null; _1gdq.__proto__ = _1gdr; } || function(_1gdt, _1gdu) { var _1gdv = null; for (var _1gdw in _1gdu) Object.prototype.hasOwnProperty.call(_1gdu, _1gdw) && (_1gdt[_1gdw] = _1gdu[_1gdw]); }, _1gdl(_1gdn, _1gdo); }, function(_1gdx, _1gdy) { var _1gdz = null; if ('function' != typeof _1gdy && null !== _1gdy) throw new TypeError('Class extends value ' + String(_1gdy) + ' is not a constructor or null'); function _1ge0() { var _1ge1 = null; this.constructor = _1gdx; } _1gdl(_1gdx, _1gdy), _1gdx.prototype = null === _1gdy ? Object.create(_1gdy) : (_1ge0.prototype = _1gdy.prototype, new _1ge0()); }); defineModule(_1gdi); Object.defineProperty(_1gdi, '__esModule', { 'value': !0 }), _1gdi.TaskLandingBalloon = void 0; var _1ge2 = _1gdj(81755), _1ge3 = _1gdj(85492), _1ge4 = _1gdj(45835), _1ge5 = function(_1ge6) { var _1ge7 = null; function _1ge8(_1ge9, _1gea, _1geb, _1gec, _1ged) { var _1gee = null, _1gef = _1ge6.call(this) || this; return _1gef._layer = _1ge9, _1gef._ship_pos = _1gea, _1gef._drum_num = _1geb, _1gef._daihatsu_num = _1gec, _1gef._direction = _1ged, _1gef; } return _1gdm(_1ge8, _1ge6), _1ge8.prototype._start = function() { var _1geg = null; this._balloon1 = this._createBalloon(this._direction, 1), this._balloon1.initialize(), this._drum_num > 0 && (this._balloon2 = this._createBalloon(this._direction, 2), this._balloon2.initialize(), this._balloon2.update(this._drum_num)), this._daihatsu_num > 0 && (this._balloon3 = this._createBalloon(this._direction, 3), this._balloon3.initialize(), this._balloon3.update(this._daihatsu_num)), this._showBalloons(); }, _1ge8.prototype._createBalloon = function(_1geh, _1gei) { var _1gej = null; return 0 == _1geh ? new _1ge4.LandingBalloonType1(_1gei) : 1 == _1geh ? new _1ge4.LandingBalloonType2(_1gei) : 2 == _1geh ? new _1ge4.LandingBalloonType3(_1gei) : 3 == _1geh ? new _1ge4.LandingBalloonType4(_1gei) : 4 == _1geh ? new _1ge4.LandingBalloonType5(_1gei) : null; }, _1ge8.prototype._showBalloons = function() { var _1gek = null, _1gel = this, _1gem = new _1ge3.TweenTask(); 0 == this._direction ? (_1gem.addTween(this._createShowTween(this._balloon1, 48, -18)), null != this._balloon2 && _1gem.addTween(this._createShowTween(this._balloon2, 0, -42)), null != this._balloon3 && _1gem.addTween(this._createShowTween(this._balloon3, -51, -18))) : 1 == this._direction ? (_1gem.addTween(this._createShowTween(this._balloon1, 50, -9)), null != this._balloon2 && _1gem.addTween(this._createShowTween(this._balloon2, 44, 8)), null != this._balloon3 && _1gem.addTween(this._createShowTween(this._balloon3, -15, 8))) : 2 == this._direction ? (_1gem.addTween(this._createShowTween(this._balloon1, -14, -21)), null != this._balloon2 && _1gem.addTween(this._createShowTween(this._balloon2, -33, -17)), null != this._balloon3 && _1gem.addTween(this._createShowTween(this._balloon3, -24, 8))) : 3 == this._direction ? (_1gem.addTween(this._createShowTween(this._balloon1, -30, 53)), null != this._balloon2 && _1gem.addTween(this._createShowTween(this._balloon2, -21, -25)), null != this._balloon3 && _1gem.addTween(this._createShowTween(this._balloon3, -27, 5))) : 4 == this._direction && (_1gem.addTween(this._createShowTween(this._balloon1, 20, 4)), null != this._balloon2 && _1gem.addTween(this._createShowTween(this._balloon2, 8, 26)), null != this._balloon3 && _1gem.addTween(this._createShowTween(this._balloon3, 0, -19))), _1gem.start(function() { var _1gen = null; _1gel._wait(); }); }, _1ge8.prototype._wait = function() { var _1geo = null, _1gep = this; createjs.Tween.get(null).wait(250).call(function() { var _1geq = null; _1gep._scaling(); }); }, _1ge8.prototype._scaling = function() { var _1ger = null, _1ges = this, _1get = new _1ge3.TweenTask(); _1get.addTween(this._createScalingTween(this._balloon1)), null != this._balloon2 && _1get.addTween(this._createScalingTween(this._balloon2)), null != this._balloon3 && _1get.addTween(this._createScalingTween(this._balloon3)), _1get.start(function() { var _1geu = null; _1ges._wait2(); }); }, _1ge8.prototype._wait2 = function() { var _1gev = null, _1gew = this; createjs.Tween.get(null).wait(2000).call(function() { var _1gex = null; _1gew._hideBalloons(); }); }, _1ge8.prototype._hideBalloons = function() { var _1gey = null, _1gez = this, _1gf0 = new _1ge3.TweenTask(); _1gf0.addTween(this._createHideTween(this._balloon1)), null != this._balloon2 && _1gf0.addTween(this._createHideTween(this._balloon2)), null != this._balloon3 && _1gf0.addTween(this._createHideTween(this._balloon3)), _1gf0.start(function() { var _1gf1 = null; _1gez._endTask(); }); }, _1ge8.prototype._createShowTween = function(_1gf2, _1gf3, _1gf4) { var _1gf5 = null, _1gf6 = this; return _1gf2.x = this._ship_pos.x + _1gf3, _1gf2.y = this._ship_pos.y + _1gf4 + 23, _1gf2.alpha = 0, createjs.Tween.get(_1gf2).call(function() { var _1gf7 = null; _1gf6._layer.addChild(_1gf2); }).to({ 'y': this._ship_pos.y + _1gf4, 'alpha': 1 }, 100, createjs.Ease.sineOut); }, _1ge8.prototype._createScalingTween = function(_1gf8) { var _1gf9 = null, _1gfa = _1gf8.y; return createjs.Tween.get(_1gf8).to({ 'y': _1gfa - 5, 'scaleX': 1.2, 'scaleY': 1.2 }, 150, createjs.Ease.sineOut).to({ 'y': _1gfa, 'scaleX': 1, 'scaleY': 1 }, 300, createjs.Ease.sineOut); }, _1ge8.prototype._createHideTween = function(_1gfb) { var _1gfc = null, _1gfd = this; return createjs.Tween.get(_1gfb).to({ 'y': _1gfb.y + 23, 'alpha': 0 }, 100, createjs.Ease.sineOut).call(function() { var _1gfe = null; _1gfd._layer.removeChild(_1gfb); }); }, _1ge8.prototype._endTask = function() { var _1gff = null; this._layer = null, this._ship_pos = null, this._balloon1 = null, this._balloon2 = null, this._balloon3 = null, _1ge6.prototype._endTask.call(this); }, _1ge8; }(_1ge2.TaskBase); _1gdi.TaskLandingBalloon = _1ge5; }, 90180: function(_1gfg, _1gfh, _1gfi) { 'use strict'; var _1gfj = null; var _1gfk, _1gfl = this && this.__extends || (_1gfk = function(_1gfm, _1gfn) { var _1gfo = null; return _1gfk = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1gfp, _1gfq) { var _1gfr = null; _1gfp.__proto__ = _1gfq; } || function(_1gfs, _1gft) { var _1gfu = null; for (var _1gfv in _1gft) Object.prototype.hasOwnProperty.call(_1gft, _1gfv) && (_1gfs[_1gfv] = _1gft[_1gfv]); }, _1gfk(_1gfm, _1gfn); }, function(_1gfw, _1gfx) { var _1gfy = null; if ('function' != typeof _1gfx && null !== _1gfx) throw new TypeError('Class extends value ' + String(_1gfx) + ' is not a constructor or null'); function _1gfz() { var _1gg0 = null; this.constructor = _1gfw; } _1gfk(_1gfw, _1gfx), _1gfw.prototype = null === _1gfx ? Object.create(_1gfx) : (_1gfz.prototype = _1gfx.prototype, new _1gfz()); }); defineModule(_1gfh); Object.defineProperty(_1gfh, '__esModule', { 'value': !0 }), _1gfh.TaskMapPlane = void 0; var _1gg1 = function(_1gg2) { var _1gg3 = null; function _1gg4(_1gg5, _1gg6, _1gg7) { var _1gg8 = null, _1gg9 = _1gg2.call(this) || this; return _1gg9._scene = _1gg5, _1gg9._model = _1gg6, _1gg9._time = _1gg7, _1gg9; } return _1gfl(_1gg4, _1gg2), _1gg4.prototype._start = function() { var _1gga = null, _1ggb = this, _1ggc = this._model.sortie.getNextCell().no, _1ggd = this._scene.resInfo.getAirRaidOption(_1ggc); null == _1ggd ? this._endTask() : this._scene.view.map.plane_layer.show(_1ggc, _1ggd, this._time, this._model.sortie.map_no, this._model.sortie.area_id, function() { var _1gge = null; _1ggb._endTask(); }); }, _1gg4; }(_1gfi(81755).TaskBase); _1gfh.TaskMapPlane = _1gg1; }, 98284: function(_1ggf, _1ggg, _1ggh) { 'use strict'; var _1ggi = null; var _1ggj, _1ggk = this && this.__extends || (_1ggj = function(_1ggl, _1ggm) { var _1ggn = null; return _1ggj = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ggo, _1ggp) { var _1ggq = null; _1ggo.__proto__ = _1ggp; } || function(_1ggr, _1ggs) { var _1ggt = null; for (var _1ggu in _1ggs) Object.prototype.hasOwnProperty.call(_1ggs, _1ggu) && (_1ggr[_1ggu] = _1ggs[_1ggu]); }, _1ggj(_1ggl, _1ggm); }, function(_1ggv, _1ggw) { var _1ggx = null; if ('function' != typeof _1ggw && null !== _1ggw) throw new TypeError('Class extends value ' + String(_1ggw) + ' is not a constructor or null'); function _1ggy() { var _1ggz = null; this.constructor = _1ggv; } _1ggj(_1ggv, _1ggw), _1ggv.prototype = null === _1ggw ? Object.create(_1ggw) : (_1ggy.prototype = _1ggw.prototype, new _1ggy()); }), _1gh0 = this && this.__importDefault || function(_1gh1) { var _1gh2 = null; return _1gh1 && _1gh1.__esModule ? _1gh1 : { 'default': _1gh1 }; }; defineModule(_1ggg); Object.defineProperty(_1ggg, '__esModule', { 'value': !0 }), _1ggg.TaskMarchRetreatSelect = void 0; var _1gh3 = _1gh0(_1ggh(21359)), _1gh4 = _1ggh(24616), _1gh5 = _1ggh(81755), _1gh6 = _1ggh(54011), _1gh7 = _1ggh(70723), _1gh8 = _1ggh(55896), _1gh9 = _1ggh(35380), _1gha = function(_1ghb) { var _1ghc = null; function _1ghd(_1ghe) { var _1ghf = null, _1ghg = _1ghb.call(this) || this; return _1ghg._result = !1, _1ghg._onSelect = function(_1ghh) { var _1ghi = null; _1gh7.SE.play('106'), _1ghg._result = _1ghh, _1ghg._hide(); }, _1ghg._view = _1ghe, _1ghg; } return _1ggk(_1ghd, _1ghb), Object.defineProperty(_1ghd.prototype, 'result', { 'get': function() { var _1ghj = null; return this._result; }, 'enumerable': !1, 'configurable': !0 }), _1ghd.prototype._start = function() { var _1ghk = null; this._layer = new _1ghl(this._onSelect), this._layer.position.set(_1gh3.default.width / 2, _1gh3.default.height / 2), this._layer.alpha = 0, this._view.addChild(this._layer), this._showBtns(); }, _1ghd.prototype._showBtns = function() { var _1ghm = null, _1ghn = this; this._layer.initialize(), createjs.Tween.get(this._layer).to({ 'alpha': 1 }, 300).call(function() { var _1gho = null; _1ghn._layer.activate(); }); }, _1ghd.prototype._hide = function() { var _1ghp = null, _1ghq = this; this._layer.deactivate(), createjs.Tween.get(this._layer.btn_march).to({ 'x': -_1gh3.default.width / 2 }, 500), createjs.Tween.get(this._layer.btn_retreat).to({ 'x': _1gh3.default.width / 2 }, 500).call(function() { var _1ghr = null; _1ghq._endTask(); }); }, _1ghd.prototype._endTask = function() { var _1ghs = null; this._view.removeChild(this._layer), this._layer.dispose(), this._view = null, this._layer = null, _1ghb.prototype._endTask.call(this); }, _1ghd; }(_1gh5.TaskBase); _1ggg.TaskMarchRetreatSelect = _1gha; var _1ghl = function(_1ght) { var _1ghu = null; function _1ghv(_1ghw) { var _1ghx = null, _1ghy = _1ght.call(this) || this; return _1ghy._btn_march = new _1ghz(_1ghw), _1ghy._btn_march.position.set(-162, 0), _1ghy._btn_retreat = new _1gi0(_1ghw), _1ghy._btn_retreat.position.set(162, 0), _1ghy.addChild(_1ghy._btn_march), _1ghy.addChild(_1ghy._btn_retreat), _1ghy; } return _1ggk(_1ghv, _1ght), Object.defineProperty(_1ghv.prototype, 'btn_march', { 'get': function() { var _1gi1 = null; return this._btn_march; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ghv.prototype, 'btn_retreat', { 'get': function() { var _1gi2 = null; return this._btn_retreat; }, 'enumerable': !1, 'configurable': !0 }), _1ghv.prototype.initialize = function() { var _1gi3 = null; this._btn_march.initialize(), this._btn_retreat.initialize(); }, _1ghv.prototype.activate = function() { var _1gi4 = null; this._btn_march.activate(), this._btn_retreat.activate(); }, _1ghv.prototype.deactivate = function() { var _1gi5 = null; this._btn_march.deactivate(), this._btn_retreat.deactivate(); }, _1ghv.prototype.dispose = function() { var _1gi6 = null; this._btn_march.dispose(), this._btn_retreat.dispose(); }, _1ghv; }(PIXI.Container), _1gi7 = function(_1gi8) { var _1gi9 = null; function _1gia(_1gib, _1gic) { var _1gid = null, _1gie = _1gi8.call(this) || this; return _1gie._onMouseOver = function() { var _1gif = null; _1gie._setTexture(!0), _1gie._wave.start(); }, _1gie._onMouseOut = function() { var _1gig = null; _1gie._setTexture(!1), _1gie._wave.stop(); }, _1gie._onClick = function() { var _1gih = null; 0 != _1gie.buttonMode && null != _1gie._cb_onClick && _1gie._cb_onClick(_1gie._value); }, _1gie._value = _1gib, _1gie._cb_onClick = _1gic, _1gie._wave = new _1gii(), _1gie._btn = new PIXI.Sprite(), _1gie.interactive = !0, _1gie.addChild(_1gie._wave), _1gie.addChild(_1gie._btn), _1gie; } return _1ggk(_1gia, _1gi8), _1gia.prototype._initialize = function(_1gij) { var _1gik = null; for (var _1gil = [new PIXI.Point(-17, -72), new PIXI.Point(83, -62), new PIXI.Point(101, 12), new PIXI.Point(21, 75), new PIXI.Point(-77, 63), new PIXI.Point(-95, -9)], _1gim = 0, _1gin = _1gil; _1gim < _1gin.length; _1gim++) { _1gin[_1gim].x += _1gij; } this.hitArea = new PIXI.Polygon(_1gil), this._wave.initialize(), this._setTexture(!1); }, _1gia.prototype._drawHitArea = function(_1gio) { var _1gip = null; if (null != _1gio) { var _1giq = new PIXI.Graphics(); _1giq.beginFill(65280, 0.3), _1giq.moveTo(_1gio[0].x, _1gio[0].y); for (var _1gir = 1; _1gir < _1gio.length; _1gir++) _1giq.lineTo(_1gio[_1gir].x, _1gio[_1gir].y); _1giq.endFill(), this.addChildAt(_1giq, 0); } }, _1gia.prototype.activate = function() { var _1gis = null; 1 != this.buttonMode && (this.buttonMode = !0, this.on(_1gh9.EventType.MOUSEOVER, this._onMouseOver), this.on(_1gh9.EventType.MOUSEOUT, this._onMouseOut), this.on(_1gh9.EventType.CLICK, this._onClick), 1 == _1gh4.InteractiveUtil.isOnMouse(this) && this._onMouseOver()); }, _1gia.prototype.deactivate = function() { var _1git = null; this.off(_1gh9.EventType.MOUSEOVER, this._onMouseOver), this.off(_1gh9.EventType.MOUSEOUT, this._onMouseOut), this.off(_1gh9.EventType.CLICK, this._onClick), this.buttonMode = !1; }, _1gia.prototype.dispose = function() { var _1giu = null; this._wave.dispose(), this.deactivate(), this._cb_onClick = null; }, _1gia; }(PIXI.Container), _1gii = function(_1giv) { var _1giw = null; function _1gix() { var _1giy = null, _1giz = _1giv.call(this) || this; return _1giz._wave1 = new _1gh6.Sprite(), _1giz._wave1.anchor.set(0.5), _1giz._initWave(_1giz._wave1), _1giz._wave2 = new _1gh6.Sprite(), _1giz._wave2.anchor.set(0.5), _1giz._initWave(_1giz._wave2), _1giz._wave_tweens = new Array(2), _1giz.addChild(_1giz._wave1), _1giz.addChild(_1giz._wave2), _1giz; } return _1ggk(_1gix, _1giv), _1gix.prototype.initialize = function() { var _1gj0 = null; this._wave1.texture = _1gh8.MAP_DECISION.getTexture(0), this._wave2.texture = _1gh8.MAP_DECISION.getTexture(0); }, _1gix.prototype.dispose = function() { var _1gj1 = null; this.stop(); }, _1gix.prototype._initWave = function(_1gj2) { var _1gj3 = null; _1gj2.scale.set(0), _1gj2.alpha = 0; }, _1gix.prototype.start = function() { var _1gj4 = null; this.stop(), this._wave_tweens[0] = createjs.Tween.get(this._wave1, { 'loop': !0 }).to({ 'alpha': 1, 'scaleX': 0.4, 'scaleY': 0.4 }, 400).to({ 'alpha': 0, 'scaleX': 1, 'scaleY': 1 }, 400).to({ 'scaleX': 0, 'scaleY': 0 }, 0).wait(200), this._wave_tweens[1] = createjs.Tween.get(this._wave2, { 'loop': !0 }).wait(200).to({ 'alpha': 1, 'scaleX': 0.4, 'scaleY': 0.4 }, 400).to({ 'alpha': 0, 'scaleX': 1, 'scaleY': 1 }, 400).to({ 'scaleX': 0, 'scaleY': 0 }, 0); }, _1gix.prototype.stop = function() { var _1gj5 = null; for (var _1gj6 = 0; _1gj6 < this._wave_tweens.length; _1gj6++) null != this._wave_tweens[_1gj6] && (this._wave_tweens[_1gj6].setPaused(!0), this._wave_tweens[_1gj6] = null); this._initWave(this._wave1), this._initWave(this._wave2); }, _1gix; }(PIXI.Container), _1gi0 = function(_1gj7) { var _1gj8 = null; function _1gj9(_1gja) { var _1gjb = null; return _1gj7.call(this, !1, _1gja) || this; } return _1ggk(_1gj9, _1gj7), _1gj9.prototype.initialize = function() { var _1gjc = null; this._initialize(0); }, _1gj9.prototype._setTexture = function(_1gjd) { var _1gje = null; this._btn.texture = 1 == _1gjd ? _1gh8.MAP_DECISION.getTexture(14) : _1gh8.MAP_DECISION.getTexture(13), this._btn.x = -Math.round(this._btn.width / 2), this._btn.y = -Math.round(this._btn.height / 2); }, _1gj9; }(_1gi7), _1ghz = function(_1gjf) { var _1gjg = null; function _1gjh(_1gji) { var _1gjj = null; return _1gjf.call(this, !0, _1gji) || this; } return _1ggk(_1gjh, _1gjf), _1gjh.prototype.initialize = function() { var _1gjk = null; this._initialize(-8); }, _1gjh.prototype._setTexture = function(_1gjl) { var _1gjm = null; this._btn.texture = 1 == _1gjl ? _1gh8.MAP_DECISION.getTexture(8) : _1gh8.MAP_DECISION.getTexture(1), this._btn.x = -Math.round(this._btn.width / 2), this._btn.y = -Math.round(this._btn.height / 2); }, _1gjh; }(_1gi7); }, 38233: function(_1gjn, _1gjo, _1gjp) { 'use strict'; var _1gjq = null; var _1gjr, _1gjs = this && this.__extends || (_1gjr = function(_1gjt, _1gju) { var _1gjv = null; return _1gjr = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1gjw, _1gjx) { var _1gjy = null; _1gjw.__proto__ = _1gjx; } || function(_1gjz, _1gk0) { var _1gk1 = null; for (var _1gk2 in _1gk0) Object.prototype.hasOwnProperty.call(_1gk0, _1gk2) && (_1gjz[_1gk2] = _1gk0[_1gk2]); }, _1gjr(_1gjt, _1gju); }, function(_1gk3, _1gk4) { var _1gk5 = null; if ('function' != typeof _1gk4 && null !== _1gk4) throw new TypeError('Class extends value ' + String(_1gk4) + ' is not a constructor or null'); function _1gk6() { var _1gk7 = null; this.constructor = _1gk3; } _1gjr(_1gk3, _1gk4), _1gk3.prototype = null === _1gk4 ? Object.create(_1gk4) : (_1gk6.prototype = _1gk4.prototype, new _1gk6()); }), _1gk8 = this && this.__importDefault || function(_1gk9) { var _1gka = null; return _1gk9 && _1gk9.__esModule ? _1gk9 : { 'default': _1gk9 }; }; defineModule(_1gjo); Object.defineProperty(_1gjo, '__esModule', { 'value': !0 }), _1gjo.TaskNextSpot = void 0; var _1gkb = _1gk8(_1gjp(18622)), _1gkc = _1gjp(81755), _1gkd = _1gjp(8305), _1gke = _1gjp(5527), _1gkf = _1gjp(14921), _1gkg = _1gjp(47287), _1gkh = _1gjp(6934), _1gki = _1gjp(912), _1gkj = _1gjp(10207), _1gkk = _1gjp(6307), _1gkl = _1gjp(90180), _1gkm = _1gjp(15710), _1gkn = _1gjp(75595), _1gko = _1gjp(68526), _1gkp = _1gjp(85645), _1gkq = _1gjp(10294), _1gkr = _1gjp(67232), _1gks = _1gjp(82850), _1gkt = _1gjp(4997), _1gku = _1gjp(24289), _1gkv = _1gjp(23261), _1gkw = _1gjp(61873), _1gkx = _1gjp(24960), _1gky = function(_1gkz) { var _1gl0 = null; function _1gl1(_1gl2, _1gl3, _1gl4, _1gl5, _1gl6) { var _1gl7 = null, _1gl8 = _1gkz.call(this) || this; return _1gl8._scene = _1gl2, _1gl8._model = _1gl3, _1gl8._repair_item = _1gl4, _1gl8._battle_cls = _1gl5, _1gl8._battle_result_cls = _1gl6, _1gl8._cell_open = !1, _1gl8; } return _1gjs(_1gl1, _1gkz), Object.defineProperty(_1gl1.prototype, 'battle_model', { 'get': function() { var _1gl9 = null; return this._battle_model; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1gl1.prototype, 'cell_open', { 'get': function() { var _1gla = null; return this._cell_open; }, 'enumerable': !1, 'configurable': !0 }), _1gl1.prototype._start = function() { var _1glb = null; this._next = this._model.sortie.getNextCell(), this._init(); }, _1gl1.prototype._init = function() { var _1glc = null; this._scene.view.message_box.text = '', this._compass(); }, _1gl1.prototype._compass = function() { var _1gld = null, _1gle = this, _1glf = this._scene.view.map.ship_icon, _1glg = new PIXI.Point(_1glf.x, _1glf.y), _1glh = this._scene.view.map.spotLayer.getSpot(this._next.no), _1gli = new PIXI.Point(_1glh.x, _1glh.y); if (1 == this._next.hasCompass()) { this._scene.view.message_box.text = 'どこに進む?'; var _1glj = new _1gkk.AnimCompass(); this._scene.view.addChild(_1glj), _1glj.initialize(this._next.rashin_id), _1glj.Play(_1glg, _1gli, function() { var _1glk = null; _1glj.Dispose(), _1gle._scene.view.removeChild(_1glj), _1gle._scene.view.message_box.text = '', _1gle._turn(_1gli); }); } else this._turn(_1gli); }, _1gl1.prototype._turn = function(_1gll) { var _1glm = null, _1gln, _1glo = this, _1glp = this._scene.view.map.ship_icon, _1glq = this._scene.resInfo.getShipDirection(this._next.no); _1gln = 1 == _1glq ? 1 : 2 == _1glq ? 2 : _1glp.x > _1gll.x ? 1 : _1glp.x < _1gll.x ? 2 : _1glp.direction, _1glp.turn(_1gln, function() { var _1glr = null; _1glo._jake(); }); }, _1gl1.prototype._jake = function() { var _1gls = null, _1glt = this; if (this._next.jakeID > 0) { var _1glu = this._scene.view.map.ship_icon, _1glv = new PIXI.Point(0, 0), _1glw = this._scene.view.map.spotLayer.getSpot(this._next.no), _1glx = new PIXI.Point(_1glw.x - _1glu.x, _1glw.y - _1glu.y); new _1gkh.AnimPlane(_1glu, _1glv, _1glx).start(function() { var _1gly = null; _1glt._balloon(); }); } else this._balloon(); }, _1gl1.prototype._balloon = function() { var _1glz = null, _1gm0 = this; if (0 == this._next.balloonID) this._underwayReplenishment(); else { var _1gm1 = this._model.deck_f.ships[0].mst_id; _1gkb.default.sound.voice.play(_1gm1.toString(), 26); var _1gm2 = this._scene.view.map.ship_icon, _1gm3 = this._scene.view, _1gm4 = this._next.balloonID, _1gm5 = this._model.sortie.map_id, _1gm6 = this._next.no, _1gm7 = this._model.sortie.now_cell_no, _1gm8 = this._scene.resInfo.getCommentOption(_1gm7), _1gm9 = null, _1gma = 1 == _1gm2.direction ? 7 : 1; if (null == _1gm8) { if (423 == _1gm5) { if (11 == _1gm6) _1gma = 1; else { if (13 == _1gm6 || 21 == _1gm6) _1gma = 7; else { if (25 == _1gm6) { var _1gmb = this._scene.model.sortie.map.getGaugeNum(); 2 == _1gmb ? _1gma = 1 : 3 == _1gmb && (_1gm9 = new PIXI.Point(21, 0)); } } } } else 425 == _1gm5 && (35 != _1gm6 && 40 != _1gm6 || (_1gma = 2)); } else _1gma = _1gm8.type, _1gm9 = _1gm8.offset; var _1gmc = new _1gke.ParallelTask(); _1gmc.add(new _1gkj.AnimShowMapEnemy(this._scene, this._model, 500)), _1gmc.add(new _1gki.AnimBalloon(_1gm3, _1gm4, _1gma, _1gm9)), _1gmc.start(function() { var _1gmd = null; _1gm0._underwayReplenishment(); }); } }, _1gl1.prototype._underwayReplenishment = function() { var _1gme = null, _1gmf = this; new _1gkn.TaskConfirmReplenishment(this._scene, this._model).start(function() { var _1gmg = null; _1gmf._ration(); }); }, _1gl1.prototype._ration = function() { var _1gmh = null, _1gmi = this; new _1gkm.TaskConfirmRation(this._scene, this._model).start(function() { var _1gmj = null; _1gmi._move(); }); }, _1gl1.prototype._move = function() { var _1gmk = null, _1gml = this, _1gmm = this._model.sortie.getNextCell().no, _1gmn = this._model.sortie.getCellInfo(_1gmm), _1gmo = new _1gkg.AnimShipMove(this._scene, this._model, 2000); if (15 == _1gmn.color) _1gmo.initialize(), _1gmo.start(function() { var _1gmp = null; _1gml._showAASW(); }); else { var _1gmq = new _1gkl.TaskMapPlane(this._scene, this._model, 2000); _1gmo.initialize([_1gmq]), _1gmo.start(function() { var _1gmr = null; _1gml._showEnemy(); }); } }, _1gl1.prototype._showAASW = function() { var _1gms = null, _1gmt = this; new _1gkj.AnimShowMapEnemy(this._scene, this._model).start(function() { var _1gmu = null; new _1gkl.TaskMapPlane(_1gmt._scene, _1gmt._model, 2000).start(function() { var _1gmv = null; _1gmt._gimmick(); }); }); }, _1gl1.prototype._showEnemy = function() { var _1gmw = null, _1gmx = this; 1 == this._scene.view.map.enemy_layer.isDisplaying() ? this._gimmick() : new _1gkj.AnimShowMapEnemy(this._scene, this._model).start(function() { var _1gmy = null; _1gmx._gimmick(); }); }, _1gl1.prototype._gimmick = function() { var _1gmz = null; this._AirRaidBattle(); }, _1gl1.prototype._AirRaidBattle = function() { var _1gn0 = null, _1gn1 = this, _1gn2 = this._scene.model.sortie.area_id, _1gn3 = this._scene.model.sortie.map_no, _1gn4 = this._scene.model.sortie.getNextCell(), _1gn5 = _1gn4.getAirraidDataObject(), _1gn6 = _1gn4.hasBokuAirUnit(), _1gn7 = this._scene.resInfo, _1gn8 = this._scene.view.map.plane_layer, _1gn9 = _1gkb.default.view.overLayer, _1gna = this._scene, _1gnb = this._scene.view.map.airbaseLayer, _1gnc = this._model.sortie.map.getGaugeNum(), _1gnd = this._scene.model.sortie.map.m10; 57 == _1gn2 && 3 == _1gn3 && (_1gnd = this._scene.model.sortie.map.availableAirUnitCount > 0 ? 1 : 0), new _1gkw.AirRaidTask(_1gn2, _1gn3, _1gnc, _1gn5, _1gn6, _1gn7, _1gn8, _1gn9, _1gna, _1gnb, this._battle_cls, _1gnd).start(function() { var _1gne = null, _1gnf = _1gkf.ObjUtil.getNumber(_1gn5, 'api_m1'), _1gng = _1gn1._model.sortie.map_id, _1gnh = _1gn1._scene.view, _1gni = _1gkf.ObjUtil.getNumber(_1gn5, 'api_m10'), _1gnj = _1gkf.MapUtil.getCellOpenOption(_1gng, _1gkf.CellOpenScene.AIR_RAID, _1gnc, _1gnf, _1gni); if (null != _1gnj) return new _1gkx.EventTaskCellOpen(_1gng, _1gn7, _1gnh, _1gnc, _1gnf, _1gnj).start(function() { var _1gnk = null; _1gn1._endTask(); }), void(_1gn1._cell_open = !0); _1gn1._cellEvent(); }); }, _1gl1.prototype._cellEvent = function() { var _1gnl = null, _1gnm, _1gnn = this, _1gno = this._model.sortie.area_id, _1gnp = this._model.sortie.map_no, _1gnq = this._next.no, _1gnr = this._next.event_id; 39 != _1gno || 1 != _1gnp || 13 != _1gnq && 18 != _1gnq ? 2 == _1gnr ? _1gnm = new _1gkr.CellTaskItem(this._scene, this._model) : 3 == _1gnr ? _1gnm = new _1gkq.CellTaskHappening(this._scene, this._model) : 4 == _1gnr ? _1gnm = this._createCellTaskBattle(!1) : 5 == _1gnr ? _1gnm = this._createCellTaskBattle(!0) : 6 == _1gnr ? _1gnm = new _1gks.CellTaskFancy(this._scene, this._model) : 7 == _1gnr ? _1gnm = new _1gkt.CellTaskAirReconnaissance(this._scene, this._model) : 8 == _1gnr ? _1gnm = new _1gku.CellTaskAnchor(this._scene, this._model) : 9 == _1gnr ? _1gnm = new _1gkv.CellTaskLanding(this._scene, this._model) : 10 == _1gnr && (_1gnm = new _1gko.CellTaskAnchorageRepair(this._scene, this._model)) : _1gnm = new _1gkr.CellTaskItem(this._scene, this._model), null != _1gnm ? _1gnm.start(function() { var _1gns = null; _1gnn._endTask(); }) : this._endTask(); }, _1gl1.prototype._createCellTaskBattle = function(_1gnt) { var _1gnu = null, _1gnv = this._model.sortie.getNextCell(); this._battle_model = new _1gkd.BattleSceneModel(!1), this._battle_model.updateDeckData(this._model.deck_f, null); var _1gnw = this._scene.user_select.supply_on_the_sea, _1gnx = this._scene.user_select.ration; this._battle_model.setMapData(this._repair_item, _1gnw, _1gnx); var _1gny = this._model.sortie.area_id, _1gnz = this._model.sortie.map_no, _1go0 = _1gnv.no, _1go1 = this._next.event_detail_id, _1go2 = this._next.getEnemyDeckSilhouette(), _1go3 = this._next.getLimitedSmoke(); if (this._battle_model.map_info.init(_1gny, _1gnz, _1go0, _1gnt, _1go1), 1 == _1gnv.hasEventMapData()) { var _1go4 = this._model.sortie.getNextCell().gauge_max, _1go5 = this._model.sortie.getNextCell().gauge_now, _1go6 = (this._model.sortie.getGaugeKey(), this._model.sortie.map.gauge_type), _1go7 = this._model.sortie.map.getGaugeNum(); this._battle_model.setMapGaugeInfo(_1go5, _1go4, _1go6, _1go7); } else _1go5 = (_1go4 = this._model.sortie.map.defeat_required) - this._model.sortie.map.defeat_count, this._model.sortie.getGaugeKey(), _1go6 = 1, _1go7 = this._model.sortie.map.getGaugeNum(), this._battle_model.setMapGaugeInfo(_1go5, _1go4, _1go6, _1go7); return new _1gkp.CellTaskBattle(this._scene, this._battle_model, this._battle_cls, this._battle_result_cls, _1go2, _1go3); }, _1gl1; }(_1gkc.TaskBase); _1gjo.TaskNextSpot = _1gky; }, 31717: function(_1go8, _1go9, _1goa) { 'use strict'; var _1gob = null; var _1goc, _1god = this && this.__extends || (_1goc = function(_1goe, _1gof) { var _1gog = null; return _1goc = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1goh, _1goi) { var _1goj = null; _1goh.__proto__ = _1goi; } || function(_1gok, _1gol) { var _1gom = null; for (var _1gon in _1gol) Object.prototype.hasOwnProperty.call(_1gol, _1gon) && (_1gok[_1gon] = _1gol[_1gon]); }, _1goc(_1goe, _1gof); }, function(_1goo, _1gop) { var _1goq = null; if ('function' != typeof _1gop && null !== _1gop) throw new TypeError('Class extends value ' + String(_1gop) + ' is not a constructor or null'); function _1gor() { var _1gos = null; this.constructor = _1goo; } _1goc(_1goo, _1gop), _1goo.prototype = null === _1gop ? Object.create(_1gop) : (_1gor.prototype = _1gop.prototype, new _1gor()); }); defineModule(_1go9); Object.defineProperty(_1go9, '__esModule', { 'value': !0 }), _1go9.Balloon = _1go9.TaskReplenishmentBalloonEffect = void 0; var _1got = _1goa(81755), _1gou = _1goa(55535), _1gov = _1goa(74876), _1gow = _1goa(79258), _1gox = function(_1goy) { var _1goz = null; function _1gp0(_1gp1, _1gp2, _1gp3) { var _1gp4 = null, _1gp5 = _1goy.call(this) || this; if (_1gp5._buff = function() { var _1gp6 = null; for (var _1gp7 = _1gp5._scene.view.map.ship_icon.under, _1gp8 = new _1gou.SerialTask(), _1gp9 = 0; _1gp9 < _1gp5._buff_count; _1gp9++) _1gp8.add(new _1gow.TaskReplenishmentBuff(_1gp7)); _1gp8.start(_1gp5._hideBalloon); }, _1gp5._hideBalloon = function() { var _1gpa = null, _1gpb = _1gp5._balloon.y + 23; createjs.Tween.get(_1gp5._balloon).to({ 'y': _1gpb, 'alpha': 0 }, 100).call(function() { var _1gpc = null; _1gp5._balloon.parent.removeChild(_1gp5._balloon), _1gp5._endTask(); }); }, _1gp5._scene = _1gp1, _1gp5._buff_count = _1gp2, _1gp5._bln_type = 1, null != _1gp3 && null != _1gp3.bln) { var _1gpd = _1gp3.bln; _1gp5._offset = null == _1gpd ? void 0 : _1gpd.offset, _1gp5._bln_type = null == _1gpd ? void 0 : _1gpd.type; } return _1gp5; } return _1god(_1gp0, _1goy), _1gp0.prototype._start = function() { var _1gpe = null; this._showBalloon(); }, _1gp0.prototype._showBalloon = function() { var _1gpf = null, _1gpg = this._scene.view.map.ship_icon; this._balloon = new _1gph(), this._balloon.initialize(this._bln_type), this._balloon.x = _1gpg.x + 21, this._balloon.y = _1gpg.y - 6, this._balloon.alpha = 0, null != this._offset && (this._balloon.x += this._offset.x, this._balloon.y += this._offset.y), this._scene.view.word_balloons_layer.addChild(this._balloon), createjs.Tween.get(this._balloon).wait(200).to({ 'y': this._balloon.y - 23, 'alpha': 1 }, 100).wait(200).call(this._buff); }, _1gp0; }(_1got.TaskBase); _1go9.TaskReplenishmentBalloonEffect = _1gox; var _1gph = function(_1gpi) { var _1gpj = null; function _1gpk() { var _1gpl = null, _1gpm = _1gpi.call(this) || this; return _1gpm._bg = new PIXI.Sprite(), _1gpm._bg.position.set(-11, -128), _1gpm.addChild(_1gpm._bg), _1gpm._icon = new PIXI.Sprite(), _1gpm._icon.position.set(-3, -105), _1gpm.addChild(_1gpm._icon), _1gpm._label = new PIXI.Sprite(), _1gpm._label.position.set(9, -47), _1gpm.addChild(_1gpm._label), _1gpm; } return _1god(_1gpk, _1gpi), _1gpk.prototype.initialize = function(_1gpn) { var _1gpo = null; this._bg.texture = this._getBgTexture(_1gpn), this._icon.texture = _1gov.MAP_CELL_EVENT.getTexture(49), this._label.texture = _1gov.MAP_CELL_EVENT.getTexture(73); }, _1gpk.prototype._getBgTexture = function(_1gpp) { var _1gpq = null; return 6 === _1gpp ? _1gov.MAP_CELL_EVENT.getTexture(18) : _1gov.MAP_CELL_EVENT.getTexture(17); }, _1gpk; }(PIXI.Container); _1go9.Balloon = _1gph; }, 79258: function(_1gpr, _1gps, _1gpt) { 'use strict'; var _1gpu = null; var _1gpv, _1gpw = this && this.__extends || (_1gpv = function(_1gpx, _1gpy) { var _1gpz = null; return _1gpv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1gq0, _1gq1) { var _1gq2 = null; _1gq0.__proto__ = _1gq1; } || function(_1gq3, _1gq4) { var _1gq5 = null; for (var _1gq6 in _1gq4) Object.prototype.hasOwnProperty.call(_1gq4, _1gq6) && (_1gq3[_1gq6] = _1gq4[_1gq6]); }, _1gpv(_1gpx, _1gpy); }, function(_1gq7, _1gq8) { var _1gq9 = null; if ('function' != typeof _1gq8 && null !== _1gq8) throw new TypeError('Class extends value ' + String(_1gq8) + ' is not a constructor or null'); function _1gqa() { var _1gqb = null; this.constructor = _1gq7; } _1gpv(_1gq7, _1gq8), _1gq7.prototype = null === _1gq8 ? Object.create(_1gq8) : (_1gqa.prototype = _1gq8.prototype, new _1gqa()); }); defineModule(_1gps); Object.defineProperty(_1gps, '__esModule', { 'value': !0 }), _1gps.TaskReplenishmentBuff = void 0; var _1gqc = _1gpt(81755), _1gqd = _1gpt(54011), _1gqe = _1gpt(70723), _1gqf = _1gpt(74876), _1gqg = function(_1gqh) { var _1gqi = null; function _1gqj(_1gqk) { var _1gql = null, _1gqm = _1gqh.call(this) || this; return _1gqm._layer = _1gqk, _1gqm; } return _1gpw(_1gqj, _1gqh), _1gqj.prototype._start = function() { var _1gqn = null; this._img1 = new _1gqd.Sprite(_1gqf.MAP_CELL_EVENT.getTexture(61)), this._img1.anchor.set(0.5), this._img1.scale.set(0.6), this._img1.y = -4, this._img1.alpha = 0, this._layer.addChild(this._img1), this._img2 = new _1gqd.Sprite(_1gqf.MAP_CELL_EVENT.getTexture(62)), this._img2.anchor.set(0.5), this._img2.scale.set(0.6), this._img2.y = -4, this._img2.alpha = 0, this._layer.addChild(this._img2), this._img3 = new _1gqd.Sprite(_1gqf.MAP_CELL_EVENT.getTexture(63)), this._img3.anchor.set(0.5), this._img3.scale.set(0.6), this._img3.y = -4, this._img3.alpha = 0, this._layer.addChild(this._img3), this._anim(); }, _1gqj.prototype._anim = function() { var _1gqo = null, _1gqp = this; _1gqe.SE.play('213'), createjs.Tween.get(this._img1).to({ 'sceleX': 1, 'scaleY': 1, 'alpha': 1 }, 200).to({ 'sceleX': 1.2, 'scaleY': 1.2, 'alpha': 0 }, 300), createjs.Tween.get(this._img2).wait(133).to({ 'sceleX': 1, 'scaleY': 1, 'alpha': 1 }, 200).to({ 'sceleX': 1.2, 'scaleY': 1.2, 'alpha': 0 }, 300), createjs.Tween.get(this._img3).wait(266).to({ 'sceleX': 1, 'scaleY': 1, 'alpha': 1 }, 200).to({ 'sceleX': 1.3, 'scaleY': 1.3, 'alpha': 0 }, 300).wait(300).call(function() { var _1gqq = null; _1gqp._layer.removeChild(_1gqp._img1), _1gqp._layer.removeChild(_1gqp._img2), _1gqp._layer.removeChild(_1gqp._img3), _1gqp._endTask(); }); }, _1gqj.prototype._endTask = function() { var _1gqr = null; this._layer = null, _1gqh.prototype._endTask.call(this); }, _1gqj; }(_1gqc.TaskBase); _1gps.TaskReplenishmentBuff = _1gqg; }, 86156: function(_1gqs, _1gqt, _1gqu) { 'use strict'; var _1gqv = null; var _1gqw, _1gqx = this && this.__extends || (_1gqw = function(_1gqy, _1gqz) { var _1gr0 = null; return _1gqw = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1gr1, _1gr2) { var _1gr3 = null; _1gr1.__proto__ = _1gr2; } || function(_1gr4, _1gr5) { var _1gr6 = null; for (var _1gr7 in _1gr5) Object.prototype.hasOwnProperty.call(_1gr5, _1gr7) && (_1gr4[_1gr7] = _1gr5[_1gr7]); }, _1gqw(_1gqy, _1gqz); }, function(_1gr8, _1gr9) { var _1gra = null; if ('function' != typeof _1gr9 && null !== _1gr9) throw new TypeError('Class extends value ' + String(_1gr9) + ' is not a constructor or null'); function _1grb() { var _1grc = null; this.constructor = _1gr8; } _1gqw(_1gr8, _1gr9), _1gr8.prototype = null === _1gr9 ? Object.create(_1gr9) : (_1grb.prototype = _1gr9.prototype, new _1grb()); }), _1grd = this && this.__importDefault || function(_1gre) { var _1grf = null; return _1gre && _1gre.__esModule ? _1gre : { 'default': _1gre }; }; defineModule(_1gqt); Object.defineProperty(_1gqt, '__esModule', { 'value': !0 }), _1gqt.TaskReplenishmentEffect = void 0; var _1grg = _1grd(_1gqu(18622)), _1grh = _1gqu(81755), _1gri = _1gqu(5527), _1grj = _1gqu(56494), _1grk = _1gqu(20137), _1grl = _1gqu(31717), _1grm = function(_1grn) { var _1gro = null; function _1grp(_1grq, _1grr, _1grs) { var _1grt = null, _1gru = _1grn.call(this) || this; return _1gru._playVoiceFrom = function() { var _1grv = null; _1gru._scene.view.message_box.text = '艦隊に洋上補給を行います。'; var _1grw = new _1gri.ParallelTask(); _1grw.add(new _1grj.WaitTask(1000)), _1grw.add(new _1grx(_1gru._ship_from.mst_id, 26)), _1grw.start(function() { var _1gry = null; _1gru._showShipTo(); }); }, _1gru._playVoiceTo = function() { var _1grz = null, _1gs0 = new _1gri.ParallelTask(); _1gs0.add(new _1grj.WaitTask(2000)), _1gs0.add(new _1grx(_1gru._ship_to.mst_id, 27)), _1gs0.start(function() { var _1gs1 = null; _1gru._hideShips(); }); }, _1gru._scene = _1grq, _1gru._model = _1grr, _1gru._data = _1grs, _1gru; } return _1gqx(_1grp, _1grn), _1grp.prototype._start = function() { var _1gs2 = null; this._loadShipResource(); }, _1grp.prototype._loadShipResource = function() { var _1gs3 = null, _1gs4 = this; this._ship_from = this._getShip(this._data.ship_mem_id), this._ship_to = this._getShip(this._data.ship_mem_id_supplied); var _1gs5 = new _1grk.ShipLoader(); _1gs5.add(this._ship_from.mst_id, this._ship_from.isDamaged(), 'full'), null != this._ship_to && _1gs5.add(this._ship_to.mst_id, this._ship_to.isDamaged(), 'full'), _1gs5.load(function() { var _1gs6 = null; _1gs4._anim(); }); }, _1grp.prototype._anim = function() { var _1gs7 = null, _1gs8 = this, _1gs9 = this._ship_from.mst_id, _1gsa = this._ship_from.isDamaged(), _1gsb = _1grg.default.resources.getShip(_1gs9, _1gsa, 'full'); this._ship_from_sprite = new PIXI.Sprite(_1gsb); var _1gsc = _1grg.default.model.ship_graph.get(_1gs9).getMapOffset(_1gsa); this._ship_from_x = -80 + _1gsc.x, this._ship_from_sprite.x = this._ship_from_x - 300, this._ship_from_sprite.y = -93 + _1gsc.y, this._ship_from_sprite.alpha = 0, this._scene.view.chara_layer.addChild(this._ship_from_sprite), createjs.Tween.get(this._ship_from_sprite).to({ 'x': this._ship_from_x, 'alpha': 1 }, 750, createjs.Ease.quadInOut), createjs.Tween.get(null).wait(450).call(function() { var _1gsd = null; _1gs8._playVoiceFrom(); }); }, _1grp.prototype._showShipTo = function() { var _1gse = null, _1gsf = this; if (null == this._ship_to) createjs.Tween.get(null).wait(1000).call(function() { var _1gsg = null; _1gsf._hideShips(); }); else { var _1gsh = this._ship_to.mst_id, _1gsi = this._ship_to.isDamaged(), _1gsj = _1grg.default.resources.getShip(_1gsh, _1gsi, 'full'); this._ship_to_sprite = new PIXI.Sprite(_1gsj); var _1gsk = _1grg.default.model.ship_graph.get(_1gsh).getMapOffset(_1gsi); this._ship_to_x = 520 + _1gsk.x, this._ship_to_sprite.x = this._ship_to_x + 300, this._ship_to_sprite.y = -93 + _1gsk.y, this._ship_to_sprite.alpha = 0, this._scene.view.chara_layer.addChild(this._ship_to_sprite), createjs.Tween.get(this._ship_to_sprite).to({ 'x': this._ship_to_x, 'alpha': 1 }, 750, createjs.Ease.quadInOut), createjs.Tween.get(null).wait(450).call(function() { var _1gsl = null; _1gsf._playVoiceTo(); }); } }, _1grp.prototype._hideShips = function() { var _1gsm = null, _1gsn = this; createjs.Tween.get(this._ship_from_sprite).to({ 'x': this._ship_from_x - 300, 'alpha': 0 }, 300, createjs.Ease.sineIn).call(function() { var _1gso = null; _1gsn._shipIconEffect(); }), null != this._ship_to && createjs.Tween.get(this._ship_to_sprite).to({ 'x': this._ship_to_x + 300, 'alpha': 0 }, 300, createjs.Ease.sineIn); }, _1grp.prototype._shipIconEffect = function() { var _1gsp = null, _1gsq = this, _1gsr = this._data.num_of_use, _1gss = this._model.sortie.now_cell_no, _1gst = this._scene.resInfo.getReplenishConfirmOffsets(_1gss); new _1grl.TaskReplenishmentBalloonEffect(this._scene, _1gsr, _1gst).start(function() { var _1gsu = null; _1gsq._scene.view.message_box.text = '', createjs.Tween.get(null).wait(500).call(function() { var _1gsv = null; _1gsq._endTask(); }); }); }, _1grp.prototype._getShip = function(_1gsw) { var _1gsx = null; for (var _1gsy = 0, _1gsz = this._model.deck_f.ships; _1gsy < _1gsz.length; _1gsy++) { var _1gt0 = _1gsz[_1gsy]; if (null != _1gt0 && _1gt0.mem_id == _1gsw) return _1gt0; } return null; }, _1grp; }(_1grh.TaskBase); _1gqt.TaskReplenishmentEffect = _1grm; var _1grx = function(_1gt1) { var _1gt2 = null; function _1gt3(_1gt4, _1gt5) { var _1gt6 = null, _1gt7 = _1gt1.call(this) || this; return _1gt7._onVoiceEnd = function() { var _1gt8 = null; _1gt7._endTask(); }, _1gt7._mst_id = _1gt4, _1gt7._voice_id = _1gt5, _1gt7; } return _1gqx(_1gt3, _1gt1), _1gt3.prototype._start = function() { var _1gt9 = null; _1grg.default.option.vol_voice <= 0 ? this._endTask() : _1grg.default.sound.voice.play(this._mst_id.toString(), this._voice_id, this._onVoiceEnd); }, _1gt3; }(_1grh.TaskBase); }, 36564: function(_1gta, _1gtb, _1gtc) { 'use strict'; var _1gtd = null; var _1gte, _1gtf = this && this.__extends || (_1gte = function(_1gtg, _1gth) { var _1gti = null; return _1gte = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1gtj, _1gtk) { var _1gtl = null; _1gtj.__proto__ = _1gtk; } || function(_1gtm, _1gtn) { var _1gto = null; for (var _1gtp in _1gtn) Object.prototype.hasOwnProperty.call(_1gtn, _1gtp) && (_1gtm[_1gtp] = _1gtn[_1gtp]); }, _1gte(_1gtg, _1gth); }, function(_1gtq, _1gtr) { var _1gts = null; if ('function' != typeof _1gtr && null !== _1gtr) throw new TypeError('Class extends value ' + String(_1gtr) + ' is not a constructor or null'); function _1gtt() { var _1gtu = null; this.constructor = _1gtq; } _1gte(_1gtq, _1gtr), _1gtq.prototype = null === _1gtr ? Object.create(_1gtr) : (_1gtt.prototype = _1gtr.prototype, new _1gtt()); }), _1gtv = this && this.__importDefault || function(_1gtw) { var _1gtx = null; return _1gtw && _1gtw.__esModule ? _1gtw : { 'default': _1gtw }; }; defineModule(_1gtb); Object.defineProperty(_1gtb, '__esModule', { 'value': !0 }), _1gtb.TaskShowMapEndView = void 0; var _1gty = _1gtv(_1gtc(21359)), _1gtz = _1gtc(81755), _1gu0 = _1gtc(54011), _1gu1 = _1gtc(79899), _1gu2 = _1gtc(67273), _1gu3 = _1gtc(37842), _1gu4 = _1gtc(35380), _1gu5 = function(_1gu6) { var _1gu7 = null; function _1gu8(_1gu9, _1gua) { var _1gub = null, _1guc = _1gu6.call(this) || this; return _1guc._shutter = _1gu9, _1guc._item_ids = _1gua, _1guc; } return _1gtf(_1gu8, _1gu6), _1gu8.prototype._start = function() { var _1gud = null, _1gue = this; this._view = new _1gu3.MapEndView(), this._view.initialize(this._item_ids), this._view.alpha = 0, this._view.content.alpha = 0, this._view.gearBtn.visible = !1, this._shutter.addChild(this._view); var _1guf = _1gu2.MAP_TELOP.getTexture(3); this._telopBG = new _1gu0.Sprite(_1guf), this._telopBG.position.set(_1gty.default.width / 2, _1gty.default.height / 2), this._telopBG.anchor.set(0.5), this._telopBG.scale.y = 0, this._shutter.addChild(this._telopBG), createjs.Tween.get(this._telopBG).to({ 'scaleY': 1 }, 300).call(function() { var _1gug = null; _1gue._showMessage(); }); }, _1gu8.prototype._showMessage = function() { var _1guh = null, _1gui = this, _1guj = _1gu2.MAP_TELOP.getTexture(6); this._telopText = new _1gu0.Sprite(_1guj), this._telopText.position.set(_1gty.default.width / 2 + 240, _1gty.default.height / 2), this._telopText.anchor.set(0.5), this._telopText.alpha = 0, this._shutter.addChild(this._telopText), createjs.Tween.get(this._telopText).to({ 'x': _1gty.default.width / 2 + 180, 'alpha': 1 }, 300).to({ 'x': _1gty.default.width / 2 }, 400).to({ 'x': _1gty.default.width / 2 - 60, 'alpha': 0 }, 400).call(function() { var _1guk = null; _1gui._shutter.removeChild(_1gui._telopText), _1gui._closeTelop(); }); }, _1gu8.prototype._closeTelop = function() { var _1gul = null, _1gum = this; createjs.Tween.get(this._telopBG).to({ 'scaleY': 0 }, 300).call(function() { var _1gun = null; _1gum._shutter.removeChild(_1gum._telopBG); }), createjs.Tween.get(this._view).to({ 'alpha': 1 }, 200).call(function() { var _1guo = null; _1gum._showContent(); }); }, _1gu8.prototype._showContent = function() { var _1gup = null, _1guq = this; this._shutter.close(), this._shutter.once('closed', function() { var _1gur = null; createjs.Tween.get(_1guq._view.content).to({ 'alpha': 1 }, 200).call(function() { var _1gus = null; _1guq._waitClick(); }); }); }, _1gu8.prototype._waitClick = function() { var _1gut = null, _1guu = this, _1guv = new _1gu1.AreaBox(0); _1guv.interactive = !0, _1guv.buttonMode = !0, this._shutter.addChild(_1guv), this._view.gearBtn.visible = !0, this._view.gearBtn.activate(), _1guv.once(_1gu4.EventType.CLICK, function() { var _1guw = null; _1guu._shutter.removeChild(_1guv), _1guu._hideView(); }); }, _1gu8.prototype._hideView = function() { var _1gux = null, _1guy = this; createjs.Tween.get(this._view).to({ 'alpha': 0 }, 200).call(function() { var _1guz = null; _1guy._view.gearBtn.deactivate(), _1guy._shutter.removeChild(_1guy._view), _1guy._endTask(); }); }, _1gu8; }(_1gtz.TaskBase); _1gtb.TaskShowMapEndView = _1gu5; }, 24: function(_1gv0, _1gv1, _1gv2) { 'use strict'; var _1gv3 = null; var _1gv4, _1gv5 = this && this.__extends || (_1gv4 = function(_1gv6, _1gv7) { var _1gv8 = null; return _1gv4 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1gv9, _1gva) { var _1gvb = null; _1gv9.__proto__ = _1gva; } || function(_1gvc, _1gvd) { var _1gve = null; for (var _1gvf in _1gvd) Object.prototype.hasOwnProperty.call(_1gvd, _1gvf) && (_1gvc[_1gvf] = _1gvd[_1gvf]); }, _1gv4(_1gv6, _1gv7); }, function(_1gvg, _1gvh) { var _1gvi = null; if ('function' != typeof _1gvh && null !== _1gvh) throw new TypeError('Class extends value ' + String(_1gvh) + ' is not a constructor or null'); function _1gvj() { var _1gvk = null; this.constructor = _1gvg; } _1gv4(_1gvg, _1gvh), _1gvg.prototype = null === _1gvh ? Object.create(_1gvh) : (_1gvj.prototype = _1gvh.prototype, new _1gvj()); }), _1gvl = this && this.__importDefault || function(_1gvm) { var _1gvn = null; return _1gvm && _1gvm.__esModule ? _1gvm : { 'default': _1gvm }; }; defineModule(_1gv1); Object.defineProperty(_1gv1, '__esModule', { 'value': !0 }), _1gv1.TaskTaihaShingunSelect = void 0; var _1gvo = _1gvl(_1gv2(21359)), _1gvp = _1gv2(81755), _1gvq = _1gv2(54011), _1gvr = _1gv2(70723), _1gvs = _1gv2(55896), _1gvt = _1gv2(35380), _1gvu = function(_1gvv) { var _1gvw = null; function _1gvx(_1gvy, _1gvz, _1gw0) { var _1gw1 = null, _1gw2 = _1gvv.call(this) || this; return _1gw2._result = 0, _1gw2._onSelect = function(_1gw3) { var _1gw4 = null; _1gvr.SE.play('106'), _1gw2._result = _1gw3, _1gw2._hide(); }, _1gw2._parent_layer = _1gvy, _1gw2._enabled_youin = _1gvz, _1gw2._enabled_megami = _1gw0, _1gw2; } return _1gv5(_1gvx, _1gvv), Object.defineProperty(_1gvx.prototype, 'result', { 'get': function() { var _1gw5 = null; return this._result; }, 'enumerable': !1, 'configurable': !0 }), _1gvx.prototype._start = function() { var _1gw6 = null; this._layer = new _1gw7(this._onSelect), this._layer.position.set(_1gvo.default.width / 2, _1gvo.default.height / 2), this._layer.alpha = 0, this._parent_layer.addChild(this._layer), this._showBtns(); }, _1gvx.prototype._showBtns = function() { var _1gw8 = null, _1gw9 = this; this._layer.initialize(this._enabled_youin, this._enabled_megami), createjs.Tween.get(this._layer).to({ 'alpha': 1 }, 300).call(function() { var _1gwa = null; _1gw9._layer.activate(); }); }, _1gvx.prototype._hide = function() { var _1gwb = null, _1gwc = this; this._layer.deactivate(), createjs.Tween.get(this._layer.btn_youin).to({ 'x': -_1gvo.default.width / 2 }, 500), createjs.Tween.get(this._layer.btn_megami).to({ 'x': -_1gvo.default.width / 2 }, 500), createjs.Tween.get(this._layer.btn_tettai).to({ 'x': _1gvo.default.width / 2 }, 500).call(function() { var _1gwd = null; _1gwc._endTask(); }); }, _1gvx.prototype._endTask = function() { var _1gwe = null; this._parent_layer.removeChild(this._layer), this._layer.dispose(), this._parent_layer = null, this._layer = null, _1gvv.prototype._endTask.call(this); }, _1gvx; }(_1gvp.TaskBase); _1gv1.TaskTaihaShingunSelect = _1gvu; var _1gw7 = function(_1gwf) { var _1gwg = null; function _1gwh(_1gwi) { var _1gwj = null, _1gwk = _1gwf.call(this) || this; return _1gwk._btn_youin = new _1gwl(_1gwi), _1gwk._btn_youin.position.set(-185, -105), _1gwk.addChild(_1gwk._btn_youin), _1gwk._btn_megami = new _1gwm(_1gwi), _1gwk._btn_megami.position.set(-185, 174), _1gwk.addChild(_1gwk._btn_megami), _1gwk._btn_tettai = new _1gwn(_1gwi), _1gwk._btn_tettai.position.set(261, -9), _1gwk.addChild(_1gwk._btn_tettai), _1gwk; } return _1gv5(_1gwh, _1gwf), Object.defineProperty(_1gwh.prototype, 'btn_youin', { 'get': function() { var _1gwo = null; return this._btn_youin; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1gwh.prototype, 'btn_megami', { 'get': function() { var _1gwp = null; return this._btn_megami; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1gwh.prototype, 'btn_tettai', { 'get': function() { var _1gwq = null; return this._btn_tettai; }, 'enumerable': !1, 'configurable': !0 }), _1gwh.prototype.initialize = function(_1gwr, _1gws) { var _1gwt = null; this._btn_youin.initialize(_1gwr), this._btn_megami.initialize(_1gws), this._btn_tettai.initialize(); }, _1gwh.prototype.activate = function() { var _1gwu = null; this._btn_youin.activate(), this._btn_megami.activate(), this._btn_tettai.activate(); }, _1gwh.prototype.deactivate = function() { var _1gwv = null; this._btn_youin.deactivate(), this._btn_megami.deactivate(), this._btn_tettai.deactivate(); }, _1gwh.prototype.dispose = function() { var _1gww = null; this._btn_youin.dispose(), this._btn_megami.dispose(), this._btn_tettai.dispose(); }, _1gwh; }(PIXI.Container), _1gwx = function(_1gwy) { var _1gwz = null; function _1gx0(_1gx1) { var _1gx2 = null, _1gx3 = _1gwy.call(this) || this; return _1gx3._enabled = !0, _1gx3._onMouseOver = function() { var _1gx4 = null; _1gx3._update(!0), _1gx3._startWave(); }, _1gx3._onMouseOut = function() { var _1gx5 = null; _1gx3._update(!1), _1gx3._stopWave(); }, _1gx3._onClick = function() { var _1gx6 = null; 0 != _1gx3.buttonMode && null != _1gx3._cb_onClick && _1gx3._cb_onClick(_1gx3._value); }, _1gx3._cb_onClick = _1gx1, _1gx3._wave1 = new _1gvq.Sprite(), _1gx3._wave1.anchor.set(0.5), _1gx3._initWave(_1gx3._wave1), _1gx3.addChild(_1gx3._wave1), _1gx3._wave2 = new _1gvq.Sprite(), _1gx3._wave2.anchor.set(0.5), _1gx3._initWave(_1gx3._wave2), _1gx3.addChild(_1gx3._wave2), _1gx3._off = new PIXI.Sprite(), _1gx3.addChild(_1gx3._off), _1gx3._on = new PIXI.Sprite(), _1gx3.addChild(_1gx3._on), _1gx3._wave_tweens = [], _1gx3.interactive = !0, _1gx3; } return _1gv5(_1gx0, _1gwy), _1gx0.prototype.activate = function() { var _1gx7 = null; 0 != this._enabled && 1 != this.buttonMode && (this.buttonMode = !0, this.on(_1gvt.EventType.MOUSEOVER, this._onMouseOver), this.on(_1gvt.EventType.MOUSEOUT, this._onMouseOut), this.on(_1gvt.EventType.CLICK, this._onClick)); }, _1gx0.prototype.deactivate = function() { var _1gx8 = null; this.buttonMode = !1, this.off(_1gvt.EventType.MOUSEOVER, this._onMouseOver), this.off(_1gvt.EventType.MOUSEOUT, this._onMouseOut), this.off(_1gvt.EventType.CLICK, this._onClick); }, _1gx0.prototype.dispose = function() { var _1gx9 = null; this.deactivate(), this._cb_onClick = null; }, _1gx0.prototype._update = function(_1gxa) { var _1gxb = null; 0 == this._enabled || 0 == _1gxa ? (this._off.visible = !0, this._on.visible = !1) : (this._off.visible = !1, this._on.visible = !0); }, _1gx0.prototype._initWave = function(_1gxc) { var _1gxd = null; _1gxc.scale.set(0), _1gxc.alpha = 0; }, _1gx0.prototype._startWave = function() { var _1gxe = null; this._stopWave(), this._wave_tweens[0] = createjs.Tween.get(this._wave1, { 'loop': !0 }).to({ 'alpha': 1, 'scaleX': 0.4, 'scaleY': 0.4 }, 400).to({ 'alpha': 0, 'scaleX': 1, 'scaleY': 1 }, 400).to({ 'scaleX': 0, 'scaleY': 0 }, 0).wait(200), this._wave_tweens[1] = createjs.Tween.get(this._wave2, { 'loop': !0 }).wait(200).to({ 'alpha': 1, 'scaleX': 0.4, 'scaleY': 0.4 }, 400).to({ 'alpha': 0, 'scaleX': 1, 'scaleY': 1 }, 400).to({ 'scaleX': 0, 'scaleY': 0 }, 0); }, _1gx0.prototype._stopWave = function() { var _1gxf = null; for (var _1gxg = 0; _1gxg < this._wave_tweens.length; _1gxg++) null != this._wave_tweens[_1gxg] && (this._wave_tweens[_1gxg].setPaused(!0), this._wave_tweens[_1gxg] = null); this._initWave(this._wave1), this._initWave(this._wave2); }, _1gx0; }(PIXI.Container), _1gwl = function(_1gxh) { var _1gxi = null; function _1gxj() { var _1gxk = null; return null !== _1gxh && _1gxh.apply(this, arguments) || this; } return _1gv5(_1gxj, _1gxh), _1gxj.prototype.initialize = function(_1gxl) { var _1gxm = null; if (this._enabled = _1gxl, this._value = 1, this._off.position.set(-188, -134), this._on.position.set(-227, -170), 1 == _1gxl) { this._off.texture = _1gvs.MAP_DECISION.getTexture(2), this._on.texture = _1gvs.MAP_DECISION.getTexture(4); var _1gxn = [new PIXI.Point(0, -20), new PIXI.Point(156, -11), new PIXI.Point(185, 65), new PIXI.Point(65, 126), new PIXI.Point(-83, 116), new PIXI.Point(-110, 45)]; this.hitArea = new PIXI.Polygon(_1gxn); } else this._off.texture = _1gvs.MAP_DECISION.getTexture(3), this._on.texture = PIXI.Texture.EMPTY, this.hitArea = null; this._wave1.texture = _1gvs.MAP_DECISION.getTexture(0), this._wave2.texture = _1gvs.MAP_DECISION.getTexture(0), this._update(!1); }, _1gxj; }(_1gwx), _1gwm = function(_1gxo) { var _1gxp = null; function _1gxq() { var _1gxr = null; return null !== _1gxo && _1gxo.apply(this, arguments) || this; } return _1gv5(_1gxq, _1gxo), _1gxq.prototype.initialize = function(_1gxs) { var _1gxt = null; if (this._enabled = _1gxs, this._value = 2, this._off.position.set(-189, -128), this._on.position.set(-228, -164), 1 == _1gxs) { this._off.texture = _1gvs.MAP_DECISION.getTexture(5), this._on.texture = _1gvs.MAP_DECISION.getTexture(7); var _1gxu = [new PIXI.Point(0, -14), new PIXI.Point(156, -5), new PIXI.Point(185, 71), new PIXI.Point(65, 132), new PIXI.Point(-83, 122), new PIXI.Point(-110, 51)]; this.hitArea = new PIXI.Polygon(_1gxu); } else this._off.texture = _1gvs.MAP_DECISION.getTexture(6), this._on.texture = PIXI.Texture.EMPTY, this.hitArea = null; this._wave1.texture = _1gvs.MAP_DECISION.getTexture(0), this._wave2.texture = _1gvs.MAP_DECISION.getTexture(0), this._update(!1); }, _1gxq; }(_1gwx), _1gwn = function(_1gxv) { var _1gxw = null; function _1gxx() { var _1gxy = null; return null !== _1gxv && _1gxv.apply(this, arguments) || this; } return _1gv5(_1gxx, _1gxv), _1gxx.prototype.initialize = function() { var _1gxz = null; this._enabled = !0, this._value = 0, this._off.position.set(-144, -119), this._on.position.set(-144, -119), this._off.texture = _1gvs.MAP_DECISION.getTexture(13), this._on.texture = _1gvs.MAP_DECISION.getTexture(14); var _1gy0 = [new PIXI.Point(-21, -71), new PIXI.Point(78, -60), new PIXI.Point(96, 14), new PIXI.Point(17, 77), new PIXI.Point(-81, 65), new PIXI.Point(-99, -8)]; this.hitArea = new PIXI.Polygon(_1gy0), this._wave1.texture = _1gvs.MAP_DECISION.getTexture(0), this._wave2.texture = _1gvs.MAP_DECISION.getTexture(0), this._update(!1); }, _1gxx; }(_1gwx); }, 912: function(_1gy1, _1gy2, _1gy3) { 'use strict'; var _1gy4 = null; var _1gy5, _1gy6 = this && this.__extends || (_1gy5 = function(_1gy7, _1gy8) { var _1gy9 = null; return _1gy5 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1gya, _1gyb) { var _1gyc = null; _1gya.__proto__ = _1gyb; } || function(_1gyd, _1gye) { var _1gyf = null; for (var _1gyg in _1gye) Object.prototype.hasOwnProperty.call(_1gye, _1gyg) && (_1gyd[_1gyg] = _1gye[_1gyg]); }, _1gy5(_1gy7, _1gy8); }, function(_1gyh, _1gyi) { var _1gyj = null; if ('function' != typeof _1gyi && null !== _1gyi) throw new TypeError('Class extends value ' + String(_1gyi) + ' is not a constructor or null'); function _1gyk() { var _1gyl = null; this.constructor = _1gyh; } _1gy5(_1gyh, _1gyi), _1gyh.prototype = null === _1gyi ? Object.create(_1gyi) : (_1gyk.prototype = _1gyi.prototype, new _1gyk()); }); defineModule(_1gy2); Object.defineProperty(_1gy2, '__esModule', { 'value': !0 }), _1gy2.Balloon = _1gy2.AnimBalloon = void 0; var _1gym = _1gy3(81755), _1gyn = _1gy3(74876), _1gyo = function(_1gyp) { var _1gyq = null; function _1gyr(_1gys, _1gyt, _1gyu, _1gyv) { var _1gyw = null; void 0 === _1gyv && (_1gyv = null); var _1gyx = _1gyp.call(this) || this; return _1gyx._view = _1gys, _1gyx._type = _1gyt, _1gyx._directionType = _1gyu, _1gyx._offset = _1gyv, _1gyx; } return _1gy6(_1gyr, _1gyp), _1gyr.prototype._start = function() { var _1gyy = null, _1gyz = this, _1gz0 = new _1gz1(this._offset); _1gz0.initialize(this._type, this._directionType), _1gz0.alpha = 0; var _1gz2 = this._view.map.ship_icon.getGlobalPosition(); _1gz0.position = _1gz2, this._view.word_balloons_layer.addChild(_1gz0), createjs.Tween.get(_1gz0).to({ 'y': _1gz2.y - 23, 'alpha': 1 }, 100).wait(2000).to({ 'y': _1gz2, 'alpha': 0 }, 100).call(function() { var _1gz3 = null; _1gyz._view.word_balloons_layer.removeChild(_1gz0), _1gyz._endTask(); }); }, _1gyr; }(_1gym.TaskBase); _1gy2.AnimBalloon = _1gyo; var _1gz1 = function(_1gz4) { var _1gz5 = null; function _1gz6(_1gz7) { var _1gz8 = null, _1gz9 = _1gz4.call(this) || this; return _1gz9._offset = _1gz7, _1gz9._img = new PIXI.Sprite(), _1gz9.addChild(_1gz9._img), _1gz9; } return _1gy6(_1gz6, _1gz4), _1gz6.prototype.initialize = function(_1gza, _1gzb) { var _1gzc = null; 1 == _1gza ? this._initializeFoundEnemy(_1gzb) : 2 == _1gza && this._initializeFoundTarget(_1gzb), 3 == _1gza && this._initializePatrol(_1gzb), this._addOffset(_1gzb); }, _1gz6.prototype._initializeFoundEnemy = function(_1gzd) { var _1gze = null; 0 == _1gzd ? (this._img.texture = _1gyn.MAP_CELL_EVENT.getTexture(16), this._img.position.set(-66, -77)) : 1 == _1gzd ? (this._img.texture = _1gyn.MAP_CELL_EVENT.getTexture(8), this._img.position.set(-15, -68)) : 2 == _1gzd ? (this._img.texture = _1gyn.MAP_CELL_EVENT.getTexture(7), this._img.position.set(0, -36)) : 7 == _1gzd ? (this._img.texture = _1gyn.MAP_CELL_EVENT.getTexture(9), this._img.position.set(-114, -68)) : 5 == _1gzd ? (this._img.texture = _1gyn.MAP_CELL_EVENT.getTexture(10), this._img.position.set(-129, 36)) : 6 == _1gzd && (this._img.texture = _1gyn.MAP_CELL_EVENT.getTexture(11), this._img.position.set(-142, -28)); }, _1gz6.prototype._initializeFoundTarget = function(_1gzf) { var _1gzg = null; 1 == _1gzf ? (this._img.texture = _1gyn.MAP_CELL_EVENT.getTexture(12), this._img.position.set(-15, -68)) : 7 == _1gzf && (this._img.texture = _1gyn.MAP_CELL_EVENT.getTexture(13), this._img.position.set(-140, -66)); }, _1gz6.prototype._initializePatrol = function(_1gzh) { var _1gzi = null; 1 == _1gzh ? (this._img.texture = _1gyn.MAP_CELL_EVENT.getTexture(14), this._img.position.set(-14, -66)) : 7 == _1gzh && (this._img.texture = _1gyn.MAP_CELL_EVENT.getTexture(15), this._img.position.set(-114, -66)); }, _1gz6.prototype._addOffset = function(_1gzj) { var _1gzk = null; 0 == _1gzj ? (this._img.x += -3, this._img.y += -9) : 1 == _1gzj ? (this._img.x += 21, this._img.y += -6) : 2 == _1gzj ? (this._img.x += 39, this._img.y += 9) : 3 == _1gzj || 4 == _1gzj || 5 == _1gzj || 6 == _1gzj || 7 == _1gzj && (this._img.x += -21, this._img.y += -6), this._offset && (this._img.x += this._offset.x, this._img.y += this._offset.y); }, _1gz6; }(PIXI.Container); _1gy2.Balloon = _1gz1; }, 6307: function(_1gzl, _1gzm, _1gzn) { 'use strict'; var _1gzo = null; var _1gzp, _1gzq = this && this.__extends || (_1gzp = function(_1gzr, _1gzs) { var _1gzt = null; return _1gzp = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1gzu, _1gzv) { var _1gzw = null; _1gzu.__proto__ = _1gzv; } || function(_1gzx, _1gzy) { var _1gzz = null; for (var _1h00 in _1gzy) Object.prototype.hasOwnProperty.call(_1gzy, _1h00) && (_1gzx[_1h00] = _1gzy[_1h00]); }, _1gzp(_1gzr, _1gzs); }, function(_1h01, _1h02) { var _1h03 = null; if ('function' != typeof _1h02 && null !== _1h02) throw new TypeError('Class extends value ' + String(_1h02) + ' is not a constructor or null'); function _1h04() { var _1h05 = null; this.constructor = _1h01; } _1gzp(_1h01, _1h02), _1h01.prototype = null === _1h02 ? Object.create(_1h02) : (_1h04.prototype = _1h02.prototype, new _1h04()); }), _1h06 = this && this.__importDefault || function(_1h07) { var _1h08 = null; return _1h07 && _1h07.__esModule ? _1h07 : { 'default': _1h07 }; }; defineModule(_1gzm); Object.defineProperty(_1gzm, '__esModule', { 'value': !0 }), _1gzm.AnimCompass = _1gzm.getRad = _1gzm.PIN_SWING_VOL = _1gzm.COMPASS_FADEIN = void 0; var _1h09 = _1h06(_1gzn(21359)), _1h0a = _1gzn(35380), _1h0b = _1gzn(8744), _1h0c = _1gzn(70723), _1h0d = _1gzn(31669), _1h0e = _1gzn(49749), _1h0f = _1gzn(90826), _1h0g = _1gzn(76776), _1h0h = _1gzn(80534); function _1h0i(_1h0j) { return _1h0j * Math.PI / 180; } _1gzm.COMPASS_FADEIN = 500, _1gzm.PIN_SWING_VOL = _1h0i(2), _1gzm.getRad = _1h0i; var _1h0k = function(_1h0l) { var _1h0m = null; function _1h0n() { var _1h0o = null, _1h0p = _1h0l.call(this) || this; return _1h0p.Dispose = function() { var _1h0q = null; _1h0p.removeChildren(), _1h0p._callBack = null, _1h0p._runTween = null, _1h0p._bg = null, _1h0p._clickLayer = null, _1h0p._girl = null, _1h0p._compass = null, _1h0p._txtBox = null, _1h0p._light = null, _1h0p._pin = null, _1h0p._text.destroy(), _1h0p._text = null, _1h0p._type = null, _1h0p._isPin = null, _1h0p._isSwing = null, _1h0p._vibrateR = null, _1h0p._vibrateWidth = null, _1h0p._pini = null, _1h0p._span = null, _1h0p._targetR = null, _1h0p._step = null, _1h0p._message1 = null, _1h0p._message2 = null, _1h0p._message3 = null; }, _1h0p.Play = function(_1h0r, _1h0s, _1h0t) { var _1h0u = null; _1h0p._callBack = _1h0t; var _1h0v = -Math.atan2(_1h0s.y - _1h0r.y, _1h0s.x - _1h0r.x) / Math.PI * 180 + 270; _1h0p._targetR = _1h0v, _1h0p.startAnimation(); }, _1h0p.startAnimation = function() { var _1h0w = null, _1h0x; switch (_1h0p._type) { case 1: _1h0x = function() { var _1h0y = null; createjs.Tween.get(_1h0p._girl).to({ 'y': 368, 'alpha': 1 }, _1gzm.COMPASS_FADEIN); }; break; case 2: case 3: _1h0x = function() { var _1h0z = null; createjs.Tween.get(_1h0p._girl).to({ 'y': 353, 'alpha': 1 }, _1gzm.COMPASS_FADEIN); }; break; case 4: _1h0x = function() { var _1h10 = null; createjs.Tween.get(_1h0p._girl).to({ 'x': 960, 'y': 353, 'alpha': 1 }, _1gzm.COMPASS_FADEIN); }; } createjs.Tween.get(null).call(function() { var _1h11 = null; createjs.Tween.get(_1h0p._compass).to({ 'alpha': 1 }, 300), createjs.Tween.get(_1h0p._compass.scale).to({ 'x': 1, 'y': 1 }, 300), createjs.Tween.get(_1h0p._pin).to({ 'alpha': 1 }, 300), createjs.Tween.get(_1h0p._pin.scale).to({ 'x': 1, 'y': 1 }, 300), createjs.Tween.get(_1h0p._light).to({ 'alpha': 0.8 }, 300), createjs.Tween.get(_1h0p._light.scale).to({ 'x': 1, 'y': 1 }, 300), createjs.Tween.get(_1h0p._bg).to({ 'alpha': 0.3 }, 300); }).wait(300).call(function() { _1h0x(); }).wait(_1gzm.COMPASS_FADEIN).call(function() { var _1h12 = null; _1h0p.phase1End(); }); }, _1h0p.run = function() { var _1h13 = null; _1h0p._isPin && _1h0p.updatePinMove(), _1h0p._isSwing && _1h0p.updateGirlSwing(); }, _1h0p.phase1End = function() { var _1h14 = null; if (_1h0p._clickLayer.interactive = !0, _1h0p._clickLayer.buttonMode = !0, _1h0p._clickLayer.on(_1h0a.EventType.CLICK, _1h0p.clickCompass), _1h0p._runTween = createjs.Tween.get({}), _1h0p._runTween.wait(500).loop = !0, _1h0p._runTween.play(null), _1h0p._runTween.addEventListener('change', _1h0p.run), _1h0p._isPin = !0, _1h0p._txtBox.alpha = 1, _1h0p._text.alpha = 1, 4 === _1h0p._type) _1h0p._isSwing = !0; }, _1h0p.clickCompass = function() { var _1h15 = null; _1h0p._clickLayer.interactive = !1, _1h0p._clickLayer.buttonMode = !1; var _1h16 = function(_1h17) { var _1h18 = null; _1h0p._girl.texture = _1h17, _1h0p._text.text = _1h0p._message2, _1h0p.playRashinbanSE(), _1h0p.updateRotate(); }; switch (_1h0p._type) { case 1: _1h0p._girl.texture = _1h0p._fairy.fairy01_2, createjs.Tween.get(null).wait(500).call(function() { var _1h19 = null; _1h16(_1h0p._fairy.fairy01_1); }); break; case 2: _1h0p._girl.texture = _1h0p._fairy.fairy02_2, createjs.Tween.get(null).wait(500).call(function() { var _1h1a = null; _1h16(_1h0p._fairy.fairy02_1); }); break; case 3: _1h0p._girl.texture = _1h0p._fairy.fairy03_2, createjs.Tween.get(null).wait(500).call(function() { var _1h1b = null; _1h16(_1h0p._fairy.fairy03_1); }); break; case 4: _1h0p._step = 0, _1h0p._isSwing = !1, _1h0p._text.text = _1h0p._message2, createjs.Tween.get(_1h0p._girl).to({ 'y': 363 }, 33).to({ 'y': 321 }, 133).to({ 'y': 384 }, 133).to({ 'y': 351 }, 33).wait(100).call(function() { var _1h1c = null; _1h0p.playRashinbanSE(), _1h0p._isSwing = !0, _1h0p.updateRotate(); }); } }, _1h0p._fairy = _1h0p._getFairySeasonalPattern(), _1h0p; } return _1gzq(_1h0n, _1h0l), _1h0n.prototype.initialize = function(_1h1d) { var _1h1e = null; switch (this._type = _1h1d, this._vibrateR = 4, this._vibrateWidth = 6, this._pini = 0, this._isPin = !1, this._isSwing = !1, this._clickLayer = new PIXI.Graphics(), this._clickLayer.beginFill(0, 0), this._clickLayer.drawRect(0, 0, _1h09.default.width, _1h09.default.height), this._clickLayer.endFill(), this._bg = new PIXI.Graphics(), this._bg.beginFill(0, 1), this._bg.drawRect(0, 0, _1h09.default.width, _1h09.default.height), this._bg.endFill(), this._bg.alpha = 0, this._compass = new PIXI.Sprite(_1h0d.SALLY_MAP_PARTS.getTexture(15)), this._compass.anchor.set(0.5), this._compass.position.set(600, 360), this._compass.alpha = 0, this._compass.scale.set(1.36, 1.36), this._light = new PIXI.Sprite(_1h0d.SALLY_MAP_PARTS.getTexture(16)), this._light.anchor.set(0.5), this._light.position.set(600, 360), this._light.alpha = 0, this._light.scale.set(1.36, 1.36), this._pin = new PIXI.Sprite(_1h0d.SALLY_MAP_PARTS.getTexture(17)), this._pin.anchor.set(0.5), this._pin.position.set(600, 360), this._pin.alpha = 0, this._pin.scale.set(1.36, 1.36), this._txtBox = this.createSprite(_1h0e.MAP_MAIN.getTexture(49), 0.5, 0.5, 915, 585, 0), this._text = new _1h0b.TextBox(27, 'black'), this._text.position.set(705, 573), this._text.alpha = 0, this.addChild(this._bg), this.addChild(this._compass), this.addChild(this._pin), this.addChild(this._light), this.addChild(this._txtBox), this.addChild(this._text), this._type) { case 1: this._step = 16, this._message1 = 'えー?らしんばん、まわすのー?', this._message2 = '……ん', this._message3 = '……あい', this._girl = this.createSprite(this._fairy.fairy01_1, 0.5, 0.5, 915, 450, 0); break; case 2: this._step = 15, this._message1 = 'よーし、らしんばんまわすよー!', this._message2 = 'えいっ', this._message3 = 'ここっ', this._girl = this.createSprite(this._fairy.fairy02_1, 0.5, 0.5, 915, 450, 0); break; case 3: this._step = 0, this._message1 = 'はやくはやくー!', this._message2 = 'えいえいえーいっ', this._message3 = 'とまれーっ', this._girl = this.createSprite(this._fairy.fairy03_1, 0.5, 0.5, 915, 450, 0); break; case 4: this._step = 0, this._message1 = 'らしんばんをまわしてね!', this._message2 = 'えいっ', this._message3 = 'それっ', this._girl = this.createSprite(this._fairy.fairy04_1, 0.5, 0.5, 1185, 315, 0); } this._text.text = this._message1, this.addChild(this._girl), this.addChild(this._clickLayer); }, _1h0n.prototype._getFairySeasonalPattern = function() { var _1h1f = null; return this._getFairyPattern(_1h0h.FAIRY_MAP_COMPASS_SEASON); }, _1h0n.prototype._getFairyPattern = function(_1h1g) { var _1h1h = null; return 'xmas' === _1h1g ? new _1h1i() : new _1h1j(); }, _1h0n.prototype.playRashinbanSE = function() { var _1h1k = null; _1h0c.SE.play('250'); }, _1h0n.prototype.updateGirlSwing = function() { var _1h1l = null; this._step += 0.5, this._girl.position.y = 353 + 10 * Math.sin(this._step / 6); }, _1h0n.prototype.updateRotate = function() { var _1h1m = null, _1h1n = this; switch (this._type) { case 1: createjs.Tween.get(this._compass).to({ 'rotation': _1h0i(360) }, 700).call(function() { var _1h1o = null; _1h1n._text.text = _1h1n._message3, _1h1n.speedDown(); }); break; case 2: createjs.Tween.get(this._compass).to({ 'rotation': _1h0i(720 + this._targetR) }, 1000).call(function() { var _1h1p = null; _1h1n._text.text = _1h1n._message3, _1h1n.vibrateCompass(); }); break; case 3: createjs.Tween.get(this._compass).to({ 'rotation': _1h0i(1080) }, 700).call(function() { var _1h1q = null; _1h1n._text.text = _1h1n._message3, _1h1n.speedDown(); }), createjs.Tween.get(null).wait(700).addEventListener('change', function() { var _1h1r = null; _1h1n._step % 12 < 6 ? _1h1n._girl.texture = _1h1n._fairy.fairy03_2 : _1h1n._girl.texture = _1h1n._fairy.fairy03_1, _1h1n._step++; }); break; case 4: createjs.Tween.get(this._compass).to({ 'rotation': _1h0i(2160) }, 900).call(function() { var _1h1s = null; _1h1n._text.text = _1h1n._message3, _1h1n.speedDown(); }); } }, _1h0n.prototype.speedDown = function() { var _1h1t = null, _1h1u = this; this._compass.rotation, Math.PI; switch (this._type) { case 1: createjs.Tween.get(this._compass).to({ 'rotation': _1h0i(360 + this._targetR) }, 600, createjs.Ease.quadOut).call(function() { var _1h1v = null; _1h1u.outAnimation(); }); break; case 3: this._span = 0, createjs.Tween.get(this._compass).to({ 'rotation': _1h0i(1440 + this._targetR) }, 1300, createjs.Ease.quadOut).call(function() { var _1h1w = null; _1h1u.outAnimation(); }), createjs.Tween.get(null).wait(1300).addEventListener('change', function() { var _1h1x = null; _1h1u._span++, 2 == _1h1u._span && (_1h1u._girl.position.y += _1h1u._vibrateWidth, _1h1u._vibrateWidth *= -0.98, _1h1u._span = 0); }); break; case 4: createjs.Tween.get(this._compass).to({ 'rotation': _1h0i(2520 + this._targetR) }, 700, createjs.Ease.quadOut).call(function() { var _1h1y = null; _1h1u.outAnimation(); }); } }, _1h0n.prototype.vibrateCompass = function() { var _1h1z = null, _1h20 = this; this._span = 0, this._girl.texture = this._fairy.fairy02_2, createjs.Tween.get(null).wait(400).addEventListener('change', function() { var _1h21 = null; _1h20._span++, 2 == _1h20._span && (_1h20._compass.rotation += _1h0i(_1h20._vibrateR), _1h20._vibrateR *= -1, _1h20._span = 0); }), createjs.Tween.get(null).wait(400).call(function() { var _1h22 = null; _1h20._compass.rotation = _1h0i(_1h20._targetR), _1h20.outAnimation(); }); }, _1h0n.prototype.updatePinMove = function() { var _1h23 = null; if (this._pini++, 6 == this._pini) { var _1h24 = 41 * Math.random() / 10 - 2; this._pin.rotation += _1h0i(_1h24), this._pin.rotation > _1gzm.PIN_SWING_VOL ? this._pin.rotation = _1gzm.PIN_SWING_VOL : this._pin.rotation < -_1gzm.PIN_SWING_VOL && (this._pin.rotation = -_1gzm.PIN_SWING_VOL), this._pini = 0; } }, _1h0n.prototype.outAnimation = function() { var _1h25 = null, _1h26 = this, _1h27 = null; switch (this._type) { case 1: case 2: case 3: _1h27 = function() { var _1h28 = null; createjs.Tween.get(_1h26._girl).to({ 'alpha': 0 }, 433); }; break; case 4: _1h27 = function() { var _1h29 = null; createjs.Tween.get(_1h26._girl).to({ 'x': 1185, 'y': _1h26._girl.y - 53, 'alpha': 0 }, 433); }; } createjs.Tween.get(null).wait(800).call(function() { var _1h2a = null; _1h26._isSwing = !1, (function() { var _1h2b = null; switch (_1h26._type) { case 1: _1h26._girl.texture = _1h26._fairy.fairy01_1; break; case 2: _1h26._girl.texture = _1h26._fairy.fairy02_1; break; case 3: _1h26._girl.texture = _1h26._fairy.fairy03_1; break; case 4: _1h26._girl.texture = _1h26._fairy.fairy04_1; } }()), createjs.Tween.get(_1h26._compass).to({ 'alpha': 0 }, 300), createjs.Tween.get(_1h26._compass.scale).to({ 'x': 1.36, 'y': 1.36 }, 300), createjs.Tween.get(_1h26._pin).to({ 'alpha': 0 }, 300), createjs.Tween.get(_1h26._pin.scale).to({ 'x': 1.36, 'y': 1.36 }, 300), createjs.Tween.get(_1h26._light).to({ 'alpha': 0 }, 300), createjs.Tween.get(_1h26._light.scale).to({ 'x': 1.36, 'y': 1.36 }, 300), createjs.Tween.get(_1h26._text).to({ 'alpha': 0 }, 300), createjs.Tween.get(_1h26._txtBox).to({ 'alpha': 0 }, 300), createjs.Tween.get(_1h26._bg).to({ 'alpha': 0 }, 300), _1h27(); }).wait(433).call(function() { var _1h2c = null; _1h26.animateEnd(); }); }, _1h0n.prototype.animateEnd = function() { var _1h2d = null; this._isPin = !1, this._runTween.removeAllEventListeners('change'), this._runTween.setPaused(!0), createjs.Tween.removeTweens(this._runTween.target), null != this._callBack && this._callBack(); }, _1h0n.prototype.createSprite = function(_1h2e, _1h2f, _1h2g, _1h2h, _1h2i, _1h2j) { var _1h2k = null, _1h2l = new PIXI.Sprite(_1h2e); return _1h2l.anchor.x = _1h2f, _1h2l.anchor.y = _1h2g, _1h2l.position.x = _1h2h, _1h2l.position.y = _1h2i, _1h2l.alpha = _1h2j, _1h2l; }, _1h0n; }(PIXI.Container); _1gzm.AnimCompass = _1h0k; var _1h2m = function() {}, _1h1j = function(_1h2n) { var _1h2o = null; function _1h2p() { var _1h2q = null, _1h2r = null !== _1h2n && _1h2n.apply(this, arguments) || this; return _1h2r.FAIRY = _1h0f.MAP_FAIRY, _1h2r; } return _1gzq(_1h2p, _1h2n), Object.defineProperty(_1h2p.prototype, 'fairy01_1', { 'get': function() { var _1h2s = null; return this.FAIRY.getTexture(0); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1h2p.prototype, 'fairy01_2', { 'get': function() { var _1h2t = null; return this.FAIRY.getTexture(1); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1h2p.prototype, 'fairy02_1', { 'get': function() { var _1h2u = null; return this.FAIRY.getTexture(2); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1h2p.prototype, 'fairy02_2', { 'get': function() { var _1h2v = null; return this.FAIRY.getTexture(3); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1h2p.prototype, 'fairy03_1', { 'get': function() { var _1h2w = null; return this.FAIRY.getTexture(4); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1h2p.prototype, 'fairy03_2', { 'get': function() { var _1h2x = null; return this.FAIRY.getTexture(5); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1h2p.prototype, 'fairy04_1', { 'get': function() { var _1h2y = null; return this.FAIRY.getTexture(6); }, 'enumerable': !1, 'configurable': !0 }), _1h2p; }(_1h2m), _1h1i = function(_1h2z) { var _1h30 = null; function _1h31() { var _1h32 = null, _1h33 = null !== _1h2z && _1h2z.apply(this, arguments) || this; return _1h33.FAIRY = _1h0g.MAP_FAIRY_XMAS, _1h33; } return _1gzq(_1h31, _1h2z), Object.defineProperty(_1h31.prototype, 'fairy01_1', { 'get': function() { var _1h34 = null; return this.FAIRY.getTexture(0); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1h31.prototype, 'fairy01_2', { 'get': function() { var _1h35 = null; return this.FAIRY.getTexture(1); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1h31.prototype, 'fairy02_1', { 'get': function() { var _1h36 = null; return this.FAIRY.getTexture(2); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1h31.prototype, 'fairy02_2', { 'get': function() { var _1h37 = null; return this.FAIRY.getTexture(3); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1h31.prototype, 'fairy03_1', { 'get': function() { var _1h38 = null; return this.FAIRY.getTexture(4); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1h31.prototype, 'fairy03_2', { 'get': function() { var _1h39 = null; return this.FAIRY.getTexture(5); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1h31.prototype, 'fairy04_1', { 'get': function() { var _1h3a = null; return this.FAIRY.getTexture(6); }, 'enumerable': !1, 'configurable': !0 }), _1h31; }(_1h2m); }, 43201: function(_1h3b, _1h3c, _1h3d) { 'use strict'; var _1h3e = null; var _1h3f, _1h3g = this && this.__extends || (_1h3f = function(_1h3h, _1h3i) { var _1h3j = null; return _1h3f = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1h3k, _1h3l) { var _1h3m = null; _1h3k.__proto__ = _1h3l; } || function(_1h3n, _1h3o) { var _1h3p = null; for (var _1h3q in _1h3o) Object.prototype.hasOwnProperty.call(_1h3o, _1h3q) && (_1h3n[_1h3q] = _1h3o[_1h3q]); }, _1h3f(_1h3h, _1h3i); }, function(_1h3r, _1h3s) { var _1h3t = null; if ('function' != typeof _1h3s && null !== _1h3s) throw new TypeError('Class extends value ' + String(_1h3s) + ' is not a constructor or null'); function _1h3u() { var _1h3v = null; this.constructor = _1h3r; } _1h3f(_1h3r, _1h3s), _1h3r.prototype = null === _1h3s ? Object.create(_1h3s) : (_1h3u.prototype = _1h3s.prototype, new _1h3u()); }), _1h3w = this && this.__importDefault || function(_1h3x) { var _1h3y = null; return _1h3x && _1h3x.__esModule ? _1h3x : { 'default': _1h3x }; }; defineModule(_1h3c); Object.defineProperty(_1h3c, '__esModule', { 'value': !0 }), _1h3c.AnimFlagShip = void 0; var _1h3z = _1h3w(_1h3d(18622)), _1h40 = _1h3d(81755), _1h41 = _1h3d(20137), _1h42 = function(_1h43) { var _1h44 = null; function _1h45(_1h46, _1h47, _1h48) { var _1h49 = null, _1h4a = _1h43.call(this) || this; return _1h4a._scene = _1h46, _1h4a._ship_mst_id = _1h47, _1h4a._ship_damaged = _1h48, _1h4a; } return _1h3g(_1h45, _1h43), _1h45.prototype._start = function() { var _1h4b = null, _1h4c = this, _1h4d = new _1h41.ShipLoader(); _1h4d.add(this._ship_mst_id, this._ship_damaged, 'full'), _1h4d.load(function() { var _1h4e = null; _1h4c._loadComplete(); }); }, _1h45.prototype._loadComplete = function() { var _1h4f = null, _1h4g = this, _1h4h = _1h3z.default.resources.getShip(this._ship_mst_id, this._ship_damaged, 'full'), _1h4i = PIXI.Sprite.from(_1h4h.baseTexture); _1h4i.alpha = 0; var _1h4j = _1h3z.default.model.ship_graph.get(this._ship_mst_id).getMapOffset(this._ship_damaged); _1h4i.position.set(_1h4j.x - 80, _1h4j.y - 93), this._scene.view.chara_layer.addChild(_1h4i), createjs.Tween.get(_1h4i).to({ 'alpha': 1 }, 300).wait(700).to({ 'alpha': 0, 'x': _1h4i.x - 75 }, 300).call(function() { var _1h4k = null; _1h4g._scene.view.chara_layer.removeChild(_1h4i), _1h4g._endTask(); }); }, _1h45; }(_1h40.TaskBase); _1h3c.AnimFlagShip = _1h42; }, 6934: function(_1h4l, _1h4m, _1h4n) { 'use strict'; var _1h4o = null; var _1h4p, _1h4q = this && this.__extends || (_1h4p = function(_1h4r, _1h4s) { var _1h4t = null; return _1h4p = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1h4u, _1h4v) { var _1h4w = null; _1h4u.__proto__ = _1h4v; } || function(_1h4x, _1h4y) { var _1h4z = null; for (var _1h50 in _1h4y) Object.prototype.hasOwnProperty.call(_1h4y, _1h50) && (_1h4x[_1h50] = _1h4y[_1h50]); }, _1h4p(_1h4r, _1h4s); }, function(_1h51, _1h52) { var _1h53 = null; if ('function' != typeof _1h52 && null !== _1h52) throw new TypeError('Class extends value ' + String(_1h52) + ' is not a constructor or null'); function _1h54() { var _1h55 = null; this.constructor = _1h51; } _1h4p(_1h51, _1h52), _1h51.prototype = null === _1h52 ? Object.create(_1h52) : (_1h54.prototype = _1h52.prototype, new _1h54()); }); defineModule(_1h4m); Object.defineProperty(_1h4m, '__esModule', { 'value': !0 }), _1h4m.AnimPlane = void 0; var _1h56 = _1h4n(81755), _1h57 = _1h4n(74876), _1h58 = 0.9, _1h59 = function(_1h5a) { var _1h5b = null; function _1h5c(_1h5d, _1h5e, _1h5f) { var _1h5g = null, _1h5h = _1h5a.call(this) || this; return _1h5h._wait = function() { var _1h5i = null; _1h5h._layer.removeChild(_1h5h._plane), createjs.Tween.get(null).wait(200).call(function() { var _1h5j = null; _1h5h._endTask(); }); }, _1h5h.run = function() { var _1h5k = null; _1h5h._timer <= 0 && _1h5h._isTurn || (_1h5h._movePlane(), _1h5h._timer -= 1000 / 60, _1h5h._timer <= 0 && !_1h5h._isTurn && (_1h5h._timer = _1h5h._baseTime, _1h5h._isTurn = !_1h5h._isTurn)); }, _1h5h._layer = _1h5d, _1h5h._from = _1h5e, _1h5h._to = _1h5f, _1h5h._baseTime = 1500, _1h5h._timer = _1h5h._baseTime, _1h5h; } return _1h4q(_1h5c, _1h5a), _1h5c.prototype._start = function() { var _1h5l = null, _1h5m = this; this._plane = new PIXI.Sprite(); var _1h5n = 3000, _1h5o = this._to.x > this._from.x ? 1 : -1, _1h5p = this._to.x > this._from.x ? -0.1 : 0.1; this._plane.texture = _1h57.MAP_CELL_EVENT.getTexture(59), this._plane.anchor.set(0.5, 1), this._plane.scale.set(_1h5o, 1), this._layer.addChild(this._plane), createjs.Tween.get(this._plane.scale).wait(1200).to({ 'x': -1 * this._plane.scale.x, 'y': 1 }, 600).wait(1199.9999999999998).to({ 'x': _1h5p, 'y': 0.1 }, 200).call(function() { var _1h5q = null; _1h5m._wait(); }), this._bezierTween = createjs.Tween.get(null).wait(_1h5n).addEventListener('change', function() { var _1h5r = null; _1h5m.run(); }); }, _1h5c.prototype._movePlane = function() { var _1h5s = null, _1h5t = (this._baseTime - this._timer) / this._baseTime, _1h5u = this._isTurn ? 1 * _1h5t : 1 * _1h5t - 1; this._plane.position.x = this._from.x + this._to.x * _1h58 - this._to.x * _1h58 * _1h5u * _1h5u, this._plane.position.y = this._from.y + this._to.y * _1h58 - this._to.y * _1h58 * _1h5u * _1h5u, 0 != _1h5u && (this._plane.position.y += ((Math.abs(_1h5u) - 0.5) * (Math.abs(_1h5u) - 0.5) * 38 * 4 - 38) * (Math.abs(_1h5u) / _1h5u)); }, _1h5c.prototype._endTask = function() { var _1h5v = null; this._bezierTween = null, this._plane = null, this._layer = null, this._from = null, this._to = null, this._baseTime = null, this._timer = null, this._isTurn = null, _1h5a.prototype._endTask.call(this); }, _1h5c; }(_1h56.TaskBase); _1h4m.AnimPlane = _1h59; }, 18851: function(_1h5w, _1h5x, _1h5y) { 'use strict'; var _1h5z = null; var _1h60, _1h61 = this && this.__extends || (_1h60 = function(_1h62, _1h63) { var _1h64 = null; return _1h60 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1h65, _1h66) { var _1h67 = null; _1h65.__proto__ = _1h66; } || function(_1h68, _1h69) { var _1h6a = null; for (var _1h6b in _1h69) Object.prototype.hasOwnProperty.call(_1h69, _1h6b) && (_1h68[_1h6b] = _1h69[_1h6b]); }, _1h60(_1h62, _1h63); }, function(_1h6c, _1h6d) { var _1h6e = null; if ('function' != typeof _1h6d && null !== _1h6d) throw new TypeError('Class extends value ' + String(_1h6d) + ' is not a constructor or null'); function _1h6f() { var _1h6g = null; this.constructor = _1h6c; } _1h60(_1h6c, _1h6d), _1h6c.prototype = null === _1h6d ? Object.create(_1h6d) : (_1h6f.prototype = _1h6d.prototype, new _1h6f()); }); defineModule(_1h5x); Object.defineProperty(_1h5x, '__esModule', { 'value': !0 }), _1h5x.AnimShipInit = void 0; var _1h6h = function(_1h6i) { var _1h6j = null; function _1h6k(_1h6l, _1h6m) { var _1h6n = null, _1h6o = _1h6i.call(this) || this; return _1h6o._anim = function() { var _1h6p = null, _1h6q = _1h6o._scene.view.map.ship_icon; createjs.Tween.get(_1h6q).to({ 'alpha': 1 }, 300), createjs.Tween.get(_1h6q.scale).to({ 'x': 1, 'y': 1 }, 300).call(function() { var _1h6r = null; _1h6o._endTask(); }); }, _1h6o._scene = _1h6l, _1h6o._model = _1h6m, _1h6o; } return _1h61(_1h6k, _1h6i), _1h6k.prototype._start = function() { var _1h6s = null; this._initialize(); }, _1h6k.prototype._initialize = function() { var _1h6t = null, _1h6u = this._scene.view.map.ship_icon; _1h6u.alpha = 0, _1h6u.scale.set(1.7); var _1h6v = this._model.deck_f.type; _1h6u.initialize(_1h6v); var _1h6w = this._model.sortie.now_cell_no, _1h6x = this._scene.view.map.spotLayer.getSpot(_1h6w); _1h6u.position.set(_1h6x.x, _1h6x.y); var _1h6y = _1h6u.direction, _1h6z = this._scene.resInfo.getShipDirection(_1h6w); 1 == _1h6z ? _1h6y = 1 : 2 == _1h6z && (_1h6y = 2), _1h6u.turn(_1h6y, this._anim, 0); }, _1h6k; }(_1h5y(81755).TaskBase); _1h5x.AnimShipInit = _1h6h; }, 47287: function(_1h70, _1h71, _1h72) { 'use strict'; var _1h73 = null; var _1h74, _1h75 = this && this.__extends || (_1h74 = function(_1h76, _1h77) { var _1h78 = null; return _1h74 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1h79, _1h7a) { var _1h7b = null; _1h79.__proto__ = _1h7a; } || function(_1h7c, _1h7d) { var _1h7e = null; for (var _1h7f in _1h7d) Object.prototype.hasOwnProperty.call(_1h7d, _1h7f) && (_1h7c[_1h7f] = _1h7d[_1h7f]); }, _1h74(_1h76, _1h77); }, function(_1h7g, _1h7h) { var _1h7i = null; if ('function' != typeof _1h7h && null !== _1h7h) throw new TypeError('Class extends value ' + String(_1h7h) + ' is not a constructor or null'); function _1h7j() { var _1h7k = null; this.constructor = _1h7g; } _1h74(_1h7g, _1h7h), _1h7g.prototype = null === _1h7h ? Object.create(_1h7h) : (_1h7j.prototype = _1h7h.prototype, new _1h7j()); }); defineModule(_1h71); Object.defineProperty(_1h71, '__esModule', { 'value': !0 }), _1h71.AnimShipMove = void 0; var _1h7l = _1h72(5527), _1h7m = _1h72(81755), _1h7n = _1h72(40085), _1h7o = function(_1h7p) { var _1h7q = null; function _1h7r(_1h7s, _1h7t, _1h7u) { var _1h7v = null, _1h7w = _1h7p.call(this) || this; return _1h7w._scene = _1h7s, _1h7w._model = _1h7t, _1h7w._time = _1h7u, _1h7w._tasks = new _1h7l.ParallelTask(), _1h7w; } return _1h75(_1h7r, _1h7p), _1h7r.prototype.initialize = function(_1h7x) { var _1h7y = null, _1h7z = this, _1h80 = new _1h81(this._scene, this._model, this._time); this._tasks.add(_1h80), null != _1h7x && _1h7x.forEach(function(_1h82) { var _1h83 = null; return _1h7z._tasks.add(_1h82); }); }, _1h7r.prototype._start = function() { var _1h84 = null, _1h85 = this; this._tasks.start(function() { var _1h86 = null; _1h85._setCellColor(); }); }, _1h7r.prototype._setCellColor = function() { var _1h87 = null, _1h88 = this._model.sortie.getNextCell().no, _1h89 = this._scene.view.map.spotLayer.getSpot(_1h88); if (null != _1h89) { _1h89.showLine(); for (var _1h8a = this._scene.resInfo.getSameSpotData(_1h88), _1h8b = 0; _1h8b < _1h8a.length; _1h8b++) { var _1h8c = _1h8a[_1h8b].no; if (0 == _1h8b) { var _1h8d = this._model.sortie.getCellInfo(_1h8c); this._scene.view.map.spotLayer.getSpot(_1h8c).setColor(_1h8d.color); } else this._scene.view.map.spotLayer.getSpot(_1h8c).setColor(0); } } this._endTask(); }, _1h7r; }(_1h7m.TaskBase); _1h71.AnimShipMove = _1h7o; var _1h81 = function(_1h8e) { var _1h8f = null; function _1h8g(_1h8h, _1h8i, _1h8j) { var _1h8k = null, _1h8l = _1h8e.call(this) || this; return _1h8l._scene = _1h8h, _1h8l._model = _1h8i, _1h8l._time = _1h8j, _1h8l; } return _1h75(_1h8g, _1h8e), _1h8g.prototype._start = function() { var _1h8m = null, _1h8n, _1h8o = this, _1h8p = this._scene.view.map, _1h8q = _1h8p.ship_icon, _1h8r = this._model.sortie.now_cell_no, _1h8s = (_1h8p.spotLayer.getSpot(_1h8r), this._model.sortie.getNextCell().no), _1h8t = _1h8p.spotLayer.getSpot(_1h8s), _1h8u = this._scene.resInfo.getControlPoint(_1h8s); if (null == _1h8u)(_1h8n = createjs.Tween.get(_1h8q)).to({ 'x': _1h8t.x, 'y': _1h8t.y }, this._time); else { var _1h8v = new PIXI.Point(_1h8q.x, _1h8q.y), _1h8w = new PIXI.Point(_1h8t.x, _1h8t.y), _1h8x = _1h7n.TweenUtil.create2BezierPoints(_1h8v, _1h8u, _1h8w, this._time); _1h8n = createjs.Tween.get(_1h8q); for (var _1h8y = 0, _1h8z = _1h8x; _1h8y < _1h8z.length; _1h8y++) { var _1h90 = _1h8z[_1h8y]; _1h8n.to({ 'x': _1h90.x, 'y': _1h90.y }, _1h90.t); } } _1h8n.call(function() { var _1h91 = null; _1h8o._endTask(); }); }, _1h8g; }(_1h7m.TaskBase); }, 10207: function(_1h92, _1h93, _1h94) { 'use strict'; var _1h95 = null; var _1h96, _1h97 = this && this.__extends || (_1h96 = function(_1h98, _1h99) { var _1h9a = null; return _1h96 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1h9b, _1h9c) { var _1h9d = null; _1h9b.__proto__ = _1h9c; } || function(_1h9e, _1h9f) { var _1h9g = null; for (var _1h9h in _1h9f) Object.prototype.hasOwnProperty.call(_1h9f, _1h9h) && (_1h9e[_1h9h] = _1h9f[_1h9h]); }, _1h96(_1h98, _1h99); }, function(_1h9i, _1h9j) { var _1h9k = null; if ('function' != typeof _1h9j && null !== _1h9j) throw new TypeError('Class extends value ' + String(_1h9j) + ' is not a constructor or null'); function _1h9l() { var _1h9m = null; this.constructor = _1h9i; } _1h96(_1h9i, _1h9j), _1h9i.prototype = null === _1h9j ? Object.create(_1h9j) : (_1h9l.prototype = _1h9j.prototype, new _1h9l()); }); defineModule(_1h93); Object.defineProperty(_1h93, '__esModule', { 'value': !0 }), _1h93.AnimShowMapEnemy = void 0; var _1h9n = _1h94(10742), _1h9o = _1h94(81755), _1h9p = _1h94(55417), _1h9q = function(_1h9r) { var _1h9s = null; function _1h9t(_1h9u, _1h9v, _1h9w) { var _1h9x = null; void 0 === _1h9w && (_1h9w = 0); var _1h9y = _1h9r.call(this) || this; return _1h9y._scene = _1h9u, _1h9y._model = _1h9v, _1h9y._delay = _1h9w, _1h9y; } return _1h97(_1h9t, _1h9r), _1h9t.prototype._start = function() { var _1h9z = null, _1ha0 = this, _1ha1 = this._model.sortie.getNextCell().no, _1ha2 = this._scene.resInfo.getEnemyOption(_1ha1); null == _1ha2 ? this._endTask() : this._delay <= 0 ? this._showEnemy(_1ha2.img, _1ha2.x, _1ha2.y) : createjs.Tween.get(null).wait(this._delay).call(function() { var _1ha3 = null; _1ha0._showEnemy(_1ha2.img, _1ha2.x, _1ha2.y); }); }, _1h9t.prototype._showEnemy = function(_1ha4, _1ha5, _1ha6) { var _1ha7 = null, _1ha8, _1ha9 = this, _1haa = this._model.sortie.area_id, _1hab = this._model.sortie.map_no, _1hac = this._model.sortie.getNextCell().no, _1had = this._model.sortie.map.getGaugeNum(); if (42 == _1haa && 3 == _1hab && 25 == _1hac && 3 == _1had)(_1ha8 = new _1h9p.MapEnemy(PIXI.Texture.fromFrame('map04203_icon_E3boss_2'), 5)).x = 130, _1ha8.y = 230; else { var _1hae = this._model.sortie.map_id, _1haf = _1h9n.MapUtil.toResKey(_1hae); (_1ha8 = new _1h9p.MapEnemy(PIXI.Texture.fromFrame('map'['concat'](_1haf, '_').concat(_1ha4)), 5)).x = _1ha5, _1ha8.y = _1ha6; } this._scene.view.map.enemy_layer.show(_1ha8, function() { var _1hag = null; _1ha9._endTask(); }); }, _1h9t.prototype._endTask = function() { var _1hah = null; this._scene = null, this._model = null, _1h9r.prototype._endTask.call(this); }, _1h9t; }(_1h9o.TaskBase); _1h93.AnimShowMapEnemy = _1h9q; }, 61873: function(_1hai, _1haj, _1hak) { 'use strict'; var _1hal = null; var _1ham, _1han = this && this.__extends || (_1ham = function(_1hao, _1hap) { var _1haq = null; return _1ham = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1har, _1has) { var _1hat = null; _1har.__proto__ = _1has; } || function(_1hau, _1hav) { var _1haw = null; for (var _1hax in _1hav) Object.prototype.hasOwnProperty.call(_1hav, _1hax) && (_1hau[_1hax] = _1hav[_1hax]); }, _1ham(_1hao, _1hap); }, function(_1hay, _1haz) { var _1hb0 = null; if ('function' != typeof _1haz && null !== _1haz) throw new TypeError('Class extends value ' + String(_1haz) + ' is not a constructor or null'); function _1hb1() { var _1hb2 = null; this.constructor = _1hay; } _1ham(_1hay, _1haz), _1hay.prototype = null === _1haz ? Object.create(_1haz) : (_1hb1.prototype = _1haz.prototype, new _1hb1()); }), _1hb3 = this && this.__importDefault || function(_1hb4) { var _1hb5 = null; return _1hb4 && _1hb4.__esModule ? _1hb4 : { 'default': _1hb4 }; }; defineModule(_1haj); Object.defineProperty(_1haj, '__esModule', { 'value': !0 }), _1haj.AirRaidTask = void 0; var _1hb6 = _1hb3(_1hak(21359)), _1hb7 = _1hb3(_1hak(18622)), _1hb8 = _1hak(3294), _1hb9 = _1hak(89939), _1hba = _1hak(81755), _1hbb = _1hak(8305), _1hbc = _1hak(7570), _1hbd = _1hak(70723), _1hbe = _1hak(83817), _1hbf = _1hak(94224), _1hbg = function(_1hbh) { var _1hbi = null; function _1hbj(_1hbk, _1hbl, _1hbm, _1hbn, _1hbo, _1hbp, _1hbq, _1hbr, _1hbs, _1hbt, _1hbu, _1hbv) { var _1hbw = null, _1hbx = _1hbh.call(this) || this; return _1hbx._PLANEKEY = 'airbaseraid', _1hbx._area_id = _1hbk, _1hbx._map_no = _1hbl, _1hbx._battle_obj = _1hbn, _1hbx._has_boku_airunit = _1hbo, _1hbx._mapinfo = _1hbp, _1hbx._plane_layer = _1hbq, _1hbx._telop_layer = _1hbr, _1hbx._battle_layer = _1hbs, _1hbx._airbase_layer = _1hbt, _1hbx._battle_cls = _1hbu, _1hbx._gauge_num = _1hbm, _1hbx._airbase_state = _1hbv, _1hbx; } return _1han(_1hbj, _1hbh), _1hbj.prototype._start = function() { var _1hby = null; null == this._battle_obj ? this._endTask() : (_1hbd.SE.play('253'), this._flightEnemyAirUnit()); }, _1hbj.prototype._flightEnemyAirUnit = function() { var _1hbz = null, _1hc0 = this, _1hc1 = this._getABPhase(this._area_id, this._map_no, this._gauge_num, this._airbase_state), _1hc2 = this._mapinfo.getAirBaseRaidOption(_1hc1); this._plane_layer.show(this._PLANEKEY, _1hc2, 2000, this._map_no, this._area_id, function() { var _1hc3 = null; _1hc0._showTelop(); }); }, _1hbj.prototype._getABPhase = function(_1hc4, _1hc5, _1hc6, _1hc7) { return 57 == _1hc4 && 3 == _1hc5 && _1hc7 > 0 || 57 == _1hc4 && 5 == _1hc5 && _1hc6 > 2 ? 1 : 0; }, _1hbj.prototype._showTelop = function() { var _1hc8 = null, _1hc9 = this, _1hca = new _1hbe.AirRaidTelop(); _1hca.initialize(this._has_boku_airunit), _1hca.x = _1hb6.default.width / 2, _1hca.y = _1hb6.default.height / 2, this._telop_layer.addChild(_1hca), _1hca.playAnimation(function() { var _1hcb = null; _1hc9._telop_layer.removeChild(_1hca), _1hc9._fadeoutBGM(); }); }, _1hbj.prototype._fadeoutBGM = function() { var _1hcc = null, _1hcd = this; 1 == _1hb7.default.sound.bgm.playing ? (_1hb7.default.sound.bgm.fadeOut(1000), createjs.Tween.get(this).wait(1000).call(function() { var _1hce = null; _1hcd._startBattle(); })) : this._startBattle(); }, _1hbj.prototype._startBattle = function() { var _1hcf = null, _1hcg = this, _1hch = new _1hbb.BattleSceneModel(!1); _1hch.setGekimetsuData(this._battle_obj); var _1hci = new _1hbc.Shutter(); _1hci.initializeDark(), _1hci.close(0), this._battle_layer.addChild(_1hci); var _1hcj = new this._battle_cls(); _1hcj.initialize(_1hch), this._battle_layer.addChild(_1hcj), _1hci.alpha = 0, _1hcj.alpha = 0, createjs.Tween.get(_1hci).to({ 'alpha': 1 }, 200), createjs.Tween.get(_1hcj).to({ 'alpha': 1 }, 300).call(function() { var _1hck = null; _1hcj.once('complete', function() { var _1hcl = null; _1hcg._hideBattle(_1hci, _1hcj); }), _1hcj.start(); }); }, _1hbj.prototype._hideBattle = function(_1hcm, _1hcn) { var _1hco = null, _1hcp = this; this._plane_layer.hide(this._PLANEKEY), this._battle_layer.removeChild(_1hcn), _1hcn.dispose(), createjs.Tween.get(_1hcm).wait(800).to({ 'alpha': 0 }, 300).wait(400).call(function() { var _1hcq = null; _1hcp._battle_layer.removeChild(_1hcm), _1hcp._showResultTelop(); }); }, _1hbj.prototype._showResultTelop = function() { var _1hcr = null, _1hcs = this, _1hct = _1hb8.MapConst.getMapBGMID(this._area_id, this._map_no); 1 == _1hct.battle_bgm ? _1hb7.default.sound.bgm.playBattleBGM(_1hct.id) : _1hb7.default.sound.bgm.play(_1hct.id); var _1hcu = _1hb9.ObjUtil.getNumber(this._battle_obj, 'api_lost_kind'), _1hcv = new _1hbf.AirRaidResultTelop(); _1hcv.initialize(_1hcu), _1hcv.x = _1hb6.default.width / 2, _1hcv.y = _1hb6.default.height / 2, this._telop_layer.addChild(_1hcv), _1hcv.playAnimation(function() { var _1hcw = null, _1hcx = _1hb9.ObjUtil.getNumber(_1hcs._battle_obj, 'api_m2'); 45 == _1hcs._area_id && 3 == _1hcs._map_no && 1 == _1hcx && _1hbd.SE.play('258'); }, function() { var _1hcy = null; _1hcs._telop_layer.removeChild(_1hcv), _1hcs._endTask(); }), 4 != _1hcu && null != this._airbase_layer && this._airbase_layer.shake(); }, _1hbj.prototype._endTask = function() { var _1hcz = null; this._battle_obj = null, this._mapinfo = null, this._plane_layer = null, this._telop_layer = null, this._battle_layer = null, this._battle_cls = null, _1hbh.prototype._endTask.call(this); }, _1hbj; }(_1hba.TaskBase); _1haj.AirRaidTask = _1hbg; }, 4997: function(_1hd0, _1hd1, _1hd2) { 'use strict'; var _1hd3 = null; var _1hd4, _1hd5 = this && this.__extends || (_1hd4 = function(_1hd6, _1hd7) { var _1hd8 = null; return _1hd4 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1hd9, _1hda) { var _1hdb = null; _1hd9.__proto__ = _1hda; } || function(_1hdc, _1hdd) { var _1hde = null; for (var _1hdf in _1hdd) Object.prototype.hasOwnProperty.call(_1hdd, _1hdf) && (_1hdc[_1hdf] = _1hdd[_1hdf]); }, _1hd4(_1hd6, _1hd7); }, function(_1hdg, _1hdh) { var _1hdi = null; if ('function' != typeof _1hdh && null !== _1hdh) throw new TypeError('Class extends value ' + String(_1hdh) + ' is not a constructor or null'); function _1hdj() { var _1hdk = null; this.constructor = _1hdg; } _1hd4(_1hdg, _1hdh), _1hdg.prototype = null === _1hdh ? Object.create(_1hdh) : (_1hdj.prototype = _1hdh.prototype, new _1hdj()); }); defineModule(_1hd1); Object.defineProperty(_1hd1, '__esModule', { 'value': !0 }), _1hd1.CellTaskAirReconnaissance = void 0; var _1hdl = _1hd2(81755), _1hdm = _1hd2(45054), _1hdn = _1hd2(70723), _1hdo = _1hd2(74876), _1hdp = _1hd2(71349), _1hdq = function(_1hdr) { var _1hds = null; function _1hdt(_1hdu, _1hdv) { var _1hdw = null, _1hdx = _1hdr.call(this) || this; return _1hdx.run = function() { var _1hdy = null; _1hdx._timer <= 0 && _1hdx._isTurn || (_1hdx._movePlane(), _1hdx._timer -= 1000 / 60, _1hdx._timer <= 0 && !_1hdx._isTurn && (_1hdx._timer = _1hdx._baseTime, _1hdx._isTurn = !_1hdx._isTurn)); }, _1hdx._scene = _1hdu, _1hdx._model = _1hdv, _1hdx; } return _1hd5(_1hdt, _1hdr), _1hdt.prototype._start = function() { var _1hdz = null; this._data = this._model.sortie.getNextCell().getAirReconnaissanceData(), this._showMessage(); }, _1hdt.prototype._showMessage = function() { var _1he0 = null, _1he1 = this, _1he2 = this._data.plane_type; this._data.result, 1 == _1he2 ? (this._scene.view.message_box.text = '大型飛行艇による\n航空偵察を実施します。', this._flyPlane(_1he2)) : 2 == _1he2 ? (this._scene.view.message_box.text = '水上偵察機による\n航空偵察を実施します。', this._flyPlane(_1he2)) : (this._scene.view.message_box.text = '航空偵察予定地点に到着しましたが、\n稼働偵察機がないため、偵察を中止します。', createjs.Tween.get(null).wait(2000).call(function() { var _1he3 = null; _1he1._scene.view.message_box.text = '', _1he1._endTask(); })); }, _1hdt.prototype._flyPlane = function(_1he4) { var _1he5 = null, _1he6 = this, _1he7 = this._scene.view.map.ship_icon; this._from = new PIXI.Point(_1he7.x, _1he7.y); var _1he8 = this._model.sortie.getNextCell().no; this._to = this._scene.resInfo.getAirReconnaissancePoint(_1he8), null == this._to && (this._to = new PIXI.Point(this._from.x, this._from.y)); var _1he9 = this._to.x > this._from.x ? 1 : -1; this._baseTime = 1500, this._timer = 1500, this._isTurn = !1; var _1hea = new _1heb(); _1hea.initialize(_1he4), _1hea.scale.set(0); var _1hec = this._scene.view.word_balloons_layer; this._container = new PIXI.Container(), this._container.x = this._from.x, this._container.y = this._from.y, _1hec.addChild(this._container), this._container.addChild(_1hea), this._c1 = new PIXI.Point(this._from.x - 0.3 * (this._to.y - this._from.y), this._from.y + 0.3 * (this._to.x - this._from.x)), this._c2 = new PIXI.Point(this._to.x - 0.3 * (this._from.y - this._to.y), this._to.y + 0.3 * (this._from.x - this._to.x)), createjs.Tween.get(this._container).wait(200).call(function() { var _1hed = null; _1he6._bezierTween = createjs.Tween.get({}), _1he6._bezierTween.wait(3000), _1he6._bezierTween.addEventListener('change', function() { var _1hee = null; _1he6.run(); }); }).wait(3000).wait(300).call(function() { var _1hef = null; _1hec.removeChild(_1he6._container), _1he6._showBalloon(); }), createjs.Tween.get(_1hea).to({ 'scaleX': _1he9, 'scaleY': 1 }, 200).wait(100).call(function() { var _1heg = null; _1hdn.SE.play('228'); }).wait(1200).to({ 'scaleX': -_1he9 }, 400).wait(1200).to({ 'scaleX': 0, 'scaleY': 0 }, 100); }, _1hdt.prototype._movePlane = function() { var _1heh = null, _1hei = (this._baseTime - this._timer) / this._baseTime, _1hej = this._isTurn ? 1 * _1hei : 1 * _1hei - 1, _1hek = this._isTurn ? this._to : this._from, _1hel = this._isTurn ? this._from : this._to, _1hem = this._isTurn ? this._c2 : this._c1; this._container.position.x = (1 - _1hei) * (1 - _1hei) * _1hek.x + 2 * (1 - _1hei) * _1hei * _1hem.x + _1hei * _1hei * _1hel.x, this._container.position.y = (1 - _1hei) * (1 - _1hei) * _1hek.y + 2 * (1 - _1hei) * _1hei * _1hem.y + _1hei * _1hei * _1hel.y, 0 != _1hej && (this._container.position.y += ((Math.abs(_1hej) - 0.5) * (Math.abs(_1hej) - 0.5) * 38 * 4 - 38) * (Math.abs(_1hej) / _1hej)); }, _1hdt.prototype._showBalloon = function() { var _1hen = null, _1heo = this; this._scene.view.message_box.text = ''; var _1hep = this._data.result, _1heq = this._model.sortie.getNextCell().getDropItems(), _1her = 0, _1hes = 0; if (null != _1heq && _1heq.length > 0) { var _1het = _1heq[0]; _1her = _1het.icon_id, _1hes = _1het.count; } var _1heu = new _1hdp.AirReconnaissanceBalloon(), _1hev = this._scene.view.map.ship_icon.getGlobalPosition(); _1heu.position.set(_1hev.x + 21, _1hev.y - 6), _1heu.alpha = 0, _1heu.initialize(_1hep, _1her, _1hes), this._scene.view.word_balloons_layer.addChild(_1heu), createjs.Tween.get(_1heu).to({ 'y': _1hev.y - 29, 'alpha': 1 }, 100).wait(4000).to({ 'y': _1hev.y - 6, 'alpha': 0 }, 100).call(function() { var _1hew = null; _1heo._scene.view.word_balloons_layer.removeChild(_1heu), _1heo._endTask(); }); }, _1hdt.prototype._endTask = function() { var _1hex = null; this._scene = null, this._model = null, this._data = null, this._container = null, this._from = null, this._to = null, this._c1 = null, this._c2 = null, this._baseTime = null, this._timer = null, this._bezierTween = null, this._isTurn = null, _1hdr.prototype._endTask.call(this); }, _1hdt; }(_1hdl.TaskBase); _1hd1.CellTaskAirReconnaissance = _1hdq; var _1heb = function(_1hey) { var _1hez = null; function _1hf0() { var _1hf1 = null, _1hf2 = _1hey.call(this) || this; return _1hf2._img = new PIXI.Sprite(), _1hf2.addChild(_1hf2._img), _1hf2; } return _1hd5(_1hf0, _1hey), _1hf0.prototype.initialize = function(_1hf3) { var _1hf4 = null; switch (_1hf3) { case 2: this._img.texture = _1hdo.MAP_CELL_EVENT.getTexture(59), this._img.position.set(-74, -84); break; case 1: this._img.texture = _1hdo.MAP_CELL_EVENT.getTexture(60), this._img.position.set(-74, -101); break; default: this._img.texture = null; } }, _1hf0; }(_1hdm.Container); }, 24289: function(_1hf5, _1hf6, _1hf7) { 'use strict'; var _1hf8 = null; var _1hf9, _1hfa = this && this.__extends || (_1hf9 = function(_1hfb, _1hfc) { var _1hfd = null; return _1hf9 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1hfe, _1hff) { var _1hfg = null; _1hfe.__proto__ = _1hff; } || function(_1hfh, _1hfi) { var _1hfj = null; for (var _1hfk in _1hfi) Object.prototype.hasOwnProperty.call(_1hfi, _1hfk) && (_1hfh[_1hfk] = _1hfi[_1hfk]); }, _1hf9(_1hfb, _1hfc); }, function(_1hfl, _1hfm) { var _1hfn = null; if ('function' != typeof _1hfm && null !== _1hfm) throw new TypeError('Class extends value ' + String(_1hfm) + ' is not a constructor or null'); function _1hfo() { var _1hfp = null; this.constructor = _1hfl; } _1hf9(_1hfl, _1hfm), _1hfl.prototype = null === _1hfm ? Object.create(_1hfm) : (_1hfo.prototype = _1hfm.prototype, new _1hfo()); }), _1hfq = this && this.__importDefault || function(_1hfr) { var _1hfs = null; return _1hfr && _1hfr.__esModule ? _1hfr : { 'default': _1hfr }; }; defineModule(_1hf6); Object.defineProperty(_1hf6, '__esModule', { 'value': !0 }), _1hf6.CellTaskAnchor = void 0; var _1hft = _1hfq(_1hf7(21359)), _1hfu = _1hfq(_1hf7(18622)), _1hfv = _1hf7(81755), _1hfw = _1hf7(79899), _1hfx = _1hf7(7570), _1hfy = _1hf7(45054), _1hfz = _1hf7(7344), _1hg0 = _1hf7(38204), _1hg1 = _1hf7(66279), _1hg2 = _1hf7(74876), _1hg3 = _1hf7(16383), _1hg4 = _1hf7(35380), _1hg5 = function(_1hg6) { var _1hg7 = null; function _1hg8(_1hg9, _1hga) { var _1hgb = null, _1hgc = _1hg6.call(this) || this; return _1hgc._vanishGauge = function() { var _1hgd = null; _1hfu.default.sound.bgm.play(135, !1), _1hgc._scene.view.gauge_layer.vanish(function() { var _1hge = null; createjs.Tween.get(null).wait(9500).call(function() { var _1hgf = null; _1hgc._hideBalloon(); }); }); }, _1hgc._hideBalloon = function() { var _1hgg = null, _1hgh = _1hgc._scene.view.map.ship_icon.getGlobalPosition(); createjs.Tween.get(_1hgc._balloon).wait(500).to({ 'y': _1hgh.y - 6, 'alpha': 0 }, 100).call(function() { var _1hgi = null; _1hgc._balloon.parent.removeChild(_1hgc._balloon), _1hgc._balloon = null, _1hgc._hideMapUI(); }); }, _1hgc._showWarResult = function() { var _1hgj = null; _1hgc._model.sortie.getNextCell().getEOSupplyWarResult() > 0 ? (_1hgc._dialog = new _1hgk(), _1hgc._dialog.position.set(_1hft.default.width / 2, _1hft.default.height / 2), _1hgc._dialog.initialize(), _1hgc._dialog.activate(), _1hgc._dialog.scale.set(1.2), _1hgc._dialog.alpha = 0, _1hgc._scene.view.word_balloons_layer.addChild(_1hgc._dialog), createjs.Tween.get(_1hgc._dialog).wait(500).to({ 'scaleX': 1, 'scaleY': 1, 'alpha': 1 }, 350).call(function() { var _1hgl = null, _1hgm = new _1hfw.AreaBox(0); _1hgm.buttonMode = !0; var _1hgn = new _1hg0.GearBtnNext(); _1hgn.position.set(1140, 660), _1hgn.initialize(), _1hgn.activate(), _1hgm.addChild(_1hgn), _1hgc._scene.view.word_balloons_layer.addChild(_1hgm), _1hgm.once(_1hg4.EventType.CLICK, function() { var _1hgo = null; createjs.Tween.get(_1hgn).to({ 'alpha': 0 }, 300).call(function() { var _1hgp = null; _1hgn.deactivate(), _1hgn.dispose(), _1hgc._scene.view.word_balloons_layer.removeChild(_1hgm), _1hgc._showBonusItem(); }); }); })) : _1hgc._showBonusItem(); }, _1hgc._waitClick = function() { var _1hgq = null; null != _1hgc._dialog && (_1hgc._scene.view.word_balloons_layer.removeChild(_1hgc._dialog), _1hgc._dialog.deactivate(), _1hgc._dialog.dispose(), _1hgc._dialog = null), null != _1hgc._bonus_task && (_1hgc._bonus_task.dispose(), _1hgc._bonus_task = null); var _1hgr = new _1hfw.AreaBox(0), _1hgs = new _1hfz.GearBtnHome(); _1hgs.position.set(1140, 660), _1hgs.initialize(), _1hgs.activate(), _1hgr.addChild(_1hgs), _1hgr.buttonMode = !0, _1hgc._scene.view.word_balloons_layer.addChild(_1hgr), _1hgr.once(_1hg4.EventType.CLICK, function() { var _1hgt = null; _1hgr.buttonMode = !1, createjs.Tween.get(_1hgs).to({ 'alpha': 0 }, 300).call(function() { var _1hgu = null; _1hgs.deactivate(), _1hgs.dispose(), _1hgr.removeChild(_1hgs), _1hgc._endTask(); }); }); }, _1hgc._scene = _1hg9, _1hgc._model = _1hga, _1hgc; } return _1hfa(_1hg8, _1hg6), _1hg8.prototype._start = function() { var _1hgv = null; this._showBalloon(); }, _1hg8.prototype._showBalloon = function() { var _1hgw = null, _1hgx = this, _1hgy = this._model.sortie.getNextCell().getEOSupplyItem(); null != _1hgy && _1hgy.count > 0 ? (_1hfu.default.sound.bgm.fadeOut(1000), createjs.Tween.get(null).wait(1200).call(function() { var _1hgz = null; _1hfu.default.sound.bgm.play(134, !1), _1hgx._balloon = new _1hh0(); var _1hh1 = _1hgx._scene.view.map.ship_icon.getGlobalPosition(); _1hgx._balloon.position.set(_1hh1.x + 21, _1hh1.y - 6), _1hgx._balloon.alpha = 0, _1hgx._balloon.initialize(_1hgy.id, _1hgy.count), _1hgx._scene.view.word_balloons_layer.addChild(_1hgx._balloon), createjs.Tween.get(_1hgx._balloon).to({ 'y': _1hh1.y - 29, 'alpha': 1 }, 100); }).wait(4000).call(function() { var _1hh2 = null; _1hgx._reduceGauge(); })) : this._reduceGauge(); }, _1hg8.prototype._reduceGauge = function() { var _1hh3 = null, _1hh4 = this, _1hh5 = this._model.sortie.map.defeat_required, _1hh6 = _1hh5 - this._model.sortie.map.defeat_count; if (_1hh5 > 0 && _1hh6 > 0) { _1hh6 -= 1; var _1hh7 = createjs.Tween.get(null); _1hh7.wait(1500), 0 == _1hh6 ? _1hh7.call(function() { var _1hh8 = null; _1hh4._scene.view.gauge_layer.update(_1hh6, _1hh5, 2000, _1hh4._vanishGauge); }) : _1hh7.call(function() { var _1hh9 = null; _1hh4._scene.view.gauge_layer.update(_1hh6, _1hh5, 2000, _1hh4._hideBalloon); }); } else this._hideBalloon(); }, _1hg8.prototype._hideMapUI = function() { var _1hha = null, _1hhb = this; this._scene.view.message_box.deactivate(function() { var _1hhc = null; createjs.Tween.get(_1hhb._scene.view.gauge_layer).to({ 'alpha': 0 }, 300).wait(500).call(function() { var _1hhd = null, _1hhe = _1hhb._model.sortie.getNextCell(), _1hhf = _1hhe.getEOSupplyWarResult(), _1hhg = _1hhe.getEOSupplyBonusItem(); _1hhf <= 0 && null == _1hhg ? _1hhb._closeShutter2() : _1hhb._closeShutter1(); }); }); }, _1hg8.prototype._closeShutter1 = function() { var _1hhh = null, _1hhi = new _1hfx.Shutter(); _1hhi.initializeDark(), this._scene.view.word_balloons_layer.addChild(_1hhi), _1hhi.close(200), createjs.Tween.get(null).wait(500).call(this._showWarResult); }, _1hg8.prototype._showBonusItem = function() { var _1hhj = null, _1hhk = this, _1hhl = this._model.sortie.getNextCell().getEOSupplyBonusItem(); if (null != _1hhl) { if (5 == _1hhl.type) { var _1hhm = this._scene.view.word_balloons_layer, _1hhn = _1hhl.id, _1hho = _1hhl.count; this._bonus_task = new _1hg1.TaskBonusUseItem(_1hhm, _1hhn, _1hho, !0), this._bonus_task.start(function() { var _1hhp = null; _1hhk._closeShutter2(); }); } } else this._closeShutter2(); }, _1hg8.prototype._closeShutter2 = function() { var _1hhq = null, _1hhr = new _1hfx.Shutter(); _1hhr.initializeDark(), this._scene.view.word_balloons_layer.addChild(_1hhr), _1hhr.close(200), createjs.Tween.get(null).wait(500).call(this._waitClick); }, _1hg8; }(_1hfv.TaskBase); _1hf6.CellTaskAnchor = _1hg5; var _1hh0 = function(_1hhs) { var _1hht = null; function _1hhu() { var _1hhv = null, _1hhw = _1hhs.call(this) || this; return _1hhw._bg = new PIXI.Sprite(), _1hhw._bg.y = -92, _1hhw.addChild(_1hhw._bg), _1hhw; } return _1hfa(_1hhu, _1hhs), _1hhu.prototype.initialize = function(_1hhx, _1hhy) { var _1hhz = null; switch (_1hhx) { case 1: this._bg.texture = _1hg2.MAP_CELL_EVENT.getTexture(20); break; case 2: this._bg.texture = _1hg2.MAP_CELL_EVENT.getTexture(24); break; case 3: this._bg.texture = _1hg2.MAP_CELL_EVENT.getTexture(28); break; case 4: this._bg.texture = _1hg2.MAP_CELL_EVENT.getTexture(32); break; default: this._bg.texture = PIXI.Texture.EMPTY; } var _1hi0 = Math.log(_1hhy) * Math.LOG10E + 1; _1hi0 = Math.floor(_1hi0); for (var _1hi1 = _1hhy, _1hi2 = 0; _1hi2 < _1hi0; _1hi2++) { var _1hi3 = new _1hg3.NumericalDisplay(_1hi1 % 10); _1hi3.x = 45 + 15 * _1hi0 / 2 - 15 * _1hi2, _1hi3.y = -18, this.addChild(_1hi3), _1hi1 = Math.floor(_1hi1 / 10); } var _1hi4 = new _1hg3.NumericalDisplay(-1); _1hi4.x = 45 + -8 * _1hi0, _1hi4.y = -18, this.addChild(_1hi4); }, _1hhu; }(PIXI.Container), _1hgk = function(_1hi5) { var _1hi6 = null; function _1hi7() { var _1hi8 = null, _1hi9 = _1hi5.call(this) || this; return _1hi9._bg = new PIXI.Sprite(), _1hi9._bg.position.set(-369, -125), _1hi9.addChild(_1hi9._bg), _1hi9._txt1 = new PIXI.Sprite(), _1hi9._txt1.position.set(-189, 6), _1hi9.addChild(_1hi9._txt1), _1hi9._txt2 = new PIXI.Sprite(), _1hi9._txt2.position.set(12, 50), _1hi9.addChild(_1hi9._txt2), _1hi9._txt3 = new PIXI.Sprite(), _1hi9._txt3.position.set(39, 48), _1hi9.addChild(_1hi9._txt3), _1hi9._img = new PIXI.Sprite(), _1hi9._img.position.set(203, -48), _1hi9.addChild(_1hi9._img), _1hi9; } return _1hfa(_1hi7, _1hi5), _1hi7.prototype.initialize = function() { var _1hia = null; this._bg.texture = _1hg2.MAP_CELL_EVENT.getTexture(65), this._txt1.texture = _1hg2.MAP_CELL_EVENT.getTexture(68), this._txt2.texture = _1hg2.MAP_CELL_EVENT.getTexture(69), this._txt3.texture = _1hg2.MAP_CELL_EVENT.getTexture(70), this._img.texture = _1hg2.MAP_CELL_EVENT.getTexture(66); }, _1hi7.prototype.activate = function() { var _1hib = null, _1hic = this; null == this._t && (this._img.texture = _1hg2.MAP_CELL_EVENT.getTexture(66), this._t = createjs.Tween.get(null, { 'loop': !0 }).wait(300).call(function() { var _1hid = null; _1hic._img.texture = _1hg2.MAP_CELL_EVENT.getTexture(67); }).wait(300).call(function() { var _1hie = null; _1hic._img.texture = _1hg2.MAP_CELL_EVENT.getTexture(66); })); }, _1hi7.prototype.deactivate = function() { var _1hif = null; null != this._t && (this._t.setPaused(!0), this._t = null, this._img.texture = _1hg2.MAP_CELL_EVENT.getTexture(66)); }, _1hi7.prototype.dispose = function() { var _1hig = null; this.deactivate(); }, _1hi7; }(_1hfy.Container); }, 68526: function(_1hih, _1hii, _1hij) { 'use strict'; var _1hik = null; var _1hil, _1him = this && this.__extends || (_1hil = function(_1hin, _1hio) { var _1hip = null; return _1hil = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1hiq, _1hir) { var _1his = null; _1hiq.__proto__ = _1hir; } || function(_1hit, _1hiu) { var _1hiv = null; for (var _1hiw in _1hiu) Object.prototype.hasOwnProperty.call(_1hiu, _1hiw) && (_1hit[_1hiw] = _1hiu[_1hiw]); }, _1hil(_1hin, _1hio); }, function(_1hix, _1hiy) { var _1hiz = null; if ('function' != typeof _1hiy && null !== _1hiy) throw new TypeError('Class extends value ' + String(_1hiy) + ' is not a constructor or null'); function _1hj0() { var _1hj1 = null; this.constructor = _1hix; } _1hil(_1hix, _1hiy), _1hix.prototype = null === _1hiy ? Object.create(_1hiy) : (_1hj0.prototype = _1hiy.prototype, new _1hj0()); }), _1hj2 = this && this.__importDefault || function(_1hj3) { var _1hj4 = null; return _1hj3 && _1hj3.__esModule ? _1hj3 : { 'default': _1hj3 }; }; defineModule(_1hii); Object.defineProperty(_1hii, '__esModule', { 'value': !0 }), _1hii.ConfirmDialogBtn = _1hii.ConfirmDialog = _1hii.CellTaskAnchorageRepair = void 0; var _1hj5 = _1hij(81755), _1hj6 = _1hij(73553), _1hj7 = _1hij(70723), _1hj8 = _1hij(74876), _1hj9 = _1hij(47355), _1hja = _1hij(35380), _1hjb = _1hij(80500), _1hjc = _1hj2(_1hij(18622)), _1hjd = _1hij(87371), _1hje = _1hij(71214), _1hjf = _1hij(13748), _1hjg = function(_1hjh) { var _1hji = null; function _1hjj(_1hjk, _1hjl) { var _1hjm = null, _1hjn = _1hjh.call(this) || this; return _1hjn._onSelect = function(_1hjo) { var _1hjp = null; _1hjn._hideConfirmDialog(_1hjo); }, _1hjn._effect = function(_1hjq, _1hjr) { var _1hjs = null; for (var _1hjt = [], _1hju = function(_1hjv) { var _1hjw = null, _1hjx = _1hjn._model.deck_f.ships.filter(function(_1hjy) { var _1hjz = null; return null != _1hjy && _1hjy.index == _1hjv.index; }); if (1 != _1hjx.length) return 'continue'; var _1hk0 = _1hjx.shift().hp_now, _1hk1 = { 'index': _1hjv.index, 'mst_id': _1hjv.mst_id, 'hp_now': _1hjv.hp_now, 'hp_max': _1hjv.hp_max, 'hp_repaired': _1hk0, 'ribbon': _1hjv.ribbon }; _1hjt.push(_1hk1); }, _1hk2 = 0, _1hk3 = _1hjr; _1hk2 < _1hk3.length; _1hk2++) { _1hju(_1hk3[_1hk2]); } _1hjn._repairLayer = new _1hjd.AnchorageRepairLayer(_1hjq, _1hjt), _1hjn._completeLayer = new _1hje.AnchorageRepairCompleteLayer(), _1hjn._scene.view.addChild(_1hjn._repairLayer), _1hjn._scene.view.addChild(_1hjn._completeLayer), _1hjn._repairLayer.getPreLoadTask().start(function() { var _1hk4 = null; _1hjn._repairLayer.bg.setDay(function() { var _1hk5 = null, _1hk6 = _1hjn._model.deck_f.isCombined() ? 3 : 2; new _1hj9.TaskAnchorageRepairAnim(_1hk6, _1hjn._repairLayer, _1hjn._completeLayer).start(function() { var _1hk7 = null; _1hjn._scene.view.removeChild(_1hjn._repairLayer), _1hjn._scene.view.removeChild(_1hjn._completeLayer), _1hjn._endTask(); }); }); }); }, _1hjn._scene = _1hjk, _1hjn._model = _1hjl, _1hjn; } return _1him(_1hjj, _1hjh), _1hjj.prototype._start = function() { var _1hk8 = null; 1 == this._model.sortie.getNextCell().getAnchorageRepair() ? this._startConfirmRepairDialog('') : this._startNoRepair('波静かな、泊地に適した海域です。'); }, _1hjj.prototype._startConfirmRepairDialog = function(_1hk9) { var _1hka = null, _1hkb = this; this._showWave(), createjs.Tween.get(null).wait(500).call(function() { var _1hkc = null; _1hkb._showMessage(_1hk9); }).wait(3000).call(function() { var _1hkd = null; _1hkb._showMessage(''); }).wait(600).call(function() { var _1hke = null; _1hkb._showConfirmDialog(); }); }, _1hjj.prototype._showConfirmDialog = function() { var _1hkf = null, _1hkg = this, _1hkh = this._model.sortie.getNextCell().no, _1hki = this._scene.resInfo.getAnchorageRepairConfirmOffsets(_1hkh), _1hkj = this._scene.view.map.ship_icon; this._confirm = new _1hkk(_1hki, this._onSelect), this._confirm.x = _1hkj.x, this._confirm.y = _1hkj.y + 15, this._confirm.alpha = 0, this._confirm.initialize(), this._scene.view.word_balloons_layer.addChild(this._confirm), _1hj7.SE.play('212'), createjs.Tween.get(this._confirm).to({ 'y': _1hkj.y, 'alpha': 1 }, 300).call(function() { var _1hkl = null; _1hkg._confirm.activate(); }); }, _1hjj.prototype._hideConfirmDialog = function(_1hkm) { var _1hkn = null, _1hko = this; this._confirm.deactivate(), createjs.Tween.get(this._confirm.btn_yes).to({ 'alpha': 0 }, 200), createjs.Tween.get(this._confirm.btn_no).to({ 'alpha': 0 }, 200); var _1hkp = this._confirm.y; createjs.Tween.get(this._confirm).wait(200).to({ 'y': _1hkp, 'alpha': 0 }, 300).call(function() { var _1hkq = null; if (_1hko._scene.view.word_balloons_layer.removeChild(_1hko._confirm), _1hko._confirm.dispose(), 1 == _1hkm) { var _1hkr = new _1hjf.UIImageLoader('map'); _1hkr.add('map_anchorage_repair.json'), _1hkr.load(function() { var _1hks = null; _1hko._startAnchorageRepair(); }); } else _1hko._endTask(); }); }, _1hjj.prototype._startAnchorageRepair = function() { var _1hkt = null, _1hku = this, _1hkv = this._model.deck_f.ships, _1hkw = new _1hjb.APIAnchorageRepair(); _1hkw.start(function() { var _1hkx = null, _1hky = _1hku._model.deck_f.id, _1hkz = _1hjc.default.model.deck.get(_1hky); _1hku._model.deck_f.updateShipList(_1hkz); var _1hl0 = _1hkv.filter(function(_1hl1) { var _1hl2 = null; return null != _1hl1 && _1hkw.repair_ships.indexOf(_1hl1.mem_id) >= 0; }); _1hku._effect(_1hkw.used_ship, _1hl0); }); }, _1hjj.prototype._startNoRepair = function(_1hl3) { var _1hl4 = null, _1hl5 = this; this._showWave(), createjs.Tween.get(null).wait(500).call(function() { var _1hl6 = null; _1hl5._showMessage(_1hl3); }).wait(3000).call(function() { var _1hl7 = null; _1hl5._showMessage(''); }).wait(1000).call(function() { var _1hl8 = null; _1hl5._endTask(); }); }, _1hjj.prototype._showWave = function() { var _1hl9 = null, _1hla = this._model.sortie.getNextCell().no, _1hlb = this._scene.view.map.spotLayer.getSpot(_1hla); this._wave = new _1hj6.CellWave(), this._wave.x = _1hlb.x, this._wave.y = _1hlb.y, this._scene.view.map.spotLayer.addChild(this._wave), this._wave.activate(); }, _1hjj.prototype._showMessage = function(_1hlc) { var _1hld = null; this._scene.view.message_box.text = _1hlc; }, _1hjj.prototype._endTask = function() { var _1hle = null; null != this._wave && (null != this._wave.parent && this._wave.parent.removeChild(this._wave), this._wave.dispose(), this._wave = null), _1hjh.prototype._endTask.call(this); }, _1hjj; }(_1hj5.TaskBase); _1hii.CellTaskAnchorageRepair = _1hjg; var _1hkk = function(_1hlf) { var _1hlg = null; function _1hlh(_1hli, _1hlj) { var _1hlk = null, _1hll = _1hlf.call(this) || this; if (_1hll._onClickYes = function() { var _1hlm = null; null != _1hll._cb_onSelect && _1hll._cb_onSelect(!0); }, _1hll._onClickNo = function() { var _1hln = null; null != _1hll._cb_onSelect && _1hll._cb_onSelect(!1); }, _1hll._cb_onSelect = _1hlj, _1hll._box = new PIXI.Sprite(), _1hll._box.position.set(-120, -135), _1hll.addChild(_1hll._box), _1hll._beak = new PIXI.Sprite(), _1hll._beak.position.set(30, -59), _1hll.addChild(_1hll._beak), _1hll._btn_yes = new _1hlo(_1hll._onClickYes), _1hll._btn_yes.position.set(-65, 42), _1hll.addChild(_1hll._btn_yes), _1hll._btn_no = new _1hlo(_1hll._onClickNo), _1hll._btn_no.position.set(68, 42), _1hll.addChild(_1hll._btn_no), null != _1hli) { if (null != _1hli.box) { var _1hlp = _1hli.box; _1hll._box.x += _1hlp.x, _1hll._box.y += _1hlp.y, _1hll._beak.x += _1hlp.x, _1hll._beak.y += _1hlp.y; } null != _1hli.btn && (_1hlp = _1hli.btn, (_1hll._btn_yes.x += _1hlp.x, _1hll._btn_yes.y += _1hlp.y, _1hll._btn_no.x += _1hlp.x, _1hll._btn_no.y += _1hlp.y)), null != _1hli.beak && (_1hlp = _1hli.beak, (_1hll._beak.x += _1hlp.x, _1hll._beak.y += _1hlp.y)); } return _1hll; } return _1him(_1hlh, _1hlf), Object.defineProperty(_1hlh.prototype, 'btn_yes', { 'get': function() { var _1hlq = null; return this._btn_yes; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1hlh.prototype, 'btn_no', { 'get': function() { var _1hlr = null; return this._btn_no; }, 'enumerable': !1, 'configurable': !0 }), _1hlh.prototype.initialize = function() { var _1hls = null; this._box.texture = _1hj8.MAP_CELL_EVENT.getTexture(19), this._beak.texture = _1hj8.MAP_CELL_EVENT.getTexture(47); var _1hlt = _1hj8.MAP_CELL_EVENT.getTexture(56), _1hlu = _1hj8.MAP_CELL_EVENT.getTexture(58); this._btn_yes.initialize(_1hlt, _1hlu), _1hlt = _1hj8.MAP_CELL_EVENT.getTexture(53), _1hlu = _1hj8.MAP_CELL_EVENT.getTexture(54), this._btn_no.initialize(_1hlt, _1hlu); }, _1hlh.prototype.activate = function() { var _1hlv = null; this._btn_yes.activate(), this._btn_no.activate(); }, _1hlh.prototype.deactivate = function() { var _1hlw = null; this._btn_yes.deactivate(), this._btn_no.deactivate(); }, _1hlh.prototype.dispose = function() { var _1hlx = null; this._btn_yes.dispose(), this._btn_no.dispose(); }, _1hlh; }(PIXI.Container); _1hii.ConfirmDialog = _1hkk; var _1hlo = function(_1hly) { var _1hlz = null; function _1hm0(_1hm1) { var _1hm2 = null, _1hm3 = _1hly.call(this) || this; return _1hm3._onMouseOver = function() { var _1hm4 = null; _1hj7.SE.play('225'), _1hm3._over.alpha = 1; }, _1hm3._onMouseOut = function() { var _1hm5 = null; _1hm3._over.alpha = 0; }, _1hm3._onClick = function() { var _1hm6 = null; null != _1hm3._cb_onClick && _1hm3._cb_onClick(); }, _1hm3._cb_onClick = _1hm1, _1hm3._img = new PIXI.Sprite(), _1hm3.addChild(_1hm3._img), _1hm3._over = new PIXI.Sprite(), _1hm3._over.alpha = 0, _1hm3.addChild(_1hm3._over), _1hm3.interactive = !0, _1hm3; } return _1him(_1hm0, _1hly), _1hm0.prototype.initialize = function(_1hm7, _1hm8) { var _1hm9 = null; this._img.texture = _1hm7, this._img.x = -Math.round(this._img.width / 2), this._img.y = -Math.round(this._img.height / 2), this._over.texture = _1hm8, this._over.x = -Math.round(this._over.width / 2), this._over.y = -Math.round(this._over.height / 2); }, _1hm0.prototype.activate = function() { var _1hma = null; 1 != this.buttonMode && (this.buttonMode = !0, this.on(_1hja.EventType.MOUSEOVER, this._onMouseOver), this.on(_1hja.EventType.MOUSEOUT, this._onMouseOut), this.on(_1hja.EventType.CLICK, this._onClick)); }, _1hm0.prototype.deactivate = function() { var _1hmb = null; this.buttonMode = !1, this.off(_1hja.EventType.MOUSEOVER, this._onMouseOver), this.off(_1hja.EventType.MOUSEOUT, this._onMouseOut), this.off(_1hja.EventType.CLICK, this._onClick); }, _1hm0.prototype.dispose = function() { var _1hmc = null; this.deactivate(); }, _1hm0; }(PIXI.Container); _1hii.ConfirmDialogBtn = _1hlo; }, 85645: function(_1hmd, _1hme, _1hmf) { 'use strict'; var _1hmg = null; var _1hmh, _1hmi = this && this.__extends || (_1hmh = function(_1hmj, _1hmk) { var _1hml = null; return _1hmh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1hmm, _1hmn) { var _1hmo = null; _1hmm.__proto__ = _1hmn; } || function(_1hmp, _1hmq) { var _1hmr = null; for (var _1hms in _1hmq) Object.prototype.hasOwnProperty.call(_1hmq, _1hms) && (_1hmp[_1hms] = _1hmq[_1hms]); }, _1hmh(_1hmj, _1hmk); }, function(_1hmt, _1hmu) { var _1hmv = null; if ('function' != typeof _1hmu && null !== _1hmu) throw new TypeError('Class extends value ' + String(_1hmu) + ' is not a constructor or null'); function _1hmw() { var _1hmx = null; this.constructor = _1hmt; } _1hmh(_1hmt, _1hmu), _1hmt.prototype = null === _1hmu ? Object.create(_1hmu) : (_1hmw.prototype = _1hmu.prototype, new _1hmw()); }), _1hmy = this && this.__importDefault || function(_1hmz) { var _1hn0 = null; return _1hmz && _1hmz.__esModule ? _1hmz : { 'default': _1hmz }; }; defineModule(_1hme); Object.defineProperty(_1hme, '__esModule', { 'value': !0 }), _1hme.CellTaskBattle = void 0; var _1hn1 = _1hmy(_1hmf(18622)), _1hn2 = _1hmf(81755), _1hn3 = _1hmf(2067), _1hn4 = _1hmf(38083), _1hn5 = _1hmf(20137), _1hn6 = _1hmf(37760), _1hn7 = _1hmf(88807), _1hn8 = _1hmf(13748), _1hn9 = (_1hmf(68826), _1hmf(80534)), _1hna = _1hmf(14921), _1hnb = function(_1hnc) { var _1hnd = null; function _1hne(_1hnf, _1hng, _1hnh, _1hni, _1hnj, _1hnk) { var _1hnl = null, _1hnm = _1hnc.call(this) || this; return _1hnm._selectFormation = function() { var _1hnn = null, _1hno = _1hnm._model.map_info.isNightStart() && !_1hnm._model.map_info.isNightToDayStart(), _1hnp = _1hnm._isEnabledSmoke(_1hnm._model.deck_f, _1hno, _1hnm._smoke_usage_limits); if (0 == _1hnm._model.deck_f.type || _1hnm._model.map_info.isNightStart()) { var _1hnq = new _1hn3.TaskFormationSelect(_1hnm._scene.view, _1hnm._model.deck_f, _1hnm._model.map_info.isLongRangeFires(), _1hnm._e_deck_info, _1hnp); _1hnq.start(function() { var _1hnr = null; _1hnm._fadeoutBGM(_1hnq.selected_formation, _1hnq.use_smoke); }); } else { var _1hns = new _1hn4.TaskFormationSelectCombined(_1hnm._scene.view, _1hnm._model.deck_f, _1hnm._model.map_info.isLongRangeFires(), _1hnm._e_deck_info, _1hnp); _1hns.start(function() { var _1hnt = null; _1hnm._fadeoutBGM(_1hns.selected_formation, _1hns.use_smoke); }); } }, _1hnm._scene = _1hnf, _1hnm._model = _1hng, _1hnm._battle_cls = _1hnh, _1hnm._battle_result_cls = _1hni, _1hnm._e_deck_info = _1hnj, _1hnm._smoke_usage_limits = _1hnk, _1hnm; } return _1hmi(_1hne, _1hnc), _1hne.prototype._start = function() { var _1hnu = null; this._scene.view.map.ship_icon.startWaveRed(this._selectFormation); }, _1hne.prototype._isEnabledSmoke = function(_1hnv, _1hnw, _1hnx) { var _1hny = null; if (_1hnx) return !1; if (!_1hnw) for (var _1hnz = 0, _1ho0 = _1hnv.ships; _1hnz < _1ho0.length; _1hnz++) { var _1ho1 = _1ho0[_1hnz]; if (null != _1ho1 && _1ho1.hasSmoke()) return !0; } return !1; }, _1hne.prototype._fadeoutBGM = function(_1ho2, _1ho3) { var _1ho4 = null, _1ho5 = this; 1 == _1hn1.default.sound.bgm.playing ? (_1hn1.default.sound.bgm.fadeOut(1000), createjs.Tween.get(this).wait(1000).call(function() { var _1ho6 = null; _1ho5._startBattle(_1ho2, _1ho3); })) : this._startBattle(_1ho2, _1ho3); }, _1hne.prototype._startBattle = function(_1ho7, _1ho8) { var _1ho9 = null, _1hoa = this; this._model.deck_f.formation = _1ho7, this._model.setSmoke(_1ho8); var _1hob = new this._battle_cls(); _1hob.initialize(this._model), this._scene.addChild(_1hob), _1hn8.UIImageLoader.clearMemoryCacheDetail('map', '' ['concat'](_1hna.MapUtil.getSeasonalFairySheetName(_1hn9.FAIRY_MAP_COMPASS_SEASON))), _1hn8.UIImageLoader.clearMemoryCacheDetail('map', 'cell_event'), _1hn8.UIImageLoader.clearMemoryCacheDetail('map', 'telop'), _1hn8.UIImageLoader.clearMemoryCacheDetail('map', 'flagship_damage'), _1hn8.UIImageLoader.clearMemoryCacheDetail('map', 'decision'), _1hob.once('complete', function() { var _1hoc = null, _1hod = new _1hn8.UIImageLoader('map'); _1hod.add('map_cell_event.json'), _1hod.add('map_telop.json'), _1hod.add('map_flagship_damage.json'), _1hod.add('map_decision.json'), _1hod.add('map_'['concat'](_1hna.MapUtil.getSeasonalFairySheetName(_1hn9.FAIRY_MAP_COMPASS_SEASON), '.json')), _1hod.load(function() { var _1hoe = null; _1hoa._startBattleResult(_1hob, _1hoa._model); }); }), _1hob.start(); }, _1hne.prototype._startBattleResult = function(_1hof, _1hog) { var _1hoh = null, _1hoi = this, _1hoj = new this._battle_result_cls(); _1hoj.initialize(), _1hoj.shutter.close(0), this._scene.addChild(_1hoj), this._scene.removeChild(_1hof), _1hof.dispose(), _1hoj.once('complete', function() { var _1hok = null; _1hn5.ShipLoader.clearMemoryCache(), _1hn6.SlotLoader.clearMemoryCache(), _1hn7.Plane.clearMemoryCache(), _1hoi._completeBattleResult(_1hoj); }), _1hoj.start(_1hog); }, _1hne.prototype._completeBattleResult = function(_1hol) { var _1hom = null, _1hon = this; createjs.Tween.get(_1hol).to({ 'alpha': 0 }, 200).call(function() { var _1hoo = null; _1hon._scene.removeChild(_1hol), _1hol.dispose(), _1hon._endTask(); }); }, _1hne.prototype._skipBattle = function() {}, _1hne; }(_1hn2.TaskBase); _1hme.CellTaskBattle = _1hnb; }, 82850: function(_1hop, _1hoq, _1hor) { 'use strict'; var _1hos = null; var _1hot, _1hou = this && this.__extends || (_1hot = function(_1hov, _1how) { var _1hox = null; return _1hot = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1hoy, _1hoz) { var _1hp0 = null; _1hoy.__proto__ = _1hoz; } || function(_1hp1, _1hp2) { var _1hp3 = null; for (var _1hp4 in _1hp2) Object.prototype.hasOwnProperty.call(_1hp2, _1hp4) && (_1hp1[_1hp4] = _1hp2[_1hp4]); }, _1hot(_1hov, _1how); }, function(_1hp5, _1hp6) { var _1hp7 = null; if ('function' != typeof _1hp6 && null !== _1hp6) throw new TypeError('Class extends value ' + String(_1hp6) + ' is not a constructor or null'); function _1hp8() { var _1hp9 = null; this.constructor = _1hp5; } _1hot(_1hp5, _1hp6), _1hp5.prototype = null === _1hp6 ? Object.create(_1hp6) : (_1hp8.prototype = _1hp6.prototype, new _1hp8()); }), _1hpa = this && this.__importDefault || function(_1hpb) { var _1hpc = null; return _1hpb && _1hpb.__esModule ? _1hpb : { 'default': _1hpb }; }; defineModule(_1hoq); Object.defineProperty(_1hoq, '__esModule', { 'value': !0 }), _1hoq.CellTaskFancy = void 0; var _1hpd = _1hpa(_1hor(18622)), _1hpe = _1hor(81755), _1hpf = _1hor(20137), _1hpg = function(_1hph) { var _1hpi = null; function _1hpj(_1hpk, _1hpl) { var _1hpm = null, _1hpn = _1hph.call(this) || this; return _1hpn._additional_waittime = 0, _1hpn._scene = _1hpk, _1hpn._model = _1hpl, _1hpn; } return _1hou(_1hpj, _1hph), _1hpj.prototype._start = function() { var _1hpo = null, _1hpp = this._model.sortie.getNextCell().isDeadEnd(), _1hpq = this._scene.resInfo.hasAirReconnaissancePoint(); 1 == _1hpp && 1 == _1hpq ? (this._additional_waittime = 3000, _1hpd.default.sound.bgm.fadeOut(1000), createjs.Tween.get(null).wait(1000).call(function() { var _1hpr = null; _1hpd.default.sound.bgm.play(4, !1, 1000, 'fanfare'); }), this._merefancy('敵影を見ず。\n本作戦完遂失敗。')) : this._selectMessage(); }, _1hpj.prototype._selectMessage = function() { var _1hps = null, _1hpt = this._model.sortie.getNextCell().flavor_text; if (null != _1hpt && _1hpt.length > 0) { var _1hpu = this._model.sortie.getNextCell().flavor_text_type; _1hpt = _1hpt.replace(/
/g, '\x0a'), 0 == _1hpu ? this._merefancy(_1hpt) : this._calm_sea(_1hpt); } else { var _1hpv = this._model.sortie.getNextCell().event_detail_id; 0 == _1hpv ? this._merefancy('気のせいだった。') : 1 == _1hpv ? this._merefancy('敵影を見ず。') : 3 == _1hpv ? this._calm_sea('穏やかな海です。') : 4 == _1hpv ? this._merefancy('穏やかな海峡です。') : 5 == _1hpv ? this._merefancy('警戒が必要です。') : 6 == _1hpv ? this._calm_sea('静かな海です。') : this._merefancy(''); } }, _1hpj.prototype._merefancy = function(_1hpw) { var _1hpx = null, _1hpy = this; this._scene.view.map.ship_icon.startWaveRed(function() { var _1hpz = null; _1hpy._scene.view.message_box.text = _1hpw, _1hpy._stopShipWave(2000); }); }, _1hpj.prototype._calm_sea = function(_1hq0) { var _1hq1 = null, _1hq2, _1hq3 = this, _1hq4 = this._model.deck_f.ships; this._model.deck_f.isCombined() ? _1hq2 = _1hq4[Math.random() < 0.5 ? 0 : 6] : _1hq2 = _1hq4[0]; var _1hq5 = _1hq2.mst_id, _1hq6 = _1hq2.isDamaged(), _1hq7 = new _1hpf.ShipLoader(); _1hq7.add(_1hq5, _1hq6, 'full'), _1hq7.load(function() { var _1hq8 = null; _1hq3._calm_sea2(_1hq5, _1hq6, _1hq0); }); }, _1hpj.prototype._calm_sea2 = function(_1hq9, _1hqa, _1hqb) { var _1hqc = null, _1hqd = this; this._chara = new PIXI.Sprite(), this._chara.alpha = 0, this._chara.texture = _1hpd.default.resources.getShip(_1hq9, _1hqa, 'full'); var _1hqe = _1hpd.default.model.ship_graph.get(_1hq9).getMapOffset(_1hqa); this._chara.x = -80 + _1hqe.x, this._chara.y = -93 + _1hqe.y, this._scene.view.chara_layer.addChild(this._chara), createjs.Tween.get(this._chara).to({ 'alpha': 1 }, 300).call(function() { var _1hqf = null; _1hqd._calm_sea3(_1hqb); }); }, _1hpj.prototype._calm_sea3 = function(_1hqg) { var _1hqh = null, _1hqi = this; this._scene.view.map.ship_icon.startWaveRed(function() { var _1hqj = null; _1hqi._scene.view.message_box.text = _1hqg, _1hqi._stopShipWave(2000); }); }, _1hpj.prototype._stopShipWave = function(_1hqk) { var _1hql = null, _1hqm = this; createjs.Tween.get(null).wait(_1hqk).call(function() { var _1hqn = null; _1hqm._scene.view.map.ship_icon.stopWave(), _1hqm._changeCellColor(); }); }, _1hpj.prototype._changeCellColor = function() { var _1hqo = null, _1hqp = this, _1hqq = this._model.sortie.getNextCell(), _1hqr = this._scene.view.map.spotLayer.getSpot(_1hqq.no); if (8 != this._model.sortie.getCellInfo(_1hqq.no).color && _1hqr.setColor(1), null != this._chara) this._chara.x, createjs.Tween.get(this._chara).to({ 'alpha': 0 }, 300).call(function() { var _1hqs = null; _1hqp._chara.parent.removeChild(_1hqp._chara), _1hqp._endTask(); }); else this._endTask(); }, _1hpj.prototype._endTask = function() { var _1hqt = null, _1hqu = this; createjs.Tween.get(null).wait(this._additional_waittime).call(function() { var _1hqv = null; _1hph.prototype._endTask.call(_1hqu); }); }, _1hpj; }(_1hpe.TaskBase); _1hoq.CellTaskFancy = _1hpg; }, 10294: function(_1hqw, _1hqx, _1hqy) { 'use strict'; var _1hqz = null; var _1hr0, _1hr1 = this && this.__extends || (_1hr0 = function(_1hr2, _1hr3) { var _1hr4 = null; return _1hr0 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1hr5, _1hr6) { var _1hr7 = null; _1hr5.__proto__ = _1hr6; } || function(_1hr8, _1hr9) { var _1hra = null; for (var _1hrb in _1hr9) Object.prototype.hasOwnProperty.call(_1hr9, _1hrb) && (_1hr8[_1hrb] = _1hr9[_1hrb]); }, _1hr0(_1hr2, _1hr3); }, function(_1hrc, _1hrd) { var _1hre = null; if ('function' != typeof _1hrd && null !== _1hrd) throw new TypeError('Class extends value ' + String(_1hrd) + ' is not a constructor or null'); function _1hrf() { var _1hrg = null; this.constructor = _1hrc; } _1hr0(_1hrc, _1hrd), _1hrc.prototype = null === _1hrd ? Object.create(_1hrd) : (_1hrf.prototype = _1hrd.prototype, new _1hrf()); }); defineModule(_1hqx); Object.defineProperty(_1hqx, '__esModule', { 'value': !0 }), _1hqx.CellTaskHappening = void 0; var _1hrh = _1hqy(81755), _1hri = _1hqy(70723), _1hrj = _1hqy(74876), _1hrk = _1hqy(48973), _1hrl = function(_1hrm) { var _1hrn = null; function _1hro(_1hrp, _1hrq) { var _1hrr = null, _1hrs = _1hrm.call(this) || this; return _1hrs._scene = _1hrp, _1hrs._model = _1hrq, _1hrs; } return _1hr1(_1hro, _1hrm), _1hro.prototype._start = function() { var _1hrt = null, _1hru = this; this._data = this._model.sortie.getNextCell().getHappeningData(), this._scene.view.message_box.text = '司令官!うずしおが発生しました!', this._uzu = new _1hrv(); var _1hrw = this._scene.view.map.ship_icon; _1hrw.under.addChild(this._uzu), this._uzu.activate(), _1hrw.startWaveWhite(), _1hri.SE.play('254'); var _1hrx = { 'rad': 0, 'a': 36 }; createjs.Tween.get(_1hrx, { 'onChange': function() { var _1hry = null; _1hrw.ship.x = Math.cos(_1hrx.rad) * _1hrx.a, _1hrw.ship.y = Math.sin(_1hrx.rad) * _1hrx.a, _1hrx.rad += Math.PI / 180 * 5 * (60 / createjs.Ticker.framerate); } }).to({ 'a': 0 }, 2400).call(function() { var _1hrz = null; _1hrw.stopWave(), _1hru._animItem(); }); }, _1hro.prototype._animItem = function() { var _1hs0 = null, _1hs1 = this, _1hs2 = this._data.getUseitemMstID(), _1hs3 = this._data.lost_count, _1hs4 = new _1hrk.CompDropItem(); _1hs4.initialize(_1hs2, _1hs3); var _1hs5 = this._scene.view.map.ship_icon; _1hs5.under.addChild(_1hs4), createjs.Tween.get(_1hs4).to({ 'x': -120 }, 1400), createjs.Tween.get(_1hs4).to({ 'y': -60 }, 400, createjs.Ease.quadOut).to({ 'y': 150 }, 1000, createjs.Ease.quadIn), createjs.Tween.get(_1hs4).wait(1200).to({ 'alpha': 0 }, 200).call(function() { var _1hs6 = null; _1hs5.under.removeChild(_1hs4), _1hs4.dispose(), _1hs1._hideUzu(); }); }, _1hro.prototype._hideUzu = function() { var _1hs7 = null, _1hs8 = this, _1hs9 = this._scene.view.map.ship_icon; createjs.Tween.get(this._uzu).to({ 'alpha': 0 }, 200).call(function() { var _1hsa = null; _1hs9.under.removeChild(_1hs8._uzu), _1hs8._uzu.deactivate(), _1hs8._uzu = null, _1hs8._showText(); }); }, _1hro.prototype._showText = function() { var _1hsb = null, _1hsc = this, _1hsd = this._data.getUseitemMstID(), _1hse = this._data.lost_count, _1hsf = this._data.isDentan(); this._scene.view.message_box.showUzushioText(_1hsd, _1hse, _1hsf), createjs.Tween.get(null).wait(1000).call(function() { var _1hsg = null; _1hsc._endTask(); }); }, _1hro.prototype._endTask = function() { var _1hsh = null; this._scene = null, this._model = null, this._data = null, _1hrm.prototype._endTask.call(this); }, _1hro; }(_1hrh.TaskBase); _1hqx.CellTaskHappening = _1hrl; var _1hrv = function(_1hsi) { var _1hsj = null; function _1hsk() { var _1hsl = null, _1hsm = _1hsi.call(this) || this; _1hsm.scale.y = 0.5; var _1hsn = _1hrj.MAP_CELL_EVENT.getTexture(72); return _1hsm._content = new PIXI.Sprite(_1hsn), _1hsm._content.anchor.set(0.5), _1hsm.addChild(_1hsm._content), _1hsm; } return _1hr1(_1hsk, _1hsi), _1hsk.prototype.activate = function() { var _1hso = null; null == this._t && (this._t = createjs.Tween.get(this._content, { 'loop': !0 }).to({ 'rotation': 2 * Math.PI }, 3000)); }, _1hsk.prototype.deactivate = function() { var _1hsp = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _1hsk; }(PIXI.Container); }, 67232: function(_1hsq, _1hsr, _1hss) { 'use strict'; var _1hst = null; var _1hsu, _1hsv = this && this.__extends || (_1hsu = function(_1hsw, _1hsx) { var _1hsy = null; return _1hsu = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1hsz, _1ht0) { var _1ht1 = null; _1hsz.__proto__ = _1ht0; } || function(_1ht2, _1ht3) { var _1ht4 = null; for (var _1ht5 in _1ht3) Object.prototype.hasOwnProperty.call(_1ht3, _1ht5) && (_1ht2[_1ht5] = _1ht3[_1ht5]); }, _1hsu(_1hsw, _1hsx); }, function(_1ht6, _1ht7) { var _1ht8 = null; if ('function' != typeof _1ht7 && null !== _1ht7) throw new TypeError('Class extends value ' + String(_1ht7) + ' is not a constructor or null'); function _1ht9() { var _1hta = null; this.constructor = _1ht6; } _1hsu(_1ht6, _1ht7), _1ht6.prototype = null === _1ht7 ? Object.create(_1ht7) : (_1ht9.prototype = _1ht7.prototype, new _1ht9()); }), _1htb = this && this.__importDefault || function(_1htc) { var _1htd = null; return _1htc && _1htc.__esModule ? _1htc : { 'default': _1htc }; }; defineModule(_1hsr); Object.defineProperty(_1hsr, '__esModule', { 'value': !0 }), _1hsr.CellTaskItem = void 0; var _1hte = _1htb(_1hss(18622)), _1htf = _1hss(81755), _1htg = _1hss(5527), _1hth = _1hss(48973), _1hti = _1hss(43201), _1htj = function(_1htk) { var _1htl = null; function _1htm(_1htn, _1hto) { var _1htp = null, _1htq = _1htk.call(this) || this; return _1htq._anim = function() { var _1htr = null, _1hts = _1htq._getRandomShip(), _1htt = _1hts.mst_id; _1hte.default.sound.voice.play(_1htt.toString(), 26); var _1htu = new _1hti.AnimFlagShip(_1htq._scene, _1htt, _1hts.isDamaged()), _1htv = new _1htw(_1htq._scene, _1htq._model, _1htq._drop_items); new _1htg.ParallelTask(_1htu, _1htv).start(function() { var _1htx = null; _1htq._endTask(); }); }, _1htq._scene = _1htn, _1htq._model = _1hto, _1htq; } return _1hsv(_1htm, _1htk), _1htm.prototype._start = function() { var _1hty = null; this._drop_items = this._model.sortie.getNextCell().getDropItems(); for (var _1htz = 0, _1hu0 = this._drop_items; _1htz < _1hu0.length; _1htz++) { var _1hu1 = _1hu0[_1htz]; _1hu1.icon_id; if (4 == _1hu1.type) { var _1hu2 = _1hu1.getUseitemMstID(); this._model.sortie.obtained_items.push(_1hu2); } else 5 == _1hu1.type && (_1hu2 = _1hu1.getUseitemMstID(), this._model.sortie.obtained_items.push(_1hu2)); } var _1hu3 = this._drop_items.concat(); this._animItem(_1hu3, this._anim); }, _1htm.prototype._animItem = function(_1hu4, _1hu5) { var _1hu6 = null, _1hu7 = this; if (0 != _1hu4.length) { var _1hu8 = _1hu4.shift(), _1hu9 = _1hu8.getUseitemMstID(), _1hua = _1hu8.count, _1hub = new _1hth.CompDropItem(); _1hub.initialize(_1hu9, _1hua); var _1huc = this._scene.view.map.ship_icon; _1hub.position.set(_1huc.x, _1huc.y), this._scene.view.addChild(_1hub), createjs.Tween.get(_1hub).to({ 'y': _1huc.y - 60 }, 400).to({ 'y': _1huc.y - 75, 'alpha': 0 }, 200).call(function() { var _1hud = null; _1hu7._scene.view.removeChild(_1hub), _1hub.dispose(), _1huc.startWaveWhite(), _1hu7._animItem(_1hu4, _1hu5); }); } else null != _1hu5 && _1hu5(); }, _1htm.prototype._endTask = function() { var _1hue = null; this._scene.view.map.ship_icon.stopWave(), this._scene.view.message_box.text = '', _1htk.prototype._endTask.call(this); }, _1htm.prototype._getRandomShip = function() { var _1huf = null; for (var _1hug = this._model.deck_f.ships, _1huh = new Array(), _1hui = 0, _1huj = _1hug; _1hui < _1huj.length; _1hui++) { var _1huk = _1huj[_1hui]; null != _1huk && (0 != _1huk.damageType && 1 != _1huk.isTaihi() && _1huh.push(_1huk)); } return _1huh[Math.floor(Math.random() * _1huh.length)]; }, _1htm; }(_1htf.TaskBase); _1hsr.CellTaskItem = _1htj; var _1htw = function(_1hul) { var _1hum = null; function _1hun(_1huo, _1hup, _1huq) { var _1hur = null, _1hus = _1hul.call(this) || this; return _1hus._scene = _1huo, _1hus._model = _1hup, _1hus._items = _1huq, _1hus; } return _1hsv(_1hun, _1hul), _1hun.prototype._start = function() { var _1hut = null; 541 != this._model.sortie.map_id ? (this._current_index = 0, this._loop()) : this._show541(); }, _1hun.prototype._loop = function() { var _1huu = null; if (this._current_index < this._items.length) { var _1huv = this._items[this._current_index]; this._current_index++, this._show(_1huv); } else this._endTask(); }, _1hun.prototype._show = function(_1huw) { var _1hux = null, _1huy = this, _1huz = _1huw.getUseitemMstID(), _1hv0 = _1huw.count; this._scene.view.message_box.showItemGetText(_1huz, _1hv0), createjs.Tween.get(null).wait(2000).call(function() { var _1hv1 = null; _1huy._loop(); }); }, _1hun.prototype._show541 = function() { var _1hv2 = null, _1hv3 = this; this._scene.view.message_box.text = 'ラバウル港に到着しました。', createjs.Tween.get(null).wait(2000).call(function() { var _1hv4 = null; _1hv3._endTask(); }); }, _1hun.prototype._endTask = function() { var _1hv5 = null; this._scene = null, this._items = null, _1hul.prototype._endTask.call(this); }, _1hun; }(_1htf.TaskBase); }, 23261: function(_1hv6, _1hv7, _1hv8) { 'use strict'; var _1hv9 = null; var _1hva, _1hvb = this && this.__extends || (_1hva = function(_1hvc, _1hvd) { var _1hve = null; return _1hva = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1hvf, _1hvg) { var _1hvh = null; _1hvf.__proto__ = _1hvg; } || function(_1hvi, _1hvj) { var _1hvk = null; for (var _1hvl in _1hvj) Object.prototype.hasOwnProperty.call(_1hvj, _1hvl) && (_1hvi[_1hvl] = _1hvj[_1hvl]); }, _1hva(_1hvc, _1hvd); }, function(_1hvm, _1hvn) { var _1hvo = null; if ('function' != typeof _1hvn && null !== _1hvn) throw new TypeError('Class extends value ' + String(_1hvn) + ' is not a constructor or null'); function _1hvp() { var _1hvq = null; this.constructor = _1hvm; } _1hva(_1hvm, _1hvn), _1hvm.prototype = null === _1hvn ? Object.create(_1hvn) : (_1hvp.prototype = _1hvn.prototype, new _1hvp()); }), _1hvr = this && this.__spreadArray || function(_1hvs, _1hvt, _1hvu) { var _1hvv = null; if (_1hvu || 2 === arguments.length) { for (var _1hvw, _1hvx = 0, _1hvy = _1hvt.length; _1hvx < _1hvy; _1hvx++) !_1hvw && _1hvx in _1hvt || (_1hvw || (_1hvw = Array.prototype.slice.call(_1hvt, 0, _1hvx)), _1hvw[_1hvx] = _1hvt[_1hvx]); } return _1hvs.concat(_1hvw || Array.prototype.slice.call(_1hvt)); }; defineModule(_1hv7); Object.defineProperty(_1hv7, '__esModule', { 'value': !0 }), _1hv7.CellTaskLanding = void 0; var _1hvz = _1hv8(81755), _1hw0 = _1hv8(51805), _1hw1 = _1hv8(55535), _1hw2 = _1hv8(56494), _1hw3 = _1hv8(59315), _1hw4 = _1hv8(73553), _1hw5 = _1hv8(74876), _1hw6 = _1hv8(88471), _1hw7 = _1hv8(5527), _1hw8 = _1hv8(54011), _1hw9 = function(_1hwa) { var _1hwb = null; function _1hwc(_1hwd, _1hwe) { var _1hwf = null, _1hwg = _1hwa.call(this) || this; return _1hwg._scene = _1hwd, _1hwg._model = _1hwe, _1hwg._tanker_container = new _1hwh(), _1hwg; } return _1hvb(_1hwc, _1hwa), _1hwc.prototype._start = function() { var _1hwi = null; if (542 != this._model.sortie.map_id) { if (543 != this._model.sortie.map_id) { if (545 != this._model.sortie.map_id) { if (581 != this._model.sortie.map_id) { var _1hwj = this._model.sortie.map; 1 == _1hwj.isCleared() ? this._startNoLanding('輸送物資の揚陸地点に到達しました。\n本海域の輸送作戦は無事完了しています。') : 3 == _1hwj.gauge_type ? 1 == this._isChkLanding() ? this._isTanker() ? this._startWithTanker() : this._startWithLanding() : this._startNoLanding('輸送物資の揚陸地点に到達しました。\n本海域の輸送作戦は無事完了しています。') : this._startNoLanding('輸送物資の揚陸地点に到達しました。\n同地点付近の敵艦隊を捜索、これを撃滅せよ!'); } else this._is581Message(); } else this._is545Message(); } else this._is543Message(); } else this._is542Message(); }, _1hwc.prototype._isChkLanding = function() { var _1hwk = null, _1hwl = this._model.sortie.map_id, _1hwm = this._model.sortie.map, _1hwn = this._model.sortie.getNextCell().no; if (577 === _1hwl) return !([22].indexOf(_1hwn) >= 0 && _1hwm.getGaugeNum() > 1); return !0; }, _1hwc.prototype._is542Message = function() { var _1hwo = null, _1hwp = function(_1hwq) { var _1hwr = null; return [13, 21].indexOf(_1hwq) > -1 ? 'ショートランドに到着しました。' : [29, 33].indexOf(_1hwq) > -1 ? 'レカタに到着しました。' : '輸送物資の揚陸地点に到達しました。\n本海域の輸送作戦は無事完了しています。'; }(this._model.sortie.getNextCell().no), _1hws = this._model.sortie.map; 1 == _1hws.isCleared() ? this._startNoLanding(_1hwp) : 3 == _1hws.gauge_type ? this._startWithMessageLanding(_1hwp) : this._startNoLanding(_1hwp); }, _1hwc.prototype._is543Message = function() { var _1hwt = null, _1hwu = function(_1hwv) { var _1hww = null; return [31].indexOf(_1hwv) > -1 ? 'ラエに無事到着しました。' : '輸送物資の揚陸地点に到達しました。\n本海域の輸送作戦は無事完了しています。'; }(this._model.sortie.getNextCell().no), _1hwx = this._model.sortie.map; 1 == _1hwx.isCleared() ? this._startNoLanding(_1hwu) : 3 == _1hwx.gauge_type ? this._startWithMessageLanding(_1hwu) : this._startNoLanding(_1hwu); }, _1hwc.prototype._is545Message = function() { var _1hwy = null, _1hwz = function(_1hx0) { var _1hx1 = null; return [41].indexOf(_1hx0) > -1 ? '連合救援艦隊、那覇への逆上陸に成功、\n増援及び救援物資の揚陸に成功せり!' : '輸送物資の揚陸地点に到達しました。\n本海域の輸送作戦は無事完了しています。'; }(this._model.sortie.getNextCell().no), _1hx2 = this._model.sortie.map; 1 == _1hx2.isCleared() ? this._startNoLanding(_1hwz) : 3 == _1hx2.gauge_type ? this._startWithMessageLanding(_1hwz) : this._startNoLanding(_1hwz); }, _1hwc.prototype._is581Message = function() { var _1hx3 = null, _1hx4 = function(_1hx5) { var _1hx6 = null; return [19].indexOf(_1hx5) > -1 ? 'Q基地沖に到達しました。作戦準備機材を揚陸、\n「特四式内火艇」部隊の強化を実施します!' : '輸送物資の揚陸地点に到達しました。\n本海域の輸送作戦は無事完了しています。'; }(this._model.sortie.getNextCell().no), _1hx7 = this._model.sortie.map; 1 == _1hx7.isCleared() ? this._startNoLanding(_1hx4) : 3 == _1hx7.gauge_type ? this._startWithMessageLanding(_1hx4) : this._startNoLanding(_1hx4); }, _1hwc.prototype._isTanker = function() { var _1hx8 = null, _1hx9 = this._model.sortie; return 513 == _1hx9.map_id && [20, 51].indexOf(_1hx9.getNextCell().no) >= 0; }, _1hwc.prototype._startWithTanker = function() { var _1hxa = null, _1hxb = this, _1hxc = this._scene.view.map.ship_icon; this._tanker_container.initialize(), this._tanker_container.position.set(1031, 526), this._scene.view.map.ship_layer.addChild(this._tanker_container), (createjs.Tween.get(_1hxc).to({ 'y': 498 }, 600).call(function() { var _1hxd = null; _1hxb._startWithLanding(); }), this._tanker_container.activateTween()); }, _1hwc.prototype._startWithLanding = function() { var _1hxe = null, _1hxf = this; this._showWave(), createjs.Tween.get(null).wait(500).call(function() { var _1hxg = null; _1hxf._showMessage('輸送物資の揚陸地点に到達しました。\n物資の揚陸を開始します。'); }).wait(3000).call(function() { var _1hxh = null; _1hxf._showMessage(''); }).wait(600).call(function() { var _1hxi = null; _1hxf._taskLanding(); }); }, _1hwc.prototype._startWithMessageLanding = function(_1hxj) { var _1hxk = null, _1hxl = this; this._showWave(), createjs.Tween.get(null).wait(500).call(function() { var _1hxm = null; _1hxl._showMessage(_1hxj); }).wait(3000).call(function() { var _1hxn = null; _1hxl._showMessage(''); }).wait(600).call(function() { var _1hxo = null; _1hxl._taskLanding(); }); }, _1hwc.prototype._taskLanding = function() { var _1hxp = null, _1hxq = this, _1hxr = new _1hw1.SerialTask(), _1hxs = this._scene.view, _1hxt = this._scene.view.map.ship_icon.getGlobalPosition(), _1hxu = this._createShipList(), _1hxv = this._getDrumAndDaihatsuCount(_1hxu), _1hxw = _1hxv.drum_count, _1hxx = _1hxv.daihatsu_count, _1hxy = this._model.sortie.getNextCell().no, _1hxz = this._scene.resInfo.getLandingBalloonType(_1hxy), _1hy0 = new _1hw3.TaskLandingBalloon(_1hxs, _1hxt, _1hxw, _1hxx, _1hxz), _1hy1 = new _1hw6.FuncTask(function() { var _1hy2 = null; _1hxq._tanker_container.isEnabled && _1hxq._tanker_container.deactivateTween(function() { var _1hy3 = null; _1hxq._scene.view.map.ship_layer.removeChild(_1hxq._tanker_container), _1hxq._tanker_container.dispose(), _1hxq._tanker_container = null; var _1hy4 = _1hxq._scene.view.map.ship_icon, _1hy5 = _1hxq._scene.view.map.spotLayer.getSpot(_1hxq._model.sortie.getNextCell().no); createjs.Tween.get(_1hy4).to({ 'y': _1hy5.y }, 600); }); }); _1hxr.add(new _1hw7.ParallelTask(_1hy0, _1hy1)), _1hxr.add(new _1hw2.WaitTask(200)), _1hxr.add(new _1hy6(this._scene, this._model)), _1hxr.add(new _1hw2.WaitTask(500)), _1hxr.add(new _1hy7(this._scene, this._model)), _1hxr.add(new _1hw2.WaitTask(500)), _1hxr.start(function() { var _1hy8 = null; _1hxq._endTask(); }); }, _1hwc.prototype._startNoLanding = function(_1hy9) { var _1hya = null, _1hyb = this; this._showWave(), createjs.Tween.get(null).wait(500).call(function() { var _1hyc = null; _1hyb._showMessage(_1hy9); }).wait(3000).call(function() { var _1hyd = null; _1hyb._showMessage(''); }).wait(1000).call(function() { var _1hye = null; _1hyb._endTask(); }); }, _1hwc.prototype._showWave = function() { var _1hyf = null, _1hyg = this._model.sortie.getNextCell().no, _1hyh = this._scene.view.map.spotLayer.getSpot(_1hyg); this._wave = new _1hw4.CellWave(), this._wave.x = _1hyh.x, this._wave.y = _1hyh.y, this._scene.view.map.spotLayer.addChild(this._wave), this._wave.activate(); }, _1hwc.prototype._showMessage = function(_1hyi) { var _1hyj = null; this._scene.view.message_box.text = _1hyi; }, _1hwc.prototype._createShipList = function() { var _1hyk = null; for (var _1hyl = [], _1hym = 0, _1hyn = this._model.deck_f.ships.concat(); _1hym < _1hyn.length; _1hym++) { var _1hyo = _1hyn[_1hym]; if (null != _1hyo) { var _1hyp = _1hyo.damageType; 0 != _1hyp && 25 != _1hyp && 1 != _1hyo.isTaihi() && _1hyl.push(_1hyo); } } return _1hyl; }, _1hwc.prototype._getDrumAndDaihatsuCount = function(_1hyq) { var _1hyr = null; for (var _1hys = 0, _1hyt = 0, _1hyu = 0, _1hyv = _1hyq; _1hyu < _1hyv.length; _1hyu++) for (var _1hyw = _1hyv[_1hyu], _1hyx = 0, _1hyy = _1hvr(_1hvr([], _1hyw.slots, !0), [_1hyw.slot_ex], !1); _1hyx < _1hyy.length; _1hyx++) { var _1hyz = _1hyy[_1hyx]; null != _1hyz && (75 == _1hyz.mst_id ? _1hys++ : (_1hyz.equipType == _1hw0.EquipType._24_JOURIKUYOU_SHUTEI || _1hyz.equipType == _1hw0.EquipType._46_TOKUGATA_UCHIBITEI) && _1hyt++); } return { 'drum_count': _1hys, 'daihatsu_count': _1hyt }; }, _1hwc.prototype._endTask = function() { var _1hz0 = null; null != this._wave && (null != this._wave.parent && this._wave.parent.removeChild(this._wave), this._wave.dispose(), this._wave = null), this._scene = null, this._model = null, _1hwa.prototype._endTask.call(this); }, _1hwc; }(_1hvz.TaskBase); _1hv7.CellTaskLanding = _1hw9; var _1hy6 = function(_1hz1) { var _1hz2 = null; function _1hz3(_1hz4, _1hz5) { var _1hz6 = null, _1hz7 = _1hz1.call(this) || this; return _1hz7._scene = _1hz4, _1hz7._model = _1hz5, _1hz7; } return _1hvb(_1hz3, _1hz1), _1hz3.prototype._start = function() { var _1hz8 = null, _1hz9 = this, _1hza = this._model.sortie.getNextCell().no, _1hzb = this._scene.view.map.spotLayer.getFlag(_1hza); if (null == _1hzb) for (var _1hzc = 0, _1hzd = this._scene.resInfo.getSameSpotData(_1hza); _1hzc < _1hzd.length; _1hzc++) { var _1hze = _1hzd[_1hzc]; if (null != (_1hzb = this._scene.view.map.spotLayer.getFlag(_1hze.no))) break; } null == _1hzb ? this._endTask() : createjs.Tween.get(_1hzb).to({ 'scaleX': 1.6, 'scaleY': 1.6 }, 200, createjs.Ease.sineOut).to({ 'scaleX': 1, 'scaleY': 1 }, 800, createjs.Ease.sineIn).call(function() { var _1hzf = null; _1hz9._endTask(); }); }, _1hz3.prototype._endTask = function() { var _1hzg = null; this._scene = null, this._model = null, _1hz1.prototype._endTask.call(this); }, _1hz3; }(_1hvz.TaskBase), _1hwh = function(_1hzh) { var _1hzi = null; function _1hzj() { var _1hzk = null, _1hzl = _1hzh.call(this) || this; return _1hzl._isEnabled = !1, _1hzl; } return _1hvb(_1hzj, _1hzh), Object.defineProperty(_1hzj.prototype, 'isEnabled', { 'get': function() { var _1hzm = null; return this._isEnabled; }, 'enumerable': !1, 'configurable': !0 }), _1hzj.prototype.initialize = function() { var _1hzn = null; this._img = new _1hw8.Sprite(_1hw5.MAP_CELL_EVENT.getTexture(64)), this._img.anchor.set(0, 1); var _1hzo = new PIXI.Graphics(); _1hzo.beginFill(16774898, 0.5), _1hzo.drawRect(0, -this._img.height, this._img.width, this._img.height + 5), _1hzo.endFill(), this.addChild(this._img), this.mask = _1hzo, this.addChild(_1hzo), this._img.position.x = -this._img.width, this._isEnabled = !0; }, _1hzj.prototype.activateTween = function() { var _1hzp = null, _1hzq = this; this._img.alpha = 0, createjs.Tween.get(this._img).wait(800).to({ 'x': 0, 'alpha': 1 }, 400).call(function() { var _1hzr = null; null == _1hzq._t && (_1hzq._t = createjs.Tween.get(_1hzq._img, { 'loop': !0 }).to({ 'y': _1hzq._img.y }, 0).to({ 'y': _1hzq._img.y + 2 }, 900, createjs.Ease.sineIn).to({ 'y': _1hzq._img.y }, 900, createjs.Ease.sineOut)); }); }, _1hzj.prototype.deactivateTween = function(_1hzs) { var _1hzt = null; createjs.Tween.get(this._img).wait(2800).to({ 'scaleY': 0 }, 100).call(function() { _1hzs(); }); }, _1hzj.prototype.dispose = function() { var _1hzu = null; this.removeChildren(), this._img.destroy(), this._img = null, this._t.setPaused(!0), this._t = null, this.destroy(); }, _1hzj; }(PIXI.Container), _1hy7 = function(_1hzv) { var _1hzw = null; function _1hzx(_1hzy, _1hzz) { var _1i00 = null, _1i01 = _1hzv.call(this) || this; return _1i01._vanishGauge = function() { var _1i02 = null; 0 == _1i01._model.sortie.getNextCell().gauge_now ? _1i01._scene.view.gauge_layer.vanish(function() { var _1i03 = null; createjs.Tween.get(null).wait(500).call(function() { var _1i04 = null; _1i01._endTask(); }); }) : _1i01._endTask(); }, _1i01._scene = _1hzy, _1i01._model = _1hzz, _1i01; } return _1hvb(_1hzx, _1hzv), _1hzx.prototype._start = function() { var _1i05 = null; this._model.sortie.getNextCell().gauge_now < this._scene.view.gauge_layer.nowHP ? this._reduceGauge() : this._endTask(); }, _1hzx.prototype._reduceGauge = function() { var _1i06 = null, _1i07 = this, _1i08 = this._model.sortie.getNextCell().gauge_max, _1i09 = this._model.sortie.getNextCell().gauge_now, _1i0a = createjs.Tween.get(null); _1i0a.wait(1500), _1i0a.call(function() { var _1i0b = null; _1i07._scene.view.gauge_layer.update(_1i09, _1i08, 2000, _1i07._vanishGauge); }); }, _1hzx; }(_1hvz.TaskBase); }, 24960: function(_1i0c, _1i0d, _1i0e) { 'use strict'; var _1i0f = null; var _1i0g, _1i0h = this && this.__extends || (_1i0g = function(_1i0i, _1i0j) { var _1i0k = null; return _1i0g = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1i0l, _1i0m) { var _1i0n = null; _1i0l.__proto__ = _1i0m; } || function(_1i0o, _1i0p) { var _1i0q = null; for (var _1i0r in _1i0p) Object.prototype.hasOwnProperty.call(_1i0p, _1i0r) && (_1i0o[_1i0r] = _1i0p[_1i0r]); }, _1i0g(_1i0i, _1i0j); }, function(_1i0s, _1i0t) { var _1i0u = null; if ('function' != typeof _1i0t && null !== _1i0t) throw new TypeError('Class extends value ' + String(_1i0t) + ' is not a constructor or null'); function _1i0v() { var _1i0w = null; this.constructor = _1i0s; } _1i0g(_1i0s, _1i0t), _1i0s.prototype = null === _1i0t ? Object.create(_1i0t) : (_1i0v.prototype = _1i0t.prototype, new _1i0v()); }), _1i0x = this && this.__importDefault || function(_1i0y) { var _1i0z = null; return _1i0y && _1i0y.__esModule ? _1i0y : { 'default': _1i0y }; }; defineModule(_1i0d); Object.defineProperty(_1i0d, '__esModule', { 'value': !0 }), _1i0d.EventTaskCellOpen = void 0; var _1i10 = _1i0x(_1i0e(83300)), _1i11 = _1i0x(_1i0e(18622)), _1i12 = _1i0e(81755), _1i13 = _1i0e(85492), _1i14 = _1i0e(7570), _1i15 = _1i0e(10742), _1i16 = _1i0e(57616), _1i17 = _1i0e(89939), _1i18 = _1i0e(84412), _1i19 = function(_1i1a) { var _1i1b = null; function _1i1c(_1i1d, _1i1e, _1i1f, _1i1g, _1i1h, _1i1i) { var _1i1j = null, _1i1k = _1i1a.call(this) || this; return _1i1k._map_id = _1i1d, _1i1k._mapInfo = _1i1e, _1i1k._view = _1i1f, _1i1k._stage = _1i1g, _1i1k._from = _1i1k._mapInfo.spots.length, _1i1k._mapAnime = _1i1i.mapGimmick, _1i1k._gaugeAnime = _1i1i.nextGauge, _1i1k._enemyAnime = _1i1i.hideEnemy, _1i1k._shutterAnime = _1i1i.onShutter, _1i1k._gaugeLeft = _1i1i.gaugeLeft, _1i1k._gaugeView = _1i1i.gaugeAftShutter, _1i1k._nextAirbase = _1i1i.airbase, _1i1k._breakFlag = _1i1i.breakFlag, _1i1k._m1 = _1i1h, _1i1k._skip_num = 0, _1i1k; } return _1i0h(_1i1c, _1i1a), _1i1c.prototype._start = function() { var _1i1l = null; this._mapAnime ? this._loadInfo() : this._hideEnemy(); }, _1i1c.prototype._loadInfo = function() { var _1i1m = null, _1i1n = this, _1i1o = this._mapInfo.spots.length, _1i1p = this._getPath('info'['concat'](_1i1o, '.json')); _1i10.default.get(_1i1p).then(function(_1i1q) { var _1i1r = null; _1i1n._newMapInfo = _1i17.ObjUtil.getObject(_1i1q, 'data'), _1i1n._isPhaseSkip(_1i1n._skip_num) && (_1i1n._newMapInfoOld = _1i1n._newMapInfo), _1i1n._mapInfo.add(_1i1n._newMapInfo), _1i1n._loadSpriteSheet(_1i1o); }).catch(function(_1i1s) { var _1i1t = null; _1i1n._failedEnd(); }); }, _1i1c.prototype._loadSpriteSheet = function(_1i1u) { var _1i1v = null, _1i1w = this, _1i1x = this._getPath('image'['concat'](_1i1u, '.json')); if (null != PIXI.utils.TextureCache[_1i1x + '_image']) this._phaseSkip(); else { var _1i1y = new PIXI.loaders.Loader(); _1i1y.add(_1i1x), _1i1y.load(function() { var _1i1z = null; _1i1w._phaseSkip(); }); } }, _1i1c.prototype._phaseSkip = function() { var _1i20 = null; this._isPhaseSkip(this._skip_num) ? (this._skip_num++, this._loadInfo()) : this._createLabel(); }, _1i1c.prototype._isPhaseSkip = function(_1i21) { var _1i22 = null; return 523 == this._map_id && 40 == this._m1 && 0 == _1i21; }, _1i1c.prototype._createLabel = function() { var _1i23 = null, _1i24 = this._newMapInfo.labels, _1i25 = []; if (null != _1i24) for (var _1i26 = 0, _1i27 = _1i24; _1i26 < _1i27.length; _1i26++) { var _1i28 = _1i27[_1i26], _1i29 = _1i15.MapUtil.toResKey(this._map_id), _1i2a = 'map'['concat'](_1i29, '_').concat(_1i28.img), _1i2b = PIXI.Texture.fromFrame(_1i2a); _1i25.push({ 'texture': _1i2b, 'x': _1i28.x, 'y': _1i28.y }); } if (null != this._newMapInfoOld) { var _1i2c = this._newMapInfoOld.labels; if (null != _1i2c) for (var _1i2d = 0, _1i2e = _1i2c; _1i2d < _1i2e.length; _1i2d++) { _1i28 = _1i2e[_1i2d], _1i29 = _1i15.MapUtil.toResKey(this._map_id), _1i2a = 'map'['concat'](_1i29, '_').concat(_1i28.img), _1i2b = PIXI.Texture.fromFrame(_1i2a), _1i25.push({ 'texture': _1i2b, 'x': _1i28.x, 'y': _1i28.y }); } } this._view.map.bg.addLabels(_1i25), this._createSpots(); }, _1i1c.prototype._createSpots = function() { var _1i2f = null; for (var _1i2g = this._mapInfo.spots, _1i2h = this._from; _1i2h < _1i2g.length; _1i2h++) { var _1i2i = _1i2g[_1i2h].no; if (this._view.map.addSpot(this._map_id, _1i2i, this._mapInfo), null != _1i2g[_1i2h].landing) { var _1i2j = _1i2g[_1i2h].x + _1i2g[_1i2h].landing.x, _1i2k = _1i2g[_1i2h].y + _1i2g[_1i2h].landing.y, _1i2l = _1i2g[_1i2h].landing.flag; this._view.map.spotLayer.addFlag(_1i2l, _1i2i, _1i2j, _1i2k); } } this._initCellColor(); }, _1i1c.prototype._initCellColor = function() { var _1i2m = null; for (var _1i2n = this._view.map.spotLayer.getAllSpots(), _1i2o = [], _1i2p = this._from; _1i2p < _1i2n.length; _1i2p++) { var _1i2q = _1i2n[_1i2p]; _1i2o.push(_1i2q.no); } for (var _1i2r = [], _1i2s = function(_1i2t) { var _1i2u = null; if (_1i2r.indexOf(_1i2t) >= 0) return 'continue'; var _1i2v = _1i2w._mapInfo.getSameSpotData(_1i2t).filter(function(_1i2x) { return _1i2x.no != _1i2t; }); if (_1i2v.length > 0) { var _1i2y = _1i2v.map(function(_1i2z) { var _1i30 = null; if (_1i2o.indexOf(_1i2z.no) >= 0) return _1i2z.no; }); if (_1i2r = _1i2r.concat(_1i2y), !_1i2v.some(function(_1i31) { var _1i32 = null; return _1i2o.indexOf(_1i31.no) < 0; }) && _1i2r.indexOf(_1i2t) < 0) { var _1i33 = _1i2w._view.map.spotLayer.getSpot(_1i2t), _1i34 = _1i2w._mapInfo.getSpot(_1i2t).color; _1i33.setColor(_1i34); } } else _1i33 = _1i2w._view.map.spotLayer.getSpot(_1i2t), _1i34 = _1i2w._mapInfo.getSpot(_1i2t).color, _1i33.setColor(_1i34); }, _1i2w = this, _1i35 = 0, _1i36 = _1i2o; _1i35 < _1i36.length; _1i35++) { _1i2s(_1i36[_1i35]); } this.setView(); }, _1i1c.prototype.setView = function() { var _1i37 = null; this._openSpot = []; for (var _1i38 = this._view.map.spotLayer.getAllSpots(), _1i39 = this._from; _1i39 < _1i38.length; _1i39++) this._openSpot.push(_1i38[_1i39]); this._openSpot.length > 0 ? (this._initView(), this._hideEnemy()) : this._endTask(); }, _1i1c.prototype._initView = function() { var _1i3a = null; for (var _1i3b = this._view.map.bg.extraLayerLast, _1i3c = 0; _1i3c < _1i3b.children.length; _1i3c++) { var _1i3d = _1i3b.getChildAt(_1i3c); _1i3d.scale.set(0), _1i3d.alpha = 0; } for (var _1i3e = 0, _1i3f = this._openSpot; _1i3e < _1i3f.length; _1i3e++) { var _1i3g = _1i3f[_1i3e], _1i3h = _1i3g.point; null != _1i3h && (_1i3h.scale.set(0), _1i3h.alpha = 0); var _1i3i = _1i3g.route; null != _1i3i && (_1i3i.scale.set(0), _1i3i.alpha = 0); } }, _1i1c.prototype._hideEnemy = function() { var _1i3j = null, _1i3k = this; this._enemyAnime ? createjs.Tween.get(null).wait(2000).call(function() { var _1i3l = null; _1i3k._view.map.plane_layer.hideAll(), _1i3k._view.map.enemy_layer.hide(function() { var _1i3m = null; _1i3k._loadGaugeResource(); }); }) : this._loadGaugeResource(); }, _1i1c.prototype._loadGaugeResource = function() { var _1i3n = null, _1i3o = this; if (this._gaugeAnime) { this._view.gauge_layer.visible = !1; var _1i3p = Math.floor(this._map_id / 10), _1i3q = this._map_id % 10, _1i3r = this._stage + 1, _1i3s = _1i18.GaugeSetModel.createKey(_1i3p, _1i3q, _1i3r), _1i3t = _1i11.default.resources.gauge.createLoaderVertical(); _1i3t.add(_1i3s), _1i3t.load(function() { var _1i3u = null; _1i3o._showMap(); }); } else this._showMap(); }, _1i1c.prototype._showMap = function() { var _1i3v = null, _1i3w = this; if (this._shutterAnime) { var _1i3x = new _1i14.Shutter(); _1i3x.initializeDark(), _1i3x.close(0), this._view.addChild(_1i3x), this._view.shutter.alpha = 0, this._view.map.alpha = 1, this._view.upper.alpha = 1, this._view.gauge_layer.alpha = this._gaugeView ? 1 : 0, createjs.Tween.get(null).wait(200).call(function() { var _1i3y = null; _1i3x.open(), _1i3x.once('opened', function() { var _1i3z = null; _1i3w._view.removeChild(_1i3x), createjs.Tween.get(null).wait(1000).call(function() { var _1i40 = _1i3z; _1i3w[_1i40(10080)](); }); }); }); } else this.animation(); }, _1i1c.prototype.animation = function() { var _1i41 = null, _1i42 = this; if (this._mapAnime) { for (var _1i43 = new _1i13.TweenTask(), _1i44 = this._view.map.bg.extraLayerLast, _1i45 = 0; _1i45 < _1i44.children.length; _1i45++) { var _1i46 = _1i44.getChildAt(_1i45); (_1i47 = createjs.Tween.get(_1i46)).to({ 'scaleX': 1.2, 'scaleY': 1.2, 'alpha': 1 }, 200), _1i47.to({ 'scaleX': 1, 'scaleY': 1 }, 100), _1i43.addTween(_1i47); } for (var _1i48 = 0, _1i49 = this._openSpot; _1i48 < _1i49.length; _1i48++) { var _1i4a = _1i49[_1i48], _1i4b = _1i4a.point; if (null != _1i4b)(_1i47 = createjs.Tween.get(_1i4b)).to({ 'scaleX': 1.2, 'scaleY': 1.2, 'alpha': 1 }, 200), _1i47.to({ 'scaleX': 1, 'scaleY': 1 }, 100), _1i43.addTween(_1i47); var _1i47, _1i4c = _1i4a.route; if (null != _1i4c)(_1i47 = createjs.Tween.get(_1i4c)).wait(300), _1i47.to({ 'scaleX': 1.2, 'scaleY': 1.2, 'alpha': 1 }, 200), _1i47.to({ 'scaleX': 1, 'scaleY': 1 }, 100), _1i43.addTween(_1i47); } _1i43.start(function() { var _1i4d = null; _1i42._showGauge(); }); } else this._showGauge(); }, _1i1c.prototype._showGauge = function() { var _1i4e = null, _1i4f = this; if (this._gaugeAnime) { var _1i4g = Math.floor(this._map_id / 10), _1i4h = this._map_id % 10, _1i4i = this._stage + 1, _1i4j = _1i18.GaugeSetModel.createKey(_1i4g, _1i4h, _1i4i), _1i4k = _1i15.MapUtil.isEventArea(_1i4g), _1i4l = _1i11.default.resources.gauge.getGaugeInfo(_1i4j); if (null == _1i4l) this._showNextAirBase(); else { var _1i4m = _1i4l.vertical; null != _1i4m && this._view.gauge_layer.initialize(_1i4k, _1i4m, 100, 100, 1, !1), this._view.gauge_layer.visible = !0; var _1i4n = this._view.gauge_layer.createShowTween(this._gaugeLeft); _1i4n.wait(1500), _1i4n.call(function() { var _1i4o = null; _1i4f._showNextAirBase(); }); } } else this._showNextAirBase(); }, _1i1c.prototype._showNextAirBase = function() { var _1i4p = null, _1i4q, _1i4r = this; if (null != this._nextAirbase && 0 != this._nextAirbase) { var _1i4s = this._nextAirbase; _1i4q = this._mapInfo.getAirBasePos(_1i4s), this._breakFlag && _1i4r._view.map.spotLayer.removeFlag(), _1i4r._view.map.airbaseLayer.move(_1i4q), createjs.Tween.get(null).wait(2000).call(function() { var _1i4t = null; _1i4r._wait(); }); } else this._wait(); }, _1i1c.prototype._wait = function() { var _1i4u = null, _1i4v = this; createjs.Tween.get(null).wait(3000).call(function() { var _1i4w = null; _1i4v._hideMap(); }); }, _1i1c.prototype._hideMap = function() { var _1i4x = null, _1i4y = this; if (this._shutterAnime) { var _1i4z = new _1i14.Shutter(); _1i4z.initializeDark(), this._view.addChild(_1i4z), createjs.Tween.get(null).wait(200).call(function() { var _1i50 = null; _1i4z.close(), _1i4z.once('closed', function() { var _1i51 = null; _1i4y._view.shutter.alpha = 1, _1i4y._view.map.alpha = 0, _1i4y._view.upper.alpha = 0, _1i4y._view.gauge_layer.alpha = 0, _1i4y._view.removeChild(_1i4z), _1i4y._endTask(); }); }); } else this._endTask(); }, _1i1c.prototype._getPath = function(_1i52) { var _1i53 = null, _1i54 = _1i15.MapUtil.toAreaID(this._map_id), _1i55 = _1i15.MapUtil.toMapNo(this._map_id); return _1i11.default.settings.path_root + 'resources/map/'['concat'](_1i16.MathUtil.zeroPadding(_1i54, 3), '/').concat(_1i16.MathUtil.zeroPadding(_1i55, 2), '_').concat(_1i52); }, _1i1c; }(_1i12.TaskBase); _1i0d.EventTaskCellOpen = _1i19; }, 3720: function(_1i56, _1i57, _1i58) { 'use strict'; var _1i59 = null; var _1i5a, _1i5b = this && this.__extends || (_1i5a = function(_1i5c, _1i5d) { var _1i5e = null; return _1i5a = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1i5f, _1i5g) { var _1i5h = null; _1i5f.__proto__ = _1i5g; } || function(_1i5i, _1i5j) { var _1i5k = null; for (var _1i5l in _1i5j) Object.prototype.hasOwnProperty.call(_1i5j, _1i5l) && (_1i5i[_1i5l] = _1i5j[_1i5l]); }, _1i5a(_1i5c, _1i5d); }, function(_1i5m, _1i5n) { var _1i5o = null; if ('function' != typeof _1i5n && null !== _1i5n) throw new TypeError('Class extends value ' + String(_1i5n) + ' is not a constructor or null'); function _1i5p() { var _1i5q = null; this.constructor = _1i5m; } _1i5a(_1i5m, _1i5n), _1i5m.prototype = null === _1i5n ? Object.create(_1i5n) : (_1i5p.prototype = _1i5n.prototype, new _1i5p()); }); defineModule(_1i57); Object.defineProperty(_1i57, '__esModule', { 'value': !0 }), _1i57.ViewMain = void 0; var _1i5r = _1i58(37618), _1i5s = _1i58(7570), _1i5t = _1i58(76624), _1i5u = _1i58(68894), _1i5v = _1i58(74643), _1i5w = _1i58(19255), _1i5x = function(_1i5y) { var _1i5z = null; function _1i60() { var _1i61 = null, _1i62 = _1i5y.call(this) || this; return _1i62._bg = new _1i5r.MapBG(), _1i62._shutter = new _1i5s.Shutter(), _1i62._map = new _1i5v.MapView(), _1i62._upper = new _1i5u.CompUpperBar(), _1i62._gauge_layer = new _1i5w.GaugeLayer(), _1i62._chara_layer = new PIXI.Sprite(), _1i62._universal_layer = new PIXI.Container(), _1i62._message_box = new _1i5t.CompMessageBox(), _1i62._word_balloons_layer = new PIXI.Container(), _1i62._top_layer = new PIXI.Container(), _1i62.addChild(_1i62._bg), _1i62.addChild(_1i62._shutter), _1i62.addChild(_1i62._map), _1i62.addChild(_1i62._upper), _1i62.addChild(_1i62._gauge_layer), _1i62.addChild(_1i62._chara_layer), _1i62.addChild(_1i62._universal_layer), _1i62.addChild(_1i62._message_box), _1i62.addChild(_1i62._word_balloons_layer), _1i62.addChild(_1i62._top_layer), _1i62; } return _1i5b(_1i60, _1i5y), Object.defineProperty(_1i60.prototype, 'bg', { 'get': function() { var _1i63 = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1i60.prototype, 'shutter', { 'get': function() { var _1i64 = null; return this._shutter; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1i60.prototype, 'map', { 'get': function() { var _1i65 = null; return this._map; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1i60.prototype, 'upper', { 'get': function() { var _1i66 = null; return this._upper; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1i60.prototype, 'gauge_layer', { 'get': function() { var _1i67 = null; return this._gauge_layer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1i60.prototype, 'chara_layer', { 'get': function() { var _1i68 = null; return this._chara_layer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1i60.prototype, 'universal_layer', { 'get': function() { var _1i69 = null; return this._universal_layer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1i60.prototype, 'message_box', { 'get': function() { var _1i6a = null; return this._message_box; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1i60.prototype, 'word_balloons_layer', { 'get': function() { var _1i6b = null; return this._word_balloons_layer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1i60.prototype, 'top_layer', { 'get': function() { var _1i6c = null; return this._top_layer; }, 'enumerable': !1, 'configurable': !0 }), _1i60.prototype.initialize = function() { var _1i6d = null; this.shutter.initializeLight(), this._upper.initialize(), this._message_box.initialize(); }, _1i60.prototype.dispose = function() { var _1i6e = null; this.removeChildren(), this._bg.dispose(), this._map.dispose(), this._upper.dispose(), this._gauge_layer.dispose(), this._message_box.dispose(), this._message_box = null; }, _1i60.prototype.frontOfGaugeLayer = function() { var _1i6f = null; this.addChild(this._gauge_layer), this.addChild(this._word_balloons_layer), this.addChild(this._top_layer); }, _1i60; }(PIXI.Container); _1i57.ViewMain = _1i5x; }, 50135: function(_1i6g, _1i6h, _1i6i) { 'use strict'; var _1i6j = null; var _1i6k, _1i6l = this && this.__extends || (_1i6k = function(_1i6m, _1i6n) { var _1i6o = null; return _1i6k = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1i6p, _1i6q) { var _1i6r = null; _1i6p.__proto__ = _1i6q; } || function(_1i6s, _1i6t) { var _1i6u = null; for (var _1i6v in _1i6t) Object.prototype.hasOwnProperty.call(_1i6t, _1i6v) && (_1i6s[_1i6v] = _1i6t[_1i6v]); }, _1i6k(_1i6m, _1i6n); }, function(_1i6w, _1i6x) { var _1i6y = null; if ('function' != typeof _1i6x && null !== _1i6x) throw new TypeError('Class extends value ' + String(_1i6x) + ' is not a constructor or null'); function _1i6z() { var _1i70 = null; this.constructor = _1i6w; } _1i6k(_1i6w, _1i6x), _1i6w.prototype = null === _1i6x ? Object.create(_1i6x) : (_1i6z.prototype = _1i6x.prototype, new _1i6z()); }); defineModule(_1i6h); Object.defineProperty(_1i6h, '__esModule', { 'value': !0 }), _1i6h.AirUnitAppointmentLayer = void 0; var _1i71 = _1i6i(70723), _1i72 = _1i6i(7463), _1i73 = function(_1i74) { var _1i75 = null; function _1i76(_1i77, _1i78) { var _1i79 = null, _1i7a = _1i74.call(this) || this; return _1i7a._onClick = function(_1i7b) { var _1i7c = null; _1i7a._selected_spot_no.length >= 2 || (_1i71.SE.play('224'), _1i7a._selected_spot_no.push(_1i7b), _1i7a._cb_onChange()); }, _1i7a._onDoubleClick = function(_1i7d) { var _1i7e = null, _1i7f = _1i7a._selected_spot_no.lastIndexOf(_1i7d); - 1 != _1i7f && (_1i7a._selected_spot_no.splice(_1i7f, 1), _1i7a._cb_onChange()); }, _1i7a._selected_spot_no = _1i77, _1i7a._cb_onChange = _1i78, _1i7a._points = {}, _1i7a; } return _1i6l(_1i76, _1i74), _1i76.prototype.initialize = function(_1i7g, _1i7h, _1i7i) { var _1i7j = null; this._clear(); for (var _1i7k = 0, _1i7l = _1i7h = this._dedupeCells(_1i7h); _1i7k < _1i7l.length; _1i7k++) { var _1i7m = _1i7l[_1i7k], _1i7n = _1i7m.no, _1i7o = _1i7i.getCellInfo(_1i7n); if (!(_1i7o.distance <= 0)) { var _1i7p = new _1i72.AirUnitAppointmentPoint(this._onClick, this._onDoubleClick); _1i7p.initialize(_1i7n, _1i7o, _1i7g), _1i7p.x = _1i7m.x + _1i7m.point.x, _1i7p.y = _1i7m.y + _1i7m.point.y, this.addChild(_1i7p), this._points[_1i7n] = _1i7p; } } }, _1i76.prototype.update = function() { var _1i7q = null, _1i7r = this._selected_spot_no.length > 0 ? this._selected_spot_no[0] : -1, _1i7s = this._selected_spot_no.length > 1 ? this._selected_spot_no[1] : -1; for (var _1i7t in this._points) { var _1i7u = this._points[_1i7t]; _1i7u.no == _1i7s ? _1i7r == _1i7s ? _1i7u.update(3) : _1i7u.update(2) : _1i7u.no == _1i7r ? _1i7u.update(1) : _1i7u.update(0); } }, _1i76.prototype.dispose = function() { var _1i7v = null; this._clear(), this._selected_spot_no = null, this._points = null, this._cb_onChange = null; }, _1i76.prototype._clear = function() { var _1i7w = null; for (var _1i7x in this._points) this._points[_1i7x].dispose(); this.removeChildren(), this._points = []; }, _1i76.prototype._dedupeCells = function(_1i7y) { var _1i7z = null; for (var _1i80 = [], _1i81 = _1i7y.concat(); _1i81.length > 0;) { for (var _1i82 = _1i81.shift(), _1i83 = !1, _1i84 = 0, _1i85 = _1i80; _1i84 < _1i85.length; _1i84++) { var _1i86 = _1i85[_1i84], _1i87 = _1i82.x - _1i86.x, _1i88 = _1i82.y - _1i86.y; if (Math.sqrt(_1i87 * _1i87 + _1i88 * _1i88) <= 10) { _1i83 = !0; break; } } 0 == _1i83 && _1i80.push(_1i82); } return _1i80; }, _1i76; }(PIXI.Container); _1i6h.AirUnitAppointmentLayer = _1i73; }, 7463: function(_1i89, _1i8a, _1i8b) { 'use strict'; var _1i8c = null; var _1i8d, _1i8e = this && this.__extends || (_1i8d = function(_1i8f, _1i8g) { var _1i8h = null; return _1i8d = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1i8i, _1i8j) { var _1i8k = null; _1i8i.__proto__ = _1i8j; } || function(_1i8l, _1i8m) { var _1i8n = null; for (var _1i8o in _1i8m) Object.prototype.hasOwnProperty.call(_1i8m, _1i8o) && (_1i8l[_1i8o] = _1i8m[_1i8o]); }, _1i8d(_1i8f, _1i8g); }, function(_1i8p, _1i8q) { var _1i8r = null; if ('function' != typeof _1i8q && null !== _1i8q) throw new TypeError('Class extends value ' + String(_1i8q) + ' is not a constructor or null'); function _1i8s() { var _1i8t = null; this.constructor = _1i8p; } _1i8d(_1i8p, _1i8q), _1i8p.prototype = null === _1i8q ? Object.create(_1i8q) : (_1i8s.prototype = _1i8q.prototype, new _1i8s()); }); defineModule(_1i8a); Object.defineProperty(_1i8a, '__esModule', { 'value': !0 }), _1i8a.AirUnitAppointmentPoint = void 0; var _1i8u = _1i8b(98583), _1i8v = _1i8b(35380), _1i8w = function(_1i8x) { var _1i8y = null; function _1i8z(_1i90, _1i91) { var _1i92 = null, _1i93 = _1i8x.call(this) || this; _1i93._onMouseOver = function() { var _1i94 = null; _1i93._img.texture == PIXI.Texture.EMPTY ? _1i93._effect.activate() : _1i93._effect.deactivate(); }, _1i93._onMouseOut = function() { var _1i95 = null; _1i93._effect.deactivate(); }, _1i93._handle = -1, _1i93._onClick = function() { var _1i96 = null; if (-1 != _1i93._handle) { if (clearTimeout(_1i93._handle), _1i93._handle = -1, null == _1i93._cb_onDoubleClick) return; _1i93._cb_onDoubleClick(_1i93._no); } else _1i93._handle = window.setTimeout(function() { var _1i97 = null; _1i93._handle = -1, null != _1i93._cb_onClick && _1i93._cb_onClick(_1i93._no); }, 300); }, _1i93._cb_onClick = _1i90, _1i93._cb_onDoubleClick = _1i91, _1i93._effect = new _1i98(), _1i93.addChild(_1i93._effect), _1i93._img = new PIXI.Sprite(), _1i93._img.position.set(-42, -42), _1i93.addChild(_1i93._img); var _1i99 = new PIXI.Graphics(); return _1i99.beginFill(65280, 0), _1i99.drawCircle(0, 0, 24), _1i99.endFill(), _1i99.interactive = !0, _1i93._clickCircle = _1i99, _1i93.addChild(_1i93._clickCircle), _1i93.interactive = !1, _1i93; } return _1i8e(_1i8z, _1i8x), Object.defineProperty(_1i8z.prototype, 'no', { 'get': function() { var _1i9a = null; return this._no; }, 'enumerable': !1, 'configurable': !0 }), _1i8z.prototype.initialize = function(_1i9b, _1i9c, _1i9d) { var _1i9e = null; this._no = _1i9b; var _1i9f = 'blue'; if (_1i9c.distance > _1i9d ? _1i9f = 'red' : (_1i9c.distance == _1i9d && (_1i9f = 'yellow'), this._clickCircle.buttonMode = !0, this._clickCircle.on(_1i8v.EventType.CLICK, this._onClick)), this._clickCircle.on(_1i8v.EventType.MOUSEOVER, this._onMouseOver), this._clickCircle.on(_1i8v.EventType.MOUSEOUT, this._onMouseOut), 5 == _1i9c.color || -2 == _1i9c.color) { if (_1i9c.passed) { switch (_1i9f) { case 'red': this._effect.texture = _1i8u.SALLY_AIRUNIT.getTexture(104); break; case 'yellow': this._effect.texture = _1i8u.SALLY_AIRUNIT.getTexture(103); break; case 'blue': this._effect.texture = _1i8u.SALLY_AIRUNIT.getTexture(102); } this._effect.x = 0, this._effect.y = -2, this._clickCircle.position.set(0, -2); } else { switch (_1i9f) { case 'red': this._effect.texture = _1i8u.SALLY_AIRUNIT.getTexture(101); break; case 'yellow': this._effect.texture = _1i8u.SALLY_AIRUNIT.getTexture(100); break; case 'blue': this._effect.texture = _1i8u.SALLY_AIRUNIT.getTexture(99); } this._effect.x = 0, this._effect.y = 0; } } else { if (10 == _1i9c.color && _1i9c.passed) { switch (_1i9f) { case 'red': this._effect.texture = _1i8u.SALLY_AIRUNIT.getTexture(107); break; case 'yellow': this._effect.texture = _1i8u.SALLY_AIRUNIT.getTexture(106); break; case 'blue': this._effect.texture = _1i8u.SALLY_AIRUNIT.getTexture(105); } this._effect.x = -11, this._effect.y = 9, this._clickCircle.position.set(-11, 9); } else { if (13 == _1i9c.color && _1i9c.passed) { switch (_1i9f) { case 'red': this._effect.texture = _1i8u.SALLY_AIRUNIT.getTexture(95); break; case 'yellow': this._effect.texture = _1i8u.SALLY_AIRUNIT.getTexture(94); break; case 'blue': this._effect.texture = _1i8u.SALLY_AIRUNIT.getTexture(93); } this._effect.x = -1, this._effect.y = 1, this._clickCircle.position.set(-1, 1); } else { if (8 == _1i9c.color && _1i9c.passed) { switch (_1i9f) { case 'red': this._effect.texture = _1i8u.SALLY_AIRUNIT.getTexture(113); break; case 'yellow': this._effect.texture = _1i8u.SALLY_AIRUNIT.getTexture(112); break; case 'blue': this._effect.texture = _1i8u.SALLY_AIRUNIT.getTexture(111); } this._effect.x = 0, this._effect.y = 0; } else { if (15 == _1i9c.color && _1i9c.passed) { switch (_1i9f) { case 'red': this._effect.texture = _1i8u.SALLY_AIRUNIT.getTexture(98); break; case 'yellow': this._effect.texture = _1i8u.SALLY_AIRUNIT.getTexture(97); break; case 'blue': this._effect.texture = _1i8u.SALLY_AIRUNIT.getTexture(96); } this._effect.x = 0, this._effect.y = 0, this._clickCircle.position.set(0, 0); } else { switch (_1i9f) { case 'red': this._effect.texture = _1i8u.SALLY_AIRUNIT.getTexture(110); break; case 'yellow': this._effect.texture = _1i8u.SALLY_AIRUNIT.getTexture(109); break; case 'blue': this._effect.texture = _1i8u.SALLY_AIRUNIT.getTexture(108); } this._effect.x = 0, this._effect.y = 0; } } } } } }, _1i8z.prototype.dispose = function() { var _1i9g = null; this._effect.dispose(), this._clickCircle.off(_1i8v.EventType.MOUSEOVER, this._onMouseOver), this._clickCircle.off(_1i8v.EventType.MOUSEOUT, this._onMouseOut), this._clickCircle.buttonMode = !1, this._clickCircle.off(_1i8v.EventType.CLICK, this._onClick), this._cb_onClick = null, this._cb_onDoubleClick = null; }, _1i8z.prototype.update = function(_1i9h) { var _1i9i = null; switch (_1i9h) { case 1: this._img.texture = _1i8u.SALLY_AIRUNIT.getTexture(141); break; case 2: this._img.texture = _1i8u.SALLY_AIRUNIT.getTexture(142); break; case 3: this._img.texture = _1i8u.SALLY_AIRUNIT.getTexture(143); break; default: this._img.texture = PIXI.Texture.EMPTY; } }, _1i8z; }(PIXI.Container); _1i8a.AirUnitAppointmentPoint = _1i8w; var _1i98 = function(_1i9j) { var _1i9k = null; function _1i9l() { var _1i9m = null, _1i9n = _1i9j.call(this) || this; return _1i9n.anchor.set(0.5), _1i9n.visible = !1, _1i9n; } return _1i8e(_1i9l, _1i9j), _1i9l.prototype.activate = function() { var _1i9o = null; this._startAnimation(); }, _1i9l.prototype.deactivate = function() { var _1i9p = null; this._stopAnimation(); }, _1i9l.prototype.dispose = function() { var _1i9q = null; this._stopAnimation(); }, _1i9l.prototype._startAnimation = function() { var _1i9r = null; this.alpha = 0, this.visible = !0, this._t = createjs.Tween.get(this).to({ 'alpha': 1 }, 1000).to({ 'alpha': 0 }, 1000), this._t.loop = !0; }, _1i9l.prototype._stopAnimation = function() { var _1i9s = null; this.visible = !1, null != this._t && (this._t.setPaused(!0), this._t = null); }, _1i9l; }(PIXI.Sprite); }, 49288: function(_1i9t, _1i9u, _1i9v) { 'use strict'; var _1i9w = null; var _1i9x, _1i9y = this && this.__extends || (_1i9x = function(_1i9z, _1ia0) { var _1ia1 = null; return _1i9x = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ia2, _1ia3) { var _1ia4 = null; _1ia2.__proto__ = _1ia3; } || function(_1ia5, _1ia6) { var _1ia7 = null; for (var _1ia8 in _1ia6) Object.prototype.hasOwnProperty.call(_1ia6, _1ia8) && (_1ia5[_1ia8] = _1ia6[_1ia8]); }, _1i9x(_1i9z, _1ia0); }, function(_1ia9, _1iaa) { var _1iab = null; if ('function' != typeof _1iaa && null !== _1iaa) throw new TypeError('Class extends value ' + String(_1iaa) + ' is not a constructor or null'); function _1iac() { var _1iad = null; this.constructor = _1ia9; } _1i9x(_1ia9, _1iaa), _1ia9.prototype = null === _1iaa ? Object.create(_1iaa) : (_1iac.prototype = _1iaa.prototype, new _1iac()); }); defineModule(_1i9u); Object.defineProperty(_1i9u, '__esModule', { 'value': !0 }), _1i9u.AirUnitAppointmentTitle = void 0; var _1iae = _1i9v(35380), _1iaf = _1i9v(98583), _1iag = function(_1iah) { var _1iai = null; function _1iaj(_1iak) { var _1ial = null, _1iam = _1iah.call(this) || this; return _1iam._airunit_count = 0, _1iam._airunit_id = 0, _1iam._complete = !1, _1iam._onClick = function() { var _1ian = null; null != _1iam._cb_onClick && 0 != _1iam.buttonMode && _1iam._cb_onClick(); }, _1iam._cb_onClick = _1iak, _1iam._img = new PIXI.Sprite(), _1iam.addChild(_1iam._img), _1iam.interactive = !0, _1iam; } return _1i9y(_1iaj, _1iah), Object.defineProperty(_1iaj.prototype, 'complete', { 'get': function() { var _1iao = null; return this._complete; }, 'set': function(_1iap) { var _1iaq = null; this._complete = _1iap, this.buttonMode = _1iap, this._update(); }, 'enumerable': !1, 'configurable': !0 }), _1iaj.prototype.initialize = function(_1iar) { var _1ias = null; this._airunit_count = _1iar, this.on(_1iae.EventType.CLICK, this._onClick); }, _1iaj.prototype.update = function(_1iat) { var _1iau = null; this._airunit_count > 1 ? this._airunit_id = _1iat : this._airunit_id = 0, this.complete = !1, this._update(); }, _1iaj.prototype.dispose = function() { var _1iav = null; this.off(_1iae.EventType.CLICK, this._onClick); }, _1iaj.prototype._update = function() { var _1iaw = null; if (1 == this.complete) this._img.texture = _1iaf.SALLY_AIRUNIT.getTexture(150), this._img.position.set(0, 0); else { switch (this._airunit_id) { case 0: this._img.texture = _1iaf.SALLY_AIRUNIT.getTexture(146); break; case 1: this._img.texture = _1iaf.SALLY_AIRUNIT.getTexture(147); break; case 2: this._img.texture = _1iaf.SALLY_AIRUNIT.getTexture(148); break; case 3: this._img.texture = _1iaf.SALLY_AIRUNIT.getTexture(149); break; default: this._img.texture = PIXI.Texture.EMPTY; } this._img.position.set(11, 9); } }, _1iaj; }(PIXI.Container); _1i9u.AirUnitAppointmentTitle = _1iag; }, 54234: function(_1iax, _1iay, _1iaz) { 'use strict'; var _1ib0 = null; var _1ib1, _1ib2 = this && this.__extends || (_1ib1 = function(_1ib3, _1ib4) { var _1ib5 = null; return _1ib1 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ib6, _1ib7) { var _1ib8 = null; _1ib6.__proto__ = _1ib7; } || function(_1ib9, _1iba) { var _1ibb = null; for (var _1ibc in _1iba) Object.prototype.hasOwnProperty.call(_1iba, _1ibc) && (_1ib9[_1ibc] = _1iba[_1ibc]); }, _1ib1(_1ib3, _1ib4); }, function(_1ibd, _1ibe) { var _1ibf = null; if ('function' != typeof _1ibe && null !== _1ibe) throw new TypeError('Class extends value ' + String(_1ibe) + ' is not a constructor or null'); function _1ibg() { var _1ibh = null; this.constructor = _1ibd; } _1ib1(_1ibd, _1ibe), _1ibd.prototype = null === _1ibe ? Object.create(_1ibe) : (_1ibg.prototype = _1ibe.prototype, new _1ibg()); }); defineModule(_1iay); Object.defineProperty(_1iay, '__esModule', { 'value': !0 }), _1iay.AirUnitPanel = void 0; var _1ibi = _1iaz(8744), _1ibj = _1iaz(39450), _1ibk = _1iaz(98583), _1ibl = _1iaz(29293), _1ibm = _1iaz(96928), _1ibn = _1iaz(99827), _1ibo = _1iaz(51968), _1ibp = _1iaz(70010), _1ibq = function(_1ibr) { var _1ibs = null; function _1ibt() { var _1ibu = null, _1ibv = _1ibr.call(this) || this; _1ibv._selected_airunit_id = 0, _1ibv._onChangeTab = function(_1ibw) { var _1ibx = null; _1ibv.update(_1ibw); }, _1ibv._area = new PIXI.Graphics(), _1ibv.addChild(_1ibv._area), _1ibv._tabs = new _1ibl.AirUnitPanelTabContainer(_1ibv._onChangeTab), _1ibv._tabs.x = 30, _1ibv.addChild(_1ibv._tabs), _1ibv._base = new PIXI.Sprite(), _1ibv._base.position.set(0, 21), _1ibv.addChild(_1ibv._base), _1ibv._banner = new _1ibm.AirUnitPanelBanner(), _1ibv._banner.position.set(26, 45), _1ibv.addChild(_1ibv._banner), _1ibv._name = new _1ibi.TextBox(21, 0), _1ibv._name.position.set(33, 119), _1ibv.addChild(_1ibv._name), _1ibv._tag = new _1ibn.AirUnitPanelWoodenTag(), _1ibv._tag.position.set(314, 47), _1ibv.addChild(_1ibv._tag), _1ibv._items = []; for (var _1iby = 0; _1iby < 4; _1iby++) { var _1ibz = new _1ibo.AirUnitPanelItem(null, null); _1ibz.position.set(17, 164 + 90 * _1iby), _1ibv.addChild(_1ibz), _1ibv._items.push(_1ibz); } return _1ibv._supply_btn = new _1ibp.AirUnitPanelSupplyAllBtn(null), _1ibv._supply_btn.position.set(287, 146), _1ibv.addChild(_1ibv._supply_btn), _1ibv.interactive = !0, _1ibv; } return _1ib2(_1ibt, _1ibr), _1ibt.prototype.initialize = function(_1ic0, _1ic1) { var _1ic2 = null; this._models = _1ic1, this._tabs.initialize(this._models.length), this._base.texture = _1ibk.SALLY_AIRUNIT.getTexture(8), this._area.beginFill(0, 0), this._area.drawRect(this._base.x, this._base.y, this._base.width, this._base.height), this._area.endFill(), this._banner.initialize(_1ic0); for (var _1ic3 = 0; _1ic3 < this._items.length; _1ic3++) { this._items[_1ic3].initialize(_1ic3); } this._supply_btn.initialize(); }, _1ibt.prototype.update = function(_1ic4, _1ic5) { var _1ic6 = null; if (void 0 === _1ic5 && (_1ic5 = !1), (0 != _1ic5 || this._selected_airunit_id != _1ic4) && !(_1ic4 <= 0 || _1ic4 > this._models.length)) { this._selected_airunit_id = _1ic4; for (var _1ic7 = null, _1ic8 = 0, _1ic9 = this._models; _1ic8 < _1ic9.length; _1ic8++) { var _1ica = _1ic9[_1ic8]; if (_1ica.id == _1ic4) { _1ic7 = _1ica; break; } } this._tabs.update(_1ic4), this._name.text = _1ic7.name, _1ibj.EditTextBoxUtil.text = _1ic7.name, this._tag.update(_1ic7.airUnitState, !1); for (var _1icb = _1ic7.squadrons, _1icc = 0, _1icd = !1, _1ice = 0; _1ice < this._items.length; _1ice++) { var _1icf = _1ice < _1icb.length ? _1icb[_1ice] : null; this._items[_1ice].update(_1icf), 0 == _1icc && null != _1icf && 1 == _1icf.state && (_1icc = _1icf.mst_id), _1icd = _1icd || _1icf.count < _1icf.countMax; } this._banner.update(_1ic4, _1icc, _1ic7.distance_base, _1ic7.distance_bonus), this._supply_btn.visible = _1icd; } }, _1ibt.prototype.dispose = function() { var _1icg = null; this.removeChildren(), this._tabs.dispose(), this._tabs = null, this._banner.dispose(), this._banner = null, this._name.destroy(), this._name = null, this._tag.dispose(), this._tag = null; for (var _1ich = 0, _1ici = this._items; _1ich < _1ici.length; _1ich++) { var _1icj = _1ici[_1ich]; _1icj.dispose(), _1icj = null; } this._items = null, this._supply_btn.dispose(), this._supply_btn = null; }, _1ibt; }(PIXI.Container); _1iay.AirUnitPanel = _1ibq; }, 7826: function(_1ick, _1icl, _1icm) { 'use strict'; var _1icn = null; var _1ico, _1icp = this && this.__extends || (_1ico = function(_1icq, _1icr) { var _1ics = null; return _1ico = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ict, _1icu) { var _1icv = null; _1ict.__proto__ = _1icu; } || function(_1icw, _1icx) { var _1icy = null; for (var _1icz in _1icx) Object.prototype.hasOwnProperty.call(_1icx, _1icz) && (_1icw[_1icz] = _1icx[_1icz]); }, _1ico(_1icq, _1icr); }, function(_1id0, _1id1) { var _1id2 = null; if ('function' != typeof _1id1 && null !== _1id1) throw new TypeError('Class extends value ' + String(_1id1) + ' is not a constructor or null'); function _1id3() { var _1id4 = null; this.constructor = _1id0; } _1ico(_1id0, _1id1), _1id0.prototype = null === _1id1 ? Object.create(_1id1) : (_1id3.prototype = _1id1.prototype, new _1id3()); }); defineModule(_1icl); Object.defineProperty(_1icl, '__esModule', { 'value': !0 }), _1icl.AirUnitPanelSet = void 0; var _1id5 = _1icm(79114), _1id6 = _1icm(49288), _1id7 = _1icm(54234), _1id8 = _1icm(35380), _1id9 = function(_1ida) { var _1idb = null; function _1idc(_1idd, _1ide) { var _1idf = null, _1idg = _1ida.call(this) || this; return _1idg._SlidePanel = function() { var _1idh = null; null == _1idg._move_tween && 1 != _1idg._title.complete && (0 == _1idg.x ? _1idg._move_tween = createjs.Tween.get(_1idg).to({ 'x': 831 }, 300, createjs.Ease.quadOut).call(function() { var _1idi = null; _1idg._move_tween = null; }) : _1idg._move_tween = createjs.Tween.get(_1idg).to({ 'x': 0 }, 300, createjs.Ease.quadOut).call(function() { var _1idj = null; _1idg._move_tween = null; })); }, _1idg._title = new _1id6.AirUnitAppointmentTitle(_1idd), _1idg._title.position.set(14, 60), _1idg.addChild(_1idg._title), _1idg._panel = new _1id7.AirUnitPanel(), _1idg._panel.position.set(11, 123), _1idg.addChild(_1idg._panel), _1idg._cancel_btn = new _1id5.PanelCancelBtn(_1ide), _1idg._cancel_btn.position.set(285, 48), _1idg.addChild(_1idg._cancel_btn), _1idg; } return _1icp(_1idc, _1ida), Object.defineProperty(_1idc.prototype, 'title', { 'get': function() { var _1idk = null; return this._title; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1idc.prototype, 'cancel_btn', { 'get': function() { var _1idl = null; return this._cancel_btn; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1idc.prototype, 'panel', { 'get': function() { var _1idm = null; return this._panel; }, 'enumerable': !1, 'configurable': !0 }), _1idc.prototype.initialize = function(_1idn, _1ido) { var _1idp = null, _1idq = null == _1ido ? 0 : _1ido.length; this._title.initialize(_1idq), this._cancel_btn.initialize(), this._panel.initialize(_1idn, _1ido); }, _1idc.prototype.activate = function() { var _1idr = null; this._panel.on(_1id8.EventType.MOUSEOVER, this._SlidePanel), this._panel.on(_1id8.EventType.CLICK, this._SlidePanel); }, _1idc.prototype.deactivate = function() { var _1ids = null; null != this._move_tween && (this._move_tween.setPaused(!0), this._move_tween = null), this._panel.off(_1id8.EventType.MOUSEOVER, this._SlidePanel), this._panel.off(_1id8.EventType.CLICK, this._SlidePanel); }, _1idc.prototype.update = function(_1idt) { var _1idu = null; this._title.update(_1idt), this._panel.update(_1idt, !0); }, _1idc.prototype.dispose = function() { var _1idv = null; this.deactivate(), this._title.dispose(), this._cancel_btn.dispose(), this._panel.dispose(); }, _1idc; }(PIXI.Container); _1icl.AirUnitPanelSet = _1id9; }, 79114: function(_1idw, _1idx, _1idy) { 'use strict'; var _1idz = null; var _1ie0, _1ie1 = this && this.__extends || (_1ie0 = function(_1ie2, _1ie3) { var _1ie4 = null; return _1ie0 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ie5, _1ie6) { var _1ie7 = null; _1ie5.__proto__ = _1ie6; } || function(_1ie8, _1ie9) { var _1iea = null; for (var _1ieb in _1ie9) Object.prototype.hasOwnProperty.call(_1ie9, _1ieb) && (_1ie8[_1ieb] = _1ie9[_1ieb]); }, _1ie0(_1ie2, _1ie3); }, function(_1iec, _1ied) { var _1iee = null; if ('function' != typeof _1ied && null !== _1ied) throw new TypeError('Class extends value ' + String(_1ied) + ' is not a constructor or null'); function _1ief() { var _1ieg = null; this.constructor = _1iec; } _1ie0(_1iec, _1ied), _1iec.prototype = null === _1ied ? Object.create(_1ied) : (_1ief.prototype = _1ied.prototype, new _1ief()); }); defineModule(_1idx); Object.defineProperty(_1idx, '__esModule', { 'value': !0 }), _1idx.PanelCancelBtn = void 0; var _1ieh = _1idy(35380), _1iei = _1idy(98583), _1iej = function(_1iek) { var _1iel = null; function _1iem(_1ien) { var _1ieo = null, _1iep = _1iek.call(this) || this; return _1iep._onMouseOver = function() { var _1ieq = null; _1iep._stopTween(); }, _1iep._onMouseOut = function() { var _1ier = null; _1iep._startTween(); }, _1iep._onClick = function() { var _1ies = null; null != _1iep._cb_onClick && _1iep._cb_onClick(); }, _1iep._cb_onClick = _1ien, _1iep._img = new PIXI.Sprite(), _1iep._img.position.set(11, 11), _1iep.addChild(_1iep._img), _1iep._over = new PIXI.Sprite(), _1iep.addChild(_1iep._over), _1iep.visible = !1, _1iep.interactive = !0, _1iep; } return _1ie1(_1iem, _1iek), _1iem.prototype.initialize = function() { var _1iet = null; this._img.texture = _1iei.SALLY_AIRUNIT.getTexture(30), this._over.texture = _1iei.SALLY_AIRUNIT.getTexture(31), this.buttonMode = !0, this.on(_1ieh.EventType.MOUSEOVER, this._onMouseOver), this.on(_1ieh.EventType.MOUSEOUT, this._onMouseOut), this.on(_1ieh.EventType.CLICK, this._onClick), this._startTween(); }, _1iem.prototype.dispose = function() { var _1ieu = null; this._stopTween(), this.buttonMode = !1, this.off(_1ieh.EventType.MOUSEOVER, this._onMouseOver), this.off(_1ieh.EventType.MOUSEOUT, this._onMouseOut), this.off(_1ieh.EventType.CLICK, this._onClick); }, _1iem.prototype._startTween = function() { var _1iev = null; null == this._t && (this._over.alpha = 1, this._t = createjs.Tween.get(this._over, { 'loop': !0 }).to({ 'alpha': 0.1 }, 1000).to({ 'alpha': 1 }, 400)); }, _1iem.prototype._stopTween = function() { var _1iew = null; null != this._t && (this._t.setPaused(!0), this._t = null, this._over.alpha = 1); }, _1iem; }(PIXI.Container); _1idx.PanelCancelBtn = _1iej; }, 71349: function(_1iex, _1iey, _1iez) { 'use strict'; var _1if0 = null; var _1if1, _1if2 = this && this.__extends || (_1if1 = function(_1if3, _1if4) { var _1if5 = null; return _1if1 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1if6, _1if7) { var _1if8 = null; _1if6.__proto__ = _1if7; } || function(_1if9, _1ifa) { var _1ifb = null; for (var _1ifc in _1ifa) Object.prototype.hasOwnProperty.call(_1ifa, _1ifc) && (_1if9[_1ifc] = _1ifa[_1ifc]); }, _1if1(_1if3, _1if4); }, function(_1ifd, _1ife) { var _1iff = null; if ('function' != typeof _1ife && null !== _1ife) throw new TypeError('Class extends value ' + String(_1ife) + ' is not a constructor or null'); function _1ifg() { var _1ifh = null; this.constructor = _1ifd; } _1if1(_1ifd, _1ife), _1ifd.prototype = null === _1ife ? Object.create(_1ife) : (_1ifg.prototype = _1ife.prototype, new _1ifg()); }); defineModule(_1iey); Object.defineProperty(_1iey, '__esModule', { 'value': !0 }), _1iey.AirReconnaissanceBalloon = void 0; var _1ifi = _1iez(74876), _1ifj = _1iez(16383), _1ifk = function(_1ifl) { var _1ifm = null; function _1ifn() { var _1ifo = null, _1ifp = _1ifl.call(this) || this; return _1ifp._bg = new PIXI.Sprite(), _1ifp._bg.x = -11, _1ifp._bg.y = -128, _1ifp.addChild(_1ifp._bg), _1ifp._label1 = new PIXI.Sprite(), _1ifp.addChild(_1ifp._label1), _1ifp._label2 = new PIXI.Sprite(), _1ifp.addChild(_1ifp._label2), _1ifp._icon = new PIXI.Sprite(), _1ifp._icon.anchor.x = 1, _1ifp._icon.position.set(44, -80), _1ifp.addChild(_1ifp._icon), _1ifp; } return _1if2(_1ifn, _1ifl), _1ifn.prototype.initialize = function(_1ifq, _1ifr, _1ifs) { var _1ift = null; switch (this._bg.texture = _1ifi.MAP_CELL_EVENT.getTexture(17), 2 == _1ifq ? (this._label1.texture = _1ifi.MAP_CELL_EVENT.getTexture(74), this._label1.position.set(20, -117), this._label2.texture = _1ifi.MAP_CELL_EVENT.getTexture(76), this._label2.position.set(20, -41)) : 1 == _1ifq ? (this._label1.texture = _1ifi.MAP_CELL_EVENT.getTexture(75), this._label1.position.set(24, -117), this._label2.texture = _1ifi.MAP_CELL_EVENT.getTexture(76), this._label2.position.set(20, -41)) : (this._label1.texture = _1ifi.MAP_CELL_EVENT.getTexture(77), this._label1.position.set(11, -86), this._label2.texture = PIXI.Texture.EMPTY), _1ifr) { case 2: this._icon.texture = _1ifi.MAP_CELL_EVENT.getTexture(50); break; case 4: this._icon.texture = _1ifi.MAP_CELL_EVENT.getTexture(51); break; case 7: this._icon.texture = _1ifi.MAP_CELL_EVENT.getTexture(52); break; default: this._icon.texture = PIXI.Texture.EMPTY; } if (_1ifs > 0) { var _1ifu = Math.log(_1ifs) * Math.LOG10E + 1; _1ifu = Math.floor(_1ifu); for (var _1ifv = _1ifs, _1ifw = 0; _1ifw < _1ifu; _1ifw++) { var _1ifx = new _1ifj.NumericalDisplay(_1ifv % 10); _1ifx.x = 77 + _1ifu / 2 * _1ifx.width - _1ifw * _1ifx.width, _1ifx.y = -60, this.addChild(_1ifx), _1ifv = Math.floor(_1ifv / 10); } var _1ify = new _1ifj.NumericalDisplay(-1); _1ify.x = 77 - _1ifu / 2 * _1ify.width, _1ify.y = -60, this.addChild(_1ify); } }, _1ifn; }(PIXI.Container); _1iey.AirReconnaissanceBalloon = _1ifk; }, 71214: function(_1ifz, _1ig0, _1ig1) { 'use strict'; var _1ig2 = null; var _1ig3, _1ig4 = this && this.__extends || (_1ig3 = function(_1ig5, _1ig6) { var _1ig7 = null; return _1ig3 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ig8, _1ig9) { var _1iga = null; _1ig8.__proto__ = _1ig9; } || function(_1igb, _1igc) { var _1igd = null; for (var _1ige in _1igc) Object.prototype.hasOwnProperty.call(_1igc, _1ige) && (_1igb[_1ige] = _1igc[_1ige]); }, _1ig3(_1ig5, _1ig6); }, function(_1igf, _1igg) { var _1igh = null; if ('function' != typeof _1igg && null !== _1igg) throw new TypeError('Class extends value ' + String(_1igg) + ' is not a constructor or null'); function _1igi() { var _1igj = null; this.constructor = _1igf; } _1ig3(_1igf, _1igg), _1igf.prototype = null === _1igg ? Object.create(_1igg) : (_1igi.prototype = _1igg.prototype, new _1igi()); }), _1igk = this && this.__importDefault || function(_1igl) { var _1igm = null; return _1igl && _1igl.__esModule ? _1igl : { 'default': _1igl }; }; defineModule(_1ig0); Object.defineProperty(_1ig0, '__esModule', { 'value': !0 }), _1ig0.AnchorageRepairCompleteLayer = void 0; var _1ign = _1igk(_1ig1(21359)), _1igo = _1ig1(88623), _1igp = _1ig1(54011), _1igq = function(_1igr) { var _1igs = null; function _1igt() { var _1igu = null, _1igv = _1igr.call(this) || this; return _1igv._txt_repair_complete = new _1igp.Sprite(), _1igv._fairy_completed = new _1igp.Sprite(), _1igv; } return _1ig4(_1igt, _1igr), Object.defineProperty(_1igt.prototype, 'white', { 'get': function() { var _1igw = null; return this._white; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1igt.prototype, 'txt_repair_complete', { 'get': function() { var _1igx = null; return this._txt_repair_complete; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1igt.prototype, 'fairy_complete', { 'get': function() { var _1igy = null; return this._fairy_completed; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1igt.prototype, 'pattern', { 'get': function() { var _1igz = null; return this._pattern; }, 'enumerable': !1, 'configurable': !0 }), _1igt.prototype.initialize = function() { var _1ih0 = null; this._white = new PIXI.Graphics(), this._white.beginFill(16777215, 1), this._white.drawRect(0, 0, _1ign.default.width, _1ign.default.height), this._white.endFill(), this._txt_repair_complete = new PIXI.Sprite(_1igo.MAP_ANCHORAGE_REPAIR.getTexture(15)), this._txt_repair_complete.position.set(_1ign.default.width / 2 - this._txt_repair_complete.width / 2, _1ign.default.height / 2 - this._txt_repair_complete.height / 2); var _1ih1 = this._getFairyPattern(); this._pattern = _1ih1.pattern, this._fairy_completed = new PIXI.Sprite(_1igo.MAP_ANCHORAGE_REPAIR.getTexture(_1ih1.textureId)), this._fairy_completed.scale.set(0.65), this._fairy_completed.anchor.set(0.5), this._fairy_completed.position.set(_1ih1.position.x, _1ih1.position.y), this.addChild(this._white), this.addChild(this._txt_repair_complete), this.addChild(this._fairy_completed), this.alpha = 0; }, _1igt.prototype._getFairyPattern = function() { var _1ih2 = null, _1ih3 = [{ 'pattern': 0, 'textureId': 3, 'position': { 'x': 1100, 'y': 710 } }, { 'pattern': 1, 'textureId': 4, 'position': { 'x': 336, 'y': -350 } }, { 'pattern': 2, 'textureId': 5, 'position': { 'x': 1080, 'y': 590 } }, { 'pattern': 3, 'textureId': 6, 'position': { 'x': 1080, 'y': 590 } }]; return _1ih3[Math.floor(Math.random() * _1ih3.length)]; }, _1igt; }(PIXI.Container); _1ig0.AnchorageRepairCompleteLayer = _1igq; }, 87371: function(_1ih4, _1ih5, _1ih6) { 'use strict'; var _1ih7 = null; var _1ih8, _1ih9 = this && this.__extends || (_1ih8 = function(_1iha, _1ihb) { var _1ihc = null; return _1ih8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ihd, _1ihe) { var _1ihf = null; _1ihd.__proto__ = _1ihe; } || function(_1ihg, _1ihh) { var _1ihi = null; for (var _1ihj in _1ihh) Object.prototype.hasOwnProperty.call(_1ihh, _1ihj) && (_1ihg[_1ihj] = _1ihh[_1ihj]); }, _1ih8(_1iha, _1ihb); }, function(_1ihk, _1ihl) { var _1ihm = null; if ('function' != typeof _1ihl && null !== _1ihl) throw new TypeError('Class extends value ' + String(_1ihl) + ' is not a constructor or null'); function _1ihn() { var _1iho = null; this.constructor = _1ihk; } _1ih8(_1ihk, _1ihl), _1ihk.prototype = null === _1ihl ? Object.create(_1ihl) : (_1ihn.prototype = _1ihl.prototype, new _1ihn()); }), _1ihp = this && this.__importDefault || function(_1ihq) { var _1ihr = null; return _1ihq && _1ihq.__esModule ? _1ihq : { 'default': _1ihq }; }; defineModule(_1ih5); Object.defineProperty(_1ih5, '__esModule', { 'value': !0 }), _1ih5.PreLoadShipImage = _1ih5.AnchorageRepairLayer = void 0; var _1ihs = _1ihp(_1ih6(18622)), _1iht = _1ihp(_1ih6(21359)), _1ihu = _1ih6(88623), _1ihv = _1ih6(54011), _1ihw = _1ih6(81755), _1ihx = _1ih6(20137), _1ihy = _1ih6(37618), _1ihz = _1ih6(31394), _1ii0 = function(_1ii1) { var _1ii2 = null; function _1ii3(_1ii4, _1ii5) { var _1ii6 = null, _1ii7 = _1ii1.call(this) || this; _1ii7._leftFairies = [11, 12, 13, 14], _1ii7._rightFairies = [18, 19, 20, 21], _1ii7._ship_mst_id = _1ii4, _1ii7._bg = new _1ihy.MapBG(), _1ii7._ship_sprite = new _1ihv.Sprite(), _1ii7._ship_layer = new PIXI.Container(), _1ii7._cranes = new PIXI.Container(); var _1ii8 = []; _1ii5.forEach(function(_1ii9) { var _1iia = null; return _1ii8.push(new _1ihz.AnchorageRepairShipBanner(_1ii9.index, _1ii9.mst_id, _1ii9.hp_now, _1ii9.hp_repaired, _1ii9.hp_max, _1ii9.ribbon)); }), _1ii7._banners = _1ii8, _1ii7._txt_repairing = new _1ihv.Sprite(), _1ii7._fairy_left = new _1ihv.Sprite(), _1ii7._fairy_right = new _1ihv.Sprite(); var _1iib = _1ii5.map(function(_1iic) { var _1iid = null; return _1iic.mst_id; }); return _1ii7._poreload_task = new _1iie(_1ii4, _1iib), _1ii7; } return _1ih9(_1ii3, _1ii1), Object.defineProperty(_1ii3.prototype, 'bg', { 'get': function() { var _1iif = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ii3.prototype, 'ship_layer', { 'get': function() { var _1iig = null; return this._ship_layer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ii3.prototype, 'cranes', { 'get': function() { var _1iih = null; return this._cranes; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ii3.prototype, 'banners', { 'get': function() { var _1iii = null; return this._banners; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ii3.prototype, 'fariy_worker', { 'get': function() { var _1iij = null; return this._fairy_worker; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ii3.prototype, 'fairy_left', { 'get': function() { var _1iik = null; return this._fairy_left; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ii3.prototype, 'fairy_right', { 'get': function() { var _1iil = null; return this._fairy_right; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ii3.prototype, 'fairy_cutin', { 'get': function() { var _1iim = null; return this._fairy_cutin; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ii3.prototype, 'white', { 'get': function() { var _1iin = null; return this._white; }, 'enumerable': !1, 'configurable': !0 }), _1ii3.prototype.getPreLoadTask = function() { var _1iio = null; return this._poreload_task; }, _1ii3.prototype.initialize = function(_1iip) { var _1iiq = null, _1iir = this; this._bg.alpha = 0; var _1iis = _1ihs.default.resources.getShip(this._ship_mst_id, !1, 'full'); this._ship_sprite = new PIXI.Sprite(_1iis); var _1iit = _1ihs.default.model.ship_graph.get(this._ship_mst_id).getFaceRect(!1); this._ship_sprite.position.set(-(_1iit.x + _1iit.width / 2), -(_1iit.y + _1iit.height / 2)); for (var _1iiu = 0; _1iiu < _1iip; _1iiu++) { var _1iiv = new PIXI.Sprite(_1ihu.MAP_ANCHORAGE_REPAIR.getTexture(10)); _1iiv.visible = !0, _1iiv.position.set(-350, 10 + 230 * _1iiu), this._cranes.addChild(_1iiv); } this.banners.forEach(function(_1iiw) { var _1iix = null; _1iiw.initialize(), _1iiw.visible = !0, _1iiw.scale.set(1.5), _1iiw.alpha = 0; }), this._txt_repairing = new PIXI.Sprite(_1ihu.MAP_ANCHORAGE_REPAIR.getTexture(16)), this._txt_repairing.position.set(_1iht.default.width / 2 - this._txt_repairing.width / 2, _1iht.default.height / 2 - this._txt_repairing.height / 2), this._txt_repairing.alpha = 0, this._fairy_worker = new PIXI.Sprite(_1ihu.MAP_ANCHORAGE_REPAIR.getTexture(17)), this._fairy_worker.alpha = 0, this._fairy_worker.position.set(120, 700), this._fairy_cutin = new PIXI.Sprite(_1ihu.MAP_ANCHORAGE_REPAIR.getTexture(this._getTextureIdFairiesCutin())), this._fairy_cutin.visible = !1, this._fairy_cutin.scale.set(0.7), this._fairy_cutin.anchor.set(0.5), this._fairy_cutin.position.set(1350, 350), this._ship_layer.visible = !0, this._ship_layer.position.set(1200, 600), this._ship_layer.alpha = 0, this._ship_layer.addChild(this._ship_sprite), this._white = new PIXI.Graphics(), this._white.beginFill(16777215, 1), this._white.drawRect(0, 0, _1iht.default.width, _1iht.default.height), this._white.endFill(), this.addChild(this._bg), this.addChild(this._ship_layer), this.addChild(this.cranes), this.banners.map(function(_1iiy) { var _1iiz = null; return _1iir.addChild(_1iiy); }), this.addChild(this._txt_repairing), this.addChild(this._fairy_worker, this._fairy_right, this._fairy_cutin), this.addChild(this._white); }, _1ii3.prototype.getBannerGroup = function(_1ij0) { var _1ij1 = null; for (var _1ij2 = [], _1ij3 = function(_1ij4) { var _1ij5 = null, _1ij6 = _1ij7._banners.filter(function(_1ij8) { var _1ij9 = null; return _1ij8.index == _1ij4; }); 1 == _1ij6.length ? _1ij2.push(_1ij6.shift()) : _1ij2.push(null); }, _1ij7 = this, _1ija = 0, _1ijb = _1ij0; _1ija < _1ijb.length; _1ija++) { _1ij3(_1ijb[_1ija]); } return _1ij2; }, _1ii3.prototype.playTxtReparing = function() { var _1ijc = null; this._txt_reparing_tween = createjs.Tween.get(this._txt_repairing, { 'paused': !1, 'loop': !0 }).set({ 'visible': !0 }).to({ 'alpha': 1 }, 350).wait(300).to({ 'alpha': 0 }, 250); }, _1ii3.prototype.stopTxtReparing = function() { var _1ijd = null; this._txt_reparing_tween.setPaused(!0), createjs.Tween.get(this._txt_repairing).to({ 'alpha': 0 }, 250); }, _1ii3.prototype.getLeftFairy = function() { var _1ije = null; this.removeChild(this._fairy_left); var _1ijf = new PIXI.Sprite(_1ihu.MAP_ANCHORAGE_REPAIR.getTexture(this._getTextureIdFairiesLeft())); _1ijf.alpha = 0, _1ijf.anchor.set(0.5), _1ijf.scale.set(0.5), _1ijf.position.set(_1iht.default.width - (_1iht.default.width - _1ijf.width / 2 - 20), _1iht.default.height + _1ijf.height), this._fairy_left = _1ijf, this.addChild(this._fairy_left); }, _1ii3.prototype.getRightFairy = function() { var _1ijg = null; this.removeChild(this._fairy_right); var _1ijh = new PIXI.Sprite(_1ihu.MAP_ANCHORAGE_REPAIR.getTexture(this._getTextureIdFairiesRight())); _1ijh.alpha = 0, _1ijh.anchor.set(0.5), _1ijh.scale.set(0.5), _1ijh.position.set(_1iht.default.width + _1ijh.width, _1iht.default.height - _1ijh.height / 2 - 10), this._fairy_right = _1ijh, this.addChild(this._fairy_right); }, _1ii3.prototype._getTextureIdFairiesLeft = function() { var _1iji = null, _1ijj = Math.floor(Math.random() * this._leftFairies.length), _1ijk = this._leftFairies[_1ijj]; return this._leftFairies.splice(_1ijj, 1), _1ijk; }, _1ii3.prototype._getTextureIdFairiesRight = function() { var _1ijl = null, _1ijm = Math.floor(Math.random() * this._rightFairies.length), _1ijn = this._rightFairies[_1ijm]; return this._rightFairies.splice(_1ijm, 1), _1ijn; }, _1ii3.prototype._getTextureIdFairiesCutin = function() { var _1ijo = null, _1ijp = [0, 1, 2]; return _1ijp[Math.floor(Math.random() * _1ijp.length)]; }, _1ii3; }(PIXI.Container); _1ih5.AnchorageRepairLayer = _1ii0; var _1iie = function(_1ijq) { var _1ijr = null; function _1ijs(_1ijt, _1iju) { var _1ijv = null, _1ijw = _1ijq.call(this) || this; return _1ijw._ship_mst_id = _1ijt, _1ijw._banner_ship_mst_ids = _1iju, _1ijw; } return _1ih9(_1ijs, _1ijq), _1ijs.prototype._start = function() { var _1ijx = null; this._loadShipImage(); }, _1ijs.prototype._loadShipImage = function() { var _1ijy = null, _1ijz = this, _1ik0 = new _1ihx.ShipLoader(); _1ik0.add(this._ship_mst_id, !1, 'full'); for (var _1ik1 = 0, _1ik2 = this._banner_ship_mst_ids; _1ik1 < _1ik2.length; _1ik1++) { var _1ik3 = _1ik2[_1ik1]; _1ik0.add(_1ik3, !1, 'banner'), _1ik0.add(_1ik3, !0, 'banner'); } _1ik0.load(function() { var _1ik4 = null; _1ijz._endTask(); }); }, _1ijs; }(_1ihw.TaskBase); _1ih5.PreLoadShipImage = _1iie; }, 31394: function(_1ik5, _1ik6, _1ik7) { 'use strict'; var _1ik8 = null; var _1ik9, _1ika = this && this.__extends || (_1ik9 = function(_1ikb, _1ikc) { var _1ikd = null; return _1ik9 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ike, _1ikf) { var _1ikg = null; _1ike.__proto__ = _1ikf; } || function(_1ikh, _1iki) { var _1ikj = null; for (var _1ikk in _1iki) Object.prototype.hasOwnProperty.call(_1iki, _1ikk) && (_1ikh[_1ikk] = _1iki[_1ikk]); }, _1ik9(_1ikb, _1ikc); }, function(_1ikl, _1ikm) { var _1ikn = null; if ('function' != typeof _1ikm && null !== _1ikm) throw new TypeError('Class extends value ' + String(_1ikm) + ' is not a constructor or null'); function _1iko() { var _1ikp = null; this.constructor = _1ikl; } _1ik9(_1ikl, _1ikm), _1ikl.prototype = null === _1ikm ? Object.create(_1ikm) : (_1iko.prototype = _1ikm.prototype, new _1iko()); }), _1ikq = this && this.__importDefault || function(_1ikr) { var _1iks = null; return _1ikr && _1ikr.__esModule ? _1ikr : { 'default': _1ikr }; }; defineModule(_1ik6); Object.defineProperty(_1ik6, '__esModule', { 'value': !0 }), _1ik6.AnchorageRepairShipBanner = void 0; var _1ikt = _1ikq(_1ik7(18622)), _1iku = _1ik7(88623), _1ikv = _1ik7(8744), _1ikw = _1ik7(92547), _1ikx = _1ik7(14921), _1iky = _1ik7(57257), _1ikz = _1ik7(11053), _1il0 = _1ik7(11575), _1il1 = function(_1il2) { var _1il3 = null; function _1il4(_1il5, _1il6, _1il7, _1il8, _1il9, _1ila) { var _1ilb = null, _1ilc = _1il2.call(this) || this; return _1ilc._index = _1il5, _1ilc._mst_id = _1il6, _1ilc.alpha = 0, _1ilc._container = new PIXI.Container(), _1ilc.addChild(_1ilc._container), _1ilc._content = new _1ild(), _1ilc._container.addChild(_1ilc._content), _1ilc.y = _1ilc._baseY, _1ilc._text = new _1ikv.TextBox(19, 16777215), _1ilc._container.addChild(_1ilc._text), _1ilc._hp_now = _1il7, _1ilc._hp_max = _1il9, _1ilc._hp_repaired = _1il8, _1ilc._ribbon = _1ila, _1ilc; } return _1ika(_1il4, _1il2), Object.defineProperty(_1il4.prototype, 'index', { 'get': function() { var _1ile = null; return this._index; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1il4.prototype, 'hp_repaired', { 'get': function() { var _1ilf = null; return this._hp_repaired; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1il4.prototype, 'content', { 'get': function() { var _1ilg = null; return this._content; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1il4.prototype, '_baseY', { 'get': function() { var _1ilh = null; return this._index * (_1ikw.BannerSize.H + 7); }, 'enumerable': !1, 'configurable': !0 }), _1il4.prototype.initialize = function() { var _1ili = null; this._content.initialize(this._mst_id, this._hp_now, this._hp_max, this._index, this._ribbon), this._text.text = this._hp_now + '/' + this._hp_max, this._text.position.set(200, 60), this._content.updateHp(this._hp_now, this._hp_max); }, _1il4.prototype.dispose = function() { var _1ilj = null; this.removeChildren(), this._text.destroy(); }, _1il4.prototype.getGlobalPos = function(_1ilk) { var _1ill = null; void 0 === _1ilk && (_1ilk = !0); var _1ilm = new PIXI.Point(); return 1 == _1ilk && (_1ilm.x = _1ikw.BannerSize.W / 2, _1ilm.y = _1ikw.BannerSize.H / 2), this.toGlobal(_1ilm); }, _1il4.prototype.updateHp = function(_1iln, _1ilo) { var _1ilp = null; void 0 === _1ilo && (_1ilo = null), this._content.updateHp(_1iln, this._hp_max, _1ilo), this._updateHpText(); }, _1il4.prototype._updateHpText = function() { var _1ilq = null, _1ilr = Math.abs(this._hp_repaired - this._hp_now); if (_1ilr > 0) { var _1ils = Math.floor(1000 / _1ilr); this._updateTextTween(_1ils, this._hp_now + 1); } }, _1il4.prototype._updateTextTween = function(_1ilt, _1ilu) { var _1ilv = null, _1ilw = this; _1ilu > this._hp_repaired || createjs.Tween.get(null).call(function() { var _1ilx = null; _1ilw._text.text = _1ilu + '/' + _1ilw._hp_max; }).wait(_1ilt).call(function() { var _1ily = null; _1ilw._updateTextTween(_1ilt, _1ilu + 1); }); }, _1il4; }(PIXI.Container); _1ik6.AnchorageRepairShipBanner = _1il1; var _1ild = function(_1ilz) { var _1im0 = null; function _1im1() { var _1im2 = null, _1im3 = _1ilz.call(this) || this; return _1im3._img = new _1im4(), _1im3._flagship_mark = new PIXI.Sprite(), _1im3._flagship_mark.position.set(210, 6), _1im3._frame = new _1im5(), _1im3._kira = new _1ikz.BannerKirakira(), _1im3.addChild(_1im3._img), _1im3.addChild(_1im3._flagship_mark), _1im3.addChild(_1im3._frame), _1im3.addChild(_1im3._kira), _1im3; } return _1ika(_1im1, _1ilz), Object.defineProperty(_1im1.prototype, 'img', { 'get': function() { var _1im6 = null; return this._img; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1im1.prototype, 'flagship_mark', { 'get': function() { var _1im7 = null; return this._flagship_mark; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1im1.prototype, 'frame', { 'get': function() { var _1im8 = null; return this._frame; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1im1.prototype, 'kira', { 'get': function() { var _1im9 = null; return this._kira; }, 'enumerable': !1, 'configurable': !0 }), _1im1.prototype.initialize = function(_1ima, _1imb, _1imc, _1imd, _1ime) { var _1imf = null; this._img.initialize(_1ima, _1imb, _1imc, _1ime), 0 == _1imd && (this._flagship_mark.texture = _1iku.MAP_ANCHORAGE_REPAIR.getTexture(9)), this._frame.initialize(_1imb, _1imc); }, _1im1.prototype.updateHp = function(_1img, _1imh, _1imi) { var _1imj = null; void 0 === _1imi && (_1imi = null), this._img.update(_1img, _1imh), this._frame.updateHp(_1img, _1imh, _1imi); }, _1im1; }(PIXI.Container), _1im4 = function(_1imk) { var _1iml = null; function _1imm() { var _1imn = null, _1imo = _1imk.call(this) || this; return _1imo._img = new PIXI.Sprite(), _1imo._icon = new _1iky.BannerIcon(), _1imo._ribbon = new _1il0.BannerRibbon(), _1imo.addChild(_1imo._img), _1imo.addChild(_1imo._icon), _1imo.addChild(_1imo._ribbon), _1imo; } return _1ika(_1imm, _1imk), _1imm.prototype.initialize = function(_1imp, _1imq, _1imr, _1ims) { var _1imt = null; this._mst_id = _1imp, this._updateState(_1imq, _1imr), this._icon.initialize(!1), this._updateImage(), this._updateIcon(_1imq, _1imr), this._ribbon.update(_1ims); }, _1imm.prototype.update = function(_1imu, _1imv) { var _1imw = null; this._updateState(_1imu, _1imv), this._updateImage(), this._updateIcon(_1imu, _1imv); }, _1imm.prototype._updateState = function(_1imx, _1imy) { var _1imz = null; _1imx <= 0 ? this._damaged = 2 : _1ikx.ShipUtil.isDamaged(_1imx, _1imy) ? this._damaged = 1 : this._damaged = 0; }, _1imm.prototype._updateImage = function() { var _1in0 = null; this._img.texture = this._getTexture(); }, _1imm.prototype._getTexture = function() { var _1in1 = null, _1in2 = 0 != this._damaged; return _1ikt.default.resources.getShip(this._mst_id, _1in2, 'banner'); }, _1imm.prototype._updateIcon = function(_1in3, _1in4) { var _1in5 = null, _1in6 = _1ikx.ShipUtil.getDamageType(_1in3, _1in4); this._icon.setDamagedIcon(_1in6); }, _1imm; }(PIXI.Container), _1im5 = function(_1in7) { var _1in8 = null; function _1in9() { var _1ina = null, _1inb = _1in7.call(this) || this; return _1inb._gauge_bg = new PIXI.Sprite(), _1inb._gauge = new _1inc(), _1inb._frame = new PIXI.Sprite(), _1inb._frame.y = -10, _1inb.addChild(_1inb._gauge_bg), _1inb.addChild(_1inb._gauge), _1inb.addChild(_1inb._frame), _1inb; } return _1ika(_1in9, _1in7), _1in9.prototype.initialize = function(_1ind, _1ine) { var _1inf = null; this._gauge_bg.texture = _1iku.MAP_ANCHORAGE_REPAIR.getTexture(7), this._gauge_bg.x = 240, this._gauge.position.set(240, 60), this._gauge.pivot.y = 60, this._frame.texture = _1iku.MAP_ANCHORAGE_REPAIR.getTexture(8), this.updateHp(_1ind, _1ine); }, _1in9.prototype.updateHp = function(_1ing, _1inh, _1ini) { var _1inj = null; void 0 === _1ini && (_1ini = null), this._gauge.update(_1ing / _1inh, _1ini); }, _1in9; }(PIXI.Container), _1inc = function(_1ink) { var _1inl = null; function _1inm() { var _1inn = null, _1ino = _1ink.call(this) || this; return _1ino._BAR_HEIGHT = 60, _1ino; } return _1ika(_1inm, _1ink), _1inm.prototype.update = function(_1inp, _1inq) { var _1inr = null, _1ins = this; void 0 === _1inq && (_1inq = null), this._stopAnimation(), _1inp = Math.max(_1inp, 0), _1inp = Math.min(_1inp, 1); var _1int = _1ikx.MathUtil.getColor(_1inp), _1inu = this._BAR_HEIGHT * _1inp; if (null == _1inq) this.beginFill(_1int), this.drawRect(0, this._BAR_HEIGHT, 10, -_1inu), this.endFill(); else { var _1inv = this.height, _1inw = Math.max(_1inu / _1inv, 0); this._t = createjs.Tween.get(this.scale).to({ 'y': _1inw }, 1200).call(function() { var _1inx = null; _1ins.clear(), _1ins.beginFill(_1int), _1ins.drawRect(0, _1ins._BAR_HEIGHT, 10, -_1inv), _1ins.endFill(); }).wait(300).call(_1inq); } }, _1inm.prototype.dispose = function() { var _1iny = null; this._stopAnimation(); }, _1inm.prototype._stopAnimation = function() { var _1inz = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _1inm; }(PIXI.Graphics); }, 7331: function(_1io0, _1io1, _1io2) { 'use strict'; var _1io3 = null; var _1io4, _1io5 = this && this.__extends || (_1io4 = function(_1io6, _1io7) { var _1io8 = null; return _1io4 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1io9, _1ioa) { var _1iob = null; _1io9.__proto__ = _1ioa; } || function(_1ioc, _1iod) { var _1ioe = null; for (var _1iof in _1iod) Object.prototype.hasOwnProperty.call(_1iod, _1iof) && (_1ioc[_1iof] = _1iod[_1iof]); }, _1io4(_1io6, _1io7); }, function(_1iog, _1ioh) { var _1ioi = null; if ('function' != typeof _1ioh && null !== _1ioh) throw new TypeError('Class extends value ' + String(_1ioh) + ' is not a constructor or null'); function _1ioj() { var _1iok = null; this.constructor = _1iog; } _1io4(_1iog, _1ioh), _1iog.prototype = null === _1ioh ? Object.create(_1ioh) : (_1ioj.prototype = _1ioh.prototype, new _1ioj()); }); defineModule(_1io1); Object.defineProperty(_1io1, '__esModule', { 'value': !0 }), _1io1.BranchBalloon = void 0; var _1iol = _1io2(45054), _1iom = _1io2(74876), _1ion = function(_1ioo) { var _1iop = null; function _1ioq() { var _1ior = null, _1ios = _1ioo.call(this) || this; return _1ios._container = new _1iol.Container(), _1ios._img_container = new PIXI.Container(), _1ios._img = new PIXI.Sprite(), _1ios._img_container.addChild(_1ios._img), _1ios._container.addChild(_1ios._img_container), _1ios.addChild(_1ios._container), _1ios._container.scale.y = 0, _1ios; } return _1io5(_1ioq, _1ioo), _1ioq.prototype.initialize = function(_1iot, _1iou, _1iov) { var _1iow = null; void 0 === _1iov && (_1iov = null), 0 == _1iou ? this._initializeCurveBalloon(_1iot) : this._initializeStraightBalloon(_1iot), this._setPoint(_1iot, _1iou, _1iov); }, _1ioq.prototype.open = function(_1iox) { var _1ioy = null; void 0 === _1iox && (_1iox = null), this._startTween(); var _1ioz = createjs.Tween.get(this._container); _1ioz.wait(500), _1ioz.to({ 'scaleY': 1 }, 300, createjs.Ease.backOut), null != _1iox && _1ioz.call(_1iox); }, _1ioq.prototype.close = function(_1ip0) { var _1ip1 = null, _1ip2 = this; void 0 === _1ip0 && (_1ip0 = null); var _1ip3 = createjs.Tween.get(this._container); _1ip3.wait(500), _1ip3.to({ 'scaleY': 0 }, 300, createjs.Ease.backIn), _1ip3.call(function() { var _1ip4 = null; _1ip2._stopTween(); }), null != _1ip0 && _1ip3.call(_1ip0); }, _1ioq.prototype._startTween = function() { var _1ip5 = null; null == this._t && (this._t = createjs.Tween.get(this._img_container, { 'loop': !0 }).to({ 'x': 0, 'y': 0 }, 0).to({ 'x': 0, 'y': -9 }, 700, createjs.Ease.sineIn).to({ 'x': 0, 'y': 0 }, 700, createjs.Ease.sineOut)); }, _1ioq.prototype._stopTween = function() { var _1ip6 = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _1ioq.prototype._initializeCurveBalloon = function(_1ip7) { var _1ip8 = null; 1 == _1ip7 ? (this._img.texture = _1iom.MAP_CELL_EVENT.getTexture(0), this._img.position.set(0, -92)) : 2 == _1ip7 ? (this._img.texture = _1iom.MAP_CELL_EVENT.getTexture(2), this._img.position.set(0, -54)) : 3 == _1ip7 ? (this._img.texture = _1iom.MAP_CELL_EVENT.getTexture(4), this._img.position.set(3, -6)) : 5 == _1ip7 && (this._img.texture = _1iom.MAP_CELL_EVENT.getTexture(5), this._img.position.set(-69, -3)); }, _1ioq.prototype._initializeStraightBalloon = function(_1ip9) { var _1ipa = null; 0 == _1ip9 ? (this._img.texture = _1iom.MAP_CELL_EVENT.getTexture(1), this._img.position.set(-44, -105)) : 1 == _1ip9 ? (this._img.texture = _1iom.MAP_CELL_EVENT.getTexture(3), this._img.position.set(0, -92)) : 2 == _1ip9 && (this._img.texture = _1iom.MAP_CELL_EVENT.getTexture(6), this._img.position.set(9, -45)); }, _1ioq.prototype._setPoint = function(_1ipb, _1ipc, _1ipd) { var _1ipe = null; void 0 === _1ipd && (_1ipd = null), null == _1ipd && (_1ipd = new PIXI.Point(), 0 == _1ipc ? 0 == _1ipb || (1 == _1ipb ? _1ipd.set(21, -21) : 2 == _1ipb ? _1ipd.set(36, -2) : 3 == _1ipb ? _1ipd.set(27, 5) : 4 == _1ipb || 5 == _1ipb && _1ipd.set(-38, 0)) : 0 == _1ipb ? _1ipd.set(-5, -38) : 1 == _1ipb ? _1ipd.set(-14, -33) : 2 == _1ipb && _1ipd.set(39, -17)), this._container.x = _1ipd.x, this._container.y = _1ipd.y; }, _1ioq; }(PIXI.Container); _1io1.BranchBalloon = _1ion; }, 73553: function(_1ipf, _1ipg, _1iph) { 'use strict'; var _1ipi = null; var _1ipj, _1ipk = this && this.__extends || (_1ipj = function(_1ipl, _1ipm) { var _1ipn = null; return _1ipj = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ipo, _1ipp) { var _1ipq = null; _1ipo.__proto__ = _1ipp; } || function(_1ipr, _1ips) { var _1ipt = null; for (var _1ipu in _1ips) Object.prototype.hasOwnProperty.call(_1ips, _1ipu) && (_1ipr[_1ipu] = _1ips[_1ipu]); }, _1ipj(_1ipl, _1ipm); }, function(_1ipv, _1ipw) { var _1ipx = null; if ('function' != typeof _1ipw && null !== _1ipw) throw new TypeError('Class extends value ' + String(_1ipw) + ' is not a constructor or null'); function _1ipy() { var _1ipz = null; this.constructor = _1ipv; } _1ipj(_1ipv, _1ipw), _1ipv.prototype = null === _1ipw ? Object.create(_1ipw) : (_1ipy.prototype = _1ipw.prototype, new _1ipy()); }); defineModule(_1ipg); Object.defineProperty(_1ipg, '__esModule', { 'value': !0 }), _1ipg.CellWave = void 0; var _1iq0 = _1iph(54011), _1iq1 = _1iph(49749), _1iq2 = function(_1iq3) { var _1iq4 = null; function _1iq5() { var _1iq6 = null, _1iq7 = _1iq3.call(this) || this; _1iq7._activated = !1; var _1iq8 = _1iq1.MAP_MAIN.getTexture(0); return _1iq7._wave = new _1iq0.Sprite(_1iq8), _1iq7._wave.anchor.set(0.5), _1iq7._wave.scale.set(0), _1iq7.addChild(_1iq7._wave), _1iq7; } return _1ipk(_1iq5, _1iq3), Object.defineProperty(_1iq5.prototype, 'activated', { 'get': function() { var _1iq9 = null; return this._activated; }, 'enumerable': !1, 'configurable': !0 }), _1iq5.prototype.activate = function() { var _1iqa = null; 1 != this._activated && (this._activated = !0, this._startTween()); }, _1iq5.prototype.deactivate = function() { var _1iqb = null; this._activated = !1, this._stopTween(); }, _1iq5.prototype.selectedScale = function() { var _1iqc = null; this._wave.scale.set(1), this._wave.alpha = 1; }, _1iq5.prototype.dispose = function() { var _1iqd = null; this.deactivate(), this._wave = null; }, _1iq5.prototype._startTween = function() { var _1iqe = null; null == this._t && (this._wave.scale.set(0), this._wave.alpha = 1, this._t = createjs.Tween.get(this._wave, { 'loop': !0 }).to({ 'scaleX': 1, 'scaleY': 1 }, 800).to({ 'scaleX': 1.35, 'scaleY': 1.35, 'alpha': 0 }, 300).to({ 'scaleX': 0, 'scaleY': 0, 'alpha': 1 }, 0)); }, _1iq5.prototype._stopTween = function() { var _1iqf = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _1iq5; }(PIXI.Graphics); _1ipg.CellWave = _1iq2; }, 48973: function(_1iqg, _1iqh, _1iqi) { 'use strict'; var _1iqj = null; var _1iqk, _1iql = this && this.__extends || (_1iqk = function(_1iqm, _1iqn) { var _1iqo = null; return _1iqk = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1iqp, _1iqq) { var _1iqr = null; _1iqp.__proto__ = _1iqq; } || function(_1iqs, _1iqt) { var _1iqu = null; for (var _1iqv in _1iqt) Object.prototype.hasOwnProperty.call(_1iqt, _1iqv) && (_1iqs[_1iqv] = _1iqt[_1iqv]); }, _1iqk(_1iqm, _1iqn); }, function(_1iqw, _1iqx) { var _1iqy = null; if ('function' != typeof _1iqx && null !== _1iqx) throw new TypeError('Class extends value ' + String(_1iqx) + ' is not a constructor or null'); function _1iqz() { var _1ir0 = null; this.constructor = _1iqw; } _1iqk(_1iqw, _1iqx), _1iqw.prototype = null === _1iqx ? Object.create(_1iqx) : (_1iqz.prototype = _1iqx.prototype, new _1iqz()); }); defineModule(_1iqh); Object.defineProperty(_1iqh, '__esModule', { 'value': !0 }), _1iqh.CompDropItem = void 0; var _1ir1 = _1iqi(8744), _1ir2 = _1iqi(80051), _1ir3 = function(_1ir4) { var _1ir5 = null; function _1ir6() { var _1ir7 = null, _1ir8 = _1ir4.call(this) || this; return _1ir8._icon = new _1ir2.CompDropItemIcon(), _1ir8._icon.anchor.set(0.5, 1), _1ir8._text = new _1ir1.TextBox(20, 16774898), _1ir8._text.position.set(17, -27), _1ir8.addChild(_1ir8._icon), _1ir8.addChild(_1ir8._text), _1ir8; } return _1iql(_1ir6, _1ir4), _1ir6.prototype.initialize = function(_1ir9, _1ira) { var _1irb = null; this._icon.update(_1ir9), this._text.text = _1ira.toString(); }, _1ir6.prototype.dispose = function() { var _1irc = null; this.removeChildren(), this._text.destroy(); }, _1ir6; }(PIXI.Container); _1iqh.CompDropItem = _1ir3; }, 97723: function(_1ird, _1ire, _1irf) { 'use strict'; var _1irg = null; var _1irh, _1iri = this && this.__extends || (_1irh = function(_1irj, _1irk) { var _1irl = null; return _1irh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1irm, _1irn) { var _1iro = null; _1irm.__proto__ = _1irn; } || function(_1irp, _1irq) { var _1irr = null; for (var _1irs in _1irq) Object.prototype.hasOwnProperty.call(_1irq, _1irs) && (_1irp[_1irs] = _1irq[_1irs]); }, _1irh(_1irj, _1irk); }, function(_1irt, _1iru) { var _1irv = null; if ('function' != typeof _1iru && null !== _1iru) throw new TypeError('Class extends value ' + String(_1iru) + ' is not a constructor or null'); function _1irw() { var _1irx = null; this.constructor = _1irt; } _1irh(_1irt, _1iru), _1irt.prototype = null === _1iru ? Object.create(_1iru) : (_1irw.prototype = _1iru.prototype, new _1irw()); }); defineModule(_1ire); Object.defineProperty(_1ire, '__esModule', { 'value': !0 }), _1ire.CompShipIcon = void 0; var _1iry = _1irf(54011), _1irz = _1irf(70723), _1is0 = _1irf(49749), _1is1 = _1irf(92752), _1is2 = function(_1is3) { var _1is4 = null; function _1is5() { var _1is6 = null, _1is7 = _1is3.call(this) || this; return _1is7._direction = 2, _1is7._wave = new _1is1.CompShipWave(), _1is7._under = new PIXI.Container(), _1is7._ship = new _1iry.Sprite(), _1is7._ship.anchor.set(0.5, 1), _1is7._over = new PIXI.Container(), _1is7.addChild(_1is7._wave), _1is7.addChild(_1is7._under), _1is7.addChild(_1is7._ship), _1is7.addChild(_1is7._over), _1is7; } return _1iri(_1is5, _1is3), Object.defineProperty(_1is5.prototype, 'direction', { 'get': function() { var _1is8 = null; return this._direction; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1is5.prototype, 'under', { 'get': function() { var _1is9 = null; return this._under; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1is5.prototype, 'ship', { 'get': function() { var _1isa = null; return this._ship; }, 'enumerable': !1, 'configurable': !0 }), _1is5.prototype.initialize = function(_1isb) { var _1isc = null, _1isd; _1isd = 1 == _1isb ? 53 : 2 == _1isb ? 54 : 3 == _1isb ? 55 : 52, this._ship.texture = _1is0.MAP_MAIN.getTexture(_1isd); }, _1is5.prototype.startWaveWhite = function() { var _1ise = null; this._startWave(16); }, _1is5.prototype.startWaveRed = function(_1isf) { var _1isg = null, _1ish = this; this._startWave(15); var _1isi = new _1isj(); _1isi.initialize(), _1isi.alpha = 0, _1isi.scale.set(0), _1isi.y = -51, this._over.addChild(_1isi), createjs.Tween.get(_1isi).to({ 'y': -75, 'alpha': 1, 'scaleX': 1, 'scaleY': 1 }, 200).to({ 'y': -68 }, 200).to({ 'y': -78, 'scaleX': 1.3, 'scaleY': 0.6 }, 200).to({ 'y': -59, 'scaleX': 1, 'scaleY': 1 }, 200).to({ 'y': -68 }, 200).to({ 'alpha': 0 }, 100).call(function() { var _1isk = null; _1ish._over.removeChild(_1isi), _1isf(); }); }, _1is5.prototype.stopWave = function() { var _1isl = null; this._wave.deactivate(); }, _1is5.prototype.turn = function(_1ism, _1isn, _1iso) { var _1isp = null; if (void 0 === _1isn && (_1isn = null), void 0 === _1iso && (_1iso = 300), this._direction == _1ism) null != _1isn && _1isn(); else { this._direction = _1ism; var _1isq = 2 == _1ism ? 1 : -1, _1isr = createjs.Tween.get(this._ship); _1isr.to({ 'scaleX': _1isq }, _1iso), null != _1isn && _1isr.call(_1isn); } }, _1is5.prototype._startWave = function(_1iss) { var _1ist = null; this._wave.update(_1iss), this._wave.activate(), createjs.Tween.get(this).wait(500).call(function() { var _1isu = null; _1irz.SE.play('252'); }).wait(2000).call(function() { var _1isv = null; _1irz.SE.play('252'); }); }, _1is5; }(PIXI.Container); _1ire.CompShipIcon = _1is2; var _1isj = function(_1isw) { var _1isx = null; function _1isy() { var _1isz = null, _1it0 = _1isw.call(this) || this; return _1it0.anchor.set(0.5), _1it0; } return _1iri(_1isy, _1isw), Object.defineProperty(_1isy.prototype, 'scaleX', { 'get': function() { var _1it1 = null; return this.scale.x; }, 'set': function(_1it2) { var _1it3 = null; this.scale.x = _1it2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1isy.prototype, 'scaleY', { 'get': function() { var _1it4 = null; return this.scale.y; }, 'set': function(_1it5) { var _1it6 = null; this.scale.y = _1it5; }, 'enumerable': !1, 'configurable': !0 }), _1isy.prototype.initialize = function() { var _1it7 = null; this.texture = _1is0.MAP_MAIN.getTexture(41); }, _1isy; }(PIXI.Sprite); }, 92752: function(_1it8, _1it9, _1ita) { 'use strict'; var _1itb = null; var _1itc, _1itd = this && this.__extends || (_1itc = function(_1ite, _1itf) { var _1itg = null; return _1itc = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ith, _1iti) { var _1itj = null; _1ith.__proto__ = _1iti; } || function(_1itk, _1itl) { var _1itm = null; for (var _1itn in _1itl) Object.prototype.hasOwnProperty.call(_1itl, _1itn) && (_1itk[_1itn] = _1itl[_1itn]); }, _1itc(_1ite, _1itf); }, function(_1ito, _1itp) { var _1itq = null; if ('function' != typeof _1itp && null !== _1itp) throw new TypeError('Class extends value ' + String(_1itp) + ' is not a constructor or null'); function _1itr() { var _1its = null; this.constructor = _1ito; } _1itc(_1ito, _1itp), _1ito.prototype = null === _1itp ? Object.create(_1itp) : (_1itr.prototype = _1itp.prototype, new _1itr()); }); defineModule(_1it9); Object.defineProperty(_1it9, '__esModule', { 'value': !0 }), _1it9.CompShipWave = void 0; var _1itt = _1ita(49749), _1itu = function(_1itv) { var _1itw = null; function _1itx() { var _1ity = null, _1itz = _1itv.call(this) || this; return _1itz._wave1 = new PIXI.Sprite(), _1itz._wave1.anchor.set(0.5, 0.5), _1itz._wave1.scale.set(0), _1itz._wave1.alpha = 0, _1itz._wave2 = new PIXI.Sprite(), _1itz._wave2.anchor.set(0.5, 0.5), _1itz._wave2.scale.set(0), _1itz._wave2.alpha = 0, _1itz._tweens = new Array(4), _1itz.addChild(_1itz._wave1), _1itz.addChild(_1itz._wave2), _1itz; } return _1itd(_1itx, _1itv), _1itx.prototype.update = function(_1iu0) { var _1iu1 = null; this._wave1.texture = _1itt.MAP_MAIN.getTexture(_1iu0), this._wave2.texture = _1itt.MAP_MAIN.getTexture(_1iu0); }, _1itx.prototype.activate = function() { var _1iu2 = null; null != this._tweens && this._tweens.length > 0 && null != this._tweens[0] || (this._tweens[0] = createjs.Tween.get(this._wave1, { 'loop': !0 }).to({ 'alpha': 1 }, 900).to({ 'alpha': 0 }, 400).wait(500), this._tweens[1] = createjs.Tween.get(this._wave1.scale, { 'loop': !0 }).to({ 'x': 0.7, 'y': 0.7 }, 900).to({ 'x': 1, 'y': 1 }, 400).wait(500), this._tweens[2] = createjs.Tween.get(this._wave2, { 'loop': !0 }).wait(500).to({ 'alpha': 1 }, 900).to({ 'alpha': 0 }, 400), this._tweens[3] = createjs.Tween.get(this._wave2.scale, { 'loop': !0 }).wait(500).to({ 'x': 0.7, 'y': 0.7 }, 900).to({ 'x': 1, 'y': 1 }, 400)); }, _1itx.prototype.deactivate = function() { var _1iu3 = null; this._stopTween(); }, _1itx.prototype.dispose = function() { var _1iu4 = null; this._stopTween(); }, _1itx.prototype._stopTween = function() { var _1iu5 = null; for (var _1iu6 = 0; _1iu6 < this._tweens.length; _1iu6++) null != this._tweens[_1iu6] && (this._tweens[_1iu6].setPaused(!0), this._tweens[_1iu6] = null); this._wave1.scale.set(0), this._wave1.alpha = 0, this._wave2.scale.set(0), this._wave2.alpha = 0; }, _1itx; }(PIXI.Container); _1it9.CompShipWave = _1itu; }, 69247: function(_1iu7, _1iu8, _1iu9) { 'use strict'; var _1iua = null; var _1iub, _1iuc = this && this.__extends || (_1iub = function(_1iud, _1iue) { var _1iuf = null; return _1iub = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1iug, _1iuh) { var _1iui = null; _1iug.__proto__ = _1iuh; } || function(_1iuj, _1iuk) { var _1iul = null; for (var _1ium in _1iuk) Object.prototype.hasOwnProperty.call(_1iuk, _1ium) && (_1iuj[_1ium] = _1iuk[_1ium]); }, _1iub(_1iud, _1iue); }, function(_1iun, _1iuo) { var _1iup = null; if ('function' != typeof _1iuo && null !== _1iuo) throw new TypeError('Class extends value ' + String(_1iuo) + ' is not a constructor or null'); function _1iuq() { var _1iur = null; this.constructor = _1iun; } _1iub(_1iun, _1iuo), _1iun.prototype = null === _1iuo ? Object.create(_1iuo) : (_1iuq.prototype = _1iuo.prototype, new _1iuq()); }); defineModule(_1iu8); Object.defineProperty(_1iu8, '__esModule', { 'value': !0 }), _1iu8.CompSpot = void 0; var _1ius = _1iu9(54061), _1iut = _1iu9(4279), _1iuu = function(_1iuv) { var _1iuw = null; function _1iux(_1iuy, _1iuz) { var _1iv0 = null, _1iv1 = _1iuv.call(this) || this; return _1iv1._no = _1iuy, _1iv1._offsets = _1iuz, _1iv1._point = new _1iut.SpotPointImage(), _1iv1.addChild(_1iv1._point), _1iv1; } return _1iuc(_1iux, _1iuv), Object.defineProperty(_1iux.prototype, 'no', { 'get': function() { var _1iv2 = null; return this._no; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1iux.prototype, 'route', { 'get': function() { var _1iv3 = null; return this._route; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1iux.prototype, 'point', { 'get': function() { var _1iv4 = null; return this._point; }, 'enumerable': !1, 'configurable': !0 }), _1iux.prototype.isAddedSpot = function() { var _1iv5 = null; return null != this._route; }, _1iux.prototype.showLine = function() { var _1iv6 = null; null != this._line && (this._line.visible = !0); }, _1iux.prototype.hideLine = function() { var _1iv7 = null; null != this._line && (this._line.visible = !1); }, _1iux.prototype.setColor = function(_1iv8) { var _1iv9 = null; this._point.update(_1iv8), this._offsets.hasOwnProperty(_1iv8.toString()) ? (this._point.x = this._offsets[_1iv8].x, this._point.y = this._offsets[_1iv8].y) : (this._point.x = 0, this._point.y = 0); }, _1iux.prototype.getColor = function() { var _1iva = null; return this._point.color; }, _1iux.prototype.setRoute = function(_1ivb, _1ivc, _1ivd, _1ive) { var _1ivf = null; null != this._route && (this.removeChild(this._route), this._route = null); var _1ivg = new _1ius.CenteringSprite(_1ivb); _1ivg.x = _1ivc + Math.round(_1ivg.width / 2), _1ivg.y = _1ivd + Math.round(_1ivg.height / 2), _1ivg.rotation = _1ive / 180 * Math.PI, this.addChildAt(_1ivg, 0), this._route = _1ivg; }, _1iux.prototype.setLine = function(_1ivh, _1ivi, _1ivj, _1ivk) { var _1ivl = null; null != this._line && (this.removeChild(this._line), this._line = null); var _1ivm = new PIXI.Sprite(_1ivh); _1ivm.x = _1ivi, _1ivm.y = _1ivj, _1ivm.rotation = _1ivk / 180 * Math.PI, _1ivm.visible = !1, this.addChild(_1ivm), this._line = _1ivm; }, _1iux.prototype.dispose = function() { var _1ivn = null; this._point.dispose(); }, _1iux; }(PIXI.Container); _1iu8.CompSpot = _1iuu; }, 68894: function(_1ivo, _1ivp, _1ivq) { 'use strict'; var _1ivr = null; var _1ivs, _1ivt = this && this.__extends || (_1ivs = function(_1ivu, _1ivv) { var _1ivw = null; return _1ivs = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ivx, _1ivy) { var _1ivz = null; _1ivx.__proto__ = _1ivy; } || function(_1iw0, _1iw1) { var _1iw2 = null; for (var _1iw3 in _1iw1) Object.prototype.hasOwnProperty.call(_1iw1, _1iw3) && (_1iw0[_1iw3] = _1iw1[_1iw3]); }, _1ivs(_1ivu, _1ivv); }, function(_1iw4, _1iw5) { var _1iw6 = null; if ('function' != typeof _1iw5 && null !== _1iw5) throw new TypeError('Class extends value ' + String(_1iw5) + ' is not a constructor or null'); function _1iw7() { var _1iw8 = null; this.constructor = _1iw4; } _1ivs(_1iw4, _1iw5), _1iw4.prototype = null === _1iw5 ? Object.create(_1iw5) : (_1iw7.prototype = _1iw5.prototype, new _1iw7()); }), _1iw9 = this && this.__importDefault || function(_1iwa) { var _1iwb = null; return _1iwa && _1iwa.__esModule ? _1iwa : { 'default': _1iwa }; }; defineModule(_1ivp); Object.defineProperty(_1ivp, '__esModule', { 'value': !0 }), _1ivp.CompUpperBar = void 0; var _1iwc = _1iw9(_1ivq(21359)), _1iwd = _1ivq(8744), _1iwe = _1ivq(6499), _1iwf = _1ivq(69124), _1iwg = _1ivq(49749), _1iwh = _1ivq(71633), _1iwi = function(_1iwj) { var _1iwk = null; function _1iwl() { var _1iwm = null, _1iwn = _1iwj.call(this) || this; return _1iwn.SPACE = 10, _1iwn._bg = new PIXI.Sprite(), _1iwn._bg.position.set(35, 35), _1iwn._icon = new PIXI.Sprite(), _1iwn._icon.anchor.set(1), _1iwn._icon.position.set(_1iwc.default.width / 2, 82), _1iwn._text = new _1iwd.TextBox(30, 16774898), _1iwn._text.anchor.set(0, 0), _1iwn._text.position.set(_1iwc.default.width / 2, 48), _1iwn.addChild(_1iwn._bg), _1iwn.addChild(_1iwn._icon), _1iwn.addChild(_1iwn._text), _1iwn; } return _1ivt(_1iwl, _1iwj), Object.defineProperty(_1iwl.prototype, 'bg', { 'get': function() { var _1iwo = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1iwl.prototype, 'icon', { 'get': function() { var _1iwp = null; return this._icon; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1iwl.prototype, 'text', { 'get': function() { var _1iwq = null; return this._text; }, 'enumerable': !1, 'configurable': !0 }), _1iwl.prototype.initialize = function() { var _1iwr = null; this._bg.texture = _1iwg.MAP_MAIN.getTexture(1); }, _1iwl.prototype.update = function(_1iws, _1iwt) { var _1iwu = null; void 0 === _1iwt && (_1iwt = ''), _1iws == _1iwh.EventConst.AREA_ID ? this._updateForEventMap(_1iwt) : this._update(_1iws, _1iwt), this._text.position.x = _1iwc.default.width / 2 - Math.floor(this._text.width / 2) + this.SPACE + this.icon.width, this.icon.position.set(this._text.x - this.SPACE, 82); }, _1iwl.prototype.dispose = function() { var _1iwv = null; this.removeChildren(), this._text.destroy(); }, _1iwl.prototype._update = function(_1iww, _1iwx) { var _1iwy = null, _1iwz; switch (void 0 === _1iwx && (_1iwx = ''), _1iww) { case 1: _1iwz = _1iwe.COMMON_AREA_ICON.getTexture(0); break; case 2: _1iwz = _1iwe.COMMON_AREA_ICON.getTexture(2); break; case 3: _1iwz = _1iwe.COMMON_AREA_ICON.getTexture(4); break; case 4: _1iwz = _1iwe.COMMON_AREA_ICON.getTexture(8); break; case 5: _1iwz = _1iwe.COMMON_AREA_ICON.getTexture(10); break; case 6: _1iwz = _1iwe.COMMON_AREA_ICON.getTexture(12); break; case 7: _1iwz = _1iwe.COMMON_AREA_ICON.getTexture(6); break; default: _1iwz = PIXI.Texture.EMPTY; } this._icon.texture = _1iwz, this._text.text = _1iwx; }, _1iwl.prototype._updateForEventMap = function(_1ix0) { var _1ix1 = null; void 0 === _1ix0 && (_1ix0 = ''), (this._icon.texture = _1iwf.COMMON_EVENT.getTexture(0), this._text.text = _1ix0); }, _1iwl; }(PIXI.Container); _1ivp.CompUpperBar = _1iwi; }, 51724: function(_1ix2, _1ix3, _1ix4) { 'use strict'; var _1ix5 = null; var _1ix6, _1ix7 = this && this.__extends || (_1ix6 = function(_1ix8, _1ix9) { var _1ixa = null; return _1ix6 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ixb, _1ixc) { var _1ixd = null; _1ixb.__proto__ = _1ixc; } || function(_1ixe, _1ixf) { var _1ixg = null; for (var _1ixh in _1ixf) Object.prototype.hasOwnProperty.call(_1ixf, _1ixh) && (_1ixe[_1ixh] = _1ixf[_1ixh]); }, _1ix6(_1ix8, _1ix9); }, function(_1ixi, _1ixj) { var _1ixk = null; if ('function' != typeof _1ixj && null !== _1ixj) throw new TypeError('Class extends value ' + String(_1ixj) + ' is not a constructor or null'); function _1ixl() { var _1ixm = null; this.constructor = _1ixi; } _1ix6(_1ixi, _1ixj), _1ixi.prototype = null === _1ixj ? Object.create(_1ixj) : (_1ixl.prototype = _1ixj.prototype, new _1ixl()); }), _1ixn = this && this.__importDefault || function(_1ixo) { var _1ixp = null; return _1ixo && _1ixo.__esModule ? _1ixo : { 'default': _1ixo }; }; defineModule(_1ix3); Object.defineProperty(_1ix3, '__esModule', { 'value': !0 }), _1ix3.EnemyDeckSilhouette = void 0; var _1ixq = _1ix4(66398), _1ixr = _1ix4(48205), _1ixs = _1ix4(11997), _1ixt = _1ix4(82162), _1ixu = _1ixn(_1ix4(18622)), _1ixv = function(_1ixw) { function _1ixx(_1ixy) { var _1ixz = null, _1iy0 = _1ixw.call(this) || this; return null != _1ixy[0] && (_1iy0._main_deck = new _1iy1(_1ixy[0].ids, _1ixy[0].kind), _1iy0.addChild(_1iy0._main_deck), _1iy0._main_deck.position.set(910, 194)), null != _1ixy[1] && (_1iy0._sub_deck = new _1iy2(_1ixy[1].ids, _1ixy[1].kind), _1iy0.addChild(_1iy0._sub_deck), _1iy0._sub_deck.position.set(741, 197)), _1iy0; } return _1ix7(_1ixx, _1ixw), _1ixx; }(PIXI.Container); _1ix3.EnemyDeckSilhouette = _1ixv; var _1iy1 = function(_1iy3) { var _1iy4 = null; function _1iy5(_1iy6, _1iy7) { var _1iy8 = null, _1iy9 = _1iy3.call(this) || this; _1iy9._enemy1 = new _1iya(!1), _1iy9._enemy2 = new _1iya(!1), _1iy9._enemy3 = new _1iya(!1); for (var _1iyb = [_1iy9._enemy1, _1iy9._enemy2, _1iy9._enemy3], _1iyc = 2 == _1iy7 ? 5 : 1 == _1iy7 ? 4 : _1iy6.length, _1iyd = 0; _1iyd < _1iyc; _1iyd++) { var _1iye = _1iy6[_1iyd], _1iyf = 68 * _1iyd; if (null != _1iye && _1iye > 0 && null != _1iyb[_1iyd]) { var _1iyg = _1iyb[_1iyd]; _1ixr.TaskLoadShipResource.abortBy(_1iyg), 1 == _1ixu.default.resources.isLoadedShip(_1iye, !1, 'banner3') ? _1iyg.img.texture = _1ixu.default.resources.getShip(_1iye, !1, 'banner3') : (_1iyg.img.texture = _1ixs.COMMON_MISC.getTexture(6), new _1ixr.TaskLoadShipResource('banner3', _1iyg.img, _1iye, !1).start()), _1iyg.position.y = _1iyf, _1iy9.addChild(_1iyg); } var _1iyh = new PIXI.Sprite(_1iy9._getBannerFrame(_1iyd)); _1iyh.position.y = _1iyf, _1iy9.addChild(_1iyh); } return _1iy9; } return _1ix7(_1iy5, _1iy3), _1iy5.prototype._getBannerFrame = function(_1iyi) { var _1iyj = null; switch (_1iyi) { case 0: return _1ixt.MAP_ENEMY_BANNERFRAMES.getTexture(0); case 1: return _1ixt.MAP_ENEMY_BANNERFRAMES.getTexture(1); case 2: return _1ixt.MAP_ENEMY_BANNERFRAMES.getTexture(2); case 3: return _1ixt.MAP_ENEMY_BANNERFRAMES.getTexture(3); case 4: return _1ixt.MAP_ENEMY_BANNERFRAMES.getTexture(4); } }, _1iy5; }(PIXI.Container), _1iy2 = function(_1iyk) { var _1iyl = null; function _1iym(_1iyn, _1iyo) { var _1iyp = null, _1iyq = _1iyk.call(this) || this; _1iyq._enemy1 = new _1iya(!0), _1iyq._enemy2 = new _1iya(!0), _1iyq._enemy3 = new _1iya(!0); for (var _1iyr = [_1iyq._enemy1, _1iyq._enemy2, _1iyq._enemy3], _1iys = 2 == _1iyo ? 5 : 1 == _1iyo ? 4 : _1iyn.length, _1iyt = 0; _1iyt < _1iys; _1iyt++) { var _1iyu = _1iyn[_1iyt], _1iyv = 67 * _1iyt; if (null != _1iyu && _1iyu > 0 && null != _1iyr[_1iyt]) { var _1iyw = _1iyr[_1iyt]; _1ixr.TaskLoadShipResource.abortBy(_1iyw), 1 == _1ixu.default.resources.isLoadedShip(_1iyu, !1, 'banner3') ? _1iyw.img.texture = _1ixu.default.resources.getShip(_1iyu, !1, 'banner3') : (_1iyw.img.texture = _1ixs.COMMON_MISC.getTexture(6), new _1ixr.TaskLoadShipResource('banner3', _1iyw.img, _1iyu, !1).start()), _1iyw.position.y = _1iyv, _1iyq.addChild(_1iyw); } var _1iyx = new PIXI.Sprite(_1iyq._getBannerFrame(_1iyt)); _1iyx.position.y = _1iyv, _1iyq.addChild(_1iyx); } return _1iyq; } return _1ix7(_1iym, _1iyk), _1iym.prototype._getBannerFrame = function(_1iyy) { var _1iyz = null; switch (_1iyy) { case 0: return _1ixt.MAP_ENEMY_BANNERFRAMES.getTexture(5); case 1: return _1ixt.MAP_ENEMY_BANNERFRAMES.getTexture(6); case 2: return _1ixt.MAP_ENEMY_BANNERFRAMES.getTexture(7); case 3: return _1ixt.MAP_ENEMY_BANNERFRAMES.getTexture(8); case 4: return _1ixt.MAP_ENEMY_BANNERFRAMES.getTexture(9); } }, _1iym; }(PIXI.Container), _1iya = function(_1iz0) { var _1iz1 = null; function _1iz2(_1iz3) { var _1iz4 = null, _1iz5 = _1iz0.call(this) || this; if (_1iz5._img = new PIXI.Sprite(), _1iz5._img.position.x = _1iz3 ? -64 : 7, _1iz5._img.position.y = 3, _1iz5.addChild(_1iz5._img), _1iz3) { _1iz5._img.scale.set(0.9); var _1iz6 = new PIXI.Graphics(); _1iz6.beginFill(0), _1iz6.drawRect(0, 0, _1ixq.BannerSize.W, _1ixq.BannerSize.H), _1iz6.endFill(), _1iz5.mask = _1iz6, _1iz5.addChild(_1iz6); } return _1iz5; } return _1ix7(_1iz2, _1iz0), Object.defineProperty(_1iz2.prototype, 'img', { 'get': function() { var _1iz7 = null; return this._img; }, 'enumerable': !1, 'configurable': !0 }), _1iz2; }(PIXI.Container); }, 19255: function(_1iz8, _1iz9, _1iza) { 'use strict'; var _1izb = null; var _1izc, _1izd = this && this.__extends || (_1izc = function(_1ize, _1izf) { var _1izg = null; return _1izc = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1izh, _1izi) { var _1izj = null; _1izh.__proto__ = _1izi; } || function(_1izk, _1izl) { var _1izm = null; for (var _1izn in _1izl) Object.prototype.hasOwnProperty.call(_1izl, _1izn) && (_1izk[_1izn] = _1izl[_1izn]); }, _1izc(_1ize, _1izf); }, function(_1izo, _1izp) { var _1izq = null; if ('function' != typeof _1izp && null !== _1izp) throw new TypeError('Class extends value ' + String(_1izp) + ' is not a constructor or null'); function _1izr() { var _1izs = null; this.constructor = _1izo; } _1izc(_1izo, _1izp), _1izo.prototype = null === _1izp ? Object.create(_1izp) : (_1izr.prototype = _1izp.prototype, new _1izr()); }), _1izt = this && this.__importDefault || function(_1izu) { var _1izv = null; return _1izu && _1izu.__esModule ? _1izu : { 'default': _1izu }; }; defineModule(_1iz9); Object.defineProperty(_1iz9, '__esModule', { 'value': !0 }), _1iz9.GaugeLayer = void 0; var _1izw = _1izt(_1iza(21359)), _1izx = _1iza(57257), _1izy = _1iza(5709), _1izz = function(_1j00) { var _1j01 = null; function _1j02() { var _1j03 = null; return null !== _1j00 && _1j00.apply(this, arguments) || this; } return _1izd(_1j02, _1j00), Object.defineProperty(_1j02.prototype, 'nowHP', { 'get': function() { var _1j04 = null; return this._gauge.now; }, 'enumerable': !1, 'configurable': !0 }), _1j02.prototype.initialize = function(_1j05, _1j06, _1j07, _1j08, _1j09, _1j0a) { var _1j0b = null; void 0 === _1j0a && (_1j0a = !0), null != this._gauge && (this._gauge.dispose(), null != this._gauge.parent && this._gauge.parent.removeChild(this._gauge), this._gauge = null), this._gauge = new _1izy.GaugeVertical(), this._gauge.initialize(_1j06, _1j05, _1j0a), this._gauge.update(_1j07, _1j08), this._gauge.position.set(_1j06.x, _1j06.y), this._gauge.alpha = _1j09, this.addChild(this._gauge); }, _1j02.prototype.dispose = function() { var _1j0c = null; this._stopTween(), null != this._gauge && this._gauge.dispose(); }, _1j02.prototype.update = function(_1j0d, _1j0e, _1j0f, _1j0g) { var _1j0h = null, _1j0i = this; if (void 0 === _1j0f && (_1j0f = 0), void 0 === _1j0g && (_1j0g = null), this._stopTween(), _1j0f <= 0) this._gauge.update(_1j0d, _1j0e); else { var _1j0j = { 'now': this._gauge.now, 'max': this._gauge.max }; this._t = createjs.Tween.get(_1j0j, { 'onChange': function(_1j0k) { var _1j0l = null; _1j0i._gauge.update(_1j0j.now, _1j0j.max); } }).to({ 'now': _1j0d, 'max': _1j0e }, _1j0f).call(function() { _1j0i._t = null, null != _1j0g && _1j0g(); }); } }, _1j02.prototype.vanish = function(_1j0m) { var _1j0n = null; void 0 === _1j0m && (_1j0m = null), this._stopTween(); var _1j0o = new _1izx.Container(); _1j0o.x = this._gauge.x + Math.round(this._gauge.width / 2), _1j0o.y = this._gauge.y + Math.round(this._gauge.height / 2), this.addChild(_1j0o), this._gauge.x = -Math.round(this._gauge.width / 2), this._gauge.y = -Math.round(this._gauge.height / 2), _1j0o.addChild(this._gauge), this._t = createjs.Tween.get(_1j0o).wait(800).wait(200).to({ 'scaleX': 1.1, 'scaleY': 0.9 }, 35).to({ 'scaleX': 0, 'scaleY': 1.4 }, 200).call(function() { null != _1j0m && _1j0m(); }); }, _1j02.prototype.createShowTween = function(_1j0p) { var _1j0q = null; if (null == this._gauge) return null; var _1j0r = this._gauge.x; return this._gauge.x = _1j0p ? -this._gauge.width : _1izw.default.width + this._gauge.width, this._gauge.alpha = 0, createjs.Tween.get(this._gauge).to({ 'x': _1j0r, 'alpha': 1 }, 500, createjs.Ease.quadOut); }, _1j02.prototype._stopTween = function() { var _1j0s = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _1j02; }(PIXI.Container); _1iz9.GaugeLayer = _1izz; }, 5709: function(_1j0t, _1j0u, _1j0v) { 'use strict'; var _1j0w = null; var _1j0x, _1j0y = this && this.__extends || (_1j0x = function(_1j0z, _1j10) { var _1j11 = null; return _1j0x = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1j12, _1j13) { var _1j14 = null; _1j12.__proto__ = _1j13; } || function(_1j15, _1j16) { var _1j17 = null; for (var _1j18 in _1j16) Object.prototype.hasOwnProperty.call(_1j16, _1j18) && (_1j15[_1j18] = _1j16[_1j18]); }, _1j0x(_1j0z, _1j10); }, function(_1j19, _1j1a) { var _1j1b = null; if ('function' != typeof _1j1a && null !== _1j1a) throw new TypeError('Class extends value ' + String(_1j1a) + ' is not a constructor or null'); function _1j1c() { var _1j1d = null; this.constructor = _1j19; } _1j0x(_1j19, _1j1a), _1j19.prototype = null === _1j1a ? Object.create(_1j1a) : (_1j1c.prototype = _1j1a.prototype, new _1j1c()); }), _1j1e = this && this.__importDefault || function(_1j1f) { var _1j1g = null; return _1j1f && _1j1f.__esModule ? _1j1f : { 'default': _1j1f }; }; defineModule(_1j0u); Object.defineProperty(_1j0u, '__esModule', { 'value': !0 }), _1j0u.GaugeVertical = void 0; var _1j1h = _1j1e(_1j0v(18622)), _1j1i = _1j0v(49749), _1j1j = function(_1j1k) { var _1j1l = null; function _1j1m() { var _1j1n = null, _1j1o = _1j1k.call(this) || this; return _1j1o._now = -1, _1j1o._max = 100, _1j1o._bar_bg = new PIXI.Graphics(), _1j1o._bar = new PIXI.Graphics(), _1j1o._img = new PIXI.Sprite(), _1j1o._light = new PIXI.Sprite(), _1j1o._tp = new _1j1p(), _1j1o.addChild(_1j1o._bar_bg), _1j1o.addChild(_1j1o._bar), _1j1o.addChild(_1j1o._img), _1j1o.addChild(_1j1o._light), _1j1o.addChild(_1j1o._tp), _1j1o.visible = !1, _1j1o; } return _1j0y(_1j1m, _1j1k), Object.defineProperty(_1j1m.prototype, 'now', { 'get': function() { var _1j1q = null; return this._now; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1j1m.prototype, 'max', { 'get': function() { var _1j1r = null; return this._max; }, 'enumerable': !1, 'configurable': !0 }), _1j1m.prototype.initialize = function(_1j1s, _1j1t, _1j1u) { var _1j1v = null; if (void 0 === _1j1u && (_1j1u = !0), null == _1j1s) return this._stopLoopTween(), this._tp.enabled = !1, void(this.visible = !1); this._img.texture = _1j1h.default.resources.gauge.getTexture(_1j1s.image_path), this._light.texture = _1j1h.default.resources.gauge.getTexture(_1j1s.image_light_path), this._light.x = _1j1s.lightX, this._light.y = _1j1s.lightY, this._bar_bg.x = _1j1s.barX, this._bar_bg.y = _1j1s.barY, this._bar_bg.clear(); var _1j1w = _1j1t ? 0.5 : 0, _1j1x = 0 == _1j1s.bgAlpha ? _1j1w : _1j1s.bgAlpha; this._bar_bg.beginFill(0, _1j1x), this._bar_bg.drawRect(0, 0, _1j1s.barW, _1j1s.barH), this._bar_bg.endFill(), this._bar.x = _1j1s.barX, this._bar.y = _1j1s.barY, this._bar.clear(), this._bar.beginFill(_1j1s.barColor), this._bar.drawRect(0, 0, _1j1s.barW, _1j1s.barH), this._bar.endFill(), this._tp.visible = !1, 1 == _1j1s.isTransport() && _1j1u ? (this._tp.initialize(), this._tp.x = _1j1s.transportX, this._tp.y = _1j1s.transportY, this._tp.enabled = !0) : this._tp.enabled = !1, this.visible = !0, this._startLoopTween(); }, _1j1m.prototype.update = function(_1j1y, _1j1z) { var _1j20 = null; this._now = _1j1y, this._max = _1j1z; var _1j21 = this._now / this._max; _1j21 = Math.max(_1j21, 0), _1j21 = Math.min(_1j21, 1), this._bar.scale.y = _1j21, 1 == this._tp.enabled ? (this._tp.update(_1j1y, _1j1z), this._tp.visible = !0) : this._tp.visible = !1; }, _1j1m.prototype.dispose = function() { var _1j22 = null; this._stopLoopTween(); }, _1j1m.prototype._startLoopTween = function() { var _1j23 = null; null == this._t && (this._light.alpha = 0, this._t = createjs.Tween.get(this._light, { 'loop': !0 }).to({ 'alpha': 1 }, 500).to({ 'alpha': 0 }, 500)); }, _1j1m.prototype._stopLoopTween = function() { var _1j24 = null; null != this._t && (this._t.setPaused(!0), this._t = null), this._light.alpha = 0; }, _1j1m; }(PIXI.Container); _1j0u.GaugeVertical = _1j1j; var _1j1p = function(_1j25) { var _1j26 = null; function _1j27() { var _1j28 = null, _1j29 = _1j25.call(this) || this; return _1j29._enabled = !1, _1j29._title = new PIXI.Sprite(), _1j29._slash = new PIXI.Sprite(), _1j29._slash.x = 62, _1j29._now = new _1j2a(), _1j29._now.x = 30, _1j29._max = new _1j2a(), _1j29._max.x = 68, _1j29.addChild(_1j29._title), _1j29.addChild(_1j29._slash), _1j29.addChild(_1j29._now), _1j29.addChild(_1j29._max), _1j29; } return _1j0y(_1j27, _1j25), Object.defineProperty(_1j27.prototype, 'enabled', { 'get': function() { var _1j2b = null; return this._enabled; }, 'set': function(_1j2c) { var _1j2d = null; this._enabled = _1j2c; }, 'enumerable': !1, 'configurable': !0 }), _1j27.prototype.initialize = function() { var _1j2e = null; this._title.texture = _1j1i.MAP_MAIN.getTexture(13), this._slash.texture = _1j1i.MAP_MAIN.getTexture(12); }, _1j27.prototype.update = function(_1j2f, _1j2g) { var _1j2h = null; this._now.update(_1j2f), this._max.update(_1j2g); }, _1j27; }(PIXI.Container), _1j2a = function(_1j2i) { var _1j2j = null; function _1j2k() { var _1j2l = null, _1j2m = _1j2i.call(this) || this; _1j2m._nums = []; for (var _1j2n = 0; _1j2n < 4; _1j2n++) { var _1j2o = new _1j2p(); _1j2o.x = 8 * _1j2n, _1j2m.addChild(_1j2o), _1j2m._nums.push(_1j2o); } return _1j2m; } return _1j0y(_1j2k, _1j2i), _1j2k.prototype.update = function(_1j2q) { var _1j2r = null; _1j2q = Math.max(0, _1j2q), _1j2q = Math.min(9999, _1j2q); for (var _1j2s = !1, _1j2t = 0; _1j2t < this._nums.length; _1j2t++) { var _1j2u = Math.pow(10, this._nums.length - _1j2t - 1), _1j2v = Math.floor(_1j2q / _1j2u); _1j2v > 0 || 1 == _1j2s ? (this._nums[_1j2t].update(_1j2v), _1j2s = !0) : _1j2t == this._nums.length - 1 && 0 == _1j2v ? this._nums[_1j2t].update(0) : this._nums[_1j2t].update(-1), _1j2q %= _1j2u; } }, _1j2k; }(PIXI.Container), _1j2p = function(_1j2w) { var _1j2x = null; function _1j2y() { var _1j2z = null; return null !== _1j2w && _1j2w.apply(this, arguments) || this; } return _1j0y(_1j2y, _1j2w), _1j2y.prototype.update = function(_1j30) { var _1j31 = null; _1j30 >= 0 && _1j30 <= 9 ? (this.texture = _1j1i.MAP_MAIN.getTexture(_1j2y._TEXTURES[_1j30]), this.visible = !0) : this.visible = !1; }, _1j2y._TEXTURES = [2, 3, 4, 5, 6, 7, 8, 9, 10, 11], _1j2y; }(PIXI.Sprite); }, 45835: function(_1j32, _1j33, _1j34) { 'use strict'; var _1j35 = null; var _1j36, _1j37 = this && this.__extends || (_1j36 = function(_1j38, _1j39) { var _1j3a = null; return _1j36 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1j3b, _1j3c) { var _1j3d = null; _1j3b.__proto__ = _1j3c; } || function(_1j3e, _1j3f) { var _1j3g = null; for (var _1j3h in _1j3f) Object.prototype.hasOwnProperty.call(_1j3f, _1j3h) && (_1j3e[_1j3h] = _1j3f[_1j3h]); }, _1j36(_1j38, _1j39); }, function(_1j3i, _1j3j) { var _1j3k = null; if ('function' != typeof _1j3j && null !== _1j3j) throw new TypeError('Class extends value ' + String(_1j3j) + ' is not a constructor or null'); function _1j3l() { var _1j3m = null; this.constructor = _1j3i; } _1j36(_1j3i, _1j3j), _1j3i.prototype = null === _1j3j ? Object.create(_1j3j) : (_1j3l.prototype = _1j3j.prototype, new _1j3l()); }); defineModule(_1j33); Object.defineProperty(_1j33, '__esModule', { 'value': !0 }), _1j33.LandingBalloonType5 = _1j33.LandingBalloonType4 = _1j33.LandingBalloonType3 = _1j33.LandingBalloonType2 = _1j33.LandingBalloonType1 = _1j33.LandingBalloonBase = void 0; var _1j3n = _1j34(45054), _1j3o = _1j34(74876), _1j3p = _1j34(50271), _1j3q = function(_1j3r) { function _1j3s(_1j3t) { var _1j3u = null, _1j3v = _1j3r.call(this) || this; return _1j3v._type = _1j3t, _1j3v._img = new PIXI.Sprite(), _1j3v.addChild(_1j3v._img), _1j3v._numset = new _1j3p.NumericalDisplaySet(), _1j3v.addChild(_1j3v._numset), _1j3v._numset.visible = !1, _1j3v; } return _1j37(_1j3s, _1j3r), _1j3s; }(_1j3n.Container); _1j33.LandingBalloonBase = _1j3q; var _1j3w = function(_1j3x) { var _1j3y = null; function _1j3z() { var _1j40 = null; return null !== _1j3x && _1j3x.apply(this, arguments) || this; } return _1j37(_1j3z, _1j3x), _1j3z.prototype.initialize = function() { var _1j41 = null; 1 == this._type ? (this._img.texture = _1j3o.MAP_CELL_EVENT.getTexture(21), this._img.position.set(-5, -92)) : 2 == this._type ? (this._img.texture = _1j3o.MAP_CELL_EVENT.getTexture(22), this._img.position.set(-45, -105)) : 3 == this._type && (this._img.texture = _1j3o.MAP_CELL_EVENT.getTexture(23), this._img.position.set(-86, -92)); }, _1j3z.prototype.update = function(_1j42) { var _1j43 = null; this._numset.update(_1j42), 2 == this._type ? (this._numset.x = 8 - Math.round(this._numset.width / 2), this._numset.y = -36, this._numset.visible = !0) : 3 == this._type ? (this._numset.x = -33 - Math.round(this._numset.width / 2), this._numset.y = -23, this._numset.visible = !0) : this._numset.visible = !1; }, _1j3z; }(_1j3q); _1j33.LandingBalloonType1 = _1j3w; var _1j44 = function(_1j45) { var _1j46 = null; function _1j47() { var _1j48 = null; return null !== _1j45 && _1j45.apply(this, arguments) || this; } return _1j37(_1j47, _1j45), _1j47.prototype.initialize = function() { var _1j49 = null; 1 == this._type ? (this._img.texture = _1j3o.MAP_CELL_EVENT.getTexture(25), this._img.position.set(0, -45)) : 2 == this._type ? (this._img.texture = _1j3o.MAP_CELL_EVENT.getTexture(26), this._img.position.set(-29, 0)) : 3 == this._type && (this._img.texture = _1j3o.MAP_CELL_EVENT.getTexture(27), this._img.position.set(-63, 0)); }, _1j47.prototype.update = function(_1j4a) { var _1j4b = null; this._numset.update(_1j4a), 2 == this._type ? (this._numset.x = 24 - Math.round(this._numset.width / 2), this._numset.y = 84, this._numset.visible = !0) : 3 == this._type ? (this._numset.x = -12 - Math.round(this._numset.width / 2), this._numset.y = 83, this._numset.visible = !0) : this._numset.visible = !1; }, _1j47; }(_1j3q); _1j33.LandingBalloonType2 = _1j44; var _1j4c = function(_1j4d) { var _1j4e = null; function _1j4f() { var _1j4g = null; return null !== _1j4d && _1j4d.apply(this, arguments) || this; } return _1j37(_1j4f, _1j4d), _1j4f.prototype.initialize = function() { var _1j4h = null; 1 == this._type ? (this._img.texture = _1j3o.MAP_CELL_EVENT.getTexture(29), this._img.position.set(-15, -101)) : 2 == this._type ? (this._img.texture = _1j3o.MAP_CELL_EVENT.getTexture(30), this._img.position.set(-87, -93)) : 3 == this._type && (this._img.texture = _1j3o.MAP_CELL_EVENT.getTexture(31), this._img.position.set(-99, -12)); }, _1j4f.prototype.update = function(_1j4i) { var _1j4j = null; this._numset.update(_1j4i), 2 == this._type ? (this._numset.x = -35 - Math.round(this._numset.width / 2), this._numset.y = -23, this._numset.visible = !0) : 3 == this._type ? (this._numset.x = -47 - Math.round(this._numset.width / 2), this._numset.y = 57, this._numset.visible = !0) : this._numset.visible = !1; }, _1j4f; }(_1j3q); _1j33.LandingBalloonType3 = _1j4c; var _1j4k = function(_1j4l) { var _1j4m = null; function _1j4n() { var _1j4o = null; return null !== _1j4l && _1j4l.apply(this, arguments) || this; } return _1j37(_1j4n, _1j4l), _1j4n.prototype.initialize = function() { var _1j4p = null; 1 == this._type ? (this._img.texture = _1j3o.MAP_CELL_EVENT.getTexture(33), this._img.position.set(-15, -16)) : 2 == this._type ? (this._img.texture = _1j3o.MAP_CELL_EVENT.getTexture(30), this._img.position.set(-87, -93)) : 3 == this._type && (this._img.texture = _1j3o.MAP_CELL_EVENT.getTexture(31), this._img.position.set(-99, -12)); }, _1j4n.prototype.update = function(_1j4q) { var _1j4r = null; this._numset.update(_1j4q), 2 == this._type ? (this._numset.x = -35 - Math.round(this._numset.width / 2), this._numset.y = -23, this._numset.visible = !0) : 3 == this._type ? (this._numset.x = -47 - Math.round(this._numset.width / 2), this._numset.y = 57, this._numset.visible = !0) : this._numset.visible = !1; }, _1j4n; }(_1j3q); _1j33.LandingBalloonType4 = _1j4k; var _1j4s = function(_1j4t) { var _1j4u = null; function _1j4v() { var _1j4w = null; return null !== _1j4t && _1j4t.apply(this, arguments) || this; } return _1j37(_1j4v, _1j4t), _1j4v.prototype.initialize = function() { var _1j4x = null; 1 == this._type ? (this._img.texture = _1j3o.MAP_CELL_EVENT.getTexture(25), this._img.position.set(21, -45)) : 2 == this._type ? (this._img.texture = _1j3o.MAP_CELL_EVENT.getTexture(26), this._img.position.set(-21, 0)) : 3 == this._type && (this._img.texture = _1j3o.MAP_CELL_EVENT.getTexture(34), this._img.position.set(5, -105)); }, _1j4v.prototype.update = function(_1j4y) { var _1j4z = null; this._numset.update(_1j4y), 2 == this._type ? (this._numset.x = 32 - Math.round(this._numset.width / 2), this._numset.y = 86, this._numset.visible = !0) : 3 == this._type ? (this._numset.x = 58 - Math.round(this._numset.width / 2), this._numset.y = -35, this._numset.visible = !0) : this._numset.visible = !1; }, _1j4v; }(_1j3q); _1j33.LandingBalloonType5 = _1j4s; }, 20701: function(_1j50, _1j51, _1j52) { 'use strict'; var _1j53 = null; var _1j54, _1j55 = this && this.__extends || (_1j54 = function(_1j56, _1j57) { var _1j58 = null; return _1j54 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1j59, _1j5a) { var _1j5b = null; _1j59.__proto__ = _1j5a; } || function(_1j5c, _1j5d) { var _1j5e = null; for (var _1j5f in _1j5d) Object.prototype.hasOwnProperty.call(_1j5d, _1j5f) && (_1j5c[_1j5f] = _1j5d[_1j5f]); }, _1j54(_1j56, _1j57); }, function(_1j5g, _1j5h) { var _1j5i = null; if ('function' != typeof _1j5h && null !== _1j5h) throw new TypeError('Class extends value ' + String(_1j5h) + ' is not a constructor or null'); function _1j5j() { var _1j5k = null; this.constructor = _1j5g; } _1j54(_1j5g, _1j5h), _1j5g.prototype = null === _1j5h ? Object.create(_1j5h) : (_1j5j.prototype = _1j5h.prototype, new _1j5j()); }); defineModule(_1j51); Object.defineProperty(_1j51, '__esModule', { 'value': !0 }), _1j51.LandingFlag = void 0; var _1j5l = _1j52(45054), _1j5m = _1j52(49749), _1j5n = function(_1j5o) { var _1j5p = null; function _1j5q() { var _1j5r = null, _1j5s = _1j5o.call(this) || this; return _1j5s._img = new PIXI.Sprite(), _1j5s.addChild(_1j5s._img), _1j5s; } return _1j55(_1j5q, _1j5o), _1j5q.prototype.initialize = function(_1j5t) { var _1j5u = null; this._img.texture = _1j5m.MAP_MAIN.getTexture(this._getTexture_no(_1j5t)), this._img.y = -this._img.height; }, _1j5q.prototype._getTexture_no = function(_1j5v) { return 1 === _1j5v ? 43 : 42; }, _1j5q; }(_1j5l.Container); _1j51.LandingFlag = _1j5n; }, 45475: function(_1j5w, _1j5x) { 'use strict'; var _1j5y = null; var _1j5z, _1j60 = this && this.__extends || (_1j5z = function(_1j61, _1j62) { var _1j63 = null; return _1j5z = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1j64, _1j65) { var _1j66 = null; _1j64.__proto__ = _1j65; } || function(_1j67, _1j68) { var _1j69 = null; for (var _1j6a in _1j68) Object.prototype.hasOwnProperty.call(_1j68, _1j6a) && (_1j67[_1j6a] = _1j68[_1j6a]); }, _1j5z(_1j61, _1j62); }, function(_1j6b, _1j6c) { var _1j6d = null; if ('function' != typeof _1j6c && null !== _1j6c) throw new TypeError('Class extends value ' + String(_1j6c) + ' is not a constructor or null'); function _1j6e() { var _1j6f = null; this.constructor = _1j6b; } _1j5z(_1j6b, _1j6c), _1j6b.prototype = null === _1j6c ? Object.create(_1j6c) : (_1j6e.prototype = _1j6c.prototype, new _1j6e()); }); defineModule(_1j5x); Object.defineProperty(_1j5x, '__esModule', { 'value': !0 }), _1j5x.MapAnime = void 0; var _1j6g = function(_1j6h) { var _1j6i = null; function _1j6j() { var _1j6k = null; return _1j6h.call(this) || this; } return _1j60(_1j6j, _1j6h), _1j6j.prototype.startAnimation = function() { var _1j6l = null, _1j6m = this; this._load(function() { var _1j6n = null; _1j6m._initilize(), _1j6m._start(); }); }, _1j6j.prototype.hide = function() { var _1j6o = null; this._hide(); }, _1j6j.prototype.dispose = function() { var _1j6p = null; this._dispose(); }, _1j6j; }(PIXI.Container); _1j5x.MapAnime = _1j6g; }, 83177: function(_1j6q, _1j6r, _1j6s) { 'use strict'; var _1j6t = null; var _1j6u, _1j6v = this && this.__extends || (_1j6u = function(_1j6w, _1j6x) { var _1j6y = null; return _1j6u = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1j6z, _1j70) { var _1j71 = null; _1j6z.__proto__ = _1j70; } || function(_1j72, _1j73) { var _1j74 = null; for (var _1j75 in _1j73) Object.prototype.hasOwnProperty.call(_1j73, _1j75) && (_1j72[_1j75] = _1j73[_1j75]); }, _1j6u(_1j6w, _1j6x); }, function(_1j76, _1j77) { var _1j78 = null; if ('function' != typeof _1j77 && null !== _1j77) throw new TypeError('Class extends value ' + String(_1j77) + ' is not a constructor or null'); function _1j79() { var _1j7a = null; this.constructor = _1j76; } _1j6u(_1j76, _1j77), _1j76.prototype = null === _1j77 ? Object.create(_1j77) : (_1j79.prototype = _1j77.prototype, new _1j79()); }); defineModule(_1j6r); Object.defineProperty(_1j6r, '__esModule', { 'value': !0 }), _1j6r.MapAnime445 = void 0; var _1j7b = _1j6s(46858), _1j7c = _1j6s(45475), _1j7d = _1j6s(13748), _1j7e = function(_1j7f) { var _1j7g = null; function _1j7h() { var _1j7i = null; return _1j7f.call(this) || this; } return _1j6v(_1j7h, _1j7f), _1j7h.prototype._load = function(_1j7j) { var _1j7k = null, _1j7l = new _1j7d.UIImageLoader('map'); _1j7l.add('map_event_anime.json'), _1j7l.load(function() { _1j7j(); }); }, _1j7h.prototype._initilize = function() { var _1j7m = null; this._frame = 0, this._sprite = new PIXI.Sprite(_1j7b.MAP_EVENT_ANIME.getTexture(this._frame)), this.addChild(this._sprite); }, _1j7h.prototype._start = function() { var _1j7n = null, _1j7o = this; this._tween = createjs.Tween.get(null), this._tween.loop = !0, this._tween.wait(250).call(function() { var _1j7p = null; _1j7o._onUpdate(); }); }, _1j7h.prototype._dispose = function() { var _1j7q = null; this._stopAnimation(), this.removeChildren(), this._sprite = null, this._frame = null; }, _1j7h.prototype._stopAnimation = function() { var _1j7r = null; this._tween && (this._tween.setPaused(!0), this._tween = null, this._sprite.alpha = 0); }, _1j7h.prototype._hide = function() { var _1j7s = null, _1j7t = this; createjs.Tween.get(this).to({ 'alpha': 0 }, 200).call(function() { var _1j7u = null; _1j7t._stopAnimation(); }); }, _1j7h.prototype._onUpdate = function() { var _1j7v = null; this._frame >= 29 ? this._frame = 0 : this._frame++, this._sprite.texture = _1j7b.MAP_EVENT_ANIME.getTexture(this._frame); }, _1j7h; }(_1j7c.MapAnime); _1j6r.MapAnime445 = _1j7e; }, 84114: function(_1j7w, _1j7x, _1j7y) { 'use strict'; var _1j7z = null; var _1j80, _1j81 = this && this.__extends || (_1j80 = function(_1j82, _1j83) { var _1j84 = null; return _1j80 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1j85, _1j86) { var _1j87 = null; _1j85.__proto__ = _1j86; } || function(_1j88, _1j89) { var _1j8a = null; for (var _1j8b in _1j89) Object.prototype.hasOwnProperty.call(_1j89, _1j8b) && (_1j88[_1j8b] = _1j89[_1j8b]); }, _1j80(_1j82, _1j83); }, function(_1j8c, _1j8d) { var _1j8e = null; if ('function' != typeof _1j8d && null !== _1j8d) throw new TypeError('Class extends value ' + String(_1j8d) + ' is not a constructor or null'); function _1j8f() { var _1j8g = null; this.constructor = _1j8c; } _1j80(_1j8c, _1j8d), _1j8c.prototype = null === _1j8d ? Object.create(_1j8d) : (_1j8f.prototype = _1j8d.prototype, new _1j8f()); }); defineModule(_1j7x); Object.defineProperty(_1j7x, '__esModule', { 'value': !0 }), _1j7x.MapAnime483 = void 0; var _1j8h = _1j7y(60178), _1j8i = _1j7y(45475), _1j8j = _1j7y(13748), _1j8k = function(_1j8l) { var _1j8m = null; function _1j8n() { var _1j8o = null, _1j8p = _1j8l.call(this) || this; return _1j8p._frames = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29], _1j8p; } return _1j81(_1j8n, _1j8l), _1j8n.prototype._load = function(_1j8q) { var _1j8r = null, _1j8s = new _1j8j.UIImageLoader('map'); _1j8s.add('map_event_anime_483.json'), _1j8s.load(function() { _1j8q(); }); }, _1j8n.prototype._initilize = function() { var _1j8t = null; this._frame_no = 0, this._sprite = new PIXI.Sprite(), this.addChild(this._sprite); }, _1j8n.prototype._start = function() { var _1j8u = null, _1j8v = this; this._sprite.texture = _1j8h.MAP_EVENT_ANIME_483.getTexture(this._frames[0]), this._sprite.alpha = 1, this._tween = createjs.Tween.get(null, { 'loop': !0 }).wait(250).call(function() { var _1j8w = null; _1j8v._onUpdate(); }); }, _1j8n.prototype._dispose = function() { var _1j8x = null; this._stopAnimation(), this.removeChildren(), this._sprite = null, this._frame_no = null, this._frames = null; }, _1j8n.prototype._stopAnimation = function() { var _1j8y = null; this._tween && (this._tween.setPaused(!0), this._tween = null, this._sprite.alpha = 0, this._frame_no = 0); }, _1j8n.prototype._hide = function() { var _1j8z = null, _1j90 = this; createjs.Tween.get(this).to({ 'alpha': 0 }, 200).call(function() { var _1j91 = null; _1j90._stopAnimation(); }); }, _1j8n.prototype._onUpdate = function() { var _1j92 = null; this._frame_no++, this._frame_no >= this._frames.length - 1 && (this._frame_no = 0), this._sprite.texture = _1j8h.MAP_EVENT_ANIME_483.getTexture(this._frame_no); }, _1j8n; }(_1j8i.MapAnime); _1j7x.MapAnime483 = _1j8k; }, 69323: function(_1j93, _1j94, _1j95) { 'use strict'; var _1j96 = null; var _1j97, _1j98 = this && this.__extends || (_1j97 = function(_1j99, _1j9a) { var _1j9b = null; return _1j97 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1j9c, _1j9d) { var _1j9e = null; _1j9c.__proto__ = _1j9d; } || function(_1j9f, _1j9g) { var _1j9h = null; for (var _1j9i in _1j9g) Object.prototype.hasOwnProperty.call(_1j9g, _1j9i) && (_1j9f[_1j9i] = _1j9g[_1j9i]); }, _1j97(_1j99, _1j9a); }, function(_1j9j, _1j9k) { var _1j9l = null; if ('function' != typeof _1j9k && null !== _1j9k) throw new TypeError('Class extends value ' + String(_1j9k) + ' is not a constructor or null'); function _1j9m() { var _1j9n = null; this.constructor = _1j9j; } _1j97(_1j9j, _1j9k), _1j9j.prototype = null === _1j9k ? Object.create(_1j9k) : (_1j9m.prototype = _1j9k.prototype, new _1j9m()); }), _1j9o = this && this.__importDefault || function(_1j9p) { var _1j9q = null; return _1j9p && _1j9p.__esModule ? _1j9p : { 'default': _1j9p }; }; defineModule(_1j94); Object.defineProperty(_1j94, '__esModule', { 'value': !0 }), _1j94.MapBackGround = void 0; var _1j9r = _1j9o(_1j95(21359)), _1j9s = _1j95(54061), _1j9t = _1j95(83177), _1j9u = _1j95(84114), _1j9v = function(_1j9w) { var _1j9x = null; function _1j9y() { var _1j9z = null, _1ja0 = _1j9w.call(this) || this; return _1ja0._bgDic = {}, _1ja0._bgLayer = new PIXI.Container(), _1ja0.addChild(_1ja0._bgLayer), _1ja0._extraLayer = [], _1ja0; } return _1j98(_1j9y, _1j9w), Object.defineProperty(_1j9y.prototype, 'extraLayerLast', { 'get': function() { var _1ja1 = null; return this._extraLayer[this._extraLayer.length - 1]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1j9y.prototype, 'mapAnime', { 'get': function() { var _1ja2 = null; return this._mapAnime; }, 'enumerable': !1, 'configurable': !0 }), _1j9y.prototype.dispose = function() { var _1ja3 = null; this._mapAnime && this._mapAnime.dispose(); }, _1j9y.prototype.addBGLayer = function(_1ja4, _1ja5) { var _1ja6 = null, _1ja7 = new PIXI.Sprite(_1ja4); if (null != _1ja5 && _1ja5.length > 0) { if (1 == this._bgDic.hasOwnProperty(_1ja5)) { var _1ja8 = this._bgDic[_1ja5]; null != _1ja8 && _1ja8.parent == this._bgLayer && this._bgLayer.removeChild(_1ja8); } this._bgDic[_1ja5] = _1ja7; } _1ja7.x = Math.round((_1j9r.default.width - _1ja7.width) / 2), _1ja7.y = Math.round((_1j9r.default.height - _1ja7.height) / 2), this._bgLayer.addChild(_1ja7); }, _1j9y.prototype.getBGLayer = function(_1ja9) { var _1jaa = null; return 0 == this._bgDic.hasOwnProperty(_1ja9) ? null : this._bgDic[_1ja9]; }, _1j9y.prototype.addLabels = function(_1jab) { var _1jac = null, _1jad = new PIXI.Container(); this._extraLayer.push(_1jad), this.addChild(_1jad); for (var _1jae = 0, _1jaf = _1jab; _1jae < _1jaf.length; _1jae++) { var _1jag = _1jaf[_1jae], _1jah = new _1j9s.CenteringSprite(_1jag.texture); _1jah.x = _1jag.x + Math.round(_1jah.width / 2), _1jah.y = _1jag.y + Math.round(_1jah.height / 2), _1jad.addChild(_1jah); } }, _1j9y.prototype.setMapAnime = function(_1jai) { var _1jaj = null; switch (_1jai) { case 445: this._mapAnime = new _1j9t.MapAnime445(), this._mapAnime.position.set(899, 370), this._bgLayer.addChildAt(this._mapAnime, 2), this._mapAnime.startAnimation(); break; case 483: this._mapAnime = new _1j9u.MapAnime483(), this._mapAnime.position.set(536, 230), this._bgLayer.addChildAt(this._mapAnime, 2), this._mapAnime.startAnimation(); } }, _1j9y; }(PIXI.Container); _1j94.MapBackGround = _1j9v; }, 37842: function(_1jak, _1jal, _1jam) { 'use strict'; var _1jan = null; var _1jao, _1jap = this && this.__extends || (_1jao = function(_1jaq, _1jar) { var _1jas = null; return _1jao = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1jat, _1jau) { var _1jav = null; _1jat.__proto__ = _1jau; } || function(_1jaw, _1jax) { var _1jay = null; for (var _1jaz in _1jax) Object.prototype.hasOwnProperty.call(_1jax, _1jaz) && (_1jaw[_1jaz] = _1jax[_1jaz]); }, _1jao(_1jaq, _1jar); }, function(_1jb0, _1jb1) { var _1jb2 = null; if ('function' != typeof _1jb1 && null !== _1jb1) throw new TypeError('Class extends value ' + String(_1jb1) + ' is not a constructor or null'); function _1jb3() { var _1jb4 = null; this.constructor = _1jb0; } _1jao(_1jb0, _1jb1), _1jb0.prototype = null === _1jb1 ? Object.create(_1jb1) : (_1jb3.prototype = _1jb1.prototype, new _1jb3()); }), _1jb5 = this && this.__importDefault || function(_1jb6) { var _1jb7 = null; return _1jb6 && _1jb6.__esModule ? _1jb6 : { 'default': _1jb6 }; }; defineModule(_1jal); Object.defineProperty(_1jal, '__esModule', { 'value': !0 }), _1jal.MapEndContentView = _1jal.MapEndView = void 0; var _1jb8 = _1jb5(_1jam(18622)), _1jb9 = _1jam(7344), _1jba = _1jam(74876), _1jbb = function(_1jbc) { var _1jbd = null; function _1jbe() { var _1jbf = null, _1jbg = _1jbc.call(this) || this; return _1jbg._bg = new PIXI.Sprite(), _1jbg._bg.position.set(86, 60), _1jbg._content = new _1jbh(), _1jbg._content.position.set(390, 153), _1jbg.addChild(_1jbg._bg), _1jbg.addChild(_1jbg._content), _1jbg._gearBtn = new _1jb9.GearBtnHome(), _1jbg._gearBtn.position.set(1127, 653), _1jbg.addChild(_1jbg._gearBtn), _1jbg; } return _1jap(_1jbe, _1jbc), Object.defineProperty(_1jbe.prototype, 'content', { 'get': function() { var _1jbi = null; return this._content; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1jbe.prototype, 'gearBtn', { 'get': function() { var _1jbj = null; return this._gearBtn; }, 'enumerable': !1, 'configurable': !0 }), _1jbe.prototype.initialize = function(_1jbk) { var _1jbl = null; this._bg.texture = _1jba.MAP_CELL_EVENT.getTexture(71), this._content.initialize(_1jbk), this._gearBtn.initialize(); }, _1jbe; }(PIXI.Container); _1jal.MapEndView = _1jbb; var _1jbh = function(_1jbm) { var _1jbn = null; function _1jbo() { var _1jbp = null, _1jbq = _1jbm.call(this) || this; return _1jbq._line = new PIXI.Graphics(), _1jbq._line.lineStyle(3, 16774898), _1jbq._line.moveTo(0, 0), _1jbq._line.lineTo(0, 323), _1jbq._line.position.set(0, 36), _1jbq.addChild(_1jbq._line), _1jbq._title = new PIXI.Sprite(), _1jbq.addChild(_1jbq._title), _1jbq; } return _1jap(_1jbo, _1jbm), _1jbo.prototype.initialize = function(_1jbr) { var _1jbs = null; if (this._title.texture = _1jba.MAP_CELL_EVENT.getTexture(78), null != _1jbr) for (var _1jbt = 0; _1jbt < _1jbr.length; _1jbt++) { var _1jbu = _1jbr[_1jbt], _1jbv = _1jb8.default.resources.getUseitem(_1jbu, 0), _1jbw = new PIXI.Sprite(_1jbv); _1jbw.x = 33 + _1jbt % 5 * 75, _1jbw.y = 56 + 75 * Math.floor(_1jbt / 5), this.addChild(_1jbw); } }, _1jbo; }(PIXI.Container); _1jal.MapEndContentView = _1jbh; }, 55417: function(_1jbx, _1jby) { 'use strict'; var _1jbz = null; var _1jc0, _1jc1 = this && this.__extends || (_1jc0 = function(_1jc2, _1jc3) { var _1jc4 = null; return _1jc0 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1jc5, _1jc6) { var _1jc7 = null; _1jc5.__proto__ = _1jc6; } || function(_1jc8, _1jc9) { var _1jca = null; for (var _1jcb in _1jc9) Object.prototype.hasOwnProperty.call(_1jc9, _1jcb) && (_1jc8[_1jcb] = _1jc9[_1jcb]); }, _1jc0(_1jc2, _1jc3); }, function(_1jcc, _1jcd) { var _1jce = null; if ('function' != typeof _1jcd && null !== _1jcd) throw new TypeError('Class extends value ' + String(_1jcd) + ' is not a constructor or null'); function _1jcf() { var _1jcg = null; this.constructor = _1jcc; } _1jc0(_1jcc, _1jcd), _1jcc.prototype = null === _1jcd ? Object.create(_1jcd) : (_1jcf.prototype = _1jcd.prototype, new _1jcf()); }); defineModule(_1jby); Object.defineProperty(_1jby, '__esModule', { 'value': !0 }), _1jby.MapEnemy = void 0; var _1jch = function(_1jci) { var _1jcj = null; function _1jck(_1jcl, _1jcm) { var _1jcn = null, _1jco = _1jci.call(this) || this; _1jco._ropeLength = 0, _1jco._animation_count = 0, _1jco._texture = _1jcl, _1jco._points = []; var _1jcp = _1jcl.orig.width; _1jco._ropeLength = _1jcp / _1jcm; for (var _1jcq = 0; _1jcq < _1jcm; _1jcq++) { var _1jcr = new PIXI.Point(); _1jcr.x = _1jcq * (_1jcl.height / (_1jcm - 1)), _1jcr.y = _1jcl.width / 2, _1jco._points.push(_1jcr); } var _1jcs = new PIXI.mesh.Rope(_1jcl, _1jco._points), _1jct = _1jcl.frame, _1jcu = PIXI.GroupD8.isVertical(2) ? _1jcl.frame.height : _1jcl.frame.width, _1jcv = PIXI.GroupD8.isVertical(2) ? _1jcl.frame.width : _1jcl.frame.height, _1jcw = new PIXI.Rectangle(_1jct.x, _1jct.y, _1jcu, _1jcv), _1jcx = new PIXI.Rectangle(0, 0, _1jcu, _1jcv), _1jcy = new PIXI.Texture(_1jcl.baseTexture, _1jct, _1jcw, _1jcx, 2); return (_1jcs = new PIXI.mesh.Rope(_1jcy, _1jco._points)).rotation = Math.PI / 2, _1jcs.x = _1jcs.height, _1jco.addChild(_1jcs), _1jco; } return _1jc1(_1jck, _1jci), _1jck.prototype.dispose = function() { var _1jcz = null; this.stopAnimation(), this.removeChildren(), this._texture = null, this._points = null, this._ropeLength = null, this._animation_count = null; }, _1jck.prototype.startAnimation = function() { var _1jd0 = null, _1jd1 = this; this._tween = createjs.Tween.get(this), this._tween.loop = !0, this._tween.wait(40).call(function() { var _1jd2 = null; _1jd1._onUpdate(); }); }, _1jck.prototype.stopAnimation = function() { var _1jd3 = null; this._tween && (this._tween.setPaused(!0), this._tween = null); }, _1jck.prototype._onUpdate = function() { var _1jd4 = null; this._animation_count += 0.05; for (var _1jd5 = 0; _1jd5 < this._points.length; _1jd5++) { this._points[_1jd5].y = this._texture.width / 2 + 5 * Math.cos(0.3 * _1jd5 + this._animation_count); } }, _1jck; }(PIXI.Container); _1jby.MapEnemy = _1jch; }, 30914: function(_1jd6, _1jd7) { 'use strict'; var _1jd8 = null; var _1jd9, _1jda = this && this.__extends || (_1jd9 = function(_1jdb, _1jdc) { var _1jdd = null; return _1jd9 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1jde, _1jdf) { var _1jdg = null; _1jde.__proto__ = _1jdf; } || function(_1jdh, _1jdi) { var _1jdj = null; for (var _1jdk in _1jdi) Object.prototype.hasOwnProperty.call(_1jdi, _1jdk) && (_1jdh[_1jdk] = _1jdi[_1jdk]); }, _1jd9(_1jdb, _1jdc); }, function(_1jdl, _1jdm) { var _1jdn = null; if ('function' != typeof _1jdm && null !== _1jdm) throw new TypeError('Class extends value ' + String(_1jdm) + ' is not a constructor or null'); function _1jdo() { var _1jdp = null; this.constructor = _1jdl; } _1jd9(_1jdl, _1jdm), _1jdl.prototype = null === _1jdm ? Object.create(_1jdm) : (_1jdo.prototype = _1jdm.prototype, new _1jdo()); }); defineModule(_1jd7); Object.defineProperty(_1jd7, '__esModule', { 'value': !0 }), _1jd7.MapEnemyLayer = void 0; var _1jdq = function(_1jdr) { var _1jds = null; function _1jdt() { var _1jdu = null; return _1jdr.call(this) || this; } return _1jda(_1jdt, _1jdr), _1jdt.prototype.isDisplaying = function() { var _1jdv = null; return null != this._enemy; }, _1jdt.prototype.show = function(_1jdw, _1jdx) { var _1jdy = null; void 0 === _1jdx && (_1jdx = null), null != this._enemy && this.hide(), this._enemy = _1jdw; var _1jdz = _1jdw.y; _1jdw.y += 30, _1jdw.alpha = 0, this.addChild(_1jdw), _1jdw.startAnimation(); var _1je0 = createjs.Tween.get(_1jdw); _1je0.to({ 'y': _1jdz, 'alpha': 1 }, 500), _1je0.wait(600), null != _1jdx && _1je0.call(_1jdx); }, _1jdt.prototype.hide = function(_1je1) { var _1je2 = null, _1je3 = this; if (void 0 === _1je1 && (_1je1 = null), null == this._enemy) null != _1je1 && _1je1(); else { var _1je4 = this._enemy; this._enemy = null; var _1je5 = createjs.Tween.get(_1je4); _1je5.to({ 'y': _1je4.y + 30, 'alpha': 0 }, 1000), _1je5.call(function() { var _1je6 = null; _1je3.removeChild(_1je4), _1je4.stopAnimation(), null != _1je1 && _1je1(); }); } }, _1jdt.prototype.dispose = function() { var _1je7 = null; this.removeChildren(), this._enemy && this._enemy.dispose(), this._enemy = null; }, _1jdt; }(PIXI.Container); _1jd7.MapEnemyLayer = _1jdq; }, 20385: function(_1je8, _1je9, _1jea) { 'use strict'; var _1jeb = null; var _1jec, _1jed = this && this.__extends || (_1jec = function(_1jee, _1jef) { var _1jeg = null; return _1jec = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1jeh, _1jei) { var _1jej = null; _1jeh.__proto__ = _1jei; } || function(_1jek, _1jel) { var _1jem = null; for (var _1jen in _1jel) Object.prototype.hasOwnProperty.call(_1jel, _1jen) && (_1jek[_1jen] = _1jel[_1jen]); }, _1jec(_1jee, _1jef); }, function(_1jeo, _1jep) { var _1jeq = null; if ('function' != typeof _1jep && null !== _1jep) throw new TypeError('Class extends value ' + String(_1jep) + ' is not a constructor or null'); function _1jer() { var _1jes = null; this.constructor = _1jeo; } _1jec(_1jeo, _1jep), _1jeo.prototype = null === _1jep ? Object.create(_1jep) : (_1jer.prototype = _1jep.prototype, new _1jer()); }); defineModule(_1je9); Object.defineProperty(_1je9, '__esModule', { 'value': !0 }), _1je9.MapPlane = void 0; var _1jet = _1jea(49749), _1jeu = function(_1jev) { var _1jew = null; function _1jex() { var _1jey = null, _1jez = _1jev.call(this) || this; return _1jez._layer = new PIXI.Container(), _1jez._layer.y = -30, _1jez.addChild(_1jez._layer), _1jez._img3 = new PIXI.Sprite(), _1jez._layer.addChild(_1jez._img3), _1jez._img2 = new PIXI.Sprite(), _1jez._layer.addChild(_1jez._img2), _1jez._img1 = new PIXI.Sprite(), _1jez._layer.addChild(_1jez._img1), _1jez._basePos1 = new PIXI.Point(), _1jez._basePos2 = new PIXI.Point(), _1jez._basePos3 = new PIXI.Point(), _1jez._tweens = [], _1jez; } return _1jed(_1jex, _1jev), _1jex.prototype.initialize = function(_1jf0) { var _1jf1 = null; switch (_1jf0) { case 1: this._img1.texture = _1jet.MAP_MAIN.getTexture(20), this._img2.texture = _1jet.MAP_MAIN.getTexture(21); break; case 0: this._img1.texture = _1jet.MAP_MAIN.getTexture(22), this._img2.texture = _1jet.MAP_MAIN.getTexture(24); break; case 2: this._img1.texture = _1jet.MAP_MAIN.getTexture(23), this._img2.texture = _1jet.MAP_MAIN.getTexture(25); break; case 3: this._img1.texture = _1jet.MAP_MAIN.getTexture(26), this._img2.texture = _1jet.MAP_MAIN.getTexture(27); break; case 4: this._img1.texture = _1jet.MAP_MAIN.getTexture(29), this._img2.texture = _1jet.MAP_MAIN.getTexture(30); break; case 5: this._img1.texture = _1jet.MAP_MAIN.getTexture(31), this._img2.texture = _1jet.MAP_MAIN.getTexture(32); break; case 6: this._img1.texture = _1jet.MAP_MAIN.getTexture(34), this._img2.texture = _1jet.MAP_MAIN.getTexture(33); break; case 7: this._img1.texture = _1jet.MAP_MAIN.getTexture(36), this._img2.texture = _1jet.MAP_MAIN.getTexture(35); break; case 8: this._img1.texture = _1jet.MAP_MAIN.getTexture(37), this._img2.texture = _1jet.MAP_MAIN.getTexture(38); break; case 9: this._img1.texture = _1jet.MAP_MAIN.getTexture(39), this._img2.texture = _1jet.MAP_MAIN.getTexture(40); break; default: this._img1.texture = PIXI.Texture.EMPTY, this._img2.texture = PIXI.Texture.EMPTY; } 3 == _1jf0 ? (this._img3.texture = _1jet.MAP_MAIN.getTexture(28), this._basePos1.x = -5, this._basePos1.y = -25, this._basePos2.x = -40, this._basePos2.y = -50, this._basePos3.x = -45, this._basePos3.y = 0) : 4 == _1jf0 || 5 == _1jf0 ? (this._img3.texture = PIXI.Texture.EMPTY, this._basePos1.x = 12, this._basePos1.y = 20, this._basePos2.x = -15, this._basePos2.y = -15, this._basePos3.x = 0, this._basePos3.y = 0) : 6 == _1jf0 || 7 == _1jf0 ? (this._img3.texture = PIXI.Texture.EMPTY, this._basePos1.x = -2, this._basePos1.y = 7, this._basePos2.x = -17, this._basePos2.y = -10, this._basePos3.x = 0, this._basePos3.y = 0) : 9 == _1jf0 ? (this._img3.texture = PIXI.Texture.EMPTY, this._basePos1.x = 15, this._basePos1.y = 17, this._basePos2.x = -24, this._basePos2.y = -14, this._basePos3.x = 0, this._basePos3.y = 0) : (this._img3.texture = PIXI.Texture.EMPTY, this._basePos1.x = 0, this._basePos1.y = 0, this._basePos2.x = -15, this._basePos2.y = -15, this._basePos3.x = 0, this._basePos3.y = 0), this._img1.x = this._basePos1.x, this._img1.y = this._basePos1.y, this._img2.x = this._basePos2.x, this._img2.y = this._basePos2.y, this._img3.x = this._basePos3.x, this._img3.y = this._basePos3.y; }, _1jex.prototype.activate = function() { var _1jf2 = null; this._stopTweens(), this._startAnimation(); }, _1jex.prototype.deactivate = function() { var _1jf3 = null; this._stopTweens(); }, _1jex.prototype._startAnimation = function() { var _1jf4 = null, _1jf5 = this, _1jf6 = 6 * Math.random() - 3, _1jf7 = 6 * Math.random() - 3; this._tweens.push(createjs.Tween.get(this._img3).to({ 'x': this._basePos3.x + _1jf6, 'y': this._basePos3.y + _1jf7 }, 250, createjs.Ease.sineInOut)), _1jf6 = 6 * Math.random() - 3, _1jf7 = 6 * Math.random() - 3, this._tweens.push(createjs.Tween.get(this._img2).to({ 'x': this._basePos2.x + _1jf6, 'y': this._basePos2.y + _1jf7 }, 250, createjs.Ease.sineInOut)), _1jf6 = 6 * Math.random() - 3, _1jf7 = 6 * Math.random() - 3, this._tweens.push(createjs.Tween.get(this._img1).to({ 'x': this._basePos1.x + _1jf6, 'y': this._basePos1.y + _1jf7 }, 250, createjs.Ease.sineInOut).call(function() { var _1jf8 = null; _1jf5._startAnimation(); })); }, _1jex.prototype._stopTweens = function() { var _1jf9 = null; for (var _1jfa = 0, _1jfb = this._tweens; _1jfa < _1jfb.length; _1jfa++) { var _1jfc = _1jfb[_1jfa]; null != _1jfc && _1jfc.setPaused(!0); } this._tweens = []; }, _1jex; }(PIXI.Container); _1je9.MapPlane = _1jeu; }, 90765: function(_1jfd, _1jfe, _1jff) { 'use strict'; var _1jfg = null; var _1jfh, _1jfi = this && this.__extends || (_1jfh = function(_1jfj, _1jfk) { var _1jfl = null; return _1jfh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1jfm, _1jfn) { var _1jfo = null; _1jfm.__proto__ = _1jfn; } || function(_1jfp, _1jfq) { var _1jfr = null; for (var _1jfs in _1jfq) Object.prototype.hasOwnProperty.call(_1jfq, _1jfs) && (_1jfp[_1jfs] = _1jfq[_1jfs]); }, _1jfh(_1jfj, _1jfk); }, function(_1jft, _1jfu) { var _1jfv = null; if ('function' != typeof _1jfu && null !== _1jfu) throw new TypeError('Class extends value ' + String(_1jfu) + ' is not a constructor or null'); function _1jfw() { var _1jfx = null; this.constructor = _1jft; } _1jfh(_1jft, _1jfu), _1jft.prototype = null === _1jfu ? Object.create(_1jfu) : (_1jfw.prototype = _1jfu.prototype, new _1jfw()); }), _1jfy = this && this.__importDefault || function(_1jfz) { var _1jg0 = null; return _1jfz && _1jfz.__esModule ? _1jfz : { 'default': _1jfz }; }; defineModule(_1jfe); Object.defineProperty(_1jfe, '__esModule', { 'value': !0 }), _1jfe.MapPlaneLayer = void 0; var _1jg1 = _1jff(20385), _1jg2 = _1jfy(_1jff(18622)), _1jg3 = _1jff(5527), _1jg4 = _1jff(81755), _1jg5 = _1jff(55535), _1jg6 = _1jff(56494), _1jg7 = function(_1jg8) { var _1jg9 = null; function _1jga() { var _1jgb = null, _1jgc = _1jg8.call(this) || this; return _1jgc._dic = {}, _1jgc; } return _1jfi(_1jga, _1jg8), _1jga.prototype.show = function(_1jgd, _1jge, _1jgf, _1jgg, _1jgh, _1jgi) { var _1jgj = null; null == _1jgd && (_1jgd = ''); var _1jgk = _1jgd.toString(); if (1 == this._dic.hasOwnProperty(_1jgk)) for (var _1jgl = function(_1jgm) { var _1jgn = null; _1jgm.hide(function() { var _1jgo = null; _1jgm.dispose(); }); }, _1jgp = 0, _1jgq = this._dic[_1jgd]; _1jgp < _1jgq.length; _1jgp++) { _1jgl(_1jgq[_1jgp]); } this._dic[_1jgd] = []; for (var _1jgr = new _1jg3.ParallelTask(), _1jgs = 0; _1jgs < _1jge.length; _1jgs++) { var _1jgt = _1jge[_1jgs], _1jgu = 700 * _1jgs > 1400 ? 1400 : 700 * _1jgs, _1jgv = new _1jgw(_1jgk, _1jgt, this, _1jgf - _1jgu); _1jgv.initialize(_1jgg, _1jgh), this._dic[_1jgd].push(_1jgv), _1jgr.add(new _1jg5.SerialTask().add(new _1jg6.WaitTask(_1jgu)).add(_1jgv)); } _1jgr.start(function() { null != _1jgi && _1jgi(); }); }, _1jga.prototype.hide = function(_1jgx, _1jgy) { var _1jgz = null; if (void 0 === _1jgy && (_1jgy = null), null == _1jgx && (_1jgx = ''), 1 == this._dic.hasOwnProperty(_1jgx)) { var _1jh0 = this._dic[_1jgx]; delete this._dic[_1jgx]; for (var _1jh1 = function(_1jh2) { var _1jh3 = null; _1jh2.hide(function() { var _1jh4 = null; _1jh2.dispose(), null != _1jgy && _1jgy(); }); }, _1jh5 = 0, _1jh6 = _1jh0; _1jh5 < _1jh6.length; _1jh5++) { _1jh1(_1jh6[_1jh5]); } } }, _1jga.prototype.hideAll = function(_1jh7) { var _1jh8 = null; void 0 === _1jh7 && (_1jh7 = null); var _1jh9 = []; for (var _1jha in this._dic) _1jh9.push.apply(_1jh9, this._dic[_1jha]); if (0 == _1jh9.length) null != _1jh7 && _1jh7(); else { var _1jhb = _1jh9[0]; _1jhb.hide(function() { var _1jhc = null; _1jhb.dispose(), null != _1jh7 && _1jh7(); }); for (var _1jhd = function(_1jhe) { var _1jhf = null, _1jhg = _1jh9[_1jhe]; _1jhg.hide(function() { var _1jhh = null; _1jhg.dispose(); }); }, _1jhi = 1; _1jhi < _1jh9.length; _1jhi++) _1jhd(_1jhi); } }, _1jga.prototype.dispose = function() { var _1jhj = null; for (var _1jhk in this._dic) for (var _1jhl = 0, _1jhm = this._dic[_1jhk]; _1jhl < _1jhm.length; _1jhl++) { _1jhm[_1jhl].dispose(); } this._dic = null; }, _1jga; }(PIXI.Container); _1jfe.MapPlaneLayer = _1jg7; var _1jgw = function(_1jhn) { var _1jho = null; function _1jhp(_1jhq, _1jhr, _1jhs, _1jht) { var _1jhu = null; void 0 === _1jht && (_1jht = 0); var _1jhv = _1jhn.call(this) || this; return _1jhv._key = _1jhq, _1jhv._data = _1jhr, _1jhv._layer = _1jhs, _1jhv._time = _1jht, _1jhv; } return _1jfi(_1jhp, _1jhn), Object.defineProperty(_1jhp.prototype, 'key', { 'get': function() { var _1jhw = null; return this._key; }, 'enumerable': !1, 'configurable': !0 }), _1jhp.prototype.initialize = function(_1jhx, _1jhy) { var _1jhz = null; this._map_no = _1jhx, this._area_id = _1jhy; }, _1jhp.prototype._start = function() { var _1ji0 = null, _1ji1 = this; if (null != this._data) { var _1ji2 = this._area_id, _1ji3 = this._map_no, _1ji4 = (function() { var _1ji5 = null, _1ji6 = _1jg2.default.model.map.getMapMst(_1ji2, _1ji3); if (null == _1ji6) return _1ji1._data.type; var _1ji7 = _1ji6.mst_id, _1ji8 = _1jg2.default.model.map.getMapMem(_1ji7); if (null == _1ji8) return _1ji1._data.type; return 'airbaseraid' == _1ji1._key && [4, 3].indexOf(_1ji8.getSelectedOperationType()) >= 0 && [471].indexOf(_1ji8.mst_id) >= 0 ? 5 : _1ji1._data.type; }()); this._plane = new _1jg1.MapPlane(), this._plane.alpha = 0, this._plane.initialize(_1ji4), this._data.from.x < this._data.to.x && (this._plane.scale.x = -1), this._plane.x = this._data.from.x, this._plane.y = this._data.from.y, this._layer.addChild(this._plane), this._plane.activate(); var _1ji9 = this._time; if (_1ji9 <= 0) { var _1jia = this._data.to.x - this._data.from.x; _1jia = Math.pow(_1jia, 2); var _1jib = this._data.to.y - this._data.from.y; _1jib = Math.pow(_1jib, 2), _1ji9 = Math.sqrt(_1jia + _1jib) / 40; } var _1jic = createjs.Tween.get(this._plane).to({ 'alpha': 1 }, 500), _1jid = createjs.Tween.get(this._plane).to({ 'x': this._data.to.x, 'y': this._data.to.y }, _1ji9, createjs.Ease.sineInOut); 500 > _1ji9 ? _1jic.call(function() { var _1jie = null; _1ji1._endTask(); }) : _1jid.call(function() { var _1jif = null; _1ji1._endTask(); }), this._tweens = [_1jic, _1jid]; } else this._endTask(); }, _1jhp.prototype.hide = function(_1jig) { var _1jih = null, _1jii = this; if (void 0 === _1jig && (_1jig = null), this._stopTweens(), null != this._plane) { var _1jij = createjs.Tween.get(this._plane).to({ 'alpha': 0 }, 200).call(function() { var _1jik = null; null != _1jii._plane.parent && _1jii._plane.parent.removeChild(_1jii._plane), _1jii._plane.deactivate(), _1jii._plane = null, null != _1jig && _1jig(); }); this._tweens = [_1jij]; } else null != _1jig && _1jig(); }, _1jhp.prototype.dispose = function() { var _1jil = null; this._stopTweens(), null != this._plane && (null != this._plane.parent && this._plane.parent.removeChild(this._plane), this._plane.deactivate(), this._plane = null), this._data = null, this._layer = null; }, _1jhp.prototype._stopTweens = function() { var _1jim = null; if (null != this._tweens) { for (var _1jin = 0, _1jio = this._tweens; _1jin < _1jio.length; _1jin++) { _1jio[_1jin].setPaused(!0); } this._tweens = null; } }, _1jhp.prototype._endTask = function() { var _1jip = null; _1jhn.prototype._endTask.call(this); }, _1jhp; }(_1jg4.TaskBase); }, 8410: function(_1jiq, _1jir, _1jis) { 'use strict'; var _1jit = null; var _1jiu, _1jiv = this && this.__extends || (_1jiu = function(_1jiw, _1jix) { var _1jiy = null; return _1jiu = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1jiz, _1jj0) { var _1jj1 = null; _1jiz.__proto__ = _1jj0; } || function(_1jj2, _1jj3) { var _1jj4 = null; for (var _1jj5 in _1jj3) Object.prototype.hasOwnProperty.call(_1jj3, _1jj5) && (_1jj2[_1jj5] = _1jj3[_1jj5]); }, _1jiu(_1jiw, _1jix); }, function(_1jj6, _1jj7) { var _1jj8 = null; if ('function' != typeof _1jj7 && null !== _1jj7) throw new TypeError('Class extends value ' + String(_1jj7) + ' is not a constructor or null'); function _1jj9() { var _1jja = null; this.constructor = _1jj6; } _1jiu(_1jj6, _1jj7), _1jj6.prototype = null === _1jj7 ? Object.create(_1jj7) : (_1jj9.prototype = _1jj7.prototype, new _1jj9()); }); defineModule(_1jir); Object.defineProperty(_1jir, '__esModule', { 'value': !0 }), _1jir.MapSpotLayer = void 0; var _1jjb = _1jis(20701), _1jjc = function(_1jjd) { var _1jje = null; function _1jjf() { var _1jjg = null, _1jjh = _1jjd.call(this) || this; return _1jjh._spots = {}, _1jjh._flags = {}, _1jjh; } return _1jiv(_1jjf, _1jjd), _1jjf.prototype.addSpot = function(_1jji) { var _1jjj = null; this._spots[_1jji.no] = _1jji, this.addChild(_1jji); }, _1jjf.prototype.addFlag = function(_1jjk, _1jjl, _1jjm, _1jjn) { var _1jjo = null, _1jjp = new _1jjb.LandingFlag(); _1jjp.x = _1jjm, _1jjp.y = _1jjn, _1jjp.initialize(_1jjk), this.addChild(_1jjp), this._flags[_1jjl] = _1jjp; }, _1jjf.prototype.getAllSpots = function() { var _1jjq = null, _1jjr = []; for (var _1jjs in this._spots) { var _1jjt = this._spots[_1jjs]; _1jjr.push(_1jjt); } return _1jjr; }, _1jjf.prototype.getSpot = function(_1jju) { var _1jjv = null, _1jjw = _1jju.toString(); return 1 == this._spots.hasOwnProperty(_1jjw) ? this._spots[_1jju] : null; }, _1jjf.prototype.getFlag = function(_1jjx) { var _1jjy = null, _1jjz = _1jjx.toString(); return 1 == this._flags.hasOwnProperty(_1jjz) ? this._flags[_1jjx] : null; }, _1jjf.prototype.removeFlag = function() { var _1jk0 = null, _1jk1 = this, _1jk2 = function(_1jk3) { var _1jk4 = null, _1jk5 = _1jk6._flags[_1jk3]; null != _1jk5 && createjs.Tween.get(_1jk5).to({ 'scaleX': 0, 'scaleY': 0, 'alpha': 0 }, 500).call(function() { var _1jk7 = null; _1jk1.removeChild(_1jk5); }); }, _1jk6 = this; for (var _1jk8 in this._flags) _1jk2(_1jk8); }, _1jjf.prototype.dispose = function() { var _1jk9 = null; for (var _1jka in (this.removeChildren(), this._spots)) { this._spots[_1jka].dispose(); } this._spots = null; }, _1jjf; }(PIXI.Container); _1jir.MapSpotLayer = _1jjc; }, 74643: function(_1jkb, _1jkc, _1jkd) { 'use strict'; var _1jke = null; var _1jkf, _1jkg = this && this.__extends || (_1jkf = function(_1jkh, _1jki) { var _1jkj = null; return _1jkf = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1jkk, _1jkl) { var _1jkm = null; _1jkk.__proto__ = _1jkl; } || function(_1jkn, _1jko) { var _1jkp = null; for (var _1jkq in _1jko) Object.prototype.hasOwnProperty.call(_1jko, _1jkq) && (_1jkn[_1jkq] = _1jko[_1jkq]); }, _1jkf(_1jkh, _1jki); }, function(_1jkr, _1jks) { var _1jkt = null; if ('function' != typeof _1jks && null !== _1jks) throw new TypeError('Class extends value ' + String(_1jks) + ' is not a constructor or null'); function _1jku() { var _1jkv = null; this.constructor = _1jkr; } _1jkf(_1jkr, _1jks), _1jkr.prototype = null === _1jks ? Object.create(_1jks) : (_1jku.prototype = _1jks.prototype, new _1jku()); }); defineModule(_1jkc); Object.defineProperty(_1jkc, '__esModule', { 'value': !0 }), _1jkc.MapView = void 0; var _1jkw = _1jkd(97723), _1jkx = _1jkd(69247), _1jky = _1jkd(69323), _1jkz = _1jkd(8410), _1jl0 = _1jkd(30914), _1jl1 = _1jkd(90765), _1jl2 = _1jkd(86059), _1jl3 = _1jkd(14921), _1jl4 = function(_1jl5) { var _1jl6 = null; function _1jl7() { var _1jl8 = null, _1jl9 = _1jl5.call(this) || this; return _1jl9._bg = new _1jky.MapBackGround(), _1jl9.addChild(_1jl9._bg), _1jl9._spotLayer = new _1jkz.MapSpotLayer(), _1jl9.addChild(_1jl9._spotLayer), _1jl9._ship_layer = new PIXI.Container(), _1jl9._ship_icon = new _1jkw.CompShipIcon(), _1jl9._enemy_layer = new _1jl0.MapEnemyLayer(), _1jl9._airbaseLayer = new _1jl2.AirBaseLayer(), _1jl9.addChild(_1jl9._airbaseLayer), _1jl9._ship_layer.addChild(_1jl9._ship_icon), _1jl9.addChild(_1jl9._ship_layer), _1jl9.addChild(_1jl9._enemy_layer), _1jl9._plane_layer = new _1jl1.MapPlaneLayer(), _1jl9.addChild(_1jl9._plane_layer), _1jl9; } return _1jkg(_1jl7, _1jl5), Object.defineProperty(_1jl7.prototype, 'bg', { 'get': function() { var _1jla = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1jl7.prototype, 'ship_icon', { 'get': function() { var _1jlb = null; return this._ship_icon; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1jl7.prototype, 'spotLayer', { 'get': function() { var _1jlc = null; return this._spotLayer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1jl7.prototype, 'airbaseLayer', { 'get': function() { var _1jld = null; return this._airbaseLayer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1jl7.prototype, 'ship_layer', { 'get': function() { var _1jle = null; return this._ship_layer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1jl7.prototype, 'enemy_layer', { 'get': function() { var _1jlf = null; return this._enemy_layer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1jl7.prototype, 'plane_layer', { 'get': function() { var _1jlg = null; return this._plane_layer; }, 'enumerable': !1, 'configurable': !0 }), _1jl7.prototype.dispose = function() { var _1jlh = null; this._bg.dispose(), this._spotLayer.dispose(), this._enemy_layer.dispose(), this._plane_layer.dispose(); }, _1jl7.prototype.addSpot = function(_1jli, _1jlj, _1jlk) { var _1jll = null, _1jlm = _1jlk.getSpot(_1jlj), _1jln = new _1jkx.CompSpot(_1jlj, _1jlm.offsetDic); if (_1jln.position.set(_1jlm.x, _1jlm.y), null != _1jlm.route) { var _1jlo = _1jlm.route, _1jlp = _1jl3.MapUtil.toResKey(_1jli), _1jlq = 'map'['concat'](_1jlp, '_').concat(_1jlo.img), _1jlr = PIXI.Texture.fromFrame(_1jlq); _1jln.setRoute(_1jlr, _1jlo.x, _1jlo.y, _1jlo.r); } var _1jls = _1jlm.line; if (null != _1jls) { _1jlp = _1jl3.MapUtil.toResKey(_1jli); var _1jlt = void 0; _1jlt = null != _1jls.img && _1jls.img.length > 0 ? 'map'['concat'](_1jlp, '_').concat(_1jls.img) : 'map'['concat'](_1jlp, '_route_').concat(_1jlj), _1jlr = PIXI.Texture.fromFrame(_1jlt), _1jln.setLine(_1jlr, _1jls.x, _1jls.y, _1jls.r); } this._spotLayer.addSpot(_1jln); }, _1jl7; }(PIXI.Container); _1jkc.MapView = _1jl4; }, 16383: function(_1jlu, _1jlv, _1jlw) { 'use strict'; var _1jlx = null; var _1jly, _1jlz = this && this.__extends || (_1jly = function(_1jm0, _1jm1) { var _1jm2 = null; return _1jly = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1jm3, _1jm4) { var _1jm5 = null; _1jm3.__proto__ = _1jm4; } || function(_1jm6, _1jm7) { var _1jm8 = null; for (var _1jm9 in _1jm7) Object.prototype.hasOwnProperty.call(_1jm7, _1jm9) && (_1jm6[_1jm9] = _1jm7[_1jm9]); }, _1jly(_1jm0, _1jm1); }, function(_1jma, _1jmb) { var _1jmc = null; if ('function' != typeof _1jmb && null !== _1jmb) throw new TypeError('Class extends value ' + String(_1jmb) + ' is not a constructor or null'); function _1jmd() { var _1jme = null; this.constructor = _1jma; } _1jly(_1jma, _1jmb), _1jma.prototype = null === _1jmb ? Object.create(_1jmb) : (_1jmd.prototype = _1jmb.prototype, new _1jmd()); }); defineModule(_1jlv); Object.defineProperty(_1jlv, '__esModule', { 'value': !0 }), _1jlv.NumericalDisplay = void 0; var _1jmf = _1jlw(74876), _1jmg = function(_1jmh) { var _1jmi = null; function _1jmj(_1jmk) { var _1jml = null; void 0 === _1jmk && (_1jmk = void 0); var _1jmm = _1jmh.call(this) || this; return _1jmm._img = new PIXI.Sprite(), _1jmm.addChild(_1jmm._img), null != _1jmk && _1jmm.update(_1jmk), _1jmm; } return _1jlz(_1jmj, _1jmh), _1jmj.prototype.update = function(_1jmn) { var _1jmo = null; if (-1 == _1jmn) return this._img.position.set(-9, -9), void(this._img.texture = _1jmf.MAP_CELL_EVENT.getTexture(45)); switch (this._img.position.set(-8, -11), _1jmn) { case 0: this._img.texture = _1jmf.MAP_CELL_EVENT.getTexture(35); break; case 1: this._img.texture = _1jmf.MAP_CELL_EVENT.getTexture(36); break; case 2: this._img.texture = _1jmf.MAP_CELL_EVENT.getTexture(37); break; case 3: this._img.texture = _1jmf.MAP_CELL_EVENT.getTexture(38); break; case 4: this._img.texture = _1jmf.MAP_CELL_EVENT.getTexture(39); break; case 5: this._img.texture = _1jmf.MAP_CELL_EVENT.getTexture(40); break; case 6: this._img.texture = _1jmf.MAP_CELL_EVENT.getTexture(41); break; case 7: this._img.texture = _1jmf.MAP_CELL_EVENT.getTexture(42); break; case 8: this._img.texture = _1jmf.MAP_CELL_EVENT.getTexture(43); break; case 9: this._img.texture = _1jmf.MAP_CELL_EVENT.getTexture(44); break; default: this._img.texture = PIXI.Texture.EMPTY; } }, _1jmj; }(PIXI.Container); _1jlv.NumericalDisplay = _1jmg; }, 50271: function(_1jmp, _1jmq, _1jmr) { 'use strict'; var _1jms = null; var _1jmt, _1jmu = this && this.__extends || (_1jmt = function(_1jmv, _1jmw) { var _1jmx = null; return _1jmt = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1jmy, _1jmz) { var _1jn0 = null; _1jmy.__proto__ = _1jmz; } || function(_1jn1, _1jn2) { var _1jn3 = null; for (var _1jn4 in _1jn2) Object.prototype.hasOwnProperty.call(_1jn2, _1jn4) && (_1jn1[_1jn4] = _1jn2[_1jn4]); }, _1jmt(_1jmv, _1jmw); }, function(_1jn5, _1jn6) { var _1jn7 = null; if ('function' != typeof _1jn6 && null !== _1jn6) throw new TypeError('Class extends value ' + String(_1jn6) + ' is not a constructor or null'); function _1jn8() { var _1jn9 = null; this.constructor = _1jn5; } _1jmt(_1jn5, _1jn6), _1jn5.prototype = null === _1jn6 ? Object.create(_1jn6) : (_1jn8.prototype = _1jn6.prototype, new _1jn8()); }); defineModule(_1jmq); Object.defineProperty(_1jmq, '__esModule', { 'value': !0 }), _1jmq.NumericalDisplaySet = void 0; var _1jna = _1jmr(16383), _1jnb = function(_1jnc) { var _1jnd = null; function _1jne() { var _1jnf = null, _1jng = _1jnc.call(this) || this; return _1jng._imgs = [], _1jng; } return _1jmu(_1jne, _1jnc), _1jne.prototype.update = function(_1jnh) { var _1jni = null; if (this._imgs = [], _1jnh <= 0) { var _1jnj = new _1jna.NumericalDisplay(0); this.addChild(_1jnj), this._imgs.push(_1jnj); } else for (; _1jnh > 0;) { var _1jnk = _1jnh % 10; _1jnj = new _1jna.NumericalDisplay(_1jnk), (this.addChild(_1jnj), this._imgs.push(_1jnj), _1jnh = Math.floor(_1jnh / 10)); } var _1jnl = new _1jna.NumericalDisplay(-1); this.addChild(_1jnl), this._imgs.push(_1jnl), this._imgs = this._imgs.reverse(); for (var _1jnm = 0, _1jnn = 0, _1jno = this._imgs; _1jnn < _1jno.length; _1jnn++) { var _1jnp = _1jno[_1jnn]; _1jnp.x = _1jnm, _1jnm += _1jnp.width; } }, _1jne; }(PIXI.Container); _1jmq.NumericalDisplaySet = _1jnb; }, 27691: function(_1jnq, _1jnr) { 'use strict'; var _1jns = null; var _1jnt, _1jnu = this && this.__extends || (_1jnt = function(_1jnv, _1jnw) { var _1jnx = null; return _1jnt = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1jny, _1jnz) { var _1jo0 = null; _1jny.__proto__ = _1jnz; } || function(_1jo1, _1jo2) { var _1jo3 = null; for (var _1jo4 in _1jo2) Object.prototype.hasOwnProperty.call(_1jo2, _1jo4) && (_1jo1[_1jo4] = _1jo2[_1jo4]); }, _1jnt(_1jnv, _1jnw); }, function(_1jo5, _1jo6) { var _1jo7 = null; if ('function' != typeof _1jo6 && null !== _1jo6) throw new TypeError('Class extends value ' + String(_1jo6) + ' is not a constructor or null'); function _1jo8() { var _1jo9 = null; this.constructor = _1jo5; } _1jnt(_1jo5, _1jo6), _1jo5.prototype = null === _1jo6 ? Object.create(_1jo6) : (_1jo8.prototype = _1jo6.prototype, new _1jo8()); }); defineModule(_1jnr); Object.defineProperty(_1jnr, '__esModule', { 'value': !0 }), _1jnr.SkipButton = void 0; var _1joa = function(_1job) { function _1joc(_1jod) { var _1joe = null; return _1job.call(this) || this; } return _1jnu(_1joc, _1job), _1joc; }(PIXI.Container); _1jnr.SkipButton = _1joa; }, 62833: function(_1jof, _1jog, _1joh) { 'use strict'; var _1joi = null; var _1joj, _1jok = this && this.__extends || (_1joj = function(_1jol, _1jom) { var _1jon = null; return _1joj = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1joo, _1jop) { var _1joq = null; _1joo.__proto__ = _1jop; } || function(_1jor, _1jos) { var _1jot = null; for (var _1jou in _1jos) Object.prototype.hasOwnProperty.call(_1jos, _1jou) && (_1jor[_1jou] = _1jos[_1jou]); }, _1joj(_1jol, _1jom); }, function(_1jov, _1jow) { var _1jox = null; if ('function' != typeof _1jow && null !== _1jow) throw new TypeError('Class extends value ' + String(_1jow) + ' is not a constructor or null'); function _1joy() { var _1joz = null; this.constructor = _1jov; } _1joj(_1jov, _1jow), _1jov.prototype = null === _1jow ? Object.create(_1jow) : (_1joy.prototype = _1jow.prototype, new _1joy()); }); defineModule(_1jog); Object.defineProperty(_1jog, '__esModule', { 'value': !0 }), _1jog.SmokeButton = void 0; var _1jp0 = _1joh(71633), _1jp1 = _1joh(35380), _1jp2 = _1joh(49749), _1jp3 = function(_1jp4) { var _1jp5 = null; function _1jp6(_1jp7) { var _1jp8 = null, _1jp9 = _1jp4.call(this) || this; return _1jp9._onClick = function() { var _1jpa = null; _1jp9._use_smoke = !_1jp9._use_smoke, _1jp9._img.texture = _1jp9._getTexture(!0); }, _1jp9._onMouseOver = function() { var _1jpb = null; _1jp9._img.texture = _1jp9._getTexture(!0); }, _1jp9._onMouseOut = function() { var _1jpc = null; _1jp9._img.texture = _1jp9._getTexture(!1); }, _1jp9._enabled = _1jp7, _1jp9._use_smoke = !1, _1jp9; } return _1jok(_1jp6, _1jp4), Object.defineProperty(_1jp6.prototype, 'use_smoke', { 'get': function() { var _1jpd = null; return this._enabled ? this._use_smoke ? 1 : 0 : -1; }, 'enumerable': !1, 'configurable': !0 }), _1jp6.prototype.initialize = function(_1jpe, _1jpf) { var _1jpg = null; this._enabled && (this._img = new PIXI.Sprite(this._getTexture(!1)), this._img.position = this._getPosition(_1jpe, _1jpf), this._img.on(_1jp1.EventType.CLICK, this._onClick), this._img.on(_1jp1.EventType.MOUSEOVER, this._onMouseOver), this._img.on(_1jp1.EventType.MOUSEOUT, this._onMouseOut), this.addChild(this._img)); }, _1jp6.prototype.activate = function() { var _1jph = null; this._enabled && (this._img.interactive = this._img.buttonMode = !0); }, _1jp6.prototype.deactivate = function() { var _1jpi = null; this._enabled && (this._img.interactive = this._img.buttonMode = !1); }, _1jp6.prototype.dispose = function() { var _1jpj = null; null == this || this._img.off(_1jp1.EventType.CLICK), null == this || this._img.off(_1jp1.EventType.MOUSEOVER), null == this || this._img.off(_1jp1.EventType.MOUSEOUT), this.removeChildren(); }, _1jp6.prototype._getPosition = function(_1jpk, _1jpl) { var _1jpm = null; return _1jpk ? 2 == _1jpl ? new PIXI.Point(565, 241) : 3 == _1jpl ? new PIXI.Point(813, 446) : new PIXI.Point(565, 446) : _1jp0.EventConst.KEIKAIJIN ? new PIXI.Point(522, 497) : new PIXI.Point(623, 497); }, _1jp6.prototype._getTexture = function(_1jpn) { var _1jpo = null; return this._use_smoke ? _1jp2.MAP_MAIN.getTexture(47) : _1jpn ? _1jp2.MAP_MAIN.getTexture(46) : _1jp2.MAP_MAIN.getTexture(45); }, _1jp6; }(PIXI.Container); _1jog.SmokeButton = _1jp3; }, 4279: function(_1jpp, _1jpq, _1jpr) { 'use strict'; var _1jps = null; var _1jpt, _1jpu = this && this.__extends || (_1jpt = function(_1jpv, _1jpw) { var _1jpx = null; return _1jpt = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1jpy, _1jpz) { var _1jq0 = null; _1jpy.__proto__ = _1jpz; } || function(_1jq1, _1jq2) { var _1jq3 = null; for (var _1jq4 in _1jq2) Object.prototype.hasOwnProperty.call(_1jq2, _1jq4) && (_1jq1[_1jq4] = _1jq2[_1jq4]); }, _1jpt(_1jpv, _1jpw); }, function(_1jq5, _1jq6) { var _1jq7 = null; if ('function' != typeof _1jq6 && null !== _1jq6) throw new TypeError('Class extends value ' + String(_1jq6) + ' is not a constructor or null'); function _1jq8() { var _1jq9 = null; this.constructor = _1jq5; } _1jpt(_1jq5, _1jq6), _1jq5.prototype = null === _1jq6 ? Object.create(_1jq6) : (_1jq8.prototype = _1jq6.prototype, new _1jq8()); }); defineModule(_1jpq); Object.defineProperty(_1jpq, '__esModule', { 'value': !0 }), _1jpq.SpotPointImage = void 0; var _1jqa = _1jpr(45054), _1jqb = _1jpr(49749), _1jqc = function(_1jqd) { var _1jqe = null; function _1jqf() { var _1jqg = null, _1jqh = _1jqd.call(this) || this; return _1jqh._light = new PIXI.Sprite(), _1jqh._light.anchor.set(0.5), _1jqh.addChild(_1jqh._light), _1jqh._cell = new PIXI.Sprite(), _1jqh._cell.anchor.set(0.5), _1jqh.addChild(_1jqh._cell), _1jqh._color = 0, _1jqh; } return _1jpu(_1jqf, _1jqd), Object.defineProperty(_1jqf.prototype, 'color', { 'get': function() { var _1jqi = null; return this._color; }, 'enumerable': !1, 'configurable': !0 }), _1jqf.prototype.initialize = function(_1jqj) { var _1jqk = null; this.update(_1jqj); }, _1jqf.prototype.update = function(_1jql) { var _1jqm = null; this._color = _1jql, 5 == _1jql ? (this._light.texture = _1jqb.MAP_MAIN.getTexture(58), this._startTween(), this._light.visible = !0, this._cell.x = 0, this._cell.y = -5) : (this._stopTween(), this._light.visible = !1, 13 == _1jql ? (this._cell.x = 10, this._cell.y = -12) : 15 == _1jql ? (this._cell.x = 10, this._cell.y = 0) : (this._cell.x = 0, this._cell.y = 0)), this._cell.texture = this._getTexture(_1jql); }, _1jqf.prototype.dispose = function() { var _1jqn = null; this._stopTween(); }, _1jqf.prototype._startTween = function() { var _1jqo = null; null == this._t && (this._t = createjs.Tween.get(this._light, { 'loop': !0 }).to({ 'alpha': 0 }, 300).to({ 'alpha': 1 }, 300)); }, _1jqf.prototype._stopTween = function() { var _1jqp = null; null != this._t && (this._t.setPaused(!0), this._t = null, this._light.alpha = 0); }, _1jqf.prototype._getTexture = function(_1jqq) { var _1jqr = null; switch (_1jqq) { case -1: return _1jqb.MAP_MAIN.getTexture(64); case 1: return _1jqb.MAP_MAIN.getTexture(57); case 2: case 6: return _1jqb.MAP_MAIN.getTexture(60); case 3: return _1jqb.MAP_MAIN.getTexture(62); case 4: return _1jqb.MAP_MAIN.getTexture(63); case 5: return _1jqb.MAP_MAIN.getTexture(51); case 7: return _1jqb.MAP_MAIN.getTexture(48); case 8: return _1jqb.MAP_MAIN.getTexture(50); case 9: return _1jqb.MAP_MAIN.getTexture(61); case 10: return _1jqb.MAP_MAIN.getTexture(44); case 11: return _1jqb.MAP_MAIN.getTexture(65); case 12: return _1jqb.MAP_MAIN.getTexture(66); case 13: return _1jqb.MAP_MAIN.getTexture(17); case -2: return _1jqb.MAP_MAIN.getTexture(59); case -3: return _1jqb.MAP_MAIN.getTexture(56); case 14: return _1jqb.MAP_MAIN.getTexture(57); case 15: return _1jqb.MAP_MAIN.getTexture(18); } return PIXI.Texture.EMPTY; }, _1jqf; }(_1jqa.Container); _1jpq.SpotPointImage = _1jqc; }, 31531: function(_1jqs, _1jqt, _1jqu) { 'use strict'; var _1jqv = null; var _1jqw, _1jqx = this && this.__extends || (_1jqw = function(_1jqy, _1jqz) { var _1jr0 = null; return _1jqw = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1jr1, _1jr2) { var _1jr3 = null; _1jr1.__proto__ = _1jr2; } || function(_1jr4, _1jr5) { var _1jr6 = null; for (var _1jr7 in _1jr5) Object.prototype.hasOwnProperty.call(_1jr5, _1jr7) && (_1jr4[_1jr7] = _1jr5[_1jr7]); }, _1jqw(_1jqy, _1jqz); }, function(_1jr8, _1jr9) { var _1jra = null; if ('function' != typeof _1jr9 && null !== _1jr9) throw new TypeError('Class extends value ' + String(_1jr9) + ' is not a constructor or null'); function _1jrb() { var _1jrc = null; this.constructor = _1jr8; } _1jqw(_1jr8, _1jr9), _1jr8.prototype = null === _1jr9 ? Object.create(_1jr9) : (_1jrb.prototype = _1jr9.prototype, new _1jrb()); }); defineModule(_1jqt); Object.defineProperty(_1jqt, '__esModule', { 'value': !0 }), _1jqt.WaveBtnBase = void 0; var _1jrd = _1jqu(54011), _1jre = _1jqu(55896), _1jrf = _1jqu(35380), _1jrg = function(_1jrh) { var _1jri = null; function _1jrj(_1jrk, _1jrl) { var _1jrm = null, _1jrn = _1jrh.call(this) || this; return _1jrn._onMouseOver = function() { var _1jro = null; _1jrn._setTexture(!0), _1jrn._wave.start(); }, _1jrn._onMouseOut = function() { var _1jrp = null; _1jrn._setTexture(!1), _1jrn._wave.stop(); }, _1jrn._onClick = function() { var _1jrq = null; 0 != _1jrn.buttonMode && null != _1jrn._cb_onClick && _1jrn._cb_onClick(_1jrn._value); }, _1jrn._value = _1jrk, _1jrn._cb_onClick = _1jrl, _1jrn._wave = new _1jrr(), _1jrn._btn = new PIXI.Sprite(), _1jrn.interactive = !0, _1jrn.addChild(_1jrn._wave), _1jrn.addChild(_1jrn._btn), _1jrn; } return _1jqx(_1jrj, _1jrh), _1jrj.prototype._initialize = function(_1jrs, _1jrt) { var _1jru = null; void 0 === _1jrt && (_1jrt = !1); for (var _1jrv = [new PIXI.Point(-17, -72), new PIXI.Point(83, -62), new PIXI.Point(101, 12), new PIXI.Point(21, 75), new PIXI.Point(-77, 63), new PIXI.Point(-95, -9)], _1jrw = 0, _1jrx = _1jrv; _1jrw < _1jrx.length; _1jrw++) { _1jrx[_1jrw].x += _1jrs; } 1 == _1jrt && this._drawHitArea(_1jrv), this.hitArea = new PIXI.Polygon(_1jrv), this._wave.initialize(), this._setTexture(!1); }, _1jrj.prototype._drawHitArea = function(_1jry) { var _1jrz = null; if (null != _1jry) { var _1js0 = new PIXI.Graphics(); _1js0.beginFill(65280, 0.3), _1js0.moveTo(_1jry[0].x, _1jry[0].y); for (var _1js1 = 1; _1js1 < _1jry.length; _1js1++) _1js0.lineTo(_1jry[_1js1].x, _1jry[_1js1].y); _1js0.endFill(), this.addChildAt(_1js0, 0); } }, _1jrj.prototype.activate = function() { var _1js2 = null; 1 != this.buttonMode && (this.buttonMode = !0, this.on(_1jrf.EventType.MOUSEOVER, this._onMouseOver), this.on(_1jrf.EventType.MOUSEOUT, this._onMouseOut), this.on(_1jrf.EventType.CLICK, this._onClick)); }, _1jrj.prototype.deactivate = function() { var _1js3 = null; this.off(_1jrf.EventType.MOUSEOVER, this._onMouseOver), this.off(_1jrf.EventType.MOUSEOUT, this._onMouseOut), this.off(_1jrf.EventType.CLICK, this._onClick), this.buttonMode = !1; }, _1jrj.prototype.dispose = function() { var _1js4 = null; this._wave.dispose(), this.deactivate(), this._cb_onClick = null; }, _1jrj; }(PIXI.Container); _1jqt.WaveBtnBase = _1jrg; var _1jrr = function(_1js5) { var _1js6 = null; function _1js7() { var _1js8 = null, _1js9 = _1js5.call(this) || this; return _1js9._wave1 = new _1jrd.Sprite(), _1js9._wave1.anchor.set(0.5), _1js9._initWave(_1js9._wave1), _1js9._wave2 = new _1jrd.Sprite(), _1js9._wave2.anchor.set(0.5), _1js9._initWave(_1js9._wave2), _1js9._wave_tweens = new Array(2), _1js9.addChild(_1js9._wave1), _1js9.addChild(_1js9._wave2), _1js9; } return _1jqx(_1js7, _1js5), _1js7.prototype.initialize = function() { var _1jsa = null; this._wave1.texture = _1jre.MAP_DECISION.getTexture(0), this._wave2.texture = _1jre.MAP_DECISION.getTexture(0); }, _1js7.prototype.dispose = function() { var _1jsb = null; this.stop(); }, _1js7.prototype._initWave = function(_1jsc) { var _1jsd = null; _1jsc.scale.set(0), _1jsc.alpha = 0; }, _1js7.prototype.start = function() { var _1jse = null; this.stop(), this._wave_tweens[0] = createjs.Tween.get(this._wave1, { 'loop': !0 }).to({ 'alpha': 1, 'scaleX': 0.4, 'scaleY': 0.4 }, 400).to({ 'alpha': 0, 'scaleX': 1, 'scaleY': 1 }, 400).to({ 'scaleX': 0, 'scaleY': 0 }, 0).wait(200), this._wave_tweens[1] = createjs.Tween.get(this._wave2, { 'loop': !0 }).wait(200).to({ 'alpha': 1, 'scaleX': 0.4, 'scaleY': 0.4 }, 400).to({ 'alpha': 0, 'scaleX': 1, 'scaleY': 1 }, 400).to({ 'scaleX': 0, 'scaleY': 0 }, 0); }, _1js7.prototype.stop = function() { var _1jsf = null; for (var _1jsg = 0; _1jsg < this._wave_tweens.length; _1jsg++) null != this._wave_tweens[_1jsg] && (this._wave_tweens[_1jsg].setPaused(!0), this._wave_tweens[_1jsg] = null); this._initWave(this._wave1), this._initWave(this._wave2); }, _1js7; }(PIXI.Container); }, 86059: function(_1jsh, _1jsi, _1jsj) { 'use strict'; var _1jsk = null; var _1jsl, _1jsm = this && this.__extends || (_1jsl = function(_1jsn, _1jso) { var _1jsp = null; return _1jsl = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1jsq, _1jsr) { var _1jss = null; _1jsq.__proto__ = _1jsr; } || function(_1jst, _1jsu) { var _1jsv = null; for (var _1jsw in _1jsu) Object.prototype.hasOwnProperty.call(_1jsu, _1jsw) && (_1jst[_1jsw] = _1jsu[_1jsw]); }, _1jsl(_1jsn, _1jso); }, function(_1jsx, _1jsy) { var _1jsz = null; if ('function' != typeof _1jsy && null !== _1jsy) throw new TypeError('Class extends value ' + String(_1jsy) + ' is not a constructor or null'); function _1jt0() { var _1jt1 = null; this.constructor = _1jsx; } _1jsl(_1jsx, _1jsy), _1jsx.prototype = null === _1jsy ? Object.create(_1jsy) : (_1jt0.prototype = _1jsy.prototype, new _1jt0()); }); defineModule(_1jsi); Object.defineProperty(_1jsi, '__esModule', { 'value': !0 }), _1jsi.AirBaseLayer = void 0; var _1jt2 = _1jsj(57257), _1jt3 = _1jsj(49749), _1jt4 = function(_1jt5) { var _1jt6 = null; function _1jt7() { var _1jt8 = null; return null !== _1jt5 && _1jt5.apply(this, arguments) || this; } return _1jsm(_1jt7, _1jt5), _1jt7.prototype.create = function(_1jt9) { var _1jta = null; null != this._airbase && null != this._airbase.parent && this._airbase.parent.removeChild(this._airbase), this._airbase = new _1jt2.Sprite(), this._airbase.texture = _1jt3.MAP_MAIN.getTexture(19), this._airbase.anchor.set(0.5), this._airbase.x = _1jt9.x, this._airbase.y = _1jt9.y, this.addChild(this._airbase); }, _1jt7.prototype.shake = function() { var _1jtb = null, _1jtc = this; if (null != this._airbase) { for (var _1jtd = this._airbase.x, _1jte = createjs.Tween.get(this._airbase), _1jtf = function(_1jtg) { var _1jth = null; _1jte.wait(50), _1jte.call(function() { var _1jti = null; Math.random(), _1jtc._airbase.x = _1jtg % 2 == 0 ? _1jtd + (Math.random() + 0.5) : _1jtd - (Math.random() + 0.5); }); }, _1jtj = 0; _1jtj < 60; _1jtj++) _1jtf(_1jtj); } }, _1jt7.prototype.move = function(_1jtk) { var _1jtl = null; null == this._airbase ? (this._airbase = new _1jt2.Sprite(), this._airbase.texture = _1jt3.MAP_MAIN.getTexture(19), this._airbase.anchor.set(0.5), this._airbase.x = _1jtk.x, this._airbase.y = _1jtk.y, this._airbase.scale.set(0), this.addChild(this._airbase), createjs.Tween.get(this._airbase).to({ 'scaleX': 1.5, 'scaleY': 1.5, 'alpha': 1 }, 600).to({ 'scaleX': 1, 'scaleY': 1 }, 500)) : createjs.Tween.get(this._airbase).to({ 'scaleX': 0, 'scaleY': 0, 'alpha': 0 }, 500).to({ 'x': _1jtk.x, 'y': _1jtk.y }, 0).wait(1000).to({ 'scaleX': 1.5, 'scaleY': 1.5, 'alpha': 1 }, 600).to({ 'scaleX': 1, 'scaleY': 1 }, 500); }, _1jt7; }(PIXI.Container); _1jsi.AirBaseLayer = _1jt4; }, 28493: function(_1jtm, _1jtn, _1jto) { 'use strict'; var _1jtp = null; var _1jtq, _1jtr = this && this.__extends || (_1jtq = function(_1jts, _1jtt) { var _1jtu = null; return _1jtq = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1jtv, _1jtw) { var _1jtx = null; _1jtv.__proto__ = _1jtw; } || function(_1jty, _1jtz) { var _1ju0 = null; for (var _1ju1 in _1jtz) Object.prototype.hasOwnProperty.call(_1jtz, _1ju1) && (_1jty[_1ju1] = _1jtz[_1ju1]); }, _1jtq(_1jts, _1jtt); }, function(_1ju2, _1ju3) { var _1ju4 = null; if ('function' != typeof _1ju3 && null !== _1ju3) throw new TypeError('Class extends value ' + String(_1ju3) + ' is not a constructor or null'); function _1ju5() { var _1ju6 = null; this.constructor = _1ju2; } _1jtq(_1ju2, _1ju3), _1ju2.prototype = null === _1ju3 ? Object.create(_1ju3) : (_1ju5.prototype = _1ju3.prototype, new _1ju5()); }); defineModule(_1jtn); Object.defineProperty(_1jtn, '__esModule', { 'value': !0 }), _1jtn.BattleScene = void 0; var _1ju7 = _1jto(96595), _1ju8 = _1jto(90485), _1ju9 = _1jto(95060), _1jua = _1jto(68490), _1jub = _1jto(12159), _1juc = _1jto(20137), _1jud = function(_1jue) { var _1juf = null; function _1jug() { var _1juh = null, _1jui = _1jue.call(this) || this; return _1jui._view = new _1jub.ViewMain(), _1jui._view.shutter.initializeLight(), _1jui._view.shutter.close(0), _1jui.content.addChild(_1jui._view), _1jui; } return _1jtr(_1jug, _1jue), Object.defineProperty(_1jug.prototype, 'data', { 'get': function() { var _1juj = null; return this._data; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1jug.prototype, 'view', { 'get': function() { var _1juk = null; return this._view; }, 'enumerable': !1, 'configurable': !0 }), _1jug.prototype.initialize = function(_1jul) { var _1jum = null; _1jue.prototype.initialize.call(this, _1jul), this._data = new _1jua.BattleData(_1jul), _1jul.isPractice(); }, _1jug.prototype.dispose = function() { var _1jun = null; this._view.dispose(), _1jue.prototype.dispose.call(this); }, _1jug.prototype.start = function() { var _1juo = null, _1jup = this; new _1ju8.TaskInit(this).start(function() { var _1juq = null; _1jup._main(); }); }, _1jug.prototype._main = function() { var _1jur = null, _1jus = this; new _1ju9.TaskMain(this).start(function() { var _1jut = null; _1jus._end(); }); }, _1jug.prototype._end = function() { var _1juu = null, _1juv = this.data.model.deck_f.ships, _1juw = this.data.model.deck_e.ships; this.data.model.ship_info.add(_1juv, _1juw); var _1jux = new Date().getTime(); this.data.model.actual_survey_time = _1jux - this.data.model.actual_survey_time, this.data.model.prediction_time = this.data.model.actual_survey_time, _1juc.ShipLoader.hasai = null, this.emit('complete'); }, _1jug; }(_1ju7.BattleSceneBase); _1jtn.BattleScene = _1jud; }, 42483: function(_1juy, _1juz, _1jv0) { 'use strict'; var _1jv1 = null; var _1jv2, _1jv3 = this && this.__extends || (_1jv2 = function(_1jv4, _1jv5) { var _1jv6 = null; return _1jv2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1jv7, _1jv8) { var _1jv9 = null; _1jv7.__proto__ = _1jv8; } || function(_1jva, _1jvb) { var _1jvc = null; for (var _1jvd in _1jvb) Object.prototype.hasOwnProperty.call(_1jvb, _1jvd) && (_1jva[_1jvd] = _1jvb[_1jvd]); }, _1jv2(_1jv4, _1jv5); }, function(_1jve, _1jvf) { var _1jvg = null; if ('function' != typeof _1jvf && null !== _1jvf) throw new TypeError('Class extends value ' + String(_1jvf) + ' is not a constructor or null'); function _1jvh() { var _1jvi = null; this.constructor = _1jve; } _1jv2(_1jve, _1jvf), _1jve.prototype = null === _1jvf ? Object.create(_1jvf) : (_1jvh.prototype = _1jvf.prototype, new _1jvh()); }); defineModule(_1juz); Object.defineProperty(_1juz, '__esModule', { 'value': !0 }), _1juz.APIBattleDayToNight = void 0; var _1jvj = function(_1jvk) { var _1jvl = null; function _1jvm(_1jvn) { var _1jvo = null, _1jvp = _1jvk.call(this) || this, _1jvq = _1jvn.model.deck_f, _1jvr = _1jvn.model.deck_e, _1jvs = _1jvq.isCombined(), _1jvt = !1; return _1jvt = null != _1jvr ? _1jvr.isCombined() : _1jvn.model.map_info.isVS12(), _1jvp._url = 1 == _1jvt ? 'api_req_combined_battle/ec_midnight_battle' : 0 == _1jvs ? 'api_req_battle_midnight/battle' : 'api_req_combined_battle/midnight_battle', _1jvp._data = _1jvn, _1jvp; } return _1jv3(_1jvm, _1jvk), _1jvm.prototype._completedEnd = function() { var _1jvu = null; this._data.addNightRecord(this._raw_data), this._data = null, _1jvk.prototype._completedEnd.call(this); }, _1jvm; }(_1jv0(58566).APIBase); _1juz.APIBattleDayToNight = _1jvj; }, 97244: function(_1jvv, _1jvw, _1jvx) { 'use strict'; var _1jvy = null; var _1jvz, _1jw0 = this && this.__extends || (_1jvz = function(_1jw1, _1jw2) { var _1jw3 = null; return _1jvz = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1jw4, _1jw5) { var _1jw6 = null; _1jw4.__proto__ = _1jw5; } || function(_1jw7, _1jw8) { var _1jw9 = null; for (var _1jwa in _1jw8) Object.prototype.hasOwnProperty.call(_1jw8, _1jwa) && (_1jw7[_1jwa] = _1jw8[_1jwa]); }, _1jvz(_1jw1, _1jw2); }, function(_1jwb, _1jwc) { var _1jwd = null; if ('function' != typeof _1jwc && null !== _1jwc) throw new TypeError('Class extends value ' + String(_1jwc) + ' is not a constructor or null'); function _1jwe() { var _1jwf = null; this.constructor = _1jwb; } _1jvz(_1jwb, _1jwc), _1jwb.prototype = null === _1jwc ? Object.create(_1jwc) : (_1jwe.prototype = _1jwc.prototype, new _1jwe()); }); defineModule(_1jvw); Object.defineProperty(_1jvw, '__esModule', { 'value': !0 }), _1jvw.APIBattleStart = void 0; var _1jwg = _1jvx(58566), _1jwh = _1jvx(82089), _1jwi = _1jvx(20137), _1jwj = function(_1jwk) { var _1jwl = null; function _1jwm(_1jwn) { var _1jwo = null, _1jwp = _1jwk.call(this) || this, _1jwq = _1jwn.model.deck_f, _1jwr = _1jwn.model.deck_e, _1jws = _1jwq.isCombined(), _1jwt = !1; if (_1jwt = null != _1jwr ? _1jwr.isCombined() : _1jwn.model.map_info.isVS12(), 0 == _1jws) _1jwp._url = 0 == _1jwt ? 'api_req_sortie/battle' : 'api_req_combined_battle/ec_battle'; else { var _1jwu = _1jwq.type; 1 == _1jwu || 3 == _1jwu ? _1jwp._url = 0 == _1jwt ? 'api_req_combined_battle/battle' : 'api_req_combined_battle/each_battle' : 2 == _1jwu && (_1jwp._url = 0 == _1jwt ? 'api_req_combined_battle/battle_water' : 'api_req_combined_battle/each_battle_water'); } return _1jwp._data = _1jwn, _1jwp; } return _1jw0(_1jwm, _1jwk), _1jwm.prototype._connect = function() { var _1jwv = null; this._post_data.api_formation = this._data.model.deck_f.formation, this._post_data.api_recovery_type = this._data.model.flag, 0 == this._data.model.supplied ? this._post_data.api_supply_flag = 0 : 1 == this._data.model.supplied && (this._post_data.api_supply_flag = 1), 0 == this._data.model.use_ration ? this._post_data.api_ration_flag = 0 : 1 == this._data.model.use_ration && (this._post_data.api_ration_flag = 1), 0 == this._data.model.use_smoke ? this._post_data.api_smoke_flag = 0 : 1 == this._data.model.use_smoke && (this._post_data.api_smoke_flag = 1), 1 == (0, _1jwh.isNeedKeyAtBattleStartAPI)() && (this._post_data.api_start = Math.floor(8999 * Math.random()) + 1001), _1jwk.prototype._connect.call(this); }, _1jwm.prototype._completedEnd = function() { var _1jww = null; this._data.addDayRecord(this._raw_data), this._data.isBossDamaged() ? _1jwi.ShipLoader.hasai = this._data.model.deck_e.ships_main[0].mst_id : _1jwi.ShipLoader.hasai = null, this._data = null, _1jwk.prototype._completedEnd.call(this); }, _1jwm; }(_1jwg.APIBase); _1jvw.APIBattleStart = _1jwj; }, 6284: function(_1jwx, _1jwy, _1jwz) { 'use strict'; var _1jx0 = null; var _1jx1, _1jx2 = this && this.__extends || (_1jx1 = function(_1jx3, _1jx4) { var _1jx5 = null; return _1jx1 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1jx6, _1jx7) { var _1jx8 = null; _1jx6.__proto__ = _1jx7; } || function(_1jx9, _1jxa) { var _1jxb = null; for (var _1jxc in _1jxa) Object.prototype.hasOwnProperty.call(_1jxa, _1jxc) && (_1jx9[_1jxc] = _1jxa[_1jxc]); }, _1jx1(_1jx3, _1jx4); }, function(_1jxd, _1jxe) { var _1jxf = null; if ('function' != typeof _1jxe && null !== _1jxe) throw new TypeError('Class extends value ' + String(_1jxe) + ' is not a constructor or null'); function _1jxg() { var _1jxh = null; this.constructor = _1jxd; } _1jx1(_1jxd, _1jxe), _1jxd.prototype = null === _1jxe ? Object.create(_1jxe) : (_1jxg.prototype = _1jxe.prototype, new _1jxg()); }); defineModule(_1jwy); Object.defineProperty(_1jwy, '__esModule', { 'value': !0 }), _1jwy.APIBattleStartAirBattle = void 0; var _1jxi = _1jwz(58566), _1jxj = _1jwz(82089), _1jxk = function(_1jxl) { var _1jxm = null; function _1jxn(_1jxo) { var _1jxp = null, _1jxq = _1jxl.call(this) || this, _1jxr = 0 != _1jxo.model.deck_f.type; return _1jxq._url = 0 == _1jxr ? 'api_req_sortie/airbattle' : 'api_req_combined_battle/airbattle', _1jxq._data = _1jxo, _1jxq; } return _1jx2(_1jxn, _1jxl), _1jxn.prototype._connect = function() { var _1jxs = null; this._post_data.api_formation = this._data.model.deck_f.formation, this._post_data.api_recovery_type = this._data.model.flag, 0 == this._data.model.supplied ? this._post_data.api_supply_flag = 0 : 1 == this._data.model.supplied && (this._post_data.api_supply_flag = 1), 0 == this._data.model.use_ration ? this._post_data.api_ration_flag = 0 : 1 == this._data.model.use_ration && (this._post_data.api_ration_flag = 1), 0 == this._data.model.use_smoke ? this._post_data.api_smoke_flag = 0 : 1 == this._data.model.use_smoke && (this._post_data.api_smoke_flag = 1), 1 == (0, _1jxj.isNeedKeyAtBattleStartAPI)() && (this._post_data.api_start = Math.floor(8999 * Math.random()) + 1001), _1jxl.prototype._connect.call(this); }, _1jxn.prototype._completedEnd = function() { var _1jxt = null; this._data.addDayRecord(this._raw_data), this._data = null, _1jxl.prototype._completedEnd.call(this); }, _1jxn; }(_1jxi.APIBase); _1jwy.APIBattleStartAirBattle = _1jxk; }, 63847: function(_1jxu, _1jxv, _1jxw) { 'use strict'; var _1jxx = null; var _1jxy, _1jxz = this && this.__extends || (_1jxy = function(_1jy0, _1jy1) { var _1jy2 = null; return _1jxy = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1jy3, _1jy4) { var _1jy5 = null; _1jy3.__proto__ = _1jy4; } || function(_1jy6, _1jy7) { var _1jy8 = null; for (var _1jy9 in _1jy7) Object.prototype.hasOwnProperty.call(_1jy7, _1jy9) && (_1jy6[_1jy9] = _1jy7[_1jy9]); }, _1jxy(_1jy0, _1jy1); }, function(_1jya, _1jyb) { var _1jyc = null; if ('function' != typeof _1jyb && null !== _1jyb) throw new TypeError('Class extends value ' + String(_1jyb) + ' is not a constructor or null'); function _1jyd() { var _1jye = null; this.constructor = _1jya; } _1jxy(_1jya, _1jyb), _1jya.prototype = null === _1jyb ? Object.create(_1jyb) : (_1jyd.prototype = _1jyb.prototype, new _1jyd()); }); defineModule(_1jxv); Object.defineProperty(_1jxv, '__esModule', { 'value': !0 }), _1jxv.APIBattleStartAirRaid = void 0; var _1jyf = _1jxw(58566), _1jyg = _1jxw(82089), _1jyh = function(_1jyi) { var _1jyj = null; function _1jyk(_1jyl) { var _1jym = null, _1jyn = _1jyi.call(this) || this, _1jyo = 0 != _1jyl.model.deck_f.type; return _1jyn._url = 0 == _1jyo ? 'api_req_sortie/ld_airbattle' : 'api_req_combined_battle/ld_airbattle', _1jyn._data = _1jyl, _1jyn; } return _1jxz(_1jyk, _1jyi), _1jyk.prototype._connect = function() { var _1jyp = null; this._post_data.api_formation = this._data.model.deck_f.formation, this._post_data.api_recovery_type = this._data.model.flag, 0 == this._data.model.supplied ? this._post_data.api_supply_flag = 0 : 1 == this._data.model.supplied && (this._post_data.api_supply_flag = 1), 0 == this._data.model.use_ration ? this._post_data.api_ration_flag = 0 : 1 == this._data.model.use_ration && (this._post_data.api_ration_flag = 1), 0 == this._data.model.use_smoke ? this._post_data.api_smoke_flag = 0 : 1 == this._data.model.use_smoke && (this._post_data.api_smoke_flag = 1), 1 == (0, _1jyg.isNeedKeyAtBattleStartAPI)() && (this._post_data.api_start = Math.floor(8999 * Math.random()) + 1001), _1jyi.prototype._connect.call(this); }, _1jyk.prototype._completedEnd = function() { var _1jyq = null; this._data.addDayRecord(this._raw_data), this._data = null, _1jyi.prototype._completedEnd.call(this); }, _1jyk; }(_1jyf.APIBase); _1jxv.APIBattleStartAirRaid = _1jyh; }, 4070: function(_1jyr, _1jys, _1jyt) { 'use strict'; var _1jyu = null; var _1jyv, _1jyw = this && this.__extends || (_1jyv = function(_1jyx, _1jyy) { var _1jyz = null; return _1jyv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1jz0, _1jz1) { var _1jz2 = null; _1jz0.__proto__ = _1jz1; } || function(_1jz3, _1jz4) { var _1jz5 = null; for (var _1jz6 in _1jz4) Object.prototype.hasOwnProperty.call(_1jz4, _1jz6) && (_1jz3[_1jz6] = _1jz4[_1jz6]); }, _1jyv(_1jyx, _1jyy); }, function(_1jz7, _1jz8) { var _1jz9 = null; if ('function' != typeof _1jz8 && null !== _1jz8) throw new TypeError('Class extends value ' + String(_1jz8) + ' is not a constructor or null'); function _1jza() { var _1jzb = null; this.constructor = _1jz7; } _1jyv(_1jz7, _1jz8), _1jz7.prototype = null === _1jz8 ? Object.create(_1jz8) : (_1jza.prototype = _1jz8.prototype, new _1jza()); }); defineModule(_1jys); Object.defineProperty(_1jys, '__esModule', { 'value': !0 }), _1jys.APIBattleStartLongRangeFires = void 0; var _1jzc = _1jyt(58566), _1jzd = _1jyt(82089), _1jze = function(_1jzf) { var _1jzg = null; function _1jzh(_1jzi) { var _1jzj = null, _1jzk = _1jzf.call(this) || this, _1jzl = 0 != _1jzi.model.deck_f.type; return _1jzk._url = 0 == _1jzl ? 'api_req_sortie/ld_shooting' : 'api_req_combined_battle/ld_shooting', _1jzk._data = _1jzi, _1jzk; } return _1jyw(_1jzh, _1jzf), _1jzh.prototype._connect = function() { var _1jzm = null; this._post_data.api_formation = this._data.model.deck_f.formation, this._post_data.api_recovery_type = this._data.model.flag, 0 == this._data.model.supplied ? this._post_data.api_supply_flag = 0 : 1 == this._data.model.supplied && (this._post_data.api_supply_flag = 1), 0 == this._data.model.use_ration ? this._post_data.api_ration_flag = 0 : 1 == this._data.model.use_ration && (this._post_data.api_ration_flag = 1), 0 == this._data.model.use_smoke ? this._post_data.api_smoke_flag = 0 : 1 == this._data.model.use_smoke && (this._post_data.api_smoke_flag = 1), 1 == (0, _1jzd.isNeedKeyAtBattleStartAPI)() && (this._post_data.api_start = Math.floor(8999 * Math.random()) + 1001), _1jzf.prototype._connect.call(this); }, _1jzh.prototype._completedEnd = function() { var _1jzn = null; this._data.addDayRecord(this._raw_data), this._data = null, _1jzf.prototype._completedEnd.call(this); }, _1jzh; }(_1jzc.APIBase); _1jys.APIBattleStartLongRangeFires = _1jze; }, 18795: function(_1jzo, _1jzp, _1jzq) { 'use strict'; var _1jzr = null; var _1jzs, _1jzt = this && this.__extends || (_1jzs = function(_1jzu, _1jzv) { var _1jzw = null; return _1jzs = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1jzx, _1jzy) { var _1jzz = null; _1jzx.__proto__ = _1jzy; } || function(_1k00, _1k01) { var _1k02 = null; for (var _1k03 in _1k01) Object.prototype.hasOwnProperty.call(_1k01, _1k03) && (_1k00[_1k03] = _1k01[_1k03]); }, _1jzs(_1jzu, _1jzv); }, function(_1k04, _1k05) { var _1k06 = null; if ('function' != typeof _1k05 && null !== _1k05) throw new TypeError('Class extends value ' + String(_1k05) + ' is not a constructor or null'); function _1k07() { var _1k08 = null; this.constructor = _1k04; } _1jzs(_1k04, _1k05), _1k04.prototype = null === _1k05 ? Object.create(_1k05) : (_1k07.prototype = _1k05.prototype, new _1k07()); }); defineModule(_1jzp); Object.defineProperty(_1jzp, '__esModule', { 'value': !0 }), _1jzp.APIBattleStartNight = void 0; var _1k09 = function(_1k0a) { var _1k0b = null; function _1k0c(_1k0d) { var _1k0e = null, _1k0f = _1k0a.call(this) || this, _1k0g = 0 != _1k0d.model.deck_f.type, _1k0h = _1k0d.model.map_info.isVS12(); return 1 == _1k0d.model.map_info.isNightToDayStart() ? _1k0f._url = 1 == _1k0h ? 'api_req_combined_battle/ec_night_to_day' : 'api_req_sortie/night_to_day' : _1k0f._url = 1 == _1k0g ? 'api_req_combined_battle/sp_midnight' : 'api_req_battle_midnight/sp_midnight', _1k0f._data = _1k0d, _1k0f; } return _1jzt(_1k0c, _1k0a), _1k0c.prototype._connect = function() { var _1k0i = null; this._post_data.api_formation = this._data.model.deck_f.formation, this._post_data.api_recovery_type = this._data.model.flag, 0 == this._data.model.supplied ? this._post_data.api_supply_flag = 0 : 1 == this._data.model.supplied && (this._post_data.api_supply_flag = 1), 0 == this._data.model.use_ration ? this._post_data.api_ration_flag = 0 : 1 == this._data.model.use_ration && (this._post_data.api_ration_flag = 1), 0 == this._data.model.use_smoke ? this._post_data.api_smoke_flag = 0 : 1 == this._data.model.use_smoke && (this._post_data.api_smoke_flag = 1), _1k0a.prototype._connect.call(this); }, _1k0c.prototype._completedEnd = function() { var _1k0j = null; this._data.addNightRecord(this._raw_data), this._data = null, _1k0a.prototype._completedEnd.call(this); }, _1k0c; }(_1jzq(58566).APIBase); _1jzp.APIBattleStartNight = _1k09; }, 14369: function(_1k0k, _1k0l, _1k0m) { 'use strict'; var _1k0n = null; var _1k0o, _1k0p = this && this.__extends || (_1k0o = function(_1k0q, _1k0r) { var _1k0s = null; return _1k0o = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1k0t, _1k0u) { var _1k0v = null; _1k0t.__proto__ = _1k0u; } || function(_1k0w, _1k0x) { var _1k0y = null; for (var _1k0z in _1k0x) Object.prototype.hasOwnProperty.call(_1k0x, _1k0z) && (_1k0w[_1k0z] = _1k0x[_1k0z]); }, _1k0o(_1k0q, _1k0r); }, function(_1k10, _1k11) { var _1k12 = null; if ('function' != typeof _1k11 && null !== _1k11) throw new TypeError('Class extends value ' + String(_1k11) + ' is not a constructor or null'); function _1k13() { var _1k14 = null; this.constructor = _1k10; } _1k0o(_1k10, _1k11), _1k10.prototype = null === _1k11 ? Object.create(_1k11) : (_1k13.prototype = _1k11.prototype, new _1k13()); }); defineModule(_1k0l); Object.defineProperty(_1k0l, '__esModule', { 'value': !0 }), _1k0l.APIPracticeDayToNight = void 0; var _1k15 = function(_1k16) { var _1k17 = null; function _1k18(_1k19, _1k1a) { var _1k1b = null; void 0 === _1k1a && (_1k1a = !1); var _1k1c = _1k16.call(this) || this; return _1k1c._url = 'api_req_practice/midnight_battle', _1k1c._data = _1k19, _1k1c._debug = _1k1a, _1k1c; } return _1k0p(_1k18, _1k16), _1k18.prototype._completedEnd = function() { var _1k1d = null; this._data.addNightRecord(this._raw_data), this._data = null, _1k16.prototype._completedEnd.call(this); }, _1k18; }(_1k0m(58566).APIBase); _1k0l.APIPracticeDayToNight = _1k15; }, 23703: function(_1k1e, _1k1f, _1k1g) { 'use strict'; var _1k1h = null; var _1k1i, _1k1j = this && this.__extends || (_1k1i = function(_1k1k, _1k1l) { var _1k1m = null; return _1k1i = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1k1n, _1k1o) { var _1k1p = null; _1k1n.__proto__ = _1k1o; } || function(_1k1q, _1k1r) { var _1k1s = null; for (var _1k1t in _1k1r) Object.prototype.hasOwnProperty.call(_1k1r, _1k1t) && (_1k1q[_1k1t] = _1k1r[_1k1t]); }, _1k1i(_1k1k, _1k1l); }, function(_1k1u, _1k1v) { var _1k1w = null; if ('function' != typeof _1k1v && null !== _1k1v) throw new TypeError('Class extends value ' + String(_1k1v) + ' is not a constructor or null'); function _1k1x() { var _1k1y = null; this.constructor = _1k1u; } _1k1i(_1k1u, _1k1v), _1k1u.prototype = null === _1k1v ? Object.create(_1k1v) : (_1k1x.prototype = _1k1v.prototype, new _1k1x()); }); defineModule(_1k1f); Object.defineProperty(_1k1f, '__esModule', { 'value': !0 }), _1k1f.APIPracticeStart = void 0; var _1k1z = _1k1g(58566), _1k20 = _1k1g(82089), _1k21 = function(_1k22) { var _1k23 = null; function _1k24(_1k25, _1k26) { var _1k27 = null; void 0 === _1k26 && (_1k26 = !1); var _1k28 = _1k22.call(this) || this; return _1k28._url = 'api_req_practice/battle', _1k28._data = _1k25, _1k28._debug = _1k26, _1k28; } return _1k1j(_1k24, _1k22), _1k24.prototype._connect = function() { var _1k29 = null, _1k2a = this._data.model.deck_f, _1k2b = this._data.model.deck_e; this._post_data.api_deck_id = _1k2a.id, this._post_data.api_formation_id = _1k2a.formation, this._post_data.api_enemy_id = _1k2b.id, 1 == (0, _1k20.isNeedKeyAtBattleStartAPI)() && (this._post_data.api_start = Math.floor(8999 * Math.random()) + 1001), _1k22.prototype._connect.call(this); }, _1k24.prototype._completedEnd = function() { var _1k2c = null; this._data.addDayRecord(this._raw_data), this._data = null, _1k22.prototype._completedEnd.call(this); }, _1k24; }(_1k1z.APIBase); _1k1f.APIPracticeStart = _1k21; }, 73418: (_1k2d, _1k2e, _1k2f) => { 'use strict'; var _1k2g = null; defineModule(_1k2e); Object.defineProperty(_1k2e, '__esModule', { 'value': !0 }), _1k2e.EnemyVoiceConst = void 0; var _1k2h = _1k2f(71633), _1k2i = (function() { var _1k2j = null; function _1k2k() {} return _1k2k.getAttackVoiceIDs = function(_1k2l, _1k2m) { var _1k2n = null, _1k2o, _1k2p = _1k2l.data.model.map_info.area_id; return null != (_1k2o = _1k2p == _1k2h.EventConst.AREA_ID ? this._getVoiceIDsAtEvent(_1k2p, _1k2l, _1k2m) : this._getVoiceIDs(_1k2p, _1k2l, _1k2m)) ? _1k2o.a : null; }, _1k2k.getDamagedVoiceIDs = function(_1k2q, _1k2r) { var _1k2s = null, _1k2t, _1k2u = _1k2q.data.model.map_info.area_id; return null != (_1k2t = _1k2u == _1k2h.EventConst.AREA_ID ? this._getVoiceIDsAtEvent(_1k2u, _1k2q, _1k2r) : this._getVoiceIDs(_1k2u, _1k2q, _1k2r)) ? _1k2t.d : null; }, _1k2k.getSourGrapesVoiceID = function(_1k2v, _1k2w) { var _1k2x = null, _1k2y = _1k2v.data.model.map_info.area_id; return 0 == _1k2v.data.model.map_info.isBoss() ? -1 : _1k2y != _1k2h.EventConst.AREA_ID ? this._getSourGrapesVoiceIDAtNormal(_1k2v, _1k2w) : this._getSourGrapesVoiceIDAtEvent(_1k2v, _1k2w); }, _1k2k.getLastGaspVoiceID = function(_1k2z, _1k30) { var _1k31 = null, _1k32 = _1k2z.data.model.map_info.area_id; return 0 == _1k2z.data.model.map_info.isBoss() ? -1 : _1k32 != _1k2h.EventConst.AREA_ID ? this._getLastGaspVoiceIDAtNormal(_1k2z, _1k30) : this._getLastGaspVoiceIDAtEvent(_1k2z, _1k30); }, _1k2k._getVoiceIDs = function(_1k33, _1k34, _1k35) { var _1k36 = null, _1k37 = _1k34.data.model.map_info.map_no, _1k38 = _1k35.mst_id, _1k39 = _1k35.name; if (3 == _1k33 && 5 == _1k37) { if (1587 == _1k38 || 1589 == _1k38) return { 'a': [3505871, 3505872], 'd': [3505873] }; if (1588 == _1k38 || 1590 == _1k38) return { 'a': [3505881, 3505882], 'd': [3505883] }; } else { if (4 == _1k33 && 5 == _1k37) { if (1573 == _1k38) return { 'a': [4505731], 'd': [4505732] }; if (1613 == _1k38) return { 'a': [4506131], 'd': [4505732] }; } else { if (6 == _1k33 && 1 == _1k37) { if ('空母棲鬼' == _1k39) return { 'a': [6105851, 6105852], 'd': [6105853] }; } else { if (6 == _1k33 && 4 == _1k37) { if ('砲台小鬼' == _1k39) return { 'a': [6466520], 'd': [6466530] }; if ('離島棲姫' == _1k39) return { 'a': [6466820], 'd': [6466830] }; } else { if (7 == _1k33 && 3 == _1k37) { if ('PT小鬼群' == _1k39) return { 'a': [32263720], 'd': [32263730] }; } else { if (7 == _1k33 && 4 == _1k37) { if ('ヒ船団棲姫' == _1k39 || 'ヒ船団棲姫-壊' == _1k39) return { 'a': [74205920], 'd': [74205930] }; if ('潜水新棲姫' == _1k39) return { 'a': [391173621], 'd': [391173630] }; } else { if (7 == _1k33 && 5 == _1k37) { if ('砲台小鬼' == _1k39) return { 'a': [6466520], 'd': [6466530] }; if ('PT小鬼群' == _1k39) return { 'a': [32263720], 'd': [32263730] }; if ('集積地棲姫II' == _1k39) return { 'a': [33265320], 'd': [33265330] }; if ('集積地棲姫II-壊' == _1k39) return { 'a': [33265620], 'd': [33265630] }; if ('バタビア沖棲姫' == _1k39) return { 'a': [464189820], 'd': [464189830] }; if ('バタビア沖棲姫-壊' == _1k39) return { 'a': [464190120], 'd': [464190130] }; } } } } } } } }, _1k2k._getVoiceIDsAtEvent = function(_1k3a, _1k3b, _1k3c) { var _1k3d = null; _1k3b.data.model.map_info.map_no; var _1k3e = _1k3c.mst_id, _1k3f = _1k3c.name, _1k3g = (0 == _1k3c.index && _1k3b.data.model.map_info.isBoss(), _1k3b.data.isBossDamaged()); if ('PT小鬼群' == _1k3f) return { 'a': [32263720], 'd': [32263730] }; if ('砲台小鬼' == _1k3f) return { 'a': [6466520], 'd': [6466530] }; if ('駆逐古姫' == _1k3f) return { 'a': [34769020], 'd': [34769030] }; if ('駆逐棲姫' == _1k3f) return { 'a': [30505972], 'd': [30505973] }; if ('駆逐水鬼' == _1k3f) return { 'a': [32564720], 'd': [32564730] }; if ('重巡棲姫' == _1k3f) { if (1659 == _1k3e || 1660 == _1k3e || 1661 == _1k3e || 1863 == _1k3e) return { 'a': [33365920], 'd': [33365930] }; if (1662 == _1k3e || 1663 == _1k3e || 1664 == _1k3e || 1864 == _1k3e) return { 'a': [33366220], 'd': [33366230] }; } return '重巡夏姫' == _1k3f ? { 'a': [35470520], 'd': [35470530] } : '空母棲鬼' == _1k3f || '空母夏鬼' == _1k3f ? { 'a': [6105852], 'd': [6105853] } : '空母棲姫' == _1k3f || '空母夏姫' == _1k3f || '空母棲姫改' == _1k3f || '空母夏姫II' == _1k3f ? { 'a': [29405862], 'd': [29405863] } : '潜水夏姫' == _1k3f || '潜水夏姫II' == _1k3f ? { 'a': [35169320], 'd': [35169330] } : '潜水新棲姫' == _1k3f || '潜水新棲姫 バカンスmode' == _1k3f ? { 'a': [391173621], 'd': [391173630] } : '戦艦仏棲姫' == _1k3f || '戦艦仏棲姫 バカンスmode' == _1k3f ? { 'a': [394174520], 'd': [394174530] } : '戦艦仏棲姫-壊' == _1k3f || '戦艦仏棲姫-壊 バカンスmode' == _1k3f ? { 'a': [394174820], 'd': [394174830] } : '戦艦棲姫' == _1k3f || '戦艦棲姫改' == _1k3f || '戦艦夏姫' == _1k3f ? { 'a': [27605572], 'd': [27605573] } : '飛行場姫' == _1k3f ? { 'a': [31406312], 'd': [31406313] } : '泊地水鬼' == _1k3f || '泊地水鬼 バカンスmode' == _1k3f ? { 'a': [30506092], 'd': [30506093] } : '護衛独還姫' == _1k3f ? { 'a': [423182120], 'd': [423182130] } : '護衛独還姫-壊' == _1k3f ? { 'a': [423182420], 'd': [423182430] } : '港湾夏姫' == _1k3f || '港湾夏姫-壊' == _1k3f || '港湾夏姫II' == _1k3f || '港湾夏姫II-壊' == _1k3f ? { 'a': [35369920], 'd': [35369930] } : '集積地棲姫' == _1k3f || '集積地夏姫' == _1k3f || '集積地棲姫 バカンスmode' == _1k3f || '集積地棲姫II' == _1k3f || '集積地棲姫II 夏季上陸mode' == _1k3f || '集積地棲姫II バカンスmode' == _1k3f || '集積地棲姫III' == _1k3f || '集積地棲姫III バカンスmode' == _1k3f || '集積地棲姫IV' == _1k3f ? { 'a': [33265320], 'd': [33265330] } : '集積地棲姫-壊' == _1k3f || '集積地棲姫 バカンスmode-壊' == _1k3f || '集積地棲姫II-壊' == _1k3f || '集積地棲姫II 夏季上陸mode-壊' == _1k3f || '集積地棲姫II バカンスmode-壊' == _1k3f || '集積地棲姫III-壊' == _1k3f || '集積地棲姫III バカンスmode-壊' == _1k3f || '集積地棲姫IV-壊' == _1k3f ? { 'a': [33265620], 'd': [33265630] } : '船渠棲姫' == _1k3f ? { 'a': [424182720], 'd': [424182730] } : '船渠棲姫-壊' == _1k3f ? { 'a': [424183020], 'd': [424183030] } : '欧州棲姫' == _1k3f ? { 'a': [397175520], 'd': [397175530] } : '欧州棲姫-壊' == _1k3f ? { 'a': [397175820], 'd': [397175830] } : '欧州水姫' == _1k3f ? { 'a': [425184020], 'd': [425184030] } : '欧州水姫-壊' == _1k3f ? _1k3g ? { 'a': [425184320], 'd': [425184331] } : { 'a': [425184320], 'd': [425184330] } : '深海雨雲姫' == _1k3f ? { 'a': [431184620], 'd': [431184630] } : '深海雨雲姫-壊' == _1k3f ? { 'a': [431184920], 'd': [431184930] } : 'リコリス棲姫' == _1k3f ? { 'a': [34567920], 'd': [34567930] } : '南方棲鬼' == _1k3f ? { 'a': [432154620], 'd': [432154630] } : '南方棲戦姫' == _1k3f ? { 'a': [433154720], 'd': [433154730] } : '深海日棲姫' == _1k3f ? { 'a': [433185220], 'd': [433185230] } : '深海日棲姫-壊' == _1k3f ? { 'a': [433185520], 'd': [433185530] } : '北方棲妹' == _1k3f ? { 'a': [443186520], 'd': [443186530] } : '北方棲妹-壊' == _1k3f ? { 'a': [443186820], 'd': [443186830] } : '中枢棲姫' == _1k3f ? { 'a': [34668420], 'd': [34668430] } : '中枢棲姫-壊' == _1k3f ? { 'a': [34768720], 'd': [34768730] } : '深海海月姫' == _1k3f ? { 'a': [445171120], 'd': [445171130] } : '太平洋深海棲姫' == _1k3f ? { 'a': [445187120], 'd': [445187130] } : '太平洋深海棲姫-壊' == _1k3f ? { 'a': [445187420], 'd': [445187430] } : '深海地中海棲姫' == _1k3f || '深海地中海棲姫 バカンスmode' == _1k3f ? { 'a': [452187720], 'd': [452187730] } : '深海地中海棲姫-壊' == _1k3f || '深海地中海棲姫 バカンスmode-壊' == _1k3f ? { 'a': [452188020], 'd': [452188030] } : 'アンツィオ沖棲姫' == _1k3f ? _1k3g ? { 'a': [453188620], 'd': [453188631] } : { 'a': [453188320], 'd': [453188330] } : 'アンツィオ沖棲姫-壊' == _1k3f ? _1k3g ? { 'a': [453188620], 'd': [453188631] } : { 'a': [453188620], 'd': [453188630] } : '戦艦水鬼' == _1k3f || '戦艦水鬼改' == _1k3f || '戦艦水鬼改-壊' == _1k3f ? { 'a': [30606032], 'd': [30606033] } : 'バタビア沖棲姫' == _1k3f ? { 'a': [464189820], 'd': [464189830] } : 'バタビア沖棲姫-壊' == _1k3f ? { 'a': [464190120], 'd': [464190130] } : '潜水棲姫' == _1k3f ? { 'a': [35169320], 'd': [35169330] } : '潜水棲姫改' == _1k3f || '潜水棲姫改II' == _1k3f ? { 'a': [465191520], 'd': [465191530] } : '潜水棲姫改-壊' == _1k3f ? { 'a': [465191820], 'd': [465191830] } : '防空巡棲姫' == _1k3f ? { 'a': [466190920], 'd': [466190930] } : '防空巡棲姫-壊' == _1k3f ? _1k3g ? { 'a': [466191220], 'd': [466191231] } : { 'a': [466191220], 'd': [466191230] } : '深海千島棲姫' == _1k3f ? { 'a': [481192720], 'd': [481192730] } : '深海千島棲姫-壊' == _1k3f ? { 'a': [481193020], 'd': [481193030] } : '五島沖海底姫' == _1k3f ? { 'a': [483193920], 'd': [483193930] } : '五島沖海底姫-壊' == _1k3f ? _1k3g ? { 'a': [483194221], 'd': [483194231] } : { 'a': [483194220], 'd': [483194230] } : '駆逐林棲姫' == _1k3f ? { 'a': [484194520], 'd': [484194530] } : '駆逐林棲姫-壊' == _1k3f ? _1k3g ? { 'a': [484194821], 'd': [484194831] } : { 'a': [484194820], 'd': [484194830] } : '軽巡棲姫II' == _1k3f ? { 'a': [32264120], 'd': [32264130] } : '南方戦艦新棲姫' == _1k3f ? { 'a': [486196520], 'd': [486196530] } : '南方戦艦新棲姫-壊' == _1k3f ? _1k3g ? { 'a': [486196821], 'd': [486196831] } : { 'a': [486196820], 'd': [486196830] } : '南太平洋空母棲姫' == _1k3f ? { 'a': [487197120], 'd': [487197130] } : '南太平洋空母棲姫-壊' == _1k3f ? _1k3g ? { 'a': [487197421], 'd': [487197431] } : { 'a': [487197420], 'd': [487197430] } : '戦艦新棲姫' == _1k3f ? { 'a': [493197920], 'd': [493197930] } : '戦艦新棲姫-壊' == _1k3f ? { 'a': [493198220], 'd': [493198230] } : '深海竹棲姫' == _1k3f ? { 'a': [494198820], 'd': [494198830] } : '深海竹棲姫-壊' == _1k3f ? { 'a': [494199120], 'd': [494199130] } : 'ルンガ沖重巡棲姫' == _1k3f ? { 'a': [503200020], 'd': [503200030] } : 'ルンガ沖重巡棲姫-壊' == _1k3f ? _1k3g ? { 'a': [503200321], 'd': [503200331] } : { 'a': [503200320], 'd': [503200330] } : '軽巡新棲姫' == _1k3f ? { 'a': [505200620], 'd': [505200630] } : '軽巡新棲姫-壊' == _1k3f ? _1k3g ? { 'a': [505200921], 'd': [505200931] } : { 'a': [505200920], 'd': [505200930] } : '地中海弩級水姫' == _1k3f ? { 'a': [512202920], 'd': [512202930] } : '地中海弩級水姫-壊' == _1k3f ? _1k3g ? { 'a': [512203221], 'd': [512203231] } : { 'a': [512203220], 'd': [512203230] } : '欧州装甲空母棲姫' == _1k3f ? { 'a': [513204120], 'd': [513204130] } : '欧州装甲空母棲姫-壊' == _1k3f ? _1k3g ? { 'a': [513204421], 'd': [513204431] } : { 'a': [513204420], 'd': [513204430] } : '水母棲姫' == _1k3f ? { 'a': [31306252], 'd': [31306253] } : '空母水鬼' == _1k3f ? { 'a': [28405992], 'd': [28405993] } : '潜水鮫水鬼' == _1k3f ? { 'a': [523205320], 'd': [523205330] } : '潜水鮫水鬼-壊' == _1k3f ? _1k3g ? { 'a': [523205621], 'd': [523205631] } : { 'a': [523205620], 'd': [523205630] } : '深海梅棲姫' == _1k3f ? { 'a': [532206320], 'd': [532206330] } : '深海梅棲姫-壊' == _1k3f ? _1k3g ? { 'a': [532206621], 'd': [532206631] } : { 'a': [532206620], 'd': [532206630] } : '横浜岸壁棲姫' == _1k3f ? { 'a': [533206920], 'd': [533206930] } : '横浜岸壁棲姫-壊' == _1k3f ? _1k3g ? { 'a': [533207121], 'd': [533207131] } : { 'a': [533207120], 'd': [533207130] } : '超重爆飛行場姫' == _1k3f ? { 'a': [535207720], 'd': [535207730] } : '深海玉棲姫' == _1k3f ? { 'a': [534207320], 'd': [534207330] } : '深海玉棲姫-壊' == _1k3f ? _1k3g ? { 'a': [534207521], 'd': [534207531] } : { 'a': [534207520], 'd': [534207530] } : '防空埋護冬姫' == _1k3f ? { 'a': [535208020], 'd': [535208030] } : '防空埋護冬姫-壊' == _1k3f ? _1k3g ? { 'a': [535208221], 'd': [535208231] } : { 'a': [535208220], 'd': [535208230] } : '防空埋護姫' == _1k3f ? { 'a': [404177320], 'd': [404177330] } : '外南洋駆逐棲姫' == _1k3f ? { 'a': [543209720], 'd': [543209730] } : '外南洋駆逐棲姫-壊' == _1k3f ? _1k3g ? { 'a': [543209921], 'd': [543209931] } : { 'a': [543209920], 'd': [543209930] } : '空母棲姫II' == _1k3f ? _1k3g ? { 'a': [544210521], 'd': [544210531] } : { 'a': [544210520], 'd': [544210530] } : 'ヒ船団棲姫' == _1k3f || 'ヒ船団棲姫-壊' == _1k3f ? { 'a': [74205920], 'd': [74205930] } : '近代化戦艦棲姫' == _1k3f ? { 'a': [545210920], 'd': [545210930] } : '近代化戦艦棲姫-壊' == _1k3f ? _1k3g ? { 'a': [545211221], 'd': [545211231] } : { 'a': [545211220], 'd': [545211230] } : '高速軽空母水鬼' == _1k3f ? { 'a': [553212020], 'd': [553212030] } : '高速軽空母水鬼-壊' == _1k3f ? _1k3g ? { 'a': [553212321], 'd': [553212331] } : { 'a': [553212320], 'd': [553212330] } : '試作空母姫 バカンスmode' == _1k3f ? { 'a': [555212620], 'd': [555212630] } : '試作空母姫 バカンスmode-壊' == _1k3f ? _1k3g ? { 'a': [555212921], 'd': [555212931] } : { 'a': [555212920], 'd': [555212930] } : '戦艦未完棲姫' == _1k3f ? { 'a': [556213220], 'd': [556213230] } : '戦艦未完棲姫-壊' == _1k3f ? _1k3g ? { 'a': [556213521], 'd': [556213531] } : { 'a': [556213520], 'd': [556213530] } : '戦標船改装棲姫' == _1k3f ? _1k3g ? { 'a': [563214622], 'd': [563214630] } : { 'a': [563214620], 'd': [563214630] } : '戦標船改装棲姫-壊' == _1k3f ? _1k3g ? { 'a': [563214921], 'd': [563214931] } : { 'a': [563214920], 'd': [563214930] } : '深海重巡水姫' == _1k3f ? { 'a': [565215220], 'd': [565215230] } : '深海重巡水姫-壊' == _1k3f ? _1k3g ? { 'a': [565215521], 'd': [565215531] } : { 'a': [565215520], 'd': [565215530] } : '深海擱座揚陸姫' == _1k3f ? { 'a': [566215820], 'd': [566215830] } : '深海擱座揚陸姫-壊' == _1k3f ? _1k3g ? { 'a': [566216121], 'd': [566216131] } : { 'a': [566216120], 'd': [566216130] } : '深海釧路沖棲雲姫' == _1k3f ? { 'a': [574217220], 'd': [574217230] } : '深海釧路沖棲雲姫-壊' == _1k3f ? _1k3g ? { 'a': [574217521], 'd': [574217531] } : { 'a': [574217520], 'd': [574217530] } : 'トーチカ小鬼' == _1k3f ? [2197].indexOf(_1k3e) > -1 ? { 'a': [576219720], 'd': [576219730] } : [2196].indexOf(_1k3e) > -1 ? { 'a': [576219620], 'd': [576219630] } : [2179].indexOf(_1k3e) > -1 ? { 'a': [575217920], 'd': [575217930] } : { 'a': [575217820], 'd': [575217830] } : 'Schnellboot小鬼群' == _1k3f ? [2194].indexOf(_1k3e) > -1 ? { 'a': [576219420], 'd': [576219430] } : [2193].indexOf(_1k3e) > -1 ? { 'a': [576219320], 'd': [576219330] } : { 'a': [576219220], 'd': [576219230] } : '対空小鬼' == _1k3f ? [2181].indexOf(_1k3e) > -1 ? { 'a': [575218120], 'd': [575218130] } : { 'a': [575218020], 'd': [575218030] } : '標準型戦艦棲姫' == _1k3f ? { 'a': [575218220], 'd': [575218230] } : '標準型戦艦棲姫-壊' == _1k3f ? _1k3g ? { 'a': [575218521], 'd': [575218531] } : { 'a': [575218520], 'd': [575218530] } : 'トーチカ要塞棲姫' == _1k3f ? { 'a': [576218820], 'd': [576218830] } : 'トーチカ要塞棲姫-壊' == _1k3f ? { 'a': [576219020], 'd': [576219030] } : '欧州妹姫' == _1k3f ? { 'a': [577219820], 'd': [577219830] } : '欧州妹姫-壊' == _1k3f ? _1k3g ? { 'a': [577220121], 'd': [577220131] } : { 'a': [577220120], 'd': [577220130] } : '米駆逐棲姫' == _1k3f ? { 'a': [582220420], 'd': [582220430] } : '米駆逐棲姫-壊' == _1k3f ? _1k3g ? { 'a': [582220721], 'd': [582220731] } : { 'a': [582220720], 'd': [582220730] } : '米駆逐棲姫(量産型)' == _1k3f ? { 'a': [583221620], 'd': [583221630] } : '米駆逐棲姫(量産型)-壊' == _1k3f ? { 'a': [583221920], 'd': [583221930] } : '環礁空母泊地棲姫' == _1k3f ? { 'a': [583221020], 'd': [583221030] } : '環礁空母泊地棲姫-壊' == _1k3f ? _1k3g ? { 'a': [583221321], 'd': [583221331] } : { 'a': [583221320], 'd': [583221330] } : '新量産空母棲姫' == _1k3f ? { 'a': [584222220], 'd': [584222230] } : '新量産空母棲姫-壊' == _1k3f ? { 'a': [584222520], 'd': [584222530] } : '深海伊号水姫' == _1k3f ? { 'a': [584222820], 'd': [584222830] } : '深海伊号水姫-壊' == _1k3f ? _1k3g ? { 'a': [584223121], 'd': [584223131] } : { 'a': [584223120], 'd': [584223130] } : void 0; }, _1k2k._getSourGrapesVoiceIDAtNormal = function(_1k3h, _1k3i) { var _1k3j = null, _1k3k = _1k3h.data.model.map_info.area_id, _1k3l = _1k3h.data.model.map_info.map_no, _1k3m = _1k3i.name; if (7 == _1k3k && 4 == _1k3l) { if ('ヒ船団棲姫' == _1k3m) return 74205940; if ('ヒ船団棲姫-壊' == _1k3m) return 74206140; } return 7 == _1k3k && 5 == _1k3l && 'バタビア沖棲姫' == _1k3m ? 464189840 : -1; }, _1k2k._getLastGaspVoiceIDAtNormal = function(_1k3n, _1k3o) { var _1k3p = null, _1k3q = _1k3n.data.model.map_info.area_id, _1k3r = _1k3n.data.model.map_info.map_no, _1k3s = _1k3o.name; return _1k3o.mst_id, _1k3n.data.isBossDamaged(), 7 == _1k3q && 5 == _1k3r && 'バタビア沖棲姫-壊' == _1k3s ? 464190141 : -1; }, _1k2k._getSourGrapesVoiceIDAtEvent = function(_1k3t, _1k3u) { var _1k3v = null; _1k3t.data.model.map_info.area_id, _1k3t.data.model.map_info.map_no, _1k3u.mst_id; var _1k3w = _1k3u.name; return '米駆逐棲姫' == _1k3w ? 582220440 : '米駆逐棲姫(量産型)' == _1k3w ? 583221640 : '環礁空母泊地棲姫' == _1k3w ? 583221040 : '深海伊号水姫' == _1k3w ? 584222840 : -1; }, _1k2k._getLastGaspVoiceIDAtEvent = function(_1k3x, _1k3y) { var _1k3z = null, _1k40 = _1k3x.data.model.map_info.area_id, _1k41 = _1k3x.data.model.map_info.map_no, _1k42 = _1k3y.name; return _1k3y.mst_id, _1k3x.data.isBossDamaged(), '米駆逐棲姫-壊' == _1k42 ? 582220741 : '環礁空母泊地棲姫-壊' == _1k42 && 58 == _1k40 && 3 == _1k41 ? 583221341 : '深海伊号水姫-壊' == _1k42 ? 584223141 : -1; }, _1k2k; }()); _1k2e.EnemyVoiceConst = _1k2i; }, 60343: function(_1k43, _1k44) { 'use strict'; var _1k45 = null; var _1k46, _1k47 = this && this.__extends || (_1k46 = function(_1k48, _1k49) { var _1k4a = null; return _1k46 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1k4b, _1k4c) { var _1k4d = null; _1k4b.__proto__ = _1k4c; } || function(_1k4e, _1k4f) { var _1k4g = null; for (var _1k4h in _1k4f) Object.prototype.hasOwnProperty.call(_1k4f, _1k4h) && (_1k4e[_1k4h] = _1k4f[_1k4h]); }, _1k46(_1k48, _1k49); }, function(_1k4i, _1k4j) { var _1k4k = null; if ('function' != typeof _1k4j && null !== _1k4j) throw new TypeError('Class extends value ' + String(_1k4j) + ' is not a constructor or null'); function _1k4l() { var _1k4m = null; this.constructor = _1k4i; } _1k46(_1k4i, _1k4j), _1k4i.prototype = null === _1k4j ? Object.create(_1k4j) : (_1k4l.prototype = _1k4j.prototype, new _1k4l()); }); defineModule(_1k44); Object.defineProperty(_1k44, '__esModule', { 'value': !0 }), _1k44.AirWarCanvas = void 0; var _1k4n = function(_1k4o) { var _1k4p = null; function _1k4q(_1k4r) { var _1k4s = null, _1k4t = _1k4o.call(this) || this; return _1k4t._air_raid = !1, _1k4t._air_raid = _1k4r, _1k4t._planes_f = new Array(), _1k4t._planes_e = new Array(), _1k4t._now_animation = new Array(), _1k4t; } return _1k47(_1k4q, _1k4o), Object.defineProperty(_1k4q.prototype, 'planes_f', { 'get': function() { var _1k4u = null; return this._planes_f; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1k4q.prototype, 'planes_e', { 'get': function() { var _1k4v = null; return this._planes_e; }, 'enumerable': !1, 'configurable': !0 }), _1k4q.prototype.addPlanes_f = function(_1k4w) { var _1k4x = null; for (var _1k4y = 0, _1k4z = _1k4w.concat().sort(function(_1k50, _1k51) { return _1k50.y < _1k51.y ? -1 : _1k50.y > _1k51.y ? 1 : 0; }); _1k4y < _1k4z.length; _1k4y++) { var _1k52 = _1k4z[_1k4y]; this.addChild(_1k52), this._planes_f.push(_1k52); } }, _1k4q.prototype.addPlanes_e = function(_1k53) { var _1k54 = null; for (var _1k55 = 0, _1k56 = _1k53.concat().sort(function(_1k57, _1k58) { return _1k57.y < _1k58.y ? -1 : _1k57.y > _1k58.y ? 1 : 0; }); _1k55 < _1k56.length; _1k55++) { var _1k59 = _1k56[_1k55]; this.addChild(_1k59), this._planes_e.push(_1k59); } }, _1k4q.prototype.play = function(_1k5a) { var _1k5b = null, _1k5c = this; if (0 != this._planes_f.length || 0 != this._planes_e.length) { for (var _1k5d = function(_1k5e) { var _1k5f = null, _1k5g = new PIXI.Point(1500, _1k5e.y - 555); 1 == _1k5h._air_raid && (_1k5g.x += -570, _1k5g.y += -450), _1k5e.play(_1k5g, 3700), _1k5h._now_animation.push(_1k5e), _1k5e.once('complete', function() { var _1k5i = null, _1k5j = _1k5c._now_animation.indexOf(_1k5e); _1k5c._now_animation.splice(_1k5j, 1), 0 == _1k5c._now_animation.length && _1k5a(); }); }, _1k5h = this, _1k5k = 0, _1k5l = this._planes_f; _1k5k < _1k5l.length; _1k5k++) { _1k5d(_1k5l[_1k5k]); } for (var _1k5m = function(_1k5n) { var _1k5o = null, _1k5p = new PIXI.Point(-173, _1k5n.y - 1005); _1k5n.play(_1k5p, 3700), _1k5q._now_animation.push(_1k5n), _1k5n.once('complete', function() { var _1k5r = null, _1k5s = _1k5c._now_animation.indexOf(_1k5n); _1k5c._now_animation.splice(_1k5s, 1), 0 == _1k5c._now_animation.length && _1k5a(); }); }, _1k5q = this, _1k5t = 0, _1k5u = this._planes_e; _1k5t < _1k5u.length; _1k5t++) { _1k5m(_1k5u[_1k5t]); } } else _1k5a(); }, _1k4q.prototype.dispose = function() { var _1k5v = null; for (var _1k5w = 0, _1k5x = this._planes_f; _1k5w < _1k5x.length; _1k5w++) { _1k5x[_1k5w].dispose(); } this._planes_f = null; for (var _1k5y = 0, _1k5z = this._planes_e; _1k5y < _1k5z.length; _1k5y++) { _1k5z[_1k5y].dispose(); } this._planes_e = null; }, _1k4q; }(PIXI.Container); _1k44.AirWarCanvas = _1k4n; }, 80995: function(_1k60, _1k61, _1k62) { 'use strict'; var _1k63 = null; var _1k64, _1k65 = this && this.__extends || (_1k64 = function(_1k66, _1k67) { var _1k68 = null; return _1k64 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1k69, _1k6a) { var _1k6b = null; _1k69.__proto__ = _1k6a; } || function(_1k6c, _1k6d) { var _1k6e = null; for (var _1k6f in _1k6d) Object.prototype.hasOwnProperty.call(_1k6d, _1k6f) && (_1k6c[_1k6f] = _1k6d[_1k6f]); }, _1k64(_1k66, _1k67); }, function(_1k6g, _1k6h) { var _1k6i = null; if ('function' != typeof _1k6h && null !== _1k6h) throw new TypeError('Class extends value ' + String(_1k6h) + ' is not a constructor or null'); function _1k6j() { var _1k6k = null; this.constructor = _1k6g; } _1k64(_1k6g, _1k6h), _1k6g.prototype = null === _1k6h ? Object.create(_1k6h) : (_1k6j.prototype = _1k6h.prototype, new _1k6j()); }); defineModule(_1k61); Object.defineProperty(_1k61, '__esModule', { 'value': !0 }), _1k61.AirWarJetCanvas = void 0; var _1k6l = function(_1k6m) { var _1k6n = null; function _1k6o() { var _1k6p = null; return null !== _1k6m && _1k6m.apply(this, arguments) || this; } return _1k65(_1k6o, _1k6m), _1k6o.prototype.play = function(_1k6q) { var _1k6r = null; for (var _1k6s = this, _1k6t = function(_1k6u) { var _1k6v = null, _1k6w = new PIXI.Point(1373, _1k6u.y - 405); 1 == _1k6x._air_raid && (_1k6w.x += -570, _1k6w.y += -450), _1k6u.playForJet(_1k6w, 1850), _1k6x._now_animation.push(_1k6u), _1k6u.once('complete', function() { var _1k6y = null, _1k6z = _1k6s._now_animation.indexOf(_1k6u); _1k6s._now_animation.splice(_1k6z, 1), 0 == _1k6s._now_animation.length && _1k6q(); }); }, _1k6x = this, _1k70 = 0, _1k71 = this._planes_f; _1k70 < _1k71.length; _1k70++) { _1k6t(_1k71[_1k70]); } for (var _1k72 = function(_1k73) { var _1k74 = null, _1k75 = new PIXI.Point(-173, _1k73.y - 855); _1k73.playForJet(_1k75, 1850), _1k76._now_animation.push(_1k73), _1k73.once('complete', function() { var _1k77 = null, _1k78 = _1k6s._now_animation.indexOf(_1k73); _1k6s._now_animation.splice(_1k78, 1), 0 == _1k6s._now_animation.length && _1k6q(); }); }, _1k76 = this, _1k79 = 0, _1k7a = this._planes_e; _1k79 < _1k7a.length; _1k79++) { _1k72(_1k7a[_1k79]); } }, _1k6o; }(_1k62(60343).AirWarCanvas); _1k61.AirWarJetCanvas = _1k6l; }, 88807: function(_1k7b, _1k7c, _1k7d) { 'use strict'; var _1k7e = null; var _1k7f, _1k7g = this && this.__extends || (_1k7f = function(_1k7h, _1k7i) { var _1k7j = null; return _1k7f = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1k7k, _1k7l) { var _1k7m = null; _1k7k.__proto__ = _1k7l; } || function(_1k7n, _1k7o) { var _1k7p = null; for (var _1k7q in _1k7o) Object.prototype.hasOwnProperty.call(_1k7o, _1k7q) && (_1k7n[_1k7q] = _1k7o[_1k7q]); }, _1k7f(_1k7h, _1k7i); }, function(_1k7r, _1k7s) { var _1k7t = null; if ('function' != typeof _1k7s && null !== _1k7s) throw new TypeError('Class extends value ' + String(_1k7s) + ' is not a constructor or null'); function _1k7u() { var _1k7v = null; this.constructor = _1k7r; } _1k7f(_1k7r, _1k7s), _1k7r.prototype = null === _1k7s ? Object.create(_1k7s) : (_1k7u.prototype = _1k7s.prototype, new _1k7u()); }), _1k7w = this && this.__importDefault || function(_1k7x) { var _1k7y = null; return _1k7x && _1k7x.__esModule ? _1k7x : { 'default': _1k7x }; }; defineModule(_1k7c); Object.defineProperty(_1k7c, '__esModule', { 'value': !0 }), _1k7c.Plane = void 0; var _1k7z = _1k7w(_1k7d(21359)), _1k80 = _1k7w(_1k7d(18622)), _1k81 = _1k7d(41503), _1k82 = _1k7d(57616), _1k83 = _1k7d(72778), _1k84 = _1k7d(40085), _1k85 = _1k7d(70723), _1k86 = _1k7d(22434), _1k87 = _1k7d(20240), _1k88 = function(_1k89) { var _1k8a = null; function _1k8b() { var _1k8c = null, _1k8d = _1k89.call(this) || this; return _1k8d._damaged = !1, _1k8d._crashed = !1, _1k8d.power = 1, _1k8d._img = new _1k8e(), _1k8d._img.position.set(1, 1), _1k8d.addChild(_1k8d._img), _1k8d; } return _1k7g(_1k8b, _1k89), Object.defineProperty(_1k8b.prototype, 'mst_id', { 'get': function() { var _1k8f = null; return this._mst_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1k8b.prototype, 'friend', { 'get': function() { var _1k8g = null; return this._friend; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1k8b.prototype, 'damaged', { 'get': function() { var _1k8h = null; return this._damaged; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1k8b.prototype, 'crashed', { 'get': function() { var _1k8i = null; return this._crashed; }, 'enumerable': !1, 'configurable': !0 }), _1k8b.clearMemoryCache = function() { var _1k8j = null; for (var _1k8k = 0, _1k8l = Object.keys(PIXI.utils.TextureCache).filter(function(_1k8m) { var _1k8n = null; return /^resources\/plane\/.+/ ['test'](_1k8m); }); _1k8k < _1k8l.length; _1k8k++) { var _1k8o = _1k8l[_1k8k], _1k8p = PIXI.utils.TextureCache[_1k8o]; _1k8p && _1k8p.destroy(!0), delete PIXI.utils.TextureCache[_1k8o]; } }, _1k8b.prototype.initialize = function(_1k8q, _1k8r, _1k8s, _1k8t) { var _1k8u = null; this._mst_id = _1k8q, this._friend = _1k8r, this.x = _1k8s.x + _1k8t.x, this.y = _1k8s.y + _1k8t.y, this._offset = _1k8t.clone(), this._img.initialize(_1k8q, _1k8r); }, _1k8b.prototype.dispose = function() { var _1k8v = null; this.removeChildren(), this._offset = null, this._end = null, null != this._img && (this._img.dispose(), this._img = null), null != this._tween && (this._tween.setPaused(!0), this._tween = null), this._state = null; }, _1k8b.prototype.startFluctuations = function() { var _1k8w = null; this._img.startFluctuations(); }, _1k8b.prototype.stopFluctuations = function() { var _1k8x = null; this._img.stopFluctuations(); }, _1k8b.prototype.fire = function() { var _1k8y = null; this._img.fire.play(); }, _1k8b.prototype.damage = function() { var _1k8z = null, _1k90 = this; if (1 != this._damaged) { this._damaged = !0; var _1k91 = new _1k87.Explosion(); this.addChild(_1k91), _1k85.SE.play('102'), _1k91.play(function() { var _1k92 = null; _1k90.removeChild(_1k91); }), createjs.Tween.get(null).wait(200).call(function() { var _1k93 = null; if (null != _1k90._img && (_1k90._img.smoke.activate(), null != _1k90._tween)) { _1k90._tween.setPaused(!0); var _1k94 = createjs.Ticker.framerate, _1k95 = Math.pow(0.95, 1 / _1k94); Math.abs(_1k90._state.diff_x) > 5 && (_1k95 = Math.pow(0.5, 1 / _1k94)); var _1k96 = Math.pow(5.3, 1 / _1k94); _1k90._tween = createjs.Tween.get(null, { 'loop': !0, 'onChange': function() { var _1k97 = null; _1k90._state.diff_x *= _1k95, _1k90._state.diff_y *= _1k96, _1k90.x += _1k90._state.diff_x, _1k90.y += _1k90._state.diff_y, (_1k90.x < -150 || _1k90.x > _1k7z.default.width + 150 || _1k90.y > _1k7z.default.height + 150) && (_1k90._tween.setPaused(!0), _1k90.emit('complete')); } }); } }); } }, _1k8b.prototype.crash = function() { var _1k98 = null, _1k99 = this; if (1 != this._crashed) { this._crashed = !0; var _1k9a = new _1k87.Explosion(); this.addChild(_1k9a), _1k85.SE.play('102'), _1k9a.play(function() { var _1k9b = null; _1k99.removeChild(_1k9a); }), createjs.Tween.get(null).wait(200).call(function() { var _1k9c = null; null != _1k99._img && (_1k99._img.visible = !1), null != _1k99._tween && (_1k99._tween.setPaused(!0), _1k99._tween = null), _1k99.emit('complete'); }); } }, _1k8b.prototype.play = function(_1k9d, _1k9e) { var _1k9f = null, _1k9g, _1k9h, _1k9i = this, _1k9j = new PIXI.Point(this.x, this.y), _1k9k = new PIXI.Point(_1k9d.x + this._offset.x, _1k9d.y + this._offset.y), _1k9l = _1k9j.x <= _1k9k.x, _1k9m = _1k9k.x - _1k9j.x, _1k9n = Math.max(_1k9k.y, _1k9j.y) + 150; 1 == _1k9l ? (_1k9g = new PIXI.Point(Math.min(_1k9j.x, _1k9k.x) + _1k9m / 3, _1k9n), _1k9h = new PIXI.Point(Math.min(_1k9j.x, _1k9k.x) + _1k9m / 3 * 2, _1k9n)) : (_1k9g = new PIXI.Point(Math.max(_1k9j.x, _1k9k.x) + _1k9m / 3, _1k9n), _1k9h = new PIXI.Point(Math.max(_1k9j.x, _1k9k.x) + _1k9m / 3 * 2, _1k9n)); var _1k9o = { 'onChange': function(_1k9p) { var _1k9q = null; null != _1k9i._state && (_1k9i._state.diff_x = _1k9i.x - _1k9i._state.pre_x, _1k9i._state.diff_y = Math.abs(_1k9i.y - _1k9i._state.pre_y) + 0.01, _1k9i._state.diff_t = _1k9p.timeStamp - _1k9i._state.pre_t, _1k9i._state.pre_x = _1k9i.x, _1k9i._state.pre_y = _1k9i.y, _1k9i._state.pre_t = _1k9p.timeStamp); } }; return this._state = { 'pre_x': this.x, 'pre_y': this.y, 'pre_t': Date.now(), 'diff_x': 0, 'diff_y': 0, 'diff_t': 0 }, this._tween = _1k84.TweenUtil.create3BezierTween(this, _1k9j, _1k9g, _1k9h, _1k9k, _1k9e, _1k9o), this._tween.call(function() { var _1k9r = null; _1k9i.emit('complete'); }), this._end = _1k9k, { 's': _1k9j, 'c1': _1k9g, 'c2': _1k9h, 'e': _1k9k }; }, _1k8b.prototype.playForJet = function(_1k9s, _1k9t) { var _1k9u = null, _1k9v, _1k9w, _1k9x = this, _1k9y = new PIXI.Point(this.x, this.y), _1k9z = new PIXI.Point(_1k9s.x + this._offset.x, _1k9s.y + this._offset.y), _1ka0 = (_1k9y.x, _1k9z.x, Math.min(_1k9y.x, _1k9z.x)), _1ka1 = _1k9z.x - _1k9y.x, _1ka2 = Math.max(_1k9z.y, _1k9y.y) + 75; _1k9v = new PIXI.Point(_1ka0 + _1ka1 / 3, _1ka2), _1k9w = new PIXI.Point(_1ka0 + _1ka1 / 3 * 2, _1ka2); var _1ka3 = { 'onChange': function(_1ka4) { var _1ka5 = null; null != _1k9x._state && (_1k9x._state.diff_x = _1k9x.x - _1k9x._state.pre_x, _1k9x._state.diff_y = Math.abs(_1k9x.y - _1k9x._state.pre_y) + 0.01, _1k9x._state.diff_t = _1ka4.timeStamp - _1k9x._state.pre_t, _1k9x._state.pre_x = _1k9x.x, _1k9x._state.pre_y = _1k9x.y, _1k9x._state.pre_t = _1ka4.timeStamp); } }; return this._state = { 'pre_x': this.x, 'pre_y': this.y, 'pre_t': Date.now(), 'diff_x': 0, 'diff_y': 0, 'diff_t': 0 }, this._tween = _1k84.TweenUtil.create3BezierTween(this, _1k9y, _1k9v, _1k9w, _1k9z, _1k9t, _1ka3), this._tween.call(function() { var _1ka6 = null; _1k9x.emit('complete'); }), this._end = _1k9z, { 's': _1k9y, 'c1': _1k9v, 'c2': _1k9w, 'e': _1k9z }; }, _1k8b.prototype.play2 = function(_1ka7, _1ka8, _1ka9) { var _1kaa = null, _1kab = this; void 0 === _1ka8 && (_1ka8 = NaN); var _1kac, _1kad, _1kae, _1kaf = new PIXI.Point(this.x, this.y), _1kag = new PIXI.Point(_1ka7.x + this._offset.x, _1ka7.y + this._offset.y); if (1 == _1kaf.x <= _1kag.x ? (_1kac = new PIXI.Point(Math.min(_1kaf.x, _1kag.x) + (_1kag.x - _1kaf.x) / 3, Math.max(_1kag.y, _1kaf.y) + 150), _1kad = new PIXI.Point(Math.min(_1kaf.x, _1kag.x) + (_1kag.x - _1kaf.x) / 3 * 2, Math.max(_1kag.y, _1kaf.y) + 150)) : (_1kac = new PIXI.Point(Math.max(_1kaf.x, _1kag.x) + (_1kag.x - _1kaf.x) / 3, Math.max(_1kag.y, _1kaf.y) + 150), _1kad = new PIXI.Point(Math.max(_1kaf.x, _1kag.x) + (_1kag.x - _1kaf.x) / 3 * 2, Math.max(_1kag.y, _1kaf.y) + 150)), 0 == isNaN(_1ka8)) { var _1kah = 0.99, _1kai = 1 - _1kah, _1kaj = Math.pow(_1kai, 3) * _1kaf.x + 3 * Math.pow(_1kai, 2) * _1kah * _1kac.x + 3 * _1kai * _1kah * _1kah * _1kad.x + _1kah * _1kah * _1kah * _1kag.x, _1kak = Math.pow(_1kai, 3) * _1kaf.y + 3 * Math.pow(_1kai, 2) * _1kah * _1kac.y + 3 * _1kai * _1kah * _1kah * _1kad.y + _1kah * _1kah * _1kah * _1kag.y, _1kal = _1kag.y + (_1ka8 - _1kag.x) * (_1kag.y - _1kak) / (_1kag.x - _1kaj), _1kam = _1kag.x - _1kaj, _1kan = (_1ka8 - _1kag.x) / _1kam, _1kao = _1ka9 / (100 + _1kan) * 100, _1kap = _1ka9 / (100 + _1kan) * _1kan; this._tween = _1k84.TweenUtil.create3BezierTween(this, _1kaf, _1kac, _1kad, _1kag, _1kao), this._tween.call(function() { var _1kaq = null; _1kab.emit('attacked'); }), this._tween.to({ 'x': _1ka8, 'y': _1kal }, _1kap), _1kae = new PIXI.Point(_1ka8, _1kal); } else this._tween = _1k84.TweenUtil.create3BezierTween(this, _1kaf, _1kac, _1kad, _1kag, _1ka9), this._tween.call(function() { var _1kar = null; _1kab.emit('attacked'); }), _1kae = new PIXI.Point(_1kag.x, _1kag.y); return this._tween.call(function() { var _1kas = null; _1kab.emit('complete'); }), createjs.Tween.get(null).wait(0.7 * _1ka9).call(function() { var _1kat = null; _1k85.SE.play('116'), _1kab.fire(); }), this._end = _1kag, { 's': _1kaf, 'c1': _1kac, 'c2': _1kad, 'e': _1kag, 'ex': _1kae }; }, _1k8b; }(PIXI.Container); _1k7c.Plane = _1k88; var _1k8e = function(_1kau) { var _1kav = null; function _1kaw() { var _1kax = null, _1kay = _1kau.call(this) || this; return _1kay.anchor.set(0.5), _1kay.scale.set(0.75), _1kay._fire = new _1kaz(), _1kay._smoke = new _1kb0(), _1kay.addChild(_1kay._fire), _1kay.addChild(_1kay._smoke), _1kay; } return _1k7g(_1kaw, _1kau), Object.defineProperty(_1kaw.prototype, 'fire', { 'get': function() { var _1kb1 = null; return this._fire; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1kaw.prototype, 'smoke', { 'get': function() { var _1kb2 = null; return this._smoke; }, 'enumerable': !1, 'configurable': !0 }), _1kaw.prototype.initialize = function(_1kb3, _1kb4) { var _1kb5 = null, _1kb6; if (1 == _1k83.SlotUtil.isEnemyItem(_1kb3)) { var _1kb7 = _1k81.PlaneConst.getEnemyPlaneGraphicsType(_1kb3); _1kb6 = 'e' + _1k82.MathUtil.zeroPadding(_1kb7, 3), this.scale.x *= _1kb4 ? -1 : 1; } else { var _1kb8 = _1k80.default.model.slot.getMst(_1kb3).planeIconType; _1kb8 = Math.max(1, _1kb8), _1kb6 = (_1kb4 ? '' : 'r') + (_1kb6 = _1k82.MathUtil.zeroPadding(_1kb8, 3)), this.scale.x *= _1kb4 ? 1 : -1; } this.texture = PIXI.Texture.fromImage(_1k80.default.settings.path_root + 'resources/plane/'['concat'](_1kb6, '.png')), this._fire.initialize(), this._smoke.initialize(); }, _1kaw.prototype.dispose = function() { var _1kb9 = null; this.removeChildren(), this._fire = null, this._smoke.dispose(), this._smoke = null, this.stopFluctuations(); }, _1kaw.prototype.startFluctuations = function() { var _1kba = null; null == this._t && this._tween(); }, _1kaw.prototype.stopFluctuations = function() { var _1kbb = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _1kaw.prototype._tween = function() { var _1kbc = null, _1kbd = this, _1kbe = Math.round(46 * Math.random() - 23), _1kbf = Math.round(46 * Math.random() - 23), _1kbg = 100 * Math.sqrt(Math.pow(_1kbe - this.x, 2) + Math.pow(_1kbf - this.y, 2)); this._t = createjs.Tween.get(this).to({ 'y': _1kbf, 'x': _1kbe }, _1kbg).call(function() { var _1kbh = null; _1kbd._tween(); }); }, _1kaw; }(PIXI.Sprite), _1kaz = function(_1kbi) { var _1kbj = null; function _1kbk() { var _1kbl = null, _1kbm = _1kbi.call(this) || this; return _1kbm.visible = !1, _1kbm._fire1 = new PIXI.Sprite(), _1kbm._fire2 = new PIXI.Sprite(), _1kbm._fire1.position.set(-17, -27), _1kbm._fire2.position.set(0, -54), _1kbm._fire2.scale.set(0.8), _1kbm.addChild(_1kbm._fire1), _1kbm.addChild(_1kbm._fire2), _1kbm; } return _1k7g(_1kbk, _1kbi), _1kbk.prototype.initialize = function() { var _1kbn = null; this._fire1.texture = _1k86.BATTLE_MAIN.getTexture(85), this._fire2.texture = _1k86.BATTLE_MAIN.getTexture(85); }, _1kbk.prototype.play = function() { var _1kbo = null, _1kbp = this; createjs.Tween.get(this).wait(200 * Math.random()).call(function() { var _1kbq = null; _1kbp.visible = !0; }).wait(100).call(function() { var _1kbr = null; _1kbp.visible = !1; }).wait(100).call(function() { var _1kbs = null; _1kbp.visible = !0; }).wait(100).call(function() { var _1kbt = null; _1kbp.visible = !1; }); }, _1kbk; }(PIXI.Container), _1kb0 = function(_1kbu) { var _1kbv = null; function _1kbw() { var _1kbx = null, _1kby = _1kbu.call(this) || this; return _1kby._reverseImage = function() { var _1kbz = null; _1kby._content.scale.x = -1 * _1kby._content.scale.x, _1kby._content.scale.y = -1 * _1kby._content.scale.y, -1 == _1kby._content.scale.x ? _1kby._content.position.y = -65 : _1kby._content.position.y = -54; }, _1kby.visible = !1, _1kby._content = new PIXI.Sprite(), _1kby._content.anchor.set(0.5), _1kby._content.position.set(-57, -54), _1kby.addChild(_1kby._content), _1kby; } return _1k7g(_1kbw, _1kbu), _1kbw.prototype.initialize = function() { var _1kc0 = null; this._content.texture = _1k86.BATTLE_MAIN.getTexture(86); }, _1kbw.prototype.activate = function() { var _1kc1 = null; null == this._t && (this.scale.set(0), this.visible = !0, createjs.Tween.get(this.scale).to({ 'x': 1, 'y': 1 }, 300), this._t = createjs.Tween.get(this._content, { 'loop': !0 }).wait(100).call(this._reverseImage)); }, _1kbw.prototype.deactivate = function() { var _1kc2 = null; null != this._t && (this.visible = !1, this._t.setPaused(!0), this._t = null); }, _1kbw.prototype.dispose = function() { var _1kc3 = null; this.deactivate(); }, _1kbw; }(PIXI.Container); }, 29013: function(_1kc4, _1kc5, _1kc6) { 'use strict'; var _1kc7 = null; var _1kc8, _1kc9 = this && this.__extends || (_1kc8 = function(_1kca, _1kcb) { var _1kcc = null; return _1kc8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1kcd, _1kce) { var _1kcf = null; _1kcd.__proto__ = _1kce; } || function(_1kcg, _1kch) { var _1kci = null; for (var _1kcj in _1kch) Object.prototype.hasOwnProperty.call(_1kch, _1kcj) && (_1kcg[_1kcj] = _1kch[_1kcj]); }, _1kc8(_1kca, _1kcb); }, function(_1kck, _1kcl) { var _1kcm = null; if ('function' != typeof _1kcl && null !== _1kcl) throw new TypeError('Class extends value ' + String(_1kcl) + ' is not a constructor or null'); function _1kcn() { var _1kco = null; this.constructor = _1kck; } _1kc8(_1kck, _1kcl), _1kck.prototype = null === _1kcl ? Object.create(_1kcl) : (_1kcn.prototype = _1kcl.prototype, new _1kcn()); }), _1kcp = this && this.__importDefault || function(_1kcq) { var _1kcr = null; return _1kcq && _1kcq.__esModule ? _1kcq : { 'default': _1kcq }; }; defineModule(_1kc5); Object.defineProperty(_1kc5, '__esModule', { 'value': !0 }), _1kc5.TaskAirUnit = void 0; var _1kcs = _1kcp(_1kc6(21359)), _1kct = (_1kcp(_1kc6(18622)), _1kc6(41503)), _1kcu = _1kc6(88471), _1kcv = _1kc6(5527), _1kcw = _1kc6(85492), _1kcx = _1kc6(55535), _1kcy = _1kc6(56494), _1kcz = _1kc6(70723), _1kd0 = _1kc6(24741), _1kd1 = _1kc6(60343), _1kd2 = _1kc6(35242), _1kd3 = _1kc6(88807), _1kd4 = _1kc6(18195), _1kd5 = _1kc6(19428), _1kd6 = _1kc6(82675), _1kd7 = _1kc6(8765), _1kd8 = _1kc6(62880), _1kd9 = function(_1kda) { var _1kdb = null; function _1kdc() { var _1kdd = null, _1kde = null !== _1kda && _1kda.apply(this, arguments) || this; return _1kde._showResult = function() { var _1kdf = null; if (null == _1kde._scene.data.model.gekimetsu_data) { var _1kdg = _1kde._scene.view.layer_info2, _1kdh = new _1kd0.AirUnitAttackResultTelop(), _1kdi = _1kde._data.plane_count_f.count, _1kdj = _1kde._data.plane_count_f.count_stage2; _1kdh.play(_1kdg, _1kdi, _1kdj); } }, _1kde; } return _1kc9(_1kdc, _1kda), Object.defineProperty(_1kdc.prototype, 'data_', { 'get': function() { var _1kdk = null; return this._data; }, 'enumerable': !1, 'configurable': !0 }), _1kdc.prototype._start = function() { var _1kdl = null; this._log(); var _1kdm = this._scene.data.model.map_info.isAirRaid(); this._canvas = new _1kd1.AirWarCanvas(_1kdm), this._scene.view.layer_content.addChild(this._canvas), this._createFriendPlanes(), this._createPlanes(this._data.plane_from_e, this._ships_e), this._startAircraftFlightAnimation(), this._startMainTask(); }, _1kdc.prototype._log = function() { 0; }, _1kdc.prototype._startMainTask = function() { var _1kdn = null, _1kdo = this, _1kdp = this._splitAttackInfo(this._canvas.planes_f, this._ships_e, this._data.stage3_e), _1kdq = _1kdp[0], _1kdr = _1kdp[1], _1kds = _1kdp[2], _1kdt = this._splitAttackInfo(this._canvas.planes_e, this._ships_f, this._data.stage3_f), _1kdu = _1kdt[0], _1kdv = (_1kdt[1], _1kdt[2]), _1kdw = new _1kcv.ParallelTask(), _1kdx = createjs.Tween.get(null).call(_1kcz.SE.play, ['114']).wait(3450); _1kdw.add(new _1kcw.TweenTask().addTween(_1kdx)), _1kdw.add(new _1kcu.FuncTask(function() { var _1kdy = null; _1kdo._showResult(), _1kdo._fireDogFight(); }, 750)), _1kdw.add(new _1kcu.FuncTask(function() { var _1kdz = null; _1kdo._showTaikuCutin(); }, 900)), _1kdw.add(new _1kcu.FuncTask(function() { var _1ke0 = null; _1kdo._damageAtStage1(); }, 1050)), _1kdw.add(new _1kcu.FuncTask(function() { var _1ke1 = null; _1kdo._antiAircraft(); }, 1200)), _1kdw.add(new _1kcu.FuncTask(function() { var _1ke2 = null; _1kdo._damageAtStage2(); }, 1350)), _1kdw.add(new _1kcx.SerialTask().add(new _1kcy.WaitTask(900)).add(new _1kcv.ParallelTask().add(new _1kd5.TaskAirWarMissile(this._scene, this._data, _1kdr.plane, _1kdr.damaged_ship)))), _1kdw.add(new _1kcx.SerialTask().add(new _1kcy.WaitTask(1700)).add(new _1kcv.ParallelTask().add(new _1kd4.TaskAirWarTorpedo(this._scene, this._data, _1kdq.plane, _1kdq.damaged_ship)).add(new _1kd4.TaskAirWarTorpedo(this._scene, this._data, _1kdu.plane, _1kdu.damaged_ship)))), null == this._scene.data.model.gekimetsu_data && _1kdw.add(new _1kcx.SerialTask().add(new _1kcy.WaitTask(1000)).add(new _1kcv.ParallelTask().add(new _1kd6.TaskAirWarBomb(this._scene, this._data, _1kds.plane, _1kds.damaged_ship)).add(new _1kd6.TaskAirWarBomb(this._scene, this._data, _1kdv.plane, _1kdv.damaged_ship)))), _1kdw.add(new _1kcu.FuncTask(function() { var _1ke3 = null; _1kdo._showBakuExplosion(); }, 2950)), this._rescue > 0 && _1kdw.add(new _1kcu.FuncTask(function() { var _1ke4 = null; _1kdo._showRescue(); }, 3000)), _1kdw.add(new _1kcu.FuncTask(function() { var _1ke5 = null; _1kdo._showDamage(); }, 3300)), this._main_task = _1kdw, this._main_task.start(function() { var _1ke6 = null; _1kdo._showDamageNumber(); }); }, _1kdc.prototype._antiAircraft = function() { var _1ke7 = null; null == this._scene.data.model.gekimetsu_data && _1kda.prototype._antiAircraft.call(this); }, _1kdc.prototype._showSeikuResult = function() { var _1ke8 = null; if (null != this._scene.data.model.gekimetsu_data) { var _1ke9 = this._scene.view.layer_content; new _1kd7.TaskAirWarShowSeiku(_1ke9, this.data_.seiku).start(); } }, _1kdc.prototype._createFriendPlanes = function() { var _1kea = null; this.data_.airunit_id; for (var _1keb = this.data_.squadrons.length, _1kec = _1kcs.default.height / Math.max(_1keb, 8), _1ked = _1kcs.default.height / 2 - _1kec * _1keb / 2, _1kee = [], _1kef = 0; _1kef < _1keb; _1kef++) { var _1keg = this.data_.squadrons[_1kef], _1keh = _1keg.mst_id, _1kei = new PIXI.Point(-75, _1ked + _1kec * _1kef + 0.5 * _1kec); if (_1keg.count > 0) { var _1kej = new _1kd3.Plane(), _1kek = new PIXI.Point(45, 18); _1kej.initialize(_1keh, !0, _1kei, _1kek), _1kee.push(_1kej); } _1keg.count > 6 && (_1kej = new _1kd3.Plane(), _1kek = new PIXI.Point(18, -27), (_1kej.initialize(_1keh, !0, _1kei, _1kek), _1kee.push(_1kej))); } this._canvas.addPlanes_f(_1kee); }, _1kdc.prototype._getPlaneType = function() { var _1kel = null; return _1kct.PlaneConst.getAirUnitPlaneType(); }, _1kdc.prototype._showRescue = function() { var _1kem = null, _1ken = this._scene.view.layer_info; new _1kd8.TaskAirWarRescue(_1ken, this._rescue).start(); }, _1kdc; }(_1kd2.TaskAircraftFlightBase); _1kc5.TaskAirUnit = _1kd9; }, 72745: function(_1keo, _1kep, _1keq) { 'use strict'; var _1ker = null; var _1kes, _1ket = this && this.__extends || (_1kes = function(_1keu, _1kev) { var _1kew = null; return _1kes = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1kex, _1key) { var _1kez = null; _1kex.__proto__ = _1key; } || function(_1kf0, _1kf1) { var _1kf2 = null; for (var _1kf3 in _1kf1) Object.prototype.hasOwnProperty.call(_1kf1, _1kf3) && (_1kf0[_1kf3] = _1kf1[_1kf3]); }, _1kes(_1keu, _1kev); }, function(_1kf4, _1kf5) { var _1kf6 = null; if ('function' != typeof _1kf5 && null !== _1kf5) throw new TypeError('Class extends value ' + String(_1kf5) + ' is not a constructor or null'); function _1kf7() { var _1kf8 = null; this.constructor = _1kf4; } _1kes(_1kf4, _1kf5), _1kf4.prototype = null === _1kf5 ? Object.create(_1kf5) : (_1kf7.prototype = _1kf5.prototype, new _1kf7()); }); defineModule(_1kep); Object.defineProperty(_1kep, '__esModule', { 'value': !0 }), _1kep.TaskAirUnitJet = void 0; var _1kf9 = _1keq(41503), _1kfa = _1keq(88471), _1kfb = _1keq(5527), _1kfc = _1keq(55535), _1kfd = _1keq(85492), _1kfe = _1keq(56494), _1kff = _1keq(70723), _1kfg = _1keq(80995), _1kfh = _1keq(29013), _1kfi = _1keq(8689), _1kfj = function(_1kfk) { var _1kfl = null; function _1kfm() { var _1kfn = null; return null !== _1kfk && _1kfk.apply(this, arguments) || this; } return _1ket(_1kfm, _1kfk), _1kfm.prototype._start = function() { var _1kfo = null; this._log(); var _1kfp = this._scene.data.model.map_info.isAirRaid(); this._canvas = new _1kfg.AirWarJetCanvas(_1kfp), this._scene.view.layer_content.addChild(this._canvas), this._createFriendPlanes(), this._createPlanes(this._data.plane_from_e, this._ships_e), this._startAircraftFlightAnimation(), this._startMainTask(); }, _1kfm.prototype._log = function() { 0; }, _1kfm.prototype._startMainTask = function() { var _1kfq = null, _1kfr = this, _1kfs = new _1kfb.ParallelTask(), _1kft = createjs.Tween.get(null).call(_1kff.SE.play, ['220']).wait(1700); _1kfs.add(new _1kfd.TweenTask().addTween(_1kft)), _1kfs.add(new _1kfa.FuncTask(function() { var _1kfu = null; _1kfr._showResult(), _1kfr._fireDogFight(); }, 350)), _1kfs.add(new _1kfa.FuncTask(function() { var _1kfv = null; _1kfr._showTaikuCutin(); }, 450)), _1kfs.add(new _1kfa.FuncTask(function() { var _1kfw = null; _1kfr._damageAtStage1(); }, 500)), _1kfs.add(new _1kfa.FuncTask(function() { var _1kfx = null; _1kfr._antiAircraft(); }, 600)), _1kfs.add(new _1kfa.FuncTask(function() { var _1kfy = null; _1kfr._damageAtStage2(); }, 700)), _1kfs.add(new _1kfc.SerialTask().add(new _1kfe.WaitTask(850)).add(new _1kfb.ParallelTask().add(new _1kfi.TaskAerialTorpedoJet(this._scene, this._data, this._canvas.planes_f, this._ships_e)).add(new _1kfi.TaskAerialTorpedoJet(this._scene, this._data, this._canvas.planes_e, this._ships_f)))), _1kfs.add(new _1kfa.FuncTask(function() { var _1kfz = null; _1kfr._showBakuExplosion(); }, 1500)), _1kfs.add(new _1kfa.FuncTask(function() { var _1kg0 = null; _1kfr._showDamage(); }, 1650)), this._main_task = _1kfs, this._main_task.start(function() { var _1kg1 = null; _1kfr._showDamageNumber(); }); }, _1kfm.prototype._getPlaneType = function() { var _1kg2 = null; return _1kf9.PlaneConst.getJetAirUnitPlaneType(); }, _1kfm; }(_1kfh.TaskAirUnit); _1kep.TaskAirUnitJet = _1kfj; }, 75638: function(_1kg3, _1kg4, _1kg5) { 'use strict'; var _1kg6 = null; var _1kg7, _1kg8 = this && this.__extends || (_1kg7 = function(_1kg9, _1kga) { var _1kgb = null; return _1kg7 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1kgc, _1kgd) { var _1kge = null; _1kgc.__proto__ = _1kgd; } || function(_1kgf, _1kgg) { var _1kgh = null; for (var _1kgi in _1kgg) Object.prototype.hasOwnProperty.call(_1kgg, _1kgi) && (_1kgf[_1kgi] = _1kgg[_1kgi]); }, _1kg7(_1kg9, _1kga); }, function(_1kgj, _1kgk) { var _1kgl = null; if ('function' != typeof _1kgk && null !== _1kgk) throw new TypeError('Class extends value ' + String(_1kgk) + ' is not a constructor or null'); function _1kgm() { var _1kgn = null; this.constructor = _1kgj; } _1kg7(_1kgj, _1kgk), _1kgj.prototype = null === _1kgk ? Object.create(_1kgk) : (_1kgm.prototype = _1kgk.prototype, new _1kgm()); }); defineModule(_1kg4); Object.defineProperty(_1kg4, '__esModule', { 'value': !0 }), _1kg4.TaskAirWar = void 0; var _1kgo = _1kg5(5527), _1kgp = _1kg5(55535), _1kgq = _1kg5(88471), _1kgr = _1kg5(85492), _1kgs = _1kg5(56494), _1kgt = _1kg5(70723), _1kgu = _1kg5(60343), _1kgv = _1kg5(35242), _1kgw = _1kg5(8765), _1kgx = _1kg5(18195), _1kgy = _1kg5(82675), _1kgz = function(_1kh0) { var _1kh1 = null; function _1kh2() { var _1kh3 = null; return null !== _1kh0 && _1kh0.apply(this, arguments) || this; } return _1kg8(_1kh2, _1kh0), Object.defineProperty(_1kh2.prototype, 'data_', { 'get': function() { var _1kh4 = null; return this._data; }, 'enumerable': !1, 'configurable': !0 }), _1kh2.prototype._start = function() { var _1kh5 = null; this._log(); var _1kh6 = this._scene.data.model.map_info.isAirRaid(); this._canvas = new _1kgu.AirWarCanvas(_1kh6), this._scene.view.layer_content.addChild(this._canvas), this._createPlanes(this._data.plane_from_f, this._ships_f), this._createPlanes(this._data.plane_from_e, this._ships_e), this._startAircraftFlightAnimation(), this._startMainTask(); }, _1kh2.prototype._log = function() { 0; }, _1kh2.prototype._startMainTask = function() { var _1kh7 = null, _1kh8 = this, _1kh9 = this._splitAttackInfo(this._canvas.planes_f, this._ships_e, this._data.stage3_e), _1kha = _1kh9[0], _1khb = (_1kh9[1], _1kh9[2]), _1khc = this._splitAttackInfo(this._canvas.planes_e, this._ships_f, this._data.stage3_f), _1khd = _1khc[0], _1khe = (_1khc[1], _1khc[2]), _1khf = new _1kgo.ParallelTask(), _1khg = createjs.Tween.get(null).call(_1kgt.SE.play, ['114']).wait(3450); _1khf.add(new _1kgr.TweenTask().addTween(_1khg)), _1khf.add(new _1kgq.FuncTask(function() { var _1khh = null; _1kh8._fireDogFight(); }, 750)), _1khf.add(new _1kgq.FuncTask(function() { var _1khi = null; _1kh8._showTaikuCutin(); }, 900)), _1khf.add(new _1kgq.FuncTask(function() { var _1khj = null; _1kh8._damageAtStage1(); }, 1050)), _1khf.add(new _1kgq.FuncTask(function() { var _1khk = null; _1kh8._antiAircraft(); }, 1200)), _1khf.add(new _1kgq.FuncTask(function() { var _1khl = null; _1kh8._damageAtStage2(); }, 1350)), _1khf.add(new _1kgp.SerialTask().add(new _1kgs.WaitTask(1700)).add(new _1kgo.ParallelTask().add(new _1kgx.TaskAirWarTorpedo(this._scene, this._data, _1kha.plane, _1kha.damaged_ship)).add(new _1kgx.TaskAirWarTorpedo(this._scene, this._data, _1khd.plane, _1khd.damaged_ship)))), _1khf.add(new _1kgp.SerialTask().add(new _1kgs.WaitTask(1000)).add(new _1kgo.ParallelTask().add(new _1kgy.TaskAirWarBomb(this._scene, this._data, _1khb.plane, _1khb.damaged_ship)).add(new _1kgy.TaskAirWarBomb(this._scene, this._data, _1khe.plane, _1khe.damaged_ship)))), _1khf.add(new _1kgq.FuncTask(function() { var _1khm = null; _1kh8._showBakuExplosion(); }, 2950)), _1khf.add(new _1kgq.FuncTask(function() { var _1khn = null; _1kh8._showDamage(); }, 3300)), _1khf.add(new _1kgq.FuncTask(function() { var _1kho = null; _1kh8._showDamageNumber(); }, 3600)), this._main_task = _1khf, this._main_task.start(function() {}); }, _1kh2.prototype._showSeikuResult = function() { var _1khp = null, _1khq = this._scene.view.layer_content; new _1kgw.TaskAirWarShowSeiku(_1khq, this.data_.seiku).start(); }, _1kh2; }(_1kgv.TaskAircraftFlightBase); _1kg4.TaskAirWar = _1kgz; }, 30596: function(_1khr, _1khs, _1kht) { 'use strict'; var _1khu = null; var _1khv, _1khw = this && this.__extends || (_1khv = function(_1khx, _1khy) { var _1khz = null; return _1khv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ki0, _1ki1) { var _1ki2 = null; _1ki0.__proto__ = _1ki1; } || function(_1ki3, _1ki4) { var _1ki5 = null; for (var _1ki6 in _1ki4) Object.prototype.hasOwnProperty.call(_1ki4, _1ki6) && (_1ki3[_1ki6] = _1ki4[_1ki6]); }, _1khv(_1khx, _1khy); }, function(_1ki7, _1ki8) { var _1ki9 = null; if ('function' != typeof _1ki8 && null !== _1ki8) throw new TypeError('Class extends value ' + String(_1ki8) + ' is not a constructor or null'); function _1kia() { var _1kib = null; this.constructor = _1ki7; } _1khv(_1ki7, _1ki8), _1ki7.prototype = null === _1ki8 ? Object.create(_1ki8) : (_1kia.prototype = _1ki8.prototype, new _1kia()); }); defineModule(_1khs); Object.defineProperty(_1khs, '__esModule', { 'value': !0 }), _1khs.TaskAirWarJet = void 0; var _1kic = _1kht(41503), _1kid = _1kht(5527), _1kie = _1kht(55535), _1kif = _1kht(88471), _1kig = _1kht(85492), _1kih = _1kht(56494), _1kii = _1kht(70723), _1kij = _1kht(75638), _1kik = _1kht(80995), _1kil = _1kht(8689), _1kim = function(_1kin) { var _1kio = null; function _1kip() { var _1kiq = null; return null !== _1kin && _1kin.apply(this, arguments) || this; } return _1khw(_1kip, _1kin), _1kip.prototype._start = function() { var _1kir = null; this._log(); var _1kis = this._scene.data.model.map_info.isAirRaid(); this._canvas = new _1kik.AirWarJetCanvas(_1kis), this._scene.view.layer_content.addChild(this._canvas), this._createPlanes(this._data.plane_from_f, this._ships_f), this._createPlanes(this._data.plane_from_e, this._ships_e), this._startAircraftFlightAnimation(), this._startMainTask(); }, _1kip.prototype._log = function() { 0; }, _1kip.prototype._startMainTask = function() { var _1kit = null, _1kiu = this, _1kiv = new _1kid.ParallelTask(), _1kiw = createjs.Tween.get(null).call(_1kii.SE.play, ['220']).wait(1700); _1kiv.add(new _1kig.TweenTask().addTween(_1kiw)), _1kiv.add(new _1kif.FuncTask(function() { var _1kix = null; _1kiu._fireDogFight(); }, 350)), _1kiv.add(new _1kif.FuncTask(function() { var _1kiy = null; _1kiu._showTaikuCutin(); }, 450)), _1kiv.add(new _1kif.FuncTask(function() { var _1kiz = null; _1kiu._damageAtStage1(); }, 500)), _1kiv.add(new _1kif.FuncTask(function() { var _1kj0 = null; _1kiu._antiAircraft(); }, 600)), _1kiv.add(new _1kif.FuncTask(function() { var _1kj1 = null; _1kiu._damageAtStage2(); }, 700)), _1kiv.add(new _1kie.SerialTask().add(new _1kih.WaitTask(850)).add(new _1kid.ParallelTask().add(new _1kil.TaskAerialTorpedoJet(this._scene, this._data, this._canvas.planes_f, this._ships_e)).add(new _1kil.TaskAerialTorpedoJet(this._scene, this._data, this._canvas.planes_e, this._ships_f)))), _1kiv.add(new _1kif.FuncTask(function() { var _1kj2 = null; _1kiu._showBakuExplosion(); }, 1500)), _1kiv.add(new _1kif.FuncTask(function() { var _1kj3 = null; _1kiu._showDamage(); }, 1650)), this._main_task = _1kiv, this._main_task.start(function() { var _1kj4 = null; _1kiu._showDamageNumber(); }); }, _1kip.prototype._showSeikuResult = function() {}, _1kip.prototype._getPlaneType = function() { var _1kj5 = null; return _1kic.PlaneConst.getJetPlaneType(); }, _1kip; }(_1kij.TaskAirWar); _1khs.TaskAirWarJet = _1kim; }, 35242: function(_1kj6, _1kj7, _1kj8) { 'use strict'; var _1kj9 = null; var _1kja, _1kjb = this && this.__extends || (_1kja = function(_1kjc, _1kjd) { var _1kje = null; return _1kja = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1kjf, _1kjg) { var _1kjh = null; _1kjf.__proto__ = _1kjg; } || function(_1kji, _1kjj) { var _1kjk = null; for (var _1kjl in _1kjj) Object.prototype.hasOwnProperty.call(_1kjj, _1kjl) && (_1kji[_1kjl] = _1kjj[_1kjl]); }, _1kja(_1kjc, _1kjd); }, function(_1kjm, _1kjn) { var _1kjo = null; if ('function' != typeof _1kjn && null !== _1kjn) throw new TypeError('Class extends value ' + String(_1kjn) + ' is not a constructor or null'); function _1kjp() { var _1kjq = null; this.constructor = _1kjm; } _1kja(_1kjm, _1kjn), _1kjm.prototype = null === _1kjn ? Object.create(_1kjn) : (_1kjp.prototype = _1kjn.prototype, new _1kjp()); }), _1kjr = this && this.__spreadArray || function(_1kjs, _1kjt, _1kju) { var _1kjv = null; if (_1kju || 2 === arguments.length) { for (var _1kjw, _1kjx = 0, _1kjy = _1kjt.length; _1kjx < _1kjy; _1kjx++) !_1kjw && _1kjx in _1kjt || (_1kjw || (_1kjw = Array.prototype.slice.call(_1kjt, 0, _1kjx)), _1kjw[_1kjx] = _1kjt[_1kjx]); } return _1kjs.concat(_1kjw || Array.prototype.slice.call(_1kjt)); }, _1kjz = this && this.__importDefault || function(_1kk0) { var _1kk1 = null; return _1kk0 && _1kk0.__esModule ? _1kk0 : { 'default': _1kk0 }; }; defineModule(_1kj7); Object.defineProperty(_1kj7, '__esModule', { 'value': !0 }), _1kj7.TaskAircraftFlightBase = void 0; var _1kk2 = _1kjz(_1kj8(18622)), _1kk3 = _1kj8(41503), _1kk4 = _1kj8(51805), _1kk5 = _1kj8(81755), _1kk6 = _1kj8(70723), _1kk7 = _1kj8(16885), _1kk8 = _1kj8(31793), _1kk9 = _1kj8(88807), _1kka = _1kj8(92547), _1kkb = function(_1kkc) { var _1kkd = null; function _1kke(_1kkf, _1kkg, _1kkh, _1kki, _1kkj, _1kkk, _1kkl) { var _1kkm = null; void 0 === _1kkl && (_1kkl = 0); var _1kkn = _1kkc.call(this) || this; return _1kkn._completeflg_plane = !1, _1kkn._complete_show_damage_number = !1, _1kkn.HAS_MISSILE_PLANES = [405, 406, 444, 454, 484], _1kkn.BOUNCE_TORPEDO_PLANES = _1kjr([459], _1kka.ENEMY_BOUNCE_TORPEDO_PLANES, !0), _1kkn._scene = _1kkf, _1kkn._data = _1kkg, _1kkn._ships_f = _1kkh, _1kkn._ships_e = _1kki, _1kkn._damage_cutin = _1kkj, _1kkn._aaCutin = _1kkk, _1kkn._rescue = _1kkl, _1kkn._hunshin_danmaku = [], _1kkn; } return _1kjb(_1kke, _1kkc), _1kke.prototype._start = function() {}, _1kke.prototype._log = function() {}, _1kke.prototype._getPlaneType = function() { var _1kko = null; return _1kk3.PlaneConst.getPlaneType(!0); }, _1kke.prototype._getPlanes = function(_1kkp, _1kkq) { var _1kkr = null, _1kks = this._getPlaneType(), _1kkt = []; for (var _1kku = 0, _1kkv = _1kkp.slots; _1kku < _1kkv.length; _1kku++) { var _1kkw = _1kkv[_1kku]; if (null != _1kkw && _1kks.indexOf(_1kkw.equipTypeSp) >= -0) { var _1kkx = new _1kk9.Plane(), _1kky = new PIXI.Point([45, 18, -36][_1kkt.length], [18, -27, 38][_1kkt.length]); if (_1kkx.initialize(_1kkw.mst_id, _1kkp.friend, _1kkq, _1kky), _1kkt.push(_1kkx), _1kkt.length >= 3) break; } } return _1kkt; }, _1kke.prototype._createPlanes = function(_1kkz, _1kl0) { var _1kl1 = null; for (var _1kl2 = 0, _1kl3 = _1kkz; _1kl2 < _1kl3.length; _1kl2++) { var _1kl4 = _1kl0[_1kl3[_1kl2]]; if (null != _1kl4) { var _1kl5 = this._scene.view.bannerGroupLayer.getBanner(_1kl4), _1kl6 = _1kl5.getGlobalPos(!0); 0 == _1kl5.entered && (_1kl6.x = _1kl5.friend ? -240 : 1440); var _1kl7 = this._getPlanes(_1kl4, _1kl6); 1 == _1kl4.friend ? this._canvas.addPlanes_f(_1kl7) : this._canvas.addPlanes_e(_1kl7); } } }, _1kke.prototype._startAircraftFlightAnimation = function() { var _1kl8 = null; for (var _1kl9 = this, _1kla = 0, _1klb = this._canvas.planes_f; _1kla < _1klb.length; _1kla++) { _1klb[_1kla].startFluctuations(); } for (var _1klc = 0, _1kld = this._canvas.planes_f; _1klc < _1kld.length; _1klc++) { _1kld[_1klc].startFluctuations(); } this._canvas.play(function() { var _1kle = null; for (var _1klf = 0, _1klg = _1kl9._canvas.planes_f; _1klf < _1klg.length; _1klf++) { _1klg[_1klf].stopFluctuations(); } for (var _1klh = 0, _1kli = _1kl9._canvas.planes_f; _1klh < _1kli.length; _1klh++) { _1kli[_1klh].stopFluctuations(); } _1kl9._completeflg_plane = !0, _1kl9._endTask(); }); }, _1kke.prototype._fireDogFight = function() { var _1klj = null, _1klk = this._data.plane_from_f; if (null != _1klk && 0 != _1klk.length) { var _1kll = this._data.plane_from_e; if (null != _1kll && 0 != _1kll.length) { var _1klm = this._canvas.planes_f, _1kln = this.__fireDogFight(_1klm); _1klm = this._canvas.planes_e; var _1klo = this.__fireDogFight(_1klm); (_1kln || _1klo) && _1kk6.SE.play('116'); } } }, _1kke.prototype.__fireDogFight = function(_1klp) { var _1klq = null; for (var _1klr = !1, _1kls = 0, _1klt = _1klp; _1kls < _1klt.length; _1kls++) { var _1klu = _1klt[_1kls], _1klv = _1klu.mst_id, _1klw = _1kk2.default.model.slot.getMst(_1klv); null != _1klw && _1kk3.PlaneConst.ATTACKABLE_TYPE.indexOf(_1klw.equipTypeSp) >= 0 && (_1klu.fire(), _1klr = !0); } return _1klr; }, _1kke.prototype._showTaikuCutin = function() { var _1klx = null, _1kly = this; null != this._aaCutin && (createjs.Ticker.setPaused(!0), this._aaCutin.init(), this._scene.view.layer_cutin.addChild(this._aaCutin), this._aaCutin.play(function() { var _1klz = null; _1kly._scene.view.layer_cutin.removeChild(_1kly._aaCutin), createjs.Ticker.setPaused(!1); })); }, _1kke.prototype._damageAtStage1 = function() { var _1km0 = null, _1km1 = this._data.plane_count_f.count, _1km2 = this._data.plane_count_f.lost_count_stage1, _1km3 = this._canvas.planes_f; this._planeDamage(_1km1, _1km2, _1km3), _1km1 = this._data.plane_count_e.count, _1km2 = this._data.plane_count_e.lost_count_stage1, _1km3 = this._canvas.planes_e, this._planeDamage(_1km1, _1km2, _1km3); }, _1kke.prototype._planeDamage = function(_1km4, _1km5, _1km6) { var _1km7 = null; if (!(_1km4 <= 0 || _1km5 <= 0)) for (var _1km8 = (_1km5 = Math.min(_1km5, _1km4)) / _1km4, _1km9 = (_1km6 = _1km6.concat()).length * _1km8; _1km6.length > 0 && _1km9 > 0;) { var _1kma = Math.floor(Math.random() * _1km6.length), _1kmb = _1km6[_1kma]; if (_1kmb.power > 0) { var _1kmc = Math.min(_1km9, _1kmb.power); _1km9 -= _1kmc, _1kmb.power -= _1kmc, 0 == _1kmb.power ? _1kmb.crash() : _1kmb.damage(); } _1km6.splice(_1kma, 1); } }, _1kke.prototype._antiAircraft = function() { var _1kmd = null, _1kme = this._data.plane_from_e; if (null != _1kme && 0 != _1kme.length) { for (var _1kmf = [], _1kmg = 0, _1kmh = this._ships_f; _1kmg < _1kmh.length; _1kmg++) { var _1kmi = _1kmh[_1kmg], _1kmj = this._getAntiAircraftAbility(_1kmi); if (0 != _1kmj) { for (var _1kmk = this._data.stage3_f.getDamage(_1kmi.index), _1kml = this._canvas.planes_e.concat(), _1kmm = null; _1kml.length > 0;) { if (_1kml[_1kmn = Math.floor(Math.random() * _1kml.length)].power > 0) { _1kmm = _1kml[_1kmn]; break; } _1kml.splice(_1kmn, 1); } var _1kmo = new _1kk7.TaskAirWarAntiAircraft(this._scene, _1kmi, _1kmk, _1kmj, _1kmm); _1kmf.push(_1kmo); } } if (0 == _1kmf.length) { for (_1kmi = this._ships_f[0], _1kmk = this._data.stage3_f.getDamage(_1kmi.index), _1kml = this._canvas.planes_e.concat(), _1kmm = null; _1kml.length > 0;) { var _1kmn; if (_1kml[_1kmn = Math.floor(Math.random() * _1kml.length)].power > 0) { _1kmm = _1kml[_1kmn]; break; } _1kml.splice(_1kmn, 1); } _1kmo = new _1kk7.TaskAirWarAntiAircraft(this._scene, _1kmi, _1kmk, 1, _1kmm), _1kmf.push(_1kmo); } _1kk6.SE.play('116'); for (var _1kmp = 0, _1kmq = _1kmf; _1kmp < _1kmq.length; _1kmp++) { (_1kmo = _1kmq[_1kmp]).start(); } } }, _1kke.prototype._getAntiAircraftAbility = function(_1kmr) { var _1kms = null; if (null == _1kmr) return 0; if (0 == _1kmr.damageType) return 0; if (1 == _1kmr.isTaihi()) return 0; var _1kmt = _1kjr([], _1kmr.slots, !0); _1kmt.push(_1kmr.slot_ex); for (var _1kmu = [], _1kmv = [], _1kmw = [], _1kmx = 0, _1kmy = _1kmt; _1kmx < _1kmy.length; _1kmx++) { var _1kmz = _1kmy[_1kmx]; null != _1kmz && (_1kmu.push(_1kmz.mst_id), _1kmv.push(_1kmz.equipType), _1kmw.push(_1kmz.iconType)); } var _1kn0 = !1; if (_1kmu.indexOf(274) >= 0 && this._isHunshinhouShipType(_1kmr.stype) && (_1kn0 = !0, this._hunshin_danmaku.push(_1kmr)), _1kmv.indexOf(_1kk4.EquipType._18_SANSHIKI_DAN) >= 0) return _1kn0 ? 6 : 5; if (_1kn0) return 4; if (_1kmu.indexOf(51) >= 0) return 3; if (_1kmw.indexOf(16) >= 0) return 2; if (_1kmv.indexOf(_1kk4.EquipType._21_TAIKU_KIJU) >= 0) return 1; for (var _1kn1 = 0, _1kn2 = _1kmt; _1kn1 < _1kn2.length; _1kn1++) { var _1kn3 = _1kn2[_1kn1]; if (null != _1kn3 && (11 == _1kn3.iconType && _1kn3.taiku > 0)) return 1; } }, _1kke.prototype._isHunshinhouShipType = function(_1kn4) { return 6 == _1kn4 || (7 == _1kn4 || (10 == _1kn4 || (11 == _1kn4 || (16 == _1kn4 || 18 == _1kn4)))); }, _1kke.prototype._damageAtStage2 = function() { var _1kn5 = null; this._showSeikuResult(); var _1kn6 = this._data.plane_count_f.count, _1kn7 = this._data.plane_count_f.lost_count_stage2, _1kn8 = this._canvas.planes_f; this._planeDamage(_1kn6, _1kn7, _1kn8), _1kn6 = this._data.plane_count_e.count, _1kn7 = this._data.plane_count_e.lost_count_stage2, _1kn8 = this._canvas.planes_e, this._planeDamage(_1kn6, _1kn7, _1kn8); }, _1kke.prototype._showSeikuResult = function() {}, _1kke.prototype._showBakuExplosion = function() { var _1kn9 = null, _1kna = this._data.stage3_f, _1knb = this._bakuExplosion_f(_1kna), _1knc = this._data.stage3_e, _1knd = this._bakuExplosion_e(_1knc); (_1knb || _1knd) && _1kk6.SE.play('104'); }, _1kke.prototype._bakuExplosion_f = function(_1kne) { var _1knf = null, _1kng = _1kne.beBombed(this._scene.data.model.deck_f.ships_main.length), _1knh = !!this._scene.data.model.deck_f.isCombined() && _1kne.beBombedCombined(); return 1 == _1kng && this._scene.view.layer_explosion.playExplosions(132, 306), 1 == _1knh && this._scene.view.layer_explosion.playExplosions(387, 306), _1kng || _1knh; }, _1kke.prototype._bakuExplosion_e = function(_1kni) { var _1knj = null, _1knk = _1kni.beBombed(this._scene.data.model.deck_e.ships_main.length), _1knl = !!this._scene.data.model.deck_e.isCombined() && _1kni.beBombedCombined(); return 1 == _1knk && this._scene.view.layer_explosion.playExplosions(1080, 417), 1 == _1knl && this._scene.view.layer_explosion.playExplosions(825, 417), _1knk || _1knl; }, _1kke.prototype._showDamage = function() { var _1knm = null; for (var _1knn = this._data.stage3_f, _1kno = 0, _1knp = this._ships_f; _1kno < _1knp.length; _1kno++) { var _1knq = _1knp[_1kno]; this._damage(_1knq, _1knn); } _1knn = this._data.stage3_e; for (var _1knr = 0, _1kns = this._ships_e; _1knr < _1kns.length; _1knr++) { _1knq = _1kns[_1knr], this._damage(_1knq, _1knn); } }, _1kke.prototype._damage = function(_1knt, _1knu) { var _1knv = null; if (null != _1knt) { var _1knw = _1knt.index, _1knx = _1knu.getRai(_1knw), _1kny = _1knu.getBak(_1knw), _1knz = _1knu.getDamage(_1knw); if (0 == _1knx && (1 == _1kny || _1knz > 0)) { var _1ko0 = this._scene.view.bannerGroupLayer.getBanner(_1knt), _1ko1 = _1knu.isShield(_1knw); if (1 == _1ko1) { var _1ko2 = this._scene.view.bannerGroupLayer.getShieldTargetBanner(_1ko0); this._scene.view.layer_damage.showShieldAtBanner(_1ko2); } _1ko0.moveAtDamage(_1ko1); }(_1kny || _1knx || _1knz > 0) && (_1knu.getHitType(_1knw), 0); } }, _1kke.prototype._showDamageNumber = function() { var _1ko3 = null, _1ko4 = this, _1ko5 = this._scene, _1ko6 = this._data, _1ko7 = this._damage_cutin, _1ko8 = this._ships_f, _1ko9 = this._ships_e; new _1kk8.TaskAirWarDamageNumber(_1ko5, _1ko6, _1ko7, _1ko8, _1ko9, this._hunshin_danmaku).start(function() { var _1koa = null; _1ko4._complete_show_damage_number = !0, _1ko4._endTask(); }); }, _1kke.prototype._splitAttackInfo = function(_1kob, _1koc, _1kod) { var _1koe = null, _1kof = this, _1kog = new Array(), _1koh = new Array(), _1koi = new Array(); _1kob.forEach(function(_1koj) { var _1kok = null; _1kof._isMissile(null == _1koj ? void 0 : _1koj.mst_id) ? _1koh.push(_1koj) : _1kof._isBomb(null == _1koj ? void 0 : _1koj.mst_id) ? _1koi.push(_1koj) : _1kog.push(_1koj); }); for (var _1kol = new Array(), _1kom = new Array(), _1kon = new Array(), _1koo = [], _1kop = [], _1koq = 0, _1kor = _1koc; _1koq < _1kor.length; _1koq++) { null != (_1kos = _1kor[_1koq]) && _1kod.getRai(_1kos.index) && _1koo.push(_1kos), null != _1kos && _1kod.getBounce(_1kos.index) && _1kop.push(_1kos); } if (_1koo.length > 0) { if (0 == _1koh.length) _1kol = _1koo.concat(); else { if (0 == _1kog.length) _1kom = _1koo.concat(); else { var _1kot = Math.floor(Math.random() * _1koo.length); _1kom.push(_1koo.splice(_1kot, 1)[0]); for (var _1kou = 0, _1kov = _1koo; _1kou < _1kov.length; _1kou++) { var _1kos = _1kov[_1kou]; if (_1kom.length < _1koh.length) Math.floor(2 * Math.random()) < 1 ? _1kol.push(_1kos) : _1kom.push(_1kos); else _1kol.push(_1kos); } } } 0; } return _1kop.length > 0 && _1koi.length > 0 && (_1kon = _1kop.concat().sort(function(_1kow, _1kox) { var _1koy = null; return _1kow.index - _1kox.index; })), [{ 'plane': _1kog, 'damaged_ship': _1kol }, { 'plane': _1koh, 'damaged_ship': _1kom }, { 'plane': _1koi, 'damaged_ship': _1kon }]; }, _1kke.prototype._isMissile = function(_1koz) { var _1kp0 = null; return this.HAS_MISSILE_PLANES.indexOf(_1koz) >= 0; }, _1kke.prototype._isBomb = function(_1kp1) { var _1kp2 = null; return this.BOUNCE_TORPEDO_PLANES.indexOf(_1kp1) >= 0; }, _1kke.prototype._endTask = function() { var _1kp3 = null; 0 != this._completeflg_plane && 0 != this._complete_show_damage_number && (this._scene = null, this._data = null, this._ships_f = null, this._ships_e = null, this._damage_cutin = null, null != this._aaCutin && this._aaCutin.dispose(), null != this._canvas.parent && this._canvas.parent.removeChild(this._canvas), this._canvas.dispose(), this._canvas = null, _1kkc.prototype._endTask.call(this)); }, _1kke; }(_1kk5.TaskBase); _1kj7.TaskAircraftFlightBase = _1kkb; }, 96692: function(_1kp4, _1kp5, _1kp6) { 'use strict'; var _1kp7 = null; var _1kp8, _1kp9 = this && this.__extends || (_1kp8 = function(_1kpa, _1kpb) { var _1kpc = null; return _1kp8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1kpd, _1kpe) { var _1kpf = null; _1kpd.__proto__ = _1kpe; } || function(_1kpg, _1kph) { var _1kpi = null; for (var _1kpj in _1kph) Object.prototype.hasOwnProperty.call(_1kph, _1kpj) && (_1kpg[_1kpj] = _1kph[_1kpj]); }, _1kp8(_1kpa, _1kpb); }, function(_1kpk, _1kpl) { var _1kpm = null; if ('function' != typeof _1kpl && null !== _1kpl) throw new TypeError('Class extends value ' + String(_1kpl) + ' is not a constructor or null'); function _1kpn() { var _1kpo = null; this.constructor = _1kpk; } _1kp8(_1kpk, _1kpl), _1kpk.prototype = null === _1kpl ? Object.create(_1kpl) : (_1kpn.prototype = _1kpl.prototype, new _1kpn()); }); defineModule(_1kp5); Object.defineProperty(_1kp5, '__esModule', { 'value': !0 }), _1kp5.TaskAllyAirWar = void 0; var _1kpp = _1kp6(31000), _1kpq = function(_1kpr) { var _1kps = null; function _1kpt() { var _1kpu = null; return null !== _1kpr && _1kpr.apply(this, arguments) || this; } return _1kp9(_1kpt, _1kpr), _1kpt.prototype._showSeikuResult = function() {}, _1kpt.prototype._showBakuExplosion = function() { var _1kpv = null, _1kpw = this._data.stage3_f, _1kpx = this._bakuExplosion_f(_1kpw), _1kpy = this._data.stage3_e, _1kpz = _1kpr.prototype._bakuExplosion_e.call(this, _1kpy); (_1kpx || _1kpz) && _1kpp.SE.play('104'); }, _1kpt.prototype._bakuExplosion_f = function(_1kq0) { var _1kq1 = null, _1kq2 = _1kq0.beBombed(this._ships_f.length); return 1 == _1kq2 && this._scene.view.layer_explosion.playExplosions(132, 306), _1kq2; }, _1kpt; }(_1kp6(75638).TaskAirWar); _1kp5.TaskAllyAirWar = _1kpq; }, 81322: function(_1kq3, _1kq4, _1kq5) { 'use strict'; var _1kq6 = null; var _1kq7, _1kq8 = this && this.__extends || (_1kq7 = function(_1kq9, _1kqa) { var _1kqb = null; return _1kq7 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1kqc, _1kqd) { var _1kqe = null; _1kqc.__proto__ = _1kqd; } || function(_1kqf, _1kqg) { var _1kqh = null; for (var _1kqi in _1kqg) Object.prototype.hasOwnProperty.call(_1kqg, _1kqi) && (_1kqf[_1kqi] = _1kqg[_1kqi]); }, _1kq7(_1kq9, _1kqa); }, function(_1kqj, _1kqk) { var _1kql = null; if ('function' != typeof _1kqk && null !== _1kqk) throw new TypeError('Class extends value ' + String(_1kqk) + ' is not a constructor or null'); function _1kqm() { var _1kqn = null; this.constructor = _1kqj; } _1kq7(_1kqj, _1kqk), _1kqj.prototype = null === _1kqk ? Object.create(_1kqk) : (_1kqm.prototype = _1kqk.prototype, new _1kqm()); }), _1kqo = this && this.__importDefault || function(_1kqp) { var _1kqq = null; return _1kqp && _1kqp.__esModule ? _1kqp : { 'default': _1kqp }; }; defineModule(_1kq4); Object.defineProperty(_1kq4, '__esModule', { 'value': !0 }), _1kq4.TaskSupportAir = void 0; var _1kqr = _1kqo(_1kq5(18622)), _1kqs = _1kq5(88471), _1kqt = _1kq5(5527), _1kqu = _1kq5(85492), _1kqv = _1kq5(55535), _1kqw = _1kq5(56494), _1kqx = _1kq5(70723), _1kqy = _1kq5(60343), _1kqz = _1kq5(35242), _1kr0 = _1kq5(88807), _1kr1 = _1kq5(94328), _1kr2 = _1kq5(18195), _1kr3 = function(_1kr4) { var _1kr5 = null; function _1kr6() { var _1kr7 = null; return null !== _1kr4 && _1kr4.apply(this, arguments) || this; } return _1kq8(_1kr6, _1kr4), Object.defineProperty(_1kr6.prototype, 'data_', { 'get': function() { var _1kr8 = null; return this._data; }, 'enumerable': !1, 'configurable': !0 }), _1kr6.prototype._start = function() { var _1kr9 = null; this._log(), (this._canvas = new _1kqy.AirWarCanvas(!1), this._scene.view.layer_content.addChild(this._canvas), this._createFriendPlanes(), this._createPlanes(this._data.plane_from_e, this._ships_e), this._startAircraftFlightAnimation(), this._startMainTask()); }, _1kr6.prototype._log = function() { 0; }, _1kr6.prototype._startMainTask = function() { var _1kra = null, _1krb = this, _1krc = new _1kqt.ParallelTask(), _1krd = createjs.Tween.get(null).call(_1kqx.SE.play, ['114']).wait(3450); _1krc.add(new _1kqu.TweenTask().addTween(_1krd)), _1krc.add(new _1kqs.FuncTask(function() { var _1kre = null; _1krb._fireDogFight(); }, 750)), _1krc.add(new _1kqs.FuncTask(function() { var _1krf = null; _1krb._showTaikuCutin(); }, 900)), _1krc.add(new _1kqs.FuncTask(function() { var _1krg = null; _1krb._damageAtStage1(); }, 1050)), _1krc.add(new _1kqs.FuncTask(function() { var _1krh = null; _1krb._antiAircraft(); }, 1200)), _1krc.add(new _1kqs.FuncTask(function() { var _1kri = null; _1krb._damageAtStage2(); }, 1350)), _1krc.add(new _1kqv.SerialTask().add(new _1kqw.WaitTask(1700)).add(new _1kqt.ParallelTask().add(new _1kr1.TaskAirSupportTorpedo(this._scene, this._data, this._canvas.planes_f, this._ships_e)).add(new _1kr2.TaskAirWarTorpedo(this._scene, this._data, this._canvas.planes_e, this._ships_f)))), _1krc.add(new _1kqs.FuncTask(function() { var _1krj = null; _1krb._showBakuExplosion(); }, 2950)), _1krc.add(new _1kqs.FuncTask(function() { var _1krk = null; _1krb._showDamage(); }, 3300)), this._main_task = _1krc, this._main_task.start(function() { var _1krl = null; _1krb._showDamageNumber(); }); }, _1kr6.prototype._createFriendPlanes = function() { var _1krm = null; for (var _1krn = 0, _1kro = 0, _1krp = this.data_.getShipList(); _1kro < _1krp.length; _1kro++) { var _1krq = _1krp[_1kro].mem_id, _1krr = _1kqr.default.model.ship.get(_1krq); null != _1krr && ((6 == _1krr.shipTypeID || 7 == _1krr.shipTypeID || 10 == _1krr.shipTypeID || 11 == _1krr.shipTypeID || 15 == _1krr.shipTypeID || 16 == _1krr.shipTypeID || 17 == _1krr.shipTypeID || 18 == _1krr.shipTypeID || 22 == _1krr.shipTypeID) && _1krn++); } _1krn = Math.min(6, _1krn); for (var _1krs = [], _1krt = 0; _1krt < _1krn; _1krt++) { var _1kru = new _1kr0.Plane(), _1krv = new PIXI.Point(45 * Math.random() - 75 - 23, 360 / _1krn * _1krt + 150 + (45 * Math.random() - 23)), _1krw = new PIXI.Point(); _1kru.initialize(16, !0, _1krv, _1krw), _1krs.push(_1kru); } this._canvas.addPlanes_f(_1krs); }, _1kr6; }(_1kqz.TaskAircraftFlightBase); _1kq4.TaskSupportAir = _1kr3; }, 92151: function(_1krx, _1kry, _1krz) { 'use strict'; var _1ks0 = null; var _1ks1, _1ks2 = this && this.__extends || (_1ks1 = function(_1ks3, _1ks4) { var _1ks5 = null; return _1ks1 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ks6, _1ks7) { var _1ks8 = null; _1ks6.__proto__ = _1ks7; } || function(_1ks9, _1ksa) { var _1ksb = null; for (var _1ksc in _1ksa) Object.prototype.hasOwnProperty.call(_1ksa, _1ksc) && (_1ks9[_1ksc] = _1ksa[_1ksc]); }, _1ks1(_1ks3, _1ks4); }, function(_1ksd, _1kse) { var _1ksf = null; if ('function' != typeof _1kse && null !== _1kse) throw new TypeError('Class extends value ' + String(_1kse) + ' is not a constructor or null'); function _1ksg() { var _1ksh = null; this.constructor = _1ksd; } _1ks1(_1ksd, _1kse), _1ksd.prototype = null === _1kse ? Object.create(_1kse) : (_1ksg.prototype = _1kse.prototype, new _1ksg()); }), _1ksi = this && this.__importDefault || function(_1ksj) { var _1ksk = null; return _1ksj && _1ksj.__esModule ? _1ksj : { 'default': _1ksj }; }; defineModule(_1kry); Object.defineProperty(_1kry, '__esModule', { 'value': !0 }), _1kry.TaskSupportTaisen = void 0; var _1ksl = _1ksi(_1krz(18622)), _1ksm = _1krz(88471), _1ksn = _1krz(5527), _1kso = _1krz(85492), _1ksp = _1krz(55535), _1ksq = _1krz(56494), _1ksr = _1krz(70723), _1kss = _1krz(60343), _1kst = _1krz(35242), _1ksu = _1krz(88807), _1ksv = _1krz(94328), _1ksw = _1krz(18195), _1ksx = function(_1ksy) { var _1ksz = null; function _1kt0() { var _1kt1 = null; return null !== _1ksy && _1ksy.apply(this, arguments) || this; } return _1ks2(_1kt0, _1ksy), Object.defineProperty(_1kt0.prototype, 'data_', { 'get': function() { var _1kt2 = null; return this._data; }, 'enumerable': !1, 'configurable': !0 }), _1kt0.prototype._start = function() { var _1kt3 = null; this._log(), (this._canvas = new _1kss.AirWarCanvas(!1), this._scene.view.layer_content.addChild(this._canvas), this._createFriendPlanes(), this._createPlanes(this._data.plane_from_e, this._ships_e), this._startAircraftFlightAnimation(), this._startMainTask()); }, _1kt0.prototype._log = function() { 0; }, _1kt0.prototype._startMainTask = function() { var _1kt4 = null, _1kt5 = this, _1kt6 = new _1ksn.ParallelTask(), _1kt7 = createjs.Tween.get(null).call(_1ksr.SE.play, ['114']).wait(3450); _1kt6.add(new _1kso.TweenTask().addTween(_1kt7)), _1kt6.add(new _1ksm.FuncTask(function() { var _1kt8 = null; _1kt5._fireDogFight(); }, 750)), _1kt6.add(new _1ksm.FuncTask(function() { var _1kt9 = null; _1kt5._showTaikuCutin(); }, 900)), _1kt6.add(new _1ksm.FuncTask(function() { var _1kta = null; _1kt5._damageAtStage1(); }, 1050)), _1kt6.add(new _1ksm.FuncTask(function() { var _1ktb = null; _1kt5._antiAircraft(); }, 1200)), _1kt6.add(new _1ksm.FuncTask(function() { var _1ktc = null; _1kt5._damageAtStage2(); }, 1350)), _1kt6.add(new _1ksp.SerialTask().add(new _1ksq.WaitTask(1700)).add(new _1ksn.ParallelTask().add(new _1ksv.TaskAirSupportTorpedo(this._scene, this._data, this._canvas.planes_f, this._ships_e)).add(new _1ksw.TaskAirWarTorpedo(this._scene, this._data, this._canvas.planes_e, this._ships_f)))), _1kt6.add(new _1ksm.FuncTask(function() { var _1ktd = null; _1kt5._showBakuExplosion(); }, 2950)), _1kt6.add(new _1ksm.FuncTask(function() { var _1kte = null; _1kt5._showDamage(); }, 3300)), this._main_task = _1kt6, this._main_task.start(function() { var _1ktf = null; _1kt5._showDamageNumber(); }); }, _1kt0.prototype._createFriendPlanes = function() { var _1ktg = null; for (var _1kth = 0, _1kti = 0, _1ktj = this.data_.getShipList(); _1kti < _1ktj.length; _1kti++) { var _1ktk = _1ktj[_1kti].mem_id, _1ktl = _1ksl.default.model.ship.get(_1ktk); if (null != _1ktl) for (var _1ktm = _1ktl.getSlotitems(), _1ktn = 0; _1ktn < _1ktm.length; _1ktn++) { var _1kto = _1ktm[_1ktn]; if (null != _1kto) { var _1ktp = _1ktl.getSlotitemTousai(_1ktn); _1kto.taisen > 0 && _1ktp > 0 && _1kth++; } } } var _1ktq = []; for (_1ktn = 0; _1ktn < _1kth; _1ktn++) { var _1ktr = new _1ksu.Plane(), _1kts = new PIXI.Point(45 * Math.random() - 75 - 23, 360 / _1kth * _1ktn + 150 + (45 * Math.random() - 23)), _1ktt = new PIXI.Point(); _1ktr.initialize(16, !0, _1kts, _1ktt), _1ktq.push(_1ktr); } this._canvas.addPlanes_f(_1ktq); }, _1kt0; }(_1kst.TaskAircraftFlightBase); _1kry.TaskSupportTaisen = _1ksx; }, 85977: (_1ktu, _1ktv, _1ktw) => { 'use strict'; var _1ktx = null; defineModule(_1ktv); Object.defineProperty(_1ktv, '__esModule', { 'value': !0 }), _1ktv.AirWarStage3Model = void 0; var _1kty = _1ktw(89939), _1ktz = (function() { var _1ku0 = null; function _1ku1(_1ku2, _1ku3, _1ku4) { var _1ku5 = null; for (var _1ku6 in (this.SP_ATTACK_TYPE = { 'BOUNCE_BOM': 1 }, this._friend = _1ku2, this._o = {}, _1ku3)) { var _1ku7 = _1ku3[_1ku6]; this._o[_1ku6] = []; for (var _1ku8 = 0; _1ku8 < _1ku7.length; _1ku8++) this._o[_1ku6].push(_1ku7[_1ku8]); for (; this._o[_1ku6].length < 6;) 'api_f_sp_list' == _1ku6 || 'api_e_sp_list' == _1ku6 ? this._o[_1ku6].push(null) : this._o[_1ku6].push(0); } if (null != _1ku4) for (var _1ku6 in _1ku4) { if (null != (_1ku7 = _1ku4[_1ku6])) { 0 == this._o.hasOwnProperty(_1ku6) && (this._o = [0, 0, 0, 0, 0, 0]); for (_1ku8 = 0; _1ku8 < _1ku7.length; _1ku8++) this._o[_1ku6].push(_1ku7[_1ku8]); for (; this._o[_1ku6].length < 12;) 'api_f_sp_list' == _1ku6 || 'api_e_sp_list' == _1ku6 ? this._o[_1ku6].push(null) : this._o[_1ku6].push(0); } } } return Object.defineProperty(_1ku1.prototype, 'friend', { 'get': function() { var _1ku9 = null; return this._friend; }, 'enumerable': !1, 'configurable': !0 }), _1ku1.prototype.hasDamage = function() { var _1kua = null, _1kub = this._friend ? 'api_fdam' : 'api_edam'; return this._hasDamage(this._o, _1kub); }, _1ku1.prototype._hasDamage = function(_1kuc, _1kud) { var _1kue = null, _1kuf = _1kty.ObjUtil.getNumArray(_1kuc, _1kud); if (null != _1kuf) for (var _1kug = 0, _1kuh = _1kuf; _1kug < _1kuh.length; _1kug++) { if (_1kuh[_1kug] > 0) return !0; } return !1; }, _1ku1.prototype.beBombed = function(_1kui) { var _1kuj = null, _1kuk = this._friend ? 'api_fbak_flag' : 'api_ebak_flag', _1kul = _1kty.ObjUtil.getNumArray(this._o, _1kuk); if (null == _1kul) return !1; for (var _1kum = Math.min(_1kul.length, _1kui), _1kun = 0; _1kun < _1kum; _1kun++) if (null != _1kul[_1kun] && _1kul[_1kun] > 0) return !0; return !1; }, _1ku1.prototype.beBombedCombined = function() { var _1kuo = null, _1kup = this._friend ? 'api_fbak_flag' : 'api_ebak_flag', _1kuq = _1kty.ObjUtil.getNumArray(this._o, _1kup); if (null == _1kuq) return !1; for (var _1kur = 6; _1kur < _1kuq.length; _1kur++) if (_1kuq[_1kur] > 0) return !0; return !1; }, _1ku1.prototype.getDamage = function(_1kus) { var _1kut = null, _1kuu = this._friend ? 'api_fdam' : 'api_edam', _1kuv = _1kty.ObjUtil.getNumArray(this._o, _1kuu); return null == _1kuv || _1kuv.length <= _1kus ? 0 : Math.floor(_1kuv[_1kus]); }, _1ku1.prototype.getBak = function(_1kuw) { var _1kux = null, _1kuy = this._friend ? 'api_fbak_flag' : 'api_ebak_flag', _1kuz = _1kty.ObjUtil.getNumArray(this._o, _1kuy); return !(null == _1kuz || _1kuz.length <= _1kuw) && 1 == _1kuz[_1kuw]; }, _1ku1.prototype.getRai = function(_1kv0) { var _1kv1 = null, _1kv2 = this._friend ? 'api_frai_flag' : 'api_erai_flag', _1kv3 = _1kty.ObjUtil.getNumArray(this._o, _1kv2); return !(null == _1kv3 || _1kv3.length <= _1kv0) && 1 == _1kv3[_1kv0]; }, _1ku1.prototype.getHitType = function(_1kv4) { var _1kv5 = null, _1kv6 = this._friend ? 'api_fcl_flag' : 'api_ecl_flag', _1kv7 = _1kty.ObjUtil.getNumArray(this._o, _1kv6); return null == _1kv7 || _1kv7.length <= _1kv4 ? 0 : _1kv7[_1kv4] + 1; }, _1ku1.prototype.getBounce = function(_1kv8) { var _1kv9 = null, _1kva = this._friend ? 'api_f_sp_list' : 'api_e_sp_list', _1kvb = _1kty.ObjUtil.getObjectArray(this._o, _1kva); return null != _1kvb && null != _1kvb[_1kv8] && _1kvb[_1kv8].indexOf(this.SP_ATTACK_TYPE.BOUNCE_BOM) > -1; }, _1ku1.prototype.isShield = function(_1kvc) { var _1kvd = null; return this.getDamage(_1kvc) % 1 != 0; }, _1ku1; }()); _1ktv.AirWarStage3Model = _1ktz; }, 55268: function(_1kve, _1kvf, _1kvg) { 'use strict'; var _1kvh = null; var _1kvi, _1kvj = this && this.__extends || (_1kvi = function(_1kvk, _1kvl) { var _1kvm = null; return _1kvi = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1kvn, _1kvo) { var _1kvp = null; _1kvn.__proto__ = _1kvo; } || function(_1kvq, _1kvr) { var _1kvs = null; for (var _1kvt in _1kvr) Object.prototype.hasOwnProperty.call(_1kvr, _1kvt) && (_1kvq[_1kvt] = _1kvr[_1kvt]); }, _1kvi(_1kvk, _1kvl); }, function(_1kvu, _1kvv) { var _1kvw = null; if ('function' != typeof _1kvv && null !== _1kvv) throw new TypeError('Class extends value ' + String(_1kvv) + ' is not a constructor or null'); function _1kvx() { var _1kvy = null; this.constructor = _1kvu; } _1kvi(_1kvu, _1kvv), _1kvu.prototype = null === _1kvv ? Object.create(_1kvv) : (_1kvx.prototype = _1kvv.prototype, new _1kvx()); }), _1kvz = this && this.__importDefault || function(_1kw0) { var _1kw1 = null; return _1kw0 && _1kw0.__esModule ? _1kw0 : { 'default': _1kw0 }; }; defineModule(_1kvf); Object.defineProperty(_1kvf, '__esModule', { 'value': !0 }), _1kvf.GouchinCutinView = void 0; var _1kw2 = _1kvz(_1kvg(21359)), _1kw3 = _1kvz(_1kvg(18622)), _1kw4 = _1kvg(25340), _1kw5 = function(_1kw6) { var _1kw7 = null; function _1kw8() { var _1kw9 = null, _1kwa = _1kw6.call(this) || this; _1kwa.count = 50, _1kwa.col = 16777215, _1kwa._updateMask = function(_1kwb) { var _1kwc = null; _1kwa._circleMask.clear(), _1kwa._circleMask.beginFill(_1kwa.col); for (var _1kwd = 0; _1kwd < _1kwa.count; _1kwd++) _1kwa._circle_list[_1kwd].radius = _1kwa.rndScale[_1kwd] * _1kwb.target.target.val, _1kwa._circleMask.drawShape(_1kwa._circle_list[_1kwd]); _1kwa._circleMask.endFill(), _1kw3.default.settings.renderer.render(_1kwa._circleMask, _1kwa._renderTex, !0, null, !0); }, _1kwa._bg = new PIXI.Sprite(), _1kwa._bg.alpha = 0, _1kwa._layer_effect = new PIXI.Container(), _1kwa._card_bg = new PIXI.Sprite(), _1kwa._card_bg.anchor.set(0.5), _1kwa._card_bg.alpha = 1, _1kwa._layer_ship = new PIXI.Container(), _1kwa._grad = new PIXI.Sprite(), _1kwa._layer_text = new PIXI.Container(), _1kwa._layer_mask = new PIXI.Container(), _1kwa._layer_mask.alpha = 0, _1kwa._renderTex = PIXI.RenderTexture.create(327, 450), _1kwa._renderSprite = new PIXI.Sprite(_1kwa._renderTex), _1kwa._renderSprite.anchor.set(0.5), _1kwa._card_bg.mask = _1kwa._renderSprite, _1kwa._layer_mask.addChild(_1kwa._card_bg), _1kwa._layer_mask.addChild(_1kwa._renderSprite), _1kwa.rndPos = [], _1kwa.rndScale = []; for (var _1kwe = 0; _1kwe < _1kwa.count; _1kwe++) _1kwa.rndPos.push(new PIXI.Point(Math.floor(327 * Math.random()), Math.floor(450 * Math.random()))), _1kwa.rndScale.push(100 * Math.floor(2 * Math.random())); _1kwa.addChild(_1kwa._bg), _1kwa.addChild(_1kwa._layer_effect), _1kwa.addChild(_1kwa._layer_mask), _1kwa.addChild(_1kwa._layer_ship), _1kwa.addChild(_1kwa._grad), _1kwa.addChild(_1kwa._layer_text), _1kwa._circle_list = []; for (_1kwe = 0; _1kwe < _1kwa.count; _1kwe++) _1kwa._circle_list.push(new PIXI.Circle(_1kwa.rndPos[_1kwe].x, _1kwa.rndPos[_1kwe].y, _1kwa.rndScale[_1kwe])); return _1kwa._circleMask = new PIXI.Graphics(), _1kwa._circleMask.beginFill(_1kwa.col), _1kwa._circleMask.drawRect(0, 0, 327, 450), _1kwa._circleMask.endFill(), _1kw3.default.settings.renderer.render(_1kwa._circleMask, _1kwa._renderTex, !0, null, !1), _1kwa; } return _1kvj(_1kw8, _1kw6), Object.defineProperty(_1kw8.prototype, 'bg', { 'get': function() { var _1kwf = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1kw8.prototype, 'layer_effect', { 'get': function() { var _1kwg = null; return this._layer_effect; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1kw8.prototype, 'card_bg', { 'get': function() { var _1kwh = null; return this._card_bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1kw8.prototype, 'layer_ship', { 'get': function() { var _1kwi = null; return this._layer_ship; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1kw8.prototype, 'layer_text', { 'get': function() { var _1kwj = null; return this._layer_text; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1kw8.prototype, 'layer_mask', { 'get': function() { var _1kwk = null; return this._layer_mask; }, 'enumerable': !1, 'configurable': !0 }), _1kw8.prototype.initialize = function() { var _1kwl = null; this._bg.texture = _1kw4.BATTLE_CUTIN_GOUCHIN.getTexture(0), this._grad.texture = _1kw4.BATTLE_CUTIN_GOUCHIN.getTexture(1), this._grad.y = _1kw2.default.height - this._grad.height; }, _1kw8.prototype.playMask = function() { var _1kwm = null; createjs.Tween.get({ 'val': 1 }, { 'onChange': this._updateMask }).to({ 'val': 0 }, 1800); }, _1kw8; }(PIXI.Container); _1kvf.GouchinCutinView = _1kw5; }, 68173: function(_1kwn, _1kwo, _1kwp) { 'use strict'; var _1kwq = null; var _1kwr, _1kws = this && this.__extends || (_1kwr = function(_1kwt, _1kwu) { var _1kwv = null; return _1kwr = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1kww, _1kwx) { var _1kwy = null; _1kww.__proto__ = _1kwx; } || function(_1kwz, _1kx0) { var _1kx1 = null; for (var _1kx2 in _1kx0) Object.prototype.hasOwnProperty.call(_1kx0, _1kx2) && (_1kwz[_1kx2] = _1kx0[_1kx2]); }, _1kwr(_1kwt, _1kwu); }, function(_1kx3, _1kx4) { var _1kx5 = null; if ('function' != typeof _1kx4 && null !== _1kx4) throw new TypeError('Class extends value ' + String(_1kx4) + ' is not a constructor or null'); function _1kx6() { var _1kx7 = null; this.constructor = _1kx3; } _1kwr(_1kx3, _1kx4), _1kx3.prototype = null === _1kx4 ? Object.create(_1kx4) : (_1kx6.prototype = _1kx4.prototype, new _1kx6()); }), _1kx8 = this && this.__importDefault || function(_1kx9) { var _1kxa = null; return _1kx9 && _1kx9.__esModule ? _1kx9 : { 'default': _1kx9 }; }; defineModule(_1kwo); Object.defineProperty(_1kwo, '__esModule', { 'value': !0 }), _1kwo.TaskGouchinCutin = void 0; var _1kxb = _1kx8(_1kwp(21359)), _1kxc = _1kx8(_1kwp(18622)), _1kxd = _1kwp(81755), _1kxe = _1kwp(79899), _1kxf = _1kwp(54011), _1kxg = _1kwp(20137), _1kxh = _1kwp(13748), _1kxi = _1kwp(70723), _1kxj = _1kwp(25340), _1kxk = _1kwp(55268), _1kxl = _1kwp(84992), _1kxm = _1kwp(4146), _1kxn = function(_1kxo) { var _1kxp = null; function _1kxq(_1kxr, _1kxs, _1kxt, _1kxu) { var _1kxv = null; void 0 === _1kxu && (_1kxu = null); var _1kxw = _1kxo.call(this) || this; return _1kxw._repairEffect = function() { var _1kxx = null; new _1kxm.TaskGouchinCutinRepair(_1kxw._layer, _1kxw._mst_id, _1kxw._repairitem, _1kxw._callPreEnd).start(function() { var _1kxy = null; _1kxw._endTask(); }); }, _1kxw._callPreEnd = function() { var _1kxz = null; _1kxw._layer.removeChild(_1kxw._view), null != _1kxw._preEnd && (_1kxw._preEnd(), _1kxw._preEnd = null); }, _1kxw._layer = _1kxr, _1kxw._mst_id = _1kxs, _1kxw._repairitem = _1kxt, _1kxw._preEnd = _1kxu, _1kxw._view = new _1kxk.GouchinCutinView(), _1kxw; } return _1kws(_1kxq, _1kxo), _1kxq.prototype._start = function() { var _1ky0 = null; this._loadResouce(); }, _1kxq.prototype._loadResouce = function() { var _1ky1 = null, _1ky2 = this, _1ky3 = new _1kxh.UIImageLoader('battle'); _1ky3.add('battle_cutin_gouchin.json'), _1ky3.load(function() { var _1ky4 = null, _1ky5 = _1kxc.default.model.ship.getMst(_1ky2._mst_id); _1ky2._loadCardBGResource(_1ky5.rarity); }); }, _1kxq.prototype._loadCardBGResource = function(_1ky6) { var _1ky7 = null, _1ky8 = this, _1ky9 = ''; _1ky9 = _1ky6 <= 1 ? 'c1' : 2 == _1ky6 ? 'c2' : 3 == _1ky6 ? 'c3' : 4 == _1ky6 ? 'r1' : 5 == _1ky6 ? 'r2' : 6 == _1ky6 ? 'sr1' : 7 == _1ky6 ? 'sr2' : 'sr3'; var _1kya = _1kxc.default.settings.path_root + 'img/common/ship_bg/card/'['concat'](_1ky9, '.png'); if (null != PIXI.utils.TextureCache[_1kya]) return this._view.card_bg.texture = PIXI.utils.TextureCache[_1kya], void this._loadShipResource(); var _1kyb = new PIXI.loaders.Loader(); _1kyb.add(_1kya), _1kyb.load(function(_1kyc) { var _1kyd = null, _1kye = _1kyc.resources[_1kya]; _1ky8._view.card_bg.texture = _1kye.texture, _1ky8._loadShipResource(); }); }, _1kxq.prototype._loadShipResource = function() { var _1kyf = null, _1kyg = this, _1kyh = new _1kxg.ShipLoader(); _1kyh.add(this._mst_id, !0, 'full'), _1kyh.load(function() { var _1kyi = null, _1kyj = new _1kxe.AreaBox(1, 16777215); _1kyg._layer.addChild(_1kyj), _1kyg._view.initialize(), _1kyg._layer.addChild(_1kyg._view), createjs.Tween.get(_1kyg._view.bg).to({ 'alpha': 1 }, 400).call(function() { var _1kyk = null; _1kyg._layer.removeChild(_1kyj), _1kyg._dropWaterAnim(); }); }); }, _1kxq.prototype._dropWaterAnim = function() { var _1kyl = null, _1kym = this, _1kyn = _1kxj.BATTLE_CUTIN_GOUCHIN.getTexture(11), _1kyo = new _1kxf.Sprite(_1kyn); _1kyo.anchor.set(0.5), _1kyo.alpha = 0, _1kyo.position.set(_1kxb.default.width / 2, 120), this._view.layer_effect.addChild(_1kyo), createjs.Tween.get(_1kyo).to({ 'y': 200, 'alpha': 1 }, 100).to({ 'y': 600 }, 500).call(function() { var _1kyp = null; _1kym._showRipple(); }).to({ 'scaleX': 0.77, 'scaleY': 0.59, 'alpha': 0 }, 100).call(function() { var _1kyq = null; _1kym._view.layer_effect.removeChild(_1kyo), _1kym._showShip(); }); }, _1kxq.prototype._showRipple = function() { var _1kyr = null, _1kys = this, _1kyt = _1kxj.BATTLE_CUTIN_GOUCHIN.getTexture(12), _1kyu = new _1kxf.Sprite(_1kyt); _1kyu.anchor.set(0.5), _1kyu.scale.set(0.25), _1kyu.alpha = 0, _1kyu.position.set(_1kxb.default.width / 2, 608), this._view.layer_effect.addChild(_1kyu), createjs.Tween.get(_1kyu).to({ 'scaleX': 0.69, 'scaleY': 0.69, 'alpha': 1 }, 100).to({ 'scaleX': 1.56, 'scaleY': 1.56 }, 200).to({ 'scaleX': 2, 'scaleY': 2, 'alpha': 0 }, 100).call(function() { var _1kyv = null; _1kys._view.layer_effect.removeChild(_1kyu); }); }, _1kxq.prototype._showShip = function() { var _1kyw = null, _1kyx = this, _1kyy = 100; this._view.layer_mask.position.set(_1kxb.default.width / 2, _1kxb.default.height / 2), createjs.Tween.get(this._view.layer_mask).wait(_1kyy).to({ 'alpha': 1 }, 433); var _1kyz = this._createShipSprite(); this._view.layer_ship.addChild(_1kyz), createjs.Tween.get(_1kyz).wait(266).to({ 'x': 450, 'y': 60, 'scaleX': 0.5, 'scaleY': 0.5, 'alpha': 1 }, 900).call(function() { var _1kz0 = null; _1kyx._view.layer_ship.removeChild(_1kyz); }); var _1kz1 = this._createShipSprite(); this._view.layer_ship.addChild(_1kz1), createjs.Tween.get(_1kz1).wait(_1kyy).to({ 'x': 450, 'y': 60, 'scaleX': 0.5, 'scaleY': 0.5, 'alpha': 1 }, 1000).call(function() { var _1kz2 = null; _1kyx._showLine(); }).wait(633).call(function() { var _1kz3 = null; _1kyx._playVoice(); }), createjs.Tween.get(null).wait(800).call(function() { var _1kz4 = null; _1kxi.SE.play('109'); }); }, _1kxq.prototype._getShipImage = function() { var _1kz5 = null, _1kz6 = new PIXI.Sprite(); _1kz6.texture = _1kxc.default.resources.getShip(this._mst_id, !![], 'full'); var _1kz7 = _1kxc.default.model.ship_graph.get(this._mst_id).getBattleOffset(!![]); return _1kz6.x = -120 + _1kz7.x, _1kz6.y = -120 + _1kz7.y, _1kz6; }, _1kxq.prototype._createShipSprite = function() { var _1kz8 = null, _1kz9 = new _1kxf.Sprite(); return _1kz9.alpha = 0, _1kz9.position.set(330, -368), _1kz9.scale.set(1.25), _1kz9.addChild(this._getShipImage()), _1kz9; }, _1kxq.prototype._showLine = function() { var _1kza = null, _1kzb = this, _1kzc = new _1kxf.Sprite(_1kxj.BATTLE_CUTIN_GOUCHIN.getTexture(2)); _1kzc.anchor.set(0, 0.5), _1kzc.position.set(_1kxb.default.width, _1kxb.default.height / 2), _1kzc.scale.y = 0, this._view.bg.addChild(_1kzc), createjs.Tween.get(_1kzc).to({ 'x': 0, 'scaleY': 1 }, 200).wait(700).to({ 'x': -_1kxb.default.width, 'scaleY': 0 }, 200).call(function() { var _1kzd = null; _1kzb._view.bg.removeChild(_1kzc); }); }, _1kxq.prototype._playVoice = function() { var _1kze = null, _1kzf = this, _1kzg = this._mst_id.toString(); _1kxc.default.sound.voice.play(_1kzg, 22), createjs.Tween.get(this._view.layer_ship).wait(600).to({ 'y': 750, 'alpha': 0 }, 1700).call(function() { var _1kzh = null; _1kzf._view.layer_ship.removeChildren(), _1kzf._view.layer_ship.visible = !1; }), createjs.Tween.get(this._view.layer_mask).call(function() { var _1kzi = null; _1kzf._view.playMask(); }).to({ 'rotation': -30 / 180 * Math.PI }, 1000, createjs.Ease.sineIn).call(function() {}).to({ 'y': _1kxb.default.height + _1kxb.default.height / 2, 'alpha': 0 }, 3000).call(function() { var _1kzj = null; _1kzf._view.layer_mask.visible = !1; }), 0 == this._repairitem ? createjs.Tween.get(null).wait(1300).call(function() { var _1kzk = null; _1kzf._textEffect(); }) : createjs.Tween.get(null).wait(4000).call(this._repairEffect); }, _1kxq.prototype._textEffect = function() { var _1kzl = null, _1kzm = this; new _1kxl.TaskGouchinCutinText(this._view.layer_text).start(function() { var _1kzn = null; _1kzm._endAnim(); }); }, _1kxq.prototype._endAnim = function() { var _1kzo = null, _1kzp = this, _1kzq = new _1kxe.AreaBox(1, 16777215); _1kzq.alpha = 0, this._layer.addChild(_1kzq), createjs.Tween.get(_1kzq).to({ 'alpha': 1 }, 566).call(this._callPreEnd).to({ 'alpha': 0 }, 500).call(function() { var _1kzr = null; _1kzp._layer.removeChild(_1kzq), _1kzp._endTask(); }); }, _1kxq; }(_1kxd.TaskBase); _1kwo.TaskGouchinCutin = _1kxn; }, 4146: function(_1kzs, _1kzt, _1kzu) { 'use strict'; var _1kzv = null; var _1kzw, _1kzx = this && this.__extends || (_1kzw = function(_1kzy, _1kzz) { var _1l00 = null; return _1kzw = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1l01, _1l02) { var _1l03 = null; _1l01.__proto__ = _1l02; } || function(_1l04, _1l05) { var _1l06 = null; for (var _1l07 in _1l05) Object.prototype.hasOwnProperty.call(_1l05, _1l07) && (_1l04[_1l07] = _1l05[_1l07]); }, _1kzw(_1kzy, _1kzz); }, function(_1l08, _1l09) { var _1l0a = null; if ('function' != typeof _1l09 && null !== _1l09) throw new TypeError('Class extends value ' + String(_1l09) + ' is not a constructor or null'); function _1l0b() { var _1l0c = null; this.constructor = _1l08; } _1kzw(_1l08, _1l09), _1l08.prototype = null === _1l09 ? Object.create(_1l09) : (_1l0b.prototype = _1l09.prototype, new _1l0b()); }), _1l0d = this && this.__importDefault || function(_1l0e) { var _1l0f = null; return _1l0e && _1l0e.__esModule ? _1l0e : { 'default': _1l0e }; }; defineModule(_1kzt); Object.defineProperty(_1kzt, '__esModule', { 'value': !0 }), _1kzt.TaskGouchinCutinRepair = void 0; var _1l0g = _1l0d(_1kzu(21359)), _1l0h = _1l0d(_1kzu(18622)), _1l0i = _1kzu(81755), _1l0j = _1kzu(79899), _1l0k = _1kzu(45054), _1l0l = _1kzu(54011), _1l0m = _1kzu(20137), _1l0n = _1kzu(37760), _1l0o = _1kzu(70723), _1l0p = _1kzu(11997), _1l0q = _1kzu(25340), _1l0r = function(_1l0s) { var _1l0t = null; function _1l0u(_1l0v, _1l0w, _1l0x, _1l0y) { var _1l0z = null; void 0 === _1l0y && (_1l0y = null); var _1l10 = _1l0s.call(this) || this; return _1l10._preLoadSlotitemCard = function() { var _1l11 = null, _1l12 = new _1l0n.SlotLoader(), _1l13 = _1l10._getSlotitemMstID(_1l10._repairitem); _1l12.add(_1l13, 'card'), _1l12.load(_1l10._showCard); }, _1l10._showCard = function() { var _1l14 = null, _1l15 = _1l10._getSlotitemMstID(_1l10._repairitem), _1l16 = _1l0h.default.resources.getSlotitem(_1l15, 'card'); _1l10._card = new _1l0l.Sprite(_1l16), _1l10._card.anchor.set(0.5), _1l10._card.scale.set(2), _1l10._card.position.set(600, 360), _1l10._card.alpha = 0; var _1l17 = new _1l0l.Sprite(_1l16); _1l17.anchor.set(0.5), _1l17.scale.set(2), _1l17.position.set(600, 360), _1l17.alpha = 0, _1l10._layer.addChild(_1l10._card), _1l10._layer.addChild(_1l17), createjs.Tween.get(_1l10._card).to({ 'scaleX': 1, 'scaleY': 1, 'alpha': 1 }, 700), createjs.Tween.get(_1l17).wait(200).to({ 'scaleX': 1, 'scaleY': 1, 'alpha': 1 }, 500).call(function() { var _1l18 = null; _1l10._layer.removeChild(_1l17), _1l0o.SE.play('229'); }).wait(1100).call(_1l10._showFlash); }, _1l10._showFlash = function() { var _1l19 = null, _1l1a = new _1l0l.Sprite(_1l0p.COMMON_MISC.getTexture(73)); _1l1a.anchor.set(0.5), _1l1a.position.set(600, 360), _1l1a.alpha = 0, _1l10._layer.addChild(_1l1a), createjs.Tween.get(_1l1a).to({ 'scaleX': 1.5, 'scaleY': 1.5, 'alpha': 1 }, 800).to({ 'scaleX': 2.3, 'scaleY': 2.3, 'alpha': 1 }, 900).call(function() { var _1l1b = null; _1l10._layer.removeChild(_1l1a); }), _1l10._white = new _1l0j.AreaBox(1, 16777215), _1l10._white.alpha = 0, _1l10._layer.addChild(_1l10._white), createjs.Tween.get(_1l10._white).wait(500).to({ 'alpha': 1 }, 1200).call(function() { var _1l1c = null; _1l10._layer.removeChild(_1l10._card); }); var _1l1d = _1l0q.BATTLE_CUTIN_GOUCHIN.getTexture(10); _1l10._text = new PIXI.Sprite(_1l1d), _1l10._text.anchor.set(0.5), _1l10._text.position.set(_1l0g.default.width + _1l10._text.width / 2, 360), _1l10._layer.addChild(_1l10._text); var _1l1e = createjs.Tween.get(_1l10._text).to({ 'x': 600 }, 600); 2 == _1l10._repairitem ? _1l10._showSubText() : _1l1e.wait(1100).call(_1l10._hideText); }, _1l10._hideText = function() { var _1l1f = null; createjs.Tween.get(_1l10._text).to({ 'x': -_1l10._text.width / 2 }, 600).call(function() { var _1l1g = null; _1l10._layer.removeChild(_1l10._text); }).wait(500).call(_1l10._showShip); }, _1l10._showShip = function() { var _1l1h = null, _1l1i = 2 != _1l10._repairitem, _1l1j = new PIXI.Sprite(); _1l1j.texture = _1l0h.default.resources.getShip(_1l10._mst_id, _1l1i, 'full'); var _1l1k = _1l0h.default.model.ship_graph.get(_1l10._mst_id).getBattleOffset(_1l1i); _1l1j.position.set(_1l1k.x - 120 - 252, _1l1k.y - 120 - 518), _1l1j.alpha = 0; var _1l1l = new _1l0k.Container(); _1l1l.addChild(_1l1j), _1l1l.position.set(_1l0g.default.width / 2, _1l0g.default.height / 2), _1l1l.scale.set(0.4), _1l10._layer.addChild(_1l1l), createjs.Tween.get(_1l1j).to({ 'alpha': 1 }, 600).wait(500).to({ 'alpha': 0 }, 600), createjs.Tween.get(_1l1l).to({ 'scaleX': 0.7, 'scaleY': 0.7 }, 300).to({ 'scaleX': 0.8, 'scaleY': 0.8 }, 1100).to({ 'scaleX': 1.2, 'scaleY': 1.2 }, 300).wait(300).call(function() { var _1l1m = null; _1l10._layer.removeChild(_1l1l), _1l10._endAnim(); }); }, _1l10._layer = _1l0v, _1l10._mst_id = _1l0w, _1l10._repairitem = _1l0x, _1l10._preEnd = _1l0y, _1l10; } return _1kzx(_1l0u, _1l0s), _1l0u.prototype._start = function() { var _1l1n = null; this._preLoadShip(); }, _1l0u.prototype._preLoadShip = function() { var _1l1o = null, _1l1p = new _1l0m.ShipLoader(), _1l1q = 2 != this._repairitem; _1l1p.add(this._mst_id, _1l1q, 'full'), _1l1p.load(this._preLoadSlotitemCard); }, _1l0u.prototype._showSubText = function() { var _1l1r = null, _1l1s = this, _1l1t = new _1l0l.Sprite(_1l0q.BATTLE_CUTIN_GOUCHIN.getTexture(3)); _1l1t.anchor.set(0.5), _1l1t.position.set(600, 486), _1l1t.scale.y = 0, this._layer.addChild(_1l1t), createjs.Tween.get(_1l1t).to({ 'scaleY': 1 }, 200).wait(2600).to({ 'scaleY': 0 }, 200).call(function() { var _1l1u = null; _1l1s._layer.removeChild(_1l1t); }); var _1l1v = new PIXI.Sprite(_1l0q.BATTLE_CUTIN_GOUCHIN.getTexture(8)); _1l1v.anchor.set(0.5), _1l1v.position.set(_1l0g.default.width + _1l1v.width / 2, _1l0g.default.height / 2 + 126), this._layer.addChild(_1l1v), createjs.Tween.get(_1l1v).wait(200).to({ 'x': _1l0g.default.width / 2 }, 300).wait(700).to({ 'x': -_1l1v.width / 2 }, 300).call(function() { var _1l1w = null; _1l1s._layer.removeChild(_1l1v); }); var _1l1x = new PIXI.Sprite(_1l0q.BATTLE_CUTIN_GOUCHIN.getTexture(9)); _1l1x.anchor.set(0.5), _1l1x.position.set(_1l0g.default.width + _1l1x.width / 2, _1l0g.default.height / 2 + 126), this._layer.addChild(_1l1x), createjs.Tween.get(_1l1x).wait(1500).to({ 'x': _1l0g.default.width / 2 }, 300).wait(400).call(this._hideText).to({ 'x': -_1l1x.width / 2 }, 300).call(function() { var _1l1y = null; _1l1s._layer.removeChild(_1l1x); }); }, _1l0u.prototype._endAnim = function() { var _1l1z = null, _1l20 = this; null != this._preEnd && this._preEnd(), createjs.Tween.get(this._white).to({ 'alpha': 0 }, 500).call(function() { var _1l21 = null; _1l20._layer.removeChild(_1l20._white), _1l20._endTask(); }); }, _1l0u.prototype._endTask = function() { var _1l22 = null; this._layer = null, this._card = null, this._white = null, this._text = null, _1l0s.prototype._endTask.call(this); }, _1l0u.prototype._getSlotitemMstID = function(_1l23) { return 1 == _1l23 ? 42 : 2 == _1l23 ? 43 : -1; }, _1l0u; }(_1l0i.TaskBase); _1kzt.TaskGouchinCutinRepair = _1l0r; }, 84992: function(_1l24, _1l25, _1l26) { 'use strict'; var _1l27 = null; var _1l28, _1l29 = this && this.__extends || (_1l28 = function(_1l2a, _1l2b) { var _1l2c = null; return _1l28 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1l2d, _1l2e) { var _1l2f = null; _1l2d.__proto__ = _1l2e; } || function(_1l2g, _1l2h) { var _1l2i = null; for (var _1l2j in _1l2h) Object.prototype.hasOwnProperty.call(_1l2h, _1l2j) && (_1l2g[_1l2j] = _1l2h[_1l2j]); }, _1l28(_1l2a, _1l2b); }, function(_1l2k, _1l2l) { var _1l2m = null; if ('function' != typeof _1l2l && null !== _1l2l) throw new TypeError('Class extends value ' + String(_1l2l) + ' is not a constructor or null'); function _1l2n() { var _1l2o = null; this.constructor = _1l2k; } _1l28(_1l2k, _1l2l), _1l2k.prototype = null === _1l2l ? Object.create(_1l2l) : (_1l2n.prototype = _1l2l.prototype, new _1l2n()); }); defineModule(_1l25); Object.defineProperty(_1l25, '__esModule', { 'value': !0 }), _1l25.TaskGouchinCutinText = void 0; var _1l2p = _1l26(81755), _1l2q = _1l26(54011), _1l2r = _1l26(25340), _1l2s = function(_1l2t) { var _1l2u = null; function _1l2v(_1l2w) { var _1l2x = null, _1l2y = _1l2t.call(this) || this; return _1l2y._ready2 = function() { var _1l2z = null; _1l2y._gray = new _1l2q.Sprite(_1l2r.BATTLE_CUTIN_GOUCHIN.getTexture(7)), _1l2y._gray.anchor.set(0.5), _1l2y._gray.position.set(600, 300), _1l2y._gray.alpha = 0, _1l2y._gray_lost = new _1l2q.Sprite(_1l2r.BATTLE_CUTIN_GOUCHIN.getTexture(5)), _1l2y._gray_lost.anchor.set(0.5), _1l2y._gray_lost.position.set(600, 420), _1l2y._gray_lost.alpha = 0, _1l2y._hideText(); }, _1l2y._layer = _1l2w, _1l2y; } return _1l29(_1l2v, _1l2t), _1l2v.prototype._start = function() { var _1l30 = null; this._ready(); }, _1l2v.prototype._ready = function() { var _1l31 = null; this._blue = new _1l2q.Sprite(_1l2r.BATTLE_CUTIN_GOUCHIN.getTexture(6)), this._blue.anchor.set(0.5), this._blue.scale.set(0.58), this._blue.position.set(600, 330), this._blue.alpha = 0, this._blue_lost = new _1l2q.Sprite(_1l2r.BATTLE_CUTIN_GOUCHIN.getTexture(4)), this._blue_lost.anchor.set(0.5), this._blue_lost.scale.set(0.58), this._blue_lost.position.set(600, 390), this._blue_lost.alpha = 0, this._showText(); }, _1l2v.prototype._showText = function() { var _1l32 = null; this._layer.addChild(this._blue), this._layer.addChild(this._blue_lost), createjs.Tween.get(this._blue).to({ 'y': 300, 'scaleX': 1, 'scaleY': 1, 'alpha': 1 }, 300), createjs.Tween.get(this._blue_lost).to({ 'y': 420, 'scaleX': 1, 'scaleY': 1, 'alpha': 1 }, 300).wait(500).call(this._ready2); }, _1l2v.prototype._hideText = function() { var _1l33 = null, _1l34 = this; this._layer.addChild(this._gray), this._layer.addChild(this._gray_lost), createjs.Tween.get(this._gray).to({ 'alpha': 1 }, 500).call(function() { var _1l35 = null; _1l34._layer.removeChild(_1l34._blue); }).wait(500).to({ 'alpha': 0 }, 300).call(function() { var _1l36 = null; _1l34._layer.removeChild(_1l34._gray); }), createjs.Tween.get(this._gray_lost).to({ 'alpha': 1 }, 500).call(function() { var _1l37 = null; _1l34._layer.removeChild(_1l34._blue_lost); }).wait(500).to({ 'alpha': 0 }, 300).call(function() { var _1l38 = null; _1l34._layer.removeChild(_1l34._gray_lost); }).wait(500).call(function() { var _1l39 = null; _1l34._endTask(); }); }, _1l2v.prototype._endTask = function() { var _1l3a = null; this._layer = null, this._blue = null, this._blue_lost = null, this._gray = null, this._gray_lost = null, _1l2t.prototype._endTask.call(this); }, _1l2v; }(_1l2p.TaskBase); _1l25.TaskGouchinCutinText = _1l2s; }, 54645: function(_1l3b, _1l3c, _1l3d) { 'use strict'; var _1l3e = null; var _1l3f, _1l3g = this && this.__extends || (_1l3f = function(_1l3h, _1l3i) { var _1l3j = null; return _1l3f = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1l3k, _1l3l) { var _1l3m = null; _1l3k.__proto__ = _1l3l; } || function(_1l3n, _1l3o) { var _1l3p = null; for (var _1l3q in _1l3o) Object.prototype.hasOwnProperty.call(_1l3o, _1l3q) && (_1l3n[_1l3q] = _1l3o[_1l3q]); }, _1l3f(_1l3h, _1l3i); }, function(_1l3r, _1l3s) { var _1l3t = null; if ('function' != typeof _1l3s && null !== _1l3s) throw new TypeError('Class extends value ' + String(_1l3s) + ' is not a constructor or null'); function _1l3u() { var _1l3v = null; this.constructor = _1l3r; } _1l3f(_1l3r, _1l3s), _1l3r.prototype = null === _1l3s ? Object.create(_1l3s) : (_1l3u.prototype = _1l3s.prototype, new _1l3u()); }); defineModule(_1l3c); Object.defineProperty(_1l3c, '__esModule', { 'value': !0 }), _1l3c.AllyAirAttackData = void 0; var _1l3w = _1l3d(89939), _1l3x = _1l3d(33045), _1l3y = _1l3d(46794), _1l3z = function(_1l40) { var _1l41 = null; function _1l42(_1l43, _1l44) { var _1l45 = null, _1l46 = _1l40.call(this, _1l44) || this; return _1l46._info = _1l43, _1l46._initPlaneFrom(), _1l46._initializeShipData(), _1l46; } return _1l3g(_1l42, _1l40), Object.defineProperty(_1l42.prototype, 'ships', { 'get': function() { var _1l47 = null; return this._ships; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1l42.prototype, 'seiku', { 'get': function() { var _1l48 = null, _1l49 = this._stage1; return null == _1l49 ? 0 : _1l3w.ObjUtil.getNumber(_1l49, 'api_disp_seiku'); }, 'enumerable': !1, 'configurable': !0 }), _1l42.prototype.getDisplayList = function() { var _1l4a = null; for (var _1l4b = [], _1l4c = this._voice_p_no, _1l4d = this._voice_ids, _1l4e = 0; _1l4e < 3; _1l4e++) { var _1l4f = _1l4c.indexOf(_1l4e + 1); if (!(_1l4f >= 0)) break; var _1l4g = _1l4f < this._ships.length ? this._ships[_1l4f] : null, _1l4h = _1l4d[_1l4f]; _1l4b.push({ 'ship': _1l4g, 'voiceID': _1l4h.toString() }); } return _1l4b; }, _1l42.prototype._initializeShipData = function() { var _1l4i = null; this._ships = []; for (var _1l4j = _1l3w.ObjUtil.getNumArray(this._info, 'api_ship_id'), _1l4k = _1l3w.ObjUtil.getNumArray(this._info, 'api_ship_lv'), _1l4l = _1l3w.ObjUtil.getNumArray(this._info, 'api_maxhps'), _1l4m = _1l3w.ObjUtil.getNumArray(this._info, 'api_nowhps'), _1l4n = _1l3w.ObjUtil.getObjectArray(this._info, 'api_Slot'), _1l4o = _1l3w.ObjUtil.getNumArray(this._info, 'api_slot_ex'), _1l4p = _1l3w.ObjUtil.getObjectArray(this._info, 'api_Param'), _1l4q = 0; _1l4q < _1l4j.length; _1l4q++) { var _1l4r = _1l4j[_1l4q], _1l4s = _1l4k[_1l4q], _1l4t = new _1l3x.ShipModelReplica(2, ![], _1l4q, _1l4r, 0, _1l4s), _1l4u = _1l4m[_1l4q], _1l4v = _1l4l[_1l4q]; _1l4t.initializeHPInfo(_1l4u, _1l4v); for (var _1l4w = _1l4n[_1l4q], _1l4x = _1l4o[_1l4q], _1l4y = [], _1l4z = [], _1l50 = 0, _1l51 = _1l4w; _1l50 < _1l51.length; _1l50++) { var _1l52 = _1l51[_1l50]; _1l52 > 0 && (_1l4y.push(new _1l3y.SlotitemModelReplica(_1l52)), _1l4z.push(1)); } var _1l53 = _1l4x > 0 ? new _1l3y.SlotitemModelReplica(_1l4x) : null; _1l4t.initializeSlots(_1l4y, _1l53, _1l4z); var _1l54 = _1l4p[_1l4q], _1l55 = _1l54[0], _1l56 = _1l54[1], _1l57 = _1l54[2], _1l58 = _1l54[3]; _1l4t.initializeParams(_1l55, _1l56, _1l57, _1l58), this._ships.push(_1l4t); } }, Object.defineProperty(_1l42.prototype, '_voice_p_no', { 'get': function() { var _1l59 = null, _1l5a = _1l3w.ObjUtil.getNumArray(this._info, 'api_voice_p_no'); return null == _1l5a ? [] : _1l5a; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1l42.prototype, '_voice_ids', { 'get': function() { var _1l5b = null, _1l5c = _1l3w.ObjUtil.getNumArray(this._info, 'api_voice_id'); return null == _1l5c ? [] : _1l5c; }, 'enumerable': !1, 'configurable': !0 }), _1l42; }(_1l3d(95162).AirWarDataBase); _1l3c.AllyAirAttackData = _1l3z; }, 45798: (_1l5d, _1l5e, _1l5f) => { 'use strict'; var _1l5g = null; defineModule(_1l5e); Object.defineProperty(_1l5e, '__esModule', { 'value': !0 }), _1l5e.AllyAttackModel = void 0; var _1l5h = _1l5f(89939), _1l5i = _1l5f(33045), _1l5j = _1l5f(46794), _1l5k = _1l5f(45415), _1l5l = (function() { var _1l5m = null; function _1l5n(_1l5o, _1l5p) { var _1l5q = null; this._info = _1l5o, this._battle = _1l5p, this._initializeShipData(); } return Object.defineProperty(_1l5n.prototype, 'ships', { 'get': function() { var _1l5r = null; return this._ships; }, 'enumerable': !1, 'configurable': !0 }), _1l5n.prototype.getDisplayList = function() { var _1l5s = null; for (var _1l5t = [], _1l5u = this._voice_p_no, _1l5v = this._voice_ids, _1l5w = 0; _1l5w < 3; _1l5w++) { var _1l5x = _1l5u.indexOf(_1l5w + 1); if (!(_1l5x >= 0)) break; var _1l5y = _1l5x < this._ships.length ? this._ships[_1l5x] : null, _1l5z = _1l5v[_1l5x]; _1l5t.push({ 'ship': _1l5y, 'voiceID': _1l5z.toString() }); } return _1l5t; }, _1l5n.prototype.getFlareIndex_f = function() { var _1l60 = null, _1l61 = _1l5h.ObjUtil.getNumArray(this._battle, 'api_flare_pos'); return null == _1l61 || _1l61.length < 1 ? -1 : _1l61[0]; }, _1l5n.prototype.getFlareIndex_e = function() { var _1l62 = null, _1l63 = _1l5h.ObjUtil.getNumArray(this._battle, 'api_flare_pos'); return null == _1l63 || _1l63.length < 2 ? -1 : _1l63[1]; }, _1l5n.prototype.getHougekiData = function() { var _1l64 = null, _1l65 = _1l5h.ObjUtil.getObject(this._battle, 'api_hougeki'); return new _1l5k.HougekiListNightData(_1l65); }, _1l5n.prototype._initializeShipData = function() { var _1l66 = null; this._ships = []; for (var _1l67 = _1l5h.ObjUtil.getNumArray(this._info, 'api_ship_id'), _1l68 = _1l5h.ObjUtil.getNumArray(this._info, 'api_ship_lv'), _1l69 = _1l5h.ObjUtil.getNumArray(this._info, 'api_maxhps'), _1l6a = _1l5h.ObjUtil.getNumArray(this._info, 'api_nowhps'), _1l6b = _1l5h.ObjUtil.getObjectArray(this._info, 'api_Slot'), _1l6c = _1l5h.ObjUtil.getNumArray(this._info, 'api_slot_ex'), _1l6d = _1l5h.ObjUtil.getObjectArray(this._info, 'api_Param'), _1l6e = 0; _1l6e < _1l67.length; _1l6e++) { var _1l6f = _1l67[_1l6e], _1l6g = _1l68[_1l6e], _1l6h = new _1l5i.ShipModelReplica(2, ![], _1l6e, _1l6f, 0, _1l6g), _1l6i = _1l6a[_1l6e], _1l6j = _1l69[_1l6e]; _1l6h.initializeHPInfo(_1l6i, _1l6j); for (var _1l6k = _1l6b[_1l6e], _1l6l = _1l6c[_1l6e], _1l6m = [], _1l6n = [], _1l6o = 0, _1l6p = _1l6k; _1l6o < _1l6p.length; _1l6o++) { var _1l6q = _1l6p[_1l6o]; _1l6q > 0 && (_1l6m.push(new _1l5j.SlotitemModelReplica(_1l6q)), _1l6n.push(1)); } var _1l6r = _1l6l > 0 ? new _1l5j.SlotitemModelReplica(_1l6l) : null; _1l6h.initializeSlots(_1l6m, _1l6r, _1l6n); var _1l6s = _1l6d[_1l6e], _1l6t = _1l6s[0], _1l6u = _1l6s[1], _1l6v = _1l6s[2], _1l6w = _1l6s[3]; _1l6h.initializeParams(_1l6t, _1l6u, _1l6v, _1l6w), this._ships.push(_1l6h); } }, Object.defineProperty(_1l5n.prototype, '_voice_p_no', { 'get': function() { var _1l6x = null, _1l6y = _1l5h.ObjUtil.getNumArray(this._info, 'api_voice_p_no'); return null == _1l6y ? [] : _1l6y; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1l5n.prototype, '_voice_ids', { 'get': function() { var _1l6z = null, _1l70 = _1l5h.ObjUtil.getNumArray(this._info, 'api_voice_id'); return null == _1l70 ? [] : _1l70; }, 'enumerable': !1, 'configurable': !0 }), _1l5n; }()); _1l5e.AllyAttackModel = _1l5l; }, 91589: (_1l71, _1l72, _1l73) => { 'use strict'; var _1l74 = null; defineModule(_1l72); Object.defineProperty(_1l72, '__esModule', { 'value': !0 }), _1l72.BattleCommonModel = void 0; var _1l75 = _1l73(89939), _1l76 = _1l73(84626), _1l77 = (function() { var _1l78 = null; function _1l79(_1l7a) { this._o = _1l7a; } return Object.defineProperty(_1l79.prototype, 'deck_id', { 'get': function() { var _1l7b = null; return _1l75.ObjUtil.getNumber(this._o, 'api_deck_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1l79.prototype, 'formation_id_f', { 'get': function() { var _1l7c = null, _1l7d = _1l75.ObjUtil.getNumArray(this._o, 'api_formation')[0]; return 'string' == typeof _1l7d ? parseInt(_1l7d) : _1l7d; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1l79.prototype, 'formation_id_e', { 'get': function() { var _1l7e = null; return _1l75.ObjUtil.getNumArray(this._o, 'api_formation')[1]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1l79.prototype, 'formation_id_c', { 'get': function() { var _1l7f = null; return _1l75.ObjUtil.getNumArray(this._o, 'api_formation')[2]; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1l79.prototype, 'smoke_type', { 'get': function() { var _1l7g = null; return _1l75.ObjUtil.getNumber(this._o, 'api_smoke_type'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1l79.prototype, 'balloon_cell', { 'get': function() { var _1l7h = null; return _1l75.ObjUtil.getNumber(this._o, 'api_balloon_cell'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1l79.prototype, 'atoll_cell', { 'get': function() { var _1l7i = null; return _1l75.ObjUtil.getNumber(this._o, 'api_atoll_cell'); }, 'enumerable': !1, 'configurable': !0 }), _1l79.prototype.getHPMaxFriend = function(_1l7j) { var _1l7k = null; return this._getNum(_1l7j, 'api_f_maxhps', 'api_f_maxhps_combined'); }, _1l79.prototype.getHPNowFriend = function(_1l7l) { var _1l7m = null; return this._getNum(_1l7l, 'api_f_nowhps', 'api_f_nowhps_combined'); }, _1l79.prototype.getMstIDEnemy = function(_1l7n) { var _1l7o = null; return this._getNum(_1l7n, 'api_ship_ke', 'api_ship_ke_combined'); }, _1l79.prototype.getLevelEnemy = function(_1l7p) { var _1l7q = null; return this._getNum(_1l7p, 'api_ship_lv', 'api_ship_lv_combined', 1); }, _1l79.prototype.getHPMaxEnemy = function(_1l7r) { var _1l7s = null; return this._getNum(_1l7r, 'api_e_maxhps', 'api_e_maxhps_combined'); }, _1l79.prototype.getHPNowEnemy = function(_1l7t) { var _1l7u = null; return this._getNum(_1l7t, 'api_e_nowhps', 'api_e_nowhps_combined'); }, _1l79.prototype.getSlotMstIDsEnemy = function(_1l7v) { var _1l7w = null; return this._getNumArray(_1l7v, 'api_eSlot', 'api_eSlot_combined'); }, _1l79.prototype.getParamsFriend = function(_1l7x) { var _1l7y = null; return this._getParams(_1l7x, 'api_fParam', 'api_fParam_combined'); }, _1l79.prototype.getParamsEnemy = function(_1l7z) { var _1l80 = null; return this._getParams(_1l7z, 'api_eParam', 'api_eParam_combined'); }, _1l79.prototype.getEffectEnemy = function(_1l81) { var _1l82 = null, _1l83 = _1l75.ObjUtil.getObjectArray(this._o, 'api_e_effect_list'); return null != _1l83 ? _1l83[_1l81] : null; }, _1l79.prototype.isBossDamaged = function() { var _1l84 = null; return 1 == _1l75.ObjUtil.getNumber(this._o, 'api_xal01'); }, _1l79.prototype.getTaihiShipIndexes = function() { var _1l85 = null, _1l86 = [], _1l87 = _1l75.ObjUtil.getNumArray(this._o, 'api_escape_idx'); if (null != _1l87) for (var _1l88 = 0, _1l89 = _1l87; _1l88 < _1l89.length; _1l88++) { var _1l8a = _1l89[_1l88]; _1l86.push(_1l8a - 1); } if (null != (_1l87 = _1l75.ObjUtil.getNumArray(this._o, 'api_escape_idx_combined'))) for (var _1l8b = 0, _1l8c = _1l87; _1l8b < _1l8c.length; _1l8b++) { _1l8a = _1l8c[_1l8b], _1l86.push(_1l8a - 1 + 6); } return _1l86; }, _1l79.prototype.isCombinedFriend = function() { var _1l8d = null, _1l8e = _1l75.ObjUtil.getNumArray(this._o, 'api_f_maxhps_combined'); return null != _1l8e && _1l8e.length > 0 && _1l8e[0] > 0; }, _1l79.prototype.isCombinedEnemy = function() { var _1l8f = null, _1l8g = _1l75.ObjUtil.getNumArray(this._o, 'api_e_maxhps_combined'); return null != _1l8g && _1l8g.length > 0 && _1l8g[0] > 0; }, _1l79.prototype.getActiveDeckFriend = function() { var _1l8h = null, _1l8i = _1l75.ObjUtil.getNumArray(this._o, 'api_active_deck'); return null == _1l8i || 0 == _1l8i.length ? this.isCombinedFriend() ? 2 : 1 : _1l8i[0]; }, _1l79.prototype.getActiveDeckEnemy = function() { var _1l8j = null, _1l8k = _1l75.ObjUtil.getNumArray(this._o, 'api_active_deck'); return null == _1l8k || 0 == _1l8k.length ? this.isCombinedEnemy() ? 2 : 1 : _1l8k[1]; }, _1l79.prototype.getBossModels = function() { var _1l8l = null, _1l8m = _1l75.ObjUtil.getObjectArray(this._o, 'api_flavor_info'); if (null == _1l8m) return null; for (var _1l8n = [], _1l8o = 0, _1l8p = _1l8m; _1l8o < _1l8p.length; _1l8o++) { var _1l8q = _1l8p[_1l8o], _1l8r = parseInt(_1l75.ObjUtil.getString(_1l8q, 'api_type')), _1l8s = parseInt(_1l75.ObjUtil.getString(_1l8q, 'api_boss_ship_id')), _1l8t = _1l75.ObjUtil.getString(_1l8q, 'api_class_name'), _1l8u = _1l75.ObjUtil.getString(_1l8q, 'api_ship_name'), _1l8v = new _1l76.BossModel(_1l8r, _1l8s, _1l8t, _1l8u), _1l8w = _1l75.ObjUtil.getString(_1l8q, 'api_voice_id'), _1l8x = _1l75.ObjUtil.getString(_1l8q, 'api_message'); _1l8v.setMessage(_1l8w, _1l8x); var _1l8y = parseInt(_1l75.ObjUtil.getString(_1l8q, 'api_pos_x')), _1l8z = parseInt(_1l75.ObjUtil.getString(_1l8q, 'api_pos_y')); _1l8v.setOffset(_1l8y, _1l8z), _1l8n.push(_1l8v); } return _1l8n; }, _1l79.prototype._getNum = function(_1l90, _1l91, _1l92, _1l93) { var _1l94 = null; void 0 === _1l93 && (_1l93 = 0); var _1l95 = _1l75.ObjUtil.getNumArray(this._o, _1l91); return null != _1l95 && _1l95.length > _1l90 ? isNaN(_1l95[_1l90]) ? NaN : _1l95[_1l90] : _1l90 >= 6 && null != (_1l95 = _1l75.ObjUtil.getNumArray(this._o, _1l92)) && _1l95.length > _1l90 - 6 ? isNaN(_1l95[_1l90 - 6]) ? NaN : _1l95[_1l90 - 6] : _1l93; }, _1l79.prototype._getNumArray = function(_1l96, _1l97, _1l98) { var _1l99 = null, _1l9a = _1l75.ObjUtil.getObjectArray(this._o, _1l97); return null != _1l9a && _1l9a.length > _1l96 ? _1l9a[_1l96] : _1l96 >= 6 && null != (_1l9a = _1l75.ObjUtil.getObjectArray(this._o, _1l98)) && _1l9a.length > _1l96 - 6 ? _1l9a[_1l96 - 6] : []; }, _1l79.prototype._getParams = function(_1l9b, _1l9c, _1l9d) { var _1l9e = null, _1l9f = { 'karyoku': 0, 'raisou': 0, 'taiku': 0, 'soukou': 0 }, _1l9g = this._getNumArray(_1l9b, _1l9c, _1l9d); return null != _1l9g && (_1l9g.length > 0 && (_1l9f.karyoku = _1l9g[0]), _1l9g.length > 1 && (_1l9f.raisou = _1l9g[1]), _1l9g.length > 2 && (_1l9f.taiku = _1l9g[2]), _1l9g.length > 3 && (_1l9f.soukou = _1l9g[3])), _1l9f; }, _1l79; }()); _1l72.BattleCommonModel = _1l77; }, 68490: (_1l9h, _1l9i, _1l9j) => { 'use strict'; var _1l9k = null; defineModule(_1l9i); Object.defineProperty(_1l9i, '__esModule', { 'value': !0 }), _1l9i.BattleData = void 0; var _1l9l = _1l9j(93319), _1l9m = _1l9j(33045), _1l9n = _1l9j(46794), _1l9o = _1l9j(14692), _1l9p = _1l9j(9983), _1l9q = (function() { var _1l9r = null; function _1l9s(_1l9t) { var _1l9u = null; this._model = _1l9t, this._records = []; } return Object.defineProperty(_1l9s.prototype, 'model', { 'get': function() { var _1l9v = null; return this._model; }, 'enumerable': !1, 'configurable': !0 }), _1l9s.prototype.addDayRecord = function(_1l9w) { var _1l9x = null, _1l9y = new _1l9o.BattleRecordDay(_1l9w); this._records.push(_1l9y); var _1l9z = this._model.deck_f; _1l9z = null != _1l9z ? this._createDeckFriend(_1l9z, _1l9y) : this._createAirBase(_1l9y); var _1la0 = this._createDeckEnemy(this._model.deck_e, _1l9y); this._model.updateDeckData(_1l9z, _1la0); }, _1l9s.prototype.addNightRecord = function(_1la1) { var _1la2 = null, _1la3 = new _1l9p.BattleRecordNight(_1la1); this._records.push(_1la3); var _1la4 = this._model.deck_f; _1la4 = null != _1la4 ? this._createDeckFriend(_1la4, _1la3) : this._createAirBase(_1la3); var _1la5 = this._createDeckEnemy(this._model.deck_e, _1la3); this._model.updateDeckData(_1la4, _1la5); }, _1l9s.prototype.getFirstRecord = function() { var _1la6 = null; return 0 == this._records.length ? null : this._records[0]; }, _1l9s.prototype.getLastRecord = function() { var _1la7 = null; if (0 == this._records.length) return null; var _1la8 = this._records.length; return this._records[_1la8 - 1]; }, _1l9s.prototype.isNight = function() { var _1la9 = null, _1laa = this.getLastRecord(); return null != _1laa && 'day' != _1laa.phase; }, _1l9s.prototype.isBalloonCell = function() { var _1lab = null, _1lac = this.getFirstRecord(); return null != _1lac && 1 == _1lac.common.balloon_cell; }, _1l9s.prototype.isAtollCell = function() { var _1lad = null, _1lae = this.getFirstRecord(); return null != _1lae && 1 == _1lae.common.atoll_cell; }, _1l9s.prototype.isBossDamaged = function() { var _1laf = null, _1lag = this.getFirstRecord(); if (null != _1lag) return _1lag.common.isBossDamaged(); }, _1l9s.prototype._createDeckFriend = function(_1lah, _1lai) { var _1laj = null; for (var _1lak = _1lah.practice, _1lal = _1lai.common.deck_id, _1lam = _1lah.medal_num, _1lan = _1lah.user_name, _1lao = _1lah.type, _1lap = _1lah.name, _1laq = _1lai.common.getTaihiShipIndexes(), _1lar = new Array(), _1las = 0; _1las < _1lah.ships.length; _1las++) { var _1lat = _1lah.ships[_1las]; if (null == _1lat) _1lar.push(null); else { var _1lau = _1lat.clone(), _1lav = _1lai.common.getHPNowFriend(_1las); _1lak && (_1lav = Math.max(1, _1lav)); var _1law = _1lai.common.getHPMaxFriend(_1las); _1lau.initializeHPInfo(_1lav, _1law); var _1lax = _1lai.common.getParamsFriend(_1las); _1lau.initializeParams(_1lax.karyoku, _1lax.raisou, _1lax.taiku, _1lax.soukou); var _1lay = -1 != _1laq.indexOf(_1las); _1lau.initializeTaihi(_1lay), _1lar.push(_1lau); } } var _1laz = _1lah.id_second, _1lb0 = _1lah.name_second, _1lb1 = new _1l9l.DeckModelReplica(_1lal, _1lak, _1lam, _1lan, _1lao, _1lap, _1lar, _1laz, _1lb0); return _1lb1.formation = _1lai.common.formation_id_f, _1lb1; }, _1l9s.prototype._createAirBase = function(_1lb2) { var _1lb3 = null; for (var _1lb4 = [], _1lb5 = 0; _1lb5 < 6; _1lb5++) { var _1lb6 = _1lb2.common.getHPMaxFriend(_1lb5); if (_1lb6 <= 0) break; var _1lb7 = -(_1lb5 + 1), _1lb8 = _1lb7, _1lb9 = new _1l9m.ShipModelReplica(0, ![], _1lb5, _1lb7, _1lb8, 1, 0), _1lba = _1lb2.common.getHPNowFriend(_1lb5); _1lb9.initializeHPInfo(_1lba, _1lb6); var _1lbb = _1lb2.common.getParamsFriend(_1lb5); _1lb9.initializeParams(_1lbb.karyoku, _1lbb.raisou, _1lbb.taiku, _1lbb.soukou), _1lb4.push(_1lb9); } var _1lbc = new _1l9l.DeckModelReplica(0, ![], 0, '', 0, '', _1lb4, 0, ''); return _1lbc.formation = _1lb2.common.formation_id_f, _1lbc; }, _1l9s.prototype._createDeckEnemy = function(_1lbd, _1lbe) { var _1lbf = null; for (var _1lbg, _1lbh = null != _1lbd && _1lbd.practice, _1lbi = null == _1lbd ? 0 : _1lbd.id, _1lbj = null == _1lbd ? 0 : _1lbd.medal_num, _1lbk = null == _1lbd ? '' : _1lbd.user_name, _1lbl = null == _1lbd ? '' : _1lbd.name, _1lbm = [], _1lbn = _1lbe.common.isCombinedEnemy(), _1lbo = 0; _1lbo < (_1lbn ? 12 : 6); _1lbo++) { var _1lbp = _1lbe.common.getMstIDEnemy(_1lbo); if (_1lbp <= 0) _1lbm.push(null); else { var _1lbq = _1lbe.common.getLevelEnemy(_1lbo), _1lbr = new _1l9m.ShipModelReplica(1, _1lbh, _1lbo, _1lbp, -_1lbo, _1lbq), _1lbs = _1lbe.common.getHPNowEnemy(_1lbo); _1lbh && (_1lbs = Math.max(1, _1lbs)); var _1lbt = _1lbe.common.getHPMaxEnemy(_1lbo); _1lbr.initializeHPInfo(_1lbs, _1lbt); for (var _1lbu = _1lbe.common.getSlotMstIDsEnemy(_1lbo), _1lbv = _1l9n.SlotitemModelReplica.convertFromMstIDs(_1lbu), _1lbw = [], _1lbx = 0; _1lbx < _1lbv.length; _1lbx++) _1lbw.push(0); _1lbr.initializeSlots(_1lbv, null, _1lbw); var _1lby = _1lbe.common.getParamsEnemy(_1lbo); _1lbr.initializeParams(_1lby.karyoku, _1lby.raisou, _1lby.taiku, _1lby.soukou), _1lbm.push(_1lbr); var _1lbz = _1lbh ? _1lbe.common.getEffectEnemy(_1lbo) : null; _1lbr.initializeRibbon(_1lbz); } } return (_1lbg = 0 == _1lbn ? new _1l9l.DeckModelReplica(_1lbi, _1lbh, _1lbj, _1lbk, 0, _1lbl, _1lbm) : new _1l9l.DeckModelReplica(_1lbi, _1lbh, _1lbj, _1lbk, 1, _1lbl, _1lbm, 0, '')).formation = _1lbe.common.formation_id_e, _1lbg; }, _1l9s; }()); _1l9i.BattleData = _1l9q; }, 78651: (_1lc0, _1lc1) => { 'use strict'; var _1lc2 = null; defineModule(_1lc1); Object.defineProperty(_1lc1, '__esModule', { 'value': !0 }), _1lc1.BattleRecord = void 0; var _1lc3 = (function() { var _1lc4 = null; function _1lc5() {} return Object.defineProperty(_1lc5.prototype, 'common', { 'get': function() { var _1lc6 = null; return this._common; }, 'enumerable': !1, 'configurable': !0 }), _1lc5; }()); _1lc1.BattleRecord = _1lc3; }, 14692: function(_1lc7, _1lc8, _1lc9) { 'use strict'; var _1lca = null; var _1lcb, _1lcc = this && this.__extends || (_1lcb = function(_1lcd, _1lce) { var _1lcf = null; return _1lcb = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1lcg, _1lch) { var _1lci = null; _1lcg.__proto__ = _1lch; } || function(_1lcj, _1lck) { var _1lcl = null; for (var _1lcm in _1lck) Object.prototype.hasOwnProperty.call(_1lck, _1lcm) && (_1lcj[_1lcm] = _1lck[_1lcm]); }, _1lcb(_1lcd, _1lce); }, function(_1lcn, _1lco) { var _1lcp = null; if ('function' != typeof _1lco && null !== _1lco) throw new TypeError('Class extends value ' + String(_1lco) + ' is not a constructor or null'); function _1lcq() { var _1lcr = null; this.constructor = _1lcn; } _1lcb(_1lcn, _1lco), _1lcn.prototype = null === _1lco ? Object.create(_1lco) : (_1lcq.prototype = _1lco.prototype, new _1lcq()); }); defineModule(_1lc8); Object.defineProperty(_1lc8, '__esModule', { 'value': !0 }), _1lc8.BattleRecordDay = void 0; var _1lcs = _1lc9(78651), _1lct = _1lc9(91589), _1lcu = _1lc9(83034), _1lcv = _1lc9(14921), _1lcw = _1lc9(54645), _1lcx = function(_1lcy) { var _1lcz = null; function _1ld0(_1ld1) { var _1ld2 = null, _1ld3 = _1lcy.call(this) || this; return _1ld3._o = _1ld1, _1ld3._raw = new _1lcu.RawDayBattleData(_1ld1), _1ld3._common = new _1lct.BattleCommonModel(_1ld1), _1ld3; } return _1lcc(_1ld0, _1lcy), Object.defineProperty(_1ld0.prototype, 'phase', { 'get': function() { var _1ld4 = null; return 'day'; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ld0.prototype, 'raw', { 'get': function() { var _1ld5 = null; return this._raw; }, 'enumerable': !1, 'configurable': !0 }), _1ld0.prototype.getRation = function() { var _1ld6 = null; return this._raw.ration; }, _1ld0.prototype.getRationCombined = function() { var _1ld7 = null; return this._raw.ration_combined; }, _1ld0.prototype.getAllyAirAttack = function() { var _1ld8 = null, _1ld9 = _1lcv.ObjUtil.getObject(this._o, 'api_friendly_info'), _1lda = _1lcv.ObjUtil.getObject(this._o, 'api_friendly_kouku'); return null == _1ld9 || null == _1lda ? null : new _1lcw.AllyAirAttackData(_1ld9, _1lda); }, _1ld0; }(_1lcs.BattleRecord); _1lc8.BattleRecordDay = _1lcx; }, 9983: function(_1ldb, _1ldc, _1ldd) { 'use strict'; var _1lde = null; var _1ldf, _1ldg = this && this.__extends || (_1ldf = function(_1ldh, _1ldi) { var _1ldj = null; return _1ldf = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ldk, _1ldl) { var _1ldm = null; _1ldk.__proto__ = _1ldl; } || function(_1ldn, _1ldo) { var _1ldp = null; for (var _1ldq in _1ldo) Object.prototype.hasOwnProperty.call(_1ldo, _1ldq) && (_1ldn[_1ldq] = _1ldo[_1ldq]); }, _1ldf(_1ldh, _1ldi); }, function(_1ldr, _1lds) { var _1ldt = null; if ('function' != typeof _1lds && null !== _1lds) throw new TypeError('Class extends value ' + String(_1lds) + ' is not a constructor or null'); function _1ldu() { var _1ldv = null; this.constructor = _1ldr; } _1ldf(_1ldr, _1lds), _1ldr.prototype = null === _1lds ? Object.create(_1lds) : (_1ldu.prototype = _1lds.prototype, new _1ldu()); }); defineModule(_1ldc); Object.defineProperty(_1ldc, '__esModule', { 'value': !0 }), _1ldc.BattleRecordNight = void 0; var _1ldw = _1ldd(89939), _1ldx = _1ldd(78651), _1ldy = _1ldd(14692), _1ldz = _1ldd(91589), _1le0 = _1ldd(45798), _1le1 = _1ldd(72987), _1le2 = function(_1le3) { var _1le4 = null; function _1le5(_1le6) { var _1le7 = null, _1le8 = _1le3.call(this) || this; return _1le8._o = _1le6, _1le8._raw = new _1le1.RawNightBattleData(_1le6), _1le8._common = new _1ldz.BattleCommonModel(_1le6), _1le8; } return _1ldg(_1le5, _1le3), Object.defineProperty(_1le5.prototype, 'phase', { 'get': function() { var _1le9 = null; return 'night'; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1le5.prototype, 'raw', { 'get': function() { var _1lea = null; return this._raw; }, 'enumerable': !1, 'configurable': !0 }), _1le5.prototype.getAllyAttack = function() { var _1leb = null, _1lec = _1ldw.ObjUtil.getObject(this._o, 'api_friendly_info'), _1led = _1ldw.ObjUtil.getObject(this._o, 'api_friendly_battle'); return null == _1lec || null == _1led ? null : new _1le0.AllyAttackModel(_1lec, _1led); }, _1le5.prototype.getRation = function() { var _1lee = null; return this._raw.ration; }, _1le5.prototype.getRationCombined = function() { var _1lef = null; return this._raw.ration_combined; }, _1le5.prototype.getDayRecord = function() { var _1leg = null; return 1 == this.raw.hasDayBattle() ? new _1ldy.BattleRecordDay(this._o) : null; }, _1le5; }(_1ldx.BattleRecord); _1ldc.BattleRecordNight = _1le2; }, 84626: function(_1leh, _1lei, _1lej) { 'use strict'; var _1lek = null; var _1lel = this && this.__importDefault || function(_1lem) { var _1len = null; return _1lem && _1lem.__esModule ? _1lem : { 'default': _1lem }; }; defineModule(_1lei); Object.defineProperty(_1lei, '__esModule', { 'value': !0 }), _1lei.BossModel = void 0; var _1leo = _1lel(_1lej(18622)), _1lep = (function() { var _1leq = null; function _1ler(_1les, _1let, _1leu, _1lev) { var _1lew = null; void 0 === _1leu && (_1leu = null), void 0 === _1lev && (_1lev = null), this._offset_x = 0, this._offset_y = 0, this._type = _1les, this._mst_id = _1let, this._name = _1lev, this._stype = _1leu; } return Object.defineProperty(_1ler.prototype, 'type', { 'get': function() { var _1lex = null; return this._type; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ler.prototype, 'mst_id', { 'get': function() { var _1ley = null; return this._mst_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ler.prototype, 'voice_id', { 'get': function() { var _1lez = null; return this._voice_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ler.prototype, 'message', { 'get': function() { var _1lf0 = null; return this._message; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ler.prototype, 'name', { 'get': function() { var _1lf1 = null; if (null != this._name) return this._name; var _1lf2 = _1leo.default.model.ship.getMst(this._mst_id); return null == _1lf2 ? '' : _1lf2.name; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ler.prototype, 'stype', { 'get': function() { var _1lf3 = null; if (null != this._stype) return this._stype; var _1lf4 = _1leo.default.model.ship.getMst(this._mst_id); return null == _1lf4 ? '' : _1lf4.shipTypeName; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ler.prototype, 'offset_x', { 'get': function() { var _1lf5 = null; return this._offset_x; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ler.prototype, 'offset_y', { 'get': function() { var _1lf6 = null; return this._offset_y; }, 'enumerable': !1, 'configurable': !0 }), _1ler.prototype.setMessage = function(_1lf7, _1lf8) { var _1lf9 = null; return this._voice_id = _1lf7, this._message = _1lf8, this; }, _1ler.prototype.setOffset = function(_1lfa, _1lfb) { var _1lfc = null; return this._offset_x = _1lfa, this._offset_y = _1lfb, this; }, _1ler; }()); _1lei.BossModel = _1lep; }, 27100: function(_1lfd, _1lfe, _1lff) { 'use strict'; var _1lfg = null; var _1lfh, _1lfi = this && this.__extends || (_1lfh = function(_1lfj, _1lfk) { var _1lfl = null; return _1lfh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1lfm, _1lfn) { var _1lfo = null; _1lfm.__proto__ = _1lfn; } || function(_1lfp, _1lfq) { var _1lfr = null; for (var _1lfs in _1lfq) Object.prototype.hasOwnProperty.call(_1lfq, _1lfs) && (_1lfp[_1lfs] = _1lfq[_1lfs]); }, _1lfh(_1lfj, _1lfk); }, function(_1lft, _1lfu) { var _1lfv = null; if ('function' != typeof _1lfu && null !== _1lfu) throw new TypeError('Class extends value ' + String(_1lfu) + ' is not a constructor or null'); function _1lfw() { var _1lfx = null; this.constructor = _1lft; } _1lfh(_1lft, _1lfu), _1lft.prototype = null === _1lfu ? Object.create(_1lfu) : (_1lfw.prototype = _1lfu.prototype, new _1lfw()); }); defineModule(_1lfe); Object.defineProperty(_1lfe, '__esModule', { 'value': !0 }), _1lfe.AirSupportData = void 0; var _1lfy = _1lff(89939), _1lfz = function(_1lg0) { var _1lg1 = null; function _1lg2(_1lg3) { var _1lg4 = null, _1lg5 = _1lg0.call(this, _1lg3) || this; return _1lg5._initPlaneFrom(), _1lg5; } return _1lfi(_1lg2, _1lg0), _1lg2.prototype.getShipList = function() { var _1lg6 = null; for (var _1lg7 = _1lfy.ObjUtil.getNumArray(this._o, 'api_ship_id'), _1lg8 = _1lfy.ObjUtil.getNumArray(this._o, 'api_undressing_flag'), _1lg9 = [], _1lga = 0; _1lga < _1lg7.length; _1lga++) _1lg9.push({ 'mem_id': _1lg7[_1lga], 'damaged': 1 == _1lg8[_1lga] }); return _1lg9; }, _1lg2; }(_1lff(95162).AirWarDataBase); _1lfe.AirSupportData = _1lfz; }, 2113: function(_1lgb, _1lgc, _1lgd) { 'use strict'; var _1lge = null; var _1lgf, _1lgg = this && this.__extends || (_1lgf = function(_1lgh, _1lgi) { var _1lgj = null; return _1lgf = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1lgk, _1lgl) { var _1lgm = null; _1lgk.__proto__ = _1lgl; } || function(_1lgn, _1lgo) { var _1lgp = null; for (var _1lgq in _1lgo) Object.prototype.hasOwnProperty.call(_1lgo, _1lgq) && (_1lgn[_1lgq] = _1lgo[_1lgq]); }, _1lgf(_1lgh, _1lgi); }, function(_1lgr, _1lgs) { var _1lgt = null; if ('function' != typeof _1lgs && null !== _1lgs) throw new TypeError('Class extends value ' + String(_1lgs) + ' is not a constructor or null'); function _1lgu() { var _1lgv = null; this.constructor = _1lgr; } _1lgf(_1lgr, _1lgs), _1lgr.prototype = null === _1lgs ? Object.create(_1lgs) : (_1lgu.prototype = _1lgs.prototype, new _1lgu()); }); defineModule(_1lgc); Object.defineProperty(_1lgc, '__esModule', { 'value': !0 }), _1lgc.AirUnitData = void 0; var _1lgw = _1lgd(89939), _1lgx = function(_1lgy) { var _1lgz = null; function _1lh0(_1lh1) { var _1lh2 = null, _1lh3 = _1lgy.call(this, _1lh1) || this; return _1lh3._initPlaneFrom(), _1lh3; } return _1lgg(_1lh0, _1lgy), Object.defineProperty(_1lh0.prototype, 'airunit_id', { 'get': function() { var _1lh4 = null; return _1lgw.ObjUtil.getNumber(this._o, 'api_base_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lh0.prototype, 'squadrons', { 'get': function() { var _1lh5 = null, _1lh6 = [], _1lh7 = _1lgw.ObjUtil.getObjectArray(this._o, 'api_squadron_plane'); if (null != _1lh7) for (var _1lh8 = 0, _1lh9 = _1lh7; _1lh8 < _1lh9.length; _1lh8++) { var _1lha = _1lh9[_1lh8]; _1lh6.push({ 'mst_id': _1lgw.ObjUtil.getNumber(_1lha, 'api_mst_id'), 'count': _1lgw.ObjUtil.getNumber(_1lha, 'api_count') }); } if (null != (_1lh7 = _1lgw.ObjUtil.getObjectArray(this._o, 'api_map_squadron_plane'))) for (var _1lhb = 0, _1lhc = this.plane_from_f.map(function(_1lhd) { return _1lhd + 1; }); _1lhb < _1lhc.length; _1lhb++) { var _1lhe = _1lhc[_1lhb]; if (_1lh7.hasOwnProperty(_1lhe.toString())) for (var _1lhf = 0, _1lhg = _1lh7[_1lhe]; _1lhf < _1lhg.length; _1lhf++) { var _1lhh = _1lhg[_1lhf]; _1lh6.push({ 'mst_id': _1lgw.ObjUtil.getNumber(_1lhh, 'api_mst_id'), 'count': _1lgw.ObjUtil.getNumber(_1lhh, 'api_count') }); } } return _1lh6; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lh0.prototype, 'seiku', { 'get': function() { var _1lhi = null, _1lhj = this._stage1; return null == _1lhj ? 0 : _1lgw.ObjUtil.getNumber(_1lhj, 'api_disp_seiku'); }, 'enumerable': !1, 'configurable': !0 }), _1lh0; }(_1lgd(95162).AirWarDataBase); _1lgc.AirUnitData = _1lgx; }, 25995: function(_1lhk, _1lhl, _1lhm) { 'use strict'; var _1lhn = null; var _1lho, _1lhp = this && this.__extends || (_1lho = function(_1lhq, _1lhr) { var _1lhs = null; return _1lho = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1lht, _1lhu) { var _1lhv = null; _1lht.__proto__ = _1lhu; } || function(_1lhw, _1lhx) { var _1lhy = null; for (var _1lhz in _1lhx) Object.prototype.hasOwnProperty.call(_1lhx, _1lhz) && (_1lhw[_1lhz] = _1lhx[_1lhz]); }, _1lho(_1lhq, _1lhr); }, function(_1li0, _1li1) { var _1li2 = null; if ('function' != typeof _1li1 && null !== _1li1) throw new TypeError('Class extends value ' + String(_1li1) + ' is not a constructor or null'); function _1li3() { var _1li4 = null; this.constructor = _1li0; } _1lho(_1li0, _1li1), _1li0.prototype = null === _1li1 ? Object.create(_1li1) : (_1li3.prototype = _1li1.prototype, new _1li3()); }); defineModule(_1lhl); Object.defineProperty(_1lhl, '__esModule', { 'value': !0 }), _1lhl.AirUnitJetData = void 0; var _1li5 = _1lhm(89939), _1li6 = function(_1li7) { var _1li8 = null; function _1li9(_1lia) { var _1lib = null, _1lic = _1li7.call(this, _1lia) || this; return _1lic._initPlaneFrom(), _1lic; } return _1lhp(_1li9, _1li7), Object.defineProperty(_1li9.prototype, 'squadrons', { 'get': function() { var _1lid = null; for (var _1lie = [], _1lif = 0, _1lig = _1li5.ObjUtil.getObjectArray(this._o, 'api_air_base_data'); _1lif < _1lig.length; _1lif++) { var _1lih = _1lig[_1lif]; _1lie.push({ 'mst_id': _1li5.ObjUtil.getNumber(_1lih, 'api_mst_id'), 'count': _1li5.ObjUtil.getNumber(_1lih, 'api_count') }); } return _1lie; }, 'enumerable': !1, 'configurable': !0 }), _1li9; }(_1lhm(95162).AirWarDataBase); _1lhl.AirUnitJetData = _1li6; }, 31927: function(_1lii, _1lij, _1lik) { 'use strict'; var _1lil = null; var _1lim, _1lin = this && this.__extends || (_1lim = function(_1lio, _1lip) { var _1liq = null; return _1lim = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1lir, _1lis) { var _1lit = null; _1lir.__proto__ = _1lis; } || function(_1liu, _1liv) { var _1liw = null; for (var _1lix in _1liv) Object.prototype.hasOwnProperty.call(_1liv, _1lix) && (_1liu[_1lix] = _1liv[_1lix]); }, _1lim(_1lio, _1lip); }, function(_1liy, _1liz) { var _1lj0 = null; if ('function' != typeof _1liz && null !== _1liz) throw new TypeError('Class extends value ' + String(_1liz) + ' is not a constructor or null'); function _1lj1() { var _1lj2 = null; this.constructor = _1liy; } _1lim(_1liy, _1liz), _1liy.prototype = null === _1liz ? Object.create(_1liz) : (_1lj1.prototype = _1liz.prototype, new _1lj1()); }); defineModule(_1lij); Object.defineProperty(_1lij, '__esModule', { 'value': !0 }), _1lij.AirWarData = void 0; var _1lj3 = _1lik(89939), _1lj4 = function(_1lj5) { var _1lj6 = null; function _1lj7(_1lj8) { var _1lj9 = null, _1lja = _1lj5.call(this, _1lj8) || this; return _1lja._initPlaneFrom(), _1lja; } return _1lin(_1lj7, _1lj5), Object.defineProperty(_1lj7.prototype, 'seiku', { 'get': function() { var _1ljb = null, _1ljc = this._stage1; return null == _1ljc ? 0 : _1lj3.ObjUtil.getNumber(_1ljc, 'api_disp_seiku'); }, 'enumerable': !1, 'configurable': !0 }), _1lj7; }(_1lik(95162).AirWarDataBase); _1lij.AirWarData = _1lj4; }, 95162: (_1ljd, _1lje, _1ljf) => { 'use strict'; var _1ljg = null; defineModule(_1lje); Object.defineProperty(_1lje, '__esModule', { 'value': !0 }), _1lje.PlaneCountData = _1lje.AirWarDataBase = void 0; var _1ljh = _1ljf(89939), _1lji = _1ljf(85977), _1ljj = (function() { var _1ljk = null; function _1ljl(_1ljm) { var _1ljn = null; this._o = _1ljm, this._plane_count_f = new _1ljo(!0, this._stage1, this._stage2), this._plane_count_e = new _1ljo(!1, this._stage1, this._stage2); var _1ljp = _1ljh.ObjUtil.getObject(_1ljm, 'api_stage3'); _1ljp = null == _1ljp ? {} : _1ljp; var _1ljq = _1ljh.ObjUtil.getObject(_1ljm, 'api_stage3_combined'); this._stage3_f = new _1lji.AirWarStage3Model(!0, _1ljp, _1ljq), this._stage3_e = new _1lji.AirWarStage3Model(!1, _1ljp, _1ljq); } return Object.defineProperty(_1ljl.prototype, 'plane_from_f', { 'get': function() { var _1ljr = null; return this._plane_from_f; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ljl.prototype, 'plane_from_e', { 'get': function() { var _1ljs = null; return this._plane_from_e; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ljl.prototype, 'plane_count_f', { 'get': function() { var _1ljt = null; return this._plane_count_f; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ljl.prototype, 'plane_count_e', { 'get': function() { var _1lju = null; return this._plane_count_e; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ljl.prototype, 'stage3_f', { 'get': function() { var _1ljv = null; return this._stage3_f; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ljl.prototype, 'stage3_e', { 'get': function() { var _1ljw = null; return this._stage3_e; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ljl.prototype, '_stage1', { 'get': function() { var _1ljx = null; return _1ljh.ObjUtil.getObject(this._o, 'api_stage1'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ljl.prototype, '_stage2', { 'get': function() { var _1ljy = null; return _1ljh.ObjUtil.getObject(this._o, 'api_stage2'); }, 'enumerable': !1, 'configurable': !0 }), _1ljl.prototype.getTouchPlaneFriend = function() { var _1ljz = null; if (null == this._stage1) return -1; var _1lk0 = _1ljh.ObjUtil.getNumArray(this._stage1, 'api_touch_plane'); return null == _1lk0 || _1lk0.length < 1 ? -1 : _1lk0[0]; }, _1ljl.prototype.getTouchPlaneEnemy = function() { var _1lk1 = null; if (null == this._stage1) return -1; var _1lk2 = _1ljh.ObjUtil.getNumArray(this._stage1, 'api_touch_plane'); return null == _1lk2 || _1lk2.length < 2 ? -1 : _1lk2[1]; }, _1ljl.prototype.getTaikuShipIndex = function() { var _1lk3 = null, _1lk4 = this._stage2; return null == _1lk4 || null == (_1lk4 = _1ljh.ObjUtil.getObject(_1lk4, 'api_air_fire')) ? -1 : _1ljh.ObjUtil.getNumber(_1lk4, 'api_idx', -1); }, _1ljl.prototype.getTaikuSlotMstIDs = function() { var _1lk5 = null, _1lk6 = this._stage2; return null == _1lk6 || null == (_1lk6 = _1ljh.ObjUtil.getObject(_1lk6, 'api_air_fire')) ? null : _1ljh.ObjUtil.getNumArray(_1lk6, 'api_use_items'); }, _1ljl.prototype.hasStage3Data = function() { var _1lk7 = null; return null != this._o && this._o.hasOwnProperty('api_stage3'); }, _1ljl.prototype._initPlaneFrom = function() { var _1lk8 = null, _1lk9 = _1ljh.ObjUtil.getObjectArray(this._o, 'api_plane_from'); if (null == _1lk9) this._plane_from_f = [], this._plane_from_e = []; else { _1lk9.length > 0 && (this._plane_from_f = _1lk9[0], null == this._plane_from_f && (this._plane_from_f = [])), _1lk9.length > 1 && (this._plane_from_e = _1lk9[1], null == this._plane_from_e && (this._plane_from_e = [])); for (var _1lka = 0; _1lka < this._plane_from_f.length; _1lka++) this._plane_from_f[_1lka]--; for (_1lka = 0; _1lka < this._plane_from_e.length; _1lka++) this._plane_from_e[_1lka]--; } }, _1ljl; }()); _1lje.AirWarDataBase = _1ljj; var _1ljo = (function() { var _1lkb = null; function _1lkc(_1lkd, _1lke, _1lkf) { var _1lkg = null; this._friend = _1lkd, this._stage1 = _1lke, this._stage2 = _1lkf; } return Object.defineProperty(_1lkc.prototype, 'count', { 'get': function() { var _1lkh = null, _1lki = this._stage1; if (null == _1lki) return 0; var _1lkj = this._friend ? 'api_f_count' : 'api_e_count'; return _1ljh.ObjUtil.getNumber(_1lki, _1lkj); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lkc.prototype, 'lost_count_stage1', { 'get': function() { var _1lkk = null, _1lkl = this._stage1; if (null == _1lkl) return 0; var _1lkm = this._friend ? 'api_f_lostcount' : 'api_e_lostcount'; return _1ljh.ObjUtil.getNumber(_1lkl, _1lkm); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lkc.prototype, 'count_stage1', { 'get': function() { var _1lkn = null; return this.count - this.lost_count_stage1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lkc.prototype, 'lost_count_stage2', { 'get': function() { var _1lko = null, _1lkp = this._stage2; if (null == _1lkp) return 0; var _1lkq = this._friend ? 'api_f_lostcount' : 'api_e_lostcount'; return _1ljh.ObjUtil.getNumber(_1lkp, _1lkq); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lkc.prototype, 'count_stage2', { 'get': function() { var _1lkr = null; return this.count_stage1 - this.lost_count_stage2; }, 'enumerable': !1, 'configurable': !0 }), _1lkc; }()); _1lje.PlaneCountData = _1ljo; }, 61531: (_1lks, _1lkt, _1lku) => { 'use strict'; var _1lkv = null; defineModule(_1lkt); Object.defineProperty(_1lkt, '__esModule', { 'value': !0 }), _1lkt.HougekiData = _1lkt.HougekiListData = void 0; var _1lkw = _1lku(89939), _1lkx = (function() { var _1lky = null; function _1lkz(_1ll0) { var _1ll1 = null; this._list = new Array(); for (var _1ll2 = _1lkw.ObjUtil.getNumArray(_1ll0, 'api_at_eflag'), _1ll3 = _1lkw.ObjUtil.getNumArray(_1ll0, 'api_at_type'), _1ll4 = _1lkw.ObjUtil.getNumArray(_1ll0, 'api_at_list'), _1ll5 = _1lkw.ObjUtil.getObjectArray(_1ll0, 'api_df_list'), _1ll6 = _1lkw.ObjUtil.getObjectArray(_1ll0, 'api_si_list'), _1ll7 = _1lkw.ObjUtil.getObjectArray(_1ll0, 'api_cl_list'), _1ll8 = _1lkw.ObjUtil.getObjectArray(_1ll0, 'api_damage'), _1ll9 = 0; _1ll9 < _1ll5.length; _1ll9++) { var _1lla = _1ll2[_1ll9], _1llb = _1ll3[_1ll9], _1llc = _1ll4[_1ll9], _1lld = _1ll5[_1ll9], _1lle = _1ll6[_1ll9], _1llf = _1ll7[_1ll9], _1llg = _1ll8[_1ll9], _1llh = new _1lli(_1lla, _1llb, _1llc, _1lld, _1lle, _1llf, _1llg); this._list.push(_1llh); } } return Object.defineProperty(_1lkz.prototype, 'list', { 'get': function() { var _1llj = null; return this._list; }, 'enumerable': !1, 'configurable': !0 }), _1lkz; }()); _1lkt.HougekiListData = _1lkx; var _1lli = (function() { var _1llk = null; function _1lll(_1llm, _1lln, _1llo, _1llp, _1llq, _1llr, _1lls) { var _1llt = null; this._flag = _1llm, this._type = _1lln, this._a_index = _1llo, this._d_indexes = _1llp, this._slotitems = _1llq, this._hit_types = _1llr, this._damages = _1lls; } return Object.defineProperty(_1lll.prototype, 'flag', { 'get': function() { var _1llu = null; return this._flag; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lll.prototype, 'type', { 'get': function() { var _1llv = null; return this._type; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lll.prototype, 'a_index', { 'get': function() { var _1llw = null; return this._a_index; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lll.prototype, 'd_indexes', { 'get': function() { var _1llx = null; return this._d_indexes; }, 'enumerable': !1, 'configurable': !0 }), _1lll.prototype.getSlotitem = function(_1lly) { var _1llz = null; return null == this._slotitems || this._slotitems.length <= _1lly ? -1 : this._slotitems[_1lly]; }, _1lll.prototype.getDamage = function(_1lm0) { var _1lm1 = null; return null == this._damages || this._damages.length <= _1lm0 ? 0 : Math.floor(this._damages[_1lm0]); }, _1lll.prototype.getHitType = function(_1lm2) { var _1lm3 = null; return null == this._hit_types || this._hit_types.length <= _1lm2 ? 0 : this._hit_types[_1lm2]; }, _1lll.prototype.isShield = function(_1lm4) { var _1lm5 = null; return null != this._damages && (!(this._damages.length <= _1lm4) && this._damages[_1lm4] % 1 > 0); }, _1lll; }()); _1lkt.HougekiData = _1lli; }, 45415: (_1lm6, _1lm7, _1lm8) => { 'use strict'; var _1lm9 = null; defineModule(_1lm7); Object.defineProperty(_1lm7, '__esModule', { 'value': !0 }), _1lm7.HougekiNightData = _1lm7.HougekiListNightData = void 0; var _1lma = _1lm8(89939), _1lmb = (function() { var _1lmc = null; function _1lmd(_1lme) { var _1lmf = null; this._list = []; var _1lmg = _1lma.ObjUtil.getObjectArray(_1lme, 'api_df_list'); if (null != _1lmg) for (var _1lmh = _1lma.ObjUtil.getNumArray(_1lme, 'api_at_eflag'), _1lmi = _1lma.ObjUtil.getNumArray(_1lme, 'api_sp_list'), _1lmj = _1lma.ObjUtil.getNumArray(_1lme, 'api_at_list'), _1lmk = _1lma.ObjUtil.getObjectArray(_1lme, 'api_si_list'), _1lml = _1lma.ObjUtil.getObjectArray(_1lme, 'api_cl_list'), _1lmm = _1lma.ObjUtil.getObjectArray(_1lme, 'api_damage'), _1lmn = _1lma.ObjUtil.getObjectArray(_1lme, 'api_n_mother_list'), _1lmo = 0; _1lmo < _1lmg.length; _1lmo++) { var _1lmp = _1lmh[_1lmo], _1lmq = _1lmi[_1lmo], _1lmr = _1lmj[_1lmo], _1lms = _1lmg[_1lmo], _1lmt = _1lmk[_1lmo], _1lmu = _1lml[_1lmo], _1lmv = _1lmm[_1lmo], _1lmw = 1 == _1lmn[_1lmo], _1lmx = new _1lmy(_1lmp, _1lmq, _1lmr, _1lms, _1lmt, _1lmu, _1lmv, _1lmw); this._list.push(_1lmx); } } return Object.defineProperty(_1lmd.prototype, 'list', { 'get': function() { var _1lmz = null; return this._list; }, 'enumerable': !1, 'configurable': !0 }), _1lmd; }()); _1lm7.HougekiListNightData = _1lmb; var _1lmy = (function() { var _1ln0 = null; function _1ln1(_1ln2, _1ln3, _1ln4, _1ln5, _1ln6, _1ln7, _1ln8, _1ln9) { var _1lna = null; this._flag = _1ln2, this._type = _1ln3, this._a_index = _1ln4, this._d_indexes = _1ln5, this._slotitems = _1ln6, this._hit_types = _1ln7, this._damages = _1ln8, this._yasen_kubo = _1ln9; } return Object.defineProperty(_1ln1.prototype, 'flag', { 'get': function() { var _1lnb = null; return this._flag; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ln1.prototype, 'type', { 'get': function() { var _1lnc = null; return this._type; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ln1.prototype, 'a_index', { 'get': function() { var _1lnd = null; return this._a_index; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ln1.prototype, 'd_indexes', { 'get': function() { var _1lne = null; return this._d_indexes; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ln1.prototype, 'yasen_kubo', { 'get': function() { var _1lnf = null; return this._yasen_kubo; }, 'enumerable': !1, 'configurable': !0 }), _1ln1.prototype.getSlotitem = function(_1lng) { var _1lnh = null; return null == this._slotitems || this._slotitems.length <= _1lng ? -1 : this._slotitems[_1lng]; }, _1ln1.prototype.getDamage = function(_1lni) { var _1lnj = null; return null == this._damages || this._damages.length <= _1lni ? 0 : Math.floor(this._damages[_1lni]); }, _1ln1.prototype.getHitType = function(_1lnk) { var _1lnl = null; return null == this._hit_types || this._hit_types.length <= _1lnk ? 0 : this._hit_types[_1lnk]; }, _1ln1.prototype.isShield = function(_1lnm) { var _1lnn = null; return null != this._damages && (!(this._damages.length <= _1lnm) && this._damages[_1lnm] % 1 > 0); }, _1ln1; }()); _1lm7.HougekiNightData = _1lmy; }, 34922: (_1lno, _1lnp, _1lnq) => { 'use strict'; var _1lnr = null; defineModule(_1lnp); Object.defineProperty(_1lnp, '__esModule', { 'value': !0 }), _1lnp.RaigekiData = void 0; var _1lns = _1lnq(89939), _1lnt = (function() { var _1lnu = null; function _1lnv(_1lnw) { this._o = _1lnw; } return _1lnv.prototype.getAttackTo_f = function(_1lnx) { var _1lny = null, _1lnz = _1lns.ObjUtil.getNumArray(this._o, 'api_frai'); return null == _1lnz || _1lnz.length <= _1lnx ? -1 : _1lnz[_1lnx]; }, _1lnv.prototype.getDamage_f = function(_1lo0) { var _1lo1 = null, _1lo2 = _1lns.ObjUtil.getNumArray(this._o, 'api_fydam'); return null == _1lo2 || _1lo2.length <= _1lo0 ? 0 : Math.floor(_1lo2[_1lo0]); }, _1lnv.prototype.isShield_f = function(_1lo3) { var _1lo4 = null, _1lo5 = _1lns.ObjUtil.getNumArray(this._o, 'api_fydam'); return !(null == _1lo5 || _1lo5.length <= _1lo3) && _1lo5[_1lo3] % 1 != 0; }, _1lnv.prototype.getHitType_f = function(_1lo6) { var _1lo7 = null, _1lo8 = _1lns.ObjUtil.getNumArray(this._o, 'api_fcl'); return null == _1lo8 || _1lo8.length <= _1lo6 ? 0 : _1lo8[_1lo6]; }, _1lnv.prototype.hasShield_f = function() { var _1lo9 = null, _1loa = _1lns.ObjUtil.getNumArray(this._o, 'api_fdam'); if (null == _1loa) return !1; for (var _1lob = 0, _1loc = _1loa; _1lob < _1loc.length; _1lob++) { if (_1loc[_1lob] % 1 != 0) return !0; } return !1; }, _1lnv.prototype.getAttackTo_e = function(_1lod) { var _1loe = null, _1lof = _1lns.ObjUtil.getNumArray(this._o, 'api_erai'); return null == _1lof || _1lof.length <= _1lod ? -1 : _1lof[_1lod]; }, _1lnv.prototype.getDamage_e = function(_1log) { var _1loh = null, _1loi = _1lns.ObjUtil.getNumArray(this._o, 'api_eydam'); return null == _1loi || _1loi.length <= _1log ? 0 : Math.floor(_1loi[_1log]); }, _1lnv.prototype.isShield_e = function(_1loj) { var _1lok = null, _1lol = _1lns.ObjUtil.getNumArray(this._o, 'api_fydam'); return !(null == _1lol || _1lol.length <= _1loj) && _1lol[_1loj] % 1 != 0; }, _1lnv.prototype.getHitType_e = function(_1lom) { var _1lon = null, _1loo = _1lns.ObjUtil.getNumArray(this._o, 'api_ecl'); return null == _1loo || _1loo.length <= _1lom ? 0 : _1loo[_1lom]; }, _1lnv.prototype.hasShield_e = function() { var _1lop = null, _1loq = _1lns.ObjUtil.getNumArray(this._o, 'api_edam'); if (null == _1loq) return !1; for (var _1lor = 0, _1los = _1loq; _1lor < _1los.length; _1lor++) { if (_1los[_1lor] % 1 != 0) return !0; } return !1; }, _1lnv; }()); _1lnp.RaigekiData = _1lnt; }, 71769: function(_1lot, _1lou, _1lov) { 'use strict'; var _1low = null; var _1lox, _1loy = this && this.__extends || (_1lox = function(_1loz, _1lp0) { var _1lp1 = null; return _1lox = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1lp2, _1lp3) { var _1lp4 = null; _1lp2.__proto__ = _1lp3; } || function(_1lp5, _1lp6) { var _1lp7 = null; for (var _1lp8 in _1lp6) Object.prototype.hasOwnProperty.call(_1lp6, _1lp8) && (_1lp5[_1lp8] = _1lp6[_1lp8]); }, _1lox(_1loz, _1lp0); }, function(_1lp9, _1lpa) { var _1lpb = null; if ('function' != typeof _1lpa && null !== _1lpa) throw new TypeError('Class extends value ' + String(_1lpa) + ' is not a constructor or null'); function _1lpc() { var _1lpd = null; this.constructor = _1lp9; } _1lox(_1lp9, _1lpa), _1lp9.prototype = null === _1lpa ? Object.create(_1lpa) : (_1lpc.prototype = _1lpa.prototype, new _1lpc()); }); defineModule(_1lou); Object.defineProperty(_1lou, '__esModule', { 'value': !0 }), _1lou.RaigekiOpeningData = void 0; var _1lpe = _1lov(89939), _1lpf = function(_1lpg) { var _1lph = null; function _1lpi(_1lpj) { var _1lpk = null; return _1lpg.call(this, _1lpj) || this; } return _1loy(_1lpi, _1lpg), _1lpi.prototype.getAttackTo_f = function(_1lpl) { var _1lpm = null, _1lpn = _1lpe.ObjUtil.getObjectArray(this._o, 'api_frai_list_items'); if (null == _1lpn || _1lpn.length <= _1lpl) return -1; var _1lpo = _1lpn[_1lpl]; return null == _1lpo ? -1 : _1lpo[0]; }, _1lpi.prototype.getDamage_f = function(_1lpp) { var _1lpq = null, _1lpr = _1lpe.ObjUtil.getObjectArray(this._o, 'api_fydam_list_items'); if (null == _1lpr || _1lpr.length <= _1lpp) return 0; var _1lps = _1lpr[_1lpp]; return null == _1lps ? 0 : Math.floor(_1lps[0]); }, _1lpi.prototype.isShield_f = function(_1lpt) { var _1lpu = null, _1lpv = _1lpe.ObjUtil.getObjectArray(this._o, 'api_fydam_list_items'); if (null == _1lpv || _1lpv.length <= _1lpt) return !1; var _1lpw = _1lpv[_1lpt]; return null != _1lpw && _1lpw[0] % 1 != 0; }, _1lpi.prototype.getHitType_f = function(_1lpx) { var _1lpy = null, _1lpz = _1lpe.ObjUtil.getObjectArray(this._o, 'api_fcl_list_items'); if (null == _1lpz || _1lpz.length <= _1lpx) return 0; var _1lq0 = _1lpz[_1lpx]; return null == _1lq0 ? 0 : _1lq0[0]; }, _1lpi.prototype.getAttackTo_e = function(_1lq1) { var _1lq2 = null, _1lq3 = _1lpe.ObjUtil.getObjectArray(this._o, 'api_erai_list_items'); if (null == _1lq3 || _1lq3.length <= _1lq1) return -1; var _1lq4 = _1lq3[_1lq1]; return null == _1lq4 ? -1 : _1lq4[0]; }, _1lpi.prototype.getDamage_e = function(_1lq5) { var _1lq6 = null, _1lq7 = _1lpe.ObjUtil.getObjectArray(this._o, 'api_eydam_list_items'); if (null == _1lq7 || _1lq7.length <= _1lq5) return 0; var _1lq8 = _1lq7[_1lq5]; return null == _1lq8 ? 0 : _1lq8[0]; }, _1lpi.prototype.isShield_e = function(_1lq9) { var _1lqa = null, _1lqb = _1lpe.ObjUtil.getObjectArray(this._o, 'api_fydam_list_items'); if (null == _1lqb || _1lqb.length <= _1lq9) return !1; var _1lqc = _1lqb[_1lq9]; return null != _1lqc && _1lqc[0] % 1 != 0; }, _1lpi.prototype.getHitType_e = function(_1lqd) { var _1lqe = null, _1lqf = _1lpe.ObjUtil.getObjectArray(this._o, 'api_ecl_list_items'); if (null == _1lqf || _1lqf.length <= _1lqd) return 0; var _1lqg = _1lqf[_1lqd]; return null == _1lqg ? 0 : _1lqg[0]; }, _1lpi.prototype.getMultiAttackTo_f = function(_1lqh) { var _1lqi = null, _1lqj = _1lpe.ObjUtil.getObjectArray(this._o, 'api_frai_list_items'); if (null == _1lqj || _1lqj.length <= _1lqh) return []; var _1lqk = _1lqj[_1lqh]; return null == _1lqk ? [] : _1lqk; }, _1lpi.prototype.getMultiDamage_f = function(_1lql) { var _1lqm = null, _1lqn = _1lpe.ObjUtil.getObjectArray(this._o, 'api_fydam_list_items'); if (null == _1lqn || _1lqn.length <= _1lql) return []; var _1lqo = _1lqn[_1lql]; return null == _1lqo ? [] : _1lqo.map(function(_1lqp) { var _1lqq = null; return Math.floor(_1lqp); }); }, _1lpi.prototype.isMultiShield_f = function(_1lqr) { var _1lqs = null, _1lqt = _1lpe.ObjUtil.getObjectArray(this._o, 'api_fydam_list_items'); if (null == _1lqt || _1lqt.length <= _1lqr) return []; var _1lqu = _1lqt[_1lqr]; return null == _1lqu ? [] : _1lqu.map(function(_1lqv) { return _1lqv % 1 != 0; }); }, _1lpi.prototype.getMultiAttackTo_e = function(_1lqw) { var _1lqx = null, _1lqy = _1lpe.ObjUtil.getObjectArray(this._o, 'api_erai_list_items'); if (null == _1lqy || _1lqy.length <= _1lqw) return []; var _1lqz = _1lqy[_1lqw]; return null == _1lqz ? [] : _1lqz; }, _1lpi.prototype.getMultiHitType_f = function(_1lr0) { var _1lr1 = null, _1lr2 = _1lpe.ObjUtil.getObjectArray(this._o, 'api_fcl_list_items'); if (null == _1lr2 || _1lr2.length <= _1lr0) return []; var _1lr3 = _1lr2[_1lr0]; return null == _1lr3 ? [] : _1lr3; }, _1lpi.prototype.getMultiDamage_e = function(_1lr4) { var _1lr5 = null, _1lr6 = _1lpe.ObjUtil.getObjectArray(this._o, 'api_eydam_list_items'); if (null == _1lr6 || _1lr6.length <= _1lr4) return []; var _1lr7 = _1lr6[_1lr4]; return null == _1lr7 ? [] : _1lr7.map(function(_1lr8) { var _1lr9 = null; return Math.floor(_1lr8); }); }, _1lpi.prototype.isMultiShield_e = function(_1lra) { var _1lrb = null, _1lrc = _1lpe.ObjUtil.getObjectArray(this._o, 'api_fydam_list_items'); if (null == _1lrc || _1lrc.length <= _1lra) return []; var _1lrd = _1lrc[_1lra]; return null == _1lrd ? [] : _1lrd.map(function(_1lre) { return _1lre % 1 != 0; }); }, _1lpi.prototype.getMultiHitType_e = function(_1lrf) { var _1lrg = null, _1lrh = _1lpe.ObjUtil.getObjectArray(this._o, 'api_ecl_list_items'); if (null == _1lrh || _1lrh.length <= _1lrf) return []; var _1lri = _1lrh[_1lrf]; return null == _1lri ? [] : _1lri; }, _1lpi; }(_1lov(34922).RaigekiData); _1lou.RaigekiOpeningData = _1lpf; }, 83034: (_1lrj, _1lrk, _1lrl) => { 'use strict'; var _1lrm = null; defineModule(_1lrk); Object.defineProperty(_1lrk, '__esModule', { 'value': !0 }), _1lrk.RawDayBattleData = void 0; var _1lrn = _1lrl(89939), _1lro = _1lrl(98541), _1lrp = _1lrl(31927), _1lrq = _1lrl(2113), _1lrr = _1lrl(34922), _1lrs = _1lrl(25995), _1lrt = _1lrl(61531), _1lru = _1lrl(27100), _1lrv = _1lrl(8709), _1lrw = _1lrl(71769), _1lrx = (function() { var _1lry = null; function _1lrz(_1ls0) { this._o = _1ls0; } return Object.defineProperty(_1lrz.prototype, 'sakuteki', { 'get': function() { var _1ls1 = null; return new _1lro.SakutekiData(this._o); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lrz.prototype, 'ration', { 'get': function() { var _1ls2 = null, _1ls3 = _1lrn.ObjUtil.getNumArray(this._o, 'api_combat_ration'); return null == _1ls3 ? [] : _1ls3; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lrz.prototype, 'ration_combined', { 'get': function() { var _1ls4 = null, _1ls5 = _1lrn.ObjUtil.getNumArray(this._o, 'api_combat_ration_combined'); return null == _1ls5 ? [] : _1ls5; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lrz.prototype, 'stage_flag', { 'get': function() { var _1ls6 = null; return _1lrn.ObjUtil.getNumArray(this._o, 'api_stage_flag'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lrz.prototype, 'air_unit_jet', { 'get': function() { var _1ls7 = null, _1ls8 = _1lrn.ObjUtil.getObjectArray(this._o, 'api_air_base_injection'); return null == _1ls8 ? null : new _1lrs.AirUnitJetData(_1ls8); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lrz.prototype, 'air_war_jet', { 'get': function() { var _1ls9 = null, _1lsa = _1lrn.ObjUtil.getObject(this._o, 'api_injection_kouku'); return null == _1lsa ? null : new _1lrp.AirWarData(_1lsa); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lrz.prototype, 'rescue_type', { 'get': function() { var _1lsb = null, _1lsc = _1lrn.ObjUtil.getNumber(this._o, 'api_air_base_rescue_type'); return null == _1lsc ? 0 : _1lsc; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lrz.prototype, 'air_unit', { 'get': function() { var _1lsd = null, _1lse = _1lrn.ObjUtil.getObjectArray(this._o, 'api_air_base_attack'); if (null == _1lse) return []; if (0 == _1lse.hasOwnProperty('length')) return [new _1lrq.AirUnitData(_1lse)]; for (var _1lsf = [], _1lsg = 0, _1lsh = _1lse; _1lsg < _1lsh.length; _1lsg++) { var _1lsi = _1lsh[_1lsg]; _1lsf.push(new _1lrq.AirUnitData(_1lsi)); } return _1lsf; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lrz.prototype, 'air_war', { 'get': function() { var _1lsj = null, _1lsk = _1lrn.ObjUtil.getObject(this._o, 'api_kouku'); return null == _1lsk ? null : new _1lrp.AirWarData(_1lsk); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lrz.prototype, 'air_war2', { 'get': function() { var _1lsl = null, _1lsm = _1lrn.ObjUtil.getObject(this._o, 'api_kouku2'); return null == _1lsm ? null : new _1lrp.AirWarData(_1lsm); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lrz.prototype, 'support_air', { 'get': function() { var _1lsn = null; if (1 != _1lrn.ObjUtil.getNumber(this._o, 'api_support_flag')) return null; var _1lso = _1lrn.ObjUtil.getObject(this._o, 'api_support_info'); if (null == _1lso) return null; var _1lsp = _1lrn.ObjUtil.getObject(_1lso, 'api_support_airatack'); return new _1lru.AirSupportData(_1lsp); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lrz.prototype, 'support_hou', { 'get': function() { var _1lsq = null; if (2 != _1lrn.ObjUtil.getNumber(this._o, 'api_support_flag')) return null; var _1lsr = _1lrn.ObjUtil.getObject(this._o, 'api_support_info'); if (null == _1lsr) return null; var _1lss = _1lrn.ObjUtil.getObject(_1lsr, 'api_support_hourai'); return new _1lrv.SupportData(_1lss); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lrz.prototype, 'support_rai', { 'get': function() { var _1lst = null; if (3 != _1lrn.ObjUtil.getNumber(this._o, 'api_support_flag')) return null; var _1lsu = _1lrn.ObjUtil.getObject(this._o, 'api_support_info'); if (null == _1lsu) return null; var _1lsv = _1lrn.ObjUtil.getObject(_1lsu, 'api_support_hourai'); return new _1lrv.SupportData(_1lsv); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lrz.prototype, 'support_taisen', { 'get': function() { var _1lsw = null; if (4 != _1lrn.ObjUtil.getNumber(this._o, 'api_support_flag')) return null; var _1lsx = _1lrn.ObjUtil.getObject(this._o, 'api_support_info'); if (null == _1lsx) return null; var _1lsy = _1lrn.ObjUtil.getObject(_1lsx, 'api_support_airatack'); return new _1lru.AirSupportData(_1lsy); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lrz.prototype, 'raigeki_opening', { 'get': function() { var _1lsz = null, _1lt0 = _1lrn.ObjUtil.getObject(this._o, 'api_opening_atack'); return null == _1lt0 ? null : new _1lrw.RaigekiOpeningData(_1lt0); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lrz.prototype, 'raigeki', { 'get': function() { var _1lt1 = null, _1lt2 = _1lrn.ObjUtil.getObject(this._o, 'api_raigeki'); return null == _1lt2 ? null : new _1lrr.RaigekiData(_1lt2); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lrz.prototype, 'taisen_opening', { 'get': function() { var _1lt3 = null, _1lt4 = _1lrn.ObjUtil.getObjectArray(this._o, 'api_opening_taisen'); return null == _1lt4 ? null : new _1lrt.HougekiListData(_1lt4); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lrz.prototype, 'hougeki1', { 'get': function() { var _1lt5 = null, _1lt6 = _1lrn.ObjUtil.getObjectArray(this._o, 'api_hougeki1'); return null == _1lt6 ? null : new _1lrt.HougekiListData(_1lt6); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lrz.prototype, 'hougeki2', { 'get': function() { var _1lt7 = null, _1lt8 = _1lrn.ObjUtil.getObjectArray(this._o, 'api_hougeki2'); return null == _1lt8 ? null : new _1lrt.HougekiListData(_1lt8); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1lrz.prototype, 'hougeki3', { 'get': function() { var _1lt9 = null, _1lta = _1lrn.ObjUtil.getObjectArray(this._o, 'api_hougeki3'); return null == _1lta ? null : new _1lrt.HougekiListData(_1lta); }, 'enumerable': !1, 'configurable': !0 }), _1lrz.prototype.isNightBattle = function() { var _1ltb = null; return 1 == _1lrn.ObjUtil.getNumber(this._o, 'api_midnight_flag'); }, _1lrz; }()); _1lrk.RawDayBattleData = _1lrx; }, 72987: (_1ltc, _1ltd, _1lte) => { 'use strict'; var _1ltf = null; defineModule(_1ltd); Object.defineProperty(_1ltd, '__esModule', { 'value': !0 }), _1ltd.RawNightBattleData = void 0; var _1ltg = _1lte(89939), _1lth = _1lte(27100), _1lti = _1lte(45415), _1ltj = _1lte(8709), _1ltk = (function() { var _1ltl = null; function _1ltm(_1ltn) { this._o = _1ltn; } return Object.defineProperty(_1ltm.prototype, 'ration', { 'get': function() { var _1lto = null, _1ltp = _1ltg.ObjUtil.getNumArray(this._o, 'api_combat_ration'); return null == _1ltp ? [] : _1ltp; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ltm.prototype, 'ration_combined', { 'get': function() { var _1ltq = null, _1ltr = _1ltg.ObjUtil.getNumArray(this._o, 'api_combat_ration_combined'); return null == _1ltr ? [] : _1ltr; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ltm.prototype, 'support_air', { 'get': function() { var _1lts = null; if (1 != _1ltg.ObjUtil.getNumber(this._o, 'api_n_support_flag')) return null; var _1ltt = _1ltg.ObjUtil.getObject(this._o, 'api_n_support_info'); if (null == _1ltt) return null; var _1ltu = _1ltg.ObjUtil.getObject(_1ltt, 'api_support_airatack'); return new _1lth.AirSupportData(_1ltu); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ltm.prototype, 'support_hou', { 'get': function() { var _1ltv = null; if (2 != _1ltg.ObjUtil.getNumber(this._o, 'api_n_support_flag')) return null; var _1ltw = _1ltg.ObjUtil.getObject(this._o, 'api_n_support_info'); if (null == _1ltw) return null; var _1ltx = _1ltg.ObjUtil.getObject(_1ltw, 'api_support_hourai'); return new _1ltj.SupportData(_1ltx); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ltm.prototype, 'support_rai', { 'get': function() { var _1lty = null; if (3 != _1ltg.ObjUtil.getNumber(this._o, 'api_n_support_flag')) return null; var _1ltz = _1ltg.ObjUtil.getObject(this._o, 'api_n_support_info'); if (null == _1ltz) return null; var _1lu0 = _1ltg.ObjUtil.getObject(_1ltz, 'api_support_hourai'); return new _1ltj.SupportData(_1lu0); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ltm.prototype, 'support_taisen', { 'get': function() { var _1lu1 = null; if (4 != _1ltg.ObjUtil.getNumber(this._o, 'api_n_support_flag')) return null; var _1lu2 = _1ltg.ObjUtil.getObject(this._o, 'api_n_support_info'); if (null == _1lu2) return null; var _1lu3 = _1ltg.ObjUtil.getObject(_1lu2, 'api_support_airatack'); return new _1lth.AirSupportData(_1lu3); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ltm.prototype, 'hougeki', { 'get': function() { var _1lu4 = null, _1lu5 = _1ltg.ObjUtil.getObject(this._o, 'api_hougeki'); return null == _1lu5 ? null : new _1lti.HougekiListNightData(_1lu5); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ltm.prototype, 'hougeki1', { 'get': function() { var _1lu6 = null, _1lu7 = _1ltg.ObjUtil.getObject(this._o, 'api_n_hougeki1'); return null == _1lu7 ? null : new _1lti.HougekiListNightData(_1lu7); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1ltm.prototype, 'hougeki2', { 'get': function() { var _1lu8 = null, _1lu9 = _1ltg.ObjUtil.getObject(this._o, 'api_n_hougeki2'); return null == _1lu9 ? null : new _1lti.HougekiListNightData(_1lu9); }, 'enumerable': !1, 'configurable': !0 }), _1ltm.prototype.getTouchPlaneFriend = function() { var _1lua = null; if (null == this._o) return -1; var _1lub = _1ltg.ObjUtil.getNumArray(this._o, 'api_touch_plane'); return null == _1lub || _1lub.length < 1 ? -1 : _1lub[0]; }, _1ltm.prototype.getTouchPlaneEnemy = function() { var _1luc = null; if (null == this._o) return -1; var _1lud = _1ltg.ObjUtil.getNumArray(this._o, 'api_touch_plane'); return null == _1lud || _1lud.length < 2 ? -1 : _1lud[1]; }, _1ltm.prototype.getFlareLightFriend = function() { var _1lue = null; if (null == this._o) return -1; var _1luf = _1ltg.ObjUtil.getNumArray(this._o, 'api_flare_pos'); return null == _1luf || _1luf.length < 1 ? -1 : _1luf[0]; }, _1ltm.prototype.getFlareLightEnemy = function() { var _1lug = null; if (null == this._o) return -1; var _1luh = _1ltg.ObjUtil.getNumArray(this._o, 'api_flare_pos'); return null == _1luh || _1luh.length < 2 ? -1 : _1luh[1]; }, _1ltm.prototype.hasDayBattle = function() { var _1lui = null; return 1 == _1ltg.ObjUtil.getNumber(this._o, 'api_day_flag'); }, _1ltm; }()); _1ltd.RawNightBattleData = _1ltk; }, 98541: (_1luj, _1luk, _1lul) => { 'use strict'; var _1lum = null; defineModule(_1luk); Object.defineProperty(_1luk, '__esModule', { 'value': !0 }), _1luk.SakutekiData = void 0; var _1lun = _1lul(89939), _1luo = (function() { var _1lup = null; function _1luq(_1lur) { this._o = _1lur; } return _1luq.prototype.isSuccess_f = function() { var _1lus = null; return this._isSuccess(this._data_f); }, _1luq.prototype.isSuccess_e = function() { var _1lut = null; return this._isSuccess(this._data_e); }, _1luq.prototype.hasPlane_f = function() { var _1luu = null; return this._hasPlane(this._data_f); }, _1luq.prototype.hasPlane_e = function() { var _1luv = null; return this._hasPlane(this._data_e); }, _1luq.prototype.hasMikikan_f = function() { var _1luw = null; return this._hasMikikan(this._data_f); }, _1luq.prototype.hasMikikan_e = function() { var _1lux = null; return this._hasMikikan(this._data_e); }, Object.defineProperty(_1luq.prototype, '_data_f', { 'get': function() { var _1luy = null, _1luz = _1lun.ObjUtil.getNumArray(this._o, 'api_search'); return null != _1luz && _1luz.length > 0 ? _1luz[0] : -1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1luq.prototype, '_data_e', { 'get': function() { var _1lv0 = null, _1lv1 = _1lun.ObjUtil.getNumArray(this._o, 'api_search'); return null != _1lv1 && _1lv1.length > 1 ? _1lv1[1] : -1; }, 'enumerable': !1, 'configurable': !0 }), _1luq.prototype._isSuccess = function(_1lv2) { return 1 == _1lv2 || 2 == _1lv2 || 5 == _1lv2; }, _1luq.prototype._hasPlane = function(_1lv3) { return 1 == _1lv3 || 2 == _1lv3 || 3 == _1lv3 || 4 == _1lv3; }, _1luq.prototype._hasMikikan = function(_1lv4) { return 2 == _1lv4 || 3 == _1lv4; }, _1luq; }()); _1luk.SakutekiData = _1luo; }, 8709: (_1lv5, _1lv6, _1lv7) => { 'use strict'; var _1lv8 = null; defineModule(_1lv6); Object.defineProperty(_1lv6, '__esModule', { 'value': !0 }), _1lv6.SupportData = void 0; var _1lv9 = _1lv7(89939), _1lva = (function() { var _1lvb = null; function _1lvc(_1lvd) { this._o = _1lvd; } return Object.defineProperty(_1lvc.prototype, 'deck_id', { 'get': function() { var _1lve = null; return _1lv9.ObjUtil.getNumber(this._o, 'api_deck_id'); }, 'enumerable': !1, 'configurable': !0 }), _1lvc.prototype.getShipList = function() { var _1lvf = null; for (var _1lvg = _1lv9.ObjUtil.getNumArray(this._o, 'api_ship_id'), _1lvh = _1lv9.ObjUtil.getNumArray(this._o, 'api_undressing_flag'), _1lvi = [], _1lvj = 0; _1lvj < _1lvg.length; _1lvj++) _1lvi.push({ 'mem_id': _1lvg[_1lvj], 'damaged': 1 == _1lvh[_1lvj] }); return _1lvi; }, _1lvc.prototype.getDamage = function(_1lvk) { var _1lvl = null, _1lvm = _1lv9.ObjUtil.getNumArray(this._o, 'api_damage'); return null != _1lvm && _1lvm.length > _1lvk ? Math.floor(_1lvm[_1lvk]) : 0; }, _1lvc.prototype.getHitType = function(_1lvn) { var _1lvo = null, _1lvp = _1lv9.ObjUtil.getNumArray(this._o, 'api_cl_list'); return null == _1lvp || _1lvp.length <= _1lvn ? 0 : 1 == _1lvp[_1lvn] ? 2 : 1; }, _1lvc.prototype.isShield = function(_1lvq) { var _1lvr = null, _1lvs = _1lv9.ObjUtil.getNumArray(this._o, 'api_damage'); return null != _1lvs && (!(_1lvs.length <= _1lvq) && _1lvs[_1lvq] % 1 != 0); }, _1lvc; }()); _1lv6.SupportData = _1lva; }, 86489: function(_1lvt, _1lvu, _1lvv) { 'use strict'; var _1lvw = null; var _1lvx, _1lvy = this && this.__extends || (_1lvx = function(_1lvz, _1lw0) { var _1lw1 = null; return _1lvx = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1lw2, _1lw3) { var _1lw4 = null; _1lw2.__proto__ = _1lw3; } || function(_1lw5, _1lw6) { var _1lw7 = null; for (var _1lw8 in _1lw6) Object.prototype.hasOwnProperty.call(_1lw6, _1lw8) && (_1lw5[_1lw8] = _1lw6[_1lw8]); }, _1lvx(_1lvz, _1lw0); }, function(_1lw9, _1lwa) { var _1lwb = null; if ('function' != typeof _1lwa && null !== _1lwa) throw new TypeError('Class extends value ' + String(_1lwa) + ' is not a constructor or null'); function _1lwc() { var _1lwd = null; this.constructor = _1lw9; } _1lvx(_1lw9, _1lwa), _1lw9.prototype = null === _1lwa ? Object.create(_1lwa) : (_1lwc.prototype = _1lwa.prototype, new _1lwc()); }); defineModule(_1lvu); Object.defineProperty(_1lvu, '__esModule', { 'value': !0 }), _1lvu.PhaseAttackBakurai = void 0; var _1lwe = _1lvv(66398), _1lwf = _1lvv(22434), _1lwg = _1lvv(83645), _1lwh = _1lvv(74574), _1lwi = function(_1lwj) { var _1lwk = null; function _1lwl(_1lwm, _1lwn, _1lwo, _1lwp, _1lwq, _1lwr, _1lws) { var _1lwt = null, _1lwu = _1lwj.call(this, _1lwm, _1lwn, _1lwp, _1lwq, _1lwr, _1lws) || this; _1lwu._defender = _1lwo; var _1lwv = _1lwu._scene.data.isNight(); return _1lwu._cutin = new _1lwg.CutinAttack(_1lwu._attacker, _1lwu._slot, _1lwv, !1, !1), _1lwu; } return _1lvy(_1lwl, _1lwj), _1lwl.prototype._start = function() { var _1lww = null, _1lwx = this; this._cutin.getPreloadTask().start(function() { var _1lwy = null; _1lwx._completePreload(); }); }, _1lwl.prototype._completePreload = function() { var _1lwz = null, _1lx0, _1lx1, _1lx2 = this, _1lx3 = this._attacker.friend, _1lx4 = this._attacker.index, _1lx5 = this._defender.index; 1 == _1lx3 ? (_1lx0 = this._scene.view.bannerGroupLayer.getBanner(!0, _1lx4), _1lx1 = this._scene.view.bannerGroupLayer.getBanner(!1, _1lx5)) : (_1lx0 = this._scene.view.bannerGroupLayer.getBanner(!1, _1lx4), _1lx1 = this._scene.view.bannerGroupLayer.getBanner(!0, _1lx5)), this._cutin.view.once('attack', function() { var _1lx6 = null; _1lx2._playVoice(), _1lx0.moveFront(function() { var _1lx7 = null; _1lx2._attack(_1lx0, _1lx1); }), 0 == _1lx2._shield && _1lx1.moveFront(); }), this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(); }, _1lwl.prototype._attack = function(_1lx8, _1lx9) { var _1lxa = null, _1lxb = this, _1lxc = this._scene.view, _1lxd = new _1lwh.TaskDaihatsuEff(_1lxc, _1lx8, _1lx9, this._daihatsu_eff); _1lxd.start(); var _1lxe = new PIXI.Sprite(_1lwf.BATTLE_MAIN.getTexture(66)); _1lxe.anchor.set(0.1, 1.05); var _1lxf = new PIXI.Sprite(_1lwf.BATTLE_MAIN.getTexture(67)); _1lxf.anchor.set(0.88, 1.03); var _1lxg = _1lx8.getGlobalPos(), _1lxh = _1lx9.getGlobalPos(); 1 == _1lx8.friend ? (_1lxg.x += _1lwe.BannerSize.W / 2, _1lxh.x -= _1lwe.BannerSize.W / 4) : (_1lxe.scale.x = -1, _1lxg.x -= _1lwe.BannerSize.W / 2, _1lxf.scale.x = -1, _1lxh.x += _1lwe.BannerSize.W / 4), _1lxe.alpha = 0, _1lxf.alpha = 0, _1lxe.position.set(_1lxg.x, _1lxg.y), _1lxf.position.set(_1lxh.x, _1lxh.y), _1lxc.addChild(_1lxe), _1lxc.addChild(_1lxf); var _1lxi = 0; 0 != this._daihatsu_eff && (_1lxi = 1000 + _1lxd.wait), createjs.Tween.get(_1lxe).wait(_1lxi).to({ 'alpha': 1 }, 175).to({ 'alpha': 0 }, 100), createjs.Tween.get(_1lxf).wait(_1lxi + 350).to({ 'alpha': 1 }, 250).call(function() { var _1lxj = null; _1lxb._damageEffect(_1lx8, _1lx9); }).to({ 'alpha': 0 }, 150).call(function() { var _1lxk = null; _1lxb._scene.view.layer_content.removeChild(_1lxe), _1lxb._scene.view.layer_content.removeChild(_1lxf); }); }, _1lwl.prototype._damageEffect = function(_1lxl, _1lxm) { var _1lxn = null, _1lxo = this; 1 == this._shield && this._showShield(_1lxm), _1lxm.moveAtDamage(this._shield); var _1lxp = _1lxm.getGlobalPos(!0), _1lxq = this._scene.view.layer_explosion; _1lxm.friend ? _1lxq.playWaterColumnToFriend(_1lxp.x + _1lwe.BannerSize.W / 2, _1lxp.y) : _1lxq.playWaterColumnToEnemy(_1lxp.x - _1lwe.BannerSize.W / 2, _1lxp.y), this._scene.view.layer_explosion.playExplosionMiddle(_1lxp.x - _1lwe.BannerSize.W / 4 * (_1lxm.friend ? -1 : 1), _1lxp.y), createjs.Tween.get(this).wait(500).call(function() { var _1lxr = null, _1lxs = _1lxo._getDamage(_1lxo._defender); _1lxo._playExplosion(_1lxm, _1lxs), _1lxo._playDamageEffect(_1lxl, _1lxm, _1lxo._defender, _1lxs, _1lxo._hit); }); }, _1lwl; }(_1lvv(58262).PhaseAttackBase); _1lvu.PhaseAttackBakurai = _1lwi; }, 58262: function(_1lxt, _1lxu, _1lxv) { 'use strict'; var _1lxw = null; var _1lxx, _1lxy = this && this.__extends || (_1lxx = function(_1lxz, _1ly0) { var _1ly1 = null; return _1lxx = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ly2, _1ly3) { var _1ly4 = null; _1ly2.__proto__ = _1ly3; } || function(_1ly5, _1ly6) { var _1ly7 = null; for (var _1ly8 in _1ly6) Object.prototype.hasOwnProperty.call(_1ly6, _1ly8) && (_1ly5[_1ly8] = _1ly6[_1ly8]); }, _1lxx(_1lxz, _1ly0); }, function(_1ly9, _1lya) { var _1lyb = null; if ('function' != typeof _1lya && null !== _1lya) throw new TypeError('Class extends value ' + String(_1lya) + ' is not a constructor or null'); function _1lyc() { var _1lyd = null; this.constructor = _1ly9; } _1lxx(_1ly9, _1lya), _1ly9.prototype = null === _1lya ? Object.create(_1lya) : (_1lyc.prototype = _1lya.prototype, new _1lyc()); }), _1lye = this && this.__importDefault || function(_1lyf) { var _1lyg = null; return _1lyf && _1lyf.__esModule ? _1lyf : { 'default': _1lyf }; }; defineModule(_1lxu); Object.defineProperty(_1lxu, '__esModule', { 'value': !0 }), _1lxu.PhaseAttackBase = void 0; var _1lyh = _1lye(_1lxv(18622)), _1lyi = _1lxv(81755), _1lyj = _1lxv(73418), _1lyk = _1lxv(50614), _1lyl = function(_1lym) { var _1lyn = null; function _1lyo(_1lyp, _1lyq, _1lyr, _1lys, _1lyt, _1lyu) { var _1lyv = null, _1lyw = _1lym.call(this) || this; return _1lyw._scene = _1lyp, _1lyw._attacker = _1lyq, _1lyw._slot = _1lyh.default.model.slot.getMst(_1lyr), _1lyw._hit = _1lyt, _1lyw._damage = _1lys, _1lyw._shield = _1lyu, _1lyw._daihatsu_eff = 0, _1lyw._damage_cutin = new _1lyk.PhaseDamageCutin(_1lyp), _1lyw; } return _1lxy(_1lyo, _1lym), _1lyo.prototype.preload = function(_1lyx) { null != _1lyx && _1lyx(); }, _1lyo.prototype.setOptionalEffects = function(_1lyy) { var _1lyz = null; this._daihatsu_eff = _1lyy; }, _1lyo.prototype._endTask = function() { var _1lz0 = null, _1lz1 = this; this._damage_cutin.start(function() { var _1lz2 = null; _1lym.prototype._endTask.call(_1lz1); }); }, _1lyo.prototype._getDamage = function(_1lz3) { var _1lz4 = null; return 1 == this._scene.data.model.isPractice() ? Math.min(this._damage, _1lz3.hp_now - 1) : this._damage; }, _1lyo.prototype._showShield = function(_1lz5) { var _1lz6 = null, _1lz7 = this._scene.view.bannerGroupLayer.getShieldTargetBanner(_1lz5); this._scene.view.layer_damage.showShieldAtBanner(_1lz7); }, _1lyo.prototype._playVoice = function() { var _1lz8 = null; 0 == this._scene.data.isNight() ? this._playVoiceDay() : this._playVoiceNight(); }, _1lyo.prototype._playVoiceDay = function() { var _1lz9 = null; if (this._attacker.friend) { var _1lza = this._attacker.mst_id, _1lzb = this._attacker.stype; 7 == _1lzb || 11 == _1lzb ? _1lyh.default.sound.voice.playAtRandom(_1lza.toString(), [16, 18], [50, 50]) : this._attacker.isSubMarine() && 0 != this._daihatsu_eff ? _1lyh.default.sound.voice.play(_1lza.toString(), 26) : _1lyh.default.sound.voice.playAtRandom(_1lza.toString(), [16, 17], [50, 50]); } else this._playVoiceEnemy(); }, _1lyo.prototype._playVoiceNight = function() { var _1lzc = null; if (this._attacker.friend) { var _1lzd = this._attacker.mst_id, _1lze = 17; 432 == _1lzd || 353 == _1lzd ? _1lze = 917 : this._attacker.isSubMarine() && 0 != this._daihatsu_eff && (_1lze = 26), _1lyh.default.sound.voice.play(_1lzd.toString(), _1lze); } else this._playVoiceEnemy(); }, _1lyo.prototype._playVoiceEnemy = function() { var _1lzf = null, _1lzg = _1lyj.EnemyVoiceConst.getAttackVoiceIDs(this._scene, this._attacker); if (null != _1lzg && _1lzg.length > 0) { var _1lzh = _1lzg[Math.floor(Math.random() * _1lzg.length)]; _1lyh.default.sound.voice.play('9998', _1lzh); } }, _1lyo.prototype._playExplosion = function(_1lzi, _1lzj) { var _1lzk = null, _1lzl = _1lzi.getGlobalPos(!0); this._scene.view.layer_explosion.playDamageExplosion(_1lzl.x, _1lzl.y, _1lzj); }, _1lyo.prototype._playDamageEffect = function(_1lzm, _1lzn, _1lzo, _1lzp, _1lzq, _1lzr) { var _1lzs = null, _1lzt = this; void 0 === _1lzr && (_1lzr = null), this._scene.view.layer_damage.showAtBanner(_1lzn, _1lzp, _1lzq); var _1lzu = createjs.Tween.get(null); _1lzu.wait(200), _1lzu.call(function() { var _1lzv = null; _1lzt._damage_cutin.causeDamage(_1lzo, _1lzp), _1lzn.updateHp(_1lzo.hp_now), _1lzm.moveDefault(); }), _1lzu.wait(600), null == _1lzr ? _1lzu.call(function() { var _1lzw = null; _1lzt._endTask(); }) : _1lzu.call(_1lzr); }, _1lyo.prototype._log = function(_1lzx) {}, _1lyo; }(_1lyi.TaskBase); _1lxu.PhaseAttackBase = _1lyl; }, 39926: function(_1lzy, _1lzz, _1m00) { 'use strict'; var _1m01 = null; var _1m02, _1m03 = this && this.__extends || (_1m02 = function(_1m04, _1m05) { var _1m06 = null; return _1m02 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1m07, _1m08) { var _1m09 = null; _1m07.__proto__ = _1m08; } || function(_1m0a, _1m0b) { var _1m0c = null; for (var _1m0d in _1m0b) Object.prototype.hasOwnProperty.call(_1m0b, _1m0d) && (_1m0a[_1m0d] = _1m0b[_1m0d]); }, _1m02(_1m04, _1m05); }, function(_1m0e, _1m0f) { var _1m0g = null; if ('function' != typeof _1m0f && null !== _1m0f) throw new TypeError('Class extends value ' + String(_1m0f) + ' is not a constructor or null'); function _1m0h() { var _1m0i = null; this.constructor = _1m0e; } _1m02(_1m0e, _1m0f), _1m0e.prototype = null === _1m0f ? Object.create(_1m0f) : (_1m0h.prototype = _1m0f.prototype, new _1m0h()); }), _1m0j = this && this.__importDefault || function(_1m0k) { var _1m0l = null; return _1m0k && _1m0k.__esModule ? _1m0k : { 'default': _1m0k }; }; defineModule(_1lzz); Object.defineProperty(_1lzz, '__esModule', { 'value': !0 }), _1lzz.PhaseAttackDanchaku = void 0; var _1m0m = _1m0j(_1m00(18622)), _1m0n = _1m00(66398), _1m0o = _1m00(70723), _1m0p = _1m00(13292), _1m0q = _1m00(13292), _1m0r = _1m00(13292), _1m0s = _1m00(13292), _1m0t = function(_1m0u) { var _1m0v = null; function _1m0w(_1m0x, _1m0y, _1m0z, _1m10, _1m11, _1m12, _1m13, _1m14, _1m15, _1m16) { var _1m17 = null, _1m18 = _1m0u.call(this, _1m0x, _1m0z, _1m11, _1m14, _1m15, _1m16) || this; if (_1m18._slot2 = _1m0m.default.model.slot.getMst(_1m12), _1m18._slot3 = _1m0m.default.model.slot.getMst(_1m13), _1m18._defender = _1m10, 3 == _1m0y) _1m18._cutin = new _1m0p.CutinDanchaku1(_1m0z, _1m18._slot, _1m18._slot2, _1m18._slot3); else { if (4 == _1m0y) _1m18._cutin = new _1m0q.CutinDanchaku2(_1m0z, _1m18._slot, _1m18._slot2, _1m18._slot3); else { if (5 == _1m0y) _1m18._cutin = new _1m0r.CutinDanchaku3(_1m0z, _1m18._slot, _1m18._slot2, _1m18._slot3); else { if (6 == _1m0y) _1m18._cutin = new _1m0s.CutinDanchaku4(_1m0z, _1m18._slot, _1m18._slot2, _1m18._slot3); else { if (200 == _1m0y) _1m18._cutin = new _1m0p.CutinDanchaku1(_1m0z, _1m18._slot, _1m18._slot2, _1m18._slot3, 1); else { if (201 != _1m0y) throw new Error(); _1m18._cutin = new _1m0p.CutinDanchaku1(_1m0z, _1m18._slot, _1m18._slot2, _1m18._slot3, 2); } } } } } return _1m18; } return _1m03(_1m0w, _1m0u), _1m0w.prototype._start = function() { var _1m19 = null, _1m1a = this; this._cutin.getPreloadTask().start(function() { var _1m1b = null; _1m1a._completePreload(); }); }, _1m0w.prototype._completePreload = function() { var _1m1c = null, _1m1d, _1m1e, _1m1f = this, _1m1g = this._attacker.friend, _1m1h = this._attacker.index, _1m1i = this._defender.index; 1 == _1m1g ? (_1m1d = this._scene.view.bannerGroupLayer.getBanner(!0, _1m1h), _1m1e = this._scene.view.bannerGroupLayer.getBanner(!1, _1m1i)) : (_1m1d = this._scene.view.bannerGroupLayer.getBanner(!1, _1m1h), _1m1e = this._scene.view.bannerGroupLayer.getBanner(!0, _1m1i)), _1m1d.moveFront(), _1m1e.moveFront(), this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(), this._cutin.view.once('attack', function() { var _1m1j = null; _1m1f._playVoice(); var _1m1k = _1m1f._getDamage(_1m1f._defender), _1m1l = _1m1e.getGlobalPos(!0), _1m1m = Math.random() * _1m0n.BannerSize.W - _1m0n.BannerSize.W / 2, _1m1n = Math.random() * _1m0n.BannerSize.H - _1m0n.BannerSize.H / 2, _1m1o = Math.random() * _1m0n.BannerSize.W - _1m0n.BannerSize.W / 2, _1m1p = Math.random() * _1m0n.BannerSize.H - _1m0n.BannerSize.H / 2; createjs.Tween.get(null).wait(800).call(function() { var _1m1q = null; _1m1e.moveAtDamage(_1m1f._shield), _1m1f._scene.view.layer_explosion.playDamageExplosion(_1m1l.x, _1m1l.y, _1m1k); }).wait(150).call(function() { var _1m1r = null; _1m1f._scene.view.layer_explosion.playExplosionSmall(_1m1l.x + _1m1m, _1m1l.y + _1m1n); }).wait(100).call(function() { var _1m1s = null; _1m1f._scene.view.layer_explosion.playExplosionSmall(_1m1l.x + _1m1o, _1m1l.y + _1m1p, function() { var _1m1t = _1m1s; _1m1f[_1m1t(11112)](_1m1d, _1m1e); }); }); }); }, _1m0w.prototype._attack = function(_1m1u, _1m1v) { var _1m1w = null, _1m1x = this; _1m0o.SE.play('102'), _1m1u.attack(function() { var _1m1y = null; _1m1x._damageEffect(_1m1u, _1m1v); }); }, _1m0w.prototype._damageEffect = function(_1m1z, _1m20) { var _1m21 = null; 1 == this._shield && this._showShield(_1m20), _1m20.moveAtDamage(this._shield); var _1m22 = this._getDamage(this._defender); this._playExplosion(_1m20, _1m22), this._playDamageEffect(_1m1z, _1m20, this._defender, _1m22, this._hit); }, _1m0w.prototype._playVoice = function() { var _1m23 = null; if (this._attacker.friend) { var _1m24 = this._attacker.mst_id; _1m0m.default.sound.voice.play(_1m24.toString(), 17); } }, _1m0w.prototype._log = function(_1m25) {}, _1m0w; }(_1m00(58262).PhaseAttackBase); _1lzz.PhaseAttackDanchaku = _1m0t; }, 17981: function(_1m26, _1m27, _1m28) { 'use strict'; var _1m29 = null; var _1m2a, _1m2b = this && this.__extends || (_1m2a = function(_1m2c, _1m2d) { var _1m2e = null; return _1m2a = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1m2f, _1m2g) { var _1m2h = null; _1m2f.__proto__ = _1m2g; } || function(_1m2i, _1m2j) { var _1m2k = null; for (var _1m2l in _1m2j) Object.prototype.hasOwnProperty.call(_1m2j, _1m2l) && (_1m2i[_1m2l] = _1m2j[_1m2l]); }, _1m2a(_1m2c, _1m2d); }, function(_1m2m, _1m2n) { var _1m2o = null; if ('function' != typeof _1m2n && null !== _1m2n) throw new TypeError('Class extends value ' + String(_1m2n) + ' is not a constructor or null'); function _1m2p() { var _1m2q = null; this.constructor = _1m2m; } _1m2a(_1m2m, _1m2n), _1m2m.prototype = null === _1m2n ? Object.create(_1m2n) : (_1m2p.prototype = _1m2n.prototype, new _1m2p()); }), _1m2r = this && this.__importDefault || function(_1m2s) { var _1m2t = null; return _1m2s && _1m2s.__esModule ? _1m2s : { 'default': _1m2s }; }; defineModule(_1m27); Object.defineProperty(_1m27, '__esModule', { 'value': !0 }), _1m27.PhaseAttackDouble = void 0; var _1m2u = _1m2r(_1m28(18622)), _1m2v = _1m28(51805), _1m2w = _1m28(70723), _1m2x = _1m28(55226), _1m2y = _1m28(46595), _1m2z = _1m28(53939), _1m30 = _1m28(32611), _1m31 = function(_1m32) { var _1m33 = null; function _1m34(_1m35, _1m36, _1m37, _1m38, _1m39, _1m3a, _1m3b, _1m3c, _1m3d, _1m3e, _1m3f, _1m3g) { var _1m3h = null, _1m3i = _1m32.call(this, _1m35, _1m36, _1m38, _1m39, _1m3a, _1m3b) || this; _1m3i._completeDamageEffect = function() { var _1m3j = null; _1m3i._cutin.resume(), _1m3i._cutin.view.once('attack', function() { var _1m3k = null; _1m2w.SE.play('102'), _1m3i._a_banner.attack(function() { var _1m3l = null; _1m3i._2ndDamageEffect(); }); }); }, _1m3i._defender = _1m37, _1m3i._defender2 = _1m3c, _1m3i._slot2 = _1m2u.default.model.slot.getMst(_1m3d), _1m3i._damage2 = _1m3e, _1m3i._hit2 = _1m3f, _1m3i._shield2 = _1m3g; var _1m3m = _1m3i._scene.data.isNight(), _1m3n = Math.floor(4 * Math.random()); return _1m3i._cutin = 0 == _1m3n ? new _1m2x.CutinDouble1(_1m3i._attacker, _1m3i._slot, _1m3i._slot2, _1m3m) : 1 == _1m3n ? new _1m2y.CutinDouble2(_1m3i._attacker, _1m3i._slot, _1m3i._slot2, _1m3m) : 2 == _1m3n ? new _1m2z.CutinDouble3(_1m3i._attacker, _1m3i._slot, _1m3i._slot2, _1m3m) : new _1m30.CutinDouble4(_1m3i._attacker, _1m3i._slot, _1m3i._slot2, _1m3m), _1m3i; } return _1m2b(_1m34, _1m32), _1m34.prototype._start = function() { var _1m3o = null, _1m3p = this; this._cutin.getPreloadTask().start(function() { var _1m3q = null; _1m3p._completePreload(); }); }, _1m34.prototype._completePreload = function() { var _1m3r = null; if (1 == this._scene.data.isNight()) { var _1m3s = null != this._slot ? this._slot : this._slot2; if (null != _1m3s) { var _1m3t = _1m3s.equipTypeSp; if (_1m3t == _1m2v.EquipType._05_GYORAI || _1m3t == _1m2v.EquipType._32_SENSUIKAN_GYORAI) return void this._doubleR(); } } this._doubleH(); }, _1m34.prototype._doubleH = function() { var _1m3u = null, _1m3v = this, _1m3w = this._attacker.friend, _1m3x = this._attacker.index, _1m3y = this._defender.index, _1m3z = this._defender2.index; 1 == _1m3w ? (this._a_banner = this._scene.view.bannerGroupLayer.getBanner(!0, _1m3x), this._d_banner1 = this._scene.view.bannerGroupLayer.getBanner(!1, _1m3y), this._d_banner2 = this._scene.view.bannerGroupLayer.getBanner(!1, _1m3z)) : (this._a_banner = this._scene.view.bannerGroupLayer.getBanner(!1, _1m3x), this._d_banner1 = this._scene.view.bannerGroupLayer.getBanner(!0, _1m3y), this._d_banner2 = this._scene.view.bannerGroupLayer.getBanner(!0, _1m3z)), this._a_banner.moveFront(), 0 == this._shield && this._d_banner1.moveFront(), this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(), this._cutin.view.once('attack', function() { var _1m40 = null; _1m3v._playVoice(), _1m3v._attack(_1m3v._a_banner, _1m3v._d_banner1); }); }, _1m34.prototype._doubleR = function() {}, _1m34.prototype._attack = function(_1m41, _1m42) { var _1m43 = null; _1m2w.SE.play('102'), _1m41.attack(null), this._damageEffect(_1m41, _1m42); }, _1m34.prototype._damageEffect = function(_1m44, _1m45) { var _1m46 = null, _1m47 = this; 1 == this._shield && this._showShield(_1m45); var _1m48 = this._getDamage(this._defender); _1m45.moveAtDamage(this._shield); var _1m49 = _1m45.getGlobalPos(!0); this._scene.view.layer_explosion.playDamageExplosion(_1m49.x, _1m49.y, _1m48, null), this._scene.view.layer_damage.showAtBanner(_1m45, _1m48, this._hit), createjs.Tween.get(this).wait(200).call(function() { var _1m4a = null; _1m47._damage_cutin.causeDoubleDamage1st(_1m47._defender, _1m48), _1m45.updateHp(_1m47._defender.hp_now); }).wait(500).call(function() { var _1m4b = null; _1m47._completeDamageEffect(); }); }, _1m34.prototype._2ndDamageEffect = function() { var _1m4c = null, _1m4d = this, _1m4e = this._defender2, _1m4f = this._d_banner2, _1m4g = this._damage2; 1 == this._scene.data.model.isPractice() && (_1m4g = Math.min(_1m4g, _1m4e.hp_now - 1)); var _1m4h = this._hit2; 1 == this._shield2 && this._showShield(_1m4f), _1m4f.moveAtDamage(this._shield2), this._playExplosion(_1m4f, _1m4g), this._scene.view.layer_damage.showAtBanner(_1m4f, _1m4g, _1m4h), createjs.Tween.get(this).wait(200).call(function() { var _1m4i = null; _1m4d._damage_cutin.causeDoubleDamage2nd(_1m4e, _1m4g), _1m4f.updateHp(_1m4e.hp_now); }).wait(600).call(function() { var _1m4j = null; _1m4d._endTask(); }); }, _1m34.prototype._playVoice = function() { var _1m4k = null; this._playVoiceNight(); }, _1m34.prototype._log = function(_1m4l) { var _1m4m = null; _1m32.prototype._log.call(this, _1m4l + ':1'), '[' ['concat'](_1m4l, ':2] [').concat(this._attacker.index, ']').concat(this._attacker.name, '(').concat(this._attacker.mst_id, ')'), (' damage:'['concat'](this._damage2, '\x20'), null != this._slot && '\x20[' ['concat'](this._slot2.mstID, ']').concat(this._slot2.name), 2 == this._hit2 || this._hit2); }, _1m34; }(_1m28(58262).PhaseAttackBase); _1m27.PhaseAttackDouble = _1m31; }, 7814: function(_1m4n, _1m4o, _1m4p) { 'use strict'; var _1m4q = null; var _1m4r, _1m4s = this && this.__extends || (_1m4r = function(_1m4t, _1m4u) { var _1m4v = null; return _1m4r = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1m4w, _1m4x) { var _1m4y = null; _1m4w.__proto__ = _1m4x; } || function(_1m4z, _1m50) { var _1m51 = null; for (var _1m52 in _1m50) Object.prototype.hasOwnProperty.call(_1m50, _1m52) && (_1m4z[_1m52] = _1m50[_1m52]); }, _1m4r(_1m4t, _1m4u); }, function(_1m53, _1m54) { var _1m55 = null; if ('function' != typeof _1m54 && null !== _1m54) throw new TypeError('Class extends value ' + String(_1m54) + ' is not a constructor or null'); function _1m56() { var _1m57 = null; this.constructor = _1m53; } _1m4r(_1m53, _1m54), _1m53.prototype = null === _1m54 ? Object.create(_1m54) : (_1m56.prototype = _1m54.prototype, new _1m56()); }); defineModule(_1m4o); Object.defineProperty(_1m4o, '__esModule', { 'value': !0 }), _1m4o.PhaseAttackKakuza = void 0; var _1m58 = _1m4p(70723), _1m59 = _1m4p(83645), _1m5a = _1m4p(13614), _1m5b = _1m4p(58262), _1m5c = _1m4p(56494), _1m5d = function(_1m5e) { var _1m5f = null; function _1m5g(_1m5h, _1m5i, _1m5j, _1m5k, _1m5l, _1m5m, _1m5n, _1m5o) { var _1m5p = null, _1m5q = _1m5e.call(this, _1m5h, _1m5i, _1m5k, _1m5l, _1m5m, _1m5n) || this; _1m5q._defender = _1m5j, _1m5q._kakuza_eff = _1m5o; var _1m5r = _1m5q._scene.data.isNight(); return _1m5q._cutin = new _1m59.CutinAttack(_1m5q._attacker, _1m5q._slot, _1m5r, !0, !0), _1m5q; } return _1m4s(_1m5g, _1m5e), _1m5g.prototype._start = function() { var _1m5s = null, _1m5t = this; this._cutin.getPreloadTask().start(function() { var _1m5u = null; _1m5t._completePreload(); }); }, _1m5g.prototype._completePreload = function() { var _1m5v = null, _1m5w, _1m5x, _1m5y = this, _1m5z = this._attacker.friend, _1m60 = this._attacker.index, _1m61 = this._defender.index; 1 == _1m5z ? (_1m5w = this._scene.view.bannerGroupLayer.getBanner(!0, _1m60), _1m5x = this._scene.view.bannerGroupLayer.getBanner(!1, _1m61)) : (_1m5w = this._scene.view.bannerGroupLayer.getBanner(!1, _1m60), _1m5x = this._scene.view.bannerGroupLayer.getBanner(!0, _1m61)), 0 == this._shield && _1m5x.moveFront(), this._cutin.view.once('attack', function() { var _1m62 = null; _1m5y._playVoice(), _1m5y._attack(_1m5w, _1m5x); }), this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(); }, _1m5g.prototype._attack = function(_1m63, _1m64) { var _1m65 = null, _1m66 = this, _1m67 = this._scene.view.layer_content; new _1m5a.TaskKakuzaLanding(_1m67, this._attacker, _1m63, _1m64, this._kakuza_eff, function() { var _1m68 = null; _1m58.SE.play('102'), _1m66._damageEffect(_1m63, _1m64); }).start(function() { var _1m69 = null; new _1m5c.WaitTask(400).start(function() { var _1m6a = null; _1m66._endTask(); }); }); }, _1m5g.prototype._damageEffect = function(_1m6b, _1m6c) { var _1m6d = null, _1m6e = this; 1 == this._shield && this._showShield(_1m6c), _1m6c.moveAtDamage(this._shield); var _1m6f = this._getDamage(this._defender); this._playExplosion(_1m6c, _1m6f), this._scene.view.layer_damage.showAtBanner(_1m6c, _1m6f, this._hit); var _1m6g = createjs.Tween.get(null); _1m6g.wait(200), _1m6g.call(function() { var _1m6h = null; _1m6e._damage_cutin.causeDamage(_1m6e._defender, _1m6f), _1m6c.updateHp(_1m6e._defender.hp_now), _1m6b.moveDefault(); }); }, _1m5g; }(_1m5b.PhaseAttackBase); _1m4o.PhaseAttackKakuza = _1m5d; }, 70767: function(_1m6i, _1m6j, _1m6k) { 'use strict'; var _1m6l = null; var _1m6m, _1m6n = this && this.__extends || (_1m6m = function(_1m6o, _1m6p) { var _1m6q = null; return _1m6m = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1m6r, _1m6s) { var _1m6t = null; _1m6r.__proto__ = _1m6s; } || function(_1m6u, _1m6v) { var _1m6w = null; for (var _1m6x in _1m6v) Object.prototype.hasOwnProperty.call(_1m6v, _1m6x) && (_1m6u[_1m6x] = _1m6v[_1m6x]); }, _1m6m(_1m6o, _1m6p); }, function(_1m6y, _1m6z) { var _1m70 = null; if ('function' != typeof _1m6z && null !== _1m6z) throw new TypeError('Class extends value ' + String(_1m6z) + ' is not a constructor or null'); function _1m71() { var _1m72 = null; this.constructor = _1m6y; } _1m6m(_1m6y, _1m6z), _1m6y.prototype = null === _1m6z ? Object.create(_1m6z) : (_1m71.prototype = _1m6z.prototype, new _1m71()); }); defineModule(_1m6j); Object.defineProperty(_1m6j, '__esModule', { 'value': !0 }), _1m6j.PhaseAttackKansaiki = void 0; var _1m73 = _1m6k(41503), _1m74 = _1m6k(33255), _1m75 = _1m6k(83645), _1m76 = _1m6k(74574), _1m77 = _1m6k(58396), _1m78 = function(_1m79) { var _1m7a = null; function _1m7b(_1m7c, _1m7d, _1m7e, _1m7f, _1m7g, _1m7h, _1m7i, _1m7j) { var _1m7k = null; void 0 === _1m7j && (_1m7j = !1); var _1m7l = _1m79.call(this, _1m7c, _1m7d, _1m7f, _1m7g, _1m7h, _1m7i) || this; _1m7l._onDamage = function() { var _1m7m = null; 1 == _1m7l._shield && _1m7l._showShield(_1m7l._d_banner), _1m7l._d_banner.moveAtDamage(_1m7l._shield); var _1m7n = _1m7l._getDamage(_1m7l._defender); _1m7l._playExplosion(_1m7l._d_banner, _1m7n), _1m7l._playDamageEffect(_1m7l._a_banner, _1m7l._d_banner, _1m7l._defender, _1m7n, _1m7l._hit, function() { var _1m7o = null; _1m7l._complete_flg_damage = !0, _1m7l._endTask(); }); }, _1m7l._complete_flg_plane = !1, _1m7l._complete_flg_damage = !1, _1m7l._defender = _1m7e, _1m7l._yasenkouku = _1m7j; var _1m7p = _1m7l._scene.data.isNight(); return _1m7l._cutin = new _1m75.CutinAttack(_1m7l._attacker, _1m7l._slot, _1m7p, !1, !1), _1m7l._trio = new _1m77.PlaneTrio(_1m7d.friend), _1m7l; } return _1m6n(_1m7b, _1m79), _1m7b.prototype._start = function() { var _1m7q = null, _1m7r = this; this._cutin.getPreloadTask().start(function() { var _1m7s = null; _1m7r._completePreload(); }); }, _1m7b.prototype._completePreload = function() { var _1m7t = null, _1m7u = this, _1m7v = this._attacker.friend, _1m7w = this._attacker.index, _1m7x = this._defender.index; 1 == _1m7v ? (this._a_banner = this._scene.view.bannerGroupLayer.getBanner(!0, _1m7w), this._d_banner = this._scene.view.bannerGroupLayer.getBanner(!1, _1m7x)) : (this._a_banner = this._scene.view.bannerGroupLayer.getBanner(!1, _1m7w), this._d_banner = this._scene.view.bannerGroupLayer.getBanner(!0, _1m7x)), this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.view.once('attack', function() { var _1m7y = null; _1m7u._playVoice(), [2097, 2098, 2099, 2100].indexOf(_1m7u._attacker.mst_id) > -1 ? (_1m7u._complete_flg_plane = !0, _1m7u._onDamage()) : _1m7u._createPlanes(); }), this._cutin.start(); }, _1m7b.prototype._createPlanes = function() { var _1m7z = null, _1m80; _1m80 = 1 == this._defender.isSubMarine() ? _1m73.PlaneConst.getPlaneType(!0) : _1m73.PlaneConst.getPlaneType(!1); for (var _1m81 = 0, _1m82 = this._attacker.slots; _1m81 < _1m82.length; _1m81++) { var _1m83 = _1m82[_1m81]; if (null != _1m83 && _1m80.indexOf(_1m83.equipTypeSp) >= -0) { var _1m84 = _1m83.mst_id; if (this._scene.data.isNight() && 'アークロイヤル' == this._attacker.yomi && 0 == this._yasenkouku && 242 != _1m84 && 243 != _1m84 && 244 != _1m84) continue; var _1m85 = this._a_banner.getGlobalPos(!0); this._trio.x = _1m85.x, this._trio.y = _1m85.y, this._trio.addPlane(_1m84); } } this._attack(); }, _1m7b.prototype._attack = function() { var _1m86 = null, _1m87 = this, _1m88 = this._scene.view, _1m89 = this._a_banner, _1m8a = this._d_banner, _1m8b = new _1m76.TaskDaihatsuEff(_1m88, _1m89, _1m8a, this._daihatsu_eff); _1m8b.start(); var _1m8c = _1m8a.getGlobalPos(!0), _1m8d = new _1m74.TaskPlane(_1m88, this._trio, _1m8c, this._onDamage); createjs.Tween.get(null).wait(_1m8b.wait).call(function() { var _1m8e = null; _1m8d.start(function() { var _1m8f = null; _1m87._complete_flg_plane = !0, _1m87._endTask(); }); }); }, _1m7b.prototype._endTask = function() { var _1m8g = null; 0 != this._complete_flg_plane && 0 != this._complete_flg_damage && _1m79.prototype._endTask.call(this); }, _1m7b; }(_1m6k(58262).PhaseAttackBase); _1m6j.PhaseAttackKansaiki = _1m78; }, 61968: function(_1m8h, _1m8i, _1m8j) { 'use strict'; var _1m8k = null; var _1m8l, _1m8m = this && this.__extends || (_1m8l = function(_1m8n, _1m8o) { var _1m8p = null; return _1m8l = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1m8q, _1m8r) { var _1m8s = null; _1m8q.__proto__ = _1m8r; } || function(_1m8t, _1m8u) { var _1m8v = null; for (var _1m8w in _1m8u) Object.prototype.hasOwnProperty.call(_1m8u, _1m8w) && (_1m8t[_1m8w] = _1m8u[_1m8w]); }, _1m8l(_1m8n, _1m8o); }, function(_1m8x, _1m8y) { var _1m8z = null; if ('function' != typeof _1m8y && null !== _1m8y) throw new TypeError('Class extends value ' + String(_1m8y) + ' is not a constructor or null'); function _1m90() { var _1m91 = null; this.constructor = _1m8x; } _1m8l(_1m8x, _1m8y), _1m8x.prototype = null === _1m8y ? Object.create(_1m8y) : (_1m90.prototype = _1m8y.prototype, new _1m90()); }); defineModule(_1m8i); Object.defineProperty(_1m8i, '__esModule', { 'value': !0 }), _1m8i.PhaseAttackKuboCutin = void 0; var _1m92 = _1m8j(41503), _1m93 = _1m8j(48579), _1m94 = _1m8j(50527), _1m95 = _1m8j(74574), _1m96 = _1m8j(33255), _1m97 = _1m8j(58396), _1m98 = function(_1m99) { var _1m9a = null; function _1m9b(_1m9c, _1m9d, _1m9e, _1m9f, _1m9g, _1m9h, _1m9i, _1m9j, _1m9k, _1m9l) { var _1m9m = null; void 0 === _1m9l && (_1m9l = !1); var _1m9n = _1m99.call(this, _1m9c, _1m9d, _1m9f, _1m9i, _1m9j, _1m9k) || this; _1m9n._onAttack = function() { var _1m9o = null; _1m9n._playVoice(), _1m9n._createPlanes(); }, _1m9n._onDamaged = function() { var _1m9p = null; 1 == _1m9n._shield && _1m9n._showShield(_1m9n._d_banner), _1m9n._d_banner.moveAtDamage(_1m9n._shield); var _1m9q = _1m9n._getDamage(_1m9n._defender); _1m9n._playExplosion(_1m9n._d_banner, _1m9q), _1m9n._playDamageEffect(_1m9n._a_banner, _1m9n._d_banner, _1m9n._defender, _1m9q, _1m9n._hit, function() { var _1m9r = null; _1m9n._complete_flg_damage = !0, _1m9n._endTask(); }); }, _1m9n._complete_flg_plane = !1, _1m9n._complete_flg_damage = !1, _1m9n._defender = _1m9e, _1m9n._yasenkouku = _1m9l; var _1m9s = _1m9n._scene.data.isNight(), _1m9t = _1m9n._scene.view.layer_cutin; return _1m9n._cutin = 0 == _1m9s ? new _1m93.CutinKuboDay(_1m9t, _1m9d, _1m9f, _1m9g, _1m9h) : new _1m94.CutinKuboNight(_1m9t, _1m9d, _1m9f, _1m9g, _1m9h), _1m9n._trio = new _1m97.PlaneTrio(_1m9d.friend), _1m9n; } return _1m8m(_1m9b, _1m99), _1m9b.prototype._start = function() { var _1m9u = null, _1m9v = this; this._cutin.getPreloadTask().start(function() { var _1m9w = null; _1m9v._completePreload(); }); }, _1m9b.prototype._completePreload = function() { var _1m9x = null, _1m9y = this._attacker.friend, _1m9z = this._attacker.index, _1ma0 = this._defender.index; 1 == _1m9y ? (this._a_banner = this._scene.view.bannerGroupLayer.getBanner(!0, _1m9z), this._d_banner = this._scene.view.bannerGroupLayer.getBanner(!1, _1ma0)) : (this._a_banner = this._scene.view.bannerGroupLayer.getBanner(!1, _1m9z), this._d_banner = this._scene.view.bannerGroupLayer.getBanner(!0, _1ma0)), this._cutin.setCallback(this._onAttack), this._cutin.start(); }, _1m9b.prototype._createPlanes = function() { var _1ma1 = null, _1ma2; _1ma2 = 1 == this._defender.isSubMarine() ? _1m92.PlaneConst.getPlaneType(!0) : _1m92.PlaneConst.getPlaneType(!1); for (var _1ma3 = 0, _1ma4 = this._attacker.slots; _1ma3 < _1ma4.length; _1ma3++) { var _1ma5 = _1ma4[_1ma3]; if (null != _1ma5 && _1ma2.indexOf(_1ma5.equipTypeSp) >= -0) { var _1ma6 = _1ma5.mst_id; if (this._scene.data.isNight() && 'アークロイヤル' == this._attacker.yomi && 0 == this._yasenkouku && 242 != _1ma6 && 243 != _1ma6 && 244 != _1ma6) continue; var _1ma7 = this._a_banner.getGlobalPos(!0); this._trio.x = _1ma7.x, this._trio.y = _1ma7.y, this._trio.addPlane(_1ma6); } } this._attack(); }, _1m9b.prototype._attack = function() { var _1ma8 = null, _1ma9 = this, _1maa = this._scene.view, _1mab = this._a_banner, _1mac = this._d_banner; new _1m95.TaskDaihatsuEff(_1maa, _1mab, _1mac, this._daihatsu_eff).start(); var _1mad = _1mac.getGlobalPos(!0); new _1m96.TaskPlane(_1maa, this._trio, _1mad, this._onDamaged).start(function() { var _1mae = null; _1ma9._complete_flg_plane = !0, _1ma9._endTask(); }); }, _1m9b.prototype._endTask = function() { var _1maf = null; 0 != this._complete_flg_plane && 0 != this._complete_flg_damage && _1m99.prototype._endTask.call(this); }, _1m9b; }(_1m8j(58262).PhaseAttackBase); _1m8i.PhaseAttackKuboCutin = _1m98; }, 32358: function(_1mag, _1mah, _1mai) { 'use strict'; var _1maj = null; var _1mak, _1mal = this && this.__extends || (_1mak = function(_1mam, _1man) { var _1mao = null; return _1mak = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1map, _1maq) { var _1mar = null; _1map.__proto__ = _1maq; } || function(_1mas, _1mat) { var _1mau = null; for (var _1mav in _1mat) Object.prototype.hasOwnProperty.call(_1mat, _1mav) && (_1mas[_1mav] = _1mat[_1mav]); }, _1mak(_1mam, _1man); }, function(_1maw, _1max) { var _1may = null; if ('function' != typeof _1max && null !== _1max) throw new TypeError('Class extends value ' + String(_1max) + ' is not a constructor or null'); function _1maz() { var _1mb0 = null; this.constructor = _1maw; } _1mak(_1maw, _1max), _1maw.prototype = null === _1max ? Object.create(_1max) : (_1maz.prototype = _1max.prototype, new _1maz()); }); defineModule(_1mah); Object.defineProperty(_1mah, '__esModule', { 'value': !0 }), _1mah.PhaseAttackNormal = void 0; var _1mb1 = _1mai(70723), _1mb2 = _1mai(83645), _1mb3 = _1mai(74574), _1mb4 = function(_1mb5) { var _1mb6 = null; function _1mb7(_1mb8, _1mb9, _1mba, _1mbb, _1mbc, _1mbd, _1mbe) { var _1mbf = null, _1mbg = _1mb5.call(this, _1mb8, _1mb9, _1mbb, _1mbc, _1mbd, _1mbe) || this; _1mbg._defender = _1mba; var _1mbh = _1mbg._scene.data.isNight(); return _1mbg._cutin = new _1mb2.CutinAttack(_1mbg._attacker, _1mbg._slot, _1mbh, !0, !0), _1mbg; } return _1mal(_1mb7, _1mb5), _1mb7.prototype._start = function() { var _1mbi = null, _1mbj = this; this._cutin.getPreloadTask().start(function() { var _1mbk = null; _1mbj._completePreload(); }); }, _1mb7.prototype._completePreload = function() { var _1mbl = null, _1mbm, _1mbn, _1mbo = this, _1mbp = this._attacker.friend, _1mbq = this._attacker.index, _1mbr = this._defender.index; 1 == _1mbp ? (_1mbm = this._scene.view.bannerGroupLayer.getBanner(!0, _1mbq), _1mbn = this._scene.view.bannerGroupLayer.getBanner(!1, _1mbr)) : (_1mbm = this._scene.view.bannerGroupLayer.getBanner(!1, _1mbq), _1mbn = this._scene.view.bannerGroupLayer.getBanner(!0, _1mbr)), _1mbm.moveFront(), 0 == this._shield && _1mbn.moveFront(), this._cutin.view.once('attack', function() { var _1mbs = null; _1mbo._playVoice(), _1mbo._attack(_1mbm, _1mbn); }), this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(); }, _1mb7.prototype._attack = function(_1mbt, _1mbu) { var _1mbv = null, _1mbw = this, _1mbx = this._scene.view, _1mby = new _1mb3.TaskDaihatsuEff(_1mbx, _1mbt, _1mbu, this._daihatsu_eff); _1mby.start(); var _1mbz = 0; 0 != this._daihatsu_eff && (_1mbz = 1300 + _1mby.wait), createjs.Tween.get(null).wait(_1mbz).call(function() { var _1mc0 = null; _1mb1.SE.play('102'), _1mbt.attack(function() { var _1mc1 = null; _1mbw._damageEffect(_1mbt, _1mbu); }); }); }, _1mb7.prototype._damageEffect = function(_1mc2, _1mc3) { var _1mc4 = null; 1 == this._shield && this._showShield(_1mc3), _1mc3.moveAtDamage(this._shield); var _1mc5 = this._getDamage(this._defender); this._playExplosion(_1mc3, _1mc5), this._playDamageEffect(_1mc2, _1mc3, this._defender, _1mc5, this._hit); }, _1mb7; }(_1mai(58262).PhaseAttackBase); _1mah.PhaseAttackNormal = _1mb4; }, 74545: function(_1mc6, _1mc7, _1mc8) { 'use strict'; var _1mc9 = null; var _1mca, _1mcb = this && this.__extends || (_1mca = function(_1mcc, _1mcd) { var _1mce = null; return _1mca = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1mcf, _1mcg) { var _1mch = null; _1mcf.__proto__ = _1mcg; } || function(_1mci, _1mcj) { var _1mck = null; for (var _1mcl in _1mcj) Object.prototype.hasOwnProperty.call(_1mcj, _1mcl) && (_1mci[_1mcl] = _1mcj[_1mcl]); }, _1mca(_1mcc, _1mcd); }, function(_1mcm, _1mcn) { var _1mco = null; if ('function' != typeof _1mcn && null !== _1mcn) throw new TypeError('Class extends value ' + String(_1mcn) + ' is not a constructor or null'); function _1mcp() { var _1mcq = null; this.constructor = _1mcm; } _1mca(_1mcm, _1mcn), _1mcm.prototype = null === _1mcn ? Object.create(_1mcn) : (_1mcp.prototype = _1mcn.prototype, new _1mcp()); }); defineModule(_1mc7); Object.defineProperty(_1mc7, '__esModule', { 'value': !0 }), _1mc7.PhaseAttackRaigeki = void 0; var _1mcr = _1mc8(70723), _1mcs = _1mc8(83645), _1mct = _1mc8(74574), _1mcu = function(_1mcv) { var _1mcw = null; function _1mcx(_1mcy, _1mcz, _1md0, _1md1, _1md2, _1md3, _1md4) { var _1md5 = null, _1md6 = _1mcv.call(this, _1mcy, _1mcz, _1md1, _1md2, _1md3, _1md4) || this; _1md6._defender = _1md0; var _1md7 = _1md6._scene.data.isNight(); return _1md6._cutin = new _1mcs.CutinAttack(_1md6._attacker, _1md6._slot, _1md7, !1, !0), _1md6; } return _1mcb(_1mcx, _1mcv), _1mcx.prototype._start = function() { var _1md8 = null, _1md9 = this; this._cutin.getPreloadTask().start(function() { var _1mda = null; _1md9._completePreload(); }); }, _1mcx.prototype._completePreload = function() { var _1mdb = null, _1mdc = this, _1mdd = this._attacker.friend, _1mde = this._attacker.index, _1mdf = this._defender.index; 1 == _1mdd ? (this._a_banner = this._scene.view.bannerGroupLayer.getBanner(!0, _1mde), this._d_banner = this._scene.view.bannerGroupLayer.getBanner(!1, _1mdf)) : (this._a_banner = this._scene.view.bannerGroupLayer.getBanner(!1, _1mde), this._d_banner = this._scene.view.bannerGroupLayer.getBanner(!0, _1mdf)), this._cutin.view.once('attack', function() { var _1mdg = null; _1mdc._playVoice(), _1mdc._attack(); }), this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(); }, _1mcx.prototype._attack = function() { var _1mdh = null, _1mdi = this, _1mdj = this._scene.view, _1mdk = this._a_banner, _1mdl = this._d_banner; new _1mct.TaskDaihatsuEff(_1mdj, _1mdk, _1mdl, this._daihatsu_eff).start(), this._a_banner.moveShoot(function() { var _1mdm = null; _1mcr.SE.play('112'); var _1mdn = _1mdi._a_banner.getGlobalPos(!0), _1mdo = _1mdi._d_banner.getGlobalPos(!0); _1mdi._scene.view.layer_torpedo.playTorpedo(_1mdn, _1mdo, 1900, function() { var _1mdp = null; _1mdi._damageEffect(_1mdi._a_banner, _1mdi._d_banner); }); }); }, _1mcx.prototype._damageEffect = function(_1mdq, _1mdr) { var _1mds = null; 1 == this._shield && this._showShield(_1mdr), _1mdr.moveAtDamage(this._shield); var _1mdt = this._getDamage(this._defender); this._playExplosion(_1mdr, _1mdt), this._playDamageEffect(_1mdq, _1mdr, this._defender, _1mdt, this._hit); }, _1mcx; }(_1mc8(58262).PhaseAttackBase); _1mc7.PhaseAttackRaigeki = _1mcu; }, 5606: function(_1mdu, _1mdv, _1mdw) { 'use strict'; var _1mdx = null; var _1mdy, _1mdz = this && this.__extends || (_1mdy = function(_1me0, _1me1) { var _1me2 = null; return _1mdy = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1me3, _1me4) { var _1me5 = null; _1me3.__proto__ = _1me4; } || function(_1me6, _1me7) { var _1me8 = null; for (var _1me9 in _1me7) Object.prototype.hasOwnProperty.call(_1me7, _1me9) && (_1me6[_1me9] = _1me7[_1me9]); }, _1mdy(_1me0, _1me1); }, function(_1mea, _1meb) { var _1mec = null; if ('function' != typeof _1meb && null !== _1meb) throw new TypeError('Class extends value ' + String(_1meb) + ' is not a constructor or null'); function _1med() { var _1mee = null; this.constructor = _1mea; } _1mdy(_1mea, _1meb), _1mea.prototype = null === _1meb ? Object.create(_1meb) : (_1med.prototype = _1meb.prototype, new _1med()); }); defineModule(_1mdv); Object.defineProperty(_1mdv, '__esModule', { 'value': !0 }), _1mdv.PhaseAttackRocket = void 0; var _1mef = _1mdw(66398), _1meg = _1mdw(5527), _1meh = _1mdw(83645), _1mei = _1mdw(74574), _1mej = _1mdw(75481), _1mek = _1mdw(9187), _1mel = function(_1mem) { var _1men = null; function _1meo(_1mep, _1meq, _1mer, _1mes, _1met, _1meu) { var _1mev = null, _1mew = _1mem.call(this, _1mep, _1meq, -1, _1mes, _1met, _1meu) || this; _1mew._fire = function(_1mex, _1mey) { var _1mez = null, _1mf0 = _1mew._scene.view, _1mf1 = _1mex.getGlobalPos(), _1mf2 = 1; 1 == _1mex.friend ? _1mf1.x += _1mef.BannerSize.W / 2 : (_1mf1.x -= _1mef.BannerSize.W / 2, _1mf2 = -1); var _1mf3 = new _1mej.TaskRocketFire(_1mf0, _1mf1.x, _1mf1.y, _1mf2, 0); if (0 == _1mew._daihatsu_eff) _1mf3.start(function() { var _1mf4 = null; _1mew._impact(_1mex, _1mey); }); else { var _1mf5 = new _1mei.TaskDaihatsuEff(_1mf0, _1mex, _1mey, _1mew._daihatsu_eff), _1mf6 = new _1meg.ParallelTask(); _1mf6.add(_1mf3), _1mf6.add(_1mf5), _1mf6.start(function() { var _1mf7 = null; _1mew._impact(_1mex, _1mey); }); } }, _1mew._defender = _1mer; var _1mf8 = _1mew._scene.data.isNight(); return _1mew._cutin = new _1meh.CutinAttack(_1mew._attacker, _1mew._slot, _1mf8, !0, !0), _1mew; } return _1mdz(_1meo, _1mem), _1meo.prototype._start = function() { var _1mf9 = null, _1mfa = this; this._cutin.getPreloadTask().start(function() { var _1mfb = null; _1mfa._completePreload(); }); }, _1meo.prototype._completePreload = function() { var _1mfc = null, _1mfd, _1mfe, _1mff = this, _1mfg = this._attacker.friend, _1mfh = this._attacker.index, _1mfi = this._defender.index; 1 == _1mfg ? (_1mfd = this._scene.view.bannerGroupLayer.getBanner(!0, _1mfh), _1mfe = this._scene.view.bannerGroupLayer.getBanner(!1, _1mfi)) : (_1mfd = this._scene.view.bannerGroupLayer.getBanner(!1, _1mfh), _1mfe = this._scene.view.bannerGroupLayer.getBanner(!0, _1mfi)), _1mfd.moveFront(), 0 == this._shield && _1mfe.moveFront(), this._cutin.view.once('attack', function() { var _1mfj = null; _1mff._playVoice(), _1mff._fire(_1mfd, _1mfe); }), this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(); }, _1meo.prototype._impact = function(_1mfk, _1mfl) { var _1mfm = null, _1mfn = this, _1mfo = this._scene.view.layer_content, _1mfp = _1mfl.getGlobalPos(); 1 == _1mfl.friend ? _1mfp.x += _1mef.BannerSize.W / 2 : _1mfp.x -= _1mef.BannerSize.W / 2, new _1mek.TaskRocketHit(_1mfo, _1mfp.x, _1mfp.y, 300).start(function() { var _1mfq = null; _1mfn._damageEffect(_1mfk, _1mfl); }); }, _1meo.prototype._damageEffect = function(_1mfr, _1mfs) { var _1mft = null, _1mfu = this; 1 == this._shield && this._showShield(_1mfs), _1mfs.moveAtDamage(this._shield); var _1mfv = _1mfs.getGlobalPos(!0); this._scene.view.layer_explosion.playExplosionMiddle(_1mfv.x - _1mef.BannerSize.W / 4 * (_1mfs.friend ? -1 : 1), _1mfv.y), createjs.Tween.get(this).wait(500).call(function() { var _1mfw = null, _1mfx = _1mfu._getDamage(_1mfu._defender); _1mfu._playExplosion(_1mfs, _1mfx), _1mfu._playDamageEffect(_1mfr, _1mfs, _1mfu._defender, _1mfx, _1mfu._hit); }); }, _1meo; }(_1mdw(58262).PhaseAttackBase); _1mdv.PhaseAttackRocket = _1mel; }, 71186: function(_1mfy, _1mfz, _1mg0) { 'use strict'; var _1mg1 = null; var _1mg2, _1mg3 = this && this.__extends || (_1mg2 = function(_1mg4, _1mg5) { var _1mg6 = null; return _1mg2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1mg7, _1mg8) { var _1mg9 = null; _1mg7.__proto__ = _1mg8; } || function(_1mga, _1mgb) { var _1mgc = null; for (var _1mgd in _1mgb) Object.prototype.hasOwnProperty.call(_1mgb, _1mgd) && (_1mga[_1mgd] = _1mgb[_1mgd]); }, _1mg2(_1mg4, _1mg5); }, function(_1mge, _1mgf) { var _1mgg = null; if ('function' != typeof _1mgf && null !== _1mgf) throw new TypeError('Class extends value ' + String(_1mgf) + ' is not a constructor or null'); function _1mgh() { var _1mgi = null; this.constructor = _1mge; } _1mg2(_1mge, _1mgf), _1mge.prototype = null === _1mgf ? Object.create(_1mgf) : (_1mgh.prototype = _1mgf.prototype, new _1mgh()); }), _1mgj = this && this.__importDefault || function(_1mgk) { var _1mgl = null; return _1mgk && _1mgk.__esModule ? _1mgk : { 'default': _1mgk }; }; defineModule(_1mfz); Object.defineProperty(_1mfz, '__esModule', { 'value': !0 }), _1mfz.PhaseAttackSpRDJ = void 0; var _1mgm = _1mgj(_1mg0(18622)), _1mgn = _1mg0(66398), _1mgo = _1mg0(70723), _1mgp = _1mg0(98066), _1mgq = _1mg0(58262), _1mgr = _1mg0(47675), _1mgs = function(_1mgt) { var _1mgu = null; function _1mgv(_1mgw, _1mgx, _1mgy, _1mgz, _1mh0, _1mh1, _1mh2, _1mh3, _1mh4) { var _1mh5 = null, _1mh6 = _1mgt.call(this, _1mgw, _1mgx, _1mgz, _1mh2, _1mh3, _1mh4) || this; return _1mh6._slot2 = _1mgm.default.model.slot.getMst(_1mh0), _1mh6._slot3 = _1mgm.default.model.slot.getMst(_1mh1), _1mh6._defender = _1mgy, _1mh6._cutin = new _1mgr.CutinSpRDJ(_1mgx, _1mh6._slot, _1mh6._slot2, _1mh6._slot3), _1mh6; } return _1mg3(_1mgv, _1mgt), _1mgv.prototype._start = function() { var _1mh7 = null, _1mh8 = this; this._cutin.preload(function() { var _1mh9 = null; _1mh8._completePreload(); }); }, _1mgv.prototype._completePreload = function() { var _1mha = null, _1mhb, _1mhc, _1mhd = this._attacker.friend, _1mhe = this._attacker.index, _1mhf = this._defender.index; 1 == _1mhd ? (_1mhb = this._scene.view.bannerGroupLayer.getBanner(!0, _1mhe), _1mhc = this._scene.view.bannerGroupLayer.getBanner(!1, _1mhf)) : (_1mhb = this._scene.view.bannerGroupLayer.getBanner(!1, _1mhe), _1mhc = this._scene.view.bannerGroupLayer.getBanner(!0, _1mhf)), this._playPicket(_1mhb, _1mhc); }, _1mgv.prototype._playPicket = function(_1mhg, _1mhh) { var _1mhi = null, _1mhj = this; if (this._attacker.hasSlot(129, !0) || this._attacker.hasSlot(412, !0)) { var _1mhk = new PIXI.Point(); _1mhk.x = this._attacker.friend ? _1mgn.BannerSize.W : 0; var _1mhl = new _1mgp.Picket(); _1mhl.position.set(_1mhk.x, _1mhk.y), _1mhl.initialize(), _1mhg.addChild(_1mhl), _1mhl.play(), _1mhl.once('complete', function() { var _1mhm = null; _1mhj._playCutin(_1mhg, _1mhh); }); } else this._playCutin(_1mhg, _1mhh); }, _1mgv.prototype._playCutin = function(_1mhn, _1mho) { var _1mhp = null, _1mhq = this; this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(function() { var _1mhr = null; _1mhq._shoot(_1mhn, _1mho); }), this._cutin.view.once('attack', function() { var _1mhs = null; _1mhq._playVoice(); }); }, _1mgv.prototype._shoot = function(_1mht, _1mhu) { var _1mhv = null, _1mhw = this; _1mht.moveShoot(function() { var _1mhx = null; _1mhw._torpedo(_1mht, _1mhu); }); }, _1mgv.prototype._torpedo = function(_1mhy, _1mhz) { var _1mi0 = null, _1mi1 = this, _1mi2 = _1mhy.friend ? 1 : -1, _1mi3 = _1mhy.getGlobalPos(!0); _1mi3.x += _1mgn.BannerSize.W / 3 * _1mi2; var _1mi4 = _1mhz.getGlobalPos(!0); _1mi4.x -= _1mgn.BannerSize.W / 3 * _1mi2, _1mgo.SE.play('112'); var _1mi5 = this._scene.view.layer_torpedo; _1mi5.playTorpedoAtNight(_1mi3, _1mi4, 800, function() { var _1mi6 = null; _1mi5.playTorpedoWaterColumn(_1mhz), _1mi1._explosion(_1mhy, _1mhz); }); }, _1mgv.prototype._explosion = function(_1mi7, _1mi8) { var _1mi9 = null, _1mia = this, _1mib = _1mi8.getGlobalPos(!0); createjs.Tween.get(this).wait(300).call(function() { var _1mic = null; _1mia._scene.view.layer_explosion.playExplosionSmall(_1mib.x, _1mib.y), 1 == _1mia._shield && _1mia._showShield(_1mi8), _1mi8.moveAtDamage(_1mia._shield); }).wait(350).call(function() { var _1mid = null, _1mie = _1mia._getDamage(_1mia._defender); _1mia._playExplosion(_1mi8, _1mie), _1mia._playDamageEffect(_1mi7, _1mi8, _1mia._defender, _1mie, _1mia._hit); }); }, _1mgv.prototype._playVoice = function() { var _1mif = null; if (this._attacker.friend) { var _1mig = this._attacker.mst_id, _1mih = 17; 432 != _1mig && 353 != _1mig || (_1mih = 917), _1mgm.default.sound.voice.play(_1mig.toString(), _1mih); } }, _1mgv.prototype._log = function(_1mii) {}, _1mgv; }(_1mgq.PhaseAttackBase); _1mfz.PhaseAttackSpRDJ = _1mgs; }, 81541: function(_1mij, _1mik, _1mil) { 'use strict'; var _1mim = null; var _1min, _1mio = this && this.__extends || (_1min = function(_1mip, _1miq) { var _1mir = null; return _1min = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1mis, _1mit) { var _1miu = null; _1mis.__proto__ = _1mit; } || function(_1miv, _1miw) { var _1mix = null; for (var _1miy in _1miw) Object.prototype.hasOwnProperty.call(_1miw, _1miy) && (_1miv[_1miy] = _1miw[_1miy]); }, _1min(_1mip, _1miq); }, function(_1miz, _1mj0) { var _1mj1 = null; if ('function' != typeof _1mj0 && null !== _1mj0) throw new TypeError('Class extends value ' + String(_1mj0) + ' is not a constructor or null'); function _1mj2() { var _1mj3 = null; this.constructor = _1miz; } _1min(_1miz, _1mj0), _1miz.prototype = null === _1mj0 ? Object.create(_1mj0) : (_1mj2.prototype = _1mj0.prototype, new _1mj2()); }), _1mj4 = this && this.__importDefault || function(_1mj5) { var _1mj6 = null; return _1mj5 && _1mj5.__esModule ? _1mj5 : { 'default': _1mj5 }; }; defineModule(_1mik); Object.defineProperty(_1mik, '__esModule', { 'value': !0 }), _1mik.PhaseAttackSpRDJDouble = void 0; var _1mj7 = _1mj4(_1mil(18622)), _1mj8 = _1mil(66398), _1mj9 = _1mil(70723), _1mja = _1mil(98066), _1mjb = _1mil(58262), _1mjc = _1mil(47675), _1mjd = function(_1mje) { var _1mjf = null; function _1mjg(_1mjh, _1mji, _1mjj, _1mjk, _1mjl, _1mjm, _1mjn, _1mjo, _1mjp) { var _1mjq = null, _1mjr = _1mje.call(this, _1mjh, _1mji, _1mjk, _1mjn, _1mjo, _1mjp) || this; return _1mjr._slot2 = _1mj7.default.model.slot.getMst(_1mjl), _1mjr._slot3 = _1mj7.default.model.slot.getMst(_1mjm), _1mjr._defender = _1mjj, _1mjr._cutin = new _1mjc.CutinSpRDJ(_1mji, _1mjr._slot, _1mjr._slot2, _1mjr._slot3), _1mjr; } return _1mio(_1mjg, _1mje), _1mjg.prototype._start = function() { var _1mjs = null, _1mjt = this; this._cutin.preload(function() { var _1mju = null; _1mjt._completePreload(); }); }, _1mjg.prototype._completePreload = function() { var _1mjv = null, _1mjw, _1mjx, _1mjy = this._attacker.friend, _1mjz = this._attacker.index, _1mk0 = this._defender.index; 1 == _1mjy ? (_1mjw = this._scene.view.bannerGroupLayer.getBanner(!0, _1mjz), _1mjx = this._scene.view.bannerGroupLayer.getBanner(!1, _1mk0)) : (_1mjw = this._scene.view.bannerGroupLayer.getBanner(!1, _1mjz), _1mjx = this._scene.view.bannerGroupLayer.getBanner(!0, _1mk0)), this._playPicket(_1mjw, _1mjx); }, _1mjg.prototype._playPicket = function(_1mk1, _1mk2) { var _1mk3 = null, _1mk4 = this; if (this._attacker.hasSlot(129, !0) || this._attacker.hasSlot(412, !0)) { var _1mk5 = new PIXI.Point(); _1mk5.x = this._attacker.friend ? _1mj8.BannerSize.W : 0; var _1mk6 = new _1mja.Picket(); _1mk6.position.set(_1mk5.x, _1mk5.y), _1mk6.initialize(), _1mk1.addChild(_1mk6), _1mk6.play(), _1mk6.once('complete', function() { var _1mk7 = null; _1mk4._playCutin(_1mk1, _1mk2); }); } else this._playCutin(_1mk1, _1mk2); }, _1mjg.prototype._playCutin = function(_1mk8, _1mk9) { var _1mka = null, _1mkb = this; this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(function() { var _1mkc = null; _1mkb._shoot(_1mk8, _1mk9); }), this._cutin.view.once('attack', function() { var _1mkd = null; _1mkb._playVoice(); }); }, _1mjg.prototype._shoot = function(_1mke, _1mkf) { var _1mkg = null, _1mkh = this; _1mke.moveShoot(function() { var _1mki = null; _1mkh._torpedo(_1mke, _1mkf); }); }, _1mjg.prototype._torpedo = function(_1mkj, _1mkk) { var _1mkl = null, _1mkm = this, _1mkn = _1mkj.friend ? 1 : -1, _1mko = _1mkj.getGlobalPos(!0); _1mko.x += _1mj8.BannerSize.W / 3 * _1mkn; var _1mkp = _1mkk.getGlobalPos(!0); _1mkp.x -= _1mj8.BannerSize.W / 3 * _1mkn, _1mj9.SE.play('112'); var _1mkq = this._scene.view.layer_torpedo; _1mkq.playTorpedoAtNight(_1mko, _1mkp, 800, function() { var _1mkr = null; _1mkq.playTorpedoWaterColumn(_1mkk), _1mkm._explosion(_1mkj, _1mkk); }); }, _1mjg.prototype._explosion = function(_1mks, _1mkt) { var _1mku = null, _1mkv = this, _1mkw = _1mkt.getGlobalPos(!0); createjs.Tween.get(this).wait(300).call(function() { var _1mkx = null; _1mkv._scene.view.layer_explosion.playExplosionSmall(_1mkw.x, _1mkw.y), 1 == _1mkv._shield && _1mkv._showShield(_1mkt), _1mkt.moveAtDamage(_1mkv._shield); }).wait(350).call(function() { var _1mky = null; _1mkv._scene.view.layer_explosion.playExplosionSmall(_1mkw.x, _1mkw.y); }).wait(350).call(function() { var _1mkz = null, _1ml0 = _1mkv._getDamage(_1mkv._defender); _1mkv._playExplosion(_1mkt, _1ml0), _1mkv._playDamageEffect(_1mks, _1mkt, _1mkv._defender, _1ml0, _1mkv._hit); }); }, _1mjg.prototype._playVoice = function() { var _1ml1 = null; if (this._attacker.friend) { var _1ml2 = this._attacker.mst_id, _1ml3 = 17; 432 != _1ml2 && 353 != _1ml2 || (_1ml3 = 917), _1mj7.default.sound.voice.play(_1ml2.toString(), _1ml3); } }, _1mjg.prototype._log = function(_1ml4) {}, _1mjg; }(_1mjb.PhaseAttackBase); _1mik.PhaseAttackSpRDJDouble = _1mjd; }, 13641: function(_1ml5, _1ml6, _1ml7) { 'use strict'; var _1ml8 = null; var _1ml9, _1mla = this && this.__extends || (_1ml9 = function(_1mlb, _1mlc) { var _1mld = null; return _1ml9 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1mle, _1mlf) { var _1mlg = null; _1mle.__proto__ = _1mlf; } || function(_1mlh, _1mli) { var _1mlj = null; for (var _1mlk in _1mli) Object.prototype.hasOwnProperty.call(_1mli, _1mlk) && (_1mlh[_1mlk] = _1mli[_1mlk]); }, _1ml9(_1mlb, _1mlc); }, function(_1mll, _1mlm) { var _1mln = null; if ('function' != typeof _1mlm && null !== _1mlm) throw new TypeError('Class extends value ' + String(_1mlm) + ' is not a constructor or null'); function _1mlo() { var _1mlp = null; this.constructor = _1mll; } _1ml9(_1mll, _1mlm), _1mll.prototype = null === _1mlm ? Object.create(_1mlm) : (_1mlo.prototype = _1mlm.prototype, new _1mlo()); }), _1mlq = this && this.__importDefault || function(_1mlr) { var _1mls = null; return _1mlr && _1mlr.__esModule ? _1mlr : { 'default': _1mlr }; }; defineModule(_1ml6); Object.defineProperty(_1ml6, '__esModule', { 'value': !0 }), _1ml6.PhaseAttackSpRR = void 0; var _1mlt = _1mlq(_1ml7(18622)), _1mlu = _1ml7(66398), _1mlv = _1ml7(70723), _1mlw = _1ml7(99929), _1mlx = _1ml7(98066), _1mly = function(_1mlz) { var _1mm0 = null; function _1mm1(_1mm2, _1mm3, _1mm4, _1mm5, _1mm6, _1mm7, _1mm8, _1mm9, _1mma) { var _1mmb = null, _1mmc = _1mlz.call(this, _1mm2, _1mm4, _1mm6, _1mm8, _1mm9, _1mma) || this; return _1mmc._slot2 = _1mlt.default.model.slot.getMst(_1mm7), _1mmc._defender = _1mm5, _1mmc; } return _1mla(_1mm1, _1mlz), _1mm1.prototype.preload = function(_1mmd) { var _1mme = null; this._cutin = new _1mlw.CutinSpRR(), this._cutin.preload(this._attacker, this._slot, this._slot2, _1mmd); }, _1mm1.prototype._start = function() { var _1mmf = null, _1mmg, _1mmh, _1mmi = this._attacker.friend, _1mmj = this._attacker.index, _1mmk = this._defender.index; 1 == _1mmi ? (_1mmg = this._scene.view.bannerGroupLayer.getBanner(!0, _1mmj), _1mmh = this._scene.view.bannerGroupLayer.getBanner(!1, _1mmk)) : (_1mmg = this._scene.view.bannerGroupLayer.getBanner(!1, _1mmj), _1mmh = this._scene.view.bannerGroupLayer.getBanner(!0, _1mmk)), this._playPicket(_1mmg, _1mmh); }, _1mm1.prototype._playPicket = function(_1mml, _1mmm) { var _1mmn = null, _1mmo = this; if (this._attacker.hasSlot(129, !0) || this._attacker.hasSlot(412, !0)) { var _1mmp = new PIXI.Point(); _1mmp.x = this._attacker.friend ? _1mlu.BannerSize.W : 0; var _1mmq = new _1mlx.Picket(); _1mmq.position.set(_1mmp.x, _1mmp.y), _1mmq.initialize(), _1mml.addChild(_1mmq), _1mmq.play(), _1mmq.once('complete', function() { var _1mmr = null; _1mmo._playCutin(_1mml, _1mmm); }); } else this._playCutin(_1mml, _1mmm); }, _1mm1.prototype._playCutin = function(_1mms, _1mmt) { var _1mmu = null, _1mmv = this; this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(function() { var _1mmw = null; _1mmv._shoot(_1mms, _1mmt); }), this._cutin.view.once('attack', function() { var _1mmx = null; _1mmv._playVoice(); }); }, _1mm1.prototype._shoot = function(_1mmy, _1mmz) { var _1mn0 = null, _1mn1 = this; _1mmy.moveShoot(function() { var _1mn2 = null; _1mn1._torpedo(_1mmy, _1mmz); }); }, _1mm1.prototype._torpedo = function(_1mn3, _1mn4) { var _1mn5 = null, _1mn6 = this, _1mn7 = _1mn3.friend ? 1 : -1, _1mn8 = _1mn3.getGlobalPos(!0); _1mn8.x += _1mlu.BannerSize.W / 3 * _1mn7; var _1mn9 = _1mn4.getGlobalPos(!0); _1mn9.x -= _1mlu.BannerSize.W / 3 * _1mn7, _1mlv.SE.play('112'); var _1mna = this._scene.view.layer_torpedo; _1mna.playTorpedoAtNight(_1mn8, _1mn9, 800, function() { var _1mnb = null; _1mna.playTorpedoWaterColumn(_1mn4), _1mn6._explosion(_1mn3, _1mn4); }); }, _1mm1.prototype._explosion = function(_1mnc, _1mnd) { var _1mne = null, _1mnf = this, _1mng = _1mnd.getGlobalPos(!0); createjs.Tween.get(this).wait(300).call(function() { var _1mnh = null; _1mnf._scene.view.layer_explosion.playExplosionSmall(_1mng.x, _1mng.y), 1 == _1mnf._shield && _1mnf._showShield(_1mnd), _1mnd.moveAtDamage(_1mnf._shield); }).wait(350).call(function() { var _1mni = null, _1mnj = _1mnf._getDamage(_1mnf._defender); _1mnf._playExplosion(_1mnd, _1mnj), _1mnf._playDamageEffect(_1mnc, _1mnd, _1mnf._defender, _1mnj, _1mnf._hit); }); }, _1mm1.prototype._playVoice = function() { var _1mnk = null; if (this._attacker.friend) { var _1mnl = this._attacker.mst_id, _1mnm = 17; 432 != _1mnl && 353 != _1mnl || (_1mnm = 917), _1mlt.default.sound.voice.play(_1mnl.toString(), _1mnm); } }, _1mm1.prototype._log = function(_1mnn) {}, _1mm1; }(_1ml7(58262).PhaseAttackBase); _1ml6.PhaseAttackSpRR = _1mly; }, 73819: function(_1mno, _1mnp, _1mnq) { 'use strict'; var _1mnr = null; var _1mns, _1mnt = this && this.__extends || (_1mns = function(_1mnu, _1mnv) { var _1mnw = null; return _1mns = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1mnx, _1mny) { var _1mnz = null; _1mnx.__proto__ = _1mny; } || function(_1mo0, _1mo1) { var _1mo2 = null; for (var _1mo3 in _1mo1) Object.prototype.hasOwnProperty.call(_1mo1, _1mo3) && (_1mo0[_1mo3] = _1mo1[_1mo3]); }, _1mns(_1mnu, _1mnv); }, function(_1mo4, _1mo5) { var _1mo6 = null; if ('function' != typeof _1mo5 && null !== _1mo5) throw new TypeError('Class extends value ' + String(_1mo5) + ' is not a constructor or null'); function _1mo7() { var _1mo8 = null; this.constructor = _1mo4; } _1mns(_1mo4, _1mo5), _1mo4.prototype = null === _1mo5 ? Object.create(_1mo5) : (_1mo7.prototype = _1mo5.prototype, new _1mo7()); }), _1mo9 = this && this.__importDefault || function(_1moa) { var _1mob = null; return _1moa && _1moa.__esModule ? _1moa : { 'default': _1moa }; }; defineModule(_1mnp); Object.defineProperty(_1mnp, '__esModule', { 'value': !0 }), _1mnp.PhaseAttackSpSR = void 0; var _1moc = _1mo9(_1mnq(18622)), _1mod = _1mnq(66398), _1moe = _1mnq(70723), _1mof = _1mnq(99411), _1mog = _1mnq(98066), _1moh = function(_1moi) { var _1moj = null; function _1mok(_1mol, _1mom, _1mon, _1moo, _1mop, _1moq, _1mor, _1mos, _1mot) { var _1mou = null, _1mov = _1moi.call(this, _1mol, _1mon, _1mop, _1mor, _1mos, _1mot) || this; return _1mov._slot2 = _1moc.default.model.slot.getMst(_1moq), _1mov._defender = _1moo, _1mov; } return _1mnt(_1mok, _1moi), _1mok.prototype.preload = function(_1mow) { var _1mox = null; this._cutin = new _1mof.CutinSpSR(), this._cutin.preload(this._attacker, this._slot, this._slot2, _1mow); }, _1mok.prototype._start = function() { var _1moy = null, _1moz, _1mp0, _1mp1 = this._attacker.friend, _1mp2 = this._attacker.index, _1mp3 = this._defender.index; 1 == _1mp1 ? (_1moz = this._scene.view.bannerGroupLayer.getBanner(!0, _1mp2), _1mp0 = this._scene.view.bannerGroupLayer.getBanner(!1, _1mp3)) : (_1moz = this._scene.view.bannerGroupLayer.getBanner(!1, _1mp2), _1mp0 = this._scene.view.bannerGroupLayer.getBanner(!0, _1mp3)), this._playPicket(_1moz, _1mp0); }, _1mok.prototype._playPicket = function(_1mp4, _1mp5) { var _1mp6 = null, _1mp7 = this; if (this._attacker.hasSlot(129, !0) || this._attacker.hasSlot(412, !0)) { var _1mp8 = new PIXI.Point(); _1mp8.x = this._attacker.friend ? _1mod.BannerSize.W : 0; var _1mp9 = new _1mog.Picket(); _1mp9.position.set(_1mp8.x, _1mp8.y), _1mp9.initialize(), _1mp4.addChild(_1mp9), _1mp9.play(), _1mp9.once('complete', function() { var _1mpa = null; _1mp7._playCutin(_1mp4, _1mp5); }); } else this._playCutin(_1mp4, _1mp5); }, _1mok.prototype._playCutin = function(_1mpb, _1mpc) { var _1mpd = null, _1mpe = this; this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(function() { var _1mpf = null; _1mpe._shoot(_1mpb, _1mpc); }), this._cutin.view.once('attack', function() { var _1mpg = null; _1mpe._playVoice(); }); }, _1mok.prototype._shoot = function(_1mph, _1mpi) { var _1mpj = null, _1mpk = this; _1mph.moveShoot(function() { var _1mpl = null; _1mpk._torpedo(_1mph, _1mpi); }); }, _1mok.prototype._torpedo = function(_1mpm, _1mpn) { var _1mpo = null, _1mpp = this, _1mpq = _1mpm.friend ? 1 : -1, _1mpr = _1mpm.getGlobalPos(!0); _1mpr.x += _1mod.BannerSize.W / 3 * _1mpq; var _1mps = _1mpn.getGlobalPos(!0); _1mps.x -= _1mod.BannerSize.W / 3 * _1mpq, _1moe.SE.play('112'); var _1mpt = this._scene.view.layer_torpedo; _1mpt.playTorpedoAtNight(_1mpr, _1mps, 800, function() { var _1mpu = null; _1mpt.playTorpedoWaterColumn(_1mpn), _1mpp._explosion(_1mpm, _1mpn); }); }, _1mok.prototype._explosion = function(_1mpv, _1mpw) { var _1mpx = null, _1mpy = this, _1mpz = _1mpw.getGlobalPos(!0); createjs.Tween.get(this).wait(300).call(function() { var _1mq0 = null; _1mpy._scene.view.layer_explosion.playExplosionSmall(_1mpz.x, _1mpz.y), 1 == _1mpy._shield && _1mpy._showShield(_1mpw), _1mpw.moveAtDamage(_1mpy._shield); }).wait(350).call(function() { var _1mq1 = null, _1mq2 = _1mpy._getDamage(_1mpy._defender); _1mpy._playExplosion(_1mpw, _1mq2), _1mpy._playDamageEffect(_1mpv, _1mpw, _1mpy._defender, _1mq2, _1mpy._hit); }); }, _1mok.prototype._playVoice = function() { var _1mq3 = null; if (this._attacker.friend) { var _1mq4 = this._attacker.mst_id, _1mq5 = 17; 432 != _1mq4 && 353 != _1mq4 || (_1mq5 = 917), _1moc.default.sound.voice.play(_1mq4.toString(), _1mq5); } }, _1mok.prototype._log = function(_1mq6) {}, _1mok; }(_1mnq(58262).PhaseAttackBase); _1mnp.PhaseAttackSpSR = _1moh; }, 27311: function(_1mq7, _1mq8, _1mq9) { 'use strict'; var _1mqa = null; var _1mqb, _1mqc = this && this.__extends || (_1mqb = function(_1mqd, _1mqe) { var _1mqf = null; return _1mqb = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1mqg, _1mqh) { var _1mqi = null; _1mqg.__proto__ = _1mqh; } || function(_1mqj, _1mqk) { var _1mql = null; for (var _1mqm in _1mqk) Object.prototype.hasOwnProperty.call(_1mqk, _1mqm) && (_1mqj[_1mqm] = _1mqk[_1mqm]); }, _1mqb(_1mqd, _1mqe); }, function(_1mqn, _1mqo) { var _1mqp = null; if ('function' != typeof _1mqo && null !== _1mqo) throw new TypeError('Class extends value ' + String(_1mqo) + ' is not a constructor or null'); function _1mqq() { var _1mqr = null; this.constructor = _1mqn; } _1mqb(_1mqn, _1mqo), _1mqn.prototype = null === _1mqo ? Object.create(_1mqo) : (_1mqq.prototype = _1mqo.prototype, new _1mqq()); }), _1mqs = this && this.__importDefault || function(_1mqt) { var _1mqu = null; return _1mqt && _1mqt.__esModule ? _1mqt : { 'default': _1mqt }; }; defineModule(_1mq8); Object.defineProperty(_1mq8, '__esModule', { 'value': !0 }), _1mq8.PhaseAttackSpSRD = void 0; var _1mqv = _1mqs(_1mq9(18622)), _1mqw = _1mq9(66398), _1mqx = _1mq9(70723), _1mqy = _1mq9(98066), _1mqz = _1mq9(58262), _1mr0 = _1mq9(17903), _1mr1 = function(_1mr2) { var _1mr3 = null; function _1mr4(_1mr5, _1mr6, _1mr7, _1mr8, _1mr9, _1mra, _1mrb, _1mrc, _1mrd) { var _1mre = null, _1mrf = _1mr2.call(this, _1mr5, _1mr6, _1mr8, _1mrb, _1mrc, _1mrd) || this; return _1mrf._slot2 = _1mqv.default.model.slot.getMst(_1mr9), _1mrf._slot3 = _1mqv.default.model.slot.getMst(_1mra), _1mrf._defender = _1mr7, _1mrf._cutin = new _1mr0.CutinSpSRD(_1mr6, _1mrf._slot, _1mrf._slot2, _1mrf._slot3), _1mrf; } return _1mqc(_1mr4, _1mr2), _1mr4.prototype._start = function() { var _1mrg = null, _1mrh = this; this._cutin.preload(function() { var _1mri = null; _1mrh._completePreload(); }); }, _1mr4.prototype._completePreload = function() { var _1mrj = null, _1mrk, _1mrl, _1mrm = this._attacker.friend, _1mrn = this._attacker.index, _1mro = this._defender.index; 1 == _1mrm ? (_1mrk = this._scene.view.bannerGroupLayer.getBanner(!0, _1mrn), _1mrl = this._scene.view.bannerGroupLayer.getBanner(!1, _1mro)) : (_1mrk = this._scene.view.bannerGroupLayer.getBanner(!1, _1mrn), _1mrl = this._scene.view.bannerGroupLayer.getBanner(!0, _1mro)), this._playPicket(_1mrk, _1mrl); }, _1mr4.prototype._playPicket = function(_1mrp, _1mrq) { var _1mrr = null, _1mrs = this; if (this._attacker.hasSlot(129, !0) || this._attacker.hasSlot(412, !0)) { var _1mrt = new PIXI.Point(); _1mrt.x = this._attacker.friend ? _1mqw.BannerSize.W : 0; var _1mru = new _1mqy.Picket(); _1mru.position.set(_1mrt.x, _1mrt.y), _1mru.initialize(), _1mrp.addChild(_1mru), _1mru.play(), _1mru.once('complete', function() { var _1mrv = null; _1mrs._playCutin(_1mrp, _1mrq); }); } else this._playCutin(_1mrp, _1mrq); }, _1mr4.prototype._playCutin = function(_1mrw, _1mrx) { var _1mry = null, _1mrz = this; this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(function() { var _1ms0 = null; _1mrz._shoot(_1mrw, _1mrx); }), this._cutin.view.once('attack', function() { var _1ms1 = null; _1mrz._playVoice(); }); }, _1mr4.prototype._shoot = function(_1ms2, _1ms3) { var _1ms4 = null, _1ms5 = this; _1ms2.moveShoot(function() { var _1ms6 = null; _1ms5._torpedo(_1ms2, _1ms3); }); }, _1mr4.prototype._torpedo = function(_1ms7, _1ms8) { var _1ms9 = null, _1msa = this, _1msb = _1ms7.friend ? 1 : -1, _1msc = _1ms7.getGlobalPos(!0); _1msc.x += _1mqw.BannerSize.W / 3 * _1msb; var _1msd = _1ms8.getGlobalPos(!0); _1msd.x -= _1mqw.BannerSize.W / 3 * _1msb, _1mqx.SE.play('112'); var _1mse = this._scene.view.layer_torpedo; _1mse.playTorpedoAtNight(_1msc, _1msd, 800, function() { var _1msf = null; _1mse.playTorpedoWaterColumn(_1ms8), _1msa._explosion(_1ms7, _1ms8); }); }, _1mr4.prototype._explosion = function(_1msg, _1msh) { var _1msi = null, _1msj = this, _1msk = _1msh.getGlobalPos(!0); createjs.Tween.get(this).wait(300).call(function() { var _1msl = null; _1msj._scene.view.layer_explosion.playExplosionSmall(_1msk.x, _1msk.y), 1 == _1msj._shield && _1msj._showShield(_1msh), _1msh.moveAtDamage(_1msj._shield); }).wait(350).call(function() { var _1msm = null, _1msn = _1msj._getDamage(_1msj._defender); _1msj._playExplosion(_1msh, _1msn), _1msj._playDamageEffect(_1msg, _1msh, _1msj._defender, _1msn, _1msj._hit); }); }, _1mr4.prototype._playVoice = function() { var _1mso = null; if (this._attacker.friend) { var _1msp = this._attacker.mst_id, _1msq = 17; 432 != _1msp && 353 != _1msp || (_1msq = 917), _1mqv.default.sound.voice.play(_1msp.toString(), _1msq); } }, _1mr4.prototype._log = function(_1msr) {}, _1mr4; }(_1mqz.PhaseAttackBase); _1mq8.PhaseAttackSpSRD = _1mr1; }, 62084: function(_1mss, _1mst, _1msu) { 'use strict'; var _1msv = null; var _1msw, _1msx = this && this.__extends || (_1msw = function(_1msy, _1msz) { var _1mt0 = null; return _1msw = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1mt1, _1mt2) { var _1mt3 = null; _1mt1.__proto__ = _1mt2; } || function(_1mt4, _1mt5) { var _1mt6 = null; for (var _1mt7 in _1mt5) Object.prototype.hasOwnProperty.call(_1mt5, _1mt7) && (_1mt4[_1mt7] = _1mt5[_1mt7]); }, _1msw(_1msy, _1msz); }, function(_1mt8, _1mt9) { var _1mta = null; if ('function' != typeof _1mt9 && null !== _1mt9) throw new TypeError('Class extends value ' + String(_1mt9) + ' is not a constructor or null'); function _1mtb() { var _1mtc = null; this.constructor = _1mt8; } _1msw(_1mt8, _1mt9), _1mt8.prototype = null === _1mt9 ? Object.create(_1mt9) : (_1mtb.prototype = _1mt9.prototype, new _1mtb()); }), _1mtd = this && this.__importDefault || function(_1mte) { var _1mtf = null; return _1mte && _1mte.__esModule ? _1mte : { 'default': _1mte }; }; defineModule(_1mst); Object.defineProperty(_1mst, '__esModule', { 'value': !0 }), _1mst.PhaseAttackSpSRDDouble = void 0; var _1mtg = _1mtd(_1msu(18622)), _1mth = _1msu(66398), _1mti = _1msu(70723), _1mtj = _1msu(98066), _1mtk = _1msu(58262), _1mtl = _1msu(17903), _1mtm = function(_1mtn) { var _1mto = null; function _1mtp(_1mtq, _1mtr, _1mts, _1mtt, _1mtu, _1mtv, _1mtw, _1mtx, _1mty) { var _1mtz = null, _1mu0 = _1mtn.call(this, _1mtq, _1mtr, _1mtt, _1mtw, _1mtx, _1mty) || this; return _1mu0._slot2 = _1mtg.default.model.slot.getMst(_1mtu), _1mu0._slot3 = _1mtg.default.model.slot.getMst(_1mtv), _1mu0._defender = _1mts, _1mu0._cutin = new _1mtl.CutinSpSRD(_1mtr, _1mu0._slot, _1mu0._slot2, _1mu0._slot3), _1mu0; } return _1msx(_1mtp, _1mtn), _1mtp.prototype._start = function() { var _1mu1 = null, _1mu2 = this; this._cutin.preload(function() { var _1mu3 = null; _1mu2._completePreload(); }); }, _1mtp.prototype._completePreload = function() { var _1mu4 = null, _1mu5, _1mu6, _1mu7 = this._attacker.friend, _1mu8 = this._attacker.index, _1mu9 = this._defender.index; 1 == _1mu7 ? (_1mu5 = this._scene.view.bannerGroupLayer.getBanner(!0, _1mu8), _1mu6 = this._scene.view.bannerGroupLayer.getBanner(!1, _1mu9)) : (_1mu5 = this._scene.view.bannerGroupLayer.getBanner(!1, _1mu8), _1mu6 = this._scene.view.bannerGroupLayer.getBanner(!0, _1mu9)), this._playPicket(_1mu5, _1mu6); }, _1mtp.prototype._playPicket = function(_1mua, _1mub) { var _1muc = null, _1mud = this; if (this._attacker.hasSlot(129, !0) || this._attacker.hasSlot(412, !0)) { var _1mue = new PIXI.Point(); _1mue.x = this._attacker.friend ? _1mth.BannerSize.W : 0; var _1muf = new _1mtj.Picket(); _1muf.position.set(_1mue.x, _1mue.y), _1muf.initialize(), _1mua.addChild(_1muf), _1muf.play(), _1muf.once('complete', function() { var _1mug = null; _1mud._playCutin(_1mua, _1mub); }); } else this._playCutin(_1mua, _1mub); }, _1mtp.prototype._playCutin = function(_1muh, _1mui) { var _1muj = null, _1muk = this; this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(function() { var _1mul = null; _1muk._shoot(_1muh, _1mui); }), this._cutin.view.once('attack', function() { var _1mum = null; _1muk._playVoice(); }); }, _1mtp.prototype._shoot = function(_1mun, _1muo) { var _1mup = null, _1muq = this; _1mun.moveShoot(function() { var _1mur = null; _1muq._torpedo(_1mun, _1muo); }); }, _1mtp.prototype._torpedo = function(_1mus, _1mut) { var _1muu = null, _1muv = this, _1muw = _1mus.friend ? 1 : -1, _1mux = _1mus.getGlobalPos(!0); _1mux.x += _1mth.BannerSize.W / 3 * _1muw; var _1muy = _1mut.getGlobalPos(!0); _1muy.x -= _1mth.BannerSize.W / 3 * _1muw, _1mti.SE.play('112'); var _1muz = this._scene.view.layer_torpedo; _1muz.playTorpedoAtNight(_1mux, _1muy, 800, function() { var _1mv0 = null; _1muz.playTorpedoWaterColumn(_1mut), _1muv._explosion(_1mus, _1mut); }); }, _1mtp.prototype._explosion = function(_1mv1, _1mv2) { var _1mv3 = null, _1mv4 = this, _1mv5 = _1mv2.getGlobalPos(!0); createjs.Tween.get(this).wait(300).call(function() { var _1mv6 = null; _1mv4._scene.view.layer_explosion.playExplosionSmall(_1mv5.x, _1mv5.y), 1 == _1mv4._shield && _1mv4._showShield(_1mv2), _1mv2.moveAtDamage(_1mv4._shield); }).wait(350).call(function() { var _1mv7 = null; _1mv4._scene.view.layer_explosion.playExplosionSmall(_1mv5.x, _1mv5.y); }).wait(350).call(function() { var _1mv8 = null, _1mv9 = _1mv4._getDamage(_1mv4._defender); _1mv4._playExplosion(_1mv2, _1mv9), _1mv4._playDamageEffect(_1mv1, _1mv2, _1mv4._defender, _1mv9, _1mv4._hit); }); }, _1mtp.prototype._playVoice = function() { var _1mva = null; if (this._attacker.friend) { var _1mvb = this._attacker.mst_id, _1mvc = 17; 432 != _1mvb && 353 != _1mvb || (_1mvc = 917), _1mtg.default.sound.voice.play(_1mvb.toString(), _1mvc); } }, _1mtp.prototype._log = function(_1mvd) {}, _1mtp; }(_1mtk.PhaseAttackBase); _1mst.PhaseAttackSpSRDDouble = _1mtm; }, 841: function(_1mve, _1mvf, _1mvg) { 'use strict'; var _1mvh = null; var _1mvi, _1mvj = this && this.__extends || (_1mvi = function(_1mvk, _1mvl) { var _1mvm = null; return _1mvi = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1mvn, _1mvo) { var _1mvp = null; _1mvn.__proto__ = _1mvo; } || function(_1mvq, _1mvr) { var _1mvs = null; for (var _1mvt in _1mvr) Object.prototype.hasOwnProperty.call(_1mvr, _1mvt) && (_1mvq[_1mvt] = _1mvr[_1mvt]); }, _1mvi(_1mvk, _1mvl); }, function(_1mvu, _1mvv) { var _1mvw = null; if ('function' != typeof _1mvv && null !== _1mvv) throw new TypeError('Class extends value ' + String(_1mvv) + ' is not a constructor or null'); function _1mvx() { var _1mvy = null; this.constructor = _1mvu; } _1mvi(_1mvu, _1mvv), _1mvu.prototype = null === _1mvv ? Object.create(_1mvv) : (_1mvx.prototype = _1mvv.prototype, new _1mvx()); }), _1mvz = this && this.__importDefault || function(_1mw0) { var _1mw1 = null; return _1mw0 && _1mw0.__esModule ? _1mw0 : { 'default': _1mw0 }; }; defineModule(_1mvf); Object.defineProperty(_1mvf, '__esModule', { 'value': !0 }), _1mvf.PhaseAttackSpSSF = void 0; var _1mw2 = _1mvz(_1mvg(18622)), _1mw3 = _1mvg(66398), _1mw4 = _1mvg(25955), _1mw5 = _1mvg(98066), _1mw6 = function(_1mw7) { var _1mw8 = null; function _1mw9(_1mwa, _1mwb, _1mwc, _1mwd, _1mwe, _1mwf, _1mwg, _1mwh, _1mwi, _1mwj) { var _1mwk = null, _1mwl = _1mw7.call(this, _1mwa, _1mwc, _1mwe, _1mwh, _1mwi, _1mwj) || this; return _1mwl._slot2 = _1mw2.default.model.slot.getMst(_1mwf), _1mwl._slot3 = _1mw2.default.model.slot.getMst(_1mwg), _1mwl._defender = _1mwd, _1mwl; } return _1mvj(_1mw9, _1mw7), _1mw9.prototype.preload = function(_1mwm) { var _1mwn = null; this._cutin = new _1mw4.CutinSpSSF(), this._cutin.preload(this._attacker, this._slot, this._slot2, this._slot3, _1mwm); }, _1mw9.prototype._start = function() { var _1mwo = null, _1mwp, _1mwq, _1mwr = this._attacker.friend, _1mws = this._attacker.index, _1mwt = this._defender.index; 1 == _1mwr ? (_1mwp = this._scene.view.bannerGroupLayer.getBanner(!0, _1mws), _1mwq = this._scene.view.bannerGroupLayer.getBanner(!1, _1mwt)) : (_1mwp = this._scene.view.bannerGroupLayer.getBanner(!1, _1mws), _1mwq = this._scene.view.bannerGroupLayer.getBanner(!0, _1mwt)), this._playPicket(_1mwp, _1mwq); }, _1mw9.prototype._playPicket = function(_1mwu, _1mwv) { var _1mww = null, _1mwx = this; if (this._attacker.hasSlot(129, !0) || this._attacker.hasSlot(412, !0)) { var _1mwy = new PIXI.Point(); _1mwy.x = this._attacker.friend ? _1mw3.BannerSize.W : 0; var _1mwz = new _1mw5.Picket(); _1mwz.position.set(_1mwy.x, _1mwy.y), _1mwz.initialize(), _1mwu.addChild(_1mwz), _1mwz.play(), _1mwz.once('complete', function() { var _1mx0 = null; _1mwx._playCutin(_1mwu, _1mwv); }); } else this._playCutin(_1mwu, _1mwv); }, _1mw9.prototype._playCutin = function(_1mx1, _1mx2) { var _1mx3 = null, _1mx4 = this; this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(function() { var _1mx5 = null; createjs.Tween.get(_1mx4).call(function() { var _1mx6 = null; _1mx4._damageEffect1(_1mx1, _1mx2); }).wait(300).call(function() { var _1mx7 = null; _1mx4._damageEffect2(_1mx1, _1mx2); }).wait(300).call(function() { var _1mx8 = null; _1mx4._damageEffect2(_1mx1, _1mx2); }).wait(800).call(function() { var _1mx9 = null; _1mx4._damageEffect3(_1mx1, _1mx2); }); }), this._cutin.view.once('attack', function() { var _1mxa = null; _1mx4._playVoice(), _1mx1.moveFront(), _1mx2.moveFront(); }); }, _1mw9.prototype._damageEffect1 = function(_1mxb, _1mxc) { var _1mxd = null; _1mxc.moveAtDamage(this._shield); var _1mxe = _1mxc.getGlobalPos(!0), _1mxf = this._scene.view.layer_explosion; _1mxf.playExplosionLarge(_1mxe.x, _1mxe.y), _1mxc.friend ? _1mxf.playTorpedoWaterColumnToFriend(_1mxe.x + _1mw3.BannerSize.W / 3 * 2, _1mxe.y) : _1mxf.playTorpedoWaterColumnToEnemy(_1mxe.x - _1mw3.BannerSize.W / 3 * 2, _1mxe.y); }, _1mw9.prototype._damageEffect2 = function(_1mxg, _1mxh) { var _1mxi = null; _1mxh.moveAtDamage(this._shield); var _1mxj = _1mxh.getGlobalPos(!0); this._scene.view.layer_explosion.playExplosionLarge(_1mxj.x, _1mxj.y); }, _1mw9.prototype._damageEffect3 = function(_1mxk, _1mxl) { var _1mxm = null; 1 == this._shield && this._showShield(_1mxl), _1mxl.moveAtDamage(this._shield); var _1mxn = _1mxl.getGlobalPos(!0), _1mxo = this._scene.view.layer_explosion; _1mxo.playExplosionLarge(_1mxn.x, _1mxn.y), _1mxl.friend ? _1mxo.playTorpedoWaterColumnToFriend(_1mxn.x + _1mw3.BannerSize.W / 3 * 2, _1mxn.y) : _1mxo.playTorpedoWaterColumnToEnemy(_1mxn.x - _1mw3.BannerSize.W / 3 * 2, _1mxn.y); var _1mxp = this._getDamage(this._defender); this._playDamageEffect(_1mxk, _1mxl, this._defender, _1mxp, this._hit); }, _1mw9.prototype._playVoice = function() { var _1mxq = null; if (this._attacker.friend) { var _1mxr = this._attacker.mst_id, _1mxs = 17; 432 != _1mxr && 353 != _1mxr || (_1mxs = 917), _1mw2.default.sound.voice.play(_1mxr.toString(), _1mxs); } }, _1mw9.prototype._log = function(_1mxt) {}, _1mw9; }(_1mvg(58262).PhaseAttackBase); _1mvf.PhaseAttackSpSSF = _1mw6; }, 84387: function(_1mxu, _1mxv, _1mxw) { 'use strict'; var _1mxx = null; var _1mxy, _1mxz = this && this.__extends || (_1mxy = function(_1my0, _1my1) { var _1my2 = null; return _1mxy = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1my3, _1my4) { var _1my5 = null; _1my3.__proto__ = _1my4; } || function(_1my6, _1my7) { var _1my8 = null; for (var _1my9 in _1my7) Object.prototype.hasOwnProperty.call(_1my7, _1my9) && (_1my6[_1my9] = _1my7[_1my9]); }, _1mxy(_1my0, _1my1); }, function(_1mya, _1myb) { var _1myc = null; if ('function' != typeof _1myb && null !== _1myb) throw new TypeError('Class extends value ' + String(_1myb) + ' is not a constructor or null'); function _1myd() { var _1mye = null; this.constructor = _1mya; } _1mxy(_1mya, _1myb), _1mya.prototype = null === _1myb ? Object.create(_1myb) : (_1myd.prototype = _1myb.prototype, new _1myd()); }), _1myf = this && this.__importDefault || function(_1myg) { var _1myh = null; return _1myg && _1myg.__esModule ? _1myg : { 'default': _1myg }; }; defineModule(_1mxv); Object.defineProperty(_1mxv, '__esModule', { 'value': !0 }), _1mxv.PhaseAttackSpSSS = void 0; var _1myi = _1myf(_1mxw(18622)), _1myj = _1mxw(66398), _1myk = _1mxw(11166), _1myl = _1mxw(98066), _1mym = function(_1myn) { var _1myo = null; function _1myp(_1myq, _1myr, _1mys, _1myt, _1myu, _1myv, _1myw, _1myx, _1myy, _1myz) { var _1mz0 = null, _1mz1 = _1myn.call(this, _1myq, _1mys, _1myu, _1myx, _1myy, _1myz) || this; return _1mz1._slot2 = _1myi.default.model.slot.getMst(_1myv), _1mz1._slot3 = _1myi.default.model.slot.getMst(_1myw), _1mz1._defender = _1myt, _1mz1; } return _1mxz(_1myp, _1myn), _1myp.prototype.preload = function(_1mz2) { var _1mz3 = null; this._cutin = new _1myk.CutinSpSSS(), this._cutin.preload(this._attacker, this._slot, this._slot2, this._slot3, _1mz2); }, _1myp.prototype._start = function() { var _1mz4 = null, _1mz5, _1mz6, _1mz7 = this._attacker.friend, _1mz8 = this._attacker.index, _1mz9 = this._defender.index; 1 == _1mz7 ? (_1mz5 = this._scene.view.bannerGroupLayer.getBanner(!0, _1mz8), _1mz6 = this._scene.view.bannerGroupLayer.getBanner(!1, _1mz9)) : (_1mz5 = this._scene.view.bannerGroupLayer.getBanner(!1, _1mz8), _1mz6 = this._scene.view.bannerGroupLayer.getBanner(!0, _1mz9)), this._playPicket(_1mz5, _1mz6); }, _1myp.prototype._playPicket = function(_1mza, _1mzb) { var _1mzc = null, _1mzd = this; if (this._attacker.hasSlot(129, !0) || this._attacker.hasSlot(412, !0)) { var _1mze = new PIXI.Point(); _1mze.x = this._attacker.friend ? _1myj.BannerSize.W : 0; var _1mzf = new _1myl.Picket(); _1mzf.position.set(_1mze.x, _1mze.y), _1mzf.initialize(), _1mza.addChild(_1mzf), _1mzf.play(), _1mzf.once('complete', function() { var _1mzg = null; _1mzd._playCutin(_1mza, _1mzb); }); } else this._playCutin(_1mza, _1mzb); }, _1myp.prototype._playCutin = function(_1mzh, _1mzi) { var _1mzj = null, _1mzk = this; this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(function() { var _1mzl = null; _1mzh.moveFront(), _1mzi.moveFront(), _1mzk._damageEffect(_1mzh, _1mzi); }), this._cutin.view.once('attack', function() { var _1mzm = null; _1mzk._playVoice(); }); }, _1myp.prototype._damageEffect = function(_1mzn, _1mzo) { var _1mzp = null; 1 == this._shield && this._showShield(_1mzo), _1mzo.moveAtDamage(this._shield); var _1mzq = this._getDamage(this._defender); this._playExplosion(_1mzo, _1mzq), this._playDamageEffect(_1mzn, _1mzo, this._defender, _1mzq, this._hit); }, _1myp.prototype._playVoice = function() { var _1mzr = null; if (this._attacker.friend) { var _1mzs = this._attacker.mst_id, _1mzt = 17; 432 != _1mzs && 353 != _1mzs || (_1mzt = 917), _1myi.default.sound.voice.play(_1mzs.toString(), _1mzt); } }, _1myp.prototype._log = function(_1mzu) {}, _1myp; }(_1mxw(58262).PhaseAttackBase); _1mxv.PhaseAttackSpSSS = _1mym; }, 78934: function(_1mzv, _1mzw, _1mzx) { 'use strict'; var _1mzy = null; var _1mzz, _1n00 = this && this.__extends || (_1mzz = function(_1n01, _1n02) { var _1n03 = null; return _1mzz = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1n04, _1n05) { var _1n06 = null; _1n04.__proto__ = _1n05; } || function(_1n07, _1n08) { var _1n09 = null; for (var _1n0a in _1n08) Object.prototype.hasOwnProperty.call(_1n08, _1n0a) && (_1n07[_1n0a] = _1n08[_1n0a]); }, _1mzz(_1n01, _1n02); }, function(_1n0b, _1n0c) { var _1n0d = null; if ('function' != typeof _1n0c && null !== _1n0c) throw new TypeError('Class extends value ' + String(_1n0c) + ' is not a constructor or null'); function _1n0e() { var _1n0f = null; this.constructor = _1n0b; } _1mzz(_1n0b, _1n0c), _1n0b.prototype = null === _1n0c ? Object.create(_1n0c) : (_1n0e.prototype = _1n0c.prototype, new _1n0e()); }), _1n0g = this && this.__importDefault || function(_1n0h) { var _1n0i = null; return _1n0h && _1n0h.__esModule ? _1n0h : { 'default': _1n0h }; }; defineModule(_1mzw); Object.defineProperty(_1mzw, '__esModule', { 'value': !0 }), _1mzw.PhaseAttackSpSuirai = void 0; var _1n0j = _1n0g(_1mzx(18622)), _1n0k = _1mzx(66398), _1n0l = _1mzx(70723), _1n0m = _1mzx(98066), _1n0n = _1mzx(58262), _1n0o = _1mzx(57849), _1n0p = function(_1n0q) { var _1n0r = null; function _1n0s(_1n0t, _1n0u, _1n0v, _1n0w, _1n0x, _1n0y, _1n0z, _1n10, _1n11) { var _1n12 = null, _1n13 = _1n0q.call(this, _1n0t, _1n0u, _1n0w, _1n0z, _1n10, _1n11) || this; return _1n13._slot2 = _1n0j.default.model.slot.getMst(_1n0x), _1n13._slot3 = _1n0j.default.model.slot.getMst(_1n0y), _1n13._defender = _1n0v, _1n13._cutin = new _1n0o.CutinSpSuirai(_1n0u, _1n13._slot, _1n13._slot2, _1n13._slot3), _1n13; } return _1n00(_1n0s, _1n0q), _1n0s.prototype._start = function() { var _1n14 = null, _1n15 = this; this._cutin.preload(function() { var _1n16 = null; _1n15._completePreload(); }); }, _1n0s.prototype._completePreload = function() { var _1n17 = null, _1n18, _1n19, _1n1a = this._attacker.friend, _1n1b = this._attacker.index, _1n1c = this._defender.index; 1 == _1n1a ? (_1n18 = this._scene.view.bannerGroupLayer.getBanner(!0, _1n1b), _1n19 = this._scene.view.bannerGroupLayer.getBanner(!1, _1n1c)) : (_1n18 = this._scene.view.bannerGroupLayer.getBanner(!1, _1n1b), _1n19 = this._scene.view.bannerGroupLayer.getBanner(!0, _1n1c)), this._playPicket(_1n18, _1n19); }, _1n0s.prototype._playPicket = function(_1n1d, _1n1e) { var _1n1f = null, _1n1g = this; if (this._attacker.hasSlot(129, !0) || this._attacker.hasSlot(412, !0)) { var _1n1h = new PIXI.Point(); _1n1h.x = this._attacker.friend ? _1n0k.BannerSize.W : 0; var _1n1i = new _1n0m.Picket(); _1n1i.position.set(_1n1h.x, _1n1h.y), _1n1i.initialize(), _1n1d.addChild(_1n1i), _1n1i.play(), _1n1i.once('complete', function() { var _1n1j = null; _1n1g._playCutin(_1n1d, _1n1e); }); } else this._playCutin(_1n1d, _1n1e); }, _1n0s.prototype._playCutin = function(_1n1k, _1n1l) { var _1n1m = null, _1n1n = this; this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(function() { var _1n1o = null; _1n1n._shoot(_1n1k, _1n1l); }), this._cutin.view.once('attack', function() { var _1n1p = null; _1n1n._playVoice(); }); }, _1n0s.prototype._shoot = function(_1n1q, _1n1r) { var _1n1s = null, _1n1t = this; _1n1q.moveShoot(function() { var _1n1u = null; _1n1t._torpedo(_1n1q, _1n1r); }); }, _1n0s.prototype._torpedo = function(_1n1v, _1n1w) { var _1n1x = null, _1n1y = this, _1n1z = _1n1v.friend ? 1 : -1, _1n20 = _1n1v.getGlobalPos(!0); _1n20.x += _1n0k.BannerSize.W / 3 * _1n1z; var _1n21 = _1n1w.getGlobalPos(!0); _1n21.x -= _1n0k.BannerSize.W / 3 * _1n1z, _1n0l.SE.play('112'); var _1n22 = this._scene.view.layer_torpedo; _1n22.playTorpedoAtNight(_1n20, _1n21, 800, function() { var _1n23 = null; _1n22.playTorpedoWaterColumn(_1n1w), _1n1y._explosion(_1n1v, _1n1w); }); }, _1n0s.prototype._explosion = function(_1n24, _1n25) { var _1n26 = null, _1n27 = this, _1n28 = _1n25.getGlobalPos(!0); createjs.Tween.get(this).wait(300).call(function() { var _1n29 = null; _1n27._scene.view.layer_explosion.playExplosionSmall(_1n28.x, _1n28.y), 1 == _1n27._shield && _1n27._showShield(_1n25), _1n25.moveAtDamage(_1n27._shield); }).wait(350).call(function() { var _1n2a = null, _1n2b = _1n27._getDamage(_1n27._defender); _1n27._playExplosion(_1n25, _1n2b), _1n27._playDamageEffect(_1n24, _1n25, _1n27._defender, _1n2b, _1n27._hit); }); }, _1n0s.prototype._playVoice = function() { var _1n2c = null; if (this._attacker.friend) { var _1n2d = this._attacker.mst_id, _1n2e = 17; 432 != _1n2d && 353 != _1n2d || (_1n2e = 917), _1n0j.default.sound.voice.play(_1n2d.toString(), _1n2e); } }, _1n0s.prototype._log = function(_1n2f) {}, _1n0s; }(_1n0n.PhaseAttackBase); _1mzw.PhaseAttackSpSuirai = _1n0p; }, 26546: function(_1n2g, _1n2h, _1n2i) { 'use strict'; var _1n2j = null; var _1n2k, _1n2l = this && this.__extends || (_1n2k = function(_1n2m, _1n2n) { var _1n2o = null; return _1n2k = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1n2p, _1n2q) { var _1n2r = null; _1n2p.__proto__ = _1n2q; } || function(_1n2s, _1n2t) { var _1n2u = null; for (var _1n2v in _1n2t) Object.prototype.hasOwnProperty.call(_1n2t, _1n2v) && (_1n2s[_1n2v] = _1n2t[_1n2v]); }, _1n2k(_1n2m, _1n2n); }, function(_1n2w, _1n2x) { var _1n2y = null; if ('function' != typeof _1n2x && null !== _1n2x) throw new TypeError('Class extends value ' + String(_1n2x) + ' is not a constructor or null'); function _1n2z() { var _1n30 = null; this.constructor = _1n2w; } _1n2k(_1n2w, _1n2x), _1n2w.prototype = null === _1n2x ? Object.create(_1n2x) : (_1n2z.prototype = _1n2x.prototype, new _1n2z()); }), _1n31 = this && this.__importDefault || function(_1n32) { var _1n33 = null; return _1n32 && _1n32.__esModule ? _1n32 : { 'default': _1n32 }; }; defineModule(_1n2h); Object.defineProperty(_1n2h, '__esModule', { 'value': !0 }), _1n2h.PhaseAttackSpSuiraiDouble = void 0; var _1n34 = _1n31(_1n2i(18622)), _1n35 = _1n2i(66398), _1n36 = _1n2i(70723), _1n37 = _1n2i(98066), _1n38 = _1n2i(58262), _1n39 = _1n2i(57849), _1n3a = function(_1n3b) { var _1n3c = null; function _1n3d(_1n3e, _1n3f, _1n3g, _1n3h, _1n3i, _1n3j, _1n3k, _1n3l, _1n3m) { var _1n3n = null, _1n3o = _1n3b.call(this, _1n3e, _1n3f, _1n3h, _1n3k, _1n3l, _1n3m) || this; return _1n3o._slot2 = _1n34.default.model.slot.getMst(_1n3i), _1n3o._slot3 = _1n34.default.model.slot.getMst(_1n3j), _1n3o._defender = _1n3g, _1n3o._cutin = new _1n39.CutinSpSuirai(_1n3f, _1n3o._slot, _1n3o._slot2, _1n3o._slot3), _1n3o; } return _1n2l(_1n3d, _1n3b), _1n3d.prototype._start = function() { var _1n3p = null, _1n3q = this; this._cutin.preload(function() { var _1n3r = null; _1n3q._completePreload(); }); }, _1n3d.prototype._completePreload = function() { var _1n3s = null, _1n3t, _1n3u, _1n3v = this._attacker.friend, _1n3w = this._attacker.index, _1n3x = this._defender.index; 1 == _1n3v ? (_1n3t = this._scene.view.bannerGroupLayer.getBanner(!0, _1n3w), _1n3u = this._scene.view.bannerGroupLayer.getBanner(!1, _1n3x)) : (_1n3t = this._scene.view.bannerGroupLayer.getBanner(!1, _1n3w), _1n3u = this._scene.view.bannerGroupLayer.getBanner(!0, _1n3x)), this._playPicket(_1n3t, _1n3u); }, _1n3d.prototype._playPicket = function(_1n3y, _1n3z) { var _1n40 = null, _1n41 = this; if (this._attacker.hasSlot(129, !0) || this._attacker.hasSlot(412, !0)) { var _1n42 = new PIXI.Point(); _1n42.x = this._attacker.friend ? _1n35.BannerSize.W : 0; var _1n43 = new _1n37.Picket(); _1n43.position.set(_1n42.x, _1n42.y), _1n43.initialize(), _1n3y.addChild(_1n43), _1n43.play(), _1n43.once('complete', function() { var _1n44 = null; _1n41._playCutin(_1n3y, _1n3z); }); } else this._playCutin(_1n3y, _1n3z); }, _1n3d.prototype._playCutin = function(_1n45, _1n46) { var _1n47 = null, _1n48 = this; this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(function() { var _1n49 = null; _1n48._shoot(_1n45, _1n46); }), this._cutin.view.once('attack', function() { var _1n4a = null; _1n48._playVoice(); }); }, _1n3d.prototype._shoot = function(_1n4b, _1n4c) { var _1n4d = null, _1n4e = this; _1n4b.moveShoot(function() { var _1n4f = null; _1n4e._torpedo(_1n4b, _1n4c); }); }, _1n3d.prototype._torpedo = function(_1n4g, _1n4h) { var _1n4i = null, _1n4j = this, _1n4k = _1n4g.friend ? 1 : -1, _1n4l = _1n4g.getGlobalPos(!0); _1n4l.x += _1n35.BannerSize.W / 3 * _1n4k; var _1n4m = _1n4h.getGlobalPos(!0); _1n4m.x -= _1n35.BannerSize.W / 3 * _1n4k, _1n36.SE.play('112'); var _1n4n = this._scene.view.layer_torpedo; _1n4n.playTorpedoAtNight(_1n4l, _1n4m, 800, function() { var _1n4o = null; _1n4n.playTorpedoWaterColumn(_1n4h), _1n4j._explosion(_1n4g, _1n4h); }); }, _1n3d.prototype._explosion = function(_1n4p, _1n4q) { var _1n4r = null, _1n4s = this, _1n4t = _1n4q.getGlobalPos(!0); createjs.Tween.get(this).wait(300).call(function() { var _1n4u = null; _1n4s._scene.view.layer_explosion.playExplosionSmall(_1n4t.x, _1n4t.y), 1 == _1n4s._shield && _1n4s._showShield(_1n4q), _1n4q.moveAtDamage(_1n4s._shield); }).wait(350).call(function() { var _1n4v = null; _1n4s._scene.view.layer_explosion.playExplosionSmall(_1n4t.x, _1n4t.y); }).wait(350).call(function() { var _1n4w = null, _1n4x = _1n4s._getDamage(_1n4s._defender); _1n4s._playExplosion(_1n4q, _1n4x), _1n4s._playDamageEffect(_1n4p, _1n4q, _1n4s._defender, _1n4x, _1n4s._hit); }); }, _1n3d.prototype._playVoice = function() { var _1n4y = null; if (this._attacker.friend) { var _1n4z = this._attacker.mst_id, _1n50 = 17; 432 != _1n4z && 353 != _1n4z || (_1n50 = 917), _1n34.default.sound.voice.play(_1n4z.toString(), _1n50); } }, _1n3d.prototype._log = function(_1n51) {}, _1n3d; }(_1n38.PhaseAttackBase); _1n2h.PhaseAttackSpSuiraiDouble = _1n3a; }, 43835: function(_1n52, _1n53, _1n54) { 'use strict'; var _1n55 = null; var _1n56, _1n57 = this && this.__extends || (_1n56 = function(_1n58, _1n59) { var _1n5a = null; return _1n56 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1n5b, _1n5c) { var _1n5d = null; _1n5b.__proto__ = _1n5c; } || function(_1n5e, _1n5f) { var _1n5g = null; for (var _1n5h in _1n5f) Object.prototype.hasOwnProperty.call(_1n5f, _1n5h) && (_1n5e[_1n5h] = _1n5f[_1n5h]); }, _1n56(_1n58, _1n59); }, function(_1n5i, _1n5j) { var _1n5k = null; if ('function' != typeof _1n5j && null !== _1n5j) throw new TypeError('Class extends value ' + String(_1n5j) + ' is not a constructor or null'); function _1n5l() { var _1n5m = null; this.constructor = _1n5i; } _1n56(_1n5i, _1n5j), _1n5i.prototype = null === _1n5j ? Object.create(_1n5j) : (_1n5l.prototype = _1n5j.prototype, new _1n5l()); }); defineModule(_1n53); Object.defineProperty(_1n53, '__esModule', { 'value': !0 }), _1n53.PhaseAttackSpType4KaTsu = void 0; var _1n5n = _1n54(70723), _1n5o = _1n54(83645), _1n5p = _1n54(74574), _1n5q = function(_1n5r) { var _1n5s = null; function _1n5t(_1n5u, _1n5v, _1n5w, _1n5x, _1n5y, _1n5z, _1n60) { var _1n61 = null, _1n62 = _1n5r.call(this, _1n5u, _1n5v, _1n5x, _1n5y, _1n5z, _1n60) || this; _1n62._defender = _1n5w; var _1n63 = _1n62._scene.data.isNight(); return _1n62._cutin = new _1n5o.CutinAttack(_1n62._attacker, _1n62._slot, _1n63, !0, !0), _1n62; } return _1n57(_1n5t, _1n5r), _1n5t.prototype._start = function() { var _1n64 = null, _1n65 = this; this._cutin.getPreloadTask().start(function() { var _1n66 = null; _1n65._completePreload(); }); }, _1n5t.prototype._completePreload = function() { var _1n67 = null, _1n68, _1n69, _1n6a = this, _1n6b = this._attacker.friend, _1n6c = this._attacker.index, _1n6d = this._defender.index; 1 == _1n6b ? (_1n68 = this._scene.view.bannerGroupLayer.getBanner(!0, _1n6c), _1n69 = this._scene.view.bannerGroupLayer.getBanner(!1, _1n6d)) : (_1n68 = this._scene.view.bannerGroupLayer.getBanner(!1, _1n6c), _1n69 = this._scene.view.bannerGroupLayer.getBanner(!0, _1n6d)), _1n68.moveFront(), 0 == this._shield && _1n69.moveFront(), this._cutin.view.once('attack', function() { var _1n6e = null; _1n6a._playVoice(), _1n6a._attack(_1n68, _1n69); }), this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(); }, _1n5t.prototype._attack = function(_1n6f, _1n6g) { var _1n6h = null, _1n6i = this, _1n6j = this._scene.view, _1n6k = this._attacker.hasSlot(526, !0) ? 14 : 12, _1n6l = new _1n5p.TaskDaihatsuEff(_1n6j, _1n6f, _1n6g, _1n6k); _1n6l.start(); var _1n6m = 1300 + _1n6l.wait; createjs.Tween.get(null).wait(_1n6m).call(function() { var _1n6n = null; _1n5n.SE.play('102'), _1n6f.attack(function() { var _1n6o = null; _1n6i._damageEffect(_1n6f, _1n6g); }); }); }, _1n5t.prototype._damageEffect = function(_1n6p, _1n6q) { var _1n6r = null; 1 == this._shield && this._showShield(_1n6q), _1n6q.moveAtDamage(this._shield); var _1n6s = this._getDamage(this._defender); this._playExplosion(_1n6q, _1n6s), this._playDamageEffect(_1n6p, _1n6q, this._defender, _1n6s, this._hit); }, _1n5t.prototype._playExplosion = function(_1n6t, _1n6u) { var _1n6v = null, _1n6w = _1n6t.getGlobalPos(!0); this._scene.view.layer_explosion.playDamageExplosion(_1n6w.x, _1n6w.y, _1n6u), this._scene.view.layer_torpedo.playTorpedoWaterColumn(_1n6t); }, _1n5t; }(_1n54(58262).PhaseAttackBase); _1n53.PhaseAttackSpType4KaTsu = _1n5q; }, 59106: function(_1n6x, _1n6y, _1n6z) { 'use strict'; var _1n70 = null; var _1n71, _1n72 = this && this.__extends || (_1n71 = function(_1n73, _1n74) { var _1n75 = null; return _1n71 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1n76, _1n77) { var _1n78 = null; _1n76.__proto__ = _1n77; } || function(_1n79, _1n7a) { var _1n7b = null; for (var _1n7c in _1n7a) Object.prototype.hasOwnProperty.call(_1n7a, _1n7c) && (_1n79[_1n7c] = _1n7a[_1n7c]); }, _1n71(_1n73, _1n74); }, function(_1n7d, _1n7e) { var _1n7f = null; if ('function' != typeof _1n7e && null !== _1n7e) throw new TypeError('Class extends value ' + String(_1n7e) + ' is not a constructor or null'); function _1n7g() { var _1n7h = null; this.constructor = _1n7d; } _1n71(_1n7d, _1n7e), _1n7d.prototype = null === _1n7e ? Object.create(_1n7e) : (_1n7g.prototype = _1n7e.prototype, new _1n7g()); }), _1n7i = this && this.__importDefault || function(_1n7j) { var _1n7k = null; return _1n7j && _1n7j.__esModule ? _1n7j : { 'default': _1n7j }; }; defineModule(_1n6y); Object.defineProperty(_1n6y, '__esModule', { 'value': !0 }), _1n6y.PhaseAttackSpYusou = void 0; var _1n7l = _1n7i(_1n6z(18622)), _1n7m = _1n6z(66398), _1n7n = _1n6z(70723), _1n7o = _1n6z(98066), _1n7p = _1n6z(58262), _1n7q = _1n6z(2701), _1n7r = function(_1n7s) { var _1n7t = null; function _1n7u(_1n7v, _1n7w, _1n7x, _1n7y, _1n7z, _1n80, _1n81, _1n82, _1n83) { var _1n84 = null, _1n85 = _1n7s.call(this, _1n7v, _1n7w, _1n7y, _1n81, _1n82, _1n83) || this; return _1n85._slot2 = _1n7l.default.model.slot.getMst(_1n7z), _1n85._slot3 = _1n7l.default.model.slot.getMst(_1n80), _1n85._defender = _1n7x, _1n85._cutin = new _1n7q.CutinSpYusou(_1n7w, _1n85._slot, _1n85._slot2, _1n85._slot3), _1n85; } return _1n72(_1n7u, _1n7s), _1n7u.prototype._start = function() { var _1n86 = null, _1n87 = this; this._cutin.preload(function() { var _1n88 = null; _1n87._completePreload(); }); }, _1n7u.prototype._completePreload = function() { var _1n89 = null, _1n8a, _1n8b, _1n8c = this._attacker.friend, _1n8d = this._attacker.index, _1n8e = this._defender.index; 1 == _1n8c ? (_1n8a = this._scene.view.bannerGroupLayer.getBanner(!0, _1n8d), _1n8b = this._scene.view.bannerGroupLayer.getBanner(!1, _1n8e)) : (_1n8a = this._scene.view.bannerGroupLayer.getBanner(!1, _1n8d), _1n8b = this._scene.view.bannerGroupLayer.getBanner(!0, _1n8e)), this._playPicket(_1n8a, _1n8b); }, _1n7u.prototype._playPicket = function(_1n8f, _1n8g) { var _1n8h = null, _1n8i = this; if (this._attacker.hasSlot(129, !0) || this._attacker.hasSlot(412, !0)) { var _1n8j = new PIXI.Point(); _1n8j.x = this._attacker.friend ? _1n7m.BannerSize.W : 0; var _1n8k = new _1n7o.Picket(); _1n8k.position.set(_1n8j.x, _1n8j.y), _1n8k.initialize(), _1n8f.addChild(_1n8k), _1n8k.play(), _1n8k.once('complete', function() { var _1n8l = null; _1n8i._playCutin(_1n8f, _1n8g); }); } else this._playCutin(_1n8f, _1n8g); }, _1n7u.prototype._playCutin = function(_1n8m, _1n8n) { var _1n8o = null, _1n8p = this; this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(function() { var _1n8q = null; _1n8p._shoot(_1n8m, _1n8n); }), this._cutin.view.once('attack', function() { var _1n8r = null; _1n8p._playVoice(); }); }, _1n7u.prototype._shoot = function(_1n8s, _1n8t) { var _1n8u = null, _1n8v = this; _1n8s.moveShoot(function() { var _1n8w = null; _1n8v._torpedo(_1n8s, _1n8t); }); }, _1n7u.prototype._torpedo = function(_1n8x, _1n8y) { var _1n8z = null, _1n90 = this, _1n91 = _1n8x.friend ? 1 : -1, _1n92 = _1n8x.getGlobalPos(!0); _1n92.x += _1n7m.BannerSize.W / 3 * _1n91; var _1n93 = _1n8y.getGlobalPos(!0); _1n93.x -= _1n7m.BannerSize.W / 3 * _1n91, _1n7n.SE.play('112'); var _1n94 = this._scene.view.layer_torpedo; _1n94.playTorpedoAtNight(_1n92, _1n93, 800, function() { var _1n95 = null; _1n94.playTorpedoWaterColumn(_1n8y), _1n90._explosion(_1n8x, _1n8y); }); }, _1n7u.prototype._explosion = function(_1n96, _1n97) { var _1n98 = null, _1n99 = this, _1n9a = _1n97.getGlobalPos(!0); createjs.Tween.get(this).wait(300).call(function() { var _1n9b = null; _1n99._scene.view.layer_explosion.playExplosionSmall(_1n9a.x, _1n9a.y), 1 == _1n99._shield && _1n99._showShield(_1n97), _1n97.moveAtDamage(_1n99._shield); }).wait(350).call(function() { var _1n9c = null, _1n9d = _1n99._getDamage(_1n99._defender); _1n99._playExplosion(_1n97, _1n9d), _1n99._playDamageEffect(_1n96, _1n97, _1n99._defender, _1n9d, _1n99._hit); }); }, _1n7u.prototype._playVoice = function() { var _1n9e = null; if (this._attacker.friend) { var _1n9f = this._attacker.mst_id, _1n9g = 17; 432 != _1n9f && 353 != _1n9f || (_1n9g = 917), _1n7l.default.sound.voice.play(_1n9f.toString(), _1n9g); } }, _1n7u.prototype._log = function(_1n9h) {}, _1n7u; }(_1n7p.PhaseAttackBase); _1n6y.PhaseAttackSpYusou = _1n7r; }, 28983: function(_1n9i, _1n9j, _1n9k) { 'use strict'; var _1n9l = null; var _1n9m, _1n9n = this && this.__extends || (_1n9m = function(_1n9o, _1n9p) { var _1n9q = null; return _1n9m = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1n9r, _1n9s) { var _1n9t = null; _1n9r.__proto__ = _1n9s; } || function(_1n9u, _1n9v) { var _1n9w = null; for (var _1n9x in _1n9v) Object.prototype.hasOwnProperty.call(_1n9v, _1n9x) && (_1n9u[_1n9x] = _1n9v[_1n9x]); }, _1n9m(_1n9o, _1n9p); }, function(_1n9y, _1n9z) { var _1na0 = null; if ('function' != typeof _1n9z && null !== _1n9z) throw new TypeError('Class extends value ' + String(_1n9z) + ' is not a constructor or null'); function _1na1() { var _1na2 = null; this.constructor = _1n9y; } _1n9m(_1n9y, _1n9z), _1n9y.prototype = null === _1n9z ? Object.create(_1n9z) : (_1na1.prototype = _1n9z.prototype, new _1na1()); }), _1na3 = this && this.__importDefault || function(_1na4) { var _1na5 = null; return _1na4 && _1na4.__esModule ? _1na4 : { 'default': _1na4 }; }; defineModule(_1n9j); Object.defineProperty(_1n9j, '__esModule', { 'value': !0 }), _1n9j.PhaseAttackSpYusouDouble = void 0; var _1na6 = _1na3(_1n9k(18622)), _1na7 = _1n9k(66398), _1na8 = _1n9k(70723), _1na9 = _1n9k(98066), _1naa = _1n9k(58262), _1nab = _1n9k(2701), _1nac = function(_1nad) { var _1nae = null; function _1naf(_1nag, _1nah, _1nai, _1naj, _1nak, _1nal, _1nam, _1nan, _1nao) { var _1nap = null, _1naq = _1nad.call(this, _1nag, _1nah, _1naj, _1nam, _1nan, _1nao) || this; return _1naq._slot2 = _1na6.default.model.slot.getMst(_1nak), _1naq._slot3 = _1na6.default.model.slot.getMst(_1nal), _1naq._defender = _1nai, _1naq._cutin = new _1nab.CutinSpYusou(_1nah, _1naq._slot, _1naq._slot2, _1naq._slot3), _1naq; } return _1n9n(_1naf, _1nad), _1naf.prototype._start = function() { var _1nar = null, _1nas = this; this._cutin.preload(function() { var _1nat = null; _1nas._completePreload(); }); }, _1naf.prototype._completePreload = function() { var _1nau = null, _1nav, _1naw, _1nax = this._attacker.friend, _1nay = this._attacker.index, _1naz = this._defender.index; 1 == _1nax ? (_1nav = this._scene.view.bannerGroupLayer.getBanner(!0, _1nay), _1naw = this._scene.view.bannerGroupLayer.getBanner(!1, _1naz)) : (_1nav = this._scene.view.bannerGroupLayer.getBanner(!1, _1nay), _1naw = this._scene.view.bannerGroupLayer.getBanner(!0, _1naz)), this._playPicket(_1nav, _1naw); }, _1naf.prototype._playPicket = function(_1nb0, _1nb1) { var _1nb2 = null, _1nb3 = this; if (this._attacker.hasSlot(129, !0) || this._attacker.hasSlot(412, !0)) { var _1nb4 = new PIXI.Point(); _1nb4.x = this._attacker.friend ? _1na7.BannerSize.W : 0; var _1nb5 = new _1na9.Picket(); _1nb5.position.set(_1nb4.x, _1nb4.y), _1nb5.initialize(), _1nb0.addChild(_1nb5), _1nb5.play(), _1nb5.once('complete', function() { var _1nb6 = null; _1nb3._playCutin(_1nb0, _1nb1); }); } else this._playCutin(_1nb0, _1nb1); }, _1naf.prototype._playCutin = function(_1nb7, _1nb8) { var _1nb9 = null, _1nba = this; this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(function() { var _1nbb = null; _1nba._shoot(_1nb7, _1nb8); }), this._cutin.view.once('attack', function() { var _1nbc = null; _1nba._playVoice(); }); }, _1naf.prototype._shoot = function(_1nbd, _1nbe) { var _1nbf = null, _1nbg = this; _1nbd.moveShoot(function() { var _1nbh = null; _1nbg._torpedo(_1nbd, _1nbe); }); }, _1naf.prototype._torpedo = function(_1nbi, _1nbj) { var _1nbk = null, _1nbl = this, _1nbm = _1nbi.friend ? 1 : -1, _1nbn = _1nbi.getGlobalPos(!0); _1nbn.x += _1na7.BannerSize.W / 3 * _1nbm; var _1nbo = _1nbj.getGlobalPos(!0); _1nbo.x -= _1na7.BannerSize.W / 3 * _1nbm, _1na8.SE.play('112'); var _1nbp = this._scene.view.layer_torpedo; _1nbp.playTorpedoAtNight(_1nbn, _1nbo, 800, function() { var _1nbq = null; _1nbp.playTorpedoWaterColumn(_1nbj), _1nbl._explosion(_1nbi, _1nbj); }); }, _1naf.prototype._explosion = function(_1nbr, _1nbs) { var _1nbt = null, _1nbu = this, _1nbv = _1nbs.getGlobalPos(!0); createjs.Tween.get(this).wait(300).call(function() { var _1nbw = null; _1nbu._scene.view.layer_explosion.playExplosionSmall(_1nbv.x, _1nbv.y), 1 == _1nbu._shield && _1nbu._showShield(_1nbs), _1nbs.moveAtDamage(_1nbu._shield); }).wait(350).call(function() { var _1nbx = null; _1nbu._scene.view.layer_explosion.playExplosionSmall(_1nbv.x, _1nbv.y); }).wait(350).call(function() { var _1nby = null, _1nbz = _1nbu._getDamage(_1nbu._defender); _1nbu._playExplosion(_1nbs, _1nbz), _1nbu._playDamageEffect(_1nbr, _1nbs, _1nbu._defender, _1nbz, _1nbu._hit); }); }, _1naf.prototype._playVoice = function() { var _1nc0 = null; if (this._attacker.friend) { var _1nc1 = this._attacker.mst_id, _1nc2 = 17; 432 != _1nc1 && 353 != _1nc1 || (_1nc2 = 917), _1na6.default.sound.voice.play(_1nc1.toString(), _1nc2); } }, _1naf.prototype._log = function(_1nc3) {}, _1naf; }(_1naa.PhaseAttackBase); _1n9j.PhaseAttackSpYusouDouble = _1nac; }, 64060: function(_1nc4, _1nc5, _1nc6) { 'use strict'; var _1nc7 = null; var _1nc8, _1nc9 = this && this.__extends || (_1nc8 = function(_1nca, _1ncb) { var _1ncc = null; return _1nc8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ncd, _1nce) { var _1ncf = null; _1ncd.__proto__ = _1nce; } || function(_1ncg, _1nch) { var _1nci = null; for (var _1ncj in _1nch) Object.prototype.hasOwnProperty.call(_1nch, _1ncj) && (_1ncg[_1ncj] = _1nch[_1ncj]); }, _1nc8(_1nca, _1ncb); }, function(_1nck, _1ncl) { var _1ncm = null; if ('function' != typeof _1ncl && null !== _1ncl) throw new TypeError('Class extends value ' + String(_1ncl) + ' is not a constructor or null'); function _1ncn() { var _1nco = null; this.constructor = _1nck; } _1nc8(_1nck, _1ncl), _1nck.prototype = null === _1ncl ? Object.create(_1ncl) : (_1ncn.prototype = _1ncl.prototype, new _1ncn()); }); defineModule(_1nc5); Object.defineProperty(_1nc5, '__esModule', { 'value': !0 }), _1nc5.PhaseColoradoAttack = void 0; var _1ncp = _1nc6(70723), _1ncq = _1nc6(81755), _1ncr = _1nc6(66398), _1ncs = _1nc6(51225), _1nct = _1nc6(50614), _1ncu = function(_1ncv) { var _1ncw = null; function _1ncx(_1ncy, _1ncz, _1nd0, _1nd1, _1nd2) { var _1nd3 = null, _1nd4 = _1ncv.call(this) || this; return _1nd4._scene = _1ncy, _1nd4._attackers = [_1nd4._scene.data.model.deck_f.ships[0], _1nd4._scene.data.model.deck_f.ships[1], _1nd4._scene.data.model.deck_f.ships[2]], _1nd4._defenders = _1ncz, _1nd4._hits = _1nd1, _1nd4._damages = _1nd0, _1nd4._shields = _1nd2, _1nd4._damage_cutin = new _1nct.PhaseDamageCutin(_1ncy), _1nd4._cutin = new _1ncs.CutinColoradoAttack(_1nd4._attackers), _1nd4; } return _1nc9(_1ncx, _1ncv), _1ncx.prototype._start = function() { var _1nd5 = null, _1nd6 = this; this._cutin.getPreloadTask().start(function() { var _1nd7 = null; _1nd6._completePreload(); }); }, _1ncx.prototype._completePreload = function() { var _1nd8 = null; for (var _1nd9 = this, _1nda = this._attackers[0].friend, _1ndb = [], _1ndc = [], _1ndd = 0; _1ndd < this._attackers.length; _1ndd++) { var _1nde = this._attackers[_1ndd].index, _1ndf = this._scene.view.bannerGroupLayer.getBanner(!!_1nda, _1nde); _1ndb.push(_1ndf), _1ndf.moveFront(); } for (_1ndd = 0; _1ndd < this._defenders.length; _1ndd++) { var _1ndg = this._defenders[_1ndd].index, _1ndh = this._scene.view.bannerGroupLayer.getBanner(!_1nda, _1ndg); _1ndc.push(_1ndh); } this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(function() { var _1ndi = null; _1nd9._explosion(_1ndb, _1ndc, 0); }); }, _1ncx.prototype._explosion = function(_1ndj, _1ndk, _1ndl) { var _1ndm = null, _1ndn = this, _1ndo = _1ndk[_1ndl].getGlobalPos(!0), _1ndp = Math.random() * _1ncr.BannerSize.W - _1ncr.BannerSize.W / 2, _1ndq = Math.random() * _1ncr.BannerSize.H - _1ncr.BannerSize.H / 2, _1ndr = Math.random() * _1ncr.BannerSize.W - _1ncr.BannerSize.W / 2, _1nds = Math.random() * _1ncr.BannerSize.H - _1ncr.BannerSize.H / 2; createjs.Tween.get(null).wait(200).call(function() { var _1ndt = null; _1ndk[_1ndl].moveAtDamage(_1ndn._shields[_1ndl]), _1ndn._scene.view.layer_explosion.playDamageExplosion(_1ndo.x, _1ndo.y, _1ndn._damages[_1ndl]); }).wait(150).call(function() { var _1ndu = null; _1ndn._scene.view.layer_explosion.playExplosionSmall(_1ndo.x + _1ndp, _1ndo.y + _1ndq); }).wait(100).call(function() { var _1ndv = null; _1ndn._scene.view.layer_explosion.playExplosionSmall(_1ndo.x + _1ndr, _1ndo.y + _1nds, function() { var _1ndw = null; _1ndn._attack(_1ndj, _1ndk, _1ndl); }); }); }, _1ncx.prototype._attack = function(_1ndx, _1ndy, _1ndz) { var _1ne0 = null; _1ncp.SE.play('102'), this._damageEffect(_1ndx, _1ndy, _1ndz); }, _1ncx.prototype._damageEffect = function(_1ne1, _1ne2, _1ne3) { var _1ne4 = null; 1 == this._shields[_1ne3] && this._showShield(_1ne2[_1ne3]), _1ne2[_1ne3].moveAtDamage(this._shields[_1ne3]), this._playExplosion(_1ne2[_1ne3], this._damages[_1ne3]), this._playDamageEffect(_1ne1, _1ne2, _1ne3); }, _1ncx.prototype._showShield = function(_1ne5) { var _1ne6 = null, _1ne7 = this._scene.view.bannerGroupLayer.getShieldTargetBanner(_1ne5); this._scene.view.layer_damage.showShieldAtBanner(_1ne7); }, _1ncx.prototype._playExplosion = function(_1ne8, _1ne9) { var _1nea = null, _1neb = _1ne8.getGlobalPos(!0); this._scene.view.layer_explosion.playDamageExplosion(_1neb.x, _1neb.y, _1ne9); }, _1ncx.prototype._playDamageEffect = function(_1nec, _1ned, _1nee) { var _1nef = null, _1neg = this; this._scene.view.layer_damage.showAtBanner(_1ned[_1nee], this._damages[_1nee], this._hits[_1nee]); var _1neh = createjs.Tween.get(null); _1neh.wait(200), _1neh.call(function() { var _1nei = null; if (_1neg._damage_cutin.causeDamage(_1neg._defenders[_1nee], _1neg._damages[_1nee]), _1ned[_1nee].updateHp(_1neg._defenders[_1nee].hp_now), _1nee + 1 >= _1neg._defenders.length) { for (var _1nej = 0; _1nej < _1neg._attackers.length; _1nej++) _1nec[_1nej].moveDefault(); } }), _1nee + 1 >= this._defenders.length ? (_1neh.wait(1000), _1neh.call(function() { var _1nek = null; _1neg._endTask(); })) : (_1neh.wait(150), _1neh.call(function() { var _1nel = null; _1neg._explosion(_1nec, _1ned, _1nee + 1); })); }, _1ncx.prototype._endTask = function() { var _1nem = null, _1nen = this; this._damage_cutin.start(function() { var _1neo = null; _1ncv.prototype._endTask.call(_1nen); }); }, _1ncx.prototype._log = function(_1nep) {}, _1ncx; }(_1ncq.TaskBase); _1nc5.PhaseColoradoAttack = _1ncu; }, 4143: function(_1neq, _1ner, _1nes) { 'use strict'; var _1net = null; var _1neu, _1nev = this && this.__extends || (_1neu = function(_1new, _1nex) { var _1ney = null; return _1neu = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1nez, _1nf0) { var _1nf1 = null; _1nez.__proto__ = _1nf0; } || function(_1nf2, _1nf3) { var _1nf4 = null; for (var _1nf5 in _1nf3) Object.prototype.hasOwnProperty.call(_1nf3, _1nf5) && (_1nf2[_1nf5] = _1nf3[_1nf5]); }, _1neu(_1new, _1nex); }, function(_1nf6, _1nf7) { var _1nf8 = null; if ('function' != typeof _1nf7 && null !== _1nf7) throw new TypeError('Class extends value ' + String(_1nf7) + ' is not a constructor or null'); function _1nf9() { var _1nfa = null; this.constructor = _1nf6; } _1neu(_1nf6, _1nf7), _1nf6.prototype = null === _1nf7 ? Object.create(_1nf7) : (_1nf9.prototype = _1nf7.prototype, new _1nf9()); }); defineModule(_1ner); Object.defineProperty(_1ner, '__esModule', { 'value': !0 }), _1ner.PhaseKongoAttack = void 0; var _1nfb = _1nes(70723), _1nfc = _1nes(81755), _1nfd = _1nes(66398), _1nfe = _1nes(68432), _1nff = _1nes(50614), _1nfg = function(_1nfh) { var _1nfi = null; function _1nfj(_1nfk, _1nfl, _1nfm, _1nfn, _1nfo) { var _1nfp = null, _1nfq = _1nfh.call(this) || this; return _1nfq._scene = _1nfk, (_1nfq._attackers = 1 == _1nfq._scene.data.model.deck_f.isCombined() ? [_1nfq._scene.data.model.deck_f.ships_sub[0], _1nfq._scene.data.model.deck_f.ships_sub[1]] : [_1nfq._scene.data.model.deck_f.ships[0], _1nfq._scene.data.model.deck_f.ships[1]], _1nfq._defenders = _1nfl, _1nfq._hits = _1nfn, _1nfq._damages = _1nfm, _1nfq._shields = _1nfo, _1nfq._damage_cutin = new _1nff.PhaseDamageCutin(_1nfk), _1nfq._cutin = new _1nfe.CutinKongoAttack(_1nfq._attackers), _1nfq); } return _1nev(_1nfj, _1nfh), _1nfj.prototype._start = function() { var _1nfr = null; this._completePreload(); }, _1nfj.prototype._completePreload = function() { var _1nfs = null; for (var _1nft = this, _1nfu = this._attackers[0].friend, _1nfv = [], _1nfw = [], _1nfx = 0; _1nfx < this._attackers.length; _1nfx++) { var _1nfy = this._attackers[_1nfx].index, _1nfz = this._scene.view.bannerGroupLayer.getBanner(!!_1nfu, _1nfy); _1nfv.push(_1nfz), _1nfz.moveFront(); } for (_1nfx = 0; _1nfx < this._defenders.length; _1nfx++) { var _1ng0 = this._defenders[_1nfx].index, _1ng1 = this._scene.view.bannerGroupLayer.getBanner(!_1nfu, _1ng0); _1nfw.push(_1ng1); } this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(function() { var _1ng2 = null; _1nft._explosion(_1nfv, _1nfw, 0); }); }, _1nfj.prototype._explosion = function(_1ng3, _1ng4, _1ng5) { var _1ng6 = null, _1ng7 = this, _1ng8 = _1ng4[_1ng5].getGlobalPos(!0), _1ng9 = Math.random() * _1nfd.BannerSize.W - _1nfd.BannerSize.W / 2, _1nga = Math.random() * _1nfd.BannerSize.H - _1nfd.BannerSize.H / 2, _1ngb = Math.random() * _1nfd.BannerSize.W - _1nfd.BannerSize.W / 2, _1ngc = Math.random() * _1nfd.BannerSize.H - _1nfd.BannerSize.H / 2; createjs.Tween.get(null).wait(200).call(function() { var _1ngd = null; _1ng4[_1ng5].moveAtDamage(_1ng7._shields[_1ng5]), _1ng7._scene.view.layer_explosion.playDamageExplosion(_1ng8.x, _1ng8.y, _1ng7._damages[_1ng5]); }).wait(150).call(function() { var _1nge = null; _1ng7._scene.view.layer_explosion.playExplosionSmall(_1ng8.x + _1ng9, _1ng8.y + _1nga); }).wait(100).call(function() { var _1ngf = null; _1ng7._scene.view.layer_explosion.playExplosionSmall(_1ng8.x + _1ngb, _1ng8.y + _1ngc, function() { var _1ngg = null; _1ng7._attack(_1ng3, _1ng4, _1ng5); }); }); }, _1nfj.prototype._attack = function(_1ngh, _1ngi, _1ngj) { var _1ngk = null; _1nfb.SE.play('102'), this._damageEffect(_1ngh, _1ngi, _1ngj); }, _1nfj.prototype._damageEffect = function(_1ngl, _1ngm, _1ngn) { var _1ngo = null; 1 == this._shields[_1ngn] && this._showShield(_1ngm[_1ngn]), _1ngm[_1ngn].moveAtDamage(this._shields[_1ngn]), this._playExplosion(_1ngm[_1ngn], this._damages[_1ngn]), this._playDamageEffect(_1ngl, _1ngm, _1ngn); }, _1nfj.prototype._showShield = function(_1ngp) { var _1ngq = null, _1ngr = this._scene.view.bannerGroupLayer.getShieldTargetBanner(_1ngp); this._scene.view.layer_damage.showShieldAtBanner(_1ngr); }, _1nfj.prototype._playExplosion = function(_1ngs, _1ngt) { var _1ngu = null, _1ngv = _1ngs.getGlobalPos(!0); this._scene.view.layer_explosion.playDamageExplosion(_1ngv.x, _1ngv.y, _1ngt); }, _1nfj.prototype._playDamageEffect = function(_1ngw, _1ngx, _1ngy) { var _1ngz = null, _1nh0 = this; this._scene.view.layer_damage.showAtBanner(_1ngx[_1ngy], this._damages[_1ngy], this._hits[_1ngy]); var _1nh1 = createjs.Tween.get(null); _1nh1.wait(200), _1nh1.call(function() { var _1nh2 = null; if (_1nh0._damage_cutin.causeDamage(_1nh0._defenders[_1ngy], _1nh0._damages[_1ngy]), _1ngx[_1ngy].updateHp(_1nh0._defenders[_1ngy].hp_now), _1ngy + 1 >= _1nh0._defenders.length) { for (var _1nh3 = 0; _1nh3 < _1nh0._attackers.length; _1nh3++) _1ngw[_1nh3].moveDefault(); } }), _1ngy + 1 >= this._defenders.length ? (_1nh1.wait(1000), _1nh1.call(function() { var _1nh4 = null; _1nh0._endTask(); })) : (_1nh1.wait(150), _1nh1.call(function() { var _1nh5 = null; _1nh0._explosion(_1ngw, _1ngx, _1ngy + 1); })); }, _1nfj.prototype._endTask = function() { var _1nh6 = null, _1nh7 = this; this._damage_cutin.start(function() { var _1nh8 = null; _1nfh.prototype._endTask.call(_1nh7); }); }, _1nfj.prototype._log = function(_1nh9) {}, _1nfj; }(_1nfc.TaskBase); _1ner.PhaseKongoAttack = _1nfg; }, 88010: function(_1nha, _1nhb, _1nhc) { 'use strict'; var _1nhd = null; var _1nhe, _1nhf = this && this.__extends || (_1nhe = function(_1nhg, _1nhh) { var _1nhi = null; return _1nhe = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1nhj, _1nhk) { var _1nhl = null; _1nhj.__proto__ = _1nhk; } || function(_1nhm, _1nhn) { var _1nho = null; for (var _1nhp in _1nhn) Object.prototype.hasOwnProperty.call(_1nhn, _1nhp) && (_1nhm[_1nhp] = _1nhn[_1nhp]); }, _1nhe(_1nhg, _1nhh); }, function(_1nhq, _1nhr) { var _1nhs = null; if ('function' != typeof _1nhr && null !== _1nhr) throw new TypeError('Class extends value ' + String(_1nhr) + ' is not a constructor or null'); function _1nht() { var _1nhu = null; this.constructor = _1nhq; } _1nhe(_1nhq, _1nhr), _1nhq.prototype = null === _1nhr ? Object.create(_1nhr) : (_1nht.prototype = _1nhr.prototype, new _1nht()); }); defineModule(_1nhb); Object.defineProperty(_1nhb, '__esModule', { 'value': !0 }), _1nhb.PhaseMutsuAttack = void 0; var _1nhv = _1nhc(70723), _1nhw = _1nhc(81755), _1nhx = _1nhc(66398), _1nhy = _1nhc(84085), _1nhz = _1nhc(50614), _1ni0 = function(_1ni1) { var _1ni2 = null; function _1ni3(_1ni4, _1ni5, _1ni6, _1ni7, _1ni8) { var _1ni9 = null, _1nia = _1ni1.call(this) || this; return _1nia._scene = _1ni4, _1nia._attackers = [_1nia._scene.data.model.deck_f.ships[0], _1nia._scene.data.model.deck_f.ships[1]], _1nia._defenders = _1ni5, _1nia._hits = _1ni7, _1nia._damages = _1ni6, _1nia._shields = _1ni8, _1nia._damage_cutin = new _1nhz.PhaseDamageCutin(_1ni4), _1nia._cutin = new _1nhy.CutinMutsuAttack(_1nia._attackers), _1nia; } return _1nhf(_1ni3, _1ni1), _1ni3.prototype._start = function() { var _1nib = null, _1nic = this; this._cutin.getPreloadTask().start(function() { var _1nid = null; _1nic._completePreload(); }); }, _1ni3.prototype._completePreload = function() { var _1nie = null; for (var _1nif = this, _1nig = this._attackers[0].friend, _1nih = [], _1nii = [], _1nij = 0; _1nij < this._attackers.length; _1nij++) { var _1nik = this._attackers[_1nij].index, _1nil = this._scene.view.bannerGroupLayer.getBanner(!!_1nig, _1nik); _1nih.push(_1nil), _1nil.moveFront(); } for (_1nij = 0; _1nij < this._defenders.length; _1nij++) { var _1nim = this._defenders[_1nij].index, _1nin = this._scene.view.bannerGroupLayer.getBanner(!_1nig, _1nim); _1nii.push(_1nin); } this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(function() { var _1nio = null; _1nif._explosion(_1nih, _1nii, 0); }); }, _1ni3.prototype._explosion = function(_1nip, _1niq, _1nir) { var _1nis = null, _1nit = this, _1niu = _1niq[_1nir].getGlobalPos(!0), _1niv = Math.random() * _1nhx.BannerSize.W - _1nhx.BannerSize.W / 2, _1niw = Math.random() * _1nhx.BannerSize.H - _1nhx.BannerSize.H / 2, _1nix = Math.random() * _1nhx.BannerSize.W - _1nhx.BannerSize.W / 2, _1niy = Math.random() * _1nhx.BannerSize.H - _1nhx.BannerSize.H / 2; createjs.Tween.get(null).wait(200).call(function() { var _1niz = null; _1niq[_1nir].moveAtDamage(_1nit._shields[_1nir]), _1nit._scene.view.layer_explosion.playDamageExplosion(_1niu.x, _1niu.y, _1nit._damages[_1nir]); }).wait(150).call(function() { var _1nj0 = null; _1nit._scene.view.layer_explosion.playExplosionSmall(_1niu.x + _1niv, _1niu.y + _1niw); }).wait(100).call(function() { var _1nj1 = null; _1nit._scene.view.layer_explosion.playExplosionSmall(_1niu.x + _1nix, _1niu.y + _1niy, function() { var _1nj2 = null; _1nit._attack(_1nip, _1niq, _1nir); }); }); }, _1ni3.prototype._attack = function(_1nj3, _1nj4, _1nj5) { var _1nj6 = null; _1nhv.SE.play('102'), this._damageEffect(_1nj3, _1nj4, _1nj5); }, _1ni3.prototype._damageEffect = function(_1nj7, _1nj8, _1nj9) { var _1nja = null; 1 == this._shields[_1nj9] && this._showShield(_1nj8[_1nj9]), _1nj8[_1nj9].moveAtDamage(this._shields[_1nj9]), this._playExplosion(_1nj8[_1nj9], this._damages[_1nj9]), this._playDamageEffect(_1nj7, _1nj8, _1nj9); }, _1ni3.prototype._showShield = function(_1njb) { var _1njc = null, _1njd = this._scene.view.bannerGroupLayer.getShieldTargetBanner(_1njb); this._scene.view.layer_damage.showShieldAtBanner(_1njd); }, _1ni3.prototype._playExplosion = function(_1nje, _1njf) { var _1njg = null, _1njh = _1nje.getGlobalPos(!0); this._scene.view.layer_explosion.playDamageExplosion(_1njh.x, _1njh.y, _1njf); }, _1ni3.prototype._playDamageEffect = function(_1nji, _1njj, _1njk) { var _1njl = null, _1njm = this; this._scene.view.layer_damage.showAtBanner(_1njj[_1njk], this._damages[_1njk], this._hits[_1njk]); var _1njn = createjs.Tween.get(null); _1njn.wait(200), _1njn.call(function() { var _1njo = null; if (_1njm._damage_cutin.causeDamage(_1njm._defenders[_1njk], _1njm._damages[_1njk]), _1njj[_1njk].updateHp(_1njm._defenders[_1njk].hp_now), _1njk + 1 >= _1njm._defenders.length) { for (var _1njp = 0; _1njp < _1njm._attackers.length; _1njp++) _1nji[_1njp].moveDefault(); } }), _1njk + 1 >= this._defenders.length ? (_1njn.wait(1000), _1njn.call(function() { var _1njq = null; _1njm._endTask(); })) : (_1njn.wait(150), _1njn.call(function() { var _1njr = null; _1njm._explosion(_1nji, _1njj, _1njk + 1); })); }, _1ni3.prototype._endTask = function() { var _1njs = null, _1njt = this; this._damage_cutin.start(function() { var _1nju = null; _1ni1.prototype._endTask.call(_1njt); }); }, _1ni3.prototype._log = function(_1njv) {}, _1ni3; }(_1nhw.TaskBase); _1nhb.PhaseMutsuAttack = _1ni0; }, 5582: function(_1njw, _1njx, _1njy) { 'use strict'; var _1njz = null; var _1nk0, _1nk1 = this && this.__extends || (_1nk0 = function(_1nk2, _1nk3) { var _1nk4 = null; return _1nk0 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1nk5, _1nk6) { var _1nk7 = null; _1nk5.__proto__ = _1nk6; } || function(_1nk8, _1nk9) { var _1nka = null; for (var _1nkb in _1nk9) Object.prototype.hasOwnProperty.call(_1nk9, _1nkb) && (_1nk8[_1nkb] = _1nk9[_1nkb]); }, _1nk0(_1nk2, _1nk3); }, function(_1nkc, _1nkd) { var _1nke = null; if ('function' != typeof _1nkd && null !== _1nkd) throw new TypeError('Class extends value ' + String(_1nkd) + ' is not a constructor or null'); function _1nkf() { var _1nkg = null; this.constructor = _1nkc; } _1nk0(_1nkc, _1nkd), _1nkc.prototype = null === _1nkd ? Object.create(_1nkd) : (_1nkf.prototype = _1nkd.prototype, new _1nkf()); }); defineModule(_1njx); Object.defineProperty(_1njx, '__esModule', { 'value': !0 }), _1njx.PhaseNagatoAttack = void 0; var _1nkh = _1njy(70723), _1nki = _1njy(81755), _1nkj = _1njy(66398), _1nkk = _1njy(6148), _1nkl = _1njy(50614), _1nkm = function(_1nkn) { var _1nko = null; function _1nkp(_1nkq, _1nkr, _1nks, _1nkt, _1nku) { var _1nkv = null, _1nkw = _1nkn.call(this) || this; return _1nkw._scene = _1nkq, _1nkw._attackers = [_1nkw._scene.data.model.deck_f.ships[0], _1nkw._scene.data.model.deck_f.ships[1]], _1nkw._defenders = _1nkr, _1nkw._hits = _1nkt, _1nkw._damages = _1nks, _1nkw._shields = _1nku, _1nkw._damage_cutin = new _1nkl.PhaseDamageCutin(_1nkq), _1nkw._cutin = new _1nkk.CutinNagatoAttack(_1nkw._attackers), _1nkw; } return _1nk1(_1nkp, _1nkn), _1nkp.prototype._start = function() { var _1nkx = null, _1nky = this; this._cutin.getPreloadTask().start(function() { var _1nkz = null; _1nky._completePreload(); }); }, _1nkp.prototype._completePreload = function() { var _1nl0 = null; for (var _1nl1 = this, _1nl2 = this._attackers[0].friend, _1nl3 = [], _1nl4 = [], _1nl5 = 0; _1nl5 < this._attackers.length; _1nl5++) { var _1nl6 = this._attackers[_1nl5].index, _1nl7 = this._scene.view.bannerGroupLayer.getBanner(!!_1nl2, _1nl6); _1nl3.push(_1nl7), _1nl7.moveFront(); } for (_1nl5 = 0; _1nl5 < this._defenders.length; _1nl5++) { var _1nl8 = this._defenders[_1nl5].index, _1nl9 = this._scene.view.bannerGroupLayer.getBanner(!_1nl2, _1nl8); _1nl4.push(_1nl9); } this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(function() { var _1nla = null; _1nl1._explosion(_1nl3, _1nl4, 0); }); }, _1nkp.prototype._explosion = function(_1nlb, _1nlc, _1nld) { var _1nle = null, _1nlf = this, _1nlg = _1nlc[_1nld].getGlobalPos(!0), _1nlh = Math.random() * _1nkj.BannerSize.W - _1nkj.BannerSize.W / 2, _1nli = Math.random() * _1nkj.BannerSize.H - _1nkj.BannerSize.H / 2, _1nlj = Math.random() * _1nkj.BannerSize.W - _1nkj.BannerSize.W / 2, _1nlk = Math.random() * _1nkj.BannerSize.H - _1nkj.BannerSize.H / 2; createjs.Tween.get(null).wait(200).call(function() { var _1nll = null; _1nlc[_1nld].moveAtDamage(_1nlf._shields[_1nld]), _1nlf._scene.view.layer_explosion.playDamageExplosion(_1nlg.x, _1nlg.y, _1nlf._damages[_1nld]); }).wait(150).call(function() { var _1nlm = null; _1nlf._scene.view.layer_explosion.playExplosionSmall(_1nlg.x + _1nlh, _1nlg.y + _1nli); }).wait(100).call(function() { var _1nln = null; _1nlf._scene.view.layer_explosion.playExplosionSmall(_1nlg.x + _1nlj, _1nlg.y + _1nlk, function() { var _1nlo = null; _1nlf._attack(_1nlb, _1nlc, _1nld); }); }); }, _1nkp.prototype._attack = function(_1nlp, _1nlq, _1nlr) { var _1nls = null; _1nkh.SE.play('102'), this._damageEffect(_1nlp, _1nlq, _1nlr); }, _1nkp.prototype._damageEffect = function(_1nlt, _1nlu, _1nlv) { var _1nlw = null; 1 == this._shields[_1nlv] && this._showShield(_1nlu[_1nlv]), _1nlu[_1nlv].moveAtDamage(this._shields[_1nlv]), this._playExplosion(_1nlu[_1nlv], this._damages[_1nlv]), this._playDamageEffect(_1nlt, _1nlu, _1nlv); }, _1nkp.prototype._showShield = function(_1nlx) { var _1nly = null, _1nlz = this._scene.view.bannerGroupLayer.getShieldTargetBanner(_1nlx); this._scene.view.layer_damage.showShieldAtBanner(_1nlz); }, _1nkp.prototype._playExplosion = function(_1nm0, _1nm1) { var _1nm2 = null, _1nm3 = _1nm0.getGlobalPos(!0); this._scene.view.layer_explosion.playDamageExplosion(_1nm3.x, _1nm3.y, _1nm1); }, _1nkp.prototype._playDamageEffect = function(_1nm4, _1nm5, _1nm6) { var _1nm7 = null, _1nm8 = this; this._scene.view.layer_damage.showAtBanner(_1nm5[_1nm6], this._damages[_1nm6], this._hits[_1nm6]); var _1nm9 = createjs.Tween.get(null); _1nm9.wait(200), _1nm9.call(function() { var _1nma = null; if (_1nm8._damage_cutin.causeDamage(_1nm8._defenders[_1nm6], _1nm8._damages[_1nm6]), _1nm5[_1nm6].updateHp(_1nm8._defenders[_1nm6].hp_now), _1nm6 + 1 >= _1nm8._defenders.length) { for (var _1nmb = 0; _1nmb < _1nm8._attackers.length; _1nmb++) _1nm4[_1nmb].moveDefault(); } }), _1nm6 + 1 >= this._defenders.length ? (_1nm9.wait(1000), _1nm9.call(function() { var _1nmc = null; _1nm8._endTask(); })) : (_1nm9.wait(150), _1nm9.call(function() { var _1nmd = null; _1nm8._explosion(_1nm4, _1nm5, _1nm6 + 1); })); }, _1nkp.prototype._endTask = function() { var _1nme = null, _1nmf = this; this._damage_cutin.start(function() { var _1nmg = null; _1nkn.prototype._endTask.call(_1nmf); }); }, _1nkp.prototype._log = function(_1nmh) {}, _1nkp; }(_1nki.TaskBase); _1njx.PhaseNagatoAttack = _1nkm; }, 35615: function(_1nmi, _1nmj, _1nmk) { 'use strict'; var _1nml = null; var _1nmm, _1nmn = this && this.__extends || (_1nmm = function(_1nmo, _1nmp) { var _1nmq = null; return _1nmm = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1nmr, _1nms) { var _1nmt = null; _1nmr.__proto__ = _1nms; } || function(_1nmu, _1nmv) { var _1nmw = null; for (var _1nmx in _1nmv) Object.prototype.hasOwnProperty.call(_1nmv, _1nmx) && (_1nmu[_1nmx] = _1nmv[_1nmx]); }, _1nmm(_1nmo, _1nmp); }, function(_1nmy, _1nmz) { var _1nn0 = null; if ('function' != typeof _1nmz && null !== _1nmz) throw new TypeError('Class extends value ' + String(_1nmz) + ' is not a constructor or null'); function _1nn1() { var _1nn2 = null; this.constructor = _1nmy; } _1nmm(_1nmy, _1nmz), _1nmy.prototype = null === _1nmz ? Object.create(_1nmz) : (_1nn1.prototype = _1nmz.prototype, new _1nn1()); }); defineModule(_1nmj); Object.defineProperty(_1nmj, '__esModule', { 'value': !0 }), _1nmj.PhaseNelsonTouch = void 0; var _1nn3 = _1nmk(70723), _1nn4 = _1nmk(81755), _1nn5 = _1nmk(66398), _1nn6 = _1nmk(425), _1nn7 = _1nmk(50614), _1nn8 = function(_1nn9) { var _1nna = null; function _1nnb(_1nnc, _1nnd, _1nne, _1nnf, _1nng) { var _1nnh = null, _1nni = _1nn9.call(this) || this; return _1nni._scene = _1nnc, _1nni._attackers = [_1nni._scene.data.model.deck_f.ships[0], _1nni._scene.data.model.deck_f.ships[2], _1nni._scene.data.model.deck_f.ships[4]], _1nni._defenders = _1nnd, _1nni._hits = _1nnf, _1nni._damages = _1nne, _1nni._shields = _1nng, _1nni._damage_cutin = new _1nn7.PhaseDamageCutin(_1nnc), _1nni._cutin = new _1nn6.CutinNelsonTouch(_1nni._attackers), _1nni; } return _1nmn(_1nnb, _1nn9), _1nnb.prototype._start = function() { var _1nnj = null, _1nnk = this; this._cutin.getPreloadTask().start(function() { var _1nnl = null; _1nnk._completePreload(); }); }, _1nnb.prototype._completePreload = function() { var _1nnm = null; for (var _1nnn = this, _1nno = this._attackers[0].friend, _1nnp = [], _1nnq = [], _1nnr = 0; _1nnr < this._attackers.length; _1nnr++) { var _1nns = this._attackers[_1nnr].index, _1nnt = this._scene.view.bannerGroupLayer.getBanner(!!_1nno, _1nns); _1nnp.push(_1nnt), _1nnt.moveFront(); } for (_1nnr = 0; _1nnr < this._defenders.length; _1nnr++) { var _1nnu = this._defenders[_1nnr].index, _1nnv = this._scene.view.bannerGroupLayer.getBanner(!_1nno, _1nnu); _1nnq.push(_1nnv); } this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(function() { var _1nnw = null; _1nnn._explosion(_1nnp, _1nnq, 0); }); }, _1nnb.prototype._explosion = function(_1nnx, _1nny, _1nnz) { var _1no0 = null, _1no1 = this, _1no2 = _1nny[_1nnz].getGlobalPos(!0), _1no3 = Math.random() * _1nn5.BannerSize.W - _1nn5.BannerSize.W / 2, _1no4 = Math.random() * _1nn5.BannerSize.H - _1nn5.BannerSize.H / 2, _1no5 = Math.random() * _1nn5.BannerSize.W - _1nn5.BannerSize.W / 2, _1no6 = Math.random() * _1nn5.BannerSize.H - _1nn5.BannerSize.H / 2; createjs.Tween.get(null).wait(200).call(function() { var _1no7 = null; _1nny[_1nnz].moveAtDamage(_1no1._shields[_1nnz]), _1no1._scene.view.layer_explosion.playDamageExplosion(_1no2.x, _1no2.y, _1no1._damages[_1nnz]); }).wait(150).call(function() { var _1no8 = null; _1no1._scene.view.layer_explosion.playExplosionSmall(_1no2.x + _1no3, _1no2.y + _1no4); }).wait(100).call(function() { var _1no9 = null; _1no1._scene.view.layer_explosion.playExplosionSmall(_1no2.x + _1no5, _1no2.y + _1no6, function() { var _1noa = null; _1no1._attack(_1nnx, _1nny, _1nnz); }); }); }, _1nnb.prototype._attack = function(_1nob, _1noc, _1nod) { var _1noe = null; _1nn3.SE.play('102'), this._damageEffect(_1nob, _1noc, _1nod); }, _1nnb.prototype._damageEffect = function(_1nof, _1nog, _1noh) { var _1noi = null; 1 == this._shields[_1noh] && this._showShield(_1nog[_1noh]), _1nog[_1noh].moveAtDamage(this._shields[_1noh]), this._playExplosion(_1nog[_1noh], this._damages[_1noh]), this._playDamageEffect(_1nof, _1nog, _1noh); }, _1nnb.prototype._showShield = function(_1noj) { var _1nok = null, _1nol = this._scene.view.bannerGroupLayer.getShieldTargetBanner(_1noj); this._scene.view.layer_damage.showShieldAtBanner(_1nol); }, _1nnb.prototype._playExplosion = function(_1nom, _1non) { var _1noo = null, _1nop = _1nom.getGlobalPos(!0); this._scene.view.layer_explosion.playDamageExplosion(_1nop.x, _1nop.y, _1non); }, _1nnb.prototype._playDamageEffect = function(_1noq, _1nor, _1nos) { var _1not = null, _1nou = this; this._scene.view.layer_damage.showAtBanner(_1nor[_1nos], this._damages[_1nos], this._hits[_1nos]); var _1nov = createjs.Tween.get(null); _1nov.wait(200), _1nov.call(function() { var _1now = null; if (_1nou._damage_cutin.causeDamage(_1nou._defenders[_1nos], _1nou._damages[_1nos]), _1nor[_1nos].updateHp(_1nou._defenders[_1nos].hp_now), _1nos + 1 >= _1nou._defenders.length) { for (var _1nox = 0; _1nox < _1nou._attackers.length; _1nox++) _1noq[_1nox].moveDefault(); } }), _1nos + 1 >= this._defenders.length ? (_1nov.wait(1000), _1nov.call(function() { var _1noy = null; _1nou._endTask(); })) : (_1nov.wait(150), _1nov.call(function() { var _1noz = null; _1nou._explosion(_1noq, _1nor, _1nos + 1); })); }, _1nnb.prototype._endTask = function() { var _1np0 = null, _1np1 = this; this._damage_cutin.start(function() { var _1np2 = null; _1nn9.prototype._endTask.call(_1np1); }); }, _1nnb.prototype._log = function(_1np3) {}, _1nnb; }(_1nn4.TaskBase); _1nmj.PhaseNelsonTouch = _1nn8; }, 22235: function(_1np4, _1np5, _1np6) { 'use strict'; var _1np7 = null; var _1np8, _1np9 = this && this.__extends || (_1np8 = function(_1npa, _1npb) { var _1npc = null; return _1np8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1npd, _1npe) { var _1npf = null; _1npd.__proto__ = _1npe; } || function(_1npg, _1nph) { var _1npi = null; for (var _1npj in _1nph) Object.prototype.hasOwnProperty.call(_1nph, _1npj) && (_1npg[_1npj] = _1nph[_1npj]); }, _1np8(_1npa, _1npb); }, function(_1npk, _1npl) { var _1npm = null; if ('function' != typeof _1npl && null !== _1npl) throw new TypeError('Class extends value ' + String(_1npl) + ' is not a constructor or null'); function _1npn() { var _1npo = null; this.constructor = _1npk; } _1np8(_1npk, _1npl), _1npk.prototype = null === _1npl ? Object.create(_1npl) : (_1npn.prototype = _1npl.prototype, new _1npn()); }), _1npp = this && this.__assign || function() { var _1npq = null; return _1npp = Object.assign || function(_1npr) { var _1nps = null; for (var _1npt, _1npu = 1, _1npv = arguments.length; _1npu < _1npv; _1npu++) for (var _1npw in _1npt = arguments[_1npu]) Object.prototype.hasOwnProperty.call(_1npt, _1npw) && (_1npr[_1npw] = _1npt[_1npw]); return _1npr; }, _1npp.apply(this, arguments); }; defineModule(_1np5); Object.defineProperty(_1np5, '__esModule', { 'value': !0 }), _1np5.PhaseSSAttack = void 0; var _1npx = _1np6(70723), _1npy = _1np6(81755), _1npz = _1np6(43136), _1nq0 = _1np6(50614), _1nq1 = function(_1nq2) { var _1nq3 = null; function _1nq4(_1nq5, _1nq6, _1nq7) { var _1nq8 = null, _1nq9 = _1nq2.call(this) || this; _1nq9._scene = _1nq5; var _1nqa = _1nq6[0], _1nqb = _1nq6[1], _1nqc = []; return _1nq7.forEach(function(_1nqd, _1nqe) { var _1nqf = null, _1nqg = _1npp(_1npp({}, _1nqd), { 'attacker': _1nqe % 2 == 0 ? _1nqa : _1nqb }); _1nqc.push(_1nqg); }), _1nq9._attack = _1nqc, _1nq9._damage_cutin = new _1nq0.PhaseDamageCutin(_1nq5), _1nq9._cutin = new _1npz.CutinSSAttack([_1nq9._scene.data.model.deck_f.ships[0], _1nqa, _1nqb]), _1nq9; } return _1np9(_1nq4, _1nq2), _1nq4.prototype._start = function() { var _1nqh = null, _1nqi = this; this._cutin.getPreloadTask().start(function() { var _1nqj = null; _1nqi._completePreload(); }); }, _1nq4.prototype._completePreload = function() { var _1nqk = null, _1nql = this; this._banners = new Array(); for (var _1nqm = 0, _1nqn = this._attack; _1nqm < _1nqn.length; _1nqm++) { var _1nqo = _1nqn[_1nqm], _1nqp = this._scene.view.bannerGroupLayer.getBanner(_1nqo.attacker); this._banners.push(_1nqp); } this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.view.once('attack', function() { var _1nqq = null; _1nql._move(); }), this._cutin.start(); }, _1nq4.prototype._move = function() { var _1nqr = null, _1nqs = this; this._banners.forEach(function(_1nqt, _1nqu) { var _1nqv = null; 0 == _1nqu ? _1nqt.moveShoot(function() { var _1nqw = null; _1nqs._shoot(); }) : _1nqt.moveShoot(); }); }, _1nq4.prototype._shoot = function() { var _1nqx = null, _1nqy = this; _1npx.SE.play('112'); for (var _1nqz = 0, _1nr0 = this._attack; _1nqz < _1nr0.length; _1nqz++) { var _1nr1 = _1nr0[_1nqz]; this._shootBase(_1nr1, 1900, null); } createjs.Tween.get(null).wait(1900).call(function() { var _1nr2 = null; _1nqy._damageEffect(); }); }, _1nq4.prototype._shootBase = function(_1nr3, _1nr4, _1nr5) { var _1nr6 = null, _1nr7 = this._scene.view.bannerGroupLayer.getBanner(_1nr3.attacker), _1nr8 = this._scene.view.bannerGroupLayer.getBanner(_1nr3.defender), _1nr9 = _1nr7.getGlobalPos(!0), _1nra = _1nr8.getGlobalPos(!0); this._scene.view.layer_torpedo.playTorpedo(_1nr9, _1nra, _1nr4, function() { null != _1nr5 && _1nr5(); }); }, _1nq4.prototype._damageEffect = function() { var _1nrb = null; for (var _1nrc = this, _1nrd = {}, _1nre = 0, _1nrf = this._attack; _1nre < _1nrf.length; _1nre++) { var _1nrg = _1nrf[_1nre], _1nrh = _1nrg.defender.index; if (null == _1nrd[_1nrh]) _1nrd[_1nrh] = { 'damage': _1nrg.damage, 'hit': _1nrg.hit, 'shield': _1nrg.shield }; else(_1nri = _1nrd[_1nrh]).damage += _1nrg.damage, 2 == _1nri.hit || 2 == _1nrg.hit ? _1nri.hit = 2 : 1 == _1nri.hit || 1 == _1nrg.hit ? _1nri.hit = 1 : _1nri.hit = 0; } for (var _1nrj = 0, _1nrk = this._scene.data.model.deck_e.ships; _1nrj < _1nrk.length; _1nrj++) { var _1nri, _1nrl = _1nrk[_1nrj]; if (null != _1nrl) null != (_1nri = _1nrd[_1nrl.index]) && this._damageBase(_1nrl, _1nri); } if (this._attack.some(function(_1nrm) { var _1nrn = null; return 1 == _1nrm.shield; })) { var _1nro = this._scene.view.bannerGroupLayer.getBanner(!1, 0); this._scene.view.layer_damage.showShieldAtBanner(_1nro); } createjs.Tween.get(null).wait(500).call(function() { var _1nrp = null; _1nrc._showDamageNumber(_1nrd); }); }, _1nq4.prototype._damageBase = function(_1nrq, _1nrr) { var _1nrs = null; 1 == this._scene.data.model.isPractice() && (_1nrr.damage = Math.min(_1nrr.damage, _1nrq.hp_now - 1)); var _1nrt = this._scene.view.bannerGroupLayer.getBanner(_1nrq), _1nru = _1nrt.getGlobalPos(!0); this._scene.view.layer_torpedo.playTorpedoWaterColumn(_1nrt), this._scene.view.layer_explosion.playDamageExplosion(_1nru.x, _1nru.y, _1nrr.damage), _1nrt.moveAtDamage(_1nrr.shield); }, _1nq4.prototype._showDamageNumber = function(_1nrv) { var _1nrw = null, _1nrx = this; this._showDamageBase(this._scene.data.model.deck_e.ships, _1nrv), createjs.Tween.get(null).wait(400).call(function() { var _1nry = null; _1nrx._endTask(); }); }, _1nq4.prototype._endTask = function() { var _1nrz = null, _1ns0 = this; this._damage_cutin.start(function() { var _1ns1 = null; _1nq2.prototype._endTask.call(_1ns0); }); }, _1nq4.prototype._showDamageBase = function(_1ns2, _1ns3) { var _1ns4 = null; for (var _1ns5 = 0, _1ns6 = _1ns2; _1ns5 < _1ns6.length; _1ns5++) { var _1ns7 = _1ns6[_1ns5]; if (null != _1ns7) { var _1ns8 = _1ns3[_1ns7.index]; if (null != _1ns8) { var _1ns9 = this._scene.view.bannerGroupLayer.getBanner(_1ns7); this._scene.view.layer_damage.showAtBanner(_1ns9, _1ns8.damage, _1ns8.hit), this._damage_cutin.causeDamage(_1ns7, _1ns8.damage), _1ns9.updateHp(_1ns7.hp_now); } } } }, _1nq4.prototype._log = function(_1nsa) {}, _1nq4; }(_1npy.TaskBase); _1np5.PhaseSSAttack = _1nq1; }, 61071: function(_1nsb, _1nsc, _1nsd) { 'use strict'; var _1nse = null; var _1nsf, _1nsg = this && this.__extends || (_1nsf = function(_1nsh, _1nsi) { var _1nsj = null; return _1nsf = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1nsk, _1nsl) { var _1nsm = null; _1nsk.__proto__ = _1nsl; } || function(_1nsn, _1nso) { var _1nsp = null; for (var _1nsq in _1nso) Object.prototype.hasOwnProperty.call(_1nso, _1nsq) && (_1nsn[_1nsq] = _1nso[_1nsq]); }, _1nsf(_1nsh, _1nsi); }, function(_1nsr, _1nss) { var _1nst = null; if ('function' != typeof _1nss && null !== _1nss) throw new TypeError('Class extends value ' + String(_1nss) + ' is not a constructor or null'); function _1nsu() { var _1nsv = null; this.constructor = _1nsr; } _1nsf(_1nsr, _1nss), _1nsr.prototype = null === _1nss ? Object.create(_1nss) : (_1nsu.prototype = _1nss.prototype, new _1nsu()); }); defineModule(_1nsc); Object.defineProperty(_1nsc, '__esModule', { 'value': !0 }), _1nsc.PhaseYamatoAttack = void 0; var _1nsw = _1nsd(70723), _1nsx = _1nsd(81755), _1nsy = _1nsd(66398), _1nsz = _1nsd(50614), _1nt0 = _1nsd(43367), _1nt1 = function(_1nt2) { var _1nt3 = null; function _1nt4(_1nt5, _1nt6, _1nt7, _1nt8, _1nt9, _1nta) { var _1ntb = null, _1ntc = _1nt2.call(this) || this; return _1ntc._scene = _1nt5, _1ntc._attackers = _1nt6, _1ntc._defenders = _1nt7, _1ntc._hits = _1nt9, _1ntc._damages = _1nt8, _1ntc._shields = _1nta, _1ntc._damage_cutin = new _1nsz.PhaseDamageCutin(_1nt5), _1ntc._cutin = new _1nt0.CutinYamatoAttack(_1ntc._attackers), _1ntc; } return _1nsg(_1nt4, _1nt2), _1nt4.prototype._start = function() { var _1ntd = null; this._completePreload(); }, _1nt4.prototype._completePreload = function() { var _1nte = null; for (var _1ntf = this, _1ntg = this._attackers[0].friend, _1nth = [], _1nti = [], _1ntj = 0; _1ntj < this._attackers.length; _1ntj++) { var _1ntk = this._attackers[_1ntj]; if (null != _1ntk) { var _1ntl = _1ntk.index, _1ntm = this._scene.view.bannerGroupLayer.getBanner(!!_1ntg, _1ntl); _1nth.push(_1ntm), _1ntm.moveFront(); } } for (_1ntj = 0; _1ntj < this._defenders.length; _1ntj++) { var _1ntn = this._defenders[_1ntj].index, _1nto = this._scene.view.bannerGroupLayer.getBanner(!_1ntg, _1ntn); _1nti.push(_1nto); } this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(function() { var _1ntp = null; _1ntf._explosion(_1nth, _1nti, 0); }); }, _1nt4.prototype._explosion = function(_1ntq, _1ntr, _1nts) { var _1ntt = null, _1ntu = this, _1ntv = _1ntr[_1nts].getGlobalPos(!0), _1ntw = Math.random() * _1nsy.BannerSize.W - _1nsy.BannerSize.W / 2, _1ntx = Math.random() * _1nsy.BannerSize.H - _1nsy.BannerSize.H / 2, _1nty = Math.random() * _1nsy.BannerSize.W - _1nsy.BannerSize.W / 2, _1ntz = Math.random() * _1nsy.BannerSize.H - _1nsy.BannerSize.H / 2; createjs.Tween.get(null).wait(200).call(function() { var _1nu0 = null; _1ntr[_1nts].moveAtDamage(_1ntu._shields[_1nts]), _1ntu._scene.view.layer_explosion.playDamageExplosion(_1ntv.x, _1ntv.y, _1ntu._damages[_1nts]); }).wait(150).call(function() { var _1nu1 = null; _1ntu._scene.view.layer_explosion.playExplosionSmall(_1ntv.x + _1ntw, _1ntv.y + _1ntx); }).wait(100).call(function() { var _1nu2 = null; _1ntu._scene.view.layer_explosion.playExplosionSmall(_1ntv.x + _1nty, _1ntv.y + _1ntz, function() { var _1nu3 = null; _1ntu._attack(_1ntq, _1ntr, _1nts); }); }); }, _1nt4.prototype._attack = function(_1nu4, _1nu5, _1nu6) { var _1nu7 = null; _1nsw.SE.play('102'), this._damageEffect(_1nu4, _1nu5, _1nu6); }, _1nt4.prototype._damageEffect = function(_1nu8, _1nu9, _1nua) { var _1nub = null; 1 == this._shields[_1nua] && this._showShield(_1nu9[_1nua]), _1nu9[_1nua].moveAtDamage(this._shields[_1nua]), this._playExplosion(_1nu9[_1nua], this._damages[_1nua]), this._playDamageEffect(_1nu8, _1nu9, _1nua); }, _1nt4.prototype._showShield = function(_1nuc) { var _1nud = null, _1nue = this._scene.view.bannerGroupLayer.getShieldTargetBanner(_1nuc); this._scene.view.layer_damage.showShieldAtBanner(_1nue); }, _1nt4.prototype._playExplosion = function(_1nuf, _1nug) { var _1nuh = null, _1nui = _1nuf.getGlobalPos(!0); this._scene.view.layer_explosion.playDamageExplosion(_1nui.x, _1nui.y, _1nug); }, _1nt4.prototype._playDamageEffect = function(_1nuj, _1nuk, _1nul) { var _1num = null, _1nun = this; this._scene.view.layer_damage.showAtBanner(_1nuk[_1nul], this._damages[_1nul], this._hits[_1nul]); var _1nuo = createjs.Tween.get(null); _1nuo.wait(200), _1nuo.call(function() { var _1nup = null; if (_1nun._damage_cutin.causeDamage(_1nun._defenders[_1nul], _1nun._damages[_1nul]), _1nuk[_1nul].updateHp(_1nun._defenders[_1nul].hp_now), _1nul + 1 >= _1nun._defenders.length) { for (var _1nuq = 0; _1nuq < _1nun._attackers.length; _1nuq++) _1nuj[_1nuq].moveDefault(); } }), _1nul + 1 >= this._defenders.length ? (_1nuo.wait(1000), _1nuo.call(function() { var _1nur = null; _1nun._endTask(); })) : (_1nuo.wait(150), _1nuo.call(function() { var _1nus = null; _1nun._explosion(_1nuj, _1nuk, _1nul + 1); })); }, _1nt4.prototype._endTask = function() { var _1nut = null, _1nuu = this; this._damage_cutin.start(function() { var _1nuv = null; _1nt2.prototype._endTask.call(_1nuu); }); }, _1nt4.prototype._log = function(_1nuw) {}, _1nt4; }(_1nsx.TaskBase); _1nsc.PhaseYamatoAttack = _1nt1; }, 8865: function(_1nux, _1nuy, _1nuz) { 'use strict'; var _1nv0 = null; var _1nv1, _1nv2 = this && this.__extends || (_1nv1 = function(_1nv3, _1nv4) { var _1nv5 = null; return _1nv1 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1nv6, _1nv7) { var _1nv8 = null; _1nv6.__proto__ = _1nv7; } || function(_1nv9, _1nva) { var _1nvb = null; for (var _1nvc in _1nva) Object.prototype.hasOwnProperty.call(_1nva, _1nvc) && (_1nv9[_1nvc] = _1nva[_1nvc]); }, _1nv1(_1nv3, _1nv4); }, function(_1nvd, _1nve) { var _1nvf = null; if ('function' != typeof _1nve && null !== _1nve) throw new TypeError('Class extends value ' + String(_1nve) + ' is not a constructor or null'); function _1nvg() { var _1nvh = null; this.constructor = _1nvd; } _1nv1(_1nvd, _1nve), _1nvd.prototype = null === _1nve ? Object.create(_1nve) : (_1nvg.prototype = _1nve.prototype, new _1nvg()); }), _1nvi = this && this.__importDefault || function(_1nvj) { var _1nvk = null; return _1nvj && _1nvj.__esModule ? _1nvj : { 'default': _1nvj }; }; defineModule(_1nuy); Object.defineProperty(_1nuy, '__esModule', { 'value': !0 }), _1nuy.PhaseZRK = void 0; var _1nvl = _1nvi(_1nuz(18622)), _1nvm = _1nuz(66398), _1nvn = _1nuz(70723), _1nvo = _1nuz(7438), _1nvp = function(_1nvq) { var _1nvr = null; function _1nvs(_1nvt, _1nvu, _1nvv, _1nvw, _1nvx, _1nvy, _1nvz, _1nw0) { var _1nw1 = null, _1nw2 = _1nvq.call(this, _1nvt, _1nvu, _1nvw, _1nvy, _1nvz, _1nw0) || this; _1nw2._onCallAttackEffect = function() { var _1nw3 = null, _1nw4 = _1nw2._getDamage(_1nw2._defender), _1nw5 = _1nw2._defenderBanner.getGlobalPos(!0), _1nw6 = Math.random() * _1nvm.BannerSize.W - _1nvm.BannerSize.W / 2, _1nw7 = Math.random() * _1nvm.BannerSize.H - _1nvm.BannerSize.H / 2, _1nw8 = Math.random() * _1nvm.BannerSize.W - _1nvm.BannerSize.W / 2, _1nw9 = Math.random() * _1nvm.BannerSize.H - _1nvm.BannerSize.H / 2; createjs.Tween.get(null).call(function() { var _1nwa = null; _1nw2._defenderBanner.moveAtDamage(_1nw2._shield), _1nw2._scene.view.layer_explosion.playDamageExplosion(_1nw5.x, _1nw5.y, _1nw4); }).wait(150).call(function() { var _1nwb = null; _1nw2._scene.view.layer_explosion.playExplosionSmall(_1nw5.x + _1nw6, _1nw5.y + _1nw7); }).wait(100).call(function() { var _1nwc = null; _1nw2._scene.view.layer_explosion.playExplosionSmall(_1nw5.x + _1nw8, _1nw5.y + _1nw9, function() { var _1nwd = null; _1nw2._attack(_1nw2._attackerBanner, _1nw2._defenderBanner); }); }); }, _1nw2._finallize = function() { var _1nwe = null; _1nw2._cutin.dispose(), _1nw2._cutin = null, _1nw2._attackerBanner = null, _1nw2._defenderBanner = null, _1nw2._endTask(); }; var _1nwf, _1nwg, _1nwh = _1nw2._slot.mstID, _1nwi = _1nvl.default.model.slot.getMst(_1nvx).mstID, _1nwj = new _1nvo.CutinZRK(_1nvu, _1nwh, _1nwi), _1nwk = _1nvu.friend, _1nwl = _1nvu.index, _1nwm = _1nvv.index; return _1nwk ? (_1nwf = _1nvt.view.bannerGroupLayer.getBanner(!0, _1nwl), _1nwg = _1nvt.view.bannerGroupLayer.getBanner(!1, _1nwm)) : (_1nwf = _1nvt.view.bannerGroupLayer.getBanner(!1, _1nwl), _1nwg = _1nvt.view.bannerGroupLayer.getBanner(!0, _1nwm)), _1nwj.onCallAttackEffect = _1nw2._onCallAttackEffect, _1nwj.onCallAttackVoice = _1nw2._playVoice, _1nw2._attackerBanner = _1nwf, _1nw2._defenderBanner = _1nwg, _1nw2._cutin = _1nwj, _1nw2._defender = _1nvv, _1nw2._debug_slot_mst_id3 = _1nvx, _1nw2; } return _1nv2(_1nvs, _1nvq), _1nvs.prototype._start = function() { var _1nwn = null, _1nwo = this; this._cutin.getPreloadTask().start(function() { var _1nwp = null; _1nwo._completePreload(); }); }, _1nvs.prototype._playVoice = function() { var _1nwq = null; if (this._attacker.friend) { var _1nwr = this._attacker.mst_id; _1nvl.default.sound.voice.play(_1nwr.toString(), 16); } }, _1nvs.prototype._log = function(_1nws) {}, _1nvs.prototype._completePreload = function() { var _1nwt = null; this._attackerBanner.moveFront(), this._defenderBanner.moveFront(), this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(); }, _1nvs.prototype._attack = function(_1nwu, _1nwv) { var _1nww = null, _1nwx = this; _1nvn.SE.play('102'), _1nwu.attack(function() { var _1nwy = null; _1nwx._damageEffect(_1nwu, _1nwv); }); }, _1nvs.prototype._damageEffect = function(_1nwz, _1nx0) { var _1nx1 = null, _1nx2 = this; 1 == this._shield && this._showShield(_1nx0), _1nx0.moveAtDamage(this._shield); var _1nx3 = this._getDamage(this._defender); this._playExplosion(_1nx0, _1nx3), this._playDamageEffect(_1nwz, _1nx0, this._defender, _1nx3, this._hit, function() { var _1nx4 = null; return _1nx2._finallize(); }); }, _1nvs; }(_1nuz(58262).PhaseAttackBase); _1nuy.PhaseZRK = _1nvp; }, 69110: function(_1nx5, _1nx6, _1nx7) { 'use strict'; var _1nx8 = null; var _1nx9, _1nxa = this && this.__extends || (_1nx9 = function(_1nxb, _1nxc) { var _1nxd = null; return _1nx9 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1nxe, _1nxf) { var _1nxg = null; _1nxe.__proto__ = _1nxf; } || function(_1nxh, _1nxi) { var _1nxj = null; for (var _1nxk in _1nxi) Object.prototype.hasOwnProperty.call(_1nxi, _1nxk) && (_1nxh[_1nxk] = _1nxi[_1nxk]); }, _1nx9(_1nxb, _1nxc); }, function(_1nxl, _1nxm) { var _1nxn = null; if ('function' != typeof _1nxm && null !== _1nxm) throw new TypeError('Class extends value ' + String(_1nxm) + ' is not a constructor or null'); function _1nxo() { var _1nxp = null; this.constructor = _1nxl; } _1nx9(_1nxl, _1nxm), _1nxl.prototype = null === _1nxm ? Object.create(_1nxm) : (_1nxo.prototype = _1nxm.prototype, new _1nxo()); }), _1nxq = this && this.__importDefault || function(_1nxr) { var _1nxs = null; return _1nxr && _1nxr.__esModule ? _1nxr : { 'default': _1nxr }; }; defineModule(_1nx6); Object.defineProperty(_1nx6, '__esModule', { 'value': !0 }), _1nx6.PhaseZuiunNightAttack = void 0; var _1nxt = _1nx7(70723), _1nxu = _1nx7(81755), _1nxv = _1nx7(66398), _1nxw = _1nx7(50614), _1nxx = _1nx7(93634), _1nxy = _1nxq(_1nx7(18622)), _1nxz = _1nx7(58396), _1ny0 = _1nx7(5527), _1ny1 = _1nx7(87475), _1ny2 = _1nx7(54011), _1ny3 = _1nx7(87090), _1ny4 = function(_1ny5) { var _1ny6 = null; function _1ny7(_1ny8, _1ny9, _1nya, _1nyb, _1nyc, _1nyd, _1nye) { var _1nyf = null, _1nyg = _1ny5.call(this) || this; return _1nyg._scene = _1ny8, _1nyg._attacker = _1ny9, _1nyg._slot1 = _1nxy.default.model.slot.getMst(_1nyb[0]), _1nyg._slot2 = _1nxy.default.model.slot.getMst(_1nyb[1]), _1nyg._slot3 = _1nxy.default.model.slot.getMst(_1nyb[2]), _1nyg._defenders = _1nya, _1nyg._hits = _1nyd, _1nyg._damages = _1nyg._getDamages(_1nyc, _1nya), _1nyg._shields = _1nye, _1nyg._damage_cutin = new _1nxw.PhaseDamageCutin(_1ny8), _1nyg._cutin = new _1nxx.CutinZuiunNight(), _1nyg._trio = new _1nxz.PlaneTrio(_1ny9.friend), _1nyg; } return _1nxa(_1ny7, _1ny5), _1ny7.prototype._getDamages = function(_1nyh, _1nyi) { var _1nyj = null; return 1 == this._scene.data.model.isPractice() ? _1nyh.map(function(_1nyk, _1nyl) { var _1nym = null, _1nyn; return Math.min(_1nyk, (null === (_1nyn = _1nyi[_1nyl]) || void 0 === _1nyn ? void 0 : _1nyn.hp_now) - 1); }) : _1nyh; }, _1ny7.prototype._start = function() { var _1nyo = null, _1nyp = this; this._cutin.preload(this._attacker, this._slot1, this._slot2, this._slot3, function() { var _1nyq = null; _1nyp._completePreload(); }); }, _1ny7.prototype._completePreload = function() { var _1nyr = null, _1nys = this, _1nyt = this._attacker.friend, _1nyu = [], _1nyv = this._attacker.index, _1nyw = this._scene.view.bannerGroupLayer.getBanner(!!_1nyt, _1nyv); _1nyw.moveFront(); for (var _1nyx = 0; _1nyx < this._defenders.length; _1nyx++) { var _1nyy = this._defenders[_1nyx].index, _1nyz = this._scene.view.bannerGroupLayer.getBanner(!_1nyt, _1nyy); _1nyu.push(_1nyz); } this._scene.view.layer_cutin.addChild(this._cutin.view), this._cutin.start(function() { var _1nz0 = null; _1nys._createPlane(_1nyw), _1nys._attack(_1nyw, _1nyu, 0); }), this._cutin.view.once('attack', function() { var _1nz1 = null; _1nys._playVoice(); }); }, _1ny7.prototype._playVoice = function() { var _1nz2 = null; if (this._attacker.friend) { var _1nz3 = this._attacker.mst_id, _1nz4 = 17; 432 != _1nz3 && 353 != _1nz3 || (_1nz4 = 917), _1nxy.default.sound.voice.play(_1nz3.toString(), _1nz4); } }, _1ny7.prototype._explosion = function(_1nz5, _1nz6, _1nz7) { var _1nz8 = null, _1nz9 = this, _1nza = _1nz6[_1nz7].getGlobalPos(!0), _1nzb = Math.random() * _1nxv.BannerSize.W - _1nxv.BannerSize.W / 2, _1nzc = Math.random() * _1nxv.BannerSize.H - _1nxv.BannerSize.H / 2, _1nzd = Math.random() * _1nxv.BannerSize.W - _1nxv.BannerSize.W / 2, _1nze = Math.random() * _1nxv.BannerSize.H - _1nxv.BannerSize.H / 2; createjs.Tween.get(null).wait(200).call(function() { var _1nzf = null; _1nz6[_1nz7].moveAtDamage(_1nz9._shields[_1nz7]), _1nz9._scene.view.layer_explosion.playDamageExplosion(_1nza.x, _1nza.y, _1nz9._damages[_1nz7]); }).wait(150).call(function() { var _1nzg = null; _1nz9._scene.view.layer_explosion.playExplosionSmall(_1nza.x + _1nzb, _1nza.y + _1nzc); }).wait(100).call(function() { var _1nzh = null; _1nz9._scene.view.layer_explosion.playExplosionSmall(_1nza.x + _1nzd, _1nza.y + _1nze, function() { var _1nzi = null; _1nxt.SE.play('102'), _1nz9._damageEffect(_1nz5, _1nz6, _1nz7); }); }); }, _1ny7.prototype._attack = function(_1nzj, _1nzk, _1nzl) { var _1nzm = null, _1nzn = this, _1nzo = this._scene.view.layer_content, _1nzp = _1nzk[0].getGlobalPos(!0); new _1nzq(_1nzo, this._trio, _1nzp, _1nzj.friend).start(function() { var _1nzr = null; _1nzn._explosion(_1nzj, _1nzk, _1nzl); }); }, _1ny7.prototype._createPlane = function(_1nzs) { var _1nzt = null, _1nzu = _1nzs.getGlobalPos(!0); this._trio.x = _1nzu.x, this._trio.y = _1nzu.y, this._trio.addPlane(this._slot1.mstID); }, _1ny7.prototype._damageEffect = function(_1nzv, _1nzw, _1nzx) { var _1nzy = null; 1 == this._shields[_1nzx] && this._showShield(_1nzw[_1nzx]), _1nzw[_1nzx].moveAtDamage(this._shields[_1nzx]), this._playExplosion(_1nzw[_1nzx], this._damages[_1nzx]), this._playDamageEffect(_1nzv, _1nzw, _1nzx); }, _1ny7.prototype._showShield = function(_1nzz) { var _1o00 = null, _1o01 = this._scene.view.bannerGroupLayer.getShieldTargetBanner(_1nzz); this._scene.view.layer_damage.showShieldAtBanner(_1o01); }, _1ny7.prototype._playExplosion = function(_1o02, _1o03) { var _1o04 = null, _1o05 = _1o02.getGlobalPos(!0); this._scene.view.layer_explosion.playDamageExplosion(_1o05.x, _1o05.y, _1o03); }, _1ny7.prototype._playDamageEffect = function(_1o06, _1o07, _1o08) { var _1o09 = null, _1o0a = this; this._scene.view.layer_damage.showAtBanner(_1o07[_1o08], this._damages[_1o08], this._hits[_1o08]); var _1o0b = createjs.Tween.get(null); _1o0b.wait(200), _1o0b.call(function() { var _1o0c = null; _1o0a._damage_cutin.causeDamage(_1o0a._defenders[_1o08], _1o0a._damages[_1o08]), _1o07[_1o08].updateHp(_1o0a._defenders[_1o08].hp_now), _1o08 + 1 >= _1o0a._defenders.length && _1o06.moveDefault(); }), _1o08 + 1 >= this._defenders.length ? (_1o0b.wait(1000), _1o0b.call(function() { var _1o0d = null; _1o0a._endTask(); })) : (_1o0b.wait(150), _1o0b.call(function() { var _1o0e = null; _1o0a._explosion(_1o06, _1o07, _1o08 + 1); })); }, _1ny7.prototype._endTask = function() { var _1o0f = null, _1o0g = this; this._damage_cutin.start(function() { var _1o0h = null; _1ny5.prototype._endTask.call(_1o0g); }); }, _1ny7.prototype._log = function(_1o0i) {}, _1ny7; }(_1nxu.TaskBase); _1nx6.PhaseZuiunNightAttack = _1ny4; var _1nzq = function(_1o0j) { var _1o0k = null; function _1o0l(_1o0m, _1o0n, _1o0o, _1o0p) { var _1o0q = null, _1o0r = _1o0j.call(this) || this; return _1o0r._onComplete = function() { var _1o0s = null; _1o0r._layer.removeChild(_1o0r._planes), _1o0r._planes.stopFluctuations(), _1o0r._planes.dispose(), _1o0r._endTask(); }, _1o0r._layer = _1o0m, _1o0r._planes = _1o0n, _1o0r._to_pos = _1o0o, _1o0r._friend = _1o0p, _1o0r; } return _1nxa(_1o0l, _1o0j), _1o0l.prototype._start = function() { var _1o0t = null, _1o0u = this; this._planes.startFluctuations(), this._planes.scale.set(0), this._layer.addChild(this._planes), _1nxt.SE.play('115'), createjs.Tween.get(this._planes.scale).to({ 'x': 1, 'y': 1 }, 180).call(function() { var _1o0v = null, _1o0w = _1o0u._to_pos, _1o0x = _1o0u._planes.friend ? 1275 : -75; _1o0u._planes.play(_1o0w, _1o0x, 1600, null, _1o0u._onComplete), createjs.Tween.get(null).wait(800).call(function() { var _1o0y = null; _1o0u._flareAnimation(_1o0u._friend); }); }); }, _1o0l.prototype._flareAnimation = function(_1o0z) { var _1o10 = null, _1o11, _1o12 = new _1ny0.ParallelTask(), _1o13 = this._layer; _1o12.add(new _1o14(_1o13)), _1o0z ? (_1o11 = new PIXI.Point(855, 255), _1o12.add(new _1o15(_1o13, _1o11))) : (_1o11 = new PIXI.Point(345, 150), _1o12.add(new _1o15(_1o13, _1o11))), _1o12.start(function() {}); }, _1o0l.prototype._endTask = function() { var _1o16 = null; this._layer = null, this._planes = null, this._to_pos = null, _1o0j.prototype._endTask.call(this); }, _1o0l; }(_1nxu.TaskBase), _1o15 = function(_1o17) { var _1o18 = null; function _1o19(_1o1a, _1o1b) { var _1o1c = null, _1o1d = _1o17.call(this) || this; return _1o1d._layer = _1o1a, _1o1d._canvas = new _1o1e(), _1o1d._canvas.position.set(_1o1b.x, _1o1b.y), _1o1d; } return _1nxa(_1o19, _1o17), _1o19.prototype._start = function() { var _1o1f = null; this._layer.addChild(this._canvas); var _1o1g = this._canvas; _1o1g.fall1.alpha = 0, _1o1g.fall2.alpha = 0, _1o1g.initialize(), this._fall(); }, _1o19.prototype._fall = function() { var _1o1h = null, _1o1i = this; this._canvas.fall1.activate(), createjs.Tween.get(this._canvas.fall1).to({ 'x': 5, 'y': 3, 'alpha': 1 }, 100).to({ 'x': -5, 'y': 206 }, 1500).to({ 'x': -9, 'y': 270, 'alpha': 0 }, 500), this._canvas.fall2.activate(), createjs.Tween.get(this._canvas.fall2).to({ 'x': -102, 'y': -14, 'alpha': 1 }, 100).to({ 'x': -122, 'y': 180 }, 1500).to({ 'x': -128, 'y': 242, 'alpha': 0 }, 500).call(function() { var _1o1j = null; _1o1i._endTask(); }); }, _1o19.prototype._endTask = function() { var _1o1k = null; this._layer.removeChild(this._canvas), this._canvas.dispose(), _1o17.prototype._endTask.call(this); }, _1o19; }(_1nxu.TaskBase), _1o1e = function(_1o1l) { var _1o1m = null; function _1o1n() { var _1o1o = null, _1o1p = _1o1l.call(this) || this; return _1o1p._fall1 = new _1o1q(), _1o1p._fall1.position.set(6, -15), _1o1p._fall2 = new _1o1q(), _1o1p._fall2.position.set(-101, -30), _1o1p.addChild(_1o1p._fall1), _1o1p.addChild(_1o1p._fall2), _1o1p; } return _1nxa(_1o1n, _1o1l), Object.defineProperty(_1o1n.prototype, 'fall1', { 'get': function() { var _1o1r = null; return this._fall1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1o1n.prototype, 'fall2', { 'get': function() { var _1o1s = null; return this._fall2; }, 'enumerable': !1, 'configurable': !0 }), _1o1n.prototype.initialize = function() { var _1o1t = null; this._fall1.initialize(), this._fall2.initialize(); }, _1o1n.prototype.dispose = function() { var _1o1u = null; this.fall1.deactivate(), this.fall2.deactivate(), this._fall1 = null, this._fall2 = null, this.removeChildren(); }, _1o1n; }(PIXI.Container), _1o14 = function(_1o1v) { var _1o1w = null; function _1o1x(_1o1y) { var _1o1z = null, _1o20 = _1o1v.call(this) || this; return _1o20._layer = _1o1y, _1o20; } return _1nxa(_1o1x, _1o1v), _1o1x.prototype._start = function() { var _1o21 = null, _1o22 = this, _1o23 = new _1ny1.FadeBox(0.5, 16777215); _1o23.hide(0), this._layer.addChild(_1o23), _1o23.show(170, function() { var _1o24 = null; _1o23.hide(170, function() { var _1o25 = null; _1o22._layer.removeChild(_1o23), _1o22._endTask(); }); }); }, _1o1x; }(_1nxu.TaskBase), _1o1q = function(_1o26) { var _1o27 = null; function _1o28() { var _1o29 = null, _1o2a = _1o26.call(this) || this; return _1o2a._onChange = function() { var _1o2b = null; _1o2a._flare.x = _1o2a._amp * Math.sin(_1o2a._timer / 13 + _1o2a._init), _1o2a._timer++; }, _1o2a._glow_light = new PIXI.Sprite(), _1o2a._glow_light.anchor.set(0.5), _1o2a._glow_light.scale.set(5.4), _1o2a._glow_light.alpha = 0.2, _1o2a._flare = new _1o2c(), _1o2a._flare.scale.set(0.625), _1o2a.addChild(_1o2a._glow_light), _1o2a.addChild(_1o2a._flare), _1o2a.rotation = 5.6 / 180 * Math.PI, _1o2a; } return _1nxa(_1o28, _1o26), Object.defineProperty(_1o28.prototype, 'flare', { 'get': function() { var _1o2d = null; return this._flare; }, 'enumerable': !1, 'configurable': !0 }), _1o28.prototype.initialize = function() { var _1o2e = null; this._glow_light.texture = _1ny3.BATTLE_NIGHT.getTexture(6), this._flare.texture = _1ny3.BATTLE_NIGHT.getTexture(0); }, _1o28.prototype.activate = function() { var _1o2f = null; null == this._t && (this._amp = 18 + 3 * Math.random(), this._init = 15 + 5 * Math.random(), this._timer = 0, this._t = createjs.Tween.get(this._flare, { 'loop': !0, 'onChange': this._onChange }).to({ 'scaleX': 0.48, 'scaleY': 0.48, 'alpha': 0.7 }, 300).to({ 'scaleX': 0.625, 'scaleY': 0.625 }, 200)); }, _1o28.prototype.deactivate = function() { var _1o2g = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _1o28; }(PIXI.Container), _1o2c = function(_1o2h) { var _1o2i = null; function _1o2j() { var _1o2k = null, _1o2l = _1o2h.call(this) || this; return _1o2l.anchor.set(0.5), _1o2l; } return _1nxa(_1o2j, _1o2h), _1o2j.prototype.initialize = function() { var _1o2m = null; this.texture = _1ny3.BATTLE_NIGHT.getTexture(0); }, _1o2j; }(_1ny2.Sprite); }, 16215: function(_1o2n, _1o2o, _1o2p) { 'use strict'; var _1o2q = null; var _1o2r, _1o2s = this && this.__extends || (_1o2r = function(_1o2t, _1o2u) { var _1o2v = null; return _1o2r = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1o2w, _1o2x) { var _1o2y = null; _1o2w.__proto__ = _1o2x; } || function(_1o2z, _1o30) { var _1o31 = null; for (var _1o32 in _1o30) Object.prototype.hasOwnProperty.call(_1o30, _1o32) && (_1o2z[_1o32] = _1o30[_1o32]); }, _1o2r(_1o2t, _1o2u); }, function(_1o33, _1o34) { var _1o35 = null; if ('function' != typeof _1o34 && null !== _1o34) throw new TypeError('Class extends value ' + String(_1o34) + ' is not a constructor or null'); function _1o36() { var _1o37 = null; this.constructor = _1o33; } _1o2r(_1o33, _1o34), _1o33.prototype = null === _1o34 ? Object.create(_1o34) : (_1o36.prototype = _1o34.prototype, new _1o36()); }); defineModule(_1o2o); Object.defineProperty(_1o2o, '__esModule', { 'value': !0 }), _1o2o.PhaseCombatBase = void 0; var _1o38 = function(_1o39) { var _1o3a = null; function _1o3b(_1o3c, _1o3d) { var _1o3e = null, _1o3f = _1o39.call(this) || this; return _1o3f._scene = _1o3c, _1o3f._night = _1o3d, _1o3f; } return _1o2s(_1o3b, _1o39), Object.defineProperty(_1o3b.prototype, 'scene', { 'get': function() { var _1o3g = null; return this._scene; }, 'enumerable': !1, 'configurable': !0 }), _1o3b.prototype.isNight = function() { var _1o3h = null; return this._night; }, _1o3b; }(_1o2p(81755).TaskBase); _1o2o.PhaseCombatBase = _1o38; }, 63414: function(_1o3i, _1o3j, _1o3k) { 'use strict'; var _1o3l = null; var _1o3m, _1o3n = this && this.__extends || (_1o3m = function(_1o3o, _1o3p) { var _1o3q = null; return _1o3m = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1o3r, _1o3s) { var _1o3t = null; _1o3r.__proto__ = _1o3s; } || function(_1o3u, _1o3v) { var _1o3w = null; for (var _1o3x in _1o3v) Object.prototype.hasOwnProperty.call(_1o3v, _1o3x) && (_1o3u[_1o3x] = _1o3v[_1o3x]); }, _1o3m(_1o3o, _1o3p); }, function(_1o3y, _1o3z) { var _1o40 = null; if ('function' != typeof _1o3z && null !== _1o3z) throw new TypeError('Class extends value ' + String(_1o3z) + ' is not a constructor or null'); function _1o41() { var _1o42 = null; this.constructor = _1o3y; } _1o3m(_1o3y, _1o3z), _1o3y.prototype = null === _1o3z ? Object.create(_1o3z) : (_1o41.prototype = _1o3z.prototype, new _1o41()); }); defineModule(_1o3j); Object.defineProperty(_1o3j, '__esModule', { 'value': !0 }), _1o3j.PhaseDay = void 0; var _1o43 = _1o3k(16215), _1o44 = _1o3k(7640), _1o45 = _1o3k(89916), _1o46 = _1o3k(61074), _1o47 = _1o3k(77112), _1o48 = _1o3k(27950), _1o49 = _1o3k(54126), _1o4a = _1o3k(60356), _1o4b = _1o3k(49515), _1o4c = _1o3k(26409), _1o4d = _1o3k(29177), _1o4e = _1o3k(80472), _1o4f = _1o3k(87966), _1o4g = _1o3k(34581), _1o4h = _1o3k(40637), _1o4i = function(_1o4j) { var _1o4k = null; function _1o4l(_1o4m, _1o4n, _1o4o) { var _1o4p = null, _1o4q = _1o4j.call(this, _1o4m, _1o4o) || this; return _1o4q._record = _1o4n, _1o4q; } return _1o3n(_1o4l, _1o4j), _1o4l.prototype._start = function() { var _1o4r = null; this._sakuteki(); }, _1o4l.prototype._sakuteki = function() { var _1o4s = null, _1o4t = this; new _1o45.PhaseSakuteki(this.scene, this._record).start(function() { var _1o4u = null; _1o4t.scene.view.layer_smoke.start(_1o4t.scene, _1o4t._record, function() { var _1o4v = null; _1o4t._ration(); }); }); }, _1o4l.prototype._ration = function() { var _1o4w = null, _1o4x = this; new _1o44.PhaseRation(this.scene, this._record).start(function() { var _1o4y = null; _1o4x._jetAirUnit(); }); }, _1o4l.prototype._jetAirUnit = function() { var _1o4z = null, _1o50 = this; new _1o46.PhaseAirUnitJet(this.scene, this._record).start(function() { var _1o51 = null; _1o50._jetAirWar(); }); }, _1o4l.prototype._jetAirWar = function() { var _1o52 = null, _1o53 = this; new _1o47.PhaseAirWarJet(this.scene, this._record).start(function() { var _1o54 = null; _1o53._airUnit(); }); }, _1o4l.prototype._airUnit = function() { var _1o55 = null, _1o56 = this; new _1o48.PhaseAirUnit(this.scene, this._record).start(function() { var _1o57 = null; _1o56._airWar(); }); }, _1o4l.prototype._airWar = function() { var _1o58 = null, _1o59 = this; new _1o49.PhaseAirWar(this.scene, this._record).start(function() { var _1o5a = null; _1o59._support(); }); }, _1o4l.prototype._support = function() { var _1o5b = null, _1o5c = this; new _1o4h.PhaseSupport(this.scene, this._record).start(function() { var _1o5d = null; _1o5c._openingAttack(); }); }, _1o4l.prototype._openingAttack = function() { var _1o5e = null, _1o5f = this; new _1o4d.PhasePreAntiSubmarine(this.scene, this._record, this._record.raw.taisen_opening).start(function() { var _1o5g = null; _1o5f._openingTorpedo(); }); }, _1o4l.prototype._openingTorpedo = function() { var _1o5h = null, _1o5i = this; new _1o4b.PhaseRaigekiOpening(this.scene, this._record).start(function() { var _1o5j = null; _1o5i._formation(); }); }, _1o4l.prototype._formation = function() { var _1o5k = null, _1o5l = this; new _1o4e.PhaseFormation(this.scene, this._record).start(function() { var _1o5m = null; _1o5l.scene.view.layer_smoke.hide(), _1o5l._airWar2(); }); }, _1o4l.prototype._airWar2 = function() { var _1o5n = null, _1o5o = this; new _1o4a.PhaseAirWar2(this.scene, this._record).start(function() { var _1o5p = null; _1o5o._attack1(); }); }, _1o4l.prototype._attack1 = function() { var _1o5q = null, _1o5r = this; new _1o4f.PhaseHougeki(this.scene, this._record, this._record.raw.hougeki1).start(function() { var _1o5s = null; _1o5r._attack2(); }); }, _1o4l.prototype._attack2 = function() { var _1o5t = null, _1o5u = this; new _1o4f.PhaseHougeki(this.scene, this._record, this._record.raw.hougeki2).start(function() { var _1o5v = null; _1o5u._attack3(); }); }, _1o4l.prototype._attack3 = function() { var _1o5w = null, _1o5x = this; new _1o4f.PhaseHougeki(this.scene, this._record, this._record.raw.hougeki3).start(function() { var _1o5y = null; _1o5x._torpedo(); }); }, _1o4l.prototype._torpedo = function() { var _1o5z = null, _1o60 = this; new _1o4c.PhaseRaigeki(this.scene, this._record).start(function() { var _1o61 = null; _1o60._ending(); }); }, _1o4l.prototype._ending = function() { var _1o62 = null, _1o63 = this; new _1o4g.PhaseEnding(this.scene, this._record).start(function() { var _1o64 = null; _1o63._endTask(); }); }, _1o4l; }(_1o43.PhaseCombatBase); _1o3j.PhaseDay = _1o4i; }, 90415: function(_1o65, _1o66, _1o67) { 'use strict'; var _1o68 = null; var _1o69, _1o6a = this && this.__extends || (_1o69 = function(_1o6b, _1o6c) { var _1o6d = null; return _1o69 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1o6e, _1o6f) { var _1o6g = null; _1o6e.__proto__ = _1o6f; } || function(_1o6h, _1o6i) { var _1o6j = null; for (var _1o6k in _1o6i) Object.prototype.hasOwnProperty.call(_1o6i, _1o6k) && (_1o6h[_1o6k] = _1o6i[_1o6k]); }, _1o69(_1o6b, _1o6c); }, function(_1o6l, _1o6m) { var _1o6n = null; if ('function' != typeof _1o6m && null !== _1o6m) throw new TypeError('Class extends value ' + String(_1o6m) + ' is not a constructor or null'); function _1o6o() { var _1o6p = null; this.constructor = _1o6l; } _1o69(_1o6l, _1o6m), _1o6l.prototype = null === _1o6m ? Object.create(_1o6m) : (_1o6o.prototype = _1o6m.prototype, new _1o6o()); }); defineModule(_1o66); Object.defineProperty(_1o66, '__esModule', { 'value': !0 }), _1o66.PhaseDayFromNight = void 0; var _1o6q = _1o67(16215), _1o6r = _1o67(12271), _1o6s = _1o67(61074), _1o6t = _1o67(77112), _1o6u = _1o67(27950), _1o6v = _1o67(54126), _1o6w = _1o67(40637), _1o6x = _1o67(29177), _1o6y = _1o67(49515), _1o6z = _1o67(80472), _1o70 = _1o67(60356), _1o71 = _1o67(87966), _1o72 = _1o67(26409), _1o73 = _1o67(34581), _1o74 = function(_1o75) { var _1o76 = null; function _1o77(_1o78, _1o79) { var _1o7a = null, _1o7b = _1o75.call(this, _1o78, !1) || this; return _1o7b._record = _1o79, _1o7b; } return _1o6a(_1o77, _1o75), _1o77.prototype._start = function() { var _1o7c = null, _1o7d = this; this.scene.bg.setDay(function() { var _1o7e = null; _1o7d._shutterOpen(); }); }, _1o77.prototype._shutterOpen = function() { var _1o7f = null, _1o7g = this, _1o7h = this.scene.view; 1 == _1o7h.shutter.isOpened() ? this._jetAirUnit() : createjs.Tween.get(null).wait(3000).call(function() { var _1o7i = null; _1o7h.shutter.once('opened', function() { var _1o7j = null; _1o7g._moveBanner(); }), _1o7h.shutter.open(); }); }, _1o77.prototype._moveBanner = function() { var _1o7k = null, _1o7l = this; new _1o6r.TaskMoveBannerDay(this.scene, this._record).start(function() { var _1o7m = null; _1o7l._jetAirUnit(); }); }, _1o77.prototype._jetAirUnit = function() { var _1o7n = null, _1o7o = this; new _1o6s.PhaseAirUnitJet(this.scene, this._record).start(function() { var _1o7p = null; _1o7o._jetAirWar(); }); }, _1o77.prototype._jetAirWar = function() { var _1o7q = null, _1o7r = this; new _1o6t.PhaseAirWarJet(this.scene, this._record).start(function() { var _1o7s = null; _1o7r._airUnit(); }); }, _1o77.prototype._airUnit = function() { var _1o7t = null, _1o7u = this; new _1o6u.PhaseAirUnit(this.scene, this._record).start(function() { var _1o7v = null; _1o7u._support(); }); }, _1o77.prototype._support = function() { var _1o7w = null, _1o7x = this; new _1o6w.PhaseSupport(this.scene, this._record).start(function() { var _1o7y = null; _1o7x._airWar(); }); }, _1o77.prototype._airWar = function() { var _1o7z = null, _1o80 = this; new _1o6v.PhaseAirWar(this.scene, this._record).start(function() { var _1o81 = null; _1o80._support(); }); }, _1o77.prototype._openingAttack = function() { var _1o82 = null, _1o83 = this; new _1o6x.PhasePreAntiSubmarine(this.scene, this._record, this._record.raw.taisen_opening).start(function() { var _1o84 = null; _1o83._openingTorpedo(); }); }, _1o77.prototype._openingTorpedo = function() { var _1o85 = null, _1o86 = this; new _1o6y.PhaseRaigekiOpening(this.scene, this._record).start(function() { var _1o87 = null; _1o86._formation(); }); }, _1o77.prototype._formation = function() { var _1o88 = null, _1o89 = this; new _1o6z.PhaseFormation(this.scene, this._record).start(function() { var _1o8a = null; _1o89._airWar2(); }); }, _1o77.prototype._airWar2 = function() { var _1o8b = null, _1o8c = this; new _1o70.PhaseAirWar2(this.scene, this._record).start(function() { var _1o8d = null; _1o8c._attack1(); }); }, _1o77.prototype._attack1 = function() { var _1o8e = null, _1o8f = this; new _1o71.PhaseHougeki(this.scene, this._record, this._record.raw.hougeki1).start(function() { var _1o8g = null; _1o8f._attack2(); }); }, _1o77.prototype._attack2 = function() { var _1o8h = null, _1o8i = this; new _1o71.PhaseHougeki(this.scene, this._record, this._record.raw.hougeki2).start(function() { var _1o8j = null; _1o8i._attack3(); }); }, _1o77.prototype._attack3 = function() { var _1o8k = null, _1o8l = this; new _1o71.PhaseHougeki(this.scene, this._record, this._record.raw.hougeki3).start(function() { var _1o8m = null; _1o8l._torpedo(); }); }, _1o77.prototype._torpedo = function() { var _1o8n = null, _1o8o = this; new _1o72.PhaseRaigeki(this.scene, this._record).start(function() { var _1o8p = null; _1o8o._ending(); }); }, _1o77.prototype._ending = function() { var _1o8q = null, _1o8r = this; new _1o73.PhaseEnding(this.scene, this._record).start(function() { var _1o8s = null; _1o8r._endTask(); }); }, _1o77; }(_1o6q.PhaseCombatBase); _1o66.PhaseDayFromNight = _1o74; }, 68682: function(_1o8t, _1o8u, _1o8v) { 'use strict'; var _1o8w = null; var _1o8x, _1o8y = this && this.__extends || (_1o8x = function(_1o8z, _1o90) { var _1o91 = null; return _1o8x = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1o92, _1o93) { var _1o94 = null; _1o92.__proto__ = _1o93; } || function(_1o95, _1o96) { var _1o97 = null; for (var _1o98 in _1o96) Object.prototype.hasOwnProperty.call(_1o96, _1o98) && (_1o95[_1o98] = _1o96[_1o98]); }, _1o8x(_1o8z, _1o90); }, function(_1o99, _1o9a) { var _1o9b = null; if ('function' != typeof _1o9a && null !== _1o9a) throw new TypeError('Class extends value ' + String(_1o9a) + ' is not a constructor or null'); function _1o9c() { var _1o9d = null; this.constructor = _1o99; } _1o8x(_1o99, _1o9a), _1o99.prototype = null === _1o9a ? Object.create(_1o9a) : (_1o9c.prototype = _1o9a.prototype, new _1o9c()); }); defineModule(_1o8u); Object.defineProperty(_1o8u, '__esModule', { 'value': !0 }), _1o8u.PhaseDay_06vs12 = void 0; var _1o9e = _1o8v(16215), _1o9f = _1o8v(7640), _1o9g = _1o8v(89916), _1o9h = _1o8v(61074), _1o9i = _1o8v(77112), _1o9j = _1o8v(27950), _1o9k = _1o8v(54126), _1o9l = _1o8v(60356), _1o9m = _1o8v(49515), _1o9n = _1o8v(26409), _1o9o = _1o8v(29177), _1o9p = _1o8v(40637), _1o9q = _1o8v(80472), _1o9r = _1o8v(87966), _1o9s = _1o8v(34581), _1o9t = function(_1o9u) { var _1o9v = null; function _1o9w(_1o9x, _1o9y, _1o9z) { var _1oa0 = null, _1oa1 = _1o9u.call(this, _1o9x, _1o9z) || this; return _1oa1._record = _1o9y, _1oa1; } return _1o8y(_1o9w, _1o9u), _1o9w.prototype._start = function() { var _1oa2 = null; this._sakuteki(); }, _1o9w.prototype._sakuteki = function() { var _1oa3 = null, _1oa4 = this; new _1o9g.PhaseSakuteki(this.scene, this._record).start(function() { var _1oa5 = null; _1oa4.scene.view.layer_smoke.start(_1oa4.scene, _1oa4._record, function() { var _1oa6 = null; _1oa4._ration(); }); }); }, _1o9w.prototype._ration = function() { var _1oa7 = null, _1oa8 = this; new _1o9f.PhaseRation(this.scene, this._record).start(function() { var _1oa9 = null; _1oa8._jetAirUnit(); }); }, _1o9w.prototype._jetAirUnit = function() { var _1oaa = null, _1oab = this; new _1o9h.PhaseAirUnitJet(this.scene, this._record).start(function() { var _1oac = null; _1oab._jetAirWar(); }); }, _1o9w.prototype._jetAirWar = function() { var _1oad = null, _1oae = this; new _1o9i.PhaseAirWarJet(this.scene, this._record).start(function() { var _1oaf = null; _1oae._airUnit(); }); }, _1o9w.prototype._airUnit = function() { var _1oag = null, _1oah = this; new _1o9j.PhaseAirUnit(this.scene, this._record).start(function() { var _1oai = null; _1oah._airWar(); }); }, _1o9w.prototype._airWar = function() { var _1oaj = null, _1oak = this; new _1o9k.PhaseAirWar(this.scene, this._record).start(function() { var _1oal = null; _1oak._support(); }); }, _1o9w.prototype._support = function() { var _1oam = null, _1oan = this; new _1o9p.PhaseSupport(this.scene, this._record).start(function() { var _1oao = null; _1oan._openingAttack(); }); }, _1o9w.prototype._openingAttack = function() { var _1oap = null, _1oaq = this; new _1o9o.PhasePreAntiSubmarine(this.scene, this._record, this._record.raw.taisen_opening).start(function() { var _1oar = null; _1oaq._openingTorpedo(); }); }, _1o9w.prototype._openingTorpedo = function() { var _1oas = null, _1oat = this; new _1o9m.PhaseRaigekiOpening(this.scene, this._record).start(function() { var _1oau = null; _1oat._formation(); }); }, _1o9w.prototype._formation = function() { var _1oav = null, _1oaw = this; new _1o9q.PhaseFormation(this.scene, this._record).start(function() { var _1oax = null; _1oaw.scene.view.layer_smoke.hide(), _1oaw._airWar2(); }); }, _1o9w.prototype._airWar2 = function() { var _1oay = null, _1oaz = this; new _1o9l.PhaseAirWar2(this.scene, this._record).start(function() { var _1ob0 = null; _1oaz._attack1(); }); }, _1o9w.prototype._attack1 = function() { var _1ob1 = null, _1ob2 = this; new _1o9r.PhaseHougeki(this.scene, this._record, this._record.raw.hougeki1).start(function() { var _1ob3 = null; _1ob2._torpedo(); }); }, _1o9w.prototype._torpedo = function() { var _1ob4 = null, _1ob5 = this; new _1o9n.PhaseRaigeki(this.scene, this._record).start(function() { var _1ob6 = null; _1ob5._attack2(); }); }, _1o9w.prototype._attack2 = function() { var _1ob7 = null, _1ob8 = this; new _1o9r.PhaseHougeki(this.scene, this._record, this._record.raw.hougeki2).start(function() { var _1ob9 = null; _1ob8._attack3(); }); }, _1o9w.prototype._attack3 = function() { var _1oba = null, _1obb = this; new _1o9r.PhaseHougeki(this.scene, this._record, this._record.raw.hougeki3).start(function() { var _1obc = null; _1obb._ending(); }); }, _1o9w.prototype._ending = function() { var _1obd = null, _1obe = this; new _1o9s.PhaseEnding(this.scene, this._record).start(function() { var _1obf = null; _1obe._endTask(); }); }, _1o9w; }(_1o9e.PhaseCombatBase); _1o8u.PhaseDay_06vs12 = _1o9t; }, 63657: function(_1obg, _1obh, _1obi) { 'use strict'; var _1obj = null; var _1obk, _1obl = this && this.__extends || (_1obk = function(_1obm, _1obn) { var _1obo = null; return _1obk = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1obp, _1obq) { var _1obr = null; _1obp.__proto__ = _1obq; } || function(_1obs, _1obt) { var _1obu = null; for (var _1obv in _1obt) Object.prototype.hasOwnProperty.call(_1obt, _1obv) && (_1obs[_1obv] = _1obt[_1obv]); }, _1obk(_1obm, _1obn); }, function(_1obw, _1obx) { var _1oby = null; if ('function' != typeof _1obx && null !== _1obx) throw new TypeError('Class extends value ' + String(_1obx) + ' is not a constructor or null'); function _1obz() { var _1oc0 = null; this.constructor = _1obw; } _1obk(_1obw, _1obx), _1obw.prototype = null === _1obx ? Object.create(_1obx) : (_1obz.prototype = _1obx.prototype, new _1obz()); }); defineModule(_1obh); Object.defineProperty(_1obh, '__esModule', { 'value': !0 }), _1obh.PhaseDay_Kido = void 0; var _1oc1 = _1obi(16215), _1oc2 = _1obi(7640), _1oc3 = _1obi(27950), _1oc4 = _1obi(61074), _1oc5 = _1obi(54126), _1oc6 = _1obi(60356), _1oc7 = _1obi(77112), _1oc8 = _1obi(34581), _1oc9 = _1obi(80472), _1oca = _1obi(29177), _1ocb = _1obi(87966), _1occ = _1obi(49515), _1ocd = _1obi(26409), _1oce = _1obi(89916), _1ocf = _1obi(40637), _1ocg = _1obi(55447), _1och = function(_1oci) { var _1ocj = null; function _1ock(_1ocl, _1ocm, _1ocn) { var _1oco = null, _1ocp = _1oci.call(this, _1ocl, _1ocn) || this; return _1ocp._record = _1ocm, _1ocp; } return _1obl(_1ock, _1oci), _1ock.prototype._start = function() { var _1ocq = null; this._sakuteki(); }, _1ock.prototype._sakuteki = function() { var _1ocr = null, _1ocs = this; new _1oce.PhaseSakuteki(this.scene, this._record).start(function() { var _1oct = null; _1ocs.scene.view.layer_smoke.start(_1ocs.scene, _1ocs._record, function() { var _1ocu = null; _1ocs._ration(); }); }); }, _1ock.prototype._ration = function() { var _1ocv = null, _1ocw = this; new _1oc2.PhaseRation(this.scene, this._record).start(function() { var _1ocx = null; _1ocw._jetAirUnit(); }); }, _1ock.prototype._jetAirUnit = function() { var _1ocy = null, _1ocz = this; new _1oc4.PhaseAirUnitJet(this.scene, this._record).start(function() { var _1od0 = null; _1ocz._jetAirWar(); }); }, _1ock.prototype._jetAirWar = function() { var _1od1 = null, _1od2 = this; new _1oc7.PhaseAirWarJet(this.scene, this._record).start(function() { var _1od3 = null; _1od2._airUnit(); }); }, _1ock.prototype._airUnit = function() { var _1od4 = null, _1od5 = this; new _1oc3.PhaseAirUnit(this.scene, this._record).start(function() { var _1od6 = null; _1od5._allyAirAttack(); }); }, _1ock.prototype._allyAirAttack = function() { var _1od7 = null, _1od8 = this; new _1ocg.PhaseAllyAirAttack(this.scene, this._record).start(function() { var _1od9 = null; _1od8._airWar(); }); }, _1ock.prototype._airWar = function() { var _1oda = null, _1odb = this; new _1oc5.PhaseAirWar(this.scene, this._record).start(function() { var _1odc = null; _1odb._support(); }); }, _1ock.prototype._support = function() { var _1odd = null, _1ode = this; new _1ocf.PhaseSupport(this.scene, this._record).start(function() { var _1odf = null; _1ode._openingAttack(); }); }, _1ock.prototype._openingAttack = function() { var _1odg = null, _1odh = this; new _1oca.PhasePreAntiSubmarine(this.scene, this._record, this._record.raw.taisen_opening).start(function() { var _1odi = null; _1odh._openingTorpedo(); }); }, _1ock.prototype._openingTorpedo = function() { var _1odj = null, _1odk = this; new _1occ.PhaseRaigekiOpening(this.scene, this._record).start(function() { var _1odl = null; _1odk._formation(); }); }, _1ock.prototype._formation = function() { var _1odm = null, _1odn = this; new _1oc9.PhaseFormation(this.scene, this._record).start(function() { var _1odo = null; _1odn.scene.view.layer_smoke.hide(), _1odn._airWar2(); }); }, _1ock.prototype._airWar2 = function() { var _1odp = null, _1odq = this; new _1oc6.PhaseAirWar2(this.scene, this._record).start(function() { var _1odr = null; _1odq._attack1(); }); }, _1ock.prototype._attack1 = function() { var _1ods = null, _1odt = this; new _1ocb.PhaseHougeki(this.scene, this._record, this._record.raw.hougeki1).start(function() { var _1odu = null; _1odt._torpedo(); }); }, _1ock.prototype._torpedo = function() { var _1odv = null, _1odw = this; new _1ocd.PhaseRaigeki(this.scene, this._record).start(function() { var _1odx = null; _1odw._attack2(); }); }, _1ock.prototype._attack2 = function() { var _1ody = null, _1odz = this; new _1ocb.PhaseHougeki(this.scene, this._record, this._record.raw.hougeki2).start(function() { var _1oe0 = null; _1odz._attack3(); }); }, _1ock.prototype._attack3 = function() { var _1oe1 = null, _1oe2 = this; new _1ocb.PhaseHougeki(this.scene, this._record, this._record.raw.hougeki3).start(function() { var _1oe3 = null; _1oe2._ending(); }); }, _1ock.prototype._ending = function() { var _1oe4 = null, _1oe5 = this; new _1oc8.PhaseEnding(this.scene, this._record).start(function() { var _1oe6 = null; _1oe5._endTask(); }); }, _1ock; }(_1oc1.PhaseCombatBase); _1obh.PhaseDay_Kido = _1och; }, 61275: function(_1oe7, _1oe8, _1oe9) { 'use strict'; var _1oea = null; var _1oeb, _1oec = this && this.__extends || (_1oeb = function(_1oed, _1oee) { var _1oef = null; return _1oeb = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1oeg, _1oeh) { var _1oei = null; _1oeg.__proto__ = _1oeh; } || function(_1oej, _1oek) { var _1oel = null; for (var _1oem in _1oek) Object.prototype.hasOwnProperty.call(_1oek, _1oem) && (_1oej[_1oem] = _1oek[_1oem]); }, _1oeb(_1oed, _1oee); }, function(_1oen, _1oeo) { var _1oep = null; if ('function' != typeof _1oeo && null !== _1oeo) throw new TypeError('Class extends value ' + String(_1oeo) + ' is not a constructor or null'); function _1oeq() { var _1oer = null; this.constructor = _1oen; } _1oeb(_1oen, _1oeo), _1oen.prototype = null === _1oeo ? Object.create(_1oeo) : (_1oeq.prototype = _1oeo.prototype, new _1oeq()); }); defineModule(_1oe8); Object.defineProperty(_1oe8, '__esModule', { 'value': !0 }), _1oe8.PhaseDay_Kido_vs12 = void 0; var _1oes = _1oe9(16215), _1oet = _1oe9(7640), _1oeu = _1oe9(27950), _1oev = _1oe9(61074), _1oew = _1oe9(54126), _1oex = _1oe9(60356), _1oey = _1oe9(77112), _1oez = _1oe9(34581), _1of0 = _1oe9(80472), _1of1 = _1oe9(29177), _1of2 = _1oe9(87966), _1of3 = _1oe9(49515), _1of4 = _1oe9(26409), _1of5 = _1oe9(89916), _1of6 = _1oe9(40637), _1of7 = function(_1of8) { var _1of9 = null; function _1ofa(_1ofb, _1ofc, _1ofd) { var _1ofe = null, _1off = _1of8.call(this, _1ofb, _1ofd) || this; return _1off._record = _1ofc, _1off; } return _1oec(_1ofa, _1of8), _1ofa.prototype._start = function() { var _1ofg = null; this._sakuteki(); }, _1ofa.prototype._sakuteki = function() { var _1ofh = null, _1ofi = this; new _1of5.PhaseSakuteki(this.scene, this._record).start(function() { var _1ofj = null; _1ofi.scene.view.layer_smoke.start(_1ofi.scene, _1ofi._record, function() { var _1ofk = null; _1ofi._ration(); }); }); }, _1ofa.prototype._ration = function() { var _1ofl = null, _1ofm = this; new _1oet.PhaseRation(this.scene, this._record).start(function() { var _1ofn = null; _1ofm._jetAirUnit(); }); }, _1ofa.prototype._jetAirUnit = function() { var _1ofo = null, _1ofp = this; new _1oev.PhaseAirUnitJet(this.scene, this._record).start(function() { var _1ofq = null; _1ofp._jetAirWar(); }); }, _1ofa.prototype._jetAirWar = function() { var _1ofr = null, _1ofs = this; new _1oey.PhaseAirWarJet(this.scene, this._record).start(function() { var _1oft = null; _1ofs._airUnit(); }); }, _1ofa.prototype._airUnit = function() { var _1ofu = null, _1ofv = this; new _1oeu.PhaseAirUnit(this.scene, this._record).start(function() { var _1ofw = null; _1ofv._airWar(); }); }, _1ofa.prototype._airWar = function() { var _1ofx = null, _1ofy = this; new _1oew.PhaseAirWar(this.scene, this._record).start(function() { var _1ofz = null; _1ofy._support(); }); }, _1ofa.prototype._support = function() { var _1og0 = null, _1og1 = this; new _1of6.PhaseSupport(this.scene, this._record).start(function() { var _1og2 = null; _1og1._openingAttack(); }); }, _1ofa.prototype._openingAttack = function() { var _1og3 = null, _1og4 = this; new _1of1.PhasePreAntiSubmarine(this.scene, this._record, this._record.raw.taisen_opening).start(function() { var _1og5 = null; _1og4._openingTorpedo(); }); }, _1ofa.prototype._openingTorpedo = function() { var _1og6 = null, _1og7 = this; new _1of3.PhaseRaigekiOpening(this.scene, this._record).start(function() { var _1og8 = null; _1og7._formation(); }); }, _1ofa.prototype._formation = function() { var _1og9 = null, _1oga = this; new _1of0.PhaseFormation(this.scene, this._record).start(function() { var _1ogb = null; _1oga.scene.view.layer_smoke.hide(), _1oga._airWar2(); }); }, _1ofa.prototype._airWar2 = function() { var _1ogc = null, _1ogd = this; new _1oex.PhaseAirWar2(this.scene, this._record).start(function() { var _1oge = null; _1ogd._attack1(); }); }, _1ofa.prototype._attack1 = function() { var _1ogf = null, _1ogg = this; new _1of2.PhaseHougeki(this.scene, this._record, this._record.raw.hougeki1).start(function() { var _1ogh = null; _1ogg._attack2(); }); }, _1ofa.prototype._attack2 = function() { var _1ogi = null, _1ogj = this; new _1of2.PhaseHougeki(this.scene, this._record, this._record.raw.hougeki2).start(function() { var _1ogk = null; _1ogj._torpedo(); }); }, _1ofa.prototype._torpedo = function() { var _1ogl = null, _1ogm = this; new _1of4.PhaseRaigeki(this.scene, this._record).start(function() { var _1ogn = null; _1ogm._attack3(); }); }, _1ofa.prototype._attack3 = function() { var _1ogo = null, _1ogp = this; new _1of2.PhaseHougeki(this.scene, this._record, this._record.raw.hougeki3).start(function() { var _1ogq = null; _1ogp._ending(); }); }, _1ofa.prototype._ending = function() { var _1ogr = null, _1ogs = this; new _1oez.PhaseEnding(this.scene, this._record).start(function() { var _1ogt = null; _1ogs._endTask(); }); }, _1ofa; }(_1oes.PhaseCombatBase); _1oe8.PhaseDay_Kido_vs12 = _1of7; }, 10145: function(_1ogu, _1ogv, _1ogw) { 'use strict'; var _1ogx = null; var _1ogy, _1ogz = this && this.__extends || (_1ogy = function(_1oh0, _1oh1) { var _1oh2 = null; return _1ogy = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1oh3, _1oh4) { var _1oh5 = null; _1oh3.__proto__ = _1oh4; } || function(_1oh6, _1oh7) { var _1oh8 = null; for (var _1oh9 in _1oh7) Object.prototype.hasOwnProperty.call(_1oh7, _1oh9) && (_1oh6[_1oh9] = _1oh7[_1oh9]); }, _1ogy(_1oh0, _1oh1); }, function(_1oha, _1ohb) { var _1ohc = null; if ('function' != typeof _1ohb && null !== _1ohb) throw new TypeError('Class extends value ' + String(_1ohb) + ' is not a constructor or null'); function _1ohd() { var _1ohe = null; this.constructor = _1oha; } _1ogy(_1oha, _1ohb), _1oha.prototype = null === _1ohb ? Object.create(_1ohb) : (_1ohd.prototype = _1ohb.prototype, new _1ohd()); }); defineModule(_1ogv); Object.defineProperty(_1ogv, '__esModule', { 'value': !0 }), _1ogv.PhaseDay_Suijo = void 0; var _1ohf = _1ogw(16215), _1ohg = _1ogw(7640), _1ohh = _1ogw(27950), _1ohi = _1ogw(61074), _1ohj = _1ogw(54126), _1ohk = _1ogw(60356), _1ohl = _1ogw(77112), _1ohm = _1ogw(34581), _1ohn = _1ogw(80472), _1oho = _1ogw(29177), _1ohp = _1ogw(87966), _1ohq = _1ogw(49515), _1ohr = _1ogw(26409), _1ohs = _1ogw(89916), _1oht = _1ogw(40637), _1ohu = _1ogw(55447), _1ohv = function(_1ohw) { var _1ohx = null; function _1ohy(_1ohz, _1oi0, _1oi1) { var _1oi2 = null, _1oi3 = _1ohw.call(this, _1ohz, _1oi1) || this; return _1oi3._record = _1oi0, _1oi3; } return _1ogz(_1ohy, _1ohw), _1ohy.prototype._start = function() { var _1oi4 = null; this._sakuteki(); }, _1ohy.prototype._sakuteki = function() { var _1oi5 = null, _1oi6 = this; new _1ohs.PhaseSakuteki(this.scene, this._record).start(function() { var _1oi7 = null; _1oi6.scene.view.layer_smoke.start(_1oi6.scene, _1oi6._record, function() { var _1oi8 = null; _1oi6._ration(); }); }); }, _1ohy.prototype._ration = function() { var _1oi9 = null, _1oia = this; new _1ohg.PhaseRation(this.scene, this._record).start(function() { var _1oib = null; _1oia._jetAirUnit(); }); }, _1ohy.prototype._jetAirUnit = function() { var _1oic = null, _1oid = this; new _1ohi.PhaseAirUnitJet(this.scene, this._record).start(function() { var _1oie = null; _1oid._jetAirWar(); }); }, _1ohy.prototype._jetAirWar = function() { var _1oif = null, _1oig = this; new _1ohl.PhaseAirWarJet(this.scene, this._record).start(function() { var _1oih = null; _1oig._airUnit(); }); }, _1ohy.prototype._airUnit = function() { var _1oii = null, _1oij = this; new _1ohh.PhaseAirUnit(this.scene, this._record).start(function() { var _1oik = null; _1oij._allyAirAttack(); }); }, _1ohy.prototype._allyAirAttack = function() { var _1oil = null, _1oim = this; new _1ohu.PhaseAllyAirAttack(this.scene, this._record).start(function() { var _1oin = null; _1oim._airWar(); }); }, _1ohy.prototype._airWar = function() { var _1oio = null, _1oip = this; new _1ohj.PhaseAirWar(this.scene, this._record).start(function() { var _1oiq = null; _1oip._support(); }); }, _1ohy.prototype._support = function() { var _1oir = null, _1ois = this; new _1oht.PhaseSupport(this.scene, this._record).start(function() { var _1oit = null; _1ois._openingAttack(); }); }, _1ohy.prototype._openingAttack = function() { var _1oiu = null, _1oiv = this; new _1oho.PhasePreAntiSubmarine(this.scene, this._record, this._record.raw.taisen_opening).start(function() { var _1oiw = null; _1oiv._openingTorpedo(); }); }, _1ohy.prototype._openingTorpedo = function() { var _1oix = null, _1oiy = this; new _1ohq.PhaseRaigekiOpening(this.scene, this._record).start(function() { var _1oiz = null; _1oiy._formation(); }); }, _1ohy.prototype._formation = function() { var _1oj0 = null, _1oj1 = this; new _1ohn.PhaseFormation(this.scene, this._record).start(function() { var _1oj2 = null; _1oj1.scene.view.layer_smoke.hide(), _1oj1._airWar2(); }); }, _1ohy.prototype._airWar2 = function() { var _1oj3 = null, _1oj4 = this; new _1ohk.PhaseAirWar2(this.scene, this._record).start(function() { var _1oj5 = null; _1oj4._attack1(); }); }, _1ohy.prototype._attack1 = function() { var _1oj6 = null, _1oj7 = this; new _1ohp.PhaseHougeki(this.scene, this._record, this._record.raw.hougeki1).start(function() { var _1oj8 = null; _1oj7._attack2(); }); }, _1ohy.prototype._attack2 = function() { var _1oj9 = null, _1oja = this; new _1ohp.PhaseHougeki(this.scene, this._record, this._record.raw.hougeki2).start(function() { var _1ojb = null; _1oja._attack3(); }); }, _1ohy.prototype._attack3 = function() { var _1ojc = null, _1ojd = this; new _1ohp.PhaseHougeki(this.scene, this._record, this._record.raw.hougeki3).start(function() { var _1oje = null; _1ojd._torpedo(); }); }, _1ohy.prototype._torpedo = function() { var _1ojf = null, _1ojg = this; new _1ohr.PhaseRaigeki(this.scene, this._record).start(function() { var _1ojh = null; _1ojg._ending(); }); }, _1ohy.prototype._ending = function() { var _1oji = null, _1ojj = this; new _1ohm.PhaseEnding(this.scene, this._record).start(function() { var _1ojk = null; _1ojj._endTask(); }); }, _1ohy; }(_1ohf.PhaseCombatBase); _1ogv.PhaseDay_Suijo = _1ohv; }, 23378: function(_1ojl, _1ojm, _1ojn) { 'use strict'; var _1ojo = null; var _1ojp, _1ojq = this && this.__extends || (_1ojp = function(_1ojr, _1ojs) { var _1ojt = null; return _1ojp = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1oju, _1ojv) { var _1ojw = null; _1oju.__proto__ = _1ojv; } || function(_1ojx, _1ojy) { var _1ojz = null; for (var _1ok0 in _1ojy) Object.prototype.hasOwnProperty.call(_1ojy, _1ok0) && (_1ojx[_1ok0] = _1ojy[_1ok0]); }, _1ojp(_1ojr, _1ojs); }, function(_1ok1, _1ok2) { var _1ok3 = null; if ('function' != typeof _1ok2 && null !== _1ok2) throw new TypeError('Class extends value ' + String(_1ok2) + ' is not a constructor or null'); function _1ok4() { var _1ok5 = null; this.constructor = _1ok1; } _1ojp(_1ok1, _1ok2), _1ok1.prototype = null === _1ok2 ? Object.create(_1ok2) : (_1ok4.prototype = _1ok2.prototype, new _1ok4()); }); defineModule(_1ojm); Object.defineProperty(_1ojm, '__esModule', { 'value': !0 }), _1ojm.PhaseDay_Suijo_vs12 = void 0; var _1ok6 = _1ojn(16215), _1ok7 = _1ojn(7640), _1ok8 = _1ojn(27950), _1ok9 = _1ojn(61074), _1oka = _1ojn(54126), _1okb = _1ojn(60356), _1okc = _1ojn(77112), _1okd = _1ojn(34581), _1oke = _1ojn(80472), _1okf = _1ojn(29177), _1okg = _1ojn(87966), _1okh = _1ojn(49515), _1oki = _1ojn(26409), _1okj = _1ojn(89916), _1okk = _1ojn(40637), _1okl = function(_1okm) { var _1okn = null; function _1oko(_1okp, _1okq, _1okr) { var _1oks = null, _1okt = _1okm.call(this, _1okp, _1okr) || this; return _1okt._record = _1okq, _1okt; } return _1ojq(_1oko, _1okm), _1oko.prototype._start = function() { var _1oku = null; this._sakuteki(); }, _1oko.prototype._sakuteki = function() { var _1okv = null, _1okw = this; new _1okj.PhaseSakuteki(this.scene, this._record).start(function() { var _1okx = null; _1okw.scene.view.layer_smoke.start(_1okw.scene, _1okw._record, function() { var _1oky = null; _1okw._ration(); }); }); }, _1oko.prototype._ration = function() { var _1okz = null, _1ol0 = this; new _1ok7.PhaseRation(this.scene, this._record).start(function() { var _1ol1 = null; _1ol0._jetAirUnit(); }); }, _1oko.prototype._jetAirUnit = function() { var _1ol2 = null, _1ol3 = this; new _1ok9.PhaseAirUnitJet(this.scene, this._record).start(function() { var _1ol4 = null; _1ol3._jetAirWar(); }); }, _1oko.prototype._jetAirWar = function() { var _1ol5 = null, _1ol6 = this; new _1okc.PhaseAirWarJet(this.scene, this._record).start(function() { var _1ol7 = null; _1ol6._airUnit(); }); }, _1oko.prototype._airUnit = function() { var _1ol8 = null, _1ol9 = this; new _1ok8.PhaseAirUnit(this.scene, this._record).start(function() { var _1ola = null; _1ol9._airWar(); }); }, _1oko.prototype._airWar = function() { var _1olb = null, _1olc = this; new _1oka.PhaseAirWar(this.scene, this._record).start(function() { var _1old = null; _1olc._support(); }); }, _1oko.prototype._support = function() { var _1ole = null, _1olf = this; new _1okk.PhaseSupport(this.scene, this._record).start(function() { var _1olg = null; _1olf._openingAttack(); }); }, _1oko.prototype._openingAttack = function() { var _1olh = null, _1oli = this; new _1okf.PhasePreAntiSubmarine(this.scene, this._record, this._record.raw.taisen_opening).start(function() { var _1olj = null; _1oli._openingTorpedo(); }); }, _1oko.prototype._openingTorpedo = function() { var _1olk = null, _1oll = this; new _1okh.PhaseRaigekiOpening(this.scene, this._record).start(function() { var _1olm = null; _1oll._formation(); }); }, _1oko.prototype._formation = function() { var _1oln = null, _1olo = this; new _1oke.PhaseFormation(this.scene, this._record).start(function() { var _1olp = null; _1olo.scene.view.layer_smoke.hide(), _1olo._airWar2(); }); }, _1oko.prototype._airWar2 = function() { var _1olq = null, _1olr = this; new _1okb.PhaseAirWar2(this.scene, this._record).start(function() { var _1ols = null; _1olr._attack1(); }); }, _1oko.prototype._attack1 = function() { var _1olt = null, _1olu = this; new _1okg.PhaseHougeki(this.scene, this._record, this._record.raw.hougeki1).start(function() { var _1olv = null; _1olu._attack2(); }); }, _1oko.prototype._attack2 = function() { var _1olw = null, _1olx = this; new _1okg.PhaseHougeki(this.scene, this._record, this._record.raw.hougeki2).start(function() { var _1oly = null; _1olx._attack3(); }); }, _1oko.prototype._attack3 = function() { var _1olz = null, _1om0 = this; new _1okg.PhaseHougeki(this.scene, this._record, this._record.raw.hougeki3).start(function() { var _1om1 = null; _1om0._torpedo(); }); }, _1oko.prototype._torpedo = function() { var _1om2 = null, _1om3 = this; new _1oki.PhaseRaigeki(this.scene, this._record).start(function() { var _1om4 = null; _1om3._ending(); }); }, _1oko.prototype._ending = function() { var _1om5 = null, _1om6 = this; new _1okd.PhaseEnding(this.scene, this._record).start(function() { var _1om7 = null; _1om6._endTask(); }); }, _1oko; }(_1ok6.PhaseCombatBase); _1ojm.PhaseDay_Suijo_vs12 = _1okl; }, 98388: function(_1om8, _1om9, _1oma) { 'use strict'; var _1omb = null; var _1omc, _1omd = this && this.__extends || (_1omc = function(_1ome, _1omf) { var _1omg = null; return _1omc = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1omh, _1omi) { var _1omj = null; _1omh.__proto__ = _1omi; } || function(_1omk, _1oml) { var _1omm = null; for (var _1omn in _1oml) Object.prototype.hasOwnProperty.call(_1oml, _1omn) && (_1omk[_1omn] = _1oml[_1omn]); }, _1omc(_1ome, _1omf); }, function(_1omo, _1omp) { var _1omq = null; if ('function' != typeof _1omp && null !== _1omp) throw new TypeError('Class extends value ' + String(_1omp) + ' is not a constructor or null'); function _1omr() { var _1oms = null; this.constructor = _1omo; } _1omc(_1omo, _1omp), _1omo.prototype = null === _1omp ? Object.create(_1omp) : (_1omr.prototype = _1omp.prototype, new _1omr()); }); defineModule(_1om9); Object.defineProperty(_1om9, '__esModule', { 'value': !0 }), _1om9.PhaseNight = void 0; var _1omt = _1oma(7640), _1omu = _1oma(16215), _1omv = _1oma(39149), _1omw = _1oma(67496), _1omx = _1oma(74940), _1omy = _1oma(74163), _1omz = _1oma(38538), _1on0 = _1oma(65622), _1on1 = _1oma(97926), _1on2 = _1oma(90415), _1on3 = _1oma(43705), _1on4 = function(_1on5) { var _1on6 = null; function _1on7(_1on8, _1on9, _1ona) { var _1onb = null, _1onc = _1on5.call(this, _1on8, _1ona) || this; return _1onc._record = _1on9, _1onc; } return _1omd(_1on7, _1on5), _1on7.prototype._start = function() { var _1ond = null; this._opening(); }, _1on7.prototype._opening = function() { var _1one = null, _1onf = this; new _1omv.PhaseOpening(this.scene, this._record).start(function() { var _1ong = null; _1onf._allyAttack(); }); }, _1on7.prototype._allyAttack = function() { var _1onh = null, _1oni = this; new _1omw.PhaseAllyAttack(this.scene, this._record).start(function() { var _1onj = null; _1oni._moveShips(); }); }, _1on7.prototype._moveShips = function() { var _1onk = null, _1onl = this; new _1omy.PhaseMoveShips(this.scene, this._record).start(function() { var _1onm = null; _1onl._showTouchPlane(); }); }, _1on7.prototype._showTouchPlane = function() { var _1onn = null, _1ono = this, _1onp = this._record.raw.getTouchPlaneFriend(), _1onq = this._record.raw.getTouchPlaneEnemy(); new _1on3.TaskShowTouchPlane(this.scene, _1onp, _1onq).start(function() { var _1onr = null; _1ono._ration(); }); }, _1on7.prototype._ration = function() { var _1ons = null, _1ont = this; new _1omt.PhaseRation(this.scene, this._record).start(function() { var _1onu = null; _1ont._light(); }); }, _1on7.prototype._light = function() { var _1onv = null, _1onw = this; new _1omx.PhaseLighting(this.scene, this._record).start(function() { var _1onx = null; _1onw._support(); }); }, _1on7.prototype._support = function() { var _1ony = null, _1onz = this; new _1omz.PhaseSupport(this.scene, this._record).start(function() { var _1oo0 = null; _1onz._attack(); }); }, _1on7.prototype._attack = function() { var _1oo1 = null, _1oo2 = this, _1oo3 = this._record.raw.hougeki, _1oo4 = this.scene.data.model.deck_f.ships, _1oo5 = this.scene.data.model.deck_e.ships; new _1on0.PhaseHougeki(this.scene, _1oo3, _1oo4, _1oo5).start(function() { var _1oo6 = null; _1oo2._attack1(); }); }, _1on7.prototype._attack1 = function() { var _1oo7 = null, _1oo8 = this, _1oo9 = this._record.raw.hougeki1, _1ooa = this.scene.data.model.deck_f.ships, _1oob = this.scene.data.model.deck_e.ships; new _1on0.PhaseHougeki(this.scene, _1oo9, _1ooa, _1oob).start(function() { var _1ooc = null; _1oo8._attack2(); }); }, _1on7.prototype._attack2 = function() { var _1ood = null, _1ooe = this, _1oof = this._record.raw.hougeki2, _1oog = this.scene.data.model.deck_f.ships, _1ooh = this.scene.data.model.deck_e.ships; new _1on0.PhaseHougeki(this.scene, _1oof, _1oog, _1ooh).start(function() { var _1ooi = null; _1ooe._ending(); }); }, _1on7.prototype._ending = function() { var _1ooj = null, _1ook = this; new _1on1.PhaseEnding(this.scene, this._record).start(function() { var _1ool = null; _1ook._dayBattle(); }); }, _1on7.prototype._dayBattle = function() { var _1oom = null, _1oon = this; if (1 == this._record.raw.hasDayBattle()) { var _1ooo = this.scene, _1oop = this._record.getDayRecord(); new _1on2.PhaseDayFromNight(_1ooo, _1oop).start(function() { var _1ooq = null; _1oon._endTask(); }); } else this._endTask(); }, _1on7; }(_1omu.PhaseCombatBase); _1om9.PhaseNight = _1on4; }, 50614: function(_1oor, _1oos, _1oot) { 'use strict'; var _1oou = null; var _1oov, _1oow = this && this.__extends || (_1oov = function(_1oox, _1ooy) { var _1ooz = null; return _1oov = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1op0, _1op1) { var _1op2 = null; _1op0.__proto__ = _1op1; } || function(_1op3, _1op4) { var _1op5 = null; for (var _1op6 in _1op4) Object.prototype.hasOwnProperty.call(_1op4, _1op6) && (_1op3[_1op6] = _1op4[_1op6]); }, _1oov(_1oox, _1ooy); }, function(_1op7, _1op8) { var _1op9 = null; if ('function' != typeof _1op8 && null !== _1op8) throw new TypeError('Class extends value ' + String(_1op8) + ' is not a constructor or null'); function _1opa() { var _1opb = null; this.constructor = _1op7; } _1oov(_1op7, _1op8), _1op7.prototype = null === _1op8 ? Object.create(_1op8) : (_1opa.prototype = _1op8.prototype, new _1opa()); }), _1opc = this && this.__importDefault || function(_1opd) { var _1ope = null; return _1opd && _1opd.__esModule ? _1opd : { 'default': _1opd }; }; defineModule(_1oos); Object.defineProperty(_1oos, '__esModule', { 'value': !0 }), _1oos.PhaseDamageCutin = void 0; var _1opf = _1opc(_1oot(18622)), _1opg = _1oot(81755), _1oph = _1oot(73418), _1opi = _1oot(68173), _1opj = _1oot(46997), _1opk = function(_1opl) { var _1opm = null; function _1opn(_1opo) { var _1opp = null, _1opq = _1opl.call(this) || this; return _1opq._scene = _1opo, _1opq._chuha_ships = new Array(), _1opq._taiha_ships = new Array(), _1opq._gouchin_ships = new Array(), _1opq._crash_enemy_balloon = !1, _1opq; } return _1oow(_1opn, _1opl), _1opn.prototype._notifyGauge = function(_1opr, _1ops, _1opt, _1opu) { var _1opv = null; if (0 != this._scene.view.layer_gauge.hasGauge() && 1 != _1opr && 0 == _1ops && _1opt != _1opu) { var _1opw = this._scene.view.layer_gauge, _1opx = _1opw.now, _1opy = Math.max(_1opt - _1opu, 0), _1opz = this._scene.data.model.gauge_type; if (2 == _1opz) { var _1oq0 = Math.max(0, _1opx - _1opy); _1opw.update(_1oq0); } else 1 == _1opz && _1opx > 0 && _1opy > 0 && 0 == _1opu && _1opw.update(_1opx - 1); 0 == _1opw.now && 0 == _1opu && _1opw.explode(); } }, _1opn.prototype.causeDamage = function(_1oq1, _1oq2) { var _1oq3 = null; if (null != _1oq1) { var _1oq4 = _1oq1.hp_now; _1oq1.causeDamage(_1oq2), this._registerDamageEvents(_1oq1, _1oq2), this._notifyGauge(_1oq1.friend, _1oq1.index, _1oq4, _1oq1.hp_now); } }, _1opn.prototype.causeDoubleDamage1st = function(_1oq5, _1oq6) { var _1oq7 = null; if (null != _1oq5) { var _1oq8 = _1oq5.hp_now; _1oq5.causeDamage(_1oq6), this._notifyGauge(_1oq5.friend, _1oq5.index, _1oq8, _1oq5.hp_now); } }, _1opn.prototype.causeDoubleDamage2nd = function(_1oq9, _1oqa) { var _1oqb = null; if (null != _1oq9) { var _1oqc = _1oq9.hp_now; _1oq9.causeDamage(_1oqa, !1), this._registerDamageEvents(_1oq9, _1oqa), this._notifyGauge(_1oq9.friend, _1oq9.index, _1oqc, _1oq9.hp_now); } }, _1opn.prototype._enemyRegisterDamageEvents = function(_1oqd, _1oqe) { var _1oqf = null; if (_1oqd.hp_now > 0 && _1oqe > 0) { var _1oqg = _1oph.EnemyVoiceConst.getDamagedVoiceIDs(this._scene, _1oqd); if (null != _1oqg && _1oqg.length > 0) { var _1oqh = _1oqg[Math.floor(Math.random() * _1oqg.length)]; _1opf.default.sound.voice.play('9998', _1oqh); } } }, _1opn.prototype._registerDamageEvents = function(_1oqi, _1oqj) { var _1oqk = null; if (0 != _1oqi.friend) { if (!(_1oqi.mst_id < 0)) { var _1oql = _1oqi.damageType_before, _1oqm = _1oqi.damageType; _1oql != _1oqm && (75 != _1oqm || 100 != _1oql ? 0 == _1oqi.type && (50 == _1oqm && 75 == _1oql || 50 == _1oqm && 100 == _1oql ? this._chuha_ships.push(_1oqi) : 25 == _1oqm && 75 == _1oql || 25 == _1oqm && 100 == _1oql ? this._taiha_ships.push(_1oqi) : 0 == _1oqm && this._gouchin_ships.push(_1oqi)) : _1opf.default.sound.voice.playAtRandom(_1oqi.mst_id.toString(), [19, 20], [50, 50])); } } else this._enemyRegisterDamageEvents(_1oqi, _1oqj), 0 == _1oqi.damageType && !this._scene.data.isNight() && this._scene.data.isBalloonCell() && this._scene.view.layer_balloon.crashAt(!1, _1oqi.index) && (this._crash_enemy_balloon = !0); }, _1opn.prototype._start = function() { var _1oqn = null, _1oqo = this; 1 == this._scene.view.layer_gauge.isAnimation() ? createjs.Tween.get(null).wait(500).call(function() { var _1oqp = null; _1oqo._start(); }) : this._gouchinCutin(); }, _1opn.prototype._gouchinCutin = function() { var _1oqq = null, _1oqr = this; if (this._gouchin_ships.length > 0) { this._clearChuhaList(), this._clearTaihaList(); var _1oqs = this._gouchin_ships.shift(); 0; var _1oqt = _1oqs.useRepairItem(); 0; var _1oqu = this._scene.view.layer_cutin, _1oqv = this._scene.view.layer_balloon; new _1opi.TaskGouchinCutin(_1oqu, _1oqs.mst_id, _1oqt, function() { var _1oqw = null; _1oqr._scene.view.bannerGroupLayer.getBanner(_1oqs).updateHp(_1oqs.hp_now); }).start(function() { var _1oqx = null; if (0 == _1oqs.damageType && !_1oqr._scene.data.isNight() && _1oqr._scene.data.isBalloonCell() && _1oqv.crashAt(!0, _1oqs.index)) { var _1oqy = _1oqr._scene.data.model.deck_f, _1oqz = _1oqr._scene.data.model.deck_e; _1oqv.fly(_1oqy.ships_main, _1oqz.ships_main, _1oqy.ships_sub, _1oqz.ships_sub, function() {}); } _1oqr._gouchinCutin(); }); } else { if (this._crash_enemy_balloon) { this._crash_enemy_balloon = !1; var _1or0 = this._scene.data.model.deck_f, _1or1 = this._scene.data.model.deck_e; this._scene.view.layer_balloon.fly(_1or0.ships_main, _1or1.ships_main, _1or0.ships_sub, _1or1.ships_sub, function() {}); } this._damageCutin(); } }, _1opn.prototype._damageCutin = function() { var _1or2 = null; for (var _1or3 = this, _1or4 = this._scene.view.layer_cutin, _1or5 = this._taiha_ships.length > 0, _1or6 = this._scene.data.isNight(), _1or7 = [], _1or8 = 0, _1or9 = this._taiha_ships; _1or8 < _1or9.length; _1or8++) { var _1ora = _1or9[_1or8]; _1or7.push(_1ora.mst_id); } this._taiha_ships = Array(); for (var _1orb = 0, _1orc = this._chuha_ships; _1orb < _1orc.length; _1orb++) { _1ora = _1orc[_1orb], _1or7.push(_1ora.mst_id); }(this._clearTaihaList(), this._clearTaihaList(), _1or7.length > 0) ? new _1opj.TaskDamageCutin(_1or4, _1or5, _1or6, _1or7).start(function() { var _1ord = null; _1or3._endCutin(); }): this._endCutin(); }, _1opn.prototype._endCutin = function() { var _1ore = null; this._endTask(); }, _1opn.prototype._clearTaihaList = function() { var _1orf = null; null != this._taiha_ships && this._taiha_ships.length > 0 && (this._taiha_ships = new Array()); }, _1opn.prototype._clearChuhaList = function() { var _1org = null; null != this._chuha_ships && this._chuha_ships.length > 0 && (this._chuha_ships = new Array()); }, _1opn.prototype._log = function(_1orh, _1ori) {}, _1opn; }(_1opg.TaskBase); _1oos.PhaseDamageCutin = _1opk; }, 72010: function(_1orj, _1ork, _1orl) { 'use strict'; var _1orm = null; var _1orn, _1oro = this && this.__extends || (_1orn = function(_1orp, _1orq) { var _1orr = null; return _1orn = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ors, _1ort) { var _1oru = null; _1ors.__proto__ = _1ort; } || function(_1orv, _1orw) { var _1orx = null; for (var _1ory in _1orw) Object.prototype.hasOwnProperty.call(_1orw, _1ory) && (_1orv[_1ory] = _1orw[_1ory]); }, _1orn(_1orp, _1orq); }, function(_1orz, _1os0) { var _1os1 = null; if ('function' != typeof _1os0 && null !== _1os0) throw new TypeError('Class extends value ' + String(_1os0) + ' is not a constructor or null'); function _1os2() { var _1os3 = null; this.constructor = _1orz; } _1orn(_1orz, _1os0), _1orz.prototype = null === _1os0 ? Object.create(_1os0) : (_1os2.prototype = _1os0.prototype, new _1os2()); }); defineModule(_1ork); Object.defineProperty(_1ork, '__esModule', { 'value': !0 }), _1ork.PhaseEnemyEnter = void 0; var _1os4 = function(_1os5) { var _1os6 = null; function _1os7(_1os8, _1os9) { var _1osa = null, _1osb = _1os5.call(this) || this; return _1osb._entered = !1, _1osb._showed_telop = !1, _1osb._scene = _1os8, _1osb._record = _1os9, _1osb; } return _1oro(_1os7, _1os5), _1os7.prototype._start = function() { var _1osc = null; 1 == this._scene.view.bannerGroupLayer.isEnteredEnemy() ? this._endTask() : this._enterEnemies(); }, _1os7.prototype._enterEnemies = function() { var _1osd = null, _1ose = this; this._scene.view.bannerGroupLayer.createEnemyEnterTask().start(function() { var _1osf = null; if (1 == _1ose._record.common.balloon_cell && 'day' == _1ose._record.phase) { var _1osg = _1ose._scene.data.model.deck_f, _1osh = _1ose._scene.data.model.deck_e; _1ose._scene.view.layer_balloon.fly(_1osg.ships_main, _1osh.ships_main, _1osg.ships_sub, _1osh.ships_sub, function() { var _1osi = null; _1ose._entered = !0, _1ose._preEnd(); }); } else _1ose._entered = !0, _1ose._preEnd(); }); var _1osj = this._scene.data.model.deck_e, _1osk = _1osj.formation, _1osl = _1osj.type, _1osm = _1osj.getCountMainDeck(), _1osn = _1osj.getCountSubDeck(), _1oso = this._scene.view.raderLayer.rader_e; this._scene.data.model.map_info.isLongRangeFires() ? (this._showed_telop = !0, _1oso.show(_1osk, _1osl, 0, 0, !0)) : (this._scene.view.layer_info2.once('complete', function() { var _1osp = null; _1ose._showed_telop = !0, _1ose._preEnd(); }), this._scene.view.layer_info2.showCenter(5), _1oso.show(_1osk, _1osl, _1osm, _1osn, !1)); }, _1os7.prototype._preEnd = function() { var _1osq = null, _1osr = this; 0 != this._entered && 0 != this._showed_telop && window.setTimeout(function() { var _1oss = null; _1osr._endTask(); }, 200); }, _1os7; }(_1orl(81755).TaskBase); _1ork.PhaseEnemyEnter = _1os4; }, 7640: function(_1ost, _1osu, _1osv) { 'use strict'; var _1osw = null; var _1osx, _1osy = this && this.__extends || (_1osx = function(_1osz, _1ot0) { var _1ot1 = null; return _1osx = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ot2, _1ot3) { var _1ot4 = null; _1ot2.__proto__ = _1ot3; } || function(_1ot5, _1ot6) { var _1ot7 = null; for (var _1ot8 in _1ot6) Object.prototype.hasOwnProperty.call(_1ot6, _1ot8) && (_1ot5[_1ot8] = _1ot6[_1ot8]); }, _1osx(_1osz, _1ot0); }, function(_1ot9, _1ota) { var _1otb = null; if ('function' != typeof _1ota && null !== _1ota) throw new TypeError('Class extends value ' + String(_1ota) + ' is not a constructor or null'); function _1otc() { var _1otd = null; this.constructor = _1ot9; } _1osx(_1ot9, _1ota), _1ot9.prototype = null === _1ota ? Object.create(_1ota) : (_1otc.prototype = _1ota.prototype, new _1otc()); }), _1ote = this && this.__importDefault || function(_1otf) { var _1otg = null; return _1otf && _1otf.__esModule ? _1otf : { 'default': _1otf }; }; defineModule(_1osu); Object.defineProperty(_1osu, '__esModule', { 'value': !0 }), _1osu.PhaseRation = void 0; var _1oth = _1ote(_1osv(18622)), _1oti = _1osv(66398), _1otj = _1osv(81755), _1otk = _1osv(45054), _1otl = _1osv(5527), _1otm = _1osv(22434), _1otn = _1osv(60744), _1oto = function(_1otp) { var _1otq = null; function _1otr(_1ots, _1ott) { var _1otu = null, _1otv = _1otp.call(this) || this; return _1otv._voice_ship = null, _1otv._scene = _1ots, _1otv._record = _1ott, _1otv; } return _1osy(_1otr, _1otp), _1otr.prototype._start = function() { var _1otw = null; this._record.getRation().length > 0 ? this._ration() : this._ration_combined(); }, _1otr.prototype._ration = function() { var _1otx = null; for (var _1oty = this, _1otz = this._scene.data.model.deck_f.ships, _1ou0 = this._record.getRation(), _1ou1 = this._createDic(_1otz, _1ou0), _1ou2 = new _1otl.ParallelTask(), _1ou3 = 0, _1ou4 = _1otz; _1ou3 < _1ou4.length; _1ou3++) { var _1ou5 = _1ou4[_1ou3]; if (null != _1ou5 && 0 != _1ou1.hasOwnProperty(_1ou5.mem_id.toString())) { var _1ou6 = _1ou1[_1ou5.mem_id]; if (1 == _1ou6.length) _1ou2.add(new _1ou7(this._scene, _1ou5, _1ou6[0])); else { if (2 == _1ou6.length) { var _1ou8 = this._voice_ship == _1ou5; _1ou2.add(new _1ou9(this._scene, _1ou5, _1ou6[0], _1ou6[1], _1ou8)); } } } } _1ou2.start(function() { var _1oua = null; createjs.Tween.get(null).wait(500).call(function() { var _1oub = null; _1oty._ration_combined(); }); }); }, _1otr.prototype._ration_combined = function() { var _1ouc = null, _1oud = this, _1oue = this._record.getRationCombined(); if (_1oue.length > 0) { for (var _1ouf = this._scene.data.model.deck_f.ships, _1oug = this._createDic(_1ouf, _1oue), _1ouh = new _1otl.ParallelTask(), _1oui = 0, _1ouj = _1ouf; _1oui < _1ouj.length; _1oui++) { var _1ouk = _1ouj[_1oui]; if (null != _1ouk && 0 != _1oug.hasOwnProperty(_1ouk.mem_id.toString())) { var _1oul = _1oug[_1ouk.mem_id]; if (1 == _1oul.length) _1ouh.add(new _1ou7(this._scene, _1ouk, _1oul[0])); else { if (2 == _1oul.length) { var _1oum = this._voice_ship == _1ouk; _1ouh.add(new _1ou9(this._scene, _1ouk, _1oul[0], _1oul[1], _1oum)); } } } } _1ouh.start(function() { var _1oun = null; createjs.Tween.get(null).wait(500).call(function() { var _1ouo = null; _1oud._endTask(); }); }); } else this._endTask(); }, _1otr.prototype._endTask = function() { var _1oup = null; this._scene = null, this._record = null, this._voice_ship = null, _1otp.prototype._endTask.call(this); }, _1otr.prototype._createDic = function(_1ouq, _1our) { var _1ous = null; for (var _1out = {}, _1ouu = 0, _1ouv = _1ouq; _1ouu < _1ouv.length; _1ouu++) { var _1ouw = _1ouv[_1ouu]; if (null != _1ouw) { var _1oux = _1ouw.mem_id; if (_1our.indexOf(_1oux) >= 0) { var _1ouy = _1ouw.useRation(); null == this._voice_ship && _1ouy.length > 1 && (this._voice_ship = _1ouw), _1out[_1ouw.mem_id] = _1ouy; } } } return _1out; }, _1otr; }(_1otj.TaskBase); _1osu.PhaseRation = _1oto; var _1ou7 = function(_1ouz) { var _1ov0 = null; function _1ov1(_1ov2, _1ov3, _1ov4) { var _1ov5 = null, _1ov6 = _1ouz.call(this) || this; return _1ov6._scene = _1ov2, _1ov6._ship = _1ov3, _1ov6._ration_mst_id = _1ov4, _1ov6; } return _1osy(_1ov1, _1ouz), _1ov1.prototype._start = function() { var _1ov7 = null, _1ov8 = this, _1ov9 = this._scene.view.bannerGroupLayer.getBanner(this._ship).getGlobalPos(), _1ova = new _1ovb(); _1ova.initialize(this._ration_mst_id), _1ova.x = _1ov9.x + _1oti.BannerSize.W / 2 + 20 - 75, _1ova.y = _1ov9.y, _1ova.alpha = 0; var _1ovc = this._scene.view.bannerGroupLayer.effect_layer; _1ovc.addChild(_1ova), createjs.Tween.get(_1ova).to({ 'x': _1ov9.x + _1oti.BannerSize.W / 2 + 20, 'alpha': 1 }, 200, createjs.Ease.sineOut).wait(250).to({ 'scaleX': 1.2, 'scaleY': 1.2 }, 150, createjs.Ease.sineOut).to({ 'scaleX': 1, 'scaleY': 1 }, 300, createjs.Ease.sineOut).call(function() { var _1ovd = null; new _1otn.TaskBannerParticle(_1ovc, _1ov9).start(); }).wait(1000).to({ 'scaleX': 1.2, 'scaleY': 1.2 }, 150, createjs.Ease.sineOut).to({ 'scaleX': 0, 'scaleY': 0 }, 100).call(function() { var _1ove = null; _1ov8._endTask(); }); }, _1ov1; }(_1otj.TaskBase), _1ou9 = function(_1ovf) { var _1ovg = null; function _1ovh(_1ovi, _1ovj, _1ovk, _1ovl, _1ovm) { var _1ovn = null, _1ovo = _1ovf.call(this) || this; return _1ovo._scene = _1ovi, _1ovo._ship = _1ovj, _1ovo._ration_mst_id_1 = _1ovk, _1ovo._ration_mst_id_2 = _1ovl, _1ovo._voice = _1ovm, _1ovo; } return _1osy(_1ovh, _1ovf), _1ovh.prototype._start = function() { var _1ovp = null, _1ovq = this, _1ovr = this._scene.view.bannerGroupLayer.getBanner(this._ship).getGlobalPos(), _1ovs = new _1ovb(); _1ovs.initialize(this._ration_mst_id_1), _1ovs.x = _1ovr.x + _1oti.BannerSize.W / 2 + 20 - 75, _1ovs.y = _1ovr.y, _1ovs.alpha = 0; var _1ovt = this._scene.view.bannerGroupLayer.effect_layer; _1ovt.addChild(_1ovs), createjs.Tween.get(_1ovs).to({ 'x': _1ovr.x + _1oti.BannerSize.W / 2 + 20, 'alpha': 1 }, 200, createjs.Ease.sineOut).wait(250).to({ 'scaleX': 1.2, 'scaleY': 1.2 }, 150, createjs.Ease.sineOut).to({ 'scaleX': 1, 'scaleY': 1 }, 300, createjs.Ease.sineOut).wait(1000).to({ 'scaleX': 1.2, 'scaleY': 1.2 }, 150, createjs.Ease.sineOut).to({ 'scaleX': 0, 'scaleY': 0 }, 100); var _1ovu = new _1ovb(); _1ovu.initialize(this._ration_mst_id_2), _1ovu.x = _1ovr.x + _1oti.BannerSize.W / 2 + 20 + 75 - 75, _1ovu.y = _1ovr.y, _1ovu.alpha = 0, _1ovt.addChild(_1ovu), createjs.Tween.get(_1ovu).wait(100).to({ 'x': _1ovr.x + _1oti.BannerSize.W / 2 + 20 + 75, 'alpha': 1 }, 200, createjs.Ease.sineOut).wait(250).to({ 'scaleX': 1.2, 'scaleY': 1.2 }, 150, createjs.Ease.sineOut).to({ 'scaleX': 1, 'scaleY': 1 }, 300, createjs.Ease.sineOut).call(function() { var _1ovv = null; new _1otn.TaskBannerParticle(_1ovt, _1ovr).start(), 1 == _1ovq._voice && _1oth.default.sound.voice.play(_1ovq._ship.mst_id.toString(), 26); }).wait(1000).to({ 'scaleX': 1.2, 'scaleY': 1.2 }, 150, createjs.Ease.sineOut).to({ 'scaleX': 0, 'scaleY': 0 }, 100).call(function() { var _1ovw = null; _1ovq._endTask(); }), this._endTask(); }, _1ovh; }(_1otj.TaskBase), _1ovb = function(_1ovx) { var _1ovy = null; function _1ovz() { var _1ow0 = null, _1ow1 = _1ovx.call(this) || this; return _1ow1._img = new PIXI.Sprite(), _1ow1._img.y = -22, _1ow1.addChild(_1ow1._img), _1ow1; } return _1osy(_1ovz, _1ovx), _1ovz.prototype.initialize = function(_1ow2) { var _1ow3 = null; this._img.texture = this._getTexture(_1ow2); }, _1ovz.prototype._getTexture = function(_1ow4) { var _1ow5 = null; switch (_1ow4) { case 145: return _1otm.BATTLE_MAIN.getTexture(59); case 150: return _1otm.BATTLE_MAIN.getTexture(63); case 241: return _1otm.BATTLE_MAIN.getTexture(60); default: return PIXI.Texture.EMPTY; } }, _1ovz; }(_1otk.Container); }, 58715: function(_1ow6, _1ow7, _1ow8) { 'use strict'; var _1ow9 = null; var _1owa, _1owb = this && this.__extends || (_1owa = function(_1owc, _1owd) { var _1owe = null; return _1owa = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1owf, _1owg) { var _1owh = null; _1owf.__proto__ = _1owg; } || function(_1owi, _1owj) { var _1owk = null; for (var _1owl in _1owj) Object.prototype.hasOwnProperty.call(_1owj, _1owl) && (_1owi[_1owl] = _1owj[_1owl]); }, _1owa(_1owc, _1owd); }, function(_1owm, _1own) { var _1owo = null; if ('function' != typeof _1own && null !== _1own) throw new TypeError('Class extends value ' + String(_1own) + ' is not a constructor or null'); function _1owp() { var _1owq = null; this.constructor = _1owm; } _1owa(_1owm, _1own), _1owm.prototype = null === _1own ? Object.create(_1own) : (_1owp.prototype = _1own.prototype, new _1owp()); }); defineModule(_1ow7); Object.defineProperty(_1ow7, '__esModule', { 'value': !0 }), _1ow7.PhaseSupportHou = void 0; var _1owr = _1ow8(81755), _1ows = _1ow8(5527), _1owt = _1ow8(70723), _1owu = _1ow8(22434), _1owv = _1ow8(50614), _1oww = function(_1owx) { var _1owy = null; function _1owz(_1ox0, _1ox1, _1ox2) { var _1ox3 = null, _1ox4 = _1owx.call(this) || this; return _1ox4.DELAYS = [0, 266, 33, 366, 133, 200], _1ox4._scene = _1ox0, _1ox4._data = _1ox1, _1ox4._ships_e = _1ox2, _1ox4._damage_cutin = new _1owv.PhaseDamageCutin(_1ox0), _1ox4; } return _1owb(_1owz, _1owx), _1owz.prototype._start = function() { var _1ox5 = null; for (var _1ox6 = this, _1ox7 = this._scene.view.layer_content, _1ox8 = new _1ows.ParallelTask(), _1ox9 = 0; _1ox9 < 6; _1ox9++) { var _1oxa = new PIXI.Point(180 - 24 * _1ox9, -60), _1oxb = (18 + 3 * _1ox9) / 180 * Math.PI, _1oxc = new _1oxd(_1ox7, _1oxa, _1oxb, this.DELAYS[_1ox9]); _1ox8.add(_1oxc); } var _1oxe = [], _1oxf = this._ships_e; for (_1ox9 = 0; _1ox9 < _1oxf.length; _1ox9++) { var _1oxg = _1oxf[_1ox9]; if (null != _1oxg && !(_1oxg.hp_now <= 0)) { var _1oxh = new _1oxi(this._scene, this._data, this._damage_cutin, _1oxg, 1000); if (_1ox8.add(_1oxh), 1 == this._data.isShield(_1ox9)) { var _1oxj = this._scene.view.bannerGroupLayer.getBanner(_1oxg), _1oxk = this._scene.view.bannerGroupLayer.getShieldTargetBanner(_1oxj); - 1 == _1oxe.indexOf(_1oxk) && _1oxe.push(_1oxk); } } } for (var _1oxl = 0, _1oxm = _1oxe; _1oxl < _1oxm.length; _1oxl++) { var _1oxn = _1oxm[_1oxl]; _1ox8.add(new _1oxo(this._scene, _1oxn, 1000)); } _1owt.SE.play('101'), _1ox8.start(function() { var _1oxp = null; _1ox6._endTask(); }); }, _1owz.prototype._endTask = function() { var _1oxq = null; this._scene = null, this._data = null, this._ships_e = null, _1owx.prototype._endTask.call(this); }, _1owz; }(_1owr.TaskBase); _1ow7.PhaseSupportHou = _1oww; var _1oxi = function(_1oxr) { var _1oxs = null; function _1oxt(_1oxu, _1oxv, _1oxw, _1oxx, _1oxy) { var _1oxz = null; void 0 === _1oxy && (_1oxy = 0); var _1oy0 = _1oxr.call(this) || this; return _1oy0.__start = function() { var _1oy1 = null, _1oy2 = _1oy0._scene.view.bannerGroupLayer.getBanner(_1oy0._defender), _1oy3 = _1oy0._defender.index, _1oy4 = _1oy0._data.getDamage(_1oy3), _1oy5 = _1oy0._data.getHitType(_1oy3), _1oy6 = _1oy0._data.isShield(_1oy3); _1oy2.moveAtDamage(_1oy6); var _1oy7 = _1oy2.getGlobalPos(); _1oy0._scene.view.layer_explosion.playExplosionLarge(_1oy7.x, _1oy7.y), _1oy0._scene.view.layer_damage.showAtBanner(_1oy2, _1oy4, _1oy5), createjs.Tween.get(null).wait(200).call(function() { var _1oy8 = null; _1oy0._damage_cutin.causeDamage(_1oy0._defender, _1oy4), _1oy2.updateHp(_1oy0._defender.hp_now); }).wait(600).call(function() { var _1oy9 = null; _1oy0._endTask(); }); }, _1oy0._scene = _1oxu, _1oy0._data = _1oxv, _1oy0._damage_cutin = _1oxw, _1oy0._defender = _1oxx, _1oy0._delay = _1oxy, _1oy0; } return _1owb(_1oxt, _1oxr), _1oxt.prototype._start = function() { var _1oya = null; this._delay > 0 ? createjs.Tween.get(null).wait(this._delay).call(this.__start) : this.__start(); }, _1oxt.prototype._endTask = function() { var _1oyb = null; this._scene = null, this._data = null, this._damage_cutin = null, this._defender = null, _1oxr.prototype._endTask.call(this); }, _1oxt; }(_1owr.TaskBase), _1oxo = function(_1oyc) { var _1oyd = null; function _1oye(_1oyf, _1oyg, _1oyh) { var _1oyi = null; void 0 === _1oyh && (_1oyh = 0); var _1oyj = _1oyc.call(this) || this; return _1oyj.__start = function() { var _1oyk = null; _1oyj._scene.view.layer_damage.showShieldAtBanner(_1oyj._target), _1oyj._endTask(); }, _1oyj._scene = _1oyf, _1oyj._target = _1oyg, _1oyj._delay = _1oyh, _1oyj; } return _1owb(_1oye, _1oyc), _1oye.prototype._start = function() { var _1oyl = null; this._delay > 0 ? createjs.Tween.get(null).wait(this._delay).call(this.__start) : this.__start(); }, _1oye.prototype._endTask = function() { var _1oym = null; this._scene = null, this._target = null, _1oyc.prototype._endTask.call(this); }, _1oye; }(_1owr.TaskBase), _1oxd = function(_1oyn) { var _1oyo = null; function _1oyp(_1oyq, _1oyr, _1oys, _1oyt) { var _1oyu = null, _1oyv = _1oyn.call(this) || this; return _1oyv.__start = function() { var _1oyw = null; _1oyv._layer.addChild(_1oyv._canvas), _1oyv._canvas.rotation = _1oyv._rotate, _1oyv._createBulletTween(0, 0, 0, 318, -2, 441, -2), _1oyv._createBulletTween(0, -3, 100, 318, -6, 441, -8), _1oyv._createBulletTween(0, 2, 200, 326, 0, 452, -2), _1oyv._createBulletTween(0, -6, 233, 333, 0, 462, 3), _1oyv._createBulletTween(0, 0, 300, 333, -5, 500, -6), _1oyv._createBulletTween(0, 3, 400, 302, -5, 452, -8), _1oyv._createBulletTween(0, 2, 433, 327, 5, 491, 6).call(function() { var _1oyx = null; _1oyv._layer.removeChild(_1oyv._canvas), _1oyv._endTask(); }); }, _1oyv._canvas = new PIXI.Container(), _1oyv._layer = _1oyq, _1oyv._pos = _1oyr, _1oyv._rotate = _1oys, _1oyv._delay = _1oyt, _1oyv; } return _1owb(_1oyp, _1oyn), _1oyp.prototype._start = function() { var _1oyy = null; this._delay > 0 ? createjs.Tween.get(null).wait(this._delay).call(this.__start) : this.__start(); }, _1oyp.prototype._createBulletTween = function(_1oyz, _1oz0, _1oz1, _1oz2, _1oz3, _1oz4, _1oz5) { var _1oz6 = null, _1oz7 = new _1oz8(); return _1oz7.position.set(this._pos.x + _1oyz, this._pos.y + _1oz0), _1oz7.scale.set(0.36), _1oz7.initialize(), this._canvas.addChild(_1oz7), createjs.Tween.get(_1oz7).wait(_1oz1).to({ 'x': this._pos.x + _1oz2, 'y': this._pos.y + _1oz3 }, 500).to({ 'x': this._pos.x + _1oz4, 'y': this._pos.y + _1oz5, 'alpha': 0 }, 200); }, _1oyp; }(_1owr.TaskBase), _1oz8 = function(_1oz9) { var _1oza = null; function _1ozb() { var _1ozc = null, _1ozd = _1oz9.call(this) || this; return _1ozd._img = new PIXI.Sprite(), _1ozd._img.x = -27, _1ozd._img.y = -15, _1ozd.addChild(_1ozd._img), _1ozd; } return _1owb(_1ozb, _1oz9), _1ozb.prototype.initialize = function() { var _1oze = null; this._img.texture = _1owu.BATTLE_MAIN.getTexture(45); }, _1ozb; }(PIXI.Container); }, 97478: function(_1ozf, _1ozg, _1ozh) { 'use strict'; var _1ozi = null; var _1ozj, _1ozk = this && this.__extends || (_1ozj = function(_1ozl, _1ozm) { var _1ozn = null; return _1ozj = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ozo, _1ozp) { var _1ozq = null; _1ozo.__proto__ = _1ozp; } || function(_1ozr, _1ozs) { var _1ozt = null; for (var _1ozu in _1ozs) Object.prototype.hasOwnProperty.call(_1ozs, _1ozu) && (_1ozr[_1ozu] = _1ozs[_1ozu]); }, _1ozj(_1ozl, _1ozm); }, function(_1ozv, _1ozw) { var _1ozx = null; if ('function' != typeof _1ozw && null !== _1ozw) throw new TypeError('Class extends value ' + String(_1ozw) + ' is not a constructor or null'); function _1ozy() { var _1ozz = null; this.constructor = _1ozv; } _1ozj(_1ozv, _1ozw), _1ozv.prototype = null === _1ozw ? Object.create(_1ozw) : (_1ozy.prototype = _1ozw.prototype, new _1ozy()); }); defineModule(_1ozg); Object.defineProperty(_1ozg, '__esModule', { 'value': !0 }), _1ozg.PhaseSupportRai = void 0; var _1p00 = _1ozh(81755), _1p01 = _1ozh(5527), _1p02 = _1ozh(70723), _1p03 = _1ozh(22434), _1p04 = _1ozh(50614), _1p05 = function(_1p06) { var _1p07 = null; function _1p08(_1p09, _1p0a, _1p0b) { var _1p0c = null, _1p0d = _1p06.call(this) || this; return _1p0d.DELAYS = [0, 250, 33, 366, 133, 200], _1p0d._scene = _1p09, _1p0d._data = _1p0a, _1p0d._ships_e = _1p0b, _1p0d._damage_cutin = new _1p04.PhaseDamageCutin(_1p09), _1p0d; } return _1ozk(_1p08, _1p06), _1p08.prototype._start = function() { var _1p0e = null; for (var _1p0f = this, _1p0g = this._scene.view.layer_content, _1p0h = new _1p01.ParallelTask(), _1p0i = [], _1p0j = this._ships_e, _1p0k = 0; _1p0k < _1p0j.length; _1p0k++) { var _1p0l = _1p0j[_1p0k]; if (null != _1p0l && !(_1p0l.hp_now <= 0)) { var _1p0m = this._scene.view.bannerGroupLayer.getBanner(_1p0l); if (null != _1p0m) { var _1p0n = new _1p0o(); _1p0n.initialize(), _1p0n.x = 180 - 24 * _1p0k, _1p0n.y = -90; var _1p0p = _1p0m.getGlobalPos(), _1p0q = new _1p0r(_1p0g, _1p0n, _1p0p, this.DELAYS[_1p0k]); _1p0h.add(_1p0q); var _1p0s = new _1p0t(this._scene, this._data, this._damage_cutin, _1p0l, 1500); if (_1p0h.add(_1p0s), 1 == this._data.isShield(_1p0k)) { var _1p0u = this._scene.view.bannerGroupLayer.getShieldTargetBanner(_1p0m); - 1 == _1p0i.indexOf(_1p0u) && _1p0i.push(_1p0u); } } } } for (var _1p0v = 0, _1p0w = _1p0i; _1p0v < _1p0w.length; _1p0v++) { var _1p0x = _1p0w[_1p0v]; _1p0h.add(new _1p0y(this._scene, _1p0x, 1500)); } _1p02.SE.play('112'), _1p0h.start(function() { var _1p0z = null; _1p0f._endTask(); }); }, _1p08.prototype._endTask = function() { var _1p10 = null; this._scene = null, this._data = null, this._ships_e = null, _1p06.prototype._endTask.call(this); }, _1p08; }(_1p00.TaskBase); _1ozg.PhaseSupportRai = _1p05; var _1p0o = function(_1p11) { var _1p12 = null; function _1p13() { var _1p14 = null, _1p15 = _1p11.call(this) || this; return _1p15.anchor.x = 1, _1p15.anchor.y = 0.5, _1p15; } return _1ozk(_1p13, _1p11), _1p13.prototype.initialize = function() { var _1p16 = null; this.texture = _1p03.BATTLE_MAIN.getTexture(55); }, _1p13; }(PIXI.Sprite), _1p0r = function(_1p17) { var _1p18 = null; function _1p19(_1p1a, _1p1b, _1p1c, _1p1d) { var _1p1e = null, _1p1f = _1p17.call(this) || this; return _1p1f._layer = _1p1a, _1p1f._torpedo = _1p1b, _1p1f._target = _1p1c, _1p1f._delay = _1p1d, _1p1f; } return _1ozk(_1p19, _1p17), _1p19.prototype._start = function() { var _1p1g = null, _1p1h = this, _1p1i = this._target.x - this._torpedo.x, _1p1j = this._target.y - this._torpedo.y; this._torpedo.rotation = Math.atan2(_1p1j, _1p1i), createjs.Tween.get(this._torpedo).wait(this._delay).call(function() { var _1p1k = null; _1p1h._layer.addChild(_1p1h._torpedo); }).to({ 'x': this._target.x, 'y': this._target.y }, 1400).call(function() { var _1p1l = null; _1p1h._layer.removeChild(_1p1h._torpedo), _1p1h._endTask(); }); }, _1p19.prototype._endTask = function() { var _1p1m = null; this._layer = null, this._torpedo = null, this._target = null, _1p17.prototype._endTask.call(this); }, _1p19; }(_1p00.TaskBase), _1p0t = function(_1p1n) { var _1p1o = null; function _1p1p(_1p1q, _1p1r, _1p1s, _1p1t, _1p1u) { var _1p1v = null; void 0 === _1p1u && (_1p1u = 0); var _1p1w = _1p1n.call(this) || this; return _1p1w.__start = function() { var _1p1x = null, _1p1y = _1p1w._scene.view.bannerGroupLayer.getBanner(_1p1w._defender), _1p1z = _1p1w._defender.index, _1p20 = _1p1w._data.getDamage(_1p1z), _1p21 = _1p1w._data.getHitType(_1p1z), _1p22 = _1p1w._data.isShield(_1p1z); _1p1y.moveAtDamage(_1p22); var _1p23 = _1p1y.getGlobalPos(); _1p1w._scene.view.layer_explosion.playExplosionLarge(_1p23.x, _1p23.y), _1p1w._scene.view.layer_damage.showAtBanner(_1p1y, _1p20, _1p21), createjs.Tween.get(null).wait(200).call(function() { var _1p24 = null; _1p1w._damage_cutin.causeDamage(_1p1w._defender, _1p20), _1p1y.updateHp(_1p1w._defender.hp_now); }).wait(600).call(function() { var _1p25 = null; _1p1w._endTask(); }); }, _1p1w._scene = _1p1q, _1p1w._data = _1p1r, _1p1w._damage_cutin = _1p1s, _1p1w._defender = _1p1t, _1p1w._delay = _1p1u, _1p1w; } return _1ozk(_1p1p, _1p1n), _1p1p.prototype._start = function() { var _1p26 = null; this._delay > 0 ? createjs.Tween.get(null).wait(this._delay).call(this.__start) : this.__start(); }, _1p1p.prototype._endTask = function() { var _1p27 = null; this._scene = null, this._data = null, this._damage_cutin = null, this._defender = null, _1p1n.prototype._endTask.call(this); }, _1p1p; }(_1p00.TaskBase), _1p0y = function(_1p28) { var _1p29 = null; function _1p2a(_1p2b, _1p2c, _1p2d) { var _1p2e = null; void 0 === _1p2d && (_1p2d = 0); var _1p2f = _1p28.call(this) || this; return _1p2f.__start = function() { var _1p2g = null; _1p2f._scene.view.layer_damage.showShieldAtBanner(_1p2f._target), _1p2f._endTask(); }, _1p2f._scene = _1p2b, _1p2f._target = _1p2c, _1p2f._delay = _1p2d, _1p2f; } return _1ozk(_1p2a, _1p28), _1p2a.prototype._start = function() { var _1p2h = null; this._delay > 0 ? createjs.Tween.get(null).wait(this._delay).call(this.__start) : this.__start(); }, _1p2a.prototype._endTask = function() { var _1p2i = null; this._scene = null, this._target = null, _1p28.prototype._endTask.call(this); }, _1p2a; }(_1p00.TaskBase); }, 71044: function(_1p2j, _1p2k, _1p2l) { 'use strict'; var _1p2m = null; var _1p2n, _1p2o = this && this.__extends || (_1p2n = function(_1p2p, _1p2q) { var _1p2r = null; return _1p2n = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1p2s, _1p2t) { var _1p2u = null; _1p2s.__proto__ = _1p2t; } || function(_1p2v, _1p2w) { var _1p2x = null; for (var _1p2y in _1p2w) Object.prototype.hasOwnProperty.call(_1p2w, _1p2y) && (_1p2v[_1p2y] = _1p2w[_1p2y]); }, _1p2n(_1p2p, _1p2q); }, function(_1p2z, _1p30) { var _1p31 = null; if ('function' != typeof _1p30 && null !== _1p30) throw new TypeError('Class extends value ' + String(_1p30) + ' is not a constructor or null'); function _1p32() { var _1p33 = null; this.constructor = _1p2z; } _1p2n(_1p2z, _1p30), _1p2z.prototype = null === _1p30 ? Object.create(_1p30) : (_1p32.prototype = _1p30.prototype, new _1p32()); }); defineModule(_1p2k); Object.defineProperty(_1p2k, '__esModule', { 'value': !0 }), _1p2k.PhaseAirBase = void 0; var _1p34 = _1p2l(81755), _1p35 = _1p2l(50614), _1p36 = function(_1p37) { var _1p38 = null; function _1p39(_1p3a, _1p3b) { var _1p3c = null, _1p3d = _1p37.call(this) || this; return _1p3d._scene = _1p3a, _1p3d._record = _1p3b, _1p3d._damage_cutin = new _1p35.PhaseDamageCutin(_1p3a), _1p3d; } return _1p2o(_1p39, _1p37), _1p39.prototype._start = function() {}, _1p39.prototype._endTask = function() { var _1p3e = null, _1p3f = this; this._damage_cutin.start(function() { var _1p3g = null; _1p3f._aaCutin = null, _1p37.prototype._endTask.call(_1p3f); }); }, _1p39; }(_1p34.TaskBase); _1p2k.PhaseAirBase = _1p36; }, 27950: function(_1p3h, _1p3i, _1p3j) { 'use strict'; var _1p3k = null; var _1p3l, _1p3m = this && this.__extends || (_1p3l = function(_1p3n, _1p3o) { var _1p3p = null; return _1p3l = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1p3q, _1p3r) { var _1p3s = null; _1p3q.__proto__ = _1p3r; } || function(_1p3t, _1p3u) { var _1p3v = null; for (var _1p3w in _1p3u) Object.prototype.hasOwnProperty.call(_1p3u, _1p3w) && (_1p3t[_1p3w] = _1p3u[_1p3w]); }, _1p3l(_1p3n, _1p3o); }, function(_1p3x, _1p3y) { var _1p3z = null; if ('function' != typeof _1p3y && null !== _1p3y) throw new TypeError('Class extends value ' + String(_1p3y) + ' is not a constructor or null'); function _1p40() { var _1p41 = null; this.constructor = _1p3x; } _1p3l(_1p3x, _1p3y), _1p3x.prototype = null === _1p3y ? Object.create(_1p3y) : (_1p40.prototype = _1p3y.prototype, new _1p40()); }); defineModule(_1p3i); Object.defineProperty(_1p3i, '__esModule', { 'value': !0 }), _1p3i.PhaseAirUnit = void 0; var _1p42 = _1p3j(55535), _1p43 = _1p3j(56494), _1p44 = _1p3j(71044), _1p45 = _1p3j(20894), _1p46 = _1p3j(72010), _1p47 = _1p3j(29013), _1p48 = _1p3j(81138), _1p49 = _1p3j(43705), _1p4a = _1p3j(13748), _1p4b = function(_1p4c) { var _1p4d = null; function _1p4e() { var _1p4f = null, _1p4g = null !== _1p4c && _1p4c.apply(this, arguments) || this; return _1p4g._current_idx = 0, _1p4g; } return _1p3m(_1p4e, _1p4c), _1p4e.prototype._start = function() { var _1p4h = null, _1p4i = this; if (this._data = this._record.raw.air_unit, 0 == this._hasPhase()) this._endTask(); else { var _1p4j = new _1p4a.UIImageLoader('battle'); _1p4j.add('battle_airunit.json'), _1p4j.load(function() { var _1p4k = null; _1p4i._scene.view.layer_title.show(4), _1p4i._enterEnemy(); }); } }, _1p4e.prototype._enterEnemy = function() { var _1p4l = null, _1p4m = this, _1p4n = new _1p42.SerialTask(); _1p4n.add(new _1p46.PhaseEnemyEnter(this._scene, this._record)), _1p4n.add(new _1p43.WaitTask(600)), _1p4n.start(function() { var _1p4o = null; null == _1p4m._scene.data.model.gekimetsu_data ? _1p4m._showTelop() : _1p4m._beforeAnimation(); }); }, _1p4e.prototype._showTelop = function() { var _1p4p = null, _1p4q = this, _1p4r = this._scene.view.layer_info2; new _1p48.TaskAirUnitAttackStartTelop(_1p4r).start(function() { var _1p4s = null; _1p4q._beforeAnimation(); }); }, _1p4e.prototype._beforeAnimation = function() { var _1p4t = null, _1p4u = this, _1p4v = this._data[this._current_idx], _1p4w = _1p4v.getTaikuShipIndex(), _1p4x = this._scene.data.model.deck_f.ships[_1p4w]; if (null != _1p4x) { 0; var _1p4y = _1p4x.mst_id, _1p4z = _1p4x.isDamaged(), _1p50 = _1p4v.getTaikuSlotMstIDs(); this._aaCutin = new _1p45.CutinAntiAircraft(_1p4y, _1p4z, _1p50), this._aaCutin.preload(function() { var _1p51 = null; _1p4u._showTouchPlane(_1p4v); }); } else this._showTouchPlane(_1p4v); }, _1p4e.prototype._showTouchPlane = function(_1p52) { var _1p53 = null, _1p54 = this, _1p55 = _1p52.getTouchPlaneFriend(), _1p56 = _1p52.getTouchPlaneEnemy(); new _1p49.TaskShowTouchPlane(this._scene, _1p55, _1p56).start(function() { var _1p57 = null; _1p54._animation(_1p52); }); }, _1p4e.prototype._animation = function(_1p58) { var _1p59 = null, _1p5a = this, _1p5b = this._scene.data.model.deck_f.ships, _1p5c = this._scene.data.model.deck_e.ships, _1p5d = this._current_idx == this._data.length - 1 ? this._record.raw.rescue_type : 0; new _1p47.TaskAirUnit(this._scene, _1p58, _1p5b, _1p5c, this._damage_cutin, this._aaCutin, _1p5d).start(function() { var _1p5e = null; _1p5a._afterAnimetion(); }); }, _1p4e.prototype._afterAnimetion = function() { var _1p5f = null, _1p5g = this._scene.view.raderLayer; _1p5g.rader_e.touch_plane.hide(), _1p5g.rader_f.touch_plane.hide(), this._current_idx++, this._current_idx < this._data.length ? this._beforeAnimation() : this._endTask(); }, _1p4e.prototype._endTask = function() { var _1p5h = null, _1p5i = this; _1p4a.UIImageLoader.clearMemoryCacheDetail('battle', 'airunit'), this._scene.view.layer_title.hide(function() { var _1p5j = null; _1p4c.prototype._endTask.call(_1p5i); }); }, _1p4e.prototype._hasPhase = function() { var _1p5k = null; return null != this._data && this._data.length > 0; }, _1p4e; }(_1p44.PhaseAirBase); _1p3i.PhaseAirUnit = _1p4b; }, 61074: function(_1p5l, _1p5m, _1p5n) { 'use strict'; var _1p5o = null; var _1p5p, _1p5q = this && this.__extends || (_1p5p = function(_1p5r, _1p5s) { var _1p5t = null; return _1p5p = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1p5u, _1p5v) { var _1p5w = null; _1p5u.__proto__ = _1p5v; } || function(_1p5x, _1p5y) { var _1p5z = null; for (var _1p60 in _1p5y) Object.prototype.hasOwnProperty.call(_1p5y, _1p60) && (_1p5x[_1p60] = _1p5y[_1p60]); }, _1p5p(_1p5r, _1p5s); }, function(_1p61, _1p62) { var _1p63 = null; if ('function' != typeof _1p62 && null !== _1p62) throw new TypeError('Class extends value ' + String(_1p62) + ' is not a constructor or null'); function _1p64() { var _1p65 = null; this.constructor = _1p61; } _1p5p(_1p61, _1p62), _1p61.prototype = null === _1p62 ? Object.create(_1p62) : (_1p64.prototype = _1p62.prototype, new _1p64()); }); defineModule(_1p5m); Object.defineProperty(_1p5m, '__esModule', { 'value': !0 }), _1p5m.PhaseAirUnitJet = void 0; var _1p66 = _1p5n(55535), _1p67 = _1p5n(56494), _1p68 = _1p5n(71044), _1p69 = _1p5n(20894), _1p6a = _1p5n(72010), _1p6b = _1p5n(72745), _1p6c = _1p5n(43705), _1p6d = _1p5n(13748), _1p6e = function(_1p6f) { var _1p6g = null; function _1p6h() { var _1p6i = null; return null !== _1p6f && _1p6f.apply(this, arguments) || this; } return _1p5q(_1p6h, _1p6f), _1p6h.prototype._start = function() { var _1p6j = null, _1p6k = this; if (this._data = this._record.raw.air_unit_jet, null == this._data) this._endTask(); else { var _1p6l = new _1p6d.UIImageLoader('battle'); _1p6l.add('battle_airunit.json'), _1p6l.load(function() { var _1p6m = null; _1p6k._preload(); }); } }, _1p6h.prototype._preload = function() { var _1p6n = null, _1p6o = this, _1p6p = this._data.getTaikuShipIndex(), _1p6q = this._scene.data.model.deck_f.ships[_1p6p]; if (null != _1p6q) { 0; var _1p6r = _1p6q.mst_id, _1p6s = _1p6q.isDamaged(), _1p6t = this._data.getTaikuSlotMstIDs(); this._aaCutin = new _1p69.CutinAntiAircraft(_1p6r, _1p6s, _1p6t), this._aaCutin.preload(function() { var _1p6u = null; _1p6o._enterEnemy(); }); } else this._enterEnemy(); }, _1p6h.prototype._enterEnemy = function() { var _1p6v = null, _1p6w = this, _1p6x = new _1p66.SerialTask(); _1p6x.add(new _1p6a.PhaseEnemyEnter(this._scene, this._record)), _1p6x.add(new _1p67.WaitTask(600)), _1p6x.start(function() { var _1p6y = null; _1p6w._showTouchPlane(); }); }, _1p6h.prototype._showTouchPlane = function() { var _1p6z = null, _1p70 = this, _1p71 = this._data, _1p72 = _1p71.getTouchPlaneFriend(), _1p73 = _1p71.getTouchPlaneEnemy(); new _1p6c.TaskShowTouchPlane(this._scene, _1p72, _1p73).start(function() { var _1p74 = null; _1p70._animation(_1p71); }); }, _1p6h.prototype._animation = function(_1p75) { var _1p76 = null, _1p77 = this, _1p78 = this._scene.data.model.deck_f.ships, _1p79 = this._scene.data.model.deck_e.ships; new _1p6b.TaskAirUnitJet(this._scene, _1p75, _1p78, _1p79, this._damage_cutin, this._aaCutin).start(function() { var _1p7a = null; _1p77._afterAnimetion(); }); }, _1p6h.prototype._afterAnimetion = function() { var _1p7b = null, _1p7c = this._scene.view.raderLayer; _1p7c.rader_e.touch_plane.hide(), _1p7c.rader_f.touch_plane.hide(), this._endTask(); }, _1p6h; }(_1p68.PhaseAirBase); _1p5m.PhaseAirUnitJet = _1p6e; }, 54126: function(_1p7d, _1p7e, _1p7f) { 'use strict'; var _1p7g = null; var _1p7h, _1p7i = this && this.__extends || (_1p7h = function(_1p7j, _1p7k) { var _1p7l = null; return _1p7h = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1p7m, _1p7n) { var _1p7o = null; _1p7m.__proto__ = _1p7n; } || function(_1p7p, _1p7q) { var _1p7r = null; for (var _1p7s in _1p7q) Object.prototype.hasOwnProperty.call(_1p7q, _1p7s) && (_1p7p[_1p7s] = _1p7q[_1p7s]); }, _1p7h(_1p7j, _1p7k); }, function(_1p7t, _1p7u) { var _1p7v = null; if ('function' != typeof _1p7u && null !== _1p7u) throw new TypeError('Class extends value ' + String(_1p7u) + ' is not a constructor or null'); function _1p7w() { var _1p7x = null; this.constructor = _1p7t; } _1p7h(_1p7t, _1p7u), _1p7t.prototype = null === _1p7u ? Object.create(_1p7u) : (_1p7w.prototype = _1p7u.prototype, new _1p7w()); }); defineModule(_1p7e); Object.defineProperty(_1p7e, '__esModule', { 'value': !0 }), _1p7e.PhaseAirWar = void 0; var _1p7y = _1p7f(71044), _1p7z = _1p7f(20894), _1p80 = _1p7f(54018), _1p81 = _1p7f(43705), _1p82 = _1p7f(75638), _1p83 = function(_1p84) { var _1p85 = null; function _1p86() { var _1p87 = null; return null !== _1p84 && _1p84.apply(this, arguments) || this; } return _1p7i(_1p86, _1p84), _1p86.prototype._start = function() { var _1p88 = null; this._data = this._record.raw.air_war, 0 == this._hasPhase() ? this._endTask() : this._preload(); }, _1p86.prototype._preload = function() { var _1p89 = null, _1p8a = this, _1p8b = this._data.getTaikuShipIndex(), _1p8c = this._scene.data.model.deck_f.ships[_1p8b]; if (null != _1p8c) { 0; var _1p8d = _1p8c.mst_id, _1p8e = _1p8c.isDamaged(), _1p8f = this._data.getTaikuSlotMstIDs(); this._aaCutin = new _1p7z.CutinAntiAircraft(_1p8d, _1p8e, _1p8f), this._aaCutin.preload(function() { var _1p8g = null; _1p8a._selectCaptain(); }); } else this._selectCaptain(); }, _1p86.prototype._selectCaptain = function() { var _1p8h = null, _1p8i, _1p8j; if (this._data.plane_from_f.length > 0) { var _1p8k = this._data.plane_from_f[0]; _1p8i = this._scene.data.model.deck_f.ships[_1p8k]; } this._data.plane_from_e.length > 0 && 0 == this._scene.data.model.map_info.isAirRaid() && (_1p8k = this._data.plane_from_e[0], _1p8j = this._scene.data.model.deck_e.ships[_1p8k]), null != _1p8i || null != _1p8j ? this._cutin(_1p8i, _1p8j) : this._showTouchPlane(); }, _1p86.prototype._cutin = function(_1p8l, _1p8m) { var _1p8n = null, _1p8o = this, _1p8p = new _1p80.CutinFunnel(); _1p8p.addCutinFromModel(_1p8l, !1), _1p8p.addCutinFromModel(_1p8m, !1); var _1p8q = _1p8p.view; _1p8p.preload_task.start(function() { var _1p8r = null; _1p8o._scene.view.layer_title.show(4), _1p8o._scene.view.layer_cutin.addChild(_1p8q), _1p8p.start(function() { var _1p8s = null; _1p8o._scene.view.layer_cutin.removeChild(_1p8q), _1p8o._showTouchPlane(); }); }); }, _1p86.prototype._showTouchPlane = function() { var _1p8t = null, _1p8u = this, _1p8v = this._data.getTouchPlaneFriend(), _1p8w = this._data.getTouchPlaneEnemy(); new _1p81.TaskShowTouchPlane(this._scene, _1p8v, _1p8w).start(function() { var _1p8x = null; _1p8u._main(); }); }, _1p86.prototype._main = function() { var _1p8y = null, _1p8z = this, _1p90 = this._scene.data.model.deck_f.ships, _1p91 = this._scene.data.model.deck_e.ships; new _1p82.TaskAirWar(this._scene, this._data, _1p90, _1p91, this._damage_cutin, this._aaCutin).start(function() { var _1p92 = null; _1p8z._endTask(); }); }, _1p86.prototype._endTask = function() { var _1p93 = null, _1p94 = this, _1p95 = this._scene.view.raderLayer; _1p95.rader_e.touch_plane.hide(), _1p95.rader_f.touch_plane.hide(), this._scene.view.layer_title.hide(function() { var _1p96 = null; _1p84.prototype._endTask.call(_1p94); }); }, _1p86.prototype._hasPhase = function() { var _1p97 = null; if (null == this._data) return !1; if (1 == this._data.stage3_f.hasDamage()) return !0; if (1 == this._data.stage3_e.hasDamage()) return !0; var _1p98 = !1; (0 == this._record.raw.sakuteki.isSuccess_f() || 0 == this._data.plane_from_f.length || 1 == this._scene.data.model.deck_e.isSubmarineAll()) && (_1p98 = !0); var _1p99 = !1; return (0 == this._record.raw.sakuteki.isSuccess_e() || 0 == this._data.plane_from_e.length || 1 == this._scene.data.model.deck_f.isSubmarineAll()) && (_1p99 = !0), 1 != _1p98 || 1 != _1p99; }, _1p86; }(_1p7y.PhaseAirBase); _1p7e.PhaseAirWar = _1p83; }, 60356: function(_1p9a, _1p9b, _1p9c) { 'use strict'; var _1p9d = null; var _1p9e, _1p9f = this && this.__extends || (_1p9e = function(_1p9g, _1p9h) { var _1p9i = null; return _1p9e = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1p9j, _1p9k) { var _1p9l = null; _1p9j.__proto__ = _1p9k; } || function(_1p9m, _1p9n) { var _1p9o = null; for (var _1p9p in _1p9n) Object.prototype.hasOwnProperty.call(_1p9n, _1p9p) && (_1p9m[_1p9p] = _1p9n[_1p9p]); }, _1p9e(_1p9g, _1p9h); }, function(_1p9q, _1p9r) { var _1p9s = null; if ('function' != typeof _1p9r && null !== _1p9r) throw new TypeError('Class extends value ' + String(_1p9r) + ' is not a constructor or null'); function _1p9t() { var _1p9u = null; this.constructor = _1p9q; } _1p9e(_1p9q, _1p9r), _1p9q.prototype = null === _1p9r ? Object.create(_1p9r) : (_1p9t.prototype = _1p9r.prototype, new _1p9t()); }); defineModule(_1p9b); Object.defineProperty(_1p9b, '__esModule', { 'value': !0 }), _1p9b.PhaseAirWar2 = void 0; var _1p9v = function(_1p9w) { var _1p9x = null; function _1p9y() { var _1p9z = null; return null !== _1p9w && _1p9w.apply(this, arguments) || this; } return _1p9f(_1p9y, _1p9w), _1p9y.prototype._start = function() { var _1pa0 = null; this._data = this._record.raw.air_war2, 0 == this._hasPhase() ? this._endTask() : (this._scene.view.layer_title.show(4), this._preload()); }, _1p9y; }(_1p9c(54126).PhaseAirWar); _1p9b.PhaseAirWar2 = _1p9v; }, 77112: function(_1pa1, _1pa2, _1pa3) { 'use strict'; var _1pa4 = null; var _1pa5, _1pa6 = this && this.__extends || (_1pa5 = function(_1pa7, _1pa8) { var _1pa9 = null; return _1pa5 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1paa, _1pab) { var _1pac = null; _1paa.__proto__ = _1pab; } || function(_1pad, _1pae) { var _1paf = null; for (var _1pag in _1pae) Object.prototype.hasOwnProperty.call(_1pae, _1pag) && (_1pad[_1pag] = _1pae[_1pag]); }, _1pa5(_1pa7, _1pa8); }, function(_1pah, _1pai) { var _1paj = null; if ('function' != typeof _1pai && null !== _1pai) throw new TypeError('Class extends value ' + String(_1pai) + ' is not a constructor or null'); function _1pak() { var _1pal = null; this.constructor = _1pah; } _1pa5(_1pah, _1pai), _1pah.prototype = null === _1pai ? Object.create(_1pai) : (_1pak.prototype = _1pai.prototype, new _1pak()); }); defineModule(_1pa2); Object.defineProperty(_1pa2, '__esModule', { 'value': !0 }), _1pa2.PhaseAirWarJet = void 0; var _1pam = _1pa3(54018), _1pan = _1pa3(54126), _1pao = _1pa3(30596), _1pap = function(_1paq) { var _1par = null; function _1pas() { var _1pat = null; return null !== _1paq && _1paq.apply(this, arguments) || this; } return _1pa6(_1pas, _1paq), _1pas.prototype._start = function() { var _1pau = null; this._data = this._record.raw.air_war_jet, 0 == this._hasPhase() ? this._endTask() : this._preload(); }, _1pas.prototype._cutin = function(_1pav, _1paw) { var _1pax = null, _1pay = this, _1paz = new _1pam.CutinFunnel(); _1paz.addCutinFromModel(_1pav, !0), _1paz.addCutinFromModel(_1paw, !0); var _1pb0 = _1paz.view; _1paz.preload_task.start(function() { var _1pb1 = null; _1pay._scene.view.layer_cutin.addChild(_1pb0), _1paz.start(function() { var _1pb2 = null; _1pay._scene.view.layer_cutin.removeChild(_1pb0), _1pay._showTouchPlane(); }); }); }, _1pas.prototype._main = function() { var _1pb3 = null, _1pb4 = this, _1pb5 = this._scene.data.model.deck_f.ships, _1pb6 = this._scene.data.model.deck_e.ships; new _1pao.TaskAirWarJet(this._scene, this._data, _1pb5, _1pb6, this._damage_cutin, this._aaCutin).start(function() { var _1pb7 = null; _1pb4._endTask(); }); }, _1pas; }(_1pan.PhaseAirWar); _1pa2.PhaseAirWarJet = _1pap; }, 55447: function(_1pb8, _1pb9, _1pba) { 'use strict'; var _1pbb = null; var _1pbc, _1pbd = this && this.__extends || (_1pbc = function(_1pbe, _1pbf) { var _1pbg = null; return _1pbc = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1pbh, _1pbi) { var _1pbj = null; _1pbh.__proto__ = _1pbi; } || function(_1pbk, _1pbl) { var _1pbm = null; for (var _1pbn in _1pbl) Object.prototype.hasOwnProperty.call(_1pbl, _1pbn) && (_1pbk[_1pbn] = _1pbl[_1pbn]); }, _1pbc(_1pbe, _1pbf); }, function(_1pbo, _1pbp) { var _1pbq = null; if ('function' != typeof _1pbp && null !== _1pbp) throw new TypeError('Class extends value ' + String(_1pbp) + ' is not a constructor or null'); function _1pbr() { var _1pbs = null; this.constructor = _1pbo; } _1pbc(_1pbo, _1pbp), _1pbo.prototype = null === _1pbp ? Object.create(_1pbp) : (_1pbr.prototype = _1pbp.prototype, new _1pbr()); }); defineModule(_1pb9); Object.defineProperty(_1pb9, '__esModule', { 'value': !0 }), _1pb9.PhaseAllyAirAttack = void 0; var _1pbt = _1pba(55535), _1pbu = _1pba(85492), _1pbv = _1pba(94663), _1pbw = _1pba(96692), _1pbx = _1pba(54018), _1pby = _1pba(43705), _1pbz = _1pba(20894), _1pc0 = function(_1pc1) { var _1pc2 = null; function _1pc3(_1pc4, _1pc5) { var _1pc6 = null, _1pc7 = _1pc1.call(this, _1pc4, _1pc5) || this; return _1pc7._scene = _1pc4, _1pc7._record = _1pc5, _1pc7; } return _1pbd(_1pc3, _1pc1), _1pc3.prototype._start = function() { var _1pc8 = null; this._data = this._record.getAllyAirAttack(), null == this._data ? this._endTask() : this._opening(); }, _1pc3.prototype._opening = function() { var _1pc9 = null, _1pca = this, _1pcb = this._scene.view.bannerGroupLayer, _1pcc = this._scene.view.layer_cutin, _1pcd = new _1pbv.PhaseAllyOpening(this._data, _1pcb, _1pcc); _1pcd.preload(function() { var _1pce = null; _1pcb.addAllyBannerGroup(_1pca._data.ships), _1pcd.start(function() { var _1pcf = null; _1pca._preload(); }); }); }, _1pc3.prototype._preload = function() { var _1pcg = null, _1pch = this, _1pci = this._data.getTaikuShipIndex(), _1pcj = this._data.ships[_1pci]; if (null != _1pcj) { 0; var _1pck = _1pcj.mst_id, _1pcl = _1pcj.isDamaged(), _1pcm = this._data.getTaikuSlotMstIDs(); this._aaCutin = new _1pbz.CutinAntiAircraft(_1pck, _1pcl, _1pcm), this._aaCutin.preload(function() { var _1pcn = null; _1pch._selectCaptain(); }); } else this._selectCaptain(); }, _1pc3.prototype._selectCaptain = function() { var _1pco = null, _1pcp, _1pcq; if (this._data.plane_from_f.length > 0) { var _1pcr = this._data.plane_from_f[0]; _1pcp = this._data.ships[_1pcr]; } this._data.plane_from_e.length > 0 && 0 == this._scene.data.model.map_info.isAirRaid() && (_1pcr = this._data.plane_from_e[0], _1pcq = this._scene.data.model.deck_e.ships[_1pcr]), null != _1pcp || null != _1pcq ? this._cutin(_1pcp, _1pcq) : this._showTouchPlane(); }, _1pc3.prototype._cutin = function(_1pcs, _1pct) { var _1pcu = null, _1pcv = this, _1pcw = new _1pbx.CutinFunnel(); _1pcw.addCutinFromModel(_1pcs, !1), _1pcw.addCutinFromModel(_1pct, !1); var _1pcx = _1pcw.view; _1pcw.preload_task.start(function() { var _1pcy = null; _1pcv._scene.view.layer_title.show(4), _1pcv._scene.view.layer_cutin.addChild(_1pcx), _1pcw.start(function() { var _1pcz = null; _1pcv._scene.view.layer_cutin.removeChild(_1pcx), _1pcv._showTouchPlane(); }); }); }, _1pc3.prototype._showTouchPlane = function() { var _1pd0 = null, _1pd1 = this, _1pd2 = this._data.getTouchPlaneFriend(), _1pd3 = this._data.getTouchPlaneEnemy(); new _1pby.TaskShowTouchPlane(this._scene, _1pd2, _1pd3).start(function() { var _1pd4 = null; _1pd1._main(); }); }, _1pc3.prototype._main = function() { var _1pd5 = null, _1pd6 = this, _1pd7 = this._data.ships, _1pd8 = this._scene.data.model.deck_e.ships; new _1pbw.TaskAllyAirWar(this._scene, this._data, _1pd7, _1pd8, this._damage_cutin, this._aaCutin).start(function() { var _1pd9 = null; _1pd6._scene.view.layer_title.hide(function() { var _1pda = null; _1pd6._moveShips(); }); }); }, _1pc3.prototype._moveShips = function() { var _1pdb = null, _1pdc = this, _1pdd = this._scene.view.bannerGroupLayer, _1pde = new _1pbt.SerialTask(); _1pde.add(new _1pbu.TweenTask().addTweens(_1pdd.ally.createExitTweensUpward())), _1pde.add(_1pdd.createFriendEnterTask()), _1pde.start(function() { var _1pdf = null; _1pdd.removeAllyBannerGroup(), _1pdc._endTask(); }); }, _1pc3.prototype._endTask = function() { var _1pdg = null, _1pdh = this._scene.view.raderLayer; _1pdh.rader_e.touch_plane.hide(), _1pdh.rader_f.touch_plane.hide(), this._scene = null, this._record = null, this._data = null, _1pc1.prototype._endTask.call(this); }, _1pc3; }(_1pba(71044).PhaseAirBase); _1pb9.PhaseAllyAirAttack = _1pc0; }, 94663: function(_1pdi, _1pdj, _1pdk) { 'use strict'; var _1pdl = null; var _1pdm, _1pdn = this && this.__extends || (_1pdm = function(_1pdo, _1pdp) { var _1pdq = null; return _1pdm = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1pdr, _1pds) { var _1pdt = null; _1pdr.__proto__ = _1pds; } || function(_1pdu, _1pdv) { var _1pdw = null; for (var _1pdx in _1pdv) Object.prototype.hasOwnProperty.call(_1pdv, _1pdx) && (_1pdu[_1pdx] = _1pdv[_1pdx]); }, _1pdm(_1pdo, _1pdp); }, function(_1pdy, _1pdz) { var _1pe0 = null; if ('function' != typeof _1pdz && null !== _1pdz) throw new TypeError('Class extends value ' + String(_1pdz) + ' is not a constructor or null'); function _1pe1() { var _1pe2 = null; this.constructor = _1pdy; } _1pdm(_1pdy, _1pdz), _1pdy.prototype = null === _1pdz ? Object.create(_1pdz) : (_1pe1.prototype = _1pdz.prototype, new _1pe1()); }), _1pe3 = this && this.__importDefault || function(_1pe4) { var _1pe5 = null; return _1pe4 && _1pe4.__esModule ? _1pe4 : { 'default': _1pe4 }; }; defineModule(_1pdj); Object.defineProperty(_1pdj, '__esModule', { 'value': !0 }), _1pdj.PhaseAllyOpening = void 0; var _1pe6 = _1pe3(_1pdk(18622)), _1pe7 = _1pdk(88471), _1pe8 = _1pdk(5527), _1pe9 = _1pdk(55535), _1pea = _1pdk(85492), _1peb = _1pdk(81755), _1pec = _1pdk(79899), _1ped = _1pdk(20137), _1pee = _1pdk(35380), _1pef = function(_1peg) { var _1peh = null; function _1pei(_1pej, _1pek, _1pel) { var _1pem = null, _1pen = _1peg.call(this) || this; return _1pen._model = _1pej, _1pen._list = _1pej.getDisplayList(), _1pen._bannerGroupLayer = _1pek, _1pen._cutinLayer = _1pel, _1pen; } return _1pdn(_1pei, _1peg), _1pei.prototype.preload = function(_1peo) { var _1pep = null; for (var _1peq = new _1ped.ShipLoader(), _1per = 0, _1pes = this._list; _1per < _1pes.length; _1per++) { var _1pet = (_1peu = _1pes[_1per].ship).mst_id, _1pev = _1peu.isDamaged(); _1peq.add(_1pet, _1pev, 'full'); } for (var _1pew = 0, _1pex = this._model.ships; _1pew < _1pex.length; _1pew++) { var _1peu; if (null != (_1peu = _1pex[_1pew])) { var _1pey = _1peu.mst_id; _1pev = _1peu.isDamaged(), (_1peq.add(_1pey, _1pev, 'banner'), 0 == _1pev && _1peq.add(_1pey, !0, 'banner')); } } null == _1peo ? _1peq.load() : _1peq.load(_1peo); }, _1pei.prototype._start = function() { var _1pez = null; this._charaLayer = new PIXI.Container(), this._cutinLayer.addChild(this._charaLayer), this._clickLayer = new PIXI.Container(), this._cutinLayer.addChild(this._clickLayer), this._showShip1(); }, _1pei.prototype._showShip1 = function() { var _1pf0 = null, _1pf1 = this, _1pf2 = this._list[0].ship, _1pf3 = _1pf2.mst_id, _1pf4 = _1pf2.isDamaged(), _1pf5 = _1pe6.default.resources.getShip(_1pf3, _1pf4, 'full'), _1pf6 = new PIXI.Sprite(_1pf5), _1pf7 = _1pe6.default.model.ship_graph.get(_1pf3).getBattleOffset(_1pf4); _1pf6.x = -285 + _1pf7.x, _1pf6.y = -87 + _1pf7.y, _1pf6.alpha = 0, this._charaLayer.addChild(_1pf6), createjs.Tween.get(_1pf6).to({ 'x': 165 + _1pf7.x, 'alpha': 1 }, 700, createjs.Ease.cubicOut).call(function() { var _1pf8 = null; _1pf1._playVoice1(_1pf6); }); }, _1pei.prototype._playVoice1 = function(_1pf9) { var _1pfa = null, _1pfb = this, _1pfc = this._list[0].ship.mst_id, _1pfd = this._list[0].voiceID, _1pfe = new _1pff(_1pfc.toString(), _1pfd, this._clickLayer, !0), _1pfg = new _1pea.TweenTask(); _1pfg.addTweens(this._bannerGroupLayer.friends_combined.createExitTweensUpDown()); var _1pfh = new _1pea.TweenTask(); _1pfh.addTweens(this._bannerGroupLayer.friends.createExitTweens()); var _1pfi = new _1pea.TweenTask(); _1pfi.addTweens(this._bannerGroupLayer.ally.createEnterTweens()); var _1pfj = new _1pe9.SerialTask(); _1pfj.add(_1pfg), _1pfj.add(_1pfh), _1pfj.add(_1pfi), _1pfj.add(new _1pe7.FuncTask(function() { var _1pfk = null; _1pfe.clickable = !0; })); var _1pfl = new _1pe8.ParallelTask(); _1pfl.add(_1pfe), _1pfl.add(_1pfj), _1pfl.start(function() { var _1pfm = null; _1pfb._list.length > 1 ? _1pfb._showShip2(_1pf9) : createjs.Tween.get(_1pf9).to({ 'alpha': 0 }, 300).call(function() { var _1pfn = null; _1pfb._charaLayer.removeChild(_1pf9), _1pfb._endTask(); }); }); }, _1pei.prototype._showShip2 = function(_1pfo) { var _1pfp = null, _1pfq = this, _1pfr = this._list[1].ship, _1pfs = _1pfr.mst_id, _1pft = _1pfr.isDamaged(), _1pfu = _1pe6.default.resources.getShip(_1pfs, _1pft, 'full'), _1pfv = new PIXI.Sprite(_1pfu), _1pfw = _1pe6.default.model.ship_graph.get(_1pfs).getBattleOffset(_1pft); _1pfv.x = -360 + _1pfw.x, _1pfv.y = -87 + _1pfw.y, _1pfv.alpha = 0, this._charaLayer.addChild(_1pfv), createjs.Tween.get(_1pfv).to({ 'x': 15 + _1pfw.x, 'alpha': 1 }, 600, createjs.Ease.cubicOut).call(function() { var _1pfx = null; _1pfq._playVoice2(_1pfv); }), createjs.Tween.get(_1pfo).to({ 'alpha': 0 }, 300).call(function() { var _1pfy = null; _1pfq._charaLayer.removeChild(_1pfo); }); }, _1pei.prototype._playVoice2 = function(_1pfz) { var _1pg0 = null, _1pg1 = this, _1pg2 = this._list[1].ship.mst_id, _1pg3 = this._list[1].voiceID, _1pg4 = this._list.length > 2, _1pg5 = new _1pff(_1pg2.toString(), _1pg3, this._clickLayer, _1pg4); _1pg5.clickable = !0, _1pg5.start(function() { var _1pg6 = null; _1pg4 ? _1pg1._showShip3(_1pfz) : createjs.Tween.get(_1pfz).to({ 'alpha': 0 }, 300).call(function() { var _1pg7 = null; _1pg1._charaLayer.removeChild(_1pfz), _1pg1._endTask(); }); }); }, _1pei.prototype._showShip3 = function(_1pg8) { var _1pg9 = null, _1pga = this, _1pgb = this._list[2].ship, _1pgc = _1pgb.mst_id, _1pgd = _1pgb.isDamaged(), _1pge = _1pe6.default.resources.getShip(_1pgc, _1pgd, 'full'), _1pgf = new PIXI.Sprite(_1pge), _1pgg = _1pe6.default.model.ship_graph.get(_1pgc).getBattleOffset(_1pgd); _1pgf.x = -435 + _1pgg.x, _1pgf.y = -87 + _1pgg.y, _1pgf.alpha = 0, this._charaLayer.addChild(_1pgf), createjs.Tween.get(_1pgf).to({ 'x': -135 + _1pgg.x, 'alpha': 1 }, 600, createjs.Ease.cubicOut).call(function() { var _1pgh = null; _1pga._playVoice3(_1pg8); }), createjs.Tween.get(_1pg8).to({ 'alpha': 0 }, 300).call(function() { var _1pgi = null; _1pga._charaLayer.removeChild(_1pg8); }); }, _1pei.prototype._playVoice3 = function(_1pgj) { var _1pgk = null, _1pgl = this, _1pgm = this._list[2].ship.mst_id, _1pgn = this._list[2].voiceID, _1pgo = new _1pff(_1pgm.toString(), _1pgn, this._clickLayer, !1); _1pgo.clickable = !0, _1pgo.start(function() { var _1pgp = null; createjs.Tween.get(_1pgj).to({ 'alpha': 0 }, 300).call(function() { var _1pgq = null; _1pgl._charaLayer.removeChild(_1pgj), _1pgl._endTask(); }); }); }, _1pei.prototype._endTask = function() { var _1pgr = null; this._model = null, this._list = null, this._bannerGroupLayer = null, this._cutinLayer = null, null != this._charaLayer.parent && this._charaLayer.parent.removeChild(this._charaLayer), this._charaLayer = null, null != this._clickLayer.parent && this._clickLayer.parent.removeChild(this._clickLayer), this._clickLayer = null, _1peg.prototype._endTask.call(this); }, _1pei; }(_1peb.TaskBase); _1pdj.PhaseAllyOpening = _1pef; var _1pff = function(_1pgs) { var _1pgt = null; function _1pgu(_1pgv, _1pgw, _1pgx, _1pgy) { var _1pgz = null, _1ph0 = _1pgs.call(this) || this; return _1ph0._clickArea = null, _1ph0._voice = null, _1ph0._onClick = function() { var _1ph1 = null; _1ph0._stop_onClick && null != _1ph0._voice && _1pe6.default.sound.voice.stop(_1ph0._voice), _1ph0._endTask(); }, _1ph0._mstID = _1pgv, _1ph0._voiceID = _1pgw, _1ph0._clickLayer = _1pgx, _1ph0._stop_onClick = _1pgy, _1ph0; } return _1pdn(_1pgu, _1pgs), Object.defineProperty(_1pgu.prototype, 'clickable', { 'get': function() { var _1ph2 = null; return null != this._clickArea; }, 'set': function(_1ph3) { var _1ph4 = null; if (_1ph3) { if (null != this._clickArea) return; this._clickArea = new _1pec.AreaBox(0), this._clickArea.buttonMode = !0, this._clickArea.once(_1pee.EventType.CLICK, this._onClick), null != this._clickLayer && this._clickLayer.addChild(this._clickArea); } else { if (null == this._clickArea) return; null != this._clickArea.parent && this._clickArea.parent.removeChild(this._clickArea), this._clickArea.off(_1pee.EventType.CLICK, this._onClick), this._clickArea = null; } }, 'enumerable': !1, 'configurable': !0 }), _1pgu.prototype._start = function() { var _1ph5 = null, _1ph6 = this; this._voice = _1pe6.default.sound.voice.play(this._mstID, this._voiceID, function() { var _1ph7 = null; _1ph6._onEnd(); }); }, _1pgu.prototype._onEnd = function() { var _1ph8 = null; this._endTask(); }, _1pgu.prototype._endTask = function() { var _1ph9 = null; this.clickable = !1, this._clickLayer = null, this._voice = null, _1pgs.prototype._endTask.call(this); }, _1pgu; }(_1peb.TaskBase); }, 34581: function(_1pha, _1phb, _1phc) { 'use strict'; var _1phd = null; var _1phe, _1phf = this && this.__extends || (_1phe = function(_1phg, _1phh) { var _1phi = null; return _1phe = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1phj, _1phk) { var _1phl = null; _1phj.__proto__ = _1phk; } || function(_1phm, _1phn) { var _1pho = null; for (var _1php in _1phn) Object.prototype.hasOwnProperty.call(_1phn, _1php) && (_1phm[_1php] = _1phn[_1php]); }, _1phe(_1phg, _1phh); }, function(_1phq, _1phr) { var _1phs = null; if ('function' != typeof _1phr && null !== _1phr) throw new TypeError('Class extends value ' + String(_1phr) + ' is not a constructor or null'); function _1pht() { var _1phu = null; this.constructor = _1phq; } _1phe(_1phq, _1phr), _1phq.prototype = null === _1phr ? Object.create(_1phr) : (_1pht.prototype = _1phr.prototype, new _1pht()); }), _1phv = this && this.__importDefault || function(_1phw) { var _1phx = null; return _1phw && _1phw.__esModule ? _1phw : { 'default': _1phw }; }; defineModule(_1phb); Object.defineProperty(_1phb, '__esModule', { 'value': !0 }), _1phb.PhaseEnding = void 0; var _1phy = _1phv(_1phc(18622)), _1phz = _1phc(81755), _1pi0 = _1phc(73418), _1pi1 = function(_1pi2) { var _1pi3 = null; function _1pi4(_1pi5, _1pi6) { var _1pi7 = null, _1pi8 = _1pi2.call(this) || this; return _1pi8._scene = _1pi5, _1pi8._record = _1pi6, _1pi8; } return _1phf(_1pi4, _1pi2), Object.defineProperty(_1pi4.prototype, 'scene', { 'get': function() { var _1pi9 = null; return this._scene; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1pi4.prototype, 'record', { 'get': function() { var _1pia = null; return this._record; }, 'enumerable': !1, 'configurable': !0 }), _1pi4.prototype._start = function() { var _1pib = null; this._waitGaugeExplodeAnimation(); }, _1pi4.prototype._waitGaugeExplodeAnimation = function() { var _1pic = null, _1pid = this; 1 == this._scene.view.layer_gauge.isAnimation() ? createjs.Tween.get(null).wait(500).call(function() { var _1pie = null; _1pid._waitGaugeExplodeAnimation(); }) : this._fadeOutBGM(); }, _1pi4.prototype._fadeOutBGM = function() { var _1pif = null, _1pig = this, _1pih = this._scene.data.model.map_info.area_id, _1pii = this._scene.data.model.map_info.map_no, _1pij = this._scene.data.model.map_info.isBoss(); (1 != _1phy.default.model.mst_bgm.isSameBGM(_1pih, _1pii, _1pij) || 1 != this._record.raw.isNightBattle()) && 1 == _1phy.default.sound.bgm.playing ? (_1phy.default.sound.bgm.fadeOut(2000), createjs.Tween.get(this).wait(2000).call(function() { var _1pik = null; _1pig._playBossLastGasp(); })) : this._playBossLastGasp(); }, _1pi4.prototype._playBossLastGasp = function() { var _1pil = null; if (_1phy.default.option.vol_voice <= 0) this._wait(); else { var _1pim = this._scene.data.model.deck_e.ships[0]; if (0 != (0 == _1pim.damageType && _1pim.hp_init > 0)) { var _1pin = this._scene.view.layer_gauge.isExploded(), _1pio = _1pi0.EnemyVoiceConst.getLastGaspVoiceID(this._scene, _1pim); _1pin && _1pio > 0 || (_1pio = _1pi0.EnemyVoiceConst.getSourGrapesVoiceID(this._scene, _1pim)) > 0 ? this._playBossVoice(_1pio) : this._wait(); } else this._wait(); } }, _1pi4.prototype._playBossVoice = function(_1pip) { var _1piq = null, _1pir = this; _1phy.default.sound.voice.play('9998', _1pip, function() { var _1pis = null; _1pir._wait(); }); }, _1pi4.prototype._wait = function() { var _1pit = null, _1piu = this; createjs.Tween.get(this).wait(1000).call(function() { var _1piv = null; _1piu._endTask(); }); }, _1pi4; }(_1phz.TaskBase); _1phb.PhaseEnding = _1pi1; }, 80472: function(_1piw, _1pix, _1piy) { 'use strict'; var _1piz = null; var _1pj0, _1pj1 = this && this.__extends || (_1pj0 = function(_1pj2, _1pj3) { var _1pj4 = null; return _1pj0 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1pj5, _1pj6) { var _1pj7 = null; _1pj5.__proto__ = _1pj6; } || function(_1pj8, _1pj9) { var _1pja = null; for (var _1pjb in _1pj9) Object.prototype.hasOwnProperty.call(_1pj9, _1pjb) && (_1pj8[_1pjb] = _1pj9[_1pjb]); }, _1pj0(_1pj2, _1pj3); }, function(_1pjc, _1pjd) { var _1pje = null; if ('function' != typeof _1pjd && null !== _1pjd) throw new TypeError('Class extends value ' + String(_1pjd) + ' is not a constructor or null'); function _1pjf() { var _1pjg = null; this.constructor = _1pjc; } _1pj0(_1pjc, _1pjd), _1pjc.prototype = null === _1pjd ? Object.create(_1pjd) : (_1pjf.prototype = _1pjd.prototype, new _1pjf()); }), _1pjh = this && this.__importDefault || function(_1pji) { var _1pjj = null; return _1pji && _1pji.__esModule ? _1pji : { 'default': _1pji }; }; defineModule(_1pix); Object.defineProperty(_1pix, '__esModule', { 'value': !0 }), _1pix.PhaseFormation = void 0; var _1pjk = _1pjh(_1piy(21359)), _1pjl = _1piy(57616), _1pjm = _1piy(81755), _1pjn = _1piy(54011), _1pjo = _1piy(13748), _1pjp = _1piy(70723), _1pjq = _1piy(46085), _1pjr = _1piy(72010), _1pjs = function(_1pjt) { var _1pju = null; function _1pjv(_1pjw, _1pjx) { var _1pjy = null, _1pjz = _1pjt.call(this) || this; return _1pjz._scene = _1pjw, _1pjz._record = _1pjx, _1pjz._layer = new _1pk0(), _1pjz; } return _1pj1(_1pjv, _1pjt), _1pjv.prototype._start = function() { var _1pk1 = null, _1pk2 = this; if (null != this._scene.data.model.gekimetsu_data) this._endTask(); else { if (this._scene.data.model.map_info.isAirRaid()) this._endTask(); else { if (this._scene.data.model.map_info.isLongRangeFires()) this._endTask(); else new _1pjr.PhaseEnemyEnter(this._scene, this._record).start(function() { var _1pk3 = null, _1pk4 = _1pk2._record.common.formation_id_f, _1pk5 = _1pk2._record.common.formation_id_e, _1pk6 = _1pk2._record.common.formation_id_c; _1pk2._layer.preInitialize(_1pk4, _1pk5, function() { var _1pk7 = null; _1pk2._layer.initialize(_1pk6), _1pk2._scene.view.layer_info.addChild(_1pk2._layer), _1pk2._anim1(); }); }); } } }, _1pjv.prototype._anim1 = function() { var _1pk8 = null, _1pk9 = this, _1pka = this._scene.view.raderLayer, _1pkb = _1pka.rader_f, _1pkc = _1pka.rader_e; this._scene.view.layer_cutin.addChild(_1pkb), this._scene.view.layer_cutin.addChild(_1pkc), createjs.Tween.get(this._layer.barTop.scale).to({ 'y': 1 }, 300), createjs.Tween.get(this._layer.barBottom.scale).to({ 'y': 1 }, 300).call(function() { var _1pkd = null; _1pk9._anim2(); }); }, _1pjv.prototype._anim2 = function() { var _1pke = null, _1pkf = this, _1pkg = _1pjk.default.width / 2 - 399 + this._layer.formation_name_f.width / 2; createjs.Tween.get(this._layer.formation_name_f).to({ 'x': _1pkg }, 400, createjs.Ease.sineOut), _1pkg = _1pjk.default.width / 2 + 399 - this._layer.formation_name_e.width / 2, createjs.Tween.get(this._layer.formation_name_e).to({ 'x': _1pkg }, 400, createjs.Ease.sineOut).call(function() { var _1pkh = null; _1pkf._anim3(); }); }, _1pjv.prototype._anim3 = function() { var _1pki = null, _1pkj = this; this._layer.cross.play(), this._layer.cross.once('complete', function() { var _1pkk = null; _1pkj._anim4(); }); }, _1pjv.prototype._anim4 = function() { var _1pkl = null, _1pkm = this; createjs.Tween.get(this._layer.advantageous).to({ 'scaleX': 1, 'scaleY': 1, 'alpha': 1 }, 250).wait(250).call(function() { var _1pkn = null; _1pkm._anim5(); }); }, _1pjv.prototype._anim5 = function() { var _1pko = null, _1pkp = this; createjs.Tween.get(this._layer.barTop.scale).wait(200).to({ 'y': 0 }, 200), createjs.Tween.get(this._layer.barBottom.scale).wait(200).to({ 'y': 0 }, 200); var _1pkq = 0 - this._layer.formation_name_f.width / 2; createjs.Tween.get(this._layer.formation_name_f).to({ 'x': _1pkq }, 400, createjs.Ease.sineIn), _1pkq = _1pjk.default.width + this._layer.formation_name_e.width / 2, createjs.Tween.get(this._layer.formation_name_e).to({ 'x': _1pkq }, 400, createjs.Ease.sineIn), createjs.Tween.get(this._layer.cross).to({ 'x': -_1pjk.default.width / 2 }, 400), createjs.Tween.get(this._layer.advantageous).to({ 'x': -_1pjk.default.width / 2 }, 400).call(function() { var _1pkr = null; _1pkp._preEnd(); }); }, _1pjv.prototype._preEnd = function() { var _1pks = null; this._scene.view.layer_info.removeChild(this._layer), this._layer.dispose(), this._scene.view.raderLayer.resetChildren(), this._endTask(); }, _1pjv; }(_1pjm.TaskBase); _1pix.PhaseFormation = _1pjs; var _1pk0 = function(_1pkt) { var _1pku = null; function _1pkv() { var _1pkw = null; return _1pkt.call(this) || this; } return _1pj1(_1pkv, _1pkt), Object.defineProperty(_1pkv.prototype, 'barTop', { 'get': function() { var _1pkx = null; return this._barTop; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1pkv.prototype, 'barBottom', { 'get': function() { var _1pky = null; return this._barBottom; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1pkv.prototype, 'formation_name_f', { 'get': function() { var _1pkz = null; return this._formation_name_f; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1pkv.prototype, 'formation_name_e', { 'get': function() { var _1pl0 = null; return this._formation_name_e; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1pkv.prototype, 'cross', { 'get': function() { var _1pl1 = null; return this._cross; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1pkv.prototype, 'advantageous', { 'get': function() { var _1pl2 = null; return this._advantageous; }, 'enumerable': !1, 'configurable': !0 }), _1pkv.prototype.preInitialize = function(_1pl3, _1pl4, _1pl5) { var _1pl6 = null, _1pl7 = this; this._initializeBars(), this._formation_name_f = new PIXI.Sprite(), this._formation_name_f.anchor.set(0.5), this.addChild(this._formation_name_f), this._formation_name_e = new PIXI.Sprite(), this._formation_name_e.anchor.set(0.5), this.addChild(this._formation_name_e); var _1pl8 = new _1pjo.UIImageLoader('battle'); _1pl8.add('battle_jin.json'); var _1pl9 = 'battle_jin_f', _1pla = 'battle_jin/'['concat'](_1pjl.MathUtil.zeroPadding(_1pl3, 3), '_f.png'); _1pl8.add(_1pla, _1pl9); var _1plb = 'battle_jin_e', _1plc = 'battle_jin/'['concat'](_1pjl.MathUtil.zeroPadding(_1pl4, 3), '_e.png'); _1pl8.add(_1plc, _1plb), _1pl8.load(function() { var _1pld = null; _1pl7._formation_name_f.texture = PIXI.Texture.fromFrame(_1pl9), _1pl7._formation_name_f.x = _1pjk.default.width + _1pl7._formation_name_f.width / 2, _1pl7._formation_name_f.y = _1pjk.default.height / 2 + 243, _1pl7._formation_name_e.texture = PIXI.Texture.fromFrame(_1plb), _1pl7._formation_name_e.x = 0 - _1pl7._formation_name_e.width / 2, _1pl7._formation_name_e.y = _1pjk.default.height / 2 - 243, _1pl5(); }); }, _1pkv.prototype.initialize = function(_1ple) { var _1plf = null; if (this._cross = new _1plg(), this._cross.position.set(_1pjk.default.width / 2, _1pjk.default.height / 2), this.addChild(this._cross), this._cross.initialize(_1ple), 3 == _1ple) { this._cross.y -= 38; var _1plh = _1pjq.BATTLE_JIN.getTexture(6); this._advantageous = new _1pjn.Sprite(_1plh); } else { if (4 == _1ple) this._cross.y -= 38, _1plh = _1pjq.BATTLE_JIN.getTexture(5), this._advantageous = new _1pjn.Sprite(_1plh); else this._advantageous = new _1pjn.Sprite(PIXI.Texture.EMPTY); } this._advantageous.anchor.set(0.5), this._advantageous.position.set(_1pjk.default.width / 2, 458), this._advantageous.scale.set(2), this._advantageous.alpha = 0, this.addChild(this._advantageous); }, _1pkv.prototype.dispose = function() { var _1pli = null; _1pjo.UIImageLoader.clearMemoryCacheDetail('battle', 'jin'), this.removeChildren(); }, _1pkv.prototype._createBar = function() { var _1plj = null, _1plk = new PIXI.Graphics(); return _1plk.beginFill(0, 0.8), _1plk.drawRect(-_1pjk.default.width / 2, -83, _1pjk.default.width, 165), _1plk.endFill(), _1plk; }, _1pkv.prototype._initializeBars = function() { var _1pll = null; this._barTop = this._createBar(), this._barBottom = this._createBar(), this._barTop.position.set(_1pjk.default.width / 2, _1pjk.default.height / 2 - 243), this._barBottom.position.set(_1pjk.default.width / 2, _1pjk.default.height / 2 + 243), this._barTop.scale.y = 0, this._barBottom.scale.y = 0, this.addChild(this._barTop), this.addChild(this._barBottom); }, _1pkv; }(PIXI.Container), _1plg = function(_1plm) { var _1pln = null; function _1plo() { var _1plp = null, _1plq = _1plm.call(this) || this; return _1plq._playSE = function() { var _1plr = null; _1pjp.SE.play('109'); }, _1plq._c1 = new _1pjn.Sprite(), _1plq._c2 = new _1pjn.Sprite(), _1plq._c3 = new _1pjn.Sprite(), _1plq._c1.anchor.set(0.5), _1plq._c2.anchor.set(0.5), _1plq._c3.anchor.set(0.5), _1plq; } return _1pj1(_1plo, _1plm), _1plo.prototype.initialize = function(_1pls) { var _1plt = null; this._c1.position.x = -278, this._c3.position.x = 278, this._c1.scale.set(2), this._c2.scale.set(2), this._c3.scale.set(2), 1 == _1pls ? (this._c1.texture = _1pjq.BATTLE_JIN.getTexture(0), this._c2.texture = _1pjq.BATTLE_JIN.getTexture(2), this._c3.texture = _1pjq.BATTLE_JIN.getTexture(3)) : 2 == _1pls ? (this._c1.texture = _1pjq.BATTLE_JIN.getTexture(1), this._c2.texture = _1pjq.BATTLE_JIN.getTexture(2), this._c3.texture = _1pjq.BATTLE_JIN.getTexture(3)) : (this._c1.texture = _1pjq.BATTLE_JIN.getTexture(4), this._c2.texture = _1pjq.BATTLE_JIN.getTexture(7), this._c3.texture = _1pjq.BATTLE_JIN.getTexture(3)); }, _1plo.prototype.play = function() { var _1plu = null, _1plv = this; createjs.Tween.get(this._c1).call(function() { var _1plw = null; _1plv.addChild(_1plv._c1); }).to({ 'scaleX': 1, 'scaleY': 1 }, 300).call(this._playSE), createjs.Tween.get(this._c2).wait(200).call(function() { var _1plx = null; _1plv.addChild(_1plv._c2); }).to({ 'scaleX': 1, 'scaleY': 1 }, 300).call(this._playSE), createjs.Tween.get(this._c3).wait(400).call(function() { var _1ply = null; _1plv.addChild(_1plv._c3); }).to({ 'scaleX': 1, 'scaleY': 1 }, 300).call(function() { var _1plz = null; _1plv._playSE(), _1plv.emit('complete'); }); }, _1plo; }(PIXI.Container); }, 87966: function(_1pm0, _1pm1, _1pm2) { 'use strict'; var _1pm3 = null; var _1pm4, _1pm5 = this && this.__extends || (_1pm4 = function(_1pm6, _1pm7) { var _1pm8 = null; return _1pm4 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1pm9, _1pma) { var _1pmb = null; _1pm9.__proto__ = _1pma; } || function(_1pmc, _1pmd) { var _1pme = null; for (var _1pmf in _1pmd) Object.prototype.hasOwnProperty.call(_1pmd, _1pmf) && (_1pmc[_1pmf] = _1pmd[_1pmf]); }, _1pm4(_1pm6, _1pm7); }, function(_1pmg, _1pmh) { var _1pmi = null; if ('function' != typeof _1pmh && null !== _1pmh) throw new TypeError('Class extends value ' + String(_1pmh) + ' is not a constructor or null'); function _1pmj() { var _1pmk = null; this.constructor = _1pmg; } _1pm4(_1pmg, _1pmh), _1pmg.prototype = null === _1pmh ? Object.create(_1pmh) : (_1pmj.prototype = _1pmh.prototype, new _1pmj()); }), _1pml = this && this.__spreadArray || function(_1pmm, _1pmn, _1pmo) { var _1pmp = null; if (_1pmo || 2 === arguments.length) { for (var _1pmq, _1pmr = 0, _1pms = _1pmn.length; _1pmr < _1pms; _1pmr++) !_1pmq && _1pmr in _1pmn || (_1pmq || (_1pmq = Array.prototype.slice.call(_1pmn, 0, _1pmr)), _1pmq[_1pmr] = _1pmn[_1pmr]); } return _1pmm.concat(_1pmq || Array.prototype.slice.call(_1pmn)); }, _1pmt = this && this.__importDefault || function(_1pmu) { var _1pmv = null; return _1pmu && _1pmu.__esModule ? _1pmu : { 'default': _1pmu }; }; defineModule(_1pm1); Object.defineProperty(_1pm1, '__esModule', { 'value': !0 }), _1pm1.PhaseHougeki = void 0; var _1pmw = _1pmt(_1pm2(18622)), _1pmx = _1pm2(51805), _1pmy = _1pm2(81755), _1pmz = _1pm2(72010), _1pn0 = _1pm2(32358), _1pn1 = _1pm2(70767), _1pn2 = _1pm2(86489), _1pn3 = _1pm2(74545), _1pn4 = _1pm2(17981), _1pn5 = _1pm2(39926), _1pn6 = _1pm2(61968), _1pn7 = _1pm2(7814), _1pn8 = _1pm2(5606), _1pn9 = _1pm2(35615), _1pna = _1pm2(5582), _1pnb = _1pm2(88010), _1pnc = _1pm2(64060), _1pnd = _1pm2(61071), _1pne = _1pm2(8865), _1pnf = _1pm2(13748), _1png = _1pm2(78650), _1pnh = _1pm2(22235), _1pni = function(_1pnj) { var _1pnk = null; function _1pnl(_1pnm, _1pnn, _1pno) { var _1pnp = null, _1pnq = _1pnj.call(this) || this; return _1pnq._current_index = 0, _1pnq._scene = _1pnm, _1pnq._record = _1pnn, _1pnq._data = _1pno, _1pnq; } return _1pm5(_1pnl, _1pnj), _1pnl.prototype._start = function() { var _1pnr = null, _1pns = this; null == this._data || null == this._data.list || 0 == this._data.list.length ? this._endTask() : new _1pmz.PhaseEnemyEnter(this._scene, this._record).start(function() { var _1pnt = null; _1pns._scene.view.layer_title.show(5), _1pns._hougekiCycle(); }); }, _1pnl.prototype._hougekiCycle = function() { var _1pnu = null; if (this._current_index < this._data.list.length) { var _1pnv = this._data.list[this._current_index]; this._current_index++, this._hougeki(_1pnv); } else this._endTask(); }, _1pnl.prototype._hougeki = function(_1pnw) { var _1pnx = null, _1pny = _1pnw.type; 0 == _1pny ? this._normal(_1pnw) : 2 == _1pny ? this._double(_1pnw) : 7 == _1pny ? this._kuboCI(_1pnw) : 100 == _1pny ? this._nelson_touch(_1pnw) : 101 == _1pny ? this._nagato_cutin(_1pnw) : 102 == _1pny ? this._mutsu_cutin(_1pnw) : 103 == _1pny ? this._colorado_cutin(_1pnw) : 401 == _1pny || 400 == _1pny ? this._yamato_cutin(_1pnw) : 200 == _1pny ? this._zuiunCutin(_1pnw) : 300 == _1pny || 301 == _1pny || 302 == _1pny ? this._ss_cutin(_1pnw) : this._special(_1pnw); }, _1pnl.prototype._normal = function(_1pnz) { var _1po0 = null, _1po1 = this, _1po2 = this._scene, _1po3 = this._getAShip(_1pnz.a_index, _1pnz.flag), _1po4 = this._getDShip(_1pnz.d_indexes[0], _1pnz.flag); if (null != _1po3 && null != _1po4) { var _1po5 = _1pnz.getSlotitem(0), _1po6 = _1pnz.getDamage(0), _1po7 = _1pnz.getHitType(0), _1po8 = _1pnz.isShield(0), _1po9 = this._getNormalAttackType(_1po3, _1po4, _1po5), _1poa = this._scene.data.isNight(), _1pob = this._scene.data.isAtollCell(), _1poc = _1png.BattleCommon.getDaihatsuEffectType(_1po3, _1po4, { 'night': _1poa, 'atoll_cell': _1pob }), _1pod = _1png.BattleCommon.getKakuzaEffectType(_1po3, _1po4); if (1 == this._hasRocketEffect(_1po3, _1po4, _1po9))(_1poe = new _1pn8.PhaseAttackRocket(_1po2, _1po3, _1po4, _1po6, _1po7, _1po8)).setOptionalEffects(_1poc), _1poe.start(function() { var _1pof = null; _1po1._hougekiCycle(); }); else { if (_1po2.data.model.map_info.isLongRangeFires())(_1poe = new _1pn0.PhaseAttackNormal(_1po2, _1po3, _1po4, _1po5, _1po6, _1po7, _1po8)).setOptionalEffects(_1poc), _1poe.start(function() { var _1pog = null; _1po1._hougekiCycle(); }); else { if (0 == _1po9) { if (0 != _1pod)(_1poe = new _1pn7.PhaseAttackKakuza(_1po2, _1po3, _1po4, _1po5, _1po6, _1po7, _1po8, _1pod)).start(function() { var _1poh = null; _1po1._hougekiCycle(); }); else(_1poe = new _1pn0.PhaseAttackNormal(_1po2, _1po3, _1po4, _1po5, _1po6, _1po7, _1po8)).setOptionalEffects(_1poc), _1poe.start(function() { var _1poi = null; _1po1._hougekiCycle(); }); } else { if (1 == _1po9)(_1poe = new _1pn1.PhaseAttackKansaiki(_1po2, _1po3, _1po4, _1po5, _1po6, _1po7, _1po8)).setOptionalEffects(_1poc), _1poe.start(function() { var _1poj = null; _1po1._hougekiCycle(); }); else { if (2 == _1po9)(_1poe = new _1pn2.PhaseAttackBakurai(_1po2, _1po3, _1po4, _1po5, _1po6, _1po7, _1po8)).setOptionalEffects(_1poc), _1poe.start(function() { var _1pok = null; _1po1._hougekiCycle(); }); else { if (3 != _1po9) throw new Error(); var _1poe; (_1poe = new _1pn3.PhaseAttackRaigeki(_1po2, _1po3, _1po4, _1po5, _1po6, _1po7, _1po8)).setOptionalEffects(_1poc), _1poe.start(function() { var _1pol = null; _1po1._hougekiCycle(); }); } } } } } } }, _1pnl.prototype._double = function(_1pom) { var _1pon = null, _1poo = this, _1pop = this._getAShip(_1pom.a_index, _1pom.flag), _1poq = this._getDShip(_1pom.d_indexes[0], _1pom.flag), _1por = _1pom.getSlotitem(0), _1pos = _1pom.getDamage(0), _1pot = _1pom.getHitType(0), _1pou = _1pom.isShield(0), _1pov = this._getDShip(_1pom.d_indexes[1], _1pom.flag), _1pow = _1pom.getSlotitem(1), _1pox = _1pom.getDamage(1), _1poy = _1pom.getHitType(1), _1poz = _1pom.isShield(1); new _1pn4.PhaseAttackDouble(this._scene, _1pop, _1poq, _1por, _1pos, _1pot, _1pou, _1pov, _1pow, _1pox, _1poy, _1poz).start(function() { var _1pp0 = null; _1poo._hougekiCycle(); }); }, _1pnl.prototype._kuboCI = function(_1pp1) { var _1pp2 = null, _1pp3 = this, _1pp4 = this._scene, _1pp5 = this._getAShip(_1pp1.a_index, _1pp1.flag), _1pp6 = this._getDShip(_1pp1.d_indexes[0], _1pp1.flag), _1pp7 = _1pp1.getSlotitem(0), _1pp8 = _1pp1.getSlotitem(1), _1pp9 = _1pp1.getSlotitem(2), _1ppa = _1pp1.getDamage(0), _1ppb = _1pp1.getHitType(0), _1ppc = _1pp1.isShield(0), _1ppd = this._scene.data.isNight(), _1ppe = this._scene.data.isAtollCell(), _1ppf = _1png.BattleCommon.getDaihatsuEffectType(_1pp5, _1pp6, { 'night': _1ppd, 'atoll_cell': _1ppe }), _1ppg = new _1pn6.PhaseAttackKuboCutin(_1pp4, _1pp5, _1pp6, _1pp7, _1pp8, _1pp9, _1ppa, _1ppb, _1ppc); _1ppg.setOptionalEffects(_1ppf), _1ppg.start(function() { var _1pph = null; _1pp3._hougekiCycle(); }); }, _1pnl.prototype._nelson_touch = function(_1ppi) { var _1ppj = null; for (var _1ppk = this, _1ppl = [], _1ppm = 0; _1ppm < 3; _1ppm++) { var _1ppn = this._getDShip(_1ppi.d_indexes[_1ppm], _1ppi.flag); _1ppn && _1ppl.push(_1ppn); } var _1ppo = [_1ppi.getDamage(0), _1ppi.getDamage(1), _1ppi.getDamage(2)], _1ppp = [_1ppi.getHitType(0), _1ppi.getHitType(1), _1ppi.getHitType(2)], _1ppq = [_1ppi.isShield(0), _1ppi.isShield(1), _1ppi.isShield(2)]; new _1pn9.PhaseNelsonTouch(this._scene, _1ppl, _1ppo, _1ppp, _1ppq).start(function() { var _1ppr = null; _1ppk._hougekiCycle(); }); }, _1pnl.prototype._nagato_cutin = function(_1pps) { var _1ppt = null; for (var _1ppu = this, _1ppv = [], _1ppw = 0; _1ppw < 3; _1ppw++) { var _1ppx = this._getDShip(_1pps.d_indexes[_1ppw], _1pps.flag); _1ppx && _1ppv.push(_1ppx); } var _1ppy = [_1pps.getDamage(0), _1pps.getDamage(1), _1pps.getDamage(2)], _1ppz = [_1pps.getHitType(0), _1pps.getHitType(1), _1pps.getHitType(2)], _1pq0 = [_1pps.isShield(0), _1pps.isShield(1), _1pps.isShield(2)]; new _1pna.PhaseNagatoAttack(this._scene, _1ppv, _1ppy, _1ppz, _1pq0).start(function() { var _1pq1 = null; _1ppu._hougekiCycle(); }); }, _1pnl.prototype._mutsu_cutin = function(_1pq2) { var _1pq3 = null; for (var _1pq4 = this, _1pq5 = [], _1pq6 = 0; _1pq6 < 3; _1pq6++) { var _1pq7 = this._getDShip(_1pq2.d_indexes[_1pq6], _1pq2.flag); _1pq7 && _1pq5.push(_1pq7); } var _1pq8 = [_1pq2.getDamage(0), _1pq2.getDamage(1), _1pq2.getDamage(2)], _1pq9 = [_1pq2.getHitType(0), _1pq2.getHitType(1), _1pq2.getHitType(2)], _1pqa = [_1pq2.isShield(0), _1pq2.isShield(1), _1pq2.isShield(2)]; new _1pnb.PhaseMutsuAttack(this._scene, _1pq5, _1pq8, _1pq9, _1pqa).start(function() { var _1pqb = null; _1pq4._hougekiCycle(); }); }, _1pnl.prototype._colorado_cutin = function(_1pqc) { var _1pqd = null; for (var _1pqe = this, _1pqf = [], _1pqg = 0; _1pqg < 3; _1pqg++) { var _1pqh = this._getDShip(_1pqc.d_indexes[_1pqg], _1pqc.flag); _1pqh && _1pqf.push(_1pqh); } var _1pqi = [_1pqc.getDamage(0), _1pqc.getDamage(1), _1pqc.getDamage(2)], _1pqj = [_1pqc.getHitType(0), _1pqc.getHitType(1), _1pqc.getHitType(2)], _1pqk = [_1pqc.isShield(0), _1pqc.isShield(1), _1pqc.isShield(2)]; new _1pnc.PhaseColoradoAttack(this._scene, _1pqf, _1pqi, _1pqj, _1pqk).start(function() { var _1pql = null; _1pqe._hougekiCycle(); }); }, _1pnl.prototype._yamato_cutin = function(_1pqm) { var _1pqn = null; for (var _1pqo = this, _1pqp = 401 == _1pqm.type ? 2 : 3, _1pqq = [], _1pqr = [], _1pqs = this._scene.data.model.deck_f.ships, _1pqt = 0; _1pqt < _1pqp; _1pqt++) _1pqq.push(_1pqs[_1pqt]); for (_1pqt = 0; _1pqt < 3; _1pqt++) { var _1pqu = this._getDShip(_1pqm.d_indexes[_1pqt], _1pqm.flag); _1pqu && _1pqr.push(_1pqu); } var _1pqv = [_1pqm.getDamage(0), _1pqm.getDamage(1), _1pqm.getDamage(2)], _1pqw = [_1pqm.getHitType(0), _1pqm.getHitType(1), _1pqm.getHitType(2)], _1pqx = [_1pqm.isShield(0), _1pqm.isShield(1), _1pqm.isShield(2)]; new _1pnd.PhaseYamatoAttack(this._scene, _1pqq, _1pqr, _1pqv, _1pqw, _1pqx).start(function() { var _1pqy = null; _1pqo._hougekiCycle(); }); }, _1pnl.prototype._ss_cutin = function(_1pqz) { var _1pr0 = null; for (var _1pr1 = this, _1pr2 = [], _1pr3 = 0; _1pr3 < _1pqz.d_indexes.length; _1pr3++) { var _1pr4 = { 'defender': this._getDShip(_1pqz.d_indexes[_1pr3], _1pqz.flag), 'damage': _1pqz.getDamage(_1pr3), 'hit': _1pqz.getHitType(_1pr3), 'shield': _1pqz.isShield(_1pr3) }; _1pr2.push(_1pr4); } new _1pnh.PhaseSSAttack(this._scene, function(_1pr5) { var _1pr6 = null; switch (_1pr5) { case 300: return [_1pr1._getAShip(1, 0), _1pr1._getAShip(2, 0)]; case 301: return [_1pr1._getAShip(2, 0), _1pr1._getAShip(3, 0)]; case 302: return [_1pr1._getAShip(1, 0), _1pr1._getAShip(3, 0)]; } }(_1pqz.type), _1pr2).start(function() { var _1pr7 = null; _1pr1._hougekiCycle(); }); }, _1pnl.prototype._special = function(_1pr8) { var _1pr9 = null, _1pra = this, _1prb = this._getAShip(_1pr8.a_index, _1pr8.flag), _1prc = this._getDShip(_1pr8.d_indexes[0], _1pr8.flag); if (null != _1prb && null != _1prc) { var _1prd = _1pr8.getSlotitem(0), _1pre = _1pr8.getSlotitem(1), _1prf = _1pr8.getSlotitem(2), _1prg = _1pr8.getDamage(0), _1prh = _1pr8.getHitType(0), _1pri = _1pr8.isShield(0); new _1pn5.PhaseAttackDanchaku(this._scene, _1pr8.type, _1prb, _1prc, _1prd, _1pre, _1prf, _1prg, _1prh, _1pri).start(function() { var _1prj = null; _1pra._hougekiCycle(); }); } }, _1pnl.prototype._zuiunCutin = function(_1prk) { var _1prl = null, _1prm = this, _1prn = new _1pnf.UIImageLoader('battle'); _1prn.add('battle_zrk.json'), _1prn.load(function() { var _1pro = null, _1prp = _1prm._getAShip(_1prk.a_index, _1prk.flag), _1prq = _1prm._getDShip(_1prk.d_indexes[0], _1prk.flag), _1prr = _1prk.getSlotitem(0), _1prs = _1prk.getSlotitem(2), _1prt = _1prk.getDamage(0), _1pru = _1prk.getHitType(0), _1prv = _1prk.isShield(0); new _1pne.PhaseZRK(_1prm._scene, _1prp, _1prq, _1prr, _1prs, _1prt, _1pru, _1prv).start(function() { var _1prw = null; _1prm._hougekiCycle(); }); }); }, _1pnl.prototype._getAShip = function(_1prx, _1pry) { var _1prz = null; return 0 == _1pry ? this._scene.data.model.deck_f.ships[_1prx] : this._scene.data.model.deck_e.ships[_1prx]; }, _1pnl.prototype._getDShip = function(_1ps0, _1ps1) { var _1ps2 = null; return 0 == _1ps1 ? this._scene.data.model.deck_e.ships[_1ps0] : this._scene.data.model.deck_f.ships[_1ps0]; }, _1pnl.prototype._getNormalAttackType = function(_1ps3, _1ps4, _1ps5) { var _1ps6 = null; for (var _1ps7 = 0, _1ps8 = 0, _1ps9 = 0, _1psa = _1ps3.slots; _1ps9 < _1psa.length; _1ps9++) { if (null != (_1psb = _1psa[_1ps9])) { var _1psc = _1psb.equipType; _1psc == _1pmx.EquipType._08_KANJO_KOUGEKIKI || _1psc == _1pmx.EquipType._58_FUNSHIKI_KOUGEKIKI ? (_1ps7++, _1psb.taisen > 0 && _1ps8++) : _1psc != _1pmx.EquipType._11_SUIJO_BAKUGEKIKI && _1psc != _1pmx.EquipType._25_AUTOGYRO || _1ps8++; } } var _1psd = _1ps3.stype; if (352 == _1ps3.mst_id) { if (1 == _1ps4.isSubMarine()) return _1ps8 > 0 ? 1 : 2; if (_1ps7 > 0) return 1; } var _1pse = [717, 900], _1psf = [411, 412]; if (_1pse.indexOf(_1ps3.mst_id) > -1 || _1psf.indexOf(_1ps3.mst_id) > -1) { for (var _1psg = [_1pmx.EquipType._07_KANJO_BAKUGEKIKI, _1pmx.EquipType._08_KANJO_KOUGEKIKI, _1pmx.EquipType._11_SUIJO_BAKUGEKIKI, _1pmx.EquipType._25_AUTOGYRO, _1pmx.EquipType._26_TAISEN_SHOKAIKI, _1pmx.EquipType._41_OGATA_HIKOUTEI], _1psh = 0, _1psi = 0, _1psj = 0, _1psk = 0, _1psl = 0, _1psm = _1pml(_1pml([], _1ps3.slots, !0), [_1ps3.slot_ex], !1); _1psl < _1psm.length; _1psl++) { var _1psb; if (null != (_1psb = _1psm[_1psl])) { var _1psn = _1psb.equipType; _1psg.indexOf(_1psn) > -1 && _1psb.taisen >= 1 ? _1psh++ : _1psb.taisen >= 1 && _1psi++, [_1pmx.EquipType._07_KANJO_BAKUGEKIKI, _1pmx.EquipType._08_KANJO_KOUGEKIKI].indexOf(_1psn) > -1 && _1psk++, _1pmx.EquipType._15_BAKURAI == _1psn && _1psj++; } } if (_1pse.indexOf(_1ps3.mst_id) > -1) { if (_1ps4.isSubMarine()) { if (_1psh > 0) return 1; if (_1psi > 0) return 2; } else { if (_1psk > 0) return 1; } } if (_1psf.indexOf(_1ps3.mst_id) > -1 && _1ps4.isSubMarine()) { if (_1psh > 0) return 1; if (_1psj > 0) return 2; } } if (120 == _1pmw.default.model.ship.getMst(_1ps3.mst_id).getClassType() && _1ps4.isSubMarine()) return 2; if (7 == _1psd || 11 == _1psd || 18 == _1psd) return 1; if (_1ps4.isSubMarine()) return 6 == _1psd || 10 == _1psd || 16 == _1psd || 17 == _1psd ? 1 : 2; var _1pso = _1pmw.default.model.slot.getMst(_1ps5); return null == _1pso || _1pso.equipTypeSp != _1pmx.EquipType._05_GYORAI && _1pso.equipTypeSp != _1pmx.EquipType._32_SENSUIKAN_GYORAI ? 0 : 3; }, _1pnl.prototype._hasRocketEffect = function(_1psp, _1psq, _1psr) { var _1pss = null; if (0 == _1psq.isGround()) return !1; if (1 == _1psr) return !1; for (var _1pst = 0, _1psu = _1psp.slots; _1pst < _1psu.length; _1pst++) { var _1psv = _1psu[_1pst]; if (null != _1psv) { var _1psw = _1psv.mst_id; if (126 == _1psw || 346 == _1psw || 347 == _1psw || 348 == _1psw || 349 == _1psw) return !0; } } return !1; }, _1pnl; }(_1pmy.TaskBase); _1pm1.PhaseHougeki = _1pni; }, 29177: function(_1psx, _1psy, _1psz) { 'use strict'; var _1pt0 = null; var _1pt1, _1pt2 = this && this.__extends || (_1pt1 = function(_1pt3, _1pt4) { var _1pt5 = null; return _1pt1 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1pt6, _1pt7) { var _1pt8 = null; _1pt6.__proto__ = _1pt7; } || function(_1pt9, _1pta) { var _1ptb = null; for (var _1ptc in _1pta) Object.prototype.hasOwnProperty.call(_1pta, _1ptc) && (_1pt9[_1ptc] = _1pta[_1ptc]); }, _1pt1(_1pt3, _1pt4); }, function(_1ptd, _1pte) { var _1ptf = null; if ('function' != typeof _1pte && null !== _1pte) throw new TypeError('Class extends value ' + String(_1pte) + ' is not a constructor or null'); function _1ptg() { var _1pth = null; this.constructor = _1ptd; } _1pt1(_1ptd, _1pte), _1ptd.prototype = null === _1pte ? Object.create(_1pte) : (_1ptg.prototype = _1pte.prototype, new _1ptg()); }), _1pti = this && this.__spreadArray || function(_1ptj, _1ptk, _1ptl) { var _1ptm = null; if (_1ptl || 2 === arguments.length) { for (var _1ptn, _1pto = 0, _1ptp = _1ptk.length; _1pto < _1ptp; _1pto++) !_1ptn && _1pto in _1ptk || (_1ptn || (_1ptn = Array.prototype.slice.call(_1ptk, 0, _1pto)), _1ptn[_1pto] = _1ptk[_1pto]); } return _1ptj.concat(_1ptn || Array.prototype.slice.call(_1ptk)); }, _1ptq = this && this.__importDefault || function(_1ptr) { var _1pts = null; return _1ptr && _1ptr.__esModule ? _1ptr : { 'default': _1ptr }; }; defineModule(_1psy); Object.defineProperty(_1psy, '__esModule', { 'value': !0 }), _1psy.PhasePreAntiSubmarine = void 0; var _1ptt = _1ptq(_1psz(18622)), _1ptu = _1psz(51805), _1ptv = _1psz(81755), _1ptw = _1psz(72010), _1ptx = _1psz(32358), _1pty = _1psz(70767), _1ptz = _1psz(86489), _1pu0 = _1psz(74545), _1pu1 = _1psz(39926), _1pu2 = _1psz(17981), _1pu3 = _1psz(5606), _1pu4 = function(_1pu5) { var _1pu6 = null; function _1pu7(_1pu8, _1pu9, _1pua) { var _1pub = null, _1puc = _1pu5.call(this) || this; return _1puc._current_index = 0, _1puc._scene = _1pu8, _1puc._record = _1pu9, _1puc._data = _1pua, _1puc; } return _1pt2(_1pu7, _1pu5), _1pu7.prototype._start = function() { var _1pud = null, _1pue = this; null == this._data || null == this._data.list || 0 == this._data.list.length ? this._endTask() : new _1ptw.PhaseEnemyEnter(this._scene, this._record).start(function() { var _1puf = null; _1pue._hougekiCycle(); }); }, _1pu7.prototype._hougekiCycle = function() { var _1pug = null; if (this._current_index < this._data.list.length) { var _1puh = this._data.list[this._current_index]; this._current_index++, this._hougeki(_1puh); } else this._endTask(); }, _1pu7.prototype._hougeki = function(_1pui) { var _1puj = null, _1puk = _1pui.type; 0 == _1puk ? this._normal(_1pui) : 2 == _1puk ? this._double(_1pui) : this._special(_1pui); }, _1pu7.prototype._normal = function(_1pul) { var _1pum = null, _1pun = this, _1puo = this._scene, _1pup = this._getAShip(_1pul.a_index, _1pul.flag), _1puq = this._getDShip(_1pul.d_indexes[0], _1pul.flag); if (null != _1pup && null != _1puq) { var _1pur = _1pul.getSlotitem(0), _1pus = _1pul.getDamage(0), _1put = _1pul.getHitType(0), _1puu = _1pul.isShield(0), _1puv = this._getNormalAttackType(_1pup, _1puq, _1pur); if (1 == this._hasRocketEffect(_1pup, _1puq, _1puv))(_1puw = new _1pu3.PhaseAttackRocket(_1puo, _1pup, _1puq, _1pus, _1put, _1puu)).setOptionalEffects(0), _1puw.start(function() { var _1pux = null; _1pun._hougekiCycle(); }); else { if (0 == _1puv)(_1puw = new _1ptx.PhaseAttackNormal(_1puo, _1pup, _1puq, _1pur, _1pus, _1put, _1puu)).setOptionalEffects(0), _1puw.start(function() { var _1puy = null; _1pun._hougekiCycle(); }); else { if (1 == _1puv)(_1puw = new _1pty.PhaseAttackKansaiki(_1puo, _1pup, _1puq, _1pur, _1pus, _1put, _1puu)).setOptionalEffects(0), _1puw.start(function() { var _1puz = null; _1pun._hougekiCycle(); }); else { if (2 == _1puv)(_1puw = new _1ptz.PhaseAttackBakurai(_1puo, _1pup, _1puq, _1pur, _1pus, _1put, _1puu)).setOptionalEffects(0), _1puw.start(function() { var _1pv0 = null; _1pun._hougekiCycle(); }); else { if (3 != _1puv) throw new Error(); var _1puw; (_1puw = new _1pu0.PhaseAttackRaigeki(_1puo, _1pup, _1puq, _1pur, _1pus, _1put, _1puu)).setOptionalEffects(0), _1puw.start(function() { var _1pv1 = null; _1pun._hougekiCycle(); }); } } } } } }, _1pu7.prototype._double = function(_1pv2) { var _1pv3 = null, _1pv4 = this, _1pv5 = this._getAShip(_1pv2.a_index, _1pv2.flag), _1pv6 = this._getDShip(_1pv2.d_indexes[0], _1pv2.flag), _1pv7 = _1pv2.getSlotitem(0), _1pv8 = _1pv2.getDamage(0), _1pv9 = _1pv2.getHitType(0), _1pva = _1pv2.isShield(0), _1pvb = this._getDShip(_1pv2.d_indexes[1], _1pv2.flag), _1pvc = _1pv2.getSlotitem(1), _1pvd = _1pv2.getDamage(1), _1pve = _1pv2.getHitType(1), _1pvf = _1pv2.isShield(1); new _1pu2.PhaseAttackDouble(this._scene, _1pv5, _1pv6, _1pv7, _1pv8, _1pv9, _1pva, _1pvb, _1pvc, _1pvd, _1pve, _1pvf).start(function() { var _1pvg = null; _1pv4._hougekiCycle(); }); }, _1pu7.prototype._special = function(_1pvh) { var _1pvi = null, _1pvj = this, _1pvk = this._getAShip(_1pvh.a_index, _1pvh.flag), _1pvl = this._getDShip(_1pvh.d_indexes[0], _1pvh.flag); if (null != _1pvk && null != _1pvl) { var _1pvm = _1pvh.getSlotitem(0), _1pvn = _1pvh.getSlotitem(1), _1pvo = _1pvh.getSlotitem(2), _1pvp = _1pvh.getDamage(0), _1pvq = _1pvh.getHitType(0), _1pvr = _1pvh.isShield(0); new _1pu1.PhaseAttackDanchaku(this._scene, _1pvh.type, _1pvk, _1pvl, _1pvm, _1pvn, _1pvo, _1pvp, _1pvq, _1pvr).start(function() { var _1pvs = null; _1pvj._hougekiCycle(); }); } }, _1pu7.prototype._getAShip = function(_1pvt, _1pvu) { var _1pvv = null; return 0 == _1pvu ? this._scene.data.model.deck_f.ships[_1pvt] : this._scene.data.model.deck_e.ships[_1pvt]; }, _1pu7.prototype._getDShip = function(_1pvw, _1pvx) { var _1pvy = null; return 0 == _1pvx ? this._scene.data.model.deck_e.ships[_1pvw] : this._scene.data.model.deck_f.ships[_1pvw]; }, _1pu7.prototype._getNormalAttackType = function(_1pvz, _1pw0, _1pw1) { var _1pw2 = null; for (var _1pw3 = 0, _1pw4 = 0, _1pw5 = 0, _1pw6 = _1pvz.slots; _1pw5 < _1pw6.length; _1pw5++) { if (null != (_1pw7 = _1pw6[_1pw5])) { var _1pw8 = _1pw7.equipType; _1pw8 == _1ptu.EquipType._08_KANJO_KOUGEKIKI || _1pw8 == _1ptu.EquipType._58_FUNSHIKI_KOUGEKIKI ? (_1pw3++, _1pw7.taisen > 0 && _1pw4++) : _1pw8 != _1ptu.EquipType._11_SUIJO_BAKUGEKIKI && _1pw8 != _1ptu.EquipType._25_AUTOGYRO || _1pw4++; } } var _1pw9 = _1pvz.stype; if (352 == _1pvz.mst_id) { if (1 == _1pw0.isSubMarine()) return _1pw4 > 0 ? 1 : 2; if (_1pw3 > 0) return 1; } var _1pwa = [717, 900], _1pwb = [411, 412]; if (_1pwa.indexOf(_1pvz.mst_id) > -1 || _1pwb.indexOf(_1pvz.mst_id) > -1) { for (var _1pwc = [_1ptu.EquipType._07_KANJO_BAKUGEKIKI, _1ptu.EquipType._08_KANJO_KOUGEKIKI, _1ptu.EquipType._11_SUIJO_BAKUGEKIKI, _1ptu.EquipType._25_AUTOGYRO, _1ptu.EquipType._26_TAISEN_SHOKAIKI, _1ptu.EquipType._41_OGATA_HIKOUTEI], _1pwd = 0, _1pwe = 0, _1pwf = 0, _1pwg = 0, _1pwh = 0, _1pwi = _1pti(_1pti([], _1pvz.slots, !0), [_1pvz.slot_ex], !1); _1pwh < _1pwi.length; _1pwh++) { var _1pw7; if (null != (_1pw7 = _1pwi[_1pwh])) { var _1pwj = _1pw7.equipType; _1pwc.indexOf(_1pwj) > -1 && _1pw7.taisen >= 1 ? _1pwd++ : _1pw7.taisen >= 1 && _1pwe++, [_1ptu.EquipType._07_KANJO_BAKUGEKIKI, _1ptu.EquipType._08_KANJO_KOUGEKIKI].indexOf(_1pwj) > -1 && _1pwg++, _1ptu.EquipType._15_BAKURAI == _1pwj && _1pwf++; } } if (_1pwa.indexOf(_1pvz.mst_id) > -1) { if (_1pw0.isSubMarine()) { if (_1pwd > 0) return 1; if (_1pwe > 0) return 2; } else { if (_1pwg > 0) return 1; } } if (_1pwb.indexOf(_1pvz.mst_id) > -1 && _1pw0.isSubMarine()) { if (_1pwd > 0) return 1; if (_1pwf > 0) return 2; } } if (120 == _1ptt.default.model.ship.getMst(_1pvz.mst_id).getClassType() && _1pw0.isSubMarine()) return 2; if (7 == _1pw9 || 11 == _1pw9 || 18 == _1pw9) return 1; if (_1pw0.isSubMarine()) return 6 == _1pw9 || 10 == _1pw9 || 16 == _1pw9 || 17 == _1pw9 ? 1 : 2; var _1pwk = _1ptt.default.model.slot.getMst(_1pw1); return null == _1pwk || _1pwk.equipTypeSp != _1ptu.EquipType._05_GYORAI && _1pwk.equipTypeSp != _1ptu.EquipType._32_SENSUIKAN_GYORAI ? 0 : 3; }, _1pu7.prototype._hasRocketEffect = function(_1pwl, _1pwm, _1pwn) { var _1pwo = null; if (0 == _1pwm.isGround()) return !1; if (1 == _1pwn) return !1; for (var _1pwp = 0, _1pwq = _1pwl.slots; _1pwp < _1pwq.length; _1pwp++) { var _1pwr = _1pwq[_1pwp]; if (null != _1pwr) { var _1pws = _1pwr.mst_id; if (126 == _1pws || 346 == _1pws || 347 == _1pws || 348 == _1pws || 349 == _1pws) return !0; } } return !1; }, _1pu7; }(_1ptv.TaskBase); _1psy.PhasePreAntiSubmarine = _1pu4; }, 26409: function(_1pwt, _1pwu, _1pwv) { 'use strict'; var _1pww = null; var _1pwx, _1pwy = this && this.__extends || (_1pwx = function(_1pwz, _1px0) { var _1px1 = null; return _1pwx = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1px2, _1px3) { var _1px4 = null; _1px2.__proto__ = _1px3; } || function(_1px5, _1px6) { var _1px7 = null; for (var _1px8 in _1px6) Object.prototype.hasOwnProperty.call(_1px6, _1px8) && (_1px5[_1px8] = _1px6[_1px8]); }, _1pwx(_1pwz, _1px0); }, function(_1px9, _1pxa) { var _1pxb = null; if ('function' != typeof _1pxa && null !== _1pxa) throw new TypeError('Class extends value ' + String(_1pxa) + ' is not a constructor or null'); function _1pxc() { var _1pxd = null; this.constructor = _1px9; } _1pwx(_1px9, _1pxa), _1px9.prototype = null === _1pxa ? Object.create(_1pxa) : (_1pxc.prototype = _1pxa.prototype, new _1pxc()); }), _1pxe = this && this.__importDefault || function(_1pxf) { var _1pxg = null; return _1pxf && _1pxf.__esModule ? _1pxf : { 'default': _1pxf }; }; defineModule(_1pwu); Object.defineProperty(_1pwu, '__esModule', { 'value': !0 }), _1pwu.PhaseRaigeki = void 0; var _1pxh = _1pxe(_1pwv(18622)), _1pxi = _1pwv(70723), _1pxj = _1pwv(72010), _1pxk = function(_1pxl) { var _1pxm = null; function _1pxn() { var _1pxo = null; return null !== _1pxl && _1pxl.apply(this, arguments) || this; } return _1pwy(_1pxn, _1pxl), _1pxn.prototype._start = function() { var _1pxp = null, _1pxq = this; (this._data = this._record.raw.raigeki, null == this._data) ? this._endTask(): new _1pxj.PhaseEnemyEnter(this._scene, this._record).start(function() { var _1pxr = null; _1pxq._scene.view.layer_title.show(6), _1pxq._showTelop(); }); }, _1pxn.prototype._showTelop = function() { var _1pxs = null, _1pxt = this; this._scene.view.layer_info2.once('complete', function() { var _1pxu = null; _1pxt._ready(); }), this._scene.view.layer_info2.showCenter(6); }, _1pxn.prototype._ready = function() { var _1pxv = null; for (var _1pxw = this._createAttackData_f(), _1pxx = this._createAttackData_e(), _1pxy = null, _1pxz = new Array(), _1py0 = 0, _1py1 = _1pxw; _1py0 < _1py1.length; _1py0++) { var _1py2 = (_1py3 = _1py1[_1py0]).attacker.index; (null == _1pxy || _1pxy.index > _1py2) && (_1pxy = _1py3.attacker); var _1py4 = this._scene.view.bannerGroupLayer.getBanner(_1py3.attacker); _1pxz.push(_1py4); } for (var _1py5 = 0, _1py6 = _1pxx; _1py5 < _1py6.length; _1py5++) { var _1py3 = _1py6[_1py5]; _1py4 = this._scene.view.bannerGroupLayer.getBanner(_1py3.attacker), _1pxz.push(_1py4); } if (null != _1pxy) { var _1py7 = _1pxy.mst_id.toString(); _1pxh.default.sound.voice.playAtRandom(_1py7, [15, 16], [50, 50]); } this._move(_1pxz, _1pxw, _1pxx); }, _1pxn.prototype._move = function(_1py8, _1py9, _1pya) { var _1pyb = null; for (var _1pyc = this, _1pyd = 0; _1pyd < _1py8.length; _1pyd++) { var _1pye = _1py8[_1pyd]; 0 == _1pyd ? _1pye.moveShoot(function() { var _1pyf = null; _1pyc._shoot(_1py9, _1pya); }) : _1pye.moveShoot(); } 0 == _1py8.length && this._endTask(); }, _1pxn.prototype._shoot = function(_1pyg, _1pyh) { var _1pyi = null, _1pyj = this; _1pxi.SE.play('112'); for (var _1pyk = 1900, _1pyl = 0, _1pym = _1pyg; _1pyl < _1pym.length; _1pyl++) { var _1pyn = _1pym[_1pyl]; this._shootBase(_1pyn, _1pyk, null); } for (var _1pyo = 0, _1pyp = _1pyh; _1pyo < _1pyp.length; _1pyo++) { _1pyn = _1pyp[_1pyo], this._shootBase(_1pyn, _1pyk, null); } createjs.Tween.get(null).wait(_1pyk).call(function() { var _1pyq = null; _1pyj._damageEffect(_1pyg, _1pyh); }); }, _1pxn.prototype._damageEffect = function(_1pyr, _1pys) { var _1pyt = null; for (var _1pyu = this, _1pyv = {}, _1pyw = 0, _1pyx = _1pys; _1pyw < _1pyx.length; _1pyw++) { var _1pyy = (_1pyz = _1pyx[_1pyw]).defender.index; if (null == _1pyv[_1pyy]) _1pyv[_1pyy] = { 'damage': _1pyz.damage, 'hit': _1pyz.hit, 'shield': _1pyz.shield }; else(_1pz0 = _1pyv[_1pyy]).damage += _1pyz.damage, 2 == _1pz0.hit || 2 == _1pyz.hit ? _1pz0.hit = 2 : 1 == _1pz0.hit || 1 == _1pyz.hit ? _1pz0.hit = 1 : _1pz0.hit = 0; } for (var _1pz1 = {}, _1pz2 = 0, _1pz3 = _1pyr; _1pz2 < _1pz3.length; _1pz2++) { var _1pyz; _1pyy = (_1pyz = _1pz3[_1pz2]).defender.index; if (null == _1pz1[_1pyy]) _1pz1[_1pyy] = { 'damage': _1pyz.damage, 'hit': _1pyz.hit, 'shield': _1pyz.shield }; else(_1pz0 = _1pz1[_1pyy]).damage += _1pyz.damage, 2 == _1pz0.hit || 2 == _1pyz.hit ? _1pz0.hit = 2 : 1 == _1pz0.hit || 1 == _1pyz.hit ? _1pz0.hit = 1 : _1pz0.hit = 0; } for (var _1pz4 = 0, _1pz5 = this._scene.data.model.deck_f.ships; _1pz4 < _1pz5.length; _1pz4++) { if (null != (_1pz6 = _1pz5[_1pz4])) null != (_1pz0 = _1pyv[_1pz6.index]) && this._damageBase(_1pz6, _1pz0); } if (1 == this._data.hasShield_f()) { var _1pz7 = this._scene.view.bannerGroupLayer.getBanner(!0, 0); this._scene.view.layer_damage.showShieldAtBanner(_1pz7); } for (var _1pz8 = 0, _1pz9 = this._scene.data.model.deck_e.ships; _1pz8 < _1pz9.length; _1pz8++) { var _1pz6, _1pz0; if (null != (_1pz6 = _1pz9[_1pz8])) null != (_1pz0 = _1pz1[_1pz6.index]) && this._damageBase(_1pz6, _1pz0); } 1 == this._data.hasShield_e() && (_1pz7 = this._scene.view.bannerGroupLayer.getBanner(!1, 0), this._scene.view.layer_damage.showShieldAtBanner(_1pz7)), createjs.Tween.get(null).wait(500).call(function() { var _1pza = null; _1pyu._showDamageNumber(_1pyv, _1pz1); }); }, _1pxn.prototype._showDamageNumber = function(_1pzb, _1pzc) { var _1pzd = null, _1pze = this; this._showDamageBase(this._scene.data.model.deck_f.ships, _1pzb), this._showDamageBase(this._scene.data.model.deck_e.ships, _1pzc), createjs.Tween.get(null).wait(400).call(function() { var _1pzf = null; _1pze._endTask(); }); }, _1pxn.prototype._endTask = function() { var _1pzg = null, _1pzh = this; this._scene.view.layer_title.hide(), this._damage_cutin.start(function() { var _1pzi = null; _1pxl.prototype._endTask.call(_1pzh); }); }, _1pxn; }(_1pwv(98608).PhaseRaigekiBase); _1pwu.PhaseRaigeki = _1pxk; }, 98608: function(_1pzj, _1pzk, _1pzl) { 'use strict'; var _1pzm = null; var _1pzn, _1pzo = this && this.__extends || (_1pzn = function(_1pzp, _1pzq) { var _1pzr = null; return _1pzn = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1pzs, _1pzt) { var _1pzu = null; _1pzs.__proto__ = _1pzt; } || function(_1pzv, _1pzw) { var _1pzx = null; for (var _1pzy in _1pzw) Object.prototype.hasOwnProperty.call(_1pzw, _1pzy) && (_1pzv[_1pzy] = _1pzw[_1pzy]); }, _1pzn(_1pzp, _1pzq); }, function(_1pzz, _1q00) { var _1q01 = null; if ('function' != typeof _1q00 && null !== _1q00) throw new TypeError('Class extends value ' + String(_1q00) + ' is not a constructor or null'); function _1q02() { var _1q03 = null; this.constructor = _1pzz; } _1pzn(_1pzz, _1q00), _1pzz.prototype = null === _1q00 ? Object.create(_1q00) : (_1q02.prototype = _1q00.prototype, new _1q02()); }); defineModule(_1pzk); Object.defineProperty(_1pzk, '__esModule', { 'value': !0 }), _1pzk.PhaseRaigekiBase = void 0; var _1q04 = _1pzl(81755), _1q05 = _1pzl(50614), _1q06 = function(_1q07) { var _1q08 = null; function _1q09(_1q0a, _1q0b) { var _1q0c = null, _1q0d = _1q07.call(this) || this; return _1q0d._scene = _1q0a, _1q0d._record = _1q0b, _1q0d._damage_cutin = new _1q05.PhaseDamageCutin(_1q0a), _1q0d; } return _1pzo(_1q09, _1q07), _1q09.prototype._createAttackData_f = function() { var _1q0e = null; return this._createAttackData(this._scene.data.model.deck_f.ships, this._scene.data.model.deck_e.ships); }, _1q09.prototype._createAttackMultiData_f = function() { var _1q0f = null; return this._createMultiAttackData(this._scene.data.model.deck_f.ships, this._scene.data.model.deck_e.ships); }, _1q09.prototype._createAttackData_e = function() { var _1q0g = null; return this._createAttackData(this._scene.data.model.deck_e.ships, this._scene.data.model.deck_f.ships); }, _1q09.prototype._createAttackData = function(_1q0h, _1q0i) { var _1q0j = null; for (var _1q0k = new Array(), _1q0l = 0; _1q0l < _1q0h.length; _1q0l++) { var _1q0m = _1q0h[_1q0l]; if (null != _1q0m) { var _1q0n = _1q0m.friend ? this._data.getAttackTo_f(_1q0l) : this._data.getAttackTo_e(_1q0l); if (!(_1q0n < 0)) { var _1q0o = { 'attacker': _1q0m, 'defender': _1q0i[_1q0n], 'damage': _1q0m.friend ? this._data.getDamage_f(_1q0l) : this._data.getDamage_e(_1q0l), 'hit': _1q0m.friend ? this._data.getHitType_f(_1q0l) : this._data.getHitType_e(_1q0l), 'shield': _1q0m.friend ? this._data.isShield_f(_1q0l) : this._data.isShield_e(_1q0l) }; _1q0k.push(_1q0o); } } } return _1q0k; }, _1q09.prototype._createMultiAttackData = function(_1q0p, _1q0q) { var _1q0r = null; for (var _1q0s, _1q0t, _1q0u, _1q0v = new Array(), _1q0w = this._data, _1q0x = 0; _1q0x < _1q0p.length; _1q0x++) { var _1q0y = _1q0p[_1q0x]; if (null != _1q0y) { var _1q0z = _1q0y.friend ? _1q0w.getMultiAttackTo_f(_1q0x) : _1q0w.getMultiAttackTo_e(_1q0x); if (!(null == _1q0z || _1q0z.length < 0)) for (var _1q10 = _1q0y.friend ? _1q0w.getMultiDamage_f(_1q0x) : _1q0w.getMultiDamage_e(_1q0x), _1q11 = _1q0y.friend ? _1q0w.getMultiHitType_f(_1q0x) : _1q0w.getMultiHitType_e(_1q0x), _1q12 = _1q0y.friend ? _1q0w.isMultiShield_f(_1q0x) : _1q0w.isMultiShield_e(_1q0x), _1q13 = 0; _1q13 < _1q0z.length; _1q13++) { var _1q14 = _1q0z[_1q13]; if (!(_1q14 < 0)) { var _1q15 = null !== (_1q0s = _1q10[_1q13]) && void 0 !== _1q0s ? _1q0s : 0, _1q16 = null !== (_1q0t = _1q11[_1q13]) && void 0 !== _1q0t ? _1q0t : 0, _1q17 = null !== (_1q0u = _1q12[_1q13]) && void 0 !== _1q0u && _1q0u, _1q18 = { 'attacker': _1q0y, 'defender': _1q0q[_1q14], 'damage': _1q15, 'hit': _1q16, 'shield': _1q17 }; _1q0v.push(_1q18); } } } } return _1q0v; }, _1q09.prototype._shootBase = function(_1q19, _1q1a, _1q1b) { var _1q1c = null, _1q1d = this._scene.view.bannerGroupLayer.getBanner(_1q19.attacker), _1q1e = this._scene.view.bannerGroupLayer.getBanner(_1q19.defender), _1q1f = _1q1d.getGlobalPos(!0), _1q1g = _1q1e.getGlobalPos(!0); this._scene.view.layer_torpedo.playTorpedo(_1q1f, _1q1g, _1q1a, function() { null != _1q1b && _1q1b(); }); }, _1q09.prototype._damageBase = function(_1q1h, _1q1i) { var _1q1j = null; 1 == this._scene.data.model.isPractice() && (_1q1i.damage = Math.min(_1q1i.damage, _1q1h.hp_now - 1)); var _1q1k = this._scene.view.bannerGroupLayer.getBanner(_1q1h), _1q1l = _1q1k.getGlobalPos(!0); this._scene.view.layer_torpedo.playTorpedoWaterColumn(_1q1k), this._scene.view.layer_explosion.playDamageExplosion(_1q1l.x, _1q1l.y, _1q1i.damage), _1q1k.moveAtDamage(_1q1i.shield); }, _1q09.prototype._showDamageBase = function(_1q1m, _1q1n) { var _1q1o = null; for (var _1q1p = 0, _1q1q = _1q1m; _1q1p < _1q1q.length; _1q1p++) { var _1q1r = _1q1q[_1q1p]; if (null != _1q1r) { var _1q1s = _1q1n[_1q1r.index]; if (null != _1q1s) { var _1q1t = this._scene.view.bannerGroupLayer.getBanner(_1q1r); this._scene.view.layer_damage.showAtBanner(_1q1t, _1q1s.damage, _1q1s.hit), this._damage_cutin.causeDamage(_1q1r, _1q1s.damage), _1q1t.updateHp(_1q1r.hp_now); } } } }, _1q09; }(_1q04.TaskBase); _1pzk.PhaseRaigekiBase = _1q06; }, 49515: function(_1q1u, _1q1v, _1q1w) { 'use strict'; var _1q1x = null; var _1q1y, _1q1z = this && this.__extends || (_1q1y = function(_1q20, _1q21) { var _1q22 = null; return _1q1y = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1q23, _1q24) { var _1q25 = null; _1q23.__proto__ = _1q24; } || function(_1q26, _1q27) { var _1q28 = null; for (var _1q29 in _1q27) Object.prototype.hasOwnProperty.call(_1q27, _1q29) && (_1q26[_1q29] = _1q27[_1q29]); }, _1q1y(_1q20, _1q21); }, function(_1q2a, _1q2b) { var _1q2c = null; if ('function' != typeof _1q2b && null !== _1q2b) throw new TypeError('Class extends value ' + String(_1q2b) + ' is not a constructor or null'); function _1q2d() { var _1q2e = null; this.constructor = _1q2a; } _1q1y(_1q2a, _1q2b), _1q2a.prototype = null === _1q2b ? Object.create(_1q2b) : (_1q2d.prototype = _1q2b.prototype, new _1q2d()); }); defineModule(_1q1v); Object.defineProperty(_1q1v, '__esModule', { 'value': !0 }), _1q1v.PhaseRaigekiOpening = void 0; var _1q2f = _1q1w(72010), _1q2g = _1q1w(26409), _1q2h = _1q1w(84134), _1q2i = function(_1q2j) { var _1q2k = null; function _1q2l() { var _1q2m = null; return null !== _1q2j && _1q2j.apply(this, arguments) || this; } return _1q1z(_1q2l, _1q2j), _1q2l.prototype._start = function() { var _1q2n = null, _1q2o = this; (this._data = this._record.raw.raigeki_opening, null == this._data) ? this._endTask(): new _1q2f.PhaseEnemyEnter(this._scene, this._record).start(function() { var _1q2p = null; 1 == _1q2o._record.common.atoll_cell ? new _1q2h.PhaseSpType4Raigeki(_1q2o._scene, _1q2o._record).start(function() { var _1q2q = null; _1q2o._endTask(); }) : _1q2o._ready(); }); }, _1q2l; }(_1q2g.PhaseRaigeki); _1q1v.PhaseRaigekiOpening = _1q2i; }, 89916: function(_1q2r, _1q2s, _1q2t) { 'use strict'; var _1q2u = null; var _1q2v, _1q2w = this && this.__extends || (_1q2v = function(_1q2x, _1q2y) { var _1q2z = null; return _1q2v = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1q30, _1q31) { var _1q32 = null; _1q30.__proto__ = _1q31; } || function(_1q33, _1q34) { var _1q35 = null; for (var _1q36 in _1q34) Object.prototype.hasOwnProperty.call(_1q34, _1q36) && (_1q33[_1q36] = _1q34[_1q36]); }, _1q2v(_1q2x, _1q2y); }, function(_1q37, _1q38) { var _1q39 = null; if ('function' != typeof _1q38 && null !== _1q38) throw new TypeError('Class extends value ' + String(_1q38) + ' is not a constructor or null'); function _1q3a() { var _1q3b = null; this.constructor = _1q37; } _1q2v(_1q37, _1q38), _1q37.prototype = null === _1q38 ? Object.create(_1q38) : (_1q3a.prototype = _1q38.prototype, new _1q3a()); }), _1q3c = this && this.__importDefault || function(_1q3d) { var _1q3e = null; return _1q3d && _1q3d.__esModule ? _1q3d : { 'default': _1q3d }; }; defineModule(_1q2s); Object.defineProperty(_1q2s, '__esModule', { 'value': !0 }), _1q2s.PhaseSakuteki = void 0; var _1q3f = _1q3c(_1q2t(21359)), _1q3g = _1q3c(_1q2t(18622)), _1q3h = _1q2t(66398), _1q3i = _1q2t(41503), _1q3j = _1q2t(81755), _1q3k = _1q2t(89939), _1q3l = _1q2t(85492), _1q3m = _1q2t(87475), _1q3n = _1q2t(37760), _1q3o = _1q2t(70723), _1q3p = _1q2t(22434), _1q3q = _1q2t(48919), _1q3r = function(_1q3s) { var _1q3t = null; function _1q3u(_1q3v, _1q3w) { var _1q3x = null, _1q3y = _1q3s.call(this) || this; return _1q3y._scene = _1q3v, _1q3y._record = _1q3w, _1q3y; } return _1q2w(_1q3u, _1q3s), _1q3u.prototype._start = function() { var _1q3z = null; for (var _1q40 = this, _1q41 = !1, _1q42 = this._scene.data.model.deck_f.ships, _1q43 = 0; _1q43 < _1q42.length; _1q43++) { if (null != (_1q44 = _1q42[_1q43]) && 1 == _1q44.isSubMarine()) { var _1q45 = this._scene.view.bannerGroupLayer.getBanner(_1q44); this._playSubMarineAnimation(_1q45), _1q41 = !0; } } var _1q46 = this._scene.data.model.deck_e.ships; for (_1q43 = 0; _1q43 < _1q46.length; _1q43++) { var _1q44; null != (_1q44 = _1q46[_1q43]) && 1 == _1q44.isSubMarine() && (_1q45 = this._scene.view.bannerGroupLayer.getBanner(_1q44), (this._playSubMarineAnimation(_1q45), _1q41 = !0)); } 1 == _1q41 ? (_1q3o.SE.play('256'), _1q3o.SE.play('108'), createjs.Tween.get(null).wait(2000).call(function() { var _1q47 = null; _1q40._readySakuteki(); })) : this._readySakuteki(); }, _1q3u.prototype._playSubMarineAnimation = function(_1q48) { var _1q49 = null, _1q4a = _1q48.getGlobalPos(!0), _1q4b = new _1q3q.SubMarineWave(); _1q4b.initialize(), _1q4b.position.set(_1q4a.x, _1q4a.y + _1q3h.BannerSize.H / 6), this._scene.view.layer_cutin.addChild(_1q4b), _1q4b.play(), _1q48.showBabble(); }, _1q3u.prototype._readySakuteki = function() { var _1q4c = null, _1q4d = this._record.raw.sakuteki; 0 == _1q4d.hasPlane_f() && 0 == _1q4d.isSuccess_f() ? this._endTask() : this._startSakuteki(); }, _1q3u.prototype._startSakuteki = function() { var _1q4e = null, _1q4f = this; this._scene.view.layer_title.show(0), this._scene.view.layer_info2.once('complete', function() { var _1q4g = null; 0 == _1q4f._record.raw.sakuteki.hasPlane_f() && _1q4f._noPlane(); }), this._scene.view.layer_info2.showCenter(0), createjs.Tween.get(null).wait(950).call(function() { var _1q4h = null; if (1 == _1q4f._record.raw.sakuteki.hasPlane_f()) { var _1q4i = _1q4f._searchEquipedSlotitems(); _1q4f._loadPlaneImage(_1q4i); } }); }, _1q3u.prototype._noPlane = function() { var _1q4j = null, _1q4k = this, _1q4l = new _1q3m.FadeBox(0.5); _1q4l.hide(0), this._scene.view.layer_title.addChild(_1q4l), _1q4l.show(700, function() { var _1q4m = null; _1q4k._showTelop(null, _1q4l); }); }, _1q3u.prototype._loadPlaneImage = function(_1q4n) { var _1q4o = null, _1q4p = this; if (null == _1q4n) { var _1q4q = new PIXI.Sprite(_1q3p.BATTLE_MAIN.getTexture(61)); _1q4q.anchor.set(0.5), this._flyPlane(_1q4q); } else { var _1q4r = _1q4n.mst_id; 0; var _1q4s = new _1q3n.SlotLoader(); _1q4s.add(_1q4r, 'item_up'), _1q4s.load(function() { var _1q4t = null, _1q4u = new PIXI.Container(), _1q4v = new PIXI.Sprite(_1q3p.BATTLE_MAIN.getTexture(35)); _1q4v.anchor.set(0.5, 0); var _1q4w = new PIXI.Sprite(_1q3g.default.resources.getSlotitem(_1q4r, 'item_up')); _1q4w.anchor.set(0.5); var _1q4x = 1, _1q4y = 1; if (1 == _1q3i.PlaneConst.OFFSET.hasOwnProperty(_1q4r.toString())) { var _1q4z = _1q3i.PlaneConst.OFFSET[_1q4r], _1q50 = _1q3k.ObjUtil.getNumber(_1q4z, 'x'), _1q51 = _1q3k.ObjUtil.getNumber(_1q4z, 'y'), _1q52 = _1q3k.ObjUtil.getNumber(_1q4z, 'r'), _1q53 = _1q3k.ObjUtil.getNumber(_1q4z, 'sx', 1); _1q4w.x += _1q50, _1q4w.y += _1q51, _1q4w.rotation += -_1q52 / 180 * Math.PI, _1q4x *= _1q53; } 1 == _1q3i.PlaneConst.SAKUTEKI_SPSCALE_MSTID.hasOwnProperty(_1q4n.mst_id.toString()) ? (_1q4x *= 0.44, _1q4y *= 0.44) : 1 == _1q3i.PlaneConst.SAKUTEKI_SPSCALE_ETYPE.hasOwnProperty(_1q4n.equipTypeSp.toString()) ? (_1q4x *= 0.4, _1q4y *= 0.4) : (_1q4x *= 0.32, _1q4y *= 0.32), _1q4w.scale.set(_1q4x, _1q4y), _1q4v.scale.set(3.125 * _1q4x, 3.125 * _1q4y), _1q4u.addChild(_1q4v), _1q4u.addChild(_1q4w), _1q4p._flyPlane(_1q4u); }); } }, _1q3u.prototype._flyPlane = function(_1q54) { var _1q55 = null, _1q56 = this, _1q57 = new PIXI.Sprite(_1q3p.BATTLE_MAIN.getTexture(94)); _1q57.anchor.set(0.5), _1q57.rotation = -Math.PI / 3, _1q57.scale.set(0), _1q57.position.set(_1q3f.default.width / 2, _1q3f.default.height / 2); var _1q58 = new _1q3m.FadeBox(0.5); _1q58.hide(0), _1q54.position.set(-99, 789), this._scene.view.layer_title.addChild(_1q57, _1q58, _1q54), createjs.Tween.get(_1q57.scale).to({ 'x': 2.85, 'y': 2.85 }, 500).wait(1300).call(function() { var _1q59 = null; _1q56._scene.view.raderLayer.rader_e.wave(); }), _1q58.show(700), createjs.Tween.get(_1q54).wait(200).call(function() { var _1q5a = null; _1q3o.SE.play('113'); }).to({ 'x': 1298, 'y': 0 }, 2000).call(function() { var _1q5b = null; _1q56._scene.view.layer_info2.removeChild(_1q54), _1q56._showTelop(_1q57, _1q58); }); }, _1q3u.prototype._showTelop = function(_1q5c, _1q5d) { var _1q5e = null, _1q5f, _1q5g = this, _1q5h = this._record.raw.sakuteki; _1q5f = 1 == _1q5h.isSuccess_f() ? 1 == _1q5h.hasMikikan_f() ? 2 : 1 : 1 == _1q5h.hasMikikan_f() ? 4 : 3; var _1q5i = this._scene.view.raderLayer, _1q5j = _1q5i.rader_e; if (this._scene.view.layer_cutin.addChild(_1q5j), 1 == this._record.raw.sakuteki.isSuccess_f()) { var _1q5k = this._scene.data.model.deck_e, _1q5l = _1q5k.formation, _1q5m = _1q5k.type, _1q5n = _1q5k.getCountMainDeck(), _1q5o = _1q5k.getCountSubDeck(); this._scene.data.model.map_info.isLongRangeFires() ? _1q5j.show(_1q5l, _1q5m, 0, 0, !0) : _1q5j.show(_1q5l, _1q5m, _1q5n, _1q5o, !1); } this._scene.view.layer_info2.once('complete', function() { var _1q5p = null; _1q5i.resetChildren(); }), this._scene.view.layer_info2.showTop(_1q5f), null != _1q5c ? createjs.Tween.get(_1q5c).wait(1300).call(function() { var _1q5q = null; _1q5d.hide(500); }).to({ 'alpha': 0 }, 500).call(function() { var _1q5r = null; _1q5c.parent.removeChild(_1q5c), _1q5d.parent.removeChild(_1q5d), _1q5g._showLastTelop(); }) : createjs.Tween.get(this).wait(1300).call(function() { var _1q5s = null; _1q5d.hide(500); }).call(function() { var _1q5t = null; _1q5d.parent.removeChild(_1q5d), _1q5g._showLastTelop(); }); }, _1q3u.prototype._showLastTelop = function() { var _1q5u = null, _1q5v = this; if (1 == this._record.raw.sakuteki.isSuccess_f()) { this._scene.data.model.map_info.isLongRangeFires() || this._scene.view.layer_info2.showCenter(5); var _1q5w = new _1q3l.TweenTask(); _1q5w.addTweens(this._scene.view.bannerGroupLayer.enemies.createSakutekiTweens()), _1q5w.addTweens(this._scene.view.bannerGroupLayer.enemies_combined.createSakutekiTweens()), _1q5w.start(function() { var _1q5x = null; if (1 == _1q5v._record.common.balloon_cell && 'day' == _1q5v._record.phase) { var _1q5y = _1q5v._scene.data.model.deck_f, _1q5z = _1q5v._scene.data.model.deck_e; _1q5v._scene.view.layer_balloon.fly(_1q5y.ships_main, _1q5z.ships_main, _1q5y.ships_sub, _1q5z.ships_sub, function() { var _1q60 = null; _1q5v._endTask(); }); } else _1q5v._endTask(); }); } else this._endTask(); }, _1q3u.prototype._endTask = function() { var _1q61 = null, _1q62 = this; this._scene.view.layer_title.hide(function() { var _1q63 = null; _1q3s.prototype._endTask.call(_1q62); }); }, _1q3u.prototype._searchEquipedSlotitems = function() { var _1q64 = null; for (var _1q65 = null, _1q66 = 0, _1q67 = this._scene.data.model.deck_f.ships, _1q68 = 0; _1q68 < _1q67.length; _1q68++) { var _1q69; if (null != (_1q69 = _1q67[_1q68])) for (var _1q6a = 0; _1q6a < _1q69.slots.length; _1q6a++) { var _1q6b; if (null != (_1q6b = _1q69.slots[_1q6a])) { var _1q6c = _1q6b.equipType; if (_1q3i.PlaneConst.SAKUTEKI.indexOf(_1q6c) >= 0) { if (_1q69.getTousai(_1q6a) > 0) { var _1q6d = _1q6b.sakuteki + Math.sqrt(_1q6b.level); _1q6d > _1q66 && (_1q66 = _1q6d, _1q65 = _1q6b); } } } } } return null != _1q65 && 25 == _1q65.mst_id && (_1q65 = null), _1q65; }, _1q3u; }(_1q3j.TaskBase); _1q2s.PhaseSakuteki = _1q3r; }, 84134: function(_1q6e, _1q6f, _1q6g) { 'use strict'; var _1q6h = null; var _1q6i, _1q6j = this && this.__extends || (_1q6i = function(_1q6k, _1q6l) { var _1q6m = null; return _1q6i = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1q6n, _1q6o) { var _1q6p = null; _1q6n.__proto__ = _1q6o; } || function(_1q6q, _1q6r) { var _1q6s = null; for (var _1q6t in _1q6r) Object.prototype.hasOwnProperty.call(_1q6r, _1q6t) && (_1q6q[_1q6t] = _1q6r[_1q6t]); }, _1q6i(_1q6k, _1q6l); }, function(_1q6u, _1q6v) { var _1q6w = null; if ('function' != typeof _1q6v && null !== _1q6v) throw new TypeError('Class extends value ' + String(_1q6v) + ' is not a constructor or null'); function _1q6x() { var _1q6y = null; this.constructor = _1q6u; } _1q6i(_1q6u, _1q6v), _1q6u.prototype = null === _1q6v ? Object.create(_1q6v) : (_1q6x.prototype = _1q6v.prototype, new _1q6x()); }), _1q6z = this && this.__spreadArray || function(_1q70, _1q71, _1q72) { var _1q73 = null; if (_1q72 || 2 === arguments.length) { for (var _1q74, _1q75 = 0, _1q76 = _1q71.length; _1q75 < _1q76; _1q75++) !_1q74 && _1q75 in _1q71 || (_1q74 || (_1q74 = Array.prototype.slice.call(_1q71, 0, _1q75)), _1q74[_1q75] = _1q71[_1q75]); } return _1q70.concat(_1q74 || Array.prototype.slice.call(_1q71)); }, _1q77 = this && this.__importDefault || function(_1q78) { var _1q79 = null; return _1q78 && _1q78.__esModule ? _1q78 : { 'default': _1q78 }; }; defineModule(_1q6f); Object.defineProperty(_1q6f, '__esModule', { 'value': !0 }), _1q6f.PhaseSpType4Raigeki = void 0; var _1q7a = _1q6g(81755), _1q7b = _1q6g(66398), _1q7c = _1q6g(88471), _1q7d = _1q6g(5527), _1q7e = _1q6g(55535), _1q7f = _1q6g(85492), _1q7g = _1q6g(56494), _1q7h = _1q6g(70723), _1q7i = _1q77(_1q6g(18622)), _1q7j = _1q6g(82327), _1q7k = function(_1q7l) { var _1q7m = null; function _1q7n() { var _1q7o = null; return null !== _1q7l && _1q7l.apply(this, arguments) || this; } return _1q6j(_1q7n, _1q7l), _1q7n.prototype._start = function() { var _1q7p = null; this._data = this._record.raw.raigeki_opening, null == this._data ? this._endTask() : this._ready(); }, _1q7n.prototype._ready = function() { var _1q7q = null; for (var _1q7r = this._createAttackMultiData_f(), _1q7s = this._createAttackData_e(), _1q7t = null, _1q7u = [], _1q7v = function(_1q7w) { var _1q7x = null, _1q7y = _1q7w.attacker.index; (null == _1q7t || _1q7t.index > _1q7y) && (_1q7t = _1q7w.attacker); var _1q7z = _1q80._scene.view.bannerGroupLayer.getBanner(_1q7w.attacker), _1q81 = _1q80._scene.view.bannerGroupLayer.getBanner(_1q7w.defender), _1q82 = _1q7u.findIndex(function(_1q83) { var _1q84 = null; return _1q83.attacker == _1q7z; }); _1q82 > -1 ? _1q7u[_1q82].defender.push(_1q81) : _1q7u.push({ 'friend': !0, 'a_ship': _1q7w.attacker, 'attacker': _1q7z, 'defender': [_1q81] }); }, _1q80 = this, _1q85 = 0, _1q86 = _1q7r; _1q85 < _1q86.length; _1q85++) { _1q7v(_1q87 = _1q86[_1q85]); } for (var _1q88 = 0, _1q89 = _1q7s; _1q88 < _1q89.length; _1q88++) { var _1q87 = _1q89[_1q88], _1q8a = this._scene.view.bannerGroupLayer.getBanner(_1q87.attacker), _1q8b = this._scene.view.bannerGroupLayer.getBanner(_1q87.defender); _1q7u.push({ 'friend': !1, 'a_ship': _1q87.attacker, 'attacker': _1q8a, 'defender': [_1q8b] }); } if (null != _1q7t) { var _1q8c = _1q7t.mst_id.toString(); _1q7i.default.sound.voice.playAtRandom(_1q8c, [15, 16], [50, 50]); } 0 == _1q7u.length && this._endTask(), this._move_fireboat(_1q7u, _1q7r, _1q7s); }, _1q7n.prototype._move_fireboat = function(_1q8d, _1q8e, _1q8f) { var _1q8g = null; for (var _1q8h = this, _1q8i = new _1q7d.ParallelTask(), _1q8j = !1, _1q8k = !1, _1q8l = function(_1q8m) { var _1q8n = null, _1q8o = _1q8d[_1q8m]; if (_1q8o.friend) { var _1q8p = _1q8q._getDaihatsu(_1q8o.a_ship); _1q8i.add(new _1q8r(_1q8q._scene.view, _1q8o.attacker, _1q8o.defender, _1q8p)), new _1q7g.WaitTask(4640).start(function() { var _1q8s = null; _1q8j || (_1q7h.SE.play('112'), _1q8j = !0); }); } else _1q8i.add(new _1q7e.SerialTask().add(new _1q7g.WaitTask(3440)).add(new _1q7c.FuncTask(function() { var _1q8t = null; _1q8o.attacker.moveShoot(function() { var _1q8u = _1q8t; _1q8k || (_1q7h.SE[_1q8u(8679)](_1q8u(5728)), _1q8k = !0); var _1q8v = _1q8o[_1q8u(11476)][_1q8u(2097)](!0), _1q8w = _1q8o[_1q8u(4953)][0][_1q8u(2097)](!0); _1q8h[_1q8u(13351)][_1q8u(2726)][_1q8u(345)][_1q8u(4628)](_1q8v, _1q8w, 1900, null); }); }))); }, _1q8q = this, _1q8x = 0; _1q8x < _1q8d.length; _1q8x++) _1q8l(_1q8x); _1q8i.start(), createjs.Tween.get(null).wait(3440).wait(600).wait(1900).call(function() { var _1q8y = null; _1q8h._damageEffect(_1q8e, _1q8f); }); }, _1q7n.prototype._getDaihatsu = function(_1q8z) { var _1q90 = null, _1q91 = _1q6z(_1q6z([], _1q8z.slots, !0), [_1q8z.slot_ex], !1), _1q92 = function(_1q93) { var _1q94 = null; return _1q91.filter(function(_1q95) { var _1q96 = null; return (null == _1q95 ? void 0 : _1q95.mst_id) == _1q93; }).length; }, _1q97 = _1q92(525), _1q98 = _1q92(526); return _1q97 >= 1 && _1q98 >= 1 ? [14, 12] : 0 == _1q97 && _1q98 >= 2 ? [14, 14] : _1q97 >= 2 && 0 == _1q98 ? [12, 12] : 1 == _1q98 ? [14] : 1 == _1q97 ? [12] : []; }, _1q7n; }(_1q6g(26409).PhaseRaigeki); _1q6f.PhaseSpType4Raigeki = _1q7k; var _1q8r = function(_1q99) { var _1q9a = null; function _1q9b(_1q9c, _1q9d, _1q9e, _1q9f) { var _1q9g = null, _1q9h = _1q99.call(this) || this; return _1q9h._view = _1q9c, _1q9h._layer = _1q9c.layer_content, _1q9h._a_banner = _1q9d, _1q9h._d_banners = _1q9e, _1q9h._types = _1q9f, _1q9h; } return _1q6j(_1q9b, _1q99), _1q9b.prototype._start = function() { var _1q9i = null; for (var _1q9j = this, _1q9k = this._a_banner.getGlobalPos(), _1q9l = this._d_banners.map(function(_1q9m) { var _1q9n = null; return _1q9m.getGlobalPos(); }), _1q9o = [], _1q9p = 0; _1q9p < _1q9l.length; _1q9p++) { var _1q9q = this._types[_1q9p]; if (null != _1q9q) { var _1q9r = new _1q7j.Daihatsu(); _1q9r.initialize(_1q9q), _1q9r.alpha = 0; var _1q9s = -_1q7b.BannerSize.H + _1q7b.BannerSize.H * ((_1q9p + 1) / _1q9l.length), _1q9t = _1q9k.y + _1q9s, _1q9u = void 0; 1 == this._a_banner.friend ? (_1q9u = _1q7b.BannerSize.W / 3 * 2 + (20 - 20 * (_1q9p + 1 / _1q9l.length)), _1q9r.rotation -= Math.PI / 180 * 10) : (_1q9u = -_1q7b.BannerSize.W / 3 * 2 - (20 - 20 * (_1q9p + 1 / _1q9l.length)), _1q9r.rotation += Math.PI / 180 * 10, _1q9r.scale.x = -1); var _1q9v = _1q9k.x + _1q9u, _1q9w = new PIXI.Point(_1q9v, _1q9t); _1q9r.x = _1q9v, _1q9r.y = _1q9t - 15; var _1q9x = new PIXI.Point(); _1q9x.x = 600, _1q9x.y = _1q9k.y + (_1q9l[_1q9p].y - _1q9k.y) / 2 + _1q9s, this._layer.addChild(_1q9r), _1q9o.push({ 'icon': _1q9r, 'spos': _1q9w, 'epos': _1q9x, 'target': _1q9l[_1q9p] }); } } var _1q9y = new _1q7d.ParallelTask(), _1q9z = function(_1qa0) { var _1qa1 = null, _1qa2 = _1q9o[_1qa0], _1qa3 = _1qa4._uchibi_4_anim(_1qa2.icon, _1qa2.spos, _1qa2.epos, function() { var _1qa5 = null, _1qa6 = _1qa2.icon.position; _1q9j._view.layer_torpedo.playTorpedo(_1qa6, _1qa2.target, 1000, function() {}); }, function() { var _1qa7 = null; _1q9j._layer.removeChild(_1qa2.icon); }); _1q9y.add(new _1q7f.TweenTask().addTween(_1qa3)); }, _1qa4 = this; for (_1q9p = 0; _1q9p < _1q9o.length; _1q9p++) _1q9z(_1q9p); _1q9y.start(function() { var _1qa8 = null; _1q9j._endTask(); }); }, _1q9b.prototype._uchibi_4_anim = function(_1qa9, _1qaa, _1qab, _1qac, _1qad) { var _1qae = null, _1qaf = 0.55, _1qag = _1qab.x - _1qaa.x, _1qah = _1qab.y - _1qaa.y, _1qai = (Math.sqrt(Math.pow(_1qag, 2) + Math.pow(_1qah, 2)), 2300); return createjs.Tween.get(_1qa9).to({ 'y': _1qaa.y, 'alpha': 1, 'rotation': 0 }, 1000, createjs.Ease.bounceOut).to({ 'x': _1qaa.x + _1qag * _1qaf, 'y': _1qaa.y + _1qah * _1qaf }, 1050, createjs.Ease.linear).call(function() { var _1qaj = null; _1qa9.rideUp(_1qai); }).to({ 'x': _1qaa.x + 0.8500000000000001 * _1qag, 'y': _1qaa.y + 0.8500000000000001 * _1qah }, _1qai, createjs.Ease.linear).to({ 'x': _1qaa.x + 1 * _1qag, 'y': _1qaa.y + 1 * _1qah }, 290, createjs.Ease.linear).call(_1qac).wait(400).call(function() { var _1qak = null; _1qa9.turn(); }).wait(200).to({ 'x': _1qaa.x + 0.85 * _1qag, 'y': _1qaa.y + 0.85 * _1qah }, 250, createjs.Ease.linear).call(function() { var _1qal = null; _1qa9.rideUp(1830); }).to({ 'x': _1qaa.x + 0.55 * _1qag, 'y': _1qaa.y + 0.55 * _1qah }, 1830, createjs.Ease.linear).to({ 'x': _1qaa.x + _1qag * (1 - 0.7), 'y': _1qaa.y + _1qah * (1 - 0.7) }, 390, createjs.Ease.linear).to({ 'x': _1qaa.x + 0 * _1qag, 'y': _1qaa.y + 0 * _1qah, 'alpha': 0 }, 460, createjs.Ease.linear).call(function() { null != _1qad && _1qad(); }); }, _1q9b.prototype._endTask = function() { var _1qam = null; this._layer = null, this._a_banner = null, this._d_banners = null, _1q99.prototype._endTask.call(this); }, _1q9b; }(_1q7a.TaskBase); }, 40637: function(_1qan, _1qao, _1qap) { 'use strict'; var _1qaq = null; var _1qar, _1qas = this && this.__extends || (_1qar = function(_1qat, _1qau) { var _1qav = null; return _1qar = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1qaw, _1qax) { var _1qay = null; _1qaw.__proto__ = _1qax; } || function(_1qaz, _1qb0) { var _1qb1 = null; for (var _1qb2 in _1qb0) Object.prototype.hasOwnProperty.call(_1qb0, _1qb2) && (_1qaz[_1qb2] = _1qb0[_1qb2]); }, _1qar(_1qat, _1qau); }, function(_1qb3, _1qb4) { var _1qb5 = null; if ('function' != typeof _1qb4 && null !== _1qb4) throw new TypeError('Class extends value ' + String(_1qb4) + ' is not a constructor or null'); function _1qb6() { var _1qb7 = null; this.constructor = _1qb3; } _1qar(_1qb3, _1qb4), _1qb3.prototype = null === _1qb4 ? Object.create(_1qb4) : (_1qb6.prototype = _1qb4.prototype, new _1qb6()); }), _1qb8 = this && this.__importDefault || function(_1qb9) { var _1qba = null; return _1qb9 && _1qb9.__esModule ? _1qb9 : { 'default': _1qb9 }; }; defineModule(_1qao); Object.defineProperty(_1qao, '__esModule', { 'value': !0 }), _1qao.TaskFlagShip = _1qao.PhaseSupport = void 0; var _1qbb = _1qb8(_1qap(18622)), _1qbc = _1qap(81755), _1qbd = _1qap(55535), _1qbe = _1qap(56494), _1qbf = _1qap(20137), _1qbg = _1qap(50614), _1qbh = _1qap(72010), _1qbi = _1qap(58715), _1qbj = _1qap(97478), _1qbk = _1qap(81322), _1qbl = _1qap(92151), _1qbm = _1qap(86523), _1qbn = function(_1qbo) { var _1qbp = null; function _1qbq(_1qbr, _1qbs) { var _1qbt = null, _1qbu = _1qbo.call(this) || this; return _1qbu._scene = _1qbr, _1qbu._record = _1qbs, _1qbu._damage_cutin = new _1qbg.PhaseDamageCutin(_1qbu._scene), _1qbu; } return _1qas(_1qbq, _1qbo), _1qbq.prototype._start = function() { var _1qbv = null, _1qbw = this._record.raw.support_air; if (null == _1qbw) { var _1qbx = this._record.raw.support_hou; if (null == _1qbx) { var _1qby = this._record.raw.support_rai; if (null == _1qby) { var _1qbz = this._record.raw.support_taisen; null == _1qbz ? this._endTask() : this._supportTaisen(_1qbz); } else this._supportRai(_1qby); } else this._supportHou(_1qbx); } else this._supportAir(_1qbw); }, _1qbq.prototype._supportAir = function(_1qc0) { var _1qc1 = null, _1qc2 = this; new _1qbh.PhaseEnemyEnter(this._scene, this._record).start(function() { var _1qc3 = null; _1qc2._scene.view.layer_title.show(1); for (var _1qc4 = _1qc2._scene.view.layer_cutin, _1qc5 = [], _1qc6 = 0, _1qc7 = _1qc0.getShipList(); _1qc6 < _1qc7.length; _1qc6++) { var _1qc8 = _1qc7[_1qc6]; if (null != _1qc8) { var _1qc9 = _1qbb.default.model.ship.get(_1qc8.mem_id); null != _1qc9 ? _1qc5.push({ 'mst_id': _1qc9.mstID, 'damaged': _1qc8.damaged, 'ribbon': _1qc9.ribbon }) : _1qc5.push(null); } else _1qc5.push(null); } var _1qca = new _1qbd.SerialTask(), _1qcb = new _1qbm.TaskSupportDeckCutin(_1qc4, _1qc5); _1qca.add(_1qcb); var _1qcc = _1qc5[0].mst_id, _1qcd = _1qc5[0].damaged; _1qca.add(new _1qce(_1qc4, _1qcc, _1qcd)); var _1qcf = _1qc2._scene.data.model.deck_f.ships, _1qcg = _1qc2._scene.data.model.deck_e.ships; _1qca.add(new _1qbk.TaskSupportAir(_1qc2._scene, _1qc0, _1qcf, _1qcg, _1qc2._damage_cutin, null)), _1qca.start(function() { var _1qch = null; _1qc2._scene.view.layer_title.hide(function() { var _1qci = _1qch; new _1qbe[(_1qci(8479))](800)[_1qci(3269)](function() { var _1qcj = _1qci; _1qc2[_1qcj(2224)](); }); }); }); }); }, _1qbq.prototype._supportHou = function(_1qck) { var _1qcl = null, _1qcm = this; new _1qbh.PhaseEnemyEnter(this._scene, this._record).start(function() { var _1qcn = null; _1qcm._scene.view.layer_title.show(2); for (var _1qco = _1qcm._scene.view.layer_cutin, _1qcp = [], _1qcq = 0, _1qcr = _1qck.getShipList(); _1qcq < _1qcr.length; _1qcq++) { var _1qcs = _1qcr[_1qcq]; if (null != _1qcs) { var _1qct = _1qbb.default.model.ship.get(_1qcs.mem_id); null != _1qct ? _1qcp.push({ 'mst_id': _1qct.mstID, 'damaged': _1qcs.damaged, 'ribbon': _1qct.ribbon }) : _1qcp.push(null); } else _1qcp.push(null); } var _1qcu = new _1qbd.SerialTask(), _1qcv = new _1qbm.TaskSupportDeckCutin(_1qco, _1qcp); _1qcu.add(_1qcv); var _1qcw = _1qcp[0].mst_id, _1qcx = _1qcp[0].damaged; _1qcu.add(new _1qce(_1qco, _1qcw, _1qcx)), _1qcu.add(new _1qbi.PhaseSupportHou(_1qcm._scene, _1qck, _1qcm._scene.data.model.deck_e.ships)), _1qcu.start(function() { var _1qcy = null; _1qcm._scene.view.layer_title.hide(function() { var _1qcz = _1qcy; new _1qbe[(_1qcz(8479))](800)[_1qcz(3269)](function() { var _1qd0 = _1qcz; _1qcm[_1qd0(2224)](); }); }); }); }); }, _1qbq.prototype._supportRai = function(_1qd1) { var _1qd2 = null, _1qd3 = this; new _1qbh.PhaseEnemyEnter(this._scene, this._record).start(function() { var _1qd4 = null; _1qd3._scene.view.layer_title.show(3); for (var _1qd5 = _1qd3._scene.view.layer_cutin, _1qd6 = [], _1qd7 = 0, _1qd8 = _1qd1.getShipList(); _1qd7 < _1qd8.length; _1qd7++) { var _1qd9 = _1qd8[_1qd7]; if (null != _1qd9) { var _1qda = _1qbb.default.model.ship.get(_1qd9.mem_id); null != _1qda ? _1qd6.push({ 'mst_id': _1qda.mstID, 'damaged': _1qd9.damaged, 'ribbon': _1qda.ribbon }) : _1qd6.push(null); } else _1qd6.push(null); } var _1qdb = new _1qbd.SerialTask(), _1qdc = new _1qbm.TaskSupportDeckCutin(_1qd5, _1qd6); _1qdb.add(_1qdc); var _1qdd = _1qd6[0].mst_id, _1qde = _1qd6[0].damaged; _1qdb.add(new _1qce(_1qd5, _1qdd, _1qde)), _1qdb.add(new _1qbj.PhaseSupportRai(_1qd3._scene, _1qd1, _1qd3._scene.data.model.deck_e.ships)), _1qdb.start(function() { var _1qdf = null; _1qd3._scene.view.layer_title.hide(function() { var _1qdg = _1qdf; new _1qbe[(_1qdg(8479))](800)[_1qdg(3269)](function() { var _1qdh = _1qdg; _1qd3[_1qdh(2224)](); }); }); }); }); }, _1qbq.prototype._supportTaisen = function(_1qdi) { var _1qdj = null, _1qdk = this; new _1qbh.PhaseEnemyEnter(this._scene, this._record).start(function() { var _1qdl = null; for (var _1qdm = _1qdk._scene.view.layer_cutin, _1qdn = [], _1qdo = 0, _1qdp = _1qdi.getShipList(); _1qdo < _1qdp.length; _1qdo++) { var _1qdq = _1qdp[_1qdo]; if (null != _1qdq) { var _1qdr = _1qbb.default.model.ship.get(_1qdq.mem_id); null != _1qdr ? _1qdn.push({ 'mst_id': _1qdr.mstID, 'damaged': _1qdq.damaged, 'ribbon': _1qdr.ribbon }) : _1qdn.push(null); } else _1qdn.push(null); } var _1qds = new _1qbd.SerialTask(), _1qdt = new _1qbm.TaskSupportDeckCutin(_1qdm, _1qdn); _1qds.add(_1qdt); var _1qdu = _1qdn[0].mst_id, _1qdv = _1qdn[0].damaged; _1qds.add(new _1qce(_1qdm, _1qdu, _1qdv)); var _1qdw = _1qdk._scene.data.model.deck_f.ships, _1qdx = _1qdk._scene.data.model.deck_e.ships; _1qds.add(new _1qbl.TaskSupportTaisen(_1qdk._scene, _1qdi, _1qdw, _1qdx, _1qdk._damage_cutin, null)), _1qds.start(function() { var _1qdy = null; new _1qbe.WaitTask(800).start(function() { var _1qdz = _1qdy; _1qdk[_1qdz(2224)](); }); }); }); }, _1qbq.prototype._endTask = function() { var _1qe0 = null, _1qe1 = this; this._damage_cutin.start(function() { var _1qe2 = null; _1qe1._scene = null, _1qe1._record = null, _1qe1._damage_cutin = null, _1qbo.prototype._endTask.call(_1qe1); }); }, _1qbq; }(_1qbc.TaskBase); _1qao.PhaseSupport = _1qbn; var _1qce = function(_1qe3) { var _1qe4 = null; function _1qe5(_1qe6, _1qe7, _1qe8) { var _1qe9 = null, _1qea = _1qe3.call(this) || this; return _1qea._layer = _1qe6, _1qea._mst_id = _1qe7, _1qea._damaged = _1qe8, _1qea; } return _1qas(_1qe5, _1qe3), _1qe5.prototype._start = function() { var _1qeb = null, _1qec = this, _1qed = new _1qbf.ShipLoader(); _1qed.add(this._mst_id, this._damaged, 'full'), _1qed.load(function() { var _1qee = null; _1qec._show(); }); }, _1qe5.prototype._show = function() { var _1qef = null, _1qeg = this, _1qeh = _1qbb.default.model.ship_graph.get(this._mst_id).getBattleOffset(this._damaged), _1qei = -740 + _1qeh.x, _1qej = _1qbb.default.resources.getShip(this._mst_id, this._damaged, 'full'); this._s = new PIXI.Sprite(_1qej), this._s.x = _1qei, this._s.y = -105 + _1qeh.y, this._s.alpha = 0, this._layer.addChild(this._s), createjs.Tween.get(this._s).to({ 'x': _1qei + 665, 'alpha': 1 }, 500).to({ 'x': _1qei + 740 }, 300).call(function() { var _1qek = null; _1qbb.default.sound.voice.playAtRandom(_1qeg._mst_id.toString(), [16, 17, 18], [33, 33, 34]); }).wait(300).to({ 'x': _1qei + 1070, 'alpha': 0 }, 500).call(function() { var _1qel = null; _1qeg._layer.removeChild(_1qeg._s), _1qeg._endTask(); }); }, _1qe5.prototype._endTask = function() { var _1qem = null; this._layer = null, this._s = null, _1qe3.prototype._endTask.call(this); }, _1qe5; }(_1qbc.TaskBase); _1qao.TaskFlagShip = _1qce; }, 67496: function(_1qen, _1qeo, _1qep) { 'use strict'; var _1qeq = null; var _1qer, _1qes = this && this.__extends || (_1qer = function(_1qet, _1qeu) { var _1qev = null; return _1qer = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1qew, _1qex) { var _1qey = null; _1qew.__proto__ = _1qex; } || function(_1qez, _1qf0) { var _1qf1 = null; for (var _1qf2 in _1qf0) Object.prototype.hasOwnProperty.call(_1qf0, _1qf2) && (_1qez[_1qf2] = _1qf0[_1qf2]); }, _1qer(_1qet, _1qeu); }, function(_1qf3, _1qf4) { var _1qf5 = null; if ('function' != typeof _1qf4 && null !== _1qf4) throw new TypeError('Class extends value ' + String(_1qf4) + ' is not a constructor or null'); function _1qf6() { var _1qf7 = null; this.constructor = _1qf3; } _1qer(_1qf3, _1qf4), _1qf3.prototype = null === _1qf4 ? Object.create(_1qf4) : (_1qf6.prototype = _1qf4.prototype, new _1qf6()); }); defineModule(_1qeo); Object.defineProperty(_1qeo, '__esModule', { 'value': !0 }), _1qeo.PhaseAllyAttack = void 0; var _1qf8 = _1qep(55535), _1qf9 = _1qep(85492), _1qfa = _1qep(81755), _1qfb = _1qep(52532), _1qfc = _1qep(35773), _1qfd = _1qep(65622), _1qfe = function(_1qff) { var _1qfg = null; function _1qfh(_1qfi, _1qfj) { var _1qfk = null, _1qfl = _1qff.call(this) || this; return _1qfl._scene = _1qfi, _1qfl._record = _1qfj, _1qfl; } return _1qes(_1qfh, _1qff), _1qfh.prototype._start = function() { var _1qfm = null; this._model = this._record.getAllyAttack(), null == this._model ? this._endTask() : this._opening(); }, _1qfh.prototype._opening = function() { var _1qfn = null, _1qfo = this, _1qfp = this._scene.view.bannerGroupLayer, _1qfq = this._scene.view.layer_cutin, _1qfr = new _1qfc.PhaseAllyOpening(this._model, _1qfp, _1qfq); _1qfr.preload(function() { var _1qfs = null; _1qfp.addAllyBannerGroup(_1qfo._model.ships), _1qfr.start(function() { var _1qft = null; _1qfo._light(); }); }); }, _1qfh.prototype._light = function() { var _1qfu = null, _1qfv = this, _1qfw = this._scene.view.bannerGroupLayer.ally; new _1qfb.PhaseAllyLighting(this._scene, this._record, this._model, _1qfw).start(function() { var _1qfx = null; _1qfv._hougeki(); }); }, _1qfh.prototype._hougeki = function() { var _1qfy = null, _1qfz = this, _1qg0 = this._model.getHougekiData(), _1qg1 = this._model.ships, _1qg2 = this._scene.data.model.deck_e.ships; new _1qfd.PhaseHougeki(this._scene, _1qg0, _1qg1, _1qg2).start(function() { var _1qg3 = null; _1qfz._moveShips(); }); }, _1qfh.prototype._moveShips = function() { var _1qg4 = null, _1qg5 = this, _1qg6 = this._scene.view.bannerGroupLayer, _1qg7 = new _1qf8.SerialTask(); _1qg7.add(new _1qf9.TweenTask().addTweens(_1qg6.ally.createExitTweensUpward())), _1qg7.add(_1qg6.createFriendEnterTask()), _1qg7.start(function() { var _1qg8 = null; _1qg6.removeAllyBannerGroup(), _1qg5._endTask(); }); }, _1qfh.prototype._endTask = function() { var _1qg9 = null; this._scene = null, this._record = null, this._model = null, _1qff.prototype._endTask.call(this); }, _1qfh; }(_1qfa.TaskBase); _1qeo.PhaseAllyAttack = _1qfe; }, 52532: function(_1qga, _1qgb, _1qgc) { 'use strict'; var _1qgd = null; var _1qge, _1qgf = this && this.__extends || (_1qge = function(_1qgg, _1qgh) { var _1qgi = null; return _1qge = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1qgj, _1qgk) { var _1qgl = null; _1qgj.__proto__ = _1qgk; } || function(_1qgm, _1qgn) { var _1qgo = null; for (var _1qgp in _1qgn) Object.prototype.hasOwnProperty.call(_1qgn, _1qgp) && (_1qgm[_1qgp] = _1qgn[_1qgp]); }, _1qge(_1qgg, _1qgh); }, function(_1qgq, _1qgr) { var _1qgs = null; if ('function' != typeof _1qgr && null !== _1qgr) throw new TypeError('Class extends value ' + String(_1qgr) + ' is not a constructor or null'); function _1qgt() { var _1qgu = null; this.constructor = _1qgq; } _1qge(_1qgq, _1qgr), _1qgq.prototype = null === _1qgr ? Object.create(_1qgr) : (_1qgt.prototype = _1qgr.prototype, new _1qgt()); }); defineModule(_1qgb); Object.defineProperty(_1qgb, '__esModule', { 'value': !0 }), _1qgb.PhaseAllyLighting = void 0; var _1qgv = function(_1qgw) { var _1qgx = null; function _1qgy(_1qgz, _1qh0, _1qh1, _1qh2) { var _1qh3 = null, _1qh4 = _1qgw.call(this, _1qgz, _1qh0) || this; return _1qh4._model = _1qh1, _1qh4._bannerGroup = _1qh2, _1qh4; } return _1qgf(_1qgy, _1qgw), _1qgy.prototype._getShips_f = function() { var _1qh5 = null; return this._model.ships; }, _1qgy.prototype._getShips_e = function() { var _1qh6 = null; return this._scene.data.model.deck_e.ships; }, _1qgy.prototype._getFlareBanner_f = function() { var _1qh7 = null, _1qh8 = this._model.getFlareIndex_f(); return this._bannerGroup.getBannerAt(_1qh8); }, _1qgy.prototype._getFlareBanner_e = function() { var _1qh9 = null, _1qha = this._model.getFlareIndex_e(); return this._scene.view.bannerGroupLayer.getBanner(!1, _1qha); }, _1qgy; }(_1qgc(15063).PhaseLightingBase); _1qgb.PhaseAllyLighting = _1qgv; }, 35773: function(_1qhb, _1qhc, _1qhd) { 'use strict'; var _1qhe = null; var _1qhf, _1qhg = this && this.__extends || (_1qhf = function(_1qhh, _1qhi) { var _1qhj = null; return _1qhf = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1qhk, _1qhl) { var _1qhm = null; _1qhk.__proto__ = _1qhl; } || function(_1qhn, _1qho) { var _1qhp = null; for (var _1qhq in _1qho) Object.prototype.hasOwnProperty.call(_1qho, _1qhq) && (_1qhn[_1qhq] = _1qho[_1qhq]); }, _1qhf(_1qhh, _1qhi); }, function(_1qhr, _1qhs) { var _1qht = null; if ('function' != typeof _1qhs && null !== _1qhs) throw new TypeError('Class extends value ' + String(_1qhs) + ' is not a constructor or null'); function _1qhu() { var _1qhv = null; this.constructor = _1qhr; } _1qhf(_1qhr, _1qhs), _1qhr.prototype = null === _1qhs ? Object.create(_1qhs) : (_1qhu.prototype = _1qhs.prototype, new _1qhu()); }), _1qhw = this && this.__importDefault || function(_1qhx) { var _1qhy = null; return _1qhx && _1qhx.__esModule ? _1qhx : { 'default': _1qhx }; }; defineModule(_1qhc); Object.defineProperty(_1qhc, '__esModule', { 'value': !0 }), _1qhc.PhaseAllyOpening = void 0; var _1qhz = _1qhw(_1qhd(18622)), _1qi0 = _1qhd(88471), _1qi1 = _1qhd(5527), _1qi2 = _1qhd(55535), _1qi3 = _1qhd(85492), _1qi4 = _1qhd(81755), _1qi5 = _1qhd(79899), _1qi6 = _1qhd(20137), _1qi7 = _1qhd(35380), _1qi8 = function(_1qi9) { var _1qia = null; function _1qib(_1qic, _1qid, _1qie) { var _1qif = null, _1qig = _1qi9.call(this) || this; return _1qig._model = _1qic, _1qig._list = _1qic.getDisplayList(), _1qig._bannerGroupLayer = _1qid, _1qig._cutinLayer = _1qie, _1qig; } return _1qhg(_1qib, _1qi9), _1qib.prototype.preload = function(_1qih) { var _1qii = null; for (var _1qij = new _1qi6.ShipLoader(), _1qik = 0, _1qil = this._list; _1qik < _1qil.length; _1qik++) { var _1qim = (_1qin = _1qil[_1qik].ship).mst_id, _1qio = _1qin.isDamaged(); _1qij.add(_1qim, _1qio, 'full'); } for (var _1qip = 0, _1qiq = this._model.ships; _1qip < _1qiq.length; _1qip++) { var _1qin; if (null != (_1qin = _1qiq[_1qip])) { var _1qir = _1qin.mst_id; _1qio = _1qin.isDamaged(), (_1qij.add(_1qir, _1qio, 'banner'), 0 == _1qio && _1qij.add(_1qir, !0, 'banner')); } } null == _1qih ? _1qij.load() : _1qij.load(_1qih); }, _1qib.prototype._start = function() { var _1qis = null; this._charaLayer = new PIXI.Container(), this._cutinLayer.addChild(this._charaLayer), this._clickLayer = new PIXI.Container(), this._cutinLayer.addChild(this._clickLayer), this._showShip1(); }, _1qib.prototype._showShip1 = function() { var _1qit = null, _1qiu = this, _1qiv = this._list[0].ship, _1qiw = _1qiv.mst_id, _1qix = _1qiv.isDamaged(), _1qiy = _1qhz.default.resources.getShip(_1qiw, _1qix, 'full'), _1qiz = new PIXI.Sprite(_1qiy), _1qj0 = _1qhz.default.model.ship_graph.get(_1qiw).getBattleOffset(_1qix); _1qiz.x = -285 + _1qj0.x, _1qiz.y = -87 + _1qj0.y, _1qiz.alpha = 0, this._charaLayer.addChild(_1qiz), createjs.Tween.get(_1qiz).to({ 'x': 165 + _1qj0.x, 'alpha': 1 }, 700, createjs.Ease.cubicOut).call(function() { var _1qj1 = null; _1qiu._playVoice1(_1qiz); }); }, _1qib.prototype._playVoice1 = function(_1qj2) { var _1qj3 = null, _1qj4 = this, _1qj5 = this._list[0].ship.mst_id, _1qj6 = this._list[0].voiceID, _1qj7 = new _1qj8(_1qj5.toString(), _1qj6, this._clickLayer, !0), _1qj9 = new _1qi3.TweenTask(); _1qj9.addTweens(this._bannerGroupLayer.friends_combined.createExitTweensUpDown()); var _1qja = new _1qi3.TweenTask(); _1qja.addTweens(this._bannerGroupLayer.friends.createExitTweens()); var _1qjb = new _1qi3.TweenTask(); _1qjb.addTweens(this._bannerGroupLayer.ally.createEnterTweens()); var _1qjc = new _1qi2.SerialTask(); _1qjc.add(_1qj9), _1qjc.add(_1qja), _1qjc.add(_1qjb), _1qjc.add(new _1qi0.FuncTask(function() { var _1qjd = null; _1qj7.clickable = !0; })); var _1qje = new _1qi1.ParallelTask(); _1qje.add(_1qj7), _1qje.add(_1qjc), _1qje.start(function() { var _1qjf = null; _1qj4._list.length > 1 ? _1qj4._showShip2(_1qj2) : createjs.Tween.get(_1qj2).to({ 'alpha': 0 }, 300).call(function() { var _1qjg = null; _1qj4._charaLayer.removeChild(_1qj2), _1qj4._endTask(); }); }); }, _1qib.prototype._showShip2 = function(_1qjh) { var _1qji = null, _1qjj = this, _1qjk = this._list[1].ship, _1qjl = _1qjk.mst_id, _1qjm = _1qjk.isDamaged(), _1qjn = _1qhz.default.resources.getShip(_1qjl, _1qjm, 'full'), _1qjo = new PIXI.Sprite(_1qjn), _1qjp = _1qhz.default.model.ship_graph.get(_1qjl).getBattleOffset(_1qjm); _1qjo.x = -360 + _1qjp.x, _1qjo.y = -87 + _1qjp.y, _1qjo.alpha = 0, this._charaLayer.addChild(_1qjo), createjs.Tween.get(_1qjo).to({ 'x': 15 + _1qjp.x, 'alpha': 1 }, 600, createjs.Ease.cubicOut).call(function() { var _1qjq = null; _1qjj._playVoice2(_1qjo); }), createjs.Tween.get(_1qjh).to({ 'alpha': 0 }, 300).call(function() { var _1qjr = null; _1qjj._charaLayer.removeChild(_1qjh); }); }, _1qib.prototype._playVoice2 = function(_1qjs) { var _1qjt = null, _1qju = this, _1qjv = this._list[1].ship.mst_id, _1qjw = this._list[1].voiceID, _1qjx = this._list.length > 2, _1qjy = new _1qj8(_1qjv.toString(), _1qjw, this._clickLayer, _1qjx); _1qjy.clickable = !0, _1qjy.start(function() { var _1qjz = null; _1qjx ? _1qju._showShip3(_1qjs) : createjs.Tween.get(_1qjs).to({ 'alpha': 0 }, 300).call(function() { var _1qk0 = null; _1qju._charaLayer.removeChild(_1qjs), _1qju._endTask(); }); }); }, _1qib.prototype._showShip3 = function(_1qk1) { var _1qk2 = null, _1qk3 = this, _1qk4 = this._list[2].ship, _1qk5 = _1qk4.mst_id, _1qk6 = _1qk4.isDamaged(), _1qk7 = _1qhz.default.resources.getShip(_1qk5, _1qk6, 'full'), _1qk8 = new PIXI.Sprite(_1qk7), _1qk9 = _1qhz.default.model.ship_graph.get(_1qk5).getBattleOffset(_1qk6); _1qk8.x = -435 + _1qk9.x, _1qk8.y = -87 + _1qk9.y, _1qk8.alpha = 0, this._charaLayer.addChild(_1qk8), createjs.Tween.get(_1qk8).to({ 'x': -135 + _1qk9.x, 'alpha': 1 }, 600, createjs.Ease.cubicOut).call(function() { var _1qka = null; _1qk3._playVoice3(_1qk1); }), createjs.Tween.get(_1qk1).to({ 'alpha': 0 }, 300).call(function() { var _1qkb = null; _1qk3._charaLayer.removeChild(_1qk1); }); }, _1qib.prototype._playVoice3 = function(_1qkc) { var _1qkd = null, _1qke = this, _1qkf = this._list[2].ship.mst_id, _1qkg = this._list[2].voiceID, _1qkh = new _1qj8(_1qkf.toString(), _1qkg, this._clickLayer, !1); _1qkh.clickable = !0, _1qkh.start(function() { var _1qki = null; createjs.Tween.get(_1qkc).to({ 'alpha': 0 }, 300).call(function() { var _1qkj = null; _1qke._charaLayer.removeChild(_1qkc), _1qke._endTask(); }); }); }, _1qib.prototype._endTask = function() { var _1qkk = null; this._model = null, this._list = null, this._bannerGroupLayer = null, this._cutinLayer = null, null != this._charaLayer.parent && this._charaLayer.parent.removeChild(this._charaLayer), this._charaLayer = null, null != this._clickLayer.parent && this._clickLayer.parent.removeChild(this._clickLayer), this._clickLayer = null, _1qi9.prototype._endTask.call(this); }, _1qib; }(_1qi4.TaskBase); _1qhc.PhaseAllyOpening = _1qi8; var _1qj8 = function(_1qkl) { var _1qkm = null; function _1qkn(_1qko, _1qkp, _1qkq, _1qkr) { var _1qks = null, _1qkt = _1qkl.call(this) || this; return _1qkt._clickArea = null, _1qkt._voice = null, _1qkt._onClick = function() { var _1qku = null; _1qkt._stop_onClick && null != _1qkt._voice && _1qhz.default.sound.voice.stop(_1qkt._voice), _1qkt._endTask(); }, _1qkt._mstID = _1qko, _1qkt._voiceID = _1qkp, _1qkt._clickLayer = _1qkq, _1qkt._stop_onClick = _1qkr, _1qkt; } return _1qhg(_1qkn, _1qkl), Object.defineProperty(_1qkn.prototype, 'clickable', { 'get': function() { var _1qkv = null; return null != this._clickArea; }, 'set': function(_1qkw) { var _1qkx = null; if (_1qkw) { if (null != this._clickArea) return; this._clickArea = new _1qi5.AreaBox(0), this._clickArea.buttonMode = !0, this._clickArea.once(_1qi7.EventType.CLICK, this._onClick), null != this._clickLayer && this._clickLayer.addChild(this._clickArea); } else { if (null == this._clickArea) return; null != this._clickArea.parent && this._clickArea.parent.removeChild(this._clickArea), this._clickArea.off(_1qi7.EventType.CLICK, this._onClick), this._clickArea = null; } }, 'enumerable': !1, 'configurable': !0 }), _1qkn.prototype._start = function() { var _1qky = null, _1qkz = this; this._voice = _1qhz.default.sound.voice.play(this._mstID, this._voiceID, function() { var _1ql0 = null; _1qkz._onEnd(); }); }, _1qkn.prototype._onEnd = function() { var _1ql1 = null; this._endTask(); }, _1qkn.prototype._endTask = function() { var _1ql2 = null; this.clickable = !1, this._clickLayer = null, this._voice = null, _1qkl.prototype._endTask.call(this); }, _1qkn; }(_1qi4.TaskBase); }, 97926: function(_1ql3, _1ql4, _1ql5) { 'use strict'; var _1ql6 = null; var _1ql7, _1ql8 = this && this.__extends || (_1ql7 = function(_1ql9, _1qla) { var _1qlb = null; return _1ql7 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1qlc, _1qld) { var _1qle = null; _1qlc.__proto__ = _1qld; } || function(_1qlf, _1qlg) { var _1qlh = null; for (var _1qli in _1qlg) Object.prototype.hasOwnProperty.call(_1qlg, _1qli) && (_1qlf[_1qli] = _1qlg[_1qli]); }, _1ql7(_1ql9, _1qla); }, function(_1qlj, _1qlk) { var _1qll = null; if ('function' != typeof _1qlk && null !== _1qlk) throw new TypeError('Class extends value ' + String(_1qlk) + ' is not a constructor or null'); function _1qlm() { var _1qln = null; this.constructor = _1qlj; } _1ql7(_1qlj, _1qlk), _1qlj.prototype = null === _1qlk ? Object.create(_1qlk) : (_1qlm.prototype = _1qlk.prototype, new _1qlm()); }), _1qlo = this && this.__importDefault || function(_1qlp) { var _1qlq = null; return _1qlp && _1qlp.__esModule ? _1qlp : { 'default': _1qlp }; }; defineModule(_1ql4); Object.defineProperty(_1ql4, '__esModule', { 'value': !0 }), _1ql4.PhaseEnding = void 0; var _1qlr = _1qlo(_1ql5(18622)), _1qls = _1ql5(81755), _1qlt = _1ql5(73418), _1qlu = function(_1qlv) { var _1qlw = null; function _1qlx(_1qly, _1qlz) { var _1qm0 = null, _1qm1 = _1qlv.call(this) || this; return _1qm1._scene = _1qly, _1qm1._record = _1qlz, _1qm1; } return _1ql8(_1qlx, _1qlv), Object.defineProperty(_1qlx.prototype, 'scene', { 'get': function() { var _1qm2 = null; return this._scene; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1qlx.prototype, 'record', { 'get': function() { var _1qm3 = null; return this._record; }, 'enumerable': !1, 'configurable': !0 }), _1qlx.prototype._start = function() { var _1qm4 = null; this._scene.view.layer_title.hide(), this._endTouchPlane(); }, _1qlx.prototype._endTouchPlane = function() { var _1qm5 = null, _1qm6 = this._scene.view.raderLayer; _1qm6.rader_f.touch_plane.hide(), _1qm6.rader_e.touch_plane.hide(), this._waitGaugeExplodeAnimation(); }, _1qlx.prototype._waitGaugeExplodeAnimation = function() { var _1qm7 = null, _1qm8 = this; 1 == this._scene.view.layer_gauge.isAnimation() ? createjs.Tween.get(null).wait(500).call(function() { var _1qm9 = null; _1qm8._waitGaugeExplodeAnimation(); }) : this._fadeOutBGM(); }, _1qlx.prototype._fadeOutBGM = function() { var _1qma = null, _1qmb = this, _1qmc = this._scene.data.model.map_info.area_id, _1qmd = this._scene.data.model.map_info.map_no, _1qme = this._scene.data.model.map_info.isBoss(); (1 != _1qlr.default.model.mst_bgm.isSameBGM(_1qmc, _1qmd, _1qme) || 1 != this._record.raw.hasDayBattle()) && 1 == _1qlr.default.sound.bgm.playing ? (_1qlr.default.sound.bgm.fadeOut(1200), createjs.Tween.get(this).wait(1200).call(function() { var _1qmf = null; _1qmb._playBossLastGasp(); })) : this._playBossLastGasp(); }, _1qlx.prototype._playBossLastGasp = function() { var _1qmg = null; if (_1qlr.default.option.vol_voice <= 0) this._wait(); else { var _1qmh = this._scene.data.model.deck_e.ships[0]; if (0 != (0 == _1qmh.damageType && _1qmh.hp_init > 0)) { var _1qmi = this._scene.view.layer_gauge.isExploded(), _1qmj = _1qlt.EnemyVoiceConst.getLastGaspVoiceID(this._scene, _1qmh); _1qmi && _1qmj > 0 || (_1qmj = _1qlt.EnemyVoiceConst.getSourGrapesVoiceID(this._scene, _1qmh)) > 0 ? this._playBossVoice(_1qmj) : this._wait(); } else this._wait(); } }, _1qlx.prototype._playBossVoice = function(_1qmk) { var _1qml = null, _1qmm = this; _1qlr.default.sound.voice.play('9998', _1qmk, function() { var _1qmn = null; _1qmm._wait(); }); }, _1qlx.prototype._wait = function() { var _1qmo = null, _1qmp = this; createjs.Tween.get(this).wait(1000).call(function() { var _1qmq = null; _1qmp._shutter_close(); }); }, _1qlx.prototype._shutter_close = function() { var _1qmr = null, _1qms = this; this.scene.shutter2.close(), this.scene.shutter2.once('closed', function() { var _1qmt = null; _1qms._endTask(); }); }, _1qlx; }(_1qls.TaskBase); _1ql4.PhaseEnding = _1qlu; }, 65622: function(_1qmu, _1qmv, _1qmw) { 'use strict'; var _1qmx = null; var _1qmy, _1qmz = this && this.__extends || (_1qmy = function(_1qn0, _1qn1) { var _1qn2 = null; return _1qmy = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1qn3, _1qn4) { var _1qn5 = null; _1qn3.__proto__ = _1qn4; } || function(_1qn6, _1qn7) { var _1qn8 = null; for (var _1qn9 in _1qn7) Object.prototype.hasOwnProperty.call(_1qn7, _1qn9) && (_1qn6[_1qn9] = _1qn7[_1qn9]); }, _1qmy(_1qn0, _1qn1); }, function(_1qna, _1qnb) { var _1qnc = null; if ('function' != typeof _1qnb && null !== _1qnb) throw new TypeError('Class extends value ' + String(_1qnb) + ' is not a constructor or null'); function _1qnd() { var _1qne = null; this.constructor = _1qna; } _1qmy(_1qna, _1qnb), _1qna.prototype = null === _1qnb ? Object.create(_1qnb) : (_1qnd.prototype = _1qnb.prototype, new _1qnd()); }); defineModule(_1qmv); Object.defineProperty(_1qmv, '__esModule', { 'value': !0 }), _1qmv.PhaseHougeki = void 0; var _1qnf = _1qmw(32358), _1qng = _1qmw(70767), _1qnh = _1qmw(86489), _1qni = _1qmw(74545), _1qnj = _1qmw(71186), _1qnk = _1qmw(27311), _1qnl = _1qmw(17981), _1qnm = _1qmw(73819), _1qnn = _1qmw(13641), _1qno = _1qmw(22235), _1qnp = _1qmw(841), _1qnq = _1qmw(84387), _1qnr = _1qmw(78934), _1qns = _1qmw(59106), _1qnt = _1qmw(81541), _1qnu = _1qmw(62084), _1qnv = _1qmw(26546), _1qnw = _1qmw(28983), _1qnx = _1qmw(61968), _1qny = _1qmw(5606), _1qnz = _1qmw(35615), _1qo0 = _1qmw(5582), _1qo1 = _1qmw(88010), _1qo2 = _1qmw(64060), _1qo3 = _1qmw(69110), _1qo4 = _1qmw(43835), _1qo5 = _1qmw(46773), _1qo6 = _1qmw(4143), _1qo7 = _1qmw(61071), _1qo8 = _1qmw(7814), _1qo9 = _1qmw(78650), _1qoa = function(_1qob) { var _1qoc = null; function _1qod(_1qoe, _1qof, _1qog, _1qoh) { var _1qoi = null, _1qoj = _1qob.call(this) || this; return _1qoj._current_index = 0, _1qoj._scene = _1qoe, _1qoj._data = _1qof, _1qoj._ships_f = _1qog, _1qoj._ships_e = _1qoh, _1qoj; } return _1qmz(_1qod, _1qob), _1qod.prototype._start = function() { var _1qok = null; null == this._data || null == this._data.list || 0 == this._data.list.length ? this._endTask() : this._hougekiCycle(); }, _1qod.prototype._hougekiCycle = function() { var _1qol = null; if (this._current_index < this._data.list.length) { var _1qom = this._data.list[this._current_index]; this._current_index++, this._hougeki(_1qom); } else this._endTask(); }, _1qod.prototype._hougeki = function(_1qon) { var _1qoo = null, _1qop = _1qon.type; 0 == _1qop ? this._normal(_1qon) : 1 == _1qop ? this._double(_1qon) : 6 == _1qop ? this._kuboCI(_1qon) : 100 == _1qop ? this._nelson_touch(_1qon) : 101 == _1qop ? this._nagato_cutin(_1qon) : 102 == _1qop ? this._mutsu_cutin(_1qon) : 103 == _1qop ? this._colorado_cutin(_1qon) : 104 == _1qop ? this._kongo_cutin(_1qon) : 401 == _1qop || 400 == _1qop ? this._yamato_cutin(_1qon) : 7 == _1qop || 8 == _1qop || 9 == _1qop || 10 == _1qop ? this._kuchiku_special(_1qon) : 11 == _1qop || 12 == _1qop || 13 == _1qop || 14 == _1qop ? this._kuchiku_special_double(_1qon) : 300 == _1qop || 301 == _1qop || 302 == _1qop ? this._ss_cutin(_1qon) : 200 == _1qop ? this._zuiun_cutin(_1qon) : 1000 == _1qop ? this._sp_type4_torpedo(_1qon) : this._special(_1qon); }, _1qod.prototype._normal = function(_1qoq) { var _1qor = null, _1qos = this, _1qot = this._getAShip(_1qoq.a_index, _1qoq.flag), _1qou = this._getDShip(_1qoq.d_indexes[0], _1qoq.flag); if (null != _1qot && null != _1qou) { var _1qov = _1qoq.getSlotitem(0), _1qow = _1qoq.getDamage(0), _1qox = _1qoq.getHitType(0), _1qoy = _1qoq.isShield(0), _1qoz = this._getNormalAttackType(_1qot, _1qou, _1qov, _1qoq.yasen_kubo), _1qp0 = this._scene.data.isNight(), _1qp1 = this._scene.data.isAtollCell(), _1qp2 = _1qo9.BattleCommon.getDaihatsuEffectType(_1qot, _1qou, { 'night': _1qp0, 'atoll_cell': _1qp1 }), _1qp3 = _1qo9.BattleCommon.getKakuzaEffectType(_1qot, _1qou); if (1 == this._hasRocketEffect(_1qot, _1qou, _1qoz))(_1qp4 = new _1qny.PhaseAttackRocket(this._scene, _1qot, _1qou, _1qow, _1qox, _1qoy)).setOptionalEffects(_1qp2), _1qp4.start(function() { var _1qp5 = null; _1qos._hougekiCycle(); }); else { if (0 == _1qoz) { if (0 != _1qp3)(_1qp4 = new _1qo8.PhaseAttackKakuza(this._scene, _1qot, _1qou, _1qov, _1qow, _1qox, _1qoy, _1qp3)).start(function() { var _1qp6 = null; _1qos._hougekiCycle(); }); else(_1qp4 = new _1qnf.PhaseAttackNormal(this._scene, _1qot, _1qou, _1qov, _1qow, _1qox, _1qoy)).setOptionalEffects(_1qp2), _1qp4.start(function() { var _1qp7 = null; _1qos._hougekiCycle(); }); } else { if (1 == _1qoz) { var _1qp8 = _1qoq.yasen_kubo; (_1qp4 = new _1qng.PhaseAttackKansaiki(this._scene, _1qot, _1qou, _1qov, _1qow, _1qox, _1qoy, _1qp8)).setOptionalEffects(_1qp2), _1qp4.start(function() { var _1qp9 = null; _1qos._hougekiCycle(); }); } else { if (2 == _1qoz)(_1qp4 = new _1qnh.PhaseAttackBakurai(this._scene, _1qot, _1qou, _1qov, _1qow, _1qox, _1qoy)).setOptionalEffects(_1qp2), _1qp4.start(function() { var _1qpa = null; _1qos._hougekiCycle(); }); else { if (3 != _1qoz) throw new Error(); var _1qp4; (_1qp4 = new _1qni.PhaseAttackRaigeki(this._scene, _1qot, _1qou, _1qov, _1qow, _1qox, _1qoy)).setOptionalEffects(_1qp2), _1qp4.start(function() { var _1qpb = null; _1qos._hougekiCycle(); }); } } } } } }, _1qod.prototype._double = function(_1qpc) { var _1qpd = null, _1qpe = this, _1qpf = this._getAShip(_1qpc.a_index, _1qpc.flag), _1qpg = this._getDShip(_1qpc.d_indexes[0], _1qpc.flag), _1qph = this._getDShip(_1qpc.d_indexes[1], _1qpc.flag), _1qpi = _1qpc.getSlotitem(0), _1qpj = _1qpc.getDamage(0), _1qpk = _1qpc.getHitType(0), _1qpl = _1qpc.isShield(0), _1qpm = _1qpc.getSlotitem(1), _1qpn = _1qpc.getDamage(1), _1qpo = _1qpc.getHitType(1), _1qpp = _1qpc.isShield(1); new _1qnl.PhaseAttackDouble(this._scene, _1qpf, _1qpg, _1qpi, _1qpj, _1qpk, _1qpl, _1qph, _1qpm, _1qpn, _1qpo, _1qpp).start(function() { var _1qpq = null; _1qpe._hougekiCycle(); }); }, _1qod.prototype._sp_type4_torpedo = function(_1qpr) { var _1qps = null, _1qpt = this, _1qpu = this._getAShip(_1qpr.a_index, _1qpr.flag), _1qpv = this._getDShip(_1qpr.d_indexes[0], _1qpr.flag); if (null != _1qpu && null != _1qpv) { var _1qpw = _1qpr.getSlotitem(0), _1qpx = _1qpr.getDamage(0), _1qpy = _1qpr.getHitType(0), _1qpz = _1qpr.isShield(0); new _1qo4.PhaseAttackSpType4KaTsu(this._scene, _1qpu, _1qpv, _1qpw, _1qpx, _1qpy, _1qpz).start(function() { var _1qq0 = null; _1qpt._hougekiCycle(); }); } }, _1qod.prototype._kuboCI = function(_1qq1) { var _1qq2 = null, _1qq3 = this, _1qq4 = this._scene, _1qq5 = this._getAShip(_1qq1.a_index, _1qq1.flag), _1qq6 = this._getDShip(_1qq1.d_indexes[0], _1qq1.flag), _1qq7 = _1qq1.getSlotitem(0), _1qq8 = _1qq1.getSlotitem(1), _1qq9 = _1qq1.getSlotitem(2), _1qqa = _1qq1.getDamage(0), _1qqb = _1qq1.getHitType(0), _1qqc = _1qq1.isShield(0), _1qqd = this._scene.data.isNight(), _1qqe = this._scene.data.isAtollCell(), _1qqf = _1qo9.BattleCommon.getDaihatsuEffectType(_1qq5, _1qq6, { 'night': _1qqd, 'atoll_cell': _1qqe }), _1qqg = _1qq1.yasen_kubo, _1qqh = new _1qnx.PhaseAttackKuboCutin(_1qq4, _1qq5, _1qq6, _1qq7, _1qq8, _1qq9, _1qqa, _1qqb, _1qqc, _1qqg); _1qqh.setOptionalEffects(_1qqf), _1qqh.start(function() { var _1qqi = null; _1qq3._hougekiCycle(); }); }, _1qod.prototype._nelson_touch = function(_1qqj) { var _1qqk = null; for (var _1qql = this, _1qqm = [], _1qqn = 0; _1qqn < 3; _1qqn++) { var _1qqo = this._getDShip(_1qqj.d_indexes[_1qqn], _1qqj.flag); _1qqo && _1qqm.push(_1qqo); } var _1qqp = [_1qqj.getDamage(0), _1qqj.getDamage(1), _1qqj.getDamage(2)], _1qqq = [_1qqj.getHitType(0), _1qqj.getHitType(1), _1qqj.getHitType(2)], _1qqr = [_1qqj.isShield(0), _1qqj.isShield(1), _1qqj.isShield(2)]; new _1qnz.PhaseNelsonTouch(this._scene, _1qqm, _1qqp, _1qqq, _1qqr).start(function() { var _1qqs = null; _1qql._hougekiCycle(); }); }, _1qod.prototype._nagato_cutin = function(_1qqt) { var _1qqu = null; for (var _1qqv = this, _1qqw = [], _1qqx = 0; _1qqx < 3; _1qqx++) { var _1qqy = this._getDShip(_1qqt.d_indexes[_1qqx], _1qqt.flag); _1qqy && _1qqw.push(_1qqy); } var _1qqz = [_1qqt.getDamage(0), _1qqt.getDamage(1), _1qqt.getDamage(2)], _1qr0 = [_1qqt.getHitType(0), _1qqt.getHitType(1), _1qqt.getHitType(2)], _1qr1 = [_1qqt.isShield(0), _1qqt.isShield(1), _1qqt.isShield(2)]; new _1qo0.PhaseNagatoAttack(this._scene, _1qqw, _1qqz, _1qr0, _1qr1).start(function() { var _1qr2 = null; _1qqv._hougekiCycle(); }); }, _1qod.prototype._mutsu_cutin = function(_1qr3) { var _1qr4 = null; for (var _1qr5 = this, _1qr6 = [], _1qr7 = 0; _1qr7 < 3; _1qr7++) { var _1qr8 = this._getDShip(_1qr3.d_indexes[_1qr7], _1qr3.flag); _1qr8 && _1qr6.push(_1qr8); } var _1qr9 = [_1qr3.getDamage(0), _1qr3.getDamage(1), _1qr3.getDamage(2)], _1qra = [_1qr3.getHitType(0), _1qr3.getHitType(1), _1qr3.getHitType(2)], _1qrb = [_1qr3.isShield(0), _1qr3.isShield(1), _1qr3.isShield(2)]; new _1qo1.PhaseMutsuAttack(this._scene, _1qr6, _1qr9, _1qra, _1qrb).start(function() { var _1qrc = null; _1qr5._hougekiCycle(); }); }, _1qod.prototype._colorado_cutin = function(_1qrd) { var _1qre = null; for (var _1qrf = this, _1qrg = [], _1qrh = 0; _1qrh < 3; _1qrh++) { var _1qri = this._getDShip(_1qrd.d_indexes[_1qrh], _1qrd.flag); _1qri && _1qrg.push(_1qri); } var _1qrj = [_1qrd.getDamage(0), _1qrd.getDamage(1), _1qrd.getDamage(2)], _1qrk = [_1qrd.getHitType(0), _1qrd.getHitType(1), _1qrd.getHitType(2)], _1qrl = [_1qrd.isShield(0), _1qrd.isShield(1), _1qrd.isShield(2)]; new _1qo2.PhaseColoradoAttack(this._scene, _1qrg, _1qrj, _1qrk, _1qrl).start(function() { var _1qrm = null; _1qrf._hougekiCycle(); }); }, _1qod.prototype._kongo_cutin = function(_1qrn) { var _1qro = null; for (var _1qrp = this, _1qrq = [], _1qrr = 0; _1qrr < 3; _1qrr++) { var _1qrs = this._getDShip(_1qrn.d_indexes[_1qrr], _1qrn.flag); _1qrs && _1qrq.push(_1qrs); } var _1qrt = [_1qrn.getDamage(0), _1qrn.getDamage(1), _1qrn.getDamage(2)], _1qru = [_1qrn.getHitType(0), _1qrn.getHitType(1), _1qrn.getHitType(2)], _1qrv = [_1qrn.isShield(0), _1qrn.isShield(1), _1qrn.isShield(2)]; new _1qo6.PhaseKongoAttack(this._scene, _1qrq, _1qrt, _1qru, _1qrv).start(function() { var _1qrw = null; _1qrp._hougekiCycle(); }); }, _1qod.prototype._yamato_cutin = function(_1qrx) { var _1qry = null; for (var _1qrz = this, _1qs0 = 401 == _1qrx.type ? 2 : 3, _1qs1 = [], _1qs2 = [], _1qs3 = this._scene.data.model.deck_f.ships, _1qs4 = 0; _1qs4 < _1qs0; _1qs4++) _1qs1.push(_1qs3[_1qs4]); for (_1qs4 = 0; _1qs4 < 3; _1qs4++) { var _1qs5 = this._getDShip(_1qrx.d_indexes[_1qs4], _1qrx.flag); _1qs5 && _1qs2.push(_1qs5); } var _1qs6 = [_1qrx.getDamage(0), _1qrx.getDamage(1), _1qrx.getDamage(2)], _1qs7 = [_1qrx.getHitType(0), _1qrx.getHitType(1), _1qrx.getHitType(2)], _1qs8 = [_1qrx.isShield(0), _1qrx.isShield(1), _1qrx.isShield(2)]; new _1qo7.PhaseYamatoAttack(this._scene, _1qs1, _1qs2, _1qs6, _1qs7, _1qs8).start(function() { var _1qs9 = null; _1qrz._hougekiCycle(); }); }, _1qod.prototype._ss_cutin = function(_1qsa) { var _1qsb = null; for (var _1qsc = this, _1qsd = [], _1qse = 0; _1qse < _1qsa.d_indexes.length; _1qse++) { var _1qsf = { 'defender': this._getDShip(_1qsa.d_indexes[_1qse], _1qsa.flag), 'damage': _1qsa.getDamage(_1qse), 'hit': _1qsa.getHitType(_1qse), 'shield': _1qsa.isShield(_1qse) }; _1qsd.push(_1qsf); } new _1qno.PhaseSSAttack(this._scene, function(_1qsg) { var _1qsh = null; switch (_1qsg) { case 300: return [_1qsc._getAShip(1, 0), _1qsc._getAShip(2, 0)]; case 301: return [_1qsc._getAShip(2, 0), _1qsc._getAShip(3, 0)]; case 302: return [_1qsc._getAShip(1, 0), _1qsc._getAShip(3, 0)]; } }(_1qsa.type), _1qsd).start(function() { var _1qsi = null; _1qsc._hougekiCycle(); }); }, _1qod.prototype._zuiun_cutin = function(_1qsj) { var _1qsk = null; for (var _1qsl = this, _1qsm = this._getAShip(_1qsj.a_index, _1qsj.flag), _1qsn = [], _1qso = 0; _1qso < 2; _1qso++) { var _1qsp = this._getDShip(_1qsj.d_indexes[_1qso], _1qsj.flag); _1qsp && _1qsn.push(_1qsp); } var _1qsq = [_1qsj.getDamage(0), _1qsj.getDamage(1)], _1qsr = [_1qsj.getHitType(0), _1qsj.getHitType(1)], _1qss = [_1qsj.isShield(0), _1qsj.isShield(1)], _1qst = [_1qsj.getSlotitem(0), _1qsj.getSlotitem(1), _1qsj.getSlotitem(2)], _1qsu = new _1qo3.PhaseZuiunNightAttack(this._scene, _1qsm, _1qsn, _1qst, _1qsq, _1qsr, _1qss); if (null == _1qsu) throw new Error(); _1qsu.start(function() { var _1qsv = null; _1qsl._hougekiCycle(); }); }, _1qod.prototype._kuchiku_special = function(_1qsw) { var _1qsx = null, _1qsy = this, _1qsz = this._getAShip(_1qsw.a_index, _1qsw.flag), _1qt0 = this._getDShip(_1qsw.d_indexes[0], _1qsw.flag), _1qt1 = _1qsw.getSlotitem(0), _1qt2 = _1qsw.getSlotitem(1), _1qt3 = _1qsw.getSlotitem(2), _1qt4 = _1qsw.getDamage(0), _1qt5 = _1qsw.getHitType(0), _1qt6 = _1qsw.isShield(0), _1qt7 = _1qsw.type; if (7 == _1qt7) new _1qnk.PhaseAttackSpSRD(this._scene, _1qsz, _1qt0, _1qt1, _1qt2, _1qt3, _1qt4, _1qt5, _1qt6).start(function() { var _1qt8 = null; _1qsy._hougekiCycle(); }); else { if (8 == _1qt7) new _1qnj.PhaseAttackSpRDJ(this._scene, _1qsz, _1qt0, _1qt1, _1qt2, _1qt3, _1qt4, _1qt5, _1qt6).start(function() { var _1qt9 = null; _1qsy._hougekiCycle(); }); else { if (9 == _1qt7) new _1qnr.PhaseAttackSpSuirai(this._scene, _1qsz, _1qt0, _1qt1, _1qt2, _1qt3, _1qt4, _1qt5, _1qt6).start(function() { var _1qta = null; _1qsy._hougekiCycle(); }); else { if (10 != _1qt7) throw new Error(); new _1qns.PhaseAttackSpYusou(this._scene, _1qsz, _1qt0, _1qt1, _1qt2, _1qt3, _1qt4, _1qt5, _1qt6).start(function() { var _1qtb = null; _1qsy._hougekiCycle(); }); } } } }, _1qod.prototype._kuchiku_special_double = function(_1qtc) { var _1qtd = null, _1qte, _1qtf = this, _1qtg = this._getAShip(_1qtc.a_index, _1qtc.flag), _1qth = this._getDShip(_1qtc.d_indexes[0], _1qtc.flag), _1qti = _1qtc.getSlotitem(0), _1qtj = _1qtc.getSlotitem(1), _1qtk = _1qtc.getSlotitem(2), _1qtl = _1qtc.getHitType(0), _1qtm = _1qtc.isShield(0), _1qtn = _1qtc.getDamage(0) + _1qtc.getDamage(1), _1qto = _1qtc.type; if (11 == _1qto ? _1qte = new _1qnu.PhaseAttackSpSRDDouble(this._scene, _1qtg, _1qth, _1qti, _1qtj, _1qtk, _1qtn, _1qtl, _1qtm) : 12 == _1qto ? _1qte = new _1qnt.PhaseAttackSpRDJDouble(this._scene, _1qtg, _1qth, _1qti, _1qtj, _1qtk, _1qtn, _1qtl, _1qtm) : 13 == _1qto ? _1qte = new _1qnv.PhaseAttackSpSuiraiDouble(this._scene, _1qtg, _1qth, _1qti, _1qtj, _1qtk, _1qtn, _1qtl, _1qtm) : 14 == _1qto && (_1qte = new _1qnw.PhaseAttackSpYusouDouble(this._scene, _1qtg, _1qth, _1qti, _1qtj, _1qtk, _1qtn, _1qtl, _1qtm)), null == _1qte) throw new Error(); _1qte.start(function() { var _1qtp = null; _1qtf._hougekiCycle(); }); }, _1qod.prototype._special = function(_1qtq) { var _1qtr = null, _1qts, _1qtt = this, _1qtu = this._getAShip(_1qtq.a_index, _1qtq.flag), _1qtv = this._getDShip(_1qtq.d_indexes[0], _1qtq.flag), _1qtw = _1qtq.getSlotitem(0), _1qtx = _1qtq.getSlotitem(1), _1qty = _1qtq.getSlotitem(2), _1qtz = _1qtq.getHitType(0), _1qu0 = _1qtq.isShield(0), _1qu1 = _1qtq.type; if (2 == _1qu1) { var _1qu2 = _1qtq.getDamage(0) + _1qtq.getDamage(1); _1qts = new _1qnm.PhaseAttackSpSR(this._scene, _1qtq.type, _1qtu, _1qtv, _1qtw, _1qtx, _1qu2, _1qtz, _1qu0); } else { if (3 == _1qu1) _1qu2 = _1qtq.getDamage(0) + _1qtq.getDamage(1), _1qts = new _1qnn.PhaseAttackSpRR(this._scene, _1qtq.type, _1qtu, _1qtv, _1qtw, _1qtx, _1qu2, _1qtz, _1qu0); else { if (4 == _1qu1) _1qu2 = _1qtq.getDamage(0), _1qts = new _1qnp.PhaseAttackSpSSF(this._scene, _1qtq.type, _1qtu, _1qtv, _1qtw, _1qtx, _1qty, _1qu2, _1qtz, _1qu0); else 5 == _1qu1 && (_1qu2 = _1qtq.getDamage(0), _1qts = new _1qnq.PhaseAttackSpSSS(this._scene, _1qtq.type, _1qtu, _1qtv, _1qtw, _1qtx, _1qty, _1qu2, _1qtz, _1qu0)); } } if (null == _1qts) throw new Error(); _1qts.preload(function() { var _1qu3 = null; _1qts.start(function() { var _1qu4 = null; _1qtt._hougekiCycle(); }); }); }, _1qod.prototype._getAShip = function(_1qu5, _1qu6) { var _1qu7 = null; return 0 == _1qu6 ? this._ships_f[_1qu5] : this._ships_e[_1qu5]; }, _1qod.prototype._getDShip = function(_1qu8, _1qu9) { var _1qua = null; return 0 == _1qu9 ? this._ships_e[_1qu8] : this._ships_f[_1qu8]; }, _1qod; }(_1qo5.PhaseHougekiBase); _1qmv.PhaseHougeki = _1qoa; }, 46773: function(_1qub, _1quc, _1qud) { 'use strict'; var _1que = null; var _1quf, _1qug = this && this.__extends || (_1quf = function(_1quh, _1qui) { var _1quj = null; return _1quf = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1quk, _1qul) { var _1qum = null; _1quk.__proto__ = _1qul; } || function(_1qun, _1quo) { var _1qup = null; for (var _1quq in _1quo) Object.prototype.hasOwnProperty.call(_1quo, _1quq) && (_1qun[_1quq] = _1quo[_1quq]); }, _1quf(_1quh, _1qui); }, function(_1qur, _1qus) { var _1qut = null; if ('function' != typeof _1qus && null !== _1qus) throw new TypeError('Class extends value ' + String(_1qus) + ' is not a constructor or null'); function _1quu() { var _1quv = null; this.constructor = _1qur; } _1quf(_1qur, _1qus), _1qur.prototype = null === _1qus ? Object.create(_1qus) : (_1quu.prototype = _1qus.prototype, new _1quu()); }), _1quw = this && this.__importDefault || function(_1qux) { var _1quy = null; return _1qux && _1qux.__esModule ? _1qux : { 'default': _1qux }; }; defineModule(_1quc); Object.defineProperty(_1quc, '__esModule', { 'value': !0 }), _1quc.PhaseHougekiBase = void 0; var _1quz = _1quw(_1qud(18622)), _1qv0 = _1qud(81755), _1qv1 = _1qud(51805), _1qv2 = function(_1qv3) { var _1qv4 = null; function _1qv5() { var _1qv6 = null; return null !== _1qv3 && _1qv3.apply(this, arguments) || this; } return _1qug(_1qv5, _1qv3), _1qv5.prototype._getNormalAttackType = function(_1qv7, _1qv8, _1qv9, _1qva) { var _1qvb = null; if (1 == _1qva) return 1; var _1qvc = _1qv7.stype, _1qvd = _1qv7.mst_id, _1qve = 120 == _1quz.default.model.ship.getMst(_1qv7.mst_id).getClassType(); if ((7 == _1qvc || 646 == _1qvd || [411, 412].indexOf(_1qvd) > -1 || _1qve) && 1 == _1qv8.isSubMarine()) return 2; if (7 == _1qvc || 11 == _1qvc || 18 == _1qvc) { var _1qvf = _1qv7.name; return 432 == _1qvd || 353 == _1qvd || 433 == _1qvd || 'リコリス棲姫' == _1qvf || '深海海月姫' == _1qvf ? 0 : 1; } if (_1qv7.isSubMarine()) return 3; if (_1qv8.isSubMarine()) return 6 == _1qvc || 10 == _1qvc || 16 == _1qvc || 17 == _1qvc ? 1 : 2; var _1qvg = _1quz.default.model.slot.getMst(_1qv9); return null == _1qvg || _1qvg.equipTypeSp != _1qv1.EquipType._05_GYORAI && _1qvg.equipTypeSp != _1qv1.EquipType._32_SENSUIKAN_GYORAI ? 0 : 3; }, _1qv5.prototype._hasRocketEffect = function(_1qvh, _1qvi, _1qvj) { var _1qvk = null; if (0 == _1qvi.isGround()) return !1; if (1 == _1qvj) return !1; for (var _1qvl = 0, _1qvm = _1qvh.slots; _1qvl < _1qvm.length; _1qvl++) { var _1qvn = _1qvm[_1qvl]; if (null != _1qvn) { var _1qvo = _1qvn.mst_id; if (126 == _1qvo || 346 == _1qvo || 347 == _1qvo || 348 == _1qvo || 349 == _1qvo) return !0; } } return !1; }, _1qv5; }(_1qv0.TaskBase); _1quc.PhaseHougekiBase = _1qv2; }, 74940: function(_1qvp, _1qvq, _1qvr) { 'use strict'; var _1qvs = null; var _1qvt, _1qvu = this && this.__extends || (_1qvt = function(_1qvv, _1qvw) { var _1qvx = null; return _1qvt = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1qvy, _1qvz) { var _1qw0 = null; _1qvy.__proto__ = _1qvz; } || function(_1qw1, _1qw2) { var _1qw3 = null; for (var _1qw4 in _1qw2) Object.prototype.hasOwnProperty.call(_1qw2, _1qw4) && (_1qw1[_1qw4] = _1qw2[_1qw4]); }, _1qvt(_1qvv, _1qvw); }, function(_1qw5, _1qw6) { var _1qw7 = null; if ('function' != typeof _1qw6 && null !== _1qw6) throw new TypeError('Class extends value ' + String(_1qw6) + ' is not a constructor or null'); function _1qw8() { var _1qw9 = null; this.constructor = _1qw5; } _1qvt(_1qw5, _1qw6), _1qw5.prototype = null === _1qw6 ? Object.create(_1qw6) : (_1qw8.prototype = _1qw6.prototype, new _1qw8()); }); defineModule(_1qvq); Object.defineProperty(_1qvq, '__esModule', { 'value': !0 }), _1qvq.PhaseLighting = void 0; var _1qwa = function(_1qwb) { var _1qwc = null; function _1qwd(_1qwe, _1qwf) { var _1qwg = null; return _1qwb.call(this, _1qwe, _1qwf) || this; } return _1qvu(_1qwd, _1qwb), _1qwd.prototype._getShips_f = function() { var _1qwh = null, _1qwi = this._scene.data.model.deck_f; if (1 == _1qwi.isCombined()) switch (this._record.common.getActiveDeckFriend()) { case 1: return _1qwi.ships_main; case 2: return _1qwi.ships_sub; } return _1qwi.ships; }, _1qwd.prototype._getShips_e = function() { var _1qwj = null, _1qwk = this._scene.data.model.deck_e; if (1 == _1qwk.isCombined()) switch (this._record.common.getActiveDeckEnemy()) { case 1: return _1qwk.ships_main; case 2: return _1qwk.ships_sub; } return _1qwk.ships; }, _1qwd.prototype._getFlareBanner_f = function() { var _1qwl = null, _1qwm = this._record.raw.getFlareLightFriend(); return this._scene.view.bannerGroupLayer.getBanner(!0, _1qwm); }, _1qwd.prototype._getFlareBanner_e = function() { var _1qwn = null, _1qwo = this._record.raw.getFlareLightEnemy(); return this._scene.view.bannerGroupLayer.getBanner(!1, _1qwo); }, _1qwd; }(_1qvr(15063).PhaseLightingBase); _1qvq.PhaseLighting = _1qwa; }, 15063: function(_1qwp, _1qwq, _1qwr) { 'use strict'; var _1qws = null; var _1qwt, _1qwu = this && this.__extends || (_1qwt = function(_1qwv, _1qww) { var _1qwx = null; return _1qwt = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1qwy, _1qwz) { var _1qx0 = null; _1qwy.__proto__ = _1qwz; } || function(_1qx1, _1qx2) { var _1qx3 = null; for (var _1qx4 in _1qx2) Object.prototype.hasOwnProperty.call(_1qx2, _1qx4) && (_1qx1[_1qx4] = _1qx2[_1qx4]); }, _1qwt(_1qwv, _1qww); }, function(_1qx5, _1qx6) { var _1qx7 = null; if ('function' != typeof _1qx6 && null !== _1qx6) throw new TypeError('Class extends value ' + String(_1qx6) + ' is not a constructor or null'); function _1qx8() { var _1qx9 = null; this.constructor = _1qx5; } _1qwt(_1qx5, _1qx6), _1qx5.prototype = null === _1qx6 ? Object.create(_1qx6) : (_1qx8.prototype = _1qx6.prototype, new _1qx8()); }); defineModule(_1qwq); Object.defineProperty(_1qwq, '__esModule', { 'value': !0 }), _1qwq.PhaseLightingBase = void 0; var _1qxa = _1qwr(51805), _1qxb = _1qwr(5527), _1qxc = _1qwr(81755), _1qxd = _1qwr(34129), _1qxe = _1qwr(91972), _1qxf = function(_1qxg) { var _1qxh = null; function _1qxi(_1qxj, _1qxk) { var _1qxl = null, _1qxm = _1qxg.call(this) || this; return _1qxm._scene = _1qxj, _1qxm._record = _1qxk, _1qxm; } return _1qwu(_1qxi, _1qxg), _1qxi.prototype._start = function() { var _1qxn = null; this._showLight(); }, _1qxi.prototype._showLight = function() { var _1qxo = null, _1qxp = this, _1qxq = this._scene.view.layer_cutin, _1qxr = this._getFlareBanner_f(), _1qxs = this._getFlareBanner_e(), _1qxt = this._createSearchLightTask(); new _1qxd.TaskFlareEffect(_1qxq, _1qxr, _1qxs, _1qxt).start(function() { var _1qxu = null; _1qxp._endTask(); }); }, _1qxi.prototype._createSearchLightTask = function() { var _1qxv = null, _1qxw = this._getShips_f(), _1qxx = this._getSearchLightAnimationTask(_1qxw), _1qxy = this._getShips_e(), _1qxz = this._getSearchLightAnimationTask(_1qxy), _1qy0 = new _1qxb.ParallelTask(); return _1qy0.add(_1qxx), _1qy0.add(_1qxz), _1qy0; }, _1qxi.prototype._getSearchLightAnimationTask = function(_1qy1) { var _1qy2 = null; for (var _1qy3 = 0, _1qy4 = _1qy1; _1qy3 < _1qy4.length; _1qy3++) { if (null != (_1qy5 = _1qy4[_1qy3]) && (!(_1qy5.hp_now <= 1) && 1 != _1qy5.isTaihi() && 1 == _1qy5.hasSlotByEquipType(_1qxa.EquipType._42_LARGE_TANSHOTO))) { var _1qy6 = this._scene.view.bannerGroupLayer.getBanner(_1qy5); return new _1qxe.TaskSearchLightAnimation(_1qy6, !0); } } for (var _1qy7 = 0, _1qy8 = _1qy1; _1qy7 < _1qy8.length; _1qy7++) { var _1qy5; if (null != (_1qy5 = _1qy8[_1qy7]) && (!(_1qy5.hp_now <= 1) && 1 != _1qy5.isTaihi() && 1 == _1qy5.hasSlotByEquipType(_1qxa.EquipType._29_TANSHOTO))) return _1qy6 = this._scene.view.bannerGroupLayer.getBanner(_1qy5), new _1qxe.TaskSearchLightAnimation(_1qy6, !1); } return null; }, _1qxi; }(_1qxc.TaskBase); _1qwq.PhaseLightingBase = _1qxf; }, 74163: function(_1qy9, _1qya, _1qyb) { 'use strict'; var _1qyc = null; var _1qyd, _1qye = this && this.__extends || (_1qyd = function(_1qyf, _1qyg) { var _1qyh = null; return _1qyd = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1qyi, _1qyj) { var _1qyk = null; _1qyi.__proto__ = _1qyj; } || function(_1qyl, _1qym) { var _1qyn = null; for (var _1qyo in _1qym) Object.prototype.hasOwnProperty.call(_1qym, _1qyo) && (_1qyl[_1qyo] = _1qym[_1qyo]); }, _1qyd(_1qyf, _1qyg); }, function(_1qyp, _1qyq) { var _1qyr = null; if ('function' != typeof _1qyq && null !== _1qyq) throw new TypeError('Class extends value ' + String(_1qyq) + ' is not a constructor or null'); function _1qys() { var _1qyt = null; this.constructor = _1qyp; } _1qyd(_1qyp, _1qyq), _1qyp.prototype = null === _1qyq ? Object.create(_1qyq) : (_1qys.prototype = _1qyq.prototype, new _1qys()); }); defineModule(_1qya); Object.defineProperty(_1qya, '__esModule', { 'value': !0 }), _1qya.PhaseMoveShips = void 0; var _1qyu = _1qyb(5527), _1qyv = _1qyb(85492), _1qyw = function(_1qyx) { var _1qyy = null; function _1qyz(_1qz0, _1qz1) { var _1qz2 = null, _1qz3 = _1qyx.call(this) || this; return _1qz3._scene = _1qz0, _1qz3._record = _1qz1, _1qz3; } return _1qye(_1qyz, _1qyx), _1qyz.prototype._start = function() { var _1qz4 = null; 1 == this._scene.data.model.map_info.isNightStart() ? this._enterShipsAtNight() : this._enterBanners(); }, _1qyz.prototype._enterShipsAtNight = function() { var _1qz5 = null, _1qz6 = this, _1qz7 = this._scene.view.bannerGroupLayer, _1qz8 = new _1qyu.ParallelTask(); _1qz8.add(_1qz7.createFriendEnterTask()), _1qz8.add(_1qz7.createEnemyEnterTask()), _1qz8.start(function() { var _1qz9 = null; if (1 == _1qz6._scene.data.model.deck_f.isCombined()) { var _1qza = new _1qyv.TweenTask(), _1qzb = _1qz7.friends.createExitTweens(); _1qza.addTweens(_1qzb), _1qzb = _1qz7.createFriendSubDeckMoveTween(200), _1qza.addTweens(_1qzb), _1qza.start(function() { var _1qzc = null; _1qz6._endTask(); }); } else _1qz6._endTask(); }); var _1qzd = this._scene.data.model.deck_f, _1qze = _1qzd.getCountMainDeck(), _1qzf = _1qzd.getCountSubDeck(); 1 == _1qzd.isCombined() ? this._scene.view.raderLayer.rader_f.show(_1qzd.formation, 0, _1qzf, 0, !1) : this._scene.view.raderLayer.rader_f.show(_1qzd.formation, _1qzd.type, _1qze, _1qzf, !1); var _1qzg = this._scene.data.model.deck_e, _1qzh = _1qzg.formation, _1qzi = _1qzg.type, _1qzj = _1qzg.getCountMainDeck(), _1qzk = _1qzg.getCountSubDeck(); this._scene.view.raderLayer.rader_e.show(_1qzh, _1qzi, _1qzj, _1qzk, !1); }, _1qyz.prototype._enterBanners = function() { var _1qzl = null, _1qzm, _1qzn = this, _1qzo = new _1qyv.TweenTask(); if (1 == this._scene.view.bannerGroupLayer.isEnteredFriend() && 1 == this._scene.data.model.deck_f.isCombined()) { if (1 == (_1qzm = this._record.common.getActiveDeckFriend())) { var _1qzp = this._scene.view.bannerGroupLayer.friends_combined.createExitTweensUpDown(); _1qzo.addTweens(_1qzp); } else 2 == _1qzm && (_1qzp = this._scene.view.bannerGroupLayer.friends.createExitTweens(), (_1qzo.addTweens(_1qzp), _1qzp = this._scene.view.bannerGroupLayer.createFriendSubDeckMoveTween(200), _1qzo.addTweens(_1qzp))); } if (1 == this._scene.view.bannerGroupLayer.isEnteredEnemy() && 1 == this._scene.data.model.deck_e.isCombined()) { if (1 == (_1qzm = this._record.common.getActiveDeckEnemy())) _1qzp = this._scene.view.bannerGroupLayer.enemies_combined.createExitTweensUpDown(), _1qzo.addTweens(_1qzp); else 2 == _1qzm && (_1qzp = this._scene.view.bannerGroupLayer.enemies.createExitTweens(), (_1qzo.addTweens(_1qzp), _1qzp = this._scene.view.bannerGroupLayer.createEnemySubDeckMoveTween(200), _1qzo.addTweens(_1qzp))); } _1qzo.start(function() { var _1qzq = null; _1qzn._endTask(); }); }, _1qyz; }(_1qyb(81755).TaskBase); _1qya.PhaseMoveShips = _1qyw; }, 39149: function(_1qzr, _1qzs, _1qzt) { 'use strict'; var _1qzu = null; var _1qzv, _1qzw = this && this.__extends || (_1qzv = function(_1qzx, _1qzy) { var _1qzz = null; return _1qzv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1r00, _1r01) { var _1r02 = null; _1r00.__proto__ = _1r01; } || function(_1r03, _1r04) { var _1r05 = null; for (var _1r06 in _1r04) Object.prototype.hasOwnProperty.call(_1r04, _1r06) && (_1r03[_1r06] = _1r04[_1r06]); }, _1qzv(_1qzx, _1qzy); }, function(_1r07, _1r08) { var _1r09 = null; if ('function' != typeof _1r08 && null !== _1r08) throw new TypeError('Class extends value ' + String(_1r08) + ' is not a constructor or null'); function _1r0a() { var _1r0b = null; this.constructor = _1r07; } _1qzv(_1r07, _1r08), _1r07.prototype = null === _1r08 ? Object.create(_1r08) : (_1r0a.prototype = _1r08.prototype, new _1r0a()); }), _1r0c = this && this.__importDefault || function(_1r0d) { var _1r0e = null; return _1r0d && _1r0d.__esModule ? _1r0d : { 'default': _1r0d }; }; defineModule(_1qzs); Object.defineProperty(_1qzs, '__esModule', { 'value': !0 }), _1qzs.PhaseOpening = void 0; var _1r0f = _1r0c(_1qzt(21359)), _1r0g = _1r0c(_1qzt(18622)), _1r0h = _1qzt(81755), _1r0i = _1qzt(54011), _1r0j = _1qzt(70723), _1r0k = _1qzt(87090), _1r0l = function(_1r0m) { var _1r0n = null; function _1r0o(_1r0p, _1r0q) { var _1r0r = null, _1r0s = _1r0m.call(this) || this; return _1r0s._scene = _1r0p, _1r0s._record = _1r0q, _1r0s; } return _1qzw(_1r0o, _1r0m), Object.defineProperty(_1r0o.prototype, 'scene', { 'get': function() { var _1r0t = null; return this._scene; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1r0o.prototype, 'record', { 'get': function() { var _1r0u = null; return this._record; }, 'enumerable': !1, 'configurable': !0 }), _1r0o.prototype._start = function() { var _1r0v = null, _1r0w = this; this._scene.bg.setNight(function() { var _1r0x = null; _1r0w._openShutter(); }); }, _1r0o.prototype._openShutter = function() { var _1r0y = null, _1r0z = this, _1r10 = this._scene.data.model.deck_f.ships_sub, _1r11 = _1r10 ? _1r10[0] : this._scene.data.model.deck_f.ships[0], _1r12 = 18; 432 != _1r11.mst_id && 353 != _1r11.mst_id || (_1r12 = 918), _1r0g.default.sound.voice.play(_1r11.mst_id.toString(), _1r12), 1 == this.scene.shutter2.isOpened() ? this._showTitle() : (this.scene.shutter2.open(), this.scene.shutter2.once('opened', function() { var _1r13 = null; _1r0z._showTitle(); })); }, _1r0o.prototype._showTitle = function() { var _1r14 = null; this._scene.view.layer_title.show(8), this._showCutin(); }, _1r0o.prototype._showCutin = function() { var _1r15 = null, _1r16 = this, _1r17 = new _1r18(); _1r17.position.set(_1r0f.default.width / 2, _1r0f.default.height / 2), _1r17.initialize(), this._scene.view.layer_cutin.addChild(_1r17), _1r17.show(300), _1r17.once('complete_show', function() { var _1r19 = null; _1r16._hideCutin(_1r17); }); }, _1r0o.prototype._hideCutin = function(_1r1a) { var _1r1b = null, _1r1c = this; _1r1a.hide(1000), _1r1a.once('complete_hide', function() { var _1r1d = null; _1r1c._scene.view.layer_cutin.removeChild(_1r1a), _1r1c._endTask(); }); }, _1r0o; }(_1r0h.TaskBase); _1qzs.PhaseOpening = _1r0l; var _1r18 = function(_1r1e) { var _1r1f = null; function _1r1g() { var _1r1h = null, _1r1i = _1r1e.call(this) || this; return _1r1i._sprites = new Array(), _1r1i; } return _1qzw(_1r1g, _1r1e), _1r1g.prototype.initialize = function() { var _1r1j = null; for (var _1r1k = [-330, -165, 0, 165, 330, -248, -83, 83, 248], _1r1l = [-105, -105, -105, -105, -105, 105, 105, 105, 105], _1r1m = [9, 10, 11, 12, 13, 14, 15, 16, 17], _1r1n = 0; _1r1n < _1r1m.length; _1r1n++) { var _1r1o = _1r0k.BATTLE_NIGHT.getTexture(_1r1m[_1r1n]), _1r1p = new _1r0i.Sprite(_1r1o), _1r1q = _1r1k[_1r1n], _1r1r = _1r1l[_1r1n]; _1r1p.anchor.set(0.5), _1r1p.position.set(_1r1q, _1r1r), _1r1p.alpha = 0, this.addChild(_1r1p), this._sprites.push(_1r1p); } }, _1r1g.prototype.show = function(_1r1s) { var _1r1t = null; for (var _1r1u = this, _1r1v = null, _1r1w = 0; _1r1w < this._sprites.length; _1r1w++) { var _1r1x = this._sprites[_1r1w]; _1r1x.scale.set(1.5), _1r1v = createjs.Tween.get(_1r1x).wait(_1r1s + 100 * _1r1w).to({ 'alpha': 1, 'scaleX': 1, 'scaleY': 1 }, 300).call(function() { var _1r1y = null; _1r0j.SE.play('110'); }); } _1r1v.call(function() { var _1r1z = null; _1r1u.emit('complete_show'); }); }, _1r1g.prototype.hide = function(_1r20) { var _1r21 = null; for (var _1r22 = this, _1r23 = null, _1r24 = 0; _1r24 < this._sprites.length; _1r24++) { this._sprites[_1r24], _1r23 = createjs.Tween.get(this).wait(_1r20).to({ 'alpha': 0, 'scaleX': 3, 'scaleY': 3 }, 600); } _1r23.call(function() { var _1r25 = null; _1r22.emit('complete_hide'); }); }, Object.defineProperty(_1r1g.prototype, 'scaleX', { 'get': function() { var _1r26 = null; return this.scale.x; }, 'set': function(_1r27) { var _1r28 = null; this.scale.x = _1r27; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1r1g.prototype, 'scaleY', { 'get': function() { var _1r29 = null; return this.scale.y; }, 'set': function(_1r2a) { var _1r2b = null; this.scale.y = _1r2a; }, 'enumerable': !1, 'configurable': !0 }), _1r1g; }(PIXI.Container); }, 38538: function(_1r2c, _1r2d, _1r2e) { 'use strict'; var _1r2f = null; var _1r2g, _1r2h = this && this.__extends || (_1r2g = function(_1r2i, _1r2j) { var _1r2k = null; return _1r2g = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1r2l, _1r2m) { var _1r2n = null; _1r2l.__proto__ = _1r2m; } || function(_1r2o, _1r2p) { var _1r2q = null; for (var _1r2r in _1r2p) Object.prototype.hasOwnProperty.call(_1r2p, _1r2r) && (_1r2o[_1r2r] = _1r2p[_1r2r]); }, _1r2g(_1r2i, _1r2j); }, function(_1r2s, _1r2t) { var _1r2u = null; if ('function' != typeof _1r2t && null !== _1r2t) throw new TypeError('Class extends value ' + String(_1r2t) + ' is not a constructor or null'); function _1r2v() { var _1r2w = null; this.constructor = _1r2s; } _1r2g(_1r2s, _1r2t), _1r2s.prototype = null === _1r2t ? Object.create(_1r2t) : (_1r2v.prototype = _1r2t.prototype, new _1r2v()); }), _1r2x = this && this.__importDefault || function(_1r2y) { var _1r2z = null; return _1r2y && _1r2y.__esModule ? _1r2y : { 'default': _1r2y }; }; defineModule(_1r2d); Object.defineProperty(_1r2d, '__esModule', { 'value': !0 }), _1r2d.TaskFlagShip = _1r2d.PhaseSupport = void 0; var _1r30 = _1r2x(_1r2e(18622)), _1r31 = _1r2e(81755), _1r32 = _1r2e(55535), _1r33 = _1r2e(56494), _1r34 = _1r2e(20137), _1r35 = _1r2e(50614), _1r36 = _1r2e(72010), _1r37 = _1r2e(58715), _1r38 = _1r2e(97478), _1r39 = _1r2e(81322), _1r3a = _1r2e(92151), _1r3b = _1r2e(86523), _1r3c = function(_1r3d) { var _1r3e = null; function _1r3f(_1r3g, _1r3h) { var _1r3i = null, _1r3j = _1r3d.call(this) || this; return _1r3j._scene = _1r3g, _1r3j._record = _1r3h, _1r3j._damage_cutin = new _1r35.PhaseDamageCutin(_1r3j._scene), _1r3j; } return _1r2h(_1r3f, _1r3d), _1r3f.prototype._start = function() { var _1r3k = null, _1r3l = this._record.raw.support_air; if (null == _1r3l) { var _1r3m = this._record.raw.support_hou; if (null == _1r3m) { var _1r3n = this._record.raw.support_rai; if (null == _1r3n) { var _1r3o = this._record.raw.support_taisen; null == _1r3o ? this._endTask() : this._supportTaisen(_1r3o); } else this._supportRai(_1r3n); } else this._supportHou(_1r3m); } else this._supportAir(_1r3l); }, _1r3f.prototype._supportAir = function(_1r3p) { var _1r3q = null, _1r3r = this; new _1r36.PhaseEnemyEnter(this._scene, this._record).start(function() { var _1r3s = null; _1r3r._scene.view.layer_title.show(1); for (var _1r3t = _1r3r._scene.view.layer_cutin, _1r3u = [], _1r3v = 0, _1r3w = _1r3p.getShipList(); _1r3v < _1r3w.length; _1r3v++) { var _1r3x = _1r3w[_1r3v]; if (null != _1r3x) { var _1r3y = _1r30.default.model.ship.get(_1r3x.mem_id); null != _1r3y ? _1r3u.push({ 'mst_id': _1r3y.mstID, 'damaged': _1r3x.damaged, 'ribbon': _1r3y.ribbon }) : _1r3u.push(null); } else _1r3u.push(null); } var _1r3z = new _1r32.SerialTask(), _1r40 = new _1r3b.TaskSupportDeckCutin(_1r3t, _1r3u); _1r3z.add(_1r40); var _1r41 = _1r3u[0].mst_id, _1r42 = _1r3u[0].damaged; _1r3z.add(new _1r43(_1r3t, _1r41, _1r42)); var _1r44 = _1r3r._scene.data.model.deck_f.ships, _1r45 = _1r3r._scene.data.model.deck_e.ships; _1r3z.add(new _1r39.TaskSupportAir(_1r3r._scene, _1r3p, _1r44, _1r45, _1r3r._damage_cutin, null)), _1r3z.start(function() { var _1r46 = null; _1r3r._scene.view.layer_title.hide(function() { var _1r47 = _1r46; new _1r33[(_1r47(8479))](800)[_1r47(3269)](function() { var _1r48 = _1r47; _1r3r[_1r48(2224)](); }); }); }); }); }, _1r3f.prototype._supportHou = function(_1r49) { var _1r4a = null, _1r4b = this; new _1r36.PhaseEnemyEnter(this._scene, this._record).start(function() { var _1r4c = null; _1r4b._scene.view.layer_title.show(2); for (var _1r4d = _1r4b._scene.view.layer_cutin, _1r4e = [], _1r4f = 0, _1r4g = _1r49.getShipList(); _1r4f < _1r4g.length; _1r4f++) { var _1r4h = _1r4g[_1r4f]; if (null != _1r4h) { var _1r4i = _1r30.default.model.ship.get(_1r4h.mem_id); null != _1r4i ? _1r4e.push({ 'mst_id': _1r4i.mstID, 'damaged': _1r4h.damaged, 'ribbon': _1r4i.ribbon }) : _1r4e.push(null); } else _1r4e.push(null); } var _1r4j = new _1r32.SerialTask(), _1r4k = new _1r3b.TaskSupportDeckCutin(_1r4d, _1r4e); _1r4j.add(_1r4k); var _1r4l = _1r4e[0].mst_id, _1r4m = _1r4e[0].damaged; _1r4j.add(new _1r43(_1r4d, _1r4l, _1r4m)), _1r4j.add(new _1r37.PhaseSupportHou(_1r4b._scene, _1r49, _1r4b._scene.data.model.deck_e.ships)), _1r4j.start(function() { var _1r4n = null; _1r4b._scene.view.layer_title.hide(function() { var _1r4o = _1r4n; new _1r33[(_1r4o(8479))](800)[_1r4o(3269)](function() { var _1r4p = _1r4o; _1r4b[_1r4p(2224)](); }); }); }); }); }, _1r3f.prototype._supportRai = function(_1r4q) { var _1r4r = null, _1r4s = this; new _1r36.PhaseEnemyEnter(this._scene, this._record).start(function() { var _1r4t = null; _1r4s._scene.view.layer_title.show(3); for (var _1r4u = _1r4s._scene.view.layer_cutin, _1r4v = [], _1r4w = 0, _1r4x = _1r4q.getShipList(); _1r4w < _1r4x.length; _1r4w++) { var _1r4y = _1r4x[_1r4w]; if (null != _1r4y) { var _1r4z = _1r30.default.model.ship.get(_1r4y.mem_id); null != _1r4z ? _1r4v.push({ 'mst_id': _1r4z.mstID, 'damaged': _1r4y.damaged, 'ribbon': _1r4z.ribbon }) : _1r4v.push(null); } else _1r4v.push(null); } var _1r50 = new _1r32.SerialTask(), _1r51 = new _1r3b.TaskSupportDeckCutin(_1r4u, _1r4v); _1r50.add(_1r51); var _1r52 = _1r4v[0].mst_id, _1r53 = _1r4v[0].damaged; _1r50.add(new _1r43(_1r4u, _1r52, _1r53)), _1r50.add(new _1r38.PhaseSupportRai(_1r4s._scene, _1r4q, _1r4s._scene.data.model.deck_e.ships)), _1r50.start(function() { var _1r54 = null; _1r4s._scene.view.layer_title.hide(function() { var _1r55 = _1r54; new _1r33[(_1r55(8479))](800)[_1r55(3269)](function() { var _1r56 = _1r55; _1r4s[_1r56(2224)](); }); }); }); }); }, _1r3f.prototype._supportTaisen = function(_1r57) { var _1r58 = null, _1r59 = this; new _1r36.PhaseEnemyEnter(this._scene, this._record).start(function() { var _1r5a = null; for (var _1r5b = _1r59._scene.view.layer_cutin, _1r5c = [], _1r5d = 0, _1r5e = _1r57.getShipList(); _1r5d < _1r5e.length; _1r5d++) { var _1r5f = _1r5e[_1r5d]; if (null != _1r5f) { var _1r5g = _1r30.default.model.ship.get(_1r5f.mem_id); null != _1r5g ? _1r5c.push({ 'mst_id': _1r5g.mstID, 'damaged': _1r5f.damaged, 'ribbon': _1r5g.ribbon }) : _1r5c.push(null); } else _1r5c.push(null); } var _1r5h = new _1r32.SerialTask(), _1r5i = new _1r3b.TaskSupportDeckCutin(_1r5b, _1r5c); _1r5h.add(_1r5i); var _1r5j = _1r5c[0].mst_id, _1r5k = _1r5c[0].damaged; _1r5h.add(new _1r43(_1r5b, _1r5j, _1r5k)); var _1r5l = _1r59._scene.data.model.deck_f.ships, _1r5m = _1r59._scene.data.model.deck_e.ships; _1r5h.add(new _1r3a.TaskSupportTaisen(_1r59._scene, _1r57, _1r5l, _1r5m, _1r59._damage_cutin, null)), _1r5h.start(function() { var _1r5n = null; new _1r33.WaitTask(800).start(function() { var _1r5o = _1r5n; _1r59[_1r5o(2224)](); }); }); }); }, _1r3f.prototype._endTask = function() { var _1r5p = null, _1r5q = this; this._damage_cutin.start(function() { var _1r5r = null; _1r5q._scene = null, _1r5q._record = null, _1r5q._damage_cutin = null, _1r3d.prototype._endTask.call(_1r5q); }); }, _1r3f; }(_1r31.TaskBase); _1r2d.PhaseSupport = _1r3c; var _1r43 = function(_1r5s) { var _1r5t = null; function _1r5u(_1r5v, _1r5w, _1r5x) { var _1r5y = null, _1r5z = _1r5s.call(this) || this; return _1r5z._layer = _1r5v, _1r5z._mst_id = _1r5w, _1r5z._damaged = _1r5x, _1r5z; } return _1r2h(_1r5u, _1r5s), _1r5u.prototype._start = function() { var _1r60 = null, _1r61 = this, _1r62 = new _1r34.ShipLoader(); _1r62.add(this._mst_id, this._damaged, 'full'), _1r62.load(function() { var _1r63 = null; _1r61._show(); }); }, _1r5u.prototype._show = function() { var _1r64 = null, _1r65 = this, _1r66 = _1r30.default.model.ship_graph.get(this._mst_id).getBattleOffset(this._damaged), _1r67 = -740 + _1r66.x, _1r68 = _1r30.default.resources.getShip(this._mst_id, this._damaged, 'full'); this._s = new PIXI.Sprite(_1r68), this._s.x = _1r67, this._s.y = -105 + _1r66.y, this._s.alpha = 0, this._layer.addChild(this._s), createjs.Tween.get(this._s).to({ 'x': _1r67 + 665, 'alpha': 1 }, 500).to({ 'x': _1r67 + 740 }, 300).call(function() { var _1r69 = null; _1r30.default.sound.voice.playAtRandom(_1r65._mst_id.toString(), [16, 17, 18], [33, 33, 34]); }).wait(300).to({ 'x': _1r67 + 1070, 'alpha': 0 }, 500).call(function() { var _1r6a = null; _1r65._layer.removeChild(_1r65._s), _1r65._endTask(); }); }, _1r5u.prototype._endTask = function() { var _1r6b = null; this._layer = null, this._s = null, _1r5s.prototype._endTask.call(this); }, _1r5u; }(_1r31.TaskBase); _1r2d.TaskFlagShip = _1r43; }, 37936: function(_1r6c, _1r6d, _1r6e) { 'use strict'; var _1r6f = null; var _1r6g, _1r6h = this && this.__extends || (_1r6g = function(_1r6i, _1r6j) { var _1r6k = null; return _1r6g = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1r6l, _1r6m) { var _1r6n = null; _1r6l.__proto__ = _1r6m; } || function(_1r6o, _1r6p) { var _1r6q = null; for (var _1r6r in _1r6p) Object.prototype.hasOwnProperty.call(_1r6p, _1r6r) && (_1r6o[_1r6r] = _1r6p[_1r6r]); }, _1r6g(_1r6i, _1r6j); }, function(_1r6s, _1r6t) { var _1r6u = null; if ('function' != typeof _1r6t && null !== _1r6t) throw new TypeError('Class extends value ' + String(_1r6t) + ' is not a constructor or null'); function _1r6v() { var _1r6w = null; this.constructor = _1r6s; } _1r6g(_1r6s, _1r6t), _1r6s.prototype = null === _1r6t ? Object.create(_1r6t) : (_1r6v.prototype = _1r6t.prototype, new _1r6v()); }), _1r6x = this && this.__importDefault || function(_1r6y) { var _1r6z = null; return _1r6y && _1r6y.__esModule ? _1r6y : { 'default': _1r6y }; }; defineModule(_1r6d); Object.defineProperty(_1r6d, '__esModule', { 'value': !0 }), _1r6d.TaskGoNightBattleSelect = void 0; var _1r70 = _1r6x(_1r6e(21359)), _1r71 = _1r6e(24616), _1r72 = _1r6e(81755), _1r73 = _1r6e(54011), _1r74 = _1r6e(70723), _1r75 = _1r6e(22434), _1r76 = _1r6e(35380), _1r77 = function(_1r78) { var _1r79 = null; function _1r7a(_1r7b) { var _1r7c = null, _1r7d = _1r78.call(this) || this; return _1r7d._result = !1, _1r7d._onSelect = function(_1r7e) { var _1r7f = null; _1r74.SE.play('106'), _1r7d._result = _1r7e, _1r7d._hide(); }, _1r7d._scene = _1r7b, _1r7d; } return _1r6h(_1r7a, _1r78), Object.defineProperty(_1r7a.prototype, 'result', { 'get': function() { var _1r7g = null; return this._result; }, 'enumerable': !1, 'configurable': !0 }), _1r7a.prototype._start = function() { var _1r7h = null; this._layer = new _1r7i(this._onSelect), this._layer.position.set(_1r70.default.width / 2, _1r70.default.height / 2), this._layer.alpha = 0, this._scene.addChild(this._layer), this._scene.view.layer_title.show(7, this._scene), this._showBtns(); }, _1r7a.prototype._showBtns = function() { var _1r7j = null, _1r7k = this; this._layer.initialize(), createjs.Tween.get(this._layer).to({ 'alpha': 1 }, 300).call(function() { var _1r7l = null; _1r7k._layer.activate(); }); }, _1r7a.prototype._hide = function() { var _1r7m = null, _1r7n = this; this._layer.deactivate(), this._scene.view.layer_title.hide(), createjs.Tween.get(this._layer.btn_not_night).to({ 'x': -_1r70.default.width / 2 }, 500), createjs.Tween.get(this._layer.btn_go_night).to({ 'x': _1r70.default.width / 2 }, 500).call(function() { var _1r7o = null; _1r7n._endTask(); }); }, _1r7a.prototype._endTask = function() { var _1r7p = null; this._scene.removeChild(this._layer), this._layer.dispose(), this._scene = null, this._layer = null, _1r78.prototype._endTask.call(this); }, _1r7a; }(_1r72.TaskBase); _1r6d.TaskGoNightBattleSelect = _1r77; var _1r7i = function(_1r7q) { var _1r7r = null; function _1r7s(_1r7t) { var _1r7u = null, _1r7v = _1r7q.call(this) || this; return _1r7v._btn_not_night = new _1r7w(_1r7t), _1r7v._btn_not_night.position.set(-162, 0), _1r7v._btn_go_night = new _1r7x(_1r7t), _1r7v._btn_go_night.position.set(162, 0), _1r7v.addChild(_1r7v._btn_not_night), _1r7v.addChild(_1r7v._btn_go_night), _1r7v; } return _1r6h(_1r7s, _1r7q), Object.defineProperty(_1r7s.prototype, 'btn_not_night', { 'get': function() { var _1r7y = null; return this._btn_not_night; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1r7s.prototype, 'btn_go_night', { 'get': function() { var _1r7z = null; return this._btn_go_night; }, 'enumerable': !1, 'configurable': !0 }), _1r7s.prototype.initialize = function() { var _1r80 = null; this._btn_not_night.initialize(), this._btn_go_night.initialize(); }, _1r7s.prototype.activate = function() { var _1r81 = null; this._btn_not_night.activate(), this._btn_go_night.activate(); }, _1r7s.prototype.deactivate = function() { var _1r82 = null; this._btn_not_night.deactivate(), this._btn_go_night.deactivate(); }, _1r7s.prototype.dispose = function() { var _1r83 = null; this._btn_not_night.dispose(), this._btn_go_night.dispose(); }, _1r7s; }(PIXI.Container), _1r84 = function(_1r85) { var _1r86 = null; function _1r87(_1r88, _1r89) { var _1r8a = null, _1r8b = _1r85.call(this) || this; return _1r8b._onMouseOver = function() { var _1r8c = null; _1r8b._setTexture(!0), _1r8b._wave.start(); }, _1r8b._onMouseOut = function() { var _1r8d = null; _1r8b._setTexture(!1), _1r8b._wave.stop(); }, _1r8b._onClick = function() { var _1r8e = null; 0 != _1r8b.buttonMode && null != _1r8b._cb_onClick && _1r8b._cb_onClick(_1r8b._value); }, _1r8b._value = _1r88, _1r8b._cb_onClick = _1r89, _1r8b._wave = new _1r8f(), _1r8b._btn = new PIXI.Sprite(), _1r8b.interactive = !0, _1r8b.addChild(_1r8b._wave), _1r8b.addChild(_1r8b._btn), _1r8b; } return _1r6h(_1r87, _1r85), _1r87.prototype.initialize = function() { var _1r8g = null, _1r8h = [new PIXI.Point(-21, -71), new PIXI.Point(78, -60), new PIXI.Point(96, 14), new PIXI.Point(17, 77), new PIXI.Point(-81, 65), new PIXI.Point(-99, -8)]; this.hitArea = new PIXI.Polygon(_1r8h), this._wave.initialize(), this._setTexture(!1); }, _1r87.prototype._drawHitArea = function(_1r8i) { var _1r8j = null; if (null != _1r8i) { var _1r8k = new PIXI.Graphics(); _1r8k.beginFill(65280, 0.3), _1r8k.moveTo(_1r8i[0].x, _1r8i[0].y); for (var _1r8l = 1; _1r8l < _1r8i.length; _1r8l++) _1r8k.lineTo(_1r8i[_1r8l].x, _1r8i[_1r8l].y); _1r8k.endFill(), this.addChildAt(_1r8k, 0); } }, _1r87.prototype.activate = function() { var _1r8m = null; 1 != this.buttonMode && (this.buttonMode = !0, this.on(_1r76.EventType.MOUSEOVER, this._onMouseOver), this.on(_1r76.EventType.MOUSEOUT, this._onMouseOut), this.on(_1r76.EventType.CLICK, this._onClick), 1 == _1r71.InteractiveUtil.isOnMouse(this) && this._onMouseOver()); }, _1r87.prototype.deactivate = function() { var _1r8n = null; this.off(_1r76.EventType.MOUSEOVER, this._onMouseOver), this.off(_1r76.EventType.MOUSEOUT, this._onMouseOut), this.off(_1r76.EventType.CLICK, this._onClick), this.buttonMode = !1; }, _1r87.prototype.dispose = function() { var _1r8o = null; this._wave.dispose(), this.deactivate(), this._cb_onClick = null; }, _1r87; }(PIXI.Container), _1r8f = function(_1r8p) { var _1r8q = null; function _1r8r() { var _1r8s = null, _1r8t = _1r8p.call(this) || this; return _1r8t._wave1 = new _1r73.Sprite(), _1r8t._wave1.anchor.set(0.5), _1r8t._initWave(_1r8t._wave1), _1r8t._wave2 = new _1r73.Sprite(), _1r8t._wave2.anchor.set(0.5), _1r8t._initWave(_1r8t._wave2), _1r8t._wave_tweens = new Array(2), _1r8t.addChild(_1r8t._wave1), _1r8t.addChild(_1r8t._wave2), _1r8t; } return _1r6h(_1r8r, _1r8p), _1r8r.prototype.initialize = function() { var _1r8u = null; this._wave1.texture = _1r75.BATTLE_MAIN.getTexture(6), this._wave2.texture = _1r75.BATTLE_MAIN.getTexture(6); }, _1r8r.prototype.dispose = function() { var _1r8v = null; this.stop(); }, _1r8r.prototype._initWave = function(_1r8w) { var _1r8x = null; _1r8w.scale.set(0), _1r8w.alpha = 0; }, _1r8r.prototype.start = function() { var _1r8y = null; this.stop(), this._wave_tweens[0] = createjs.Tween.get(this._wave1, { 'loop': !0 }).to({ 'alpha': 1, 'scaleX': 0.4, 'scaleY': 0.4 }, 400).to({ 'alpha': 0, 'scaleX': 1, 'scaleY': 1 }, 400).to({ 'scaleX': 0, 'scaleY': 0 }, 0).wait(200), this._wave_tweens[1] = createjs.Tween.get(this._wave2, { 'loop': !0 }).wait(200).to({ 'alpha': 1, 'scaleX': 0.4, 'scaleY': 0.4 }, 400).to({ 'alpha': 0, 'scaleX': 1, 'scaleY': 1 }, 400).to({ 'scaleX': 0, 'scaleY': 0 }, 0); }, _1r8r.prototype.stop = function() { var _1r8z = null; for (var _1r90 = 0; _1r90 < this._wave_tweens.length; _1r90++) null != this._wave_tweens[_1r90] && (this._wave_tweens[_1r90].setPaused(!0), this._wave_tweens[_1r90] = null); this._initWave(this._wave1), this._initWave(this._wave2); }, _1r8r; }(PIXI.Container), _1r7w = function(_1r91) { var _1r92 = null; function _1r93(_1r94) { var _1r95 = null; return _1r91.call(this, !1, _1r94) || this; } return _1r6h(_1r93, _1r91), _1r93.prototype._setTexture = function(_1r96) { var _1r97 = null; 1 == _1r96 ? (this._btn.texture = _1r75.BATTLE_MAIN.getTexture(8), this._btn.position.set(-128, -105)) : (this._btn.texture = _1r75.BATTLE_MAIN.getTexture(7), this._btn.position.set(-99, -78)); }, _1r93; }(_1r84), _1r7x = function(_1r98) { var _1r99 = null; function _1r9a(_1r9b) { var _1r9c = null; return _1r98.call(this, !0, _1r9b) || this; } return _1r6h(_1r9a, _1r98), _1r9a.prototype._setTexture = function(_1r9d) { var _1r9e = null; 1 == _1r9d ? (this._btn.texture = _1r75.BATTLE_MAIN.getTexture(10), this._btn.position.set(-129, -105)) : (this._btn.texture = _1r75.BATTLE_MAIN.getTexture(9), this._btn.position.set(-101, -78)); }, _1r9a; }(_1r84); }, 90485: function(_1r9f, _1r9g, _1r9h) { 'use strict'; var _1r9i = null; var _1r9j, _1r9k = this && this.__extends || (_1r9j = function(_1r9l, _1r9m) { var _1r9n = null; return _1r9j = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1r9o, _1r9p) { var _1r9q = null; _1r9o.__proto__ = _1r9p; } || function(_1r9r, _1r9s) { var _1r9t = null; for (var _1r9u in _1r9s) Object.prototype.hasOwnProperty.call(_1r9s, _1r9u) && (_1r9r[_1r9u] = _1r9s[_1r9u]); }, _1r9j(_1r9l, _1r9m); }, function(_1r9v, _1r9w) { var _1r9x = null; if ('function' != typeof _1r9w && null !== _1r9w) throw new TypeError('Class extends value ' + String(_1r9w) + ' is not a constructor or null'); function _1r9y() { var _1r9z = null; this.constructor = _1r9v; } _1r9j(_1r9v, _1r9w), _1r9v.prototype = null === _1r9w ? Object.create(_1r9w) : (_1r9y.prototype = _1r9w.prototype, new _1r9y()); }), _1ra0 = this && this.__importDefault || function(_1ra1) { var _1ra2 = null; return _1ra1 && _1ra1.__esModule ? _1ra1 : { 'default': _1ra1 }; }; defineModule(_1r9g); Object.defineProperty(_1r9g, '__esModule', { 'value': !0 }), _1r9g.TaskInit = void 0; var _1ra3 = _1ra0(_1r9h(21359)), _1ra4 = _1ra0(_1r9h(18622)), _1ra5 = _1r9h(81755), _1ra6 = _1r9h(20137), _1ra7 = _1r9h(10793), _1ra8 = _1r9h(84412), _1ra9 = _1r9h(70723), _1raa = _1r9h(97244), _1rab = _1r9h(6284), _1rac = _1r9h(63847), _1rad = _1r9h(18795), _1rae = _1r9h(4070), _1raf = _1r9h(23703), _1rag = _1r9h(76095), _1rah = _1r9h(71633), _1rai = _1r9h(10742), _1raj = function(_1rak) { var _1ral = null; function _1ram(_1ran) { var _1rao = null, _1rap = _1rak.call(this) || this; return _1rap._flg_wait1500 = !1, _1rap._flg_preinitialized = !1, _1rap._scene = _1ran, _1rap; } return _1r9k(_1ram, _1rak), _1ram.prototype._start = function() { var _1raq = null; _1ra4.default.sound.voice.setNumOfMultiPlay(100), this._loadResources(); }, _1ram.prototype._loadResources = function() { var _1rar = null, _1ras = this, _1rat = this._scene.data.model.deck_f, _1rau = null != _1rat && _1rat.isCombined(), _1rav = this._scene.data.model.map_info.isVS12(), _1raw = _1rau || _1rav, _1rax = this._scene.data.model.map_info.isNightStart(); new _1ra7.TaskLoadResourcesBattle(_1rax, _1raw).start(function() { var _1ray = null; _1ras._showTextImage(); }); }, _1ram.prototype._showTextImage = function() { var _1raz = null, _1rb0 = this, _1rb1 = PIXI.Texture.fromFrame('battle_telop_txt_start'); if (this._start_img = new PIXI.Sprite(_1rb1), this._start_img.anchor.set(0.5, 0.5), this._start_img.x = _1ra3.default.width / 2, this._start_img.y = _1ra3.default.height / 2, this._start_img.alpha = 0, this._scene.addChild(this._start_img), 1 == this._scene.data.model.map_info.isLongRangeFires() && _1ra9.SE.play('257'), createjs.Tween.get(this._start_img).to({ 'alpha': 1 }, 200).wait(1500).call(function() { var _1rb2 = null; _1rb0._flg_wait1500 = !0, _1rb0._hideTextImage(); }), null == this._scene.data.model.gekimetsu_data) this._connectAPI(); else { var _1rb3 = this._scene.data, _1rb4 = this._scene.data.model.gekimetsu_data; _1rb3.addDayRecord(_1rb4), this._initData(); } }, _1ram.prototype._connectAPI = function() { var _1rb5 = null, _1rb6 = this, _1rb7 = this._scene.data; (1 == _1rb7.model.isPractice() ? new _1raf.APIPracticeStart(_1rb7) : 1 == _1rb7.model.map_info.isNightStart() ? new _1rad.APIBattleStartNight(_1rb7) : 1 == _1rb7.model.map_info.isAirBattle() ? new _1rab.APIBattleStartAirBattle(_1rb7) : 1 == _1rb7.model.map_info.isAirRaid() ? new _1rac.APIBattleStartAirRaid(_1rb7) : 1 == _1rb7.model.map_info.isLongRangeFires() ? new _1rae.APIBattleStartLongRangeFires(_1rb7) : new _1raa.APIBattleStart(this._scene.data)).start(function() { var _1rb8 = null; _1rb6._initData(); }); }, _1ram.prototype._initData = function() { var _1rb9 = null; this._scene.data.getFirstRecord(); var _1rba = this._scene.data.model.deck_f.ships, _1rbb = this._scene.data.model.deck_e.ships; this._scene.data.model.ship_info.add(_1rba, _1rbb), this._loadBannerImages(); }, _1ram.prototype._loadBannerImages = function() { var _1rbc = null; for (var _1rbd = this, _1rbe = (this._scene.data.getFirstRecord(), this._scene.data.model.deck_f.isCombined()), _1rbf = this._scene.data.model.deck_e.isCombined(), _1rbg = new _1ra6.ShipLoader(), _1rbh = 0, _1rbi = this._scene.data.model.deck_f.ships; _1rbh < _1rbi.length; _1rbh++) { var _1rbj = _1rbi[_1rbh]; this._loadBannerImage(_1rbg, _1rbj, _1rbe), this._loadFullImage(_1rbg, _1rbj); } for (var _1rbk = 0, _1rbl = this._scene.data.model.deck_e.ships; _1rbk < _1rbl.length; _1rbk++) { _1rbj = _1rbl[_1rbk], (this._loadBannerImage(_1rbg, _1rbj, _1rbf), this._loadFullImage(_1rbg, _1rbj)); } _1rbg.load(function() { var _1rbm = null; _1rbd._initializeView(); }); }, _1ram.prototype._loadBannerImage = function(_1rbn, _1rbo, _1rbp) { var _1rbq = null; if (null != _1rbo) { var _1rbr = _1rbo.mst_id; _1rbr >= 0 && (_1rbn.add(_1rbr, !1, 'banner'), _1rbn.add(_1rbr, !0, 'banner'), _1rbn.add(_1rbr, !0, 'banner_g')), _1rbo.index >= 6 && _1rbp && (_1rbo.friend ? (_1rbn.add(_1rbr, !1, 'banner2'), _1rbn.add(_1rbr, !0, 'banner2'), _1rbn.add(_1rbr, !0, 'banner2_g')) : (_1rbn.add(_1rbr, !1, 'banner3'), _1rbn.add(_1rbr, !0, 'banner3_g'), _1ra6.ShipLoader.isLoadEnemyDamagedGraph(_1rbr) && _1rbn.add(_1rbr, !0, 'banner3'))); } }, _1ram.prototype._loadFullImage = function(_1rbs, _1rbt) { var _1rbu = null; if (null != _1rbt) { var _1rbv = _1rbt.mst_id; if (_1rbv >= 0) { if (_1rbt.friend) { var _1rbw = 50 == _1rbt.damageType || 25 == _1rbt.damageType; _1rbs.add(_1rbv, _1rbw, 'full'); } else _1rbs.add(_1rbv, !1, 'full'); } } }, _1ram.prototype._initializeView = function() { var _1rbx = null, _1rby = this._scene.data.getFirstRecord(), _1rbz = this._scene.data.model.deck_f, _1rc0 = _1rbz.ships_main, _1rc1 = _1rbz.ships_sub, _1rc2 = this._scene.data.model.deck_e, _1rc3 = _1rc2.ships_main, _1rc4 = _1rc2.ships_sub, _1rc5 = this._scene.view.bannerGroupLayer; _1rc5.initialize(_1rc0, _1rc3, _1rc1, _1rc4), 1 == _1rby.common.balloon_cell && this._scene.view.layer_balloon.initialize(_1rc5.friends, _1rc5.enemies, _1rc5.friends_combined, _1rc5.enemies_combined); var _1rc6 = _1rbz.isYugeki(); this._scene.view.raderLayer.initialize(_1rc6), this._flg_preinitialized = !0, this._hideTextImage(); }, _1ram.prototype._hideTextImage = function() { var _1rc7 = null, _1rc8 = this; 0 != this._flg_wait1500 && 0 != this._flg_preinitialized && (this._scene.data.model.actual_survey_time = new Date().getTime(), createjs.Tween.get(this._start_img).to({ 'x': _1ra3.default.width / 2 - 120, 'alpha': 0 }, 200).wait(200).call(function() { var _1rc9 = null; _1rc8._start_img.parent.removeChild(_1rc8._start_img), _1rc8._loadBG(); })); }, _1ram.prototype._loadBG = function() { var _1rca = null, _1rcb = this; 1 == this._scene.data.model.map_info.isLongRangeFires() ? this._scene.bg.setNight(function() { var _1rcc = null; _1rcb._shutterOpen(); }) : 0 == this._scene.data.model.map_info.isNightStart() ? this._scene.bg.setDay(function() { var _1rcd = null; _1rcb._shutterOpen(); }) : this._scene.bg.setNight(function() { var _1rce = null; _1rcb._shutterOpen(); }); }, _1ram.prototype._shutterOpen = function() { var _1rcf = null, _1rcg = this; null != this._scene.data.model.gekimetsu_data && (this._scene.view.bannerGroupLayer.friends.enter(), this._scene.view.bannerGroupLayer.enemies.enter(), this._scene.view.bannerGroupLayer.friends_combined.enter(), this._scene.view.bannerGroupLayer.enemies_combined.enter()), this._scene.view.shutter.once('opened', function() { var _1rch = null; _1rcg._playBGM(); }), this._scene.view.shutter.open(); }, _1ram.prototype._playBGM = function() { var _1rci = null, _1rcj = 0, _1rck = this._scene.data.isNight(); if (1 == this._scene.data.model.isPractice()) _1rcj = _1rck ? 2 : 1; else { if (null != this._scene.data.model.gekimetsu_data) _1rcj = 70; else _1rcj = function(_1rcl, _1rcm, _1rcn, _1rco, _1rcp) { var _1rcq = null; if (58 == _1rcl && 4 == _1rcm) { if (18 == _1rcp) return 243; if (32 == _1rcp) return 241; if (41 == _1rcp) return 244; if (52 == _1rcp) return 244; } return _1ra4.default.model.mst_bgm.getCombatBGM(_1rcl, _1rcm, _1rcn, _1rco); }(this._scene.data.model.map_info.area_id, this._scene.data.model.map_info.map_no, _1rck, this._scene.data.model.map_info.isBoss(), this._scene.data.model.map_info.cell_no); } _1ra4.default.sound.bgm.playBattleBGM(_1rcj), this._bossInsert(); }, _1ram.prototype._getBossModel = function() { var _1rcr = null, _1rcs = this._scene.data.getFirstRecord().common.getBossModels(); if (null != _1rcs && _1rcs.length > 1) { var _1rct = this._scene.data.model.map_info.area_id == _1rah.EventConst.AREA_ID, _1rcu = this._scene.data.model.gauge_type; if (_1rct && 3 != _1rcu) { var _1rcv = this._scene.data.model.deck_e.ships[0], _1rcw = this._scene.data.model.gauge_now, _1rcx = _1rcv.hp_now; if (_1rcw > 0 && _1rcx >= _1rcw) { var _1rcy = _1rcs.filter(function(_1rcz) { var _1rd0 = null; return 2 == _1rcz.type; }); if (_1rcy.length > 0) return _1rcy[0]; } } var _1rd1 = _1rcs.filter(function(_1rd2) { var _1rd3 = null; return 1 == _1rd2.type; }); if (_1rd1.length > 0) return _1rd1[0]; } return null != _1rcs && 1 == _1rcs.length ? _1rcs[0] : null; }, _1ram.prototype._bossInsert = function() { var _1rd4 = null, _1rd5 = this, _1rd6 = this._getBossModel(); if (null != _1rd6) { 0; var _1rd7 = this._scene.view.layer_cutin; new _1rag.TaskBossCutin(_1rd7, _1rd6).start(function() { var _1rd8 = null; _1rd5._enterShips(); }); } else { if (0 == this._scene.data.isNight()) { var _1rd9 = this._scene.data.model.deck_f.ships[0].mst_id; 1 == this._scene.data.model.map_info.isLongRangeFires() ? _1ra4.default.sound.voice.play(_1rd9.toString(), 19) : _1ra4.default.sound.voice.play(_1rd9.toString(), 15); } this._enterShips(); } }, _1ram.prototype._enterShips = function() { var _1rda = null, _1rdb = this; if (1 == this._scene.view.bannerGroupLayer.isEnteredFriend()) this._showRader(); else { if (1 == this._scene.data.model.map_info.isNightStart()) this._showHpGauge(); else this._scene.view.bannerGroupLayer.createFriendEnterTask().start(function() { var _1rdc = null; _1rdb._showRader(); }); } }, _1ram.prototype._showRader = function() { var _1rdd = null, _1rde = this._scene.data, _1rdf = this._scene.data.model.deck_f, _1rdg = this._scene.data.model.deck_e, _1rdh = (this._scene.data.getFirstRecord(), _1rdf.formation), _1rdi = _1rdf.type, _1rdj = _1rdf.getCountMainDeck(), _1rdk = _1rdf.getCountSubDeck(); _1rde.model.map_info.isLongRangeFires() ? this._scene.view.raderLayer.rader_f.show(_1rdh, _1rdi, 0, 0, !1) : this._scene.view.raderLayer.rader_f.show(_1rdh, _1rdi, _1rdj, _1rdk, !1); var _1rdl = _1rdg.formation, _1rdm = _1rdg.type; if (1 == this._scene.view.bannerGroupLayer.isEnteredEnemy()) { var _1rdn = _1rdg.getCountMainDeck(), _1rdo = _1rdg.getCountSubDeck(); _1rde.model.map_info.isLongRangeFires() ? this._scene.view.raderLayer.rader_e.show(_1rdl, _1rdm, 0, 0, !0) : this._scene.view.raderLayer.rader_e.show(_1rdl, _1rdm, _1rdn, _1rdo, !1); } else this._scene.view.raderLayer.rader_e.show(_1rdl, _1rdm, 0, 0, !1); this._showHpGauge(); }, _1ram.prototype._showHpGauge = function() { var _1rdp = null, _1rdq = this, _1rdr = this._scene.data.model.gauge_max, _1rds = Math.min(this._scene.data.model.gauge_now, _1rdr); if (0 != this._scene.data.model.map_info.isBoss()) { if (0 != _1rdr) { if (0 != _1rds) { if (3 != this._scene.data.model.gauge_type) { if (null == this._scene.data.model.gekimetsu_data) { var _1rdt = this._scene.data.model.map_info.area_id, _1rdu = this._scene.data.model.map_info.map_no, _1rdv = this._scene.data.model.map_info.cell_no, _1rdw = this._scene.data.model.stage, _1rdx = _1rai.MapUtil.isEventArea(_1rdt); if (7 == _1rdt && 2 == _1rdu && _1rdw > 1 && 7 == _1rdv) this._endTask(); else { if (7 == _1rdt && 3 == _1rdu && _1rdw > 1 && (5 == _1rdv || 8 == _1rdv)) this._endTask(); else { if (7 == _1rdt && 5 == _1rdu && _1rdw > 1 && 11 == _1rdv) this._endTask(); else { if (7 == _1rdt && 5 == _1rdu && _1rdw > 2 && 19 == _1rdv) this._endTask(); else { if (58 == _1rdt && 2 == _1rdu && _1rdw > 1 && 21 == _1rdv) this._endTask(); else { if (58 == _1rdt && 3 == _1rdu && _1rdw > 1 && (25 == _1rdv || 26 == _1rdv)) this._endTask(); else { if (58 == _1rdt && 3 == _1rdu && _1rdw > 2 && (31 == _1rdv || 32 == _1rdv || 33 == _1rdv)) this._endTask(); else { if (58 == _1rdt && 4 == _1rdu && _1rdw > 1 && 18 == _1rdv) this._endTask(); else { if (58 == _1rdt && 4 == _1rdu && _1rdw > 2 && 32 == _1rdv) this._endTask(); else { if (58 == _1rdt && 4 == _1rdu && _1rdw > 3 && 41 == _1rdv) this._endTask(); else { var _1rdy = _1ra8.GaugeSetModel.createKey(_1rdt, _1rdu, _1rdw), _1rdz = _1ra4.default.resources.gauge.createLoaderHorizontal(); _1rdz.add(_1rdy), _1rdz.load(function() { var _1re0 = null, _1re1 = _1ra4.default.resources.gauge.getGaugeInfo(_1rdy); _1rdq._scene.view.layer_gauge.show(_1rdx, _1re1, _1rds, _1rdr, function() { var _1re2 = null; _1rdq._endTask(); }); }); } } } } } } } } } } } else this._endTask(); } else this._endTask(); } else this._endTask(); } else this._endTask(); } else this._endTask(); }, _1ram; }(_1ra5.TaskBase); _1r9g.TaskInit = _1raj; }, 95060: function(_1re3, _1re4, _1re5) { 'use strict'; var _1re6 = null; var _1re7, _1re8 = this && this.__extends || (_1re7 = function(_1re9, _1rea) { var _1reb = null; return _1re7 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1rec, _1red) { var _1ree = null; _1rec.__proto__ = _1red; } || function(_1ref, _1reg) { var _1reh = null; for (var _1rei in _1reg) Object.prototype.hasOwnProperty.call(_1reg, _1rei) && (_1ref[_1rei] = _1reg[_1rei]); }, _1re7(_1re9, _1rea); }, function(_1rej, _1rek) { var _1rel = null; if ('function' != typeof _1rek && null !== _1rek) throw new TypeError('Class extends value ' + String(_1rek) + ' is not a constructor or null'); function _1rem() { var _1ren = null; this.constructor = _1rej; } _1re7(_1rej, _1rek), _1rej.prototype = null === _1rek ? Object.create(_1rek) : (_1rem.prototype = _1rek.prototype, new _1rem()); }), _1reo = this && this.__importDefault || function(_1rep) { var _1req = null; return _1rep && _1rep.__esModule ? _1rep : { 'default': _1rep }; }; defineModule(_1re4); Object.defineProperty(_1re4, '__esModule', { 'value': !0 }), _1re4.TaskMain = void 0; var _1rer = _1reo(_1re5(18622)), _1res = _1re5(81755), _1ret = _1re5(13748), _1reu = _1re5(87090), _1rev = _1re5(42483), _1rew = _1re5(14369), _1rex = _1re5(63414), _1rey = _1re5(98388), _1rez = _1re5(68682), _1rf0 = _1re5(61275), _1rf1 = _1re5(63657), _1rf2 = _1re5(23378), _1rf3 = _1re5(10145), _1rf4 = _1re5(37936), _1rf5 = (_1reo(_1re5(19418)), function(_1rf6) { var _1rf7 = null; function _1rf8(_1rf9) { var _1rfa = null, _1rfb = _1rf6.call(this) || this; return _1rfb._log = null, _1rfb._scene = _1rf9, _1rfb; } return _1re8(_1rf8, _1rf6), _1rf8.prototype._start = function() { var _1rfc = null, _1rfd = this._scene.data.getFirstRecord(); 'day' == _1rfd.phase ? this._combatDay(_1rfd) : this._combatNight(_1rfd); }, _1rf8.prototype._combatDay = function(_1rfe) { var _1rff = null, _1rfg, _1rfh = this, _1rfi = this._scene.data.model.deck_f, _1rfj = this._scene.data.model.deck_e; 0 == _1rfi.isCombined() ? _1rfg = 1 == _1rfj.isCombined() ? new _1rez.PhaseDay_06vs12(this._scene, _1rfe, !1) : new _1rex.PhaseDay(this._scene, _1rfe, !1) : _1rfg = this._createDayPhaseCombinedDeck(_1rfe), _1rfg.start(function() { var _1rfk = null; _1rfh._scene.shutter2.once('closed', function() { var _1rfl = null; _1rfh._scene.view.layer_smoke.dispose(), _1rfh._scene.view.layer_balloon.dispose(), _1rfh._judgement(_1rfe); }), _1rfh._scene.shutter2.close(); }); }, _1rf8.prototype._createDayPhaseCombinedDeck = function(_1rfm) { var _1rfn = null, _1rfo = this._scene.data.model.deck_f, _1rfp = this._scene.data.model.deck_e.isCombined(); return 2 == _1rfo.type ? 0 == _1rfp ? new _1rf3.PhaseDay_Suijo(this._scene, _1rfm, !1) : new _1rf2.PhaseDay_Suijo_vs12(this._scene, _1rfm, !1) : 0 == _1rfp ? new _1rf1.PhaseDay_Kido(this._scene, _1rfm, !1) : new _1rf0.PhaseDay_Kido_vs12(this._scene, _1rfm, !1); }, _1rf8.prototype._judgement = function(_1rfq) { var _1rfr = null, _1rfs = this; if (_1rfq.raw.isNightBattle()) { var _1rft = new _1rf4.TaskGoNightBattleSelect(this._scene); _1rft.start(function() { var _1rfu = null; 0 == _1rft.result ? (1 == _1rer.default.sound.bgm.playing && _1rer.default.sound.bgm.fadeOut(500), _1rfs._endTask()) : _1rfs._dayToNight(); }); } else this._endTask(); }, _1rf8.prototype._dayToNight = function() { var _1rfv = null, _1rfw = this; (1 == this._scene.data.model.isPractice() ? new _1rew.APIPracticeDayToNight(this._scene.data) : new _1rev.APIBattleDayToNight(this._scene.data)).start(function() { var _1rfx = null, _1rfy = 0; 1 == _1rfw._scene.data.model.isPractice() ? _1rfy = 2 : _1rfy = function(_1rfz, _1rg0, _1rg1, _1rg2, _1rg3) { var _1rg4 = null; if (58 == _1rfz && 4 == _1rg0) { if (18 == _1rg3) return 243; if (32 == _1rg3) return 241; if (41 == _1rg3) return 244; if (52 == _1rg3) return 244; } return _1rer.default.model.mst_bgm.getCombatBGM(_1rfz, _1rg0, !0, _1rg2); }(_1rfw._scene.data.model.map_info.area_id, _1rfw._scene.data.model.map_info.map_no, 0, _1rfw._scene.data.model.map_info.isBoss(), _1rfw._scene.data.model.map_info.cell_no), (_1rer.default.sound.bgm.playBattleBGM(_1rfy), _1rfw._loadResource()); }); }, _1rf8.prototype._loadResource = function() { var _1rg5 = null, _1rg6 = this, _1rg7 = new _1ret.UIImageLoader('battle'); _1rg7.add('battle_night.json'), _1rg7.add('battle_telop/mes_ybg3_f.png', 'battle_telop_mes_ybg3_f'), _1rg7.add('battle_telop/mes_ybg3_e.png', 'battle_telop_mes_ybg3_e'), _1rg7.add('battle_telop/mes_ybg4_f.png', 'battle_telop_mes_ybg4_f'), _1rg7.add('battle_telop/mes_ybg4_e.png', 'battle_telop_mes_ybg4_e'), _1rg7.add('battle_telop/mes_ybg6_f.png', 'battle_telop_mes_ybg6_f'), _1rg7.add('battle_telop/mes_ybg6_e.png', 'battle_telop_mes_ybg6_e'), _1rg7.load(function() { var _1rg8 = null; _1rer.default.settings.renderer.plugins.prepare.upload(_1reu.BATTLE_NIGHT.getTexture(0).baseTexture, function() { var _1rg9 = null, _1rga = _1rg6._scene.data.getLastRecord(); _1rg6._combatNight(_1rga); }); }); }, _1rf8.prototype._combatNight = function(_1rgb) { var _1rgc = null, _1rgd = this; new _1rey.PhaseNight(this._scene, _1rgb, !0).start(function() { var _1rge = null; _1rgd._endTask(); }); }, _1rf8.prototype._endTask = function() { var _1rgf = null; this._scene = null, _1rf6.prototype._endTask.call(this); }, _1rf8; }(_1res.TaskBase)); _1re4.TaskMain = _1rf5; }, 19418: (_1rgg, _1rgh) => { 'use strict'; var _1rgi = null; defineModule(_1rgh); Object.defineProperty(_1rgh, '__esModule', { 'value': !0 }), _1rgh.default = null; }, 8689: function(_1rgj, _1rgk, _1rgl) { 'use strict'; var _1rgm = null; var _1rgn, _1rgo = this && this.__extends || (_1rgn = function(_1rgp, _1rgq) { var _1rgr = null; return _1rgn = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1rgs, _1rgt) { var _1rgu = null; _1rgs.__proto__ = _1rgt; } || function(_1rgv, _1rgw) { var _1rgx = null; for (var _1rgy in _1rgw) Object.prototype.hasOwnProperty.call(_1rgw, _1rgy) && (_1rgv[_1rgy] = _1rgw[_1rgy]); }, _1rgn(_1rgp, _1rgq); }, function(_1rgz, _1rh0) { var _1rh1 = null; if ('function' != typeof _1rh0 && null !== _1rh0) throw new TypeError('Class extends value ' + String(_1rh0) + ' is not a constructor or null'); function _1rh2() { var _1rh3 = null; this.constructor = _1rgz; } _1rgn(_1rgz, _1rh0), _1rgz.prototype = null === _1rh0 ? Object.create(_1rh0) : (_1rh2.prototype = _1rh0.prototype, new _1rh2()); }); defineModule(_1rgk); Object.defineProperty(_1rgk, '__esModule', { 'value': !0 }), _1rgk.TaskAerialTorpedoJet = void 0; var _1rh4 = _1rgl(66398), _1rh5 = _1rgl(81755), _1rh6 = function(_1rh7) { var _1rh8 = null; function _1rh9(_1rha, _1rhb, _1rhc, _1rhd) { var _1rhe = null, _1rhf = _1rh7.call(this) || this; return _1rhf._scene = _1rha, _1rhf._data = _1rhb, _1rhf._from_planes = _1rhc, _1rhf._to_ships = _1rhd, _1rhf._tasks = new Array(), _1rhf; } return _1rgo(_1rh9, _1rh7), _1rh9.prototype._start = function() { var _1rhg = null; for (var _1rhh = this, _1rhi = function(_1rhj) { var _1rhk = null; if (null == _1rhj) return 'continue'; if (1 == (1 == _1rhj.friend ? _1rhl._data.stage3_f.getRai(_1rhj.index) : _1rhl._data.stage3_e.getRai(_1rhj.index)) && _1rhl._from_planes.length > 0) { var _1rhm = Math.floor(Math.random() * _1rhl._from_planes.length), _1rhn = _1rhl._from_planes[_1rhm], _1rho = _1rhl._scene.view.bannerGroupLayer.getBanner(_1rhj), _1rhp = 1 == _1rhj.friend ? _1rhl._data.stage3_f : _1rhl._data.stage3_e, _1rhq = _1rhp.getDamage(_1rhj.index), _1rhr = _1rhp.isShield(_1rhj.index), _1rhs = new _1rht(_1rhl._scene, _1rhn, _1rho, _1rhq, _1rhr); _1rhl._tasks.push(_1rhs), _1rhs.start(function() { var _1rhu = null; _1rhh._taskComplete(_1rhj, _1rhs); }); } }, _1rhl = this, _1rhv = 0, _1rhw = this._to_ships; _1rhv < _1rhw.length; _1rhv++) { _1rhi(_1rhw[_1rhv]); } 0 == this._tasks.length && this._endTask(); }, _1rh9.prototype._taskComplete = function(_1rhx, _1rhy) { var _1rhz = null, _1ri0 = this._tasks.indexOf(_1rhy); this._tasks.splice(_1ri0, 1), 0 == this._tasks.length && this._endTask(); }, _1rh9.prototype._endTask = function() { var _1ri1 = null; this._scene = null, this._data = null, this._from_planes = null, this._to_ships = null, this._tasks = null, _1rh7.prototype._endTask.call(this); }, _1rh9; }(_1rh5.TaskBase); _1rgk.TaskAerialTorpedoJet = _1rh6; var _1rht = function(_1ri2) { var _1ri3 = null; function _1ri4(_1ri5, _1ri6, _1ri7, _1ri8, _1ri9) { var _1ria = null, _1rib = _1ri2.call(this) || this; return _1rib._explosion = function() { var _1ric = null, _1rid = _1rib._shield; if (1 == _1rid) { var _1rie = _1rib._scene.view.bannerGroupLayer.getShieldTargetBanner(_1rib._to_banner); _1rib._scene.view.layer_damage.showShieldAtBanner(_1rie); } _1rib._to_banner.moveAtDamage(_1rid); var _1rif = _1rib._to_banner.getGlobalPos(!0), _1rig = _1rib._scene.view; _1rig.layer_explosion.playDamageExplosion(_1rif.x, _1rif.y, _1rib._damage), _1rig.layer_explosion.playTorpedoWaterColumn(_1rib._to_banner, function() { var _1rih = null; _1rib._endTask(); }); }, _1rib._scene = _1ri5, _1rib._from_plane = _1ri6, _1rib._to_banner = _1ri7, _1rib._damage = _1ri8, _1rib._shield = _1ri9, _1rib; } return _1rgo(_1ri4, _1ri2), _1ri4.prototype._start = function() { var _1rii = null; this._torpedo(); }, _1ri4.prototype._torpedo = function() { var _1rij = null, _1rik = new PIXI.Point(this._from_plane.x, this._from_plane.y), _1ril = this._to_banner.getGlobalPos(); 1 == this._to_banner.friend ? _1ril.x += _1rh4.BannerSize.W / 2 : _1ril.x -= _1rh4.BannerSize.W / 2, this._scene.view.layer_torpedo.playAerialTorpedoJet(_1rik, _1ril, this._explosion); }, _1ri4.prototype._endTask = function() { var _1rim = null; this._scene = null, this._from_plane = null, this._to_banner = null, _1ri2.prototype._endTask.call(this); }, _1ri4; }(_1rh5.TaskBase); }, 94328: function(_1rin, _1rio, _1rip) { 'use strict'; var _1riq = null; var _1rir, _1ris = this && this.__extends || (_1rir = function(_1rit, _1riu) { var _1riv = null; return _1rir = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1riw, _1rix) { var _1riy = null; _1riw.__proto__ = _1rix; } || function(_1riz, _1rj0) { var _1rj1 = null; for (var _1rj2 in _1rj0) Object.prototype.hasOwnProperty.call(_1rj0, _1rj2) && (_1riz[_1rj2] = _1rj0[_1rj2]); }, _1rir(_1rit, _1riu); }, function(_1rj3, _1rj4) { var _1rj5 = null; if ('function' != typeof _1rj4 && null !== _1rj4) throw new TypeError('Class extends value ' + String(_1rj4) + ' is not a constructor or null'); function _1rj6() { var _1rj7 = null; this.constructor = _1rj3; } _1rir(_1rj3, _1rj4), _1rj3.prototype = null === _1rj4 ? Object.create(_1rj4) : (_1rj6.prototype = _1rj4.prototype, new _1rj6()); }); defineModule(_1rio); Object.defineProperty(_1rio, '__esModule', { 'value': !0 }), _1rio.TaskAirWarTorpedoOne = _1rio.TaskAirSupportTorpedo = void 0; var _1rj8 = _1rip(66398), _1rj9 = _1rip(81755), _1rja = function(_1rjb) { var _1rjc = null; function _1rjd(_1rje, _1rjf, _1rjg, _1rjh) { var _1rji = null, _1rjj = _1rjb.call(this) || this; return _1rjj._scene = _1rje, _1rjj._data = _1rjf, _1rjj._from_planes = _1rjg, _1rjj._to_ships = _1rjh, _1rjj._tasks = new Array(), _1rjj; } return _1ris(_1rjd, _1rjb), _1rjd.prototype._start = function() { var _1rjk = null; for (var _1rjl = this, _1rjm = function(_1rjn) { var _1rjo = null; if (null == _1rjn) return 'continue'; if (1 == (1 == _1rjn.friend ? _1rjp._data.stage3_f.getRai(_1rjn.index) : _1rjp._data.stage3_e.getRai(_1rjn.index)) && _1rjp._from_planes.length > 0) { var _1rjq = Math.floor(Math.random() * _1rjp._from_planes.length), _1rjr = _1rjp._from_planes[_1rjq], _1rjs = (_1rjp._scene.view.bannerGroupLayer, _1rjp._scene.view.bannerGroupLayer.getBanner(_1rjn)), _1rjt = 1 == _1rjn.friend ? _1rjp._data.stage3_f : _1rjp._data.stage3_e, _1rju = _1rjt.getDamage(_1rjn.index), _1rjv = _1rjt.isShield(_1rjn.index), _1rjw = new _1rjx(_1rjp._scene, _1rjr, _1rjs, _1rju, _1rjv); _1rjp._tasks.push(_1rjw), _1rjw.start(function() { var _1rjy = null; _1rjl._taskComplete(_1rjn, _1rjw); }); } }, _1rjp = this, _1rjz = 0, _1rk0 = this._to_ships; _1rjz < _1rk0.length; _1rjz++) { _1rjm(_1rk0[_1rjz]); } 0 == this._tasks.length && this._endTask(); }, _1rjd.prototype._taskComplete = function(_1rk1, _1rk2) { var _1rk3 = null, _1rk4 = this._tasks.indexOf(_1rk2); this._tasks.splice(_1rk4, 1), 0 == this._tasks.length && this._endTask(); }, _1rjd.prototype._endTask = function() { var _1rk5 = null; this._scene = null, this._data = null, this._from_planes = null, this._to_ships = null, this._tasks = null, _1rjb.prototype._endTask.call(this); }, _1rjd; }(_1rj9.TaskBase); _1rio.TaskAirSupportTorpedo = _1rja; var _1rjx = function(_1rk6) { var _1rk7 = null; function _1rk8(_1rk9, _1rka, _1rkb, _1rkc, _1rkd) { var _1rke = null, _1rkf = _1rk6.call(this) || this; return _1rkf._explosion = function() { var _1rkg = null, _1rkh = _1rkf._shield; if (1 == _1rkh) { var _1rki = _1rkf._scene.view.bannerGroupLayer.getShieldTargetBanner(_1rkf._to_banner); _1rkf._scene.view.layer_damage.showShieldAtBanner(_1rki); } _1rkf._to_banner.moveAtDamage(_1rkh); var _1rkj = _1rkf._to_banner.getGlobalPos(!0), _1rkk = _1rkf._scene.view; _1rkk.layer_explosion.playDamageExplosion(_1rkj.x, _1rkj.y, _1rkf._damage), _1rkk.layer_explosion.playTorpedoWaterColumn(_1rkf._to_banner, function() { var _1rkl = null; _1rkf._endTask(); }); }, _1rkf._scene = _1rk9, _1rkf._from_plane = _1rka, _1rkf._to_banner = _1rkb, _1rkf._damage = _1rkc, _1rkf._shield = _1rkd, _1rkf; } return _1ris(_1rk8, _1rk6), _1rk8.prototype._start = function() { var _1rkm = null; this._torpedo(); }, _1rk8.prototype._torpedo = function() { var _1rkn = null, _1rko = new PIXI.Point(this._from_plane.x, this._from_plane.y), _1rkp = this._to_banner.getGlobalPos(); 1 == this._to_banner.friend ? _1rkp.x += _1rj8.BannerSize.W / 2 : _1rkp.x -= _1rj8.BannerSize.W / 2, this._scene.view.layer_torpedo.playAerialTorpedoSuper(_1rko, _1rkp, this._explosion); }, _1rk8.prototype._endTask = function() { var _1rkq = null; this._scene = null, this._from_plane = null, this._to_banner = null, _1rk6.prototype._endTask.call(this); }, _1rk8; }(_1rj9.TaskBase); _1rio.TaskAirWarTorpedoOne = _1rjx; }, 16885: function(_1rkr, _1rks, _1rkt) { 'use strict'; var _1rku = null; var _1rkv, _1rkw = this && this.__extends || (_1rkv = function(_1rkx, _1rky) { var _1rkz = null; return _1rkv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1rl0, _1rl1) { var _1rl2 = null; _1rl0.__proto__ = _1rl1; } || function(_1rl3, _1rl4) { var _1rl5 = null; for (var _1rl6 in _1rl4) Object.prototype.hasOwnProperty.call(_1rl4, _1rl6) && (_1rl3[_1rl6] = _1rl4[_1rl6]); }, _1rkv(_1rkx, _1rky); }, function(_1rl7, _1rl8) { var _1rl9 = null; if ('function' != typeof _1rl8 && null !== _1rl8) throw new TypeError('Class extends value ' + String(_1rl8) + ' is not a constructor or null'); function _1rla() { var _1rlb = null; this.constructor = _1rl7; } _1rkv(_1rl7, _1rl8), _1rl7.prototype = null === _1rl8 ? Object.create(_1rl8) : (_1rla.prototype = _1rl8.prototype, new _1rla()); }); defineModule(_1rks); Object.defineProperty(_1rks, '__esModule', { 'value': !0 }), _1rks.TaskAirWarAntiAircraft = void 0; var _1rlc = _1rkt(5527), _1rld = _1rkt(56494), _1rle = _1rkt(81755), _1rlf = _1rkt(22434), _1rlg = _1rkt(98986), _1rlh = _1rkt(22879), _1rli = _1rkt(93530), _1rlj = _1rkt(94595), _1rlk = _1rkt(44007), _1rll = _1rkt(45675), _1rlm = function(_1rln) { var _1rlo = null; function _1rlp(_1rlq, _1rlr, _1rls, _1rlt, _1rlu) { var _1rlv = null, _1rlw = _1rln.call(this) || this; return _1rlw._scene = _1rlq, _1rlw._ship = _1rlr, _1rlw._damage = _1rls, _1rlw._type = _1rlt, _1rlw._plane = _1rlu, _1rlw; } return _1rkw(_1rlp, _1rln), _1rlp.prototype._start = function() { var _1rlx = null, _1rly = this, _1rlz = 500 * Math.random(); this._banner = this._scene.view.bannerGroupLayer.getBanner(this._ship); var _1rm0 = null; if (1 == this._type) _1rm0 = new _1rld.WaitTask(500); else { if (3 == this._type) _1rm0 = new _1rlg.AnimAntiAircraftFunshin(this._banner); else { if (2 == this._type) _1rm0 = new _1rli.AnimAntiAircraftKoukaku(this._banner); else { if (5 == this._type)(_1rm1 = new _1rlc.ParallelTask()).add(new _1rlj.AnimAntiAircraftSanshikidan(this._banner)), _1rm1.add(new _1rlk.AnimAntiAircraftSanshikidan2(this._banner)), _1rm0 = _1rm1; else { if (4 == this._type) _1rm0 = new _1rlh.AnimAntiAircraftFunshinKai2(this._banner); else { if (6 == this._type) { var _1rm1; (_1rm1 = new _1rlc.ParallelTask()).add(new _1rlj.AnimAntiAircraftSanshikidan(this._banner)), _1rm1.add(new _1rlh.AnimAntiAircraftFunshinKai2(this._banner)), _1rm0 = _1rm1; } } } } } } if (null == _1rm0 ? this._endTask() : (this._banner.moveFront(), this._createGuns(), this._banner.addChild(this._gun1), this._banner.addChild(this._gun2), this._gun1.activate(), this._gun2.activate(), this._planeExplosion(), createjs.Tween.get(null).wait(_1rlz).call(function() { var _1rm2 = null; _1rm0.start(function() { var _1rm3 = null; _1rly._endTask(); }); })), Math.floor(this._damage) <= 0 && (4 == this._type || 6 == this._type)) { var _1rm4 = this._banner.getGlobalPos(!1); this._scene.view.bannerInfoLayer.showDanmaku(_1rm4, _1rlz); } else(5 == this._type || 6 == this._type) && (_1rm4 = this._banner.getGlobalPos(!1), this._scene.view.bannerInfoLayer.showSanshiki(_1rm4, _1rlz)); }, _1rlp.prototype._planeExplosion = function() { var _1rm5 = null, _1rm6 = this._scene, _1rm7 = this._type, _1rm8 = this._plane; new _1rll.TaskAirWarAntiAircraftExplosion(_1rm6, _1rm7, _1rm8).start(); }, _1rlp.prototype._endTask = function() { var _1rm9 = null; null != this._gun1 && (null != this._gun1.parent && this._gun1.parent.removeChild(this._gun1), this._gun1.deactivate()), null != this._gun2 && (null != this._gun2.parent && this._gun2.parent.removeChild(this._gun2), this._gun2.deactivate()), this._scene = null, this._ship = null, this._type = null, this._banner.moveDefault(), this._banner = null, this._gun1 = null, this._gun2 = null, _1rln.prototype._endTask.call(this); }, _1rlp.prototype._createGuns = function() { var _1rma = null; this._gun1 = new _1rmb(), this._gun1.position.set(26, 20), this._gun1.rotation = (45 * -Math.random() - 30) / 180 * Math.PI, this._gun2 = new _1rmb(), this._gun2.position.set(35, 30), this._gun2.rotation = (45 * -Math.random() - 30) / 180 * Math.PI; }, _1rlp; }(_1rle.TaskBase); _1rks.TaskAirWarAntiAircraft = _1rlm; var _1rmb = function(_1rmc) { var _1rmd = null; function _1rme() { var _1rmf = null, _1rmg = _1rmc.call(this) || this, _1rmh = _1rlf.BATTLE_MAIN.getTexture(132); return _1rmg._content = new PIXI.Sprite(_1rmh), _1rmg._content.anchor.set(0, 0.5), _1rmg.addChild(_1rmg._content), _1rmg; } return _1rkw(_1rme, _1rmc), _1rme.prototype.activate = function() { var _1rmi = null, _1rmj = this; null == this._t && (this._t = createjs.Tween.get(this._content, { 'loop': !0 }).call(function() { var _1rmk = null; _1rmj._content.visible = !0, _1rmj._content.position.set(0, 0); }).wait(33).call(function() { var _1rml = null; _1rmj._content.position.set(30, 0); }).wait(33).call(function() { var _1rmm = null; _1rmj._content.visible = !1; }).wait(33)); }, _1rme.prototype.deactivate = function() { var _1rmn = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _1rme; }(PIXI.Container); }, 45675: function(_1rmo, _1rmp, _1rmq) { 'use strict'; var _1rmr = null; var _1rms, _1rmt = this && this.__extends || (_1rms = function(_1rmu, _1rmv) { var _1rmw = null; return _1rms = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1rmx, _1rmy) { var _1rmz = null; _1rmx.__proto__ = _1rmy; } || function(_1rn0, _1rn1) { var _1rn2 = null; for (var _1rn3 in _1rn1) Object.prototype.hasOwnProperty.call(_1rn1, _1rn3) && (_1rn0[_1rn3] = _1rn1[_1rn3]); }, _1rms(_1rmu, _1rmv); }, function(_1rn4, _1rn5) { var _1rn6 = null; if ('function' != typeof _1rn5 && null !== _1rn5) throw new TypeError('Class extends value ' + String(_1rn5) + ' is not a constructor or null'); function _1rn7() { var _1rn8 = null; this.constructor = _1rn4; } _1rms(_1rn4, _1rn5), _1rn4.prototype = null === _1rn5 ? Object.create(_1rn5) : (_1rn7.prototype = _1rn5.prototype, new _1rn7()); }); defineModule(_1rmp); Object.defineProperty(_1rmp, '__esModule', { 'value': !0 }), _1rmp.TaskAirWarAntiAircraftExplosion = void 0; var _1rn9 = _1rmq(81755), _1rna = _1rmq(54011), _1rnb = _1rmq(22434), _1rnc = function(_1rnd) { var _1rne = null; function _1rnf(_1rng, _1rnh, _1rni) { var _1rnj = null, _1rnk = _1rnd.call(this) || this; return _1rnk._scene = _1rng, _1rnk._type = _1rnh, _1rnk._plane = _1rni, _1rnk; } return _1rmt(_1rnf, _1rnd), _1rnf.prototype._start = function() { var _1rnl = null; null == this._plane ? this._endTask() : 5 == this._type ? this._animSanshiki() : 2 == this._type ? this._animKoukaku() : 3 == this._type ? this._animFunshin() : this._endTask(); }, _1rnf.prototype._animSanshiki = function() { var _1rnm = null, _1rnn = this, _1rno = new _1rnp(5); _1rno.x = this._plane.x, _1rno.y = this._plane.y, this._scene.view.layer_cutin.addChild(_1rno), createjs.Tween.get(_1rno).to({ 'scaleX': 1, 'scaleY': 1 }, 100).to({ 'scaleX': 2, 'scaleY': 2, 'alpha': 0 }, 700).call(function() { var _1rnq = null; _1rno.parent.removeChild(_1rno), _1rnn._endTask(); }); }, _1rnf.prototype._animKoukaku = function() { var _1rnr = null, _1rns = this, _1rnt = new _1rnp(2); _1rnt.x = this._plane.x, _1rnt.y = this._plane.y, this._scene.view.layer_cutin.addChild(_1rnt), createjs.Tween.get(_1rnt).to({ 'scaleX': 1, 'scaleY': 1 }, 100).to({ 'scaleX': 2, 'scaleY': 2, 'alpha': 0 }, 700).call(function() { var _1rnu = null; _1rnt.parent.removeChild(_1rnt), _1rns._endTask(); }); }, _1rnf.prototype._animFunshin = function() { var _1rnv = null, _1rnw = this, _1rnx = new _1rnp(3); _1rnx.position.set(0, -15), this._plane.addChild(_1rnx); var _1rny = new _1rnp(3); _1rny.position.set(-15, 0), this._plane.addChild(_1rny); var _1rnz = new _1rnp(3); _1rnz.position.set(23, 0), this._plane.addChild(_1rnz), createjs.Tween.get(_1rnx).to({ 'scaleX': 1, 'scaleY': 1 }, 100).to({ 'scaleX': 2, 'scaleY': 2, 'alpha': 0 }, 700), createjs.Tween.get(_1rny).wait(100).to({ 'scaleX': 1, 'scaleY': 1 }, 100).to({ 'scaleX': 2, 'scaleY': 2, 'alpha': 0 }, 700), createjs.Tween.get(_1rnz).wait(200).to({ 'scaleX': 1, 'scaleY': 1 }, 100).to({ 'scaleX': 2, 'scaleY': 2, 'alpha': 0 }, 700).call(function() { var _1ro0 = null; _1rnx.parent.removeChild(_1rnx), _1rny.parent.removeChild(_1rny), _1rnz.parent.removeChild(_1rnz), _1rnw._endTask(); }); }, _1rnf.prototype._endTask = function() { var _1ro1 = null; this._scene = null, this._type = null, this._plane = null, _1rnd.prototype._endTask.call(this); }, _1rnf; }(_1rn9.TaskBase); _1rmp.TaskAirWarAntiAircraftExplosion = _1rnc; var _1rnp = function(_1ro2) { function _1ro3(_1ro4) { var _1ro5 = null, _1ro6, _1ro7 = _1ro2.call(this) || this; return 5 == _1ro4 ? (_1ro6 = 171, _1ro7.anchor.set(0.5, 0.91)) : 2 == _1ro4 ? (_1ro6 = 172, _1ro7.anchor.set(0.5, 0.85)) : 3 == _1ro4 && (_1ro6 = 171, _1ro7.anchor.set(0.5, 0.76)), _1ro7.texture = _1rnb.BATTLE_MAIN.getTexture(_1ro6), _1ro7.scale.set(0), _1ro7; } return _1rmt(_1ro3, _1ro2), _1ro3; }(_1rna.Sprite); }, 82675: function(_1ro8, _1ro9, _1roa) { 'use strict'; var _1rob = null; var _1roc, _1rod = this && this.__extends || (_1roc = function(_1roe, _1rof) { var _1rog = null; return _1roc = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1roh, _1roi) { var _1roj = null; _1roh.__proto__ = _1roi; } || function(_1rok, _1rol) { var _1rom = null; for (var _1ron in _1rol) Object.prototype.hasOwnProperty.call(_1rol, _1ron) && (_1rok[_1ron] = _1rol[_1ron]); }, _1roc(_1roe, _1rof); }, function(_1roo, _1rop) { var _1roq = null; if ('function' != typeof _1rop && null !== _1rop) throw new TypeError('Class extends value ' + String(_1rop) + ' is not a constructor or null'); function _1ror() { var _1ros = null; this.constructor = _1roo; } _1roc(_1roo, _1rop), _1roo.prototype = null === _1rop ? Object.create(_1rop) : (_1ror.prototype = _1rop.prototype, new _1ror()); }); defineModule(_1ro9); Object.defineProperty(_1ro9, '__esModule', { 'value': !0 }), _1ro9.TaskAirWarBombOne = _1ro9.TaskAirWarBomb = void 0; var _1rot = _1roa(66398), _1rou = _1roa(81755), _1rov = function(_1row) { var _1rox = null; function _1roy(_1roz, _1rp0, _1rp1, _1rp2) { var _1rp3 = null, _1rp4 = _1row.call(this) || this; return _1rp4._scene = _1roz, _1rp4._data = _1rp0, _1rp4._from_planes = _1rp1, _1rp4._to_ships = _1rp2, _1rp4._tasks = new Array(), _1rp4; } return _1rod(_1roy, _1row), _1roy.prototype._start = function() { var _1rp5 = null; for (var _1rp6 = this, _1rp7 = function(_1rp8) { var _1rp9 = null, _1rpa = _1rpb._to_ships[_1rp8]; if (null == _1rpa) return 'continue'; if (_1rpb._from_planes.length > 0) { var _1rpc = null != _1rpb._from_planes[_1rp8] ? _1rpb._from_planes[_1rp8] : _1rpb._from_planes[0], _1rpd = _1rpb._scene.view.bannerGroupLayer.getBanner(_1rpa), _1rpe = new _1rpf(_1rpb._scene, _1rpc, _1rpd); _1rpb._tasks.push(_1rpe), _1rpe.start(function() { var _1rpg = null; _1rp6._taskComplete(_1rpa, _1rpe); }); } }, _1rpb = this, _1rph = 0; _1rph < this._to_ships.length; _1rph++) _1rp7(_1rph); 0 == this._tasks.length && this._endTask(); }, _1roy.prototype._taskComplete = function(_1rpi, _1rpj) { var _1rpk = null, _1rpl = this._tasks.indexOf(_1rpj); this._tasks.splice(_1rpl, 1), 0 == this._tasks.length && this._endTask(); }, _1roy.prototype._endTask = function() { var _1rpm = null; this._scene = null, this._data = null, this._from_planes = null, this._to_ships = null, this._tasks = null, _1row.prototype._endTask.call(this); }, _1roy; }(_1rou.TaskBase); _1ro9.TaskAirWarBomb = _1rov; var _1rpf = function(_1rpn) { var _1rpo = null; function _1rpp(_1rpq, _1rpr, _1rps) { var _1rpt = null, _1rpu = _1rpn.call(this) || this; return _1rpu._scene = _1rpq, _1rpu._from_plane = _1rpr, _1rpu._to_banner = _1rps, _1rpu; } return _1rod(_1rpp, _1rpn), _1rpp.prototype._start = function() { var _1rpv = null; this._bomb(); }, _1rpp.prototype._bomb = function() { var _1rpw = null, _1rpx = this, _1rpy = new PIXI.Point(this._from_plane.x, this._from_plane.y), _1rpz = this._to_banner.getGlobalPos(); 1 == this._to_banner.friend ? _1rpz.x += _1rot.BannerSize.W / 2 : _1rpz.x -= _1rot.BannerSize.W / 2, this._scene.view.layer_torpedo.playAerialBombBounce(_1rpy, _1rpz, function() { var _1rq0 = null; _1rpx._endTask(); }); }, _1rpp.prototype._endTask = function() { var _1rq1 = null; _1rpn.prototype._endTask.call(this); }, _1rpp; }(_1rou.TaskBase); _1ro9.TaskAirWarBombOne = _1rpf; }, 31793: function(_1rq2, _1rq3, _1rq4) { 'use strict'; var _1rq5 = null; var _1rq6, _1rq7 = this && this.__extends || (_1rq6 = function(_1rq8, _1rq9) { var _1rqa = null; return _1rq6 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1rqb, _1rqc) { var _1rqd = null; _1rqb.__proto__ = _1rqc; } || function(_1rqe, _1rqf) { var _1rqg = null; for (var _1rqh in _1rqf) Object.prototype.hasOwnProperty.call(_1rqf, _1rqh) && (_1rqe[_1rqh] = _1rqf[_1rqh]); }, _1rq6(_1rq8, _1rq9); }, function(_1rqi, _1rqj) { var _1rqk = null; if ('function' != typeof _1rqj && null !== _1rqj) throw new TypeError('Class extends value ' + String(_1rqj) + ' is not a constructor or null'); function _1rql() { var _1rqm = null; this.constructor = _1rqi; } _1rq6(_1rqi, _1rqj), _1rqi.prototype = null === _1rqj ? Object.create(_1rqj) : (_1rql.prototype = _1rqj.prototype, new _1rql()); }); defineModule(_1rq3); Object.defineProperty(_1rq3, '__esModule', { 'value': !0 }), _1rq3.TaskAirWarDamageNumberOnce = _1rq3.TaskAirWarDamageNumber = void 0; var _1rqn = _1rq4(81755), _1rqo = _1rq4(5527), _1rqp = function(_1rqq) { var _1rqr = null; function _1rqs(_1rqt, _1rqu, _1rqv, _1rqw, _1rqx, _1rqy) { var _1rqz = null, _1rr0 = _1rqq.call(this) || this; return _1rr0._scene = _1rqt, _1rr0._data = _1rqu, _1rr0._ships_f = _1rqw, _1rr0._ships_e = _1rqx, _1rr0._hunshin_danmaku = _1rqy, _1rr0._damage_cutin = _1rqv, _1rr0; } return _1rq7(_1rqs, _1rqq), _1rqs.prototype._start = function() { var _1rr1 = null, _1rr2 = this, _1rr3 = this._ships_f, _1rr4 = this._data.stage3_f, _1rr5 = this._createParallel(_1rr3, _1rr4, this._hunshin_danmaku); _1rr3 = this._ships_e, _1rr4 = this._data.stage3_e; var _1rr6 = this._createParallel(_1rr3, _1rr4, this._hunshin_danmaku); new _1rqo.ParallelTask(_1rr5, _1rr6).start(function() { var _1rr7 = null; _1rr2._endTask(); }); }, _1rqs.prototype._createParallel = function(_1rr8, _1rr9, _1rra) { var _1rrb = null; for (var _1rrc = new _1rqo.ParallelTask(), _1rrd = 0, _1rre = _1rr8; _1rrd < _1rre.length; _1rrd++) { var _1rrf = _1rre[_1rrd]; if (null != _1rrf) { if (_1rra.indexOf(_1rrf) >= 0) { if (Math.floor(_1rr9.getDamage(_1rrf.index)) <= 0) continue; } var _1rrg = new _1rrh(this._scene, _1rrf, _1rr9, this._damage_cutin); _1rrc.add(_1rrg); } } return _1rrc; }, _1rqs.prototype._endTask = function() { var _1rri = null; this._scene = null, this._data = null, this._ships_f = null, this._ships_e = null, this._damage_cutin = null, _1rqq.prototype._endTask.call(this); }, _1rqs; }(_1rqn.TaskBase); _1rq3.TaskAirWarDamageNumber = _1rqp; var _1rrh = function(_1rrj) { var _1rrk = null; function _1rrl(_1rrm, _1rrn, _1rro, _1rrp) { var _1rrq = null, _1rrr = _1rrj.call(this) || this; return _1rrr._scene = _1rrm, _1rrr._ship = _1rrn, _1rrr._data = _1rro, _1rrr._damage_cutin = _1rrp, _1rrr; } return _1rq7(_1rrl, _1rrj), _1rrl.prototype._start = function() { var _1rrs = null, _1rrt = this, _1rru = this._ship, _1rrv = this._data, _1rrw = _1rru.index, _1rrx = _1rru.friend, _1rry = _1rrv.getRai(_1rrw), _1rrz = _1rrv.getBak(_1rrw), _1rs0 = _1rrv.getDamage(_1rrw); if (_1rry || _1rrz || _1rs0 > 0) { 1 == this._scene.data.model.isPractice() && (_1rs0 = Math.min(_1rs0, _1rru.hp_now - 1)); var _1rs1 = _1rrv.getHitType(_1rrw), _1rs2 = this._scene.view.bannerGroupLayer.getBanner(_1rrx, _1rrw); this._scene.view.layer_damage.showAtBanner(_1rs2, _1rs0, _1rs1, function() { var _1rs3 = null; _1rrt._endTask(); }), this._damage_cutin.causeDamage(_1rru, _1rs0), _1rs2.updateHp(_1rru.hp_now); } else this._endTask(); }, _1rrl.prototype._endTask = function() { var _1rs4 = null; this._scene = null, this._ship = null, this._data = null, this._damage_cutin = null, _1rrj.prototype._endTask.call(this); }, _1rrl; }(_1rqn.TaskBase); _1rq3.TaskAirWarDamageNumberOnce = _1rrh; }, 19428: function(_1rs5, _1rs6, _1rs7) { 'use strict'; var _1rs8 = null; var _1rs9, _1rsa = this && this.__extends || (_1rs9 = function(_1rsb, _1rsc) { var _1rsd = null; return _1rs9 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1rse, _1rsf) { var _1rsg = null; _1rse.__proto__ = _1rsf; } || function(_1rsh, _1rsi) { var _1rsj = null; for (var _1rsk in _1rsi) Object.prototype.hasOwnProperty.call(_1rsi, _1rsk) && (_1rsh[_1rsk] = _1rsi[_1rsk]); }, _1rs9(_1rsb, _1rsc); }, function(_1rsl, _1rsm) { var _1rsn = null; if ('function' != typeof _1rsm && null !== _1rsm) throw new TypeError('Class extends value ' + String(_1rsm) + ' is not a constructor or null'); function _1rso() { var _1rsp = null; this.constructor = _1rsl; } _1rs9(_1rsl, _1rsm), _1rsl.prototype = null === _1rsm ? Object.create(_1rsm) : (_1rso.prototype = _1rsm.prototype, new _1rso()); }); defineModule(_1rs6); Object.defineProperty(_1rs6, '__esModule', { 'value': !0 }), _1rs6.TaskAirWarMissileOne = _1rs6.TaskAirWarMissile = void 0; var _1rsq = _1rs7(66398), _1rsr = _1rs7(81755), _1rss = _1rs7(70723), _1rst = function(_1rsu) { var _1rsv = null; function _1rsw(_1rsx, _1rsy, _1rsz, _1rt0) { var _1rt1 = null, _1rt2 = _1rsu.call(this) || this; return _1rt2._scene = _1rsx, _1rt2._data = _1rsy, _1rt2._from_planes = _1rsz, _1rt2._to_ships = _1rt0, _1rt2._tasks = new Array(), _1rt2; } return _1rsa(_1rsw, _1rsu), _1rsw.prototype._start = function() { var _1rt3 = null; for (var _1rt4 = this, _1rt5 = !0, _1rt6 = function(_1rt7) { var _1rt8 = null; if (null == _1rt7) return 'continue'; if (1 == (1 == _1rt7.friend ? _1rt9._data.stage3_f.getRai(_1rt7.index) : _1rt9._data.stage3_e.getRai(_1rt7.index)) && _1rt9._from_planes.length > 0) { _1rt5 && (_1rss.SE.play('265'), _1rt5 = !1); var _1rta = Math.floor(Math.random() * _1rt9._from_planes.length), _1rtb = _1rt9._from_planes.splice(_1rta, 1)[0], _1rtc = 1 == _1rt7.friend ? _1rt9._data.stage3_f : _1rt9._data.stage3_e, _1rtd = new _1rte(_1rt9._scene, _1rtb, _1rtc, _1rt7); _1rt9._tasks.push(_1rtd), _1rtd.start(function() { var _1rtf = null; _1rt4._taskComplete(_1rt7, _1rtd); }); } }, _1rt9 = this, _1rtg = 0, _1rth = this._to_ships; _1rtg < _1rth.length; _1rtg++) { _1rt6(_1rth[_1rtg]); } 0 == this._tasks.length && this._endTask(); }, _1rsw.prototype._taskComplete = function(_1rti, _1rtj) { var _1rtk = null, _1rtl = this._tasks.indexOf(_1rtj); this._tasks.splice(_1rtl, 1), 0 == this._tasks.length && this._endTask(); }, _1rsw.prototype._endTask = function() { var _1rtm = null; this._scene = null, this._data = null, this._from_planes = null, this._to_ships = null, this._tasks = null, _1rsu.prototype._endTask.call(this); }, _1rsw; }(_1rsr.TaskBase); _1rs6.TaskAirWarMissile = _1rst; var _1rte = function(_1rtn) { var _1rto = null; function _1rtp(_1rtq, _1rtr, _1rts, _1rtt) { var _1rtu = null, _1rtv = _1rtn.call(this) || this; _1rtv._explosion = function() { var _1rtw = null, _1rtx = _1rtv._shield; if (1 == _1rtx) { var _1rty = _1rtv._scene.view.bannerGroupLayer.getShieldTargetBanner(_1rtv._to_banner); _1rtv._scene.view.layer_damage.showShieldAtBanner(_1rty); } _1rtv._to_banner.moveAtDamage(_1rtx); var _1rtz = _1rtv._to_banner.getGlobalPos(!0), _1ru0 = _1rtv._scene.view; _1ru0.layer_explosion.playDamageExplosion(_1rtz.x, _1rtz.y, _1rtv._damage), _1ru0.layer_explosion.playTorpedoWaterColumn(_1rtv._to_banner, function() { var _1ru1 = null; _1rtv._endTask(); }); }; var _1ru2 = _1rts.getDamage(_1rtt.index), _1ru3 = _1rts.isShield(_1rtt.index), _1ru4 = _1rtq.view.bannerGroupLayer.getBanner(_1rtt); return _1rtv._scene = _1rtq, _1rtv._from_plane = _1rtr, _1rtv._to_banner = _1ru4, _1rtv._damage = _1ru2, _1rtv._shield = _1ru3, _1rtv; } return _1rsa(_1rtp, _1rtn), _1rtp.prototype._start = function() { var _1ru5 = null; this._missile(); }, _1rtp.prototype._missile = function() { var _1ru6 = null, _1ru7 = new PIXI.Point(this._from_plane.x, this._from_plane.y), _1ru8 = this._to_banner.getGlobalPos(); 1 == this._to_banner.friend ? _1ru8.x += _1rsq.BannerSize.W / 2 : _1ru8.x -= _1rsq.BannerSize.W / 2; var _1ru9 = this._scene.view, _1rua = this._getMissileType(this._from_plane.mst_id); _1ru9.layer_missile.playAerialMissile(_1ru7, _1ru8, _1rua, this._explosion); }, _1rtp.prototype._getMissileType = function(_1rub) { switch (_1rub) { case 405: return 1; case 406: return 2; case 444: case 484: return 3; case 454: return 4; default: return 0; } }, _1rtp.prototype._endTask = function() { var _1ruc = null; this._scene = null, this._from_plane = null, this._to_banner = null, _1rtn.prototype._endTask.call(this); }, _1rtp; }(_1rsr.TaskBase); _1rs6.TaskAirWarMissileOne = _1rte; }, 62880: function(_1rud, _1rue, _1ruf) { 'use strict'; var _1rug = null; var _1ruh, _1rui = this && this.__extends || (_1ruh = function(_1ruj, _1ruk) { var _1rul = null; return _1ruh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1rum, _1run) { var _1ruo = null; _1rum.__proto__ = _1run; } || function(_1rup, _1ruq) { var _1rur = null; for (var _1rus in _1ruq) Object.prototype.hasOwnProperty.call(_1ruq, _1rus) && (_1rup[_1rus] = _1ruq[_1rus]); }, _1ruh(_1ruj, _1ruk); }, function(_1rut, _1ruu) { var _1ruv = null; if ('function' != typeof _1ruu && null !== _1ruu) throw new TypeError('Class extends value ' + String(_1ruu) + ' is not a constructor or null'); function _1ruw() { var _1rux = null; this.constructor = _1rut; } _1ruh(_1rut, _1ruu), _1rut.prototype = null === _1ruu ? Object.create(_1ruu) : (_1ruw.prototype = _1ruu.prototype, new _1ruw()); }); defineModule(_1rue); Object.defineProperty(_1rue, '__esModule', { 'value': !0 }), _1rue.TaskAirWarRescue = void 0; var _1ruy = _1ruf(81755), _1ruz = _1ruf(22434), _1rv0 = _1ruf(85492), _1rv1 = _1ruf(5527), _1rv2 = function(_1rv3) { var _1rv4 = null; function _1rv5(_1rv6, _1rv7) { var _1rv8 = null, _1rv9 = _1rv3.call(this) || this; return _1rv9._layer = _1rv6, _1rv9._rescueType = _1rv7, _1rv9._contents = new PIXI.Container(), _1rv9._contents.position.set(896, 142), _1rv9._fuki_center = new PIXI.Sprite(_1ruz.BATTLE_MAIN.getTexture(91)), _1rv9._fuki_right = new PIXI.Sprite(_1ruz.BATTLE_MAIN.getTexture(92)), _1rv9._fuki_left = new PIXI.Sprite(_1ruz.BATTLE_MAIN.getTexture(93)), _1rv9._fuki_left.position.set(0, 0), _1rv9._fuki_center.position.set(68, -34), _1rv9._fuki_right.position.set(136, 0), _1rv9._contents.addChild(_1rv9._fuki_center, _1rv9._fuki_right, _1rv9._fuki_left), _1rv9; } return _1rui(_1rv5, _1rv3), _1rv5.prototype._start = function() { var _1rva = null; this._fuki_center.alpha = 0, this._fuki_left.alpha = 0, this._fuki_right.alpha = 0, this._show(); }, _1rv5.prototype._show = function() { var _1rvb = null, _1rvc = this, _1rvd = new _1rv1.ParallelTask(); this._layer.addChild(this._contents), _1rvd.add(new _1rv0.TweenTask().addTween(createjs.Tween.get(this._fuki_center).to({ 'alpha': 1 }, 200))), this._rescueType > 1 && _1rvd.add(new _1rv0.TweenTask().addTween(createjs.Tween.get(this._fuki_right).wait(200).to({ 'alpha': 1 }, 200))), this._rescueType > 2 && _1rvd.add(new _1rv0.TweenTask().addTween(createjs.Tween.get(this._fuki_left).wait(400).to({ 'alpha': 1 }, 200))), _1rvd.start(function() { var _1rve = null; _1rvc._hide(); }); }, _1rv5.prototype._hide = function() { var _1rvf = null, _1rvg = this; createjs.Tween.get(this._contents).wait(400).to({ 'alpha': 0 }, 200).call(function() { var _1rvh = null; _1rvg._layer.removeChild(_1rvg._contents), _1rvg._endTask(); }); }, _1rv5.prototype._endTask = function() { var _1rvi = null; this._contents.removeChildren(), this._fuki_center.destroy(), this._fuki_center = null, this._fuki_right.destroy(), this._fuki_right = null, this._fuki_left.destroy(), this._fuki_left = null, _1rv3.prototype._endTask.call(this); }, _1rv5; }(_1ruy.TaskBase); _1rue.TaskAirWarRescue = _1rv2; }, 8765: function(_1rvj, _1rvk, _1rvl) { 'use strict'; var _1rvm = null; var _1rvn, _1rvo = this && this.__extends || (_1rvn = function(_1rvp, _1rvq) { var _1rvr = null; return _1rvn = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1rvs, _1rvt) { var _1rvu = null; _1rvs.__proto__ = _1rvt; } || function(_1rvv, _1rvw) { var _1rvx = null; for (var _1rvy in _1rvw) Object.prototype.hasOwnProperty.call(_1rvw, _1rvy) && (_1rvv[_1rvy] = _1rvw[_1rvy]); }, _1rvn(_1rvp, _1rvq); }, function(_1rvz, _1rw0) { var _1rw1 = null; if ('function' != typeof _1rw0 && null !== _1rw0) throw new TypeError('Class extends value ' + String(_1rw0) + ' is not a constructor or null'); function _1rw2() { var _1rw3 = null; this.constructor = _1rvz; } _1rvn(_1rvz, _1rw0), _1rvz.prototype = null === _1rw0 ? Object.create(_1rw0) : (_1rw2.prototype = _1rw0.prototype, new _1rw2()); }); defineModule(_1rvk); Object.defineProperty(_1rvk, '__esModule', { 'value': !0 }), _1rvk.TaskAirWarShowSeiku = void 0; var _1rw4 = _1rvl(81755), _1rw5 = _1rvl(22434), _1rw6 = function(_1rw7) { var _1rw8 = null; function _1rw9(_1rwa, _1rwb) { var _1rwc = null, _1rwd = _1rw7.call(this) || this; return _1rwd._layer = _1rwa, _1rwd._seiku = _1rwb, _1rwd; } return _1rvo(_1rw9, _1rw7), _1rw9.prototype._start = function() { var _1rwe = null, _1rwf = -1; if (1 == this._seiku ? _1rwf = 148 : 2 == this._seiku ? _1rwf = 153 : 4 == this._seiku && (_1rwf = 151), _1rwf < 0) this._endTask(); else { var _1rwg = _1rw5.BATTLE_MAIN.getTexture(_1rwf); this._content = new PIXI.Sprite(_1rwg), this._anim(); } }, _1rw9.prototype._anim = function() { var _1rwh = null, _1rwi = this; this._content.position.set(600, 600), this._content.anchor.set(0.5), this._content.alpha = 0, this._layer.addChild(this._content), createjs.Tween.get(this._content).to({ 'alpha': 1 }, 400).wait(1800).to({ 'alpha': 0 }, 300).call(function() { var _1rwj = null; _1rwi._layer.removeChild(_1rwi._content), _1rwi._endTask(); }); }, _1rw9.prototype._endTask = function() { var _1rwk = null; this._layer = null, this._content = null, _1rw7.prototype._endTask.call(this); }, _1rw9; }(_1rw4.TaskBase); _1rvk.TaskAirWarShowSeiku = _1rw6; }, 18195: function(_1rwl, _1rwm, _1rwn) { 'use strict'; var _1rwo = null; var _1rwp, _1rwq = this && this.__extends || (_1rwp = function(_1rwr, _1rws) { var _1rwt = null; return _1rwp = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1rwu, _1rwv) { var _1rww = null; _1rwu.__proto__ = _1rwv; } || function(_1rwx, _1rwy) { var _1rwz = null; for (var _1rx0 in _1rwy) Object.prototype.hasOwnProperty.call(_1rwy, _1rx0) && (_1rwx[_1rx0] = _1rwy[_1rx0]); }, _1rwp(_1rwr, _1rws); }, function(_1rx1, _1rx2) { var _1rx3 = null; if ('function' != typeof _1rx2 && null !== _1rx2) throw new TypeError('Class extends value ' + String(_1rx2) + ' is not a constructor or null'); function _1rx4() { var _1rx5 = null; this.constructor = _1rx1; } _1rwp(_1rx1, _1rx2), _1rx1.prototype = null === _1rx2 ? Object.create(_1rx2) : (_1rx4.prototype = _1rx2.prototype, new _1rx4()); }); defineModule(_1rwm); Object.defineProperty(_1rwm, '__esModule', { 'value': !0 }), _1rwm.TaskAirWarTorpedoOne = _1rwm.TaskAirWarTorpedo = void 0; var _1rx6 = _1rwn(66398), _1rx7 = _1rwn(81755), _1rx8 = function(_1rx9) { var _1rxa = null; function _1rxb(_1rxc, _1rxd, _1rxe, _1rxf) { var _1rxg = null, _1rxh = _1rx9.call(this) || this; return _1rxh._scene = _1rxc, _1rxh._data = _1rxd, _1rxh._from_planes = _1rxe, _1rxh._to_ships = _1rxf, _1rxh._tasks = new Array(), _1rxh; } return _1rwq(_1rxb, _1rx9), _1rxb.prototype._start = function() { var _1rxi = null; for (var _1rxj = this, _1rxk = function(_1rxl) { var _1rxm = null; if (null == _1rxl) return 'continue'; if (1 == (1 == _1rxl.friend ? _1rxn._data.stage3_f.getRai(_1rxl.index) : _1rxn._data.stage3_e.getRai(_1rxl.index)) && _1rxn._from_planes.length > 0) { var _1rxo = Math.floor(Math.random() * _1rxn._from_planes.length), _1rxp = _1rxn._from_planes[_1rxo], _1rxq = _1rxn._scene.view.bannerGroupLayer.getBanner(_1rxl), _1rxr = 1 == _1rxl.friend ? _1rxn._data.stage3_f : _1rxn._data.stage3_e, _1rxs = _1rxr.getDamage(_1rxl.index), _1rxt = _1rxr.isShield(_1rxl.index), _1rxu = new _1rxv(_1rxn._scene, _1rxp, _1rxq, _1rxs, _1rxt); _1rxn._tasks.push(_1rxu), _1rxu.start(function() { var _1rxw = null; _1rxj._taskComplete(_1rxl, _1rxu); }); } }, _1rxn = this, _1rxx = 0, _1rxy = this._to_ships; _1rxx < _1rxy.length; _1rxx++) { _1rxk(_1rxy[_1rxx]); } 0 == this._tasks.length && this._endTask(); }, _1rxb.prototype._taskComplete = function(_1rxz, _1ry0) { var _1ry1 = null, _1ry2 = this._tasks.indexOf(_1ry0); this._tasks.splice(_1ry2, 1), 0 == this._tasks.length && this._endTask(); }, _1rxb.prototype._endTask = function() { var _1ry3 = null; this._scene = null, this._data = null, this._from_planes = null, this._to_ships = null, this._tasks = null, _1rx9.prototype._endTask.call(this); }, _1rxb; }(_1rx7.TaskBase); _1rwm.TaskAirWarTorpedo = _1rx8; var _1rxv = function(_1ry4) { var _1ry5 = null; function _1ry6(_1ry7, _1ry8, _1ry9, _1rya, _1ryb) { var _1ryc = null, _1ryd = _1ry4.call(this) || this; return _1ryd._explosion = function() { var _1rye = null, _1ryf = _1ryd._shield; if (1 == _1ryf) { var _1ryg = _1ryd._scene.view.bannerGroupLayer.getShieldTargetBanner(_1ryd._to_banner); _1ryd._scene.view.layer_damage.showShieldAtBanner(_1ryg); } _1ryd._to_banner.moveAtDamage(_1ryf); var _1ryh = _1ryd._to_banner.getGlobalPos(!0), _1ryi = _1ryd._scene.view; _1ryi.layer_explosion.playDamageExplosion(_1ryh.x, _1ryh.y, _1ryd._damage), _1ryi.layer_explosion.playTorpedoWaterColumn(_1ryd._to_banner, function() { var _1ryj = null; _1ryd._endTask(); }); }, _1ryd._scene = _1ry7, _1ryd._from_plane = _1ry8, _1ryd._to_banner = _1ry9, _1ryd._damage = _1rya, _1ryd._shield = _1ryb, _1ryd; } return _1rwq(_1ry6, _1ry4), _1ry6.prototype._start = function() { var _1ryk = null; this._torpedo(); }, _1ry6.prototype._torpedo = function() { var _1ryl = null, _1rym = new PIXI.Point(this._from_plane.x, this._from_plane.y), _1ryn = this._to_banner.getGlobalPos(); 1 == this._to_banner.friend ? _1ryn.x += _1rx6.BannerSize.W / 2 : _1ryn.x -= _1rx6.BannerSize.W / 2, this._scene.view.layer_torpedo.playAerialTorpedo(_1rym, _1ryn, this._explosion); }, _1ry6.prototype._endTask = function() { var _1ryo = null; this._scene = null, this._from_plane = null, this._to_banner = null, _1ry4.prototype._endTask.call(this); }, _1ry6; }(_1rx7.TaskBase); _1rwm.TaskAirWarTorpedoOne = _1rxv; }, 83645: function(_1ryp, _1ryq, _1ryr) { 'use strict'; var _1rys = null; var _1ryt, _1ryu = this && this.__extends || (_1ryt = function(_1ryv, _1ryw) { var _1ryx = null; return _1ryt = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ryy, _1ryz) { var _1rz0 = null; _1ryy.__proto__ = _1ryz; } || function(_1rz1, _1rz2) { var _1rz3 = null; for (var _1rz4 in _1rz2) Object.prototype.hasOwnProperty.call(_1rz2, _1rz4) && (_1rz1[_1rz4] = _1rz2[_1rz4]); }, _1ryt(_1ryv, _1ryw); }, function(_1rz5, _1rz6) { var _1rz7 = null; if ('function' != typeof _1rz6 && null !== _1rz6) throw new TypeError('Class extends value ' + String(_1rz6) + ' is not a constructor or null'); function _1rz8() { var _1rz9 = null; this.constructor = _1rz5; } _1ryt(_1rz5, _1rz6), _1rz5.prototype = null === _1rz6 ? Object.create(_1rz6) : (_1rz8.prototype = _1rz6.prototype, new _1rz8()); }), _1rza = this && this.__importDefault || function(_1rzb) { var _1rzc = null; return _1rzb && _1rzb.__esModule ? _1rzb : { 'default': _1rzb }; }; defineModule(_1ryq); Object.defineProperty(_1ryq, '__esModule', { 'value': !0 }), _1ryq.CutinAttack = void 0; var _1rzd = _1rza(_1ryr(21359)), _1rze = _1rza(_1ryr(18622)), _1rzf = _1ryr(81755), _1rzg = _1ryr(54011), _1rzh = _1ryr(20137), _1rzi = _1ryr(37760), _1rzj = _1ryr(87737), _1rzk = _1ryr(75085), _1rzl = _1ryr(77357), _1rzm = function(_1rzn) { var _1rzo = null; function _1rzp(_1rzq, _1rzr, _1rzs, _1rzt, _1rzu) { var _1rzv = null, _1rzw = _1rzn.call(this) || this; _1rzw._attacker = _1rzq, _1rzw._slot = _1rzr, _1rzw._showStatus = _1rzt, _1rzw._showTelop = _1rzu, _1rzw._friend = _1rzw._attacker.friend; var _1rzx = _1rzw._friend ? -162 : 435; _1rzw._base_pos = new PIXI.Point(_1rzx, -131), _1rzw._view = new _1rzk.CutinCanvas(); var _1rzy = Math.floor(3 * Math.random()); return _1rzw._telop = new _1rzl.CutinTelop(_1rzy, _1rzs), 1 == _1rzw._showTelop ? _1rzw._preload_task = new _1rzz(_1rzq, _1rzr) : _1rzw._preload_task = new _1rzz(_1rzq, null), _1rzw; } return _1ryu(_1rzp, _1rzn), Object.defineProperty(_1rzp.prototype, 'view', { 'get': function() { var _1s00 = null; return this._view; }, 'enumerable': !1, 'configurable': !0 }), _1rzp.prototype.getPreloadTask = function() { var _1s01 = null; return this._preload_task; }, _1rzp.prototype._start = function() { var _1s02 = null, _1s03 = this._attacker.mst_id, _1s04 = this._attacker.isDamaged(), _1s05 = _1rze.default.resources.getShip(_1s03, _1s04, 'full'), _1s06 = new _1rzg.Sprite(_1s05), _1s07 = new _1rzj.ShipFlash(_1s05), _1s08 = _1rze.default.model.ship_graph.get(_1s03).getBattleOffset(_1s04); _1s06.x = _1s07.x = _1s08.x, _1s06.y = _1s07.y = _1s08.y; var _1s09 = this._friend ? 1 : -1, _1s0a = Math.floor(4 * Math.random()); 0 == _1s0a ? this.play_type1(_1s06, _1s07, _1s09) : 1 == _1s0a ? this.play_type2(_1s06, _1s07, _1s09, _1s08) : 2 == _1s0a ? this.play_type3(_1s06, _1s07, _1s09) : this.play_type4(_1s06, _1s07, _1s09, _1s08), this._view.chara.addChild(_1s06), this._view.chara.addChild(_1s07), this._animBox(this._attacker, this._slot), this._animTelop(this._slot, this._attacker.friend); }, _1rzp.prototype.play_type1 = function(_1s0b, _1s0c, _1s0d) { var _1s0e = null, _1s0f = this; this._view.chara.position.set(this._base_pos.x - 180 * _1s0d, this._base_pos.y + 120), this._view.chara.alpha = 0; var _1s0g = createjs.Tween.get(this._view.chara).to({ 'x': this._base_pos.x - 30 * _1s0d, 'y': this._base_pos.y + 15, 'alpha': 1 }, 300).to({ 'x': this._base_pos.x, 'y': this._base_pos.y }, 250); this._addAttackTween(_1s0c, _1s0g), _1s0g.to({ 'x': this._base_pos.x + 38 * _1s0d, 'y': this._base_pos.y - 23 }, 135), _1s0g.to({ 'x': this._base_pos.x + 135 * _1s0d, 'y': this._base_pos.y - 75, 'alpha': 0 }, 335), _1s0g.call(function() { var _1s0h = null; _1s0f._tweenEnd(_1s0c); }); }, _1rzp.prototype.play_type2 = function(_1s0i, _1s0j, _1s0k, _1s0l) { var _1s0m = null, _1s0n = this; this._view.chara.position.set(this._base_pos.x, this._base_pos.y); var _1s0o = 344 - _1s0l.x, _1s0p = 597 - _1s0l.y; _1s0i.x += _1s0o, _1s0i.y += _1s0p, _1s0i.anchor.set(_1s0o / _1s0i.width, _1s0p / _1s0i.height), _1s0i.scale.set(1.25), _1s0i.alpha = 0, _1s0j.position = _1s0i.position, _1s0j.anchor = _1s0i.anchor, _1s0j.scale = _1s0i.scale, _1s0j.alpha = _1s0i.alpha; var _1s0q = createjs.Tween.get(_1s0i).to({ 'scaleX': 1, 'scaleY': 1, 'alpha': 1 }, 533, createjs.Ease.sineOut); _1s0q.call(function() { var _1s0r = null; _1s0j.scale.x = 1, _1s0j.scale.y = 1; }), this._addAttackTween(_1s0j, _1s0q), _1s0q.call(function() { var _1s0s = null; createjs.Tween.get(_1s0j).to({ 'scaleX': 1.25, 'scaleY': 1.25 }, 466); }), _1s0q.to({ 'scaleX': 1.25, 'scaleY': 1.25, 'alpha': 0 }, 466), _1s0q.call(function() { var _1s0t = null; _1s0n._tweenEnd(_1s0j); }); }, _1rzp.prototype.play_type3 = function(_1s0u, _1s0v, _1s0w) { var _1s0x = null, _1s0y = this; this._view.chara.position.set(this._base_pos.x - 180 * _1s0w, this._base_pos.y), this._view.chara.alpha = 0; var _1s0z = createjs.Tween.get(this._view.chara).to({ 'x': this._base_pos.x - 30 * _1s0w, 'alpha': 1 }, 300).to({ 'x': this._base_pos.x }, 250); this._addAttackTween(_1s0v, _1s0z), _1s0z.to({ 'x': this._base_pos.x + 78 * _1s0w, 'alpha': 0 }, 466), _1s0z.call(function() { var _1s10 = null; _1s0y._tweenEnd(_1s0v); }); }, _1rzp.prototype.play_type4 = function(_1s11, _1s12, _1s13, _1s14) { var _1s15 = null, _1s16 = this; this._view.chara.position.set(this._base_pos.x - 180 * _1s13, this._base_pos.y), this._view.chara.alpha = 0; var _1s17 = 344 - _1s14.x, _1s18 = 597 - _1s14.y; _1s11.x += _1s17, _1s11.y += _1s18, _1s11.anchor.set(_1s17 / _1s11.width, _1s18 / _1s11.height), _1s12.position = _1s11.position, _1s12.anchor = _1s11.anchor; var _1s19 = createjs.Tween.get(this._view.chara).to({ 'x': this._base_pos.x - 30 * _1s13, 'alpha': 1 }, 300).to({ 'x': this._base_pos.x }, 250); this._addAttackTween(_1s12, _1s19), _1s19.call(function() { var _1s1a = null; createjs.Tween.get(_1s11).to({ 'scaleY': 1.66, 'alpha': 0 }, 466), createjs.Tween.get(_1s12).to({ 'scaleY': 1.66 }, 466).call(function() { var _1s1b = null; _1s16._tweenEnd(_1s12); }); }); }, _1rzp.prototype._tweenEnd = function(_1s1c) { var _1s1d = null; _1s1c.parent.removeChild(_1s1c), this._endTask(); }, _1rzp.prototype._addAttackTween = function(_1s1e, _1s1f) { var _1s1g = null, _1s1h = this; return _1s1f.call(function() { var _1s1i = null; _1s1h._view.emit('attack'), _1s1e.play(); }), _1s1f.wait(135), _1s1f; }, _1rzp.prototype._animBox = function(_1s1j, _1s1k) { var _1s1l = null; if (null != _1s1j && null != _1s1k && 0 != this._showStatus) { var _1s1m = this._view.box; _1s1m.initilize(_1s1j); var _1s1n = 0; 1 == _1s1j.friend ? _1s1m.x = -60 : (_1s1n = _1rzd.default.width - _1s1m.width, _1s1m.x = _1s1n + 60), _1s1m.y = _1rzd.default.height - _1s1m.height, _1s1m.alpha = 0, createjs.Tween.get(_1s1m).wait(220).to({ 'x': _1s1n, 'alpha': 1 }, 165).wait(900).to({ 'alpha': 0 }, 200); } }, _1rzp.prototype._animTelop = function(_1s1o, _1s1p) { var _1s1q = null; null != _1s1o && 0 != this._showTelop && (this._telop.initialize(_1s1o.mstID, _1s1p), this._view.addChildAt(this._telop, 0), this._telop.play()); }, _1rzp.prototype._endTask = function() { var _1s1r = null; this._attacker = null, this._slot = null, this._base_pos = null, null != this._view.parent && this._view.parent.removeChild(this._view), this._view.dispose(), this._view = null, this._telop = null, this._preload_task = null, _1rzn.prototype._endTask.call(this); }, _1rzp; }(_1rzf.TaskBase); _1ryq.CutinAttack = _1rzm; var _1rzz = function(_1s1s) { var _1s1t = null; function _1s1u(_1s1v, _1s1w) { var _1s1x = null, _1s1y = _1s1s.call(this) || this; return _1s1y._attacker = _1s1v, _1s1y._slot = _1s1w, _1s1y; } return _1ryu(_1s1u, _1s1s), _1s1u.prototype._start = function() { var _1s1z = null; this._loadShipImage(); }, _1s1u.prototype._loadShipImage = function() { var _1s20 = null, _1s21 = this, _1s22 = new _1rzh.ShipLoader(); _1s22.add(this._attacker.mst_id, this._attacker.isDamaged(), 'full'), _1s22.load(function() { var _1s23 = null; _1s21._loadSlotTextImage(); }); }, _1s1u.prototype._loadSlotTextImage = function() { var _1s24 = null, _1s25 = this; if (null != this._slot) { var _1s26 = new _1rzi.SlotLoader(); _1s26.add(this._slot.mstID, 'btxt_flat'), _1s26.load(function() { var _1s27 = null; _1s25._endTask(); }); } else this._endTask(); }, _1s1u; }(_1rzf.TaskBase); }, 51225: function(_1s28, _1s29, _1s2a) { 'use strict'; var _1s2b = null; var _1s2c, _1s2d = this && this.__extends || (_1s2c = function(_1s2e, _1s2f) { var _1s2g = null; return _1s2c = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1s2h, _1s2i) { var _1s2j = null; _1s2h.__proto__ = _1s2i; } || function(_1s2k, _1s2l) { var _1s2m = null; for (var _1s2n in _1s2l) Object.prototype.hasOwnProperty.call(_1s2l, _1s2n) && (_1s2k[_1s2n] = _1s2l[_1s2n]); }, _1s2c(_1s2e, _1s2f); }, function(_1s2o, _1s2p) { var _1s2q = null; if ('function' != typeof _1s2p && null !== _1s2p) throw new TypeError('Class extends value ' + String(_1s2p) + ' is not a constructor or null'); function _1s2r() { var _1s2s = null; this.constructor = _1s2o; } _1s2c(_1s2o, _1s2p), _1s2o.prototype = null === _1s2p ? Object.create(_1s2p) : (_1s2r.prototype = _1s2p.prototype, new _1s2r()); }), _1s2t = this && this.__importDefault || function(_1s2u) { var _1s2v = null; return _1s2u && _1s2u.__esModule ? _1s2u : { 'default': _1s2u }; }; defineModule(_1s29); Object.defineProperty(_1s29, '__esModule', { 'value': !0 }), _1s29.PreloadCutin = _1s29.CutinColoradoAttack = void 0; var _1s2w = _1s2t(_1s2a(21359)), _1s2x = _1s2t(_1s2a(18622)), _1s2y = _1s2a(81755), _1s2z = _1s2a(54011), _1s30 = _1s2a(70723), _1s31 = _1s2a(22434), _1s32 = _1s2a(20137), _1s33 = _1s2a(30381), _1s34 = _1s2a(79899), _1s35 = function(_1s36) { var _1s37 = null; function _1s38(_1s39) { var _1s3a = null, _1s3b = _1s36.call(this) || this; _1s3b._preAnim = function() { var _1s3c = null, _1s3d = _1s3b._attackers[0].mst_id; switch (_1s2x.default.sound.voice.play(_1s3d.toString(), 900), _1s3b._mainShip.texture = _1s2x.default.resources.getShip(_1s3d, !1, 'special'), _1s3d) { case 601: case 1496: _1s3b._mainShip.position.set(680, 450); break; case 913: case 918: _1s3b._mainShip.position.set(580, 480); } _1s3b._mainShip.anchor.set(0.5), _1s3b._mainShip.alpha = 0; for (var _1s3e = 0; _1s3e < _1s3b._attackers.length; _1s3e++) { var _1s3f = _1s3b._attackers[_1s3e].mst_id, _1s3g = _1s3b._attackers[_1s3e].isDamaged(); _1s3b._ships[_1s3e].texture = _1s2x.default.resources.getShip(_1s3f, _1s3g, 'full'); var _1s3h = _1s3b._ships[_1s3e].texture.baseTexture.width / 2, _1s3i = _1s3b._ships[_1s3e].texture.baseTexture.height / 2; if (0 == _1s3g) { var _1s3j = _1s2x.default.model.ship_graph.get(_1s3f).getFaceRect(!1); _1s3b._ships[_1s3e].position.set(600 - (_1s3j.x + _1s3j.width / 2) + _1s3h, 100 - _1s3j.y + _1s3i); } else { var _1s3k = _1s2x.default.model.ship_graph.get(_1s3f).getBattleOffset(!0); _1s3b._ships[_1s3e].position.set(_1s2w.default.width / 4 + (_1s3k.x - 120) + _1s3h, _1s3k.y - 45 + _1s3i); } _1s3b._ships[_1s3e].scale.set(2), _1s3b._ships[_1s3e].anchor.set(0.5), _1s3b._ships[_1s3e].alpha = 0; } _1s3b._ships[0].position.set(590, 497), _1s3b._canvas.chara[0].addChild(_1s3b._ships[1]), _1s3b._canvas.chara[1].addChild(_1s3b._ships[2]), _1s3b._canvas.chara[2].addChild(_1s3b._ships[0]), _1s3b._canvas.chara[2].addChild(_1s3b._mainShip), _1s3b._anim1(); }, _1s3b._anim2 = function() { var _1s3l = null; createjs.Tween.get(_1s3b._ships[2]).to({ 'scaleX': 1, 'scaleY': 1, 'alpha': 1 }, 400).call(function() { var _1s3m = null; createjs.Tween.get(_1s3b._canvas.chara[1]).call(function() { var _1s3n = null; _1s30.SE.play('103'), _1s3b._setPaSmokePos(_1s3b._attackers[2].mst_id, _1s3b._ships[2]), _1s3b._paSmoke.createTweens(); }).to({ 'x': -50 }, 50).to({ 'x': 0 }, 50).wait(200).call(function() { var _1s3o = null; createjs.Tween.get(_1s3b._ships[2]).to({ 'scaleX': 0.85, 'scaleY': 0.85 }, 300), createjs.Tween.get(_1s3b._canvas.chara[1]).to({ 'x': 350, 'y': -50 }, 300).call(function() { var _1s3p = null; _1s3b._anim3(); }); }); }); }, _1s3b._anim3 = function() { var _1s3q = null; createjs.Tween.get(_1s3b._ships[0]).to({ 'scaleX': 1, 'scaleY': 1, 'alpha': 1 }, 400).call(function() { var _1s3r = null; createjs.Tween.get(_1s3b._canvas.chara[0]).to({ 'alpha': 0 }, 300), createjs.Tween.get(_1s3b._canvas.chara[1]).to({ 'alpha': 0 }, 300), _1s30.SE.play('209'), createjs.Tween.get(_1s3b._ships[0]).to({ 'alpha': 0 }, 500), createjs.Tween.get(_1s3b._mainShip).to({ 'alpha': 1 }, 500).wait(500).call(function() { var _1s3s = null; _1s3b._anim4(); }); }); }, _1s3b._anim4 = function() { var _1s3t = null; createjs.Tween.get(_1s3b._mainShip).call(function() { var _1s3u = null; _1s30.SE.play('103'), _1s3b._coloradoSmokes[1].createTweens(), _1s3b._coloradoSmokes[2].createTweens(); }).to({ 'x': 427, 'y': 506, 'scaleX': 0.8, 'scaleY': 0.8 }, 50).to({ 'x': 457, 'y': 476 }, 50).wait(100).call(function() { var _1s3v = null; _1s30.SE.play('103'), _1s3b._coloradoSmokes[0].createTweens(), _1s3b._coloradoSmokes[3].createTweens(); }).to({ 'x': 427, 'y': 506 }, 50).to({ 'x': 457, 'y': 476 }, 50).call(function() { var _1s3w = null; _1s30.SE.play('104'); }).wait(200).call(function() { var _1s3x = null; createjs.Tween.get(_1s3b._white).to({ 'alpha': 1 }, 200).to({ 'alpha': 0 }, 200); }).wait(500).to({ 'alpha': 0 }, 600).call(function() { var _1s3y = null; _1s3b._endTask(); }); }, _1s3b._attackers = _1s39, _1s3b._canvas = new _1s33.CutinColoradoAttackCanvas(), _1s3b._view = new PIXI.Container(), _1s3b.view.addChild(_1s3b._canvas), _1s3b._mainShip = new _1s2z.Sprite(), _1s3b._ships = []; for (var _1s3z = 0; _1s3z < _1s3b._attackers.length; _1s3z++) _1s3b._ships.push(new _1s2z.Sprite()); _1s3b._coloradoSmokes = [], _1s3b._coloradoSmokes[0] = _1s3b._createSmoke(84, 10, 248), _1s3b._coloradoSmokes[1] = _1s3b._createSmoke(82, 972, 250), _1s3b._coloradoSmokes[2] = _1s3b._createSmoke(83, 77, 680), _1s3b._coloradoSmokes[3] = _1s3b._createSmoke(82, 980, 600), _1s3b._paSmoke = _1s3b._createSmoke(82, 600, 360); for (_1s3z = 0; _1s3z < 4; _1s3z++) _1s3b._canvas.explosion.addChild(_1s3b._coloradoSmokes[_1s3z]); return _1s3b._canvas.explosion.addChild(_1s3b._paSmoke), _1s3b._white = new _1s34.AreaBox(1, 16777215), _1s3b._white.alpha = 0, _1s3b._canvas.addChild(_1s3b._white), _1s3b._preload_task = new _1s40(_1s39), _1s3b; } return _1s2d(_1s38, _1s36), Object.defineProperty(_1s38.prototype, 'view', { 'get': function() { var _1s41 = null; return this._view; }, 'enumerable': !1, 'configurable': !0 }), _1s38.prototype.getPreloadTask = function() { var _1s42 = null; return this._preload_task; }, _1s38.prototype._start = function() { var _1s43 = null, _1s44 = this; this._preload_task.start(function() { var _1s45 = null; _1s44._preAnim(); }); }, _1s38.prototype._anim1 = function() { var _1s46 = null, _1s47 = this; createjs.Tween.get(this._ships[1]).to({ 'scaleX': 1, 'scaleY': 1, 'alpha': 1 }, 400).call(function() { var _1s48 = null; createjs.Tween.get(_1s47._canvas.chara[0]).call(function() { var _1s49 = null; _1s30.SE.play('103'), _1s47._setPaSmokePos(_1s47._attackers[1].mst_id, _1s47._ships[1]), _1s47._paSmoke.createTweens(); }).to({ 'x': -50 }, 50).to({ 'x': 0 }, 50).wait(200).call(function() { var _1s4a = null; createjs.Tween.get(_1s47._ships[1]).to({ 'scaleX': 0.85, 'scaleY': 0.85 }, 300), createjs.Tween.get(_1s47._canvas.chara[0]).to({ 'x': -350, 'y': -50 }, 300).call(function() { var _1s4b = _1s4a; _1s47[_1s4b(977)](); }); }); }); }, _1s38.prototype._createSmoke = function(_1s4c, _1s4d, _1s4e) { var _1s4f = null, _1s4g = new _1s4h(); return _1s4g.initialize(_1s4c), _1s4g.x = _1s4d, _1s4g.y = _1s4e, _1s4g; }, _1s38.prototype._setPaSmokePos = function(_1s4i, _1s4j) { var _1s4k = null, _1s4l = _1s2x.default.model.ship_graph.get(_1s4i).getPaOffset(), _1s4m = _1s2x.default.model.ship_graph.get(_1s4i).getFaceRect(); this._paSmoke.position.x = _1s4j.position.x - _1s4j.width / 2 + _1s4m.x + _1s4m.width / 2 + _1s4l.x, this._paSmoke.position.y = _1s4j.position.y - _1s4j.height / 2 + _1s4m.y + _1s4m.height / 2 + _1s4l.y, this._paSmoke.position.x > _1s2w.default.width / 2 ? this._paSmoke.initialize(82) : this._paSmoke.position.y > _1s2w.default.height / 2 && this._paSmoke.initialize(83), this._paSmoke.initialize(84); }, _1s38.prototype._endTask = function() { var _1s4n = null; this._canvas.dispose(), this._view.removeChildren(), null != this._view.parent && this._view.parent.removeChild(this._view), this._attackers = null, this._view = null, this._canvas = null, this._ships = null, this._mainShip = null, this._preload_task = null, _1s36.prototype._endTask.call(this); }, _1s38; }(_1s2y.TaskBase); _1s29.CutinColoradoAttack = _1s35; var _1s40 = function(_1s4o) { var _1s4p = null; function _1s4q(_1s4r) { var _1s4s = null, _1s4t = _1s4o.call(this) || this; return _1s4t._attackers = _1s4r, _1s4t; } return _1s2d(_1s4q, _1s4o), _1s4q.prototype._start = function() { var _1s4u = null; this._loadShipImage(); }, _1s4q.prototype._loadShipImage = function() { var _1s4v = null, _1s4w = this, _1s4x = new _1s32.ShipLoader(); _1s4x.add(this._attackers[0].mst_id, !1, 'full'), _1s4x.add(this._attackers[0].mst_id, !1, 'special'); for (var _1s4y = 1; _1s4y < this._attackers.length; _1s4y++) _1s4x.add(this._attackers[_1s4y].mst_id, !1, 'full'); _1s4x.load(function() { var _1s4z = null; _1s4w._endTask(); }); }, _1s4q; }(_1s2y.TaskBase); _1s29.PreloadCutin = _1s40; var _1s4h = function(_1s50) { var _1s51 = null; function _1s52() { var _1s53 = null, _1s54 = _1s50.call(this) || this; return _1s54._img = new _1s2z.Sprite(), _1s54._img.anchor.set(0.35, 0.8), _1s54._img.scale.set(0), _1s54.addChild(_1s54._img), _1s54; } return _1s2d(_1s52, _1s50), _1s52.prototype.initialize = function(_1s55) { var _1s56 = null; this._img.texture = _1s31.BATTLE_MAIN.getTexture(_1s55); }, _1s52.prototype.createTweens = function() { var _1s57 = null; this._img.scale.set(0), this._img.alpha = 1, createjs.Tween.get(this._img).to({ 'scaleX': 2, 'scaleY': 2 }, 300).to({ 'scaleX': 2.2, 'scaleY': 2.2, 'alpha': 0 }, 400); }, _1s52; }(PIXI.Container); }, 13292: function(_1s58, _1s59, _1s5a) { 'use strict'; var _1s5b = null; var _1s5c, _1s5d = this && this.__extends || (_1s5c = function(_1s5e, _1s5f) { var _1s5g = null; return _1s5c = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1s5h, _1s5i) { var _1s5j = null; _1s5h.__proto__ = _1s5i; } || function(_1s5k, _1s5l) { var _1s5m = null; for (var _1s5n in _1s5l) Object.prototype.hasOwnProperty.call(_1s5l, _1s5n) && (_1s5k[_1s5n] = _1s5l[_1s5n]); }, _1s5c(_1s5e, _1s5f); }, function(_1s5o, _1s5p) { var _1s5q = null; if ('function' != typeof _1s5p && null !== _1s5p) throw new TypeError('Class extends value ' + String(_1s5p) + ' is not a constructor or null'); function _1s5r() { var _1s5s = null; this.constructor = _1s5o; } _1s5c(_1s5o, _1s5p), _1s5o.prototype = null === _1s5p ? Object.create(_1s5p) : (_1s5r.prototype = _1s5p.prototype, new _1s5r()); }), _1s5t = this && this.__importDefault || function(_1s5u) { var _1s5v = null; return _1s5u && _1s5u.__esModule ? _1s5u : { 'default': _1s5u }; }; defineModule(_1s59); Object.defineProperty(_1s59, '__esModule', { 'value': !0 }), _1s59.CutinDanchaku4 = _1s59.CutinDanchaku3 = _1s59.CutinDanchaku2 = _1s59.CutinDanchaku1 = _1s59.CutinDanchaku = void 0; var _1s5w = _1s5t(_1s5a(21359)), _1s5x = _1s5t(_1s5a(18622)), _1s5y = _1s5a(72778), _1s5z = _1s5a(89939), _1s60 = _1s5a(41503), _1s61 = _1s5a(81755), _1s62 = _1s5a(87475), _1s63 = _1s5a(70723), _1s64 = _1s5a(87737), _1s65 = _1s5a(69780), _1s66 = _1s5a(1474), _1s67 = _1s5a(54427), _1s68 = _1s5a(66423), _1s69 = function(_1s6a) { var _1s6b = null; function _1s6c(_1s6d, _1s6e, _1s6f, _1s6g, _1s6h) { var _1s6i = null; void 0 === _1s6h && (_1s6h = 0); var _1s6j = _1s6a.call(this) || this; _1s6j._preAnim = function() { var _1s6k = null, _1s6l = _1s6j._friend ? 1 : -1, _1s6m = _1s6j._attacker.mst_id, _1s6n = _1s6j._attacker.isDamaged(); _1s6j._canvas.chara.alpha = 0, _1s6j._canvas.chara.position.set((_1s6j._friend ? 0 : _1s5w.default.width / 2) - 99, 410); var _1s6o = _1s5x.default.model.ship_graph.get(_1s6m).getBattleOffset(_1s6n); _1s6j._ship.texture = _1s5x.default.resources.getShip(_1s6m, _1s6n, 'full'), _1s6j._ship.position.set(_1s6o.x, _1s6o.y), _1s6j._canvas.chara.addChild(_1s6j._ship), _1s6j._shipFlash = new _1s64.ShipFlash(_1s5x.default.resources.getShip(_1s6m, _1s6n, 'full')), _1s6j._shipFlash.position.set(_1s6o.x, _1s6o.y), _1s6j._canvas.chara.addChild(_1s6j._shipFlash), _1s6j._canvas.plane.position.set(_1s5w.default.width / 2 - 917 * _1s6l, 372), _1s6j._canvas.plane.initialize(_1s6j._plane.mstID, _1s6j._friend), _1s6j._canvas.telop_bg.scale.set(2), _1s6j._canvas.telop.scale.set(2.6), _1s6j._anim1(); }, _1s6j._anim2 = function() { var _1s6p = null, _1s6q = new _1s68.Wave(); _1s6q.initialize(), createjs.Tween.get(_1s6j._canvas.chara).wait(300).call(function() { var _1s6r = null; _1s6j._shipFlash.play(); }).wait(300).call(_1s6j._anim3), createjs.Tween.get(_1s6j._canvas.telop_bg).to({ 'scaleX': 1.3, 'scaleY': 1.3, 'alpha': 1 }, 200).call(function() { var _1s6s = null; _1s63.SE.play('109'); }), createjs.Tween.get(_1s6j._canvas.telop).wait(33).call(function() { var _1s6t = null; _1s63.SE.play('105'); }).to({ 'scaleX': 1.14, 'scaleY': 1.14, 'alpha': 1 }, 300), createjs.Tween.get(_1s6q).wait(133).call(function() { var _1s6u = null; _1s6j._canvas.telop_bg.addChild(_1s6q), _1s6q.play(); }); }, _1s6j._anim3 = function() { var _1s6v = null, _1s6w = _1s5w.default.width; _1s6j._setSlotitemTextures(); var _1s6x = _1s6j._friend ? 1 : -1; _1s6j._canvas.slot1.position.set(_1s6w / 2 + 825 * _1s6x, 390), _1s6j._canvas.slot2.position.set(_1s6w / 2 - 1425 * _1s6x, 600), _1s6j._canvas.slot1_text.anchor.set(_1s6j._friend ? 1 : 0, 0.5), _1s6j._canvas.slot1_text.position.set(_1s6j._friend ? 0 : _1s6w, 390), _1s6j._canvas.slot2_text.anchor.set(_1s6j._friend ? 0 : 1, 0.5), _1s6j._canvas.slot2_text.position.set(_1s6j._friend ? _1s6w : 0, 600), createjs.Tween.get(_1s6j._canvas.plane).to({ 'x': _1s6w / 2 + 863 * _1s6x }, 400).call(function() { var _1s6y = null; _1s6j._canvas.plane.deactivate(); }).wait(100).call(_1s6j._anim4), createjs.Tween.get(_1s6j._canvas.slot_bg1).wait(200).call(function() { var _1s6z = null; _1s63.SE.play('105'); }).to({ 'x': _1s6w / 2 }, 266).call(function() { var _1s70 = null; _1s63.SE.play('109'); }), createjs.Tween.get(_1s6j._canvas.slot1).wait(200).to({ 'x': _1s6w / 2 - 300 * _1s6x, 'alpha': 1 }, 233), createjs.Tween.get(_1s6j._canvas.slot_bg2).wait(200).to({ 'x': _1s6w / 2 }, 266), createjs.Tween.get(_1s6j._canvas.slot2).wait(200).to({ 'x': _1s6w / 2 + 300 * _1s6x, 'alpha': 1 }, 233), createjs.Tween.get(_1s6j._canvas.slot1_text).wait(200).to({ 'x': _1s6w / 2 + 570 * _1s6x, 'alpha': 1 }, 200, createjs.Ease.sineOut), createjs.Tween.get(_1s6j._canvas.slot2_text).wait(200).to({ 'x': _1s6w / 2 - 570 * _1s6x, 'alpha': 1 }, 200, createjs.Ease.sineOut); }, _1s6j._anim4 = function() { var _1s71 = null; createjs.Tween.get(_1s6j._canvas.chara).wait(900).call(function() { var _1s72 = null; _1s6j._shipFlash.play(); }).wait(200).call(function() { var _1s73 = null; _1s6j._view.emit('attack'), _1s6j._anim5(); }); }, _1s6j._anim6 = function(_1s74, _1s75) { var _1s76 = null; _1s6j._canvas.dispose(), createjs.Tween.get(_1s74).to({ 'alpha': 0 }, 300), createjs.Tween.get(_1s75).to({ 'alpha': 0 }, 300).call(function() { var _1s77 = null; _1s74.deactivate(), _1s6j._view.removeChild(_1s74), _1s6j._view.removeChild(_1s75), _1s6j._endTask(); }); }, _1s6j._attacker = _1s6d, _1s6j._plane = _1s6e, _1s6j._slot1 = _1s6f, _1s6j._slot2 = _1s6g, _1s6j._telopType = _1s6h, _1s6j._friend = _1s6j._attacker.friend, _1s6j._canvas = new _1s66.CutinDanchakuCanvas(), _1s6j._view = new PIXI.Container(), _1s6j.view.addChild(_1s6j._canvas), _1s6j._ship = new PIXI.Sprite(); var _1s78 = null == _1s6j._plane ? 0 : _1s6j._plane.mstID, _1s79 = null == _1s6j._slot1 ? 0 : _1s6j._slot1.mstID, _1s7a = null == _1s6j._slot2 ? 0 : _1s6j._slot2.mstID; return _1s6j._preload_task = new _1s65.PreloadCutinDanchaku(_1s6d, _1s78, _1s79, _1s7a, _1s6j._telopType), _1s6j; } return _1s5d(_1s6c, _1s6a), Object.defineProperty(_1s6c.prototype, 'view', { 'get': function() { var _1s7b = null; return this._view; }, 'enumerable': !1, 'configurable': !0 }), _1s6c.prototype.getPreloadTask = function() { var _1s7c = null; return this._preload_task; }, _1s6c.prototype._start = function() { var _1s7d = null, _1s7e = this; this._canvas.initialize(this._friend, this._telopType); var _1s7f = new _1s62.FadeBox(1); _1s7f.hide(0), this._canvas.addChild(_1s7f), _1s7f.show(50, function() { var _1s7g = null; _1s7f.hide(50, function() { var _1s7h = null; _1s7e._canvas.removeChild(_1s7f), _1s7e._canvas.bg.show(250, _1s7e._preAnim); }); }); }, _1s6c.prototype._anim1 = function() { var _1s7i = null, _1s7j = this, _1s7k = this._friend ? 1 : -1; this._canvas.bg.show(250), createjs.Tween.get(this._canvas.chara).wait(166).to({ 'y': -87, 'alpha': 1 }, 500).call(this._anim2), createjs.Tween.get(this._canvas.plane).wait(300).call(function() { var _1s7l = null; _1s7j._canvas.plane.activate(); }).to({ 'x': _1s5w.default.width / 2 - 38 * _1s7k }, 433); }, _1s6c.prototype._setSlotitemTextures = function() { var _1s7m = null; this._canvas.slot1.texture = _1s5x.default.resources.getSlotitem(this._slot1.mstID, 'item_up'), this._canvas.slot2.texture = _1s5x.default.resources.getSlotitem(this._slot2.mstID, 'item_up'), this._canvas.slot1_text.texture = _1s5x.default.resources.getSlotitem(this._slot1.mstID, 'btxt_flat'), this._canvas.slot2_text.texture = _1s5x.default.resources.getSlotitem(this._slot2.mstID, 'btxt_flat'); var _1s7n = this._checkSlotOffset(this._slot1.mstID); _1s7n && (this._canvas.slot1.rotation = _1s7n.rotation, this._canvas.slot1.scale.x = _1s7n.scale_x, this._canvas.slot1.scale.y = _1s7n.scale_y); var _1s7o = this._checkSlotOffset(this._slot2.mstID); _1s7o && (this._canvas.slot2.rotation = _1s7o.rotation, this._canvas.slot2.scale.x = _1s7o.scale_x, this._canvas.slot2.scale.y = _1s7o.scale_y); }, _1s6c.prototype._anim5 = function() { var _1s7p = null; createjs.Tween.get(this._canvas.chara).wait(100).to({ 'y': -900, 'alpha': 0 }, 500), createjs.Tween.get(this._canvas.slot1).wait(300).to({ 'scaleX': 1.75, 'scaleY': 1.75 }, 500), createjs.Tween.get(this._canvas.slot2).wait(300).to({ 'scaleX': 1.75, 'scaleY': 1.75 }, 500); var _1s7q = new _1s67.IntensiveLines(); _1s7q.initialize(), _1s7q.alpha = 0, this._view.addChild(_1s7q), createjs.Tween.get(_1s7q).wait(300).call(function() { var _1s7r = null; _1s7q.activate(); }).to({ 'alpha': 1 }, 200); var _1s7s = new _1s62.FadeBox(1, 16777215); _1s7s.alpha = 0, this._view.addChild(_1s7s), createjs.Tween.get(_1s7s).wait(300).to({ 'alpha': 1 }, 500).call(this._anim6, [_1s7q, _1s7s]); }, _1s6c.prototype._endTask = function() { var _1s7t = null; this._attacker = null, this._plane = null, this._slot1 = null, this._slot2 = null, null != this._view.parent && this._view.parent.removeChild(this._view), this._view = null, this._canvas = null, this._ship = null, this._preload_task = null, _1s6a.prototype._endTask.call(this); }, _1s6c.prototype._checkSlotOffset = function(_1s7u) { var _1s7v = null, _1s7w = _1s5y.SlotUtil.isEnemyItem(_1s7u) ? -1 : 1; if (1 == _1s60.PlaneConst.OFFSET.hasOwnProperty(_1s7u.toString())) { var _1s7x = _1s60.PlaneConst.OFFSET[this._slot1.mstID], _1s7y = _1s5z.ObjUtil.getNumber(_1s7x, 'x'), _1s7z = _1s5z.ObjUtil.getNumber(_1s7x, 'y'), _1s80 = _1s5z.ObjUtil.getNumber(_1s7x, 'r'), _1s81 = _1s5z.ObjUtil.getNumber(_1s7x, 'sx', 1); return { 'x': _1s7y, 'y': _1s7z, 'rotation': -_1s80 / 180 * Math.PI * (this._friend ? 1 : -1), 'scale_x': _1s81 * _1s7w * (this._friend ? 1 : -1), 'scale_y': Math.abs(_1s81) }; } return null; }, _1s6c; }(_1s61.TaskBase); _1s59.CutinDanchaku = _1s69; var _1s82 = function(_1s83) { var _1s84 = null; function _1s85() { var _1s86 = null; return null !== _1s83 && _1s83.apply(this, arguments) || this; } return _1s5d(_1s85, _1s83), _1s85.prototype._setSlotitemTextures = function() { var _1s87 = null; this._canvas.slot1.texture = _1s5x.default.resources.getSlotitem(this._slot2.mstID, 'item_up'), this._canvas.slot2.texture = _1s5x.default.resources.getSlotitem(this._slot1.mstID, 'item_up'), this._canvas.slot1_text.texture = _1s5x.default.resources.getSlotitem(this._slot2.mstID, 'btxt_flat'), 0 == this._telopType && (this._canvas.slot2_text.texture = _1s5x.default.resources.getSlotitem(this._slot1.mstID, 'btxt_flat')); var _1s88 = this._checkSlotOffset(this._slot1.mstID); _1s88 && (this._canvas.slot2.rotation = _1s88.rotation, this._canvas.slot2.scale.x = _1s88.scale_x, this._canvas.slot2.scale.y = _1s88.scale_y); var _1s89 = this._checkSlotOffset(this._slot2.mstID); _1s89 && (this._canvas.slot1.rotation = _1s89.rotation, this._canvas.slot1.scale.x = _1s89.scale_x, this._canvas.slot1.scale.y = _1s89.scale_y); }, _1s85; }(_1s69); _1s59.CutinDanchaku1 = _1s82; var _1s8a = function(_1s8b) { function _1s8c() { var _1s8d = null; return null !== _1s8b && _1s8b.apply(this, arguments) || this; } return _1s5d(_1s8c, _1s8b), _1s8c; }(_1s69); _1s59.CutinDanchaku2 = _1s8a; var _1s8e = function(_1s8f) { function _1s8g() { var _1s8h = null; return null !== _1s8f && _1s8f.apply(this, arguments) || this; } return _1s5d(_1s8g, _1s8f), _1s8g; }(_1s82); _1s59.CutinDanchaku3 = _1s8e; var _1s8i = function(_1s8j) { function _1s8k() { var _1s8l = null; return null !== _1s8j && _1s8j.apply(this, arguments) || this; } return _1s5d(_1s8k, _1s8j), _1s8k; }(_1s69); _1s59.CutinDanchaku4 = _1s8i; }, 95484: function(_1s8m, _1s8n, _1s8o) { 'use strict'; var _1s8p = null; var _1s8q, _1s8r = this && this.__extends || (_1s8q = function(_1s8s, _1s8t) { var _1s8u = null; return _1s8q = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1s8v, _1s8w) { var _1s8x = null; _1s8v.__proto__ = _1s8w; } || function(_1s8y, _1s8z) { var _1s90 = null; for (var _1s91 in _1s8z) Object.prototype.hasOwnProperty.call(_1s8z, _1s91) && (_1s8y[_1s91] = _1s8z[_1s91]); }, _1s8q(_1s8s, _1s8t); }, function(_1s92, _1s93) { var _1s94 = null; if ('function' != typeof _1s93 && null !== _1s93) throw new TypeError('Class extends value ' + String(_1s93) + ' is not a constructor or null'); function _1s95() { var _1s96 = null; this.constructor = _1s92; } _1s8q(_1s92, _1s93), _1s92.prototype = null === _1s93 ? Object.create(_1s93) : (_1s95.prototype = _1s93.prototype, new _1s95()); }); defineModule(_1s8n); Object.defineProperty(_1s8n, '__esModule', { 'value': !0 }), _1s8n.CutinDouble = void 0; var _1s97 = _1s8o(81755), _1s98 = _1s8o(20137), _1s99 = _1s8o(37760), _1s9a = _1s8o(75085), _1s9b = _1s8o(77357), _1s9c = function(_1s9d) { var _1s9e = null; function _1s9f(_1s9g, _1s9h, _1s9i, _1s9j) { var _1s9k = null, _1s9l = _1s9d.call(this) || this; _1s9l._attacker = _1s9g, _1s9l._slot1 = _1s9h, _1s9l._slot2 = _1s9i, _1s9l._friend = _1s9l._attacker.friend, 1 == _1s9l._friend ? _1s9l._base_pos = new PIXI.Point(-162, -131) : _1s9l._base_pos = new PIXI.Point(435, -131), _1s9l._view = new _1s9a.CutinCanvas(); var _1s9m = Math.floor(3 * Math.random()); _1s9l._telop1 = new _1s9b.CutinTelop(_1s9m, _1s9j); var _1s9n = Math.floor(3 * Math.random()); return _1s9l._telop2 = new _1s9b.CutinTelop(_1s9n, _1s9j), _1s9l._preload_task = new _1s9o(_1s9g, _1s9h, _1s9i), _1s9l; } return _1s8r(_1s9f, _1s9d), Object.defineProperty(_1s9f.prototype, 'view', { 'get': function() { var _1s9p = null; return this._view; }, 'enumerable': !1, 'configurable': !0 }), _1s9f.prototype.getPreloadTask = function() { var _1s9q = null; return this._preload_task; }, _1s9f.prototype._endTask = function() { var _1s9r = null; this._attacker = null, this._slot1 = null, this._slot2 = null, this._base_pos = null, null != this._view.parent && this._view.parent.removeChild(this._view), this._view.dispose(), this._view = null, this._telop1 = null, this._telop2 = null, this._preload_task = null, _1s9d.prototype._endTask.call(this); }, _1s9f; }(_1s97.TaskBase); _1s8n.CutinDouble = _1s9c; var _1s9o = function(_1s9s) { var _1s9t = null; function _1s9u(_1s9v, _1s9w, _1s9x) { var _1s9y = null, _1s9z = _1s9s.call(this) || this; return _1s9z._attacker = _1s9v, _1s9z._slot1 = _1s9w, _1s9z._slot2 = _1s9x, _1s9z; } return _1s8r(_1s9u, _1s9s), _1s9u.prototype._start = function() { var _1sa0 = null; this._loadShipImage(); }, _1s9u.prototype._loadShipImage = function() { var _1sa1 = null, _1sa2 = this, _1sa3 = new _1s98.ShipLoader(); _1sa3.add(this._attacker.mst_id, this._attacker.isDamaged(), 'full'), _1sa3.load(function() { var _1sa4 = null; _1sa2._loadSlotTextImage(); }); }, _1s9u.prototype._loadSlotTextImage = function() { var _1sa5 = null, _1sa6 = this; if (null == this._slot1 && null == this._slot2) this._endTask(); else { var _1sa7 = new _1s99.SlotLoader(); null != this._slot1 && _1sa7.add(this._slot1.mstID, 'btxt_flat'), null != this._slot2 && _1sa7.add(this._slot2.mstID, 'btxt_flat'), _1sa7.load(function() { var _1sa8 = null; _1sa6._endTask(); }); } }, _1s9u; }(_1s97.TaskBase); }, 55226: function(_1sa9, _1saa, _1sab) { 'use strict'; var _1sac = null; var _1sad, _1sae = this && this.__extends || (_1sad = function(_1saf, _1sag) { var _1sah = null; return _1sad = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1sai, _1saj) { var _1sak = null; _1sai.__proto__ = _1saj; } || function(_1sal, _1sam) { var _1san = null; for (var _1sao in _1sam) Object.prototype.hasOwnProperty.call(_1sam, _1sao) && (_1sal[_1sao] = _1sam[_1sao]); }, _1sad(_1saf, _1sag); }, function(_1sap, _1saq) { var _1sar = null; if ('function' != typeof _1saq && null !== _1saq) throw new TypeError('Class extends value ' + String(_1saq) + ' is not a constructor or null'); function _1sas() { var _1sat = null; this.constructor = _1sap; } _1sad(_1sap, _1saq), _1sap.prototype = null === _1saq ? Object.create(_1saq) : (_1sas.prototype = _1saq.prototype, new _1sas()); }), _1sau = this && this.__importDefault || function(_1sav) { var _1saw = null; return _1sav && _1sav.__esModule ? _1sav : { 'default': _1sav }; }; defineModule(_1saa); Object.defineProperty(_1saa, '__esModule', { 'value': !0 }), _1saa.CutinDouble1 = void 0; var _1sax = _1sau(_1sab(21359)), _1say = _1sau(_1sab(18622)), _1saz = _1sab(95484), _1sb0 = _1sab(87737), _1sb1 = function(_1sb2) { var _1sb3 = null; function _1sb4(_1sb5, _1sb6, _1sb7, _1sb8) { var _1sb9 = null; return _1sb2.call(this, _1sb5, _1sb6, _1sb7, _1sb8) || this; } return _1sae(_1sb4, _1sb2), _1sb4.prototype.resume = function() { var _1sba = null, _1sbb = this; null != this._slot2 ? (this._telop2.initialize(this._slot2.mstID, this._attacker.friend), this._view.addChildAt(this._telop2, 0), this._telop2.play(), createjs.Tween.get(this).wait(150).call(function() { var _1sbc = null; _1sbb._resume(); })) : this._resume(); }, _1sb4.prototype._start = function() { var _1sbd = null, _1sbe = this, _1sbf = this._attacker.mst_id, _1sbg = this._attacker.isDamaged(); this._ship_sprite = new PIXI.Sprite(_1say.default.resources.getShip(_1sbf, _1sbg, 'full')), this._shipFlash = new _1sb0.ShipFlash(_1say.default.resources.getShip(_1sbf, _1sbg, 'full')); var _1sbh = _1say.default.model.ship_graph.get(_1sbf).getBattleOffset(_1sbg); this._ship_sprite.x = _1sbh.x, this._ship_sprite.y = _1sbh.y; var _1sbi = this._base_pos, _1sbj = this._friend ? 1 : -1; if (this._view.chara.position.set(_1sbi.x - 180 * _1sbj, _1sbi.y + 120), this._view.chara.alpha = 0, this._view.chara.addChild(this._ship_sprite), this._view.chara.addChild(this._shipFlash), createjs.Tween.get(this._view.chara).wait(235).to({ 'x': _1sbi.x - 30 * _1sbj, 'y': _1sbi.y + 15, 'alpha': 1 }, 300).to({ 'x': _1sbi.x, 'y': _1sbi.y }, 250).call(function() { var _1sbk = null; _1sbe._view.emit('attack'), _1sbe._shipFlash.position = _1sbe._ship_sprite.position, _1sbe._shipFlash.play(); }).wait(135), null != this._slot1 || null != this._slot2) { var _1sbl = this._view.box; _1sbl.initilize(this._attacker); var _1sbm = 0; 1 == this._attacker.friend ? _1sbl.x = -60 : (_1sbm = _1sax.default.width - _1sbl.width, _1sbl.x = _1sbm + 60), _1sbl.y = _1sax.default.height - _1sbl.height, _1sbl.alpha = 0, createjs.Tween.get(_1sbl).wait(365).to({ 'x': _1sbm, 'alpha': 1 }, 165).wait(900).to({ 'alpha': 0 }, 200), null != this._slot1 && (this._telop1.initialize(this._slot1.mstID, this._attacker.friend), this._view.addChildAt(this._telop1, 0), this._telop1.play()); } }, _1sb4.prototype._resume = function() { var _1sbn = null, _1sbo = this, _1sbp = this._base_pos, _1sbq = this._friend ? 1 : -1; createjs.Tween.get(this._view.chara).call(function() { var _1sbr = null; _1sbo._view.emit('attack'), _1sbo._shipFlash.play(); }).wait(135).wait(200).to({ 'x': _1sbp.x + 38 * _1sbq, 'y': _1sbp.y - 23 }, 135).to({ 'x': _1sbp.x + 135 * _1sbq, 'y': _1sbp.y - 75, 'alpha': 0 }, 335).call(function() { var _1sbs = null; _1sbo._ship_sprite.parent.removeChild(_1sbo._ship_sprite), _1sbo._endTask(); }); }, _1sb4; }(_1saz.CutinDouble); _1saa.CutinDouble1 = _1sb1; }, 46595: function(_1sbt, _1sbu, _1sbv) { 'use strict'; var _1sbw = null; var _1sbx, _1sby = this && this.__extends || (_1sbx = function(_1sbz, _1sc0) { var _1sc1 = null; return _1sbx = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1sc2, _1sc3) { var _1sc4 = null; _1sc2.__proto__ = _1sc3; } || function(_1sc5, _1sc6) { var _1sc7 = null; for (var _1sc8 in _1sc6) Object.prototype.hasOwnProperty.call(_1sc6, _1sc8) && (_1sc5[_1sc8] = _1sc6[_1sc8]); }, _1sbx(_1sbz, _1sc0); }, function(_1sc9, _1sca) { var _1scb = null; if ('function' != typeof _1sca && null !== _1sca) throw new TypeError('Class extends value ' + String(_1sca) + ' is not a constructor or null'); function _1scc() { var _1scd = null; this.constructor = _1sc9; } _1sbx(_1sc9, _1sca), _1sc9.prototype = null === _1sca ? Object.create(_1sca) : (_1scc.prototype = _1sca.prototype, new _1scc()); }), _1sce = this && this.__importDefault || function(_1scf) { var _1scg = null; return _1scf && _1scf.__esModule ? _1scf : { 'default': _1scf }; }; defineModule(_1sbu); Object.defineProperty(_1sbu, '__esModule', { 'value': !0 }), _1sbu.CutinDouble2 = void 0; var _1sch = _1sce(_1sbv(21359)), _1sci = _1sce(_1sbv(18622)), _1scj = _1sbv(54011), _1sck = _1sbv(95484), _1scl = _1sbv(87737), _1scm = function(_1scn) { var _1sco = null; function _1scp(_1scq, _1scr, _1scs, _1sct) { var _1scu = null; return _1scn.call(this, _1scq, _1scr, _1scs, _1sct) || this; } return _1sby(_1scp, _1scn), _1scp.prototype.resume = function() { var _1scv = null, _1scw = this; null != this._slot2 ? (this._telop2.initialize(this._slot2.mstID, this._attacker.friend), this._view.addChildAt(this._telop2, 0), this._telop2.play(), createjs.Tween.get(this).wait(150).call(function() { var _1scx = null; _1scw._resume(); })) : this._resume(); }, _1scp.prototype._start = function() { var _1scy = null, _1scz = this, _1sd0 = this._attacker.mst_id, _1sd1 = this._attacker.isDamaged(); this._ship_sprite = new _1scj.Sprite(_1sci.default.resources.getShip(_1sd0, _1sd1, 'full')), this._shipFlash = new _1scl.ShipFlash(_1sci.default.resources.getShip(_1sd0, _1sd1, 'full')); var _1sd2 = _1sci.default.model.ship_graph.get(_1sd0).getBattleOffset(_1sd1); this._ship_sprite.x = _1sd2.x, this._ship_sprite.y = _1sd2.y; var _1sd3 = this._base_pos; this._view.chara.position.set(_1sd3.x, _1sd3.y); var _1sd4 = 344 - _1sd2.x, _1sd5 = 597 - _1sd2.y; if (this._ship_sprite.x += _1sd4, this._ship_sprite.y += _1sd5, this._ship_sprite.anchor.set(_1sd4 / this._ship_sprite.width, _1sd5 / this._ship_sprite.height), this._ship_sprite.scale.set(1.25), this._ship_sprite.alpha = 0, this._shipFlash.position = this._ship_sprite.position, this._shipFlash.anchor = this._ship_sprite.anchor, this._shipFlash.scale = this._ship_sprite.scale, this._view.chara.addChild(this._ship_sprite), this._view.chara.addChild(this._shipFlash), createjs.Tween.get(this._ship_sprite).wait(235).to({ 'scaleX': 1, 'scaleY': 1, 'alpha': 1 }, 533, createjs.Ease.sineOut).call(function() { var _1sd6 = null; _1scz._view.emit('attack'), _1scz._shipFlash.scale = _1scz._ship_sprite.scale, _1scz._shipFlash.play(); }).wait(135), null != this._slot1 || null != this._slot2) { var _1sd7 = this._view.box; _1sd7.initilize(this._attacker); var _1sd8 = 0; 1 == this._attacker.friend ? _1sd7.x = -60 : (_1sd8 = _1sch.default.width - _1sd7.width, _1sd7.x = _1sd8 + 60), _1sd7.y = _1sch.default.height - _1sd7.height, _1sd7.alpha = 0, createjs.Tween.get(_1sd7).wait(365).to({ 'x': _1sd8, 'alpha': 1 }, 165).wait(900).to({ 'alpha': 0 }, 200), null != this._slot1 && (this._telop1.initialize(this._slot1.mstID, this._attacker.friend), this._view.addChildAt(this._telop1, 0), this._telop1.play()); } }, _1scp.prototype._resume = function() { var _1sd9 = null, _1sda = this; createjs.Tween.get(this._ship_sprite).call(function() { var _1sdb = null; _1sda._view.emit('attack'), _1sda._shipFlash.play(); }).wait(135).wait(200).to({ 'scaleX': 1.25, 'scaleY': 1.25, 'alpha': 0 }, 466).call(function() { var _1sdc = null; _1sda._ship_sprite.parent.removeChild(_1sda._ship_sprite), _1sda._endTask(); }); }, _1scp; }(_1sck.CutinDouble); _1sbu.CutinDouble2 = _1scm; }, 53939: function(_1sdd, _1sde, _1sdf) { 'use strict'; var _1sdg = null; var _1sdh, _1sdi = this && this.__extends || (_1sdh = function(_1sdj, _1sdk) { var _1sdl = null; return _1sdh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1sdm, _1sdn) { var _1sdo = null; _1sdm.__proto__ = _1sdn; } || function(_1sdp, _1sdq) { var _1sdr = null; for (var _1sds in _1sdq) Object.prototype.hasOwnProperty.call(_1sdq, _1sds) && (_1sdp[_1sds] = _1sdq[_1sds]); }, _1sdh(_1sdj, _1sdk); }, function(_1sdt, _1sdu) { var _1sdv = null; if ('function' != typeof _1sdu && null !== _1sdu) throw new TypeError('Class extends value ' + String(_1sdu) + ' is not a constructor or null'); function _1sdw() { var _1sdx = null; this.constructor = _1sdt; } _1sdh(_1sdt, _1sdu), _1sdt.prototype = null === _1sdu ? Object.create(_1sdu) : (_1sdw.prototype = _1sdu.prototype, new _1sdw()); }); defineModule(_1sde); Object.defineProperty(_1sde, '__esModule', { 'value': !0 }), _1sde.CutinDouble3 = void 0; var _1sdy = function(_1sdz) { var _1se0 = null; function _1se1() { var _1se2 = null; return null !== _1sdz && _1sdz.apply(this, arguments) || this; } return _1sdi(_1se1, _1sdz), _1se1.prototype._resume = function() { var _1se3 = null, _1se4 = this, _1se5 = this._base_pos, _1se6 = this._friend ? 1 : -1; createjs.Tween.get(this._view.chara).call(function() { var _1se7 = null; _1se4._view.emit('attack'), _1se4._shipFlash.play(); }).wait(135).wait(200).to({ 'x': _1se5.x + 78 * _1se6, 'alpha': 0 }, 466).call(function() { var _1se8 = null; _1se4._ship_sprite.parent.removeChild(_1se4._ship_sprite), _1se4._endTask(); }); }, _1se1; }(_1sdf(55226).CutinDouble1); _1sde.CutinDouble3 = _1sdy; }, 32611: function(_1se9, _1sea, _1seb) { 'use strict'; var _1sec = null; var _1sed, _1see = this && this.__extends || (_1sed = function(_1sef, _1seg) { var _1seh = null; return _1sed = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1sei, _1sej) { var _1sek = null; _1sei.__proto__ = _1sej; } || function(_1sel, _1sem) { var _1sen = null; for (var _1seo in _1sem) Object.prototype.hasOwnProperty.call(_1sem, _1seo) && (_1sel[_1seo] = _1sem[_1seo]); }, _1sed(_1sef, _1seg); }, function(_1sep, _1seq) { var _1ser = null; if ('function' != typeof _1seq && null !== _1seq) throw new TypeError('Class extends value ' + String(_1seq) + ' is not a constructor or null'); function _1ses() { var _1set = null; this.constructor = _1sep; } _1sed(_1sep, _1seq), _1sep.prototype = null === _1seq ? Object.create(_1seq) : (_1ses.prototype = _1seq.prototype, new _1ses()); }), _1seu = this && this.__importDefault || function(_1sev) { var _1sew = null; return _1sev && _1sev.__esModule ? _1sev : { 'default': _1sev }; }; defineModule(_1sea); Object.defineProperty(_1sea, '__esModule', { 'value': !0 }), _1sea.CutinDouble4 = void 0; var _1sex = _1seu(_1seb(21359)), _1sey = _1seu(_1seb(18622)), _1sez = _1seb(54011), _1sf0 = _1seb(95484), _1sf1 = _1seb(87737), _1sf2 = function(_1sf3) { var _1sf4 = null; function _1sf5(_1sf6, _1sf7, _1sf8, _1sf9) { var _1sfa = null; return _1sf3.call(this, _1sf6, _1sf7, _1sf8, _1sf9) || this; } return _1see(_1sf5, _1sf3), _1sf5.prototype.resume = function() { var _1sfb = null, _1sfc = this; null != this._slot2 ? (this._telop2.initialize(this._slot2.mstID, this._attacker.friend), this._view.addChildAt(this._telop2, 0), this._telop2.play(), createjs.Tween.get(this).wait(150).call(function() { var _1sfd = null; _1sfc._resume(); })) : this._resume(); }, _1sf5.prototype._start = function() { var _1sfe = null, _1sff = this, _1sfg = this._attacker.mst_id, _1sfh = this._attacker.isDamaged(); this._ship_sprite = new _1sez.Sprite(_1sey.default.resources.getShip(_1sfg, _1sfh, 'full')), this._shipFlash = new _1sf1.ShipFlash(_1sey.default.resources.getShip(_1sfg, _1sfh, 'full')); var _1sfi = _1sey.default.model.ship_graph.get(_1sfg).getBattleOffset(_1sfh); this._ship_sprite.x = _1sfi.x, this._ship_sprite.y = _1sfi.y; var _1sfj = this._base_pos, _1sfk = this._friend ? 1 : -1; this._view.chara.position.set(_1sfj.x - 180 * _1sfk, _1sfj.y + 120), this._view.chara.alpha = 0; var _1sfl = 344 - _1sfi.x, _1sfm = 597 - _1sfi.y; if (this._ship_sprite.x += _1sfl, this._ship_sprite.y += _1sfm, this._ship_sprite.anchor.set(_1sfl / this._ship_sprite.width, _1sfm / this._ship_sprite.height), this._shipFlash.position = this._ship_sprite.position, this._shipFlash.anchor = this._ship_sprite.anchor, this._shipFlash.scale = this._ship_sprite.scale, this._view.chara.addChild(this._ship_sprite), this._view.chara.addChild(this._shipFlash), createjs.Tween.get(this._view.chara).wait(235).to({ 'x': _1sfj.x - 30 * _1sfk, 'y': _1sfj.y + 15, 'alpha': 1 }, 300).to({ 'x': _1sfj.x, 'y': _1sfj.y }, 250).call(function() { var _1sfn = null; _1sff._view.emit('attack'), _1sff._shipFlash.play(); }).wait(135), null != this._slot1 || null != this._slot2) { var _1sfo = this._view.box; _1sfo.initilize(this._attacker); var _1sfp = 0; 1 == this._attacker.friend ? _1sfo.x = -60 : (_1sfp = _1sex.default.width - _1sfo.width, _1sfo.x = _1sfp + 60), _1sfo.y = _1sex.default.height - _1sfo.height, _1sfo.alpha = 0, createjs.Tween.get(_1sfo).wait(365).to({ 'x': _1sfp, 'alpha': 1 }, 165).wait(900).to({ 'alpha': 0 }, 200), null != this._slot1 && (this._telop1.initialize(this._slot1.mstID, this._attacker.friend), this._view.addChildAt(this._telop1, 0), this._telop1.play()); } }, _1sf5.prototype._resume = function() { var _1sfq = null, _1sfr = this; createjs.Tween.get(this._ship_sprite).call(function() { var _1sfs = null; _1sfr._view.emit('attack'), _1sfr._shipFlash.play(); }).wait(135).wait(200).to({ 'scaleY': 1.66, 'alpha': 0 }, 466).call(function() { var _1sft = null; _1sfr._ship_sprite.parent.removeChild(_1sfr._ship_sprite), _1sfr._endTask(); }); }, _1sf5; }(_1sf0.CutinDouble); _1sea.CutinDouble4 = _1sf2; }, 54018: function(_1sfu, _1sfv, _1sfw) { 'use strict'; var _1sfx = null; var _1sfy, _1sfz = this && this.__extends || (_1sfy = function(_1sg0, _1sg1) { var _1sg2 = null; return _1sfy = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1sg3, _1sg4) { var _1sg5 = null; _1sg3.__proto__ = _1sg4; } || function(_1sg6, _1sg7) { var _1sg8 = null; for (var _1sg9 in _1sg7) Object.prototype.hasOwnProperty.call(_1sg7, _1sg9) && (_1sg6[_1sg9] = _1sg7[_1sg9]); }, _1sfy(_1sg0, _1sg1); }, function(_1sga, _1sgb) { var _1sgc = null; if ('function' != typeof _1sgb && null !== _1sgb) throw new TypeError('Class extends value ' + String(_1sgb) + ' is not a constructor or null'); function _1sgd() { var _1sge = null; this.constructor = _1sga; } _1sfy(_1sga, _1sgb), _1sga.prototype = null === _1sgb ? Object.create(_1sgb) : (_1sgd.prototype = _1sgb.prototype, new _1sgd()); }), _1sgf = this && this.__importDefault || function(_1sgg) { var _1sgh = null; return _1sgg && _1sgg.__esModule ? _1sgg : { 'default': _1sgg }; }; defineModule(_1sfv); Object.defineProperty(_1sfv, '__esModule', { 'value': !0 }), _1sfv.CutinFunnelOnce = _1sfv.CutinFunnel = void 0; var _1sgi = _1sgf(_1sfw(21359)), _1sgj = _1sgf(_1sfw(18622)), _1sgk = _1sfw(41503), _1sgl = _1sfw(81755), _1sgm = _1sfw(55535), _1sgn = _1sfw(70723), _1sgo = _1sfw(46682), _1sgp = _1sfw(67377), _1sgq = _1sfw(67377), _1sgr = _1sfw(17325), _1sgs = function(_1sgt) { var _1sgu = null; function _1sgv() { var _1sgw = null, _1sgx = _1sgt.call(this) || this; return _1sgx._current = -1, _1sgx._next = function(_1sgy) { var _1sgz = null, _1sh0 = _1sgy.view; _1sgx.view.content.addChild(_1sh0), _1sgy.start(function() { var _1sh1 = null; 1 == _1sgy.friend ? _1sgx.view.overlay.showFromRight(function() { var _1sh2 = null; _1sgx.view.content.removeChild(_1sh0), _1sgx._cutin(); }) : _1sgx.view.overlay.showFromLeft(function() { var _1sh3 = null; _1sgx.view.content.removeChild(_1sh0), _1sgx._cutin(); }); }); }, _1sgx._tasks = new Array(), _1sgx._view = new _1sgp.CutinCanvasFunnel(), _1sgx; } return _1sfz(_1sgv, _1sgt), Object.defineProperty(_1sgv.prototype, 'view', { 'get': function() { var _1sh4 = null; return this._view; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1sgv.prototype, 'preload_task', { 'get': function() { var _1sh5 = null; for (var _1sh6 = new _1sgm.SerialTask(), _1sh7 = 0, _1sh8 = this._tasks; _1sh7 < _1sh8.length; _1sh7++) { var _1sh9 = _1sh8[_1sh7]; _1sh6.add(_1sh9.preload_task); } return _1sh6; }, 'enumerable': !1, 'configurable': !0 }), _1sgv.prototype.addCutin = function(_1sha, _1shb, _1shc, _1shd, _1she, _1shf) { var _1shg = null; void 0 === _1she && (_1she = -1), void 0 === _1shf && (_1shf = -1); var _1shh = new _1shi(_1sha, _1shb, _1shc, _1shd, _1she, _1shf); this._tasks.push(_1shh); }, _1sgv.prototype.addCutinFromModel = function(_1shj, _1shk) { var _1shl = null; if (null != _1shj) { var _1shm, _1shn = _1shj.friend, _1sho = _1shj.mst_id, _1shp = _1shj.isDamaged(); _1shm = 0 == _1shk ? _1sgk.PlaneConst.getPlaneType(!0) : _1sgk.PlaneConst.getJetPlaneType(); for (var _1shq = _1shj.slots, _1shr = new Array(), _1shs = 0; _1shs < _1shq.length; _1shs++) { var _1sht = _1shq[_1shs]; null != _1sht && (_1shm.indexOf(_1sht.equipTypeSp) >= 0 && _1shr.push(_1sht.mst_id)); } _1shr.length >= 3 ? this.addCutin(_1shn, _1sho, _1shp, _1shr[0], _1shr[1], _1shr[2]) : 2 == _1shr.length ? this.addCutin(_1shn, _1sho, _1shp, _1shr[0], _1shr[1]) : 1 == _1shr.length ? this.addCutin(_1shn, _1sho, _1shp, _1shr[0]) : this.addCutin(_1shn, _1sho, _1shp, -1); } }, _1sgv.prototype._start = function() { var _1shu = null; this._view.initialize(), this._view.bg.show(500), this._cutin(); }, _1sgv.prototype._cutin = function() { var _1shv = null, _1shw = this; if (this._current++, this._current < this._tasks.length) { var _1shx = this._tasks[this._current]; 0 == this._current ? this._next(_1shx) : this.view.overlay.hideToLeft(function() { var _1shy = null; _1shw._next(_1shx); }); } else this._preEnd(); }, _1sgv.prototype._preEnd = function() { var _1shz = null, _1si0 = this; this._view.bg.hide(250), this.view.overlay.hideToRight(function() { var _1si1 = null; _1si0._endTask(); }); }, _1sgv; }(_1sgl.TaskBase); _1sfv.CutinFunnel = _1sgs; var _1shi = function(_1si2) { var _1si3 = null; function _1si4(_1si5, _1si6, _1si7, _1si8, _1si9, _1sia) { var _1sib = null, _1sic = _1si2.call(this) || this; return _1sic._anim2 = function() { var _1sid = null, _1sie = function(_1sif, _1sig, _1sih) { var _1sii = null; _1sic._view.laser_effect.position.set(_1sif, _1sig), _1sic._view.laser_effect.rotation = _1sih / 180 * Math.PI; }, _1sij = _1sic._friend ? 1 : -1; _1sic._view.laser_effect.scale.x = _1sij, _1sie(_1sgi.default.width / 2 - 330 * _1sij, 150, 9), _1sic._view.laser_effect.visible = !0, _1sgn.SE.play('111'), createjs.Tween.get(null).wait(33).call(_1sie, [_1sgi.default.width / 2 - 315 * _1sij, 144, 2 * _1sij]).wait(33).call(_1sie, [_1sgi.default.width / 2 - 330 * _1sij, 150, 0]).wait(33).call(_1sie, [_1sgi.default.width / 2 - 315 * _1sij, 144, 2 * _1sij]).wait(33).call(_1sie, [_1sgi.default.width / 2 - 330 * _1sij, 150, 0]).wait(33).call(function() { var _1sik = null; _1sic._view.laser_effect.visible = !1; }).wait(100).call(_1sic._anim3); }, _1sic._anim3 = function() { var _1sil = null, _1sim, _1sin; 1 == _1sic._friend && _1sgj.default.sound.voice.playAtRandom(_1sic._ship_mstid.toString(), [15, 17], [50, 50]), _1sic._tweens = new Array(), _1sic._plane1 > 0 && (_1sim = _1sic._createTweenPlane1(), _1sic._tweens.push(_1sim), _1sim.call(_1sic._onComplete, [_1sim])), _1sic._plane2 > 0 && (_1sim = _1sic._createTweenPlane2(), _1sic._tweens.push(_1sim), _1sim.call(_1sic._onComplete, [_1sim])), _1sic._plane3 > 0 && (_1sim = _1sic._createTweenPlane3(), _1sic._tweens.push(_1sim), _1sim.call(_1sic._onComplete, [_1sim])), _1sin = _1sic._friend ? { 'x': -606, 'y': -252, 'alpha': 0 } : { 'x': 1049, 'y': -251, 'alpha': 0 }, _1sim = createjs.Tween.get(_1sic.view.ship).wait(900).to(_1sin, 200), _1sic._tweens.push(_1sim), _1sim.call(_1sic._onComplete, [_1sim]); }, _1sic._onComplete = function(_1sio) { var _1sip = null, _1siq = _1sic._tweens.indexOf(_1sio); _1siq >= 0 && _1sic._tweens.splice(_1siq, 1), 0 == _1sic._tweens.length && _1sic._endTask(); }, _1sic._friend = _1si5, _1sic._ship_mstid = _1si6, _1sic._ship_damaged = _1si7, _1sic._plane1 = _1si8, _1sic._plane2 = _1si9, _1sic._plane3 = _1sia, _1sic._view = new _1sgq.CutinCanvasFunnelOnce(), _1sic._preload_task = new _1sgr.PreloadCutinFunnel(_1si6, _1si7, _1si8, _1si9, _1sia), _1sic; } return _1sfz(_1si4, _1si2), Object.defineProperty(_1si4.prototype, 'friend', { 'get': function() { var _1sir = null; return this._friend; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1si4.prototype, 'view', { 'get': function() { var _1sis = null; return this._view; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1si4.prototype, 'preload_task', { 'get': function() { var _1sit = null; return this._preload_task; }, 'enumerable': !1, 'configurable': !0 }), _1si4.prototype._start = function() { var _1siu = null; this._ready(); }, _1si4.prototype._ready = function() { var _1siv = null; this._view.initialize(this._friend), this._view.telop_bg.x = _1sgi.default.width / 2 + 918 * (this._friend ? 1 : -1), this._view.telop_bg.y = 683; var _1siw = _1sgj.default.resources.getShip(this._ship_mstid, this._ship_damaged, 'full'); this._ship_sprite = new PIXI.Sprite(_1siw); var _1six = _1sgj.default.model.ship_graph.get(this._ship_mstid); if (null != _1six) { var _1siy = _1six.getBattleOffset(this._ship_damaged); null != _1siy && (this._ship_sprite.x = _1siy.x, this._ship_sprite.y = _1siy.y); } this._view.ship.alpha = 0, this._friend ? this._view.ship.position.set(1010, 165) : this._view.ship.position.set(1049, -251), this._view.ship.addChild(this._ship_sprite), this._ship_sprite.mask = this._view.ship_mask, this._anim1(); }, _1si4.prototype._anim1 = function() { var _1siz = null, _1sj0; createjs.Tween.get(this._view.telop_bg).to({ 'x': _1sgi.default.width / 2, 'y': 435 }, 300), _1sj0 = this._friend ? { 'x': 17, 'y': -44, 'alpha': 1 } : { 'x': 447, 'y': -15, 'alpha': 1 }, createjs.Tween.get(this._view.ship).wait(200).to(_1sj0, 200).call(this._anim2); }, _1si4.prototype._createTweenPlane1 = function() { var _1sj1 = null, _1sj2 = this._friend ? 1 : -1, _1sj3 = new _1sgo.Plane(); _1sj3.initialize(this._plane1, this._friend); var _1sj4 = this._view.plane1; return _1sj4.addChild(_1sj3), _1sj4.position.set(_1sgi.default.width / 2 - 926 * _1sj2, 411), _1sj4.scale.set(1.52), _1sj4.visible = !1, createjs.Tween.get(this._view.plane1).wait(200).call(function() { var _1sj5 = null; _1sj3.activate(), _1sj4.visible = !0, _1sgn.SE.play('107'); }).to({ 'x': _1sgi.default.width / 2 - 563 * _1sj2, 'y': 666, 'scaleX': 1.24, 'scaleY': 1.24 }, 300).to({ 'x': _1sgi.default.width / 2 - 458 * _1sj2, 'y': 630, 'scaleX': 1, 'scaleY': 1 }, 200).wait(500).call(function() { var _1sj6 = null; _1sgn.SE.play('115'); }).to({ 'x': _1sgi.default.width / 2 + 809 * _1sj2, 'y': 525 }, 600, createjs.Ease.quadIn).call(function() { var _1sj7 = null; _1sj3.deactivate(), _1sj4.visible = !1; }); }, _1si4.prototype._createTweenPlane2 = function() { var _1sj8 = null, _1sj9 = this._friend ? 1 : -1, _1sja = new _1sgo.Plane(); _1sja.initialize(this._plane2, this._friend); var _1sjb = this._view.plane2; return _1sjb.addChild(_1sja), _1sjb.position.set(_1sgi.default.width / 2 - 780 * _1sj9, 459), _1sjb.scale.set(1.16), _1sja.activate(), _1sgn.SE.play('107'), createjs.Tween.get(this._view.plane2).to({ 'x': _1sgi.default.width / 2 - 453 * _1sj9, 'y': 626, 'scaleX': 0.93, 'scaleY': 0.93 }, 200).to({ 'x': _1sgi.default.width / 2 - 255 * _1sj9, 'y': 495, 'scaleX': 0.88, 'scaleY': 0.88 }, 200).wait(1000).call(function() { var _1sjc = null; _1sgn.SE.play('115'); }).to({ 'x': _1sgi.default.width / 2 + 840 * _1sj9, 'y': 405 }, 400, createjs.Ease.quadIn).call(function() { var _1sjd = null; _1sja.deactivate(), _1sjb.visible = !1; }); }, _1si4.prototype._createTweenPlane3 = function() { var _1sje = null, _1sjf = this._friend ? 1 : -1, _1sjg = new _1sgo.Plane(); _1sjg.initialize(this._plane3, this._friend); var _1sjh = this._view.plane3; return _1sjh.addChild(_1sjg), _1sjh.position.set(_1sgi.default.width / 2 - 618 * _1sjf, -221), _1sjh.scale.set(0.87), _1sjh.visible = !1, createjs.Tween.get(this._view.plane3).wait(100).call(function() { var _1sji = null; _1sjg.activate(), _1sjh.visible = !0, _1sgn.SE.play('107'); }).to({ 'x': _1sgi.default.width / 2 - 30 * _1sjf, 'y': 98, 'scaleX': 0.6, 'scaleY': 0.6 }, 400).wait(500).call(function() { var _1sjj = null; _1sgn.SE.play('115'); }).to({ 'x': _1sgi.default.width / 2 + 900 * _1sjf, 'y': 23 }, 800, createjs.Ease.quadIn).call(function() { var _1sjk = null; _1sjg.deactivate(), _1sjh.visible = !1; }); }, _1si4.prototype._endTask = function() { var _1sjl = null; this._view = null, this._ship_sprite = null, this._preload_task = null, _1si2.prototype._endTask.call(this); }, _1si4; }(_1sgl.TaskBase); _1sfv.CutinFunnelOnce = _1shi; }, 68432: function(_1sjm, _1sjn, _1sjo) { 'use strict'; var _1sjp = null; var _1sjq, _1sjr = this && this.__extends || (_1sjq = function(_1sjs, _1sjt) { var _1sju = null; return _1sjq = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1sjv, _1sjw) { var _1sjx = null; _1sjv.__proto__ = _1sjw; } || function(_1sjy, _1sjz) { var _1sk0 = null; for (var _1sk1 in _1sjz) Object.prototype.hasOwnProperty.call(_1sjz, _1sk1) && (_1sjy[_1sk1] = _1sjz[_1sk1]); }, _1sjq(_1sjs, _1sjt); }, function(_1sk2, _1sk3) { var _1sk4 = null; if ('function' != typeof _1sk3 && null !== _1sk3) throw new TypeError('Class extends value ' + String(_1sk3) + ' is not a constructor or null'); function _1sk5() { var _1sk6 = null; this.constructor = _1sk2; } _1sjq(_1sk2, _1sk3), _1sk2.prototype = null === _1sk3 ? Object.create(_1sk3) : (_1sk5.prototype = _1sk3.prototype, new _1sk5()); }), _1sk7 = this && this.__importDefault || function(_1sk8) { var _1sk9 = null; return _1sk8 && _1sk8.__esModule ? _1sk8 : { 'default': _1sk8 }; }; defineModule(_1sjn); Object.defineProperty(_1sjn, '__esModule', { 'value': !0 }), _1sjn.CutinKongoAttack = void 0; var _1ska, _1skb, _1skc = _1sk7(_1sjo(21359)), _1skd = _1sk7(_1sjo(18622)), _1ske = _1sjo(81755), _1skf = _1sjo(54011), _1skg = _1sjo(22434), _1skh = _1sjo(20137); ! function(_1ski) { var _1skj = null; _1ski[_1ski.FLAG_SHIP = 0] = 'FLAG_SHIP', _1ski[_1ski.PARTNER = 1] = 'PARTNER'; }(_1ska || (_1ska = {})), function(_1skk) { var _1skl = null; _1skk[_1skk.FLAG_SHIP = 0] = 'FLAG_SHIP', _1skk[_1skk.PARTNER = 1] = 'PARTNER', _1skk[_1skk.PARTNER_B = 2] = 'PARTNER_B'; }(_1skb || (_1skb = {})); var _1skm = function(_1skn) { var _1sko = null; function _1skp(_1skq) { var _1skr = null, _1sks = _1skn.call(this) || this; _1sks._preAnim = function() { var _1skt = null; for (var _1sku = 0; _1sku < _1sks._attackers.length; _1sku++) { var _1skv = _1sks._attackers[_1sku].mst_id, _1skw = _1skd.default.model.ship_graph.get(_1skv).getFaceRect(!1); _1sks._ships[_1sku].texture = _1skd.default.resources.getShip(_1skv, !1, 'full'); var _1skx = _1sks._attackers.length - 1 - _1sku; _1sks._move_x[_1sku] = _1skc.default.width / 2 - (_1skw.x + _1skw.width / 2) - 342 * _1skx, _1sks._ships[_1sku].position.set(-_1sks._ships[_1sku].width, -_1skw.y + 111 * _1sku + 30), _1sks._ships[_1sku].alpha = 0, _1sks._view.chara[_1sku].addChild(_1sks._ships[_1sku]); } _1sks._flagShipSlideIn(); }, _1sks._flagShipSlideIn = function() { var _1sky = null; _1skd.default.sound.voice.play(_1sks._attackers[_1ska.FLAG_SHIP].mst_id.toString(), 900), createjs.Tween.get(_1sks._ships[_1ska.FLAG_SHIP]).to({ 'x': _1sks._move_x[_1ska.FLAG_SHIP], 'alpha': 1 }, 600, createjs.Ease.sineOut).wait(200).call(_1sks._partnerSlideIn); }, _1sks._partnerSlideIn = function() { var _1skz = null; createjs.Tween.get(_1sks._ships[_1ska.PARTNER]).to({ 'x': _1sks._move_x[_1ska.PARTNER], 'alpha': 1 }, 600, createjs.Ease.sineOut).wait(800).call(_1sks._flagShipFire); }, _1sks._flagShipFire = function() { var _1sl0 = null; createjs.Tween.get(null).call(function() { var _1sl1 = null, _1sl2 = _1sks._view.explosion.getChildAt(_1skb.FLAG_SHIP); _1sl2.position = _1sks._getSmokePos(_1sks._attackers[_1ska.FLAG_SHIP].mst_id, _1sks._ships[_1ska.FLAG_SHIP].position), _1sks._reInitilize(_1sl2), _1sl2.createTweens(); }).call(_1sks._partnerFire); }, _1sks._partnerFire = function() { var _1sl3 = null; createjs.Tween.get(null).wait(200).call(function() { var _1sl4 = null, _1sl5 = _1sks._view.explosion.getChildAt(_1skb.PARTNER); _1sl5.position = _1sks._getSmokePos(_1sks._attackers[_1ska.PARTNER].mst_id, _1sks._ships[_1ska.PARTNER].position), _1sks._reInitilize(_1sl5), _1sl5.createTweens(); }).wait(100).call(function() { var _1sl6 = null, _1sl7 = _1sks._view.explosion.getChildAt(_1skb.PARTNER_B); _1sl7.position = _1sks._getSmokeBPos(_1sks._attackers[_1ska.PARTNER].mst_id, _1sks._ships[_1ska.PARTNER].position), _1sks._reInitilize(_1sl7), _1sl7.createTweens(); }).call(_1sks._fadeOut); }, _1sks._fadeOut = function() { var _1sl8 = null; createjs.Tween.get(null).wait(500).call(function() { var _1sl9 = null; createjs.Tween.get(_1sks._ships[_1ska.FLAG_SHIP]).to({ 'alpha': 0 }, 500), createjs.Tween.get(_1sks._ships[_1ska.PARTNER]).to({ 'alpha': 0 }, 500); }).wait(600).call(function() { var _1sla = null; _1sks._endTask(); }); }, _1sks._attackers = _1skq, _1sks._view = new _1slb(_1skq.length), _1sks._preload_task = new _1slc(_1skq), _1sks._ships = []; for (var _1sld = 0; _1sld < _1sks._attackers.length; _1sld++) _1sks._ships.push(new _1skf.Sprite()); return [new _1sle(), new _1sle(), new _1sle()].map(function(_1slf) { var _1slg = null; return _1sks._view.explosion.addChild(_1slf); }), _1sks._move_x = [], _1sks; } return _1sjr(_1skp, _1skn), Object.defineProperty(_1skp.prototype, 'view', { 'get': function() { var _1slh = null; return this._view; }, 'enumerable': !1, 'configurable': !0 }), _1skp.prototype._start = function() { var _1sli = null, _1slj = this; this._preload_task.start(function() { var _1slk = null; _1slj._preAnim(); }); }, _1skp.prototype._reInitilize = function(_1sll) { var _1slm = null; _1sll.position.x > _1skc.default.width / 2 ? _1sll.initialize(82) : _1sll.position.y > _1skc.default.height / 2 && _1sll.initialize(83), _1sll.initialize(84); }, _1skp.prototype._getSmokePos = function(_1sln, _1slo) { var _1slp = null, _1slq = _1skd.default.model.ship_graph.get(_1sln).getFaceRect(), _1slr = _1skd.default.model.ship_graph.get(_1sln).getPaOffset(); return new PIXI.Point(_1slo.x + _1slq.x + _1slq.width / 2 + _1slr.x, _1slo.y + _1slq.y + _1slq.height / 2 + _1slr.y); }, _1skp.prototype._getSmokeBPos = function(_1sls, _1slt) { var _1slu = null, _1slv = _1skd.default.model.ship_graph.get(_1sls).getFaceRect(), _1slw = _1skd.default.model.ship_graph.get(_1sls).getPabOffset(); return new PIXI.Point(_1slt.x + _1slv.x + _1slv.width / 2 + _1slw.x, _1slt.y + _1slv.y + _1slv.height / 2 + _1slw.y); }, _1skp.prototype._endTask = function() { var _1slx = null; this._view.dispose(), this._attackers = null, this._view = null, this._preload_task = null, _1skn.prototype._endTask.call(this); }, _1skp; }(_1ske.TaskBase); _1sjn.CutinKongoAttack = _1skm; var _1slc = function(_1sly) { var _1slz = null; function _1sm0(_1sm1) { var _1sm2 = null, _1sm3 = _1sly.call(this) || this; return _1sm3._attackers = _1sm1, _1sm3; } return _1sjr(_1sm0, _1sly), _1sm0.prototype._start = function() { var _1sm4 = null; this._loadShipImage(); }, _1sm0.prototype._loadShipImage = function() { var _1sm5 = null, _1sm6 = this, _1sm7 = new _1skh.ShipLoader(); _1sm7.add(this._attackers[0].mst_id, !1, 'full'); for (var _1sm8 = 1; _1sm8 < this._attackers.length; _1sm8++) { var _1sm9 = this._attackers[_1sm8].isDamaged(); _1sm7.add(this._attackers[_1sm8].mst_id, _1sm9, 'full'); } _1sm7.load(function() { var _1sma = null; _1sm6._endTask(); }); }, _1sm0; }(_1ske.TaskBase), _1sle = function(_1smb) { var _1smc = null; function _1smd() { var _1sme = null, _1smf = _1smb.call(this) || this; return _1smf._img = new _1skf.Sprite(), _1smf._img.anchor.set(0.35, 0.8), _1smf._img.scale.set(0), _1smf.addChild(_1smf._img), _1smf; } return _1sjr(_1smd, _1smb), _1smd.prototype.initialize = function(_1smg) { var _1smh = null; this._img.texture = _1skg.BATTLE_MAIN.getTexture(_1smg); }, _1smd.prototype.createTweens = function() { var _1smi = null; createjs.Tween.get(this._img).to({ 'scaleX': 1.2, 'scaleY': 1.2 }, 300).to({ 'scaleX': 1.5, 'scaleY': 1.5, 'alpha': 0 }, 600); }, _1smd; }(PIXI.Container), _1slb = function(_1smj) { var _1smk = null; function _1sml(_1smm) { var _1smn = null, _1smo = _1smj.call(this) || this; _1smo._chara = []; for (var _1smp = 0; _1smp < _1smm; _1smp++) { var _1smq = new PIXI.Container(); _1smo._chara.push(_1smq), _1smo.addChild(_1smq); } return _1smo._explosion = new PIXI.Container(), _1smo.addChild(_1smo._explosion), _1smo; } return _1sjr(_1sml, _1smj), Object.defineProperty(_1sml.prototype, 'chara', { 'get': function() { var _1smr = null; return this._chara; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1sml.prototype, 'explosion', { 'get': function() { var _1sms = null; return this._explosion; }, 'enumerable': !1, 'configurable': !0 }), _1sml.prototype.dispose = function() { var _1smt = null; this._chara.map(function(_1smu) { var _1smv = null; return _1smu.removeChildren(); }), this._chara.length = 0, this._explosion.removeChildren(), this.removeChildren(), this._chara = null, this._explosion = null; }, _1sml; }(PIXI.Container); }, 87889: function(_1smw, _1smx, _1smy) { 'use strict'; var _1smz = null; var _1sn0, _1sn1 = this && this.__extends || (_1sn0 = function(_1sn2, _1sn3) { var _1sn4 = null; return _1sn0 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1sn5, _1sn6) { var _1sn7 = null; _1sn5.__proto__ = _1sn6; } || function(_1sn8, _1sn9) { var _1sna = null; for (var _1snb in _1sn9) Object.prototype.hasOwnProperty.call(_1sn9, _1snb) && (_1sn8[_1snb] = _1sn9[_1snb]); }, _1sn0(_1sn2, _1sn3); }, function(_1snc, _1snd) { var _1sne = null; if ('function' != typeof _1snd && null !== _1snd) throw new TypeError('Class extends value ' + String(_1snd) + ' is not a constructor or null'); function _1snf() { var _1sng = null; this.constructor = _1snc; } _1sn0(_1snc, _1snd), _1snc.prototype = null === _1snd ? Object.create(_1snd) : (_1snf.prototype = _1snd.prototype, new _1snf()); }); defineModule(_1smx); Object.defineProperty(_1smx, '__esModule', { 'value': !0 }), _1smx.CutinKuboBase = void 0; var _1snh = _1smy(37562), _1sni = _1smy(16699), _1snj = function(_1snk) { var _1snl = null; function _1snm(_1snn, _1sno, _1snp, _1snq, _1snr) { var _1sns = null, _1snt = _1snk.call(this) || this; return _1snt._attacker = _1snn, _1snt._slot_mst_id1 = _1sno, _1snt._slot_mst_id2 = _1snp, _1snt._slot_mst_id3 = _1snq, _1snt._preload_task = new _1sni.PreloadCutinKubo(_1snn, _1sno, _1snp, _1snq, _1snr), _1snt; } return _1sn1(_1snm, _1snk), _1snm.prototype.getPreloadTask = function() { var _1snu = null; return this._preload_task; }, _1snm.prototype.setCallback = function(_1snv) { var _1snw = null; this._cb_onAttack = _1snv; }, _1snm.prototype._endTask = function() { var _1snx = null; this._attacker = null, this._preload_task = null, this._cb_onAttack = null, _1snk.prototype._endTask.call(this); }, _1snm; }(_1snh.TaskBase); _1smx.CutinKuboBase = _1snj; }, 48579: function(_1sny, _1snz, _1so0) { 'use strict'; var _1so1 = null; var _1so2, _1so3 = this && this.__extends || (_1so2 = function(_1so4, _1so5) { var _1so6 = null; return _1so2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1so7, _1so8) { var _1so9 = null; _1so7.__proto__ = _1so8; } || function(_1soa, _1sob) { var _1soc = null; for (var _1sod in _1sob) Object.prototype.hasOwnProperty.call(_1sob, _1sod) && (_1soa[_1sod] = _1sob[_1sod]); }, _1so2(_1so4, _1so5); }, function(_1soe, _1sof) { var _1sog = null; if ('function' != typeof _1sof && null !== _1sof) throw new TypeError('Class extends value ' + String(_1sof) + ' is not a constructor or null'); function _1soh() { var _1soi = null; this.constructor = _1soe; } _1so2(_1soe, _1sof), _1soe.prototype = null === _1sof ? Object.create(_1sof) : (_1soh.prototype = _1sof.prototype, new _1soh()); }), _1soj = this && this.__importDefault || function(_1sok) { var _1sol = null; return _1sok && _1sok.__esModule ? _1sok : { 'default': _1sok }; }; defineModule(_1snz); Object.defineProperty(_1snz, '__esModule', { 'value': !0 }), _1snz.CutinKuboDay = void 0; var _1som = _1soj(_1so0(18622)), _1son = _1so0(79899), _1soo = _1so0(85492), _1sop = _1so0(70723), _1soq = _1so0(87737), _1sor = _1so0(87889), _1sos = _1so0(88436), _1sot = _1so0(54427), _1sou = function(_1sov) { var _1sow = null; function _1sox(_1soy, _1soz, _1sp0, _1sp1, _1sp2) { var _1sp3 = null, _1sp4 = _1sov.call(this, _1soz, _1sp0, _1sp1, _1sp2, !1) || this; return _1sp4._layer = _1soy, _1sp4._friend = _1sp4._attacker.friend, _1sp4; } return _1so3(_1sox, _1sov), _1sox.prototype._start = function() { var _1sp5 = null, _1sp6 = this, _1sp7 = this._friend ? 1 : -1; this._canvas = new _1sos.CutinKuboDayCanvas(), this._canvas.bg.alpha = 0; var _1sp8 = this._attacker.mst_id, _1sp9 = this._attacker.isDamaged(), _1spa = _1som.default.resources.getShip(_1sp8, _1sp9, 'full'), _1spb = new PIXI.Sprite(_1spa), _1spc = new _1soq.ShipFlash(_1spa), _1spd = _1som.default.model.ship_graph.get(_1sp8).getBattleOffset(_1sp9); _1spb.position.set(_1spd.x, _1spd.y), _1spc.position.set(_1spd.x, _1spd.y), this._canvas.chara.alpha = 0, this._canvas.chara.x = (this._friend ? 0 : 600) - 54, this._canvas.chara.y = 615, this._canvas.chara.addChild(_1spb), this._canvas.chara.addChild(_1spc), this._canvas.plane1.position.set(600 - 917 * _1sp7, 387), this._canvas.plane1.initialize(this._slot_mst_id1, this._friend); var _1spe = 0, _1spf = this._attacker.slots; if (null != _1spf && _1spf.length > 0 && null != _1spf[0]) { var _1spg = _1spf[0].mst_id; _1spg == this._slot_mst_id1 ? _1spe = 1 : _1spg == this._slot_mst_id2 ? _1spe = 2 : _1spg == this._slot_mst_id3 && (_1spe = 3); } var _1sph, _1spi = new _1soo.TweenTask(); this._canvas.bar1.initialize(this._slot_mst_id1, this._friend), _1sph = 1 == _1spe ? 1300 : 1600, _1spi.addTweens(this._canvas.bar1.createTween(_1sph)), this._canvas.bar2.initialize(this._slot_mst_id2, this._friend), _1sph = 2 == _1spe ? 1300 : 1600, _1spi.addTweens(this._canvas.bar2.createTween(_1sph)), this._canvas.bar3.initialize(this._slot_mst_id3, this._friend), _1sph = 3 == _1spe ? 1300 : 1600, _1spi.addTweens(this._canvas.bar3.createTween(_1sph)), _1spi.start(function() { var _1spj = null, _1spk = new _1soo.TweenTask(), _1spl = 1300; _1spk.addTweens(_1sp6._canvas.bar1.createTween2(_1spl)), _1spk.addTweens(_1sp6._canvas.bar2.createTween2(_1spl)), _1spk.addTweens(_1sp6._canvas.bar3.createTween2(_1spl)), _1spk.start(); }), this._layer.addChild(this._canvas), createjs.Tween.get(this._canvas.bg).to({ 'alpha': 1 }, 250), createjs.Tween.get(this._canvas.chara).to({ 'y': -87, 'alpha': 1 }, 500).wait(700).call(function() { var _1spm = null; _1spc.play(); }).wait(100).wait(1500).call(function() { var _1spn = null; _1spc.play(); }).wait(100).call(function() { var _1spo = null; null != _1sp6._cb_onAttack && _1sp6._cb_onAttack(); }).wait(100).to({ 'y': -351, 'alpha': 0 }, 500), createjs.Tween.get(this._canvas.plane1).wait(300).call(function() { var _1spp = null; _1sp6._canvas.plane1.activate(); }).to({ 'x': 600 - 38 * _1sp7 }, 400).wait(700).to({ 'x': 600 + 863 * _1sp7 }, 400).call(function() { var _1spq = null; _1sp6._canvas.plane1.deactivate(); }), createjs.Tween.get(null).wait(750).call(function() { var _1spr = null; _1sop.SE.play('105'); }).wait(250).call(function() { var _1sps = null; _1sop.SE.play('109'); }).wait(600).call(function() { var _1spt = null; _1sop.SE.play('105'); }).wait(200).call(function() { var _1spu = null; _1sop.SE.play('109'); }), this._anim2(); }, _1sox.prototype._anim2 = function() { var _1spv = null, _1spw = this, _1spx = new _1sot.IntensiveLines(); _1spx.initialize(), _1spx.alpha = 0, this._layer.addChild(_1spx), createjs.Tween.get(_1spx).wait(3100).call(function() { var _1spy = null; _1spx.activate(); }).to({ 'alpha': 1 }, 200).wait(300).to({ 'alpha': 0 }, 300); var _1spz = new _1son.AreaBox(1, 16777215); _1spz.alpha = 0, this._layer.addChild(_1spz), createjs.Tween.get(_1spz).wait(3100).to({ 'alpha': 1 }, 500).call(function() { var _1sq0 = null; _1spw._layer.removeChild(_1spw._canvas); }).to({ 'alpha': 0 }, 300).call(function() { var _1sq1 = null; _1spx.deactivate(), _1spw._layer.removeChild(_1spx), _1spw._layer.removeChild(_1spz), _1spw._endTask(); }); }, _1sox.prototype._endTask = function() { var _1sq2 = null; this._layer = null, this._canvas = null, _1sov.prototype._endTask.call(this); }, _1sox; }(_1sor.CutinKuboBase); _1snz.CutinKuboDay = _1sou; }, 50527: function(_1sq3, _1sq4, _1sq5) { 'use strict'; var _1sq6 = null; var _1sq7, _1sq8 = this && this.__extends || (_1sq7 = function(_1sq9, _1sqa) { var _1sqb = null; return _1sq7 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1sqc, _1sqd) { var _1sqe = null; _1sqc.__proto__ = _1sqd; } || function(_1sqf, _1sqg) { var _1sqh = null; for (var _1sqi in _1sqg) Object.prototype.hasOwnProperty.call(_1sqg, _1sqi) && (_1sqf[_1sqi] = _1sqg[_1sqi]); }, _1sq7(_1sq9, _1sqa); }, function(_1sqj, _1sqk) { var _1sql = null; if ('function' != typeof _1sqk && null !== _1sqk) throw new TypeError('Class extends value ' + String(_1sqk) + ' is not a constructor or null'); function _1sqm() { var _1sqn = null; this.constructor = _1sqj; } _1sq7(_1sqj, _1sqk), _1sqj.prototype = null === _1sqk ? Object.create(_1sqk) : (_1sqm.prototype = _1sqk.prototype, new _1sqm()); }), _1sqo = this && this.__importDefault || function(_1sqp) { var _1sqq = null; return _1sqp && _1sqp.__esModule ? _1sqp : { 'default': _1sqp }; }; defineModule(_1sq4); Object.defineProperty(_1sq4, '__esModule', { 'value': !0 }), _1sq4.CutinKuboNight = void 0; var _1sqr = _1sqo(_1sq5(18622)), _1sqs = _1sq5(79899), _1sqt = _1sq5(85492), _1squ = _1sq5(70723), _1sqv = _1sq5(87737), _1sqw = _1sq5(87889), _1sqx = _1sq5(95403), _1sqy = _1sq5(54427), _1sqz = function(_1sr0) { var _1sr1 = null; function _1sr2(_1sr3, _1sr4, _1sr5, _1sr6, _1sr7) { var _1sr8 = null, _1sr9 = _1sr0.call(this, _1sr4, _1sr5, _1sr6, _1sr7, !0) || this; return _1sr9._layer = _1sr3, _1sr9._friend = _1sr9._attacker.friend, _1sr9; } return _1sq8(_1sr2, _1sr0), _1sr2.prototype._start = function() { var _1sra = null, _1srb = this, _1src = this._friend ? 1 : -1; this._canvas = new _1sqx.CutinKuboNightCanvas(), this._canvas.bg.alpha = 0; var _1srd = this._attacker.mst_id, _1sre = this._attacker.isDamaged(), _1srf = _1sqr.default.resources.getShip(_1srd, _1sre, 'full'), _1srg = new PIXI.Sprite(_1srf), _1srh = new _1sqv.ShipFlash(_1srf), _1sri = _1sqr.default.model.ship_graph.get(_1srd).getBattleOffset(_1sre); _1srg.position.set(_1sri.x, _1sri.y), _1srh.position.set(_1sri.x, _1sri.y), this._canvas.chara.addChild(_1srg), this._canvas.chara.addChild(_1srh), this._canvas.chara.alpha = 0, this._canvas.chara.x = (this._friend ? 0 : 600) - 54, this._canvas.chara.y = 615, this._canvas.plane1.position.set(600 - 917 * _1src, 387), this._canvas.plane1.initialize(this._slot_mst_id1, this._friend); var _1srj, _1srk = new _1sqt.TweenTask(); this._canvas.bar1.initialize(this._slot_mst_id1, this._friend), _1srj = 1600, _1srk.addTweens(this._canvas.bar1.createTween(_1srj)), this._canvas.bar2.initialize(this._slot_mst_id2, this._friend), _1srj = 1600, _1srk.addTweens(this._canvas.bar2.createTween(_1srj)), this._canvas.bar3.initialize(this._slot_mst_id3, this._friend), _1srj = 1600, _1srk.addTweens(this._canvas.bar3.createTween(_1srj)), _1srk.start(function() { var _1srl = null, _1srm = new _1sqt.TweenTask(), _1srn = 1300; _1srm.addTweens(_1srb._canvas.bar1.createTween2(_1srn)), _1srm.addTweens(_1srb._canvas.bar2.createTween2(_1srn)), _1srm.addTweens(_1srb._canvas.bar3.createTween2(_1srn)), _1srm.start(); }), this._layer.addChild(this._canvas), createjs.Tween.get(this._canvas.bg).to({ 'alpha': 1 }, 250), createjs.Tween.get(this._canvas.chara).to({ 'y': -87, 'alpha': 1 }, 500).wait(700).call(function() { var _1sro = null; _1srh.play(); }).wait(100).wait(1500).call(function() { var _1srp = null; _1srh.play(); }).wait(100).call(function() { var _1srq = null; null != _1srb._cb_onAttack && _1srb._cb_onAttack(); }).wait(100).to({ 'y': -351, 'alpha': 0 }, 500), createjs.Tween.get(this._canvas.plane1).wait(300).call(function() { var _1srr = null; _1srb._canvas.plane1.activate(); }).to({ 'x': 600 - 38 * _1src }, 400).wait(700).to({ 'x': 600 + 863 * _1src }, 400).call(function() { var _1srs = null; _1srb._canvas.plane1.deactivate(); }), createjs.Tween.get(null).wait(750).call(function() { var _1srt = null; _1squ.SE.play('105'); }).wait(250).call(function() { var _1sru = null; _1squ.SE.play('109'); }).wait(600).call(function() { var _1srv = null; _1squ.SE.play('105'); }).wait(200).call(function() { var _1srw = null; _1squ.SE.play('109'); }), this._anim2(); }, _1sr2.prototype._anim2 = function() { var _1srx = null, _1sry = this, _1srz = new _1sqy.IntensiveLines(); _1srz.initialize(), _1srz.alpha = 0, this._layer.addChild(_1srz), createjs.Tween.get(_1srz).wait(3100).call(function() { var _1ss0 = null; _1srz.activate(); }).to({ 'alpha': 1 }, 200).wait(300).to({ 'alpha': 0 }, 300); var _1ss1 = new _1sqs.AreaBox(1, 16777215); _1ss1.alpha = 0, this._layer.addChild(_1ss1), createjs.Tween.get(_1ss1).wait(3100).to({ 'alpha': 1 }, 500).call(function() { var _1ss2 = null; _1sry._layer.removeChild(_1sry._canvas); }).to({ 'alpha': 0 }, 300).call(function() { var _1ss3 = null; _1srz.deactivate(), _1sry._layer.removeChild(_1srz), _1sry._layer.removeChild(_1ss1), _1sry._endTask(); }); }, _1sr2.prototype._endTask = function() { var _1ss4 = null; this._layer = null, this._canvas = null, _1sr0.prototype._endTask.call(this); }, _1sr2; }(_1sqw.CutinKuboBase); _1sq4.CutinKuboNight = _1sqz; }, 84085: function(_1ss5, _1ss6, _1ss7) { 'use strict'; var _1ss8 = null; var _1ss9, _1ssa = this && this.__extends || (_1ss9 = function(_1ssb, _1ssc) { var _1ssd = null; return _1ss9 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1sse, _1ssf) { var _1ssg = null; _1sse.__proto__ = _1ssf; } || function(_1ssh, _1ssi) { var _1ssj = null; for (var _1ssk in _1ssi) Object.prototype.hasOwnProperty.call(_1ssi, _1ssk) && (_1ssh[_1ssk] = _1ssi[_1ssk]); }, _1ss9(_1ssb, _1ssc); }, function(_1ssl, _1ssm) { var _1ssn = null; if ('function' != typeof _1ssm && null !== _1ssm) throw new TypeError('Class extends value ' + String(_1ssm) + ' is not a constructor or null'); function _1sso() { var _1ssp = null; this.constructor = _1ssl; } _1ss9(_1ssl, _1ssm), _1ssl.prototype = null === _1ssm ? Object.create(_1ssm) : (_1sso.prototype = _1ssm.prototype, new _1sso()); }), _1ssq = this && this.__importDefault || function(_1ssr) { var _1sss = null; return _1ssr && _1ssr.__esModule ? _1ssr : { 'default': _1ssr }; }; defineModule(_1ss6); Object.defineProperty(_1ss6, '__esModule', { 'value': !0 }), _1ss6.PreloadCutin = _1ss6.CutinMutsuAttack = void 0; var _1sst = _1ssq(_1ss7(21359)), _1ssu = _1ssq(_1ss7(18622)), _1ssv = _1ss7(81755), _1ssw = _1ss7(54011), _1ssx = _1ss7(22434), _1ssy = _1ss7(20137), _1ssz = _1ss7(89710), _1st0 = function(_1st1) { var _1st2 = null; function _1st3(_1st4) { var _1st5 = null, _1st6 = _1st1.call(this) || this; _1st6._preAnim = function() { var _1st7 = null; for (var _1st8 = 0; _1st8 < _1st6._canvas.chara.length; _1st8++) _1st6._canvas.chara[_1st8].alpha = 0; _1st6._mutsu.texture = _1ssu.default.resources.getShip(_1st6._attackers[0].mst_id, !1, 'special'), _1st6._mutsu.position.set(-99, 170), _1st6._mutsu.alpha = 0; for (_1st8 = 0; _1st8 < _1st6._attackers.length; _1st8++) { var _1st9 = _1st6._attackers[_1st8].mst_id, _1sta = 0 != _1st8 && _1st6._attackers[_1st8].isDamaged(); if (0 == _1st8) { _1st6._ships[_1st8].texture = _1ssu.default.resources.getShip(_1st9, _1sta, 'full'); var _1stb = _1ssu.default.model.ship_graph.get(_1st9).getBattleOffset(_1sta); _1st6._ships[_1st8].position.set(_1stb.x, _1stb.y), _1st6._canvas.chara[_1st8].position.set(-1000, -133); } else { if (1 == _1st8 && 541 == _1st6._attackers[_1st8].mst_id && 0 == _1sta) _1st6._ships[_1st8].texture = _1ssu.default.resources.getShip(_1st9, !1, 'special'), _1st6._ships[_1st8].position.set(-90, 120), _1st6._canvas.chara[_1st8].position.set(-700, 0); else { _1st6._ships[_1st8].texture = _1ssu.default.resources.getShip(_1st9, _1sta, 'full'); var _1stc = _1ssu.default.model.ship_graph.get(_1st9).getFaceRect(_1sta); _1st6._ships[_1st8].position.set(_1sst.default.width / 2 - (_1stc.x + _1stc.width / 2), _1sst.default.height / 2 - (_1stc.y + _1stc.height / 2)), _1st6._canvas.chara[_1st8].position.set(0 - _1st6._ships[_1st8].width, -108); } } _1st6._canvas.chara[_1st8].addChild(_1st6._ships[_1st8]); } _1st6._canvas.chara[0].addChild(_1st6._mutsu), _1st6._anim1(); }, _1st6._anim2 = function() { var _1std = null; createjs.Tween.get(null).wait(500).call(function() { var _1ste = null; createjs.Tween.get(_1st6._ships[0]).to({ 'alpha': 0 }, 400), createjs.Tween.get(_1st6._mutsu).to({ 'alpha': 1 }, 400); var _1stf = _1st6._createSmoke(82, 1040, 600); _1st6._canvas.explosion.addChild(_1stf), _1stf.createTweens(900, null); var _1stg = _1st6._createSmoke(84, 855, 490); _1st6._canvas.explosion.addChild(_1stg), _1stg.createTweens(850, null); var _1sth = _1st6._createSmoke(83, 382, 705); _1st6._canvas.explosion.addChild(_1sth), _1sth.createTweens(800, null); var _1sti = _1st6._createSmoke(84, 165, 520); _1st6._canvas.explosion.addChild(_1sti), _1sti.createTweens(750, _1st6._anim3); }); }, _1st6._anim3 = function() { var _1stj = null; createjs.Tween.get(_1st6._canvas.chara[0]).wait(400).to({ 'x': -10, 'alpha': 1 }, 300), createjs.Tween.get(_1st6._canvas.chara[1]).wait(450).to({ 'x': -455, 'alpha': 1 }, 400).call(function() { var _1stk = null; _1st6._anim4(); }); }, _1st6._anim4 = function() { var _1stl = null; createjs.Tween.get(_1st6._canvas.chara[0]).wait(500).call(function() { var _1stm = null; createjs.Tween.get(_1st6._canvas.chara[0]).to({ 'alpha': 0 }, 500), createjs.Tween.get(_1st6._canvas.chara[1]).to({ 'alpha': 0 }, 500); }).wait(600).call(function() { var _1stn = null; _1st6._endTask(); }); }, _1st6._attackers = _1st4, _1st6._canvas = new _1ssz.CutinMutsuAttackCanvas(), _1st6._view = new PIXI.Container(), _1st6.view.addChild(_1st6._canvas), _1st6._mutsu = new PIXI.Sprite(), _1st6._ships = []; for (var _1sto = 0; _1sto < _1st6._attackers.length; _1sto++) _1st6._ships.push(new PIXI.Sprite()); return _1st6._preload_task = new _1stp(_1st4), _1st6; } return _1ssa(_1st3, _1st1), Object.defineProperty(_1st3.prototype, 'view', { 'get': function() { var _1stq = null; return this._view; }, 'enumerable': !1, 'configurable': !0 }), _1st3.prototype.getPreloadTask = function() { var _1str = null; return this._preload_task; }, _1st3.prototype._start = function() { var _1sts = null, _1stt = this; this._preload_task.start(function() { var _1stu = null; _1stt._preAnim(); }); }, _1st3.prototype._anim1 = function() { var _1stv = null; for (var _1stw = 0; _1stw < this._canvas.chara.length; _1stw++) this._canvas.chara[_1stw].alpha = 0; this._attackers.length >= 2 && 541 == this._attackers[1].mst_id ? _1ssu.default.sound.voice.play(this._attackers[0].mst_id.toString(), 902) : this._attackers.length >= 2 && (80 == this._attackers[1].mst_id || 275 == this._attackers[1].mst_id) ? _1ssu.default.sound.voice.play(this._attackers[0].mst_id.toString(), 901) : _1ssu.default.sound.voice.play(this._attackers[0].mst_id.toString(), 900), createjs.Tween.get(this._canvas.chara[0]).to({ 'x': -175, 'alpha': 1 }, 600).call(this._anim2); }, _1st3.prototype._createSmoke = function(_1stx, _1sty, _1stz) { var _1su0 = null, _1su1 = new _1su2(); return _1su1.initialize(_1stx), _1su1.x = _1sty, _1su1.y = _1stz, _1su1; }, _1st3.prototype._endTask = function() { var _1su3 = null; this._canvas.dispose(), this._view.removeChildren(), null != this._view.parent && this._view.parent.removeChild(this._view), this._attackers = null, this._view = null, this._canvas = null, this._ships = null, this._mutsu = null, this._preload_task = null, _1st1.prototype._endTask.call(this); }, _1st3; }(_1ssv.TaskBase); _1ss6.CutinMutsuAttack = _1st0; var _1stp = function(_1su4) { var _1su5 = null; function _1su6(_1su7) { var _1su8 = null, _1su9 = _1su4.call(this) || this; return _1su9._attackers = _1su7, _1su9; } return _1ssa(_1su6, _1su4), _1su6.prototype._start = function() { var _1sua = null; this._loadShipImage(); }, _1su6.prototype._loadShipImage = function() { var _1sub = null, _1suc = this, _1sud = new _1ssy.ShipLoader(); _1sud.add(this._attackers[0].mst_id, !1, 'full'), _1sud.add(this._attackers[0].mst_id, !1, 'special'); for (var _1sue = 1; _1sue < this._attackers.length; _1sue++) { var _1suf = this._attackers[_1sue].isDamaged(); 1 == _1sue && 541 == this._attackers[_1sue].mst_id && 0 == _1suf ? _1sud.add(this._attackers[_1sue].mst_id, !1, 'special') : _1sud.add(this._attackers[_1sue].mst_id, _1suf, 'full'); } _1sud.load(function() { var _1sug = null; _1suc._endTask(); }); }, _1su6; }(_1ssv.TaskBase); _1ss6.PreloadCutin = _1stp; var _1su2 = function(_1suh) { var _1sui = null; function _1suj() { var _1suk = null, _1sul = _1suh.call(this) || this; return _1sul._img = new _1ssw.Sprite(), _1sul._img.anchor.set(0.35, 0.8), _1sul._img.scale.set(0), _1sul.addChild(_1sul._img), _1sul; } return _1ssa(_1suj, _1suh), _1suj.prototype.initialize = function(_1sum) { var _1sun = null; this._img.texture = _1ssx.BATTLE_MAIN.getTexture(_1sum); }, _1suj.prototype.createTweens = function(_1suo, _1sup) { var _1suq = null; createjs.Tween.get(this._img).wait(_1suo).to({ 'scaleX': 1.2, 'scaleY': 1.2 }, 300).to({ 'scaleX': 1.5, 'scaleY': 1.5, 'alpha': 0 }, 600).call(function() { _1sup && _1sup(); }); }, _1suj; }(PIXI.Container); }, 6148: function(_1sur, _1sus, _1sut) { 'use strict'; var _1suu = null; var _1suv, _1suw = this && this.__extends || (_1suv = function(_1sux, _1suy) { var _1suz = null; return _1suv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1sv0, _1sv1) { var _1sv2 = null; _1sv0.__proto__ = _1sv1; } || function(_1sv3, _1sv4) { var _1sv5 = null; for (var _1sv6 in _1sv4) Object.prototype.hasOwnProperty.call(_1sv4, _1sv6) && (_1sv3[_1sv6] = _1sv4[_1sv6]); }, _1suv(_1sux, _1suy); }, function(_1sv7, _1sv8) { var _1sv9 = null; if ('function' != typeof _1sv8 && null !== _1sv8) throw new TypeError('Class extends value ' + String(_1sv8) + ' is not a constructor or null'); function _1sva() { var _1svb = null; this.constructor = _1sv7; } _1suv(_1sv7, _1sv8), _1sv7.prototype = null === _1sv8 ? Object.create(_1sv8) : (_1sva.prototype = _1sv8.prototype, new _1sva()); }), _1svc = this && this.__importDefault || function(_1svd) { var _1sve = null; return _1svd && _1svd.__esModule ? _1svd : { 'default': _1svd }; }; defineModule(_1sus); Object.defineProperty(_1sus, '__esModule', { 'value': !0 }), _1sus.PreloadCutinNagatoAttack = _1sus.CutinNagatoAttack = void 0; var _1svf = _1svc(_1sut(21359)), _1svg = _1svc(_1sut(18622)), _1svh = _1sut(81755), _1svi = _1sut(54011), _1svj = _1sut(22434), _1svk = _1sut(20137), _1svl = _1sut(71977), _1svm = function(_1svn) { var _1svo = null; function _1svp(_1svq) { var _1svr = null, _1svs = _1svn.call(this) || this; _1svs._preAnim = function() { var _1svt = null; for (var _1svu = 0; _1svu < _1svs._canvas.chara.length; _1svu++) _1svs._canvas.chara[_1svu].alpha = 0; _1svs._nagato.texture = _1svg.default.resources.getShip(_1svs._attackers[0].mst_id, !1, 'special'), _1svs._nagato.position.set(-240, 160), _1svs._nagato.alpha = 0; for (_1svu = 0; _1svu < _1svs._attackers.length; _1svu++) { var _1svv = _1svs._attackers[_1svu].mst_id, _1svw = 0 != _1svu && _1svs._attackers[_1svu].isDamaged(); if (0 == _1svu) { _1svs._ships[_1svu].texture = _1svg.default.resources.getShip(_1svv, _1svw, 'full'); var _1svx = _1svg.default.model.ship_graph.get(_1svv).getBattleOffset(_1svw); _1svs._ships[_1svu].position.set(_1svx.x, _1svx.y), _1svs._canvas.chara[_1svu].position.set(-1000, -134); } else { if (1 == _1svu && 573 == _1svs._attackers[_1svu].mst_id && 0 == _1svw) _1svs._ships[_1svu].texture = _1svg.default.resources.getShip(_1svv, !1, 'special'), _1svs._ships[_1svu].position.set(67, 138), _1svs._canvas.chara[_1svu].position.set(-800, 0); else { _1svs._ships[_1svu].texture = _1svg.default.resources.getShip(_1svv, _1svw, 'full'); var _1svy = _1svg.default.model.ship_graph.get(_1svv).getFaceRect(_1svw); _1svs._ships[_1svu].position.set(_1svf.default.width / 2 - (_1svy.x + _1svy.width / 2), _1svf.default.height / 2 - (_1svy.y + _1svy.height / 2)), _1svs._canvas.chara[_1svu].position.set(0 - _1svs._ships[_1svu].width, -108); } } _1svs._canvas.chara[_1svu].addChild(_1svs._ships[_1svu]); } _1svs._canvas.chara[0].addChild(_1svs._nagato), _1svs._anim1(); }, _1svs._anim2 = function() { var _1svz = null; createjs.Tween.get(null).wait(500).call(function() { var _1sw0 = null; createjs.Tween.get(_1svs._ships[0]).to({ 'alpha': 0 }, 400), createjs.Tween.get(_1svs._nagato).to({ 'alpha': 1 }, 400); var _1sw1 = _1svs._createSmoke(83, 1068, 440); _1svs._canvas.explosion.addChild(_1sw1), _1sw1.createTweens(700, null); var _1sw2 = _1svs._createSmoke(84, 930, 616); _1svs._canvas.explosion.addChild(_1sw2), _1sw2.createTweens(800, null); var _1sw3 = _1svs._createSmoke(82, 65, 506); _1svs._canvas.explosion.addChild(_1sw3), _1sw3.createTweens(900, _1svs._anim3); }); }, _1svs._anim3 = function() { var _1sw4 = null; createjs.Tween.get(_1svs._canvas.chara[0]).wait(400).to({ 'x': -10, 'alpha': 1 }, 300), createjs.Tween.get(_1svs._canvas.chara[1]).wait(450).to({ 'x': -455, 'alpha': 1 }, 400).call(function() { var _1sw5 = null; _1svs._anim4(); }); }, _1svs._anim4 = function() { var _1sw6 = null; createjs.Tween.get(_1svs._canvas.chara[0]).wait(500).call(function() { var _1sw7 = null; createjs.Tween.get(_1svs._canvas.chara[0]).to({ 'alpha': 0 }, 500), createjs.Tween.get(_1svs._canvas.chara[1]).to({ 'alpha': 0 }, 500); }).wait(600).call(function() { var _1sw8 = null; _1svs._endTask(); }); }, _1svs._attackers = _1svq, _1svs._canvas = new _1svl.CutinNagatoAttackCanvas(), _1svs._view = new PIXI.Container(), _1svs.view.addChild(_1svs._canvas), _1svs._nagato = new PIXI.Sprite(), _1svs._ships = []; for (var _1sw9 = 0; _1sw9 < _1svs._attackers.length; _1sw9++) _1svs._ships.push(new PIXI.Sprite()); return _1svs._preload_task = new _1swa(_1svq), _1svs; } return _1suw(_1svp, _1svn), Object.defineProperty(_1svp.prototype, 'view', { 'get': function() { var _1swb = null; return this._view; }, 'enumerable': !1, 'configurable': !0 }), _1svp.prototype.getPreloadTask = function() { var _1swc = null; return this._preload_task; }, _1svp.prototype._start = function() { var _1swd = null, _1swe = this; this._preload_task.start(function() { var _1swf = null; _1swe._preAnim(); }); }, _1svp.prototype._anim1 = function() { var _1swg = null; for (var _1swh = 0; _1swh < this._canvas.chara.length; _1swh++) this._canvas.chara[_1swh].alpha = 0; this._attackers.length >= 2 && 573 == this._attackers[1].mst_id ? _1svg.default.sound.voice.play(this._attackers[0].mst_id.toString(), 902) : this._attackers.length >= 2 && (81 == this._attackers[1].mst_id || 276 == this._attackers[1].mst_id) ? _1svg.default.sound.voice.play(this._attackers[0].mst_id.toString(), 901) : this._attackers.length >= 2 && 'ネルソン' == this._attackers[1].yomi ? _1svg.default.sound.voice.play(this._attackers[0].mst_id.toString(), 903) : _1svg.default.sound.voice.play(this._attackers[0].mst_id.toString(), 900), createjs.Tween.get(this._canvas.chara[0]).to({ 'x': -159, 'alpha': 1 }, 600).call(this._anim2); }, _1svp.prototype._createSmoke = function(_1swi, _1swj, _1swk) { var _1swl = null, _1swm = new _1swn(); return _1swm.initialize(_1swi), _1swm.x = _1swj, _1swm.y = _1swk, _1swm; }, _1svp.prototype._endTask = function() { var _1swo = null; this._canvas.dispose(), this._view.removeChildren(), null != this._view.parent && this._view.parent.removeChild(this._view), this._attackers = null, this._view = null, this._canvas = null, this._ships = null, this._nagato = null, this._preload_task = null, _1svn.prototype._endTask.call(this); }, _1svp; }(_1svh.TaskBase); _1sus.CutinNagatoAttack = _1svm; var _1swa = function(_1swp) { var _1swq = null; function _1swr(_1sws) { var _1swt = null, _1swu = _1swp.call(this) || this; return _1swu._attackers = _1sws, _1swu; } return _1suw(_1swr, _1swp), _1swr.prototype._start = function() { var _1swv = null; this._loadShipImage(); }, _1swr.prototype._loadShipImage = function() { var _1sww = null, _1swx = this, _1swy = new _1svk.ShipLoader(); _1swy.add(this._attackers[0].mst_id, !1, 'full'), _1swy.add(this._attackers[0].mst_id, !1, 'special'); for (var _1swz = 1; _1swz < this._attackers.length; _1swz++) { var _1sx0 = this._attackers[_1swz].isDamaged(); 1 == _1swz && 573 == this._attackers[_1swz].mst_id && 0 == _1sx0 ? _1swy.add(this._attackers[_1swz].mst_id, _1sx0, 'special') : _1swy.add(this._attackers[_1swz].mst_id, _1sx0, 'full'); } _1swy.load(function() { var _1sx1 = null; _1swx._endTask(); }); }, _1swr; }(_1svh.TaskBase); _1sus.PreloadCutinNagatoAttack = _1swa; var _1swn = function(_1sx2) { var _1sx3 = null; function _1sx4() { var _1sx5 = null, _1sx6 = _1sx2.call(this) || this; return _1sx6._img = new _1svi.Sprite(), _1sx6._img.anchor.set(0.35, 0.8), _1sx6._img.scale.set(0), _1sx6.addChild(_1sx6._img), _1sx6; } return _1suw(_1sx4, _1sx2), _1sx4.prototype.initialize = function(_1sx7) { var _1sx8 = null; this._img.texture = _1svj.BATTLE_MAIN.getTexture(_1sx7); }, _1sx4.prototype.createTweens = function(_1sx9, _1sxa) { var _1sxb = null; createjs.Tween.get(this._img).wait(_1sx9).to({ 'scaleX': 1.2, 'scaleY': 1.2 }, 300).to({ 'scaleX': 1.5, 'scaleY': 1.5, 'alpha': 0 }, 600).call(function() { _1sxa && _1sxa(); }); }, _1sx4; }(PIXI.Container); }, 425: function(_1sxc, _1sxd, _1sxe) { 'use strict'; var _1sxf = null; var _1sxg, _1sxh = this && this.__extends || (_1sxg = function(_1sxi, _1sxj) { var _1sxk = null; return _1sxg = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1sxl, _1sxm) { var _1sxn = null; _1sxl.__proto__ = _1sxm; } || function(_1sxo, _1sxp) { var _1sxq = null; for (var _1sxr in _1sxp) Object.prototype.hasOwnProperty.call(_1sxp, _1sxr) && (_1sxo[_1sxr] = _1sxp[_1sxr]); }, _1sxg(_1sxi, _1sxj); }, function(_1sxs, _1sxt) { var _1sxu = null; if ('function' != typeof _1sxt && null !== _1sxt) throw new TypeError('Class extends value ' + String(_1sxt) + ' is not a constructor or null'); function _1sxv() { var _1sxw = null; this.constructor = _1sxs; } _1sxg(_1sxs, _1sxt), _1sxs.prototype = null === _1sxt ? Object.create(_1sxt) : (_1sxv.prototype = _1sxt.prototype, new _1sxv()); }), _1sxx = this && this.__importDefault || function(_1sxy) { var _1sxz = null; return _1sxy && _1sxy.__esModule ? _1sxy : { 'default': _1sxy }; }; defineModule(_1sxd); Object.defineProperty(_1sxd, '__esModule', { 'value': !0 }), _1sxd.PreloadCutinNelsonTouch = _1sxd.CutinNelsonTouch = void 0; var _1sy0 = _1sxx(_1sxe(18622)), _1sy1 = _1sxe(81755), _1sy2 = _1sxe(54011), _1sy3 = _1sxe(22434), _1sy4 = _1sxe(20137), _1sy5 = _1sxe(69192), _1sy6 = function(_1sy7) { var _1sy8 = null; function _1sy9(_1sya) { var _1syb = null, _1syc = _1sy7.call(this) || this; _1syc._preAnim = function() { var _1syd = null; for (var _1sye = 0; _1sye < _1syc._canvas.chara.length; _1sye++) _1syc._canvas.chara[_1sye].alpha = 0; _1syc._nelson.texture = _1sy0.default.resources.getShip(_1syc._attackers[0].mst_id, !1, 'special'), _1syc._nelson.position.set(-117, 208), _1syc._nelson.alpha = 0; for (_1sye = 0; _1sye < _1syc._attackers.length; _1sye++) { var _1syf = _1syc._attackers[_1sye].mst_id, _1syg = 0 != _1sye && _1syc._attackers[_1sye].isDamaged(), _1syh = _1sy0.default.model.ship_graph.get(_1syf).getBattleOffset(_1syg); _1syc._ships[_1sye].texture = _1sy0.default.resources.getShip(_1syf, _1syg, 'full'), _1syc._ships[_1sye].position.set(_1syh.x, _1syh.y), _1syc._canvas.chara[_1sye].addChild(_1syc._ships[_1sye]), _1syc._canvas.chara[_1sye].position.set(0 - _1syc._ships[_1sye].width, 720 + _1syc._ships[_1sye].height); } _1syc._canvas.chara[0].addChild(_1syc._nelson), _1syc._anim1(); }, _1syc._anim2 = function() { var _1syi = null; createjs.Tween.get(null).wait(function(_1syj) { switch (_1syj) { case 572: case 577: return 1000; default: return 500; } }(_1syc._attackers[0].mst_id)).call(function() { var _1syk = null; createjs.Tween.get(_1syc._ships[0]).to({ 'alpha': 0 }, 400), createjs.Tween.get(_1syc._nelson).to({ 'alpha': 1 }, 400); var _1syl = _1syc._createSmoke(82, 981, 240); _1syc._canvas.explosion.addChild(_1syl), _1syl.createTweens(700, null); var _1sym = _1syc._createSmoke(83, 752, 192); _1syc._canvas.explosion.addChild(_1sym), _1sym.createTweens(800, null); var _1syn = _1syc._createSmoke(84, 480, 321); _1syc._canvas.explosion.addChild(_1syn), _1syn.createTweens(900, _1syc._anim3); }); }, _1syc._anim3 = function() { var _1syo = null; createjs.Tween.get(_1syc._canvas.chara[0]).wait(400).to({ 'x': 307, 'y': -240, 'alpha': 1 }, 300), createjs.Tween.get(_1syc._canvas.chara[1]).wait(450).to({ 'x': 65, 'y': -65, 'alpha': 1 }, 500), createjs.Tween.get(_1syc._canvas.chara[2]).wait(500).to({ 'x': -323, 'y': 34, 'alpha': 1 }, 500).call(function() { var _1syp = null; _1syc._anim4(); }); }, _1syc._anim4 = function() { var _1syq = null; createjs.Tween.get(_1syc._canvas.chara[0]).wait(500).call(function() { var _1syr = null; createjs.Tween.get(_1syc._canvas.chara[0]).to({ 'alpha': 0 }, 500), createjs.Tween.get(_1syc._canvas.chara[1]).to({ 'alpha': 0 }, 500), createjs.Tween.get(_1syc._canvas.chara[2]).to({ 'alpha': 0 }, 500); }).wait(600).call(function() { var _1sys = null; _1syc._endTask(); }); }, _1syc._attackers = _1sya, _1syc._canvas = new _1sy5.CutinNelsonTouchCanvas(), _1syc._view = new PIXI.Container(), _1syc.view.addChild(_1syc._canvas), _1syc._nelson = new PIXI.Sprite(), _1syc._ships = []; for (var _1syt = 0; _1syt < _1syc._attackers.length; _1syt++) _1syc._ships.push(new PIXI.Sprite()); return _1syc._preload_task = new _1syu(_1sya), _1syc; } return _1sxh(_1sy9, _1sy7), Object.defineProperty(_1sy9.prototype, 'view', { 'get': function() { var _1syv = null; return this._view; }, 'enumerable': !1, 'configurable': !0 }), _1sy9.prototype.getPreloadTask = function() { var _1syw = null; return this._preload_task; }, _1sy9.prototype._start = function() { var _1syx = null, _1syy = this; this._preload_task.start(function() { var _1syz = null; _1syy._preAnim(); }); }, _1sy9.prototype._anim1 = function() { var _1sz0 = null; for (var _1sz1 = 0; _1sz1 < this._canvas.chara.length; _1sz1++) this._canvas.chara[_1sz1].alpha = 0; _1sy0.default.sound.voice.play(this._attackers[0].mst_id.toString(), 900), createjs.Tween.get(this._canvas.chara[0]).to({ 'x': -140, 'y': -142, 'alpha': 1 }, 600).call(this._anim2); }, _1sy9.prototype._createSmoke = function(_1sz2, _1sz3, _1sz4) { var _1sz5 = null, _1sz6 = new _1sz7(); return _1sz6.initialize(_1sz2), _1sz6.x = _1sz3, _1sz6.y = _1sz4, _1sz6; }, _1sy9.prototype._endTask = function() { var _1sz8 = null; this._canvas.dispose(), this._view.removeChildren(), null != this._view.parent && this._view.parent.removeChild(this._view), this._attackers = null, this._view = null, this._canvas = null, this._ships = null, this._nelson = null, this._preload_task = null, _1sy7.prototype._endTask.call(this); }, _1sy9; }(_1sy1.TaskBase); _1sxd.CutinNelsonTouch = _1sy6; var _1syu = function(_1sz9) { var _1sza = null; function _1szb(_1szc) { var _1szd = null, _1sze = _1sz9.call(this) || this; return _1sze._attackers = _1szc, _1sze; } return _1sxh(_1szb, _1sz9), _1szb.prototype._start = function() { var _1szf = null; this._loadShipImage(); }, _1szb.prototype._loadShipImage = function() { var _1szg = null, _1szh = this, _1szi = new _1sy4.ShipLoader(); _1szi.add(this._attackers[0].mst_id, !1, 'full'), _1szi.add(this._attackers[0].mst_id, !1, 'special'); for (var _1szj = 1; _1szj < this._attackers.length; _1szj++) _1szi.add(this._attackers[_1szj].mst_id, this._attackers[_1szj].isDamaged(), 'full'); _1szi.load(function() { var _1szk = null; _1szh._endTask(); }); }, _1szb; }(_1sy1.TaskBase); _1sxd.PreloadCutinNelsonTouch = _1syu; var _1sz7 = function(_1szl) { var _1szm = null; function _1szn() { var _1szo = null, _1szp = _1szl.call(this) || this; return _1szp._img = new _1sy2.Sprite(), _1szp._img.anchor.set(0.35, 0.8), _1szp._img.scale.set(0), _1szp.addChild(_1szp._img), _1szp; } return _1sxh(_1szn, _1szl), _1szn.prototype.initialize = function(_1szq) { var _1szr = null; this._img.texture = _1sy3.BATTLE_MAIN.getTexture(_1szq); }, _1szn.prototype.createTweens = function(_1szs, _1szt) { var _1szu = null; createjs.Tween.get(this._img).wait(_1szs).to({ 'scaleX': 1.2, 'scaleY': 1.2 }, 300).to({ 'scaleX': 1.5, 'scaleY': 1.5, 'alpha': 0 }, 600).call(function() { _1szt && _1szt(); }); }, _1szn; }(PIXI.Container); }, 58441: function(_1szv, _1szw, _1szx) { 'use strict'; var _1szy = null; var _1szz, _1t00 = this && this.__extends || (_1szz = function(_1t01, _1t02) { var _1t03 = null; return _1szz = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1t04, _1t05) { var _1t06 = null; _1t04.__proto__ = _1t05; } || function(_1t07, _1t08) { var _1t09 = null; for (var _1t0a in _1t08) Object.prototype.hasOwnProperty.call(_1t08, _1t0a) && (_1t07[_1t0a] = _1t08[_1t0a]); }, _1szz(_1t01, _1t02); }, function(_1t0b, _1t0c) { var _1t0d = null; if ('function' != typeof _1t0c && null !== _1t0c) throw new TypeError('Class extends value ' + String(_1t0c) + ' is not a constructor or null'); function _1t0e() { var _1t0f = null; this.constructor = _1t0b; } _1szz(_1t0b, _1t0c), _1t0b.prototype = null === _1t0c ? Object.create(_1t0c) : (_1t0e.prototype = _1t0c.prototype, new _1t0e()); }), _1t0g = this && this.__importDefault || function(_1t0h) { var _1t0i = null; return _1t0h && _1t0h.__esModule ? _1t0h : { 'default': _1t0h }; }; defineModule(_1szw); Object.defineProperty(_1szw, '__esModule', { 'value': !0 }), _1szw.CutinResourcesPreloadTask = void 0; var _1t0j = _1t0g(_1szx(18622)), _1t0k = _1szx(51805), _1t0l = _1szx(81755), _1t0m = _1szx(20137), _1t0n = _1szx(37760), _1t0o = _1szx(14921), _1t0p = function(_1t0q) { var _1t0r = null; function _1t0s(_1t0t, _1t0u, _1t0v, _1t0w, _1t0x, _1t0y) { var _1t0z = null; void 0 === _1t0w && (_1t0w = 0), void 0 === _1t0x && (_1t0x = 0), void 0 === _1t0y && (_1t0y = 0); var _1t10 = _1t0q.call(this) || this; return _1t10._ship_mst_id = _1t0t, _1t10._ship_damaged = _1t0u, _1t10._use_slotchara_image = _1t0v, _1t10._slot_mst_id1 = _1t0w, _1t10._slot_mst_id2 = _1t0x, _1t10._slot_mst_id3 = _1t0y, _1t10; } return _1t00(_1t0s, _1t0q), Object.defineProperty(_1t0s.prototype, 'slot_mst_id1', { 'get': function() { var _1t11 = null; return this._slot_mst_id1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1t0s.prototype, 'slot_mst_id2', { 'get': function() { var _1t12 = null; return this._slot_mst_id2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1t0s.prototype, 'slot_mst_id3', { 'get': function() { var _1t13 = null; return this._slot_mst_id3; }, 'enumerable': !1, 'configurable': !0 }), _1t0s.prototype.getShipTexture = function() { var _1t14 = null; return _1t0j.default.resources.getShip(this._ship_mst_id, this._ship_damaged, 'full'); }, _1t0s.prototype.getShipOffset = function() { var _1t15 = null; return _1t0j.default.model.ship_graph.get(this._ship_mst_id).getBattleOffset(this._ship_damaged); }, _1t0s.prototype.getSlot1Texture = function() { var _1t16 = null; return this._getSlotTexture(this._slot_mst_id1); }, _1t0s.prototype.getSlot2Texture = function() { var _1t17 = null; return this._getSlotTexture(this._slot_mst_id2); }, _1t0s.prototype.getSlot3Texture = function() { var _1t18 = null; return this._getSlotTexture(this._slot_mst_id3); }, _1t0s.prototype._getSlotTexture = function(_1t19) { var _1t1a = null; return 1 == this._isCharaOnImage(_1t19) ? _1t0j.default.resources.getSlotitem(_1t19, 'item_on') : _1t0j.default.resources.getSlotitem(_1t19, 'item_up'); }, _1t0s.prototype._start = function() { var _1t1b = null; this._loadShipImage(); }, _1t0s.prototype._loadShipImage = function() { var _1t1c = null, _1t1d = this, _1t1e = new _1t0m.ShipLoader(); _1t1e.add(this._ship_mst_id, this._ship_damaged, 'full'), _1t1e.load(function() { var _1t1f = null; _1t1d._loadSlotsTextImage(); }); }, _1t0s.prototype._loadSlotsTextImage = function() { var _1t1g = null, _1t1h = this, _1t1i = new _1t0n.SlotLoader(); this._slot_mst_id1 > 0 && this._addLoadTask(_1t1i, this._slot_mst_id1), this._slot_mst_id2 > 0 && this._addLoadTask(_1t1i, this._slot_mst_id2), this._slot_mst_id3 > 0 && this._addLoadTask(_1t1i, this._slot_mst_id3), _1t1i.load(function() { var _1t1j = null; _1t1h._endTask(); }); }, _1t0s.prototype._addLoadTask = function(_1t1k, _1t1l) { var _1t1m = null; 1 == this._isCharaOnImage(_1t1l) ? _1t1k.add(_1t1l, 'item_on') : _1t1k.add(_1t1l, 'item_up'), _1t1k.add(_1t1l, 'btxt_flat'); }, _1t0s.prototype._isCharaOnImage = function(_1t1n) { var _1t1o = null; if (_1t1n <= 0) return !1; if (_1t0o.SlotUtil.isEnemyItem(_1t1n)) return !1; var _1t1p = _1t0j.default.model.slot.getMst(_1t1n); if (null == _1t1p) return !1; if (0 == this._use_slotchara_image) return !1; var _1t1q = _1t1p.equipTypeSp; return _1t1q == _1t0k.EquipType._12_DENTAN_S || (_1t1q == _1t0k.EquipType._13_DENTAN_L || (_1t1q == _1t0k.EquipType._93_DENTAN_L || (129 == _1t1n || 412 == _1t1n))); }, _1t0s; }(_1t0l.TaskBase); _1szw.CutinResourcesPreloadTask = _1t0p; }, 43136: function(_1t1r, _1t1s, _1t1t) { 'use strict'; var _1t1u = null; var _1t1v, _1t1w = this && this.__extends || (_1t1v = function(_1t1x, _1t1y) { var _1t1z = null; return _1t1v = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1t20, _1t21) { var _1t22 = null; _1t20.__proto__ = _1t21; } || function(_1t23, _1t24) { var _1t25 = null; for (var _1t26 in _1t24) Object.prototype.hasOwnProperty.call(_1t24, _1t26) && (_1t23[_1t26] = _1t24[_1t26]); }, _1t1v(_1t1x, _1t1y); }, function(_1t27, _1t28) { var _1t29 = null; if ('function' != typeof _1t28 && null !== _1t28) throw new TypeError('Class extends value ' + String(_1t28) + ' is not a constructor or null'); function _1t2a() { var _1t2b = null; this.constructor = _1t27; } _1t1v(_1t27, _1t28), _1t27.prototype = null === _1t28 ? Object.create(_1t28) : (_1t2a.prototype = _1t28.prototype, new _1t2a()); }), _1t2c = this && this.__importDefault || function(_1t2d) { var _1t2e = null; return _1t2d && _1t2d.__esModule ? _1t2d : { 'default': _1t2d }; }; defineModule(_1t1s); Object.defineProperty(_1t1s, '__esModule', { 'value': !0 }), _1t1s.CutinSSAttack = void 0; var _1t2f, _1t2g = _1t2c(_1t1t(21359)), _1t2h = _1t2c(_1t1t(18622)), _1t2i = _1t1t(81755), _1t2j = _1t1t(20137), _1t2k = _1t1t(57616); ! function(_1t2l) { var _1t2m = null; _1t2l[_1t2l.FLAG_SHIP = 0] = 'FLAG_SHIP', _1t2l[_1t2l.ATTACKER1 = 1] = 'ATTACKER1', _1t2l[_1t2l.ATTACKER2 = 2] = 'ATTACKER2'; }(_1t2f || (_1t2f = {})); var _1t2n = function(_1t2o) { var _1t2p = null; function _1t2q(_1t2r) { var _1t2s = null, _1t2t = _1t2o.call(this) || this; _1t2t._preAnim = function() { var _1t2u = null, _1t2v = _1t2t._shipModels[_1t2f.FLAG_SHIP]; _1t2t._ships[_1t2f.FLAG_SHIP].texture = _1t2h.default.resources.getShip(_1t2v.mst_id, _1t2v.isDamaged(), 'special'); var _1t2w = _1t2t._getFlagShipPosition(_1t2v.mst_id, _1t2v.isDamaged()); _1t2t._ships[_1t2f.FLAG_SHIP].position.set(_1t2w.x, _1t2w.y), _1t2t._falgship_view.addChild(_1t2t._ships[0]), _1t2t._falgship_view.position.set(-_1t2g.default.width, 0); for (var _1t2x = 1; _1t2x < _1t2t._shipModels.length; _1t2x++) { var _1t2y = _1t2t._shipModels[_1t2x].mst_id, _1t2z = _1t2t._shipModels[_1t2x].isDamaged(); _1t2t._ships[_1t2x].texture = _1t2h.default.resources.getShip(_1t2y, _1t2z, 'full'); var _1t30 = _1t2h.default.model.ship_graph.get(_1t2y).getFaceRect(!1), _1t31 = _1t2t._shipModels.length - 1 - _1t2x, _1t32 = _1t2h.default.model.ship_graph.get(_1t2y).getPaOffsetForSS(), _1t33 = _1t32.scale > 0 ? _1t32.scale : 1, _1t34 = _1t30.x + _1t30.width / 2, _1t35 = _1t30.y + _1t30.height / 2, _1t36 = _1t2k.MathUtil.round(_1t34 / _1t2t._ships[_1t2x].width, 3), _1t37 = _1t2k.MathUtil.round(_1t35 / _1t2t._ships[_1t2x].height, 3); _1t2t._ships[_1t2x].scale.set(1 * _1t33), _1t2t._ships[_1t2x].anchor.set(_1t36, _1t37); var _1t38 = _1t2g.default.width / 2 - (260 * _1t31 + 194), _1t39 = 222 + 111 * _1t2x + _1t32.offset_y; _1t2t._ships[_1t2x].position.set(_1t38, _1t39), _1t2t._attacker_view.attacker[_1t2x - 1].addChild(_1t2t._ships[_1t2x]); } _1t2t._attacker_view.position.set(-_1t2g.default.width, 0), _1t2t._falgship_view.alpha = 0, _1t2t._attacker_view.alpha = 0, _1t2t._flagShipSlidIn(); }, _1t2t._flagShipSlidIn = function() { var _1t3a = null, _1t3b = _1t2t._shipModels[_1t2f.FLAG_SHIP].isDamaged() ? 901 : 900; _1t2h.default.sound.voice.play(_1t2t._shipModels[_1t2f.FLAG_SHIP].mst_id.toString(), _1t3b), createjs.Tween.get(_1t2t._falgship_view).to({ 'x': 0, 'alpha': 1 }, 1200, createjs.Ease.sineOut).wait(800).call(_1t2t._attackerSlideIn); }, _1t2t._attackerSlideIn = function() { var _1t3c = null; createjs.Tween.get(_1t2t._attacker_view).to({ 'x': 0, 'alpha': 1 }, 1200, createjs.Ease.sineOut).wait(3200).call(_1t2t._attackerMoveForwrd); }, _1t2t._attackerMoveForwrd = function() { var _1t3d = null; createjs.Tween.get(_1t2t._attacker_view).to({ 'x': 290 }, 400).wait(800).call(function() { var _1t3e = null; _1t2t._view.emit('attack'); }).wait(400).call(_1t2t._attack); }, _1t2t._attack = function() { var _1t3f = null; for (var _1t3g = [3, -3, 3, -3, 3, -3, 3, 0], _1t3h = createjs.Tween.get(_1t2t._attacker_view), _1t3i = 0; _1t3i < _1t3g.length; _1t3i++) _1t3h.to({ 'y': _1t3g[_1t3i] }, 45); _1t3h.wait(1200), _1t3h.call(_1t2t._remove); }, _1t2t._remove = function() { var _1t3j = null; createjs.Tween.get(_1t2t._attacker_view).to({ 'x': 0, 'alpha': 1 }, 400), createjs.Tween.get(_1t2t._view).wait(400).to({ 'x': -_1t2g.default.width / 2, 'alpha': 0 }, 400).call(function() { var _1t3k = null; _1t2t._endTask(); }); }, _1t2t._shipModels = _1t2r, _1t2t._view = new PIXI.Container(), _1t2t._falgship_view = new PIXI.Container(), _1t2t._attacker_view = new _1t3l(), _1t2t._preload_task = new _1t3m(_1t2r), _1t2t._ships = []; for (var _1t3n = 0; _1t3n < _1t2t._shipModels.length; _1t3n++) _1t2t._ships.push(new PIXI.Sprite()); return _1t2t._view.addChild(_1t2t._falgship_view), _1t2t._view.addChild(_1t2t._attacker_view), _1t2t; } return _1t1w(_1t2q, _1t2o), Object.defineProperty(_1t2q.prototype, 'view', { 'get': function() { var _1t3o = null; return this._view; }, 'enumerable': !1, 'configurable': !0 }), _1t2q.prototype.getPreloadTask = function() { var _1t3p = null; return this._preload_task; }, _1t2q.prototype._start = function() { var _1t3q = null, _1t3r = this; this._preload_task.start(function() { var _1t3s = null; _1t3r._preAnim(); }); }, _1t2q.prototype._getFlagShipPosition = function(_1t3t, _1t3u) { var _1t3v = null; switch (_1t3t) { case 634: case 639: return new PIXI.Point(-167, 36); case 184: return new PIXI.Point(-16, 5); case 635: case 640: return new PIXI.Point(-134, 13); case 944: case 949: return new PIXI.Point(-132, 19); default: return new PIXI.Point(0, 0); } }, _1t2q.prototype._endTask = function() { var _1t3w = null, _1t3x; this._attacker_view.dispose(), this._view.removeChildren(), this._falgship_view.removeChildren(), null != this._view.parent && this._view.parent.removeChild(this._view), this._shipModels = null, this._view = null, null === (_1t3x = this._ships) || void 0 === _1t3x || _1t3x.forEach(function(_1t3y) { var _1t3z = null; return null == _1t3y ? void 0 : _1t3y.destroy(); }), this._ships.length = 0, this._ships = null, _1t2o.prototype._endTask.call(this); }, _1t2q; }(_1t2i.TaskBase); _1t1s.CutinSSAttack = _1t2n; var _1t3m = function(_1t40) { var _1t41 = null; function _1t42(_1t43) { var _1t44 = null, _1t45 = _1t40.call(this) || this; return _1t45._attackers = _1t43, _1t45; } return _1t1w(_1t42, _1t40), _1t42.prototype._start = function() { var _1t46 = null; this._loadShipImage(); }, _1t42.prototype._loadShipImage = function() { var _1t47 = null, _1t48 = this, _1t49 = new _1t2j.ShipLoader(); _1t49.add(this._attackers[0].mst_id, this._attackers[0].isDamaged(), 'special'); for (var _1t4a = 1; _1t4a < this._attackers.length; _1t4a++) _1t49.add(this._attackers[_1t4a].mst_id, this._attackers[_1t4a].isDamaged(), 'full'); _1t49.load(function() { var _1t4b = null; _1t48._endTask(); }); }, _1t42; }(_1t2i.TaskBase), _1t3l = function(_1t4c) { var _1t4d = null; function _1t4e() { var _1t4f = null, _1t4g = _1t4c.call(this) || this; _1t4g._attacker = []; for (var _1t4h = 0; _1t4h < 2; _1t4h++) { var _1t4i = new PIXI.Container(); _1t4g._attacker.push(_1t4i), _1t4g.addChild(_1t4i); } return _1t4g; } return _1t1w(_1t4e, _1t4c), Object.defineProperty(_1t4e.prototype, 'attacker', { 'get': function() { var _1t4j = null; return this._attacker; }, 'enumerable': !1, 'configurable': !0 }), _1t4e.prototype.dispose = function() { var _1t4k = null; this._attacker.map(function(_1t4l) { var _1t4m = null; return _1t4l.removeChildren(); }), this._attacker.length = 0, this.removeChildren(), this._attacker = null; }, _1t4e; }(PIXI.Container); }, 47675: function(_1t4n, _1t4o, _1t4p) { 'use strict'; var _1t4q = null; var _1t4r, _1t4s = this && this.__extends || (_1t4r = function(_1t4t, _1t4u) { var _1t4v = null; return _1t4r = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1t4w, _1t4x) { var _1t4y = null; _1t4w.__proto__ = _1t4x; } || function(_1t4z, _1t50) { var _1t51 = null; for (var _1t52 in _1t50) Object.prototype.hasOwnProperty.call(_1t50, _1t52) && (_1t4z[_1t52] = _1t50[_1t52]); }, _1t4r(_1t4t, _1t4u); }, function(_1t53, _1t54) { var _1t55 = null; if ('function' != typeof _1t54 && null !== _1t54) throw new TypeError('Class extends value ' + String(_1t54) + ' is not a constructor or null'); function _1t56() { var _1t57 = null; this.constructor = _1t53; } _1t4r(_1t53, _1t54), _1t53.prototype = null === _1t54 ? Object.create(_1t54) : (_1t56.prototype = _1t54.prototype, new _1t56()); }); defineModule(_1t4o); Object.defineProperty(_1t4o, '__esModule', { 'value': !0 }), _1t4o.CutinSpRDJ = void 0; var _1t58 = _1t4p(81755), _1t59 = _1t4p(87475), _1t5a = _1t4p(58441), _1t5b = _1t4p(69595), _1t5c = _1t4p(54427), _1t5d = _1t4p(87737), _1t5e = function(_1t5f) { var _1t5g = null; function _1t5h(_1t5i, _1t5j, _1t5k, _1t5l) { var _1t5m = null, _1t5n = _1t5f.call(this) || this; return _1t5n._attacker = _1t5i, _1t5n._slot1 = _1t5j, _1t5n._slot2 = _1t5k, _1t5n._slot3 = _1t5l, _1t5n._friend = _1t5n._attacker.friend, _1t5n._canvas = new _1t5b.CutinCanvasSpRDJ(), _1t5n._view = new PIXI.Container(), _1t5n.view.addChild(_1t5n._canvas), _1t5n._ship = new PIXI.Sprite(), _1t5n; } return _1t4s(_1t5h, _1t5f), Object.defineProperty(_1t5h.prototype, 'view', { 'get': function() { var _1t5o = null; return this._view; }, 'enumerable': !1, 'configurable': !0 }), _1t5h.prototype.preload = function(_1t5p) { var _1t5q = null; if (null != this._preload_task) _1t5p(); else { var _1t5r = this._attacker.mst_id, _1t5s = this._attacker.isDamaged(), _1t5t = null == this._slot1 ? 0 : this._slot1.mstID, _1t5u = null == this._slot2 ? 0 : this._slot2.mstID, _1t5v = null == this._slot3 ? 0 : this._slot3.mstID; this._preload_task = new _1t5a.CutinResourcesPreloadTask(_1t5r, _1t5s, !0, _1t5t, _1t5u, _1t5v), this._preload_task.start(function() { _1t5p(); }); } }, _1t5h.prototype._start = function() { var _1t5w = null; this._ready(); }, _1t5h.prototype._ready = function() { var _1t5x = null; this._ship.texture = this._preload_task.getShipTexture(); var _1t5y = this._preload_task.getShipOffset(); this._ship.position.set(_1t5y.x, _1t5y.y), this._canvas.chara.addChild(this._ship), this._shipFlash = new _1t5d.ShipFlash(this._preload_task.getShipTexture()), this._shipFlash.position.set(_1t5y.x, _1t5y.y), this._canvas.chara.addChild(this._shipFlash), this._canvas.chara.alpha = 0, this._friend ? (this._canvas.chara.x = -225, this._canvas.chara.y = -87) : (this._canvas.chara.x = 483, this._canvas.chara.y = -138), this._canvas.initialize(this._friend, this._preload_task), this._anim1(); }, _1t5h.prototype._anim1 = function() { var _1t5z = null, _1t60 = this; this._canvas.bg.show(366), createjs.Tween.get(this._canvas.chara).wait(200).to({ 'x': (this._friend ? 0 : 465) - 104, 'alpha': 1 }, 366).wait(1200).call(function() { var _1t61 = null; _1t60._anim2(); }), this._canvas.layer_item1.show(400), this._canvas.layer_item2.show(833), this._canvas.layer_item3.show(1266), this._canvas.layer_wave.show(533), this._canvas.layer_names.show(400); }, _1t5h.prototype._anim2 = function() { var _1t62 = null, _1t63 = this; this.view.emit('attack'), createjs.Tween.get(this._canvas.chara).call(function() { var _1t64 = null; _1t63._shipFlash.play(); }).wait(200).call(function() { var _1t65 = null; _1t63._anim3(); }); }, _1t5h.prototype._anim3 = function() { var _1t66 = null, _1t67 = this; this._canvas.layer_item1.hide(0), this._canvas.layer_item2.hide(0), this._canvas.layer_item3.hide(0); var _1t68 = new _1t5c.IntensiveLines(); _1t68.initialize(), _1t68.alpha = 0, this._view.addChild(_1t68), _1t68.activate(), createjs.Tween.get(_1t68).to({ 'alpha': 1 }, 200); var _1t69 = new _1t59.FadeBox(1, 16777215); _1t69.alpha = 0, this._view.addChild(_1t69), createjs.Tween.get(_1t69).to({ 'alpha': 1 }, 500).call(function() { var _1t6a = null; _1t67._anim4(_1t68, _1t69); }); }, _1t5h.prototype._anim4 = function(_1t6b, _1t6c) { var _1t6d = null, _1t6e = this; this._canvas.dispose(), createjs.Tween.get(_1t6b).to({ 'alpha': 0 }, 300), createjs.Tween.get(_1t6c).to({ 'alpha': 0 }, 300).call(function() { var _1t6f = null; _1t6b.deactivate(), _1t6e._view.removeChild(_1t6b), _1t6e._view.removeChild(_1t6c), _1t6e._endTask(); }); }, _1t5h.prototype._endTask = function() { var _1t6g = null; this._attacker = null, this._slot1 = null, this._slot2 = null, this._slot3 = null, null != this._view.parent && this._view.parent.removeChild(this._view), this._view = null, this._canvas = null, this._ship = null, this._preload_task = null, _1t5f.prototype._endTask.call(this); }, _1t5h; }(_1t58.TaskBase); _1t4o.CutinSpRDJ = _1t5e; }, 99929: function(_1t6h, _1t6i, _1t6j) { 'use strict'; var _1t6k = null; var _1t6l, _1t6m = this && this.__extends || (_1t6l = function(_1t6n, _1t6o) { var _1t6p = null; return _1t6l = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1t6q, _1t6r) { var _1t6s = null; _1t6q.__proto__ = _1t6r; } || function(_1t6t, _1t6u) { var _1t6v = null; for (var _1t6w in _1t6u) Object.prototype.hasOwnProperty.call(_1t6u, _1t6w) && (_1t6t[_1t6w] = _1t6u[_1t6w]); }, _1t6l(_1t6n, _1t6o); }, function(_1t6x, _1t6y) { var _1t6z = null; if ('function' != typeof _1t6y && null !== _1t6y) throw new TypeError('Class extends value ' + String(_1t6y) + ' is not a constructor or null'); function _1t70() { var _1t71 = null; this.constructor = _1t6x; } _1t6l(_1t6x, _1t6y), _1t6x.prototype = null === _1t6y ? Object.create(_1t6y) : (_1t70.prototype = _1t6y.prototype, new _1t70()); }), _1t72 = this && this.__importDefault || function(_1t73) { var _1t74 = null; return _1t73 && _1t73.__esModule ? _1t73 : { 'default': _1t73 }; }; defineModule(_1t6i); Object.defineProperty(_1t6i, '__esModule', { 'value': !0 }), _1t6i.CutinSpRR = void 0; var _1t75 = _1t72(_1t6j(18622)), _1t76 = _1t6j(81755), _1t77 = _1t6j(87475), _1t78 = _1t6j(20137), _1t79 = _1t6j(37760), _1t7a = _1t6j(75803), _1t7b = _1t6j(54427), _1t7c = _1t6j(87737), _1t7d = function(_1t7e) { var _1t7f = null; function _1t7g() { var _1t7h = null, _1t7i = _1t7e.call(this) || this; return _1t7i._view = new PIXI.Container(), _1t7i; } return _1t6m(_1t7g, _1t7e), Object.defineProperty(_1t7g.prototype, 'view', { 'get': function() { var _1t7j = null; return this._view; }, 'enumerable': !1, 'configurable': !0 }), _1t7g.prototype.preload = function(_1t7k, _1t7l, _1t7m, _1t7n) { var _1t7o = null, _1t7p = this; this._attacker = _1t7k, this._slot1 = _1t7l, this._slot2 = _1t7m; var _1t7q = new _1t78.ShipLoader(); _1t7q.add(this._attacker.mst_id, this._attacker.isDamaged(), 'full'), _1t7q.load(function() { var _1t7r = null, _1t7s = null == _1t7p._slot1 ? 0 : _1t7p._slot1.mstID, _1t7t = null == _1t7p._slot2 ? 0 : _1t7p._slot2.mstID, _1t7u = new _1t79.SlotLoader(); _1t7s > 0 && (_1t7u.add(_1t7s, 'item_up'), _1t7u.add(_1t7s, 'btxt_flat')), _1t7t > 0 && (_1t7u.add(_1t7t, 'item_up'), _1t7u.add(_1t7t, 'btxt_flat')), _1t7u.load(function() { null != _1t7n && _1t7n(); }); }); }, _1t7g.prototype._start = function() { var _1t7v = null; this._canvas = new _1t7a.CutinCanvasSpRR(), this.view.addChild(this._canvas), this._ship = new PIXI.Sprite(), this._ready(); }, _1t7g.prototype._ready = function() { var _1t7w = null, _1t7x = this._attacker.mst_id, _1t7y = this._attacker.isDamaged(), _1t7z = _1t75.default.model.ship_graph.get(_1t7x).getBattleOffset(_1t7y); this._ship.texture = _1t75.default.resources.getShip(_1t7x, _1t7y, 'full'), this._ship.position.set(_1t7z.x, _1t7z.y), this._canvas.chara.addChild(this._ship), this._shipFlash = new _1t7c.ShipFlash(_1t75.default.resources.getShip(_1t7x, _1t7y, 'full')), this._shipFlash.position.set(_1t7z.x, _1t7z.y), this._canvas.chara.addChild(this._shipFlash), this._canvas.chara.alpha = 0, this._attacker.friend ? (this._canvas.chara.x = -225, this._canvas.chara.y = -87) : (this._canvas.chara.x = 483, this._canvas.chara.y = -138), this._canvas.initialize(this._attacker.friend, this._slot1.mstID, this._slot2.mstID), this._anim1(); }, _1t7g.prototype._anim1 = function() { var _1t80 = null, _1t81 = this; this._canvas.bg.show(366), createjs.Tween.get(this._canvas.chara).wait(200).to({ 'x': (this._attacker.friend ? 0 : 465) - 104, 'alpha': 1 }, 366).wait(1200).call(function() { var _1t82 = null; _1t81._anim2(); }), this._canvas.layer_item1.show(400), this._canvas.layer_item2.show(833), this._canvas.layer_item3.show(1266), this._canvas.layer_wave.show(533), this._canvas.layer_names.show(400); }, _1t7g.prototype._anim2 = function() { var _1t83 = null, _1t84 = this; this.view.emit('attack'), createjs.Tween.get(this._canvas.chara).call(function() { var _1t85 = null; _1t84._shipFlash.play(); }).wait(200).call(function() { var _1t86 = null; _1t84._anim3(); }); }, _1t7g.prototype._anim3 = function() { var _1t87 = null, _1t88 = this, _1t89 = new _1t7b.IntensiveLines(); _1t89.initialize(), _1t89.alpha = 0, this._view.addChild(_1t89), _1t89.activate(), createjs.Tween.get(_1t89).to({ 'alpha': 1 }, 200); var _1t8a = new _1t77.FadeBox(1, 16777215); _1t8a.alpha = 0, this._view.addChild(_1t8a), createjs.Tween.get(_1t8a).to({ 'alpha': 1 }, 500).call(function() { var _1t8b = null; _1t88._anim4(_1t89, _1t8a); }); }, _1t7g.prototype._anim4 = function(_1t8c, _1t8d) { var _1t8e = null, _1t8f = this; this._canvas.dispose(), createjs.Tween.get(_1t8c).to({ 'alpha': 0 }, 300), createjs.Tween.get(_1t8d).to({ 'alpha': 0 }, 300).call(function() { var _1t8g = null; _1t8c.deactivate(), _1t8f._view.removeChild(_1t8c), _1t8f._view.removeChild(_1t8d), _1t8f._endTask(); }); }, _1t7g.prototype._endTask = function() { var _1t8h = null; this._attacker = null, this._slot1 = null, this._slot2 = null, null != this._view.parent && this._view.parent.removeChild(this._view), this._view = null, this._canvas = null, this._ship = null, _1t7e.prototype._endTask.call(this); }, _1t7g; }(_1t76.TaskBase); _1t6i.CutinSpRR = _1t7d; }, 99411: function(_1t8i, _1t8j, _1t8k) { 'use strict'; var _1t8l = null; var _1t8m, _1t8n = this && this.__extends || (_1t8m = function(_1t8o, _1t8p) { var _1t8q = null; return _1t8m = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1t8r, _1t8s) { var _1t8t = null; _1t8r.__proto__ = _1t8s; } || function(_1t8u, _1t8v) { var _1t8w = null; for (var _1t8x in _1t8v) Object.prototype.hasOwnProperty.call(_1t8v, _1t8x) && (_1t8u[_1t8x] = _1t8v[_1t8x]); }, _1t8m(_1t8o, _1t8p); }, function(_1t8y, _1t8z) { var _1t90 = null; if ('function' != typeof _1t8z && null !== _1t8z) throw new TypeError('Class extends value ' + String(_1t8z) + ' is not a constructor or null'); function _1t91() { var _1t92 = null; this.constructor = _1t8y; } _1t8m(_1t8y, _1t8z), _1t8y.prototype = null === _1t8z ? Object.create(_1t8z) : (_1t91.prototype = _1t8z.prototype, new _1t91()); }), _1t93 = this && this.__importDefault || function(_1t94) { var _1t95 = null; return _1t94 && _1t94.__esModule ? _1t94 : { 'default': _1t94 }; }; defineModule(_1t8j); Object.defineProperty(_1t8j, '__esModule', { 'value': !0 }), _1t8j.CutinSpSR = void 0; var _1t96 = _1t93(_1t8k(18622)), _1t97 = _1t8k(81755), _1t98 = _1t8k(87475), _1t99 = _1t8k(20137), _1t9a = _1t8k(37760), _1t9b = _1t8k(56434), _1t9c = _1t8k(54427), _1t9d = _1t8k(87737), _1t9e = function(_1t9f) { var _1t9g = null; function _1t9h() { var _1t9i = null, _1t9j = _1t9f.call(this) || this; return _1t9j._view = new PIXI.Container(), _1t9j; } return _1t8n(_1t9h, _1t9f), Object.defineProperty(_1t9h.prototype, 'view', { 'get': function() { var _1t9k = null; return this._view; }, 'enumerable': !1, 'configurable': !0 }), _1t9h.prototype.preload = function(_1t9l, _1t9m, _1t9n, _1t9o) { var _1t9p = null, _1t9q = this; this._attacker = _1t9l, this._slot1 = _1t9m, this._slot2 = _1t9n; var _1t9r = new _1t99.ShipLoader(); _1t9r.add(this._attacker.mst_id, this._attacker.isDamaged(), 'full'), _1t9r.load(function() { var _1t9s = null, _1t9t = null == _1t9q._slot1 ? 0 : _1t9q._slot1.mstID, _1t9u = null == _1t9q._slot2 ? 0 : _1t9q._slot2.mstID, _1t9v = new _1t9a.SlotLoader(); _1t9t > 0 && (_1t9v.add(_1t9t, 'item_up'), _1t9v.add(_1t9t, 'btxt_flat')), _1t9u > 0 && (_1t9v.add(_1t9u, 'item_up'), _1t9v.add(_1t9u, 'btxt_flat')), _1t9v.load(function() { null != _1t9o && _1t9o(); }); }); }, _1t9h.prototype._start = function() { var _1t9w = null; this._canvas = new _1t9b.CutinCanvasSpSR(), this.view.addChild(this._canvas), this._ship = new PIXI.Sprite(), this._ready(); }, _1t9h.prototype._ready = function() { var _1t9x = null, _1t9y = this._attacker.mst_id, _1t9z = this._attacker.isDamaged(), _1ta0 = _1t96.default.model.ship_graph.get(_1t9y).getBattleOffset(_1t9z); this._ship.texture = _1t96.default.resources.getShip(_1t9y, _1t9z, 'full'), this._ship.position.set(_1ta0.x, _1ta0.y), this._canvas.chara.addChild(this._ship), this._shipFlash = new _1t9d.ShipFlash(_1t96.default.resources.getShip(_1t9y, _1t9z, 'full')), this._shipFlash.position.set(_1ta0.x, _1ta0.y), this._canvas.chara.addChild(this._shipFlash), this._canvas.chara.alpha = 0, this._attacker.friend ? (this._canvas.chara.x = -399, this._canvas.chara.y = -54) : (this._canvas.chara.x = 676, this._canvas.chara.y = -54), this._canvas.initialize(this._attacker.friend, this._slot1.mstID, this._slot2.mstID), this._anim1(); }, _1t9h.prototype._anim1 = function() { var _1ta1 = null, _1ta2 = this; this._canvas.bg.show(200), createjs.Tween.get(this._canvas.chara).wait(200).to({ 'x': (this._attacker.friend ? 0 : 480) - 104, 'y': (this._attacker.friend ? 0 : 23) - 87, 'alpha': 1 }, 300).wait(1200).call(function() { var _1ta3 = null; _1ta2._anim2(); }), this._canvas.layer_bg.show(400), this._canvas.layer_item.show(400), this._canvas.layer_name.show(400), this._canvas.layer_center.show(733), this._canvas.layer_center_name.show(1300); }, _1t9h.prototype._anim2 = function() { var _1ta4 = null, _1ta5 = this; this.view.emit('attack'), createjs.Tween.get(this._canvas.chara).call(function() { var _1ta6 = null; _1ta5._shipFlash.play(); }).wait(200).call(function() { var _1ta7 = null; _1ta5._anim3(); }); }, _1t9h.prototype._anim3 = function() { var _1ta8 = null, _1ta9 = this, _1taa = new _1t9c.IntensiveLines(); _1taa.initialize(), _1taa.alpha = 0, this._view.addChild(_1taa), _1taa.activate(), createjs.Tween.get(_1taa).to({ 'alpha': 1 }, 200); var _1tab = new _1t98.FadeBox(1, 16777215); _1tab.alpha = 0, this._view.addChild(_1tab), createjs.Tween.get(_1tab).to({ 'alpha': 1 }, 500).call(function() { var _1tac = null; _1ta9._anim4(_1taa, _1tab); }); }, _1t9h.prototype._anim4 = function(_1tad, _1tae) { var _1taf = null, _1tag = this; this._canvas.dispose(), createjs.Tween.get(_1tad).to({ 'alpha': 0 }, 300), createjs.Tween.get(_1tae).to({ 'alpha': 0 }, 300).call(function() { var _1tah = null; _1tad.deactivate(), _1tag._view.removeChild(_1tad), _1tag._view.removeChild(_1tae), _1tag._endTask(); }); }, _1t9h.prototype._endTask = function() { var _1tai = null; this._attacker = null, this._slot1 = null, this._slot2 = null, null != this._view.parent && this._view.parent.removeChild(this._view), this._view = null, this._canvas = null, this._ship = null, _1t9f.prototype._endTask.call(this); }, _1t9h; }(_1t97.TaskBase); _1t8j.CutinSpSR = _1t9e; }, 17903: function(_1taj, _1tak, _1tal) { 'use strict'; var _1tam = null; var _1tan, _1tao = this && this.__extends || (_1tan = function(_1tap, _1taq) { var _1tar = null; return _1tan = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1tas, _1tat) { var _1tau = null; _1tas.__proto__ = _1tat; } || function(_1tav, _1taw) { var _1tax = null; for (var _1tay in _1taw) Object.prototype.hasOwnProperty.call(_1taw, _1tay) && (_1tav[_1tay] = _1taw[_1tay]); }, _1tan(_1tap, _1taq); }, function(_1taz, _1tb0) { var _1tb1 = null; if ('function' != typeof _1tb0 && null !== _1tb0) throw new TypeError('Class extends value ' + String(_1tb0) + ' is not a constructor or null'); function _1tb2() { var _1tb3 = null; this.constructor = _1taz; } _1tan(_1taz, _1tb0), _1taz.prototype = null === _1tb0 ? Object.create(_1tb0) : (_1tb2.prototype = _1tb0.prototype, new _1tb2()); }); defineModule(_1tak); Object.defineProperty(_1tak, '__esModule', { 'value': !0 }), _1tak.CutinSpSRD = void 0; var _1tb4 = _1tal(81755), _1tb5 = _1tal(87475), _1tb6 = _1tal(58441), _1tb7 = _1tal(26431), _1tb8 = _1tal(54427), _1tb9 = _1tal(87737), _1tba = function(_1tbb) { var _1tbc = null; function _1tbd(_1tbe, _1tbf, _1tbg, _1tbh) { var _1tbi = null, _1tbj = _1tbb.call(this) || this; return _1tbj._attacker = _1tbe, _1tbj._slot1 = _1tbh, _1tbj._slot2 = _1tbg, _1tbj._slot3 = _1tbf, _1tbj._friend = _1tbj._attacker.friend, _1tbj._canvas = new _1tb7.CutinCanvasSpSRD(), _1tbj._view = new PIXI.Container(), _1tbj.view.addChild(_1tbj._canvas), _1tbj._ship = new PIXI.Sprite(), _1tbj; } return _1tao(_1tbd, _1tbb), Object.defineProperty(_1tbd.prototype, 'view', { 'get': function() { var _1tbk = null; return this._view; }, 'enumerable': !1, 'configurable': !0 }), _1tbd.prototype.preload = function(_1tbl) { var _1tbm = null; if (null != this._preload_task) _1tbl(); else { var _1tbn = this._attacker.mst_id, _1tbo = this._attacker.isDamaged(), _1tbp = null == this._slot1 ? 0 : this._slot1.mstID, _1tbq = null == this._slot2 ? 0 : this._slot2.mstID, _1tbr = null == this._slot3 ? 0 : this._slot3.mstID; this._preload_task = new _1tb6.CutinResourcesPreloadTask(_1tbn, _1tbo, !0, _1tbp, _1tbq, _1tbr), this._preload_task.start(function() { _1tbl(); }); } }, _1tbd.prototype._start = function() { var _1tbs = null; this._ready(); }, _1tbd.prototype._ready = function() { var _1tbt = null; this._ship.texture = this._preload_task.getShipTexture(); var _1tbu = this._preload_task.getShipOffset(); this._ship.position.set(_1tbu.x, _1tbu.y), this._canvas.chara.addChild(this._ship), this._shipFlash = new _1tb9.ShipFlash(this._preload_task.getShipTexture()), this._shipFlash.position.set(_1tbu.x, _1tbu.y), this._canvas.chara.addChild(this._shipFlash), this._canvas.chara.alpha = 0, this._friend ? (this._canvas.chara.x = -399, this._canvas.chara.y = -54) : (this._canvas.chara.x = 676, this._canvas.chara.y = -54), this._canvas.initialize(this._friend, this._preload_task), this._anim1(); }, _1tbd.prototype._anim1 = function() { var _1tbv = null, _1tbw = this; this._canvas.bg.show(200), createjs.Tween.get(this._canvas.chara).wait(200).to({ 'x': (this._friend ? 0 : 480) - 104, 'y': (this._friend ? 0 : 23) - 87, 'alpha': 1 }, 300).wait(1200).call(function() { var _1tbx = null; _1tbw._anim2(); }), this._canvas.layer_bg.show(400), this._canvas.layer_item.show(400), this._canvas.layer_name.show(400), this._canvas.layer_center.show(733), this._canvas.layer_center_name.show(1300); }, _1tbd.prototype._anim2 = function() { var _1tby = null, _1tbz = this; this.view.emit('attack'), createjs.Tween.get(this._canvas.chara).call(function() { var _1tc0 = null; _1tbz._shipFlash.play(); }).wait(200).call(function() { var _1tc1 = null; _1tbz._anim3(); }); }, _1tbd.prototype._anim3 = function() { var _1tc2 = null, _1tc3 = this; this._canvas.layer_item.hide(0), this._canvas.layer_center.hide(0); var _1tc4 = new _1tb8.IntensiveLines(); _1tc4.initialize(), _1tc4.alpha = 0, this._view.addChild(_1tc4), _1tc4.activate(), createjs.Tween.get(_1tc4).to({ 'alpha': 1 }, 200); var _1tc5 = new _1tb5.FadeBox(1, 16777215); _1tc5.alpha = 0, this._view.addChild(_1tc5), createjs.Tween.get(_1tc5).to({ 'alpha': 1 }, 500).call(function() { var _1tc6 = null; _1tc3._anim4(_1tc4, _1tc5); }); }, _1tbd.prototype._anim4 = function(_1tc7, _1tc8) { var _1tc9 = null, _1tca = this; this._canvas.dispose(), createjs.Tween.get(_1tc7).to({ 'alpha': 0 }, 300), createjs.Tween.get(_1tc8).to({ 'alpha': 0 }, 300).call(function() { var _1tcb = null; _1tc7.deactivate(), _1tca._view.removeChild(_1tc7), _1tca._view.removeChild(_1tc8), _1tca._endTask(); }); }, _1tbd.prototype._endTask = function() { var _1tcc = null; this._attacker = null, this._slot1 = null, this._slot2 = null, null != this._view.parent && this._view.parent.removeChild(this._view), this._view = null, this._canvas = null, this._ship = null, this._preload_task = null, _1tbb.prototype._endTask.call(this); }, _1tbd; }(_1tb4.TaskBase); _1tak.CutinSpSRD = _1tba; }, 25955: function(_1tcd, _1tce, _1tcf) { 'use strict'; var _1tcg = null; var _1tch, _1tci = this && this.__extends || (_1tch = function(_1tcj, _1tck) { var _1tcl = null; return _1tch = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1tcm, _1tcn) { var _1tco = null; _1tcm.__proto__ = _1tcn; } || function(_1tcp, _1tcq) { var _1tcr = null; for (var _1tcs in _1tcq) Object.prototype.hasOwnProperty.call(_1tcq, _1tcs) && (_1tcp[_1tcs] = _1tcq[_1tcs]); }, _1tch(_1tcj, _1tck); }, function(_1tct, _1tcu) { var _1tcv = null; if ('function' != typeof _1tcu && null !== _1tcu) throw new TypeError('Class extends value ' + String(_1tcu) + ' is not a constructor or null'); function _1tcw() { var _1tcx = null; this.constructor = _1tct; } _1tch(_1tct, _1tcu), _1tct.prototype = null === _1tcu ? Object.create(_1tcu) : (_1tcw.prototype = _1tcu.prototype, new _1tcw()); }), _1tcy = this && this.__importDefault || function(_1tcz) { var _1td0 = null; return _1tcz && _1tcz.__esModule ? _1tcz : { 'default': _1tcz }; }; defineModule(_1tce); Object.defineProperty(_1tce, '__esModule', { 'value': !0 }), _1tce.CutinSpSSF = void 0; var _1td1 = _1tcy(_1tcf(18622)), _1td2 = _1tcf(81755), _1td3 = _1tcf(87475), _1td4 = _1tcf(20137), _1td5 = _1tcf(37760), _1td6 = _1tcf(66157), _1td7 = _1tcf(54427), _1td8 = _1tcf(87737), _1td9 = function(_1tda) { var _1tdb = null; function _1tdc() { var _1tdd = null, _1tde = _1tda.call(this) || this; return _1tde._view = new PIXI.Container(), _1tde; } return _1tci(_1tdc, _1tda), Object.defineProperty(_1tdc.prototype, 'view', { 'get': function() { var _1tdf = null; return this._view; }, 'enumerable': !1, 'configurable': !0 }), _1tdc.prototype.preload = function(_1tdg, _1tdh, _1tdi, _1tdj, _1tdk) { var _1tdl = null, _1tdm = this; this._attacker = _1tdg, this._slot1 = _1tdh, this._slot2 = _1tdi, this._slot3 = _1tdj; var _1tdn = new _1td4.ShipLoader(), _1tdo = this._attacker.isDamaged(), _1tdp = this._attacker.mst_id; (571 != _1tdp && 576 != _1tdp || 0 != _1tdo) && (572 != _1tdp && 577 != _1tdp || 0 != _1tdo) && (541 != _1tdp && 573 != _1tdp || 0 != _1tdo) && (601 != _1tdp && 1496 != _1tdp || 0 != _1tdo) && (913 != _1tdp && 918 != _1tdp || 0 != _1tdo) ? _1tdn.add(_1tdp, _1tdo, 'full'): _1tdn.add(_1tdp, !1, 'special'), _1tdn.load(function() { var _1tdq = null, _1tdr = null == _1tdm._slot1 ? 0 : _1tdm._slot1.mstID, _1tds = null == _1tdm._slot2 ? 0 : _1tdm._slot2.mstID, _1tdt = null == _1tdm._slot3 ? 0 : _1tdm._slot3.mstID, _1tdu = new _1td5.SlotLoader(); _1tdr > 0 && (_1tdu.add(_1tdr, 'item_up'), _1tdu.add(_1tdr, 'btxt_flat')), _1tds > 0 && (_1tdu.add(_1tds, 'item_up'), _1tdu.add(_1tds, 'btxt_flat')), _1tdt > 0 && (_1tdu.add(_1tdt, 'item_up'), _1tdu.add(_1tdt, 'btxt_flat')), _1tdu.load(function() { null != _1tdk && _1tdk(); }); }); }, _1tdc.prototype._start = function() { var _1tdv = null; this._canvas = new _1td6.CutinCanvasSpSSF(), this.view.addChild(this._canvas), this._ship = new PIXI.Sprite(), this._ready(); }, _1tdc.prototype._ready = function() { var _1tdw = null, _1tdx, _1tdy, _1tdz = this._attacker.mst_id, _1te0 = this._attacker.isDamaged(); (571 != _1tdz && 576 != _1tdz || 0 != _1te0) && (572 != _1tdz && 577 != _1tdz || 0 != _1te0) ? 541 == _1tdz && 0 == _1te0 ? (_1tdx = new PIXI.Point(-227, 165), _1tdy = 'special') : 573 == _1tdz && 0 == _1te0 ? (_1tdx = new PIXI.Point(-115, 184), _1tdy = 'special') : (601 != _1tdz && 1496 != _1tdz || 0 != _1te0) && (913 != _1tdz && 918 != _1tdz || 0 != _1te0) ? (_1tdx = _1td1.default.model.ship_graph.get(_1tdz).getBattleOffset(_1te0), _1tdy = 'full') : (_1tdx = new PIXI.Point(-90, 87), _1tdy = 'special'): (_1tdx = new PIXI.Point(-139, 201), _1tdy = 'special'), this._ship.texture = _1td1.default.resources.getShip(_1tdz, _1te0, _1tdy), this._ship.position.set(_1tdx.x, _1tdx.y), this._canvas.chara.addChild(this._ship), this._shipFlash = new _1td8.ShipFlash(_1td1.default.resources.getShip(_1tdz, _1te0, _1tdy)), this._shipFlash.position.set(_1tdx.x, _1tdx.y), this._canvas.chara.addChild(this._shipFlash), this._canvas.chara.alpha = 0, this._attacker.friend ? (this._canvas.chara.x = -180, this._canvas.chara.y = -107) : (this._canvas.chara.x = 173, this._canvas.chara.y = -65), this._canvas.initialize(this._attacker.friend, this._slot1.mstID, this._slot2.mstID, this._slot3.mstID), this._anim1(); }, _1tdc.prototype._anim1 = function() { var _1te1 = null, _1te2 = this; this._canvas.bg.show(333), createjs.Tween.get(this._canvas.chara).wait(166).to({ 'x': 158 + (this._attacker.friend ? 0 : 203), 'alpha': 1 }, 300), this._canvas.bg_box.show(266), this._canvas.item_layer.show(400), this._canvas.name_layer.show(600), this._canvas.name_layer.once('complete', function() { var _1te3 = null; _1te2._anim2(); }); }, _1tdc.prototype._anim2 = function() { var _1te4 = null, _1te5 = this; this.view.emit('attack'), createjs.Tween.get(this._canvas.chara).call(function() { var _1te6 = null; _1te5._shipFlash.play(); }).wait(200).call(function() { var _1te7 = null; _1te5._anim3(); }); }, _1tdc.prototype._anim3 = function() { var _1te8 = null, _1te9 = this, _1tea = new _1td7.IntensiveLines(); _1tea.initialize(), _1tea.alpha = 0, this._view.addChild(_1tea), _1tea.activate(), createjs.Tween.get(_1tea).to({ 'alpha': 1 }, 200); var _1teb = new _1td3.FadeBox(1, 16777215); _1teb.alpha = 0, this._view.addChild(_1teb), createjs.Tween.get(_1teb).to({ 'alpha': 1 }, 500).call(function() { var _1tec = null; _1te9._anim4(_1tea, _1teb); }); }, _1tdc.prototype._anim4 = function(_1ted, _1tee) { var _1tef = null, _1teg = this; this._canvas.dispose(), createjs.Tween.get(_1ted).to({ 'alpha': 0 }, 300), createjs.Tween.get(_1tee).to({ 'alpha': 0 }, 300).call(function() { var _1teh = null; _1ted.deactivate(), _1teg._view.removeChild(_1ted), _1teg._view.removeChild(_1tee), _1teg._endTask(); }); }, _1tdc.prototype._endTask = function() { var _1tei = null; this._attacker = null, this._slot1 = null, this._slot2 = null, this._slot3 = null, null != this._view.parent && this._view.parent.removeChild(this._view), this._view = null, this._canvas = null, this._ship = null, _1tda.prototype._endTask.call(this); }, _1tdc; }(_1td2.TaskBase); _1tce.CutinSpSSF = _1td9; }, 11166: function(_1tej, _1tek, _1tel) { 'use strict'; var _1tem = null; var _1ten, _1teo = this && this.__extends || (_1ten = function(_1tep, _1teq) { var _1ter = null; return _1ten = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1tes, _1tet) { var _1teu = null; _1tes.__proto__ = _1tet; } || function(_1tev, _1tew) { var _1tex = null; for (var _1tey in _1tew) Object.prototype.hasOwnProperty.call(_1tew, _1tey) && (_1tev[_1tey] = _1tew[_1tey]); }, _1ten(_1tep, _1teq); }, function(_1tez, _1tf0) { var _1tf1 = null; if ('function' != typeof _1tf0 && null !== _1tf0) throw new TypeError('Class extends value ' + String(_1tf0) + ' is not a constructor or null'); function _1tf2() { var _1tf3 = null; this.constructor = _1tez; } _1ten(_1tez, _1tf0), _1tez.prototype = null === _1tf0 ? Object.create(_1tf0) : (_1tf2.prototype = _1tf0.prototype, new _1tf2()); }), _1tf4 = this && this.__importDefault || function(_1tf5) { var _1tf6 = null; return _1tf5 && _1tf5.__esModule ? _1tf5 : { 'default': _1tf5 }; }; defineModule(_1tek); Object.defineProperty(_1tek, '__esModule', { 'value': !0 }), _1tek.CutinSpSSS = void 0; var _1tf7 = _1tf4(_1tel(18622)), _1tf8 = _1tel(81755), _1tf9 = _1tel(87475), _1tfa = _1tel(20137), _1tfb = _1tel(37760), _1tfc = _1tel(41768), _1tfd = _1tel(54427), _1tfe = _1tel(87737), _1tff = function(_1tfg) { var _1tfh = null; function _1tfi() { var _1tfj = null, _1tfk = _1tfg.call(this) || this; return _1tfk._view = new PIXI.Container(), _1tfk; } return _1teo(_1tfi, _1tfg), Object.defineProperty(_1tfi.prototype, 'view', { 'get': function() { var _1tfl = null; return this._view; }, 'enumerable': !1, 'configurable': !0 }), _1tfi.prototype.preload = function(_1tfm, _1tfn, _1tfo, _1tfp, _1tfq) { var _1tfr = null, _1tfs = this; this._attacker = _1tfm, this._slot1 = _1tfn, this._slot2 = _1tfo, this._slot3 = _1tfp; var _1tft = new _1tfa.ShipLoader(), _1tfu = this._attacker.isDamaged(), _1tfv = this._attacker.mst_id; (571 != _1tfv && 576 != _1tfv || 0 != _1tfu) && (572 != _1tfv && 577 != _1tfv || 0 != _1tfu) && (541 != _1tfv && 573 != _1tfv || 0 != _1tfu) && (601 != _1tfv && 1496 != _1tfv || 0 != _1tfu) && (913 != _1tfv && 918 != _1tfv || 0 != _1tfu) ? _1tft.add(_1tfv, _1tfu, 'full'): _1tft.add(_1tfv, !1, 'special'), _1tft.load(function() { var _1tfw = null, _1tfx = null == _1tfs._slot1 ? 0 : _1tfs._slot1.mstID, _1tfy = null == _1tfs._slot2 ? 0 : _1tfs._slot2.mstID, _1tfz = null == _1tfs._slot3 ? 0 : _1tfs._slot3.mstID, _1tg0 = new _1tfb.SlotLoader(); _1tfx > 0 && (_1tg0.add(_1tfx, 'item_up'), _1tg0.add(_1tfx, 'btxt_flat')), _1tfy > 0 && (_1tg0.add(_1tfy, 'item_up'), _1tg0.add(_1tfy, 'btxt_flat')), _1tfz > 0 && (_1tg0.add(_1tfz, 'item_up'), _1tg0.add(_1tfz, 'btxt_flat')), _1tg0.load(function() { null != _1tfq && _1tfq(); }); }); }, _1tfi.prototype._start = function() { var _1tg1 = null; this._canvas = new _1tfc.CutinCanvasSpSSS(), this.view.addChild(this._canvas), this._ship = new PIXI.Sprite(), this._ready(); }, _1tfi.prototype._ready = function() { var _1tg2 = null, _1tg3, _1tg4, _1tg5 = this._attacker.mst_id, _1tg6 = this._attacker.isDamaged(); (571 != _1tg5 && 576 != _1tg5 || 0 != _1tg6) && (572 != _1tg5 && 577 != _1tg5 || 0 != _1tg6) ? 541 == _1tg5 && 0 == _1tg6 ? (_1tg3 = new PIXI.Point(-227, 165), _1tg4 = 'special') : 573 == _1tg5 && 0 == _1tg6 ? (_1tg3 = new PIXI.Point(-115, 184), _1tg4 = 'special') : (601 != _1tg5 && 1496 != _1tg5 || 0 != _1tg6) && (913 != _1tg5 && 918 != _1tg5 || 0 != _1tg6) ? (_1tg3 = _1tf7.default.model.ship_graph.get(_1tg5).getBattleOffset(_1tg6), _1tg4 = 'full') : (_1tg3 = new PIXI.Point(-90, 87), _1tg4 = 'special'): (_1tg3 = new PIXI.Point(-139, 201), _1tg4 = 'special'), this._ship.texture = _1tf7.default.resources.getShip(_1tg5, _1tg6, _1tg4), this._ship.position.set(_1tg3.x, _1tg3.y), this._canvas.chara.addChild(this._ship), this._shipFlash = new _1tfe.ShipFlash(_1tf7.default.resources.getShip(_1tg5, _1tg6, _1tg4)), this._shipFlash.position.set(_1tg3.x, _1tg3.y), this._canvas.chara.addChild(this._shipFlash), this._canvas.chara.alpha = 0, this._attacker.friend ? (this._canvas.chara.x = -150, this._canvas.chara.y = -87) : (this._canvas.chara.x = 173, this._canvas.chara.y = -64), this._canvas.initialize(this._attacker.friend, this._slot1.mstID, this._slot2.mstID, this._slot3.mstID), this._anim1(); }, _1tfi.prototype._anim1 = function() { var _1tg7 = null, _1tg8 = this; this._canvas.bg.show(333), createjs.Tween.get(this._canvas.chara).wait(166).to({ 'x': 48 + (this._attacker.friend ? 0 : 336), 'alpha': 1 }, 300), this._canvas.item1.show(400), this._canvas.item2.show(833), this._canvas.item3.show(1266); var _1tg9 = this._attacker.friend ? 75 : 1125; createjs.Tween.get(this._canvas.name1).wait(400).to({ 'x': _1tg9, 'alpha': 1 }, 200), createjs.Tween.get(this._canvas.name2).wait(833).to({ 'x': _1tg9, 'alpha': 1 }, 200), createjs.Tween.get(this._canvas.name3).wait(1266).to({ 'x': _1tg9, 'alpha': 1 }, 200).call(function() { var _1tga = null; _1tg8._anim2(); }); }, _1tfi.prototype._anim2 = function() { var _1tgb = null, _1tgc = this; this.view.emit('attack'), createjs.Tween.get(this._canvas.chara).wait(133).call(function() { var _1tgd = null; _1tgc._shipFlash.play(); }).wait(200).call(function() { var _1tge = null; _1tgc._shipFlash.play(); }).wait(133).call(function() { var _1tgf = null; _1tgc._anim3(); }); }, _1tfi.prototype._anim3 = function() { var _1tgg = null, _1tgh = this, _1tgi = new _1tfd.IntensiveLines(); _1tgi.initialize(), _1tgi.alpha = 0, this._view.addChild(_1tgi), _1tgi.activate(), createjs.Tween.get(_1tgi).to({ 'alpha': 1 }, 200); var _1tgj = new _1tf9.FadeBox(1, 16777215); _1tgj.alpha = 0, this._view.addChild(_1tgj), createjs.Tween.get(_1tgj).to({ 'alpha': 1 }, 500).call(function() { var _1tgk = null; _1tgh._anim4(_1tgi, _1tgj); }); }, _1tfi.prototype._anim4 = function(_1tgl, _1tgm) { var _1tgn = null, _1tgo = this; this._canvas.dispose(), createjs.Tween.get(_1tgl).to({ 'alpha': 0 }, 300), createjs.Tween.get(_1tgm).to({ 'alpha': 0 }, 300).call(function() { var _1tgp = null; _1tgl.deactivate(), _1tgo._view.removeChild(_1tgl), _1tgo._view.removeChild(_1tgm), _1tgo._endTask(); }); }, _1tfi.prototype._endTask = function() { var _1tgq = null; this._attacker = null, this._slot1 = null, this._slot2 = null, this._slot3 = null, null != this._view.parent && this._view.parent.removeChild(this._view), this._view = null, this._canvas = null, this._ship = null, _1tfg.prototype._endTask.call(this); }, _1tfi; }(_1tf8.TaskBase); _1tek.CutinSpSSS = _1tff; }, 57849: function(_1tgr, _1tgs, _1tgt) { 'use strict'; var _1tgu = null; var _1tgv, _1tgw = this && this.__extends || (_1tgv = function(_1tgx, _1tgy) { var _1tgz = null; return _1tgv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1th0, _1th1) { var _1th2 = null; _1th0.__proto__ = _1th1; } || function(_1th3, _1th4) { var _1th5 = null; for (var _1th6 in _1th4) Object.prototype.hasOwnProperty.call(_1th4, _1th6) && (_1th3[_1th6] = _1th4[_1th6]); }, _1tgv(_1tgx, _1tgy); }, function(_1th7, _1th8) { var _1th9 = null; if ('function' != typeof _1th8 && null !== _1th8) throw new TypeError('Class extends value ' + String(_1th8) + ' is not a constructor or null'); function _1tha() { var _1thb = null; this.constructor = _1th7; } _1tgv(_1th7, _1th8), _1th7.prototype = null === _1th8 ? Object.create(_1th8) : (_1tha.prototype = _1th8.prototype, new _1tha()); }); defineModule(_1tgs); Object.defineProperty(_1tgs, '__esModule', { 'value': !0 }), _1tgs.CutinSpSuirai = void 0; var _1thc = _1tgt(81755), _1thd = _1tgt(87475), _1the = _1tgt(58441), _1thf = _1tgt(66609), _1thg = _1tgt(54427), _1thh = _1tgt(87737), _1thi = function(_1thj) { var _1thk = null; function _1thl(_1thm, _1thn, _1tho, _1thp) { var _1thq = null, _1thr = _1thj.call(this) || this; return _1thr._attacker = _1thm, _1thr._slot1 = _1thn, _1thr._slot2 = _1tho, _1thr._slot3 = _1thp, _1thr._friend = _1thr._attacker.friend, _1thr._canvas = new _1thf.CutinCanvasSpSuirai(), _1thr._view = new PIXI.Container(), _1thr.view.addChild(_1thr._canvas), _1thr._ship = new PIXI.Sprite(), _1thr; } return _1tgw(_1thl, _1thj), Object.defineProperty(_1thl.prototype, 'view', { 'get': function() { var _1ths = null; return this._view; }, 'enumerable': !1, 'configurable': !0 }), _1thl.prototype.preload = function(_1tht) { var _1thu = null; if (null != this._preload_task) _1tht(); else { var _1thv = this._attacker.mst_id, _1thw = this._attacker.isDamaged(), _1thx = null == this._slot1 ? 0 : this._slot1.mstID, _1thy = null == this._slot2 ? 0 : this._slot2.mstID, _1thz = null == this._slot3 ? 0 : this._slot3.mstID; this._preload_task = new _1the.CutinResourcesPreloadTask(_1thv, _1thw, !0, _1thx, _1thy, _1thz), this._preload_task.start(function() { _1tht(); }); } }, _1thl.prototype._start = function() { var _1ti0 = null; this._ready(); }, _1thl.prototype._ready = function() { var _1ti1 = null; this._ship.texture = this._preload_task.getShipTexture(); var _1ti2 = this._preload_task.getShipOffset(); this._ship.position.set(_1ti2.x, _1ti2.y), this._canvas.chara.addChild(this._ship), this._shipFlash = new _1thh.ShipFlash(this._preload_task.getShipTexture()), this._shipFlash.position.set(_1ti2.x, _1ti2.y), this._canvas.chara.addChild(this._shipFlash), this._canvas.chara.alpha = 0, this._friend ? (this._canvas.chara.x = -225, this._canvas.chara.y = -87) : (this._canvas.chara.x = 483, this._canvas.chara.y = -138), this._canvas.initialize(this._friend, this._preload_task), this._anim1(); }, _1thl.prototype._anim1 = function() { var _1ti3 = null, _1ti4 = this; this._canvas.bg.show(366), createjs.Tween.get(this._canvas.chara).wait(200).to({ 'x': (this._friend ? 0 : 465) - 104, 'alpha': 1 }, 366).wait(1200).call(function() { var _1ti5 = null; _1ti4._anim2(); }), this._canvas.layer_item1.show(400), this._canvas.layer_item2.show(833), this._canvas.layer_item3.show(1266), this._canvas.layer_wave.show(533), this._canvas.layer_names.show(400); }, _1thl.prototype._anim2 = function() { var _1ti6 = null, _1ti7 = this; this.view.emit('attack'), createjs.Tween.get(this._canvas.chara).call(function() { var _1ti8 = null; _1ti7._shipFlash.play(); }).wait(200).call(function() { var _1ti9 = null; _1ti7._anim3(); }); }, _1thl.prototype._anim3 = function() { var _1tia = null, _1tib = this; this._canvas.layer_item1.hide(0), this._canvas.layer_item2.hide(0), this._canvas.layer_item3.hide(0); var _1tic = new _1thg.IntensiveLines(); _1tic.initialize(), _1tic.alpha = 0, this._view.addChild(_1tic), _1tic.activate(), createjs.Tween.get(_1tic).to({ 'alpha': 1 }, 200); var _1tid = new _1thd.FadeBox(1, 16777215); _1tid.alpha = 0, this._view.addChild(_1tid), createjs.Tween.get(_1tid).to({ 'alpha': 1 }, 500).call(function() { var _1tie = null; _1tib._anim4(_1tic, _1tid); }); }, _1thl.prototype._anim4 = function(_1tif, _1tig) { var _1tih = null, _1tii = this; this._canvas.dispose(), createjs.Tween.get(_1tif).to({ 'alpha': 0 }, 300), createjs.Tween.get(_1tig).to({ 'alpha': 0 }, 300).call(function() { var _1tij = null; _1tif.deactivate(), _1tii._view.removeChild(_1tif), _1tii._view.removeChild(_1tig), _1tii._endTask(); }); }, _1thl.prototype._endTask = function() { var _1tik = null; this._attacker = null, this._slot1 = null, this._slot2 = null, this._slot3 = null, null != this._view.parent && this._view.parent.removeChild(this._view), this._view = null, this._canvas = null, this._ship = null, this._preload_task = null, _1thj.prototype._endTask.call(this); }, _1thl; }(_1thc.TaskBase); _1tgs.CutinSpSuirai = _1thi; }, 2701: function(_1til, _1tim, _1tin) { 'use strict'; var _1tio = null; var _1tip, _1tiq = this && this.__extends || (_1tip = function(_1tir, _1tis) { var _1tit = null; return _1tip = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1tiu, _1tiv) { var _1tiw = null; _1tiu.__proto__ = _1tiv; } || function(_1tix, _1tiy) { var _1tiz = null; for (var _1tj0 in _1tiy) Object.prototype.hasOwnProperty.call(_1tiy, _1tj0) && (_1tix[_1tj0] = _1tiy[_1tj0]); }, _1tip(_1tir, _1tis); }, function(_1tj1, _1tj2) { var _1tj3 = null; if ('function' != typeof _1tj2 && null !== _1tj2) throw new TypeError('Class extends value ' + String(_1tj2) + ' is not a constructor or null'); function _1tj4() { var _1tj5 = null; this.constructor = _1tj1; } _1tip(_1tj1, _1tj2), _1tj1.prototype = null === _1tj2 ? Object.create(_1tj2) : (_1tj4.prototype = _1tj2.prototype, new _1tj4()); }); defineModule(_1tim); Object.defineProperty(_1tim, '__esModule', { 'value': !0 }), _1tim.CutinSpYusou = void 0; var _1tj6 = _1tin(81755), _1tj7 = _1tin(87475), _1tj8 = _1tin(58441), _1tj9 = _1tin(86346), _1tja = _1tin(54427), _1tjb = _1tin(87737), _1tjc = function(_1tjd) { var _1tje = null; function _1tjf(_1tjg, _1tjh, _1tji, _1tjj) { var _1tjk = null, _1tjl = _1tjd.call(this) || this; return _1tjl._attacker = _1tjg, _1tjl._slot1 = _1tjh, _1tjl._slot2 = _1tji, _1tjl._slot3 = _1tjj, _1tjl._friend = _1tjl._attacker.friend, _1tjl._canvas = new _1tj9.CutinCanvasSpYusou(), _1tjl._view = new PIXI.Container(), _1tjl.view.addChild(_1tjl._canvas), _1tjl._ship = new PIXI.Sprite(), _1tjl; } return _1tiq(_1tjf, _1tjd), Object.defineProperty(_1tjf.prototype, 'view', { 'get': function() { var _1tjm = null; return this._view; }, 'enumerable': !1, 'configurable': !0 }), _1tjf.prototype.preload = function(_1tjn) { var _1tjo = null; if (null != this._preload_task) _1tjn(); else { var _1tjp = this._attacker.mst_id, _1tjq = this._attacker.isDamaged(), _1tjr = null == this._slot1 ? 0 : this._slot1.mstID, _1tjs = null == this._slot2 ? 0 : this._slot2.mstID, _1tjt = null == this._slot3 ? 0 : this._slot3.mstID; this._preload_task = new _1tj8.CutinResourcesPreloadTask(_1tjp, _1tjq, !0, _1tjr, _1tjs, _1tjt), this._preload_task.start(function() { _1tjn(); }); } }, _1tjf.prototype._start = function() { var _1tju = null; this._ready(); }, _1tjf.prototype._ready = function() { var _1tjv = null; this._ship.texture = this._preload_task.getShipTexture(); var _1tjw = this._preload_task.getShipOffset(); this._ship.position.set(_1tjw.x, _1tjw.y), this._canvas.chara.addChild(this._ship), this._shipFlash = new _1tjb.ShipFlash(this._preload_task.getShipTexture()), this._shipFlash.position.set(_1tjw.x, _1tjw.y), this._canvas.chara.addChild(this._shipFlash), this._canvas.chara.alpha = 0, this._friend ? (this._canvas.chara.x = -225, this._canvas.chara.y = -87) : (this._canvas.chara.x = 483, this._canvas.chara.y = -138), this._canvas.initialize(this._friend, this._preload_task), this._anim1(); }, _1tjf.prototype._anim1 = function() { var _1tjx = null, _1tjy = this; this._canvas.bg.show(366), createjs.Tween.get(this._canvas.chara).wait(200).to({ 'x': (this._friend ? 0 : 465) - 104, 'alpha': 1 }, 366).wait(1200).call(function() { var _1tjz = null; _1tjy._anim2(); }), this._canvas.layer_item1.show(400), this._canvas.layer_item2.show(833), this._canvas.layer_item3.show(1266), this._canvas.layer_wave.show(533), this._canvas.layer_names.show(400); }, _1tjf.prototype._anim2 = function() { var _1tk0 = null, _1tk1 = this; this.view.emit('attack'), createjs.Tween.get(this._canvas.chara).call(function() { var _1tk2 = null; _1tk1._shipFlash.play(); }).wait(200).call(function() { var _1tk3 = null; _1tk1._anim3(); }); }, _1tjf.prototype._anim3 = function() { var _1tk4 = null, _1tk5 = this; this._canvas.layer_item1.hide(0), this._canvas.layer_item2.hide(0), this._canvas.layer_item3.hide(0); var _1tk6 = new _1tja.IntensiveLines(); _1tk6.initialize(), _1tk6.alpha = 0, this._view.addChild(_1tk6), _1tk6.activate(), createjs.Tween.get(_1tk6).to({ 'alpha': 1 }, 200); var _1tk7 = new _1tj7.FadeBox(1, 16777215); _1tk7.alpha = 0, this._view.addChild(_1tk7), createjs.Tween.get(_1tk7).to({ 'alpha': 1 }, 500).call(function() { var _1tk8 = null; _1tk5._anim4(_1tk6, _1tk7); }); }, _1tjf.prototype._anim4 = function(_1tk9, _1tka) { var _1tkb = null, _1tkc = this; this._canvas.dispose(), createjs.Tween.get(_1tk9).to({ 'alpha': 0 }, 300), createjs.Tween.get(_1tka).to({ 'alpha': 0 }, 300).call(function() { var _1tkd = null; _1tk9.deactivate(), _1tkc._view.removeChild(_1tk9), _1tkc._view.removeChild(_1tka), _1tkc._endTask(); }); }, _1tjf.prototype._endTask = function() { var _1tke = null; this._attacker = null, this._slot1 = null, this._slot2 = null, this._slot3 = null, null != this._view.parent && this._view.parent.removeChild(this._view), this._view = null, this._canvas = null, this._ship = null, this._preload_task = null, _1tjd.prototype._endTask.call(this); }, _1tjf; }(_1tj6.TaskBase); _1tim.CutinSpYusou = _1tjc; }, 43367: function(_1tkf, _1tkg, _1tkh) { 'use strict'; var _1tki = null; var _1tkj, _1tkk = this && this.__extends || (_1tkj = function(_1tkl, _1tkm) { var _1tkn = null; return _1tkj = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1tko, _1tkp) { var _1tkq = null; _1tko.__proto__ = _1tkp; } || function(_1tkr, _1tks) { var _1tkt = null; for (var _1tku in _1tks) Object.prototype.hasOwnProperty.call(_1tks, _1tku) && (_1tkr[_1tku] = _1tks[_1tku]); }, _1tkj(_1tkl, _1tkm); }, function(_1tkv, _1tkw) { var _1tkx = null; if ('function' != typeof _1tkw && null !== _1tkw) throw new TypeError('Class extends value ' + String(_1tkw) + ' is not a constructor or null'); function _1tky() { var _1tkz = null; this.constructor = _1tkv; } _1tkj(_1tkv, _1tkw), _1tkv.prototype = null === _1tkw ? Object.create(_1tkw) : (_1tky.prototype = _1tkw.prototype, new _1tky()); }), _1tl0 = this && this.__importDefault || function(_1tl1) { var _1tl2 = null; return _1tl1 && _1tl1.__esModule ? _1tl1 : { 'default': _1tl1 }; }; defineModule(_1tkg); Object.defineProperty(_1tkg, '__esModule', { 'value': !0 }), _1tkg.CutinYamatoAttack = void 0; var _1tl3, _1tl4, _1tl5 = _1tl0(_1tkh(21359)), _1tl6 = _1tl0(_1tkh(18622)), _1tl7 = _1tkh(81755), _1tl8 = _1tkh(54011), _1tl9 = _1tkh(22434), _1tla = _1tkh(20137); ! function(_1tlb) { var _1tlc = null; _1tlb[_1tlb.FLAG_SHIP = 0] = 'FLAG_SHIP', _1tlb[_1tlb.PARTNER1 = 1] = 'PARTNER1', _1tlb[_1tlb.PARTNER2 = 2] = 'PARTNER2'; }(_1tl3 || (_1tl3 = {})), function(_1tld) { var _1tle = null; _1tld[_1tld.FLAG_SHIP = 0] = 'FLAG_SHIP', _1tld[_1tld.FLAG_SHIP_B = 1] = 'FLAG_SHIP_B', _1tld[_1tld.PARTNER1 = 2] = 'PARTNER1', _1tld[_1tld.PARTNER2 = 3] = 'PARTNER2'; }(_1tl4 || (_1tl4 = {})); var _1tlf = function(_1tlg) { var _1tlh = null; function _1tli(_1tlj) { var _1tlk = null, _1tll = _1tlg.call(this) || this; _1tll._preAnim = function() { var _1tlm = null; for (var _1tln = 0; _1tln < _1tll._attackers.length; _1tln++) { var _1tlo = _1tll._attackers[_1tln].mst_id, _1tlp = _1tll._ships[_1tln]; _1tlp.texture = _1tl6.default.resources.getShip(_1tlo, !1, 'special'); var _1tlq = _1tll._getSetting(_1tlo, _1tln); null != _1tlq && (_1tlp.position.set(_1tlq.x, _1tlq.y), _1tlp.scale.set(_1tlq.scale)), _1tll._view.chara[_1tln].addChild(_1tlp), _1tll._view.chara[_1tln].position.x = -_1tlp.width, _1tll._view.chara[_1tln].alpha = 0; } _1tll._flagShipSlideIn(); }, _1tll._flagShipSlideIn = function() { var _1tlr = null, _1tls = _1tll._attackers[_1tl3.FLAG_SHIP], _1tlt = _1tll._attackers[_1tl3.PARTNER1], _1tlu = _1tll._getVoiceId(_1tls.mst_id, _1tlt.mst_id); _1tl6.default.sound.voice.play(_1tls.mst_id.toString(), _1tlu), createjs.Tween.get(_1tll._view.chara[_1tl3.FLAG_SHIP]).to({ 'x': 0, 'alpha': 1 }, 600, createjs.Ease.sineOut).wait(200).call(_1tll._partner1SlideIn); }, _1tll._partner1SlideIn = function() { var _1tlv = null; 2 == _1tll._attackers.length ? createjs.Tween.get(_1tll._view.chara[_1tl3.PARTNER1]).to({ 'x': 0, 'alpha': 1 }, 600, createjs.Ease.sineOut).wait(800).call(_1tll._flagShipFire2) : createjs.Tween.get(_1tll._view.chara[_1tl3.PARTNER1]).to({ 'x': 0, 'alpha': 1 }, 600, createjs.Ease.sineOut).wait(200).call(_1tll._partner2SlideIn); }, _1tll._partner2SlideIn = function() { var _1tlw = null; createjs.Tween.get(_1tll._view.chara[_1tl3.PARTNER2]).to({ 'x': 0, 'alpha': 1 }, 600, createjs.Ease.sineOut).wait(800).call(_1tll._flagShipFire1); }, _1tll._flagShipFire2 = function() { var _1tlx = null; createjs.Tween.get(null).call(function() { var _1tly = null, _1tlz = _1tll._view.explosion.getChildAt(_1tl4.FLAG_SHIP); _1tlz.position = _1tll._getSmokePos(_1tll._attackers[_1tl3.FLAG_SHIP].mst_id, _1tll._ships[_1tl3.FLAG_SHIP].position), _1tll._initializeSmoke(_1tlz), _1tlz.createTweens(); }).wait(100).call(function() { var _1tm0 = null, _1tm1 = _1tll._view.explosion.getChildAt(_1tl4.FLAG_SHIP_B); _1tm1.position = _1tll._getSmokeBPos(_1tll._attackers[_1tl3.FLAG_SHIP].mst_id, _1tll._ships[_1tl3.FLAG_SHIP].position), _1tll._initializeSmoke(_1tm1), _1tm1.createTweens(); }).call(_1tll._partner1Fire); }, _1tll._flagShipFire1 = function() { var _1tm2 = null; createjs.Tween.get(null).call(function() { var _1tm3 = null, _1tm4 = _1tll._view.explosion.getChildAt(_1tl4.FLAG_SHIP); _1tm4.position = _1tll._getSmokePos(_1tll._attackers[_1tl3.FLAG_SHIP].mst_id, _1tll._ships[_1tl3.FLAG_SHIP].position), _1tll._initializeSmoke(_1tm4), _1tm4.createTweens(); }).call(_1tll._partner1Fire); }, _1tll._partner1Fire = function() { var _1tm5 = null; 2 == _1tll._attackers.length ? createjs.Tween.get(null).wait(200).call(function() { var _1tm6 = null, _1tm7 = _1tll._view.explosion.getChildAt(_1tl4.PARTNER1); _1tm7.position = _1tll._getSmokePos(_1tll._attackers[_1tl3.PARTNER1].mst_id, _1tll._ships[_1tl3.PARTNER1].position), _1tll._initializeSmoke(_1tm7), _1tm7.createTweens(); }).call(_1tll._fadeOut) : createjs.Tween.get(null).wait(200).call(function() { var _1tm8 = null, _1tm9 = _1tll._view.explosion.getChildAt(_1tl4.PARTNER1); _1tm9.position = _1tll._getSmokePos(_1tll._attackers[_1tl3.PARTNER1].mst_id, _1tll._ships[_1tl3.PARTNER1].position), _1tll._initializeSmoke(_1tm9), _1tm9.createTweens(); }).call(_1tll._partner2Fire); }, _1tll._partner2Fire = function() { var _1tma = null; createjs.Tween.get(null).wait(200).call(function() { var _1tmb = null, _1tmc = _1tll._view.explosion.getChildAt(_1tl4.PARTNER2); _1tmc.position = _1tll._getSmokePos(_1tll._attackers[_1tl3.PARTNER2].mst_id, _1tll._ships[_1tl3.PARTNER2].position), _1tll._initializeSmoke(_1tmc), _1tmc.createTweens(); }).call(_1tll._fadeOut); }, _1tll._fadeOut = function() { var _1tmd = null; createjs.Tween.get(null).wait(500).call(function() { var _1tme = null; createjs.Tween.get(_1tll._ships[_1tl3.FLAG_SHIP]).to({ 'alpha': 0 }, 500), createjs.Tween.get(_1tll._ships[_1tl3.PARTNER1]).to({ 'alpha': 0 }, 500), null != _1tll._ships[_1tl3.PARTNER2] && createjs.Tween.get(_1tll._ships[_1tl3.PARTNER2]).to({ 'alpha': 0 }, 500); }).wait(600).call(function() { var _1tmf = null; _1tll._endTask(); }); }, _1tll._attackers = _1tlj, _1tll._view = new _1tmg(_1tlj.length), _1tll._ships = []; for (var _1tmh = 0; _1tmh < _1tll._attackers.length; _1tmh++) _1tll._ships.push(new _1tl8.Sprite()); return [new _1tmi(), new _1tmi(), new _1tmi(), new _1tmi()].map(function(_1tmj) { var _1tmk = null; return _1tll._view.explosion.addChild(_1tmj); }), _1tll; } return _1tkk(_1tli, _1tlg), Object.defineProperty(_1tli.prototype, 'view', { 'get': function() { var _1tml = null; return this._view; }, 'enumerable': !1, 'configurable': !0 }), _1tli.prototype._start = function() { var _1tmm = null; this._load(); }, _1tli.prototype._load = function() { var _1tmn = null; for (var _1tmo = this, _1tmp = new _1tla.ShipLoader(), _1tmq = 0; _1tmq < this._attackers.length; _1tmq++) _1tmp.add(this._attackers[_1tmq].mst_id, !1, 'special'); _1tmp.load(function() { var _1tmr = null; _1tmo._preAnim(); }); }, _1tli.prototype._getVoiceId = function(_1tms, _1tmt) { switch (_1tms) { case 911: case 916: return 546 == _1tmt ? 900 : 901; case 546: return 900; } }, _1tli.prototype._initializeSmoke = function(_1tmu) { var _1tmv = null; _1tmu.position.x > _1tl5.default.width / 2 ? _1tmu.initialize(82) : _1tmu.position.y > _1tl5.default.height / 2 && _1tmu.initialize(83), _1tmu.initialize(84); }, _1tli.prototype._getSmokePos = function(_1tmw, _1tmx) { var _1tmy = null, _1tmz = this._getCutinSettings(_1tmw).smoke; return new PIXI.Point(_1tmx.x + _1tmz.x, _1tmx.y + _1tmz.y); }, _1tli.prototype._getSmokeBPos = function(_1tn0, _1tn1) { var _1tn2 = null, _1tn3, _1tn4 = null === (_1tn3 = this._getCutinSettings(_1tn0)) || void 0 === _1tn3 ? void 0 : _1tn3.smoke_b; return null != _1tn4 ? new PIXI.Point(_1tn1.x + _1tn4.x, _1tn1.y + _1tn4.y) : new PIXI.Point(0, 0); }, _1tli.prototype._getSetting = function(_1tn5, _1tn6) { var _1tn7 = null, _1tn8 = this._getCutinSettings(_1tn5); return _1tn6 == _1tl3.FLAG_SHIP ? _1tn8.flagShip : _1tn6 == _1tl3.PARTNER1 ? _1tn8.partner1 : _1tn8.partner2; }, _1tli.prototype._getCutinSettings = function(_1tn9) { var _1tna = null; switch (_1tn9) { case 911: case 916: return { 'flagShip': { 'x': -485, 'y': -107, 'scale': 1 }, 'partner1': { 'x': -155, 'y': 4, 'scale': 1 }, 'partner2': null, 'smoke': new PIXI.Point(1350, 404), 'smoke_b': new PIXI.Point(1524, 501) }; case 546: return { 'flagShip': { 'x': -377, 'y': -102, 'scale': 1 }, 'partner1': { 'x': 19, 'y': 124, 'scale': 1 }, 'partner2': { 'scale': 1, 'x': 0, 'y': 0 }, 'smoke': new PIXI.Point(1266, 382), 'smoke_b': new PIXI.Point(1426, 498) }; case 360: return { 'flagShip': null, 'partner1': { 'x': 88, 'y': 48, 'scale': 1 }, 'partner2': null, 'smoke': new PIXI.Point(105, 544) }; case 178: return { 'flagShip': null, 'partner1': { 'x': 51, 'y': 172, 'scale': 1 }, 'partner2': null, 'smoke': new PIXI.Point(181, 472) }; case 392: return { 'flagShip': null, 'partner1': { 'x': -50, 'y': 147, 'scale': 1 }, 'partner2': null, 'smoke': new PIXI.Point(46, 471) }; case 541: return { 'flagShip': null, 'partner1': { 'x': -60, 'y': 85, 'scale': 1 }, 'partner2': { 'x': 286, 'y': 243, 'scale': 1 }, 'smoke': new PIXI.Point(385, 577) }; case 573: return { 'flagShip': null, 'partner1': { 'x': 57, 'y': 117, 'scale': 1 }, 'partner2': { 'x': 393, 'y': 292, 'scale': 1 }, 'smoke': new PIXI.Point(646, 584) }; case 553: return { 'flagShip': null, 'partner1': { 'x': -26, 'y': 151, 'scale': 1 }, 'partner2': { 'x': 321, 'y': 307, 'scale': 1 }, 'smoke': new PIXI.Point(109, 381) }; case 554: return { 'flagShip': null, 'partner1': { 'x': 90, 'y': -90, 'scale': 1 }, 'partner2': { 'x': 433, 'y': 78, 'scale': 1 }, 'smoke': new PIXI.Point(797, 333) }; case 411: return { 'flagShip': null, 'partner1': { 'x': 205, 'y': 145, 'scale': 0.95 }, 'partner2': { 'x': 520, 'y': 283, 'scale': 0.95 }, 'smoke': new PIXI.Point(69, 853) }; case 412: return { 'flagShip': null, 'partner1': { 'x': 94, 'y': 75, 'scale': 0.95 }, 'partner2': { 'x': 373, 'y': 246, 'scale': 0.95 }, 'smoke': new PIXI.Point(360, 715) }; case 576: return { 'flagShip': null, 'partner1': { 'x': 76, 'y': 126, 'scale': 1 }, 'partner2': { 'x': 385, 'y': 295, 'scale': 1 }, 'smoke': new PIXI.Point(233, 472) }; case 364: return { 'flagShip': null, 'partner1': { 'x': 67, 'y': 96, 'scale': 0.97 }, 'partner2': { 'x': 414, 'y': 274, 'scale': 0.97 }, 'smoke': new PIXI.Point(522, 586) }; case 591: return { 'flagShip': null, 'partner1': { 'x': 60, 'y': 103, 'scale': 1 }, 'partner2': { 'x': 397, 'y': 277, 'scale': 1 }, 'smoke': new PIXI.Point(1039, 237) }; case 592: return { 'flagShip': null, 'partner1': { 'x': -3, 'y': 159, 'scale': 1 }, 'partner2': { 'x': 336, 'y': 327, 'scale': 1 }, 'smoke': new PIXI.Point(741, 290) }; case 593: return { 'flagShip': null, 'partner1': { 'x': 78, 'y': 150, 'scale': 1 }, 'partner2': { 'x': 404, 'y': 323, 'scale': 1 }, 'smoke': new PIXI.Point(1039, 230) }; case 954: return { 'flagShip': null, 'partner1': { 'x': 78, 'y': 120, 'scale': 1 }, 'partner2': { 'x': 404, 'y': 323, 'scale': 1 }, 'smoke': new PIXI.Point(1039, 230) }; case 697: return { 'flagShip': null, 'partner1': { 'x': 70, 'y': -32, 'scale': 0.97 }, 'partner2': { 'x': 390, 'y': 115, 'scale': 1 }, 'smoke': new PIXI.Point(160, 465) }; case 659: return { 'flagShip': null, 'partner1': { 'x': -41, 'y': 121, 'scale': 1 }, 'partner2': { 'x': 304, 'y': 288, 'scale': 1 }, 'smoke': new PIXI.Point(942, 401) }; case 446: return { 'flagShip': null, 'partner1': { 'x': 196, 'y': 168, 'scale': 1 }, 'partner2': { 'x': 496, 'y': 310, 'scale': 1 }, 'smoke': new PIXI.Point(750, 128) }; case 447: return { 'flagShip': null, 'partner1': { 'x': 61, 'y': 153, 'scale': 1 }, 'partner2': { 'x': 384, 'y': 315, 'scale': 1.03 }, 'smoke': new PIXI.Point(112, 325) }; case 1496: return { 'flagShip': null, 'partner1': { 'x': 6, 'y': 124, 'scale': 1 }, 'partner2': { 'x': 348, 'y': 292, 'scale': 1 }, 'smoke': new PIXI.Point(374, 573) }; case 918: return { 'flagShip': null, 'partner1': { 'x': 73, 'y': 90, 'scale': 1 }, 'partner2': { 'x': 268, 'y': 196, 'scale': 1 }, 'smoke': new PIXI.Point(134, 666) }; } }, _1tli.prototype._endTask = function() { var _1tnb = null; this._view.dispose(), this._attackers = null, this._view = null, _1tlg.prototype._endTask.call(this); }, _1tli; }(_1tl7.TaskBase); _1tkg.CutinYamatoAttack = _1tlf; var _1tmi = function(_1tnc) { var _1tnd = null; function _1tne() { var _1tnf = null, _1tng = _1tnc.call(this) || this; return _1tng._img = new _1tl8.Sprite(), _1tng._img.anchor.set(0.35, 0.8), _1tng._img.scale.set(0), _1tng.addChild(_1tng._img), _1tng; } return _1tkk(_1tne, _1tnc), _1tne.prototype.initialize = function(_1tnh) { var _1tni = null; this._img.texture = _1tl9.BATTLE_MAIN.getTexture(_1tnh); }, _1tne.prototype.createTweens = function() { var _1tnj = null; createjs.Tween.get(this._img).to({ 'scaleX': 1.2, 'scaleY': 1.2 }, 300).to({ 'scaleX': 1.5, 'scaleY': 1.5, 'alpha': 0 }, 600); }, _1tne; }(PIXI.Container), _1tmg = function(_1tnk) { var _1tnl = null; function _1tnm(_1tnn) { var _1tno = null, _1tnp = _1tnk.call(this) || this; _1tnp._chara = []; for (var _1tnq = 0; _1tnq < _1tnn; _1tnq++) { var _1tnr = new PIXI.Container(); _1tnp._chara.push(_1tnr), _1tnp.addChild(_1tnr); } return _1tnp._explosion = new PIXI.Container(), _1tnp.addChild(_1tnp._explosion), _1tnp; } return _1tkk(_1tnm, _1tnk), Object.defineProperty(_1tnm.prototype, 'chara', { 'get': function() { var _1tns = null; return this._chara; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1tnm.prototype, 'explosion', { 'get': function() { var _1tnt = null; return this._explosion; }, 'enumerable': !1, 'configurable': !0 }), _1tnm.prototype.dispose = function() { var _1tnu = null; this._chara.map(function(_1tnv) { var _1tnw = null; return _1tnv.removeChildren(); }), this._chara.length = 0, this._explosion.removeChildren(), this.removeChildren(), this._chara = null, this._explosion = null; }, _1tnm; }(PIXI.Container); }, 7438: function(_1tnx, _1tny, _1tnz) { 'use strict'; var _1to0 = null; var _1to1, _1to2 = this && this.__extends || (_1to1 = function(_1to3, _1to4) { var _1to5 = null; return _1to1 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1to6, _1to7) { var _1to8 = null; _1to6.__proto__ = _1to7; } || function(_1to9, _1toa) { var _1tob = null; for (var _1toc in _1toa) Object.prototype.hasOwnProperty.call(_1toa, _1toc) && (_1to9[_1toc] = _1toa[_1toc]); }, _1to1(_1to3, _1to4); }, function(_1tod, _1toe) { var _1tof = null; if ('function' != typeof _1toe && null !== _1toe) throw new TypeError('Class extends value ' + String(_1toe) + ' is not a constructor or null'); function _1tog() { var _1toh = null; this.constructor = _1tod; } _1to1(_1tod, _1toe), _1tod.prototype = null === _1toe ? Object.create(_1toe) : (_1tog.prototype = _1toe.prototype, new _1tog()); }), _1toi = this && this.__importDefault || function(_1toj) { var _1tok = null; return _1toj && _1toj.__esModule ? _1toj : { 'default': _1toj }; }; defineModule(_1tny); Object.defineProperty(_1tny, '__esModule', { 'value': !0 }), _1tny['$_$'] = _1tny.CutinZRK = void 0; var _1tol = _1tnz(81755), _1tom = _1tnz(20137), _1ton = _1tnz(37760), _1too = function(_1top) { var _1toq = null; function _1tor(_1tos, _1tot, _1tou) { var _1tov = null, _1tow = _1top.call(this) || this, _1tox = new _1toy(), _1toz = new PIXI.Container(), _1tp0 = new PIXI.Sprite(), _1tp1 = new _1tp2(), _1tp3 = new _1tp2(), _1tp4 = new PIXI.Container(), _1tp5 = new PIXI.Sprite(), _1tp6 = new PIXI.Sprite(), _1tp7 = new PIXI.Sprite(), _1tp8 = new _1tp9(_1tos.mst_id, _1tos.isDamaged(), _1tot, _1tou); return _1tp5.filters = [_1tp3], _1tp0.filters = [_1tp1], _1tow._attacker = _1tos, _1tow._chara = _1tp0, _1tow._container = _1toz, _1tow._pack = _1tox, _1tow._preload_task = _1tp8, _1tow._zuiun = _1tp5, _1tow._zuiunMstId = _1tot, _1tow._zuiunFlashFilter = _1tp3, _1tow._charaFlashFilter = _1tp1, _1tow._mainArmament = _1tp6, _1tow._mainArmamentMstID = _1tou, _1tow._mainArmamentText = _1tp7, _1tow._zuiunGraphicContainer = _1tp4, _1tow; } return _1to2(_1tor, _1top), _1tor.prototype.getPreloadTask = function() { var _1tpa = null; return this._preload_task; }, Object.defineProperty(_1tor.prototype, 'view', { 'get': function() { var _1tpb = null; return this._container; }, 'enumerable': !1, 'configurable': !0 }), _1tor.prototype.dispose = function() { var _1tpc = null; this._container.removeChildren(), this._zuiunGraphicContainer.removeChildren(), this._pack.dispose(), this._chara.filters = [], this._zuiun.filters = [], this._chara.texture = PIXI.Texture.EMPTY, this._zuiun.texture = PIXI.Texture.EMPTY, this._mainArmament.texture = PIXI.Texture.EMPTY, this._mainArmamentText.texture = PIXI.Texture.EMPTY, this.onCallAttackEffect = null, this.onCallAttackVoice = null, this._attacker = null, this._container = null, this._zuiunGraphicContainer = null, this._pack = null, this._chara = null, this._zuiun = null, this._preload_task = null, this._zuiunMstId = null, this._mainArmament = null, this._mainArmamentText = null, this._zuiunFlashFilter = null, this._charaFlashFilter = null, this._mainArmamentMstID = null; }, _1tor.prototype._start = function() { var _1tpd = null, _1tpe = this, _1tpf = { 'x': 0, 'y': 0, 'scale_x': 1, 'scale_y': 1, 'rotation': 0 }; if (this._pack.mainArmamemntContainer.position.set(1560, 367.35 * 1.5), this._pack.zuiunContainer.position.set(-531, 320.65 * 1.5), this._pack.zuiunContainer.scale.set(0.6, 0.6), this._pack.mainArmamentTextContainer.position.set(1800, 270), this._pack.smoke1.position.set(430.575, 538.8), this._pack.smoke2.position.set(289.1 * 1.5 + 284.25, 378.6), this._pack.smoke3.position.set(489, 436.8), this._pack.smoke1.anchor.set(0.5, 0.5), this._pack.smoke2.anchor.set(0.5, 0.5), this._pack.smoke3.anchor.set(0.5, 0.5), this._pack.smoke1.scale.set(0.8, 0.8), this._pack.smoke2.scale.set(0.1, 0.1), this._pack.smoke3.scale.set(0.15, 0.15), this._pack.smoke1.alpha = 0, this._pack.smoke2.alpha = 0, this._pack.smoke3.alpha = 0, this._pack.whiteBg.alpha = 0, this._pack.blueBg.alpha = 0, this._pack.zuiunFrame.alpha = 0, this._pack.telopBG.alpha = 0, 1 == _1tpg.PlaneConst.OFFSET.hasOwnProperty(this._zuiunMstId.toString())) { var _1tph = _1tpg.PlaneConst.OFFSET[this._zuiunMstId], _1tpi = _1tpj.ObjUtil.getNumber(_1tph, 'x'), _1tpk = _1tpj.ObjUtil.getNumber(_1tph, 'y'), _1tpl = _1tpj.ObjUtil.getNumber(_1tph, 'r'), _1tpm = _1tpj.ObjUtil.getNumber(_1tph, 'sx', 1); _1tpf.scale_x = _1tpm, _1tpf.scale_y = 1, _1tpf.x = _1tpi, _1tpf.y = _1tpk, _1tpf.rotation = -_1tpl; } this._zuiun.rotation = _1tpf.rotation / 180 * Math.PI, this._zuiun.scale.set(_1tpf.scale_x, _1tpf.scale_y), this._zuiun.position.set(_1tpf.x, _1tpf.y), this._zuiunGraphicContainer.position.set(149.05 * 1.5, 223.05 * 1.5), this._mainArmamentText.anchor.set(0.5, 0.5), this._mainArmamentText.scale.set(0.8, 0.8), this._mainArmamentText.texture = _1tpn.default.resources.getSlotitem(this._mainArmamentMstID, 'btxt_flat'), this._chara.texture = _1tpn.default.resources.getShip(this._attacker.mst_id, this._attacker.isDamaged(), 'full'), this._zuiun.texture = _1tpn.default.resources.getSlotitem(this._zuiunMstId, 'item_up'), this._zuiun.anchor.set(0.5, 0.5), this._mainArmament.texture = _1tpn.default.resources.getSlotitem(this._mainArmamentMstID, 'item_up'), this._mainArmament.scale.set(1.5, 1.5), this._mainArmament.anchor.set(0.5, 0.5), this._zuiun.alpha = 0, this._chara.alpha = 0, this._pack.charaContainer.addChild(this._chara), this._zuiunGraphicContainer.addChild(this._zuiun), this._pack.zuiunContainer.addChild(this._zuiunGraphicContainer), this._pack.mainArmamemntContainer.addChild(this._mainArmament), this._pack.mainArmamentTextContainer.addChild(this._mainArmamentText), this._pack.zuiunFrame.update(this._attacker.friend), this._pack.telopBG.update(this._attacker.friend), this._container.addChild(this._pack.blueBg), this._container.addChild(this._pack.charaContainer), this._container.addChild(this._pack.zuiunContainer), this._container.addChild(this._pack.textZui, this._pack.textUn, this._pack.textRittaikougeki), this._container.addChild(this._pack.telopBG), this._container.addChild(this._pack.mainArmamentTextContainer), this._container.addChild(this._pack.mainArmamemntContainer), this._container.addChild(this._pack.zuiunFrame), this._container.addChild(this._pack.smoke1, this._pack.smoke2, this._pack.smoke3), this._container.addChild(this._pack.whiteBg); var _1tpo = _1tpp.Sequence(function() { var _1tpq = null; return _1tpp.Call(function() { var _1tpr = null; return _1tpe.onCallAttackVoice(); }); }, function() { var _1tps = null; return _1tpe._CUT_01_TextEnter(); }, function() { var _1tpt = null; return _1tpp.Delay(29 / 30 * 1000); }, function() { var _1tpu = null; return _1tpp.Parallel(function() { var _1tpv = null; return _1tpe._CUT_02_ZuiunEnter(); }, function() { var _1tpw = null; return _1tpp.Sequence(function() { var _1tpx = _1tpw; return _1tpp[_1tpx(7672)](7 / 30 * 1000); }, function() { var _1tpy = _1tpw; return _1tpe[_1tpy(12020)](); }); }); }, function() { var _1tpz = null; return _1tpp.Delay(500); }, function() { var _1tq0 = null; return _1tpp.Parallel(function() { var _1tq1 = null; return _1tpe._CUT_04_ZuiunAttack(); }, function() { var _1tq2 = null; return _1tpp.Sequence(function() { var _1tq3 = _1tq2; return _1tpp[_1tq3(7672)](300); }, function() { var _1tq4 = _1tq2; return _1tpe[_1tq4(2713)](); }); }); }, function() { var _1tq5 = null; return _1tpp.Delay(4 / 30 * 1000); }, function() { var _1tq6 = null; return _1tpe._CUT_06_WHITE_IN_OUT(); }); _1tpo.execute(function() { var _1tq7 = null; _1tpo.dispose(), _1tpe._completedEnd(); }); }, _1tor.prototype._CUT_04_ZuiunAttack = function() { var _1tq8 = null, _1tq9 = this; return _1tpp.Sequence(function() { var _1tqa = null; return _1tpp.Call(function() { var _1tqb = null; _1tq9._zuiunFlashFilter.factor = 0.8; }); }, function() { var _1tqc = null; return _1tpp.Delay(1 / 30 * 1000); }, function() { var _1tqd = null; return _1tpp.Call(function() { var _1tqe = null; _1tq9._zuiunFlashFilter.factor = 0; }); }, function() { var _1tqf = null; return _1tpp.Delay(1 / 30 * 1000); }, function() { var _1tqg = null; return _1tpp.Call(function() { var _1tqh = null; return _1tqi.SE.play('113'); }); }, function() { var _1tqj = null; return _1tpp.Parallel(function() { var _1tqk = null; return _1tpp.Value(_1tq9._zuiunGraphicContainer.scale, { 'x': 1.1, 'y': 1.1 }, 7 / 30 * 1000); }, function() { var _1tql = null; return _1tpp.Value(_1tq9._zuiun, { 'rotation': _1tq9._zuiun.rotation + Math.PI / 180 * 45 }, 7 / 30 * 1000); }, function() { var _1tqm = null; return _1tpp.Value(_1tq9._pack.zuiunContainer.position, { 'x': 391.6 * 1.5, 'y': 1.5 * -41.3 }, 7 / 30 * 1000); }); }, function() { var _1tqn = null; return _1tpp.Parallel(function() { var _1tqo = null; return _1tpp.Value(_1tq9._zuiunGraphicContainer.scale, { 'x': 0.3, 'y': 0.3 }, 400); }, function() { var _1tqp = null; return _1tpp.Value(_1tq9._pack.zuiunContainer.position, { 'x': 1062.225, 'y': 309.9 * 1.5 }, 400); }); }); }, _1tor.prototype._CUT_06_WHITE_IN_OUT = function() { var _1tqq = null, _1tqr = this; return _1tpp.Sequence(function() { var _1tqs = null; return _1tpp.Value(_1tqr._pack.whiteBg, { 'alpha': 1 }, 5 / 30 * 1000); }, function() { var _1tqt = null; return _1tpp.Call(function() { var _1tqu = null; _1tqr._container.removeChild(_1tqr._pack.charaContainer), _1tqr._container.removeChild(_1tqr._pack.zuiunContainer), _1tqr._container.removeChild(_1tqr._pack.textZui), _1tqr._container.removeChild(_1tqr._pack.textUn), _1tqr._container.removeChild(_1tqr._pack.textRittaikougeki), _1tqr._container.removeChild(_1tqr._pack.telopBG), _1tqr._container.removeChild(_1tqr._pack.mainArmamemntContainer), _1tqr._container.removeChild(_1tqr._pack.mainArmamentTextContainer), _1tqr._container.removeChild(_1tqr._pack.zuiunFrame), _1tqr._container.removeChild(_1tqr._pack.smoke1), _1tqr._container.removeChild(_1tqr._pack.smoke2), _1tqr._container.removeChild(_1tqr._pack.smoke3), _1tqr._container.removeChild(_1tqr._pack.blueBg); }); }, function() { var _1tqv = null; return _1tpp.Delay(5 / 30 * 1000); }, function() { var _1tqw = null; return _1tpp.Call(function() { var _1tqx = null; _1tqr.onCallAttackEffect(); }); }, function() { var _1tqy = null; return _1tpp.Value(_1tqr._pack.whiteBg, { 'alpha': 0 }, 5 / 30 * 1000); }, function() { var _1tqz = null; return _1tpp.Delay(4 / 30 * 1000); }); }, _1tor.prototype._CUT_05_Explosion = function() { var _1tr0 = null, _1tr1 = this; return _1tpp.Parallel(function() { var _1tr2 = null; return _1tpp.Call(function() { var _1tr3 = null; return _1tqi.SE.play('102'); }); }, function() { var _1tr4 = null; return _1tpp.Sequence(function() { var _1tr5 = null; return _1tpp.Delay(1 / 30 * 1000); }, function() { var _1tr6 = null; return _1tpp.Call(function() { var _1tr7 = _1tr6; return _1tqi.SE[_1tr7(8679)](_1tr7(469)); }); }); }, function() { var _1tr8 = null; return _1tpp.Sequence(function() { var _1tr9 = null; return _1tpp.Delay(2 / 30 * 1000); }, function() { var _1tra = null; return _1tpp.Call(function() { var _1trb = _1tra; return _1tqi.SE[_1trb(8679)](_1trb(11159)); }); }); }, function() { var _1trc = null; return _1tpp.Sequence(function() { var _1trd = null; return _1tpp.Call(function() { var _1tre = _1trd; _1tr1[_1tre(3002)][_1tre(6506)] = 0.8; }); }, function() { var _1trf = null; return _1tpp.Delay(1 / 30 * 1000); }, function() { var _1trg = null; return _1tpp.Call(function() { var _1trh = _1trg; _1tr1[_1trh(3002)][_1trh(6506)] = 0; }); }); }, function() { var _1tri = null; return _1tpp.Sequence(function() { var _1trj = null; return _1tpp.Call(function() { var _1trk = _1trj; _1tr1[_1trk(9081)][_1trk(5196)][_1trk(8040)](-16, 0); }); }, function() { var _1trl = null; return _1tpp.Delay(1 / 30 * 1000); }, function() { var _1trm = null; return _1tpp.Call(function() { var _1trn = _1trm; _1tr1[_1trn(9081)][_1trn(5196)][_1trn(8040)](-7, 0); }); }, function() { var _1tro = null; return _1tpp.Delay(1 / 30 * 1000); }, function() { var _1trp = null; return _1tpp.Call(function() { var _1trq = _1trp; _1tr1[_1trq(9081)][_1trq(5196)][_1trq(8040)](0, 0); }); }); }, function() { var _1trr = null; return _1tpp.Sequence(function() { var _1trs = null; return _1tpp.Delay(2 / 30 * 1000); }, function() { var _1trt = null; return _1tpp.Parallel(function() { var _1tru = _1trt; return _1tpp[_1tru(3968)](_1tr1[_1tru(11012)][_1tru(9838)], { 'alpha': 1 }, 200); }, function() { var _1trv = _1trt; return _1tpp[_1trv(3968)](_1tr1[_1trv(11012)][_1trv(9838)][_1trv(2073)], { 'x': 1, 'y': 1 }, 200); }); }, function() { var _1trw = null; return _1tpp.Parallel(function() { var _1trx = _1trw; return _1tpp[_1trx(3968)](_1tr1[_1trx(11012)][_1trx(9838)], { 'alpha': 0 }, 400); }, function() { var _1try = _1trw; return _1tpp[_1try(3968)](_1tr1[_1try(11012)][_1try(9838)][_1try(2073)], { 'x': 1.1, 'y': 1.1 }, 400); }); }); }, function() { var _1trz = null; return _1tpp.Sequence(function() { var _1ts0 = null; return _1tpp.Delay(1 / 30 * 1000); }, function() { var _1ts1 = null; return _1tpp.Sequence(function() { var _1ts2 = _1ts1; return _1tpp[_1ts2(1048)](function() { var _1ts3 = _1ts2; return _1tpp[_1ts3(3968)](_1tr1[_1ts3(11012)][_1ts3(2378)], { 'alpha': 0.65 }, 200); }, function() { var _1ts4 = _1ts2; return _1tpp[_1ts4(3968)](_1tr1[_1ts4(11012)][_1ts4(2378)][_1ts4(2073)], { 'x': 0.45, 'y': 0.45 }, 200); }); }, function() { var _1ts5 = _1ts1; return _1tpp[_1ts5(1048)](function() { var _1ts6 = _1ts5; return _1tpp[_1ts6(3968)](_1tr1[_1ts6(11012)][_1ts6(2378)], { 'alpha': 0.89 }, 100); }, function() { var _1ts7 = _1ts5; return _1tpp[_1ts7(3968)](_1tr1[_1ts7(11012)][_1ts7(2378)][_1ts7(2073)], { 'x': 0.7, 'y': 0.7 }, 100); }); }, function() { var _1ts8 = _1ts1; return _1tpp[_1ts8(3968)](_1tr1[_1ts8(11012)][_1ts8(2378)][_1ts8(2073)], { 'x': 0.8, 'y': 0.8 }, 100); }); }, function() { var _1ts9 = null; return _1tpp.Call(function() { var _1tsa = _1ts9; _1tr1[_1tsa(11012)][_1tsa(2378)][_1tsa(5628)] = 0; }); }); }, function() { var _1tsb = null; return _1tpp.Sequence(function() { var _1tsc = null; return _1tpp.Parallel(function() { var _1tsd = _1tsc; return _1tpp[_1tsd(3968)](_1tr1[_1tsd(11012)][_1tsd(1847)], { 'alpha': 0.65 }, 100); }, function() { var _1tse = _1tsc; return _1tpp[_1tse(3968)](_1tr1[_1tse(11012)][_1tse(1847)][_1tse(2073)], { 'x': 0.5, 'y': 0.5 }, 100); }); }, function() { var _1tsf = null; return _1tpp.Parallel(function() { var _1tsg = _1tsf; return _1tpp[_1tsg(3968)](_1tr1[_1tsg(11012)][_1tsg(1847)][_1tsg(2073)], { 'x': 0.75, 'y': 0.75 }, 100); }, function() { var _1tsh = _1tsf; return _1tpp[_1tsh(3968)](_1tr1[_1tsh(11012)][_1tsh(1847)], { 'alpha': 0.13 }, 100); }); }, function() { var _1tsi = null; return _1tpp.Call(function() { var _1tsj = _1tsi; _1tr1[_1tsj(11012)][_1tsj(1847)][_1tsj(5628)] = 0; }); }); }); }, _1tor.prototype._CUT_02_ZuiunEnter = function() { var _1tsk = null, _1tsl = this; this._pack.zuiunContainer.position.set(-531, 320.65 * 1.5), this._pack.zuiunContainer.scale.set(0.6, 0.6), this._zuiun.alpha = 0; var _1tsm = function(_1tsn) { var _1tso = null; return (createjs.Ease.quintOut(2 * _1tsn) + createjs.Ease.quintOut(_1tsn)) * (1 / 3); }; return _1tpp.Parallel(function() { var _1tsp = null; return _1tpp.Call(function() { var _1tsq = null; return _1tqi.SE.play('115'); }); }, function() { var _1tsr = null; return _1tpp.Value(_1tsl._pack.zuiunContainer.scale, { 'x': 1, 'y': 1 }, 20 / 30 * 1000, _1tsm); }, function() { var _1tss = null; return _1tpp.Value(_1tsl._pack.zuiunContainer.position, { 'x': 238.55 * 1.5, 'y': 1.5 * -50.55 }, 20 / 30 * 1000, _1tsm); }, function() { var _1tst = null; return _1tpp.Value(_1tsl._zuiun, { 'alpha': 1 }, 20 / 30 * 1000, _1tsm); }); }, _1tor.prototype._CUT_03_FrameEnter = function() { var _1tsu = null, _1tsv = this; switch (this._pack.zuiunFrame.anchor.set(0.5, 0.5), this._pack.zuiunFrame.position.set(600, 360), this._pack.zuiunFrame.scale.set(1.15, 1.15), this._pack.zuiunFrame.alpha = 0, this._pack.telopBG.anchor.set(0.5, 0.5), this._pack.telopBG.position.set(600, 617.925), this._pack.telopBG.alpha = 0, this._pack.charaContainer.position.set(636.95 * 1.5, -309), this._attacker.mst_id) { case 553: this._attacker.isDamaged() ? this._chara.position.set(85.5, 307.5) : this._chara.position.set(-201, 348); break; case 554: this._attacker.isDamaged() ? this._chara.position.set(241.5, 399) : this._chara.position.set(0, 0); } this._chara.scale.set(1.5, 1.5), this._chara.alpha = 0, this._mainArmament.alpha = 0; var _1tsw = 13 / 30 * 1000, _1tsx = function(_1tsy) { var _1tsz = null; return (createjs.Ease.quintOut(2 * _1tsy) + createjs.Ease.quintOut(_1tsy)) * (1 / 3); }; return _1tpp.Parallel(function() { var _1tt0 = null; return _1tpp.Value(_1tsv._pack.zuiunFrame, { 'alpha': 1 }, _1tsw, createjs.Ease.linear); }, function() { var _1tt1 = null; return _1tpp.Sequence(function() { var _1tt2 = null; return _1tpp.Value(_1tsv._pack.zuiunFrame.scale, { 'x': 1, 'y': 1 }, _1tsw, createjs.Ease.linear); }, function() { var _1tt3 = null; return _1tpp.Call(function() { var _1tt4 = _1tt3; return _1tqi.SE[_1tt4(8679)](_1tt4(4301)); }); }); }, function() { var _1tt5 = null; return _1tpp.Value(_1tsv._pack.telopBG, { 'alpha': 1 }, _1tsw, _1tsx); }, function() { var _1tt6 = null; return _1tpp.Value(_1tsv._pack.charaContainer, { 'x': -535.425, 'y': -365.025 }, _1tsw, _1tsx); }, function() { var _1tt7 = null; return _1tpp.Value(_1tsv._chara, { 'alpha': 1 }, _1tsw, _1tsx); }, function() { var _1tt8 = null; return _1tpp.Value(_1tsv._mainArmament, { 'alpha': 1 }, _1tsw, _1tsx); }, function() { var _1tt9 = null; return _1tpp.Value(_1tsv._pack.mainArmamemntContainer.position, { 'x': 311.775, 'y': 500.625 }, _1tsw, _1tsx); }, function() { var _1tta = null; return _1tpp.Value(_1tsv._pack.mainArmamentTextContainer.position, { 'x': 512.4 * 1.5, 'y': 616.425 }, _1tsw, _1tsx); }); }, _1tor.prototype._CUT_01_TextEnter = function() { var _1ttb = null, _1ttc = this; this._pack.textZui.anchor.set(0.5, 0.5), this._pack.textUn.anchor.set(0.5, 0.5), this._pack.textRittaikougeki.anchor.set(0.5, 0.5), this._pack.textZui.position.set(372, 359.5), this._pack.textUn.position.set(460.5, 358.5), this._pack.textRittaikougeki.position.set(687, 359.5), this._pack.textZui.scale.set(1.15, 1.15), this._pack.textUn.scale.set(1.15, 1.15), this._pack.textRittaikougeki.scale.set(1.15, 1.15), this._pack.textZui.alpha = 0, this._pack.textUn.alpha = 0, this._pack.textRittaikougeki.alpha = 0; var _1ttd = 4 / 30 * 1000; return _1tpp.Parallel(function() { var _1tte = null; return _1tpp.Sequence(function() { var _1ttf = null; return _1tpp.Call(function() { var _1ttg = _1ttf; return _1tqi.SE[_1ttg(8679)](_1ttg(7172)); }); }, function() { var _1tth = null; return _1tpp.Delay(200); }, function() { var _1tti = null; return _1tpp.Call(function() { var _1ttj = _1tti; return _1tqi.SE[_1ttj(8679)](_1ttj(7172)); }); }, function() { var _1ttk = null; return _1tpp.Delay(200); }, function() { var _1ttl = null; return _1tpp.Call(function() { var _1ttm = _1ttl; return _1tqi.SE[_1ttm(8679)](_1ttm(7172)); }); }); }, function() { var _1ttn = null; return _1tpp.Value(_1ttc._pack.blueBg, { 'alpha': 0.7 }, 0.3); }, function() { var _1tto = null; return _1tpp.Parallel(function() { var _1ttp = null; return _1tpp.Value(_1ttc._pack.textZui, { 'alpha': 1 }, _1ttd); }, function() { var _1ttq = null; return _1tpp.Value(_1ttc._pack.textZui.scale, { 'x': 1, 'y': 1 }, _1ttd); }); }, function() { var _1ttr = null; return _1tpp.Sequence(function() { var _1tts = null; return _1tpp.Delay(200); }, function() { var _1ttt = null; return _1tpp.Parallel(function() { var _1ttu = _1ttt; return _1tpp[_1ttu(3968)](_1ttc[_1ttu(11012)][_1ttu(12329)], { 'alpha': 1 }, _1ttd); }, function() { var _1ttv = _1ttt; return _1tpp[_1ttv(3968)](_1ttc[_1ttv(11012)][_1ttv(12329)][_1ttv(2073)], { 'x': 1, 'y': 1 }, _1ttd); }); }); }, function() { var _1ttw = null; return _1tpp.Sequence(function() { var _1ttx = null; return _1tpp.Delay(400); }, function() { var _1tty = null; return _1tpp.Parallel(function() { var _1ttz = _1tty; return _1tpp[_1ttz(3968)](_1ttc[_1ttz(11012)][_1ttz(1210)], { 'alpha': 1 }, _1ttd); }, function() { var _1tu0 = _1tty; return _1tpp[_1tu0(3968)](_1ttc[_1tu0(11012)][_1tu0(1210)][_1tu0(2073)], { 'x': 1, 'y': 1 }, _1ttd); }); }); }); }, _1tor; }(_1tol.TaskBase); _1tny.CutinZRK = _1too; var _1tp9 = function(_1tu1) { var _1tu2 = null; function _1tu3(_1tu4, _1tu5, _1tu6, _1tu7) { var _1tu8 = null, _1tu9 = _1tu1.call(this) || this; return _1tu9._ship_mst_id = _1tu4, _1tu9._plane_mst_id = _1tu6, _1tu9._slot_mst_id = _1tu7, _1tu9._damaged = _1tu5, _1tu9; } return _1to2(_1tu3, _1tu1), _1tu3.prototype._start = function() { var _1tua = null; this._loadShipImage(); }, _1tu3.prototype._loadShipImage = function() { var _1tub = null, _1tuc = this, _1tud = new _1tom.ShipLoader(); _1tud.add(this._ship_mst_id, this._damaged, 'full'), _1tud.load(function() { var _1tue = null; _1tuc._loadSlotImage(); }); }, _1tu3.prototype._loadSlotImage = function() { var _1tuf = null, _1tug = this, _1tuh = new _1ton.SlotLoader(); _1tuh.add(this._plane_mst_id, 'item_up'), _1tuh.add(this._slot_mst_id, 'item_up'), _1tuh.add(this._slot_mst_id, 'btxt_flat'), _1tuh.load(function() { var _1tui = null; _1tug._endTask(); }); }, _1tu3; }(_1tol.TaskBase), _1tuj = _1tnz(96798), _1tpn = _1toi(_1tnz(18622)), _1tpg = _1tnz(92547), _1tpj = _1tnz(14921), _1tqi = _1tnz(31000), _1toy = (function() { var _1tuk = null; function _1tul() { var _1tum = null, _1tun = new PIXI.Sprite(_1tuj.BATTLE_ZRK.getTexture(7)), _1tuo = new PIXI.Sprite(_1tuj.BATTLE_ZRK.getTexture(8)), _1tup = new PIXI.Sprite(_1tuj.BATTLE_ZRK.getTexture(9)), _1tuq = new _1tur(), _1tus = new _1tut(), _1tuu = new PIXI.Sprite(_1tuj.BATTLE_ZRK.getTexture(4)), _1tuv = new PIXI.Sprite(_1tuj.BATTLE_ZRK.getTexture(5)), _1tuw = new PIXI.Sprite(_1tuj.BATTLE_ZRK.getTexture(6)), _1tux = new PIXI.Container(), _1tuy = new PIXI.Container(), _1tuz = new PIXI.Container(), _1tv0 = new PIXI.Container(), _1tv1 = new PIXI.Graphics().beginFill(16777215).drawRect(0, 0, 1200, 720).endFill(), _1tv2 = new PIXI.Graphics().beginFill(8900331).drawRect(0, 0, 1200, 720).endFill(); this._textZui = _1tun, this._textUn = _1tuo, this._textRittaikougeki = _1tup, this._zuiunFrame = _1tuq, this._telopBG = _1tus, this._smoke1 = _1tuu, this._smoke2 = _1tuv, this._smoke3 = _1tuw, this._charaContainer = _1tux, this._whiteBg = _1tv1, this._zuiunContainer = _1tuy, this._mainArmamentContainer = _1tuz, this._mainArmamentTextContainer = _1tv0, this._blueBg = _1tv2; } return Object.defineProperty(_1tul.prototype, 'textZui', { 'get': function() { var _1tv3 = null; return this._textZui; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1tul.prototype, 'textUn', { 'get': function() { var _1tv4 = null; return this._textUn; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1tul.prototype, 'textRittaikougeki', { 'get': function() { var _1tv5 = null; return this._textRittaikougeki; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1tul.prototype, 'zuiunFrame', { 'get': function() { var _1tv6 = null; return this._zuiunFrame; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1tul.prototype, 'telopBG', { 'get': function() { var _1tv7 = null; return this._telopBG; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1tul.prototype, 'smoke1', { 'get': function() { var _1tv8 = null; return this._smoke1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1tul.prototype, 'smoke2', { 'get': function() { var _1tv9 = null; return this._smoke2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1tul.prototype, 'smoke3', { 'get': function() { var _1tva = null; return this._smoke3; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1tul.prototype, 'whiteBg', { 'get': function() { var _1tvb = null; return this._whiteBg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1tul.prototype, 'blueBg', { 'get': function() { var _1tvc = null; return this._blueBg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1tul.prototype, 'charaContainer', { 'get': function() { var _1tvd = null; return this._charaContainer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1tul.prototype, 'zuiunContainer', { 'get': function() { var _1tve = null; return this._zuiunContainer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1tul.prototype, 'mainArmamemntContainer', { 'get': function() { var _1tvf = null; return this._mainArmamentContainer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1tul.prototype, 'mainArmamentTextContainer', { 'get': function() { var _1tvg = null; return this._mainArmamentTextContainer; }, 'enumerable': !1, 'configurable': !0 }), _1tul.prototype.dispose = function() { var _1tvh = null; this._charaContainer.removeChildren(), this._zuiunContainer.removeChildren(), this._mainArmamentContainer.removeChildren(), this._mainArmamentTextContainer.removeChildren(), this._textZui.texture = PIXI.Texture.EMPTY, this._textUn.texture = PIXI.Texture.EMPTY, this._textRittaikougeki.texture = PIXI.Texture.EMPTY, this._telopBG.texture = PIXI.Texture.EMPTY, this._smoke1.texture = PIXI.Texture.EMPTY, this._smoke2.texture = PIXI.Texture.EMPTY, this._smoke3.texture = PIXI.Texture.EMPTY, this._textZui = null, this._textUn = null, this._textRittaikougeki = null, this._zuiunFrame = null, this._telopBG = null, this._smoke1 = null, this._smoke2 = null, this._smoke3 = null, this._charaContainer = null, this._zuiunContainer = null, this._mainArmamentContainer = null, this._whiteBg = null, this._blueBg = null, this._mainArmamentTextContainer = null; }, _1tul; }()), _1tur = function(_1tvi) { var _1tvj = null; function _1tvk() { var _1tvl = null; return _1tvi.call(this) || this; } return _1to2(_1tvk, _1tvi), _1tvk.prototype.update = function(_1tvm) { var _1tvn = null, _1tvo; _1tvo = _1tvm ? _1tuj.BATTLE_ZRK.getTexture(0) : _1tuj.BATTLE_ZRK.getTexture(1), this.texture = _1tvo; }, _1tvk; }(PIXI.Sprite), _1tut = function(_1tvp) { var _1tvq = null; function _1tvr() { var _1tvs = null; return _1tvp.call(this) || this; } return _1to2(_1tvr, _1tvp), _1tvr.prototype.update = function(_1tvt) { var _1tvu = null, _1tvv; _1tvv = _1tvt ? _1tuj.BATTLE_ZRK.getTexture(3) : _1tuj.BATTLE_ZRK.getTexture(2), this.texture = _1tvv; }, _1tvr; }(PIXI.Sprite), _1tpp = (function() { var _1tvw = null; function _1tvx() {} return _1tvx.Sequence = function() { var _1tvy = null; for (var _1tvz = [], _1tw0 = 0; _1tw0 < arguments.length; _1tw0++) _1tvz[_1tw0] = arguments[_1tw0]; return new _1tw1(_1tvz); }, _1tvx.Parallel = function() { var _1tw2 = null; for (var _1tw3 = [], _1tw4 = 0; _1tw4 < arguments.length; _1tw4++) _1tw3[_1tw4] = arguments[_1tw4]; return new _1tw5(_1tw3); }, _1tvx.Delay = function(_1tw6) { return new _1tw7(_1tw6); }, _1tvx.Call = function(_1tw8) { return new _1tw9(_1tw8); }, _1tvx.Condition = function(_1twa, _1twb, _1twc) { return void 0 === _1twc && (_1twc = function() { var _1twd = null; return _1tvx.DoNothing(); }), new _1twe(_1twa, _1twb, _1twc); }, _1tvx.DoNothing = function() { return new _1twf(); }, _1tvx.WaitForTask = function(_1twg, _1twh) { return new _1twi(_1twg, _1twh); }, _1tvx.LoopFor = function(_1twj, _1twk) { return new _1twl(_1twj, _1twk); }, _1tvx.Value = function(_1twm, _1twn, _1two, _1twp, _1twq, _1twr) { var _1tws = null; return void 0 === _1twp && (_1twp = createjs.Ease.linear), void 0 === _1twq && (_1twq = function() {}), void 0 === _1twr && (_1twr = !1), new _1twt(_1twm, _1twn, _1two, _1twq, _1twp, _1twr); }, _1tvx.WaitForFrame = function(_1twu) { return new _1twv(_1twu); }, _1tvx.Tick = function(_1tww, _1twx) { return new _1twy(_1tww, _1twx); }, _1tvx.SILENT = function() {}, _1tvx.ENDLESS = _1tvx.SILENT, _1tvx; }()); _1tny['$_$'] = _1tpp; var _1twy = (function() { var _1twz = null; function _1tx0(_1tx1, _1tx2) { var _1tx3 = null, _1tx4 = this; this.onTick = function(_1tx5) { var _1tx6 = null, _1tx7 = _1tx5; _1tx4._checkCall() ? _1tx4._onTick(_1tx7) : (createjs.Ticker.removeEventListener('tick', _1tx4.onTick), _1tx4._onComplete()); }, this._onTick = _1tx2, this._checkCall = _1tx1; } return _1tx0.prototype.execute = function(_1tx8) { var _1tx9 = null; createjs.Ticker.addEventListener('tick', this.onTick), this._onComplete = _1tx8; }, _1tx0.prototype.dispose = function() { var _1txa = null; this._onTick = null, this._checkCall = null, this._onComplete = null; }, _1tx0.prototype.interrupt = function() { var _1txb = null; createjs.Ticker.removeEventListener('tick', this.onTick); }, _1tx0.prototype.interruptible = function() { return !0; }, _1tx0; }()), _1twf = (function() { var _1txc = null; function _1txd() {} return _1txd.prototype.interruptible = function() { return !0; }, _1txd.prototype.interrupt = function() {}, _1txd.prototype.execute = function(_1txe) { _1txe(); }, _1txd.prototype.dispose = function() {}, _1txd; }()), _1twe = (function() { var _1txf = null; function _1txg(_1txh, _1txi, _1txj) { var _1txk = null; this._testCondition = _1txh, this._trueCase = _1txi, this._falseCase = _1txj; } return _1txg.prototype.interruptible = function() { var _1txl = null; return this._job.interruptible(); }, _1txg.prototype.interrupt = function() { var _1txm = null; this._job.interrupt(), this._trueCase = function() {}, this._falseCase = function() {}, this._testCondition = function() {}; }, _1txg.prototype.execute = function(_1txn) { var _1txo = null, _1txp = this._testCondition() ? this._trueCase() : this._falseCase(); this._job = _1txp, _1txp.execute(_1txn); }, _1txg.prototype.dispose = function() { var _1txq = null; this._job.dispose(), this._job = null, this._testCondition = null, this._trueCase = null, this._falseCase = null; }, _1txg; }()), _1tw1 = (function() { var _1txr = null; function _1txs(_1txt) { var _1txu = null, _1txv = this; this._next = function() { var _1txw = null; if (_1txv._job && _1txv._job.dispose(), _1txv._job = null, _1txv._seek < _1txv._tasks.length) { var _1txx = (0, _1txv._tasks[_1txv._seek++])(); _1txv._job = _1txx, _1txx.execute(_1txv._next); } else _1txv._onComplete(); }, this._tasks = _1txt; } return _1txs.prototype.push = function() { var _1txy = null; for (var _1txz = [], _1ty0 = 0; _1ty0 < arguments.length; _1ty0++) _1txz[_1ty0] = arguments[_1ty0]; 1 == _1txz.length ? this._tasks.push(_1txz[0]) : this._tasks = this._tasks.concat(_1txz); }, _1txs.prototype.execute = function(_1ty1) { var _1ty2 = null; this._onComplete = _1ty1, this._start(); }, _1txs.prototype._start = function() { var _1ty3 = null; this._seek = 0, this._next(); }, _1txs.prototype.interruptible = function() { var _1ty4 = null; return this._job.interruptible(); }, _1txs.prototype.interrupt = function() { var _1ty5 = null; this._job.interrupt(); }, _1txs.prototype.dispose = function() { var _1ty6 = null, _1ty7 = this; this._job && this._job.dispose(), this._job = null, this._tasks.forEach(function(_1ty8, _1ty9) { var _1tya = null; _1ty7._tasks[_1ty9] = null; }), this._onComplete = null; }, _1txs; }()), _1tw7 = (function() { var _1tyb = null; function _1tyc(_1tyd) { var _1tye = null; this._duration = _1tyd; } return _1tyc.prototype.execute = function(_1tyf) { var _1tyg = null, _1tyh = createjs.Tween.get(this).wait(this._duration).call(_1tyf); this._tween = _1tyh, _1tyh.play(null); }, _1tyc.prototype.interruptible = function() { return !0; }, _1tyc.prototype.interrupt = function() { var _1tyi = null; createjs.Tween.removeTweens(this._tween.target); }, _1tyc.prototype.dispose = function() { var _1tyj = null; this._tween = null, this._duration = null; }, _1tyc; }()), _1tw9 = (function() { var _1tyk = null; function _1tyl(_1tym) { var _1tyn = null; this._call = _1tym; } return _1tyl.prototype.execute = function(_1tyo) { var _1typ = null; this._call(), _1tyo(); }, _1tyl.prototype.dispose = function() { var _1tyq = null; this._call = null; }, _1tyl.prototype.interruptible = function() { return !0; }, _1tyl.prototype.interrupt = function() {}, _1tyl; }()), _1twv = (function() { var _1tyr = null; function _1tys(_1tyt) { var _1tyu = null; this._frame = _1tyt; } return _1tys.prototype.execute = function(_1tyv) { var _1tyw = null, _1tyx = createjs.Tween.get(this, { 'useTicks': !0 }).wait(this._frame).call(function() { _1tyv(); }); this._tween = _1tyx, _1tyx.play(null); }, _1tys.prototype.dispose = function() { var _1tyy = null; this._tween = null, this._frame = null; }, _1tys.prototype.interruptible = function() { return !0; }, _1tys.prototype.interrupt = function() { var _1tyz = null; createjs.Tween.removeTweens(this._tween.target); }, _1tys; }()), _1twt = (function() { var _1tz0 = null; function _1tz1(_1tz2, _1tz3, _1tz4, _1tz5, _1tz6, _1tz7) { var _1tz8 = null, _1tz9 = this; this._complete = function() { var _1tza = null; _1tz9._tween.removeEventListener('change', _1tz9.__onUpdate__), _1tz9.__onUpdate__(), _1tz9.__onComplete__(); }, this.__onComplete__ = function() { var _1tzb = null; _1tz9._onComplete && _1tz9._onComplete(); }, this.__onUpdate__ = function() { var _1tzc = null; _1tz9._onUpadte && _1tz9._onUpadte(_1tz9._target); }, this._target = _1tz2, this._to = _1tz3, this._duration = _1tz4, this._onUpadte = _1tz5, this._easing = _1tz6; } return _1tz1.prototype.execute = function(_1tzd) { var _1tze = null, _1tzf = this; this._onComplete = _1tzd; var _1tzg = createjs.Tween.get(this._target).to(this._to, this._duration, this._easing).call(function() { var _1tzh = null; _1tzf._complete(); }); _1tzg.addEventListener('change', this.__onUpdate__), this._tween = _1tzg, _1tzg.play(null); }, _1tz1.prototype.dispose = function() { var _1tzi = null; this._target = null, this._to = null, this._duration = null, this._tween = null, this._easing = null, this._onUpadte = null; }, _1tz1.prototype.interruptible = function() { return !0; }, _1tz1.prototype.interrupt = function() { var _1tzj = null; createjs.Tween.removeTweens(this._tween.target), this._complete = function() {}, this.__onUpdate__ = function() {}, this._onComplete = null, this._onUpadte = null; }, _1tz1; }()), _1twi = (function() { var _1tzk = null; function _1tzl(_1tzm, _1tzn) { var _1tzo = null, _1tzp = this; this._completeLoopJob = function() { var _1tzq = null; _1tzp._loopJob.dispose(), _1tzp._loopJob = null, _1tzp._startLoopJob(); }, this._completeMainJob = function() { var _1tzr = null; _1tzp._mainJob.dispose(), _1tzp._mainJob = null; }, this._mainTask = _1tzm, this._loopTask = _1tzn; } return _1tzl.prototype.execute = function(_1tzs) { var _1tzt = null; this._onComplete = _1tzs, this._startMainJob(), this._startLoopJob(); }, _1tzl.prototype._startMainJob = function() { var _1tzu = null, _1tzv = this._mainTask(); this._mainJob = _1tzv, _1tzv.execute(this._completeMainJob); }, _1tzl.prototype._startLoopJob = function() { var _1tzw = null; if (null == this._mainJob) this._onComplete(); else { var _1tzx = this._loopTask(); this._loopJob = _1tzx, _1tzx.execute(this._completeLoopJob); } }, _1tzl.prototype.dispose = function() { var _1tzy = null; this._loopTask = null, this._mainTask = null, this._loopJob = null, this._mainJob = null, this._onComplete = null; }, _1tzl.prototype.interrupt = function() { var _1tzz = null; this._loopJob && this._loopJob.interrupt(), this._mainJob && this._mainJob.interrupt(); }, _1tzl.prototype.interruptible = function() { var _1u00 = null, _1u01 = !0; return this._loopJob && (_1u01 = _1u01 && this._loopJob.interruptible()), this._mainJob && (_1u01 = _1u01 && this._mainJob.interruptible()), _1u01; }, _1tzl; }()), _1twl = (function() { var _1u02 = null; function _1u03(_1u04, _1u05) { var _1u06 = null, _1u07 = this; this._for_ = function() { var _1u08 = null; if (_1u07._job && _1u07._job.dispose(), _1u07._job = null, _1u07._checkCondition()) { var _1u09 = _1u07._task(); _1u07._job = _1u09, _1u09.execute(_1u07._for_); } else _1u07._onComplete(); }, this._checkCondition = _1u04, this._task = _1u05; } return _1u03.prototype.execute = function(_1u0a) { var _1u0b = null; this._onComplete = _1u0a, this._for_(); }, _1u03.prototype.interruptible = function() { var _1u0c = null; return !this._job || this._job.interruptible(); }, _1u03.prototype.interrupt = function() { var _1u0d = null; this._for_ = function() {}, this._job && this._job.interrupt(); }, _1u03.prototype.dispose = function() { var _1u0e = null; this._job && this._job.dispose(), this._onComplete = null, this._job = null, this._checkCondition = null; }, _1u03; }()), _1tw5 = (function() { var _1u0f = null; function _1u0g(_1u0h) { var _1u0i = null, _1u0j = this; this._complete_call = function() { var _1u0k = null; _1u0j._doneCounter++, _1u0j._tasks.length <= _1u0j._doneCounter && _1u0j._onComplete(); }, this._tasks = _1u0h, this._jobs = [], this._doneCounter = 0; } return _1u0g.prototype.push = function() { var _1u0l = null; for (var _1u0m = [], _1u0n = 0; _1u0n < arguments.length; _1u0n++) _1u0m[_1u0n] = arguments[_1u0n]; 1 == _1u0m.length ? this._tasks.push(_1u0m[0]) : this._tasks = this._tasks.concat(_1u0m); }, _1u0g.prototype.interruptible = function() { var _1u0o = null, _1u0p = !0; return this._jobs.forEach(function(_1u0q) { var _1u0r = null, _1u0s = _1u0q.interruptible(); _1u0p = _1u0p && _1u0s; }), _1u0p; }, _1u0g.prototype.interrupt = function() { var _1u0t = null; this._jobs.forEach(function(_1u0u) { var _1u0v = null; return _1u0u.interrupt(); }), this._onComplete = function() {}; }, _1u0g.prototype.execute = function(_1u0w) { var _1u0x = null; this._onComplete = _1u0w, this.__call__(); }, _1u0g.prototype.__call__ = function() { var _1u0y = null, _1u0z = this; 0 != this._tasks.length ? this._tasks.forEach(function(_1u10) { var _1u11 = null, _1u12 = _1u10(); _1u0z._jobs.push(_1u12), _1u12.execute(_1u0z._complete_call); }) : this._complete_call(); }, _1u0g.prototype.dispose = function() { var _1u13 = null, _1u14 = this; this._jobs.forEach(function(_1u15, _1u16) { var _1u17 = null; _1u15.dispose(), _1u14._jobs[_1u16] = null; }), this._jobs = null, this._complete_call = null, this._tasks.forEach(function(_1u18, _1u19) { var _1u1a = null; _1u14._tasks[_1u19] = null; }), this._onComplete = null, this._doneCounter = null; }, _1u0g; }()), _1tp2 = function(_1u1b) { var _1u1c = null; function _1u1d() { var _1u1e = null, _1u1f = _1u1b.call(this, PIXI.Filter.defaultVertexSrc, ['varying vec2 vTextureCoord;', 'varying vec2 vFilterCoord;', 'uniform sampler2D uSampler;', 'uniform sampler2D filterSampler;', 'uniform float factor;', 'void main(void){', ' vec4 masky = texture2D(filterSampler, vFilterCoord);', ' vec4 sample = texture2D(uSampler, vTextureCoord);', ' vec4 coloring = vec4(0.960784314,0.996078431,0.619607843,1.0);', ' vec4 blending = mix(sample,coloring,factor);', ' gl_FragColor = blending;', ' gl_FragColor *= sample.a;', '}'].join('\x0a')) || this; return _1u1f.uniforms.factor = 0, _1u1f; } return _1to2(_1u1d, _1u1b), Object.defineProperty(_1u1d.prototype, 'factor', { 'get': function() { var _1u1g = null; return this.uniforms.factor; }, 'set': function(_1u1h) { var _1u1i = null; this.uniforms.factor = _1u1h; }, 'enumerable': !1, 'configurable': !0 }), _1u1d; }(PIXI.Filter); }, 93634: function(_1u1j, _1u1k, _1u1l) { 'use strict'; var _1u1m = null; var _1u1n, _1u1o = this && this.__extends || (_1u1n = function(_1u1p, _1u1q) { var _1u1r = null; return _1u1n = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1u1s, _1u1t) { var _1u1u = null; _1u1s.__proto__ = _1u1t; } || function(_1u1v, _1u1w) { var _1u1x = null; for (var _1u1y in _1u1w) Object.prototype.hasOwnProperty.call(_1u1w, _1u1y) && (_1u1v[_1u1y] = _1u1w[_1u1y]); }, _1u1n(_1u1p, _1u1q); }, function(_1u1z, _1u20) { var _1u21 = null; if ('function' != typeof _1u20 && null !== _1u20) throw new TypeError('Class extends value ' + String(_1u20) + ' is not a constructor or null'); function _1u22() { var _1u23 = null; this.constructor = _1u1z; } _1u1n(_1u1z, _1u20), _1u1z.prototype = null === _1u20 ? Object.create(_1u20) : (_1u22.prototype = _1u20.prototype, new _1u22()); }), _1u24 = this && this.__importDefault || function(_1u25) { var _1u26 = null; return _1u25 && _1u25.__esModule ? _1u25 : { 'default': _1u25 }; }; defineModule(_1u1k); Object.defineProperty(_1u1k, '__esModule', { 'value': !0 }), _1u1k.CutinZuiunNight = void 0; var _1u27 = _1u24(_1u1l(18622)), _1u28 = _1u1l(81755), _1u29 = _1u1l(87475), _1u2a = _1u1l(20137), _1u2b = _1u1l(37760), _1u2c = _1u1l(87110), _1u2d = _1u1l(54427), _1u2e = _1u1l(87737), _1u2f = function(_1u2g) { var _1u2h = null; function _1u2i() { var _1u2j = null, _1u2k = _1u2g.call(this) || this; return _1u2k._view = new PIXI.Container(), _1u2k; } return _1u1o(_1u2i, _1u2g), Object.defineProperty(_1u2i.prototype, 'view', { 'get': function() { var _1u2l = null; return this._view; }, 'enumerable': !1, 'configurable': !0 }), _1u2i.prototype.preload = function(_1u2m, _1u2n, _1u2o, _1u2p, _1u2q) { var _1u2r = null, _1u2s = this; this._attacker = _1u2m, this._slot1 = _1u2n, this._slot2 = _1u2o, this._slot3 = _1u2p; var _1u2t = new _1u2a.ShipLoader(), _1u2u = this._attacker.isDamaged(), _1u2v = this._attacker.mst_id; (571 != _1u2v && 576 != _1u2v || 0 != _1u2u) && (572 != _1u2v && 577 != _1u2v || 0 != _1u2u) && (541 != _1u2v && 573 != _1u2v || 0 != _1u2u) && (601 != _1u2v && 1496 != _1u2v || 0 != _1u2u) && (913 != _1u2v && 918 != _1u2v || 0 != _1u2u) ? _1u2t.add(_1u2v, _1u2u, 'full'): _1u2t.add(_1u2v, !1, 'special'), _1u2t.load(function() { var _1u2w = null, _1u2x = null == _1u2s._slot1 ? 0 : _1u2s._slot1.mstID, _1u2y = null == _1u2s._slot2 ? 0 : _1u2s._slot2.mstID, _1u2z = null == _1u2s._slot3 ? 0 : _1u2s._slot3.mstID, _1u30 = new _1u2b.SlotLoader(); _1u2x > 0 && (_1u30.add(_1u2x, 'item_up'), _1u30.add(_1u2x, 'btxt_flat')), _1u2y > 0 && (_1u30.add(_1u2y, 'item_up'), _1u30.add(_1u2y, 'btxt_flat')), _1u2z > 0 && (_1u30.add(_1u2z, 'item_up'), _1u30.add(_1u2z, 'btxt_flat')), _1u30.load(function() { null != _1u2q && _1u2q(); }); }); }, _1u2i.prototype._start = function() { var _1u31 = null; this._canvas = new _1u2c.CutinZuiunNightCanvas(), this.view.addChild(this._canvas), this._ship = new PIXI.Sprite(), this._ready(); }, _1u2i.prototype._ready = function() { var _1u32 = null, _1u33, _1u34, _1u35 = this._attacker.mst_id, _1u36 = this._attacker.isDamaged(); (571 != _1u35 && 576 != _1u35 || 0 != _1u36) && (572 != _1u35 && 577 != _1u35 || 0 != _1u36) ? 541 == _1u35 && 0 == _1u36 ? (_1u33 = new PIXI.Point(-227, 165), _1u34 = 'special') : 573 == _1u35 && 0 == _1u36 ? (_1u33 = new PIXI.Point(-115, 184), _1u34 = 'special') : (601 != _1u35 && 1496 != _1u35 || 0 != _1u36) && (913 != _1u35 && 918 != _1u35 || 0 != _1u36) ? (_1u33 = _1u27.default.model.ship_graph.get(_1u35).getBattleOffset(_1u36), _1u34 = 'full') : (_1u33 = new PIXI.Point(-90, 87), _1u34 = 'special'): (_1u33 = new PIXI.Point(-139, 201), _1u34 = 'special'), this._ship.texture = _1u27.default.resources.getShip(_1u35, _1u36, _1u34), this._ship.position.set(_1u33.x, _1u33.y), this._canvas.chara.addChild(this._ship), this._shipFlash = new _1u2e.ShipFlash(_1u27.default.resources.getShip(_1u35, _1u36, _1u34)), this._shipFlash.position.set(_1u33.x, _1u33.y), this._canvas.chara.addChild(this._shipFlash), this._canvas.chara.alpha = 0, this._attacker.friend ? (this._canvas.chara.x = -150, this._canvas.chara.y = -87) : (this._canvas.chara.x = 173, this._canvas.chara.y = -64), this._canvas.initialize(this._attacker.friend, this._slot1.mstID, this._slot2.mstID, this._slot3.mstID), this._anim1(); }, _1u2i.prototype._anim1 = function() { var _1u37 = null, _1u38 = this; this._canvas.bg.show(333), createjs.Tween.get(this._canvas.chara).wait(166).to({ 'x': 48 + (this._attacker.friend ? 0 : 336), 'alpha': 1 }, 300), this._canvas.item1.show(400), this._canvas.item2.show(833), this._canvas.item3.show(1266); var _1u39 = this._attacker.friend ? 75 : 1125; createjs.Tween.get(this._canvas.name1).wait(400).to({ 'x': _1u39, 'alpha': 1 }, 200), createjs.Tween.get(this._canvas.name2).wait(833).to({ 'x': _1u39, 'alpha': 1 }, 200), createjs.Tween.get(this._canvas.name3).wait(1266).to({ 'x': _1u39, 'alpha': 1 }, 200).call(function() { var _1u3a = null; _1u38._anim2(); }); }, _1u2i.prototype._anim2 = function() { var _1u3b = null, _1u3c = this; this.view.emit('attack'), createjs.Tween.get(this._canvas.chara).wait(133).call(function() { var _1u3d = null; _1u3c._shipFlash.play(); }).wait(200).call(function() { var _1u3e = null; _1u3c._shipFlash.play(); }).wait(133).call(function() { var _1u3f = null; _1u3c._anim3(); }); }, _1u2i.prototype._anim3 = function() { var _1u3g = null, _1u3h = this, _1u3i = new _1u2d.IntensiveLines(); _1u3i.initialize(), _1u3i.alpha = 0, this._view.addChild(_1u3i), _1u3i.activate(), createjs.Tween.get(_1u3i).to({ 'alpha': 1 }, 200); var _1u3j = new _1u29.FadeBox(1, 16777215); _1u3j.alpha = 0, this._view.addChild(_1u3j), createjs.Tween.get(_1u3j).to({ 'alpha': 1 }, 500).call(function() { var _1u3k = null; _1u3h._anim4(_1u3i, _1u3j); }); }, _1u2i.prototype._anim4 = function(_1u3l, _1u3m) { var _1u3n = null, _1u3o = this; this._canvas.dispose(), createjs.Tween.get(_1u3l).to({ 'alpha': 0 }, 300), createjs.Tween.get(_1u3m).to({ 'alpha': 0 }, 300).call(function() { var _1u3p = null; _1u3l.deactivate(), _1u3o._view.removeChild(_1u3l), _1u3o._view.removeChild(_1u3m), _1u3o._endTask(); }); }, _1u2i.prototype._endTask = function() { var _1u3q = null; this._attacker = null, this._slot1 = null, this._slot2 = null, this._slot3 = null, null != this._view.parent && this._view.parent.removeChild(this._view), this._view = null, this._canvas = null, this._ship = null, _1u2g.prototype._endTask.call(this); }, _1u2i; }(_1u28.TaskBase); _1u1k.CutinZuiunNight = _1u2f; }, 69780: function(_1u3r, _1u3s, _1u3t) { 'use strict'; var _1u3u = null; var _1u3v, _1u3w = this && this.__extends || (_1u3v = function(_1u3x, _1u3y) { var _1u3z = null; return _1u3v = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1u40, _1u41) { var _1u42 = null; _1u40.__proto__ = _1u41; } || function(_1u43, _1u44) { var _1u45 = null; for (var _1u46 in _1u44) Object.prototype.hasOwnProperty.call(_1u44, _1u46) && (_1u43[_1u46] = _1u44[_1u46]); }, _1u3v(_1u3x, _1u3y); }, function(_1u47, _1u48) { var _1u49 = null; if ('function' != typeof _1u48 && null !== _1u48) throw new TypeError('Class extends value ' + String(_1u48) + ' is not a constructor or null'); function _1u4a() { var _1u4b = null; this.constructor = _1u47; } _1u3v(_1u47, _1u48), _1u47.prototype = null === _1u48 ? Object.create(_1u48) : (_1u4a.prototype = _1u48.prototype, new _1u4a()); }); defineModule(_1u3s); Object.defineProperty(_1u3s, '__esModule', { 'value': !0 }), _1u3s.PreloadCutinDanchaku = void 0; var _1u4c = _1u3t(81755), _1u4d = _1u3t(20137), _1u4e = _1u3t(37760), _1u4f = function(_1u4g) { var _1u4h = null; function _1u4i(_1u4j, _1u4k, _1u4l, _1u4m, _1u4n) { var _1u4o = null, _1u4p = _1u4g.call(this) || this; return _1u4p._attacker = _1u4j, _1u4p._plane_mst_id = _1u4k, _1u4p._slot_mst_id1 = _1u4l, _1u4p._slot_mst_id2 = _1u4m, _1u4p._type = _1u4n, _1u4p; } return _1u3w(_1u4i, _1u4g), _1u4i.prototype._start = function() { var _1u4q = null; this._loadShipImage(); }, _1u4i.prototype._loadShipImage = function() { var _1u4r = null, _1u4s = this, _1u4t = new _1u4d.ShipLoader(); _1u4t.add(this._attacker.mst_id, this._attacker.isDamaged(), 'full'), _1u4t.load(function() { var _1u4u = null; _1u4s._loadSlotTextImage(); }); }, _1u4i.prototype._loadSlotTextImage = function() { var _1u4v = null, _1u4w = this; this._plane_mst_id <= 0 && this._slot_mst_id1 <= 0 && this._slot_mst_id2 <= 0 && this._endTask(); var _1u4x = new _1u4e.SlotLoader(); this._plane_mst_id > 0 && _1u4x.add(this._plane_mst_id, 'item_up'), this._slot_mst_id1 > 0 && (_1u4x.add(this._slot_mst_id1, 'item_up'), 0 == this._type && _1u4x.add(this._slot_mst_id1, 'btxt_flat')), this._slot_mst_id2 > 0 && (_1u4x.add(this._slot_mst_id2, 'item_up'), _1u4x.add(this._slot_mst_id2, 'btxt_flat')), _1u4x.load(function() { var _1u4y = null; _1u4w._endTask(); }); }, _1u4i; }(_1u4c.TaskBase); _1u3s.PreloadCutinDanchaku = _1u4f; }, 17325: function(_1u4z, _1u50, _1u51) { 'use strict'; var _1u52 = null; var _1u53, _1u54 = this && this.__extends || (_1u53 = function(_1u55, _1u56) { var _1u57 = null; return _1u53 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1u58, _1u59) { var _1u5a = null; _1u58.__proto__ = _1u59; } || function(_1u5b, _1u5c) { var _1u5d = null; for (var _1u5e in _1u5c) Object.prototype.hasOwnProperty.call(_1u5c, _1u5e) && (_1u5b[_1u5e] = _1u5c[_1u5e]); }, _1u53(_1u55, _1u56); }, function(_1u5f, _1u5g) { var _1u5h = null; if ('function' != typeof _1u5g && null !== _1u5g) throw new TypeError('Class extends value ' + String(_1u5g) + ' is not a constructor or null'); function _1u5i() { var _1u5j = null; this.constructor = _1u5f; } _1u53(_1u5f, _1u5g), _1u5f.prototype = null === _1u5g ? Object.create(_1u5g) : (_1u5i.prototype = _1u5g.prototype, new _1u5i()); }); defineModule(_1u50); Object.defineProperty(_1u50, '__esModule', { 'value': !0 }), _1u50.PreloadCutinFunnel = void 0; var _1u5k = _1u51(81755), _1u5l = _1u51(20137), _1u5m = _1u51(37760), _1u5n = function(_1u5o) { var _1u5p = null; function _1u5q(_1u5r, _1u5s, _1u5t, _1u5u, _1u5v) { var _1u5w = null, _1u5x = _1u5o.call(this) || this; return _1u5x._ship_mst_id = _1u5r, _1u5x._damaged = _1u5s, _1u5x._plane1 = _1u5t, _1u5x._plane2 = _1u5u, _1u5x._plane3 = _1u5v, _1u5x; } return _1u54(_1u5q, _1u5o), _1u5q.prototype._start = function() { var _1u5y = null; this._loadShipImage(); }, _1u5q.prototype._loadShipImage = function() { var _1u5z = null, _1u60 = this, _1u61 = new _1u5l.ShipLoader(); _1u61.add(this._ship_mst_id, this._damaged, 'full'), _1u61.load(function() { var _1u62 = null; _1u60._loadPlaneImage(); }); }, _1u5q.prototype._loadPlaneImage = function() { var _1u63 = null, _1u64 = this, _1u65 = new _1u5m.SlotLoader(); this._plane1 > 0 && _1u65.add(this._plane1, 'item_up'), this._plane2 > 0 && _1u65.add(this._plane2, 'item_up'), this._plane3 > 0 && _1u65.add(this._plane3, 'item_up'), _1u65.load(function() { var _1u66 = null; _1u64._endTask(); }); }, _1u5q; }(_1u5k.TaskBase); _1u50.PreloadCutinFunnel = _1u5n; }, 16699: function(_1u67, _1u68, _1u69) { 'use strict'; var _1u6a = null; var _1u6b, _1u6c = this && this.__extends || (_1u6b = function(_1u6d, _1u6e) { var _1u6f = null; return _1u6b = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1u6g, _1u6h) { var _1u6i = null; _1u6g.__proto__ = _1u6h; } || function(_1u6j, _1u6k) { var _1u6l = null; for (var _1u6m in _1u6k) Object.prototype.hasOwnProperty.call(_1u6k, _1u6m) && (_1u6j[_1u6m] = _1u6k[_1u6m]); }, _1u6b(_1u6d, _1u6e); }, function(_1u6n, _1u6o) { var _1u6p = null; if ('function' != typeof _1u6o && null !== _1u6o) throw new TypeError('Class extends value ' + String(_1u6o) + ' is not a constructor or null'); function _1u6q() { var _1u6r = null; this.constructor = _1u6n; } _1u6b(_1u6n, _1u6o), _1u6n.prototype = null === _1u6o ? Object.create(_1u6o) : (_1u6q.prototype = _1u6o.prototype, new _1u6q()); }); defineModule(_1u68); Object.defineProperty(_1u68, '__esModule', { 'value': !0 }), _1u68.PreloadCutinKubo = void 0; var _1u6s = _1u69(81755), _1u6t = _1u69(20137), _1u6u = _1u69(37760), _1u6v = _1u69(14921), _1u6w = function(_1u6x) { var _1u6y = null; function _1u6z(_1u70, _1u71, _1u72, _1u73, _1u74) { var _1u75 = null, _1u76 = _1u6x.call(this) || this; return _1u76._attacker = _1u70, _1u76._slot_mst_id1 = _1u71, _1u76._slot_mst_id2 = _1u72, _1u76._slot_mst_id3 = _1u73, _1u76._night = _1u74, _1u76; } return _1u6c(_1u6z, _1u6x), _1u6z.prototype._start = function() { var _1u77 = null; this._loadShipImage(); }, _1u6z.prototype._loadShipImage = function() { var _1u78 = null, _1u79 = this, _1u7a = new _1u6t.ShipLoader(); _1u7a.add(this._attacker.mst_id, this._attacker.isDamaged(), 'full'), _1u7a.load(function() { var _1u7b = null; _1u79._loadSlotTextImage(); }); }, _1u6z.prototype._loadSlotTextImage = function() { var _1u7c = null, _1u7d = this, _1u7e = new _1u6u.SlotLoader(); this._slot_mst_id1 > 0 && (_1u7e.add(this._slot_mst_id1, 'item_up'), 1 == this._night && 0 == _1u6v.SlotUtil.isEnemyItem(this._slot_mst_id1) && _1u7e.add(this._slot_mst_id1, 'btxt_flat')), this._slot_mst_id2 > 0 && (_1u7e.add(this._slot_mst_id2, 'item_up'), 1 == this._night && 0 == _1u6v.SlotUtil.isEnemyItem(this._slot_mst_id2) && _1u7e.add(this._slot_mst_id2, 'btxt_flat')), this._slot_mst_id3 > 0 && (_1u7e.add(this._slot_mst_id3, 'item_up'), 1 == this._night && 0 == _1u6v.SlotUtil.isEnemyItem(this._slot_mst_id3) && _1u7e.add(this._slot_mst_id3, 'btxt_flat')), _1u7e.load(function() { var _1u7f = null; _1u7d._endTask(); }); }, _1u6z; }(_1u6s.TaskBase); _1u68.PreloadCutinKubo = _1u6w; }, 98986: function(_1u7g, _1u7h, _1u7i) { 'use strict'; var _1u7j = null; var _1u7k, _1u7l = this && this.__extends || (_1u7k = function(_1u7m, _1u7n) { var _1u7o = null; return _1u7k = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1u7p, _1u7q) { var _1u7r = null; _1u7p.__proto__ = _1u7q; } || function(_1u7s, _1u7t) { var _1u7u = null; for (var _1u7v in _1u7t) Object.prototype.hasOwnProperty.call(_1u7t, _1u7v) && (_1u7s[_1u7v] = _1u7t[_1u7v]); }, _1u7k(_1u7m, _1u7n); }, function(_1u7w, _1u7x) { var _1u7y = null; if ('function' != typeof _1u7x && null !== _1u7x) throw new TypeError('Class extends value ' + String(_1u7x) + ' is not a constructor or null'); function _1u7z() { var _1u80 = null; this.constructor = _1u7w; } _1u7k(_1u7w, _1u7x), _1u7w.prototype = null === _1u7x ? Object.create(_1u7x) : (_1u7z.prototype = _1u7x.prototype, new _1u7z()); }); defineModule(_1u7h); Object.defineProperty(_1u7h, '__esModule', { 'value': !0 }), _1u7h.AnimAntiAircraftFunshin = void 0; var _1u81 = _1u7i(81755), _1u82 = _1u7i(45054), _1u83 = _1u7i(85492), _1u84 = _1u7i(22434), _1u85 = function(_1u86) { var _1u87 = null; function _1u88(_1u89) { var _1u8a = null, _1u8b = _1u86.call(this) || this; return _1u8b._layer = _1u89, _1u8b._smoke1 = new _1u8c(), _1u8b._smoke1.position.set(45, 39), _1u8b._smoke2 = new _1u8c(), _1u8b._smoke2.position.set(54, 48), _1u8b._smoke3 = new _1u8c(), _1u8b._smoke3.position.set(36, 65), _1u8b; } return _1u7l(_1u88, _1u86), _1u88.prototype._start = function() { var _1u8d = null, _1u8e = this, _1u8f = new _1u83.TweenTask(); _1u8f.addTween(this._createTween(this._smoke1, 0)), _1u8f.addTween(this._createTween(this._smoke2, 100)), _1u8f.addTween(this._createTween(this._smoke3, 400)), _1u8f.start(function() { var _1u8g = null; _1u8e._endTask(); }); }, _1u88.prototype._createTween = function(_1u8h, _1u8i) { var _1u8j = null, _1u8k = this, _1u8l = _1u8h.x - 105, _1u8m = _1u8h.y - 8; return _1u8h.scale.set(0), createjs.Tween.get(_1u8h).wait(_1u8i).call(function() { var _1u8n = null; _1u8k._layer.addChild(_1u8h); }).to({ 'scaleX': 1, 'scaleY': 1 }, 200).to({ 'x': _1u8l, 'y': _1u8m, 'alpha': 0, 'scaleX': 1.5, 'scaleY': 1.5 }, 400).call(function() { var _1u8o = null; _1u8k._layer.removeChild(_1u8h); }); }, _1u88; }(_1u81.TaskBase); _1u7h.AnimAntiAircraftFunshin = _1u85; var _1u8c = function(_1u8p) { function _1u8q() { var _1u8r = null, _1u8s = _1u8p.call(this) || this; return _1u8s._img = new PIXI.Sprite(_1u84.BATTLE_MAIN.getTexture(173)), _1u8s._img.position.set(-32, -42), _1u8s.addChild(_1u8s._img), _1u8s; } return _1u7l(_1u8q, _1u8p), _1u8q; }(_1u82.Container); }, 22879: function(_1u8t, _1u8u, _1u8v) { 'use strict'; var _1u8w = null; var _1u8x, _1u8y = this && this.__extends || (_1u8x = function(_1u8z, _1u90) { var _1u91 = null; return _1u8x = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1u92, _1u93) { var _1u94 = null; _1u92.__proto__ = _1u93; } || function(_1u95, _1u96) { var _1u97 = null; for (var _1u98 in _1u96) Object.prototype.hasOwnProperty.call(_1u96, _1u98) && (_1u95[_1u98] = _1u96[_1u98]); }, _1u8x(_1u8z, _1u90); }, function(_1u99, _1u9a) { var _1u9b = null; if ('function' != typeof _1u9a && null !== _1u9a) throw new TypeError('Class extends value ' + String(_1u9a) + ' is not a constructor or null'); function _1u9c() { var _1u9d = null; this.constructor = _1u99; } _1u8x(_1u99, _1u9a), _1u99.prototype = null === _1u9a ? Object.create(_1u9a) : (_1u9c.prototype = _1u9a.prototype, new _1u9c()); }); defineModule(_1u8u); Object.defineProperty(_1u8u, '__esModule', { 'value': !0 }), _1u8u.AnimAntiAircraftFunshinKai2 = void 0; var _1u9e = _1u8v(81755), _1u9f = _1u8v(54061), _1u9g = _1u8v(22434), _1u9h = function(_1u9i) { var _1u9j = null; function _1u9k(_1u9l) { var _1u9m = null, _1u9n = _1u9i.call(this) || this; return _1u9n._layer = _1u9l, _1u9n._smoke1 = new _1u9f.CenteringSprite(), _1u9n._smoke1.position.set(309, 32), _1u9n._smoke2 = new _1u9f.CenteringSprite(), _1u9n._smoke2.position.set(297, 5), _1u9n._smoke3 = new _1u9f.CenteringSprite(), _1u9n._smoke3.position.set(272, 47), _1u9n; } return _1u8y(_1u9k, _1u9i), _1u9k.prototype._start = function() { var _1u9o = null, _1u9p = this, _1u9q = _1u9g.BATTLE_MAIN.getTexture(40); this._smoke1.texture = _1u9q, this._smoke2.texture = _1u9q, this._smoke3.texture = _1u9q, this._smoke1.scale.set(0.5), this._smoke1.alpha = 0, this._layer.addChild(this._smoke1), createjs.Tween.get(this._smoke1).to({ 'alpha': 0.7, 'scaleX': 0.7, 'scaleY': 0.7 }, 100).to({ 'x': this._smoke1.x - 12, 'alpha': 0, 'scaleX': 1, 'scaleY': 1 }, 600).call(function() { var _1u9r = null; _1u9p._layer.removeChild(_1u9p._smoke1); }), this._smoke2.scale.set(0.5), this._smoke2.alpha = 0, this._layer.addChild(this._smoke2), createjs.Tween.get(this._smoke2).wait(100).to({ 'alpha': 0.7, 'scaleX': 0.7, 'scaleY': 0.7 }, 100).to({ 'x': this._smoke2.x - 12, 'alpha': 0, 'scaleX': 1, 'scaleY': 1 }, 600).call(function() { var _1u9s = null; _1u9p._layer.removeChild(_1u9p._smoke2); }), this._smoke3.scale.set(0.5), this._smoke3.alpha = 0, this._layer.addChild(this._smoke3), createjs.Tween.get(this._smoke3).wait(300).to({ 'alpha': 0.7, 'scaleX': 0.7, 'scaleY': 0.7 }, 100).to({ 'x': this._smoke3.x - 12, 'alpha': 0, 'scaleX': 1, 'scaleY': 1 }, 600).call(function() { var _1u9t = null; _1u9p._layer.removeChild(_1u9p._smoke3), _1u9p._endTask(); }); }, _1u9k; }(_1u9e.TaskBase); _1u8u.AnimAntiAircraftFunshinKai2 = _1u9h; }, 93530: function(_1u9u, _1u9v, _1u9w) { 'use strict'; var _1u9x = null; var _1u9y, _1u9z = this && this.__extends || (_1u9y = function(_1ua0, _1ua1) { var _1ua2 = null; return _1u9y = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ua3, _1ua4) { var _1ua5 = null; _1ua3.__proto__ = _1ua4; } || function(_1ua6, _1ua7) { var _1ua8 = null; for (var _1ua9 in _1ua7) Object.prototype.hasOwnProperty.call(_1ua7, _1ua9) && (_1ua6[_1ua9] = _1ua7[_1ua9]); }, _1u9y(_1ua0, _1ua1); }, function(_1uaa, _1uab) { var _1uac = null; if ('function' != typeof _1uab && null !== _1uab) throw new TypeError('Class extends value ' + String(_1uab) + ' is not a constructor or null'); function _1uad() { var _1uae = null; this.constructor = _1uaa; } _1u9y(_1uaa, _1uab), _1uaa.prototype = null === _1uab ? Object.create(_1uab) : (_1uad.prototype = _1uab.prototype, new _1uad()); }); defineModule(_1u9v); Object.defineProperty(_1u9v, '__esModule', { 'value': !0 }), _1u9v.AnimAntiAircraftKoukaku = void 0; var _1uaf = _1u9w(81755), _1uag = _1u9w(45054), _1uah = _1u9w(22434), _1uai = function(_1uaj) { var _1uak = null; function _1ual(_1uam) { var _1uan = null, _1uao = _1uaj.call(this) || this; return _1uao._layer = _1uam, _1uao._smoke = new _1uap(), _1uao._smoke.position.set(69, 45), _1uao; } return _1u9z(_1ual, _1uaj), _1ual.prototype._start = function() { var _1uaq = null, _1uar = this, _1uas = this._smoke.x - 105, _1uat = this._smoke.y - 9; createjs.Tween.get(this._smoke).call(function() { var _1uau = null; _1uar._layer.addChild(_1uar._smoke); }).to({ 'x': _1uas, 'y': _1uat, 'alpha': 0, 'scaleX': 1.5, 'scaleY': 1.5 }, 500).call(function() { var _1uav = null; _1uar._layer.removeChild(_1uar._smoke), _1uar._endTask(); }); }, _1ual; }(_1uaf.TaskBase); _1u9v.AnimAntiAircraftKoukaku = _1uai; var _1uap = function(_1uaw) { function _1uax() { var _1uay = null, _1uaz = _1uaw.call(this) || this; return _1uaz._img = new PIXI.Sprite(_1uah.BATTLE_MAIN.getTexture(172)), _1uaz._img.position.set(-44, -63), _1uaz.addChild(_1uaz._img), _1uaz; } return _1u9z(_1uax, _1uaw), _1uax; }(_1uag.Container); }, 94595: function(_1ub0, _1ub1, _1ub2) { 'use strict'; var _1ub3 = null; var _1ub4, _1ub5 = this && this.__extends || (_1ub4 = function(_1ub6, _1ub7) { var _1ub8 = null; return _1ub4 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ub9, _1uba) { var _1ubb = null; _1ub9.__proto__ = _1uba; } || function(_1ubc, _1ubd) { var _1ube = null; for (var _1ubf in _1ubd) Object.prototype.hasOwnProperty.call(_1ubd, _1ubf) && (_1ubc[_1ubf] = _1ubd[_1ubf]); }, _1ub4(_1ub6, _1ub7); }, function(_1ubg, _1ubh) { var _1ubi = null; if ('function' != typeof _1ubh && null !== _1ubh) throw new TypeError('Class extends value ' + String(_1ubh) + ' is not a constructor or null'); function _1ubj() { var _1ubk = null; this.constructor = _1ubg; } _1ub4(_1ubg, _1ubh), _1ubg.prototype = null === _1ubh ? Object.create(_1ubh) : (_1ubj.prototype = _1ubh.prototype, new _1ubj()); }); defineModule(_1ub1); Object.defineProperty(_1ub1, '__esModule', { 'value': !0 }), _1ub1.AnimAntiAircraftSanshikidan = void 0; var _1ubl = _1ub2(81755), _1ubm = _1ub2(45054), _1ubn = _1ub2(22434), _1ubo = function(_1ubp) { var _1ubq = null; function _1ubr(_1ubs) { var _1ubt = null, _1ubu = _1ubp.call(this) || this; return _1ubu._layer = _1ubs, _1ubu._smoke = new _1ubv(), _1ubu._smoke.position.set(75, 46), _1ubu; } return _1ub5(_1ubr, _1ubp), _1ubr.prototype._start = function() { var _1ubw = null, _1ubx = this, _1uby = this._smoke.x - 105, _1ubz = this._smoke.y - 12; createjs.Tween.get(this._smoke).call(function() { var _1uc0 = null; _1ubx._layer.addChild(_1ubx._smoke); }).to({ 'x': _1uby, 'y': _1ubz, 'alpha': 0, 'scaleX': 1.5, 'scaleY': 1.5 }, 500).call(function() { var _1uc1 = null; _1ubx._layer.removeChild(_1ubx._smoke), _1ubx._endTask(); }); }, _1ubr; }(_1ubl.TaskBase); _1ub1.AnimAntiAircraftSanshikidan = _1ubo; var _1ubv = function(_1uc2) { function _1uc3() { var _1uc4 = null, _1uc5 = _1uc2.call(this) || this; return _1uc5._img = new PIXI.Sprite(_1ubn.BATTLE_MAIN.getTexture(171)), _1uc5._img.position.set(-140, -213), _1uc5.addChild(_1uc5._img), _1uc5; } return _1ub5(_1uc3, _1uc2), _1uc3; }(_1ubm.Container); }, 44007: function(_1uc6, _1uc7, _1uc8) { 'use strict'; var _1uc9 = null; var _1uca, _1ucb = this && this.__extends || (_1uca = function(_1ucc, _1ucd) { var _1uce = null; return _1uca = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ucf, _1ucg) { var _1uch = null; _1ucf.__proto__ = _1ucg; } || function(_1uci, _1ucj) { var _1uck = null; for (var _1ucl in _1ucj) Object.prototype.hasOwnProperty.call(_1ucj, _1ucl) && (_1uci[_1ucl] = _1ucj[_1ucl]); }, _1uca(_1ucc, _1ucd); }, function(_1ucm, _1ucn) { var _1uco = null; if ('function' != typeof _1ucn && null !== _1ucn) throw new TypeError('Class extends value ' + String(_1ucn) + ' is not a constructor or null'); function _1ucp() { var _1ucq = null; this.constructor = _1ucm; } _1uca(_1ucm, _1ucn), _1ucm.prototype = null === _1ucn ? Object.create(_1ucn) : (_1ucp.prototype = _1ucn.prototype, new _1ucp()); }); defineModule(_1uc7); Object.defineProperty(_1uc7, '__esModule', { 'value': !0 }), _1uc7.AnimAntiAircraftSanshikidan2 = void 0; var _1ucr = _1uc8(81755), _1ucs = _1uc8(54061), _1uct = _1uc8(22434), _1ucu = function(_1ucv) { var _1ucw = null; function _1ucx(_1ucy) { var _1ucz = null, _1ud0 = _1ucv.call(this) || this; return _1ud0._layer = _1ucy, _1ud0._smoke1 = new _1ucs.CenteringSprite(), _1ud0._smoke1.position.set(263, -2), _1ud0._smoke2 = new _1ucs.CenteringSprite(), _1ud0._smoke2.position.set(272, 20), _1ud0; } return _1ucb(_1ucx, _1ucv), _1ucx.prototype._start = function() { var _1ud1 = null, _1ud2 = this; this._smoke1.texture = _1uct.BATTLE_MAIN.getTexture(41), this._smoke1.alpha = 0, this._layer.addChild(this._smoke1), createjs.Tween.get(this._smoke1).to({ 'alpha': 1 }, 100).to({ 'x': this._smoke1.x - 4, 'alpha': 0, 'scaleX': 1.1, 'scaleY': 1.1 }, 700), this._smoke2.texture = _1uct.BATTLE_MAIN.getTexture(42), this._smoke2.alpha = 0, this._layer.addChild(this._smoke2), createjs.Tween.get(this._smoke2).wait(200).to({ 'alpha': 1 }, 100).to({ 'x': this._smoke2.x - 4, 'alpha': 0, 'scaleX': 1.1, 'scaleY': 1.1 }, 700); var _1ud3 = [_1uct.BATTLE_MAIN.getTexture(95), _1uct.BATTLE_MAIN.getTexture(96), _1uct.BATTLE_MAIN.getTexture(97), _1uct.BATTLE_MAIN.getTexture(98), _1uct.BATTLE_MAIN.getTexture(99), _1uct.BATTLE_MAIN.getTexture(100), _1uct.BATTLE_MAIN.getTexture(101), _1uct.BATTLE_MAIN.getTexture(102), _1uct.BATTLE_MAIN.getTexture(103), _1uct.BATTLE_MAIN.getTexture(104), _1uct.BATTLE_MAIN.getTexture(105), _1uct.BATTLE_MAIN.getTexture(106), _1uct.BATTLE_MAIN.getTexture(107), _1uct.BATTLE_MAIN.getTexture(108), _1uct.BATTLE_MAIN.getTexture(109), _1uct.BATTLE_MAIN.getTexture(110), _1uct.BATTLE_MAIN.getTexture(111), _1uct.BATTLE_MAIN.getTexture(112), _1uct.BATTLE_MAIN.getTexture(113), _1uct.BATTLE_MAIN.getTexture(114), _1uct.BATTLE_MAIN.getTexture(115), _1uct.BATTLE_MAIN.getTexture(116)], _1ud4 = new PIXI.extras.AnimatedSprite(_1ud3); _1ud4.position.set(252, -27), _1ud4.loop = !1, _1ud4.animationSpeed = 30 / createjs.Ticker.framerate, this._layer.addChild(_1ud4), createjs.Tween.get(null).wait(300).call(function() { var _1ud5 = null; _1ud4.play(), _1ud4.onComplete = function() { var _1ud6 = null; _1ud4.onComplete = null, _1ud2._layer.removeChild(_1ud4), _1ud2._endTask(); }; }); }, _1ucx; }(_1ucr.TaskBase); _1uc7.AnimAntiAircraftSanshikidan2 = _1ucu; }, 74574: function(_1ud7, _1ud8, _1ud9) { 'use strict'; var _1uda = null; var _1udb, _1udc = this && this.__extends || (_1udb = function(_1udd, _1ude) { var _1udf = null; return _1udb = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1udg, _1udh) { var _1udi = null; _1udg.__proto__ = _1udh; } || function(_1udj, _1udk) { var _1udl = null; for (var _1udm in _1udk) Object.prototype.hasOwnProperty.call(_1udk, _1udm) && (_1udj[_1udm] = _1udk[_1udm]); }, _1udb(_1udd, _1ude); }, function(_1udn, _1udo) { var _1udp = null; if ('function' != typeof _1udo && null !== _1udo) throw new TypeError('Class extends value ' + String(_1udo) + ' is not a constructor or null'); function _1udq() { var _1udr = null; this.constructor = _1udn; } _1udb(_1udn, _1udo), _1udn.prototype = null === _1udo ? Object.create(_1udo) : (_1udq.prototype = _1udo.prototype, new _1udq()); }); defineModule(_1ud8); Object.defineProperty(_1ud8, '__esModule', { 'value': !0 }), _1ud8.TaskDaihatsuEff = void 0; var _1uds = _1ud9(66398), _1udt = _1ud9(81755), _1udu = _1ud9(82327), _1udv = function(_1udw) { var _1udx = null; function _1udy(_1udz, _1ue0, _1ue1, _1ue2) { var _1ue3 = null, _1ue4 = _1udw.call(this) || this; return _1ue4._view = _1udz, _1ue4._layer = _1udz.layer_content, _1ue4._a_banner = _1ue0, _1ue4._d_banner = _1ue1, _1ue4._type = _1ue2, _1ue4._wait = 0, _1ue4._tweens = [], _1ue4; } return _1udc(_1udy, _1udw), Object.defineProperty(_1udy.prototype, 'wait', { 'get': function() { var _1ue5 = null; return this._wait; }, 'enumerable': !1, 'configurable': !0 }), _1udy.prototype._start = function() { var _1ue6 = null, _1ue7 = this, _1ue8 = new _1udu.Daihatsu(); _1ue8.initialize(this._type); var _1ue9 = this._a_banner.getGlobalPos(), _1uea = this._d_banner.getGlobalPos(); _1ue8.alpha = 0, _1ue8.x = _1ue9.x, _1ue8.y = _1ue9.y - 15, 1 == this._a_banner.friend ? (_1ue8.x += _1uds.BannerSize.W / 3 * 2, _1ue8.rotation -= Math.PI / 180 * 10) : (_1ue8.x -= _1uds.BannerSize.W / 3 * 2, _1ue8.rotation += Math.PI / 180 * 10, _1ue8.scale.x = -1); var _1ueb = new PIXI.Point(); switch (_1ueb.x = 600, _1ueb.y = _1ue9.y + (_1uea.y - _1ue9.y) / 2, this._layer.addChild(_1ue8), this._type) { case 8: case 7: var _1uec = 180 * (this._a_banner.friend ? 1 : -1), _1ued = createjs.Tween.get(_1ue8).to({ 'y': _1ue9.y, 'alpha': 1, 'rotation': 0 }, 1000, createjs.Ease.bounceOut).to({ 'x': _1ueb.x + _1uec, 'y': _1ueb.y }, 1000, createjs.Ease.sineIn).wait(200).to({ 'x': _1ue9.x, 'y': _1ue9.y }, 800, createjs.Ease.sineIn), _1uee = createjs.Tween.get(_1ue8.Container).wait(1800).to({ 'scaleX': -1 }, 200).wait(500).to({ 'alpha': 0 }, 300).wait(200).call(function() { var _1uef = null; _1ue7._layer.removeChild(_1ue8), _1ue7._endTask(); }); this._tweens.push(_1ued, _1uee); break; case 12: case 14: _1uec = 0 * (this._a_banner.friend ? 1 : -1); var _1ueg = 0.16, _1ueh = 0.2, _1uei = 0.55, _1uej = 0.15, _1uek = 0.15, _1uel = 0.25, _1uem = 0.3, _1uen = new PIXI.Point(_1ue8.x, _1ue9.y), _1ueo = _1ueb.x + _1uec - _1uen.x, _1uep = _1ueb.y - _1uen.y, _1ueq = Math.sqrt(Math.pow(_1ueo, 2) + Math.pow(_1uep, 2)), _1uer = _1ueq * _1uem, _1ues = _1ueq * _1uei / _1ueg, _1uet = _1ueq * _1uej / _1ueg, _1ueu = _1uer / 0.04, _1uev = _1ues + _1ueu + _1uet, _1uew = _1ueq * _1uek / _1ueh, _1uex = _1ueq * _1uel / _1ueh, _1uey = 0.3 * _1ueq / _1ueh, _1uez = _1uer / 0.05; this._wait = _1uev + 1000, _1ued = createjs.Tween.get(_1ue8).to({ 'y': _1uen.y, 'alpha': 1, 'rotation': 0 }, 1000, createjs.Ease.bounceOut).to({ 'x': _1uen.x + _1ueo * _1uei, 'y': _1uen.y + _1uep * _1uei }, _1ues, createjs.Ease.linear).call(function() { var _1uf0 = null; _1ue8.rideUp(_1ueu); }).to({ 'x': _1uen.x + 0.8500000000000001 * _1ueo, 'y': _1uen.y + 0.8500000000000001 * _1uep }, _1ueu, createjs.Ease.linear).to({ 'x': _1uen.x + 1 * _1ueo, 'y': _1uen.y + 1 * _1uep }, _1uet, createjs.Ease.linear).call(function() { var _1uf1 = null, _1uf2 = _1ue8.position; _1ue7._view.layer_torpedo.playTorpedo(_1uf2, _1uea, 1000, function() {}); }).wait(400).call(function() { var _1uf3 = null; _1ue8.turn(); }).wait(200).to({ 'x': _1uen.x + 0.85 * _1ueo, 'y': _1uen.y + 0.85 * _1uep }, _1uew, createjs.Ease.linear).call(function() { var _1uf4 = null; _1ue8.rideUp(_1uez); }).to({ 'x': _1uen.x + 0.55 * _1ueo, 'y': _1uen.y + 0.55 * _1uep }, _1uez, createjs.Ease.linear).to({ 'x': _1uen.x + _1ueo * (1 - 0.7), 'y': _1uen.y + _1uep * (1 - 0.7) }, _1uex, createjs.Ease.linear).to({ 'x': _1uen.x + 0 * _1ueo, 'y': _1uen.y + 0 * _1uep, 'alpha': 0 }, _1uey, createjs.Ease.linear).call(function() { var _1uf5 = null; _1ue7._layer.removeChild(_1ue8), _1ue7._endTask(); }), this._tweens.push(_1ued); break; default: _1ued = createjs.Tween.get(_1ue8).to({ 'y': _1ue9.y, 'alpha': 1, 'rotation': 0 }, 1000, createjs.Ease.bounceOut).to({ 'x': _1ueb.x, 'y': _1ueb.y }, 1000, createjs.Ease.sineIn), _1uee = createjs.Tween.get(_1ue8.Container).wait(1800).to({ 'alpha': 0 }, 200).call(function() { var _1uf6 = null; _1ue7._layer.removeChild(_1ue8), _1ue7._endTask(); }), this._tweens.push(_1ued, _1uee); } }, _1udy.prototype._stop = function() { var _1uf7 = null; this._tweens.forEach(function(_1uf8) { var _1uf9 = null; null != _1uf8 && (_1uf8.setPaused(!0), _1uf8 = null); }); }, _1udy.prototype._endTask = function() { var _1ufa = null; this._stop(), this._layer = null, this._a_banner = null, this._d_banner = null, _1udw.prototype._endTask.call(this); }, _1udy; }(_1udt.TaskBase); _1ud8.TaskDaihatsuEff = _1udv; }, 13614: function(_1ufb, _1ufc, _1ufd) { 'use strict'; var _1ufe = null; var _1uff, _1ufg = this && this.__extends || (_1uff = function(_1ufh, _1ufi) { var _1ufj = null; return _1uff = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ufk, _1ufl) { var _1ufm = null; _1ufk.__proto__ = _1ufl; } || function(_1ufn, _1ufo) { var _1ufp = null; for (var _1ufq in _1ufo) Object.prototype.hasOwnProperty.call(_1ufo, _1ufq) && (_1ufn[_1ufq] = _1ufo[_1ufq]); }, _1uff(_1ufh, _1ufi); }, function(_1ufr, _1ufs) { var _1uft = null; if ('function' != typeof _1ufs && null !== _1ufs) throw new TypeError('Class extends value ' + String(_1ufs) + ' is not a constructor or null'); function _1ufu() { var _1ufv = null; this.constructor = _1ufr; } _1uff(_1ufr, _1ufs), _1ufr.prototype = null === _1ufs ? Object.create(_1ufs) : (_1ufu.prototype = _1ufs.prototype, new _1ufu()); }); defineModule(_1ufc); Object.defineProperty(_1ufc, '__esModule', { 'value': !0 }), _1ufc.TaskKakuzaLanding = void 0; var _1ufw = _1ufd(81755), _1ufx = _1ufd(79871), _1ufy = _1ufd(66398), _1ufz = _1ufd(22434), _1ug0 = _1ufd(56494), _1ug1 = function(_1ug2) { var _1ug3 = null; function _1ug4(_1ug5, _1ug6, _1ug7, _1ug8, _1ug9, _1uga) { var _1ugb = null, _1ugc = _1ug2.call(this) || this; return _1ugc._layer = _1ug5, _1ugc._a_banner = _1ug7, _1ugc._d_banner = _1ug8, _1ugc._type = _1ug9, _1ugc._onExplode = _1uga, _1ugc._action_banner = new _1ufx.Banner(_1ug7.index, _1ug7.friend, _1ug7.combined, _1ug7.invisible, _1ug7.ribbon), _1ugc._action_banner.initialize(_1ug6.mst_id, _1ug6.hp_now, _1ug6.hp_max, _1ug6.isTaihi(), _1ug6.isGround()), _1ugc._action_banner.enabledKakuzaAttack(_1ug6.hp_now, _1ug6.hp_max), _1ugc; } return _1ufg(_1ug4, _1ug2), _1ug4.prototype._start = function() { var _1ugd = null, _1uge = this._a_banner.getGlobalPos(!1); this._action_banner.position = _1uge, this._action_banner.alpha = 0; var _1ugf = this._d_banner.getGlobalPos(!1), _1ugg = this._a_banner.parent.position.x; this._move_pos = new PIXI.Point(_1ugf.x - _1ufy.BannerSize.W - 85 - _1ugg, _1ugf.y - _1uge.y), this._text_pos = new PIXI.Point(_1ugf.x - 55, _1ugf.y + 18), this._tank_pos = new PIXI.Point(_1ugf.x - 85, _1ugf.y + _1ufy.BannerSize.H), this._layer.addChild(this._action_banner), this._moveShip(); }, _1ug4.prototype._moveShip = function() { var _1ugh = null, _1ugi = this; this._action_banner.alpha = 1, this._a_banner.alpha = 0, this._action_banner.moveContent(this._move_pos, 400, function() { var _1ugj = null; new _1ug0.WaitTask(500).start(function() { var _1ugk = null; _1ugi._fallHpBar(); }); }); }, _1ug4.prototype._fallHpBar = function() { var _1ugl = null, _1ugm = this; this._action_banner.operateHPBar(!0, function() { var _1ugn = null; _1ugm._attack(); }); }, _1ug4.prototype._attack = function() { var _1ugo = null, _1ugp = this, _1ugq = new PIXI.Sprite(_1ufz.BATTLE_MAIN.getTexture(149)); if (_1ugq.position = this._text_pos, _1ugq.alpha = 0, this._layer.addChild(_1ugq), 1 == this._type) createjs.Tween.get(_1ugq).to({ 'alpha': 1 }, 200).wait(600).call(function() { var _1ugr = null; null != _1ugp._onExplode && _1ugp._onExplode(); }).to({ 'alpha': 0 }, 200).call(function() { var _1ugs = null; _1ugp._layer.removeChild(_1ugq), _1ugp._getUpHpBar(); }); else { var _1ugt = new _1ugu(this._tank_pos, this._type), _1ugv = _1ugt.runWaitTime(); this._layer.addChild(_1ugt), createjs.Tween.get(_1ugq).to({ 'alpha': 1 }, 200).wait(600).call(function() { var _1ugw = null; _1ugt.run(); }).wait(_1ugv + 300 + 180).call(function() { var _1ugx = null; null != _1ugp._onExplode && _1ugp._onExplode(); }).wait(1500).to({ 'alpha': 0 }, 200).call(function() { var _1ugy = null; _1ugp._layer.removeChild(_1ugt), _1ugp._layer.removeChild(_1ugq), _1ugp._getUpHpBar(); }); } }, _1ug4.prototype._getUpHpBar = function() { var _1ugz = null, _1uh0 = this; this._action_banner.operateHPBar(!1, function() { var _1uh1 = null; _1uh0._removeShip(); }); }, _1ug4.prototype._removeShip = function() { var _1uh2 = null, _1uh3 = this; this._action_banner.removeContent(400, function() { var _1uh4 = null; _1uh3._action_banner.alpha = 0, _1uh3._a_banner.alpha = 1, _1uh3._layer.removeChild(_1uh3._action_banner), _1uh3._endTask(); }); }, _1ug4.prototype._endTask = function() { var _1uh5 = null; this._action_banner.dispose(), this._action_banner = null, _1ug2.prototype._endTask.call(this); }, _1ug4; }(_1ufw.TaskBase); _1ufc.TaskKakuzaLanding = _1ug1; var _1ugu = function(_1uh6) { var _1uh7 = null; function _1uh8(_1uh9, _1uha) { var _1uhb = null, _1uhc = _1uh6.call(this) || this; _1uhc.SPEED = 0.19, _1uhc._tank1 = new PIXI.Sprite(), _1uhc._tank1.anchor.set(1, 1), _1uhc._tank1.texture = _1uhc._getTankTexture(0, _1uha), _1uhc._type = _1uha, _1uhc._tank1.position.set(_1uh9.x, _1uh9.y - 12), _1uhc.addChild(_1uhc._tank1), [6, 4, 5].indexOf(_1uhc._type) > -1 && (_1uhc._tank2 = new PIXI.Sprite(), _1uhc._tank2.anchor.set(1, 1), _1uhc._tank2.texture = _1uhc._getTankTexture(1, _1uha), _1uhc._tank2.position.set(_1uh9.x - 80, _1uh9.y - 12), _1uhc.addChild(_1uhc._tank2)); var _1uhd = [2, 3].indexOf(_1uhc._type) > -1 ? 190 : 235; return _1uhc._distance = _1uhd, _1uhc._draw_mask = new PIXI.Graphics(), _1uhc._draw_mask.beginFill(16774898, 1), _1uhc._draw_mask.drawRect(_1uh9.x, _1uh9.y - 80, 280, 100), _1uhc._draw_mask.endFill(), _1uhc.addChild(_1uhc._draw_mask), _1uhc.mask = _1uhc._draw_mask, _1uhc; } return _1ufg(_1uh8, _1uh6), _1uh8.prototype.runWaitTime = function() { var _1uhe = null; return this._distance / this.SPEED; }, _1uh8.prototype.run = function() { var _1uhf = null, _1uhg = this.runWaitTime(), _1uhh = this._tank1.position.x + this._distance; if (createjs.Tween.get(this._tank1).to({ 'x': _1uhh }, _1uhg).wait(300).to({ 'x': _1uhh + 7 }, 60).to({ 'x': _1uhh - 7 }, 60).to({ 'x': _1uhh }, 60).wait(1500).to({ 'alpha': 0 }, 200), null != this._tank2) { var _1uhi = this._tank2.position.x + this._distance; createjs.Tween.get(this._tank2).to({ 'x': _1uhi }, _1uhg).wait(300).to({ 'x': _1uhi + 7 }, 60).to({ 'x': _1uhi - 7 }, 60).to({ 'x': _1uhi }, 60).wait(1500).to({ 'alpha': 0 }, 200); } }, _1uh8.prototype._getTankTexture = function(_1uhj, _1uhk) { var _1uhl = null; return 2 == _1uhk || 4 == _1uhk || 5 == _1uhk && 0 == _1uhj ? _1ufz.BATTLE_MAIN.getTexture(133) : _1ufz.BATTLE_MAIN.getTexture(134); }, _1uh8; }(PIXI.Container); }, 81138: function(_1uhm, _1uhn, _1uho) { 'use strict'; var _1uhp = null; var _1uhq, _1uhr = this && this.__extends || (_1uhq = function(_1uhs, _1uht) { var _1uhu = null; return _1uhq = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1uhv, _1uhw) { var _1uhx = null; _1uhv.__proto__ = _1uhw; } || function(_1uhy, _1uhz) { var _1ui0 = null; for (var _1ui1 in _1uhz) Object.prototype.hasOwnProperty.call(_1uhz, _1ui1) && (_1uhy[_1ui1] = _1uhz[_1ui1]); }, _1uhq(_1uhs, _1uht); }, function(_1ui2, _1ui3) { var _1ui4 = null; if ('function' != typeof _1ui3 && null !== _1ui3) throw new TypeError('Class extends value ' + String(_1ui3) + ' is not a constructor or null'); function _1ui5() { var _1ui6 = null; this.constructor = _1ui2; } _1uhq(_1ui2, _1ui3), _1ui2.prototype = null === _1ui3 ? Object.create(_1ui3) : (_1ui5.prototype = _1ui3.prototype, new _1ui5()); }), _1ui7 = this && this.__importDefault || function(_1ui8) { var _1ui9 = null; return _1ui8 && _1ui8.__esModule ? _1ui8 : { 'default': _1ui8 }; }; defineModule(_1uhn); Object.defineProperty(_1uhn, '__esModule', { 'value': !0 }), _1uhn.TaskAirUnitAttackStartTelop = void 0; var _1uia = _1ui7(_1uho(21359)), _1uib = _1uho(81755), _1uic = _1uho(2481), _1uid = function(_1uie) { var _1uif = null; function _1uig(_1uih) { var _1uii = null, _1uij = _1uie.call(this) || this; return _1uij._layer = _1uih, _1uij; } return _1uhr(_1uig, _1uie), _1uig.prototype._start = function() { var _1uik = null, _1uil = this; this._telop = new _1uim(), this._telop.x = _1uia.default.width / 2, this._telop.y = _1uia.default.height / 2, this._telop.bg.scale.y = 0, this._telop.text.x = 150, this._telop.text.alpha = 0, this._layer.addChild(this._telop), createjs.Tween.get(this._telop.text).wait(300).to({ 'x': 90, 'alpha': 1 }, 300).to({ 'x': -90 }, 350).to({ 'x': -150, 'alpha': 0 }, 500), createjs.Tween.get(this._telop.bg.scale).to({ 'y': 1 }, 300).wait(1150).to({ 'y': 0 }, 300).call(function() { var _1uin = null; _1uil._layer.removeChild(_1uil._telop), _1uil._endTask(); }); }, _1uig.prototype._endTask = function() { var _1uio = null; this._layer = null, _1uie.prototype._endTask.call(this); }, _1uig; }(_1uib.TaskBase); _1uhn.TaskAirUnitAttackStartTelop = _1uid; var _1uim = function(_1uip) { var _1uiq = null; function _1uir() { var _1uis = null, _1uit = _1uip.call(this) || this; _1uit._bg = new PIXI.Container(); var _1uiu = PIXI.Sprite.fromFrame('battle_telop_mes_bg_f'); return _1uiu.x = -Math.round(_1uiu.width / 2), _1uiu.y = -Math.round(_1uiu.height / 2), _1uit._bg.addChild(_1uiu), _1uit.addChild(_1uit._bg), _1uit._text = new PIXI.Sprite(_1uic.BATTLE_AIRUNIT.getTexture(0)), _1uit._text.anchor.set(0.5), _1uit.addChild(_1uit._text), _1uit; } return _1uhr(_1uir, _1uip), Object.defineProperty(_1uir.prototype, 'bg', { 'get': function() { var _1uiv = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1uir.prototype, 'text', { 'get': function() { var _1uiw = null; return this._text; }, 'enumerable': !1, 'configurable': !0 }), _1uir; }(PIXI.Container); }, 32331: function(_1uix, _1uiy, _1uiz) { 'use strict'; var _1uj0 = null; var _1uj1, _1uj2 = this && this.__extends || (_1uj1 = function(_1uj3, _1uj4) { var _1uj5 = null; return _1uj1 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1uj6, _1uj7) { var _1uj8 = null; _1uj6.__proto__ = _1uj7; } || function(_1uj9, _1uja) { var _1ujb = null; for (var _1ujc in _1uja) Object.prototype.hasOwnProperty.call(_1uja, _1ujc) && (_1uj9[_1ujc] = _1uja[_1ujc]); }, _1uj1(_1uj3, _1uj4); }, function(_1ujd, _1uje) { var _1ujf = null; if ('function' != typeof _1uje && null !== _1uje) throw new TypeError('Class extends value ' + String(_1uje) + ' is not a constructor or null'); function _1ujg() { var _1ujh = null; this.constructor = _1ujd; } _1uj1(_1ujd, _1uje), _1ujd.prototype = null === _1uje ? Object.create(_1uje) : (_1ujg.prototype = _1uje.prototype, new _1ujg()); }); defineModule(_1uiy); Object.defineProperty(_1uiy, '__esModule', { 'value': !0 }), _1uiy.TaskBannerFlareFire = void 0; var _1uji = _1uiz(66398), _1ujj = _1uiz(81755), _1ujk = _1uiz(30781), _1ujl = function(_1ujm) { var _1ujn = null; function _1ujo(_1ujp) { var _1ujq = null, _1ujr = _1ujm.call(this) || this; return _1ujr._banner = _1ujp, _1ujr; } return _1uj2(_1ujo, _1ujm), _1ujo.prototype._start = function() { var _1ujs = null, _1ujt = this; null != this._banner ? this._banner.moveFront(function() { var _1uju = null; _1ujt._antiAircraft(); }) : this._endTask(); }, _1ujo.prototype._antiAircraft = function() { var _1ujv = null, _1ujw = this, _1ujx = this._banner.friend, _1ujy = new _1ujk.AntiAircraftFire(); _1ujy.initialize(), _1ujy.x = _1ujx ? _1uji.BannerSize.W : 0, _1ujy.rotation = (_1ujx ? -60 : 240) / 180 * Math.PI, this._banner.addChild(_1ujy), _1ujy.getAnimationTask().start(function() { var _1ujz = null; _1ujw._banner.removeChild(_1ujy), _1ujw._banner.moveDefault(), _1ujw._banner.once('complete_moveDefault', function() { var _1uk0 = null; _1ujw._endTask(); }); }); }, _1ujo.prototype._endTask = function() { var _1uk1 = null; this._banner = null, _1ujm.prototype._endTask.call(this); }, _1ujo; }(_1ujj.TaskBase); _1uiy.TaskBannerFlareFire = _1ujl; }, 60744: function(_1uk2, _1uk3, _1uk4) { 'use strict'; var _1uk5 = null; var _1uk6, _1uk7 = this && this.__extends || (_1uk6 = function(_1uk8, _1uk9) { var _1uka = null; return _1uk6 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ukb, _1ukc) { var _1ukd = null; _1ukb.__proto__ = _1ukc; } || function(_1uke, _1ukf) { var _1ukg = null; for (var _1ukh in _1ukf) Object.prototype.hasOwnProperty.call(_1ukf, _1ukh) && (_1uke[_1ukh] = _1ukf[_1ukh]); }, _1uk6(_1uk8, _1uk9); }, function(_1uki, _1ukj) { var _1ukk = null; if ('function' != typeof _1ukj && null !== _1ukj) throw new TypeError('Class extends value ' + String(_1ukj) + ' is not a constructor or null'); function _1ukl() { var _1ukm = null; this.constructor = _1uki; } _1uk6(_1uki, _1ukj), _1uki.prototype = null === _1ukj ? Object.create(_1ukj) : (_1ukl.prototype = _1ukj.prototype, new _1ukl()); }); defineModule(_1uk3); Object.defineProperty(_1uk3, '__esModule', { 'value': !0 }), _1uk3.TaskBannerParticle = void 0; var _1ukn = _1uk4(81755), _1uko = _1uk4(85492), _1ukp = _1uk4(22434), _1ukq = [{ 'x': 0, 'y': 0, 'delay': 0 }, { 'x': 0, 'y': -23, 'delay': 60 }, { 'x': -45, 'y': 15, 'delay': 60 }, { 'x': 45, 'y': 15, 'delay': 60 }, { 'x': 0, 'y': 30, 'delay': 120 }, { 'x': -75, 'y': -38, 'delay': 120 }, { 'x': 75, 'y': -38, 'delay': 120 }, { 'x': 0, 'y': -53, 'delay': 180 }, { 'x': -98, 'y': 45, 'delay': 180 }, { 'x': 98, 'y': 45, 'delay': 180 }], _1ukr = function(_1uks) { var _1ukt = null; function _1uku(_1ukv, _1ukw) { var _1ukx = null, _1uky = _1uks.call(this) || this; return _1uky._layer = _1ukv, _1uky._pos = _1ukw, _1uky; } return _1uk7(_1uku, _1uks), _1uku.prototype._start = function() { var _1ukz = null, _1ul0 = this; this._container = new PIXI.Container(), this._container.x = this._pos.x, this._container.y = this._pos.y, this._layer.addChild(this._container); for (var _1ul1 = new _1uko.TweenTask(), _1ul2 = function(_1ul3) { var _1ul4 = null, _1ul5 = new _1ul6(); _1ul5.Initialize(), _1ul5.x = _1ul3.x + 24 * Math.random() - 12, _1ul5.y = _1ul3.y + 6 * Math.random() - 3, _1ul5.x -= 18, _1ul5.y -= 18, _1ul5.alpha = 0; var _1ul7 = 0.6 * Math.random(), _1ul8 = createjs.Tween.get(_1ul5); _1ul8.wait(_1ul3.delay), _1ul8.call(function() { var _1ul9 = null; _1ul5.activate(), _1ul0._container.addChild(_1ul5); }), _1ul8.to({ 'alpha': 1 }, 100), _1ul8.wait(0.2 + Math.random() * _1ul7), _1ul8.to({ 'alpha': 0 }, 100), _1ul8.wait(100), _1ul8.to({ 'alpha': 1 }, 100), _1ul8.wait(0.2 + Math.random() * (0.6 - _1ul7)), _1ul8.to({ 'alpha': 0 }, 200), _1ul8.call(function() { var _1ula = null; _1ul0._container.removeChild(_1ul5), _1ul5.deactivate(); }), _1ul1.addTween(_1ul8); }, _1ulb = 0, _1ulc = _1ukq; _1ulb < _1ulc.length; _1ulb++) { _1ul2(_1ulc[_1ulb]); } _1ul1.start(function() { var _1uld = null; _1ul0._layer.removeChild(_1ul0._container), _1ul0._endTask(); }); }, _1uku.prototype._endTask = function() { var _1ule = null; this._layer = null, this._pos = null, this._container = null, _1uks.prototype._endTask.call(this); }, _1uku; }(_1ukn.TaskBase); _1uk3.TaskBannerParticle = _1ukr; var _1ul6 = function(_1ulf) { var _1ulg = null; function _1ulh() { var _1uli = null, _1ulj = _1ulf.call(this) || this; return _1ulj._update = function(_1ulk) { var _1ull = null; _1ulj._img.texture = 1 == _1ulk ? _1ukp.BATTLE_MAIN.getTexture(68) : _1ukp.BATTLE_MAIN.getTexture(69), _1ulj._img.x = _1ulj._img.width / 2, _1ulj._img.y = _1ulj._img.height / 2; }, _1ulj._img = new PIXI.Sprite(), _1ulj.addChild(_1ulj._img), _1ulj; } return _1uk7(_1ulh, _1ulf), _1ulh.prototype.Initialize = function() { var _1ulm = null; this._update(!0); }, _1ulh.prototype.activate = function() { var _1uln = null; null == this._t && (this._update(!0), this._t = createjs.Tween.get(null, { 'loop': !0 }).wait(300).call(this._update, [!1]).wait(300).call(this._update, [!0])); }, _1ulh.prototype.deactivate = function() { var _1ulo = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _1ulh; }(PIXI.Container); }, 76095: function(_1ulp, _1ulq, _1ulr) { 'use strict'; var _1uls = null; var _1ult, _1ulu = this && this.__extends || (_1ult = function(_1ulv, _1ulw) { var _1ulx = null; return _1ult = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1uly, _1ulz) { var _1um0 = null; _1uly.__proto__ = _1ulz; } || function(_1um1, _1um2) { var _1um3 = null; for (var _1um4 in _1um2) Object.prototype.hasOwnProperty.call(_1um2, _1um4) && (_1um1[_1um4] = _1um2[_1um4]); }, _1ult(_1ulv, _1ulw); }, function(_1um5, _1um6) { var _1um7 = null; if ('function' != typeof _1um6 && null !== _1um6) throw new TypeError('Class extends value ' + String(_1um6) + ' is not a constructor or null'); function _1um8() { var _1um9 = null; this.constructor = _1um5; } _1ult(_1um5, _1um6), _1um5.prototype = null === _1um6 ? Object.create(_1um6) : (_1um8.prototype = _1um6.prototype, new _1um8()); }), _1uma = this && this.__importDefault || function(_1umb) { var _1umc = null; return _1umb && _1umb.__esModule ? _1umb : { 'default': _1umb }; }; defineModule(_1ulq); Object.defineProperty(_1ulq, '__esModule', { 'value': !0 }), _1ulq.TaskBossCutin = void 0; var _1umd = _1uma(_1ulr(18622)), _1ume = _1ulr(35380), _1umf = _1ulr(81755), _1umg = _1ulr(79899), _1umh = _1ulr(27510), _1umi = _1ulr(20137), _1umj = function(_1umk) { var _1uml = null; function _1umm(_1umn, _1umo) { var _1ump = null, _1umq = _1umk.call(this) || this; return _1umq._onClick = function() { var _1umr = null; _1umq._messagebox.deactivate(), _1umq._layer.removeChild(_1umq._click_area), createjs.Tween.get(_1umq._fade).to({ 'alpha': 0 }, 500).wait(300).call(function() { var _1ums = null; _1umq._layer.removeChild(_1umq._messagebox), _1umq._layer.removeChild(_1umq._chara), _1umq._layer.removeChild(_1umq._fade), _1umq._endTask(); }), createjs.Tween.get(_1umq._chara).to({ 'y': _1umq._chara.y + 327, 'alpha': 0 }, 300), createjs.Tween.get(_1umq._messagebox).to({ 'y': _1umq._messagebox.y + 98, 'alpha': 0 }, 100); }, _1umq._layer = _1umn, _1umq._model = _1umo, _1umq; } return _1ulu(_1umm, _1umk), _1umm.prototype._start = function() { var _1umt = null; this._showFade(); }, _1umm.prototype._showFade = function() { var _1umu = null; this._fade = new _1umg.AreaBox(1), this._fade.alpha = 0, this._layer.addChild(this._fade), createjs.Tween.get(this._fade).to({ 'alpha': 1 }, 500), this._loadResource(); }, _1umm.prototype._loadResource = function() { var _1umv = null, _1umw = this, _1umx = this._model.mst_id, _1umy = new _1umi.ShipLoader(); _1umy.add(_1umx, !1, 'full'), _1umy.load(function() { var _1umz = null; _1umw._showChara(); }); }, _1umm.prototype._showChara = function() { var _1un0 = null, _1un1 = this, _1un2 = this._model.mst_id, _1un3 = _1umd.default.resources.getShip(_1un2, !1, 'full'); this._chara = new PIXI.Sprite(_1un3), this._chara.x = this._model.offset_x, this._chara.y = this._model.offset_y + 327, this._chara.alpha = 0, this._layer.addChild(this._chara), createjs.Tween.get(this._chara).to({ 'y': this._model.offset_y, 'alpha': 1 }, 800).call(function() { var _1un4 = null; _1un1._showMessageBox(); }); }, _1umm.prototype._showMessageBox = function() { var _1un5 = null, _1un6 = this, _1un7 = this._model.stype, _1un8 = this._model.name, _1un9 = this._model.message; this._messagebox = new _1umh.MessageBox(!1), this._messagebox.initializeForShip(_1un7, _1un8, _1un9), this._messagebox.y = 578, this._layer.addChild(this._messagebox); var _1una = this._messagebox.y - 98; createjs.Tween.get(this._messagebox).to({ 'y': _1una }, 200).call(function() { var _1unb = null; _1un6._messagebox.activate(), _1umd.default.sound.voice.play('9998', _1un6._model.voice_id), _1un6._click_area = new _1umg.AreaBox(0), _1un6._click_area.buttonMode = !0, _1un6._layer.addChild(_1un6._click_area), _1un6._click_area.once(_1ume.EventType.CLICK, _1un6._onClick); }); }, _1umm.prototype._endTask = function() { var _1unc = null; this._layer = null, this._model = null, this._fade = null, this._chara = null, this._messagebox.dispose(), this._messagebox = null, this._click_area = null, _1umk.prototype._endTask.call(this); }, _1umm; }(_1umf.TaskBase); _1ulq.TaskBossCutin = _1umj; }, 46997: function(_1und, _1une, _1unf) { 'use strict'; var _1ung = null; var _1unh, _1uni = this && this.__extends || (_1unh = function(_1unj, _1unk) { var _1unl = null; return _1unh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1unm, _1unn) { var _1uno = null; _1unm.__proto__ = _1unn; } || function(_1unp, _1unq) { var _1unr = null; for (var _1uns in _1unq) Object.prototype.hasOwnProperty.call(_1unq, _1uns) && (_1unp[_1uns] = _1unq[_1uns]); }, _1unh(_1unj, _1unk); }, function(_1unt, _1unu) { var _1unv = null; if ('function' != typeof _1unu && null !== _1unu) throw new TypeError('Class extends value ' + String(_1unu) + ' is not a constructor or null'); function _1unw() { var _1unx = null; this.constructor = _1unt; } _1unh(_1unt, _1unu), _1unt.prototype = null === _1unu ? Object.create(_1unu) : (_1unw.prototype = _1unu.prototype, new _1unw()); }), _1uny = this && this.__importDefault || function(_1unz) { var _1uo0 = null; return _1unz && _1unz.__esModule ? _1unz : { 'default': _1unz }; }; defineModule(_1une); Object.defineProperty(_1une, '__esModule', { 'value': !0 }), _1une.TaskDamageCutin = void 0; var _1uo1 = _1uny(_1unf(21359)), _1uo2 = _1uny(_1unf(18622)), _1uo3 = _1unf(81755), _1uo4 = _1unf(79899), _1uo5 = _1unf(37618), _1uo6 = _1unf(54011), _1uo7 = _1unf(85492), _1uo8 = _1unf(20137), _1uo9 = _1unf(13748), _1uoa = _1unf(70723), _1uob = _1unf(3544), _1uoc = _1unf(42691), _1uod = function(_1uoe) { var _1uof = null; function _1uog(_1uoh, _1uoi, _1uoj, _1uok, _1uol) { var _1uom = null; void 0 === _1uol && (_1uol = null); var _1uon = _1uoe.call(this) || this; return _1uon._layer = _1uoh, _1uon._taiha = _1uoi, _1uon._night = _1uoj, _1uon._mst_ids = _1uok.slice(0, 3), _1uon._offset = _1uol, _1uon._view = new _1uoo(), _1uon; } return _1uni(_1uog, _1uoe), _1uog.prototype._start = function() { var _1uop = null; this._loadResource(); }, _1uog.prototype._loadResource = function() { var _1uoq = null, _1uor = this, _1uos = new _1uo9.UIImageLoader('battle'); _1uos.add('battle_cutin_damage.json'), _1uos.load(function() { var _1uot = null; _1uor._loadShipResource(); }); }, _1uog.prototype._loadShipResource = function() { var _1uou = null; for (var _1uov = this, _1uow = new _1uo8.ShipLoader(), _1uox = 0, _1uoy = this._mst_ids; _1uox < _1uoy.length; _1uox++) { var _1uoz = _1uoy[_1uox]; _1uow.add(_1uoz, !0, 'full'); } _1uow.load(function() { var _1up0 = null; _1uov._preUpload(); }); }, _1uog.prototype._preUpload = function() { var _1up1 = null, _1up2 = this; _1uo2.default.settings.renderer.plugins.prepare.upload(_1uob.BATTLE_CUTIN_DAMAGE.getTexture(0).baseTexture, function() { var _1up3 = null; _1up2._initShipImages(); }); }, _1uog.prototype._initShipImages = function() { var _1up4 = null; for (var _1up5 = 0; _1up5 < this._mst_ids.length; _1up5++) { var _1up6 = this._mst_ids[_1up5], _1up7 = this._view.ships.getContainer(_1up5); this._initShipImage(_1up6, _1up7); } this._view.ships.initXposition(), this._loadMapBG(); }, _1uog.prototype._initShipImage = function(_1up8, _1up9) { var _1upa = null, _1upb = _1uo2.default.resources.getShip(_1up8, !0, 'full'), _1upc = new _1uo6.Sprite(_1upb), _1upd = null === this._offset ? _1uo2.default.model.ship_graph.get(_1up8).getBattleOffset(!0) : this._offset; _1upc.position.set(_1upd.x - 120, _1upd.y - 120), _1up9.addChild(_1upc), _1up9.visible = !0; }, _1uog.prototype._loadMapBG = function() { var _1upe = null, _1upf = this; 0 == this._night ? this._view.bg.setDay(function() { var _1upg = null; _1upf._startAnim(); }) : this._view.bg.setNight(function() { var _1uph = null; _1upf._startAnim(); }); }, _1uog.prototype._startAnim = function() { var _1upi = null, _1upj = this; this._view.bg.alpha = 0, this._view.ships.y = -_1uo1.default.width / 2, this._view.ships.alpha = 0, this._view.frame.alpha = 0, this._view.mozi_layer.mozi1.scale.set(2.1), this._view.mozi_layer.mozi1.alpha = 0, this._view.mozi_layer.mozi2.scale.set(2.1), this._view.mozi_layer.mozi2.alpha = 0, this._view.mozi_layer.break.visible = !1, this._view.initialize(this._taiha), this._layer.addChild(this._view), createjs.Tween.get(this._view.bg).to({ 'alpha': 1 }, 350), createjs.Tween.get(this._view.frame).to({ 'alpha': 1 }, 350).call(function() { var _1upk = null; _1upj._showShips(); }); }, _1uog.prototype._showShips = function() { var _1upl = null, _1upm = this, _1upn = new _1uo7.TweenTask(), _1upo = createjs.Tween.get(this._view.ships).to({ 'y': -540, 'alpha': 1 }, 150).to({ 'y': 15 }, 850); _1upn.addTween(_1upo), _1upo = createjs.Tween.get(this._view.mozi_layer.mozi1).wait(400).to({ 'scaleX': 1.1, 'scaleY': 1.1, 'alpha': 0.35 }, 150).to({ 'scaleX': 1.2, 'scaleY': 1.2 }, 50).wait(50).call(function() { var _1upp = null; _1upm._view.mozi_layer.mozi1.visible = !1; }), _1upn.addTween(_1upo), _1upo = createjs.Tween.get(this._view.mozi_layer.mozi2).wait(300).to({ 'scaleX': 1, 'scaleY': 1, 'alpha': 1 }, 150).wait(100).call(function() { var _1upq = null; _1uoa.SE.play('109'); }), _1upn.addTween(_1upo), _1upn.start(function() { var _1upr = null; _1upm._break(); }); }, _1uog.prototype._break = function() { var _1ups = null, _1upt = this, _1upu = this._mst_ids[0].toString(); _1uo2.default.sound.voice.play(_1upu, 21), this._view.mozi_layer.mozi2.visible = !1, this._view.mozi_layer.break.visible = !0, this._view.mozi_layer.break.Play(function() { var _1upv = null; _1upt._view.mozi_layer.break.Dispose(), _1upt._preEndAnim(); }); }, _1uog.prototype._preEndAnim = function() { var _1upw = null, _1upx = this, _1upy = new _1uo4.AreaBox(1, 16777215); _1upy.alpha = 0, this._layer.addChild(_1upy), createjs.Tween.get(_1upy).to({ 'alpha': 1 }, 500).call(function() { var _1upz = null; _1upx._layer.removeChild(_1upx._view); }).to({ 'alpha': 0 }, 500).call(function() { var _1uq0 = null; _1upx._layer.removeChild(_1upy), _1upx._endTask(); }); }, _1uog.prototype._endTask = function() { var _1uq1 = null; _1uo9.UIImageLoader.clearMemoryCacheDetail('battle', 'cutin_damage'), _1uoe.prototype._endTask.call(this); }, _1uog; }(_1uo3.TaskBase); _1une.TaskDamageCutin = _1uod; var _1uoo = function(_1uq2) { var _1uq3 = null; function _1uq4() { var _1uq5 = null, _1uq6 = _1uq2.call(this) || this; return _1uq6._bg = new _1uo5.MapBG(), _1uq6._ships = new _1uq7(), _1uq6._frame = new PIXI.Sprite(), _1uq6._mozi_layer = new _1uq8(), _1uq6.addChild(_1uq6._bg), _1uq6.addChild(_1uq6._ships), _1uq6.addChild(_1uq6._frame), _1uq6.addChild(_1uq6._mozi_layer), _1uq6; } return _1uni(_1uq4, _1uq2), Object.defineProperty(_1uq4.prototype, 'bg', { 'get': function() { var _1uq9 = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1uq4.prototype, 'ships', { 'get': function() { var _1uqa = null; return this._ships; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1uq4.prototype, 'frame', { 'get': function() { var _1uqb = null; return this._frame; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1uq4.prototype, 'mozi_layer', { 'get': function() { var _1uqc = null; return this._mozi_layer; }, 'enumerable': !1, 'configurable': !0 }), _1uq4.prototype.initialize = function(_1uqd) { var _1uqe = null; this._frame.texture = _1uob.BATTLE_CUTIN_DAMAGE.getTexture(100), this._mozi_layer.initialize(_1uqd); }, _1uq4; }(PIXI.Container), _1uq7 = function(_1uqf) { var _1uqg = null; function _1uqh() { var _1uqi = null, _1uqj = _1uqf.call(this) || this; return _1uqj.LEFT = 0, _1uqj.CENTER = _1uo1.default.width / 4, _1uqj.RIGHT = _1uo1.default.width / 2, _1uqj._ship1 = new PIXI.Container(), _1uqj._ship1.visible = !1, _1uqj._ship2 = new PIXI.Container(), _1uqj._ship2.visible = !1, _1uqj._ship3 = new PIXI.Container(), _1uqj._ship3.visible = !1, _1uqj.addChild(_1uqj._ship3), _1uqj.addChild(_1uqj._ship2), _1uqj.addChild(_1uqj._ship1), _1uqj; } return _1uni(_1uqh, _1uqf), Object.defineProperty(_1uqh.prototype, 'ship1', { 'get': function() { var _1uqk = null; return this._ship1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1uqh.prototype, 'ship2', { 'get': function() { var _1uql = null; return this._ship2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1uqh.prototype, 'ship3', { 'get': function() { var _1uqm = null; return this._ship3; }, 'enumerable': !1, 'configurable': !0 }), _1uqh.prototype.getContainer = function(_1uqn) { var _1uqo = null; return _1uqn < 0 || _1uqn > 3 ? null : [this._ship1, this._ship2, this._ship3][_1uqn]; }, _1uqh.prototype.initXposition = function() { var _1uqp = null; return 1 == this._ship3.visible ? (this._ship1.x = this.CENTER, this._ship2.x = this.LEFT, void(this._ship3.x = this.RIGHT)) : 1 == this._ship2.visible ? (this._ship1.x = this.LEFT, void(this._ship2.x = this.RIGHT)) : void(this._ship1.x = this.CENTER); }, _1uqh; }(PIXI.Container), _1uq8 = function(_1uqq) { var _1uqr = null; function _1uqs() { var _1uqt = null, _1uqu = _1uqq.call(this) || this; return _1uqu._mozi1 = new _1uo6.Sprite(), _1uqu.addChild(_1uqu._mozi1), _1uqu._mozi2 = new _1uo6.Sprite(), _1uqu.addChild(_1uqu._mozi2), _1uqu._break = new _1uoc.BreakText(), _1uqu.addChild(_1uqu._break), _1uqu; } return _1uni(_1uqs, _1uqq), Object.defineProperty(_1uqs.prototype, 'mozi1', { 'get': function() { var _1uqv = null; return this._mozi1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1uqs.prototype, 'mozi2', { 'get': function() { var _1uqw = null; return this._mozi2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1uqs.prototype, 'break', { 'get': function() { var _1uqx = null; return this._break; }, 'enumerable': !1, 'configurable': !0 }), _1uqs.prototype.initialize = function(_1uqy) { var _1uqz = null; this._initializeImageSprite(this._mozi1, _1uqy), this._initializeImageSprite(this._mozi2, _1uqy), this._break.Initialize(_1uqy), this._break.position.set(945, 516), this._break.x -= this._break.width / 2, this._break.y -= this._break.height / 2; }, _1uqs.prototype._initializeImageSprite = function(_1ur0, _1ur1) { var _1ur2 = null; _1ur0.anchor.set(0.5), 1 == _1ur1 ? (_1ur0.texture = _1uob.BATTLE_CUTIN_DAMAGE.getTexture(0), _1ur0.position.set(945, 516)) : (_1ur0.texture = _1uob.BATTLE_CUTIN_DAMAGE.getTexture(1), _1ur0.position.set(930, 516)); }, _1uqs; }(PIXI.Container); }, 40586: function(_1ur3, _1ur4, _1ur5) { 'use strict'; var _1ur6 = null; var _1ur7, _1ur8 = this && this.__extends || (_1ur7 = function(_1ur9, _1ura) { var _1urb = null; return _1ur7 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1urc, _1urd) { var _1ure = null; _1urc.__proto__ = _1urd; } || function(_1urf, _1urg) { var _1urh = null; for (var _1uri in _1urg) Object.prototype.hasOwnProperty.call(_1urg, _1uri) && (_1urf[_1uri] = _1urg[_1uri]); }, _1ur7(_1ur9, _1ura); }, function(_1urj, _1urk) { var _1url = null; if ('function' != typeof _1urk && null !== _1urk) throw new TypeError('Class extends value ' + String(_1urk) + ' is not a constructor or null'); function _1urm() { var _1urn = null; this.constructor = _1urj; } _1ur7(_1urj, _1urk), _1urj.prototype = null === _1urk ? Object.create(_1urk) : (_1urm.prototype = _1urk.prototype, new _1urm()); }); defineModule(_1ur4); Object.defineProperty(_1ur4, '__esModule', { 'value': !0 }), _1ur4.TaskExplosion = void 0; var _1uro = _1ur5(81755), _1urp = _1ur5(70723), _1urq = _1ur5(20240), _1urr = function(_1urs) { var _1urt = null; function _1uru(_1urv, _1urw, _1urx, _1ury) { var _1urz = null; void 0 === _1ury && (_1ury = 0); var _1us0 = _1urs.call(this) || this; return _1us0._layer = _1urv, _1us0._x = _1urw, _1us0._y = _1urx, _1us0._delay = _1ury, _1us0; } return _1ur8(_1uru, _1urs), _1uru.prototype._start = function() { var _1us1 = null; this._wait(); }, _1uru.prototype._wait = function() { var _1us2 = null, _1us3 = this; this._delay > 0 ? createjs.Tween.get(null).wait(this._delay).call(function() { var _1us4 = null; _1us3._explode(); }) : this._explode(); }, _1uru.prototype._explode = function() { var _1us5 = null, _1us6 = this, _1us7 = new _1urq.Explosion(); _1us7.x = this._x, _1us7.y = this._y, this._layer.addChild(_1us7), _1urp.SE.play('102'), _1us7.play(function() { var _1us8 = null; _1us6._layer.removeChild(_1us7), _1us6._endTask(); }); }, _1uru; }(_1uro.TaskBase); _1ur4.TaskExplosion = _1urr; }, 96345: function(_1us9, _1usa, _1usb) { 'use strict'; var _1usc = null; var _1usd, _1use = this && this.__extends || (_1usd = function(_1usf, _1usg) { var _1ush = null; return _1usd = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1usi, _1usj) { var _1usk = null; _1usi.__proto__ = _1usj; } || function(_1usl, _1usm) { var _1usn = null; for (var _1uso in _1usm) Object.prototype.hasOwnProperty.call(_1usm, _1uso) && (_1usl[_1uso] = _1usm[_1uso]); }, _1usd(_1usf, _1usg); }, function(_1usp, _1usq) { var _1usr = null; if ('function' != typeof _1usq && null !== _1usq) throw new TypeError('Class extends value ' + String(_1usq) + ' is not a constructor or null'); function _1uss() { var _1ust = null; this.constructor = _1usp; } _1usd(_1usp, _1usq), _1usp.prototype = null === _1usq ? Object.create(_1usq) : (_1uss.prototype = _1usq.prototype, new _1uss()); }); defineModule(_1usa); Object.defineProperty(_1usa, '__esModule', { 'value': !0 }), _1usa.TaskFlareAnimation = void 0; var _1usu = _1usb(81755), _1usv = _1usb(54011), _1usw = _1usb(87090), _1usx = function(_1usy) { var _1usz = null; function _1ut0(_1ut1, _1ut2) { var _1ut3 = null, _1ut4 = _1usy.call(this) || this; return _1ut4._addSmoke = function() { var _1ut5 = null; if (!(Math.random() <= 0.2)) { var _1ut6 = _1ut4._canvas, _1ut7 = new _1ut8(); _1ut7.activate(), _1ut7.x = _1ut6.fall1.x + _1ut6.fall1.flare.x, _1ut7.y = _1ut6.fall1.y, _1ut4._canvas.smoke_layer.addChild(_1ut7), (_1ut7 = new _1ut8()).activate(), _1ut7.x = _1ut6.fall2.x + _1ut6.fall2.flare.x, _1ut7.y = _1ut6.fall2.y, _1ut4._canvas.smoke_layer.addChild(_1ut7); } }, _1ut4._layer = _1ut1, _1ut4._pos = _1ut2, _1ut4._canvas = new _1ut9(), _1ut4._canvas.position.set(_1ut2.x, _1ut2.y), _1ut4; } return _1use(_1ut0, _1usy), _1ut0.prototype._start = function() { var _1uta = null; this._layer.addChild(this._canvas); var _1utb = this._canvas; _1utb.flare1.scale.set(0), _1utb.flare2.scale.set(0), _1utb.fall1.alpha = 0, _1utb.fall2.alpha = 0, _1utb.initialize(), this._flash(); }, _1ut0.prototype._flash = function() { var _1utc = null, _1utd = this; createjs.Tween.get(this._canvas.flare1).to({ 'scaleX': 1.5, 'scaleY': 1.5 }, 500).to({ 'scaleX': 0.6, 'scaleY': 0.6, 'alpha': 0 }, 800), createjs.Tween.get(this._canvas.flare2).to({ 'scaleX': 1.5, 'scaleY': 1.5 }, 500).call(function() { var _1ute = null; _1utd._fall(); }).to({ 'scaleX': 0.6, 'scaleY': 0.6, 'alpha': 0 }, 800); }, _1ut0.prototype._fall = function() { var _1utf = null, _1utg = this, _1uth = createjs.Tween.get(null, { 'loop': !0 }).wait(250).call(this._addSmoke); this._canvas.fall1.activate(), createjs.Tween.get(this._canvas.fall1).to({ 'x': 5, 'y': 3, 'alpha': 1 }, 200).to({ 'x': -5, 'y': 206 }, 3100).to({ 'x': -9, 'y': 270, 'alpha': 0 }, 1000), this._canvas.fall2.activate(), createjs.Tween.get(this._canvas.fall2).to({ 'x': -102, 'y': -14, 'alpha': 1 }, 200).to({ 'x': -122, 'y': 180 }, 3100).to({ 'x': -128, 'y': 242, 'alpha': 0 }, 1000).call(function() { var _1uti = null; _1uth.setPaused(!0), _1utg._preEnd(); }); }, _1ut0.prototype._preEnd = function() { var _1utj = null, _1utk = this; createjs.Tween.get(this._canvas.smoke_layer).to({ 'alpha': 0 }, 1350).call(function() { var _1utl = null; _1utk._endTask(); }); }, _1ut0.prototype._endTask = function() { var _1utm = null; this._layer.removeChild(this._canvas), this._canvas.dispose(), _1usy.prototype._endTask.call(this); }, _1ut0; }(_1usu.TaskBase); _1usa.TaskFlareAnimation = _1usx; var _1ut9 = function(_1utn) { var _1uto = null; function _1utp() { var _1utq = null, _1utr = _1utn.call(this) || this; return _1utr._smoke_layer = new PIXI.Container(), _1utr._flare1 = new _1uts(), _1utr._flare1.position.set(6, -15), _1utr._flare2 = new _1uts(), _1utr._flare2.position.set(-101, -30), _1utr._fall1 = new _1utt(), _1utr._fall1.position.set(6, -15), _1utr._fall2 = new _1utt(), _1utr._fall2.position.set(-101, -30), _1utr.addChild(_1utr._smoke_layer), _1utr.addChild(_1utr._flare1), _1utr.addChild(_1utr._flare2), _1utr.addChild(_1utr._fall1), _1utr.addChild(_1utr._fall2), _1utr; } return _1use(_1utp, _1utn), Object.defineProperty(_1utp.prototype, 'smoke_layer', { 'get': function() { var _1utu = null; return this._smoke_layer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1utp.prototype, 'flare1', { 'get': function() { var _1utv = null; return this._flare1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1utp.prototype, 'flare2', { 'get': function() { var _1utw = null; return this._flare2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1utp.prototype, 'fall1', { 'get': function() { var _1utx = null; return this._fall1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1utp.prototype, 'fall2', { 'get': function() { var _1uty = null; return this._fall2; }, 'enumerable': !1, 'configurable': !0 }), _1utp.prototype.initialize = function() { var _1utz = null; this._flare1.initialize(), this._flare2.initialize(), this._fall1.initialize(), this._fall2.initialize(); }, _1utp.prototype.dispose = function() { var _1uu0 = null; this.fall1.deactivate(), this.fall2.deactivate(); for (var _1uu1 = 0; _1uu1 < this._smoke_layer.children.length; _1uu1++) { var _1uu2 = this._smoke_layer.children[_1uu1]; null != _1uu2 && _1uu2.deactivate(); } this._smoke_layer.removeChildren(), this._smoke_layer = null, this._flare1 = null, this._flare2 = null, this._fall1 = null, this._fall2 = null, this.removeChildren(); }, _1utp; }(PIXI.Container), _1uts = function(_1uu3) { var _1uu4 = null; function _1uu5() { var _1uu6 = null, _1uu7 = _1uu3.call(this) || this; return _1uu7.anchor.set(0.5), _1uu7; } return _1use(_1uu5, _1uu3), _1uu5.prototype.initialize = function() { var _1uu8 = null; this.texture = _1usw.BATTLE_NIGHT.getTexture(0); }, _1uu5; }(_1usv.Sprite), _1utt = function(_1uu9) { var _1uua = null; function _1uub() { var _1uuc = null, _1uud = _1uu9.call(this) || this; return _1uud._onChange = function() { var _1uue = null; _1uud._flare.x = _1uud._amp * Math.sin(_1uud._timer / 13 + _1uud._init), _1uud._timer++; }, _1uud._glow_light = new PIXI.Sprite(), _1uud._glow_light.anchor.set(0.5), _1uud._glow_light.scale.set(5.4), _1uud._glow_light.alpha = 0.2, _1uud._flare = new _1uts(), _1uud._flare.scale.set(0.625), _1uud.addChild(_1uud._glow_light), _1uud.addChild(_1uud._flare), _1uud.rotation = 5.6 / 180 * Math.PI, _1uud; } return _1use(_1uub, _1uu9), Object.defineProperty(_1uub.prototype, 'flare', { 'get': function() { var _1uuf = null; return this._flare; }, 'enumerable': !1, 'configurable': !0 }), _1uub.prototype.initialize = function() { var _1uug = null; this._glow_light.texture = _1usw.BATTLE_NIGHT.getTexture(6), this._flare.texture = _1usw.BATTLE_NIGHT.getTexture(0); }, _1uub.prototype.activate = function() { var _1uuh = null; null == this._t && (this._amp = 18 + 3 * Math.random(), this._init = 15 + 5 * Math.random(), this._timer = 0, this._t = createjs.Tween.get(this._flare, { 'loop': !0, 'onChange': this._onChange }).to({ 'scaleX': 0.48, 'scaleY': 0.48, 'alpha': 0.7 }, 300).to({ 'scaleX': 0.625, 'scaleY': 0.625 }, 200)); }, _1uub.prototype.deactivate = function() { var _1uui = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _1uub; }(PIXI.Container), _1ut8 = function(_1uuj) { var _1uuk = null; function _1uul() { var _1uum = null, _1uun = _1uuj.call(this) || this; _1uun._onChange = function() { var _1uuo = null; _1uun.scale.x += _1uun._vscale, _1uun.scale.y += _1uun._vscale, _1uun.rotation += _1uun._vrotate / 180 * Math.PI; }; var _1uup = [1, 2, 3, 4, 5][Math.floor(5 * Math.random())], _1uuq = _1usw.BATTLE_NIGHT.getTexture(_1uup); return _1uun.texture = _1uuq, _1uun.anchor.set(0.5), _1uun.scale.set(0.1 * Math.random() + 0.2), _1uun.alpha = 0, _1uun; } return _1use(_1uul, _1uuj), _1uul.prototype.activate = function() { var _1uur = null; if (null == this._t) { var _1uus = createjs.Ticker.framerate; this._vscale = (0.0015 + 0.001 * Math.random()) * (60 / _1uus), this._vrotate = (5.5 * Math.random() - 2.5) * (60 / _1uus), this._t = createjs.Tween.get(this, { 'onChange': this._onChange }).to({ 'alpha': 1 }, 150).to({ 'alpha': 0 }, 5500 + 10000 * Math.random()); } }, _1uul.prototype.deactivate = function() { var _1uut = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _1uul; }(PIXI.Sprite); }, 34129: function(_1uuu, _1uuv, _1uuw) { 'use strict'; var _1uux = null; var _1uuy, _1uuz = this && this.__extends || (_1uuy = function(_1uv0, _1uv1) { var _1uv2 = null; return _1uuy = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1uv3, _1uv4) { var _1uv5 = null; _1uv3.__proto__ = _1uv4; } || function(_1uv6, _1uv7) { var _1uv8 = null; for (var _1uv9 in _1uv7) Object.prototype.hasOwnProperty.call(_1uv7, _1uv9) && (_1uv6[_1uv9] = _1uv7[_1uv9]); }, _1uuy(_1uv0, _1uv1); }, function(_1uva, _1uvb) { var _1uvc = null; if ('function' != typeof _1uvb && null !== _1uvb) throw new TypeError('Class extends value ' + String(_1uvb) + ' is not a constructor or null'); function _1uvd() { var _1uve = null; this.constructor = _1uva; } _1uuy(_1uva, _1uvb), _1uva.prototype = null === _1uvb ? Object.create(_1uvb) : (_1uvd.prototype = _1uvb.prototype, new _1uvd()); }); defineModule(_1uuv); Object.defineProperty(_1uuv, '__esModule', { 'value': !0 }), _1uuv.TaskFlareEffect = void 0; var _1uvf = _1uuw(81755), _1uvg = _1uuw(87475), _1uvh = _1uuw(5527), _1uvi = _1uuw(70723), _1uvj = _1uuw(32331), _1uvk = _1uuw(96345), _1uvl = function(_1uvm) { var _1uvn = null; function _1uvo(_1uvp, _1uvq, _1uvr, _1uvs) { var _1uvt = null, _1uvu = _1uvm.call(this) || this; return _1uvu._layer = _1uvp, _1uvu._banner_f = _1uvq, _1uvu._banner_e = _1uvr, _1uvu._search_light_task = _1uvs, _1uvu; } return _1uuz(_1uvo, _1uvm), _1uvo.prototype._start = function() { var _1uvv = null, _1uvw = this, _1uvx = this._banner_f, _1uvy = this._banner_e; 1 == (null != _1uvx || null != _1uvy) ? this._effectWithFlare(_1uvx, _1uvy) : null == this._search_light_task ? this._preEndTask() : this._search_light_task.start(function() { var _1uvz = null; _1uvw._search_light_task = null, _1uvw._preEndTask(); }); }, _1uvo.prototype._effectWithFlare = function(_1uw0, _1uw1) { var _1uw2 = null, _1uw3 = this, _1uw4 = new _1uvh.ParallelTask(); _1uw4.add(new _1uvj.TaskBannerFlareFire(_1uw0)), _1uw4.add(new _1uvj.TaskBannerFlareFire(_1uw1)), _1uw4.start(function() { var _1uw5 = null; createjs.Tween.get(null).wait(1170).call(function() { var _1uw6 = null; _1uw3._flareAnimation(_1uw0, _1uw1); }), null != _1uw3._search_light_task && createjs.Tween.get(null).wait(3200).call(function() { var _1uw7 = null; _1uw3._search_light_task.start(function() { var _1uw8 = _1uw7; _1uw3[_1uw8(2846)] = null, _1uw3[_1uw8(7348)](); }); }); }); }, _1uvo.prototype._flareAnimation = function(_1uw9, _1uwa) { var _1uwb = null, _1uwc = this; this._flare_light_task = new _1uvh.ParallelTask(); var _1uwd, _1uwe = this._layer; this._flare_light_task.add(new _1uwf(_1uwe)), null != _1uw9 && (_1uwd = new PIXI.Point(855, 255), this._flare_light_task.add(new _1uvk.TaskFlareAnimation(_1uwe, _1uwd))), null != _1uwa && (_1uwd = new PIXI.Point(345, 150), this._flare_light_task.add(new _1uvk.TaskFlareAnimation(_1uwe, _1uwd))), this._flare_light_task.start(function() { var _1uwg = null; _1uwc._flare_light_task = null, _1uwc._preEndTask(); }); }, _1uvo.prototype._preEndTask = function() { var _1uwh = null; null == this._search_light_task && null == this._flare_light_task && this._endTask(); }, _1uvo.prototype._endTask = function() { var _1uwi = null; this._layer = null, this._banner_f = null, this._banner_e = null, this._search_light_task = null, _1uvm.prototype._endTask.call(this); }, _1uvo; }(_1uvf.TaskBase); _1uuv.TaskFlareEffect = _1uvl; var _1uwf = function(_1uwj) { var _1uwk = null; function _1uwl(_1uwm) { var _1uwn = null, _1uwo = _1uwj.call(this) || this; return _1uwo._layer = _1uwm, _1uwo; } return _1uuz(_1uwl, _1uwj), _1uwl.prototype._start = function() { var _1uwp = null, _1uwq = this, _1uwr = new _1uvg.FadeBox(0.5, 16777215); _1uwr.hide(0), this._layer.addChild(_1uwr), _1uvi.SE.play('120'), _1uwr.show(170, function() { var _1uws = null; _1uwr.hide(170, function() { var _1uwt = null; _1uwq._layer.removeChild(_1uwr), _1uwq._endTask(); }); }); }, _1uwl; }(_1uvf.TaskBase); }, 12271: function(_1uwu, _1uwv, _1uww) { 'use strict'; var _1uwx = null; var _1uwy, _1uwz = this && this.__extends || (_1uwy = function(_1ux0, _1ux1) { var _1ux2 = null; return _1uwy = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ux3, _1ux4) { var _1ux5 = null; _1ux3.__proto__ = _1ux4; } || function(_1ux6, _1ux7) { var _1ux8 = null; for (var _1ux9 in _1ux7) Object.prototype.hasOwnProperty.call(_1ux7, _1ux9) && (_1ux6[_1ux9] = _1ux7[_1ux9]); }, _1uwy(_1ux0, _1ux1); }, function(_1uxa, _1uxb) { var _1uxc = null; if ('function' != typeof _1uxb && null !== _1uxb) throw new TypeError('Class extends value ' + String(_1uxb) + ' is not a constructor or null'); function _1uxd() { var _1uxe = null; this.constructor = _1uxa; } _1uwy(_1uxa, _1uxb), _1uxa.prototype = null === _1uxb ? Object.create(_1uxb) : (_1uxd.prototype = _1uxb.prototype, new _1uxd()); }); defineModule(_1uwv); Object.defineProperty(_1uwv, '__esModule', { 'value': !0 }), _1uwv.TaskMoveBannerDay = void 0; var _1uxf = _1uww(5527), _1uxg = _1uww(55535), _1uxh = _1uww(85492), _1uxi = function(_1uxj) { var _1uxk = null; function _1uxl(_1uxm, _1uxn) { var _1uxo = null, _1uxp = _1uxj.call(this) || this; return _1uxp._scene = _1uxm, _1uxp._record = _1uxn, _1uxp; } return _1uwz(_1uxl, _1uxj), _1uxl.prototype._start = function() { var _1uxq = null, _1uxr = this, _1uxs = new _1uxf.ParallelTask(); _1uxs.add(this._createTween_f()), _1uxs.add(this._createTween_e()), _1uxs.start(function() { var _1uxt = null; _1uxr._endTask(); }); }, _1uxl.prototype._endTask = function() { var _1uxu = null; this._scene = null, this._record = null; }, _1uxl.prototype._createTween_f = function() { var _1uxv = null, _1uxw = this._scene.view.bannerGroupLayer; if (0 == _1uxw.isEnteredFriend()) return _1uxw.createFriendEnterTask(); var _1uxx = new _1uxh.TweenTask(); if (1 == this._scene.data.model.deck_f.isCombined()) { var _1uxy = this._record.common.getActiveDeckFriend(); 1 == _1uxy ? _1uxx.addTweens(_1uxw.friends_combined.createExitTweensUpDown()) : 2 == _1uxy && (_1uxx.addTweens(_1uxw.friends.createExitTweens()), _1uxx.addTweens(_1uxw.createFriendSubDeckMoveTween(200))); } return _1uxx; }, _1uxl.prototype._createTween_e = function() { var _1uxz = null, _1uy0 = this._record.common.getActiveDeckEnemy(), _1uy1 = this._scene.view.bannerGroupLayer; if (0 == _1uy1.isEnteredEnemy()) return 1 == _1uy0 ? _1uy1.createEnemyEnterTask() : 2 == _1uy0 ? new _1uxg.SerialTask(_1uy1.createEnemyEnterTask(), new _1uxh.TweenTask().addTweens(_1uy1.enemies.createExitTweens()).addTweens(_1uy1.createEnemySubDeckMoveTween(200))) : _1uy1.createEnemyEnterTask(); var _1uy2 = new _1uxh.TweenTask(); if (1 == this._scene.data.model.deck_e.isCombined()) { var _1uy3 = this._record.common.getActiveDeckEnemy(); 1 == _1uy3 ? _1uy2.addTweens(_1uy1.enemies_combined.createExitTweensUpDown()) : 2 == _1uy3 && (_1uy2.addTweens(_1uy1.enemies.createExitTweens()), _1uy2.addTweens(_1uy1.createEnemySubDeckMoveTween(200))); } return _1uy2; }, _1uxl; }(_1uww(81755).TaskBase); _1uwv.TaskMoveBannerDay = _1uxi; }, 33255: function(_1uy4, _1uy5, _1uy6) { 'use strict'; var _1uy7 = null; var _1uy8, _1uy9 = this && this.__extends || (_1uy8 = function(_1uya, _1uyb) { var _1uyc = null; return _1uy8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1uyd, _1uye) { var _1uyf = null; _1uyd.__proto__ = _1uye; } || function(_1uyg, _1uyh) { var _1uyi = null; for (var _1uyj in _1uyh) Object.prototype.hasOwnProperty.call(_1uyh, _1uyj) && (_1uyg[_1uyj] = _1uyh[_1uyj]); }, _1uy8(_1uya, _1uyb); }, function(_1uyk, _1uyl) { var _1uym = null; if ('function' != typeof _1uyl && null !== _1uyl) throw new TypeError('Class extends value ' + String(_1uyl) + ' is not a constructor or null'); function _1uyn() { var _1uyo = null; this.constructor = _1uyk; } _1uy8(_1uyk, _1uyl), _1uyk.prototype = null === _1uyl ? Object.create(_1uyl) : (_1uyn.prototype = _1uyl.prototype, new _1uyn()); }); defineModule(_1uy5); Object.defineProperty(_1uy5, '__esModule', { 'value': !0 }), _1uy5.TaskPlane = void 0; var _1uyp = _1uy6(81755), _1uyq = _1uy6(70723), _1uyr = function(_1uys) { var _1uyt = null; function _1uyu(_1uyv, _1uyw, _1uyx, _1uyy) { var _1uyz = null, _1uz0 = _1uys.call(this) || this; return _1uz0._onComplete = function() { var _1uz1 = null; _1uz0._layer.removeChild(_1uz0._planes), _1uz0._planes.stopFluctuations(), _1uz0._planes.dispose(), _1uz0._endTask(); }, _1uz0._layer = _1uyv, _1uz0._planes = _1uyw, _1uz0._to_pos = _1uyx, _1uz0._cb_onDamaged = _1uyy, _1uz0; } return _1uy9(_1uyu, _1uys), _1uyu.prototype._start = function() { var _1uz2 = null, _1uz3 = this; this._planes.startFluctuations(), this._planes.scale.set(0), this._layer.addChild(this._planes), _1uyq.SE.play('115'), createjs.Tween.get(this._planes.scale).to({ 'x': 1, 'y': 1 }, 250).call(function() { var _1uz4 = null, _1uz5 = _1uz3._to_pos, _1uz6 = _1uz3._planes.friend ? 1275 : -75; _1uz3._planes.play(_1uz5, _1uz6, 2500, _1uz3._cb_onDamaged, _1uz3._onComplete); }); }, _1uyu.prototype._endTask = function() { var _1uz7 = null; this._layer = null, this._planes = null, this._to_pos = null, this._cb_onDamaged = null, _1uys.prototype._endTask.call(this); }, _1uyu; }(_1uyp.TaskBase); _1uy5.TaskPlane = _1uyr; }, 75481: function(_1uz8, _1uz9, _1uza) { 'use strict'; var _1uzb = null; var _1uzc, _1uzd = this && this.__extends || (_1uzc = function(_1uze, _1uzf) { var _1uzg = null; return _1uzc = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1uzh, _1uzi) { var _1uzj = null; _1uzh.__proto__ = _1uzi; } || function(_1uzk, _1uzl) { var _1uzm = null; for (var _1uzn in _1uzl) Object.prototype.hasOwnProperty.call(_1uzl, _1uzn) && (_1uzk[_1uzn] = _1uzl[_1uzn]); }, _1uzc(_1uze, _1uzf); }, function(_1uzo, _1uzp) { var _1uzq = null; if ('function' != typeof _1uzp && null !== _1uzp) throw new TypeError('Class extends value ' + String(_1uzp) + ' is not a constructor or null'); function _1uzr() { var _1uzs = null; this.constructor = _1uzo; } _1uzc(_1uzo, _1uzp), _1uzo.prototype = null === _1uzp ? Object.create(_1uzp) : (_1uzr.prototype = _1uzp.prototype, new _1uzr()); }); defineModule(_1uz9); Object.defineProperty(_1uz9, '__esModule', { 'value': !0 }), _1uz9.TaskRocketFire = void 0; var _1uzt = _1uza(81755), _1uzu = _1uza(85492), _1uzv = _1uza(54061), _1uzw = _1uza(45054), _1uzx = _1uza(70723), _1uzy = _1uza(22434), _1uzz = function(_1v00) { var _1v01 = null; function _1v02(_1v03, _1v04, _1v05, _1v06, _1v07) { var _1v08 = null; void 0 === _1v07 && (_1v07 = 0); var _1v09 = _1v00.call(this) || this; return _1v09._layer = _1v03, _1v09._x = _1v04, _1v09._y = _1v05, _1v09._scaleX = _1v06, _1v09._delay = _1v07, _1v09; } return _1uzd(_1v02, _1v00), _1v02.prototype._start = function() { var _1v0a = null; this._wait(); }, _1v02.prototype._wait = function() { var _1v0b = null, _1v0c = this; this._delay <= 0 ? this._anim() : createjs.Tween.get(null).wait(this._delay).call(function() { var _1v0d = null; _1v0c._anim(); }); }, _1v02.prototype._anim = function() { var _1v0e = null, _1v0f = this, _1v0g = new _1v0h(); _1v0g.x = this._x, _1v0g.y = this._y, _1v0g.scale.x = this._scaleX, this._layer.addChild(_1v0g); var _1v0i = new _1uzu.TweenTask(); _1v0g.smoke1.position.set(0, -15), _1v0g.smoke1.scale.set(0), _1v0g.smoke1.alpha = 0, _1v0i.addTween(createjs.Tween.get(_1v0g.smoke1).to({ 'alpha': 1, 'scaleX': 1, 'scaleY': 1 }, 120).to({ 'alpha': 0.2, 'scaleX': 2.5, 'scaleY': 2.5 }, 450).to({ 'alpha': 0, 'scaleX': 2.6, 'scaleY': 2.6 }, 100)), _1v0g.smoke2.position.set(-18, -30), _1v0g.smoke2.scale.set(0), _1v0g.smoke2.alpha = 0.8, _1v0i.addTween(createjs.Tween.get(_1v0g.smoke2).wait(240).to({ 'scaleX': 1, 'scaleY': 1 }, 330).to({ 'alpha': 0, 'scaleX': 1.3, 'scaleY': 1.3 }, 240)), _1v0g.smoke3.position.set(17, -36), _1v0g.smoke3.scale.set(0), _1v0g.smoke3.alpha = 0.8, _1v0i.addTween(createjs.Tween.get(_1v0g.smoke3).wait(330).to({ 'scaleX': 1, 'scaleY': 1 }, 300).to({ 'alpha': 0, 'scaleX': 1.3, 'scaleY': 1.3 }, 240)), _1v0g.smoke4.position.set(0, -1), _1v0g.smoke4.scale.set(0), _1v0g.smoke4.alpha = 0.8, _1v0i.addTween(createjs.Tween.get(_1v0g.smoke4).wait(120).to({ 'y': -4, 'scaleX': 1, 'scaleY': 1 }, 390).to({ 'alpha': 0, 'scaleX': 1.3, 'scaleY': 1.3 }, 240)), _1uzx.SE.play('102'), _1v0i.start(function() { var _1v0j = null; _1v0f._layer.removeChild(_1v0g), _1v0f._endTask(); }); }, _1v02.prototype._endTask = function() { var _1v0k = null; this._layer = null, _1v00.prototype._endTask.call(this); }, _1v02; }(_1uzt.TaskBase); _1uz9.TaskRocketFire = _1uzz; var _1v0h = function(_1v0l) { var _1v0m = null; function _1v0n() { var _1v0o = null, _1v0p = _1v0l.call(this) || this; return _1v0p._smoke1 = new _1v0q(), _1v0p.addChild(_1v0p._smoke1), _1v0p._smoke2 = new _1v0r(), _1v0p.addChild(_1v0p._smoke2), _1v0p._smoke3 = new _1v0r(), _1v0p.addChild(_1v0p._smoke3), _1v0p._smoke4 = new _1v0r(), _1v0p.addChild(_1v0p._smoke4), _1v0p; } return _1uzd(_1v0n, _1v0l), Object.defineProperty(_1v0n.prototype, 'smoke1', { 'get': function() { var _1v0s = null; return this._smoke1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1v0n.prototype, 'smoke2', { 'get': function() { var _1v0t = null; return this._smoke2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1v0n.prototype, 'smoke3', { 'get': function() { var _1v0u = null; return this._smoke3; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1v0n.prototype, 'smoke4', { 'get': function() { var _1v0v = null; return this._smoke4; }, 'enumerable': !1, 'configurable': !0 }), _1v0n; }(PIXI.Container), _1v0q = function(_1v0w) { function _1v0x() { var _1v0y = null; return _1v0w.call(this, _1uzy.BATTLE_MAIN.getTexture(122)) || this; } return _1uzd(_1v0x, _1v0w), _1v0x; }(_1uzv.CenteringSprite), _1v0r = function(_1v0z) { function _1v10() { var _1v11 = null, _1v12 = _1v0z.call(this) || this, _1v13 = new PIXI.Sprite(_1uzy.BATTLE_MAIN.getTexture(121)); return _1v13.x = -33, _1v13.y = -89, _1v12.addChild(_1v13), _1v12; } return _1uzd(_1v10, _1v0z), _1v10; }(_1uzw.Container); }, 9187: function(_1v14, _1v15, _1v16) { 'use strict'; var _1v17 = null; var _1v18, _1v19 = this && this.__extends || (_1v18 = function(_1v1a, _1v1b) { var _1v1c = null; return _1v18 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1v1d, _1v1e) { var _1v1f = null; _1v1d.__proto__ = _1v1e; } || function(_1v1g, _1v1h) { var _1v1i = null; for (var _1v1j in _1v1h) Object.prototype.hasOwnProperty.call(_1v1h, _1v1j) && (_1v1g[_1v1j] = _1v1h[_1v1j]); }, _1v18(_1v1a, _1v1b); }, function(_1v1k, _1v1l) { var _1v1m = null; if ('function' != typeof _1v1l && null !== _1v1l) throw new TypeError('Class extends value ' + String(_1v1l) + ' is not a constructor or null'); function _1v1n() { var _1v1o = null; this.constructor = _1v1k; } _1v18(_1v1k, _1v1l), _1v1k.prototype = null === _1v1l ? Object.create(_1v1l) : (_1v1n.prototype = _1v1l.prototype, new _1v1n()); }); defineModule(_1v15); Object.defineProperty(_1v15, '__esModule', { 'value': !0 }), _1v15.TaskRocketHit = void 0; var _1v1p = _1v16(81755), _1v1q = _1v16(85492), _1v1r = _1v16(45054), _1v1s = _1v16(70723), _1v1t = _1v16(22434), _1v1u = function(_1v1v) { var _1v1w = null; function _1v1x(_1v1y, _1v1z, _1v20, _1v21) { var _1v22 = null; void 0 === _1v21 && (_1v21 = 0); var _1v23 = _1v1v.call(this) || this; return _1v23._layer = _1v1y, _1v23._x = _1v1z, _1v23._y = _1v20, _1v23._delay = _1v21, _1v23; } return _1v19(_1v1x, _1v1v), _1v1x.prototype._start = function() { var _1v24 = null; this._wait(); }, _1v1x.prototype._wait = function() { var _1v25 = null, _1v26 = this; this._delay <= 0 ? this._anim() : createjs.Tween.get(null).wait(this._delay).call(function() { var _1v27 = null; _1v26._anim(); }); }, _1v1x.prototype._anim = function() { var _1v28 = null, _1v29 = this, _1v2a = new _1v2b(); _1v2a.x = this._x, _1v2a.y = this._y, this._layer.addChild(_1v2a); var _1v2c = new _1v1q.TweenTask(); _1v2a.bomb0.position.set(39, -71), _1v2a.bomb0.scale.set(0), _1v2a.bomb0.alpha = 1, _1v2c.addTween(createjs.Tween.get(_1v2a.bomb0).wait(270).to({ 'scaleX': 0.7, 'scaleY': 0.7 }, 60).to({ 'alpha': 0, 'scaleX': 1, 'scaleY': 1 }, 90)), _1v2a.bomb1.scale.set(0.3), _1v2a.bomb1.alpha = 0, _1v2c.addTween(createjs.Tween.get(_1v2a.bomb1).to({ 'alpha': 1, 'scaleX': 1, 'scaleY': 1 }, 120).to({ 'alpha': 0.8, 'scaleX': 1.05, 'scaleY': 1.05 }, 60).to({ 'alpha': 0, 'scaleX': 1.1, 'scaleY': 1.1 }, 90)), _1v2a.bomb2.scale.set(0), _1v2a.bomb2.alpha = 0, _1v2c.addTween(createjs.Tween.get(_1v2a.bomb2).to({ 'alpha': 0.6, 'scaleX': 0.8, 'scaleY': 0.8 }, 90).to({ 'alpha': 1, 'scaleX': 1, 'scaleY': 1 }, 90).to({ 'alpha': 0.7, 'scaleX': 1.15, 'scaleY': 1.15 }, 150).to({ 'alpha': 0 }, 240)), _1v2a.bomb3.position.set(-29, -72), _1v2a.bomb3.scale.set(0.8), _1v2a.bomb3.alpha = 0, _1v2c.addTween(createjs.Tween.get(_1v2a.bomb3).wait(300).to({ 'alpha': 1, 'scaleX': 0.85, 'scaleY': 0.85 }, 60).to({ 'alpha': 1, 'scaleX': 0.95, 'scaleY': 0.95 }, 60).to({ 'alpha': 0, 'scaleX': 1.1, 'scaleY': 1.1 }, 150)), _1v2a.bomb4.position.set(11, -72), _1v2a.bomb4.scale.set(0.8), _1v2a.bomb4.alpha = 0, _1v2c.addTween(createjs.Tween.get(_1v2a.bomb4).wait(330).to({ 'alpha': 1, 'scaleX': 0.85, 'scaleY': 0.85 }, 60).to({ 'scaleX': 0.95, 'scaleY': 0.95 }, 60).to({ 'alpha': 0, 'scaleX': 1.1, 'scaleY': 1.1 }, 90)), _1v2a.bomb5.position.set(-14, -17), _1v2a.bomb5.scale.set(0.8), _1v2a.bomb5.alpha = 0, _1v2c.addTween(createjs.Tween.get(_1v2a.bomb5).wait(270).to({ 'alpha': 1, 'scaleX': 0.85, 'scaleY': 0.85 }, 60).to({ 'scaleX': 0.9, 'scaleY': 0.9 }, 120).to({ 'alpha': 0, 'scaleX': 1.2, 'scaleY': 1.2 }, 120)), _1v2a.bomb6.position.set(36, 0), _1v2a.bomb6.scale.set(0), _1v2a.bomb6.alpha = 1, _1v2c.addTween(createjs.Tween.get(_1v2a.bomb6).wait(200).to({ 'scaleX': 0.7, 'scaleY': 0.7 }, 60).to({ 'alpha': 0, 'scaleX': 1, 'scaleY': 1 }, 90)), _1v2a.bomb7.position.set(-39, -21), _1v2a.bomb7.scale.set(0), _1v2a.bomb7.alpha = 1, _1v2c.addTween(createjs.Tween.get(_1v2a.bomb7).wait(90).to({ 'scaleX': 0.7, 'scaleY': 0.7 }, 60).to({ 'alpha': 0, 'scaleX': 1, 'scaleY': 1 }, 90)), _1v2c.addTween(createjs.Tween.get(null).call(function() { var _1v2d = null; _1v1s.SE.play('102'); }).wait(200).call(function() { var _1v2e = null; _1v1s.SE.play('102'); }).wait(200).call(function() { var _1v2f = null; _1v1s.SE.play('102'); })), _1v2c.start(function() { var _1v2g = null; _1v29._layer.removeChild(_1v2a), _1v29._endTask(); }); }, _1v1x.prototype._endTask = function() { var _1v2h = null; this._layer = null, _1v1v.prototype._endTask.call(this); }, _1v1x; }(_1v1p.TaskBase); _1v15.TaskRocketHit = _1v1u; var _1v2b = function(_1v2i) { var _1v2j = null; function _1v2k() { var _1v2l = null, _1v2m = _1v2i.call(this) || this; return _1v2m._bomb0 = new _1v2n(), _1v2m.addChild(_1v2m._bomb0), _1v2m._bomb1 = new _1v2o(), _1v2m.addChild(_1v2m._bomb1), _1v2m._bomb2 = new _1v2p(), _1v2m.addChild(_1v2m._bomb2), _1v2m._bomb3 = new _1v2q(), _1v2m.addChild(_1v2m._bomb3), _1v2m._bomb4 = new _1v2q(), _1v2m.addChild(_1v2m._bomb4), _1v2m._bomb5 = new _1v2q(), _1v2m.addChild(_1v2m._bomb5), _1v2m._bomb6 = new _1v2n(), _1v2m.addChild(_1v2m._bomb6), _1v2m._bomb7 = new _1v2n(), _1v2m.addChild(_1v2m._bomb7), _1v2m; } return _1v19(_1v2k, _1v2i), Object.defineProperty(_1v2k.prototype, 'bomb0', { 'get': function() { var _1v2r = null; return this._bomb0; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1v2k.prototype, 'bomb1', { 'get': function() { var _1v2s = null; return this._bomb1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1v2k.prototype, 'bomb2', { 'get': function() { var _1v2t = null; return this._bomb2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1v2k.prototype, 'bomb3', { 'get': function() { var _1v2u = null; return this._bomb3; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1v2k.prototype, 'bomb4', { 'get': function() { var _1v2v = null; return this._bomb4; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1v2k.prototype, 'bomb5', { 'get': function() { var _1v2w = null; return this._bomb5; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1v2k.prototype, 'bomb6', { 'get': function() { var _1v2x = null; return this._bomb6; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1v2k.prototype, 'bomb7', { 'get': function() { var _1v2y = null; return this._bomb7; }, 'enumerable': !1, 'configurable': !0 }), _1v2k; }(PIXI.Container), _1v2p = function(_1v2z) { function _1v30() { var _1v31 = null, _1v32 = _1v2z.call(this) || this, _1v33 = new PIXI.Sprite(_1v1t.BATTLE_MAIN.getTexture(36)); return _1v33.x = -90, _1v33.y = -113, _1v32.addChild(_1v33), _1v32; } return _1v19(_1v30, _1v2z), _1v30; }(_1v1r.Container), _1v2o = function(_1v34) { function _1v35() { var _1v36 = null, _1v37 = _1v34.call(this) || this, _1v38 = new PIXI.Sprite(_1v1t.BATTLE_MAIN.getTexture(37)); return _1v38.x = -74, _1v38.y = -107, _1v37.addChild(_1v38), _1v37; } return _1v19(_1v35, _1v34), _1v35; }(_1v1r.Container), _1v2q = function(_1v39) { function _1v3a() { var _1v3b = null, _1v3c = _1v39.call(this) || this, _1v3d = new PIXI.Sprite(_1v1t.BATTLE_MAIN.getTexture(38)); return _1v3d.x = -60, _1v3d.y = -45, _1v3c.addChild(_1v3d), _1v3c; } return _1v19(_1v3a, _1v39), _1v3a; }(_1v1r.Container), _1v2n = function(_1v3e) { function _1v3f() { var _1v3g = null, _1v3h = _1v3e.call(this) || this, _1v3i = new PIXI.Sprite(_1v1t.BATTLE_MAIN.getTexture(39)); return _1v3i.x = -26, _1v3i.y = -39, _1v3h.addChild(_1v3i), _1v3h; } return _1v19(_1v3f, _1v3e), _1v3f; }(_1v1r.Container); }, 91972: function(_1v3j, _1v3k, _1v3l) { 'use strict'; var _1v3m = null; var _1v3n, _1v3o = this && this.__extends || (_1v3n = function(_1v3p, _1v3q) { var _1v3r = null; return _1v3n = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1v3s, _1v3t) { var _1v3u = null; _1v3s.__proto__ = _1v3t; } || function(_1v3v, _1v3w) { var _1v3x = null; for (var _1v3y in _1v3w) Object.prototype.hasOwnProperty.call(_1v3w, _1v3y) && (_1v3v[_1v3y] = _1v3w[_1v3y]); }, _1v3n(_1v3p, _1v3q); }, function(_1v3z, _1v40) { var _1v41 = null; if ('function' != typeof _1v40 && null !== _1v40) throw new TypeError('Class extends value ' + String(_1v40) + ' is not a constructor or null'); function _1v42() { var _1v43 = null; this.constructor = _1v3z; } _1v3n(_1v3z, _1v40), _1v3z.prototype = null === _1v40 ? Object.create(_1v40) : (_1v42.prototype = _1v40.prototype, new _1v42()); }); defineModule(_1v3k); Object.defineProperty(_1v3k, '__esModule', { 'value': !0 }), _1v3k.TaskSearchLightAnimation = void 0; var _1v44 = _1v3l(66398), _1v45 = _1v3l(81755), _1v46 = _1v3l(28445), _1v47 = function(_1v48) { var _1v49 = null; function _1v4a(_1v4b, _1v4c) { var _1v4d = null, _1v4e = _1v48.call(this) || this; return _1v4e._banner = _1v4b, _1v4e._large = _1v4c, _1v4e; } return _1v3o(_1v4a, _1v48), _1v4a.prototype._start = function() { var _1v4f = null; null != this._banner ? this._effect() : this._endTask(); }, _1v4a.prototype._effect = function() { var _1v4g = null, _1v4h = this, _1v4i = new _1v46.SearchLight(); _1v4i.initialize(this._large), 1 == this._banner.friend ? _1v4i.x = _1v44.BannerSize.W + 15 : (_1v4i.x = -15, _1v4i.scale.x = -1), _1v4i.y = _1v44.BannerSize.H / 2, this._banner.addChild(_1v4i), _1v4i.getAnimationTask().start(function() { var _1v4j = null; _1v4h._banner.removeChild(_1v4i), _1v4h._endTask(); }); }, _1v4a.prototype._endTask = function() { var _1v4k = null; this._banner = null, _1v48.prototype._endTask.call(this); }, _1v4a; }(_1v45.TaskBase); _1v3k.TaskSearchLightAnimation = _1v47; }, 43705: function(_1v4l, _1v4m, _1v4n) { 'use strict'; var _1v4o = null; var _1v4p, _1v4q = this && this.__extends || (_1v4p = function(_1v4r, _1v4s) { var _1v4t = null; return _1v4p = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1v4u, _1v4v) { var _1v4w = null; _1v4u.__proto__ = _1v4v; } || function(_1v4x, _1v4y) { var _1v4z = null; for (var _1v50 in _1v4y) Object.prototype.hasOwnProperty.call(_1v4y, _1v50) && (_1v4x[_1v50] = _1v4y[_1v50]); }, _1v4p(_1v4r, _1v4s); }, function(_1v51, _1v52) { var _1v53 = null; if ('function' != typeof _1v52 && null !== _1v52) throw new TypeError('Class extends value ' + String(_1v52) + ' is not a constructor or null'); function _1v54() { var _1v55 = null; this.constructor = _1v51; } _1v4p(_1v51, _1v52), _1v51.prototype = null === _1v52 ? Object.create(_1v52) : (_1v54.prototype = _1v52.prototype, new _1v54()); }), _1v56 = this && this.__importDefault || function(_1v57) { var _1v58 = null; return _1v57 && _1v57.__esModule ? _1v57 : { 'default': _1v57 }; }; defineModule(_1v4m); Object.defineProperty(_1v4m, '__esModule', { 'value': !0 }), _1v4m.TaskShowTouchPlane = void 0; var _1v59 = _1v56(_1v4n(18622)), _1v5a = _1v4n(81755), _1v5b = _1v4n(37760), _1v5c = function(_1v5d) { var _1v5e = null; function _1v5f(_1v5g, _1v5h, _1v5i) { var _1v5j = null, _1v5k = _1v5d.call(this) || this; return _1v5k._scene = _1v5g, _1v5k._plane_f = _1v5h, _1v5k._plane_e = _1v5i, _1v5k; } return _1v4q(_1v5f, _1v5d), _1v5f.prototype._start = function() { var _1v5l = null; this._plane_f <= 0 && this._plane_e <= 0 ? this._endTask() : this._loadImage(); }, _1v5f.prototype._loadImage = function() { var _1v5m = null, _1v5n = this, _1v5o = this._scene.view.raderLayer, _1v5p = new _1v5b.SlotLoader(); this._plane_f > 0 && (_1v59.default.model.slot.getMst(this._plane_f), (0, _1v5p.add(this._plane_f, 'item_up'), _1v5o.rader_e.touch_plane.initialize(this._plane_f))), this._plane_e > 0 && (_1v59.default.model.slot.getMst(this._plane_e), (0, _1v5p.add(this._plane_e, 'item_up'), _1v5o.rader_f.touch_plane.initialize(this._plane_e))), _1v5p.load(function() { var _1v5q = null; _1v5n._show(); }); }, _1v5f.prototype._show = function() { var _1v5r = null, _1v5s = this._scene.view.raderLayer; _1v5s.rader_f.touch_plane.show(), _1v5s.rader_e.touch_plane.show(), this._endTask(); }, _1v5f; }(_1v5a.TaskBase); _1v4m.TaskShowTouchPlane = _1v5c; }, 86523: function(_1v5t, _1v5u, _1v5v) { 'use strict'; var _1v5w = null; var _1v5x, _1v5y = this && this.__extends || (_1v5x = function(_1v5z, _1v60) { var _1v61 = null; return _1v5x = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1v62, _1v63) { var _1v64 = null; _1v62.__proto__ = _1v63; } || function(_1v65, _1v66) { var _1v67 = null; for (var _1v68 in _1v66) Object.prototype.hasOwnProperty.call(_1v66, _1v68) && (_1v65[_1v68] = _1v66[_1v68]); }, _1v5x(_1v5z, _1v60); }, function(_1v69, _1v6a) { var _1v6b = null; if ('function' != typeof _1v6a && null !== _1v6a) throw new TypeError('Class extends value ' + String(_1v6a) + ' is not a constructor or null'); function _1v6c() { var _1v6d = null; this.constructor = _1v69; } _1v5x(_1v69, _1v6a), _1v69.prototype = null === _1v6a ? Object.create(_1v6a) : (_1v6c.prototype = _1v6a.prototype, new _1v6c()); }), _1v6e = this && this.__importDefault || function(_1v6f) { var _1v6g = null; return _1v6f && _1v6f.__esModule ? _1v6f : { 'default': _1v6f }; }; defineModule(_1v5u); Object.defineProperty(_1v5u, '__esModule', { 'value': !0 }), _1v5u.TaskSupportDeckCutin = void 0; var _1v6h = _1v6e(_1v5v(21359)), _1v6i = _1v6e(_1v5v(18622)), _1v6j = _1v5v(66398), _1v6k = _1v5v(81755), _1v6l = _1v5v(20137), _1v6m = _1v5v(9733), _1v6n = _1v5v(11575), _1v6o = function(_1v6p) { var _1v6q = null; function _1v6r(_1v6s, _1v6t) { var _1v6u = null, _1v6v = _1v6p.call(this) || this; return _1v6v._layer = _1v6s, _1v6v._ships = _1v6t, _1v6v; } return _1v5y(_1v6r, _1v6p), _1v6r.prototype._start = function() { var _1v6w = null; this._loadResources(); }, _1v6r.prototype._loadResources = function() { var _1v6x = null; for (var _1v6y = this, _1v6z = new _1v6l.ShipLoader(), _1v70 = 0, _1v71 = this._ships; _1v70 < _1v71.length; _1v70++) { var _1v72 = _1v71[_1v70]; null != _1v72 && _1v6z.add(_1v72.mst_id, _1v72.damaged, 'banner'); } _1v6z.load(function() { var _1v73 = null; _1v6y._initCutin(); }); }, _1v6r.prototype._initCutin = function() { var _1v74 = null; this._cutin = new _1v6m.SupportDeckCutin(), this._cutin.initialize(), this._createShipContainerU(), this._createShipContainerB(), this._cutin.bg.scale.set(1, 0), this._cutin.message.position.set(1440, 360), this._cutin.banner_top.position.set(0, 243), this._cutin.banner_top.alpha = 0, this._cutin.banner_bottom.position.set(_1v6h.default.width - this._cutin.banner_bottom.width, 417), this._cutin.banner_bottom.alpha = 0, this._playCutin(); }, _1v6r.prototype._playCutin = function() { var _1v75 = null, _1v76 = this; this._layer.addChild(this._cutin), createjs.Tween.get(this._cutin.bg.scale).to({ 'y': 2 }, 300).wait(1500).to({ 'y': 0 }, 300).call(function() { var _1v77 = null; _1v76._endTask(); }), createjs.Tween.get(this._cutin.message).wait(400).to({ 'x': 660 }, 400).to({ 'x': 525 }, 800).to({ 'x': 420, 'alpha': 0 }, 400), createjs.Tween.get(this._cutin.banner_top).wait(300).to({ 'alpha': 1 }, 100).to({ 'x': _1v6h.default.width / 2 - this._cutin.banner_top.width / 2 }, 800, createjs.Ease.cubicInOut).to({ 'x': _1v6h.default.width - this._cutin.banner_top.width, 'alpha': 0 }, 800, createjs.Ease.cubicInOut), createjs.Tween.get(this._cutin.banner_bottom).wait(300).to({ 'alpha': 1 }, 100).to({ 'x': _1v6h.default.width / 2 - this._cutin.banner_bottom.width / 2 }, 800, createjs.Ease.cubicInOut).to({ 'x': 0, 'alpha': 0 }, 800, createjs.Ease.cubicInOut), createjs.Tween.get(this).wait(700).call(function() { var _1v78 = null; _1v76._cutin.particles.startAnim(); }); }, _1v6r.prototype._createShipContainerU = function() { var _1v79 = null, _1v7a, _1v7b = this._ships[0], _1v7c = this._ships[2], _1v7d = this._ships[4]; _1v7a = null == _1v7c ? [_1v7b] : null == _1v7d ? [_1v7b, _1v7c] : [_1v7d, _1v7b, _1v7c]; for (var _1v7e = 0; _1v7e < _1v7a.length; _1v7e++) { var _1v7f = _1v7a[_1v7e], _1v7g = _1v6i.default.resources.getShip(_1v7f.mst_id, _1v7f.damaged, 'banner'), _1v7h = new _1v7i(_1v7g, _1v7f.ribbon); _1v7h.position.x = _1v6j.BannerSize.W * _1v7e, this._cutin.banner_top.addChild(_1v7h); } }, _1v6r.prototype._createShipContainerB = function() { var _1v7j = null, _1v7k, _1v7l = this._ships[1], _1v7m = this._ships[3], _1v7n = this._ships[5]; _1v7k = null == _1v7n ? null == _1v7m ? null == _1v7l ? [] : [_1v7l] : [_1v7m, _1v7l] : [_1v7m, _1v7l, _1v7n]; for (var _1v7o = 0; _1v7o < _1v7k.length; _1v7o++) { var _1v7p = _1v7k[_1v7o], _1v7q = _1v6i.default.resources.getShip(_1v7p.mst_id, _1v7p.damaged, 'banner'), _1v7r = new _1v7i(_1v7q, _1v7p.ribbon); _1v7r.position.x = _1v6j.BannerSize.W * _1v7o, this._cutin.banner_bottom.addChild(_1v7r); } }, _1v6r.prototype._endTask = function(_1v7s) { var _1v7t = null; void 0 === _1v7s && (_1v7s = !1), this._layer.removeChild(this._cutin), this._cutin.dispose(), _1v6p.prototype._endTask.call(this); }, _1v6r; }(_1v6k.TaskBase); _1v5u.TaskSupportDeckCutin = _1v6o; var _1v7i = function(_1v7u) { function _1v7v(_1v7w, _1v7x) { var _1v7y = null, _1v7z = _1v7u.call(this) || this, _1v80 = new PIXI.Sprite(_1v7w); _1v7z.addChild(_1v80); var _1v81 = new _1v6n.BannerRibbon(); return _1v81.update(_1v7x), _1v7z.addChild(_1v81), _1v7z; } return _1v5y(_1v7v, _1v7u), _1v7v; }(PIXI.Container); }, 78650: function(_1v82, _1v83, _1v84) { 'use strict'; var _1v85 = null; var _1v86 = this && this.__spreadArray || function(_1v87, _1v88, _1v89) { var _1v8a = null; if (_1v89 || 2 === arguments.length) { for (var _1v8b, _1v8c = 0, _1v8d = _1v88.length; _1v8c < _1v8d; _1v8c++) !_1v8b && _1v8c in _1v88 || (_1v8b || (_1v8b = Array.prototype.slice.call(_1v88, 0, _1v8c)), _1v8b[_1v8c] = _1v88[_1v8c]); } return _1v87.concat(_1v8b || Array.prototype.slice.call(_1v88)); }, _1v8e = this && this.__importDefault || function(_1v8f) { var _1v8g = null; return _1v8f && _1v8f.__esModule ? _1v8f : { 'default': _1v8f }; }; defineModule(_1v83); Object.defineProperty(_1v83, '__esModule', { 'value': !0 }), _1v83.BattleCommon = void 0; var _1v8h, _1v8i = _1v8e(_1v84(18622)), _1v8j = _1v84(82089), _1v8k = _1v84(18343); ! function(_1v8l) { var _1v8m = null; function _1v8n(_1v8o) { var _1v8p = null; if ([13, 14].includes(_1v8o.stype)) return !0; if (507 == _1v8o.mst_id) return !0; if (586 == _1v8o.mst_id) return !0; if (348 == _1v8o.mst_id) { var _1v8q = _1v8k.ShipUtil.getSpeedType(_1v8o.speed); if ([2, 1, 0].includes(_1v8q)) return !0; } return !1; } _1v8l.getKakuzaEffectType = function(_1v8r, _1v8s) { var _1v8t = null; if (120 != _1v8i.default.model.ship.getMst(_1v8r.mst_id).getClassType()) return 0; if (!_1v8s.isGround()) return 0; var _1v8u = _1v86(_1v86([], _1v8r.slots, !0), [_1v8r.slot_ex], !1), _1v8v = function(_1v8w) { var _1v8x = null; return _1v8u.filter(function(_1v8y) { var _1v8z = null; return (null == _1v8y ? void 0 : _1v8y.mst_id) == _1v8w; }).length; }, _1v90 = _1v8v(496), _1v91 = _1v8v(497), _1v92 = _1v8v(498), _1v93 = _1v8v(499); return _1v93 >= 2 || _1v92 >= 2 || _1v92 >= 1 && _1v93 >= 1 ? 6 : _1v91 >= 1 && 1 == _1v92 || _1v91 >= 1 && 1 == _1v93 ? 5 : _1v91 >= 2 ? 4 : 1 == _1v92 || 1 == _1v93 ? 3 : 1 == _1v91 ? 2 : 1 == _1v90 ? 1 : 0; }, _1v8l.getDaihatsuEffectType = function(_1v94, _1v95, _1v96) { var _1v97 = null, _1v98 = !_1v96.night && _1v96.atoll_cell && _1v8n(_1v94); if (1 == _1v94.hasSlot(408) && _1v8j.SPECIAL_ENTRY2.indexOf(_1v95.name) >= 0) return 7; if (1 == _1v94.hasSlot(409) && _1v8j.SPECIAL_ENTRY2.indexOf(_1v95.name) >= 0) return 8; if (1 == _1v94.hasSlot(494) && 1 == _1v95.isGround()) return 10; if (1 == _1v94.hasSlot(495) && 1 == _1v95.isGround()) return 10; if (1 == _1v94.hasSlot(355) && 1 == _1v95.isGround()) return 6; if (1 == _1v94.hasSlot(449) && 1 == _1v95.isGround()) return 10; if (1 == _1v94.hasSlot(230) && 1 == _1v95.isGround()) return 5; if (1 == _1v94.hasSlot(408) && 1 == _1v95.isGround()) return 7; if (1 == _1v94.hasSlot(409) && 1 == _1v95.isGround()) return 8; if (1 == _1v94.hasSlot(355) && _1v8j.SPECIAL_ENTRY.indexOf(_1v95.name) >= 0) return 6; if (0 == _1v98 && 1 == _1v94.hasSlot(526)) { if (1 == _1v95.isGround()) return 15; if (_1v8j.SPECIAL_ENTRY.indexOf(_1v95.name) >= 0) return 15; } if (0 == _1v98 && 1 == _1v94.hasSlot(525)) { if (1 == _1v95.isGround()) return 13; if (_1v8j.SPECIAL_ENTRY.indexOf(_1v95.name) >= 0) return 13; } if (1 == _1v94.hasSlot(167)) { if (1 == _1v94.isSubMarine()) { if (1 == _1v95.isGround()) return 4; } else { if (_1v8j.SPECIAL_ENTRY.indexOf(_1v95.name) >= 0) return 4; } } return 1 == _1v94.hasSlot(408) && _1v8j.SPECIAL_ENTRY.indexOf(_1v95.name) >= 0 ? 7 : 1 == _1v94.hasSlot(409) && _1v8j.SPECIAL_ENTRY.indexOf(_1v95.name) >= 0 ? 8 : 1 == _1v94.hasSlot(514) && _1v8j.SPECIAL_ENTRY.indexOf(_1v95.name) >= 0 || 1 == _1v94.hasSlot(482) && _1v8j.SPECIAL_ENTRY.indexOf(_1v95.name) >= 0 ? 11 : 1 == _1v94.hasSlot(436) && _1v8j.SPECIAL_ENTRY.indexOf(_1v95.name) >= 0 ? 9 : 1 == _1v94.hasSlot(166) && _1v8j.SPECIAL_ENTRY.indexOf(_1v95.name) >= 0 || 1 == _1v94.hasSlot(193) && _1v8j.SPECIAL_ENTRY.indexOf(_1v95.name) >= 0 || 1 == _1v94.hasSlot(68) && _1v8j.SPECIAL_ENTRY.indexOf(_1v95.name) >= 0 ? 3 : 0; }, _1v8l.isSpType4Ship = _1v8n; }(_1v8h || (_1v83.BattleCommon = _1v8h = {})); }, 82089: (_1v99, _1v9a, _1v9b) => { 'use strict'; var _1v9c = null; defineModule(_1v9a); Object.defineProperty(_1v9a, '__esModule', { 'value': !0 }), _1v9a.isNeedKeyAtBattleStartAPI = _1v9a.SPECIAL_ENTRY2 = _1v9a.SPECIAL_ENTRY = void 0, _1v9b(14921); function _1v9d(_1v9e, _1v9f) { var _1v9g = null; if (_1v9e == _1v9f) return !0; if (_1v9e > _1v9f) return _1v9e - _1v9f < 2460000; var _1v9h = new Date(_1v9f); return _1v9d(_1v9e, _1v9h.setUTCDate(_1v9h.getUTCDate() - 1)); } _1v9a.SPECIAL_ENTRY = ['港湾夏姫', '港湾夏姫-壊', '港湾夏姫II', '港湾夏姫II-壊', '中枢棲姫', '中枢棲姫-壊', '船渠棲姫', '船渠棲姫-壊', '離島棲姫', '砲台小鬼', '集積地棲姫', '集積地棲姫-壊', '泊地水鬼 バカンスmode', '集積地棲姫 バカンスmode', '集積地棲姫 バカンスmode-壊', '飛行場姫', '集積地棲姫II', '集積地棲姫II-壊', '集積地棲姫II 夏季上陸mode', '集積地棲姫II 夏季上陸mode-壊', '集積地棲姫II バカンスmode', '集積地棲姫II バカンスmode-壊', '集積地棲姫III', '集積地棲姫III-壊', '集積地棲姫III バカンスmode', '集積地棲姫III バカンスmode-壊', '集積地棲姫IV', '集積地棲姫IV-壊', 'トーチカ小鬼', '対空小鬼', 'トーチカ要塞棲姫', 'トーチカ要塞棲姫-壊'], _1v9a.SPECIAL_ENTRY2 = ['PT小鬼群', 'Schnellboot小鬼群'], _1v9a.isNeedKeyAtBattleStartAPI = function() { var _1v9i = null, _1v9j = new Date().getTime(), _1v9k = -5; return _1v9k = _1v9k < 0 ? 24 + _1v9k : _1v9k, _1v9d(_1v9j, new Date(_1v9j).setUTCHours(_1v9k, 40, 0, 0)); }; }, 12159: function(_1v9l, _1v9m, _1v9n) { 'use strict'; var _1v9o = null; var _1v9p, _1v9q = this && this.__extends || (_1v9p = function(_1v9r, _1v9s) { var _1v9t = null; return _1v9p = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1v9u, _1v9v) { var _1v9w = null; _1v9u.__proto__ = _1v9v; } || function(_1v9x, _1v9y) { var _1v9z = null; for (var _1va0 in _1v9y) Object.prototype.hasOwnProperty.call(_1v9y, _1va0) && (_1v9x[_1va0] = _1v9y[_1va0]); }, _1v9p(_1v9r, _1v9s); }, function(_1va1, _1va2) { var _1va3 = null; if ('function' != typeof _1va2 && null !== _1va2) throw new TypeError('Class extends value ' + String(_1va2) + ' is not a constructor or null'); function _1va4() { var _1va5 = null; this.constructor = _1va1; } _1v9p(_1va1, _1va2), _1va1.prototype = null === _1va2 ? Object.create(_1va2) : (_1va4.prototype = _1va2.prototype, new _1va4()); }); defineModule(_1v9m); Object.defineProperty(_1v9m, '__esModule', { 'value': !0 }), _1v9m.ViewMain = void 0; var _1va6 = _1v9n(7570), _1va7 = _1v9n(69602), _1va8 = _1v9n(15262), _1va9 = _1v9n(70241), _1vaa = _1v9n(90627), _1vab = _1v9n(33630), _1vac = _1v9n(21038), _1vad = _1v9n(9768), _1vae = _1v9n(80828), _1vaf = _1v9n(79734), _1vag = _1v9n(72372), _1vah = _1v9n(17317), _1vai = _1v9n(76694), _1vaj = function(_1vak) { var _1val = null; function _1vam() { var _1van = null, _1vao = _1vak.call(this) || this; return _1vao._layer_torpedo = new _1va7.LayerTorpedo(), _1vao._layer_explosion = new _1va9.LayerExplosion(), _1vao._layer_damage = new _1vab.LayerDamage(), _1vao._layer_content = new PIXI.Container(), _1vao._layer_missile = new _1vag.LayerMissile(), _1vao._layer_gauge = new _1vad.LayerGauge(), _1vao._shutter = new _1va6.Shutter(38), _1vao._layer_info = new PIXI.Container(), _1vao._layer_title = new _1vae.LayerTitle(), _1vao._layer_info2 = new _1vaf.LayerInfo(), _1vao._layer_cutin = new PIXI.Container(), _1vao._layer_smoke = new _1vai.LayerSmoke(), _1vao._layer_balloon = new _1vah.LayerBalloon(), _1vao.addChild(_1vao._layer_torpedo), _1vao._bannerGroupLayer = new _1va8.BannerGroupLayer(), _1vao.addChild(_1vao._bannerGroupLayer), _1vao.addChild(_1vao._layer_balloon), _1vao.addChild(_1vao._layer_explosion), _1vao.addChild(_1vao._layer_damage), _1vao._bannerInfoLayer = new _1vaa.BannerInfoLayer(), _1vao.addChild(_1vao._bannerInfoLayer), _1vao.addChild(_1vao._layer_missile), _1vao.addChild(_1vao._layer_smoke), _1vao.addChild(_1vao._layer_content), _1vao._raderLayer = new _1vac.RaderLayer(), _1vao.addChild(_1vao._raderLayer), _1vao.addChild(_1vao._layer_gauge), _1vao.addChild(_1vao._shutter), _1vao.addChild(_1vao._layer_info), _1vao.addChild(_1vao._layer_title), _1vao.addChild(_1vao._layer_info2), _1vao.addChild(_1vao._layer_cutin), _1vao; } return _1v9q(_1vam, _1vak), Object.defineProperty(_1vam.prototype, 'layer_torpedo', { 'get': function() { var _1vap = null; return this._layer_torpedo; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1vam.prototype, 'bannerGroupLayer', { 'get': function() { var _1vaq = null; return this._bannerGroupLayer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1vam.prototype, 'layer_explosion', { 'get': function() { var _1var = null; return this._layer_explosion; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1vam.prototype, 'layer_damage', { 'get': function() { var _1vas = null; return this._layer_damage; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1vam.prototype, 'bannerInfoLayer', { 'get': function() { var _1vat = null; return this._bannerInfoLayer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1vam.prototype, 'layer_smoke', { 'get': function() { var _1vau = null; return this._layer_smoke; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1vam.prototype, 'layer_content', { 'get': function() { var _1vav = null; return this._layer_content; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1vam.prototype, 'layer_balloon', { 'get': function() { var _1vaw = null; return this._layer_balloon; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1vam.prototype, 'layer_missile', { 'get': function() { var _1vax = null; return this._layer_missile; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1vam.prototype, 'raderLayer', { 'get': function() { var _1vay = null; return this._raderLayer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1vam.prototype, 'layer_gauge', { 'get': function() { var _1vaz = null; return this._layer_gauge; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1vam.prototype, 'shutter', { 'get': function() { var _1vb0 = null; return this._shutter; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1vam.prototype, 'layer_info', { 'get': function() { var _1vb1 = null; return this._layer_info; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1vam.prototype, 'layer_title', { 'get': function() { var _1vb2 = null; return this._layer_title; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1vam.prototype, 'layer_info2', { 'get': function() { var _1vb3 = null; return this._layer_info2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1vam.prototype, 'layer_cutin', { 'get': function() { var _1vb4 = null; return this._layer_cutin; }, 'enumerable': !1, 'configurable': !0 }), _1vam.prototype.dispose = function() { var _1vb5 = null; this._bannerGroupLayer.dispose(), this._bannerGroupLayer = null, this._bannerInfoLayer.dispose(), this._bannerInfoLayer = null, this._layer_gauge.dispose(), this._layer_gauge = null; }, _1vam; }(PIXI.Container); _1v9m.ViewMain = _1vaj; }, 24741: function(_1vb6, _1vb7, _1vb8) { 'use strict'; var _1vb9 = null; var _1vba, _1vbb = this && this.__extends || (_1vba = function(_1vbc, _1vbd) { var _1vbe = null; return _1vba = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1vbf, _1vbg) { var _1vbh = null; _1vbf.__proto__ = _1vbg; } || function(_1vbi, _1vbj) { var _1vbk = null; for (var _1vbl in _1vbj) Object.prototype.hasOwnProperty.call(_1vbj, _1vbl) && (_1vbi[_1vbl] = _1vbj[_1vbl]); }, _1vba(_1vbc, _1vbd); }, function(_1vbm, _1vbn) { var _1vbo = null; if ('function' != typeof _1vbn && null !== _1vbn) throw new TypeError('Class extends value ' + String(_1vbn) + ' is not a constructor or null'); function _1vbp() { var _1vbq = null; this.constructor = _1vbm; } _1vba(_1vbm, _1vbn), _1vbm.prototype = null === _1vbn ? Object.create(_1vbn) : (_1vbp.prototype = _1vbn.prototype, new _1vbp()); }), _1vbr = this && this.__importDefault || function(_1vbs) { var _1vbt = null; return _1vbs && _1vbs.__esModule ? _1vbs : { 'default': _1vbs }; }; defineModule(_1vb7); Object.defineProperty(_1vb7, '__esModule', { 'value': !0 }), _1vb7.AirUnitAttackResultTelop = void 0; var _1vbu = _1vbr(_1vb8(21359)), _1vbv = _1vb8(2481), _1vbw = function(_1vbx) { var _1vby = null; function _1vbz() { var _1vc0 = null, _1vc1 = _1vbx.call(this) || this; return _1vc1._img = new PIXI.Sprite(), _1vc1.addChild(_1vc1._img), _1vc1; } return _1vbb(_1vbz, _1vbx), _1vbz.prototype._initialize = function(_1vc2, _1vc3) { var _1vc4 = null; if (0 == _1vc3) this._img.texture = _1vbv.BATTLE_AIRUNIT.getTexture(3); else { var _1vc5 = _1vc3 / _1vc2; if (_1vc5 < 0.25) this._img.texture = _1vbv.BATTLE_AIRUNIT.getTexture(2); else { if (!(_1vc5 < 0.4)) return this._img.texture = PIXI.Texture.EMPTY, !1; this._img.texture = _1vbv.BATTLE_AIRUNIT.getTexture(1); } } return this._img.x = -Math.round(this._img.width / 2), this._img.y = -Math.round(this._img.height / 2), !0; }, _1vbz.prototype.play = function(_1vc6, _1vc7, _1vc8, _1vc9) { var _1vca = null, _1vcb = this; void 0 === _1vc9 && (_1vc9 = null), null != _1vc6 ? (this.alpha = 0, 0 != this._initialize(_1vc7, _1vc8) ? (this.x = _1vbu.default.width / 2 + 24, this.y = _1vbu.default.height - 90, _1vc6.addChild(this), createjs.Tween.get(this).to({ 'x': _1vbu.default.width / 2 + 12, 'alpha': 1 }, 300).to({ 'x': _1vbu.default.width / 2 - 12 }, 1500).to({ 'x': _1vbu.default.width / 2 - 24, 'alpha': 0 }, 300).call(function() { var _1vcc = null; _1vc6.removeChild(_1vcb), null != _1vc9 && _1vc9(); })) : null != _1vc9 && _1vc9()) : null != _1vc9 && _1vc9(); }, _1vbz; }(PIXI.Container); _1vb7.AirUnitAttackResultTelop = _1vbw; }, 30781: function(_1vcd, _1vce, _1vcf) { 'use strict'; var _1vcg = null; var _1vch, _1vci = this && this.__extends || (_1vch = function(_1vcj, _1vck) { var _1vcl = null; return _1vch = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1vcm, _1vcn) { var _1vco = null; _1vcm.__proto__ = _1vcn; } || function(_1vcp, _1vcq) { var _1vcr = null; for (var _1vcs in _1vcq) Object.prototype.hasOwnProperty.call(_1vcq, _1vcs) && (_1vcp[_1vcs] = _1vcq[_1vcs]); }, _1vch(_1vcj, _1vck); }, function(_1vct, _1vcu) { var _1vcv = null; if ('function' != typeof _1vcu && null !== _1vcu) throw new TypeError('Class extends value ' + String(_1vcu) + ' is not a constructor or null'); function _1vcw() { var _1vcx = null; this.constructor = _1vct; } _1vch(_1vct, _1vcu), _1vct.prototype = null === _1vcu ? Object.create(_1vcu) : (_1vcw.prototype = _1vcu.prototype, new _1vcw()); }); defineModule(_1vce); Object.defineProperty(_1vce, '__esModule', { 'value': !0 }), _1vce.AntiAircraftFire = void 0; var _1vcy = _1vcf(81755), _1vcz = _1vcf(54011), _1vd0 = _1vcf(70723), _1vd1 = _1vcf(22434), _1vd2 = function(_1vd3) { var _1vd4 = null; function _1vd5() { var _1vd6 = null, _1vd7 = _1vd3.call(this) || this; return _1vd7._fire1 = new _1vd8(), _1vd7._fire2 = new _1vd8(), _1vd7._fire2.position.set(-35, -21), _1vd7._smoke1 = new _1vd9(), _1vd7._smoke1.position.set(36, -3), _1vd7._smoke2 = new _1vd9(), _1vd7._smoke2.position.set(-2, -24), _1vd7._fire3 = new _1vda(), _1vd7._fire3.position.set(17, 0), _1vd7._fire4 = new _1vda(), _1vd7._fire4.position.set(-18, -21), _1vd7.addChild(_1vd7._fire1, _1vd7._fire2), _1vd7.addChild(_1vd7._smoke1, _1vd7._smoke2), _1vd7.addChild(_1vd7._fire3, _1vd7._fire4), _1vd7._animatin_task = new _1vdb(_1vd7), _1vd7; } return _1vci(_1vd5, _1vd3), Object.defineProperty(_1vd5.prototype, 'fire1', { 'get': function() { var _1vdc = null; return this._fire1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1vd5.prototype, 'fire2', { 'get': function() { var _1vdd = null; return this._fire2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1vd5.prototype, 'smoke1', { 'get': function() { var _1vde = null; return this._smoke1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1vd5.prototype, 'smoke2', { 'get': function() { var _1vdf = null; return this._smoke2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1vd5.prototype, 'fire3', { 'get': function() { var _1vdg = null; return this._fire3; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1vd5.prototype, 'fire4', { 'get': function() { var _1vdh = null; return this._fire4; }, 'enumerable': !1, 'configurable': !0 }), _1vd5.prototype.initialize = function() { var _1vdi = null; this._fire1.initialize(), this._fire2.initialize(), this._smoke1.initialize(), this._smoke2.initialize(), this._fire3.initialize(), this._fire4.initialize(); }, _1vd5.prototype.getAnimationTask = function() { var _1vdj = null; return this._animatin_task; }, _1vd5; }(PIXI.Container); _1vce.AntiAircraftFire = _1vd2; var _1vdb = function(_1vdk) { var _1vdl = null; function _1vdm(_1vdn) { var _1vdo = null, _1vdp = _1vdk.call(this) || this; return _1vdp._aa_fire = _1vdn, _1vdp; } return _1vci(_1vdm, _1vdk), _1vdm.prototype._start = function() { var _1vdq = null, _1vdr = this; _1vd0.SE.play('116'), this._aa_fire.fire1.getTween(0), this._aa_fire.fire2.getTween(133), this._aa_fire.smoke1.getTween(200), this._aa_fire.smoke2.getTween(333).call(function() { var _1vds = null; _1vdr._endTask(); }), this._aa_fire.fire3.getTween(200), this._aa_fire.fire4.getTween(366); }, _1vdm; }(_1vcy.TaskBase), _1vd8 = function(_1vdt) { var _1vdu = null; function _1vdv() { var _1vdw = null, _1vdx = _1vdt.call(this) || this; return _1vdx.anchor.set(0, 0.5), _1vdx.scale.set(0), _1vdx; } return _1vci(_1vdv, _1vdt), _1vdv.prototype.initialize = function() { var _1vdy = null; this.texture = _1vd1.BATTLE_MAIN.getTexture(43); }, _1vdv.prototype.getTween = function(_1vdz) { var _1ve0 = null; return createjs.Tween.get(this).wait(_1vdz).to({ 'scaleX': 1, 'scaleY': 1 }, 200).to({ 'alpha': 0 }, 200); }, _1vdv; }(_1vcz.Sprite), _1vd9 = function(_1ve1) { var _1ve2 = null; function _1ve3() { var _1ve4 = null, _1ve5 = _1ve1.call(this) || this; return _1ve5.anchor.set(0.5), _1ve5.scale.set(0), _1ve5.alpha = 0, _1ve5; } return _1vci(_1ve3, _1ve1), _1ve3.prototype.initialize = function() { var _1ve6 = null; this.texture = _1vd1.BATTLE_MAIN.getTexture(120); }, _1ve3.prototype.getTween = function(_1ve7) { var _1ve8 = null; return createjs.Tween.get(this).wait(_1ve7).to({ 'scaleX': 1, 'scaleY': 1, 'alpha': 1 }, 200).to({ 'alpha': 0 }, 400); }, _1ve3; }(_1vcz.Sprite), _1vda = function(_1ve9) { var _1vea = null; function _1veb() { var _1vec = null, _1ved = _1ve9.call(this) || this; return _1ved._content = new PIXI.Sprite(), _1ved._content.anchor.set(0.5), _1ved._content.alpha = 0, _1ved.addChild(_1ved._content), _1ved; } return _1vci(_1veb, _1ve9), _1veb.prototype.initialize = function() { var _1vee = null; this._content.texture = _1vd1.BATTLE_MAIN.getTexture(44); }, _1veb.prototype.getTween = function(_1vef) { var _1veg = null; return createjs.Tween.get(this._content).wait(_1vef).to({ 'x': 27, 'alpha': 1 }, 133).to({ 'x': 74, 'alpha': 0 }, 366); }, _1veb; }(PIXI.Container); }, 26438: function(_1veh, _1vei, _1vej) { 'use strict'; var _1vek = null; var _1vel, _1vem = this && this.__extends || (_1vel = function(_1ven, _1veo) { var _1vep = null; return _1vel = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1veq, _1ver) { var _1ves = null; _1veq.__proto__ = _1ver; } || function(_1vet, _1veu) { var _1vev = null; for (var _1vew in _1veu) Object.prototype.hasOwnProperty.call(_1veu, _1vew) && (_1vet[_1vew] = _1veu[_1vew]); }, _1vel(_1ven, _1veo); }, function(_1vex, _1vey) { var _1vez = null; if ('function' != typeof _1vey && null !== _1vey) throw new TypeError('Class extends value ' + String(_1vey) + ' is not a constructor or null'); function _1vf0() { var _1vf1 = null; this.constructor = _1vex; } _1vel(_1vex, _1vey), _1vex.prototype = null === _1vey ? Object.create(_1vey) : (_1vf0.prototype = _1vey.prototype, new _1vf0()); }); defineModule(_1vei); Object.defineProperty(_1vei, '__esModule', { 'value': !0 }), _1vei.BannerGroup = void 0; var _1vf2 = _1vej(79871), _1vf3 = function(_1vf4) { var _1vf5 = null; function _1vf6(_1vf7, _1vf8) { var _1vf9 = null, _1vfa = _1vf4.call(this) || this; return _1vfa._entered = !1, _1vfa._friend = _1vf7, _1vfa._combined = _1vf8, _1vfa; } return _1vem(_1vf6, _1vf4), _1vf6.prototype.isEntered = function() { var _1vfb = null; return this._entered; }, _1vf6.prototype.getBannerNum = function() { var _1vfc = null; return null == this._banners ? 0 : this._banners.length; }, _1vf6.prototype.hasBanner = function() { var _1vfd = null; return this.getBannerNum() > 0; }, _1vf6.prototype.initialize = function(_1vfe) { var _1vff = null; if (this._banners = [], null != _1vfe) for (var _1vfg = 0; _1vfg < _1vfe.length; _1vfg++) { var _1vfh = _1vfe[_1vfg]; if (null != _1vfh) { var _1vfi = _1vfh.mst_id, _1vfj = _1vfh.hp_now, _1vfk = _1vfh.hp_max, _1vfl = _1vfh.isTaihi(), _1vfm = 0 == _1vfh.speed, _1vfn = _1vfh.isInvisible(), _1vfo = _1vfh.ribbon, _1vfp = new _1vf2.Banner(_1vfg, this._friend, this._combined, _1vfn, _1vfo); _1vfp.initialize(_1vfi, _1vfj, _1vfk, _1vfl, _1vfm), this._banners.push(_1vfp), this.addChild(_1vfp); } } }, _1vf6.prototype.dispose = function() { var _1vfq = null; if (null != this._banners) for (var _1vfr = 0, _1vfs = this._banners; _1vfr < _1vfs.length; _1vfr++) { _1vfs[_1vfr].dispose(); } }, _1vf6.prototype.getBannerAt = function(_1vft) { var _1vfu = null; return null == this._banners || _1vft >= this._banners.length ? null : this._banners[_1vft]; }, _1vf6.prototype.getBanners = function() { var _1vfv = null; return null == this._banners ? null : this._banners; }, _1vf6.prototype.isContains = function(_1vfw) { var _1vfx = null; return null != this._banners && this._banners.indexOf(_1vfw) >= 0; }, _1vf6.prototype.enter = function() { var _1vfy = null; if (1 != this._entered && 0 != this.hasBanner()) { this._entered = !0; for (var _1vfz = 0, _1vg0 = this._banners; _1vfz < _1vg0.length; _1vfz++) { var _1vg1 = _1vg0[_1vfz]; null != _1vg1 && (0 == this._combined ? _1vg1.enter() : _1vg1.enterCombined()); } } }, _1vf6.prototype.createEnterTweens = function() { var _1vg2 = null, _1vg3 = []; if (1 == this._entered) return _1vg3; if (0 == this.hasBanner()) return _1vg3; this._entered = !0; for (var _1vg4 = 0, _1vg5 = 0, _1vg6 = this._banners; _1vg5 < _1vg6.length; _1vg5++) { var _1vg7 = _1vg6[_1vg5]; if (null != _1vg7) { var _1vg8 = 0 == this._combined ? _1vg7.createEnterTween(_1vg4) : _1vg7.createEnterTweenCombined(_1vg4); null != _1vg8 && (_1vg3.push(_1vg8), _1vg4 += 100); } } return _1vg3; }, _1vf6.prototype.createSakutekiTweens = function() { var _1vg9 = null, _1vga = []; if (1 == this._entered) return _1vga; if (0 == this.hasBanner()) return _1vga; this._entered = !0; for (var _1vgb = 0, _1vgc = this._banners; _1vgb < _1vgc.length; _1vgb++) { var _1vgd = _1vgc[_1vgb]; if (null != _1vgd) { var _1vge = _1vgd.createEnterTweenBySakuteki(); null != _1vge && _1vga.push(_1vge); } } return _1vga; }, _1vf6.prototype.createExitTweens = function() { var _1vgf = null, _1vgg = []; if (0 == this._entered) return _1vgg; if (this._entered = !1, 0 == this.hasBanner()) return _1vgg; for (var _1vgh = 0, _1vgi = 0, _1vgj = this._banners; _1vgi < _1vgj.length; _1vgi++) { var _1vgk = _1vgj[_1vgi]; if (null != _1vgk) { var _1vgl = _1vgk.createMainDeckExitTween(_1vgh); _1vgg.push(_1vgl), _1vgh += 100; } } return _1vgg; }, _1vf6.prototype.createExitTweensUpward = function() { var _1vgm = null, _1vgn = []; if (0 == this._entered) return _1vgn; if (this._entered = !1, 0 == this.hasBanner()) return _1vgn; for (var _1vgo = 0, _1vgp = 0, _1vgq = this._banners; _1vgp < _1vgq.length; _1vgp++) { var _1vgr = _1vgq[_1vgp]; if (null != _1vgr) { var _1vgs = _1vgr.createSubDeckExitTween(_1vgo, !1); _1vgn.push(_1vgs), _1vgo += 100; } } return _1vgn; }, _1vf6.prototype.createExitTweensUpDown = function() { var _1vgt = null, _1vgu = []; if (0 == this._entered) return _1vgu; if (this._entered = !1, 0 == this.hasBanner()) return _1vgu; for (var _1vgv = [], _1vgw = 0; _1vgw < this._banners.length; _1vgw++) { var _1vgx = this._banners[_1vgw]; null != _1vgx && 0 != _1vgx.entered && _1vgv.push(_1vgx); } for (var _1vgy = 0; _1vgv.length > 0;) { var _1vgz = _1vgv.shift(), _1vh0 = _1vgz.createSubDeckExitTween(_1vgy, !1); _1vgu.push(_1vh0), 0 != _1vgv.length && (_1vh0 = (_1vgz = _1vgv.pop()).createSubDeckExitTween(_1vgy, !0), _1vgu.push(_1vh0), _1vgy += 100); } return _1vgu; }, _1vf6; }(PIXI.Container); _1vei.BannerGroup = _1vf3; }, 5660: function(_1vh1, _1vh2, _1vh3) { 'use strict'; var _1vh4 = null; var _1vh5, _1vh6 = this && this.__extends || (_1vh5 = function(_1vh7, _1vh8) { var _1vh9 = null; return _1vh5 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1vha, _1vhb) { var _1vhc = null; _1vha.__proto__ = _1vhb; } || function(_1vhd, _1vhe) { var _1vhf = null; for (var _1vhg in _1vhe) Object.prototype.hasOwnProperty.call(_1vhe, _1vhg) && (_1vhd[_1vhg] = _1vhe[_1vhg]); }, _1vh5(_1vh7, _1vh8); }, function(_1vhh, _1vhi) { var _1vhj = null; if ('function' != typeof _1vhi && null !== _1vhi) throw new TypeError('Class extends value ' + String(_1vhi) + ' is not a constructor or null'); function _1vhk() { var _1vhl = null; this.constructor = _1vhh; } _1vh5(_1vhh, _1vhi), _1vhh.prototype = null === _1vhi ? Object.create(_1vhi) : (_1vhk.prototype = _1vhi.prototype, new _1vhk()); }); defineModule(_1vh2); Object.defineProperty(_1vh2, '__esModule', { 'value': !0 }), _1vh2.Bomb = void 0; var _1vhm = _1vh3(54011), _1vhn = _1vh3(22434), _1vho = function(_1vhp) { var _1vhq = null; function _1vhr(_1vhs) { var _1vht = null, _1vhu = _1vhp.call(this) || this; if (_1vhu.sprite = new PIXI.Sprite(), _1vhu.type = _1vhs, 1 === _1vhs) _1vhu.sprite.texture = _1vhn.BATTLE_MAIN.getTexture(57), _1vhu.sprite.anchor.set(0.5); return _1vhu; } return _1vh6(_1vhr, _1vhp), _1vhr.prototype.dispose = function() { var _1vhv = null; this.sprite = null, this.from = null, this.to = null, this.type = null, this.friend = null; }, _1vhr.prototype.play = function(_1vhw, _1vhx, _1vhy, _1vhz) { var _1vi0 = null; if (void 0 === _1vhy && (_1vhy = 1800), void 0 === _1vhz && (_1vhz = null), this.from = new PIXI.Point(_1vhw.x, _1vhw.y), this.to = new PIXI.Point(_1vhx.x, _1vhx.y), this.friend = this.from.x <= this.to.x, 1 === this.type) this.position.set(this.from.x, this.from.y), this.sprite.scale.x = this.friend ? 1 : -1, this.addChild(this.sprite), this._aerial1(_1vhz); }, _1vhr.prototype._aerial1 = function(_1vi1) { var _1vi2 = null, _1vi3 = this; if (void 0 === _1vi1 && (_1vi1 = null), 1 === this.type) { var _1vi4 = this.from.x + (this.to.x - this.from.x) / 10; createjs.Tween.get(this).to({ 'x': _1vi4, 'y': this.from.y + 40 }, 500, createjs.Ease.sineIn).call(function() { var _1vi5 = null; _1vi3.removeChildren(), _1vi3._aerial2(_1vi1); }); } }, _1vhr.prototype._aerial2 = function(_1vi6) { var _1vi7 = null, _1vi8 = this; void 0 === _1vi6 && (_1vi6 = null); var _1vi9 = 0, _1via = new _1vib(this.friend); if (this.addChild(_1via), 1 === this.type) _1vi9 = 100; _1via.play(_1vi9, function() { var _1vic = null; _1vi8.removeChild(_1via), _1vi8._aerial3(_1vi6); }); }, _1vhr.prototype._aerial3 = function(_1vid) { var _1vie = null, _1vif = this; void 0 === _1vid && (_1vid = null); var _1vig = Math.atan2(this.to.y - this.y, this.to.x - this.x); if (1 === this.type) { var _1vih = new _1vii(), _1vij = this.friend ? 1 : -1; _1vih.scale.x = _1vij, _1vih.rotation = this.friend ? _1vig : _1vig - Math.PI, this.addChild(_1vih), (_1vih.start(1350), createjs.Tween.get(this).to({ 'x': this.to.x, 'y': this.to.y }, 1350).to({ 'alpha': 0 }, 50).call(function() { var _1vik = null; _1vih.dispose(), _1vif.removeChildren(), null != _1vid && _1vid(); })); } }, _1vhr; }(PIXI.Container); _1vh2.Bomb = _1vho; var _1vii = function(_1vil) { var _1vim = null; function _1vin() { var _1vio = null, _1vip = _1vil.call(this) || this; return _1vip._sprite = new PIXI.Sprite(_1vhn.BATTLE_MAIN.getTexture(57)), _1vip._sprite.anchor.set(0.5), _1vip._splash = new _1vhm.Sprite(_1vhn.BATTLE_MAIN.getTexture(123)), _1vip._splash.anchor.set(0.5, 1), _1vip._splash.scale.set(0), _1vip._splash.position.set(12, 7), _1vip.addChild(_1vip._sprite), _1vip.addChild(_1vip._splash), _1vip; } return _1vh6(_1vin, _1vil), _1vin.prototype.start = function(_1viq) { var _1vir = null; createjs.Tween.get(this._sprite).to({ 'y': -15 }, 0.25 * _1viq, createjs.Ease.cubicOut).to({ 'y': 0 }, 0.25 * _1viq, createjs.Ease.cubicIn).to({ 'y': -9 }, 0.15 * _1viq, createjs.Ease.cubicOut).to({ 'y': 0 }, 0.15 * _1viq, createjs.Ease.cubicIn).to({ 'y': -6 }, 0.1 * _1viq, createjs.Ease.cubicOut).to({ 'y': 0 }, 0.1 * _1viq, createjs.Ease.cubicIn), createjs.Tween.get(this._splash).wait(0.5 * _1viq).to({ 'scaleX': 1, 'scaleY': 1 }, 0).to({ 'scaleX': 0, 'scaleY': 0 }, 0.05 * _1viq).wait(0.25 * _1viq).to({ 'scaleX': 1, 'scaleY': 1 }, 0).to({ 'scaleX': 0, 'scaleY': 0 }, 0.04 * _1viq); }, _1vin.prototype.dispose = function() { var _1vis = null; this.removeChildren(), this._sprite.destroy(), this._splash.destroy(); }, _1vin; }(PIXI.Container), _1vib = function(_1vit) { var _1viu = null; function _1viv(_1viw) { var _1vix = null, _1viy = this, _1viz = _1vhn.BATTLE_MAIN.getTexture(125); return (_1viy = _1vit.call(this, _1viz) || this).anchor.set(0.5, 1), _1viy.scale.set(0.18 * (_1viw ? 1 : -1), 0.18), _1viy; } return _1vh6(_1viv, _1vit), _1viv.prototype.play = function(_1vj0, _1vj1) { var _1vj2 = null; void 0 === _1vj0 && (_1vj0 = 100), void 0 === _1vj1 && (_1vj1 = null), createjs.Tween.get(this.scale).to({ 'x': 0, 'y': 0 }, _1vj0).call(function() { null != _1vj1 && _1vj1(); }); }, _1viv; }(PIXI.Sprite); }, 42691: function(_1vj3, _1vj4, _1vj5) { 'use strict'; var _1vj6 = null; var _1vj7, _1vj8 = this && this.__extends || (_1vj7 = function(_1vj9, _1vja) { var _1vjb = null; return _1vj7 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1vjc, _1vjd) { var _1vje = null; _1vjc.__proto__ = _1vjd; } || function(_1vjf, _1vjg) { var _1vjh = null; for (var _1vji in _1vjg) Object.prototype.hasOwnProperty.call(_1vjg, _1vji) && (_1vjf[_1vji] = _1vjg[_1vji]); }, _1vj7(_1vj9, _1vja); }, function(_1vjj, _1vjk) { var _1vjl = null; if ('function' != typeof _1vjk && null !== _1vjk) throw new TypeError('Class extends value ' + String(_1vjk) + ' is not a constructor or null'); function _1vjm() { var _1vjn = null; this.constructor = _1vjj; } _1vj7(_1vjj, _1vjk), _1vjj.prototype = null === _1vjk ? Object.create(_1vjk) : (_1vjm.prototype = _1vjk.prototype, new _1vjm()); }); defineModule(_1vj4); Object.defineProperty(_1vj4, '__esModule', { 'value': !0 }), _1vj4.Parts = _1vj4.BreakText = void 0; var _1vjo = _1vj5(3544), _1vjp = function(_1vjq) { var _1vjr = null; function _1vjs() { var _1vjt = null, _1vju = _1vjq.call(this) || this; return _1vju._CHUHA_ = [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50], _1vju._TAIHA_ = [51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99], _1vju.run = function(_1vjv) { var _1vjw = null; for (var _1vjx = _1vjv.target.target.time, _1vjy = 0; _1vjy < _1vju.txtParts.length; _1vjy++) _1vju.txtParts[_1vjy].Update(_1vjx); }, _1vju.callBack = null, _1vju; } return _1vj8(_1vjs, _1vjq), _1vjs.prototype.Initialize = function(_1vjz) { var _1vk0 = null, _1vk1 = [new PIXI.Point(0, 175), new PIXI.Point(375, 181), new PIXI.Point(262, 160), new PIXI.Point(246, 321), new PIXI.Point(307, 298), new PIXI.Point(291, 273), new PIXI.Point(445, 355), new PIXI.Point(399, 334), new PIXI.Point(400, 310), new PIXI.Point(364, 291), new PIXI.Point(384, 280), new PIXI.Point(405, 268), new PIXI.Point(429, 309), new PIXI.Point(441, 262), new PIXI.Point(439, 247), new PIXI.Point(439, 258), new PIXI.Point(466, 241), new PIXI.Point(468, 201), new PIXI.Point(433, 156), new PIXI.Point(426, 208), new PIXI.Point(408, 162), new PIXI.Point(406, 241), new PIXI.Point(363, 250), new PIXI.Point(357, 265), new PIXI.Point(351, 216), new PIXI.Point(339, 157), new PIXI.Point(342, 156), new PIXI.Point(246, 105), new PIXI.Point(432, 156), new PIXI.Point(168, 163), new PIXI.Point(216, 163), new PIXI.Point(247, 213), new PIXI.Point(172, 258), new PIXI.Point(177, 225), new PIXI.Point(142, 175), new PIXI.Point(69, 186), new PIXI.Point(0, 211), new PIXI.Point(49, 169), new PIXI.Point(139, 166), new PIXI.Point(157, 117), new PIXI.Point(133, 99), new PIXI.Point(1, 21), new PIXI.Point(4, 1), new PIXI.Point(124, 27), new PIXI.Point(163, 72), new PIXI.Point(213, 84), new PIXI.Point(169, 1), new PIXI.Point(121, 1), new PIXI.Point(261, 186)]; new PIXI.Point(0, 0), new PIXI.Point(378, 184), new PIXI.Point(259, 159), new PIXI.Point(247, 322), new PIXI.Point(310, 298), new PIXI.Point(294, 270), new PIXI.Point(445, 352), new PIXI.Point(400, 336), new PIXI.Point(405, 315), new PIXI.Point(366, 292), new PIXI.Point(385, 288), new PIXI.Point(406, 271), new PIXI.Point(430, 309), new PIXI.Point(444, 261), new PIXI.Point(442, 252), new PIXI.Point(442, 256), new PIXI.Point(0, 0), new PIXI.Point(396, 141), new PIXI.Point(436, 156), new PIXI.Point(427, 208), new PIXI.Point(411, 162), new PIXI.Point(408, 244), new PIXI.Point(364, 255), new PIXI.Point(355, 276), new PIXI.Point(354, 214), new PIXI.Point(336, 159), new PIXI.Point(343, 156), new PIXI.Point(244, 105), new PIXI.Point(198, 148), new PIXI.Point(168, 165), new PIXI.Point(217, 163), new PIXI.Point(247, 213), new PIXI.Point(172, 259), new PIXI.Point(0, 0), new PIXI.Point(142, 175), new PIXI.Point(70, 186), new PIXI.Point(3, 211), new PIXI.Point(49, 171), new PIXI.Point(139, 166), new PIXI.Point(157, 118), new PIXI.Point(135, 99), new PIXI.Point(0, 22), new PIXI.Point(0, 0), new PIXI.Point(124, 25), new PIXI.Point(165, 73), new PIXI.Point(211, 84), new PIXI.Point(169, 1), new PIXI.Point(121, 0), new PIXI.Point(261, 186), this.txtParts = []; for (var _1vk2 = 0; _1vk2 < 49; _1vk2++) { var _1vk3 = (_1vjz ? this._TAIHA_ : this._CHUHA_)[_1vk2], _1vk4 = _1vjo.BATTLE_CUTIN_DAMAGE.getTexture(_1vk3), _1vk5 = new PIXI.Sprite(_1vk4); _1vk5.x = _1vk1[_1vk2].x, _1vk5.y = _1vk1[_1vk2].y; var _1vk6 = new _1vk7(_1vk5); this.txtParts.push(_1vk6), this.addChild(_1vk5); } }, _1vjs.prototype.Dispose = function() { var _1vk8 = null; this.removeChildren(0, this.children.length); for (var _1vk9 = 0; _1vk9 < this.txtParts.length; _1vk9++) this.txtParts[_1vk9].Dispose(), this.txtParts[_1vk9] = null; this.txtParts = null, this.tween.setPaused(!0), this.tween.removeAllEventListeners('change'), this.tween = null; }, _1vjs.prototype.Play = function(_1vka) { var _1vkb = null, _1vkc = this; this.callBack = _1vka, this.tween = createjs.Tween.get({ 'time': 0 }, { 'onChange': this.run }).to({ 'time': 1 }, 2300).call(function() { var _1vkd = null; null != _1vkc.callBack && _1vkc.callBack(); }); }, _1vjs; }(PIXI.Container); _1vj4.BreakText = _1vjp; var _1vk7 = (function() { var _1vke = null; function _1vkf(_1vkg) { var _1vkh = null; this.sprite = _1vkg, this.sprite.anchor.set(0.5, 0.5), this.sprite.position.set(this.sprite.position.x + 0.5 * this.sprite.width, this.sprite.position.y + 0.5 * this.sprite.height), this.fromPos = new PIXI.Point(this.sprite.x, this.sprite.y), this.toRot = (720 * Math.random() - 360) * Math.PI / 180, this.toX = 2400 * Math.random() - 1200, this.ctrlY = this.sprite.y - 1400 * Math.random(); } return _1vkf.prototype.Dispose = function() { var _1vki = null; this.sprite = null, this.fromPos = null, this.toRot = null, this.toX = null, this.ctrlY = null; }, _1vkf.prototype.Update = function(_1vkj) { var _1vkk = null; this.sprite.rotation = 0 + this.toRot * _1vkj, this.sprite.x = this.fromPos.x + this.toX * _1vkj, this.sprite.y = this.setBezierPos(_1vkj, this.fromPos.y, 1050, this.ctrlY); }, _1vkf.prototype.setBezierPos = function(_1vkl, _1vkm, _1vkn, _1vko) { return (1 - _1vkl) * (1 - _1vkl) * _1vkm + 2 * (1 - _1vkl) * _1vkl * _1vko + _1vkl * _1vkl * _1vkn; }, _1vkf; }()); _1vj4.Parts = _1vk7; }, 82327: function(_1vkp, _1vkq, _1vkr) { 'use strict'; var _1vks = null; var _1vkt, _1vku = this && this.__extends || (_1vkt = function(_1vkv, _1vkw) { var _1vkx = null; return _1vkt = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1vky, _1vkz) { var _1vl0 = null; _1vky.__proto__ = _1vkz; } || function(_1vl1, _1vl2) { var _1vl3 = null; for (var _1vl4 in _1vl2) Object.prototype.hasOwnProperty.call(_1vl2, _1vl4) && (_1vl1[_1vl4] = _1vl2[_1vl4]); }, _1vkt(_1vkv, _1vkw); }, function(_1vl5, _1vl6) { var _1vl7 = null; if ('function' != typeof _1vl6 && null !== _1vl6) throw new TypeError('Class extends value ' + String(_1vl6) + ' is not a constructor or null'); function _1vl8() { var _1vl9 = null; this.constructor = _1vl5; } _1vkt(_1vl5, _1vl6), _1vl5.prototype = null === _1vl6 ? Object.create(_1vl6) : (_1vl8.prototype = _1vl6.prototype, new _1vl8()); }); defineModule(_1vkq); Object.defineProperty(_1vkq, '__esModule', { 'value': !0 }), _1vkq.Daihatsu = void 0; var _1vla = _1vkr(22434), _1vlb = _1vkr(54011), _1vlc = _1vkr(45054), _1vld = function(_1vle) { var _1vlf = null; function _1vlg() { var _1vlh = null, _1vli = _1vle.call(this) || this; return _1vli._container = new _1vlc.Container(), _1vli._img = new _1vlb.Sprite(), _1vli.addChild(_1vli._container), _1vli._container.addChild(_1vli._img), _1vli._water_line = new _1vlb.Sprite(), _1vli._water_line.anchor.set(0, 1), _1vli._water_mask = new PIXI.Graphics(), _1vli; } return _1vku(_1vlg, _1vle), Object.defineProperty(_1vlg.prototype, 'Container', { 'get': function() { var _1vlj = null; return this._container; }, 'enumerable': !1, 'configurable': !0 }), _1vlg.prototype.initialize = function(_1vlk) { var _1vll = null; switch (_1vlk) { case 1: this._img.texture = _1vla.BATTLE_MAIN.getTexture(165), this._img.position.set(-45, -21); break; case 2: this._img.texture = _1vla.BATTLE_MAIN.getTexture(164), this._img.position.set(-53, -24); break; case 3: this._img.texture = _1vla.BATTLE_MAIN.getTexture(155), this._img.position.set(-45, -21); break; case 4: this._img.texture = _1vla.BATTLE_MAIN.getTexture(163), this._img.position.set(-35, -24); break; case 5: this._img.texture = _1vla.BATTLE_MAIN.getTexture(166), this._img.position.set(-45, -26); break; case 6: this._img.texture = _1vla.BATTLE_MAIN.getTexture(167), this._img.position.set(-45, -26); break; case 8: this._img.texture = _1vla.BATTLE_MAIN.getTexture(168), this._img.position.set(-45, -26); break; case 7: this._img.texture = _1vla.BATTLE_MAIN.getTexture(169), this._img.position.set(-45, -26); break; case 9: this._img.texture = _1vla.BATTLE_MAIN.getTexture(156), this._img.position.set(-45, -21); break; case 10: this._img.texture = _1vla.BATTLE_MAIN.getTexture(157), this._img.position.set(-45, -26); break; case 11: this._img.texture = _1vla.BATTLE_MAIN.getTexture(158), this._img.position.set(-45, -26); break; case 13: this._img.texture = _1vla.BATTLE_MAIN.getTexture(159), this._img.position.set(-45, -26); break; case 15: this._img.texture = _1vla.BATTLE_MAIN.getTexture(162), this._img.position.set(-45, -26); break; case 12: this._img.texture = _1vla.BATTLE_MAIN.getTexture(160), this._img.anchor.set(0.5, 0), this._img.position.set(7, -26), this._water_line.texture = _1vla.BATTLE_MAIN.getTexture(170), this._water_line.position.set(-47, this._img.y + 34), this._water_mask.beginFill(16774898, 0.5), this._water_mask.drawRect(-50, -60, 120, 67), this._water_mask.endFill(), this._container.addChild(this._water_line), this._container.addChild(this._water_mask), this._container.mask = this._water_mask; break; case 14: this._img.texture = _1vla.BATTLE_MAIN.getTexture(161), this._img.anchor.set(0.5, 0), this._img.position.set(7, -33), this._water_line.texture = _1vla.BATTLE_MAIN.getTexture(170), this._water_line.position.set(-47, this._img.y + 41), this._water_mask.beginFill(16774898, 0.5), this._water_mask.drawRect(-50, -60, 120, 67), this._water_mask.endFill(), this._container.addChild(this._water_line), this._container.addChild(this._water_mask), this._container.mask = this._water_mask; break; default: this._img.texture = PIXI.Texture.EMPTY; } }, _1vlg.prototype.rideUp = function(_1vlm) { var _1vln = null, _1vlo = this; if (null == this._t) { var _1vlp = this._img.position, _1vlq = 0.25 * _1vlm, _1vlr = 0.1 * _1vlm, _1vls = 0.3 * _1vlm, _1vlt = 0.25 * _1vlm, _1vlu = 0.1 * _1vlm; this._t = createjs.Tween.get(this._img).to({ 'rotation': -Math.PI / 6, 'y': _1vlp.y - 25 }, _1vlq).to({ 'rotation': 0 }, _1vlr).wait(_1vls).to({ 'rotation': Math.PI / 6, 'y': _1vlp.y }, _1vlt).to({ 'rotation': 0 }, _1vlu).call(function() { _1vlo._t = null; }), createjs.Tween.get(this._water_line).to({ 'scaleY': 0 }, _1vlq).wait(_1vlr + _1vls + _1vlt).to({ 'scaleY': 1 }, _1vlu); } }, _1vlg.prototype.turn = function() { var _1vlv = null, _1vlw = this; null == this._t && (this._t = createjs.Tween.get(this._container).to({ 'scaleX': -1 }, 200).call(function() { _1vlw._t = null; })); }, _1vlg.prototype.dispose = function() { var _1vlx = null; this.removeChildren(), this._container.removeChildren(), this._img.destroy(), this._water_line.destroy(), this._water_mask.destroy(), null != this._t && (this._t.setPaused(!0), this._t = null); }, _1vlg; }(PIXI.Container); _1vkq.Daihatsu = _1vld; }, 47629: function(_1vly, _1vlz, _1vm0) { 'use strict'; var _1vm1 = null; var _1vm2, _1vm3 = this && this.__extends || (_1vm2 = function(_1vm4, _1vm5) { var _1vm6 = null; return _1vm2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1vm7, _1vm8) { var _1vm9 = null; _1vm7.__proto__ = _1vm8; } || function(_1vma, _1vmb) { var _1vmc = null; for (var _1vmd in _1vmb) Object.prototype.hasOwnProperty.call(_1vmb, _1vmd) && (_1vma[_1vmd] = _1vmb[_1vmd]); }, _1vm2(_1vm4, _1vm5); }, function(_1vme, _1vmf) { var _1vmg = null; if ('function' != typeof _1vmf && null !== _1vmf) throw new TypeError('Class extends value ' + String(_1vmf) + ' is not a constructor or null'); function _1vmh() { var _1vmi = null; this.constructor = _1vme; } _1vm2(_1vme, _1vmf), _1vme.prototype = null === _1vmf ? Object.create(_1vmf) : (_1vmh.prototype = _1vmf.prototype, new _1vmh()); }); defineModule(_1vlz); Object.defineProperty(_1vlz, '__esModule', { 'value': !0 }), _1vlz.DamageNumber = void 0; var _1vmj = _1vm0(22434), _1vmk = function(_1vml) { var _1vmm = null; function _1vmn() { var _1vmo = null, _1vmp = _1vml.call(this) || this; return _1vmp._num0001 = new PIXI.Sprite(), _1vmp._num0001.anchor.set(0, 1), _1vmp._num0001.alpha = 0, _1vmp._num0010 = new PIXI.Sprite(), _1vmp._num0010.anchor.set(0, 1), _1vmp._num0010.alpha = 0, _1vmp._num0100 = new PIXI.Sprite(), _1vmp._num0100.anchor.set(0, 1), _1vmp._num0100.alpha = 0, _1vmp._num1000 = new PIXI.Sprite(), _1vmp._num1000.anchor.set(0, 1), _1vmp._num1000.alpha = 0, _1vmp._critical = new PIXI.Sprite(), _1vmp._critical.anchor.set(0.5, 0), _1vmp._critical.visible = !1, _1vmp.addChild(_1vmp._num0001), _1vmp.addChild(_1vmp._num0010), _1vmp.addChild(_1vmp._num0100), _1vmp.addChild(_1vmp._num1000), _1vmp.addChild(_1vmp._critical), _1vmp; } return _1vm3(_1vmn, _1vml), _1vmn.prototype.initialize = function(_1vmq, _1vmr) { var _1vms = null; 0 == _1vmr ? this._initializeForMiss() : (_1vmq = Math.min(_1vmq, 9999), _1vmq = Math.floor(_1vmq), this._initialize(_1vmq, _1vmr)); }, _1vmn.prototype.play = function(_1vmt) { var _1vmu = null; void 0 === _1vmt && (_1vmt = null), 1 == this._critical.visible && createjs.Tween.get(this._critical).wait(65).to({ 'alpha': 1 }, 0).to({ 'x': 20 }, 65).to({ 'x': 38 }, 65).to({ 'x': 21 }, 65).to({ 'x': 36 }, 65).to({ 'x': 26 }, 65).to({ 'x': 32 }, 65).to({ 'x': 27 }, 65).to({ 'x': 30 }, 65).to({ 'x': 29 }, 65), createjs.Tween.get(this._num1000).to({ 'alpha': 1 }, 0).to({ 'y': -21 }, 135).to({ 'y': 0 }, 135).to({ 'y': -7 }, 100).to({ 'y': 0 }, 100), createjs.Tween.get(this._num0100).wait(65).to({ 'alpha': 1 }, 0).to({ 'y': -21 }, 135).to({ 'y': 0 }, 135).to({ 'y': -7 }, 100).to({ 'y': 0 }, 100), createjs.Tween.get(this._num0010).wait(130).to({ 'alpha': 1 }, 0).to({ 'y': -21 }, 135).to({ 'y': 0 }, 135).to({ 'y': -7 }, 100).to({ 'y': 0 }, 100); var _1vmv = createjs.Tween.get(this._num0001).wait(200).to({ 'alpha': 1 }, 0).to({ 'y': -21 }, 135).to({ 'y': 0 }, 135).to({ 'y': -7 }, 100).to({ 'y': 0 }, 100).wait(265); null != _1vmt && _1vmv.call(_1vmt); }, _1vmn.prototype._initializeForMiss = function() { var _1vmw = null; this._num1000.visible = !1, this._num0100.visible = !1, this._num0010.visible = !1, this._num0001.texture = _1vmj.BATTLE_MAIN.getTexture(22), this._num1000.position.set(-47, 0); }, _1vmn.prototype._initialize = function(_1vmx, _1vmy) { var _1vmz = null, _1vn0; 2 == _1vmy ? (_1vn0 = [23, 24, 25, 26, 27, 28, 29, 30, 31, 32], this._critical.texture = _1vmj.BATTLE_MAIN.getTexture(21), this._critical.position.set(29, -7), this._critical.alpha = 0, this._critical.visible = !0) : _1vn0 = [11, 12, 13, 14, 15, 16, 17, 18, 19, 20]; var _1vn1 = !1, _1vn2 = Math.floor(_1vmx / 1000); _1vn2 > 0 && (_1vn1 = !0, this._num1000.texture = _1vmj.BATTLE_MAIN.getTexture(_1vn0[_1vn2])); var _1vn3 = Math.floor(_1vmx % 1000 / 100); (1 == _1vn1 || _1vn3 > 0) && (_1vn1 = !0, this._num0100.texture = _1vmj.BATTLE_MAIN.getTexture(_1vn0[_1vn3])); var _1vn4 = Math.floor(_1vmx % 100 / 10); (1 == _1vn1 || _1vn4 > 0) && (_1vn1 = !0, this._num0010.texture = _1vmj.BATTLE_MAIN.getTexture(_1vn0[_1vn4])); var _1vn5 = _1vmx % 10; this._num0001.texture = _1vmj.BATTLE_MAIN.getTexture(_1vn0[_1vn5]), this._num0001.position.set(47, 0), this._num0010.position.set(26, 0), this._num0100.position.set(5, 0), this._num1000.position.set(-17, 0); }, _1vmn; }(PIXI.Container); _1vlz.DamageNumber = _1vmk; }, 20240: function(_1vn6, _1vn7, _1vn8) { 'use strict'; var _1vn9 = null; var _1vna, _1vnb = this && this.__extends || (_1vna = function(_1vnc, _1vnd) { var _1vne = null; return _1vna = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1vnf, _1vng) { var _1vnh = null; _1vnf.__proto__ = _1vng; } || function(_1vni, _1vnj) { var _1vnk = null; for (var _1vnl in _1vnj) Object.prototype.hasOwnProperty.call(_1vnj, _1vnl) && (_1vni[_1vnl] = _1vnj[_1vnl]); }, _1vna(_1vnc, _1vnd); }, function(_1vnm, _1vnn) { var _1vno = null; if ('function' != typeof _1vnn && null !== _1vnn) throw new TypeError('Class extends value ' + String(_1vnn) + ' is not a constructor or null'); function _1vnp() { var _1vnq = null; this.constructor = _1vnm; } _1vna(_1vnm, _1vnn), _1vnm.prototype = null === _1vnn ? Object.create(_1vnn) : (_1vnp.prototype = _1vnn.prototype, new _1vnp()); }); defineModule(_1vn7); Object.defineProperty(_1vn7, '__esModule', { 'value': !0 }), _1vn7.Explosion = void 0; var _1vnr = _1vn8(8867), _1vns = function(_1vnt) { var _1vnu = null; function _1vnv() { var _1vnw = null, _1vnx = _1vnt.call(this) || this; return _1vnx._current_frame = 0, _1vnx._img = new PIXI.Sprite(), _1vnx.addChild(_1vnx._img), _1vnx; } return _1vnb(_1vnv, _1vnt), _1vnv.prototype.play = function(_1vny) { var _1vnz = null; void 0 === _1vny && (_1vny = null), this._isPlaying || (this._isPlaying = !0, this.createTween(_1vny)); }, _1vnv.prototype.createTween = function(_1vo0) { var _1vo1 = null, _1vo2 = this; void 0 === _1vo0 && (_1vo0 = null), createjs.Tween.removeTweens(this), this._tween = createjs.Tween.get(this), this._tween.wait(33).call(function() { var _1vo3 = null; _1vo2._current_frame++, _1vo2._img.texture = _1vo2._getTexture(_1vo2._current_frame), _1vo2._setImageOffset(_1vo2._current_frame), _1vo2._current_frame <= 15 ? _1vo2.createTween(_1vo0) : (_1vo2._isPlaying = !1, _1vo2._current_frame = 0, null != _1vo0 && _1vo0()); }); }, _1vnv.prototype.stop = function() { var _1vo4 = null; this._isPlaying && (this._isPlaying = !1, this._tween.setPaused(!0)), this._current_frame = 0, this._img.texture = this._getTexture(this._current_frame), this._setImageOffset(this._current_frame); }, _1vnv.prototype._getTexture = function(_1vo5) { var _1vo6 = null; switch (_1vo5) { case 1: return _1vnr.COMMON_EXPLOSION.getTexture(0); case 2: return _1vnr.COMMON_EXPLOSION.getTexture(7); case 3: return _1vnr.COMMON_EXPLOSION.getTexture(8); case 4: return _1vnr.COMMON_EXPLOSION.getTexture(9); case 5: return _1vnr.COMMON_EXPLOSION.getTexture(10); case 6: return _1vnr.COMMON_EXPLOSION.getTexture(11); case 7: return _1vnr.COMMON_EXPLOSION.getTexture(12); case 8: return _1vnr.COMMON_EXPLOSION.getTexture(13); case 9: return _1vnr.COMMON_EXPLOSION.getTexture(14); case 10: return _1vnr.COMMON_EXPLOSION.getTexture(1); case 11: return _1vnr.COMMON_EXPLOSION.getTexture(2); case 12: return _1vnr.COMMON_EXPLOSION.getTexture(3); case 13: return _1vnr.COMMON_EXPLOSION.getTexture(4); case 14: return _1vnr.COMMON_EXPLOSION.getTexture(5); case 15: return _1vnr.COMMON_EXPLOSION.getTexture(6); default: return PIXI.Texture.EMPTY; } }, _1vnv.prototype._setImageOffset = function(_1vo7) { var _1vo8 = null; switch (_1vo7) { case 1: this._img.position.set(-71, -53); break; case 2: this._img.position.set(-74, -60); break; case 3: this._img.position.set(-77, -69); break; case 4: this._img.position.set(-78, -72); break; case 5: this._img.position.set(-81, -77); break; case 6: this._img.position.set(-84, -81); break; case 7: this._img.position.set(-84, -86); break; case 8: case 11: case 14: this._img.position.set(-87, -89); break; case 9: this._img.position.set(-89, -90); break; case 10: this._img.position.set(-90, -90); break; case 12: case 13: this._img.position.set(-87, -87); break; case 15: this._img.position.set(-90, -89); break; default: this._img.position.set(0); } }, _1vnv; }(PIXI.Container); _1vn7.Explosion = _1vns; }, 13792: function(_1vo9, _1voa, _1vob) { 'use strict'; var _1voc = null; var _1vod, _1voe = this && this.__extends || (_1vod = function(_1vof, _1vog) { var _1voh = null; return _1vod = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1voi, _1voj) { var _1vok = null; _1voi.__proto__ = _1voj; } || function(_1vol, _1vom) { var _1von = null; for (var _1voo in _1vom) Object.prototype.hasOwnProperty.call(_1vom, _1voo) && (_1vol[_1voo] = _1vom[_1voo]); }, _1vod(_1vof, _1vog); }, function(_1vop, _1voq) { var _1vor = null; if ('function' != typeof _1voq && null !== _1voq) throw new TypeError('Class extends value ' + String(_1voq) + ' is not a constructor or null'); function _1vos() { var _1vot = null; this.constructor = _1vop; } _1vod(_1vop, _1voq), _1vop.prototype = null === _1voq ? Object.create(_1voq) : (_1vos.prototype = _1voq.prototype, new _1vos()); }); defineModule(_1voa); Object.defineProperty(_1voa, '__esModule', { 'value': !0 }), _1voa.Missile = void 0; var _1vou = _1vob(22434), _1vov = function(_1vow) { var _1vox = null; function _1voy(_1voz) { var _1vp0 = null, _1vp1 = _1vow.call(this) || this; return _1vp1.sprite = new PIXI.Sprite(), _1vp1._type = _1voz, _1vp1.sprite.texture = _1vp1._getMissileTexture(_1voz), _1vp1.sprite.anchor.set(0.04, 0.5), _1vp1.sprite.alpha = 0, _1vp1; } return _1voe(_1voy, _1vow), _1voy.prototype.dispose = function() { var _1vp2 = null; this.sprite = null, this.from = null, this.to = null, this.friend = null; }, _1voy.prototype.play = function(_1vp3, _1vp4, _1vp5) { var _1vp6 = null; void 0 === _1vp5 && (_1vp5 = null), this.from = new PIXI.Point(_1vp3.x, _1vp3.y), this.to = new PIXI.Point(_1vp4.x, _1vp4.y), this.friend = this.from.x <= this.to.x, this.position.set(this.from.x, this.from.y), this.sprite.scale.x = this.friend ? 1 : -1, this.addChild(this.sprite), this._aerial2(_1vp5); }, _1voy.prototype._aerial2 = function(_1vp7) { var _1vp8 = null, _1vp9 = this; void 0 === _1vp7 && (_1vp7 = null), createjs.Tween.get(this).to({ 'x': this.to.x, 'y': this.to.y }, 1000).call(function() { var _1vpa = null; _1vp9.removeChildren(), null != _1vp7 && _1vp7(); }), createjs.Tween.get(this.sprite).to({ 'alpha': 1 }, 50).wait(600).to({ 'alpha': 0 }, 150); }, _1voy.prototype._getMissileTexture = function(_1vpb) { var _1vpc = null; switch (_1vpb) { case 1: case 2: case 3: case 4: return _1vou.BATTLE_MAIN.getTexture(33); default: return PIXI.Texture.EMPTY; } }, _1voy; }(PIXI.Container); _1voa.Missile = _1vov; }, 98066: function(_1vpd, _1vpe, _1vpf) { 'use strict'; var _1vpg = null; var _1vph, _1vpi = this && this.__extends || (_1vph = function(_1vpj, _1vpk) { var _1vpl = null; return _1vph = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1vpm, _1vpn) { var _1vpo = null; _1vpm.__proto__ = _1vpn; } || function(_1vpp, _1vpq) { var _1vpr = null; for (var _1vps in _1vpq) Object.prototype.hasOwnProperty.call(_1vpq, _1vps) && (_1vpp[_1vps] = _1vpq[_1vps]); }, _1vph(_1vpj, _1vpk); }, function(_1vpt, _1vpu) { var _1vpv = null; if ('function' != typeof _1vpu && null !== _1vpu) throw new TypeError('Class extends value ' + String(_1vpu) + ' is not a constructor or null'); function _1vpw() { var _1vpx = null; this.constructor = _1vpt; } _1vph(_1vpt, _1vpu), _1vpt.prototype = null === _1vpu ? Object.create(_1vpu) : (_1vpw.prototype = _1vpu.prototype, new _1vpw()); }); defineModule(_1vpe); Object.defineProperty(_1vpe, '__esModule', { 'value': !0 }), _1vpe.Picket = void 0; var _1vpy = _1vpf(54011), _1vpz = _1vpf(22434), _1vq0 = function(_1vq1) { var _1vq2 = null; function _1vq3() { var _1vq4 = null, _1vq5 = _1vq1.call(this) || this; return _1vq5._light1 = new PIXI.Sprite(), _1vq5._light2 = new PIXI.Sprite(), _1vq5._circle = new _1vpy.Sprite(), _1vq5._light1.anchor.set(0.5), _1vq5._light2.anchor.set(0.5), _1vq5._circle.anchor.set(0.5), _1vq5._light1.scale.set(0), _1vq5._light2.scale.set(0), _1vq5._circle.scale.set(0), _1vq5.addChild(_1vq5._light1), _1vq5.addChild(_1vq5._light2), _1vq5.addChild(_1vq5._circle), _1vq5; } return _1vpi(_1vq3, _1vq1), _1vq3.prototype.initialize = function() { var _1vq6 = null; this._light1.texture = _1vpz.BATTLE_MAIN.getTexture(58), this._light2.texture = _1vpz.BATTLE_MAIN.getTexture(58); var _1vq7 = new PIXI.Graphics(); _1vq7.lineStyle(5, 16777215, 0.1), _1vq7.drawCircle(0, 0, 68), _1vq7.lineStyle(5, 16777215, 0.2), _1vq7.drawCircle(0, 0, 75), this._circle.addChild(_1vq7); }, _1vq3.prototype.play = function() { var _1vq8 = null, _1vq9 = this; this._activate(), createjs.Tween.get(this._circle).to({ 'scaleX': 0.3, 'scaleY': 0.3 }, 200).to({ 'scaleX': 0.6, 'scaleY': 0.6, 'alpha': 0 }, 200), createjs.Tween.get(this._light1.scale).to({ 'x': 1, 'y': 1 }, 100).wait(100).to({ 'x': 0, 'y': 0 }, 100), createjs.Tween.get(this._light2.scale).to({ 'x': 1, 'y': 1 }, 100).wait(100).to({ 'x': 0, 'y': 0 }, 100).call(function() { var _1vqa = null; _1vq9._deactivate(), null != _1vq9.parent && (_1vq9.parent.removeChild(_1vq9), _1vq9.emit('complete')); }); }, _1vq3.prototype._activate = function() { var _1vqb = null; null == this._t1 && (this._t1 = createjs.Tween.get(this._light1).to({ 'rotation': 2 * Math.PI }, 1000), this._t1.loop = !0), null == this._t2 && (this._light2.rotation = Math.PI / 4, this._t2 = createjs.Tween.get(this._light2).to({ 'rotation': 2 * -Math.PI }, 1000), this._t2.loop = !0); }, _1vq3.prototype._deactivate = function() { var _1vqc = null; null != this._t1 && (this._t1.setPaused(!0), this._t1 = null), null != this._t2 && (this._t2.setPaused(!0), this._t2 = null); }, _1vq3; }(PIXI.Container); _1vpe.Picket = _1vq0; }, 58396: function(_1vqd, _1vqe, _1vqf) { 'use strict'; var _1vqg = null; var _1vqh, _1vqi = this && this.__extends || (_1vqh = function(_1vqj, _1vqk) { var _1vql = null; return _1vqh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1vqm, _1vqn) { var _1vqo = null; _1vqm.__proto__ = _1vqn; } || function(_1vqp, _1vqq) { var _1vqr = null; for (var _1vqs in _1vqq) Object.prototype.hasOwnProperty.call(_1vqq, _1vqs) && (_1vqp[_1vqs] = _1vqq[_1vqs]); }, _1vqh(_1vqj, _1vqk); }, function(_1vqt, _1vqu) { var _1vqv = null; if ('function' != typeof _1vqu && null !== _1vqu) throw new TypeError('Class extends value ' + String(_1vqu) + ' is not a constructor or null'); function _1vqw() { var _1vqx = null; this.constructor = _1vqt; } _1vqh(_1vqt, _1vqu), _1vqt.prototype = null === _1vqu ? Object.create(_1vqu) : (_1vqw.prototype = _1vqu.prototype, new _1vqw()); }); defineModule(_1vqe); Object.defineProperty(_1vqe, '__esModule', { 'value': !0 }), _1vqe.PlaneTrio = void 0; var _1vqy = _1vqf(40085), _1vqz = _1vqf(70723), _1vr0 = _1vqf(88807), _1vr1 = function(_1vr2) { var _1vr3 = null; function _1vr4(_1vr5) { var _1vr6 = null, _1vr7 = _1vr2.call(this) || this; return _1vr7._friend = _1vr5, _1vr7._planes = [], _1vr7; } return _1vqi(_1vr4, _1vr2), Object.defineProperty(_1vr4.prototype, 'friend', { 'get': function() { var _1vr8 = null; return this._friend; }, 'enumerable': !1, 'configurable': !0 }), _1vr4.prototype.addPlane = function(_1vr9, _1vra) { var _1vrb = null; if (void 0 === _1vra && (_1vra = null), !(this._planes.length >= 3)) { var _1vrc = new _1vr0.Plane(); null == _1vra && (_1vra = new PIXI.Point(), 0 == this._planes.length ? (_1vra.x = 45, _1vra.y = 18) : 1 == this._planes.length ? (_1vra.x = 18, _1vra.y = -27) : 2 == this._planes.length && (_1vra.x = -36, _1vra.y = 38)), _1vrc.initialize(_1vr9, this._friend, new PIXI.Point(), _1vra), this._planes.push(_1vrc); for (var _1vrd = 0; _1vrd < this._planes.length; _1vrd++) { var _1vre = this._planes[_1vrd]; if (_1vrc.y < _1vre.y) { var _1vrf = this.getChildIndex(_1vre); this.addChildAt(_1vrc, _1vrf); break; } _1vrd == this._planes.length - 1 && this.addChild(_1vrc); } } }, _1vr4.prototype.dispose = function() { var _1vrg = null; for (var _1vrh = 0, _1vri = this._planes; _1vrh < _1vri.length; _1vrh++) { _1vri[_1vrh].dispose(); } }, _1vr4.prototype.startFluctuations = function() { var _1vrj = null; for (var _1vrk = 0, _1vrl = this._planes; _1vrk < _1vrl.length; _1vrk++) { _1vrl[_1vrk].startFluctuations(); } }, _1vr4.prototype.stopFluctuations = function() { var _1vrm = null; for (var _1vrn = 0, _1vro = this._planes; _1vrn < _1vro.length; _1vrn++) { _1vro[_1vrn].stopFluctuations(); } }, _1vr4.prototype.fire = function() { var _1vrp = null; for (var _1vrq = 0, _1vrr = this._planes; _1vrq < _1vrr.length; _1vrq++) { _1vrr[_1vrq].fire(); } }, _1vr4.prototype.play = function(_1vrs, _1vrt, _1vru, _1vrv, _1vrw) { var _1vrx = null, _1vry = this; void 0 === _1vrt && (_1vrt = NaN), void 0 === _1vrw && (_1vrw = null); var _1vrz, _1vs0 = new PIXI.Point(this.x, this.y), _1vs1 = this._createControllPoints(_1vs0, _1vrs), _1vs2 = _1vs1.c1, _1vs3 = _1vs1.c2; if (0 == isNaN(_1vrt)) { var _1vs4 = 0.99, _1vs5 = 1 - _1vs4, _1vs6 = Math.pow(_1vs5, 3) * _1vs0.x + 3 * Math.pow(_1vs5, 2) * _1vs4 * _1vs2.x + 3 * _1vs5 * _1vs4 * _1vs4 * _1vs3.x + _1vs4 * _1vs4 * _1vs4 * _1vrs.x, _1vs7 = Math.pow(_1vs5, 3) * _1vs0.y + 3 * Math.pow(_1vs5, 2) * _1vs4 * _1vs2.y + 3 * _1vs5 * _1vs4 * _1vs4 * _1vs3.y + _1vs4 * _1vs4 * _1vs4 * _1vrs.y, _1vs8 = _1vrs.y + (_1vrt - _1vrs.x) * (_1vrs.y - _1vs7) / (_1vrs.x - _1vs6), _1vs9 = _1vrs.x - _1vs6, _1vsa = (_1vrt - _1vrs.x) / _1vs9, _1vsb = _1vru / (100 + _1vsa) * 100, _1vsc = _1vru / (100 + _1vsa) * _1vsa; this._tween = _1vqy.TweenUtil.create3BezierTween(this, _1vs0, _1vs2, _1vs3, _1vrs, _1vsb), null != _1vrv && this._tween.call(_1vrv), this._tween.to({ 'x': _1vrt, 'y': _1vs8 }, _1vsc), _1vrz = new PIXI.Point(_1vrt, _1vs8); } else this._tween = _1vqy.TweenUtil.create3BezierTween(this, _1vs0, _1vs2, _1vs3, _1vrs, _1vru), null != _1vrv && this._tween.call(_1vrv), _1vrz = new PIXI.Point(_1vrs.x, _1vrs.y); return null != _1vrw && this._tween.call(_1vrw), createjs.Tween.get(null).wait(0.7 * _1vru).call(function() { var _1vsd = null; _1vqz.SE.play('116'), _1vry.fire(); }), { 's': _1vs0, 'c1': _1vs2, 'c2': _1vs3, 'e': _1vrs, 'ex': _1vrz }; }, _1vr4.prototype.debugLine = function(_1vse) { var _1vsf = null, _1vsg = new PIXI.Graphics(); return _1vsg.lineStyle(1, 16711680), _1vsg.moveTo(_1vse.s.x, _1vse.s.y), _1vsg.bezierCurveTo(_1vse.c1.x, _1vse.c1.y, _1vse.c2.x, _1vse.c2.y, _1vse.e.x, _1vse.e.y), _1vsg.lineStyle(1, 65280), _1vsg.lineTo(_1vse.ex.x, _1vse.ex.y), _1vsg; }, _1vr4.prototype._createControllPoints = function(_1vsh, _1vsi) { var _1vsj = null, _1vsk, _1vsl; return 1 == _1vsh.x <= _1vsi.x ? (_1vsk = new PIXI.Point(Math.min(_1vsh.x, _1vsi.x) + (_1vsi.x - _1vsh.x) / 3, Math.max(_1vsi.y, _1vsh.y) + 150), _1vsl = new PIXI.Point(Math.min(_1vsh.x, _1vsi.x) + (_1vsi.x - _1vsh.x) / 3 * 2, Math.max(_1vsi.y, _1vsh.y) + 150)) : (_1vsk = new PIXI.Point(Math.max(_1vsh.x, _1vsi.x) + (_1vsi.x - _1vsh.x) / 3, Math.max(_1vsi.y, _1vsh.y) + 150), _1vsl = new PIXI.Point(Math.max(_1vsh.x, _1vsi.x) + (_1vsi.x - _1vsh.x) / 3 * 2, Math.max(_1vsi.y, _1vsh.y) + 150)), { 'c1': _1vsk, 'c2': _1vsl }; }, _1vr4; }(PIXI.Container); _1vqe.PlaneTrio = _1vr1; }, 80547: function(_1vsm, _1vsn, _1vso) { 'use strict'; var _1vsp = null; var _1vsq, _1vsr = this && this.__extends || (_1vsq = function(_1vss, _1vst) { var _1vsu = null; return _1vsq = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1vsv, _1vsw) { var _1vsx = null; _1vsv.__proto__ = _1vsw; } || function(_1vsy, _1vsz) { var _1vt0 = null; for (var _1vt1 in _1vsz) Object.prototype.hasOwnProperty.call(_1vsz, _1vt1) && (_1vsy[_1vt1] = _1vsz[_1vt1]); }, _1vsq(_1vss, _1vst); }, function(_1vt2, _1vt3) { var _1vt4 = null; if ('function' != typeof _1vt3 && null !== _1vt3) throw new TypeError('Class extends value ' + String(_1vt3) + ' is not a constructor or null'); function _1vt5() { var _1vt6 = null; this.constructor = _1vt2; } _1vsq(_1vt2, _1vt3), _1vt2.prototype = null === _1vt3 ? Object.create(_1vt3) : (_1vt5.prototype = _1vt3.prototype, new _1vt5()); }); defineModule(_1vsn); Object.defineProperty(_1vsn, '__esModule', { 'value': !0 }), _1vsn.Rader = void 0; var _1vt7 = _1vso(54011), _1vt8 = _1vso(1041), _1vt9 = _1vso(63924), _1vta = _1vso(4348), _1vtb = _1vso(22434), _1vtc = _1vso(6658), _1vtd = function(_1vte) { var _1vtf = null; function _1vtg(_1vth) { var _1vti = null, _1vtj = _1vte.call(this) || this; return _1vtj._friend = _1vth, _1vtj._wave1 = new _1vt7.Sprite(), _1vtj._wave1.anchor.set(0.5), _1vtj._wave1.scale.set(0), _1vtj._wave2 = new _1vt7.Sprite(), _1vtj._wave2.anchor.set(0.5), _1vtj._wave2.scale.set(0), _1vtj._bg = new _1vt7.Sprite(), _1vtj._bg.anchor.set(0.5), _1vtj._bg.scale.set(0), _1vtj._points = new PIXI.Sprite(), _1vtj._longRange = new PIXI.Container(), _1vtj._longRange.position.set(-100, -85), _1vtj._touch_plane = new _1vtc.TouchPlane(_1vth), _1vtj.addChild(_1vtj._wave1), _1vtj.addChild(_1vtj._wave2), _1vtj.addChild(_1vtj._bg), _1vtj.addChild(_1vtj._points), _1vtj.addChild(_1vtj._longRange), _1vtj.addChild(_1vtj._touch_plane), _1vtj; } return _1vsr(_1vtg, _1vte), Object.defineProperty(_1vtg.prototype, 'touch_plane', { 'get': function() { var _1vtk = null; return this._touch_plane; }, 'enumerable': !1, 'configurable': !0 }), _1vtg.prototype.initialize = function() { var _1vtl = null; this._wave1.texture = _1vtb.BATTLE_MAIN.getTexture(90), this._wave2.texture = _1vtb.BATTLE_MAIN.getTexture(90), this._bg.texture = _1vtb.BATTLE_MAIN.getTexture(89); }, _1vtg.prototype.show = function(_1vtm, _1vtn, _1vto, _1vtp, _1vtq) { var _1vtr = null; null != this._lader_tweens && (this._lader_tweens.setPaused(!0), this._lader_tweens.removeAllEventListeners(), this._lader_tweens = null, this._longRange.removeChildren()), 0 == _1vtn ? this._show(_1vtm, _1vto, _1vtq) : this._showCombined(_1vtm, _1vtn, _1vto, _1vtp, _1vtq); }, _1vtg.prototype.wave = function() { var _1vts = null, _1vtt = this; null == this._wave_tweens && 0 != this._bg.scale.x && (this._wave_tweens = new Array(2), this._wave_tweens[0] = createjs.Tween.get(this._wave1).to({ 'scaleX': 1, 'scaleY': 1 }, 800).to({ 'scaleX': 1.2, 'scaleY': 1.2, 'alpha': 0 }, 200).call(function() { var _1vtu = null; _1vtt._wave1.scale.set(0), _1vtt._wave1.alpha = 1; }), this._wave_tweens[1] = createjs.Tween.get(this._wave2).wait(400).to({ 'scaleX': 1, 'scaleY': 1 }, 800).to({ 'scaleX': 1.2, 'scaleY': 1.2, 'alpha': 0 }, 200).call(function() { var _1vtv = null; _1vtt._wave2.scale.set(0), _1vtt._wave2.alpha = 1, _1vtt._wave_tweens = null; })); }, _1vtg.prototype._show = function(_1vtw, _1vtx, _1vty) { var _1vtz = null, _1vu0 = this, _1vu1 = createjs.Tween.get(this._bg); _1vu1.to({ 'scaleX': 1, 'scaleY': 1 }, 800), _1vty && _1vu1.call(function() { var _1vu2 = null; _1vu0.showLongRangeRader(); }), _1vtx <= 0 || _1vu1.call(function() { var _1vu3 = null, _1vu4 = new _1vt8.FormationPoints(_1vu0._friend); _1vu4.scale.set(0.65), _1vu4.initialize(_1vtw, _1vtx), _1vu0._points.addChild(_1vu4), 1 == _1vu0._friend && (_1vu4.rotation = Math.PI), _1vu4.show(); }); }, _1vtg.prototype._showCombined = function(_1vu5, _1vu6, _1vu7, _1vu8, _1vu9) { var _1vua = null, _1vub = this, _1vuc = createjs.Tween.get(this._bg); _1vuc.to({ 'scaleX': 1, 'scaleY': 1 }, 800), _1vu9 && _1vuc.call(function() { var _1vud = null; _1vub.showLongRangeRader(); }), _1vu7 <= 0 || _1vuc.call(function() { var _1vue = null, _1vuf = new _1vt9.FormationPointsCombinedMain(_1vub._friend); _1vuf.initialize(_1vu5, _1vu7, _1vu6), _1vub._points.addChild(_1vuf); var _1vug = new _1vta.FormationPointsCombinedSub(_1vub._friend); _1vug.initialize(_1vu5, _1vu8), _1vub._points.addChild(_1vug), 0 == _1vub._friend && (_1vuf.rotation = Math.PI, _1vug.rotation = Math.PI), _1vuf.show(), _1vug.show(); }); }, _1vtg.prototype.showLongRangeRader = function() { var _1vuh = null, _1vui = new _1vt7.Sprite(); _1vui.texture = _1vtb.BATTLE_MAIN.getTexture(87); var _1vuj = new _1vt7.Sprite(); _1vuj.texture = _1vtb.BATTLE_MAIN.getTexture(88), _1vuj.alpha = 0, this._longRange.addChild(_1vuj, _1vui), this._longRange.alpha = 0, createjs.Tween.get(this._longRange).to({ 'alpha': 1 }, 800), this._lader_tweens = createjs.Tween.get(_1vuj), this._lader_tweens.loop = !0, this._lader_tweens.to({ 'alpha': 1 }, 500).to({ 'alpha': 0 }, 500); }, _1vtg; }(PIXI.Container); _1vsn.Rader = _1vtd; }, 28445: function(_1vuk, _1vul, _1vum) { 'use strict'; var _1vun = null; var _1vuo, _1vup = this && this.__extends || (_1vuo = function(_1vuq, _1vur) { var _1vus = null; return _1vuo = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1vut, _1vuu) { var _1vuv = null; _1vut.__proto__ = _1vuu; } || function(_1vuw, _1vux) { var _1vuy = null; for (var _1vuz in _1vux) Object.prototype.hasOwnProperty.call(_1vux, _1vuz) && (_1vuw[_1vuz] = _1vux[_1vuz]); }, _1vuo(_1vuq, _1vur); }, function(_1vv0, _1vv1) { var _1vv2 = null; if ('function' != typeof _1vv1 && null !== _1vv1) throw new TypeError('Class extends value ' + String(_1vv1) + ' is not a constructor or null'); function _1vv3() { var _1vv4 = null; this.constructor = _1vv0; } _1vuo(_1vv0, _1vv1), _1vv0.prototype = null === _1vv1 ? Object.create(_1vv1) : (_1vv3.prototype = _1vv1.prototype, new _1vv3()); }); defineModule(_1vul); Object.defineProperty(_1vul, '__esModule', { 'value': !0 }), _1vul.SearchLight = void 0; var _1vv5 = _1vum(81755), _1vv6 = _1vum(54011), _1vv7 = _1vum(87090), _1vv8 = function(_1vv9) { var _1vva = null; function _1vvb() { var _1vvc = null, _1vvd = _1vv9.call(this) || this; return _1vvd._light = new _1vv6.Sprite(), _1vvd._light.anchor.set(0, 0.5), _1vvd.addChild(_1vvd._light), _1vvd._animatin_task = new _1vve(_1vvd), _1vvd; } return _1vup(_1vvb, _1vv9), Object.defineProperty(_1vvb.prototype, 'light', { 'get': function() { var _1vvf = null; return this._light; }, 'enumerable': !1, 'configurable': !0 }), _1vvb.prototype.initialize = function(_1vvg) { var _1vvh = null, _1vvi; _1vvi = 1 == _1vvg ? 8 : 7, this._light.texture = _1vv7.BATTLE_NIGHT.getTexture(_1vvi); }, _1vvb.prototype.getAnimationTask = function() { var _1vvj = null; return this._animatin_task; }, _1vvb; }(PIXI.Container); _1vul.SearchLight = _1vv8; var _1vve = function(_1vvk) { var _1vvl = null; function _1vvm(_1vvn) { var _1vvo = null, _1vvp = _1vvk.call(this) || this; return _1vvp._light = _1vvn, _1vvp._light.light.scale.x = 0.74, _1vvp._light.light.alpha = 0, _1vvp; } return _1vup(_1vvm, _1vvk), _1vvm.prototype._start = function() { var _1vvq = null, _1vvr = this, _1vvs = this._light.light; createjs.Tween.get(_1vvs).to({ 'scaleX': 0.95, 'scaleY': 1.12, 'alpha': 0.35 }, 433).to({ 'scaleX': 1, 'scaleY': 1.16, 'alpha': 0.5 }, 166).to({ 'scaleX': 0.98, 'scaleY': 1.16, 'alpha': 0.65 }, 166).to({ 'scaleX': 0.9, 'scaleY': 1.12, 'alpha': 1 }, 433).to({ 'scaleX': 0.9, 'scaleY': 1.12, 'alpha': 0.43 }, 200).to({ 'scaleX': 0.95, 'scaleY': 1.12, 'alpha': 0.35 }, 266).to({ 'scaleX': 1, 'scaleY': 1.16, 'alpha': 0.5 }, 166).to({ 'scaleX': 0.98, 'scaleY': 1.16, 'alpha': 0.65 }, 166).to({ 'scaleX': 0.9, 'scaleY': 1.12, 'alpha': 1 }, 433).to({ 'scaleX': 0.9, 'scaleY': 1.12, 'alpha': 0 }, 200).wait(200).call(function() { var _1vvt = null; _1vvr._endTask(); }); }, _1vvm.prototype._endTask = function() { var _1vvu = null; this._light = null, _1vvk.prototype._endTask.call(this); }, _1vvm; }(_1vv5.TaskBase); }, 69605: function(_1vvv, _1vvw, _1vvx) { 'use strict'; var _1vvy = null; var _1vvz, _1vw0 = this && this.__extends || (_1vvz = function(_1vw1, _1vw2) { var _1vw3 = null; return _1vvz = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1vw4, _1vw5) { var _1vw6 = null; _1vw4.__proto__ = _1vw5; } || function(_1vw7, _1vw8) { var _1vw9 = null; for (var _1vwa in _1vw8) Object.prototype.hasOwnProperty.call(_1vw8, _1vwa) && (_1vw7[_1vwa] = _1vw8[_1vwa]); }, _1vvz(_1vw1, _1vw2); }, function(_1vwb, _1vwc) { var _1vwd = null; if ('function' != typeof _1vwc && null !== _1vwc) throw new TypeError('Class extends value ' + String(_1vwc) + ' is not a constructor or null'); function _1vwe() { var _1vwf = null; this.constructor = _1vwb; } _1vvz(_1vwb, _1vwc), _1vwb.prototype = null === _1vwc ? Object.create(_1vwc) : (_1vwe.prototype = _1vwc.prototype, new _1vwe()); }); defineModule(_1vvw); Object.defineProperty(_1vvw, '__esModule', { 'value': !0 }), _1vvw.Shield = void 0; var _1vwg = _1vvx(22434), _1vwh = function(_1vwi) { var _1vwj = null; function _1vwk() { var _1vwl = null, _1vwm = _1vwi.call(this) || this; return _1vwm.anchor.set(0.5), _1vwm.alpha = 0, _1vwm; } return _1vw0(_1vwk, _1vwi), _1vwk.prototype.initialize = function() { var _1vwn = null; this.texture = _1vwg.BATTLE_MAIN.getTexture(119); }, _1vwk.prototype.play = function() { var _1vwo = null, _1vwp = this; createjs.Tween.get({ 'a': 0, 'r': 255, 'g': 255, 'b': 255 }, { 'onChange': function(_1vwq) { var _1vwr = null, _1vws = _1vwq.target.target; _1vwp.alpha = _1vws.a; var _1vwt = (Math.round(_1vws.r) << 16) + (Math.round(_1vws.g) << 8) + Math.round(_1vws.b); _1vwp.tint = _1vwt; } }).to({ 'a': 1 }, 100).to({ 'r': 128 }, 100).to({ 'r': 255, 'g': 192, 'b': 192 }, 100).to({ 'a': 0 }, 100).call(function() { var _1vwu = null; null != _1vwp.parent && _1vwp.parent.removeChild(_1vwp); }); }, _1vwk; }(PIXI.Sprite); _1vvw.Shield = _1vwh; }, 87737: function(_1vwv, _1vww, _1vwx) { 'use strict'; var _1vwy = null; var _1vwz, _1vx0 = this && this.__extends || (_1vwz = function(_1vx1, _1vx2) { var _1vx3 = null; return _1vwz = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1vx4, _1vx5) { var _1vx6 = null; _1vx4.__proto__ = _1vx5; } || function(_1vx7, _1vx8) { var _1vx9 = null; for (var _1vxa in _1vx8) Object.prototype.hasOwnProperty.call(_1vx8, _1vxa) && (_1vx7[_1vxa] = _1vx8[_1vxa]); }, _1vwz(_1vx1, _1vx2); }, function(_1vxb, _1vxc) { var _1vxd = null; if ('function' != typeof _1vxc && null !== _1vxc) throw new TypeError('Class extends value ' + String(_1vxc) + ' is not a constructor or null'); function _1vxe() { var _1vxf = null; this.constructor = _1vxb; } _1vwz(_1vxb, _1vxc), _1vxb.prototype = null === _1vxc ? Object.create(_1vxc) : (_1vxe.prototype = _1vxc.prototype, new _1vxe()); }); defineModule(_1vww); Object.defineProperty(_1vww, '__esModule', { 'value': !0 }), _1vww.ShipFlash = void 0; var _1vxg = function(_1vxh) { var _1vxi = null; function _1vxj(_1vxk) { var _1vxl = null, _1vxm = _1vxh.call(this, _1vxk) || this; if (PIXI.utils.isWebGLSupported()) { var _1vxn = new PIXI.filters.ColorMatrixFilter(); _1vxn.matrix = [1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0.7, 0, 0, 0, 1, 0], _1vxm.filters = [_1vxn], _1vxm.tint = 0, _1vxm.alpha = 0; } else _1vxm.visible = !1; return _1vxm; } return _1vx0(_1vxj, _1vxh), _1vxj.prototype.play = function() { var _1vxo = null; this.alpha = 0, createjs.Tween.get(this).to({ 'alpha': 0.4 }, 135).to({ 'alpha': 0 }, 1); }, _1vxj; }(_1vwx(54011).Sprite); _1vww.ShipFlash = _1vxg; }, 48919: function(_1vxp, _1vxq, _1vxr) { 'use strict'; var _1vxs = null; var _1vxt, _1vxu = this && this.__extends || (_1vxt = function(_1vxv, _1vxw) { var _1vxx = null; return _1vxt = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1vxy, _1vxz) { var _1vy0 = null; _1vxy.__proto__ = _1vxz; } || function(_1vy1, _1vy2) { var _1vy3 = null; for (var _1vy4 in _1vy2) Object.prototype.hasOwnProperty.call(_1vy2, _1vy4) && (_1vy1[_1vy4] = _1vy2[_1vy4]); }, _1vxt(_1vxv, _1vxw); }, function(_1vy5, _1vy6) { var _1vy7 = null; if ('function' != typeof _1vy6 && null !== _1vy6) throw new TypeError('Class extends value ' + String(_1vy6) + ' is not a constructor or null'); function _1vy8() { var _1vy9 = null; this.constructor = _1vy5; } _1vxt(_1vy5, _1vy6), _1vy5.prototype = null === _1vy6 ? Object.create(_1vy6) : (_1vy8.prototype = _1vy6.prototype, new _1vy8()); }); defineModule(_1vxq); Object.defineProperty(_1vxq, '__esModule', { 'value': !0 }), _1vxq.SubMarineWave = void 0; var _1vya = _1vxr(54011), _1vyb = _1vxr(22434), _1vyc = function(_1vyd) { var _1vye = null; function _1vyf() { var _1vyg = null, _1vyh = _1vyd.call(this) || this; return _1vyh._wave1 = new _1vya.Sprite(), _1vyh._wave1.anchor.set(0.5), _1vyh._wave2 = new _1vya.Sprite(), _1vyh._wave2.anchor.set(0.5), _1vyh.addChild(_1vyh._wave1), _1vyh.addChild(_1vyh._wave2), _1vyh; } return _1vxu(_1vyf, _1vyd), _1vyf.prototype.initialize = function() { var _1vyi = null; this._wave1.scale.set(0), this._wave2.scale.set(0), this._wave1.alpha = 0, this._wave2.alpha = 0, this._wave1.texture = _1vyb.BATTLE_MAIN.getTexture(117), this._wave2.texture = _1vyb.BATTLE_MAIN.getTexture(117); }, _1vyf.prototype.play = function() { var _1vyj = null, _1vyk = this; createjs.Tween.get(this._wave1).to({ 'scaleX': 1, 'scaleY': 1, 'alpha': 1 }, 1000).to({ 'alpha': 0 }, 300), createjs.Tween.get(this._wave2).wait(600).to({ 'scaleX': 1, 'scaleY': 1, 'alpha': 1 }, 1000).to({ 'alpha': 0 }, 300).call(function() { var _1vyl = null; _1vyk.removeChildren(), null != _1vyk.parent && _1vyk.parent.removeChild(_1vyk); }); }, _1vyf; }(PIXI.Container); _1vxq.SubMarineWave = _1vyc; }, 9733: function(_1vym, _1vyn, _1vyo) { 'use strict'; var _1vyp = null; var _1vyq, _1vyr = this && this.__extends || (_1vyq = function(_1vys, _1vyt) { var _1vyu = null; return _1vyq = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1vyv, _1vyw) { var _1vyx = null; _1vyv.__proto__ = _1vyw; } || function(_1vyy, _1vyz) { var _1vz0 = null; for (var _1vz1 in _1vyz) Object.prototype.hasOwnProperty.call(_1vyz, _1vz1) && (_1vyy[_1vz1] = _1vyz[_1vz1]); }, _1vyq(_1vys, _1vyt); }, function(_1vz2, _1vz3) { var _1vz4 = null; if ('function' != typeof _1vz3 && null !== _1vz3) throw new TypeError('Class extends value ' + String(_1vz3) + ' is not a constructor or null'); function _1vz5() { var _1vz6 = null; this.constructor = _1vz2; } _1vyq(_1vz2, _1vz3), _1vz2.prototype = null === _1vz3 ? Object.create(_1vz3) : (_1vz5.prototype = _1vz3.prototype, new _1vz5()); }), _1vz7 = this && this.__importDefault || function(_1vz8) { var _1vz9 = null; return _1vz8 && _1vz8.__esModule ? _1vz8 : { 'default': _1vz8 }; }; defineModule(_1vyn); Object.defineProperty(_1vyn, '__esModule', { 'value': !0 }), _1vyn.SupportDeckCutin = void 0; var _1vza = _1vz7(_1vyo(21359)), _1vzb = _1vyo(23907), _1vzc = _1vyo(22434), _1vzd = function(_1vze) { var _1vzf = null; function _1vzg() { var _1vzh = null, _1vzi = _1vze.call(this) || this; return _1vzi._bg = new PIXI.Sprite(), _1vzi._bg.anchor.set(0.5, 0.5), _1vzi._bg.position.set(_1vza.default.width / 2, _1vza.default.height / 2), _1vzi.addChild(_1vzi._bg), _1vzi._message = new _1vzj(), _1vzi.addChild(_1vzi._message), _1vzi._banner_top = new _1vzk(), _1vzi.addChild(_1vzi._banner_top), _1vzi._banner_bottom = new _1vzk(), _1vzi.addChild(_1vzi._banner_bottom), _1vzi._particles = new _1vzl(), _1vzi.addChild(_1vzi._particles), _1vzi; } return _1vyr(_1vzg, _1vze), Object.defineProperty(_1vzg.prototype, 'bg', { 'get': function() { var _1vzm = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1vzg.prototype, 'message', { 'get': function() { var _1vzn = null; return this._message; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1vzg.prototype, 'banner_top', { 'get': function() { var _1vzo = null; return this._banner_top; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1vzg.prototype, 'banner_bottom', { 'get': function() { var _1vzp = null; return this._banner_bottom; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1vzg.prototype, 'particles', { 'get': function() { var _1vzq = null; return this._particles; }, 'enumerable': !1, 'configurable': !0 }), _1vzg.prototype.initialize = function() { var _1vzr = null; this._bg.texture = _1vzb.COMMON_EXPEDITION.getTexture(10), this._message.initialize(_1vzc.BATTLE_MAIN.getTexture(34)), this._particles.initialize(); }, _1vzg.prototype.dispose = function() { var _1vzs = null; this._bg = null, this._message = null, null != this._banner_top && this._banner_top.dispose(), this._banner_top = null, null != this._banner_bottom && this._banner_bottom.dispose(), this._banner_bottom = null, null != this._particles && this._particles.dispose(), this._particles = null; }, _1vzg; }(PIXI.Container); _1vyn.SupportDeckCutin = _1vzd; var _1vzk = function(_1vzt) { var _1vzu = null; function _1vzv() { var _1vzw = null; return _1vzt.call(this) || this; } return _1vyr(_1vzv, _1vzt), _1vzv.prototype.dispose = function() { var _1vzx = null; this.removeChildren(); }, _1vzv; }(PIXI.Container), _1vzl = function(_1vzy) { var _1vzz = null; function _1w00() { var _1w01 = null, _1w02 = _1vzy.call(this) || this; return _1w02.XPOS = [-164, -116, -102, -62, -36, 0, 65, 90, 141, 195, 215, 270], _1w02.YPOS = [-33, 32, -51, -24, 48, -3, -47, 51, -30, 29, -45, -14], _1w02; } return _1vyr(_1w00, _1vzy), _1w00.prototype.initialize = function() { var _1w03 = null; for (var _1w04 in (this._particles = new Array(), this.XPOS)) { var _1w05 = new PIXI.Sprite(_1vzb.COMMON_EXPEDITION.getTexture(5)); _1w05.anchor.set(0.5, 0.5), _1w05.scale.set(0, 0), _1w05.position.set(this.XPOS[_1w04] + _1vza.default.width / 2, this.YPOS[_1w04] + _1vza.default.height / 2), this.addChild(_1w05), this._particles.push(_1w05); } }, _1w00.prototype.startAnim = function() { var _1w06 = null; if (null == this._tweens) { this._tweens = []; for (var _1w07 = 0; _1w07 < this._particles.length; _1w07++) { var _1w08 = this._particles[_1w07], _1w09 = createjs.Tween.get(_1w08.scale).wait(100 * _1w07).to({ 'x': 1, 'y': 1 }, 100).to({ 'x': 0, 'y': 0 }, 100); this._tweens.push(_1w09); } } }, _1w00.prototype.dispose = function() { var _1w0a = null; for (var _1w0b = 0, _1w0c = this._tweens; _1w0b < _1w0c.length; _1w0b++) { _1w0c[_1w0b].setPaused(!0); } this._tweens = null, this._particles = null, this.removeChildren(); }, _1w00; }(PIXI.Container), _1vzj = function(_1w0d) { var _1w0e = null; function _1w0f() { var _1w0g = null, _1w0h = _1w0d.call(this) || this; return _1w0h._img = new PIXI.Sprite(), _1w0h.addChild(_1w0h._img), _1w0h; } return _1vyr(_1w0f, _1w0d), _1w0f.prototype.initialize = function(_1w0i) { var _1w0j = null; this._img.texture = _1w0i, this._img.x = -Math.round(this._img.width / 2), this._img.y = -Math.round(this._img.height / 2); }, _1w0f; }(PIXI.Container); }, 22407: function(_1w0k, _1w0l, _1w0m) { 'use strict'; var _1w0n = null; var _1w0o, _1w0p = this && this.__extends || (_1w0o = function(_1w0q, _1w0r) { var _1w0s = null; return _1w0o = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1w0t, _1w0u) { var _1w0v = null; _1w0t.__proto__ = _1w0u; } || function(_1w0w, _1w0x) { var _1w0y = null; for (var _1w0z in _1w0x) Object.prototype.hasOwnProperty.call(_1w0x, _1w0z) && (_1w0w[_1w0z] = _1w0x[_1w0z]); }, _1w0o(_1w0q, _1w0r); }, function(_1w10, _1w11) { var _1w12 = null; if ('function' != typeof _1w11 && null !== _1w11) throw new TypeError('Class extends value ' + String(_1w11) + ' is not a constructor or null'); function _1w13() { var _1w14 = null; this.constructor = _1w10; } _1w0o(_1w10, _1w11), _1w10.prototype = null === _1w11 ? Object.create(_1w11) : (_1w13.prototype = _1w11.prototype, new _1w13()); }); defineModule(_1w0l); Object.defineProperty(_1w0l, '__esModule', { 'value': !0 }), _1w0l.TelopBG = void 0; var _1w15 = function(_1w16) { var _1w17 = null; function _1w18() { var _1w19 = null; return _1w16.call(this) || this; } return _1w0p(_1w18, _1w16), _1w18.prototype.initialize = function(_1w1a, _1w1b) { var _1w1c = null; this.removeChildren(); var _1w1d = _1w1a ? _1w1b ? 'battle_telop_mes2_f_hbg' : 'battle_telop_mes2_f_ybg' : _1w1b ? 'battle_telop_mes2_e_hbg' : 'battle_telop_mes2_e_ybg', _1w1e = PIXI.Sprite.fromFrame(_1w1d); _1w1e.x = -Math.floor(_1w1e.width / 2), _1w1e.y = -Math.floor(_1w1e.height / 2), this.addChild(_1w1e); }, _1w18; }(_1w0m(45054).Container); _1w0l.TelopBG = _1w15; }, 65865: function(_1w1f, _1w1g, _1w1h) { 'use strict'; var _1w1i = null; var _1w1j, _1w1k = this && this.__extends || (_1w1j = function(_1w1l, _1w1m) { var _1w1n = null; return _1w1j = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1w1o, _1w1p) { var _1w1q = null; _1w1o.__proto__ = _1w1p; } || function(_1w1r, _1w1s) { var _1w1t = null; for (var _1w1u in _1w1s) Object.prototype.hasOwnProperty.call(_1w1s, _1w1u) && (_1w1r[_1w1u] = _1w1s[_1w1u]); }, _1w1j(_1w1l, _1w1m); }, function(_1w1v, _1w1w) { var _1w1x = null; if ('function' != typeof _1w1w && null !== _1w1w) throw new TypeError('Class extends value ' + String(_1w1w) + ' is not a constructor or null'); function _1w1y() { var _1w1z = null; this.constructor = _1w1v; } _1w1j(_1w1v, _1w1w), _1w1v.prototype = null === _1w1w ? Object.create(_1w1w) : (_1w1y.prototype = _1w1w.prototype, new _1w1y()); }); defineModule(_1w1g); Object.defineProperty(_1w1g, '__esModule', { 'value': !0 }), _1w1g.Splash = _1w1g.Torpedo = void 0; var _1w20 = _1w1h(22434), _1w21 = function(_1w22) { var _1w23 = null; function _1w24(_1w25) { var _1w26 = null, _1w27 = _1w22.call(this) || this; switch (_1w27.sprite = new PIXI.Sprite(), _1w27.type = _1w25, _1w25) { case 1: _1w27.sprite.texture = _1w20.BATTLE_MAIN.getTexture(64), _1w27.sprite.anchor.set(0.04, 0.5); break; case 2: _1w27.sprite.texture = _1w20.BATTLE_MAIN.getTexture(55), _1w27.sprite.anchor.set(0.04, 0.5); break; case 3: case 4: _1w27.sprite.texture = _1w20.BATTLE_MAIN.getTexture(54), _1w27.sprite.anchor.set(0.5); } return _1w27; } return _1w1k(_1w24, _1w22), _1w24.prototype.dispose = function() { var _1w28 = null; this.sprite = null, this.from = null, this.to = null, this.type = null, this.friend = null; }, _1w24.prototype.initialize = function() { var _1w29 = null, _1w2a = Math.atan2(this.to.y - this.from.y, this.to.x - this.from.x); this.sprite.position.set(this.from.x, this.from.y), this.sprite.rotation = _1w2a, this.sprite.alpha = 0, this.setMask(), this.addChild(this.sprite); }, _1w24.prototype.setMask = function() { var _1w2b = null, _1w2c = Math.min(this.sprite.width, this.sprite.height); _1w2c = Math.pow(_1w2c, 2), _1w2c = Math.sqrt(_1w2c + _1w2c); var _1w2d = new PIXI.Graphics(); _1w2d.beginFill(6710886, 0.5); var _1w2e = Math.min(this.from.x, this.to.x), _1w2f = Math.min(this.from.y, this.to.y) - _1w2c, _1w2g = Math.abs(this.to.x - this.from.x), _1w2h = Math.abs(this.to.y - this.from.y) + 2 * _1w2c; _1w2d.drawRect(_1w2e, _1w2f, _1w2g, _1w2h), _1w2d.endFill(), this.sprite.mask = _1w2d, this.addChild(_1w2d); }, _1w24.prototype.play = function(_1w2i, _1w2j, _1w2k, _1w2l) { var _1w2m = null; switch (void 0 === _1w2k && (_1w2k = 1800), void 0 === _1w2l && (_1w2l = null), this.from = new PIXI.Point(_1w2i.x, _1w2i.y), this.to = new PIXI.Point(_1w2j.x, _1w2j.y), this.friend = this.from.x <= this.to.x, this.type) { case 1: case 2: this.initialize(), this.move(_1w2k, _1w2l); break; case 3: this.position.set(this.from.x, this.from.y), this.sprite.scale.x = this.friend ? -1 : 1, this.addChild(this.sprite), this._aerial1(); break; case 4: this.position.set(this.from.x, this.from.y), this._aerial1(); break; case 5: this.position.set(this.from.x, this.from.y), this.addChild(this.sprite), this.sprite.scale.x = this.friend ? -1 : 1, this._aerial1(); } }, _1w24.prototype.move = function(_1w2n, _1w2o) { var _1w2p = null, _1w2q = this; void 0 === _1w2n && (_1w2n = 1800), void 0 === _1w2o && (_1w2o = null), createjs.Tween.get(this.sprite).to({ 'alpha': 1 }, 200).wait(Math.max(_1w2n - 400, 0)).to({ 'alpha': 0 }, 200).call(function() { var _1w2r = null; _1w2q.removeChildren(), null != _1w2o && _1w2o(); }), createjs.Tween.get(this.sprite).to({ 'x': this.to.x, 'y': this.to.y }, _1w2n); }, _1w24.prototype._aerial1 = function(_1w2s) { var _1w2t = null, _1w2u = this; switch (void 0 === _1w2s && (_1w2s = null), this.type) { case 3: createjs.Tween.get(this).to({ 'y': this.from.y + 90 }, 800, createjs.Ease.sineIn).call(function() { var _1w2v = null; _1w2u.removeChildren(), _1w2u._aerial2(_1w2s); }); break; case 5: var _1w2w = new _1w2x(); _1w2w.initialize(), _1w2w.activate(), _1w2w.scale.x = this.friend ? -1 : 1, this.addChild(_1w2w), createjs.Tween.get(this).to({ 'y': this.from.y + 90 }, 500, createjs.Ease.sineIn).call(function() { var _1w2y = null; _1w2u.removeChildren(), _1w2w.deactivate(), _1w2u._aerial2(_1w2s); }); break; case 4: var _1w2z = this.from.x + (this.to.x - this.from.x) / 5; createjs.Tween.get(this).to({ 'x': _1w2z, 'y': this.from.y + 90 }, 400, createjs.Ease.sineIn).call(function() { var _1w30 = null; _1w2u.removeChildren(), _1w2u._aerial2(_1w2s); }); } }, _1w24.prototype._aerial2 = function(_1w31) { var _1w32 = null, _1w33 = this; void 0 === _1w31 && (_1w31 = null); var _1w34 = 0, _1w35 = new _1w36(this.friend); switch (this.addChild(_1w35), this.type) { case 3: case 5: _1w34 = 100; break; case 4: _1w34 = 50; } _1w35.play(_1w34, function() { var _1w37 = null; _1w33.removeChild(_1w35), _1w33._aerial3(_1w31); }); }, _1w24.prototype._aerial3 = function(_1w38) { var _1w39 = null, _1w3a = this; void 0 === _1w38 && (_1w38 = null); var _1w3b = Math.atan2(this.to.y - this.y, this.to.x - this.x); switch (this.type) { case 3: var _1w3c = new PIXI.Sprite(_1w20.BATTLE_MAIN.getTexture(65)); _1w3c.anchor.set(1, 0.5), _1w3c.scale.set(0, 1), _1w3c.rotation = _1w3b, this.addChild(_1w3c), createjs.Tween.get(_1w3c.scale).to({ 'x': 1 }, 100), createjs.Tween.get(this).to({ 'x': this.to.x, 'y': this.to.y }, 700).to({ 'alpha': 0 }, 50).call(function() { var _1w3d = null; _1w3a.removeChildren(), _1w3a.emit('complete'); }); break; case 5: var _1w3e = new _1w3f(); _1w3e.scale.set(0, 1), _1w3e.initialize(), _1w3e.activate(), _1w3e.rotation = _1w3b, this.addChild(_1w3e), createjs.Tween.get(_1w3e.scale).to({ 'x': 1 }, 100), createjs.Tween.get(this).to({ 'x': this.to.x, 'y': this.to.y }, 700).to({ 'alpha': 0 }, 50).call(function() { var _1w3g = null; _1w3a.removeChildren(), _1w3e.deactivate(), _1w3a.emit('complete'); }); break; case 4: new PIXI.Sprite(_1w20.BATTLE_MAIN.getTexture(65)), (_1w3c.anchor.set(1, 0.5), _1w3c.scale.set(0, 1), _1w3c.rotation = _1w3b, this.addChild(_1w3c), createjs.Tween.get(_1w3c.scale).to({ 'x': 1 }, 50), createjs.Tween.get(this).to({ 'x': this.to.x, 'y': this.to.y }, 560).to({ 'alpha': 0 }, 50).call(function() { var _1w3h = null; _1w3a.removeChildren(), null != _1w38 && _1w38(); })); } }, _1w24; }(PIXI.Container); _1w1g.Torpedo = _1w21; var _1w2x = function(_1w3i) { var _1w3j = null; function _1w3k() { var _1w3l = null, _1w3m = _1w3i.call(this) || this; return _1w3m._bullet1 = new PIXI.Sprite(), _1w3m._bullet1.anchor.set(0.5), _1w3m._bullet1.scale.set(0.75), _1w3m.addChild(_1w3m._bullet1), _1w3m._bullet2 = new PIXI.Sprite(), _1w3m._bullet2.anchor.set(0.5), _1w3m._bullet2.scale.set(0.58), _1w3m.addChild(_1w3m._bullet2), _1w3m._bullet3 = new PIXI.Sprite(), _1w3m._bullet3.anchor.set(0.5), _1w3m._bullet3.scale.set(0.58), _1w3m.addChild(_1w3m._bullet3), _1w3m; } return _1w1k(_1w3k, _1w3i), _1w3k.prototype.initialize = function() { var _1w3n = null; this._bullet1.texture = _1w20.BATTLE_MAIN.getTexture(54), this._bullet1.position.set(6, 6), this._bullet2.texture = _1w20.BATTLE_MAIN.getTexture(54), this._bullet2.position.set(5, 17), this._bullet3.texture = _1w20.BATTLE_MAIN.getTexture(54), this._bullet3.position.set(-8, -3); }, _1w3k.prototype.activate = function() { var _1w3o = null; if (null == this._tweens) { this._tweens = [], this._bullet1.position.set(6, 6); var _1w3p = createjs.Tween.get(this._bullet1, { 'loop': !0 }).to({ 'x': 3, 'y': 9 }, 300).to({ 'x': 2, 'y': 8 }, 300).to({ 'x': 6, 'y': 6 }, 200); this._tweens.push(_1w3p), this._bullet2.position.set(5, 17), _1w3p = createjs.Tween.get(this._bullet2, { 'loop': !0 }).to({ 'x': 6, 'y': 18 }, 200).to({ 'x': 3, 'y': 20 }, 300).to({ 'x': 53, 'y': 17 }, 300), this._tweens.push(_1w3p), this._bullet3.position.set(-8, -3), _1w3p = createjs.Tween.get(this._bullet3, { 'loop': !0 }).to({ 'x': -6, 'y': -5 }, 250).to({ 'x': -5, 'y': 0 }, 300).to({ 'x': -8, 'y': -3 }, 250), this._tweens.push(_1w3p); } }, _1w3k.prototype.deactivate = function() { var _1w3q = null; if (null != this._tweens) { for (var _1w3r = 0, _1w3s = this._tweens; _1w3r < _1w3s.length; _1w3r++) { _1w3s[_1w3r].setPaused(!0); } this._tweens = null; } }, _1w3k; }(PIXI.Container), _1w3f = function(_1w3t) { var _1w3u = null; function _1w3v() { var _1w3w = null, _1w3x = _1w3t.call(this) || this; return _1w3x._bullet1 = new PIXI.Sprite(), _1w3x._bullet1.anchor.set(1, 0.6), _1w3x._bullet1.scale.set(0.5), _1w3x.addChild(_1w3x._bullet1), _1w3x._bullet2 = new PIXI.Sprite(), _1w3x._bullet2.anchor.set(1, 0.6), _1w3x._bullet2.scale.set(0.75), _1w3x.addChild(_1w3x._bullet2), _1w3x._bullet3 = new PIXI.Sprite(), _1w3x._bullet3.anchor.set(1, 0.6), _1w3x._bullet3.scale.set(0.5), _1w3x.addChild(_1w3x._bullet3), _1w3x; } return _1w1k(_1w3v, _1w3t), _1w3v.prototype.initialize = function() { var _1w3y = null; this._bullet1.texture = _1w20.BATTLE_MAIN.getTexture(56), this._bullet1.position.set(-3, 11), this._bullet2.texture = _1w20.BATTLE_MAIN.getTexture(56), this._bullet2.position.set(5, -2), this._bullet3.texture = _1w20.BATTLE_MAIN.getTexture(56), this._bullet3.position.set(-14, -8); }, _1w3v.prototype.activate = function() { var _1w3z = null; if (null == this._tweens) { this._tweens = [], this._bullet1.position.set(-3, 11); var _1w40 = createjs.Tween.get(this._bullet1, { 'loop': !0 }).to({ 'x': -8, 'y': 0 }, 250).to({ 'x': -2, 'y': -12 }, 250).to({ 'x': 6, 'y': 0 }, 250).to({ 'x': -3, 'y': 11 }, 250); this._tweens.push(_1w40), this._bullet3.position.set(-14, -8), _1w40 = createjs.Tween.get(this._bullet3, { 'loop': !0 }).to({ 'x': 3, 'y': 0 }, 250).to({ 'x': -14, 'y': 8 }, 250).to({ 'x': -21, 'y': 0 }, 250).to({ 'x': -14, 'y': -8 }, 250), this._tweens.push(_1w40); } }, _1w3v.prototype.deactivate = function() { var _1w41 = null; if (null != this._tweens) { for (var _1w42 = 0, _1w43 = this._tweens; _1w42 < _1w43.length; _1w42++) { _1w43[_1w42].setPaused(!0); } this._tweens = null; } }, _1w3v; }(PIXI.Container), _1w36 = function(_1w44) { var _1w45 = null; function _1w46(_1w47) { var _1w48 = null, _1w49 = this, _1w4a = _1w20.BATTLE_MAIN.getTexture(125); return (_1w49 = _1w44.call(this, _1w4a) || this).anchor.set(0.5, 1), _1w49.scale.set(0.18 * (_1w47 ? 1 : -1), 0.18), _1w49; } return _1w1k(_1w46, _1w44), _1w46.prototype.play = function(_1w4b, _1w4c) { var _1w4d = null; void 0 === _1w4b && (_1w4b = 100), void 0 === _1w4c && (_1w4c = null), createjs.Tween.get(this.scale).to({ 'x': 0, 'y': 0 }, _1w4b).call(function() { null != _1w4c && _1w4c(); }); }, _1w46; }(PIXI.Sprite); _1w1g.Splash = _1w36; }, 31911: function(_1w4e, _1w4f, _1w4g) { 'use strict'; var _1w4h = null; var _1w4i, _1w4j = this && this.__extends || (_1w4i = function(_1w4k, _1w4l) { var _1w4m = null; return _1w4i = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1w4n, _1w4o) { var _1w4p = null; _1w4n.__proto__ = _1w4o; } || function(_1w4q, _1w4r) { var _1w4s = null; for (var _1w4t in _1w4r) Object.prototype.hasOwnProperty.call(_1w4r, _1w4t) && (_1w4q[_1w4t] = _1w4r[_1w4t]); }, _1w4i(_1w4k, _1w4l); }, function(_1w4u, _1w4v) { var _1w4w = null; if ('function' != typeof _1w4v && null !== _1w4v) throw new TypeError('Class extends value ' + String(_1w4v) + ' is not a constructor or null'); function _1w4x() { var _1w4y = null; this.constructor = _1w4u; } _1w4i(_1w4u, _1w4v), _1w4u.prototype = null === _1w4v ? Object.create(_1w4v) : (_1w4x.prototype = _1w4v.prototype, new _1w4x()); }); defineModule(_1w4f); Object.defineProperty(_1w4f, '__esModule', { 'value': !0 }), _1w4f.TorpedoWaterColumn = void 0; var _1w4z = _1w4g(54011), _1w50 = _1w4g(22434), _1w51 = function(_1w52) { var _1w53 = null; function _1w54() { var _1w55 = null, _1w56 = _1w52.call(this) || this; return _1w56._splash1 = new _1w4z.Sprite(), _1w56._splash2 = new _1w4z.Sprite(), _1w56._splash3 = new _1w4z.Sprite(), _1w56._splash1.anchor.set(0.5, 0.87), _1w56._splash2.anchor.set(0.56, 0.95), _1w56._splash3.anchor.set(0.58, 0.9), _1w56._splash1.position.set(5, 5), _1w56._splash2.position.set(18, -11), _1w56._splash3.position.set(24, -26), _1w56._init(), _1w56.addChild(_1w56._splash1), _1w56.addChild(_1w56._splash2), _1w56.addChild(_1w56._splash3), _1w56; } return _1w4j(_1w54, _1w52), _1w54.prototype.initialize = function() { var _1w57 = null; this._splash1.texture = _1w50.BATTLE_MAIN.getTexture(124), this._splash2.texture = _1w50.BATTLE_MAIN.getTexture(125), this._splash3.texture = _1w50.BATTLE_MAIN.getTexture(126); }, _1w54.prototype.play = function() { var _1w58 = null, _1w59 = this; createjs.Tween.get(this._splash1).to({ 'scaleX': 1, 'scaleY': 1 }, 366).to({ 'scaleX': 0.78, 'scaleY': 0.78, 'alpha': 0 }, 200), createjs.Tween.get(this._splash2).wait(200).to({ 'scaleX': 1, 'scaleY': 1 }, 200).to({ 'alpha': 0 }, 33), createjs.Tween.get(this._splash3).wait(333).to({ 'scaleX': 1, 'scaleY': 1 }, 166).to({ 'scaleX': 0.88, 'scaleY': 0.88, 'alpha': 0 }, 166).call(function() { var _1w5a = null; _1w59._init(), _1w59.emit('complete'); }); }, _1w54.prototype._init = function() { var _1w5b = null; this._splash1.alpha = 1, this._splash1.scale.set(0), this._splash2.alpha = 1, this._splash2.scale.set(0), this._splash3.alpha = 1, this._splash3.scale.set(0); }, _1w54; }(PIXI.Container); _1w4f.TorpedoWaterColumn = _1w51; }, 6658: function(_1w5c, _1w5d, _1w5e) { 'use strict'; var _1w5f = null; var _1w5g, _1w5h = this && this.__extends || (_1w5g = function(_1w5i, _1w5j) { var _1w5k = null; return _1w5g = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1w5l, _1w5m) { var _1w5n = null; _1w5l.__proto__ = _1w5m; } || function(_1w5o, _1w5p) { var _1w5q = null; for (var _1w5r in _1w5p) Object.prototype.hasOwnProperty.call(_1w5p, _1w5r) && (_1w5o[_1w5r] = _1w5p[_1w5r]); }, _1w5g(_1w5i, _1w5j); }, function(_1w5s, _1w5t) { var _1w5u = null; if ('function' != typeof _1w5t && null !== _1w5t) throw new TypeError('Class extends value ' + String(_1w5t) + ' is not a constructor or null'); function _1w5v() { var _1w5w = null; this.constructor = _1w5s; } _1w5g(_1w5s, _1w5t), _1w5s.prototype = null === _1w5t ? Object.create(_1w5t) : (_1w5v.prototype = _1w5t.prototype, new _1w5v()); }); defineModule(_1w5d); Object.defineProperty(_1w5d, '__esModule', { 'value': !0 }), _1w5d.TouchPlane = void 0; var _1w5x = _1w5e(22434), _1w5y = _1w5e(46682), _1w5z = function(_1w60) { var _1w61 = null; function _1w62(_1w63) { var _1w64 = null, _1w65 = _1w60.call(this) || this; return _1w65._mst_id = -1, _1w65._friend = _1w63, _1w65._plane = new _1w5y.Plane(), _1w65._plane.scale.set(-0.25, 0.25), _1w65._label = new _1w66(), _1w65._label.position.set(-56, 35), _1w65.addChild(_1w65._plane), _1w65.addChild(_1w65._label), _1w65; } return _1w5h(_1w62, _1w60), _1w62.prototype.initialize = function(_1w67) { var _1w68 = null; this._mst_id = _1w67, this._stopShowTween(), this._stopHideTween(), this._label.initialize(); }, _1w62.prototype.show = function() { var _1w69 = null, _1w6a = this; null == this._show_tween && (this._mst_id <= 0 || (this._stopHideTween(), this._label.activate(), this._plane.visible = !1, this._plane.initialize(this._mst_id, this._friend), this._plane.activate(), this._show_tween = createjs.Tween.get(this._plane).wait(133).call(function() { var _1w6b = null; _1w6a._plane.alpha = 0.5, _1w6a._plane.visible = !0; }).wait(100).call(function() { var _1w6c = null; _1w6a._plane.visible = !1; }).wait(500).call(function() { var _1w6d = null; _1w6a._plane.alpha = 0.85, _1w6a._plane.visible = !0; }).wait(100).call(function() { var _1w6e = null; _1w6a._plane.alpha = 0.6, _1w6a._plane.filters = null; }).to({ 'alpha': 0.8 }, 166).call(function() { var _1w6f = null; _1w6a._show_tween = null; }))); }, _1w62.prototype.hide = function() { var _1w6g = null, _1w6h = this; null == this._hide_tween && (this._stopShowTween(), this._mst_id > 0 && (this._mst_id = -1, this._label.deactivate(), this._hide_tween = createjs.Tween.get(this._plane).to({ 'alpha': 0 }, 200).call(function() { var _1w6i = null; _1w6h._plane.deactivate(), _1w6h._plane.visible = !1, _1w6h._hide_tween = null; }))); }, _1w62.prototype._stopShowTween = function() { var _1w6j = null; null != this._show_tween && (this._show_tween.setPaused(!0), this._show_tween = null); }, _1w62.prototype._stopHideTween = function() { var _1w6k = null; null != this._hide_tween && (this._hide_tween.setPaused(!0), this._hide_tween = null); }, _1w62; }(PIXI.Container); _1w5d.TouchPlane = _1w5z; var _1w66 = function(_1w6l) { var _1w6m = null; function _1w6n() { var _1w6o = null, _1w6p = _1w6l.call(this) || this; return _1w6p.alpha = 0, _1w6p; } return _1w5h(_1w6n, _1w6l), _1w6n.prototype.initialize = function() { var _1w6q = null; this.texture = _1w5x.BATTLE_MAIN.getTexture(144); }, _1w6n.prototype.activate = function() { var _1w6r = null; null == this._t && (this._t = createjs.Tween.get(this, { 'loop': !0 }).to({ 'alpha': 1 }, 100).wait(700).to({ 'alpha': 0 }, 100).wait(200)); }, _1w6n.prototype.deactivate = function() { var _1w6s = null; null != this._t && (this._t.setPaused(!0), this._t = null, this.alpha = 0); }, _1w6n; }(PIXI.Sprite); }, 14246: function(_1w6t, _1w6u, _1w6v) { 'use strict'; var _1w6w = null; var _1w6x, _1w6y = this && this.__extends || (_1w6x = function(_1w6z, _1w70) { var _1w71 = null; return _1w6x = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1w72, _1w73) { var _1w74 = null; _1w72.__proto__ = _1w73; } || function(_1w75, _1w76) { var _1w77 = null; for (var _1w78 in _1w76) Object.prototype.hasOwnProperty.call(_1w76, _1w78) && (_1w75[_1w78] = _1w76[_1w78]); }, _1w6x(_1w6z, _1w70); }, function(_1w79, _1w7a) { var _1w7b = null; if ('function' != typeof _1w7a && null !== _1w7a) throw new TypeError('Class extends value ' + String(_1w7a) + ' is not a constructor or null'); function _1w7c() { var _1w7d = null; this.constructor = _1w79; } _1w6x(_1w79, _1w7a), _1w79.prototype = null === _1w7a ? Object.create(_1w7a) : (_1w7c.prototype = _1w7a.prototype, new _1w7c()); }); defineModule(_1w6u); Object.defineProperty(_1w6u, '__esModule', { 'value': !0 }), _1w6u.WaterColumn = void 0; var _1w7e = _1w6v(54011), _1w7f = _1w6v(22434), _1w7g = function(_1w7h) { var _1w7i = null; function _1w7j() { var _1w7k = null, _1w7l = _1w7h.call(this) || this; return _1w7l._splash1 = new _1w7e.Sprite(), _1w7l._splash2 = new _1w7e.Sprite(), _1w7l._splash3 = new _1w7e.Sprite(), _1w7l._splash1.anchor.set(0.56, 0.95), _1w7l._splash1.position.set(129, 26), _1w7l._splash2.anchor.set(0.77, 0.79), _1w7l._splash2.position.set(131, 26), _1w7l._splash3.anchor.set(0.59, 0.9), _1w7l._splash3.position.set(137, 21), _1w7l._init(), _1w7l.addChild(_1w7l._splash1), _1w7l.addChild(_1w7l._splash2), _1w7l.addChild(_1w7l._splash3), _1w7l; } return _1w6y(_1w7j, _1w7h), _1w7j.prototype.initialize = function() { var _1w7m = null; this._splash1.texture = _1w7f.BATTLE_MAIN.getTexture(125), this._splash2.texture = _1w7f.BATTLE_MAIN.getTexture(124), this._splash3.texture = _1w7f.BATTLE_MAIN.getTexture(126); }, _1w7j.prototype.play = function() { var _1w7n = null, _1w7o = this; createjs.Tween.get(this._splash1).to({ 'scaleX': 1, 'scaleY': 1 }, 233).to({ 'alpha': 0 }, 333), createjs.Tween.get(this._splash2).wait(166).to({ 'scaleX': 1, 'scaleY': 1 }, 200).to({ 'alpha': 0 }, 200), createjs.Tween.get(this._splash3).wait(300).to({ 'scaleX': 1, 'scaleY': 1 }, 133).to({ 'alpha': 0 }, 133).call(function() { var _1w7p = null; _1w7o._init(), _1w7o.emit('complete'); }); }, _1w7j.prototype._init = function() { var _1w7q = null; this._splash1.alpha = 1, this._splash1.scale.set(0), this._splash2.alpha = 1, this._splash2.scale.set(0), this._splash3.alpha = 1, this._splash3.scale.set(0); }, _1w7j; }(PIXI.Container); _1w6u.WaterColumn = _1w7g; }, 79871: function(_1w7r, _1w7s, _1w7t) { 'use strict'; var _1w7u = null; var _1w7v, _1w7w = this && this.__extends || (_1w7v = function(_1w7x, _1w7y) { var _1w7z = null; return _1w7v = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1w80, _1w81) { var _1w82 = null; _1w80.__proto__ = _1w81; } || function(_1w83, _1w84) { var _1w85 = null; for (var _1w86 in _1w84) Object.prototype.hasOwnProperty.call(_1w84, _1w86) && (_1w83[_1w86] = _1w84[_1w86]); }, _1w7v(_1w7x, _1w7y); }, function(_1w87, _1w88) { var _1w89 = null; if ('function' != typeof _1w88 && null !== _1w88) throw new TypeError('Class extends value ' + String(_1w88) + ' is not a constructor or null'); function _1w8a() { var _1w8b = null; this.constructor = _1w87; } _1w7v(_1w87, _1w88), _1w87.prototype = null === _1w88 ? Object.create(_1w88) : (_1w8a.prototype = _1w88.prototype, new _1w8a()); }), _1w8c = this && this.__spreadArray || function(_1w8d, _1w8e, _1w8f) { var _1w8g = null; if (_1w8f || 2 === arguments.length) { for (var _1w8h, _1w8i = 0, _1w8j = _1w8e.length; _1w8i < _1w8j; _1w8i++) !_1w8h && _1w8i in _1w8e || (_1w8h || (_1w8h = Array.prototype.slice.call(_1w8e, 0, _1w8i)), _1w8h[_1w8i] = _1w8e[_1w8i]); } return _1w8d.concat(_1w8h || Array.prototype.slice.call(_1w8e)); }, _1w8k = this && this.__importDefault || function(_1w8l) { var _1w8m = null; return _1w8l && _1w8l.__esModule ? _1w8l : { 'default': _1w8l }; }; defineModule(_1w7s); Object.defineProperty(_1w7s, '__esModule', { 'value': !0 }), _1w7s.Banner = void 0; var _1w8n = _1w8k(_1w7t(21359)), _1w8o = _1w7t(66398), _1w8p = _1w7t(8744), _1w8q = _1w7t(70723), _1w8r = _1w7t(46351), _1w8s = _1w7t(54482), _1w8t = _1w7t(85492), _1w8u = function(_1w8v) { var _1w8w = null; function _1w8x(_1w8y, _1w8z, _1w90, _1w91, _1w92) { var _1w93 = null, _1w94 = _1w8v.call(this) || this; return _1w94._entered = !1, _1w94.faraway = 38, _1w94._in_front = !1, _1w94._index = _1w8y, _1w94._friend = _1w8z, _1w94._combined = _1w90, _1w94._invisible = _1w91, _1w94._ribbon = _1w92, _1w94.alpha = 0, _1w94._container = new PIXI.Container(), _1w94.addChild(_1w94._container), _1w94._content = new _1w8s.BannerContent(), _1w94._container.addChild(_1w94._content), 1 == _1w90 && _1w94._content.scale.set(0.9), _1w94.y = _1w94._baseY, _1w94._text = new _1w8p.TextBox(19, 16777215), _1w94._text.y = 19, _1w94._container.addChild(_1w94._text), _1w94._babble = new _1w8r.BannerBabble(), _1w94._babble.y = _1w8o.BannerSize.H / 3, 1 == _1w8z ? _1w94._babble.x = _1w8o.BannerSize.W : _1w94._babble.scale.x = -1, _1w94._container.addChild(_1w94._babble), _1w94; } return _1w7w(_1w8x, _1w8v), Object.defineProperty(_1w8x.prototype, 'index', { 'get': function() { var _1w95 = null; return this._index; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1w8x.prototype, 'friend', { 'get': function() { var _1w96 = null; return this._friend; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1w8x.prototype, 'combined', { 'get': function() { var _1w97 = null; return this._combined; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1w8x.prototype, 'invisible', { 'get': function() { var _1w98 = null; return this._invisible; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1w8x.prototype, 'ribbon', { 'get': function() { var _1w99 = null; return this._ribbon; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1w8x.prototype, 'entered', { 'get': function() { var _1w9a = null; return this._entered; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1w8x.prototype, '_baseY', { 'get': function() { var _1w9b = null; return this._index * (_1w8o.BannerSize.H + 7) + (this._combined ? 3 : 0); }, 'enumerable': !1, 'configurable': !0 }), _1w8x.prototype.initialize = function(_1w9c, _1w9d, _1w9e, _1w9f, _1w9g) { var _1w9h = null; this._hp_max = _1w9e, this._content.initialize(_1w9c, _1w9d, _1w9e, this._index, this._friend, this._combined, _1w9f, _1w9g, this._invisible, this._ribbon), this._updateHpText(_1w9d, _1w9e); }, _1w8x.prototype.dispose = function() { var _1w9i = null; this.removeChildren(), this._text.destroy(), this._babble.dispose(); }, _1w8x.prototype.getGlobalPos = function(_1w9j) { var _1w9k = null; void 0 === _1w9j && (_1w9j = !0); var _1w9l = new PIXI.Point(); return 1 == _1w9j && (_1w9l.x = _1w8o.BannerSize.W / 2, _1w9l.y = _1w8o.BannerSize.H / 2), this.toGlobal(_1w9l); }, _1w8x.prototype.updateHp = function(_1w9m) { var _1w9n = null; this._invisible || (this._content.updateHp(_1w9m, this._hp_max), this._updateHpText(_1w9m, this._hp_max)); }, _1w8x.prototype.showBabble = function() { var _1w9o = null; this._babble.show(); }, _1w8x.prototype.enter = function() { var _1w9p = null; if (0 == this.visible) return null; if (this.alpha > 0) return null; this._entered = !0; var _1w9q = !this._friend && this._invisible ? this.faraway : 0; this.x = _1w9q, this.alpha = 1, this._content.frame.alpha = 1; }, _1w8x.prototype.enterCombined = function() { var _1w9r = null; return 0 == this.visible || this.alpha > 0 ? null : (this._entered = !0, this.alpha = 1, void(this._content.frame.alpha = 1)); }, _1w8x.prototype.createEnterTween = function(_1w9s) { var _1w9t = null, _1w9u = this; if (0 == this.visible) return null; if (this.alpha > 0) return null; this._entered = !0, this.x = _1w8o.BannerSize.W * (this._friend ? -1 : 1); var _1w9v = !this._friend && this._invisible ? this.faraway : 0, _1w9w = { 'x': this.x, 'frame_alpha': this._content.frame.alpha }; return createjs.Tween.get(_1w9w, { 'onChange': function(_1w9x) { var _1w9y = null; _1w9u.x = _1w9x.target.target.x, _1w9u._content.frame.alpha = _1w9x.target.target.frame_alpha; } }).wait(_1w9s).call(function() { var _1w9z = null; _1w9u.alpha = 1, 1 == _1w9u._friend && _1w8q.SE.play('105'); }).to({ 'x': _1w9v }, 300).to({ 'frame_alpha': 1 }, 500); }, _1w8x.prototype.createEnterTweenCombined = function(_1wa0) { var _1wa1 = null, _1wa2 = this; if (0 == this.visible) return null; if (this.alpha > 0) return null; this._entered = !0, this.y = _1w8n.default.height; var _1wa3 = { 'y': this.y, 'frame_alpha': this._content.frame.alpha }; return createjs.Tween.get(_1wa3, { 'onChange': function(_1wa4) { var _1wa5 = null; _1wa2.y = _1wa4.target.target.y, _1wa2._content.frame.alpha = _1wa4.target.target.frame_alpha; } }).wait(_1wa0).call(function() { var _1wa6 = null; _1wa2.alpha = 1, 1 == _1wa2._friend && _1w8q.SE.play('105'); }).to({ 'y': this._baseY }, 1300, createjs.Ease.cubicOut).to({ 'frame_alpha': 1 }, 500); }, _1w8x.prototype.createEnterTweenBySakuteki = function() { var _1wa7 = null, _1wa8 = this; if (0 == this.visible) return null; if (this.alpha > 0) return null; this._entered = !0, this._content.frame.alpha = 1, this._content.layer_color.show(), !this._friend && this._invisible && (this.x = this.faraway); var _1wa9 = { 'alpha': this.alpha, 'red_overlay_alpha': this._content.layer_color.alpha }; return createjs.Tween.get(_1wa9, { 'onChange': function(_1waa) { var _1wab = null; _1wa8.alpha = _1waa.target.target.alpha, _1wa8._content.layer_color.alpha = _1waa.target.target.red_overlay_alpha; } }).call(function() { var _1wac = null; _1wa8._content.waveOver(0), _1wa8._content.waveOver(600); }).to({ 'alpha': 1 }, 1300).call(function() { var _1wad = null; _1wa8._content.waveOver(0); }).to({ 'red_overlay_alpha': 0 }, 600); }, _1w8x.prototype.createMainDeckExitTween = function(_1wae) { var _1waf = null; if (0 == this.visible) return null; if (0 == this._entered) return null; this._entered = !1; var _1wag = 0; return _1wag = 1 == this._friend ? -_1w8o.BannerSize.W : _1w8o.BannerSize.W, createjs.Tween.get(this).wait(_1wae).to({ 'x': _1wag }, 300).to({ 'alpha': 0 }, 50); }, _1w8x.prototype.createSubDeckExitTween = function(_1wah, _1wai) { var _1waj = null; if (0 == this.visible) return null; if (0 == this._entered) return null; var _1wak = 0; return _1wak = 0 == _1wai ? this.y - _1w8n.default.height : this.y + _1w8n.default.height, this._entered = !1, createjs.Tween.get(this).wait(_1wah).to({ 'y': _1wak }, 1300, createjs.Ease.cubicIn).to({ 'alpha': 0 }, 50); }, _1w8x.prototype.createSubDeckMoveTween = function(_1wal) { var _1wam = null; if (0 == this.visible) return null; if (0 == this._entered) return null; this._combined = !1, this._content.layer_color.combined = !1; var _1wan = _1w8c(_1w8c([createjs.Tween.get(this._content.scale).wait(_1wal).to({ 'x': 1, 'y': 1 }, 300), createjs.Tween.get(this._content.img).wait(_1wal).to({ 'x': 0 }, 300, createjs.Ease.cubicInOut), this._content.frame.get2To1AnimationTween(_1wal, 600)], this._content.img.get2To1AnimationTweens(_1wal, 600), !0), [createjs.Tween.get(this._content.flagship_mark).wait(_1wal).to({ 'x': 210, 'alpha': 1 }, 300), createjs.Tween.get(this).wait(_1wal).to({ 'x': 0, 'y': this.y - 3 }, 300)], !1); return 1 == this._friend && _1wan.push(createjs.Tween.get(this._text).wait(_1wal).to({ 'x': 262 }, 300)), _1wan; }, _1w8x.prototype.moveDefault = function(_1wao) { var _1wap = null, _1waq = this; if (void 0 === _1wao && (_1wao = 0), 0 != this.visible) { null != this._move_tween && (this._move_tween.setPaused(!0), this._move_tween = null); var _1war = this._invisible && !this._friend ? this.faraway : 0; this._in_front = !1, this._move_tween = createjs.Tween.get(this), this._move_tween.to({ 'x': _1war }, 150), this._move_tween.call(function() { var _1was = null; _1waq._move_tween = null, _1waq.emit('complete_moveDefault'); }); } }, _1w8x.prototype.moveFront = function(_1wat) { var _1wau = null, _1wav = this; if (void 0 === _1wat && (_1wat = null), 0 != this.visible) { if (this._stopMoveTween(), this._in_front = !0, this._move_tween = createjs.Tween.get(this), 1 == this._friend) this._move_tween.to({ 'x': 38 }, 150); else { var _1waw = this._invisible ? this.faraway - 38 : -38; this._move_tween.to({ 'x': _1waw }, 150); } this._move_tween.call(function() { var _1wax = null; _1wav._move_tween = null, null != _1wat && _1wat(); }); } else null != _1wat && _1wat(); }, _1w8x.prototype.attack = function(_1way) { var _1waz = null, _1wb0 = this; void 0 === _1way && (_1way = null), null == this._attack_tween && (this._skipMoveFrontTween(), 0 == this._in_front ? this.moveFront(function() { var _1wb1 = null; _1wb0._attack(_1way); }) : this._attack(_1way)); }, _1w8x.prototype._attack = function(_1wb2) { var _1wb3 = null, _1wb4 = this; if (this._attack_tween = createjs.Tween.get(this).wait(200), 1 == this._friend) this._attack_tween.to({ 'x': 18 }, 0); else { var _1wb5 = this._invisible ? this.faraway - 18 : -18; this._attack_tween.to({ 'x': _1wb5 }, 0); } var _1wb6 = this._invisible && !this._friend ? this.faraway : 0; this._attack_tween.to({ 'x': _1wb6 }, 150), this._attack_tween.call(function() { var _1wb7 = null; _1wb4._attack_tween = null, null != _1wb2 && _1wb2(); }); }, _1w8x.prototype.moveAtDamage = function(_1wb8) { var _1wb9 = null; this._invisible || (this._stopMoveTween(), this.x = 0, this._container.x = 0, 1 == _1wb8 ? this._moveAtShield() : this._moveAtDamage()); }, _1w8x.prototype._moveAtDamage = function() { var _1wba = null; for (var _1wbb = [-42, -24, -6, -27, -9, -12, 6, -6, 6, -6, 6, -6, 3, -3, 3, -3, 3, -3, 3, -3, 3, 0], _1wbc = this._friend ? 1 : -1, _1wbd = createjs.Tween.get(this._container), _1wbe = 0; _1wbe < _1wbb.length; _1wbe++) _1wbd.to({ 'x': _1wbc * _1wbb[_1wbe] }, 30); this._content.layer_color.playDamageAnimation(); }, _1w8x.prototype._moveAtShield = function() { var _1wbf = null, _1wbg = this._friend ? 1 : -1; createjs.Tween.get(this._container).to({ 'x': 46 * _1wbg }, 233).to({ 'x': 32 * _1wbg }, 100).to({ 'x': 41 * _1wbg }, 100).to({ 'x': 38 * _1wbg }, 166).wait(300).to({ 'x': 0 }, 100), this._content.layer_color.playShieldAnimation(); }, _1w8x.prototype.moveShoot = function(_1wbh) { var _1wbi = null; void 0 === _1wbh && (_1wbh = null); for (var _1wbj = [3, -3, 3, -3, 3, -3, 3, -3], _1wbk = this._friend ? 1 : -1, _1wbl = createjs.Tween.get(this._container), _1wbm = 0; _1wbm < _1wbj.length; _1wbm++) _1wbl.to({ 'x': _1wbk * _1wbj[_1wbm] }, 45); _1wbl.to({ 'x': 0 }, 60), _1wbl.to({ 'x': -3 * _1wbk }, 60), _1wbl.to({ 'x': -27 * _1wbk }, 45), _1wbl.to({ 'x': -15 * _1wbk }, 120), _1wbl.to({ 'x': -3 * _1wbk }, 45), _1wbl.to({ 'x': 0 }, 45), null != _1wbh && _1wbl.call(_1wbh); }, _1w8x.prototype.enabledKakuzaAttack = function(_1wbn, _1wbo) { var _1wbp = null; this._content.createDummyHp(_1wbn, _1wbo), this._text.alpha = 0; }, _1w8x.prototype.moveContent = function(_1wbq, _1wbr, _1wbs) { var _1wbt = null, _1wbu = this; if (this._stopMoveTween(), this._move_tween = createjs.Tween.get(this._content).to({ 'x': _1wbq.x, 'y': _1wbq.y }, _1wbr).call(function() { var _1wbv = null; _1wbu._move_tween = null, null != _1wbs && _1wbs(); }), this._combined) { var _1wbw = 0.3 * _1wbr, _1wbx = _1w8c([createjs.Tween.get(this._content.scale).to({ 'x': 1, 'y': 1 }, _1wbw), createjs.Tween.get(this._content.img).to({ 'x': 0 }, _1wbw, createjs.Ease.cubicInOut), this._content.frame.get2To1AnimationTween(0, _1wbw)], this._content.img.get2To1AnimationTweens(0, _1wbw), !0), _1wby = new _1w8t.TweenTask(); _1wby.addTweens(_1wbx), _1wby.start(); } }, _1w8x.prototype.removeContent = function(_1wbz, _1wc0) { var _1wc1 = null, _1wc2 = this, _1wc3 = new PIXI.Point(0, 0); if (this._stopMoveTween(), this._move_tween = createjs.Tween.get(this._content).to({ 'x': _1wc3.x, 'y': _1wc3.y }, _1wbz).call(function() { var _1wc4 = null; _1wc2._move_tween = null, null != _1wc0 && _1wc0(); }), this._combined) { var _1wc5 = 0.66 * _1wbz, _1wc6 = 0.33 * _1wbz, _1wc7 = _1w8c([createjs.Tween.get(this._content.scale).wait(_1wc5).to({ 'x': 0.9, 'y': 0.9 }, _1wc6), createjs.Tween.get(this._content.img).wait(_1wc5).to({ 'x': this._content.img.combinedPosX(this._friend) }, _1wc6, createjs.Ease.cubicInOut), this._content.frame.get1To2AnimationTween(_1wc5, _1wc6)], this._content.img.get1To2AnimationTweens(_1wc5, _1wc6), !0), _1wc8 = new _1w8t.TweenTask(); _1wc8.addTweens(_1wc7), _1wc8.start(); } }, _1w8x.prototype.operateHPBar = function(_1wc9, _1wca) { var _1wcb = null; (_1wc9 ? this._content.fallHPBar.bind(this._content) : this._content.getUpHPBar.bind(this._content))(function() { null != _1wca && _1wca(); }); }, _1w8x.prototype._skipMoveFrontTween = function() { var _1wcc = null; if (this._stopMoveTween(), 1 == this._friend) this.x = 38; else { var _1wcd = this._invisible ? this.faraway - 38 : -38; this.x = _1wcd; } }, _1w8x.prototype._stopMoveTween = function() { var _1wce = null; null != this._move_tween && (this._move_tween.setPaused(!0), this._move_tween = null); }, _1w8x.prototype._updateHpText = function(_1wcf, _1wcg) { var _1wch = null; this._invisible || (this._text.text = _1wcf + '/' + _1wcg, this._friend ? this._combined ? this._text.x = 240 : this._text.x = 262 : this._text.x = -23 - this._text.width); }, _1w8x; }(PIXI.Container); _1w7s.Banner = _1w8u; }, 46351: function(_1wci, _1wcj, _1wck) { 'use strict'; var _1wcl = null; var _1wcm, _1wcn = this && this.__extends || (_1wcm = function(_1wco, _1wcp) { var _1wcq = null; return _1wcm = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1wcr, _1wcs) { var _1wct = null; _1wcr.__proto__ = _1wcs; } || function(_1wcu, _1wcv) { var _1wcw = null; for (var _1wcx in _1wcv) Object.prototype.hasOwnProperty.call(_1wcv, _1wcx) && (_1wcu[_1wcx] = _1wcv[_1wcx]); }, _1wcm(_1wco, _1wcp); }, function(_1wcy, _1wcz) { var _1wd0 = null; if ('function' != typeof _1wcz && null !== _1wcz) throw new TypeError('Class extends value ' + String(_1wcz) + ' is not a constructor or null'); function _1wd1() { var _1wd2 = null; this.constructor = _1wcy; } _1wcm(_1wcy, _1wcz), _1wcy.prototype = null === _1wcz ? Object.create(_1wcz) : (_1wd1.prototype = _1wcz.prototype, new _1wd1()); }); defineModule(_1wcj); Object.defineProperty(_1wcj, '__esModule', { 'value': !0 }), _1wcj.BannerBabble = void 0; var _1wd3 = _1wck(54011), _1wd4 = _1wck(22434), _1wd5 = function(_1wd6) { var _1wd7 = null; function _1wd8() { var _1wd9 = null; return _1wd6.call(this) || this; } return _1wcn(_1wd8, _1wd6), _1wd8.prototype.show = function() { var _1wda = null, _1wdb = this, _1wdc = _1wd4.BATTLE_MAIN.getTexture(118); this._content = new _1wd3.Sprite(_1wdc), this._content.anchor.set(0.5), this._content.scale.set(0), this.addChild(this._content), this._t = createjs.Tween.get(this._content, { 'loop': !0 }).to({ 'x': 5, 'y': -7, 'scaleX': 0.14, 'scaleY': 0.14 }, 200).to({ 'x': 7, 'y': -15, 'scaleX': 0.25, 'scaleY': 0.25 }, 200).to({ 'x': 12, 'y': -21, 'scaleX': 0.35, 'scaleY': 0.35 }, 200).to({ 'x': 14, 'y': -29, 'scaleX': 0.46, 'scaleY': 0.46 }, 200).to({ 'x': 15, 'y': -36, 'scaleX': 0.57, 'scaleY': 0.57 }, 200).to({ 'x': 17, 'y': -42, 'scaleX': 0.68, 'scaleY': 0.68 }, 200).to({ 'x': 17, 'y': -50, 'scaleX': 0.78, 'scaleY': 0.78 }, 200).to({ 'x': 21, 'y': -57, 'scaleX': 0.89, 'scaleY': 0.89 }, 200).to({ 'x': 24, 'y': -65, 'scaleX': 1, 'scaleY': 1, 'alpha': 0 }, 200).call(function() { var _1wdd = null; _1wdb._content.scale.set(0), _1wdb._content.alpha = 1, _1wdb._content.position.set(0, 0); }); }, _1wd8.prototype.dispose = function() { var _1wde = null; this.removeChildren(), null != this._t && (this._t.setPaused(!0), this._t = null); }, _1wd8; }(PIXI.Container); _1wcj.BannerBabble = _1wd5; }, 54482: function(_1wdf, _1wdg, _1wdh) { 'use strict'; var _1wdi = null; var _1wdj, _1wdk = this && this.__extends || (_1wdj = function(_1wdl, _1wdm) { var _1wdn = null; return _1wdj = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1wdo, _1wdp) { var _1wdq = null; _1wdo.__proto__ = _1wdp; } || function(_1wdr, _1wds) { var _1wdt = null; for (var _1wdu in _1wds) Object.prototype.hasOwnProperty.call(_1wds, _1wdu) && (_1wdr[_1wdu] = _1wds[_1wdu]); }, _1wdj(_1wdl, _1wdm); }, function(_1wdv, _1wdw) { var _1wdx = null; if ('function' != typeof _1wdw && null !== _1wdw) throw new TypeError('Class extends value ' + String(_1wdw) + ' is not a constructor or null'); function _1wdy() { var _1wdz = null; this.constructor = _1wdv; } _1wdj(_1wdv, _1wdw), _1wdv.prototype = null === _1wdw ? Object.create(_1wdw) : (_1wdy.prototype = _1wdw.prototype, new _1wdy()); }); defineModule(_1wdg); Object.defineProperty(_1wdg, '__esModule', { 'value': !0 }), _1wdg.BannerContent = void 0; var _1we0 = _1wdh(66398), _1we1 = _1wdh(45054), _1we2 = _1wdh(54011), _1we3 = _1wdh(22434), _1we4 = _1wdh(56817), _1we5 = _1wdh(99547), _1we6 = _1wdh(29248), _1we7 = _1wdh(67784), _1we8 = function(_1we9) { var _1wea = null; function _1web() { var _1wec = null, _1wed = _1we9.call(this) || this; return _1wed._img = new _1we4.BannerImage(), _1wed._flagship_mark = new PIXI.Sprite(), _1wed._flagship_mark.position.set(210, 6), _1wed._frame = new _1we5.BannerFrame(), _1wed._frame.alpha = 0, _1wed._layer_color = new _1we7.BannerOverlay(), _1wed._layer_over = new PIXI.Sprite(), _1wed.addChild(_1wed._img), _1wed.addChild(_1wed._flagship_mark), _1wed.addChild(_1wed._frame), _1wed.addChild(_1wed._layer_color), _1wed.addChild(_1wed._layer_over), _1wed; } return _1wdk(_1web, _1we9), Object.defineProperty(_1web.prototype, 'img', { 'get': function() { var _1wee = null; return this._img; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1web.prototype, 'flagship_mark', { 'get': function() { var _1wef = null; return this._flagship_mark; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1web.prototype, 'frame', { 'get': function() { var _1weg = null; return this._frame; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1web.prototype, 'layer_color', { 'get': function() { var _1weh = null; return this._layer_color; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1web.prototype, 'layer_over', { 'get': function() { var _1wei = null; return this._layer_over; }, 'enumerable': !1, 'configurable': !0 }), _1web.prototype.initialize = function(_1wej, _1wek, _1wel, _1wem, _1wen, _1weo, _1wep, _1weq, _1wer, _1wes) { var _1wet = null; if (this._img.initialize(_1wej, _1wek, _1wel, _1wep, _1weq, _1weo, _1wen, _1wes), 1 == _1weo && (this._img.x += this._img.combinedPosX(_1wen)), this._invisible = _1wer, 0 == _1wem && (this._flagship_mark.texture = _1we3.BATTLE_MAIN.getTexture(53), 0 == _1wen && 1 == _1weo && (this._flagship_mark.alpha = 0.5, this._flagship_mark.x = 135)), this._frame.initialize(_1wek, _1wel, _1wem, _1wen, _1weo, _1wer), _1weo) { var _1weu = new PIXI.Graphics(); _1weu.beginFill(0), _1weu.drawRect(0, 0, _1we0.BannerSize.W, _1we0.BannerSize.H), _1weu.endFill(), this._img.mask = _1weu, this.addChild(_1weu); } this.layer_color.initialize(_1wen, _1weo); }, _1web.prototype.createDummyHp = function(_1wev, _1wew) { var _1wex = null; this._frame.enabledHpMask(), this._frame.alpha = 1, this._dummy_HP = new _1we6.DummyHPFrame(); var _1wey = this.getChildIndex(this._frame); this.addChildAt(this._dummy_HP, _1wey + 1), this._dummy_HP.position.set(240, 59), this._dummy_HP.initialize(_1wev, _1wew); }, _1web.prototype.updateHp = function(_1wez, _1wf0) { var _1wf1 = null; this._img.update(_1wez, _1wf0), this._frame.updateHp(_1wez, _1wf0); }, _1web.prototype.waveOver = function(_1wf2) { var _1wf3 = null, _1wf4 = this, _1wf5 = new _1we2.Sprite(_1we3.BATTLE_MAIN.getTexture(90)); _1wf5.position.set(_1we0.BannerSize.W / 2, _1we0.BannerSize.H / 2), _1wf5.scale.set(0), _1wf5.anchor.set(0.5), this._layer_over.addChild(_1wf5), createjs.Tween.get(_1wf5).wait(_1wf2).to({ 'scaleX': 0.75, 'scaleY': 0.75 }, 400).to({ 'alpha': 0, 'scaleX': 1, 'scaleY': 1 }, 200).call(function() { var _1wf6 = null; _1wf4._layer_over.removeChild(_1wf5); }); }, _1web.prototype.fallHPBar = function(_1wf7) { var _1wf8 = null; null != this._dummy_HP ? createjs.Tween.get(this._dummy_HP).to({ 'x': 241, 'y': 50, 'rotation': Math.PI / 2 }, 500).call(function() { null != _1wf7 && _1wf7(); }) : null != _1wf7 && _1wf7(); }, _1web.prototype.getUpHPBar = function(_1wf9) { var _1wfa = null, _1wfb = this; null != this._dummy_HP ? createjs.Tween.get(this._dummy_HP).to({ 'x': 240, 'y': 59, 'rotation': 0 }, 500).call(function() { var _1wfc = null; _1wfb._shake(); }).wait(200).call(function() { null != _1wf9 && _1wf9(); }) : null != _1wf9 && _1wf9(); }, _1web.prototype._shake = function() { var _1wfd = null; for (var _1wfe = [3, -3, 3, -3], _1wff = createjs.Tween.get(this), _1wfg = 0; _1wfg < _1wfe.length; _1wfg++) _1wff.to({ 'x': this.position.x + _1wfe[_1wfg] }, 45); }, _1web; }(_1we1.Container); _1wdg.BannerContent = _1we8; }, 99547: function(_1wfh, _1wfi, _1wfj) { 'use strict'; var _1wfk = null; var _1wfl, _1wfm = this && this.__extends || (_1wfl = function(_1wfn, _1wfo) { var _1wfp = null; return _1wfl = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1wfq, _1wfr) { var _1wfs = null; _1wfq.__proto__ = _1wfr; } || function(_1wft, _1wfu) { var _1wfv = null; for (var _1wfw in _1wfu) Object.prototype.hasOwnProperty.call(_1wfu, _1wfw) && (_1wft[_1wfw] = _1wfu[_1wfw]); }, _1wfl(_1wfn, _1wfo); }, function(_1wfx, _1wfy) { var _1wfz = null; if ('function' != typeof _1wfy && null !== _1wfy) throw new TypeError('Class extends value ' + String(_1wfy) + ' is not a constructor or null'); function _1wg0() { var _1wg1 = null; this.constructor = _1wfx; } _1wfl(_1wfx, _1wfy), _1wfx.prototype = null === _1wfy ? Object.create(_1wfy) : (_1wg0.prototype = _1wfy.prototype, new _1wg0()); }); defineModule(_1wfi); Object.defineProperty(_1wfi, '__esModule', { 'value': !0 }), _1wfi.BannerFrame = void 0; var _1wg2 = _1wfj(92547), _1wg3 = _1wfj(22434), _1wg4 = _1wfj(74463), _1wg5 = _1wfj(47513), _1wg6 = function(_1wg7) { var _1wg8 = null; function _1wg9() { var _1wga = null, _1wgb = _1wg7.call(this) || this; _1wgb._gauge_bg = new PIXI.Sprite(), _1wgb._gauge = new _1wg5.BannerHPBar(), _1wgb._frame = new PIXI.Sprite(), _1wgb._frame.y = -10; var _1wgc = new PIXI.Graphics(); return _1wgc.beginFill(0, 0.2), _1wgc.drawRect(0, 0, _1wg2.BannerSize.W, _1wg2.BannerSize.H), _1wgc.endFill(), _1wgb._gray_fg = _1wgc, _1wgb._gray_fg.y = 0, _1wgb._gray_fg.alpha = 0, _1wgb.addChild(_1wgb._gauge_bg), _1wgb.addChild(_1wgb._gauge), _1wgb.addChild(_1wgb._gray_fg), _1wgb.addChild(_1wgb._frame), _1wgb; } return _1wfm(_1wg9, _1wg7), _1wg9.prototype.initialize = function(_1wgd, _1wge, _1wgf, _1wgg, _1wgh, _1wgi) { var _1wgj = null; this._index = _1wgf, this._friend = _1wgg, this._gauge_bg.texture = _1wg3.BATTLE_MAIN.getTexture(49), _1wgg ? (this._gauge_bg.x = 240, this._gauge.x = 240, this.updateHp(_1wgd, _1wge)) : (this._gauge_bg.x = -10, this._gauge.x = -10, this._frame.x = -15, _1wgi ? (this._gray_fg.alpha = 1, this._gray_fg.x) : this.updateHp(_1wgd, _1wge)), this._frame.texture = this._getTexture(_1wgf, _1wgg, _1wgh); }, _1wg9.prototype.enabledHpMask = function() { var _1wgk = null, _1wgl = new PIXI.Graphics(); _1wgl.beginFill(16774898, 0.5), _1wgl.drawRect(0, -15, 241, 80), _1wgl.endFill(), this._hp_mask = _1wgl, this.mask = this._hp_mask, this.addChild(this._hp_mask); }, _1wg9.prototype.updateHp = function(_1wgm, _1wgn) { var _1wgo = null; this._gauge.draw(_1wgm / _1wgn); }, _1wg9.prototype.get2To1AnimationTween = function(_1wgp, _1wgq) { var _1wgr = null, _1wgs = this, _1wgt = this._frame.texture, _1wgu = new PIXI.Sprite(_1wgt); return _1wgu.x = this._frame.x, _1wgu.y = this._frame.y, this.addChild(_1wgu), this._frame.texture = this._getTexture1(this._index, this._friend), this._frame.alpha = 0, createjs.Tween.get(this._frame).wait(_1wgp).to({ 'alpha': 1 }, _1wgq).call(function() { var _1wgv = null; _1wgs.removeChild(_1wgu); }); }, _1wg9.prototype.get1To2AnimationTween = function(_1wgw, _1wgx) { var _1wgy = null, _1wgz = this, _1wh0 = this._frame.texture, _1wh1 = new PIXI.Sprite(_1wh0); return _1wh1.x = this._frame.x, _1wh1.y = this._frame.y, this.addChild(_1wh1), this._frame.texture = this._getTexture2(this._index, this._friend), this._frame.alpha = 1, createjs.Tween.get(_1wh1).wait(_1wgw).to({ 'alpha': 0 }, _1wgx).call(function() { var _1wh2 = null; _1wgz.removeChild(_1wh1); }); }, _1wg9.prototype._getTexture = function(_1wh3, _1wh4, _1wh5) { var _1wh6 = null; return 0 == _1wh5 ? this._getTexture1(_1wh3, _1wh4) : this._getTexture2(_1wh3, _1wh4); }, _1wg9.prototype._getTexture1 = function(_1wh7, _1wh8) { var _1wh9 = null; return _1wh8 ? 0 == _1wh7 ? _1wg3.BATTLE_MAIN.getTexture(50) : _1wg3.BATTLE_MAIN.getTexture(51) : 0 == _1wh7 ? _1wg3.BATTLE_MAIN.getTexture(47) : _1wg3.BATTLE_MAIN.getTexture(48); }, _1wg9.prototype._getTexture2 = function(_1wha, _1whb) { var _1whc = null; return _1whb ? 0 == _1wha ? _1wg4.BATTLE_MAIN2.getTexture(2) : _1wg4.BATTLE_MAIN2.getTexture(3) : 0 == _1wha ? _1wg4.BATTLE_MAIN2.getTexture(0) : _1wg4.BATTLE_MAIN2.getTexture(1); }, _1wg9; }(PIXI.Container); _1wfi.BannerFrame = _1wg6; }, 47513: function(_1whd, _1whe, _1whf) { 'use strict'; var _1whg = null; var _1whh, _1whi = this && this.__extends || (_1whh = function(_1whj, _1whk) { var _1whl = null; return _1whh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1whm, _1whn) { var _1who = null; _1whm.__proto__ = _1whn; } || function(_1whp, _1whq) { var _1whr = null; for (var _1whs in _1whq) Object.prototype.hasOwnProperty.call(_1whq, _1whs) && (_1whp[_1whs] = _1whq[_1whs]); }, _1whh(_1whj, _1whk); }, function(_1wht, _1whu) { var _1whv = null; if ('function' != typeof _1whu && null !== _1whu) throw new TypeError('Class extends value ' + String(_1whu) + ' is not a constructor or null'); function _1whw() { var _1whx = null; this.constructor = _1wht; } _1whh(_1wht, _1whu), _1wht.prototype = null === _1whu ? Object.create(_1whu) : (_1whw.prototype = _1whu.prototype, new _1whw()); }); defineModule(_1whe); Object.defineProperty(_1whe, '__esModule', { 'value': !0 }), _1whe.BannerHPBar = void 0; var _1why = _1whf(14921), _1whz = function(_1wi0) { var _1wi1 = null; function _1wi2() { var _1wi3 = null; return _1wi0.call(this) || this; } return _1whi(_1wi2, _1wi0), _1wi2.prototype.draw = function(_1wi4) { var _1wi5 = null; _1wi4 = Math.max(_1wi4, 0), _1wi4 = Math.min(_1wi4, 1), this.clear(); var _1wi6 = _1why.MathUtil.getColor(_1wi4), _1wi7 = 60 * _1wi4; this.beginFill(_1wi6), this.drawRect(0, 60 - _1wi7, 10, _1wi7), this.endFill(); }, _1wi2; }(PIXI.Graphics); _1whe.BannerHPBar = _1whz; }, 56817: function(_1wi8, _1wi9, _1wia) { 'use strict'; var _1wib = null; var _1wic, _1wid = this && this.__extends || (_1wic = function(_1wie, _1wif) { var _1wig = null; return _1wic = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1wih, _1wii) { var _1wij = null; _1wih.__proto__ = _1wii; } || function(_1wik, _1wil) { var _1wim = null; for (var _1win in _1wil) Object.prototype.hasOwnProperty.call(_1wil, _1win) && (_1wik[_1win] = _1wil[_1win]); }, _1wic(_1wie, _1wif); }, function(_1wio, _1wip) { var _1wiq = null; if ('function' != typeof _1wip && null !== _1wip) throw new TypeError('Class extends value ' + String(_1wip) + ' is not a constructor or null'); function _1wir() { var _1wis = null; this.constructor = _1wio; } _1wic(_1wio, _1wip), _1wio.prototype = null === _1wip ? Object.create(_1wip) : (_1wir.prototype = _1wip.prototype, new _1wir()); }), _1wit = this && this.__importDefault || function(_1wiu) { var _1wiv = null; return _1wiu && _1wiu.__esModule ? _1wiu : { 'default': _1wiu }; }; defineModule(_1wi9); Object.defineProperty(_1wi9, '__esModule', { 'value': !0 }), _1wi9.BannerImage = void 0; var _1wiw = _1wit(_1wia(18622)), _1wix = _1wia(66398), _1wiy = _1wia(18343), _1wiz = _1wia(80937), _1wj0 = _1wia(77076), _1wj1 = _1wia(22434), _1wj2 = _1wia(11575), _1wj3 = function(_1wj4) { var _1wj5 = null; function _1wj6() { var _1wj7 = null, _1wj8 = _1wj4.call(this) || this; return _1wj8._img = new PIXI.Sprite(), _1wj8._icon = new _1wiz.BannerIcon(), _1wj8._soot = new _1wj0.BannerSoot(), _1wj8._ribbon = new _1wj2.BannerRibbon(), _1wj8.addChild(_1wj8._img), _1wj8.addChild(_1wj8._icon), _1wj8.addChild(_1wj8._ribbon), _1wj8.addChild(_1wj8._soot), _1wj8; } return _1wid(_1wj6, _1wj4), _1wj6.prototype.combinedPosX = function(_1wj9) { return _1wj9 ? 7 : -78; }, _1wj6.prototype.initialize = function(_1wja, _1wjb, _1wjc, _1wjd, _1wje, _1wjf, _1wjg, _1wjh) { var _1wji = null; if (this._mst_id = _1wja, this._updateState(_1wjb, _1wjc), this._taihi = _1wjd, this._icon.initialize(_1wje), this._combined = _1wjf, this._friend = _1wjg, this._updateImage(_1wjf, _1wjg), this._updateIcon(_1wjb, _1wjc), this._updateRibbon(_1wjh, _1wjf), this._friend && this._combined) { var _1wjj = new PIXI.Graphics(); _1wjj.beginFill(16711680, 0.5), _1wjj.drawRect(_1wix.BannerSize.W / 2, 0, _1wix.BannerSize.W / 2, _1wix.BannerSize.H), _1wjj.endFill(), this._soot_mask = _1wjj, this._soot.addChild(this._soot_mask), this._soot.mask = this._soot_mask; } }, _1wj6.prototype.update = function(_1wjk, _1wjl) { var _1wjm = null; this._updateState(_1wjk, _1wjl), this._updateImage(this._combined, this._friend), this._updateIcon(_1wjk, _1wjl); }, _1wj6.prototype.get2To1AnimationTweens = function(_1wjn, _1wjo) { var _1wjp = null, _1wjq = this; this._combined = !1; var _1wjr = this._img.texture, _1wjs = new PIXI.Sprite(_1wjr); _1wjs.x = this._img.x, _1wjs.y = this._img.y; var _1wjt = this.getChildIndex(this._img); this.addChildAt(_1wjs, _1wjt), this._img.texture = this._getTexture(), this._img.alpha = 0; var _1wju = [createjs.Tween.get(this._img).wait(_1wjn).to({ 'alpha': 1 }, _1wjo).call(function() { var _1wjv = null; _1wjq.removeChild(_1wjs); var _1wjw = _1wjq._img.mask; _1wjw && (_1wjw.parent.removeChild(_1wjw), _1wjq._img.mask = null); })]; if (this._soot.mask) { var _1wjx = this._soot.mask; this._soot.removeChild(_1wjx), this._soot.mask = null, this._soot.alpha = 0; var _1wjy = new _1wj0.BannerSoot(); _1wjy.texture = this._soot.texture, _1wjy.addChild(_1wjx), _1wjy.mask = _1wjx, this.addChildAt(_1wjy, this.getChildIndex(this._soot)), _1wju.push(createjs.Tween.get(this._soot).wait(_1wjn).to({ 'alpha': 1 }, _1wjo)), _1wju.push(createjs.Tween.get(_1wjy).wait(_1wjn).to({ 'alpha': 0 }, _1wjo).call(function() { var _1wjz = null; _1wjq.removeChild(_1wjy); })); } return _1wju; }, _1wj6.prototype.get1To2AnimationTweens = function(_1wk0, _1wk1) { var _1wk2 = null, _1wk3 = this; this._combined = !0; var _1wk4 = this._img.texture, _1wk5 = new PIXI.Sprite(_1wk4); _1wk5.x = this._img.x, _1wk5.y = this._img.y; var _1wk6 = this.getChildIndex(this._img); this.addChildAt(_1wk5, _1wk6), this._img.alpha = 1, this._updateImage(this._combined, this._friend); var _1wk7 = [createjs.Tween.get(_1wk5).wait(_1wk0).to({ 'alpha': 0 }, _1wk1).call(function() { var _1wk8 = null; _1wk3.removeChild(_1wk5); var _1wk9 = _1wk3._img.mask; _1wk9 && (_1wk9.parent.removeChild(_1wk9), _1wk3._img.mask = null); })]; if (null == this._soot.mask && this._friend && this._combined) { var _1wka = this._soot_mask; this._soot.addChild(_1wka), this._soot.mask = _1wka, this._soot.alpha = 0; var _1wkb = new _1wj0.BannerSoot(); _1wkb.texture = this._soot.texture, this.addChildAt(_1wkb, this.getChildIndex(this._soot)), _1wk7.push(createjs.Tween.get(this._soot).wait(_1wk0).to({ 'alpha': 1 }, _1wk1)), _1wk7.push(createjs.Tween.get(_1wkb).wait(_1wk0).to({ 'alpha': 0 }, _1wk1).call(function() { var _1wkc = null; _1wk3.removeChild(_1wkb); })); } return _1wk7; }, _1wj6.prototype._updateState = function(_1wkd, _1wke) { var _1wkf = null; _1wkd <= 0 ? this._damaged = 2 : _1wiy.ShipUtil.isDamaged(_1wkd, _1wke) ? this._damaged = 1 : this._damaged = 0; }, _1wj6.prototype._updateImage = function(_1wkg, _1wkh) { var _1wki = null; if (this._mst_id < 0) switch (this._mst_id) { case -1: this._img.texture = _1wj1.BATTLE_MAIN.getTexture(0); break; case -2: this._img.texture = _1wj1.BATTLE_MAIN.getTexture(1); break; case -3: this._img.texture = _1wj1.BATTLE_MAIN.getTexture(2); } else this._img.texture = _1wkg ? _1wkh ? this._getTextureCombinedFriend() : this._getTextureCombinedEnemy() : this._getTexture(); }, _1wj6.prototype._getTexture = function() { var _1wkj = null; if (2 == this._damaged || 1 == this._taihi) return _1wiw.default.resources.getShip(this._mst_id, !0, 'banner_g'); var _1wkk = 0 != this._damaged; return _1wiw.default.resources.getShip(this._mst_id, _1wkk, 'banner'); }, _1wj6.prototype._getTextureCombinedFriend = function() { var _1wkl = null; if (2 == this._damaged || 1 == this._taihi) return _1wiw.default.resources.getShip(this._mst_id, !0, 'banner2_g'); var _1wkm = 0 != this._damaged; return _1wiw.default.resources.getShip(this._mst_id, _1wkm, 'banner2'); }, _1wj6.prototype._getTextureCombinedEnemy = function() { var _1wkn = null; if (2 == this._damaged || 1 == this._taihi) return _1wiw.default.resources.getShip(this._mst_id, !0, 'banner3_g'); var _1wko = 0 != this._damaged; return _1wiw.default.resources.getShip(this._mst_id, _1wko, 'banner3'); }, _1wj6.prototype._updateIcon = function(_1wkp, _1wkq) { var _1wkr = null; if (0 == this._taihi) { var _1wks = _1wiy.ShipUtil.getDamageType(_1wkp, _1wkq); this._icon.setDamagedIcon(_1wks), this._soot.update(_1wks); } else this._icon.setTaihiIcon(); }, _1wj6.prototype._updateRibbon = function(_1wkt, _1wku) { var _1wkv = null, _1wkw = _1wku ? -7 : 0; this._ribbon.position.x = _1wkw, this._ribbon.update(_1wkt); }, _1wj6; }(PIXI.Container); _1wi9.BannerImage = _1wj3; }, 67784: function(_1wkx, _1wky, _1wkz) { 'use strict'; var _1wl0 = null; var _1wl1, _1wl2 = this && this.__extends || (_1wl1 = function(_1wl3, _1wl4) { var _1wl5 = null; return _1wl1 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1wl6, _1wl7) { var _1wl8 = null; _1wl6.__proto__ = _1wl7; } || function(_1wl9, _1wla) { var _1wlb = null; for (var _1wlc in _1wla) Object.prototype.hasOwnProperty.call(_1wla, _1wlc) && (_1wl9[_1wlc] = _1wla[_1wlc]); }, _1wl1(_1wl3, _1wl4); }, function(_1wld, _1wle) { var _1wlf = null; if ('function' != typeof _1wle && null !== _1wle) throw new TypeError('Class extends value ' + String(_1wle) + ' is not a constructor or null'); function _1wlg() { var _1wlh = null; this.constructor = _1wld; } _1wl1(_1wld, _1wle), _1wld.prototype = null === _1wle ? Object.create(_1wle) : (_1wlg.prototype = _1wle.prototype, new _1wlg()); }); defineModule(_1wky); Object.defineProperty(_1wky, '__esModule', { 'value': !0 }), _1wky.BannerOverlay = void 0; var _1wli = _1wkz(66398), _1wlj = function(_1wlk) { var _1wll = null; function _1wlm() { var _1wln = null, _1wlo = _1wlk.call(this) || this; return _1wlo._friend = !1, _1wlo._combined = !1, _1wlo.visible = !1, _1wlo; } return _1wl2(_1wlm, _1wlk), Object.defineProperty(_1wlm.prototype, 'combined', { 'set': function(_1wlp) { var _1wlq = null; this._combined = _1wlp; }, 'enumerable': !1, 'configurable': !0 }), _1wlm.prototype.initialize = function(_1wlr, _1wls) { var _1wlt = null; this._friend = _1wlr, this._combined = _1wls; }, _1wlm.prototype.show = function(_1wlu, _1wlv) { var _1wlw = null; void 0 === _1wlu && (_1wlu = 16711680), void 0 === _1wlv && (_1wlv = 0.5), this._draw(_1wlu, _1wlv), this.alpha = 1, this.visible = !0; }, _1wlm.prototype.playDamageAnimation = function() { var _1wlx = null, _1wly = this; this._stop(), this.alpha = 0, this.visible = !0, this._draw(16711680, 0.5), this._t = createjs.Tween.get(this).to({ 'alpha': 1 }, 300).to({ 'alpha': 0 }, 500).call(function() { var _1wlz = null; _1wly.visible = !1, _1wly._t = null; }); }, _1wlm.prototype.playShieldAnimation = function() { var _1wm0 = null, _1wm1 = this; this._stop(), this._draw(16777088, 0), this.alpha = 1, this.visible = !0, this._t = createjs.Tween.get({ 'r': 255, 'g': 255, 'b': 128, 'a': 0 }, { 'onChange': function(_1wm2) { var _1wm3 = null, _1wm4 = _1wm2.target.target, _1wm5 = (Math.round(_1wm4.r) << 16) + (Math.round(_1wm4.g) << 8) + Math.round(_1wm4.b); _1wm1._draw(_1wm5, _1wm4.a); } }).to({ 'a': 0.75 }, 233).to({ 'r': 128, 'g': 255, 'b': 255 }, 100).to({ 'r': 255, 'g': 192, 'b': 192 }, 100).to({ 'r': 255, 'g': 255, 'b': 255 }, 166).call(function() { var _1wm6 = null; _1wm1.visible = !1, _1wm1._t = null; }); }, _1wlm.prototype._stop = function() { var _1wm7 = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _1wlm.prototype._draw = function(_1wm8, _1wm9) { var _1wma = null; if (this.clear(), this._combined) { if (this._friend) { for (var _1wmb = _1wmc = _1wli.BannerSize.W / 5 * 2 - Math.ceil(_1wm9 / 0.025); _1wmb < _1wli.BannerSize.W / 5 * 2; _1wmb++) { var _1wmd = Math.min(0.025 * (_1wmb - _1wmc), _1wm9); this.beginFill(_1wm8, _1wmd), this.drawRect(_1wmb, 0, 1, _1wli.BannerSize.H), this.endFill(); } this.beginFill(_1wm8, _1wm9), this.drawRect(_1wli.BannerSize.W / 5 * 2, 0, _1wli.BannerSize.W - _1wli.BannerSize.W / 5 * 2, _1wli.BannerSize.H), this.endFill(); } else { var _1wmc = _1wli.BannerSize.W / 5 * 3; this.beginFill(_1wm8, _1wm9), this.drawRect(0, 0, _1wmc, _1wli.BannerSize.H), this.endFill(); for (_1wmb = _1wmc; _1wmb < _1wli.BannerSize.W; _1wmb++) { _1wmd = Math.min(1 - 0.05 * (_1wmb - _1wmc), _1wm9), (this.beginFill(_1wm8, _1wmd), this.drawRect(_1wmb, 0, 1, _1wli.BannerSize.H), this.endFill()); } } } else this.beginFill(_1wm8, _1wm9), this.drawRect(0, 0, _1wli.BannerSize.W, _1wli.BannerSize.H), this.endFill(); }, _1wlm; }(PIXI.Graphics); _1wky.BannerOverlay = _1wlj; }, 29248: function(_1wme, _1wmf, _1wmg) { 'use strict'; var _1wmh = null; var _1wmi, _1wmj = this && this.__extends || (_1wmi = function(_1wmk, _1wml) { var _1wmm = null; return _1wmi = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1wmn, _1wmo) { var _1wmp = null; _1wmn.__proto__ = _1wmo; } || function(_1wmq, _1wmr) { var _1wms = null; for (var _1wmt in _1wmr) Object.prototype.hasOwnProperty.call(_1wmr, _1wmt) && (_1wmq[_1wmt] = _1wmr[_1wmt]); }, _1wmi(_1wmk, _1wml); }, function(_1wmu, _1wmv) { var _1wmw = null; if ('function' != typeof _1wmv && null !== _1wmv) throw new TypeError('Class extends value ' + String(_1wmv) + ' is not a constructor or null'); function _1wmx() { var _1wmy = null; this.constructor = _1wmu; } _1wmi(_1wmu, _1wmv), _1wmu.prototype = null === _1wmv ? Object.create(_1wmv) : (_1wmx.prototype = _1wmv.prototype, new _1wmx()); }); defineModule(_1wmf); Object.defineProperty(_1wmf, '__esModule', { 'value': !0 }), _1wmf.DummyHPFrame = void 0; var _1wmz = _1wmg(22434), _1wn0 = _1wmg(47513), _1wn1 = function(_1wn2) { var _1wn3 = null; function _1wn4() { var _1wn5 = null; return _1wn2.call(this) || this; } return _1wmj(_1wn4, _1wn2), _1wn4.prototype.initialize = function(_1wn6, _1wn7) { var _1wn8 = null; this.texture = _1wmz.BATTLE_MAIN.getTexture(49), this.anchor.set(0, 1), this._gauge = new _1wn0.BannerHPBar(), this._gauge.position.set(0, -60), this._HP_frame = new PIXI.Sprite(_1wmz.BATTLE_MAIN.getTexture(52)), this._HP_frame.anchor.set(0, 1), this._HP_frame.position.set(-3, 4), this.addChild(this._gauge), this.addChild(this._HP_frame), this._gauge.draw(_1wn6 / _1wn7); }, _1wn4.prototype.dispose = function() { var _1wn9 = null; this.removeChildren(), this._HP_frame.destroy(), this._HP_frame = null, this._gauge.destroy(), this._gauge = null, this.destroy(); }, _1wn4; }(PIXI.Sprite); _1wmf.DummyHPFrame = _1wn1; }, 20894: function(_1wna, _1wnb, _1wnc) { 'use strict'; var _1wnd = null; var _1wne, _1wnf = this && this.__extends || (_1wne = function(_1wng, _1wnh) { var _1wni = null; return _1wne = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1wnj, _1wnk) { var _1wnl = null; _1wnj.__proto__ = _1wnk; } || function(_1wnm, _1wnn) { var _1wno = null; for (var _1wnp in _1wnn) Object.prototype.hasOwnProperty.call(_1wnn, _1wnp) && (_1wnm[_1wnp] = _1wnn[_1wnp]); }, _1wne(_1wng, _1wnh); }, function(_1wnq, _1wnr) { var _1wns = null; if ('function' != typeof _1wnr && null !== _1wnr) throw new TypeError('Class extends value ' + String(_1wnr) + ' is not a constructor or null'); function _1wnt() { var _1wnu = null; this.constructor = _1wnq; } _1wne(_1wnq, _1wnr), _1wnq.prototype = null === _1wnr ? Object.create(_1wnr) : (_1wnt.prototype = _1wnr.prototype, new _1wnt()); }), _1wnv = this && this.__importDefault || function(_1wnw) { var _1wnx = null; return _1wnw && _1wnw.__esModule ? _1wnw : { 'default': _1wnw }; }; defineModule(_1wnb); Object.defineProperty(_1wnb, '__esModule', { 'value': !0 }), _1wnb.CutinAntiAircraft = void 0; var _1wny = _1wnv(_1wnc(21359)), _1wnz = _1wnv(_1wnc(18622)), _1wo0 = _1wnc(85492), _1wo1 = _1wnc(54011), _1wo2 = _1wnc(79899), _1wo3 = _1wnc(20137), _1wo4 = _1wnc(37760), _1wo5 = _1wnc(13748), _1wo6 = _1wnc(70723), _1wo7 = _1wnc(26460), _1wo8 = function(_1wo9) { var _1woa = null; function _1wob(_1woc, _1wod, _1woe) { var _1wof = null, _1wog = _1wo9.call(this) || this; if (_1wog.ship_mstid = _1woc, _1wog.ship_damaged = _1wod, _1wog.slot_mstids = [0, 0, 0], null != _1woe) { for (var _1woh = 0; _1woh < _1woe.length && !(_1woh >= _1wog.slot_mstids.length); _1woh++) _1wog.slot_mstids[_1woh] = _1woe[_1woh]; } return _1wog.slotName1 = new _1woi(), _1wog.slotName2 = new _1woi(), _1wog.slotName3 = new _1woi(), _1wog; } return _1wnf(_1wob, _1wo9), _1wob.prototype.preload = function(_1woj) { var _1wok = null, _1wol = this, _1wom = new _1wo5.UIImageLoader('battle'); _1wom.add('battle_cutin_anti_air.json'), _1wom.load(function() { var _1won = null; _1wol.loadShipImage(_1woj); }); }, _1wob.prototype.loadShipImage = function(_1woo) { var _1wop = null, _1woq = this, _1wor = new _1wo3.ShipLoader(); _1wor.add(this.ship_mstid, this.ship_damaged, 'full'), _1wor.load(function() { var _1wos = null; _1woq.loadSlotTextImage(_1woo); }); }, _1wob.prototype.loadSlotTextImage = function(_1wot) { var _1wou = null; for (var _1wov = new _1wo4.SlotLoader(), _1wow = 0, _1wox = this.slot_mstids; _1wow < _1wox.length; _1wow++) { var _1woy = _1wox[_1wow]; _1woy > 0 && _1wov.add(_1woy, 'btxt_flat'); } _1wov.load(function() { _1wot(); }); }, _1wob.prototype.init = function() { var _1woz = null; this.bg = new _1wp0(_1wo7.BATTLE_CUTIN_ANTI_AIR.getTexture(4)), this.bg.initialize(), this.bg.alpha = 0, this.addChild(this.bg); var _1wp1 = _1wnz.default.resources.getShip(this.ship_mstid, this.ship_damaged, 'full'), _1wp2 = _1wnz.default.model.ship_graph.get(this.ship_mstid).getBattleOffset(this.ship_damaged); this.ship = new PIXI.Sprite(_1wp1), this.ship.position.set(_1wp2.x - 118 - 450, _1wp2.y - 140), this.ship.alpha = 0, this.addChild(this.ship), this.slot_mstids[2] > 0 && (this.slotName3.position.set(0, 330), this.slotName3.init(_1wnz.default.resources.getSlotitem(this.slot_mstids[2], 'btxt_flat')), this.addChild(this.slotName3)), this.slot_mstids[1] > 0 && (this.slotName2.position.set(0, 450), this.slotName2.init(_1wnz.default.resources.getSlotitem(this.slot_mstids[1], 'btxt_flat')), this.addChild(this.slotName2)), this.slot_mstids[0] > 0 && (this.slotName1.position.set(0, 570), this.slotName1.init(_1wnz.default.resources.getSlotitem(this.slot_mstids[0], 'btxt_flat')), this.addChild(this.slotName1)); var _1wp3 = [5, 6, 7, 8, 9]; this.text = []; for (var _1wp4 = 0; _1wp4 < 5; _1wp4++) { var _1wp5 = _1wo7.BATTLE_CUTIN_ANTI_AIR.getTexture(_1wp3[_1wp4]); (_1wp6 = new _1wo1.Sprite(_1wp5)).position.set(375 + 120 * _1wp4, 300), _1wp6.anchor.set(0.5), _1wp6.alpha = 0, _1wp6.scale.set(2.2), this.text.push(_1wp6), this.addChild(this.text[_1wp4]); } this.text_f = []; for (_1wp4 = 0; _1wp4 < 5; _1wp4++) { var _1wp6; _1wp5 = _1wo7.BATTLE_CUTIN_ANTI_AIR.getTexture(_1wp3[_1wp4]), ((_1wp6 = new _1wo1.Sprite(_1wp5)).position.set(375 + 120 * _1wp4, 300), _1wp6.anchor.set(0.5), _1wp6.alpha = 0, this.text_f.push(_1wp6), this.addChild(this.text_f[_1wp4])); } this.white = new _1wo2.AreaBox(1, 16777215), this.white.alpha = 0, this.addChild(this.white); }, _1wob.prototype.play = function(_1wp7) { var _1wp8 = null; this._createTask().start(_1wp7); }, _1wob.prototype._createTask = function() { var _1wp9 = null, _1wpa, _1wpb = this, _1wpc = new _1wo0.TweenTask(); (_1wpa = createjs.Tween.get(this.bg).call(function() { var _1wpd = null; _1wpb.bg.activate(); }).to({ 'alpha': 1 }, 500).wait(2000).to({ 'alpha': 0 }, 500).call(function() { var _1wpe = null; _1wpb.bg.deactivate(); })).ignoreGlobalPause = !0, _1wpc.addTween(_1wpa); for (var _1wpf = 0; _1wpf < this.text.length; _1wpf++)(_1wpa = createjs.Tween.get(this.text[_1wpf]).wait(400 + 100 * _1wpf).to({ 'alpha': 1, 'scaleX': 1, 'scaleY': 1 }, 400).call(function() { var _1wpg = null; _1wo6.SE.play('118'); }).wait(250).to({ 'alpha': 0, 'scaleX': 2.2, 'scaleY': 2.2 }, 400)).ignoreGlobalPause = !0, _1wpc.addTween(_1wpa); for (_1wpf = 0; _1wpf < this.text_f.length; _1wpf++)(_1wpa = createjs.Tween.get(this.text_f[_1wpf]).wait(800 + 100 * _1wpf).to({ 'alpha': 1 }, 1).to({ 'alpha': 0, 'scaleX': 1.3, 'scaleY': 1.3 }, 200)).ignoreGlobalPause = !0, _1wpc.addTween(_1wpa); var _1wph = _1wnz.default.model.ship_graph.get(this.ship_mstid).getBattleOffset(this.ship_damaged); if ((_1wpa = createjs.Tween.get(this.ship).wait(700).to({ 'x': _1wph.x - 118, 'y': _1wph.y - 140, 'alpha': 1 }, 400).call(function() { var _1wpi = null; _1wnz.default.sound.voice.playAtRandom(_1wpb.ship_mstid.toString(), [15, 17], [50, 50]); }).wait(400).call(_1wo6.SE.play, ['116']).wait(100).call(_1wo6.SE.play, ['102']).wait(300).to({ 'x': _1wph.x - 118 + 210, 'alpha': 0 }, 400)).ignoreGlobalPause = !0, _1wpc.addTween(_1wpa), this.slot_mstids[0] > 0) { _1wpc.addTweens(this.slotName1.createTweens(1150)); var _1wpj = this._createExplosion(753, 593, -30); this.addChild(_1wpj), _1wpc.addTweens(_1wpj.createTweens(1300)); } return this.slot_mstids[1] > 0 && (_1wpc.addTweens(this.slotName2.createTweens(1200)), _1wpj = this._createExplosion(753, 488, -50), (this.addChild(_1wpj), _1wpc.addTweens(_1wpj.createTweens(1400)))), this.slot_mstids[2] > 0 && (_1wpc.addTweens(this.slotName3.createTweens(1250)), _1wpj = this._createExplosion(753, 383, -70), (this.addChild(_1wpj), _1wpc.addTweens(_1wpj.createTweens(1500)))), ((_1wpa = createjs.Tween.get(this.white).wait(1300).to({ 'alpha': 1 }, 0).to({ 'alpha': 0 }, 100).to({ 'alpha': 1 }, 0).to({ 'alpha': 0 }, 100).to({ 'alpha': 1 }, 0).to({ 'alpha': 0 }, 100)).ignoreGlobalPause = !0, _1wpc.addTween(_1wpa), _1wpc); }, _1wob.prototype._createExplosion = function(_1wpk, _1wpl, _1wpm) { var _1wpn = null, _1wpo = new _1wpp(); return _1wpo.initialize(), _1wpo.x = _1wpk, _1wpo.y = _1wpl, _1wpo.rotation = _1wpm / 180 * Math.PI, _1wpo; }, _1wob.prototype.dispose = function() { var _1wpq = null; _1wo5.UIImageLoader.clearMemoryCacheDetail('battle', 'cutin_anti_air'); }, _1wob; }(PIXI.Container); _1wnb.CutinAntiAircraft = _1wo8; var _1woi = function(_1wpr) { var _1wps = null; function _1wpt() { var _1wpu = null; return _1wpr.call(this) || this; } return _1wnf(_1wpt, _1wpr), _1wpt.prototype.init = function(_1wpv) { var _1wpw = null; this.name_txt = new PIXI.Sprite(_1wpv), this.name_txt.position.set(1180, 50), this.name_txt.anchor.set(1, 0.5), this.name_txt.scale.set(0.8), this.name_txt.alpha = 0, this.line = new PIXI.Sprite(_1wo7.BATTLE_CUTIN_ANTI_AIR.getTexture(1)), this.line.position.set(1200, 0), this.addChild(this.line), this.addChild(this.name_txt); }, _1wpt.prototype.createTweens = function(_1wpx) { var _1wpy = null, _1wpz, _1wq0 = []; return (_1wpz = createjs.Tween.get(this.line).wait(_1wpx).to({ 'x': 0 }, 200).to({ 'alpha': 0 }, 200)).ignoreGlobalPause = !0, _1wq0.push(_1wpz), (_1wpz = createjs.Tween.get(this.name_txt).wait(_1wpx + 200).to({ 'alpha': 1 }, 50).wait(500).to({ 'alpha': 0 }, 200)).ignoreGlobalPause = !0, _1wq0.push(_1wpz), _1wq0; }, _1wpt; }(PIXI.Container), _1wp0 = function(_1wq1) { var _1wq2 = null; function _1wq3(_1wq4) { var _1wq5 = null, _1wq6 = _1wq1.call(this, _1wq4) || this; _1wq6._clouds = []; for (var _1wq7 = 0; _1wq7 < 3; _1wq7++) { var _1wq8 = new _1wq9(); _1wq6.addChild(_1wq8), _1wq6._clouds.push(_1wq8); } return _1wq6; } return _1wnf(_1wq3, _1wq1), _1wq3.prototype.initialize = function() { var _1wqa = null; for (var _1wqb = 0, _1wqc = this._clouds; _1wqb < _1wqc.length; _1wqb++) { _1wqc[_1wqb].initialize(); } }, _1wq3.prototype.activate = function() { var _1wqd = null; for (var _1wqe = 0, _1wqf = this._clouds; _1wqe < _1wqf.length; _1wqe++) { _1wqf[_1wqe].activate(); } }, _1wq3.prototype.deactivate = function() { var _1wqg = null; for (var _1wqh = 0, _1wqi = this._clouds; _1wqh < _1wqi.length; _1wqh++) { _1wqi[_1wqh].deactivate(); } }, _1wq3; }(PIXI.Sprite), _1wq9 = function(_1wqj) { var _1wqk = null; function _1wql() { var _1wqm = null, _1wqn = _1wqj.call(this) || this; return _1wqn.alpha = 0, _1wqn.x = Math.random() * (_1wny.default.width - 100) + 50, _1wqn.y = Math.random() * (_1wny.default.height - 100) + 50, _1wqn; } return _1wnf(_1wql, _1wqj), _1wql.prototype.initialize = function() { var _1wqo = null; this.anchor.set(0.5), this.texture = _1wo7.BATTLE_CUTIN_ANTI_AIR.getTexture(0); }, _1wql.prototype.activate = function() { var _1wqp = null; if (null == this._aTween) { var _1wqq = 1000 * Math.random() + 500; this._aTween = createjs.Tween.get(this, { 'loop': !0 }).to({ 'alpha': 1 }, _1wqq).to({ 'alpha': 1 }, _1wqq); } if (null == this._rTween) { var _1wqr = (Math.random() > 0.5 ? 1 : -1) * Math.PI * 2; _1wqq = 2400 * Math.random() + 2400, this._rTween = createjs.Tween.get(this, { 'loop': !0 }).to({ 'rotation': _1wqr }, _1wqq); } }, _1wql.prototype.deactivate = function() { var _1wqs = null; null != this._aTween && (this._aTween.setPaused(!0), this._aTween = null), null != this._rTween && (this._rTween.setPaused(!0), this._rTween = null); }, _1wql; }(PIXI.Sprite), _1wpp = function(_1wqt) { var _1wqu = null; function _1wqv() { var _1wqw = null, _1wqx = _1wqt.call(this) || this; return _1wqx._img1 = new _1wo1.Sprite(), _1wqx._img1.anchor.set(0.45, 0.85), _1wqx._img1.scale.set(0), _1wqx.addChild(_1wqx._img1), _1wqx._img2 = new _1wo1.Sprite(), _1wqx._img2.anchor.set(0.45, 0.85), _1wqx._img2.alpha = 0, _1wqx.addChild(_1wqx._img2), _1wqx; } return _1wnf(_1wqv, _1wqt), _1wqv.prototype.initialize = function() { var _1wqy = null; this._img1.texture = _1wo7.BATTLE_CUTIN_ANTI_AIR.getTexture(2), this._img2.texture = _1wo7.BATTLE_CUTIN_ANTI_AIR.getTexture(3); }, _1wqv.prototype.createTweens = function(_1wqz) { var _1wr0 = null, _1wr1 = [], _1wr2 = createjs.Tween.get(this._img1).wait(_1wqz).to({ 'scaleX': 1, 'scaleY': 1 }, 400).to({ 'scaleX': 1.15, 'scaleY': 1.15, 'alpha': 0 }, 300); return _1wr2.ignoreGlobalPause = !0, _1wr1.push(_1wr2), (_1wr2 = createjs.Tween.get(this._img2).wait(_1wqz + 400).to({ 'alpha': 1 }, 200).to({ 'scaleX': 1.3, 'scaleY': 1.3, 'alpha': 0 }, 500)).ignoreGlobalPause = !0, _1wr1.push(_1wr2), _1wr1; }, _1wqv; }(PIXI.Container); }, 75085: function(_1wr3, _1wr4, _1wr5) { 'use strict'; var _1wr6 = null; var _1wr7, _1wr8 = this && this.__extends || (_1wr7 = function(_1wr9, _1wra) { var _1wrb = null; return _1wr7 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1wrc, _1wrd) { var _1wre = null; _1wrc.__proto__ = _1wrd; } || function(_1wrf, _1wrg) { var _1wrh = null; for (var _1wri in _1wrg) Object.prototype.hasOwnProperty.call(_1wrg, _1wri) && (_1wrf[_1wri] = _1wrg[_1wri]); }, _1wr7(_1wr9, _1wra); }, function(_1wrj, _1wrk) { var _1wrl = null; if ('function' != typeof _1wrk && null !== _1wrk) throw new TypeError('Class extends value ' + String(_1wrk) + ' is not a constructor or null'); function _1wrm() { var _1wrn = null; this.constructor = _1wrj; } _1wr7(_1wrj, _1wrk), _1wrj.prototype = null === _1wrk ? Object.create(_1wrk) : (_1wrm.prototype = _1wrk.prototype, new _1wrm()); }); defineModule(_1wr4); Object.defineProperty(_1wr4, '__esModule', { 'value': !0 }), _1wr4.CutinCanvas = void 0; var _1wro = _1wr5(334), _1wrp = function(_1wrq) { var _1wrr = null; function _1wrs() { var _1wrt = null, _1wru = _1wrq.call(this) || this; return _1wru._chara = new PIXI.Container(), _1wru._box = new _1wro.CutinStatusBox(), _1wru.addChild(_1wru._chara), _1wru.addChild(_1wru._box), _1wru; } return _1wr8(_1wrs, _1wrq), Object.defineProperty(_1wrs.prototype, 'chara', { 'get': function() { var _1wrv = null; return this._chara; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1wrs.prototype, 'box', { 'get': function() { var _1wrw = null; return this._box; }, 'enumerable': !1, 'configurable': !0 }), _1wrs.prototype.dispose = function() { var _1wrx = null; this.removeChildren(), this._chara.removeChildren(), this._box.dispose(); }, _1wrs; }(PIXI.Container); _1wr4.CutinCanvas = _1wrp; }, 67377: function(_1wry, _1wrz, _1ws0) { 'use strict'; var _1ws1 = null; var _1ws2, _1ws3 = this && this.__extends || (_1ws2 = function(_1ws4, _1ws5) { var _1ws6 = null; return _1ws2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ws7, _1ws8) { var _1ws9 = null; _1ws7.__proto__ = _1ws8; } || function(_1wsa, _1wsb) { var _1wsc = null; for (var _1wsd in _1wsb) Object.prototype.hasOwnProperty.call(_1wsb, _1wsd) && (_1wsa[_1wsd] = _1wsb[_1wsd]); }, _1ws2(_1ws4, _1ws5); }, function(_1wse, _1wsf) { var _1wsg = null; if ('function' != typeof _1wsf && null !== _1wsf) throw new TypeError('Class extends value ' + String(_1wsf) + ' is not a constructor or null'); function _1wsh() { var _1wsi = null; this.constructor = _1wse; } _1ws2(_1wse, _1wsf), _1wse.prototype = null === _1wsf ? Object.create(_1wsf) : (_1wsh.prototype = _1wsf.prototype, new _1wsh()); }), _1wsj = this && this.__importDefault || function(_1wsk) { var _1wsl = null; return _1wsk && _1wsk.__esModule ? _1wsk : { 'default': _1wsk }; }; defineModule(_1wrz); Object.defineProperty(_1wrz, '__esModule', { 'value': !0 }), _1wrz.CutinCanvasFunnelOnce = _1wrz.CutinCanvasFunnel = void 0; var _1wsm = _1wsj(_1ws0(21359)), _1wsn = _1ws0(87475), _1wso = _1ws0(54011), _1wsp = _1ws0(22434), _1wsq = function(_1wsr) { var _1wss = null; function _1wst() { var _1wsu = null, _1wsv = _1wsr.call(this) || this; return _1wsv._bg = new _1wsn.FadeBox(0.8), _1wsv._bg.hide(0), _1wsv._content = new PIXI.Container(), _1wsv._overlay = new _1wsw(), _1wsv.addChild(_1wsv._bg), _1wsv.addChild(_1wsv._content), _1wsv.addChild(_1wsv._overlay), _1wsv; } return _1ws3(_1wst, _1wsr), Object.defineProperty(_1wst.prototype, 'bg', { 'get': function() { var _1wsx = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1wst.prototype, 'content', { 'get': function() { var _1wsy = null; return this._content; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1wst.prototype, 'overlay', { 'get': function() { var _1wsz = null; return this._overlay; }, 'enumerable': !1, 'configurable': !0 }), _1wst.prototype.initialize = function() { var _1wt0 = null; this._overlay.initialize(); }, _1wst; }(PIXI.Container); _1wrz.CutinCanvasFunnel = _1wsq; var _1wt1 = function(_1wt2) { var _1wt3 = null; function _1wt4() { var _1wt5 = null, _1wt6 = _1wt2.call(this) || this; return _1wt6._telop_bg = new PIXI.Sprite(), _1wt6._telop_bg.anchor.set(0.5), _1wt6._laser_effect = new _1wt7(), _1wt6._laser_effect.visible = !1, _1wt6._ship = new PIXI.Sprite(), _1wt6._ship.alpha = 0, _1wt6._ship_mask = new PIXI.Graphics(), _1wt6._plane1 = new _1wso.Sprite(), _1wt6._plane2 = new _1wso.Sprite(), _1wt6._plane3 = new _1wso.Sprite(), _1wt6.addChild(_1wt6._telop_bg), _1wt6.addChild(_1wt6._plane3), _1wt6.addChild(_1wt6._laser_effect), _1wt6.addChild(_1wt6._ship), _1wt6.addChild(_1wt6._ship_mask), _1wt6.addChild(_1wt6._plane2), _1wt6.addChild(_1wt6._plane1), _1wt6; } return _1ws3(_1wt4, _1wt2), Object.defineProperty(_1wt4.prototype, 'telop_bg', { 'get': function() { var _1wt8 = null; return this._telop_bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1wt4.prototype, 'laser_effect', { 'get': function() { var _1wt9 = null; return this._laser_effect; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1wt4.prototype, 'ship', { 'get': function() { var _1wta = null; return this._ship; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1wt4.prototype, 'ship_mask', { 'get': function() { var _1wtb = null; return this._ship_mask; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1wt4.prototype, 'plane1', { 'get': function() { var _1wtc = null; return this._plane1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1wt4.prototype, 'plane2', { 'get': function() { var _1wtd = null; return this._plane2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1wt4.prototype, 'plane3', { 'get': function() { var _1wte = null; return this._plane3; }, 'enumerable': !1, 'configurable': !0 }), _1wt4.prototype.initialize = function(_1wtf) { var _1wtg = null; this._ship_mask.beginFill(16711680, 0.3), 1 == _1wtf ? (this._telop_bg.texture = PIXI.Texture.fromFrame('battle_telop_kkcutin_f'), this._ship_mask.drawPolygon([new PIXI.Point(0, 0), new PIXI.Point(_1wsm.default.width, 0), new PIXI.Point(_1wsm.default.width, _1wsm.default.height), new PIXI.Point(_1wsm.default.width / 4 * 3, _1wsm.default.height), new PIXI.Point(0, _1wsm.default.height / 3 * 2)])) : (this._telop_bg.texture = PIXI.Texture.fromFrame('battle_telop_kkcutin_e'), this._ship_mask.drawPolygon([new PIXI.Point(0, 0), new PIXI.Point(_1wsm.default.width, 0), new PIXI.Point(_1wsm.default.width, _1wsm.default.height / 3 * 2), new PIXI.Point(_1wsm.default.width / 4, _1wsm.default.height), new PIXI.Point(0, _1wsm.default.height)])), this._ship_mask.endFill(); }, _1wt4; }(PIXI.Container); _1wrz.CutinCanvasFunnelOnce = _1wt1; var _1wt7 = function(_1wth) { function _1wti() { var _1wtj = null, _1wtk = _1wth.call(this) || this; return _1wtk.lineStyle(2.6, 65535), _1wtk.moveTo(24, 198), _1wtk.lineTo(-420, -105), _1wtk.moveTo(90, 174), _1wtk.lineTo(-90, -200), _1wtk.moveTo(177, 177), _1wtk.lineTo(420, -195), _1wtk; } return _1ws3(_1wti, _1wth), _1wti; }(PIXI.Graphics), _1wsw = function(_1wtl) { var _1wtm = null; function _1wtn() { var _1wto = null, _1wtp = _1wtl.call(this) || this; return _1wtp._content = new PIXI.Graphics(), _1wtp._content.visible = !1, _1wtp._gradient = new PIXI.Sprite(), _1wtp._gradient.visible = !1, _1wtp.addChild(_1wtp._content), _1wtp._content.addChild(_1wtp._gradient), _1wtp; } return _1ws3(_1wtn, _1wtl), Object.defineProperty(_1wtn.prototype, 'showed', { 'get': function() { var _1wtq = null; return this._content.visible; }, 'enumerable': !1, 'configurable': !0 }), _1wtn.prototype.initialize = function() { var _1wtr = null; this._gradient.texture = _1wsp.BATTLE_MAIN.getTexture(46), this._gradient.height = _1wsm.default.height, this._content.beginFill(0), this._content.drawRect(0, 0, _1wsm.default.width, _1wsm.default.height), this._content.endFill(); }, _1wtn.prototype.showFromRight = function(_1wts) { var _1wtt = null; void 0 === _1wts && (_1wts = null), 1 != this._content.visible && (this._content.x = this._gradient.width + _1wsm.default.width, this._gradient.scale.x = 1, this._gradient.x = -this._gradient.width, this._show(_1wts)); }, _1wtn.prototype.showFromLeft = function(_1wtu) { var _1wtv = null; void 0 === _1wtu && (_1wtu = null), 1 != this._content.visible && (this._content.x = -this._gradient.width - _1wsm.default.width, this._gradient.scale.x = -1, this._gradient.x = _1wsm.default.width + this._gradient.width, this._show(_1wtu)); }, _1wtn.prototype.hideToRight = function(_1wtw) { var _1wtx = null; void 0 === _1wtw && (_1wtw = null), 0 != this._content.visible && (this._gradient.scale.x = 1, this._gradient.x = -this._gradient.width, this._hide(_1wsm.default.width + this._gradient.width, _1wtw)); }, _1wtn.prototype.hideToLeft = function(_1wty) { var _1wtz = null; void 0 === _1wty && (_1wty = null), 0 != this._content.visible && (this._gradient.scale.x = -1, this._gradient.x = _1wsm.default.width + this._gradient.width, this._hide(-_1wsm.default.width - this._gradient.width, _1wty)); }, _1wtn.prototype._show = function(_1wu0) { var _1wu1 = null, _1wu2 = this; void 0 === _1wu0 && (_1wu0 = null), this._stopAnimation(), this._gradient.visible = !0, this._content.visible = !0, this._t = createjs.Tween.get(this._content).to({ 'x': 0 }, 250).call(function() { var _1wu3 = null; _1wu2._gradient.visible = !1, null != _1wu0 && _1wu0(); }); }, _1wtn.prototype._hide = function(_1wu4, _1wu5) { var _1wu6 = null, _1wu7 = this; void 0 === _1wu5 && (_1wu5 = null), this._stopAnimation(), this._gradient.visible = !0, this._t = createjs.Tween.get(this._content).to({ 'x': _1wu4 }, 250).call(function() { var _1wu8 = null; _1wu7._gradient.visible = !1, _1wu7._content.visible = !1, null != _1wu5 && _1wu5(); }); }, _1wtn.prototype._stopAnimation = function() { var _1wu9 = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _1wtn; }(PIXI.Container); }, 69595: function(_1wua, _1wub, _1wuc) { 'use strict'; var _1wud = null; var _1wue, _1wuf = this && this.__extends || (_1wue = function(_1wug, _1wuh) { var _1wui = null; return _1wue = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1wuj, _1wuk) { var _1wul = null; _1wuj.__proto__ = _1wuk; } || function(_1wum, _1wun) { var _1wuo = null; for (var _1wup in _1wun) Object.prototype.hasOwnProperty.call(_1wun, _1wup) && (_1wum[_1wup] = _1wun[_1wup]); }, _1wue(_1wug, _1wuh); }, function(_1wuq, _1wur) { var _1wus = null; if ('function' != typeof _1wur && null !== _1wur) throw new TypeError('Class extends value ' + String(_1wur) + ' is not a constructor or null'); function _1wut() { var _1wuu = null; this.constructor = _1wuq; } _1wue(_1wuq, _1wur), _1wuq.prototype = null === _1wur ? Object.create(_1wur) : (_1wut.prototype = _1wur.prototype, new _1wut()); }), _1wuv = this && this.__importDefault || function(_1wuw) { var _1wux = null; return _1wuw && _1wuw.__esModule ? _1wuw : { 'default': _1wuw }; }; defineModule(_1wub); Object.defineProperty(_1wub, '__esModule', { 'value': !0 }), _1wub.CutinCanvasSpRDJ = void 0; var _1wuy = _1wuv(_1wuc(21359)), _1wuz = _1wuv(_1wuc(18622)), _1wv0 = _1wuc(87475), _1wv1 = _1wuc(45054), _1wv2 = _1wuc(54011), _1wv3 = _1wuc(70723), _1wv4 = _1wuc(22434), _1wv5 = function(_1wv6) { var _1wv7 = null; function _1wv8() { var _1wv9 = null, _1wva = _1wv6.call(this) || this; return _1wva._bg = new _1wv0.FadeBox(0.9, 0), _1wva._chara = new PIXI.Container(), _1wva._layer_item1 = new _1wvb(), _1wva._layer_item2 = new _1wvc(), _1wva._layer_item3 = new _1wvd(), _1wva._layer_wave = new _1wve(), _1wva._layer_names = new _1wvf(), _1wva._bg.hide(0), _1wva._layer_item1.x = _1wuy.default.width / 2, _1wva._layer_item2.x = _1wuy.default.width / 2, _1wva._layer_item3.x = _1wuy.default.width / 2, _1wva._layer_wave.x = _1wuy.default.width / 2, _1wva._layer_names.x = _1wuy.default.width / 2, _1wva.addChild(_1wva._bg), _1wva.addChild(_1wva._chara), _1wva.addChild(_1wva._layer_item1), _1wva.addChild(_1wva._layer_item2), _1wva.addChild(_1wva._layer_item3), _1wva.addChild(_1wva._layer_wave), _1wva.addChild(_1wva._layer_names), _1wva; } return _1wuf(_1wv8, _1wv6), Object.defineProperty(_1wv8.prototype, 'bg', { 'get': function() { var _1wvg = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1wv8.prototype, 'chara', { 'get': function() { var _1wvh = null; return this._chara; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1wv8.prototype, 'layer_item1', { 'get': function() { var _1wvi = null; return this._layer_item1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1wv8.prototype, 'layer_item2', { 'get': function() { var _1wvj = null; return this._layer_item2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1wv8.prototype, 'layer_item3', { 'get': function() { var _1wvk = null; return this._layer_item3; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1wv8.prototype, 'layer_wave', { 'get': function() { var _1wvl = null; return this._layer_wave; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1wv8.prototype, 'layer_names', { 'get': function() { var _1wvm = null; return this._layer_names; }, 'enumerable': !1, 'configurable': !0 }), _1wv8.prototype.initialize = function(_1wvn, _1wvo) { var _1wvp = null; this._layer_item1.initialize(_1wvn, _1wvo.getSlot2Texture()), this._layer_item2.initialize(_1wvn, _1wvo.getSlot3Texture()), this._layer_item3.initialize(_1wvn, _1wvo.getSlot1Texture()), this._layer_wave.initialize(_1wvn), this._layer_names.initialize(_1wvn, _1wvo.slot_mst_id2, _1wvo.slot_mst_id3, _1wvo.slot_mst_id1); }, _1wv8.prototype.dispose = function() { var _1wvq = null; this.removeChildren(); }, _1wv8; }(PIXI.Container); _1wub.CutinCanvasSpRDJ = _1wv5; var _1wvb = function(_1wvr) { var _1wvs = null; function _1wvt() { var _1wvu = null, _1wvv = _1wvr.call(this) || this; _1wvv._bg = new PIXI.Sprite(), _1wvv._item = new _1wv2.Sprite(), _1wvv._bg.anchor.set(0.5), _1wvv._item.anchor.set(0.5), _1wvv._bg.position.set(281, 968), _1wvv._item.position.set(333, 774), _1wvv._item.scale.set(0.9), _1wvv._bg.alpha = 0, _1wvv._item.alpha = 0, _1wvv.addChild(_1wvv._bg), _1wvv.addChild(_1wvv._item); var _1wvw = new PIXI.Graphics(); return _1wvw.beginFill(16711680, 0.5), _1wvw.drawPolygon([new PIXI.Point(384, 0), new PIXI.Point(690, 0), new PIXI.Point(498, 720), new PIXI.Point(189, 720)]), _1wvw.endFill(), _1wvv.addChild(_1wvw), _1wvv._item.mask = _1wvw, _1wvv; } return _1wuf(_1wvt, _1wvr), _1wvt.prototype.initialize = function(_1wvx, _1wvy) { var _1wvz = null; this.scale.x = _1wvx ? 1 : -1; var _1ww0 = _1wvx ? 'battle_telop_mes_ybg6_f' : 'battle_telop_mes_ybg6_e'; this._bg.texture = PIXI.Texture.fromFrame(_1ww0), this._item.texture = _1wvy; }, _1wvt.prototype.show = function(_1ww1) { var _1ww2 = null; createjs.Tween.get(this._bg).wait(_1ww1).call(function() { var _1ww3 = null; _1wv3.SE.play('105'); }).to({ 'x': 381, 'y': 585, 'alpha': 1 }, 233), createjs.Tween.get(this._item).wait(_1ww1).to({ 'x': 479, 'y': 248, 'alpha': 1 }, 233).call(function() { var _1ww4 = null; _1wv3.SE.play('109'); }); }, _1wvt.prototype.hide = function(_1ww5) { var _1ww6 = null; createjs.Tween.get(this._item).wait(_1ww5).to({ 'scaleX': 1.15, 'scaleY': 1.15 }, 500); }, _1wvt; }(PIXI.Container), _1wvc = function(_1ww7) { var _1ww8 = null; function _1ww9() { var _1wwa = null, _1wwb = _1ww7.call(this) || this; _1wwb._bg = new PIXI.Sprite(), _1wwb._bg.scale.x = -1, _1wwb._bg.anchor.set(0.5), _1wwb._bg.position.set(30, -11), _1wwb._bg.alpha = 0, _1wwb.addChild(_1wwb._bg), _1wwb._item = new _1wv2.Sprite(), _1wwb._item.anchor.set(0.5), _1wwb._item.position.set(18, -174), _1wwb._item.alpha = 0, _1wwb.addChild(_1wwb._item); var _1wwc = new PIXI.Graphics(); return _1wwc.beginFill(16711680, 0.5), _1wwc.drawPolygon([new PIXI.Point(-120, 0), new PIXI.Point(194, 0), new PIXI.Point(384, 720), new PIXI.Point(75, 720)]), _1wwc.endFill(), _1wwb.addChild(_1wwc), _1wwb._item.mask = _1wwc, _1wwb; } return _1wuf(_1ww9, _1ww7), _1ww9.prototype.initialize = function(_1wwd, _1wwe) { var _1wwf = null; this.scale.x = _1wwd ? 1 : -1; var _1wwg = _1wwd ? 'battle_telop_mes_ybg6_f' : 'battle_telop_mes_ybg6_e'; this._bg.texture = PIXI.Texture.fromFrame(_1wwg), this._item.texture = _1wwe; }, _1ww9.prototype.show = function(_1wwh) { var _1wwi = null; createjs.Tween.get(this._bg).wait(_1wwh).call(function() { var _1wwj = null; _1wv3.SE.play('105'); }).to({ 'x': 194, 'y': 585, 'alpha': 1 }, 233), createjs.Tween.get(this._item).wait(_1wwh).to({ 'x': 159, 'y': 407, 'alpha': 1 }, 233).call(function() { var _1wwk = null; _1wv3.SE.play('109'); }); }, _1ww9.prototype.hide = function(_1wwl) { var _1wwm = null; createjs.Tween.get(this._item).wait(_1wwl).to({ 'scaleX': 1.15, 'scaleY': 1.15 }, 500); }, _1ww9; }(PIXI.Container), _1wvd = function(_1wwn) { var _1wwo = null; function _1wwp() { var _1wwq = null, _1wwr = _1wwn.call(this) || this; _1wwr._bg = new PIXI.Sprite(), _1wwr._canvas = new _1wv1.Container(), _1wwr._item = new PIXI.Sprite(), _1wwr._bg.anchor.set(0.5), _1wwr._bg.position.set(-386, 1133), _1wwr._canvas.position.set(-267, 908), _1wwr._canvas.scale.set(1.35), _1wwr._bg.alpha = 0, _1wwr._canvas.rotation = Math.PI / 180 * 105, _1wwr._canvas.alpha = 0, _1wwr.addChild(_1wwr._bg), _1wwr._canvas.addChild(_1wwr._item), _1wwr.addChild(_1wwr._canvas); var _1wws = new PIXI.Graphics(); return _1wws.beginFill(16711680, 0.5), _1wws.drawPolygon([new PIXI.Point(-210, 0), new PIXI.Point(98, 0), new PIXI.Point(-98, 720), new PIXI.Point(-413, 720)]), _1wws.endFill(), _1wwr.addChild(_1wws), _1wwr._item.mask = _1wws, _1wwr; } return _1wuf(_1wwp, _1wwn), _1wwp.prototype.initialize = function(_1wwt, _1wwu) { var _1wwv = null; this.scale.x = _1wwt ? 1 : -1; var _1www = _1wwt ? 'battle_telop_mes_ybg6_f' : 'battle_telop_mes_ybg6_e'; this._bg.texture = PIXI.Texture.fromFrame(_1www), this._item.texture = _1wwu, this._item.x = -Math.round(this._item.width / 2), this._item.y = -Math.round(this._item.height / 2); }, _1wwp.prototype.show = function(_1wwx) { var _1wwy = null; createjs.Tween.get(this._bg).wait(_1wwx).call(function() { var _1wwz = null; _1wv3.SE.play('105'); }).to({ 'x': -216, 'y': 585, 'alpha': 1 }, 233), createjs.Tween.get(this._canvas).wait(_1wwx).to({ 'x': -105, 'y': 270, 'alpha': 1 }, 233).call(function() { var _1wx0 = null; _1wv3.SE.play('109'); }); }, _1wwp.prototype.hide = function(_1wx1) { var _1wx2 = null; createjs.Tween.get(this._canvas).wait(_1wx1).to({ 'scaleX': 1.6, 'scaleY': 1.6 }, 500); }, _1wwp; }(PIXI.Container), _1wve = function(_1wx3) { var _1wx4 = null; function _1wx5() { var _1wx6 = null, _1wx7 = _1wx3.call(this) || this; return _1wx7._w1 = new _1wv2.Sprite(), _1wx7._w2 = new _1wv2.Sprite(), _1wx7._w3 = new _1wv2.Sprite(), _1wx7._w1.anchor.set(0.5), _1wx7._w2.anchor.set(0.5), _1wx7._w3.anchor.set(0.5), _1wx7._w1.scale.set(0), _1wx7._w2.scale.set(0), _1wx7._w3.scale.set(0), _1wx7.addChild(_1wx7._w1), _1wx7.addChild(_1wx7._w2), _1wx7.addChild(_1wx7._w3), _1wx7; } return _1wuf(_1wx5, _1wx3), _1wx5.prototype.initialize = function(_1wx8) { var _1wx9 = null; this.scale.x = _1wx8 ? 1 : -1, this._w1.position.set(479, 141), this._w2.position.set(215, 516), this._w3.position.set(-146, 278), this._w1.texture = _1wv4.BATTLE_MAIN.getTexture(117), this._w2.texture = _1wv4.BATTLE_MAIN.getTexture(117), this._w3.texture = _1wv4.BATTLE_MAIN.getTexture(117); }, _1wx5.prototype.show = function(_1wxa) { var _1wxb = null; createjs.Tween.get(this._w1).wait(_1wxa).to({ 'scaleX': 2.27, 'scaleY': 2.27 }, 200).to({ 'scaleX': 2.65, 'scaleY': 2.65, 'alpha': 0 }, 333), createjs.Tween.get(this._w2).wait(_1wxa + 433).to({ 'scaleX': 2.27, 'scaleY': 2.27 }, 200).to({ 'scaleX': 2.65, 'scaleY': 2.65, 'alpha': 0 }, 333), createjs.Tween.get(this._w3).wait(_1wxa + 866).to({ 'scaleX': 2.27, 'scaleY': 2.27 }, 200).to({ 'scaleX': 2.65, 'scaleY': 2.65, 'alpha': 0 }, 333); }, _1wx5; }(PIXI.Container), _1wvf = function(_1wxc) { var _1wxd = null; function _1wxe() { var _1wxf = null, _1wxg = _1wxc.call(this) || this; return _1wxg._name1 = new PIXI.Sprite(), _1wxg._name2 = new PIXI.Sprite(), _1wxg._name3 = new PIXI.Sprite(), _1wxg._name1.scale.set(0.76), _1wxg._name2.scale.set(0.76), _1wxg._name3.scale.set(0.76), _1wxg._name1.alpha = 0, _1wxg._name2.alpha = 0, _1wxg._name3.alpha = 0, _1wxg.addChild(_1wxg._name1), _1wxg.addChild(_1wxg._name2), _1wxg.addChild(_1wxg._name3), _1wxg; } return _1wuf(_1wxe, _1wxc), _1wxe.prototype.initialize = function(_1wxh, _1wxi, _1wxj, _1wxk) { var _1wxl = null; this._name1.anchor.set(_1wxh ? 1 : 0, 0.5), this._name2.anchor.set(_1wxh ? 1 : 0, 0.5), this._name3.anchor.set(_1wxh ? 1 : 0, 0.5), this._name1.position.set(_1wxh ? 578 : -578, 615), this._name2.position.set(_1wxh ? 578 : -578, 480), this._name3.position.set(_1wxh ? 578 : -578, 345), this._name1.texture = _1wuz.default.resources.getSlotitem(_1wxi, 'btxt_flat'), this._name2.texture = _1wuz.default.resources.getSlotitem(_1wxj, 'btxt_flat'), this._name3.texture = _1wuz.default.resources.getSlotitem(_1wxk, 'btxt_flat'); }, _1wxe.prototype.show = function(_1wxm) { var _1wxn = null; createjs.Tween.get(this._name3).wait(_1wxm + 866).to({ 'alpha': 1 }, 233), createjs.Tween.get(this._name2).wait(_1wxm + 433).to({ 'alpha': 1 }, 233), createjs.Tween.get(this._name1).wait(_1wxm).to({ 'alpha': 1 }, 233); }, _1wxe; }(PIXI.Container); }, 75803: function(_1wxo, _1wxp, _1wxq) { 'use strict'; var _1wxr = null; var _1wxs, _1wxt = this && this.__extends || (_1wxs = function(_1wxu, _1wxv) { var _1wxw = null; return _1wxs = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1wxx, _1wxy) { var _1wxz = null; _1wxx.__proto__ = _1wxy; } || function(_1wy0, _1wy1) { var _1wy2 = null; for (var _1wy3 in _1wy1) Object.prototype.hasOwnProperty.call(_1wy1, _1wy3) && (_1wy0[_1wy3] = _1wy1[_1wy3]); }, _1wxs(_1wxu, _1wxv); }, function(_1wy4, _1wy5) { var _1wy6 = null; if ('function' != typeof _1wy5 && null !== _1wy5) throw new TypeError('Class extends value ' + String(_1wy5) + ' is not a constructor or null'); function _1wy7() { var _1wy8 = null; this.constructor = _1wy4; } _1wxs(_1wy4, _1wy5), _1wy4.prototype = null === _1wy5 ? Object.create(_1wy5) : (_1wy7.prototype = _1wy5.prototype, new _1wy7()); }), _1wy9 = this && this.__importDefault || function(_1wya) { var _1wyb = null; return _1wya && _1wya.__esModule ? _1wya : { 'default': _1wya }; }; defineModule(_1wxp); Object.defineProperty(_1wxp, '__esModule', { 'value': !0 }), _1wxp.CutinCanvasSpRR = void 0; var _1wyc = _1wy9(_1wxq(18622)), _1wyd = _1wxq(87475), _1wye = _1wxq(54011), _1wyf = _1wxq(70723), _1wyg = _1wxq(22434), _1wyh = function(_1wyi) { var _1wyj = null; function _1wyk() { var _1wyl = null, _1wym = _1wyi.call(this) || this; return _1wym._bg = new _1wyd.FadeBox(0.9, 0), _1wym._chara = new PIXI.Container(), _1wym._layer_item1 = new _1wyn(), _1wym._layer_item2 = new _1wyo(), _1wym._layer_item3 = new _1wyp(), _1wym._layer_wave = new _1wyq(), _1wym._layer_names = new _1wyr(), _1wym._bg.hide(0), _1wym._layer_item1.x = 600, _1wym._layer_item2.x = 600, _1wym._layer_item3.x = 600, _1wym._layer_wave.x = 600, _1wym._layer_names.x = 600, _1wym.addChild(_1wym._bg), _1wym.addChild(_1wym._chara), _1wym.addChild(_1wym._layer_item1), _1wym.addChild(_1wym._layer_item2), _1wym.addChild(_1wym._layer_item3), _1wym.addChild(_1wym._layer_wave), _1wym.addChild(_1wym._layer_names), _1wym; } return _1wxt(_1wyk, _1wyi), Object.defineProperty(_1wyk.prototype, 'bg', { 'get': function() { var _1wys = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1wyk.prototype, 'chara', { 'get': function() { var _1wyt = null; return this._chara; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1wyk.prototype, 'layer_item1', { 'get': function() { var _1wyu = null; return this._layer_item1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1wyk.prototype, 'layer_item2', { 'get': function() { var _1wyv = null; return this._layer_item2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1wyk.prototype, 'layer_item3', { 'get': function() { var _1wyw = null; return this._layer_item3; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1wyk.prototype, 'layer_wave', { 'get': function() { var _1wyx = null; return this._layer_wave; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1wyk.prototype, 'layer_names', { 'get': function() { var _1wyy = null; return this._layer_names; }, 'enumerable': !1, 'configurable': !0 }), _1wyk.prototype.initialize = function(_1wyz, _1wz0, _1wz1) { var _1wz2 = null; this._layer_item1.initialize(_1wyz, _1wz0), this._layer_item2.initialize(_1wyz, _1wz1), this._layer_item3.initialize(_1wyz, _1wz1), this._layer_wave.initialize(_1wyz), this._layer_names.initialize(_1wyz, _1wz0, _1wz1); }, _1wyk.prototype.dispose = function() { var _1wz3 = null; this.removeChildren(); }, _1wyk; }(PIXI.Container); _1wxp.CutinCanvasSpRR = _1wyh; var _1wyn = function(_1wz4) { var _1wz5 = null; function _1wz6() { var _1wz7 = null, _1wz8 = _1wz4.call(this) || this; _1wz8._bg = new PIXI.Sprite(), _1wz8._item = new PIXI.Sprite(), _1wz8._bg.anchor.set(0.5), _1wz8._item.anchor.set(0.5), _1wz8._bg.position.set(281, 968), _1wz8._item.position.set(335, 777), _1wz8._item.scale.set(1.5), _1wz8._bg.alpha = 0, _1wz8._item.alpha = 0, _1wz8._item.rotation = -Math.PI / 180 * 72, _1wz8.addChild(_1wz8._bg), _1wz8.addChild(_1wz8._item); var _1wz9 = new PIXI.Graphics(); return _1wz9.beginFill(16711680, 0.5), _1wz9.drawPolygon([new PIXI.Point(384, 0), new PIXI.Point(690, 0), new PIXI.Point(498, 720), new PIXI.Point(189, 720)]), _1wz9.endFill(), _1wz8.addChild(_1wz9), _1wz8._item.mask = _1wz9, _1wz8; } return _1wxt(_1wz6, _1wz4), _1wz6.prototype.initialize = function(_1wza, _1wzb) { var _1wzc = null; this.scale.x = _1wza ? 1 : -1; var _1wzd = _1wza ? 'battle_telop_mes_ybg6_f' : 'battle_telop_mes_ybg6_e'; this._bg.texture = PIXI.Texture.fromFrame(_1wzd), this._item.texture = _1wyc.default.resources.getSlotitem(_1wzb, 'item_up'); }, _1wz6.prototype.show = function(_1wze) { var _1wzf = null; createjs.Tween.get(this._bg).wait(_1wze).call(function() { var _1wzg = null; _1wyf.SE.play('105'); }).to({ 'x': 381, 'y': 585, 'alpha': 1 }, 233), createjs.Tween.get(this._item).wait(_1wze).to({ 'x': 414, 'y': 248, 'alpha': 1 }, 233).call(function() { var _1wzh = null; _1wyf.SE.play('109'); }); }, _1wz6; }(PIXI.Container), _1wyo = function(_1wzi) { var _1wzj = null; function _1wzk() { var _1wzl = null, _1wzm = _1wzi.call(this) || this; _1wzm._bg = new PIXI.Sprite(), _1wzm._bg.scale.x = -1, _1wzm._bg.anchor.set(0.5), _1wzm._bg.position.set(30, -11), _1wzm._bg.alpha = 0, _1wzm.addChild(_1wzm._bg), _1wzm._item = new PIXI.Sprite(), _1wzm._item.anchor.set(0.5), _1wzm._item.position.set(15, -87), _1wzm._item.scale.set(1.5), _1wzm._item.alpha = 0, _1wzm._item.rotation = Math.PI / 180 * 74, _1wzm.addChild(_1wzm._item); var _1wzn = new PIXI.Graphics(); return _1wzn.beginFill(16711680, 0.5), _1wzn.drawPolygon([new PIXI.Point(-120, 0), new PIXI.Point(194, 0), new PIXI.Point(384, 720), new PIXI.Point(75, 720)]), _1wzn.endFill(), _1wzm.addChild(_1wzn), _1wzm._item.mask = _1wzn, _1wzm; } return _1wxt(_1wzk, _1wzi), _1wzk.prototype.initialize = function(_1wzo, _1wzp) { var _1wzq = null; this.scale.x = _1wzo ? 1 : -1; var _1wzr = _1wzo ? 'battle_telop_mes_ybg6_f' : 'battle_telop_mes_ybg6_e'; this._bg.texture = PIXI.Texture.fromFrame(_1wzr), this._item.texture = _1wyc.default.resources.getSlotitem(_1wzp, 'item_up'); }, _1wzk.prototype.show = function(_1wzs) { var _1wzt = null; createjs.Tween.get(this._bg).wait(_1wzs).call(function() { var _1wzu = null; _1wyf.SE.play('105'); }).to({ 'x': 194, 'y': 585, 'alpha': 1 }, 233), createjs.Tween.get(this._item).wait(_1wzs).to({ 'x': 191, 'y': 386, 'alpha': 1 }, 233).call(function() { var _1wzv = null; _1wyf.SE.play('109'); }); }, _1wzk; }(PIXI.Container), _1wyp = function(_1wzw) { var _1wzx = null; function _1wzy() { var _1wzz = null, _1x00 = _1wzw.call(this) || this; _1x00._bg = new PIXI.Sprite(), _1x00._item = new PIXI.Sprite(), _1x00._bg.anchor.set(0.5), _1x00._item.anchor.set(0.5), _1x00._bg.position.set(-386, 1133), _1x00._item.position.set(-315, 714), _1x00._item.scale.set(1.5), _1x00._bg.alpha = 0, _1x00._item.alpha = 0, _1x00._item.rotation = Math.PI / 180 * 105, _1x00.addChild(_1x00._bg), _1x00.addChild(_1x00._item); var _1x01 = new PIXI.Graphics(); return _1x01.beginFill(16711680, 0.5), _1x01.drawPolygon([new PIXI.Point(-210, 0), new PIXI.Point(98, 0), new PIXI.Point(-98, 720), new PIXI.Point(-413, 720)]), _1x01.endFill(), _1x00.addChild(_1x01), _1x00._item.mask = _1x01, _1x00; } return _1wxt(_1wzy, _1wzw), _1wzy.prototype.initialize = function(_1x02, _1x03) { var _1x04 = null; this.scale.x = _1x02 ? 1 : -1; var _1x05 = _1x02 ? 'battle_telop_mes_ybg6_f' : 'battle_telop_mes_ybg6_e'; this._bg.texture = PIXI.Texture.fromFrame(_1x05), this._item.texture = _1wyc.default.resources.getSlotitem(_1x03, 'item_up'); }, _1wzy.prototype.show = function(_1x06) { var _1x07 = null; createjs.Tween.get(this._bg).wait(_1x06).call(function() { var _1x08 = null; _1wyf.SE.play('105'); }).to({ 'x': -216, 'y': 585, 'alpha': 1 }, 233), createjs.Tween.get(this._item).wait(_1x06).to({ 'x': -93, 'y': 161, 'alpha': 1 }, 233).call(function() { var _1x09 = null; _1wyf.SE.play('109'); }); }, _1wzy; }(PIXI.Container), _1wyq = function(_1x0a) { var _1x0b = null; function _1x0c() { var _1x0d = null, _1x0e = _1x0a.call(this) || this; return _1x0e._w1 = new _1wye.Sprite(), _1x0e._w2 = new _1wye.Sprite(), _1x0e._w3 = new _1wye.Sprite(), _1x0e._w1.anchor.set(0.5), _1x0e._w2.anchor.set(0.5), _1x0e._w3.anchor.set(0.5), _1x0e._w1.scale.set(0), _1x0e._w2.scale.set(0), _1x0e._w3.scale.set(0), _1x0e.addChild(_1x0e._w1), _1x0e.addChild(_1x0e._w2), _1x0e.addChild(_1x0e._w3), _1x0e; } return _1wxt(_1x0c, _1x0a), _1x0c.prototype.initialize = function(_1x0f) { var _1x0g = null; this.scale.x = _1x0f ? 1 : -1, this._w1.position.set(479, 141), this._w2.position.set(215, 516), this._w3.position.set(-146, 278), this._w1.texture = _1wyg.BATTLE_MAIN.getTexture(117), this._w2.texture = _1wyg.BATTLE_MAIN.getTexture(117), this._w3.texture = _1wyg.BATTLE_MAIN.getTexture(117); }, _1x0c.prototype.show = function(_1x0h) { var _1x0i = null; createjs.Tween.get(this._w1).wait(_1x0h).to({ 'scaleX': 2.27, 'scaleY': 2.27 }, 200).to({ 'scaleX': 2.65, 'scaleY': 2.65, 'alpha': 0 }, 333), createjs.Tween.get(this._w2).wait(_1x0h + 433).to({ 'scaleX': 2.27, 'scaleY': 2.27 }, 200).to({ 'scaleX': 2.65, 'scaleY': 2.65, 'alpha': 0 }, 333), createjs.Tween.get(this._w3).wait(_1x0h + 866).to({ 'scaleX': 2.27, 'scaleY': 2.27 }, 200).to({ 'scaleX': 2.65, 'scaleY': 2.65, 'alpha': 0 }, 333); }, _1x0c; }(PIXI.Container), _1wyr = function(_1x0j) { var _1x0k = null; function _1x0l() { var _1x0m = null, _1x0n = _1x0j.call(this) || this; return _1x0n._name1 = new PIXI.Sprite(), _1x0n._name2 = new PIXI.Sprite(), _1x0n._name3 = new PIXI.Sprite(), _1x0n._name1.scale.set(0.76), _1x0n._name2.scale.set(0.76), _1x0n._name3.scale.set(0.76), _1x0n._name1.alpha = 0, _1x0n._name2.alpha = 0, _1x0n._name3.alpha = 0, _1x0n.addChild(_1x0n._name1), _1x0n.addChild(_1x0n._name2), _1x0n.addChild(_1x0n._name3), _1x0n; } return _1wxt(_1x0l, _1x0j), _1x0l.prototype.initialize = function(_1x0o, _1x0p, _1x0q) { var _1x0r = null; this._name1.anchor.set(_1x0o ? 1 : 0, 0.5), this._name2.anchor.set(_1x0o ? 1 : 0, 0.5), this._name3.anchor.set(_1x0o ? 1 : 0, 0.5), this._name1.position.set(_1x0o ? 578 : -578, 615), this._name2.position.set(_1x0o ? 578 : -578, 480), this._name3.position.set(_1x0o ? 578 : -578, 345), this._name1.texture = _1wyc.default.resources.getSlotitem(_1x0p, 'btxt_flat'), this._name2.texture = _1wyc.default.resources.getSlotitem(_1x0q, 'btxt_flat'), this._name3.texture = _1wyc.default.resources.getSlotitem(_1x0q, 'btxt_flat'); }, _1x0l.prototype.show = function(_1x0s) { var _1x0t = null; createjs.Tween.get(this._name1).wait(_1x0s + 866).to({ 'alpha': 1 }, 233), createjs.Tween.get(this._name2).wait(_1x0s + 433).to({ 'alpha': 1 }, 233), createjs.Tween.get(this._name3).wait(_1x0s).to({ 'alpha': 1 }, 233); }, _1x0l; }(PIXI.Container); }, 56434: function(_1x0u, _1x0v, _1x0w) { 'use strict'; var _1x0x = null; var _1x0y, _1x0z = this && this.__extends || (_1x0y = function(_1x10, _1x11) { var _1x12 = null; return _1x0y = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1x13, _1x14) { var _1x15 = null; _1x13.__proto__ = _1x14; } || function(_1x16, _1x17) { var _1x18 = null; for (var _1x19 in _1x17) Object.prototype.hasOwnProperty.call(_1x17, _1x19) && (_1x16[_1x19] = _1x17[_1x19]); }, _1x0y(_1x10, _1x11); }, function(_1x1a, _1x1b) { var _1x1c = null; if ('function' != typeof _1x1b && null !== _1x1b) throw new TypeError('Class extends value ' + String(_1x1b) + ' is not a constructor or null'); function _1x1d() { var _1x1e = null; this.constructor = _1x1a; } _1x0y(_1x1a, _1x1b), _1x1a.prototype = null === _1x1b ? Object.create(_1x1b) : (_1x1d.prototype = _1x1b.prototype, new _1x1d()); }), _1x1f = this && this.__importDefault || function(_1x1g) { var _1x1h = null; return _1x1g && _1x1g.__esModule ? _1x1g : { 'default': _1x1g }; }; defineModule(_1x0v); Object.defineProperty(_1x0v, '__esModule', { 'value': !0 }), _1x0v.CutinCanvasSpSR = void 0; var _1x1i = _1x1f(_1x0w(18622)), _1x1j = _1x0w(87475), _1x1k = _1x0w(54011), _1x1l = _1x0w(70723), _1x1m = _1x0w(66423), _1x1n = function(_1x1o) { var _1x1p = null; function _1x1q() { var _1x1r = null, _1x1s = _1x1o.call(this) || this; return _1x1s._bg = new _1x1j.FadeBox(0.9, 0), _1x1s._chara = new PIXI.Container(), _1x1s._layer_bg = new _1x1t(), _1x1s._layer_item = new _1x1u(), _1x1s._layer_name = new _1x1v(), _1x1s._layer_center = new _1x1w(), _1x1s._layer_center_name = new _1x1x(), _1x1s._bg.hide(0), _1x1s._layer_bg.x = 600, _1x1s._layer_item.x = 600, _1x1s._layer_name.x = 600, _1x1s._layer_center.x = 600, _1x1s._layer_center_name.position.set(600, 360), _1x1s.addChild(_1x1s._bg), _1x1s.addChild(_1x1s._chara), _1x1s.addChild(_1x1s._layer_center), _1x1s.addChild(_1x1s._layer_bg), _1x1s.addChild(_1x1s._layer_item), _1x1s.addChild(_1x1s._layer_name), _1x1s.addChild(_1x1s._layer_center_name), _1x1s; } return _1x0z(_1x1q, _1x1o), Object.defineProperty(_1x1q.prototype, 'bg', { 'get': function() { var _1x1y = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1x1q.prototype, 'chara', { 'get': function() { var _1x1z = null; return this._chara; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1x1q.prototype, 'layer_bg', { 'get': function() { var _1x20 = null; return this._layer_bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1x1q.prototype, 'layer_item', { 'get': function() { var _1x21 = null; return this._layer_item; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1x1q.prototype, 'layer_name', { 'get': function() { var _1x22 = null; return this._layer_name; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1x1q.prototype, 'layer_center', { 'get': function() { var _1x23 = null; return this._layer_center; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1x1q.prototype, 'layer_center_name', { 'get': function() { var _1x24 = null; return this._layer_center_name; }, 'enumerable': !1, 'configurable': !0 }), _1x1q.prototype.initialize = function(_1x25, _1x26, _1x27) { var _1x28 = null; this._layer_bg.initialize(_1x25), this._layer_item.initialize(_1x25, _1x27), this._layer_name.initialize(_1x25, _1x27), this._layer_center.initialize(_1x25, _1x26), this._layer_center_name.initialize(_1x26); }, _1x1q.prototype.dispose = function() { var _1x29 = null; this.removeChildren(); }, _1x1q; }(PIXI.Container); _1x0v.CutinCanvasSpSR = _1x1n; var _1x1t = function(_1x2a) { var _1x2b = null; function _1x2c() { var _1x2d = null, _1x2e = _1x2a.call(this) || this; return _1x2e._bg1 = new PIXI.Sprite(), _1x2e._bg1.scale.x = -1, _1x2e._bg1.anchor.set(0.5), _1x2e._bg1.position.set(-447, -173), _1x2e._bg1.alpha = 0, _1x2e.addChild(_1x2e._bg1), _1x2e._bg2 = new PIXI.Sprite(), _1x2e._bg2.scale.x = -1, _1x2e._bg2.anchor.set(0.5), _1x2e._bg2.position.set(596, 929), _1x2e._bg2.alpha = 0, _1x2e.addChild(_1x2e._bg2), _1x2e; } return _1x0z(_1x2c, _1x2a), _1x2c.prototype.initialize = function(_1x2f) { var _1x2g = null; this.scale.x = _1x2f ? 1 : -1; var _1x2h = _1x2f ? 'battle_telop_mes_ybg3_f' : 'battle_telop_mes_ybg3_e'; this._bg1.texture = PIXI.Texture.fromFrame(_1x2h), this._bg2.texture = PIXI.Texture.fromFrame(_1x2h); }, _1x2c.prototype.show = function(_1x2i) { var _1x2j = null; createjs.Tween.get(this._bg1).wait(_1x2i).to({ 'x': 305, 'y': 63, 'alpha': 1 }, 233), createjs.Tween.get(this._bg2).wait(_1x2i).to({ 'x': 62, 'y': 767, 'alpha': 1 }, 233); }, _1x2c; }(PIXI.Container), _1x1u = function(_1x2k) { var _1x2l = null; function _1x2m() { var _1x2n = null, _1x2o = _1x2k.call(this) || this; _1x2o._item2 = new PIXI.Sprite(), _1x2o._item3 = new PIXI.Sprite(), _1x2o._item2.anchor.set(0.5), _1x2o._item3.anchor.set(0.5), _1x2o._item2.scale.set(1.5), _1x2o._item3.scale.set(1.5), _1x2o._item2.position.set(300, 845), _1x2o._item3.position.set(-174, -101), _1x2o._item2.alpha = 0, _1x2o._item3.alpha = 0, _1x2o.addChild(_1x2o._item2), _1x2o.addChild(_1x2o._item3); var _1x2p = new PIXI.Graphics(); return _1x2p.beginFill(16711680, 0.5), _1x2p.drawPolygon([new PIXI.Point(-600, 398), new PIXI.Point(600, 773), new PIXI.Point(-600, 720)]), _1x2p.endFill(), _1x2p.beginFill(16711680, 0.5), _1x2p.drawPolygon([new PIXI.Point(600, 0), new PIXI.Point(600, 315), new PIXI.Point(-600, -60)]), _1x2p.endFill(), _1x2o.addChild(_1x2p), _1x2o.mask = _1x2p, _1x2o; } return _1x0z(_1x2m, _1x2k), _1x2m.prototype.initialize = function(_1x2q, _1x2r) { var _1x2s = null; this.scale.x = _1x2q ? 1 : -1, this._item2.texture = _1x1i.default.resources.getSlotitem(_1x2r, 'item_up'), this._item3.texture = _1x1i.default.resources.getSlotitem(_1x2r, 'item_up'); }, _1x2m.prototype.show = function(_1x2t) { var _1x2u = null; createjs.Tween.get(this._item2).wait(_1x2t).call(function() { var _1x2v = null; _1x1l.SE.play('105'); }).to({ 'x': -332, 'y': 636, 'alpha': 1 }, 233).call(function() { var _1x2w = null; _1x1l.SE.play('109'); }), createjs.Tween.get(this._item3).wait(_1x2t).to({ 'x': 326, 'y': 54, 'alpha': 1 }, 233); }, _1x2m; }(PIXI.Container), _1x1v = function(_1x2x) { var _1x2y = null; function _1x2z() { var _1x30 = null, _1x31 = _1x2x.call(this) || this; return _1x31._item2 = new PIXI.Sprite(), _1x31._item3 = new PIXI.Sprite(), _1x31._item2.scale.set(0.76), _1x31._item3.scale.set(0.76), _1x31._item2.alpha = 0, _1x31._item3.alpha = 0, _1x31.addChild(_1x31._item2), _1x31.addChild(_1x31._item3), _1x31; } return _1x0z(_1x2z, _1x2x), _1x2z.prototype.initialize = function(_1x32, _1x33) { var _1x34 = null; this._item2.anchor.set(_1x32 ? 0 : 1, 0.5), this._item3.anchor.set(_1x32 ? 1 : 0, 0.5), this._item2.position.set(-1028 * (_1x32 ? 1 : -1), 548), this._item3.position.set(1028 * (_1x32 ? 1 : -1), 173), this._friend = _1x32, this._item2.texture = _1x1i.default.resources.getSlotitem(_1x33, 'btxt_flat'), this._item3.texture = _1x1i.default.resources.getSlotitem(_1x33, 'btxt_flat'); }, _1x2z.prototype.show = function(_1x35) { var _1x36 = null, _1x37 = this._friend ? 1 : -1; createjs.Tween.get(this._item2).wait(_1x35).to({ 'x': -555 * _1x37, 'alpha': 1 }, 200), createjs.Tween.get(this._item3).wait(_1x35).to({ 'x': 555 * _1x37, 'alpha': 1 }, 200); }, _1x2z; }(PIXI.Container), _1x1w = function(_1x38) { var _1x39 = null; function _1x3a() { var _1x3b = null, _1x3c = _1x38.call(this) || this; _1x3c._bg = new PIXI.Sprite(), _1x3c._item = new _1x1k.Sprite(), _1x3c._bg.anchor.set(0.5), _1x3c._item.anchor.set(0.5), _1x3c._bg.position.set(-986, 620), _1x3c._item.position.set(35, 360), _1x3c._item.scale.set(2.3), _1x3c._bg.alpha = 0, _1x3c._item.alpha = 0, _1x3c.addChild(_1x3c._bg), _1x3c.addChild(_1x3c._item); var _1x3d = new PIXI.Graphics(); return _1x3d.beginFill(16711680, 0.5), _1x3d.drawPolygon([new PIXI.Point(-600, 353), new PIXI.Point(600, 90), new PIXI.Point(600, 458), new PIXI.Point(-600, 713)]), _1x3d.endFill(), _1x3c.addChild(_1x3d), _1x3c._item.mask = _1x3d, _1x3c; } return _1x0z(_1x3a, _1x38), _1x3a.prototype.initialize = function(_1x3e, _1x3f) { var _1x3g = null; this.scale.x = _1x3e ? 1 : -1, this._bg.rotation = Math.PI / 180 * 5.5, this._bg.scale.set(1.16); var _1x3h = _1x3e ? 'battle_telop_mes_ybg3_f' : 'battle_telop_mes_ybg3_e'; this._bg.texture = PIXI.Texture.fromFrame(_1x3h), this._item.texture = _1x1i.default.resources.getSlotitem(_1x3f, 'item_up'); }, _1x3a.prototype.show = function(_1x3i) { var _1x3j = null, _1x3k = this; createjs.Tween.get(this._bg).wait(_1x3i).to({ 'x': 18, 'y': 399, 'alpha': 1 }, 366).wait(200).call(function() { var _1x3l = null, _1x3m = new _1x1m.Wave(); _1x3m.initialize(), _1x3m.position.set(0, 360), _1x3k.addChild(_1x3m), _1x3m.play(); }), createjs.Tween.get(this._item).wait(_1x3i + 166).call(function() { var _1x3n = null; _1x1l.SE.play('105'); }).to({ 'scaleX': 2, 'scaleY': 2, 'alpha': 1 }, 500).call(function() { var _1x3o = null; _1x1l.SE.play('109'); }); }, _1x3a; }(PIXI.Container), _1x1x = function(_1x3p) { var _1x3q = null; function _1x3r() { var _1x3s = null, _1x3t = _1x3p.call(this) || this; return _1x3t.anchor.set(0.5), _1x3t.scale.set(2.35), _1x3t.alpha = 0, _1x3t; } return _1x0z(_1x3r, _1x3p), _1x3r.prototype.initialize = function(_1x3u) { var _1x3v = null; this.texture = _1x1i.default.resources.getSlotitem(_1x3u, 'btxt_flat'); }, _1x3r.prototype.show = function(_1x3w) { var _1x3x = null; createjs.Tween.get(this).wait(_1x3w).to({ 'scaleX': 1.15, 'scaleY': 1.15, 'alpha': 1 }, 200); }, _1x3r; }(_1x1k.Sprite); }, 26431: function(_1x3y, _1x3z, _1x40) { 'use strict'; var _1x41 = null; var _1x42, _1x43 = this && this.__extends || (_1x42 = function(_1x44, _1x45) { var _1x46 = null; return _1x42 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1x47, _1x48) { var _1x49 = null; _1x47.__proto__ = _1x48; } || function(_1x4a, _1x4b) { var _1x4c = null; for (var _1x4d in _1x4b) Object.prototype.hasOwnProperty.call(_1x4b, _1x4d) && (_1x4a[_1x4d] = _1x4b[_1x4d]); }, _1x42(_1x44, _1x45); }, function(_1x4e, _1x4f) { var _1x4g = null; if ('function' != typeof _1x4f && null !== _1x4f) throw new TypeError('Class extends value ' + String(_1x4f) + ' is not a constructor or null'); function _1x4h() { var _1x4i = null; this.constructor = _1x4e; } _1x42(_1x4e, _1x4f), _1x4e.prototype = null === _1x4f ? Object.create(_1x4f) : (_1x4h.prototype = _1x4f.prototype, new _1x4h()); }), _1x4j = this && this.__importDefault || function(_1x4k) { var _1x4l = null; return _1x4k && _1x4k.__esModule ? _1x4k : { 'default': _1x4k }; }; defineModule(_1x3z); Object.defineProperty(_1x3z, '__esModule', { 'value': !0 }), _1x3z.CutinCanvasSpSRD = void 0; var _1x4m = _1x4j(_1x40(21359)), _1x4n = _1x4j(_1x40(18622)), _1x4o = _1x40(87475), _1x4p = _1x40(54011), _1x4q = _1x40(70723), _1x4r = _1x40(66423), _1x4s = function(_1x4t) { var _1x4u = null; function _1x4v() { var _1x4w = null, _1x4x = _1x4t.call(this) || this; return _1x4x._bg = new _1x4o.FadeBox(0.9, 0), _1x4x._chara = new PIXI.Container(), _1x4x._layer_bg = new _1x4y(), _1x4x._layer_item = new _1x4z(), _1x4x._layer_name = new _1x50(), _1x4x._layer_center = new _1x51(), _1x4x._layer_center_name = new _1x52(), _1x4x._bg.hide(0), _1x4x._layer_bg.x = _1x4m.default.width / 2, _1x4x._layer_item.x = _1x4m.default.width / 2, _1x4x._layer_name.x = _1x4m.default.width / 2, _1x4x._layer_center.x = _1x4m.default.width / 2, _1x4x._layer_center_name.position.set(_1x4m.default.width / 2, _1x4m.default.height / 2), _1x4x.addChild(_1x4x._bg), _1x4x.addChild(_1x4x._chara), _1x4x.addChild(_1x4x._layer_center), _1x4x.addChild(_1x4x._layer_bg), _1x4x.addChild(_1x4x._layer_item), _1x4x.addChild(_1x4x._layer_name), _1x4x.addChild(_1x4x._layer_center_name), _1x4x; } return _1x43(_1x4v, _1x4t), Object.defineProperty(_1x4v.prototype, 'bg', { 'get': function() { var _1x53 = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1x4v.prototype, 'chara', { 'get': function() { var _1x54 = null; return this._chara; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1x4v.prototype, 'layer_bg', { 'get': function() { var _1x55 = null; return this._layer_bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1x4v.prototype, 'layer_item', { 'get': function() { var _1x56 = null; return this._layer_item; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1x4v.prototype, 'layer_name', { 'get': function() { var _1x57 = null; return this._layer_name; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1x4v.prototype, 'layer_center', { 'get': function() { var _1x58 = null; return this._layer_center; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1x4v.prototype, 'layer_center_name', { 'get': function() { var _1x59 = null; return this._layer_center_name; }, 'enumerable': !1, 'configurable': !0 }), _1x4v.prototype.initialize = function(_1x5a, _1x5b) { var _1x5c = null; this._layer_bg.initialize(_1x5a), this._layer_item.initialize(_1x5a, _1x5b.getSlot2Texture(), _1x5b.getSlot3Texture()), this._layer_name.initialize(_1x5a, _1x5b.slot_mst_id2, _1x5b.slot_mst_id3), this._layer_center.initialize(_1x5a, _1x5b.getSlot1Texture()), this._layer_center_name.initialize(_1x5b.slot_mst_id1); }, _1x4v.prototype.dispose = function() { var _1x5d = null; this.removeChildren(); }, _1x4v; }(PIXI.Container); _1x3z.CutinCanvasSpSRD = _1x4s; var _1x4y = function(_1x5e) { var _1x5f = null; function _1x5g() { var _1x5h = null, _1x5i = _1x5e.call(this) || this; return _1x5i._bg1 = new PIXI.Sprite(), _1x5i._bg1.scale.x = -1, _1x5i._bg1.anchor.set(0.5), _1x5i._bg1.position.set(-447, -173), _1x5i._bg1.alpha = 0, _1x5i.addChild(_1x5i._bg1), _1x5i._bg2 = new PIXI.Sprite(), _1x5i._bg2.scale.x = -1, _1x5i._bg2.anchor.set(0.5), _1x5i._bg2.position.set(596, 929), _1x5i._bg2.alpha = 0, _1x5i.addChild(_1x5i._bg2), _1x5i; } return _1x43(_1x5g, _1x5e), _1x5g.prototype.initialize = function(_1x5j) { var _1x5k = null; this.scale.x = _1x5j ? 1 : -1; var _1x5l = _1x5j ? 'battle_telop_mes_ybg3_f' : 'battle_telop_mes_ybg3_e'; this._bg1.texture = PIXI.Texture.fromFrame(_1x5l), this._bg2.texture = PIXI.Texture.fromFrame(_1x5l); }, _1x5g.prototype.show = function(_1x5m) { var _1x5n = null; createjs.Tween.get(this._bg1).wait(_1x5m).to({ 'x': 305, 'y': 63, 'alpha': 1 }, 233), createjs.Tween.get(this._bg2).wait(_1x5m).to({ 'x': 62, 'y': 767, 'alpha': 1 }, 233); }, _1x5g; }(PIXI.Container), _1x4z = function(_1x5o) { var _1x5p = null; function _1x5q() { var _1x5r = null, _1x5s = _1x5o.call(this) || this; _1x5s._item2 = new _1x4p.Sprite(), _1x5s._item3 = new _1x4p.Sprite(), _1x5s._item2.anchor.set(0.5), _1x5s._item3.anchor.set(0.5), _1x5s._item2.scale.set(1.5), _1x5s._item3.scale.set(1.5), _1x5s._item2.position.set(300, 845), _1x5s._item3.position.set(-174, -101), _1x5s._item2.alpha = 0, _1x5s._item3.alpha = 0, _1x5s.addChild(_1x5s._item2), _1x5s.addChild(_1x5s._item3); var _1x5t = new PIXI.Graphics(); return _1x5t.beginFill(16711680, 0.5), _1x5t.drawPolygon([new PIXI.Point(-600, 398), new PIXI.Point(600, 773), new PIXI.Point(-600, 720)]), _1x5t.endFill(), _1x5t.beginFill(16711680, 0.5), _1x5t.drawPolygon([new PIXI.Point(600, 0), new PIXI.Point(600, 315), new PIXI.Point(-600, -60)]), _1x5t.endFill(), _1x5s.addChild(_1x5t), _1x5s.mask = _1x5t, _1x5s; } return _1x43(_1x5q, _1x5o), _1x5q.prototype.initialize = function(_1x5u, _1x5v, _1x5w) { var _1x5x = null; this.scale.x = _1x5u ? 1 : -1, this._item2.texture = _1x5v, this._item3.texture = _1x5w; }, _1x5q.prototype.show = function(_1x5y) { var _1x5z = null; createjs.Tween.get(this._item2).wait(_1x5y).call(function() { var _1x60 = null; _1x4q.SE.play('105'); }).to({ 'x': -332, 'y': 636, 'alpha': 1 }, 233).call(function() { var _1x61 = null; _1x4q.SE.play('109'); }), createjs.Tween.get(this._item3).wait(_1x5y).to({ 'x': 326, 'y': 54, 'alpha': 1 }, 233); }, _1x5q.prototype.hide = function(_1x62) { var _1x63 = null; createjs.Tween.get(this._item2).wait(_1x62).to({ 'scaleX': 2, 'scaleY': 2 }, 500), createjs.Tween.get(this._item3).wait(_1x62).to({ 'scaleX': 2, 'scaleY': 2 }, 500); }, _1x5q; }(PIXI.Container), _1x50 = function(_1x64) { var _1x65 = null; function _1x66() { var _1x67 = null, _1x68 = _1x64.call(this) || this; return _1x68._item2 = new PIXI.Sprite(), _1x68._item3 = new PIXI.Sprite(), _1x68._item2.scale.set(0.76), _1x68._item3.scale.set(0.76), _1x68._item2.alpha = 0, _1x68._item3.alpha = 0, _1x68.addChild(_1x68._item2), _1x68.addChild(_1x68._item3), _1x68; } return _1x43(_1x66, _1x64), _1x66.prototype.initialize = function(_1x69, _1x6a, _1x6b) { var _1x6c = null; this._item2.anchor.set(_1x69 ? 0 : 1, 0.5), this._item3.anchor.set(_1x69 ? 1 : 0, 0.5), this._item2.position.set(-1028 * (_1x69 ? 1 : -1), 548), this._item3.position.set(1028 * (_1x69 ? 1 : -1), 173), this._friend = _1x69, this._item2.texture = _1x4n.default.resources.getSlotitem(_1x6a, 'btxt_flat'), this._item3.texture = _1x4n.default.resources.getSlotitem(_1x6b, 'btxt_flat'); }, _1x66.prototype.show = function(_1x6d) { var _1x6e = null, _1x6f = this._friend ? 1 : -1; createjs.Tween.get(this._item2).wait(_1x6d).to({ 'x': -555 * _1x6f, 'alpha': 1 }, 200), createjs.Tween.get(this._item3).wait(_1x6d).to({ 'x': 555 * _1x6f, 'alpha': 1 }, 200); }, _1x66; }(PIXI.Container), _1x51 = function(_1x6g) { var _1x6h = null; function _1x6i() { var _1x6j = null, _1x6k = _1x6g.call(this) || this; _1x6k._bg = new PIXI.Sprite(), _1x6k._bg.anchor.set(0.5), _1x6k._bg.position.set(-986, 620), _1x6k._bg.alpha = 0, _1x6k.addChild(_1x6k._bg), _1x6k._item = new _1x4p.Sprite(), _1x6k._item.anchor.set(0.5), _1x6k._item.position.set(11, 393), _1x6k._item.scale.set(1.4), _1x6k._item.alpha = 0, _1x6k.addChild(_1x6k._item); var _1x6l = new PIXI.Graphics(); return _1x6l.beginFill(16711680, 0.5), _1x6l.drawPolygon([new PIXI.Point(-600, 353), new PIXI.Point(600, 90), new PIXI.Point(600, 458), new PIXI.Point(-600, 713)]), _1x6l.endFill(), _1x6k.addChild(_1x6l), _1x6k._item.mask = _1x6l, _1x6k; } return _1x43(_1x6i, _1x6g), _1x6i.prototype.initialize = function(_1x6m, _1x6n) { var _1x6o = null; this.scale.x = _1x6m ? 1 : -1, this._bg.rotation = Math.PI / 180 * 5.5, this._bg.scale.set(1.16); var _1x6p = _1x6m ? 'battle_telop_mes_ybg3_f' : 'battle_telop_mes_ybg3_e'; this._bg.texture = PIXI.Texture.fromFrame(_1x6p), this._item.texture = _1x6n; }, _1x6i.prototype.show = function(_1x6q) { var _1x6r = null, _1x6s = this; createjs.Tween.get(this._bg).wait(_1x6q).to({ 'x': 18, 'y': 399, 'alpha': 1 }, 366).wait(200).call(function() { var _1x6t = null, _1x6u = new _1x4r.Wave(); _1x6u.initialize(), _1x6u.position.set(0, 360), _1x6s.addChild(_1x6u), _1x6u.play(); }), createjs.Tween.get(this._item).wait(_1x6q + 166).call(function() { var _1x6v = null; _1x4q.SE.play('105'); }).to({ 'scaleX': 0.8, 'scaleY': 0.8, 'alpha': 1 }, 500).call(function() { var _1x6w = null; _1x4q.SE.play('109'); }); }, _1x6i.prototype.hide = function(_1x6x) { var _1x6y = null; createjs.Tween.get(this._item).wait(_1x6x).to({ 'scaleX': 1.4, 'scaleY': 1.4 }, 500); }, _1x6i; }(PIXI.Container), _1x52 = function(_1x6z) { var _1x70 = null; function _1x71() { var _1x72 = null, _1x73 = _1x6z.call(this) || this; return _1x73.anchor.set(0.5), _1x73.scale.set(2.35), _1x73.alpha = 0, _1x73; } return _1x43(_1x71, _1x6z), _1x71.prototype.initialize = function(_1x74) { var _1x75 = null; this.texture = _1x4n.default.resources.getSlotitem(_1x74, 'btxt_flat'); }, _1x71.prototype.show = function(_1x76) { var _1x77 = null; createjs.Tween.get(this).wait(_1x76).to({ 'scaleX': 1.15, 'scaleY': 1.15, 'alpha': 1 }, 200); }, _1x71; }(_1x4p.Sprite); }, 66157: function(_1x78, _1x79, _1x7a) { 'use strict'; var _1x7b = null; var _1x7c, _1x7d = this && this.__extends || (_1x7c = function(_1x7e, _1x7f) { var _1x7g = null; return _1x7c = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1x7h, _1x7i) { var _1x7j = null; _1x7h.__proto__ = _1x7i; } || function(_1x7k, _1x7l) { var _1x7m = null; for (var _1x7n in _1x7l) Object.prototype.hasOwnProperty.call(_1x7l, _1x7n) && (_1x7k[_1x7n] = _1x7l[_1x7n]); }, _1x7c(_1x7e, _1x7f); }, function(_1x7o, _1x7p) { var _1x7q = null; if ('function' != typeof _1x7p && null !== _1x7p) throw new TypeError('Class extends value ' + String(_1x7p) + ' is not a constructor or null'); function _1x7r() { var _1x7s = null; this.constructor = _1x7o; } _1x7c(_1x7o, _1x7p), _1x7o.prototype = null === _1x7p ? Object.create(_1x7p) : (_1x7r.prototype = _1x7p.prototype, new _1x7r()); }), _1x7t = this && this.__importDefault || function(_1x7u) { var _1x7v = null; return _1x7u && _1x7u.__esModule ? _1x7u : { 'default': _1x7u }; }; defineModule(_1x79); Object.defineProperty(_1x79, '__esModule', { 'value': !0 }), _1x79.CutinCanvasSpSSF = void 0; var _1x7w = _1x7t(_1x7a(18622)), _1x7x = _1x7a(87475), _1x7y = _1x7a(54011), _1x7z = _1x7a(70723), _1x80 = function(_1x81) { var _1x82 = null; function _1x83() { var _1x84 = null, _1x85 = _1x81.call(this) || this; return _1x85._bg = new _1x7x.FadeBox(0.9, 0), _1x85._chara = new PIXI.Container(), _1x85._bg_box = new _1x86(), _1x85._item_layer = new _1x87(), _1x85._name_layer = new _1x88(), _1x85._bg.hide(0), _1x85._item_layer.position.x = 600, _1x85.addChild(_1x85._bg), _1x85.addChild(_1x85._chara), _1x85.addChild(_1x85._bg_box), _1x85.addChild(_1x85._item_layer), _1x85.addChild(_1x85._name_layer), _1x85; } return _1x7d(_1x83, _1x81), Object.defineProperty(_1x83.prototype, 'bg', { 'get': function() { var _1x89 = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1x83.prototype, 'chara', { 'get': function() { var _1x8a = null; return this._chara; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1x83.prototype, 'bg_box', { 'get': function() { var _1x8b = null; return this._bg_box; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1x83.prototype, 'item_layer', { 'get': function() { var _1x8c = null; return this._item_layer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1x83.prototype, 'name_layer', { 'get': function() { var _1x8d = null; return this._name_layer; }, 'enumerable': !1, 'configurable': !0 }), _1x83.prototype.initialize = function(_1x8e, _1x8f, _1x8g, _1x8h) { var _1x8i = null; this._bg_box.initialize(_1x8e), this._item_layer.initialize(_1x8e, _1x8f, _1x8g, _1x8h), this._name_layer.initialize(_1x8e, _1x8f, _1x8g, _1x8h); }, _1x83.prototype.dispose = function() { var _1x8j = null; this.removeChildren(); }, _1x83; }(PIXI.Container); _1x79.CutinCanvasSpSSF = _1x80; var _1x86 = function(_1x8k) { var _1x8l = null; function _1x8m() { var _1x8n = null, _1x8o = _1x8k.call(this) || this; return _1x8o.anchor.set(0.5), _1x8o; } return _1x7d(_1x8m, _1x8k), _1x8m.prototype.initialize = function(_1x8p) { var _1x8q = null, _1x8r = _1x8p ? 1 : -1; this.rotation = Math.PI / 40 * _1x8r, this.position.set(600 - 1155 * _1x8r, 785), this._to_pos = new PIXI.Point(600 + 33 * _1x8r, 507), this.scale.x = _1x8r; var _1x8s = _1x8p ? 'battle_telop_mes_ybg3_f' : 'battle_telop_mes_ybg3_e'; this.texture = PIXI.Texture.fromFrame(_1x8s); }, _1x8m.prototype.show = function(_1x8t) { var _1x8u = null, _1x8v = this; createjs.Tween.get(this).wait(_1x8t).call(function() { var _1x8w = null; _1x7z.SE.play('105'), createjs.Tween.get(_1x8v).to({ 'x': _1x8v._to_pos.x, 'y': _1x8v._to_pos.y }, 200); }); }, _1x8m; }(PIXI.Sprite), _1x87 = function(_1x8x) { var _1x8y = null; function _1x8z() { var _1x90 = null, _1x91 = _1x8x.call(this) || this; _1x91._item1 = new _1x7y.Sprite(), _1x91._item2 = new _1x7y.Sprite(), _1x91._item3 = new _1x7y.Sprite(), _1x91._item1.anchor.set(0.5), _1x91._item2.anchor.set(0.5), _1x91._item3.anchor.set(0.5), _1x91._item1.scale.set(1.5), _1x91._item2.scale.set(1.5), _1x91._item3.scale.set(1.5), _1x91._item1.position.set(-1202, 798.5), _1x91._item2.position.set(-816, 745.5), _1x91._item3.position.set(-370, 619.5), _1x91._item1.alpha = 0, _1x91._item2.alpha = 0, _1x91._item3.alpha = 0, _1x91.addChild(_1x91._item3), _1x91.addChild(_1x91._item2), _1x91.addChild(_1x91._item1); var _1x92 = new PIXI.Graphics(); return _1x92.beginFill(16711680, 0.5), _1x92.drawPolygon([new PIXI.Point(-600, 495), new PIXI.Point(600, 222), new PIXI.Point(600, 533), new PIXI.Point(-600, 810)]), _1x92.endFill(), _1x91.addChild(_1x92), _1x91.mask = _1x92, _1x91; } return _1x7d(_1x8z, _1x8x), _1x8z.prototype.initialize = function(_1x93, _1x94, _1x95, _1x96) { var _1x97 = null; 0 == _1x93 && (this.scale.x = -1), this._item1.texture = _1x7w.default.resources.getSlotitem(_1x94, 'item_up'), this._item2.texture = _1x7w.default.resources.getSlotitem(_1x95, 'item_up'), this._item3.texture = _1x7w.default.resources.getSlotitem(_1x96, 'item_up'); }, _1x8z.prototype.show = function(_1x98) { var _1x99 = null, _1x9a = this; createjs.Tween.get(this).wait(_1x98).call(function() { var _1x9b = null; _1x9a._showItem1(); }).wait(433).call(function() { var _1x9c = null; _1x9a._showItem2(); }).wait(433).call(function() { var _1x9d = null; _1x9a._showItem3(); }); }, _1x8z.prototype._showItem1 = function() { var _1x9e = null; createjs.Tween.get(this._item1).to({ 'x': -437, 'y': 567, 'alpha': 1 }, 200).call(function() { var _1x9f = null; _1x7z.SE.play('109'); }); }, _1x8z.prototype._showItem2 = function() { var _1x9g = null; createjs.Tween.get(this._item2).to({ 'x': -54, 'y': 479, 'alpha': 1 }, 200).call(function() { var _1x9h = null; _1x7z.SE.play('109'); }); }, _1x8z.prototype._showItem3 = function() { var _1x9i = null; createjs.Tween.get(this._item3).to({ 'x': 330, 'y': 391, 'alpha': 1 }, 200).call(function() { var _1x9j = null; _1x7z.SE.play('109'); }); }, _1x8z; }(PIXI.Container), _1x88 = function(_1x9k) { var _1x9l = null; function _1x9m() { var _1x9n = null, _1x9o = _1x9k.call(this) || this; return _1x9o._item1 = new PIXI.Sprite(), _1x9o._item2 = new PIXI.Sprite(), _1x9o._item3 = new PIXI.Sprite(), _1x9o._item1.anchor.set(0.5), _1x9o._item2.anchor.set(0.5), _1x9o._item3.anchor.set(0.5), _1x9o._item1.scale.set(0.65), _1x9o._item2.scale.set(0.65), _1x9o._item3.scale.set(0.65), _1x9o._item1.alpha = 0, _1x9o._item2.alpha = 0, _1x9o._item3.alpha = 0, _1x9o.addChild(_1x9o._item3), _1x9o.addChild(_1x9o._item2), _1x9o.addChild(_1x9o._item1), _1x9o; } return _1x7d(_1x9m, _1x9k), _1x9m.prototype.initialize = function(_1x9p, _1x9q, _1x9r, _1x9s) { var _1x9t = null, _1x9u = _1x9p ? 1 : -1; this._item1.position.set(600 - 660 * _1x9u, 443), this._item2.position.set(600 - 330 * _1x9u, 368), this._item3.position.set(600, 293), this._w = _1x9u, this._item1.texture = _1x7w.default.resources.getSlotitem(_1x9q, 'btxt_flat'), this._item2.texture = _1x7w.default.resources.getSlotitem(_1x9r, 'btxt_flat'), this._item3.texture = _1x7w.default.resources.getSlotitem(_1x9s, 'btxt_flat'); }, _1x9m.prototype.show = function(_1x9v) { var _1x9w = null, _1x9x = this; createjs.Tween.get(this).wait(_1x9v).call(function() { var _1x9y = null; _1x9x._showItem1(); }).wait(433).call(function() { var _1x9z = null; _1x9x._showItem2(); }).wait(433).call(function() { var _1xa0 = null; _1x9x._showItem3(); }).wait(200).call(function() { var _1xa1 = null; _1x9x.emit('complete'); }); }, _1x9m.prototype._showItem1 = function() { var _1xa2 = null; createjs.Tween.get(this._item1).to({ 'x': 600 - 330 * this._w, 'y': 368, 'alpha': 1 }, 200).call(function() { var _1xa3 = null; _1x7z.SE.play('109'); }); }, _1x9m.prototype._showItem2 = function() { var _1xa4 = null; createjs.Tween.get(this._item2).to({ 'x': 600, 'y': 293, 'alpha': 1 }, 200).call(function() { var _1xa5 = null; _1x7z.SE.play('109'); }); }, _1x9m.prototype._showItem3 = function() { var _1xa6 = null; createjs.Tween.get(this._item3).to({ 'x': 600 + 330 * this._w, 'y': 218, 'alpha': 1 }, 200).call(function() { var _1xa7 = null; _1x7z.SE.play('109'); }); }, _1x9m; }(PIXI.Container); }, 41768: function(_1xa8, _1xa9, _1xaa) { 'use strict'; var _1xab = null; var _1xac, _1xad = this && this.__extends || (_1xac = function(_1xae, _1xaf) { var _1xag = null; return _1xac = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1xah, _1xai) { var _1xaj = null; _1xah.__proto__ = _1xai; } || function(_1xak, _1xal) { var _1xam = null; for (var _1xan in _1xal) Object.prototype.hasOwnProperty.call(_1xal, _1xan) && (_1xak[_1xan] = _1xal[_1xan]); }, _1xac(_1xae, _1xaf); }, function(_1xao, _1xap) { var _1xaq = null; if ('function' != typeof _1xap && null !== _1xap) throw new TypeError('Class extends value ' + String(_1xap) + ' is not a constructor or null'); function _1xar() { var _1xas = null; this.constructor = _1xao; } _1xac(_1xao, _1xap), _1xao.prototype = null === _1xap ? Object.create(_1xap) : (_1xar.prototype = _1xap.prototype, new _1xar()); }), _1xat = this && this.__importDefault || function(_1xau) { var _1xav = null; return _1xau && _1xau.__esModule ? _1xau : { 'default': _1xau }; }; defineModule(_1xa9); Object.defineProperty(_1xa9, '__esModule', { 'value': !0 }), _1xa9.ItemBox3 = _1xa9.ItemBox2 = _1xa9.ItemBox1 = _1xa9.CutinCanvasSpSSS = void 0; var _1xaw = _1xat(_1xaa(18622)), _1xax = _1xaa(87475), _1xay = _1xaa(70723), _1xaz = function(_1xb0) { var _1xb1 = null; function _1xb2() { var _1xb3 = null, _1xb4 = _1xb0.call(this) || this; return _1xb4._bg = new _1xax.FadeBox(0.9, 0), _1xb4._chara = new PIXI.Container(), _1xb4._item1 = new _1xb5(), _1xb4._item2 = new _1xb6(), _1xb4._item3 = new _1xb7(), _1xb4._name1 = new _1xb8(), _1xb4._name2 = new _1xb8(), _1xb4._name3 = new _1xb8(), _1xb4._bg.hide(0), _1xb4.addChild(_1xb4._bg), _1xb4.addChild(_1xb4._chara), _1xb4.addChild(_1xb4._item3), _1xb4.addChild(_1xb4._item2), _1xb4.addChild(_1xb4._item1), _1xb4.addChild(_1xb4._name1), _1xb4.addChild(_1xb4._name2), _1xb4.addChild(_1xb4._name3), _1xb4; } return _1xad(_1xb2, _1xb0), Object.defineProperty(_1xb2.prototype, 'bg', { 'get': function() { var _1xb9 = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xb2.prototype, 'chara', { 'get': function() { var _1xba = null; return this._chara; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xb2.prototype, 'item1', { 'get': function() { var _1xbb = null; return this._item1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xb2.prototype, 'item2', { 'get': function() { var _1xbc = null; return this._item2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xb2.prototype, 'item3', { 'get': function() { var _1xbd = null; return this._item3; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xb2.prototype, 'name1', { 'get': function() { var _1xbe = null; return this._name1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xb2.prototype, 'name2', { 'get': function() { var _1xbf = null; return this._name2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xb2.prototype, 'name3', { 'get': function() { var _1xbg = null; return this._name3; }, 'enumerable': !1, 'configurable': !0 }), _1xb2.prototype.initialize = function(_1xbh, _1xbi, _1xbj, _1xbk) { var _1xbl = null; this._item1.initialize(_1xbh, _1xbi), this._item2.initialize(_1xbh, _1xbj), this._item3.initialize(_1xbh, _1xbk), this._name1.initialize(_1xbh), this._name1.y = 570, this._name2.initialize(_1xbh), this._name2.y = 480, this._name3.initialize(_1xbh), this._name3.y = 390, this.name1.texture = _1xaw.default.resources.getSlotitem(_1xbi, 'btxt_flat'), this.name2.texture = _1xaw.default.resources.getSlotitem(_1xbj, 'btxt_flat'), this.name3.texture = _1xaw.default.resources.getSlotitem(_1xbk, 'btxt_flat'); }, _1xb2.prototype.dispose = function() { var _1xbm = null; this.removeChildren(); }, _1xb2; }(PIXI.Container); _1xa9.CutinCanvasSpSSS = _1xaz; var _1xb5 = function(_1xbn) { var _1xbo = null; function _1xbp() { var _1xbq = null, _1xbr = _1xbn.call(this) || this; _1xbr._bg = new PIXI.Sprite(), _1xbr._bg.scale.x = -1, _1xbr._bg.anchor.set(0.5), _1xbr._bg.alpha = 0, _1xbr.addChild(_1xbr._bg), _1xbr._item = new PIXI.Sprite(), _1xbr._item.anchor.set(0.5), _1xbr._item.position.set(60, 15), _1xbr._item.scale.set(1.5), _1xbr._item.alpha = 0, _1xbr.addChild(_1xbr._item); var _1xbs = new PIXI.Graphics(); return _1xbs.beginFill(16711680), _1xbs.drawPolygon([new PIXI.Point(-741, -392), new PIXI.Point(749, 75), new PIXI.Point(749, 395), new PIXI.Point(-741, -75)]), _1xbs.endFill(), _1xbr.addChild(_1xbs), _1xbr._item.mask = _1xbs, _1xbr; } return _1xad(_1xbp, _1xbn), _1xbp.prototype.initialize = function(_1xbt, _1xbu) { var _1xbv = null; _1xbt ? (this.position.set(750, 674), this._to_pos = new PIXI.Point(565, 615)) : (this.position.set(450, 674), this._to_pos = new PIXI.Point(635, 615), this.scale.x = -1); var _1xbw = _1xbt ? 'battle_telop_mes_ybg3_f' : 'battle_telop_mes_ybg3_e'; this._bg.texture = PIXI.Texture.fromFrame(_1xbw), this._item.texture = _1xaw.default.resources.getSlotitem(_1xbu, 'item_up'); }, _1xbp.prototype.show = function(_1xbx) { var _1xby = null, _1xbz = this; createjs.Tween.get(this).wait(_1xbx).call(function() { var _1xc0 = null; _1xbz._play(_1xbz._to_pos.x, _1xbz._to_pos.y); }); }, _1xbp.prototype._play = function(_1xc1, _1xc2) { var _1xc3 = null; _1xay.SE.play('105'), createjs.Tween.get(this).to({ 'x': _1xc1, 'y': _1xc2 }, 200), createjs.Tween.get(this._bg).to({ 'alpha': 1 }, 200), createjs.Tween.get(this._item).to({ 'alpha': 1 }, 133).call(function() { var _1xc4 = null; _1xay.SE.play('109'); }); }, _1xbp; }(PIXI.Container); _1xa9.ItemBox1 = _1xb5; var _1xb6 = function(_1xc5) { var _1xc6 = null; function _1xc7() { var _1xc8 = null, _1xc9 = _1xc5.call(this) || this; _1xc9._bg = new PIXI.Sprite(), _1xc9._item = new PIXI.Sprite(), _1xc9._item.position.set(77, -68), _1xc9._bg.anchor.set(0.5), _1xc9._item.anchor.set(0.5), _1xc9._item.scale.set(1.5), _1xc9._bg.alpha = 0, _1xc9._item.alpha = 0, _1xc9.addChild(_1xc9._bg), _1xc9.addChild(_1xc9._item); var _1xca = new PIXI.Graphics(); return _1xca.beginFill(16711680), _1xca.drawPolygon([new PIXI.Point(-756, 74), new PIXI.Point(749, -395), new PIXI.Point(749, -75), new PIXI.Point(-756, 395)]), _1xca.endFill(), _1xc9.addChild(_1xca), _1xc9._item.mask = _1xca, _1xc9; } return _1xad(_1xc7, _1xc5), _1xc7.prototype.initialize = function(_1xcb, _1xcc) { var _1xcd = null; _1xcb ? (this.position.set(300, 674), this._to_pos = new PIXI.Point(750, 492)) : (this.position.set(900, 674), this._to_pos = new PIXI.Point(450, 492), this.scale.x = -1); var _1xce = _1xcb ? 'battle_telop_mes_ybg3_f' : 'battle_telop_mes_ybg3_e'; this._bg.texture = PIXI.Texture.fromFrame(_1xce), this._item.texture = _1xaw.default.resources.getSlotitem(_1xcc, 'item_up'); }, _1xc7.prototype.show = function(_1xcf) { var _1xcg = null, _1xch = this; createjs.Tween.get(this).wait(_1xcf).call(function() { var _1xci = null; _1xch._play(_1xch._to_pos.x, _1xch._to_pos.y); }); }, _1xc7.prototype._play = function(_1xcj, _1xck) { var _1xcl = null; _1xay.SE.play('105'), createjs.Tween.get(this).to({ 'x': _1xcj, 'y': _1xck }, 200), createjs.Tween.get(this._bg).to({ 'alpha': 1 }, 200), createjs.Tween.get(this._item).to({ 'alpha': 1 }, 133).call(function() { var _1xcm = null; _1xay.SE.play('109'); }); }, _1xc7; }(PIXI.Container); _1xa9.ItemBox2 = _1xb6; var _1xb7 = function(_1xcn) { var _1xco = null; function _1xcp() { var _1xcq = null, _1xcr = _1xcn.call(this) || this; _1xcr._bg = new PIXI.Sprite(), _1xcr._item = new PIXI.Sprite(), _1xcr._item.position.set(-15, 5), _1xcr._bg.anchor.set(0.5), _1xcr._item.anchor.set(0.5), _1xcr._item.scale.set(1.5), _1xcr._bg.alpha = 0, _1xcr._item.alpha = 0, _1xcr.addChild(_1xcr._bg), _1xcr.addChild(_1xcr._item); var _1xcs = new PIXI.Graphics(); return _1xcs.beginFill(16711680), _1xcs.drawPolygon([new PIXI.Point(402, -585), new PIXI.Point(867, -585), new PIXI.Point(-354, 537), new PIXI.Point(-813, 537)]), _1xcs.endFill(), _1xcr.addChild(_1xcs), _1xcr._item.mask = _1xcs, _1xcr; } return _1xad(_1xcp, _1xcn), _1xcp.prototype.initialize = function(_1xct, _1xcu) { var _1xcv = null; _1xct ? (this.position.set(505, 585), this._to_pos = new PIXI.Point(993, 135)) : (this.position.set(695, 585), this._to_pos = new PIXI.Point(207, 135), this.scale.x = -1); var _1xcw = _1xct ? 'battle_telop_mes_ybg4_f' : 'battle_telop_mes_ybg4_e'; this._bg.texture = PIXI.Texture.fromFrame(_1xcw), this._item.texture = _1xaw.default.resources.getSlotitem(_1xcu, 'item_up'); }, _1xcp.prototype.show = function(_1xcx) { var _1xcy = null, _1xcz = this; createjs.Tween.get(this).wait(_1xcx).call(function() { var _1xd0 = null; _1xcz._play(_1xcz._to_pos.x, _1xcz._to_pos.y); }); }, _1xcp.prototype._play = function(_1xd1, _1xd2) { var _1xd3 = null; _1xay.SE.play('105'), createjs.Tween.get(this).to({ 'x': _1xd1, 'y': _1xd2 }, 200), createjs.Tween.get(this._bg).to({ 'alpha': 1 }, 200), createjs.Tween.get(this._item).to({ 'alpha': 1 }, 133).call(function() { var _1xd4 = null; _1xay.SE.play('109'); }); }, _1xcp; }(PIXI.Container); _1xa9.ItemBox3 = _1xb7; var _1xb8 = function(_1xd5) { var _1xd6 = null; function _1xd7() { var _1xd8 = null, _1xd9 = _1xd5.call(this) || this; return _1xd9.scale.set(0.76), _1xd9.alpha = 0, _1xd9; } return _1xad(_1xd7, _1xd5), _1xd7.prototype.initialize = function(_1xda) { var _1xdb = null; 1 == _1xda ? (this.anchor.set(0, 0.5), this.position.x = -300) : (this.anchor.set(1, 0.5), this.position.x = 1500); }, _1xd7; }(PIXI.Sprite); }, 66609: function(_1xdc, _1xdd, _1xde) { 'use strict'; var _1xdf = null; var _1xdg, _1xdh = this && this.__extends || (_1xdg = function(_1xdi, _1xdj) { var _1xdk = null; return _1xdg = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1xdl, _1xdm) { var _1xdn = null; _1xdl.__proto__ = _1xdm; } || function(_1xdo, _1xdp) { var _1xdq = null; for (var _1xdr in _1xdp) Object.prototype.hasOwnProperty.call(_1xdp, _1xdr) && (_1xdo[_1xdr] = _1xdp[_1xdr]); }, _1xdg(_1xdi, _1xdj); }, function(_1xds, _1xdt) { var _1xdu = null; if ('function' != typeof _1xdt && null !== _1xdt) throw new TypeError('Class extends value ' + String(_1xdt) + ' is not a constructor or null'); function _1xdv() { var _1xdw = null; this.constructor = _1xds; } _1xdg(_1xds, _1xdt), _1xds.prototype = null === _1xdt ? Object.create(_1xdt) : (_1xdv.prototype = _1xdt.prototype, new _1xdv()); }), _1xdx = this && this.__importDefault || function(_1xdy) { var _1xdz = null; return _1xdy && _1xdy.__esModule ? _1xdy : { 'default': _1xdy }; }; defineModule(_1xdd); Object.defineProperty(_1xdd, '__esModule', { 'value': !0 }), _1xdd.CutinCanvasSpSuirai = void 0; var _1xe0 = _1xdx(_1xde(21359)), _1xe1 = _1xdx(_1xde(18622)), _1xe2 = _1xde(87475), _1xe3 = _1xde(45054), _1xe4 = _1xde(54011), _1xe5 = _1xde(70723), _1xe6 = _1xde(22434), _1xe7 = function(_1xe8) { var _1xe9 = null; function _1xea() { var _1xeb = null, _1xec = _1xe8.call(this) || this; return _1xec._bg = new _1xe2.FadeBox(0.9, 0), _1xec._chara = new PIXI.Container(), _1xec._layer_item1 = new _1xed(), _1xec._layer_item2 = new _1xee(), _1xec._layer_item3 = new _1xef(), _1xec._layer_wave = new _1xeg(), _1xec._layer_names = new _1xeh(), _1xec._bg.hide(0), _1xec._layer_item1.x = _1xe0.default.width / 2, _1xec._layer_item2.x = _1xe0.default.width / 2, _1xec._layer_item3.x = _1xe0.default.width / 2, _1xec._layer_wave.x = _1xe0.default.width / 2, _1xec._layer_names.x = _1xe0.default.width / 2, _1xec.addChild(_1xec._bg), _1xec.addChild(_1xec._chara), _1xec.addChild(_1xec._layer_item1), _1xec.addChild(_1xec._layer_item2), _1xec.addChild(_1xec._layer_item3), _1xec.addChild(_1xec._layer_wave), _1xec.addChild(_1xec._layer_names), _1xec; } return _1xdh(_1xea, _1xe8), Object.defineProperty(_1xea.prototype, 'bg', { 'get': function() { var _1xei = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xea.prototype, 'chara', { 'get': function() { var _1xej = null; return this._chara; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xea.prototype, 'layer_item1', { 'get': function() { var _1xek = null; return this._layer_item1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xea.prototype, 'layer_item2', { 'get': function() { var _1xel = null; return this._layer_item2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xea.prototype, 'layer_item3', { 'get': function() { var _1xem = null; return this._layer_item3; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xea.prototype, 'layer_wave', { 'get': function() { var _1xen = null; return this._layer_wave; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xea.prototype, 'layer_names', { 'get': function() { var _1xeo = null; return this._layer_names; }, 'enumerable': !1, 'configurable': !0 }), _1xea.prototype.initialize = function(_1xep, _1xeq) { var _1xer = null; this._layer_item1.initialize(_1xep, _1xeq.getSlot2Texture()), this._layer_item2.initialize(_1xep, _1xeq.getSlot3Texture()), this._layer_item3.initialize(_1xep, _1xeq.getSlot1Texture()), this._layer_wave.initialize(_1xep), this._layer_names.initialize(_1xep, _1xeq.slot_mst_id2, _1xeq.slot_mst_id3, _1xeq.slot_mst_id1); }, _1xea.prototype.dispose = function() { var _1xes = null; this.removeChildren(); }, _1xea; }(PIXI.Container); _1xdd.CutinCanvasSpSuirai = _1xe7; var _1xed = function(_1xet) { var _1xeu = null; function _1xev() { var _1xew = null, _1xex = _1xet.call(this) || this; _1xex._bg = new PIXI.Sprite(), _1xex._item = new _1xe4.Sprite(), _1xex._bg.anchor.set(0.5), _1xex._item.anchor.set(0.5), _1xex._bg.position.set(281, 968), _1xex._item.position.set(333, 774), _1xex._item.scale.set(0.9), _1xex._bg.alpha = 0, _1xex._item.alpha = 0, _1xex.addChild(_1xex._bg), _1xex.addChild(_1xex._item); var _1xey = new PIXI.Graphics(); return _1xey.beginFill(16711680, 0.5), _1xey.drawPolygon([new PIXI.Point(384, 0), new PIXI.Point(690, 0), new PIXI.Point(498, 720), new PIXI.Point(189, 720)]), _1xey.endFill(), _1xex.addChild(_1xey), _1xex._item.mask = _1xey, _1xex; } return _1xdh(_1xev, _1xet), _1xev.prototype.initialize = function(_1xez, _1xf0) { var _1xf1 = null; this.scale.x = _1xez ? 1 : -1; var _1xf2 = _1xez ? 'battle_telop_mes_ybg6_f' : 'battle_telop_mes_ybg6_e'; this._bg.texture = PIXI.Texture.fromFrame(_1xf2), this._item.texture = _1xf0; }, _1xev.prototype.show = function(_1xf3) { var _1xf4 = null; createjs.Tween.get(this._bg).wait(_1xf3).call(function() { var _1xf5 = null; _1xe5.SE.play('105'); }).to({ 'x': 381, 'y': 585, 'alpha': 1 }, 233), createjs.Tween.get(this._item).wait(_1xf3).to({ 'x': 479, 'y': 248, 'alpha': 1 }, 233).call(function() { var _1xf6 = null; _1xe5.SE.play('109'); }); }, _1xev.prototype.hide = function(_1xf7) { var _1xf8 = null; createjs.Tween.get(this._item).wait(_1xf7).to({ 'scaleX': 1.15, 'scaleY': 1.15 }, 500); }, _1xev; }(PIXI.Container), _1xee = function(_1xf9) { var _1xfa = null; function _1xfb() { var _1xfc = null, _1xfd = _1xf9.call(this) || this; _1xfd._bg = new PIXI.Sprite(), _1xfd._bg.scale.x = -1, _1xfd._bg.anchor.set(0.5), _1xfd._bg.position.set(30, -11), _1xfd._bg.alpha = 0, _1xfd.addChild(_1xfd._bg), _1xfd._item = new _1xe4.Sprite(), _1xfd._item.anchor.set(0.5), _1xfd._item.position.set(18, -174), _1xfd._item.alpha = 0, _1xfd.addChild(_1xfd._item); var _1xfe = new PIXI.Graphics(); return _1xfe.beginFill(16711680, 0.5), _1xfe.drawPolygon([new PIXI.Point(-120, 0), new PIXI.Point(194, 0), new PIXI.Point(384, 720), new PIXI.Point(75, 720)]), _1xfe.endFill(), _1xfd.addChild(_1xfe), _1xfd._item.mask = _1xfe, _1xfd; } return _1xdh(_1xfb, _1xf9), _1xfb.prototype.initialize = function(_1xff, _1xfg) { var _1xfh = null; this.scale.x = _1xff ? 1 : -1; var _1xfi = _1xff ? 'battle_telop_mes_ybg6_f' : 'battle_telop_mes_ybg6_e'; this._bg.texture = PIXI.Texture.fromFrame(_1xfi), this._item.texture = _1xfg; }, _1xfb.prototype.show = function(_1xfj) { var _1xfk = null; createjs.Tween.get(this._bg).wait(_1xfj).call(function() { var _1xfl = null; _1xe5.SE.play('105'); }).to({ 'x': 194, 'y': 585, 'alpha': 1 }, 233), createjs.Tween.get(this._item).wait(_1xfj).to({ 'x': 159, 'y': 407, 'alpha': 1 }, 233).call(function() { var _1xfm = null; _1xe5.SE.play('109'); }); }, _1xfb.prototype.hide = function(_1xfn) { var _1xfo = null; createjs.Tween.get(this._item).wait(_1xfn).to({ 'scaleX': 1.15, 'scaleY': 1.15 }, 500); }, _1xfb; }(PIXI.Container), _1xef = function(_1xfp) { var _1xfq = null; function _1xfr() { var _1xfs = null, _1xft = _1xfp.call(this) || this; _1xft._bg = new PIXI.Sprite(), _1xft._canvas = new _1xe3.Container(), _1xft._item = new PIXI.Sprite(), _1xft._bg.anchor.set(0.5), _1xft._bg.position.set(-386, 1133), _1xft._canvas.position.set(-267, 908), _1xft._canvas.scale.set(1.35), _1xft._bg.alpha = 0, _1xft._canvas.rotation = Math.PI / 180 * 105, _1xft._canvas.alpha = 0, _1xft.addChild(_1xft._bg), _1xft._canvas.addChild(_1xft._item), _1xft.addChild(_1xft._canvas); var _1xfu = new PIXI.Graphics(); return _1xfu.beginFill(16711680, 0.5), _1xfu.drawPolygon([new PIXI.Point(-210, 0), new PIXI.Point(98, 0), new PIXI.Point(-98, 720), new PIXI.Point(-413, 720)]), _1xfu.endFill(), _1xft.addChild(_1xfu), _1xft._item.mask = _1xfu, _1xft; } return _1xdh(_1xfr, _1xfp), _1xfr.prototype.initialize = function(_1xfv, _1xfw) { var _1xfx = null; this.scale.x = _1xfv ? 1 : -1; var _1xfy = _1xfv ? 'battle_telop_mes_ybg6_f' : 'battle_telop_mes_ybg6_e'; this._bg.texture = PIXI.Texture.fromFrame(_1xfy), this._item.texture = _1xfw, this._item.x = -Math.round(this._item.width / 2), this._item.y = -Math.round(this._item.height / 2); }, _1xfr.prototype.show = function(_1xfz) { var _1xg0 = null; createjs.Tween.get(this._bg).wait(_1xfz).call(function() { var _1xg1 = null; _1xe5.SE.play('105'); }).to({ 'x': -216, 'y': 585, 'alpha': 1 }, 233), createjs.Tween.get(this._canvas).wait(_1xfz).to({ 'x': -105, 'y': 270, 'alpha': 1 }, 233).call(function() { var _1xg2 = null; _1xe5.SE.play('109'); }); }, _1xfr.prototype.hide = function(_1xg3) { var _1xg4 = null; createjs.Tween.get(this._canvas).wait(_1xg3).to({ 'scaleX': 1.6, 'scaleY': 1.6 }, 500); }, _1xfr; }(PIXI.Container), _1xeg = function(_1xg5) { var _1xg6 = null; function _1xg7() { var _1xg8 = null, _1xg9 = _1xg5.call(this) || this; return _1xg9._w1 = new _1xe4.Sprite(), _1xg9._w2 = new _1xe4.Sprite(), _1xg9._w3 = new _1xe4.Sprite(), _1xg9._w1.anchor.set(0.5), _1xg9._w2.anchor.set(0.5), _1xg9._w3.anchor.set(0.5), _1xg9._w1.scale.set(0), _1xg9._w2.scale.set(0), _1xg9._w3.scale.set(0), _1xg9.addChild(_1xg9._w1), _1xg9.addChild(_1xg9._w2), _1xg9.addChild(_1xg9._w3), _1xg9; } return _1xdh(_1xg7, _1xg5), _1xg7.prototype.initialize = function(_1xga) { var _1xgb = null; this.scale.x = _1xga ? 1 : -1, this._w1.position.set(479, 141), this._w2.position.set(215, 516), this._w3.position.set(-146, 278), this._w1.texture = _1xe6.BATTLE_MAIN.getTexture(117), this._w2.texture = _1xe6.BATTLE_MAIN.getTexture(117), this._w3.texture = _1xe6.BATTLE_MAIN.getTexture(117); }, _1xg7.prototype.show = function(_1xgc) { var _1xgd = null; createjs.Tween.get(this._w1).wait(_1xgc).to({ 'scaleX': 2.27, 'scaleY': 2.27 }, 200).to({ 'scaleX': 2.65, 'scaleY': 2.65, 'alpha': 0 }, 333), createjs.Tween.get(this._w2).wait(_1xgc + 433).to({ 'scaleX': 2.27, 'scaleY': 2.27 }, 200).to({ 'scaleX': 2.65, 'scaleY': 2.65, 'alpha': 0 }, 333), createjs.Tween.get(this._w3).wait(_1xgc + 866).to({ 'scaleX': 2.27, 'scaleY': 2.27 }, 200).to({ 'scaleX': 2.65, 'scaleY': 2.65, 'alpha': 0 }, 333); }, _1xg7; }(PIXI.Container), _1xeh = function(_1xge) { var _1xgf = null; function _1xgg() { var _1xgh = null, _1xgi = _1xge.call(this) || this; return _1xgi._name1 = new PIXI.Sprite(), _1xgi._name2 = new PIXI.Sprite(), _1xgi._name3 = new PIXI.Sprite(), _1xgi._name1.scale.set(0.76), _1xgi._name2.scale.set(0.76), _1xgi._name3.scale.set(0.76), _1xgi._name1.alpha = 0, _1xgi._name2.alpha = 0, _1xgi._name3.alpha = 0, _1xgi.addChild(_1xgi._name1), _1xgi.addChild(_1xgi._name2), _1xgi.addChild(_1xgi._name3), _1xgi; } return _1xdh(_1xgg, _1xge), _1xgg.prototype.initialize = function(_1xgj, _1xgk, _1xgl, _1xgm) { var _1xgn = null; this._name1.anchor.set(_1xgj ? 1 : 0, 0.5), this._name2.anchor.set(_1xgj ? 1 : 0, 0.5), this._name3.anchor.set(_1xgj ? 1 : 0, 0.5), this._name1.position.set(_1xgj ? 578 : -578, 615), this._name2.position.set(_1xgj ? 578 : -578, 480), this._name3.position.set(_1xgj ? 578 : -578, 345), this._name1.texture = _1xe1.default.resources.getSlotitem(_1xgk, 'btxt_flat'), this._name2.texture = _1xe1.default.resources.getSlotitem(_1xgl, 'btxt_flat'), this._name3.texture = _1xe1.default.resources.getSlotitem(_1xgm, 'btxt_flat'); }, _1xgg.prototype.show = function(_1xgo) { var _1xgp = null; createjs.Tween.get(this._name3).wait(_1xgo + 866).to({ 'alpha': 1 }, 233), createjs.Tween.get(this._name2).wait(_1xgo + 433).to({ 'alpha': 1 }, 233), createjs.Tween.get(this._name1).wait(_1xgo).to({ 'alpha': 1 }, 233); }, _1xgg; }(PIXI.Container); }, 86346: function(_1xgq, _1xgr, _1xgs) { 'use strict'; var _1xgt = null; var _1xgu, _1xgv = this && this.__extends || (_1xgu = function(_1xgw, _1xgx) { var _1xgy = null; return _1xgu = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1xgz, _1xh0) { var _1xh1 = null; _1xgz.__proto__ = _1xh0; } || function(_1xh2, _1xh3) { var _1xh4 = null; for (var _1xh5 in _1xh3) Object.prototype.hasOwnProperty.call(_1xh3, _1xh5) && (_1xh2[_1xh5] = _1xh3[_1xh5]); }, _1xgu(_1xgw, _1xgx); }, function(_1xh6, _1xh7) { var _1xh8 = null; if ('function' != typeof _1xh7 && null !== _1xh7) throw new TypeError('Class extends value ' + String(_1xh7) + ' is not a constructor or null'); function _1xh9() { var _1xha = null; this.constructor = _1xh6; } _1xgu(_1xh6, _1xh7), _1xh6.prototype = null === _1xh7 ? Object.create(_1xh7) : (_1xh9.prototype = _1xh7.prototype, new _1xh9()); }), _1xhb = this && this.__importDefault || function(_1xhc) { var _1xhd = null; return _1xhc && _1xhc.__esModule ? _1xhc : { 'default': _1xhc }; }; defineModule(_1xgr); Object.defineProperty(_1xgr, '__esModule', { 'value': !0 }), _1xgr.CutinCanvasSpYusou = void 0; var _1xhe = _1xhb(_1xgs(21359)), _1xhf = _1xhb(_1xgs(18622)), _1xhg = _1xgs(87475), _1xhh = _1xgs(45054), _1xhi = _1xgs(54011), _1xhj = _1xgs(70723), _1xhk = _1xgs(22434), _1xhl = function(_1xhm) { var _1xhn = null; function _1xho() { var _1xhp = null, _1xhq = _1xhm.call(this) || this; return _1xhq._bg = new _1xhg.FadeBox(0.9, 0), _1xhq._chara = new PIXI.Container(), _1xhq._layer_item1 = new _1xhr(), _1xhq._layer_item2 = new _1xhs(), _1xhq._layer_item3 = new _1xht(), _1xhq._layer_wave = new _1xhu(), _1xhq._layer_names = new _1xhv(), _1xhq._bg.hide(0), _1xhq._layer_item1.x = _1xhe.default.width / 2, _1xhq._layer_item2.x = _1xhe.default.width / 2, _1xhq._layer_item3.x = _1xhe.default.width / 2, _1xhq._layer_wave.x = _1xhe.default.width / 2, _1xhq._layer_names.x = _1xhe.default.width / 2, _1xhq.addChild(_1xhq._bg), _1xhq.addChild(_1xhq._chara), _1xhq.addChild(_1xhq._layer_item1), _1xhq.addChild(_1xhq._layer_item2), _1xhq.addChild(_1xhq._layer_item3), _1xhq.addChild(_1xhq._layer_wave), _1xhq.addChild(_1xhq._layer_names), _1xhq; } return _1xgv(_1xho, _1xhm), Object.defineProperty(_1xho.prototype, 'bg', { 'get': function() { var _1xhw = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xho.prototype, 'chara', { 'get': function() { var _1xhx = null; return this._chara; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xho.prototype, 'layer_item1', { 'get': function() { var _1xhy = null; return this._layer_item1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xho.prototype, 'layer_item2', { 'get': function() { var _1xhz = null; return this._layer_item2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xho.prototype, 'layer_item3', { 'get': function() { var _1xi0 = null; return this._layer_item3; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xho.prototype, 'layer_wave', { 'get': function() { var _1xi1 = null; return this._layer_wave; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xho.prototype, 'layer_names', { 'get': function() { var _1xi2 = null; return this._layer_names; }, 'enumerable': !1, 'configurable': !0 }), _1xho.prototype.initialize = function(_1xi3, _1xi4) { var _1xi5 = null; this._layer_item1.initialize(_1xi3, _1xi4.getSlot2Texture()), this._layer_item2.initialize(_1xi3, _1xi4.getSlot3Texture()), this._layer_item3.initialize(_1xi3, _1xi4.getSlot1Texture()), this._layer_wave.initialize(_1xi3), this._layer_names.initialize(_1xi3, _1xi4.slot_mst_id2, _1xi4.slot_mst_id3, _1xi4.slot_mst_id1); }, _1xho.prototype.dispose = function() { var _1xi6 = null; this.removeChildren(); }, _1xho; }(PIXI.Container); _1xgr.CutinCanvasSpYusou = _1xhl; var _1xhr = function(_1xi7) { var _1xi8 = null; function _1xi9() { var _1xia = null, _1xib = _1xi7.call(this) || this; _1xib._bg = new PIXI.Sprite(), _1xib._item = new _1xhi.Sprite(), _1xib._bg.anchor.set(0.5), _1xib._item.anchor.set(0.5), _1xib._bg.position.set(281, 968), _1xib._item.position.set(333, 774), _1xib._item.scale.set(0.9), _1xib._bg.alpha = 0, _1xib._item.alpha = 0, _1xib.addChild(_1xib._bg), _1xib.addChild(_1xib._item); var _1xic = new PIXI.Graphics(); return _1xic.beginFill(16711680, 0.5), _1xic.drawPolygon([new PIXI.Point(384, 0), new PIXI.Point(690, 0), new PIXI.Point(498, 720), new PIXI.Point(189, 720)]), _1xic.endFill(), _1xib.addChild(_1xic), _1xib._item.mask = _1xic, _1xib; } return _1xgv(_1xi9, _1xi7), _1xi9.prototype.initialize = function(_1xid, _1xie) { var _1xif = null; this.scale.x = _1xid ? 1 : -1; var _1xig = _1xid ? 'battle_telop_mes_ybg6_f' : 'battle_telop_mes_ybg6_e'; this._bg.texture = PIXI.Texture.fromFrame(_1xig), this._item.texture = _1xie; }, _1xi9.prototype.show = function(_1xih) { var _1xii = null; createjs.Tween.get(this._bg).wait(_1xih).call(function() { var _1xij = null; _1xhj.SE.play('105'); }).to({ 'x': 381, 'y': 585, 'alpha': 1 }, 233), createjs.Tween.get(this._item).wait(_1xih).to({ 'x': 479, 'y': 248, 'alpha': 1 }, 233).call(function() { var _1xik = null; _1xhj.SE.play('109'); }); }, _1xi9.prototype.hide = function(_1xil) { var _1xim = null; createjs.Tween.get(this._item).wait(_1xil).to({ 'scaleX': 1.15, 'scaleY': 1.15 }, 500); }, _1xi9; }(PIXI.Container), _1xhs = function(_1xin) { var _1xio = null; function _1xip() { var _1xiq = null, _1xir = _1xin.call(this) || this; _1xir._bg = new PIXI.Sprite(), _1xir._bg.scale.x = -1, _1xir._bg.anchor.set(0.5), _1xir._bg.position.set(30, -11), _1xir._bg.alpha = 0, _1xir.addChild(_1xir._bg), _1xir._item = new _1xhi.Sprite(), _1xir._item.anchor.set(0.5), _1xir._item.position.set(18, -174), _1xir._item.alpha = 0, _1xir.addChild(_1xir._item); var _1xis = new PIXI.Graphics(); return _1xis.beginFill(16711680, 0.5), _1xis.drawPolygon([new PIXI.Point(-120, 0), new PIXI.Point(194, 0), new PIXI.Point(384, 720), new PIXI.Point(75, 720)]), _1xis.endFill(), _1xir.addChild(_1xis), _1xir._item.mask = _1xis, _1xir; } return _1xgv(_1xip, _1xin), _1xip.prototype.initialize = function(_1xit, _1xiu) { var _1xiv = null; this.scale.x = _1xit ? 1 : -1; var _1xiw = _1xit ? 'battle_telop_mes_ybg6_f' : 'battle_telop_mes_ybg6_e'; this._bg.texture = PIXI.Texture.fromFrame(_1xiw), this._item.texture = _1xiu; }, _1xip.prototype.show = function(_1xix) { var _1xiy = null; createjs.Tween.get(this._bg).wait(_1xix).call(function() { var _1xiz = null; _1xhj.SE.play('105'); }).to({ 'x': 194, 'y': 585, 'alpha': 1 }, 233), createjs.Tween.get(this._item).wait(_1xix).to({ 'x': 159, 'y': 407, 'alpha': 1 }, 233).call(function() { var _1xj0 = null; _1xhj.SE.play('109'); }); }, _1xip.prototype.hide = function(_1xj1) { var _1xj2 = null; createjs.Tween.get(this._item).wait(_1xj1).to({ 'scaleX': 1.15, 'scaleY': 1.15 }, 500); }, _1xip; }(PIXI.Container), _1xht = function(_1xj3) { var _1xj4 = null; function _1xj5() { var _1xj6 = null, _1xj7 = _1xj3.call(this) || this; _1xj7._bg = new PIXI.Sprite(), _1xj7._canvas = new _1xhh.Container(), _1xj7._item = new PIXI.Sprite(), _1xj7._bg.anchor.set(0.5), _1xj7._bg.position.set(-386, 1133), _1xj7._canvas.position.set(-267, 908), _1xj7._canvas.scale.set(1.35), _1xj7._bg.alpha = 0, _1xj7._canvas.rotation = Math.PI / 180 * 105, _1xj7._canvas.alpha = 0, _1xj7.addChild(_1xj7._bg), _1xj7._canvas.addChild(_1xj7._item), _1xj7.addChild(_1xj7._canvas); var _1xj8 = new PIXI.Graphics(); return _1xj8.beginFill(16711680, 0.5), _1xj8.drawPolygon([new PIXI.Point(-210, 0), new PIXI.Point(98, 0), new PIXI.Point(-98, 720), new PIXI.Point(-413, 720)]), _1xj8.endFill(), _1xj7.addChild(_1xj8), _1xj7._item.mask = _1xj8, _1xj7; } return _1xgv(_1xj5, _1xj3), _1xj5.prototype.initialize = function(_1xj9, _1xja) { var _1xjb = null; this.scale.x = _1xj9 ? 1 : -1; var _1xjc = _1xj9 ? 'battle_telop_mes_ybg6_f' : 'battle_telop_mes_ybg6_e'; this._bg.texture = PIXI.Texture.fromFrame(_1xjc), this._item.texture = _1xja, this._item.x = -Math.round(this._item.width / 2), this._item.y = -Math.round(this._item.height / 2); }, _1xj5.prototype.show = function(_1xjd) { var _1xje = null; createjs.Tween.get(this._bg).wait(_1xjd).call(function() { var _1xjf = null; _1xhj.SE.play('105'); }).to({ 'x': -216, 'y': 585, 'alpha': 1 }, 233), createjs.Tween.get(this._canvas).wait(_1xjd).to({ 'x': -105, 'y': 270, 'alpha': 1 }, 233).call(function() { var _1xjg = null; _1xhj.SE.play('109'); }); }, _1xj5.prototype.hide = function(_1xjh) { var _1xji = null; createjs.Tween.get(this._canvas).wait(_1xjh).to({ 'scaleX': 1.6, 'scaleY': 1.6 }, 500); }, _1xj5; }(PIXI.Container), _1xhu = function(_1xjj) { var _1xjk = null; function _1xjl() { var _1xjm = null, _1xjn = _1xjj.call(this) || this; return _1xjn._w1 = new _1xhi.Sprite(), _1xjn._w2 = new _1xhi.Sprite(), _1xjn._w3 = new _1xhi.Sprite(), _1xjn._w1.anchor.set(0.5), _1xjn._w2.anchor.set(0.5), _1xjn._w3.anchor.set(0.5), _1xjn._w1.scale.set(0), _1xjn._w2.scale.set(0), _1xjn._w3.scale.set(0), _1xjn.addChild(_1xjn._w1), _1xjn.addChild(_1xjn._w2), _1xjn.addChild(_1xjn._w3), _1xjn; } return _1xgv(_1xjl, _1xjj), _1xjl.prototype.initialize = function(_1xjo) { var _1xjp = null; this.scale.x = _1xjo ? 1 : -1, this._w1.position.set(479, 141), this._w2.position.set(215, 516), this._w3.position.set(-146, 278), this._w1.texture = _1xhk.BATTLE_MAIN.getTexture(117), this._w2.texture = _1xhk.BATTLE_MAIN.getTexture(117), this._w3.texture = _1xhk.BATTLE_MAIN.getTexture(117); }, _1xjl.prototype.show = function(_1xjq) { var _1xjr = null; createjs.Tween.get(this._w1).wait(_1xjq).to({ 'scaleX': 2.27, 'scaleY': 2.27 }, 200).to({ 'scaleX': 2.65, 'scaleY': 2.65, 'alpha': 0 }, 333), createjs.Tween.get(this._w2).wait(_1xjq + 433).to({ 'scaleX': 2.27, 'scaleY': 2.27 }, 200).to({ 'scaleX': 2.65, 'scaleY': 2.65, 'alpha': 0 }, 333), createjs.Tween.get(this._w3).wait(_1xjq + 866).to({ 'scaleX': 2.27, 'scaleY': 2.27 }, 200).to({ 'scaleX': 2.65, 'scaleY': 2.65, 'alpha': 0 }, 333); }, _1xjl; }(PIXI.Container), _1xhv = function(_1xjs) { var _1xjt = null; function _1xju() { var _1xjv = null, _1xjw = _1xjs.call(this) || this; return _1xjw._name1 = new PIXI.Sprite(), _1xjw._name2 = new PIXI.Sprite(), _1xjw._name3 = new PIXI.Sprite(), _1xjw._name1.scale.set(0.76), _1xjw._name2.scale.set(0.76), _1xjw._name3.scale.set(0.76), _1xjw._name1.alpha = 0, _1xjw._name2.alpha = 0, _1xjw._name3.alpha = 0, _1xjw.addChild(_1xjw._name1), _1xjw.addChild(_1xjw._name2), _1xjw.addChild(_1xjw._name3), _1xjw; } return _1xgv(_1xju, _1xjs), _1xju.prototype.initialize = function(_1xjx, _1xjy, _1xjz, _1xk0) { var _1xk1 = null; this._name1.anchor.set(_1xjx ? 1 : 0, 0.5), this._name2.anchor.set(_1xjx ? 1 : 0, 0.5), this._name3.anchor.set(_1xjx ? 1 : 0, 0.5), this._name1.position.set(_1xjx ? 578 : -578, 615), this._name2.position.set(_1xjx ? 578 : -578, 480), this._name3.position.set(_1xjx ? 578 : -578, 345), this._name1.texture = _1xhf.default.resources.getSlotitem(_1xjy, 'btxt_flat'), this._name2.texture = _1xhf.default.resources.getSlotitem(_1xjz, 'btxt_flat'), this._name3.texture = _1xhf.default.resources.getSlotitem(_1xk0, 'btxt_flat'); }, _1xju.prototype.show = function(_1xk2) { var _1xk3 = null; createjs.Tween.get(this._name3).wait(_1xk2 + 866).to({ 'alpha': 1 }, 233), createjs.Tween.get(this._name2).wait(_1xk2 + 433).to({ 'alpha': 1 }, 233), createjs.Tween.get(this._name1).wait(_1xk2).to({ 'alpha': 1 }, 233); }, _1xju; }(PIXI.Container); }, 30381: function(_1xk4, _1xk5) { 'use strict'; var _1xk6 = null; var _1xk7, _1xk8 = this && this.__extends || (_1xk7 = function(_1xk9, _1xka) { var _1xkb = null; return _1xk7 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1xkc, _1xkd) { var _1xke = null; _1xkc.__proto__ = _1xkd; } || function(_1xkf, _1xkg) { var _1xkh = null; for (var _1xki in _1xkg) Object.prototype.hasOwnProperty.call(_1xkg, _1xki) && (_1xkf[_1xki] = _1xkg[_1xki]); }, _1xk7(_1xk9, _1xka); }, function(_1xkj, _1xkk) { var _1xkl = null; if ('function' != typeof _1xkk && null !== _1xkk) throw new TypeError('Class extends value ' + String(_1xkk) + ' is not a constructor or null'); function _1xkm() { var _1xkn = null; this.constructor = _1xkj; } _1xk7(_1xkj, _1xkk), _1xkj.prototype = null === _1xkk ? Object.create(_1xkk) : (_1xkm.prototype = _1xkk.prototype, new _1xkm()); }); defineModule(_1xk5); Object.defineProperty(_1xk5, '__esModule', { 'value': !0 }), _1xk5.CutinColoradoAttackCanvas = void 0; var _1xko = function(_1xkp) { var _1xkq = null; function _1xkr() { var _1xks = null, _1xkt = _1xkp.call(this) || this; _1xkt._chara = []; for (var _1xku = 0; _1xku < 3; _1xku++) { var _1xkv = new PIXI.Container(); _1xkt._chara.push(_1xkv), _1xkt.addChild(_1xkv); } return _1xkt._explosion = new PIXI.Container(), _1xkt.addChild(_1xkt._explosion), _1xkt; } return _1xk8(_1xkr, _1xkp), Object.defineProperty(_1xkr.prototype, 'chara', { 'get': function() { var _1xkw = null; return this._chara; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xkr.prototype, 'explosion', { 'get': function() { var _1xkx = null; return this._explosion; }, 'enumerable': !1, 'configurable': !0 }), _1xkr.prototype.dispose = function() { var _1xky = null; for (var _1xkz = 0; _1xkz < 3; _1xkz++) this._chara[_1xkz].removeChildren(), this._chara[_1xkz] = null; this._explosion.removeChildren(), this.removeChildren(), this._chara = null, this._explosion = null; }, _1xkr; }(PIXI.Container); _1xk5.CutinColoradoAttackCanvas = _1xko; }, 1474: function(_1xl0, _1xl1, _1xl2) { 'use strict'; var _1xl3 = null; var _1xl4, _1xl5 = this && this.__extends || (_1xl4 = function(_1xl6, _1xl7) { var _1xl8 = null; return _1xl4 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1xl9, _1xla) { var _1xlb = null; _1xl9.__proto__ = _1xla; } || function(_1xlc, _1xld) { var _1xle = null; for (var _1xlf in _1xld) Object.prototype.hasOwnProperty.call(_1xld, _1xlf) && (_1xlc[_1xlf] = _1xld[_1xlf]); }, _1xl4(_1xl6, _1xl7); }, function(_1xlg, _1xlh) { var _1xli = null; if ('function' != typeof _1xlh && null !== _1xlh) throw new TypeError('Class extends value ' + String(_1xlh) + ' is not a constructor or null'); function _1xlj() { var _1xlk = null; this.constructor = _1xlg; } _1xl4(_1xlg, _1xlh), _1xlg.prototype = null === _1xlh ? Object.create(_1xlh) : (_1xlj.prototype = _1xlh.prototype, new _1xlj()); }); defineModule(_1xl1); Object.defineProperty(_1xl1, '__esModule', { 'value': !0 }), _1xl1.CutinDanchakuCanvas = void 0; var _1xll = _1xl2(87475), _1xlm = _1xl2(54011), _1xln = _1xl2(22434), _1xlo = _1xl2(22407), _1xlp = _1xl2(46682), _1xlq = function(_1xlr) { var _1xls = null; function _1xlt() { var _1xlu = null, _1xlv = _1xlr.call(this) || this; _1xlv._bg = new _1xll.FadeBox(0.7, 8900331), _1xlv._bg.hide(0), _1xlv.addChild(_1xlv._bg), _1xlv._chara = new PIXI.Container(), _1xlv.addChild(_1xlv._chara), _1xlv._telop_bg = new _1xlo.TelopBG(), _1xlv._telop_bg.position.set(600, 150), _1xlv._telop_bg.alpha = 0, _1xlv.addChild(_1xlv._telop_bg), _1xlv._slot_bg1 = new _1xlo.TelopBG(), _1xlv.addChild(_1xlv._slot_bg1), _1xlv._slot1 = new _1xlm.Sprite(), _1xlv._slot1.anchor.set(0.5), _1xlv._slot1.scale.set(0.9), _1xlv._slot1.alpha = 0, _1xlv.addChild(_1xlv._slot1), _1xlv._slot_bg2 = new _1xlo.TelopBG(), _1xlv.addChild(_1xlv._slot_bg2), _1xlv._slot2 = new _1xlm.Sprite(), _1xlv._slot2.anchor.set(0.5), _1xlv._slot2.scale.set(0.9), _1xlv._slot2.alpha = 0, _1xlv._slot1_text = new _1xlm.Sprite(), _1xlv._slot1_text.scale.set(0.76), _1xlv._slot1_text.alpha = 0, _1xlv._slot2_text = new _1xlm.Sprite(), _1xlv._slot2_text.scale.set(0.76), _1xlv._slot2_text.alpha = 0, _1xlv._telop = new _1xlm.Sprite(), _1xlv._telop.anchor.set(0.5), _1xlv._telop.position.set(600, 150), _1xlv._telop.alpha = 0, _1xlv._plane = new _1xlp.Plane(0.88), _1xlv.addChild(_1xlv._slot2), _1xlv.addChild(_1xlv._slot1_text), _1xlv.addChild(_1xlv._slot2_text), _1xlv.addChild(_1xlv._telop), _1xlv.addChild(_1xlv._plane); var _1xlw = new PIXI.Graphics(); return _1xlw.beginFill(0), _1xlw.drawRect(0, 321, 1200, 138), _1xlw.endFill(), _1xlv.addChild(_1xlw), _1xlv._slot1.mask = _1xlw, (_1xlw = new PIXI.Graphics()).beginFill(0), _1xlw.drawRect(0, 530, 1200, 138), _1xlw.endFill(), _1xlv.addChild(_1xlw), _1xlv._slot2.mask = _1xlw, _1xlv; } return _1xl5(_1xlt, _1xlr), Object.defineProperty(_1xlt.prototype, 'bg', { 'get': function() { var _1xlx = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xlt.prototype, 'chara', { 'get': function() { var _1xly = null; return this._chara; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xlt.prototype, 'telop_bg', { 'get': function() { var _1xlz = null; return this._telop_bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xlt.prototype, 'slot_bg1', { 'get': function() { var _1xm0 = null; return this._slot_bg1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xlt.prototype, 'slot1', { 'get': function() { var _1xm1 = null; return this._slot1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xlt.prototype, 'slot_bg2', { 'get': function() { var _1xm2 = null; return this._slot_bg2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xlt.prototype, 'slot2', { 'get': function() { var _1xm3 = null; return this._slot2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xlt.prototype, 'slot1_text', { 'get': function() { var _1xm4 = null; return this._slot1_text; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xlt.prototype, 'slot2_text', { 'get': function() { var _1xm5 = null; return this._slot2_text; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xlt.prototype, 'telop', { 'get': function() { var _1xm6 = null; return this._telop; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xlt.prototype, 'plane', { 'get': function() { var _1xm7 = null; return this._plane; }, 'enumerable': !1, 'configurable': !0 }), _1xlt.prototype.initialize = function(_1xm8, _1xm9) { var _1xma = null; switch (this._telop_bg.initialize(_1xm8, !0), this._slot_bg1.initialize(_1xm8, !0), this._slot_bg2.initialize(_1xm8, !0), 1 == _1xm8 ? (this._slot_bg1.position.set(0 - this._slot_bg1.width / 2, 390), this._slot_bg2.position.set(1200 + this._slot_bg2.width / 2, 600)) : (this._slot_bg1.position.set(1200 + this._slot_bg1.width / 2, 390), this._slot_bg2.position.set(0 - this._slot_bg2.width / 2, 600)), _1xm9) { case 1: this._telop.texture = _1xln.BATTLE_MAIN.getTexture(154); break; case 2: this._telop.texture = _1xln.BATTLE_MAIN.getTexture(147); break; default: this._telop.texture = _1xln.BATTLE_MAIN.getTexture(152); } }, _1xlt.prototype.dispose = function() { var _1xmb = null; this.removeChildren(); }, _1xlt; }(PIXI.Container); _1xl1.CutinDanchakuCanvas = _1xlq; }, 88436: function(_1xmc, _1xmd, _1xme) { 'use strict'; var _1xmf = null; var _1xmg, _1xmh = this && this.__extends || (_1xmg = function(_1xmi, _1xmj) { var _1xmk = null; return _1xmg = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1xml, _1xmm) { var _1xmn = null; _1xml.__proto__ = _1xmm; } || function(_1xmo, _1xmp) { var _1xmq = null; for (var _1xmr in _1xmp) Object.prototype.hasOwnProperty.call(_1xmp, _1xmr) && (_1xmo[_1xmr] = _1xmp[_1xmr]); }, _1xmg(_1xmi, _1xmj); }, function(_1xms, _1xmt) { var _1xmu = null; if ('function' != typeof _1xmt && null !== _1xmt) throw new TypeError('Class extends value ' + String(_1xmt) + ' is not a constructor or null'); function _1xmv() { var _1xmw = null; this.constructor = _1xms; } _1xmg(_1xms, _1xmt), _1xms.prototype = null === _1xmt ? Object.create(_1xmt) : (_1xmv.prototype = _1xmt.prototype, new _1xmv()); }), _1xmx = this && this.__importDefault || function(_1xmy) { var _1xmz = null; return _1xmy && _1xmy.__esModule ? _1xmy : { 'default': _1xmy }; }; defineModule(_1xmd); Object.defineProperty(_1xmd, '__esModule', { 'value': !0 }), _1xmd.CutinKuboDayCanvas = void 0; var _1xn0 = _1xmx(_1xme(18622)), _1xn1 = _1xme(51805), _1xn2 = _1xme(87475), _1xn3 = _1xme(22434), _1xn4 = _1xme(46682), _1xn5 = _1xme(22407), _1xn6 = function(_1xn7) { var _1xn8 = null; function _1xn9() { var _1xna = null, _1xnb = _1xn7.call(this) || this; return _1xnb._bg = new _1xn2.FadeBox(0.7, 8900331), _1xnb._bg.hide(0), _1xnb.addChild(_1xnb._bg), _1xnb._chara = new PIXI.Container(), _1xnb.addChild(_1xnb._chara), _1xnb._bar1 = new _1xnc(), _1xnb._bar1.position.set(600, 183), _1xnb.addChild(_1xnb._bar1), _1xnb._bar2 = new _1xnc(), _1xnb._bar2.position.set(600, 392), _1xnb.addChild(_1xnb._bar2), _1xnb._bar3 = new _1xnc(), _1xnb._bar3.position.set(600, 600), _1xnb.addChild(_1xnb._bar3), _1xnb._plane1 = new _1xn4.Plane(0.88), _1xnb.addChild(_1xnb._plane1), _1xnb; } return _1xmh(_1xn9, _1xn7), Object.defineProperty(_1xn9.prototype, 'bg', { 'get': function() { var _1xnd = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xn9.prototype, 'chara', { 'get': function() { var _1xne = null; return this._chara; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xn9.prototype, 'bar1', { 'get': function() { var _1xnf = null; return this._bar1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xn9.prototype, 'bar2', { 'get': function() { var _1xng = null; return this._bar2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xn9.prototype, 'bar3', { 'get': function() { var _1xnh = null; return this._bar3; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xn9.prototype, 'plane1', { 'get': function() { var _1xni = null; return this._plane1; }, 'enumerable': !1, 'configurable': !0 }), _1xn9; }(PIXI.Container); _1xmd.CutinKuboDayCanvas = _1xn6; var _1xnc = function(_1xnj) { var _1xnk = null; function _1xnl() { var _1xnm = null, _1xnn = _1xnj.call(this) || this; _1xnn._mst_id = 0, _1xnn._bg = new _1xn5.TelopBG(), _1xnn.addChild(_1xnn._bg), _1xnn._plane_canvas = new PIXI.Sprite(), _1xnn.addChild(_1xnn._plane_canvas); var _1xno = new PIXI.Graphics(); return _1xno.beginFill(16711680, 0.5), _1xno.drawRect(-600, -71, 1200, 141), _1xno.endFill(), _1xnn._plane_canvas.addChild(_1xno), _1xnn._plane_canvas.mask = _1xno, _1xnn._plane = new _1xn4.Plane(0.85), _1xnn._plane.alpha = 0, _1xnn._plane_canvas.addChild(_1xnn._plane), _1xnn._icon = new _1xnp(), _1xnn._icon.y = 72, _1xnn._icon.alpha = 0, _1xnn.addChild(_1xnn._icon), _1xnn; } return _1xmh(_1xnl, _1xnj), _1xnl.prototype.initialize = function(_1xnq, _1xnr) { var _1xns = null; this._mst_id = _1xnq, this._friend = _1xnr, this._bg.initialize(_1xnr, !0), 1 == _1xnr ? (this._bg.x = 1500, this._plane.x = -600, this._icon.x = 677) : (this._bg.x = -1500, this._plane.x = 600, this._icon.x = -677), this._plane.initialize(_1xnq, _1xnr), this._icon.initialize(_1xnq); }, _1xnl.prototype.createTween = function(_1xnt) { var _1xnu = null, _1xnv = []; return this._mst_id <= 0 || _1xnv.push(createjs.Tween.get(this._bg).wait(_1xnt).to({ 'x': this._friend ? 780 : -780 }, 300), createjs.Tween.get(this._plane).wait(_1xnt).to({ 'x': this._friend ? 386 : -386, 'alpha': 1 }, 250), createjs.Tween.get(this._icon).wait(_1xnt).to({ 'x': this._friend ? 96 : -96, 'alpha': 1 }, 200)), _1xnv; }, _1xnl.prototype.createTween2 = function(_1xnw) { var _1xnx = null, _1xny = []; return _1xny.push(createjs.Tween.get(this._plane).wait(_1xnw).to({ 'scaleX': 1.5, 'scaleY': 1.5 }, 500)), _1xny; }, _1xnl; }(PIXI.Container), _1xnp = function(_1xnz) { var _1xo0 = null; function _1xo1() { var _1xo2 = null, _1xo3 = _1xnz.call(this) || this; return _1xo3._img = new PIXI.Sprite(), _1xo3._img.scale.set(0.75), _1xo3.addChild(_1xo3._img), _1xo3; } return _1xmh(_1xo1, _1xnz), _1xo1.prototype.initialize = function(_1xo4) { var _1xo5 = null; this._img.texture = this._getTexture(_1xo4), this._img.x = -Math.round(this._img.width / 2), this._img.y = -Math.round(this._img.height); }, _1xo1.prototype._getTexture = function(_1xo6) { var _1xo7 = null, _1xo8 = _1xn0.default.model.slot.getMst(_1xo6); if (null == _1xo8) return PIXI.Texture.EMPTY; switch (_1xo8.equipType) { case _1xn1.EquipType._06_KANJO_SENTOUKI: return _1xn3.BATTLE_MAIN.getTexture(75); case _1xn1.EquipType._07_KANJO_BAKUGEKIKI: return _1xn3.BATTLE_MAIN.getTexture(76); case _1xn1.EquipType._08_KANJO_KOUGEKIKI: return _1xn3.BATTLE_MAIN.getTexture(77); default: return PIXI.Texture.EMPTY; } }, _1xo1; }(PIXI.Container); }, 95403: function(_1xo9, _1xoa, _1xob) { 'use strict'; var _1xoc = null; var _1xod, _1xoe = this && this.__extends || (_1xod = function(_1xof, _1xog) { var _1xoh = null; return _1xod = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1xoi, _1xoj) { var _1xok = null; _1xoi.__proto__ = _1xoj; } || function(_1xol, _1xom) { var _1xon = null; for (var _1xoo in _1xom) Object.prototype.hasOwnProperty.call(_1xom, _1xoo) && (_1xol[_1xoo] = _1xom[_1xoo]); }, _1xod(_1xof, _1xog); }, function(_1xop, _1xoq) { var _1xor = null; if ('function' != typeof _1xoq && null !== _1xoq) throw new TypeError('Class extends value ' + String(_1xoq) + ' is not a constructor or null'); function _1xos() { var _1xot = null; this.constructor = _1xop; } _1xod(_1xop, _1xoq), _1xop.prototype = null === _1xoq ? Object.create(_1xoq) : (_1xos.prototype = _1xoq.prototype, new _1xos()); }), _1xou = this && this.__importDefault || function(_1xov) { var _1xow = null; return _1xov && _1xov.__esModule ? _1xov : { 'default': _1xov }; }; defineModule(_1xoa); Object.defineProperty(_1xoa, '__esModule', { 'value': !0 }), _1xoa.CutinKuboNightCanvas = void 0; var _1xox = _1xou(_1xob(18622)), _1xoy = _1xob(87475), _1xoz = _1xob(46682), _1xp0 = _1xob(22407), _1xp1 = _1xob(51805), _1xp2 = _1xob(22434), _1xp3 = _1xob(72778), _1xp4 = function(_1xp5) { var _1xp6 = null; function _1xp7() { var _1xp8 = null, _1xp9 = _1xp5.call(this) || this; return _1xp9._bg = new _1xoy.FadeBox(0.7, 8900331), _1xp9._bg.hide(0), _1xp9.addChild(_1xp9._bg), _1xp9._chara = new PIXI.Container(), _1xp9.addChild(_1xp9._chara), _1xp9._bar1 = new _1xpa(), _1xp9._bar1.position.set(600, 183), _1xp9.addChild(_1xp9._bar1), _1xp9._bar2 = new _1xpa(), _1xp9._bar2.position.set(600, 392), _1xp9.addChild(_1xp9._bar2), _1xp9._bar3 = new _1xpa(), _1xp9._bar3.position.set(600, 600), _1xp9.addChild(_1xp9._bar3), _1xp9._plane1 = new _1xoz.Plane(0.88), _1xp9.addChild(_1xp9._plane1), _1xp9; } return _1xoe(_1xp7, _1xp5), Object.defineProperty(_1xp7.prototype, 'bg', { 'get': function() { var _1xpb = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xp7.prototype, 'chara', { 'get': function() { var _1xpc = null; return this._chara; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xp7.prototype, 'bar1', { 'get': function() { var _1xpd = null; return this._bar1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xp7.prototype, 'bar2', { 'get': function() { var _1xpe = null; return this._bar2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xp7.prototype, 'bar3', { 'get': function() { var _1xpf = null; return this._bar3; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xp7.prototype, 'plane1', { 'get': function() { var _1xpg = null; return this._plane1; }, 'enumerable': !1, 'configurable': !0 }), _1xp7; }(PIXI.Container); _1xoa.CutinKuboNightCanvas = _1xp4; var _1xpa = function(_1xph) { var _1xpi = null; function _1xpj() { var _1xpk = null, _1xpl = _1xph.call(this) || this; _1xpl._mst_id = 0, _1xpl._bg = new _1xp0.TelopBG(), _1xpl.addChild(_1xpl._bg), _1xpl._plane_canvas = new PIXI.Sprite(), _1xpl.addChild(_1xpl._plane_canvas); var _1xpm = new PIXI.Graphics(); return _1xpm.beginFill(16711680, 0.5), _1xpm.drawRect(-600, -71, 1200, 141), _1xpm.endFill(), _1xpl._plane_canvas.addChild(_1xpm), _1xpl._plane_canvas.mask = _1xpm, _1xpl._plane = new _1xoz.Plane(0.9), _1xpl._plane.alpha = 0, _1xpl._plane_canvas.addChild(_1xpl._plane), _1xpl._name = new PIXI.Sprite(), _1xpl._name.alpha = 0, _1xpl.addChild(_1xpl._name), _1xpl; } return _1xoe(_1xpj, _1xph), _1xpj.prototype.initialize = function(_1xpn, _1xpo) { var _1xpp = null; this._mst_id = _1xpn, this._friend = _1xpo, this._plane.initialize(_1xpn, _1xpo), this._name.texture = this._getTextTexture(_1xpn), _1xp3.SlotUtil.isEnemyItem(_1xpn) ? this._name.scale.set(0.75) : this._name.scale.set(0.56), this._name.y = -Math.round(this._name.height / 2), this._bg.initialize(_1xpo, !1), 1 == _1xpo ? (this._bg.x = 1500, this._plane.x = -600, this._name.x = 600) : (this._bg.x = -1500, this._plane.x = 600, this._name.x = -600 - this._name.width); }, _1xpj.prototype.createTween = function(_1xpq) { var _1xpr = null, _1xps = []; return this._mst_id <= 0 || _1xps.push(createjs.Tween.get(this._bg).wait(_1xpq).to({ 'x': 0 }, 300), createjs.Tween.get(this._plane).wait(_1xpq).to({ 'x': this._friend ? 311 : -311, 'alpha': 1 }, 250), createjs.Tween.get(this._name).wait(_1xpq).to({ 'x': this._friend ? -570 : 570 - this._name.width, 'alpha': 1 }, 200)), _1xps; }, _1xpj.prototype.createTween2 = function(_1xpt) { var _1xpu = null, _1xpv = []; return _1xpv.push(createjs.Tween.get(this._plane).wait(_1xpt).to({ 'scaleX': 1.5, 'scaleY': 1.5 }, 500)), _1xpv; }, _1xpj.prototype._getTextTexture = function(_1xpw) { var _1xpx = null, _1xpy = _1xox.default.model.slot.getMst(_1xpw); if (null == _1xpy) return PIXI.Texture.EMPTY; if (!_1xp3.SlotUtil.isEnemyItem(_1xpy.mstID)) return _1xox.default.resources.getSlotitem(_1xpy.mstID, 'btxt_flat'); switch (_1xpy.equipType) { case _1xp1.EquipType._06_KANJO_SENTOUKI: return _1xp2.BATTLE_MAIN.getTexture(75); case _1xp1.EquipType._07_KANJO_BAKUGEKIKI: return _1xp2.BATTLE_MAIN.getTexture(76); case _1xp1.EquipType._08_KANJO_KOUGEKIKI: return _1xp2.BATTLE_MAIN.getTexture(77); default: return PIXI.Texture.EMPTY; } }, _1xpj; }(PIXI.Container); }, 89710: function(_1xpz, _1xq0) { 'use strict'; var _1xq1 = null; var _1xq2, _1xq3 = this && this.__extends || (_1xq2 = function(_1xq4, _1xq5) { var _1xq6 = null; return _1xq2 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1xq7, _1xq8) { var _1xq9 = null; _1xq7.__proto__ = _1xq8; } || function(_1xqa, _1xqb) { var _1xqc = null; for (var _1xqd in _1xqb) Object.prototype.hasOwnProperty.call(_1xqb, _1xqd) && (_1xqa[_1xqd] = _1xqb[_1xqd]); }, _1xq2(_1xq4, _1xq5); }, function(_1xqe, _1xqf) { var _1xqg = null; if ('function' != typeof _1xqf && null !== _1xqf) throw new TypeError('Class extends value ' + String(_1xqf) + ' is not a constructor or null'); function _1xqh() { var _1xqi = null; this.constructor = _1xqe; } _1xq2(_1xqe, _1xqf), _1xqe.prototype = null === _1xqf ? Object.create(_1xqf) : (_1xqh.prototype = _1xqf.prototype, new _1xqh()); }); defineModule(_1xq0); Object.defineProperty(_1xq0, '__esModule', { 'value': !0 }), _1xq0.CutinMutsuAttackCanvas = void 0; var _1xqj = function(_1xqk) { var _1xql = null; function _1xqm() { var _1xqn = null, _1xqo = _1xqk.call(this) || this; _1xqo._chara = []; for (var _1xqp = 0; _1xqp < 2; _1xqp++) { var _1xqq = new PIXI.Container(); _1xqo._chara.push(_1xqq), _1xqo.addChild(_1xqq); } return _1xqo._explosion = new PIXI.Container(), _1xqo.addChild(_1xqo._explosion), _1xqo; } return _1xq3(_1xqm, _1xqk), Object.defineProperty(_1xqm.prototype, 'chara', { 'get': function() { var _1xqr = null; return this._chara; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xqm.prototype, 'explosion', { 'get': function() { var _1xqs = null; return this._explosion; }, 'enumerable': !1, 'configurable': !0 }), _1xqm.prototype.dispose = function() { var _1xqt = null; for (var _1xqu = 0; _1xqu < 2; _1xqu++) this._chara[_1xqu].removeChildren(), this._chara[_1xqu] = null; this._explosion.removeChildren(), this.removeChildren(), this._chara = null, this._explosion = null; }, _1xqm; }(PIXI.Container); _1xq0.CutinMutsuAttackCanvas = _1xqj; }, 71977: function(_1xqv, _1xqw) { 'use strict'; var _1xqx = null; var _1xqy, _1xqz = this && this.__extends || (_1xqy = function(_1xr0, _1xr1) { var _1xr2 = null; return _1xqy = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1xr3, _1xr4) { var _1xr5 = null; _1xr3.__proto__ = _1xr4; } || function(_1xr6, _1xr7) { var _1xr8 = null; for (var _1xr9 in _1xr7) Object.prototype.hasOwnProperty.call(_1xr7, _1xr9) && (_1xr6[_1xr9] = _1xr7[_1xr9]); }, _1xqy(_1xr0, _1xr1); }, function(_1xra, _1xrb) { var _1xrc = null; if ('function' != typeof _1xrb && null !== _1xrb) throw new TypeError('Class extends value ' + String(_1xrb) + ' is not a constructor or null'); function _1xrd() { var _1xre = null; this.constructor = _1xra; } _1xqy(_1xra, _1xrb), _1xra.prototype = null === _1xrb ? Object.create(_1xrb) : (_1xrd.prototype = _1xrb.prototype, new _1xrd()); }); defineModule(_1xqw); Object.defineProperty(_1xqw, '__esModule', { 'value': !0 }), _1xqw.CutinNagatoAttackCanvas = void 0; var _1xrf = function(_1xrg) { var _1xrh = null; function _1xri() { var _1xrj = null, _1xrk = _1xrg.call(this) || this; _1xrk._chara = []; for (var _1xrl = 0; _1xrl < 2; _1xrl++) { var _1xrm = new PIXI.Container(); _1xrk._chara.push(_1xrm), _1xrk.addChild(_1xrm); } return _1xrk._explosion = new PIXI.Container(), _1xrk.addChild(_1xrk._explosion), _1xrk; } return _1xqz(_1xri, _1xrg), Object.defineProperty(_1xri.prototype, 'chara', { 'get': function() { var _1xrn = null; return this._chara; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xri.prototype, 'explosion', { 'get': function() { var _1xro = null; return this._explosion; }, 'enumerable': !1, 'configurable': !0 }), _1xri.prototype.dispose = function() { var _1xrp = null; for (var _1xrq = 0; _1xrq < 2; _1xrq++) this._chara[_1xrq].removeChildren(), this._chara[_1xrq] = null; this._explosion.removeChildren(), this.removeChildren(), this._chara = null, this._explosion = null; }, _1xri; }(PIXI.Container); _1xqw.CutinNagatoAttackCanvas = _1xrf; }, 69192: function(_1xrr, _1xrs) { 'use strict'; var _1xrt = null; var _1xru, _1xrv = this && this.__extends || (_1xru = function(_1xrw, _1xrx) { var _1xry = null; return _1xru = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1xrz, _1xs0) { var _1xs1 = null; _1xrz.__proto__ = _1xs0; } || function(_1xs2, _1xs3) { var _1xs4 = null; for (var _1xs5 in _1xs3) Object.prototype.hasOwnProperty.call(_1xs3, _1xs5) && (_1xs2[_1xs5] = _1xs3[_1xs5]); }, _1xru(_1xrw, _1xrx); }, function(_1xs6, _1xs7) { var _1xs8 = null; if ('function' != typeof _1xs7 && null !== _1xs7) throw new TypeError('Class extends value ' + String(_1xs7) + ' is not a constructor or null'); function _1xs9() { var _1xsa = null; this.constructor = _1xs6; } _1xru(_1xs6, _1xs7), _1xs6.prototype = null === _1xs7 ? Object.create(_1xs7) : (_1xs9.prototype = _1xs7.prototype, new _1xs9()); }); defineModule(_1xrs); Object.defineProperty(_1xrs, '__esModule', { 'value': !0 }), _1xrs.CutinNelsonTouchCanvas = void 0; var _1xsb = function(_1xsc) { var _1xsd = null; function _1xse() { var _1xsf = null, _1xsg = _1xsc.call(this) || this; _1xsg._chara = []; for (var _1xsh = 0; _1xsh < 3; _1xsh++) { var _1xsi = new PIXI.Container(); _1xsg._chara.push(_1xsi), _1xsg.addChild(_1xsi); } return _1xsg._explosion = new PIXI.Container(), _1xsg.addChild(_1xsg._explosion), _1xsg; } return _1xrv(_1xse, _1xsc), Object.defineProperty(_1xse.prototype, 'chara', { 'get': function() { var _1xsj = null; return this._chara; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xse.prototype, 'explosion', { 'get': function() { var _1xsk = null; return this._explosion; }, 'enumerable': !1, 'configurable': !0 }), _1xse.prototype.initialize = function(_1xsl) {}, _1xse.prototype.dispose = function() { var _1xsm = null; for (var _1xsn = 0; _1xsn < 3; _1xsn++) this._chara[_1xsn].removeChildren(), this._chara[_1xsn] = null; this._explosion.removeChildren(), this.removeChildren(), this._chara = null, this._explosion = null; }, _1xse; }(PIXI.Container); _1xrs.CutinNelsonTouchCanvas = _1xsb; }, 334: function(_1xso, _1xsp, _1xsq) { 'use strict'; var _1xsr = null; var _1xss, _1xst = this && this.__extends || (_1xss = function(_1xsu, _1xsv) { var _1xsw = null; return _1xss = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1xsx, _1xsy) { var _1xsz = null; _1xsx.__proto__ = _1xsy; } || function(_1xt0, _1xt1) { var _1xt2 = null; for (var _1xt3 in _1xt1) Object.prototype.hasOwnProperty.call(_1xt1, _1xt3) && (_1xt0[_1xt3] = _1xt1[_1xt3]); }, _1xss(_1xsu, _1xsv); }, function(_1xt4, _1xt5) { var _1xt6 = null; if ('function' != typeof _1xt5 && null !== _1xt5) throw new TypeError('Class extends value ' + String(_1xt5) + ' is not a constructor or null'); function _1xt7() { var _1xt8 = null; this.constructor = _1xt4; } _1xss(_1xt4, _1xt5), _1xt4.prototype = null === _1xt5 ? Object.create(_1xt5) : (_1xt7.prototype = _1xt5.prototype, new _1xt7()); }); defineModule(_1xsp); Object.defineProperty(_1xsp, '__esModule', { 'value': !0 }), _1xsp.CutinStatusBox = void 0; var _1xt9 = _1xsq(8744), _1xta = _1xsq(6218), _1xtb = _1xsq(32717), _1xtc = _1xsq(57616), _1xtd = _1xsq(22434), _1xte = function(_1xtf) { var _1xtg = null; function _1xth() { var _1xti = null, _1xtj = _1xtf.call(this) || this; return _1xtj._bg = new PIXI.Sprite(), _1xtj.addChild(_1xtj._bg), _1xtj._gauge = new _1xtk(), _1xtj.addChild(_1xtj._gauge), _1xtj._ship_name = new _1xtl(46, 16774898), _1xtj.addChild(_1xtj._ship_name), _1xtj._level = new _1xt9.TextBox(32, 16774898), _1xtj.addChild(_1xtj._level), _1xtj._karyoku = new _1xt9.TextBox(24, 16774898), _1xtj._raisou = new _1xt9.TextBox(24, 16774898), _1xtj._taiku = new _1xt9.TextBox(24, 16774898), _1xtj._soukou = new _1xt9.TextBox(24, 16774898), _1xtj.addChild(_1xtj._karyoku), _1xtj.addChild(_1xtj._raisou), _1xtj.addChild(_1xtj._taiku), _1xtj.addChild(_1xtj._soukou), _1xtj._ring = new _1xtb.RingSmall(), _1xtj._ring.visible = !1, _1xtj.addChild(_1xtj._ring), _1xtj._slotIcons = [], _1xtj; } return _1xst(_1xth, _1xtf), _1xth.prototype.initilize = function(_1xtm) { var _1xtn = null, _1xto = _1xtm.friend, _1xtp = _1xtm.slots, _1xtq = _1xtm.isMarriage(); this._updateBackground(_1xto, _1xtp), this._updateHPGauge(_1xto, _1xtm.hp_now, _1xtm.hp_max), this._updateShipNameText(_1xtm.name, _1xto, _1xtp, _1xtq), 1 == _1xtm.friend ? (this._level.position.set(56, 66), this._karyoku.position.set(94, 108), this._raisou.position.set(214, 108), this._taiku.position.set(334, 108), this._soukou.position.set(448, 108)) : (this._level.position.set(131, 66), this._karyoku.position.set(168, 108), this._raisou.position.set(288, 108), this._taiku.position.set(408, 108), this._soukou.position.set(522, 108)), _1xtq ? (this._ring.x = 1 == _1xtm.friend ? 152 : 233, this._ring.y = 69, this._ring.initialize(), this._ring.activate(), this._ring.visible = !0) : (this._ring.deactivate(), this._ring.visible = !1), this._level.text = _1xtm.level.toString(), this._karyoku.text = _1xtm.karyoku.toString(), this._raisou.text = _1xtm.raisou.toString(), this._taiku.text = _1xtm.taiku.toString(), this._soukou.text = _1xtm.soukou.toString(), this._updateSlot(_1xto, _1xtp); }, _1xth.prototype.dispose = function() { var _1xtr = null; if (this.removeChildren(), this._bg = null, this._gauge = null, null != this._slotIcons) for (var _1xts = 0, _1xtt = this._slotIcons; _1xts < _1xtt.length; _1xts++) { _1xtt[_1xts].dispose(); } this._slotIcons = null, this._ship_name.dispose(), this._ship_name = null, this._level.destroy(), this._level = null, this._karyoku.destroy(), this._karyoku = null, this._raisou.destroy(), this._raisou = null, this._taiku.destroy(), this._taiku = null, this._soukou.destroy(), this._soukou = null, this._ring.dispose(), this._ring = null; }, _1xth.prototype._updateBackground = function(_1xtu, _1xtv) { var _1xtw = null, _1xtx; _1xtx = _1xtv.length >= 5 ? _1xtu ? 130 : 128 : _1xtu ? 129 : 127, this._bg.texture = _1xtd.BATTLE_MAIN.getTexture(_1xtx); }, _1xth.prototype._updateHPGauge = function(_1xty, _1xtz, _1xu0) { var _1xu1 = null; this._gauge.x = _1xty ? 192 : 267, this._gauge.y = 81, this._gauge.initialize(_1xtz / _1xu0); }, _1xth.prototype._updateShipNameText = function(_1xu2, _1xu3, _1xu4, _1xu5) { var _1xu6 = null; this._ship_name.position.set(_1xu3 ? 15 : 92, 6); var _1xu7 = { 'text': _1xu2, 'color': _1xu5 ? 16766947 : 16774898, 'maskW': _1xu4.length >= 5 ? 185 : 230, 'maskH': 53 }; this._ship_name.update(_1xu7); }, _1xth.prototype._updateSlot = function(_1xu8, _1xu9) { var _1xua = null; for (; this._slotIcons.length > 0;) { var _1xub = this._slotIcons.pop(); null != _1xub.parent && _1xub.parent.removeChild(_1xub); } if (null != _1xu9) { var _1xuc; _1xuc = _1xu8 ? _1xu9.length >= 5 ? 203 : 263 : _1xu9.length >= 5 ? 282 : 342; for (var _1xud = 0; _1xud < _1xu9.length; _1xud++) { var _1xue = new _1xuf(); _1xue.x = _1xuc + 60 * _1xud, _1xue.y = 18; var _1xug = _1xu9[_1xud]; null == _1xug ? _1xue.visible = !1 : _1xue.initialize(_1xug.iconType), this.addChild(_1xue), this._slotIcons.push(_1xue); } } }, _1xth; }(PIXI.Container); _1xsp.CutinStatusBox = _1xte; var _1xtl = function(_1xuh) { var _1xui = null; function _1xuj(_1xuk, _1xul) { var _1xum = null, _1xun = _1xuh.call(this) || this; _1xun._text = new _1xt9.TextBox(_1xuk, _1xul), _1xun.addChild(_1xun._text); var _1xuo = new PIXI.Graphics(); return _1xun.addChild(_1xuo), _1xun.mask = _1xuo, _1xun; } return _1xst(_1xuj, _1xuh), _1xuj.prototype.update = function(_1xup) { var _1xuq = null; (null != _1xup.text && _1xup.text.length > 0 && (this._text.text = _1xup.text), null != _1xup.color && (this._text.style.fill = _1xup.color), _1xup.maskW > 0 && _1xup.maskH > 0) && this.mask.beginFill(0, 0).drawRect(0, 0, _1xup.maskW, _1xup.maskH).endFill(); }, _1xuj.prototype.dispose = function() { var _1xur = null; this.removeChildren(), this._text.destroy(), this.mask = null; }, _1xuj; }(PIXI.Container), _1xtk = function(_1xus) { var _1xut = null; function _1xuu() { var _1xuv = null, _1xuw = _1xus.call(this) || this; _1xuw._GAUGE_WIDTH_ = 300, _1xuw._GAUGE_HEIGHT_ = 12, _1xuw._bar = new PIXI.Graphics(), _1xuw.addChild(_1xuw._bar); var _1xux = new PIXI.Graphics(); return _1xuw._drawShape(_1xux, 0), _1xuw.addChild(_1xux), _1xuw._bar.mask = _1xux, _1xuw; } return _1xst(_1xuu, _1xus), _1xuu.prototype.initialize = function(_1xuy) { var _1xuz = null; _1xuy = Math.max(_1xuy, 0), _1xuy = Math.min(_1xuy, 1), this._bar.x = -this._GAUGE_WIDTH_ * (1 - _1xuy); var _1xv0 = _1xtc.MathUtil.getColor(_1xuy); this._drawShape(this._bar, _1xv0); }, _1xuu.prototype._drawShape = function(_1xv1, _1xv2) { var _1xv3 = null, _1xv4 = this._GAUGE_HEIGHT_ / 2; _1xv1.beginFill(_1xv2), _1xv1.arc(_1xv4, _1xv4, _1xv4, Math.PI / 2, Math.PI / 2 * 3), _1xv1.arc(this._GAUGE_WIDTH_ - _1xv4, _1xv4, _1xv4, -Math.PI / 2, Math.PI / 2), _1xv1.endFill(); }, _1xuu; }(PIXI.Container), _1xuf = function(_1xv5) { var _1xv6 = null; function _1xv7() { var _1xv8 = null, _1xv9 = _1xv5.call(this) || this; return _1xv9._icon = new _1xta.IconWeapon(), _1xv9.addChild(_1xv9._icon), _1xv9; } return _1xst(_1xv7, _1xv5), _1xv7.prototype.initialize = function(_1xva) { var _1xvb = null; this.texture = _1xtd.BATTLE_MAIN.getTexture(62), this._icon.update(_1xva); }, _1xv7.prototype.dispose = function() { var _1xvc = null; this.removeChildren(), this._icon.dispose(); }, _1xv7; }(PIXI.Sprite); }, 77357: function(_1xvd, _1xve, _1xvf) { 'use strict'; var _1xvg = null; var _1xvh, _1xvi = this && this.__extends || (_1xvh = function(_1xvj, _1xvk) { var _1xvl = null; return _1xvh = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1xvm, _1xvn) { var _1xvo = null; _1xvm.__proto__ = _1xvn; } || function(_1xvp, _1xvq) { var _1xvr = null; for (var _1xvs in _1xvq) Object.prototype.hasOwnProperty.call(_1xvq, _1xvs) && (_1xvp[_1xvs] = _1xvq[_1xvs]); }, _1xvh(_1xvj, _1xvk); }, function(_1xvt, _1xvu) { var _1xvv = null; if ('function' != typeof _1xvu && null !== _1xvu) throw new TypeError('Class extends value ' + String(_1xvu) + ' is not a constructor or null'); function _1xvw() { var _1xvx = null; this.constructor = _1xvt; } _1xvh(_1xvt, _1xvu), _1xvt.prototype = null === _1xvu ? Object.create(_1xvu) : (_1xvw.prototype = _1xvu.prototype, new _1xvw()); }), _1xvy = this && this.__importDefault || function(_1xvz) { var _1xw0 = null; return _1xvz && _1xvz.__esModule ? _1xvz : { 'default': _1xvz }; }; defineModule(_1xve); Object.defineProperty(_1xve, '__esModule', { 'value': !0 }), _1xve.CutinTelop = void 0; var _1xw1 = _1xvy(_1xvf(18622)), _1xw2 = _1xvf(54011), _1xw3 = _1xvf(22407), _1xw4 = function(_1xw5) { var _1xw6 = null; function _1xw7(_1xw8, _1xw9) { var _1xwa = null, _1xwb = _1xw5.call(this) || this; return _1xwb._weight = 1, _1xwb._type = _1xw8, _1xwb._night = _1xw9, _1xwb._bg = new _1xw3.TelopBG(), _1xwb.addChild(_1xwb._bg), _1xwb._text = new _1xw2.Sprite(), _1xwb.addChild(_1xwb._text), _1xwb; } return _1xvi(_1xw7, _1xw5), _1xw7.prototype.initialize = function(_1xwc, _1xwd) { var _1xwe = null; switch (this._friend = _1xwd, this._text.texture = _1xw1.default.resources.getSlotitem(_1xwc, 'btxt_flat'), this._text.scale.set(0.83), this._setBGTexture(_1xwd), this._type) { case 0: 1 == _1xwd ? (this._bg_base_x = -600, this._text.anchor.set(1, 0.5), this._text_base_x = 0) : (this._bg_base_x = 1800, this._text.anchor.set(0, 0.5), this._text_base_x = 1200, this._weight = -1), this._bg.position.set(this._bg_base_x, 516), this._text.position.set(this._text_base_x, 516); break; case 1: this._text_w = this._text.width, this._bg.scale.set(1, 1.5), this._bg.position.set(600, 516), this._bg.alpha = 0, 1 == _1xwd ? (this._text.anchor.set(0.5), this._text.position.set(1200 - this._text_w / 2, 516)) : (this._text.anchor.set(0.5), this._text.position.set(0 + this._text_w / 2, 516)), this._text.alpha = 0, this._text.scale.set(0.83 + 0.2075); break; case 2: this._friend = _1xwd; var _1xwf = _1xwd ? 1 : -1; 1 == _1xwd ? (this._text.anchor.set(1, 0.5), this._text.rotation = -16 / 180 * Math.PI, this._text.position.set(0, 692)) : (this._text.anchor.set(0, 0.5), this._text.rotation = 16 / 180 * Math.PI, this._text.position.set(1200, 580)), this._bg.position.set(600 - 750 * _1xwf, 644); } }, _1xw7.prototype._setBGTexture = function(_1xwg) { var _1xwh = null; switch (this._type) { case 0: case 1: this._bg.initialize(_1xwg, !this._night); break; case 2: this._bg.removeChildren(); var _1xwi = new PIXI.Sprite(); 1 == _1xwg ? 0 == this._night ? _1xwi.texture = PIXI.Texture.fromFrame('battle_telop_mes_f_hbg') : _1xwi.texture = PIXI.Texture.fromFrame('battle_telop_mes_f_ybg') : 0 == this._night ? _1xwi.texture = PIXI.Texture.fromFrame('battle_telop_mes_e_hbg') : _1xwi.texture = PIXI.Texture.fromFrame('battle_telop_mes_e_ybg'), _1xwi.x = -Math.round(_1xwi.width / 2), _1xwi.y = -Math.round(_1xwi.height / 2), this._bg.addChild(_1xwi); } }, _1xw7.prototype.play = function() { var _1xwj = null; switch (this._type) { case 0: this.play_type1(); break; case 1: this.play_type2(); break; case 2: this.play_type3(); } }, _1xw7.prototype.play_type1 = function() { var _1xwk = null; createjs.Tween.get(this._bg).to({ 'x': this._bg_base_x + 1200 * this._weight }, 200).wait(565).to({ 'x': this._bg_base_x + 1410 * this._weight, 'alpha': 0 }, 200), createjs.Tween.get(this._text).wait(200).to({ 'x': this._text_base_x + 1155 * this._weight }, 265).to({ 'x': this._text_base_x + 1200 * this._weight }, 235).to({ 'x': this._text_base_x + 1800 * this._weight, 'alpha': 0 }, 200); }, _1xw7.prototype.play_type2 = function() { var _1xwl = null; createjs.Tween.get(this._bg).to({ 'scaleY': 1, 'alpha': 1 }, 433).wait(333).to({ 'scaleY': 1.5, 'alpha': 0 }, 200); var _1xwm = this._friend ? 1230 - this._text_w / 2 : this._text_w / 2 - 30; createjs.Tween.get(this._text).wait(200).to({ 'scaleX': 0.83, 'scaleY': 0.83, 'alpha': 1 }, 333, createjs.Ease.sineOut).to({ 'x': _1xwm }, 200).to({ 'scaleX': 0.83 + 0.2075, 'scaleY': 0.83 + 0.2075, 'alpha': 0 }, 200); }, _1xw7.prototype.play_type3 = function() { var _1xwn = null, _1xwo = this._friend ? 1 : -1, _1xwp = this._friend ? 356 : 244; createjs.Tween.get(this._bg).to({ 'x': 600, 'y': 450 }, 200).wait(566).to({ 'alpha': 0 }, 200), createjs.Tween.get(this._text).wait(200).to({ 'x': 600 + 600 * _1xwo, 'y': _1xwp }, 400, createjs.Ease.sineOut).to({ 'x': 600 + 630 * _1xwo, 'y': _1xwp - 8 }, 100).to({ 'x': 600 + 1140 * _1xwo, 'y': _1xwp - 150, 'alpha': 0 }, 266); }, _1xw7; }(PIXI.Container); _1xve.CutinTelop = _1xw4; }, 87110: function(_1xwq, _1xwr, _1xws) { 'use strict'; var _1xwt = null; var _1xwu, _1xwv = this && this.__extends || (_1xwu = function(_1xww, _1xwx) { var _1xwy = null; return _1xwu = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1xwz, _1xx0) { var _1xx1 = null; _1xwz.__proto__ = _1xx0; } || function(_1xx2, _1xx3) { var _1xx4 = null; for (var _1xx5 in _1xx3) Object.prototype.hasOwnProperty.call(_1xx3, _1xx5) && (_1xx2[_1xx5] = _1xx3[_1xx5]); }, _1xwu(_1xww, _1xwx); }, function(_1xx6, _1xx7) { var _1xx8 = null; if ('function' != typeof _1xx7 && null !== _1xx7) throw new TypeError('Class extends value ' + String(_1xx7) + ' is not a constructor or null'); function _1xx9() { var _1xxa = null; this.constructor = _1xx6; } _1xwu(_1xx6, _1xx7), _1xx6.prototype = null === _1xx7 ? Object.create(_1xx7) : (_1xx9.prototype = _1xx7.prototype, new _1xx9()); }), _1xxb = this && this.__importDefault || function(_1xxc) { var _1xxd = null; return _1xxc && _1xxc.__esModule ? _1xxc : { 'default': _1xxc }; }; defineModule(_1xwr); Object.defineProperty(_1xwr, '__esModule', { 'value': !0 }), _1xwr.ItemBox3 = _1xwr.ItemBox2 = _1xwr.ItemBox1 = _1xwr.CutinZuiunNightCanvas = void 0; var _1xxe = _1xxb(_1xws(18622)), _1xxf = _1xws(87475), _1xxg = _1xws(70723), _1xxh = _1xws(46682), _1xxi = function(_1xxj) { var _1xxk = null; function _1xxl() { var _1xxm = null, _1xxn = _1xxj.call(this) || this; return _1xxn._bg = new _1xxf.FadeBox(0.9, 0), _1xxn._chara = new PIXI.Container(), _1xxn._item1 = new _1xxo(), _1xxn._item2 = new _1xxp(), _1xxn._item3 = new _1xxq(), _1xxn._name1 = new _1xxr(), _1xxn._name2 = new _1xxr(), _1xxn._name3 = new _1xxr(), _1xxn._bg.hide(0), _1xxn.addChild(_1xxn._bg), _1xxn.addChild(_1xxn._chara), _1xxn.addChild(_1xxn._item1), _1xxn.addChild(_1xxn._item2), _1xxn.addChild(_1xxn._item3), _1xxn.addChild(_1xxn._name1), _1xxn.addChild(_1xxn._name2), _1xxn.addChild(_1xxn._name3), _1xxn; } return _1xwv(_1xxl, _1xxj), Object.defineProperty(_1xxl.prototype, 'bg', { 'get': function() { var _1xxs = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xxl.prototype, 'chara', { 'get': function() { var _1xxt = null; return this._chara; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xxl.prototype, 'item1', { 'get': function() { var _1xxu = null; return this._item1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xxl.prototype, 'item2', { 'get': function() { var _1xxv = null; return this._item2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xxl.prototype, 'item3', { 'get': function() { var _1xxw = null; return this._item3; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xxl.prototype, 'name1', { 'get': function() { var _1xxx = null; return this._name1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xxl.prototype, 'name2', { 'get': function() { var _1xxy = null; return this._name2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1xxl.prototype, 'name3', { 'get': function() { var _1xxz = null; return this._name3; }, 'enumerable': !1, 'configurable': !0 }), _1xxl.prototype.initialize = function(_1xy0, _1xy1, _1xy2, _1xy3) { var _1xy4 = null; this._item1.initialize(_1xy0, _1xy1), this._item2.initialize(_1xy0, _1xy2), this._item3.initialize(_1xy0, _1xy3), this._name1.initialize(_1xy0), this._name1.y = 390, this._name2.initialize(_1xy0), this._name2.y = 480, this._name3.initialize(_1xy0), this._name3.y = 570, this.name1.texture = _1xxe.default.resources.getSlotitem(_1xy1, 'btxt_flat'), this.name2.texture = _1xxe.default.resources.getSlotitem(_1xy2, 'btxt_flat'), this.name3.texture = _1xxe.default.resources.getSlotitem(_1xy3, 'btxt_flat'); }, _1xxl.prototype.dispose = function() { var _1xy5 = null; this.removeChildren(); }, _1xxl; }(PIXI.Container); _1xwr.CutinZuiunNightCanvas = _1xxi; var _1xxo = function(_1xy6) { var _1xy7 = null; function _1xy8() { var _1xy9 = null, _1xya = _1xy6.call(this) || this; _1xya._bg = new PIXI.Sprite(), _1xya._item = new _1xxh.Plane(0.9), _1xya._item.position.set(-15, 5), _1xya._bg.anchor.set(0.5), _1xya._bg.alpha = 0, _1xya._item.alpha = 0, _1xya.addChild(_1xya._bg), _1xya.addChild(_1xya._item); var _1xyb = new PIXI.Graphics(); return _1xyb.beginFill(16711680), _1xyb.drawPolygon([new PIXI.Point(402, -585), new PIXI.Point(867, -585), new PIXI.Point(-354, 537), new PIXI.Point(-813, 537)]), _1xyb.endFill(), _1xya.addChild(_1xyb), _1xya._item.mask = _1xyb, _1xya; } return _1xwv(_1xy8, _1xy6), _1xy8.prototype.initialize = function(_1xyc, _1xyd) { var _1xye = null; _1xyc ? (this.position.set(505, 585), this._to_pos = new PIXI.Point(993, 135)) : (this.position.set(695, 585), this._to_pos = new PIXI.Point(207, 135), this.scale.x = -1); var _1xyf = _1xyc ? 'battle_telop_mes_ybg4_f' : 'battle_telop_mes_ybg4_e'; this._bg.texture = PIXI.Texture.fromFrame(_1xyf), this._item.initialize(_1xyd, !0); }, _1xy8.prototype.show = function(_1xyg) { var _1xyh = null, _1xyi = this; createjs.Tween.get(this).wait(_1xyg).call(function() { var _1xyj = null; _1xyi._play(_1xyi._to_pos.x, _1xyi._to_pos.y); }); }, _1xy8.prototype._play = function(_1xyk, _1xyl) { var _1xym = null; _1xxg.SE.play('105'), createjs.Tween.get(this).to({ 'x': _1xyk, 'y': _1xyl }, 200), createjs.Tween.get(this._bg).to({ 'alpha': 1 }, 200), createjs.Tween.get(this._item).to({ 'alpha': 1 }, 133).call(function() { var _1xyn = null; _1xxg.SE.play('109'); }); }, _1xy8; }(PIXI.Container); _1xwr.ItemBox1 = _1xxo; var _1xxp = function(_1xyo) { var _1xyp = null; function _1xyq() { var _1xyr = null, _1xys = _1xyo.call(this) || this; _1xys._bg = new PIXI.Sprite(), _1xys._item = new PIXI.Sprite(), _1xys._item.position.set(77, -68), _1xys._bg.anchor.set(0.5), _1xys._item.anchor.set(0.5), _1xys._item.scale.set(1.5), _1xys._bg.alpha = 0, _1xys._item.alpha = 0, _1xys.addChild(_1xys._bg), _1xys.addChild(_1xys._item); var _1xyt = new PIXI.Graphics(); return _1xyt.beginFill(16711680), _1xyt.drawPolygon([new PIXI.Point(-756, 74), new PIXI.Point(749, -395), new PIXI.Point(749, -75), new PIXI.Point(-756, 395)]), _1xyt.endFill(), _1xys.addChild(_1xyt), _1xys._item.mask = _1xyt, _1xys; } return _1xwv(_1xyq, _1xyo), _1xyq.prototype.initialize = function(_1xyu, _1xyv) { var _1xyw = null; _1xyu ? (this.position.set(300, 674), this._to_pos = new PIXI.Point(750, 492)) : (this.position.set(900, 674), this._to_pos = new PIXI.Point(450, 492), this.scale.x = -1); var _1xyx = _1xyu ? 'battle_telop_mes_ybg3_f' : 'battle_telop_mes_ybg3_e'; this._bg.texture = PIXI.Texture.fromFrame(_1xyx), this._item.texture = _1xxe.default.resources.getSlotitem(_1xyv, 'item_up'); }, _1xyq.prototype.show = function(_1xyy) { var _1xyz = null, _1xz0 = this; createjs.Tween.get(this).wait(_1xyy).call(function() { var _1xz1 = null; _1xz0._play(_1xz0._to_pos.x, _1xz0._to_pos.y); }); }, _1xyq.prototype._play = function(_1xz2, _1xz3) { var _1xz4 = null; _1xxg.SE.play('105'), createjs.Tween.get(this).to({ 'x': _1xz2, 'y': _1xz3 }, 200), createjs.Tween.get(this._bg).to({ 'alpha': 1 }, 200), createjs.Tween.get(this._item).to({ 'alpha': 1 }, 133).call(function() { var _1xz5 = null; _1xxg.SE.play('109'); }); }, _1xyq; }(PIXI.Container); _1xwr.ItemBox2 = _1xxp; var _1xxq = function(_1xz6) { var _1xz7 = null; function _1xz8() { var _1xz9 = null, _1xza = _1xz6.call(this) || this; _1xza._bg = new PIXI.Sprite(), _1xza._bg.scale.x = -1, _1xza._bg.anchor.set(0.5), _1xza._bg.alpha = 0, _1xza.addChild(_1xza._bg), _1xza._item = new PIXI.Sprite(), _1xza._item.anchor.set(0.5), _1xza._item.position.set(60, 15), _1xza._item.scale.set(1.5), _1xza._item.alpha = 0, _1xza.addChild(_1xza._item); var _1xzb = new PIXI.Graphics(); return _1xzb.beginFill(16711680), _1xzb.drawPolygon([new PIXI.Point(-741, -392), new PIXI.Point(749, 75), new PIXI.Point(749, 395), new PIXI.Point(-741, -75)]), _1xzb.endFill(), _1xza.addChild(_1xzb), _1xza._item.mask = _1xzb, _1xza; } return _1xwv(_1xz8, _1xz6), _1xz8.prototype.initialize = function(_1xzc, _1xzd) { var _1xze = null; _1xzc ? (this.position.set(750, 674), this._to_pos = new PIXI.Point(565, 615)) : (this.position.set(450, 674), this._to_pos = new PIXI.Point(635, 615), this.scale.x = -1); var _1xzf = _1xzc ? 'battle_telop_mes_ybg3_f' : 'battle_telop_mes_ybg3_e'; this._bg.texture = PIXI.Texture.fromFrame(_1xzf), this._item.texture = _1xxe.default.resources.getSlotitem(_1xzd, 'item_up'); }, _1xz8.prototype.show = function(_1xzg) { var _1xzh = null, _1xzi = this; createjs.Tween.get(this).wait(_1xzg).call(function() { var _1xzj = null; _1xzi._play(_1xzi._to_pos.x, _1xzi._to_pos.y); }); }, _1xz8.prototype._play = function(_1xzk, _1xzl) { var _1xzm = null; _1xxg.SE.play('105'), createjs.Tween.get(this).to({ 'x': _1xzk, 'y': _1xzl }, 200), createjs.Tween.get(this._bg).to({ 'alpha': 1 }, 200), createjs.Tween.get(this._item).to({ 'alpha': 1 }, 133).call(function() { var _1xzn = null; _1xxg.SE.play('109'); }); }, _1xz8; }(PIXI.Container); _1xwr.ItemBox3 = _1xxq; var _1xxr = function(_1xzo) { var _1xzp = null; function _1xzq() { var _1xzr = null, _1xzs = _1xzo.call(this) || this; return _1xzs.scale.set(0.76), _1xzs.alpha = 0, _1xzs; } return _1xwv(_1xzq, _1xzo), _1xzq.prototype.initialize = function(_1xzt) { var _1xzu = null; 1 == _1xzt ? (this.anchor.set(0, 0.5), this.position.x = -300) : (this.anchor.set(1, 0.5), this.position.x = 1500); }, _1xzq; }(PIXI.Sprite); }, 54427: function(_1xzv, _1xzw, _1xzx) { 'use strict'; var _1xzy = null; var _1xzz, _1y00 = this && this.__extends || (_1xzz = function(_1y01, _1y02) { var _1y03 = null; return _1xzz = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1y04, _1y05) { var _1y06 = null; _1y04.__proto__ = _1y05; } || function(_1y07, _1y08) { var _1y09 = null; for (var _1y0a in _1y08) Object.prototype.hasOwnProperty.call(_1y08, _1y0a) && (_1y07[_1y0a] = _1y08[_1y0a]); }, _1xzz(_1y01, _1y02); }, function(_1y0b, _1y0c) { var _1y0d = null; if ('function' != typeof _1y0c && null !== _1y0c) throw new TypeError('Class extends value ' + String(_1y0c) + ' is not a constructor or null'); function _1y0e() { var _1y0f = null; this.constructor = _1y0b; } _1xzz(_1y0b, _1y0c), _1y0b.prototype = null === _1y0c ? Object.create(_1y0c) : (_1y0e.prototype = _1y0c.prototype, new _1y0e()); }); defineModule(_1xzw); Object.defineProperty(_1xzw, '__esModule', { 'value': !0 }), _1xzw.IntensiveLines = void 0; var _1y0g = _1xzx(22434), _1y0h = function(_1y0i) { var _1y0j = null; function _1y0k() { var _1y0l = null, _1y0m = _1y0i.call(this) || this; return _1y0m._setPosition = function(_1y0n, _1y0o) { var _1y0p = null; _1y0m._content.position.set(_1y0n, _1y0o); }, _1y0m._content = new PIXI.Sprite(), _1y0m.addChild(_1y0m._content), _1y0m; } return _1y00(_1y0k, _1y0i), _1y0k.prototype.initialize = function() { var _1y0q = null, _1y0r = new PIXI.Sprite(_1y0g.BATTLE_MAIN.getTexture(131)); this._content.addChild(_1y0r), (_1y0r = new PIXI.Sprite(_1y0g.BATTLE_MAIN.getTexture(131))).scale.x = -1, _1y0r.x = 2 * _1y0r.width, this._content.addChild(_1y0r), (_1y0r = new PIXI.Sprite(_1y0g.BATTLE_MAIN.getTexture(131))).scale.y = -1, _1y0r.y = 2 * _1y0r.height, this._content.addChild(_1y0r), (_1y0r = new PIXI.Sprite(_1y0g.BATTLE_MAIN.getTexture(131))).scale.x = -1, _1y0r.scale.y = -1, _1y0r.x = 2 * _1y0r.width, _1y0r.y = 2 * _1y0r.height, this._content.addChild(_1y0r); }, _1y0k.prototype.activate = function() { var _1y0s = null; null == this._t && (this._t = createjs.Tween.get(this._content), this._t.loop = !0, this._t.call(this._setPosition, [0, 0]).wait(33), this._t.call(this._setPosition, [2, 5]).wait(33), this._t.call(this._setPosition, [-5, 0]).wait(33), this._t.call(this._setPosition, [3, 8]).wait(33), this._t.call(this._setPosition, [-3, 2]).wait(33), this._t.call(this._setPosition, [6, -2]).wait(33), this._t.call(this._setPosition, [0, 2]).wait(33), this._t.call(this._setPosition, [-3, 2]).wait(33), this._t.call(this._setPosition, [6, 5]).wait(33), this._t.call(this._setPosition, [-5, 9]).wait(33), this._t.call(this._setPosition, [5, 0]).wait(33), this._t.call(this._setPosition, [2, 6]).wait(33), this._t.call(this._setPosition, [0, -5]).wait(33), this._t.call(this._setPosition, [5, 3]).wait(33), this._t.call(this._setPosition, [5, -3]).wait(33), this._t.call(this._setPosition, [0, 2]).wait(33)); }, _1y0k.prototype.deactivate = function() { var _1y0t = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _1y0k; }(PIXI.Container); _1xzw.IntensiveLines = _1y0h; }, 46682: function(_1y0u, _1y0v, _1y0w) { 'use strict'; var _1y0x = null; var _1y0y, _1y0z = this && this.__extends || (_1y0y = function(_1y10, _1y11) { var _1y12 = null; return _1y0y = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1y13, _1y14) { var _1y15 = null; _1y13.__proto__ = _1y14; } || function(_1y16, _1y17) { var _1y18 = null; for (var _1y19 in _1y17) Object.prototype.hasOwnProperty.call(_1y17, _1y19) && (_1y16[_1y19] = _1y17[_1y19]); }, _1y0y(_1y10, _1y11); }, function(_1y1a, _1y1b) { var _1y1c = null; if ('function' != typeof _1y1b && null !== _1y1b) throw new TypeError('Class extends value ' + String(_1y1b) + ' is not a constructor or null'); function _1y1d() { var _1y1e = null; this.constructor = _1y1a; } _1y0y(_1y1a, _1y1b), _1y1a.prototype = null === _1y1b ? Object.create(_1y1b) : (_1y1d.prototype = _1y1b.prototype, new _1y1d()); }), _1y1f = this && this.__importDefault || function(_1y1g) { var _1y1h = null; return _1y1g && _1y1g.__esModule ? _1y1g : { 'default': _1y1g }; }; defineModule(_1y0v); Object.defineProperty(_1y0v, '__esModule', { 'value': !0 }), _1y0v.Plane = void 0; var _1y1i = _1y1f(_1y0w(18622)), _1y1j = _1y0w(41503), _1y1k = _1y0w(45054), _1y1l = _1y0w(72778), _1y1m = _1y0w(89939), _1y1n = function(_1y1o) { var _1y1p = null; function _1y1q(_1y1r) { var _1y1s = null; void 0 === _1y1r && (_1y1r = 1); var _1y1t = _1y1o.call(this) || this; return _1y1t._rad = 0, _1y1t._direction = !0, _1y1t._threshold = 0, _1y1t._base_scale = _1y1r, _1y1t._content = new PIXI.Sprite(), _1y1t._content.scale.set(_1y1r), _1y1t._content.anchor.set(0.5), _1y1t.addChild(_1y1t._content), _1y1t; } return _1y0z(_1y1q, _1y1o), Object.defineProperty(_1y1q.prototype, 'content', { 'get': function() { var _1y1u = null; return this._content; }, 'enumerable': !1, 'configurable': !0 }), _1y1q.prototype.initialize = function(_1y1v, _1y1w) { var _1y1x = null; this._content.texture = _1y1i.default.resources.getSlotitem(_1y1v, 'item_up'); var _1y1y = _1y1l.SlotUtil.isEnemyItem(_1y1v) ? -1 : 1; if (1 == _1y1j.PlaneConst.OFFSET.hasOwnProperty(_1y1v.toString())) { var _1y1z = _1y1j.PlaneConst.OFFSET[_1y1v], _1y20 = _1y1m.ObjUtil.getNumber(_1y1z, 'x'), _1y21 = _1y1m.ObjUtil.getNumber(_1y1z, 'y'), _1y22 = _1y1m.ObjUtil.getNumber(_1y1z, 'r'), _1y23 = _1y1m.ObjUtil.getNumber(_1y1z, 'sx', 1); this._content.position.set(_1y20, _1y21), this._content.rotation = -_1y22 / 180 * Math.PI * (_1y1w ? 1 : -1), this._content.scale.x = this._base_scale * _1y23 * _1y1y * (_1y1w ? 1 : -1), this._content.scale.y = this._base_scale * Math.abs(_1y23); } else this._content.position.set(0, 0), this._content.rotation = 0, this._content.scale.x = this._base_scale * _1y1y * (_1y1w ? 1 : -1), this._content.scale.y = this._base_scale; 138 == _1y1v && (this._content.scale.x *= 1.4, this._content.scale.y *= 1.4), this._baseY = this._content.y, this._rad_accel = 60 * (0.05 + 0.05 * Math.random()) / createjs.Ticker.framerate; }, _1y1q.prototype.activate = function() { var _1y24 = null, _1y25 = this; if (null == this._t) { var _1y26 = createjs.Ticker.framerate; this._t = createjs.Tween.get(this, { 'loop': !0, 'onChange': function() { var _1y27 = null; _1y25._rad += _1y25._rad_accel, _1y25._content.y = _1y25._baseY + 900 / _1y26 * Math.sin(_1y25._rad), _1y25._threshold += 1 / _1y26, _1y25._threshold > 1 / 30 && (_1y25._threshold = 0, _1y25._direction = !_1y25._direction, _1y25._content.y += _1y25._direction ? 1 : -1); } }); } }, _1y1q.prototype.deactivate = function() { var _1y28 = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _1y1q; }(_1y1k.Container); _1y0v.Plane = _1y1n; }, 66423: function(_1y29, _1y2a, _1y2b) { 'use strict'; var _1y2c = null; var _1y2d, _1y2e = this && this.__extends || (_1y2d = function(_1y2f, _1y2g) { var _1y2h = null; return _1y2d = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1y2i, _1y2j) { var _1y2k = null; _1y2i.__proto__ = _1y2j; } || function(_1y2l, _1y2m) { var _1y2n = null; for (var _1y2o in _1y2m) Object.prototype.hasOwnProperty.call(_1y2m, _1y2o) && (_1y2l[_1y2o] = _1y2m[_1y2o]); }, _1y2d(_1y2f, _1y2g); }, function(_1y2p, _1y2q) { var _1y2r = null; if ('function' != typeof _1y2q && null !== _1y2q) throw new TypeError('Class extends value ' + String(_1y2q) + ' is not a constructor or null'); function _1y2s() { var _1y2t = null; this.constructor = _1y2p; } _1y2d(_1y2p, _1y2q), _1y2p.prototype = null === _1y2q ? Object.create(_1y2q) : (_1y2s.prototype = _1y2q.prototype, new _1y2s()); }); defineModule(_1y2a); Object.defineProperty(_1y2a, '__esModule', { 'value': !0 }), _1y2a.Wave = void 0; var _1y2u = _1y2b(54011), _1y2v = _1y2b(22434), _1y2w = function(_1y2x) { var _1y2y = null; function _1y2z() { var _1y30 = null, _1y31 = _1y2x.call(this) || this; return _1y31._wave1 = new _1y2u.Sprite(), _1y31._wave1.scale.set(0), _1y31._wave1.anchor.set(0.5), _1y31._wave2 = new _1y2u.Sprite(), _1y31._wave2.scale.set(0), _1y31._wave2.anchor.set(0.5), _1y31.addChild(_1y31._wave1), _1y31.addChild(_1y31._wave2), _1y31; } return _1y2e(_1y2z, _1y2x), _1y2z.prototype.initialize = function() { var _1y32 = null; this._wave1.texture = _1y2v.BATTLE_MAIN.getTexture(117), this._wave2.texture = _1y2v.BATTLE_MAIN.getTexture(117); }, _1y2z.prototype.play = function() { var _1y33 = null, _1y34 = this; createjs.Tween.get(this._wave1).to({ 'scaleX': 1.83, 'scaleY': 1.83 }, 233).to({ 'scaleX': 6, 'scaleY': 6, 'alpha': 0 }, 500, createjs.Ease.sineIn), createjs.Tween.get(this._wave2).wait(66).to({ 'scaleX': 1.83, 'scaleY': 1.83 }, 233).to({ 'scaleX': 6, 'scaleY': 6, 'alpha': 0 }, 500, createjs.Ease.sineIn).call(function() { var _1y35 = null; _1y34.removeChildren(), null != _1y34.parent && _1y34.parent.removeChild(_1y34); }); }, _1y2z; }(PIXI.Container); _1y2a.Wave = _1y2w; }, 15262: function(_1y36, _1y37, _1y38) { 'use strict'; var _1y39 = null; var _1y3a, _1y3b = this && this.__extends || (_1y3a = function(_1y3c, _1y3d) { var _1y3e = null; return _1y3a = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1y3f, _1y3g) { var _1y3h = null; _1y3f.__proto__ = _1y3g; } || function(_1y3i, _1y3j) { var _1y3k = null; for (var _1y3l in _1y3j) Object.prototype.hasOwnProperty.call(_1y3j, _1y3l) && (_1y3i[_1y3l] = _1y3j[_1y3l]); }, _1y3a(_1y3c, _1y3d); }, function(_1y3m, _1y3n) { var _1y3o = null; if ('function' != typeof _1y3n && null !== _1y3n) throw new TypeError('Class extends value ' + String(_1y3n) + ' is not a constructor or null'); function _1y3p() { var _1y3q = null; this.constructor = _1y3m; } _1y3a(_1y3m, _1y3n), _1y3m.prototype = null === _1y3n ? Object.create(_1y3n) : (_1y3p.prototype = _1y3n.prototype, new _1y3p()); }); defineModule(_1y37); Object.defineProperty(_1y37, '__esModule', { 'value': !0 }), _1y37.BannerGroupLayer = void 0; var _1y3r = _1y38(55535), _1y3s = _1y38(85492), _1y3t = _1y38(26438), _1y3u = function(_1y3v) { var _1y3w = null; function _1y3x() { var _1y3y = null, _1y3z = _1y3v.call(this) || this; return _1y3z._ally = null, _1y3z._friends_combined = new _1y3t.BannerGroup(!0, !0), _1y3z._friends_combined.position.set(228, 117), _1y3z.addChild(_1y3z._friends_combined), _1y3z._enemies_combined = new _1y3t.BannerGroup(!1, !0), _1y3z._enemies_combined.position.set(753, 220), _1y3z.addChild(_1y3z._enemies_combined), _1y3z._friends = new _1y3t.BannerGroup(!0, !1), _1y3z._friends.position.set(0, 117), _1y3z.addChild(_1y3z._friends), _1y3z._enemies = new _1y3t.BannerGroup(!1, !1), _1y3z._enemies.position.set(960, 220), _1y3z.addChild(_1y3z._enemies), _1y3z._effect_layer = new PIXI.Container(), _1y3z.addChild(_1y3z._effect_layer), _1y3z; } return _1y3b(_1y3x, _1y3v), Object.defineProperty(_1y3x.prototype, 'friends', { 'get': function() { var _1y40 = null; return this._friends; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1y3x.prototype, 'enemies', { 'get': function() { var _1y41 = null; return this._enemies; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1y3x.prototype, 'friends_combined', { 'get': function() { var _1y42 = null; return this._friends_combined; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1y3x.prototype, 'enemies_combined', { 'get': function() { var _1y43 = null; return this._enemies_combined; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1y3x.prototype, 'ally', { 'get': function() { var _1y44 = null; return this._ally; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1y3x.prototype, 'effect_layer', { 'get': function() { var _1y45 = null; return this._effect_layer; }, 'enumerable': !1, 'configurable': !0 }), _1y3x.prototype.initialize = function(_1y46, _1y47, _1y48, _1y49) { var _1y4a = null; this._friends.initialize(_1y46), this._enemies.initialize(_1y47), this._friends_combined.initialize(_1y48), this._enemies_combined.initialize(_1y49); }, _1y3x.prototype.addAllyBannerGroup = function(_1y4b) { var _1y4c = null; this._ally = new _1y3t.BannerGroup(!0, !1), this._ally.x = this._friends.x, this._ally.y = this._friends.y, this._ally.initialize(_1y4b); var _1y4d = this.getChildIndex(this._effect_layer); this.addChildAt(this._ally, _1y4d); }, _1y3x.prototype.removeAllyBannerGroup = function() { var _1y4e = null; null != this._ally && (null != this._ally.parent && this._ally.parent.removeChild(this._ally), this._ally = null); }, _1y3x.prototype.dispose = function() { var _1y4f = null; this._friends.dispose(), this._enemies.dispose(), this._friends_combined.dispose(), this._enemies_combined.dispose(); }, _1y3x.prototype.getBanner = function(_1y4g, _1y4h) { var _1y4i = null; if (void 0 === _1y4h && (_1y4h = -1), -1 == _1y4h) { var _1y4j = _1y4g; return this._getBanner(_1y4j.friend, _1y4j.index); } var _1y4k = _1y4g; return this._getBanner(_1y4k, _1y4h); }, _1y3x.prototype._getBanner = function(_1y4l, _1y4m) { var _1y4n = null, _1y4o; if (1 == _1y4l) { if (null != this._ally) return this._ally.getBannerAt(_1y4m); null == (_1y4o = this._friends.getBannerAt(_1y4m)) && (_1y4o = this._friends_combined.getBannerAt(_1y4m - 6)); } else null == (_1y4o = this._enemies.getBannerAt(_1y4m)) && (_1y4o = this._enemies_combined.getBannerAt(_1y4m - 6)); return _1y4o; }, _1y3x.prototype.getShieldTargetBanner = function(_1y4p) { var _1y4q = null; if (null == _1y4p) return null; if (1 == _1y4p.friend) { if (this._friends.isContains(_1y4p)) return this._friends.getBannerAt(0); if (this._friends_combined.isContains(_1y4p)) return this._friends_combined.getBannerAt(0); if (null != this._ally && this._ally.isContains(_1y4p)) return this._ally.getBannerAt(0); } else { if (this._enemies.isContains(_1y4p)) return this._enemies.getBannerAt(0); if (this._enemies_combined.isContains(_1y4p)) return this._enemies_combined.getBannerAt(0); } return null; }, _1y3x.prototype.isEnteredFriend = function() { var _1y4r = null; return this._friends.isEntered() || this._friends_combined.isEntered(); }, _1y3x.prototype.isEnteredEnemy = function() { var _1y4s = null; return this._enemies.isEntered() || this._enemies_combined.isEntered(); }, _1y3x.prototype.createFriendEnterTask = function() { var _1y4t = null; return this._createEnterTask(!0); }, _1y3x.prototype.createEnemyEnterTask = function() { var _1y4u = null; return this._createEnterTask(!1); }, _1y3x.prototype.createFriendSubDeckMoveTween = function(_1y4v) { var _1y4w = null; return this._createBannerMoveTween(_1y4v, !0); }, _1y3x.prototype.createEnemySubDeckMoveTween = function(_1y4x) { var _1y4y = null; return this._createBannerMoveTween(_1y4x, !1); }, _1y3x.prototype._createEnterTask = function(_1y4z) { var _1y50 = null, _1y51 = _1y4z ? this._friends : this._enemies, _1y52 = _1y4z ? this._friends_combined : this._enemies_combined, _1y53 = new _1y3r.SerialTask(), _1y54 = _1y51.createEnterTweens(); _1y54.length > 0 && ((_1y55 = new _1y3s.TweenTask()).addTweens(_1y54), _1y53.add(_1y55)); var _1y55, _1y56 = _1y52.createEnterTweens(); return _1y56.length > 0 && ((_1y55 = new _1y3s.TweenTask()).addTweens(_1y56), _1y53.add(_1y55)), _1y53; }, _1y3x.prototype._createBannerMoveTween = function(_1y57, _1y58) { var _1y59 = null, _1y5a = [], _1y5b = _1y58 ? this._friends : this._enemies, _1y5c = _1y58 ? this._friends_combined : this._enemies_combined, _1y5d = _1y5b.x - _1y5c.x; _1y5c.x = _1y5b.x; for (var _1y5e = 0; _1y5e < _1y5c.getBannerNum(); _1y5e++) { var _1y5f = _1y5c.getBannerAt(_1y5e); _1y5f.x -= _1y5d; var _1y5g = _1y5f.createSubDeckMoveTween(_1y57); null != _1y5g && _1y5a.push.apply(this, _1y5g), _1y57 += 100; } return _1y5a; }, _1y3x; }(PIXI.Container); _1y37.BannerGroupLayer = _1y3u; }, 90627: function(_1y5h, _1y5i, _1y5j) { 'use strict'; var _1y5k = null; var _1y5l, _1y5m = this && this.__extends || (_1y5l = function(_1y5n, _1y5o) { var _1y5p = null; return _1y5l = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1y5q, _1y5r) { var _1y5s = null; _1y5q.__proto__ = _1y5r; } || function(_1y5t, _1y5u) { var _1y5v = null; for (var _1y5w in _1y5u) Object.prototype.hasOwnProperty.call(_1y5u, _1y5w) && (_1y5t[_1y5w] = _1y5u[_1y5w]); }, _1y5l(_1y5n, _1y5o); }, function(_1y5x, _1y5y) { var _1y5z = null; if ('function' != typeof _1y5y && null !== _1y5y) throw new TypeError('Class extends value ' + String(_1y5y) + ' is not a constructor or null'); function _1y60() { var _1y61 = null; this.constructor = _1y5x; } _1y5l(_1y5x, _1y5y), _1y5x.prototype = null === _1y5y ? Object.create(_1y5y) : (_1y60.prototype = _1y5y.prototype, new _1y60()); }); defineModule(_1y5i); Object.defineProperty(_1y5i, '__esModule', { 'value': !0 }), _1y5i.BannerInfoLayer = void 0; var _1y62 = _1y5j(22434), _1y63 = function(_1y64) { var _1y65 = null; function _1y66() { var _1y67 = null; return null !== _1y64 && _1y64.apply(this, arguments) || this; } return _1y5m(_1y66, _1y64), _1y66.prototype.showSanshiki = function(_1y68, _1y69) { var _1y6a = null, _1y6b = this, _1y6c = _1y62.BATTLE_MAIN.getTexture(150), _1y6d = new PIXI.Sprite(_1y6c); _1y6d.x = _1y68.x + 215, _1y6d.y = _1y68.y + 14, _1y6d.alpha = 0, this.addChild(_1y6d), createjs.Tween.get(_1y6d).wait(_1y69).to({ 'alpha': 1 }, 300).wait(600).to({ 'alpha': 0 }, 300).call(function() { var _1y6e = null; _1y6b.removeChild(_1y6d); }); }, _1y66.prototype.showDanmaku = function(_1y6f, _1y6g) { var _1y6h = null, _1y6i = this, _1y6j = _1y62.BATTLE_MAIN.getTexture(146), _1y6k = new PIXI.Sprite(_1y6j); _1y6k.x = _1y6f.x + 215, _1y6k.y = _1y6f.y + 14, _1y6k.alpha = 0, this.addChild(_1y6k), createjs.Tween.get(_1y6k).wait(_1y6g).to({ 'alpha': 1 }, 300).wait(600).to({ 'alpha': 0 }, 300).call(function() { var _1y6l = null; _1y6i.removeChild(_1y6k); }); }, _1y66.prototype.dispose = function() {}, _1y66; }(PIXI.Container); _1y5i.BannerInfoLayer = _1y63; }, 17317: function(_1y6m, _1y6n, _1y6o) { 'use strict'; var _1y6p = null; var _1y6q, _1y6r = this && this.__extends || (_1y6q = function(_1y6s, _1y6t) { var _1y6u = null; return _1y6q = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1y6v, _1y6w) { var _1y6x = null; _1y6v.__proto__ = _1y6w; } || function(_1y6y, _1y6z) { var _1y70 = null; for (var _1y71 in _1y6z) Object.prototype.hasOwnProperty.call(_1y6z, _1y71) && (_1y6y[_1y71] = _1y6z[_1y71]); }, _1y6q(_1y6s, _1y6t); }, function(_1y72, _1y73) { var _1y74 = null; if ('function' != typeof _1y73 && null !== _1y73) throw new TypeError('Class extends value ' + String(_1y73) + ' is not a constructor or null'); function _1y75() { var _1y76 = null; this.constructor = _1y72; } _1y6q(_1y72, _1y73), _1y72.prototype = null === _1y73 ? Object.create(_1y73) : (_1y75.prototype = _1y73.prototype, new _1y75()); }), _1y77 = this && this.__spreadArray || function(_1y78, _1y79, _1y7a) { var _1y7b = null; if (_1y7a || 2 === arguments.length) { for (var _1y7c, _1y7d = 0, _1y7e = _1y79.length; _1y7d < _1y7e; _1y7d++) !_1y7c && _1y7d in _1y79 || (_1y7c || (_1y7c = Array.prototype.slice.call(_1y79, 0, _1y7d)), _1y7c[_1y7d] = _1y79[_1y7d]); } return _1y78.concat(_1y7c || Array.prototype.slice.call(_1y79)); }; defineModule(_1y6n); Object.defineProperty(_1y6n, '__esModule', { 'value': !0 }), _1y6n.LayerBalloon = void 0; var _1y7f = _1y6o(92547), _1y7g = _1y6o(11684), _1y7h = function(_1y7i) { var _1y7j = null; function _1y7k() { var _1y7l = null, _1y7m = _1y7i.call(this) || this; return _1y7m.LIMIT_NUM = 3, _1y7m._initialized = !1, _1y7m; } return _1y6r(_1y7k, _1y7i), _1y7k.prototype.initialize = function(_1y7n, _1y7o, _1y7p, _1y7q) { var _1y7r = null; if (this._initialized = !0, null == _1y7n ? void 0 : _1y7n.hasBanner()) { var _1y7s = _1y7f.BannerSize.W + 13; this._friends = new _1y7t(), this._friends.initialize(!0, _1y7n.getBanners()), this._friends.position.set(_1y7n.position.x + _1y7s, _1y7n.position.y), this.addChild(this._friends); }(null == _1y7p ? void 0 : _1y7p.hasBanner()) && (_1y7s = 0.9 * (_1y7f.BannerSize.W + 13), (this._friends_combined = new _1y7t(), this._friends_combined.initialize(!0, _1y7p.getBanners()), this._friends_combined.position.set(_1y7p.x + _1y7s, _1y7p.y), this.addChild(this._friends_combined))); if (null == _1y7o ? void 0 : _1y7o.hasBanner()) { var _1y7u = -13; this._enemies = new _1y7t(), this._enemies.initialize(!1, _1y7o.getBanners()), this._enemies.position.set(_1y7o.position.x + _1y7u, _1y7o.position.y), this.addChild(this._enemies); }(null == _1y7q ? void 0 : _1y7q.hasBanner()) && (_1y7u = 0.9 * -13, (this._enemies_combined = new _1y7t(), this._enemies_combined.initialize(!1, _1y7q.getBanners()), this._enemies_combined.position.set(_1y7q.position.x + _1y7u, _1y7q.position.y), this.addChild(this._enemies_combined))); }, _1y7k.prototype.fly = function(_1y7v, _1y7w, _1y7x, _1y7y, _1y7z) { var _1y80 = null, _1y81 = this; if (this._initialized && (null != this._friends || null != this._friends_combined || null != this._enemies || null != this._enemies_combined)) { 0; var _1y82 = this._createFlightSchedule(_1y7v, _1y7w, _1y7x, _1y7y); this._t = createjs.Tween.get(null, { 'loop': !0 }).call(function() { var _1y83 = null; _1y81._fly(_1y82, _1y7z); }).wait(200); } }, _1y7k.prototype._fly = function(_1y84, _1y85) { var _1y86 = null, _1y87, _1y88, _1y89, _1y8a, _1y8b, _1y8c, _1y8d, _1y8e, _1y8f, _1y8g, _1y8h, _1y8i; if (null == _1y84 || 0 == _1y84.length) return null != this._t && (this._t.setPaused(!0), this._t = null), void createjs.Tween.get(null).wait(500).call(function() { _1y85(); }); var _1y8j = _1y84.pop(); _1y8j.friend ? this.LIMIT_NUM > (null !== (_1y88 = null === (_1y87 = this._friends) || void 0 === _1y87 ? void 0 : _1y87.getBalloonNum()) && void 0 !== _1y88 ? _1y88 : 0) + (null !== (_1y8a = null === (_1y89 = this._friends_combined) || void 0 === _1y89 ? void 0 : _1y89.getBalloonNum()) && void 0 !== _1y8a ? _1y8a : 0) && (_1y8j.combined ? null === (_1y8b = this._friends_combined) || void 0 === _1y8b || _1y8b.update(_1y8j.index) : null === (_1y8c = this._friends) || void 0 === _1y8c || _1y8c.update(_1y8j.index)) : this.LIMIT_NUM > (null !== (_1y8e = null === (_1y8d = this._enemies) || void 0 === _1y8d ? void 0 : _1y8d.getBalloonNum()) && void 0 !== _1y8e ? _1y8e : 0) + (null !== (_1y8g = null === (_1y8f = this._enemies_combined) || void 0 === _1y8f ? void 0 : _1y8f.getBalloonNum()) && void 0 !== _1y8g ? _1y8g : 0) && (_1y8j.combined ? null === (_1y8h = this._enemies_combined) || void 0 === _1y8h || _1y8h.update(_1y8j.index) : null === (_1y8i = this._enemies) || void 0 === _1y8i || _1y8i.update(_1y8j.index)); }, _1y7k.prototype._createFlightSchedule = function(_1y8k, _1y8l, _1y8m, _1y8n) { var _1y8o = null, _1y8p, _1y8q, _1y8r, _1y8s, _1y8t, _1y8u, _1y8v, _1y8w, _1y8x = this, _1y8y = [], _1y8z = [], _1y90 = Math.max(this.LIMIT_NUM - (null !== (_1y8q = null === (_1y8p = this._friends) || void 0 === _1y8p ? void 0 : _1y8p.getBalloonNum()) && void 0 !== _1y8q ? _1y8q : 0) + (null !== (_1y8s = null === (_1y8r = this._friends_combined) || void 0 === _1y8r ? void 0 : _1y8r.getBalloonNum()) && void 0 !== _1y8s ? _1y8s : 0), 0), _1y91 = [], _1y92 = Math.max(this.LIMIT_NUM - (null !== (_1y8u = null === (_1y8t = this._enemies) || void 0 === _1y8t ? void 0 : _1y8t.getBalloonNum()) && void 0 !== _1y8u ? _1y8u : 0) + (null !== (_1y8w = null === (_1y8v = this._enemies_combined) || void 0 === _1y8v ? void 0 : _1y8v.getBalloonNum()) && void 0 !== _1y8w ? _1y8w : 0), 0); if (null != _1y8k && _1y8k.length > 0) for (var _1y93 = 0, _1y94 = _1y8k; _1y93 < _1y94.length; _1y93++) { null != (_1y95 = _1y94[_1y93]) && (_1y95.hasBalloon() && _1y8z.push({ 'friend': !0, 'combined': !1, 'index': _1y95.index })); } if (null != _1y8m && _1y8m.length > 0) for (var _1y96 = 0, _1y97 = _1y8m; _1y96 < _1y97.length; _1y96++) { null != (_1y95 = _1y97[_1y96]) && (_1y95.hasBalloon() && _1y8z.push({ 'friend': !0, 'combined': !0, 'index': _1y95.index - 6 })); } if (null != _1y8l && _1y8l.length > 0) for (var _1y98 = 0, _1y99 = _1y8l; _1y98 < _1y99.length; _1y98++) { null != (_1y95 = _1y99[_1y98]) && (_1y95.hasBalloon() && _1y91.push({ 'friend': !1, 'combined': !1, 'index': _1y95.index })); } if (null != _1y8n && _1y8n.length > 0) for (var _1y9a = 0, _1y9b = _1y8n; _1y9a < _1y9b.length; _1y9a++) { var _1y95; null != (_1y95 = _1y9b[_1y9a]) && (_1y95.hasBalloon() && _1y91.push({ 'friend': !1, 'combined': !0, 'index': _1y95.index - 6 })); } var _1y9c = _1y8z.filter(function(_1y9d) { var _1y9e = null; return _1y9d.combined ? !_1y8x._friends_combined.getBalloonAt(_1y9d.index).enabled : !_1y8x._friends.getBalloonAt(_1y9d.index).enabled; }).slice(0, _1y90), _1y9f = _1y91.filter(function(_1y9g) { var _1y9h = null; return _1y9g.combined ? !_1y8x._enemies_combined.getBalloonAt(_1y9g.index).enabled : !_1y8x._enemies.getBalloonAt(_1y9g.index).enabled; }).slice(0, _1y92); return _1y8y.push.apply(_1y8y, _1y77(_1y77([], _1y9c, !1), _1y9f, !1)), this._shuffleArray(_1y8y), _1y8y; }, _1y7k.prototype.crashAt = function(_1y9i, _1y9j) { var _1y9k = null, _1y9l, _1y9m, _1y9n, _1y9o, _1y9p; if (_1y9i) { if (null != (_1y9p = null === (_1y9l = this._friends) || void 0 === _1y9l ? void 0 : _1y9l.getBalloonAt(_1y9j))) return _1y9p.crash(); if (null != (_1y9p = null === (_1y9m = this._friends_combined) || void 0 === _1y9m ? void 0 : _1y9m.getBalloonAt(_1y9j - 6))) return _1y9p.crash(); } else { if (null != (_1y9p = null === (_1y9n = this._enemies) || void 0 === _1y9n ? void 0 : _1y9n.getBalloonAt(_1y9j))) return _1y9p.crash(); if (null != (_1y9p = null === (_1y9o = this._enemies_combined) || void 0 === _1y9o ? void 0 : _1y9o.getBalloonAt(_1y9j - 6))) return _1y9p.crash(); } return !1; }, _1y7k.prototype._shuffleArray = function(_1y9q) { var _1y9r = null; for (var _1y9s, _1y9t = _1y9q.length - 1; _1y9t > 0; _1y9t--) { var _1y9u = Math.floor(Math.random() * (_1y9t + 1)); _1y9s = [_1y9q[_1y9u], _1y9q[_1y9t]], _1y9q[_1y9t] = _1y9s[0], _1y9q[_1y9u] = _1y9s[1]; } }, _1y7k.prototype.dispose = function() { var _1y9v = null, _1y9w, _1y9x, _1y9y, _1y9z; this._initialized = !1, null != this._t && (this._t.setPaused(!0), this._t = null), this.removeChildren(), null === (_1y9w = this._friends) || void 0 === _1y9w || _1y9w.dispose(), null === (_1y9x = this._friends_combined) || void 0 === _1y9x || _1y9x.dispose(), null === (_1y9y = this._enemies) || void 0 === _1y9y || _1y9y.dispose(), null === (_1y9z = this._friends_combined) || void 0 === _1y9z || _1y9z.dispose(); }, _1y7k; }(PIXI.Container); _1y6n.LayerBalloon = _1y7h; var _1y7t = function(_1ya0) { var _1ya1 = null; function _1ya2() { var _1ya3 = null, _1ya4 = _1ya0.call(this) || this; return _1ya4._balloons = [], _1ya4; } return _1y6r(_1ya2, _1ya0), _1ya2.prototype.initialize = function(_1ya5, _1ya6) { var _1ya7 = null; for (var _1ya8 = 0, _1ya9 = _1ya6; _1ya8 < _1ya9.length; _1ya8++) { var _1yaa = _1ya9[_1ya8], _1yab = new _1yac(_1ya5); _1yab.position = _1yaa.position, this.addChild(_1yab), this._balloons.push(_1yab); } }, _1ya2.prototype.update = function(_1yad) { var _1yae = null, _1yaf; null === (_1yaf = this._balloons[_1yad]) || void 0 === _1yaf || _1yaf.fly(); }, _1ya2.prototype.getBalloonAt = function(_1yag) { var _1yah = null; return this._balloons[_1yag]; }, _1ya2.prototype.getBalloonNum = function() { var _1yai = null; return this._balloons.filter(function(_1yaj) { var _1yak = null; return _1yaj.enabled; }).length; }, _1ya2.prototype.dispose = function() { var _1yal = null; this.removeChildren(), this._balloons.forEach(function(_1yam) { var _1yan = null; return null == _1yam ? void 0 : _1yam.dispose(); }); }, _1ya2; }(PIXI.Container), _1yac = function(_1yao) { var _1yap = null; function _1yaq(_1yar) { var _1yas = null, _1yat = _1yao.call(this) || this; return _1yat._frame_no = 0, _1yat.FRIEND_FLY_FRAMES = [7, 8, 9, 10, 11], _1yat.FRIEND_PUKAPUKA_FRAMES = [12, 11, 13, 11], _1yat.ENEMY_FLY_FRAMES = [0, 1, 2, 3, 4], _1yat.ENEMY_PUKAPUKA_FRAMES = [5, 4, 6, 4], _1yat._img = new PIXI.Sprite(), _1yat._img.alpha = 0, _1yar ? (_1yat._fly_frames = _1yat.FRIEND_FLY_FRAMES, _1yat._pukapuka_frames = _1yat.FRIEND_PUKAPUKA_FRAMES, _1yat._img.position.set(-1, -21)) : (_1yat._fly_frames = _1yat.ENEMY_FLY_FRAMES, _1yat._pukapuka_frames = _1yat.ENEMY_PUKAPUKA_FRAMES, _1yat._img.position.set(-69, -21)), _1yat.addChild(_1yat._img), _1yat._enabled = !1, _1yat._t2 = null, _1yat; } return _1y6r(_1yaq, _1yao), Object.defineProperty(_1yaq.prototype, 'enabled', { 'get': function() { var _1yau = null; return this._enabled; }, 'enumerable': !1, 'configurable': !0 }), _1yaq.prototype.fly = function() { var _1yav = null, _1yaw = this; if (null == this._t1 && null == this._t2 && !this._enabled) { this._enabled = !0, this._img.alpha = 1, this._t1 = createjs.Tween.get(null); for (var _1yax = function(_1yay) { var _1yaz = null, _1yb0 = _1yb1._fly_frames[_1yay]; _1yb1._t1.wait(200), _1yb1._t1.call(function() { var _1yb2 = null; _1yaw._img.texture = _1y7g.BATTLE_BALLOON.getTexture(_1yb0); }); }, _1yb1 = this, _1yb3 = 0; _1yb3 < this._fly_frames.length; _1yb3++) _1yax(_1yb3); this._t1.call(function() { var _1yb4 = null; _1yaw._t2 = createjs.Tween.get(null, { 'loop': !0 }).wait(260).call(function() { var _1yb5 = null; _1yaw._pukapuka(); }); }); } }, _1yaq.prototype._pukapuka = function() { var _1yb6 = null; this._enabled && (this._frame_no++, this._frame_no >= this._pukapuka_frames.length - 1 && (this._frame_no = 0), this._img.texture = _1y7g.BATTLE_BALLOON.getTexture(this._pukapuka_frames[this._frame_no])); }, _1yaq.prototype.crash = function() { var _1yb7 = null, _1yb8 = this._enabled; return this._enabled = !1, null != this._t1 && (this._t1.setPaused(!0), this._t1 = null), null != this._t2 && (this._t2.setPaused(!0), this._t2 = null), this._img.alpha = 0, this._img.texture = PIXI.Texture.EMPTY, this._frame_no = 0, _1yb8; }, _1yaq.prototype.dispose = function() { var _1yb9 = null; this.crash(), this.removeChildren(); }, _1yaq; }(PIXI.Container); }, 33630: function(_1yba, _1ybb, _1ybc) { 'use strict'; var _1ybd = null; var _1ybe, _1ybf = this && this.__extends || (_1ybe = function(_1ybg, _1ybh) { var _1ybi = null; return _1ybe = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ybj, _1ybk) { var _1ybl = null; _1ybj.__proto__ = _1ybk; } || function(_1ybm, _1ybn) { var _1ybo = null; for (var _1ybp in _1ybn) Object.prototype.hasOwnProperty.call(_1ybn, _1ybp) && (_1ybm[_1ybp] = _1ybn[_1ybp]); }, _1ybe(_1ybg, _1ybh); }, function(_1ybq, _1ybr) { var _1ybs = null; if ('function' != typeof _1ybr && null !== _1ybr) throw new TypeError('Class extends value ' + String(_1ybr) + ' is not a constructor or null'); function _1ybt() { var _1ybu = null; this.constructor = _1ybq; } _1ybe(_1ybq, _1ybr), _1ybq.prototype = null === _1ybr ? Object.create(_1ybr) : (_1ybt.prototype = _1ybr.prototype, new _1ybt()); }); defineModule(_1ybb); Object.defineProperty(_1ybb, '__esModule', { 'value': !0 }), _1ybb.LayerDamage = void 0; var _1ybv = _1ybc(66398), _1ybw = _1ybc(47629), _1ybx = _1ybc(69605), _1yby = function(_1ybz) { var _1yc0 = null; function _1yc1() { var _1yc2 = null; return null !== _1ybz && _1ybz.apply(this, arguments) || this; } return _1ybf(_1yc1, _1ybz), _1yc1.prototype.showAtBanner = function(_1yc3, _1yc4, _1yc5, _1yc6) { var _1yc7 = null; if (void 0 === _1yc6 && (_1yc6 = null), _1yc3.friend || !_1yc3.invisible) { var _1yc8 = _1yc3.getGlobalPos(!0), _1yc9 = 1 == _1yc3.friend ? _1yc8.x + 23 : _1yc8.x - 74, _1yca = _1yc8.y + 7; this.show(_1yc9, _1yca, _1yc4, _1yc5, _1yc6); } }, _1yc1.prototype.show = function(_1ycb, _1ycc, _1ycd, _1yce, _1ycf) { var _1ycg = null, _1ych = this; void 0 === _1ycf && (_1ycf = null), _1ycd <= 0 ? _1yce = 0 : _1ycd >= 40 ? _1yce = 2 : _1ycd < 15 && 2 == _1yce && (_1yce = 1); var _1yci = new _1ybw.DamageNumber(); _1yci.position.set(_1ycb, _1ycc), _1yci.initialize(_1ycd, _1yce), this.addChild(_1yci), _1yci.play(function() { var _1ycj = null; createjs.Tween.get(_1yci).to({ 'alpha': 0 }, 230).call(function() { var _1yck = null; _1ych.removeChild(_1yci), null != _1ycf && _1ycf(); }); }); }, _1yc1.prototype.showShieldAtBanner = function(_1ycl) { var _1ycm = null, _1ycn = _1ycl.getGlobalPos(!0), _1yco = _1ycn.x, _1ycp = _1ycn.y, _1ycq = _1ycl.friend; 1 == _1ycq ? _1yco += _1ybv.BannerSize.W / 2 + 30 : _1yco -= _1ybv.BannerSize.W / 2 + 30, this.showShield(_1yco, _1ycp, _1ycq); }, _1yc1.prototype.showShield = function(_1ycr, _1ycs, _1yct) { var _1ycu = null, _1ycv = new _1ybx.Shield(); _1ycv.position.set(_1ycr, _1ycs), _1ycv.scale.x = _1yct ? 1 : -1, _1ycv.initialize(), this.addChild(_1ycv), _1ycv.play(); }, _1yc1; }(PIXI.Container); _1ybb.LayerDamage = _1yby; }, 70241: function(_1ycw, _1ycx, _1ycy) { 'use strict'; var _1ycz = null; var _1yd0, _1yd1 = this && this.__extends || (_1yd0 = function(_1yd2, _1yd3) { var _1yd4 = null; return _1yd0 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1yd5, _1yd6) { var _1yd7 = null; _1yd5.__proto__ = _1yd6; } || function(_1yd8, _1yd9) { var _1yda = null; for (var _1ydb in _1yd9) Object.prototype.hasOwnProperty.call(_1yd9, _1ydb) && (_1yd8[_1ydb] = _1yd9[_1ydb]); }, _1yd0(_1yd2, _1yd3); }, function(_1ydc, _1ydd) { var _1yde = null; if ('function' != typeof _1ydd && null !== _1ydd) throw new TypeError('Class extends value ' + String(_1ydd) + ' is not a constructor or null'); function _1ydf() { var _1ydg = null; this.constructor = _1ydc; } _1yd0(_1ydc, _1ydd), _1ydc.prototype = null === _1ydd ? Object.create(_1ydd) : (_1ydf.prototype = _1ydd.prototype, new _1ydf()); }); defineModule(_1ycx); Object.defineProperty(_1ycx, '__esModule', { 'value': !0 }), _1ycx.LayerExplosion = void 0; var _1ydh = _1ycy(66398), _1ydi = _1ycy(70723), _1ydj = _1ycy(20240), _1ydk = _1ycy(31911), _1ydl = _1ycy(14246), _1ydm = function(_1ydn) { var _1ydo = null; function _1ydp() { var _1ydq = null, _1ydr = _1ydn.call(this) || this; return _1ydr._under_layer = new PIXI.Sprite(), _1ydr._over_layer = new PIXI.Sprite(), _1ydr.addChild(_1ydr._under_layer), _1ydr.addChild(_1ydr._over_layer), _1ydr; } return _1yd1(_1ydp, _1ydn), _1ydp.prototype.playDamageExplosion = function(_1yds, _1ydt, _1ydu, _1ydv) { var _1ydw = null; void 0 === _1ydv && (_1ydv = null), _1ydu < 0 ? null != _1ydv && _1ydv() : _1ydu < 16 ? this.playExplosionSmall(_1yds, _1ydt, _1ydv) : _1ydu < 40 ? this.playExplosionMiddle(_1yds, _1ydt, _1ydv) : this.playExplosionLarge(_1yds, _1ydt, _1ydv); }, _1ydp.prototype.playExplosionSmall = function(_1ydx, _1ydy, _1ydz) { var _1ye0 = null; void 0 === _1ydz && (_1ydz = null), _1ydi.SE.play('102'), this._explode(_1ydx, _1ydy, _1ydz); }, _1ydp.prototype.playExplosionMiddle = function(_1ye1, _1ye2, _1ye3) { var _1ye4 = null, _1ye5 = this; void 0 === _1ye3 && (_1ye3 = null), createjs.Tween.get(this).call(function() { var _1ye6 = null; _1ydi.SE.play('103'), _1ye5._explode(_1ye1 - 26, _1ye2 + 35); }).wait(100).call(function() { var _1ye7 = null; _1ye5._explode(_1ye1 + 27, _1ye2 - 23, _1ye3); }); }, _1ydp.prototype.playExplosionLarge = function(_1ye8, _1ye9, _1yea) { var _1yeb = null, _1yec = this; void 0 === _1yea && (_1yea = null), createjs.Tween.get(this).call(function() { var _1yed = null; _1ydi.SE.play('104'), _1yec._explode(_1ye8 - 5, _1ye9 + 33); }).wait(100).call(function() { var _1yee = null; _1yec._explode(_1ye8 + 48, _1ye9 - 24); }).wait(100).call(function() { var _1yef = null; _1yec._explode(_1ye8 - 50, _1ye9 - 8, _1yea); }); }, _1ydp.prototype.playExplosions = function(_1yeg, _1yeh, _1yei) { var _1yej = null, _1yek = this; void 0 === _1yei && (_1yei = null), createjs.Tween.get(null).wait(166).call(function() { var _1yel = null; _1yek._explode(_1yeg - 98, _1yeh + 135); }).wait(33).call(function() { var _1yem = null; _1yek._explode(_1yeg - 47, _1yeh + 84); }).wait(33).call(function() { var _1yen = null; _1yek._explode(_1yeg, _1yeh + 30); }).wait(33).call(function() { var _1yeo = null; _1yek._explode(_1yeg + 21, _1yeh - 27); }).wait(33).call(function() { var _1yep = null; _1yek._explode(_1yeg + 56, _1yeh - 95); }).wait(33).call(function() { var _1yeq = null; _1yek._explode(_1yeg - 92, _1yeh - 42); }).wait(33).call(function() { var _1yer = null; _1yek._explode(_1yeg + 50, _1yeh + 134); }).wait(33).call(function() { var _1yes = null; _1yek._explode(_1yeg - 27, _1yeh - 80); }).wait(33).call(function() { var _1yet = null; _1yek._explode(_1yeg + 36, _1yeh - 161); }).wait(33).call(function() { var _1yeu = null; _1yek._explode(_1yeg - 66, _1yeh - 150); }).wait(33).call(function() { var _1yev = null; _1yek._explode(_1yeg + 81, _1yeh + 44), _1yek._explode(_1yeg - 89, _1yeh - 53); }).wait(33).call(function() { var _1yew = null; _1yek._explode(_1yeg - 68, _1yeh + 146, _1yei); }); }, _1ydp.prototype._explode = function(_1yex, _1yey, _1yez) { var _1yf0 = null, _1yf1 = this; void 0 === _1yez && (_1yez = null); var _1yf2 = new _1ydj.Explosion(); _1yf2.position.set(_1yex, _1yey), this.addChild(_1yf2), _1yf2.play(function() { var _1yf3 = null; _1yf1.removeChild(_1yf2), null != _1yez && _1yez(); }); }, _1ydp.prototype.playTorpedoWaterColumn = function(_1yf4, _1yf5) { var _1yf6 = null; void 0 === _1yf5 && (_1yf5 = null); var _1yf7 = _1yf4.getGlobalPos(!0); _1yf7.y += _1ydh.BannerSize.H / 2, 1 == _1yf4.friend ? (_1yf7.x += _1ydh.BannerSize.W / 2 + 45, this.playTorpedoWaterColumnToFriend(_1yf7.x, _1yf7.y, _1yf5)) : (_1yf7.x -= _1ydh.BannerSize.W / 2 + 45, this.playTorpedoWaterColumnToEnemy(_1yf7.x, _1yf7.y, _1yf5)); }, _1ydp.prototype.playTorpedoWaterColumnToFriend = function(_1yf8, _1yf9, _1yfa) { var _1yfb = null; void 0 === _1yfa && (_1yfa = null), this._playTorpedoWaterColumn(!0, _1yf8, _1yf9, _1yfa); }, _1ydp.prototype.playTorpedoWaterColumnToEnemy = function(_1yfc, _1yfd, _1yfe) { var _1yff = null; void 0 === _1yfe && (_1yfe = null), this._playTorpedoWaterColumn(!1, _1yfc, _1yfd, _1yfe); }, _1ydp.prototype._playTorpedoWaterColumn = function(_1yfg, _1yfh, _1yfi, _1yfj) { var _1yfk = null, _1yfl = this; void 0 === _1yfj && (_1yfj = null); var _1yfm = new _1ydk.TorpedoWaterColumn(); _1yfm.initialize(), _1yfg && (_1yfm.scale.x = -1), _1yfm.position.set(_1yfh, _1yfi), this.addChild(_1yfm), _1yfm.play(), _1yfm.once('complete', function() { var _1yfn = null; _1yfl.removeChild(_1yfm), null != _1yfj && _1yfj(); }); }, _1ydp.prototype.playWaterColumnToFriend = function(_1yfo, _1yfp, _1yfq) { var _1yfr = null; void 0 === _1yfq && (_1yfq = null), this._playWaterColumn(!0, _1yfo, _1yfp, _1yfq); }, _1ydp.prototype.playWaterColumnToEnemy = function(_1yfs, _1yft, _1yfu) { var _1yfv = null; void 0 === _1yfu && (_1yfu = null), this._playWaterColumn(!1, _1yfs, _1yft, _1yfu); }, _1ydp.prototype._playWaterColumn = function(_1yfw, _1yfx, _1yfy, _1yfz) { var _1yg0 = null, _1yg1 = this; void 0 === _1yfz && (_1yfz = null); var _1yg2 = new _1ydl.WaterColumn(); _1yg2.initialize(), _1yfw && (_1yg2.scale.x = -1), _1yg2.position.set(_1yfx, _1yfy), this.addChild(_1yg2), _1yg2.play(), _1yg2.once('complete', function() { var _1yg3 = null; _1yg1.removeChild(_1yg2), null != _1yfz && _1yfz(); }); }, _1ydp; }(PIXI.Container); _1ycx.LayerExplosion = _1ydm; }, 9768: function(_1yg4, _1yg5, _1yg6) { 'use strict'; var _1yg7 = null; var _1yg8, _1yg9 = this && this.__extends || (_1yg8 = function(_1yga, _1ygb) { var _1ygc = null; return _1yg8 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ygd, _1yge) { var _1ygf = null; _1ygd.__proto__ = _1yge; } || function(_1ygg, _1ygh) { var _1ygi = null; for (var _1ygj in _1ygh) Object.prototype.hasOwnProperty.call(_1ygh, _1ygj) && (_1ygg[_1ygj] = _1ygh[_1ygj]); }, _1yg8(_1yga, _1ygb); }, function(_1ygk, _1ygl) { var _1ygm = null; if ('function' != typeof _1ygl && null !== _1ygl) throw new TypeError('Class extends value ' + String(_1ygl) + ' is not a constructor or null'); function _1ygn() { var _1ygo = null; this.constructor = _1ygk; } _1yg8(_1ygk, _1ygl), _1ygk.prototype = null === _1ygl ? Object.create(_1ygl) : (_1ygn.prototype = _1ygl.prototype, new _1ygn()); }), _1ygp = this && this.__importDefault || function(_1ygq) { var _1ygr = null; return _1ygq && _1ygq.__esModule ? _1ygq : { 'default': _1ygq }; }; defineModule(_1yg5); Object.defineProperty(_1yg5, '__esModule', { 'value': !0 }), _1yg5.LayerGauge = void 0; var _1ygs = _1ygp(_1yg6(21359)), _1ygt = _1yg6(84272), _1ygu = _1yg6(70723), _1ygv = _1yg6(20240), _1ygw = function(_1ygx) { var _1ygy = null; function _1ygz() { var _1yh0 = null, _1yh1 = _1ygx.call(this) || this; return _1yh1._now = 0, _1yh1._max = 0, _1yh1._animation_gauge = !1, _1yh1._ready_for_explode = !1, _1yh1._animation_explode = !1, _1yh1._exploded = !1, _1yh1._playExplosion = function(_1yh2, _1yh3) { var _1yh4 = null, _1yh5 = new _1ygv.Explosion(); _1yh5.position.set(_1yh1._gauge.x + _1yh2, _1yh1._gauge.y + _1yh3), _1yh1.addChild(_1yh5), _1ygu.SE.play('102'), _1yh5.play(function() { var _1yh6 = null; _1yh1.removeChild(_1yh5); }); }, _1yh1._onCompleteAnimation = function() { var _1yh7 = null; _1yh1._animation_gauge = !1, 1 == _1yh1._ready_for_explode && (_1yh1._ready_for_explode = !1, _1yh1.explode()); }, _1yh1; } return _1yg9(_1ygz, _1ygx), Object.defineProperty(_1ygz.prototype, 'now', { 'get': function() { var _1yh8 = null; return this._now; }, 'enumerable': !1, 'configurable': !0 }), _1ygz.prototype.hasGauge = function() { var _1yh9 = null; return null != this._gauge; }, _1ygz.prototype.isExploded = function() { var _1yha = null; return this._exploded; }, _1ygz.prototype.isAnimation = function() { var _1yhb = null; return this._animation_gauge || this._animation_explode; }, _1ygz.prototype.show = function(_1yhc, _1yhd, _1yhe, _1yhf, _1yhg) { var _1yhh = null, _1yhi = this; this._now = _1yhe, this._max = _1yhf, this._gauge = new _1ygt.GaugeHorizontal(), this._gauge.initialize(_1yhd, _1yhc), this._gauge.x = _1ygs.default.width - this._gauge.width, this._gauge.y = -15, this._gauge.alpha = 0, this.addChild(this._gauge), createjs.Tween.get(this._gauge).to({ 'y': 0, 'alpha': 1 }, 300).call(function() { var _1yhj = null; _1yhi._gauge.update(_1yhe, _1yhf, function() {}), null != _1yhg && _1yhg(); }); }, _1ygz.prototype.update = function(_1yhk) { var _1yhl = null; 0 != this.hasGauge() && (this._animation_gauge = !0, this._now = _1yhk, this._gauge.update(_1yhk, this._max, this._onCompleteAnimation)); }, _1ygz.prototype.explode = function() { var _1yhm = null, _1yhn = this; 0 != this.hasGauge() && (this._now > 0 || (1 != this._animation_gauge ? 1 != this._ready_for_explode && 1 != this._animation_explode && 1 != this._exploded && (this._animation_explode = !0, createjs.Tween.get(null).call(this._playExplosion, [107, 20]).wait(250).call(this._playExplosion, [209, 57]).call(function() { var _1yho = null; createjs.Tween.get(_1yhn._gauge).to({ 'alpha': 0 }, 350).call(function() { var _1yhp = null; _1yhn.removeChild(_1yhn._gauge), _1yhn._gauge.dispose(), _1yhn._gauge = null, _1yhn._animation_explode = !1, _1yhn._exploded = !0; }); }).wait(100).call(this._playExplosion, [309, 24])) : this._ready_for_explode = !0)); }, _1ygz.prototype.dispose = function() { var _1yhq = null; null != this._gauge && (this._gauge.dispose(), this._gauge = null); }, _1ygz; }(PIXI.Container); _1yg5.LayerGauge = _1ygw; }, 79734: function(_1yhr, _1yhs, _1yht) { 'use strict'; var _1yhu = null; var _1yhv, _1yhw = this && this.__extends || (_1yhv = function(_1yhx, _1yhy) { var _1yhz = null; return _1yhv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1yi0, _1yi1) { var _1yi2 = null; _1yi0.__proto__ = _1yi1; } || function(_1yi3, _1yi4) { var _1yi5 = null; for (var _1yi6 in _1yi4) Object.prototype.hasOwnProperty.call(_1yi4, _1yi6) && (_1yi3[_1yi6] = _1yi4[_1yi6]); }, _1yhv(_1yhx, _1yhy); }, function(_1yi7, _1yi8) { var _1yi9 = null; if ('function' != typeof _1yi8 && null !== _1yi8) throw new TypeError('Class extends value ' + String(_1yi8) + ' is not a constructor or null'); function _1yia() { var _1yib = null; this.constructor = _1yi7; } _1yhv(_1yi7, _1yi8), _1yi7.prototype = null === _1yi8 ? Object.create(_1yi8) : (_1yia.prototype = _1yi8.prototype, new _1yia()); }), _1yic = this && this.__importDefault || function(_1yid) { var _1yie = null; return _1yid && _1yid.__esModule ? _1yid : { 'default': _1yid }; }; defineModule(_1yhs); Object.defineProperty(_1yhs, '__esModule', { 'value': !0 }), _1yhs.LayerInfo = void 0; var _1yif = _1yic(_1yht(21359)), _1yig = _1yht(70723), _1yih = _1yht(22434), _1yii = function(_1yij) { var _1yik = null; function _1yil() { var _1yim = null; return _1yij.call(this) || this; } return _1yhw(_1yil, _1yij), _1yil.prototype.showCenter = function(_1yin) { var _1yio = null, _1yip = this, _1yiq = new _1yir(_1yin), _1yis = _1yif.default.width / 2, _1yit = _1yif.default.height / 2; _1yiq.position.set(_1yis, _1yit), _1yiq.bg.scale.y = 0, _1yiq.text.x += 150, _1yiq.text.alpha = 0, this.addChild(_1yiq), _1yig.SE.play('117'), createjs.Tween.get(_1yiq.bg.scale).to({ 'y': 1 }, 300).wait(1150).to({ 'y': 0 }, 300).call(function() { var _1yiu = null; _1yip.removeChild(_1yiq), _1yip.emit('complete'); }), createjs.Tween.get(_1yiq.text).wait(300).to({ 'x': 90, 'alpha': 1 }, 300).to({ 'x': -90 }, 350).call(function() { var _1yiv = null; _1yip.emit('showed'); }).to({ 'x': -150, 'alpha': 0 }, 500); }, _1yil.prototype.showTop = function(_1yiw) { var _1yix = null, _1yiy = this, _1yiz = new _1yir(_1yiw), _1yj0 = _1yif.default.width / 2; _1yiz.position.set(_1yj0, 117), _1yiz.bg.scale.y = 0, _1yiz.text.x = -_1yj0 + _1yiz.text.width / 2 - 195, _1yiz.text.alpha = 0, this.addChild(_1yiz), _1yig.SE.play('117'), createjs.Tween.get(_1yiz.bg.scale).to({ 'y': 1 }, 300).wait(1450).to({ 'y': 0 }, 300).call(function() { var _1yj1 = null; _1yiy.removeChild(_1yiz), _1yiy.emit('complete'); }), createjs.Tween.get(_1yiz.text).wait(250).to({ 'alpha': 1 }, 100).to({ 'x': -_1yj0 + _1yiz.text.width / 2 }, 200).to({ 'x': -_1yj0 + _1yiz.text.width / 2 + 90 }, 750).call(function() { var _1yj2 = null; _1yiy.emit('showed'); }).to({ 'x': 10, 'alpha': 0 }, 350), createjs.Tween.get(_1yiz.subText).wait(750).call(function() { var _1yj3 = null; _1yiz.subText.position.set(0, 110), _1yiz.subText.visible = !0; }).wait(700).to({ 'x': -_1yj0, 'alpha': 0 }, 300); }, _1yil; }(PIXI.Container); _1yhs.LayerInfo = _1yii; var _1yir = function(_1yj4) { var _1yj5 = null; function _1yj6(_1yj7) { var _1yj8 = null, _1yj9, _1yja, _1yjb, _1yjc = _1yj4.call(this) || this; _1yj9 = 4 == _1yj7 || 3 == _1yj7 ? PIXI.Texture.fromFrame('battle_telop_mes_bg_e') : PIXI.Texture.fromFrame('battle_telop_mes_bg_f'), _1yja = _1yjc._getTextTextureNo(_1yj7), _1yjb = 1 == _1yj7 || 2 == _1yj7 ? _1yih.BATTLE_MAIN.getTexture(70) : 4 == _1yj7 || 3 == _1yj7 ? _1yih.BATTLE_MAIN.getTexture(71) : PIXI.Texture.EMPTY, _1yjc._bg = new PIXI.Container(); var _1yjd = new PIXI.Sprite(_1yj9); return _1yjd.x = -Math.round(_1yjd.width / 2), _1yjd.y = -Math.round(_1yjd.height / 2), _1yjc._bg.addChild(_1yjd), _1yjc._text = new PIXI.Sprite(_1yja), _1yjc._text.anchor.set(0.5), _1yjc._subText = new PIXI.Sprite(_1yjb), _1yjc._subText.anchor.set(0.5), _1yjc._subText.visible = !1, _1yjc.addChild(_1yjc._bg), _1yjc.addChild(_1yjc._text), _1yjc.addChild(_1yjc._subText), _1yjc; } return _1yhw(_1yj6, _1yj4), Object.defineProperty(_1yj6.prototype, 'bg', { 'get': function() { var _1yje = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1yj6.prototype, 'text', { 'get': function() { var _1yjf = null; return this._text; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1yj6.prototype, 'subText', { 'get': function() { var _1yjg = null; return this._subText; }, 'enumerable': !1, 'configurable': !0 }), _1yj6.prototype._getTextTextureNo = function(_1yjh) { var _1yji = null, _1yjj = -1; if (0 == _1yjh) _1yjj = 74; else { if (1 == _1yjh) _1yjj = 78; else { if (2 == _1yjh) _1yjj = 79; else { if (4 == _1yjh) _1yjj = 81; else { if (3 == _1yjh) _1yjj = 80; else { if (5 == _1yjh) _1yjj = 72; else { if (6 != _1yjh) return PIXI.Texture.EMPTY; _1yjj = 73; } } } } } } return _1yih.BATTLE_MAIN.getTexture(_1yjj); }, _1yj6; }(PIXI.Container); }, 72372: function(_1yjk, _1yjl, _1yjm) { 'use strict'; var _1yjn = null; var _1yjo, _1yjp = this && this.__extends || (_1yjo = function(_1yjq, _1yjr) { var _1yjs = null; return _1yjo = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1yjt, _1yju) { var _1yjv = null; _1yjt.__proto__ = _1yju; } || function(_1yjw, _1yjx) { var _1yjy = null; for (var _1yjz in _1yjx) Object.prototype.hasOwnProperty.call(_1yjx, _1yjz) && (_1yjw[_1yjz] = _1yjx[_1yjz]); }, _1yjo(_1yjq, _1yjr); }, function(_1yk0, _1yk1) { var _1yk2 = null; if ('function' != typeof _1yk1 && null !== _1yk1) throw new TypeError('Class extends value ' + String(_1yk1) + ' is not a constructor or null'); function _1yk3() { var _1yk4 = null; this.constructor = _1yk0; } _1yjo(_1yk0, _1yk1), _1yk0.prototype = null === _1yk1 ? Object.create(_1yk1) : (_1yk3.prototype = _1yk1.prototype, new _1yk3()); }); defineModule(_1yjl); Object.defineProperty(_1yjl, '__esModule', { 'value': !0 }), _1yjl.LayerMissile = void 0; var _1yk5 = _1yjm(70241), _1yk6 = _1yjm(13792), _1yk7 = function(_1yk8) { var _1yk9 = null; function _1yka() { var _1ykb = null; return _1yk8.call(this) || this; } return _1yjp(_1yka, _1yk8), _1yka.prototype.playAerialMissile = function(_1ykc, _1ykd, _1yke, _1ykf) { var _1ykg = null, _1ykh = this, _1yki = new _1yk6.Missile(_1yke); this.addChild(_1yki), _1yki.play(_1ykc, _1ykd, function() { var _1ykj = null; createjs.Tween.get(null).call(function() { var _1ykk = null; _1ykh.removeChild(_1yki), null != _1ykf && _1ykf(); }); }); }, _1yka; }(_1yk5.LayerExplosion); _1yjl.LayerMissile = _1yk7; }, 76694: function(_1ykl, _1ykm, _1ykn) { 'use strict'; var _1yko = null; var _1ykp, _1ykq = this && this.__extends || (_1ykp = function(_1ykr, _1yks) { var _1ykt = null; return _1ykp = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1yku, _1ykv) { var _1ykw = null; _1yku.__proto__ = _1ykv; } || function(_1ykx, _1yky) { var _1ykz = null; for (var _1yl0 in _1yky) Object.prototype.hasOwnProperty.call(_1yky, _1yl0) && (_1ykx[_1yl0] = _1yky[_1yl0]); }, _1ykp(_1ykr, _1yks); }, function(_1yl1, _1yl2) { var _1yl3 = null; if ('function' != typeof _1yl2 && null !== _1yl2) throw new TypeError('Class extends value ' + String(_1yl2) + ' is not a constructor or null'); function _1yl4() { var _1yl5 = null; this.constructor = _1yl1; } _1ykp(_1yl1, _1yl2), _1yl1.prototype = null === _1yl2 ? Object.create(_1yl2) : (_1yl4.prototype = _1yl2.prototype, new _1yl4()); }), _1yl6 = this && this.__spreadArray || function(_1yl7, _1yl8, _1yl9) { var _1yla = null; if (_1yl9 || 2 === arguments.length) { for (var _1ylb, _1ylc = 0, _1yld = _1yl8.length; _1ylc < _1yld; _1ylc++) !_1ylb && _1ylc in _1yl8 || (_1ylb || (_1ylb = Array.prototype.slice.call(_1yl8, 0, _1ylc)), _1ylb[_1ylc] = _1yl8[_1ylc]); } return _1yl7.concat(_1ylb || Array.prototype.slice.call(_1yl8)); }; defineModule(_1ykm); Object.defineProperty(_1ykm, '__esModule', { 'value': !0 }), _1ykm.LayerSmoke = void 0; var _1yle = _1ykn(54061), _1ylf = _1ykn(22434), _1ylg = function(_1ylh) { var _1yli = null; function _1ylj() { var _1ylk = null, _1yll = _1ylh.call(this) || this; return _1yll._SMOKE_INFO1 = [{ 'smoke': new _1ylm(), 'pos': new PIXI.Point(4, 1), 'base_alpha': 1 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(19, 16), 'base_alpha': 1 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(1, 43), 'base_alpha': 1 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(25, 34), 'base_alpha': 1 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(42, 48), 'base_alpha': 1 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(22, 50), 'base_alpha': 1 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(17, 68), 'base_alpha': 1 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(6, 73), 'base_alpha': 1 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(45, 74), 'base_alpha': 1 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(8, 78), 'base_alpha': 1 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(27, 82), 'base_alpha': 1 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(48, 90), 'base_alpha': 0.9 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(27, 101), 'base_alpha': 0.9 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(43, 117), 'base_alpha': 0.8 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(56, 118), 'base_alpha': 0.9 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(11, 119), 'base_alpha': 0.9 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(9, 122), 'base_alpha': 0.9 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(65, 127), 'base_alpha': 0.9 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(56, 140), 'base_alpha': 0.9 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(6, 144), 'base_alpha': 0.9 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(39, 143), 'base_alpha': 0.9 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(61, 154), 'base_alpha': 0.8 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(19, 148), 'base_alpha': 0.8 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(28, 169), 'base_alpha': 0.6 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(7, 170), 'base_alpha': 0.7 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(1, 173), 'base_alpha': 0.7 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(44, 189), 'base_alpha': 0.7 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(47, 176), 'base_alpha': 0.6 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(61, 185), 'base_alpha': 0.6 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(18, 191), 'base_alpha': 0.6 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(47, 208), 'base_alpha': 0.6 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(8, 210), 'base_alpha': 0.6 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(48, 222), 'base_alpha': 0.5 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(27, 231), 'base_alpha': 0.5 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(6, 242), 'base_alpha': 0.5 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(32, 259), 'base_alpha': 0.6 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(9, 268), 'base_alpha': 0.6 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(57, 279), 'base_alpha': 0.4 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(28, 284), 'base_alpha': 0.3 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(48, 297), 'base_alpha': 0.3 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(2, 302), 'base_alpha': 0.3 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(18, 302), 'base_alpha': 0.3 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(53, 306), 'base_alpha': 0.3 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(8, 328), 'base_alpha': 0.3 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(38, 333), 'base_alpha': 0.2 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(56, 337), 'base_alpha': 0.2 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(15, 343), 'base_alpha': 0.2 }], _1yll._SMOKE_INFO2 = [{ 'smoke': new _1ylm(), 'pos': new PIXI.Point(4, 1), 'base_alpha': 1 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(19, 16), 'base_alpha': 1 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(25, 34), 'base_alpha': 1 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(1, 43), 'base_alpha': 1 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(42, 48), 'base_alpha': 1 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(22, 50), 'base_alpha': 1 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(17, 68), 'base_alpha': 1 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(6, 73), 'base_alpha': 1 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(45, 74), 'base_alpha': 1 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(8, 78), 'base_alpha': 1 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(27, 82), 'base_alpha': 1 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(48, 90), 'base_alpha': 0.9 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(27, 101), 'base_alpha': 0.9 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(43, 117), 'base_alpha': 0.6 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(56, 118), 'base_alpha': 0.9 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(11, 119), 'base_alpha': 0.8 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(9, 122), 'base_alpha': 0.8 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(65, 127), 'base_alpha': 0.7 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(56, 140), 'base_alpha': 0.8 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(6, 144), 'base_alpha': 0.7 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(39, 143), 'base_alpha': 0.7 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(19, 148), 'base_alpha': 0.6 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(61, 154), 'base_alpha': 0.6 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(28, 169), 'base_alpha': 0.4 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(7, 170), 'base_alpha': 0.5 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(1, 173), 'base_alpha': 0.5 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(47, 176), 'base_alpha': 0.4 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(61, 185), 'base_alpha': 0.4 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(44, 189), 'base_alpha': 0.5 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(18, 191), 'base_alpha': 0.3 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(47, 208), 'base_alpha': 0.3 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(8, 210), 'base_alpha': 0.3 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(48, 222), 'base_alpha': 0.2 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(27, 231), 'base_alpha': 0.2 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(6, 242), 'base_alpha': 0.2 }], _1yll._SMOKE_INFO3 = [{ 'smoke': new _1ylm(), 'pos': new PIXI.Point(4, 1), 'base_alpha': 1 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(19, 16), 'base_alpha': 1 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(25, 34), 'base_alpha': 1 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(1, 43), 'base_alpha': 1 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(42, 48), 'base_alpha': 1 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(22, 50), 'base_alpha': 1 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(17, 68), 'base_alpha': 1 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(6, 73), 'base_alpha': 1 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(45, 74), 'base_alpha': 1 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(8, 78), 'base_alpha': 1 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(27, 82), 'base_alpha': 1 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(48, 90), 'base_alpha': 0.9 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(27, 101), 'base_alpha': 0.9 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(43, 117), 'base_alpha': 0.6 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(56, 118), 'base_alpha': 0.9 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(11, 119), 'base_alpha': 0.8 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(9, 122), 'base_alpha': 0.8 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(65, 127), 'base_alpha': 0.7 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(56, 140), 'base_alpha': 0.8 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(6, 144), 'base_alpha': 0.7 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(39, 143), 'base_alpha': 0.7 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(19, 148), 'base_alpha': 0.6 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(61, 154), 'base_alpha': 0.6 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(28, 169), 'base_alpha': 0.4 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(7, 170), 'base_alpha': 0.5 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(1, 173), 'base_alpha': 0.5 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(47, 176), 'base_alpha': 0.4 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(61, 185), 'base_alpha': 0.4 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(44, 189), 'base_alpha': 0.5 }, { 'smoke': new _1ylm(), 'pos': new PIXI.Point(18, 191), 'base_alpha': 0.3 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(47, 208), 'base_alpha': 0.3 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(8, 210), 'base_alpha': 0.3 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(48, 222), 'base_alpha': 0.2 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(27, 231), 'base_alpha': 0.2 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(6, 242), 'base_alpha': 0.2 }], _1yll._SMOKE_INFO_YUGEKI1 = [{ 'smoke': new _1ylm(), 'pos': new PIXI.Point(32, 359), 'base_alpha': 0.2 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(9, 368), 'base_alpha': 0.2 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(57, 379), 'base_alpha': 0.2 }], _1yll._SMOKE_INFO_YUGEKI2 = [{ 'smoke': new _1ylm(), 'pos': new PIXI.Point(31, 259), 'base_alpha': 0.2 }, { 'smoke': new _1ylo(), 'pos': new PIXI.Point(7, 268), 'base_alpha': 0.2 }, { 'smoke': new _1yln(), 'pos': new PIXI.Point(54, 279), 'base_alpha': 0.2 }], _1yll._smoke_container1 = new PIXI.Container(), _1yll._smoke_container2 = new PIXI.Container(), _1yll._smoke_container3 = new PIXI.Container(), _1yll._hide_tweens = [], _1yll._smokes1 = [], _1yll._smokes2 = [], _1yll._smokes3 = [], _1yll; } return _1ykq(_1ylj, _1ylh), _1ylj.prototype.start = function(_1ylp, _1ylq, _1ylr) { var _1yls = null; this._smoke_type = _1ylq.common.smoke_type, 0 != this._smoke_type ? this._show(_1ylp, _1ylr) : _1ylr(); }, _1ylj.prototype._show = function(_1ylt, _1ylu) { var _1ylv = null, _1ylw = _1ylt.data.model.deck_f; this._is_yugeki = _1ylw.isYugeki(), this._is_combined = _1ylw.isCombined(); var _1ylx = this._is_combined ? 473 : 269; this._smoke1(10, _1ylx, _1ylu); }, _1ylj.prototype._smoke1 = function(_1yly, _1ylz, _1ym0) { var _1ym1 = null, _1ym2 = this, _1ym3 = _1yl6([], this._SMOKE_INFO1, !0); this._is_yugeki && _1ym3.push.apply(_1ym3, this._SMOKE_INFO_YUGEKI1), this._smoke_container1.position.set(_1ylz, 136), this.addChild(this._smoke_container1), _1ym3.forEach(function(_1ym4, _1ym5) { var _1ym6 = null; createjs.Tween.get(null).wait(_1ym5 * _1yly).call(function() { var _1ym7 = null, _1ym8 = _1ym4.smoke; _1ym8.initialize(_1ym4.base_alpha), _1ym8.position = _1ym4.pos, _1ym8.startTween(), _1ym2._smokes1.push(_1ym8), _1ym2._smoke_container1.addChild(_1ym8), _1ym3.length - 1 == _1ym5 && _1ym2._smoke2(_1yly, _1ylz, _1ym0); }); }); }, _1ylj.prototype._smoke2 = function(_1ym9, _1yma, _1ymb) { var _1ymc = null, _1ymd = this; if ([2, 3].indexOf(this._smoke_type) > -1) { 2 == this._smoke_type ? this._smoke_container2.position.set(_1yma, 333) : this._smoke_container2.position.set(_1yma, 283), this.addChild(this._smoke_container2); var _1yme = _1yl6([], this._SMOKE_INFO2, !0); this._is_yugeki && _1yme.push.apply(_1yme, this._SMOKE_INFO_YUGEKI2), _1yme.forEach(function(_1ymf, _1ymg) { var _1ymh = null; createjs.Tween.get(null).wait(_1ymg * _1ym9).call(function() { var _1ymi = null, _1ymj = _1ymf.smoke; _1ymj.initialize(_1ymf.base_alpha), _1ymj.position = _1ymf.pos, _1ymj.startTween(), _1ymd._smokes2.push(_1ymj), _1ymd._smoke_container2.addChild(_1ymj), _1yme.length - 1 == _1ymg && _1ymd._smoke3(_1ym9, _1yma, _1ymb); }); }); } else _1ymb(); }, _1ylj.prototype._smoke3 = function(_1ymk, _1yml, _1ymm) { var _1ymn = null, _1ymo = this; if ([3].indexOf(this._smoke_type) > -1) { this._smoke_container3.position.set(_1yml, 406), this.addChild(this._smoke_container3); var _1ymp = _1yl6([], this._SMOKE_INFO3, !0); this._is_yugeki && _1ymp.push.apply(_1ymp, this._SMOKE_INFO_YUGEKI2), _1ymp.forEach(function(_1ymq, _1ymr) { var _1yms = null; createjs.Tween.get(null).wait(_1ymr * _1ymk).call(function() { var _1ymt = null, _1ymu = _1ymq.smoke; _1ymu.initialize(_1ymq.base_alpha), _1ymu.position = _1ymq.pos, _1ymu.startTween(), _1ymo._smokes3.push(_1ymu), _1ymo._smoke_container3.addChild(_1ymu), _1ymp.length - 1 == _1ymr && _1ymm(); }); }); } else _1ymm(); }, _1ylj.prototype.hide = function() { var _1ymv = null, _1ymw = this, _1ymx = this._is_combined ? 10000 : 6000, _1ymy = 3 == this._smoke_type ? 1.5 : 2 == this._smoke_type ? 1.3 : 1, _1ymz = 2000 * _1ymy, _1yn0 = 200 * _1ymy; if (this._smokes1.length > 0 && this._smokes1.forEach(function(_1yn1, _1yn2) { var _1yn3 = null; _1ymw._hide_tweens.push(createjs.Tween.get(_1yn1).wait(_1yn2 * _1yn0 + _1ymx).to({ 'alpha': 0 }, _1ymz).call(function() { var _1yn4 = null; _1yn1.stopTween(); })); }), this._smokes2.length > 0) { var _1yn5 = (this._smokes1.length - this._smokes2.length) * _1yn0; this._smokes2.forEach(function(_1yn6, _1yn7) { var _1yn8 = null; _1ymw._hide_tweens.push(createjs.Tween.get(_1yn6).wait(_1yn7 * _1yn0 + _1ymx + _1yn5).to({ 'alpha': 0 }, _1ymz).call(function() { var _1yn9 = null; _1yn6.stopTween(); })); }); } if (this._smokes3.length > 0) { var _1yna = (this._smokes1.length - this._smokes3.length + 9) * _1yn0; this._smokes3.forEach(function(_1ynb, _1ync) { var _1ynd = null; _1ymw._hide_tweens.push(createjs.Tween.get(_1ynb).wait(_1ync * _1yn0 + _1ymx + _1yna).to({ 'alpha': 0 }, _1ymz).call(function() { var _1yne = null; _1ynb.stopTween(); })); }); } }, _1ylj.prototype.dispose = function() { var _1ynf = null; for (var _1yng = 0, _1ynh = this._hide_tweens; _1yng < _1ynh.length; _1yng++) { var _1yni = _1ynh[_1yng]; null != _1yni && _1yni.setPaused(!0); } this._hide_tweens.length = 0; for (var _1ynj = 0, _1ynk = this._smokes1; _1ynj < _1ynk.length; _1ynj++) { null != (_1ynl = _1ynk[_1ynj]) && _1ynl.dispose(); } for (var _1ynm = 0, _1ynn = this._smokes2; _1ynm < _1ynn.length; _1ynm++) { null != (_1ynl = _1ynn[_1ynm]) && _1ynl.dispose(); } for (var _1yno = 0, _1ynp = this._smokes3; _1yno < _1ynp.length; _1yno++) { var _1ynl; null != (_1ynl = _1ynp[_1yno]) && _1ynl.dispose(); } this._smoke_container1.removeChildren(), this._smoke_container2.removeChildren(), this._smoke_container3.removeChildren(), this.removeChildren(); }, _1ylj; }(PIXI.Container); _1ykm.LayerSmoke = _1ylg; var _1ynq = function(_1ynr) { var _1yns = null; function _1ynt() { var _1ynu = null, _1ynv = _1ynr.call(this) || this; return _1ynv._smoke = new _1yle.CenteringSprite(), _1ynv.addChild(_1ynv._smoke), _1ynv; } return _1ykq(_1ynt, _1ynr), _1ynt.prototype.startTween = function() { var _1ynw = null, _1ynx = this, _1yny = 6 * Math.random() - 3, _1ynz = 6 * Math.random() - 3; this._t = createjs.Tween.get(this._smoke).to({ 'x': _1yny, 'y': _1ynz }, 1000, createjs.Ease.sineInOut).call(function() { var _1yo0 = null; _1ynx.startTween(); }); }, _1ynt.prototype.stopTween = function() { var _1yo1 = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _1ynt.prototype.dispose = function() { var _1yo2 = null; this.stopTween(), this._smoke = null; }, _1ynt; }(PIXI.Container), _1ylm = function(_1yo3) { var _1yo4 = null; function _1yo5() { var _1yo6 = null; return null !== _1yo3 && _1yo3.apply(this, arguments) || this; } return _1ykq(_1yo5, _1yo3), _1yo5.prototype.initialize = function(_1yo7) { var _1yo8 = null; this._smoke.texture = _1ylf.BATTLE_MAIN.getTexture(3), this._smoke.alpha = _1yo7; var _1yo9 = 2 * Math.random() * Math.PI; this._smoke.rotation = _1yo9; }, _1yo5; }(_1ynq), _1ylo = function(_1yoa) { var _1yob = null; function _1yoc() { var _1yod = null; return null !== _1yoa && _1yoa.apply(this, arguments) || this; } return _1ykq(_1yoc, _1yoa), _1yoc.prototype.initialize = function(_1yoe) { var _1yof = null; this._smoke.texture = _1ylf.BATTLE_MAIN.getTexture(4), this._smoke.alpha = _1yoe; var _1yog = 2 * Math.random() * Math.PI; this._smoke.rotation = _1yog; }, _1yoc; }(_1ynq), _1yln = function(_1yoh) { var _1yoi = null; function _1yoj() { var _1yok = null; return null !== _1yoh && _1yoh.apply(this, arguments) || this; } return _1ykq(_1yoj, _1yoh), _1yoj.prototype.initialize = function(_1yol) { var _1yom = null; this._smoke.texture = _1ylf.BATTLE_MAIN.getTexture(5), this._smoke.alpha = _1yol; var _1yon = 2 * Math.random() * Math.PI; this._smoke.rotation = _1yon; }, _1yoj; }(_1ynq); }, 80828: function(_1yoo, _1yop, _1yoq) { 'use strict'; var _1yor = null; var _1yos, _1yot = this && this.__extends || (_1yos = function(_1you, _1yov) { var _1yow = null; return _1yos = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1yox, _1yoy) { var _1yoz = null; _1yox.__proto__ = _1yoy; } || function(_1yp0, _1yp1) { var _1yp2 = null; for (var _1yp3 in _1yp1) Object.prototype.hasOwnProperty.call(_1yp1, _1yp3) && (_1yp0[_1yp3] = _1yp1[_1yp3]); }, _1yos(_1you, _1yov); }, function(_1yp4, _1yp5) { var _1yp6 = null; if ('function' != typeof _1yp5 && null !== _1yp5) throw new TypeError('Class extends value ' + String(_1yp5) + ' is not a constructor or null'); function _1yp7() { var _1yp8 = null; this.constructor = _1yp4; } _1yos(_1yp4, _1yp5), _1yp4.prototype = null === _1yp5 ? Object.create(_1yp5) : (_1yp7.prototype = _1yp5.prototype, new _1yp7()); }); defineModule(_1yop); Object.defineProperty(_1yop, '__esModule', { 'value': !0 }), _1yop.LayerTitle = void 0; var _1yp9 = _1yoq(60883), _1ypa = _1yoq(22434), _1ypb = function(_1ypc) { var _1ypd = null; function _1ype() { var _1ypf = null; return _1ypc.call(this) || this; } return _1yot(_1ype, _1ypc), _1ype.prototype.show = function(_1ypg, _1yph) { var _1ypi = null; void 0 === _1yph && (_1yph = null), this.hide(), this._current = new _1yp9.PhaseTitle(), this._current.y = 16, this._current.alpha = 0, this._current.initialize(8 == _1ypg); var _1ypj = this._getTexture(_1ypg); this._current.update(_1ypj), this._current.activate(), null != _1yph ? _1yph.addChild(this._current) : this.addChild(this._current), createjs.Tween.get(this._current).to({ 'alpha': 1 }, 800); }, _1ype.prototype.hide = function(_1ypk) { var _1ypl = null; if (void 0 === _1ypk && (_1ypk = null), null == this._current) null != _1ypk && _1ypk(); else { var _1ypm = this._current; this._current = null, createjs.Tween.get(_1ypm).to({ 'alpha': 0 }, 300).call(function() { var _1ypn = null; _1ypm.deactivate(); var _1ypo = _1ypm.parent; null != _1ypo && _1ypo.removeChild(_1ypm), _1ypm.dispose(), null != _1ypk && _1ypk(); }); } }, _1ype.prototype._getTexture = function(_1ypp) { var _1ypq = null; switch (_1ypp) { case 0: return _1ypa.BATTLE_MAIN.getTexture(141); case 1: return _1ypa.BATTLE_MAIN.getTexture(137); case 2: return _1ypa.BATTLE_MAIN.getTexture(142); case 3: return _1ypa.BATTLE_MAIN.getTexture(140); case 4: return _1ypa.BATTLE_MAIN.getTexture(136); case 5: return _1ypa.BATTLE_MAIN.getTexture(135); case 6: return _1ypa.BATTLE_MAIN.getTexture(139); case 7: return _1ypa.BATTLE_MAIN.getTexture(138); case 8: return _1ypa.BATTLE_MAIN.getTexture(143); default: return PIXI.Texture.EMPTY; } }, _1ype; }(PIXI.Container); _1yop.LayerTitle = _1ypb; }, 69602: function(_1ypr, _1yps, _1ypt) { 'use strict'; var _1ypu = null; var _1ypv, _1ypw = this && this.__extends || (_1ypv = function(_1ypx, _1ypy) { var _1ypz = null; return _1ypv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1yq0, _1yq1) { var _1yq2 = null; _1yq0.__proto__ = _1yq1; } || function(_1yq3, _1yq4) { var _1yq5 = null; for (var _1yq6 in _1yq4) Object.prototype.hasOwnProperty.call(_1yq4, _1yq6) && (_1yq3[_1yq6] = _1yq4[_1yq6]); }, _1ypv(_1ypx, _1ypy); }, function(_1yq7, _1yq8) { var _1yq9 = null; if ('function' != typeof _1yq8 && null !== _1yq8) throw new TypeError('Class extends value ' + String(_1yq8) + ' is not a constructor or null'); function _1yqa() { var _1yqb = null; this.constructor = _1yq7; } _1ypv(_1yq7, _1yq8), _1yq7.prototype = null === _1yq8 ? Object.create(_1yq8) : (_1yqa.prototype = _1yq8.prototype, new _1yqa()); }), _1yqc = this && this.__importDefault || function(_1yqd) { var _1yqe = null; return _1yqd && _1yqd.__esModule ? _1yqd : { 'default': _1yqd }; }; defineModule(_1yps); Object.defineProperty(_1yps, '__esModule', { 'value': !0 }), _1yps.LayerTorpedo = void 0; var _1yqf = _1yqc(_1ypt(21359)), _1yqg = _1ypt(66398), _1yqh = _1ypt(70241), _1yqi = _1ypt(65865), _1yqj = _1ypt(5660), _1yqk = function(_1yql) { var _1yqm = null; function _1yqn() { var _1yqo = null; return _1yql.call(this) || this; } return _1ypw(_1yqn, _1yql), _1yqn.prototype.playTorpedo = function(_1yqp, _1yqq, _1yqr, _1yqs) { var _1yqt = null, _1yqu = this; void 0 === _1yqr && (_1yqr = 1800), void 0 === _1yqs && (_1yqs = null); var _1yqv = new _1yqi.Torpedo(1); this.addChild(_1yqv), _1yqv.play(_1yqp, _1yqq, _1yqr, function() { var _1yqw = null; _1yqu.removeChild(_1yqv), null != _1yqs && _1yqs(); }); }, _1yqn.prototype.playTorpedoAtNight = function(_1yqx, _1yqy, _1yqz, _1yr0) { var _1yr1 = null, _1yr2 = this; void 0 === _1yqz && (_1yqz = 800), void 0 === _1yr0 && (_1yr0 = null); var _1yr3 = new _1yqi.Torpedo(2); this.addChild(_1yr3), _1yr3.play(_1yqx, _1yqy, _1yqz, function() { var _1yr4 = null; _1yr2.removeChild(_1yr3), null != _1yr0 && _1yr0(); }); }, _1yqn.prototype.playAerialTorpedo = function(_1yr5, _1yr6, _1yr7) { var _1yr8 = null, _1yr9 = this; void 0 === _1yr7 && (_1yr7 = null); var _1yra = new _1yqi.Torpedo(3); this.addChild(_1yra), _1yra.play(_1yr5, _1yr6, 0, null), _1yra.once('complete', function() { var _1yrb = null; _1yr9.removeChild(_1yra), null != _1yr7 && _1yr7(); }); }, _1yqn.prototype.playAerialTorpedoSuper = function(_1yrc, _1yrd, _1yre) { var _1yrf = null, _1yrg = this; void 0 === _1yre && (_1yre = null); var _1yrh = new _1yqi.Torpedo(5); this.addChild(_1yrh), _1yrh.play(_1yrc, _1yrd, 0, null), _1yrh.once('complete', function() { var _1yri = null; _1yrg.removeChild(_1yrh), null != _1yre && _1yre(); }); }, _1yqn.prototype.playAerialTorpedoJet = function(_1yrj, _1yrk, _1yrl) { var _1yrm = null, _1yrn = this; void 0 === _1yrl && (_1yrl = null); var _1yro = new _1yqi.Torpedo(4); this.addChild(_1yro), _1yro.play(_1yrj, _1yrk, 0, function() { var _1yrp = null; _1yrn.removeChild(_1yro), null != _1yrl && _1yrl(); }); }, _1yqn.prototype.playAerialBombBounce = function(_1yrq, _1yrr, _1yrs) { var _1yrt = null, _1yru = this; void 0 === _1yrs && (_1yrs = null); var _1yrv = new _1yqj.Bomb(1); this.addChild(_1yrv), _1yrv.play(_1yrq, _1yrr, 0, function() { var _1yrw = null; _1yru.removeChild(_1yrv), null != _1yrs && _1yrs(); }); }, _1yqn; }(_1yqh.LayerExplosion); _1yps.LayerTorpedo = _1yqk, ! function(_1yrx) { var _1yry = null; function _1yrz(_1ys0) { var _1ys1 = null, _1ys2 = _1yrx.call(this) || this; return _1ys2._night = _1ys0, _1ys2._canvas = new Array(), _1ys2._createCanvas(!1, !1), _1ys2._createCanvas(!0, !1), _1ys2._createCanvas(!1, !0), _1ys2._createCanvas(!0, !0), _1ys2; } _1ypw(_1yrz, _1yrx), _1yrz.prototype.getCanvas = function(_1ys3, _1ys4) { var _1ys5 = null; return this._night ? this._canvas[0] : this._canvas[(_1ys3 ? 1 : 0) + (_1ys4 ? 2 : 0)]; }, _1yrz.prototype._createCanvas = function(_1ys6, _1ys7) { var _1ys8 = null, _1ys9 = _1yqg.BannerSize.W; 1 == _1ys6 && (_1ys9 += 0.9 * _1yqg.BannerSize.W); var _1ysa = _1yqg.BannerSize.W; 1 == _1ys7 && (_1ysa += 0.9 * _1yqg.BannerSize.W); var _1ysb = _1yqf.default.width - _1ys9 - _1ysa, _1ysc = new PIXI.Graphics(); _1ysc.beginFill(16711680, 0.3), _1ysc.drawRect(_1ys9, 0, _1ysb, _1yqf.default.height), _1ysc.endFill(), this.addChild(_1ysc); var _1ysd = new PIXI.Container(); _1ysd.mask = _1ysc, this.addChild(_1ysd), this._canvas.push(_1ysd); }; }(PIXI.Container); }, 21038: function(_1yse, _1ysf, _1ysg) { 'use strict'; var _1ysh = null; var _1ysi, _1ysj = this && this.__extends || (_1ysi = function(_1ysk, _1ysl) { var _1ysm = null; return _1ysi = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ysn, _1yso) { var _1ysp = null; _1ysn.__proto__ = _1yso; } || function(_1ysq, _1ysr) { var _1yss = null; for (var _1yst in _1ysr) Object.prototype.hasOwnProperty.call(_1ysr, _1yst) && (_1ysq[_1yst] = _1ysr[_1yst]); }, _1ysi(_1ysk, _1ysl); }, function(_1ysu, _1ysv) { var _1ysw = null; if ('function' != typeof _1ysv && null !== _1ysv) throw new TypeError('Class extends value ' + String(_1ysv) + ' is not a constructor or null'); function _1ysx() { var _1ysy = null; this.constructor = _1ysu; } _1ysi(_1ysu, _1ysv), _1ysu.prototype = null === _1ysv ? Object.create(_1ysv) : (_1ysx.prototype = _1ysv.prototype, new _1ysx()); }); defineModule(_1ysf); Object.defineProperty(_1ysf, '__esModule', { 'value': !0 }), _1ysf.RaderLayer = void 0; var _1ysz = _1ysg(80547), _1yt0 = function(_1yt1) { var _1yt2 = null; function _1yt3() { var _1yt4 = null, _1yt5 = _1yt1.call(this) || this; return _1yt5._rader_f = new _1ysz.Rader(!0), _1yt5._rader_f.position.set(112, 603), _1yt5._rader_e = new _1ysz.Rader(!1), _1yt5._rader_e.position.set(1088, 117), _1yt5.resetChildren(), _1yt5; } return _1ysj(_1yt3, _1yt1), Object.defineProperty(_1yt3.prototype, 'rader_f', { 'get': function() { var _1yt6 = null; return this._rader_f; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1yt3.prototype, 'rader_e', { 'get': function() { var _1yt7 = null; return this._rader_e; }, 'enumerable': !1, 'configurable': !0 }), _1yt3.prototype.initialize = function(_1yt8) { var _1yt9 = null; this._rader_f.y = _1yt8 ? 642 : 603, this._rader_f.initialize(), this._rader_e.initialize(); }, _1yt3.prototype.resetChildren = function() { var _1yta = null; this.addChild(this._rader_f), this.addChild(this._rader_e); }, _1yt3; }(PIXI.Container); _1ysf.RaderLayer = _1yt0; }, 16009: function(_1ytb, _1ytc, _1ytd) { 'use strict'; var _1yte = null; var _1ytf, _1ytg = this && this.__extends || (_1ytf = function(_1yth, _1yti) { var _1ytj = null; return _1ytf = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ytk, _1ytl) { var _1ytm = null; _1ytk.__proto__ = _1ytl; } || function(_1ytn, _1yto) { var _1ytp = null; for (var _1ytq in _1yto) Object.prototype.hasOwnProperty.call(_1yto, _1ytq) && (_1ytn[_1ytq] = _1yto[_1ytq]); }, _1ytf(_1yth, _1yti); }, function(_1ytr, _1yts) { var _1ytt = null; if ('function' != typeof _1yts && null !== _1yts) throw new TypeError('Class extends value ' + String(_1yts) + ' is not a constructor or null'); function _1ytu() { var _1ytv = null; this.constructor = _1ytr; } _1ytf(_1ytr, _1yts), _1ytr.prototype = null === _1yts ? Object.create(_1yts) : (_1ytu.prototype = _1yts.prototype, new _1ytu()); }); defineModule(_1ytc); Object.defineProperty(_1ytc, '__esModule', { 'value': !0 }), _1ytc.BattleResultScene = void 0; var _1ytw = _1ytd(6961), _1ytx = _1ytd(89634), _1yty = _1ytd(42613), _1ytz = _1ytd(28853), _1yu0 = _1ytd(72691), _1yu1 = _1ytd(36204), _1yu2 = function(_1yu3) { var _1yu4 = null; function _1yu5() { var _1yu6 = null, _1yu7 = _1yu3.call(this) || this; return _1yu7._view = new _1yu1.ViewMain(), _1yu7.addChild(_1yu7._view), _1yu7._layer_bonus = new PIXI.Container(), _1yu7.addChild(_1yu7._layer_bonus), _1yu7; } return _1ytg(_1yu5, _1yu3), Object.defineProperty(_1yu5.prototype, 'data', { 'get': function() { var _1yu8 = null; return this._data; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1yu5.prototype, 'view', { 'get': function() { var _1yu9 = null; return this._view; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1yu5.prototype, 'layer_bonus', { 'get': function() { var _1yua = null; return this._layer_bonus; }, 'enumerable': !1, 'configurable': !0 }), _1yu5.prototype.start = function(_1yub) { var _1yuc = null, _1yud = this; _1yu3.prototype.start.call(this, _1yub), this._data = new _1ytx.BattleResultData(_1yub), new _1yty.TaskInit(this).start(function() { var _1yue = null; _1yud._main(); }); }, _1yu5.prototype._main = function() { var _1yuf = null, _1yug = this; new _1ytz.TaskMain(this).start(function() { var _1yuh = null; _1yug._end(); }); }, _1yu5.prototype._end = function() { var _1yui = null, _1yuj = this; new _1yu0.TaskEnd(this).start(function() { var _1yuk = null; _1yuj.emit('complete'); }); }, _1yu5; }(_1ytw.BattleResultSceneBase); _1ytc.BattleResultScene = _1yu2; }, 78774: function(_1yul, _1yum, _1yun) { 'use strict'; var _1yuo = null; var _1yup, _1yuq = this && this.__extends || (_1yup = function(_1yur, _1yus) { var _1yut = null; return _1yup = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1yuu, _1yuv) { var _1yuw = null; _1yuu.__proto__ = _1yuv; } || function(_1yux, _1yuy) { var _1yuz = null; for (var _1yv0 in _1yuy) Object.prototype.hasOwnProperty.call(_1yuy, _1yv0) && (_1yux[_1yv0] = _1yuy[_1yv0]); }, _1yup(_1yur, _1yus); }, function(_1yv1, _1yv2) { var _1yv3 = null; if ('function' != typeof _1yv2 && null !== _1yv2) throw new TypeError('Class extends value ' + String(_1yv2) + ' is not a constructor or null'); function _1yv4() { var _1yv5 = null; this.constructor = _1yv1; } _1yup(_1yv1, _1yv2), _1yv1.prototype = null === _1yv2 ? Object.create(_1yv2) : (_1yv4.prototype = _1yv2.prototype, new _1yv4()); }); defineModule(_1yum); Object.defineProperty(_1yum, '__esModule', { 'value': !0 }), _1yum.APIBattleResult = void 0; var _1yv6 = function(_1yv7) { var _1yv8 = null; function _1yv9(_1yva, _1yvb) { var _1yvc = null; void 0 === _1yvb && (_1yvb = !1); var _1yvd = _1yv7.call(this) || this, _1yve = _1yva.battle_model.deck_f, _1yvf = _1yva.battle_model.deck_e, _1yvg = 0 != _1yve.type, _1yvh = null != _1yvf && 0 != _1yvf.type; return _1yvd._url = 0 == _1yvg && 0 == _1yvh ? 'api_req_sortie/battleresult' : 'api_req_combined_battle/battleresult', _1yvd._data = _1yva, _1yvd._debug = _1yvb, _1yvd; } return _1yuq(_1yv9, _1yv7), _1yv9.prototype._connect = function() { var _1yvi = null, _1yvj = this._data.battle_model.actual_survey_time, _1yvk = this._data.battle_model.prediction_time, _1yvl = this.__AA1(_1yvj, _1yvk); _1yvl >= 0 && (this._post_data.api_btime = _1yvl); for (var _1yvm = this._data.battle_model.deck_f.ships, _1yvn = 12 == _1yvm.length ? _1yvm.slice(0, 6) : _1yvm, _1yvo = 12 == _1yvm.length ? _1yvm.slice(6, 12) : [], _1yvp = this._data.battle_model.ship_info.getLastData(!0), _1yvq = 0; _1yvq < _1yvn.length; _1yvq++) { if (null == (_1yvr = _1yvn[_1yvq])) break; null != (_1yvs = _1yvp.get(_1yvr.mem_id)) && (this._post_data['api_l_value['['concat'](_1yvq, ']')] = _1yvs.hp); } for (_1yvq = 0; _1yvq < _1yvo.length; _1yvq++) { if (null == (_1yvr = _1yvo[_1yvq])) break; null != (_1yvs = _1yvp.get(_1yvr.mem_id)) && (this._post_data['api_l_value2['['concat'](_1yvq, ']')] = _1yvs.hp); } var _1yvt = this._data.battle_model.deck_e.ships, _1yvu = 12 == _1yvt.length ? _1yvt.slice(0, 6) : _1yvt, _1yvv = 12 == _1yvt.length ? _1yvt.slice(6, 12) : [], _1yvw = this._data.battle_model.ship_info.getLastData(!1); for (_1yvq = 0; _1yvq < _1yvu.length; _1yvq++) { if (null == (_1yvr = _1yvu[_1yvq])) break; if (null != (_1yvs = _1yvw.get(_1yvr.mem_id))) { var _1yvx = _1yvr.isInvisible() ? 'N/A' : _1yvs.hp; this._post_data['api_l_value3['['concat'](_1yvq, ']')] = _1yvx; } } for (var _1yvq = 0; _1yvq < _1yvv.length; _1yvq++) { var _1yvr, _1yvs; if (null == (_1yvr = _1yvv[_1yvq])) break; null != (_1yvs = _1yvw.get(_1yvr.mem_id)) && (_1yvx = _1yvr.isInvisible() ? 'N/A' : _1yvs.hp, this._post_data['api_l_value4['['concat'](_1yvq, ']')] = _1yvs.hp); } _1yv7.prototype._connect.call(this); }, _1yv9.prototype._completedEnd = function() { var _1yvy = null; this._data.setData(this._raw_data), this._data = null, _1yv7.prototype._completedEnd.call(this); }, _1yv9.prototype.__AA1 = function(_1yvz, _1yw0) { var _1yw1 = null, _1yw2 = _1yvz, _1yw3 = _1yw2, _1yw4 = Math.floor(89999999 * Math.random()) + 10000000, _1yw5 = 331 * Math.floor(_1yw4 / 331); if (_1yw2 / _1yw3 <= 0.6) return _1yw5; var _1yw6 = 99999999 - _1yw5, _1yw7 = Math.min(329, _1yw6); return _1yw5 + Math.floor(Math.random() * _1yw7) + 1; }, _1yv9; }(_1yun(58566).APIBase); _1yum.APIBattleResult = _1yv6; }, 2533: function(_1yw8, _1yw9, _1ywa) { 'use strict'; var _1ywb = null; var _1ywc, _1ywd = this && this.__extends || (_1ywc = function(_1ywe, _1ywf) { var _1ywg = null; return _1ywc = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1ywh, _1ywi) { var _1ywj = null; _1ywh.__proto__ = _1ywi; } || function(_1ywk, _1ywl) { var _1ywm = null; for (var _1ywn in _1ywl) Object.prototype.hasOwnProperty.call(_1ywl, _1ywn) && (_1ywk[_1ywn] = _1ywl[_1ywn]); }, _1ywc(_1ywe, _1ywf); }, function(_1ywo, _1ywp) { var _1ywq = null; if ('function' != typeof _1ywp && null !== _1ywp) throw new TypeError('Class extends value ' + String(_1ywp) + ' is not a constructor or null'); function _1ywr() { var _1yws = null; this.constructor = _1ywo; } _1ywc(_1ywo, _1ywp), _1ywo.prototype = null === _1ywp ? Object.create(_1ywp) : (_1ywr.prototype = _1ywp.prototype, new _1ywr()); }); defineModule(_1yw9); Object.defineProperty(_1yw9, '__esModule', { 'value': !0 }), _1yw9.APIPracticeResult = void 0; var _1ywt = function(_1ywu) { var _1ywv = null; function _1yww(_1ywx, _1ywy) { var _1ywz = null; void 0 === _1ywy && (_1ywy = !1); var _1yx0 = _1ywu.call(this) || this; return _1yx0._url = 'api_req_practice/battle_result', _1yx0._data = _1ywx, _1yx0._debug = _1ywy, _1yx0; } return _1ywd(_1yww, _1ywu), _1yww.prototype._connect = function() { var _1yx1 = null; _1ywu.prototype._connect.call(this); }, _1yww.prototype._completedEnd = function() { var _1yx2 = null; this._data.setData(this._raw_data), this._data = null, _1ywu.prototype._completedEnd.call(this); }, _1yww; }(_1ywa(58566).APIBase); _1yw9.APIPracticeResult = _1ywt; }, 2808: function(_1yx3, _1yx4, _1yx5) { 'use strict'; var _1yx6 = null; var _1yx7, _1yx8 = this && this.__extends || (_1yx7 = function(_1yx9, _1yxa) { var _1yxb = null; return _1yx7 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1yxc, _1yxd) { var _1yxe = null; _1yxc.__proto__ = _1yxd; } || function(_1yxf, _1yxg) { var _1yxh = null; for (var _1yxi in _1yxg) Object.prototype.hasOwnProperty.call(_1yxg, _1yxi) && (_1yxf[_1yxi] = _1yxg[_1yxi]); }, _1yx7(_1yx9, _1yxa); }, function(_1yxj, _1yxk) { var _1yxl = null; if ('function' != typeof _1yxk && null !== _1yxk) throw new TypeError('Class extends value ' + String(_1yxk) + ' is not a constructor or null'); function _1yxm() { var _1yxn = null; this.constructor = _1yxj; } _1yx7(_1yxj, _1yxk), _1yxj.prototype = null === _1yxk ? Object.create(_1yxk) : (_1yxm.prototype = _1yxk.prototype, new _1yxm()); }), _1yxo = this && this.__importDefault || function(_1yxp) { var _1yxq = null; return _1yxp && _1yxp.__esModule ? _1yxp : { 'default': _1yxp }; }; defineModule(_1yx4); Object.defineProperty(_1yx4, '__esModule', { 'value': !0 }), _1yx4.LayerBG = void 0; var _1yxr = _1yxo(_1yx5(21359)), _1yxs = _1yx5(8744), _1yxt = _1yx5(26802), _1yxu = function(_1yxv) { var _1yxw = null; function _1yxx() { var _1yxy = null, _1yxz = _1yxv.call(this) || this; return _1yxz._bg = new PIXI.Sprite(), _1yxz._bg.anchor.set(0.5), _1yxz._bg.position.set(_1yxr.default.width / 2, _1yxr.default.height / 2), _1yxz._bg.scale.set(1, 0), _1yxz.addChild(_1yxz._bg), _1yxz; } return _1yx8(_1yxx, _1yxv), _1yxx.prototype.initialize = function() { var _1yy0 = null; this._bg.texture = _1yxt.BATTLE_RESULT_MAIN.getTexture(1), this._text1 = new _1yxs.TextBox(18, 16774898), this._text1.text = 'FRIEND FLEET AREA', this._text1.position.set(-582, 300), this._text1.rotation = -Math.PI / 2, this._bg.addChild(this._text1), this._text2 = new _1yxs.TextBox(18, 16774898), this._text2.text = 'ENEMY FLEET AREA', this._text2.position.set(578, -234), this._text2.rotation = Math.PI / 2, this._bg.addChild(this._text2); }, _1yxx.prototype.show = function() { var _1yy1 = null, _1yy2 = this; createjs.Tween.get(this._bg.scale).to({ 'y': 1 }, 300).call(function() { var _1yy3 = null; _1yy2.emit('complete'); }); }, _1yxx.prototype.dispose = function() { var _1yy4 = null; this.removeChildren(), this._text1.destroy(), this._text2.destroy(); }, _1yxx; }(PIXI.Container); _1yx4.LayerBG = _1yxu; }, 11165: function(_1yy5, _1yy6, _1yy7) { 'use strict'; var _1yy8 = null; var _1yy9, _1yya = this && this.__extends || (_1yy9 = function(_1yyb, _1yyc) { var _1yyd = null; return _1yy9 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1yye, _1yyf) { var _1yyg = null; _1yye.__proto__ = _1yyf; } || function(_1yyh, _1yyi) { var _1yyj = null; for (var _1yyk in _1yyi) Object.prototype.hasOwnProperty.call(_1yyi, _1yyk) && (_1yyh[_1yyk] = _1yyi[_1yyk]); }, _1yy9(_1yyb, _1yyc); }, function(_1yyl, _1yym) { var _1yyn = null; if ('function' != typeof _1yym && null !== _1yym) throw new TypeError('Class extends value ' + String(_1yym) + ' is not a constructor or null'); function _1yyo() { var _1yyp = null; this.constructor = _1yyl; } _1yy9(_1yyl, _1yym), _1yyl.prototype = null === _1yym ? Object.create(_1yym) : (_1yyo.prototype = _1yym.prototype, new _1yyo()); }), _1yyq = this && this.__importDefault || function(_1yyr) { var _1yys = null; return _1yyr && _1yyr.__esModule ? _1yyr : { 'default': _1yyr }; }; defineModule(_1yy6); Object.defineProperty(_1yy6, '__esModule', { 'value': !0 }), _1yy6.LayerBanner = void 0; var _1yyt = _1yyq(_1yy7(21359)), _1yyu = _1yy7(28409), _1yyv = _1yy7(77651), _1yyw = _1yy7(49918), _1yyx = function(_1yyy) { var _1yyz = null; function _1yz0() { var _1yz1 = null, _1yz2 = _1yyy.call(this) || this; return _1yz2._banners_f = new _1yyu.BannerSet(), _1yz2._banners_f.position.set(348, 216), _1yz2._info_f = new _1yyv.BannerInfoFriendCanvas(), _1yz2._info_f.position.set(141, 216), _1yz2._banners_e = new _1yyu.BannerSet(), _1yz2._banners_e.position.set(614, 216), _1yz2._info_e = new _1yyw.BannerInfoEnemyCanvas(), _1yz2._info_e.position.set(867, 216), _1yz2.addChild(_1yz2._banners_f), _1yz2.addChild(_1yz2._banners_e), _1yz2.addChild(_1yz2._info_f), _1yz2.addChild(_1yz2._info_e), _1yz2; } return _1yya(_1yz0, _1yyy), Object.defineProperty(_1yz0.prototype, 'banners_f', { 'get': function() { var _1yz3 = null; return this._banners_f; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1yz0.prototype, 'info_f', { 'get': function() { var _1yz4 = null; return this._info_f; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1yz0.prototype, 'banners_e', { 'get': function() { var _1yz5 = null; return this._banners_e; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1yz0.prototype, 'info_e', { 'get': function() { var _1yz6 = null; return this._info_e; }, 'enumerable': !1, 'configurable': !0 }), _1yz0.prototype.dispose = function() { var _1yz7 = null; this.removeChildren(), this._banners_f.dispose(), this._banners_f = null, this._info_f.dispose(), this._info_f = null, this._banners_e.dispose(), this._banners_e = null, this._info_e.dispose(), this._info_e = null; }, _1yz0.prototype.createSlideOutEnemyTweens = function(_1yz8, _1yz9) { var _1yza = null, _1yzb = this, _1yzc = _1yyt.default.width - this._banners_e.x; return [createjs.Tween.get(this._banners_e).wait(_1yz9).to({ 'x': this._banners_e.x + _1yzc }, _1yz8).call(function() { var _1yzd = null; _1yzb._banners_e.dispose(); }), createjs.Tween.get(this._info_e).wait(_1yz9).to({ 'x': this._info_e.x + _1yzc }, _1yz8).call(function() { var _1yze = null; _1yzb._info_e.dispose(); })]; }, _1yz0; }(PIXI.Container); _1yy6.LayerBanner = _1yyx; }, 92782: function(_1yzf, _1yzg, _1yzh) { 'use strict'; var _1yzi = null; var _1yzj, _1yzk = this && this.__extends || (_1yzj = function(_1yzl, _1yzm) { var _1yzn = null; return _1yzj = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1yzo, _1yzp) { var _1yzq = null; _1yzo.__proto__ = _1yzp; } || function(_1yzr, _1yzs) { var _1yzt = null; for (var _1yzu in _1yzs) Object.prototype.hasOwnProperty.call(_1yzs, _1yzu) && (_1yzr[_1yzu] = _1yzs[_1yzu]); }, _1yzj(_1yzl, _1yzm); }, function(_1yzv, _1yzw) { var _1yzx = null; if ('function' != typeof _1yzw && null !== _1yzw) throw new TypeError('Class extends value ' + String(_1yzw) + ' is not a constructor or null'); function _1yzy() { var _1yzz = null; this.constructor = _1yzv; } _1yzj(_1yzv, _1yzw), _1yzv.prototype = null === _1yzw ? Object.create(_1yzw) : (_1yzy.prototype = _1yzw.prototype, new _1yzy()); }); defineModule(_1yzg); Object.defineProperty(_1yzg, '__esModule', { 'value': !0 }), _1yzg.LayerDeckInfo = void 0; var _1z00 = _1yzh(85492), _1z01 = _1yzh(327), _1z02 = _1yzh(38846), _1z03 = function(_1z04) { var _1z05 = null; function _1z06() { var _1z07 = null, _1z08 = _1z04.call(this) || this; return _1z08._friend = new _1z02.DeckInfoPanelFriend(), _1z08._friend.x = 129, _1z08._friend.y = 116, _1z08.addChild(_1z08._friend), _1z08._enemy = new _1z01.DeckInfoPanelEnemy(), _1z08._enemy.x = 612, _1z08._enemy.y = 116, _1z08.addChild(_1z08._enemy), _1z08; } return _1yzk(_1z06, _1z04), Object.defineProperty(_1z06.prototype, 'friend', { 'get': function() { var _1z09 = null; return this._friend; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1z06.prototype, 'enemy', { 'get': function() { var _1z0a = null; return this._enemy; }, 'enumerable': !1, 'configurable': !0 }), _1z06.prototype.initialize = function(_1z0b, _1z0c, _1z0d, _1z0e, _1z0f) { var _1z0g = null; this._friend.initialize(_1z0b, _1z0c, _1z0d, _1z0f), this._enemy.initialize(_1z0e, _1z0f); }, _1z06.prototype.show = function(_1z0h) { var _1z0i = null, _1z0j = new _1z00.TweenTask(); _1z0j.addTween(this._friend.createShowTween()), _1z0j.addTween(this._enemy.createShowTween()), _1z0j.start(function() { null != _1z0h && _1z0h(); }); }, _1z06.prototype.dispose = function() { var _1z0k = null; this.removeChildren(), this._friend.dispose(), this._enemy.dispose(); }, _1z06; }(PIXI.Container); _1yzg.LayerDeckInfo = _1z03; }, 80796: function(_1z0l, _1z0m) { 'use strict'; var _1z0n = null; var _1z0o, _1z0p = this && this.__extends || (_1z0o = function(_1z0q, _1z0r) { var _1z0s = null; return _1z0o = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1z0t, _1z0u) { var _1z0v = null; _1z0t.__proto__ = _1z0u; } || function(_1z0w, _1z0x) { var _1z0y = null; for (var _1z0z in _1z0x) Object.prototype.hasOwnProperty.call(_1z0x, _1z0z) && (_1z0w[_1z0z] = _1z0x[_1z0z]); }, _1z0o(_1z0q, _1z0r); }, function(_1z10, _1z11) { var _1z12 = null; if ('function' != typeof _1z11 && null !== _1z11) throw new TypeError('Class extends value ' + String(_1z11) + ' is not a constructor or null'); function _1z13() { var _1z14 = null; this.constructor = _1z10; } _1z0o(_1z10, _1z11), _1z10.prototype = null === _1z11 ? Object.create(_1z11) : (_1z13.prototype = _1z11.prototype, new _1z13()); }); defineModule(_1z0m); Object.defineProperty(_1z0m, '__esModule', { 'value': !0 }), _1z0m.LayerMVP = void 0; var _1z15 = function(_1z16) { var _1z17 = null; function _1z18() { var _1z19 = null, _1z1a = _1z16.call(this) || this; return _1z1a._img = new PIXI.Sprite(), _1z1a._img.visible = !1, _1z1a.addChild(_1z1a._img), _1z1a; } return _1z0p(_1z18, _1z16), _1z18.prototype.createShowTween = function(_1z1b, _1z1c, _1z1d, _1z1e) { var _1z1f = null; return void 0 === _1z1e && (_1z1e = 0), this._img.alpha = 0, this._img.visible = !0, this._img.texture = _1z1b, null != _1z1c ? (this._img.x = _1z1c.x, this._img.y = _1z1c.y) : this._img.position.set(0), createjs.Tween.get(this._img).wait(_1z1e).to({ 'alpha': 1 }, _1z1d); }, _1z18.prototype.createHideTween = function(_1z1g, _1z1h) { var _1z1i = null, _1z1j = this; void 0 === _1z1h && (_1z1h = 0); var _1z1k = createjs.Tween.get(this._img).wait(_1z1h); return 1 == this._img.visible && _1z1k.to({ 'alpha': 0 }, _1z1g).call(function() { var _1z1l = null; _1z1j._img.visible = !1; }), _1z1k; }, _1z18.prototype.dispose = function() { var _1z1m = null; this.removeChildren(), this._img = null; }, _1z18; }(PIXI.Container); _1z0m.LayerMVP = _1z15; }, 96832: function(_1z1n, _1z1o, _1z1p) { 'use strict'; var _1z1q = null; var _1z1r, _1z1s = this && this.__extends || (_1z1r = function(_1z1t, _1z1u) { var _1z1v = null; return _1z1r = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1z1w, _1z1x) { var _1z1y = null; _1z1w.__proto__ = _1z1x; } || function(_1z1z, _1z20) { var _1z21 = null; for (var _1z22 in _1z20) Object.prototype.hasOwnProperty.call(_1z20, _1z22) && (_1z1z[_1z22] = _1z20[_1z22]); }, _1z1r(_1z1t, _1z1u); }, function(_1z23, _1z24) { var _1z25 = null; if ('function' != typeof _1z24 && null !== _1z24) throw new TypeError('Class extends value ' + String(_1z24) + ' is not a constructor or null'); function _1z26() { var _1z27 = null; this.constructor = _1z23; } _1z1r(_1z23, _1z24), _1z23.prototype = null === _1z24 ? Object.create(_1z24) : (_1z26.prototype = _1z24.prototype, new _1z26()); }), _1z28 = this && this.__importDefault || function(_1z29) { var _1z2a = null; return _1z29 && _1z29.__esModule ? _1z29 : { 'default': _1z29 }; }; defineModule(_1z1o); Object.defineProperty(_1z1o, '__esModule', { 'value': !0 }), _1z1o.LayerMapName = void 0; var _1z2b = _1z1p(8744), _1z2c = _1z28(_1z1p(21359)), _1z2d = function(_1z2e) { var _1z2f = null; function _1z2g() { var _1z2h = null, _1z2i = _1z2e.call(this) || this; return _1z2i._name = new _1z2b.TextBox(24, 1949120), _1z2i._name.anchor.set(0, 0), _1z2i._name.position.set(_1z2c.default.width / 2, 48), _1z2i._name.alpha = 0, _1z2i.addChild(_1z2i._name), _1z2i; } return _1z1s(_1z2g, _1z2e), _1z2g.prototype.initialize = function(_1z2j) { var _1z2k = null; this._name.text = _1z2j, this._name.position.x = _1z2c.default.width / 2 - Math.floor(this._name.width / 2); }, _1z2g.prototype.show = function() { var _1z2l = null, _1z2m = this; createjs.Tween.get(this._name).to({ 'alpha': 1 }, 100).call(function() { var _1z2n = null; _1z2m.emit('complete'); }); }, _1z2g.prototype.dispose = function() { var _1z2o = null; this.removeChildren(), this._name.destroy(); }, _1z2g; }(PIXI.Container); _1z1o.LayerMapName = _1z2d; }, 10979: function(_1z2p, _1z2q, _1z2r) { 'use strict'; var _1z2s = null; var _1z2t, _1z2u = this && this.__extends || (_1z2t = function(_1z2v, _1z2w) { var _1z2x = null; return _1z2t = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1z2y, _1z2z) { var _1z30 = null; _1z2y.__proto__ = _1z2z; } || function(_1z31, _1z32) { var _1z33 = null; for (var _1z34 in _1z32) Object.prototype.hasOwnProperty.call(_1z32, _1z34) && (_1z31[_1z34] = _1z32[_1z34]); }, _1z2t(_1z2v, _1z2w); }, function(_1z35, _1z36) { var _1z37 = null; if ('function' != typeof _1z36 && null !== _1z36) throw new TypeError('Class extends value ' + String(_1z36) + ' is not a constructor or null'); function _1z38() { var _1z39 = null; this.constructor = _1z35; } _1z2t(_1z35, _1z36), _1z35.prototype = null === _1z36 ? Object.create(_1z36) : (_1z38.prototype = _1z36.prototype, new _1z38()); }); defineModule(_1z2q); Object.defineProperty(_1z2q, '__esModule', { 'value': !0 }), _1z2q.LayerTitle = void 0; var _1z3a = _1z2r(26802), _1z3b = function(_1z3c) { var _1z3d = null; function _1z3e() { var _1z3f = null; return _1z3c.call(this) || this; } return _1z2u(_1z3e, _1z3c), _1z3e.prototype.show = function() { var _1z3g = null; this.hide(), this._current = new _1z3h(), this._current.y = 17, this._current.alpha = 0, this._current.activate(), this.addChild(this._current), createjs.Tween.get(this._current).to({ 'alpha': 1 }, 800); }, _1z3e.prototype.hide = function() { var _1z3i = null, _1z3j = this; if (null != this._current) { var _1z3k = this._current; this._current = null, createjs.Tween.get(_1z3k).to({ 'alpha': 0 }, 600).call(function() { var _1z3l = null; _1z3k.deactivate(), _1z3j.removeChild(_1z3k); }); } }, _1z3e.prototype.dispose = function() { var _1z3m = null; this.hide(); }, _1z3e; }(PIXI.Container); _1z2q.LayerTitle = _1z3b; var _1z3h = function(_1z3n) { var _1z3o = null; function _1z3p() { var _1z3q = null, _1z3r = _1z3n.call(this) || this; return _1z3r._bg = new PIXI.Sprite(_1z3a.BATTLE_RESULT_MAIN.getTexture(59)), _1z3r._gear = new PIXI.Sprite(_1z3a.BATTLE_RESULT_MAIN.getTexture(60)), _1z3r._gear.anchor.set(0.5), _1z3r._gear.position.set(32, 45), _1z3r._text = new PIXI.Sprite(_1z3a.BATTLE_RESULT_MAIN.getTexture(61)), _1z3r._text.position.set(60, 23), _1z3r.addChild(_1z3r._bg), _1z3r.addChild(_1z3r._gear), _1z3r.addChild(_1z3r._text), _1z3r; } return _1z2u(_1z3p, _1z3n), _1z3p.prototype.activate = function() { var _1z3s = null; null == this._t && (this._t = createjs.Tween.get(this._gear, { 'loop': !0 }).to({ 'rotation': 2 * Math.PI }, 6000)); }, _1z3p.prototype.deactivate = function() { var _1z3t = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _1z3p; }(PIXI.Container); }, 89634: (_1z3u, _1z3v, _1z3w) => { 'use strict'; var _1z3x = null; defineModule(_1z3v); Object.defineProperty(_1z3v, '__esModule', { 'value': !0 }), _1z3v.BattleResultData = void 0; var _1z3y = _1z3w(42514), _1z3z = _1z3w(89939), _1z40 = _1z3w(52104), _1z41 = _1z3w(51313), _1z42 = _1z3w(42493), _1z43 = _1z3w(67576), _1z44 = _1z3w(1593), _1z45 = (function() { var _1z46 = null; function _1z47(_1z48) { var _1z49 = null; this._battle_model = _1z48; } return Object.defineProperty(_1z47.prototype, 'battle_model', { 'get': function() { var _1z4a = null; return this._battle_model; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1z47.prototype, 'map_name', { 'get': function() { var _1z4b = null; return null != this._battle_model && 1 == this._battle_model.isPractice() ? '演習' : _1z3z.ObjUtil.getString(this._o, 'api_quest_name'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1z47.prototype, 'user_name_f', { 'get': function() { var _1z4c = null; return null != this._battle_model && null != this._battle_model.deck_f ? this._battle_model.deck_f.user_name : ''; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1z47.prototype, 'user_level_f', { 'get': function() { var _1z4d = null; return _1z3z.ObjUtil.getNumber(this._o, 'api_member_lv'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1z47.prototype, 'deck_name_f', { 'get': function() { var _1z4e = null; return null != this._battle_model && null != this._battle_model.deck_f ? this._battle_model.deck_f.name : ''; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1z47.prototype, 'deck_name_e', { 'get': function() { var _1z4f = null, _1z4g = _1z3z.ObjUtil.getObject(this._o, 'api_enemy_info'); return null != _1z4g ? _1z3z.ObjUtil.getString(_1z4g, 'api_deck_name') : ''; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1z47.prototype, 'deck_name_f2', { 'get': function() { var _1z4h = null; return null != this._battle_model && null != this._battle_model.deck_f ? this._battle_model.deck_f.name_second : ''; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1z47.prototype, 'battle_result_rank', { 'get': function() { var _1z4i = null; return _1z3z.ObjUtil.getString(this._o, 'api_win_rank', 'E'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1z47.prototype, 'base_exp', { 'get': function() { var _1z4j = null; return _1z3z.ObjUtil.getNumber(this._o, 'api_get_base_exp'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1z47.prototype, 'extra_war_results', { 'get': function() { var _1z4k = null; return _1z3z.ObjUtil.getNumber(this._o, 'api_get_exmap_rate'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1z47.prototype, 'extra_useitem_mst_id', { 'get': function() { var _1z4l = null; return _1z3z.ObjUtil.getNumber(this._o, 'api_get_exmap_useitem_id'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1z47.prototype, 'extra_result', { 'get': function() { var _1z4m = null; return _1z3z.ObjUtil.getNumber(this._o, 'api_mapcell_incentive'); }, 'enumerable': !1, 'configurable': !0 }), _1z47.prototype.setData = function(_1z4n) { var _1z4o = null; this._o = _1z4n, this._battle_model.m1 = _1z3z.ObjUtil.getNumber(this._o, 'api_m1'), this._battle_model.m10 = _1z3z.ObjUtil.getNumber(this._o, 'api_m10'), this._battle_model.escape = this.getEscapeData(); }, _1z47.prototype.getMvpIndex = function(_1z4p) { var _1z4q = null; return 0 == _1z4p ? _1z3z.ObjUtil.getNumber(this._o, 'api_mvp') - 1 : _1z3z.ObjUtil.getNumber(this._o, 'api_mvp_combined') - 1; }, _1z47.prototype.getLevelupInfoList = function(_1z4r) { var _1z4s = null; return 0 == _1z4r ? _1z3z.ObjUtil.getObjectArray(this._o, 'api_get_exp_lvup') : _1z3z.ObjUtil.getObjectArray(this._o, 'api_get_exp_lvup_combined'); }, _1z47.prototype.getShipExp = function(_1z4t) { var _1z4u = null, _1z4v; return null == (_1z4v = 0 == _1z4t ? _1z3z.ObjUtil.getNumArray(this._o, 'api_get_ship_exp') : _1z3z.ObjUtil.getNumArray(this._o, 'api_get_ship_exp_combined')) || 1 == _1z4v.length && -1 == _1z4v[0] ? [] : ((_1z4v = _1z4v.concat()).shift(), _1z4v); }, _1z47.prototype.getBonusShip = function() { var _1z4w = null, _1z4x = _1z3z.ObjUtil.getObject(this._o, 'api_get_ship'); return null != _1z4x ? new _1z40.BonusShipModel(_1z4x) : null; }, _1z47.prototype.getBonusSlot = function() { var _1z4y = null, _1z4z = _1z3z.ObjUtil.getObject(this._o, 'api_get_slotitem'); return null != _1z4z ? new _1z41.BonusSlotModel(_1z4z) : null; }, _1z47.prototype.getBonusUseitem = function() { var _1z50 = null, _1z51 = _1z3z.ObjUtil.getObject(this._o, 'api_get_useitem'); return null != _1z51 ? new _1z42.BonusUseitemModel(_1z51) : null; }, _1z47.prototype.getMapBonus = function() { var _1z52 = null, _1z53 = _1z3z.ObjUtil.getObjectArray(this._o, 'api_get_eventitem'); if (null == _1z53) return []; for (var _1z54 = [], _1z55 = 0, _1z56 = _1z53; _1z55 < _1z56.length; _1z55++) { var _1z57 = _1z56[_1z55], _1z58 = new _1z44.MapBonusModel(_1z57); if (_1z58.isSelectableReward()) { var _1z59 = _1z3z.ObjUtil.getObjectArray(this._o, 'api_select_reward_dict')[_1z58.mst_id]; _1z58.setCandidates(_1z59); } _1z54.push(_1z58); } return _1z54; }, _1z47.prototype.isFirstClear = function() { var _1z5a = null; return 1 == _1z3z.ObjUtil.getNumber(this._o, 'api_first_clear'); }, _1z47.prototype.getOpenedMapIDs = function() { var _1z5b = null; return _1z3z.ObjUtil.getNumArray(this._o, 'api_next_map_ids', []); }, _1z47.prototype.getLandingData = function() { var _1z5c = null; return new _1z43.LandingModel(_1z3z.ObjUtil.getObject(this._o, 'api_landing_hp')); }, _1z47.prototype.getEscapeData = function() { var _1z5d = null, _1z5e = _1z3z.ObjUtil.getObject(this._o, 'api_escape'); return new _1z3y.EscapeCandidateModel(_1z5e); }, _1z47.prototype.getClearMapSuffix = function() { var _1z5f = null; return _1z3z.ObjUtil.getString(this._o, 'api_m_suffix'); }, _1z47.prototype.getClearOperationSuffix = function() { var _1z5g = null; return _1z3z.ObjUtil.getString(this._o, 'api_ope_suffix'); }, _1z47.prototype.getM2 = function() { var _1z5h = null; return _1z3z.ObjUtil.getNumber(this._o, 'api_m2'); }, _1z47; }()); _1z3v.BattleResultData = _1z45; }, 52104: (_1z5i, _1z5j, _1z5k) => { 'use strict'; var _1z5l = null; defineModule(_1z5j); Object.defineProperty(_1z5j, '__esModule', { 'value': !0 }), _1z5j.BonusShipModel = void 0; var _1z5m = _1z5k(14921), _1z5n = (function() { var _1z5o = null; function _1z5p(_1z5q) { this._o = _1z5q; } return Object.defineProperty(_1z5p.prototype, 'mst_id', { 'get': function() { var _1z5r = null; return _1z5m.ObjUtil.getNumber(this._o, 'api_ship_id'); }, 'enumerable': !1, 'configurable': !0 }), _1z5p; }()); _1z5j.BonusShipModel = _1z5n; }, 51313: (_1z5s, _1z5t, _1z5u) => { 'use strict'; var _1z5v = null; defineModule(_1z5t); Object.defineProperty(_1z5t, '__esModule', { 'value': !0 }), _1z5t.BonusSlotModel = void 0; var _1z5w = _1z5u(14921), _1z5x = (function() { var _1z5y = null; function _1z5z(_1z60) { this._o = _1z60; } return Object.defineProperty(_1z5z.prototype, 'mst_id', { 'get': function() { var _1z61 = null; return _1z5w.ObjUtil.getNumber(this._o, 'api_slotitem_id'); }, 'enumerable': !1, 'configurable': !0 }), _1z5z; }()); _1z5t.BonusSlotModel = _1z5x; }, 42493: (_1z62, _1z63, _1z64) => { 'use strict'; var _1z65 = null; defineModule(_1z63); Object.defineProperty(_1z63, '__esModule', { 'value': !0 }), _1z63.BonusUseitemModel = void 0; var _1z66 = _1z64(14921), _1z67 = (function() { var _1z68 = null; function _1z69(_1z6a) { this._o = _1z6a; } return Object.defineProperty(_1z69.prototype, 'mst_id', { 'get': function() { var _1z6b = null; return _1z66.ObjUtil.getNumber(this._o, 'api_useitem_id'); }, 'enumerable': !1, 'configurable': !0 }), _1z69; }()); _1z63.BonusUseitemModel = _1z67; }, 67576: (_1z6c, _1z6d, _1z6e) => { 'use strict'; var _1z6f = null; defineModule(_1z6d); Object.defineProperty(_1z6d, '__esModule', { 'value': !0 }), _1z6d.LandingModel = void 0; var _1z6g = _1z6e(14921), _1z6h = (function() { var _1z6i = null; function _1z6j(_1z6k) { this._o = _1z6k; } return Object.defineProperty(_1z6j.prototype, 'nowHP', { 'get': function() { var _1z6l = null; return _1z6g.ObjUtil.getNumber(this._o, 'api_now_hp'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1z6j.prototype, 'maxHP', { 'get': function() { var _1z6m = null; return _1z6g.ObjUtil.getNumber(this._o, 'api_max_hp'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1z6j.prototype, 'subValue', { 'get': function() { var _1z6n = null; return _1z6g.ObjUtil.getNumber(this._o, 'api_sub_value'); }, 'enumerable': !1, 'configurable': !0 }), _1z6j.prototype.isLandingMap = function() { return null != this._o; }, _1z6j.prototype.isSuccess = function() { var _1z6o = null; return this.subValue > 0; }, _1z6j; }()); _1z6d.LandingModel = _1z6h; }, 24165: function(_1z6p, _1z6q, _1z6r) { 'use strict'; var _1z6s = null; var _1z6t, _1z6u = this && this.__extends || (_1z6t = function(_1z6v, _1z6w) { var _1z6x = null; return _1z6t = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1z6y, _1z6z) { var _1z70 = null; _1z6y.__proto__ = _1z6z; } || function(_1z71, _1z72) { var _1z73 = null; for (var _1z74 in _1z72) Object.prototype.hasOwnProperty.call(_1z72, _1z74) && (_1z71[_1z74] = _1z72[_1z74]); }, _1z6t(_1z6v, _1z6w); }, function(_1z75, _1z76) { var _1z77 = null; if ('function' != typeof _1z76 && null !== _1z76) throw new TypeError('Class extends value ' + String(_1z76) + ' is not a constructor or null'); function _1z78() { var _1z79 = null; this.constructor = _1z75; } _1z6t(_1z75, _1z76), _1z75.prototype = null === _1z76 ? Object.create(_1z76) : (_1z78.prototype = _1z76.prototype, new _1z78()); }); defineModule(_1z6q); Object.defineProperty(_1z6q, '__esModule', { 'value': !0 }), _1z6q.PhaseBonus = void 0; var _1z7a = _1z6r(81755), _1z7b = _1z6r(7684), _1z7c = _1z6r(87613), _1z7d = function(_1z7e) { var _1z7f = null; function _1z7g(_1z7h) { var _1z7i = null, _1z7j = _1z7e.call(this) || this; return _1z7j._scene = _1z7h, _1z7j; } return _1z6u(_1z7g, _1z7e), _1z7g.prototype._start = function() { var _1z7k = null; this._normalBonus(); }, _1z7g.prototype._normalBonus = function() { var _1z7l = null, _1z7m = this; new _1z7b.TaskNormalBonus(this._scene).start(function() { var _1z7n = null; _1z7m._scene.view.dispose(), _1z7m._mapBonus(); }); }, _1z7g.prototype._mapBonus = function() { var _1z7o = null, _1z7p = this, _1z7q = this._scene.layer_bonus, _1z7r = this._scene.data.getMapBonus(); new _1z7c.TaskEventBonus(_1z7q, _1z7r).start(function() { var _1z7s = null; _1z7p._endTask(); }); }, _1z7g; }(_1z7a.TaskBase); _1z6q.PhaseBonus = _1z7d; }, 42196: function(_1z7t, _1z7u, _1z7v) { 'use strict'; var _1z7w = null; var _1z7x, _1z7y = this && this.__extends || (_1z7x = function(_1z7z, _1z80) { var _1z81 = null; return _1z7x = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1z82, _1z83) { var _1z84 = null; _1z82.__proto__ = _1z83; } || function(_1z85, _1z86) { var _1z87 = null; for (var _1z88 in _1z86) Object.prototype.hasOwnProperty.call(_1z86, _1z88) && (_1z85[_1z88] = _1z86[_1z88]); }, _1z7x(_1z7z, _1z80); }, function(_1z89, _1z8a) { var _1z8b = null; if ('function' != typeof _1z8a && null !== _1z8a) throw new TypeError('Class extends value ' + String(_1z8a) + ' is not a constructor or null'); function _1z8c() { var _1z8d = null; this.constructor = _1z89; } _1z7x(_1z89, _1z8a), _1z89.prototype = null === _1z8a ? Object.create(_1z8a) : (_1z8c.prototype = _1z8a.prototype, new _1z8c()); }); defineModule(_1z7u); Object.defineProperty(_1z7u, '__esModule', { 'value': !0 }), _1z7u.PhaseClear = void 0; var _1z8e = _1z7v(81755), _1z8f = _1z7v(45950), _1z8g = _1z7v(71492), _1z8h = _1z7v(79018), _1z8i = function(_1z8j) { var _1z8k = null; function _1z8l(_1z8m) { var _1z8n = null, _1z8o = _1z8j.call(this) || this; return _1z8o._scene = _1z8m, _1z8o; } return _1z7y(_1z8l, _1z8j), _1z8l.prototype._start = function() { var _1z8p = null; this._mapClear(); }, _1z8l.prototype._mapClear = function() { var _1z8q = null, _1z8r = this; if (1 == this._scene.data.isFirstClear()) { var _1z8s = this._scene.shutter, _1z8t = this._scene.data.battle_model.map_info.area_id, _1z8u = this._scene.data.battle_model.map_info.map_no, _1z8v = this._scene.data.battle_model.deck_f.ships[0], _1z8w = _1z8v.mst_id, _1z8x = _1z8v.isDamaged(), _1z8y = this._scene.data.getClearMapSuffix(); new _1z8f.TaskEventClear(_1z8s, _1z8t, _1z8u, _1z8w, _1z8x, _1z8y).start(function() { var _1z8z = null; _1z8r._ending(); }); } else this._ending(); }, _1z8l.prototype._ending = function() { var _1z90 = null, _1z91 = this; if (1 == this._scene.data.isFirstClear()) { var _1z92 = this._scene.layer_bonus, _1z93 = this._scene.data.battle_model.map_info.area_id, _1z94 = this._scene.data.battle_model.map_info.map_no, _1z95 = this._scene.data.getClearOperationSuffix(); new _1z8g.TaskEventEnding(_1z92, _1z93, _1z94, _1z95).start(function() { var _1z96 = null; _1z91._mapOpen(); }); } else this._mapOpen(); }, _1z8l.prototype._mapOpen = function() { var _1z97 = null, _1z98 = this, _1z99 = this._scene.data.getOpenedMapIDs(); if (_1z99.length > 0) { var _1z9a = this._scene.layer_bonus; new _1z8h.TaskMapOpen(_1z9a, _1z99).start(function() { var _1z9b = null; _1z98._endTask(); }); } else this._endTask(); }, _1z8l; }(_1z8e.TaskBase); _1z7u.PhaseClear = _1z8i; }, 23402: function(_1z9c, _1z9d, _1z9e) { 'use strict'; var _1z9f = null; var _1z9g, _1z9h = this && this.__extends || (_1z9g = function(_1z9i, _1z9j) { var _1z9k = null; return _1z9g = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1z9l, _1z9m) { var _1z9n = null; _1z9l.__proto__ = _1z9m; } || function(_1z9o, _1z9p) { var _1z9q = null; for (var _1z9r in _1z9p) Object.prototype.hasOwnProperty.call(_1z9p, _1z9r) && (_1z9o[_1z9r] = _1z9p[_1z9r]); }, _1z9g(_1z9i, _1z9j); }, function(_1z9s, _1z9t) { var _1z9u = null; if ('function' != typeof _1z9t && null !== _1z9t) throw new TypeError('Class extends value ' + String(_1z9t) + ' is not a constructor or null'); function _1z9v() { var _1z9w = null; this.constructor = _1z9s; } _1z9g(_1z9s, _1z9t), _1z9s.prototype = null === _1z9t ? Object.create(_1z9t) : (_1z9v.prototype = _1z9t.prototype, new _1z9v()); }), _1z9x = this && this.__importDefault || function(_1z9y) { var _1z9z = null; return _1z9y && _1z9y.__esModule ? _1z9y : { 'default': _1z9y }; }; defineModule(_1z9d); Object.defineProperty(_1z9d, '__esModule', { 'value': !0 }), _1z9d.PhaseTransportResult = void 0; var _1za0 = _1z9x(_1z9e(18622)), _1za1 = _1z9e(37562), _1za2 = _1z9e(84412), _1za3 = _1z9e(79899), _1za4 = _1z9e(57257), _1za5 = _1z9e(46903), _1za6 = _1z9e(35380), _1za7 = _1z9e(10742), _1za8 = function(_1za9) { var _1zaa = null; function _1zab(_1zac) { var _1zad = null, _1zae = _1za9.call(this) || this; return _1zae._scene = _1zac, _1zae; } return _1z9h(_1zab, _1za9), _1zab.prototype._start = function() { var _1zaf = null, _1zag = this._scene.data.getLandingData(); _1zag.isLandingMap() ? this._loadResources(_1zag) : this._endTask(); }, _1zab.prototype._loadResources = function(_1zah) { var _1zai = null, _1zaj = this, _1zak = _1za0.default.resources.gauge.createLoaderHorizontal(), _1zal = this._scene.data.battle_model.map_info.area_id, _1zam = this._scene.data.battle_model.map_info.map_no, _1zan = this._scene.data.battle_model.stage, _1zao = _1za7.MapUtil.isEventArea(_1zal), _1zap = _1za2.GaugeSetModel.createKey(_1zal, _1zam, _1zan); _1zak.add(_1zap), _1zak.load(function() { var _1zaq = null, _1zar = _1za0.default.resources.gauge.getGaugeInfo(_1zap), _1zas = null; _1zaj._showDialog(_1zao, _1zah, _1zar, _1zas); }); }, _1zab.prototype._showDialog = function(_1zat, _1zau, _1zav, _1zaw) { var _1zax = null, _1zay = this, _1zaz = new _1za5.ResultDialog(_1zat, _1zau, _1zav, _1zaw); _1zaz.alpha = 0, this._scene.view.addChild(_1zaz), createjs.Tween.get(_1zaz).wait(500).to({ 'alpha': 1 }, 300).wait(500).call(function() { var _1zb0 = null; _1zaz.startAnimation(function() { var _1zb1 = null; _1zay._hideDialog(_1zaz); }); }); }, _1zab.prototype._hideDialog = function(_1zb2) { var _1zb3 = null, _1zb4 = this; createjs.Tween.get(_1zb2).to({ 'alpha': 0 }, 300).call(function() { var _1zb5 = null; _1zb4._scene.view.removeChild(_1zb2), _1zb2.dispose(), _1zb4._wait(); }); }, _1zab.prototype._wait = function() { var _1zb6 = null, _1zb7 = this; createjs.Tween.get(null).wait(500).call(function() { var _1zb8 = null; _1zb7._endTask(); }); }, _1zab.prototype._endTask = function() { var _1zb9 = null, _1zba = this, _1zbb = new _1za4.GearBtnNext(); _1zbb.position.set(1130, 648), _1zbb.initialize(), _1zbb.activate(), this._scene.view.addChild(_1zbb); var _1zbc = new _1za3.AreaBox(0); _1zbc.buttonMode = !0, this._scene.view.addChild(_1zbc), _1zbc.once(_1za6.EventType.CLICK, function() { var _1zbd = null; _1zbb.deactivate(), _1zba._scene.view.removeChild(_1zbb), _1zba._scene.view.removeChild(_1zbc), _1za9.prototype._endTask.call(_1zba); }); }, _1zab; }(_1za1.TaskBase); _1z9d.PhaseTransportResult = _1za8; }, 2243: function(_1zbe, _1zbf, _1zbg) { 'use strict'; var _1zbh = null; var _1zbi, _1zbj = this && this.__extends || (_1zbi = function(_1zbk, _1zbl) { var _1zbm = null; return _1zbi = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1zbn, _1zbo) { var _1zbp = null; _1zbn.__proto__ = _1zbo; } || function(_1zbq, _1zbr) { var _1zbs = null; for (var _1zbt in _1zbr) Object.prototype.hasOwnProperty.call(_1zbr, _1zbt) && (_1zbq[_1zbt] = _1zbr[_1zbt]); }, _1zbi(_1zbk, _1zbl); }, function(_1zbu, _1zbv) { var _1zbw = null; if ('function' != typeof _1zbv && null !== _1zbv) throw new TypeError('Class extends value ' + String(_1zbv) + ' is not a constructor or null'); function _1zbx() { var _1zby = null; this.constructor = _1zbu; } _1zbi(_1zbu, _1zbv), _1zbu.prototype = null === _1zbv ? Object.create(_1zbv) : (_1zbx.prototype = _1zbv.prototype, new _1zbx()); }), _1zbz = this && this.__importDefault || function(_1zc0) { var _1zc1 = null; return _1zc0 && _1zc0.__esModule ? _1zc0 : { 'default': _1zc0 }; }; defineModule(_1zbf); Object.defineProperty(_1zbf, '__esModule', { 'value': !0 }), _1zbf.TaskBonusTelop = void 0; var _1zc2 = _1zbz(_1zbg(21359)), _1zc3 = _1zbg(37562), _1zc4 = _1zbg(103), _1zc5 = function(_1zc6) { var _1zc7 = null; function _1zc8(_1zc9, _1zca, _1zcb, _1zcc) { var _1zcd = null; void 0 === _1zcc && (_1zcc = !1); var _1zce = _1zc6.call(this) || this; return _1zce._hideTelop = function() { var _1zcf = null; createjs.Tween.get(_1zce._telop).to({ 'alpha': 0 }, 300).call(function() { var _1zcg = null; _1zce._layer.removeChild(_1zce._telop), _1zce._telop = null, _1zce._endTask(); }); }, _1zce._layer = _1zc9, _1zce._type = _1zca, _1zce._mst_id = _1zcb, _1zce._sub_text = _1zcc, _1zce; } return _1zbj(_1zc8, _1zc6), _1zc8.prototype._start = function() { var _1zch = null; this._showTelop(); }, _1zc8.prototype._showTelop = function() { var _1zci = null; this._telop = new _1zc4.BonusTelop(), this._telop.position.set(_1zc2.default.width / 2, _1zc2.default.height / 2), 3 == this._type ? this._telop.initializeForShip(this._sub_text) : 2 == this._type ? this._telop.initializeForSlot() : 6 == this._type && this._telop.initializeForUseitem(this._mst_id), this._layer.addChild(this._telop), this._telop.play(), this._telop.once('complete', this._hideTelop); }, _1zc8; }(_1zc3.TaskBase); _1zbf.TaskBonusTelop = _1zc5; }, 72691: function(_1zcj, _1zck, _1zcl) { 'use strict'; var _1zcm = null; var _1zcn, _1zco = this && this.__extends || (_1zcn = function(_1zcp, _1zcq) { var _1zcr = null; return _1zcn = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1zcs, _1zct) { var _1zcu = null; _1zcs.__proto__ = _1zct; } || function(_1zcv, _1zcw) { var _1zcx = null; for (var _1zcy in _1zcw) Object.prototype.hasOwnProperty.call(_1zcw, _1zcy) && (_1zcv[_1zcy] = _1zcw[_1zcy]); }, _1zcn(_1zcp, _1zcq); }, function(_1zcz, _1zd0) { var _1zd1 = null; if ('function' != typeof _1zd0 && null !== _1zd0) throw new TypeError('Class extends value ' + String(_1zd0) + ' is not a constructor or null'); function _1zd2() { var _1zd3 = null; this.constructor = _1zcz; } _1zcn(_1zcz, _1zd0), _1zcz.prototype = null === _1zd0 ? Object.create(_1zd0) : (_1zd2.prototype = _1zd0.prototype, new _1zd2()); }), _1zd4 = this && this.__importDefault || function(_1zd5) { var _1zd6 = null; return _1zd5 && _1zd5.__esModule ? _1zd5 : { 'default': _1zd5 }; }; defineModule(_1zck); Object.defineProperty(_1zck, '__esModule', { 'value': !0 }), _1zck.TaskEnd = void 0; var _1zd7 = _1zd4(_1zcl(18622)), _1zd8 = function(_1zd9) { var _1zda = null; function _1zdb(_1zdc) { var _1zdd = null, _1zde = _1zd9.call(this) || this; return _1zde._scene = _1zdc, _1zde; } return _1zco(_1zdb, _1zd9), _1zdb.prototype._start = function() { var _1zdf = null; this._disposeView(); }, _1zdb.prototype._disposeView = function() { var _1zdg = null; this._connectAPI(); }, _1zdb.prototype._connectAPI = function() { var _1zdh = null; _1zd7.default.sound.voice.stopAll(), _1zd7.default.sound.voice.setNumOfMultiPlay(1), this._endTask(); }, _1zdb; }(_1zcl(37562).TaskBase); _1zck.TaskEnd = _1zd8; }, 87613: function(_1zdi, _1zdj, _1zdk) { 'use strict'; var _1zdl = null; var _1zdm, _1zdn = this && this.__extends || (_1zdm = function(_1zdo, _1zdp) { var _1zdq = null; return _1zdm = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1zdr, _1zds) { var _1zdt = null; _1zdr.__proto__ = _1zds; } || function(_1zdu, _1zdv) { var _1zdw = null; for (var _1zdx in _1zdv) Object.prototype.hasOwnProperty.call(_1zdv, _1zdx) && (_1zdu[_1zdx] = _1zdv[_1zdx]); }, _1zdm(_1zdo, _1zdp); }, function(_1zdy, _1zdz) { var _1ze0 = null; if ('function' != typeof _1zdz && null !== _1zdz) throw new TypeError('Class extends value ' + String(_1zdz) + ' is not a constructor or null'); function _1ze1() { var _1ze2 = null; this.constructor = _1zdy; } _1zdm(_1zdy, _1zdz), _1zdy.prototype = null === _1zdz ? Object.create(_1zdz) : (_1ze1.prototype = _1zdz.prototype, new _1ze1()); }), _1ze3 = this && this.__importDefault || function(_1ze4) { var _1ze5 = null; return _1ze4 && _1ze4.__esModule ? _1ze4 : { 'default': _1ze4 }; }; defineModule(_1zdj); Object.defineProperty(_1zdj, '__esModule', { 'value': !0 }), _1zdj.TaskEventBonus = void 0; var _1ze6 = _1ze3(_1zdk(18622)), _1ze7 = _1zdk(81755), _1ze8 = _1zdk(61953), _1ze9 = _1zdk(75223), _1zea = _1zdk(66279), _1zeb = _1zdk(5975), _1zec = _1zdk(70723), _1zed = _1zdk(26802), _1zee = _1zdk(45615), _1zef = _1zdk(19281), _1zeg = _1zdk(91936), _1zeh = function(_1zei) { var _1zej = null; function _1zek(_1zel, _1zem) { var _1zen = null, _1zeo = _1zei.call(this) || this; return _1zeo._layer = _1zel, _1zeo._list = _1zem, _1zeo; } return _1zdn(_1zek, _1zei), _1zek.prototype._start = function() { var _1zep = null; null == this._list || 0 == this._list.length ? this._endTask() : this._showTelop(); }, _1zek.prototype._showTelop = function() { var _1zeq = null, _1zer = this; this._canvas = new PIXI.Container(), this._layer.addChild(this._canvas); var _1zes = new _1zet(); _1zes.initialize(), _1zes.alpha = 0, _1zes.text.alpha = 0, _1zes.text.position.set(3, 243), this._canvas.addChild(_1zes), createjs.Tween.get(_1zes).to({ 'alpha': 1 }, 200).call(function() { var _1zeu = null; _1zer._showTelop2(_1zes); }); }, _1zek.prototype._showTelop2 = function(_1zev) { var _1zew = null, _1zex = this; createjs.Tween.get(_1zev.white).to({ 'alpha': 0 }, 200).call(function() { var _1zey = null; _1zex._showTelop3(_1zev); }); }, _1zek.prototype._showTelop3 = function(_1zez) { var _1zf0 = null, _1zf1 = this; _1zec.SE.play('222'); var _1zf2 = _1zez.text.x; _1zez.text.x = _1zf2 + 132, createjs.Tween.get(_1zez.text).to({ 'x': _1zf2 + 38, 'alpha': 1 }, 200).to({ 'x': _1zf2 }, 100).wait(700).to({ 'x': _1zf2 - 38 }, 100).to({ 'x': _1zf2 - 132, 'alpha': 0 }, 200).call(function() { var _1zf3 = null; _1zf1._showTelop4(_1zez); }); }, _1zek.prototype._showTelop4 = function(_1zf4) { var _1zf5 = null, _1zf6 = this; createjs.Tween.get(_1zf4).to({ 'alpha': 0 }, 300).call(function() { var _1zf7 = null; _1zf4.parent.removeChild(_1zf4), _1ze6.default.sound.bgm.play(132, !0, 1000), _1zf6._bonus(null); }); }, _1zek.prototype._bonus = function(_1zf8, _1zf9) { var _1zfa = null, _1zfb = this; if (void 0 === _1zf9 && (_1zf9 = !1), 0 == this._list.length) return _1ze6.default.sound.bgm.fadeOut(1200), void(null == _1zf8 ? this._endTask() : createjs.Tween.get(this._canvas).to({ 'alpha': 0 }, 300).call(function() { var _1zfc = null; _1zf9 && _1zfb._clearSelectBg(), _1zfb._canvas.parent.removeChild(_1zfb._canvas), _1zf8.dispose(), _1zfb._endTask(); })); var _1zfd = this._list.shift(); if (1 == _1zfd.isUseitem()) { var _1zfe = this._canvas, _1zff = _1zfd.mst_id, _1zfg = new _1zea.TaskBonusUseItem(_1zfe, _1zff, _1zfd.count, !1, _1zf8); _1zf9 && (_1zfg.skipInsertAnimForce = !0), _1zfg.start(function() { var _1zfh = null; _1zf9 && _1zfb._clearSelectBg(), _1zfb._bonus(_1zfg); }); } else { if (1 == _1zfd.isShip()) { _1zfe = this._canvas, _1zff = _1zfd.mst_id; var _1zfi = new _1ze8.TaskBonusShip(_1zfe, _1zff, !1, _1zf8); _1zf9 && (_1zfi.skipInsertAnimForce = !0), _1zfi.start(function() { var _1zfj = null; _1zf9 && _1zfb._clearSelectBg(), _1zfb._bonus(_1zfi); }); } else { if (1 == _1zfd.isSlotitem()) { _1zfe = this._canvas, _1zff = _1zfd.mst_id; var _1zfk = new _1ze9.TaskBonusSlot(_1zfe, _1zff, _1zfd.count, _1zfd.level, !1, _1zf8); _1zf9 && (_1zfk.skipInsertAnimForce = !0), _1zfk.start(function() { var _1zfl = null; _1zf9 && _1zfb._clearSelectBg(), _1zfb._bonus(_1zfk); }); } else { if (1 == _1zfd.isFurniture()) { _1zfe = this._canvas, _1zff = _1zfd.mst_id; var _1zfm = new _1zeb.TaskBonusFurniture(_1zfe, _1zff, !1, _1zf8); _1zf9 && (_1zfm.skipInsertAnimForce = !0), _1zfm.start(function() { var _1zfn = null; _1zf9 && _1zfb._clearSelectBg(), _1zfb._bonus(_1zfm); }); } else { if (1 != _1zfd.isSelectableReward()) throw new Error('TaskEventBonus'); this._selectBonus(_1zfd.mst_id, _1zfd.candidates, _1zf8); } } } } }, _1zek.prototype._selectBonus = function(_1zfo, _1zfp, _1zfq) { var _1zfr = null, _1zfs = this; void 0 === _1zfq && (_1zfq = null), this._select_bg = new _1zeg.GetBG(), this._select_bg.initiailzeGetBG2(function() { var _1zft = null; _1zfs._select_bg.alpha = 0, _1zfs._canvas.addChild(_1zfs._select_bg), createjs.Tween.get(_1zfs._select_bg).to({ 'alpha': 1 }, 500).call(function() { var _1zfu = null, _1zfv, _1zfw = new _1zef.TaskEventRewardsSelect(_1zfs._canvas, ((_1zfv = {})[_1zfo] = _1zfp, _1zfv)); _1zfw.start(function() { var _1zfx = _1zfu, _1zfy; (_1zfy = _1zfs[_1zfx(12224)])[_1zfx(5979)][_1zfx(8136)](_1zfy, _1zfw[_1zfx(12448)]), _1zfs[_1zfx(4960)](_1zfq, !0); }); }); }); }, _1zek.prototype._clearSelectBg = function() { var _1zfz = null; null != this._select_bg && (this._canvas.removeChild(this._select_bg), this._select_bg.destroy(), this._select_bg = null); }, _1zek.prototype._endTask = function() { var _1zg0 = null; _1zei.prototype._endTask.call(this); }, _1zek; }(_1ze7.TaskBase); _1zdj.TaskEventBonus = _1zeh; var _1zet = function(_1zg1) { var _1zg2 = null; function _1zg3() { var _1zg4 = null, _1zg5 = _1zg1.call(this) || this; return _1zg5._bg = new PIXI.Sprite(), _1zg5.addChild(_1zg5._bg), _1zg5._upper = new PIXI.Sprite(), _1zg5.addChild(_1zg5._upper), _1zg5._down = new PIXI.Sprite(), _1zg5.addChild(_1zg5._down), _1zg5._text = new PIXI.Sprite(), _1zg5.addChild(_1zg5._text), _1zg5._white = new PIXI.Sprite(), _1zg5.addChild(_1zg5._white), _1zg5; } return _1zdn(_1zg3, _1zg1), Object.defineProperty(_1zg3.prototype, 'bg', { 'get': function() { var _1zg6 = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1zg3.prototype, 'upper', { 'get': function() { var _1zg7 = null; return this._upper; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1zg3.prototype, 'down', { 'get': function() { var _1zg8 = null; return this._down; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1zg3.prototype, 'text', { 'get': function() { var _1zg9 = null; return this._text; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_1zg3.prototype, 'white', { 'get': function() { var _1zga = null; return this._white; }, 'enumerable': !1, 'configurable': !0 }), _1zg3.prototype.initialize = function() { var _1zgb = null; this._bg.texture = _1zee.BATTLE_RESULT_EVENT_BASE.getTexture(1), this._bg.position.set(0, 210), this._upper.texture = _1zee.BATTLE_RESULT_EVENT_BASE.getTexture(4), this._upper.position.set(219, 138), this._down.texture = _1zee.BATTLE_RESULT_EVENT_BASE.getTexture(4), this._down.rotation = Math.PI, this._down.position.set(984, 576), this._white.texture = _1zed.BATTLE_RESULT_MAIN.getTexture(23), this._white.position.set(0, 140), this._text.texture = _1zee.BATTLE_RESULT_EVENT_BASE.getTexture(2); }, _1zg3; }(PIXI.Container); }, 45950: function(_1zgc, _1zgd, _1zge) { 'use strict'; var _1zgf = null; var _1zgg, _1zgh = this && this.__extends || (_1zgg = function(_1zgi, _1zgj) { var _1zgk = null; return _1zgg = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1zgl, _1zgm) { var _1zgn = null; _1zgl.__proto__ = _1zgm; } || function(_1zgo, _1zgp) { var _1zgq = null; for (var _1zgr in _1zgp) Object.prototype.hasOwnProperty.call(_1zgp, _1zgr) && (_1zgo[_1zgr] = _1zgp[_1zgr]); }, _1zgg(_1zgi, _1zgj); }, function(_1zgs, _1zgt) { var _1zgu = null; if ('function' != typeof _1zgt && null !== _1zgt) throw new TypeError('Class extends value ' + String(_1zgt) + ' is not a constructor or null'); function _1zgv() { var _1zgw = null; this.constructor = _1zgs; } _1zgg(_1zgs, _1zgt), _1zgs.prototype = null === _1zgt ? Object.create(_1zgt) : (_1zgv.prototype = _1zgt.prototype, new _1zgv()); }), _1zgx = this && this.__importDefault || function(_1zgy) { var _1zgz = null; return _1zgy && _1zgy.__esModule ? _1zgy : { 'default': _1zgy }; }; defineModule(_1zgd); Object.defineProperty(_1zgd, '__esModule', { 'value': !0 }), _1zgd.Telop = _1zgd.TaskEventClear = void 0; var _1zh0 = _1zgx(_1zge(21359)), _1zh1 = _1zgx(_1zge(18622)), _1zh2 = _1zge(35380), _1zh3 = _1zge(81755), _1zh4 = _1zge(45054), _1zh5 = _1zge(79899), _1zh6 = _1zge(38204), _1zh7 = _1zge(20137), _1zh8 = _1zge(41109), _1zh9 = _1zge(13748), _1zha = _1zge(71633), _1zhb = function(_1zhc) { var _1zhd = null; function _1zhe(_1zhf, _1zhg, _1zhh, _1zhi, _1zhj, _1zhk) { var _1zhl = null, _1zhm = _1zhc.call(this) || this; return _1zhm._shutter = _1zhf, _1zhm._area_id = _1zhg, _1zhm._map_no = _1zhh, _1zhm._ship_mst_id = _1zhi, _1zhm._ship_damaged = _1zhj, _1zhm._file_suffix = _1zhk, _1zhm; } return _1zgh(_1zhe, _1zhc), _1zhe.prototype._start = function() { var _1zhn = null; this._area_id == _1zha.EventConst.AREA_ID ? this._hideEnemy() : this._endTask(); }, _1zhe.prototype._hideEnemy = function() { var _1zho = null, _1zhp = this, _1zhq = this._mapscene; _1zhq instanceof _1zh8.MapScene != 0 ? _1zhq.view.map.enemy_layer.hide(function() { var _1zhr = null; _1zhq.view.map.plane_layer.hideAll(), _1zhp._loadShipResources(); }) : this._endTask(); }, _1zhe.prototype._loadShipResources = function() { var _1zhs = null, _1zht = this, _1zhu = new _1zh7.ShipLoader(); _1zhu.add(this._ship_mst_id, this._ship_damaged, 'full'), _1zhu.load(function() { var _1zhv = null; _1zht._openShutter(); }); }, _1zhe.prototype._openShutter = function() { var _1zhw = null, _1zhx = this, _1zhy = this._mapscene; _1zhy.view.shutter.alpha = 0, _1zhy.view.map.alpha = 1, _1zhy.view.upper.alpha = 1, createjs.Tween.get(null).wait(1300).call(function() { var _1zhz = null; _1zhx._shutter.open(), _1zhx._shutter.once('opened', function() { var _1zi0 = null; _1zhx._showShip(); }); }); }, _1zhe.prototype._showShip = function() { var _1zi1 = null, _1zi2 = this, _1zi3 = new PIXI.Sprite(); _1zi3.texture = _1zh1.default.resources.getShip(this._ship_mst_id, this._ship_damaged, 'full'); var _1zi4 = _1zh1.default.model.ship_graph.get(this._ship_mst_id).getMapOffset(this._ship_damaged); _1zi3.x = -80 + _1zi4.x, _1zi3.y = -93 + _1zi4.y, _1zi3.scale.set(1.15), _1zi3.alpha = 0; var _1zi5 = _1zh1.default.view.getNowScene(); _1zi5.view.chara_layer.addChild(_1zi3), createjs.Tween.get(_1zi3).to({ 'alpha': 1 }, 300).wait(2000).to({ 'x': _1zi3.x - 45, 'alpha': 0 }, 1500).call(function() { var _1zi6 = null; _1zi5.view.chara_layer.removeChild(_1zi3); }); var _1zi7 = new _1zi8(), _1zi9 = new _1zh4.Container(); _1zi7.update(this._map_no, this._file_suffix, function() { var _1zia = null; _1zi7.alpha = 0, _1zi9.scale.set(2), _1zi9.position.set(_1zh0.default.width / 2, _1zh0.default.height / 2), _1zi9.addChild(_1zi7), _1zi5.view.chara_layer.addChild(_1zi9), createjs.Tween.get(_1zi9).wait(3000).to({ 'scaleX': 1, 'scaleY': 1 }, 700, createjs.Ease.bounceOut).call(function() { var _1zib = null; _1zi2._waitClick(_1zi9); }), createjs.Tween.get(_1zi7).wait(3000).to({ 'alpha': 1 }, 600, createjs.Ease.circOut); }); }, _1zhe.prototype._waitClick = function(_1zic) { var _1zid = null, _1zie = this, _1zif = new _1zh5.AreaBox(0); _1zif.buttonMode = !0; var _1zig = new _1zh6.GearBtnNext(); _1zig.position.set(1140, 660), _1zig.initialize(), _1zig.activate(), _1zif.addChild(_1zig), this._mapscene.view.addChild(_1zif), _1zif.once(_1zh2.EventType.CLICK, function() { var _1zih = null; _1zie._mapscene.view.removeChild(_1zif), _1zig.dispose(), _1zie._removeRed(_1zic); }); }, _1zhe.prototype._removeRed = function(_1zii) { var _1zij = null, _1zik = this; this._mapscene.view.map.bg.mapAnime && this._mapscene.view.map.bg.mapAnime.hide(); var _1zil = this._mapscene.view.map.bg.getBGLayer('red'); null != _1zil ? createjs.Tween.get(_1zil).to({ 'alpha': 0 }, 3000).call(function() { var _1zim = null; _1zik._hideTelop(_1zii); }) : this._hideTelop(_1zii); }, _1zhe.prototype._hideTelop = function(_1zin) { var _1zio = null, _1zip = this; createjs.Tween.get(_1zin).to({ 'alpha': 0 }, 300).call(function() { var _1ziq = null; _1zip._mapscene.view.chara_layer.removeChild(_1zin), _1zip._closeShutter(); }); }, _1zhe.prototype._closeShutter = function() { var _1zir = null, _1zis = this; this._shutter.close(), this._shutter.once('closed', function() { var _1zit = null; _1zis._mapscene.view.shutter.alpha = 1, _1zis._mapscene.view.map.alpha = 0, _1zis._mapscene.view.upper.alpha = 0, _1zis._endTask(); }); }, Object.defineProperty(_1zhe.prototype, '_mapscene', { 'get': function() { var _1ziu = null, _1ziv = _1zh1.default.view.getNowScene(); return _1ziv instanceof _1zh8.MapScene ? _1ziv : null; }, 'enumerable': !1, 'configurable': !0 }), _1zhe; }(_1zh3.TaskBase); _1zgd.TaskEventClear = _1zhb; var _1zi8 = function(_1ziw) { var _1zix = null; function _1ziy() { var _1ziz = null, _1zj0 = _1ziw.call(this) || this; return _1zj0._img1 = new PIXI.Sprite(), _1zj0.addChild(_1zj0._img1), _1zj0._img2 = new PIXI.Sprite(), _1zj0.addChild(_1zj0._img2), _1zj0; } return _1zgh(_1ziy, _1ziw), _1ziy.prototype.update = function(_1zj1, _1zj2, _1zj3) { var _1zj4 = null, _1zj5 = this; if ('' !== _1zj2) { var _1zj6 = new _1zh9.UIImageLoader('battle_result'); switch (_1zj6.add('battle_result_event_e'['concat'](_1zj1, '_').concat(_1zj2, '.json')), _1zj6.load(function() { var _1zj7 = null, _1zj8 = PIXI.Texture.fromFrame('battle_result_event_e'['concat'](_1zj1, '_').concat(_1zj2, '_txt_1')), _1zj9 = PIXI.Texture.fromFrame('battle_result_event_e'['concat'](_1zj1, '_').concat(_1zj2, '_txt_2')); _1zj5._img1.texture = _1zj8, _1zj5._img2.texture = _1zj9, _1zj3(); }), _1zj1) { case 1: this._img1.position.set(-392, -134), this._img2.position.set(-448, -47); break; case 2: this._img1.position.set(-232, -135), this._img2.position.set(-441, -47); break; case 3: this._img1.position.set(-370, -135), this._img2.position.set(-471, -47); break; case 4: this._img1.position.set(-507, -135), this._img2.position.set(-512, -47); break; default: this._img1.texture = PIXI.Texture.EMPTY, this._img2.texture = PIXI.Texture.EMPTY, _1zj3(); } } else _1zj3(); }, _1ziy; }(PIXI.Container); _1zgd.Telop = _1zi8; }, 19639: function(_1zja, _1zjb, _1zjc) { 'use strict'; var _1zjd = null; var _1zje, _1zjf = this && this.__extends || (_1zje = function(_1zjg, _1zjh) { var _1zji = null; return _1zje = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1zjj, _1zjk) { var _1zjl = null; _1zjj.__proto__ = _1zjk; } || function(_1zjm, _1zjn) { var _1zjo = null; for (var _1zjp in _1zjn) Object.prototype.hasOwnProperty.call(_1zjn, _1zjp) && (_1zjm[_1zjp] = _1zjn[_1zjp]); }, _1zje(_1zjg, _1zjh); }, function(_1zjq, _1zjr) { var _1zjs = null; if ('function' != typeof _1zjr && null !== _1zjr) throw new TypeError('Class extends value ' + String(_1zjr) + ' is not a constructor or null'); function _1zjt() { var _1zju = null; this.constructor = _1zjq; } _1zje(_1zjq, _1zjr), _1zjq.prototype = null === _1zjr ? Object.create(_1zjr) : (_1zjt.prototype = _1zjr.prototype, new _1zjt()); }), _1zjv = this && this.__importDefault || function(_1zjw) { var _1zjx = null; return _1zjw && _1zjw.__esModule ? _1zjw : { 'default': _1zjw }; }; defineModule(_1zjb); Object.defineProperty(_1zjb, '__esModule', { 'value': !0 }), _1zjb.TaskExp = void 0; var _1zjy = _1zjv(_1zjc(18622)), _1zjz = _1zjc(35380), _1zk0 = _1zjc(81755), _1zk1 = _1zjc(55535), _1zk2 = _1zjc(85492), _1zk3 = _1zjc(56494), _1zk4 = _1zjc(79899), _1zk5 = _1zjc(38204), _1zk6 = _1zjc(20137), _1zk7 = _1zjc(9315), _1zk8 = _1zjc(17634), _1zk9 = function(_1zka) { var _1zkb = null; function _1zkc(_1zkd) { var _1zke = null, _1zkf = _1zka.call(this) || this; return _1zkf._scene = _1zkd, _1zkf; } return _1zjf(_1zkc, _1zka), _1zkc.prototype._start = function() { var _1zkg = null; this._loadMVPImage(); }, _1zkc.prototype._loadMVPImage = function() { var _1zkh = null, _1zki = this, _1zkj = this._scene.data.battle_model.deck_f.ships, _1zkk = null, _1zkl = null, _1zkm = this._scene.data.getMvpIndex(!1); if (_1zkm >= 0 && _1zkm < _1zkj.length && (_1zkk = _1zkj[_1zkm]), (_1zkm = this._scene.data.getMvpIndex(!0)) >= 0 && _1zkm + 6 < _1zkj.length && (_1zkl = _1zkj[_1zkm + 6]), null == _1zkk && null == _1zkl) this._initMove(); else { var _1zkn = new _1zk6.ShipLoader(); null != _1zkk && _1zkn.add(_1zkk.mst_id, _1zkk.isDamaged(), 'full'), null != _1zkl && _1zkn.add(_1zkl.mst_id, _1zkl.isDamaged(), 'full'), _1zkn.load(function() { var _1zko = null; _1zki._showMVP(_1zkk); }); } }, _1zkc.prototype._showMVP = function(_1zkp) { var _1zkq = null, _1zkr = this; this._scene.view.layer_banner.banners_f.getBanner(_1zkp.index).createShowMVPCoinTween(); var _1zks = _1zkp.mst_id, _1zkt = _1zkp.isDamaged(), _1zku = _1zjy.default.resources.getShip(_1zks, _1zkt, 'full'), _1zkv = _1zjy.default.model.ship_graph.get(_1zks).getBattleOffset(_1zkt); this._scene.view.layer_mvp.createShowTween(_1zku, _1zkv, 500).call(function() { var _1zkw = null; _1zkr._playVoice(_1zks); }), this._initMove(); }, _1zkc.prototype._playVoice = function(_1zkx) { var _1zky = null, _1zkz = this._scene.data.battle_result_rank; 'S' != _1zkz && 'A' != _1zkz && 'B' != _1zkz || _1zjy.default.sound.voice.play(_1zkx.toString(), 23); }, _1zkc.prototype._initMove = function() { var _1zl0 = null, _1zl1 = this; this._scene.view.layer_deck_info.friend.createHideGaugeTweens(-54), createjs.Tween.get(this._scene.view.layer_banner.info_f).wait(200).to({ 'x': 87 }, 500), createjs.Tween.get(this._scene.view.layer_banner.banners_f).wait(200).to({ 'x': 294 }, 500).call(function() { var _1zl2 = null; _1zl1._showPanel(); }); }, _1zkc.prototype._showPanel = function() { var _1zl3 = null, _1zl4 = this, _1zl5 = this._scene.data.base_exp, _1zl6 = this._scene.data.getShipExp(!1), _1zl7 = this._scene.data.battle_model.isPractice(), _1zl8 = this._scene.data.battle_model.deck_f.isYugeki(), _1zl9 = this._scene.view.panel_exp; _1zl9.initialize(_1zl5, _1zl6, _1zl7, _1zl8), _1zl9.alpha = 0, _1zl9.visible = !0, createjs.Tween.get(_1zl9).to({ 'x': 591, 'alpha': 1 }, 300).call(function() { var _1zla = null; _1zl4._showLevelup(); }); }, _1zkc.prototype._showLevelup = function() { var _1zlb = null, _1zlc = this; new _1zk7.TaskShowLevelup(this._scene, !1).start(function() { var _1zld = null; _1zlc._showExtraReward(); }); }, _1zkc.prototype._showExtraReward = function() { var _1zle = null, _1zlf = this, _1zlg = new _1zk1.SerialTask(); _1zlg.add(new _1zk8.TaskShowExtraResults(this._scene)), _1zlg.add(new _1zk3.WaitTask(500)), _1zlg.start(function() { var _1zlh = null; 1 == _1zlf._scene.data.battle_model.deck_f.isCombined() ? _1zlf._showNextGearButton() : _1zlf._endTask(); }); }, _1zkc.prototype._showNextGearButton = function() { var _1zli = null, _1zlj = this, _1zlk = new _1zk5.GearBtnNext(); _1zlk.position.set(1130, 648), _1zlk.initialize(), _1zlk.activate(), this._scene.view.addChild(_1zlk); var _1zll = new _1zk4.AreaBox(0); _1zll.buttonMode = !0, this._scene.view.addChild(_1zll), _1zll.once(_1zjz.EventType.CLICK, function() { var _1zlm = null; _1zlk.deactivate(), _1zlj._scene.view.removeChild(_1zlk), _1zlj._scene.view.removeChild(_1zll), _1zlj._hideMainDeckBanners(); }); }, _1zkc.prototype._hideMainDeckBanners = function() { var _1zln = null, _1zlo = this, _1zlp = new _1zk2.TweenTask(), _1zlq = this._scene.view.layer_banner.banners_f.createHideTweens(0), _1zlr = _1zlq.length; _1zlp.addTweens(_1zlq), _1zlq = this._scene.view.layer_banner.info_f.createHideTweens(0), _1zlp.addTweens(_1zlq); var _1zls = 100 * (_1zlr - 1) + 200; _1zlq = this._scene.view.panel_exp.createHideShipExpTweens(300, _1zls - 300), _1zlp.addTweens(_1zlq), _1zlp.addTween(this._scene.view.layer_mvp.createHideTween(300, _1zls - 300)), _1zlp.addTween(this._scene.view.layer_deck_info.friend.createHideDeckNameTween(_1zls - 200, 200)), _1zlp.start(function() { var _1zlt = null; _1zlo._showSubDeckBanners(); }); }, _1zkc.prototype._showSubDeckBanners = function() { var _1zlu = null, _1zlv = this, _1zlw = new _1zk2.TweenTask(), _1zlx = this._scene.data.battle_model.deck_f.ships_sub; this._scene.view.layer_banner.banners_f.initialize(_1zlx), this._scene.view.layer_banner.info_f.initialize(_1zlx); var _1zly = this._scene.view.layer_banner.banners_f.createShowTweens(0), _1zlz = _1zly.length; _1zlw.addTweens(_1zly), _1zly = this._scene.view.layer_banner.info_f.createShowTweens(0), _1zlw.addTweens(_1zly); var _1zm0 = 100 * (_1zlz - 1) + 200, _1zm1 = this._scene.data.getShipExp(!0); _1zly = this._scene.view.panel_exp.createShowShipExpTweens(_1zm1, 300, _1zm0 - 300), _1zlw.addTweens(_1zly); var _1zm2 = this._scene.data.getMvpIndex(!0); if (_1zm2 >= 0) { var _1zm3 = _1zlx[_1zm2], _1zm4 = _1zm3.mst_id, _1zm5 = _1zm3.isDamaged(), _1zm6 = _1zjy.default.resources.getShip(_1zm4, _1zm5, 'full'), _1zm7 = _1zjy.default.model.ship_graph.get(_1zm4).getBattleOffset(_1zm5); _1zlw.addTween(this._scene.view.layer_mvp.createShowTween(_1zm6, _1zm7, 300, _1zm0 - 300).call(function() { var _1zm8 = null; _1zlv._playVoice(_1zm4); })); var _1zm9 = this._scene.view.layer_banner.banners_f.getBanner(_1zm2); _1zlw.addTween(_1zm9.createShowMVPCoinTween()); } var _1zma = this._scene.data.deck_name_f2; _1zlw.addTween(this._scene.view.layer_deck_info.friend.createShowDeckNameTween(_1zma, _1zm0 - 200, 200)), _1zlw.start(function() { var _1zmb = null; _1zlv._showLevelupCombined(); }); }, _1zkc.prototype._showLevelupCombined = function() { var _1zmc = null, _1zmd = this; new _1zk7.TaskShowLevelup(this._scene, !0).start(function() { var _1zme = null; _1zmd._endTask(); }); }, _1zkc; }(_1zk0.TaskBase); _1zjb.TaskExp = _1zk9; }, 42613: function(_1zmf, _1zmg, _1zmh) { 'use strict'; var _1zmi = null; var _1zmj, _1zmk = this && this.__extends || (_1zmj = function(_1zml, _1zmm) { var _1zmn = null; return _1zmj = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1zmo, _1zmp) { var _1zmq = null; _1zmo.__proto__ = _1zmp; } || function(_1zmr, _1zms) { var _1zmt = null; for (var _1zmu in _1zms) Object.prototype.hasOwnProperty.call(_1zms, _1zmu) && (_1zmr[_1zmu] = _1zms[_1zmu]); }, _1zmj(_1zml, _1zmm); }, function(_1zmv, _1zmw) { var _1zmx = null; if ('function' != typeof _1zmw && null !== _1zmw) throw new TypeError('Class extends value ' + String(_1zmw) + ' is not a constructor or null'); function _1zmy() { var _1zmz = null; this.constructor = _1zmv; } _1zmj(_1zmv, _1zmw), _1zmv.prototype = null === _1zmw ? Object.create(_1zmw) : (_1zmy.prototype = _1zmw.prototype, new _1zmy()); }), _1zn0 = this && this.__importDefault || function(_1zn1) { var _1zn2 = null; return _1zn1 && _1zn1.__esModule ? _1zn1 : { 'default': _1zn1 }; }; defineModule(_1zmg); Object.defineProperty(_1zmg, '__esModule', { 'value': !0 }), _1zmg.TaskInit = void 0; var _1zn3 = _1zn0(_1zmh(18622)), _1zn4 = _1zmh(81755), _1zn5 = _1zmh(72202), _1zn6 = _1zmh(20137), _1zn7 = _1zmh(26802), _1zn8 = _1zmh(78774), _1zn9 = _1zmh(2533), _1zna = _1zmh(71633), _1znb = function(_1znc) { var _1znd = null; function _1zne(_1znf) { var _1zng = null, _1znh = _1znc.call(this) || this; return _1znh._waited = !1, _1znh._connected = !1, _1znh._scene = _1znf, _1znh; } return _1zmk(_1zne, _1znc), _1zne.prototype._start = function() { var _1zni = null, _1znj = this, _1znk = null != _1zn3.default.model.map.getArea(_1zna.EventConst.AREA_ID); new _1zn5.TaskLoadResourcesBattleResult(_1znk).start(function() { var _1znl = null; _1znj._loadBannerImages(); }); }, _1zne.prototype._loadBannerImages = function() { var _1znm = null; for (var _1znn = this, _1zno = new _1zn6.ShipLoader(), _1znp = this._scene.data.battle_model, _1znq = 0, _1znr = _1znp.deck_f.ships; _1znq < _1znr.length; _1znq++) { var _1zns = _1znr[_1znq]; this._addResourceToLoader(_1zno, _1zns); } for (var _1znt = 0, _1znu = _1znp.deck_e.ships; _1znt < _1znu.length; _1znt++) { _1zns = _1znu[_1znt], this._addResourceToLoader(_1zno, _1zns); } _1zno.load(function() { var _1znv = null; _1znn._showImage(); }); }, _1zne.prototype._addResourceToLoader = function(_1znw, _1znx) { var _1zny = null; null != _1znx && (_1znx.hp_now <= 0 ? _1znw.add(_1znx.mst_id, !0, 'banner_g') : _1znw.add(_1znx.mst_id, _1znx.isDamaged(), 'banner')); }, _1zne.prototype._showImage = function() { var _1znz = null, _1zo0 = this, _1zo1 = _1zn7.BATTLE_RESULT_MAIN.getTexture(67); this._img = new PIXI.Sprite(_1zo1), this._img.anchor.set(0.5, 0.5), this._img.position.set(330, 290), this._img.alpha = 0, this._scene.addChild(this._img), createjs.Tween.get(this._img).to({ 'alpha': 1 }, 200).call(function() { var _1zo2 = null; _1zo0._waited = !0, _1zo0._hideImage(); }), this._connectAPI(); }, _1zne.prototype._connectAPI = function() { var _1zo3 = null, _1zo4 = this; (1 == this._scene.data.battle_model.isPractice() ? new _1zn9.APIPracticeResult(this._scene.data) : new _1zn8.APIBattleResult(this._scene.data)).start(function() { var _1zo5 = null; _1zo4._connected = !0, _1zo4._hideImage(); }); }, _1zne.prototype._hideImage = function() { var _1zo6 = null, _1zo7 = this; 0 != this._waited && 0 != this._connected && createjs.Tween.get(this._img).to({ 'x': 270 }, 200).to({ 'x': 240, 'alpha': 0 }, 200).wait(500).call(function() { var _1zo8 = null; _1zo7._img.parent.removeChild(_1zo7._img), _1zo7._showTitle(); }); }, _1zne.prototype._showTitle = function() { var _1zo9 = null, _1zoa = this; this._scene.view.layer_title.show(); var _1zob = this._scene.data.map_name; this._scene.view.layer_map_name.initialize(_1zob), this._scene.view.layer_bg.initialize(); var _1zoc = this._scene.data.user_name_f, _1zod = this._scene.data.user_level_f, _1zoe = this._scene.data.deck_name_f, _1zof = this._scene.data.deck_name_e, _1zog = this._scene.data.battle_model.deck_f.isYugeki(); this._scene.view.layer_deck_info.initialize(_1zoc, _1zod, _1zoe, _1zof, _1zog), (this._scene.data.battle_model.deck_f.ships, this._scene.data.battle_model.deck_e.ships), (this._scene.view.layer_bg.once('complete', function() { var _1zoh = null; _1zoa._scene.view.layer_map_name.show(); }), this._scene.view.layer_map_name.once('complete', function() { var _1zoi = null; _1zoa._endTask(); }), this._scene.view.layer_bg.show()); }, _1zne; }(_1zn4.TaskBase); _1zmg.TaskInit = _1znb; }, 28853: function(_1zoj, _1zok, _1zol) { 'use strict'; var _1zom = null; var _1zon, _1zoo = this && this.__extends || (_1zon = function(_1zop, _1zoq) { var _1zor = null; return _1zon = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1zos, _1zot) { var _1zou = null; _1zos.__proto__ = _1zot; } || function(_1zov, _1zow) { var _1zox = null; for (var _1zoy in _1zow) Object.prototype.hasOwnProperty.call(_1zow, _1zoy) && (_1zov[_1zoy] = _1zow[_1zoy]); }, _1zon(_1zop, _1zoq); }, function(_1zoz, _1zp0) { var _1zp1 = null; if ('function' != typeof _1zp0 && null !== _1zp0) throw new TypeError('Class extends value ' + String(_1zp0) + ' is not a constructor or null'); function _1zp2() { var _1zp3 = null; this.constructor = _1zoz; } _1zon(_1zoz, _1zp0), _1zoz.prototype = null === _1zp0 ? Object.create(_1zp0) : (_1zp2.prototype = _1zp0.prototype, new _1zp2()); }), _1zp4 = this && this.__importDefault || function(_1zp5) { var _1zp6 = null; return _1zp5 && _1zp5.__esModule ? _1zp5 : { 'default': _1zp5 }; }; defineModule(_1zok); Object.defineProperty(_1zok, '__esModule', { 'value': !0 }), _1zok.TaskMain = void 0; var _1zp7 = _1zp4(_1zol(21359)), _1zp8 = _1zp4(_1zol(18622)), _1zp9 = _1zol(85492), _1zpa = _1zol(5527), _1zpb = _1zol(81755), _1zpc = _1zol(21576), _1zpd = _1zol(19639), _1zpe = _1zol(24165), _1zpf = _1zol(42196), _1zpg = _1zol(23402), _1zph = _1zol(31000), _1zpi = _1zol(71633), _1zpj = function(_1zpk) { var _1zpl = null; function _1zpm(_1zpn) { var _1zpo = null, _1zpp = _1zpk.call(this) || this; return _1zpp._scene = _1zpn, _1zpp; } return _1zoo(_1zpm, _1zpk), _1zpm.prototype._start = function() { var _1zpq = null, _1zpr = this; this._scene.view.layer_deck_info.show(function() { var _1zps = null; _1zpr._showShips(); }); }, _1zpm.prototype._showShips = function() { var _1zpt = null, _1zpu = this, _1zpv = this._scene.data.battle_model.deck_e.isCombined(), _1zpw = this._scene.data.getM2(), _1zpx = this._scene.data.battle_model.map_info.area_id, _1zpy = this._scene.data.battle_model.map_info.map_no; 45 == _1zpx && 3 == _1zpy && 1 == _1zpw && _1zph.SE.play('258'), (0 == _1zpv ? new _1zpz(this._scene) : new _1zq0(this._scene)).start(function() { var _1zq1 = null; _1zpu._showRank(); }); }, _1zpm.prototype._showRank = function() { var _1zq2 = null, _1zq3 = this, _1zq4 = this._scene.data.battle_model.map_info.area_id; if (_1zq4 == _1zpi.EventConst.AREA_ID && 1 == this._scene.data.isFirstClear()) { var _1zq5 = this._scene.data.battle_model.map_info.map_no, _1zq6 = _1zp8.default.model.map.getMapMsts(_1zq4); null != _1zq6 && _1zq6.length > 0 && _1zq6[_1zq6.length - 1].map_no == _1zq5 ? _1zp8.default.sound.voice.play('9999', 427) : _1zp8.default.sound.voice.play('9999', 425); } new _1zpc.TaskRank(this._scene).start(function() { var _1zq7 = null; _1zq3._showExp(); }); }, _1zpm.prototype._showExp = function() { var _1zq8 = null, _1zq9 = this; new _1zpd.TaskExp(this._scene).start(function() { var _1zqa = null; _1zq9._showTransportResult(); }); }, _1zpm.prototype._showTransportResult = function() { var _1zqb = null, _1zqc = this; new _1zpg.PhaseTransportResult(this._scene).start(function() { var _1zqd = null; _1zqc._phaseBonus(); }); }, _1zpm.prototype._phaseBonus = function() { var _1zqe = null, _1zqf = this; new _1zpe.PhaseBonus(this._scene).start(function() { var _1zqg = null; _1zqf._phaseClear(); }); }, _1zpm.prototype._phaseClear = function() { var _1zqh = null, _1zqi = this; new _1zpf.PhaseClear(this._scene).start(function() { var _1zqj = null; _1zqi._endTask(); }); }, _1zpm; }(_1zpb.TaskBase); _1zok.TaskMain = _1zpj; var _1zpz = function(_1zqk) { var _1zql = null; function _1zqm(_1zqn) { var _1zqo = null, _1zqp = _1zqk.call(this) || this; return _1zqp._scene = _1zqn, _1zqp; } return _1zoo(_1zqm, _1zqk), _1zqm.prototype._start = function() { var _1zqq = null, _1zqr = this, _1zqs = this._scene.data.battle_model.deck_f.ships_main; this._layer.banners_f.initialize(_1zqs), this._layer.info_f.initialize(_1zqs); var _1zqt = this._scene.data.battle_model.deck_e.ships_main; this._layer.banners_e.initialize(_1zqt), this._layer.info_e.initialize(_1zqt); var _1zqu = new _1zp9.TweenTask(), _1zqv = this._layer.banners_f.createShowTweens(200); _1zqu.addTweens(_1zqv), _1zqv = this._layer.banners_e.createShowTweens(200), _1zqu.addTweens(_1zqv), _1zqu.start(function() { var _1zqw = null; _1zqr._showNames(); }); }, _1zqm.prototype._showNames = function() { var _1zqx = null, _1zqy = this, _1zqz = new _1zp9.TweenTask(), _1zr0 = this._layer.info_f.createShowTweens(200); _1zqz.addTweens(_1zr0), _1zr0 = this._layer.info_e.createShowTweens(200), _1zqz.addTweens(_1zr0), _1zqz.start(function() { var _1zr1 = null; _1zqy._showGauge(); }); }, _1zqm.prototype._showGauge = function() { var _1zr2 = null, _1zr3 = this, _1zr4 = new _1zpa.ParallelTask(), _1zr5 = this._scene.data.battle_model, _1zr6 = this._scene.view.layer_deck_info, _1zr7 = _1zr5.ship_info.getFirstData(!1).getTotalHP(), _1zr8 = _1zr5.ship_info.getLastData(!1).getTotalHP(); _1zr4.add(_1zr6.friend.createTaskShowGauge(_1zr7, _1zr8, 200)); var _1zr9 = _1zr5.ship_info.getFirstData(!0).getTotalHP(), _1zra = _1zr5.ship_info.getLastData(!0).getTotalHP(); _1zr4.add(_1zr6.enemy.createTaskShowGauge(_1zr9, _1zra, _1zr7, _1zr8, 200)), _1zr4.start(function() { var _1zrb = null; _1zr3._hideEnemySide(); }); }, _1zqm.prototype._hideEnemySide = function() { var _1zrc = null, _1zrd = this, _1zre = new _1zp9.TweenTask(); _1zre.addTween(createjs.Tween.get(this._scene.view.layer_deck_info.enemy).wait(500).to({ 'x': _1zp7.default.width }, 300)); var _1zrf = this._scene.view.layer_banner.createSlideOutEnemyTweens(300, 500); _1zre.addTweens(_1zrf), _1zre.start(function() { var _1zrg = null; _1zrd._endTask(); }); }, Object.defineProperty(_1zqm.prototype, '_layer', { 'get': function() { var _1zrh = null; return this._scene.view.layer_banner; }, 'enumerable': !1, 'configurable': !0 }), _1zqm; }(_1zpb.TaskBase), _1zq0 = function(_1zri) { var _1zrj = null; function _1zrk(_1zrl) { var _1zrm = null, _1zrn = _1zri.call(this) || this; return _1zrn._scene = _1zrl, _1zrn; } return _1zoo(_1zrk, _1zri), _1zrk.prototype._start = function() { var _1zro = null, _1zrp = this, _1zrq = this._scene.data.battle_model.deck_f.ships_main; this._layer.banners_f.initialize(_1zrq), this._layer.info_f.initialize(_1zrq); var _1zrr = this._scene.data.battle_model.deck_e.ships_sub; this._layer.banners_e.initialize(_1zrr), this._layer.info_e.initialize(_1zrr); var _1zrs = new _1zp9.TweenTask(), _1zrt = this._layer.banners_f.createShowTweens(200); _1zrs.addTweens(_1zrt), _1zrt = this._layer.banners_e.createShowTweens(200), _1zrs.addTweens(_1zrt), _1zrs.start(function() { var _1zru = null; _1zrp._showNames(); }); }, _1zrk.prototype._showNames = function() { var _1zrv = null, _1zrw = this, _1zrx = new _1zp9.TweenTask(), _1zry = this._layer.info_f.createShowTweens(200); _1zrx.addTweens(_1zry), _1zry = this._layer.info_e.createShowTweens(200), _1zrx.addTweens(_1zry), _1zrx.start(function() { var _1zrz = null; _1zrw._hideEnemyBannerAndNames(); }); }, _1zrk.prototype._hideEnemyBannerAndNames = function() { var _1zs0 = null, _1zs1 = this, _1zs2 = new _1zp9.TweenTask(), _1zs3 = this._layer.banners_e.createHideTweens(500); _1zs2.addTweens(_1zs3), _1zs3 = this._layer.info_e.createHideTweens(500), _1zs2.addTweens(_1zs3), _1zs2.start(function() { var _1zs4 = null; _1zs1._showGauge(); }); }, _1zrk.prototype._showGauge = function() { var _1zs5 = null, _1zs6 = this, _1zs7 = 500, _1zs8 = new _1zpa.ParallelTask(), _1zs9 = this._scene.data.battle_model.deck_e.ships_main; this._layer.banners_e.initialize(_1zs9), this._layer.info_e.initialize(_1zs9); var _1zsa = new _1zp9.TweenTask(), _1zsb = this._layer.banners_e.createShowTweens(_1zs7); _1zsa.addTweens(_1zsb), _1zsb = this._layer.info_e.createShowTweens(_1zs7), _1zsa.addTweens(_1zsb), _1zs8.add(_1zsa); var _1zsc = this._scene.data.battle_model, _1zsd = this._scene.view.layer_deck_info, _1zse = _1zsc.ship_info.getFirstData(!1).getTotalHP(), _1zsf = _1zsc.ship_info.getLastData(!1).getTotalHP(); _1zs8.add(_1zsd.friend.createTaskShowGauge(_1zse, _1zsf, _1zs7)); var _1zsg = _1zsc.ship_info.getFirstData(!0).getTotalHP(), _1zsh = _1zsc.ship_info.getLastData(!0).getTotalHP(); _1zs8.add(_1zsd.enemy.createTaskShowGauge(_1zsg, _1zsh, _1zse, _1zsf, _1zs7)), _1zs8.start(function() { var _1zsi = null; _1zs6._hideEnemySide(); }); }, _1zrk.prototype._hideEnemySide = function() { var _1zsj = null, _1zsk = this, _1zsl = new _1zp9.TweenTask(); _1zsl.addTween(createjs.Tween.get(this._scene.view.layer_deck_info.enemy).wait(500).to({ 'x': _1zp7.default.width }, 300)); var _1zsm = this._scene.view.layer_banner.createSlideOutEnemyTweens(300, 500); _1zsl.addTweens(_1zsm), _1zsl.start(function() { var _1zsn = null; _1zsk._endTask(); }); }, Object.defineProperty(_1zrk.prototype, '_layer', { 'get': function() { var _1zso = null; return this._scene.view.layer_banner; }, 'enumerable': !1, 'configurable': !0 }), _1zrk; }(_1zpb.TaskBase); }, 79018: function(_1zsp, _1zsq, _1zsr) { 'use strict'; var _1zss = null; var _1zst, _1zsu = this && this.__extends || (_1zst = function(_1zsv, _1zsw) { var _1zsx = null; return _1zst = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1zsy, _1zsz) { var _1zt0 = null; _1zsy.__proto__ = _1zsz; } || function(_1zt1, _1zt2) { var _1zt3 = null; for (var _1zt4 in _1zt2) Object.prototype.hasOwnProperty.call(_1zt2, _1zt4) && (_1zt1[_1zt4] = _1zt2[_1zt4]); }, _1zst(_1zsv, _1zsw); }, function(_1zt5, _1zt6) { var _1zt7 = null; if ('function' != typeof _1zt6 && null !== _1zt6) throw new TypeError('Class extends value ' + String(_1zt6) + ' is not a constructor or null'); function _1zt8() { var _1zt9 = null; this.constructor = _1zt5; } _1zst(_1zt5, _1zt6), _1zt5.prototype = null === _1zt6 ? Object.create(_1zt6) : (_1zt8.prototype = _1zt6.prototype, new _1zt8()); }), _1zta = this && this.__importDefault || function(_1ztb) { var _1ztc = null; return _1ztb && _1ztb.__esModule ? _1ztb : { 'default': _1ztb }; }; defineModule(_1zsq); Object.defineProperty(_1zsq, '__esModule', { 'value': !0 }), _1zsq.TaskMapOpen = void 0; var _1ztd = _1zta(_1zsr(21359)), _1zte = _1zta(_1zsr(18622)), _1ztf = _1zsr(10742), _1ztg = _1zsr(81755), _1zth = _1zsr(79899), _1zti = _1zsr(38204), _1ztj = _1zsr(2156), _1ztk = _1zsr(45054), _1ztl = _1zsr(70723), _1ztm = _1zsr(11997), _1ztn = _1zsr(26802), _1zto = _1zsr(53940), _1ztp = _1zsr(24303), _1ztq = _1zsr(35380), _1ztr = _1zsr(71633), _1zts = function(_1ztt) { var _1ztu = null; function _1ztv(_1ztw, _1ztx) { var _1zty = null, _1ztz = _1ztt.call(this) || this; return _1ztz._voice_played = !1, _1ztz._next_map_ids = _1ztx, _1ztz._canvas = new PIXI.Container(), _1ztw.addChild(_1ztz._canvas), _1ztz; } return _1zsu(_1ztv, _1ztt), _1ztv.prototype._start = function() { var _1zu0 = null, _1zu1 = this; createjs.Tween.get(null).wait(1000).call(function() { var _1zu2 = null; _1zu1._showTelopBG(); }); }, _1ztv.prototype._showTelopBG = function() { var _1zu3 = null, _1zu4 = this; this._telop_bg = new PIXI.Sprite(_1ztm.COMMON_MISC.getTexture(127)), this._telop_bg.y = _1ztd.default.height / 2 - Math.round(this._telop_bg.height / 2), this._telop_bg.alpha = 0, this._canvas.addChild(this._telop_bg); var _1zu5 = new PIXI.Sprite(_1ztn.BATTLE_RESULT_MAIN.getTexture(23)); _1zu5.y = _1ztd.default.height / 2 - Math.round(_1zu5.height / 2), this._canvas.addChild(_1zu5), createjs.Tween.get(this._telop_bg).to({ 'alpha': 1 }, 500), createjs.Tween.get(_1zu5).to({ 'alpha': 0 }, 500).wait(200).call(function() { var _1zu6 = null; _1zu4._canvas.removeChild(_1zu5), _1zu4._showMapIcon(); }); }, _1ztv.prototype._showMapIcon = function() { var _1zu7 = null, _1zu8 = this; if (null != this._next_map_ids && 0 != this._next_map_ids.length) { var _1zu9 = this._next_map_ids.shift(); this._map_icon = new _1zua(), this._map_icon.scale.set(1.58), this._map_icon.alpha = 0, this._map_icon.position.set(_1ztd.default.width / 2, _1ztd.default.height / 2), this._canvas.addChild(this._map_icon), this._message = new _1zub(), this._message.update(_1zu9), this._message.alpha = 0, this._message.position.set(_1ztd.default.width / 2, 581), this._canvas.addChild(this._message); var _1zuc = _1ztf.MapUtil.toAreaID(_1zu9), _1zud = _1ztf.MapUtil.toMapNo(_1zu9); this._map_icon.load(_1zuc, _1zud, function() { var _1zue = null; createjs.Tween.get(_1zu8._map_icon).to({ 'scaleX': 1, 'scaleY': 1, 'alpha': 1 }, 300), createjs.Tween.get(_1zu8._message).to({ 'alpha': 1 }, 300).call(function() { var _1zuf = null; _1zu8._showParticle(_1zu9); }); }); } }, _1ztv.prototype._showParticle = function(_1zug) { var _1zuh = null, _1zui = this; if (this._particles = new _1ztp.ParticleLayer(), this._particles.addParticle(222, -110), this._particles.addParticle(245, -87), this._particles.addParticle(200, -87), this._particles.addParticle(-200, 20), this._particles.addParticle(-245, 20), this._particles.addParticle(-177, 42), this._particles.addParticle(-222, 42), this._particles.addParticle(-155, 65), this._particles.addParticle(-200, 65), this._particles.addParticle(-245, 65), this._particles.addParticle(-132, 87), this._particles.addParticle(-177, 87), this._particles.addParticle(-222, 87), this._particles.addParticle(-200, 110), this._particles.position.set(_1ztd.default.width / 2, _1ztd.default.height / 2), this._canvas.addChild(this._particles), this._particles.startAnimation(), _1ztl.SE.play('243'), 1 == _1ztf.MapUtil.toMapNo(_1zug)) { var _1zuj = _1ztf.MapUtil.toAreaID(_1zug); this._area_icon = new _1zto.AreaIcon(), this._area_icon.initialize(_1zuj), this._area_icon.x = _1ztd.default.width / 2 + this._area_icon.width / 2, this._area_icon.scale.set(1.33), this._map_icon.addChild(this._area_icon), createjs.Tween.get(this._area_icon).wait(200).to({ 'x': 0 }, 400).to({ 'scaleX': 1, 'scaleY': 1 }, 400).wait(100).call(function() { var _1zuk = null; _1zui._hide(_1zug); }); } else createjs.Tween.get(null).wait(1100).call(function() { var _1zul = null; _1zui._hide(_1zug); }); }, _1ztv.prototype._hide = function(_1zum) { var _1zun = null, _1zuo = this; _1ztf.MapUtil.toAreaID(_1zum) == _1ztr.EventConst.AREA_ID && 0 == this._voice_played && (_1zte.default.sound.voice.play('9999', 426), this._voice_played = !0), null != this._next_map_ids && this._next_map_ids.length > 0 ? (createjs.Tween.get(this._map_icon).wait(800).to({ 'x': -525 }, 300), createjs.Tween.get(this._message).wait(800).to({ 'alpha': 0 }, 300), createjs.Tween.get(this._particles).wait(800).to({ 'alpha': 0 }, 300).call(function() { var _1zup = null; _1zuo._particles.stopAnimation(), _1zuo._canvas.removeChild(_1zuo._map_icon), _1zuo._canvas.removeChild(_1zuo._message), _1zuo._canvas.removeChild(_1zuo._particles); }).wait(1000).call(function() { var _1zuq = null; _1zuo._showMapIcon(); })) : this._hideLast(); }, _1ztv.prototype._hideLast = function() { var _1zur = null, _1zus = this, _1zut = new _1zth.AreaBox(0); _1zut.buttonMode = !0; var _1zuu = new _1zti.GearBtnNext(); _1zuu.position.set(1137, 654), _1zuu.initialize(), _1zuu.activate(), _1zut.addChild(_1zuu), this._canvas.addChild(_1zut), _1zut.once(_1ztq.EventType.CLICK, function() { var _1zuv = null; _1zus._canvas.removeChild(_1zut), createjs.Tween.get(_1zus._canvas).to({ 'alpha': 0 }, 400).call(function() { var _1zuw = null; _1zus._particles.stopAnimation(), _1zuu.deactivate(), _1zus._canvas.parent.removeChild(_1zus._canvas), _1zus._endTask(); }); }); }, _1ztv; }(_1ztg.TaskBase); _1zsq.TaskMapOpen = _1zts; var _1zua = function(_1zux) { var _1zuy = null; function _1zuz() { var _1zv0 = null, _1zv1 = _1zux.call(this) || this; return _1zv1._image = new _1ztj.MapThumbnailImage(), _1zv1.addChild(_1zv1._image), _1zv1; } return _1zsu(_1zuz, _1zux), _1zuz.prototype.load = function(_1zv2, _1zv3, _1zv4) { var _1zv5 = null, _1zv6 = this; this._image.setImage(_1zv2, _1zv3, function() { var _1zv7 = null; _1zv6._image.x = -Math.round(_1zv6._image.width / 2), _1zv6._image.y = -Math.round(_1zv6._image.height / 2), null != _1zv4 && _1zv4(); }); }, _1zuz; }(_1ztk.Container), _1zub = function(_1zv8) { var _1zv9 = null; function _1zva() { var _1zvb = null, _1zvc = _1zv8.call(this) || this; return _1zvc._image = new PIXI.Sprite(), _1zvc.addChild(_1zvc._image), _1zvc; } return _1zsu(_1zva, _1zv8), _1zva.prototype.update = function(_1zvd) { var _1zve = null, _1zvf = _1ztf.MapUtil.toMapNo(_1zvd); this._image.texture = 1 == _1zvf ? _1ztn.BATTLE_RESULT_MAIN.getTexture(74) : _1ztn.BATTLE_RESULT_MAIN.getTexture(73), this._image.x = -Math.round(this._image.width / 2), this._image.y = -Math.round(this._image.height / 2); }, _1zva; }(PIXI.Container); }, 7684: function(_1zvg, _1zvh, _1zvi) { 'use strict'; var _1zvj = null; var _1zvk, _1zvl = this && this.__extends || (_1zvk = function(_1zvm, _1zvn) { var _1zvo = null; return _1zvk = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1zvp, _1zvq) { var _1zvr = null; _1zvp.__proto__ = _1zvq; } || function(_1zvs, _1zvt) { var _1zvu = null; for (var _1zvv in _1zvt) Object.prototype.hasOwnProperty.call(_1zvt, _1zvv) && (_1zvs[_1zvv] = _1zvt[_1zvv]); }, _1zvk(_1zvm, _1zvn); }, function(_1zvw, _1zvx) { var _1zvy = null; if ('function' != typeof _1zvx && null !== _1zvx) throw new TypeError('Class extends value ' + String(_1zvx) + ' is not a constructor or null'); function _1zvz() { var _1zw0 = null; this.constructor = _1zvw; } _1zvk(_1zvw, _1zvx), _1zvw.prototype = null === _1zvx ? Object.create(_1zvx) : (_1zvz.prototype = _1zvx.prototype, new _1zvz()); }), _1zw1 = this && this.__importDefault || function(_1zw2) { var _1zw3 = null; return _1zw2 && _1zw2.__esModule ? _1zw2 : { 'default': _1zw2 }; }; defineModule(_1zvh); Object.defineProperty(_1zvh, '__esModule', { 'value': !0 }), _1zvh.TaskNormalBonus = void 0; var _1zw4 = _1zw1(_1zvi(18622)), _1zw5 = _1zvi(81755), _1zw6 = _1zvi(61953), _1zw7 = _1zvi(75223), _1zw8 = _1zvi(66279), _1zw9 = _1zvi(2243), _1zwa = _1zvi(68853), _1zwb = _1zvi(71633), _1zwc = function(_1zwd) { var _1zwe = null; function _1zwf(_1zwg) { var _1zwh = null, _1zwi = _1zwd.call(this) || this; return _1zwi._scene = _1zwg, _1zwi; } return _1zvl(_1zwf, _1zwd), _1zwf.prototype._start = function() { var _1zwj = null; this._useitemBonus(); }, _1zwf.prototype._useitemBonus = function() { var _1zwk = null, _1zwl = this, _1zwm = this._scene.data.getBonusUseitem(); if (null != _1zwm) { this._play_bgm || (this._play_bgm = !0, _1zw4.default.sound.bgm.play(132, !0, 1000)); var _1zwn = this._scene.view.layer_cutin, _1zwo = _1zwm.mst_id; new _1zw9.TaskBonusTelop(_1zwn, 6, _1zwo).start(function() { var _1zwp = null; if ([68, 93].indexOf(_1zwo) >= 0 && _1zwb.EventConst.SANMA) { var _1zwq = new _1zwa.TaskBonusFish(_1zwn, _1zwo, 1, !1); _1zwq.start(function() { var _1zwr = null; _1zwl._slotitemBonus(_1zwq); }); } else { var _1zws = new _1zw8.TaskBonusUseItem(_1zwn, _1zwo, 1, !1); _1zws.start(function() { var _1zwt = null; _1zwl._slotitemBonus(_1zws); }); } }); } else this._slotitemBonus(null); }, _1zwf.prototype._slotitemBonus = function(_1zwu) { var _1zwv = null, _1zww = this, _1zwx = this._scene.data.getBonusSlot(); if (null != _1zwx) { this._play_bgm || (this._play_bgm = !0, _1zw4.default.sound.bgm.play(132, !0, 1000)); var _1zwy = this._scene.view.layer_cutin, _1zwz = _1zwx.mst_id; new _1zw9.TaskBonusTelop(_1zwy, 2, _1zwz).start(function() { var _1zx0 = null, _1zx1 = new _1zw7.TaskBonusSlot(_1zwy, _1zwz, 1, 1, !1, _1zwu); _1zx1.start(function() { var _1zx2 = null; _1zww._shipBonus(_1zx1); }); }); } else this._shipBonus(_1zwu); }, _1zwf.prototype._shipBonus = function(_1zx3) { var _1zx4 = null, _1zx5 = this, _1zx6 = this._scene.data.getBonusShip(); if (null != _1zx6) { this._play_bgm || (this._play_bgm = !0, _1zw4.default.sound.bgm.play(132, !0, 1000)); var _1zx7 = this._scene.view.layer_cutin, _1zx8 = _1zx6.mst_id, _1zx9 = this._scene.data.battle_model.map_info.area_id, _1zxa = this._scene.data.battle_model.map_info.map_no, _1zxb = 1 == _1zx9 && (1 == _1zxa || 2 == _1zxa || 3 == _1zxa); new _1zw9.TaskBonusTelop(_1zx7, 3, _1zx8, _1zxb).start(function() { var _1zxc = null, _1zxd = new _1zw6.TaskBonusShip(_1zx7, _1zx8, !1, _1zx3); _1zxd.start(function() { var _1zxe = null; _1zx5._closeShutter(_1zxd); }); }); } else this._closeShutter(null); }, _1zwf.prototype._closeShutter = function(_1zxf) { var _1zxg = null, _1zxh = this; this._play_bgm && _1zw4.default.sound.bgm.fadeOut(1200); var _1zxi = this._scene.view.shutter; _1zxi.close(), _1zxi.once('closed', function() { var _1zxj = null; null != _1zxf && _1zxf.dispose(), _1zxh._endTask(); }); }, _1zwf.prototype._endTask = function() { var _1zxk = null; this._scene = null, this._play_bgm = null, _1zwd.prototype._endTask.call(this); }, _1zwf; }(_1zw5.TaskBase); _1zvh.TaskNormalBonus = _1zwc; }, 21576: function(_1zxl, _1zxm, _1zxn) { 'use strict'; var _1zxo = null; var _1zxp, _1zxq = this && this.__extends || (_1zxp = function(_1zxr, _1zxs) { var _1zxt = null; return _1zxp = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_1zxu, _1zxv) { var _1zxw = null; _1zxu.__proto__ = _1zxv; } || function(_1zxx, _1zxy) { var _1zxz = null; for (var _1zy0 in _1zxy) Object.prototype.hasOwnProperty.call(_1zxy, _1zy0) && (_1zxx[_1zy0] = _1zxy[_1zy0]); }, _1zxp(_1zxr, _1zxs); }, function(_1zy1, _1zy2) { var _1zy3 = null; if ('function' != typeof _1zy2 && null !== _1zy2) throw new TypeError('Class extends value ' + String(_1zy2) + ' is not a constructor or null'); function _1zy4() { var _1zy5 = null; this.constructor = _1zy1; } _1zxp(_1zy1, _1zy2), _1zy1.prototype = null === _1zy2 ? Object.create(_1zy2) : (_1zy4.prototype = _1zy2.prototype, new _1zy4()); }), _1zy6 = this && this.__importDefault || function(_1zy7) { var _1zy8 = null; return _1zy7 && _1zy7.__esModule ? _1zy7 : { 'default': _1zy7 }; }; defineModule(_1zxm); Object.defineProperty(_1zxm, '__esModule', { 'value': !0 }), _1zxm.TaskRank = void 0; var _1zy9 = _1zy6(_1zxn(21359)), _1zya = _1zy6(_1zxn(18622)), _1zyb = _1zxn(81755), _1zyc = _1zxn(79899), _1zyd = _1zxn(38204), _1zye = _1zxn(54011), _1zyf = _1zxn(11997), _1zyg = _1zxn(26802), _1zyh = _1zxn(13530), _1zyi = _1zxn(35380), _1zyj = function(_1zyk) { var _1zyl = null; function _1zym(_1zyn) { var _1zyo = null, _1zyp = _1zyk.call(this) || this; _1zyp._parfect = !0, _1zyp._scene = _1zyn; var _1zyq = _1zyp._scene.data.battle_model; if (_1zyp._rank = _1zyp._scene.data.battle_result_rank, 'S' != _1zyp._rank) _1zyp._parfect = !1; else for (var _1zyr = 0, _1zys = _1zyq.deck_f.ships; _1zyr < _1zys.length; _1zyr++) { var _1zyt = _1zys[_1zyr]; if (null != _1zyt) { var _1zyu = _1zyq.ship_info.getFirstData(!0).get(_1zyt.mem_id).hp; if (_1zyt.hp_now < _1zyu) { _1zyp._parfect = !1; break; } } } return 1 == _1zyp._parfect ? _1zyp._view = new _1zyv() : _1zyp._view = new _1zyw(), _1zyp._view.position.set(_1zy9.default.width / 2, _1zy9.default.height / 2), _1zyp; } return _1zxq(_1zym, _1zyk), _1zym.prototype._start = function() { var _1zyx = null, _1zyy, _1zyz = this; (this._view.initialize(this._rank), this._view.bg.alpha = 0, this._view.congratulations.x = _1zy9.default.width, this._view.congratulations_text.x = _1zy9.default.width / 4 * 3, this._view.congratulations_text.alpha = 0, this._view.relief.alpha = 0, this._view.relief.scale.set(1.72), 0 == this._parfect) ? ((_1zyy = this._view).text.alpha = 0, _1zyy.text.scale.set(1.6)) : ((_1zyy = this._view).text_kan.alpha = 0, _1zyy.text_kan.scale.set(2), _1zyy.text_zen.alpha = 0, _1zyy.text_zen.scale.set(2), _1zyy.text_sho.alpha = 0, _1zyy.text_sho.scale.set(2), _1zyy.text_ri.alpha = 0, _1zyy.text_ri.scale.set(2), _1zyy.text_ex.alpha = 0, _1zyy.text_ex.scale.set(2)), this._view.rank.visible = !1; var _1zz0 = new PIXI.Sprite(_1zyg.BATTLE_RESULT_MAIN.getTexture(23)); _1zz0.anchor.set(0.5), this._view.bg.addChild(_1zz0), this._scene.view.addChild(this._view), createjs.Tween.get(this._view.bg).to({ 'alpha': 1 }, 233), createjs.Tween.get(_1zz0).wait(233).to({ 'alpha': 0 }, 266).call(function() { var _1zz1 = null; _1zyz._view.bg.removeChild(_1zz0), _1zyz._showTextAndRelief(); }); }, _1zym.prototype._showTextAndRelief = function() { var _1zz2 = null, _1zz3 = this; if (0 == this._parfect) { var _1zz4 = this._view; createjs.Tween.get(_1zz4.text).to({ 'alpha': 1, 'scaleX': 1, 'scaleY': 1 }, 200); } else _1zz4 = this._view, (createjs.Tween.get(_1zz4.text_kan).to({ 'alpha': 1, 'scaleX': 1, 'scaleY': 1 }, 200).call(function() { var _1zz5 = null, _1zz6 = new PIXI.Rectangle(-540, -60, 120, 120); _1zz3._view.particle.startBigParticle(2, _1zz6); }), createjs.Tween.get(_1zz4.text_zen).wait(66).to({ 'alpha': 1, 'scaleX': 1, 'scaleY': 1 }, 200).call(function() { var _1zz7 = null, _1zz8 = new PIXI.Rectangle(-368, -60, 120, 120); _1zz3._view.particle.startBigParticle(2, _1zz8); }), createjs.Tween.get(_1zz4.text_sho).wait(133).to({ 'alpha': 1, 'scaleX': 1, 'scaleY': 1 }, 200).call(function() { var _1zz9 = null, _1zza = new PIXI.Rectangle(-195, -60, 120, 120); _1zz3._view.particle.startBigParticle(2, _1zza); }), createjs.Tween.get(_1zz4.text_ri).wait(200).to({ 'alpha': 1, 'scaleX': 1, 'scaleY': 1 }, 200).call(function() { var _1zzb = null, _1zzc = new PIXI.Rectangle(-30, -60, 120, 120); _1zz3._view.particle.startBigParticle(2, _1zzc); }), createjs.Tween.get(_1zz4.text_ex).wait(266).to({ 'alpha': 1, 'scaleX': 1, 'scaleY': 1 }, 200).call(function() { var _1zzd = null, _1zze = new PIXI.Rectangle(128, -60, 90, 120); _1zz3._view.particle.startBigParticle(2, _1zze); })); createjs.Tween.get(this._view.relief).to({ 'alpha': 1, 'scaleX': 1, 'scaleY': 1 }, 200).call(function() { var _1zzf = null; _1zz3._showBlueParticle(); }); }, _1zym.prototype._showBlueParticle = function() { var _1zzg = null, _1zzh = this; if (0 == this._parfect && 'S' == this._rank || 'A' == this._rank) { var _1zzi = new PIXI.Rectangle(-420, -75, 405, 150); this._view.particle.startBlueParticle(5, _1zzi); } else 'B' == this._rank && (_1zzi = new PIXI.Rectangle(-570, -60, 690, 120), this._view.particle.startBlueParticle(4, _1zzi)); createjs.Tween.get(this).wait(566).call(function() { var _1zzj = null; _1zzh._showRank(); }); }, _1zym.prototype._showRank = function() { var _1zzk = null, _1zzl = this, _1zzm = 0.58; 'S' == this._rank ? (this._view.particle.startKamihubuki(60), _1zzm = 1, _1zya.default.sound.bgm.play(1, !1, 0, 'fanfare')) : 'A' == this._rank ? (this._view.particle.startKamihubuki(30), _1zya.default.sound.bgm.play(2, !1, 0, 'fanfare')) : 'B' == this._rank ? (this._view.particle.startKamihubuki(15), _1zya.default.sound.bgm.play(3, !1, 0, 'fanfare')) : _1zya.default.sound.bgm.play(4, !1, 0, 'fanfare'), this._view.rank.visible = !0, createjs.Tween.get(this._view.rank).to({ 'scaleX': _1zzm, 'scaleY': _1zzm }, 233).call(function() { var _1zzn = null; _1zzl._showParticle2(); }), 'S' == this._rank && (this._view.congratulations.visible = !0, this._view.congratulations_text.visible = !0, createjs.Tween.get(this._view.congratulations).to({ 'x': 0 }, 233), createjs.Tween.get(this._view.congratulations_text).wait(100).to({ 'x': 0, 'alpha': 1 }, 200)); }, _1zym.prototype._showParticle2 = function() { var _1zzo = null, _1zzp = this; if (1 == this._parfect) { var _1zzq = new PIXI.Rectangle(300, -135, 150, 240); this._view.particle.startBigParticle(6, _1zzq); } else 'S' == this._rank && (_1zzq = new PIXI.Rectangle(210, -135, 150, 240), this._view.particle.startYellowParticle(4, _1zzq)); 'S' == this._rank && (_1zzq = new PIXI.Rectangle(-300, 213, 600, 54), this._view.particle.startGoldParticle(5, _1zzq)), createjs.Tween.get(this).wait(1233).call(function() { var _1zzr = null; _1zzp._showNextGearButton(); }); }, _1zym.prototype._showNextGearButton = function() { var _1zzs = null, _1zzt = this, _1zzu = new _1zyd.GearBtnNext(); _1zzu.position.set(530, 288), _1zzu.initialize(), _1zzu.activate(), this._view.addChild(_1zzu); var _1zzv = new _1zyc.AreaBox(0); _1zzv.buttonMode = !0, _1zzv.position.set(-600, -360), this._view.addChild(_1zzv), _1zzv.once(_1zyi.EventType.CLICK, function() { var _1zzw = null; _1zzt._hideRankCutin(_1zzu, _1zzv); }); }, _1zym.prototype._hideRankCutin = function(_1zzx, _1zzy) { var _1zzz = null, _2000 = this; createjs.Tween.get(this._view).to({ 'alpha': 0 }, 200).call(function() { var _2001 = null; _1zzx.deactivate(), _2000._view.removeChild(_1zzx), _2000._view.removeChild(_1zzy), _2000._scene.view.removeChild(_2000._view), _2000._view.dispose(), _2000._endTask(); }); }, _1zym; }(_1zyb.TaskBase); _1zxm.TaskRank = _1zyj; var _2002 = function(_2003) { var _2004 = null; function _2005() { var _2006 = null, _2007 = _2003.call(this) || this; return _2007._bg = new PIXI.Sprite(), _2007._bg.anchor.set(0.5), _2007._congratulations = new PIXI.Sprite(), _2007._congratulations.anchor.set(0.5), _2007._congratulations.position.set(0, 240), _2007._congratulations_text = new PIXI.Sprite(), _2007._congratulations_text.anchor.set(0.5), _2007._congratulations_text.position.set(0, 240), _2007._relief = new _1zye.Sprite(), _2007._relief.anchor.set(0.5), _2007._relief.position.set(288, 0), _2007._texts_canvas = new _1zye.Sprite(), _2007._texts_canvas.position.set(-219, 0), _2007._rank = new _1zye.Sprite(), _2007._rank.anchor.set(0.5), _2007._rank.position.set(288, 0), _2007._particle = new _2008(), _2007.addChild(_2007._bg), _2007.addChild(_2007._congratulations), _2007.addChild(_2007._congratulations_text), _2007.addChild(_2007._relief), _2007.addChild(_2007._texts_canvas), _2007.addChild(_2007._rank), _2007.addChild(_2007._particle), _2007; } return _1zxq(_2005, _2003), Object.defineProperty(_2005.prototype, 'bg', { 'get': function() { var _2009 = null; return this._bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_2005.prototype, 'congratulations', { 'get': function() { var _200a = null; return this._congratulations; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_2005.prototype, 'congratulations_text', { 'get': function() { var _200b = null; return this._congratulations_text; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_2005.prototype, 'relief', { 'get': function() { var _200c = null; return this._relief; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_2005.prototype, 'texts_canvas', { 'get': function() { var _200d = null; return this._texts_canvas; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_2005.prototype, 'rank', { 'get': function() { var _200e = null; return this._rank; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_2005.prototype, 'particle', { 'get': function() { var _200f = null; return this._particle; }, 'enumerable': !1, 'configurable': !0 }), _2005.prototype.initialize = function(_200g) {}, _2005.prototype.dispose = function() { var _200h = null; this.removeChildren(), this._particle.dispose(); }, _2005; }(PIXI.Container), _1zyw = function(_200i) { var _200j = null; function _200k() { var _200l = null, _200m = _200i.call(this) || this; return _200m._text = new _1zye.Sprite(), _200m._text.anchor.set(0.5), _200m.texts_canvas.addChild(_200m._text), _200m; } return _1zxq(_200k, _200i), Object.defineProperty(_200k.prototype, 'text', { 'get': function() { var _200n = null; return this._text; }, 'enumerable': !1, 'configurable': !0 }), _200k.prototype.initialize = function(_200o) { var _200p = null, _200q; this.bg.texture = _1zyf.COMMON_MISC.getTexture(127), 'S' == _200o ? (this.congratulations.texture = _1zyg.BATTLE_RESULT_MAIN.getTexture(21), this.congratulations_text.texture = _1zyg.BATTLE_RESULT_MAIN.getTexture(22)) : (this.congratulations.texture = PIXI.Texture.EMPTY, this.congratulations_text.texture = PIXI.Texture.EMPTY, this.congratulations.visible = !1, this.congratulations_text.visible = !1), this.relief.texture = 'D' == _200o || 'E' == _200o ? PIXI.Texture.EMPTY : _1zyg.BATTLE_RESULT_MAIN.getTexture(32), this._text.position.x = 0, 'S' == _200o || 'A' == _200o ? _200q = 29 : 'B' == _200o ? (this._text.position.x = 40, _200q = 27) : 'C' == _200o ? (this._text.position.x = 60, _200q = 28) : _200q = 26, this._text.texture = _1zyg.BATTLE_RESULT_MAIN.getTexture(_200q), 'S' == _200o ? (_200q = 36, this.rank.scale.set(1.72)) : _200q = 'A' == _200o ? 30 : 'B' == _200o ? 31 : 'C' == _200o ? 33 : 'D' == _200o ? 34 : 35, this.rank.texture = _1zyg.BATTLE_RESULT_MAIN.getTexture(_200q); }, _200k; }(_2002), _1zyv = function(_200r) { var _200s = null; function _200t() { var _200u = null, _200v = _200r.call(this) || this; return _200v.relief.position.set(375, 0), _200v.rank.position.set(363, 0), _200v._text_kan = new _1zye.Sprite(), _200v._text_kan.anchor.set(0.5), _200v._text_kan.position.set(-269, 0), _200v._text_zen = new _1zye.Sprite(), _200v._text_zen.anchor.set(0.5), _200v._text_zen.position.set(-96, 0), _200v._text_sho = new _1zye.Sprite(), _200v._text_sho.anchor.set(0.5), _200v._text_sho.position.set(77, 0), _200v._text_ri = new _1zye.Sprite(), _200v._text_ri.anchor.set(0.5), _200v._text_ri.position.set(249, 0), _200v._text_ex = new _1zye.Sprite(), _200v._text_ex.anchor.set(0.5), _200v._text_ex.position.set(392, 0), _200v.texts_canvas.addChild(_200v._text_kan), _200v.texts_canvas.addChild(_200v._text_zen), _200v.texts_canvas.addChild(_200v._text_sho), _200v.texts_canvas.addChild(_200v._text_ri), _200v.texts_canvas.addChild(_200v._text_ex), _200v; } return _1zxq(_200t, _200r), Object.defineProperty(_200t.prototype, 'text_kan', { 'get': function() { var _200w = null; return this._text_kan; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_200t.prototype, 'text_zen', { 'get': function() { var _200x = null; return this._text_zen; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_200t.prototype, 'text_sho', { 'get': function() { var _200y = null; return this._text_sho; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_200t.prototype, 'text_ri', { 'get': function() { var _200z = null; return this._text_ri; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_200t.prototype, 'text_ex', { 'get': function() { var _2010 = null; return this._text_ex; }, 'enumerable': !1, 'configurable': !0 }), _200t.prototype.initialize = function(_2011) { var _2012 = null, _2013; this.bg.texture = _1zyf.COMMON_MISC.getTexture(127), 'S' == _2011 ? (this.congratulations.texture = _1zyg.BATTLE_RESULT_MAIN.getTexture(21), this.congratulations_text.texture = _1zyg.BATTLE_RESULT_MAIN.getTexture(22)) : (this.congratulations.texture = PIXI.Texture.EMPTY, this.congratulations_text.texture = PIXI.Texture.EMPTY, this.congratulations.visible = !1, this.congratulations_text.visible = !1), this.relief.texture = 'D' == _2011 || 'E' == _2011 ? PIXI.Texture.EMPTY : _1zyg.BATTLE_RESULT_MAIN.getTexture(32), _2013 = 'S' == _2011 || 'A' == _2011 ? 29 : 'B' == _2011 ? 27 : 'C' == _2011 ? 28 : 26, this._text_kan.texture = _1zyg.BATTLE_RESULT_MAIN.getTexture(75), this._text_zen.texture = _1zyg.BATTLE_RESULT_MAIN.getTexture(76), this._text_sho.texture = _1zyg.BATTLE_RESULT_MAIN.getTexture(77), this._text_ri.texture = _1zyg.BATTLE_RESULT_MAIN.getTexture(78), this._text_ex.texture = _1zyg.BATTLE_RESULT_MAIN.getTexture(79), 'S' == _2011 ? (_2013 = 36, this.rank.scale.set(1.72)) : _2013 = 'A' == _2011 ? 30 : 'B' == _2011 ? 31 : 'C' == _2011 ? 33 : 'D' == _2011 ? 34 : 35, this.rank.texture = _1zyg.BATTLE_RESULT_MAIN.getTexture(_2013); }, _200t; }(_2002), _2008 = function(_2014) { var _2015 = null; function _2016() { var _2017 = null, _2018 = _2014.call(this) || this; return _2018._blue = new PIXI.Container(), _2018._yellow = new PIXI.Container(), _2018._gold = new PIXI.Container(), _2018._big = new PIXI.Container(), _2018._kamihubuki = new _1zyh.KamihubukiLayer(), _2018._kamihubuki.position.set(-600, -360), _2018.addChild(_2018._blue), _2018.addChild(_2018._yellow), _2018.addChild(_2018._gold), _2018.addChild(_2018._big), _2018.addChild(_2018._kamihubuki), _2018; } return _1zxq(_2016, _2014), _2016.prototype.startBlueParticle = function(_2019, _201a) { var _201b = null; for (var _201c = 0; _201c < _2019; _201c++) { var _201d = new _201e(0.2 * Math.random() + 0.8); _201d.x = _201a.x + Math.random() * _201a.width, _201d.y = _201a.y + Math.random() * _201a.height, _201d.initialize(), _201d.activate(), this._blue.addChild(_201d); } }, _2016.prototype.startYellowParticle = function(_201f, _201g) { var _201h = null; for (var _201i = 0; _201i < _201f; _201i++) { var _201j = new _201k(0.1 * Math.random() + 0.9); _201j.x = _201g.x + Math.random() * _201g.width, _201j.y = _201g.y + Math.random() * _201g.height, _201j.initialize(), _201j.activate(), this._blue.addChild(_201j); } }, _2016.prototype.startGoldParticle = function(_201l, _201m) { var _201n = null; for (var _201o = 0; _201o < _201l; _201o++) { var _201p = new _201q(0.2 * Math.random() + 0.8); _201p.x = _201m.x + Math.random() * _201m.width, _201p.y = _201m.y + Math.random() * _201m.height, _201p.initialize(), _201p.activate(), this._gold.addChild(_201p); } }, _2016.prototype.startBigParticle = function(_201r, _201s) { var _201t = null; for (var _201u = 0; _201u < _201r; _201u++) { var _201v = new _201w(0.2 * Math.random() + 0.6); _201v.x = _201s.x + Math.random() * _201s.width, _201v.y = _201s.y + Math.random() * _201s.height, _201v.initialize(), _201v.activate(), this._big.addChild(_201v); } }, _2016.prototype.startKamihubuki = function(_201x) { var _201y = null; this._kamihubuki.startKamihubuki(_201x); }, _2016.prototype.dispose = function() { var _201z = null; for (var _2020 = 0, _2021 = this._blue.children; _2020 < _2021.length; _2020++) { _2021[_2020].deactivate(); } this._blue.removeChildren(); for (var _2022 = 0, _2023 = this._yellow.children; _2022 < _2023.length; _2022++) { _2023[_2022].deactivate(); } this._yellow.removeChildren(); for (var _2024 = 0, _2025 = this._gold.children; _2024 < _2025.length; _2024++) { _2025[_2024].deactivate(); } this._gold.removeChildren(); for (var _2026 = 0, _2027 = this._big.children; _2026 < _2027.length; _2026++) { _2027[_2026].deactivate(); } this._big.removeChildren(), this._kamihubuki.dispose(); }, _2016; }(PIXI.Container), _201e = function(_2028) { var _2029 = null; function _202a(_202b) { var _202c = null, _202d = _2028.call(this) || this; return _202d._base_scale = _202b, _202d.anchor.set(0.5), _202d; } return _1zxq(_202a, _2028), _202a.prototype.initialize = function() { var _202e = null; this.texture = _1zyf.COMMON_MISC.getTexture(122), this._init(); }, _202a.prototype.activate = function() { var _202f = null; this._startAnim(); }, _202a.prototype.deactivate = function() { var _202g = null; this._stopAnim(); }, _202a.prototype._init = function() { var _202h = null; this.alpha = 0, this.scale.set(0); }, _202a.prototype._startAnim = function() { var _202i = null, _202j = this; this._stopAnim(), this._init(); var _202k = 2500 * Math.random(); this._t1 = createjs.Tween.get(this).wait(_202k).to({ 'alpha': 1, 'scaleX': this._base_scale, 'scaleY': this._base_scale }, 133).to({ 'scaleX': 0, 'scaleY': 0 }, 200).call(function() { var _202l = null; _202j._startAnim(); }), this._t2 = createjs.Tween.get(this).wait(_202k).to({ 'rotation': (100 * Math.random() - 50) / 180 * Math.PI }, 333); }, _202a.prototype._stopAnim = function() { var _202m = null; null != this._t1 && (this._t1.setPaused(!0), this._t1 = null), null != this._t2 && (this._t2.setPaused(!0), this._t2 = null); }, _202a; }(_1zye.Sprite), _201k = function(_202n) { var _202o = null; function _202p(_202q) { var _202r = null, _202s = _202n.call(this) || this; return _202s._base_scale = _202q, _202s.anchor.set(0.5), _202s; } return _1zxq(_202p, _202n), _202p.prototype.initialize = function() { var _202t = null; this.texture = _1zyg.BATTLE_RESULT_MAIN.getTexture(12), this._init(); }, _202p.prototype.activate = function() { var _202u = null; this._startAnim(); }, _202p.prototype.deactivate = function() { var _202v = null; this._stopAnim(); }, _202p.prototype._init = function() { var _202w = null; this.alpha = 0, this.scale.set(0); }, _202p.prototype._startAnim = function() { var _202x = null, _202y = this; this._stopAnim(), this._init(); var _202z = 2500 * Math.random(), _2030 = Math.random() < 0.5 ? 1 : -1; this._t1 = createjs.Tween.get(this).wait(_202z).to({ 'alpha': 1, 'scaleX': this._base_scale, 'scaleY': _2030 * this._base_scale }, 133).to({ 'scaleX': 0, 'scaleY': 0 }, 200).call(function() { var _2031 = null; _202y._startAnim(); }), this._t2 = createjs.Tween.get(this).wait(_202z).to({ 'rotation': (100 * Math.random() - 50) / 180 * Math.PI }, 333); }, _202p.prototype._stopAnim = function() { var _2032 = null; null != this._t1 && (this._t1.setPaused(!0), this._t1 = null), null != this._t2 && (this._t2.setPaused(!0), this._t2 = null); }, _202p; }(_1zye.Sprite), _201q = function(_2033) { var _2034 = null; function _2035(_2036) { var _2037 = null, _2038 = _2033.call(this) || this; return _2038._base_scale = _2036, _2038.anchor.set(0.5), _2038; } return _1zxq(_2035, _2033), _2035.prototype.initialize = function() { var _2039 = null; this.texture = _1zyg.BATTLE_RESULT_MAIN.getTexture(11), this._init(); }, _2035.prototype.activate = function() { var _203a = null; this._startAnim(); }, _2035.prototype.deactivate = function() { var _203b = null; this._stopAnim(); }, _2035.prototype._init = function() { var _203c = null; this.alpha = 0, this.scale.set(0); }, _2035.prototype._startAnim = function() { var _203d = null, _203e = this; this._stopAnim(), this._init(); var _203f = 2500 * Math.random(); this._t1 = createjs.Tween.get(this).wait(_203f).to({ 'alpha': 1, 'scaleX': 0.42 * this._base_scale, 'scaleY': 0.42 * this._base_scale }, 133).to({ 'scaleX': 0, 'scaleY': 0 }, 200).call(function() { var _203g = null; _203e._startAnim(); }), this._t2 = createjs.Tween.get(this).wait(_203f).to({ 'rotation': (100 * Math.random() - 50) / 180 * Math.PI }, 333); }, _2035.prototype._stopAnim = function() { var _203h = null; null != this._t1 && (this._t1.setPaused(!0), this._t1 = null), null != this._t2 && (this._t2.setPaused(!0), this._t2 = null); }, _2035; }(_1zye.Sprite), _201w = function(_203i) { var _203j = null; function _203k(_203l) { var _203m = null, _203n = _203i.call(this) || this; return _203n._base_scale = _203l, _203n.anchor.set(0.5), _203n; } return _1zxq(_203k, _203i), _203k.prototype.initialize = function() { var _203o = null; this.texture = _1zyg.BATTLE_RESULT_MAIN.getTexture(10), this._init(); }, _203k.prototype.activate = function() { var _203p = null; this._startAnim(); }, _203k.prototype.deactivate = function() { var _203q = null; this._stopAnim(); }, _203k.prototype._init = function() { var _203r = null; this.alpha = 0, this.scale.set(0); }, _203k.prototype._startAnim = function() { var _203s = null, _203t = this; this._stopAnim(), this._init(); var _203u = 2500 * Math.random(); this._t1 = createjs.Tween.get(this).wait(_203u).to({ 'alpha': 1, 'scaleX': this._base_scale, 'scaleY': this._base_scale }, 133).to({ 'scaleX': 0, 'scaleY': 0 }, 200).call(function() { var _203v = null; _203t._startAnim(); }), this._t2 = createjs.Tween.get(this).wait(_203u).to({ 'rotation': (100 * Math.random() - 50) / 180 * Math.PI }, 333); }, _203k.prototype._stopAnim = function() { var _203w = null; null != this._t1 && (this._t1.setPaused(!0), this._t1 = null), null != this._t2 && (this._t2.setPaused(!0), this._t2 = null); }, _203k; }(_1zye.Sprite); }, 17634: function(_203x, _203y, _203z) { 'use strict'; var _2040 = null; var _2041, _2042 = this && this.__extends || (_2041 = function(_2043, _2044) { var _2045 = null; return _2041 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_2046, _2047) { var _2048 = null; _2046.__proto__ = _2047; } || function(_2049, _204a) { var _204b = null; for (var _204c in _204a) Object.prototype.hasOwnProperty.call(_204a, _204c) && (_2049[_204c] = _204a[_204c]); }, _2041(_2043, _2044); }, function(_204d, _204e) { var _204f = null; if ('function' != typeof _204e && null !== _204e) throw new TypeError('Class extends value ' + String(_204e) + ' is not a constructor or null'); function _204g() { var _204h = null; this.constructor = _204d; } _2041(_204d, _204e), _204d.prototype = null === _204e ? Object.create(_204e) : (_204g.prototype = _204e.prototype, new _204g()); }), _204i = this && this.__importDefault || function(_204j) { var _204k = null; return _204j && _204j.__esModule ? _204j : { 'default': _204j }; }; defineModule(_203y); Object.defineProperty(_203y, '__esModule', { 'value': !0 }), _203y.TaskShowExtraResults = void 0; var _204l = _204i(_203z(18622)), _204m = _203z(81755), _204n = _203z(5527), _204o = function(_204p) { var _204q = null; function _204r(_204s) { var _204t = null, _204u = _204p.call(this) || this; return _204u._scene = _204s, _204u; } return _2042(_204r, _204p), _204r.prototype._start = function() { var _204v = null, _204w = this, _204x = new _204n.ParallelTask(); _204x.add(new _204y(this._scene)), _204x.add(new _204z(this._scene)), _204x.add(new _2050(this._scene)), _204x.start(function() { var _2051 = null; _204w._endTask(); }); }, _204r.prototype._endTask = function() { var _2052 = null; this._scene = null, _204p.prototype._endTask.call(this); }, _204r; }(_204m.TaskBase); _203y.TaskShowExtraResults = _204o; var _204y = function(_2053) { var _2054 = null; function _2055(_2056) { var _2057 = null, _2058 = _2053.call(this) || this; return _2058._scene = _2056, _2058; } return _2042(_2055, _2053), _2055.prototype._start = function() { var _2059 = null, _205a = this, _205b = this._scene.data.extra_war_results; if (_205b > 0) { var _205c = this._scene.view.panel_exp.extra_result.extra_war_result; _205c.update(_205b), _205c.alpha = 0, _205c.visible = !0, createjs.Tween.get(_205c).to({ 'alpha': 1 }, 300).call(function() { var _205d = null; _205a._endTask(); }); } else this._endTask(); }, _2055.prototype._endTask = function() { var _205e = null; this._scene = null, _2053.prototype._endTask.call(this); }, _2055; }(_204m.TaskBase), _204z = function(_205f) { var _205g = null; function _205h(_205i) { var _205j = null, _205k = _205f.call(this) || this; return _205k._scene = _205i, _205k; } return _2042(_205h, _205f), _205h.prototype._start = function() { var _205l = null, _205m = this, _205n = this._scene.data.extra_useitem_mst_id; if (_205n > 0) { var _205o = _204l.default.resources.getUseitem(_205n, 0), _205p = this._scene.view.panel_exp.extra_result.useitem_icon; _205p.texture = _205o, _205p.alpha = 0, _205p.visible = !0, createjs.Tween.get(_205p).to({ 'alpha': 1 }, 300).call(function() { var _205q = null; _205m._endTask(); }); } else this._endTask(); }, _205h.prototype._endTask = function() { var _205r = null; this._scene = null, _205f.prototype._endTask.call(this); }, _205h; }(_204m.TaskBase), _2050 = function(_205s) { var _205t = null; function _205u(_205v) { var _205w = null, _205x = _205s.call(this) || this; return _205x._scene = _205v, _205x; } return _2042(_205u, _205s), _205u.prototype._start = function() { var _205y = null, _205z = this; if (1 == this._scene.data.extra_result) { var _2060 = this._scene.view.panel_exp.extra_result.map_incentive; _2060.alpha = 0, _2060.visible = !0, createjs.Tween.get(_2060).to({ 'alpha': 1 }, 300).call(function() { var _2061 = null; _205z._endTask(); }); } else this._endTask(); }, _205u.prototype._endTask = function() { var _2062 = null; this._scene = null, _205s.prototype._endTask.call(this); }, _205u; }(_204m.TaskBase); }, 9315: function(_2063, _2064, _2065) { 'use strict'; var _2066 = null; var _2067, _2068 = this && this.__extends || (_2067 = function(_2069, _206a) { var _206b = null; return _2067 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_206c, _206d) { var _206e = null; _206c.__proto__ = _206d; } || function(_206f, _206g) { var _206h = null; for (var _206i in _206g) Object.prototype.hasOwnProperty.call(_206g, _206i) && (_206f[_206i] = _206g[_206i]); }, _2067(_2069, _206a); }, function(_206j, _206k) { var _206l = null; if ('function' != typeof _206k && null !== _206k) throw new TypeError('Class extends value ' + String(_206k) + ' is not a constructor or null'); function _206m() { var _206n = null; this.constructor = _206j; } _2067(_206j, _206k), _206j.prototype = null === _206k ? Object.create(_206k) : (_206m.prototype = _206k.prototype, new _206m()); }); defineModule(_2064); Object.defineProperty(_2064, '__esModule', { 'value': !0 }), _2064.TaskShowLevelup = void 0; var _206o = _2065(37562), _206p = function(_206q) { var _206r = null; function _206s(_206t, _206u) { var _206v = null, _206w = _206q.call(this) || this; return _206w._scene = _206t, _206w._combined = _206u, _206w._tasks = [], _206w; } return _2068(_206s, _206q), _206s.prototype._start = function() { var _206x = null; this._showComponent(); }, _206s.prototype._showComponent = function() { var _206y = null; for (var _206z = this._scene.data.getLevelupInfoList(this._combined), _2070 = this._scene.view.layer_banner.info_f.items, _2071 = this._scene.data.getShipExp(this._combined), _2072 = [], _2073 = 0; _2073 < _2070.length; _2073++) { var _2074 = _2070[_2073], _2075 = _2073 < _2071.length ? _2071[_2073] : 0; if (!(_2075 < 0)) { var _2076 = _206z[_2073], _2077 = new _2078(_2074, _2075, _2076); _2072.push(_2077), this._tasks.push(_2077); } } 0 == _2072.length ? this._endTask() : this._startTasks(_2072); }, _206s.prototype._startTasks = function(_2079) { var _207a = null; for (var _207b = this, _207c = function(_207d) { var _207e = null; _207d.start(function() { var _207f = null, _207g = _207b._tasks.indexOf(_207d); _207b._tasks.splice(_207g, 1), 0 == _207b._tasks.length && _207b._endTask(); }); }, _207h = 0, _207i = _2079; _207h < _207i.length; _207h++) { _207c(_207i[_207h]); } }, _206s; }(_206o.TaskBase); _2064.TaskShowLevelup = _206p; var _2078 = function(_207j) { var _207k = null; function _207l(_207m, _207n, _207o) { var _207p = null, _207q = _207j.call(this) || this; _207q._onChange = function(_207r) { var _207s = null; if (null != _207q._banner_info) { var _207t = _207r.target.target.value; _207t >= _207q._borders[0] && (_207q._borders.shift(), _207q._banner_info.levelup()); var _207u = -1; _207q._borders.length > 0 && (_207u = _207q._borders[0] - _207t), _207q._banner_info.up_to_the_next_level.update(_207u); } }, _207q._banner_info = _207m, _207q._exp = _207n, null != _207o && _207o.length > 1 ? _207q._initial_value = _207o[0] : _207q._initial_value = -1, _207q._borders = new Array(); for (var _207v = 1; _207v < _207o.length; _207v++) _207q._borders.push(_207o[_207v]); return _207q; } return _2068(_207l, _207j), _207l.prototype._start = function() { var _207w = null; this._initial_value < 0 ? this._endTask() : this._init(); }, _207l.prototype._init = function() { var _207x = null, _207y = this, _207z = this._banner_info.up_to_the_next_level; _207z.alpha = 0, _207z.x -= 15; var _2080 = this._borders[0] - this._initial_value; _207z.initialize(_2080), createjs.Tween.get(_207z).to({ 'x': _207z.x + 15, 'alpha': 1 }, 500).call(function() { var _2081 = null; _207z.showExpText(), _207y._completedShow(); }); }, _207l.prototype._completedShow = function() { var _2082 = null, _2083 = this, _2084 = this._borders[this._borders.length - 1] - this._initial_value - this._exp, _2085 = this._initial_value + this._exp, _2086 = { 'value': this._initial_value }; createjs.Tween.get(_2086, { 'onChange': this._onChange }).to({ 'value': _2085 }, 2000).call(function() { var _2087 = null; _2085 === _2083._borders[0] && _2083._banner_info.levelup(), _2083._banner_info.up_to_the_next_level.update(_2084), _2083._endTask(); }); }, _207l.prototype._endTask = function() { var _2088 = null; this._banner_info = null, _207j.prototype._endTask.call(this); }, _207l; }(_206o.TaskBase); }, 71492: function(_2089, _208a, _208b) { 'use strict'; var _208c = null; var _208d, _208e = this && this.__extends || (_208d = function(_208f, _208g) { var _208h = null; return _208d = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_208i, _208j) { var _208k = null; _208i.__proto__ = _208j; } || function(_208l, _208m) { var _208n = null; for (var _208o in _208m) Object.prototype.hasOwnProperty.call(_208m, _208o) && (_208l[_208o] = _208m[_208o]); }, _208d(_208f, _208g); }, function(_208p, _208q) { var _208r = null; if ('function' != typeof _208q && null !== _208q) throw new TypeError('Class extends value ' + String(_208q) + ' is not a constructor or null'); function _208s() { var _208t = null; this.constructor = _208p; } _208d(_208p, _208q), _208p.prototype = null === _208q ? Object.create(_208q) : (_208s.prototype = _208q.prototype, new _208s()); }); defineModule(_208a); Object.defineProperty(_208a, '__esModule', { 'value': !0 }), _208a.TaskEventEnding = void 0; var _208u = _208b(71633), _208v = _208b(37562), _208w = _208b(13748), _208x = _208b(66866), _208y = _208b(61209), _208z = function(_2090) { var _2091 = null; function _2092(_2093, _2094, _2095, _2096) { var _2097 = null, _2098 = _2090.call(this) || this; return _2098._layer = _2093, _2098._area_id = _2094, _2098._map_no = _2095, _2098._file_suffix = _2096, _2098; } return _208e(_2092, _2090), _2092.prototype._start = function() { var _2099 = null, _209a = this; if (this._area_id == _208u.EventConst.AREA_ID) { if ('' !== this._file_suffix) switch (this._map_no) { case 3: (_209b = new _208w.UIImageLoader('battle_result')).add('battle_result_event_ed1_'['concat'](this._file_suffix, '.json')), _209b.load(function() { var _209c = null; new _208x.TaskEventEnding1(_209a._layer, _209a._file_suffix).start(function() { var _209d = null; _209a._endTask(); }); }); break; case 4: var _209b; (_209b = new _208w.UIImageLoader('battle_result')).add('battle_result_event_ed2_'['concat'](this._file_suffix, '.json')), _209b.load(function() { var _209e = null; new _208y.TaskEventEnding2(_209a._layer, _209a._file_suffix).start(function() { var _209f = null; _209a._endTask(); }); }); break; default: this._endTask(); } else this._endTask(); } else this._endTask(); }, _2092.prototype._endTask = function() { var _209g = null; this._layer = null, _2090.prototype._endTask.call(this); }, _2092; }(_208v.TaskBase); _208a.TaskEventEnding = _208z; }, 66866: function(_209h, _209i, _209j) { 'use strict'; var _209k = null; var _209l, _209m = this && this.__extends || (_209l = function(_209n, _209o) { var _209p = null; return _209l = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_209q, _209r) { var _209s = null; _209q.__proto__ = _209r; } || function(_209t, _209u) { var _209v = null; for (var _209w in _209u) Object.prototype.hasOwnProperty.call(_209u, _209w) && (_209t[_209w] = _209u[_209w]); }, _209l(_209n, _209o); }, function(_209x, _209y) { var _209z = null; if ('function' != typeof _209y && null !== _209y) throw new TypeError('Class extends value ' + String(_209y) + ' is not a constructor or null'); function _20a0() { var _20a1 = null; this.constructor = _209x; } _209l(_209x, _209y), _209x.prototype = null === _209y ? Object.create(_209y) : (_20a0.prototype = _209y.prototype, new _20a0()); }); defineModule(_209i); Object.defineProperty(_209i, '__esModule', { 'value': !0 }), _209i.TaskEventEnding1 = void 0; var _20a2 = _209j(54011), _20a3 = _209j(14627), _20a4 = function(_20a5) { var _20a6 = null; function _20a7() { var _20a8 = null; return null !== _20a5 && _20a5.apply(this, arguments) || this; } return _209m(_20a7, _20a5), _20a7.prototype._initializeBGStampLineImages = function() { var _20a9 = null; this._BGStampLineVisible = !0; }, _20a7.prototype._initializeMapImages = function() { var _20aa = null; this._maps = []; for (var _20ab = 0; _20ab < 3; _20ab++) { var _20ac = new PIXI.Sprite(); _20ac.texture = [PIXI.Texture.fromFrame('battle_result_event_ed1_'['concat'](this._suffix, '_strategymap1')), PIXI.Texture.fromFrame('battle_result_event_ed1_'['concat'](this._suffix, '_strategymap2')), PIXI.Texture.fromFrame('battle_result_event_ed1_'['concat'](this._suffix, '_strategymap3'))][_20ab], _20ac.x = 203 + 266 * _20ab, _20ac.y = 101, _20ac.alpha = 0, this._layer.addChild(_20ac), this._maps.push(_20ac); } }, _20a7.prototype._createMapShowTweens = function() { var _20ad = null; return this.__createMapShowTweens(700); }, _20a7.prototype._initializeStampImages = function() { var _20ae = null; this._stamps = []; for (var _20af = 0; _20af < 2; _20af++) { var _20ag = new _20a2.Sprite(); _20ag.anchor.set(0.5); var _20ah = PIXI.Texture.fromFrame('battle_result_event_ed1_'['concat'](this._suffix, '_stamp_common')); _20ag.texture = _20ah, _20ag.x = 416 + 266 * _20af, _20ag.y = 304, _20ag.scale.set(2), _20ag.alpha = 0, this._layer.addChild(_20ag), this._stamps.push(_20ag); } }, _20a7.prototype._createStampShowTweens = function() { var _20ai = null; return this.__createStampShowTweens(700); }, _20a7.prototype._showText = function() { var _20aj = null; this.__showText(new _20ak(this._suffix)); }, _20a7.prototype._createStampLast = function() { var _20al = null, _20am = PIXI.Texture.fromFrame('battle_result_event_ed1_'['concat'](this._suffix, '_stamp_e3')), _20an = new _20a2.Sprite(_20am); return _20an.anchor.set(0.5), _20an.position.set(1001, 363), _20an.alpha = 0, _20an; }, _20a7; }(_20a3.TaskEventEndingBase); _209i.TaskEventEnding1 = _20a4; var _20ak = function(_20ao) { var _20ap = null; function _20aq() { var _20ar = null; return null !== _20ao && _20ao.apply(this, arguments) || this; } return _209m(_20aq, _20ao), _20aq.prototype.initialize = function() { var _20as = null, _20at = PIXI.Texture.fromFrame('battle_result_event_ed1_'['concat'](this._suffix, '_txt_open1')); this._text1.texture = _20at, this._text1.position.set(134, 303); var _20au = PIXI.Texture.fromFrame('battle_result_event_ed1_'['concat'](this._suffix, '_txt_open2')); this._text2.texture = _20au, this._text2.position.set(296, 505); var _20av = PIXI.Texture.fromFrame('battle_result_event_ed1_'['concat'](this._suffix, '_txt_open3_2')); this._text3.texture = _20av, this._text3.position.set(322, 567); }, _20aq; }(_20a3.TextsBase); }, 61209: function(_20aw, _20ax, _20ay) { 'use strict'; var _20az = null; var _20b0, _20b1 = this && this.__extends || (_20b0 = function(_20b2, _20b3) { var _20b4 = null; return _20b0 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_20b5, _20b6) { var _20b7 = null; _20b5.__proto__ = _20b6; } || function(_20b8, _20b9) { var _20ba = null; for (var _20bb in _20b9) Object.prototype.hasOwnProperty.call(_20b9, _20bb) && (_20b8[_20bb] = _20b9[_20bb]); }, _20b0(_20b2, _20b3); }, function(_20bc, _20bd) { var _20be = null; if ('function' != typeof _20bd && null !== _20bd) throw new TypeError('Class extends value ' + String(_20bd) + ' is not a constructor or null'); function _20bf() { var _20bg = null; this.constructor = _20bc; } _20b0(_20bc, _20bd), _20bc.prototype = null === _20bd ? Object.create(_20bd) : (_20bf.prototype = _20bd.prototype, new _20bf()); }); defineModule(_20ax); Object.defineProperty(_20ax, '__esModule', { 'value': !0 }), _20ax.TaskEventEnding2 = void 0; var _20bh = _20ay(54011), _20bi = _20ay(14627), _20bj = function(_20bk) { var _20bl = null; function _20bm() { var _20bn = null; return null !== _20bk && _20bk.apply(this, arguments) || this; } return _20b1(_20bm, _20bk), _20bm.prototype._initializeBGStampLineImages = function() { var _20bo = null; this._BGStampLineVisible = !0; }, _20bm.prototype._initializeMapImages = function() { var _20bp = null; this._maps = []; for (var _20bq = 0; _20bq < 4; _20bq++) { var _20br = new PIXI.Sprite(); _20br.texture = [PIXI.Texture.fromFrame('battle_result_event_ed2_'['concat'](this._suffix, '_strategymap1')), PIXI.Texture.fromFrame('battle_result_event_ed2_'['concat'](this._suffix, '_strategymap2')), PIXI.Texture.fromFrame('battle_result_event_ed2_'['concat'](this._suffix, '_strategymap3')), PIXI.Texture.fromFrame('battle_result_event_ed2_'['concat'](this._suffix, '_strategymap4'))][_20bq], _20br.x = 165 + 225 * _20bq, _20br.y = 101, _20br.alpha = 0, this._layer.addChild(_20br), this._maps.push(_20br); } }, _20bm.prototype._createMapShowTweens = function() { var _20bs = null; return this.__createMapShowTweens(700); }, _20bm.prototype._initializeStampImages = function() { var _20bt = null; this._stamps = []; for (var _20bu = 0; _20bu < 3; _20bu++) { var _20bv = new _20bh.Sprite(); _20bv.anchor.set(0.5); var _20bw = PIXI.Texture.fromFrame('battle_result_event_ed2_'['concat'](this._suffix, '_stamp_common')); _20bv.texture = _20bw, _20bv.x = 320 + 225 * _20bu, _20bv.y = 253, _20bv.scale.set(2), _20bv.alpha = 0, this._layer.addChild(_20bv), this._stamps.push(_20bv); } }, _20bm.prototype._createStampShowTweens = function() { var _20bx = null; return this.__createStampShowTweens(700); }, _20bm.prototype._showText = function() { var _20by = null; this.__showText(new _20bz(this._suffix)); }, _20bm.prototype._createStampLast = function() { var _20c0 = null, _20c1 = PIXI.Texture.fromFrame('battle_result_event_ed2_'['concat'](this._suffix, '_stamp_e4')), _20c2 = new _20bh.Sprite(_20c1); return _20c2.anchor.set(0.5), _20c2.position.set(1006, 355), _20c2.alpha = 0, _20c2; }, _20bm; }(_20bi.TaskEventEndingBase); _20ax.TaskEventEnding2 = _20bj; var _20bz = function(_20c3) { var _20c4 = null; function _20c5() { var _20c6 = null; return null !== _20c3 && _20c3.apply(this, arguments) || this; } return _20b1(_20c5, _20c3), _20c5.prototype.initialize = function() { var _20c7 = null, _20c8 = PIXI.Texture.fromFrame('battle_result_event_ed2_'['concat'](this._suffix, '_txt_open1')); this._text1.texture = _20c8, this._text1.position.set(121, 262); var _20c9 = PIXI.Texture.fromFrame('battle_result_event_ed2_'['concat'](this._suffix, '_txt_open2')); this._text2.texture = _20c9, this._text2.position.set(243, 523); }, _20c5; }(_20bi.TextsBase); }, 14627: function(_20ca, _20cb, _20cc) { 'use strict'; var _20cd = null; var _20ce, _20cf = this && this.__extends || (_20ce = function(_20cg, _20ch) { var _20ci = null; return _20ce = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_20cj, _20ck) { var _20cl = null; _20cj.__proto__ = _20ck; } || function(_20cm, _20cn) { var _20co = null; for (var _20cp in _20cn) Object.prototype.hasOwnProperty.call(_20cn, _20cp) && (_20cm[_20cp] = _20cn[_20cp]); }, _20ce(_20cg, _20ch); }, function(_20cq, _20cr) { var _20cs = null; if ('function' != typeof _20cr && null !== _20cr) throw new TypeError('Class extends value ' + String(_20cr) + ' is not a constructor or null'); function _20ct() { var _20cu = null; this.constructor = _20cq; } _20ce(_20cq, _20cr), _20cq.prototype = null === _20cr ? Object.create(_20cr) : (_20ct.prototype = _20cr.prototype, new _20ct()); }); defineModule(_20cb); Object.defineProperty(_20cb, '__esModule', { 'value': !0 }), _20cb.TextsBase = _20cb.TaskEventEndingBase = void 0; var _20cv = _20cc(81755), _20cw = _20cc(85492), _20cx = _20cc(79899), _20cy = _20cc(54011), _20cz = _20cc(38204), _20d0 = _20cc(45615), _20d1 = _20cc(24303), _20d2 = _20cc(35380), _20d3 = function(_20d4) { var _20d5 = null; function _20d6(_20d7, _20d8) { var _20d9 = null, _20da = _20d4.call(this) || this; return _20da._layer = _20d7, _20da._suffix = _20d8, _20da; } return _20cf(_20d6, _20d4), _20d6.prototype._start = function() { var _20db = null; this._showBG(); }, _20d6.prototype._showBG = function() { var _20dc = null, _20dd = this; this._initializeBGStampLineImages(), this._bg = new _20de(), this._bg.initialize(this._BGStampLineVisible), this._bg.alpha = 0, this._layer.addChild(this._bg), createjs.Tween.get(this._bg).to({ 'alpha': 1 }, 500).call(function() { var _20df = null; _20dd._initializeMapImages(), _20dd._initializeStampImages(), _20dd._showMaps(); }); }, _20d6.prototype.__createMapShowTweens = function(_20dg) { var _20dh = null, _20di = []; if (this._maps.length > 1) for (var _20dj = 0; _20dj < this._maps.length; _20dj++) { var _20dk = (_20dl = this._maps[_20dj]).x; _20dl.x += 645; var _20dm = createjs.Tween.get(_20dl).wait(_20dj * _20dg).to({ 'x': _20dk - 12, 'alpha': 1 }, 400).to({ 'x': _20dk }, 100); _20di.push(_20dm); } else { var _20dl; (_20dl = this._maps[0]).alpha = 0, _20dm = createjs.Tween.get(_20dl).to({ 'alpha': 1 }, 500), _20di.push(_20dm); } return _20di; }, _20d6.prototype.__createStampShowTweens = function(_20dn) { var _20do = null; for (var _20dp = [], _20dq = 0; _20dq < this._stamps.length; _20dq++) { var _20dr = this._stamps[_20dq], _20ds = createjs.Tween.get(_20dr).wait(350 + _20dq * _20dn).to({ 'scaleX': 1, 'scaleY': 1, 'alpha': 1 }, 400); _20dp.push(_20ds); } return _20dp; }, _20d6.prototype._showMaps = function() { var _20dt = null, _20du = this, _20dv = new _20cw.TweenTask(); _20dv.addTweens(this._createMapShowTweens()), _20dv.addTweens(this._createStampShowTweens()), _20dv.start(function() { var _20dw = null; _20du._showText(); }); }, _20d6.prototype.__showText = function(_20dx) { var _20dy = null, _20dz = this; this._texts = _20dx, this._texts.initialize(), this._texts.text1.alpha = 0, this._texts.text2.alpha = 0, this._texts.text3.alpha = 0, this._layer.addChild(this._texts); var _20e0 = new _20cw.TweenTask(), _20e1 = createjs.Tween.get(this._texts.text1).wait(200).to({ 'alpha': 1 }, 400); _20e0.addTween(_20e1), this._texts.text2.texture !== PIXI.Texture.EMPTY && (_20e1 = createjs.Tween.get(this._texts.text2).wait(700).to({ 'alpha': 1 }, 450), _20e0.addTween(_20e1)), this._texts.text3.texture !== PIXI.Texture.EMPTY && (_20e1 = createjs.Tween.get(this._texts.text3).wait(1300).to({ 'alpha': 1 }, 500), _20e0.addTween(_20e1)), _20e0.start(function() { var _20e2 = null; createjs.Tween.get(null).wait(500).call(function() { var _20e3 = null; _20dz._showLastStamp(); }), _20dz._createParticle(); }); }, _20d6.prototype._createParticle = function() { var _20e4 = null; this._particles = new _20d1.ParticleLayer(), this._particles.addParticle(1050, 440), this._particles.addParticle(1121, 392), this._particles.addParticle(1068, 263), this._particles.addParticle(230, 429), this._particles.addParticle(902, 399), this._particles.addParticle(951, 453), this._particles.addParticle(1089, 323), this._particles.addParticle(128, 383), this._particles.addParticle(207, 278), this._particles.addParticle(68, 320), this._particles.addParticle(296, 471), this._particles.addParticle(122, 272), this._particles.addParticle(93, 467), this._particles.addParticle(53, 425), this._layer.addChild(this._particles), this._particles.startAnimation(); }, _20d6.prototype._showLastStamp = function() { var _20e5 = null, _20e6 = this; this._stamp_last = this._createStampLast(); var _20e7 = this._layer.getChildIndex(this._texts); this._layer.addChildAt(this._stamp_last, _20e7), createjs.Tween.get(this._stamp_last).wait(800).to({ 'alpha': 1 }, 200); var _20e8 = new _20cy.Sprite(this._stamp_last.texture); _20e8.anchor.set(0.5), _20e8.position.set(this._stamp_last.x, this._stamp_last.y), _20e8.scale.set(2), _20e8.alpha = 0, _20e7 = this._layer.getChildIndex(this._texts), this._layer.addChildAt(_20e8, _20e7 + 1), createjs.Tween.get(_20e8).to({ 'scaleX': 1, 'scaleY': 1, 'alpha': 1 }, 800).to({ 'alpha': 0 }, 200).call(function() { var _20e9 = null; _20e6._layer.removeChild(_20e8), _20e6._waitClick(); }); }, _20d6.prototype._waitClick = function() { var _20ea = null, _20eb = this, _20ec = new _20cx.AreaBox(0); _20ec.buttonMode = !0, this._layer.addChild(_20ec); var _20ed = new _20cz.GearBtnNext(); _20ed.position.set(1139, 561), _20ed.initialize(), _20ed.activate(), this._layer.addChild(_20ed), _20ec.once(_20d2.EventType.CLICK, function() { var _20ee = null; _20ed.dispose(), _20eb._layer.removeChild(_20ec), _20eb._hide(_20ed); }); }, _20d6.prototype._hide = function(_20ef) { var _20eg = null; for (var _20eh = this, _20ei = new _20cw.TweenTask(), _20ej = 0; _20ej < this._maps.length; _20ej++) { var _20ek = this._maps[_20ej], _20el = createjs.Tween.get(_20ek).wait(50 * _20ej).to({ 'x': _20ek.x - 75, 'alpha': 0 }, 200); _20ei.addTween(_20el); } for (_20ej = 0; _20ej < this._stamps.length; _20ej++) { var _20em = this._stamps[_20ej], _20en = createjs.Tween.get(_20em).wait(50 * _20ej).to({ 'x': _20em.x - 75, 'alpha': 0 }, 200); _20ei.addTween(_20en); } var _20eo = createjs.Tween.get(this._texts.text1).wait(100).to({ 'x': this._texts.text1.x - 47, 'alpha': 0 }, 200); _20ei.addTween(_20eo), this._texts.text2.texture !== PIXI.Texture.EMPTY && (_20eo = createjs.Tween.get(this._texts.text2).wait(200).to({ 'x': this._texts.text2.x - 47, 'alpha': 0 }, 200), _20ei.addTween(_20eo)), this._texts.text3.texture !== PIXI.Texture.EMPTY && (_20eo = createjs.Tween.get(this._texts.text3).wait(150).to({ 'x': this._texts.text3.x - 47, 'alpha': 0 }, 200), _20ei.addTween(_20eo)), _20eo = createjs.Tween.get(this._stamp_last).wait(200).to({ 'x': this._stamp_last.x - 75, 'alpha': 0 }, 200), _20ei.addTween(_20eo), _20eo = createjs.Tween.get(this._particles).wait(200).to({ 'alpha': 0 }, 200).call(function() { var _20ep = null; _20eh._particles.stopAnimation(), _20eh._layer.removeChild(_20eh._particles); }), _20ei.addTween(_20eo), _20eo = createjs.Tween.get(_20ef).to({ 'alpha': 0 }, 500).call(function() { var _20eq = null; _20ef.dispose(), _20eh._layer.removeChild(_20ef); }), _20ei.addTween(_20eo), _20eo = createjs.Tween.get(this._bg).wait(200).to({ 'alpha': 0 }, 300), _20ei.addTween(_20eo), _20ei.start(function() { var _20er = null; for (var _20es = 0, _20et = _20eh._maps; _20es < _20et.length; _20es++) { var _20eu = _20et[_20es]; _20eh._layer.removeChild(_20eu); } for (var _20ev = 0, _20ew = _20eh._stamps; _20ev < _20ew.length; _20ev++) { var _20ex = _20ew[_20ev]; _20eh._layer.removeChild(_20ex); } _20eh._layer.removeChild(_20eh._texts), _20eh._layer.removeChild(_20eh._stamp_last), _20eh._layer.removeChild(_20eh._bg), _20eh._endTask(); }); }, _20d6; }(_20cv.TaskBase); _20cb.TaskEventEndingBase = _20d3; var _20de = function(_20ey) { var _20ez = null; function _20f0() { var _20f1 = null; return null !== _20ey && _20ey.apply(this, arguments) || this; } return _20cf(_20f0, _20ey), _20f0.prototype.initialize = function(_20f2) { var _20f3 = null; void 0 === _20f2 && (_20f2 = !0); var _20f4 = new PIXI.Sprite(); if (_20f4.texture = _20d0.BATTLE_RESULT_EVENT_BASE.getTexture(5), _20f4.position.set(0, 65), _20f4.alpha = 0.9, this.addChild(_20f4), _20f2) { var _20f5 = _20d0.BATTLE_RESULT_EVENT_BASE.getTexture(6), _20f6 = new PIXI.Sprite(_20f5); _20f6.position.set(270, 8), this.addChild(_20f6); var _20f7 = _20d0.BATTLE_RESULT_EVENT_BASE.getTexture(3), _20f8 = new PIXI.Sprite(_20f7); _20f8.rotation = Math.PI, _20f8.position.set(984, 713), this.addChild(_20f8); } }, _20f0; }(PIXI.Container), _20f9 = function(_20fa) { var _20fb = null; function _20fc(_20fd) { var _20fe = null, _20ff = _20fa.call(this) || this; return _20ff._text1 = new PIXI.Sprite(), _20ff.addChild(_20ff._text1), _20ff._text2 = new PIXI.Sprite(), _20ff.addChild(_20ff._text2), _20ff._text3 = new PIXI.Sprite(), _20ff.addChild(_20ff._text3), _20ff._suffix = _20fd, _20ff; } return _20cf(_20fc, _20fa), Object.defineProperty(_20fc.prototype, 'text1', { 'get': function() { var _20fg = null; return this._text1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_20fc.prototype, 'text2', { 'get': function() { var _20fh = null; return this._text2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_20fc.prototype, 'text3', { 'get': function() { var _20fi = null; return this._text3; }, 'enumerable': !1, 'configurable': !0 }), _20fc; }(PIXI.Container); _20cb.TextsBase = _20f9; }, 30286: function(_20fj, _20fk, _20fl) { 'use strict'; var _20fm = null; var _20fn, _20fo = this && this.__extends || (_20fn = function(_20fp, _20fq) { var _20fr = null; return _20fn = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_20fs, _20ft) { var _20fu = null; _20fs.__proto__ = _20ft; } || function(_20fv, _20fw) { var _20fx = null; for (var _20fy in _20fw) Object.prototype.hasOwnProperty.call(_20fw, _20fy) && (_20fv[_20fy] = _20fw[_20fy]); }, _20fn(_20fp, _20fq); }, function(_20fz, _20g0) { var _20g1 = null; if ('function' != typeof _20g0 && null !== _20g0) throw new TypeError('Class extends value ' + String(_20g0) + ' is not a constructor or null'); function _20g2() { var _20g3 = null; this.constructor = _20fz; } _20fn(_20fz, _20g0), _20fz.prototype = null === _20g0 ? Object.create(_20g0) : (_20g2.prototype = _20g0.prototype, new _20g2()); }); defineModule(_20fk); Object.defineProperty(_20fk, '__esModule', { 'value': !0 }), _20fk.PanelExp = void 0; var _20g4 = _20fl(8744), _20g5 = _20fl(26802), _20g6 = _20fl(21859), _20g7 = function(_20g8) { var _20g9 = null; function _20ga() { var _20gb = null, _20gc = _20g8.call(this) || this; return _20gc._line_v = new PIXI.Sprite(), _20gc._line_v.position.set(0, 0), _20gc._line_v.scale.set(1, 3.7), _20gc._line_h = new PIXI.Sprite(), _20gc._line_h.position.set(15, 149), _20gc._bonus_label = new PIXI.Sprite(), _20gc._bonus_label.position.set(21, 11), _20gc._title_label = new PIXI.Sprite(), _20gc._title_label.position.set(30, 62), _20gc._sub_title = new PIXI.Sprite(), _20gc.addChild(_20gc._sub_title), _20gc._exp_label = new PIXI.Sprite(), _20gc._exp_label.position.set(479, 117), _20gc._exp_text = new _20g4.TextBox(32, 16774898), _20gc._exp_text.anchor.set(1, 0), _20gc._exp_text.position.set(471, 99), _20gc._exp_ships = [], _20gc.addChild(_20gc._line_v), _20gc.addChild(_20gc._line_h), _20gc.addChild(_20gc._bonus_label), _20gc.addChild(_20gc._title_label), _20gc.addChild(_20gc._exp_label), _20gc.addChild(_20gc._exp_text), _20gc._extra_result = new _20g6.ExtraResultPanel(), _20gc.addChild(_20gc._extra_result), _20gc; } return _20fo(_20ga, _20g8), Object.defineProperty(_20ga.prototype, 'extra_result', { 'get': function() { var _20gd = null; return this._extra_result; }, 'enumerable': !1, 'configurable': !0 }), _20ga.prototype.initialize = function(_20ge, _20gf, _20gg, _20gh) { var _20gi = null; this._line_v.texture = _20g5.BATTLE_RESULT_MAIN.getTexture(2), this._line_h.texture = _20g5.BATTLE_RESULT_MAIN.getTexture(20), this._bonus_label.texture = _20g5.BATTLE_RESULT_MAIN.getTexture(65), this._title_label.texture = 0 == _20gg ? _20g5.BATTLE_RESULT_MAIN.getTexture(63) : _20g5.BATTLE_RESULT_MAIN.getTexture(68), this._sub_title.texture = _20g5.BATTLE_RESULT_MAIN.getTexture(64), this._exp_label.texture = _20g5.BATTLE_RESULT_MAIN.getTexture(69), this._exp_text.text = _20ge.toString(); var _20gj = 176; _20gh ? (this._line_h.y = 97, this._sub_title.x = 203, this._sub_title.y = 68, this._exp_text.y = 60, this._exp_label.y = 80, _20gj -= 68) : (this._line_h.y = 149, this._sub_title.x = 35, this._sub_title.y = 110, this._exp_text.y = 99, this._exp_label.y = 117); for (var _20gk = 0; _20gk < _20gf.length; _20gk++) { var _20gl = _20gf[_20gk], _20gm = new _20gn(); _20gm.x = 6, _20gm.y = _20gj + 68 * _20gk, this._exp_ships.push(_20gm), this.addChild(_20gm), _20gl >= 0 ? _20gm.initialize(_20gl) : _20gm.visible = !1; } this._extra_result.initialize(); }, _20ga.prototype.createShowShipExpTweens = function(_20go, _20gp, _20gq) { var _20gr = null; void 0 === _20gq && (_20gq = 0); for (var _20gs = [], _20gt = 0; _20gt < this._exp_ships.length; _20gt++) { var _20gu = this._exp_ships[_20gt]; _20go[_20gt] >= 0 ? (_20gu.initialize(_20go[_20gt]), _20gu.visible = !0) : _20gu.visible = !1, _20gs.push(createjs.Tween.get(_20gu).wait(_20gq).to({ 'alpha': 1 }, _20gp)); } return _20gs; }, _20ga.prototype.createHideShipExpTweens = function(_20gv, _20gw) { var _20gx = null; void 0 === _20gw && (_20gw = 0); for (var _20gy = [], _20gz = 0; _20gz < this._exp_ships.length; _20gz++) { var _20h0 = this._exp_ships[_20gz]; _20gy.push(createjs.Tween.get(_20h0).wait(_20gw).to({ 'alpha': 0 }, _20gv)); } return _20gy; }, _20ga.prototype.dispose = function() { var _20h1 = null; this.removeChildren(), this._line_v = null, this._line_h = null, this._bonus_label = null, this._exp_label = null, this._exp_text.destroy(), this._exp_text = null; for (var _20h2 = 0, _20h3 = this._exp_ships; _20h2 < _20h3.length; _20h2++) { _20h3[_20h2].dispose(); } this._exp_ships = null, this._extra_result.dispose(), this._extra_result = null; }, _20ga; }(PIXI.Container); _20fk.PanelExp = _20g7; var _20gn = function(_20h4) { var _20h5 = null; function _20h6() { var _20h7 = null, _20h8 = _20h4.call(this) || this; return _20h8._plus = new PIXI.Sprite(), _20h8._plus.position.set(18, 9), _20h8._exp = new PIXI.Sprite(), _20h8._exp.position.set(120, 12), _20h8._text = new _20g4.TextBox(24, 16774898), _20h8._text.anchor.set(1, 0), _20h8._text.position.set(111, 0), _20h8.addChild(_20h8._plus), _20h8.addChild(_20h8._exp), _20h8.addChild(_20h8._text), _20h8; } return _20fo(_20h6, _20h4), _20h6.prototype.initialize = function(_20h9) { var _20ha = null; this._plus.texture = _20g5.BATTLE_RESULT_MAIN.getTexture(80), this._exp.texture = _20g5.BATTLE_RESULT_MAIN.getTexture(69), this._text.text = _20h9.toString(); }, _20h6.prototype.dispose = function() { var _20hb = null; this.removeChildren(), this._plus = null, this._exp = null, this._text.destroy(), this._text = null; }, _20h6; }(PIXI.Container); }, 36204: function(_20hc, _20hd, _20he) { 'use strict'; var _20hf = null; var _20hg, _20hh = this && this.__extends || (_20hg = function(_20hi, _20hj) { var _20hk = null; return _20hg = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_20hl, _20hm) { var _20hn = null; _20hl.__proto__ = _20hm; } || function(_20ho, _20hp) { var _20hq = null; for (var _20hr in _20hp) Object.prototype.hasOwnProperty.call(_20hp, _20hr) && (_20ho[_20hr] = _20hp[_20hr]); }, _20hg(_20hi, _20hj); }, function(_20hs, _20ht) { var _20hu = null; if ('function' != typeof _20ht && null !== _20ht) throw new TypeError('Class extends value ' + String(_20ht) + ' is not a constructor or null'); function _20hv() { var _20hw = null; this.constructor = _20hs; } _20hg(_20hs, _20ht), _20hs.prototype = null === _20ht ? Object.create(_20ht) : (_20hv.prototype = _20ht.prototype, new _20hv()); }); defineModule(_20hd); Object.defineProperty(_20hd, '__esModule', { 'value': !0 }), _20hd.ViewMain = void 0; var _20hx = _20he(7570), _20hy = _20he(2808), _20hz = _20he(92782), _20i0 = _20he(11165), _20i1 = _20he(80796), _20i2 = _20he(10979), _20i3 = _20he(30286), _20i4 = _20he(96832), _20i5 = function(_20i6) { var _20i7 = null; function _20i8() { var _20i9 = null, _20ia = _20i6.call(this) || this; return _20ia._layer_mvp = new _20i1.LayerMVP(), _20ia._layer_mvp.position.set(474, -120), _20ia._layer_bg = new _20hy.LayerBG(), _20ia._layer_deck_info = new _20hz.LayerDeckInfo(), _20ia._layer_banner = new _20i0.LayerBanner(), _20ia._layer_title = new _20i2.LayerTitle(), _20ia._map_name = new _20i4.LayerMapName(), _20ia._panel_exp = new _20i3.PanelExp(), _20ia._panel_exp.position.set(591, 116), _20ia._panel_exp.visible = !1, _20ia._layer_cutin = new PIXI.Container(), _20ia._shutter = new _20hx.Shutter(), _20ia._shutter.initializeDark(), _20ia._shutter.open(0), _20ia.addChild(_20ia._layer_mvp), _20ia.addChild(_20ia._layer_bg), _20ia.addChild(_20ia._layer_deck_info), _20ia.addChild(_20ia._layer_banner), _20ia.addChild(_20ia._layer_title), _20ia.addChild(_20ia._map_name), _20ia.addChild(_20ia._panel_exp), _20ia.addChild(_20ia._layer_cutin), _20ia.addChild(_20ia._shutter), _20ia; } return _20hh(_20i8, _20i6), Object.defineProperty(_20i8.prototype, 'layer_mvp', { 'get': function() { var _20ib = null; return this._layer_mvp; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_20i8.prototype, 'layer_bg', { 'get': function() { var _20ic = null; return this._layer_bg; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_20i8.prototype, 'layer_deck_info', { 'get': function() { var _20id = null; return this._layer_deck_info; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_20i8.prototype, 'layer_banner', { 'get': function() { var _20ie = null; return this._layer_banner; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_20i8.prototype, 'layer_title', { 'get': function() { var _20if = null; return this._layer_title; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_20i8.prototype, 'panel_exp', { 'get': function() { var _20ig = null; return this._panel_exp; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_20i8.prototype, 'layer_cutin', { 'get': function() { var _20ih = null; return this._layer_cutin; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_20i8.prototype, 'shutter', { 'get': function() { var _20ii = null; return this._shutter; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_20i8.prototype, 'layer_map_name', { 'get': function() { var _20ij = null; return this._map_name; }, 'enumerable': !1, 'configurable': !0 }), _20i8.prototype.dispose = function() { var _20ik = null; this.removeChildren(), this._layer_mvp.dispose(), this._layer_mvp = null, this._layer_bg.dispose(), this._layer_bg = null, this._layer_deck_info.dispose(), this._layer_deck_info = null, null != this._layer_banner && (this._layer_banner.dispose(), this._layer_banner = null), null != this._layer_title && (this._layer_title.dispose(), this._layer_title = null), null != this._panel_exp && (this._panel_exp.dispose(), this._panel_exp = null), this._layer_cutin = null, this._shutter = null, this._map_name.dispose(), this._map_name = null; }, _20i8; }(PIXI.Container); _20hd.ViewMain = _20i5; }, 53940: function(_20il, _20im, _20in) { 'use strict'; var _20io = null; var _20ip, _20iq = this && this.__extends || (_20ip = function(_20ir, _20is) { var _20it = null; return _20ip = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_20iu, _20iv) { var _20iw = null; _20iu.__proto__ = _20iv; } || function(_20ix, _20iy) { var _20iz = null; for (var _20j0 in _20iy) Object.prototype.hasOwnProperty.call(_20iy, _20j0) && (_20ix[_20j0] = _20iy[_20j0]); }, _20ip(_20ir, _20is); }, function(_20j1, _20j2) { var _20j3 = null; if ('function' != typeof _20j2 && null !== _20j2) throw new TypeError('Class extends value ' + String(_20j2) + ' is not a constructor or null'); function _20j4() { var _20j5 = null; this.constructor = _20j1; } _20ip(_20j1, _20j2), _20j1.prototype = null === _20j2 ? Object.create(_20j2) : (_20j4.prototype = _20j2.prototype, new _20j4()); }); defineModule(_20im); Object.defineProperty(_20im, '__esModule', { 'value': !0 }), _20im.AreaIcon = void 0; var _20j6 = _20in(45054), _20j7 = _20in(69124), _20j8 = _20in(6499), _20j9 = _20in(71633), _20ja = function(_20jb) { var _20jc = null; function _20jd() { var _20je = null, _20jf = _20jb.call(this) || this; return _20jf._img = new PIXI.Sprite(), _20jf.addChild(_20jf._img), _20jf; } return _20iq(_20jd, _20jb), _20jd.prototype.initialize = function(_20jg) { var _20jh = null; if (_20jg == _20j9.EventConst.AREA_ID) this._img.texture = _20j7.COMMON_EVENT.getTexture(0); else switch (_20jg) { case 1: this._img.texture = _20j8.COMMON_AREA_ICON.getTexture(0); break; case 2: this._img.texture = _20j8.COMMON_AREA_ICON.getTexture(2); break; case 3: this._img.texture = _20j8.COMMON_AREA_ICON.getTexture(4); break; case 4: this._img.texture = _20j8.COMMON_AREA_ICON.getTexture(8); break; case 5: this._img.texture = _20j8.COMMON_AREA_ICON.getTexture(10); break; case 6: this._img.texture = _20j8.COMMON_AREA_ICON.getTexture(12); break; case 7: this._img.texture = _20j8.COMMON_AREA_ICON.getTexture(6); break; default: this._img.texture = PIXI.Texture.EMPTY; } this._img.x = -Math.round(this._img.width / 2), this._img.y = -Math.round(this._img.height / 2); }, _20jd; }(_20j6.Container); _20im.AreaIcon = _20ja; }, 33787: function(_20ji, _20jj, _20jk) { 'use strict'; var _20jl = null; var _20jm, _20jn = this && this.__extends || (_20jm = function(_20jo, _20jp) { var _20jq = null; return _20jm = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_20jr, _20js) { var _20jt = null; _20jr.__proto__ = _20js; } || function(_20ju, _20jv) { var _20jw = null; for (var _20jx in _20jv) Object.prototype.hasOwnProperty.call(_20jv, _20jx) && (_20ju[_20jx] = _20jv[_20jx]); }, _20jm(_20jo, _20jp); }, function(_20jy, _20jz) { var _20k0 = null; if ('function' != typeof _20jz && null !== _20jz) throw new TypeError('Class extends value ' + String(_20jz) + ' is not a constructor or null'); function _20k1() { var _20k2 = null; this.constructor = _20jy; } _20jm(_20jy, _20jz), _20jy.prototype = null === _20jz ? Object.create(_20jz) : (_20k1.prototype = _20jz.prototype, new _20k1()); }); defineModule(_20jj); Object.defineProperty(_20jj, '__esModule', { 'value': !0 }), _20jj.BannerInfoEnemy = void 0; var _20k3 = _20jk(8744), _20k4 = _20jk(26802), _20k5 = function(_20k6) { var _20k7 = null; function _20k8() { var _20k9 = null, _20ka = _20k6.call(this) || this; return _20ka._name = new _20k3.TextBox(18, 16774898), _20ka._name_mask = new PIXI.Graphics(), _20ka._name.addChild(_20ka._name_mask), _20ka._name.mask = _20ka._name_mask, _20ka._enemy_type = new PIXI.Sprite(), _20ka._enemy_type.position.set(2, 29), _20ka.addChild(_20ka._name), _20ka.addChild(_20ka._enemy_type), _20ka; } return _20jn(_20k8, _20k6), _20k8.prototype.initialize = function(_20kb, _20kc) { var _20kd = null; this._name.text = _20kb, this._name_mask.clear(), this._name_mask.beginFill(0), this._name_mask.drawRect(0, 0, 246, this._name.height), this._name_mask.endFill(), this._enemy_type.texture = 1 == _20kc ? _20k4.BATTLE_RESULT_MAIN.getTexture(7) : 2 == _20kc ? _20k4.BATTLE_RESULT_MAIN.getTexture(8) : PIXI.Texture.EMPTY; }, _20k8.prototype.dispose = function() { var _20ke = null; this.removeChildren(), this._name.destroy(), this._name = null, this._name_mask = null, this._enemy_type = null; }, _20k8; }(PIXI.Container); _20jj.BannerInfoEnemy = _20k5; }, 49918: function(_20kf, _20kg, _20kh) { 'use strict'; var _20ki = null; var _20kj, _20kk = this && this.__extends || (_20kj = function(_20kl, _20km) { var _20kn = null; return _20kj = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_20ko, _20kp) { var _20kq = null; _20ko.__proto__ = _20kp; } || function(_20kr, _20ks) { var _20kt = null; for (var _20ku in _20ks) Object.prototype.hasOwnProperty.call(_20ks, _20ku) && (_20kr[_20ku] = _20ks[_20ku]); }, _20kj(_20kl, _20km); }, function(_20kv, _20kw) { var _20kx = null; if ('function' != typeof _20kw && null !== _20kw) throw new TypeError('Class extends value ' + String(_20kw) + ' is not a constructor or null'); function _20ky() { var _20kz = null; this.constructor = _20kv; } _20kj(_20kv, _20kw), _20kv.prototype = null === _20kw ? Object.create(_20kw) : (_20ky.prototype = _20kw.prototype, new _20ky()); }); defineModule(_20kg); Object.defineProperty(_20kg, '__esModule', { 'value': !0 }), _20kg.BannerInfoEnemyCanvas = void 0; var _20l0 = _20kh(33787), _20l1 = function(_20l2) { var _20l3 = null; function _20l4() { var _20l5 = null, _20l6 = _20l2.call(this) || this; return _20l6._items = new Array(), _20l6; } return _20kk(_20l4, _20l2), _20l4.prototype.initialize = function(_20l7) { var _20l8 = null; this._resetItems(); var _20l9 = 0; _20l9 = 7 == _20l7.length ? 0 : 68; for (var _20la = 0; _20la < _20l7.length; _20la++) { var _20lb = _20l7[_20la]; if (null != _20lb) { var _20lc = new _20l0.BannerInfoEnemy(); _20lc.alpha = 0, _20lc.y = _20l9 + 68 * _20la, this._items.push(_20lc); var _20ld = _20lb.name, _20le = 0; 'elite' == _20lb.yomi ? _20le = 1 : 'flagship' == _20lb.yomi && (_20le = 2), _20lc.initialize(_20ld, _20le), this.addChild(_20lc); } } }, _20l4.prototype.dispose = function() { var _20lf = null; this._resetItems(), this.removeChildren(), this._items = null; }, _20l4.prototype.createShowTweens = function(_20lg) { var _20lh = null; for (var _20li = [], _20lj = 0; _20lj < this._items.length; _20lj++) { var _20lk = this._items[_20lj]; _20lk.x += 15; var _20ll = createjs.Tween.get(_20lk).wait(_20lg + 100 * _20lj).to({ 'x': _20lk.x - 15, 'alpha': 1 }, 300); _20li.push(_20ll); } return _20li; }, _20l4.prototype.createHideTweens = function(_20lm) { var _20ln = null; for (var _20lo = [], _20lp = 0; _20lp < this._items.length; _20lp++) { var _20lq = this._items[_20lp], _20lr = createjs.Tween.get(_20lq).wait(_20lm + 100 * (this._items.length - 1 - _20lp)).to({ 'x': _20lq.x + 15, 'alpha': 0 }, 300); _20lo.push(_20lr); } return _20lo; }, _20l4.prototype._resetItems = function() { var _20ls = null; for (null == this._items && (this._items = []); this._items.length > 0;) { var _20lt = this._items.pop(); null != _20lt.parent && _20lt.parent.removeChild(_20lt), _20lt.dispose(); } }, _20l4; }(PIXI.Container); _20kg.BannerInfoEnemyCanvas = _20l1; }, 73359: function(_20lu, _20lv, _20lw) { 'use strict'; var _20lx = null; var _20ly, _20lz = this && this.__extends || (_20ly = function(_20m0, _20m1) { var _20m2 = null; return _20ly = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_20m3, _20m4) { var _20m5 = null; _20m3.__proto__ = _20m4; } || function(_20m6, _20m7) { var _20m8 = null; for (var _20m9 in _20m7) Object.prototype.hasOwnProperty.call(_20m7, _20m9) && (_20m6[_20m9] = _20m7[_20m9]); }, _20ly(_20m0, _20m1); }, function(_20ma, _20mb) { var _20mc = null; if ('function' != typeof _20mb && null !== _20mb) throw new TypeError('Class extends value ' + String(_20mb) + ' is not a constructor or null'); function _20md() { var _20me = null; this.constructor = _20ma; } _20ly(_20ma, _20mb), _20ma.prototype = null === _20mb ? Object.create(_20mb) : (_20md.prototype = _20mb.prototype, new _20md()); }); defineModule(_20lv); Object.defineProperty(_20lv, '__esModule', { 'value': !0 }), _20lv.BannerInfoFriend = void 0; var _20mf = _20lw(8744), _20mg = _20lw(70723), _20mh = _20lw(26802), _20mi = function(_20mj) { var _20mk = null; function _20ml() { var _20mm = null, _20mn = _20mj.call(this) || this; return _20mn._name_and_level = new _20mo(), _20mn._up_to_the_next_level = new _20mp(), _20mn._up_to_the_next_level.position.set(0, 30), _20mn.addChild(_20mn._name_and_level), _20mn.addChild(_20mn._up_to_the_next_level), _20mn; } return _20lz(_20ml, _20mj), Object.defineProperty(_20ml.prototype, 'name_and_level', { 'get': function() { var _20mq = null; return this._name_and_level; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_20ml.prototype, 'up_to_the_next_level', { 'get': function() { var _20mr = null; return this._up_to_the_next_level; }, 'enumerable': !1, 'configurable': !0 }), _20ml.prototype.dispose = function() { var _20ms = null; this.removeChildren(), this._name_and_level.dispose(), this._name_and_level = null, this._up_to_the_next_level.dispose(), this._up_to_the_next_level = null; }, _20ml.prototype.levelup = function() { var _20mt = null; this._name_and_level.levelup(), this._up_to_the_next_level.levelup(); }, _20ml; }(PIXI.Container); _20lv.BannerInfoFriend = _20mi; var _20mo = function(_20mu) { var _20mv = null; function _20mw() { var _20mx = null, _20my = _20mu.call(this) || this; return _20my._name = new _20mf.TextBox(18, 16774898), _20my._name_mask = new PIXI.Graphics(), _20my._name.addChild(_20my._name_mask), _20my._name.mask = _20my._name_mask, _20my._level_label = new PIXI.Sprite(), _20my._level_label.position.set(131, 3), _20my._level = new _20mf.TextBox(16, 16774898), _20my._level.anchor.set(1, 0), _20my._level.position.set(200, 5), _20my.addChild(_20my._name), _20my.addChild(_20my._level_label), _20my.addChild(_20my._level), _20my; } return _20lz(_20mw, _20mu), _20mw.prototype.initialize = function(_20mz, _20n0) { var _20n1 = null; this._level_label.texture = _20mh.BATTLE_RESULT_MAIN.getTexture(62), this._name.text = _20mz, this._name_mask.clear(), this._name_mask.beginFill(0), this._name_mask.drawRect(0, 0, 126, this._name.height), this._name_mask.endFill(), this._level.text = _20n0.toString(), this._now_level = _20n0; }, _20mw.prototype.levelup = function() { var _20n2 = null; this._now_level++, this._level.text = this._now_level.toString(); }, _20mw.prototype.dispose = function() { var _20n3 = null; this.removeChildren(), this._name.destroy(), this._name = null, this._name_mask = null, this._level_label = null, this._level.destroy(), this._level = null; }, _20mw; }(PIXI.Container), _20mp = function(_20n4) { var _20n5 = null; function _20n6() { var _20n7 = null, _20n8 = _20n4.call(this) || this; return _20n8._next_label = new PIXI.Sprite(), _20n8._next_label.position.set(0, 6), _20n8._next = new _20mf.TextBox(16, 16777215), _20n8._next.anchor.set(1, 0), _20n8._next.position.set(200, 5), _20n8._next.alpha = 0, _20n8.addChild(_20n8._next_label), _20n8.addChild(_20n8._next), _20n8; } return _20lz(_20n6, _20n4), _20n6.prototype.showExpText = function() { var _20n9 = null; createjs.Tween.get(this._next).wait(10).to({ 'alpha': 1 }, 0); }, _20n6.prototype.initialize = function(_20na) { var _20nb = null; this._next_label.texture = _20mh.BATTLE_RESULT_MAIN.getTexture(72), this.update(_20na); }, _20n6.prototype.dispose = function() { var _20nc = null; this.removeChildren(), this._next_label = null, this._next.destroy(), this._next = null; }, _20n6.prototype.update = function(_20nd) { var _20ne = null; this._next.text = _20nd < 0 ? '' : Math.floor(_20nd).toString(); }, _20n6.prototype.levelup = function() { var _20nf = null, _20ng = this, _20nh = new PIXI.Sprite(_20mh.BATTLE_RESULT_MAIN.getTexture(9)); _20nh.anchor.set(0.5), _20nh.position.set(147, 18), _20nh.alpha = 0, _20mg.SE.play('221'), this.addChild(_20nh), createjs.Tween.get(_20nh).to({ 'y': -6, 'alpha': 1 }, 200).to({ 'y': 18 }, 0).to({ 'y': -6, 'alpha': 1 }, 200).to({ 'alpha': 0 }, 700).call(function() { var _20ni = null; _20ng.removeChild(_20nh); }); }, _20n6; }(PIXI.Container); }, 77651: function(_20nj, _20nk, _20nl) { 'use strict'; var _20nm = null; var _20nn, _20no = this && this.__extends || (_20nn = function(_20np, _20nq) { var _20nr = null; return _20nn = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_20ns, _20nt) { var _20nu = null; _20ns.__proto__ = _20nt; } || function(_20nv, _20nw) { var _20nx = null; for (var _20ny in _20nw) Object.prototype.hasOwnProperty.call(_20nw, _20ny) && (_20nv[_20ny] = _20nw[_20ny]); }, _20nn(_20np, _20nq); }, function(_20nz, _20o0) { var _20o1 = null; if ('function' != typeof _20o0 && null !== _20o0) throw new TypeError('Class extends value ' + String(_20o0) + ' is not a constructor or null'); function _20o2() { var _20o3 = null; this.constructor = _20nz; } _20nn(_20nz, _20o0), _20nz.prototype = null === _20o0 ? Object.create(_20o0) : (_20o2.prototype = _20o0.prototype, new _20o2()); }); defineModule(_20nk); Object.defineProperty(_20nk, '__esModule', { 'value': !0 }), _20nk.BannerInfoFriendCanvas = void 0; var _20o4 = _20nl(73359), _20o5 = function(_20o6) { var _20o7 = null; function _20o8() { var _20o9 = null, _20oa = _20o6.call(this) || this; return _20oa._items = [], _20oa; } return _20no(_20o8, _20o6), Object.defineProperty(_20o8.prototype, 'items', { 'get': function() { var _20ob = null; return this._items; }, 'enumerable': !1, 'configurable': !0 }), _20o8.prototype.initialize = function(_20oc) { var _20od = null; this._resetItems(); var _20oe = 0; _20oe = 7 == _20oc.length ? 0 : 68; for (var _20of = 0; _20of < _20oc.length; _20of++) { var _20og = _20oc[_20of]; if (null != _20og) { var _20oh = new _20o4.BannerInfoFriend(); _20oh.y = _20oe + 68 * _20of; var _20oi = _20og.name, _20oj = _20og.level; _20oh.name_and_level.alpha = 0, _20oh.name_and_level.initialize(_20oi, _20oj), this.addChild(_20oh), this._items.push(_20oh); } } }, _20o8.prototype.dispose = function() { var _20ok = null; this._resetItems(), this.removeChildren(), this._items = null; }, _20o8.prototype.createShowTweens = function(_20ol) { var _20om = null; for (var _20on = [], _20oo = 0; _20oo < this._items.length; _20oo++) { var _20op = this._items[_20oo].name_and_level; _20op.x -= 15; var _20oq = createjs.Tween.get(_20op).wait(_20ol + 100 * _20oo).to({ 'x': _20op.x + 15, 'alpha': 1 }, 300); _20on.push(_20oq); } return _20on; }, _20o8.prototype.createHideTweens = function(_20or) { var _20os = null; for (var _20ot = [], _20ou = 0; _20ou < this._items.length; _20ou++) { var _20ov = this._items[_20ou], _20ow = createjs.Tween.get(_20ov).wait(_20or + 100 * (this._items.length - 1 - _20ou)).to({ 'x': _20ov.x - 15, 'alpha': 0 }, 300); _20ot.push(_20ow); } return _20ot; }, _20o8.prototype._resetItems = function() { var _20ox = null; for (null == this._items && (this._items = []); this._items.length > 0;) { var _20oy = this._items.pop(); null != _20oy.parent && _20oy.parent.removeChild(_20oy), _20oy.dispose(); } }, _20o8; }(PIXI.Container); _20nk.BannerInfoFriendCanvas = _20o5; }, 28409: function(_20oz, _20p0, _20p1) { 'use strict'; var _20p2 = null; var _20p3, _20p4 = this && this.__extends || (_20p3 = function(_20p5, _20p6) { var _20p7 = null; return _20p3 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_20p8, _20p9) { var _20pa = null; _20p8.__proto__ = _20p9; } || function(_20pb, _20pc) { var _20pd = null; for (var _20pe in _20pc) Object.prototype.hasOwnProperty.call(_20pc, _20pe) && (_20pb[_20pe] = _20pc[_20pe]); }, _20p3(_20p5, _20p6); }, function(_20pf, _20pg) { var _20ph = null; if ('function' != typeof _20pg && null !== _20pg) throw new TypeError('Class extends value ' + String(_20pg) + ' is not a constructor or null'); function _20pi() { var _20pj = null; this.constructor = _20pf; } _20p3(_20pf, _20pg), _20pf.prototype = null === _20pg ? Object.create(_20pg) : (_20pi.prototype = _20pg.prototype, new _20pi()); }); defineModule(_20p0); Object.defineProperty(_20p0, '__esModule', { 'value': !0 }), _20p0.BannerSet = void 0; var _20pk = _20p1(72878), _20pl = function(_20pm) { var _20pn = null; function _20po() { var _20pp = null, _20pq = _20pm.call(this) || this; return _20pq._banners = [], _20pq; } return _20p4(_20po, _20pm), _20po.prototype.initialize = function(_20pr) { var _20ps = null; this._resetBanners(); var _20pt = 0; _20pt = 7 == _20pr.length ? 0 : 68; for (var _20pu = 0; _20pu < _20pr.length; _20pu++) { var _20pv = _20pr[_20pu]; if (null == _20pv) return; var _20pw = _20pv.isInvisible(), _20px = new _20pk.ShipBannerClone(_20pv.isTaihi(), _20pw); _20px.y = _20pt + 68 * _20pu, _20px.alpha = 0, this._banners.push(_20px); var _20py = _20pv.mst_id, _20pz = _20pv.hp_now, _20q0 = _20pv.hp_max; _20px.updateTexture(_20py, _20pz, _20q0), _20px.updateIcon(_20pv.damageType, _20pv.isGround(), _20pv.ribbon), this.addChild(_20px); } }, _20po.prototype.dispose = function() { var _20q1 = null; this._resetBanners(), this._banners = null, this.removeChildren(); }, _20po.prototype.createShowTweens = function(_20q2) { var _20q3 = null; for (var _20q4 = [], _20q5 = 0; _20q5 < this._banners.length; _20q5++) { var _20q6 = this._banners[_20q5]; _20q6.y += 30; var _20q7 = createjs.Tween.get(_20q6).wait(_20q2 + 50 * _20q5).to({ 'y': _20q6.y - 30, 'alpha': 1 }, 150); _20q4.push(_20q7); } return _20q4; }, _20po.prototype.createHideTweens = function(_20q8) { var _20q9 = null; for (var _20qa = [], _20qb = 0; _20qb < this._banners.length; _20qb++) { var _20qc = this._banners[_20qb], _20qd = createjs.Tween.get(_20qc).wait(_20q8 + 100 * (this._banners.length - 1 - _20qb)).to({ 'y': _20qc.y + 30, 'alpha': 0 }, 200); _20qa.push(_20qd); } return _20qa; }, _20po.prototype.getBanner = function(_20qe) { var _20qf = null; return _20qe >= 0 && null != this._banners && _20qe < this._banners.length ? this._banners[_20qe] : null; }, _20po.prototype._resetBanners = function() { var _20qg = null; for (null == this._banners && (this._banners = []); this._banners.length > 0;) { var _20qh = this._banners.pop(); null != _20qh.parent && _20qh.parent.removeChild(_20qh), _20qh.dispose(); } }, _20po; }(PIXI.Container); _20p0.BannerSet = _20pl; }, 103: function(_20qi, _20qj, _20qk) { 'use strict'; var _20ql = null; var _20qm, _20qn = this && this.__extends || (_20qm = function(_20qo, _20qp) { var _20qq = null; return _20qm = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_20qr, _20qs) { var _20qt = null; _20qr.__proto__ = _20qs; } || function(_20qu, _20qv) { var _20qw = null; for (var _20qx in _20qv) Object.prototype.hasOwnProperty.call(_20qv, _20qx) && (_20qu[_20qx] = _20qv[_20qx]); }, _20qm(_20qo, _20qp); }, function(_20qy, _20qz) { var _20r0 = null; if ('function' != typeof _20qz && null !== _20qz) throw new TypeError('Class extends value ' + String(_20qz) + ' is not a constructor or null'); function _20r1() { var _20r2 = null; this.constructor = _20qy; } _20qm(_20qy, _20qz), _20qy.prototype = null === _20qz ? Object.create(_20qz) : (_20r1.prototype = _20qz.prototype, new _20r1()); }); defineModule(_20qj); Object.defineProperty(_20qj, '__esModule', { 'value': !0 }), _20qj.BonusTelop = void 0; var _20r3 = _20qk(70723), _20r4 = _20qk(11997), _20r5 = _20qk(26802), _20r6 = _20qk(71633), _20r7 = _20qk(95471), _20r8 = function(_20r9) { var _20ra = null; function _20rb() { var _20rc = null, _20rd = _20r9.call(this) || this; return _20rd._anim2 = function() { var _20re = null; _20r3.SE.play('222'), _20rd._t = createjs.Tween.get(_20rd._message).to({ 'x': 38, 'alpha': 1 }, 200).to({ 'x': 0 }, 66).wait(700).to({ 'x': -38 }, 66).to({ 'x': -132, 'alpha': 0 }, 200).call(function() { var _20rf = null; _20rd._t = null, _20rd.emit('complete'); }); }, _20rd._bg = new PIXI.Sprite(), _20rd._bg.anchor.set(0.5), _20rd._bg.alpha = 0, _20rd._message = new PIXI.Sprite(), _20rd._message.anchor.set(0.5), _20rd._message.alpha = 0, _20rd._message.x = 132, _20rd.addChild(_20rd._bg), _20rd.addChild(_20rd._message), _20rd; } return _20qn(_20rb, _20r9), _20rb.prototype.initializeForShip = function(_20rg) { var _20rh = null; void 0 === _20rg && (_20rg = !1), this._bg.texture = _20r4.COMMON_MISC.getTexture(127); var _20ri = 25; this._message.texture = _20r5.BATTLE_RESULT_MAIN.getTexture(_20ri), 1 == _20rg && (this._message.y = -30, _20ri = 24, this._sub_message = new PIXI.Sprite(_20r5.BATTLE_RESULT_MAIN.getTexture(_20ri)), this._sub_message.anchor.set(0.5), this._sub_message.position.y = 80, this._message.addChild(this._sub_message)); }, _20rb.prototype.initializeForSlot = function() {}, _20rb.prototype.initializeForUseitem = function(_20rj) { var _20rk = null; this._bg.texture = _20r4.COMMON_MISC.getTexture(127); if (60 == _20rj); else { if (62 == _20rj); else { if (_20r6.EventConst.SANMA && (68 == _20rj || 93 == _20rj)) return this._message.texture = _20r7.BATTLE_RESULT_SANMA_FES.getTexture(3), void(this._message.y = -10); } } this._message.texture = PIXI.Texture.EMPTY; }, _20rb.prototype.dispose = function() { var _20rl = null; null != this._t && (this._t.setPaused(!0), this._t = null); }, _20rb.prototype.play = function() { var _20rm = null, _20rn = this; if (null == this._t) { var _20ro = _20r5.BATTLE_RESULT_MAIN.getTexture(23), _20rp = new PIXI.Sprite(_20ro); _20rp.anchor.set(0.5), _20rp.alpha = 0, this.addChild(_20rp), this._t = createjs.Tween.get(_20rp).to({ 'alpha': 1 }, 200).call(function() { var _20rq = null; _20rn._bg.alpha = 1; }).to({ 'alpha': 0 }, 266).call(this._anim2); } }, _20rb; }(PIXI.Container); _20qj.BonusTelop = _20r8; }, 41660: function(_20rr, _20rs, _20rt) { 'use strict'; var _20ru = null; var _20rv, _20rw = this && this.__extends || (_20rv = function(_20rx, _20ry) { var _20rz = null; return _20rv = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_20s0, _20s1) { var _20s2 = null; _20s0.__proto__ = _20s1; } || function(_20s3, _20s4) { var _20s5 = null; for (var _20s6 in _20s4) Object.prototype.hasOwnProperty.call(_20s4, _20s6) && (_20s3[_20s6] = _20s4[_20s6]); }, _20rv(_20rx, _20ry); }, function(_20s7, _20s8) { var _20s9 = null; if ('function' != typeof _20s8 && null !== _20s8) throw new TypeError('Class extends value ' + String(_20s8) + ' is not a constructor or null'); function _20sa() { var _20sb = null; this.constructor = _20s7; } _20rv(_20s7, _20s8), _20s7.prototype = null === _20s8 ? Object.create(_20s8) : (_20sa.prototype = _20s8.prototype, new _20sa()); }); defineModule(_20rs); Object.defineProperty(_20rs, '__esModule', { 'value': !0 }), _20rs.DeckInfo = void 0; var _20sc = _20rt(62814), _20sd = _20rt(8744), _20se = _20rt(26802), _20sf = function(_20sg) { var _20sh = null; function _20si() { var _20sj = null, _20sk = _20sg.call(this) || this; return _20sk._user_name = new _20sd.TextBox(21, 16774898), _20sk._user_name.position.set(12, 11), _20sk.addChild(_20sk._user_name), _20sk._level = new _20sl(), _20sk._level.position.set(276, 12), _20sk.addChild(_20sk._level), _20sk._deck_name = new _20sm(), _20sk._deck_name.position.set(12, 54), _20sk.addChild(_20sk._deck_name), _20sk._medal = new _20sc.MedalIcon(), _20sk._medal.position.set(420, 47), _20sk.addChild(_20sk._medal), _20sk; } return _20rw(_20si, _20sg), Object.defineProperty(_20si.prototype, 'user_name', { 'get': function() { var _20sn = null; return this._user_name; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_20si.prototype, 'level', { 'get': function() { var _20so = null; return this._level; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_20si.prototype, 'deck_name', { 'get': function() { var _20sp = null; return this._deck_name; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_20si.prototype, 'medal', { 'get': function() { var _20sq = null; return this._medal; }, 'enumerable': !1, 'configurable': !0 }), _20si.prototype.dispose = function() { var _20sr = null; this.removeChildren(), this._user_name.destroy(), this._level.dispose(), this._deck_name.dispose(), this._medal.dispose(); }, _20si; }(PIXI.Container); _20rs.DeckInfo = _20sf; var _20sl = function(_20ss) { var _20st = null; function _20su() { var _20sv = null, _20sw = _20ss.call(this) || this; return _20sw._text = new _20sd.TextBox(21, 16774898), _20sw._text.x = 29, _20sw._text.y = -1, _20sw.addChild(_20sw._text), _20sw; } return _20rw(_20su, _20ss), Object.defineProperty(_20su.prototype, 'text', { 'get': function() { var _20sx = null; return this._text.text; }, 'set': function(_20sy) { var _20sz = null; this._text.text = _20sy; }, 'enumerable': !1, 'configurable': !0 }), _20su.prototype.initialize = function() { var _20t0 = null; this.texture = _20se.BATTLE_RESULT_MAIN.getTexture(62); }, _20su.prototype.dispose = function() { var _20t1 = null; this.removeChildren(), this._text.destroy(); }, _20su; }(PIXI.Sprite), _20sm = function(_20t2) { var _20t3 = null; function _20t4() { var _20t5 = null, _20t6 = _20t2.call(this) || this; return _20t6._text = new _20sd.TextBox(21, 16774898), _20t6._text.x = 71, _20t6._text.y = -3, _20t6.addChild(_20t6._text), _20t6; } return _20rw(_20t4, _20t2), Object.defineProperty(_20t4.prototype, 'text', { 'get': function() { var _20t7 = null; return this._text.text; }, 'set': function(_20t8) { var _20t9 = null; this._text.text = _20t8; }, 'enumerable': !1, 'configurable': !0 }), _20t4.prototype.initialize = function() { var _20ta = null; this.texture = _20se.BATTLE_RESULT_MAIN.getTexture(70); }, _20t4.prototype.dispose = function() { var _20tb = null; this.removeChildren(), this._text.destroy(); }, _20t4; }(PIXI.Sprite); }, 327: function(_20tc, _20td, _20te) { 'use strict'; var _20tf = null; var _20tg, _20th = this && this.__extends || (_20tg = function(_20ti, _20tj) { var _20tk = null; return _20tg = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_20tl, _20tm) { var _20tn = null; _20tl.__proto__ = _20tm; } || function(_20to, _20tp) { var _20tq = null; for (var _20tr in _20tp) Object.prototype.hasOwnProperty.call(_20tp, _20tr) && (_20to[_20tr] = _20tp[_20tr]); }, _20tg(_20ti, _20tj); }, function(_20ts, _20tt) { var _20tu = null; if ('function' != typeof _20tt && null !== _20tt) throw new TypeError('Class extends value ' + String(_20tt) + ' is not a constructor or null'); function _20tv() { var _20tw = null; this.constructor = _20ts; } _20tg(_20ts, _20tt), _20ts.prototype = null === _20tt ? Object.create(_20tt) : (_20tv.prototype = _20tt.prototype, new _20tv()); }); defineModule(_20td); Object.defineProperty(_20td, '__esModule', { 'value': !0 }), _20td.DeckInfoPanelEnemy = void 0; var _20tx = _20te(55535), _20ty = _20te(85492), _20tz = _20te(26802), _20u0 = _20te(41660), _20u1 = _20te(64520), _20u2 = function(_20u3) { var _20u4 = null; function _20u5() { var _20u6 = null, _20u7 = _20u3.call(this) || this; return _20u7._line = new PIXI.Sprite(), _20u7.addChild(_20u7._line), _20u7._info = new _20u0.DeckInfo(), _20u7.addChild(_20u7._info), _20u7._gauge_label = new PIXI.Sprite(), _20u7._gauge_label.x = 11, _20u7._gauge_label.y = 96, _20u7.addChild(_20u7._gauge_label), _20u7._gauge = new _20u1.Gauge(), _20u7._gauge.x = 11, _20u7._gauge.y = 130, _20u7.addChild(_20u7._gauge), _20u7._gauge_f = new _20u1.Gauge(), _20u7._gauge_f.x = 11, _20u7._gauge_f.y = 96, _20u7.addChild(_20u7._gauge_f), _20u7._gauge_f.visible = !1, _20u7; } return _20th(_20u5, _20u3), _20u5.prototype.initialize = function(_20u8, _20u9) { var _20ua = null; this._line.texture = _20tz.BATTLE_RESULT_MAIN.getTexture(2), this._line.visible = !1, this._info.alpha = 0, this._info.deck_name.initialize(), this._info.deck_name.text = _20u8, this._gauge_label.texture = _20tz.BATTLE_RESULT_MAIN.getTexture(66), this._gauge_label.alpha = 0, this._gauge.initialize(16711680), this._gauge.alpha = 0, _20u9 && (this._info.deck_name.y = 14, this._gauge_label.y = 54, this._gauge_f.initialize(65298), this._gauge_f.alpha = 0, this._gauge_f.visible = !0); }, _20u5.prototype.createShowTween = function() { var _20ub = null, _20uc = this; return createjs.Tween.get(this._info).call(function() { var _20ud = null; _20uc._line.visible = !0; }).to({ 'alpha': 1 }, 100); }, _20u5.prototype.createTaskShowGauge = function(_20ue, _20uf, _20ug, _20uh, _20ui) { var _20uj = null; void 0 === _20ug && (_20ug = -1), void 0 === _20uh && (_20uh = -1); var _20uk, _20ul = new _20ty.TweenTask(); this._gauge_label.x += 15, _20uk = createjs.Tween.get(this._gauge_label).wait(_20ui).to({ 'x': this._gauge_label.x - 15, 'alpha': 1 }, 200), _20ul.addTween(_20uk), this._gauge.x += 15, _20uk = createjs.Tween.get(this._gauge).wait(_20ui).to({ 'x': this._gauge.x - 15, 'alpha': 1 }, 200), _20ul.addTween(_20uk); var _20um = new _20tx.SerialTask(); _20um.add(_20ul), _20uk = this._gauge.createTween(_20ue, _20uf); var _20un = new _20ty.TweenTask(); return _20un.addTween(_20uk), _20um.add(_20un), 1 == this._gauge_f.visible && (this._gauge_f.x += 15, _20uk = createjs.Tween.get(this._gauge_f).wait(_20ui + 100).to({ 'x': this._gauge_f.x - 15, 'alpha': 1 }, 200), _20ul.addTween(_20uk), _20uk = this._gauge_f.createTween(_20ug, _20uh), _20un.addTween(_20uk)), _20um; }, _20u5.prototype.dispose = function() { var _20uo = null; this.removeChildren(), this._info.dispose(); }, _20u5; }(PIXI.Container); _20td.DeckInfoPanelEnemy = _20u2; }, 38846: function(_20up, _20uq, _20ur) { 'use strict'; var _20us = null; var _20ut, _20uu = this && this.__extends || (_20ut = function(_20uv, _20uw) { var _20ux = null; return _20ut = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_20uy, _20uz) { var _20v0 = null; _20uy.__proto__ = _20uz; } || function(_20v1, _20v2) { var _20v3 = null; for (var _20v4 in _20v2) Object.prototype.hasOwnProperty.call(_20v2, _20v4) && (_20v1[_20v4] = _20v2[_20v4]); }, _20ut(_20uv, _20uw); }, function(_20v5, _20v6) { var _20v7 = null; if ('function' != typeof _20v6 && null !== _20v6) throw new TypeError('Class extends value ' + String(_20v6) + ' is not a constructor or null'); function _20v8() { var _20v9 = null; this.constructor = _20v5; } _20ut(_20v5, _20v6), _20v5.prototype = null === _20v6 ? Object.create(_20v6) : (_20v8.prototype = _20v6.prototype, new _20v8()); }); defineModule(_20uq); Object.defineProperty(_20uq, '__esModule', { 'value': !0 }), _20uq.DeckInfoPanelFriend = void 0; var _20va = _20ur(55535), _20vb = _20ur(85492), _20vc = _20ur(56494), _20vd = _20ur(26802), _20ve = _20ur(41660), _20vf = _20ur(64520), _20vg = function(_20vh) { var _20vi = null; function _20vj() { var _20vk = null, _20vl = _20vh.call(this) || this; return _20vl._line = new PIXI.Sprite(), _20vl.addChild(_20vl._line), _20vl._info = new _20ve.DeckInfo(), _20vl.addChild(_20vl._info), _20vl._gauge_label = new PIXI.Sprite(), _20vl._gauge_label.x = 11, _20vl._gauge_label.y = 96, _20vl.addChild(_20vl._gauge_label), _20vl._gauge = new _20vf.Gauge(), _20vl._gauge.x = 11, _20vl._gauge.y = 130, _20vl.addChild(_20vl._gauge), _20vl; } return _20uu(_20vj, _20vh), _20vj.prototype.initialize = function(_20vm, _20vn, _20vo, _20vp) { var _20vq = null; this._line.visible = !1, this._line.texture = _20vd.BATTLE_RESULT_MAIN.getTexture(2), this._info.alpha = 0, this._info.user_name.text = _20vm, this._info.level.initialize(), this._info.level.text = _20vn.toString(), this._info.deck_name.initialize(), this._info.deck_name.text = _20vo, this._gauge_label.texture = _20vd.BATTLE_RESULT_MAIN.getTexture(66), this._gauge_label.alpha = 0, this._gauge.initialize(65298), this._gauge.alpha = 0, _20vp && (this._gauge_label.visible = !1, this._gauge.visible = !1); }, _20vj.prototype.createShowTween = function() { var _20vr = null, _20vs = this; return createjs.Tween.get(this._info).call(function() { var _20vt = null; _20vs._line.visible = !0; }).to({ 'alpha': 1 }, 100); }, _20vj.prototype.createHideGaugeTweens = function(_20vu) { var _20vv = null; return [createjs.Tween.get(this._gauge_label).to({ 'alpha': 0 }, 200), createjs.Tween.get(this._gauge).to({ 'alpha': 0 }, 200), createjs.Tween.get(this._line).wait(200).to({ 'x': _20vu }, 500), createjs.Tween.get(this._info).wait(200).to({ 'x': _20vu }, 500)]; }, _20vj.prototype.createTaskShowGauge = function(_20vw, _20vx, _20vy) { var _20vz = null; if (0 == this._gauge.visible) return new _20vc.WaitTask(0); var _20w0, _20w1 = new _20vb.TweenTask(); this._gauge_label.x += 15, _20w0 = createjs.Tween.get(this._gauge_label).wait(_20vy).to({ 'x': this._gauge_label.x - 15, 'alpha': 1 }, 200), _20w1.addTween(_20w0), this._gauge.x += 15, _20w0 = createjs.Tween.get(this._gauge).wait(_20vy).to({ 'x': this._gauge.x - 15, 'alpha': 1 }, 200), _20w1.addTween(_20w0); var _20w2 = new _20va.SerialTask(); _20w2.add(_20w1), _20w0 = this._gauge.createTween(_20vw, _20vx); var _20w3 = new _20vb.TweenTask(); return _20w3.addTween(_20w0), _20w2.add(_20w3), _20w2; }, _20vj.prototype.createShowDeckNameTween = function(_20w4, _20w5, _20w6) { var _20w7 = null; return this._info.deck_name.text = _20w4, createjs.Tween.get(this._info.deck_name).wait(_20w6).to({ 'alpha': 1 }, _20w5); }, _20vj.prototype.createHideDeckNameTween = function(_20w8, _20w9) { var _20wa = null; return createjs.Tween.get(this._info.deck_name).wait(_20w9).to({ 'alpha': 0 }, _20w8); }, _20vj.prototype.dispose = function() { var _20wb = null; this.removeChildren(), this._info.dispose(); }, _20vj; }(PIXI.Container); _20uq.DeckInfoPanelFriend = _20vg; }, 21859: function(_20wc, _20wd, _20we) { 'use strict'; var _20wf = null; var _20wg, _20wh = this && this.__extends || (_20wg = function(_20wi, _20wj) { var _20wk = null; return _20wg = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_20wl, _20wm) { var _20wn = null; _20wl.__proto__ = _20wm; } || function(_20wo, _20wp) { var _20wq = null; for (var _20wr in _20wp) Object.prototype.hasOwnProperty.call(_20wp, _20wr) && (_20wo[_20wr] = _20wp[_20wr]); }, _20wg(_20wi, _20wj); }, function(_20ws, _20wt) { var _20wu = null; if ('function' != typeof _20wt && null !== _20wt) throw new TypeError('Class extends value ' + String(_20wt) + ' is not a constructor or null'); function _20wv() { var _20ww = null; this.constructor = _20ws; } _20wg(_20ws, _20wt), _20ws.prototype = null === _20wt ? Object.create(_20wt) : (_20wv.prototype = _20wt.prototype, new _20wv()); }); defineModule(_20wd); Object.defineProperty(_20wd, '__esModule', { 'value': !0 }), _20wd.ExtraResultPanel = void 0; var _20wx = _20we(8744), _20wy = _20we(26802), _20wz = function(_20) { var _21 = null; function _22() { var _23 = null, _24 = _20.call(this) || this; return _24._extra_war_result = new _25(), _24._extra_war_result.position.set(227, 177), _24._extra_war_result.visible = !1, _24.addChild(_24._extra_war_result), _24._useitem_icon = new PIXI.Sprite(), _24._useitem_icon.position.set(324, 290), _24._useitem_icon.visible = !1, _24.addChild(_24._useitem_icon), _24._map_incentive = new PIXI.Sprite(), _24._map_incentive.position.set(270, 525), _24._map_incentive.visible = !1, _24.addChild(_24._map_incentive), _24; } return _20wh(_22, _20), Object.defineProperty(_22.prototype, 'extra_war_result', { 'get': function() { var _26 = null; return this._extra_war_result; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_22.prototype, 'useitem_icon', { 'get': function() { var _27 = null; return this._useitem_icon; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_22.prototype, 'map_incentive', { 'get': function() { var _28 = null; return this._map_incentive; }, 'enumerable': !1, 'configurable': !0 }), _22.prototype.initialize = function() { var _29 = null; this._extra_war_result.initialize(), this._map_incentive.texture = _20wy.BATTLE_RESULT_MAIN.getTexture(71); }, _22.prototype.dispose = function() { var _210 = null; this.removeChildren(), this._extra_war_result.dispose(); }, _22; }(PIXI.Container); _20wd.ExtraResultPanel = _20wz; var _25 = function(_211) { var _212 = null; function _213() { var _214 = null, _215 = _211.call(this) || this; return _215._title = new PIXI.Sprite(), _215.addChild(_215._title), _215._plus = new PIXI.Sprite(), _215._plus.position.set(153, 47), _215.addChild(_215._plus), _215._label = new _20wx.TextBox(28, 16777215), _215._label.anchor.x = 1, _215._label.position.set(267, 36), _215.addChild(_215._label), _215; } return _20wh(_213, _211), _213.prototype.initialize = function() { var _20xg = null; this._title.texture = _20wy.BATTLE_RESULT_MAIN.getTexture(81), this._plus.texture = _20wy.BATTLE_RESULT_MAIN.getTexture(80); }, _213.prototype.update = function(_20xh) { var _20xi = null; this._label.text = _20xh.toString(); }, _213.prototype.dispose = function() { var _20xj = null; this.removeChildren(), this._label.destroy(); }, _213; }(PIXI.Container); }, 64520: function(_20xk, _20xl) { 'use strict'; var _20xm = null; var _20xn, _20xo = this && this.__extends || (_20xn = function(_20xp, _20xq) { var _20xr = null; return _20xn = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_20xs, _20xt) { var _20xu = null; _20xs.__proto__ = _20xt; } || function(_20xv, _20xw) { var _20xx = null; for (var _20xy in _20xw) Object.prototype.hasOwnProperty.call(_20xw, _20xy) && (_20xv[_20xy] = _20xw[_20xy]); }, _20xn(_20xp, _20xq); }, function(_20xz, _20y0) { var _20y1 = null; if ('function' != typeof _20y0 && null !== _20y0) throw new TypeError('Class extends value ' + String(_20y0) + ' is not a constructor or null'); function _20y2() { var _20y3 = null; this.constructor = _20xz; } _20xn(_20xz, _20y0), _20xz.prototype = null === _20y0 ? Object.create(_20y0) : (_20y2.prototype = _20y0.prototype, new _20y2()); }); defineModule(_20xl); Object.defineProperty(_20xl, '__esModule', { 'value': !0 }), _20xl.Gauge = void 0; var _20y4 = function(_20y5) { var _20y6 = null; function _20y7() { var _20y8 = null, _20y9 = _20y5.call(this) || this; _20y9._MAX_ = 360; var _20ya = new PIXI.Graphics(); return _20y9._draw(_20ya, 0), _20y9.mask = _20ya, _20y9.addChild(_20ya), _20y9._bar = new PIXI.Graphics(), _20y9._bar.x = -_20y9._MAX_, _20y9.addChild(_20y9._bar), _20y9; } return _20xo(_20y7, _20y5), _20y7.prototype.initialize = function(_20yb) { var _20yc = null; this._draw(this, 16777215), this._draw(this._bar, _20yb); }, _20y7.prototype.createTween = function(_20yd, _20ye, _20yf) { var _20yg = null; void 0 === _20yf && (_20yf = 1000); var _20yh = Math.max(_20yd - _20ye, 0), _20yi = 0 == _20yd ? 0 : _20yh / _20yd, _20yj = this._MAX_ * _20yi; return _20yj = Math.min(this._MAX_, _20yj), _20yj = Math.max(0, _20yj), createjs.Tween.get(this._bar).to({ 'x': -this._MAX_ + _20yj }, _20yf); }, _20y7.prototype._draw = function(_20yk, _20yl) { var _20ym = null; _20yk.beginFill(_20yl), _20yk.arc(8, 8, 8, Math.PI / 2, Math.PI / 2 * 3), _20yk.arc(353, 8, 8, -Math.PI / 2, Math.PI / 2), _20yk.endFill(); }, _20y7; }(PIXI.Graphics); _20xl.Gauge = _20y4; }, 13530: function(_20yn, _20yo, _20yp) { 'use strict'; var _20yq = null; var _20yr, _20ys = this && this.__extends || (_20yr = function(_20yt, _20yu) { var _20yv = null; return _20yr = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_20yw, _20yx) { var _20yy = null; _20yw.__proto__ = _20yx; } || function(_20yz, _20z0) { var _20z1 = null; for (var _20z2 in _20z0) Object.prototype.hasOwnProperty.call(_20z0, _20z2) && (_20yz[_20z2] = _20z0[_20z2]); }, _20yr(_20yt, _20yu); }, function(_20z3, _20z4) { var _20z5 = null; if ('function' != typeof _20z4 && null !== _20z4) throw new TypeError('Class extends value ' + String(_20z4) + ' is not a constructor or null'); function _20z6() { var _20z7 = null; this.constructor = _20z3; } _20yr(_20z3, _20z4), _20z3.prototype = null === _20z4 ? Object.create(_20z4) : (_20z6.prototype = _20z4.prototype, new _20z6()); }), _20z8 = this && this.__importDefault || function(_20z9) { var _20za = null; return _20z9 && _20z9.__esModule ? _20z9 : { 'default': _20z9 }; }; defineModule(_20yo); Object.defineProperty(_20yo, '__esModule', { 'value': !0 }), _20yo.KamihubukiLayer = void 0; var _20zb = _20z8(_20yp(21359)), _20zc = _20yp(54011), _20zd = _20yp(26802), _20ze = function(_20zf) { var _20zg = null; function _20zh() { var _20zi = null, _20zj = _20zf.call(this) || this; return _20zj._timer_handle = -1, _20zj._update = function() { var _20zk = null; for (var _20zl = 0, _20zm = _20zj._particles; _20zl < _20zm.length; _20zl++) { _20zm[_20zl].update(); } }, _20zj; } return _20ys(_20zh, _20zf), _20zh.prototype.startKamihubuki = function(_20zn) { var _20zo = null; this.removeChildren(), this._particles = []; for (var _20zp = 0; _20zp < _20zn; _20zp++) { var _20zq = new _20zr(); _20zq.initialize(), this.addChild(_20zq), this._particles.push(_20zq); } - 1 == this._timer_handle && (this._timer_handle = window.setInterval(this._update, 1000 / 30)); }, _20zh.prototype.dispose = function() { var _20zs = null; - 1 != this._timer_handle && clearInterval(this._timer_handle), this.removeChildren(), this._particles = null; }, _20zh; }(PIXI.Container); _20yo.KamihubukiLayer = _20ze; var _20zr = function(_20zt) { var _20zu = null; function _20zv() { var _20zw = null, _20zx = _20zt.call(this) || this; return _20zx.anchor.set(0.5), _20zx; } return _20ys(_20zv, _20zt), _20zv.prototype.initialize = function() { var _20zy = null; this._initialize(); }, _20zv.prototype.update = function() { var _20zz = null; this.x = this._base_x + this._haba + Math.sin(this._rad), this.y += this._spdY, this.rotation += this._spdR, this._rad += this._spdX, this.y > _20zb.default.height + 75 && this._initialize(); }, _20zv.prototype._initialize = function() { var _2100 = null, _2101; switch (Math.floor(5 * Math.random())) { case 0: _2101 = 15; break; case 1: _2101 = 16; break; case 2: _2101 = 17; break; case 3: _2101 = 18; break; case 4: _2101 = 19; } this.texture = _20zd.BATTLE_RESULT_MAIN.getTexture(_2101), this.x = 1140 * Math.random() + 30, this.y = -150 - 150 * Math.random(), this.scale.set(0.3 + 0.2 * Math.random()), this._base_x = this.x, this._rad = 0, this._haba = 45 * Math.random(), this._spdX = (15 * Math.random() + 1) / 100, this._spdY = 12 * Math.random() + 3, this._spdR = 2 * Math.random() / 180 * Math.PI; }, _20zv; }(_20zc.Sprite); }, 14274: function(_2102, _2103, _2104) { 'use strict'; var _2105 = null; var _2106, _2107 = this && this.__extends || (_2106 = function(_2108, _2109) { var _210a = null; return _2106 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_210b, _210c) { var _210d = null; _210b.__proto__ = _210c; } || function(_210e, _210f) { var _210g = null; for (var _210h in _210f) Object.prototype.hasOwnProperty.call(_210f, _210h) && (_210e[_210h] = _210f[_210h]); }, _2106(_2108, _2109); }, function(_210i, _210j) { var _210k = null; if ('function' != typeof _210j && null !== _210j) throw new TypeError('Class extends value ' + String(_210j) + ' is not a constructor or null'); function _210l() { var _210m = null; this.constructor = _210i; } _2106(_210i, _210j), _210i.prototype = null === _210j ? Object.create(_210j) : (_210l.prototype = _210j.prototype, new _210l()); }); defineModule(_2103); Object.defineProperty(_2103, '__esModule', { 'value': !0 }), _2103.MVPCoin = void 0; var _210n = _2104(26802), _210o = function(_210p) { var _210q = null; function _210r() { var _210s = null, _210t = _210p.call(this) || this; return _210t._coin = new PIXI.Sprite(), _210t._coin.anchor.set(0.5), _210t._coin_white = new PIXI.Sprite(), _210t._coin_white.anchor.set(0.5), _210t._coin_white.alpha = 0, _210t._p1 = new _210u(), _210t._p1.position.set(-14, -14), _210t._p2 = new _210u(), _210t._p2.position.set(14, 14), _210t.addChild(_210t._coin), _210t.addChild(_210t._coin_white), _210t.addChild(_210t._p1), _210t.addChild(_210t._p2), _210t; } return _2107(_210r, _210p), _210r.prototype.initialize = function() { var _210v = null; this._coin.texture = _210n.BATTLE_RESULT_MAIN.getTexture(13), this._coin_white.texture = _210n.BATTLE_RESULT_MAIN.getTexture(14), this._p1.initialize(), this._p2.initialize(); }, _210r.prototype.activate = function() { var _210w = null; null == this._t && (this._t = createjs.Tween.get(this._coin_white).wait(166).to({ 'alpha': 1 }, 166).to({ 'alpha': 0 }, 333), this._t.loop = !0, this._p1.activate(), this._p2.activate()); }, _210r.prototype.deactivate = function() { var _210x = null; null != this._t && (this._t.setPaused(!0), this._t = null, this._p1.deactivate(), this._p2.deactivate()); }, _210r.prototype.dispose = function() { var _210y = null; this.deactivate(); }, _210r; }(PIXI.Container); _2103.MVPCoin = _210o; var _210u = function(_210z) { var _2110 = null; function _2111() { var _2112 = null, _2113 = _210z.call(this) || this; return _2113._activated = !1, _2113.scale.y = 0, _2113._content = new PIXI.Sprite(), _2113._content.anchor.set(0.5), _2113._content.scale.set(0.1), _2113._content.rotation = Math.PI / 4, _2113.addChild(_2113._content), _2113; } return _2107(_2111, _210z), _2111.prototype.initialize = function() { var _2114 = null; this._content.texture = _210n.BATTLE_RESULT_MAIN.getTexture(10); }, _2111.prototype.activate = function() { var _2115 = null; 1 != this._activated && (this._activated = !0, this._anim()); }, _2111.prototype.deactivate = function() { var _2116 = null; this._activated = !1, null != this._t && (this._t.setPaused(!0), this._t = null); }, _2111.prototype._anim = function() { var _2117 = null, _2118 = this; null == this._t && (this._t = createjs.Tween.get(this.scale).call(function() { var _2119 = null; _2118.rotation = (Math.random() < 0.5 ? 1 : -1) * Math.PI / 4; }).wait(200 + 800 * Math.random()).to({ 'y': 1 }, 300, createjs.Ease.cubicOut).to({ 'y': 0 }, 300, createjs.Ease.cubicIn).call(function() { var _211a = null; _2118._t = null, _2118._anim(); })); }, _2111; }(PIXI.Container); }, 24303: function(_211b, _211c, _211d) { 'use strict'; var _211e = null; var _211f, _211g = this && this.__extends || (_211f = function(_211h, _211i) { var _211j = null; return _211f = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_211k, _211l) { var _211m = null; _211k.__proto__ = _211l; } || function(_211n, _211o) { var _211p = null; for (var _211q in _211o) Object.prototype.hasOwnProperty.call(_211o, _211q) && (_211n[_211q] = _211o[_211q]); }, _211f(_211h, _211i); }, function(_211r, _211s) { var _211t = null; if ('function' != typeof _211s && null !== _211s) throw new TypeError('Class extends value ' + String(_211s) + ' is not a constructor or null'); function _211u() { var _211v = null; this.constructor = _211r; } _211f(_211r, _211s), _211r.prototype = null === _211s ? Object.create(_211s) : (_211u.prototype = _211s.prototype, new _211u()); }); defineModule(_211c); Object.defineProperty(_211c, '__esModule', { 'value': !0 }), _211c.ParticleLayer = void 0; var _211w = _211d(57257), _211x = _211d(11997), _211y = function(_211z) { var _2120 = null; function _2121() { var _2122 = null, _2123 = _211z.call(this) || this; return _2123._particles = [], _2123; } return _211g(_2121, _211z), _2121.prototype.addParticle = function(_2124, _2125) { var _2126 = null, _2127 = new _2128(); _2127.initialize(), _2127.position.set(_2124, _2125), this.addChild(_2127), this._particles.push(_2127); }, _2121.prototype.startAnimation = function() { var _2129 = null; for (var _212a = 0, _212b = this._particles; _212a < _212b.length; _212a++) { _212b[_212a].startAnimation(); } }, _2121.prototype.stopAnimation = function() { var _212c = null; for (var _212d = 0, _212e = this._particles; _212d < _212e.length; _212d++) { _212e[_212d].stopAnimation(); } }, _2121; }(PIXI.Container); _211c.ParticleLayer = _211y; var _2128 = function(_212f) { var _212g = null; function _212h() { var _212i = null, _212j = _212f.call(this) || this; return _212j._r_canvas = new PIXI.Container(), _212j.addChild(_212j._r_canvas), _212j._img = new PIXI.Sprite(), _212j._r_canvas.addChild(_212j._img), _212j; } return _211g(_212h, _212f), _212h.prototype.initialize = function() { var _212k = null; this._img.texture = _211x.COMMON_MISC.getTexture(122), this._img.x = -Math.round(this._img.width / 2), this._img.y = -Math.round(this._img.height / 2), this.scale.set(0); }, _212h.prototype.startAnimation = function() { var _212l = null, _212m = this; if (null == this._anim) { var _212n = 2000 * Math.random(); this._anim = createjs.Tween.get(this).wait(_212n).to({ 'scaleX': 1, 'scaleY': 1 }, 100).to({ 'scaleX': 0, 'scaleY': 0 }, 200).call(function() { var _212o = null; _212m._anim = null, _212m.startAnimation(); }), this.rotation = Math.random() * Math.PI * 2 - Math.PI; var _212p = this.rotation + Math.random() * Math.PI / 10 - Math.PI / 5; createjs.Tween.get(this._r_canvas).wait(_212n).to({ 'rotation': _212p }, 300); } }, _212h.prototype.stopAnimation = function() { var _212q = null; null != this._anim && (this._anim.setPaused(!0), this._anim = null); }, _212h; }(_211w.Container); }, 72878: function(_212r, _212s, _212t) { 'use strict'; var _212u = null; var _212v, _212w = this && this.__extends || (_212v = function(_212x, _212y) { var _212z = null; return _212v = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_2130, _2131) { var _2132 = null; _2130.__proto__ = _2131; } || function(_2133, _2134) { var _2135 = null; for (var _2136 in _2134) Object.prototype.hasOwnProperty.call(_2134, _2136) && (_2133[_2136] = _2134[_2136]); }, _212v(_212x, _212y); }, function(_2137, _2138) { var _2139 = null; if ('function' != typeof _2138 && null !== _2138) throw new TypeError('Class extends value ' + String(_2138) + ' is not a constructor or null'); function _213a() { var _213b = null; this.constructor = _2137; } _212v(_2137, _2138), _2137.prototype = null === _2138 ? Object.create(_2138) : (_213a.prototype = _2138.prototype, new _213a()); }), _213c = this && this.__importDefault || function(_213d) { var _213e = null; return _213d && _213d.__esModule ? _213d : { 'default': _213d }; }; defineModule(_212s); Object.defineProperty(_212s, '__esModule', { 'value': !0 }), _212s.ShipBannerClone = void 0; var _213f = _213c(_212t(18622)), _213g = _212t(18343), _213h = _212t(80937), _213i = _212t(77076), _213j = _212t(32961), _213k = _212t(14274), _213l = _212t(92547), _213m = _212t(11575), _213n = function(_213o) { var _213p = null; function _213q(_213r, _213s) { var _213t = null, _213u = _213o.call(this) || this; return _213u._taihi = _213r, _213u._img = new PIXI.Sprite(), _213u._icon = new _213h.BannerIcon(), _213u._soot = new _213i.BannerSoot(), _213u._smoke = new _213j.BannerSmoke(), _213u._smoke.visible = !1, _213u._ribbon = new _213m.BannerRibbon(), _213u._gray_fg = new PIXI.Graphics(), _213u.addChild(_213u._img), _213u.addChild(_213u._icon), _213u.addChild(_213u._ribbon), _213u.addChild(_213u._soot), _213u.addChild(_213u._smoke), _213s && (_213u._gray_fg.beginFill(0, 0.2), _213u._gray_fg.drawRect(0, 0, _213l.BannerSize.W, _213l.BannerSize.H), _213u._gray_fg.endFill(), _213u.addChild(_213u._gray_fg)), _213u; } return _212w(_213q, _213o), _213q.prototype.dispose = function() { var _213v = null; this.removeChildren(), this._img.texture = PIXI.Texture.EMPTY, this._img = null, this._icon = null, this._soot = null, this._smoke.dispose(), this._smoke = null, null != this._coin && (this._coin.dispose(), this._coin = null), this._gray_fg.destroy(), this._gray_fg = null, this._ribbon.dispose(); }, _213q.prototype.updateTexture = function(_213w, _213x, _213y) { var _213z = null; _213x <= 0 || 1 == this._taihi ? this._img.texture = _213f.default.resources.getShip(_213w, !0, 'banner_g') : _213g.ShipUtil.isDamaged(_213x, _213y) ? this._img.texture = _213f.default.resources.getShip(_213w, !0, 'banner') : this._img.texture = _213f.default.resources.getShip(_213w, !1, 'banner'); }, _213q.prototype.updateIcon = function(_2140, _2141, _2142) { var _2143 = null; this._smoke.stop(), this._smoke.play(_2140), 0 == this._taihi ? (this._soot.update(_2140), this._icon.initialize(_2141), this._icon.setDamagedIcon(_2140)) : (this._soot.clear(), this._icon.setTaihiIcon()), this._ribbon.update(_2142); }, _213q.prototype.createShowMVPCoinTween = function() { var _2144 = null; return this._coin = new _213k.MVPCoin(), this._coin.position.set(270, 30), this._coin.initialize(), this._coin.activate(), this._coin.alpha = 0, this.addChild(this._coin), createjs.Tween.get(this._coin).to({ 'alpha': 1 }, 300); }, _213q; }(PIXI.Container); _212s.ShipBannerClone = _213n; }, 46903: function(_2145, _2146, _2147) { 'use strict'; var _2148 = null; var _2149, _214a = this && this.__extends || (_2149 = function(_214b, _214c) { var _214d = null; return _2149 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_214e, _214f) { var _214g = null; _214e.__proto__ = _214f; } || function(_214h, _214i) { var _214j = null; for (var _214k in _214i) Object.prototype.hasOwnProperty.call(_214i, _214k) && (_214h[_214k] = _214i[_214k]); }, _2149(_214b, _214c); }, function(_214l, _214m) { var _214n = null; if ('function' != typeof _214m && null !== _214m) throw new TypeError('Class extends value ' + String(_214m) + ' is not a constructor or null'); function _214o() { var _214p = null; this.constructor = _214l; } _2149(_214l, _214m), _214l.prototype = null === _214m ? Object.create(_214m) : (_214o.prototype = _214m.prototype, new _214o()); }); defineModule(_2146); Object.defineProperty(_2146, '__esModule', { 'value': !0 }), _2146.ResultDialog = void 0; var _214q = _2147(81755), _214r = _2147(79899), _214s = _2147(45054), _214t = _2147(54061), _214u = _2147(26802), _214v = _2147(83299), _214w = _2147(97667), _214x = _2147(13530), _214y = _2147(35380), _214z = function(_2150) { var _2151 = null; function _2152(_2153, _2154, _2155, _2156) { var _2157 = null, _2158 = _2150.call(this) || this; _2158._is_event_area = _2153, _2158._data = _2154, _2158._gauge_info = _2155, _2158._gauge_info_next = _2156; var _2159 = _2154.isSuccess(); return _2158._back = new PIXI.Sprite(), _2158._back.position.set(282, 231), _2158._back.texture = 1 == _2159 ? _214u.BATTLE_RESULT_MAIN.getTexture(5) : _214u.BATTLE_RESULT_MAIN.getTexture(6), _2158.addChild(_2158._back), _2158._sub_title = new PIXI.Sprite(), 1 == _2159 ? (_2158._sub_title.texture = _214u.BATTLE_RESULT_MAIN.getTexture(58), _2158._sub_title.position.set(381, 407)) : (_2158._sub_title.texture = _214u.BATTLE_RESULT_MAIN.getTexture(3), _2158._sub_title.position.set(366, 405)), _2158.addChild(_2158._sub_title), _2158._numset = new _214w.ResultDialogNumSet(), _2158._numset.position.set(696, 393), _2158.addChild(_2158._numset), _2158._title = new _215a(), _2158._title.initialize(_2159), _2158._title.position.set(603, 290), _2158.addChild(_2158._title), _2158._gauge = new _214v.ResultDialogGauge(), _2158._gauge.position.set(407, 317), _2158._gauge.initialize(_2158._is_event_area, _2158._gauge_info, _2158._data.nowHP, _2158._data.maxHP), _2158.addChild(_2158._gauge), _2158; } return _214a(_2152, _2150), _2152.prototype.startAnimation = function(_215b) { var _215c = null, _215d = this, _215e = this._data.subValue / 25 * 1000; _215e = Math.min(_215e, 8000); var _215f = { 'value': this._data.nowHP, 'sub': 0 }; createjs.Tween.get(_215f, { 'onChange': function(_215g) { var _215h = null, _215i = _215g.target.target, _215j = (_215i.value, _215i.sub); _215d._numset.setValue(Math.round(_215j)); var _215k = Math.max(_215d._data.nowHP - _215j, 0), _215l = _215d._data.maxHP; _215d._gauge.update(_215k, _215l); } }).to({ 'sub': this._data.subValue }, _215e).call(function() { var _215m = null; _215d._numset.startLightAnimation(), _215d._explodeGauge(_215b); }); }, _2152.prototype._explodeGauge = function(_215n) { var _215o = null, _215p = this; this._data.nowHP - this._data.subValue <= 0 ? createjs.Tween.get(null).wait(250).call(function() { var _215q = null; _215p._gauge.explode(function() { var _215r = null; null == _215p._gauge_info_next ? _215p._showOperationComplete(_215n) : _215p._showNextGauge(_215n); }); }) : this._wait(_215n); }, _2152.prototype._showNextGauge = function(_215s) { var _215t = null, _215u = this; this._gauge.changeNextGauge(this._is_event_area, this._gauge_info_next, function() { var _215v = null; _215u._wait(_215s); }); }, _2152.prototype._showOperationComplete = function(_215w) { var _215x = null, _215y = this; createjs.Tween.get(this._title).wait(1000).to({ 'y': 345 }, 500, createjs.Ease.sineInOut).to({ 'scaleX': 1.4, 'scaleY': 1.4 }, 1500, createjs.Ease.sineInOut).wait(600).call(function() { var _215z = null; _215y._showOperationComplete2(_215w); }); }, _2152.prototype._showOperationComplete2 = function(_2160) { var _2161 = null, _2162 = this; createjs.Tween.get(this._title).to({ 'scaleX': 1, 'scaleY': 1, 'alpha': 0 }, 1000, createjs.Ease.cubicIn).wait(1000).call(function() { var _2163 = null; _2162._wait(_2160); }); var _2164 = new _214t.CenteringSprite(_214u.BATTLE_RESULT_MAIN.getTexture(0)); _2164.position.set(608, 350), _2164.scale.set(1.4), _2164.alpha = 0, this.addChild(_2164), createjs.Tween.get(_2164).to({ 'scaleX': 1, 'scaleY': 1, 'alpha': 1 }, 1000, createjs.Ease.cubicIn), this._kamihubuki = new _214x.KamihubukiLayer(), this.addChild(this._kamihubuki), createjs.Tween.get(null).wait(400).call(function() { var _2165 = null; _2162._kamihubuki.startKamihubuki(60); }); }, _2152.prototype._wait = function(_2166) { var _2167 = null; new _2168(this).start(function() { _2166(); }); }, _2152.prototype.dispose = function() { var _2169 = null; this._numset.stopLightAnimation(), null != this._kamihubuki && this._kamihubuki.dispose(); }, _2152; }(PIXI.Container); _2146.ResultDialog = _214z; var _2168 = function(_216a) { var _216b = null; function _216c(_216d) { var _216e = null, _216f = _216a.call(this) || this; return _216f._onClick = function() { var _216g = null; _216f._wait_tween.setPaused(!0), _216f._wait_tween = null, _216f._endTask(); }, _216f._layer = _216d, _216f; } return _214a(_216c, _216a), _216c.prototype._start = function() { var _216h = null, _216i = this; this._area = new _214r.AreaBox(0), this._area.buttonMode = !0, this._layer.addChild(this._area), this._area.once(_214y.EventType.CLICK, this._onClick), this._wait_tween = createjs.Tween.get(null), this._wait_tween.wait(3000), this._wait_tween.call(function() { var _216j = null; _216i._area.off(_214y.EventType.CLICK, _216i._onClick), _216i._wait_tween = null, _216i._endTask(); }); }, _216c.prototype._endTask = function() { var _216k = null; this._layer.removeChild(this._area), this._layer = null, this._area = null, _216a.prototype._endTask.call(this); }, _216c; }(_214q.TaskBase), _215a = function(_216l) { var _216m = null; function _216n() { var _216o = null, _216p = _216l.call(this) || this; return _216p._img = new PIXI.Sprite(), _216p._img.x = -167, _216p._img.y = -30, _216p.addChild(_216p._img), _216p; } return _214a(_216n, _216l), _216n.prototype.initialize = function(_216q) { var _216r = null; this._img.texture = 1 == _216q ? _214u.BATTLE_RESULT_MAIN.getTexture(57) : _214u.BATTLE_RESULT_MAIN.getTexture(4); }, _216n; }(_214s.Container); }, 83299: function(_216s, _216t, _216u) { 'use strict'; var _216v = null; var _216w, _216x = this && this.__extends || (_216w = function(_216y, _216z) { var _2170 = null; return _216w = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_2171, _2172) { var _2173 = null; _2171.__proto__ = _2172; } || function(_2174, _2175) { var _2176 = null; for (var _2177 in _2175) Object.prototype.hasOwnProperty.call(_2175, _2177) && (_2174[_2177] = _2175[_2177]); }, _216w(_216y, _216z); }, function(_2178, _2179) { var _217a = null; if ('function' != typeof _2179 && null !== _2179) throw new TypeError('Class extends value ' + String(_2179) + ' is not a constructor or null'); function _217b() { var _217c = null; this.constructor = _2178; } _216w(_2178, _2179), _2178.prototype = null === _2179 ? Object.create(_2179) : (_217b.prototype = _2179.prototype, new _217b()); }); defineModule(_216t); Object.defineProperty(_216t, '__esModule', { 'value': !0 }), _216t.ResultDialogGauge = void 0; var _217d = _216u(84272), _217e = _216u(45054), _217f = _216u(5527), _217g = _216u(40586), _217h = function(_217i) { var _217j = null; function _217k() { var _217l = null; return _217i.call(this) || this; } return _216x(_217k, _217i), _217k.prototype.initialize = function(_217m, _217n, _217o, _217p) { var _217q = null; this._gauge = new _217d.GaugeHorizontal(), this._gauge.initialize(_217n, _217m), this._gauge.update(_217o, _217p), this.addChild(this._gauge); }, _217k.prototype.update = function(_217r, _217s) { var _217t = null; if (null == this._gauge) return null; this._gauge.update(_217r, _217s); }, _217k.prototype.explode = function(_217u) { var _217v = null, _217w = this, _217x = new _217f.ParallelTask(), _217y = new _217g.TaskExplosion(this, 107, 20); _217x.add(_217y); var _217z = new _217g.TaskExplosion(this, 209, 57, 250); _217x.add(_217z); var _2180 = new _217g.TaskExplosion(this, 309, 24, 450); _217x.add(_2180), _217x.start(function() { null != _217u && _217u(); }), createjs.Tween.get(this._gauge).wait(200).to({ 'alpha': 0 }, 400).call(function() { var _2181 = null; _217w.removeChild(_217w._gauge), _217w._gauge = null; }); }, _217k.prototype.changeNextGauge = function(_2182, _2183, _2184) { var _2185 = null; null != this._gauge && (null != this._gauge.parent && this._gauge.parent.removeChild(this._gauge), this._gauge = null), this._gauge = new _217d.GaugeHorizontal(), this._gauge.initialize(_2183, _2182), this._gauge.update(100, 100), this._gauge.x = -this._gauge.width / 2, this._gauge.y = -this._gauge.height / 2; var _2186 = new _217e.Container(); _2186.x = this._gauge.width / 2, _2186.y = this._gauge.height / 2, _2186.scale.set(1.6), _2186.alpha = 0, this.addChild(_2186), _2186.addChild(this._gauge), createjs.Tween.get(_2186).wait(1000).to({ 'scaleX': 1, 'scaleY': 1, 'alpha': 1 }, 750, createjs.Ease.quartInOut).wait(1500).call(function() { null != _2184 && _2184(); }); }, _217k; }(PIXI.Container); _216t.ResultDialogGauge = _217h; }, 83994: function(_2187, _2188, _2189) { 'use strict'; var _218a = null; var _218b, _218c = this && this.__extends || (_218b = function(_218d, _218e) { var _218f = null; return _218b = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_218g, _218h) { var _218i = null; _218g.__proto__ = _218h; } || function(_218j, _218k) { var _218l = null; for (var _218m in _218k) Object.prototype.hasOwnProperty.call(_218k, _218m) && (_218j[_218m] = _218k[_218m]); }, _218b(_218d, _218e); }, function(_218n, _218o) { var _218p = null; if ('function' != typeof _218o && null !== _218o) throw new TypeError('Class extends value ' + String(_218o) + ' is not a constructor or null'); function _218q() { var _218r = null; this.constructor = _218n; } _218b(_218n, _218o), _218n.prototype = null === _218o ? Object.create(_218o) : (_218q.prototype = _218o.prototype, new _218q()); }); defineModule(_2188); Object.defineProperty(_2188, '__esModule', { 'value': !0 }), _2188.ResultDialogNum = void 0; var _218s = _2189(26802), _218t = function(_218u) { var _218v = null; function _218w() { var _218x = null; return _218u.call(this) || this; } return _218c(_218w, _218u), _218w.prototype.update = function(_218y) { var _218z = null; switch (_218y) { case 0: this.texture = _218s.BATTLE_RESULT_MAIN.getTexture(37); break; case 1: this.texture = _218s.BATTLE_RESULT_MAIN.getTexture(39); break; case 2: this.texture = _218s.BATTLE_RESULT_MAIN.getTexture(41); break; case 3: this.texture = _218s.BATTLE_RESULT_MAIN.getTexture(43); break; case 4: this.texture = _218s.BATTLE_RESULT_MAIN.getTexture(45); break; case 5: this.texture = _218s.BATTLE_RESULT_MAIN.getTexture(47); break; case 6: this.texture = _218s.BATTLE_RESULT_MAIN.getTexture(49); break; case 7: this.texture = _218s.BATTLE_RESULT_MAIN.getTexture(51); break; case 8: this.texture = _218s.BATTLE_RESULT_MAIN.getTexture(53); break; case 9: this.texture = _218s.BATTLE_RESULT_MAIN.getTexture(55); break; default: this.texture = PIXI.Texture.EMPTY; } }, _218w; }(PIXI.Sprite); _2188.ResultDialogNum = _218t; }, 11843: function(_2190, _2191, _2192) { 'use strict'; var _2193 = null; var _2194, _2195 = this && this.__extends || (_2194 = function(_2196, _2197) { var _2198 = null; return _2194 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_2199, _219a) { var _219b = null; _2199.__proto__ = _219a; } || function(_219c, _219d) { var _219e = null; for (var _219f in _219d) Object.prototype.hasOwnProperty.call(_219d, _219f) && (_219c[_219f] = _219d[_219f]); }, _2194(_2196, _2197); }, function(_219g, _219h) { var _219i = null; if ('function' != typeof _219h && null !== _219h) throw new TypeError('Class extends value ' + String(_219h) + ' is not a constructor or null'); function _219j() { var _219k = null; this.constructor = _219g; } _2194(_219g, _219h), _219g.prototype = null === _219h ? Object.create(_219h) : (_219j.prototype = _219h.prototype, new _219j()); }); defineModule(_2191); Object.defineProperty(_2191, '__esModule', { 'value': !0 }), _2191.ResultDialogNumLight = void 0; var _219l = _2192(26802), _219m = function(_219n) { var _219o = null; function _219p() { var _219q = null; return _219n.call(this) || this; } return _2195(_219p, _219n), _219p.prototype.update = function(_219r) { var _219s = null; switch (_219r) { case 0: this.texture = _219l.BATTLE_RESULT_MAIN.getTexture(38); break; case 1: this.texture = _219l.BATTLE_RESULT_MAIN.getTexture(40); break; case 2: this.texture = _219l.BATTLE_RESULT_MAIN.getTexture(42); break; case 3: this.texture = _219l.BATTLE_RESULT_MAIN.getTexture(44); break; case 4: this.texture = _219l.BATTLE_RESULT_MAIN.getTexture(46); break; case 5: this.texture = _219l.BATTLE_RESULT_MAIN.getTexture(48); break; case 6: this.texture = _219l.BATTLE_RESULT_MAIN.getTexture(50); break; case 7: this.texture = _219l.BATTLE_RESULT_MAIN.getTexture(52); break; case 8: this.texture = _219l.BATTLE_RESULT_MAIN.getTexture(54); break; case 9: this.texture = _219l.BATTLE_RESULT_MAIN.getTexture(56); break; default: this.texture = PIXI.Texture.EMPTY; } }, _219p; }(PIXI.Sprite); _2191.ResultDialogNumLight = _219m; }, 97667: function(_219t, _219u, _219v) { 'use strict'; var _219w = null; var _219x, _219y = this && this.__extends || (_219x = function(_219z, _21a0) { var _21a1 = null; return _219x = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_21a2, _21a3) { var _21a4 = null; _21a2.__proto__ = _21a3; } || function(_21a5, _21a6) { var _21a7 = null; for (var _21a8 in _21a6) Object.prototype.hasOwnProperty.call(_21a6, _21a8) && (_21a5[_21a8] = _21a6[_21a8]); }, _219x(_219z, _21a0); }, function(_21a9, _21aa) { var _21ab = null; if ('function' != typeof _21aa && null !== _21aa) throw new TypeError('Class extends value ' + String(_21aa) + ' is not a constructor or null'); function _21ac() { var _21ad = null; this.constructor = _21a9; } _219x(_21a9, _21aa), _21a9.prototype = null === _21aa ? Object.create(_21aa) : (_21ac.prototype = _21aa.prototype, new _21ac()); }); defineModule(_219u); Object.defineProperty(_219u, '__esModule', { 'value': !0 }), _219u.ResultDialogNumSet = void 0; var _21ae = _219v(11843), _21af = _219v(83994), _21ag = function(_21ah) { var _21ai = null; function _21aj() { var _21ak = null, _21al = _21ah.call(this) || this; _21al._value = 0, _21al._lights = [], _21al._nums = []; for (var _21am = 0; _21am < 4; _21am++) { var _21an = new _21ae.ResultDialogNumLight(); _21an.x = 68 - 23 * _21am, _21an.visible = !1, _21al.addChild(_21an), _21al._lights.push(_21an); } for (_21am = 0; _21am < 4; _21am++) { var _21ao = new _21af.ResultDialogNum(); _21ao.x = 68 - 23 * _21am, _21ao.visible = !1, _21al.addChild(_21ao), _21al._nums.push(_21ao); } return _21al; } return _219y(_21aj, _21ah), _21aj.prototype.setValue = function(_21ap) { var _21aq = null; this._value = Math.min(_21ap, 9999); for (var _21ar = this._value, _21as = 0; _21as < this._nums.length; _21as++) { var _21at = this._nums[_21as], _21au = this._lights[_21as], _21av = _21ar % 10; _21at.update(_21av), _21au.update(_21av), _21at.visible = 0 != _21av || 0 != _21ar, _21ar = Math.floor(_21ar / 10); } }, _21aj.prototype.startLightAnimation = function() { var _21aw = null; this.stopLightAnimation(), this._light_tweens = []; for (var _21ax = 0; _21ax < this._lights.length; _21ax++) { var _21ay = this._nums[_21ax], _21az = this._lights[_21ax]; if (0 == _21ay.visible) _21az.visible = !1; else { _21az.alpha = 0, _21az.visible = !0; var _21b0 = createjs.Tween.get(_21az, { 'loop': !0 }).to({ 'alpha': 1 }, 500).wait(500).to({ 'alpha': 0 }, 500).wait(500); this._light_tweens.push(_21b0); } } }, _21aj.prototype.stopLightAnimation = function() { var _21b1 = null; if (null != this._light_tweens) { for (var _21b2 = 0, _21b3 = this._light_tweens; _21b2 < _21b3.length; _21b2++) { var _21b4 = _21b3[_21b2]; _21b4.setPaused(!0), _21b4 = null; } this._light_tweens = null; } }, _21aj; }(PIXI.Container); _219u.ResultDialogNumSet = _21ag; }, 46957: function(_21b5, _21b6, _21b7) { 'use strict'; var _21b8 = null; var _21b9, _21ba = this && this.__extends || (_21b9 = function(_21bb, _21bc) { var _21bd = null; return _21b9 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_21be, _21bf) { var _21bg = null; _21be.__proto__ = _21bf; } || function(_21bh, _21bi) { var _21bj = null; for (var _21bk in _21bi) Object.prototype.hasOwnProperty.call(_21bi, _21bk) && (_21bh[_21bk] = _21bi[_21bk]); }, _21b9(_21bb, _21bc); }, function(_21bl, _21bm) { var _21bn = null; if ('function' != typeof _21bm && null !== _21bm) throw new TypeError('Class extends value ' + String(_21bm) + ' is not a constructor or null'); function _21bo() { var _21bp = null; this.constructor = _21bl; } _21b9(_21bl, _21bm), _21bl.prototype = null === _21bm ? Object.create(_21bm) : (_21bo.prototype = _21bm.prototype, new _21bo()); }); defineModule(_21b6); Object.defineProperty(_21b6, '__esModule', { 'value': !0 }), _21b6.TutorialScene = void 0; var _21bq = _21b7(84159), _21br = _21b7(90895), _21bs = _21b7(35660), _21bt = _21b7(95703), _21bu = _21b7(69105), _21bv = _21b7(22242), _21bw = _21b7(70056), _21bx = _21b7(86394), _21by = _21b7(87420), _21bz = _21b7(30019), _21c0 = _21b7(10510), _21c1 = _21b7(26319), _21c2 = _21b7(47043), _21c3 = _21b7(27631), _21c4 = _21b7(63945), _21c5 = _21b7(96850), _21c6 = function(_21c7) { var _21c8 = null; function _21c9(_21ca) { var _21cb = null; void 0 === _21ca && (_21ca = 0); var _21cc = _21c7.call(this) || this; return _21cc._sceneId = _21ca, _21cc._isStart = !0, _21cc._isGoNextPath = !0, _21cc._shipId = null, _21cc._onSceneStart = function() { var _21cd = null; switch (_21cc._isStart) { case !0: return _21cc._isStart = !1, _21cc._ViewMain.start(), _21cc._CurrentScene.start(), _21cc; case !1: return _21cc._loader.hide(), _21cc._NextScene.start(), _21cc._isGoNextPath && _21cc._ev.emit('tutorial-next'), _21cc; } }, _21cc._onNextScene = function() { var _21ce = null; if (_21cc._loader.show(), _21cc._sceneId++, _21cc._NextScene = _21cc._createNextScene(), _21cc._SoundManager.voice.stopAll(), null == _21cc._NextScene) return _21cc.dispose(), !1; _21cc._NextScene.initialize(), _21cc._ViewScene.addChild(_21cc._NextScene), _21cc._CurrentScene.dispose(), _21cc._CurrentScene = _21cc._NextScene; }, _21cc._onRemoveScene = function() { var _21cf = null; _21cc._ViewScene.removeChildAt(0), _21cc._CurrentScene = _21cc._NextScene; }, _21cc._onPlayVoice = function(_21cg, _21ch, _21ci) { var _21cj = null; void 0 === _21ci && (_21ci = null), _21cc._SoundManager.voice.play(_21cg, _21ch, _21ci); }, _21cc._saveShipId = function(_21ck) { var _21cl = null; _21cc._shipId = _21ck; }, _21cc._ImageManager = new _21bx.ImageManager(_21cc._create.bind(_21cc)), _21cc._SoundManager = new _21bq.SoundManager(), _21cc._ev = new PIXI.utils.EventEmitter(), _21cc._ev.on('tutorial-scene-start', _21cc._onSceneStart).on('tutorial-next-scene', _21cc._onNextScene).on('tutorial-remove-scene', _21cc._onRemoveScene).on('tutorial-play-voice', _21cc._onPlayVoice).on('tutorial-save-ship', _21cc._saveShipId), _21cc.emitter = new PIXI.utils.EventEmitter(), _21cc; } return _21ba(_21c9, _21c7), _21c9.prototype.start = function() { var _21cm = null; this._ViewMain.start(), this._CurrentScene.start(); }, _21c9.prototype._create = function() { var _21cn = null, _21co = new PIXI.Sprite(this._ImageManager.use(_21bw.IMAGE_FILE.BG)); this._ViewMain = new _21by.ViewMain(this._ImageManager, this._ev), this._ViewScene = new PIXI.Container(), this._CurrentScene = this._createNextScene(), this._CurrentScene.initialize(), this._ViewScene.addChild(this._CurrentScene), this._loader = new _21br.LoadingBox(), this._loader.hide(), this.addChild(_21co, this._ViewScene, this._ViewMain, this._loader); }, _21c9.prototype._createNextScene = function() { var _21cp = null; switch (this._sceneId) { case 0: return this._isGoNextPath = !0, new _21c3.SceneInputName(this._ev); case 1: return this._isGoNextPath = !0, new _21c4.SceneSelectShip(this._ImageManager, this._ev); case 2: return this._isGoNextPath = !0, new _21bz.SceneExplain1(this._ev); case 3: return this._isGoNextPath = !0, new _21c0.SceneExplain2(this._ev); case 4: return this._isGoNextPath = !0, new _21c1.SceneExplain3(this._ev); case 5: return this._isGoNextPath = !1, new _21c2.SceneFinal(this._ImageManager, this._ev, this._shipId); default: return null; } }, _21c9.prototype.dispose = function() { var _21cq = null, _21cr = this; this._ev.off('tutorial-scene-start', this._onSceneStart).off('tutorial-next-scene', this._onNextScene).off('tutorial-remove-scene', this._onRemoveScene).off('tutorial-play-voice', this._onPlayVoice).off('tutorial-save-ship', this._saveShipId); var _21cs = new _21bs.APIConnector(), _21ct = parseInt(this._shipId, 10); _21cs.add(new _21c5.APIFirstShip(_21ct)), _21cs.add(new _21bt.UserDataAPI()), _21cs.add(new _21bu.UserShipAPI()), _21cs.add(new _21bv.UserSlotItemAPI()), _21cs.start(function() { var _21cu = null; _21cr._loader.hide(), createjs.Tween.get(_21cr).to({ 'alpha': 0 }, 400, createjs.Ease.linear).call(function() { var _21cv = null; _21cr._ViewMain.dispose(), _21cr._CurrentScene.dispose(), _21cr._CurrentScene = null, _21cr._NextScene = null, _21cr.removeChildren(), _21cr.emitter.emit('tutorial-event-end'); }); }); }, _21c9; }(PIXI.Container); _21b6.TutorialScene = _21c6; }, 96850: function(_21cw, _21cx, _21cy) { 'use strict'; var _21cz = null; var _21d0, _21d1 = this && this.__extends || (_21d0 = function(_21d2, _21d3) { var _21d4 = null; return _21d0 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_21d5, _21d6) { var _21d7 = null; _21d5.__proto__ = _21d6; } || function(_21d8, _21d9) { var _21da = null; for (var _21db in _21d9) Object.prototype.hasOwnProperty.call(_21d9, _21db) && (_21d8[_21db] = _21d9[_21db]); }, _21d0(_21d2, _21d3); }, function(_21dc, _21dd) { var _21de = null; if ('function' != typeof _21dd && null !== _21dd) throw new TypeError('Class extends value ' + String(_21dd) + ' is not a constructor or null'); function _21df() { var _21dg = null; this.constructor = _21dc; } _21d0(_21dc, _21dd), _21dc.prototype = null === _21dd ? Object.create(_21dd) : (_21df.prototype = _21dd.prototype, new _21df()); }); defineModule(_21cx); Object.defineProperty(_21cx, '__esModule', { 'value': !0 }), _21cx.APIFirstShip = void 0; var _21dh = function(_21di) { var _21dj = null; function _21dk(_21dl) { var _21dm = null, _21dn = _21di.call(this) || this; return _21dn._shipId = _21dl, _21dn._url = 'api_req_init/firstship', _21dn; } return _21d1(_21dk, _21di), _21dk.prototype._connect = function() { var _21do = null; this._post_data.api_ship_id = this._shipId, _21di.prototype._connect.call(this); }, _21dk.prototype._completedEnd = function() { var _21dp = null; _21di.prototype._completedEnd.call(this); }, _21dk; }(_21cy(37562).APIBase); _21cx.APIFirstShip = _21dh; }, 8377: function(_21dq, _21dr, _21ds) { 'use strict'; var _21dt = null; var _21du, _21dv = this && this.__extends || (_21du = function(_21dw, _21dx) { var _21dy = null; return _21du = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_21dz, _21e0) { var _21e1 = null; _21dz.__proto__ = _21e0; } || function(_21e2, _21e3) { var _21e4 = null; for (var _21e5 in _21e3) Object.prototype.hasOwnProperty.call(_21e3, _21e5) && (_21e2[_21e5] = _21e3[_21e5]); }, _21du(_21dw, _21dx); }, function(_21e6, _21e7) { var _21e8 = null; if ('function' != typeof _21e7 && null !== _21e7) throw new TypeError('Class extends value ' + String(_21e7) + ' is not a constructor or null'); function _21e9() { var _21ea = null; this.constructor = _21e6; } _21du(_21e6, _21e7), _21e6.prototype = null === _21e7 ? Object.create(_21e7) : (_21e9.prototype = _21e7.prototype, new _21e9()); }); defineModule(_21dr); Object.defineProperty(_21dr, '__esModule', { 'value': !0 }), _21dr.APISaveNickName = void 0; var _21eb = function(_21ec) { var _21ed = null; function _21ee(_21ef, _21eg) { var _21eh = null, _21ei = _21ec.call(this) || this; return _21ei._name = _21ef, _21ei._nickNameId = _21eg, _21ei._url = 'api_req_init/nickname', _21ei; } return _21dv(_21ee, _21ec), _21ee.prototype._connect = function() { var _21ej = null; this._post_data.api_nickname = this._name, this._post_data.api_nickname_id = this._nickNameId, _21ec.prototype._connect.call(this); }, _21ee.prototype._completedEnd = function() { var _21ek = null; _21ec.prototype._completedEnd.call(this); }, _21ee; }(_21ds(37562).APIBase); _21dr.APISaveNickName = _21eb; }, 70056: (_21el, _21em) => { 'use strict'; var _21en = null; defineModule(_21em); Object.defineProperty(_21em, '__esModule', { 'value': !0 }), _21em.CHARA_SUFFIX = _21em.CHARA_PREFIX = _21em.CHARA = _21em.IMAGE_FILE = void 0, _21em.IMAGE_FILE = { 'BG': 'bg', 'CRUMB': 'crumb_bg', 'TITLE_BG': 'title_bg', 'MSG_BOX': 'message_box' }, _21em.CHARA = { 'FUBUKI': '009', 'MURAKUMO': '033', 'SAZANAMI': '094', 'INADUMA': '037', 'SAMIDARE': '046' }, _21em.CHARA_PREFIX = 'chara', _21em.CHARA_SUFFIX = { 'FULL': 'full', 'BG': 'bg', 'TXT': 'txt' }; }, 86394: function(_21eo, _21ep, _21eq) { 'use strict'; var _21er = null; var _21es = this && this.__importDefault || function(_21et) { var _21eu = null; return _21et && _21et.__esModule ? _21et : { 'default': _21et }; }; defineModule(_21ep); Object.defineProperty(_21ep, '__esModule', { 'value': !0 }), _21ep.ImageManager = void 0; var _21ev = _21es(_21eq(18622)), _21ew = _21eq(70056), _21ex = (function() { var _21ey = null; function _21ez(_21f0) { var _21f1 = null; void 0 === _21f0 && (_21f0 = null), this.path = 'img/tutorial', this.prefix = 'tutorial_', this._loader = new PIXI.loaders.Loader(_21ev.default.settings.path_root); for (var _21f2 = function(_21f3) { var _21f4 = null; for (var _21f5 = [], _21f6 = 0, _21f7 = _21f3.length; _21f6 < _21f7; _21f6++) { var _21f8 = _21f3[_21f6]; _21f5.push(['' ['concat'](_21f8, '.png'), _21f8]); } return _21f5.push(['tutorial_main.json', null]), _21f5; }([_21ew.IMAGE_FILE.BG, _21ew.IMAGE_FILE.CRUMB, _21ew.IMAGE_FILE.TITLE_BG, _21ew.IMAGE_FILE.MSG_BOX]), _21f9 = 0, _21fa = _21f2.length; _21f9 < _21fa; _21f9++) { var _21fb = _21f2[_21f9]; this.add(_21fb[0], _21fb[1]); } this.load(_21f0); } return _21ez.prototype.add = function(_21fc, _21fd) { var _21fe = null; void 0 === _21fd && (_21fd = null); var _21ff = '' ['concat'](this.path, '/').concat(_21fc); null != _21fd ? this._loader.add(this.prefix + _21fd, _21ff) : this._loader.add(_21ff); }, _21ez.prototype.load = function(_21fg) { var _21fh = null; void 0 === _21fg && (_21fg = null), this._loader.load(function(_21fi, _21fj) { null != _21fg && _21fg(); }); }, _21ez.prototype.use = function(_21fk) { var _21fl = null; return PIXI.Texture.from(this.prefix + _21fk); }, _21ez.prototype.charaImagesList = function() { var _21fm = null; for (var _21fn = [_21ew.CHARA.FUBUKI, _21ew.CHARA.MURAKUMO, _21ew.CHARA.SAZANAMI, _21ew.CHARA.INADUMA, _21ew.CHARA.SAMIDARE], _21fo = [], _21fp = function(_21fq, _21fr) { var _21fs = null, _21ft = _21fn[_21fq]; Object.keys(_21ew.CHARA_SUFFIX).forEach(function(_21fu) { var _21fv = null, _21fw = _21ew.CHARA_SUFFIX[_21fu]; _21fo.push(['chara/c'['concat'](_21ft, '_').concat(_21fw, '.png'), '' ['concat'](_21ew.CHARA_PREFIX, '_').concat(_21ft, '_').concat(_21fw)]); }); }, _21fx = 0, _21fy = _21fn.length; _21fx < _21fy; _21fx++) _21fp(_21fx); return _21fo; }, _21ez.prototype.dispose = function() { var _21fz = null; this._loader.destroy(); }, _21ez; }()); _21ep.ImageManager = _21ex; }, 87420: function(_21g0, _21g1, _21g2) { 'use strict'; var _21g3 = null; var _21g4, _21g5 = this && this.__extends || (_21g4 = function(_21g6, _21g7) { var _21g8 = null; return _21g4 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_21g9, _21ga) { var _21gb = null; _21g9.__proto__ = _21ga; } || function(_21gc, _21gd) { var _21ge = null; for (var _21gf in _21gd) Object.prototype.hasOwnProperty.call(_21gd, _21gf) && (_21gc[_21gf] = _21gd[_21gf]); }, _21g4(_21g6, _21g7); }, function(_21gg, _21gh) { var _21gi = null; if ('function' != typeof _21gh && null !== _21gh) throw new TypeError('Class extends value ' + String(_21gh) + ' is not a constructor or null'); function _21gj() { var _21gk = null; this.constructor = _21gg; } _21g4(_21gg, _21gh), _21gg.prototype = null === _21gh ? Object.create(_21gh) : (_21gj.prototype = _21gh.prototype, new _21gj()); }), _21gl = this && this.__importDefault || function(_21gm) { var _21gn = null; return _21gm && _21gm.__esModule ? _21gm : { 'default': _21gm }; }; defineModule(_21g1); Object.defineProperty(_21g1, '__esModule', { 'value': !0 }), _21g1.ViewMain = void 0; var _21go = _21g2(59381), _21gp = _21gl(_21g2(21359)), _21gq = _21g2(70056), _21gr = function(_21gs) { var _21gt = null; function _21gu(_21gv, _21gw) { var _21gx = null, _21gy = _21gs.call(this) || this; _21gy._ev = _21gw, _21gy._titleChange = function(_21gz, _21h0) { var _21h1 = null; void 0 === _21h0 && (_21h0 = null); var _21h2 = 200, _21h3 = createjs.Ease.linear; if (0 == _21gz) return createjs.Tween.get(_21gy.getChildByName('titleBar')).to({ 'alpha': 0 }, _21h2, _21h3), !1; var _21h4 = _21go.TUTORIAL_MAIN.getTexture(_21h0); 0 == _21gy.getChildByName('titleBar').alpha ? (_21gy._titleMessage.texture = _21h4, createjs.Tween.get(_21gy.getChildByName('titleBar')).to({ 'alpha': 1 }, _21h2, _21h3)) : createjs.Tween.get(_21gy._titleMessage).to({ 'alpha': 0 }, _21h2, _21h3).call(function() { var _21h5 = null; _21gy._titleMessage.texture = _21h4; }).to({ 'alpha': 1 }, _21h2, _21h3); }, _21gy._onNext = function() { var _21h6 = null; createjs.Tween.get(_21gy._currentTutorialIcon, { 'loop': !1 }).to({ 'x': _21gy._currentTutorialIcon.x + 60 }, 400, createjs.Ease.linear); }, _21gy._ev.on('tutorial-title', _21gy._titleChange).on('tutorial-next', _21gy._onNext); var _21h7 = new PIXI.Container(); _21h7.position.set(0, 50), _21h7.alpha = 0, _21h7.name = 'titleBar'; var _21h8 = new PIXI.Sprite(_21gv.use(_21gq.IMAGE_FILE.TITLE_BG)), _21h9 = Math.floor(_21h8.height / 2); _21gy._titleIcon = new PIXI.Sprite(_21go.TUTORIAL_MAIN.getTexture(10)), _21gy._titleIcon.anchor.set(0.5, 0.5), _21gy._titleIcon.position.set(20 + Math.floor(_21gy._titleIcon.width / 2), _21h9), _21gy._titleMessage = new PIXI.Sprite(), _21gy._titleMessage.anchor.set(0, 0.5), _21gy._titleMessage.position.set(80, _21h9), _21h7.addChild(_21h8, _21gy._titleIcon, _21gy._titleMessage); var _21ha = new PIXI.Container(), _21hb = new PIXI.Sprite(_21gv.use(_21gq.IMAGE_FILE.CRUMB)); return _21gy._currentTutorialIcon = new PIXI.Sprite(_21go.TUTORIAL_MAIN.getTexture(9)), _21gy._currentTutorialIcon.anchor.set(0.5, 0.5), _21gy._currentTutorialIcon.position.set(345, Math.floor(_21hb.height / 2) - 3), _21ha.position.set(_21gp.default.width - _21hb.width - 12, 0), _21ha.addChild(_21hb, _21gy._currentTutorialIcon), _21gy.addChild(_21h7, _21ha), _21gy; } return _21g5(_21gu, _21gs), _21gu.prototype.start = function() { var _21hc = null, _21hd = { 'angle': 2 * Math.PI, 'duration': 8000, 'ease': createjs.Ease.linear }; createjs.Tween.get(this._titleIcon, { 'loop': !0 }).to({ 'rotation': _21hd.angle }, _21hd.duration, _21hd.ease), createjs.Tween.get(this._currentTutorialIcon, { 'loop': !0 }).to({ 'rotation': _21hd.angle }, _21hd.duration, _21hd.ease); }, _21gu.prototype.dispose = function() { var _21he = null; createjs.Tween.removeTweens(this._titleIcon), createjs.Tween.removeTweens(this._currentTutorialIcon), this._ev.off('tutorial-title', this._titleChange).off('tutorial-next', this._onNext); }, _21gu; }(PIXI.Container); _21g1.ViewMain = _21gr; }, 42030: function(_21hf, _21hg, _21hh) { 'use strict'; var _21hi = null; var _21hj, _21hk = this && this.__extends || (_21hj = function(_21hl, _21hm) { var _21hn = null; return _21hj = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_21ho, _21hp) { var _21hq = null; _21ho.__proto__ = _21hp; } || function(_21hr, _21hs) { var _21ht = null; for (var _21hu in _21hs) Object.prototype.hasOwnProperty.call(_21hs, _21hu) && (_21hr[_21hu] = _21hs[_21hu]); }, _21hj(_21hl, _21hm); }, function(_21hv, _21hw) { var _21hx = null; if ('function' != typeof _21hw && null !== _21hw) throw new TypeError('Class extends value ' + String(_21hw) + ' is not a constructor or null'); function _21hy() { var _21hz = null; this.constructor = _21hv; } _21hj(_21hv, _21hw), _21hv.prototype = null === _21hw ? Object.create(_21hw) : (_21hy.prototype = _21hw.prototype, new _21hy()); }), _21i0 = this && this.__importDefault || function(_21i1) { var _21i2 = null; return _21i1 && _21i1.__esModule ? _21i1 : { 'default': _21i1 }; }; defineModule(_21hg); Object.defineProperty(_21hg, '__esModule', { 'value': !0 }), _21hg.MessageBoxView = void 0; var _21i3 = _21hh(8744), _21i4 = _21hh(59381), _21i5 = _21i0(_21hh(21359)), _21i6 = _21hh(70056), _21i7 = function(_21i8) { var _21i9 = null; function _21ia(_21ib, _21ic) { var _21id = null, _21ie = _21i8.call(this) || this; _21ie._ImageManager = _21ib, _21ie._ev = _21ic; var _21if = new PIXI.Sprite(_21ie._ImageManager.use(_21i6.IMAGE_FILE.MSG_BOX)); _21ie.btn = new PIXI.Container(); var _21ig = new PIXI.Sprite(_21i4.TUTORIAL_MAIN.getTexture(3)); return _21ig.anchor.set(0.5, 0.5), _21ie._btnOuter = new PIXI.Sprite(_21i4.TUTORIAL_MAIN.getTexture(4)), _21ie._btnOuter.anchor.set(0.5, 0.5), _21ie.btn.addChild(_21ig, _21ie._btnOuter), _21ie.btn.width = _21ie._btnOuter.width, _21ie.btn.height = _21ie._btnOuter.height, _21ie.btn.position.set(_21i5.default.width - Math.floor(_21ie._btnOuter.width / 2) - 20, 170), _21ie.message = new _21i3.TextBox(27, 16777215), _21ie.message.text = '', _21ie.message.position.set(250, 85), _21ie.position.set(0, 465), _21ie.addChild(_21if, _21ie.message, _21ie.btn), _21ie; } return _21hk(_21ia, _21i8), _21ia.prototype.start = function() { var _21ih = null; createjs.Tween.get(this._btnOuter, { 'loop': !0 }).to({ 'rotation': 2 * Math.PI }, 6000, createjs.Ease.linear); }, _21ia.prototype.flashText = function(_21ii, _21ij) { var _21ik = null, _21il = this; void 0 === _21ij && (_21ij = 40); var _21im = createjs.Tween.get(null, { 'loop': !0 }).wait(_21ij).call(function() { var _21in = null, _21io = _21ii.substr(0, 1); '\x20' == _21il.message.text ? _21il.message.text = _21io : _21il.message.text += _21io, 0 == (_21ii = _21ii.substr(1)).length && (_21im.setPaused(!0), _21im = null); }); }, _21ia.prototype.dispose = function() { var _21ip = null; createjs.Tween.removeTweens(this._btnOuter); }, _21ia; }(PIXI.Container); _21hg.MessageBoxView = _21i7; }, 69787: function(_21iq, _21ir) { 'use strict'; var _21is = null; var _21it, _21iu = this && this.__extends || (_21it = function(_21iv, _21iw) { var _21ix = null; return _21it = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_21iy, _21iz) { var _21j0 = null; _21iy.__proto__ = _21iz; } || function(_21j1, _21j2) { var _21j3 = null; for (var _21j4 in _21j2) Object.prototype.hasOwnProperty.call(_21j2, _21j4) && (_21j1[_21j4] = _21j2[_21j4]); }, _21it(_21iv, _21iw); }, function(_21j5, _21j6) { var _21j7 = null; if ('function' != typeof _21j6 && null !== _21j6) throw new TypeError('Class extends value ' + String(_21j6) + ' is not a constructor or null'); function _21j8() { var _21j9 = null; this.constructor = _21j5; } _21it(_21j5, _21j6), _21j5.prototype = null === _21j6 ? Object.create(_21j6) : (_21j8.prototype = _21j6.prototype, new _21j8()); }); defineModule(_21ir); Object.defineProperty(_21ir, '__esModule', { 'value': !0 }), _21ir.SceneBase = void 0; var _21ja = function(_21jb) { var _21jc = null; function _21jd() { var _21je = null; return _21jb.call(this) || this; } return _21iu(_21jd, _21jb), _21jd.prototype.initialize = function() { return null; }, _21jd.prototype.start = function() { return null; }, _21jd.prototype.dispose = function() { return null; }, _21jd; }(PIXI.Container); _21ir.SceneBase = _21ja; }, 30019: function(_21jf, _21jg, _21jh) { 'use strict'; var _21ji = null; var _21jj, _21jk = this && this.__extends || (_21jj = function(_21jl, _21jm) { var _21jn = null; return _21jj = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_21jo, _21jp) { var _21jq = null; _21jo.__proto__ = _21jp; } || function(_21jr, _21js) { var _21jt = null; for (var _21ju in _21js) Object.prototype.hasOwnProperty.call(_21js, _21ju) && (_21jr[_21ju] = _21js[_21ju]); }, _21jj(_21jl, _21jm); }, function(_21jv, _21jw) { var _21jx = null; if ('function' != typeof _21jw && null !== _21jw) throw new TypeError('Class extends value ' + String(_21jw) + ' is not a constructor or null'); function _21jy() { var _21jz = null; this.constructor = _21jv; } _21jj(_21jv, _21jw), _21jv.prototype = null === _21jw ? Object.create(_21jw) : (_21jy.prototype = _21jw.prototype, new _21jy()); }), _21k0 = this && this.__importDefault || function(_21k1) { var _21k2 = null; return _21k1 && _21k1.__esModule ? _21k1 : { 'default': _21k1 }; }; defineModule(_21jg); Object.defineProperty(_21jg, '__esModule', { 'value': !0 }), _21jg.SceneExplain1 = void 0; var _21k3 = _21jh(59381), _21k4 = _21k0(_21jh(21359)), _21k5 = _21jh(69787), _21k6 = _21jh(35380), _21k7 = function(_21k8) { var _21k9 = null; function _21ka(_21kb) { var _21kc = null, _21kd = _21k8.call(this) || this; return _21kd._ev = _21kb, _21kd._isInsideScene = !0, _21kd._onNextClick = function() { var _21ke = null; _21kd._isInsideScene ? (_21kd._isInsideScene = !1, _21kd._nextScene()) : _21kd._ev.emit('tutorial-next-scene'); }, _21kd._onToggleNextBtn = function(_21kf) { var _21kg = null, _21kh = _21kd._getEventTextureKey(_21kf.type); _21kd._btnNext.texture = _21kd._btnNextImage[_21kh]; }, _21kd._getEventTextureKey = function(_21ki) { var _21kj = null; return _21ki == _21k6.EventType.MOUSEOVER ? 'hover' : 'def'; }, _21kd.alpha = 0, _21kd._miniImage = [_21k3.TUTORIAL_MAIN.getTexture(11), _21k3.TUTORIAL_MAIN.getTexture(12)], _21kd; } return _21jk(_21ka, _21k8), _21ka.prototype.initialize = function() { var _21kk = null, _21kl = new PIXI.Sprite(_21k3.TUTORIAL_MAIN.getTexture(23)); _21kl.position.set(175, 116), this._mini = new PIXI.Sprite(this._miniImage[0]), this._mini.position.set(984, 437), this._btnNextImage = { 'def': _21k3.TUTORIAL_MAIN.getTexture(1), 'hover': _21k3.TUTORIAL_MAIN.getTexture(2) }, this._btnNext = new PIXI.Sprite(this._btnNextImage.def), this._btnNext.name = 'next', this._btnNext.anchor.set(0.5, 0), this._btnNext.position.set(_21k4.default.width / 2, _21k4.default.height - this._btnNext.height - 20), this._btnNext.interactive = !0, this._btnNext.buttonMode = !0, this._btnNext.on(_21k6.EventType.MOUSEOVER, this._onToggleNextBtn).on(_21k6.EventType.MOUSEOUT, this._onToggleNextBtn).on(_21k6.EventType.CLICK, this._onNextClick), this.alpha = 0, this.addChild(_21kl, this._mini, this._btnNext), this._ev.emit('tutorial-scene-start'); }, _21ka.prototype.start = function() { var _21km = null, _21kn = this; createjs.Tween.get(this).to({ 'alpha': 1 }, 200, createjs.Ease.linear); var _21ko = 0; this._miniImageTween = createjs.Tween.get(null, { 'loop': !0 }).wait(400).call(function() { var _21kp = null; _21ko++, _21kn._mini.texture = _21kn._miniImage[_21ko % 2]; }), this._ev.emit('tutorial-play-voice', 'tutorial', '023_a', function() { var _21kq = null; _21kn._ev.emit('tutorial-play-voice', 'tutorial', '024'); }); }, _21ka.prototype._nextScene = function() { var _21kr = null, _21ks = new PIXI.Sprite(_21k3.TUTORIAL_MAIN.getTexture(17)); _21ks.position.set(495, 400), _21ks.alpha = 0, this.addChild(_21ks), this._ev.emit('tutorial-play-voice', 'tutorial', '025'), createjs.Tween.get(_21ks).to({ 'alpha': 1 }, 400, createjs.Ease.linear); }, _21ka.prototype.dispose = function() { var _21kt = null; this.alpha = 0, this._btnNext.interactive = !1, this._btnNext.buttonMode = !1, this._btnNext.off(_21k6.EventType.MOUSEOVER, this._onToggleNextBtn).off(_21k6.EventType.MOUSEOUT, this._onToggleNextBtn).off(_21k6.EventType.CLICK, this._onNextClick), createjs.Tween.removeTweens(this._miniImageTween), this._ev.emit('tutorial-remove-scene'); }, _21ka; }(_21k5.SceneBase); _21jg.SceneExplain1 = _21k7; }, 10510: function(_21ku, _21kv, _21kw) { 'use strict'; var _21kx = null; var _21ky, _21kz = this && this.__extends || (_21ky = function(_21l0, _21l1) { var _21l2 = null; return _21ky = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_21l3, _21l4) { var _21l5 = null; _21l3.__proto__ = _21l4; } || function(_21l6, _21l7) { var _21l8 = null; for (var _21l9 in _21l7) Object.prototype.hasOwnProperty.call(_21l7, _21l9) && (_21l6[_21l9] = _21l7[_21l9]); }, _21ky(_21l0, _21l1); }, function(_21la, _21lb) { var _21lc = null; if ('function' != typeof _21lb && null !== _21lb) throw new TypeError('Class extends value ' + String(_21lb) + ' is not a constructor or null'); function _21ld() { var _21le = null; this.constructor = _21la; } _21ky(_21la, _21lb), _21la.prototype = null === _21lb ? Object.create(_21lb) : (_21ld.prototype = _21lb.prototype, new _21ld()); }), _21lf = this && this.__importDefault || function(_21lg) { var _21lh = null; return _21lg && _21lg.__esModule ? _21lg : { 'default': _21lg }; }; defineModule(_21kv); Object.defineProperty(_21kv, '__esModule', { 'value': !0 }), _21kv.SceneExplain2 = void 0; var _21li = _21kw(59381), _21lj = _21lf(_21kw(21359)), _21lk = _21kw(69787), _21ll = _21kw(35380), _21lm = function(_21ln) { var _21lo = null; function _21lp(_21lq) { var _21lr = null, _21ls = _21ln.call(this) || this; return _21ls._ev = _21lq, _21ls._isInsideScene = !0, _21ls._onNextClick = function() { var _21lt = null; _21ls._isInsideScene ? (_21ls._isInsideScene = !1, _21ls._nextScene()) : _21ls._ev.emit('tutorial-next-scene'); }, _21ls._onToggleNextBtn = function(_21lu) { var _21lv = null, _21lw = _21ls._getEventTextureKey(_21lu.type); _21ls._btnNext.texture = _21ls._btnNextImage[_21lw]; }, _21ls._getEventTextureKey = function(_21lx) { var _21ly = null; return _21lx == _21ll.EventType.MOUSEOVER ? 'hover' : 'def'; }, _21ls.alpha = 0, _21ls._miniImage = [_21li.TUTORIAL_MAIN.getTexture(13), _21li.TUTORIAL_MAIN.getTexture(14)], _21ls; } return _21kz(_21lp, _21ln), _21lp.prototype.initialize = function() { var _21lz = null, _21m0 = new PIXI.Sprite(_21li.TUTORIAL_MAIN.getTexture(24)); _21m0.position.set(175, 116), this._mini = new PIXI.Sprite(this._miniImage[0]), this._mini.position.set(35, 428), this._btnNextImage = { 'def': _21li.TUTORIAL_MAIN.getTexture(1), 'hover': _21li.TUTORIAL_MAIN.getTexture(2) }, this._btnNext = new PIXI.Sprite(this._btnNextImage.def), this._btnNext.name = 'next', this._btnNext.anchor.set(0.5, 0), this._btnNext.position.set(_21lj.default.width / 2, _21lj.default.height - this._btnNext.height - 20), this._btnNext.interactive = !0, this._btnNext.buttonMode = !0, this._btnNext.on(_21ll.EventType.MOUSEOVER, this._onToggleNextBtn).on(_21ll.EventType.MOUSEOUT, this._onToggleNextBtn).on(_21ll.EventType.CLICK, this._onNextClick), this.addChild(_21m0, this._mini, this._btnNext), this._ev.emit('tutorial-scene-start'); }, _21lp.prototype.start = function() { var _21m1 = null, _21m2 = this; this.alpha = 1; var _21m3 = 0; this._miniImageTween = createjs.Tween.get(null, { 'loop': !0 }).wait(200).call(function() { var _21m4 = null; _21m3++, _21m2._mini.texture = _21m2._miniImage[_21m3 % 2]; }), this._ev.emit('tutorial-play-voice', 'tutorial', '026_a', function() { var _21m5 = null; _21m2._ev.emit('tutorial-play-voice', 'tutorial', '027'); }); }, _21lp.prototype._nextScene = function() { var _21m6 = null, _21m7 = new PIXI.Sprite(_21li.TUTORIAL_MAIN.getTexture(18)); _21m7.position.set(280, 472), _21m7.alpha = 0, this.addChild(_21m7), createjs.Tween.get(_21m7).to({ 'alpha': 1 }, 400, createjs.Ease.linear), this._ev.emit('tutorial-play-voice', 'tutorial', '028'); }, _21lp.prototype.dispose = function() { var _21m8 = null; this.alpha = 0, this._btnNext.interactive = !1, this._btnNext.buttonMode = !1, this._btnNext.off(_21ll.EventType.MOUSEOVER, this._onToggleNextBtn).off(_21ll.EventType.MOUSEOUT, this._onToggleNextBtn).off(_21ll.EventType.CLICK, this._onNextClick), createjs.Tween.removeTweens(this._miniImageTween), this._ev.emit('tutorial-remove-scene'); }, _21lp; }(_21lk.SceneBase); _21kv.SceneExplain2 = _21lm; }, 26319: function(_21m9, _21ma, _21mb) { 'use strict'; var _21mc = null; var _21md, _21me = this && this.__extends || (_21md = function(_21mf, _21mg) { var _21mh = null; return _21md = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_21mi, _21mj) { var _21mk = null; _21mi.__proto__ = _21mj; } || function(_21ml, _21mm) { var _21mn = null; for (var _21mo in _21mm) Object.prototype.hasOwnProperty.call(_21mm, _21mo) && (_21ml[_21mo] = _21mm[_21mo]); }, _21md(_21mf, _21mg); }, function(_21mp, _21mq) { var _21mr = null; if ('function' != typeof _21mq && null !== _21mq) throw new TypeError('Class extends value ' + String(_21mq) + ' is not a constructor or null'); function _21ms() { var _21mt = null; this.constructor = _21mp; } _21md(_21mp, _21mq), _21mp.prototype = null === _21mq ? Object.create(_21mq) : (_21ms.prototype = _21mq.prototype, new _21ms()); }), _21mu = this && this.__importDefault || function(_21mv) { var _21mw = null; return _21mv && _21mv.__esModule ? _21mv : { 'default': _21mv }; }; defineModule(_21ma); Object.defineProperty(_21ma, '__esModule', { 'value': !0 }), _21ma.SceneExplain3 = void 0; var _21mx = _21mb(59381), _21my = _21mu(_21mb(21359)), _21mz = _21mb(69787), _21n0 = _21mb(35380), _21n1 = function(_21n2) { var _21n3 = null; function _21n4(_21n5) { var _21n6 = null, _21n7 = _21n2.call(this) || this; return _21n7._ev = _21n5, _21n7._onNextClick = function() { var _21n8 = null; _21n7._btnNext.interactive = !1, _21n7._btnSubmit = new PIXI.Sprite(_21n7._btnSumbitImage.def), _21n7._btnSubmit.anchor.set(0.5, 0), _21n7._btnSubmit.position.set(_21my.default.width / 2, _21my.default.height - _21n7._btnSubmit.height - 30), _21n7._btnSubmit.interactive = !1, _21n7._btnSubmit.buttonMode = !0, _21n7._btnSubmit.on(_21n0.EventType.MOUSEOVER, _21n7._onToggleSubmitBtn).on(_21n0.EventType.MOUSEOUT, _21n7._onToggleSubmitBtn).on(_21n0.EventType.CLICK, _21n7._onSubmitClick), _21n7._btnSubmit.alpha = 0, _21n7.addChild(_21n7._btnSubmit), _21n7._nextScene(); }, _21n7._onSubmitClick = function() { var _21n9 = null; _21n7._btnSubmit.interactive = !1, _21n7._ev.emit('tutorial-next-scene'); }, _21n7._onToggleNextBtn = function(_21na) { var _21nb = null, _21nc = _21n7._getEventTextureKey(_21na.type); _21n7._btnNext.texture = _21n7._btnNextImage[_21nc]; }, _21n7._onToggleSubmitBtn = function(_21nd) { var _21ne = null, _21nf = _21n7._getEventTextureKey(_21nd.type); _21n7._btnSubmit.texture = _21n7._btnSumbitImage[_21nf]; }, _21n7._getEventTextureKey = function(_21ng) { var _21nh = null; return _21ng == _21n0.EventType.MOUSEOVER ? 'hover' : 'def'; }, _21n7.alpha = 0, _21n7._miniImage = [_21mx.TUTORIAL_MAIN.getTexture(15), _21mx.TUTORIAL_MAIN.getTexture(16)], _21n7._btnNextImage = { 'def': _21mx.TUTORIAL_MAIN.getTexture(1), 'hover': _21mx.TUTORIAL_MAIN.getTexture(2) }, _21n7._btnSumbitImage = { 'def': _21mx.TUTORIAL_MAIN.getTexture(5), 'hover': _21mx.TUTORIAL_MAIN.getTexture(6) }, _21n7; } return _21me(_21n4, _21n2), _21n4.prototype.initialize = function() { var _21ni = null, _21nj = new PIXI.Sprite(_21mx.TUTORIAL_MAIN.getTexture(25)); _21nj.position.set(175, 116), this._mini = new PIXI.Sprite(this._miniImage[0]), this._mini.position.set(980, 432), this._btnNext = new PIXI.Sprite(this._btnNextImage.def), this._btnNext.name = 'next', this._btnNext.anchor.set(0.5, 0), this._btnNext.position.set(_21my.default.width / 2, _21my.default.height - this._btnNext.height - 20), this._btnNext.interactive = !0, this._btnNext.buttonMode = !0, this._btnNext.on(_21n0.EventType.MOUSEOVER, this._onToggleNextBtn).on(_21n0.EventType.MOUSEOUT, this._onToggleNextBtn).on(_21n0.EventType.CLICK, this._onNextClick), this.addChild(_21nj, this._mini, this._btnNext), this._ev.emit('tutorial-scene-start'); }, _21n4.prototype.start = function() { var _21nk = null, _21nl = this; this.alpha = 1, this._miniEyes(), this._ev.emit('tutorial-play-voice', 'tutorial', '029', function() { var _21nm = null; _21nl._ev.emit('tutorial-play-voice', 'tutorial', '030'); }); }, _21n4.prototype._miniEyes = function() { var _21nn = this, _21no = !0, _21np = function() { var _21nq = null, _21nr = 1 == _21no ? 1000 : 300; _21nn._miniImageTween = createjs.Tween.get(null).wait(_21nr).call(function() { var _21ns = null, _21nt; _21nt = 1 == (_21no = !_21no) ? 0 : 1, _21nn._mini.texture = _21nn._miniImage[_21nt], _21nn._miniImageTween = null, _21np(); }); }; _21np(); }, _21n4.prototype._nextScene = function() { var _21nu = null, _21nv = this, _21nw = new PIXI.Sprite(_21mx.TUTORIAL_MAIN.getTexture(19)); _21nw.position.set(435, 400), _21nw.alpha = 0, this.addChild(_21nw), createjs.Tween.get(_21nw).to({ 'alpha': 1 }, 400, createjs.Ease.linear), createjs.Tween.get(this._btnNext).to({ 'alpha': 0 }, 400, createjs.Ease.linear).call(function() { var _21nx = null; _21nv._btnNext.visible = !1; }), createjs.Tween.get(this._btnSubmit).to({ 'alpha': 1 }, 300, createjs.Ease.linear).call(function() { var _21ny = null; _21nv._btnSubmit.interactive = !0; }), this._ev.emit('tutorial-play-voice', 'tutorial', '031', function() { var _21nz = null; _21nv._ev.emit('tutorial-play-voice', 'tutorial', '032_a', function() { var _21o0 = null; _21nv._ev.emit('tutorial-play-voice', 'tutorial', '033'); }); }); }, _21n4.prototype.dispose = function() { var _21o1 = null; this.alpha = 0, this._btnNext.off(_21n0.EventType.MOUSEOVER, this._onToggleNextBtn).off(_21n0.EventType.MOUSEOUT, this._onToggleNextBtn).off(_21n0.EventType.CLICK, this._onNextClick), this._btnSubmit.off(_21n0.EventType.MOUSEOVER, this._onToggleSubmitBtn).off(_21n0.EventType.MOUSEOUT, this._onToggleSubmitBtn).off(_21n0.EventType.CLICK, this._onSubmitClick), createjs.Tween.removeTweens(this._miniImageTween), this._ev.emit('tutorial-remove-scene'); }, _21n4; }(_21mz.SceneBase); _21ma.SceneExplain3 = _21n1; }, 47043: function(_21o2, _21o3, _21o4) { 'use strict'; var _21o5 = null; var _21o6, _21o7 = this && this.__extends || (_21o6 = function(_21o8, _21o9) { var _21oa = null; return _21o6 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_21ob, _21oc) { var _21od = null; _21ob.__proto__ = _21oc; } || function(_21oe, _21of) { var _21og = null; for (var _21oh in _21of) Object.prototype.hasOwnProperty.call(_21of, _21oh) && (_21oe[_21oh] = _21of[_21oh]); }, _21o6(_21o8, _21o9); }, function(_21oi, _21oj) { var _21ok = null; if ('function' != typeof _21oj && null !== _21oj) throw new TypeError('Class extends value ' + String(_21oj) + ' is not a constructor or null'); function _21ol() { var _21om = null; this.constructor = _21oi; } _21o6(_21oi, _21oj), _21oi.prototype = null === _21oj ? Object.create(_21oj) : (_21ol.prototype = _21oj.prototype, new _21ol()); }); defineModule(_21o3); Object.defineProperty(_21o3, '__esModule', { 'value': !0 }), _21o3.SceneFinal = void 0; var _21on = _21o4(70056), _21oo = _21o4(42030), _21op = _21o4(69787), _21oq = _21o4(35380), _21or = function(_21os) { var _21ot = null; function _21ou(_21ov, _21ow, _21ox) { var _21oy = null, _21oz = _21os.call(this) || this; return _21oz._ImageManager = _21ov, _21oz._ev = _21ow, _21oz._shipId = _21ox, _21oz._charaPosition = {}, _21oz._onNext = function() { var _21p0 = null; _21oz._messageBox.btn.interactive = !1, _21oz._ev.emit('tutorial-next-scene'); }, _21oz._charaPosition[_21on.CHARA.FUBUKI] = { 'x': 208, 'y': -22 }, _21oz._charaPosition[_21on.CHARA.MURAKUMO] = { 'x': -20, 'y': -112 }, _21oz._charaPosition[_21on.CHARA.SAZANAMI] = { 'x': 206, 'y': -22 }, _21oz._charaPosition[_21on.CHARA.INADUMA] = { 'x': 309, 'y': 14 }, _21oz._charaPosition[_21on.CHARA.SAMIDARE] = { 'x': 232, 'y': 42 }, _21oz.alpha = 0, _21oz; } return _21o7(_21ou, _21os), _21ou.prototype.initialize = function() { var _21p1 = null, _21p2 = this._charaPosition[this._shipId], _21p3 = new PIXI.Container(), _21p4 = new PIXI.Sprite(this._ImageManager.use('' ['concat'](_21on.CHARA_PREFIX, '_').concat(this._shipId, '_').concat(_21on.CHARA_SUFFIX.FULL))); _21p4.position.set(_21p2.x, _21p2.y), _21p3.addChild(_21p4), this._messageBox = new _21oo.MessageBoxView(this._ImageManager, this._ev), this._messageBox.message.text = '', this._messageBox.btn.on(_21oq.EventType.CLICK, this._onNext), this.addChild(_21p3, this._messageBox), this._ev.emit('tutorial-scene-start'); }, _21ou.prototype.start = function() { var _21p5 = null, _21p6 = this; this.alpha = 1, this._messageBox.start(), this._messageBox.btn.interactive = !0, this._messageBox.btn.buttonMode = !0, this._messageBox.flashText('提督、お疲れさまでした!\nそろそろ、私たちの「母港」にいきましょう!'), this._ev.emit('tutorial-play-voice', 'tutorial', '034', function() { var _21p7 = null; _21p6._ev.emit('tutorial-play-voice', 'tutorial', '035'); }); }, _21ou.prototype.dispose = function() { var _21p8 = null; this._messageBox.btn.off(_21oq.EventType.CLICK, this._onNext), this.alpha = 0, this._ev.emit('tutorial-remove-scene'); }, _21ou; }(_21op.SceneBase); _21o3.SceneFinal = _21or; }, 27631: function(_21p9, _21pa, _21pb) { 'use strict'; var _21pc = null; var _21pd, _21pe = this && this.__extends || (_21pd = function(_21pf, _21pg) { var _21ph = null; return _21pd = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_21pi, _21pj) { var _21pk = null; _21pi.__proto__ = _21pj; } || function(_21pl, _21pm) { var _21pn = null; for (var _21po in _21pm) Object.prototype.hasOwnProperty.call(_21pm, _21po) && (_21pl[_21po] = _21pm[_21po]); }, _21pd(_21pf, _21pg); }, function(_21pp, _21pq) { var _21pr = null; if ('function' != typeof _21pq && null !== _21pq) throw new TypeError('Class extends value ' + String(_21pq) + ' is not a constructor or null'); function _21ps() { var _21pt = null; this.constructor = _21pp; } _21pd(_21pp, _21pq), _21pp.prototype = null === _21pq ? Object.create(_21pq) : (_21ps.prototype = _21pq.prototype, new _21ps()); }), _21pu = this && this.__importDefault || function(_21pv) { var _21pw = null; return _21pv && _21pv.__esModule ? _21pv : { 'default': _21pv }; }; defineModule(_21pa); Object.defineProperty(_21pa, '__esModule', { 'value': !0 }), _21pa.SceneInputName = void 0; var _21px = _21pb(39450), _21py = _21pb(8744), _21pz = _21pb(59381), _21q0 = _21pu(_21pb(21359)), _21q1 = _21pb(8377), _21q2 = _21pb(69787), _21q3 = _21pu(_21pb(18622)), _21q4 = _21pb(39156), _21q5 = _21pb(35380), _21q6 = _21pb(92547), _21q7 = function(_21q8) { var _21q9 = null; function _21qa(_21qb) { var _21qc = null, _21qd = _21q8.call(this) || this; return _21qd._ev = _21qb, _21qd._maxTextLength = 12, _21qd._deleteInputText = function() { var _21qe = null; _21px.EditTextBoxUtil.text = '', _21qd._btnSubmit.visible = !1; }, _21qd._onToggleSubmit = function(_21qf) { var _21qg = null; _21qd._btnSubmit.texture = _21qf.type == _21q5.EventType.MOUSEOVER ? _21qd._btnImages.hover : _21qd._btnImages.def; }, _21qd._inputAndSubmitManage = function() { var _21qh = null; _21qd._errorMessage.text = '', _21qd._showSubmitBtn(); }, _21qd._onClick = function() { var _21qi = null, _21qj = _21px.EditTextBoxUtil.text; return '' == _21qj ? (_21qd._errorMessage.text = '名前を入力してください。', !1) : _21qj.length > _21qd._maxTextLength ? (_21qd._errorMessage.text = '名前は12文字までです。', !1) : (_21qd._btnSubmit.texture = _21qd._btnImages.def, _21qd._btnSubmit.interactive = !1, _21qd._btnDelete.interactive = !1, void _21qd._getNickNameId(_21qj)); }, _21qd._getNickNameId = function(_21qk) { var _21ql = null, _21qm = _21qk; _21qm = (_21qm = (_21qm = (_21qm = (_21qm = (_21qm = (_21qm = (_21qm = _21qm.replace(/%/g, '%')).replace(/\t/g, '\x20')).replace(//g, '>')).replace(/&/g, '&')).replace(/\"/g, '')).replace(/\'/g, '')).replace(/\`/g, ''), _21qd._NickName = _21qm, _21qd._GadgetIP = _21q6.SCHEME + '://' + _21q3.default.settings.osapi_root; var _21qn = _21qd._GadgetIP; window.parent.postMessage(_21q4.PostMessageType.NICK_NAME + '\x09' + _21qd._NickName, _21qn), window.addEventListener('message', _21qd._onCallback); }, _21qd._onCallback = function(_21qo) { var _21qp = null; if (window.removeEventListener('message', _21qd._onCallback), _21qo.origin == _21qd._GadgetIP) { var _21qq = _21qo.data; _21qd._setNickName(_21qq); } }, _21qd.alpha = 0, _21qd._btnImages = { 'def': _21pz.TUTORIAL_MAIN.getTexture(5), 'hover': _21pz.TUTORIAL_MAIN.getTexture(6) }, _21qd; } return _21pe(_21qa, _21q8), _21qa.prototype.initialize = function() { var _21qr = null, _21qs = new PIXI.Container(), _21qt = 0, _21qu = new _21py.TextBox(30, 0); _21qu.text = '提督の名前', _21qu.anchor.set(0, 0.5), _21qt += _21qu.width; var _21qv = new PIXI.Sprite(_21pz.TUTORIAL_MAIN.getTexture(20)); _21qv.position.set(_21qu.width + 10, 0), _21qt += _21qv.width; var _21qw = Math.floor(_21qv.height / 2); this._btnDelete = new PIXI.Sprite(_21pz.TUTORIAL_MAIN.getTexture(0)), this._btnDelete.interactive = !0, this._btnDelete.buttonMode = !0, this._btnDelete.on(_21q5.EventType.CLICK, this._deleteInputText), this._btnDelete.anchor.set(1, 0.5), this._btnDelete.position.set(_21qt, _21qw - 2), _21qu.position.set(0, _21qw), _21qs.position.set(218, 330), _21qs.width = _21qt, _21qs.height = _21qv.height, _21qs.addChild(_21qu, _21qv, this._btnDelete); var _21qx = new PIXI.Point(_21qs.x + _21qv.x + 8, _21qs.y + 7), _21qy = this.toGlobal(_21qx); _21px.EditTextBoxUtil.init(_21qy.x, _21qy.y, _21qv.width - this._btnDelete.width - 22, 22, 0), _21px.EditTextBoxUtil.text = '', _21px.EditTextBoxUtil.onLengthCheck(12, this._inputAndSubmitManage), this._inputExtend = document.getElementById('r_editbox'), this._inputExtend.addEventListener('blur', this._inputAndSubmitManage); var _21qz = new PIXI.Container(), _21r0 = _21qs.x + _21qs.width, _21r1 = _21qs.y + _21qs.height, _21r2 = new _21py.TextBox(30, 0); _21r2.text = '(12文字まで)', _21r2.position.set(_21r0 - Math.floor(_21r2.width / 2) - 5, _21r1 + 5), this._errorMessage = new _21py.TextBox(27, 10027008), this._errorMessage.text = '', this._errorMessage.anchor.set(0.5, 0), this._errorMessage.position.set(_21q0.default.width / 2, _21r2.y + _21r2.height), this._btnSubmit = new PIXI.Sprite(this._btnImages.def), this._btnSubmit.buttonMode = !0, this._btnSubmit.anchor.set(0.5, 0), this._btnSubmit.position.set(_21q0.default.width / 2, _21r1 + 125), this._btnSubmit.on(_21q5.EventType.CLICK, this._onClick).on(_21q5.EventType.MOUSEOVER, this._onToggleSubmit).on(_21q5.EventType.MOUSEOUT, this._onToggleSubmit), this._btnSubmit.interactive = !1, this._btnSubmit.visible = !1, _21qz.addChild(_21r2, this._errorMessage, this._btnSubmit), this.addChild(_21qs, _21qz), this._ev.emit('tutorial-scene-start'); }, _21qa.prototype.start = function() { var _21r3 = null; this._ev.emit('tutorial-title', !0, 21), createjs.Tween.get(this).wait(800).to({ 'alpha': 1 }, 400, createjs.Ease.linear).call(function() { var _21r4 = null; _21px.EditTextBoxUtil.setVisibility(!0); }); }, _21qa.prototype._showSubmitBtn = function() { var _21r5 = null, _21r6 = '' !== _21px.EditTextBoxUtil.text; _21r6 != this._btnSubmit.visible && (this._btnSubmit.visible = _21r6, this._btnSubmit.interactive = _21r6); }, _21qa.prototype._setNickName = function(_21r7) { var _21r8 = null; new _21q1.APISaveNickName(this._NickName, _21r7).start(), this._ev.emit('tutorial-next-scene'); }, _21qa.prototype.dispose = function() { var _21r9 = null, _21ra = this; createjs.Tween.get(this).to({ 'alpha': 0 }, 100, createjs.Ease.linear).call(function() { var _21rb = null; _21px.EditTextBoxUtil.text = '', _21px.EditTextBoxUtil.setVisibility(!1), _21ra._ev.emit('tutorial-remove-scene'); }), _21px.EditTextBoxUtil.onkeydown = null, _21px.EditTextBoxUtil.onkeyup = null, this._btnDelete.off(_21q5.EventType.CLICK, this._deleteInputText), this._btnSubmit.off(_21q5.EventType.CLICK, this._onClick).off(_21q5.EventType.MOUSEOVER, this._onToggleSubmit).off(_21q5.EventType.MOUSEOUT, this._onToggleSubmit), this._inputExtend.removeEventListener('blur', this._inputAndSubmitManage); }, _21qa; }(_21q2.SceneBase); _21pa.SceneInputName = _21q7; }, 63945: function(_21rc, _21rd, _21re) { 'use strict'; var _21rf = null; var _21rg, _21rh = this && this.__extends || (_21rg = function(_21ri, _21rj) { var _21rk = null; return _21rg = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_21rl, _21rm) { var _21rn = null; _21rl.__proto__ = _21rm; } || function(_21ro, _21rp) { var _21rq = null; for (var _21rr in _21rp) Object.prototype.hasOwnProperty.call(_21rp, _21rr) && (_21ro[_21rr] = _21rp[_21rr]); }, _21rg(_21ri, _21rj); }, function(_21rs, _21rt) { var _21ru = null; if ('function' != typeof _21rt && null !== _21rt) throw new TypeError('Class extends value ' + String(_21rt) + ' is not a constructor or null'); function _21rv() { var _21rw = null; this.constructor = _21rs; } _21rg(_21rs, _21rt), _21rs.prototype = null === _21rt ? Object.create(_21rt) : (_21rv.prototype = _21rt.prototype, new _21rv()); }), _21rx = this && this.__importDefault || function(_21ry) { var _21rz = null; return _21ry && _21ry.__esModule ? _21ry : { 'default': _21ry }; }; defineModule(_21rd); Object.defineProperty(_21rd, '__esModule', { 'value': !0 }), _21rd.SceneSelectShip = void 0; var _21s0 = _21re(59381), _21s1 = _21rx(_21re(21359)), _21s2 = _21re(70056), _21s3 = _21re(69787), _21s4 = _21re(85854), _21s5 = _21re(35380), _21s6 = function(_21s7) { var _21s8 = null; function _21s9(_21sa, _21sb) { var _21sc = null, _21sd = _21s7.call(this) || this; _21sd._ImageManager = _21sa, _21sd._ev = _21sb, _21sd._current = 0, _21sd._prefix = 'chara', _21sd._suffix = { 'full': 'full', 'bg': 'bg', 'txt': 'txt' }, _21sd._charaMoveX = 100, _21sd._chara = [_21s2.CHARA.FUBUKI, _21s2.CHARA.MURAKUMO, _21s2.CHARA.SAZANAMI, _21s2.CHARA.INADUMA, _21s2.CHARA.SAMIDARE], _21sd._charaPosition = {}, _21sd._create = function() { var _21se = null; for (var _21sf = 0, _21sg = _21sd._chara.length; _21sf < _21sg; _21sf++) { var _21sh = _21sd._chara[_21sf], _21si = '' ['concat'](_21sd._prefix, '_').concat(_21sh), _21sj = new PIXI.Container(); _21sj.visible = !1; var _21sk = new PIXI.Sprite(_21sd._ImageManager.use('' ['concat'](_21si, '_').concat(_21sd._suffix.full))), _21sl = _21sd._charaPosition[_21sh]; _21sk.name = _21sd._suffix.full, _21sk.position.set(_21sl.x + _21sd._charaMoveX, _21sl.y), _21sk.alpha = 0; var _21sm = new PIXI.Sprite(_21sd._ImageManager.use('' ['concat'](_21si, '_').concat(_21sd._suffix.bg))); _21sm.name = _21sd._suffix.bg, _21sm.anchor.set(0.5, 0), _21sm.position.set(_21s1.default.width / 2, 100), _21sm.alpha = 0; var _21sn = new PIXI.Sprite(_21sd._ImageManager.use('' ['concat'](_21si, '_').concat(_21sd._suffix.txt))); _21sn.name = _21sd._suffix.txt, _21sn.position.set(110, 120), _21sn.alpha = 0, _21sj.addChild(_21sm, _21sk, _21sn), _21sd._charaContainer.addChild(_21sj); } _21sd._ev.emit('tutorial-scene-start'); }, _21sd._getEventTextureKey = function(_21so) { var _21sp = null; return _21so == _21s5.EventType.MOUSEOVER ? 'hover' : 'def'; }, _21sd._onToggleSubmitBtn = function(_21sq) { var _21sr = null, _21ss = _21sd._getEventTextureKey(_21sq.type); _21sd._btnSubmit.texture = _21sd._btn.submit[_21ss]; }, _21sd._onTogglePrevBtn = function(_21st) { var _21su = null, _21sv = _21sd._getEventTextureKey(_21st.type); _21sd._btnPrev.texture = _21sd._btn.prev[_21sv]; }, _21sd._onToggleNextBtn = function(_21sw) { var _21sx = null, _21sy = _21sd._getEventTextureKey(_21sw.type); _21sd._btnNext.texture = _21sd._btn.next[_21sy]; }, _21sd._onNextChara = function() { var _21sz = null, _21t0 = _21sd._current + 1; _21t0 >= _21sd._chara.length && (_21t0 = 0), _21sd._currentHide(_21sd._current, _21t0); }, _21sd._onPrevChara = function() { var _21t1 = null, _21t2 = _21sd._current - 1; _21t2 < 0 && (_21t2 = _21sd._chara.length - 1), _21sd._currentHide(_21sd._current, _21t2); }, _21sd._onSubmit = function() { var _21t3 = null; _21sd._btnSubmit.interactive = !1, _21sd._btnSubmit.off(_21s5.EventType.CLICK, _21sd._onSubmit), _21sd._messageContainer = new _21s4.SceneSelectShipView(_21sd._ImageManager, _21sd._ev); var _21t4 = _21sd._chara[_21sd._current], _21t5 = _21sd._charaContainer.getChildAt(_21sd._current), _21t6 = _21t5.getChildByName(_21sd._suffix.full), _21t7 = _21sd._charaPosition[_21t4]; _21sd._ev.emit('tutorial-save-ship', _21t4); var _21t8 = createjs.Ease.linear; createjs.Tween.get(_21t6).wait(50).to({ 'x': _21t7.move.x }, 250, _21t8).wait(200).call(function() { var _21t9 = null; _21sd._ev.emit('tutorial-title', !1), _21sd._ev.emit('tutorial-next'), _21sd._messageContainer.start(); }).to({ 'y': _21t7.move.y }, 250, _21t8), _21sd._selectedDispose(_21t5), _21sd.addChild(_21sd._messageContainer); }; for (var _21ta = _21sd._ImageManager.charaImagesList(), _21tb = 0, _21tc = _21ta.length; _21tb < _21tc; _21tb++) { var _21td = _21ta[_21tb]; _21sd._ImageManager.add(_21td[0], _21td[1]); } return _21sd._charaPosition[_21s2.CHARA.FUBUKI] = { 'x': 476, 'y': 16, 'move': { 'x': 216, 'y': -50 } }, _21sd._charaPosition[_21s2.CHARA.MURAKUMO] = { 'x': 247, 'y': -70, 'move': { 'x': -14, 'y': -139 } }, _21sd._charaPosition[_21s2.CHARA.SAZANAMI] = { 'x': 467, 'y': 17, 'move': { 'x': 210, 'y': -49 } }, _21sd._charaPosition[_21s2.CHARA.INADUMA] = { 'x': 572, 'y': 55, 'move': { 'x': 314, 'y': -16 } }, _21sd._charaPosition[_21s2.CHARA.SAMIDARE] = { 'x': 499, 'y': 80, 'move': { 'x': 240, 'y': 10 } }, _21sd._btn = { 'prev': { 'def': _21s0.TUTORIAL_MAIN.getTexture(7), 'hover': _21s0.TUTORIAL_MAIN.getTexture(8) }, 'next': { 'def': _21s0.TUTORIAL_MAIN.getTexture(1), 'hover': _21s0.TUTORIAL_MAIN.getTexture(2) }, 'submit': { 'def': _21s0.TUTORIAL_MAIN.getTexture(5), 'hover': _21s0.TUTORIAL_MAIN.getTexture(6) } }, _21sd.alpha = 0, _21sd; } return _21rh(_21s9, _21s7), _21s9.prototype.initialize = function() { var _21te = null; this._charaContainer = new PIXI.Container(); var _21tf = new PIXI.Container(); _21tf.position.set(0, 600), this._btnSubmit = new PIXI.Sprite(this._btn.submit.def), this._btnSubmit.name = 'submit', this._btnSubmit.anchor.set(0.5, 0), this._btnSubmit.position.set(_21s1.default.width / 2, 0), this._btnSubmit.interactive = !0, this._btnSubmit.buttonMode = !0, this._btnSubmit.on(_21s5.EventType.CLICK, this._onSubmit).on(_21s5.EventType.MOUSEOVER, this._onToggleSubmitBtn).on(_21s5.EventType.MOUSEOUT, this._onToggleSubmitBtn); var _21tg = Math.floor(this._btnSubmit.width / 2), _21th = Math.floor(this._btnSubmit.height / 2), _21ti = this._btnSubmit.x; this._btnPrev = new PIXI.Sprite(this._btn.prev.def), this._btnPrev.anchor.set(1, 0.5), this._btnPrev.position.set(_21ti - _21tg - 20, _21th), this._btnPrev.interactive = !0, this._btnPrev.buttonMode = !0, this._btnPrev.on(_21s5.EventType.CLICK, this._onPrevChara).on(_21s5.EventType.MOUSEOVER, this._onTogglePrevBtn).on(_21s5.EventType.MOUSEOUT, this._onTogglePrevBtn), this._btnNext = new PIXI.Sprite(this._btn.next.def), this._btnNext.anchor.set(0, 0.5), this._btnNext.position.set(_21ti + _21tg + 20, _21th), this._btnNext.interactive = !0, this._btnNext.buttonMode = !0, this._btnNext.on(_21s5.EventType.CLICK, this._onNextChara).on(_21s5.EventType.MOUSEOVER, this._onToggleNextBtn).on(_21s5.EventType.MOUSEOUT, this._onToggleNextBtn), _21tf.addChild(this._btnPrev, this._btnNext, this._btnSubmit), this.addChild(this._charaContainer, _21tf), this._ImageManager.load(this._create); }, _21s9.prototype.start = function() { var _21tj = null; this.alpha = 1, this._ev.emit('tutorial-title', !0, 22), this._nextShow(0); }, _21s9.prototype._currentHide = function(_21tk, _21tl) { var _21tm = null, _21tn = this; this._btnNext.interactive = !1, this._btnPrev.interactive = !1, this._btnSubmit.interactive = !1; var _21to = this._charaContainer.getChildAt(_21tk), _21tp = _21to.getChildByName(this._suffix.bg), _21tq = _21to.getChildByName(this._suffix.txt), _21tr = _21to.getChildByName(this._suffix.full), _21ts = createjs.Ease.linear; createjs.Tween.get(_21tp).to({ 'alpha': 0 }, 100, _21ts), createjs.Tween.get(_21tq).to({ 'alpha': 0 }, 100, _21ts), createjs.Tween.get(_21tr).to({ 'x': _21tr.x + this._charaMoveX, 'alpha': 0 }, 150, _21ts).call(function() { var _21tt = null; _21to.visible = !1, _21tn._nextShow(_21tl); }); }, _21s9.prototype._nextShow = function(_21tu) { var _21tv = null, _21tw = this, _21tx = this._chara[_21tu], _21ty = parseInt(_21tx, 10), _21tz = this._charaContainer.getChildAt(_21tu); _21tz.visible = !0; var _21u0 = _21tz.getChildByName(this._suffix.bg), _21u1 = _21tz.getChildByName(this._suffix.txt), _21u2 = _21tz.getChildByName(this._suffix.full), _21u3 = this._charaPosition[_21tx], _21u4 = 100, _21u5 = createjs.Ease.linear; createjs.Tween.get(_21u0).to({ 'alpha': 1 }, _21u4, _21u5), createjs.Tween.get(_21u1).to({ 'alpha': 1 }, _21u4, _21u5), createjs.Tween.get(_21u2).wait(150).to({ 'alpha': 1, 'x': _21u3.x }, 150, _21u5).call(function() { var _21u6 = null; _21tw._btnNext.interactive = !0, _21tw._btnPrev.interactive = !0, _21tw._btnSubmit.interactive = !0, _21tw._ev.emit('tutorial-play-voice', _21ty.toString(), 13); }), this._current = _21tu; }, _21s9.prototype._selectedDispose = function(_21u7) { var _21u8 = null, _21u9 = this, _21ua = _21u7.getChildByName(this._suffix.bg), _21ub = _21u7.getChildByName(this._suffix.txt), _21uc = 100, _21ud = createjs.Ease.linear; createjs.Tween.get(_21ua).to({ 'alpha': 0 }, _21uc, _21ud), createjs.Tween.get(_21ub).to({ 'alpha': 0 }, _21uc, _21ud), createjs.Tween.get(this._btnSubmit).to({ 'alpha': 0 }, _21uc, _21ud).call(function() { var _21ue = null; _21u9._btnSubmit.interactive = !1, _21u9._btnSubmit.buttonMode = !1, _21u9._btnSubmit.off(_21s5.EventType.CLICK, _21u9._onSubmit), _21u9._btnSubmit.off(_21s5.EventType.MOUSEOVER, _21u9._onToggleSubmitBtn), _21u9._btnSubmit.off(_21s5.EventType.MOUSEOUT, _21u9._onToggleSubmitBtn), _21u9._btnSubmit = null; }), createjs.Tween.get(this._btnPrev).to({ 'alpha': 0 }, _21uc, _21ud).call(function() { var _21uf = null; _21u9._btnPrev.interactive = !1, _21u9._btnPrev.buttonMode = !1, _21u9._btnPrev.off(_21s5.EventType.CLICK, _21u9._onPrevChara), _21u9._btnPrev.off(_21s5.EventType.MOUSEOVER, _21u9._onTogglePrevBtn), _21u9._btnPrev.off(_21s5.EventType.MOUSEOUT, _21u9._onTogglePrevBtn), _21u9._btnPrev = null; }), createjs.Tween.get(this._btnNext).to({ 'alpha': 0 }, _21uc, _21ud).call(function() { var _21ug = null; _21u9._btnNext.interactive = !1, _21u9._btnNext.buttonMode = !1, _21u9._btnNext.off(_21s5.EventType.CLICK, _21u9._onNextChara), _21u9._btnNext.off(_21s5.EventType.MOUSEOVER, _21u9._onToggleNextBtn), _21u9._btnNext.off(_21s5.EventType.MOUSEOUT, _21u9._onToggleNextBtn), _21u9._btnNext = null; }); }, _21s9.prototype.dispose = function() { var _21uh = null, _21ui = this; createjs.Tween.get(this).to({ 'alpha': 0 }, 100, createjs.Ease.linear).call(function() { var _21uj = null; _21ui._ev.emit('tutorial-remove-scene'); }), this._messageContainer.dispose(); }, _21s9; }(_21s3.SceneBase); _21rd.SceneSelectShip = _21s6; }, 85854: function(_21uk, _21ul, _21um) { 'use strict'; var _21un = null; var _21uo, _21up = this && this.__extends || (_21uo = function(_21uq, _21ur) { var _21us = null; return _21uo = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_21ut, _21uu) { var _21uv = null; _21ut.__proto__ = _21uu; } || function(_21uw, _21ux) { var _21uy = null; for (var _21uz in _21ux) Object.prototype.hasOwnProperty.call(_21ux, _21uz) && (_21uw[_21uz] = _21ux[_21uz]); }, _21uo(_21uq, _21ur); }, function(_21v0, _21v1) { var _21v2 = null; if ('function' != typeof _21v1 && null !== _21v1) throw new TypeError('Class extends value ' + String(_21v1) + ' is not a constructor or null'); function _21v3() { var _21v4 = null; this.constructor = _21v0; } _21uo(_21v0, _21v1), _21v0.prototype = null === _21v1 ? Object.create(_21v1) : (_21v3.prototype = _21v1.prototype, new _21v3()); }); defineModule(_21ul); Object.defineProperty(_21ul, '__esModule', { 'value': !0 }), _21ul.SceneSelectShipView = void 0; var _21v5 = _21um(42030), _21v6 = _21um(35380), _21v7 = function(_21v8) { var _21v9 = null; function _21va(_21vb, _21vc) { var _21vd = null, _21ve = _21v8.call(this) || this; return _21ve._ImageManager = _21vb, _21ve._ev = _21vc, _21ve._onNext = function() { var _21vf = null; _21ve.messageBox.interactive = !1, _21ve._ev.emit('tutorial-next-scene'); }, _21ve.alpha = 0, _21ve.messageBox = new _21v5.MessageBoxView(_21ve._ImageManager, _21ve._ev), _21ve.messageBox.message.text = '', _21ve.messageBox.on(_21v6.EventType.CLICK, _21ve._onNext), _21ve.addChild(_21ve.messageBox), _21ve; } return _21up(_21va, _21v8), _21va.prototype.start = function() { var _21vg = null, _21vh = this; this.messageBox.start(), createjs.Tween.get(this).to({ 'alpha': 1 }, 200, createjs.Ease.linear).call(function() { var _21vi = null; _21vh.messageBox.interactive = !0, _21vh.messageBox.buttonMode = !0, _21vh._ev.emit('tutorial-play-voice', 'tutorial', '021', function() { var _21vj = null; _21vh._ev.emit('tutorial-play-voice', 'tutorial', '022'); }), _21vh.messageBox.flashText('提督、お待ちしていました!\n「艦隊これくしょん—艦これ—」の世界へようこそ——。'); }); }, _21va.prototype.dispose = function() { var _21vk = null; this.messageBox.dispose(), this.messageBox.off(_21v6.EventType.CLICK, this._onNext); }, _21va; }(PIXI.Container); _21ul.SceneSelectShipView = _21v7; }, 22735: (_21vl, _21vm) => { 'use strict'; var _21vn = null; function _21vo(_21vp, _21vq, _21vr) { var _21vs = _21vp[_21vq]; return null == _21vs && (_21vs = _21vr), _21vs; } defineModule(_21vm); Object.defineProperty(_21vm, '__esModule', { 'value': !0 }), _21vm.genAnimation = void 0, _21vm.genAnimation = function(_21vt) { var _21vu = null, _21vv = [], _21vw = _21vt[0], _21vx = _21vw.x, _21vy = _21vw.y, _21vz = _21vw.s, _21w0 = _21vw.r, _21w1 = _21vw.a; return _21vt.forEach(function(_21w2) { var _21w3 = null, _21w4 = _21vo(_21w2, 'x', _21vx), _21w5 = _21vo(_21w2, 'y', _21vy), _21w6 = _21vo(_21w2, 's', _21vz), _21w7 = _21vo(_21w2, 'r', _21w0), _21w8 = _21vo(_21w2, 'a', _21w1), _21w9 = _21vo(_21w2, 'm', null), _21wa = _21vo(_21w2, 'f', 0); if (0 == _21wa) { var _21wb = { 'x': _21w4, 'y': _21w5, 's': _21w6, 'r': _21w7, 'a': _21w8 }; null != _21w9 && (_21wb.m = _21w9), _21vv.push(_21wb); } else for (var _21wc = _21vo(_21w2, 'e', function(_21wd) { return _21wd; }), _21we = 1; _21we <= _21wa; _21we++) { var _21wf = _21wc(_21we / _21wa), _21wg = _21vx + (_21w4 - _21vx) * _21wf, _21wh = _21vy + (_21w5 - _21vy) * _21wf, _21wi = _21vz + (_21w6 - _21vz) * _21wf, _21wj = _21w0 + (_21w7 - _21w0) * _21wf, _21wk = _21w1 + (_21w8 - _21w1) * _21wf; _21vv.push({ 'x': _21wg, 'y': _21wh, 's': _21wi, 'r': _21wj, 'a': _21wk, 'm': _21w9 }); } _21vx = _21w4, _21vy = _21w5, _21vz = _21w6, _21w0 = _21w7, _21w1 = _21w8; }), _21vv; }; }, 80329: function(_21wl, _21wm, _21wn) { 'use strict'; var _21wo = null; var _21wp = this && this.__importDefault || function(_21wq) { var _21wr = null; return _21wq && _21wq.__esModule ? _21wq : { 'default': _21wq }; }; defineModule(_21wm); Object.defineProperty(_21wm, '__esModule', { 'value': !0 }), _21wm.GameData = void 0; var _21ws = _21wn(29424), _21wt = _21wn(96070), _21wu = _21wn(2616), _21wv = _21wn(32285), _21ww = _21wn(50805), _21wx = _21wn(70761), _21wy = _21wn(99749), _21wz = _21wn(12149), _21x0 = _21wn(23695), _21x1 = _21wn(92926), _21x2 = _21wn(10429), _21x3 = _21wn(29076), _21x4 = _21wn(3748), _21x5 = _21wn(50715), _21x6 = _21wn(38246), _21x7 = _21wn(22820), _21x8 = _21wp(_21wn(18622)), _21x9 = _21wn(15230), _21xa = _21wn(52126), _21xb = _21wn(6296), _21xc = _21wn(32657), _21xd = _21wn(96157), _21xe = _21wn(7195), _21xf = _21wn(68953), _21xg = _21wn(98466), _21xh = 10000, _21xi = [0, 1200], _21xj = [-200, -720], _21xk = (function() { var _21xl = null; function _21xm() { var _21xn = null, _21xo = this; this.EnemyInfo = _21wt.EnemyInfo, this.GameStage = _21wu.GameStage, this.WaveSetting = _21wu.WaveSetting, this._onClickStart = function() { var _21xp = null; _21x8.default.view.clickGuard = !0, _21xo.systemContainer.startButton.interactive = !1, _21xo.systemContainer.startButton.visible = !1, _21xo.layer.clickGuardBack = !0, _21xo.gotSheep.light = 0, _21xo.soundEffectManager.play('253'), _21x8.default.sound.voice.play((574).toString()(), 15), _21xo.gotSheep.switchGraphic(31); var _21xq = _21xe['$_$'].Parallel(function() { var _21xr = null; return _21xe['$_$'].Value(_21xo.layer.bg, { 'alpha': 0.5 }, 500); }, function() { var _21xs = null; return _21xe['$_$'].Value(_21xo.gotSheep.position, { 'x': 233 }, 500, createjs.Ease.circOut); }, function() { var _21xt = null; return _21xe['$_$'].Value(_21xo.gotSheep.position, { 'y': 0 }, 500, createjs.Ease.bounceOut); }); _21xq.execute(function() { var _21xu = null; _21xq.dispose(), _21xo.gotSheep.switchGraphic(29), _21xo._onCompleteOpening(); }); }, this._onClickShusui = function() { var _21xv = null; _21xo._setShusuiCount(_21xo.gameInfo.shusuiCount - 1), _21xo.uiContainer.shusuiButton.active = !1, _21xo.systemInfo.requestShusui = !0, _21xo.soundEffectManager.play('209'); }, this._onClickForceStop = function() { var _21xw = null; _21x8.default.view.clickGuard = !0, _21xo.gotSheep.interactive = !1; var _21xx = _21xe['$_$'].Value(_21xo.gameContainer, { 'alpha': 0 }, 300); _21xo._tick = !1, _21xx.execute(function() { var _21xy = null; _21xx.dispose(), _21x8.default.view.clickGuard = !1, _21xo.onComplete(); }); }, this._requireCheckFinish = !1, this._tick = !1, this._onCompleteShusui = function() { var _21xz = null; _21xo.shusui.visible = !1, _21xo.systemInfo.activeTimer && _21xo.uiContainer.activateShusuiButton(_21xo.gameInfo.shusuiCount); }, this.systemInfo = new _21ww.SystemInfo(this), this.gameInfo = new _21wv.GameInfo(), this.camera = new _21wx.Camera(), this.gotSheep = new _21x0.Gotsheep(this), this.shusui = new _21wz.ShuSui(this), this.soundEffectManager = new _21xf.SoundEffectManager(this), this._reserveEnemy = new Array(), this.appearanceEnemy = new Array(), this.simpleEffect = new _21x1.SimpleEffectContainer(), this.explosionParticle = new _21x2.ExplosionParticleContainer(), this.gotHitEffect = new _21x3.GotHitEffect(), this.gotLemon = new _21xg.GotLemon(this), this.managedEnemy = [], this.layer = new _21x4.Layer(), this.gameContainer = new _21x5.GameContainer(this), this.uiContainer = new _21x6.UIContainer(), this.systemContainer = new _21x7.SystemContainer(this), this.__Math__ = Math, this._initLayer(); } return _21xm.getTexture = function(_21y0) { var _21y1 = null, _21y2 = _21xm._textureCache[_21y0]; return null == _21y2 && (_21y2 = _21xm._textureCache[_21y0] = _21ws.MINIGAME_GOTSHEEP.getTexture(_21y0)), _21y2; }, _21xm.releaseTexture = function() { var _21y3 = null; for (var _21y4 in _21xm._textureCache) delete _21xm._textureCache[_21y4]; }, Object.defineProperty(_21xm.prototype, 'Math', { 'get': function() { var _21y5 = null; return this.__Math__; }, 'enumerable': !1, 'configurable': !0 }), _21xm.prototype.getOrCreateAppearanceEnemy = function() { var _21y6 = null, _21y7 = null; for (var _21y8 in this.appearanceEnemy) { var _21y9 = this.appearanceEnemy[_21y8]; if (0 == _21y9.alive) { _21y7 = _21y9; break; } } return null == _21y7 && (_21y7 = this._createAppearanceEnemy()), _21y7; }, _21xm.prototype.getOrCreateReserveEnemy = function(_21ya) { var _21yb = null, _21yc = []; for (var _21yd in this._reserveEnemy) { if (0 == (_21ye = this._reserveEnemy[_21yd]).alive && _21yc.push(_21ye), _21yc.length == _21ya) break; } for (var _21yf = _21yc.length; _21yf < _21ya; _21yf++) { var _21ye = this._createReserveEnemy(); _21yc.push(_21ye); } return _21yc; }, _21xm.prototype._createAppearanceEnemy = function() { var _21yg = null, _21yh = new _21wy.Enemy(this); return this.appearanceEnemy.push(_21yh), this.managedEnemy.push(_21yh), this.gameContainer.enemyContainer.addChild(_21yh), _21yh; }, _21xm.prototype._createReserveEnemy = function() { var _21yi = null, _21yj = new _21wy.Enemy(this); return this._reserveEnemy.push(_21yj), this.managedEnemy.push(_21yj), this.gameContainer.enemyContainer.addChild(_21yj), _21yj; }, _21xm.prototype._initLayer = function() { var _21yk = null; this.layer.gameLayer.addChild(this.gameContainer), this.layer.uiLayer.addChild(this.uiContainer), this.layer.systemLayer.addChild(this.systemContainer); }, _21xm.prototype.initialize = function() { var _21yl = null; _21x8.default.view.clickGuard = !0, _21x8.default.view.overLayer.addChild(this.layer), this._phaseCreateGameData(); }, _21xm.prototype._phaseCreateGameData = function() { var _21ym = null; this.systemInfo.store(), this._phaseSetCallback(); }, _21xm.prototype._phaseSetCallback = function() { var _21yn = null; this.uiContainer.forceStopButton.onClick = this._onClickForceStop, this.uiContainer.shusuiButton.onClick = this._onClickShusui, this.systemContainer.startButton.onClick = this._onClickStart, this.shusui.onComplete = this._onCompleteShusui, this._phaseInitGame(); }, _21xm.prototype._phaseInitGame = function() { var _21yo = null; this.systemContainer.resultView.visible = !1, this.systemContainer.clickArea.visible = !1, this.systemContainer.kamifubuki.visible = !1, this.uiContainer.timerGauge.visible = !1, this.uiContainer.scoreBoard.visible = !1, this.uiContainer.comboBoard.visible = !1, this._enterGot(); }, _21xm.prototype._enterGot = function() { var _21yp = null, _21yq = this; this.gotSheep.position.set(95, -720), this.gotSheep.switchGraphic(31); var _21yr = _21xe['$_$'].Sequence(function() { var _21ys = null; return _21xe['$_$'].Value(_21yq.gotSheep.position, { 'y': -238 }, 500); }, function() { var _21yt = null; return _21xe['$_$'].Call(function() { var _21yu = null; _21yq.gotSheep.switchGraphic(29); }); }, function() { var _21yv = null; return _21xe['$_$'].Value(_21yq.gotSheep.scale, { 'y': 0.8 }, 100); }, function() { var _21yw = null; return _21xe['$_$'].Value(_21yq.gotSheep.scale, { 'y': 1 }, 100); }); _21yr.execute(function() { var _21yx = null; _21yr.dispose(), _21yq.systemContainer.startButton.interactive = !0, _21yq.systemContainer.startButton.visible = !0, _21yq.layer.clickGuardBack = !1, _21x8.default.view.clickGuard = !1, _21yq.soundEffectManager.play('237'); }); }, _21xm.prototype._onCompleteOpening = function() { var _21yy = null; this.uiContainer.scoreBoard.visible = !1, this.uiContainer.timerGauge.visible = !1, this.uiContainer.comboBoard.visible = !1, this.uiContainer.shusuiButton.visible = !1, this.uiContainer.shusuiButton.active = !1, this._resetAll(), this._startWave(); }, _21xm.prototype._resetAll = function() { var _21yz = null; this._resetCombo(), this._resetScore(), this._resetStage(), this._setShusuiCount(1); }, _21xm.prototype._setShusuiCount = function(_21z0) { var _21z1 = null; this.gameInfo.shusuiCount = _21z0, this.uiContainer.shusuiButton.setCount(_21z0); }, _21xm.prototype._resetStage = function() { var _21z2 = null; this.gameInfo.currentWaveNo = 0; }, _21xm.prototype._resetCombo = function() { var _21z3 = null; this.gameInfo.combo = 0, this.uiContainer.comboBoard.update(this.gameInfo.combo); }, _21xm.prototype._resetScore = function() { var _21z4 = null; for (var _21z5 in (this.gameInfo.waveScore = {}, this.GameStage)) this.gameInfo.waveScore[_21z5] = null; this.uiContainer.scoreBoard.update(0); }, _21xm.prototype._startWave = function() { var _21z6 = null, _21z7 = this; _21x8.default.view.clickGuard = !1; var _21z8 = new _21xd.PhaseStageCutin(this); if (_21z8.onComplete = function() { var _21z9 = null; _21z8.dispose(), _21z7._initGame(); }, this.systemContainer.stageCutinView.visible = !0, this.uiContainer.comboBoard.visible = !0, this.uiContainer.scoreBoard.visible = !0, this.uiContainer.timerGauge.visible = !0, this.gotSheep.resetMouseState(), this.getCurrentWaveSetting().break) { _21x8.default.view.loading.show(), _21x8.default.sound.bgm.fadeOut(250); var _21za = _21xe['$_$'].Parallel(function() { var _21zb = null; return _21xe['$_$'].Delay(1000 + 1000 * Math.random()); }, function() { var _21zc = null; return _21xe['$_$'].Value(_21z7.layer.bg, { 'alpha': 0.75 }, 500); }); _21za.execute(function() { var _21zd = null; _21za.dispose(), _21x8.default.view.loading.hide(), _21z8.start(); }); } else _21z8.start(); }, _21xm.prototype._initGame = function() { var _21ze = null, _21zf = this.getCurrentStage(), _21zg = new _21xc.WeightTable(this, _21zf.enemy); this.systemInfo.resetCheering(), this.systemInfo.frameCount = 0, this.soundEffectManager.reset(), this._weightTable = _21zg, this.shusui.visible = !1, this.gotSheep.shooting = !1, this.systemInfo.setHitStopFPS(60), this._setScore(0), this._startGame(); }, _21xm.prototype._startGame = function() { var _21zh = null, _21zi = this.getCurrentWaveSetting(); _21x8.default.sound.bgm.fadeOut(250); var _21zj = _21xe['$_$'].Delay(250); _21zj.execute(function() { var _21zk = null; _21zj.dispose(); var _21zl = 'port_', _21zm = 'battle_'; if (0 == _21zi.bgm_id.indexOf(_21zl)) { var _21zn = parseInt(_21zi.bgm_id.split(_21zl)[1]); _21x8.default.sound.bgm.play(_21zn); } else { if (0 == _21zi.bgm_id.indexOf(_21zm)) { var _21zo = parseInt(_21zi.bgm_id.split(_21zm)[1]); _21x8.default.sound.bgm.playBattleBGM(_21zo); } } }), this.uiContainer.activateShusuiButton(this.gameInfo.shusuiCount), this.uiContainer.clickableForceStopButton(!0), this.gotSheep.interactive = !0, this.systemInfo.activeTimer = !0, this._tick = !0, this._entryEnemies(); }, _21xm.prototype.tick = function() { var _21zp = null; 0 != this._tick && (this.systemInfo.applyHitStop(), this.systemInfo.activeTimer && this._updateTimer(), this._updateShusui(), this._updateGotSheep(), this._updateEnemies(), this._requireCheckFinish && 0 == this.gotSheep.shooting && (this._requireCheckFinish = !1, this._finishWave()), this.systemInfo.frameCount++); }, _21xm.prototype._finishWave = function() { var _21zq = null; this.getCurrentWaveSetting().extermination ? this._phaseExtermination() : this._phaseReturnEnemy(); }, _21xm.prototype._CountAlive = function(_21zr) { var _21zs = null, _21zt = 0; for (var _21zu in _21zr) { _21zr[_21zu].alive && _21zt++; } return _21zt; }, _21xm.prototype._respawnEnemies = function() { var _21zv = null; this._weightTable.updateZeroGimmick(); var _21zw = this._getProgress(); if (0 != this._weightTable.hasLottery(_21zw)) { var _21zx = this.getCurrentStage(), _21zy = this._CountAlive(this.appearanceEnemy), _21zz = 100; _21zx.maximum_display && (_21zz = _21zx.maximum_display); for (var _2200 = 0; _2200 < _21zz - _21zy; _2200++) if (this._weightTable.hasLottery(_21zw)) { var _2201 = this.getOrCreateAppearanceEnemy(), _2202 = this._weightTable.lottery(_21zw), _2203 = 6000 * this.__Math__.random(), _2204 = _2202.position_x, _2205 = _2202.position_y, _2206 = (_2204[1] - _2204[0]) * this.__Math__.random() + _2204[0], _2207 = (_2205[1] - _2205[0]) * this.__Math__.random() + _2205[0]; _2201.setup(_2202.enemy_id, _2203, _2206, _2207, _2202.pattern, _2202.group_name), _2201.respawn(); } } }, _21xm.prototype._entryEnemies = function() { var _2208 = null, _2209 = this._getProgress(); for (var _220a in this.appearanceEnemy) { (_220b = this.appearanceEnemy[_220a]).kill(); } for (var _220c = this.getCurrentStage(), _220d = 0; _220d < _220c.maximum_display && this._weightTable.hasLottery(_2209); _220d++) { var _220b = this.getOrCreateAppearanceEnemy(), _220e = this._weightTable.lottery(_2209), _220f = 6000 * this.__Math__.random(), _220g = _220e.position_x, _220h = _220e.position_y, _220i = (_220g[1] - _220g[0]) * this.__Math__.random() + _220g[0], _220j = (_220h[1] - _220h[0]) * this.__Math__.random() + _220h[0]; _220b.setup(_220e.enemy_id, _220f, _220i, _220j, _220e.pattern, _220e.group_name), _220b.enter(); } }, _21xm.prototype._phaseTimeup = function() { var _220k = null; this.uiContainer.shusuiButton.visible = !1, this.uiContainer.clickableForceStopButton(!1), this.gotSheep.interactive = !1, this.gotSheep.focus = !1, this.gotSheep.light = 0, this.shusui.visible = !1, this.systemContainer.stageNo.visible = !1, this._requireCheckFinish = !0; }, _21xm.prototype._phaseReturnEnemy = function() { var _220l = null, _220m = !1; for (var _220n in this.managedEnemy) { var _220o = this.managedEnemy[_220n]; _220o.alive && (_220m = !0, _220o.goBack()); } _220m && this.soundEffectManager.play('102'), this._phaseCheckNext(); }, _21xm.prototype._phaseExtermination = function() { var _220p = null, _220q = this, _220r = new _21x9.PhaseExtermination(this); _220r.onComplete = function() { var _220s = null; _220r.dispose(), _220q._phaseCheckNext(); }, _220r.start(); }, _21xm.prototype._phaseCheckNext = function() { var _220t = null; this._tick = !1, this.uiContainer.shusuiButton.active = !1, this.hasNextStage() && this.isClearStage() ? (this._incrementWave(), this._startWave()) : this._phaseOutGot(); }, _21xm.prototype._incrementWave = function() { var _220u = null; this._setShusuiCount(this.gameInfo.shusuiCount + 1), this.gameInfo.currentWaveNo++; }, _21xm.prototype._phaseOutGot = function() { var _220v = null, _220w = this, _220x = new _21xa.PhaseOutGot(this); _220x.onComplete = function() { var _220y = null; _220x.dispose(), _220w._phaseScoreResult(); }, _220x.start(); }, _21xm.prototype._phaseScoreResult = function() { var _220z = null, _2210 = this, _2211 = new _21xb.PhaseScoreResult(this); _2211.onComplete = function() { var _2212 = null; _2211.dispose(), _2210._enterGot(); }, _2211.start(); }, _21xm.prototype._updateShusui = function() { var _2213 = null; this.shusui.visible && this.shusui.update(); }, _21xm.prototype._updateGotSheep = function() { var _2214 = null; this.gotSheep.visible && this.gotSheep.update(); }, _21xm.prototype._getElapsedTimeMS = function() { var _2215 = null; return 16.666666666666668 * this.systemInfo.frameCount; }, _21xm.prototype._getProgress = function() { var _2216 = null, _2217 = this.getCurrentStage().time; return this._getElapsedTimeMS() / _2217; }, _21xm.prototype._updateTimer = function() { var _2218 = null, _2219 = this._getProgress(); (this.systemInfo.updateProgress(_2219), _2219 >= 1) ? (this.systemInfo.activeTimer = !1, this.uiContainer.timerGauge.update(0), this._phaseTimeup()) : (this.systemInfo.frameCount % 60 == 0 && this._respawnEnemies(), this.systemInfo.requestShusui && (this.systemInfo.requestShusui = !1, this.shusui.play()), this.uiContainer.timerGauge.update(1 - _2219)); }, _21xm.prototype._updateEnemies = function() { var _221a = null; for (var _221b in this.appearanceEnemy) { var _221c = this.appearanceEnemy[_221b]; _221c.alive && _221c.update(); } }, _21xm.prototype.dispose = function() { var _221d = null; for (var _221e in (_21x8.default.view.overLayer.removeChild(this.layer), this.systemInfo.restore(), this.EnemyInfo = null, this.GameStage = null, this.WaveSetting = null, this.gameInfo = null, this.systemInfo = null, this.camera.dispose(), this.managedEnemy)) { this.managedEnemy[_221e].dispose(); } this.gotLemon.dispose(), this.gotLemon = null, this.managedEnemy.length = 0, this.managedEnemy = null, this.shusui.dispose(), this.shusui = null, this.gotSheep.dispose(), this.gotSheep = null, this.simpleEffect.dispose(), this.simpleEffect = null, this.explosionParticle.dispose(), this.explosionParticle = null, this.gotHitEffect.dispose(), this.gotHitEffect = null, this.layer.dispose(), this.layer = null, this.gameContainer.dispose(), this.gameContainer = null, this.uiContainer.dispose(), this.uiContainer = null, this.systemContainer.dispose(), this.systemContainer = null, _21xm.releaseTexture(); }, Object.defineProperty(_21xm.prototype, 'HighScore', { 'get': function() { return _21xh; }, 'set': function(_221f) { _21xh = _221f; }, 'enumerable': !1, 'configurable': !0 }), _21xm.prototype.getCurrentScore = function() { var _221g = null, _221h = this.gameInfo.currentWaveNo; return this.gameInfo.waveScore[_221h]; }, _21xm.prototype.isFinalWave = function() { var _221i = null; return this.gameInfo.currentWaveNo == this.WaveSetting.length - 1; }, _21xm.prototype.incrementCombo = function() { var _221j = null; this.gameInfo.combo++, this.uiContainer.comboBoard.update(this.gameInfo.combo); }, _21xm.prototype.resetCombo = function() { var _221k = null; this._resetCombo(); }, _21xm.prototype.addScore = function(_221l) { var _221m = null, _221n = this.gameInfo.waveScore[this.gameInfo.currentWaveNo] + _221l; this._setScore(_221n); }, _21xm.prototype._setScore = function(_221o) { var _221p = null; this.gameInfo.waveScore[this.gameInfo.currentWaveNo] = _221o, this.uiContainer.scoreBoard.update(this.gameInfo.waveScore[this.gameInfo.currentWaveNo]); }, _21xm.prototype.getCurrentStage = function() { var _221q = null, _221r = this._getCurrentWaveSetting(); return this._getStage(_221r.stage_id); }, _21xm.prototype.getStage = function(_221s) { var _221t = null; return this._getStage(_221s); }, _21xm.prototype.getEnemyInfo = function(_221u) { var _221v = null; return this.EnemyInfo[_221u]; }, _21xm.prototype._getStage = function(_221w) { var _221x = null, _221y = this.GameStage[_221w]; return _221y.maximum_display || (_221y.maximum_display = 100), _221y.enemy.forEach(function(_221z) { var _2220 = null; _221z.position_x || (_221z.position_x = _21xi), _221z.position_y || (_221z.position_y = _21xj); }), _221y; }, _21xm.prototype.getCurrentWaveSetting = function() { var _2221 = null; return this._getCurrentWaveSetting(); }, _21xm.prototype._getCurrentWaveSetting = function() { var _2222 = null; return this.WaveSetting[this.gameInfo.currentWaveNo]; }, _21xm.prototype.getCurrentWave = function() { var _2223 = null; return this.gameInfo.currentWaveNo; }, _21xm.prototype.isClearStage = function() { var _2224 = null; return this.getCurrentScore() >= this.getCurrentStage().border_line; }, _21xm.prototype.hasNextStage = function() { var _2225 = null; return this.gameInfo.currentWaveNo + 1 < this.WaveSetting.length; }, _21xm._textureCache = {}, _21xm; }()); _21wm.GameData = _21xk; }, 32285: (_2226, _2227) => { 'use strict'; var _2228 = null; defineModule(_2227); Object.defineProperty(_2227, '__esModule', { 'value': !0 }), _2227.GameInfo = void 0; var _2229 = function() {}; _2227.GameInfo = _2229; }, 55801: function(_222a, _222b, _222c) { 'use strict'; var _222d = null; var _222e = this && this.__importDefault || function(_222f) { var _222g = null; return _222f && _222f.__esModule ? _222f : { 'default': _222f }; }; defineModule(_222b); Object.defineProperty(_222b, '__esModule', { 'value': !0 }), _222b.LoadTask = void 0; var _222h = _222c(13748), _222i = _222e(_222c(18622)), _222j = _222c(80329), _222k = (function() { var _222l = null; function _222m() {} return _222m.prototype.start = function(_222n) { var _222o = null; this._onComplete = _222n, this._downloadTexture(); }, _222m.prototype._downloadTexture = function() { var _222p = null, _222q = this, _222r = new _222h.UIImageLoader('minigame'); _222r.add('minigame_gotsheep.json'), _222r.load(function() { var _222s = null; _222q._uploadToGPU(); }); }, _222m.prototype._uploadToGPU = function() { var _222t = null, _222u = this; _222i.default.settings.renderer.plugins.prepare.upload(_222j.GameData.getTexture(0).baseTexture, function() { var _222v = null; _222u._onComplete(), _222u._onComplete = null; }); }, _222m; }()); _222b.LoadTask = _222k; }, 29424: (_222w, _222x) => { 'use strict'; var _222y = null; var _222z; defineModule(_222x); Object.defineProperty(_222x, '__esModule', { 'value': !0 }), _222x.MINIGAME_GOTSHEEP = void 0, function(_2230) { var _2231 = null; _2230.getTexture = function(_2232) { var _2233 = null; return PIXI.Texture.fromFrame('minigame_gotsheep_' + _2232); }; }(_222z || (_222x.MINIGAME_GOTSHEEP = _222z = {})); }, 10572: function(_2234, _2235, _2236) { 'use strict'; var _2237 = null; var _2238, _2239 = this && this.__extends || (_2238 = function(_223a, _223b) { var _223c = null; return _2238 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_223d, _223e) { var _223f = null; _223d.__proto__ = _223e; } || function(_223g, _223h) { var _223i = null; for (var _223j in _223h) Object.prototype.hasOwnProperty.call(_223h, _223j) && (_223g[_223j] = _223h[_223j]); }, _2238(_223a, _223b); }, function(_223k, _223l) { var _223m = null; if ('function' != typeof _223l && null !== _223l) throw new TypeError('Class extends value ' + String(_223l) + ' is not a constructor or null'); function _223n() { var _223o = null; this.constructor = _223k; } _2238(_223k, _223l), _223k.prototype = null === _223l ? Object.create(_223l) : (_223n.prototype = _223l.prototype, new _223n()); }); defineModule(_2235); Object.defineProperty(_2235, '__esModule', { 'value': !0 }), _2235.ResultView = void 0; var _223p = _2236(8744), _223q = _2236(23695), _223r = _2236(80329), _223s = function(_223t) { var _223u = null; function _223v(_223w) { var _223x = null, _223y = _223t.call(this) || this, _223z = new PIXI.Graphics().beginFill(0, 0.75).drawRect(0, 0, 1200, 256).endFill(), _2240 = new _2241(_223w), _2242 = new _2241(_223w), _2243 = new _2241(_223w), _2244 = new _2241(_223w), _2245 = new _2241(_223w), _2246 = new _2241(_223w), _2247 = new _2241(_223w), _2248 = new _223q.Gotsheep(_223w), _2249 = 32; _2240.position.x = 64, _2242.position.x = _2240.position.x + 64 + _2249, _2243.position.x = _2242.position.x + 64 + _2249, _2244.position.x = _2243.position.x + 64 + _2249, _2245.position.x = _2244.position.x + 64 + _2249, _2240.position.y = _2242.position.y = _2243.position.y = _2244.position.y = _2245.position.y = 160, _2246.position.x = _2243.position.x - 50, _2247.position.x = _2243.position.x + 50, _2247.position.y = _2246.position.y = 64; var _224a = new _224b(); _224a.position.x = 600, _224a.position.y = 140, _224a.update(61); var _224c = new _223p.TextBox(64, 16777215, 'bold'); _224c.text = 'SCORE', _224c.anchor.x = 1, _224c.position.x = 945, _224c.position.y = 64; var _224d = new _223p.TextBox(35, 16777215, 'bold'); _224d.text = 'HIGH-SCORE', _224d.anchor.x = 1, _224d.position.x = _224c.position.x, _224d.position.y = _224c.position.y + 64 + 8; var _224e = new _223p.TextBox(64, 16777215, 'bold'), _224f = new _223p.TextBox(34, 16777215, 'bold'); return _224f.anchor.x = _224e.anchor.x = 1, _224f.text = '', _224e.text = '', _224e.position.x = _224c.position.x + 215 + 32 + 5, _224e.position.y = _224c.position.y, _224f.position.x = _224d.position.x + 215 + 32, _224f.position.y = _224d.position.y, _223y.addChild(_223z), _223y.addChild(_2240, _2242, _2243, _2244, _2245, _2246, _2247), _223y.addChild(_224a), _223y.addChild(_2248), _223y.addChild(_224c), _223y.addChild(_224d), _223y.addChild(_224e, _224f), _223y._wave1 = _2240, _223y._wave2 = _2242, _223y._wave3 = _2243, _223y._wave4 = _2244, _223y._wave5 = _2245, _223y._waveEX = _2246, _223y._waveEX2 = _2247, _223y._bg = _223z, _223y._rank = _224a, _223y._textScore = _224e, _223y._textHighScore = _224f, _223y._gotSheep = _2248, _223y._lastUpdate = Date.now(), _223y._gameData = _223w, _223y._renderWebGL = function(_224g) { var _224h = null; _223t.prototype._renderWebGL.call(_223y, _224g), _223y._onUpdate(); }, _223y._renderCanvas = function(_224i) { var _224j = null; _223t.prototype._renderCanvas.call(_223y, _224i), _223y._onUpdate(); }, _223y; } return _2239(_223v, _223t), Object.defineProperty(_223v.prototype, 'textScore', { 'get': function() { var _224k = null; return this._textScore; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_223v.prototype, 'textHighScore', { 'get': function() { var _224l = null; return this._textHighScore; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_223v.prototype, 'gotSheep', { 'get': function() { var _224m = null; return this._gotSheep; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_223v.prototype, 'wave1', { 'get': function() { var _224n = null; return this._wave1; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_223v.prototype, 'wave2', { 'get': function() { var _224o = null; return this._wave2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_223v.prototype, 'wave3', { 'get': function() { var _224p = null; return this._wave3; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_223v.prototype, 'wave4', { 'get': function() { var _224q = null; return this._wave4; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_223v.prototype, 'wave5', { 'get': function() { var _224r = null; return this._wave5; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_223v.prototype, 'waveEX', { 'get': function() { var _224s = null; return this._waveEX; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_223v.prototype, 'waveEX2', { 'get': function() { var _224t = null; return this._waveEX2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_223v.prototype, 'rank', { 'get': function() { var _224u = null; return this._rank; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_223v.prototype, 'blinkHighScore', { 'get': function() { var _224v = null; return this._blinkHighScore; }, 'set': function(_224w) { var _224x = null; this._textHighScore.visible = !0, this._blinkHighScore = _224w; }, 'enumerable': !1, 'configurable': !0 }), _223v.prototype.dispose = function() { var _224y = null; this.removeChildren(), this._wave1.dispose(), this._wave2.dispose(), this._wave3.dispose(), this._wave4.dispose(), this._wave5.dispose(), this._waveEX.dispose(), this._waveEX2.dispose(), this._rank.dispose(), this._gotSheep.dispose(), this._bg = null, this._wave1 = null, this._wave2 = null, this._wave3 = null, this._wave4 = null, this._wave5 = null, this._waveEX2 = null, this._waveEX = null, this._rank = null, this._textScore = null, this._textHighScore = null, this._gotSheep = null, this._blinkHighScore = null, this._gameData = null; }, _223v.prototype.setup = function() { var _224z = null; this._wave1.setup(0, 1000), this._wave2.setup(1, 2000), this._wave3.setup(2, 3000), this._wave4.setup(3, 4000), this._wave5.setup(4, 5000), this._waveEX.setup(5, 6000), this._waveEX2.setup(6, 7000); }, _223v.prototype._onUpdate = function() { var _2250 = null; this._wave1.visible && this._wave1.update(), this._wave2.visible && this._wave2.update(), this._wave3.visible && this._wave3.update(), this._wave4.visible && this._wave4.update(), this._wave5.visible && this._wave5.update(), this._waveEX.visible && this._waveEX.update(), this._waveEX2.visible && this._waveEX2.update(); var _2251 = Date.now(); _2251 - this._lastUpdate > 1000 && this._blinkHighScore && (this._lastUpdate = _2251, this._textHighScore.visible = !this._textHighScore.visible); }, _223v; }(PIXI.Container); _2235.ResultView = _223s; var _224b = function(_2252) { var _2253 = null; function _2254() { var _2255 = null, _2256 = _2252.call(this) || this, _2257 = new PIXI.Sprite(_223r.GameData.getTexture(57)), _2258 = new PIXI.Sprite(); return _2257.anchor.set(0.5, 0.5), _2258.anchor.set(0.5, 0.5), _2257.scale.set(0.6, 0.6), _2258.scale.set(0.6, 0.6), _2256.addChild(_2257, _2258), _2256._score = _2258, _2256; } return _2239(_2254, _2252), _2254.prototype.dispose = function() { var _2259 = null; this.removeChildren(), this._score.texture = PIXI.Texture.EMPTY, this._score = null; }, _2254.prototype.update = function(_225a) { var _225b = null; this._score.texture = _223r.GameData.getTexture(_225a); }, _2254; }(PIXI.Container), _2241 = function(_225c) { var _225d = null; function _225e(_225f) { var _225g = null, _225h = _225c.call(this) || this, _225i = new _223p.TextBox(14, 16777215, 'bold'), _225j = new _225k(_225f); return _225j.scale.set(0.65), _225j.position.set(0, -30), _225h.addChild(_225j), _225h.addChild(_225i), _225i.anchor.set(0.5, 0), _225i.text = '', _225h._enemy = _225j, _225h._label = _225i, _225h._gameData = _225f, _225h; } return _2239(_225e, _225c), _225e.prototype.update = function() { var _225l = null; this._enemy.update(); }, _225e.prototype.dispose = function() { var _225m = null; this.removeChildren(), this._enemy.dispose(), this._label = null, this._enemy = null, this._gameData = null; }, Object.defineProperty(_225e.prototype, 'label', { 'get': function() { var _225n = null; return this._label; }, 'enumerable': !1, 'configurable': !0 }), _225e.prototype.setup = function(_225o, _225p) { var _225q = null, _225r = this._gameData.WaveSetting[_225o], _225s = this._gameData.getStage(_225r.stage_id).icon; this._enemy.setup(_225s, _225p), this._sequenceNo = _225o; }, _225e; }(PIXI.Container), _225k = function(_225t) { var _225u = null; function _225v(_225w) { var _225x = null, _225y = _225t.call(this) || this, _225z = new PIXI.Sprite(); return _225z.anchor.set(0.5, 0.5), _225y.addChild(_225z), _225y._sprite = _225z, _225y._cycle = 0, _225y._frame = 0, _225y._gameData = _225w, _225y; } return _2239(_225v, _225t), _225v.prototype.setup = function(_2260, _2261) { var _2262 = null, _2263 = _223r.GameData.getTexture(_2260), _2264 = 100 / _2263.width; this._sprite.texture = _2263, this._sprite.scale.set(_2264), this._cycle = _2261, this._frame = 0, this.visible = !0; }, _225v.prototype.update = function() { var _2265 = null; this._sprite.y = 8 * (Math.sin(0.05 * this._frame++ + this._cycle) - 0.5); }, _225v.prototype.dispose = function() { var _2266 = null; this.removeChildren(), this._sprite.texture = PIXI.Texture.EMPTY, this._sprite = null, this._gameData = null; }, _225v; }(PIXI.Container); }, 68953: (_2267, _2268, _2269) => { 'use strict'; var _226a = null; defineModule(_2268); Object.defineProperty(_2268, '__esModule', { 'value': !0 }), _2268.SoundEffectManager = void 0; var _226b = _2269(31000), _226c = (function() { var _226d = null; function _226e(_226f) { var _226g = null; this.LIMIT = {}, this.LIMIT[102] = 5, this.LIMIT[103] = 5, this.LIMIT[104] = 5, this.LIMIT[237] = 2, this.LIMIT[118] = 2, this.LIMIT[202] = 10, this._lastPlayFrame = {}, this._gameData = _226f; } return _226e.prototype.play = function(_226h) { var _226i = null, _226j = this._gameData.systemInfo.frameCount, _226k = !1; if (this._lastPlayFrame[_226h]) { var _226l = _226j - this._lastPlayFrame[_226h], _226m = 0; this.LIMIT[_226h] && (_226m = this.LIMIT[_226h]), _226m <= _226l && (_226k = !0); } else _226k = !0; _226k && (this._lastPlayFrame[_226h] = _226j, _226b.SE.play(_226h)); }, _226e.prototype.reset = function() { var _226n = null; this._lastPlayFrame = {}; }, _226e; }()); _2268.SoundEffectManager = _226c; }, 50805: function(_226o, _226p, _226q) { 'use strict'; var _226r = null; var _226s = this && this.__importDefault || function(_226t) { var _226u = null; return _226t && _226t.__esModule ? _226t : { 'default': _226t }; }; defineModule(_226p); Object.defineProperty(_226p, '__esModule', { 'value': !0 }), _226p.SystemInfo = void 0; var _226v = _226s(_226q(18622)), _226w = (function() { var _226x = null; function _226y(_226z) { var _2270 = null; this._hitStopFPS = 60, this.support_ship_mst_id = null, this.start_bgm = null, this.start_fps = null, this.frameCount = 0, this.requestShusui = !1, this.activeTimer = !1, this.cheeringVoice = { 'progress_50': !1, 'progress_75': !1 }, this._gameData = _226z; } return _226y.prototype.resetCheering = function() { var _2271 = null; this.cheeringVoice = { 'progress_50': !1, 'progress_75': !1 }; }, _226y.prototype.updateProgress = function(_2272) { var _2273 = null; if (0 == this.cheeringVoice.progress_50) { if (_2272 <= 0.5) { var _2274 = this._gameData.getCurrentScore(); 0.5 * this._gameData.getCurrentStage().border_line <= _2274 && (_226v.default.sound.voice.play(this.support_ship_mst_id, 16), this.cheeringVoice.progress_50 = !0); } else _226v.default.sound.voice.play(this.support_ship_mst_id, 19), this.cheeringVoice.progress_50 = !0; } else { if (0 == this.cheeringVoice.progress_75) { if (_2272 <= 0.75) _2274 = this._gameData.getCurrentScore(), 0.75 * this._gameData.getCurrentStage().border_line <= _2274 && (_226v.default.sound.voice.play(this.support_ship_mst_id, 17), this.cheeringVoice.progress_75 = !0); else _226v.default.sound.voice.play(this.support_ship_mst_id, 20), this.cheeringVoice.progress_75 = !0; } } }, _226y.prototype.store = function() { var _2275 = null; this.start_bgm = _226v.default.sound.bgm.bgm_id; var _2276 = createjs.Ticker.getFPS(); this.start_fps = _2276; var _2277 = _226v.default.model.deck.get(1).getShipMemIDList(), _2278 = _226v.default.model.ship.get(_2277[Math.floor(Math.random() * _2277.length)]).mstID; this.support_ship_mst_id = _2278.toString(); }, _226y.prototype.restore = function() { var _2279 = null; _226v.default.sound.bgm.play(this.start_bgm), createjs.Ticker.setFPS(this.start_fps); }, _226y.prototype.setFPS = function(_227a) { var _227b = null; this._fps != _227a && (this._fps = _227a, createjs.Ticker.setFPS(_227a)); }, _226y.prototype._setHitStopFPS = function(_227c) { var _227d = null; this._hitStopFPS = _227c; }, _226y.prototype.setHitStopFPS = function(_227e) { var _227f = null; this._setHitStopFPS(_227e); }, Object.defineProperty(_226y.prototype, 'hitStopFPS', { 'get': function() { var _227g = null; return this._hitStopFPS; }, 'enumerable': !1, 'configurable': !0 }), _226y.prototype.addHitStopFPS = function(_227h) { var _227i = null, _227j = this._hitStopFPS + _227h, _227k = Math.max(1, Math.min(_227j, 60)); this._setHitStopFPS(_227k); }, _226y.prototype.setBGM = function(_227l) { var _227m = null; _227l != _226v.default.sound.bgm.bgm_id && _226v.default.sound.bgm.play(_227l); }, _226y.prototype.applyHitStop = function() { var _227n = null; this.setFPS(this.hitStopFPS); }, _226y; }()); _226p.SystemInfo = _226w; }, 75732: function(_227o, _227p, _227q) { 'use strict'; var _227r = null; var _227s = this && this.__importDefault || function(_227t) { var _227u = null; return _227t && _227t.__esModule ? _227t : { 'default': _227t }; }; defineModule(_227p); Object.defineProperty(_227p, '__esModule', { 'value': !0 }), _227p.TaskMinigame0 = void 0; var _227v = _227s(_227q(18622)), _227w = _227q(13748), _227x = _227q(80329), _227y = _227q(55801), _227z = _227q(82279), _2280 = (function() { var _2281 = null; function _2282() { var _2283 = null, _2284 = this; this._onTick = function() { var _2285 = null; _2284._gameData.tick(); }, this._tick = function() { var _2286 = null; _2284._onTick(); }; } return _2282.prototype.start = function() { var _2287 = null, _2288 = 'ontouchstart' in window; _227z.InteractiveConst.init(_2288 ? _227z.InteractiveConst.TOUCH : _227z.InteractiveConst.MOUSE), this._phaseLoadResource(); }, _2282.prototype.dispose = function() { var _2289 = null; this._stopTick(), this._gameData.dispose(), this._gameData = null, this.onComplete = null, _227w.UIImageLoader.clearMemoryCacheDetail('minigame', 'gotsheep'); }, _2282.prototype._phaseLoadResource = function() { var _228a = null, _228b = this; _227v.default.view.clickGuard = !0, _227v.default.view.loading.show(), new _227y.LoadTask().start(function() { var _228c = null; _227v.default.view.loading.hide(), _227v.default.view.clickGuard = !1, _228b._phaseInitGame(); }); }, _2282.prototype._phaseInitGame = function() { var _228d = null, _228e = this; this._gameData = new _227x.GameData(), this._gameData.onComplete = function() { var _228f = null; return _228e._onComplete(); }, this._gameData.initialize(), this._startTick(); }, _2282.prototype._startTick = function() { var _228g = null; createjs.Ticker.addEventListener('tick', this._tick); }, _2282.prototype._stopTick = function() { var _228h = null; createjs.Ticker.removeEventListener('tick', this._tick), this._onTick = function() {}; }, _2282.prototype._onComplete = function() { var _228i = null; this.onComplete(); }, _2282; }()); _227p.TaskMinigame0 = _2280; }, 28025: (_228j, _228k) => { 'use strict'; var _228l = null; defineModule(_228k); Object.defineProperty(_228k, '__esModule', { 'value': !0 }), _228k.ScoreToRank = _228k.CalcDegree = _228k.CalcDistance = void 0, _228k.CalcDistance = function(_228m, _228n) { var _228o = null, _228p = _228m.x - _228n.x, _228q = _228m.y - _228n.y; return Math.sqrt(_228p * _228p + _228q * _228q); }, _228k.CalcDegree = function(_228r, _228s) { var _228t = null, _228u = _228s.x - _228r.x, _228v = _228s.y - _228r.y; return Math.atan2(_228v, _228u); }, _228k.ScoreToRank = function(_228w, _228x) { return _228x ? 61 : _228w > 142500 ? 55 : _228w > 72500 ? 56 : _228w > 22500 ? 58 : _228w > 7500 ? 59 : 60; }; }, 70761: function(_228y, _228z, _2290) { 'use strict'; var _2291 = null; var _2292 = this && this.__importDefault || function(_2293) { var _2294 = null; return _2293 && _2293.__esModule ? _2293 : { 'default': _2293 }; }; defineModule(_228z); Object.defineProperty(_228z, '__esModule', { 'value': !0 }), _228z.Camera = void 0; var _2295 = _2292(_2290(18622)), _2296 = _2290(7195), _2297 = (function() { var _2298 = null; function _2299() { var _229a = null; this._view = _2295.default.view; } return _2299.prototype.dispose = function() { var _229b = null; this._interruptShake(), this._taskShake = null, this._view = null; }, _2299.prototype.shake = function(_229c) { var _229d = null; this._shake(_229c); }, _2299.prototype._shake = function(_229e) { var _229f = null, _229g = this; this._interruptShake(), this._taskShake = _2296['$_$'].Sequence(function() { var _229h = null; return _2296['$_$'].Call(function() { var _229i = null; _229g._view.position.x = -2.5 * _229e, _229g._view.position.y = -2 * _229e; }); }, function() { var _229j = null; return _2296['$_$'].WaitForFrame(1); }, function() { var _229k = null; return _2296['$_$'].Call(function() { var _229l = null; _229g._view.position.x = 2.5 * _229e / 2, _229g._view.position.y = 2 * _229e / 2; }); }, function() { var _229m = null; return _2296['$_$'].WaitForFrame(1); }, function() { var _229n = null; return _2296['$_$'].Call(function() { var _229o = null; _229g._view.position.x = -2.5 * _229e / 4, _229g._view.position.y = -2 * _229e / 4; }); }, function() { var _229p = null; return _2296['$_$'].WaitForFrame(1); }, function() { var _229q = null; return _2296['$_$'].Call(function() { var _229r = null; _229g._view.position.x = 0, _229g._view.position.y = 0; }); }), this._taskShake.execute(function() { var _229s = null; _229g._taskShake.dispose(), _229g._taskShake = null; }); }, _2299.prototype._interruptShake = function() { var _229t = null; this._taskShake && (this._taskShake.interrupt(), this._taskShake.dispose()), this._taskShake = null; }, _2299; }()); _228z.Camera = _2297; }, 32657: (_229u, _229v) => { 'use strict'; var _229w = null; defineModule(_229v); Object.defineProperty(_229v, '__esModule', { 'value': !0 }), _229v.WeightTable = void 0; var _229x = (function() { var _229y = null; function _229z(_22a0, _22a1) { var _22a2 = null, _22a3 = new Array(), _22a4 = {}; _22a1.forEach(function(_22a5, _22a6) { var _22a7 = null, _22a8 = new _22a9(_22a0, _22a5, _22a4); _22a3.push(_22a8); }), this._lotteryTargets = _22a3, this._gameData = _22a0; } return _229z.prototype.hasLottery = function(_22aa) { var _22ab = null; for (var _22ac = 0; _22ac < this._lotteryTargets.length; _22ac++) { if (this._lotteryTargets[_22ac].testLotteryTarget(_22aa)) return !0; } return !1; }, _229z.prototype.updateZeroGimmick = function() { var _22ad = null; for (var _22ae in this._lotteryTargets) { this._lotteryTargets[_22ae].updateZeroGimmick(); } }, _229z.prototype.lottery = function(_22af) { var _22ag = null; for (var _22ah = null, _22ai = 0, _22aj = 0; _22aj < this._lotteryTargets.length; _22aj++) { (_22ak = this._lotteryTargets[_22aj]).testLotteryTarget(_22af) && 0 == _22ak.testRemoveLottery(_22af) && (_22ai += _22ak.weight); } var _22al = Math.floor(this._gameData.Math.random() * _22ai); for (_22aj = 0; _22aj < this._lotteryTargets.length; _22aj++) { var _22ak; if ((_22ak = this._lotteryTargets[_22aj]).testLotteryTarget(_22af) && 0 == _22ak.testRemoveLottery(_22af) && (_22al -= _22ak.weight) <= 0) return (_22ah = _22ak).incrementLotteryCount(), _22ah.enemyRecord; } return null; }, _229z; }()); _229v.WeightTable = _229x; var _22a9 = (function() { var _22am = null; function _22an(_22ao, _22ap, _22aq) { var _22ar = null; this._enemyRecord = _22ap, this._lotteryCounter = 0, this._gameData = _22ao, this._sharedGimmick = _22aq; } return _22an.prototype.testLotteryTarget = function(_22as) { var _22at = null; return 0 != this._testAvailable() && (0 != this._testActiveGimmick() && (0 != this._testDeactiveGimmick() && (0 != this._testArrival(_22as) && (0 != this._testDissappear(_22as) && 0 != this._testMaximumDisplay())))); }, _22an.prototype.testRemoveLottery = function(_22au) { var _22av = null; return 0 == this._testAvailable() || 0 == this._testDissappear(_22au); }, Object.defineProperty(_22an.prototype, 'enemyRecord', { 'get': function() { var _22aw = null; return this._enemyRecord; }, 'enumerable': !1, 'configurable': !0 }), _22an.prototype._hasDeactiveGimmick = function() { var _22ax = null; return !!this._enemyRecord.appearances_deactive_gimmick; }, _22an.prototype._testDeactiveGimmick = function() { var _22ay = null; return !this._hasDeactiveGimmick() || !this._sharedGimmick[this._enemyRecord.appearances_deactive_gimmick]; }, _22an.prototype._hasActiveGimmick = function() { var _22az = null; return !!this._enemyRecord.appearances_active_gimmick; }, _22an.prototype._testActiveGimmick = function() { var _22b0 = null; return !(this._hasActiveGimmick() && !this._sharedGimmick[this._enemyRecord.appearances_active_gimmick]); }, _22an.prototype._hasZeroGimmick = function() { var _22b1 = null; return !!this._enemyRecord.appearances_zero_gimmick; }, _22an.prototype._hasAppearancesValue = function() { var _22b2 = null; return !!this._enemyRecord.appearances_value; }, _22an.prototype._hasArrival = function() { var _22b3 = null; return !!this._enemyRecord.arrival_progress; }, _22an.prototype._hasDisappear = function() { var _22b4 = null; return !!this._enemyRecord.disappear_progress; }, _22an.prototype._hasMaximumDisplay = function() { var _22b5 = null; return !!this._enemyRecord.maximum_display; }, _22an.prototype.incrementLotteryCount = function() { var _22b6 = null; this._lotteryCounter++; }, Object.defineProperty(_22an.prototype, 'weight', { 'get': function() { var _22b7 = null; return this._enemyRecord.weight; }, 'enumerable': !1, 'configurable': !0 }), _22an.prototype._testAvailable = function() { var _22b8 = null; return !this._hasAppearancesValue() || this._lotteryCounter < this._enemyRecord.appearances_value; }, _22an.prototype._testArrival = function(_22b9) { var _22ba = null; return !this._hasArrival() || _22b9 >= this._enemyRecord.arrival_progress; }, _22an.prototype._testDissappear = function(_22bb) { var _22bc = null; return !this._hasDisappear() || _22bb <= this._enemyRecord.disappear_progress; }, _22an.prototype._testMaximumDisplay = function() { var _22bd = null; if (this._hasMaximumDisplay()) { var _22be = 0; for (var _22bf in this._gameData.appearanceEnemy) { var _22bg = this._gameData.appearanceEnemy[_22bf]; if (_22bg.alive && _22bg.group_name == this._enemyRecord.group_name && (_22be++, this._enemyRecord.maximum_display <= _22be)) return !1; } } return !0; }, _22an.prototype.updateZeroGimmick = function() { var _22bh = null; if (0 != this._hasZeroGimmick() && !(this._sharedGimmick[this._enemyRecord.appearances_zero_gimmick] || 0 == this._hasAppearancesValue() || this._lotteryCounter < this._enemyRecord.appearances_value)) { for (var _22bi in this._gameData.appearanceEnemy) { var _22bj = this._gameData.appearanceEnemy[_22bi]; if (_22bj.alive && _22bj.group_name == this._enemyRecord.group_name) return; } this._sharedGimmick[this._enemyRecord.appearances_zero_gimmick] = !0; } }, _22an; }()); }, 50715: function(_22bk, _22bl, _22bm) { 'use strict'; var _22bn = null; var _22bo, _22bp = this && this.__extends || (_22bo = function(_22bq, _22br) { var _22bs = null; return _22bo = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_22bt, _22bu) { var _22bv = null; _22bt.__proto__ = _22bu; } || function(_22bw, _22bx) { var _22by = null; for (var _22bz in _22bx) Object.prototype.hasOwnProperty.call(_22bx, _22bz) && (_22bw[_22bz] = _22bx[_22bz]); }, _22bo(_22bq, _22br); }, function(_22c0, _22c1) { var _22c2 = null; if ('function' != typeof _22c1 && null !== _22c1) throw new TypeError('Class extends value ' + String(_22c1) + ' is not a constructor or null'); function _22c3() { var _22c4 = null; this.constructor = _22c0; } _22bo(_22c0, _22c1), _22c0.prototype = null === _22c1 ? Object.create(_22c1) : (_22c3.prototype = _22c1.prototype, new _22c3()); }); defineModule(_22bl); Object.defineProperty(_22bl, '__esModule', { 'value': !0 }), _22bl.GameContainer = void 0; var _22c5 = _22bm(25900), _22c6 = function(_22c7) { var _22c8 = null; function _22c9(_22ca) { var _22cb = null, _22cc = _22c7.call(this) || this; new PIXI.Graphics().beginFill(0, 0.5).drawRect(0, 0, 1200, 720).endFill().alpha = 0; var _22cd = new _22c5.GameStage(); _22cd.position.y = 720, _22cc._gameStage = _22cd, _22ca.gotLemon.position.set(100, -720); var _22ce = new PIXI.Container(); return _22cc.addChild(_22cd), _22cd.addChild(_22ca.gotSheep), _22cd.addChild(_22ce), _22cd.addChild(_22ca.explosionParticle), _22cd.addChild(_22ca.simpleEffect), _22cd.addChild(_22ca.shusui), _22cd.addChild(_22ca.gotHitEffect), _22cd.addChild(_22ca.gotLemon), _22cc._enemyContainer = _22ce, _22cc; } return _22bp(_22c9, _22c7), Object.defineProperty(_22c9.prototype, 'gameStage', { 'get': function() { var _22cf = null; return this._gameStage; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_22c9.prototype, 'enemyContainer', { 'get': function() { var _22cg = null; return this._enemyContainer; }, 'enumerable': !1, 'configurable': !0 }), _22c9.prototype.dispose = function() { var _22ch = null; this.removeChildren(), this._enemyContainer.removeChildren(), this._gameStage.dispose(), this._gameStage = null, this._enemyContainer = null; }, _22c9; }(PIXI.Container); _22bl.GameContainer = _22c6; }, 25900: function(_22ci, _22cj) { 'use strict'; var _22ck = null; var _22cl, _22cm = this && this.__extends || (_22cl = function(_22cn, _22co) { var _22cp = null; return _22cl = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_22cq, _22cr) { var _22cs = null; _22cq.__proto__ = _22cr; } || function(_22ct, _22cu) { var _22cv = null; for (var _22cw in _22cu) Object.prototype.hasOwnProperty.call(_22cu, _22cw) && (_22ct[_22cw] = _22cu[_22cw]); }, _22cl(_22cn, _22co); }, function(_22cx, _22cy) { var _22cz = null; if ('function' != typeof _22cy && null !== _22cy) throw new TypeError('Class extends value ' + String(_22cy) + ' is not a constructor or null'); function _22d0() { var _22d1 = null; this.constructor = _22cx; } _22cl(_22cx, _22cy), _22cx.prototype = null === _22cy ? Object.create(_22cy) : (_22d0.prototype = _22cy.prototype, new _22d0()); }); defineModule(_22cj); Object.defineProperty(_22cj, '__esModule', { 'value': !0 }), _22cj.GameStage = void 0; var _22d2 = function(_22d3) { var _22d4 = null; function _22d5() { var _22d6 = null; return null !== _22d3 && _22d3.apply(this, arguments) || this; } return _22cm(_22d5, _22d3), _22d5.prototype.dispose = function() { var _22d7 = null; this.removeChildren(); }, _22d5; }(PIXI.Container); _22cj.GameStage = _22d2; }, 3748: function(_22d8, _22d9) { 'use strict'; var _22da = null; var _22db, _22dc = this && this.__extends || (_22db = function(_22dd, _22de) { var _22df = null; return _22db = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_22dg, _22dh) { var _22di = null; _22dg.__proto__ = _22dh; } || function(_22dj, _22dk) { var _22dl = null; for (var _22dm in _22dk) Object.prototype.hasOwnProperty.call(_22dk, _22dm) && (_22dj[_22dm] = _22dk[_22dm]); }, _22db(_22dd, _22de); }, function(_22dn, _22do) { var _22dp = null; if ('function' != typeof _22do && null !== _22do) throw new TypeError('Class extends value ' + String(_22do) + ' is not a constructor or null'); function _22dq() { var _22dr = null; this.constructor = _22dn; } _22db(_22dn, _22do), _22dn.prototype = null === _22do ? Object.create(_22do) : (_22dq.prototype = _22do.prototype, new _22dq()); }); defineModule(_22d9); Object.defineProperty(_22d9, '__esModule', { 'value': !0 }), _22d9.Layer = void 0; var _22ds = function(_22dt) { var _22du = null; function _22dv() { var _22dw = null, _22dx = _22dt.call(this) || this, _22dy = new PIXI.Graphics().beginFill(0, 1).drawRect(0, 0, 1260, 780).endFill(); _22dy.position.set(-60, -60); var _22dz = new PIXI.Container(), _22e0 = new PIXI.Container(), _22e1 = new PIXI.Container(); return _22dx.addChild(_22dy, _22e0, _22dz, _22e1), _22dy.alpha = 0, _22dy.interactive = !0, _22dx._clickGuardBack = _22dy, _22dx._gameLayer = _22dz, _22dx._uiLayer = _22e0, _22dx._systemLayer = _22e1, _22dx; } return _22dc(_22dv, _22dt), Object.defineProperty(_22dv.prototype, 'clickGuardBack', { 'set': function(_22e2) { var _22e3 = null; this._clickGuardBack.visible = _22e2; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_22dv.prototype, 'gameLayer', { 'get': function() { var _22e4 = null; return this._gameLayer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_22dv.prototype, 'uiLayer', { 'get': function() { var _22e5 = null; return this._uiLayer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_22dv.prototype, 'systemLayer', { 'get': function() { var _22e6 = null; return this._systemLayer; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_22dv.prototype, 'bg', { 'get': function() { var _22e7 = null; return this._clickGuardBack; }, 'enumerable': !1, 'configurable': !0 }), _22dv.prototype.dispose = function() { var _22e8 = null; this.removeChildren(), this._clickGuardBack.removeChildren(), this._gameLayer.removeChildren(), this._uiLayer.removeChildren(), this._systemLayer.removeChildren(), this._clickGuardBack = null, this._gameLayer = null, this._uiLayer = null, this._systemLayer = null; }, _22dv; }(PIXI.Container); _22d9.Layer = _22ds; }, 22820: function(_22e9, _22ea, _22eb) { 'use strict'; var _22ec = null; var _22ed, _22ee = this && this.__extends || (_22ed = function(_22ef, _22eg) { var _22eh = null; return _22ed = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_22ei, _22ej) { var _22ek = null; _22ei.__proto__ = _22ej; } || function(_22el, _22em) { var _22en = null; for (var _22eo in _22em) Object.prototype.hasOwnProperty.call(_22em, _22eo) && (_22el[_22eo] = _22em[_22eo]); }, _22ed(_22ef, _22eg); }, function(_22ep, _22eq) { var _22er = null; if ('function' != typeof _22eq && null !== _22eq) throw new TypeError('Class extends value ' + String(_22eq) + ' is not a constructor or null'); function _22es() { var _22et = null; this.constructor = _22ep; } _22ed(_22ep, _22eq), _22ep.prototype = null === _22eq ? Object.create(_22eq) : (_22es.prototype = _22eq.prototype, new _22es()); }); defineModule(_22ea); Object.defineProperty(_22ea, '__esModule', { 'value': !0 }), _22ea.SystemContainer = void 0; var _22eu = _22eb(10572), _22ev = _22eb(70471), _22ew = _22eb(82279), _22ex = _22eb(75881), _22ey = _22eb(54326), _22ez = _22eb(66993), _22f0 = function(_22f1) { var _22f2 = null; function _22f3(_22f4) { var _22f5 = null, _22f6 = _22f1.call(this) || this, _22f7 = new _22eu.ResultView(_22f4), _22f8 = new _22ev.KamihubukiLayer(), _22f9 = new _22fa(); _22f7.position.y = 232; var _22fb = new _22ey.StageCutinView(); _22fb.visible = !1, _22fb.position.y = 360; var _22fc = new _22ex.StartButton(); _22fc.position.y = 380, _22fc.position.x = 50, _22fc.visible = !1, _22fc.interactive = !1; var _22fd = new _22ez.StageNo(); return _22fd.scale.set(0.5, 0.5), _22fd.position.y = 32, _22fd.visible = !1, _22fd.blink(), _22f6.addChild(_22f8), _22f6.addChild(_22f7), _22f6.addChild(_22f9), _22f6.addChild(_22fc), _22f6.addChild(_22fd), _22f6.addChild(_22fb), _22f6._clickArea = _22f9, _22f6._resultView = _22f7, _22f6._kamifubuki = _22f8, _22f6._clickArea = _22f9, _22f6._startButton = _22fc, _22f6._stageNo = _22fd, _22f6._stageCutinView = _22fb, _22f6; } return _22ee(_22f3, _22f1), Object.defineProperty(_22f3.prototype, 'resultView', { 'get': function() { var _22fe = null; return this._resultView; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_22f3.prototype, 'kamifubuki', { 'get': function() { var _22ff = null; return this._kamifubuki; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_22f3.prototype, 'clickArea', { 'get': function() { var _22fg = null; return this._clickArea; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_22f3.prototype, 'startButton', { 'get': function() { var _22fh = null; return this._startButton; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_22f3.prototype, 'stageNo', { 'get': function() { var _22fi = null; return this._stageNo; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_22f3.prototype, 'stageCutinView', { 'get': function() { var _22fj = null; return this._stageCutinView; }, 'enumerable': !1, 'configurable': !0 }), _22f3.prototype.dispose = function() { var _22fk = null; this.removeChildren(), this._resultView.dispose(), this._kamifubuki.dispose(), this._clickArea.dispose(), this._startButton.dispose(), this._stageCutinView.dispose(), this._stageNo.dispose(), this._resultView = null, this._kamifubuki = null, this._clickArea = null, this._startButton = null, this._stageCutinView = null, this._stageNo = null; }, _22f3; }(PIXI.Container); _22ea.SystemContainer = _22f0; var _22fa = function(_22fl) { var _22fm = null; function _22fn() { var _22fo = null, _22fp = _22fl.call(this) || this; return _22fp._onClick = function() { var _22fq = null; _22fp.onClick(); }, _22fp.beginFill(0, 0).drawRect(0, 0, 1200, 720).endFill(), _22fp.interactive = !0, _22fp.buttonMode = !0, _22fp.addListener(_22ew.InteractiveConst.click, _22fp._onClick), _22fp; } return _22ee(_22fn, _22fl), _22fn.prototype.dispose = function() { var _22fr = null; this.removeChildren(), this.onClick = null, this.removeAllListeners(_22ew.InteractiveConst.click); }, _22fn; }(PIXI.Graphics); }, 38246: function(_22fs, _22ft, _22fu) { 'use strict'; var _22fv = null; var _22fw, _22fx = this && this.__extends || (_22fw = function(_22fy, _22fz) { var _22g0 = null; return _22fw = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_22g1, _22g2) { var _22g3 = null; _22g1.__proto__ = _22g2; } || function(_22g4, _22g5) { var _22g6 = null; for (var _22g7 in _22g5) Object.prototype.hasOwnProperty.call(_22g5, _22g7) && (_22g4[_22g7] = _22g5[_22g7]); }, _22fw(_22fy, _22fz); }, function(_22g8, _22g9) { var _22ga = null; if ('function' != typeof _22g9 && null !== _22g9) throw new TypeError('Class extends value ' + String(_22g9) + ' is not a constructor or null'); function _22gb() { var _22gc = null; this.constructor = _22g8; } _22fw(_22g8, _22g9), _22g8.prototype = null === _22g9 ? Object.create(_22g9) : (_22gb.prototype = _22g9.prototype, new _22gb()); }); defineModule(_22ft); Object.defineProperty(_22ft, '__esModule', { 'value': !0 }), _22ft.UIContainer = void 0; var _22gd = _22fu(23482), _22ge = _22fu(46838), _22gf = _22fu(94662), _22gg = _22fu(51255), _22gh = _22fu(80329), _22gi = function(_22gj) { var _22gk = null; function _22gl() { var _22gm = null, _22gn = _22gj.call(this) || this, _22go = new _22gd.ForceStopButton(); _22go.position.x = 0, _22go.position.y = 653, _22go.interactive = !1, _22go.visible = !1; var _22gp = new _22ge.Gauge(); _22gp.position.x = 892, _22gp.position.y = 685; var _22gq = new _22gf.ScoreBoard(); _22gq.position.x = 1203, _22gq.position.y = 620, _22gq.scale.set(1.5); var _22gr = new _22gg.ShusuiButton(); _22gr.position.x = 264, _22gr.position.y = 667, _22gr.visible = !1; var _22gs = new _22gf.ScoreBoard(); _22gs.position.x = 603, _22gs.position.y = 670; var _22gt = new PIXI.Sprite(_22gh.GameData.getTexture(1)); return _22gt.position.x = -185, _22gt.position.y = 15, _22gs.addChild(_22gt), _22gn.addChild(_22go), _22gn.addChild(_22gp), _22gn.addChild(_22gs, _22gq), _22gn.addChild(_22gr), _22gn._forceStopButton = _22go, _22gn._timerGauge = _22gp, _22gn._scoreBoard = _22gq, _22gn._shusuiButton = _22gr, _22gn._comboBoard = _22gs, _22gn; } return _22fx(_22gl, _22gj), _22gl.prototype.dispose = function() { var _22gu = null; this.removeChildren(), this._forceStopButton.dispose(), this._timerGauge.dispose(), this._scoreBoard.dispose(), this._shusuiButton.dispose(), this._comboBoard.dispose(), this._forceStopButton = null, this._timerGauge = null, this._scoreBoard = null, this._shusuiButton = null, this._comboBoard = null; }, Object.defineProperty(_22gl.prototype, 'forceStopButton', { 'get': function() { var _22gv = null; return this._forceStopButton; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_22gl.prototype, 'timerGauge', { 'get': function() { var _22gw = null; return this._timerGauge; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_22gl.prototype, 'scoreBoard', { 'get': function() { var _22gx = null; return this._scoreBoard; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_22gl.prototype, 'comboBoard', { 'get': function() { var _22gy = null; return this._comboBoard; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_22gl.prototype, 'shusuiButton', { 'get': function() { var _22gz = null; return this._shusuiButton; }, 'enumerable': !1, 'configurable': !0 }), _22gl.prototype.activateShusuiButton = function(_22h0) { var _22h1 = null, _22h2 = this.shusuiButton, _22h3 = 0 < _22h0; _22h2.setCount(_22h0), _22h2.active = !1, _22h2.visible = !1, _22h3 && (_22h2.active = !0, _22h2.visible = !0); }, _22gl.prototype.clickableForceStopButton = function(_22h4) { var _22h5 = null; this._forceStopButton.visible = _22h4, this._forceStopButton.clickable = _22h4; }, _22gl; }(PIXI.Container); _22ft.UIContainer = _22gi; }, 15230: function(_22h6, _22h7, _22h8) { 'use strict'; var _22h9 = null; var _22ha = this && this.__importDefault || function(_22hb) { var _22hc = null; return _22hb && _22hb.__esModule ? _22hb : { 'default': _22hb }; }; defineModule(_22h7); Object.defineProperty(_22h7, '__esModule', { 'value': !0 }), _22h7.PhaseExtermination = void 0; var _22hd = _22h8(7195), _22he = _22ha(_22h8(18622)), _22hf = (function() { var _22hg = null; function _22hh(_22hi) { var _22hj = null; this._lastShake = 0, this._gameData = _22hi; } return _22hh.prototype.dispose = function() { var _22hk = null; this._gameData = null, this.onComplete = null; }, _22hh.prototype.start = function() { var _22hl = null, _22hm = this, _22hn = _22hd['$_$'].Sequence(), _22ho = _22hd['$_$'].Parallel(), _22hp = function(_22hq) { var _22hr = null, _22hs = _22ht._gameData.managedEnemy[_22hq]; if (_22hs.alive) { var _22hu = _22hd['$_$'].Sequence(function() { return _22hv; }, function() { return _22hw; }), _22hv = _22hd['$_$'].Delay(1000 * Math.random()), _22hw = _22hd['$_$'].Call(function() { var _22hx = null; return _22hm._destroyFunc(_22hs); }); _22ho.push(function() { return _22hu; }); } }, _22ht = this; for (var _22hy in this._gameData.managedEnemy) _22hp(_22hy); _22he.default.sound.voice.playAtRandom(this._gameData.systemInfo.support_ship_mst_id, [16, 17], [50, 50], function() { var _22hz = null, _22i0 = _22hd['$_$'].Delay(250); _22hn.push(function() { return _22i0; }, function() { return _22ho; }), _22hn.execute(function() { var _22i1 = null; _22hn.dispose(), _22hm.onComplete(); }); }); }, _22hh.prototype._destroyFunc = function(_22i2) { var _22i3 = null, _22i4 = this._gameData.systemInfo.frameCount; _22i4 - this._lastShake >= 10 && (this._gameData.camera.shake(2), this._lastShake = _22i4), this._gameData.soundEffectManager.play(Math.random() < 0.5 ? '102' : Math.random() < 0.5 ? '103' : '104'), _22i2.destruction(), _22i2.visible = !1; }, _22hh; }()); _22h7.PhaseExtermination = _22hf; }, 52126: (_22i5, _22i6, _22i7) => { 'use strict'; var _22i8 = null; defineModule(_22i6); Object.defineProperty(_22i6, '__esModule', { 'value': !0 }), _22i6.PhaseOutGot = void 0; var _22i9 = _22i7(7195), _22ia = (function() { var _22ib = null; function _22ic(_22id) { var _22ie = null; this._gameData = _22id; } return _22ic.prototype.start = function() { var _22if = null, _22ig = this, _22ih = this._gameData.gotSheep.position.x, _22ii = _22i9['$_$'].Sequence(function() { var _22ij = null; return _22i9['$_$'].Value(_22ig._gameData.gotSheep.scale, { 'y': 0.8 }, 150); }, function() { var _22ik = null; return _22i9['$_$'].Parallel(function() { var _22il = null; return _22i9['$_$'].Value(_22ig._gameData.gotSheep.scale, { 'y': 1 }, 300); }, function() { var _22im = null; return _22i9['$_$'].Value(_22ig._gameData.gotSheep.position, { 'y': -100, 'x': _22ih + 150 }, 300, createjs.Ease.quadIn); }); }, function() { var _22in = null; return _22i9['$_$'].Call(function() { var _22io = null; _22ig._gameData.gotSheep.switchGraphic(31); }); }, function() { var _22ip = null; return _22i9['$_$'].Value(_22ig._gameData.gotSheep, { 'y': 100, 'x': _22ih + 200 }, 200, createjs.Ease.quadOut); }); _22ii.execute(function() { var _22iq = null; _22ii.dispose(), _22ig.onComplete(); }); }, _22ic.prototype.dispose = function() { var _22ir = null; this.onComplete = null, this._gameData = null; }, _22ic; }()); _22i6.PhaseOutGot = _22ia; }, 6296: function(_22is, _22it, _22iu) { 'use strict'; var _22iv = null; var _22iw = this && this.__importDefault || function(_22ix) { var _22iy = null; return _22ix && _22ix.__esModule ? _22ix : { 'default': _22ix }; }; defineModule(_22it); Object.defineProperty(_22it, '__esModule', { 'value': !0 }), _22it.PhaseScoreResult = void 0; var _22iz = _22iu(7195), _22j0 = _22iw(_22iu(18622)), _22j1 = _22iu(28025), _22j2 = (function() { var _22j3 = null; function _22j4(_22j5) { var _22j6 = null, _22j7 = this; this._onClickResult = function() { var _22j8 = null; _22j7._gameData.systemContainer.clickArea.visible = !1, _22j7._gameData.uiContainer.timerGauge.visible = !1, _22j7._gameData.uiContainer.scoreBoard.visible = !1, _22j7._gameData.uiContainer.comboBoard.visible = !1, _22j7._gameData.soundEffectManager.reset(), _22j7._phaseReloadGame(); }, this._gameData = _22j5; } return _22j4.prototype.start = function() { var _22j9 = null; this._phaseVoice(); }, _22j4.prototype._phaseVoice = function() { var _22ja = null, _22jb = this, _22jc = _22iz['$_$'].Delay(500); _22j0.default.sound.bgm.fadeOut(250), _22jc.execute(function() { var _22jd = null; _22jc.dispose(), _22jb._phaseResult(); }); }, _22j4.prototype._phaseResult = function() { var _22je = null, _22jf = this, _22jg = this._gameData.systemContainer.resultView; _22jg.gotSheep.visible = !1, _22jg.alpha = 1, _22jg.textScore.text = '', _22jg.textHighScore.text = '', _22jg.textHighScore.style.fill = 16777215, _22jg.blinkHighScore = !1, _22jg.visible = !0, _22jg.rank.alpha = 0, _22jg.rank.scale.set(0.8, 0.9); var _22jh = 0, _22ji = 0, _22jj = _22iz['$_$'].Sequence(), _22jk = [_22jg.wave1, _22jg.wave2, _22jg.wave3, _22jg.wave4, _22jg.wave5, _22jg.waveEX, _22jg.waveEX2]; _22jk.forEach(function(_22jl) { var _22jm = null; _22jl.label.text = '', _22jl.visible = !1; }), this._gameData.WaveSetting.forEach(function(_22jn, _22jo) { var _22jp = null, _22jq = _22jf._gameData.gameInfo.waveScore[_22jo], _22jr = _22jk[_22jo]; if (_22jr.alpha = 0.5, _22jr.label.text = '', _22jn.extra ? null != _22jq && (_22jr.visible = !0) : _22jr.visible = !0, _22jr.setup(_22jo, 1000 * (_22jo + 1)), null != _22jq) { _22jr.alpha = 1, _22jh += _22jq; var _22js = _22iz['$_$'].Value({ 'value': 0 }, { 'value': _22jq }, 1000, createjs.Ease.linear, function(_22jt) { var _22ju = null; _22jr.label.text = Math.floor(_22jt.value).toString(); }); _22jj.push(function() { return _22js; }), _22ji += 1000; } }); var _22jv = !1; _22jg.textScore.text = ''; var _22jw = _22iz['$_$'].Value({ 'value': 0 }, { 'value': _22jh }, _22ji, createjs.Ease.linear, function(_22jx) { var _22jy = null, _22jz = Math.floor(_22jx.value); _22jz > _22jf._gameData.HighScore && (_22jg.textHighScore.text = _22jz.toString(), _22jg.textHighScore.style.fill = 16753920, _22jg.blinkHighScore = !1, 0 == _22jv && (_22jv = !0, _22j0.default.sound.voice.play(_22jf._gameData.systemInfo.support_ship_mst_id, 26))), _22jg.textScore.text = _22jz.toString(); }); _22jw.execute(function() { var _22k0 = null; _22jw.dispose(), _22jf._gameData.HighScore < _22jh && (_22jf._gameData.HighScore = _22jh, _22jg.blinkHighScore = !0), _22jf._phaseRank(); }); var _22k1 = this._gameData.WaveSetting.length - 1, _22k2 = this._gameData.WaveSetting[_22k1], _22k3 = this._gameData.gameInfo.waveScore[_22k1] > this._gameData.getStage(_22k2.stage_id).border_line, _22k4 = (0, _22j1.ScoreToRank)(_22jh, _22k3); _22jg.rank.update(_22k4), _22jg.textScore.text = '', _22jg.textHighScore.text = this._gameData.HighScore.toString(); var _22k5 = this._gameData.systemContainer.kamifubuki; if (_22jj.execute(function() { var _22k6 = null; _22k3 && (_22k5.visible = !0, _22k5.alpha = 1, _22k5.start(Math.floor(_22jh / 1000))); }), 0 == _22jv) { if (_22jv = !0, _22k3) Math.random() < 0.5 ? _22j0.default.sound.voice.play(this._gameData.systemInfo.support_ship_mst_id, 23) : _22j0.default.sound.voice.playAtRandom((574).toString()(), [7, 23], [50, 50]); else 0 == _22k3 && (0 == this._gameData.getCurrentScore() ? _22j0.default.sound.voice.play(this._gameData.systemInfo.support_ship_mst_id, 21) : _22j0.default.sound.voice.play((574).toString()(), 20)); } this._gameData.systemInfo.restore(), this._gameData.systemContainer.clickArea.onClick = this._onClickResult; }, _22j4.prototype._phaseRank = function() { var _22k7 = null, _22k8 = this, _22k9 = this._gameData.systemContainer.resultView, _22ka = _22k9.gotSheep, _22kb = _22k9.rank, _22kc = this._gameData.systemContainer.clickArea; _22ka.position.set(600, -80), _22ka.visible = !0, _22kb.position.y = 130; var _22kd = _22iz['$_$'].Parallel(function() { var _22ke = null; return _22iz['$_$'].Value(_22kb, { 'alpha': 1 }, 300, createjs.Ease.bounceIn); }, function() { var _22kf = null; return _22iz['$_$'].Value(_22kb.scale, { 'x': 1, 'y': 1 }, 300, createjs.Ease.bounceIn); }, function() { var _22kg = null; return _22iz['$_$'].Value(_22kb.position, { 'y': 140 }, 300, createjs.Ease.bounceOut); }); _22ka.switchGraphic(31); var _22kh = _22iz['$_$'].Sequence(function() { var _22ki = null; return _22iz['$_$'].Value(_22ka.position, { 'y': 60 }, 500, createjs.Ease.bounceOut); }, function() { var _22kj = null; return _22iz['$_$'].Call(function() { var _22kk = null; _22ka.switchGraphic(29), _22k8._gameData.soundEffectManager.play('237'); }); }), _22kl = _22iz['$_$'].Parallel(function() { return _22kd; }, function() { return _22kh; }); _22kl.execute(function() { var _22km = null; _22kl.dispose(), _22kc.visible = !0; }); }, _22j4.prototype._phaseReloadGame = function() { var _22kn = null, _22ko = this; this._gameData.systemContainer.resultView.interactiveChildren = !1; var _22kp = _22iz['$_$'].Parallel(function() { var _22kq = null; return _22iz['$_$'].Value(_22ko._gameData.systemContainer.resultView, { 'alpha': 0 }, 250); }, function() { var _22kr = null; return _22iz['$_$'].Value(_22ko._gameData.systemContainer.kamifubuki, { 'alpha': 0 }, 250); }, function() { var _22ks = null; return _22iz['$_$'].Value(_22ko._gameData.layer.bg, { 'alpha': 0 }, 250); }); this._gameData.soundEffectManager.play('113'), _22kp.execute(function() { var _22kt = null; _22ko._gameData.systemContainer.resultView.visible = !1, _22ko._gameData.layer.clickGuardBack = !1, _22ko._gameData.systemContainer.startButton.interactive = !0, _22ko._gameData.systemContainer.startButton.visible = !0, _22j0.default.view.clickGuard = !0, _22ko.onComplete(); }); }, _22j4.prototype.dispose = function() { var _22ku = null; this._gameData.systemContainer.clickArea.onClick = null, this._gameData = null, this._gameData = null, this.onComplete = null; }, _22j4; }()); _22it.PhaseScoreResult = _22j2; }, 96157: function(_22kv, _22kw, _22kx) { 'use strict'; var _22ky = null; var _22kz = this && this.__importDefault || function(_22l0) { var _22l1 = null; return _22l0 && _22l0.__esModule ? _22l0 : { 'default': _22l0 }; }; defineModule(_22kw); Object.defineProperty(_22kw, '__esModule', { 'value': !0 }), _22kw.PhaseStageCutin = void 0; var _22l2 = _22kx(7195), _22l3 = _22kx(2616), _22l4 = _22kz(_22kx(18622)), _22l5 = (function() { var _22l6 = null; function _22l7(_22l8) { var _22l9 = null; this._gameData = _22l8; } return _22l7.prototype.start = function() { var _22la = null, _22lb = this, _22lc = 4 <= this._gameData.getCurrentWave(), _22ld = this._gameData.isFinalWave(), _22le = this._gameData.systemContainer.stageCutinView.bar; _22le.scale.y = 0, _22le.alpha = 0; var _22lf = this._gameData.systemContainer.stageCutinView.stageNo; _22lf.alpha = 0, _22lf.position.x = 1200, _22lf.scale.y = 0, _22le.setup(_22lc); var _22lg = this._gameData.getCurrentWave() + 1; _22lf.setup(_22lg); var _22lh = _22ld ? 600 : 150, _22li = _22l2['$_$'].Sequence(function() { var _22lj = null; return _22l2['$_$'].Parallel(function() { var _22lk = null; return _22l2['$_$'].Value(_22le.scale, { 'y': 1 }, 300); }, function() { var _22ll = null; return _22l2['$_$'].Value(_22le, { 'alpha': 1 }, 300); }, function() { var _22lm = null; return _22l2['$_$'].Value(_22lf, { 'alpha': 1 }, 300); }, function() { var _22ln = null; return _22l2['$_$'].Value(_22lf.scale, { 'y': 1 }, 300); }, function() { var _22lo = null; return _22l2['$_$'].Value(_22lf.position, { 'x': 600 - 0.5 * _22lf.width }, 900, createjs.Ease.quartOut); }); }, function() { var _22lp = null; return _22l2['$_$'].Delay(_22lh); }, function() { var _22lq = null; return _22l2['$_$'].Parallel(function() { var _22lr = null; return _22l2['$_$'].Value(_22le.scale, { 'y': 0 }, 250); }, function() { var _22ls = null; return _22l2['$_$'].Value(_22lf.scale, { 'y': 0 }, 250); }, function() { var _22lt = null; return _22l2['$_$'].Value(_22lf.position, { 'x': 0 - _22lf.width }, 250); }); }); this._gameData.soundEffectManager.play('117'), _22li.execute(function() { var _22lu = null; _22li.dispose(), _22lb._onCompleteAnimation(); }), this._playWaveVoice(); }, _22l7.prototype.dispose = function() { var _22lv = null; this.onComplete = null, this._gameData = null; }, _22l7.prototype._onCompleteAnimation = function() { var _22lw = null, _22lx = this._gameData.getCurrentWave() + 1; this._gameData.systemContainer.stageNo.setup(_22lx), this._gameData.systemContainer.stageNo.position.x = 600 - 0.5 * this._gameData.systemContainer.stageNo.width, this._gameData.systemContainer.stageNo.visible = !0, this._gameData.systemContainer.stageCutinView.visible = !1, this.onComplete(); }, _22l7.prototype._playWaveVoice = function() { var _22ly = null, _22lz = this._gameData.getCurrentWaveSetting(); if (_22lz.voice) switch (_22lz.voice.type) { case _22l3.VOICE_GOTLAND: _22l4.default.sound.voice.play((574).toString()(), _22lz.voice.voice_no); break; case _22l3.VOICE_SUPPORT: _22l4.default.sound.voice.play(this._gameData.systemInfo.support_ship_mst_id, _22lz.voice.voice_no); } }, _22l7; }()); _22kw.PhaseStageCutin = _22l5; }, 96070: (_22m0, _22m1) => { 'use strict'; var _22m2 = null; defineModule(_22m1); Object.defineProperty(_22m1, '__esModule', { 'value': !0 }), _22m1.EnemyInfo = void 0, _22m1.EnemyInfo = { 1: { 'width': 70, 'graphic': 44, 'score': 10, 'life': 1 }, 2: { 'width': 100, 'graphic': 45, 'score': 20, 'life': 1 }, 3: { 'width': 80, 'graphic': 46, 'score': 40, 'life': 1 }, 4: { 'width': 90, 'graphic': 47, 'score': 80, 'life': 1 }, 5: { 'width': 120, 'graphic': 48, 'score': 100, 'life': 1 }, 'UKIWA': { 'width': 100, 'graphic': 73, 'score': 80, 'life': 1 }, 'UKIWA_THA': { 'width': 100, 'graphic': 76, 'score': 20, 'life': 1 }, '1_H': { 'width': 140, 'graphic': 44, 'score': 1000, 'life': 1, 'hardness': 'hard' }, '2_H': { 'width': 140, 'graphic': 45, 'score': 1000, 'life': 1, 'hardness': 'hard' }, '3_H': { 'width': 140, 'graphic': 46, 'score': 1000, 'life': 1, 'hardness': 'hard' }, '4_H': { 'width': 140, 'graphic': 47, 'score': 1000, 'life': 1, 'hardness': 'hard' }, '5_H': { 'width': 140, 'graphic': 48, 'score': 1000, 'life': 1, 'hardness': 'hard' }, 'UKIWA_O': { 'width': 350, 'graphic': 74, 'score': 8000, 'life': 1, 'hardness': 'hard', 'category': 'boss', 'organize': ['UKIWA', 'UKIWA', 'UKIWA', 'UKIWA', 'UKIWA', 'UKIWA', 'UKIWA', 'UKIWA'] }, 'UKIWA_THA_O': { 'width': 350, 'graphic': 75, 'score': 8000, 'life': 3, 'hardness': 'hard', 'category': 'boss', 'organize': ['UKIWA_THA', 'UKIWA_THA', 'UKIWA_THA', 'UKIWA_THA', 'UKIWA_THA', 'UKIWA_THA', 'UKIWA_THA', 'UKIWA_THA'] } }; }, 2616: (_22m3, _22m4) => { 'use strict'; var _22m5 = null; defineModule(_22m4); Object.defineProperty(_22m4, '__esModule', { 'value': !0 }), _22m4.GameStage = _22m4.WaveSetting = _22m4.VOICE_SUPPORT = _22m4.VOICE_GOTLAND = void 0, _22m4.VOICE_GOTLAND = 'gotland', _22m4.VOICE_SUPPORT = 'support', _22m4.WaveSetting = [{ 'stage_id': '1', 'bgm_id': 'port_120' }, { 'stage_id': '2', 'voice': { 'type': _22m4.VOICE_GOTLAND, 'voice_no': 10 }, 'bgm_id': 'port_122' }, { 'stage_id': '3', 'voice': { 'type': _22m4.VOICE_SUPPORT, 'voice_no': 13 }, 'bgm_id': 'port_241' }, { 'stage_id': '4', 'voice': { 'type': _22m4.VOICE_GOTLAND, 'voice_no': 16 }, 'bgm_id': 'port_230' }, { 'stage_id': '5', 'voice': { 'type': _22m4.VOICE_SUPPORT, 'voice_no': 14 }, 'bgm_id': 'port_209', 'break': !0, 'extermination': !0 }, { 'stage_id': 'EXTRA', 'voice': { 'type': _22m4.VOICE_GOTLAND, 'voice_no': 18 }, 'bgm_id': 'port_140', 'extra': !0, 'break': !0, 'extermination': !0 }, { 'stage_id': 'EXTRA2', 'voice': { 'type': _22m4.VOICE_SUPPORT, 'voice_no': 15 }, 'bgm_id': 'port_248', 'break': !0, 'extra': !0, 'extermination': !0 }], _22m4.GameStage = { 1: { 'icon': 44, 'hitstop_level': 25, 'enemy': [{ 'enemy_id': '1', 'weight': 100 }, { 'enemy_id': '1_H', 'weight': 100, 'appearances_value': 1, 'arrival_progress': 0.5, 'pattern': 'B' }], 'time': 30000, 'border_line': 2000 }, 2: { 'icon': 45, 'hitstop_level': 23, 'enemy': [{ 'enemy_id': '2', 'weight': 100 }, { 'enemy_id': '2_H', 'weight': 100, 'appearances_value': 1, 'arrival_progress': 0.5, 'pattern': 'B' }], 'time': 35000, 'border_line': 5000 }, 3: { 'icon': 46, 'hitstop_level': 21, 'enemy': [{ 'enemy_id': '3', 'weight': 100 }], 'time': 40000, 'border_line': 15000 }, 4: { 'icon': 47, 'hitstop_level': 17, 'enemy': [{ 'enemy_id': '4', 'weight': 100 }, { 'enemy_id': '4_H', 'weight': 100, 'appearances_value': 1, 'arrival_progress': 0.5, 'pattern': 'B' }], 'time': 45000, 'border_line': 50000 }, 5: { 'icon': 48, 'hitstop_level': 15, 'enemy': [{ 'enemy_id': '5', 'weight': 100 }], 'time': 50000, 'border_line': 70000 }, 'EXTRA': { 'icon': 62, 'hitstop_level': 45, 'enemy': [{ 'enemy_id': '1', 'weight': 100, 'disappear_progress': 0.2 }, { 'enemy_id': '1_H', 'weight': 100, 'appearances_value': 5, 'arrival_progress': 0.1, 'disappear_progress': 0.3, 'pattern': 'B' }, { 'enemy_id': '2', 'weight': 100, 'arrival_progress': 0.2, 'disappear_progress': 0.4 }, { 'enemy_id': '2_H', 'weight': 100, 'appearances_value': 5, 'arrival_progress': 0.3, 'disappear_progress': 0.5, 'pattern': 'B' }, { 'enemy_id': '3', 'weight': 100, 'arrival_progress': 0.4, 'disappear_progress': 0.6 }, { 'enemy_id': '3_H', 'weight': 100, 'appearances_value': 5, 'arrival_progress': 0.5, 'disappear_progress': 0.7, 'pattern': 'B' }, { 'enemy_id': '4', 'weight': 100, 'arrival_progress': 0.7 }, { 'enemy_id': '4_H', 'weight': 100, 'appearances_value': 5, 'arrival_progress': 0.8, 'pattern': 'C' }, { 'enemy_id': '1_H', 'weight': 100, 'appearances_value': 10, 'arrival_progress': 0.85, 'pattern': 'B' }], 'time': 100000, 'border_line': 70000 }, 'EXTRA2': { 'icon': 76, 'hitstop_level': 20, 'enemy': [{ 'enemy_id': 'UKIWA_O', 'weight': 100, 'position_x': [600, 600], 'position_y': [-360, -360], 'appearances_value': 3, 'maximum_display': 1, 'appearances_zero_gimmick': 'EXTRA2_0' }, { 'enemy_id': '1', 'weight': 100, 'arrival_progress': 0, 'disappear_progress': 0.25, 'position_x': [0, 1200], 'position_y': [-620, -720], 'appearances_value': 30, 'group_name': 'top', 'appearances_deactive_gimmick': 'EXTRA2_0' }, { 'enemy_id': '1', 'weight': 100, 'position_x': [0, 1200], 'position_y': [-620, -720], 'maximum_display': 30, 'group_name': 'top', 'appearances_deactive_gimmick': 'EXTRA2_0' }, { 'enemy_id': '1', 'weight': 100, 'position_x': [0, 400], 'position_y': [-220, -620], 'maximum_display': 35, 'group_name': 'left', 'appearances_deactive_gimmick': 'EXTRA2_0' }, { 'enemy_id': '1', 'weight': 100, 'position_x': [800, 1200], 'position_y': [-220, -620], 'maximum_display': 35, 'group_name': 'right', 'appearances_deactive_gimmick': 'EXTRA2_0' }, { 'enemy_id': 'UKIWA_THA_O', 'weight': 100, 'position_x': [600, 600], 'position_y': [-360, -360], 'appearances_value': 1, 'maximum_display': 1, 'appearances_active_gimmick': 'EXTRA2_0', 'appearances_zero_gimmick': 'EXTRA2_1' }, { 'enemy_id': '2', 'weight': 100, 'arrival_progress': 0, 'disappear_progress': 0.25, 'position_x': [0, 1200], 'position_y': [-620, -720], 'appearances_value': 30, 'group_name': 'top', 'appearances_active_gimmick': 'EXTRA2_0', 'appearances_deactive_gimmick': 'EXTRA2_1' }, { 'enemy_id': '2', 'weight': 100, 'position_x': [0, 1200], 'position_y': [-620, -720], 'maximum_display': 30, 'group_name': 'top', 'appearances_active_gimmick': 'EXTRA2_0', 'appearances_deactive_gimmick': 'EXTRA2_1' }, { 'enemy_id': '2', 'weight': 100, 'position_x': [0, 400], 'position_y': [-220, -620], 'maximum_display': 35, 'group_name': 'left', 'appearances_active_gimmick': 'EXTRA2_0', 'appearances_deactive_gimmick': 'EXTRA2_1' }, { 'enemy_id': '2', 'weight': 100, 'position_x': [800, 1200], 'position_y': [-220, -620], 'maximum_display': 35, 'group_name': 'right', 'appearances_active_gimmick': 'EXTRA2_0', 'appearances_deactive_gimmick': 'EXTRA2_1' }, { 'enemy_id': '4', 'weight': 100, 'appearances_active_gimmick': 'EXTRA2_1' }], 'time': 120000, 'border_line': 88000 } }; }, 99749: function(_22m6, _22m7, _22m8) { 'use strict'; var _22m9 = null; var _22ma, _22mb = this && this.__extends || (_22ma = function(_22mc, _22md) { var _22me = null; return _22ma = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_22mf, _22mg) { var _22mh = null; _22mf.__proto__ = _22mg; } || function(_22mi, _22mj) { var _22mk = null; for (var _22ml in _22mj) Object.prototype.hasOwnProperty.call(_22mj, _22ml) && (_22mi[_22ml] = _22mj[_22ml]); }, _22ma(_22mc, _22md); }, function(_22mm, _22mn) { var _22mo = null; if ('function' != typeof _22mn && null !== _22mn) throw new TypeError('Class extends value ' + String(_22mn) + ' is not a constructor or null'); function _22mp() { var _22mq = null; this.constructor = _22mm; } _22ma(_22mm, _22mn), _22mm.prototype = null === _22mn ? Object.create(_22mn) : (_22mp.prototype = _22mn.prototype, new _22mp()); }); defineModule(_22m7); Object.defineProperty(_22m7, '__esModule', { 'value': !0 }), _22m7.Enemy = void 0; var _22mr = _22m8(7195), _22ms = _22m8(80329), _22mt = _22m8(23695), _22mu = _22m8(31000), _22mv = _22m8(12149), _22mw = function(_22mx) { var _22my = null; function _22mz(_22n0) { var _22n1 = null, _22n2 = _22mx.call(this) || this; _22n2._life = 0, _22n2._lastCollision = 0, _22n2.__organize_pattern__circle = function(_22n3, _22n4) { var _22n5 = null, _22n6 = 2 * Math.PI / _22n2._organize.length * _22n4 + 0.01 * _22n2._gameData.systemInfo.frameCount, _22n7 = _22n2._basePositionX + 300 * Math.cos(_22n6) + 100 * Math.sin(0.01 * _22n2._gameData.systemInfo.frameCount) - 50, _22n8 = _22n2._basePositionY + 300 * Math.sin(_22n6) + 100 * Math.cos(0.01 * _22n2._gameData.systemInfo.frameCount) - 50; _22n3._updatePosition(_22n7, _22n8); }; var _22n9 = new PIXI.Sprite(); _22n9.anchor.set(0.5, 0.5); var _22na = new _22nb(); return _22n2._collider = _22na, _22n2._sprite = _22n9, _22n2._cycle = 0, _22n2._gameData = _22n0, _22n2._organize = [], _22n2.addChild(_22n9), _22n2; } return _22mb(_22mz, _22mx), Object.defineProperty(_22mz.prototype, 'life', { 'get': function() { var _22nc = null; return this._life; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_22mz.prototype, 'hardness', { 'get': function() { var _22nd = null; return this._enenmyInfo.hardness; }, 'enumerable': !1, 'configurable': !0 }), _22mz.prototype.kill = function() { var _22ne = null; this._life = 0, this.visible = !1; }, Object.defineProperty(_22mz.prototype, 'mst_id', { 'get': function() { var _22nf = null; return this._mst_id; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_22mz.prototype, 'group_name', { 'get': function() { var _22ng = null; return this._group_name ? this._group_name : null; }, 'enumerable': !1, 'configurable': !0 }), _22mz.prototype.setup = function(_22nh, _22ni, _22nj, _22nk, _22nl, _22nm) { var _22nn = null, _22no = this; null == _22nl && (_22nl = 'A'); var _22np, _22nq = this._gameData.getEnemyInfo(_22nh), _22nr = _22ms.GameData.getTexture(_22nq.graphic), _22ns = _22nq.width / _22nr.width, _22nt = _22nr.width * _22ns, _22nu = _22nr.height * _22ns; switch (this._organize.length = 0, this._collider.update(_22nt, _22nu, 0.5, 0.5), this._collider.x = _22nj, this._collider.y = _22nk, this._enenmyInfo = _22nq, this._sprite.texture = _22nr, this._sprite.position.set(0, 0), this._sprite.scale.set(_22ns), this._cycle = _22ni, this._life = _22nq.life, this._mst_id = _22nh, this._group_name = _22nm, _22nl) { case 'A': _22np = this.__onUpdateTypeA__; break; case 'B': _22np = this.__OnUpdateTypeB__; break; case 'C': _22np = this.__OnUpdateTypeC__; break; case 'donothing': _22np = this.DO_NOTHING; } this._onUpdate = _22np, this._basePositionX = _22nj, this._basePositionY = _22nk, this.position.set(_22nj, _22nk), this._lastCollision = 0, this.visible = !0, this._organize.length = 0; var _22nv = this._enenmyInfo.organize; _22nv && (this._gameData.getOrCreateReserveEnemy(_22nv.length).forEach(function(_22nw, _22nx) { var _22ny = null; _22nw.setup(_22nv[_22nx], 0, _22nj, _22nk, 'donothing', null), _22no._organize.push(_22nw); }), this._organize.forEach(function(_22nz, _22o0) { var _22o1 = null; _22no.__organize_pattern__circle(_22nz, _22o0); })); }, _22mz.prototype.DO_NOTHING = function() {}, _22mz.prototype.enter = function() { var _22o2 = null, _22o3 = this; this._organize.forEach(function(_22o4) { var _22o5 = null; return _22o4.enter(); }), this._interruptAnimation(), this.scale.set(1, 1), this.alpha = 0; var _22o6 = 150 * Math.random(); this._animation = _22mr['$_$'].Sequence(function() { var _22o7 = null; return _22mr['$_$'].Delay(_22o6); }, function() { var _22o8 = null; return _22mr['$_$'].Value(_22o3, { 'alpha': 1 }, 300); }), this._animation.execute(function() { var _22o9 = null; _22o3._animation.dispose(), _22o3._animation = null; }); }, _22mz.prototype._interruptAnimation = function() { var _22oa = null; null != this._animation && (this._animation.interrupt(), this._animation.dispose(), this._animation = null); }, _22mz.prototype.respawn = function() { var _22ob = null, _22oc = this; this._interruptAnimation(), this._organize.forEach(function(_22od) { var _22oe = null; return _22od.respawn(); }); var _22of = 150 * Math.random(); this.alpha = 0, this.scale.set(0, 0), this._animation = _22mr['$_$'].Sequence(function() { var _22og = null; return _22mr['$_$'].Delay(_22of); }, function() { var _22oh = null; return _22mr['$_$'].Parallel(function() { var _22oi = null; return _22mr['$_$'].Value(_22oc.scale, { 'x': 1, 'y': 1 }, 300); }, function() { var _22oj = null; return _22mr['$_$'].Value(_22oc, { 'alpha': 1 }, 300, createjs.Ease.circIn); }); }), this._animation.execute(function() { var _22ok = null; _22oc._animation.dispose(), _22oc._animation = null; }); }, _22mz.prototype._updatePosition = function(_22ol, _22om) { var _22on = null; this._collider.x = _22ol, this._collider.y = _22om, this.x = _22ol, this.y = _22om; }, _22mz.prototype._testDamage = function() { var _22oo = null; for (var _22op in this._organize) { if (this._organize[_22op].alive) return !1; } return !0; }, _22mz.prototype.OnCollision = function(_22oq) { var _22or = null; if (!(this._gameData.systemInfo.frameCount - this._lastCollision <= 15 && _22oq instanceof _22mt.Gotsheep)) { this._lastCollision = this._gameData.systemInfo.frameCount; var _22os = !1; this._testDamage() && (_22os = !0); var _22ot = !1; if (this._testFlickOff() && (_22ot = !0), _22ot) { if (_22oq instanceof _22mt.Gotsheep && (_22oq.velocityX *= -0.5, _22oq.fluffyFlied = !0), 'boss' === this._enenmyInfo.category) { var _22ou = _22oq.x, _22ov = _22oq.y; _22oq instanceof _22mv.ShuSui && (_22ou = this.x, _22ov = this.y), 0 == _22os && (this._gameData.simpleEffect.emitSpark(_22ou, _22ov, 25), this._gameData.soundEffectManager.play('202')); } else this._gameData.simpleEffect.emitSmoke(_22oq.x, _22oq.y, 25), this._gameData.soundEffectManager.play('202'); } _22os && (this._enenmyInfo.hardness && this._gameData.soundEffectManager.play('104'), this._gameData.soundEffectManager.play('103'), this._damage(1)); } }, _22mz.prototype._testFlickOff = function() { var _22ow = null; if ('boss' === this._enenmyInfo.category) return !0; if (this._enenmyInfo.hardness) { if (0 == 10 <= this._gameData.gameInfo.combo) return !0; } return !1; }, _22mz.prototype.update = function() { var _22ox = null; this._organize.forEach(this.__organize_pattern__circle), this._onUpdate(); }, _22mz.prototype._damage = function(_22oy) { var _22oz = null, _22p0 = this; this._life -= _22oy, this._gameData.incrementCombo(), this._life <= 0 && (this._gameData.addScore(this._enenmyInfo.score), this.visible = !1, this._onDeath()), 0 < this._organize.length && this._organize.forEach(function() { var _22p1 = null; _22p0._gameData.explosionParticle.play(_22p0.x, _22p0.y, 100); }), this._gameData.explosionParticle.play(this.x, this.y, 25); }, _22mz.prototype.goBack = function() { var _22p2 = null; this._gameData.simpleEffect.emitSmoke(this.x, this.y, 50), this._life = 0, this.visible = !1; }, _22mz.prototype.destruction = function() { var _22p3 = null; this._gameData.explosionParticle.play(this.x, this.y, 50), this._gameData.simpleEffect.emitSmoke(this.x, this.y, 50); }, Object.defineProperty(_22mz.prototype, 'alive', { 'get': function() { var _22p4 = null; return !(this._life <= 0); }, 'enumerable': !1, 'configurable': !0 }), _22mz.prototype.testHit = function(_22p5, _22p6, _22p7, _22p8) { var _22p9 = null; return this._collider.checkIntersect(_22p5, _22p6, _22p7, _22p8); }, _22mz.prototype.dispose = function() { var _22pa = null; null != this._deathExplosion && (this._deathExplosion.interrupt(), this._deathExplosion.dispose()), this._interruptAnimation(), this.removeChildren(), this._sprite.texture = PIXI.Texture.EMPTY, this._sprite = null, this._cycle = null; }, _22mz.prototype.updateLogic = function() {}, _22mz.prototype.updateView = function() {}, _22mz.prototype._onDeath = function() { var _22pb = null, _22pc = this; if ('UKIWA_THA_O' == this._mst_id) { if (null != this._deathExplosion) return; var _22pd = new PIXI.Point(); _22pd.copy(this.position); var _22pe = _22mr['$_$'].Sequence(function() { var _22pf = null; return _22mr['$_$'].Call(function() { var _22pg = null; _22mu.SE.play('104'), _22pc._gameData.explosionParticle.play(_22pd.x, _22pd.y, 100); }); }, function() { var _22ph = null; return _22mr['$_$'].Delay(300); }, function() { var _22pi = null; return _22mr['$_$'].Call(function() { var _22pj = null; _22mu.SE.play('103'), _22pc._gameData.explosionParticle.play(_22pd.x, _22pd.y, 150), _22pc._gameData.explosionParticle.play(_22pd.x, _22pd.y, 150); }); }, function() { var _22pk = null; return _22mr['$_$'].Delay(250); }, function() { var _22pl = null; return _22mr['$_$'].Call(function() { var _22pm = null; _22mu.SE.play('102'), _22pc._gameData.explosionParticle.play(_22pd.x, _22pd.y, 300), _22pc._gameData.explosionParticle.play(_22pd.x, _22pd.y, 300), _22pc._gameData.explosionParticle.play(_22pd.x, _22pd.y, 300), _22pc._gameData.explosionParticle.play(_22pd.x, _22pd.y, 300); }); }, function() { var _22pn = null; return _22mr['$_$'].Delay(200); }, function() { var _22po = null; return _22mr['$_$'].Call(function() { var _22pp = null; _22mu.SE.play('104'), _22pc._gameData.explosionParticle.play(_22pd.x, _22pd.y, 100), _22pc._gameData.explosionParticle.play(_22pd.x, _22pd.y, 100), _22pc._gameData.explosionParticle.play(_22pd.x, _22pd.y, 100), _22pc._gameData.explosionParticle.play(_22pd.x, _22pd.y, 100); }); }, function() { var _22pq = null; return _22mr['$_$'].Delay(150); }, function() { var _22pr = null; return _22mr['$_$'].Call(function() { var _22ps = null; _22mu.SE.play('103'), _22pc._gameData.explosionParticle.play(_22pd.x, _22pd.y, 100), _22pc._gameData.explosionParticle.play(_22pd.x, _22pd.y, 100), _22pc._gameData.explosionParticle.play(_22pd.x, _22pd.y, 100), _22pc._gameData.explosionParticle.play(_22pd.x, _22pd.y, 100); }); }, function() { var _22pt = null; return _22mr['$_$'].Delay(100); }, function() { var _22pu = null; return _22mr['$_$'].Call(function() { var _22pv = null; _22mu.SE.play('102'), _22pc._gameData.explosionParticle.play(_22pd.x, _22pd.y, 100), _22pc._gameData.explosionParticle.play(_22pd.x, _22pd.y, 100), _22pc._gameData.explosionParticle.play(_22pd.x, _22pd.y, 100), _22pc._gameData.explosionParticle.play(_22pd.x, _22pd.y, 100); }); }); this._deathExplosion = _22pe, this._deathExplosion.execute(function() { var _22pw = null; _22pe.dispose(), _22pc._deathExplosion = null; }); } }, _22mz.prototype.__onUpdateTypeA__ = function() { var _22px = null, _22py = this._basePositionY + 8 * (Math.sin(0.05 * this._gameData.systemInfo.frameCount + this._cycle) - 0.5), _22pz = this._collider.x; this._updatePosition(_22pz, _22py); }, _22mz.prototype.__OnUpdateTypeB__ = function() { var _22q0 = null, _22q1 = this._basePositionY + 300 * (Math.sin(0.025 * this._gameData.systemInfo.frameCount + this._cycle) - 0.5), _22q2 = this._basePositionX + 300 * (Math.cos(0.025 * this._gameData.systemInfo.frameCount + this._cycle) - 0.5); this._updatePosition(_22q2, _22q1); }, _22mz.prototype.__OnUpdateTypeC__ = function() { var _22q3 = null, _22q4 = this._basePositionX + 300 * (1 - Math.cos(0.025 * this._gameData.systemInfo.frameCount + this._cycle) - 0.5), _22q5 = this._collider.y; this._updatePosition(_22q4, _22q5); }, _22mz.HARDNESS_HARD = 'hard', _22mz; }(PIXI.Container); _22m7.Enemy = _22mw; var _22nb = (function() { var _22q6 = null; function _22q7() {} return Object.defineProperty(_22q7.prototype, 'x', { 'get': function() { return this._x; }, 'set': function(_22q8) { this._x = _22q8; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_22q7.prototype, 'y', { 'get': function() { return this._y; }, 'set': function(_22q9) { this._y = _22q9; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_22q7.prototype, 'width', { 'get': function() { var _22qa = null; return this._width; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_22q7.prototype, 'height', { 'get': function() { var _22qb = null; return this._height; }, 'enumerable': !1, 'configurable': !0 }), _22q7.prototype.update = function(_22qc, _22qd, _22qe, _22qf) { var _22qg = null; this._width = _22qc, this._height = _22qd, this._anchor_x = _22qe, this._anchor_y = _22qf; }, _22q7.prototype.checkIntersect = function(_22qh, _22qi, _22qj, _22qk) { var _22ql = null, _22qm = this._x - this._anchor_x * this._width, _22qn = this._y - this._anchor_y * this._height; return !!this._checkIntersect(_22qh, _22qi, _22qj, _22qk, _22qm, _22qn, _22qm, _22qn + this._height) || (!!this._checkIntersect(_22qh, _22qi, _22qj, _22qk, _22qm + this._width, _22qn, _22qm + this._width, _22qn + this._height) || (!!this._checkIntersect(_22qh, _22qi, _22qj, _22qk, _22qm, _22qn, _22qm + this._width, _22qn) || !!this._checkIntersect(_22qh, _22qi, _22qj, _22qk, _22qm, _22qn + this._height, _22qm + this._width, _22qn + this._height))); }, _22q7.prototype._checkIntersect = function(_22qo, _22qp, _22qq, _22qr, _22qs, _22qt, _22qu, _22qv) { var _22qw = _22qp - _22qt, _22qx = _22qo - _22qs, _22qy = (_22qv - _22qt) * (_22qq - _22qo) - (_22qu - _22qs) * (_22qr - _22qp), _22qz = ((_22qu - _22qs) * _22qw - (_22qv - _22qt) * _22qx) / _22qy, _22r0 = ((_22qq - _22qo) * _22qw - (_22qr - _22qp) * _22qx) / _22qy; return _22qz >= 0 && _22qz <= 1 && _22r0 >= 0 && _22r0 <= 1; }, _22q7; }()); }, 10429: function(_22r1, _22r2, _22r3) { 'use strict'; var _22r4 = null; var _22r5, _22r6 = this && this.__extends || (_22r5 = function(_22r7, _22r8) { var _22r9 = null; return _22r5 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_22ra, _22rb) { var _22rc = null; _22ra.__proto__ = _22rb; } || function(_22rd, _22re) { var _22rf = null; for (var _22rg in _22re) Object.prototype.hasOwnProperty.call(_22re, _22rg) && (_22rd[_22rg] = _22re[_22rg]); }, _22r5(_22r7, _22r8); }, function(_22rh, _22ri) { var _22rj = null; if ('function' != typeof _22ri && null !== _22ri) throw new TypeError('Class extends value ' + String(_22ri) + ' is not a constructor or null'); function _22rk() { var _22rl = null; this.constructor = _22rh; } _22r5(_22rh, _22ri), _22rh.prototype = null === _22ri ? Object.create(_22ri) : (_22rk.prototype = _22ri.prototype, new _22rk()); }); defineModule(_22r2); Object.defineProperty(_22r2, '__esModule', { 'value': !0 }), _22r2.ExplosionParticleContainer = void 0; var _22rm = _22r3(7195), _22rn = _22r3(80329), _22ro = function(_22rp) { var _22rq = null; function _22rr() { var _22rs = null, _22rt = _22rp.call(this) || this, _22ru = new Array(); [14, 21, 22, 23, 24, 25, 26, 27, 28, 15, 16, 17, 18, 19, 20].forEach(function(_22rv) { var _22rw = null; return _22ru.push(_22rn.GameData.getTexture(_22rv)); }); for (var _22rx = new Array(), _22ry = 0; _22ry < 100; _22ry++) { var _22rz = new _22s0(_22ru); _22rx.push(_22rz), _22rt.addChild(_22rz); } return _22rt._animationFrame = _22ru, _22rt._explosions = _22rx, _22rt._explosionIndex = 0, _22rt; } return _22r6(_22rr, _22rp), _22rr.prototype.play = function(_22s1, _22s2, _22s3) { var _22s4 = null, _22s5 = this._explosionIndex++ % this._explosions.length, _22s6 = this._explosions[_22s5], _22s7 = Math.random() * (2 * _22s3) - _22s3, _22s8 = Math.random() * (2 * _22s3) - _22s3; _22s6.position.set(_22s1 + _22s7, _22s2 + _22s8), _22s6.play(); }, _22rr.prototype.dispose = function() { var _22s9 = null; this.removeChildren(), this._animationFrame.length = 0, this._explosions.forEach(function(_22sa) { var _22sb = null; return _22sa.dispose(); }), this._explosions.length = 0, this._explosions = null, this._animationFrame = null; }, _22rr; }(PIXI.Container); _22r2.ExplosionParticleContainer = _22ro; var _22s0 = function(_22sc) { var _22sd = null; function _22se(_22sf) { var _22sg = null, _22sh = _22sc.call(this) || this, _22si = new PIXI.Sprite(), _22sj = new Array(); return _22sf.forEach(function(_22sk) { var _22sl = null; _22sj.push(function() { var _22sm = null; _22sh._sprite.texture = _22sk; }); }), _22si.anchor.set(0.5, 0.5), _22sh.addChild(_22si), _22sh._functions = _22sj, _22sh._sprite = _22si, _22sh.visible = !1, _22sh; } return _22r6(_22se, _22sc), _22se.prototype.dispose = function() { var _22sn = null; this.removeChildren(), this._sprite.texture = PIXI.Texture.EMPTY, this._task && (this._task.interrupt(), this._task.dispose()), this._functions.length = 0, this._functions = null, this._sprite = null, this._task = null; }, _22se.prototype.play = function() { var _22so = null, _22sp = this; this._task && (this._task.interrupt(), this._task.dispose(), this._task = null), this.visible = !0; var _22sq = 0.3 * Math.random() + 0.7; this.scale.set(_22sq); for (var _22sr = _22rm['$_$'].Sequence(), _22ss = function(_22st) { var _22su = null, _22sv = _22rm['$_$'].Call(_22sw._functions[_22st]), _22sx = _22rm['$_$'].Delay(1 / 60 * 1000); _22sr.push(function() { return _22sv; }, function() { return _22sx; }); }, _22sw = this, _22sy = 0; _22sy < this._functions.length; _22sy++) _22ss(_22sy); this._task = _22sr, _22sr.execute(function() { var _22sz = null; _22sp._task.dispose(), _22sp._task = null, _22sp._sprite.texture = PIXI.Texture.EMPTY, _22sp.visible = !1; }); }, _22se; }(PIXI.Container); }, 23482: function(_22t0, _22t1, _22t2) { 'use strict'; var _22t3 = null; var _22t4, _22t5 = this && this.__extends || (_22t4 = function(_22t6, _22t7) { var _22t8 = null; return _22t4 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_22t9, _22ta) { var _22tb = null; _22t9.__proto__ = _22ta; } || function(_22tc, _22td) { var _22te = null; for (var _22tf in _22td) Object.prototype.hasOwnProperty.call(_22td, _22tf) && (_22tc[_22tf] = _22td[_22tf]); }, _22t4(_22t6, _22t7); }, function(_22tg, _22th) { var _22ti = null; if ('function' != typeof _22th && null !== _22th) throw new TypeError('Class extends value ' + String(_22th) + ' is not a constructor or null'); function _22tj() { var _22tk = null; this.constructor = _22tg; } _22t4(_22tg, _22th), _22tg.prototype = null === _22th ? Object.create(_22th) : (_22tj.prototype = _22th.prototype, new _22tj()); }); defineModule(_22t1); Object.defineProperty(_22t1, '__esModule', { 'value': !0 }), _22t1.ForceStopButton = void 0; var _22tl = _22t2(82279), _22tm = _22t2(80329), _22tn = function(_22to) { var _22tp = null; function _22tq() { var _22tr = null, _22ts = _22to.call(this) || this; _22ts._LONGPRESS = 500, _22ts._onPointerDown = function() { var _22tt = null, _22tu = performance.now(), _22tv = window.setInterval(function() { var _22tw = null; return _22ts._onPress(); }); _22ts._pressTimeMS = _22tu, _22ts._intervalID = _22tv, _22ts._off.alpha = 0.5; }, _22ts._onPointerUp = function() { var _22tx = null; _22ts._stopPressCheck(), _22ts._off.alpha = 1; }; var _22ty = new PIXI.Sprite(_22tm.GameData.getTexture(49)), _22tz = new PIXI.Sprite(_22tm.GameData.getTexture(50)), _22u0 = new PIXI.Graphics().beginFill(0, 0).drawRect(0, 0, 168, 67).endFill(); return _22u0.interactive = _22ts.buttonMode = !0, _22u0.addListener(_22tl.InteractiveConst.down, _22ts._onPointerDown), _22u0.addListener(_22tl.InteractiveConst.up, _22ts._onPointerUp), _22u0.addListener(_22tl.InteractiveConst.upoutside, _22ts._onPointerUp), _22u0.addListener(_22tl.InteractiveConst.out, _22ts._onPointerUp), _22ts.addChild(_22tz, _22ty), _22ts.addChild(_22u0), _22ts._off = _22ty, _22ts._on = _22tz, _22ts._clickArea = _22u0, _22ts; } return _22t5(_22tq, _22to), _22tq.prototype.dispose = function() { var _22u1 = null; this.removeChildren(), this._off.texture = PIXI.Texture.EMPTY, this._on.texture = PIXI.Texture.EMPTY, this._clickArea.removeAllListeners(_22tl.InteractiveConst.down), this._clickArea.removeAllListeners(_22tl.InteractiveConst.up), this._clickArea.removeAllListeners(_22tl.InteractiveConst.upoutside), this._clickArea.removeAllListeners(_22tl.InteractiveConst.out), this.onClick = null, this._LONGPRESS = null, this._off = null, this._clickArea = null, this._pressTimeMS = null, this._intervalID = null, this._on = null; }, Object.defineProperty(_22tq.prototype, 'clickable', { 'set': function(_22u2) { var _22u3 = null; this._clickArea.interactive = this._clickArea.buttonMode = _22u2, this._stopPressCheck(); }, 'enumerable': !1, 'configurable': !0 }), _22tq.prototype._onPress = function() { var _22u4 = null, _22u5 = (performance.now() - this._pressTimeMS) / this._LONGPRESS; _22u5 >= 1 && (this._stopPressCheck(), this._clickArea.interactive = !1, this.onClick()), this._off.alpha = 0.5 - _22u5; }, _22tq.prototype._stopPressCheck = function() { var _22u6 = null; this._intervalID && (clearInterval(this._intervalID), this._intervalID = null, this._pressTimeMS = null); }, _22tq; }(PIXI.Container); _22t1.ForceStopButton = _22tn; }, 46838: function(_22u7, _22u8, _22u9) { 'use strict'; var _22ua = null; var _22ub, _22uc = this && this.__extends || (_22ub = function(_22ud, _22ue) { var _22uf = null; return _22ub = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_22ug, _22uh) { var _22ui = null; _22ug.__proto__ = _22uh; } || function(_22uj, _22uk) { var _22ul = null; for (var _22um in _22uk) Object.prototype.hasOwnProperty.call(_22uk, _22um) && (_22uj[_22um] = _22uk[_22um]); }, _22ub(_22ud, _22ue); }, function(_22un, _22uo) { var _22up = null; if ('function' != typeof _22uo && null !== _22uo) throw new TypeError('Class extends value ' + String(_22uo) + ' is not a constructor or null'); function _22uq() { var _22ur = null; this.constructor = _22un; } _22ub(_22un, _22uo), _22un.prototype = null === _22uo ? Object.create(_22uo) : (_22uq.prototype = _22uo.prototype, new _22uq()); }); defineModule(_22u8); Object.defineProperty(_22u8, '__esModule', { 'value': !0 }), _22u8.Gauge = void 0; var _22us = _22u9(80329), _22ut = function(_22uu) { var _22uv = null; function _22uw() { var _22ux = null, _22uy = _22uu.call(this) || this, _22uz = new PIXI.Graphics().beginFill(16777215, 1).drawRect(0, 0, 300, 20).beginFill(8947848, 1).drawRect(1, 1, 298, 18).endFill(), _22v0 = new PIXI.Graphics(); _22v0.x = 5, _22v0.y = 5; var _22v1 = new PIXI.Sprite(_22us.GameData.getTexture(12)); return _22v1.position.x = -210, _22v1.position.y = -3, _22uy.addChild(_22uz, _22v0), _22uy.addChild(_22v1), _22uy._gauge = _22v0, _22uy; } return _22uc(_22uw, _22uu), _22uw.prototype.dispose = function() { var _22v2 = null; this.removeChildren(), this._gauge = null; }, _22uw.prototype.update = function(_22v3) { var _22v4 = null; this._gauge.clear(), this._gauge.beginFill(this._progressToColor(_22v3), 1).drawRect(0, 0, Math.floor(290 * _22v3), 10).endFill(); }, _22uw.prototype._progressToColor = function(_22v5) { var _22v6 = 0; return _22v5 < 0.333 ? (_22v6 = 255 << 16, _22v6 += _22v5 / 0.333 * 128 << 8) : _22v5 < 0.666 ? (_22v6 = 255 << 16, _22v6 += 32768, _22v6 += (_22v5 - 0.333) / 0.333 * 128 << 8) : (_22v6 = 255 - (_22v5 - 0.666) / 0.333 * 255 << 16, _22v6 += 65280), _22v6; }, _22uw; }(PIXI.Container); _22u8.Gauge = _22ut; }, 29076: function(_22v7, _22v8, _22v9) { 'use strict'; var _22va = null; var _22vb, _22vc = this && this.__extends || (_22vb = function(_22vd, _22ve) { var _22vf = null; return _22vb = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_22vg, _22vh) { var _22vi = null; _22vg.__proto__ = _22vh; } || function(_22vj, _22vk) { var _22vl = null; for (var _22vm in _22vk) Object.prototype.hasOwnProperty.call(_22vk, _22vm) && (_22vj[_22vm] = _22vk[_22vm]); }, _22vb(_22vd, _22ve); }, function(_22vn, _22vo) { var _22vp = null; if ('function' != typeof _22vo && null !== _22vo) throw new TypeError('Class extends value ' + String(_22vo) + ' is not a constructor or null'); function _22vq() { var _22vr = null; this.constructor = _22vn; } _22vb(_22vn, _22vo), _22vn.prototype = null === _22vo ? Object.create(_22vo) : (_22vq.prototype = _22vo.prototype, new _22vq()); }); defineModule(_22v8); Object.defineProperty(_22v8, '__esModule', { 'value': !0 }), _22v8.GotHitEffect = void 0; var _22vs = _22v9(80329), _22vt = function(_22vu) { var _22vv = null; function _22vw() { var _22vx = null, _22vy = _22vu.call(this, _22vs.GameData.getTexture(30)) || this; return _22vy.anchor.set(0.5, 1), _22vy.scale.set(-0.5, 0.55), _22vy.alpha = 0, _22vy._renderWebGL = function(_22vz) { var _22w0 = null; _22vu.prototype._renderWebGL.call(_22vy, _22vz), _22vy._onUpdate(); }, _22vy._renderCanvas = function(_22w1) { var _22w2 = null; _22vu.prototype._renderCanvas.call(_22vy, _22w1), _22vy._onUpdate(); }, _22vy; } return _22vc(_22vw, _22vu), _22vw.prototype._onUpdate = function() { var _22w3 = null; this.alpha = Math.max(this.alpha - 0.05, 0); }, _22vw.prototype.dispose = function() { var _22w4 = null; this.texture = PIXI.Texture.EMPTY; }, _22vw; }(PIXI.Sprite); _22v8.GotHitEffect = _22vt; }, 98466: function(_22w5, _22w6, _22w7) { 'use strict'; var _22w8 = null; var _22w9, _22wa = this && this.__extends || (_22w9 = function(_22wb, _22wc) { var _22wd = null; return _22w9 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_22we, _22wf) { var _22wg = null; _22we.__proto__ = _22wf; } || function(_22wh, _22wi) { var _22wj = null; for (var _22wk in _22wi) Object.prototype.hasOwnProperty.call(_22wi, _22wk) && (_22wh[_22wk] = _22wi[_22wk]); }, _22w9(_22wb, _22wc); }, function(_22wl, _22wm) { var _22wn = null; if ('function' != typeof _22wm && null !== _22wm) throw new TypeError('Class extends value ' + String(_22wm) + ' is not a constructor or null'); function _22wo() { var _22wp = null; this.constructor = _22wl; } _22w9(_22wl, _22wm), _22wl.prototype = null === _22wm ? Object.create(_22wm) : (_22wo.prototype = _22wm.prototype, new _22wo()); }); defineModule(_22w6); Object.defineProperty(_22w6, '__esModule', { 'value': !0 }), _22w6.GotLemon = void 0; var _22wq = _22w7(80329), _22wr = _22w7(7195), _22ws = _22w7(31000), _22wt = function(_22wu) { var _22wv = null; function _22ww(_22wx) { var _22wy = null, _22wz = _22wu.call(this) || this, _22x0 = new PIXI.Sprite(_22wq.GameData.getTexture(32)); return _22wz.addChild(_22x0), _22x0.anchor.set(0.5, 0), _22x0.y = -_22x0.texture.height, _22wz._gotLemon = _22x0, _22wz._gameData = _22wx, _22wz; } return _22wa(_22ww, _22wu), Object.defineProperty(_22ww.prototype, 'playing', { 'get': function() { var _22x1 = null; return null != this._animation; }, 'enumerable': !1, 'configurable': !0 }), _22ww.prototype.play = function() { var _22x2 = null, _22x3 = this; if (null == this._animation) { var _22x4 = 32; 0.5 < Math.random() && (_22x4 = 78, Math.random() < 0.3 && (_22x4 = 79)), this._gotLemon.texture = _22wq.GameData.getTexture(_22x4); var _22x5 = _22wr['$_$'].Sequence(function() { var _22x6 = null; return _22wr['$_$'].Parallel(function() { var _22x7 = null; return _22wr['$_$'].Value(_22x3._gotLemon.position, { 'y': -100 }, 600, createjs.Ease.bounceOut); }, function() { var _22x8 = null; return _22wr['$_$'].Sequence(function() { var _22x9 = _22x8; return _22wr[_22x9(11030)][_22x9(7672)](100); }, function() { var _22xa = _22x8; return _22wr[_22xa(11030)][_22xa(3968)](_22x3[_22xa(11216)], { 'rotation': Math.PI / 180 * -0.5 }, 250, createjs[_22xa(3919)][_22xa(10019)]); }, function() { var _22xb = _22x8; return _22wr[_22xb(11030)][_22xb(3968)](_22x3[_22xb(11216)], { 'rotation': Math.PI / 180 * 0.45 }, 500, createjs[_22xb(3919)][_22xb(4929)]); }, function() { var _22xc = _22x8; return _22wr[_22xc(11030)][_22xc(3968)](_22x3[_22xc(11216)], { 'rotation': Math.PI / 180 * -0.4 }, 250, createjs[_22xc(3919)][_22xc(10019)]); }, function() { var _22xd = _22x8; return _22wr[_22xd(11030)][_22xd(3968)](_22x3[_22xd(11216)], { 'rotation': Math.PI / 180 * 0.35 }, 500, createjs[_22xd(3919)][_22xd(4929)]); }, function() { var _22xe = _22x8; return _22wr[_22xe(11030)][_22xe(3968)](_22x3[_22xe(11216)], { 'rotation': Math.PI / 180 * -0.125 }, 400, createjs[_22xe(3919)][_22xe(10674)]); }, function() { var _22xf = _22x8; return _22wr[_22xf(11030)][_22xf(3968)](_22x3[_22xf(11216)], { 'rotation': Math.PI / 180 * 0 }, 200, createjs[_22xf(3919)][_22xf(4929)]); }); }); }, function() { var _22xg = null; return _22wr['$_$'].Parallel(function() { var _22xh = null; return _22wr['$_$'].Sequence(function() { var _22xi = _22xh; return _22wr[_22xi(11030)][_22xi(3968)](_22x3[_22xi(11216)], { 'rotation': Math.PI / 180 * -2 }, 200, createjs[_22xi(3919)][_22xi(10674)]); }, function() { var _22xj = _22xh; return _22wr[_22xj(11030)][_22xj(3968)](_22x3[_22xj(11216)], { 'rotation': Math.PI / 180 * 1.5 }, 200, createjs[_22xj(3919)][_22xj(10019)]); }, function() { var _22xk = _22xh; return _22wr[_22xk(11030)][_22xk(3968)](_22x3[_22xk(11216)], { 'rotation': Math.PI / 180 * -1 }, 200, createjs[_22xk(3919)][_22xk(10019)]); }, function() { var _22xl = _22xh; return _22wr[_22xl(11030)][_22xl(3968)](_22x3[_22xl(11216)], { 'rotation': Math.PI / 180 * 0 }, 100, createjs[_22xl(3919)][_22xl(4929)]); }); }, function() { var _22xm = null; return _22wr['$_$'].Value(_22x3._gotLemon.position, { 'y': -1 * _22x3._gotLemon.height }, 700, createjs.Ease.quartIn); }); }); this._animation = _22x5, _22x5.execute(function() { var _22xn = null; _22x5.dispose(), _22x3._animation = null; }), _22ws.SE.play('323'); } }, _22ww.prototype.dispose = function() { var _22xo = null; this.removeChildren(), null != this._animation && (this._animation.interrupt(), this._animation.dispose()), this._gotLemon.texture = PIXI.Texture.EMPTY, this._gotLemon = null, this._animation = null, this._gameData = null; }, _22ww; }(PIXI.Container); _22w6.GotLemon = _22wt; }, 23695: function(_22xp, _22xq, _22xr) { 'use strict'; var _22xs = null; var _22xt, _22xu = this && this.__extends || (_22xt = function(_22xv, _22xw) { var _22xx = null; return _22xt = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_22xy, _22xz) { var _22y0 = null; _22xy.__proto__ = _22xz; } || function(_22y1, _22y2) { var _22y3 = null; for (var _22y4 in _22y2) Object.prototype.hasOwnProperty.call(_22y2, _22y4) && (_22y1[_22y4] = _22y2[_22y4]); }, _22xt(_22xv, _22xw); }, function(_22y5, _22y6) { var _22y7 = null; if ('function' != typeof _22y6 && null !== _22y6) throw new TypeError('Class extends value ' + String(_22y6) + ' is not a constructor or null'); function _22y8() { var _22y9 = null; this.constructor = _22y5; } _22xt(_22y5, _22y6), _22y5.prototype = null === _22y6 ? Object.create(_22y6) : (_22y8.prototype = _22y6.prototype, new _22y8()); }); defineModule(_22xq); Object.defineProperty(_22xq, '__esModule', { 'value': !0 }), _22xq.Gotsheep = void 0; var _22ya = _22xr(7195), _22yb = _22xr(82279), _22yc = _22xr(31000), _22yd = _22xr(28025), _22ye = _22xr(80329), _22yf = function(_22yg) { var _22yh = null; function _22yi(_22yj) { var _22yk = null, _22yl = _22yg.call(this) || this; _22yl._elasticity = 0.6, _22yl.onMouseDown = function(_22ym) { var _22yn = null; _22yl.focus = !0, _22yl._mousedown = _22yl.parent.toGlobal(_22yl.position), _22yl._mouseup = null, _22yc.SE.play('316'); }, _22yl.onMouseUp = function(_22yo) { var _22yp = null; if (_22yl._mousedown) { var _22yq = _22yo.data.global, _22yr = _22yl.parent.toGlobal(_22yl.position); _22yl._mousedown = _22yr, _22yl._mouseup = _22yq; } _22yl.light = 0, _22yl.focus = !1; }, _22yl.onMouseMove = function(_22ys) { var _22yt = null; if (_22yl.light = 0, _22yl._mousedown) { var _22yu = _22ys.data.global, _22yv = (0, _22yd.CalcDistance)(_22yl._mousedown, _22yu); _22yl.light = Math.min(_22yv, 150) / 150; } }, _22yl._onMoveGot = function(_22yw, _22yx, _22yy, _22yz) { var _22z0 = null, _22z1 = 60; _22yl._gameData.systemInfo.addHitStopFPS(5); var _22z2 = !1, _22z3 = _22yl._gameData.gotHitEffect; _22z3.scale.copy(_22yl.container.scale), _22z3.position.set(_22yy, _22yz), _22z3.rotation = _22yl.rotation; var _22z4 = _22yl._gameData.getCurrentStage().hitstop_level; for (var _22z5 in _22yl._gameData.managedEnemy) { var _22z6 = _22yl._gameData.managedEnemy[_22z5]; if (0 != (_22z6.alive && _22yl._gameData.systemInfo.activeTimer)) _22z6.testHit(_22yw, _22yx, _22yy, _22yz) && (_22z2 = !0, _22z1 = Math.max(_22z4, Math.min(_22yl._gameData.systemInfo.hitStopFPS - _22z4, 60)), _22yl._gameData.systemInfo.setHitStopFPS(_22z1), _22yl._CollisionEnemy(_22z6)); } _22z2 && (_22yl._gameData.gotHitEffect.alpha = 0.8), _22yl._gameData.systemInfo.setHitStopFPS(_22z1); }; var _22z7 = new PIXI.Container(), _22z8 = new PIXI.Sprite(_22ye.GameData.getTexture(29)), _22z9 = new PIXI.Sprite(_22ye.GameData.getTexture(34)), _22za = new PIXI.Sprite(_22ye.GameData.getTexture(33)); _22za.anchor.set(0.5, 0.5), _22za.scale.set(0, 0), _22za.alpha = 0, _22z8.anchor.set(0.5, 0.5), _22z9.anchor.set(0.5, 0.5); var _22zb = 0.5 * -_22z8.texture.height; _22za.position.y = _22z8.position.y = _22z9.position.y = _22zb, _22z9.visible = !1, _22z7.scale.set(-0.5, 0.5), _22z7.addChild(_22za, _22z9, _22z8), _22yl.addChild(_22z7), _22yl._sprite = _22z8, _22yl._waku = _22z9, _22yl._container = _22z7, _22yl._gravity = 9.8; var _22zc = _22ya['$_$'].LoopFor(function() { return !0; }, function() { var _22zd = null; return _22ya['$_$'].Sequence(function() { var _22ze = null; return _22ya['$_$'].Value(_22z7.scale, { 'y': 0.5 }, 500 * Math.random() + 1000); }, function() { var _22zf = null; return _22ya['$_$'].Delay(1000 * Math.random()); }, function() { var _22zg = null; return _22ya['$_$'].Value(_22z7.scale, { 'y': 0.55 }, 500 * Math.random() + 1000); }, function() { var _22zh = null; return _22ya['$_$'].Delay(1000 * Math.random()); }); }); _22yl._standbyAnimation = _22zc, _22yl._gotLight = _22za, _22zc.execute(function() {}); var _22zi = function() { var _22zj = null; _22za.rotation -= 0.01; }; return _22yl._renderWebGL = function(_22zk) { var _22zl = null; _22yg.prototype._renderWebGL.call(_22yl, _22zk), _22zi(); }, _22yl._renderCanvas = function(_22zm) { var _22zn = null; _22yg.prototype._renderCanvas.call(_22yl, _22zm), _22zi(); }, _22yl.addListener(_22yb.InteractiveConst.down, _22yl.onMouseDown), _22yl.addListener(_22yb.InteractiveConst.move, _22yl.onMouseMove), _22yl.addListener(_22yb.InteractiveConst.up, _22yl.onMouseUp), _22yl.addListener(_22yb.InteractiveConst.upoutside, _22yl.onMouseUp), _22yl.buttonMode = !0, _22yl._gameData = _22yj, _22yl; } return _22xu(_22yi, _22yg), Object.defineProperty(_22yi.prototype, 'fluffyFlied', { 'set': function(_22zo) { var _22zp = null; this._fluffyFlied = _22zo; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_22yi.prototype, 'velocityX', { 'get': function() { var _22zq = null; return this._velocityX; }, 'set': function(_22zr) { var _22zs = null; this._velocityX = _22zr; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_22yi.prototype, 'container', { 'get': function() { var _22zt = null; return this._container; }, 'enumerable': !1, 'configurable': !0 }), _22yi.prototype.switchGraphic = function(_22zu) { var _22zv = null; this._sprite.texture = _22ye.GameData.getTexture(_22zu); }, _22yi.prototype.update = function() { var _22zw = null; if (this._mouseup) { var _22zx = (0, _22yd.CalcDistance)(this._mousedown, this._mouseup), _22zy = (0, _22yd.CalcDegree)(this._mousedown, this._mouseup), _22zz = Math.min(_22zx, 150); this._shootGot(_22zz, _22zy), this._mouseup = null, this._mousedown = null; } if (0 != this.shooting) { if (1 == this.shooting && this._bounceCount >= 8) return this._shooting = !1, this.rotation = 0, this._velocityX = 0, this._velocityY = 0, void this._gameData.systemInfo.setHitStopFPS(60); var _2300 = !1; this._gravity = Math.min(this._gravity + 0.06533333333333333, 9.8); var _2301 = this.position.x, _2302 = this.position.y, _2303 = _2301 + 0.20833333333333334 * this._velocityX, _2304 = _2302 + 0.20833333333333334 * this._velocityY; _2304 > 0 ? (_2304 = 0, this._velocityX = this._velocityX * this._elasticity, this._velocityY = -this._velocityY * this._elasticity, this._bounceCount++, _2300 = !0, 0 == this._fluffyFlied && (this._fluffyFlied = !0, this._gravity = 9.8 * 0.1), this._gameData.systemInfo.activeTimer && this._gameData.resetCombo()) : _2303 >= 1200 ? (_2303 = 1200, this._velocityX = -this._velocityX * this._elasticity, this._velocityY = this._velocityY * this._elasticity, _2300 = !0, 0 == this._gameData.gotLemon.playing && this.position.y <= -820 && (this._gameData.gotLemon.position.x = 1100, this._gameData.gotLemon.play())) : _2303 < 0 && (_2303 = 0, this._velocityX = -this._velocityX * this._elasticity, this._velocityY = this._velocityY * this._elasticity, _2300 = !0, 0 == this._gameData.gotLemon.playing && this.position.y <= -1200 && (this._gameData.gotLemon.position.x = 100, this._gameData.gotLemon.play())); var _2305 = _2303 - _2301, _2306 = _2304 - _2302; _2303 < _2301 && (_2305 = _2301 - _2303, _2306 = _2302 - _2304); var _2307, _2308 = Math.atan2(_2306, _2305); if (1 < Math.abs(Math.floor(_2308 - this.rotation)) && (_2308 = (_2307 = this.rotation) + 0.5 * (_2308 - _2307)), -5 <= _2304) { var _2309 = 0.1 * Math.random(); _2308 = Math.min(Math.max(_2308, -0.5 - _2309), 0.5 + _2309); } this.rotation = _2308, this._onMoveGot(_2301, _2302, _2303, _2304), this.position.set(_2303, _2304); var _230a = this._velocityY + 0.20833333333333334 * this._gravity; this._velocityY = _230a, _2300 && (this._gameData.soundEffectManager.play('237'), this._gameData.camera.shake(1)); } }, _22yi.prototype._shootGot = function(_230b, _230c) { var _230d = null; this._velocityX = _230b * Math.cos(_230c), this._velocityY = _230b * Math.sin(_230c), this._gravity = 9.8, this._bounceCount = 0, this._shooting = !0, this._fluffyFlied = !1, this._gameData.systemInfo.setHitStopFPS(60); }, _22yi.prototype.resetMouseState = function() { var _230e = null; this._mousedown = null, this._mouseup = null; }, _22yi.prototype.dispose = function() { var _230f = null; this.removeChildren(), this._waku.texture = PIXI.Texture.EMPTY, this._sprite.texture = PIXI.Texture.EMPTY, this._standbyAnimation && (this._standbyAnimation.interrupt(), this._standbyAnimation.dispose()), this._container.removeChildren(), this._waku = null, this._sprite = null, this._standbyAnimation = null, this._container = null, this._elasticity = null, this._gravity = null, this._velocityX = null, this._velocityY = null, this._bounceCount = null, this._shooting = null, this._mousedown = null, this._mouseup = null; }, Object.defineProperty(_22yi.prototype, 'shooting', { 'get': function() { var _230g = null; return this._shooting; }, 'set': function(_230h) { var _230i = null; this._shooting = _230h; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_22yi.prototype, 'focus', { 'set': function(_230j) { var _230k = null; this._waku.visible = _230j; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_22yi.prototype, 'light', { 'set': function(_230l) { var _230m = null; this._gotLight.scale.set(_230l), this._gotLight.alpha = _230l; }, 'enumerable': !1, 'configurable': !0 }), _22yi.prototype._CollisionEnemy = function(_230n) { var _230o = null; _230n.OnCollision(this); }, _22yi; }(PIXI.Container); _22xq.Gotsheep = _22yf; }, 82279: (_230p, _230q) => { 'use strict'; var _230r = null; defineModule(_230q); Object.defineProperty(_230q, '__esModule', { 'value': !0 }), _230q.InteractiveConst = void 0; var _230s = (function() { var _230t = null; function _230u() {} return _230u.init = function(_230v) { var _230w = null; _230u._deviceType = _230v; }, Object.defineProperty(_230u, 'click', { 'get': function() { var _230x = null; switch (_230u._deviceType) { case _230u.MOUSE: return 'click'; case _230u.TOUCH: return 'tap'; } throw new Error('unsupport deviceType'); }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_230u, 'down', { 'get': function() { var _230y = null; return 'pointerdown'; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_230u, 'up', { 'get': function() { var _230z = null; return 'pointerup'; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_230u, 'over', { 'get': function() { var _2310 = null; return 'pointerover'; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_230u, 'upoutside', { 'get': function() { var _2311 = null; return 'pointerupoutside'; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_230u, 'move', { 'get': function() { var _2312 = null; return 'pointermove'; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_230u, 'out', { 'get': function() { var _2313 = null; return 'pointerout'; }, 'enumerable': !1, 'configurable': !0 }), _230u.MOUSE = 'mouse', _230u.TOUCH = 'touch', _230u; }()); _230q.InteractiveConst = _230s; }, 70471: function(_2314, _2315, _2316) { 'use strict'; var _2317 = null; var _2318, _2319 = this && this.__extends || (_2318 = function(_231a, _231b) { var _231c = null; return _2318 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_231d, _231e) { var _231f = null; _231d.__proto__ = _231e; } || function(_231g, _231h) { var _231i = null; for (var _231j in _231h) Object.prototype.hasOwnProperty.call(_231h, _231j) && (_231g[_231j] = _231h[_231j]); }, _2318(_231a, _231b); }, function(_231k, _231l) { var _231m = null; if ('function' != typeof _231l && null !== _231l) throw new TypeError('Class extends value ' + String(_231l) + ' is not a constructor or null'); function _231n() { var _231o = null; this.constructor = _231k; } _2318(_231k, _231l), _231k.prototype = null === _231l ? Object.create(_231l) : (_231n.prototype = _231l.prototype, new _231n()); }); defineModule(_2315); Object.defineProperty(_2315, '__esModule', { 'value': !0 }), _2315.KamihubukiLayer = void 0; var _231p = _2316(80329), _231q = function(_231r) { var _231s = null; function _231t() { var _231u = null, _231v = _231r.call(this) || this; return _231v._timer_handle = -1, _231v._update = function() { var _231w = null; for (var _231x = 0, _231y = _231v._particles; _231x < _231y.length; _231x++) { _231y[_231x].update(); } }, _231v._particles = [], _231v; } return _2319(_231t, _231r), _231t.prototype.start = function(_231z) { var _2320 = null; this.removeChildren(); for (var _2321 = 0; _2321 < _231z; _2321++) { var _2322 = new _2323(); _2322.initialize(), this.addChild(_2322), this._particles.push(_2322); } - 1 == this._timer_handle && (this._timer_handle = window.setInterval(this._update, 1000 / 30)); }, _231t.prototype.stop = function() { var _2324 = null; this.removeChildren(), -1 != this._timer_handle && clearInterval(this._timer_handle), this._particles = []; }, _231t.prototype.dispose = function() { var _2325 = null; - 1 != this._timer_handle && clearInterval(this._timer_handle), this.removeChildren(), this._particles = null; }, _231t; }(PIXI.Container); _2315.KamihubukiLayer = _231q; var _2323 = function(_2326) { var _2327 = null; function _2328() { var _2329 = null, _232a = _2326.call(this) || this; return _232a.anchor.set(0.5), _232a; } return _2319(_2328, _2326), _2328.prototype.initialize = function() { var _232b = null; this._initialize(); }, _2328.prototype.update = function() { var _232c = null; this.x = this._base_x + this._haba + Math.sin(this._rad), this.y += this._spdY, this.rotation += this._spdR, this._rad += this._spdX, this.y > 795 && this._initialize(); }, _2328.prototype._initialize = function() { var _232d = null, _232e; switch (Math.floor(5 * Math.random())) { case 0: _232e = 38; break; case 1: _232e = 39; break; case 2: _232e = 40; break; case 3: _232e = 41; break; case 4: _232e = 42; } this.texture = _231p.GameData.getTexture(_232e), this.x = 1140 * Math.random() + 30, this.y = -150 - 150 * Math.random(), this.scale.set(0.3 + 0.2 * Math.random()), this._base_x = this.x, this._rad = 0, this._haba = 45 * Math.random(), this._spdX = (15 * Math.random() + 1) / 100, this._spdY = 12 * Math.random() + 3, this._spdR = 2 * Math.random() / 180 * Math.PI; }, _2328; }(PIXI.Sprite); }, 94662: function(_232f, _232g, _232h) { 'use strict'; var _232i = null; var _232j, _232k = this && this.__extends || (_232j = function(_232l, _232m) { var _232n = null; return _232j = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_232o, _232p) { var _232q = null; _232o.__proto__ = _232p; } || function(_232r, _232s) { var _232t = null; for (var _232u in _232s) Object.prototype.hasOwnProperty.call(_232s, _232u) && (_232r[_232u] = _232s[_232u]); }, _232j(_232l, _232m); }, function(_232v, _232w) { var _232x = null; if ('function' != typeof _232w && null !== _232w) throw new TypeError('Class extends value ' + String(_232w) + ' is not a constructor or null'); function _232y() { var _232z = null; this.constructor = _232v; } _232j(_232v, _232w), _232v.prototype = null === _232w ? Object.create(_232w) : (_232y.prototype = _232w.prototype, new _232y()); }); defineModule(_232g); Object.defineProperty(_232g, '__esModule', { 'value': !0 }), _232g.ScoreBoard = void 0; var _2330 = _232h(80329), _2331 = function(_2332) { var _2333 = null; function _2334() { var _2335 = null; for (var _2336 = _2332.call(this) || this, _2337 = new Array(), _2338 = 0; _2338 < 6; _2338++) { var _2339 = new _233a(), _233b = 8 * _2338, _233c = -33 * (_2338 + 1); _2339.position.x = _233c + 16.5 + _233b, _2339.position.y = 21, _2337.push(_2339), _2336.addChild(_2339); } return _2336._scoreCards = _2337, _2336; } return _232k(_2334, _2332), _2334.prototype.dispose = function() { var _233d = null; this.removeChildren(), this._scoreCards.forEach(function(_233e) { var _233f = null; return _233e.dispose(); }), this._scoreCards = null; }, _2334.prototype.update = function(_233g) { var _233h = null, _233i = (_233g = Math.min(_233g, 999999)).toString(); this._scoreCards.forEach(function(_233j, _233k) { var _233l = null; if (_233j.visible = !1, _233k < _233i.length) { _233j.visible = !0; var _233m = _233i.length - _233k - 1; _233j.update(parseInt(_233i[_233m])); } }); }, _2334; }(PIXI.Container); _232g.ScoreBoard = _2331; var _233n = [2, 3, 4, 5, 6, 7, 8, 9, 10, 11], _233a = function(_233o) { var _233p = null; function _233q() { var _233r = null, _233s = _233o.call(this) || this, _233t = new PIXI.Sprite(); return _233t.anchor.set(0.5, 0.5), _233s.addChild(_233t), _233s._sprite = _233t, _233s._renderWebGL = function(_233u) { var _233v = null; _233o.prototype._renderWebGL.call(_233s, _233u), _233s.scale.set(Math.max(_233s.scale.x - 0.1, 1)); }, _233s._renderCanvas = function(_233w) { var _233x = null; _233o.prototype._renderCanvas.call(_233s, _233w), _233s.scale.set(Math.max(_233s.scale.x - 0.1, 1)); }, _233s; } return _232k(_233q, _233o), _233q.prototype.dispose = function() { var _233y = null; this.removeChildren(), this._sprite.texture = PIXI.Texture.EMPTY, this._sprite = null; }, _233q.prototype.update = function(_233z) { var _2340 = null; this.scale.set(1.5), this._sprite.texture = _2330.GameData.getTexture(_233n[_233z]); }, _233q; }(PIXI.Container); }, 12149: function(_2341, _2342, _2343) { 'use strict'; var _2344 = null; var _2345, _2346 = this && this.__extends || (_2345 = function(_2347, _2348) { var _2349 = null; return _2345 = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_234a, _234b) { var _234c = null; _234a.__proto__ = _234b; } || function(_234d, _234e) { var _234f = null; for (var _234g in _234e) Object.prototype.hasOwnProperty.call(_234e, _234g) && (_234d[_234g] = _234e[_234g]); }, _2345(_2347, _2348); }, function(_234h, _234i) { var _234j = null; if ('function' != typeof _234i && null !== _234i) throw new TypeError('Class extends value ' + String(_234i) + ' is not a constructor or null'); function _234k() { var _234l = null; this.constructor = _234h; } _2345(_234h, _234i), _234h.prototype = null === _234i ? Object.create(_234i) : (_234k.prototype = _234i.prototype, new _234k()); }); defineModule(_2342); Object.defineProperty(_2342, '__esModule', { 'value': !0 }), _2342.KEYWORD_SHUSUI_ATTACK = _2342.ShuSui = void 0; var _234m = _2343(22735), _234n = _2343(99749), _234o = _2343(28025), _234p = _2343(80329), _234q = function(_234r) { var _234s = null; function _234t(_234u) { var _234v = null, _234w = _234r.call(this) || this, _234x = new PIXI.Sprite(_234p.GameData.getTexture(72)); _234x.anchor.set(0.5, 0.5), _234x.scale.set(0.5); var _234y = new PIXI.Sprite(_234p.GameData.getTexture(72)); _234y.anchor.set(0.5, 0.5), _234y.scale.set(0.5), _234y.position.set(-100, -100); var _234z = new PIXI.Sprite(_234p.GameData.getTexture(72)); return _234z.anchor.set(0.5, 0.5), _234z.scale.set(0.5), _234z.position.set(-250, 120), _234w.addChild(_234y, _234z, _234x), _234w._sprite = _234x, _234w._snapShots = [], _234w._gameData = _234u, _234w.visible = !1, _234w; } return _2346(_234t, _234r), _234t.prototype.dispose = function() { var _2350 = null; this.removeChildren(), this._sprite.texture = PIXI.Texture.EMPTY, this.onComplete = null, this._sprite = null, this._snapShots = null; }, _234t.prototype.play = function() { var _2351 = null; this.visible = !0; var _2352 = (0, _234m.genAnimation)(_2353); this._snapShots = _2352.reverse(), this._gameData.soundEffectManager.play('220'); }, _234t.prototype.update = function() { var _2354 = null; if (0 != 0 < this._snapShots.length) { var _2355 = this._snapShots.pop(); this._onMove(this.position.x, this.position.y, _2355.x, _2355.y, _2355.m), this.alpha = _2355.a, this.rotation = _2355.r, this.scale.set(_2355.s), this.position.x = _2355.x, this.position.y = _2355.y, 0 == this._snapShots.length && (this._snapShots = null, this.visible = !1, this.onComplete()); } }, _234t.prototype._onMove = function(_2356, _2357, _2358, _2359, _235a) { var _235b = null; if (_235a == _2342.KEYWORD_SHUSUI_ATTACK) { var _235c, _235d = Number.MAX_VALUE; for (var _235e in this._gameData.managedEnemy) { if (_235c && _235c.hardness == _234n.Enemy.HARDNESS_HARD) break; var _235f = this._gameData.managedEnemy[_235e]; if (_235f.alive) { var _235g = 150; _235f.hardness == _234n.Enemy.HARDNESS_HARD && (_235g = 300); var _235h = (0, _234o.CalcDistance)(this._gameData.shusui.position, _235f.position); _235h < _235g && _235h < _235d && (_235c = _235f, _235d = _235h); } } _235c && (this._gameData.soundEffectManager.play('118'), _235c.OnCollision(this)); } }, _234t; }(PIXI.Container); _2342.ShuSui = _234q, _2342.KEYWORD_SHUSUI_ATTACK = 'attack'; var _2353 = [{ 'x': -167, 'y': 25, 'r': -0.871327704, 's': 0.32, 'a': 1 }, { 'f': 16, 'x': 360, 'y': -443, 's': 0.58 }, { 'f': 18, 'x': 531, 'y': -626, 'a': 0, 's': 0.8, 'e': createjs.Ease.sineIn }, { 'x': -44.5, 'y': -1261, 'r': 1.04965323, 'a': 1 }, { 'f': 30, 's': 0.58, 'x': 1181, 'y': 125, 'r': 1.11965315, 'm': _2342.KEYWORD_SHUSUI_ATTACK }]; }, 51255: function(_235i, _235j, _235k) { 'use strict'; var _235l = null; var _235m, _235n = this && this.__extends || (_235m = function(_235o, _235p) { var _235q = null; return _235m = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_235r, _235s) { var _235t = null; _235r.__proto__ = _235s; } || function(_235u, _235v) { var _235w = null; for (var _235x in _235v) Object.prototype.hasOwnProperty.call(_235v, _235x) && (_235u[_235x] = _235v[_235x]); }, _235m(_235o, _235p); }, function(_235y, _235z) { var _2360 = null; if ('function' != typeof _235z && null !== _235z) throw new TypeError('Class extends value ' + String(_235z) + ' is not a constructor or null'); function _2361() { var _2362 = null; this.constructor = _235y; } _235m(_235y, _235z), _235y.prototype = null === _235z ? Object.create(_235z) : (_2361.prototype = _235z.prototype, new _2361()); }); defineModule(_235j); Object.defineProperty(_235j, '__esModule', { 'value': !0 }), _235j.ShusuiButton = void 0; var _2363 = _235k(82279), _2364 = _235k(7195), _2365 = _235k(80329), _2366 = function(_2367) { var _2368 = null; function _2369() { var _236a = null, _236b = _2367.call(this) || this; _236b._onClick = function() { var _236c = null; _236b._sprite_on_light.visible = !1, _236b._sprite_on_light_effect.alpha = 1, _236b._sprite_on_light_effect.scale.set(1, 1), _236b._clickAnimation && (_236b._clickAnimation.interrupt(), _236b._clickAnimation.dispose()); var _236d = _2364['$_$'].Parallel(function() { var _236e = null; return _2364['$_$'].Value(_236b._sprite_on_light_effect.scale, { 'x': 1.2, 'y': 1.2 }, 300, createjs.Ease.circOut); }, function() { var _236f = null; return _2364['$_$'].Value(_236b._sprite_on_light_effect, { 'alpha': 0 }, 300); }); _236b._clickAnimation = _236d, _236d.execute(function() { var _236g = null; _236d.dispose(), _236b._clickAnimation = null; }), _236b.onClick(); }, _236b._onOver = function() { var _236h = null; _236b._over(); }, _236b._onUp = function() { var _236i = null; _236b._out(); }; var _236j = new PIXI.Sprite(_2365.GameData.getTexture(54)), _236k = new PIXI.Sprite(_2365.GameData.getTexture(53)), _236l = new PIXI.Sprite(_2365.GameData.getTexture(52)), _236m = new PIXI.Sprite(_2365.GameData.getTexture(52)); _236j.anchor.set(0.5, 0.5), _236l.anchor.set(0.5, 0.5), _236k.anchor.set(0.5, 0.5), _236m.anchor.set(0.5, 0.5), _236m.alpha = 0; for (var _236n = new Array(), _236o = -86, _236p = 0; _236p < 5; _236p++) { var _236q = new PIXI.Sprite(_2365.GameData.getTexture(51)); _236q.position.set(_236o, -45), _236q.visible = !1, _236n.push(_236q), _236o += _236q.width + 2; } var _236r = new PIXI.Graphics().beginFill(0, 0).drawRect(0, 0, _236j.texture.width, _236j.texture.height).endFill(); _236r.position.set(0.5 * -_236r.width, 0.5 * -_236r.height), _236r.addListener(_2363.InteractiveConst.click, _236b._onClick), _236r.addListener(_2363.InteractiveConst.over, _236b._onOver), _236r.addListener(_2363.InteractiveConst.out, _236b._onUp), _236r.addListener(_2363.InteractiveConst.up, _236b._onUp), _236r.addListener(_2363.InteractiveConst.upoutside, _236b._onUp), _236r.interactive = _236r.buttonMode = !0, _236b.addChild(_236k, _236l, _236m, _236j), _236n.forEach(function(_236s) { var _236t = null; return _236b.addChild(_236s); }), _236b.addChild(_236r), _236b._sprite_on = _236j, _236b._sprite_on_light = _236l, _236b._sprite_off = _236k, _236b._hitArea = _236r, _236b._spritesCount = _236n, _236b._sprite_on_light_effect = _236m, _236b._value = 0; var _236u = _2364['$_$'].LoopFor(function() { return !0; }, function() { var _236v = null; return _2364['$_$'].Sequence(function() { var _236w = null; return _2364['$_$'].Value(_236l, { 'alpha': 0.5 }, 300); }, function() { var _236x = null; return _2364['$_$'].Value(_236l, { 'alpha': 1 }, 300); }); }); return _236u.execute(_2364['$_$'].ENDLESS), _236b._animation = _236u, _236b; } return _235n(_2369, _2367), _2369.prototype.dispose = function() { var _236y = null; this.removeChildren(), this._animation.interrupt(), this._animation.dispose(), this._animation = null, this._sprite_on.texture = PIXI.Texture.EMPTY, this._sprite_on_light.texture = PIXI.Texture.EMPTY, this._sprite_on_light_effect.texture = PIXI.Texture.EMPTY, this._sprite_off.texture = PIXI.Texture.EMPTY, this._spritesCount.forEach(function(_236z) { var _2370 = null; _236z.texture = PIXI.Texture.EMPTY; }), this._spritesCount.length = 0, this._hitArea.removeAllListeners(_2363.InteractiveConst.click), this._hitArea.removeAllListeners(_2363.InteractiveConst.over), this._hitArea.removeAllListeners(_2363.InteractiveConst.out), this._hitArea.removeAllListeners(_2363.InteractiveConst.up), this._hitArea.removeAllListeners(_2363.InteractiveConst.upoutside), this.onClick = null, this._sprite_on = null, this._sprite_on_light = null, this._sprite_off = null, this._spritesCount = null, this._hitArea = null; }, Object.defineProperty(_2369.prototype, 'active', { 'set': function(_2371) { var _2372 = null; this._hitArea.interactive = !1, _2371 && (this._hitArea.interactive = !0); }, 'enumerable': !1, 'configurable': !0 }), _2369.prototype.setCount = function(_2373) { var _2374 = null, _2375 = this; this._spritesCount.forEach(function(_2376, _2377) { var _2378 = null; _2376.visible = !1, _2377 < _2373 && (_2375._spritesCount[_2377].visible = !0); }), this._sprite_on.visible = !1, this._sprite_on_light.visible = !1, 0 < _2373 && (this._sprite_on.visible = !0, this._sprite_on_light.scale.set(1)), this._value = _2373; }, _2369.prototype._out = function() { var _2379 = null; this._sprite_on_light.visible = !1; }, _2369.prototype._over = function() { var _237a = null; 0 < this._value && (this._sprite_on_light.visible = !0); }, _2369; }(PIXI.Container); _235j.ShusuiButton = _2366; }, 92926: function(_237b, _237c, _237d) { 'use strict'; var _237e = null; var _237f, _237g = this && this.__extends || (_237f = function(_237h, _237i) { var _237j = null; return _237f = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_237k, _237l) { var _237m = null; _237k.__proto__ = _237l; } || function(_237n, _237o) { var _237p = null; for (var _237q in _237o) Object.prototype.hasOwnProperty.call(_237o, _237q) && (_237n[_237q] = _237o[_237q]); }, _237f(_237h, _237i); }, function(_237r, _237s) { var _237t = null; if ('function' != typeof _237s && null !== _237s) throw new TypeError('Class extends value ' + String(_237s) + ' is not a constructor or null'); function _237u() { var _237v = null; this.constructor = _237r; } _237f(_237r, _237s), _237r.prototype = null === _237s ? Object.create(_237s) : (_237u.prototype = _237s.prototype, new _237u()); }); defineModule(_237c); Object.defineProperty(_237c, '__esModule', { 'value': !0 }), _237c.SimpleEffectContainer = void 0; var _237w = _237d(7195), _237x = _237d(80329), _237y = function(_237z) { var _2380 = null; function _2381() { var _2382 = null; for (var _2383 = _237z.call(this) || this, _2384 = new Array(), _2385 = 0; _2385 < 100; _2385++) { var _2386 = new _2387(); _2384.push(_2386), _2383.addChild(_2386); } return _2383._effects = _2384, _2383._smokeIndex = 0, _2383; } return _237g(_2381, _237z), _2381.prototype.emitSmoke = function(_2388, _2389, _238a) { var _238b = null, _238c = Math.random() * (2 * _238a) - _238a, _238d = Math.random() * (2 * _238a) - _238a, _238e = this._smokeIndex++ % this._effects.length, _238f = this._effects[_238e]; _238f.position.set(_2388 + _238c, _2389 + _238d), _238f.play(_237x.GameData.getTexture(71)); }, _2381.prototype.emitSpark = function(_238g, _238h, _238i) { var _238j = null, _238k = Math.random() * (2 * _238i) - _238i, _238l = Math.random() * (2 * _238i) - _238i, _238m = this._smokeIndex++ % this._effects.length, _238n = this._effects[_238m]; _238n.position.set(_238g + _238k, _238h + _238l), _238n.play(_237x.GameData.getTexture(13)); }, _2381.prototype.dispose = function() { var _238o = null; this.removeChildren(), this._effects.forEach(function(_238p) { var _238q = null; return _238p.dispose(); }), this._effects.length = 0, this._effects = null; }, _2381; }(PIXI.Container); _237c.SimpleEffectContainer = _237y; var _2387 = function(_238r) { var _238s = null; function _238t() { var _238u = null, _238v = _238r.call(this) || this, _238w = new PIXI.Sprite(); return _238w.anchor.set(0.5, 0.5), _238v.addChild(_238w), _238v._sprite = _238w, _238v.visible = !1, _238v; } return _237g(_238t, _238r), _238t.prototype.dispose = function() { var _238x = null; this._task && (this._task.interrupt(), this._task.dispose()), this._sprite.texture = PIXI.Texture.EMPTY, this._sprite = null, this._task = null; }, _238t.prototype.play = function(_238y) { var _238z = null, _2390 = this; null != this._task && (this._task.interrupt(), this._task.dispose()), this.visible = !0; var _2391 = 0.3 * Math.random() + 0.7; this.scale.set(_2391), this._sprite.texture = _238y, this._sprite.scale.set(0.5, 0.5), this._sprite.alpha = 1; var _2392 = _237w['$_$'].Value(this._sprite.scale, { 'x': 1, 'y': 1 }, 150), _2393 = _237w['$_$'].Parallel(function() { return _2394; }, function() { return _2395; }), _2394 = _237w['$_$'].Value(this._sprite.scale, { 'x': 1.2, 'y': 1.2 }, 100), _2395 = _237w['$_$'].Value(this._sprite, { 'alpha': 0 }, 100), _2396 = _237w['$_$'].Sequence(function() { return _2392; }, function() { return _2393; }); _2396.execute(function() { var _2397 = null; _2396.dispose(), _2390.visible = !1, _2390._task = null; }); }, _238t; }(PIXI.Container); }, 54326: function(_2398, _2399, _239a) { 'use strict'; var _239b = null; var _239c, _239d = this && this.__extends || (_239c = function(_239e, _239f) { var _239g = null; return _239c = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_239h, _239i) { var _239j = null; _239h.__proto__ = _239i; } || function(_239k, _239l) { var _239m = null; for (var _239n in _239l) Object.prototype.hasOwnProperty.call(_239l, _239n) && (_239k[_239n] = _239l[_239n]); }, _239c(_239e, _239f); }, function(_239o, _239p) { var _239q = null; if ('function' != typeof _239p && null !== _239p) throw new TypeError('Class extends value ' + String(_239p) + ' is not a constructor or null'); function _239r() { var _239s = null; this.constructor = _239o; } _239c(_239o, _239p), _239o.prototype = null === _239p ? Object.create(_239p) : (_239r.prototype = _239p.prototype, new _239r()); }); defineModule(_2399); Object.defineProperty(_2399, '__esModule', { 'value': !0 }), _2399.StageCutinView = void 0; var _239t = _239a(66993), _239u = _239a(80329), _239v = function(_239w) { var _239x = null; function _239y() { var _239z = null, _23a0 = _239w.call(this) || this, _23a1 = new _23a2(); _23a1.anchor.set(0, 0.5); var _23a3 = new _239t.StageNo(); return _23a0.addChild(_23a1), _23a0.addChild(_23a3), _23a0._bar = _23a1, _23a0._stageNo = _23a3, _23a0; } return _239d(_239y, _239w), Object.defineProperty(_239y.prototype, 'bar', { 'get': function() { var _23a4 = null; return this._bar; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_239y.prototype, 'stageNo', { 'get': function() { var _23a5 = null; return this._stageNo; }, 'enumerable': !1, 'configurable': !0 }), _239y.prototype.dispose = function() { var _23a6 = null; this._bar.dispose(), this._stageNo.dispose(), this._bar = null, this._stageNo = null; }, _239y; }(PIXI.Container); _2399.StageCutinView = _239v; var _23a2 = function(_23a7) { var _23a8 = null; function _23a9() { var _23aa = null; return null !== _23a7 && _23a7.apply(this, arguments) || this; } return _239d(_23a9, _23a7), _23a9.prototype.dispose = function() { var _23ab = null; this.texture = PIXI.Texture.EMPTY; }, _23a9.prototype.setup = function(_23ac) { var _23ad = null, _23ae = 0; _23ac && (_23ae = 43), this.texture = _239u.GameData.getTexture(_23ae); }, _23a9; }(PIXI.Sprite); }, 66993: function(_23af, _23ag, _23ah) { 'use strict'; var _23ai = null; var _23aj, _23ak = this && this.__extends || (_23aj = function(_23al, _23am) { var _23an = null; return _23aj = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_23ao, _23ap) { var _23aq = null; _23ao.__proto__ = _23ap; } || function(_23ar, _23as) { var _23at = null; for (var _23au in _23as) Object.prototype.hasOwnProperty.call(_23as, _23au) && (_23ar[_23au] = _23as[_23au]); }, _23aj(_23al, _23am); }, function(_23av, _23aw) { var _23ax = null; if ('function' != typeof _23aw && null !== _23aw) throw new TypeError('Class extends value ' + String(_23aw) + ' is not a constructor or null'); function _23ay() { var _23az = null; this.constructor = _23av; } _23aj(_23av, _23aw), _23av.prototype = null === _23aw ? Object.create(_23aw) : (_23ay.prototype = _23aw.prototype, new _23ay()); }); defineModule(_23ag); Object.defineProperty(_23ag, '__esModule', { 'value': !0 }), _23ag.StageNo = void 0; var _23b0 = _23ah(7195), _23b1 = _23ah(80329), _23b2 = function(_23b3) { var _23b4 = null; function _23b5() { var _23b6 = null, _23b7 = _23b3.call(this) || this, _23b8 = new PIXI.Sprite(); return _23b7.addChild(_23b8), _23b8.anchor.set(0, 0.5), _23b7._spritePhaseText = _23b8, _23b7; } return _23ak(_23b5, _23b3), _23b5.prototype.dispose = function() { var _23b9 = null; this.removeChildren(), this._animation && (this._animation.interrupt(), this._animation.dispose()), this._animation = null, this._spritePhaseText.texture = PIXI.Texture.EMPTY, this._spritePhaseText = null; }, _23b5.prototype.setup = function(_23ba) { var _23bb = null, _23bc = [64, 64, 65, 66, 67, 68, 69, 70], _23bd = 69; _23ba < _23bc.length && (_23bd = _23bc[_23ba]), this._spritePhaseText.texture = _23b1.GameData.getTexture(_23bd); }, _23b5.prototype.blink = function() { var _23be = null, _23bf = this, _23bg = _23b0['$_$'].LoopFor(function() { return !0; }, function() { var _23bh = null; return _23b0['$_$'].Sequence(function() { var _23bi = null; return _23b0['$_$'].Value(_23bf, { 'alpha': 0.5 }, 300); }, function() { var _23bj = null; return _23b0['$_$'].Value(_23bf, { 'alpha': 1 }, 300); }); }); this._animation = _23bg, _23bg.execute(function() {}); }, _23b5; }(PIXI.Container); _23ag.StageNo = _23b2; }, 75881: function(_23bk, _23bl, _23bm) { 'use strict'; var _23bn = null; var _23bo, _23bp = this && this.__extends || (_23bo = function(_23bq, _23br) { var _23bs = null; return _23bo = Object.setPrototypeOf || { '__proto__': [] } instanceof Array && function(_23bt, _23bu) { var _23bv = null; _23bt.__proto__ = _23bu; } || function(_23bw, _23bx) { var _23by = null; for (var _23bz in _23bx) Object.prototype.hasOwnProperty.call(_23bx, _23bz) && (_23bw[_23bz] = _23bx[_23bz]); }, _23bo(_23bq, _23br); }, function(_23c0, _23c1) { var _23c2 = null; if ('function' != typeof _23c1 && null !== _23c1) throw new TypeError('Class extends value ' + String(_23c1) + ' is not a constructor or null'); function _23c3() { var _23c4 = null; this.constructor = _23c0; } _23bo(_23c0, _23c1), _23c0.prototype = null === _23c1 ? Object.create(_23c1) : (_23c3.prototype = _23c1.prototype, new _23c3()); }); defineModule(_23bl); Object.defineProperty(_23bl, '__esModule', { 'value': !0 }), _23bl.StartButton = void 0; var _23c5 = _23bm(82279), _23c6 = function(_23c7) { var _23c8 = null; function _23c9() { var _23ca = null, _23cb = _23c7.call(this) || this; return _23cb._onClick = function() { var _23cc = null; _23cb.onClick(); }, _23cb.beginFill(0, 0).drawRect(0, 0, 100, 100).endFill(), _23cb.interactive = _23cb.buttonMode = !0, _23cb.addListener(_23c5.InteractiveConst.click, _23cb._onClick), _23cb; } return _23bp(_23c9, _23c7), _23c9.prototype.dispose = function() { var _23cd = null; this.removeChildren(), this.removeAllListeners(_23c5.InteractiveConst.click), this.onClick = null; }, _23c9; }(PIXI.Graphics); _23bl.StartButton = _23c6; }, 21359: (_23ce, _23cf) => { 'use strict'; var _23cg = null; defineModule(_23cf); Object.defineProperty(_23cf, '__esModule', { 'value': !0 }); var _23ch = (function() { var _23ci = null; function _23cj() {} return Object.defineProperty(_23cj, 'width', { 'get': function() { var _23ck = null; return this._width; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23cj, 'height', { 'get': function() { var _23cl = null; return this._height; }, 'enumerable': !1, 'configurable': !0 }), _23cj._width = 1200, _23cj._height = 720, _23cj; }()); _23cf.default = _23ch; }, 18622: (_23cm, _23cn, _23co) => { 'use strict'; var _23cp = null; defineModule(_23cn); Object.defineProperty(_23cn, '__esModule', { 'value': !0 }); var _23cq = _23co(5933), _23cr = _23co(69917), _23cs = _23co(8128), _23ct = _23co(84159), _23cu = _23co(91179), _23cv = _23co(40107), _23cw = _23co(79576), _23cx = _23co(85154), _23cy = (function() { var _23cz = null; function _23d0() { var _23d1 = null; this._view = new _23cw.RootView(), this._settings = new _23cv.SettingsModel(), this._option = new _23cu.OptionModel(), this._model = new _23cq.ModelManager(), this._resource = new _23cr.ResourceManager(), this._scene = new _23cs.SceneManager(), this._sound = new _23ct.SoundManager(), this._friendlyRequest = new _23cx.FriendlyRequestModel(); } return _23d0._getInstance = function() { var _23d2 = null; return null == this._instance && (this._instance = new _23d0()), this._instance; }, Object.defineProperty(_23d0, 'view', { 'get': function() { var _23d3 = null; return _23d0._getInstance()._view; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23d0, 'settings', { 'get': function() { var _23d4 = null; return _23d0._getInstance()._settings; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23d0, 'option', { 'get': function() { var _23d5 = null; return _23d0._getInstance()._option; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23d0, 'model', { 'get': function() { var _23d6 = null; return _23d0._getInstance()._model; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23d0, 'resources', { 'get': function() { var _23d7 = null; return _23d0._getInstance()._resource; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23d0, 'scene', { 'get': function() { var _23d8 = null; return _23d0._getInstance()._scene; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23d0, 'sound', { 'get': function() { var _23d9 = null; return _23d0._getInstance()._sound; }, 'enumerable': !1, 'configurable': !0 }), Object.defineProperty(_23d0, 'friendlyRequest', { 'get': function() { var _23da = null; return _23d0._getInstance()._friendlyRequest; }, 'enumerable': !1, 'configurable': !0 }), _23d0; }()); _23cn.default = _23cy; }, 66608: function(_23db, _23dc, _23dd) { 'use strict'; var _23de = null; var _23df = this && this.__importDefault || function(_23dg) { var _23dh = null; return _23dg && _23dg.__esModule ? _23dg : { 'default': _23dg }; }; defineModule(_23dc); Object.defineProperty(_23dc, '__esModule', { 'value': !0 }); var _23di = _23df(_23dd(18622)), _23dj = _23df(_23dd(21359)), _23dk = _23dd(93788), _23dl = _23dd(92547), _23dm = _23dd(16677), _23dn = { 'init': function() { var _23do = null; createjs.Ticker.timingMode = createjs.Ticker.TIMEOUT, createjs.Ticker.setFPS(60), PIXI.settings.GC_MAX_IDLE = 720, PIXI.settings.GC_MAX_CHECK_COUNT = 360; var _23dp = { 'antialias': !1, 'backgroundColor': 0, 'forceCanvas': _23dl.iOS_device }, _23dq = new PIXI.Application(_23dj.default.width, _23dj.default.height, _23dp); document.body.appendChild(_23dq.view), _23dq.stage.addChild(_23di.default.view); var _23dr = (function() { var _23ds = null, _23dt = {}, _23du = window.location.search.substring(1); if (_23du.length > 0) for (var _23dv = _23du.split('&'), _23dw = 0; _23dw < _23dv.length; _23dw++) { var _23dx = _23dv[_23dw].split('='); 2 == _23dx.length && (_23dt[_23dx[0]] = _23dx[1]); } return _23dt; }()); _23dr.renderer = _23dq.renderer, document.addEventListener('wheel', function(_23dy) { var _23dz = null; if (_23dy.preventDefault(), _23dm.WheelEventUtil.isRegisteredFunc) { var _23e0 = _23dy.deltaY; if (!_23e0) return; var _23e1 = _23dy.timeStamp; _23dm.WheelEventUtil.execute(_23e0, _23e1); } }, { 'passive': !1 }), new _23dk.AppInitializeTask(_23dr).start(); } }; _23dc.default = _23dn; }, 75933: (_23e2, _23e3, _23e4) => { var _23e5; !(function() { var _23e6 = null; function _23e7(_23e8, _23e9, _23ea) { var _23eb = null; return _23e8.call.apply(_23e8.bind, arguments); } function _23ec(_23ed, _23ee, _23ef) { var _23eg = null; if (!_23ed) throw Error(); if (2 < arguments.length) { var _23eh = Array.prototype.slice.call(arguments, 2); return function() { var _23ei = null, _23ej = Array.prototype.slice.call(arguments); return Array.prototype.unshift.apply(_23ej, _23eh), _23ed.apply(_23ee, _23ej); }; } return function() { var _23ek = null; return _23ed.apply(_23ee, arguments); }; } function _23el(_23em, _23en, _23eo) { var _23ep = null; return (_23el = Function.prototype.bind && -1 != Function.prototype.bind.toString().indexOf('native code') ? _23e7 : _23ec).apply(null, arguments); } var _23eq = Date.now || function() { return +new Date(); }; function _23er(_23es, _23et) { var _23eu = null; this.a = _23es, this.o = _23et || _23es, this.c = this.o.document; } var _23ev = !!window.FontFace; function _23ew(_23ex, _23ey, _23ez, _23f0) { var _23f1 = null; if (_23ey = _23ex.c.createElement(_23ey), _23ez) { for (var _23f2 in _23ez) _23ez.hasOwnProperty(_23f2) && ('style' == _23f2 ? _23ey.style.cssText = _23ez[_23f2] : _23ey.setAttribute(_23f2, _23ez[_23f2])); } return _23f0 && _23ey.appendChild(_23ex.c.createTextNode(_23f0)), _23ey; } function _23f3(_23f4, _23f5, _23f6) { var _23f7 = null; (_23f4 = _23f4.c.getElementsByTagName(_23f5)[0]) || (_23f4 = document.documentElement), _23f4.insertBefore(_23f6, _23f4.lastChild); } function _23f8(_23f9) { var _23fa = null; _23f9.parentNode && _23f9.parentNode.removeChild(_23f9); } function _23fb(_23fc, _23fd, _23fe) { var _23ff = null; _23fd = _23fd || [], _23fe = _23fe || []; for (var _23fg = _23fc.className.split(/\s+/), _23fh = 0; _23fh < _23fd.length; _23fh += 1) { for (var _23fi = !1, _23fj = 0; _23fj < _23fg.length; _23fj += 1) if (_23fd[_23fh] === _23fg[_23fj]) { _23fi = !0; break; } _23fi || _23fg.push(_23fd[_23fh]); } for (_23fd = [], _23fh = 0; _23fh < _23fg.length; _23fh += 1) { for (_23fi = !1, _23fj = 0; _23fj < _23fe.length; _23fj += 1) if (_23fg[_23fh] === _23fe[_23fj]) { _23fi = !0; break; } _23fi || _23fd.push(_23fg[_23fh]); } _23fc.className = _23fd.join('\x20').replace(/\s+/g, '\x20').replace(/^\s+|\s+$/, ''); } function _23fk(_23fl, _23fm) { var _23fn = null; for (var _23fo = _23fl.className.split(/\s+/), _23fp = 0, _23fq = _23fo.length; _23fp < _23fq; _23fp++) if (_23fo[_23fp] == _23fm) return !0; return !1; } function _23fr(_23fs, _23ft, _23fu) { var _23fv = null; function _23fw() { _23fx && _23fy && _23fz && (_23fx(_23g0), _23fx = null); } _23ft = _23ew(_23fs, 'link', { 'rel': 'stylesheet', 'href': _23ft, 'media': 'all' }); var _23fy = !1, _23fz = !0, _23g0 = null, _23fx = _23fu || null; _23ev ? (_23ft.onload = function() { _23fy = !0, _23fw(); }, _23ft.onerror = function() { var _23g1 = null; _23fy = !0, _23g0 = Error('Stylesheet failed to load'), _23fw(); }) : setTimeout(function() { _23fy = !0, _23fw(); }, 0), _23f3(_23fs, 'head', _23ft); } function _23g2(_23g3, _23g4, _23g5, _23g6) { var _23g7 = null, _23g8 = _23g3.c.getElementsByTagName('head')[0]; if (_23g8) { var _23g9 = _23ew(_23g3, 'script', { 'src': _23g4 }), _23ga = !1; return _23g9.onload = _23g9.onreadystatechange = function() { var _23gb = null; _23ga || this.readyState && 'loaded' != this.readyState && 'complete' != this.readyState || (_23ga = !0, _23g5 && _23g5(null), _23g9.onload = _23g9.onreadystatechange = null, 'HEAD' == _23g9.parentNode.tagName && _23g8.removeChild(_23g9)); }, _23g8.appendChild(_23g9), setTimeout(function() { var _23gc = null; _23ga || (_23ga = !0, _23g5 && _23g5(Error('Script load timeout'))); }, _23g6 || 5000), _23g9; } return null; } function _23gd() { this.a = 0, this.c = null; } function _23ge(_23gf) { return _23gf.a++, function() { _23gf.a--, _23gg(_23gf); }; } function _23gh(_23gi, _23gj) { _23gi.c = _23gj, _23gg(_23gi); } function _23gg(_23gk) { 0 == _23gk.a && _23gk.c && (_23gk.c(), _23gk.c = null); } function _23gl(_23gm) { this.a = _23gm || '-'; } function _23gn(_23go, _23gp) { var _23gq = null; this.c = _23go, this.f = 4, this.a = 'n'; var _23gr = (_23gp || 'n4').match(/^([nio])([1-9])$/i); _23gr && (this.a = _23gr[1], this.f = parseInt(_23gr[2], 10)); } function _23gs(_23gt) { var _23gu = null, _23gv = []; _23gt = _23gt.split(/,\s*/); for (var _23gw = 0; _23gw < _23gt.length; _23gw++) { var _23gx = _23gt[_23gw].replace(/['"]/g, ''); - 1 != _23gx.indexOf('\x20') || /^\d/ ['test'](_23gx) ? _23gv.push('\x27' + _23gx + '\x27') : _23gv.push(_23gx); } return _23gv.join(','); } function _23gy(_23gz) { return _23gz.a + _23gz.f; } function _23h0(_23h1) { var _23h2 = null, _23h3 = 'normal'; return 'o' === _23h1.a ? _23h3 = 'oblique' : 'i' === _23h1.a && (_23h3 = 'italic'), _23h3; } function _23h4(_23h5) { var _23h6 = null, _23h7 = 4, _23h8 = 'n', _23h9 = null; return _23h5 && ((_23h9 = _23h5.match(/(normal|oblique|italic)/i)) && _23h9[1] && (_23h8 = _23h9[1].substr(0, 1).toLowerCase()), (_23h9 = _23h5.match(/([1-9]00|normal|bold)/i)) && _23h9[1] && (/bold/i ['test'](_23h9[1]) ? _23h7 = 7 : /[1-9]00/ ['test'](_23h9[1]) && (_23h7 = parseInt(_23h9[1].substr(0, 1), 10)))), _23h8 + _23h7; } function _23ha(_23hb, _23hc) { var _23hd = null; this.c = _23hb, this.f = _23hb.o.document.documentElement, this.h = _23hc, this.a = new _23gl('-'), this.j = !1 !== _23hc.events, this.g = !1 !== _23hc.classes; } function _23he(_23hf) { var _23hg = null; if (_23hf.g) { var _23hh = _23fk(_23hf.f, _23hf.a.c('wf', 'active')), _23hi = [], _23hj = [_23hf.a.c('wf', 'loading')]; _23hh || _23hi.push(_23hf.a.c('wf', 'inactive')), _23fb(_23hf.f, _23hi, _23hj); } _23hk(_23hf, 'inactive'); } function _23hk(_23hl, _23hm, _23hn) { _23hl.j && _23hl.h[_23hm] && (_23hn ? _23hl.h[_23hm](_23hn.c, _23gy(_23hn)) : _23hl.h[_23hm]()); } function _23ho() { this.c = {}; } function _23hp(_23hq, _23hr) { var _23hs = null; this.c = _23hq, this.f = _23hr, this.a = _23ew(this.c, 'span', { 'aria-hidden': 'true' }, this.f); } function _23ht(_23hu) { var _23hv = null; _23f3(_23hu.c, 'body', _23hu.a); } function _23hw(_23hx) { var _23hy = null; return 'display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:' + _23gs(_23hx.c) + ';font-style:' + _23h0(_23hx) + ';font-weight:' + _23hx.f + '00;'; } function _23hz(_23i0, _23i1, _23i2, _23i3, _23i4, _23i5) { this.g = _23i0, this.j = _23i1, this.a = _23i3, this.c = _23i2, this.f = _23i4 || 3000, this.h = _23i5 || void 0; } function _23i6(_23i7, _23i8, _23i9, _23ia, _23ib, _23ic, _23id) { var _23ie = null; this.v = _23i7, this.B = _23i8, this.c = _23i9, this.a = _23ia, this.s = _23id || 'BESbswy', this.f = {}, this.w = _23ib || 3000, this.u = _23ic || null, this.m = this.j = this.h = this.g = null, this.g = new _23hp(this.c, this.s), this.h = new _23hp(this.c, this.s), this.j = new _23hp(this.c, this.s), this.m = new _23hp(this.c, this.s), _23i7 = _23hw(_23i7 = new _23gn(this.a.c + ',serif', _23gy(this.a))), this.g.a.style.cssText = _23i7, _23i7 = _23hw(_23i7 = new _23gn(this.a.c + ',sans-serif', _23gy(this.a))), this.h.a.style.cssText = _23i7, _23i7 = _23hw(_23i7 = new _23gn('serif', _23gy(this.a))), this.j.a.style.cssText = _23i7, _23i7 = _23hw(_23i7 = new _23gn('sans-serif', _23gy(this.a))), this.m.a.style.cssText = _23i7, _23ht(this.g), _23ht(this.h), _23ht(this.j), _23ht(this.m); } _23gl.prototype.c = function(_23if) { var _23ig = null; for (var _23ih = [], _23ii = 0; _23ii < arguments.length; _23ii++) _23ih.push(arguments[_23ii].replace(/[\W_]+/g, '').toLowerCase()); return _23ih.join(this.a); }, _23hz.prototype.start = function() { var _23ij = null, _23ik = this.c.o.document, _23il = this, _23im = _23eq(), _23in = new Promise(function(_23io, _23ip) { ! function _23iq() { var _23ir = null; _23eq() - _23im >= _23il.f ? _23ip() : _23ik.fonts.load(function(_23is) { var _23it = null; return _23h0(_23is) + '\x20' + _23is.f + '00 300px ' + _23gs(_23is.c); }(_23il.a), _23il.h).then(function(_23iu) { var _23iv = null; 1 <= _23iu.length ? _23io() : setTimeout(_23iq, 25); }, function() { _23ip(); }); }(); }), _23iw = null, _23ix = new Promise(function(_23iy, _23iz) { _23iw = setTimeout(_23iz, _23il.f); }); Promise.race([_23ix, _23in]).then(function() { _23iw && (clearTimeout(_23iw), _23iw = null), _23il.g(_23il.a); }, function() { _23il.j(_23il.a); }); }; var _23j0 = { 'D': 'serif', 'C': 'sans-serif' }, _23j1 = null; function _23j2() { var _23j3 = null; if (null === _23j1) { var _23j4 = /AppleWebKit\/([0-9]+)(?:\.([0-9]+))/ ['exec'](window.navigator.userAgent); _23j1 = !!_23j4 && (536 > parseInt(_23j4[1], 10) || 536 === parseInt(_23j4[1], 10) && 11 >= parseInt(_23j4[2], 10)); } return _23j1; } function _23j5(_23j6, _23j7, _23j8) { var _23j9 = null; for (var _23ja in _23j0) if (_23j0.hasOwnProperty(_23ja) && _23j7 === _23j6.f[_23j0[_23ja]] && _23j8 === _23j6.f[_23j0[_23ja]]) return !0; return !1; } function _23jb(_23jc) { var _23jd = null, _23je, _23jf = _23jc.g.a.offsetWidth, _23jg = _23jc.h.a.offsetWidth; (_23je = _23jf === _23jc.f.serif && _23jg === _23jc.f['sans-serif']) || (_23je = _23j2() && _23j5(_23jc, _23jf, _23jg)), _23je ? _23eq() - _23jc.A >= _23jc.w ? _23j2() && _23j5(_23jc, _23jf, _23jg) && (null === _23jc.u || _23jc.u.hasOwnProperty(_23jc.a.c)) ? _23jh(_23jc, _23jc.v) : _23jh(_23jc, _23jc.B) : function(_23ji) { setTimeout(_23el(function() { _23jb(this); }, _23ji), 50); }(_23jc) : _23jh(_23jc, _23jc.v); } function _23jh(_23jj, _23jk) { setTimeout(_23el(function() { _23f8(this.g.a), _23f8(this.h.a), _23f8(this.j.a), _23f8(this.m.a), _23jk(this.a); }, _23jj), 0); } function _23jl(_23jm, _23jn, _23jo) { this.c = _23jm, this.a = _23jn, this.f = 0, this.m = this.j = !1, this.s = _23jo; } _23i6.prototype.start = function() { var _23jp = null; this.f.serif = this.j.a.offsetWidth, this.f['sans-serif'] = this.m.a.offsetWidth, this.A = _23eq(), _23jb(this); }; var _23jq = null; function _23jr(_23js) { var _23jt = null; 0 == --_23js.f && _23js.j && (_23js.m ? ((_23js = _23js.a).g && _23fb(_23js.f, [_23js.a.c('wf', 'active')], [_23js.a.c('wf', 'loading'), _23js.a.c('wf', 'inactive')]), _23hk(_23js, 'active')) : _23he(_23js.a)); } function _23ju(_23jv) { this.j = _23jv, this.a = new _23ho(), this.h = 0, this.f = this.g = !0; } function _23jw(_23jx, _23jy, _23jz, _23k0, _23k1) { var _23k2 = 0 == --_23jx.h; (_23jx.f || _23jx.g) && setTimeout(function() { var _23k3 = null, _23k4 = _23k1 || null, _23k5 = _23k0 || {}; if (0 === _23jz.length && _23k2) _23he(_23jy.a); else { _23jy.f += _23jz.length, _23k2 && (_23jy.j = _23k2); var _23k6, _23k7 = []; for (_23k6 = 0; _23k6 < _23jz.length; _23k6++) { var _23k8 = _23jz[_23k6], _23k9 = _23k5[_23k8.c], _23ka = _23jy.a, _23kb = _23k8; if (_23ka.g && _23fb(_23ka.f, [_23ka.a.c('wf', _23kb.c, _23gy(_23kb).toString(), 'loading')]), _23hk(_23ka, 'fontloading', _23kb), _23ka = null, null === _23jq) { if (window.FontFace) { _23kb = /Gecko.*Firefox\/(\d+)/ ['exec'](window.navigator.userAgent); var _23kc = /OS X.*Version\/10\..*Safari/ ['exec'](window.navigator.userAgent) && /Apple/ ['exec'](window.navigator.vendor); _23jq = _23kb ? 42 < parseInt(_23kb[1], 10) : !_23kc; } else _23jq = !1; } _23ka = _23jq ? new _23hz(_23el(_23jy.g, _23jy), _23el(_23jy.h, _23jy), _23jy.c, _23k8, _23jy.s, _23k9) : new _23i6(_23el(_23jy.g, _23jy), _23el(_23jy.h, _23jy), _23jy.c, _23k8, _23jy.s, _23k4, _23k9), _23k7.push(_23ka); } for (_23k6 = 0; _23k6 < _23k7.length; _23k6++) _23k7[_23k6].start(); } }, 0); } function _23kd(_23ke, _23kf) { this.c = _23ke, this.a = _23kf; } function _23kg(_23kh, _23ki) { this.c = _23kh, this.a = _23ki; } function _23kj(_23kk, _23kl) { this.c = _23kk || _23km, this.a = [], this.f = [], this.g = _23kl || ''; } _23jl.prototype.g = function(_23kn) { var _23ko = null, _23kp = this.a; _23kp.g && _23fb(_23kp.f, [_23kp.a.c('wf', _23kn.c, _23gy(_23kn).toString(), 'active')], [_23kp.a.c('wf', _23kn.c, _23gy(_23kn).toString(), 'loading'), _23kp.a.c('wf', _23kn.c, _23gy(_23kn).toString(), 'inactive')]), _23hk(_23kp, 'fontactive', _23kn), this.m = !0, _23jr(this); }, _23jl.prototype.h = function(_23kq) { var _23kr = null, _23ks = this.a; if (_23ks.g) { var _23kt = _23fk(_23ks.f, _23ks.a.c('wf', _23kq.c, _23gy(_23kq).toString(), 'active')), _23ku = [], _23kv = [_23ks.a.c('wf', _23kq.c, _23gy(_23kq).toString(), 'loading')]; _23kt || _23ku.push(_23ks.a.c('wf', _23kq.c, _23gy(_23kq).toString(), 'inactive')), _23fb(_23ks.f, _23ku, _23kv); } _23hk(_23ks, 'fontinactive', _23kq), _23jr(this); }, _23ju.prototype.load = function(_23kw) { var _23kx = null; this.c = new _23er(this.j, _23kw.context || this.j), this.g = !1 !== _23kw.events, this.f = !1 !== _23kw.classes, function(_23ky, _23kz, _23l0) { var _23l1 = null, _23l2 = [], _23l3 = _23l0.timeout; ! function(_23l4) { var _23l5 = null; _23l4.g && _23fb(_23l4.f, [_23l4.a.c('wf', 'loading')]), _23hk(_23l4, 'loading'); }(_23kz), _23l2 = function(_23l6, _23l7, _23l8) { var _23l9 = null, _23la, _23lb = []; for (_23la in _23l7) if (_23l7.hasOwnProperty(_23la)) { var _23lc = _23l6.c[_23la]; _23lc && _23lb.push(_23lc(_23l7[_23la], _23l8)); } return _23lb; }(_23ky.a, _23l0, _23ky.c); var _23ld = new _23jl(_23ky.c, _23kz, _23l3); for (_23ky.h = _23l2.length, _23kz = 0, _23l0 = _23l2.length; _23kz < _23l0; _23kz++) _23l2[_23kz].load(function(_23le, _23lf, _23lg) { _23jw(_23ky, _23ld, _23le, _23lf, _23lg); }); }(this, new _23ha(this.c, _23kw), _23kw); }, _23kd.prototype.load = function(_23lh) { var _23li = null; function _23lj() { var _23lk = null; if (_23ll['__mti_fntLst' + _23lm]) { var _23ln, _23lo = _23ll['__mti_fntLst' + _23lm](), _23lp = []; if (_23lo) for (var _23lq = 0; _23lq < _23lo.length; _23lq++) { var _23lr = _23lo[_23lq].fontfamily; null != _23lo[_23lq].fontStyle && null != _23lo[_23lq].fontWeight ? (_23ln = _23lo[_23lq].fontStyle + _23lo[_23lq].fontWeight, _23lp.push(new _23gn(_23lr, _23ln))) : _23lp.push(new _23gn(_23lr)); } _23lh(_23lp); } else setTimeout(function() { _23lj(); }, 50); } var _23ls = this, _23lm = _23ls.a.projectId, _23lt = _23ls.a.version; if (_23lm) { var _23ll = _23ls.c.o; _23g2(this.c, (_23ls.a.api || 'https://fast.fonts.net/jsapi') + '/' + _23lm + '.js' + (_23lt ? '?v=' + _23lt : ''), function(_23lu) { var _23lv = null; _23lu ? _23lh([]) : (_23ll['__MonotypeConfiguration__' + _23lm] = function() { return _23ls.a; }, _23lj()); }).id = '__MonotypeAPIScript__' + _23lm; } else _23lh([]); }, _23kg.prototype.load = function(_23lw) { var _23lx = null, _23ly, _23lz, _23m0 = this.a.urls || [], _23m1 = this.a.families || [], _23m2 = this.a.testStrings || {}, _23m3 = new _23gd(); for (_23ly = 0, _23lz = _23m0.length; _23ly < _23lz; _23ly++) _23fr(this.c, _23m0[_23ly], _23ge(_23m3)); var _23m4 = []; for (_23ly = 0, _23lz = _23m1.length; _23ly < _23lz; _23ly++) if ((_23m0 = _23m1[_23ly].split(':'))[1]) { for (var _23m5 = _23m0[1].split(','), _23m6 = 0; _23m6 < _23m5.length; _23m6 += 1) _23m4.push(new _23gn(_23m0[0], _23m5[_23m6])); } else _23m4.push(new _23gn(_23m0[0])); _23gh(_23m3, function() { _23lw(_23m4, _23m2); }); }; var _23km = 'https://fonts.googleapis.com/css'; function _23m7(_23m8) { this.f = _23m8, this.a = [], this.c = {}; } var _23m9 = { 'latin': 'BESbswy', 'latin-ext': 'çöüğş', 'cyrillic': 'йяЖ', 'greek': 'αβΣ', 'khmer': 'កខគ', 'Hanuman': 'កខគ' }, _23ma = { 'thin': '1', 'extralight': '2', 'extra-light': '2', 'ultralight': '2', 'ultra-light': '2', 'light': '3', 'regular': '4', 'book': '4', 'medium': '5', 'semi-bold': '6', 'semibold': '6', 'demi-bold': '6', 'demibold': '6', 'bold': '7', 'extra-bold': '8', 'extrabold': '8', 'ultra-bold': '8', 'ultrabold': '8', 'black': '9', 'heavy': '9', 'l': '3', 'r': '4', 'b': '7' }, _23mb = { 'i': 'i', 'italic': 'i', 'n': 'n', 'normal': 'n' }, _23mc = /^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/; function _23md(_23me, _23mf) { this.c = _23me, this.a = _23mf; } var _23mg = { 'Arimo': !0, 'Cousine': !0, 'Tinos': !0 }; function _23mh(_23mi, _23mj) { this.c = _23mi, this.a = _23mj; } function _23mk(_23ml, _23mm) { this.c = _23ml, this.f = _23mm, this.a = []; } _23md.prototype.load = function(_23mn) { var _23mo = null, _23mp = new _23gd(), _23mq = this.c, _23mr = new _23kj(this.a.api, this.a.text), _23ms = this.a.families; ! function(_23mt, _23mu) { var _23mv = null; for (var _23mw = _23mu.length, _23mx = 0; _23mx < _23mw; _23mx++) { var _23my = _23mu[_23mx].split(':'); 3 == _23my.length && _23mt.f.push(_23my.pop()); var _23mz = ''; 2 == _23my.length && '' != _23my[1] && (_23mz = ':'), _23mt.a.push(_23my.join(_23mz)); } }(_23mr, _23ms); var _23n0 = new _23m7(_23ms); ! function(_23n1) { var _23n2 = null; for (var _23n3 = _23n1.f.length, _23n4 = 0; _23n4 < _23n3; _23n4++) { var _23n5 = _23n1.f[_23n4].split(':'), _23n6 = _23n5[0].replace(/\+/g, '\x20'), _23n7 = ['n4']; if (2 <= _23n5.length) { var _23n8; if (_23n8 = [], _23n9 = _23n5[1]) for (var _23n9, _23na = (_23n9 = _23n9.split(',')).length, _23nb = 0; _23nb < _23na; _23nb++) { var _23nc; if ((_23nc = _23n9[_23nb]).match(/^[\w-]+$/)) { if (null == (_23nd = _23mc.exec(_23nc.toLowerCase()))) _23nc = ''; else { if (_23nc = null == (_23nc = _23nd[2]) || '' == _23nc ? 'n' : _23mb[_23nc], null == (_23nd = _23nd[1]) || '' == _23nd) _23nd = '4'; else var _23nd = _23ma[_23nd] || (isNaN(_23nd) ? '4' : _23nd.substr(0, 1)); _23nc = [_23nc, _23nd].join(''); } } else _23nc = ''; _23nc && _23n8.push(_23nc); } 0 < _23n8.length && (_23n7 = _23n8), 3 == _23n5.length && (_23n8 = [], 0 < (_23n5 = (_23n5 = _23n5[2]) ? _23n5.split(',') : _23n8).length && (_23n5 = _23m9[_23n5[0]]) && (_23n1.c[_23n6] = _23n5)); } for (_23n1.c[_23n6] || (_23n5 = _23m9[_23n6]) && (_23n1.c[_23n6] = _23n5), _23n5 = 0; _23n5 < _23n7.length; _23n5 += 1) _23n1.a.push(new _23gn(_23n6, _23n7[_23n5])); } }(_23n0), _23fr(_23mq, function(_23ne) { var _23nf = null; if (0 == _23ne.a.length) throw Error('No fonts to load!'); if (-1 != _23ne.c.indexOf('kit=')) return _23ne.c; for (var _23ng = _23ne.a.length, _23nh = [], _23ni = 0; _23ni < _23ng; _23ni++) _23nh.push(_23ne.a[_23ni].replace(/ /g, '+')); return _23ng = _23ne.c + '?family=' + _23nh.join('%7C'), 0 < _23ne.f.length && (_23ng += '&subset=' + _23ne.f.join(',')), 0 < _23ne.g.length && (_23ng += '&text=' + encodeURIComponent(_23ne.g)), _23ng; }(_23mr), _23ge(_23mp)), _23gh(_23mp, function() { _23mn(_23n0.a, _23n0.c, _23mg); }); }, _23mh.prototype.load = function(_23nj) { var _23nk = null, _23nl = this.a.id, _23nm = this.c.o; _23nl ? _23g2(this.c, (this.a.api || 'https://use.typekit.net') + '/' + _23nl + '.js', function(_23nn) { var _23no = null; if (_23nn) _23nj([]); else { if (_23nm.Typekit && _23nm.Typekit.config && _23nm.Typekit.config.fn) { _23nn = _23nm.Typekit.config.fn; for (var _23np = [], _23nq = 0; _23nq < _23nn.length; _23nq += 2) for (var _23nr = _23nn[_23nq], _23ns = _23nn[_23nq + 1], _23nt = 0; _23nt < _23ns.length; _23nt++) _23np.push(new _23gn(_23nr, _23ns[_23nt])); try { _23nm.Typekit.load({ 'events': !1, 'classes': !1, 'async': !0 }); } catch (_23nu) {} _23nj(_23np); } } }, 2000) : _23nj([]); }, _23mk.prototype.load = function(_23nv) { var _23nw = null, _23nx = this.f.id, _23ny = this.c.o, _23nz = this; _23nx ? (_23ny.__webfontfontdeckmodule__ || (_23ny.__webfontfontdeckmodule__ = {}), _23ny.__webfontfontdeckmodule__[_23nx] = function(_23o0, _23o1) { var _23o2 = null; for (var _23o3 = 0, _23o4 = _23o1.fonts.length; _23o3 < _23o4; ++_23o3) { var _23o5 = _23o1.fonts[_23o3]; _23nz.a.push(new _23gn(_23o5.name, _23h4('font-weight:' + _23o5.weight + ';font-style:' + _23o5.style))); } _23nv(_23nz.a); }, _23g2(this.c, (this.f.api || 'https://f.fontdeck.com/s/css/js/') + function(_23o6) { var _23o7 = null; return _23o6.o.location.hostname || _23o6.a.location.hostname; }(this.c) + '/' + _23nx + '.js', function(_23o8) { _23o8 && _23nv([]); })) : _23nv([]); }; var _23o9 = new _23ju(window); _23o9.a.c.custom = function(_23oa, _23ob) { return new _23kg(_23ob, _23oa); }, _23o9.a.c.fontdeck = function(_23oc, _23od) { return new _23mk(_23od, _23oc); }, _23o9.a.c.monotype = function(_23oe, _23of) { return new _23kd(_23of, _23oe); }, _23o9.a.c.typekit = function(_23og, _23oh) { return new _23mh(_23oh, _23og); }, _23o9.a.c.google = function(_23oi, _23oj) { return new _23md(_23oj, _23oi); }; var _23ok = { 'load': _23el(_23o9.load, _23o9) }; void 0 === (_23e5 = function() { return _23ok; } ['call'](_23e3, _23e4, _23e3, _23e2)) || (_23e2.exports = _23e5); }()); }, 83300: _23ol => { 'use strict'; var _23om = null; _23ol.exports = _4; }, 870: _23on => { 'use strict'; var _23oo = null; _23on.exports = _5; }, 24654: () => {}, 19140: _23op => { 'use strict'; var _23oq = null; _23op.exports = JSON.parse('{"resource":[6657,5699,3371,8909,7719,6229,5449,8561,2987,5501,3127,9319,4365,9811,9927,2423,3439,1865,5925,4409,5509,1517,9695,9255,5325,3691,5519,6949,5607,9539,4133,7795,5465,2659,6381,6875,4019,9195,5645,2887,1213,1815,8671,3015,3147,2991,7977,7045,1619,7909,4451,6573,4545,8251,5983,2849,7249,7449,9477,5963,2711,9019,7375,2201,5631,4893,7653,3719,8819,5839,1853,9843,9119,7023,5681,2345,9873,6349,9315,3795,9737,4633,4173,7549,7171,6147,4723,5039,2723,7815,6201,5999,5339,4431,2911,4435,3611,4423,9517,3243],"voice":[2475,6547,1471,8691,7847,3595,1767,3311,2507,9651,5321,4473,7117,5947,9489,2669,8741,6149,1301,7297,2975,6413,8391,9705,2243,2091,4231,3107,9499,4205,6013,3393,6401,6985,3683,9447,3287,5181,7587,9353,2135,4947,5405,5223,9457,5767,9265,8191,3927,3061,2805,3273,7331]}'); } }, _23or = {}; function _23os(_23ot) { var _23ou = null, _23ov = _23or[_23ot]; if (void 0 !== _23ov) return _23ov.exports; var _23ow = _23or[_23ot] = { 'exports': {} }; return _7[_23ot].call(_23ow.exports, _23ow, _23ow.exports, _23os), _23ow.exports; } _23os.g = (function() { var _23ox = null; if ('object' == typeof globalThis) return globalThis; try { return this || new Function('return this')(); } catch (_23oy) { if ('object' == typeof window) return window; } }()); var _23oz = _23os(66608); return _23oz = _23oz.default; })()));