/* Metro module 4771; source: unknown; dependencies: [77, 57, 4731, 4748] */ function _fun41228(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#41228, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4949:6, offset: 0x011189f3, size: 497 bytes, params: 8, frame: 21 var object3; const env0_0 = require; const closure = function(a0, a1) { var value3; var items = []; var r5 = 0; reducibleLoop1: while (true) { items.push(parsePathPoint(a0, a1 + r5)); value3 = r5 + 8; if (value3 < 24) { r5 = value3; continue reducibleLoop1; } break reducibleLoop1; } return items; }; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const value = importDefault(77) /* metro dependency 77 */; const env0_3 = importDefault(57) /* metro dependency 57 */; object3 = {'CLOSED_SUBPATH_LENGTH': 0, 'CLOSED_SUBPATH_BEZIER_LINKED': 1, 'CLOSED_SUBPATH_BEZIER_UNLINKED': 2, 'OPEN_SUBPATH_LENGTH': 3, 'OPEN_SUBPATH_BEZIER_LINKED': 4, 'OPEN_SUBPATH_BEZIER_UNLINKED': 5, 'FILL_RULE': 6, 'CLIPBOARD': 7, 'INITIAL_FILL_RULE': 8}; const object4 = {}; object4[2000] = {name: 'PathInformation', description: description_41232}; object4[2999] = {name: 'ClippingPathName', description: description_41233}; const CLOSED_SUBPATH_LENGTH = object3.CLOSED_SUBPATH_LENGTH; const value2 = value({}, CLOSED_SUBPATH_LENGTH, {description: 'Closed subpath length', path: path_41234}); const CLOSED_SUBPATH_BEZIER_LINKED = object3.CLOSED_SUBPATH_BEZIER_LINKED; let value3 = value(value2, CLOSED_SUBPATH_BEZIER_LINKED, {description: 'Closed subpath Bezier knot, linked', path: closure}); const CLOSED_SUBPATH_BEZIER_UNLINKED = object3.CLOSED_SUBPATH_BEZIER_UNLINKED; const value4 = value(value3, CLOSED_SUBPATH_BEZIER_UNLINKED, {description: 'Closed subpath Bezier knot, unlinked', path: closure}); const OPEN_SUBPATH_LENGTH = object3.OPEN_SUBPATH_LENGTH; const value5 = value(value4, OPEN_SUBPATH_LENGTH, {description: 'Open subpath length', path: path_41235}); const OPEN_SUBPATH_BEZIER_LINKED = object3.OPEN_SUBPATH_BEZIER_LINKED; const value6 = value(value5, OPEN_SUBPATH_BEZIER_LINKED, {description: 'Open subpath Bezier knot, linked', path: closure}); const OPEN_SUBPATH_BEZIER_UNLINKED = object3.OPEN_SUBPATH_BEZIER_UNLINKED; const value7 = value(value6, OPEN_SUBPATH_BEZIER_UNLINKED, {description: 'Open subpath Bezier knot, unlinked', path: closure}); const FILL_RULE = object3.FILL_RULE; const value8 = value(value7, FILL_RULE, {description: 'Path fill rule', path: function() { return []; }}); const INITIAL_FILL_RULE = object3.INITIAL_FILL_RULE; const value9 = value(value8, INITIAL_FILL_RULE, {description: 'Initial fill rule', path: path_41237}); const CLIPBOARD = object3.CLIPBOARD; const env0_4 = value(value9, CLIPBOARD, {description: 'Clipboard', path: path_41238}); exports.default = object4; exports.PathRecordTypes = object3; } function parsePathPoint(a0, a1) { // fn#41230, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4949:1927, offset: 0x01118c1d, size: 53 bytes, params: 3, frame: 17 const getFixedPointNumberBinding = getFixedPointNumber; return [getFixedPointNumberBinding(a0, a1 + 4, 8), getFixedPointNumberBinding(a0, a1, 8)]; } function getFixedPointNumber(a0, a1, a2) { // fn#41231, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4949:2028, offset: 0x01118c52, size: 240 bytes, params: 4, frame: 24 var value; const longAt = (importDefault(4748) /* metro dependency 4748 */).getLongAt(a0, a1); const r1 = longAt >>> 31 !== 0 ? -1 : 1; const value6 = (2130706432 & longAt) >>> 32 - a2; value = longAt & global.parseInt(Reflect.apply((require(4731) /* metro dependency 4731 */).strRepeat, value, ['1', 32 - a2]), 2); const moduleValue = require(4731) /* metro dependency 4731 */; const parseFloatRadix = moduleValue.parseFloatRadix; const value8 = value6.toString(2) + '.'; const moduleValue2 = moduleValue; const padStart = moduleValue2.padStart; value = value.toString(2); return r1 * Reflect.apply(parseFloatRadix, moduleValue, [value8 + Reflect.apply(padStart, moduleValue2, [value, 32 - a2, '0']), 2]); } function description_41232(a0) { // fn#41232, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4949:380, offset: 0x01118d42, size: 199 bytes, params: 2, frame: 24 var r8; var description; var push; var object3; var property; const object4 = {}; const items2 = []; let byteLength = a0.byteLength; let value = 0; if (value < byteLength) { r8 = value; while (true) { value = importDefault(4748) /* metro dependency 4748 */; value = value.getShortAt(a0, r8); if (env0_4[value]) { if (object4[value]) { continue; } description = env0_4[value].description; object4[value] = description; push = items2.push; object3 = {type: value}; property = env0_4[value]; object3.path = property.path(a0, r8 + 2); Reflect.apply(push, items2, [object3]); } value = r8 + 26; byteLength = a0.byteLength; if (value < byteLength) { r8 = value; continue; } break; } } const JSON = global.JSON; return JSON.stringify({types: object4, paths: items2}); } function description_41233(a0) { // fn#41233, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4949:642, offset: 0x01118e09, size: 61 bytes, params: 2, frame: 16 return env0_3((require(4731) /* metro dependency 4731 */).getPascalStringFromDataView(a0, 0), 2)[1]; } function path_41234(a0, a1) { // fn#41234, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4949:826, offset: 0x01118e46, size: 53 bytes, params: 3, frame: 13 let value = importDefault(4748) /* metro dependency 4748 */; value = value.getShortAt(a0, a1); return [value]; } function path_41238(a0, a1) { // fn#41238, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4949:1644, offset: 0x01118e7b, size: 112 bytes, params: 3, frame: 17 const getFixedPointNumberBinding = getFixedPointNumber; return [[getFixedPointNumberBinding(a0, a1, 8), getFixedPointNumberBinding(a0, a1 + 4, 8), getFixedPointNumberBinding(a0, a1 + 8, 8), getFixedPointNumberBinding(a0, a1 + 12, 8)], getFixedPointNumberBinding(a0, a1 + 16, 8)]; }