Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
perpetuate settings tab across projects
Thiago Araujo da Silva6af678f25a1c
diff --git a/frontend/src/components/auditLogSettings/AuditLogEventClassesForm.tsx b/frontend/src/components/auditLogSettings/AuditLogEventClassesForm.tsxindex 6386c8c56c..4bdc8354f4 100644--- a/frontend/src/components/auditLogSettings/AuditLogEventClassesForm.tsx+++ b/frontend/src/components/auditLogSettings/AuditLogEventClassesForm.tsx@@ -47,8 +47,6 @@ type Props = {readOnlyMessage: string;variant: ScopeVariant;onSave: (eventClasses: TAuditLogEventClassSetting[]) => Promise<unknown>;- className?: string;- titleClassName?: string;};export const AuditLogEventClassesForm = ({@@ -61,9 +59,7 @@ export const AuditLogEventClassesForm = ({canEdit,readOnlyMessage,variant,- onSave,- className,- titleClassName+ onSave}: Props) => {const { currentOrg } = useOrganization();const shouldUseNewPrivilegeSystem =@@ -102,7 +98,7 @@ export const AuditLogEventClassesForm = ({};return (- <form onSubmit={handleSubmit(onSubmit)} className={className}>+ <form onSubmit={handleSubmit(onSubmit)}>{!canEdit && !isError && !isPending && (<Alert variant="info" className="mb-4"><Info />@@ -111,7 +107,7 @@ export const AuditLogEventClassesForm = ({)}<Card className="gap-0 overflow-hidden p-0"><CardHeader className="border-b p-6">- <CardTitle className={titleClassName}>+ <CardTitle>{title}<DocumentationLinkBadge href="https://infisical.com/docs/documentation/platform/audit-logs" /></CardTitle>diff --git a/frontend/src/pages/agent-vault/AgentVaultAuditLogsPage/AgentVaultAuditLogsPage.tsx b/frontend/src/pages/agent-vault/AgentVaultAuditLogsPage/AgentVaultAuditLogsPage.tsxindex 2fad6a7d50..40ff0d5458 100644--- a/frontend/src/pages/agent-vault/AgentVaultAuditLogsPage/AgentVaultAuditLogsPage.tsx+++ b/frontend/src/pages/agent-vault/AgentVaultAuditLogsPage/AgentVaultAuditLogsPage.tsx@@ -3,13 +3,11 @@ import { useTranslation } from "react-i18next";import { FileText } from "lucide-react";import { PageHeader } from "@app/components/v3";-import { useProject } from "@app/context";import { ProjectType } from "@app/hooks/api/projects/types";-import { LogsSection } from "@app/pages/organization/AuditLogsPage/components";+import { ProjectAuditLogsTabs } from "@app/pages/project/AuditLogsPage/components";export const AgentVaultAuditLogsPage = () => {const { t } = useTranslation();- const { currentProject } = useProject();return (<div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">@@ -22,7 +20,7 @@ export const AgentVaultAuditLogsPage = () => {title="Audit Logs"description="Review Agent Vault activity for security and compliance."/>- <LogsSection pageView project={currentProject} />+ <ProjectAuditLogsTabs variant="av" /></div>);};diff --git a/frontend/src/pages/pam/PamAuditLogsPage/PamAuditLogsPage.tsx b/frontend/src/pages/pam/PamAuditLogsPage/PamAuditLogsPage.tsxindex fab447242f..460517d8c3 100644--- a/frontend/src/pages/pam/PamAuditLogsPage/PamAuditLogsPage.tsx+++ b/frontend/src/pages/pam/PamAuditLogsPage/PamAuditLogsPage.tsx@@ -3,13 +3,11 @@ import { useTranslation } from "react-i18next";import { FileText } from "lucide-react";import { PageHeader } from "@app/components/v2";-import { useProject } from "@app/context";import { ProjectType } from "@app/hooks/api/projects/types";-import { LogsSection } from "@app/pages/organization/AuditLogsPage/components";+import { ProjectAuditLogsTabs } from "@app/pages/project/AuditLogsPage/components";export const PamAuditLogsPage = () => {const { t } = useTranslation();- const { currentProject } = useProject();return (<div className="mx-auto mb-6 w-full max-w-8xl">@@ -22,7 +20,7 @@ export const PamAuditLogsPage = () => {title="Audit Logs"description="Audit logs for security and compliance teams to monitor information access."/>- <LogsSection pageView project={currentProject} />+ <ProjectAuditLogsTabs variant="pam" /></div>);};diff --git a/frontend/src/pages/project/AuditLogsPage/AuditLogsPage.tsx b/frontend/src/pages/project/AuditLogsPage/AuditLogsPage.tsxindex d7ad2c63e7..f5a60017fa 100644--- a/frontend/src/pages/project/AuditLogsPage/AuditLogsPage.tsx+++ b/frontend/src/pages/project/AuditLogsPage/AuditLogsPage.tsx@@ -4,7 +4,8 @@ import { PageHeader } from "@app/components/v2";import { LookingForOrgPageLink } from "@app/components/v3";import { useProject } from "@app/context";import { ProjectType } from "@app/hooks/api/projects/types";-import { LogsSection } from "@app/pages/organization/AuditLogsPage/components";++import { ProjectAuditLogsTabs } from "./components";export const AuditLogsPage = () => {const { currentProject } = useProject();@@ -24,7 +25,7 @@ export const AuditLogsPage = () => {><LookingForOrgPageLink page="auditLogs" /></PageHeader>- <LogsSection pageView project={currentProject} />+ <ProjectAuditLogsTabs variant="project" /></div></div></div>diff --git a/frontend/src/pages/project/SettingsPage/components/AuditLogEventClassesSection/AuditLogEventClassesSection.tsx b/frontend/src/pages/project/AuditLogsPage/components/AuditLogEventClassesSection/AuditLogEventClassesSection.tsxsimilarity index 75%rename from frontend/src/pages/project/SettingsPage/components/AuditLogEventClassesSection/AuditLogEventClassesSection.tsxrename to frontend/src/pages/project/AuditLogsPage/components/AuditLogEventClassesSection/AuditLogEventClassesSection.tsxindex 90114323d3..2594762bb5 100644--- a/frontend/src/pages/project/SettingsPage/components/AuditLogEventClassesSection/AuditLogEventClassesSection.tsx+++ b/frontend/src/pages/project/AuditLogsPage/components/AuditLogEventClassesSection/AuditLogEventClassesSection.tsx@@ -1,16 +1,17 @@import { AuditLogEventClassesForm } from "@app/components/auditLogSettings";import {- ProjectPermissionActions,ProjectPermissionAuditLogsActions,ProjectPermissionSub,useProject,useProjectPermission} from "@app/context";+import { useScopeVariant } from "@app/hooks";import { useGetProjectAuditLogSettings, useUpdateProjectAuditLogSettings } from "@app/hooks/api";-const AuditLogEventClassesSectionContent = () => {+export const AuditLogEventClassesSection = () => {const { currentProject } = useProject();const { permission } = useProjectPermission();+ const scopeVariant = useScopeVariant();const canEdit = permission.can(ProjectPermissionAuditLogsActions.Edit,ProjectPermissionSub.AuditLogs@@ -21,9 +22,7 @@ const AuditLogEventClassesSectionContent = () => {return (<AuditLogEventClassesForm- className="mb-6"- titleClassName="font-alliance"- title="Audit Log Event Classes"+ title="Event Classes"description="Choose which classes of events this project records."settings={settings}isPending={isPending}@@ -31,14 +30,8 @@ const AuditLogEventClassesSectionContent = () => {isSaving={isSaving}canEdit={canEdit}readOnlyMessage="You need the Edit Settings permission on Audit Logs to change these settings."- variant="project"+ variant={scopeVariant}onSave={(eventClasses) => updateSettings({ projectId: currentProject.id, eventClasses })}/>);};--export const AuditLogEventClassesSection = () => {- const { permission } = useProjectPermission();- if (!permission.can(ProjectPermissionActions.Read, ProjectPermissionSub.Settings)) return null;- return <AuditLogEventClassesSectionContent />;-};diff --git a/frontend/src/pages/project/SettingsPage/components/AuditLogEventClassesSection/index.tsx b/frontend/src/pages/project/AuditLogsPage/components/AuditLogEventClassesSection/index.tsxsimilarity index 100%rename from frontend/src/pages/project/SettingsPage/components/AuditLogEventClassesSection/index.tsxrename to frontend/src/pages/project/AuditLogsPage/components/AuditLogEventClassesSection/index.tsxdiff --git a/frontend/src/pages/project/AuditLogsPage/components/AuditLogSettingsTab/AuditLogSettingsTab.tsx b/frontend/src/pages/project/AuditLogsPage/components/AuditLogSettingsTab/AuditLogSettingsTab.tsxnew file mode 100644index 0000000000..acefdf39e7--- /dev/null+++ b/frontend/src/pages/project/AuditLogsPage/components/AuditLogSettingsTab/AuditLogSettingsTab.tsx@@ -0,0 +1,19 @@+import { ProjectPermissionActions, ProjectPermissionSub } from "@app/context";+import { withProjectPermission } from "@app/hoc";++import { AuditLogEventClassesSection } from "../AuditLogEventClassesSection";+import { AuditLogsRetentionSection } from "../AuditLogsRetentionSection";++export const AuditLogSettingsTab = withProjectPermission(+ () => (+ <div className="flex flex-col gap-6">+ <AuditLogEventClassesSection />+ <AuditLogsRetentionSection />+ </div>+ ),+ {+ action: ProjectPermissionActions.Read,+ subject: ProjectPermissionSub.Settings,+ accessRestrictedMode: "dialog"+ }+);diff --git a/frontend/src/pages/project/AuditLogsPage/components/AuditLogSettingsTab/index.tsx b/frontend/src/pages/project/AuditLogsPage/components/AuditLogSettingsTab/index.tsxnew file mode 100644index 0000000000..2a6f2030cb--- /dev/null+++ b/frontend/src/pages/project/AuditLogsPage/components/AuditLogSettingsTab/index.tsx@@ -0,0 +1 @@+export { AuditLogSettingsTab } from "./AuditLogSettingsTab";diff --git a/frontend/src/pages/project/SettingsPage/components/AuditLogsRetentionSection/AuditLogsRetentionSection.tsx b/frontend/src/pages/project/AuditLogsPage/components/AuditLogsRetentionSection/AuditLogsRetentionSection.tsxsimilarity index 85%rename from frontend/src/pages/project/SettingsPage/components/AuditLogsRetentionSection/AuditLogsRetentionSection.tsxrename to frontend/src/pages/project/AuditLogsPage/components/AuditLogsRetentionSection/AuditLogsRetentionSection.tsxindex 2cb3e7c2a0..f77c83a0ff 100644--- a/frontend/src/pages/project/SettingsPage/components/AuditLogsRetentionSection/AuditLogsRetentionSection.tsx+++ b/frontend/src/pages/project/AuditLogsPage/components/AuditLogsRetentionSection/AuditLogsRetentionSection.tsx@@ -24,6 +24,7 @@ import {useProjectPermission,useSubscription} from "@app/context";+import { isInfisicalCloud } from "@app/helpers/platform";import { usePopUp } from "@app/hooks";import { useUpdateWorkspaceAuditLogsRetention } from "@app/hooks/api/projects/queries";@@ -83,13 +84,8 @@ export const AuditLogsRetentionSection = () => {});};- // render only for dedicated/self-hosted instances of Infisical- if (- window.location.origin.includes("https://app.infisical.com") ||- window.location.origin.includes("https://gamma.infisical.com")- ) {- return null;- }+ // Retention is only configurable on dedicated and self-hosted instances.+ if (isInfisicalCloud()) return null;const canEdit = permission.can(ProjectPermissionAuditLogsActions.Edit,@@ -97,19 +93,15 @@ export const AuditLogsRetentionSection = () => {);return (<>- <form- onSubmit={handleSubmit(handleAuditLogsRetentionSubmit)}- autoComplete="off"- className="mb-6"- >+ <form onSubmit={handleSubmit(handleAuditLogsRetentionSubmit)} autoComplete="off"><Card className="gap-0 overflow-hidden p-0">- <CardHeader className="p-6">- <CardTitle className="font-alliance">Audit Logs Retention</CardTitle>+ <CardHeader className="border-b p-6">+ <CardTitle>Audit Logs Retention</CardTitle><CardDescription>Set the number of days to keep your project audit logs.</CardDescription></CardHeader>- <CardContent className="max-w-xs px-6 pb-6">+ <CardContent className="max-w-xs p-6"><Controllercontrol={control}defaultValue={0}@@ -131,7 +123,7 @@ export const AuditLogsRetentionSection = () => {)}/></CardContent>- <CardFooter className="min-h-8 justify-end border-t border-neutral/15 bg-neutral/5 p-4">+ <CardFooter className="min-h-8 justify-end border-t p-4"><Buttonvariant="project"size="sm"@@ -139,7 +131,7 @@ export const AuditLogsRetentionSection = () => {isPending={isSubmitting}isDisabled={!canEdit || !isDirty}>- Save changes+ Save Changes</Button></CardFooter></Card>diff --git a/frontend/src/pages/project/SettingsPage/components/AuditLogsRetentionSection/index.tsx b/frontend/src/pages/project/AuditLogsPage/components/AuditLogsRetentionSection/index.tsxsimilarity index 100%rename from frontend/src/pages/project/SettingsPage/components/AuditLogsRetentionSection/index.tsxrename to frontend/src/pages/project/AuditLogsPage/components/AuditLogsRetentionSection/index.tsxdiff --git a/frontend/src/pages/project/AuditLogsPage/components/ProjectAuditLogsTabs.tsx b/frontend/src/pages/project/AuditLogsPage/components/ProjectAuditLogsTabs.tsxnew file mode 100644index 0000000000..9639c8a6f6--- /dev/null+++ b/frontend/src/pages/project/AuditLogsPage/components/ProjectAuditLogsTabs.tsx@@ -0,0 +1,57 @@+import { useNavigate, useSearch } from "@tanstack/react-router";++import { Tabs, TabsContent, TabsList, TabsTrigger } from "@app/components/v3";+import { useOrganization, useProject } from "@app/context";+import { getProjectBaseURL } from "@app/helpers/project";+import { LogsSection } from "@app/pages/organization/AuditLogsPage/components";++import { AuditLogSettingsTab } from "./AuditLogSettingsTab";++export enum ProjectAuditLogsTab {+ AuditLogs = "audit-logs",+ Settings = "settings"+}++type Props = {+ variant: "project" | "pam" | "av";+};++export const ProjectAuditLogsTabs = ({ variant }: Props) => {+ const navigate = useNavigate();+ const { currentOrg } = useOrganization();+ const { currentProject } = useProject();+ const selectedTab = useSearch({+ strict: false,+ select: (el) => el.selectedTab+ });++ const activeTab = Object.values(ProjectAuditLogsTab).includes(selectedTab as ProjectAuditLogsTab)+ ? selectedTab+ : ProjectAuditLogsTab.AuditLogs;++ const updateSelectedTab = (tab: string) => {+ navigate({+ to: `${getProjectBaseURL(currentProject.type)}/audit-logs` as const,+ search: (prev) => ({ ...prev, selectedTab: tab }),+ params: {+ orgId: currentOrg.id,+ projectId: currentProject.id+ }+ });+ };++ return (+ <Tabs value={activeTab} onValueChange={updateSelectedTab}>+ <TabsList variant={variant}>+ <TabsTrigger value={ProjectAuditLogsTab.AuditLogs}>Audit Logs</TabsTrigger>+ <TabsTrigger value={ProjectAuditLogsTab.Settings}>Settings</TabsTrigger>+ </TabsList>+ <TabsContent value={ProjectAuditLogsTab.AuditLogs}>+ <LogsSection pageView project={currentProject} />+ </TabsContent>+ <TabsContent value={ProjectAuditLogsTab.Settings}>+ <AuditLogSettingsTab />+ </TabsContent>+ </Tabs>+ );+};diff --git a/frontend/src/pages/project/AuditLogsPage/components/index.tsx b/frontend/src/pages/project/AuditLogsPage/components/index.tsxnew file mode 100644index 0000000000..48aecf1e3c--- /dev/null+++ b/frontend/src/pages/project/AuditLogsPage/components/index.tsx@@ -0,0 +1 @@+export { ProjectAuditLogsTab, ProjectAuditLogsTabs } from "./ProjectAuditLogsTabs";diff --git a/frontend/src/pages/project/AuditLogsPage/route-agent-vault.tsx b/frontend/src/pages/project/AuditLogsPage/route-agent-vault.tsxindex 8089d63993..10676d38d7 100644--- a/frontend/src/pages/project/AuditLogsPage/route-agent-vault.tsx+++ b/frontend/src/pages/project/AuditLogsPage/route-agent-vault.tsx@@ -1,11 +1,20 @@import { createFileRoute } from "@tanstack/react-router";+import { zodValidator } from "@tanstack/zod-adapter";+import { z } from "zod";import { AgentVaultAuditLogsPage } from "@app/pages/agent-vault/AgentVaultAuditLogsPage";+import { ProjectAuditLogsTab } from "./components";++const AuditLogsPageQueryParams = z.object({+ selectedTab: z.nativeEnum(ProjectAuditLogsTab).catch(ProjectAuditLogsTab.AuditLogs)+});+export const Route = createFileRoute("/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/agent-vault/_agent-vault-layout/audit-logs")({component: AgentVaultAuditLogsPage,+ validateSearch: zodValidator(AuditLogsPageQueryParams),beforeLoad: ({ context }) => {return {breadcrumbs: [diff --git a/frontend/src/pages/project/AuditLogsPage/route-cert-manager.tsx b/frontend/src/pages/project/AuditLogsPage/route-cert-manager.tsxindex a16c38de79..5efd30b4bb 100644--- a/frontend/src/pages/project/AuditLogsPage/route-cert-manager.tsx+++ b/frontend/src/pages/project/AuditLogsPage/route-cert-manager.tsx@@ -1,11 +1,19 @@import { createFileRoute } from "@tanstack/react-router";+import { zodValidator } from "@tanstack/zod-adapter";+import { z } from "zod";import { AuditLogsPage } from "./AuditLogsPage";+import { ProjectAuditLogsTab } from "./components";++const AuditLogsPageQueryParams = z.object({+ selectedTab: z.nativeEnum(ProjectAuditLogsTab).catch(ProjectAuditLogsTab.AuditLogs)+});export const Route = createFileRoute("/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/audit-logs")({component: AuditLogsPage,+ validateSearch: zodValidator(AuditLogsPageQueryParams),beforeLoad: ({ context }) => {return {breadcrumbs: [diff --git a/frontend/src/pages/project/AuditLogsPage/route-kms.tsx b/frontend/src/pages/project/AuditLogsPage/route-kms.tsxindex 802dfc120d..d87e100454 100644--- a/frontend/src/pages/project/AuditLogsPage/route-kms.tsx+++ b/frontend/src/pages/project/AuditLogsPage/route-kms.tsx@@ -1,11 +1,19 @@import { createFileRoute } from "@tanstack/react-router";+import { zodValidator } from "@tanstack/zod-adapter";+import { z } from "zod";import { AuditLogsPage } from "./AuditLogsPage";+import { ProjectAuditLogsTab } from "./components";++const AuditLogsPageQueryParams = z.object({+ selectedTab: z.nativeEnum(ProjectAuditLogsTab).catch(ProjectAuditLogsTab.AuditLogs)+});export const Route = createFileRoute("/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout/audit-logs")({component: AuditLogsPage,+ validateSearch: zodValidator(AuditLogsPageQueryParams),beforeLoad: ({ context }) => {return {breadcrumbs: [diff --git a/frontend/src/pages/project/AuditLogsPage/route-pam.tsx b/frontend/src/pages/project/AuditLogsPage/route-pam.tsxindex 36467753ed..26781c43b3 100644--- a/frontend/src/pages/project/AuditLogsPage/route-pam.tsx+++ b/frontend/src/pages/project/AuditLogsPage/route-pam.tsx@@ -1,11 +1,20 @@import { createFileRoute } from "@tanstack/react-router";+import { zodValidator } from "@tanstack/zod-adapter";+import { z } from "zod";import { PamAuditLogsPage } from "@app/pages/pam/PamAuditLogsPage/PamAuditLogsPage";+import { ProjectAuditLogsTab } from "./components";++const AuditLogsPageQueryParams = z.object({+ selectedTab: z.nativeEnum(ProjectAuditLogsTab).catch(ProjectAuditLogsTab.AuditLogs)+});+export const Route = createFileRoute("/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/pam/_pam-layout/audit-logs")({component: PamAuditLogsPage,+ validateSearch: zodValidator(AuditLogsPageQueryParams),beforeLoad: ({ context }) => {return {breadcrumbs: [diff --git a/frontend/src/pages/project/AuditLogsPage/route-secret-manager.tsx b/frontend/src/pages/project/AuditLogsPage/route-secret-manager.tsxindex 1fd8a6ee0a..58f0a15d16 100644--- a/frontend/src/pages/project/AuditLogsPage/route-secret-manager.tsx+++ b/frontend/src/pages/project/AuditLogsPage/route-secret-manager.tsx@@ -1,11 +1,19 @@import { createFileRoute } from "@tanstack/react-router";+import { zodValidator } from "@tanstack/zod-adapter";+import { z } from "zod";import { AuditLogsPage } from "./AuditLogsPage";+import { ProjectAuditLogsTab } from "./components";++const AuditLogsPageQueryParams = z.object({+ selectedTab: z.nativeEnum(ProjectAuditLogsTab).catch(ProjectAuditLogsTab.AuditLogs)+});export const Route = createFileRoute("/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/audit-logs")({component: AuditLogsPage,+ validateSearch: zodValidator(AuditLogsPageQueryParams),beforeLoad: ({ context }) => {return {breadcrumbs: [diff --git a/frontend/src/pages/project/AuditLogsPage/route-secret-scanning.tsx b/frontend/src/pages/project/AuditLogsPage/route-secret-scanning.tsxindex 65178d008b..e80808ffae 100644--- a/frontend/src/pages/project/AuditLogsPage/route-secret-scanning.tsx+++ b/frontend/src/pages/project/AuditLogsPage/route-secret-scanning.tsx@@ -1,11 +1,19 @@import { createFileRoute } from "@tanstack/react-router";+import { zodValidator } from "@tanstack/zod-adapter";+import { z } from "zod";import { AuditLogsPage } from "./AuditLogsPage";+import { ProjectAuditLogsTab } from "./components";++const AuditLogsPageQueryParams = z.object({+ selectedTab: z.nativeEnum(ProjectAuditLogsTab).catch(ProjectAuditLogsTab.AuditLogs)+});export const Route = createFileRoute("/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout/audit-logs")({component: AuditLogsPage,+ validateSearch: zodValidator(AuditLogsPageQueryParams),beforeLoad: ({ context }) => {return {breadcrumbs: [diff --git a/frontend/src/pages/project/SettingsPage/components/ProjectGeneralTab/ProjectGeneralTab.tsx b/frontend/src/pages/project/SettingsPage/components/ProjectGeneralTab/ProjectGeneralTab.tsxindex ac128a5a91..b3b6d5a115 100644--- a/frontend/src/pages/project/SettingsPage/components/ProjectGeneralTab/ProjectGeneralTab.tsx+++ b/frontend/src/pages/project/SettingsPage/components/ProjectGeneralTab/ProjectGeneralTab.tsx@@ -1,15 +1,11 @@import { ProjectOverviewChangeSection } from "@app/components/project/ProjectOverviewChangeSection";-import { AuditLogEventClassesSection } from "../AuditLogEventClassesSection";-import { AuditLogsRetentionSection } from "../AuditLogsRetentionSection";import { DeleteProjectSection } from "../DeleteProjectSection";export const ProjectGeneralTab = () => {return (<div><ProjectOverviewChangeSection />- <AuditLogsRetentionSection />- <AuditLogEventClassesSection /><DeleteProjectSection /></div>);