cortex-react-components 1.16.2 → 1.17.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.
- package/dist/{chunk-WASENCYA.mjs → chunk-343CWVUF.mjs} +1 -1
- package/dist/chunk-52UEE46P.mjs +1 -0
- package/dist/{chunk-E7J5XS32.mjs → chunk-5M4ELXL3.mjs} +1 -1
- package/dist/{chunk-QETNP6ST.mjs → chunk-6MWJ4LJP.mjs} +1 -1
- package/dist/{chunk-TM4ETY55.mjs → chunk-ERWTLUYM.mjs} +1 -1
- package/dist/{chunk-HKHLTISI.mjs → chunk-G3JKNT32.mjs} +1 -1
- package/dist/chunk-H2JWQHUC.mjs +4 -0
- package/dist/chunk-HGT54DGN.mjs +1 -0
- package/dist/chunk-J3CPOHE6.mjs +1 -0
- package/dist/chunk-KML6U7IE.mjs +1 -0
- package/dist/chunk-MMBUMBDU.mjs +1 -0
- package/dist/chunk-NV7LUI3U.mjs +4 -0
- package/dist/{chunk-RFWJV4YU.mjs → chunk-PMSQWXAT.mjs} +1 -1
- package/dist/{chunk-4LYK6VPP.mjs → chunk-QCZZL6MD.mjs} +1 -1
- package/dist/{chunk-SXONQUDJ.mjs → chunk-QRV2F2XT.mjs} +1 -1
- package/dist/{chunk-ID2MGE2G.mjs → chunk-WASMU2IJ.mjs} +1 -1
- package/dist/{chunk-WZMQHIAK.mjs → chunk-XS2GYYRB.mjs} +1 -1
- package/dist/chunk-Y7INXZZZ.mjs +1 -0
- package/dist/chunk-YLVDYTR5.mjs +1 -0
- package/dist/common-types.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.js +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.stories.js +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.js +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.stories.js +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.stories.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.js +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.js +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Pages/Documentation.js +1 -1
- package/dist/components/Pages/Documentation.mjs +1 -1
- package/dist/components/Pages/Documentation.stories.js +9 -9
- package/dist/components/Pages/Documentation.stories.mjs +1 -1
- package/dist/components/Pages/IndexPage.js +1 -1
- package/dist/components/Pages/IndexPage.mjs +1 -1
- package/dist/components/Pages/IndexPage.stories.js +9 -9
- package/dist/components/Pages/IndexPage.stories.mjs +1 -1
- package/dist/components/Pages/Intranet.js +1 -1
- package/dist/components/Pages/Intranet.mjs +1 -1
- package/dist/components/Pages/Intranet.stories.js +1 -1
- package/dist/components/Pages/Intranet.stories.mjs +1 -1
- package/dist/components/Pages/LandingPage.js +1 -1
- package/dist/components/Pages/LandingPage.mjs +1 -1
- package/dist/components/Pages/LandingPage.stories.js +9 -9
- package/dist/components/Pages/LandingPage.stories.mjs +1 -1
- package/dist/components/Pages/Page.js +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.js +9 -9
- package/dist/components/Pages/Page.stories.mjs +1 -1
- package/dist/components/Pages/Website.js +1 -1
- package/dist/components/Pages/Website.mjs +1 -1
- package/dist/components/Pages/Website.stories.js +9 -9
- package/dist/components/Pages/Website.stories.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/inputs/common/styles/index.d.ts +3 -0
- package/dist/components/ui/inputs/common/styles/index.js +1 -0
- package/dist/components/ui/inputs/common/styles/index.mjs +1 -0
- package/dist/components/ui/inputs/text-input/index.d.ts +6 -0
- package/dist/components/ui/inputs/text-input/index.js +1 -0
- package/dist/components/ui/inputs/text-input/index.mjs +1 -0
- package/dist/components/ui/inputs/textarea-input/index.d.ts +6 -0
- package/dist/components/ui/inputs/textarea-input/index.js +1 -0
- package/dist/components/ui/inputs/textarea-input/index.mjs +1 -0
- package/dist/globals.css +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/sections/ContactSection.d.ts +20 -0
- package/dist/sections/ContactSection.js +5 -0
- package/dist/sections/ContactSection.mjs +1 -0
- package/dist/sections/ContactSection.stories.js +5 -0
- package/dist/sections/ContactSection.stories.mjs +1 -0
- package/dist/sections/PricingSection.js +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/form/index.d.ts +15 -0
- package/dist/sections/form/index.js +5 -0
- package/dist/sections/form/index.mjs +2 -0
- package/dist/sections/form/server/contact-us-form-submit.d.ts +3 -0
- package/dist/sections/form/server/contact-us-form-submit.js +4 -0
- package/dist/sections/form/server/contact-us-form-submit.mjs +2 -0
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +7 -3
- package/dist/chunk-7ZPEE4NV.mjs +0 -1
- package/dist/chunk-LZII3MF4.mjs +0 -1
|
@@ -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.jsxs)("a",{href:o,className:"relative inline-block text-sm font-semibold text-foreground group",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.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 bg-accent/30 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 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 bg-accent/30 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});
|
|
@@ -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-
|
|
1
|
+
import{a as t}from"../../chunk-WU3JMLSC.mjs";import{a as r}from"../../chunk-BZAYEKYC.mjs";import{a as o}from"../../chunk-G3JKNT32.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 +1 @@
|
|
|
1
|
-
"use strict";var i=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var m=(t
|
|
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 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-HGT54DGN.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,
|
|
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});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"../../chunk-
|
|
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,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.
|
|
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});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../../chunk-
|
|
2
|
+
"use strict";import{a}from"../../chunk-343CWVUF.mjs";import"../../chunk-HGT54DGN.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.
|
|
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});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"../../chunk-
|
|
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};
|