cortex-react-components 1.25.1 → 1.26.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 (162) hide show
  1. package/dist/{chunk-ZC2N76FR.mjs → chunk-2DFHHXVF.mjs} +1 -1
  2. package/dist/{chunk-NBRHJ7Y2.mjs → chunk-2XVPLL7I.mjs} +1 -1
  3. package/dist/{chunk-KAAPUG4M.mjs → chunk-2ZFONB6D.mjs} +1 -1
  4. package/dist/{chunk-P37IFSET.mjs → chunk-3QUYIQID.mjs} +1 -1
  5. package/dist/chunk-3U4TZZH4.mjs +1 -0
  6. package/dist/{chunk-XHRPO3DH.mjs → chunk-3ULIS6GM.mjs} +1 -1
  7. package/dist/{chunk-VYG2DHIF.mjs → chunk-4HRWWEM5.mjs} +1 -1
  8. package/dist/{chunk-FLVPDO7B.mjs → chunk-4MNYZ3VG.mjs} +1 -1
  9. package/dist/{chunk-EPMKBC5I.mjs → chunk-5WWSBG7F.mjs} +1 -1
  10. package/dist/{chunk-MESSAICX.mjs → chunk-63BUZTVI.mjs} +1 -1
  11. package/dist/{chunk-VYTPNSGC.mjs → chunk-7FZEK4Y3.mjs} +1 -1
  12. package/dist/{chunk-TDEZBNLK.mjs → chunk-7TWF6ZKG.mjs} +1 -1
  13. package/dist/{chunk-QKKUK5BA.mjs → chunk-AJJSMHCV.mjs} +1 -1
  14. package/dist/chunk-AWHEOZVV.mjs +4 -0
  15. package/dist/{chunk-LF3DTAUD.mjs → chunk-BG4CGVSG.mjs} +1 -1
  16. package/dist/{chunk-VQWGXZ5A.mjs → chunk-CS77R54Z.mjs} +1 -1
  17. package/dist/{chunk-DIQBMOGN.mjs → chunk-FAGK5FEO.mjs} +1 -1
  18. package/dist/{chunk-5SXGF2ZO.mjs → chunk-FIB3LSLI.mjs} +1 -1
  19. package/dist/{chunk-CP6IA4YZ.mjs → chunk-IB72MBM7.mjs} +1 -1
  20. package/dist/{chunk-GCBC75DA.mjs → chunk-IMAQJ7N3.mjs} +1 -1
  21. package/dist/{chunk-ECEPE5I4.mjs → chunk-J4WWW7JZ.mjs} +1 -1
  22. package/dist/{chunk-C4W4JBZN.mjs → chunk-KUZI6GLM.mjs} +1 -1
  23. package/dist/{chunk-A6K2DPLX.mjs → chunk-LC33XSZX.mjs} +1 -1
  24. package/dist/{chunk-ABMHGGT5.mjs → chunk-MXCUC35X.mjs} +1 -1
  25. package/dist/{chunk-QZQRKXUM.mjs → chunk-NGAHEN2R.mjs} +1 -1
  26. package/dist/{chunk-UPWBRHCD.mjs → chunk-NH74CS36.mjs} +1 -1
  27. package/dist/{chunk-6FHLIH4J.mjs → chunk-ODLDYXPZ.mjs} +1 -1
  28. package/dist/{chunk-5EX5KVLO.mjs → chunk-OEM7RQ4Q.mjs} +1 -1
  29. package/dist/{chunk-VWW6LZVB.mjs → chunk-PPSZJ5D7.mjs} +1 -1
  30. package/dist/{chunk-CW7WANDA.mjs → chunk-QRNJ7O2L.mjs} +1 -1
  31. package/dist/{chunk-BQ3VPYUD.mjs → chunk-QUCLTQO6.mjs} +1 -1
  32. package/dist/{chunk-SABHLBUI.mjs → chunk-SFLOMJ2U.mjs} +1 -1
  33. package/dist/{chunk-343CWVUF.mjs → chunk-SYVKYRZO.mjs} +1 -1
  34. package/dist/{chunk-56XJMQVR.mjs → chunk-UZ2XYB7D.mjs} +1 -1
  35. package/dist/{chunk-QQYD2M65.mjs → chunk-WR4OEF6T.mjs} +1 -1
  36. package/dist/{chunk-CKWBZBCA.mjs → chunk-X6N2L5MB.mjs} +1 -1
  37. package/dist/{chunk-7QL3S5IP.mjs → chunk-YH4LGOVO.mjs} +1 -1
  38. package/dist/{chunk-HRTZFCXL.mjs → chunk-ZSC6OQH4.mjs} +1 -1
  39. package/dist/{chunk-WWXGKYL4.mjs → chunk-ZWKWU7U4.mjs} +1 -1
  40. package/dist/components/Blocks/Banner.mjs +1 -1
  41. package/dist/components/Blocks/CallToAction.mjs +1 -1
  42. package/dist/components/Blocks/Content.mjs +1 -1
  43. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  44. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  45. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  46. package/dist/components/Blocks/Insight.mjs +1 -1
  47. package/dist/components/Blocks/Insight.stories.mjs +1 -1
  48. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  49. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  50. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  51. package/dist/components/Blocks/index.mjs +1 -1
  52. package/dist/components/Cards/FeatureCard.js +1 -1
  53. package/dist/components/Cards/FeatureCard.mjs +1 -1
  54. package/dist/components/Cards/FeatureCard.stories.js +1 -1
  55. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  56. package/dist/components/Cards/ServiceCard.mjs +1 -1
  57. package/dist/components/Cards/ServiceCard.stories.mjs +1 -1
  58. package/dist/components/Cards/index.mjs +1 -1
  59. package/dist/components/HeaderFooter/AppLauncher.mjs +1 -1
  60. package/dist/components/HeaderFooter/AppLauncher.stories.mjs +1 -1
  61. package/dist/components/HeaderFooter/Header.js +1 -1
  62. package/dist/components/HeaderFooter/Header.mjs +1 -1
  63. package/dist/components/HeaderFooter/HeaderDesktop.js +1 -1
  64. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  65. package/dist/components/HeaderFooter/HeaderDesktop.stories.js +1 -1
  66. package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
  67. package/dist/components/HeaderFooter/HeaderMenu.d.ts +3 -2
  68. package/dist/components/HeaderFooter/HeaderMenu.js +4 -1
  69. package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
  70. package/dist/components/HeaderFooter/HeaderMenu.stories.js +1 -1
  71. package/dist/components/HeaderFooter/HeaderMenu.stories.mjs +1 -1
  72. package/dist/components/HeaderFooter/HeaderMobile.stories.mjs +1 -1
  73. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  74. package/dist/components/HeaderFooter/SimpleHeader.js +1 -1
  75. package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
  76. package/dist/components/HeaderFooter/SimpleHeader.stories.js +1 -1
  77. package/dist/components/HeaderFooter/SimpleHeader.stories.mjs +1 -1
  78. package/dist/components/HeaderFooter/VideoHeader.js +1 -1
  79. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  80. package/dist/components/HeaderFooter/index.js +1 -1
  81. package/dist/components/HeaderFooter/index.mjs +1 -1
  82. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  83. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  84. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  85. package/dist/components/Heros/PostHero/index.mjs +1 -1
  86. package/dist/components/Heros/RenderHero.mjs +1 -1
  87. package/dist/components/Heros/index.mjs +1 -1
  88. package/dist/components/Images/DynamicIcon.d.ts +1 -1
  89. package/dist/components/Images/DynamicIcon.js +1 -1
  90. package/dist/components/Images/DynamicIcon.mjs +1 -1
  91. package/dist/components/Images/DynamicIcon.stories.js +1 -1
  92. package/dist/components/Images/DynamicIcon.stories.mjs +1 -1
  93. package/dist/components/Images/index.js +1 -1
  94. package/dist/components/Images/index.mjs +1 -1
  95. package/dist/components/Layouts/BlogList.mjs +1 -1
  96. package/dist/components/Layouts/BlogList.stories.mjs +1 -1
  97. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  98. package/dist/components/Layouts/NewsGrid.d.ts +1 -1
  99. package/dist/components/Layouts/NewsGrid.js +1 -1
  100. package/dist/components/Layouts/NewsGrid.mjs +1 -1
  101. package/dist/components/Layouts/NewsGrid.stories.js +2 -2
  102. package/dist/components/Layouts/NewsGrid.stories.mjs +2 -2
  103. package/dist/components/Layouts/index.js +1 -1
  104. package/dist/components/Layouts/index.mjs +1 -1
  105. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  106. package/dist/components/Menus/SidebarRight.mjs +1 -1
  107. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  108. package/dist/components/Menus/index.mjs +1 -1
  109. package/dist/components/Pages/Documentation.js +1 -1
  110. package/dist/components/Pages/Documentation.mjs +1 -1
  111. package/dist/components/Pages/Documentation.stories.js +179 -179
  112. package/dist/components/Pages/Documentation.stories.mjs +1 -1
  113. package/dist/components/Pages/IndexPage.js +1 -1
  114. package/dist/components/Pages/IndexPage.mjs +1 -1
  115. package/dist/components/Pages/IndexPage.stories.js +179 -179
  116. package/dist/components/Pages/IndexPage.stories.mjs +1 -1
  117. package/dist/components/Pages/Intranet.js +1 -1
  118. package/dist/components/Pages/Intranet.mjs +1 -1
  119. package/dist/components/Pages/Intranet.stories.js +1 -1
  120. package/dist/components/Pages/Intranet.stories.mjs +1 -1
  121. package/dist/components/Pages/LandingPage.js +1 -1
  122. package/dist/components/Pages/LandingPage.mjs +1 -1
  123. package/dist/components/Pages/LandingPage.stories.js +191 -191
  124. package/dist/components/Pages/LandingPage.stories.mjs +1 -1
  125. package/dist/components/Pages/Page.js +1 -1
  126. package/dist/components/Pages/Page.mjs +1 -1
  127. package/dist/components/Pages/Page.stories.js +180 -180
  128. package/dist/components/Pages/Page.stories.mjs +1 -1
  129. package/dist/components/Pages/Website.js +1 -1
  130. package/dist/components/Pages/Website.mjs +1 -1
  131. package/dist/components/Pages/Website.stories.js +180 -180
  132. package/dist/components/Pages/Website.stories.mjs +1 -1
  133. package/dist/components/Payload/Card/index.mjs +1 -1
  134. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  135. package/dist/components/Payload/Media/index.mjs +1 -1
  136. package/dist/components/Payload/RichText/index.mjs +1 -1
  137. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  138. package/dist/components/Payload/RichText.stories.mjs +1 -1
  139. package/dist/components/Payload/index.mjs +1 -1
  140. package/dist/components/index.js +3 -3
  141. package/dist/components/index.mjs +1 -1
  142. package/dist/components/ui/index.mjs +1 -1
  143. package/dist/globals.css +1 -1
  144. package/dist/hooks/index.mjs +1 -1
  145. package/dist/index.js +3 -3
  146. package/dist/index.mjs +1 -1
  147. package/dist/metafile-cjs.json +1 -1
  148. package/dist/metafile-esm.json +1 -1
  149. package/dist/sections/AboutSection.mjs +1 -1
  150. package/dist/sections/AboutSection.stories.mjs +1 -1
  151. package/dist/sections/BlogListSection.mjs +1 -1
  152. package/dist/sections/BlogListSection.stories.mjs +1 -1
  153. package/dist/sections/ContactSection.mjs +1 -1
  154. package/dist/sections/ContactSection.stories.mjs +1 -1
  155. package/dist/sections/PricingSection.mjs +1 -1
  156. package/dist/sections/PricingSection.stories.mjs +1 -1
  157. package/dist/sections/ServiceSection.mjs +1 -1
  158. package/dist/sections/ServiceSection.stories.mjs +1 -1
  159. package/dist/sections/index.mjs +1 -1
  160. package/package.json +1 -1
  161. package/dist/chunk-HGT54DGN.mjs +0 -1
  162. package/dist/chunk-Z3BR6LFR.mjs +0 -4
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";var He=Object.create;var W=Object.defineProperty;var Fe=Object.getOwnPropertyDescriptor;var Le=Object.getOwnPropertyNames;var Ee=Object.getPrototypeOf,Ae=Object.prototype.hasOwnProperty;var Je=(e,r)=>{for(var t in r)W(e,t,{get:r[t],enumerable:!0})},ce=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Le(r))!Ae.call(e,n)&&n!==t&&W(e,n,{get:()=>r[n],enumerable:!(o=Fe(r,n))||o.enumerable});return e};var de=(e,r,t)=>(t=e!=null?He(Ee(e)):{},ce(r||!e||!e.__esModule?W(t,"default",{value:e,enumerable:!0}):t,e)),Be=e=>ce(W({},"__esModule",{value:!0}),e);var Nr={};Je(Nr,{Default:()=>De,default:()=>wr});module.exports=Be(Nr);var D=require("react");var ye=require("clsx");var Q="-",Oe=e=>{let r=Ue(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let a=i.split(Q);return a[0]===""&&a.length!==1&&a.shift(),me(a,r)||_e(i)},getConflictingClassGroupIds:(i,a)=>{let p=t[i]||[];return a&&o[i]?[...p,...o[i]]:p}}},me=(e,r)=>{var i;if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),n=o?me(e.slice(1),o):void 0;if(n)return n;if(r.validators.length===0)return;let s=e.join(Q);return(i=r.validators.find(({validator:a})=>a(s)))==null?void 0:i.classGroupId},pe=/^\[(.+)\]$/,_e=e=>{if(pe.test(e)){let r=pe.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},Ue=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return Xe(Object.entries(e.classGroups),t).forEach(([s,i])=>{q(i,o,s,r)}),o},q=(e,r,t,o)=>{e.forEach(n=>{if(typeof n=="string"){let s=n===""?r:ue(r,n);s.classGroupId=t;return}if(typeof n=="function"){if(We(n)){q(n(o),r,t,o);return}r.validators.push({validator:n,classGroupId:t});return}Object.entries(n).forEach(([s,i])=>{q(i,ue(r,s),t,o)})})},ue=(e,r)=>{let t=e;return r.split(Q).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t},We=e=>e.isThemeGetter,Xe=(e,r)=>r?e.map(([t,o])=>{let n=o.map(s=>typeof s=="string"?r+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,a])=>[r+i,a])):s);return[t,n]}):e,Ve=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,n=(s,i)=>{t.set(s,i),r++,r>e&&(r=0,o=t,t=new Map)};return{get(s){let i=t.get(s);if(i!==void 0)return i;if((i=o.get(s))!==void 0)return n(s,i),i},set(s,i){t.has(s)?t.set(s,i):n(s,i)}}},ge="!",Ye=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,n=r[0],s=r.length,i=a=>{let p=[],b=0,c=0,y;for(let g=0;g<a.length;g++){let x=a[g];if(b===0){if(x===n&&(o||a.slice(g,g+s)===r)){p.push(a.slice(c,g)),c=g+s;continue}if(x==="/"){y=g;continue}}x==="["?b++:x==="]"&&b--}let w=p.length===0?a:a.substring(c),C=w.startsWith(ge),k=C?w.substring(1):w,f=y&&y>c?y-c:void 0;return{modifiers:p,hasImportantModifier:C,baseClassName:k,maybePostfixModifierPosition:f}};return t?a=>t({className:a,parseClassName:i}):i},je=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},$e=e=>({cache:Ve(e.cacheSize),parseClassName:Ye(e),...Oe(e)}),Ke=/\s+/,qe=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n}=r,s=[],i=e.trim().split(Ke),a="";for(let p=i.length-1;p>=0;p-=1){let b=i[p],{modifiers:c,hasImportantModifier:y,baseClassName:w,maybePostfixModifierPosition:C}=t(b),k=!!C,f=o(k?w.substring(0,C):w);if(!f){if(!k){a=b+(a.length>0?" "+a:a);continue}if(f=o(w),!f){a=b+(a.length>0?" "+a:a);continue}k=!1}let g=je(c).join(":"),x=y?g+ge:g,v=x+f;if(s.includes(v))continue;s.push(v);let F=n(f,k);for(let R=0;R<F.length;++R){let O=F[R];s.push(x+O)}a=b+(a.length>0?" "+a:a)}return a};function Qe(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=be(r))&&(o&&(o+=" "),o+=t);return o}var be=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=be(e[o]))&&(t&&(t+=" "),t+=r);return t};function Ze(e,...r){let t,o,n,s=i;function i(p){let b=r.reduce((c,y)=>y(c),e());return t=$e(b),o=t.cache.get,n=t.cache.set,s=a,a(p)}function a(p){let b=o(p);if(b)return b;let c=qe(p,t);return n(p,c),c}return function(){return s(Qe.apply(null,arguments))}}var d=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},fe=/^\[(?:([a-z-]+):)?(.+)\]$/i,er=/^\d+\/\d+$/,rr=new Set(["px","full","screen"]),tr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,or=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|we|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,nr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,sr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ar=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,I=e=>G(e)||rr.has(e)||er.test(e),P=e=>T(e,"length",gr),G=e=>!!e&&!Number.isNaN(Number(e)),K=e=>T(e,"number",G),E=e=>!!e&&Number.isInteger(Number(e)),ir=e=>e.endsWith("%")&&G(e.slice(0,-1)),l=e=>fe.test(e),z=e=>tr.test(e),lr=new Set(["length","size","percentage"]),cr=e=>T(e,lr,he),dr=e=>T(e,"position",he),pr=new Set(["image","url"]),ur=e=>T(e,pr,fr),mr=e=>T(e,"",br),A=()=>!0,T=(e,r,t)=>{let o=fe.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},gr=e=>or.test(e)&&!nr.test(e),he=()=>!1,br=e=>sr.test(e),fr=e=>ar.test(e);var hr=()=>{let e=d("colors"),r=d("spacing"),t=d("blur"),o=d("brightness"),n=d("borderColor"),s=d("borderRadius"),i=d("borderSpacing"),a=d("borderWidth"),p=d("contrast"),b=d("grayscale"),c=d("hueRotate"),y=d("invert"),w=d("gap"),C=d("gradientColorStops"),k=d("gradientColorStopPositions"),f=d("inset"),g=d("margin"),x=d("opacity"),v=d("padding"),F=d("saturate"),R=d("scale"),O=d("sepia"),te=d("skew"),oe=d("space"),ne=d("translate"),V=()=>["auto","contain","none"],Y=()=>["auto","hidden","clip","visible","scroll"],j=()=>["auto",l,r],u=()=>[l,r],se=()=>["",I,P],_=()=>["auto",G,l],ae=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],U=()=>["solid","dashed","dotted","double","none"],ie=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],$=()=>["start","end","center","between","around","evenly","stretch"],L=()=>["","0",l],le=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[G,l];return{cacheSize:500,separator:":",theme:{colors:[A],spacing:[I,P],blur:["none","",z,l],brightness:N(),borderColor:[e],borderRadius:["none","","full",z,l],borderSpacing:u(),borderWidth:se(),contrast:N(),grayscale:L(),hueRotate:N(),invert:L(),gap:u(),gradientColorStops:[e],gradientColorStopPositions:[ir,P],inset:j(),margin:j(),opacity:N(),padding:u(),saturate:N(),scale:N(),sepia:L(),skew:N(),space:u(),translate:u()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[z]}],"break-after":[{"break-after":le()}],"break-before":[{"break-before":le()}],"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:[...ae(),l]}],overflow:[{overflow:Y()}],"overflow-x":[{"overflow-x":Y()}],"overflow-y":[{"overflow-y":Y()}],overscroll:[{overscroll:V()}],"overscroll-x":[{"overscroll-x":V()}],"overscroll-y":[{"overscroll-y":V()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",E,l]}],basis:[{basis:j()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",E,l]}],"grid-cols":[{"grid-cols":[A]}],"col-start-end":[{col:["auto",{span:["full",E,l]},l]}],"col-start":[{"col-start":_()}],"col-end":[{"col-end":_()}],"grid-rows":[{"grid-rows":[A]}],"row-start-end":[{row:["auto",{span:[E,l]},l]}],"row-start":[{"row-start":_()}],"row-end":[{"row-end":_()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...$()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...$(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...$(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],we:[{we:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[oe]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[oe]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,r]}],"min-w":[{"min-w":[l,r,"min","max","fit"]}],"max-w":[{"max-w":[l,r,"none","full","min","max","fit","prose",{screen:[z]},z]}],we:[{we:[l,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-we":[{"min-we":[l,r,"min","max","fit","svh","lvh","dvh"]}],"max-we":[{"max-we":[l,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,r,"auto","min","max","fit"]}],"font-size":[{text:["base",z,P]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",K]}],"font-family":[{font:[A]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",G,K]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",I,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",I,P]}],"underline-offset":[{"underline-offset":["auto",I,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:u()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ae(),dr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",cr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ur]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...U(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:U()}],"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:["",...U()]}],"outline-offset":[{"outline-offset":[I,l]}],"outline-w":[{outline:[I,P]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:se()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[I,P]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",z,mr]}],"shadow-color":[{shadow:[A]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...ie(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ie()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",z,l]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[y]}],saturate:[{saturate:[F]}],sepia:[{sepia:[O]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[O]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:N()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:N()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[R]}],"scale-x":[{"scale-x":[R]}],"scale-y":[{"scale-y":[R]}],rotate:[{rotate:[E,l]}],"translate-x":[{"translate-x":[ne]}],"translate-y":[{"translate-y":[ne]}],"skew-x":[{"skew-x":[te]}],"skew-y":[{"skew-y":[te]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-we":[{"scroll-we":u()}],"scroll-mx":[{"scroll-mx":u()}],"scroll-my":[{"scroll-my":u()}],"scroll-ms":[{"scroll-ms":u()}],"scroll-me":[{"scroll-me":u()}],"scroll-mt":[{"scroll-mt":u()}],"scroll-mr":[{"scroll-mr":u()}],"scroll-mb":[{"scroll-mb":u()}],"scroll-ml":[{"scroll-ml":u()}],"scroll-p":[{"scroll-p":u()}],"scroll-px":[{"scroll-px":u()}],"scroll-py":[{"scroll-py":u()}],"scroll-ps":[{"scroll-ps":u()}],"scroll-pe":[{"scroll-pe":u()}],"scroll-pt":[{"scroll-pt":u()}],"scroll-pr":[{"scroll-pr":u()}],"scroll-pb":[{"scroll-pb":u()}],"scroll-pl":[{"scroll-pl":u()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[I,P,K]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],we:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","we"],"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-we":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var xe=Ze(hr);function J(...e){return xe((0,ye.clsx)(e))}var we=require("react/jsx-runtime");function ve({children:e,isFluid:r=!1,isNoPadding:t=!1,className:o=""}){let n=J("container",r&&"full-width",t&&"no-padding",o);return(0,we.jsx)("div",{className:n,children:e})}var ke=de(require("next/link"));function Ce({children:e,href:r,openNewTab:t,...o}){return(0,we.jsx)(ke.default,{href:r,target:t?"_blank":"_self",...o,children:e})}var Z=de(require("next/image"));function Ie({logoLight:e,logoDark:r,mobile:t=!1}){return(0,we.jsxs)(Ce,{href:"/",className:J(t?"py-1":"py-2"),children:[(0,we.jsx)(Z.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:t?35:50}}),(0,we.jsx)(Z.default,{className:"logo-dark hidden dark:block",src:r.src,width:r.width,height:r.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:t?35:50}})]})}var X=require("lucide-react");var M=require("@headlessui/react"),Pe=require("@heroicons/react/20/solid"),xr=({name:e,items:r,actions:t=[],href:o})=>!r&&o?(0,we.jsx)("a",{href:o,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,we.jsxs)("span",{className:"relative",children:[e,(0,we.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 we-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,we.jsxs)(M.Popover,{children:[(0,we.jsxs)(M.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,we.jsxs)("span",{className:"relative",children:[e,(0,we.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 we-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,we.jsx)(Pe.ChevronDownIcon,{"aria-hidden":"true",className:"we-5 w-5 flex-none text-accent"})]}),(0,we.jsxs)(M.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,we.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,we.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,we.jsx)("div",{className:"flex we-16 w-16 items-center justify-center rounded-lg bg-popover text-foreground group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,we.jsx)(n.icon,{"aria-hidden":"true",size:"6x"})}),(0,we.jsxs)("a",{href:n.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[n.name,(0,we.jsx)("span",{className:"absolute inset-0"})]}),(0,we.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),t.length>0&&(0,we.jsx)("div",{className:"bg-gray-50",children:(0,we.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,we.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:t.map(n=>(0,we.jsxs)("a",{href:n.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,we.jsx)(n.icon,{"aria-hidden":"true",className:"we-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),ze=xr;function ee({isMenuOpen:e,logoLight:r,logoDark:t,menuItems:o}){let[n,s]=(0,D.useState)(!1),[i,a]=(0,D.useState)("light"),p=["light","dark"];(0,D.useEffect)(()=>{let c=localStorage.getItem("theme")||"light";console.log("storedTheme",c),a(c),document.documentElement.setAttribute("class",c)},[]);let b=()=>{let c=p[(p.indexOf(i)+1)%p.length];a(c),document.documentElement.setAttribute("class",c),localStorage.setItem("theme",c)};return(0,D.useEffect)(()=>{let c=()=>{window.scrollY>100?s(!0):s(!1)};return window.addEventListener("scroll",c,{passive:!0}),()=>window.removeEventListener("scroll",c)},[]),(0,we.jsx)(we.Fragment,{children:(0,we.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${n||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,we.jsx)(ve,{className:"px-0",children:(0,we.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,we.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-b-xl border border-t-0 border-accent",children:[(0,we.jsx)(Ie,{logoDark:t,logoLight:r}),(0,we.jsx)(M.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:o&&o.map(c=>(0,we.jsx)(ze,{...c},c.name))}),(0,we.jsx)("div",{className:"flex items-center space-x-4",children:(0,we.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:b,children:(0,we.jsxs)("div",{className:"relative",children:[(0,we.jsx)(X.Sun,{className:"absolute we-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,we.jsx)(X.Moon,{className:"absoulte we-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var Re="../../cortex-reply-light-27IMI3G7.png";var Ge="../../cortex-reply-dark-XPAJJJYY.png";var S=require("@heroicons/react/24/outline");var Te=({type:e="solid",iconName:r="cloud",size:t="lg",className:o})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",s="fa-"+r,i=o!=null?o:"",a=n+s+" fa-"+t+" "+i;return(0,we.jsx)("i",{className:a})};var wr={title:"Header/HeaderDesktop",component:ee,parameters:{docs:{description:{component:"A header component for desktop view with a scroll effect and menu toggle."}}},argTypes:{isMenuOpen:{control:"boolean"}}},kr=e=>(0,we.jsx)(ee,{...e}),Cr=e=>(0,we.jsx)(Te,{iconName:"github",type:"brands",...e}),De=kr.bind({});De.args={isMenuOpen:!0,logoDark:Ge,logoLight:Re,menuItems:[{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:S.ChartPieIcon},{name:"Engagement",description:"Interact with customers",href:"#",icon:S.CursorArrowRaysIcon},{name:"Security",description:"Protect your data",href:"#",icon:S.FingerPrintIcon}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:S.ChartPieIcon},{name:"API Reference",href:"#",icon:S.CursorArrowRaysIcon},{name:"Github",href:"#",icon:Cr}],actions:[{name:"Watch demo",href:"#",icon:Pe.PlayCircleIcon},{name:"Contact sales",href:"#",icon:Pe.PhoneIcon},{name:"View all products",href:"#",icon:Pe.RectangleGroupIcon}]},{name:"Company",href:"#"}]};0&&(module.exports={Default});
4
+ "use strict";var Le=Object.create;var W=Object.defineProperty;var Fe=Object.getOwnPropertyDescriptor;var Ee=Object.getOwnPropertyNames;var Ae=Object.getPrototypeOf,Je=Object.prototype.hasOwnProperty;var Be=(e,r)=>{for(var t in r)W(e,t,{get:r[t],enumerable:!0})},de=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Ee(r))!Je.call(e,n)&&n!==t&&W(e,n,{get:()=>r[n],enumerable:!(o=Fe(r,n))||o.enumerable});return e};var pe=(e,r,t)=>(t=e!=null?Le(Ae(e)):{},de(r||!e||!e.__esModule?W(t,"default",{value:e,enumerable:!0}):t,e)),Oe=e=>de(W({},"__esModule",{value:!0}),e);var Nr={};Be(Nr,{Default:()=>He,default:()=>kr});module.exports=Oe(Nr);var D=require("react");var ve=require("clsx");var Z="-",_e=e=>{let r=We(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let a=i.split(Z);return a[0]===""&&a.length!==1&&a.shift(),ge(a,r)||Ue(i)},getConflictingClassGroupIds:(i,a)=>{let u=t[i]||[];return a&&o[i]?[...u,...o[i]]:u}}},ge=(e,r)=>{var i;if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),n=o?ge(e.slice(1),o):void 0;if(n)return n;if(r.validators.length===0)return;let s=e.join(Z);return(i=r.validators.find(({validator:a})=>a(s)))==null?void 0:i.classGroupId},ue=/^\[(.+)\]$/,Ue=e=>{if(ue.test(e)){let r=ue.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},We=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return Ve(Object.entries(e.classGroups),t).forEach(([s,i])=>{Q(i,o,s,r)}),o},Q=(e,r,t,o)=>{e.forEach(n=>{if(typeof n=="string"){let s=n===""?r:me(r,n);s.classGroupId=t;return}if(typeof n=="function"){if(Xe(n)){Q(n(o),r,t,o);return}r.validators.push({validator:n,classGroupId:t});return}Object.entries(n).forEach(([s,i])=>{Q(i,me(r,s),t,o)})})},me=(e,r)=>{let t=e;return r.split(Z).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t},Xe=e=>e.isThemeGetter,Ve=(e,r)=>r?e.map(([t,o])=>{let n=o.map(s=>typeof s=="string"?r+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,a])=>[r+i,a])):s);return[t,n]}):e,Ye=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,n=(s,i)=>{t.set(s,i),r++,r>e&&(r=0,o=t,t=new Map)};return{get(s){let i=t.get(s);if(i!==void 0)return i;if((i=o.get(s))!==void 0)return n(s,i),i},set(s,i){t.has(s)?t.set(s,i):n(s,i)}}},be="!",je=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,n=r[0],s=r.length,i=a=>{let u=[],b=0,c=0,y;for(let g=0;g<a.length;g++){let x=a[g];if(b===0){if(x===n&&(o||a.slice(g,g+s)===r)){u.push(a.slice(c,g)),c=g+s;continue}if(x==="/"){y=g;continue}}x==="["?b++:x==="]"&&b--}let w=u.length===0?a:a.substring(c),C=w.startsWith(be),k=C?w.substring(1):w,f=y&&y>c?y-c:void 0;return{modifiers:u,hasImportantModifier:C,baseClassName:k,maybePostfixModifierPosition:f}};return t?a=>t({className:a,parseClassName:i}):i},$e=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},Ke=e=>({cache:Ye(e.cacheSize),parseClassName:je(e),..._e(e)}),qe=/\s+/,Qe=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n}=r,s=[],i=e.trim().split(qe),a="";for(let u=i.length-1;u>=0;u-=1){let b=i[u],{modifiers:c,hasImportantModifier:y,baseClassName:w,maybePostfixModifierPosition:C}=t(b),k=!!C,f=o(k?w.substring(0,C):w);if(!f){if(!k){a=b+(a.length>0?" "+a:a);continue}if(f=o(w),!f){a=b+(a.length>0?" "+a:a);continue}k=!1}let g=$e(c).join(":"),x=y?g+be:g,v=x+f;if(s.includes(v))continue;s.push(v);let L=n(f,k);for(let R=0;R<L.length;++R){let O=L[R];s.push(x+O)}a=b+(a.length>0?" "+a:a)}return a};function Ze(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=fe(r))&&(o&&(o+=" "),o+=t);return o}var fe=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=fe(e[o]))&&(t&&(t+=" "),t+=r);return t};function er(e,...r){let t,o,n,s=i;function i(u){let b=r.reduce((c,y)=>y(c),e());return t=Ke(b),o=t.cache.get,n=t.cache.set,s=a,a(u)}function a(u){let b=o(u);if(b)return b;let c=Qe(u,t);return n(u,c),c}return function(){return s(Ze.apply(null,arguments))}}var p=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},he=/^\[(?:([a-z-]+):)?(.+)\]$/i,rr=/^\ke+\/\ke+$/,tr=new Set(["px","full","screen"]),or=/^(\ke+(\.\ke+)?)?(xs|sm|md|lg|xl)$/,nr=/\ke+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|ke|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,sr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ar=/^(inset_)?-?((\ke+)?\.?(\ke+)[a-z]+|0)_-?((\ke+)?\.?(\ke+)[a-z]+|0)/,ir=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N=e=>G(e)||tr.has(e)||rr.test(e),P=e=>T(e,"length",br),G=e=>!!e&&!Number.isNaN(Number(e)),q=e=>T(e,"number",G),E=e=>!!e&&Number.isInteger(Number(e)),lr=e=>e.endsWith("%")&&G(e.slice(0,-1)),l=e=>he.test(e),z=e=>or.test(e),cr=new Set(["length","size","percentage"]),dr=e=>T(e,cr,xe),pr=e=>T(e,"position",xe),ur=new Set(["image","url"]),mr=e=>T(e,ur,hr),gr=e=>T(e,"",fr),A=()=>!0,T=(e,r,t)=>{let o=he.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},br=e=>nr.test(e)&&!sr.test(e),xe=()=>!1,fr=e=>ar.test(e),hr=e=>ir.test(e);var xr=()=>{let e=p("colors"),r=p("spacing"),t=p("blur"),o=p("brightness"),n=p("borderColor"),s=p("borderRadius"),i=p("borderSpacing"),a=p("borderWidth"),u=p("contrast"),b=p("grayscale"),c=p("hueRotate"),y=p("invert"),w=p("gap"),C=p("gradientColorStops"),k=p("gradientColorStopPositions"),f=p("inset"),g=p("margin"),x=p("opacity"),v=p("padding"),L=p("saturate"),R=p("scale"),O=p("sepia"),oe=p("skew"),ne=p("space"),se=p("translate"),Y=()=>["auto","contain","none"],j=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto",l,r],m=()=>[l,r],ae=()=>["",N,P],_=()=>["auto",G,l],ie=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],U=()=>["solid","dashed","dotted","double","none"],le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],K=()=>["start","end","center","between","around","evenly","stretch"],F=()=>["","0",l],ce=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[G,l];return{cacheSize:500,separator:":",theme:{colors:[A],spacing:[N,P],blur:["none","",z,l],brightness:I(),borderColor:[e],borderRadius:["none","","full",z,l],borderSpacing:m(),borderWidth:ae(),contrast:I(),grayscale:F(),hueRotate:I(),invert:F(),gap:m(),gradientColorStops:[e],gradientColorStopPositions:[lr,P],inset:$(),margin:$(),opacity:I(),padding:m(),saturate:I(),scale:I(),sepia:F(),skew:I(),space:m(),translate:m()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[z]}],"break-after":[{"break-after":ce()}],"break-before":[{"break-before":ce()}],"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:[...ie(),l]}],overflow:[{overflow:j()}],"overflow-x":[{"overflow-x":j()}],"overflow-y":[{"overflow-y":j()}],overscroll:[{overscroll:Y()}],"overscroll-x":[{"overscroll-x":Y()}],"overscroll-y":[{"overscroll-y":Y()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",E,l]}],basis:[{basis:$()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:F()}],shrink:[{shrink:F()}],order:[{order:["first","last","none",E,l]}],"grid-cols":[{"grid-cols":[A]}],"col-start-end":[{col:["auto",{span:["full",E,l]},l]}],"col-start":[{"col-start":_()}],"col-end":[{"col-end":_()}],"grid-rows":[{"grid-rows":[A]}],"row-start-end":[{row:["auto",{span:[E,l]},l]}],"row-start":[{"row-start":_()}],"row-end":[{"row-end":_()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...K()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...K(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...K(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[ne]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ne]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,r]}],"min-w":[{"min-w":[l,r,"min","max","fit"]}],"max-w":[{"max-w":[l,r,"none","full","min","max","fit","prose",{screen:[z]},z]}],ke:[{ke:[l,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-ke":[{"min-ke":[l,r,"min","max","fit","svh","lvh","dvh"]}],"max-ke":[{"max-ke":[l,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,r,"auto","min","max","fit"]}],"font-size":[{text:["base",z,P]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",q]}],"font-family":[{font:[A]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",G,q]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",N,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",N,P]}],"underline-offset":[{"underline-offset":["auto",N,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:m()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ie(),pr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",dr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},mr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...U(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:U()}],"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:["",...U()]}],"outline-offset":[{"outline-offset":[N,l]}],"outline-w":[{outline:[N,P]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ae()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[N,P]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",z,gr]}],"shadow-color":[{shadow:[A]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...le(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":le()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",z,l]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[y]}],saturate:[{saturate:[L]}],sepia:[{sepia:[O]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[L]}],"backdrop-sepia":[{"backdrop-sepia":[O]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[R]}],"scale-x":[{"scale-x":[R]}],"scale-y":[{"scale-y":[R]}],rotate:[{rotate:[E,l]}],"translate-x":[{"translate-x":[se]}],"translate-y":[{"translate-y":[se]}],"skew-x":[{"skew-x":[oe]}],"skew-y":[{"skew-y":[oe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":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-p":[{"scroll-p":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",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[N,P,q]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","ke"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ye=er(xr);function J(...e){return ye((0,ve.clsx)(e))}var ke=require("react/jsx-runtime");function we({children:e,isFluid:r=!1,isNoPadding:t=!1,className:o=""}){let n=J("container",r&&"full-width",t&&"no-padding",o);return(0,ke.jsx)("div",{className:n,children:e})}var Ce=pe(require("next/link"));function Ie({children:e,href:r,openNewTab:t,...o}){return(0,ke.jsx)(Ce.default,{href:r,target:t?"_blank":"_self",...o,children:e})}var ee=pe(require("next/image"));function Pe({logoLight:e,logoDark:r,mobile:t=!1}){return(0,ke.jsxs)(Ie,{href:"/",className:J(t?"py-1":"py-2"),children:[(0,ke.jsx)(ee.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:t?35:50}}),(0,ke.jsx)(ee.default,{className:"logo-dark hidden dark:block",src:r.src,width:r.width,height:r.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:t?35:50}})]})}var V=require("lucide-react");var M=require("@headlessui/react"),Re=require("@heroicons/react/20/solid");var X=({type:e="solid",iconName:r="cloud",size:t="lg",className:o})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",s="fa-"+r,i=o!=null?o:"",a=n+s+" fa-"+t+" "+i;return(0,ke.jsx)("i",{className:a})};var yr=({name:e,items:r,actions:t=[],href:o})=>!r&&o?(0,ke.jsx)("a",{href:o,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,ke.jsxs)("span",{className:"relative",children:[e,(0,ke.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 ke-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,ke.jsxs)(M.Popover,{children:[(0,ke.jsxs)(M.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,ke.jsxs)("span",{className:"relative",children:[e,(0,ke.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 ke-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,ke.jsx)(Re.ChevronDownIcon,{"aria-hidden":"true",className:"ke-5 w-5 flex-none text-accent"})]}),(0,ke.jsxs)(M.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,ke.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,ke.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,ke.jsx)("div",{className:"flex ke-16 w-16 items-center justify-center 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,ke.jsx)(Se,{icon:n.icon})}),(0,ke.jsxs)("a",{href:n.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[n.name,(0,ke.jsx)("span",{className:"absolute inset-0"})]}),(0,ke.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),t.length>0&&(0,ke.jsx)("div",{className:"bg-gray-50",children:(0,ke.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,ke.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:t.map(n=>(0,ke.jsxs)("a",{href:n.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[n.icon&&(0,ke.jsx)(Se,{icon:n.icon,className:"ke-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),Se=({icon:e,className:r,size:t="lg"})=>{if(!e)return null;if("type"in e)return(0,ke.jsx)(X,{...e,size:t});if("src"in e)return(0,ke.jsx)("div",{className:r,style:{position:"relative",width:"100%",height:"100%"},children:e&&typeof e.src=="string"&&(0,ke.jsx)("img",{src:e.src,style:{objectFit:"cover",width:"100%",height:"100%"}})})},Ge=yr;function re({isMenuOpen:e,logoLight:r,logoDark:t,menuItems:o}){let[n,s]=(0,D.useState)(!1),[i,a]=(0,D.useState)("light"),u=["light","dark"];(0,D.useEffect)(()=>{let c=localStorage.getItem("theme")||"light";console.log("storedTheme",c),a(c),document.documentElement.setAttribute("class",c)},[]);let b=()=>{let c=u[(u.indexOf(i)+1)%u.length];a(c),document.documentElement.setAttribute("class",c),localStorage.setItem("theme",c)};return(0,D.useEffect)(()=>{let c=()=>{window.scrollY>100?s(!0):s(!1)};return window.addEventListener("scroll",c,{passive:!0}),()=>window.removeEventListener("scroll",c)},[]),(0,ke.jsx)(ke.Fragment,{children:(0,ke.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${n||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,ke.jsx)(we,{className:"px-0",children:(0,ke.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,ke.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-b-xl border border-t-0 border-accent",children:[(0,ke.jsx)(Pe,{logoDark:t,logoLight:r}),(0,ke.jsx)(M.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:o&&o.map(c=>(0,ke.jsx)(Ge,{...c},c.name))}),(0,ke.jsx)("div",{className:"flex items-center space-x-4",children:(0,ke.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:b,children:(0,ke.jsxs)("div",{className:"relative",children:[(0,ke.jsx)(V.Sun,{className:"absolute ke-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,ke.jsx)(V.Moon,{className:"absoulte ke-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var Me="../../cortex-reply-light-27IMI3G7.png";var De="../../cortex-reply-dark-XPAJJJYY.png";var S=require("@heroicons/react/24/outline");var kr={title:"Header/HeaderDesktop",component:re,parameters:{docs:{description:{component:"A header component for desktop view with a scroll effect and menu toggle."}}},argTypes:{isMenuOpen:{control:"boolean"}}},Cr=e=>(0,ke.jsx)(re,{...e}),Ir=e=>(0,ke.jsx)(X,{iconName:"github",type:"brands",...e}),He=Cr.bind({});He.args={isMenuOpen:!0,logoDark:De,logoLight:Me,menuItems:[{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:S.ChartPieIcon},{name:"Engagement",description:"Interact with customers",href:"#",icon:S.CursorArrowRaysIcon},{name:"Security",description:"Protect your data",href:"#",icon:S.FingerPrintIcon}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:S.ChartPieIcon},{name:"API Reference",href:"#",icon:S.CursorArrowRaysIcon},{name:"Github",href:"#",icon:Ir}],actions:[{name:"Watch demo",href:"#",icon:Re.PlayCircleIcon},{name:"Contact sales",href:"#",icon:Re.PhoneIcon},{name:"View all products",href:"#",icon:Re.RectangleGroupIcon}]},{name:"Company",href:"#"}]};0&&(module.exports={Default});
@@ -1 +1 @@
1
- import{a as t}from"../../chunk-WU3JMLSC.mjs";import{a as r}from"../../chunk-BZAYEKYC.mjs";import{a as o}from"../../chunk-VWW6LZVB.mjs";import"../../chunk-HGT54DGN.mjs";import"../../chunk-HAYRX2WO.mjs";import{a as n}from"../../chunk-SABHLBUI.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-UESKYRNK.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";import{ChartPieIcon as a,CursorArrowRaysIcon as i,FingerPrintIcon as m}from"@heroicons/react/24/outline";import{PhoneIcon as s,PlayCircleIcon as p,RectangleGroupIcon as f}from"@heroicons/react/20/solid";import{jsx as c}from"react/jsx-runtime";var b={title:"Header/HeaderDesktop",component:o,parameters:{docs:{description:{component:"A header component for desktop view with a scroll effect and menu toggle."}}},argTypes:{isMenuOpen:{control:"boolean"}}},d=e=>c(o,{...e}),h=e=>c(n,{iconName:"github",type:"brands",...e}),u=d.bind({});u.args={isMenuOpen:!0,logoDark:t,logoLight:r,menuItems:[{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:a},{name:"Engagement",description:"Interact with customers",href:"#",icon:i},{name:"Security",description:"Protect your data",href:"#",icon:m}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:a},{name:"API Reference",href:"#",icon:i},{name:"Github",href:"#",icon:h}],actions:[{name:"Watch demo",href:"#",icon:p},{name:"Contact sales",href:"#",icon:s},{name:"View all products",href:"#",icon:f}]},{name:"Company",href:"#"}]};export{u as Default,b as default};
1
+ import{a as t}from"../../chunk-WU3JMLSC.mjs";import{a as r}from"../../chunk-BZAYEKYC.mjs";import{a as o}from"../../chunk-PPSZJ5D7.mjs";import"../../chunk-3U4TZZH4.mjs";import"../../chunk-HAYRX2WO.mjs";import{a as n}from"../../chunk-SFLOMJ2U.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-UESKYRNK.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";import{ChartPieIcon as a,CursorArrowRaysIcon as i,FingerPrintIcon as m}from"@heroicons/react/24/outline";import{PhoneIcon as s,PlayCircleIcon as p,RectangleGroupIcon as f}from"@heroicons/react/20/solid";import{jsx as c}from"react/jsx-runtime";var b={title:"Header/HeaderDesktop",component:o,parameters:{docs:{description:{component:"A header component for desktop view with a scroll effect and menu toggle."}}},argTypes:{isMenuOpen:{control:"boolean"}}},d=e=>c(o,{...e}),h=e=>c(n,{iconName:"github",type:"brands",...e}),u=d.bind({});u.args={isMenuOpen:!0,logoDark:t,logoLight:r,menuItems:[{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:a},{name:"Engagement",description:"Interact with customers",href:"#",icon:i},{name:"Security",description:"Protect your data",href:"#",icon:m}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:a},{name:"API Reference",href:"#",icon:i},{name:"Github",href:"#",icon:h}],actions:[{name:"Watch demo",href:"#",icon:p},{name:"Contact sales",href:"#",icon:s},{name:"View all products",href:"#",icon:f}]},{name:"Company",href:"#"}]};export{u as Default,b as default};
@@ -1,7 +1,8 @@
1
- import React from 'react';
1
+ import { DynamicIconProps } from '../Images/DynamicIcon';
2
+ import { ImageProps } from 'next/image';
2
3
  interface HeaderMenuItemProps {
3
4
  name: string;
4
- icon: React.ElementType;
5
+ icon?: DynamicIconProps | ImageProps;
5
6
  description?: string;
6
7
  href: string;
7
8
  }
@@ -1 +1,4 @@
1
- "use strict";var i=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var m=(r,t)=>{for(var o in t)i(r,o,{get:t[o],enumerable:!0})},g=(r,t,o,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of p(t))!c.call(r,a)&&a!==o&&i(r,a,{get:()=>t[a],enumerable:!(s=d(t,a))||s.enumerable});return r};var x=r=>g(i({},"__esModule",{value:!0}),r);var v={};m(v,{default:()=>f});module.exports=x(v);var n=require("@headlessui/react"),l=require("@heroicons/react/20/solid"),e=require("react/jsx-runtime"),u=({name:r,items:t,actions:o=[],href:s})=>!t&&s?(0,e.jsx)("a",{href:s,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,e.jsxs)("span",{className:"relative",children:[r,(0,e.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,e.jsxs)(n.Popover,{children:[(0,e.jsxs)(n.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,e.jsxs)("span",{className:"relative",children:[r,(0,e.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,e.jsx)(l.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,e.jsxs)(n.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,e.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:t&&t.map(a=>(0,e.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,e.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover text-foreground group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,e.jsx)(a.icon,{"aria-hidden":"true",size:"6x"})}),(0,e.jsxs)("a",{href:a.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[a.name,(0,e.jsx)("span",{className:"absolute inset-0"})]}),(0,e.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:a.description})]},a.name))}),o.length>0&&(0,e.jsx)("div",{className:"bg-gray-50",children:(0,e.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,e.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:o.map(a=>(0,e.jsxs)("a",{href:a.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,e.jsx)(a.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),a.name]},a.name))})})})]})]}),f=u;
1
+ "use client";
2
+ "use strict";
3
+
4
+ "use strict";var i=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var v=Object.prototype.hasOwnProperty;var h=(a,o)=>{for(var r in o)i(a,r,{get:o[r],enumerable:!0})},y=(a,o,r,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let t of f(o))!v.call(a,t)&&t!==r&&i(a,t,{get:()=>o[t],enumerable:!(n=u(o,t))||n.enumerable});return a};var P=a=>y(i({},"__esModule",{value:!0}),a);var I={};h(I,{default:()=>N});module.exports=P(I);var s=require("@headlessui/react"),m=require("@heroicons/react/20/solid");var l=require("react/jsx-runtime"),c=({type:a="solid",iconName:o="cloud",size:r="lg",className:n})=>{let t=a.includes("fa-")?a+" ":"fa-"+a+" ",d="fa-"+o,x=n!=null?n:"",g=t+d+" fa-"+r+" "+x;return(0,l.jsx)("i",{className:g})};var b=({name:a,items:o,actions:r=[],href:n})=>!o&&n?(0,l.jsx)("a",{href:n,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,l.jsxs)("span",{className:"relative",children:[a,(0,l.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,l.jsxs)(s.Popover,{children:[(0,l.jsxs)(s.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,l.jsxs)("span",{className:"relative",children:[a,(0,l.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,l.jsx)(m.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,l.jsxs)(s.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,l.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:o&&o.map(t=>(0,l.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,l.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:t.icon&&(0,l.jsx)(p,{icon:t.icon})}),(0,l.jsxs)("a",{href:t.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[t.name,(0,l.jsx)("span",{className:"absolute inset-0"})]}),(0,l.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:t.description})]},t.name))}),r.length>0&&(0,l.jsx)("div",{className:"bg-gray-50",children:(0,l.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,l.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(t=>(0,l.jsxs)("a",{href:t.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[t.icon&&(0,l.jsx)(p,{icon:t.icon,className:"h-5 w-5 flex-none text-gray-400"}),t.name]},t.name))})})})]})]}),p=({icon:a,className:o,size:r="lg"})=>{if(!a)return null;if("type"in a)return(0,l.jsx)(c,{...a,size:r});if("src"in a)return(0,l.jsx)("div",{className:o,style:{position:"relative",width:"100%",height:"100%"},children:a&&typeof a.src=="string"&&(0,l.jsx)("img",{src:a.src,style:{objectFit:"cover",width:"100%",height:"100%"}})})},N=b;
@@ -1 +1 @@
1
- import{a}from"../../chunk-HGT54DGN.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as default};
1
+ import{a}from"../../chunk-3U4TZZH4.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as default};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";var p=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var b=(r,o)=>{for(var a in o)p(r,a,{get:o[a],enumerable:!0})},I=(r,o,a,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let t of v(o))!P.call(r,t)&&t!==a&&p(r,t,{get:()=>o[t],enumerable:!(i=h(o,t))||i.enumerable});return r};var N=r=>I(p({},"__esModule",{value:!0}),r);var D={};b(D,{FontAwesomeIcons:()=>C,LinkOnly:()=>R,LotsOfItems:()=>A,Primary:()=>H,default:()=>z});module.exports=N(D);var s=require("@heroicons/react/20/solid");var c=require("@headlessui/react"),e=require("react/jsx-runtime"),w=({name:r,items:o,actions:a=[],href:i})=>!o&&i?(0,e.jsx)("a",{href:i,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,e.jsxs)("span",{className:"relative",children:[r,(0,e.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,e.jsxs)(c.Popover,{children:[(0,e.jsxs)(c.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,e.jsxs)("span",{className:"relative",children:[r,(0,e.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,e.jsx)(s.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,e.jsxs)(c.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,e.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:o&&o.map(t=>(0,e.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,e.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover text-foreground group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,e.jsx)(t.icon,{"aria-hidden":"true",size:"6x"})}),(0,e.jsxs)("a",{href:t.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[t.name,(0,e.jsx)("span",{className:"absolute inset-0"})]}),(0,e.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:t.description})]},t.name))}),a.length>0&&(0,e.jsx)("div",{className:"bg-gray-50",children:(0,e.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,e.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:a.map(t=>(0,e.jsxs)("a",{href:t.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,e.jsx)(t.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),t.name]},t.name))})})})]})]}),u=w;var n=require("@heroicons/react/24/outline");var d=({type:r="solid",iconName:o="cloud",size:a="lg",className:i})=>{let t=r.includes("fa-")?r+" ":"fa-"+r+" ",x="fa-"+o,g=i!=null?i:"",y=t+x+" fa-"+a+" "+g;return(0,e.jsx)("i",{className:y})};var S=()=>(0,e.jsx)(d,{iconName:"cloud-network-sharing",type:"kit",size:"6x"}),M=()=>(0,e.jsx)(d,{iconName:"development",type:"kit",size:"6x"});var k=()=>(0,e.jsx)(d,{type:"kit",iconName:"people-sharing",size:"6x"}),z={title:"Menus/HeaderMenu",component:u},H={args:{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:n.ChartPieIcon},{name:"Engagement",description:"Interact with customers",href:"#",icon:n.CursorArrowRaysIcon},{name:"Security",description:"Protect your data",href:"#",icon:n.FingerPrintIcon}],actions:[{name:"Watch demo",href:"#",icon:s.PlayCircleIcon},{name:"Contact sales",href:"#",icon:s.PhoneIcon},{name:"View all products",href:"#",icon:s.RectangleGroupIcon}]}},C={args:{name:"Product",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:S},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:k},{name:"Products",description:"Products that we sell",href:"#",icon:M}]}},R={args:{name:"Link Only",href:"#"}},A={args:{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:n.ChartPieIcon},{name:"Engagement",description:"Interact with customers",href:"#",icon:n.CursorArrowRaysIcon},{name:"Security",description:"Protect your data",href:"#",icon:n.FingerPrintIcon},{name:"Security",description:"Protect your data",href:"#",icon:n.FingerPrintIcon},{name:"Security2",description:"Protect your data",href:"#",icon:n.FingerPrintIcon},{name:"Security3",description:"Protect your data",href:"#",icon:n.FingerPrintIcon},{name:"Security4",description:"Protect your data",href:"#",icon:n.FingerPrintIcon}],actions:[{name:"Watch demo",href:"#",icon:s.PlayCircleIcon},{name:"Contact sales",href:"#",icon:s.PhoneIcon},{name:"View all products",href:"#",icon:s.RectangleGroupIcon}]}};0&&(module.exports={FontAwesomeIcons,LinkOnly,LotsOfItems,Primary});
4
+ "use strict";var m=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var I=(o,r)=>{for(var n in r)m(o,n,{get:r[n],enumerable:!0})},b=(o,r,n,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of v(r))!P.call(o,t)&&t!==n&&m(o,t,{get:()=>r[t],enumerable:!(s=y(r,t))||s.enumerable});return o};var N=o=>b(m({},"__esModule",{value:!0}),o);var R={};I(R,{FontAwesomeIcons:()=>k,Images:()=>z,LinkOnly:()=>C,LotsOfItems:()=>D,NoIcons:()=>H,Primary:()=>M,default:()=>w});module.exports=N(R);var c=require("@heroicons/react/20/solid");var i=require("@headlessui/react");var l=require("react/jsx-runtime"),p=({type:o="solid",iconName:r="cloud",size:n="lg",className:s})=>{let t=o.includes("fa-")?o+" ":"fa-"+o+" ",g="fa-"+r,h=s!=null?s:"",x=t+g+" fa-"+n+" "+h;return(0,l.jsx)("i",{className:x})};var S=({name:o,items:r,actions:n=[],href:s})=>!r&&s?(0,l.jsx)("a",{href:s,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,l.jsxs)("span",{className:"relative",children:[o,(0,l.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,l.jsxs)(i.Popover,{children:[(0,l.jsxs)(i.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,l.jsxs)("span",{className:"relative",children:[o,(0,l.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,l.jsx)(c.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,l.jsxs)(i.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,l.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(t=>(0,l.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,l.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:t.icon&&(0,l.jsx)(d,{icon:t.icon})}),(0,l.jsxs)("a",{href:t.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[t.name,(0,l.jsx)("span",{className:"absolute inset-0"})]}),(0,l.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:t.description})]},t.name))}),n.length>0&&(0,l.jsx)("div",{className:"bg-gray-50",children:(0,l.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,l.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:n.map(t=>(0,l.jsxs)("a",{href:t.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[t.icon&&(0,l.jsx)(d,{icon:t.icon,className:"h-5 w-5 flex-none text-gray-400"}),t.name]},t.name))})})})]})]}),d=({icon:o,className:r,size:n="lg"})=>{if(!o)return null;if("type"in o)return(0,l.jsx)(p,{...o,size:n});if("src"in o)return(0,l.jsx)("div",{className:r,style:{position:"relative",width:"100%",height:"100%"},children:o&&typeof o.src=="string"&&(0,l.jsx)("img",{src:o.src,style:{objectFit:"cover",width:"100%",height:"100%"}})})},f=S;var a=require("@heroicons/react/24/outline");var w={title:"Menus/HeaderMenu",component:f},M={args:{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:{type:"thin",iconName:"cloud"}},{name:"Engagement",description:"Interact with customers",href:"#",icon:{src:"/stock1.jpg",alt:"icon"}},{name:"Security",description:"Protect your data",href:"#",icon:{src:"/assets/icons/geco_icon.svg",alt:"icon"}}],actions:[{name:"Watch demo",href:"#",icon:{type:"thin",iconName:"cloud"}},{name:"Contact sales",href:"#",icon:{src:"/assets/icons/software.svg",alt:"icon"}},{name:"View all products",href:"#",icon:{src:"/avatar.jpg",alt:"icon"}}]}},k={args:{name:"Product",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:{type:"thin",iconName:"cloud"}},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:{type:"brands",iconName:"github"}},{name:"Products",description:"Products that we sell",href:"#",icon:{type:"kit",iconName:"development"}}]}},z={args:{name:"Product",items:[{name:"Platforms & Services",description:"Small image",href:"#",icon:{src:"/avatar.jpg",alt:"icon"}},{name:"Solutions & Propositions",description:"Large image",href:"#",icon:{src:"/stock1.jpg",alt:"icon"}},{name:"Products",description:"Products that we sell",href:"#",icon:{src:"/assets/icons/software.svg",alt:"icon"}}]}},H={args:{name:"Product",items:[{name:"Platforms & Services",description:"Cloud services",href:"#"},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#"},{name:"Products",description:"Products that we sell",href:"#"}]}},C={args:{name:"Link Only",href:"#"}},D={args:{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:a.ChartPieIcon},{name:"Engagement",description:"Interact with customers",href:"#",icon:a.CursorArrowRaysIcon},{name:"Security",description:"Protect your data",href:"#",icon:a.FingerPrintIcon},{name:"Security",description:"Protect your data",href:"#",icon:a.FingerPrintIcon},{name:"Security2",description:"Protect your data",href:"#",icon:a.FingerPrintIcon},{name:"Security3",description:"Protect your data",href:"#",icon:a.FingerPrintIcon},{name:"Security4",description:"Protect your data",href:"#",icon:a.FingerPrintIcon}],actions:[{name:"Watch demo",href:"#",icon:c.PlayCircleIcon},{name:"Contact sales",href:"#",icon:c.PhoneIcon},{name:"View all products",href:"#",icon:c.RectangleGroupIcon}]}};0&&(module.exports={FontAwesomeIcons,Images,LinkOnly,LotsOfItems,NoIcons,Primary});
@@ -1 +1 @@
1
- import{a as n}from"../../chunk-HGT54DGN.mjs";import{a as o}from"../../chunk-SABHLBUI.mjs";import"../../chunk-D2WXBUVJ.mjs";import{PhoneIcon as r,PlayCircleIcon as c,RectangleGroupIcon as i}from"@heroicons/react/20/solid";import{ChartPieIcon as a,CursorArrowRaysIcon as s,FingerPrintIcon as e}from"@heroicons/react/24/outline";import{jsx as t}from"react/jsx-runtime";var m=()=>t(o,{iconName:"cloud-network-sharing",type:"kit",size:"6x"}),d=()=>t(o,{iconName:"development",type:"kit",size:"6x"});var p=()=>t(o,{type:"kit",iconName:"people-sharing",size:"6x"}),l={title:"Menus/HeaderMenu",component:n},P={args:{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:a},{name:"Engagement",description:"Interact with customers",href:"#",icon:s},{name:"Security",description:"Protect your data",href:"#",icon:e}],actions:[{name:"Watch demo",href:"#",icon:c},{name:"Contact sales",href:"#",icon:r},{name:"View all products",href:"#",icon:i}]}},S={args:{name:"Product",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:m},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:p},{name:"Products",description:"Products that we sell",href:"#",icon:d}]}},I={args:{name:"Link Only",href:"#"}},g={args:{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:a},{name:"Engagement",description:"Interact with customers",href:"#",icon:s},{name:"Security",description:"Protect your data",href:"#",icon:e},{name:"Security",description:"Protect your data",href:"#",icon:e},{name:"Security2",description:"Protect your data",href:"#",icon:e},{name:"Security3",description:"Protect your data",href:"#",icon:e},{name:"Security4",description:"Protect your data",href:"#",icon:e}],actions:[{name:"Watch demo",href:"#",icon:c},{name:"Contact sales",href:"#",icon:r},{name:"View all products",href:"#",icon:i}]}};export{S as FontAwesomeIcons,I as LinkOnly,g as LotsOfItems,P as Primary,l as default};
1
+ import{a as o}from"../../chunk-3U4TZZH4.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-D2WXBUVJ.mjs";import{PhoneIcon as t,PlayCircleIcon as n,RectangleGroupIcon as r}from"@heroicons/react/20/solid";import{ChartPieIcon as i,CursorArrowRaysIcon as c,FingerPrintIcon as e}from"@heroicons/react/24/outline";import{jsx as g}from"react/jsx-runtime";var d={title:"Menus/HeaderMenu",component:o},p={args:{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:{type:"thin",iconName:"cloud"}},{name:"Engagement",description:"Interact with customers",href:"#",icon:{src:"/stock1.jpg",alt:"icon"}},{name:"Security",description:"Protect your data",href:"#",icon:{src:"/assets/icons/geco_icon.svg",alt:"icon"}}],actions:[{name:"Watch demo",href:"#",icon:{type:"thin",iconName:"cloud"}},{name:"Contact sales",href:"#",icon:{src:"/assets/icons/software.svg",alt:"icon"}},{name:"View all products",href:"#",icon:{src:"/avatar.jpg",alt:"icon"}}]}},u={args:{name:"Product",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:{type:"thin",iconName:"cloud"}},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:{type:"brands",iconName:"github"}},{name:"Products",description:"Products that we sell",href:"#",icon:{type:"kit",iconName:"development"}}]}},l={args:{name:"Product",items:[{name:"Platforms & Services",description:"Small image",href:"#",icon:{src:"/avatar.jpg",alt:"icon"}},{name:"Solutions & Propositions",description:"Large image",href:"#",icon:{src:"/stock1.jpg",alt:"icon"}},{name:"Products",description:"Products that we sell",href:"#",icon:{src:"/assets/icons/software.svg",alt:"icon"}}]}},h={args:{name:"Product",items:[{name:"Platforms & Services",description:"Cloud services",href:"#"},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#"},{name:"Products",description:"Products that we sell",href:"#"}]}},y={args:{name:"Link Only",href:"#"}},f={args:{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:i},{name:"Engagement",description:"Interact with customers",href:"#",icon:c},{name:"Security",description:"Protect your data",href:"#",icon:e},{name:"Security",description:"Protect your data",href:"#",icon:e},{name:"Security2",description:"Protect your data",href:"#",icon:e},{name:"Security3",description:"Protect your data",href:"#",icon:e},{name:"Security4",description:"Protect your data",href:"#",icon:e}],actions:[{name:"Watch demo",href:"#",icon:n},{name:"Contact sales",href:"#",icon:t},{name:"View all products",href:"#",icon:r}]}};export{u as FontAwesomeIcons,l as Images,y as LinkOnly,f as LotsOfItems,h as NoIcons,p as Primary,d as default};
@@ -1 +1 @@
1
- import{a as r}from"../../chunk-WU3JMLSC.mjs";import{a as t}from"../../chunk-BZAYEKYC.mjs";import{a as e}from"../../chunk-I2GY5WTT.mjs";import"../../chunk-HAYRX2WO.mjs";import{a as o}from"../../chunk-SABHLBUI.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";import{ChartPieIcon as n,CursorArrowRaysIcon as a,FingerPrintIcon as c}from"@heroicons/react/24/outline";import{PhoneIcon as m,PlayCircleIcon as f,RectangleGroupIcon as s}from"@heroicons/react/20/solid";import{jsx as y}from"react/jsx-runtime";var I={title:"Header/HeaderMobile",component:e},p=i=>y(o,{iconName:"github",type:"brands",...i}),P={args:{logoDark:r,logoLight:t,menuItems:[{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:n},{name:"Engagement",description:"Interact with customers",href:"#",icon:a},{name:"Security",description:"Protect your data",href:"#",icon:c}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:n},{name:"API Reference",href:"#",icon:a},{name:"Github",href:"#",icon:p}],actions:[{name:"Watch demo",href:"#",icon:f},{name:"Contact sales",href:"#",icon:m},{name:"View all products",href:"#",icon:s}]},{name:"Company",href:"#"}]}};export{P as Primary,I as default};
1
+ import{a as r}from"../../chunk-WU3JMLSC.mjs";import{a as t}from"../../chunk-BZAYEKYC.mjs";import{a as e}from"../../chunk-I2GY5WTT.mjs";import"../../chunk-HAYRX2WO.mjs";import{a as o}from"../../chunk-SFLOMJ2U.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";import{ChartPieIcon as n,CursorArrowRaysIcon as a,FingerPrintIcon as c}from"@heroicons/react/24/outline";import{PhoneIcon as m,PlayCircleIcon as f,RectangleGroupIcon as s}from"@heroicons/react/20/solid";import{jsx as y}from"react/jsx-runtime";var I={title:"Header/HeaderMobile",component:e},p=i=>y(o,{iconName:"github",type:"brands",...i}),P={args:{logoDark:r,logoLight:t,menuItems:[{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:n},{name:"Engagement",description:"Interact with customers",href:"#",icon:a},{name:"Security",description:"Protect your data",href:"#",icon:c}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:n},{name:"API Reference",href:"#",icon:a},{name:"Github",href:"#",icon:p}],actions:[{name:"Watch demo",href:"#",icon:f},{name:"Contact sales",href:"#",icon:m},{name:"View all products",href:"#",icon:s}]},{name:"Company",href:"#"}]}};export{P as Primary,I as default};
@@ -1 +1 @@
1
- import{a}from"../../chunk-XHRPO3DH.mjs";import"../../chunk-FLVPDO7B.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-YAH6C5YX.mjs";import"../../chunk-6FHLIH4J.mjs";import"../../chunk-CW7WANDA.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as SectionHeading};
1
+ import{a}from"../../chunk-3ULIS6GM.mjs";import"../../chunk-4MNYZ3VG.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-YAH6C5YX.mjs";import"../../chunk-ODLDYXPZ.mjs";import"../../chunk-QRNJ7O2L.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as SectionHeading};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";"use client";var h=Object.defineProperty;var M=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var H=Object.prototype.hasOwnProperty;var I=(r,a)=>{for(var l in a)h(r,l,{get:a[l],enumerable:!0})},$=(r,a,l,i)=>{if(a&&typeof a=="object"||typeof a=="function")for(let t of D(a))!H.call(r,t)&&t!==l&&h(r,t,{get:()=>a[t],enumerable:!(i=M(a,t))||i.enumerable});return r};var C=r=>$(h({},"__esModule",{value:!0}),r);var z={};I(z,{SimpleHeader:()=>B});module.exports=C(z);var m=require("react"),n=require("@headlessui/react"),f=require("@heroicons/react/24/outline"),d=require("@heroicons/react/20/solid");var s=require("react/jsx-runtime"),T=({name:r,items:a,actions:l=[],href:i})=>!a&&i?(0,s.jsx)("a",{href:i,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,s.jsxs)("span",{className:"relative",children:[r,(0,s.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,s.jsxs)(n.Popover,{children:[(0,s.jsxs)(n.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,s.jsxs)("span",{className:"relative",children:[r,(0,s.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,s.jsx)(d.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,s.jsxs)(n.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,s.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:a&&a.map(t=>(0,s.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,s.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover text-foreground group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,s.jsx)(t.icon,{"aria-hidden":"true",size:"6x"})}),(0,s.jsxs)("a",{href:t.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[t.name,(0,s.jsx)("span",{className:"absolute inset-0"})]}),(0,s.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:t.description})]},t.name))}),l.length>0&&(0,s.jsx)("div",{className:"bg-gray-50",children:(0,s.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,s.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:l.map(t=>(0,s.jsxs)("a",{href:t.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,s.jsx)(t.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),t.name]},t.name))})})})]})]}),w=T;var g=["light","dark","green"];function B({title:r,logo:a,menuItems:l}){let[i,t]=(0,m.useState)(!1),[j,E]=(0,m.useState)(!1),[x,b]=(0,m.useState)("light"),p=a==null?void 0:a.split(".")[0],u=a==null?void 0:a.split(".")[1],[P,v]=(0,m.useState)(`${p}.${u}`),y=o=>{g.includes(o)?v(o==="light"?`${p}.${u}`:`${p}-${o}.${u}`):v(`${p}.${u}`)};(0,m.useEffect)(()=>{let o=localStorage.getItem("theme")||"light";console.log("storedTheme",o),b(o),document.documentElement.setAttribute("class",o),y(o)},[]);let k=()=>{let o=g[(g.indexOf(x)+1)%g.length];b(o),document.documentElement.setAttribute("class",o),localStorage.setItem("theme",o),y(o)};return(0,s.jsxs)("header",{className:"relative isolate z-10 bg-background h-14",children:[(0,s.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,s.jsx)("div",{className:"flex lg:flex-1",children:(0,s.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,s.jsx)("span",{className:"sr-only",children:r}),(0,s.jsx)("img",{alt:r,src:P,className:"h-9 w-auto"})]})}),(0,s.jsx)("div",{className:"flex lg:hidden",children:(0,s.jsxs)("button",{type:"button",onClick:()=>t(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,s.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,s.jsx)(f.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,s.jsx)(n.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:l.map(o=>(0,s.jsx)(w,{...o},o.name))}),(0,s.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,s.jsx)("button",{onClick:k,className:"p-2 text-gray-700 outline-none",children:x==="dark"?(0,s.jsx)(d.SunIcon,{className:"h-6 w-6"}):x==="green"?(0,s.jsx)(d.MoonIcon,{className:"h-6 w-6"}):(0,s.jsx)(d.SunIcon,{className:"h-6 w-6"})})})]}),(0,s.jsxs)(n.Dialog,{open:i,onClose:t,className:"lg:hidden",children:[(0,s.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,s.jsxs)(n.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,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,s.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,s.jsx)("img",{alt:r,src:a,className:"h-8 w-auto"})]}),(0,s.jsxs)("button",{type:"button",onClick:()=>t(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,s.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,s.jsx)(f.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,s.jsx)("div",{className:"mt-6 flow-root",children:(0,s.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,s.jsx)("div",{className:"space-y-2 py-6",children:l.map(o=>(0,s.jsx)(S,{...o},o.name))})})})]})]})]})}function S({name:r,items:a,actions:l,href:i}){return!a&&i?(0,s.jsx)("a",{href:i,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:r}):(0,s.jsxs)(n.Disclosure,{as:"div",className:"-mx-3",children:[(0,s.jsx)(n.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:r}),(0,s.jsx)(n.DisclosurePanel,{className:"mt-2 space-y-2",children:a&&a.map(t=>(0,s.jsx)(n.DisclosureButton,{as:"a",href:t.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:t.name},t.name))})]})}0&&(module.exports={SimpleHeader});
4
+ "use strict";"use client";var v=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var z=Object.getOwnPropertyNames;var $=Object.prototype.hasOwnProperty;var B=(a,t)=>{for(var r in t)v(a,r,{get:t[r],enumerable:!0})},S=(a,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of z(t))!$.call(a,s)&&s!==r&&v(a,s,{get:()=>t[s],enumerable:!(i=C(t,s))||i.enumerable});return a};var j=a=>S(v({},"__esModule",{value:!0}),a);var O={};B(O,{SimpleHeader:()=>L});module.exports=j(O);var c=require("react"),l=require("@headlessui/react"),f=require("@heroicons/react/24/outline"),d=require("@heroicons/react/20/solid");var I=require("react/jsx-runtime"),w=({type:a="solid",iconName:t="cloud",size:r="lg",className:i})=>{let s=a.includes("fa-")?a+" ":"fa-"+a+" ",y="fa-"+t,b=i!=null?i:"",p=s+y+" fa-"+r+" "+b;return(0,I.jsx)("i",{className:p})};var E=({name:a,items:t,actions:r=[],href:i})=>!t&&i?(0,I.jsx)("a",{href:i,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,I.jsxs)("span",{className:"relative",children:[a,(0,I.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,I.jsxs)(l.Popover,{children:[(0,I.jsxs)(l.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,I.jsxs)("span",{className:"relative",children:[a,(0,I.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,I.jsx)(d.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,I.jsxs)(l.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,I.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:t&&t.map(s=>(0,I.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,I.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:s.icon&&(0,I.jsx)(D,{icon:s.icon})}),(0,I.jsxs)("a",{href:s.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[s.name,(0,I.jsx)("span",{className:"absolute inset-0"})]}),(0,I.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:s.description})]},s.name))}),r.length>0&&(0,I.jsx)("div",{className:"bg-gray-50",children:(0,I.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,I.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(s=>(0,I.jsxs)("a",{href:s.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[s.icon&&(0,I.jsx)(D,{icon:s.icon,className:"h-5 w-5 flex-none text-gray-400"}),s.name]},s.name))})})})]})]}),D=({icon:a,className:t,size:r="lg"})=>{if(!a)return null;if("type"in a)return(0,I.jsx)(w,{...a,size:r});if("src"in a)return(0,I.jsx)("div",{className:t,style:{position:"relative",width:"100%",height:"100%"},children:a&&typeof a.src=="string"&&(0,I.jsx)("img",{src:a.src,style:{objectFit:"cover",width:"100%",height:"100%"}})})},M=E;var x=["light","dark","green"];function L({title:a,logo:t,menuItems:r}){let[i,s]=(0,c.useState)(!1),[y,b]=(0,c.useState)(!1),[p,N]=(0,c.useState)("light"),u=t==null?void 0:t.split(".")[0],g=t==null?void 0:t.split(".")[1],[H,h]=(0,c.useState)(`${u}.${g}`),P=n=>{x.includes(n)?h(n==="light"?`${u}.${g}`:`${u}-${n}.${g}`):h(`${u}.${g}`)};(0,c.useEffect)(()=>{let n=localStorage.getItem("theme")||"light";console.log("storedTheme",n),N(n),document.documentElement.setAttribute("class",n),P(n)},[]);let T=()=>{let n=x[(x.indexOf(p)+1)%x.length];N(n),document.documentElement.setAttribute("class",n),localStorage.setItem("theme",n),P(n)};return(0,I.jsxs)("header",{className:"relative isolate z-10 bg-background h-14",children:[(0,I.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,I.jsx)("div",{className:"flex lg:flex-1",children:(0,I.jsxs)("a",{href:"#",className:"-l-1.5 p-1.5 outline-none",children:[(0,I.jsx)("span",{className:"sr-only",children:a}),(0,I.jsx)("img",{alt:a,src:H,className:"h-9 w-auto"})]})}),(0,I.jsx)("div",{className:"flex lg:hidden",children:(0,I.jsxs)("button",{type:"button",onClick:()=>s(!0),className:"-l-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,I.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,I.jsx)(f.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,I.jsx)(l.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:r.map(n=>(0,I.jsx)(M,{...n},n.name))}),(0,I.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,I.jsx)("button",{onClick:T,className:"p-2 text-gray-700 outline-none",children:p==="dark"?(0,I.jsx)(d.SunIcon,{className:"h-6 w-6"}):p==="green"?(0,I.jsx)(d.MoonIcon,{className:"h-6 w-6"}):(0,I.jsx)(d.SunIcon,{className:"h-6 w-6"})})})]}),(0,I.jsxs)(l.Dialog,{open:i,onClose:s,className:"lg:hidden",children:[(0,I.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,I.jsxs)(l.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,I.jsxs)("div",{className:"flex items-center justify-between",children:[(0,I.jsxs)("a",{href:"#",className:"-l-1.5 p-1.5 outline-none",children:[(0,I.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,I.jsx)("img",{alt:a,src:t,className:"h-8 w-auto"})]}),(0,I.jsxs)("button",{type:"button",onClick:()=>s(!1),className:"-l-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,I.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,I.jsx)(f.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,I.jsx)("div",{className:"mt-6 flow-root",children:(0,I.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,I.jsx)("div",{className:"space-y-2 py-6",children:r.map(n=>(0,I.jsx)(R,{...n},n.name))})})})]})]})]})}function R({name:a,items:t,actions:r,href:i}){return!t&&i?(0,I.jsx)("a",{href:i,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:a}):(0,I.jsxs)(l.Disclosure,{as:"div",className:"-mx-3",children:[(0,I.jsx)(l.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:a}),(0,I.jsx)(l.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(s=>(0,I.jsx)(l.DisclosureButton,{as:"a",href:s.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:s.name},s.name))})]})}0&&(module.exports={SimpleHeader});
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a}from"../../chunk-343CWVUF.mjs";import"../../chunk-HGT54DGN.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as SimpleHeader};
2
+ "use strict";import{a}from"../../chunk-SYVKYRZO.mjs";import"../../chunk-3U4TZZH4.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as SimpleHeader};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";var b=Object.defineProperty;var $=Object.getOwnPropertyDescriptor;var z=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var E=(o,a)=>{for(var i in a)b(o,i,{get:a[i],enumerable:!0})},G=(o,a,i,s)=>{if(a&&typeof a=="object"||typeof a=="function")for(let t of z(a))!B.call(o,t)&&t!==i&&b(o,t,{get:()=>a[t],enumerable:!(s=$(a,t))||s.enumerable});return o};var O=o=>G(b({},"__esModule",{value:!0}),o);var Y={};E(Y,{Primary:()=>W,default:()=>L});module.exports=O(Y);var m=require("react"),l=require("@headlessui/react"),y=require("@heroicons/react/24/outline"),g=require("@heroicons/react/20/solid");var r=require("react/jsx-runtime"),j=({name:o,items:a,actions:i=[],href:s})=>!a&&s?(0,r.jsx)("a",{href:s,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,r.jsxs)("span",{className:"relative",children:[o,(0,r.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,r.jsxs)(l.Popover,{children:[(0,r.jsxs)(l.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,r.jsxs)("span",{className:"relative",children:[o,(0,r.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,r.jsx)(g.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,r.jsxs)(l.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,r.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:a&&a.map(t=>(0,r.jsxs)("div",{className:"group relative rounded-lg l-6 text-sm/6 box-border",children:[(0,r.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover text-foreground group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,r.jsx)(t.icon,{"aria-hidden":"true",size:"6x"})}),(0,r.jsxs)("a",{href:t.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[t.name,(0,r.jsx)("span",{className:"absolute inset-0"})]}),(0,r.jsx)("l",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:t.description})]},t.name))}),i.length>0&&(0,r.jsx)("div",{className:"bg-gray-50",children:(0,r.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,r.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:i.map(t=>(0,r.jsxs)("a",{href:t.href,className:"flex items-center justify-center gap-x-2.5 l-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,r.jsx)(t.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),t.name]},t.name))})})})]})]}),D=j;var h=["light","dark","green"];function M({title:o,logo:a,menuItems:i}){let[s,t]=(0,m.useState)(!1),[N,P]=(0,m.useState)(!1),[u,I]=(0,m.useState)("light"),f=a==null?void 0:a.split(".")[0],x=a==null?void 0:a.split(".")[1],[R,v]=(0,m.useState)(`${f}.${x}`),w=n=>{h.includes(n)?v(n==="light"?`${f}.${x}`:`${f}-${n}.${x}`):v(`${f}.${x}`)};(0,m.useEffect)(()=>{let n=localStorage.getItem("theme")||"light";console.log("storedTheme",n),I(n),document.documentElement.setAttribute("class",n),w(n)},[]);let T=()=>{let n=h[(h.indexOf(u)+1)%h.length];I(n),document.documentElement.setAttribute("class",n),localStorage.setItem("theme",n),w(n)};return(0,r.jsxs)("header",{className:"relative isolate z-10 bg-background h-14",children:[(0,r.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between l-3 lg:px-8",children:[(0,r.jsx)("div",{className:"flex lg:flex-1",children:(0,r.jsxs)("a",{href:"#",className:"-m-1.5 l-1.5 outline-none",children:[(0,r.jsx)("span",{className:"sr-only",children:o}),(0,r.jsx)("img",{alt:o,src:R,className:"h-9 w-auto"})]})}),(0,r.jsx)("div",{className:"flex lg:hidden",children:(0,r.jsxs)("button",{type:"button",onClick:()=>t(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md l-2.5 text-gray-700 outline-none",children:[(0,r.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,r.jsx)(y.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,r.jsx)(l.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:i.map(n=>(0,r.jsx)(D,{...n},n.name))}),(0,r.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,r.jsx)("button",{onClick:T,className:"l-2 text-gray-700 outline-none",children:u==="dark"?(0,r.jsx)(g.SunIcon,{className:"h-6 w-6"}):u==="green"?(0,r.jsx)(g.MoonIcon,{className:"h-6 w-6"}):(0,r.jsx)(g.SunIcon,{className:"h-6 w-6"})})})]}),(0,r.jsxs)(l.Dialog,{open:s,onClose:t,className:"lg:hidden",children:[(0,r.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,r.jsxs)(l.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsxs)("a",{href:"#",className:"-m-1.5 l-1.5 outline-none",children:[(0,r.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,r.jsx)("img",{alt:o,src:a,className:"h-8 w-auto"})]}),(0,r.jsxs)("button",{type:"button",onClick:()=>t(!1),className:"-m-2.5 rounded-md l-2.5 text-gray-700 outline-none",children:[(0,r.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,r.jsx)(y.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,r.jsx)("div",{className:"mt-6 flow-root",children:(0,r.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,r.jsx)("div",{className:"space-y-2 py-6",children:i.map(n=>(0,r.jsx)(A,{...n},n.name))})})})]})]})]})}function A({name:o,items:a,actions:i,href:s}){return!a&&s?(0,r.jsx)("a",{href:s,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:o}):(0,r.jsxs)(l.Disclosure,{as:"div",className:"-mx-3",children:[(0,r.jsx)(l.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:o}),(0,r.jsx)(l.DisclosurePanel,{className:"mt-2 space-y-2",children:a&&a.map(t=>(0,r.jsx)(l.DisclosureButton,{as:"a",href:t.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:t.name},t.name))})]})}var H=({type:o="solid",iconName:a="cloud",size:i="lg",className:s})=>{let t=o.includes("fa-")?o+" ":"fa-"+o+" ",N="fa-"+a,P=s!=null?s:"",u=t+N+" fa-"+i+" "+P;return(0,r.jsx)("i",{className:u})};var L={title:"Header/SimpleHeader",component:M},F=o=>(0,r.jsx)(H,{iconName:"github",type:"brands",...o}),W={args:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:y.ChartPieIcon},{name:"Engagement",description:"Interact with customers",href:"#",icon:y.CursorArrowRaysIcon},{name:"Security",description:"Protect your data",href:"#",icon:y.FingerPrintIcon}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:y.ChartPieIcon},{name:"API Reference",href:"#",icon:y.CursorArrowRaysIcon},{name:"Github",href:"#",icon:F}],actions:[{name:"Watch demo",href:"#",icon:g.PlayCircleIcon},{name:"Contact sales",href:"#",icon:g.PhoneIcon},{name:"View all products",href:"#",icon:g.RectangleGroupIcon}]},{name:"Company",href:"#"}]}};0&&(module.exports={Primary});
4
+ "use strict";var N=Object.defineProperty;var $=Object.getOwnPropertyDescriptor;var B=Object.getOwnPropertyNames;var j=Object.prototype.hasOwnProperty;var E=(a,t)=>{for(var s in t)N(a,s,{get:t[s],enumerable:!0})},G=(a,t,s,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of B(t))!j.call(a,o)&&o!==s&&N(a,o,{get:()=>t[o],enumerable:!(i=$(t,o))||i.enumerable});return a};var O=a=>G(N({},"__esModule",{value:!0}),a);var U={};E(U,{Primary:()=>Y,default:()=>F});module.exports=O(U);var m=require("react"),l=require("@headlessui/react"),v=require("@heroicons/react/24/outline"),g=require("@heroicons/react/20/solid");var M=require("react/jsx-runtime"),y=({type:a="solid",iconName:t="cloud",size:s="lg",className:i})=>{let o=a.includes("fa-")?a+" ":"fa-"+a+" ",P="fa-"+t,I=i!=null?i:"",u=o+P+" fa-"+s+" "+I;return(0,M.jsx)("i",{className:u})};var A=({name:a,items:t,actions:s=[],href:i})=>!t&&i?(0,M.jsx)("a",{href:i,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,M.jsxs)("span",{className:"relative",children:[a,(0,M.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,M.jsxs)(l.Popover,{children:[(0,M.jsxs)(l.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,M.jsxs)("span",{className:"relative",children:[a,(0,M.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,M.jsx)(g.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,M.jsxs)(l.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,M.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:t&&t.map(o=>(0,M.jsxs)("div",{className:"group relative rounded-lg l-6 text-sm/6 box-border",children:[(0,M.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:o.icon&&(0,M.jsx)(k,{icon:o.icon})}),(0,M.jsxs)("a",{href:o.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[o.name,(0,M.jsx)("span",{className:"absolute inset-0"})]}),(0,M.jsx)("l",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:o.description})]},o.name))}),s.length>0&&(0,M.jsx)("div",{className:"bg-gray-50",children:(0,M.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,M.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:s.map(o=>(0,M.jsxs)("a",{href:o.href,className:"flex items-center justify-center gap-x-2.5 l-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[o.icon&&(0,M.jsx)(k,{icon:o.icon,className:"h-5 w-5 flex-none text-gray-400"}),o.name]},o.name))})})})]})]}),k=({icon:a,className:t,size:s="lg"})=>{if(!a)return null;if("type"in a)return(0,M.jsx)(y,{...a,size:s});if("src"in a)return(0,M.jsx)("div",{className:t,style:{position:"relative",width:"100%",height:"100%"},children:a&&typeof a.src=="string"&&(0,M.jsx)("img",{src:a.src,style:{objectFit:"cover",width:"100%",height:"100%"}})})},C=A;var h=["light","dark","green"];function S({title:a,logo:t,menuItems:s}){let[i,o]=(0,m.useState)(!1),[P,I]=(0,m.useState)(!1),[u,w]=(0,m.useState)("light"),f=t==null?void 0:t.split(".")[0],x=t==null?void 0:t.split(".")[1],[R,b]=(0,m.useState)(`${f}.${x}`),D=n=>{h.includes(n)?b(n==="light"?`${f}.${x}`:`${f}-${n}.${x}`):b(`${f}.${x}`)};(0,m.useEffect)(()=>{let n=localStorage.getItem("theme")||"light";console.log("storedTheme",n),w(n),document.documentElement.setAttribute("class",n),D(n)},[]);let z=()=>{let n=h[(h.indexOf(u)+1)%h.length];w(n),document.documentElement.setAttribute("class",n),localStorage.setItem("theme",n),D(n)};return(0,M.jsxs)("header",{className:"relative isolate z-10 bg-background h-14",children:[(0,M.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between l-3 lg:px-8",children:[(0,M.jsx)("div",{className:"flex lg:flex-1",children:(0,M.jsxs)("a",{href:"#",className:"-m-1.5 l-1.5 outline-none",children:[(0,M.jsx)("span",{className:"sr-only",children:a}),(0,M.jsx)("img",{alt:a,src:R,className:"h-9 w-auto"})]})}),(0,M.jsx)("div",{className:"flex lg:hidden",children:(0,M.jsxs)("button",{type:"button",onClick:()=>o(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md l-2.5 text-gray-700 outline-none",children:[(0,M.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,M.jsx)(v.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,M.jsx)(l.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:s.map(n=>(0,M.jsx)(C,{...n},n.name))}),(0,M.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,M.jsx)("button",{onClick:z,className:"l-2 text-gray-700 outline-none",children:u==="dark"?(0,M.jsx)(g.SunIcon,{className:"h-6 w-6"}):u==="green"?(0,M.jsx)(g.MoonIcon,{className:"h-6 w-6"}):(0,M.jsx)(g.SunIcon,{className:"h-6 w-6"})})})]}),(0,M.jsxs)(l.Dialog,{open:i,onClose:o,className:"lg:hidden",children:[(0,M.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,M.jsxs)(l.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,M.jsxs)("div",{className:"flex items-center justify-between",children:[(0,M.jsxs)("a",{href:"#",className:"-m-1.5 l-1.5 outline-none",children:[(0,M.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,M.jsx)("img",{alt:a,src:t,className:"h-8 w-auto"})]}),(0,M.jsxs)("button",{type:"button",onClick:()=>o(!1),className:"-m-2.5 rounded-md l-2.5 text-gray-700 outline-none",children:[(0,M.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,M.jsx)(v.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,M.jsx)("div",{className:"mt-6 flow-root",children:(0,M.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,M.jsx)("div",{className:"space-y-2 py-6",children:s.map(n=>(0,M.jsx)(L,{...n},n.name))})})})]})]})]})}function L({name:a,items:t,actions:s,href:i}){return!t&&i?(0,M.jsx)("a",{href:i,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:a}):(0,M.jsxs)(l.Disclosure,{as:"div",className:"-mx-3",children:[(0,M.jsx)(l.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:a}),(0,M.jsx)(l.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(o=>(0,M.jsx)(l.DisclosureButton,{as:"a",href:o.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:o.name},o.name))})]})}var F={title:"Header/SimpleHeader",component:S},W=a=>(0,M.jsx)(y,{iconName:"github",type:"brands",...a}),Y={args:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:v.ChartPieIcon},{name:"Engagement",description:"Interact with customers",href:"#",icon:v.CursorArrowRaysIcon},{name:"Security",description:"Protect your data",href:"#",icon:v.FingerPrintIcon}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:v.ChartPieIcon},{name:"API Reference",href:"#",icon:v.CursorArrowRaysIcon},{name:"Github",href:"#",icon:W}],actions:[{name:"Watch demo",href:"#",icon:g.PlayCircleIcon},{name:"Contact sales",href:"#",icon:g.PhoneIcon},{name:"View all products",href:"#",icon:g.RectangleGroupIcon}]},{name:"Company",href:"#"}]}};0&&(module.exports={Primary});
@@ -1 +1 @@
1
- import{a as o}from"../../chunk-343CWVUF.mjs";import"../../chunk-HGT54DGN.mjs";import{a as e}from"../../chunk-SABHLBUI.mjs";import"../../chunk-D2WXBUVJ.mjs";import{ChartPieIcon as r,CursorArrowRaysIcon as t,FingerPrintIcon as a}from"@heroicons/react/24/outline";import{PhoneIcon as i,PlayCircleIcon as c,RectangleGroupIcon as m}from"@heroicons/react/20/solid";import{jsx as s}from"react/jsx-runtime";var l={title:"Header/SimpleHeader",component:o},p=n=>s(e,{iconName:"github",type:"brands",...n}),u={args:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:r},{name:"Engagement",description:"Interact with customers",href:"#",icon:t},{name:"Security",description:"Protect your data",href:"#",icon:a}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:r},{name:"API Reference",href:"#",icon:t},{name:"Github",href:"#",icon:p}],actions:[{name:"Watch demo",href:"#",icon:c},{name:"Contact sales",href:"#",icon:i},{name:"View all products",href:"#",icon:m}]},{name:"Company",href:"#"}]}};export{u as Primary,l as default};
1
+ import{a as o}from"../../chunk-SYVKYRZO.mjs";import"../../chunk-3U4TZZH4.mjs";import{a as e}from"../../chunk-SFLOMJ2U.mjs";import"../../chunk-D2WXBUVJ.mjs";import{ChartPieIcon as r,CursorArrowRaysIcon as t,FingerPrintIcon as a}from"@heroicons/react/24/outline";import{PhoneIcon as i,PlayCircleIcon as c,RectangleGroupIcon as m}from"@heroicons/react/20/solid";import{jsx as s}from"react/jsx-runtime";var l={title:"Header/SimpleHeader",component:o},p=n=>s(e,{iconName:"github",type:"brands",...n}),u={args:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:r},{name:"Engagement",description:"Interact with customers",href:"#",icon:t},{name:"Security",description:"Protect your data",href:"#",icon:a}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:r},{name:"API Reference",href:"#",icon:t},{name:"Github",href:"#",icon:p}],actions:[{name:"Watch demo",href:"#",icon:c},{name:"Contact sales",href:"#",icon:i},{name:"View all products",href:"#",icon:m}]},{name:"Company",href:"#"}]}};export{u as Primary,l as default};