// Module ID: 14377 // Function ID: 109949 // Name: getYoutubeMeta // Dependencies: [7524, 4330] // Exports: getYoutubeMeta // Module 14377 (getYoutubeMeta) import module_7524 from "module_7524"; import _regeneratorRuntime from "_regeneratorRuntime"; export const getYoutubeMeta = function getYoutubeMeta(arg0) { const _regeneratorRuntime = arg0; return _regeneratorRuntime.default.async(function getYoutubeMeta$(next) { next = next.next; next.prev = next; while (0 !== next) { if (2 === next) { let sent = next.sent; next.next = 5; let tmp = mod; let _default = mod.default; let tmp2 = sent; return _default.awrap(sent.json()); } else if (5 === next) { let str = "return"; return next.abrupt("return", next.sent); } else { return next.stop(); } } next.next = 2; return mod.default.awrap(fetch("https://www.youtube.com/oembed?url=https://www.youtube.com/watch?v=" + mod + "&format=json")); }, null, null, null, Promise); };