@amazon-devices/kepler-graphics 2.3.3 → 2.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SystemBundles/{e1224d435abddb7360ba588396252be76566b2cdc8373c285491d1711dc251d0.bundle → 85e2040f418404d98b11030ca64ecbfc82c6b30d1405fd2340da85bab1c6b9ae.bundle} +8 -8
- package/SystemBundles/{e1224d435abddb7360ba588396252be76566b2cdc8373c285491d1711dc251d0.bundle.map → 85e2040f418404d98b11030ca64ecbfc82c6b30d1405fd2340da85bab1c6b9ae.bundle.map} +1 -1
- package/SystemModules/amzn__kepler-graphics-2.private.modules.txt +5 -5
- package/THIRD_PARTY_NOTICES.txt +35 -0
- package/kepler-compatibility.json +2 -0
- package/package.json +1 -1
|
@@ -1181,7 +1181,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1181
1181
|
}();
|
|
1182
1182
|
exports.DisplayManager = DisplayManager;
|
|
1183
1183
|
exports.default = DisplayManager;
|
|
1184
|
-
},"1abcf9d7f48516798bb3",["3e5595d7eebf5472db10","
|
|
1184
|
+
},"1abcf9d7f48516798bb3",["3e5595d7eebf5472db10","cb664999166f9660a878","68819e29ebee24bb0e88"]);
|
|
1185
1185
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1186
1186
|
"use strict";
|
|
1187
1187
|
|
|
@@ -1317,7 +1317,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1317
1317
|
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
1318
1318
|
}
|
|
1319
1319
|
module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1320
|
-
},"
|
|
1320
|
+
},"cb664999166f9660a878",[]);
|
|
1321
1321
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1322
1322
|
function _defineProperties(e, r) {
|
|
1323
1323
|
for (var t = 0; t < r.length; t++) {
|
|
@@ -1331,14 +1331,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1331
1331
|
}), e;
|
|
1332
1332
|
}
|
|
1333
1333
|
module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1334
|
-
},"
|
|
1334
|
+
},"68819e29ebee24bb0e88",["cbba112244d360ffda7a"]);
|
|
1335
1335
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1336
1336
|
function toPropertyKey(t) {
|
|
1337
1337
|
var i = _$$_REQUIRE(_dependencyMap[0])(t, "string");
|
|
1338
1338
|
return "symbol" == _$$_REQUIRE(_dependencyMap[1])["default"](i) ? i : i + "";
|
|
1339
1339
|
}
|
|
1340
1340
|
module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1341
|
-
},"
|
|
1341
|
+
},"cbba112244d360ffda7a",["ad82d340d0b5dc5f0801","e08c69ed06cf526909e3"]);
|
|
1342
1342
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1343
1343
|
function toPrimitive(t, r) {
|
|
1344
1344
|
if ("object" != _$$_REQUIRE(_dependencyMap[0])["default"](t) || !t) return t;
|
|
@@ -1351,7 +1351,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1351
1351
|
return ("string" === r ? String : Number)(t);
|
|
1352
1352
|
}
|
|
1353
1353
|
module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1354
|
-
},"
|
|
1354
|
+
},"ad82d340d0b5dc5f0801",["e08c69ed06cf526909e3"]);
|
|
1355
1355
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1356
1356
|
function _typeof(o) {
|
|
1357
1357
|
"@babel/helpers - typeof";
|
|
@@ -1363,7 +1363,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1363
1363
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o);
|
|
1364
1364
|
}
|
|
1365
1365
|
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1366
|
-
},"
|
|
1366
|
+
},"e08c69ed06cf526909e3",[]);
|
|
1367
1367
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1368
1368
|
"use strict";
|
|
1369
1369
|
|
|
@@ -1666,7 +1666,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1666
1666
|
}();
|
|
1667
1667
|
exports.Display = Display;
|
|
1668
1668
|
exports.default = Display;
|
|
1669
|
-
},"ac675029e949aab3f4ec",["3e5595d7eebf5472db10","
|
|
1669
|
+
},"ac675029e949aab3f4ec",["3e5595d7eebf5472db10","cb664999166f9660a878","68819e29ebee24bb0e88","b8567ef2eb3c077dadc8"]);
|
|
1670
1670
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
1671
1671
|
"use strict";
|
|
1672
1672
|
|
|
@@ -1739,4 +1739,4 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
1739
1739
|
}();
|
|
1740
1740
|
exports.DisplayController = DisplayController;
|
|
1741
1741
|
exports.default = DisplayController;
|
|
1742
|
-
},"80ca0e817a58b3f128e0",["3e5595d7eebf5472db10","
|
|
1742
|
+
},"80ca0e817a58b3f128e0",["3e5595d7eebf5472db10","cb664999166f9660a878","68819e29ebee24bb0e88"]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["__prelude__","node_modules/@react-native/js-polyfills/console.js","node_modules/@react-native/js-polyfills/error-guard.js","node_modules/@react-native/js-polyfills/Object.es8.js","node_modules/@amazon-devices/kepler-graphics/dist/index.js","node_modules/@amazon-devices/kepler-graphics/dist/types/index.js","node_modules/@amazon-devices/kepler-graphics/dist/types/GraphicsTypes.js","node_modules/@amazon-devices/kepler-graphics/dist/turbo-modules/DisplayManager.js","node_modules/@amazon-devices/kepler-graphics/dist/turbo-modules/AmazonGraphicsTurboModule.js","node_modules/@amazon-devices/keplerscript-turbomodule-api/dist/index.js","node_modules/@amazon-devices/keplerscript-turbomodule-api/dist/turbomodules/TurboModuleRegistry.js","node_modules/@amazon-devices/keplerscript-turbomodule-api/dist/invariant/invariant.js","node_modules/@babel/runtime/helpers/classCallCheck.js","node_modules/@babel/runtime/helpers/createClass.js","node_modules/@babel/runtime/helpers/toPropertyKey.js","node_modules/@babel/runtime/helpers/toPrimitive.js","node_modules/@babel/runtime/helpers/typeof.js","node_modules/@amazon-devices/kepler-graphics/dist/turbo-modules/Display.js","node_modules/@amazon-devices/kepler-graphics/dist/turbo-modules/DisplayController.js"],"sourcesContent":["var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.now(),__DEV__=false,process=this.process||{},__METRO_GLOBAL_PREFIX__='';process.env=process.env||{};process.env.NODE_ENV=process.env.NODE_ENV||\"production\";","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @polyfill\n * @nolint\n * @format\n */\n\n/* eslint-disable no-shadow, eqeqeq, curly, no-unused-vars, no-void, no-control-regex */\n\n/**\n * This pipes all of our console logging functions to native logging so that\n * JavaScript errors in required modules show up in Xcode via NSLog.\n */\nconst inspect = (function () {\n // Copyright Joyent, Inc. and other Node contributors.\n //\n // Permission is hereby granted, free of charge, to any person obtaining a\n // copy of this software and associated documentation files (the\n // \"Software\"), to deal in the Software without restriction, including\n // without limitation the rights to use, copy, modify, merge, publish,\n // distribute, sublicense, and/or sell copies of the Software, and to permit\n // persons to whom the Software is furnished to do so, subject to the\n // following conditions:\n //\n // The above copyright notice and this permission notice shall be included\n // in all copies or substantial portions of the Software.\n //\n // THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n //\n // https://github.com/joyent/node/blob/master/lib/util.js\n\n function inspect(obj, opts) {\n var ctx = {\n seen: [],\n formatValueCalls: 0,\n stylize: stylizeNoColor,\n };\n return formatValue(ctx, obj, opts.depth);\n }\n\n function stylizeNoColor(str, styleType) {\n return str;\n }\n\n function arrayToHash(array) {\n var hash = {};\n\n array.forEach(function (val, idx) {\n hash[val] = true;\n });\n\n return hash;\n }\n\n function formatValue(ctx, value, recurseTimes) {\n ctx.formatValueCalls++;\n if (ctx.formatValueCalls > 200) {\n return `[TOO BIG formatValueCalls ${ctx.formatValueCalls} exceeded limit of 200]`;\n }\n\n // Primitive types cannot have properties\n var primitive = formatPrimitive(ctx, value);\n if (primitive) {\n return primitive;\n }\n\n // Look up the keys of the object.\n var keys = Object.keys(value);\n var visibleKeys = arrayToHash(keys);\n\n // IE doesn't make error fields non-enumerable\n // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx\n if (\n isError(value) &&\n (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)\n ) {\n return formatError(value);\n }\n\n // Some type of object without properties can be shortcutted.\n if (keys.length === 0) {\n if (isFunction(value)) {\n var name = value.name ? ': ' + value.name : '';\n return ctx.stylize('[Function' + name + ']', 'special');\n }\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n }\n if (isDate(value)) {\n return ctx.stylize(Date.prototype.toString.call(value), 'date');\n }\n if (isError(value)) {\n return formatError(value);\n }\n }\n\n var base = '',\n array = false,\n braces = ['{', '}'];\n\n // Make Array say that they are Array\n if (isArray(value)) {\n array = true;\n braces = ['[', ']'];\n }\n\n // Make functions say that they are functions\n if (isFunction(value)) {\n var n = value.name ? ': ' + value.name : '';\n base = ' [Function' + n + ']';\n }\n\n // Make RegExps say that they are RegExps\n if (isRegExp(value)) {\n base = ' ' + RegExp.prototype.toString.call(value);\n }\n\n // Make dates with properties first say the date\n if (isDate(value)) {\n base = ' ' + Date.prototype.toUTCString.call(value);\n }\n\n // Make error with message first say the error\n if (isError(value)) {\n base = ' ' + formatError(value);\n }\n\n if (keys.length === 0 && (!array || value.length == 0)) {\n return braces[0] + base + braces[1];\n }\n\n if (recurseTimes < 0) {\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n } else {\n return ctx.stylize('[Object]', 'special');\n }\n }\n\n ctx.seen.push(value);\n\n var output;\n if (array) {\n output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);\n } else {\n output = keys.map(function (key) {\n return formatProperty(\n ctx,\n value,\n recurseTimes,\n visibleKeys,\n key,\n array,\n );\n });\n }\n\n ctx.seen.pop();\n\n return reduceToSingleString(output, base, braces);\n }\n\n function formatPrimitive(ctx, value) {\n if (isUndefined(value)) return ctx.stylize('undefined', 'undefined');\n if (isString(value)) {\n var simple =\n \"'\" +\n JSON.stringify(value)\n .replace(/^\"|\"$/g, '')\n .replace(/'/g, \"\\\\'\")\n .replace(/\\\\\"/g, '\"') +\n \"'\";\n return ctx.stylize(simple, 'string');\n }\n if (isNumber(value)) return ctx.stylize('' + value, 'number');\n if (isBoolean(value)) return ctx.stylize('' + value, 'boolean');\n // For some reason typeof null is \"object\", so special case here.\n if (isNull(value)) return ctx.stylize('null', 'null');\n }\n\n function formatError(value) {\n return '[' + Error.prototype.toString.call(value) + ']';\n }\n\n function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {\n var output = [];\n for (var i = 0, l = value.length; i < l; ++i) {\n if (hasOwnProperty(value, String(i))) {\n output.push(\n formatProperty(\n ctx,\n value,\n recurseTimes,\n visibleKeys,\n String(i),\n true,\n ),\n );\n } else {\n output.push('');\n }\n }\n keys.forEach(function (key) {\n if (!key.match(/^\\d+$/)) {\n output.push(\n formatProperty(ctx, value, recurseTimes, visibleKeys, key, true),\n );\n }\n });\n return output;\n }\n\n function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {\n var name, str, desc;\n desc = Object.getOwnPropertyDescriptor(value, key) || {value: value[key]};\n if (desc.get) {\n if (desc.set) {\n str = ctx.stylize('[Getter/Setter]', 'special');\n } else {\n str = ctx.stylize('[Getter]', 'special');\n }\n } else {\n if (desc.set) {\n str = ctx.stylize('[Setter]', 'special');\n }\n }\n if (!hasOwnProperty(visibleKeys, key)) {\n name = '[' + key + ']';\n }\n if (!str) {\n if (ctx.seen.indexOf(desc.value) < 0) {\n if (isNull(recurseTimes)) {\n str = formatValue(ctx, desc.value, null);\n } else {\n str = formatValue(ctx, desc.value, recurseTimes - 1);\n }\n if (str.indexOf('\\n') > -1) {\n if (array) {\n str = str\n .split('\\n')\n .map(function (line) {\n return ' ' + line;\n })\n .join('\\n')\n .substr(2);\n } else {\n str =\n '\\n' +\n str\n .split('\\n')\n .map(function (line) {\n return ' ' + line;\n })\n .join('\\n');\n }\n }\n } else {\n str = ctx.stylize('[Circular]', 'special');\n }\n }\n if (isUndefined(name)) {\n if (array && key.match(/^\\d+$/)) {\n return str;\n }\n name = JSON.stringify('' + key);\n if (name.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)) {\n name = name.substr(1, name.length - 2);\n name = ctx.stylize(name, 'name');\n } else {\n name = name\n .replace(/'/g, \"\\\\'\")\n .replace(/\\\\\"/g, '\"')\n .replace(/(^\"|\"$)/g, \"'\");\n name = ctx.stylize(name, 'string');\n }\n }\n\n return name + ': ' + str;\n }\n\n function reduceToSingleString(output, base, braces) {\n var numLinesEst = 0;\n var length = output.reduce(function (prev, cur) {\n numLinesEst++;\n if (cur.indexOf('\\n') >= 0) numLinesEst++;\n return prev + cur.replace(/\\u001b\\[\\d\\d?m/g, '').length + 1;\n }, 0);\n\n if (length > 60) {\n return (\n braces[0] +\n (base === '' ? '' : base + '\\n ') +\n ' ' +\n output.join(',\\n ') +\n ' ' +\n braces[1]\n );\n }\n\n return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];\n }\n\n // NOTE: These type checking functions intentionally don't use `instanceof`\n // because it is fragile and can be easily faked with `Object.create()`.\n function isArray(ar) {\n return Array.isArray(ar);\n }\n\n function isBoolean(arg) {\n return typeof arg === 'boolean';\n }\n\n function isNull(arg) {\n return arg === null;\n }\n\n function isNullOrUndefined(arg) {\n return arg == null;\n }\n\n function isNumber(arg) {\n return typeof arg === 'number';\n }\n\n function isString(arg) {\n return typeof arg === 'string';\n }\n\n function isSymbol(arg) {\n return typeof arg === 'symbol';\n }\n\n function isUndefined(arg) {\n return arg === void 0;\n }\n\n function isRegExp(re) {\n return isObject(re) && objectToString(re) === '[object RegExp]';\n }\n\n function isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n }\n\n function isDate(d) {\n return isObject(d) && objectToString(d) === '[object Date]';\n }\n\n function isError(e) {\n return (\n isObject(e) &&\n (objectToString(e) === '[object Error]' || e instanceof Error)\n );\n }\n\n function isFunction(arg) {\n return typeof arg === 'function';\n }\n\n function objectToString(o) {\n return Object.prototype.toString.call(o);\n }\n\n function hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n }\n\n return inspect;\n})();\n\nconst OBJECT_COLUMN_NAME = '(index)';\nconst LOG_LEVELS = {\n trace: 0,\n info: 1,\n warn: 2,\n error: 3,\n};\nconst INSPECTOR_LEVELS = [];\nINSPECTOR_LEVELS[LOG_LEVELS.trace] = 'debug';\nINSPECTOR_LEVELS[LOG_LEVELS.info] = 'log';\nINSPECTOR_LEVELS[LOG_LEVELS.warn] = 'warning';\nINSPECTOR_LEVELS[LOG_LEVELS.error] = 'error';\n\n// Strip the inner function in getNativeLogFunction(), if in dev also\n// strip method printing to originalConsole.\nconst INSPECTOR_FRAMES_TO_SKIP = __DEV__ ? 2 : 1;\n\nfunction getNativeLogFunction(level) {\n return function () {\n let str;\n if (arguments.length === 1 && typeof arguments[0] === 'string') {\n str = arguments[0];\n } else {\n str = Array.prototype.map\n .call(arguments, function (arg) {\n return inspect(arg, {depth: 10});\n })\n .join(', ');\n }\n\n // TRICKY\n // If more than one argument is provided, the code above collapses them all\n // into a single formatted string. This transform wraps string arguments in\n // single quotes (e.g. \"foo\" -> \"'foo'\") which then breaks the \"Warning:\"\n // check below. So it's important that we look at the first argument, rather\n // than the formatted argument string.\n const firstArg = arguments[0];\n\n let logLevel = level;\n if (\n typeof firstArg === 'string' &&\n firstArg.slice(0, 9) === 'Warning: ' &&\n logLevel >= LOG_LEVELS.error\n ) {\n // React warnings use console.error so that a stack trace is shown,\n // but we don't (currently) want these to show a redbox\n // (Note: Logic duplicated in ExceptionsManager.js.)\n logLevel = LOG_LEVELS.warn;\n }\n if (global.__inspectorLog) {\n global.__inspectorLog(\n INSPECTOR_LEVELS[logLevel],\n str,\n [].slice.call(arguments),\n INSPECTOR_FRAMES_TO_SKIP,\n );\n }\n if (groupStack.length) {\n str = groupFormat('', str);\n }\n global.nativeLoggingHook(str, logLevel);\n };\n}\n\nfunction repeat(element, n) {\n return Array.apply(null, Array(n)).map(function () {\n return element;\n });\n}\n\nfunction consoleTablePolyfill(rows) {\n // convert object -> array\n if (!Array.isArray(rows)) {\n var data = rows;\n rows = [];\n for (var key in data) {\n if (data.hasOwnProperty(key)) {\n var row = data[key];\n row[OBJECT_COLUMN_NAME] = key;\n rows.push(row);\n }\n }\n }\n if (rows.length === 0) {\n global.nativeLoggingHook('', LOG_LEVELS.info);\n return;\n }\n\n var columns = Object.keys(rows[0]).sort();\n var stringRows = [];\n var columnWidths = [];\n\n // Convert each cell to a string. Also\n // figure out max cell width for each column\n columns.forEach(function (k, i) {\n columnWidths[i] = k.length;\n for (var j = 0; j < rows.length; j++) {\n var cellStr = (rows[j][k] || '?').toString();\n stringRows[j] = stringRows[j] || [];\n stringRows[j][i] = cellStr;\n columnWidths[i] = Math.max(columnWidths[i], cellStr.length);\n }\n });\n\n // Join all elements in the row into a single string with | separators\n // (appends extra spaces to each cell to make separators | aligned)\n function joinRow(row, space) {\n var cells = row.map(function (cell, i) {\n var extraSpaces = repeat(' ', columnWidths[i] - cell.length).join('');\n return cell + extraSpaces;\n });\n space = space || ' ';\n return cells.join(space + '|' + space);\n }\n\n var separators = columnWidths.map(function (columnWidth) {\n return repeat('-', columnWidth).join('');\n });\n var separatorRow = joinRow(separators, '-');\n var header = joinRow(columns);\n var table = [header, separatorRow];\n\n for (var i = 0; i < rows.length; i++) {\n table.push(joinRow(stringRows[i]));\n }\n\n // Notice extra empty line at the beginning.\n // Native logging hook adds \"RCTLog >\" at the front of every\n // logged string, which would shift the header and screw up\n // the table\n global.nativeLoggingHook('\\n' + table.join('\\n'), LOG_LEVELS.info);\n}\n\nconst GROUP_PAD = '\\u2502'; // Box light vertical\nconst GROUP_OPEN = '\\u2510'; // Box light down+left\nconst GROUP_CLOSE = '\\u2518'; // Box light up+left\n\nconst groupStack = [];\n\nfunction groupFormat(prefix, msg) {\n // Insert group formatting before the console message\n return groupStack.join('') + prefix + ' ' + (msg || '');\n}\n\nfunction consoleGroupPolyfill(label) {\n global.nativeLoggingHook(groupFormat(GROUP_OPEN, label), LOG_LEVELS.info);\n groupStack.push(GROUP_PAD);\n}\n\nfunction consoleGroupCollapsedPolyfill(label) {\n global.nativeLoggingHook(groupFormat(GROUP_CLOSE, label), LOG_LEVELS.info);\n groupStack.push(GROUP_PAD);\n}\n\nfunction consoleGroupEndPolyfill() {\n groupStack.pop();\n global.nativeLoggingHook(groupFormat(GROUP_CLOSE), LOG_LEVELS.info);\n}\n\nfunction consoleAssertPolyfill(expression, label) {\n if (!expression) {\n global.nativeLoggingHook('Assertion failed: ' + label, LOG_LEVELS.error);\n }\n}\n\nif (global.nativeLoggingHook) {\n const originalConsole = global.console;\n // Preserve the original `console` as `originalConsole`\n if (__DEV__ && originalConsole) {\n const descriptor = Object.getOwnPropertyDescriptor(global, 'console');\n if (descriptor) {\n Object.defineProperty(global, 'originalConsole', descriptor);\n }\n }\n\n global.console = {\n error: getNativeLogFunction(LOG_LEVELS.error),\n info: getNativeLogFunction(LOG_LEVELS.info),\n log: getNativeLogFunction(LOG_LEVELS.info),\n warn: getNativeLogFunction(LOG_LEVELS.warn),\n trace: getNativeLogFunction(LOG_LEVELS.trace),\n debug: getNativeLogFunction(LOG_LEVELS.trace),\n table: consoleTablePolyfill,\n group: consoleGroupPolyfill,\n groupEnd: consoleGroupEndPolyfill,\n groupCollapsed: consoleGroupCollapsedPolyfill,\n assert: consoleAssertPolyfill,\n };\n\n Object.defineProperty(console, '_isPolyfilled', {\n value: true,\n enumerable: false,\n });\n\n // If available, also call the original `console` method since that is\n // sometimes useful. Ex: on OS X, this will let you see rich output in\n // the Safari Web Inspector console.\n if (__DEV__ && originalConsole) {\n Object.keys(console).forEach(methodName => {\n const reactNativeMethod = console[methodName];\n if (originalConsole[methodName]) {\n console[methodName] = function () {\n originalConsole[methodName](...arguments);\n reactNativeMethod.apply(console, arguments);\n };\n }\n });\n\n // The following methods are not supported by this polyfill but\n // we still should pass them to original console if they are\n // supported by it.\n ['clear', 'dir', 'dirxml', 'profile', 'profileEnd'].forEach(methodName => {\n if (typeof originalConsole[methodName] === 'function') {\n console[methodName] = function () {\n originalConsole[methodName](...arguments);\n };\n }\n });\n }\n} else if (!global.console) {\n function stub() {}\n const log = global.print || stub;\n\n global.console = {\n debug: log,\n error: log,\n info: log,\n log: log,\n trace: log,\n warn: log,\n assert(expression, label) {\n if (!expression) {\n log('Assertion failed: ' + label);\n }\n },\n clear: stub,\n dir: stub,\n dirxml: stub,\n group: stub,\n groupCollapsed: stub,\n groupEnd: stub,\n profile: stub,\n profileEnd: stub,\n table: stub,\n };\n\n Object.defineProperty(console, '_isPolyfilled', {\n value: true,\n enumerable: false,\n });\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n * @polyfill\n */\n\nlet _inGuard = 0;\n\ntype ErrorHandler = (error: mixed, isFatal: boolean) => void;\ntype Fn<Args, Return> = (...Args) => Return;\n\n/**\n * This is the error handler that is called when we encounter an exception\n * when loading a module. This will report any errors encountered before\n * ExceptionsManager is configured.\n */\nlet _globalHandler: ErrorHandler = function onError(\n e: mixed,\n isFatal: boolean,\n) {\n throw e;\n};\n\n/**\n * The particular require runtime that we are using looks for a global\n * `ErrorUtils` object and if it exists, then it requires modules with the\n * error handler specified via ErrorUtils.setGlobalHandler by calling the\n * require function with applyWithGuard. Since the require module is loaded\n * before any of the modules, this ErrorUtils must be defined (and the handler\n * set) globally before requiring anything.\n */\nconst ErrorUtils = {\n setGlobalHandler(fun: ErrorHandler): void {\n _globalHandler = fun;\n },\n getGlobalHandler(): ErrorHandler {\n return _globalHandler;\n },\n reportError(error: mixed): void {\n _globalHandler && _globalHandler(error, false);\n },\n reportFatalError(error: mixed): void {\n // NOTE: This has an untyped call site in Metro.\n _globalHandler && _globalHandler(error, true);\n },\n applyWithGuard<TArgs: $ReadOnlyArray<mixed>, TOut>(\n fun: Fn<TArgs, TOut>,\n context?: ?mixed,\n args?: ?TArgs,\n // Unused, but some code synced from www sets it to null.\n unused_onError?: null,\n // Some callers pass a name here, which we ignore.\n unused_name?: ?string,\n ): ?TOut {\n try {\n _inGuard++;\n /* $FlowFixMe[incompatible-call] : TODO T48204745 (1) apply(context,\n * null) is fine. (2) array -> rest array should work */\n /* $FlowFixMe[incompatible-type] : TODO T48204745 (1) apply(context,\n * null) is fine. (2) array -> rest array should work */\n return fun.apply(context, args);\n } catch (e) {\n ErrorUtils.reportError(e);\n } finally {\n _inGuard--;\n }\n return null;\n },\n applyWithGuardIfNeeded<TArgs: $ReadOnlyArray<mixed>, TOut>(\n fun: Fn<TArgs, TOut>,\n context?: ?mixed,\n args?: ?TArgs,\n ): ?TOut {\n if (ErrorUtils.inGuard()) {\n /* $FlowFixMe[incompatible-call] : TODO T48204745 (1) apply(context,\n * null) is fine. (2) array -> rest array should work */\n /* $FlowFixMe[incompatible-type] : TODO T48204745 (1) apply(context,\n * null) is fine. (2) array -> rest array should work */\n return fun.apply(context, args);\n } else {\n ErrorUtils.applyWithGuard(fun, context, args);\n }\n return null;\n },\n inGuard(): boolean {\n return !!_inGuard;\n },\n guard<TArgs: $ReadOnlyArray<mixed>, TOut>(\n fun: Fn<TArgs, TOut>,\n name?: ?string,\n context?: ?mixed,\n ): ?(...TArgs) => ?TOut {\n // TODO: (moti) T48204753 Make sure this warning is never hit and remove it - types\n // should be sufficient.\n if (typeof fun !== 'function') {\n console.warn('A function must be passed to ErrorUtils.guard, got ', fun);\n return null;\n }\n const guardName = name ?? fun.name ?? '<generated guard>';\n /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\n function guarded(...args: TArgs): ?TOut {\n return ErrorUtils.applyWithGuard(\n fun,\n context ?? this,\n args,\n null,\n guardName,\n );\n }\n\n return guarded;\n },\n};\n\nglobal.ErrorUtils = ErrorUtils;\n\nexport type ErrorUtilsT = typeof ErrorUtils;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @polyfill\n * @nolint\n */\n\n(function () {\n 'use strict';\n\n const hasOwnProperty = Object.prototype.hasOwnProperty;\n\n /**\n * Returns an array of the given object's own enumerable entries.\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries\n */\n if (typeof Object.entries !== 'function') {\n Object.entries = function (object) {\n // `null` and `undefined` values are not allowed.\n if (object == null) {\n throw new TypeError('Object.entries called on non-object');\n }\n\n const entries = [];\n for (const key in object) {\n if (hasOwnProperty.call(object, key)) {\n entries.push([key, object[key]]);\n }\n }\n return entries;\n };\n }\n\n /**\n * Returns an array of the given object's own enumerable entries.\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/values\n */\n if (typeof Object.values !== 'function') {\n Object.values = function (object) {\n // `null` and `undefined` values are not allowed.\n if (object == null) {\n throw new TypeError('Object.values called on non-object');\n }\n\n const values = [];\n for (const key in object) {\n if (hasOwnProperty.call(object, key)) {\n values.push(object[key]);\n }\n }\n return values;\n };\n }\n})();\n","\"use strict\";\n/*\n * Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n */\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DisplayController = exports.Display = exports.DisplayManager = void 0;\n__exportStar(require(\"./types\"), exports);\nvar DisplayManager_1 = require(\"./turbo-modules/DisplayManager\");\nObject.defineProperty(exports, \"DisplayManager\", { enumerable: true, get: function () { return __importDefault(DisplayManager_1).default; } });\nvar Display_1 = require(\"./turbo-modules/Display\");\nObject.defineProperty(exports, \"Display\", { enumerable: true, get: function () { return __importDefault(Display_1).default; } });\nvar DisplayController_1 = require(\"./turbo-modules/DisplayController\");\nObject.defineProperty(exports, \"DisplayController\", { enumerable: true, get: function () { return __importDefault(DisplayController_1).default; } });\n","\"use strict\";\n/*\n * Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TransferFunction = exports.ColorGamut = exports.BufferPixelFormat = exports.HdcpLevel = exports.LlmState = exports.HdrType = exports.HdrMode = exports.ColorSpace = exports.ColorDepth = void 0;\nconst GraphicsTypes_1 = require(\"./GraphicsTypes\");\nObject.defineProperty(exports, \"ColorSpace\", { enumerable: true, get: function () { return GraphicsTypes_1.ColorSpace; } });\nObject.defineProperty(exports, \"ColorDepth\", { enumerable: true, get: function () { return GraphicsTypes_1.ColorDepth; } });\nObject.defineProperty(exports, \"HdrMode\", { enumerable: true, get: function () { return GraphicsTypes_1.HdrMode; } });\nObject.defineProperty(exports, \"HdrType\", { enumerable: true, get: function () { return GraphicsTypes_1.HdrType; } });\nObject.defineProperty(exports, \"LlmState\", { enumerable: true, get: function () { return GraphicsTypes_1.LlmState; } });\nObject.defineProperty(exports, \"HdcpLevel\", { enumerable: true, get: function () { return GraphicsTypes_1.HdcpLevel; } });\nObject.defineProperty(exports, \"BufferPixelFormat\", { enumerable: true, get: function () { return GraphicsTypes_1.BufferPixelFormat; } });\nObject.defineProperty(exports, \"ColorGamut\", { enumerable: true, get: function () { return GraphicsTypes_1.ColorGamut; } });\nObject.defineProperty(exports, \"TransferFunction\", { enumerable: true, get: function () { return GraphicsTypes_1.TransferFunction; } });\n","\"use strict\";\n/*\n * Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BufferPixelFormat = exports.HdcpLevel = exports.LlmState = exports.TransferFunction = exports.ColorGamut = exports.HdrType = exports.HdrMode = exports.ColorDepth = exports.ColorSpace = void 0;\n/**\n * Defines Different color space types in a display.\n */\nvar ColorSpace;\n(function (ColorSpace) {\n /**\n * Invalid color space type\n */\n ColorSpace[ColorSpace[\"INVALID\"] = 1] = \"INVALID\";\n /**\n * Color space type is automatic i.e display server is free to choose any color space. This is default.\n */\n ColorSpace[ColorSpace[\"AUTO\"] = 2] = \"AUTO\";\n /**\n * display server is requested to use RGB color space\n */\n ColorSpace[ColorSpace[\"RGB\"] = 3] = \"RGB\";\n /**\n * display server is requested to use YCbCr color space\n */\n ColorSpace[ColorSpace[\"YCBCR\"] = 4] = \"YCBCR\";\n})(ColorSpace = exports.ColorSpace || (exports.ColorSpace = {}));\n;\n/**\n * Defines all possible color depths in a display.\n */\nvar ColorDepth;\n(function (ColorDepth) {\n /**\n * Unknown color depth type\n */\n ColorDepth[ColorDepth[\"COLORDEPTH_UNKNOWN\"] = 1] = \"COLORDEPTH_UNKNOWN\";\n /**\n * Color depth type is automatic i.e display server is free to choose any. This is default.\n */\n ColorDepth[ColorDepth[\"COLORDEPTH_AUTO\"] = 2] = \"COLORDEPTH_AUTO\";\n /**\n * Display server is free to choose any color depth up to 8 bits per channel.\n */\n ColorDepth[ColorDepth[\"COLORDEPTH_8\"] = 3] = \"COLORDEPTH_8\";\n /**\n * Display server is free to choose any color depth up to 10 bits per channel.\n */\n ColorDepth[ColorDepth[\"COLORDEPTH_10\"] = 4] = \"COLORDEPTH_10\";\n /**\n * Display server is free to choose any color depth up to 12 bits per channel.\n */\n ColorDepth[ColorDepth[\"COLORDEPTH_12\"] = 5] = \"COLORDEPTH_12\";\n})(ColorDepth = exports.ColorDepth || (exports.ColorDepth = {}));\n;\n/**\n * Defines values for High dynamic range mode for display\n */\nvar HdrMode;\n(function (HdrMode) {\n /**\n * High dynamic range is disabled\n */\n HdrMode[HdrMode[\"DISABLED\"] = 0] = \"DISABLED\";\n /**\n * High dynamic range mode usage depends on current settings.\n */\n HdrMode[HdrMode[\"ADAPTIVE\"] = 1] = \"ADAPTIVE\";\n /**\n * always use high dynamic range mode\n */\n HdrMode[HdrMode[\"ALWAYS\"] = 2] = \"ALWAYS\";\n})(HdrMode = exports.HdrMode || (exports.HdrMode = {}));\n;\n/**\n * Defines list of supported underlying HDR technologies\n */\nvar HdrType;\n(function (HdrType) {\n /**\n * No HDR is supported\n */\n HdrType[HdrType[\"NONE\"] = 1] = \"NONE\";\n /**\n * HDR10 Display\n */\n HdrType[HdrType[\"HDR10\"] = 2] = \"HDR10\";\n /**\n * HDR10+ Display\n */\n HdrType[HdrType[\"HDR10_PLUS\"] = 3] = \"HDR10_PLUS\";\n /**\n * Hybrid Log-Gamma HDR display.\n */\n HdrType[HdrType[\"HLG\"] = 4] = \"HLG\";\n /**\n * Dolby Vision high dynamic range (HDR) display.\n */\n HdrType[HdrType[\"DOLBY_VISION\"] = 5] = \"DOLBY_VISION\";\n})(HdrType = exports.HdrType || (exports.HdrType = {}));\n;\n/**\n * Defines list of Color gamut types.\n */\nvar ColorGamut;\n(function (ColorGamut) {\n /**\n * sRGB standard which has same color primaries of REC.709 or BT.709 standard\n */\n ColorGamut[\"SRGB\"] = \"srgb\";\n /**\n * DCI P3 Color Space color gamut\n */\n ColorGamut[\"P3\"] = \"p3\";\n /**\n * ITU-R Recommendation BT.2020 (REC.2020) color gamut.\n */\n ColorGamut[\"REC_2020\"] = \"rec2020\";\n})(ColorGamut = exports.ColorGamut || (exports.ColorGamut = {}));\n;\n/**\n * Defines list of display Transfer Functions\n */\nvar TransferFunction;\n(function (TransferFunction) {\n /**\n * sRGB standard transfer function.\n */\n TransferFunction[\"SRGB\"] = \"srgb\";\n /**\n * Perceptual Quantizer transfer function.\n */\n TransferFunction[\"PQ\"] = \"pq\";\n /**\n * Hybrid Log Gamma transfer function.\n */\n TransferFunction[\"HLG\"] = \"hlg\";\n})(TransferFunction = exports.TransferFunction || (exports.TransferFunction = {}));\n;\n/**\n * Defines all possible low latency mode (LLM) states that could be supported by a display.\n */\nvar LlmState;\n(function (LlmState) {\n /**\n * LLM state Auto - display subsystem is free to choose any LLM state.\n */\n LlmState[LlmState[\"LLM_AUTO\"] = 1] = \"LLM_AUTO\";\n /**\n * LLM state ON - display subsystem is instructed to enable LLM unconditionally and allows it to enable\n * one of the supported low latency modes.\n */\n LlmState[LlmState[\"LLM_ON\"] = 2] = \"LLM_ON\";\n /**\n * LLM state OFF - display subsystem is instructed to disable LLM unconditionally.\n */\n LlmState[LlmState[\"LLM_OFF\"] = 3] = \"LLM_OFF\";\n})(LlmState = exports.LlmState || (exports.LlmState = {}));\n;\n/**\n * Defines all possible HDCP levels that could be supported by a display.\n */\nvar HdcpLevel;\n(function (HdcpLevel) {\n /**\n * Invalid HDCP level\n */\n HdcpLevel[HdcpLevel[\"INVALID\"] = 1] = \"INVALID\";\n /**\n * HDCP level Version 1.0\n */\n HdcpLevel[HdcpLevel[\"V_1_0\"] = 2] = \"V_1_0\";\n /**\n * HDCP level Version 2.0\n */\n HdcpLevel[HdcpLevel[\"V_2_0\"] = 3] = \"V_2_0\";\n /**\n * HDCP level Version 2.1\n */\n HdcpLevel[HdcpLevel[\"V_2_1\"] = 4] = \"V_2_1\";\n /**\n * HDCP level Version 2.2\n */\n HdcpLevel[HdcpLevel[\"V_2_2\"] = 5] = \"V_2_2\";\n /**\n * HDCP level Version 2.3\n */\n HdcpLevel[HdcpLevel[\"V_2_3\"] = 6] = \"V_2_3\";\n /**\n * HDCP level Version 2.4\n */\n HdcpLevel[HdcpLevel[\"V_2_4\"] = 7] = \"V_2_4\";\n})(HdcpLevel = exports.HdcpLevel || (exports.HdcpLevel = {}));\n;\n/**\n * Buffer Pixel Format specifies the memory layout and bits used to store the\n * data within the buffer.\n */\nvar BufferPixelFormat;\n(function (BufferPixelFormat) {\n /**\n * Buffer format is unknown or customized format.\n */\n BufferPixelFormat[\"UNKNOWN\"] = \"UNKNOWN\";\n BufferPixelFormat[\"YUYV\"] = \"YUYV\";\n BufferPixelFormat[\"YVU420\"] = \"YV12\";\n BufferPixelFormat[\"NV12\"] = \"NV12\";\n BufferPixelFormat[\"YUV420\"] = \"YU12\";\n BufferPixelFormat[\"FLEX_YCbCr_420_888\"] = \"9999\";\n BufferPixelFormat[\"FLEX_YCbCr_420_101010\"] = \"8888\";\n BufferPixelFormat[\"UYVY\"] = \"UYVY\";\n BufferPixelFormat[\"RGB888\"] = \"RG24\";\n BufferPixelFormat[\"ARGB8888\"] = \"AR24\";\n})(BufferPixelFormat = exports.BufferPixelFormat || (exports.BufferPixelFormat = {}));\n;\n;\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DisplayManager = void 0;\nconst AmazonGraphicsTurboModule_1 = __importDefault(require(\"./AmazonGraphicsTurboModule\"));\nif (!AmazonGraphicsTurboModule_1.default) {\n throw new Error(`AmazonGraphicsTurboModule turbo-module is null.`);\n}\n/**\n * Display Manager Listener callback cancellation is handled through\n * this Subscription object retuned after calling {@link DisplayController#addListener}\n */\nclass DisplayManagerListenerSubscription {\n token;\n constructor(token) {\n this.token = token;\n }\n /**\n * Unsubscribes the listener.\n */\n unsubscribe() {\n AmazonGraphicsTurboModule_1.default.removeDisplayManagerListener(this.token);\n }\n}\n/**\n * DisplayManager provides APIs to change the display configuration/settings.\n * Clients require the application privilege \"com.amazon.graphics.privilege.display.manager\"\n * to invoke APIs of this class.\n */\nclass DisplayManager {\n constructor() { }\n /**\n * Request Display Server to switch to a certain color depth.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param colorDepth Requested new color depth.\n */\n static setColorDepth(colorDepth) {\n AmazonGraphicsTurboModule_1.default.setColorDepth(colorDepth);\n }\n /**\n * Requests Display Server to switch to the supplied color space e.g. RGB or YUV etc.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param colorSpace Requested new color space.\n */\n static setColorSpace(colorSpace) {\n AmazonGraphicsTurboModule_1.default.setColorSpace(colorSpace);\n }\n /**\n * Enable or disable HDR mode.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param mode Requested HDR mode.\n */\n static setHdrMode(hdrMode) {\n AmazonGraphicsTurboModule_1.default.setHdrMode(hdrMode);\n }\n /**\n * Enable or disable Low latency mode.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param state Requested latency mode.\n */\n static setLowLatencyModeState(llmState) {\n AmazonGraphicsTurboModule_1.default.setLowLatencyModeState(llmState);\n }\n /**\n * Set the MRR state of the display. MRR is a feature which allows clients to request\n * alternate refresh rate which might be more appropriate for their content.\n * This is a global MRR state for a display and controls if applications can request display server\n * to switch to one of the other supported refresh rates which closely matches original content frame rate.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param state MRR state being requested to be used for this display.\n */\n static setMultipleRefreshRateState(mrrState) {\n AmazonGraphicsTurboModule_1.default.setMultipleRefreshRateState(mrrState);\n }\n /**\n * Request the display to switch to a new config.\n * {@link IDisplayListener.onConfigChange} will be called upon successful completion.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param displayConfig The new requested display config.\n */\n static requestConfigChange(displayConfig, refreshRateInMillihertz) {\n return AmazonGraphicsTurboModule_1.default.requestConfigChange(displayConfig, refreshRateInMillihertz);\n }\n /**\n * Request the display to switch to a new config automatically. In this mode, display server selects\n * the most appropriate config dynamically based on various factors. IDisplayListener.onConfigChange\n * will still be called upon a successful config switch. Please note, calling enableAutoConfigSwitch(true)\n * would override previous requestConfigChange() call.\n * The default state is \"true\".\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\" application privilege.\n * @param enable If true, display subsystem would choose appropriate config automatically.\n */\n static enableAutoConfigSwitch(enable) {\n AmazonGraphicsTurboModule_1.default.enableAutoConfigSwitch(enable);\n }\n /**\n * Requests display server to adjust the visible area of the display to\n * ensure content is not lost beyond the screen's physical borders. The API takes the\n * widths of the four borders or margins as a percentage of width or height.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param leftBorderAsPercentageWidth The left border as percentage of width.\n * @param topBorderAsPercentageOfHeight The top border as percentage of\n * height.\n * @param rightBorderAsPercentageOfWidth The right border as percentage of\n * width.\n * @param bottomBorderAsPercentageOfHeight The bottom border as percentage of\n * height.\n */\n static setOverscanBorder(leftBorderAsPercentageOfWidth, topBorderAsPercentageOfHeight, rightBorderAsPercentageOfWidth, bottomBorderAsPercentageOfHeight) {\n return AmazonGraphicsTurboModule_1.default.setOverscanBorder(leftBorderAsPercentageOfWidth, topBorderAsPercentageOfHeight, rightBorderAsPercentageOfWidth, bottomBorderAsPercentageOfHeight);\n }\n /**\n * Adds display manager listener object {@link IDisplayManagerListener} to receive\n * callbacks when display manager properties change.\n * It returns a {@link ISubscription} object, which is used to unsubscribe the listener\n * from receiving events through {@link ISubscription.unsubscribe()}.\n * @param listener IDisplayManagerListener interface\n * @return ISubscription object related to this listener @see DisplayManagerListenerSubscription\n */\n static addListener(listener) {\n let token = AmazonGraphicsTurboModule_1.default.addDisplayManagerListener(listener.onCommitSuccess, listener.onCommitFailure);\n return new DisplayManagerListenerSubscription(token);\n }\n /**\n * Request the display manager to commit all pending states.\n * Please note, this function has to be called for any changes to be applied.\n * This API will only update the pending states and it will actually try to apply all the pending\n * states change requests made since last commitStates() call.\n * The benefit of having a single commit call is that fact that clients can apply multiple dependent states\n * together on display hardware.\n * Client can know the result of the commit request through {@link IDisplayManagerListener}.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\" application privilege.\n * @return commit id which can be used to track the commit status.\n */\n static commitStates() {\n return AmazonGraphicsTurboModule_1.default.commitStates();\n }\n}\nexports.DisplayManager = DisplayManager;\nexports.default = DisplayManager;\n","\"use strict\";\n/*\n* Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n*\n* PROPRIETARY/CONFIDENTIAL\n*\n* Use is subject to license terms.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//@ts-ignore\nconst keplerscript_turbomodule_api_1 = require(\"@amazon-devices/keplerscript-turbomodule-api\");\n// prettier-ignore\nexports.default = keplerscript_turbomodule_api_1.TurboModuleRegistry.getEnforcing('AmazonGraphicsTurboModule');\n","\"use strict\";\n/**\n * Copyright (c) 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n *\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TurboModuleRegistry = void 0;\nexports.TurboModuleRegistry = require(\"./turbomodules/TurboModuleRegistry\");\n","\"use strict\";\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Portions of this file are copyright (c) 2023 Amazon.com, Inc. or its\n * affiliates. All rights reserved.\n *\n * PORTIONS OF THIS FILE ARE AMAZON PROPRIETARY/CONFIDENTIAL. USE IS SUBJECT TO\n * LICENSE TERMS.\n *\n * Amazon modifications are indicated by [amznmod_* comments].\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getEnforcing = exports.get = void 0;\nconst invariant_1 = require(\"../invariant/invariant\");\nconst turboModuleProxy = global.__turboModuleProxy;\nfunction requireModule(name) {\n if (turboModuleProxy != null) {\n return turboModuleProxy(name);\n }\n return null;\n}\nfunction get(name) {\n return requireModule(name);\n}\nexports.get = get;\nfunction getEnforcing(name) {\n const module = requireModule(name);\n (0, invariant_1.default)(module != null, `TurboModuleRegistry.getEnforcing(...): '${name}' could not be found. ` + 'Verify that a module by this name is registered in the native binary.');\n return module;\n}\nexports.getEnforcing = getEnforcing;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Portions of this file are copyright (c) 2023 Amazon.com, Inc. or its\n * affiliates. All rights reserved.\n *\n * PORTIONS OF THIS FILE ARE AMAZON PROPRIETARY/CONFIDENTIAL. USE IS SUBJECT TO\n * LICENSE TERMS.\n *\n * Amazon modifications are indicated by [amznmod_* comments].\n */\n/**\n * amznmod_tmapi: Migrated to typescript\n */\n'use strict';\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\nconst NODE_ENV = process.env.NODE_ENV;\nconst invariant = (condition, format, ...extraArgs) => {\n if (NODE_ENV !== 'production') {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n if (!condition) {\n let error;\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' +\n 'for the full error message and additional helpful warnings.');\n }\n else {\n let argIndex = 0;\n error = new Error(format.replace(/%s/g, () => (extraArgs[argIndex++])));\n error.name = 'Invariant Violation';\n }\n // @ts-ignore `framesToPop` is not part of Error type but something Meta (and maybe RN) uses.\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n};\nexports.default = invariant;\n","function _classCallCheck(a, n) {\n if (!(a instanceof n)) throw new TypeError(\"Cannot call a class as a function\");\n}\nmodule.exports = _classCallCheck, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _defineProperties(e, r) {\n for (var t = 0; t < r.length; t++) {\n var o = r[t];\n o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);\n }\n}\nfunction _createClass(e, r, t) {\n return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, \"prototype\", {\n writable: !1\n }), e;\n}\nmodule.exports = _createClass, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar toPrimitive = require(\"./toPrimitive.js\");\nfunction toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}\nmodule.exports = toPropertyKey, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nfunction toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nmodule.exports = toPrimitive, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _typeof(o);\n}\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Display = void 0;\n/*\n * Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n */\nconst types_1 = require(\"../types\");\nconst AmazonGraphicsTurboModule_1 = __importDefault(require(\"./AmazonGraphicsTurboModule\"));\nif (!AmazonGraphicsTurboModule_1.default) {\n throw new Error(`AmazonGraphicsTurboModule turbo-module is null.`);\n}\n/**\n * Display Listener callback cancellation is handled through\n * Subscription object returned after calling\n * {@link DisplayController.addListener}.\n */\nclass DisplayListenerSubscription {\n token;\n constructor(token) {\n this.token = token;\n }\n /**\n * Unsubscribes the listener.\n */\n unsubscribe() {\n AmazonGraphicsTurboModule_1.default.removeDisplayListener(this.token);\n }\n}\n/**\n * Class that retrieves properties of the primary display.\n * Note only primary display is supported by this turbomodule.\n */\nclass Display {\n constructor() { }\n /**\n * Query the display connector name.\n * @return The name of the display connector (not the panel name).\n */\n static getName() {\n return AmazonGraphicsTurboModule_1.default.getName();\n }\n /**\n * Get current color depth.\n * @return color depth.\n */\n static getColorDepth() {\n return AmazonGraphicsTurboModule_1.default.getColorDepth();\n }\n /**\n * Get current color space.\n * @return color space.\n */\n static getColorSpace() {\n return AmazonGraphicsTurboModule_1.default.getColorSpace();\n }\n /**\n * Get current HDR mode.\n * @return HDR mode.\n */\n static getHdrMode() {\n return AmazonGraphicsTurboModule_1.default.getHdrMode();\n }\n /**\n * Query the current Low latency mode state of the display.\n * @return Low latency mode state being used for the display.\n */\n static getLowLatencyModeState() {\n return AmazonGraphicsTurboModule_1.default.getLowLatencyModeState();\n }\n /**\n * Query if any kind of display low latency mode is supported for this display.\n * @return true if supported otherwise false\n */\n static isLowLatencyModeSupported() {\n return AmazonGraphicsTurboModule_1.default.isLowLatencyModeSupported();\n }\n /**\n * Query the Multiple Refresh Rate (MRR) state for this display.\n * It allows clients to request alternate refresh rate which might be more\n * appropriate for their content.\n * @return MRR state being used for the display.\n */\n static isMultipleRefreshRateEnabled() {\n return AmazonGraphicsTurboModule_1.default.isMultipleRefreshRateEnabled();\n }\n /**\n * Query the current vertical refresh rate in mHz (millihertz) for this display\n * @return Returns current refresh rate for this display in mHz.\n * If the current refresh rate changes, {@link IDisplayListener.onRefreshRateChange}\n * will be called.\n */\n static getCurrentRefreshRateInMillihertz() {\n return AmazonGraphicsTurboModule_1.default.getCurrentRefreshRateInMillihertz();\n }\n /**\n * Query the current HDCP (High-bandwidth Digital Content Protection) level for this display.\n * @return Returns current HDCP level for this display\n * @see HdcpLevel\n */\n static getCurrentHdcpLevel() {\n return AmazonGraphicsTurboModule_1.default.getCurrentHdcpLevel();\n }\n /**\n * Query the list of all supported configs for this display.\n * @return Returns list of all supported configs for this display.\n */\n static getAllSupportedConfigs() {\n return AmazonGraphicsTurboModule_1.default.getAllSupportedConfigs();\n }\n /**\n * Query the current config for this display.\n * @return Returns current config\n * @see IDisplayConfig\n */\n static getCurrentConfig() {\n return AmazonGraphicsTurboModule_1.default.getCurrentConfig();\n }\n /**\n * Query if auto config switch is enabled.\n * @return true, if auto config switch is enabled, false otherwise\n * @see IDisplayConfig\n */\n static isAutoConfigSwitchEnabled() {\n return AmazonGraphicsTurboModule_1.default.isAutoConfigSwitchEnabled();\n }\n /**\n * Query for allowed color spaces which are obtained based on\n * the connected display/TV capabilities and the device capabilities.\n * If the resolution, the refresh rate or the HDR setting changes then\n * clients are expected to query this API again to get updated allowed color spaces.\n * @returns {ColorSpace[]} An array of ColorSpace values representing the allowed color spaces\n * {@link DisplayManager.setColorSpace()}\n */\n static getAllowedColorSpaces() {\n return AmazonGraphicsTurboModule_1.default.getAllowedColorSpaces();\n }\n /**\n * Query for allowed color depths for given color space, which are obtained based on\n * the connected display/TV capabilities and the device capabilities.\n * If the resolution, the refresh rate or the HDR setting changes then\n * clients are expected to query this API again to get updated allowed color depth.\n * @param {ColorSpace} colorSpace - the color space for which allowed color depths are queried.\n * @returns {ColorDepth[]} An array of ColorDepth values available for the specified color space\n * {@link DisplayManager.setColorDepth()}\n */\n static getAllowedColorDepths(colorSpace) {\n return AmazonGraphicsTurboModule_1.default.getAllowedColorDepths(colorSpace);\n }\n /**\n * Returns the current overscan border values of the display.\n * The border value (left, top, right and bottom) represent the fraction of\n * the width or height of the display that acts like a margin for the visible\n * region on the display.\n * @return The current overscan border configuration.\n * @throws DeviceError if the display device is not in active state\n * @see IOverscanBorder\n */\n static getOverscanBorder() {\n return AmazonGraphicsTurboModule_1.default.getOverscanBorder();\n }\n /**\n * Check if the display sink port where this display source device is connected is active or not.\n * A display sink (e.g. TV or monitor) may have multiple display ports. The port where this source\n * device is connected may be inactive even if display source (this device) is powered ON.\n * @return Returns true if display sink is active.\n */\n static isSinkActive() {\n return AmazonGraphicsTurboModule_1.default.isSinkActive();\n }\n /**\n * Adds display listener object {@link IDisplayListener} to receive\n * callbacks when display properties change. It returns a\n * {@link ISubscription} object, which is used to unsubscribe the listener\n * from receiving events through {@link ISubscription.unsubscribe()}.\n * @param listener IDisplayListener interface\n * @return ISubscription object related to this listener @see DisplayListenerSubscription\n */\n static addDisplayListener(listener) {\n let token = AmazonGraphicsTurboModule_1.default.addDisplayListener(listener.onConfigChange, listener.onRefreshRateChange, listener.onColorDepthChange, listener.onColorSpaceChange, listener.onHdcpLevelChange, listener.onAutoConfigSwitchStateChange, listener.onMultipleRefreshRateStateChange, listener.onLowLatencyModeStateChange, listener.onHdrModeChange);\n return new DisplayListenerSubscription(token);\n }\n /**\n * Adds display listener object {@link IDisplayListener} to receive\n * callbacks when display properties change. It returns a\n * {@link ISubscription} object, which is used to unsubscribe the listener\n * from receiving events through {@link ISubscription.unsubscribe()}.\n * @param listener IDisplayListener interface\n * @return ISubscription object related to this listener @see DisplayListenerSubscription\n */\n static addDisplayListener2(listener) {\n let token = AmazonGraphicsTurboModule_1.default.addDisplayListener2(listener.onConfigChange, listener.onRefreshRateChange, listener.onColorDepthChange, listener.onColorSpaceChange, listener.onHdcpLevelChange, listener.onAutoConfigSwitchStateChange, listener.onMultipleRefreshRateStateChange, listener.onLowLatencyModeStateChange, listener.onHdrModeChange, listener.onSinkStateChange || (() => { })); // Provide a no-op function if onSinkStateChange is undefined\n return new DisplayListenerSubscription(token);\n }\n /**\n * Below APIs are just wrapper APIs and does not have direct 1:1 mapping\n * with native APIs.\n */\n /**\n * Check if display supports HDR (High Definition Range) or not.\n */\n static isHDRSupported() {\n const displayConfigList = AmazonGraphicsTurboModule_1.default.getAllSupportedConfigs();\n for (const displayConfig of displayConfigList) {\n for (const hdrType of displayConfig.supportedHdrType) {\n if (hdrType !== types_1.HdrType.NONE) {\n // Found a HDR type which is either HDR10, HDR10+, Dolby Vision or HLG\n // and all these HDR types support BT.2020 color gamut.\n return true;\n }\n }\n }\n return false;\n }\n /**\n * Check if the display supports BT.2020 / Rec.2020 colorimetry standard.\n */\n static isBT2020ColorimetrySupported() {\n // Any of the HDR types (HDR10, HDR10+, Dolby Vision, HLG) support BT.2020 color gamut.\n return this.isHDRSupported();\n }\n /**\n * Query the supported transfer functions by the display.\n */\n static getTransferFunctions() {\n let transferFunctionList = [types_1.TransferFunction.SRGB];\n const displayConfigList = AmazonGraphicsTurboModule_1.default.getAllSupportedConfigs();\n for (const displayConfig of displayConfigList) {\n for (const hdrType of displayConfig.supportedHdrType) {\n if (hdrType === types_1.HdrType.HLG) {\n transferFunctionList.push(types_1.TransferFunction.HLG);\n }\n else if (hdrType !== types_1.HdrType.NONE) {\n // HDR10 / HDR10+ / Dolby Vision\n transferFunctionList.push(types_1.TransferFunction.PQ);\n }\n }\n }\n return transferFunctionList;\n }\n}\nexports.Display = Display;\nexports.default = Display;\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DisplayController = void 0;\nconst AmazonGraphicsTurboModule_1 = __importDefault(require(\"./AmazonGraphicsTurboModule\"));\nif (!AmazonGraphicsTurboModule_1.default) {\n throw new Error(`AmazonGraphicsTurboModule turbo-module is null.`);\n}\n/**\n * Display Controller Listener callback cancellation is handled through\n * this Subscription object retuned after calling {@link DisplayController#addListener}\n */\nclass DisplayControllerListenerSubscription {\n token;\n constructor(token) {\n this.token = token;\n }\n /**\n * Unsubscribes the listener.\n */\n unsubscribe() {\n AmazonGraphicsTurboModule_1.default.removeDisplayControllerListener(this.token);\n }\n}\n/**\n * DisplayController specific operations are done through this\n * class abstraction.\n */\nclass DisplayController {\n constructor() { }\n /**\n * Adds display controller listener object {@link IDisplayControllerListener}\n * to receive callbacks when primary display is added (connected) or removed (disconnected).\n * It returns a {@link ISubscription} object, which is used to unsubscribe\n * the listener from receiving the events through {@link ISubscription.unsubscribe}.\n *\n * @param listener IDisplayControllerListener object to listen for display\n * controller events.\n * @return ISubscription object corresponding to the listener @see DisplayControllerListenerSubscription\n */\n static addListener(listener) {\n let token = AmazonGraphicsTurboModule_1.default.addDisplayControllerListener(listener.onAddDisplay, listener.onRemoveDisplay);\n return new DisplayControllerListenerSubscription(token);\n }\n /**\n * Check if primary display is connected to the device and ready to use.\n * @return return true if display is connected, false otherwise.\n */\n static isPrimaryDisplayConnected() {\n return AmazonGraphicsTurboModule_1.default.isPrimaryDisplayConnected();\n }\n}\nexports.DisplayController = DisplayController;\nexports.default = DisplayController;\n"],"x_facebook_sources":[null,[{"names":["<global>","<anonymous>","inspect","stylizeNoColor","arrayToHash","array.forEach$argument_0","formatValue","keys.map$argument_0","formatPrimitive","formatError","formatArray","keys.forEach$argument_0","formatProperty","str.split.map$argument_0","reduceToSingleString","output.reduce$argument_0","isArray","isBoolean","isNull","isNullOrUndefined","isNumber","isString","isSymbol","isUndefined","isRegExp","isObject","isDate","isError","isFunction","objectToString","hasOwnProperty","getNativeLogFunction","Array.prototype.map.call$argument_1","repeat","Array.apply.map$argument_0","consoleTablePolyfill","columns.forEach$argument_0","joinRow","row.map$argument_0","columnWidths.map$argument_0","groupFormat","consoleGroupPolyfill","consoleGroupCollapsedPolyfill","consoleGroupEndPolyfill","consoleAssertPolyfill","Object.keys.forEach$argument_0","methodName","forEach$argument_0","stub","global.console.assert"],"mappings":"AAA;iBCiB;ECwB;GDO;EEE;GFE;EGE;kBCG;KDE;GHG;EKE;wBC2F;ODS;GLM;EOE;GPgB;EQE;GRE;ESE;iBCkB;KDM;GTE;EWE;mBC4B;eDE;qBCQ;iBDE;GX0B;EaE;+BCE;KDI;Gbc;EeI;GfE;EgBE;GhBE;EiBE;GjBE;EkBE;GlBE;EmBE;GnBE;EoBE;GpBE;EqBE;GrBE;EsBE;GtBE;EuBE;GvBE;EwBE;GxBE;EyBE;GzBE;E0BE;G1BK;E2BE;G3BE;E4BE;G5BE;E6BE;G7BE;CDG;A+BmB;S9BC;yB+BM;S/BE;G8BmC;C/BC;AiCE;yCCC;GDE;CjCC;AmCE;kBCwB;GDQ;EEI;wBCC;KDG;GFG;oCIE;GJE;CnCc;AwCQ;CxCG;AyCE;CzCG;A0CE;C1CG;A2CE;C3CG;A4CE;C5CI;iC6CmC;8BCG;SDG;K7CE;gE+CK;8BDE;SCE;K/CE;EgDG,kBhD;IiDU;KjDI"}],[{"names":["<global>","onError","ErrorUtils.setGlobalHandler","ErrorUtils.getGlobalHandler","ErrorUtils.reportError","ErrorUtils.reportFatalError","ErrorUtils.applyWithGuard","ErrorUtils.applyWithGuardIfNeeded","ErrorUtils.inGuard","ErrorUtils.guard","guarded"],"mappings":"AAA;mCCqB;CDK;EEW;GFE;EGC;GHE;EIC;GJE;EKC;GLG;EMC;GNsB;EOC;GPe;EQC;GRE;ESC;ICc;KDQ;GTG"}],[{"names":["<global>","<anonymous>","entries","values"],"mappings":"AAA;CCW;qBCU;KDa;oBEQ;KFa;CDE"}],[{"names":["<global>","<anonymous>","desc.get","Object.defineProperty$argument_2.get"],"mappings":"AAA;0ECQ;sCCI,2BD;CDG,KC;CDG;kDCC;CDE;wDCC;CDE;0EGK,iEH;mEGE,0DH;6EGE,oEH"}],[{"names":["<global>","Object.defineProperty$argument_2.get"],"mappings":"AAA;sECW,kDD;sECC,kDD;mECC,+CD;mECC,+CD;oECC,gDD;qECC,iDD;6ECC,yDD;sECC,kDD;4ECC,wDD"}],[{"names":["<global>","<anonymous>"],"mappings":"AAA;CCc;CDiB;CCM;CDqB;CCM;CDa;CCM;CDqB;CCM;CDa;CCM;CDa;CCM;CDc;CCM;CD6B;CCO;CDc"}],[{"names":["<global>","<anonymous>","DisplayManagerListenerSubscription","DisplayManagerListenerSubscription#constructor","DisplayManagerListenerSubscription#unsubscribe","DisplayManager","constructor","setColorDepth","setColorSpace","setHdrMode","setLowLatencyModeState","setMultipleRefreshRateState","requestConfigChange","enableAutoConfigSwitch","setOverscanBorder","addListener","commitStates"],"mappings":"AAA;wDCC;CDE;AEW;ICE;KDE;IEI;KFE;CFC;AKM;ICC,iBD;IEO;KFE;IGO;KHE;IIO;KJE;IKO;KLE;IMU;KNE;IOQ;KPE;IQU;KRE;ISe;KTE;IUS;KVG;IWY;KXE;CLC"}],[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>","requireModule","get","getEnforcing"],"mappings":"AAA;ACmB;CDK;AEC;CFE;AGE;CHI"}],[{"names":["<global>","invariant","format.replace$argument_1"],"mappings":"AAA;kBC8B;oDCc,6BD;CDO"}],[{"names":["_classCallCheck","<global>"],"mappings":"AAA;CCE"}],[{"names":["<global>","_defineProperties","_createClass"],"mappings":"AAA;ACC;CDK;AEC;CFI"}],[{"names":["<global>","toPropertyKey"],"mappings":"AAA;ACE;CDG"}],[{"names":["<global>","toPrimitive"],"mappings":"AAA;ACC;CDS"}],[{"names":["_typeof","<anonymous>","<global>"],"mappings":"AAA;wGCG;GDE,GC;GDE;CEC"}],[{"names":["<global>","<anonymous>","DisplayListenerSubscription","DisplayListenerSubscription#constructor","DisplayListenerSubscription#unsubscribe","Display","constructor","getName","getColorDepth","getColorSpace","getHdrMode","getLowLatencyModeState","isLowLatencyModeSupported","isMultipleRefreshRateEnabled","getCurrentRefreshRateInMillihertz","getCurrentHdcpLevel","getAllSupportedConfigs","getCurrentConfig","isAutoConfigSwitchEnabled","getAllowedColorSpaces","getAllowedColorDepths","getOverscanBorder","isSinkActive","addDisplayListener","addDisplayListener2","isHDRSupported","isBT2020ColorimetrySupported","getTransferFunctions"],"mappings":"AAA;wDCC;CDE;AEoB;ICE;KDE;IEI;KFE;CFC;AKK;ICC,iBD;IEK;KFE;IGK;KHE;IIK;KJE;IKK;KLE;IMK;KNE;IOK;KPE;IQO;KRE;ISO;KTE;IUM;KVE;IWK;KXE;IYM;KZE;IaM;KbE;IcS;KdE;IeU;KfE;IgBU;KhBE;IiBO;KjBE;IkBS;KlBG;ImBS;2YvBC,SuB;KnBE;IoBQ;KpBY;IqBI;KrBG;IsBI;KtBe;CLC"}],[{"names":["<global>","<anonymous>","DisplayControllerListenerSubscription","DisplayControllerListenerSubscription#constructor","DisplayControllerListenerSubscription#unsubscribe","DisplayController","constructor","addListener","isPrimaryDisplayConnected"],"mappings":"AAA;wDCC;CDE;AEW;ICE;KDE;IEI;KFE;CFC;AKK;ICC,iBD;IEW;KFG;IGK;KHE;CLC"}]],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18],"names":["inspect","obj","opts","ctx","seen","formatValueCalls","stylize","stylizeNoColor","formatValue","depth","str","styleType","arrayToHash","array","hash","forEach","val","idx","value","recurseTimes","primitive","formatPrimitive","keys","Object","visibleKeys","isError","indexOf","formatError","length","isFunction","name","isRegExp","RegExp","prototype","toString","call","isDate","Date","base","braces","isArray","n","toUTCString","push","output","formatArray","map","key","formatProperty","pop","reduceToSingleString","isUndefined","isString","simple","JSON","stringify","replace","isNumber","isBoolean","isNull","Error","i","l","hasOwnProperty","String","match","desc","getOwnPropertyDescriptor","get","set","split","line","join","substr","numLinesEst","reduce","prev","cur","ar","Array","arg","undefined","re","isObject","objectToString","d","e","o","prop","OBJECT_COLUMN_NAME","LOG_LEVELS","trace","info","warn","error","INSPECTOR_LEVELS","INSPECTOR_FRAMES_TO_SKIP","getNativeLogFunction","level","arguments","firstArg","logLevel","slice","global","__inspectorLog","groupStack","groupFormat","nativeLoggingHook","repeat","element","apply","consoleTablePolyfill","rows","data","row","columns","sort","stringRows","columnWidths","k","j","cellStr","Math","max","joinRow","space","cells","cell","extraSpaces","separators","columnWidth","separatorRow","header","table","GROUP_PAD","GROUP_OPEN","GROUP_CLOSE","prefix","msg","consoleGroupPolyfill","label","consoleGroupCollapsedPolyfill","consoleGroupEndPolyfill","consoleAssertPolyfill","expression","originalConsole","console","log","debug","group","groupEnd","groupCollapsed","assert","defineProperty","enumerable","stub","print","clear","dir","dirxml","profile","profileEnd","globalThis","window","_inGuard","_globalHandler","onError","isFatal","ErrorUtils","setGlobalHandler","fun","getGlobalHandler","reportError","reportFatalError","applyWithGuard","context","args","unused_onError","unused_name","applyWithGuardIfNeeded","inGuard","guard","_ref","guardName","guarded","_len","_key","entries","object","TypeError","values","__createBinding","create","m","k2","__esModule","writable","configurable","__exportStar","exports","p","__importDefault","mod","DisplayController","Display","DisplayManager","require","_dependencyMap","_$$_REQUIRE","default","TransferFunction","ColorGamut","BufferPixelFormat","HdcpLevel","LlmState","HdrType","HdrMode","ColorSpace","ColorDepth","AmazonGraphicsTurboModule_1","DisplayManagerListenerSubscription","token","unsubscribe","removeDisplayManagerListener","setColorDepth","colorDepth","setColorSpace","colorSpace","setHdrMode","hdrMode","setLowLatencyModeState","llmState","setMultipleRefreshRateState","mrrState","requestConfigChange","displayConfig","refreshRateInMillihertz","enableAutoConfigSwitch","enable","setOverscanBorder","leftBorderAsPercentageOfWidth","topBorderAsPercentageOfHeight","rightBorderAsPercentageOfWidth","bottomBorderAsPercentageOfHeight","addListener","listener","addDisplayManagerListener","onCommitSuccess","onCommitFailure","commitStates","TurboModuleRegistry","getEnforcing","turboModuleProxy","__turboModuleProxy","requireModule","module","NODE_ENV","invariant","condition","format","extraArgs","argIndex","framesToPop","_classCallCheck","a","_defineProperties","r","t","_createClass","toPropertyKey","toPrimitive","Symbol","Number","_typeof","iterator","constructor","DisplayListenerSubscription","removeDisplayListener","getName","getColorDepth","getColorSpace","getHdrMode","getLowLatencyModeState","isLowLatencyModeSupported","isMultipleRefreshRateEnabled","getCurrentRefreshRateInMillihertz","getCurrentHdcpLevel","getAllSupportedConfigs","getCurrentConfig","isAutoConfigSwitchEnabled","getAllowedColorSpaces","getAllowedColorDepths","getOverscanBorder","isSinkActive","addDisplayListener","onConfigChange","onRefreshRateChange","onColorDepthChange","onColorSpaceChange","onHdcpLevelChange","onAutoConfigSwitchStateChange","onMultipleRefreshRateStateChange","onLowLatencyModeStateChange","onHdrModeChange","addDisplayListener2","onSinkStateChange","isHDRSupported","displayConfigList","hdrType","supportedHdrType","NONE","isBT2020ColorimetrySupported","getTransferFunctions","transferFunctionList","SRGB","HLG","PQ","DisplayControllerListenerSubscription","removeDisplayControllerListener","addDisplayControllerListener","onAddDisplay","onRemoveDisplay","isPrimaryDisplayConnected"],"mappings":";;ECAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;EAEA;;EAEA;AACA;AACA;AACA;EACA,IAAMA,OAAO,GAAI,YAAY;IAC3B;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;IAEA,SAASA,OAAOA,CAACC,GAAG,EAAEC,IAAI,EAAE;MAC1B,IAAIC,GAAG,GAAG;QACRC,IAAI,EAAE,EAAE;QACRC,gBAAgB,EAAE,CAAC;QACnBC,OAAO,EAAEC;MACX,CAAC;MACD,OAAOC,WAAW,CAACL,GAAG,EAAEF,GAAG,EAAEC,IAAI,CAACO,KAAK,CAAC;IAC1C;IAEA,SAASF,cAAcA,CAACG,GAAG,EAAEC,SAAS,EAAE;MACtC,OAAOD,GAAG;IACZ;IAEA,SA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ACA;IAHI;MAAA9K,GAAA;MAAA7B,KAAA,EAIA,SAAOgT,yBAAyBA,CAAA,EAAG;QAC/B,OAAOvG,2BAA2B,CAACV,OAAO,CAACiH,yBAAyB,CAAC,CAAC;MAC1E;IAAC;EAAA;EAEL3H,OAAO,CAACI,iBAAiB,GAAGA,iBAAiB;EAC7CJ,OAAO,CAACU,OAAO,GAAGN,iBAAiB;AAAC","x_amazon_bundleId":"e1224d435abddb7360ba588396252be76566b2cdc8373c285491d1711dc251d0"}
|
|
1
|
+
{"version":3,"sources":["__prelude__","node_modules/@react-native/js-polyfills/console.js","node_modules/@react-native/js-polyfills/error-guard.js","node_modules/@react-native/js-polyfills/Object.es8.js","node_modules/@amazon-devices/kepler-graphics/dist/index.js","node_modules/@amazon-devices/kepler-graphics/dist/types/index.js","node_modules/@amazon-devices/kepler-graphics/dist/types/GraphicsTypes.js","node_modules/@amazon-devices/kepler-graphics/dist/turbo-modules/DisplayManager.js","node_modules/@amazon-devices/kepler-graphics/dist/turbo-modules/AmazonGraphicsTurboModule.js","node_modules/@amazon-devices/keplerscript-turbomodule-api/dist/index.js","node_modules/@amazon-devices/keplerscript-turbomodule-api/dist/turbomodules/TurboModuleRegistry.js","node_modules/@amazon-devices/keplerscript-turbomodule-api/dist/invariant/invariant.js","node_modules/@babel/runtime/helpers/classCallCheck.js","node_modules/@babel/runtime/helpers/createClass.js","node_modules/@babel/runtime/helpers/toPropertyKey.js","node_modules/@babel/runtime/helpers/toPrimitive.js","node_modules/@babel/runtime/helpers/typeof.js","node_modules/@amazon-devices/kepler-graphics/dist/turbo-modules/Display.js","node_modules/@amazon-devices/kepler-graphics/dist/turbo-modules/DisplayController.js"],"sourcesContent":["var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.now(),__DEV__=false,process=this.process||{},__METRO_GLOBAL_PREFIX__='';process.env=process.env||{};process.env.NODE_ENV=process.env.NODE_ENV||\"production\";","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @polyfill\n * @nolint\n * @format\n */\n\n/* eslint-disable no-shadow, eqeqeq, curly, no-unused-vars, no-void, no-control-regex */\n\n/**\n * This pipes all of our console logging functions to native logging so that\n * JavaScript errors in required modules show up in Xcode via NSLog.\n */\nconst inspect = (function () {\n // Copyright Joyent, Inc. and other Node contributors.\n //\n // Permission is hereby granted, free of charge, to any person obtaining a\n // copy of this software and associated documentation files (the\n // \"Software\"), to deal in the Software without restriction, including\n // without limitation the rights to use, copy, modify, merge, publish,\n // distribute, sublicense, and/or sell copies of the Software, and to permit\n // persons to whom the Software is furnished to do so, subject to the\n // following conditions:\n //\n // The above copyright notice and this permission notice shall be included\n // in all copies or substantial portions of the Software.\n //\n // THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n //\n // https://github.com/joyent/node/blob/master/lib/util.js\n\n function inspect(obj, opts) {\n var ctx = {\n seen: [],\n formatValueCalls: 0,\n stylize: stylizeNoColor,\n };\n return formatValue(ctx, obj, opts.depth);\n }\n\n function stylizeNoColor(str, styleType) {\n return str;\n }\n\n function arrayToHash(array) {\n var hash = {};\n\n array.forEach(function (val, idx) {\n hash[val] = true;\n });\n\n return hash;\n }\n\n function formatValue(ctx, value, recurseTimes) {\n ctx.formatValueCalls++;\n if (ctx.formatValueCalls > 200) {\n return `[TOO BIG formatValueCalls ${ctx.formatValueCalls} exceeded limit of 200]`;\n }\n\n // Primitive types cannot have properties\n var primitive = formatPrimitive(ctx, value);\n if (primitive) {\n return primitive;\n }\n\n // Look up the keys of the object.\n var keys = Object.keys(value);\n var visibleKeys = arrayToHash(keys);\n\n // IE doesn't make error fields non-enumerable\n // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx\n if (\n isError(value) &&\n (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)\n ) {\n return formatError(value);\n }\n\n // Some type of object without properties can be shortcutted.\n if (keys.length === 0) {\n if (isFunction(value)) {\n var name = value.name ? ': ' + value.name : '';\n return ctx.stylize('[Function' + name + ']', 'special');\n }\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n }\n if (isDate(value)) {\n return ctx.stylize(Date.prototype.toString.call(value), 'date');\n }\n if (isError(value)) {\n return formatError(value);\n }\n }\n\n var base = '',\n array = false,\n braces = ['{', '}'];\n\n // Make Array say that they are Array\n if (isArray(value)) {\n array = true;\n braces = ['[', ']'];\n }\n\n // Make functions say that they are functions\n if (isFunction(value)) {\n var n = value.name ? ': ' + value.name : '';\n base = ' [Function' + n + ']';\n }\n\n // Make RegExps say that they are RegExps\n if (isRegExp(value)) {\n base = ' ' + RegExp.prototype.toString.call(value);\n }\n\n // Make dates with properties first say the date\n if (isDate(value)) {\n base = ' ' + Date.prototype.toUTCString.call(value);\n }\n\n // Make error with message first say the error\n if (isError(value)) {\n base = ' ' + formatError(value);\n }\n\n if (keys.length === 0 && (!array || value.length == 0)) {\n return braces[0] + base + braces[1];\n }\n\n if (recurseTimes < 0) {\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n } else {\n return ctx.stylize('[Object]', 'special');\n }\n }\n\n ctx.seen.push(value);\n\n var output;\n if (array) {\n output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);\n } else {\n output = keys.map(function (key) {\n return formatProperty(\n ctx,\n value,\n recurseTimes,\n visibleKeys,\n key,\n array,\n );\n });\n }\n\n ctx.seen.pop();\n\n return reduceToSingleString(output, base, braces);\n }\n\n function formatPrimitive(ctx, value) {\n if (isUndefined(value)) return ctx.stylize('undefined', 'undefined');\n if (isString(value)) {\n var simple =\n \"'\" +\n JSON.stringify(value)\n .replace(/^\"|\"$/g, '')\n .replace(/'/g, \"\\\\'\")\n .replace(/\\\\\"/g, '\"') +\n \"'\";\n return ctx.stylize(simple, 'string');\n }\n if (isNumber(value)) return ctx.stylize('' + value, 'number');\n if (isBoolean(value)) return ctx.stylize('' + value, 'boolean');\n // For some reason typeof null is \"object\", so special case here.\n if (isNull(value)) return ctx.stylize('null', 'null');\n }\n\n function formatError(value) {\n return '[' + Error.prototype.toString.call(value) + ']';\n }\n\n function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {\n var output = [];\n for (var i = 0, l = value.length; i < l; ++i) {\n if (hasOwnProperty(value, String(i))) {\n output.push(\n formatProperty(\n ctx,\n value,\n recurseTimes,\n visibleKeys,\n String(i),\n true,\n ),\n );\n } else {\n output.push('');\n }\n }\n keys.forEach(function (key) {\n if (!key.match(/^\\d+$/)) {\n output.push(\n formatProperty(ctx, value, recurseTimes, visibleKeys, key, true),\n );\n }\n });\n return output;\n }\n\n function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {\n var name, str, desc;\n desc = Object.getOwnPropertyDescriptor(value, key) || {value: value[key]};\n if (desc.get) {\n if (desc.set) {\n str = ctx.stylize('[Getter/Setter]', 'special');\n } else {\n str = ctx.stylize('[Getter]', 'special');\n }\n } else {\n if (desc.set) {\n str = ctx.stylize('[Setter]', 'special');\n }\n }\n if (!hasOwnProperty(visibleKeys, key)) {\n name = '[' + key + ']';\n }\n if (!str) {\n if (ctx.seen.indexOf(desc.value) < 0) {\n if (isNull(recurseTimes)) {\n str = formatValue(ctx, desc.value, null);\n } else {\n str = formatValue(ctx, desc.value, recurseTimes - 1);\n }\n if (str.indexOf('\\n') > -1) {\n if (array) {\n str = str\n .split('\\n')\n .map(function (line) {\n return ' ' + line;\n })\n .join('\\n')\n .substr(2);\n } else {\n str =\n '\\n' +\n str\n .split('\\n')\n .map(function (line) {\n return ' ' + line;\n })\n .join('\\n');\n }\n }\n } else {\n str = ctx.stylize('[Circular]', 'special');\n }\n }\n if (isUndefined(name)) {\n if (array && key.match(/^\\d+$/)) {\n return str;\n }\n name = JSON.stringify('' + key);\n if (name.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)) {\n name = name.substr(1, name.length - 2);\n name = ctx.stylize(name, 'name');\n } else {\n name = name\n .replace(/'/g, \"\\\\'\")\n .replace(/\\\\\"/g, '\"')\n .replace(/(^\"|\"$)/g, \"'\");\n name = ctx.stylize(name, 'string');\n }\n }\n\n return name + ': ' + str;\n }\n\n function reduceToSingleString(output, base, braces) {\n var numLinesEst = 0;\n var length = output.reduce(function (prev, cur) {\n numLinesEst++;\n if (cur.indexOf('\\n') >= 0) numLinesEst++;\n return prev + cur.replace(/\\u001b\\[\\d\\d?m/g, '').length + 1;\n }, 0);\n\n if (length > 60) {\n return (\n braces[0] +\n (base === '' ? '' : base + '\\n ') +\n ' ' +\n output.join(',\\n ') +\n ' ' +\n braces[1]\n );\n }\n\n return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];\n }\n\n // NOTE: These type checking functions intentionally don't use `instanceof`\n // because it is fragile and can be easily faked with `Object.create()`.\n function isArray(ar) {\n return Array.isArray(ar);\n }\n\n function isBoolean(arg) {\n return typeof arg === 'boolean';\n }\n\n function isNull(arg) {\n return arg === null;\n }\n\n function isNullOrUndefined(arg) {\n return arg == null;\n }\n\n function isNumber(arg) {\n return typeof arg === 'number';\n }\n\n function isString(arg) {\n return typeof arg === 'string';\n }\n\n function isSymbol(arg) {\n return typeof arg === 'symbol';\n }\n\n function isUndefined(arg) {\n return arg === void 0;\n }\n\n function isRegExp(re) {\n return isObject(re) && objectToString(re) === '[object RegExp]';\n }\n\n function isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n }\n\n function isDate(d) {\n return isObject(d) && objectToString(d) === '[object Date]';\n }\n\n function isError(e) {\n return (\n isObject(e) &&\n (objectToString(e) === '[object Error]' || e instanceof Error)\n );\n }\n\n function isFunction(arg) {\n return typeof arg === 'function';\n }\n\n function objectToString(o) {\n return Object.prototype.toString.call(o);\n }\n\n function hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n }\n\n return inspect;\n})();\n\nconst OBJECT_COLUMN_NAME = '(index)';\nconst LOG_LEVELS = {\n trace: 0,\n info: 1,\n warn: 2,\n error: 3,\n};\nconst INSPECTOR_LEVELS = [];\nINSPECTOR_LEVELS[LOG_LEVELS.trace] = 'debug';\nINSPECTOR_LEVELS[LOG_LEVELS.info] = 'log';\nINSPECTOR_LEVELS[LOG_LEVELS.warn] = 'warning';\nINSPECTOR_LEVELS[LOG_LEVELS.error] = 'error';\n\n// Strip the inner function in getNativeLogFunction(), if in dev also\n// strip method printing to originalConsole.\nconst INSPECTOR_FRAMES_TO_SKIP = __DEV__ ? 2 : 1;\n\nfunction getNativeLogFunction(level) {\n return function () {\n let str;\n if (arguments.length === 1 && typeof arguments[0] === 'string') {\n str = arguments[0];\n } else {\n str = Array.prototype.map\n .call(arguments, function (arg) {\n return inspect(arg, {depth: 10});\n })\n .join(', ');\n }\n\n // TRICKY\n // If more than one argument is provided, the code above collapses them all\n // into a single formatted string. This transform wraps string arguments in\n // single quotes (e.g. \"foo\" -> \"'foo'\") which then breaks the \"Warning:\"\n // check below. So it's important that we look at the first argument, rather\n // than the formatted argument string.\n const firstArg = arguments[0];\n\n let logLevel = level;\n if (\n typeof firstArg === 'string' &&\n firstArg.slice(0, 9) === 'Warning: ' &&\n logLevel >= LOG_LEVELS.error\n ) {\n // React warnings use console.error so that a stack trace is shown,\n // but we don't (currently) want these to show a redbox\n // (Note: Logic duplicated in ExceptionsManager.js.)\n logLevel = LOG_LEVELS.warn;\n }\n if (global.__inspectorLog) {\n global.__inspectorLog(\n INSPECTOR_LEVELS[logLevel],\n str,\n [].slice.call(arguments),\n INSPECTOR_FRAMES_TO_SKIP,\n );\n }\n if (groupStack.length) {\n str = groupFormat('', str);\n }\n global.nativeLoggingHook(str, logLevel);\n };\n}\n\nfunction repeat(element, n) {\n return Array.apply(null, Array(n)).map(function () {\n return element;\n });\n}\n\nfunction consoleTablePolyfill(rows) {\n // convert object -> array\n if (!Array.isArray(rows)) {\n var data = rows;\n rows = [];\n for (var key in data) {\n if (data.hasOwnProperty(key)) {\n var row = data[key];\n row[OBJECT_COLUMN_NAME] = key;\n rows.push(row);\n }\n }\n }\n if (rows.length === 0) {\n global.nativeLoggingHook('', LOG_LEVELS.info);\n return;\n }\n\n var columns = Object.keys(rows[0]).sort();\n var stringRows = [];\n var columnWidths = [];\n\n // Convert each cell to a string. Also\n // figure out max cell width for each column\n columns.forEach(function (k, i) {\n columnWidths[i] = k.length;\n for (var j = 0; j < rows.length; j++) {\n var cellStr = (rows[j][k] || '?').toString();\n stringRows[j] = stringRows[j] || [];\n stringRows[j][i] = cellStr;\n columnWidths[i] = Math.max(columnWidths[i], cellStr.length);\n }\n });\n\n // Join all elements in the row into a single string with | separators\n // (appends extra spaces to each cell to make separators | aligned)\n function joinRow(row, space) {\n var cells = row.map(function (cell, i) {\n var extraSpaces = repeat(' ', columnWidths[i] - cell.length).join('');\n return cell + extraSpaces;\n });\n space = space || ' ';\n return cells.join(space + '|' + space);\n }\n\n var separators = columnWidths.map(function (columnWidth) {\n return repeat('-', columnWidth).join('');\n });\n var separatorRow = joinRow(separators, '-');\n var header = joinRow(columns);\n var table = [header, separatorRow];\n\n for (var i = 0; i < rows.length; i++) {\n table.push(joinRow(stringRows[i]));\n }\n\n // Notice extra empty line at the beginning.\n // Native logging hook adds \"RCTLog >\" at the front of every\n // logged string, which would shift the header and screw up\n // the table\n global.nativeLoggingHook('\\n' + table.join('\\n'), LOG_LEVELS.info);\n}\n\nconst GROUP_PAD = '\\u2502'; // Box light vertical\nconst GROUP_OPEN = '\\u2510'; // Box light down+left\nconst GROUP_CLOSE = '\\u2518'; // Box light up+left\n\nconst groupStack = [];\n\nfunction groupFormat(prefix, msg) {\n // Insert group formatting before the console message\n return groupStack.join('') + prefix + ' ' + (msg || '');\n}\n\nfunction consoleGroupPolyfill(label) {\n global.nativeLoggingHook(groupFormat(GROUP_OPEN, label), LOG_LEVELS.info);\n groupStack.push(GROUP_PAD);\n}\n\nfunction consoleGroupCollapsedPolyfill(label) {\n global.nativeLoggingHook(groupFormat(GROUP_CLOSE, label), LOG_LEVELS.info);\n groupStack.push(GROUP_PAD);\n}\n\nfunction consoleGroupEndPolyfill() {\n groupStack.pop();\n global.nativeLoggingHook(groupFormat(GROUP_CLOSE), LOG_LEVELS.info);\n}\n\nfunction consoleAssertPolyfill(expression, label) {\n if (!expression) {\n global.nativeLoggingHook('Assertion failed: ' + label, LOG_LEVELS.error);\n }\n}\n\nif (global.nativeLoggingHook) {\n const originalConsole = global.console;\n // Preserve the original `console` as `originalConsole`\n if (__DEV__ && originalConsole) {\n const descriptor = Object.getOwnPropertyDescriptor(global, 'console');\n if (descriptor) {\n Object.defineProperty(global, 'originalConsole', descriptor);\n }\n }\n\n global.console = {\n error: getNativeLogFunction(LOG_LEVELS.error),\n info: getNativeLogFunction(LOG_LEVELS.info),\n log: getNativeLogFunction(LOG_LEVELS.info),\n warn: getNativeLogFunction(LOG_LEVELS.warn),\n trace: getNativeLogFunction(LOG_LEVELS.trace),\n debug: getNativeLogFunction(LOG_LEVELS.trace),\n table: consoleTablePolyfill,\n group: consoleGroupPolyfill,\n groupEnd: consoleGroupEndPolyfill,\n groupCollapsed: consoleGroupCollapsedPolyfill,\n assert: consoleAssertPolyfill,\n };\n\n Object.defineProperty(console, '_isPolyfilled', {\n value: true,\n enumerable: false,\n });\n\n // If available, also call the original `console` method since that is\n // sometimes useful. Ex: on OS X, this will let you see rich output in\n // the Safari Web Inspector console.\n if (__DEV__ && originalConsole) {\n Object.keys(console).forEach(methodName => {\n const reactNativeMethod = console[methodName];\n if (originalConsole[methodName]) {\n console[methodName] = function () {\n originalConsole[methodName](...arguments);\n reactNativeMethod.apply(console, arguments);\n };\n }\n });\n\n // The following methods are not supported by this polyfill but\n // we still should pass them to original console if they are\n // supported by it.\n ['clear', 'dir', 'dirxml', 'profile', 'profileEnd'].forEach(methodName => {\n if (typeof originalConsole[methodName] === 'function') {\n console[methodName] = function () {\n originalConsole[methodName](...arguments);\n };\n }\n });\n }\n} else if (!global.console) {\n function stub() {}\n const log = global.print || stub;\n\n global.console = {\n debug: log,\n error: log,\n info: log,\n log: log,\n trace: log,\n warn: log,\n assert(expression, label) {\n if (!expression) {\n log('Assertion failed: ' + label);\n }\n },\n clear: stub,\n dir: stub,\n dirxml: stub,\n group: stub,\n groupCollapsed: stub,\n groupEnd: stub,\n profile: stub,\n profileEnd: stub,\n table: stub,\n };\n\n Object.defineProperty(console, '_isPolyfilled', {\n value: true,\n enumerable: false,\n });\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n * @polyfill\n */\n\nlet _inGuard = 0;\n\ntype ErrorHandler = (error: mixed, isFatal: boolean) => void;\ntype Fn<Args, Return> = (...Args) => Return;\n\n/**\n * This is the error handler that is called when we encounter an exception\n * when loading a module. This will report any errors encountered before\n * ExceptionsManager is configured.\n */\nlet _globalHandler: ErrorHandler = function onError(\n e: mixed,\n isFatal: boolean,\n) {\n throw e;\n};\n\n/**\n * The particular require runtime that we are using looks for a global\n * `ErrorUtils` object and if it exists, then it requires modules with the\n * error handler specified via ErrorUtils.setGlobalHandler by calling the\n * require function with applyWithGuard. Since the require module is loaded\n * before any of the modules, this ErrorUtils must be defined (and the handler\n * set) globally before requiring anything.\n */\nconst ErrorUtils = {\n setGlobalHandler(fun: ErrorHandler): void {\n _globalHandler = fun;\n },\n getGlobalHandler(): ErrorHandler {\n return _globalHandler;\n },\n reportError(error: mixed): void {\n _globalHandler && _globalHandler(error, false);\n },\n reportFatalError(error: mixed): void {\n // NOTE: This has an untyped call site in Metro.\n _globalHandler && _globalHandler(error, true);\n },\n applyWithGuard<TArgs: $ReadOnlyArray<mixed>, TOut>(\n fun: Fn<TArgs, TOut>,\n context?: ?mixed,\n args?: ?TArgs,\n // Unused, but some code synced from www sets it to null.\n unused_onError?: null,\n // Some callers pass a name here, which we ignore.\n unused_name?: ?string,\n ): ?TOut {\n try {\n _inGuard++;\n /* $FlowFixMe[incompatible-call] : TODO T48204745 (1) apply(context,\n * null) is fine. (2) array -> rest array should work */\n /* $FlowFixMe[incompatible-type] : TODO T48204745 (1) apply(context,\n * null) is fine. (2) array -> rest array should work */\n return fun.apply(context, args);\n } catch (e) {\n ErrorUtils.reportError(e);\n } finally {\n _inGuard--;\n }\n return null;\n },\n applyWithGuardIfNeeded<TArgs: $ReadOnlyArray<mixed>, TOut>(\n fun: Fn<TArgs, TOut>,\n context?: ?mixed,\n args?: ?TArgs,\n ): ?TOut {\n if (ErrorUtils.inGuard()) {\n /* $FlowFixMe[incompatible-call] : TODO T48204745 (1) apply(context,\n * null) is fine. (2) array -> rest array should work */\n /* $FlowFixMe[incompatible-type] : TODO T48204745 (1) apply(context,\n * null) is fine. (2) array -> rest array should work */\n return fun.apply(context, args);\n } else {\n ErrorUtils.applyWithGuard(fun, context, args);\n }\n return null;\n },\n inGuard(): boolean {\n return !!_inGuard;\n },\n guard<TArgs: $ReadOnlyArray<mixed>, TOut>(\n fun: Fn<TArgs, TOut>,\n name?: ?string,\n context?: ?mixed,\n ): ?(...TArgs) => ?TOut {\n // TODO: (moti) T48204753 Make sure this warning is never hit and remove it - types\n // should be sufficient.\n if (typeof fun !== 'function') {\n console.warn('A function must be passed to ErrorUtils.guard, got ', fun);\n return null;\n }\n const guardName = name ?? fun.name ?? '<generated guard>';\n /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\n function guarded(...args: TArgs): ?TOut {\n return ErrorUtils.applyWithGuard(\n fun,\n context ?? this,\n args,\n null,\n guardName,\n );\n }\n\n return guarded;\n },\n};\n\nglobal.ErrorUtils = ErrorUtils;\n\nexport type ErrorUtilsT = typeof ErrorUtils;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @polyfill\n * @nolint\n */\n\n(function () {\n 'use strict';\n\n const hasOwnProperty = Object.prototype.hasOwnProperty;\n\n /**\n * Returns an array of the given object's own enumerable entries.\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries\n */\n if (typeof Object.entries !== 'function') {\n Object.entries = function (object) {\n // `null` and `undefined` values are not allowed.\n if (object == null) {\n throw new TypeError('Object.entries called on non-object');\n }\n\n const entries = [];\n for (const key in object) {\n if (hasOwnProperty.call(object, key)) {\n entries.push([key, object[key]]);\n }\n }\n return entries;\n };\n }\n\n /**\n * Returns an array of the given object's own enumerable entries.\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/values\n */\n if (typeof Object.values !== 'function') {\n Object.values = function (object) {\n // `null` and `undefined` values are not allowed.\n if (object == null) {\n throw new TypeError('Object.values called on non-object');\n }\n\n const values = [];\n for (const key in object) {\n if (hasOwnProperty.call(object, key)) {\n values.push(object[key]);\n }\n }\n return values;\n };\n }\n})();\n","\"use strict\";\n/*\n * Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n */\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DisplayController = exports.Display = exports.DisplayManager = void 0;\n__exportStar(require(\"./types\"), exports);\nvar DisplayManager_1 = require(\"./turbo-modules/DisplayManager\");\nObject.defineProperty(exports, \"DisplayManager\", { enumerable: true, get: function () { return __importDefault(DisplayManager_1).default; } });\nvar Display_1 = require(\"./turbo-modules/Display\");\nObject.defineProperty(exports, \"Display\", { enumerable: true, get: function () { return __importDefault(Display_1).default; } });\nvar DisplayController_1 = require(\"./turbo-modules/DisplayController\");\nObject.defineProperty(exports, \"DisplayController\", { enumerable: true, get: function () { return __importDefault(DisplayController_1).default; } });\n","\"use strict\";\n/*\n * Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TransferFunction = exports.ColorGamut = exports.BufferPixelFormat = exports.HdcpLevel = exports.LlmState = exports.HdrType = exports.HdrMode = exports.ColorSpace = exports.ColorDepth = void 0;\nconst GraphicsTypes_1 = require(\"./GraphicsTypes\");\nObject.defineProperty(exports, \"ColorSpace\", { enumerable: true, get: function () { return GraphicsTypes_1.ColorSpace; } });\nObject.defineProperty(exports, \"ColorDepth\", { enumerable: true, get: function () { return GraphicsTypes_1.ColorDepth; } });\nObject.defineProperty(exports, \"HdrMode\", { enumerable: true, get: function () { return GraphicsTypes_1.HdrMode; } });\nObject.defineProperty(exports, \"HdrType\", { enumerable: true, get: function () { return GraphicsTypes_1.HdrType; } });\nObject.defineProperty(exports, \"LlmState\", { enumerable: true, get: function () { return GraphicsTypes_1.LlmState; } });\nObject.defineProperty(exports, \"HdcpLevel\", { enumerable: true, get: function () { return GraphicsTypes_1.HdcpLevel; } });\nObject.defineProperty(exports, \"BufferPixelFormat\", { enumerable: true, get: function () { return GraphicsTypes_1.BufferPixelFormat; } });\nObject.defineProperty(exports, \"ColorGamut\", { enumerable: true, get: function () { return GraphicsTypes_1.ColorGamut; } });\nObject.defineProperty(exports, \"TransferFunction\", { enumerable: true, get: function () { return GraphicsTypes_1.TransferFunction; } });\n","\"use strict\";\n/*\n * Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BufferPixelFormat = exports.HdcpLevel = exports.LlmState = exports.TransferFunction = exports.ColorGamut = exports.HdrType = exports.HdrMode = exports.ColorDepth = exports.ColorSpace = void 0;\n/**\n * Defines Different color space types in a display.\n */\nvar ColorSpace;\n(function (ColorSpace) {\n /**\n * Invalid color space type\n */\n ColorSpace[ColorSpace[\"INVALID\"] = 1] = \"INVALID\";\n /**\n * Color space type is automatic i.e display server is free to choose any color space. This is default.\n */\n ColorSpace[ColorSpace[\"AUTO\"] = 2] = \"AUTO\";\n /**\n * display server is requested to use RGB color space\n */\n ColorSpace[ColorSpace[\"RGB\"] = 3] = \"RGB\";\n /**\n * display server is requested to use YCbCr color space\n */\n ColorSpace[ColorSpace[\"YCBCR\"] = 4] = \"YCBCR\";\n})(ColorSpace = exports.ColorSpace || (exports.ColorSpace = {}));\n;\n/**\n * Defines all possible color depths in a display.\n */\nvar ColorDepth;\n(function (ColorDepth) {\n /**\n * Unknown color depth type\n */\n ColorDepth[ColorDepth[\"COLORDEPTH_UNKNOWN\"] = 1] = \"COLORDEPTH_UNKNOWN\";\n /**\n * Color depth type is automatic i.e display server is free to choose any. This is default.\n */\n ColorDepth[ColorDepth[\"COLORDEPTH_AUTO\"] = 2] = \"COLORDEPTH_AUTO\";\n /**\n * Display server is free to choose any color depth up to 8 bits per channel.\n */\n ColorDepth[ColorDepth[\"COLORDEPTH_8\"] = 3] = \"COLORDEPTH_8\";\n /**\n * Display server is free to choose any color depth up to 10 bits per channel.\n */\n ColorDepth[ColorDepth[\"COLORDEPTH_10\"] = 4] = \"COLORDEPTH_10\";\n /**\n * Display server is free to choose any color depth up to 12 bits per channel.\n */\n ColorDepth[ColorDepth[\"COLORDEPTH_12\"] = 5] = \"COLORDEPTH_12\";\n})(ColorDepth = exports.ColorDepth || (exports.ColorDepth = {}));\n;\n/**\n * Defines values for High dynamic range mode for display\n */\nvar HdrMode;\n(function (HdrMode) {\n /**\n * High dynamic range is disabled\n */\n HdrMode[HdrMode[\"DISABLED\"] = 0] = \"DISABLED\";\n /**\n * High dynamic range mode usage depends on current settings.\n */\n HdrMode[HdrMode[\"ADAPTIVE\"] = 1] = \"ADAPTIVE\";\n /**\n * always use high dynamic range mode\n */\n HdrMode[HdrMode[\"ALWAYS\"] = 2] = \"ALWAYS\";\n})(HdrMode = exports.HdrMode || (exports.HdrMode = {}));\n;\n/**\n * Defines list of supported underlying HDR technologies\n */\nvar HdrType;\n(function (HdrType) {\n /**\n * No HDR is supported\n */\n HdrType[HdrType[\"NONE\"] = 1] = \"NONE\";\n /**\n * HDR10 Display\n */\n HdrType[HdrType[\"HDR10\"] = 2] = \"HDR10\";\n /**\n * HDR10+ Display\n */\n HdrType[HdrType[\"HDR10_PLUS\"] = 3] = \"HDR10_PLUS\";\n /**\n * Hybrid Log-Gamma HDR display.\n */\n HdrType[HdrType[\"HLG\"] = 4] = \"HLG\";\n /**\n * Dolby Vision high dynamic range (HDR) display.\n */\n HdrType[HdrType[\"DOLBY_VISION\"] = 5] = \"DOLBY_VISION\";\n})(HdrType = exports.HdrType || (exports.HdrType = {}));\n;\n/**\n * Defines list of Color gamut types.\n */\nvar ColorGamut;\n(function (ColorGamut) {\n /**\n * sRGB standard which has same color primaries of REC.709 or BT.709 standard\n */\n ColorGamut[\"SRGB\"] = \"srgb\";\n /**\n * DCI P3 Color Space color gamut\n */\n ColorGamut[\"P3\"] = \"p3\";\n /**\n * ITU-R Recommendation BT.2020 (REC.2020) color gamut.\n */\n ColorGamut[\"REC_2020\"] = \"rec2020\";\n})(ColorGamut = exports.ColorGamut || (exports.ColorGamut = {}));\n;\n/**\n * Defines list of display Transfer Functions\n */\nvar TransferFunction;\n(function (TransferFunction) {\n /**\n * sRGB standard transfer function.\n */\n TransferFunction[\"SRGB\"] = \"srgb\";\n /**\n * Perceptual Quantizer transfer function.\n */\n TransferFunction[\"PQ\"] = \"pq\";\n /**\n * Hybrid Log Gamma transfer function.\n */\n TransferFunction[\"HLG\"] = \"hlg\";\n})(TransferFunction = exports.TransferFunction || (exports.TransferFunction = {}));\n;\n/**\n * Defines all possible low latency mode (LLM) states that could be supported by a display.\n */\nvar LlmState;\n(function (LlmState) {\n /**\n * LLM state Auto - display subsystem is free to choose any LLM state.\n */\n LlmState[LlmState[\"LLM_AUTO\"] = 1] = \"LLM_AUTO\";\n /**\n * LLM state ON - display subsystem is instructed to enable LLM unconditionally and allows it to enable\n * one of the supported low latency modes.\n */\n LlmState[LlmState[\"LLM_ON\"] = 2] = \"LLM_ON\";\n /**\n * LLM state OFF - display subsystem is instructed to disable LLM unconditionally.\n */\n LlmState[LlmState[\"LLM_OFF\"] = 3] = \"LLM_OFF\";\n})(LlmState = exports.LlmState || (exports.LlmState = {}));\n;\n/**\n * Defines all possible HDCP levels that could be supported by a display.\n */\nvar HdcpLevel;\n(function (HdcpLevel) {\n /**\n * Invalid HDCP level\n */\n HdcpLevel[HdcpLevel[\"INVALID\"] = 1] = \"INVALID\";\n /**\n * HDCP level Version 1.0\n */\n HdcpLevel[HdcpLevel[\"V_1_0\"] = 2] = \"V_1_0\";\n /**\n * HDCP level Version 2.0\n */\n HdcpLevel[HdcpLevel[\"V_2_0\"] = 3] = \"V_2_0\";\n /**\n * HDCP level Version 2.1\n */\n HdcpLevel[HdcpLevel[\"V_2_1\"] = 4] = \"V_2_1\";\n /**\n * HDCP level Version 2.2\n */\n HdcpLevel[HdcpLevel[\"V_2_2\"] = 5] = \"V_2_2\";\n /**\n * HDCP level Version 2.3\n */\n HdcpLevel[HdcpLevel[\"V_2_3\"] = 6] = \"V_2_3\";\n /**\n * HDCP level Version 2.4\n */\n HdcpLevel[HdcpLevel[\"V_2_4\"] = 7] = \"V_2_4\";\n})(HdcpLevel = exports.HdcpLevel || (exports.HdcpLevel = {}));\n;\n/**\n * Buffer Pixel Format specifies the memory layout and bits used to store the\n * data within the buffer.\n */\nvar BufferPixelFormat;\n(function (BufferPixelFormat) {\n /**\n * Buffer format is unknown or customized format.\n */\n BufferPixelFormat[\"UNKNOWN\"] = \"UNKNOWN\";\n BufferPixelFormat[\"YUYV\"] = \"YUYV\";\n BufferPixelFormat[\"YVU420\"] = \"YV12\";\n BufferPixelFormat[\"NV12\"] = \"NV12\";\n BufferPixelFormat[\"YUV420\"] = \"YU12\";\n BufferPixelFormat[\"FLEX_YCbCr_420_888\"] = \"9999\";\n BufferPixelFormat[\"FLEX_YCbCr_420_101010\"] = \"8888\";\n BufferPixelFormat[\"UYVY\"] = \"UYVY\";\n BufferPixelFormat[\"RGB888\"] = \"RG24\";\n BufferPixelFormat[\"ARGB8888\"] = \"AR24\";\n})(BufferPixelFormat = exports.BufferPixelFormat || (exports.BufferPixelFormat = {}));\n;\n;\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DisplayManager = void 0;\nconst AmazonGraphicsTurboModule_1 = __importDefault(require(\"./AmazonGraphicsTurboModule\"));\nif (!AmazonGraphicsTurboModule_1.default) {\n throw new Error(`AmazonGraphicsTurboModule turbo-module is null.`);\n}\n/**\n * Display Manager Listener callback cancellation is handled through\n * this Subscription object retuned after calling {@link DisplayController#addListener}\n */\nclass DisplayManagerListenerSubscription {\n token;\n constructor(token) {\n this.token = token;\n }\n /**\n * Unsubscribes the listener.\n */\n unsubscribe() {\n AmazonGraphicsTurboModule_1.default.removeDisplayManagerListener(this.token);\n }\n}\n/**\n * DisplayManager provides APIs to change the display configuration/settings.\n * Clients require the application privilege \"com.amazon.graphics.privilege.display.manager\"\n * to invoke APIs of this class.\n */\nclass DisplayManager {\n constructor() { }\n /**\n * Request Display Server to switch to a certain color depth.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param colorDepth Requested new color depth.\n */\n static setColorDepth(colorDepth) {\n AmazonGraphicsTurboModule_1.default.setColorDepth(colorDepth);\n }\n /**\n * Requests Display Server to switch to the supplied color space e.g. RGB or YUV etc.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param colorSpace Requested new color space.\n */\n static setColorSpace(colorSpace) {\n AmazonGraphicsTurboModule_1.default.setColorSpace(colorSpace);\n }\n /**\n * Enable or disable HDR mode.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param mode Requested HDR mode.\n */\n static setHdrMode(hdrMode) {\n AmazonGraphicsTurboModule_1.default.setHdrMode(hdrMode);\n }\n /**\n * Enable or disable Low latency mode.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param state Requested latency mode.\n */\n static setLowLatencyModeState(llmState) {\n AmazonGraphicsTurboModule_1.default.setLowLatencyModeState(llmState);\n }\n /**\n * Set the MRR state of the display. MRR is a feature which allows clients to request\n * alternate refresh rate which might be more appropriate for their content.\n * This is a global MRR state for a display and controls if applications can request display server\n * to switch to one of the other supported refresh rates which closely matches original content frame rate.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param state MRR state being requested to be used for this display.\n */\n static setMultipleRefreshRateState(mrrState) {\n AmazonGraphicsTurboModule_1.default.setMultipleRefreshRateState(mrrState);\n }\n /**\n * Request the display to switch to a new config.\n * {@link IDisplayListener.onConfigChange} will be called upon successful completion.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param displayConfig The new requested display config.\n */\n static requestConfigChange(displayConfig, refreshRateInMillihertz) {\n return AmazonGraphicsTurboModule_1.default.requestConfigChange(displayConfig, refreshRateInMillihertz);\n }\n /**\n * Request the display to switch to a new config automatically. In this mode, display server selects\n * the most appropriate config dynamically based on various factors. IDisplayListener.onConfigChange\n * will still be called upon a successful config switch. Please note, calling enableAutoConfigSwitch(true)\n * would override previous requestConfigChange() call.\n * The default state is \"true\".\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\" application privilege.\n * @param enable If true, display subsystem would choose appropriate config automatically.\n */\n static enableAutoConfigSwitch(enable) {\n AmazonGraphicsTurboModule_1.default.enableAutoConfigSwitch(enable);\n }\n /**\n * Requests display server to adjust the visible area of the display to\n * ensure content is not lost beyond the screen's physical borders. The API takes the\n * widths of the four borders or margins as a percentage of width or height.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param leftBorderAsPercentageWidth The left border as percentage of width.\n * @param topBorderAsPercentageOfHeight The top border as percentage of\n * height.\n * @param rightBorderAsPercentageOfWidth The right border as percentage of\n * width.\n * @param bottomBorderAsPercentageOfHeight The bottom border as percentage of\n * height.\n */\n static setOverscanBorder(leftBorderAsPercentageOfWidth, topBorderAsPercentageOfHeight, rightBorderAsPercentageOfWidth, bottomBorderAsPercentageOfHeight) {\n return AmazonGraphicsTurboModule_1.default.setOverscanBorder(leftBorderAsPercentageOfWidth, topBorderAsPercentageOfHeight, rightBorderAsPercentageOfWidth, bottomBorderAsPercentageOfHeight);\n }\n /**\n * Adds display manager listener object {@link IDisplayManagerListener} to receive\n * callbacks when display manager properties change.\n * It returns a {@link ISubscription} object, which is used to unsubscribe the listener\n * from receiving events through {@link ISubscription.unsubscribe()}.\n * @param listener IDisplayManagerListener interface\n * @return ISubscription object related to this listener @see DisplayManagerListenerSubscription\n */\n static addListener(listener) {\n let token = AmazonGraphicsTurboModule_1.default.addDisplayManagerListener(listener.onCommitSuccess, listener.onCommitFailure);\n return new DisplayManagerListenerSubscription(token);\n }\n /**\n * Request the display manager to commit all pending states.\n * Please note, this function has to be called for any changes to be applied.\n * This API will only update the pending states and it will actually try to apply all the pending\n * states change requests made since last commitStates() call.\n * The benefit of having a single commit call is that fact that clients can apply multiple dependent states\n * together on display hardware.\n * Client can know the result of the commit request through {@link IDisplayManagerListener}.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\" application privilege.\n * @return commit id which can be used to track the commit status.\n */\n static commitStates() {\n return AmazonGraphicsTurboModule_1.default.commitStates();\n }\n}\nexports.DisplayManager = DisplayManager;\nexports.default = DisplayManager;\n","\"use strict\";\n/*\n* Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n*\n* PROPRIETARY/CONFIDENTIAL\n*\n* Use is subject to license terms.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//@ts-ignore\nconst keplerscript_turbomodule_api_1 = require(\"@amazon-devices/keplerscript-turbomodule-api\");\n// prettier-ignore\nexports.default = keplerscript_turbomodule_api_1.TurboModuleRegistry.getEnforcing('AmazonGraphicsTurboModule');\n","\"use strict\";\n/**\n * Copyright (c) 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n *\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TurboModuleRegistry = void 0;\nexports.TurboModuleRegistry = require(\"./turbomodules/TurboModuleRegistry\");\n","\"use strict\";\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Portions of this file are copyright (c) 2023 Amazon.com, Inc. or its\n * affiliates. All rights reserved.\n *\n * PORTIONS OF THIS FILE ARE AMAZON PROPRIETARY/CONFIDENTIAL. USE IS SUBJECT TO\n * LICENSE TERMS.\n *\n * Amazon modifications are indicated by [amznmod_* comments].\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getEnforcing = exports.get = void 0;\nconst invariant_1 = require(\"../invariant/invariant\");\nconst turboModuleProxy = global.__turboModuleProxy;\nfunction requireModule(name) {\n if (turboModuleProxy != null) {\n return turboModuleProxy(name);\n }\n return null;\n}\nfunction get(name) {\n return requireModule(name);\n}\nexports.get = get;\nfunction getEnforcing(name) {\n const module = requireModule(name);\n (0, invariant_1.default)(module != null, `TurboModuleRegistry.getEnforcing(...): '${name}' could not be found. ` + 'Verify that a module by this name is registered in the native binary.');\n return module;\n}\nexports.getEnforcing = getEnforcing;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Portions of this file are copyright (c) 2023 Amazon.com, Inc. or its\n * affiliates. All rights reserved.\n *\n * PORTIONS OF THIS FILE ARE AMAZON PROPRIETARY/CONFIDENTIAL. USE IS SUBJECT TO\n * LICENSE TERMS.\n *\n * Amazon modifications are indicated by [amznmod_* comments].\n */\n/**\n * amznmod_tmapi: Migrated to typescript\n */\n'use strict';\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\nconst NODE_ENV = process.env.NODE_ENV;\nconst invariant = (condition, format, ...extraArgs) => {\n if (NODE_ENV !== 'production') {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n if (!condition) {\n let error;\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' +\n 'for the full error message and additional helpful warnings.');\n }\n else {\n let argIndex = 0;\n error = new Error(format.replace(/%s/g, () => (extraArgs[argIndex++])));\n error.name = 'Invariant Violation';\n }\n // @ts-ignore `framesToPop` is not part of Error type but something Meta (and maybe RN) uses.\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n};\nexports.default = invariant;\n","function _classCallCheck(a, n) {\n if (!(a instanceof n)) throw new TypeError(\"Cannot call a class as a function\");\n}\nmodule.exports = _classCallCheck, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _defineProperties(e, r) {\n for (var t = 0; t < r.length; t++) {\n var o = r[t];\n o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);\n }\n}\nfunction _createClass(e, r, t) {\n return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, \"prototype\", {\n writable: !1\n }), e;\n}\nmodule.exports = _createClass, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar toPrimitive = require(\"./toPrimitive.js\");\nfunction toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}\nmodule.exports = toPropertyKey, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nfunction toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nmodule.exports = toPrimitive, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _typeof(o);\n}\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Display = void 0;\n/*\n * Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n */\nconst types_1 = require(\"../types\");\nconst AmazonGraphicsTurboModule_1 = __importDefault(require(\"./AmazonGraphicsTurboModule\"));\nif (!AmazonGraphicsTurboModule_1.default) {\n throw new Error(`AmazonGraphicsTurboModule turbo-module is null.`);\n}\n/**\n * Display Listener callback cancellation is handled through\n * Subscription object returned after calling\n * {@link DisplayController.addListener}.\n */\nclass DisplayListenerSubscription {\n token;\n constructor(token) {\n this.token = token;\n }\n /**\n * Unsubscribes the listener.\n */\n unsubscribe() {\n AmazonGraphicsTurboModule_1.default.removeDisplayListener(this.token);\n }\n}\n/**\n * Class that retrieves properties of the primary display.\n * Note only primary display is supported by this turbomodule.\n */\nclass Display {\n constructor() { }\n /**\n * Query the display connector name.\n * @return The name of the display connector (not the panel name).\n */\n static getName() {\n return AmazonGraphicsTurboModule_1.default.getName();\n }\n /**\n * Get current color depth.\n * @return color depth.\n */\n static getColorDepth() {\n return AmazonGraphicsTurboModule_1.default.getColorDepth();\n }\n /**\n * Get current color space.\n * @return color space.\n */\n static getColorSpace() {\n return AmazonGraphicsTurboModule_1.default.getColorSpace();\n }\n /**\n * Get current HDR mode.\n * @return HDR mode.\n */\n static getHdrMode() {\n return AmazonGraphicsTurboModule_1.default.getHdrMode();\n }\n /**\n * Query the current Low latency mode state of the display.\n * @return Low latency mode state being used for the display.\n */\n static getLowLatencyModeState() {\n return AmazonGraphicsTurboModule_1.default.getLowLatencyModeState();\n }\n /**\n * Query if any kind of display low latency mode is supported for this display.\n * @return true if supported otherwise false\n */\n static isLowLatencyModeSupported() {\n return AmazonGraphicsTurboModule_1.default.isLowLatencyModeSupported();\n }\n /**\n * Query the Multiple Refresh Rate (MRR) state for this display.\n * It allows clients to request alternate refresh rate which might be more\n * appropriate for their content.\n * @return MRR state being used for the display.\n */\n static isMultipleRefreshRateEnabled() {\n return AmazonGraphicsTurboModule_1.default.isMultipleRefreshRateEnabled();\n }\n /**\n * Query the current vertical refresh rate in mHz (millihertz) for this display\n * @return Returns current refresh rate for this display in mHz.\n * If the current refresh rate changes, {@link IDisplayListener.onRefreshRateChange}\n * will be called.\n */\n static getCurrentRefreshRateInMillihertz() {\n return AmazonGraphicsTurboModule_1.default.getCurrentRefreshRateInMillihertz();\n }\n /**\n * Query the current HDCP (High-bandwidth Digital Content Protection) level for this display.\n * @return Returns current HDCP level for this display\n * @see HdcpLevel\n */\n static getCurrentHdcpLevel() {\n return AmazonGraphicsTurboModule_1.default.getCurrentHdcpLevel();\n }\n /**\n * Query the list of all supported configs for this display.\n * @return Returns list of all supported configs for this display.\n */\n static getAllSupportedConfigs() {\n return AmazonGraphicsTurboModule_1.default.getAllSupportedConfigs();\n }\n /**\n * Query the current config for this display.\n * @return Returns current config\n * @see IDisplayConfig\n */\n static getCurrentConfig() {\n return AmazonGraphicsTurboModule_1.default.getCurrentConfig();\n }\n /**\n * Query if auto config switch is enabled.\n * @return true, if auto config switch is enabled, false otherwise\n * @see IDisplayConfig\n */\n static isAutoConfigSwitchEnabled() {\n return AmazonGraphicsTurboModule_1.default.isAutoConfigSwitchEnabled();\n }\n /**\n * Query for allowed color spaces which are obtained based on\n * the connected display/TV capabilities and the device capabilities.\n * If the resolution, the refresh rate or the HDR setting changes then\n * clients are expected to query this API again to get updated allowed color spaces.\n * @returns {ColorSpace[]} An array of ColorSpace values representing the allowed color spaces\n * {@link DisplayManager.setColorSpace()}\n */\n static getAllowedColorSpaces() {\n return AmazonGraphicsTurboModule_1.default.getAllowedColorSpaces();\n }\n /**\n * Query for allowed color depths for given color space, which are obtained based on\n * the connected display/TV capabilities and the device capabilities.\n * If the resolution, the refresh rate or the HDR setting changes then\n * clients are expected to query this API again to get updated allowed color depth.\n * @param {ColorSpace} colorSpace - the color space for which allowed color depths are queried.\n * @returns {ColorDepth[]} An array of ColorDepth values available for the specified color space\n * {@link DisplayManager.setColorDepth()}\n */\n static getAllowedColorDepths(colorSpace) {\n return AmazonGraphicsTurboModule_1.default.getAllowedColorDepths(colorSpace);\n }\n /**\n * Returns the current overscan border values of the display.\n * The border value (left, top, right and bottom) represent the fraction of\n * the width or height of the display that acts like a margin for the visible\n * region on the display.\n * @return The current overscan border configuration.\n * @throws DeviceError if the display device is not in active state\n * @see IOverscanBorder\n */\n static getOverscanBorder() {\n return AmazonGraphicsTurboModule_1.default.getOverscanBorder();\n }\n /**\n * Check if the display sink port where this display source device is connected is active or not.\n * A display sink (e.g. TV or monitor) may have multiple display ports. The port where this source\n * device is connected may be inactive even if display source (this device) is powered ON.\n * @return Returns true if display sink is active.\n */\n static isSinkActive() {\n return AmazonGraphicsTurboModule_1.default.isSinkActive();\n }\n /**\n * Adds display listener object {@link IDisplayListener} to receive\n * callbacks when display properties change. It returns a\n * {@link ISubscription} object, which is used to unsubscribe the listener\n * from receiving events through {@link ISubscription.unsubscribe()}.\n * @param listener IDisplayListener interface\n * @return ISubscription object related to this listener @see DisplayListenerSubscription\n */\n static addDisplayListener(listener) {\n let token = AmazonGraphicsTurboModule_1.default.addDisplayListener(listener.onConfigChange, listener.onRefreshRateChange, listener.onColorDepthChange, listener.onColorSpaceChange, listener.onHdcpLevelChange, listener.onAutoConfigSwitchStateChange, listener.onMultipleRefreshRateStateChange, listener.onLowLatencyModeStateChange, listener.onHdrModeChange);\n return new DisplayListenerSubscription(token);\n }\n /**\n * Adds display listener object {@link IDisplayListener} to receive\n * callbacks when display properties change. It returns a\n * {@link ISubscription} object, which is used to unsubscribe the listener\n * from receiving events through {@link ISubscription.unsubscribe()}.\n * @param listener IDisplayListener interface\n * @return ISubscription object related to this listener @see DisplayListenerSubscription\n */\n static addDisplayListener2(listener) {\n let token = AmazonGraphicsTurboModule_1.default.addDisplayListener2(listener.onConfigChange, listener.onRefreshRateChange, listener.onColorDepthChange, listener.onColorSpaceChange, listener.onHdcpLevelChange, listener.onAutoConfigSwitchStateChange, listener.onMultipleRefreshRateStateChange, listener.onLowLatencyModeStateChange, listener.onHdrModeChange, listener.onSinkStateChange || (() => { })); // Provide a no-op function if onSinkStateChange is undefined\n return new DisplayListenerSubscription(token);\n }\n /**\n * Below APIs are just wrapper APIs and does not have direct 1:1 mapping\n * with native APIs.\n */\n /**\n * Check if display supports HDR (High Definition Range) or not.\n */\n static isHDRSupported() {\n const displayConfigList = AmazonGraphicsTurboModule_1.default.getAllSupportedConfigs();\n for (const displayConfig of displayConfigList) {\n for (const hdrType of displayConfig.supportedHdrType) {\n if (hdrType !== types_1.HdrType.NONE) {\n // Found a HDR type which is either HDR10, HDR10+, Dolby Vision or HLG\n // and all these HDR types support BT.2020 color gamut.\n return true;\n }\n }\n }\n return false;\n }\n /**\n * Check if the display supports BT.2020 / Rec.2020 colorimetry standard.\n */\n static isBT2020ColorimetrySupported() {\n // Any of the HDR types (HDR10, HDR10+, Dolby Vision, HLG) support BT.2020 color gamut.\n return this.isHDRSupported();\n }\n /**\n * Query the supported transfer functions by the display.\n */\n static getTransferFunctions() {\n let transferFunctionList = [types_1.TransferFunction.SRGB];\n const displayConfigList = AmazonGraphicsTurboModule_1.default.getAllSupportedConfigs();\n for (const displayConfig of displayConfigList) {\n for (const hdrType of displayConfig.supportedHdrType) {\n if (hdrType === types_1.HdrType.HLG) {\n transferFunctionList.push(types_1.TransferFunction.HLG);\n }\n else if (hdrType !== types_1.HdrType.NONE) {\n // HDR10 / HDR10+ / Dolby Vision\n transferFunctionList.push(types_1.TransferFunction.PQ);\n }\n }\n }\n return transferFunctionList;\n }\n}\nexports.Display = Display;\nexports.default = Display;\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DisplayController = void 0;\nconst AmazonGraphicsTurboModule_1 = __importDefault(require(\"./AmazonGraphicsTurboModule\"));\nif (!AmazonGraphicsTurboModule_1.default) {\n throw new Error(`AmazonGraphicsTurboModule turbo-module is null.`);\n}\n/**\n * Display Controller Listener callback cancellation is handled through\n * this Subscription object retuned after calling {@link DisplayController#addListener}\n */\nclass DisplayControllerListenerSubscription {\n token;\n constructor(token) {\n this.token = token;\n }\n /**\n * Unsubscribes the listener.\n */\n unsubscribe() {\n AmazonGraphicsTurboModule_1.default.removeDisplayControllerListener(this.token);\n }\n}\n/**\n * DisplayController specific operations are done through this\n * class abstraction.\n */\nclass DisplayController {\n constructor() { }\n /**\n * Adds display controller listener object {@link IDisplayControllerListener}\n * to receive callbacks when primary display is added (connected) or removed (disconnected).\n * It returns a {@link ISubscription} object, which is used to unsubscribe\n * the listener from receiving the events through {@link ISubscription.unsubscribe}.\n *\n * @param listener IDisplayControllerListener object to listen for display\n * controller events.\n * @return ISubscription object corresponding to the listener @see DisplayControllerListenerSubscription\n */\n static addListener(listener) {\n let token = AmazonGraphicsTurboModule_1.default.addDisplayControllerListener(listener.onAddDisplay, listener.onRemoveDisplay);\n return new DisplayControllerListenerSubscription(token);\n }\n /**\n * Check if primary display is connected to the device and ready to use.\n * @return return true if display is connected, false otherwise.\n */\n static isPrimaryDisplayConnected() {\n return AmazonGraphicsTurboModule_1.default.isPrimaryDisplayConnected();\n }\n}\nexports.DisplayController = DisplayController;\nexports.default = DisplayController;\n"],"x_facebook_sources":[null,[{"names":["<global>","<anonymous>","inspect","stylizeNoColor","arrayToHash","array.forEach$argument_0","formatValue","keys.map$argument_0","formatPrimitive","formatError","formatArray","keys.forEach$argument_0","formatProperty","str.split.map$argument_0","reduceToSingleString","output.reduce$argument_0","isArray","isBoolean","isNull","isNullOrUndefined","isNumber","isString","isSymbol","isUndefined","isRegExp","isObject","isDate","isError","isFunction","objectToString","hasOwnProperty","getNativeLogFunction","Array.prototype.map.call$argument_1","repeat","Array.apply.map$argument_0","consoleTablePolyfill","columns.forEach$argument_0","joinRow","row.map$argument_0","columnWidths.map$argument_0","groupFormat","consoleGroupPolyfill","consoleGroupCollapsedPolyfill","consoleGroupEndPolyfill","consoleAssertPolyfill","Object.keys.forEach$argument_0","methodName","forEach$argument_0","stub","global.console.assert"],"mappings":"AAA;iBCiB;ECwB;GDO;EEE;GFE;EGE;kBCG;KDE;GHG;EKE;wBC2F;ODS;GLM;EOE;GPgB;EQE;GRE;ESE;iBCkB;KDM;GTE;EWE;mBC4B;eDE;qBCQ;iBDE;GX0B;EaE;+BCE;KDI;Gbc;EeI;GfE;EgBE;GhBE;EiBE;GjBE;EkBE;GlBE;EmBE;GnBE;EoBE;GpBE;EqBE;GrBE;EsBE;GtBE;EuBE;GvBE;EwBE;GxBE;EyBE;GzBE;E0BE;G1BK;E2BE;G3BE;E4BE;G5BE;E6BE;G7BE;CDG;A+BmB;S9BC;yB+BM;S/BE;G8BmC;C/BC;AiCE;yCCC;GDE;CjCC;AmCE;kBCwB;GDQ;EEI;wBCC;KDG;GFG;oCIE;GJE;CnCc;AwCQ;CxCG;AyCE;CzCG;A0CE;C1CG;A2CE;C3CG;A4CE;C5CI;iC6CmC;8BCG;SDG;K7CE;gE+CK;8BDE;SCE;K/CE;EgDG,kBhD;IiDU;KjDI"}],[{"names":["<global>","onError","ErrorUtils.setGlobalHandler","ErrorUtils.getGlobalHandler","ErrorUtils.reportError","ErrorUtils.reportFatalError","ErrorUtils.applyWithGuard","ErrorUtils.applyWithGuardIfNeeded","ErrorUtils.inGuard","ErrorUtils.guard","guarded"],"mappings":"AAA;mCCqB;CDK;EEW;GFE;EGC;GHE;EIC;GJE;EKC;GLG;EMC;GNsB;EOC;GPe;EQC;GRE;ESC;ICc;KDQ;GTG"}],[{"names":["<global>","<anonymous>","entries","values"],"mappings":"AAA;CCW;qBCU;KDa;oBEQ;KFa;CDE"}],[{"names":["<global>","<anonymous>","desc.get","Object.defineProperty$argument_2.get"],"mappings":"AAA;0ECQ;sCCI,2BD;CDG,KC;CDG;kDCC;CDE;wDCC;CDE;0EGK,iEH;mEGE,0DH;6EGE,oEH"}],[{"names":["<global>","Object.defineProperty$argument_2.get"],"mappings":"AAA;sECW,kDD;sECC,kDD;mECC,+CD;mECC,+CD;oECC,gDD;qECC,iDD;6ECC,yDD;sECC,kDD;4ECC,wDD"}],[{"names":["<global>","<anonymous>"],"mappings":"AAA;CCc;CDiB;CCM;CDqB;CCM;CDa;CCM;CDqB;CCM;CDa;CCM;CDa;CCM;CDc;CCM;CD6B;CCO;CDc"}],[{"names":["<global>","<anonymous>","DisplayManagerListenerSubscription","DisplayManagerListenerSubscription#constructor","DisplayManagerListenerSubscription#unsubscribe","DisplayManager","constructor","setColorDepth","setColorSpace","setHdrMode","setLowLatencyModeState","setMultipleRefreshRateState","requestConfigChange","enableAutoConfigSwitch","setOverscanBorder","addListener","commitStates"],"mappings":"AAA;wDCC;CDE;AEW;ICE;KDE;IEI;KFE;CFC;AKM;ICC,iBD;IEO;KFE;IGO;KHE;IIO;KJE;IKO;KLE;IMU;KNE;IOQ;KPE;IQU;KRE;ISe;KTE;IUS;KVG;IWY;KXE;CLC"}],[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>","requireModule","get","getEnforcing"],"mappings":"AAA;ACmB;CDK;AEC;CFE;AGE;CHI"}],[{"names":["<global>","invariant","format.replace$argument_1"],"mappings":"AAA;kBC8B;oDCc,6BD;CDO"}],[{"names":["_classCallCheck","<global>"],"mappings":"AAA;CCE"}],[{"names":["<global>","_defineProperties","_createClass"],"mappings":"AAA;ACC;CDK;AEC;CFI"}],[{"names":["<global>","toPropertyKey"],"mappings":"AAA;ACE;CDG"}],[{"names":["<global>","toPrimitive"],"mappings":"AAA;ACC;CDS"}],[{"names":["_typeof","<anonymous>","<global>"],"mappings":"AAA;wGCG;GDE,GC;GDE;CEC"}],[{"names":["<global>","<anonymous>","DisplayListenerSubscription","DisplayListenerSubscription#constructor","DisplayListenerSubscription#unsubscribe","Display","constructor","getName","getColorDepth","getColorSpace","getHdrMode","getLowLatencyModeState","isLowLatencyModeSupported","isMultipleRefreshRateEnabled","getCurrentRefreshRateInMillihertz","getCurrentHdcpLevel","getAllSupportedConfigs","getCurrentConfig","isAutoConfigSwitchEnabled","getAllowedColorSpaces","getAllowedColorDepths","getOverscanBorder","isSinkActive","addDisplayListener","addDisplayListener2","isHDRSupported","isBT2020ColorimetrySupported","getTransferFunctions"],"mappings":"AAA;wDCC;CDE;AEoB;ICE;KDE;IEI;KFE;CFC;AKK;ICC,iBD;IEK;KFE;IGK;KHE;IIK;KJE;IKK;KLE;IMK;KNE;IOK;KPE;IQO;KRE;ISO;KTE;IUM;KVE;IWK;KXE;IYM;KZE;IaM;KbE;IcS;KdE;IeU;KfE;IgBU;KhBE;IiBO;KjBE;IkBS;KlBG;ImBS;2YvBC,SuB;KnBE;IoBQ;KpBY;IqBI;KrBG;IsBI;KtBe;CLC"}],[{"names":["<global>","<anonymous>","DisplayControllerListenerSubscription","DisplayControllerListenerSubscription#constructor","DisplayControllerListenerSubscription#unsubscribe","DisplayController","constructor","addListener","isPrimaryDisplayConnected"],"mappings":"AAA;wDCC;CDE;AEW;ICE;KDE;IEI;KFE;CFC;AKK;ICC,iBD;IEW;KFG;IGK;KHE;CLC"}]],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18],"names":["inspect","obj","opts","ctx","seen","formatValueCalls","stylize","stylizeNoColor","formatValue","depth","str","styleType","arrayToHash","array","hash","forEach","val","idx","value","recurseTimes","primitive","formatPrimitive","keys","Object","visibleKeys","isError","indexOf","formatError","length","isFunction","name","isRegExp","RegExp","prototype","toString","call","isDate","Date","base","braces","isArray","n","toUTCString","push","output","formatArray","map","key","formatProperty","pop","reduceToSingleString","isUndefined","isString","simple","JSON","stringify","replace","isNumber","isBoolean","isNull","Error","i","l","hasOwnProperty","String","match","desc","getOwnPropertyDescriptor","get","set","split","line","join","substr","numLinesEst","reduce","prev","cur","ar","Array","arg","undefined","re","isObject","objectToString","d","e","o","prop","OBJECT_COLUMN_NAME","LOG_LEVELS","trace","info","warn","error","INSPECTOR_LEVELS","INSPECTOR_FRAMES_TO_SKIP","getNativeLogFunction","level","arguments","firstArg","logLevel","slice","global","__inspectorLog","groupStack","groupFormat","nativeLoggingHook","repeat","element","apply","consoleTablePolyfill","rows","data","row","columns","sort","stringRows","columnWidths","k","j","cellStr","Math","max","joinRow","space","cells","cell","extraSpaces","separators","columnWidth","separatorRow","header","table","GROUP_PAD","GROUP_OPEN","GROUP_CLOSE","prefix","msg","consoleGroupPolyfill","label","consoleGroupCollapsedPolyfill","consoleGroupEndPolyfill","consoleAssertPolyfill","expression","originalConsole","console","log","debug","group","groupEnd","groupCollapsed","assert","defineProperty","enumerable","stub","print","clear","dir","dirxml","profile","profileEnd","globalThis","window","_inGuard","_globalHandler","onError","isFatal","ErrorUtils","setGlobalHandler","fun","getGlobalHandler","reportError","reportFatalError","applyWithGuard","context","args","unused_onError","unused_name","applyWithGuardIfNeeded","inGuard","guard","_ref","guardName","guarded","_len","_key","entries","object","TypeError","values","__createBinding","create","m","k2","__esModule","writable","configurable","__exportStar","exports","p","__importDefault","mod","DisplayController","Display","DisplayManager","require","_dependencyMap","_$$_REQUIRE","default","TransferFunction","ColorGamut","BufferPixelFormat","HdcpLevel","LlmState","HdrType","HdrMode","ColorSpace","ColorDepth","AmazonGraphicsTurboModule_1","DisplayManagerListenerSubscription","token","unsubscribe","removeDisplayManagerListener","setColorDepth","colorDepth","setColorSpace","colorSpace","setHdrMode","hdrMode","setLowLatencyModeState","llmState","setMultipleRefreshRateState","mrrState","requestConfigChange","displayConfig","refreshRateInMillihertz","enableAutoConfigSwitch","enable","setOverscanBorder","leftBorderAsPercentageOfWidth","topBorderAsPercentageOfHeight","rightBorderAsPercentageOfWidth","bottomBorderAsPercentageOfHeight","addListener","listener","addDisplayManagerListener","onCommitSuccess","onCommitFailure","commitStates","TurboModuleRegistry","getEnforcing","turboModuleProxy","__turboModuleProxy","requireModule","module","NODE_ENV","invariant","condition","format","extraArgs","argIndex","framesToPop","_classCallCheck","a","_defineProperties","r","t","_createClass","toPropertyKey","toPrimitive","Symbol","Number","_typeof","iterator","constructor","DisplayListenerSubscription","removeDisplayListener","getName","getColorDepth","getColorSpace","getHdrMode","getLowLatencyModeState","isLowLatencyModeSupported","isMultipleRefreshRateEnabled","getCurrentRefreshRateInMillihertz","getCurrentHdcpLevel","getAllSupportedConfigs","getCurrentConfig","isAutoConfigSwitchEnabled","getAllowedColorSpaces","getAllowedColorDepths","getOverscanBorder","isSinkActive","addDisplayListener","onConfigChange","onRefreshRateChange","onColorDepthChange","onColorSpaceChange","onHdcpLevelChange","onAutoConfigSwitchStateChange","onMultipleRefreshRateStateChange","onLowLatencyModeStateChange","onHdrModeChange","addDisplayListener2","onSinkStateChange","isHDRSupported","displayConfigList","hdrType","supportedHdrType","NONE","isBT2020ColorimetrySupported","getTransferFunctions","transferFunctionList","SRGB","HLG","PQ","DisplayControllerListenerSubscription","removeDisplayControllerListener","addDisplayControllerListener","onAddDisplay","onRemoveDisplay","isPrimaryDisplayConnected"],"mappings":";;ECAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;EAEA;;EAEA;AACA;AACA;AACA;EACA,IAAMA,OAAO,GAAI,YAAY;IAC3B;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;IAEA,SAASA,OAAOA,CAACC,GAAG,EAAEC,IAAI,EAAE;MAC1B,IAAIC,GAAG,GAAG;QACRC,IAAI,EAAE,EAAE;QACRC,gBAAgB,EAAE,CAAC;QACnBC,OAAO,EAAEC;MACX,CA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,CAACV,OAAO,CAAC8G,4BAA4B,CAAC1E,QAAQ,CAAC2E,YAAY,EAAE3E,QAAQ,CAAC4E,eAAe,CAAC;QAC7H,OAAO,IAAIJ,qCAAqC,CAAChG,KAAK,CAAC;MAC3D;MACA;AACJ;AACA;AACA;IAHI;MAAA9K,GAAA;MAAA7B,KAAA,EAIA,SAAOgT,yBAAyBA,CAAA,EAAG;QAC/B,OAAOvG,2BAA2B,CAACV,OAAO,CAACiH,yBAAyB,CAAC,CAAC;MAC1E;IAAC;EAAA;EAEL3H,OAAO,CAACI,iBAAiB,GAAGA,iBAAiB;EAC7CJ,OAAO,CAACU,OAAO,GAAGN,iBAAiB;AAAC","x_amazon_bundleId":"85e2040f418404d98b11030ca64ecbfc82c6b30d1405fd2340da85bab1c6b9ae"}
|
|
@@ -4,8 +4,8 @@ node_modules/@react-native/js-polyfills_0.72.1/Object.es8.js:a9bf7d37774d7198840
|
|
|
4
4
|
node_modules/@amzn/keplerscript-turbomodule-api_1.0.0/dist/index.js:8a35a86b7946c72e0207
|
|
5
5
|
node_modules/@amzn/keplerscript-turbomodule-api_1.0.0/dist/turbomodules/TurboModuleRegistry.js:33d6b98d6e39f6b0a8f9
|
|
6
6
|
node_modules/@amzn/keplerscript-turbomodule-api_1.0.0/dist/invariant/invariant.js:8d9475a2cb77b53e450d
|
|
7
|
-
node_modules/@babel/runtime_7.
|
|
8
|
-
node_modules/@babel/runtime_7.
|
|
9
|
-
node_modules/@babel/runtime_7.
|
|
10
|
-
node_modules/@babel/runtime_7.
|
|
11
|
-
node_modules/@babel/runtime_7.
|
|
7
|
+
node_modules/@babel/runtime_7.28.4/helpers/classCallCheck.js:cb664999166f9660a878
|
|
8
|
+
node_modules/@babel/runtime_7.28.4/helpers/createClass.js:68819e29ebee24bb0e88
|
|
9
|
+
node_modules/@babel/runtime_7.28.4/helpers/toPropertyKey.js:cbba112244d360ffda7a
|
|
10
|
+
node_modules/@babel/runtime_7.28.4/helpers/toPrimitive.js:ad82d340d0b5dc5f0801
|
|
11
|
+
node_modules/@babel/runtime_7.28.4/helpers/typeof.js:e08c69ed06cf526909e3
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
## @react-native/js-polyfills
|
|
2
|
+
Version: 0.72.1
|
|
3
|
+
License: MIT
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## @babel/runtime
|
|
8
|
+
Version: 7.26.9
|
|
9
|
+
License: MIT
|
|
10
|
+
|
|
11
|
+
MIT License
|
|
12
|
+
|
|
13
|
+
Copyright (c) 2014-present Sebastian McKenzie and other contributors
|
|
14
|
+
|
|
15
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
16
|
+
a copy of this software and associated documentation files (the
|
|
17
|
+
"Software"), to deal in the Software without restriction, including
|
|
18
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
19
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
20
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
21
|
+
the following conditions:
|
|
22
|
+
|
|
23
|
+
The above copyright notice and this permission notice shall be
|
|
24
|
+
included in all copies or substantial portions of the Software.
|
|
25
|
+
|
|
26
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
27
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
28
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
29
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
30
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
31
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
32
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
@@ -4,5 +4,7 @@
|
|
|
4
4
|
"2.3.1": "/com.amazon.kepler.kepler_graphics_2@IKeplerGraphics_1",
|
|
5
5
|
"2.3.2": "/com.amazon.kepler.kepler_graphics_2@IKeplerGraphics_1",
|
|
6
6
|
"2.3.3": "/com.amazon.kepler.kepler_graphics_2@IKeplerGraphics_1",
|
|
7
|
+
"2.3.4": "/com.amazon.kepler.kepler_graphics_2@IKeplerGraphics_1",
|
|
8
|
+
"2.3.5": "/com.amazon.kepler.kepler_graphics_2@IKeplerGraphics_1"
|
|
7
9
|
}
|
|
8
10
|
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name": "@amazon-devices/kepler-graphics", "version": "2.3.
|
|
1
|
+
{"name": "@amazon-devices/kepler-graphics", "version": "2.3.5", "main": "dist/index.js", "types": "dist/index.d.ts", "files": ["dist", "react-native.config.js", "kepler-compatibility.json", "SystemModules", "SystemBundles", "THIRD_PARTY_NOTICES.txt", "kepler-transformed-package-info.json"], "scripts": {"clean": "rm -rf node_modules buildinfo.json dist bvm", "test": "jest --colors", "lint": "eslint src tst --ext .ts,.tsx", "lint:fix": "eslint src tst --ext .ts,.tsx --fix", "compile": "tsc -p tsconfig-build.json", "docgen": "npx typedoc --basePath src/ -entryPointStrategy expand --excludePrivate --excludeProtected --excludeInternal --excludeNotDocumented --disableSources --hideGenerator src/", "build": "npm-run-all compile docgen", "release": "npm-run-all lint test compile docgen", "prepublishOnly": "KEPLER_NPM_COMMAND=npm-pretty-much react-native build-system-bundle-kepler"}, "dependencies": {"@amazon-devices/keplerscript-turbomodule-api": "^1.0.0", "react-native-tscodegen-types": "0.66.0"}, "devDependencies": {"@babel/core": "^7.20.0", "@babel/runtime": "^7.20.0", "@react-native/eslint-config": "0.72.2", "@types/jest": "^28.0.0", "@typescript-eslint/eslint-plugin": "^5.30.0", "babel-jest": "^28.0.0", "eslint": "^8.12.0", "@jest/globals": "^28.0.0", "jest": "^28.0.0", "metro-react-native-babel-preset": "^0.76.5", "npm-run-all": "^4.1.5", "prettier": "^2.6.2", "ts-jest": "^28.0.0", "typedoc": "^0.25.x", "typescript": "4.8.4", "@amazon-devices/kepler-cli-platform": "^0", "@react-native-community/cli": "^11.2.0"}, "kepler": {"projectType": "turbomodule", "targets": ["tv", "auto"], "toolchain": "clang", "features": ["vega"]}, "license": "See license in LICENSE"}
|