Add settings page for managing forecasting API key and URL via UI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
cae411eae7
commit
1c411e402e
19809 changed files with 1962608 additions and 97 deletions
19
frontend/node_modules/es-toolkit/dist/compat/array/map.mjs
generated
vendored
Normal file
19
frontend/node_modules/es-toolkit/dist/compat/array/map.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
import { identity } from "../../function/identity.mjs";
|
||||
import { range } from "../../math/range.mjs";
|
||||
import { isArrayLike } from "../predicate/isArrayLike.mjs";
|
||||
import { iteratee } from "../util/iteratee.mjs";
|
||||
//#region src/compat/array/map.ts
|
||||
function map(collection, _iteratee) {
|
||||
if (!collection) return [];
|
||||
const keys = isArrayLike(collection) || Array.isArray(collection) ? range(0, collection.length) : Object.keys(collection);
|
||||
const iteratee$1 = iteratee(_iteratee ?? identity);
|
||||
const result = new Array(keys.length);
|
||||
for (let i = 0; i < keys.length; i++) {
|
||||
const key = keys[i];
|
||||
const value = collection[key];
|
||||
result[i] = iteratee$1(value, key, collection);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
//#endregion
|
||||
export { map };
|
||||
Loading…
Add table
Add a link
Reference in a new issue