UNPKG

@whop/embedded-components-vanilla-js

Version:

Whop Elements loading utility

28 lines (26 loc) 1 kB
/* eslint-disable */ "use strict"; const __defProp = Object.defineProperty; const __getOwnPropDesc = Object.getOwnPropertyDescriptor; const __getOwnPropNames = Object.getOwnPropertyNames; const __hasOwnProp = Object.prototype.hasOwnProperty; const __copyProps = (to, from, except, desc) => { if ((from && typeof from === "object") || typeof from === "function") { for (const key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable, }); } return to; }; const __reExport = (target, mod, secondTarget) => ( __copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default") ); const __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); const types_exports = {}; module.exports = __toCommonJS(types_exports); __reExport(types_exports, require("../dist/url"), module.exports);