cortex-react-components 1.7.0 → 1.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-HU5RE6RN.mjs → chunk-3JTJE3CH.mjs} +1 -1
- package/dist/chunk-5VW5YOZB.mjs +4 -0
- package/dist/{chunk-EJ7V4F7Y.mjs → chunk-7YKANUOC.mjs} +1 -1
- package/dist/{chunk-Z4V2VUJ4.mjs → chunk-LBKMUSVR.mjs} +1 -1
- package/dist/{chunk-LKBMU736.mjs → chunk-MUAUXGCS.mjs} +1 -1
- package/dist/{chunk-IELYTAA6.mjs → chunk-QSXVIRH2.mjs} +1 -1
- package/dist/{chunk-HTIXQIZ5.mjs → chunk-WMZYFRHZ.mjs} +1 -1
- package/dist/{chunk-2SI3V2Z7.mjs → chunk-X4NLERYK.mjs} +1 -1
- package/dist/components/Blocks/Insight.js +1 -1
- package/dist/components/Blocks/Insight.mjs +1 -1
- package/dist/components/Blocks/Insight.stories.js +1 -1
- package/dist/components/Blocks/Insight.stories.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/FeatureCard.js +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.stories.js +1 -1
- package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +2 -2
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/Images/DynamicIcon.d.ts +1 -1
- package/dist/components/Images/DynamicIcon.js +1 -1
- package/dist/components/Images/DynamicIcon.mjs +1 -1
- package/dist/components/Images/DynamicIcon.stories.js +1 -1
- package/dist/components/Images/DynamicIcon.stories.mjs +1 -1
- package/dist/components/Images/index.d.ts +1 -2
- package/dist/components/Images/index.js +1 -1
- package/dist/components/Images/index.mjs +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
- package/dist/components/Menus/AppLauncher.js +1 -1
- package/dist/components/Menus/AppLauncher.mjs +1 -1
- package/dist/components/Menus/AppLauncher.stories.js +1 -1
- package/dist/components/Menus/AppLauncher.stories.mjs +1 -1
- package/dist/components/Menus/HeaderMenu.stories.js +1 -1
- package/dist/components/Menus/HeaderMenu.stories.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.d.ts +1 -1
- package/dist/components/Menus/SidebarLeft.js +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.js +170 -170
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.d.ts +1 -1
- package/dist/components/Menus/SidebarRight.js +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.js +168 -168
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/SimpleHeader.stories.js +1 -1
- package/dist/components/Menus/SimpleHeader.stories.mjs +1 -1
- package/dist/components/Menus/index.js +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Pages/Documentation.js +1 -1
- package/dist/components/Pages/Documentation.mjs +1 -1
- package/dist/components/Pages/Documentation.stories.js +168 -168
- package/dist/components/Pages/Documentation.stories.mjs +1 -1
- package/dist/components/Pages/IndexPage.js +1 -1
- package/dist/components/Pages/IndexPage.mjs +1 -1
- package/dist/components/Pages/IndexPage.stories.js +185 -185
- package/dist/components/Pages/IndexPage.stories.mjs +1 -1
- package/dist/components/Pages/Intranet.mjs +1 -1
- package/dist/components/Pages/Intranet.stories.js +1 -1
- package/dist/components/Pages/Intranet.stories.mjs +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.js +191 -191
- package/dist/components/Pages/Page.stories.mjs +1 -1
- package/dist/components/index.js +4 -4
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.js +4 -4
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +1 -1
- package/dist/chunk-BYTBE2HZ.mjs +0 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"../../chunk-PAG346RY.mjs";import{a as r}from"../../chunk-
|
|
1
|
+
import{a as o}from"../../chunk-PAG346RY.mjs";import{a as r}from"../../chunk-WMZYFRHZ.mjs";import{b as i}from"../../chunk-IPHHUHS3.mjs";import"../../chunk-Y5VTKEKS.mjs";import"../../chunk-CGBVZQYY.mjs";import"../../chunk-BSQVKZCW.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-5VW5YOZB.mjs";import"../../chunk-OAOCXXC2.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-FRWX5YES.mjs";import{c as a}from"../../chunk-D2WXBUVJ.mjs";var e=a(o());import{jsx as l}from"react/jsx-runtime";var _={title:"Menus/SidebarRight",component:r},t=n=>l(i,{children:l(r,{...n})});var s=t.bind({});s.args={onNavClick:(0,e.fn)(),editMode:!0,tableOfContents:[{title:"Getting Started",url:"#",items:[{title:"Installation",url:"#",isActive:!0},{title:"Project Structure",url:"#"}]},{title:"Building Your Application",url:"#",items:[{title:"Routing",url:"#",isDraft:!0},{title:"Data Fetching",url:"#"},{title:"Rendering",url:"#"},{title:"Caching",url:"#"},{title:"Styling",url:"#"},{title:"Optimizing",url:"#"},{title:"Configuring",url:"#"},{title:"Testing",url:"#"},{title:"Authentication",url:"#"},{title:"Deploying",url:"#"},{title:"Upgrading",url:"#"},{title:"Examples",url:"#"}]},{title:"API Reference",url:"#",items:[{title:"Components",url:"#"},{title:"File Conventions",url:"#"},{title:"Functions",url:"#"},{title:"next.config.js Options",url:"#"},{title:"CLI",url:"#"},{title:"Edge Runtime",url:"#"}]},{title:"Architecture",url:"#",items:[{title:"Accessibility",url:"#"},{title:"Fast Refresh",url:"#"},{title:"Next.js Compiler",url:"#"},{title:"Supported Browsers",url:"#"},{title:"Turbopack",url:"#"}]},{title:"Community",url:"#",items:[{title:"Contribution Guide",url:"#"}]}],relatedContent:{knowledge:[{label:"AWS Risk Assessment Terraform Module",url:"/knowledge/terraform_risk_assessment_AWS/_index.md",type:"published"},{label:"AWS Airview CCF Terraform Module",url:"/knowledge/terraform_aws_airview_ccf/_index.md",type:"published"}],services:[{label:"AWS Account Vending Machine",url:"/services/aws_account_vending_machine/_index.md",type:"published"},{label:"<Product> Security Pattern - Template",url:"/services/product_security_pattern_template/_index.md",type:"published"},{label:"Security Pattern Status",url:"/services/security_pattern_status/_index.md",type:"published"},{label:"AWS Beanstalk",url:"/services/aws_beanstalk/_index.md",type:"published"},{label:"AWS Account Vending Machine Terraform Module",url:"/services/aws_account_vending_machine/terraform-aws-module-account-vending-machine.md",type:"published"},{label:"AWS Airwalk Network Firewall Terraform Module",url:"/services/aws_vpc/terraform-aws-airwalk-module-networkfirewall.md",type:"published"},{label:"AWS VCP Terraform Module",url:"/services/aws_vpc/terraform-aws-vpc.md",type:"published"},{label:"AWS WAF and Shield",url:"/services/aws_waf_and_shield/_index.md",type:"published"}]},onAddDocument:(0,e.fn)(),onEditDocument:(0,e.fn)(),onPrintDocument:(0,e.fn)(),onGithubClick:(0,e.fn)()};var u=t.bind({});u.args={onNavClick:(0,e.fn)(),tableOfContents:void 0,relatedContent:void 0,loading:!0,onAddDocument:(0,e.fn)(),onEditDocument:(0,e.fn)(),onPrintDocument:(0,e.fn)(),onGithubClick:(0,e.fn)()};var d=t.bind({});d.args={onAddDocument:(0,e.fn)(),onEditDocument:(0,e.fn)(),onPrintDocument:(0,e.fn)()};var c=t.bind({});c.args={onAddDocument:(0,e.fn)(),onEditDocument:(0,e.fn)(),onPrintDocument:(0,e.fn)(),onGithubClick:null};var m=t.bind({});m.args={relatedContent:{knowledge:[{label:"AWS Risk Assessment Terraform Module",url:"/knowledge/terraform_risk_assessment_AWS/_index.md",type:"published"},{label:"AWS Airview CCF Terraform Module",url:"/knowledge/terraform_aws_airview_ccf/_index.md",type:"published"}],services:[{label:"AWS Account Vending Machine",url:"/services/aws_account_vending_machine/_index.md",type:"published"},{label:"<Product> Security Pattern - Template",url:"/services/product_security_pattern_template/_index.md",type:"draft"},{label:"Security Pattern Status",url:"/services/security_pattern_status/_index.md",type:"note"},{label:"AWS Beanstalk",url:"/services/aws_beanstalk/_index.md",type:"published"},{label:"AWS Account Vending Machine Terraform Module",url:"/services/aws_account_vending_machine/terraform-aws-module-account-vending-machine.md",type:"published"},{label:"AWS Airwalk Network Firewall Terraform Module",url:"/services/aws_vpc/terraform-aws-airwalk-module-networkfirewall.md",type:"published"},{label:"AWS VCP Terraform Module",url:"/services/aws_vpc/terraform-aws-vpc.md",type:"published"},{label:"AWS WAF and Shield",url:"/services/aws_waf_and_shield/_index.md",type:"published"}]},onAddDocument:(0,e.fn)(),onEditDocument:(0,e.fn)(),onPrintDocument:(0,e.fn)()};export{s as Default,u as Loading,c as NoGithubLink,d as NoTableOfContents,m as OnlyRelatedDocuments,_ as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var b=Object.defineProperty;var $=Object.getOwnPropertyDescriptor;var z=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var E=(r,a)=>{for(var i in a)b(r,i,{get:a[i],enumerable:!0})},G=(r,a,i,s)=>{if(a&&typeof a=="object"||typeof a=="function")for(let t of z(a))!B.call(r,t)&&t!==i&&b(r,t,{get:()=>a[t],enumerable:!(s=$(a,t))||s.enumerable});return r};var O=r=>G(b({},"__esModule",{value:!0}),r);var
|
|
4
|
+
"use strict";var b=Object.defineProperty;var $=Object.getOwnPropertyDescriptor;var z=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var E=(r,a)=>{for(var i in a)b(r,i,{get:a[i],enumerable:!0})},G=(r,a,i,s)=>{if(a&&typeof a=="object"||typeof a=="function")for(let t of z(a))!B.call(r,t)&&t!==i&&b(r,t,{get:()=>a[t],enumerable:!(s=$(a,t))||s.enumerable});return r};var O=r=>G(b({},"__esModule",{value:!0}),r);var Y={};E(Y,{Primary:()=>W,default:()=>L});module.exports=O(Y);var m=require("react"),l=require("@headlessui/react"),y=require("@heroicons/react/24/outline"),g=require("@heroicons/react/20/solid");var o=require("react/jsx-runtime"),j=({name:r,items:a,actions:i=[],href:s})=>!a&&s?(0,o.jsxs)("a",{href:s,className:"relative inline-block text-sm font-semibold text-foreground group",children:[r,(0,o.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}):(0,o.jsxs)(l.Popover,{children:[(0,o.jsxs)(l.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,o.jsxs)("span",{className:"relative",children:[r,(0,o.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,o.jsx)(g.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,o.jsxs)(l.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,o.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:a&&a.map(t=>(0,o.jsxs)("div",{className:"group relative rounded-lg l-6 text-sm/6 box-border",children:[(0,o.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,o.jsx)(t.icon,{"aria-hidden":"true",size:"6x"})}),(0,o.jsxs)("a",{href:t.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[t.name,(0,o.jsx)("span",{className:"absolute inset-0"})]}),(0,o.jsx)("l",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:t.description})]},t.name))}),i.length>0&&(0,o.jsx)("div",{className:"bg-gray-50",children:(0,o.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,o.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:i.map(t=>(0,o.jsxs)("a",{href:t.href,className:"flex items-center justify-center gap-x-2.5 l-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,o.jsx)(t.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),t.name]},t.name))})})})]})]}),D=j;var h=["light","dark","green"];function M({title:r,logo:a,menuItems:i}){let[s,t]=(0,m.useState)(!1),[N,P]=(0,m.useState)(!1),[u,I]=(0,m.useState)("light"),f=a==null?void 0:a.split(".")[0],x=a==null?void 0:a.split(".")[1],[R,v]=(0,m.useState)(`${f}.${x}`),w=n=>{h.includes(n)?v(n==="light"?`${f}.${x}`:`${f}-${n}.${x}`):v(`${f}.${x}`)};(0,m.useEffect)(()=>{let n=localStorage.getItem("theme")||"light";console.log("storedTheme",n),I(n),document.documentElement.setAttribute("class",n),w(n)},[]);let T=()=>{let n=h[(h.indexOf(u)+1)%h.length];I(n),document.documentElement.setAttribute("class",n),localStorage.setItem("theme",n),w(n)};return(0,o.jsxs)("header",{className:"relative isolate z-10 bg-background h-14",children:[(0,o.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between l-3 lg:px-8",children:[(0,o.jsx)("div",{className:"flex lg:flex-1",children:(0,o.jsxs)("a",{href:"#",className:"-m-1.5 l-1.5 outline-none",children:[(0,o.jsx)("span",{className:"sr-only",children:r}),(0,o.jsx)("img",{alt:r,src:R,className:"h-9 w-auto"})]})}),(0,o.jsx)("div",{className:"flex lg:hidden",children:(0,o.jsxs)("button",{type:"button",onClick:()=>t(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md l-2.5 text-gray-700 outline-none",children:[(0,o.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,o.jsx)(y.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,o.jsx)(l.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:i.map(n=>(0,o.jsx)(D,{...n},n.name))}),(0,o.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,o.jsx)("button",{onClick:T,className:"l-2 text-gray-700 outline-none",children:u==="dark"?(0,o.jsx)(g.SunIcon,{className:"h-6 w-6"}):u==="green"?(0,o.jsx)(g.MoonIcon,{className:"h-6 w-6"}):(0,o.jsx)(g.SunIcon,{className:"h-6 w-6"})})})]}),(0,o.jsxs)(l.Dialog,{open:s,onClose:t,className:"lg:hidden",children:[(0,o.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,o.jsxs)(l.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,o.jsxs)("div",{className:"flex items-center justify-between",children:[(0,o.jsxs)("a",{href:"#",className:"-m-1.5 l-1.5 outline-none",children:[(0,o.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,o.jsx)("img",{alt:r,src:a,className:"h-8 w-auto"})]}),(0,o.jsxs)("button",{type:"button",onClick:()=>t(!1),className:"-m-2.5 rounded-md l-2.5 text-gray-700 outline-none",children:[(0,o.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,o.jsx)(y.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,o.jsx)("div",{className:"mt-6 flow-root",children:(0,o.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,o.jsx)("div",{className:"space-y-2 py-6",children:i.map(n=>(0,o.jsx)(A,{...n},n.name))})})})]})]})]})}function A({name:r,items:a,actions:i,href:s}){return!a&&s?(0,o.jsx)("a",{href:s,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:r}):(0,o.jsxs)(l.Disclosure,{as:"div",className:"-mx-3",children:[(0,o.jsx)(l.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:r}),(0,o.jsx)(l.DisclosurePanel,{className:"mt-2 space-y-2",children:a&&a.map(t=>(0,o.jsx)(l.DisclosureButton,{as:"a",href:t.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:t.name},t.name))})]})}var H=({type:r="solid",iconName:a="cloud",size:i="lg",className:s})=>{let t="fa-"+r+" ",N="fa-"+a,P=s!=null?s:"",u=t+N+" fa-"+i+" "+P;return(0,o.jsx)("i",{className:u})};var L={title:"Header/SimpleHeader",component:M},F=r=>(0,o.jsx)(H,{iconName:"github",type:"brands",...r}),W={args:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:y.ChartPieIcon},{name:"Engagement",description:"Interact with customers",href:"#",icon:y.CursorArrowRaysIcon},{name:"Security",description:"Protect your data",href:"#",icon:y.FingerPrintIcon}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:y.ChartPieIcon},{name:"API Reference",href:"#",icon:y.CursorArrowRaysIcon},{name:"Github",href:"#",icon:F}],actions:[{name:"Watch demo",href:"#",icon:g.PlayCircleIcon},{name:"Contact sales",href:"#",icon:g.PhoneIcon},{name:"View all products",href:"#",icon:g.RectangleGroupIcon}]},{name:"Company",href:"#"}]}};0&&(module.exports={Primary});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"../../chunk-64NIISYM.mjs";import"../../chunk-BUTUFEFR.mjs";import{a as e}from"../../chunk-
|
|
1
|
+
import{a as o}from"../../chunk-64NIISYM.mjs";import"../../chunk-BUTUFEFR.mjs";import{a as e}from"../../chunk-5VW5YOZB.mjs";import"../../chunk-D2WXBUVJ.mjs";import{ChartPieIcon as r,CursorArrowRaysIcon as t,FingerPrintIcon as a}from"@heroicons/react/24/outline";import{PhoneIcon as i,PlayCircleIcon as c,RectangleGroupIcon as m}from"@heroicons/react/20/solid";import{jsx as s}from"react/jsx-runtime";var l={title:"Header/SimpleHeader",component:o},p=n=>s(e,{iconName:"github",type:"brands",...n}),u={args:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:r},{name:"Engagement",description:"Interact with customers",href:"#",icon:t},{name:"Security",description:"Protect your data",href:"#",icon:a}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:r},{name:"API Reference",href:"#",icon:t},{name:"Github",href:"#",icon:p}],actions:[{name:"Watch demo",href:"#",icon:c},{name:"Contact sales",href:"#",icon:i},{name:"View all products",href:"#",icon:m}]},{name:"Company",href:"#"}]}};export{u as Primary,l as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var Ae=Object.create;var X=Object.defineProperty;var Le=Object.getOwnPropertyDescriptor;var He=Object.getOwnPropertyNames;var Ie=Object.getPrototypeOf,Ee=Object.prototype.hasOwnProperty;var Ge=(e,t)=>{for(var r in t)X(e,r,{get:t[r],enumerable:!0})},ge=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of He(t))!Ee.call(e,n)&&n!==r&&X(e,n,{get:()=>t[n],enumerable:!(o=Le(t,n))||o.enumerable});return e};var te=(e,t,r)=>(r=e!=null?Ae(Ie(e)):{},ge(t||!e||!e.__esModule?X(r,"default",{value:e,enumerable:!0}):r,e)),De=e=>ge(X({},"__esModule",{value:!0}),e);var Nt={};Ge(Nt,{ProjectTeam:()=>vt,RelatedContent:()=>wt,SimpleHeader:()=>bt});module.exports=De(Nt);var ke=require("clsx");var ne="-",je=e=>{let t=Be(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let s=i.split(ne);return s[0]===""&&s.length!==1&&s.shift(),xe(s,t)||$e(i)},getConflictingClassGroupIds:(i,s)=>{let m=r[i]||[];return s&&o[i]?[...m,...o[i]]:m}}},xe=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),n=o?xe(e.slice(1),o):void 0;if(n)return n;if(t.validators.length===0)return;let a=e.join(ne);return(i=t.validators.find(({validator:s})=>s(a)))==null?void 0:i.classGroupId},be=/^\[(.+)\]$/,$e=e=>{if(be.test(e)){let t=be.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Be=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return _e(Object.entries(e.classGroups),r).forEach(([a,i])=>{oe(i,o,a,t)}),o},oe=(e,t,r,o)=>{e.forEach(n=>{if(typeof n=="string"){let a=n===""?t:he(t,n);a.classGroupId=r;return}if(typeof n=="function"){if(We(n)){oe(n(o),t,r,o);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([a,i])=>{oe(i,he(t,a),r,o)})})},he=(e,t)=>{let r=e;return t.split(ne).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},We=e=>e.isThemeGetter,_e=(e,t)=>t?e.map(([r,o])=>{let n=o.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([i,s])=>[t+i,s])):a);return[r,n]}):e,Ve=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,n=(a,i)=>{r.set(a,i),t++,t>e&&(t=0,o=r,r=new Map)};return{get(a){let i=r.get(a);if(i!==void 0)return i;if((i=o.get(a))!==void 0)return n(a,i),i},set(a,i){r.has(a)?r.set(a,i):n(a,i)}}},ye="!",Fe=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,n=t[0],a=t.length,i=s=>{let m=[],g=0,h=0,w;for(let b=0;b<s.length;b++){let x=s[b];if(g===0){if(x===n&&(o||s.slice(b,b+a)===t)){m.push(s.slice(h,b)),h=b+a;continue}if(x==="/"){w=b;continue}}x==="["?g++:x==="]"&&g--}let y=m.length===0?s:s.substring(h),C=y.startsWith(ye),k=C?y.substring(1):y,d=w&&w>h?w-h:void 0;return{modifiers:m,hasImportantModifier:C,baseClassName:k,maybePostfixModifierPosition:d}};return r?s=>r({className:s,parseClassName:i}):i},Oe=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},Ue=e=>({cache:Ve(e.cacheSize),parseClassName:Fe(e),...je(e)}),qe=/\s+/,Xe=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:n}=t,a=[],i=e.trim().split(qe),s="";for(let m=i.length-1;m>=0;m-=1){let g=i[m],{modifiers:h,hasImportantModifier:w,baseClassName:y,maybePostfixModifierPosition:C}=r(g),k=!!C,d=o(k?y.substring(0,C):y);if(!d){if(!k){s=g+(s.length>0?" "+s:s);continue}if(d=o(y),!d){s=g+(s.length>0?" "+s:s);continue}k=!1}let b=Oe(h).join(":"),x=w?b+ye:b,M=x+d;if(a.includes(M))continue;a.push(M);let $=n(d,k);for(let L=0;L<$.length;++L){let O=$[L];a.push(x+O)}s=g+(s.length>0?" "+s:s)}return s};function Je(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ve(t))&&(o&&(o+=" "),o+=r);return o}var ve=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=ve(e[o]))&&(r&&(r+=" "),r+=t);return r};function Ke(e,...t){let r,o,n,a=i;function i(m){let g=t.reduce((h,w)=>w(h),e());return r=Ue(g),o=r.cache.get,n=r.cache.set,a=s,s(m)}function s(m){let g=o(m);if(g)return g;let h=Xe(m,r);return n(m,h),h}return function(){return a(Je.apply(null,arguments))}}var p=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},we=/^\[(?:([a-f-]+):)?(.+)\]$/i,Ye=/^\d+\/\d+$/,Ze=new Set(["px","full","screen"]),Qe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,et=/\d+(%|px|r?em|[sdl]?f([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,tt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,rt=/^(inset_)?-?((\d+)?\.?(\d+)[a-f]+|0)_-?((\d+)?\.?(\d+)[a-f]+|0)/,ot=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>G(e)||Ze.has(e)||Ye.test(e),T=e=>D(e,"length",pt),G=e=>!!e&&!Number.isNaN(Number(e)),re=e=>D(e,"number",G),W=e=>!!e&&Number.isInteger(Number(e)),nt=e=>e.endsWith("%")&&G(e.slice(0,-1)),l=e=>we.test(e),S=e=>Qe.test(e),st=new Set(["length","size","percentage"]),at=e=>D(e,st,Ne),lt=e=>D(e,"position",Ne),it=new Set(["image","url"]),ct=e=>D(e,it,mt),dt=e=>D(e,"",ut),_=()=>!0,D=(e,t,r)=>{let o=we.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},pt=e=>et.test(e)&&!tt.test(e),Ne=()=>!1,ut=e=>rt.test(e),mt=e=>ot.test(e);var ft=()=>{let e=p("colors"),t=p("spacing"),r=p("blur"),o=p("brightness"),n=p("borderColor"),a=p("borderRadius"),i=p("borderSpacing"),s=p("borderWidth"),m=p("contrast"),g=p("grayscale"),h=p("hueRotate"),w=p("invert"),y=p("gap"),C=p("gradientColorStops"),k=p("gradientColorStopPositions"),d=p("inset"),b=p("margin"),x=p("opacity"),M=p("padding"),$=p("saturate"),L=p("scale"),O=p("sepia"),ie=p("skew"),ce=p("space"),de=p("translate"),Y=()=>["auto","contain","none"],Z=()=>["auto","hidden","clip","visible","scroll"],Q=()=>["auto",l,t],u=()=>[l,t],pe=()=>["",R,T],U=()=>["auto",G,l],ue=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],q=()=>["solid","dashed","dotted","double","none"],me=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ee=()=>["start","end","center","between","around","evenly","stretch"],B=()=>["","0",l],fe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>[G,l];return{cacheSize:500,separator:":",theme:{colors:[_],spacing:[R,T],blur:["none","",S,l],brightness:P(),borderColor:[e],borderRadius:["none","","full",S,l],borderSpacing:u(),borderWidth:pe(),contrast:P(),grayscale:B(),hueRotate:P(),invert:B(),gap:u(),gradientColorStops:[e],gradientColorStopPositions:[nt,T],inset:Q(),margin:Q(),opacity:P(),padding:u(),saturate:P(),scale:P(),sepia:B(),skew:P(),space:u(),translate:u()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[S]}],"break-after":[{"break-after":fe()}],"break-before":[{"break-before":fe()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ue(),l]}],overflow:[{overflow:Z()}],"overflow-x":[{"overflow-x":Z()}],"overflow-y":[{"overflow-y":Z()}],overscroll:[{overscroll:Y()}],"overscroll-x":[{"overscroll-x":Y()}],"overscroll-y":[{"overscroll-y":Y()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[d]}],"inset-x":[{"inset-x":[d]}],"inset-y":[{"inset-y":[d]}],start:[{start:[d]}],end:[{end:[d]}],top:[{top:[d]}],right:[{right:[d]}],bottom:[{bottom:[d]}],left:[{left:[d]}],visibility:["visible","invisible","collapse"],f:[{f:["auto",W,l]}],basis:[{basis:Q()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:B()}],shrink:[{shrink:B()}],order:[{order:["first","last","none",W,l]}],"grid-cols":[{"grid-cols":[_]}],"col-start-end":[{col:["auto",{span:["full",W,l]},l]}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":[_]}],"row-start-end":[{row:["auto",{span:[W,l]},l]}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...ee()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ee(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ee(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[M]}],px:[{px:[M]}],py:[{py:[M]}],ps:[{ps:[M]}],pe:[{pe:[M]}],pt:[{pt:[M]}],pr:[{pr:[M]}],pb:[{pb:[M]}],pl:[{pl:[M]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[ce]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ce]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[S]},S]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",S,T]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",re]}],"font-family":[{font:[_]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",G,re]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...q(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,T]}],"underline-offset":[{"underline-offset":["auto",R,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:u()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ue(),lt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",at]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ct]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...q(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:q()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...q()]}],"outline-offset":[{"outline-offset":[R,l]}],"outline-w":[{outline:[R,T]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:pe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[R,T]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,dt]}],"shadow-color":[{shadow:[_]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...me(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":me()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[m]}],"drop-shadow":[{"drop-shadow":["","none",S,l]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[w]}],saturate:[{saturate:[$]}],sepia:[{sepia:[O]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[m]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[$]}],"backdrop-sepia":[{"backdrop-sepia":[O]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:P()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:P()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[W,l]}],"translate-x":[{"translate-x":[de]}],"translate-y":[{"translate-y":[de]}],"skew-x":[{"skew-x":[ie]}],"skew-y":[{"skew-y":[ie]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":u()}],"scroll-mx":[{"scroll-mx":u()}],"scroll-my":[{"scroll-my":u()}],"scroll-ms":[{"scroll-ms":u()}],"scroll-me":[{"scroll-me":u()}],"scroll-mt":[{"scroll-mt":u()}],"scroll-mr":[{"scroll-mr":u()}],"scroll-mb":[{"scroll-mb":u()}],"scroll-ml":[{"scroll-ml":u()}],"scroll-p":[{"scroll-p":u()}],"scroll-px":[{"scroll-px":u()}],"scroll-py":[{"scroll-py":u()}],"scroll-ps":[{"scroll-ps":u()}],"scroll-pe":[{"scroll-pe":u()}],"scroll-pt":[{"scroll-pt":u()}],"scroll-pr":[{"scroll-pr":u()}],"scroll-pb":[{"scroll-pb":u()}],"scroll-pl":[{"scroll-pl":u()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,T,re]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ce=Ke(ft);function A(...e){return Ce((0,ke.clsx)(e))}var H=require("react"),N=require("@headlessui/react"),K=require("@heroicons/react/24/outline"),V=require("@heroicons/react/20/solid");var f=require("react/jsx-runtime"),gt=({name:e,items:t,actions:r=[],href:o})=>!t&&o?(0,f.jsxs)("a",{href:o,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,f.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}):(0,f.jsxs)(N.Popover,{children:[(0,f.jsxs)(N.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,f.jsxs)("span",{className:"relative",children:[e,(0,f.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,f.jsx)(V.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,f.jsxs)(N.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -f-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,f.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 f-50",children:t&&t.map(n=>(0,f.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,f.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,f.jsx)(n.icon,{"aria-hidden":"true",size:"6x"})}),(0,f.jsxs)("a",{href:n.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[n.name,(0,f.jsx)("span",{className:"absolute inset-0"})]}),(0,f.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),r.length>0&&(0,f.jsx)("div",{className:"bg-gray-50",children:(0,f.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,f.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(n=>(0,f.jsxs)("a",{href:n.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,f.jsx)(n.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),Pe=gt;var J=["light","dark","green"];function bt({title:e,logo:t,menuItems:r}){let[o,n]=(0,H.useState)(!1),[a,i]=(0,H.useState)(!1),[s,m]=(0,H.useState)("light"),g=t==null?void 0:t.split(".")[0],h=t==null?void 0:t.split(".")[1],[w,y]=(0,H.useState)(`${g}.${h}`),C=d=>{J.includes(d)?y(d==="light"?`${g}.${h}`:`${g}-${d}.${h}`):y(`${g}.${h}`)};(0,H.useEffect)(()=>{let d=localStorage.getItem("theme")||"light";console.log("storedTheme",d),m(d),document.documentElement.setAttribute("class",d),C(d)},[]);let k=()=>{let d=J[(J.indexOf(s)+1)%J.length];m(d),document.documentElement.setAttribute("class",d),localStorage.setItem("theme",d),C(d)};return(0,f.jsxs)("header",{className:"relative isolate f-10 bg-background h-14",children:[(0,f.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,f.jsx)("div",{className:"flex lg:flex-1",children:(0,f.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,f.jsx)("span",{className:"sr-only",children:e}),(0,f.jsx)("img",{alt:e,src:w,className:"h-9 w-auto"})]})}),(0,f.jsx)("div",{className:"flex lg:hidden",children:(0,f.jsxs)("button",{type:"button",onClick:()=>n(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,f.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,f.jsx)(K.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,f.jsx)(N.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:r.map(d=>(0,f.jsx)(Pe,{...d},d.name))}),(0,f.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,f.jsx)("button",{onClick:k,className:"p-2 text-gray-700 outline-none",children:s==="dark"?(0,f.jsx)(V.SunIcon,{className:"h-6 w-6"}):s==="green"?(0,f.jsx)(V.MoonIcon,{className:"h-6 w-6"}):(0,f.jsx)(V.SunIcon,{className:"h-6 w-6"})})})]}),(0,f.jsxs)(N.Dialog,{open:o,onClose:n,className:"lg:hidden",children:[(0,f.jsx)("div",{className:"fixed inset-0 f-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,f.jsxs)(N.DialogPanel,{className:"fixed inset-y-0 right-0 f-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,f.jsxs)("div",{className:"flex items-center justify-between",children:[(0,f.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,f.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,f.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,f.jsxs)("button",{type:"button",onClick:()=>n(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,f.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,f.jsx)(K.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,f.jsx)("div",{className:"mt-6 flow-root",children:(0,f.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,f.jsx)("div",{className:"space-y-2 py-6",children:r.map(d=>(0,f.jsx)(ht,{...d},d.name))})})})]})]})]})}function ht({name:e,items:t,actions:r,href:o}){return!t&&o?(0,f.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,f.jsxs)(N.Disclosure,{as:"div",className:"-mx-3",children:[(0,f.jsx)(N.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,f.jsx)(N.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(n=>(0,f.jsx)(N.DisclosureButton,{as:"a",href:n.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:n.name},n.name))})]})}var I=te(require("react"));var F=I.forwardRef(({className:e,...t},r)=>(0,f.jsx)("div",{ref:r,className:A("rounded-xl border bg-card text-card-foreground shadow",e),...t}));F.displayName="Card";var se=I.forwardRef(({className:e,...t},r)=>(0,f.jsx)("div",{ref:r,className:A("flex flex-col space-y-1.5 p-6",e),...t}));se.displayName="CardHeader";var ae=I.forwardRef(({className:e,...t},r)=>(0,f.jsx)("div",{ref:r,className:A("font-semibold leading-none tracking-tight",e),...t}));ae.displayName="CardTitle";var xt=I.forwardRef(({className:e,...t},r)=>(0,f.jsx)("div",{ref:r,className:A("text-sm text-muted-foreground",e),...t}));xt.displayName="CardDescription";var le=I.forwardRef(({className:e,...t},r)=>(0,f.jsx)("div",{ref:r,className:A("p-6 pt-0",e),...t}));le.displayName="CardContent";var yt=I.forwardRef(({className:e,...t},r)=>(0,f.jsx)("div",{ref:r,className:A("flex items-center p-6 pt-0",e),...t}));yt.displayName="CardFooter";var Re=require("lucide-react"),ze=te(require("next/image"));function vt({title:e,members:t}){return(0,f.jsx)(F,{className:"mb-6",children:(0,f.jsxs)("div",{className:"p-6",children:[(0,f.jsxs)("div",{className:"flex items-center mb-4",children:[(0,f.jsx)(Re.Users,{className:"w-6 h-6 text-accent mr-2"}),(0,f.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:e})]}),(0,f.jsx)("div",{className:"space-y-4",children:t.map((r,o)=>(0,f.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,f.jsx)("div",{className:"relative w-12 h-12 rounded-full overflow-hidden",children:r.avatar&&(0,f.jsx)(ze.default,{src:r.avatar,alt:r.name,layout:"fill",objectFit:"cover"})}),(0,f.jsxs)("div",{children:[(0,f.jsx)("p",{className:"font-semibold text-foreground",children:r.name}),r.role&&(0,f.jsx)("p",{className:"text-sm text-muted-foreground",children:r.role})]})]},o))})]})})}var Te=te(require("next/link"));var wt=({links:e})=>(0,f.jsxs)(F,{children:[(0,f.jsx)(se,{children:(0,f.jsx)(ae,{children:"Related"})}),(0,f.jsx)(le,{children:(0,f.jsx)("nav",{className:"flex flex-col space-y-2",children:e.map((t,r)=>(0,f.jsxs)(Te.default,{href:t.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[t.title,t.url.startsWith("http")&&(0,f.jsx)(Re.ExternalLink,{className:"ml-1 h-3 w-3"})]},r))})})]});0&&(module.exports={ProjectTeam,RelatedContent,SimpleHeader});
|
|
4
|
+
"use strict";var Vt=Object.create;var Ce=Object.defineProperty;var $t=Object.getOwnPropertyDescriptor;var Wt=Object.getOwnPropertyNames;var jt=Object.getPrototypeOf,Ut=Object.prototype.hasOwnProperty;var Kt=(e,t)=>{for(var r in t)Ce(e,r,{get:t[r],enumerable:!0})},rt=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Wt(t))!Ut.call(e,a)&&a!==r&&Ce(e,a,{get:()=>t[a],enumerable:!(o=$t(t,a))||o.enumerable});return e};var L=(e,t,r)=>(r=e!=null?Vt(jt(e)):{},rt(t||!e||!e.__esModule?Ce(r,"default",{value:e,enumerable:!0}):r,e)),qt=e=>rt(Ce({},"__esModule",{value:!0}),e);var no={};Kt(no,{ProjectTeam:()=>oo,RelatedContent:()=>ao,SidebarLeft:()=>qr,SidebarRight:()=>Jr,SimpleHeader:()=>Qr});module.exports=qt(no);var ot=require("react/jsx-runtime"),Ee=({type:e="solid",iconName:t="cloud",size:r="lg",className:o})=>{let a="fa-"+e+" ",i="fa-"+t,d=o!=null?o:"",s=a+i+" fa-"+r+" "+d;return(0,ot.jsx)("i",{className:s})};var Ht=require("lucide-react");var ee=L(require("@radix-ui/react-collapsible")),X=ee.Root,te=ee.CollapsibleTrigger,re=ee.CollapsibleContent;var je=L(require("clsx"));var ut=require("clsx");var Ae="-",Xt=e=>{let t=Jt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:d=>{let s=d.split(Ae);return s[0]===""&&s.length!==1&&s.shift(),it(s,t)||Yt(d)},getConflictingClassGroupIds:(d,s)=>{let f=r[d]||[];return s&&o[d]?[...f,...o[d]]:f}}},it=(e,t)=>{var d;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?it(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let i=e.join(Ae);return(d=t.validators.find(({validator:s})=>s(i)))==null?void 0:d.classGroupId},at=/^\[(.+)\]$/,Yt=e=>{if(at.test(e)){let t=at.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Jt=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return Qt(Object.entries(e.classGroups),r).forEach(([i,d])=>{He(d,o,i,t)}),o},He=(e,t,r,o)=>{e.forEach(a=>{if(typeof a=="string"){let i=a===""?t:nt(t,a);i.classGroupId=r;return}if(typeof a=="function"){if(Zt(a)){He(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([i,d])=>{He(d,nt(t,i),r,o)})})},nt=(e,t)=>{let r=e;return t.split(Ae).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Zt=e=>e.isThemeGetter,Qt=(e,t)=>t?e.map(([r,o])=>{let a=o.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([d,s])=>[t+d,s])):i);return[r,a]}):e,er=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,a=(i,d)=>{r.set(i,d),t++,t>e&&(t=0,o=r,r=new Map)};return{get(i){let d=r.get(i);if(d!==void 0)return d;if((d=o.get(i))!==void 0)return a(i,d),d},set(i,d){r.has(i)?r.set(i,d):a(i,d)}}},st="!",tr=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,a=t[0],i=t.length,d=s=>{let f=[],v=0,x=0,M;for(let b=0;b<s.length;b++){let w=s[b];if(v===0){if(w===a&&(o||s.slice(b,b+i)===t)){f.push(s.slice(x,b)),x=b+i;continue}if(w==="/"){M=b;continue}}w==="["?v++:w==="]"&&v--}let y=f.length===0?s:s.substring(x),C=y.startsWith(st),k=C?y.substring(1):y,l=M&&M>x?M-x:void 0;return{modifiers:f,hasImportantModifier:C,baseClassName:k,maybePostfixModifierPosition:l}};return r?s=>r({className:s,parseClassName:d}):d},rr=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},or=e=>({cache:er(e.cacheSize),parseClassName:tr(e),...Xt(e)}),ar=/\s+/,nr=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,i=[],d=e.trim().split(ar),s="";for(let f=d.length-1;f>=0;f-=1){let v=d[f],{modifiers:x,hasImportantModifier:M,baseClassName:y,maybePostfixModifierPosition:C}=r(v),k=!!C,l=o(k?y.substring(0,C):y);if(!l){if(!k){s=v+(s.length>0?" "+s:s);continue}if(l=o(y),!l){s=v+(s.length>0?" "+s:s);continue}k=!1}let b=rr(x).join(":"),w=M?b+st:b,R=w+l;if(i.includes(R))continue;i.push(R);let _=a(l,k);for(let q=0;q<_.length;++q){let ye=_[q];i.push(w+ye)}s=v+(s.length>0?" "+s:s)}return s};function ir(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=lt(t))&&(o&&(o+=" "),o+=r);return o}var lt=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=lt(e[o]))&&(r&&(r+=" "),r+=t);return r};function sr(e,...t){let r,o,a,i=d;function d(f){let v=t.reduce((x,M)=>M(x),e());return r=or(v),o=r.cache.get,a=r.cache.set,i=s,s(f)}function s(f){let v=o(f);if(v)return v;let x=nr(f,r);return a(f,x),x}return function(){return i(ir.apply(null,arguments))}}var S=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},dt=/^\[(?:([a-ot-]+):)?(.+)\]$/i,lr=/^\d+\/\d+$/,dr=new Set(["px","full","screen"]),cr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,pr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|ot|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ur=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,mr=/^(inset_)?-?((\d+)?\.?(\d+)[a-ot]+|0)_-?((\d+)?\.?(\d+)[a-ot]+|0)/,br=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$=e=>oe(e)||dr.has(e)||lr.test(e),U=e=>ae(e,"length",Sr),oe=e=>!!e&&!Number.isNaN(Number(e)),ze=e=>ae(e,"number",oe),ue=e=>!!e&&Number.isInteger(Number(e)),fr=e=>e.endsWith("%")&&oe(e.slice(0,-1)),u=e=>dt.test(e),K=e=>cr.test(e),gr=new Set(["length","size","percentage"]),hr=e=>ae(e,gr,ct),vr=e=>ae(e,"position",ct),xr=new Set(["image","url"]),yr=e=>ae(e,xr,Rr),wr=e=>ae(e,"",Cr),me=()=>!0,ae=(e,t,r)=>{let o=dt.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},Sr=e=>pr.test(e)&&!ur.test(e),ct=()=>!1,Cr=e=>mr.test(e),Rr=e=>br.test(e);var Nr=()=>{let e=S("colors"),t=S("spacing"),r=S("blur"),o=S("brightness"),a=S("borderColor"),i=S("borderRadius"),d=S("borderSpacing"),s=S("borderWidth"),f=S("contrast"),v=S("grayscale"),x=S("hueRotate"),M=S("invert"),y=S("gap"),C=S("gradientColorStops"),k=S("gradientColorStopPositions"),l=S("inset"),b=S("margin"),w=S("opacity"),R=S("padding"),_=S("saturate"),q=S("scale"),ye=S("sepia"),Xe=S("skew"),Ye=S("space"),Je=S("translate"),ke=()=>["auto","contain","none"],Te=()=>["auto","hidden","clip","visible","scroll"],Ie=()=>["auto",u,t],N=()=>[u,t],Ze=()=>["",$,U],we=()=>["auto",oe,u],Qe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Se=()=>["solid","dashed","dotted","double","none"],et=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Le=()=>["start","end","center","between","around","evenly","stretch"],pe=()=>["","0",u],tt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>[oe,u];return{cacheSize:500,separator:":",theme:{colors:[me],spacing:[$,U],blur:["none","",K,u],brightness:V(),borderColor:[e],borderRadius:["none","","full",K,u],borderSpacing:N(),borderWidth:Ze(),contrast:V(),grayscale:pe(),hueRotate:V(),invert:pe(),gap:N(),gradientColorStops:[e],gradientColorStopPositions:[fr,U],inset:Ie(),margin:Ie(),opacity:V(),padding:N(),saturate:V(),scale:V(),sepia:pe(),skew:V(),space:N(),translate:N()},classGroups:{aspect:[{aspect:["auto","square","video",u]}],container:["container"],columns:[{columns:[K]}],"break-after":[{"break-after":tt()}],"break-before":[{"break-before":tt()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Qe(),u]}],overflow:[{overflow:Te()}],"overflow-x":[{"overflow-x":Te()}],"overflow-y":[{"overflow-y":Te()}],overscroll:[{overscroll:ke()}],"overscroll-x":[{"overscroll-x":ke()}],"overscroll-y":[{"overscroll-y":ke()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[l]}],"inset-x":[{"inset-x":[l]}],"inset-y":[{"inset-y":[l]}],start:[{start:[l]}],end:[{end:[l]}],top:[{top:[l]}],right:[{right:[l]}],bottom:[{bottom:[l]}],left:[{left:[l]}],visibility:["visible","invisible","collapse"],ot:[{ot:["auto",ue,u]}],basis:[{basis:Ie()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",u]}],grow:[{grow:pe()}],shrink:[{shrink:pe()}],order:[{order:["first","last","none",ue,u]}],"grid-cols":[{"grid-cols":[me]}],"col-start-end":[{col:["auto",{span:["full",ue,u]},u]}],"col-start":[{"col-start":we()}],"col-end":[{"col-end":we()}],"grid-rows":[{"grid-rows":[me]}],"row-start-end":[{row:["auto",{span:[ue,u]},u]}],"row-start":[{"row-start":we()}],"row-end":[{"row-end":we()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",u]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",u]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...Le()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Le(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Le(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[R]}],px:[{px:[R]}],py:[{py:[R]}],ps:[{ps:[R]}],pe:[{pe:[R]}],pt:[{pt:[R]}],pr:[{pr:[R]}],pb:[{pb:[R]}],pl:[{pl:[R]}],ot:[{ot:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],ot:[{ot:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[Ye]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Ye]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",u,t]}],"min-w":[{"min-w":[u,t,"min","max","fit"]}],"max-w":[{"max-w":[u,t,"none","full","min","max","fit","prose",{screen:[K]},K]}],ot:[{ot:[u,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-ot":[{"min-ot":[u,t,"min","max","fit","svh","lvh","dvh"]}],"max-ot":[{"max-ot":[u,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[u,t,"auto","min","max","fit"]}],"font-size":[{text:["base",K,U]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ze]}],"font-family":[{font:[me]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",u]}],"line-clamp":[{"line-clamp":["none",oe,ze]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",$,u]}],"list-image":[{"list-image":["none",u]}],"list-style-type":[{list:["none","disc","decimal",u]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Se(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",$,U]}],"underline-offset":[{"underline-offset":["auto",$,u]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",u]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",u]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Qe(),vr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",hr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},yr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...Se(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:Se()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...Se()]}],"outline-offset":[{"outline-offset":[$,u]}],"outline-w":[{outline:[$,U]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ze()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[$,U]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",K,wr]}],"shadow-color":[{shadow:[me]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...et(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":et()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[f]}],"drop-shadow":[{"drop-shadow":["","none",K,u]}],grayscale:[{grayscale:[v]}],"hue-rotate":[{"hue-rotate":[x]}],invert:[{invert:[M]}],saturate:[{saturate:[_]}],sepia:[{sepia:[ye]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[f]}],"backdrop-grayscale":[{"backdrop-grayscale":[v]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[x]}],"backdrop-invert":[{"backdrop-invert":[M]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[_]}],"backdrop-sepia":[{"backdrop-sepia":[ye]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[d]}],"border-spacing-x":[{"border-spacing-x":[d]}],"border-spacing-y":[{"border-spacing-y":[d]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",u]}],duration:[{duration:V()}],ease:[{ease:["linear","in","out","in-out",u]}],delay:[{delay:V()}],animate:[{animate:["none","spin","ping","pulse","bounce",u]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[q]}],"scale-x":[{"scale-x":[q]}],"scale-y":[{"scale-y":[q]}],rotate:[{rotate:[ue,u]}],"translate-x":[{"translate-x":[Je]}],"translate-y":[{"translate-y":[Je]}],"skew-x":[{"skew-x":[Xe]}],"skew-y":[{"skew-y":[Xe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",u]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","ot-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",u]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-ot":[{"scroll-ot":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-ot":[{"scroll-ot":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",u]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[$,U,ze]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],ot:["mx","my","ms","me","ot","mr","mb","ml"],mx:["mr","ml"],my:["ot","mb"],size:["w","ot"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-ot":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-ot","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-ot","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var pt=sr(Nr);function p(...e){return pt((0,ut.clsx)(e))}function T({className:e,...t}){return(0,ot.jsx)("div",{className:p("animate-pulse rounded-md bg-primary/10",e),...t})}var g=L(require("react")),ne=require("@radix-ui/react-slot"),Lt=require("class-variance-authority");var Re=require("react"),bt=(e=768)=>{let[t,r]=(0,Re.useState)(!1);return(0,Re.useEffect)(()=>{let o=()=>{r(window.innerWidth<e)};return o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[e]),t};var ht=L(require("react")),Mr=(0,Lt.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"ot-10 px-4 py-2",icon:"ot-10 w-10",lg:"ot-11 rounded px-8",sm:"ot-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),Be=ht.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...a},i)=>(0,ot.jsx)(e?ne.Slot:"button",{className:p(Mr({className:t,size:r,variant:o})),ref:i,...a}));Be.displayName="Button";var xt=L(require("react"));var De=xt.forwardRef(({className:e,type:t,...r},o)=>(0,ot.jsx)("input",{type:t,className:p("flex ot-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...r}));De.displayName="Input";var wt=L(require("react")),Ge=L(require("@radix-ui/react-separator"));var _e=wt.forwardRef(({className:e,orientation:t="horizontal",decorative:r=!0,...o},a)=>(0,ot.jsx)(Ge.Root,{ref:a,decorative:r,orientation:t,className:p("shrink-0 bg-border",t==="horizontal"?"ot-[1px] w-full":"ot-full w-[1px]",e),...o}));_e.displayName=Ge.Root.displayName;var be=L(require("react")),I=L(require("@radix-ui/react-dialog")),Ct=require("@radix-ui/react-icons");var Nt=I.Root;var Pr=I.Portal,Mt=be.forwardRef(({className:e,...t},r)=>(0,ot.jsx)(I.Overlay,{className:p("fixed inset-0 ot-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:r}));Mt.displayName=I.Overlay.displayName;var kr=(0,Lt.cva)("fixed ot-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 ot-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 ot-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),Oe=be.forwardRef(({side:e="right",className:t,children:r,...o},a)=>(0,ot.jsxs)(Pr,{children:[(0,ot.jsx)(Mt,{}),(0,ot.jsxs)(I.Content,{ref:a,className:p(kr({side:e}),t),...o,children:[(0,ot.jsxs)(I.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,ot.jsx)(Ct.Cross2Icon,{className:"ot-4 w-4"}),(0,ot.jsx)("span",{className:"sr-only",children:"Close"})]}),r]})]}));Oe.displayName=I.Content.displayName;var Tr=({className:e,...t})=>(0,ot.jsx)("div",{className:p("flex flex-col space-y-2 text-center sm:text-left",e),...t});Tr.displayName="SheetHeader";var Ir=({className:e,...t})=>(0,ot.jsx)("div",{className:p("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});Ir.displayName="SheetFooter";var Lr=be.forwardRef(({className:e,...t},r)=>(0,ot.jsx)(I.Title,{ref:r,className:p("text-lg font-semibold text-foreground",e),...t}));Lr.displayName=I.Title.displayName;var Er=be.forwardRef(({className:e,...t},r)=>(0,ot.jsx)(I.Description,{ref:r,className:p("text-sm text-muted-foreground",e),...t}));Er.displayName=I.Description.displayName;var Pt=L(require("react")),G=L(require("@radix-ui/react-tooltip"));var kt=G.Provider,Tt=G.Root,It=G.Trigger,Ve=Pt.forwardRef(({className:e,sideOffset:t=4,...r},o)=>(0,ot.jsx)(G.Portal,{children:(0,ot.jsx)(G.Content,{ref:o,sideOffset:t,className:p("ot-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r})}));Ve.displayName=G.Content.displayName;var zr="sidebar:state",Hr=60*60*24*7,Ar="16rem",Br="18rem",Dr="3rem",Gr="b",zt=g.createContext(null);function Ne(){let e=g.useContext(zt);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}var _r=g.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:r,className:o,style:a,children:i,...d},s)=>{let f=bt(),[v,x]=g.useState(!1),[M,y]=g.useState(e),C=t!=null?t:M,k=g.useCallback(R=>{if(r)return r==null?void 0:r(typeof R=="function"?R(C):R);y(R),document.cookie=`${zr}=${C}; path=/; max-age=${Hr}`},[r,C]),l=g.useCallback(()=>f?x(R=>!R):k(R=>!R),[f,k,x]);g.useEffect(()=>{let R=_=>{_.key===Gr&&(_.metaKey||_.ctrlKey)&&(_.preventDefault(),l())};return window.addEventListener("keydown",R),()=>window.removeEventListener("keydown",R)},[l]);let b=C?"expanded":"collapsed",w=g.useMemo(()=>({state:b,open:C,setOpen:k,isMobile:f,openMobile:v,setOpenMobile:x,toggleSidebar:l}),[b,C,k,f,v,x,l]);return(0,ot.jsx)(zt.Provider,{value:w,children:(0,ot.jsx)(kt,{delayDuration:0,children:(0,ot.jsx)("div",{style:{"--sidebar-width":Ar,"--sidebar-width-icon":Dr,...a},className:p("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",o),ref:s,...d,children:i})})})});_r.displayName="SidebarProvider";var fe=g.forwardRef(({side:e="left",variant:t="sidebar",collapsible:r="offcanvas",className:o,children:a,...i},d)=>{let{isMobile:s,state:f,openMobile:v,setOpenMobile:x}=Ne();return r==="none"?(0,ot.jsx)("div",{className:p("flex ot-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",o),ref:d,...i,children:a}):s?(0,ot.jsx)(Nt,{open:v,onOpenChange:x,...i,children:(0,ot.jsx)(Oe,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":Br},side:e,children:(0,ot.jsx)("div",{className:"flex ot-full w-full flex-col",children:a})})}):(0,ot.jsxs)("div",{ref:d,className:"group peer hidden md:block text-sidebar-foreground","data-state":f,"data-collapsible":f==="collapsed"?r:"","data-variant":t,"data-side":e,children:[(0,ot.jsx)("div",{className:p("duration-200 relative ot-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),(0,ot.jsx)("div",{className:p("duration-200 fixed top-14 bottom-0 ot-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",o),...i,children:(0,ot.jsx)("div",{"data-sidebar":"sidebar",className:"flex ot-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:a})})]})});fe.displayName="Sidebar";var Or=g.forwardRef(({className:e,onClick:t,...r},o)=>{let{toggleSidebar:a}=Ne();return(0,ot.jsxs)(Be,{ref:o,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:p("ot-7 w-7",e),onClick:i=>{t==null||t(i),a()},...r,children:[(0,ot.jsx)(Ht.PanelLeft,{}),(0,ot.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});Or.displayName="SidebarTrigger";var Fr=g.forwardRef(({className:e,...t},r)=>{let{toggleSidebar:o}=Ne();return(0,ot.jsx)("button",{ref:r,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:o,title:"Toggle Sidebar",className:p("absolute inset-y-0 ot-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e),...t})});Fr.displayName="SidebarRail";var Vr=g.forwardRef(({className:e,...t},r)=>(0,ot.jsx)("main",{ref:r,className:p("flex flex-1 flex-col bg-background overflow-y-auto relative max-ot-full","md:peer-data-[variant=inset]:ot-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",e),...t}));Vr.displayName="SidebarInset";var $r=g.forwardRef(({className:e,...t},r)=>(0,ot.jsx)(De,{ref:r,"data-sidebar":"input",className:p("ot-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));$r.displayName="SidebarInput";var ge=g.forwardRef(({className:e,...t},r)=>(0,ot.jsx)("div",{ref:r,"data-sidebar":"header",className:p("flex flex-col gap-2 p-2",e),...t}));ge.displayName="SidebarHeader";var he=g.forwardRef(({className:e,...t},r)=>(0,ot.jsx)("div",{ref:r,"data-sidebar":"footer",className:p("flex flex-col gap-2 p-2",e),...t}));he.displayName="SidebarFooter";var $e=g.forwardRef(({className:e,...t},r)=>(0,ot.jsx)(_e,{ref:r,"data-sidebar":"separator",className:p("mx-2 w-auto bg-sidebar-border",e),...t}));$e.displayName="SidebarSeparator";var ie=g.forwardRef(({className:e,...t},r)=>(0,ot.jsx)("div",{ref:r,"data-sidebar":"content",className:p("flex min-ot-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));ie.displayName="SidebarContent";var O=g.forwardRef(({className:e,...t},r)=>(0,ot.jsx)("div",{ref:r,"data-sidebar":"group",className:p("relative flex w-full min-w-0 flex-col p-2",e),...t}));O.displayName="SidebarGroup";var Y=g.forwardRef(({className:e,asChild:t=!1,...r},o)=>(0,ot.jsx)(t?ne.Slot:"div",{ref:o,"data-sidebar":"group-label",className:p("duration-200 flex ot-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-ot-8 group-data-[collapsible=icon]:opacity-0",e),...r}));Y.displayName="SidebarGroupLabel";var Wr=g.forwardRef(({className:e,asChild:t=!1,...r},o)=>(0,ot.jsx)(t?ne.Slot:"button",{ref:o,"data-sidebar":"group-action",className:p("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",e),...r}));Wr.displayName="SidebarGroupAction";var W=g.forwardRef(({className:e,...t},r)=>(0,ot.jsx)("div",{ref:r,"data-sidebar":"group-content",className:p("w-full text-sm",e),...t}));W.displayName="SidebarGroupContent";var B=g.forwardRef(({className:e,...t},r)=>(0,ot.jsx)("ul",{ref:r,"data-sidebar":"menu",className:p("flex w-full min-w-0 flex-col gap-1",e),...t}));B.displayName="SidebarMenu";var E=g.forwardRef(({className:e,...t},r)=>(0,ot.jsx)("li",{ref:r,"data-sidebar":"menu-item",className:p("group/menu-item relative",e),...t}));E.displayName="SidebarMenuItem";var jr=(0,Lt.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"ot-8 text-sm",sm:"ot-7 text-xs",lg:"ot-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),F=g.forwardRef(({asChild:e=!1,isActive:t=!1,variant:r="default",size:o="default",tooltip:a,className:i,...d},s)=>{let f=e?ne.Slot:"button",{isMobile:v,state:x}=Ne(),M=(0,ot.jsx)(f,{ref:s,"data-sidebar":"menu-button","data-size":o,"data-active":t,className:p(jr({variant:r,size:o}),i),...d});return a?(typeof a=="string"&&(a={children:a}),(0,ot.jsxs)(Tt,{children:[(0,ot.jsx)(It,{asChild:!0,children:M}),(0,ot.jsx)(Ve,{side:"right",align:"center",hidden:x!=="collapsed"||v,...a})]})):M});F.displayName="SidebarMenuButton";var We=g.forwardRef(({className:e,asChild:t=!1,showOnHover:r=!1,...o},a)=>(0,ot.jsx)(t?ne.Slot:"button",{ref:a,"data-sidebar":"menu-action",className:p("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",r&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",e),...o}));We.displayName="SidebarMenuAction";var Ur=g.forwardRef(({className:e,...t},r)=>(0,ot.jsx)("div",{ref:r,"data-sidebar":"menu-badge",className:p("absolute right-1 flex ot-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e),...t}));Ur.displayName="SidebarMenuBadge";var Kr=g.forwardRef(({className:e,showIcon:t=!1,...r},o)=>{let a=g.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,ot.jsxs)("div",{ref:o,"data-sidebar":"menu-skeleton",className:p("rounded-md ot-8 flex gap-2 px-2 items-center",e),...r,children:[t&&(0,ot.jsx)(T,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,ot.jsx)(T,{className:"ot-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":a}})]})});Kr.displayName="SidebarMenuSkeleton";var se=g.forwardRef(({className:e,...t},r)=>(0,ot.jsx)("ul",{ref:r,"data-sidebar":"menu-sub",className:p("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));se.displayName="SidebarMenuSub";var le=g.forwardRef(({...e},t)=>(0,ot.jsx)("li",{ref:t,...e}));le.displayName="SidebarMenuSubItem";var de=g.forwardRef(({asChild:e=!1,size:t="md",isActive:r,className:o,...a},i)=>(0,ot.jsx)(e?ne.Slot:"a",{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":r,className:p("flex ot-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",t==="sm"&&"text-xs",t==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",o),...a}));de.displayName="SidebarMenuSubButton";function qr({mainNav:e,secondaryNav:t,title:r,subTitle:o,pathName:a,menuHeading:i,onNavClick:d,loading:s=!1,LinkComponent:f,...v}){let M=f?y=>(0,ot.jsx)(f,{...y}):d?({href:y,children:C,...k})=>(0,ot.jsx)("button",{onClick:()=>d&&d(y),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...k,children:C}):y=>(0,ot.jsx)("a",{...y});return(0,ot.jsxs)(fe,{...v,variant:"inset",children:[(0,ot.jsx)(ge,{children:(0,ot.jsx)(B,{children:(0,ot.jsx)(E,{children:s?(0,ot.jsxs)("div",{className:"grid flex-1 p-2 text-left text-ot leading-tight",children:[(0,ot.jsx)(T,{className:"bg-gray-200 my-2 w-full ot-7"}),(0,ot.jsx)(T,{className:"bg-gray-200 w-3/4 my-2 ot-5"})]}):(0,ot.jsxs)("div",{className:"grid flex-1 p-2 text-left text-ot leading-tight",children:[(0,ot.jsx)("span",{className:"truncate font-semibold",children:r}),o&&(0,ot.jsx)("span",{className:"truncate text-sm",children:o})]})})})}),s&&(0,ot.jsxs)(ie,{children:[(0,ot.jsx)(T,{className:"bg-gray-200 w-3/4 ot-5"}),(0,ot.jsx)(T,{className:"bg-gray-200 w-3/4 ot-5"}),(0,ot.jsx)(T,{className:"bg-gray-200 w-3/4 ot-5"}),(0,ot.jsx)(T,{className:"bg-gray-200 w-3/4 ot-5"}),(0,ot.jsx)(T,{className:"bg-gray-200 w-3/4 ot-5"}),(0,ot.jsx)(T,{className:"bg-gray-200 w-3/4 ot-5"}),(0,ot.jsx)(T,{className:"bg-gray-200 w-3/4 ot-5"}),(0,ot.jsx)(T,{className:"bg-gray-200 w-3/4 ot-5"}),(0,ot.jsx)(T,{className:"bg-gray-200 w-3/4 ot-5"}),(0,ot.jsx)(T,{className:"bg-gray-200 w-3/4 ot-5"})]}),(0,ot.jsxs)(ie,{children:[e&&!s&&e.map((y,C)=>(0,ot.jsx)(Xr,{subNav:y,pathName:a,Link:M},C)),(0,ot.jsx)(O,{className:"ot-auto",children:(0,ot.jsx)(W,{children:(0,ot.jsx)(B,{children:t&&!s&&t.map(y=>(0,ot.jsx)(E,{children:(0,ot.jsx)(F,{asChild:!0,size:"sm",children:(0,ot.jsxs)(M,{href:y.url||"",children:[y.icon&&(0,ot.jsx)(y.icon,{}),(0,ot.jsx)("span",{children:y.label})]})})},y.label))})})})]}),(0,ot.jsx)(he,{})]})}function Xr({subNav:e,pathName:t,Link:r}){var i,d;let o=e,a=!1;return o.links&&o.links.map(s=>{s.url===t&&(a=!0)}),(0,ot.jsx)(X,{defaultOpen:!0,className:"group/collapsible",children:(0,ot.jsx)(O,{className:"py-0",children:(0,ot.jsx)(B,{children:(0,ot.jsx)(X,{asChild:!0,defaultOpen:o.isActive,children:(0,ot.jsxs)(E,{children:[(0,ot.jsx)(F,{asChild:!0,tooltip:o.label,className:(0,je.default)(a&&"font-bold text-accent"),children:(0,ot.jsxs)(r,{href:o.url,children:[o.icon&&(0,ot.jsx)(o.icon,{}),(0,ot.jsx)("span",{children:o.label})]})}),(i=o.links)!=null&&i.length?(0,ot.jsxs)(ot.Fragment,{children:[(0,ot.jsx)(te,{asChild:!0,children:(0,ot.jsxs)(We,{className:"data-[state=open]:rotate-90",children:[(0,ot.jsx)(Ht.ChevronRight,{}),(0,ot.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,ot.jsx)(re,{children:(0,ot.jsx)(se,{children:(d=o.links)==null?void 0:d.map(s=>(0,ot.jsx)(le,{children:(0,ot.jsx)(de,{asChild:!0,className:(0,je.default)(s.url===t&&"font-bold text-accent"),children:(0,ot.jsx)(r,{href:s.url,children:(0,ot.jsx)("span",{children:s.label})})})},s.label))})})]}):null]})},o.label)})})})}var At=L(require("clsx"));var Yr=()=>(0,ot.jsx)(Ee,{iconName:"github",size:"10x"});function Jr({relatedContent:e,tableOfContents:t,editorComponent:r,loading:o=!1,editMode:a=!1,onAddDocument:i,onEditDocument:d,onPrintDocument:s,onGithubClick:f,onNavClick:v,LinkComponent:x,...M}){let k=x?l=>(0,ot.jsx)(x,{...l}):v?({item:l,children:b,...w})=>(0,ot.jsx)("button",{onClick:()=>v&&v(l),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...w,children:b}):l=>(0,ot.jsx)("a",{href:l.href,...l});return(0,ot.jsxs)(fe,{side:"right",variant:"inset",...M,children:[(0,ot.jsxs)(ge,{className:"border-b border-sidebar-border",children:[(0,ot.jsxs)(B,{className:"flex-row space-x-1",children:[(0,ot.jsx)(E,{children:(0,ot.jsxs)(F,{onClick:i,children:[(0,ot.jsx)(Ht.FilePlus,{})," ",(0,ot.jsx)("span",{children:"Add Document"})]})}),f&&(0,ot.jsx)(E,{children:(0,ot.jsx)(F,{onClick:f,tooltip:"Open in GitHub",children:(0,ot.jsx)(Yr,{})})})]}),(0,ot.jsxs)(B,{className:"flex-row space-x-1",children:[(0,ot.jsx)(E,{className:"w-5/12",children:(0,ot.jsxs)(F,{onClick:()=>d(),variant:a?"outline":"default",className:(0,At.default)(a&&"text-accent"),children:[(0,ot.jsx)(Ht.Edit,{})," ",(0,ot.jsx)("span",{children:"Edit"})]})}),(0,ot.jsx)(E,{className:"w-5/12",children:(0,ot.jsxs)(F,{onClick:s,children:[(0,ot.jsx)(Ht.Printer,{})," ",(0,ot.jsx)("span",{children:"Print"})]})})]})]}),r&&(0,ot.jsxs)(ot.Fragment,{children:[(0,ot.jsx)(X,{defaultOpen:!0,className:"group/collapsible",children:(0,ot.jsxs)(O,{children:[(0,ot.jsx)(Y,{asChild:!0,children:(0,ot.jsxs)(te,{children:["Editor Controls",(0,ot.jsx)(Ht.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,ot.jsx)(W,{children:(0,ot.jsx)(re,{children:r})})]})}),(0,ot.jsx)($e,{className:"mx-0"})]}),(0,ot.jsxs)(ie,{className:"overflow-auto",children:[o&&(0,ot.jsxs)(ot.Fragment,{children:[(0,ot.jsxs)(O,{children:[(0,ot.jsx)(Y,{children:"Related Content"}),(0,ot.jsx)(W,{children:(0,ot.jsx)(B,{children:Array.from({length:3}).map((l,b)=>(0,ot.jsx)(E,{children:(0,ot.jsx)(T,{className:"bg-gray-200 w-full ot-10"})},b))})})]}),(0,ot.jsxs)(O,{children:[(0,ot.jsx)(Y,{children:"Table of Contents"}),(0,ot.jsx)(W,{children:(0,ot.jsx)(B,{children:Array.from({length:3}).map((l,b)=>(0,ot.jsx)(E,{children:(0,ot.jsx)(T,{className:"bg-gray-200 w-full ot-10"})},b))})})]})]}),e&&!o&&Object.keys(e).length>0&&(0,ot.jsx)(X,{defaultOpen:!0,className:"group/collapsible",children:(0,ot.jsxs)(O,{children:[(0,ot.jsx)(Y,{asChild:!0,children:(0,ot.jsxs)(te,{children:["Related Content",(0,ot.jsx)(Ht.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,ot.jsx)(W,{children:(0,ot.jsx)(re,{children:(0,ot.jsx)(B,{children:e&&Object.keys(e).map(l=>(0,ot.jsxs)(E,{children:[(0,ot.jsxs)("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",l.charAt(0).toUpperCase()+l.slice(1)]}),l&&e[l]&&(0,ot.jsx)(se,{children:e[l].map(b=>(0,ot.jsx)(le,{children:(0,ot.jsx)(de,{asChild:!0,isActive:!1,size:"sm",children:(0,ot.jsxs)(k,{href:b.url,item:b,className:"flex justify-between items-center w-full text-xs",children:[(0,ot.jsx)("span",{children:b.label}),b.type==="note"&&(0,ot.jsx)(Ht.PencilLine,{className:"ml-2 text-gray-400 !important",size:16}),b.type==="draft"&&(0,ot.jsx)(Ee,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},b.label))})]},l))})})})]})}),t&&!o&&(0,ot.jsx)(X,{defaultOpen:!0,className:"group/collapsible",children:(0,ot.jsxs)(O,{children:[(0,ot.jsx)(Y,{asChild:!0,children:(0,ot.jsxs)(te,{children:["Table of Contents",(0,ot.jsx)(Ht.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,ot.jsx)(W,{children:(0,ot.jsx)(re,{children:(0,ot.jsx)(B,{children:t.map(l=>{var b;return(0,ot.jsxs)(E,{children:[(0,ot.jsx)(F,{asChild:!0,children:(0,ot.jsx)("a",{href:`#${l.url}`,className:"text-xs",children:l.title})}),(b=l.items)!=null&&b.length?(0,ot.jsx)(se,{children:l.items.map(w=>(0,ot.jsx)(le,{children:(0,ot.jsx)(de,{asChild:!0,isActive:w.isActive,size:"sm",children:(0,ot.jsx)("a",{href:`#${w.url}`,className:"flex justify-between items-center w-full text-xs",children:(0,ot.jsx)("span",{children:w.title})})})},w.title))}):null]},l.title)})})})})]})})]}),(0,ot.jsx)(he,{})]})}var A=require("@headlessui/react"),Pe=require("@heroicons/react/24/outline"),ve=require("@heroicons/react/20/solid");var Zr=({name:e,items:t,actions:r=[],href:o})=>!t&&o?(0,ot.jsxs)("a",{href:o,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,ot.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 ot-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}):(0,ot.jsxs)(A.Popover,{children:[(0,ot.jsxs)(A.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,ot.jsxs)("span",{className:"relative",children:[e,(0,ot.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 ot-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,ot.jsx)(ve.ChevronDownIcon,{"aria-hidden":"true",className:"ot-5 w-5 flex-none text-accent"})]}),(0,ot.jsxs)(A.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -ot-10 bg-popover ot-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,ot.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 ot-50",children:t&&t.map(a=>(0,ot.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,ot.jsx)("div",{className:"flex ot-16 w-16 items-center justify-center rounded-lg bg-popover group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,ot.jsx)(a.icon,{"aria-hidden":"true",size:"6x"})}),(0,ot.jsxs)("a",{href:a.href,className:"ot-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[a.name,(0,ot.jsx)("span",{className:"absolute inset-0"})]}),(0,ot.jsx)("p",{className:"ot-1 text-popover-foreground/80 group-hover:text-accent",children:a.description})]},a.name))}),r.length>0&&(0,ot.jsx)("div",{className:"bg-gray-50",children:(0,ot.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,ot.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(a=>(0,ot.jsxs)("a",{href:a.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,ot.jsx)(a.icon,{"aria-hidden":"true",className:"ot-5 w-5 flex-none text-gray-400"}),a.name]},a.name))})})})]})]}),Dt=Zr;var Me=["light","dark","green"];function Qr({title:e,logo:t,menuItems:r}){let[o,a]=(0,Re.useState)(!1),[i,d]=(0,Re.useState)(!1),[s,f]=(0,Re.useState)("light"),v=t==null?void 0:t.split(".")[0],x=t==null?void 0:t.split(".")[1],[M,y]=(0,Re.useState)(`${v}.${x}`),C=l=>{Me.includes(l)?y(l==="light"?`${v}.${x}`:`${v}-${l}.${x}`):y(`${v}.${x}`)};(0,Re.useEffect)(()=>{let l=localStorage.getItem("theme")||"light";console.log("storedTheme",l),f(l),document.documentElement.setAttribute("class",l),C(l)},[]);let k=()=>{let l=Me[(Me.indexOf(s)+1)%Me.length];f(l),document.documentElement.setAttribute("class",l),localStorage.setItem("theme",l),C(l)};return(0,ot.jsxs)("header",{className:"relative isolate ot-10 bg-background ot-14",children:[(0,ot.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,ot.jsx)("div",{className:"flex lg:flex-1",children:(0,ot.jsxs)("a",{href:"#",className:"-ot-1.5 p-1.5 outline-none",children:[(0,ot.jsx)("span",{className:"sr-only",children:e}),(0,ot.jsx)("img",{alt:e,src:M,className:"ot-9 w-auto"})]})}),(0,ot.jsx)("div",{className:"flex lg:hidden",children:(0,ot.jsxs)("button",{type:"button",onClick:()=>a(!0),className:"-ot-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,ot.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,ot.jsx)(Pe.Bars3Icon,{"aria-hidden":"true",className:"ot-6 w-6"})]})}),(0,ot.jsx)(A.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:r.map(l=>(0,ot.jsx)(Dt,{...l},l.name))}),(0,ot.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,ot.jsx)("button",{onClick:k,className:"p-2 text-gray-700 outline-none",children:s==="dark"?(0,ot.jsx)(ve.SunIcon,{className:"ot-6 w-6"}):s==="green"?(0,ot.jsx)(ve.MoonIcon,{className:"ot-6 w-6"}):(0,ot.jsx)(ve.SunIcon,{className:"ot-6 w-6"})})})]}),(0,ot.jsxs)(A.Dialog,{open:o,onClose:a,className:"lg:hidden",children:[(0,ot.jsx)("div",{className:"fixed inset-0 ot-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,ot.jsxs)(A.DialogPanel,{className:"fixed inset-y-0 right-0 ot-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,ot.jsxs)("div",{className:"flex items-center justify-between",children:[(0,ot.jsxs)("a",{href:"#",className:"-ot-1.5 p-1.5 outline-none",children:[(0,ot.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,ot.jsx)("img",{alt:e,src:t,className:"ot-8 w-auto"})]}),(0,ot.jsxs)("button",{type:"button",onClick:()=>a(!1),className:"-ot-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,ot.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,ot.jsx)(Pe.XMarkIcon,{"aria-hidden":"true",className:"ot-6 w-6"})]})]}),(0,ot.jsx)("div",{className:"ot-6 flow-root",children:(0,ot.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,ot.jsx)("div",{className:"space-y-2 py-6",children:r.map(l=>(0,ot.jsx)(eo,{...l},l.name))})})})]})]})]})}function eo({name:e,items:t,actions:r,href:o}){return!t&&o?(0,ot.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,ot.jsxs)(A.Disclosure,{as:"div",className:"-mx-3",children:[(0,ot.jsx)(A.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,ot.jsx)(A.DisclosurePanel,{className:"ot-2 space-y-2",children:t&&t.map(a=>(0,ot.jsx)(A.DisclosureButton,{as:"a",href:a.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:a.name},a.name))})]})}var Z=L(require("react"));var xe=Z.forwardRef(({className:e,...t},r)=>(0,ot.jsx)("div",{ref:r,className:p("rounded-xl border bg-card text-card-foreground shadow",e),...t}));xe.displayName="Card";var Ue=Z.forwardRef(({className:e,...t},r)=>(0,ot.jsx)("div",{ref:r,className:p("flex flex-col space-y-1.5 p-6",e),...t}));Ue.displayName="CardHeader";var Ke=Z.forwardRef(({className:e,...t},r)=>(0,ot.jsx)("div",{ref:r,className:p("font-semibold leading-none tracking-tight",e),...t}));Ke.displayName="CardTitle";var to=Z.forwardRef(({className:e,...t},r)=>(0,ot.jsx)("div",{ref:r,className:p("text-sm text-muted-foreground",e),...t}));to.displayName="CardDescription";var qe=Z.forwardRef(({className:e,...t},r)=>(0,ot.jsx)("div",{ref:r,className:p("p-6 pt-0",e),...t}));qe.displayName="CardContent";var ro=Z.forwardRef(({className:e,...t},r)=>(0,ot.jsx)("div",{ref:r,className:p("flex items-center p-6 pt-0",e),...t}));ro.displayName="CardFooter";var _t=L(require("next/image"));function oo({title:e,members:t}){return(0,ot.jsx)(xe,{className:"mb-6",children:(0,ot.jsxs)("div",{className:"p-6",children:[(0,ot.jsxs)("div",{className:"flex items-center mb-4",children:[(0,ot.jsx)(Ht.Users,{className:"w-6 ot-6 text-accent mr-2"}),(0,ot.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:e})]}),(0,ot.jsx)("div",{className:"space-y-4",children:t.map((r,o)=>(0,ot.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,ot.jsx)("div",{className:"relative w-12 ot-12 rounded-full overflow-hidden",children:r.avatar&&(0,ot.jsx)(_t.default,{src:r.avatar,alt:r.name,layout:"fill",objectFit:"cover"})}),(0,ot.jsxs)("div",{children:[(0,ot.jsx)("p",{className:"font-semibold text-foreground",children:r.name}),r.role&&(0,ot.jsx)("p",{className:"text-sm text-muted-foreground",children:r.role})]})]},o))})]})})}var Ot=L(require("next/link"));var ao=({links:e})=>(0,ot.jsxs)(xe,{children:[(0,ot.jsx)(Ue,{children:(0,ot.jsx)(Ke,{children:"Related"})}),(0,ot.jsx)(qe,{children:(0,ot.jsx)("nav",{className:"flex flex-col space-y-2",children:e.map((t,r)=>(0,ot.jsxs)(Ot.default,{href:t.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[t.title,t.url.startsWith("http")&&(0,ot.jsx)(Ht.ExternalLink,{className:"ml-1 ot-3 w-3"})]},r))})})]});0&&(module.exports={ProjectTeam,RelatedContent,SidebarLeft,SidebarRight,SimpleHeader});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../chunk-
|
|
1
|
+
import{a as b}from"../../chunk-WMZYFRHZ.mjs";import{a as c}from"../../chunk-64NIISYM.mjs";import"../../chunk-GS2BYKPO.mjs";import{a as d}from"../../chunk-JODGODRI.mjs";import{a as e}from"../../chunk-XHQLYY3W.mjs";import{a}from"../../chunk-LBKMUSVR.mjs";import"../../chunk-IPHHUHS3.mjs";import"../../chunk-Y5VTKEKS.mjs";import"../../chunk-CGBVZQYY.mjs";import"../../chunk-BSQVKZCW.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-MUAUXGCS.mjs";import"../../chunk-BUTUFEFR.mjs";import"../../chunk-5VW5YOZB.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-OAOCXXC2.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-FRWX5YES.mjs";import"../../chunk-D2WXBUVJ.mjs";export{d as ProjectTeam,e as RelatedContent,a as SidebarLeft,b as SidebarRight,c as SimpleHeader};
|