123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- import {
- require_runtime
- } from "/build/_shared/chunk-UWV35TSL.js";
- import {
- __toESM
- } from "/build/_shared/chunk-PNG5AS42.js";
- // hmr-runtime:remix:hmr
- var import_runtime = __toESM(require_runtime());
- var prevRefreshReg = window.$RefreshReg$;
- var prevRefreshSig = window.$RefreshSig$;
- window.$RefreshReg$ = (type, id) => {
- const fullId = id;
- import_runtime.default.register(type, fullId);
- };
- window.$RefreshReg$ = prevRefreshReg;
- window.$RefreshSig$ = prevRefreshSig;
- window.$RefreshSig$ = import_runtime.default.createSignatureFunctionForTransform;
- window.$RefreshRuntime$ = import_runtime.default;
- window.$RefreshRuntime$.injectIntoGlobalHook(window);
- window.$RefreshReg$ = () => {
- };
- window.$RefreshSig$ = () => (type) => type;
- if (!window.__hmr__) {
- window.__hmr__ = {
- contexts: {}
- };
- }
- function createHotContext(id) {
- let callback;
- let disposed = false;
- let hot = {
- accept: (dep, cb) => {
- if (typeof dep !== "string") {
- cb = dep;
- dep = void 0;
- }
- if (dep) {
- if (window.__hmr__.contexts[dep]) {
- window.__hmr__.contexts[dep].dispose();
- }
- window.__hmr__.contexts[dep] = createHotContext(dep);
- window.__hmr__.contexts[dep].accept(cb);
- return;
- }
- if (disposed) {
- throw new Error("import.meta.hot.accept() called after dispose()");
- }
- if (callback) {
- throw new Error("import.meta.hot.accept() already called");
- }
- callback = cb;
- },
- dispose: () => {
- disposed = true;
- },
- emit(self) {
- if (callback) {
- callback(self);
- return true;
- }
- return false;
- }
- };
- if (window.__hmr__.contexts[id]) {
- window.__hmr__.contexts[id].dispose();
- }
- window.__hmr__.contexts[id] = hot;
- return hot;
- }
- export {
- createHotContext
- };
- //# sourceMappingURL=/build/_shared/chunk-OJSEL2DI.js.map
|