vue-files-preview-light
Version:
A lightweight, optimized fork of vue-files-preview with lazy loading and security updates. A tool for previewing files such as doc, excel, pdf, image, markdown, txt, audio, and video and so on.
35 lines (34 loc) • 1.09 kB
JavaScript
var u = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
function f(e) {
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
}
function l(e) {
if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
var n = e.default;
if (typeof n == "function") {
var t = function r() {
var o = !1;
try {
o = this instanceof r;
} catch {
}
return o ? Reflect.construct(n, arguments, this.constructor) : n.apply(this, arguments);
};
t.prototype = n.prototype;
} else t = {};
return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(r) {
var o = Object.getOwnPropertyDescriptor(e, r);
Object.defineProperty(t, r, o.get ? o : {
enumerable: !0,
get: function() {
return e[r];
}
});
}), t;
}
export {
u as commonjsGlobal,
l as getAugmentedNamespace,
f as getDefaultExportFromCjs
};
//# sourceMappingURL=_commonjsHelpers.mjs.map