"use client";

// src/embed-shims/next-dynamic.tsx
import { lazy } from "react";
var fallback = (loader, _options) => {
  const wrapped = () => loader().then((mod) => "default" in mod ? mod : { default: mod });
  return lazy(wrapped);
};
var impl = fallback;
function registerDynamic(fn) {
  impl = fn;
}
function dynamic(loader, options) {
  return impl(loader, options);
}

export {
  registerDynamic,
  dynamic
};
//# sourceMappingURL=chunk-EL5YVPD5.js.map