decord/source/__polyfill/06xxx/module_6965.js
github-actions f0f877e8ce chore: update source for alpha 347.1
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4824.js (118.4 MB)
2026-09-15 14:23:42 +00:00

37 lines
1,005 B
JavaScript

// Module ID: 6965
// Function ID: 6966
// Dependencies: [6966]
// Module 6965
import _mod6966 from "module_6966" /* 6966 */;
export default function _unsupportedIterableToArray(str, arg1) {
if (str) {
if (typeof str === "string") {
return _mod6966(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 = _mod6966(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;
}
}
};