import './state.svelte-DbqYHGBV.js';
import './utils-KcIDVAAe.js';
import { w as writable } from './index-BSa6KzSq.js';
import { ab as getContext } from './context-B0vutJuA.js';

function create_updated_store() {
  const { set, subscribe } = writable(false);
  {
    return {
      subscribe,
      // eslint-disable-next-line @typescript-eslint/require-await
      check: async () => false
    };
  }
}
const stores = {
  updated: /* @__PURE__ */ create_updated_store()
};
function goto(url, opts = {}) {
  {
    throw new Error("Cannot call goto(...) on the server");
  }
}
function replaceState(url, state) {
  {
    throw new Error("Cannot call replaceState(...) on the server");
  }
}
({
  check: stores.updated.check
});
function context() {
  return getContext("__request__");
}
const page$1 = {
  get error() {
    return context().page.error;
  },
  get params() {
    return context().page.params;
  },
  get status() {
    return context().page.status;
  },
  get url() {
    return context().page.url;
  }
};
const page = page$1;

export { goto as g, page as p, replaceState as r };
//# sourceMappingURL=index3-Cp9d5nmD.js.map
