chore: build
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled

This commit is contained in:
2025-10-27 21:32:05 +05:45
parent ce66173edb
commit 9c703306ec
66 changed files with 525 additions and 535 deletions

View File

@@ -2,7 +2,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
import { Head } from "@inertiajs/react"; import { Head } from "@inertiajs/react";
import { useState, useCallback, useEffect } from "react"; import { useState, useCallback, useEffect } from "react";
import { c as cn } from "./index-CY6fYws-.js"; import { c as cn } from "./index-CY6fYws-.js";
import { Sun, Moon, Monitor } from "lucide-react"; import { Sun } from "lucide-react";
import { e as edit, S as SettingsLayout, H as HeadingSmall } from "./layout-BQI5MpcL.js"; import { e as edit, S as SettingsLayout, H as HeadingSmall } from "./layout-BQI5MpcL.js";
import { A as AppLayout } from "./app-layout-BFyUFda2.js"; import { A as AppLayout } from "./app-layout-BFyUFda2.js";
import "@radix-ui/react-slot"; import "@radix-ui/react-slot";
@@ -48,7 +48,7 @@ const handleSystemThemeChange = () => {
applyTheme(currentAppearance || "system"); applyTheme(currentAppearance || "system");
}; };
function useAppearance() { function useAppearance() {
const [appearance, setAppearance] = useState("system"); const [appearance, setAppearance] = useState("light");
const updateAppearance = useCallback((mode) => { const updateAppearance = useCallback((mode) => {
setAppearance(mode); setAppearance(mode);
localStorage.setItem("appearance", mode); localStorage.setItem("appearance", mode);
@@ -59,7 +59,7 @@ function useAppearance() {
const savedAppearance = localStorage.getItem( const savedAppearance = localStorage.getItem(
"appearance" "appearance"
); );
updateAppearance(savedAppearance || "system"); updateAppearance(savedAppearance || "light");
return () => mediaQuery()?.removeEventListener( return () => mediaQuery()?.removeEventListener(
"change", "change",
handleSystemThemeChange handleSystemThemeChange
@@ -73,9 +73,9 @@ function AppearanceToggleTab({
}) { }) {
const { appearance, updateAppearance } = useAppearance(); const { appearance, updateAppearance } = useAppearance();
const tabs = [ const tabs = [
{ value: "light", icon: Sun, label: "Light" }, { value: "light", icon: Sun, label: "Light" }
{ value: "dark", icon: Moon, label: "Dark" }, // { value: 'dark', icon: Moon, label: 'Dark' },
{ value: "system", icon: Monitor, label: "System" } // { value: 'system', icon: Monitor, label: 'System' },
]; ];
return /* @__PURE__ */ jsx( return /* @__PURE__ */ jsx(
"div", "div",

View File

@@ -191,7 +191,7 @@
"/build/assets/app-layout-BFyUFda2.js" "/build/assets/app-layout-BFyUFda2.js"
], ],
"resources/js/components/appearance-tabs.tsx": [ "resources/js/components/appearance-tabs.tsx": [
"/build/assets/appearance-Bfpl1eM5.js" "/build/assets/appearance-C7skoyub.js"
], ],
"resources/js/components/breadcrumbs.tsx": [ "resources/js/components/breadcrumbs.tsx": [
"/build/assets/app-layout-BFyUFda2.js" "/build/assets/app-layout-BFyUFda2.js"
@@ -328,7 +328,7 @@
"/build/assets/app-layout-BFyUFda2.js" "/build/assets/app-layout-BFyUFda2.js"
], ],
"resources/js/hooks/use-appearance.tsx": [ "resources/js/hooks/use-appearance.tsx": [
"/build/assets/appearance-Bfpl1eM5.js" "/build/assets/appearance-C7skoyub.js"
], ],
"resources/js/hooks/use-clipboard.ts": [ "resources/js/hooks/use-clipboard.ts": [
"/build/assets/two-factor-DaA3_KAg.js" "/build/assets/two-factor-DaA3_KAg.js"
@@ -451,7 +451,7 @@
"/build/assets/product-DH6XS18R.js" "/build/assets/product-DH6XS18R.js"
], ],
"resources/js/pages/settings/appearance.tsx": [ "resources/js/pages/settings/appearance.tsx": [
"/build/assets/appearance-Bfpl1eM5.js" "/build/assets/appearance-C7skoyub.js"
], ],
"resources/js/pages/settings/password.tsx": [ "resources/js/pages/settings/password.tsx": [
"/build/assets/password-5nAC6NdB.js" "/build/assets/password-5nAC6NdB.js"

View File

@@ -20,7 +20,7 @@ createServer(
title: (title) => title ? `${title} - ${appName}` : appName, title: (title) => title ? `${title} - ${appName}` : appName,
resolve: (name) => resolvePageComponent( resolve: (name) => resolvePageComponent(
`./pages/${name}.tsx`, `./pages/${name}.tsx`,
/* @__PURE__ */ Object.assign({ "./pages/about.tsx": () => import("./assets/about-Bpe9pve7.js"), "./pages/art.tsx": () => import("./assets/art-C_czZZ6v.js"), "./pages/auth/confirm-password.tsx": () => import("./assets/confirm-password-yJ2scxPz.js"), "./pages/auth/forgot-password.tsx": () => import("./assets/forgot-password-BNiMrYQb.js"), "./pages/auth/login.tsx": () => import("./assets/login-Bx7GyWNN.js"), "./pages/auth/register.tsx": () => import("./assets/register-5D2-Zto1.js"), "./pages/auth/reset-password.tsx": () => import("./assets/reset-password-yPQQhFaB.js"), "./pages/auth/two-factor-challenge.tsx": () => import("./assets/two-factor-challenge-C3nZjMy6.js"), "./pages/auth/verify-email.tsx": () => import("./assets/verify-email-C6dGXcHB.js"), "./pages/bespoke.tsx": () => import("./assets/bespoke-Bov4UVda.js"), "./pages/contact.tsx": () => import("./assets/contact-DiSMu-mk.js"), "./pages/dashboard.tsx": () => import("./assets/dashboard-CbiUEmKd.js"), "./pages/dashboard/carousel/add.tsx": () => import("./assets/add-S6fabe2O.js"), "./pages/dashboard/carousel/carousel.tsx": () => import("./assets/carousel-BH5ls6c-.js"), "./pages/dashboard/faq/add.tsx": () => import("./assets/add-BhcrNqMR.js"), "./pages/dashboard/faq/index.tsx": () => import("./assets/index-OpaYcuxi.js"), "./pages/dashboard/products/add.tsx": () => import("./assets/add-CPccOhjJ.js"), "./pages/dashboard/products/edit.tsx": () => import("./assets/edit-l0sNRNKZ.js"), "./pages/dashboard/products/index.tsx": () => import("./assets/index-C7ejuoa3.js"), "./pages/dashboard/testimonial.tsx": () => import("./assets/testimonial-B1EWgUPO.js"), "./pages/faq.tsx": () => import("./assets/faq-pz_F0yUl.js"), "./pages/product.tsx": () => import("./assets/product-DH6XS18R.js"), "./pages/settings/appearance.tsx": () => import("./assets/appearance-Bfpl1eM5.js"), "./pages/settings/password.tsx": () => import("./assets/password-5nAC6NdB.js"), "./pages/settings/profile.tsx": () => import("./assets/profile-0AslOX4t.js"), "./pages/settings/two-factor.tsx": () => import("./assets/two-factor-DaA3_KAg.js"), "./pages/welcome.tsx": () => import("./assets/welcome-C5bPUp-g.js") }) /* @__PURE__ */ Object.assign({ "./pages/about.tsx": () => import("./assets/about-Bpe9pve7.js"), "./pages/art.tsx": () => import("./assets/art-C_czZZ6v.js"), "./pages/auth/confirm-password.tsx": () => import("./assets/confirm-password-yJ2scxPz.js"), "./pages/auth/forgot-password.tsx": () => import("./assets/forgot-password-BNiMrYQb.js"), "./pages/auth/login.tsx": () => import("./assets/login-Bx7GyWNN.js"), "./pages/auth/register.tsx": () => import("./assets/register-5D2-Zto1.js"), "./pages/auth/reset-password.tsx": () => import("./assets/reset-password-yPQQhFaB.js"), "./pages/auth/two-factor-challenge.tsx": () => import("./assets/two-factor-challenge-C3nZjMy6.js"), "./pages/auth/verify-email.tsx": () => import("./assets/verify-email-C6dGXcHB.js"), "./pages/bespoke.tsx": () => import("./assets/bespoke-Bov4UVda.js"), "./pages/contact.tsx": () => import("./assets/contact-DiSMu-mk.js"), "./pages/dashboard.tsx": () => import("./assets/dashboard-CbiUEmKd.js"), "./pages/dashboard/carousel/add.tsx": () => import("./assets/add-S6fabe2O.js"), "./pages/dashboard/carousel/carousel.tsx": () => import("./assets/carousel-BH5ls6c-.js"), "./pages/dashboard/faq/add.tsx": () => import("./assets/add-BhcrNqMR.js"), "./pages/dashboard/faq/index.tsx": () => import("./assets/index-OpaYcuxi.js"), "./pages/dashboard/products/add.tsx": () => import("./assets/add-CPccOhjJ.js"), "./pages/dashboard/products/edit.tsx": () => import("./assets/edit-l0sNRNKZ.js"), "./pages/dashboard/products/index.tsx": () => import("./assets/index-C7ejuoa3.js"), "./pages/dashboard/testimonial.tsx": () => import("./assets/testimonial-B1EWgUPO.js"), "./pages/faq.tsx": () => import("./assets/faq-pz_F0yUl.js"), "./pages/product.tsx": () => import("./assets/product-DH6XS18R.js"), "./pages/settings/appearance.tsx": () => import("./assets/appearance-C7skoyub.js"), "./pages/settings/password.tsx": () => import("./assets/password-5nAC6NdB.js"), "./pages/settings/profile.tsx": () => import("./assets/profile-0AslOX4t.js"), "./pages/settings/two-factor.tsx": () => import("./assets/two-factor-DaA3_KAg.js"), "./pages/welcome.tsx": () => import("./assets/welcome-C5bPUp-g.js") })
), ),
setup: ({ App, props }) => { setup: ({ App, props }) => {
return /* @__PURE__ */ jsx(App, { ...props }); return /* @__PURE__ */ jsx(App, { ...props });

View File

@@ -1,4 +1,4 @@
import{j as e,H as a}from"./app-C6SiEMGn.js";import{u as c,L as i,n as l,o as r}from"./layout-DermKrDq.js";import{a as t}from"./createLucideIcon-CPpF-2ww.js";import"./app-6D7Y1jSv.js";import"./input-DYhKGVpQ.js";import"./label-BB9HLxkE.js";import"./index-B7t1D_co.js";import"./select-BuGuwdXt.js";import"./index-FUlYkgbj.js";import"./sheet-BvPq5L9Z.js";import"./index-ChxR6kRZ.js";import"./check-DEcJAs2N.js";/** import{j as e,H as a}from"./app-Ajql0Lt4.js";import{u as c,L as i,n as l,o as r}from"./layout-B_zVioYG.js";import{a as t}from"./createLucideIcon-B_iAwCmA.js";import"./app-B4XVefei.js";import"./input-B0_NTiRR.js";import"./label-D8DO87nw.js";import"./index-em-EQZzp.js";import"./select-TKsTtRMn.js";import"./index-CS1SDu2T.js";import"./sheet-iBbRuLZ4.js";import"./index-BXKH1Xq5.js";import"./check-D1N7nvmG.js";/**
* @license lucide-react v0.475.0 - ISC * @license lucide-react v0.475.0 - ISC
* *
* This source code is licensed under the ISC license. * This source code is licensed under the ISC license.

View File

@@ -1 +1 @@
import{r as d,u as x,j as e,H as f}from"./app-C6SiEMGn.js";import{B as h}from"./createLucideIcon-CPpF-2ww.js";import{I as g}from"./input-DYhKGVpQ.js";import{L as i}from"./label-BB9HLxkE.js";import{S as j,a as b,b as S,c as v,e as y,d as s}from"./select-BuGuwdXt.js";import{A as N,d as F}from"./app-layout-B4kweoSW.js";import{F as A,t as I,r as P,p as T,a as _}from"./index-BQ4sA8lt.js";import"./app-6D7Y1jSv.js";import"./index-B7t1D_co.js";import"./index-FUlYkgbj.js";import"./sheet-BvPq5L9Z.js";import"./index-ChxR6kRZ.js";import"./check-DEcJAs2N.js";import"./index-CxjaVpyF.js";import"./app-logo-icon-B_KiS1IV.js";import"./package-DTdg9l_D.js";P(T,_);function z(){const[l,n]=d.useState(null),{data:o,setData:a,post:m,processing:c,errors:r,wasSuccessful:p}=x({title:"",type:"traditional",image_url:null});d.useEffect(()=>{l&&a("image_url",l.file)},[l,a]);const u=t=>{t.preventDefault(),m(F.product.add().url,{forceFormData:!0}),p&&I.success("Product added successfully")};return e.jsxs(N,{children:[e.jsx(f,{title:"Add Product Image"}),e.jsxs("section",{className:"flex flex-col gap-8 px-8 py-8",children:[e.jsx("h1",{className:"text-lg font-semibold tracking-tight",children:"Add Product Image"}),e.jsxs("form",{onSubmit:u,method:"POST",encType:"multipart/formdata",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsxs("div",{className:"flex w-full flex-col gap-4",children:[e.jsx(i,{htmlFor:"title",children:"Title"}),e.jsx(g,{type:"text",id:"title",value:o.title,onChange:t=>a("title",t.target.value),className:"rounded border p-2"}),r.title&&e.jsx("span",{className:"text-red-600",children:r.title})]}),e.jsxs("div",{className:"flex w-full flex-col gap-4",children:[e.jsx(i,{htmlFor:"title",children:"Type"}),e.jsxs(j,{value:o.type,onValueChange:t=>{console.log(t),a("type",t)},children:[e.jsx(b,{children:e.jsx(S,{placeholder:"Select a type"})}),e.jsx(v,{children:e.jsxs(y,{children:[e.jsx(s,{value:"traditional",children:"Traditional"}),e.jsx(s,{value:"modern",children:"Modern"}),e.jsx(s,{value:"bespoke",children:"Bespoke"}),e.jsx(s,{value:"abstract",children:"Abstract"}),e.jsx(s,{value:"art",children:"Art in carpet"})]})})]})]})]}),e.jsxs("div",{className:"mt-4",children:[e.jsx(i,{children:"Image"}),e.jsx(A,{files:l?[l]:[],onupdatefiles:t=>{n(t[0]||null)},allowMultiple:!1,maxFiles:1,name:"image_url",instantUpload:!1,storeAsFile:!0,labelIdle:'Drag & Drop your image or <span class="filepond--label-action">Browse</span>'}),r.image_url&&e.jsx("span",{className:"text-red-600",children:r.image_url})]}),e.jsx(h,{type:"submit",disabled:c,className:"cursor-pointer",children:c?"Uploading...":"Submit"})]})]})]})}export{z as default}; import{r as d,u as x,j as e,H as f}from"./app-Ajql0Lt4.js";import{B as h}from"./createLucideIcon-B_iAwCmA.js";import{I as g}from"./input-B0_NTiRR.js";import{L as i}from"./label-D8DO87nw.js";import{S as j,a as b,b as S,c as v,e as y,d as s}from"./select-TKsTtRMn.js";import{A as N,d as F}from"./app-layout-BTSySP9M.js";import{F as A,t as I,r as P,p as T,a as _}from"./index-DudYy9cl.js";import"./app-B4XVefei.js";import"./index-em-EQZzp.js";import"./index-CS1SDu2T.js";import"./sheet-iBbRuLZ4.js";import"./index-BXKH1Xq5.js";import"./check-D1N7nvmG.js";import"./index-UHLdfeKp.js";import"./app-logo-icon-B9D8MR-Y.js";import"./package-CgKP903x.js";P(T,_);function z(){const[l,n]=d.useState(null),{data:o,setData:a,post:m,processing:c,errors:r,wasSuccessful:p}=x({title:"",type:"traditional",image_url:null});d.useEffect(()=>{l&&a("image_url",l.file)},[l,a]);const u=t=>{t.preventDefault(),m(F.product.add().url,{forceFormData:!0}),p&&I.success("Product added successfully")};return e.jsxs(N,{children:[e.jsx(f,{title:"Add Product Image"}),e.jsxs("section",{className:"flex flex-col gap-8 px-8 py-8",children:[e.jsx("h1",{className:"text-lg font-semibold tracking-tight",children:"Add Product Image"}),e.jsxs("form",{onSubmit:u,method:"POST",encType:"multipart/formdata",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsxs("div",{className:"flex w-full flex-col gap-4",children:[e.jsx(i,{htmlFor:"title",children:"Title"}),e.jsx(g,{type:"text",id:"title",value:o.title,onChange:t=>a("title",t.target.value),className:"rounded border p-2"}),r.title&&e.jsx("span",{className:"text-red-600",children:r.title})]}),e.jsxs("div",{className:"flex w-full flex-col gap-4",children:[e.jsx(i,{htmlFor:"title",children:"Type"}),e.jsxs(j,{value:o.type,onValueChange:t=>{console.log(t),a("type",t)},children:[e.jsx(b,{children:e.jsx(S,{placeholder:"Select a type"})}),e.jsx(v,{children:e.jsxs(y,{children:[e.jsx(s,{value:"traditional",children:"Traditional"}),e.jsx(s,{value:"modern",children:"Modern"}),e.jsx(s,{value:"bespoke",children:"Bespoke"}),e.jsx(s,{value:"abstract",children:"Abstract"}),e.jsx(s,{value:"art",children:"Art in carpet"})]})})]})]})]}),e.jsxs("div",{className:"mt-4",children:[e.jsx(i,{children:"Image"}),e.jsx(A,{files:l?[l]:[],onupdatefiles:t=>{n(t[0]||null)},allowMultiple:!1,maxFiles:1,name:"image_url",instantUpload:!1,storeAsFile:!0,labelIdle:'Drag & Drop your image or <span class="filepond--label-action">Browse</span>'}),r.image_url&&e.jsx("span",{className:"text-red-600",children:r.image_url})]}),e.jsx(h,{type:"submit",disabled:c,className:"cursor-pointer",children:c?"Uploading...":"Submit"})]})]})]})}export{z as default};

View File

@@ -1 +1 @@
import{u as m,j as s,H as c}from"./app-C6SiEMGn.js";import{B as p}from"./createLucideIcon-CPpF-2ww.js";import{I as i}from"./input-DYhKGVpQ.js";import{L as l}from"./label-BB9HLxkE.js";import{A as x,d as f}from"./app-layout-B4kweoSW.js";import{t as h,r as g,p as j,a as b}from"./index-BQ4sA8lt.js";import"./app-6D7Y1jSv.js";import"./index-B7t1D_co.js";import"./sheet-BvPq5L9Z.js";import"./index-FUlYkgbj.js";import"./index-CxjaVpyF.js";import"./app-logo-icon-B_KiS1IV.js";import"./package-DTdg9l_D.js";g(j,b);function C(){const{data:a,setData:r,post:n,processing:o,errors:t,wasSuccessful:d}=m({question:"",answer:""}),u=e=>{e.preventDefault(),n(f.faq.addFaq().url,{forceFormData:!0}),d&&h.success("Product added successfully")};return s.jsxs(x,{children:[s.jsx(c,{title:"Add FAQ Questions"}),s.jsxs("section",{className:"flex flex-col gap-8 px-8 py-8",children:[s.jsx("h1",{className:"text-lg font-semibold tracking-tight",children:"Add FAQ Questions"}),s.jsxs("form",{onSubmit:u,method:"POST",encType:"multipart/formdata",className:"flex flex-col items-start gap-4",children:[s.jsxs("div",{className:"flex w-full flex-col gap-2",children:[s.jsx(l,{htmlFor:"question",children:"Question"}),s.jsx(i,{type:"text",id:"question",value:a.question,onChange:e=>r("question",e.target.value),className:"rounded border p-2"}),t.question&&s.jsx("span",{className:"text-red-600",children:t.question})]}),s.jsxs("div",{className:"flex w-full flex-col gap-2",children:[s.jsx(l,{htmlFor:"answer",children:"Answer"}),s.jsx(i,{type:"text",id:"answer",value:a.answer,onChange:e=>r("answer",e.target.value),className:"rounded border p-2"}),t.answer&&s.jsx("span",{className:"text-red-600",children:t.answer})]}),s.jsx(p,{type:"submit",disabled:o,className:"cursor-pointer",children:o?"submitting...":"Submit"})]})]})]})}export{C as default}; import{u as m,j as s,H as c}from"./app-Ajql0Lt4.js";import{B as p}from"./createLucideIcon-B_iAwCmA.js";import{I as i}from"./input-B0_NTiRR.js";import{L as l}from"./label-D8DO87nw.js";import{A as x,d as f}from"./app-layout-BTSySP9M.js";import{t as h,r as g,p as j,a as b}from"./index-DudYy9cl.js";import"./app-B4XVefei.js";import"./index-em-EQZzp.js";import"./sheet-iBbRuLZ4.js";import"./index-CS1SDu2T.js";import"./index-UHLdfeKp.js";import"./app-logo-icon-B9D8MR-Y.js";import"./package-CgKP903x.js";g(j,b);function C(){const{data:a,setData:r,post:n,processing:o,errors:t,wasSuccessful:d}=m({question:"",answer:""}),u=e=>{e.preventDefault(),n(f.faq.addFaq().url,{forceFormData:!0}),d&&h.success("Product added successfully")};return s.jsxs(x,{children:[s.jsx(c,{title:"Add FAQ Questions"}),s.jsxs("section",{className:"flex flex-col gap-8 px-8 py-8",children:[s.jsx("h1",{className:"text-lg font-semibold tracking-tight",children:"Add FAQ Questions"}),s.jsxs("form",{onSubmit:u,method:"POST",encType:"multipart/formdata",className:"flex flex-col items-start gap-4",children:[s.jsxs("div",{className:"flex w-full flex-col gap-2",children:[s.jsx(l,{htmlFor:"question",children:"Question"}),s.jsx(i,{type:"text",id:"question",value:a.question,onChange:e=>r("question",e.target.value),className:"rounded border p-2"}),t.question&&s.jsx("span",{className:"text-red-600",children:t.question})]}),s.jsxs("div",{className:"flex w-full flex-col gap-2",children:[s.jsx(l,{htmlFor:"answer",children:"Answer"}),s.jsx(i,{type:"text",id:"answer",value:a.answer,onChange:e=>r("answer",e.target.value),className:"rounded border p-2"}),t.answer&&s.jsx("span",{className:"text-red-600",children:t.answer})]}),s.jsx(p,{type:"submit",disabled:o,className:"cursor-pointer",children:o?"submitting...":"Submit"})]})]})]})}export{C as default};

View File

@@ -1 +1 @@
import{r as i,u as c,j as e,H as f}from"./app-C6SiEMGn.js";import{B as x}from"./createLucideIcon-CPpF-2ww.js";import{I as g}from"./input-DYhKGVpQ.js";import{L as o}from"./label-BB9HLxkE.js";import{A as h}from"./app-layout-B4kweoSW.js";import{F as j,t as b,r as F,p as N,a as S}from"./index-BQ4sA8lt.js";import"./app-6D7Y1jSv.js";import"./index-B7t1D_co.js";import"./sheet-BvPq5L9Z.js";import"./index-FUlYkgbj.js";import"./index-CxjaVpyF.js";import"./app-logo-icon-B_KiS1IV.js";import"./package-DTdg9l_D.js";F(N,S);function H(){const[s,m]=i.useState(null),{data:n,setData:t,post:u,processing:r,errors:l,wasSuccessful:p}=c({alt:"",image_url:null});i.useEffect(()=>{s&&t("image_url",s.file)},[s,t]);const d=a=>{a.preventDefault(),u("/carousel",{forceFormData:!0}),p&&b.success("Slider image successfully uploaded")};return e.jsxs(h,{children:[e.jsx(f,{title:"Add Carousel"}),e.jsxs("section",{className:"flex flex-col gap-8 px-8 py-8",children:[e.jsx("h1",{className:"text-lg font-semibold tracking-tight",children:"Add Slider Image"}),e.jsxs("form",{onSubmit:d,method:"POST",encType:"multipart/formdata",children:[e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx(o,{htmlFor:"title",children:"Title"}),e.jsx(g,{type:"text",id:"title",value:n.alt,onChange:a=>t("alt",a.target.value),className:"rounded border p-2"}),l.alt&&e.jsx("span",{className:"text-red-600",children:l.alt})]}),e.jsxs("div",{className:"mt-4",children:[e.jsx(o,{children:"Image"}),e.jsx(j,{files:s?[s]:[],onupdatefiles:a=>{m(a[0]||null)},allowMultiple:!1,maxFiles:1,name:"image_url",instantUpload:!1,storeAsFile:!0,labelIdle:'Drag & Drop your image or <span class="filepond--label-action">Browse</span>'}),l.image_url&&e.jsx("span",{className:"text-red-600",children:l.image_url})]}),e.jsx(x,{type:"submit",disabled:r,className:"cursor-pointer",children:r?"Uploading...":"Submit"})]})]})]})}export{H as default}; import{r as i,u as c,j as e,H as f}from"./app-Ajql0Lt4.js";import{B as x}from"./createLucideIcon-B_iAwCmA.js";import{I as g}from"./input-B0_NTiRR.js";import{L as o}from"./label-D8DO87nw.js";import{A as h}from"./app-layout-BTSySP9M.js";import{F as j,t as b,r as F,p as N,a as S}from"./index-DudYy9cl.js";import"./app-B4XVefei.js";import"./index-em-EQZzp.js";import"./sheet-iBbRuLZ4.js";import"./index-CS1SDu2T.js";import"./index-UHLdfeKp.js";import"./app-logo-icon-B9D8MR-Y.js";import"./package-CgKP903x.js";F(N,S);function H(){const[s,m]=i.useState(null),{data:n,setData:t,post:u,processing:r,errors:l,wasSuccessful:p}=c({alt:"",image_url:null});i.useEffect(()=>{s&&t("image_url",s.file)},[s,t]);const d=a=>{a.preventDefault(),u("/carousel",{forceFormData:!0}),p&&b.success("Slider image successfully uploaded")};return e.jsxs(h,{children:[e.jsx(f,{title:"Add Carousel"}),e.jsxs("section",{className:"flex flex-col gap-8 px-8 py-8",children:[e.jsx("h1",{className:"text-lg font-semibold tracking-tight",children:"Add Slider Image"}),e.jsxs("form",{onSubmit:d,method:"POST",encType:"multipart/formdata",children:[e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx(o,{htmlFor:"title",children:"Title"}),e.jsx(g,{type:"text",id:"title",value:n.alt,onChange:a=>t("alt",a.target.value),className:"rounded border p-2"}),l.alt&&e.jsx("span",{className:"text-red-600",children:l.alt})]}),e.jsxs("div",{className:"mt-4",children:[e.jsx(o,{children:"Image"}),e.jsx(j,{files:s?[s]:[],onupdatefiles:a=>{m(a[0]||null)},allowMultiple:!1,maxFiles:1,name:"image_url",instantUpload:!1,storeAsFile:!0,labelIdle:'Drag & Drop your image or <span class="filepond--label-action">Browse</span>'}),l.image_url&&e.jsx("span",{className:"text-red-600",children:l.image_url})]}),e.jsx(x,{type:"submit",disabled:r,className:"cursor-pointer",children:r?"Uploading...":"Submit"})]})]})]})}export{H as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
import{r as s,j as n,b as Ge,L as ie,e as Hr,d as Kr}from"./app-C6SiEMGn.js";import{a as Q,u as Y,n as Br,c as w,S as qe,m as Qr,B as Ur,e as zr,o as Mt,q as j,d as Vr}from"./createLucideIcon-CPpF-2ww.js";import{f as be,u as Ae,g as _t,A as jt,h as Et,n as St,l as Rt,m as Tt,s as Wr,S as Yr,t as Xr,q as Zr,r as Jr,p as en,c as tn,b as He,a as rn,i as nn,j as on,k as an,F as sn}from"./sheet-BvPq5L9Z.js";import{c as we,u as Nt,a as v,P as re,d as ke}from"./index-FUlYkgbj.js";import{P as K,d as cn}from"./index-B7t1D_co.js";import{c as Pt,R as dn,I as un}from"./index-CxjaVpyF.js";import{A as ln}from"./app-logo-icon-B_KiS1IV.js";import{P as fn}from"./package-DTdg9l_D.js";/** import{r as s,j as n,c as Ge,L as ie,e as Hr,d as Kr}from"./app-Ajql0Lt4.js";import{a as Q,u as Y,n as Br,c as w,S as qe,m as Qr,B as Ur,e as zr,o as Mt,q as j,d as Vr}from"./createLucideIcon-B_iAwCmA.js";import{f as be,u as Ae,g as _t,A as jt,h as Et,n as St,l as Rt,m as Tt,s as Wr,S as Yr,t as Xr,q as Zr,r as Jr,p as en,c as tn,b as He,a as rn,i as nn,j as on,k as an,F as sn}from"./sheet-iBbRuLZ4.js";import{c as we,u as Nt,a as v,P as re,d as ke}from"./index-CS1SDu2T.js";import{P as K,d as cn}from"./index-em-EQZzp.js";import{c as Pt,R as dn,I as un}from"./index-UHLdfeKp.js";import{A as ln}from"./app-logo-icon-B9D8MR-Y.js";import{P as fn}from"./package-CgKP903x.js";/**
* @license lucide-react v0.475.0 - ISC * @license lucide-react v0.475.0 - ISC
* *
* This source code is licensed under the ISC license. * This source code is licensed under the ISC license.

View File

@@ -1 +1 @@
import{j as L}from"./app-C6SiEMGn.js";function e(V){return L.jsx("svg",{...V,viewBox:"0 0 40 42",xmlns:"http://www.w3.org/2000/svg",children:L.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.2 5.63325L8.6 0.855469L0 5.63325V32.1434L16.2 41.1434L32.4 32.1434V23.699L40 19.4767V9.85547L31.4 5.07769L22.8 9.85547V18.2999L17.2 21.411V5.63325ZM38 18.2999L32.4 21.411V15.2545L38 12.1434V18.2999ZM36.9409 10.4439L31.4 13.5221L25.8591 10.4439L31.4 7.36561L36.9409 10.4439ZM24.8 18.2999V12.1434L30.4 15.2545V21.411L24.8 18.2999ZM23.8 20.0323L29.3409 23.1105L16.2 30.411L10.6591 27.3328L23.8 20.0323ZM7.6 27.9212L15.2 32.1434V38.2999L2 30.9666V7.92116L7.6 11.0323V27.9212ZM8.6 9.29991L3.05913 6.22165L8.6 3.14339L14.1409 6.22165L8.6 9.29991ZM30.4 24.8101L17.2 32.1434V38.2999L30.4 30.9666V24.8101ZM9.6 11.0323L15.2 7.92117V22.5221L9.6 25.6333V11.0323Z"})})}export{e as A}; import{j as L}from"./app-Ajql0Lt4.js";function e(V){return L.jsx("svg",{...V,viewBox:"0 0 40 42",xmlns:"http://www.w3.org/2000/svg",children:L.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.2 5.63325L8.6 0.855469L0 5.63325V32.1434L16.2 41.1434L32.4 32.1434V23.699L40 19.4767V9.85547L31.4 5.07769L22.8 9.85547V18.2999L17.2 21.411V5.63325ZM38 18.2999L32.4 21.411V15.2545L38 12.1434V18.2999ZM36.9409 10.4439L31.4 13.5221L25.8591 10.4439L31.4 7.36561L36.9409 10.4439ZM24.8 18.2999V12.1434L30.4 15.2545V21.411L24.8 18.2999ZM23.8 20.0323L29.3409 23.1105L16.2 30.411L10.6591 27.3328L23.8 20.0323ZM7.6 27.9212L15.2 32.1434V38.2999L2 30.9666V7.92116L7.6 11.0323V27.9212ZM8.6 9.29991L3.05913 6.22165L8.6 3.14339L14.1409 6.22165L8.6 9.29991ZM30.4 24.8101L17.2 32.1434V38.2999L30.4 30.9666V24.8101ZM9.6 11.0323L15.2 7.92117V22.5221L9.6 25.6333V11.0323Z"})})}export{e as A};

View File

@@ -0,0 +1,6 @@
import{b as l,j as e,H as m}from"./app-Ajql0Lt4.js";import{a as d,c as a}from"./createLucideIcon-B_iAwCmA.js";import{e as u,S as h,H as x}from"./layout-B-QAbSfv.js";import{A as g}from"./app-layout-BTSySP9M.js";import"./app-B4XVefei.js";import"./index-em-EQZzp.js";import"./index-BPJbFReo.js";import"./index-B6hfytYC.js";import"./index-D6lErTwd.js";import"./sheet-iBbRuLZ4.js";import"./index-CS1SDu2T.js";import"./index-UHLdfeKp.js";import"./app-logo-icon-B9D8MR-Y.js";import"./package-CgKP903x.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const k=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],b=d("Sun",k);function y({className:r="",...s}){const{appearance:n,updateAppearance:p}=l(),i=[{value:"light",icon:b,label:"Light"}];return e.jsx("div",{className:a("inline-flex gap-1 rounded-lg bg-neutral-100 p-1 dark:bg-neutral-800",r),...s,children:i.map(({value:t,icon:c,label:o})=>e.jsxs("button",{onClick:()=>p(t),className:a("flex items-center rounded-md px-3.5 py-1.5 transition-colors",n===t?"bg-white shadow-xs dark:bg-neutral-700 dark:text-neutral-100":"text-neutral-500 hover:bg-neutral-200/60 hover:text-black dark:text-neutral-400 dark:hover:bg-neutral-700/60"),children:[e.jsx(c,{className:"-ml-1 h-4 w-4"}),e.jsx("span",{className:"ml-1.5 text-sm",children:o})]},t))})}const j=[{title:"Appearance settings",href:u().url}];function E(){return e.jsxs(g,{breadcrumbs:j,children:[e.jsx(m,{title:"Appearance settings"}),e.jsx(h,{children:e.jsxs("div",{className:"space-y-6",children:[e.jsx(x,{title:"Appearance settings",description:"Update your account's appearance settings"}),e.jsx(y,{})]})})]})}export{E as default};

View File

@@ -1,16 +0,0 @@
import{c as d,j as e,H as m}from"./app-C6SiEMGn.js";import{a,c as n}from"./createLucideIcon-CPpF-2ww.js";import{e as h,S as u,H as x}from"./layout-C1UmCZPc.js";import{A as y}from"./app-layout-B4kweoSW.js";import"./app-6D7Y1jSv.js";import"./index-B7t1D_co.js";import"./index-CaEroahx.js";import"./index-81wdD626.js";import"./index-BrphWuSj.js";import"./sheet-BvPq5L9Z.js";import"./index-FUlYkgbj.js";import"./index-CxjaVpyF.js";import"./app-logo-icon-B_KiS1IV.js";import"./package-DTdg9l_D.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const k=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],g=a("Monitor",k);/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const b=[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]],j=a("Moon",b);/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const f=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],v=a("Sun",f);function A({className:r="",...s}){const{appearance:o,updateAppearance:i}=d(),c=[{value:"light",icon:v,label:"Light"},{value:"dark",icon:j,label:"Dark"},{value:"system",icon:g,label:"System"}];return e.jsx("div",{className:n("inline-flex gap-1 rounded-lg bg-neutral-100 p-1 dark:bg-neutral-800",r),...s,children:c.map(({value:t,icon:p,label:l})=>e.jsxs("button",{onClick:()=>i(t),className:n("flex items-center rounded-md px-3.5 py-1.5 transition-colors",o===t?"bg-white shadow-xs dark:bg-neutral-700 dark:text-neutral-100":"text-neutral-500 hover:bg-neutral-200/60 hover:text-black dark:text-neutral-400 dark:hover:bg-neutral-700/60"),children:[e.jsx(p,{className:"-ml-1 h-4 w-4"}),e.jsx("span",{className:"ml-1.5 text-sm",children:l})]},t))})}const M=[{title:"Appearance settings",href:h().url}];function R(){return e.jsxs(y,{breadcrumbs:M,children:[e.jsx(m,{title:"Appearance settings"}),e.jsx(u,{children:e.jsxs("div",{className:"space-y-6",children:[e.jsx(x,{title:"Appearance settings",description:"Update your account's appearance settings"}),e.jsx(A,{})]})})]})}export{R as default};

View File

@@ -1,4 +1,4 @@
import{j as e,H as t}from"./app-C6SiEMGn.js";import{T as i,a as n,b as s,c as a}from"./tabs-0s913y8g.js";import{L as r}from"./layout-DermKrDq.js";import{a as l}from"./createLucideIcon-CPpF-2ww.js";import{P as c}from"./palette-CS1w2D7p.js";import{P as o}from"./package-DTdg9l_D.js";import"./app-6D7Y1jSv.js";import"./index-FUlYkgbj.js";import"./index-CxjaVpyF.js";import"./sheet-BvPq5L9Z.js";import"./index-B7t1D_co.js";import"./input-DYhKGVpQ.js";import"./label-BB9HLxkE.js";import"./select-BuGuwdXt.js";import"./index-ChxR6kRZ.js";import"./check-DEcJAs2N.js";/** import{j as e,H as t}from"./app-Ajql0Lt4.js";import{T as i,a as n,b as s,c as a}from"./tabs-bUCXsWTP.js";import{L as r}from"./layout-B_zVioYG.js";import{a as l}from"./createLucideIcon-B_iAwCmA.js";import{P as c}from"./palette-DUboIRDw.js";import{P as o}from"./package-CgKP903x.js";import"./app-B4XVefei.js";import"./index-CS1SDu2T.js";import"./index-UHLdfeKp.js";import"./sheet-iBbRuLZ4.js";import"./index-em-EQZzp.js";import"./input-B0_NTiRR.js";import"./label-D8DO87nw.js";import"./select-TKsTtRMn.js";import"./index-BXKH1Xq5.js";import"./check-D1N7nvmG.js";/**
* @license lucide-react v0.475.0 - ISC * @license lucide-react v0.475.0 - ISC
* *
* This source code is licensed under the ISC license. * This source code is licensed under the ISC license.

View File

@@ -1 +1 @@
import{j as e,L as a}from"./app-C6SiEMGn.js";import{A as c}from"./app-logo-icon-B_KiS1IV.js";import{h as n}from"./createLucideIcon-CPpF-2ww.js";function m({children:t,title:s,description:r}){return e.jsx("div",{className:"flex min-h-svh flex-col items-center justify-center gap-6 bg-background p-6 md:p-10",children:e.jsx("div",{className:"w-full max-w-sm",children:e.jsxs("div",{className:"flex flex-col gap-8",children:[e.jsxs("div",{className:"flex flex-col items-center gap-4",children:[e.jsxs(a,{href:n(),className:"flex flex-col items-center gap-2 font-medium",children:[e.jsx("div",{className:"mb-1 flex h-9 w-9 items-center justify-center rounded-md",children:e.jsx(c,{className:"size-9 fill-current text-[var(--foreground)] dark:text-white"})}),e.jsx("span",{className:"sr-only",children:s})]}),e.jsxs("div",{className:"space-y-2 text-center",children:[e.jsx("h1",{className:"text-xl font-medium",children:s}),e.jsx("p",{className:"text-center text-sm text-muted-foreground",children:r})]})]}),t]})})})}function d({children:t,title:s,description:r,...l}){return e.jsx(m,{title:s,description:r,...l,children:t})}export{d as A}; import{j as e,L as a}from"./app-Ajql0Lt4.js";import{A as c}from"./app-logo-icon-B9D8MR-Y.js";import{h as n}from"./createLucideIcon-B_iAwCmA.js";function m({children:t,title:s,description:r}){return e.jsx("div",{className:"flex min-h-svh flex-col items-center justify-center gap-6 bg-background p-6 md:p-10",children:e.jsx("div",{className:"w-full max-w-sm",children:e.jsxs("div",{className:"flex flex-col gap-8",children:[e.jsxs("div",{className:"flex flex-col items-center gap-4",children:[e.jsxs(a,{href:n(),className:"flex flex-col items-center gap-2 font-medium",children:[e.jsx("div",{className:"mb-1 flex h-9 w-9 items-center justify-center rounded-md",children:e.jsx(c,{className:"size-9 fill-current text-[var(--foreground)] dark:text-white"})}),e.jsx("span",{className:"sr-only",children:s})]}),e.jsxs("div",{className:"space-y-2 text-center",children:[e.jsx("h1",{className:"text-xl font-medium",children:s}),e.jsx("p",{className:"text-center text-sm text-muted-foreground",children:r})]})]}),t]})})})}function d({children:t,title:s,description:r,...l}){return e.jsx(m,{title:s,description:r,...l,children:t})}export{d as A};

View File

@@ -1,4 +1,4 @@
import{j as e,H as i}from"./app-C6SiEMGn.js";import{a as t,B as r}from"./createLucideIcon-CPpF-2ww.js";import{u as l,L as x}from"./layout-DermKrDq.js";import{P as o}from"./palette-CS1w2D7p.js";import"./app-6D7Y1jSv.js";import"./input-DYhKGVpQ.js";import"./label-BB9HLxkE.js";import"./index-B7t1D_co.js";import"./select-BuGuwdXt.js";import"./index-FUlYkgbj.js";import"./sheet-BvPq5L9Z.js";import"./index-ChxR6kRZ.js";import"./check-DEcJAs2N.js";/** import{j as e,H as i}from"./app-Ajql0Lt4.js";import{a as t,B as r}from"./createLucideIcon-B_iAwCmA.js";import{u as l,L as x}from"./layout-B_zVioYG.js";import{P as o}from"./palette-DUboIRDw.js";import"./app-B4XVefei.js";import"./input-B0_NTiRR.js";import"./label-D8DO87nw.js";import"./index-em-EQZzp.js";import"./select-TKsTtRMn.js";import"./index-CS1SDu2T.js";import"./sheet-iBbRuLZ4.js";import"./index-BXKH1Xq5.js";import"./check-D1N7nvmG.js";/**
* @license lucide-react v0.475.0 - ISC * @license lucide-react v0.475.0 - ISC
* *
* This source code is licensed under the ISC license. * This source code is licensed under the ISC license.

View File

@@ -1 +1 @@
import{j as e,H as n,L as l}from"./app-C6SiEMGn.js";import{B as o}from"./createLucideIcon-CPpF-2ww.js";import{T as x,a as m,b as t,c as s,d as j,e as a,P as h,f as p}from"./table-DVbaU0dA.js";import{A as u,c}from"./app-layout-B4kweoSW.js";import"./app-6D7Y1jSv.js";import"./sheet-BvPq5L9Z.js";import"./index-FUlYkgbj.js";import"./index-B7t1D_co.js";import"./index-CxjaVpyF.js";import"./app-logo-icon-B_KiS1IV.js";import"./package-DTdg9l_D.js";function B({carousel:d}){return e.jsx(e.Fragment,{children:e.jsxs(u,{breadcrumbs:[{title:"Carousel",href:c.index().url}],children:[e.jsx(n,{title:"Carousel"}),e.jsxs("section",{className:"flex flex-col gap-8 px-8 py-8",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("h1",{className:"text-xl font-semibold tracking-tight",children:"Carousel"}),e.jsx(l,{href:c.add(),children:e.jsx(o,{className:"cursor-pointer",children:"Add Image"})})]}),e.jsxs(x,{children:[e.jsx(m,{children:e.jsxs(t,{children:[e.jsx(s,{className:"w-[80px]",children:"S.N."}),e.jsx(s,{className:"w-48",children:"Image"}),e.jsx(s,{children:"Title"}),e.jsx(s,{className:"text-right",children:"Action"})]})}),e.jsx(j,{children:d.map((r,i)=>e.jsxs(t,{children:[e.jsx(a,{className:"font-medium",children:i+1}),e.jsx(a,{children:e.jsx("img",{src:r.image_url,alt:r.alt,className:"aspect-video w-24 rounded-md object-cover object-center"})}),e.jsx(a,{children:r.alt}),e.jsx(a,{className:"text-right",children:e.jsxs("div",{className:"flex items-center justify-end gap-2",children:[e.jsx(l,{href:"",children:e.jsx(h,{size:18})}),e.jsx(l,{href:"",children:e.jsx(p,{size:18,color:"#D2042D"})})]})})]},i))})]})]})]})})}export{B as default}; import{j as e,H as n,L as l}from"./app-Ajql0Lt4.js";import{B as o}from"./createLucideIcon-B_iAwCmA.js";import{T as x,a as m,b as t,c as s,d as j,e as a,P as h,f as p}from"./table-BXShFuwk.js";import{A as u,c}from"./app-layout-BTSySP9M.js";import"./app-B4XVefei.js";import"./sheet-iBbRuLZ4.js";import"./index-CS1SDu2T.js";import"./index-em-EQZzp.js";import"./index-UHLdfeKp.js";import"./app-logo-icon-B9D8MR-Y.js";import"./package-CgKP903x.js";function B({carousel:d}){return e.jsx(e.Fragment,{children:e.jsxs(u,{breadcrumbs:[{title:"Carousel",href:c.index().url}],children:[e.jsx(n,{title:"Carousel"}),e.jsxs("section",{className:"flex flex-col gap-8 px-8 py-8",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("h1",{className:"text-xl font-semibold tracking-tight",children:"Carousel"}),e.jsx(l,{href:c.add(),children:e.jsx(o,{className:"cursor-pointer",children:"Add Image"})})]}),e.jsxs(x,{children:[e.jsx(m,{children:e.jsxs(t,{children:[e.jsx(s,{className:"w-[80px]",children:"S.N."}),e.jsx(s,{className:"w-48",children:"Image"}),e.jsx(s,{children:"Title"}),e.jsx(s,{className:"text-right",children:"Action"})]})}),e.jsx(j,{children:d.map((r,i)=>e.jsxs(t,{children:[e.jsx(a,{className:"font-medium",children:i+1}),e.jsx(a,{children:e.jsx("img",{src:r.image_url,alt:r.alt,className:"aspect-video w-24 rounded-md object-cover object-center"})}),e.jsx(a,{children:r.alt}),e.jsx(a,{className:"text-right",children:e.jsxs("div",{className:"flex items-center justify-end gap-2",children:[e.jsx(l,{href:"",children:e.jsx(h,{size:18})}),e.jsx(l,{href:"",children:e.jsx(p,{size:18,color:"#D2042D"})})]})})]},i))})]})]})]})})}export{B as default};

View File

@@ -1,4 +1,4 @@
import{a as c}from"./createLucideIcon-CPpF-2ww.js";/** import{a as c}from"./createLucideIcon-B_iAwCmA.js";/**
* @license lucide-react v0.475.0 - ISC * @license lucide-react v0.475.0 - ISC
* *
* This source code is licensed under the ISC license. * This source code is licensed under the ISC license.

View File

@@ -1 +1 @@
import{j as s,H as a,F as e}from"./app-C6SiEMGn.js";import{I as t}from"./input-error-DHxzqysv.js";import{B as i}from"./createLucideIcon-CPpF-2ww.js";import{I as m}from"./input-DYhKGVpQ.js";import{L as d}from"./label-BB9HLxkE.js";import{A as p}from"./auth-layout-CgoifTok.js";import{s as n}from"./index-81wdD626.js";import{L as l}from"./loader-circle-BPtK_d4m.js";import"./app-6D7Y1jSv.js";import"./index-B7t1D_co.js";import"./app-logo-icon-B_KiS1IV.js";function b(){return s.jsxs(p,{title:"Confirm your password",description:"This is a secure area of the application. Please confirm your password before continuing.",children:[s.jsx(a,{title:"Confirm password"}),s.jsx(e,{...n.form(),resetOnSuccess:["password"],children:({processing:r,errors:o})=>s.jsxs("div",{className:"space-y-6",children:[s.jsxs("div",{className:"grid gap-2",children:[s.jsx(d,{htmlFor:"password",children:"Password"}),s.jsx(m,{id:"password",type:"password",name:"password",placeholder:"Password",autoComplete:"current-password",autoFocus:!0}),s.jsx(t,{message:o.password})]}),s.jsx("div",{className:"flex items-center",children:s.jsxs(i,{className:"w-full",disabled:r,"data-test":"confirm-password-button",children:[r&&s.jsx(l,{className:"h-4 w-4 animate-spin"}),"Confirm password"]})})]})})]})}export{b as default}; import{j as s,H as a,F as e}from"./app-Ajql0Lt4.js";import{I as t}from"./input-error-Drp3HhtP.js";import{B as i}from"./createLucideIcon-B_iAwCmA.js";import{I as m}from"./input-B0_NTiRR.js";import{L as d}from"./label-D8DO87nw.js";import{A as p}from"./auth-layout-BA0f4QcD.js";import{s as n}from"./index-B6hfytYC.js";import{L as l}from"./loader-circle-C6-iW413.js";import"./app-B4XVefei.js";import"./index-em-EQZzp.js";import"./app-logo-icon-B9D8MR-Y.js";function b(){return s.jsxs(p,{title:"Confirm your password",description:"This is a secure area of the application. Please confirm your password before continuing.",children:[s.jsx(a,{title:"Confirm password"}),s.jsx(e,{...n.form(),resetOnSuccess:["password"],children:({processing:r,errors:o})=>s.jsxs("div",{className:"space-y-6",children:[s.jsxs("div",{className:"grid gap-2",children:[s.jsx(d,{htmlFor:"password",children:"Password"}),s.jsx(m,{id:"password",type:"password",name:"password",placeholder:"Password",autoComplete:"current-password",autoFocus:!0}),s.jsx(t,{message:o.password})]}),s.jsx("div",{className:"flex items-center",children:s.jsxs(i,{className:"w-full",disabled:r,"data-test":"confirm-password-button",children:[r&&s.jsx(l,{className:"h-4 w-4 animate-spin"}),"Confirm password"]})})]})})]})}export{b as default};

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{r as a,j as e,H as o}from"./app-C6SiEMGn.js";import{A as t,a as l}from"./app-layout-B4kweoSW.js";import"./app-6D7Y1jSv.js";import"./createLucideIcon-CPpF-2ww.js";import"./sheet-BvPq5L9Z.js";import"./index-FUlYkgbj.js";import"./index-B7t1D_co.js";import"./index-CxjaVpyF.js";import"./app-logo-icon-B_KiS1IV.js";import"./package-DTdg9l_D.js";function r({className:d}){const s=a.useId();return e.jsxs("svg",{className:d,fill:"none",children:[e.jsx("defs",{children:e.jsx("pattern",{id:s,x:"0",y:"0",width:"10",height:"10",patternUnits:"userSpaceOnUse",children:e.jsx("path",{d:"M-3 13 15-5M-5 5l18-18M-1 21 17 3"})})}),e.jsx("rect",{stroke:"none",fill:`url(#${s})`,width:"100%",height:"100%"})]})}const i=[{title:"Dashboard",href:l().url}];function j(){return e.jsxs(t,{breadcrumbs:i,children:[e.jsx(o,{title:"Dashboard"}),e.jsxs("div",{className:"flex h-full flex-1 flex-col gap-4 overflow-x-auto rounded-xl p-4",children:[e.jsxs("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[e.jsx("div",{className:"relative aspect-video overflow-hidden rounded-xl border border-sidebar-border/70 dark:border-sidebar-border",children:e.jsx(r,{className:"absolute inset-0 size-full stroke-neutral-900/20 dark:stroke-neutral-100/20"})}),e.jsx("div",{className:"relative aspect-video overflow-hidden rounded-xl border border-sidebar-border/70 dark:border-sidebar-border",children:e.jsx(r,{className:"absolute inset-0 size-full stroke-neutral-900/20 dark:stroke-neutral-100/20"})}),e.jsx("div",{className:"relative aspect-video overflow-hidden rounded-xl border border-sidebar-border/70 dark:border-sidebar-border",children:e.jsx(r,{className:"absolute inset-0 size-full stroke-neutral-900/20 dark:stroke-neutral-100/20"})})]}),e.jsx("div",{className:"relative min-h-[100vh] flex-1 overflow-hidden rounded-xl border border-sidebar-border/70 md:min-h-min dark:border-sidebar-border",children:e.jsx(r,{className:"absolute inset-0 size-full stroke-neutral-900/20 dark:stroke-neutral-100/20"})})]})]})}export{j as default}; import{r as a,j as e,H as o}from"./app-Ajql0Lt4.js";import{A as t,a as l}from"./app-layout-BTSySP9M.js";import"./app-B4XVefei.js";import"./createLucideIcon-B_iAwCmA.js";import"./sheet-iBbRuLZ4.js";import"./index-CS1SDu2T.js";import"./index-em-EQZzp.js";import"./index-UHLdfeKp.js";import"./app-logo-icon-B9D8MR-Y.js";import"./package-CgKP903x.js";function r({className:d}){const s=a.useId();return e.jsxs("svg",{className:d,fill:"none",children:[e.jsx("defs",{children:e.jsx("pattern",{id:s,x:"0",y:"0",width:"10",height:"10",patternUnits:"userSpaceOnUse",children:e.jsx("path",{d:"M-3 13 15-5M-5 5l18-18M-1 21 17 3"})})}),e.jsx("rect",{stroke:"none",fill:`url(#${s})`,width:"100%",height:"100%"})]})}const i=[{title:"Dashboard",href:l().url}];function j(){return e.jsxs(t,{breadcrumbs:i,children:[e.jsx(o,{title:"Dashboard"}),e.jsxs("div",{className:"flex h-full flex-1 flex-col gap-4 overflow-x-auto rounded-xl p-4",children:[e.jsxs("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[e.jsx("div",{className:"relative aspect-video overflow-hidden rounded-xl border border-sidebar-border/70 dark:border-sidebar-border",children:e.jsx(r,{className:"absolute inset-0 size-full stroke-neutral-900/20 dark:stroke-neutral-100/20"})}),e.jsx("div",{className:"relative aspect-video overflow-hidden rounded-xl border border-sidebar-border/70 dark:border-sidebar-border",children:e.jsx(r,{className:"absolute inset-0 size-full stroke-neutral-900/20 dark:stroke-neutral-100/20"})}),e.jsx("div",{className:"relative aspect-video overflow-hidden rounded-xl border border-sidebar-border/70 dark:border-sidebar-border",children:e.jsx(r,{className:"absolute inset-0 size-full stroke-neutral-900/20 dark:stroke-neutral-100/20"})})]}),e.jsx("div",{className:"relative min-h-[100vh] flex-1 overflow-hidden rounded-xl border border-sidebar-border/70 md:min-h-min dark:border-sidebar-border",children:e.jsx(r,{className:"absolute inset-0 size-full stroke-neutral-900/20 dark:stroke-neutral-100/20"})})]})]})}export{j as default};

View File

@@ -1 +1 @@
import{j as t}from"./app-C6SiEMGn.js";import{R as i,T as l,C as r,d as s,X as d,e as c,D as g,P as u,O as f}from"./sheet-BvPq5L9Z.js";import{c as o}from"./createLucideIcon-CPpF-2ww.js";function v({...a}){return t.jsx(i,{"data-slot":"dialog",...a})}function b({...a}){return t.jsx(l,{"data-slot":"dialog-trigger",...a})}function x({...a}){return t.jsx(u,{"data-slot":"dialog-portal",...a})}function h({...a}){return t.jsx(s,{"data-slot":"dialog-close",...a})}function m({className:a,...e}){return t.jsx(f,{"data-slot":"dialog-overlay",className:o("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80",a),...e})}function y({className:a,children:e,...n}){return t.jsxs(x,{"data-slot":"dialog-portal",children:[t.jsx(m,{}),t.jsxs(r,{"data-slot":"dialog-content",className:o("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",a),...n,children:[e,t.jsxs(s,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[t.jsx(d,{}),t.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function N({className:a,...e}){return t.jsx("div",{"data-slot":"dialog-header",className:o("flex flex-col gap-2 text-center sm:text-left",a),...e})}function z({className:a,...e}){return t.jsx("div",{"data-slot":"dialog-footer",className:o("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",a),...e})}function C({className:a,...e}){return t.jsx(c,{"data-slot":"dialog-title",className:o("text-lg leading-none font-semibold",a),...e})}function w({className:a,...e}){return t.jsx(g,{"data-slot":"dialog-description",className:o("text-muted-foreground text-sm",a),...e})}export{v as D,b as a,y as b,C as c,w as d,z as e,h as f,N as g}; import{j as t}from"./app-Ajql0Lt4.js";import{R as i,T as l,C as r,d as s,X as d,e as c,D as g,P as u,O as f}from"./sheet-iBbRuLZ4.js";import{c as o}from"./createLucideIcon-B_iAwCmA.js";function v({...a}){return t.jsx(i,{"data-slot":"dialog",...a})}function b({...a}){return t.jsx(l,{"data-slot":"dialog-trigger",...a})}function x({...a}){return t.jsx(u,{"data-slot":"dialog-portal",...a})}function h({...a}){return t.jsx(s,{"data-slot":"dialog-close",...a})}function m({className:a,...e}){return t.jsx(f,{"data-slot":"dialog-overlay",className:o("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80",a),...e})}function y({className:a,children:e,...n}){return t.jsxs(x,{"data-slot":"dialog-portal",children:[t.jsx(m,{}),t.jsxs(r,{"data-slot":"dialog-content",className:o("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",a),...n,children:[e,t.jsxs(s,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[t.jsx(d,{}),t.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function N({className:a,...e}){return t.jsx("div",{"data-slot":"dialog-header",className:o("flex flex-col gap-2 text-center sm:text-left",a),...e})}function z({className:a,...e}){return t.jsx("div",{"data-slot":"dialog-footer",className:o("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",a),...e})}function C({className:a,...e}){return t.jsx(c,{"data-slot":"dialog-title",className:o("text-lg leading-none font-semibold",a),...e})}function w({className:a,...e}){return t.jsx(g,{"data-slot":"dialog-description",className:o("text-muted-foreground text-sm",a),...e})}export{v as D,b as a,y as b,C as c,w as d,z as e,h as f,N as g};

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{j as r,H as d,F as n}from"./app-C6SiEMGn.js";import{q as m,B as u,l as c}from"./createLucideIcon-CPpF-2ww.js";import{I as p}from"./input-error-DHxzqysv.js";import{T as h}from"./text-link-DNnNqMs9.js";import{I as f}from"./input-DYhKGVpQ.js";import{L as x}from"./label-BB9HLxkE.js";import{A as g}from"./auth-layout-CgoifTok.js";import{L as j}from"./loader-circle-BPtK_d4m.js";import"./app-6D7Y1jSv.js";import"./index-B7t1D_co.js";import"./app-logo-icon-B_KiS1IV.js";const t=e=>({url:t.url(e),method:"get"});t.definition={methods:["get","head"],url:"/forgot-password"};t.url=e=>t.definition.url+m(e);t.get=e=>({url:t.url(e),method:"get"});t.head=e=>({url:t.url(e),method:"head"});const s=e=>({action:t.url(e),method:"get"});s.get=e=>({action:t.url(e),method:"get"});s.head=e=>({action:t.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});t.form=s;const o=e=>({url:o.url(e),method:"post"});o.definition={methods:["post"],url:"/forgot-password"};o.url=e=>o.definition.url+m(e);o.post=e=>({url:o.url(e),method:"post"});const i=e=>({action:o.url(e),method:"post"});i.post=e=>({action:o.url(e),method:"post"});o.form=i;const y={store:o};function C({status:e}){return r.jsxs(g,{title:"Forgot password",description:"Enter your email to receive a password reset link",children:[r.jsx(d,{title:"Forgot password"}),e&&r.jsx("div",{className:"mb-4 text-center text-sm font-medium text-green-600",children:e}),r.jsxs("div",{className:"space-y-6",children:[r.jsx(n,{...y.store.form(),children:({processing:a,errors:l})=>r.jsxs(r.Fragment,{children:[r.jsxs("div",{className:"grid gap-2",children:[r.jsx(x,{htmlFor:"email",children:"Email address"}),r.jsx(f,{id:"email",type:"email",name:"email",autoComplete:"off",autoFocus:!0,placeholder:"email@example.com"}),r.jsx(p,{message:l.email})]}),r.jsx("div",{className:"my-6 flex items-center justify-start",children:r.jsxs(u,{className:"w-full",disabled:a,"data-test":"email-password-reset-link-button",children:[a&&r.jsx(j,{className:"h-4 w-4 animate-spin"}),"Email password reset link"]})})]})}),r.jsxs("div",{className:"space-x-1 text-center text-sm text-muted-foreground",children:[r.jsx("span",{children:"Or, return to"}),r.jsx(h,{href:c(),children:"log in"})]})]})]})}export{C as default}; import{j as r,H as d,F as n}from"./app-Ajql0Lt4.js";import{q as m,B as u,l as c}from"./createLucideIcon-B_iAwCmA.js";import{I as p}from"./input-error-Drp3HhtP.js";import{T as h}from"./text-link-D6DcgXYJ.js";import{I as f}from"./input-B0_NTiRR.js";import{L as x}from"./label-D8DO87nw.js";import{A as g}from"./auth-layout-BA0f4QcD.js";import{L as j}from"./loader-circle-C6-iW413.js";import"./app-B4XVefei.js";import"./index-em-EQZzp.js";import"./app-logo-icon-B9D8MR-Y.js";const t=e=>({url:t.url(e),method:"get"});t.definition={methods:["get","head"],url:"/forgot-password"};t.url=e=>t.definition.url+m(e);t.get=e=>({url:t.url(e),method:"get"});t.head=e=>({url:t.url(e),method:"head"});const s=e=>({action:t.url(e),method:"get"});s.get=e=>({action:t.url(e),method:"get"});s.head=e=>({action:t.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});t.form=s;const o=e=>({url:o.url(e),method:"post"});o.definition={methods:["post"],url:"/forgot-password"};o.url=e=>o.definition.url+m(e);o.post=e=>({url:o.url(e),method:"post"});const i=e=>({action:o.url(e),method:"post"});i.post=e=>({action:o.url(e),method:"post"});o.form=i;const y={store:o};function C({status:e}){return r.jsxs(g,{title:"Forgot password",description:"Enter your email to receive a password reset link",children:[r.jsx(d,{title:"Forgot password"}),e&&r.jsx("div",{className:"mb-4 text-center text-sm font-medium text-green-600",children:e}),r.jsxs("div",{className:"space-y-6",children:[r.jsx(n,{...y.store.form(),children:({processing:a,errors:l})=>r.jsxs(r.Fragment,{children:[r.jsxs("div",{className:"grid gap-2",children:[r.jsx(x,{htmlFor:"email",children:"Email address"}),r.jsx(f,{id:"email",type:"email",name:"email",autoComplete:"off",autoFocus:!0,placeholder:"email@example.com"}),r.jsx(p,{message:l.email})]}),r.jsx("div",{className:"my-6 flex items-center justify-start",children:r.jsxs(u,{className:"w-full",disabled:a,"data-test":"email-password-reset-link-button",children:[a&&r.jsx(j,{className:"h-4 w-4 animate-spin"}),"Email password reset link"]})})]})}),r.jsxs("div",{className:"space-x-1 text-center text-sm text-muted-foreground",children:[r.jsx("span",{children:"Or, return to"}),r.jsx(h,{href:c(),children:"log in"})]})]})]})}export{C as default};

View File

@@ -1 +1 @@
import{q as s}from"./createLucideIcon-CPpF-2ww.js";const o=t=>({url:o.url(t),method:"post"});o.definition={methods:["post"],url:"/user/confirm-password"};o.url=t=>o.definition.url+s(t);o.post=t=>({url:o.url(t),method:"post"});const r=t=>({action:o.url(t),method:"post"});r.post=t=>({action:o.url(t),method:"post"});o.form=r;const n={store:Object.assign(o,o)};export{n as c,o as s}; import{q as s}from"./createLucideIcon-B_iAwCmA.js";const o=t=>({url:o.url(t),method:"post"});o.definition={methods:["post"],url:"/user/confirm-password"};o.url=t=>o.definition.url+s(t);o.post=t=>({url:o.url(t),method:"post"});const r=t=>({action:o.url(t),method:"post"});r.post=t=>({action:o.url(t),method:"post"});o.form=r;const n={store:Object.assign(o,o)};export{n as c,o as s};

View File

@@ -1 +1 @@
import{q as s,b}from"./createLucideIcon-CPpF-2ww.js";import{c as j}from"./index-81wdD626.js";const d=e=>({url:d.url(e),method:"get"});d.definition={methods:["get","head"],url:"/user/confirm-password"};d.url=e=>d.definition.url+s(e);d.get=e=>({url:d.url(e),method:"get"});d.head=e=>({url:d.url(e),method:"head"});const h=e=>({action:d.url(e),method:"get"});h.get=e=>({action:d.url(e),method:"get"});h.head=e=>({action:d.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});d.form=h;const t=e=>({url:t.url(e),method:"get"});t.definition={methods:["get","head"],url:"/user/confirmed-password-status"};t.url=e=>t.definition.url+s(e);t.get=e=>({url:t.url(e),method:"get"});t.head=e=>({url:t.url(e),method:"head"});const a=e=>({action:t.url(e),method:"get"});a.get=e=>({action:t.url(e),method:"get"});a.head=e=>({action:t.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});t.form=a;const o=e=>({url:o.url(e),method:"get"});o.definition={methods:["get","head"],url:"/settings/password"};o.url=e=>o.definition.url+s(e);o.get=e=>({url:o.url(e),method:"get"});o.head=e=>({url:o.url(e),method:"head"});const g=e=>({action:o.url(e),method:"get"});g.get=e=>({action:o.url(e),method:"get"});g.head=e=>({action:o.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});o.form=g;const n=e=>({url:n.url(e),method:"put"});n.definition={methods:["put"],url:"/settings/password"};n.url=e=>n.definition.url+s(e);n.put=e=>({url:n.url(e),method:"put"});const y=e=>({action:n.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"PUT",...e?.query??e?.mergeQuery??{}}}),method:"post"});y.put=e=>({action:n.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"PUT",...e?.query??e?.mergeQuery??{}}}),method:"post"});n.form=y;const u=e=>({url:u.url(e),method:"get"});u.definition={methods:["get","head"],url:"/forgot-password"};u.url=e=>u.definition.url+s(e);u.get=e=>({url:u.url(e),method:"get"});u.head=e=>({url:u.url(e),method:"head"});const c=e=>({action:u.url(e),method:"get"});c.get=e=>({action:u.url(e),method:"get"});c.head=e=>({action:u.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});u.form=c;const l=e=>({url:l.url(e),method:"post"});l.definition={methods:["post"],url:"/forgot-password"};l.url=e=>l.definition.url+s(e);l.post=e=>({url:l.url(e),method:"post"});const p=e=>({action:l.url(e),method:"post"});p.post=e=>({action:l.url(e),method:"post"});l.form=p;const m=(e,r)=>({url:m.url(e,r),method:"get"});m.definition={methods:["get","head"],url:"/reset-password/{token}"};m.url=(e,r)=>{(typeof e=="string"||typeof e=="number")&&(e={token:e}),Array.isArray(e)&&(e={token:e[0]}),e=b(e);const q={token:e.token};return m.definition.url.replace("{token}",q.token.toString()).replace(/\/+$/,"")+s(r)};m.get=(e,r)=>({url:m.url(e,r),method:"get"});m.head=(e,r)=>({url:m.url(e,r),method:"head"});const f=(e,r)=>({action:m.url(e,r),method:"get"});f.get=(e,r)=>({action:m.url(e,r),method:"get"});f.head=(e,r)=>({action:m.url(e,{[r?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...r?.query??r?.mergeQuery??{}}}),method:"get"});m.form=f;const i=e=>({url:i.url(e),method:"post"});i.definition={methods:["post"],url:"/reset-password"};i.url=e=>i.definition.url+s(e);i.post=e=>({url:i.url(e),method:"post"});const Q=e=>({action:i.url(e),method:"post"});Q.post=e=>({action:i.url(e),method:"post"});i.form=Q;Object.assign(d,j),Object.assign(t,t),Object.assign(o,o),Object.assign(n,n),Object.assign(u,u),Object.assign(l,l),Object.assign(m,m),Object.assign(i,i);export{o as e,u as r}; import{q as s,b}from"./createLucideIcon-B_iAwCmA.js";import{c as j}from"./index-B6hfytYC.js";const d=e=>({url:d.url(e),method:"get"});d.definition={methods:["get","head"],url:"/user/confirm-password"};d.url=e=>d.definition.url+s(e);d.get=e=>({url:d.url(e),method:"get"});d.head=e=>({url:d.url(e),method:"head"});const h=e=>({action:d.url(e),method:"get"});h.get=e=>({action:d.url(e),method:"get"});h.head=e=>({action:d.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});d.form=h;const t=e=>({url:t.url(e),method:"get"});t.definition={methods:["get","head"],url:"/user/confirmed-password-status"};t.url=e=>t.definition.url+s(e);t.get=e=>({url:t.url(e),method:"get"});t.head=e=>({url:t.url(e),method:"head"});const a=e=>({action:t.url(e),method:"get"});a.get=e=>({action:t.url(e),method:"get"});a.head=e=>({action:t.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});t.form=a;const o=e=>({url:o.url(e),method:"get"});o.definition={methods:["get","head"],url:"/settings/password"};o.url=e=>o.definition.url+s(e);o.get=e=>({url:o.url(e),method:"get"});o.head=e=>({url:o.url(e),method:"head"});const g=e=>({action:o.url(e),method:"get"});g.get=e=>({action:o.url(e),method:"get"});g.head=e=>({action:o.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});o.form=g;const n=e=>({url:n.url(e),method:"put"});n.definition={methods:["put"],url:"/settings/password"};n.url=e=>n.definition.url+s(e);n.put=e=>({url:n.url(e),method:"put"});const y=e=>({action:n.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"PUT",...e?.query??e?.mergeQuery??{}}}),method:"post"});y.put=e=>({action:n.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"PUT",...e?.query??e?.mergeQuery??{}}}),method:"post"});n.form=y;const u=e=>({url:u.url(e),method:"get"});u.definition={methods:["get","head"],url:"/forgot-password"};u.url=e=>u.definition.url+s(e);u.get=e=>({url:u.url(e),method:"get"});u.head=e=>({url:u.url(e),method:"head"});const c=e=>({action:u.url(e),method:"get"});c.get=e=>({action:u.url(e),method:"get"});c.head=e=>({action:u.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});u.form=c;const l=e=>({url:l.url(e),method:"post"});l.definition={methods:["post"],url:"/forgot-password"};l.url=e=>l.definition.url+s(e);l.post=e=>({url:l.url(e),method:"post"});const p=e=>({action:l.url(e),method:"post"});p.post=e=>({action:l.url(e),method:"post"});l.form=p;const m=(e,r)=>({url:m.url(e,r),method:"get"});m.definition={methods:["get","head"],url:"/reset-password/{token}"};m.url=(e,r)=>{(typeof e=="string"||typeof e=="number")&&(e={token:e}),Array.isArray(e)&&(e={token:e[0]}),e=b(e);const q={token:e.token};return m.definition.url.replace("{token}",q.token.toString()).replace(/\/+$/,"")+s(r)};m.get=(e,r)=>({url:m.url(e,r),method:"get"});m.head=(e,r)=>({url:m.url(e,r),method:"head"});const f=(e,r)=>({action:m.url(e,r),method:"get"});f.get=(e,r)=>({action:m.url(e,r),method:"get"});f.head=(e,r)=>({action:m.url(e,{[r?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...r?.query??r?.mergeQuery??{}}}),method:"get"});m.form=f;const i=e=>({url:i.url(e),method:"post"});i.definition={methods:["post"],url:"/reset-password"};i.url=e=>i.definition.url+s(e);i.post=e=>({url:i.url(e),method:"post"});const Q=e=>({action:i.url(e),method:"post"});Q.post=e=>({action:i.url(e),method:"post"});i.form=Q;Object.assign(d,j),Object.assign(t,t),Object.assign(o,o),Object.assign(n,n),Object.assign(u,u),Object.assign(l,l),Object.assign(m,m),Object.assign(i,i);export{o as e,u as r};

View File

@@ -1 +1 @@
import{r as u}from"./app-C6SiEMGn.js";function o(r){const e=u.useRef({value:r,previous:r});return u.useMemo(()=>(e.current.value!==r&&(e.current.previous=e.current.value,e.current.value=r),e.current.previous),[r])}export{o as u}; import{r as u}from"./app-Ajql0Lt4.js";function o(r){const e=u.useRef({value:r,previous:r});return u.useMemo(()=>(e.current.value!==r&&(e.current.previous=e.current.value,e.current.value=r),e.current.previous),[r])}export{o as u};

View File

@@ -1 +1 @@
import{j as s,H as n,L as a}from"./app-C6SiEMGn.js";import{B as x}from"./createLucideIcon-CPpF-2ww.js";import{T as o,a as h,b as t,c as e,d as m,e as r,P as j,f as p}from"./table-DVbaU0dA.js";import{A as f,d as c}from"./app-layout-B4kweoSW.js";import"./app-6D7Y1jSv.js";import"./sheet-BvPq5L9Z.js";import"./index-FUlYkgbj.js";import"./index-B7t1D_co.js";import"./index-CxjaVpyF.js";import"./app-logo-icon-B_KiS1IV.js";import"./package-DTdg9l_D.js";function q({faq:d}){return s.jsxs(f,{breadcrumbs:[{title:"FAQs",href:c.product.index().url}],children:[s.jsx(n,{title:"FAQs"}),s.jsxs("section",{className:"flex flex-col gap-8 px-8 py-8",children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("h1",{className:"text-xl font-semibold tracking-tight",children:"FAQs"}),s.jsx(a,{href:c.faq.add(),children:s.jsx(x,{className:"cursor-pointer",children:"Add Questions"})})]}),s.jsxs(o,{children:[s.jsx(h,{children:s.jsxs(t,{children:[s.jsx(e,{className:"w-[80px]",children:"S.N."}),s.jsx(e,{children:"Question"}),s.jsx(e,{children:"Answer"}),s.jsx(e,{className:"text-right",children:"Action"})]})}),s.jsx(m,{children:d.map((i,l)=>s.jsxs(t,{children:[s.jsx(r,{className:"font-medium",children:l+1}),s.jsx(r,{children:i.question}),s.jsx(r,{children:i.answer}),s.jsx(r,{className:"text-right",children:s.jsxs("div",{className:"flex items-center justify-end gap-2",children:[s.jsx(a,{href:"",children:s.jsx(j,{size:18})}),s.jsx(a,{href:"",children:s.jsx(p,{size:18,color:"#D2042D"})})]})})]},l))})]})]})]})}export{q as default}; import{j as s,H as n,L as a}from"./app-Ajql0Lt4.js";import{B as x}from"./createLucideIcon-B_iAwCmA.js";import{T as o,a as h,b as t,c as e,d as m,e as r,P as j,f as p}from"./table-BXShFuwk.js";import{A as f,d as c}from"./app-layout-BTSySP9M.js";import"./app-B4XVefei.js";import"./sheet-iBbRuLZ4.js";import"./index-CS1SDu2T.js";import"./index-em-EQZzp.js";import"./index-UHLdfeKp.js";import"./app-logo-icon-B9D8MR-Y.js";import"./package-CgKP903x.js";function q({faq:d}){return s.jsxs(f,{breadcrumbs:[{title:"FAQs",href:c.product.index().url}],children:[s.jsx(n,{title:"FAQs"}),s.jsxs("section",{className:"flex flex-col gap-8 px-8 py-8",children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("h1",{className:"text-xl font-semibold tracking-tight",children:"FAQs"}),s.jsx(a,{href:c.faq.add(),children:s.jsx(x,{className:"cursor-pointer",children:"Add Questions"})})]}),s.jsxs(o,{children:[s.jsx(h,{children:s.jsxs(t,{children:[s.jsx(e,{className:"w-[80px]",children:"S.N."}),s.jsx(e,{children:"Question"}),s.jsx(e,{children:"Answer"}),s.jsx(e,{className:"text-right",children:"Action"})]})}),s.jsx(m,{children:d.map((i,l)=>s.jsxs(t,{children:[s.jsx(r,{className:"font-medium",children:l+1}),s.jsx(r,{children:i.question}),s.jsx(r,{children:i.answer}),s.jsx(r,{className:"text-right",children:s.jsxs("div",{className:"flex items-center justify-end gap-2",children:[s.jsx(a,{href:"",children:s.jsx(j,{size:18})}),s.jsx(a,{href:"",children:s.jsx(p,{size:18,color:"#D2042D"})})]})})]},l))})]})]})]})}export{q as default};

View File

@@ -1 +1 @@
import{r as i,j as x,t as y}from"./app-C6SiEMGn.js";import{u as A}from"./createLucideIcon-CPpF-2ww.js";function U(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e?.(o),n===!1||!o.defaultPrevented)return t?.(o)}}function z(e,t){const n=i.createContext(t),r=c=>{const{children:u,...s}=c,a=i.useMemo(()=>s,Object.values(s));return x.jsx(n.Provider,{value:a,children:u})};r.displayName=e+"Provider";function o(c){const u=i.useContext(n);if(u)return u;if(t!==void 0)return t;throw new Error(`\`${c}\` must be used within \`${e}\``)}return[r,o]}function _(e,t=[]){let n=[];function r(c,u){const s=i.createContext(u),a=n.length;n=[...n,u];const f=d=>{const{scope:p,children:m,...v}=d,S=p?.[e]?.[a]||s,g=i.useMemo(()=>v,Object.values(v));return x.jsx(S.Provider,{value:g,children:m})};f.displayName=c+"Provider";function l(d,p){const m=p?.[e]?.[a]||s,v=i.useContext(m);if(v)return v;if(u!==void 0)return u;throw new Error(`\`${d}\` must be used within \`${c}\``)}return[f,l]}const o=()=>{const c=n.map(u=>i.createContext(u));return function(s){const a=s?.[e]||c;return i.useMemo(()=>({[`__scope${e}`]:{...s,[e]:a}}),[s,a])}};return o.scopeName=e,[r,E(o,...t)]}function E(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(c){const u=r.reduce((s,{useScope:a,scopeName:f})=>{const d=a(c)[`__scope${f}`];return{...s,...d}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return n.scopeName=t.scopeName,n}var N=globalThis?.document?i.useLayoutEffect:()=>{};function $(e){const[t,n]=i.useState(void 0);return N(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const c=o[0];let u,s;if("borderBoxSize"in c){const a=c.borderBoxSize,f=Array.isArray(a)?a[0]:a;u=f.inlineSize,s=f.blockSize}else u=e.offsetWidth,s=e.offsetHeight;n({width:u,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var b=y[" useInsertionEffect ".trim().toString()]||N;function j({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,c,u]=C({defaultProp:t,onChange:n}),s=e!==void 0,a=s?e:o;{const l=i.useRef(e!==void 0);i.useEffect(()=>{const d=l.current;d!==s&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),l.current=s},[s,r])}const f=i.useCallback(l=>{if(s){const d=w(l)?l(e):l;d!==e&&u.current?.(d)}else c(l)},[s,e,c,u]);return[a,f]}function C({defaultProp:e,onChange:t}){const[n,r]=i.useState(e),o=i.useRef(n),c=i.useRef(t);return b(()=>{c.current=t},[t]),i.useEffect(()=>{o.current!==n&&(c.current?.(n),o.current=n)},[n,o]),[n,r,c]}function w(e){return typeof e=="function"}function P(e,t){return i.useReducer((n,r)=>t[n][r]??n,e)}var M=e=>{const{present:t,children:n}=e,r=R(t),o=typeof n=="function"?n({present:r.isPresent}):i.Children.only(n),c=A(r.ref,O(o));return typeof n=="function"||r.isPresent?i.cloneElement(o,{ref:c}):null};M.displayName="Presence";function R(e){const[t,n]=i.useState(),r=i.useRef(null),o=i.useRef(e),c=i.useRef("none"),u=e?"mounted":"unmounted",[s,a]=P(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{const f=h(r.current);c.current=s==="mounted"?f:"none"},[s]),N(()=>{const f=r.current,l=o.current;if(l!==e){const p=c.current,m=h(f);e?a("MOUNT"):m==="none"||f?.display==="none"?a("UNMOUNT"):a(l&&p!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,a]),N(()=>{if(t){let f;const l=t.ownerDocument.defaultView??window,d=m=>{const S=h(r.current).includes(CSS.escape(m.animationName));if(m.target===t&&S&&(a("ANIMATION_END"),!o.current)){const g=t.style.animationFillMode;t.style.animationFillMode="forwards",f=l.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=g)})}},p=m=>{m.target===t&&(c.current=h(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{l.clearTimeout(f),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else a("ANIMATION_END")},[t,a]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:i.useCallback(f=>{r.current=f?getComputedStyle(f):null,n(f)},[])}}function h(e){return e?.animationName||"none"}function O(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}export{M as P,U as a,$ as b,_ as c,N as d,z as e,j as u}; import{r as i,j as x,t as y}from"./app-Ajql0Lt4.js";import{u as A}from"./createLucideIcon-B_iAwCmA.js";function U(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e?.(o),n===!1||!o.defaultPrevented)return t?.(o)}}function z(e,t){const n=i.createContext(t),r=c=>{const{children:u,...s}=c,a=i.useMemo(()=>s,Object.values(s));return x.jsx(n.Provider,{value:a,children:u})};r.displayName=e+"Provider";function o(c){const u=i.useContext(n);if(u)return u;if(t!==void 0)return t;throw new Error(`\`${c}\` must be used within \`${e}\``)}return[r,o]}function _(e,t=[]){let n=[];function r(c,u){const s=i.createContext(u),a=n.length;n=[...n,u];const f=d=>{const{scope:p,children:m,...v}=d,S=p?.[e]?.[a]||s,g=i.useMemo(()=>v,Object.values(v));return x.jsx(S.Provider,{value:g,children:m})};f.displayName=c+"Provider";function l(d,p){const m=p?.[e]?.[a]||s,v=i.useContext(m);if(v)return v;if(u!==void 0)return u;throw new Error(`\`${d}\` must be used within \`${c}\``)}return[f,l]}const o=()=>{const c=n.map(u=>i.createContext(u));return function(s){const a=s?.[e]||c;return i.useMemo(()=>({[`__scope${e}`]:{...s,[e]:a}}),[s,a])}};return o.scopeName=e,[r,E(o,...t)]}function E(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(c){const u=r.reduce((s,{useScope:a,scopeName:f})=>{const d=a(c)[`__scope${f}`];return{...s,...d}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return n.scopeName=t.scopeName,n}var N=globalThis?.document?i.useLayoutEffect:()=>{};function $(e){const[t,n]=i.useState(void 0);return N(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const c=o[0];let u,s;if("borderBoxSize"in c){const a=c.borderBoxSize,f=Array.isArray(a)?a[0]:a;u=f.inlineSize,s=f.blockSize}else u=e.offsetWidth,s=e.offsetHeight;n({width:u,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var b=y[" useInsertionEffect ".trim().toString()]||N;function j({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,c,u]=C({defaultProp:t,onChange:n}),s=e!==void 0,a=s?e:o;{const l=i.useRef(e!==void 0);i.useEffect(()=>{const d=l.current;d!==s&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),l.current=s},[s,r])}const f=i.useCallback(l=>{if(s){const d=w(l)?l(e):l;d!==e&&u.current?.(d)}else c(l)},[s,e,c,u]);return[a,f]}function C({defaultProp:e,onChange:t}){const[n,r]=i.useState(e),o=i.useRef(n),c=i.useRef(t);return b(()=>{c.current=t},[t]),i.useEffect(()=>{o.current!==n&&(c.current?.(n),o.current=n)},[n,o]),[n,r,c]}function w(e){return typeof e=="function"}function P(e,t){return i.useReducer((n,r)=>t[n][r]??n,e)}var M=e=>{const{present:t,children:n}=e,r=R(t),o=typeof n=="function"?n({present:r.isPresent}):i.Children.only(n),c=A(r.ref,O(o));return typeof n=="function"||r.isPresent?i.cloneElement(o,{ref:c}):null};M.displayName="Presence";function R(e){const[t,n]=i.useState(),r=i.useRef(null),o=i.useRef(e),c=i.useRef("none"),u=e?"mounted":"unmounted",[s,a]=P(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{const f=h(r.current);c.current=s==="mounted"?f:"none"},[s]),N(()=>{const f=r.current,l=o.current;if(l!==e){const p=c.current,m=h(f);e?a("MOUNT"):m==="none"||f?.display==="none"?a("UNMOUNT"):a(l&&p!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,a]),N(()=>{if(t){let f;const l=t.ownerDocument.defaultView??window,d=m=>{const S=h(r.current).includes(CSS.escape(m.animationName));if(m.target===t&&S&&(a("ANIMATION_END"),!o.current)){const g=t.style.animationFillMode;t.style.animationFillMode="forwards",f=l.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=g)})}},p=m=>{m.target===t&&(c.current=h(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{l.clearTimeout(f),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else a("ANIMATION_END")},[t,a]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:i.useCallback(f=>{r.current=f?getComputedStyle(f):null,n(f)},[])}}function h(e){return e?.animationName||"none"}function O(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}export{M as P,U as a,$ as b,_ as c,N as d,z as e,j as u};

View File

@@ -1 +1 @@
import{q as a}from"./createLucideIcon-CPpF-2ww.js";const l=e=>({url:l.url(e),method:"post"});l.definition={methods:["post"],url:"/two-factor-challenge"};l.url=e=>l.definition.url+a(e);l.post=e=>({url:l.url(e),method:"post"});const q=e=>({action:l.url(e),method:"post"});q.post=e=>({action:l.url(e),method:"post"});l.form=q;const E={store:Object.assign(l,l)},d=e=>({url:d.url(e),method:"get"});d.definition={methods:["get","head"],url:"/two-factor-challenge"};d.url=e=>d.definition.url+a(e);d.get=e=>({url:d.url(e),method:"get"});d.head=e=>({url:d.url(e),method:"head"});const h=e=>({action:d.url(e),method:"get"});h.get=e=>({action:d.url(e),method:"get"});h.head=e=>({action:d.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});d.form=h;const m=e=>({url:m.url(e),method:"post"});m.definition={methods:["post"],url:"/user/two-factor-authentication"};m.url=e=>m.definition.url+a(e);m.post=e=>({url:m.url(e),method:"post"});const Q=e=>({action:m.url(e),method:"post"});Q.post=e=>({action:m.url(e),method:"post"});m.form=Q;const n=e=>({url:n.url(e),method:"post"});n.definition={methods:["post"],url:"/user/confirmed-two-factor-authentication"};n.url=e=>n.definition.url+a(e);n.post=e=>({url:n.url(e),method:"post"});const p=e=>({action:n.url(e),method:"post"});p.post=e=>({action:n.url(e),method:"post"});n.form=p;const s=e=>({url:s.url(e),method:"delete"});s.definition={methods:["delete"],url:"/user/two-factor-authentication"};s.url=e=>s.definition.url+a(e);s.delete=e=>({url:s.url(e),method:"delete"});const b=e=>({action:s.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"DELETE",...e?.query??e?.mergeQuery??{}}}),method:"post"});b.delete=e=>({action:s.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"DELETE",...e?.query??e?.mergeQuery??{}}}),method:"post"});s.form=b;const r=e=>({url:r.url(e),method:"get"});r.definition={methods:["get","head"],url:"/user/two-factor-qr-code"};r.url=e=>r.definition.url+a(e);r.get=e=>({url:r.url(e),method:"get"});r.head=e=>({url:r.url(e),method:"head"});const c=e=>({action:r.url(e),method:"get"});c.get=e=>({action:r.url(e),method:"get"});c.head=e=>({action:r.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});r.form=c;const t=e=>({url:t.url(e),method:"get"});t.definition={methods:["get","head"],url:"/user/two-factor-secret-key"};t.url=e=>t.definition.url+a(e);t.get=e=>({url:t.url(e),method:"get"});t.head=e=>({url:t.url(e),method:"head"});const g=e=>({action:t.url(e),method:"get"});g.get=e=>({action:t.url(e),method:"get"});g.head=e=>({action:t.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});t.form=g;const o=e=>({url:o.url(e),method:"get"});o.definition={methods:["get","head"],url:"/user/two-factor-recovery-codes"};o.url=e=>o.definition.url+a(e);o.get=e=>({url:o.url(e),method:"get"});o.head=e=>({url:o.url(e),method:"head"});const y=e=>({action:o.url(e),method:"get"});y.get=e=>({action:o.url(e),method:"get"});y.head=e=>({action:o.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});o.form=y;const i=e=>({url:i.url(e),method:"post"});i.definition={methods:["post"],url:"/user/two-factor-recovery-codes"};i.url=e=>i.definition.url+a(e);i.post=e=>({url:i.url(e),method:"post"});const w=e=>({action:i.url(e),method:"post"});w.post=e=>({action:i.url(e),method:"post"});i.form=w;const u=e=>({url:u.url(e),method:"get"});u.definition={methods:["get","head"],url:"/settings/two-factor"};u.url=e=>u.definition.url+a(e);u.get=e=>({url:u.url(e),method:"get"});u.head=e=>({url:u.url(e),method:"head"});const f=e=>({action:u.url(e),method:"get"});f.get=e=>({action:u.url(e),method:"get"});f.head=e=>({action:u.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});u.form=f;Object.assign(d,E),Object.assign(m,m),Object.assign(n,n),Object.assign(s,s),Object.assign(r,r),Object.assign(t,t),Object.assign(o,o),Object.assign(i,i),Object.assign(u,u);export{t as a,u as b,i as c,n as d,s as e,m as f,r as q,o as r,l as s}; import{q as a}from"./createLucideIcon-B_iAwCmA.js";const l=e=>({url:l.url(e),method:"post"});l.definition={methods:["post"],url:"/two-factor-challenge"};l.url=e=>l.definition.url+a(e);l.post=e=>({url:l.url(e),method:"post"});const q=e=>({action:l.url(e),method:"post"});q.post=e=>({action:l.url(e),method:"post"});l.form=q;const E={store:Object.assign(l,l)},d=e=>({url:d.url(e),method:"get"});d.definition={methods:["get","head"],url:"/two-factor-challenge"};d.url=e=>d.definition.url+a(e);d.get=e=>({url:d.url(e),method:"get"});d.head=e=>({url:d.url(e),method:"head"});const h=e=>({action:d.url(e),method:"get"});h.get=e=>({action:d.url(e),method:"get"});h.head=e=>({action:d.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});d.form=h;const m=e=>({url:m.url(e),method:"post"});m.definition={methods:["post"],url:"/user/two-factor-authentication"};m.url=e=>m.definition.url+a(e);m.post=e=>({url:m.url(e),method:"post"});const Q=e=>({action:m.url(e),method:"post"});Q.post=e=>({action:m.url(e),method:"post"});m.form=Q;const n=e=>({url:n.url(e),method:"post"});n.definition={methods:["post"],url:"/user/confirmed-two-factor-authentication"};n.url=e=>n.definition.url+a(e);n.post=e=>({url:n.url(e),method:"post"});const p=e=>({action:n.url(e),method:"post"});p.post=e=>({action:n.url(e),method:"post"});n.form=p;const s=e=>({url:s.url(e),method:"delete"});s.definition={methods:["delete"],url:"/user/two-factor-authentication"};s.url=e=>s.definition.url+a(e);s.delete=e=>({url:s.url(e),method:"delete"});const b=e=>({action:s.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"DELETE",...e?.query??e?.mergeQuery??{}}}),method:"post"});b.delete=e=>({action:s.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"DELETE",...e?.query??e?.mergeQuery??{}}}),method:"post"});s.form=b;const r=e=>({url:r.url(e),method:"get"});r.definition={methods:["get","head"],url:"/user/two-factor-qr-code"};r.url=e=>r.definition.url+a(e);r.get=e=>({url:r.url(e),method:"get"});r.head=e=>({url:r.url(e),method:"head"});const c=e=>({action:r.url(e),method:"get"});c.get=e=>({action:r.url(e),method:"get"});c.head=e=>({action:r.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});r.form=c;const t=e=>({url:t.url(e),method:"get"});t.definition={methods:["get","head"],url:"/user/two-factor-secret-key"};t.url=e=>t.definition.url+a(e);t.get=e=>({url:t.url(e),method:"get"});t.head=e=>({url:t.url(e),method:"head"});const g=e=>({action:t.url(e),method:"get"});g.get=e=>({action:t.url(e),method:"get"});g.head=e=>({action:t.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});t.form=g;const o=e=>({url:o.url(e),method:"get"});o.definition={methods:["get","head"],url:"/user/two-factor-recovery-codes"};o.url=e=>o.definition.url+a(e);o.get=e=>({url:o.url(e),method:"get"});o.head=e=>({url:o.url(e),method:"head"});const y=e=>({action:o.url(e),method:"get"});y.get=e=>({action:o.url(e),method:"get"});y.head=e=>({action:o.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});o.form=y;const i=e=>({url:i.url(e),method:"post"});i.definition={methods:["post"],url:"/user/two-factor-recovery-codes"};i.url=e=>i.definition.url+a(e);i.post=e=>({url:i.url(e),method:"post"});const w=e=>({action:i.url(e),method:"post"});w.post=e=>({action:i.url(e),method:"post"});i.form=w;const u=e=>({url:u.url(e),method:"get"});u.definition={methods:["get","head"],url:"/settings/two-factor"};u.url=e=>u.definition.url+a(e);u.get=e=>({url:u.url(e),method:"get"});u.head=e=>({url:u.url(e),method:"head"});const f=e=>({action:u.url(e),method:"get"});f.get=e=>({action:u.url(e),method:"get"});f.head=e=>({action:u.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});u.form=f;Object.assign(d,E),Object.assign(m,m),Object.assign(n,n),Object.assign(s,s),Object.assign(r,r),Object.assign(t,t),Object.assign(o,o),Object.assign(i,i),Object.assign(u,u);export{t as a,u as b,i as c,n as d,s as e,m as f,r as q,o as r,l as s};

View File

@@ -1,4 +1,4 @@
import{R as Pe,r as zt}from"./app-C6SiEMGn.js";import"./index-B7t1D_co.js";/*! import{R as Pe,r as zt}from"./app-Ajql0Lt4.js";import"./index-em-EQZzp.js";/*!
* FilePondPluginImageExifOrientation 1.0.11 * FilePondPluginImageExifOrientation 1.0.11
* Licensed under MIT, https://opensource.org/licenses/MIT/ * Licensed under MIT, https://opensource.org/licenses/MIT/
* Please visit https://pqina.nl/filepond/ for details. * Please visit https://pqina.nl/filepond/ for details.

View File

@@ -1 +1 @@
import{j as e,H as o,L as l}from"./app-C6SiEMGn.js";import{B as n}from"./createLucideIcon-CPpF-2ww.js";import{T as x,a as m,b as i,c as s,d as h,e as r,P as j,f as p}from"./table-DVbaU0dA.js";import{A as u,d as c}from"./app-layout-B4kweoSW.js";import"./app-6D7Y1jSv.js";import"./sheet-BvPq5L9Z.js";import"./index-FUlYkgbj.js";import"./index-B7t1D_co.js";import"./index-CxjaVpyF.js";import"./app-logo-icon-B_KiS1IV.js";import"./package-DTdg9l_D.js";function B({product:d}){return e.jsxs(u,{breadcrumbs:[{title:"Products",href:c.product.index().url}],children:[e.jsx(o,{title:"Products"}),e.jsxs("section",{className:"flex flex-col gap-8 px-8 py-8",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("h1",{className:"text-xl font-semibold tracking-tight",children:"Products"}),e.jsx(l,{href:c.product.add(),children:e.jsx(n,{className:"cursor-pointer",children:"Add Image"})})]}),e.jsxs(x,{children:[e.jsx(m,{children:e.jsxs(i,{children:[e.jsx(s,{className:"w-[80px]",children:"S.N."}),e.jsx(s,{className:"w-48",children:"Image"}),e.jsx(s,{children:"Title"}),e.jsx(s,{className:"w-24",children:"Type"}),e.jsx(s,{className:"text-right",children:"Action"})]})}),e.jsx(h,{children:d.map((a,t)=>e.jsxs(i,{children:[e.jsx(r,{className:"font-medium",children:t+1}),e.jsx(r,{children:e.jsx("img",{src:a.image_url,alt:a.title,className:"aspect-video w-24 rounded-md object-cover object-center"})}),e.jsx(r,{children:a.title}),e.jsx(r,{children:a.type}),e.jsx(r,{className:"text-right",children:e.jsxs("div",{className:"flex items-center justify-end gap-2",children:[e.jsx(l,{href:"",children:e.jsx(j,{size:18})}),e.jsx(l,{href:"",children:e.jsx(p,{size:18,color:"#D2042D"})})]})})]},t))})]})]})]})}export{B as default}; import{j as e,H as o,L as l}from"./app-Ajql0Lt4.js";import{B as n}from"./createLucideIcon-B_iAwCmA.js";import{T as x,a as m,b as i,c as s,d as h,e as r,P as j,f as p}from"./table-BXShFuwk.js";import{A as u,d as c}from"./app-layout-BTSySP9M.js";import"./app-B4XVefei.js";import"./sheet-iBbRuLZ4.js";import"./index-CS1SDu2T.js";import"./index-em-EQZzp.js";import"./index-UHLdfeKp.js";import"./app-logo-icon-B9D8MR-Y.js";import"./package-CgKP903x.js";function B({product:d}){return e.jsxs(u,{breadcrumbs:[{title:"Products",href:c.product.index().url}],children:[e.jsx(o,{title:"Products"}),e.jsxs("section",{className:"flex flex-col gap-8 px-8 py-8",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("h1",{className:"text-xl font-semibold tracking-tight",children:"Products"}),e.jsx(l,{href:c.product.add(),children:e.jsx(n,{className:"cursor-pointer",children:"Add Image"})})]}),e.jsxs(x,{children:[e.jsx(m,{children:e.jsxs(i,{children:[e.jsx(s,{className:"w-[80px]",children:"S.N."}),e.jsx(s,{className:"w-48",children:"Image"}),e.jsx(s,{children:"Title"}),e.jsx(s,{className:"w-24",children:"Type"}),e.jsx(s,{className:"text-right",children:"Action"})]})}),e.jsx(h,{children:d.map((a,t)=>e.jsxs(i,{children:[e.jsx(r,{className:"font-medium",children:t+1}),e.jsx(r,{children:e.jsx("img",{src:a.image_url,alt:a.title,className:"aspect-video w-24 rounded-md object-cover object-center"})}),e.jsx(r,{children:a.title}),e.jsx(r,{children:a.type}),e.jsx(r,{className:"text-right",children:e.jsxs("div",{className:"flex items-center justify-end gap-2",children:[e.jsx(l,{href:"",children:e.jsx(j,{size:18})}),e.jsx(l,{href:"",children:e.jsx(p,{size:18,color:"#D2042D"})})]})})]},t))})]})]})]})}export{B as default};

View File

@@ -1 +1 @@
import{r as s,j as d}from"./app-C6SiEMGn.js";import{c as H,a as p,u as V}from"./index-FUlYkgbj.js";import{c as z,u as q,a as J,b as Q}from"./sheet-BvPq5L9Z.js";import{u as W}from"./createLucideIcon-CPpF-2ww.js";import{P as G}from"./index-B7t1D_co.js";var _="rovingFocusGroup.onEntryFocus",X={bubbles:!1,cancelable:!0},I="RovingFocusGroup",[y,N,Z]=z(I),[$,me]=H(I,[Z]),[ee,oe]=$(I),O=s.forwardRef((e,r)=>d.jsx(y.Provider,{scope:e.__scopeRovingFocusGroup,children:d.jsx(y.Slot,{scope:e.__scopeRovingFocusGroup,children:d.jsx(te,{...e,ref:r})})}));O.displayName=I;var te=s.forwardRef((e,r)=>{const{__scopeRovingFocusGroup:c,orientation:o,loop:T=!1,dir:w,currentTabStopId:v,defaultCurrentTabStopId:C,onCurrentTabStopIdChange:S,onEntryFocus:m,preventScrollOnEntryFocus:a=!1,...b}=e,F=s.useRef(null),g=W(r,F),R=J(w),[E,t]=V({prop:v,defaultProp:C??null,onChange:S,caller:I}),[i,x]=s.useState(!1),u=Q(m),l=N(c),h=s.useRef(!1),[k,P]=s.useState(0);return s.useEffect(()=>{const n=F.current;if(n)return n.addEventListener(_,u),()=>n.removeEventListener(_,u)},[u]),d.jsx(ee,{scope:c,orientation:o,dir:R,loop:T,currentTabStopId:E,onItemFocus:s.useCallback(n=>t(n),[t]),onItemShiftTab:s.useCallback(()=>x(!0),[]),onFocusableItemAdd:s.useCallback(()=>P(n=>n+1),[]),onFocusableItemRemove:s.useCallback(()=>P(n=>n-1),[]),children:d.jsx(G.div,{tabIndex:i||k===0?-1:0,"data-orientation":o,...b,ref:g,style:{outline:"none",...e.style},onMouseDown:p(e.onMouseDown,()=>{h.current=!0}),onFocus:p(e.onFocus,n=>{const L=!h.current;if(n.target===n.currentTarget&&L&&!i){const D=new CustomEvent(_,X);if(n.currentTarget.dispatchEvent(D),!D.defaultPrevented){const A=l().filter(f=>f.focusable),U=A.find(f=>f.active),B=A.find(f=>f.id===E),Y=[U,B,...A].filter(Boolean).map(f=>f.ref.current);M(Y,a)}}h.current=!1}),onBlur:p(e.onBlur,()=>x(!1))})})}),K="RovingFocusGroupItem",j=s.forwardRef((e,r)=>{const{__scopeRovingFocusGroup:c,focusable:o=!0,active:T=!1,tabStopId:w,children:v,...C}=e,S=q(),m=w||S,a=oe(K,c),b=a.currentTabStopId===m,F=N(c),{onFocusableItemAdd:g,onFocusableItemRemove:R,currentTabStopId:E}=a;return s.useEffect(()=>{if(o)return g(),()=>R()},[o,g,R]),d.jsx(y.ItemSlot,{scope:c,id:m,focusable:o,active:T,children:d.jsx(G.span,{tabIndex:b?0:-1,"data-orientation":a.orientation,...C,ref:r,onMouseDown:p(e.onMouseDown,t=>{o?a.onItemFocus(m):t.preventDefault()}),onFocus:p(e.onFocus,()=>a.onItemFocus(m)),onKeyDown:p(e.onKeyDown,t=>{if(t.key==="Tab"&&t.shiftKey){a.onItemShiftTab();return}if(t.target!==t.currentTarget)return;const i=se(t,a.orientation,a.dir);if(i!==void 0){if(t.metaKey||t.ctrlKey||t.altKey||t.shiftKey)return;t.preventDefault();let u=F().filter(l=>l.focusable).map(l=>l.ref.current);if(i==="last")u.reverse();else if(i==="prev"||i==="next"){i==="prev"&&u.reverse();const l=u.indexOf(t.currentTarget);u=a.loop?ce(u,l+1):u.slice(l+1)}setTimeout(()=>M(u))}}),children:typeof v=="function"?v({isCurrentTabStop:b,hasTabStop:E!=null}):v})})});j.displayName=K;var re={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ne(e,r){return r!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function se(e,r,c){const o=ne(e.key,c);if(!(r==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(r==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return re[o]}function M(e,r=!1){const c=document.activeElement;for(const o of e)if(o===c||(o.focus({preventScroll:r}),document.activeElement!==c))return}function ce(e,r){return e.map((c,o)=>e[(r+o)%e.length])}var pe=O,ve=j;export{ve as I,pe as R,me as c}; import{r as s,j as d}from"./app-Ajql0Lt4.js";import{c as H,a as p,u as V}from"./index-CS1SDu2T.js";import{c as z,u as q,a as J,b as Q}from"./sheet-iBbRuLZ4.js";import{u as W}from"./createLucideIcon-B_iAwCmA.js";import{P as G}from"./index-em-EQZzp.js";var _="rovingFocusGroup.onEntryFocus",X={bubbles:!1,cancelable:!0},I="RovingFocusGroup",[y,N,Z]=z(I),[$,me]=H(I,[Z]),[ee,oe]=$(I),O=s.forwardRef((e,r)=>d.jsx(y.Provider,{scope:e.__scopeRovingFocusGroup,children:d.jsx(y.Slot,{scope:e.__scopeRovingFocusGroup,children:d.jsx(te,{...e,ref:r})})}));O.displayName=I;var te=s.forwardRef((e,r)=>{const{__scopeRovingFocusGroup:c,orientation:o,loop:T=!1,dir:w,currentTabStopId:v,defaultCurrentTabStopId:C,onCurrentTabStopIdChange:S,onEntryFocus:m,preventScrollOnEntryFocus:a=!1,...b}=e,F=s.useRef(null),g=W(r,F),R=J(w),[E,t]=V({prop:v,defaultProp:C??null,onChange:S,caller:I}),[i,x]=s.useState(!1),u=Q(m),l=N(c),h=s.useRef(!1),[k,P]=s.useState(0);return s.useEffect(()=>{const n=F.current;if(n)return n.addEventListener(_,u),()=>n.removeEventListener(_,u)},[u]),d.jsx(ee,{scope:c,orientation:o,dir:R,loop:T,currentTabStopId:E,onItemFocus:s.useCallback(n=>t(n),[t]),onItemShiftTab:s.useCallback(()=>x(!0),[]),onFocusableItemAdd:s.useCallback(()=>P(n=>n+1),[]),onFocusableItemRemove:s.useCallback(()=>P(n=>n-1),[]),children:d.jsx(G.div,{tabIndex:i||k===0?-1:0,"data-orientation":o,...b,ref:g,style:{outline:"none",...e.style},onMouseDown:p(e.onMouseDown,()=>{h.current=!0}),onFocus:p(e.onFocus,n=>{const L=!h.current;if(n.target===n.currentTarget&&L&&!i){const D=new CustomEvent(_,X);if(n.currentTarget.dispatchEvent(D),!D.defaultPrevented){const A=l().filter(f=>f.focusable),U=A.find(f=>f.active),B=A.find(f=>f.id===E),Y=[U,B,...A].filter(Boolean).map(f=>f.ref.current);M(Y,a)}}h.current=!1}),onBlur:p(e.onBlur,()=>x(!1))})})}),K="RovingFocusGroupItem",j=s.forwardRef((e,r)=>{const{__scopeRovingFocusGroup:c,focusable:o=!0,active:T=!1,tabStopId:w,children:v,...C}=e,S=q(),m=w||S,a=oe(K,c),b=a.currentTabStopId===m,F=N(c),{onFocusableItemAdd:g,onFocusableItemRemove:R,currentTabStopId:E}=a;return s.useEffect(()=>{if(o)return g(),()=>R()},[o,g,R]),d.jsx(y.ItemSlot,{scope:c,id:m,focusable:o,active:T,children:d.jsx(G.span,{tabIndex:b?0:-1,"data-orientation":a.orientation,...C,ref:r,onMouseDown:p(e.onMouseDown,t=>{o?a.onItemFocus(m):t.preventDefault()}),onFocus:p(e.onFocus,()=>a.onItemFocus(m)),onKeyDown:p(e.onKeyDown,t=>{if(t.key==="Tab"&&t.shiftKey){a.onItemShiftTab();return}if(t.target!==t.currentTarget)return;const i=se(t,a.orientation,a.dir);if(i!==void 0){if(t.metaKey||t.ctrlKey||t.altKey||t.shiftKey)return;t.preventDefault();let u=F().filter(l=>l.focusable).map(l=>l.ref.current);if(i==="last")u.reverse();else if(i==="prev"||i==="next"){i==="prev"&&u.reverse();const l=u.indexOf(t.currentTarget);u=a.loop?ce(u,l+1):u.slice(l+1)}setTimeout(()=>M(u))}}),children:typeof v=="function"?v({isCurrentTabStop:b,hasTabStop:E!=null}):v})})});j.displayName=K;var re={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ne(e,r){return r!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function se(e,r,c){const o=ne(e.key,c);if(!(r==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(r==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return re[o]}function M(e,r=!1){const c=document.activeElement;for(const o of e)if(o===c||(o.focus({preventScroll:r}),document.activeElement!==c))return}function ce(e,r){return e.map((c,o)=>e[(r+o)%e.length])}var pe=O,ve=j;export{ve as I,pe as R,me as c};

View File

@@ -1 +1 @@
import{a as p,g as u,r as f,j as l}from"./app-C6SiEMGn.js";import{e as v}from"./createLucideIcon-CPpF-2ww.js";var e=p();const h=u(e);var d=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],D=d.reduce((r,t)=>{const s=v(`Primitive.${t}`),i=f.forwardRef((o,a)=>{const{asChild:m,...n}=o,c=m?s:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(c,{...n,ref:a})});return i.displayName=`Primitive.${t}`,{...r,[t]:i}},{});function w(r,t){r&&e.flushSync(()=>r.dispatchEvent(t))}export{D as P,h as R,w as d,e as r}; import{a as p,g as u,r as f,j as l}from"./app-Ajql0Lt4.js";import{e as v}from"./createLucideIcon-B_iAwCmA.js";var e=p();const h=u(e);var d=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],D=d.reduce((r,t)=>{const s=v(`Primitive.${t}`),i=f.forwardRef((o,a)=>{const{asChild:m,...n}=o,c=m?s:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(c,{...n,ref:a})});return i.displayName=`Primitive.${t}`,{...r,[t]:i}},{});function w(r,t){r&&e.flushSync(()=>r.dispatchEvent(t))}export{D as P,h as R,w as d,e as r};

View File

@@ -1 +1 @@
import{j as t}from"./app-C6SiEMGn.js";import{c as n}from"./createLucideIcon-CPpF-2ww.js";function a({className:e,type:i,...r}){return t.jsx("input",{type:i,"data-slot":"input",className:n("border-input file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e),...r})}export{a as I}; import{j as t}from"./app-Ajql0Lt4.js";import{c as n}from"./createLucideIcon-B_iAwCmA.js";function a({className:e,type:i,...r}){return t.jsx("input",{type:i,"data-slot":"input",className:n("border-input file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e),...r})}export{a as I};

View File

@@ -1 +0,0 @@
import{j as n}from"./app-C6SiEMGn.js";import{c as o}from"./createLucideIcon-CPpF-2ww.js";function m({message:r,className:t="",...e}){return r?n.jsx("p",{...e,className:o("text-sm text-red-600 dark:text-red-400",t),children:r}):null}export{m as I};

View File

@@ -0,0 +1 @@
import{j as n}from"./app-Ajql0Lt4.js";import{c as o}from"./createLucideIcon-B_iAwCmA.js";function m({message:r,className:t="",...e}){return r?n.jsx("p",{...e,className:o("text-sm text-red-600 dark:text-red-400",t),children:r}):null}export{m as I};

View File

@@ -1 +1 @@
import{r as s,j as r}from"./app-C6SiEMGn.js";import{P as l}from"./index-B7t1D_co.js";import{c as n}from"./createLucideIcon-CPpF-2ww.js";var i="Label",o=s.forwardRef((t,a)=>r.jsx(l.label,{...t,ref:a,onMouseDown:e=>{e.target.closest("button, input, select, textarea")||(t.onMouseDown?.(e),!e.defaultPrevented&&e.detail>1&&e.preventDefault())}}));o.displayName=i;var d=o;function f({className:t,...a}){return r.jsx(d,{"data-slot":"label",className:n("text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",t),...a})}export{f as L}; import{r as s,j as r}from"./app-Ajql0Lt4.js";import{P as l}from"./index-em-EQZzp.js";import{c as n}from"./createLucideIcon-B_iAwCmA.js";var i="Label",o=s.forwardRef((t,a)=>r.jsx(l.label,{...t,ref:a,onMouseDown:e=>{e.target.closest("button, input, select, textarea")||(t.onMouseDown?.(e),!e.defaultPrevented&&e.detail>1&&e.preventDefault())}}));o.displayName=i;var d=o;function f({className:t,...a}){return r.jsx(d,{"data-slot":"label",className:n("text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",t),...a})}export{f as L};

View File

@@ -1 +1 @@
import{r as m,j as t,L as f}from"./app-C6SiEMGn.js";import{c,q as x,B as p}from"./createLucideIcon-CPpF-2ww.js";import{P as g}from"./index-B7t1D_co.js";import{e as j}from"./index-CaEroahx.js";import{e as N}from"./app-layout-B4kweoSW.js";import{b as v}from"./index-BrphWuSj.js";var w="Separator",l="horizontal",y=["horizontal","vertical"],d=m.forwardRef((e,o)=>{const{decorative:a,orientation:n=l,...u}=e,i=b(n)?n:l,h=a?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return t.jsx(g.div,{"data-orientation":i,...h,...u,ref:o})});d.displayName=w;function b(e){return y.includes(e)}var P=d;function O({className:e,orientation:o="horizontal",decorative:a=!0,...n}){return t.jsx(P,{"data-slot":"separator-root",decorative:a,orientation:o,className:c("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",e),...n})}function H({title:e,description:o}){return t.jsxs("header",{children:[t.jsx("h3",{className:"mb-0.5 text-base font-medium",children:e}),o&&t.jsx("p",{className:"text-sm text-muted-foreground",children:o})]})}function S({title:e,description:o}){return t.jsxs("div",{className:"mb-8 space-y-0.5",children:[t.jsx("h2",{className:"text-xl font-semibold tracking-tight",children:e}),o&&t.jsx("p",{className:"text-sm text-muted-foreground",children:o})]})}const r=e=>({url:r.url(e),method:"get"});r.definition={methods:["get","head"],url:"/settings/appearance"};r.url=e=>r.definition.url+x(e);r.get=e=>({url:r.url(e),method:"get"});r.head=e=>({url:r.url(e),method:"head"});const s=e=>({action:r.url(e),method:"get"});s.get=e=>({action:r.url(e),method:"get"});s.head=e=>({action:r.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});r.form=s;Object.assign(r,r);const A=[{title:"Profile",href:N(),icon:null},{title:"Password",href:j(),icon:null},{title:"Two-Factor Auth",href:v(),icon:null},{title:"Appearance",href:r(),icon:null}];function L({children:e}){if(typeof window>"u")return null;const o=window.location.pathname;return t.jsxs("div",{className:"px-4 py-6",children:[t.jsx(S,{title:"Settings",description:"Manage your profile and account settings"}),t.jsxs("div",{className:"flex flex-col lg:flex-row lg:space-x-12",children:[t.jsx("aside",{className:"w-full max-w-xl lg:w-48",children:t.jsx("nav",{className:"flex flex-col space-y-1 space-x-0",children:A.map((a,n)=>t.jsx(p,{size:"sm",variant:"ghost",asChild:!0,className:c("w-full justify-start",{"bg-muted":o===(typeof a.href=="string"?a.href:a.href.url)}),children:t.jsxs(f,{href:a.href,children:[a.icon&&t.jsx(a.icon,{className:"h-4 w-4"}),a.title]})},`${typeof a.href=="string"?a.href:a.href.url}-${n}`))})}),t.jsx(O,{className:"my-6 lg:hidden"}),t.jsx("div",{className:"flex-1 md:max-w-2xl",children:t.jsx("section",{className:"max-w-xl space-y-12",children:e})})]})]})}export{H,L as S,r as e}; import{r as m,j as t,L as f}from"./app-Ajql0Lt4.js";import{c,q as x,B as p}from"./createLucideIcon-B_iAwCmA.js";import{P as g}from"./index-em-EQZzp.js";import{e as j}from"./index-BPJbFReo.js";import{e as N}from"./app-layout-BTSySP9M.js";import{b as v}from"./index-D6lErTwd.js";var w="Separator",l="horizontal",y=["horizontal","vertical"],d=m.forwardRef((e,o)=>{const{decorative:a,orientation:n=l,...u}=e,i=b(n)?n:l,h=a?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return t.jsx(g.div,{"data-orientation":i,...h,...u,ref:o})});d.displayName=w;function b(e){return y.includes(e)}var P=d;function O({className:e,orientation:o="horizontal",decorative:a=!0,...n}){return t.jsx(P,{"data-slot":"separator-root",decorative:a,orientation:o,className:c("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",e),...n})}function H({title:e,description:o}){return t.jsxs("header",{children:[t.jsx("h3",{className:"mb-0.5 text-base font-medium",children:e}),o&&t.jsx("p",{className:"text-sm text-muted-foreground",children:o})]})}function S({title:e,description:o}){return t.jsxs("div",{className:"mb-8 space-y-0.5",children:[t.jsx("h2",{className:"text-xl font-semibold tracking-tight",children:e}),o&&t.jsx("p",{className:"text-sm text-muted-foreground",children:o})]})}const r=e=>({url:r.url(e),method:"get"});r.definition={methods:["get","head"],url:"/settings/appearance"};r.url=e=>r.definition.url+x(e);r.get=e=>({url:r.url(e),method:"get"});r.head=e=>({url:r.url(e),method:"head"});const s=e=>({action:r.url(e),method:"get"});s.get=e=>({action:r.url(e),method:"get"});s.head=e=>({action:r.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});r.form=s;Object.assign(r,r);const A=[{title:"Profile",href:N(),icon:null},{title:"Password",href:j(),icon:null},{title:"Two-Factor Auth",href:v(),icon:null},{title:"Appearance",href:r(),icon:null}];function L({children:e}){if(typeof window>"u")return null;const o=window.location.pathname;return t.jsxs("div",{className:"px-4 py-6",children:[t.jsx(S,{title:"Settings",description:"Manage your profile and account settings"}),t.jsxs("div",{className:"flex flex-col lg:flex-row lg:space-x-12",children:[t.jsx("aside",{className:"w-full max-w-xl lg:w-48",children:t.jsx("nav",{className:"flex flex-col space-y-1 space-x-0",children:A.map((a,n)=>t.jsx(p,{size:"sm",variant:"ghost",asChild:!0,className:c("w-full justify-start",{"bg-muted":o===(typeof a.href=="string"?a.href:a.href.url)}),children:t.jsxs(f,{href:a.href,children:[a.icon&&t.jsx(a.icon,{className:"h-4 w-4"}),a.title]})},`${typeof a.href=="string"?a.href:a.href.url}-${n}`))})}),t.jsx(O,{className:"my-6 lg:hidden"}),t.jsx("div",{className:"flex-1 md:max-w-2xl",children:t.jsx("section",{className:"max-w-xl space-y-12",children:e})})]})]})}export{H,L as S,r as e};

View File

@@ -1,4 +1,4 @@
import{b as N,r as w,j as e,L as t,d as S}from"./app-C6SiEMGn.js";import{q as M,a as o,h as d,f as m,g as f,i as j,j as h,B as _,k as g}from"./createLucideIcon-CPpF-2ww.js";import{I as C}from"./input-DYhKGVpQ.js";import{L}from"./label-BB9HLxkE.js";import{S as q,a as F,b as I,c as P,e as T,d as v}from"./select-BuGuwdXt.js";import{S as z,o as $,p as A,q as B,r as E}from"./sheet-BvPq5L9Z.js";const l=s=>({url:l.url(s),method:"get"});l.definition={methods:["get","head"],url:"/product"};l.url=s=>l.definition.url+M(s);l.get=s=>({url:l.url(s),method:"get"});l.head=s=>({url:l.url(s),method:"head"});const p=s=>({action:l.url(s),method:"get"});p.get=s=>({action:l.url(s),method:"get"});p.head=s=>({action:l.url({[s?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...s?.query??s?.mergeQuery??{}}}),method:"get"});l.form=p;const u={product:Object.assign(l,l)};function R(s,r,a={}){if(!s)return console.warn("No translations provided"),r;const n=r.split(".");let i=s;for(const x of n)if(i&&typeof i=="object"&&x in i)i=i[x];else return console.warn(`Translation key not found: ${r}`),r;if(typeof i!="string")return r;let c=i;return Object.entries(a).forEach(([x,k])=>{c=c.replace(new RegExp(`:${x}`,"g"),k)}),c}function y(){const{translations:s}=N().props;return{t:(a,n={})=>R(s,a,n),translations:s}}function D(){const{locale:s}=N().props;return s}const H="/build/assets/ns-CsWIdWF7.gif",Q="/build/assets/oko-BkZT_kDH.gif",b="/build/assets/soorya-Ci0dhsli.png",O="#0866FF",W=w.forwardRef(function({title:r="Facebook",color:a="currentColor",size:n=24,...i},c){return a==="default"&&(a=O),e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,fill:a,viewBox:"0 0 24 24",ref:c,...i,children:[e.jsx("title",{children:r}),e.jsx("path",{d:"M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z"})]})}),V="#FF0069",Z=w.forwardRef(function({title:r="Instagram",color:a="currentColor",size:n=24,...i},c){return a==="default"&&(a=V),e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,fill:a,viewBox:"0 0 24 24",ref:c,...i,children:[e.jsx("title",{children:r}),e.jsx("path",{d:"M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077"})]})});/** import{c as N,r as w,j as e,L as t,d as S}from"./app-Ajql0Lt4.js";import{q as M,a as o,h as d,f as m,g as f,i as j,j as h,B as _,k as g}from"./createLucideIcon-B_iAwCmA.js";import{I as C}from"./input-B0_NTiRR.js";import{L}from"./label-D8DO87nw.js";import{S as q,a as F,b as I,c as P,e as T,d as v}from"./select-TKsTtRMn.js";import{S as z,o as $,p as A,q as B,r as E}from"./sheet-iBbRuLZ4.js";const l=s=>({url:l.url(s),method:"get"});l.definition={methods:["get","head"],url:"/product"};l.url=s=>l.definition.url+M(s);l.get=s=>({url:l.url(s),method:"get"});l.head=s=>({url:l.url(s),method:"head"});const p=s=>({action:l.url(s),method:"get"});p.get=s=>({action:l.url(s),method:"get"});p.head=s=>({action:l.url({[s?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...s?.query??s?.mergeQuery??{}}}),method:"get"});l.form=p;const u={product:Object.assign(l,l)};function R(s,r,a={}){if(!s)return console.warn("No translations provided"),r;const n=r.split(".");let i=s;for(const x of n)if(i&&typeof i=="object"&&x in i)i=i[x];else return console.warn(`Translation key not found: ${r}`),r;if(typeof i!="string")return r;let c=i;return Object.entries(a).forEach(([x,k])=>{c=c.replace(new RegExp(`:${x}`,"g"),k)}),c}function y(){const{translations:s}=N().props;return{t:(a,n={})=>R(s,a,n),translations:s}}function D(){const{locale:s}=N().props;return s}const H="/build/assets/ns-CsWIdWF7.gif",Q="/build/assets/oko-BkZT_kDH.gif",b="/build/assets/soorya-Ci0dhsli.png",O="#0866FF",W=w.forwardRef(function({title:r="Facebook",color:a="currentColor",size:n=24,...i},c){return a==="default"&&(a=O),e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,fill:a,viewBox:"0 0 24 24",ref:c,...i,children:[e.jsx("title",{children:r}),e.jsx("path",{d:"M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z"})]})}),V="#FF0069",Z=w.forwardRef(function({title:r="Instagram",color:a="currentColor",size:n=24,...i},c){return a==="default"&&(a=V),e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,fill:a,viewBox:"0 0 24 24",ref:c,...i,children:[e.jsx("title",{children:r}),e.jsx("path",{d:"M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077"})]})});/**
* @license lucide-react v0.475.0 - ISC * @license lucide-react v0.475.0 - ISC
* *
* This source code is licensed under the ISC license. * This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{a as e}from"./createLucideIcon-CPpF-2ww.js";/** import{a as e}from"./createLucideIcon-B_iAwCmA.js";/**
* @license lucide-react v0.475.0 - ISC * @license lucide-react v0.475.0 - ISC
* *
* This source code is licensed under the ISC license. * This source code is licensed under the ISC license.

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
import{a}from"./createLucideIcon-CPpF-2ww.js";/** import{a}from"./createLucideIcon-B_iAwCmA.js";/**
* @license lucide-react v0.475.0 - ISC * @license lucide-react v0.475.0 - ISC
* *
* This source code is licensed under the ISC license. * This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{a as c}from"./createLucideIcon-CPpF-2ww.js";/** import{a as c}from"./createLucideIcon-B_iAwCmA.js";/**
* @license lucide-react v0.475.0 - ISC * @license lucide-react v0.475.0 - ISC
* *
* This source code is licensed under the ISC license. * This source code is licensed under the ISC license.

View File

@@ -1 +1 @@
import{r as m,j as e,H as h,F as f}from"./app-C6SiEMGn.js";import{q as l,B as g}from"./createLucideIcon-CPpF-2ww.js";import{I as a}from"./input-error-DHxzqysv.js";import{A as x}from"./app-layout-B4kweoSW.js";import{S as y,H as j}from"./layout-C1UmCZPc.js";import{I as d}from"./input-DYhKGVpQ.js";import{L as n}from"./label-BB9HLxkE.js";import{e as _}from"./index-CaEroahx.js";import{z as N}from"./transition-DErrJhEy.js";import"./app-6D7Y1jSv.js";import"./sheet-BvPq5L9Z.js";import"./index-FUlYkgbj.js";import"./index-B7t1D_co.js";import"./index-CxjaVpyF.js";import"./app-logo-icon-B_KiS1IV.js";import"./package-DTdg9l_D.js";import"./index-BrphWuSj.js";import"./index-81wdD626.js";const s=r=>({url:s.url(r),method:"get"});s.definition={methods:["get","head"],url:"/settings/password"};s.url=r=>s.definition.url+l(r);s.get=r=>({url:s.url(r),method:"get"});s.head=r=>({url:s.url(r),method:"head"});const u=r=>({action:s.url(r),method:"get"});u.get=r=>({action:s.url(r),method:"get"});u.head=r=>({action:s.url({[r?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...r?.query??r?.mergeQuery??{}}}),method:"get"});s.form=u;const t=r=>({url:t.url(r),method:"put"});t.definition={methods:["put"],url:"/settings/password"};t.url=r=>t.definition.url+l(r);t.put=r=>({url:t.url(r),method:"put"});const p=r=>({action:t.url({[r?.mergeQuery?"mergeQuery":"query"]:{_method:"PUT",...r?.query??r?.mergeQuery??{}}}),method:"post"});p.put=r=>({action:t.url({[r?.mergeQuery?"mergeQuery":"query"]:{_method:"PUT",...r?.query??r?.mergeQuery??{}}}),method:"post"});t.form=p;const v={update:t},F=[{title:"Password settings",href:_().url}];function D(){const r=m.useRef(null),i=m.useRef(null);return e.jsxs(x,{breadcrumbs:F,children:[e.jsx(h,{title:"Password settings"}),e.jsx(y,{children:e.jsxs("div",{className:"space-y-6",children:[e.jsx(j,{title:"Update password",description:"Ensure your account is using a long, random password to stay secure"}),e.jsx(f,{...v.update.form(),options:{preserveScroll:!0},resetOnError:["password","password_confirmation","current_password"],resetOnSuccess:!0,onError:o=>{o.password&&r.current?.focus(),o.current_password&&i.current?.focus()},className:"space-y-6",children:({errors:o,processing:c,recentlySuccessful:w})=>e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"grid gap-2",children:[e.jsx(n,{htmlFor:"current_password",children:"Current password"}),e.jsx(d,{id:"current_password",ref:i,name:"current_password",type:"password",className:"mt-1 block w-full",autoComplete:"current-password",placeholder:"Current password"}),e.jsx(a,{message:o.current_password})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(n,{htmlFor:"password",children:"New password"}),e.jsx(d,{id:"password",ref:r,name:"password",type:"password",className:"mt-1 block w-full",autoComplete:"new-password",placeholder:"New password"}),e.jsx(a,{message:o.password})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(n,{htmlFor:"password_confirmation",children:"Confirm password"}),e.jsx(d,{id:"password_confirmation",name:"password_confirmation",type:"password",className:"mt-1 block w-full",autoComplete:"new-password",placeholder:"Confirm password"}),e.jsx(a,{message:o.password_confirmation})]}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx(g,{disabled:c,"data-test":"update-password-button",children:"Save password"}),e.jsx(N,{show:w,enter:"transition ease-in-out",enterFrom:"opacity-0",leave:"transition ease-in-out",leaveTo:"opacity-0",children:e.jsx("p",{className:"text-sm text-neutral-600",children:"Saved"})})]})]})})]})})]})}export{D as default}; import{r as m,j as e,H as h,F as f}from"./app-Ajql0Lt4.js";import{q as l,B as g}from"./createLucideIcon-B_iAwCmA.js";import{I as a}from"./input-error-Drp3HhtP.js";import{A as x}from"./app-layout-BTSySP9M.js";import{S as y,H as j}from"./layout-B-QAbSfv.js";import{I as d}from"./input-B0_NTiRR.js";import{L as n}from"./label-D8DO87nw.js";import{e as _}from"./index-BPJbFReo.js";import{z as N}from"./transition-JffmAkBI.js";import"./app-B4XVefei.js";import"./sheet-iBbRuLZ4.js";import"./index-CS1SDu2T.js";import"./index-em-EQZzp.js";import"./index-UHLdfeKp.js";import"./app-logo-icon-B9D8MR-Y.js";import"./package-CgKP903x.js";import"./index-D6lErTwd.js";import"./index-B6hfytYC.js";const s=r=>({url:s.url(r),method:"get"});s.definition={methods:["get","head"],url:"/settings/password"};s.url=r=>s.definition.url+l(r);s.get=r=>({url:s.url(r),method:"get"});s.head=r=>({url:s.url(r),method:"head"});const u=r=>({action:s.url(r),method:"get"});u.get=r=>({action:s.url(r),method:"get"});u.head=r=>({action:s.url({[r?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...r?.query??r?.mergeQuery??{}}}),method:"get"});s.form=u;const t=r=>({url:t.url(r),method:"put"});t.definition={methods:["put"],url:"/settings/password"};t.url=r=>t.definition.url+l(r);t.put=r=>({url:t.url(r),method:"put"});const p=r=>({action:t.url({[r?.mergeQuery?"mergeQuery":"query"]:{_method:"PUT",...r?.query??r?.mergeQuery??{}}}),method:"post"});p.put=r=>({action:t.url({[r?.mergeQuery?"mergeQuery":"query"]:{_method:"PUT",...r?.query??r?.mergeQuery??{}}}),method:"post"});t.form=p;const v={update:t},F=[{title:"Password settings",href:_().url}];function D(){const r=m.useRef(null),i=m.useRef(null);return e.jsxs(x,{breadcrumbs:F,children:[e.jsx(h,{title:"Password settings"}),e.jsx(y,{children:e.jsxs("div",{className:"space-y-6",children:[e.jsx(j,{title:"Update password",description:"Ensure your account is using a long, random password to stay secure"}),e.jsx(f,{...v.update.form(),options:{preserveScroll:!0},resetOnError:["password","password_confirmation","current_password"],resetOnSuccess:!0,onError:o=>{o.password&&r.current?.focus(),o.current_password&&i.current?.focus()},className:"space-y-6",children:({errors:o,processing:c,recentlySuccessful:w})=>e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"grid gap-2",children:[e.jsx(n,{htmlFor:"current_password",children:"Current password"}),e.jsx(d,{id:"current_password",ref:i,name:"current_password",type:"password",className:"mt-1 block w-full",autoComplete:"current-password",placeholder:"Current password"}),e.jsx(a,{message:o.current_password})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(n,{htmlFor:"password",children:"New password"}),e.jsx(d,{id:"password",ref:r,name:"password",type:"password",className:"mt-1 block w-full",autoComplete:"new-password",placeholder:"New password"}),e.jsx(a,{message:o.password})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(n,{htmlFor:"password_confirmation",children:"Confirm password"}),e.jsx(d,{id:"password_confirmation",name:"password_confirmation",type:"password",className:"mt-1 block w-full",autoComplete:"new-password",placeholder:"Confirm password"}),e.jsx(a,{message:o.password_confirmation})]}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx(g,{disabled:c,"data-test":"update-password-button",children:"Save password"}),e.jsx(N,{show:w,enter:"transition ease-in-out",enterFrom:"opacity-0",leave:"transition ease-in-out",leaveTo:"opacity-0",children:e.jsx("p",{className:"text-sm text-neutral-600",children:"Saved"})})]})]})})]})})]})}export{D as default};

View File

@@ -1 +1 @@
import{j as a,H as l}from"./app-C6SiEMGn.js";import{T as o,a as m,b as i,c}from"./tabs-0s913y8g.js";import{u as d,L as n}from"./layout-DermKrDq.js";import"./app-6D7Y1jSv.js";import"./index-FUlYkgbj.js";import"./createLucideIcon-CPpF-2ww.js";import"./index-CxjaVpyF.js";import"./sheet-BvPq5L9Z.js";import"./index-B7t1D_co.js";import"./input-DYhKGVpQ.js";import"./label-BB9HLxkE.js";import"./select-BuGuwdXt.js";import"./index-ChxR6kRZ.js";import"./check-DEcJAs2N.js";function L({product:r}){const{t:e}=d();return a.jsx(a.Fragment,{children:a.jsxs(n,{children:[a.jsx(l,{title:"Our Products"}),a.jsxs("section",{className:"mx-auto flex max-w-screen-2xl flex-col gap-8 px-12 py-8",children:[a.jsx("h1",{className:"font-serif text-5xl font-medium tracking-tight",children:e("pages.product.sections.first.title")}),a.jsxs(o,{defaultValue:"traditional",className:"flex flex-col gap-8",children:[a.jsxs(m,{className:"flex items-center gap-4 bg-transparent",children:[a.jsx(i,{value:"traditional",className:"!h-auto cursor-pointer px-4 py-2 data-[state=active]:bg-primary data-[state=active]:text-white",children:e("pages.product.sections.first.tab1")}),a.jsx(i,{value:"modern",className:"!h-auto cursor-pointer px-4 py-2 data-[state=active]:bg-primary data-[state=active]:text-white",children:e("pages.product.sections.first.tab2")}),a.jsx(i,{value:"abstract",className:"!h-auto cursor-pointer px-4 py-2 data-[state=active]:bg-primary data-[state=active]:text-white",children:e("pages.product.sections.first.tab3")})]}),a.jsx(c,{value:"traditional",children:a.jsx("div",{className:"grid grid-cols-4 gap-6 max-md:grid-cols-3 max-sm:grid-cols-2 max-sm:gap-4",children:r.map((t,s)=>t.type==="traditional"?a.jsx("img",{src:t.image_url,alt:t.title,className:"aspect-video rounded-md object-cover object-center"},s):null)})}),a.jsx(c,{value:"modern",children:a.jsx("div",{className:"grid grid-cols-4 gap-6 max-md:grid-cols-3 max-sm:grid-cols-2 max-sm:gap-4",children:r.map((t,s)=>t.type==="modern"?a.jsx("img",{src:t.image_url,alt:t.title,className:"aspect-video rounded-md object-cover object-center"},s):null)})}),a.jsx(c,{value:"abstract",children:a.jsx("div",{className:"grid grid-cols-4 gap-6 max-md:grid-cols-3 max-sm:grid-cols-2 max-sm:gap-4",children:r.map((t,s)=>t.type==="abstract"?a.jsx("img",{src:t.image_url,alt:t.title,className:"aspect-video rounded-md object-cover object-center"},s):null)})})]})]}),a.jsxs("section",{className:"mx-auto flex max-w-screen-2xl flex-col gap-8 px-12 py-8 max-md:px-8",children:[a.jsxs("div",{className:"flex flex-col gap-2",children:[a.jsx("h2",{className:"font-serif text-3xl font-medium tracking-tight",children:e("pages.product.sections.second.title")}),a.jsx("p",{className:"text-gray-500",children:e("pages.product.sections.second.desc")})]}),a.jsx("div",{className:"grid grid-cols-4 gap-6 max-md:grid-cols-3 max-sm:grid-cols-2 max-sm:gap-4",children:r.map((t,s)=>t.type==="art"?a.jsx("img",{src:t.image_url,alt:t.title,className:"aspect-video rounded-md object-cover object-center"},s):null)})]})]})})}export{L as default}; import{j as a,H as l}from"./app-Ajql0Lt4.js";import{T as o,a as m,b as i,c}from"./tabs-bUCXsWTP.js";import{u as d,L as n}from"./layout-B_zVioYG.js";import"./app-B4XVefei.js";import"./index-CS1SDu2T.js";import"./createLucideIcon-B_iAwCmA.js";import"./index-UHLdfeKp.js";import"./sheet-iBbRuLZ4.js";import"./index-em-EQZzp.js";import"./input-B0_NTiRR.js";import"./label-D8DO87nw.js";import"./select-TKsTtRMn.js";import"./index-BXKH1Xq5.js";import"./check-D1N7nvmG.js";function L({product:r}){const{t:e}=d();return a.jsx(a.Fragment,{children:a.jsxs(n,{children:[a.jsx(l,{title:"Our Products"}),a.jsxs("section",{className:"mx-auto flex max-w-screen-2xl flex-col gap-8 px-12 py-8",children:[a.jsx("h1",{className:"font-serif text-5xl font-medium tracking-tight",children:e("pages.product.sections.first.title")}),a.jsxs(o,{defaultValue:"traditional",className:"flex flex-col gap-8",children:[a.jsxs(m,{className:"flex items-center gap-4 bg-transparent",children:[a.jsx(i,{value:"traditional",className:"!h-auto cursor-pointer px-4 py-2 data-[state=active]:bg-primary data-[state=active]:text-white",children:e("pages.product.sections.first.tab1")}),a.jsx(i,{value:"modern",className:"!h-auto cursor-pointer px-4 py-2 data-[state=active]:bg-primary data-[state=active]:text-white",children:e("pages.product.sections.first.tab2")}),a.jsx(i,{value:"abstract",className:"!h-auto cursor-pointer px-4 py-2 data-[state=active]:bg-primary data-[state=active]:text-white",children:e("pages.product.sections.first.tab3")})]}),a.jsx(c,{value:"traditional",children:a.jsx("div",{className:"grid grid-cols-4 gap-6 max-md:grid-cols-3 max-sm:grid-cols-2 max-sm:gap-4",children:r.map((t,s)=>t.type==="traditional"?a.jsx("img",{src:t.image_url,alt:t.title,className:"aspect-video rounded-md object-cover object-center"},s):null)})}),a.jsx(c,{value:"modern",children:a.jsx("div",{className:"grid grid-cols-4 gap-6 max-md:grid-cols-3 max-sm:grid-cols-2 max-sm:gap-4",children:r.map((t,s)=>t.type==="modern"?a.jsx("img",{src:t.image_url,alt:t.title,className:"aspect-video rounded-md object-cover object-center"},s):null)})}),a.jsx(c,{value:"abstract",children:a.jsx("div",{className:"grid grid-cols-4 gap-6 max-md:grid-cols-3 max-sm:grid-cols-2 max-sm:gap-4",children:r.map((t,s)=>t.type==="abstract"?a.jsx("img",{src:t.image_url,alt:t.title,className:"aspect-video rounded-md object-cover object-center"},s):null)})})]})]}),a.jsxs("section",{className:"mx-auto flex max-w-screen-2xl flex-col gap-8 px-12 py-8 max-md:px-8",children:[a.jsxs("div",{className:"flex flex-col gap-2",children:[a.jsx("h2",{className:"font-serif text-3xl font-medium tracking-tight",children:e("pages.product.sections.second.title")}),a.jsx("p",{className:"text-gray-500",children:e("pages.product.sections.second.desc")})]}),a.jsx("div",{className:"grid grid-cols-4 gap-6 max-md:grid-cols-3 max-sm:grid-cols-2 max-sm:gap-4",children:r.map((t,s)=>t.type==="art"?a.jsx("img",{src:t.image_url,alt:t.title,className:"aspect-video rounded-md object-cover object-center"},s):null)})]})]})})}export{L as default};

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{j as r,H as u,F as c}from"./app-C6SiEMGn.js";import{q as l,B as p,l as h}from"./createLucideIcon-CPpF-2ww.js";import{I as o}from"./input-error-DHxzqysv.js";import{T as x}from"./text-link-DNnNqMs9.js";import{I as i}from"./input-DYhKGVpQ.js";import{L as m}from"./label-BB9HLxkE.js";import{A as g}from"./auth-layout-CgoifTok.js";import{L as f}from"./loader-circle-BPtK_d4m.js";import"./app-6D7Y1jSv.js";import"./index-B7t1D_co.js";import"./app-logo-icon-B_KiS1IV.js";const t=e=>({url:t.url(e),method:"get"});t.definition={methods:["get","head"],url:"/register"};t.url=e=>t.definition.url+l(e);t.get=e=>({url:t.url(e),method:"get"});t.head=e=>({url:t.url(e),method:"head"});const d=e=>({action:t.url(e),method:"get"});d.get=e=>({action:t.url(e),method:"get"});d.head=e=>({action:t.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});t.form=d;const s=e=>({url:s.url(e),method:"post"});s.definition={methods:["post"],url:"/register"};s.url=e=>s.definition.url+l(e);s.post=e=>({url:s.url(e),method:"post"});const n=e=>({action:s.url(e),method:"post"});n.post=e=>({action:s.url(e),method:"post"});s.form=n;const j={store:s};function E(){return r.jsxs(g,{title:"Create an account",description:"Enter your details below to create your account",children:[r.jsx(u,{title:"Register"}),r.jsx(c,{...j.store.form(),resetOnSuccess:["password","password_confirmation"],disableWhileProcessing:!0,className:"flex flex-col gap-6",children:({processing:e,errors:a})=>r.jsxs(r.Fragment,{children:[r.jsxs("div",{className:"grid gap-6",children:[r.jsxs("div",{className:"grid gap-2",children:[r.jsx(m,{htmlFor:"name",children:"Name"}),r.jsx(i,{id:"name",type:"text",required:!0,autoFocus:!0,tabIndex:1,autoComplete:"name",name:"name",placeholder:"Full name"}),r.jsx(o,{message:a.name,className:"mt-2"})]}),r.jsxs("div",{className:"grid gap-2",children:[r.jsx(m,{htmlFor:"email",children:"Email address"}),r.jsx(i,{id:"email",type:"email",required:!0,tabIndex:2,autoComplete:"email",name:"email",placeholder:"email@example.com"}),r.jsx(o,{message:a.email})]}),r.jsxs("div",{className:"grid gap-2",children:[r.jsx(m,{htmlFor:"password",children:"Password"}),r.jsx(i,{id:"password",type:"password",required:!0,tabIndex:3,autoComplete:"new-password",name:"password",placeholder:"Password"}),r.jsx(o,{message:a.password})]}),r.jsxs("div",{className:"grid gap-2",children:[r.jsx(m,{htmlFor:"password_confirmation",children:"Confirm password"}),r.jsx(i,{id:"password_confirmation",type:"password",required:!0,tabIndex:4,autoComplete:"new-password",name:"password_confirmation",placeholder:"Confirm password"}),r.jsx(o,{message:a.password_confirmation})]}),r.jsxs(p,{type:"submit",className:"mt-2 w-full",tabIndex:5,"data-test":"register-user-button",children:[e&&r.jsx(f,{className:"h-4 w-4 animate-spin"}),"Create account"]})]}),r.jsxs("div",{className:"text-center text-sm text-muted-foreground",children:["Already have an account?"," ",r.jsx(x,{href:h(),tabIndex:6,children:"Log in"})]})]})})]})}export{E as default}; import{j as r,H as u,F as c}from"./app-Ajql0Lt4.js";import{q as l,B as p,l as h}from"./createLucideIcon-B_iAwCmA.js";import{I as o}from"./input-error-Drp3HhtP.js";import{T as x}from"./text-link-D6DcgXYJ.js";import{I as i}from"./input-B0_NTiRR.js";import{L as m}from"./label-D8DO87nw.js";import{A as g}from"./auth-layout-BA0f4QcD.js";import{L as f}from"./loader-circle-C6-iW413.js";import"./app-B4XVefei.js";import"./index-em-EQZzp.js";import"./app-logo-icon-B9D8MR-Y.js";const t=e=>({url:t.url(e),method:"get"});t.definition={methods:["get","head"],url:"/register"};t.url=e=>t.definition.url+l(e);t.get=e=>({url:t.url(e),method:"get"});t.head=e=>({url:t.url(e),method:"head"});const d=e=>({action:t.url(e),method:"get"});d.get=e=>({action:t.url(e),method:"get"});d.head=e=>({action:t.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});t.form=d;const s=e=>({url:s.url(e),method:"post"});s.definition={methods:["post"],url:"/register"};s.url=e=>s.definition.url+l(e);s.post=e=>({url:s.url(e),method:"post"});const n=e=>({action:s.url(e),method:"post"});n.post=e=>({action:s.url(e),method:"post"});s.form=n;const j={store:s};function E(){return r.jsxs(g,{title:"Create an account",description:"Enter your details below to create your account",children:[r.jsx(u,{title:"Register"}),r.jsx(c,{...j.store.form(),resetOnSuccess:["password","password_confirmation"],disableWhileProcessing:!0,className:"flex flex-col gap-6",children:({processing:e,errors:a})=>r.jsxs(r.Fragment,{children:[r.jsxs("div",{className:"grid gap-6",children:[r.jsxs("div",{className:"grid gap-2",children:[r.jsx(m,{htmlFor:"name",children:"Name"}),r.jsx(i,{id:"name",type:"text",required:!0,autoFocus:!0,tabIndex:1,autoComplete:"name",name:"name",placeholder:"Full name"}),r.jsx(o,{message:a.name,className:"mt-2"})]}),r.jsxs("div",{className:"grid gap-2",children:[r.jsx(m,{htmlFor:"email",children:"Email address"}),r.jsx(i,{id:"email",type:"email",required:!0,tabIndex:2,autoComplete:"email",name:"email",placeholder:"email@example.com"}),r.jsx(o,{message:a.email})]}),r.jsxs("div",{className:"grid gap-2",children:[r.jsx(m,{htmlFor:"password",children:"Password"}),r.jsx(i,{id:"password",type:"password",required:!0,tabIndex:3,autoComplete:"new-password",name:"password",placeholder:"Password"}),r.jsx(o,{message:a.password})]}),r.jsxs("div",{className:"grid gap-2",children:[r.jsx(m,{htmlFor:"password_confirmation",children:"Confirm password"}),r.jsx(i,{id:"password_confirmation",type:"password",required:!0,tabIndex:4,autoComplete:"new-password",name:"password_confirmation",placeholder:"Confirm password"}),r.jsx(o,{message:a.password_confirmation})]}),r.jsxs(p,{type:"submit",className:"mt-2 w-full",tabIndex:5,"data-test":"register-user-button",children:[e&&r.jsx(f,{className:"h-4 w-4 animate-spin"}),"Create account"]})]}),r.jsxs("div",{className:"text-center text-sm text-muted-foreground",children:["Already have an account?"," ",r.jsx(x,{href:h(),tabIndex:6,children:"Log in"})]})]})})]})}export{E as default};

View File

@@ -1 +1 @@
import{j as r,H as c,F as w}from"./app-C6SiEMGn.js";import{q as p,b as f,B as h}from"./createLucideIcon-CPpF-2ww.js";import{I as m}from"./input-error-DHxzqysv.js";import{I as d}from"./input-DYhKGVpQ.js";import{L as i}from"./label-BB9HLxkE.js";import{A as x}from"./auth-layout-CgoifTok.js";import{L as j}from"./loader-circle-BPtK_d4m.js";import"./app-6D7Y1jSv.js";import"./index-B7t1D_co.js";import"./app-logo-icon-B_KiS1IV.js";const t=(e,s)=>({url:t.url(e,s),method:"get"});t.definition={methods:["get","head"],url:"/reset-password/{token}"};t.url=(e,s)=>{(typeof e=="string"||typeof e=="number")&&(e={token:e}),Array.isArray(e)&&(e={token:e[0]}),e=f(e);const a={token:e.token};return t.definition.url.replace("{token}",a.token.toString()).replace(/\/+$/,"")+p(s)};t.get=(e,s)=>({url:t.url(e,s),method:"get"});t.head=(e,s)=>({url:t.url(e,s),method:"head"});const n=(e,s)=>({action:t.url(e,s),method:"get"});n.get=(e,s)=>({action:t.url(e,s),method:"get"});n.head=(e,s)=>({action:t.url(e,{[s?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...s?.query??s?.mergeQuery??{}}}),method:"get"});t.form=n;const o=e=>({url:o.url(e),method:"post"});o.definition={methods:["post"],url:"/reset-password"};o.url=e=>o.definition.url+p(e);o.post=e=>({url:o.url(e),method:"post"});const u=e=>({action:o.url(e),method:"post"});u.post=e=>({action:o.url(e),method:"post"});o.form=u;const y={store:o};function L({token:e,email:s}){return r.jsxs(x,{title:"Reset password",description:"Please enter your new password below",children:[r.jsx(c,{title:"Reset password"}),r.jsx(w,{...y.store.form(),transform:a=>({...a,token:e,email:s}),resetOnSuccess:["password","password_confirmation"],children:({processing:a,errors:l})=>r.jsxs("div",{className:"grid gap-6",children:[r.jsxs("div",{className:"grid gap-2",children:[r.jsx(i,{htmlFor:"email",children:"Email"}),r.jsx(d,{id:"email",type:"email",name:"email",autoComplete:"email",value:s,className:"mt-1 block w-full",readOnly:!0}),r.jsx(m,{message:l.email,className:"mt-2"})]}),r.jsxs("div",{className:"grid gap-2",children:[r.jsx(i,{htmlFor:"password",children:"Password"}),r.jsx(d,{id:"password",type:"password",name:"password",autoComplete:"new-password",className:"mt-1 block w-full",autoFocus:!0,placeholder:"Password"}),r.jsx(m,{message:l.password})]}),r.jsxs("div",{className:"grid gap-2",children:[r.jsx(i,{htmlFor:"password_confirmation",children:"Confirm password"}),r.jsx(d,{id:"password_confirmation",type:"password",name:"password_confirmation",autoComplete:"new-password",className:"mt-1 block w-full",placeholder:"Confirm password"}),r.jsx(m,{message:l.password_confirmation,className:"mt-2"})]}),r.jsxs(h,{type:"submit",className:"mt-4 w-full",disabled:a,"data-test":"reset-password-button",children:[a&&r.jsx(j,{className:"h-4 w-4 animate-spin"}),"Reset password"]})]})})]})}export{L as default}; import{j as r,H as c,F as w}from"./app-Ajql0Lt4.js";import{q as p,b as f,B as h}from"./createLucideIcon-B_iAwCmA.js";import{I as m}from"./input-error-Drp3HhtP.js";import{I as d}from"./input-B0_NTiRR.js";import{L as i}from"./label-D8DO87nw.js";import{A as x}from"./auth-layout-BA0f4QcD.js";import{L as j}from"./loader-circle-C6-iW413.js";import"./app-B4XVefei.js";import"./index-em-EQZzp.js";import"./app-logo-icon-B9D8MR-Y.js";const t=(e,s)=>({url:t.url(e,s),method:"get"});t.definition={methods:["get","head"],url:"/reset-password/{token}"};t.url=(e,s)=>{(typeof e=="string"||typeof e=="number")&&(e={token:e}),Array.isArray(e)&&(e={token:e[0]}),e=f(e);const a={token:e.token};return t.definition.url.replace("{token}",a.token.toString()).replace(/\/+$/,"")+p(s)};t.get=(e,s)=>({url:t.url(e,s),method:"get"});t.head=(e,s)=>({url:t.url(e,s),method:"head"});const n=(e,s)=>({action:t.url(e,s),method:"get"});n.get=(e,s)=>({action:t.url(e,s),method:"get"});n.head=(e,s)=>({action:t.url(e,{[s?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...s?.query??s?.mergeQuery??{}}}),method:"get"});t.form=n;const o=e=>({url:o.url(e),method:"post"});o.definition={methods:["post"],url:"/reset-password"};o.url=e=>o.definition.url+p(e);o.post=e=>({url:o.url(e),method:"post"});const u=e=>({action:o.url(e),method:"post"});u.post=e=>({action:o.url(e),method:"post"});o.form=u;const y={store:o};function L({token:e,email:s}){return r.jsxs(x,{title:"Reset password",description:"Please enter your new password below",children:[r.jsx(c,{title:"Reset password"}),r.jsx(w,{...y.store.form(),transform:a=>({...a,token:e,email:s}),resetOnSuccess:["password","password_confirmation"],children:({processing:a,errors:l})=>r.jsxs("div",{className:"grid gap-6",children:[r.jsxs("div",{className:"grid gap-2",children:[r.jsx(i,{htmlFor:"email",children:"Email"}),r.jsx(d,{id:"email",type:"email",name:"email",autoComplete:"email",value:s,className:"mt-1 block w-full",readOnly:!0}),r.jsx(m,{message:l.email,className:"mt-2"})]}),r.jsxs("div",{className:"grid gap-2",children:[r.jsx(i,{htmlFor:"password",children:"Password"}),r.jsx(d,{id:"password",type:"password",name:"password",autoComplete:"new-password",className:"mt-1 block w-full",autoFocus:!0,placeholder:"Password"}),r.jsx(m,{message:l.password})]}),r.jsxs("div",{className:"grid gap-2",children:[r.jsx(i,{htmlFor:"password_confirmation",children:"Confirm password"}),r.jsx(d,{id:"password_confirmation",type:"password",name:"password_confirmation",autoComplete:"new-password",className:"mt-1 block w-full",placeholder:"Confirm password"}),r.jsx(m,{message:l.password_confirmation,className:"mt-2"})]}),r.jsxs(h,{type:"submit",className:"mt-4 w-full",disabled:a,"data-test":"reset-password-button",children:[a&&r.jsx(j,{className:"h-4 w-4 animate-spin"}),"Reset password"]})]})})]})}export{L as default};

View File

@@ -1,4 +1,4 @@
import{r as o,j as r}from"./app-C6SiEMGn.js";import{P as j,r as _e}from"./index-B7t1D_co.js";import{u as be,c as rt,a as P,d as G}from"./index-FUlYkgbj.js";import{f as Ne,a as st,g as at,u as Ie,c as lt,A as ct,h as it,V as dt,b as ut,i as pt,j as ft,k as mt,F as ht,l as vt,m as gt,n as xt}from"./sheet-BvPq5L9Z.js";import{a as Ee,u as L,e as St,c as te}from"./createLucideIcon-CPpF-2ww.js";import{u as wt}from"./index-ChxR6kRZ.js";import{C as Ct}from"./check-DEcJAs2N.js";/** import{r as o,j as r}from"./app-Ajql0Lt4.js";import{P as j,r as _e}from"./index-em-EQZzp.js";import{u as be,c as rt,a as P,d as G}from"./index-CS1SDu2T.js";import{f as Ne,a as st,g as at,u as Ie,c as lt,A as ct,h as it,V as dt,b as ut,i as pt,j as ft,k as mt,F as ht,l as vt,m as gt,n as xt}from"./sheet-iBbRuLZ4.js";import{a as Ee,u as L,e as St,c as te}from"./createLucideIcon-B_iAwCmA.js";import{u as wt}from"./index-BXKH1Xq5.js";import{C as Ct}from"./check-D1N7nvmG.js";/**
* @license lucide-react v0.475.0 - ISC * @license lucide-react v0.475.0 - ISC
* *
* This source code is licensed under the ISC license. * This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{R as re,j as S,r as u,t as Gn}from"./app-C6SiEMGn.js";import{c as nt,a as ee,d as De,b as qn,u as Zn,P as rt,e as Qn}from"./index-FUlYkgbj.js";import{a as Jn,u as K,e as qe,c as ye}from"./createLucideIcon-CPpF-2ww.js";import{P as B,d as er,r as tr,R as nr}from"./index-B7t1D_co.js";/** import{R as re,j as S,r as u,t as Gn}from"./app-Ajql0Lt4.js";import{c as nt,a as ee,d as De,b as qn,u as Zn,P as rt,e as Qn}from"./index-CS1SDu2T.js";import{a as Jn,u as K,e as qe,c as ye}from"./createLucideIcon-B_iAwCmA.js";import{P as B,d as er,r as tr,R as nr}from"./index-em-EQZzp.js";/**
* @license lucide-react v0.475.0 - ISC * @license lucide-react v0.475.0 - ISC
* *
* This source code is licensed under the ISC license. * This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{a as o,c as l}from"./createLucideIcon-CPpF-2ww.js";import{j as t}from"./app-C6SiEMGn.js";/** import{a as o,c as l}from"./createLucideIcon-B_iAwCmA.js";import{j as t}from"./app-Ajql0Lt4.js";/**
* @license lucide-react v0.475.0 - ISC * @license lucide-react v0.475.0 - ISC
* *
* This source code is licensed under the ISC license. * This source code is licensed under the ISC license.

View File

@@ -1 +1 @@
import{r as b,j as r}from"./app-C6SiEMGn.js";import{u as E,c as S,a as x,P as M}from"./index-FUlYkgbj.js";import{c as h,R as k,I as F}from"./index-CxjaVpyF.js";import{P as g}from"./index-B7t1D_co.js";import{a as $,u as D}from"./sheet-BvPq5L9Z.js";import{c as p}from"./createLucideIcon-CPpF-2ww.js";var m="Tabs",[V,W]=S(m,[h]),C=h(),[G,T]=V(m),I=b.forwardRef((e,t)=>{const{__scopeTabs:c,value:a,onValueChange:s,defaultValue:d,orientation:o="horizontal",dir:u,activationMode:f="automatic",...v}=e,i=$(u),[n,l]=E({prop:a,onChange:s,defaultProp:d??"",caller:m});return r.jsx(G,{scope:c,baseId:D(),value:n,onValueChange:l,orientation:o,dir:i,activationMode:f,children:r.jsx(g.div,{dir:i,"data-orientation":o,...v,ref:t})})});I.displayName=m;var j="TabsList",y=b.forwardRef((e,t)=>{const{__scopeTabs:c,loop:a=!0,...s}=e,d=T(j,c),o=C(c);return r.jsx(k,{asChild:!0,...o,orientation:d.orientation,dir:d.dir,loop:a,children:r.jsx(g.div,{role:"tablist","aria-orientation":d.orientation,...s,ref:t})})});y.displayName=j;var _="TabsTrigger",N=b.forwardRef((e,t)=>{const{__scopeTabs:c,value:a,disabled:s=!1,...d}=e,o=T(_,c),u=C(c),f=A(o.baseId,a),v=P(o.baseId,a),i=a===o.value;return r.jsx(F,{asChild:!0,...u,focusable:!s,active:i,children:r.jsx(g.button,{type:"button",role:"tab","aria-selected":i,"aria-controls":v,"data-state":i?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:f,...d,ref:t,onMouseDown:x(e.onMouseDown,n=>{!s&&n.button===0&&n.ctrlKey===!1?o.onValueChange(a):n.preventDefault()}),onKeyDown:x(e.onKeyDown,n=>{[" ","Enter"].includes(n.key)&&o.onValueChange(a)}),onFocus:x(e.onFocus,()=>{const n=o.activationMode!=="manual";!i&&!s&&n&&o.onValueChange(a)})})})});N.displayName=_;var R="TabsContent",w=b.forwardRef((e,t)=>{const{__scopeTabs:c,value:a,forceMount:s,children:d,...o}=e,u=T(R,c),f=A(u.baseId,a),v=P(u.baseId,a),i=a===u.value,n=b.useRef(i);return b.useEffect(()=>{const l=requestAnimationFrame(()=>n.current=!1);return()=>cancelAnimationFrame(l)},[]),r.jsx(M,{present:s||i,children:({present:l})=>r.jsx(g.div,{"data-state":i?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":f,hidden:!l,id:v,tabIndex:0,...o,ref:t,style:{...e.style,animationDuration:n.current?"0s":void 0},children:l&&d})})});w.displayName=R;function A(e,t){return`${e}-trigger-${t}`}function P(e,t){return`${e}-content-${t}`}var L=I,z=y,K=N,B=w;function X({className:e,...t}){return r.jsx(L,{"data-slot":"tabs",className:p("flex flex-col gap-2",e),...t})}function Y({className:e,...t}){return r.jsx(z,{"data-slot":"tabs-list",className:p("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",e),...t})}function Z({className:e,...t}){return r.jsx(K,{"data-slot":"tabs-trigger",className:p("data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...t})}function ee({className:e,...t}){return r.jsx(B,{"data-slot":"tabs-content",className:p("flex-1 outline-none",e),...t})}export{X as T,Y as a,Z as b,ee as c}; import{r as b,j as r}from"./app-Ajql0Lt4.js";import{u as E,c as S,a as x,P as M}from"./index-CS1SDu2T.js";import{c as h,R as k,I as F}from"./index-UHLdfeKp.js";import{P as g}from"./index-em-EQZzp.js";import{a as $,u as D}from"./sheet-iBbRuLZ4.js";import{c as p}from"./createLucideIcon-B_iAwCmA.js";var m="Tabs",[V,W]=S(m,[h]),C=h(),[G,T]=V(m),I=b.forwardRef((e,t)=>{const{__scopeTabs:c,value:a,onValueChange:s,defaultValue:d,orientation:o="horizontal",dir:u,activationMode:f="automatic",...v}=e,i=$(u),[n,l]=E({prop:a,onChange:s,defaultProp:d??"",caller:m});return r.jsx(G,{scope:c,baseId:D(),value:n,onValueChange:l,orientation:o,dir:i,activationMode:f,children:r.jsx(g.div,{dir:i,"data-orientation":o,...v,ref:t})})});I.displayName=m;var j="TabsList",y=b.forwardRef((e,t)=>{const{__scopeTabs:c,loop:a=!0,...s}=e,d=T(j,c),o=C(c);return r.jsx(k,{asChild:!0,...o,orientation:d.orientation,dir:d.dir,loop:a,children:r.jsx(g.div,{role:"tablist","aria-orientation":d.orientation,...s,ref:t})})});y.displayName=j;var _="TabsTrigger",N=b.forwardRef((e,t)=>{const{__scopeTabs:c,value:a,disabled:s=!1,...d}=e,o=T(_,c),u=C(c),f=A(o.baseId,a),v=P(o.baseId,a),i=a===o.value;return r.jsx(F,{asChild:!0,...u,focusable:!s,active:i,children:r.jsx(g.button,{type:"button",role:"tab","aria-selected":i,"aria-controls":v,"data-state":i?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:f,...d,ref:t,onMouseDown:x(e.onMouseDown,n=>{!s&&n.button===0&&n.ctrlKey===!1?o.onValueChange(a):n.preventDefault()}),onKeyDown:x(e.onKeyDown,n=>{[" ","Enter"].includes(n.key)&&o.onValueChange(a)}),onFocus:x(e.onFocus,()=>{const n=o.activationMode!=="manual";!i&&!s&&n&&o.onValueChange(a)})})})});N.displayName=_;var R="TabsContent",w=b.forwardRef((e,t)=>{const{__scopeTabs:c,value:a,forceMount:s,children:d,...o}=e,u=T(R,c),f=A(u.baseId,a),v=P(u.baseId,a),i=a===u.value,n=b.useRef(i);return b.useEffect(()=>{const l=requestAnimationFrame(()=>n.current=!1);return()=>cancelAnimationFrame(l)},[]),r.jsx(M,{present:s||i,children:({present:l})=>r.jsx(g.div,{"data-state":i?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":f,hidden:!l,id:v,tabIndex:0,...o,ref:t,style:{...e.style,animationDuration:n.current?"0s":void 0},children:l&&d})})});w.displayName=R;function A(e,t){return`${e}-trigger-${t}`}function P(e,t){return`${e}-content-${t}`}var L=I,z=y,K=N,B=w;function X({className:e,...t}){return r.jsx(L,{"data-slot":"tabs",className:p("flex flex-col gap-2",e),...t})}function Y({className:e,...t}){return r.jsx(z,{"data-slot":"tabs-list",className:p("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",e),...t})}function Z({className:e,...t}){return r.jsx(K,{"data-slot":"tabs-trigger",className:p("data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...t})}function ee({className:e,...t}){return r.jsx(B,{"data-slot":"tabs-content",className:p("flex-1 outline-none",e),...t})}export{X as T,Y as a,Z as b,ee as c};

View File

@@ -1 +1 @@
import{j as e,H as n,L as r}from"./app-C6SiEMGn.js";import{T as d,a as o,b as c,c as s,d as x,e as i,P as m,f as j}from"./table-DVbaU0dA.js";import{A as h,i as p}from"./app-layout-B4kweoSW.js";import"./app-6D7Y1jSv.js";import"./createLucideIcon-CPpF-2ww.js";import"./sheet-BvPq5L9Z.js";import"./index-FUlYkgbj.js";import"./index-B7t1D_co.js";import"./index-CxjaVpyF.js";import"./app-logo-icon-B_KiS1IV.js";import"./package-DTdg9l_D.js";function A({testimonial:t}){return e.jsx(e.Fragment,{children:e.jsxs(h,{breadcrumbs:[{title:"Testimonial",href:p().url}],children:[e.jsx(n,{title:"Testimonials"}),e.jsxs("section",{className:"flex flex-col gap-8 px-8 py-8",children:[e.jsx("div",{className:"flex items-center justify-between",children:e.jsx("h1",{className:"text-xl font-semibold tracking-tight",children:"Testimonial"})}),e.jsxs(d,{children:[e.jsx(o,{children:e.jsxs(c,{children:[e.jsx(s,{className:"w-[80px]",children:"S.N."}),e.jsx(s,{className:"w-48",children:"Image"}),e.jsx(s,{children:"Name"}),e.jsx(s,{children:"Location"}),e.jsx(s,{children:"Description"}),e.jsx(s,{className:"text-right",children:"Action"})]})}),e.jsx(x,{children:t.map((a,l)=>e.jsxs(c,{children:[e.jsx(i,{className:"font-medium",children:l+1}),e.jsx(i,{children:e.jsx("img",{src:a.image,alt:a.name,className:"aspect-video w-24 rounded-md object-cover object-center"})}),e.jsx(i,{children:a.name}),e.jsx(i,{children:a.location}),e.jsx(i,{children:a.description}),e.jsx(i,{className:"text-right",children:e.jsxs("div",{className:"flex items-center justify-end gap-2",children:[e.jsx(r,{href:"",children:e.jsx(m,{size:18})}),e.jsx(r,{href:"",children:e.jsx(j,{size:18,color:"#D2042D"})})]})})]},l))})]})]})]})})}export{A as default}; import{j as e,H as n,L as r}from"./app-Ajql0Lt4.js";import{T as d,a as o,b as c,c as s,d as x,e as i,P as m,f as j}from"./table-BXShFuwk.js";import{A as h,i as p}from"./app-layout-BTSySP9M.js";import"./app-B4XVefei.js";import"./createLucideIcon-B_iAwCmA.js";import"./sheet-iBbRuLZ4.js";import"./index-CS1SDu2T.js";import"./index-em-EQZzp.js";import"./index-UHLdfeKp.js";import"./app-logo-icon-B9D8MR-Y.js";import"./package-CgKP903x.js";function A({testimonial:t}){return e.jsx(e.Fragment,{children:e.jsxs(h,{breadcrumbs:[{title:"Testimonial",href:p().url}],children:[e.jsx(n,{title:"Testimonials"}),e.jsxs("section",{className:"flex flex-col gap-8 px-8 py-8",children:[e.jsx("div",{className:"flex items-center justify-between",children:e.jsx("h1",{className:"text-xl font-semibold tracking-tight",children:"Testimonial"})}),e.jsxs(d,{children:[e.jsx(o,{children:e.jsxs(c,{children:[e.jsx(s,{className:"w-[80px]",children:"S.N."}),e.jsx(s,{className:"w-48",children:"Image"}),e.jsx(s,{children:"Name"}),e.jsx(s,{children:"Location"}),e.jsx(s,{children:"Description"}),e.jsx(s,{className:"text-right",children:"Action"})]})}),e.jsx(x,{children:t.map((a,l)=>e.jsxs(c,{children:[e.jsx(i,{className:"font-medium",children:l+1}),e.jsx(i,{children:e.jsx("img",{src:a.image,alt:a.name,className:"aspect-video w-24 rounded-md object-cover object-center"})}),e.jsx(i,{children:a.name}),e.jsx(i,{children:a.location}),e.jsx(i,{children:a.description}),e.jsx(i,{className:"text-right",children:e.jsxs("div",{className:"flex items-center justify-end gap-2",children:[e.jsx(r,{href:"",children:e.jsx(m,{size:18})}),e.jsx(r,{href:"",children:e.jsx(j,{size:18,color:"#D2042D"})})]})})]},l))})]})]})]})})}export{A as default};

View File

@@ -1 +1 @@
import{j as t,L as n}from"./app-C6SiEMGn.js";import{c as a}from"./createLucideIcon-CPpF-2ww.js";function u({className:r="",children:e,...o}){return t.jsx(n,{className:a("text-foreground underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out hover:decoration-current! dark:decoration-neutral-500",r),...o,children:e})}export{u as T}; import{j as t,L as n}from"./app-Ajql0Lt4.js";import{c as a}from"./createLucideIcon-B_iAwCmA.js";function u({className:r="",children:e,...o}){return t.jsx(n,{className:a("text-foreground underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out hover:decoration-current! dark:decoration-neutral-500",r),...o,children:e})}export{u as T};

View File

@@ -1 +1 @@
import{j as i}from"./app-C6SiEMGn.js";import{c as t}from"./createLucideIcon-CPpF-2ww.js";function n({className:r,...e}){return i.jsx("textarea",{"data-slot":"textarea",className:t("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",r),...e})}export{n as T}; import{j as i}from"./app-Ajql0Lt4.js";import{c as t}from"./createLucideIcon-B_iAwCmA.js";function n({className:r,...e}){return i.jsx("textarea",{"data-slot":"textarea",className:t("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",r),...e})}export{n as T};

View File

@@ -1,4 +1,4 @@
import{r as i,R as b,t as Oe}from"./app-C6SiEMGn.js";var Re=Object.defineProperty,je=(e,t,n)=>t in e?Re(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Z=(e,t,n)=>(je(e,typeof t!="symbol"?t+"":t,n),n);let Ae=class{constructor(){Z(this,"current",this.detect()),Z(this,"handoffState","pending"),Z(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},I=new Ae;function ke(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function q(){let e=[],t={addEventListener(n,r,l,a){return n.addEventListener(r,l,a),t.add(()=>n.removeEventListener(r,l,a))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return ke(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,l){let a=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:l}),this.add(()=>{Object.assign(n.style,{[r]:a})})},group(n){let r=q();return n(r),this.add(()=>r.dispose())},add(n){return e.includes(n)||e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let l of e.splice(r,1))l()}},dispose(){for(let n of e.splice(0))n()}};return t}function fe(){let[e]=i.useState(q);return i.useEffect(()=>()=>e.dispose(),[e]),e}let O=(e,t)=>{I.isServer?i.useEffect(e,t):i.useLayoutEffect(e,t)};function ce(e){let t=i.useRef(e);return O(()=>{t.current=e},[e]),t}let $=function(e){let t=ce(e);return b.useCallback((...n)=>t.current(...n),[t])};function Q(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function D(e,t,...n){if(e in t){let l=t[e];return typeof l=="function"?l(...n):l}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(l=>`"${l}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,D),r}var de=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(de||{}),T=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(T||{});function pe(){let e=Pe();return i.useCallback(t=>Ne({mergeRefs:e,...t}),[e])}function Ne({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:l,visible:a=!0,name:u,mergeRefs:o}){o=o??xe;let s=me(t,e);if(a)return U(s,n,r,u,o);let p=l??0;if(p&2){let{static:c=!1,...h}=s;if(c)return U(h,n,r,u,o)}if(p&1){let{unmount:c=!0,...h}=s;return D(c?0:1,{0(){return null},1(){return U({...h,hidden:!0,style:{display:"none"}},n,r,u,o)}})}return U(s,n,r,u,o)}function U(e,t={},n,r,l){let{as:a=n,children:u,refName:o="ref",...s}=G(e,["unmount","static"]),p=e.ref!==void 0?{[o]:e.ref}:{},c=typeof u=="function"?u(t):u;"className"in s&&s.className&&typeof s.className=="function"&&(s.className=s.className(t)),s["aria-labelledby"]&&s["aria-labelledby"]===s.id&&(s["aria-labelledby"]=void 0);let h={};if(t){let g=!1,d=[];for(let[f,v]of Object.entries(t))typeof v=="boolean"&&(g=!0),v===!0&&d.push(f.replace(/([A-Z])/g,m=>`-${m.toLowerCase()}`));if(g){h["data-headlessui-state"]=d.join(" ");for(let f of d)h[`data-${f}`]=""}}if(a===i.Fragment&&(Object.keys(j(s)).length>0||Object.keys(j(h)).length>0))if(!i.isValidElement(c)||Array.isArray(c)&&c.length>1){if(Object.keys(j(s)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(j(s)).concat(Object.keys(j(h))).map(g=>` - ${g}`).join(` import{r as i,R as b,t as Oe}from"./app-Ajql0Lt4.js";var Re=Object.defineProperty,je=(e,t,n)=>t in e?Re(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Z=(e,t,n)=>(je(e,typeof t!="symbol"?t+"":t,n),n);let Ae=class{constructor(){Z(this,"current",this.detect()),Z(this,"handoffState","pending"),Z(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},I=new Ae;function ke(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function q(){let e=[],t={addEventListener(n,r,l,a){return n.addEventListener(r,l,a),t.add(()=>n.removeEventListener(r,l,a))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return ke(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,l){let a=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:l}),this.add(()=>{Object.assign(n.style,{[r]:a})})},group(n){let r=q();return n(r),this.add(()=>r.dispose())},add(n){return e.includes(n)||e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let l of e.splice(r,1))l()}},dispose(){for(let n of e.splice(0))n()}};return t}function fe(){let[e]=i.useState(q);return i.useEffect(()=>()=>e.dispose(),[e]),e}let O=(e,t)=>{I.isServer?i.useEffect(e,t):i.useLayoutEffect(e,t)};function ce(e){let t=i.useRef(e);return O(()=>{t.current=e},[e]),t}let $=function(e){let t=ce(e);return b.useCallback((...n)=>t.current(...n),[t])};function Q(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function D(e,t,...n){if(e in t){let l=t[e];return typeof l=="function"?l(...n):l}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(l=>`"${l}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,D),r}var de=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(de||{}),T=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(T||{});function pe(){let e=Pe();return i.useCallback(t=>Ne({mergeRefs:e,...t}),[e])}function Ne({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:l,visible:a=!0,name:u,mergeRefs:o}){o=o??xe;let s=me(t,e);if(a)return U(s,n,r,u,o);let p=l??0;if(p&2){let{static:c=!1,...h}=s;if(c)return U(h,n,r,u,o)}if(p&1){let{unmount:c=!0,...h}=s;return D(c?0:1,{0(){return null},1(){return U({...h,hidden:!0,style:{display:"none"}},n,r,u,o)}})}return U(s,n,r,u,o)}function U(e,t={},n,r,l){let{as:a=n,children:u,refName:o="ref",...s}=G(e,["unmount","static"]),p=e.ref!==void 0?{[o]:e.ref}:{},c=typeof u=="function"?u(t):u;"className"in s&&s.className&&typeof s.className=="function"&&(s.className=s.className(t)),s["aria-labelledby"]&&s["aria-labelledby"]===s.id&&(s["aria-labelledby"]=void 0);let h={};if(t){let g=!1,d=[];for(let[f,v]of Object.entries(t))typeof v=="boolean"&&(g=!0),v===!0&&d.push(f.replace(/([A-Z])/g,m=>`-${m.toLowerCase()}`));if(g){h["data-headlessui-state"]=d.join(" ");for(let f of d)h[`data-${f}`]=""}}if(a===i.Fragment&&(Object.keys(j(s)).length>0||Object.keys(j(h)).length>0))if(!i.isValidElement(c)||Array.isArray(c)&&c.length>1){if(Object.keys(j(s)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(j(s)).concat(Object.keys(j(h))).map(g=>` - ${g}`).join(`
`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(g=>` - ${g}`).join(` `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(g=>` - ${g}`).join(`
`)].join(` `)].join(`
`))}else{let g=c.props,d=g?.className,f=typeof d=="function"?(...E)=>Q(d(...E),s.className):Q(d,s.className),v=f?{className:f}:{},m=me(c.props,j(G(s,["ref"])));for(let E in h)E in m&&delete h[E];return i.cloneElement(c,Object.assign({},m,h,p,{ref:l(He(c),p.ref)},v))}return i.createElement(a,Object.assign({},G(s,["ref"]),a!==i.Fragment&&p,a!==i.Fragment&&h),c)}function Pe(){let e=i.useRef([]),t=i.useCallback(n=>{for(let r of e.current)r!=null&&(typeof r=="function"?r(n):r.current=n)},[]);return(...n)=>{if(!n.every(r=>r==null))return e.current=n,t}}function xe(...e){return e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}function me(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let l in r)l.startsWith("on")&&typeof r[l]=="function"?(n[l]!=null||(n[l]=[]),n[l].push(r[l])):t[l]=r[l];if(t.disabled||t["aria-disabled"])for(let r in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(r)&&(n[r]=[l=>{var a;return(a=l?.preventDefault)==null?void 0:a.call(l)}]);for(let r in n)Object.assign(t,{[r](l,...a){let u=n[r];for(let o of u){if((l instanceof Event||l?.nativeEvent instanceof Event)&&l.defaultPrevented)return;o(l,...a)}}});return t}function J(e){var t;return Object.assign(i.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function j(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function G(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function He(e){return b.version.split(".")[0]>="19"?e.props.ref:e.ref}let Le=Symbol();function he(...e){let t=i.useRef(e);i.useEffect(()=>{t.current=e},[e]);let n=$(r=>{for(let l of t.current)l!=null&&(typeof l=="function"?l(r):l.current=r)});return e.every(r=>r==null||r?.[Le])?void 0:n}function Me(e=0){let[t,n]=i.useState(e),r=i.useCallback(s=>n(s),[t]),l=i.useCallback(s=>n(p=>p|s),[t]),a=i.useCallback(s=>(t&s)===s,[t]),u=i.useCallback(s=>n(p=>p&~s),[n]),o=i.useCallback(s=>n(p=>p^s),[n]);return{flags:t,setFlag:r,addFlag:l,hasFlag:a,removeFlag:u,toggleFlag:o}}var Ue={},oe,ue;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((oe=process==null?void 0:Ue)==null?void 0:oe.NODE_ENV)==="test"&&typeof((ue=Element?.prototype)==null?void 0:ue.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(` `))}else{let g=c.props,d=g?.className,f=typeof d=="function"?(...E)=>Q(d(...E),s.className):Q(d,s.className),v=f?{className:f}:{},m=me(c.props,j(G(s,["ref"])));for(let E in h)E in m&&delete h[E];return i.cloneElement(c,Object.assign({},m,h,p,{ref:l(He(c),p.ref)},v))}return i.createElement(a,Object.assign({},G(s,["ref"]),a!==i.Fragment&&p,a!==i.Fragment&&h),c)}function Pe(){let e=i.useRef([]),t=i.useCallback(n=>{for(let r of e.current)r!=null&&(typeof r=="function"?r(n):r.current=n)},[]);return(...n)=>{if(!n.every(r=>r==null))return e.current=n,t}}function xe(...e){return e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}function me(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let l in r)l.startsWith("on")&&typeof r[l]=="function"?(n[l]!=null||(n[l]=[]),n[l].push(r[l])):t[l]=r[l];if(t.disabled||t["aria-disabled"])for(let r in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(r)&&(n[r]=[l=>{var a;return(a=l?.preventDefault)==null?void 0:a.call(l)}]);for(let r in n)Object.assign(t,{[r](l,...a){let u=n[r];for(let o of u){if((l instanceof Event||l?.nativeEvent instanceof Event)&&l.defaultPrevented)return;o(l,...a)}}});return t}function J(e){var t;return Object.assign(i.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function j(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function G(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function He(e){return b.version.split(".")[0]>="19"?e.props.ref:e.ref}let Le=Symbol();function he(...e){let t=i.useRef(e);i.useEffect(()=>{t.current=e},[e]);let n=$(r=>{for(let l of t.current)l!=null&&(typeof l=="function"?l(r):l.current=r)});return e.every(r=>r==null||r?.[Le])?void 0:n}function Me(e=0){let[t,n]=i.useState(e),r=i.useCallback(s=>n(s),[t]),l=i.useCallback(s=>n(p=>p|s),[t]),a=i.useCallback(s=>(t&s)===s,[t]),u=i.useCallback(s=>n(p=>p&~s),[n]),o=i.useCallback(s=>n(p=>p^s),[n]);return{flags:t,setFlag:r,addFlag:l,hasFlag:a,removeFlag:u,toggleFlag:o}}var Ue={},oe,ue;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((oe=process==null?void 0:Ue)==null?void 0:oe.NODE_ENV)==="test"&&typeof((ue=Element?.prototype)==null?void 0:ue.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`

View File

@@ -1,4 +1,4 @@
import{j as e,r as i,F as y,H as T}from"./app-C6SiEMGn.js";import{S as _,H as A}from"./layout-C1UmCZPc.js";import{a as x,c as h,m as k,B as f,S as M}from"./createLucideIcon-CPpF-2ww.js";import{c as F,d as V,b as z,e as R,f as E}from"./index-BrphWuSj.js";import{I}from"./input-error-DHxzqysv.js";import{D as O,b as H,g as $,c as D,d as L}from"./dialog-DBIBGtzF.js";import{I as B,K as P,O as v,a as q,b as G,u as K}from"./use-two-factor-auth-CI4BDFqe.js";import{L as j}from"./loader-circle-BPtK_d4m.js";import{C as Q}from"./check-DEcJAs2N.js";import{A as W}from"./app-layout-B4kweoSW.js";import"./app-6D7Y1jSv.js";import"./index-B7t1D_co.js";import"./index-CaEroahx.js";import"./index-81wdD626.js";import"./sheet-BvPq5L9Z.js";import"./index-FUlYkgbj.js";import"./index-CxjaVpyF.js";import"./app-logo-icon-B_KiS1IV.js";import"./package-DTdg9l_D.js";/** import{j as e,r as i,F as y,H as T}from"./app-Ajql0Lt4.js";import{S as _,H as A}from"./layout-B-QAbSfv.js";import{a as x,c as h,m as k,B as f,S as M}from"./createLucideIcon-B_iAwCmA.js";import{c as F,d as V,b as z,e as R,f as E}from"./index-D6lErTwd.js";import{I}from"./input-error-Drp3HhtP.js";import{D as O,b as H,g as $,c as D,d as L}from"./dialog-CTDbVFLX.js";import{I as B,K as P,O as v,a as q,b as G,u as K}from"./use-two-factor-auth-PVYcuVkA.js";import{L as j}from"./loader-circle-C6-iW413.js";import{C as Q}from"./check-D1N7nvmG.js";import{A as W}from"./app-layout-BTSySP9M.js";import"./app-B4XVefei.js";import"./index-em-EQZzp.js";import"./index-BPJbFReo.js";import"./index-B6hfytYC.js";import"./sheet-iBbRuLZ4.js";import"./index-CS1SDu2T.js";import"./index-UHLdfeKp.js";import"./app-logo-icon-B9D8MR-Y.js";import"./package-CgKP903x.js";/**
* @license lucide-react v0.475.0 - ISC * @license lucide-react v0.475.0 - ISC
* *
* This source code is licensed under the ISC license. * This source code is licensed under the ISC license.

View File

@@ -1 +1 @@
import{r as s,j as e,H as f,F as h}from"./app-C6SiEMGn.js";import{I as u}from"./input-error-DHxzqysv.js";import{B as y}from"./createLucideIcon-CPpF-2ww.js";import{I as g}from"./input-DYhKGVpQ.js";import{I as j,K as v,O as l,a as I,b as T}from"./use-two-factor-auth-CI4BDFqe.js";import{A as C}from"./auth-layout-CgoifTok.js";import{s as b}from"./index-BrphWuSj.js";import"./app-6D7Y1jSv.js";import"./app-logo-icon-B_KiS1IV.js";function S(){const[t,d]=s.useState(!1),[m,n]=s.useState(""),r=s.useMemo(()=>t?{title:"Recovery Code",description:"Please confirm access to your account by entering one of your emergency recovery codes.",toggleText:"login using an authentication code"}:{title:"Authentication Code",description:"Enter the authentication code provided by your authenticator application.",toggleText:"login using a recovery code"},[t]),p=o=>{d(!t),o(),n("")};return e.jsxs(C,{title:r.title,description:r.description,children:[e.jsx(f,{title:"Two-Factor Authentication"}),e.jsx("div",{className:"space-y-6",children:e.jsx(h,{...b.form(),className:"space-y-4",resetOnError:!0,resetOnSuccess:!t,children:({errors:o,processing:a,clearErrors:x})=>e.jsxs(e.Fragment,{children:[t?e.jsxs(e.Fragment,{children:[e.jsx(g,{name:"recovery_code",type:"text",placeholder:"Enter recovery code",autoFocus:t,required:!0}),e.jsx(u,{message:o.recovery_code})]}):e.jsxs("div",{className:"flex flex-col items-center justify-center space-y-3 text-center",children:[e.jsx("div",{className:"flex w-full items-center justify-center",children:e.jsx(j,{name:"code",maxLength:l,value:m,onChange:c=>n(c),disabled:a,pattern:v,children:e.jsx(I,{children:Array.from({length:l},(c,i)=>e.jsx(T,{index:i},i))})})}),e.jsx(u,{message:o.code})]}),e.jsx(y,{type:"submit",className:"w-full",disabled:a,children:"Continue"}),e.jsxs("div",{className:"text-center text-sm text-muted-foreground",children:[e.jsx("span",{children:"or you can "}),e.jsx("button",{type:"button",className:"cursor-pointer text-foreground underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out hover:decoration-current! dark:decoration-neutral-500",onClick:()=>p(x),children:r.toggleText})]})]})})})]})}export{S as default}; import{r as s,j as e,H as f,F as h}from"./app-Ajql0Lt4.js";import{I as u}from"./input-error-Drp3HhtP.js";import{B as y}from"./createLucideIcon-B_iAwCmA.js";import{I as g}from"./input-B0_NTiRR.js";import{I as j,K as v,O as l,a as I,b as T}from"./use-two-factor-auth-PVYcuVkA.js";import{A as C}from"./auth-layout-BA0f4QcD.js";import{s as b}from"./index-D6lErTwd.js";import"./app-B4XVefei.js";import"./app-logo-icon-B9D8MR-Y.js";function S(){const[t,d]=s.useState(!1),[m,n]=s.useState(""),r=s.useMemo(()=>t?{title:"Recovery Code",description:"Please confirm access to your account by entering one of your emergency recovery codes.",toggleText:"login using an authentication code"}:{title:"Authentication Code",description:"Enter the authentication code provided by your authenticator application.",toggleText:"login using a recovery code"},[t]),p=o=>{d(!t),o(),n("")};return e.jsxs(C,{title:r.title,description:r.description,children:[e.jsx(f,{title:"Two-Factor Authentication"}),e.jsx("div",{className:"space-y-6",children:e.jsx(h,{...b.form(),className:"space-y-4",resetOnError:!0,resetOnSuccess:!t,children:({errors:o,processing:a,clearErrors:x})=>e.jsxs(e.Fragment,{children:[t?e.jsxs(e.Fragment,{children:[e.jsx(g,{name:"recovery_code",type:"text",placeholder:"Enter recovery code",autoFocus:t,required:!0}),e.jsx(u,{message:o.recovery_code})]}):e.jsxs("div",{className:"flex flex-col items-center justify-center space-y-3 text-center",children:[e.jsx("div",{className:"flex w-full items-center justify-center",children:e.jsx(j,{name:"code",maxLength:l,value:m,onChange:c=>n(c),disabled:a,pattern:v,children:e.jsx(I,{children:Array.from({length:l},(c,i)=>e.jsx(T,{index:i},i))})})}),e.jsx(u,{message:o.code})]}),e.jsx(y,{type:"submit",className:"w-full",disabled:a,children:"Continue"}),e.jsxs("div",{className:"text-center text-sm text-muted-foreground",children:[e.jsx("span",{children:"or you can "}),e.jsx("button",{type:"button",className:"cursor-pointer text-foreground underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out hover:decoration-current! dark:decoration-neutral-500",onClick:()=>p(x),children:r.toggleText})]})]})})})]})}export{S as default};

View File

@@ -1,4 +1,4 @@
import{r as e,j as W}from"./app-C6SiEMGn.js";import{a as je,c as J}from"./createLucideIcon-CPpF-2ww.js";import{q as Oe,a as De,r as Ie}from"./index-BrphWuSj.js";/** import{r as e,j as W}from"./app-Ajql0Lt4.js";import{a as je,c as J}from"./createLucideIcon-B_iAwCmA.js";import{q as Oe,a as De,r as Ie}from"./index-D6lErTwd.js";/**
* @license lucide-react v0.475.0 - ISC * @license lucide-react v0.475.0 - ISC
* *
* This source code is licensed under the ISC license. * This source code is licensed under the ISC license.

View File

@@ -1 +1 @@
import{j as i,H as s,F as a}from"./app-C6SiEMGn.js";import{q as n,B as l,d as m}from"./createLucideIcon-CPpF-2ww.js";import{T as d}from"./text-link-DNnNqMs9.js";import{A as c}from"./auth-layout-CgoifTok.js";import{L as u}from"./loader-circle-BPtK_d4m.js";import"./app-6D7Y1jSv.js";import"./app-logo-icon-B_KiS1IV.js";const e=t=>({url:e.url(t),method:"post"});e.definition={methods:["post"],url:"/email/verification-notification"};e.url=t=>e.definition.url+n(t);e.post=t=>({url:e.url(t),method:"post"});const r=t=>({action:e.url(t),method:"post"});r.post=t=>({action:e.url(t),method:"post"});e.form=r;const f={store:e};function k({status:t}){return i.jsxs(c,{title:"Verify email",description:"Please verify your email address by clicking on the link we just emailed to you.",children:[i.jsx(s,{title:"Email verification"}),t==="verification-link-sent"&&i.jsx("div",{className:"mb-4 text-center text-sm font-medium text-green-600",children:"A new verification link has been sent to the email address you provided during registration."}),i.jsx(a,{...f.store.form(),className:"space-y-6 text-center",children:({processing:o})=>i.jsxs(i.Fragment,{children:[i.jsxs(l,{disabled:o,variant:"secondary",children:[o&&i.jsx(u,{className:"h-4 w-4 animate-spin"}),"Resend verification email"]}),i.jsx(d,{href:m(),className:"mx-auto block text-sm",children:"Log out"})]})})]})}export{k as default}; import{j as i,H as s,F as a}from"./app-Ajql0Lt4.js";import{q as n,B as l,d as m}from"./createLucideIcon-B_iAwCmA.js";import{T as d}from"./text-link-D6DcgXYJ.js";import{A as c}from"./auth-layout-BA0f4QcD.js";import{L as u}from"./loader-circle-C6-iW413.js";import"./app-B4XVefei.js";import"./app-logo-icon-B9D8MR-Y.js";const e=t=>({url:e.url(t),method:"post"});e.definition={methods:["post"],url:"/email/verification-notification"};e.url=t=>e.definition.url+n(t);e.post=t=>({url:e.url(t),method:"post"});const r=t=>({action:e.url(t),method:"post"});r.post=t=>({action:e.url(t),method:"post"});e.form=r;const f={store:e};function k({status:t}){return i.jsxs(c,{title:"Verify email",description:"Please verify your email address by clicking on the link we just emailed to you.",children:[i.jsx(s,{title:"Email verification"}),t==="verification-link-sent"&&i.jsx("div",{className:"mb-4 text-center text-sm font-medium text-green-600",children:"A new verification link has been sent to the email address you provided during registration."}),i.jsx(a,{...f.store.form(),className:"space-y-6 text-center",children:({processing:o})=>i.jsxs(i.Fragment,{children:[i.jsxs(l,{disabled:o,variant:"secondary",children:[o&&i.jsx(u,{className:"h-4 w-4 animate-spin"}),"Resend verification email"]}),i.jsx(d,{href:m(),className:"mx-auto block text-sm",children:"Log out"})]})})]})}export{k as default};

View File

@@ -1,4 +1,4 @@
import{r as j,R as N,j as y,L as ne,u as Je,H as et}from"./app-C6SiEMGn.js";import{a as tt,B as X,g as Pe,i as st}from"./createLucideIcon-CPpF-2ww.js";import{u as we,i as it,b as re,L as nt}from"./layout-DermKrDq.js";import{D as rt,a as at,b as lt,g as ot,c as dt,d as ct}from"./dialog-DBIBGtzF.js";import{I as Le}from"./input-DYhKGVpQ.js";import{L as te}from"./label-BB9HLxkE.js";import{T as ft}from"./textarea-CqLjq5zb.js";import{F as ut,t as pt,r as mt,p as ht,a as gt}from"./index-BQ4sA8lt.js";import"./app-6D7Y1jSv.js";import"./select-BuGuwdXt.js";import"./index-B7t1D_co.js";import"./index-FUlYkgbj.js";import"./sheet-BvPq5L9Z.js";import"./index-ChxR6kRZ.js";import"./check-DEcJAs2N.js";/** import{r as j,R as N,j as y,L as ne,u as Je,H as et}from"./app-Ajql0Lt4.js";import{a as tt,B as X,g as Pe,i as st}from"./createLucideIcon-B_iAwCmA.js";import{u as we,i as it,b as re,L as nt}from"./layout-B_zVioYG.js";import{D as rt,a as at,b as lt,g as ot,c as dt,d as ct}from"./dialog-CTDbVFLX.js";import{I as Le}from"./input-B0_NTiRR.js";import{L as te}from"./label-D8DO87nw.js";import{T as ft}from"./textarea-Cx91KVSI.js";import{F as ut,t as pt,r as mt,p as ht,a as gt}from"./index-DudYy9cl.js";import"./app-B4XVefei.js";import"./select-TKsTtRMn.js";import"./index-em-EQZzp.js";import"./index-CS1SDu2T.js";import"./sheet-iBbRuLZ4.js";import"./index-BXKH1Xq5.js";import"./check-D1N7nvmG.js";/**
* @license lucide-react v0.475.0 - ISC * @license lucide-react v0.475.0 - ISC
* *
* This source code is licensed under the ISC license. * This source code is licensed under the ISC license.

File diff suppressed because it is too large Load Diff