PageSourceSearch

https://portal.godesignguru.com/build/assets/Login-iSF8I42u.js

js godesignguru.com collected 2026-10-04 05:48:24 UTC 3,702 bytes, 18 lines download raw bytes

1import { l as b, o as n, i as f, f as d, e as m, u as e, n as w, c as p, t as o, b as c, a as s, d as u, E as g, B as y, C as v } from "./app-yg_pP4S4.js";
2import { _ as $ } from "./BaseButton-DP1PFEmO.js";
3import { _ as x } from "./BaseInput-DrEncIoW.js";
4import { _ as k } from "./Checkbox-CmVxljr7.js";
5import { _ } from "./Label-BPl0GR1A.js";
6import { _ as V } from "./ValidationErrors-BIUAz4K9.js";
7import { _ as B } from "./GuestLayout-Bo68Q7z7.js";
8import { b as C } from "./functions-DLrKIvnr.js";
9import "./ApplicationLogo-D4QkytOJ.js";
10const R = { key: 0, class: "mb-4 text-sm font-medium text-green-600" }, L = { class: "sm:mx-auto sm:w-full sm:max-w-md" }, N = { class: "text-center text-3xl font-bold tracking-tight text-gray-900" }, q = { key: 0, class: "mt-2 text-center text-sm text-gray-600" }, E = { class: "my-8 sm:mx-auto sm:w-full sm:max-w-md" }, F = { class: "bg-white px-4 py-8 shadow sm:rounded-lg sm:px-10" }, P = { class: "mt-4" }, S = { class: "flex items-center justify-between max-lg:!-mb-3 max-lg:!mt-3" }, U = { for: "remember", class: "flex items-center max-lg:min-h-11" }, j = { class: "ml-2 block text-sm text-gray-900" }, z = { class: "text-sm" }, Q = { __name: "Login", props: { canResetPassword: Boolean, canRegister: Boolean, status: String }, setup(i) {
11  const a = b({ email: "", password: "", remember: false }), h = () => {
12    a.post("/login", { onFinish: () => a.reset("password") });
13  };
14  return (t, l) => (n(), f(B, null, { default: d(() => [m(e(w), { title: t.$t("Log in") }, null, 8, ["title"]), m(V, { class: "mb-4" }), i.status ? (n(), p("div", R, o(i.status), 1)) : c("", true), s("div", L, [s("h2", N, o(t.$t("Log in to your account")), 1), e(C) && i.canRegister ? (n(), p("p", q, [u(o(t.$t("Or")) + " ", 1), m(e(g), { href: t.route("register"), class: "font-medium text-primary-600 hover:text-primary-500 max-lg:relative max-lg:after:absolute max-lg:after:-inset-3.5 max-lg:after:content-['']" }, { default: d(() => [u(o(t.$t("Create new account")), 1)]), _: 1 }, 8, ["href"])])) : c("", true)]), s("div", E, [s("div", F, [s("form", { class: "space-y-6", onSubmit: y(h, ["prevent"]) }, [s("div", null, [m(_, { for: "email", value: t.$t("Email address") }, null, 8, ["value"]), m(x, { id: "email", modelValue: e(a).email, "onUpdate:modelValue": l[0] || (l[0] = (r) => e(a).email = r), type: "email", class: "mt-2", "input-class": "py-1.5 max-lg:min-h-11 max-lg:!text-base", required: "", autofocus: "", autocomplete: "username" }, null, 8, ["modelValue"])]), s("div", P, [m(_, { for: "password", value: t.$t("Password") }, null, 8, ["value"]), m(x, { id: "password", modelValue: e(a).password, "onUpdate:modelValue": l[1] || (l[1] = (r) => e(a).password = r), type: "password", class: "mt-2", "input-class": "py-1.5 max-lg:min-h-11 max-lg:!text-base", required: "", autocomplete: "current-password" }, null, 8, ["modelValue"])]), s("div", S, [s("label", U, [m(k, { id: "remember", checked: e(a).remember, "onUpdate:checked": l[2] || (l[2] = (r) => e(a).remember = r), name: "remember" }, null, 8, ["checked"]), s("span", j, o(t.$t("Remember me")), 1)]), s("div", z, [i.canResetPassword ? (n(), f(e(g), { key: 0, href: t.route("password.request"), class: "font-medium text-primary-600 hover:text-primary-500 max-lg:inline-flex max-lg:min-h-11 max-lg:items-center" }, { default: d(() => [u(o(t.$t("Forgot your password?")), 1)]), _: 1 }, 8, ["href"])) : c("", true)])]), s("div", null, [m($, { type: "submit", disabled: e(a).processing, class: v(["w-full max-lg:min-h-11", { "opacity-25": e(a).processing }]) }, { default: d(() => [u(o(t.$t("Log in")), 1)]), _: 1 }, 8, ["disabled", "class"])])], 32)])])]), _: 1 }));
15} };
16export {
17  Q as default
18};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.