@amazon-devices/asset-resolver-lib 1.0.1767254403

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.
@@ -0,0 +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/asset-resolver-lib/dist/index.js","node_modules/@amazon-devices/asset-resolver-lib/dist/AssetResolver.js","node_modules/@amazon-devices/asset-resolver-lib/dist/native-asset-resolver.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"],"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\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AssetResolver = void 0;\nvar AssetResolver_1 = require(\"./AssetResolver\");\nObject.defineProperty(exports, \"AssetResolver\", { enumerable: true, get: function () { return __importDefault(AssetResolver_1).default; } });\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 });\n/*\n * Copyright 2025 Amazon.com, Inc. or its affiliates. All rights reserved.\n *\n * AMAZON PROPRIETARY/CONFIDENTIAL\n *\n * You may not use this file except in compliance with the terms and\n * conditions set forth in the accompanying LICENSE.TXT file.\n *\n * THESE MATERIALS ARE PROVIDED ON AN \"AS IS\" BASIS. AMAZON SPECIFICALLY\n * DISCLAIMS, WITH RESPECT TO THESE MATERIALS, ALL WARRANTIES, EXPRESS,\n * IMPLIED, OR STATUTORY, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.\n */\nconst native_asset_resolver_1 = __importDefault(require(\"./native-asset-resolver\"));\nif (!native_asset_resolver_1.default) {\n throw new Error('Native AssetResolver turbo-module is null');\n}\n/**\n * Class providing various APIs for application asset resolution.\n *\n * This class's APIs are used to obtain strings, numbers, and asset paths. Asset resolution\n * uses device configuration qualifier values such as locale, day/night mode to determine\n * the best possible asset for any combination of qualifiers.\n */\nclass AssetResolver {\n /**\n * Gets the string and direction whose identifier is passed in based on the current system\n * configuration qualifiers or based on the provided configuration qualifiers.\n * @param {string} id The name of the string being queried.\n * @param {AssetResolverTypes.AssetConfiguration} configuration Optional configuration qualifiers to\n * use in asset resolution. If these aren't provided, system configuration qualifiers will be used.\n * @returns AssetResolverTypes.StringValue\n * @throws {Error} If AssetResolver execution fails, an Error is thrown.\n */\n static getString(id, configuration) {\n let returnVal = null;\n if (configuration == null) {\n returnVal = native_asset_resolver_1.default.getString(id);\n }\n else {\n returnVal = native_asset_resolver_1.default.getStringWithConfig(configuration, id);\n }\n if (returnVal === null) {\n throw new Error('Error executing getString() API');\n }\n if (returnVal.hasOwnProperty('error')) {\n throw new Error('Could not execute getString(): ' + returnVal.error);\n }\n return returnVal;\n }\n /**\n * Gets the number whose identifier is passed in based on the current system configuration\n * qualifiers or based on the provided configuration qualifiers.\n * @param {string} id The name of the number being queried.\n * @param {AssetResolverTypes.AssetConfiguration} configuration Optional configuration qualifiers to\n * use in asset resolution. If these aren't provided, system configuration qualifiers will be used.\n * @returns number\n * @throws {Error} If AssetResolver execution fails, an Error is thrown.\n */\n static getNumber(id, configuration) {\n let returnVal = null;\n if (configuration == null) {\n returnVal = native_asset_resolver_1.default.getNumber(id);\n }\n else {\n returnVal = native_asset_resolver_1.default.getNumberWithConfig(configuration, id);\n }\n if (returnVal === null) {\n throw new Error('Error executing getNumber() API');\n }\n if (returnVal.hasOwnProperty('error') ||\n !returnVal.hasOwnProperty('value')) {\n throw new Error('Could not execute getNumber(): ' + returnVal.error);\n }\n return returnVal.value;\n }\n /**\n * @brief Get the major version number.\n * @return The major version number.\n */\n static getMajorVersion() {\n return native_asset_resolver_1.default.getMajorVersion();\n }\n /**\n * @brief Get the minor version number.\n * @return The minor version number.\n */\n static getMinorVersion() {\n return native_asset_resolver_1.default.getMinorVersion();\n }\n /**\n * @brief Get the patch version number.\n * @return The patch version number.\n */\n static getPatchVersion() {\n return native_asset_resolver_1.default.getPatchVersion();\n }\n}\nexports.default = AssetResolver;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst keplerscript_turbomodule_api_1 = require(\"@amazon-devices/keplerscript-turbomodule-api\");\nexports.default = keplerscript_turbomodule_api_1.TurboModuleRegistry.getEnforcing('AssetResolver');\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;"],"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>","Object.defineProperty$argument_2.get"],"mappings":"AAA;wDCC;CDE;yEEI,gEF"}],[{"names":["<global>","<anonymous>","AssetResolver","getString","getNumber","getMajorVersion","getMinorVersion","getPatchVersion"],"mappings":"AAA;wDCC;CDE;AE0B;ICU;KDe;IEU;KFgB;IGK;KHE;IIK;KJE;IKK;KLE;CFC"}],[{"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"}]],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"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","__importDefault","mod","__esModule","exports","AssetResolver","_$$_REQUIRE","_dependencyMap","default","native_asset_resolver_1","require","getString","id","configuration","returnVal","getStringWithConfig","getNumber","getNumberWithConfig","getMajorVersion","getMinorVersion","getPatchVersion","TurboModuleRegistry","getEnforcing","turboModuleProxy","__turboModuleProxy","requireModule","module","NODE_ENV","invariant","condition","format","extraArgs","argIndex","framesToPop","_classCallCheck","a","_defineProperties","r","t","configurable","writable","_createClass","toPropertyKey","toPrimitive","Symbol","Number","_typeof","iterator","constructor"],"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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,EAAE;IAClB,yBAAyB;;IAEzB,OAAOiI,MAAM,CAACtB,OAAO,GAAG0C,OAAO,GAAG,UAAU,IAAI,OAAOF,MAAM,IAAI,QAAQ,IAAI,OAAOA,MAAM,CAACG,QAAQ,GAAG,UAAUtJ,CAAC,EAAE;MACjH,OAAO,OAAOA,CAAC;IACjB,CAAC,GAAG,UAAUA,CAAC,EAAE;MACf,OAAOA,CAAC,IAAI,UAAU,IAAI,OAAOmJ,MAAM,IAAInJ,CAAC,CAACuJ,WAAW,KAAKJ,MAAM,IAAInJ,CAAC,KAAKmJ,MAAM,CAACzM,SAAS,GAAG,QAAQ,GAAG,OAAOsD,CAAC;IACrH,CAAC,EAAEiI,MAAM,CAACtB,OAAO,CAACD,UAAU,GAAG,IAAI,EAAEuB,MAAM,CAACtB,OAAO,CAAC,SAAS,CAAC,GAAGsB,MAAM,CAACtB,OAAO,EAAE0C,OAAO,CAACrJ,CAAC,CAAC;EAC7F;EACAiI,MAAM,CAACtB,OAAO,GAAG0C,OAAO,EAAEpB,MAAM,CAACtB,OAAO,CAACD,UAAU,GAAG,IAAI,EAAEuB,MAAM,CAACtB,OAAO,CAAC,SAAS,CAAC,GAAGsB,MAAM,CAACtB,OAAO;AAAC","x_amazon_bundleId":"6177f1410a25a775fb7287365eb22f1ae93e05bf64ab134f1598cf5e8c7f012d"}
@@ -0,0 +1,3 @@
1
+ node_modules/@amzn/asset-resolver-lib_1/dist/index.js:13d0b22b8a3241262b1d
2
+ node_modules/@amzn/asset-resolver-lib_1/dist/AssetResolver.js:5fbb7b67c2eaa7e95b11
3
+ node_modules/@amzn/asset-resolver-lib_1/dist/native-asset-resolver.js:0d768b169a315f8d8e81
@@ -0,0 +1,11 @@
1
+ node_modules/@react-native/js-polyfills_0.72.1/console.js:c081be8f6c0109dd350f
2
+ node_modules/@react-native/js-polyfills_0.72.1/error-guard.js:057b32c72f7f399723ba
3
+ node_modules/@react-native/js-polyfills_0.72.1/Object.es8.js:a9bf7d37774d7198840b
4
+ node_modules/@amzn/keplerscript-turbomodule-api_1.0.0/dist/index.js:8a35a86b7946c72e0207
5
+ node_modules/@amzn/keplerscript-turbomodule-api_1.0.0/dist/turbomodules/TurboModuleRegistry.js:33d6b98d6e39f6b0a8f9
6
+ node_modules/@amzn/keplerscript-turbomodule-api_1.0.0/dist/invariant/invariant.js:8d9475a2cb77b53e450d
7
+ node_modules/@babel/runtime_7.27.6/helpers/classCallCheck.js:cf3c049ea50efe649bfc
8
+ node_modules/@babel/runtime_7.27.6/helpers/createClass.js:be8a01356f5723930509
9
+ node_modules/@babel/runtime_7.27.6/helpers/toPropertyKey.js:3b6f25861377925d8169
10
+ node_modules/@babel/runtime_7.27.6/helpers/toPrimitive.js:735506462487c8d6a161
11
+ node_modules/@babel/runtime_7.27.6/helpers/typeof.js:70afbc33bc38afcbc4d8
@@ -0,0 +1,7 @@
1
+ {
2
+ "@amzn/asset-resolver-lib": {
3
+ "nameOnDevice": "index.amzn__asset-resolver-lib-1.hermes.bundle",
4
+ "modulesPath": "amzn__asset-resolver-lib-1.modules.txt",
5
+ "privateModulesPath": "amzn__asset-resolver-lib-1.private.modules.txt"
6
+ }
7
+ }
@@ -0,0 +1,46 @@
1
+ import * as AssetResolverTypes from './types';
2
+ /**
3
+ * Class providing various APIs for application asset resolution.
4
+ *
5
+ * This class's APIs are used to obtain strings, numbers, and asset paths. Asset resolution
6
+ * uses device configuration qualifier values such as locale, day/night mode to determine
7
+ * the best possible asset for any combination of qualifiers.
8
+ */
9
+ declare class AssetResolver {
10
+ /**
11
+ * Gets the string and direction whose identifier is passed in based on the current system
12
+ * configuration qualifiers or based on the provided configuration qualifiers.
13
+ * @param {string} id The name of the string being queried.
14
+ * @param {AssetResolverTypes.AssetConfiguration} configuration Optional configuration qualifiers to
15
+ * use in asset resolution. If these aren't provided, system configuration qualifiers will be used.
16
+ * @returns AssetResolverTypes.StringValue
17
+ * @throws {Error} If AssetResolver execution fails, an Error is thrown.
18
+ */
19
+ static getString(id: string, configuration?: AssetResolverTypes.AssetConfiguration): AssetResolverTypes.StringValue;
20
+ /**
21
+ * Gets the number whose identifier is passed in based on the current system configuration
22
+ * qualifiers or based on the provided configuration qualifiers.
23
+ * @param {string} id The name of the number being queried.
24
+ * @param {AssetResolverTypes.AssetConfiguration} configuration Optional configuration qualifiers to
25
+ * use in asset resolution. If these aren't provided, system configuration qualifiers will be used.
26
+ * @returns number
27
+ * @throws {Error} If AssetResolver execution fails, an Error is thrown.
28
+ */
29
+ static getNumber(id: string, configuration?: AssetResolverTypes.AssetConfiguration): number;
30
+ /**
31
+ * @brief Get the major version number.
32
+ * @return The major version number.
33
+ */
34
+ static getMajorVersion(): number;
35
+ /**
36
+ * @brief Get the minor version number.
37
+ * @return The minor version number.
38
+ */
39
+ static getMinorVersion(): number;
40
+ /**
41
+ * @brief Get the patch version number.
42
+ * @return The patch version number.
43
+ */
44
+ static getPatchVersion(): number;
45
+ }
46
+ export default AssetResolver;
@@ -0,0 +1,104 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ /*
7
+ * Copyright 2025 Amazon.com, Inc. or its affiliates. All rights reserved.
8
+ *
9
+ * AMAZON PROPRIETARY/CONFIDENTIAL
10
+ *
11
+ * You may not use this file except in compliance with the terms and
12
+ * conditions set forth in the accompanying LICENSE.TXT file.
13
+ *
14
+ * THESE MATERIALS ARE PROVIDED ON AN "AS IS" BASIS. AMAZON SPECIFICALLY
15
+ * DISCLAIMS, WITH RESPECT TO THESE MATERIALS, ALL WARRANTIES, EXPRESS,
16
+ * IMPLIED, OR STATUTORY, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY,
17
+ * FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
18
+ */
19
+ const native_asset_resolver_1 = __importDefault(require("./native-asset-resolver"));
20
+ if (!native_asset_resolver_1.default) {
21
+ throw new Error('Native AssetResolver turbo-module is null');
22
+ }
23
+ /**
24
+ * Class providing various APIs for application asset resolution.
25
+ *
26
+ * This class's APIs are used to obtain strings, numbers, and asset paths. Asset resolution
27
+ * uses device configuration qualifier values such as locale, day/night mode to determine
28
+ * the best possible asset for any combination of qualifiers.
29
+ */
30
+ class AssetResolver {
31
+ /**
32
+ * Gets the string and direction whose identifier is passed in based on the current system
33
+ * configuration qualifiers or based on the provided configuration qualifiers.
34
+ * @param {string} id The name of the string being queried.
35
+ * @param {AssetResolverTypes.AssetConfiguration} configuration Optional configuration qualifiers to
36
+ * use in asset resolution. If these aren't provided, system configuration qualifiers will be used.
37
+ * @returns AssetResolverTypes.StringValue
38
+ * @throws {Error} If AssetResolver execution fails, an Error is thrown.
39
+ */
40
+ static getString(id, configuration) {
41
+ let returnVal = null;
42
+ if (configuration == null) {
43
+ returnVal = native_asset_resolver_1.default.getString(id);
44
+ }
45
+ else {
46
+ returnVal = native_asset_resolver_1.default.getStringWithConfig(configuration, id);
47
+ }
48
+ if (returnVal === null) {
49
+ throw new Error('Error executing getString() API');
50
+ }
51
+ if (returnVal.hasOwnProperty('error')) {
52
+ throw new Error('Could not execute getString(): ' + returnVal.error);
53
+ }
54
+ return returnVal;
55
+ }
56
+ /**
57
+ * Gets the number whose identifier is passed in based on the current system configuration
58
+ * qualifiers or based on the provided configuration qualifiers.
59
+ * @param {string} id The name of the number being queried.
60
+ * @param {AssetResolverTypes.AssetConfiguration} configuration Optional configuration qualifiers to
61
+ * use in asset resolution. If these aren't provided, system configuration qualifiers will be used.
62
+ * @returns number
63
+ * @throws {Error} If AssetResolver execution fails, an Error is thrown.
64
+ */
65
+ static getNumber(id, configuration) {
66
+ let returnVal = null;
67
+ if (configuration == null) {
68
+ returnVal = native_asset_resolver_1.default.getNumber(id);
69
+ }
70
+ else {
71
+ returnVal = native_asset_resolver_1.default.getNumberWithConfig(configuration, id);
72
+ }
73
+ if (returnVal === null) {
74
+ throw new Error('Error executing getNumber() API');
75
+ }
76
+ if (returnVal.hasOwnProperty('error') ||
77
+ !returnVal.hasOwnProperty('value')) {
78
+ throw new Error('Could not execute getNumber(): ' + returnVal.error);
79
+ }
80
+ return returnVal.value;
81
+ }
82
+ /**
83
+ * @brief Get the major version number.
84
+ * @return The major version number.
85
+ */
86
+ static getMajorVersion() {
87
+ return native_asset_resolver_1.default.getMajorVersion();
88
+ }
89
+ /**
90
+ * @brief Get the minor version number.
91
+ * @return The minor version number.
92
+ */
93
+ static getMinorVersion() {
94
+ return native_asset_resolver_1.default.getMinorVersion();
95
+ }
96
+ /**
97
+ * @brief Get the patch version number.
98
+ * @return The patch version number.
99
+ */
100
+ static getPatchVersion() {
101
+ return native_asset_resolver_1.default.getPatchVersion();
102
+ }
103
+ }
104
+ exports.default = AssetResolver;
@@ -0,0 +1,2 @@
1
+ export { StringValue, AssetConfiguration } from './types';
2
+ export { default as AssetResolver } from './AssetResolver';
package/dist/index.js ADDED
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.AssetResolver = void 0;
7
+ var AssetResolver_1 = require("./AssetResolver");
8
+ Object.defineProperty(exports, "AssetResolver", { enumerable: true, get: function () { return __importDefault(AssetResolver_1).default; } });
@@ -0,0 +1 @@
1
+ {"schema":1,"fileSets":{"native":[{"arch":"aarch64","variant":"debug","directoryPath":"aarch64-debug"},{"arch":"armv7","variant":"debug","directoryPath":"armv7-debug"},{"arch":"x86_64","variant":"debug","directoryPath":"x86_64-debug"},{"arch":"aarch64","variant":"release","directoryPath":"aarch64-release"},{"arch":"armv7","variant":"release","directoryPath":"armv7-release"},{"arch":"x86_64","variant":"release","directoryPath":"x86_64-release"}]}}
@@ -0,0 +1,52 @@
1
+ import { KeplerTurboModule } from '@amazon-devices/keplerscript-turbomodule-api';
2
+ import * as AssetResolverTypes from './types';
3
+ export interface NativeAssetResolver extends KeplerTurboModule {
4
+ /**
5
+ * Gets the string and direction whose identifier is passed in based on the current system
6
+ * configuration qualifiers.
7
+ * @param {string} id The name of the string being queried.
8
+ * @returns {AssetResolverTypes.StringResult}
9
+ */
10
+ getString: (id: string) => AssetResolverTypes.StringResult;
11
+ /**
12
+ * Gets the string and direction whose identifier is passed in based on the given configuration
13
+ * qualifiers.
14
+ * @param {AssetResolverTypes.AssetConfiguration} configuration The configuration qualifiers to
15
+ * use in asset resolution.
16
+ * @param {string} id The name of the string being queried.
17
+ * @returns {AssetResolverTypes.StringResult}
18
+ */
19
+ getStringWithConfig: (configuration: AssetResolverTypes.AssetConfiguration, id: string) => AssetResolverTypes.StringResult;
20
+ /**
21
+ * Gets the number whose identifier is passed in based on the current system configuration
22
+ * qualifiers.
23
+ * @param {string} id The name of the number being queried.
24
+ * @returns {AssetResolverTypes.NumberResult}
25
+ */
26
+ getNumber: (id: string) => AssetResolverTypes.NumberResult;
27
+ /**
28
+ * Gets the number whose identifier is passed in based on the given configuration qualifiers.
29
+ * @param {AssetResolverTypes.AssetConfiguration} configuration The configuration qualifiers to
30
+ * use in asset resolution.
31
+ * @param {string} id The name of the number being queried.
32
+ * @returns {AssetResolverTypes.NumberResult}
33
+ */
34
+ getNumberWithConfig: (configuration: AssetResolverTypes.AssetConfiguration, id: string) => AssetResolverTypes.NumberResult;
35
+ /**
36
+ * @brief Get the major version number.
37
+ * @return The major version number.
38
+ */
39
+ getMajorVersion: () => number;
40
+ /**
41
+ * @brief Get the minor version number.
42
+ * @return The minor version number.
43
+ */
44
+ getMinorVersion: () => number;
45
+ /**
46
+ * @brief Get the patch version number.
47
+ * @return The patch version number.
48
+ */
49
+ getPatchVersion: () => number;
50
+ }
51
+ declare const _default: NativeAssetResolver;
52
+ export default _default;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const keplerscript_turbomodule_api_1 = require("@amazon-devices/keplerscript-turbomodule-api");
4
+ exports.default = keplerscript_turbomodule_api_1.TurboModuleRegistry.getEnforcing('AssetResolver');
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Type representing how a string value is represented by the AssetResolver:
3
+ * a combination of the string value itself as well as which direction text is
4
+ * read.
5
+ */
6
+ export declare type StringValue = {
7
+ value: string;
8
+ dir: string;
9
+ };
10
+ /**
11
+ * Type used as input in various APIs to select values for individual qualifiers
12
+ * used in the AssetResolver as input to its asset resolution algorithm.
13
+ */
14
+ export declare type AssetConfiguration = {
15
+ locale: string;
16
+ };
17
+ /**
18
+ * Internal type for a StringValue with an error field.
19
+ */
20
+ export declare type StringResult = {
21
+ value: string;
22
+ dir: string;
23
+ error?: string;
24
+ };
25
+ /**
26
+ * Internal type for a number with an error field.
27
+ */
28
+ export declare type NumberResult = {
29
+ value: number;
30
+ error?: string;
31
+ };
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright 2025 Amazon.com, Inc. or its affiliates. All rights reserved.
4
+ *
5
+ * AMAZON PROPRIETARY/CONFIDENTIAL
6
+ *
7
+ * You may not use this file except in compliance with the terms and
8
+ * conditions set forth in the accompanying LICENSE.TXT file.
9
+ *
10
+ * THESE MATERIALS ARE PROVIDED ON AN "AS IS" BASIS. AMAZON SPECIFICALLY
11
+ * DISCLAIMS, WITH RESPECT TO THESE MATERIALS, ALL WARRANTIES, EXPRESS,
12
+ * IMPLIED, OR STATUTORY, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY,
13
+ * FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export { StringValue, AssetConfiguration, StringResult, NumberResult, } from './AssetResolverTypes';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ {
2
+ "versions": {
3
+ "1.0.1767254400": "/com.amazon.kepler.asset_resolver_lib_1@IAssetResolverLib_0",
4
+ "1.0.1767254401": "/com.amazon.kepler.asset_resolver_lib_1@IAssetResolverLib_0",
5
+ "1.0.1767254402": "/com.amazon.kepler.asset_resolver_lib_1@IAssetResolverLib_0",
6
+ "1.0.1767254403": "/com.amazon.kepler.asset_resolver_lib_1@IAssetResolverLib_0"
7
+ }
8
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "sourcePackageRef": "@amzn/asset-resolver-lib"
3
+ }
package/package.json ADDED
@@ -0,0 +1 @@
1
+ {"name": "@amazon-devices/asset-resolver-lib", "version": "1.0.1767254403", "main": "dist/index.js", "types": "dist/index.d.ts", "license": "See license in LICENSE", "files": ["dist", "react-native.config.js", "kepler-compatibility.json", "SystemModules", "SystemBundles", "LICENSE-THIRD-PARTY", "kepler-transformed-package-info.json"], "scripts": {"clean": "rm -rf build node_modules dist", "build": "npm run build:js && npm run build:native", "build:js": "tsc", "build:native": "kepler build -b Debug -b Release", "lint": "eslint src tst --ext .ts,.tsx", "lint:fix": "npm run lint -- --fix", "prepublishOnly": "npm run build && npm run build-system-bundle", "build-system-bundle": "KEPLER_NPM_COMMAND=npm-pretty-much react-native build-system-bundle-kepler"}, "dependencies": {"@amazon-devices/keplerscript-turbomodule-api": "^1.0.0"}, "devDependencies": {"@react-native-community/eslint-config": "^3.0.1", "@types/jest": "^28.0.0", "@types/react-native": "^0.66.15", "@typescript-eslint/eslint-plugin": "^5.18.0", "eslint": "^8.12.0", "jest": "^28.0.0", "prettier": "^2.6.2", "ts-jest": "^28.0.0", "typescript": "4.8.4", "@amazon-devices/kepler-cli-platform": "^0", "@react-native-community/cli": "^11.2.0"}, "kepler": {"projectType": "turbomodule", "targets": ["tv"], "features": ["vega"]}}
@@ -0,0 +1,16 @@
1
+ module.exports = {
2
+ dependency: {
3
+ platforms: {
4
+ kepler: {
5
+ autolink: {
6
+ 'AmazonAssetResolverLib': {
7
+ libraryName: "libkeplerscript-asset-resolver-lib-1.so.1",
8
+ linkDynamic: true,
9
+ turbomodules: ['AssetResolver']
10
+ }
11
+ }
12
+ }
13
+ }
14
+ },
15
+ }
16
+