import {
  ArrowLeft
} from "/build/_shared/chunk-EEPFRJZL.js";
import {
  useMount
} from "/build/_shared/chunk-W2WK7NJF.js";
import "/build/_shared/chunk-527IW2Z6.js";
import "/build/_shared/chunk-CUOCTUZ2.js";
import {
  require_build
} from "/build/_shared/chunk-FWA2TGLX.js";
import "/build/_shared/chunk-NS54R74Y.js";
import {
  require_jsx_dev_runtime
} from "/build/_shared/chunk-D5XSJF2M.js";
import {
  Link,
  Outlet,
  init_esm2 as init_esm
} from "/build/_shared/chunk-VJFCZKPM.js";
import "/build/_shared/chunk-OCFPP4X2.js";
import "/build/_shared/chunk-HWKMUXRS.js";
import {
  Routes
} from "/build/_shared/chunk-5222SY3A.js";
import {
  createHotContext,
  init_remix_hmr
} from "/build/_shared/chunk-4FTV3JJX.js";
import "/build/_shared/chunk-YLRAJVC6.js";
import {
  __toESM
} from "/build/_shared/chunk-RODUX5XG.js";

// app/routes/auth+/_layout.tsx
init_remix_hmr();
init_esm();
var import_remix_themes = __toESM(require_build(), 1);
var import_jsx_dev_runtime = __toESM(require_jsx_dev_runtime(), 1);
if (!window.$RefreshReg$ || !window.$RefreshSig$ || !window.$RefreshRuntime$) {
  console.warn("remix:hmr: React Fast Refresh only works when the Remix compiler is running in development mode.");
} else {
  prevRefreshReg = window.$RefreshReg$;
  prevRefreshSig = window.$RefreshSig$;
  window.$RefreshReg$ = (type, id) => {
    window.$RefreshRuntime$.register(type, '"app/routes/auth+/_layout.tsx"' + id);
  };
  window.$RefreshSig$ = window.$RefreshRuntime$.createSignatureFunctionForTransform;
}
var prevRefreshReg;
var prevRefreshSig;
var _s = $RefreshSig$();
if (import.meta) {
  import.meta.hot = createHotContext(
    //@ts-expect-error
    "app/routes/auth+/_layout.tsx"
  );
  import.meta.hot.lastModified = "1712860921749.9993";
}
function AuthLayout() {
  _s();
  const [theme, setTheme] = (0, import_remix_themes.useTheme)();
  const setDarkModeTheme = () => {
    if (theme === import_remix_themes.Theme.LIGHT) {
      setTheme(import_remix_themes.Theme.DARK);
    }
  };
  useMount(setDarkModeTheme);
  return /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("div", { children: [
    /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)(Link, { to: Routes.external.landing, className: "text-muted-foreground hover:text-primary-foreground absolute left-0 top-0 flex items-center gap-2 p-4 text-sm", children: [
      /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)(ArrowLeft, { size: 14 }, void 0, false, {
        fileName: "app/routes/auth+/_layout.tsx",
        lineNumber: 39,
        columnNumber: 9
      }, this),
      " Back to Landing Page"
    ] }, void 0, true, {
      fileName: "app/routes/auth+/_layout.tsx",
      lineNumber: 38,
      columnNumber: 7
    }, this),
    /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("div", { className: "flex h-screen w-full flex-col items-center justify-center gap-8", children: /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)(Outlet, {}, void 0, false, {
      fileName: "app/routes/auth+/_layout.tsx",
      lineNumber: 42,
      columnNumber: 9
    }, this) }, void 0, false, {
      fileName: "app/routes/auth+/_layout.tsx",
      lineNumber: 41,
      columnNumber: 7
    }, this)
  ] }, void 0, true, {
    fileName: "app/routes/auth+/_layout.tsx",
    lineNumber: 37,
    columnNumber: 10
  }, this);
}
_s(AuthLayout, "L5u3gDV1pJWn6Bw+NXll27ZBGFU=", false, function() {
  return [import_remix_themes.useTheme, useMount];
});
_c = AuthLayout;
var _c;
$RefreshReg$(_c, "AuthLayout");
window.$RefreshReg$ = prevRefreshReg;
window.$RefreshSig$ = prevRefreshSig;
export {
  AuthLayout as default
};
//# sourceMappingURL=/build/routes/auth+/_layout-HRTOTU4U.js.map
