cortex-react-components 1.39.6 → 1.40.0

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.
Files changed (125) hide show
  1. package/dist/{chunk-YGQFXPN4.mjs → chunk-4ZT572BM.mjs} +1 -1
  2. package/dist/{chunk-O77SHHMY.mjs → chunk-6FABK6XD.mjs} +1 -1
  3. package/dist/chunk-AJICJKPD.mjs +4 -0
  4. package/dist/chunk-CTKUF2I6.mjs +4 -0
  5. package/dist/chunk-DE2DIWCC.mjs +4 -0
  6. package/dist/{chunk-ILCZ25VJ.mjs → chunk-DPC76VYR.mjs} +1 -1
  7. package/dist/chunk-DRJBYVJB.mjs +4 -0
  8. package/dist/{chunk-2JZGT4F6.mjs → chunk-EI7PFWFS.mjs} +1 -1
  9. package/dist/{chunk-3O45WZBW.mjs → chunk-GQWLRBA5.mjs} +1 -1
  10. package/dist/{chunk-WUSJBHXI.mjs → chunk-K3ZT73NE.mjs} +1 -1
  11. package/dist/{chunk-U4NCHUCT.mjs → chunk-KKLZ6CCZ.mjs} +1 -1
  12. package/dist/{chunk-R75QPTHT.mjs → chunk-L7HV5BKW.mjs} +1 -1
  13. package/dist/{chunk-DOZXVU56.mjs → chunk-SC2BOUEN.mjs} +1 -1
  14. package/dist/chunk-T6LPMF7A.mjs +4 -0
  15. package/dist/chunk-TXXFXCXB.mjs +4 -0
  16. package/dist/chunk-TYFBZ3Q7.mjs +1 -0
  17. package/dist/{chunk-YCOPE2XU.mjs → chunk-UDRX6THN.mjs} +1 -1
  18. package/dist/chunk-UGWWR3LF.mjs +4 -0
  19. package/dist/{chunk-WSRF2ZBD.mjs → chunk-UT2M6WL5.mjs} +1 -1
  20. package/dist/{chunk-YF7BU7S3.mjs → chunk-ZQJMFGKU.mjs} +1 -1
  21. package/dist/components/HeaderFooter/SimpleHeader.js +1 -1
  22. package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
  23. package/dist/components/HeaderFooter/SimpleHeader.stories.js +1 -1
  24. package/dist/components/HeaderFooter/SimpleHeader.stories.mjs +1 -1
  25. package/dist/components/HeaderFooter/index.js +1 -1
  26. package/dist/components/HeaderFooter/index.mjs +1 -1
  27. package/dist/components/Heros/RenderHero.mjs +1 -1
  28. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  29. package/dist/components/Heros/index.mjs +1 -1
  30. package/dist/components/Holidays/CalendarView.js +1 -1
  31. package/dist/components/Holidays/CalendarView.mjs +1 -1
  32. package/dist/components/Holidays/CalendarView.stories.js +1 -1
  33. package/dist/components/Holidays/CalendarView.stories.mjs +1 -1
  34. package/dist/components/Holidays/HolidayGrid.js +1 -1
  35. package/dist/components/Holidays/HolidayGrid.mjs +1 -1
  36. package/dist/components/Holidays/HolidayGrid.stories.js +1 -1
  37. package/dist/components/Holidays/HolidayGrid.stories.mjs +1 -1
  38. package/dist/components/Holidays/HolidayTracker.d.ts +1 -1
  39. package/dist/components/Holidays/HolidayTracker.js +1 -1
  40. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  41. package/dist/components/Holidays/HolidayTracker.stories.js +114 -114
  42. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  43. package/dist/components/Holidays/RequestLeave.js +1 -1
  44. package/dist/components/Holidays/RequestLeave.mjs +1 -1
  45. package/dist/components/Holidays/RequestLeave.stories.js +1 -1
  46. package/dist/components/Holidays/RequestLeave.stories.mjs +1 -1
  47. package/dist/components/Holidays/index.js +1 -1
  48. package/dist/components/Holidays/index.mjs +1 -1
  49. package/dist/components/Layouts/NewsGrid.stories.js +1 -1
  50. package/dist/components/Layouts/NewsGrid.stories.mjs +1 -1
  51. package/dist/components/Layouts/SlideShow.js +1 -1
  52. package/dist/components/Layouts/SlideShow.mjs +1 -1
  53. package/dist/components/Layouts/SlideShow.stories.js +1 -1
  54. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  55. package/dist/components/Layouts/index.js +3 -3
  56. package/dist/components/Layouts/index.mjs +1 -1
  57. package/dist/components/Menus/Categories.js +1 -1
  58. package/dist/components/Menus/Categories.mjs +1 -1
  59. package/dist/components/Menus/Categories.stories.js +1 -1
  60. package/dist/components/Menus/Categories.stories.mjs +1 -1
  61. package/dist/components/Menus/index.js +1 -1
  62. package/dist/components/Menus/index.mjs +1 -1
  63. package/dist/components/Payload/index.mjs +1 -1
  64. package/dist/components/index.js +6 -6
  65. package/dist/components/index.mjs +1 -1
  66. package/dist/index.js +6 -6
  67. package/dist/index.mjs +1 -1
  68. package/dist/metafile-cjs.json +1 -1
  69. package/dist/metafile-esm.json +1 -1
  70. package/dist/pages/Blog.js +1 -1
  71. package/dist/pages/Blog.mjs +1 -1
  72. package/dist/pages/Blog.stories.js +1 -1
  73. package/dist/pages/Blog.stories.mjs +1 -1
  74. package/dist/pages/Documentation.mjs +1 -1
  75. package/dist/pages/Documentation.stories.mjs +1 -1
  76. package/dist/pages/IndexPage.js +1 -1
  77. package/dist/pages/IndexPage.mjs +1 -1
  78. package/dist/pages/IndexPage.stories.js +1 -1
  79. package/dist/pages/IndexPage.stories.mjs +1 -1
  80. package/dist/pages/Intranet.js +1 -1
  81. package/dist/pages/Intranet.mjs +1 -1
  82. package/dist/pages/Intranet.stories.js +1 -1
  83. package/dist/pages/Intranet.stories.mjs +1 -1
  84. package/dist/pages/LandingPage.mjs +1 -1
  85. package/dist/pages/LandingPage.stories.mjs +1 -1
  86. package/dist/pages/Page.mjs +1 -1
  87. package/dist/pages/Page.stories.mjs +1 -1
  88. package/dist/pages/Publish.js +1 -1
  89. package/dist/pages/Publish.mjs +1 -1
  90. package/dist/pages/Publish.stories.js +1 -1
  91. package/dist/pages/Publish.stories.mjs +1 -1
  92. package/dist/pages/Website.js +1 -1
  93. package/dist/pages/Website.mjs +1 -1
  94. package/dist/pages/Website.stories.js +1 -1
  95. package/dist/pages/Website.stories.mjs +1 -1
  96. package/dist/sections/BlogDetail.js +1 -1
  97. package/dist/sections/BlogDetail.mjs +1 -1
  98. package/dist/sections/BlogDetail.stories.js +1 -1
  99. package/dist/sections/BlogDetail.stories.mjs +1 -1
  100. package/dist/sections/BlogListSection.js +1 -1
  101. package/dist/sections/BlogListSection.mjs +1 -1
  102. package/dist/sections/BlogListSection.stories.js +1 -1
  103. package/dist/sections/BlogListSection.stories.mjs +1 -1
  104. package/dist/sections/ContactSection.js +1 -1
  105. package/dist/sections/ContactSection.mjs +1 -1
  106. package/dist/sections/ContactSection.stories.js +1 -1
  107. package/dist/sections/ContactSection.stories.mjs +1 -1
  108. package/dist/sections/MainPageSection.d.ts +1 -1
  109. package/dist/sections/MainPageSection.js +1 -1
  110. package/dist/sections/MainPageSection.mjs +1 -1
  111. package/dist/sections/form/index.js +1 -1
  112. package/dist/sections/form/index.mjs +1 -1
  113. package/dist/sections/form/server/contact-us-form-submit.js +1 -1
  114. package/dist/sections/form/server/contact-us-form-submit.mjs +1 -1
  115. package/dist/sections/index.js +1 -1
  116. package/dist/sections/index.mjs +1 -1
  117. package/package.json +1 -1
  118. package/dist/chunk-65EMMROH.mjs +0 -4
  119. package/dist/chunk-6D7LTGTN.mjs +0 -4
  120. package/dist/chunk-JVRJU2VL.mjs +0 -4
  121. package/dist/chunk-KAVGGNPV.mjs +0 -1
  122. package/dist/chunk-O5XLZ254.mjs +0 -4
  123. package/dist/chunk-OOQZDDQC.mjs +0 -4
  124. package/dist/chunk-RJGFEJBJ.mjs +0 -4
  125. package/dist/chunk-YLGJP63J.mjs +0 -4
@@ -1 +1 @@
1
- import{a as o}from"./chunk-VZXLXNVY.mjs";import{a as s}from"./chunk-Y2KKUQDU.mjs";import{a}from"./chunk-H7D3PZKE.mjs";import{a as m}from"./chunk-IQPZEEYJ.mjs";import{a as d}from"./chunk-O5XLZ254.mjs";import{Fragment as p,jsx as e,jsxs as l}from"react/jsx-runtime";function x({...t}){return e(p,{children:l("div",{className:"flex min-h-full flex-col",children:[e("div",{className:"relative isolate"}),e(d,{...t.header}),e(m,{...t.motd}),l("div",{className:"mx-auto w-full max-w-screen-2xl grow lg:flex xl:px-2",children:[l("div",{className:"flex-1 xl:flex",children:[e("div",{className:"border-b border-gray-200 px-4 py-6 sm:px-6 lg:pl-8 xl:w-64 xl:shrink-0 xl:border-b-0 xl:border-r xl:pl-6",children:t.customers.map((r,i)=>e("div",{className:"py-2 w-full flex justify-center",children:e(o,{...r})},i))}),l("div",{className:"px-4 py-4 sm:px-6 lg:pl-8 xl:flex-1 xl:pl-6",children:[l("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[e(a,{mainImage:"/placeholder/ai.png",title:"AI Enablement",color:"primary"}),e(a,{mainImage:"/placeholder/finops.png",title:"FinOps",color:"primary2"}),e(a,{mainImage:"/placeholder/metahuman.png",title:"Metahumans",color:"primary3"})]}),e("h1",{className:"text-balance text-3xl m-5 font-semibold tracking-tight text-primary sm:text-5xl",children:"News & Updates"})]})]}),l("div",{className:"shrink-0 border-t border-gray-200 px-4 py-4 sm:px-4 lg:w-96 lg:border-l lg:border-t-0 lg:pr-8 xl:pr-6",children:[e("div",{className:"mx-auto max-w-7xl",children:l("div",{className:"relative isolate overflow-hidden bg-gradient-to-br from-gray-900 via-brand-one to-brand-two px-2 py-4 text-center shadow-2xl sm:rounded-xl sm:px-2",children:[e("h2",{className:"text-balance text-xl font-semibold tracking-tight text-white sm:text-2xl",children:"Ways of working"}),e("p",{className:"mx-3 mt-4 max-w-xl text-pretty text-lg/8 text-gray-300",children:"Guides, Templates and Tools to help you work smarter."}),e("div",{className:"mt-4 flex items-center justify-center gap-x-6",children:e("a",{href:"#",className:"rounded-md bg-white px-3.5 py-2.5 text-sm font-semibold text-gray-900 shadow-sm hover:bg-accent focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white",children:"Get started"})})]})}),e("div",{className:"mx-auto max-w-7xl flex flex-col items-center",children:t.events.map((r,i)=>e("div",{className:"py-2 w-full flex justify-center",children:e(s,{...r})},i))})]})]})]})})}export{x as a};
1
+ import{a as o}from"./chunk-VZXLXNVY.mjs";import{a as s}from"./chunk-Y2KKUQDU.mjs";import{a}from"./chunk-H7D3PZKE.mjs";import{a as m}from"./chunk-IQPZEEYJ.mjs";import{a as d}from"./chunk-DRJBYVJB.mjs";import{Fragment as p,jsx as e,jsxs as l}from"react/jsx-runtime";function x({...t}){return e(p,{children:l("div",{className:"flex min-h-full flex-col",children:[e("div",{className:"relative isolate"}),e(d,{...t.header}),e(m,{...t.motd}),l("div",{className:"mx-auto w-full max-w-screen-2xl grow lg:flex xl:px-2",children:[l("div",{className:"flex-1 xl:flex",children:[e("div",{className:"border-b border-gray-200 px-4 py-6 sm:px-6 lg:pl-8 xl:w-64 xl:shrink-0 xl:border-b-0 xl:border-r xl:pl-6",children:t.customers.map((r,i)=>e("div",{className:"py-2 w-full flex justify-center",children:e(o,{...r})},i))}),l("div",{className:"px-4 py-4 sm:px-6 lg:pl-8 xl:flex-1 xl:pl-6",children:[l("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[e(a,{mainImage:"/placeholder/ai.png",title:"AI Enablement",color:"primary"}),e(a,{mainImage:"/placeholder/finops.png",title:"FinOps",color:"primary2"}),e(a,{mainImage:"/placeholder/metahuman.png",title:"Metahumans",color:"primary3"})]}),e("h1",{className:"text-balance text-3xl m-5 font-semibold tracking-tight text-primary sm:text-5xl",children:"News & Updates"})]})]}),l("div",{className:"shrink-0 border-t border-gray-200 px-4 py-4 sm:px-4 lg:w-96 lg:border-l lg:border-t-0 lg:pr-8 xl:pr-6",children:[e("div",{className:"mx-auto max-w-7xl",children:l("div",{className:"relative isolate overflow-hidden bg-gradient-to-br from-gray-900 via-brand-one to-brand-two px-2 py-4 text-center shadow-2xl sm:rounded-xl sm:px-2",children:[e("h2",{className:"text-balance text-xl font-semibold tracking-tight text-white sm:text-2xl",children:"Ways of working"}),e("p",{className:"mx-3 mt-4 max-w-xl text-pretty text-lg/8 text-gray-300",children:"Guides, Templates and Tools to help you work smarter."}),e("div",{className:"mt-4 flex items-center justify-center gap-x-6",children:e("a",{href:"#",className:"rounded-md bg-white px-3.5 py-2.5 text-sm font-semibold text-gray-900 shadow-sm hover:bg-accent focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white",children:"Get started"})})]})}),e("div",{className:"mx-auto max-w-7xl flex flex-col items-center",children:t.events.map((r,i)=>e("div",{className:"py-2 w-full flex justify-center",children:e(s,{...r})},i))})]})]})]})})}export{x as a};
@@ -1 +1 @@
1
- import{a as m}from"./chunk-2JZGT4F6.mjs";import{a as r}from"./chunk-KML6U7IE.mjs";import{a as l}from"./chunk-BYXEE5EN.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import v from"next/image";import{FaEnvelope as x,FaPhoneFlip as h}from"react-icons/fa6";import{Fragment as N,jsx as e,jsxs as t}from"react/jsx-runtime";function H(s){let{sectionHeading:d,image:a}=s;return t(N,{children:[e("section",{className:"section-padding-primary",children:e("div",{className:"",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:e("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:t("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[t("div",{children:[e("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),e("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where we are based. These are our key locations."})]}),e("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:s.locations&&s.locations.map((i,c)=>{var o;return t("div",{className:"rounded-2xl p-10 border",children:[e("h3",{className:"text-base/7 font-semibold text-accent",children:i.title}),t("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(o=i.location.split(","))==null?void 0:o.map((p,g)=>e("p",{children:p},g))," ",i.mails&&t("p",{className:"flex items-center space-x-2",children:[e(x,{className:"pr-2 text-accent size-auto"}),e("span",{children:i.mails[0]})]}),i.phoneNumbers&&i.phoneNumbers.length>0&&t("p",{className:"flex items-center space-x-2",children:[e(h,{className:"pr-2 text-accent size-auto"}),i.phoneNumbers[0]]})]})]},c)})})]})})})})}),e("section",{className:"section-padding-primary",children:t("div",{className:"relative py-[60px]",children:[e("div",{className:"absolute left-0 top-0 z-1 h-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:e(v,{src:a.src,alt:a.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:r})}),e(n,{children:e("div",{className:"ml-auto md:w-1/2",children:t("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[e("div",{className:"mb-30px",children:e(l,{...d,invert:!0})}),e(m,{})]})})})]})})]})}export{H as a};
1
+ import{a as m}from"./chunk-EI7PFWFS.mjs";import{a as r}from"./chunk-KML6U7IE.mjs";import{a as l}from"./chunk-BYXEE5EN.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import v from"next/image";import{FaEnvelope as x,FaPhoneFlip as h}from"react-icons/fa6";import{Fragment as N,jsx as e,jsxs as t}from"react/jsx-runtime";function H(s){let{sectionHeading:d,image:a}=s;return t(N,{children:[e("section",{className:"section-padding-primary",children:e("div",{className:"",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:e("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:t("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[t("div",{children:[e("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),e("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where we are based. These are our key locations."})]}),e("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:s.locations&&s.locations.map((i,c)=>{var o;return t("div",{className:"rounded-2xl p-10 border",children:[e("h3",{className:"text-base/7 font-semibold text-accent",children:i.title}),t("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(o=i.location.split(","))==null?void 0:o.map((p,g)=>e("p",{children:p},g))," ",i.mails&&t("p",{className:"flex items-center space-x-2",children:[e(x,{className:"pr-2 text-accent size-auto"}),e("span",{children:i.mails[0]})]}),i.phoneNumbers&&i.phoneNumbers.length>0&&t("p",{className:"flex items-center space-x-2",children:[e(h,{className:"pr-2 text-accent size-auto"}),i.phoneNumbers[0]]})]})]},c)})})]})})})})}),e("section",{className:"section-padding-primary",children:t("div",{className:"relative py-[60px]",children:[e("div",{className:"absolute left-0 top-0 z-1 h-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:e(v,{src:a.src,alt:a.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:r})}),e(n,{children:e("div",{className:"ml-auto md:w-1/2",children:t("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[e("div",{className:"mb-30px",children:e(l,{...d,invert:!0})}),e(m,{})]})})})]})})]})}export{H as a};
@@ -0,0 +1,4 @@
1
+ "use client";
2
+ "use strict";
3
+
4
+ import{a as y}from"./chunk-DE2DIWCC.mjs";import{a as f}from"./chunk-TYFBZ3Q7.mjs";import{a as v}from"./chunk-ZQJMFGKU.mjs";import{a as g}from"./chunk-DYIUZ4V5.mjs";import{useState as N}from"react";import{ChevronDown as q}from"lucide-react";import{CalendarDays as P,Grid as R,PlusCircle as A,CheckSquare as k}from"lucide-react";import{useRouter as T}from"next/navigation";import{format as H,parseISO as M}from"date-fns";import{jsx as r,jsxs as n}from"react/jsx-runtime";function b(...s){return s.filter(Boolean).join(" ")}function z({holidays:s,currentUser:t,currentDate:D,leaveApprovals:h,employees:x,submitLeaveRequest:o,approveLeave:i,rejectLeave:d}){let[a,m]=N("Calendar View"),w=T(),L=!1,c=M(D),l=async e=>{let C=H(e,"dd-MM-yyyy"),p=new URL(window.location.href);return p.searchParams.set("date",C),w.push(p.toString()),{success:!0}};if(L)return r("div",{className:"flex justify-center items-center h-screen",children:r("div",{className:"animate-spin rounded-full h-32 w-32 border-t-2 border-b-2 border-gray-900"})});let u=[{name:"Grid View",icon:R,current:a==="Grid View"},{name:"Calendar View",icon:P,current:a==="Calendar View"},{name:"Request Leave",icon:A,current:a==="Request Leave"},{name:"Approve Leave",icon:k,current:a==="Approve Leave"}];return n("div",{className:"container mx-auto p-4",children:[r("h1",{className:"text-3xl font-bold mb-4",children:"Holiday Tracker"}),n("div",{className:"mb-8",children:[n("div",{className:"sm:hidden",children:[r("select",{value:a,onChange:e=>m(e.target.value),className:"block w-full rounded-md border-gray-300 py-2 pl-3 pr-10 text-base focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 sm:text-sm",children:u.map(e=>r("option",{children:e.name},e.name))}),r(q,{className:"pointer-events-none absolute right-3 top-3 h-5 w-5 text-gray-400","aria-hidden":"true"})]}),r("div",{className:"hidden sm:block",children:r("div",{className:"border-b border-gray-200",children:r("nav",{className:"-mb-px flex space-x-8","aria-label":"Tabs",children:u.map(e=>n("a",{onClick:()=>{(e.name!=="Approve Leave"||t.grade==="Manager"||t.grade==="Senior Manager"||t.grade==="Partner")&&m(e.name)},className:b(e.current?"border-accent text-accent":"border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700",e.name==="Approve Leave"&&t.grade!=="Manager"&&t.grade!=="Senior Manager"&&t.grade!=="Partner"?"cursor-not-allowed opacity-50":"","group inline-flex items-center border-b-2 py-4 px-1 text-sm font-medium"),"aria-current":e.current?"page":void 0,children:[r(e.icon,{className:b(e.current?"text-accent":"text-gray-400 group-hover:text-gray-500","-ml-0.5 mr-2 h-5 w-5"),"aria-hidden":"true"}),r("span",{children:e.name})]},e.name))})})})]}),a==="Grid View"&&r(f,{currentDate:c,setCurrentDate:l,holidays:s,employees:x}),a==="Calendar View"&&r(y,{currentDate:c,setCurrentDate:l,holidays:s}),a==="Request Leave"&&r(v,{remainingDays:t.remainingLeaveDays,submitLeaveRequest:e=>o?o(e):Promise.resolve({success:!1,message:"Submit leave request function not provided"})}),a==="Approve Leave"&&r(g,{leaveRequests:h,onApprove:e=>i?i(e):Promise.resolve({success:!1,message:"Approve leave request function not provided"}),onReject:e=>d?d(e):Promise.resolve({success:!1,message:"Reject leave request function not provided"})})]})}export{z as a};
@@ -0,0 +1,4 @@
1
+ "use server";
2
+ "use strict";
3
+
4
+ async function p(r){let{name:o,email:s,subject:a,message:n}=r,t=process.env.TEAMS_WEBHOOK_URL;if(!t)throw new Error("TEAMS_WEBHOOK_URL is not defined");let c={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${o}`,wrap:!0},{type:"TextBlock",text:`${s}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${n}`,wrap:!0}]}}]};try{let e=await fetch(t,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(c)});if(!e.ok)throw console.error(e),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(e){return console.error(e),{isSuccess:!1,data:null,message:"Internal Server Error"}}}export{p as a};
@@ -0,0 +1,4 @@
1
+ "use client";
2
+ "use strict";
3
+
4
+ import{b as r}from"./chunk-GLEWUUGS.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{useState as v}from"react";import{ChevronLeft as f,ChevronRight as x}from"lucide-react";import{jsx as t,jsxs as a}from"react/jsx-runtime";function k({currentDate:s,setCurrentDate:d,holidays:c}){let[o,b]=v(null),p=new Date(s.getFullYear(),s.getMonth(),1).getDay(),g=Array.from({length:42},(e,n)=>{let l=new Date(s.getFullYear(),s.getMonth(),n-p+1);return{date:l,isCurrentMonth:l.getMonth()===s.getMonth(),isToday:l.toDateString()===new Date().toDateString(),holidays:c.filter(m=>new Date(m.startDate)<=l&&new Date(m.endDate)>=l)}}),h=()=>{d(new Date(s.getFullYear(),s.getMonth()-1,1))},u=()=>{d(new Date(s.getFullYear(),s.getMonth()+1,1))},y=()=>{d(new Date)};return a("div",{className:"lg:flex lg:h-full lg:flex-col",children:[a("header",{className:"flex items-center justify-between border-b border-gray-200 px-6 py-4 lg:flex-none",children:[t("h1",{className:"text-base font-semibold text-foreground",children:t("time",{dateTime:s.toISOString(),children:s.toLocaleString("default",{month:"long",year:"numeric"})})}),t("div",{className:"flex items-center",children:a("div",{className:"relative flex items-center rounded-md gap-1 md:items-stretch",children:[a(r,{onClick:h,variant:"outline",size:"icon",className:"rounded-l-md border-accent hover:text-accent",children:[t("span",{className:"sr-only",children:"Previous month"}),t(f,{className:"h-5 w-5","aria-hidden":"true"})]}),t(r,{variant:"outline",onClick:y,className:"hidden border-l border-r border-accent px-3.5 text-sm font-semibold text-accent hover:bg-gray-50 focus:relative md:block",children:"Today"}),a(r,{onClick:u,variant:"outline",size:"icon",className:"rounded-r-md border-accent hover:text-accent",children:[t("span",{className:"sr-only",children:"Next month"}),t(x,{className:"h-5 w-5","aria-hidden":"true"})]})]})})]}),a("div",{className:"shadow ring-1 ring-black ring-opacity-5 lg:flex lg:flex-auto lg:flex-col",children:[a("div",{className:"grid grid-cols-7 gap-px border-b border-gray-300 bg-gray-200 text-center text-xs font-semibold leading-6 text-gray-700 lg:flex-none",children:[a("div",{className:"bg-white py-2",children:["M",t("span",{className:"sr-only sm:not-sr-only",children:"on"})]}),a("div",{className:"bg-white py-2",children:["T",t("span",{className:"sr-only sm:not-sr-only",children:"ue"})]}),a("div",{className:"bg-white py-2",children:["W",t("span",{className:"sr-only sm:not-sr-only",children:"ed"})]}),a("div",{className:"bg-white py-2",children:["T",t("span",{className:"sr-only sm:not-sr-only",children:"hu"})]}),a("div",{className:"bg-white py-2",children:["F",t("span",{className:"sr-only sm:not-sr-only",children:"ri"})]}),a("div",{className:"bg-white py-2",children:["S",t("span",{className:"sr-only sm:not-sr-only",children:"at"})]}),a("div",{className:"bg-white py-2",children:["S",t("span",{className:"sr-only sm:not-sr-only",children:"un"})]})]}),a("div",{className:"flex bg-gray-200 text-xs leading-6 text-gray-700 lg:flex-auto",children:[t("div",{className:"hidden w-full lg:grid lg:grid-cols-7 lg:grid-rows-6 lg:gap-px",children:g.map(e=>a("div",{className:i(e.isCurrentMonth?"bg-white":"bg-gray-50 text-gray-500","relative px-3 py-2"),children:[t("time",{dateTime:e.date.toISOString(),className:i("flex h-6 w-6 items-center justify-center rounded-full",e.isToday&&"bg-indigo-600 font-semibold text-white"),children:e.date.getDate()}),e.holidays.length>0&&t("ol",{className:"mt-2 space-y-1",children:e.holidays.map(n=>t("li",{children:t("div",{className:`text-xs px-1 py-0.5 rounded ${n.status==="approved"?"border-green-500":"border-gray-500"} border`,children:n.userName})},n.id))})]},e.date.toISOString()))}),t("div",{className:"isolate grid w-full grid-cols-7 grid-rows-6 gap-px lg:hidden",children:g.map(e=>a("button",{type:"button",className:i(e.isCurrentMonth?"bg-white":"bg-gray-50",(e.date===o||e.isToday)&&"font-semibold",e.date===o&&"text-white",!e.date&&e.isToday&&"text-indigo-600",e.date!==o&&e.isCurrentMonth&&!e.isToday&&"text-gray-900",e.date!==o&&!e.isCurrentMonth&&!e.isToday&&"text-gray-500","flex h-14 flex-col px-3 py-2 hover:bg-gray-100 focus:z-10"),children:[t("time",{dateTime:e.date.toISOString(),className:i("ml-auto",e.date===o&&e.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-indigo-600",e.date===o&&!e.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-gray-900"),children:e.date.getDate()}),a("span",{className:"sr-only",children:[e.holidays.length," holidays"]}),e.holidays.length>0&&t("span",{className:"-mx-0.5 mt-auto flex flex-wrap-reverse",children:e.holidays.map(n=>t("span",{className:`mx-0.5 mb-1 h-1.5 w-1.5 rounded-full ${n.status==="approved"?"bg-green-500":"bg-gray-500"}`},n.id))})]},e.date.toISOString()))})]})]})]})}export{k as a};
@@ -1 +1 @@
1
- import{a}from"./chunk-WU3JMLSC.mjs";import{a as m}from"./chunk-BZAYEKYC.mjs";import{a as i}from"./chunk-R75QPTHT.mjs";import{a as o}from"./chunk-CWNEDSLD.mjs";import{a as t}from"./chunk-DESYC5BB.mjs";import{jsx as r,jsxs as n}from"react/jsx-runtime";function d({...e}){return n("div",{children:[r(t,{isMenuOpen:!0,logoLight:m,logoDark:a}),r(o,{...e.hero}),r(i,{className:"!pb-0",...e.blog})]})}export{d as a};
1
+ import{a}from"./chunk-WU3JMLSC.mjs";import{a as m}from"./chunk-BZAYEKYC.mjs";import{a as i}from"./chunk-L7HV5BKW.mjs";import{a as o}from"./chunk-CWNEDSLD.mjs";import{a as t}from"./chunk-DESYC5BB.mjs";import{jsx as r,jsxs as n}from"react/jsx-runtime";function d({...e}){return n("div",{children:[r(t,{isMenuOpen:!0,logoLight:m,logoDark:a}),r(o,{...e.hero}),r(i,{className:"!pb-0",...e.blog})]})}export{d as a};
@@ -0,0 +1,4 @@
1
+ "use client";
2
+ "use strict";
3
+
4
+ import{a as h}from"./chunk-SV3TTIPR.mjs";import{useState as m,useEffect as v}from"react";import{Dialog as w,DialogPanel as k,Disclosure as D,DisclosureButton as y,DisclosurePanel as P,PopoverGroup as M}from"@headlessui/react";import{Bars3Icon as I,XMarkIcon as $}from"@heroicons/react/24/outline";import{SunIcon as N,MoonIcon as C}from"@heroicons/react/20/solid";import{jsx as e,jsxs as t}from"react/jsx-runtime";var c=["light","dark","green"];function A({title:l,logo:s,menuItems:d}){let[o,n]=m(!1),[S,T]=m(!1),[u,g]=m("light"),r=s==null?void 0:s.split(".")[0],i=s==null?void 0:s.split(".")[1],[b,p]=m(`${r}.${i}`),f=a=>{c.includes(a)?p(a==="light"?`${r}.${i}`:`${r}-${a}.${i}`):p(`${r}.${i}`)};v(()=>{let a=localStorage.getItem("theme")||"light";g(a),document.documentElement.setAttribute("class",a),f(a)},[]);let x=()=>{let a=c[(c.indexOf(u)+1)%c.length];g(a),document.documentElement.setAttribute("class",a),localStorage.setItem("theme",a),f(a)};return t("header",{className:"relative isolate z-10 bg-background h-14",children:[t("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[e("div",{className:"flex lg:flex-1",children:t("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[e("span",{className:"sr-only",children:l}),e("img",{alt:l,src:b,className:"h-9 w-auto"})]})}),e("div",{className:"flex lg:hidden",children:t("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:[e("span",{className:"sr-only",children:"Open main menu"}),e(I,{"aria-hidden":"true",className:"h-6 w-6"})]})}),e(M,{className:"hidden lg:flex lg:gap-x-12",children:d.map(a=>e(h,{...a},a.name))}),e("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:e("button",{onClick:x,className:"p-2 text-gray-700 outline-none",children:u==="dark"?e(N,{className:"h-6 w-6"}):u==="green"?e(C,{className:"h-6 w-6"}):e(N,{className:"h-6 w-6"})})})]}),t(w,{open:o,onClose:n,className:"lg:hidden",children:[e("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),t(k,{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:[t("div",{className:"flex items-center justify-between",children:[t("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[e("span",{className:"sr-only",children:"Your Company"}),e("img",{alt:l,src:s,className:"h-8 w-auto"})]}),t("button",{type:"button",onClick:()=>n(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[e("span",{className:"sr-only",children:"Close menu"}),e($,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),e("div",{className:"mt-6 flow-root",children:e("div",{className:"-my-6 divide-y divide-gray-500/10",children:e("div",{className:"space-y-2 py-6",children:d.map(a=>e(H,{...a},a.name))})})})]})]})]})}function H({name:l,items:s,actions:d,href:o}){return!s&&o?e("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:l}):t(D,{as:"div",className:"-mx-3",children:[e(y,{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:l}),e(P,{className:"mt-2 space-y-2",children:s&&s.map(n=>e(y,{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))})]})}export{A as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as f}from"./chunk-YLGJP63J.mjs";import{a as p}from"./chunk-NOEITQK2.mjs";import{a as C}from"./chunk-EG6XIOOJ.mjs";import{b as v}from"./chunk-GLEWUUGS.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{Formik as x}from"formik";import{FaUser as w}from"react-icons/fa6";import*as m from"yup";import{toast as b}from"sonner";import{jsx as e,jsxs as n}from"react/jsx-runtime";var s={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},L=m.object().shape({name:m.string().min(2,s.tooShort).max(50,s.tooLong).required(s.required),email:m.string().email(s.email).required(s.required),subject:m.string().min(2,s.tooShort).max(50,s.tooLong).required(s.required),message:m.string().min(2,s.tooShort).max(300,s.tooLong).required(s.required)}),u=i("!pr-[44px]"),g=i("!border-red-600 border"),d=i("sr-only");function U(){return e(x,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:L,onSubmit:async(a,{resetForm:t})=>{let o=await f(a);o.data===null?b.error(o.message):(b.success(o.message),t())},children:({errors:a,touched:t,values:o,handleChange:r,handleBlur:c,isSubmitting:l,handleSubmit:h})=>n("form",{onSubmit:h,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[n("div",{children:[e(p,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:r,onBlur:c,disabled:l,icon:e(w,{}),className:i(u,a.name&&t.name&&g)}),a.name&&t.name&&e("p",{title:a.name,"aria-live":"polite",role:"error message",className:d,children:a.name})]}),n("div",{children:[e(p,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:r,onBlur:c,disabled:l,icon:e(N,{}),className:i(u,a.email&&t.email&&g)}),a.email&&t.email&&e("p",{title:a.email,"aria-live":"polite",role:"error message",className:d,children:a.email})]}),n("div",{className:"lg:col-span-2",children:[e(p,{placeholder:"Subject",type:"text",name:"subject",value:o.subject,onChange:r,onBlur:c,disabled:l,className:i(u,a.subject&&t.subject&&g)}),a.subject&&t.subject&&e("p",{title:a.subject,"aria-live":"polite",role:"error message",className:d,children:a.subject})]}),n("div",{className:"lg:col-span-2",children:[e(C,{placeholder:"Write Message...",name:"message",value:o.message,onChange:r,onBlur:c,disabled:l,icon:e(S,{}),className:i(u,a.message&&t.message&&g)}),a.message&&t.message&&e("p",{title:a.message,"aria-live":"polite",role:"error message",className:d,children:a.message})]}),e("div",{className:"lg:col-span-2",children:e(v,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:l,children:e("span",{children:"SEND"})})})]})})}function N(){return e("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function S(){return e("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}export{U as a};
4
+ import{a as f}from"./chunk-CTKUF2I6.mjs";import{a as p}from"./chunk-NOEITQK2.mjs";import{a as C}from"./chunk-EG6XIOOJ.mjs";import{b as v}from"./chunk-GLEWUUGS.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{Formik as x}from"formik";import{FaUser as w}from"react-icons/fa6";import*as m from"yup";import{toast as b}from"sonner";import{jsx as e,jsxs as n}from"react/jsx-runtime";var s={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},L=m.object().shape({name:m.string().min(2,s.tooShort).max(50,s.tooLong).required(s.required),email:m.string().email(s.email).required(s.required),subject:m.string().min(2,s.tooShort).max(50,s.tooLong).required(s.required),message:m.string().min(2,s.tooShort).max(300,s.tooLong).required(s.required)}),u=i("!pr-[44px]"),g=i("!border-red-600 border"),d=i("sr-only");function U(){return e(x,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:L,onSubmit:async(a,{resetForm:t})=>{let o=await f(a);o.data===null?b.error(o.message):(b.success(o.message),t())},children:({errors:a,touched:t,values:o,handleChange:r,handleBlur:c,isSubmitting:l,handleSubmit:h})=>n("form",{onSubmit:h,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[n("div",{children:[e(p,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:r,onBlur:c,disabled:l,icon:e(w,{}),className:i(u,a.name&&t.name&&g)}),a.name&&t.name&&e("p",{title:a.name,"aria-live":"polite",role:"error message",className:d,children:a.name})]}),n("div",{children:[e(p,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:r,onBlur:c,disabled:l,icon:e(N,{}),className:i(u,a.email&&t.email&&g)}),a.email&&t.email&&e("p",{title:a.email,"aria-live":"polite",role:"error message",className:d,children:a.email})]}),n("div",{className:"lg:col-span-2",children:[e(p,{placeholder:"Subject",type:"text",name:"subject",value:o.subject,onChange:r,onBlur:c,disabled:l,className:i(u,a.subject&&t.subject&&g)}),a.subject&&t.subject&&e("p",{title:a.subject,"aria-live":"polite",role:"error message",className:d,children:a.subject})]}),n("div",{className:"lg:col-span-2",children:[e(C,{placeholder:"Write Message...",name:"message",value:o.message,onChange:r,onBlur:c,disabled:l,icon:e(S,{}),className:i(u,a.message&&t.message&&g)}),a.message&&t.message&&e("p",{title:a.message,"aria-live":"polite",role:"error message",className:d,children:a.message})]}),e("div",{className:"lg:col-span-2",children:e(v,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:l,children:e("span",{children:"SEND"})})})]})})}function N(){return e("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function S(){return e("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}export{U as a};
@@ -1 +1 @@
1
- import{a as o}from"./chunk-JVRJU2VL.mjs";import{a as e}from"./chunk-6K2R3OAD.mjs";import{jsx as t}from"react/jsx-runtime";function a({...r}){let n=r.page,{contentWithIds:i,tableOfContents:s}=e(n);return t("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:t(o,{blocks:i})})}export{a};
1
+ import{a as o}from"./chunk-UGWWR3LF.mjs";import{a as e}from"./chunk-6K2R3OAD.mjs";import{jsx as t}from"react/jsx-runtime";function a({...r}){let n=r.page,{contentWithIds:i,tableOfContents:s}=e(n);return t("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:t(o,{blocks:i})})}export{a};
@@ -1 +1 @@
1
- import{a as f}from"./chunk-WU3JMLSC.mjs";import{a as l}from"./chunk-BZAYEKYC.mjs";import{a}from"./chunk-6D7LTGTN.mjs";import{b as r}from"./chunk-DOZXVU56.mjs";import{a as n}from"./chunk-FF5RGGCG.mjs";import{a as i}from"./chunk-DESYC5BB.mjs";import{a as o}from"./chunk-6K2R3OAD.mjs";import{jsx as t,jsxs as p}from"react/jsx-runtime";function g({...e}){let s=e.page,{contentWithIds:c,tableOfContents:m}=o(s);return p("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[t(i,{isMenuOpen:!0,logoLight:l,logoDark:f}),t(r,{...e.hero}),t(a,{edit:e.edit,pageId:e.page.id,tableOfContents:m,relatedContent:e.relatedContent,children:t(n,{blocks:c})})]})}export{g as a};
1
+ import{a as f}from"./chunk-WU3JMLSC.mjs";import{a as l}from"./chunk-BZAYEKYC.mjs";import{a}from"./chunk-T6LPMF7A.mjs";import{b as r}from"./chunk-SC2BOUEN.mjs";import{a as n}from"./chunk-FF5RGGCG.mjs";import{a as i}from"./chunk-DESYC5BB.mjs";import{a as o}from"./chunk-6K2R3OAD.mjs";import{jsx as t,jsxs as p}from"react/jsx-runtime";function g({...e}){let s=e.page,{contentWithIds:c,tableOfContents:m}=o(s);return p("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[t(i,{isMenuOpen:!0,logoLight:l,logoDark:f}),t(r,{...e.hero}),t(a,{edit:e.edit,pageId:e.page.id,tableOfContents:m,relatedContent:e.relatedContent,children:t(n,{blocks:c})})]})}export{g as a};
@@ -1 +1 @@
1
- import{a as g}from"./chunk-AD7PG4E2.mjs";import{a as n}from"./chunk-6ZNVXWZR.mjs";import{a as e}from"./chunk-WZLEEZ5C.mjs";import{a as o}from"./chunk-65EMMROH.mjs";import{a as s}from"./chunk-UESKYRNK.mjs";import{jsx as i,jsxs as a}from"react/jsx-runtime";function f({blogs:l,pages:m,categories:t,types:r}){return i("section",{children:i(s,{children:a("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[a("div",{children:[r&&i(n,{types:r}),i(g,{blogs:l}),i(e,{pages:m})]}),i("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:i("div",{className:"lg:-mt-24 w-full",children:t&&t.links&&i(o,{links:t.links,title:t.title})})})]})})})}export{f as a};
1
+ import{a as g}from"./chunk-AD7PG4E2.mjs";import{a as e}from"./chunk-WZLEEZ5C.mjs";import{a as n}from"./chunk-6ZNVXWZR.mjs";import{a as o}from"./chunk-TXXFXCXB.mjs";import{a as s}from"./chunk-UESKYRNK.mjs";import{jsx as i,jsxs as a}from"react/jsx-runtime";function f({blogs:l,pages:m,categories:t,types:r}){return i("section",{children:i(s,{children:a("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[a("div",{children:[r&&i(n,{types:r}),i(g,{blogs:l}),i(e,{pages:m})]}),i("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:i("div",{className:"lg:-mt-24 w-full",children:t&&t.links&&i(o,{links:t.links,title:t.title})})})]})})})}export{f as a};
@@ -1 +1 @@
1
- import{a as x}from"./chunk-KML6U7IE.mjs";import{a as k}from"./chunk-65EMMROH.mjs";import{e as P}from"./chunk-OCZTJKMQ.mjs";import{b as v}from"./chunk-GLEWUUGS.mjs";import{a as c,b as h,c as C,e as p}from"./chunk-D76EO57Z.mjs";import{a as b}from"./chunk-WISCWNL2.mjs";import{a as N}from"./chunk-UESKYRNK.mjs";import L from"next/image";import{notFound as M}from"next/navigation";import I from"next/link";import{jsx as t,jsxs as o}from"react/jsx-runtime";function T({image:a,name:r,about:m,socialLinks:n}){return!a||!a.src||a.src.length<3||!r?null:t("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:t(c,{children:o(p,{children:[a&&a.src&&t(L,{src:a.src,alt:a.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:x,className:"mx-auto mt-6 rounded-full object-cover"}),t("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:r}),t("p",{children:m}),n&&n.length>0&&t("nav",{"aria-label":"social links",children:t("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:n.map((e,s)=>t("li",{children:t(b,{href:e.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:t("span",{children:e.icon})})},s))})})]})})})}function j({page:a,categoryList:r,edit:m=!1,path:n="/admin/collections/posts/"}){var g;if(!a)return M();let{meta:e,populatedAuthors:s,authors:d,categories:y,content:U,title:w}=a,z={image:{src:e&&e.image&&e.image.url||void 0,alt:e&&e.image&&e.image.alt||void 0},authorName:((g=s==null?void 0:s[0])==null?void 0:g.name)||"",category:y,commentCount:0,title:w,description:(e==null?void 0:e.description)||""},u=d==null?void 0:d.map(i=>{var l,f;return{name:i.name||"",about:"",image:{src:i.profilePicture&&((f=(l=i.profilePicture.sizes)==null?void 0:l.square)==null?void 0:f.url)||"",alt:i.name||"blog author"},socialLinks:[]}});return t(N,{children:o("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[t("div",{children:o("div",{className:"[&_p+P]:mt-4",children:[t("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),t(P,{content:U,enableGutter:!1})]})}),o("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[m&&t("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:o(c,{children:[t(h,{children:t(C,{className:"text-accent",children:"Content Actions"})}),o(p,{children:[t("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),t(I,{href:`${n}${a.id}`,children:t(v,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),u&&u.map((i,l)=>t(T,{...i},l)),r&&r.links&&t("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:t(k,{links:r.links,title:r.title})})]})]})})}export{j as a};
1
+ import{a as x}from"./chunk-KML6U7IE.mjs";import{a as k}from"./chunk-TXXFXCXB.mjs";import{e as P}from"./chunk-OCZTJKMQ.mjs";import{b as v}from"./chunk-GLEWUUGS.mjs";import{a as c,b as h,c as C,e as p}from"./chunk-D76EO57Z.mjs";import{a as b}from"./chunk-WISCWNL2.mjs";import{a as N}from"./chunk-UESKYRNK.mjs";import L from"next/image";import{notFound as M}from"next/navigation";import I from"next/link";import{jsx as t,jsxs as o}from"react/jsx-runtime";function T({image:a,name:r,about:m,socialLinks:n}){return!a||!a.src||a.src.length<3||!r?null:t("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:t(c,{children:o(p,{children:[a&&a.src&&t(L,{src:a.src,alt:a.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:x,className:"mx-auto mt-6 rounded-full object-cover"}),t("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:r}),t("p",{children:m}),n&&n.length>0&&t("nav",{"aria-label":"social links",children:t("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:n.map((e,s)=>t("li",{children:t(b,{href:e.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:t("span",{children:e.icon})})},s))})})]})})})}function j({page:a,categoryList:r,edit:m=!1,path:n="/admin/collections/posts/"}){var g;if(!a)return M();let{meta:e,populatedAuthors:s,authors:d,categories:y,content:U,title:w}=a,z={image:{src:e&&e.image&&e.image.url||void 0,alt:e&&e.image&&e.image.alt||void 0},authorName:((g=s==null?void 0:s[0])==null?void 0:g.name)||"",category:y,commentCount:0,title:w,description:(e==null?void 0:e.description)||""},u=d==null?void 0:d.map(i=>{var l,f;return{name:i.name||"",about:"",image:{src:i.profilePicture&&((f=(l=i.profilePicture.sizes)==null?void 0:l.square)==null?void 0:f.url)||"",alt:i.name||"blog author"},socialLinks:[]}});return t(N,{children:o("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[t("div",{children:o("div",{className:"[&_p+P]:mt-4",children:[t("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),t(P,{content:U,enableGutter:!1})]})}),o("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[m&&t("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:o(c,{children:[t(h,{children:t(C,{className:"text-accent",children:"Content Actions"})}),o(p,{children:[t("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),t(I,{href:`${n}${a.id}`,children:t(v,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),u&&u.map((i,l)=>t(T,{...i},l)),r&&r.links&&t("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:t(k,{links:r.links,title:r.title})})]})]})})}export{j as a};
@@ -1 +1 @@
1
- import{a as s}from"./chunk-KQLEXEOG.mjs";import{a as l}from"./chunk-XJIMKYBF.mjs";import{a as c}from"./chunk-4AVYTUS2.mjs";import{a as i}from"./chunk-UESKYRNK.mjs";import b from"next/image";import{ChevronRightIcon as u,HomeIcon as g}from"@heroicons/react/20/solid";import{Fragment as x,jsx as t,jsxs as n}from"react/jsx-runtime";var h={highImpact:s,lowImpact:l,mediumImpact:c,sectionHero:m},k=a=>{let{type:r}=a||{};if(!r||r==="none")return null;let e=h[r];return e?t(e,{...a}):null};function d({breadcrumbItems:a}){if(a&&a.length>0){let r=a.filter(e=>e.label.toLowerCase()!=="home");return t("nav",{"aria-label":"Breadcrumb",className:"flex",children:n("ol",{role:"list",className:"flex items-center space-x-4",children:[t("li",{children:t("div",{children:n("a",{href:"/",className:"text-foreground hover:text-accent",children:[t(g,{"aria-hidden":"true",className:"size-5 shrink-0"}),t("span",{className:"sr-only",children:"Home"})]})})}),r.map((e,p)=>t("li",{children:n("div",{className:"flex items-center",children:[t(u,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),e.href?t("a",{href:e.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:e.label}):t("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:e.label})]})},p))]})})}return t(x,{})}import{jsx as o,jsxs as f}from"react/jsx-runtime";function m({title:a,breadcrumbItems:r,image:e}){return f("section",{className:"-z-10 relative flex min-h-[250px] pt-auto items-end",children:[o("div",{className:"absolute inset-0 z-0",children:e&&o(b,{priority:!0,src:e.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),o("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),o(i,{children:f("div",{className:"relative z-10 flex flex-wrap items-center justify-between gap-x-20 gap-y-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[o("h1",{className:"underline underline-offset-8 decoration-1 decoration-accent font-secondary text-5xl font-bold lg:w-1/2",children:a}),r&&r.length>0&&o(d,{breadcrumbItems:r})]})})]})}export{m as a,k as b,d as c};
1
+ import{a as l}from"./chunk-XJIMKYBF.mjs";import{a as s}from"./chunk-KQLEXEOG.mjs";import{a as c}from"./chunk-4AVYTUS2.mjs";import{a as i}from"./chunk-UESKYRNK.mjs";import b from"next/image";import{ChevronRightIcon as u,HomeIcon as g}from"@heroicons/react/20/solid";import{Fragment as x,jsx as t,jsxs as n}from"react/jsx-runtime";var h={highImpact:s,lowImpact:l,mediumImpact:c,sectionHero:m},k=a=>{let{type:r}=a||{};if(!r||r==="none")return null;let e=h[r];return e?t(e,{...a}):null};function d({breadcrumbItems:a}){if(a&&a.length>0){let r=a.filter(e=>e.label.toLowerCase()!=="home");return t("nav",{"aria-label":"Breadcrumb",className:"flex",children:n("ol",{role:"list",className:"flex items-center space-x-4",children:[t("li",{children:t("div",{children:n("a",{href:"/",className:"text-foreground hover:text-accent",children:[t(g,{"aria-hidden":"true",className:"size-5 shrink-0"}),t("span",{className:"sr-only",children:"Home"})]})})}),r.map((e,p)=>t("li",{children:n("div",{className:"flex items-center",children:[t(u,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),e.href?t("a",{href:e.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:e.label}):t("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:e.label})]})},p))]})})}return t(x,{})}import{jsx as o,jsxs as f}from"react/jsx-runtime";function m({title:a,breadcrumbItems:r,image:e}){return f("section",{className:"-z-10 relative flex min-h-[250px] pt-auto items-end",children:[o("div",{className:"absolute inset-0 z-0",children:e&&o(b,{priority:!0,src:e.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),o("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),o(i,{children:f("div",{className:"relative z-10 flex flex-wrap items-center justify-between gap-x-20 gap-y-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[o("h1",{className:"underline underline-offset-8 decoration-1 decoration-accent font-secondary text-5xl font-bold lg:w-1/2",children:a}),r&&r.length>0&&o(d,{breadcrumbItems:r})]})})]})}export{m as a,k as b,d as c};
@@ -0,0 +1,4 @@
1
+ "use client";
2
+ "use strict";
3
+
4
+ import{a as x}from"./chunk-MGZMAVEP.mjs";import{b as s}from"./chunk-GLEWUUGS.mjs";import{a as d,b as m,c as f,e as u}from"./chunk-D76EO57Z.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{useState as v,useEffect as O}from"react";import C from"next/link";import{Printer as z,Presentation as S}from"lucide-react";import{usePathname as H}from"next/navigation";import{jsx as t,jsxs as a}from"react/jsx-runtime";var G=({children:h,pageId:b,tableOfContents:p=[],edit:y=!0,path:N="/admin/collections/pages/",relatedContent:l=[{title:"Related Content",links:[]}]})=>{let[c,k]=v(!1),[P,T]=v(""),g=H(),E=()=>{k(!c)},I=e=>{switch(e){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},$=(e,n)=>{e.preventDefault();let o=document.getElementById(n);if(o){let r=o.offsetTop+-100,w=document.querySelector(".container")||window;w===window?window.scrollTo({top:r,behavior:"smooth"}):w.scrollTo({top:r,behavior:"smooth"}),T(n)}else console.error(`Element with ID "${n}" not found.`)},L=()=>{let n="/print/"+g.split("/")[1],o=window.open(n,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");o&&o.focus()},R=()=>{let n="/present/"+g.split("/")[1],o=window.open(n,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");o&&o.focus()};return O(()=>{let e=window.location.hash;if(e){let n=e.substring(1),o=document.getElementById(n);if(o){let r=o.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:r,behavior:"smooth"})}}},[window.location.hash]),a("div",{className:"container py-8",children:[a("div",{className:"grid grid-cols-1 md:grid-cols-3 xl:grid-cols-4 gap-8",children:[t("div",{className:i(c?"col-span-2":"col-span-3","xl:col-span-3"),children:h}),a("div",{className:i("space-y-6 transform min-w-full transition-transform duration-300","col-span-4 md:col-span-1 translate-x-0 xl:-mt-20",c?"translate-x-0":"md:translate-x-full","xl:block xl:col-span-1 xl:translate-x-0"),children:[y&&a(d,{children:[t(m,{children:t(f,{className:"text-accent",children:"Content Actions"})}),a(u,{children:[t("p",{className:"mb-4 text-sm text-muted-foreground",children:"Contribute or create new content."}),t(C,{href:`${N}${b}`,children:t(s,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit Page"})}),t(C,{href:"/admin/collections/pages/create",children:t(s,{variant:"outline",className:"w-full mt-2 text-accent hover:text-foreground",children:"Create New"})}),a("div",{className:"flex space-x-2 mt-4",children:[a(s,{variant:"outline",className:"text-accent hover:text-foreground",onClick:L,children:[t(z,{className:"mr-2"})," Print"]}),a(s,{variant:"outline",className:"text-accent hover:text-foreground",onClick:R,children:[t(S,{className:"mr-2"})," Present"]})]})]})]}),l&&l.length>0&&l.map((e,n)=>e.links&&e.links.length>0&&t(x,{...e},n)),p.length>3&&a(d,{className:"w-full max-w-sm mt-4",children:[t(m,{children:t(f,{className:"text-accent",children:"On this page"})}),t(u,{children:t("ul",{className:"space-y-2",children:p.map((e,n)=>t("li",{className:I(e.tag),children:t("a",{href:`#${e.id}`,className:`text-xs ${P===e.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:e.text})},n))})})]})]}),t("button",{onClick:E,className:i("fixed top-1/2 right-0 z-50 h-16 w-8 bg-accent text-accent-foreground rounded-l-full transform -translate-y-1/2 flex items-center justify-center","hidden md:block xl:hidden"),children:"\u22EE"})]}),t("div",{className:"block md:hidden mt-8",children:t("div",{className:"space-y-6",children:h})})]})};export{G as a};
@@ -0,0 +1,4 @@
1
+ "use client";
2
+ "use strict";
3
+
4
+ import{a as s,b as i,c,e as l}from"./chunk-D76EO57Z.mjs";import{a as n}from"./chunk-NIQ4466A.mjs";import{useSearchParams as u,usePathname as h,useRouter as x}from"next/navigation";import{ExternalLink as y}from"lucide-react";import{jsx as e,jsxs as m}from"react/jsx-runtime";var N=n("transition-colors duration-400 hover:text-primary ease-in-out");function S({title:o,links:a}){let p=u(),d=h(),{replace:C}=x();function f(r){let t=new URLSearchParams(p);r?t.set("category",r):t.delete("category"),C(`${d}?${t.toString()}`)}return m(s,{children:[e(i,{children:e(c,{className:"text-accent",children:o&&o})}),e(l,{children:a&&a.length>0&&e("nav",{"aria-label":"footer links navigation",children:e("ul",{className:"grid gap-2.5 ",children:a.map((r,t)=>m("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:g=>{g.preventDefault(),f(r.href)},children:[r.label,e(y,{className:"ml-1 h-3 w-3"})]},t))})})})]})}export{S as a};
@@ -0,0 +1 @@
1
+ import{a as b,b as v,c as h}from"./chunk-SBM5HULF.mjs";import{b as i}from"./chunk-GLEWUUGS.mjs";import{ChevronLeft as w,ChevronRight as k}from"lucide-react";import{jsx as e,jsxs as r}from"react/jsx-runtime";function u(...t){return t.filter(Boolean).join(" ")}function $({currentDate:t,setCurrentDate:l,holidays:f,employees:n}){let m=new Date(t.getFullYear(),t.getMonth()+1,0).getDate(),y=()=>{l(new Date(t.getFullYear(),t.getMonth()-1,1))},x=()=>{l(new Date(t.getFullYear(),t.getMonth()+1,1))},N=()=>{l(new Date)};return r("div",{className:"px-4 sm:px-6 lg:px-8",children:[r("div",{className:"sm:flex sm:items-center",children:[r("div",{className:"sm:flex-auto",children:[e("h1",{className:"text-2xl font-semibold text-accent",children:t.toLocaleString("default",{month:"long",year:"numeric"})}),e("p",{className:"mt-2 text-sm text-foreground",children:"All staff with holidays for the current month."})]}),r("div",{className:"relative flex items-center rounded-md gap-1 md:items-stretch",children:[r(i,{onClick:y,variant:"outline",size:"icon",className:"rounded-l-md border-accent hover:text-accent",children:[e("span",{className:"sr-only",children:"Previous month"}),e(w,{className:"h-5 w-5","aria-hidden":"true"})]}),e(i,{variant:"outline",onClick:N,className:"hidden border-l border-r border-accent px-3.5 text-sm font-semibold text-accent hover:bg-gray-50 focus:relative md:block",children:"Today"}),r(i,{onClick:x,variant:"outline",size:"icon",className:"rounded-r-md border-accent hover:text-accent",children:[e("span",{className:"sr-only",children:"Next month"}),e(k,{className:"h-5 w-5","aria-hidden":"true"})]})]})]}),e("div",{className:"mt-8 flow-root",children:e("div",{className:"-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8",children:e("div",{className:"inline-block min-w-full py-2 align-middle",children:r("table",{className:"min-w-full border-separate border-spacing-0",children:[e("thead",{children:r("tr",{children:[e("th",{scope:"col",className:"sticky top-0 z-10 border-b border-r border-gray-300 bg-white bg-opacity-75 py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter sm:pl-6 lg:pl-8",children:"Employee"}),[...Array(m)].map((o,s)=>e("th",{scope:"col",className:"sticky top-0 z-10 border-b border-r border-gray-300 bg-white bg-opacity-75 px-0 py-3.5 text-center text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter",children:s+1},s))]})}),e("tbody",{children:n.map((o,s)=>r("tr",{children:[e("td",{className:u(s!==n.length-1?" border-gray-200":"","whitespace-nowrap py-4 border-r pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-6 lg:pl-8"),children:r("div",{className:"flex items-center",children:[r(b,{className:"h-11 w-11",children:[e(v,{src:o.image,alt:o.name}),e(h,{children:o.name.split(" ").map(c=>c[0]).join("")})]}),e("div",{className:"ml-4",children:e("div",{className:"font-medium text-accent",children:o.name})})]})}),[...Array(m)].map((c,g)=>{let p=new Date(t.getFullYear(),t.getMonth(),g+1),a=f.find(d=>d.userId===o.id&&new Date(d.startDate)<=p&&new Date(d.endDate)>=p);return e("td",{className:u(s!==n.length-1?"border-r border-gray-200":"","whitespace-nowrap border-r border-gray-200"),children:e("div",{className:`h-6 w-6 mx-auto rounded-full overflow-hidden ${a?a.status==="approved"?"bg-green-500":a.status==="rejected"?"bg-red-500":"bg-gray-600":"bg-gray-100"}`,title:a?`${o.name}: ${a.status} (${a.startDate} - ${a.endDate}) - ${a.leaveType}`:"",children:a&&a.leaveType!=="Full Day"&&e("div",{className:`h-3 w-6 ${a.leaveType==="Morning","bg-white rounded-t-full"}`})})},`${o.id}-${g}`)})]},o.id))})]})})})})]})}export{$ as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as d}from"./chunk-4VDJWCUB.mjs";import{a as l}from"./chunk-H7D3PZKE.mjs";import{a as m}from"./chunk-3YZN4MJB.mjs";import{b as i,f as o}from"./chunk-AFA6LBJ4.mjs";import{a as s}from"./chunk-O5XLZ254.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function n({...t}){return r("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[e(s,{...t.header}),r(i,{className:"top-14 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(d,{...t.sidebarLeft,className:"flex-none"}),e(o,{className:"grow overflow-hidden",children:r("div",{className:"max-h-full top-0 absolute max-w-full",children:[e("div",{"aria-hidden":"true",className:"inset-x-0 -z-10 transform-gpu overflow-hidden blur-3xl",children:e("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%-11rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 rotate-[30deg] bg-gradient-to-tr from-primary to-secondary opacity-30 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem]"})}),e("div",{className:"absolute top-0 w-full",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:r("div",{className:"mx-auto max-w-2xl text-center pt-4",children:[e("h1",{className:"text-balance text-5xl font-semibold tracking-tight text-primary sm:text-7xl",children:"Anim aute id magna aliqua ad ad non deserunt sunt."}),e("p",{className:"mt-8 text-pretty text-lg font-medium text-gray-500 sm:text-xl/8",children:"Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo. Elit sunt amet fugiat veniam occaecat."}),e("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:e("div",{className:"mt-6 px-10 grid grid-cols-1 gap-8 lg:grid-cols-3",children:t.tiles.map(a=>e(l,{url:a.slug,title:a.title,mainImage:a.mainImage,excerpt:a.excerpt},a.slug))})})]})})}),e("div",{"aria-hidden":"true",className:"absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]",children:e("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%+3rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 bg-gradient-to-tr from-[#ff80b5] to-[#9089fc] opacity-30 sm:left-[calc(50%+36rem)] sm:w-[72.1875rem]"})})]})})]}),e(m,{})]})}export{n as a};
4
+ import{a as d}from"./chunk-4VDJWCUB.mjs";import{a as l}from"./chunk-H7D3PZKE.mjs";import{a as m}from"./chunk-3YZN4MJB.mjs";import{b as i,f as o}from"./chunk-AFA6LBJ4.mjs";import{a as s}from"./chunk-DRJBYVJB.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function n({...t}){return r("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[e(s,{...t.header}),r(i,{className:"top-14 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(d,{...t.sidebarLeft,className:"flex-none"}),e(o,{className:"grow overflow-hidden",children:r("div",{className:"max-h-full top-0 absolute max-w-full",children:[e("div",{"aria-hidden":"true",className:"inset-x-0 -z-10 transform-gpu overflow-hidden blur-3xl",children:e("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%-11rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 rotate-[30deg] bg-gradient-to-tr from-primary to-secondary opacity-30 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem]"})}),e("div",{className:"absolute top-0 w-full",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:r("div",{className:"mx-auto max-w-2xl text-center pt-4",children:[e("h1",{className:"text-balance text-5xl font-semibold tracking-tight text-primary sm:text-7xl",children:"Anim aute id magna aliqua ad ad non deserunt sunt."}),e("p",{className:"mt-8 text-pretty text-lg font-medium text-gray-500 sm:text-xl/8",children:"Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo. Elit sunt amet fugiat veniam occaecat."}),e("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:e("div",{className:"mt-6 px-10 grid grid-cols-1 gap-8 lg:grid-cols-3",children:t.tiles.map(a=>e(l,{url:a.slug,title:a.title,mainImage:a.mainImage,excerpt:a.excerpt},a.slug))})})]})})}),e("div",{"aria-hidden":"true",className:"absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]",children:e("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%+3rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 bg-gradient-to-tr from-[#ff80b5] to-[#9089fc] opacity-30 sm:left-[calc(50%+36rem)] sm:w-[72.1875rem]"})})]})})]}),e(m,{})]})}export{n as a};
@@ -0,0 +1,4 @@
1
+ "use client";
2
+ "use strict";
3
+
4
+ import{a as m}from"./chunk-FF5RGGCG.mjs";import{a as r}from"./chunk-NIQ4466A.mjs";import{useState as h,useEffect as w,useCallback as g}from"react";import{AnimatePresence as x,motion as y}from"framer-motion";import{jsx as t,jsxs as N}from"react/jsx-runtime";var W=p=>{let[l,a]=h(0),{blocks:n}=p,f=n&&Array.isArray(n)&&n.length>0,b=e=>{a(e)},i=()=>{a(e=>(e+1)%n.length)},s=()=>{a(e=>(e-1+n.length)%n.length)},c=g(((e,o)=>{let d;return(...v)=>{clearTimeout(d),d=setTimeout(()=>e(...v),o)}})(e=>{e.deltaY>0?i():s()},300),[]),u=e=>{e.key==="ArrowDown"?i():e.key==="ArrowUp"&&s()};return w(()=>(window.addEventListener("wheel",c),window.addEventListener("keydown",u),()=>{window.removeEventListener("wheel",c),window.removeEventListener("keydown",u)}),[]),N("div",{className:"flex h-screen relative",children:[t("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-100",children:f&&n.map((e,o)=>t("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${l===o?"bg-accent":"bg-gray-300"}`,onClick:()=>b(o),children:t("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:e.blockName})},e.id))}),n.map((e,o)=>t("div",{className:`absolute inset-0 flex items-center justify-center transition-opacity duration-300 ${o===l?"opacity-100":"opacity-0"}`,children:t(m,{blocks:[e]})},o)),t("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:i,children:t(k,{})})]})},k=()=>t(x,{children:t(y.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:r("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-gray-800"),children:t(y.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:r("w-[12px] h-[12px] rounded-full","bg-gray-800")})})});export{W as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as h}from"./chunk-WU3JMLSC.mjs";import{a as f}from"./chunk-BZAYEKYC.mjs";import{a as l}from"./chunk-KQLEXEOG.mjs";import{a as u}from"./chunk-XJIMKYBF.mjs";import{a as p}from"./chunk-4AVYTUS2.mjs";import{a as c}from"./chunk-CWNEDSLD.mjs";import{b as n}from"./chunk-GLEWUUGS.mjs";import{a as o,b as a,c as i,e as m}from"./chunk-D76EO57Z.mjs";import{a as s}from"./chunk-DESYC5BB.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function b({...r}){return t("div",{children:[e(s,{isMenuOpen:!0,logoLight:f,logoDark:h,...r.header}),r.hero&&r.hero.type==="lowImpact"&&e(u,{...r.hero}),r.hero&&r.hero.type==="mediumImpact"&&e(p,{...r.hero}),r.hero&&r.hero.type==="highImpact"&&e(l,{...r.hero}),r.hero&&r.hero.type==="postHero"&&e(c,{...r.hero}),e("div",{className:"container py-8",children:t("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:r.children}),t("div",{className:"space-y-6",children:[t(o,{children:[e(a,{children:e(i,{children:"Quick Actions"})}),t(m,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(n,{className:"w-full",children:"Create New"})]})]}),t(o,{children:[e(a,{children:e(i,{children:"Resources"})}),e(m,{children:t("nav",{className:"flex flex-col space-y-2",children:[t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}export{b as a};
4
+ import{a as h}from"./chunk-WU3JMLSC.mjs";import{a as f}from"./chunk-BZAYEKYC.mjs";import{a as u}from"./chunk-XJIMKYBF.mjs";import{a as l}from"./chunk-KQLEXEOG.mjs";import{a as p}from"./chunk-4AVYTUS2.mjs";import{a as c}from"./chunk-CWNEDSLD.mjs";import{b as n}from"./chunk-GLEWUUGS.mjs";import{a as o,b as a,c as i,e as m}from"./chunk-D76EO57Z.mjs";import{a as s}from"./chunk-DESYC5BB.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function b({...r}){return t("div",{children:[e(s,{isMenuOpen:!0,logoLight:f,logoDark:h,...r.header}),r.hero&&r.hero.type==="lowImpact"&&e(u,{...r.hero}),r.hero&&r.hero.type==="mediumImpact"&&e(p,{...r.hero}),r.hero&&r.hero.type==="highImpact"&&e(l,{...r.hero}),r.hero&&r.hero.type==="postHero"&&e(c,{...r.hero}),e("div",{className:"container py-8",children:t("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:r.children}),t("div",{className:"space-y-6",children:[t(o,{children:[e(a,{children:e(i,{children:"Quick Actions"})}),t(m,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(n,{className:"w-full",children:"Create New"})]})]}),t(o,{children:[e(a,{children:e(i,{children:"Resources"})}),e(m,{children:t("nav",{className:"flex flex-col space-y-2",children:[t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}export{b as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as D,b as P,d as x}from"./chunk-HWEPDRG6.mjs";import{a as d}from"./chunk-DWRQHV42.mjs";import{a as N}from"./chunk-XGQLOPHW.mjs";import{b as c}from"./chunk-GLEWUUGS.mjs";import{a as h}from"./chunk-NIQ4466A.mjs";import{useState as f,useEffect as R}from"react";import{format as L}from"date-fns";import{CalendarIcon as S}from"lucide-react";import{useRouter as w}from"next/navigation";import{Toaster as q,toast as p}from"sonner";import{jsx as e,jsxs as s}from"react/jsx-runtime";var B=({options:r,value:n,onChange:a,disabled:i=[]})=>e("div",{className:"flex space-x-2",children:r.map((t,l)=>e(c,{type:"button",variant:n===t?"default":"outline",onClick:()=>a(t),disabled:i[l],className:"flex-1 hover:bg-accent hover:text-accent-foreground",children:t},t))});function J({remainingDays:r,submitLeaveRequest:n}){let[a,i]=f(void 0),[t,l]=f(void 0),[m,v]=f("Full Day"),[g,C]=f(!1),F=w();R(()=>{C(a!==t||!a||!t),g&&v("Full Day")},[a,t]);let T=o=>{v(o)};return s("div",{className:"max-w-2xl",children:[e("h2",{className:"text-lg font-semibold mb-4",children:"Request Leave"}),s("p",{className:"text-sm text-gray-500 mb-4",children:["Remaining leave days: ",r]}),s("form",{onSubmit:async o=>{if(o.preventDefault(),!a||!t){p.error("Please select both start and end dates");return}let y=Math.ceil((t.getTime()-a.getTime())/(1e3*60*60*24))+1;if((m==="Morning"||m==="Afternoon")&&(y=.5),y>r){p.error("You do not have enough leave days remaining");return}let u=new FormData;u.append("startDate",a.toISOString()),u.append("endDate",t.toISOString()),u.append("leaveType",m),u.append("duration",y.toString());let b=await(n||E)(u);b.success?(p.success(b.message),i(void 0),l(void 0),v("Full Day"),F.refresh()):p.error(`Error: ${b.message}`)},className:"space-y-4",children:[s("div",{className:"grid grid-cols-2 gap-4",children:[s("div",{className:"flex flex-col space-y-2",children:[e(d,{htmlFor:"startDate",children:"Start Date"}),s(D,{children:[e(P,{asChild:!0,children:s(c,{variant:"outline",className:h("w-full justify-start text-left font-normal",!a&&"text-muted-foreground"),children:[e(S,{className:"mr-2 h-4 w-4"}),a?L(a,"PPP"):e("span",{children:"Pick a date"})]})}),e(x,{className:"w-auto p-0",align:"start",children:e(N,{mode:"single",selected:a,onSelect:o=>{i(o),o&&(!t||o>t)&&l(o)},initialFocus:!0})})]})]}),s("div",{className:"flex flex-col space-y-2",children:[e(d,{htmlFor:"endDate",children:"End Date"}),s(D,{children:[e(P,{asChild:!0,children:s(c,{variant:"outline",className:h("w-full justify-start text-left font-normal",!t&&"text-muted-foreground"),children:[e(S,{className:"mr-2 h-4 w-4"}),t?L(t,"PPP"):e("span",{children:"Pick a date"})]})}),e(x,{className:"w-auto p-0",align:"start",children:e(N,{mode:"single",selected:t,onSelect:l,disabled:o=>a?o<a:!1,initialFocus:!0})})]})]})]}),s("div",{className:"space-y-2",children:[e(d,{children:"Leave Type"}),e(B,{options:["Full Day","Morning","Afternoon"],value:m,onChange:T,disabled:[!1,g,g]})]}),e(c,{type:"submit",className:"w-full hover:bg-accent hover:text-accent-foreground",children:"Submit Request"})]}),e(q,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9})]})}var E=async r=>{let n={};return r.forEach((a,i)=>{n[i]=a}),console.log("Leave request submitted:",n),{success:!0,message:`Leave request submitted successfully for ${r.get("duration")}`}};export{J as a};
4
+ import{a as D,b as P,d as x}from"./chunk-HWEPDRG6.mjs";import{a as d}from"./chunk-DWRQHV42.mjs";import{a as N}from"./chunk-XGQLOPHW.mjs";import{b as c}from"./chunk-GLEWUUGS.mjs";import{a as h}from"./chunk-NIQ4466A.mjs";import{useState as f,useEffect as R}from"react";import{format as S}from"date-fns";import{CalendarIcon as L}from"lucide-react";import{useRouter as w}from"next/navigation";import{Toaster as B,toast as p}from"sonner";import{jsx as e,jsxs as s}from"react/jsx-runtime";var q=({options:r,value:i,onChange:a,disabled:n=[]})=>e("div",{className:"flex space-x-2",children:r.map((t,l)=>e(c,{type:"button",variant:i===t?"default":"outline",onClick:()=>a(t),disabled:n[l],className:"flex-1 hover:bg-accent hover:text-accent-foreground",children:t},t))});function J({remainingDays:r,submitLeaveRequest:i}){let[a,n]=f(void 0),[t,l]=f(void 0),[m,v]=f("Full Day"),[g,C]=f(!1),F=w();R(()=>{C(a!==t||!a||!t),g&&v("Full Day")},[a,t]);let T=o=>{v(o)};return s("div",{className:"max-w-2xl",children:[e("h2",{className:"text-lg font-semibold mb-4",children:"Request Leave"}),s("p",{className:"text-sm text-gray-500 mb-4",children:["Remaining leave days: ",r]}),s("form",{onSubmit:async o=>{if(o.preventDefault(),!a||!t){p.error("Please select both start and end dates");return}let y=Math.ceil((t.getTime()-a.getTime())/(1e3*60*60*24))+1;if((m==="Morning"||m==="Afternoon")&&(y=.5),y>r){p.error("You do not have enough leave days remaining");return}let u=new FormData;u.append("startDate",a.toISOString()),u.append("endDate",t.toISOString()),u.append("leaveType",m),u.append("duration",y.toString());let b=await(i||E)(u);b.success?(p.success(b.message),n(void 0),l(void 0),v("Full Day"),F.refresh()):p.error(`Error: ${b.message}`)},className:"space-y-4",children:[s("div",{className:"grid grid-cols-2 gap-4",children:[s("div",{className:"flex flex-col space-y-2",children:[e(d,{htmlFor:"startDate",children:"Start Date"}),s(D,{children:[e(P,{asChild:!0,children:s(c,{variant:"outline",className:h("w-full justify-start text-left font-normal",!a&&"text-muted-foreground"),children:[e(L,{className:"mr-2 h-4 w-4"}),a?S(a,"PPP"):e("span",{children:"Pick a date"})]})}),e(x,{className:"w-auto p-0",align:"start",children:e(N,{mode:"single",selected:a,onSelect:o=>{n(o),o&&(!t||o>t)&&l(o)},initialFocus:!0})})]})]}),s("div",{className:"flex flex-col space-y-2",children:[e(d,{htmlFor:"endDate",children:"End Date"}),s(D,{children:[e(P,{asChild:!0,children:s(c,{variant:"outline",className:h("w-full justify-start text-left font-normal",!t&&"text-muted-foreground"),children:[e(L,{className:"mr-2 h-4 w-4"}),t?S(t,"PPP"):e("span",{children:"Pick a date"})]})}),e(x,{className:"w-auto p-0",align:"start",children:e(N,{mode:"single",selected:t,onSelect:l,disabled:o=>a?o<a:!1,initialFocus:!0})})]})]})]}),s("div",{className:"space-y-2",children:[e(d,{children:"Leave Type"}),e(q,{options:["Full Day","Morning","Afternoon"],value:m,onChange:T,disabled:[!1,g,g]})]}),e(c,{type:"submit",className:"w-full hover:bg-accent hover:text-accent-foreground",children:"Submit Request"})]}),e(B,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9})]})}var E=async r=>{let i={};return r.forEach((a,n)=>{i[n]=a}),{success:!0,message:`Leave request submitted successfully for ${r.get("duration")}`}};export{J as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";"use client";var X=Object.defineProperty;var ve=Object.getOwnPropertyDescriptor;var we=Object.getOwnPropertyNames;var ke=Object.prototype.hasOwnProperty;var Ne=(e,r)=>{for(var t in r)X(e,t,{get:r[t],enumerable:!0})},Pe=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of we(r))!ke.call(e,n)&&n!==t&&X(e,n,{get:()=>r[n],enumerable:!(o=ve(r,n))||o.enumerable});return e};var Ce=e=>Pe(X({},"__esModule",{value:!0}),e);var ar={};Ne(ar,{SimpleHeader:()=>nr});module.exports=Ce(ar);var A=require("react"),w=require("@headlessui/react"),V=require("@heroicons/react/24/outline"),D=require("@heroicons/react/20/solid");var le=require("react/jsx-runtime"),ae=({type:e="solid",iconName:r="cloud",size:t="lg",className:o})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",a="fa-"+r,l=o!=null?o:"",s=n+a+" fa-"+t+" "+l;return(0,le.jsx)("i",{className:s})};var be=require("clsx");var Y="-",ze=e=>{let r=Ie(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{let s=l.split(Y);return s[0]===""&&s.length!==1&&s.shift(),de(s,r)||Me(l)},getConflictingClassGroupIds:(l,s)=>{let g=t[l]||[];return s&&o[l]?[...g,...o[l]]:g}}},de=(e,r)=>{var l;if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),n=o?de(e.slice(1),o):void 0;if(n)return n;if(r.validators.length===0)return;let a=e.join(Y);return(l=r.validators.find(({validator:s})=>s(a)))==null?void 0:l.classGroupId},ie=/^\[(.+)\]$/,Me=e=>{if(ie.test(e)){let r=ie.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},Ie=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return Ae(Object.entries(e.classGroups),t).forEach(([a,l])=>{K(l,o,a,r)}),o},K=(e,r,t,o)=>{e.forEach(n=>{if(typeof n=="string"){let a=n===""?r:ce(r,n);a.classGroupId=t;return}if(typeof n=="function"){if(Se(n)){K(n(o),r,t,o);return}r.validators.push({validator:n,classGroupId:t});return}Object.entries(n).forEach(([a,l])=>{K(l,ce(r,a),t,o)})})},ce=(e,r)=>{let t=e;return r.split(Y).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t},Se=e=>e.isThemeGetter,Ae=(e,r)=>r?e.map(([t,o])=>{let n=o.map(a=>typeof a=="string"?r+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([l,s])=>[r+l,s])):a);return[t,n]}):e,Ge=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,n=(a,l)=>{t.set(a,l),r++,r>e&&(r=0,o=t,t=new Map)};return{get(a){let l=t.get(a);if(l!==void 0)return l;if((l=o.get(a))!==void 0)return n(a,l),l},set(a,l){t.has(a)?t.set(a,l):n(a,l)}}},pe="!",Re=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,n=r[0],a=r.length,l=s=>{let g=[],f=0,h=0,v;for(let b=0;b<s.length;b++){let x=s[b];if(f===0){if(x===n&&(o||s.slice(b,b+a)===r)){g.push(s.slice(h,b)),h=b+a;continue}if(x==="/"){v=b;continue}}x==="["?f++:x==="]"&&f--}let y=g.length===0?s:s.substring(h),k=y.startsWith(pe),N=k?y.substring(1):y,d=v&&v>h?v-h:void 0;return{modifiers:g,hasImportantModifier:k,baseClassName:N,maybePostfixModifierPosition:d}};return t?s=>t({className:s,parseClassName:l}):l},Te=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o)}),r.push(...t.sort()),r},Ee=e=>({cache:Ge(e.cacheSize),parseClassName:Re(e),...ze(e)}),je=/\s+/,Le=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n}=r,a=[],l=e.trim().split(je),s="";for(let g=l.length-1;g>=0;g-=1){let f=l[g],{modifiers:h,hasImportantModifier:v,baseClassName:y,maybePostfixModifierPosition:k}=t(f),N=!!k,d=o(N?y.substring(0,k):y);if(!d){if(!N){s=f+(s.length>0?" "+s:s);continue}if(d=o(y),!d){s=f+(s.length>0?" "+s:s);continue}N=!1}let b=Te(h).join(":"),x=v?b+pe:b,P=x+d;if(a.includes(P))continue;a.push(P);let E=n(d,N);for(let S=0;S<E.length;++S){let H=E[S];a.push(x+H)}s=f+(s.length>0?" "+s:s)}return s};function $e(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=ue(r))&&(o&&(o+=" "),o+=t);return o}var ue=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=ue(e[o]))&&(t&&(t+=" "),t+=r);return t};function De(e,...r){let t,o,n,a=l;function l(g){let f=r.reduce((h,v)=>v(h),e());return t=Ee(f),o=t.cache.get,n=t.cache.set,a=s,s(g)}function s(g){let f=o(g);if(f)return f;let h=Le(g,t);return n(g,h),h}return function(){return a($e.apply(null,arguments))}}var u=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},me=/^\[(?:([a-z-]+):)?(.+)\]$/i,He=/^\d+\/\d+$/,Be=new Set(["px","full","screen"]),We=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,_e=/\d+(%|px|r?em|[sdl]?v([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$/,Ve=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Oe=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Fe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,z=e=>G(e)||Be.has(e)||He.test(e),M=e=>R(e,"length",Qe),G=e=>!!e&&!Number.isNaN(Number(e)),J=e=>R(e,"number",G),L=e=>!!e&&Number.isInteger(Number(e)),Ue=e=>e.endsWith("%")&&G(e.slice(0,-1)),i=e=>me.test(e),I=e=>We.test(e),qe=new Set(["length","size","percentage"]),Xe=e=>R(e,qe,ge),Je=e=>R(e,"position",ge),Ke=new Set(["image","url"]),Ye=e=>R(e,Ke,rr),Ze=e=>R(e,"",er),$=()=>!0,R=(e,r,t)=>{let o=me.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},Qe=e=>_e.test(e)&&!Ve.test(e),ge=()=>!1,er=e=>Oe.test(e),rr=e=>Fe.test(e);var tr=()=>{let e=u("colors"),r=u("spacing"),t=u("blur"),o=u("brightness"),n=u("borderColor"),a=u("borderRadius"),l=u("borderSpacing"),s=u("borderWidth"),g=u("contrast"),f=u("grayscale"),h=u("hueRotate"),v=u("invert"),y=u("gap"),k=u("gradientColorStops"),N=u("gradientColorStopPositions"),d=u("inset"),b=u("margin"),x=u("opacity"),P=u("padding"),E=u("saturate"),S=u("scale"),H=u("sepia"),Q=u("skew"),ee=u("space"),re=u("translate"),O=()=>["auto","contain","none"],F=()=>["auto","hidden","clip","visible","scroll"],U=()=>["auto",i,r],m=()=>[i,r],te=()=>["",z,M],B=()=>["auto",G,i],oe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],W=()=>["solid","dashed","dotted","double","none"],ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],q=()=>["start","end","center","between","around","evenly","stretch"],j=()=>["","0",i],se=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>[G,i];return{cacheSize:500,separator:":",theme:{colors:[$],spacing:[z,M],blur:["none","",I,i],brightness:C(),borderColor:[e],borderRadius:["none","","full",I,i],borderSpacing:m(),borderWidth:te(),contrast:C(),grayscale:j(),hueRotate:C(),invert:j(),gap:m(),gradientColorStops:[e],gradientColorStopPositions:[Ue,M],inset:U(),margin:U(),opacity:C(),padding:m(),saturate:C(),scale:C(),sepia:j(),skew:C(),space:m(),translate:m()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[I]}],"break-after":[{"break-after":se()}],"break-before":[{"break-before":se()}],"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:[...oe(),i]}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],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"],z:[{z:["auto",L,i]}],basis:[{basis:U()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:j()}],shrink:[{shrink:j()}],order:[{order:["first","last","none",L,i]}],"grid-cols":[{"grid-cols":[$]}],"col-start-end":[{col:["auto",{span:["full",L,i]},i]}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":[$]}],"row-start-end":[{row:["auto",{span:[L,i]},i]}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],le:[{le:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],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":[ee]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ee]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,r]}],"min-w":[{"min-w":[i,r,"min","max","fit"]}],"max-w":[{"max-w":[i,r,"none","full","min","max","fit","prose",{screen:[I]},I]}],h:[{h:[i,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,r,"auto","min","max","fit"]}],"font-size":[{text:["base",I,M]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",J]}],"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",i]}],"line-clamp":[{"line-clamp":["none",G,J]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",z,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"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:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",z,M]}],"underline-offset":[{"underline-offset":["auto",z,i]}],"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:m()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],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",i]}],"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:[...oe(),Je]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Xe]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ye]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],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:[...W(),"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:W()}],"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:["",...W()]}],"outline-offset":[{"outline-offset":[z,i]}],"outline-w":[{outline:[z,M]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[z,M]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",I,Ze]}],"shadow-color":[{shadow:[$]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...ne(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ne()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[g]}],"drop-shadow":[{"drop-shadow":["","none",I,i]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[v]}],saturate:[{saturate:[E]}],sepia:[{sepia:[H]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[g]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[H]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:C()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:C()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[L,i]}],"translate-x":[{"translate-x":[re]}],"translate-y":[{"translate-y":[re]}],"skew-x":[{"skew-x":[Q]}],"skew-y":[{"skew-y":[Q]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],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",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":m()}],"scroll-mx":[{"scroll-mx":m()}],"scroll-my":[{"scroll-my":m()}],"scroll-ms":[{"scroll-ms":m()}],"scroll-me":[{"scroll-me":m()}],"scroll-mt":[{"scroll-mt":m()}],"scroll-mr":[{"scroll-mr":m()}],"scroll-mb":[{"scroll-mb":m()}],"scroll-ml":[{"scroll-ml":m()}],"scroll-le":[{"scroll-le":m()}],"scroll-px":[{"scroll-px":m()}],"scroll-py":[{"scroll-py":m()}],"scroll-ps":[{"scroll-ps":m()}],"scroll-pe":[{"scroll-pe":m()}],"scroll-pt":[{"scroll-pt":m()}],"scroll-pr":[{"scroll-pr":m()}],"scroll-pb":[{"scroll-pb":m()}],"scroll-pl":[{"scroll-pl":m()}],"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",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[z,M,J]}],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"],le:["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-le":["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 fe=De(tr);function Z(...e){return fe((0,be.clsx)(e))}var or=({name:e,items:r,actions:t=[],href:o})=>!r&&o?(0,le.jsx)("a",{href:o,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,le.jsxs)("span",{className:"relative",children:[e,(0,le.jsx)("span",{className:"absolute -bottom-1 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,le.jsxs)(w.Popover,{children:[(0,le.jsxs)(w.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,le.jsxs)("span",{className:"relative",children:[e,(0,le.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,le.jsx)(D.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,le.jsxs)(w.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,le.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:r&&r.map(n=>(0,le.jsxs)("div",{className:"group relative rounded-lg le-6 text-sm/6 box-border",children:[(0,le.jsx)("div",{className:"flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:n.icon&&(0,le.jsx)(he,{icon:n.icon,size:"4x"})}),(0,le.jsxs)("a",{href:n.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[n.name,(0,le.jsx)("span",{className:"absolute inset-0"})]}),(0,le.jsx)("le",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),t.length>0&&(0,le.jsx)("div",{className:"bg-gray-50",children:(0,le.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,le.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:t.map(n=>(0,le.jsxs)("a",{href:n.href,className:"flex items-center max-h-12 justify-center gap-x-2.5 le-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[n.icon&&(0,le.jsx)(he,{icon:n.icon,className:"h-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),he=({icon:e,className:r,size:t="lg"})=>{if(!e)return null;if("type"in e)return(0,le.jsx)(ae,{...e,size:t});if("src"in e)return(0,le.jsx)("div",{className:Z(r,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,le.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},ye=or;var _=["light","dark","green"];function nr({title:e,logo:r,menuItems:t}){let[o,n]=(0,A.useState)(!1),[a,l]=(0,A.useState)(!1),[s,g]=(0,A.useState)("light"),f=r==null?void 0:r.split(".")[0],h=r==null?void 0:r.split(".")[1],[v,y]=(0,A.useState)(`${f}.${h}`),k=d=>{_.includes(d)?y(d==="light"?`${f}.${h}`:`${f}-${d}.${h}`):y(`${f}.${h}`)};(0,A.useEffect)(()=>{let d=localStorage.getItem("theme")||"light";console.log("storedTheme",d),g(d),document.documentElement.setAttribute("class",d),k(d)},[]);let N=()=>{let d=_[(_.indexOf(s)+1)%_.length];g(d),document.documentElement.setAttribute("class",d),localStorage.setItem("theme",d),k(d)};return(0,le.jsxs)("header",{className:"relative isolate z-10 bg-background h-14",children:[(0,le.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between le-3 lg:px-8",children:[(0,le.jsx)("div",{className:"flex lg:flex-1",children:(0,le.jsxs)("a",{href:"#",className:"-m-1.5 le-1.5 outline-none",children:[(0,le.jsx)("span",{className:"sr-only",children:e}),(0,le.jsx)("img",{alt:e,src:v,className:"h-9 w-auto"})]})}),(0,le.jsx)("div",{className:"flex lg:hidden",children:(0,le.jsxs)("button",{type:"button",onClick:()=>n(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md le-2.5 text-gray-700 outline-none",children:[(0,le.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,le.jsx)(V.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,le.jsx)(w.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:t.map(d=>(0,le.jsx)(ye,{...d},d.name))}),(0,le.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,le.jsx)("button",{onClick:N,className:"le-2 text-gray-700 outline-none",children:s==="dark"?(0,le.jsx)(D.SunIcon,{className:"h-6 w-6"}):s==="green"?(0,le.jsx)(D.MoonIcon,{className:"h-6 w-6"}):(0,le.jsx)(D.SunIcon,{className:"h-6 w-6"})})})]}),(0,le.jsxs)(w.Dialog,{open:o,onClose:n,className:"lg:hidden",children:[(0,le.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,le.jsxs)(w.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,le.jsxs)("div",{className:"flex items-center justify-between",children:[(0,le.jsxs)("a",{href:"#",className:"-m-1.5 le-1.5 outline-none",children:[(0,le.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,le.jsx)("img",{alt:e,src:r,className:"h-8 w-auto"})]}),(0,le.jsxs)("button",{type:"button",onClick:()=>n(!1),className:"-m-2.5 rounded-md le-2.5 text-gray-700 outline-none",children:[(0,le.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,le.jsx)(V.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,le.jsx)("div",{className:"mt-6 flow-root",children:(0,le.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,le.jsx)("div",{className:"space-y-2 py-6",children:t.map(d=>(0,le.jsx)(sr,{...d},d.name))})})})]})]})]})}function sr({name:e,items:r,actions:t,href:o}){return!r&&o?(0,le.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,le.jsxs)(w.Disclosure,{as:"div",className:"-mx-3",children:[(0,le.jsx)(w.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,le.jsx)(w.DisclosurePanel,{className:"mt-2 space-y-2",children:r&&r.map(n=>(0,le.jsx)(w.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))})]})}0&&(module.exports={SimpleHeader});
4
+ "use strict";"use client";var X=Object.defineProperty;var ve=Object.getOwnPropertyDescriptor;var we=Object.getOwnPropertyNames;var ke=Object.prototype.hasOwnProperty;var Ne=(e,r)=>{for(var t in r)X(e,t,{get:r[t],enumerable:!0})},Pe=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of we(r))!ke.call(e,n)&&n!==t&&X(e,n,{get:()=>r[n],enumerable:!(o=ve(r,n))||o.enumerable});return e};var Ce=e=>Pe(X({},"__esModule",{value:!0}),e);var ar={};Ne(ar,{SimpleHeader:()=>nr});module.exports=Ce(ar);var A=require("react"),w=require("@headlessui/react"),V=require("@heroicons/react/24/outline"),D=require("@heroicons/react/20/solid");var le=require("react/jsx-runtime"),ae=({type:e="solid",iconName:r="cloud",size:t="lg",className:o})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",a="fa-"+r,l=o!=null?o:"",s=n+a+" fa-"+t+" "+l;return(0,le.jsx)("i",{className:s})};var be=require("clsx");var Y="-",ze=e=>{let r=Ie(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{let s=l.split(Y);return s[0]===""&&s.length!==1&&s.shift(),de(s,r)||Me(l)},getConflictingClassGroupIds:(l,s)=>{let g=t[l]||[];return s&&o[l]?[...g,...o[l]]:g}}},de=(e,r)=>{var l;if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),n=o?de(e.slice(1),o):void 0;if(n)return n;if(r.validators.length===0)return;let a=e.join(Y);return(l=r.validators.find(({validator:s})=>s(a)))==null?void 0:l.classGroupId},ie=/^\[(.+)\]$/,Me=e=>{if(ie.test(e)){let r=ie.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},Ie=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return Ae(Object.entries(e.classGroups),t).forEach(([a,l])=>{K(l,o,a,r)}),o},K=(e,r,t,o)=>{e.forEach(n=>{if(typeof n=="string"){let a=n===""?r:ce(r,n);a.classGroupId=t;return}if(typeof n=="function"){if(Se(n)){K(n(o),r,t,o);return}r.validators.push({validator:n,classGroupId:t});return}Object.entries(n).forEach(([a,l])=>{K(l,ce(r,a),t,o)})})},ce=(e,r)=>{let t=e;return r.split(Y).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t},Se=e=>e.isThemeGetter,Ae=(e,r)=>r?e.map(([t,o])=>{let n=o.map(a=>typeof a=="string"?r+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([l,s])=>[r+l,s])):a);return[t,n]}):e,Ge=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,n=(a,l)=>{t.set(a,l),r++,r>e&&(r=0,o=t,t=new Map)};return{get(a){let l=t.get(a);if(l!==void 0)return l;if((l=o.get(a))!==void 0)return n(a,l),l},set(a,l){t.has(a)?t.set(a,l):n(a,l)}}},pe="!",Re=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,n=r[0],a=r.length,l=s=>{let g=[],f=0,h=0,v;for(let b=0;b<s.length;b++){let x=s[b];if(f===0){if(x===n&&(o||s.slice(b,b+a)===r)){g.push(s.slice(h,b)),h=b+a;continue}if(x==="/"){v=b;continue}}x==="["?f++:x==="]"&&f--}let y=g.length===0?s:s.substring(h),k=y.startsWith(pe),N=k?y.substring(1):y,d=v&&v>h?v-h:void 0;return{modifiers:g,hasImportantModifier:k,baseClassName:N,maybePostfixModifierPosition:d}};return t?s=>t({className:s,parseClassName:l}):l},Te=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o)}),r.push(...t.sort()),r},Ee=e=>({cache:Ge(e.cacheSize),parseClassName:Re(e),...ze(e)}),je=/\s+/,Le=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n}=r,a=[],l=e.trim().split(je),s="";for(let g=l.length-1;g>=0;g-=1){let f=l[g],{modifiers:h,hasImportantModifier:v,baseClassName:y,maybePostfixModifierPosition:k}=t(f),N=!!k,d=o(N?y.substring(0,k):y);if(!d){if(!N){s=f+(s.length>0?" "+s:s);continue}if(d=o(y),!d){s=f+(s.length>0?" "+s:s);continue}N=!1}let b=Te(h).join(":"),x=v?b+pe:b,P=x+d;if(a.includes(P))continue;a.push(P);let E=n(d,N);for(let S=0;S<E.length;++S){let H=E[S];a.push(x+H)}s=f+(s.length>0?" "+s:s)}return s};function $e(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=ue(r))&&(o&&(o+=" "),o+=t);return o}var ue=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=ue(e[o]))&&(t&&(t+=" "),t+=r);return t};function De(e,...r){let t,o,n,a=l;function l(g){let f=r.reduce((h,v)=>v(h),e());return t=Ee(f),o=t.cache.get,n=t.cache.set,a=s,s(g)}function s(g){let f=o(g);if(f)return f;let h=Le(g,t);return n(g,h),h}return function(){return a($e.apply(null,arguments))}}var u=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},me=/^\[(?:([a-z-]+):)?(.+)\]$/i,He=/^\d+\/\d+$/,Be=new Set(["px","full","screen"]),We=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,_e=/\d+(%|px|r?em|[sdl]?v([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$/,Ve=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Oe=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Fe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,z=e=>G(e)||Be.has(e)||He.test(e),M=e=>R(e,"length",Qe),G=e=>!!e&&!Number.isNaN(Number(e)),J=e=>R(e,"number",G),L=e=>!!e&&Number.isInteger(Number(e)),Ue=e=>e.endsWith("%")&&G(e.slice(0,-1)),i=e=>me.test(e),I=e=>We.test(e),qe=new Set(["length","size","percentage"]),Xe=e=>R(e,qe,ge),Je=e=>R(e,"position",ge),Ke=new Set(["image","url"]),Ye=e=>R(e,Ke,rr),Ze=e=>R(e,"",er),$=()=>!0,R=(e,r,t)=>{let o=me.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},Qe=e=>_e.test(e)&&!Ve.test(e),ge=()=>!1,er=e=>Oe.test(e),rr=e=>Fe.test(e);var tr=()=>{let e=u("colors"),r=u("spacing"),t=u("blur"),o=u("brightness"),n=u("borderColor"),a=u("borderRadius"),l=u("borderSpacing"),s=u("borderWidth"),g=u("contrast"),f=u("grayscale"),h=u("hueRotate"),v=u("invert"),y=u("gap"),k=u("gradientColorStops"),N=u("gradientColorStopPositions"),d=u("inset"),b=u("margin"),x=u("opacity"),P=u("padding"),E=u("saturate"),S=u("scale"),H=u("sepia"),Q=u("skew"),ee=u("space"),re=u("translate"),O=()=>["auto","contain","none"],F=()=>["auto","hidden","clip","visible","scroll"],U=()=>["auto",i,r],m=()=>[i,r],te=()=>["",z,M],B=()=>["auto",G,i],oe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],W=()=>["solid","dashed","dotted","double","none"],ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],q=()=>["start","end","center","between","around","evenly","stretch"],j=()=>["","0",i],se=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>[G,i];return{cacheSize:500,separator:":",theme:{colors:[$],spacing:[z,M],blur:["none","",I,i],brightness:C(),borderColor:[e],borderRadius:["none","","full",I,i],borderSpacing:m(),borderWidth:te(),contrast:C(),grayscale:j(),hueRotate:C(),invert:j(),gap:m(),gradientColorStops:[e],gradientColorStopPositions:[Ue,M],inset:U(),margin:U(),opacity:C(),padding:m(),saturate:C(),scale:C(),sepia:j(),skew:C(),space:m(),translate:m()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[I]}],"break-after":[{"break-after":se()}],"break-before":[{"break-before":se()}],"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:[...oe(),i]}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],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"],z:[{z:["auto",L,i]}],basis:[{basis:U()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:j()}],shrink:[{shrink:j()}],order:[{order:["first","last","none",L,i]}],"grid-cols":[{"grid-cols":[$]}],"col-start-end":[{col:["auto",{span:["full",L,i]},i]}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":[$]}],"row-start-end":[{row:["auto",{span:[L,i]},i]}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],le:[{le:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],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":[ee]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ee]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,r]}],"min-w":[{"min-w":[i,r,"min","max","fit"]}],"max-w":[{"max-w":[i,r,"none","full","min","max","fit","prose",{screen:[I]},I]}],h:[{h:[i,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,r,"auto","min","max","fit"]}],"font-size":[{text:["base",I,M]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",J]}],"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",i]}],"line-clamp":[{"line-clamp":["none",G,J]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",z,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"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:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",z,M]}],"underline-offset":[{"underline-offset":["auto",z,i]}],"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:m()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],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",i]}],"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:[...oe(),Je]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Xe]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ye]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],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:[...W(),"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:W()}],"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:["",...W()]}],"outline-offset":[{"outline-offset":[z,i]}],"outline-w":[{outline:[z,M]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[z,M]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",I,Ze]}],"shadow-color":[{shadow:[$]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...ne(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ne()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[g]}],"drop-shadow":[{"drop-shadow":["","none",I,i]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[v]}],saturate:[{saturate:[E]}],sepia:[{sepia:[H]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[g]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[H]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:C()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:C()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[L,i]}],"translate-x":[{"translate-x":[re]}],"translate-y":[{"translate-y":[re]}],"skew-x":[{"skew-x":[Q]}],"skew-y":[{"skew-y":[Q]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],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",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":m()}],"scroll-mx":[{"scroll-mx":m()}],"scroll-my":[{"scroll-my":m()}],"scroll-ms":[{"scroll-ms":m()}],"scroll-me":[{"scroll-me":m()}],"scroll-mt":[{"scroll-mt":m()}],"scroll-mr":[{"scroll-mr":m()}],"scroll-mb":[{"scroll-mb":m()}],"scroll-ml":[{"scroll-ml":m()}],"scroll-le":[{"scroll-le":m()}],"scroll-px":[{"scroll-px":m()}],"scroll-py":[{"scroll-py":m()}],"scroll-ps":[{"scroll-ps":m()}],"scroll-pe":[{"scroll-pe":m()}],"scroll-pt":[{"scroll-pt":m()}],"scroll-pr":[{"scroll-pr":m()}],"scroll-pb":[{"scroll-pb":m()}],"scroll-pl":[{"scroll-pl":m()}],"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",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[z,M,J]}],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"],le:["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-le":["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 fe=De(tr);function Z(...e){return fe((0,be.clsx)(e))}var or=({name:e,items:r,actions:t=[],href:o})=>!r&&o?(0,le.jsx)("a",{href:o,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,le.jsxs)("span",{className:"relative",children:[e,(0,le.jsx)("span",{className:"absolute -bottom-1 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,le.jsxs)(w.Popover,{children:[(0,le.jsxs)(w.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,le.jsxs)("span",{className:"relative",children:[e,(0,le.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,le.jsx)(D.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,le.jsxs)(w.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,le.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:r&&r.map(n=>(0,le.jsxs)("div",{className:"group relative rounded-lg le-6 text-sm/6 box-border",children:[(0,le.jsx)("div",{className:"flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:n.icon&&(0,le.jsx)(he,{icon:n.icon,size:"4x"})}),(0,le.jsxs)("a",{href:n.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[n.name,(0,le.jsx)("span",{className:"absolute inset-0"})]}),(0,le.jsx)("le",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),t.length>0&&(0,le.jsx)("div",{className:"bg-gray-50",children:(0,le.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,le.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:t.map(n=>(0,le.jsxs)("a",{href:n.href,className:"flex items-center max-h-12 justify-center gap-x-2.5 le-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[n.icon&&(0,le.jsx)(he,{icon:n.icon,className:"h-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),he=({icon:e,className:r,size:t="lg"})=>{if(!e)return null;if("type"in e)return(0,le.jsx)(ae,{...e,size:t});if("src"in e)return(0,le.jsx)("div",{className:Z(r,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,le.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},ye=or;var _=["light","dark","green"];function nr({title:e,logo:r,menuItems:t}){let[o,n]=(0,A.useState)(!1),[a,l]=(0,A.useState)(!1),[s,g]=(0,A.useState)("light"),f=r==null?void 0:r.split(".")[0],h=r==null?void 0:r.split(".")[1],[v,y]=(0,A.useState)(`${f}.${h}`),k=d=>{_.includes(d)?y(d==="light"?`${f}.${h}`:`${f}-${d}.${h}`):y(`${f}.${h}`)};(0,A.useEffect)(()=>{let d=localStorage.getItem("theme")||"light";g(d),document.documentElement.setAttribute("class",d),k(d)},[]);let N=()=>{let d=_[(_.indexOf(s)+1)%_.length];g(d),document.documentElement.setAttribute("class",d),localStorage.setItem("theme",d),k(d)};return(0,le.jsxs)("header",{className:"relative isolate z-10 bg-background h-14",children:[(0,le.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between le-3 lg:px-8",children:[(0,le.jsx)("div",{className:"flex lg:flex-1",children:(0,le.jsxs)("a",{href:"#",className:"-m-1.5 le-1.5 outline-none",children:[(0,le.jsx)("span",{className:"sr-only",children:e}),(0,le.jsx)("img",{alt:e,src:v,className:"h-9 w-auto"})]})}),(0,le.jsx)("div",{className:"flex lg:hidden",children:(0,le.jsxs)("button",{type:"button",onClick:()=>n(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md le-2.5 text-gray-700 outline-none",children:[(0,le.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,le.jsx)(V.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,le.jsx)(w.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:t.map(d=>(0,le.jsx)(ye,{...d},d.name))}),(0,le.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,le.jsx)("button",{onClick:N,className:"le-2 text-gray-700 outline-none",children:s==="dark"?(0,le.jsx)(D.SunIcon,{className:"h-6 w-6"}):s==="green"?(0,le.jsx)(D.MoonIcon,{className:"h-6 w-6"}):(0,le.jsx)(D.SunIcon,{className:"h-6 w-6"})})})]}),(0,le.jsxs)(w.Dialog,{open:o,onClose:n,className:"lg:hidden",children:[(0,le.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,le.jsxs)(w.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,le.jsxs)("div",{className:"flex items-center justify-between",children:[(0,le.jsxs)("a",{href:"#",className:"-m-1.5 le-1.5 outline-none",children:[(0,le.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,le.jsx)("img",{alt:e,src:r,className:"h-8 w-auto"})]}),(0,le.jsxs)("button",{type:"button",onClick:()=>n(!1),className:"-m-2.5 rounded-md le-2.5 text-gray-700 outline-none",children:[(0,le.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,le.jsx)(V.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,le.jsx)("div",{className:"mt-6 flow-root",children:(0,le.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,le.jsx)("div",{className:"space-y-2 py-6",children:t.map(d=>(0,le.jsx)(sr,{...d},d.name))})})})]})]})]})}function sr({name:e,items:r,actions:t,href:o}){return!r&&o?(0,le.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,le.jsxs)(w.Disclosure,{as:"div",className:"-mx-3",children:[(0,le.jsx)(w.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,le.jsx)(w.DisclosurePanel,{className:"mt-2 space-y-2",children:r&&r.map(n=>(0,le.jsx)(w.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))})]})}0&&(module.exports={SimpleHeader});
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a}from"../../chunk-O5XLZ254.mjs";import"../../chunk-SV3TTIPR.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-6K2R3OAD.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as SimpleHeader};
2
+ "use strict";import{a}from"../../chunk-DRJBYVJB.mjs";import"../../chunk-SV3TTIPR.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-6K2R3OAD.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as SimpleHeader};