decord/source/__polyfill/06xxx/module_6961.js
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

37 lines
1,005 B
JavaScript

// Module ID: 6961
// Function ID: 6962
// Dependencies: [6962]
// Module 6961
import _mod6962 from "module_6962" /* 6962 */;
export default function _unsupportedIterableToArray(str, arg1) {
if (str) {
if (typeof str === "string") {
return _mod6962(str, arg1);
} else {
const toString = {}.toString;
const call = toString.call;
const substr = typeof call === "unknown" ? toString() : call(str).slice(8, -1);
let name = substr;
if (tmp3) {
name = str.constructor.name;
}
if ("Map" !== name) {
if ("Set" !== name) {
if ("Arguments" === name) {
let arr2 = _mod6962(str, arg1);
} else {
const obj = /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/;
}
}
return arr2;
}
const _Array = Array;
arr2 = Array.from(str);
const arr = typeof call === "unknown" ? toString() : call(str);
tmp3 = "Object" === substr && str.constructor;
}
}
};