cortex-react-components 1.13.2 → 1.14.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-7MBZWYVZ.mjs → chunk-2TRTWLYQ.mjs} +1 -1
- package/dist/chunk-2TUFZ5F2.mjs +1 -0
- package/dist/{chunk-IE2A7UT3.mjs → chunk-4VDJWCUB.mjs} +1 -1
- package/dist/{chunk-T65VI4KP.mjs → chunk-7HXLV6HY.mjs} +1 -1
- package/dist/{chunk-D43ENVPX.mjs → chunk-AFA6LBJ4.mjs} +1 -1
- package/dist/{chunk-O6V6PM4N.mjs → chunk-AI5N2Y4J.mjs} +1 -1
- package/dist/{chunk-ZMWC7QQ2.mjs → chunk-BHOXIHF5.mjs} +1 -1
- package/dist/chunk-DSDA2A36.mjs +1 -0
- package/dist/{chunk-OJHVOO35.mjs → chunk-HF5QFKZN.mjs} +1 -1
- package/dist/chunk-J4ZQHU4H.mjs +4 -0
- package/dist/{chunk-XTQ4VQZP.mjs → chunk-VNZFZ7OK.mjs} +1 -1
- package/dist/chunk-WXBLWYPX.mjs +1 -0
- package/dist/{chunk-FEBVOLWP.mjs → chunk-XJ5SM5CG.mjs} +1 -1
- package/dist/{chunk-CQHNH3XJ.mjs → chunk-YQKBTKGD.mjs} +1 -1
- package/dist/{chunk-YOB6PYJG.mjs → chunk-ZZQ23EGP.mjs} +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/BrandLogo.d.ts +2 -1
- package/dist/components/HeaderFooter/BrandLogo.js +1 -1
- package/dist/components/HeaderFooter/BrandLogo.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.js +1 -1
- package/dist/components/HeaderFooter/Footer.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.stories.js +1 -1
- package/dist/components/HeaderFooter/Footer.stories.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/HeaderMobile.d.ts +11 -0
- package/dist/components/HeaderFooter/HeaderMobile.js +4 -0
- package/dist/components/HeaderFooter/HeaderMobile.mjs +2 -0
- package/dist/components/HeaderFooter/HeaderMobile.stories.js +4 -0
- package/dist/components/HeaderFooter/HeaderMobile.stories.mjs +1 -0
- package/dist/components/HeaderFooter/VideoHeader.js +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.d.ts +1 -0
- package/dist/components/HeaderFooter/index.js +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.d.ts +2 -1
- package/dist/components/Heros/SectionHero/index.js +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.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.mjs +1 -1
- package/dist/components/Pages/Documentation.stories.mjs +1 -1
- package/dist/components/Pages/IndexPage.mjs +1 -1
- package/dist/components/Pages/IndexPage.stories.mjs +1 -1
- package/dist/components/Pages/Intranet.mjs +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 +18 -18
- package/dist/components/Pages/LandingPage.stories.mjs +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- 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 +204 -204
- package/dist/components/Pages/Website.stories.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +4 -4
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/images/hero/hero-3.mjs +1 -1
- package/dist/index.js +4 -4
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-7GHS5JRC.mjs +0 -1
- package/dist/chunk-BTYSHCEW.mjs +0 -1
- package/dist/chunk-FSXB4EFA.mjs +0 -1
- package/dist/chunk-X6QN5C6U.mjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var Se=Object.create;var H=Object.defineProperty;var ze=Object.getOwnPropertyDescriptor;var Ie=Object.getOwnPropertyNames;var Ge=Object.getPrototypeOf,Re=Object.prototype.hasOwnProperty;var Pe=(e,t)=>{for(var r in t)H(e,r,{get:t[r],enumerable:!0})},ne=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ie(t))!Re.call(e,a)&&a!==r&&H(e,a,{get:()=>t[a],enumerable:!(o=ze(t,a))||o.enumerable});return e};var se=(e,t,r)=>(r=e!=null?Se(Ge(e)):{},ne(t||!e||!e.__esModule?H(r,"default",{value:e,enumerable:!0}):r,e)),Te=e=>ne(H({},"__esModule",{value:!0}),e);var gt={};Pe(gt,{Default:()=>Ce,default:()=>pt});module.exports=Te(gt);var P=require("react");var be=require("clsx");var Y="-",Me=e=>{let t=Fe(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{let s=l.split(Y);return s[0]===""&&s.length!==1&&s.shift(),ie(s,t)||Le(l)},getConflictingClassGroupIds:(l,s)=>{let g=r[l]||[];return s&&o[l]?[...g,...o[l]]:g}}},ie=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?ie(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let n=e.join(Y);return(l=t.validators.find(({validator:s})=>s(n)))==null?void 0:l.classGroupId},ae=/^\[(.+)\]$/,Le=e=>{if(ae.test(e)){let t=ae.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Fe=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return Ae(Object.entries(e.classGroups),r).forEach(([n,l])=>{V(l,o,n,t)}),o},V=(e,t,r,o)=>{e.forEach(a=>{if(typeof a=="string"){let n=a===""?t:le(t,a);n.classGroupId=r;return}if(typeof a=="function"){if(Ee(a)){V(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([n,l])=>{V(l,le(t,n),r,o)})})},le=(e,t)=>{let r=e;return t.split(Y).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Ee=e=>e.isThemeGetter,Ae=(e,t)=>t?e.map(([r,o])=>{let a=o.map(n=>typeof n=="string"?t+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([l,s])=>[t+l,s])):n);return[r,a]}):e,Je=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,a=(n,l)=>{r.set(n,l),t++,t>e&&(t=0,o=r,r=new Map)};return{get(n){let l=r.get(n);if(l!==void 0)return l;if((l=o.get(n))!==void 0)return a(n,l),l},set(n,l){r.has(n)?r.set(n,l):a(n,l)}}},ce="!",De=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,a=t[0],n=t.length,l=s=>{let g=[],d=0,f=0,y;for(let b=0;b<s.length;b++){let h=s[b];if(d===0){if(h===a&&(o||s.slice(b,b+n)===t)){g.push(s.slice(f,b)),f=b+n;continue}if(h==="/"){y=b;continue}}h==="["?d++:h==="]"&&d--}let w=g.length===0?s:s.substring(f),k=w.startsWith(ce),v=k?w.substring(1):w,m=y&&y>f?y-f:void 0;return{modifiers:g,hasImportantModifier:k,baseClassName:v,maybePostfixModifierPosition:m}};return r?s=>r({className:s,parseClassName:l}):l},He=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},Be=e=>({cache:Je(e.cacheSize),parseClassName:De(e),...Me(e)}),_e=/\s+/,Oe=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,n=[],l=e.trim().split(_e),s="";for(let g=l.length-1;g>=0;g-=1){let d=l[g],{modifiers:f,hasImportantModifier:y,baseClassName:w,maybePostfixModifierPosition:k}=r(d),v=!!k,m=o(v?w.substring(0,k):w);if(!m){if(!v){s=d+(s.length>0?" "+s:s);continue}if(m=o(w),!m){s=d+(s.length>0?" "+s:s);continue}v=!1}let b=He(f).join(":"),h=y?b+ce:b,x=h+m;if(n.includes(x))continue;n.push(x);let T=a(m,v);for(let I=0;I<T.length;++I){let A=T[I];n.push(h+A)}s=d+(s.length>0?" "+s:s)}return s};function Ue(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=de(t))&&(o&&(o+=" "),o+=r);return o}var de=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=de(e[o]))&&(r&&(r+=" "),r+=t);return r};function Xe(e,...t){let r,o,a,n=l;function l(g){let d=t.reduce((f,y)=>y(f),e());return r=Be(d),o=r.cache.get,a=r.cache.set,n=s,s(g)}function s(g){let d=o(g);if(d)return d;let f=Oe(g,r);return a(g,f),f}return function(){return n(Ue.apply(null,arguments))}}var p=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},pe=/^\[(?:([a-z-]+):)?(.+)\]$/i,We=/^\d+\/\d+$/,Ve=new Set(["px","full","screen"]),Ye=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,je=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,$e=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ke=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,qe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N=e=>G(e)||Ve.has(e)||We.test(e),S=e=>R(e,"length",st),G=e=>!!e&&!Number.isNaN(Number(e)),W=e=>R(e,"number",G),L=e=>!!e&&Number.isInteger(Number(e)),Qe=e=>e.endsWith("%")&&G(e.slice(0,-1)),i=e=>pe.test(e),z=e=>Ye.test(e),Ze=new Set(["length","size","percentage"]),et=e=>R(e,Ze,ue),tt=e=>R(e,"position",ue),rt=new Set(["image","url"]),ot=e=>R(e,rt,lt),nt=e=>R(e,"",at),F=()=>!0,R=(e,t,r)=>{let o=pe.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},st=e=>je.test(e)&&!$e.test(e),ue=()=>!1,at=e=>Ke.test(e),lt=e=>qe.test(e);var it=()=>{let e=p("colors"),t=p("spacing"),r=p("blur"),o=p("brightness"),a=p("borderColor"),n=p("borderRadius"),l=p("borderSpacing"),s=p("borderWidth"),g=p("contrast"),d=p("grayscale"),f=p("hueRotate"),y=p("invert"),w=p("gap"),k=p("gradientColorStops"),v=p("gradientColorStopPositions"),m=p("inset"),b=p("margin"),h=p("opacity"),x=p("padding"),T=p("saturate"),I=p("scale"),A=p("sepia"),q=p("skew"),Q=p("space"),Z=p("translate"),_=()=>["auto","contain","none"],O=()=>["auto","hidden","clip","visible","scroll"],U=()=>["auto",i,t],u=()=>[i,t],ee=()=>["",N,S],J=()=>["auto",G,i],te=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],D=()=>["solid","dashed","dotted","double","none"],re=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],X=()=>["start","end","center","between","around","evenly","stretch"],M=()=>["","0",i],oe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>[G,i];return{cacheSize:500,separator:":",theme:{colors:[F],spacing:[N,S],blur:["none","",z,i],brightness:C(),borderColor:[e],borderRadius:["none","","full",z,i],borderSpacing:u(),borderWidth:ee(),contrast:C(),grayscale:M(),hueRotate:C(),invert:M(),gap:u(),gradientColorStops:[e],gradientColorStopPositions:[Qe,S],inset:U(),margin:U(),opacity:C(),padding:u(),saturate:C(),scale:C(),sepia:M(),skew:C(),space:u(),translate:u()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[z]}],"break-after":[{"break-after":oe()}],"break-before":[{"break-before":oe()}],"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:[...te(),i]}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:_()}],"overscroll-x":[{"overscroll-x":_()}],"overscroll-y":[{"overscroll-y":_()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",L,i]}],basis:[{basis:U()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:M()}],shrink:[{shrink:M()}],order:[{order:["first","last","none",L,i]}],"grid-cols":[{"grid-cols":[F]}],"col-start-end":[{col:["auto",{span:["full",L,i]},i]}],"col-start":[{"col-start":J()}],"col-end":[{"col-end":J()}],"grid-rows":[{"grid-rows":[F]}],"row-start-end":[{row:["auto",{span:[L,i]},i]}],"row-start":[{"row-start":J()}],"row-end":[{"row-end":J()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...X()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...X(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...X(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[Q]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Q]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[z]},z]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",z,S]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",W]}],"font-family":[{font:[F]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",G,W]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",N,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...D(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",N,S]}],"underline-offset":[{"underline-offset":["auto",N,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:u()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...te(),tt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",et]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ot]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...D(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:D()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...D()]}],"outline-offset":[{"outline-offset":[N,i]}],"outline-w":[{outline:[N,S]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ee()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[N,S]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",z,nt]}],"shadow-color":[{shadow:[F]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...re(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":re()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[g]}],"drop-shadow":[{"drop-shadow":["","none",z,i]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[y]}],saturate:[{saturate:[T]}],sepia:[{sepia:[A]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[g]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"backdrop-sepia":[{"backdrop-sepia":[A]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:C()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:C()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[I]}],"scale-x":[{"scale-x":[I]}],"scale-y":[{"scale-y":[I]}],rotate:[{rotate:[L,i]}],"translate-x":[{"translate-x":[Z]}],"translate-y":[{"translate-y":[Z]}],"skew-x":[{"skew-x":[q]}],"skew-y":[{"skew-y":[q]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":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",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[N,S,W]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ge=Xe(it);function j(...e){return ge((0,be.clsx)(e))}var fe=require("react/jsx-runtime");function me({children:e,isFluid:t=!1,isNoPadding:r=!1,className:o=""}){let a=j("container",t&&"full-width",r&&"no-padding",o);return(0,fe.jsx)("div",{className:a,children:e})}var he=se(require("next/link"));function xe({children:e,href:t,openNewTab:r,...o}){return(0,fe.jsx)(he.default,{href:t,target:r?"_blank":"_self",...o,children:e})}var $=se(require("next/image"));function we({logoLight:e,logoDark:t}){return(0,fe.jsxs)(xe,{href:"/",className:"py-2",children:[(0,fe.jsx)($.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:"200px",height:"auto"}}),(0,fe.jsx)($.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"200px",height:"auto"}})]})}var B=require("lucide-react");function K({isMenuOpen:e,logoLight:t,logoDark:r}){let[o,a]=(0,P.useState)(!1),[n,l]=(0,P.useState)("light"),s=["light","dark"];(0,P.useEffect)(()=>{let d=localStorage.getItem("theme")||"light";console.log("storedTheme",d),l(d),document.documentElement.setAttribute("class",d)},[]);let g=()=>{let d=s[(s.indexOf(n)+1)%s.length];l(d),document.documentElement.setAttribute("class",d),localStorage.setItem("theme",d)};return(0,P.useEffect)(()=>{let d=()=>{window.scrollY>100?a(!0):a(!1)};return window.addEventListener("scroll",d,{passive:!0}),()=>window.removeEventListener("scroll",d)},[]),(0,fe.jsx)(fe.Fragment,{children:(0,fe.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${o||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,fe.jsx)(me,{className:"px-0",children:(0,fe.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,fe.jsxs)("div",{className:"flex items-center justify-between bg-accent px-9 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] rounded-b-xl dark:border dark:border-accent",children:[(0,fe.jsx)(we,{logoDark:r,logoLight:t}),(0,fe.jsxs)("ul",{className:"flex items-center justify-center flex-grow space-x-8 text-md",children:[(0,fe.jsx)("li",{children:(0,fe.jsxs)("a",{href:"/services",className:"relative transition-colors group",children:["Services",(0,fe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,fe.jsx)("li",{children:(0,fe.jsxs)("a",{href:"/insights",className:"relative transition-colors group",children:["Insights",(0,fe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,fe.jsx)("li",{children:(0,fe.jsxs)("a",{href:"/about",className:"relative transition-colors group",children:["About Us",(0,fe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,fe.jsx)("li",{children:(0,fe.jsxs)("a",{href:"/contact",className:"relative transition-colors group",children:["Contact",(0,fe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})})]}),(0,fe.jsx)("div",{className:"flex items-center space-x-4",children:(0,fe.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:g,children:(0,fe.jsxs)("div",{className:"relative",children:[(0,fe.jsx)(B.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,fe.jsx)(B.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var ve="../../cortex-reply-light-27IMI3G7.png";var ke="../../cortex-reply-dark-XPAJJJYY.png";var pt={title:"Header/HeaderDesktop",component:K,parameters:{docs:{description:{component:"A header component for desktop view with a scroll effect and menu toggle."}}},argTypes:{isMenuOpen:{control:"boolean"}}},ut=e=>(0,fe.jsx)(K,{...e}),Ce=ut.bind({});Ce.args={isMenuOpen:!0,logoDark:ke,logoLight:ve};0&&(module.exports={Default});
|
|
4
|
+
"use strict";var Se=Object.create;var B=Object.defineProperty;var ze=Object.getOwnPropertyDescriptor;var Ie=Object.getOwnPropertyNames;var Ge=Object.getPrototypeOf,Re=Object.prototype.hasOwnProperty;var Pe=(e,t)=>{for(var r in t)B(e,r,{get:t[r],enumerable:!0})},ne=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ie(t))!Re.call(e,a)&&a!==r&&B(e,a,{get:()=>t[a],enumerable:!(o=ze(t,a))||o.enumerable});return e};var se=(e,t,r)=>(r=e!=null?Se(Ge(e)):{},ne(t||!e||!e.__esModule?B(r,"default",{value:e,enumerable:!0}):r,e)),Te=e=>ne(B({},"__esModule",{value:!0}),e);var gt={};Pe(gt,{Default:()=>Ce,default:()=>pt});module.exports=Te(gt);var P=require("react");var be=require("clsx");var j="-",Me=e=>{let t=Fe(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{let s=l.split(j);return s[0]===""&&s.length!==1&&s.shift(),ie(s,t)||Le(l)},getConflictingClassGroupIds:(l,s)=>{let g=r[l]||[];return s&&o[l]?[...g,...o[l]]:g}}},ie=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?ie(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let n=e.join(j);return(l=t.validators.find(({validator:s})=>s(n)))==null?void 0:l.classGroupId},ae=/^\[(.+)\]$/,Le=e=>{if(ae.test(e)){let t=ae.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Fe=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return Ae(Object.entries(e.classGroups),r).forEach(([n,l])=>{Y(l,o,n,t)}),o},Y=(e,t,r,o)=>{e.forEach(a=>{if(typeof a=="string"){let n=a===""?t:le(t,a);n.classGroupId=r;return}if(typeof a=="function"){if(Ee(a)){Y(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([n,l])=>{Y(l,le(t,n),r,o)})})},le=(e,t)=>{let r=e;return t.split(j).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Ee=e=>e.isThemeGetter,Ae=(e,t)=>t?e.map(([r,o])=>{let a=o.map(n=>typeof n=="string"?t+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([l,s])=>[t+l,s])):n);return[r,a]}):e,Je=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,a=(n,l)=>{r.set(n,l),t++,t>e&&(t=0,o=r,r=new Map)};return{get(n){let l=r.get(n);if(l!==void 0)return l;if((l=o.get(n))!==void 0)return a(n,l),l},set(n,l){r.has(n)?r.set(n,l):a(n,l)}}},ce="!",De=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,a=t[0],n=t.length,l=s=>{let g=[],d=0,f=0,y;for(let b=0;b<s.length;b++){let h=s[b];if(d===0){if(h===a&&(o||s.slice(b,b+n)===t)){g.push(s.slice(f,b)),f=b+n;continue}if(h==="/"){y=b;continue}}h==="["?d++:h==="]"&&d--}let w=g.length===0?s:s.substring(f),k=w.startsWith(ce),v=k?w.substring(1):w,m=y&&y>f?y-f:void 0;return{modifiers:g,hasImportantModifier:k,baseClassName:v,maybePostfixModifierPosition:m}};return r?s=>r({className:s,parseClassName:l}):l},He=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},Be=e=>({cache:Je(e.cacheSize),parseClassName:De(e),...Me(e)}),_e=/\s+/,Oe=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,n=[],l=e.trim().split(_e),s="";for(let g=l.length-1;g>=0;g-=1){let d=l[g],{modifiers:f,hasImportantModifier:y,baseClassName:w,maybePostfixModifierPosition:k}=r(d),v=!!k,m=o(v?w.substring(0,k):w);if(!m){if(!v){s=d+(s.length>0?" "+s:s);continue}if(m=o(w),!m){s=d+(s.length>0?" "+s:s);continue}v=!1}let b=He(f).join(":"),h=y?b+ce:b,x=h+m;if(n.includes(x))continue;n.push(x);let T=a(m,v);for(let I=0;I<T.length;++I){let J=T[I];n.push(h+J)}s=d+(s.length>0?" "+s:s)}return s};function Ue(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=de(t))&&(o&&(o+=" "),o+=r);return o}var de=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=de(e[o]))&&(r&&(r+=" "),r+=t);return r};function Xe(e,...t){let r,o,a,n=l;function l(g){let d=t.reduce((f,y)=>y(f),e());return r=Be(d),o=r.cache.get,a=r.cache.set,n=s,s(g)}function s(g){let d=o(g);if(d)return d;let f=Oe(g,r);return a(g,f),f}return function(){return n(Ue.apply(null,arguments))}}var p=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},pe=/^\[(?:([a-z-]+):)?(.+)\]$/i,We=/^\d+\/\d+$/,Ve=new Set(["px","full","screen"]),Ye=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,je=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,$e=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ke=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,qe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N=e=>G(e)||Ve.has(e)||We.test(e),S=e=>R(e,"length",st),G=e=>!!e&&!Number.isNaN(Number(e)),V=e=>R(e,"number",G),L=e=>!!e&&Number.isInteger(Number(e)),Qe=e=>e.endsWith("%")&&G(e.slice(0,-1)),i=e=>pe.test(e),z=e=>Ye.test(e),Ze=new Set(["length","size","percentage"]),et=e=>R(e,Ze,ue),tt=e=>R(e,"position",ue),rt=new Set(["image","url"]),ot=e=>R(e,rt,lt),nt=e=>R(e,"",at),F=()=>!0,R=(e,t,r)=>{let o=pe.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},st=e=>je.test(e)&&!$e.test(e),ue=()=>!1,at=e=>Ke.test(e),lt=e=>qe.test(e);var it=()=>{let e=p("colors"),t=p("spacing"),r=p("blur"),o=p("brightness"),a=p("borderColor"),n=p("borderRadius"),l=p("borderSpacing"),s=p("borderWidth"),g=p("contrast"),d=p("grayscale"),f=p("hueRotate"),y=p("invert"),w=p("gap"),k=p("gradientColorStops"),v=p("gradientColorStopPositions"),m=p("inset"),b=p("margin"),h=p("opacity"),x=p("padding"),T=p("saturate"),I=p("scale"),J=p("sepia"),q=p("skew"),Q=p("space"),Z=p("translate"),O=()=>["auto","contain","none"],U=()=>["auto","hidden","clip","visible","scroll"],X=()=>["auto",i,t],u=()=>[i,t],ee=()=>["",N,S],D=()=>["auto",G,i],te=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],H=()=>["solid","dashed","dotted","double","none"],re=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],W=()=>["start","end","center","between","around","evenly","stretch"],M=()=>["","0",i],oe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>[G,i];return{cacheSize:500,separator:":",theme:{colors:[F],spacing:[N,S],blur:["none","",z,i],brightness:C(),borderColor:[e],borderRadius:["none","","full",z,i],borderSpacing:u(),borderWidth:ee(),contrast:C(),grayscale:M(),hueRotate:C(),invert:M(),gap:u(),gradientColorStops:[e],gradientColorStopPositions:[Qe,S],inset:X(),margin:X(),opacity:C(),padding:u(),saturate:C(),scale:C(),sepia:M(),skew:C(),space:u(),translate:u()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[z]}],"break-after":[{"break-after":oe()}],"break-before":[{"break-before":oe()}],"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:[...te(),i]}],overflow:[{overflow:U()}],"overflow-x":[{"overflow-x":U()}],"overflow-y":[{"overflow-y":U()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",L,i]}],basis:[{basis:X()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:M()}],shrink:[{shrink:M()}],order:[{order:["first","last","none",L,i]}],"grid-cols":[{"grid-cols":[F]}],"col-start-end":[{col:["auto",{span:["full",L,i]},i]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[F]}],"row-start-end":[{row:["auto",{span:[L,i]},i]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...W()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...W(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...W(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[Q]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Q]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[z]},z]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",z,S]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",V]}],"font-family":[{font:[F]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",G,V]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",N,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...H(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",N,S]}],"underline-offset":[{"underline-offset":["auto",N,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:u()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...te(),tt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",et]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ot]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...H(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:H()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...H()]}],"outline-offset":[{"outline-offset":[N,i]}],"outline-w":[{outline:[N,S]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ee()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[N,S]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",z,nt]}],"shadow-color":[{shadow:[F]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...re(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":re()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[g]}],"drop-shadow":[{"drop-shadow":["","none",z,i]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[y]}],saturate:[{saturate:[T]}],sepia:[{sepia:[J]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[g]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"backdrop-sepia":[{"backdrop-sepia":[J]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:C()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:C()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[I]}],"scale-x":[{"scale-x":[I]}],"scale-y":[{"scale-y":[I]}],rotate:[{rotate:[L,i]}],"translate-x":[{"translate-x":[Z]}],"translate-y":[{"translate-y":[Z]}],"skew-x":[{"skew-x":[q]}],"skew-y":[{"skew-y":[q]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":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",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[N,S,V]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ge=Xe(it);function E(...e){return ge((0,be.clsx)(e))}var fe=require("react/jsx-runtime");function me({children:e,isFluid:t=!1,isNoPadding:r=!1,className:o=""}){let a=E("container",t&&"full-width",r&&"no-padding",o);return(0,fe.jsx)("div",{className:a,children:e})}var he=se(require("next/link"));function xe({children:e,href:t,openNewTab:r,...o}){return(0,fe.jsx)(he.default,{href:t,target:r?"_blank":"_self",...o,children:e})}var $=se(require("next/image"));function we({logoLight:e,logoDark:t,mobile:r=!1}){return(0,fe.jsxs)(xe,{href:"/",className:E(r?"py-1":"py-2"),children:[(0,fe.jsx)($.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:{height:"auto"}}),(0,fe.jsx)($.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}})]})}var _=require("lucide-react");function K({isMenuOpen:e,logoLight:t,logoDark:r}){let[o,a]=(0,P.useState)(!1),[n,l]=(0,P.useState)("light"),s=["light","dark"];(0,P.useEffect)(()=>{let d=localStorage.getItem("theme")||"light";console.log("storedTheme",d),l(d),document.documentElement.setAttribute("class",d)},[]);let g=()=>{let d=s[(s.indexOf(n)+1)%s.length];l(d),document.documentElement.setAttribute("class",d),localStorage.setItem("theme",d)};return(0,P.useEffect)(()=>{let d=()=>{window.scrollY>100?a(!0):a(!1)};return window.addEventListener("scroll",d,{passive:!0}),()=>window.removeEventListener("scroll",d)},[]),(0,fe.jsx)(fe.Fragment,{children:(0,fe.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${o||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,fe.jsx)(me,{className:"px-0",children:(0,fe.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,fe.jsxs)("div",{className:"flex items-center justify-between bg-accent px-9 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] rounded-b-xl dark:border dark:border-accent",children:[(0,fe.jsx)(we,{logoDark:r,logoLight:t}),(0,fe.jsxs)("ul",{className:"flex items-center justify-center flex-grow space-x-8 text-md",children:[(0,fe.jsx)("li",{children:(0,fe.jsxs)("a",{href:"/services",className:"relative transition-colors group",children:["Services",(0,fe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,fe.jsx)("li",{children:(0,fe.jsxs)("a",{href:"/insights",className:"relative transition-colors group",children:["Insights",(0,fe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,fe.jsx)("li",{children:(0,fe.jsxs)("a",{href:"/about",className:"relative transition-colors group",children:["About Us",(0,fe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,fe.jsx)("li",{children:(0,fe.jsxs)("a",{href:"/contact",className:"relative transition-colors group",children:["Contact",(0,fe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})})]}),(0,fe.jsx)("div",{className:"flex items-center space-x-4",children:(0,fe.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:g,children:(0,fe.jsxs)("div",{className:"relative",children:[(0,fe.jsx)(_.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,fe.jsx)(_.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var ve="../../cortex-reply-light-27IMI3G7.png";var ke="../../cortex-reply-dark-XPAJJJYY.png";var pt={title:"Header/HeaderDesktop",component:K,parameters:{docs:{description:{component:"fe header component for desktop view with a scroll effect and menu toggle."}}},argTypes:{isMenuOpen:{control:"boolean"}}},ut=e=>(0,fe.jsx)(K,{...e}),Ce=ut.bind({});Ce.args={isMenuOpen:!0,logoDark:ke,logoLight:ve};0&&(module.exports={Default});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"../../chunk-WU3JMLSC.mjs";import{a as t}from"../../chunk-BZAYEKYC.mjs";import{a as e}from"../../chunk-
|
|
1
|
+
import{a as o}from"../../chunk-WU3JMLSC.mjs";import{a as t}from"../../chunk-BZAYEKYC.mjs";import{a as e}from"../../chunk-VNZFZ7OK.mjs";import"../../chunk-2TUFZ5F2.mjs";import"../../chunk-UESKYRNK.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";import{jsx as n}from"react/jsx-runtime";var l={title:"Header/HeaderDesktop",component:e,parameters:{docs:{description:{component:"A header component for desktop view with a scroll effect and menu toggle."}}},argTypes:{isMenuOpen:{control:"boolean"}}},a=r=>n(e,{...r}),p=a.bind({});p.args={isMenuOpen:!0,logoDark:o,logoLight:t};export{p as Default,l as default};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type HeaderMenuProps } from './HeaderMenu';
|
|
2
|
+
import { type StaticImageData } from 'next/image';
|
|
3
|
+
interface SimpleHeaderProps {
|
|
4
|
+
title: string;
|
|
5
|
+
logoLight: StaticImageData;
|
|
6
|
+
logoDark: StaticImageData;
|
|
7
|
+
menuItems: HeaderMenuProps[];
|
|
8
|
+
isMenuOpen?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare function HeaderMobile({ title, logoLight, logoDark, menuItems, isMenuOpen }: SimpleHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
"use strict";"use client";var Me=Object.create;var V=Object.defineProperty;var Se=Object.getOwnPropertyDescriptor;var Ie=Object.getOwnPropertyNames;var Ae=Object.getPrototypeOf,Le=Object.prototype.hasOwnProperty;var Re=(e,t)=>{for(var r in t)V(e,r,{get:t[r],enumerable:!0})},ce=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Ie(t))!Le.call(e,s)&&s!==r&&V(e,s,{get:()=>t[s],enumerable:!(o=Se(t,s))||o.enumerable});return e};var de=(e,t,r)=>(r=e!=null?Me(Ae(e)):{},ce(t||!e||!e.__esModule?V(r,"default",{value:e,enumerable:!0}):r,e)),Te=e=>ce(V({},"__esModule",{value:!0}),e);var mt={};Re(mt,{HeaderMobile:()=>ut});module.exports=Te(mt);var I=require("react"),w=require("@headlessui/react"),G=require("@heroicons/react/24/outline"),B=require("@heroicons/react/20/solid");var g=require("react/jsx-runtime"),Ge=({name:e,items:t,actions:r=[],href:o})=>!t&&o?(0,g.jsxs)("a",{href:o,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,g.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,g.jsxs)(w.Popover,{children:[(0,g.jsxs)(w.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,g.jsxs)("span",{className:"relative",children:[e,(0,g.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,g.jsx)(B.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,g.jsxs)(w.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,g.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,g.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,g.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,g.jsx)(s.icon,{"aria-hidden":"true",size:"6x"})}),(0,g.jsxs)("a",{href:s.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[s.name,(0,g.jsx)("span",{className:"absolute inset-0"})]}),(0,g.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:s.description})]},s.name))}),r.length>0&&(0,g.jsx)("div",{className:"bg-gray-50",children:(0,g.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,g.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(s=>(0,g.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:[(0,g.jsx)(s.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),s.name]},s.name))})})})]})]}),ue=Ge;var me=de(require("next/link"));function ge({children:e,href:t,openNewTab:r,...o}){return(0,g.jsx)(me.default,{href:t,target:r?"_blank":"_self",...o,children:e})}var Q=de(require("next/image"));var Ce=require("clsx");var Z="-",Ee=e=>{let t=_e(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let l=i.split(Z);return l[0]===""&&l.length!==1&&l.shift(),xe(l,t)||De(i)},getConflictingClassGroupIds:(i,l)=>{let p=r[i]||[];return l&&o[i]?[...p,...o[i]]:p}}},xe=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),s=o?xe(e.slice(1),o):void 0;if(s)return s;if(t.validators.length===0)return;let a=e.join(Z);return(i=t.validators.find(({validator:l})=>l(a)))==null?void 0:i.classGroupId},fe=/^\[(.+)\]$/,De=e=>{if(fe.test(e)){let t=fe.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},_e=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return He(Object.entries(e.classGroups),r).forEach(([a,i])=>{K(i,o,a,t)}),o},K=(e,t,r,o)=>{e.forEach(s=>{if(typeof s=="string"){let a=s===""?t:he(t,s);a.classGroupId=r;return}if(typeof s=="function"){if(je(s)){K(s(o),t,r,o);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([a,i])=>{K(i,he(t,a),r,o)})})},he=(e,t)=>{let r=e;return t.split(Z).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},je=e=>e.isThemeGetter,He=(e,t)=>t?e.map(([r,o])=>{let s=o.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([i,l])=>[t+i,l])):a);return[r,s]}):e,Be=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,s=(a,i)=>{r.set(a,i),t++,t>e&&(t=0,o=r,r=new Map)};return{get(a){let i=r.get(a);if(i!==void 0)return i;if((i=o.get(a))!==void 0)return s(a,i),i},set(a,i){r.has(a)?r.set(a,i):s(a,i)}}},ye="!",We=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,s=t[0],a=t.length,i=l=>{let p=[],h=0,x=0,v;for(let b=0;b<l.length;b++){let y=l[b];if(h===0){if(y===s&&(o||l.slice(b,b+a)===t)){p.push(l.slice(x,b)),x=b+a;continue}if(y==="/"){v=b;continue}}y==="["?h++:y==="]"&&h--}let k=p.length===0?l:l.substring(x),N=k.startsWith(ye),d=N?k.substring(1):k,f=v&&v>x?v-x:void 0;return{modifiers:p,hasImportantModifier:N,baseClassName:d,maybePostfixModifierPosition:f}};return r?l=>r({className:l,parseClassName:i}):i},Ue=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},Oe=e=>({cache:Be(e.cacheSize),parseClassName:We(e),...Ee(e)}),Ve=/\s+/,$e=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:s}=t,a=[],i=e.trim().split(Ve),l="";for(let p=i.length-1;p>=0;p-=1){let h=i[p],{modifiers:x,hasImportantModifier:v,baseClassName:k,maybePostfixModifierPosition:N}=r(h),d=!!N,f=o(d?k.substring(0,N):k);if(!f){if(!d){l=h+(l.length>0?" "+l:l);continue}if(f=o(k),!f){l=h+(l.length>0?" "+l:l);continue}d=!1}let b=Ue(x).join(":"),y=v?b+ye:b,C=y+f;if(a.includes(C))continue;a.push(C);let E=s(f,d);for(let A=0;A<E.length;++A){let W=E[A];a.push(y+W)}l=h+(l.length>0?" "+l:l)}return l};function Fe(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ve(t))&&(o&&(o+=" "),o+=r);return o}var ve=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=ve(e[o]))&&(r&&(r+=" "),r+=t);return r};function Xe(e,...t){let r,o,s,a=i;function i(p){let h=t.reduce((x,v)=>v(x),e());return r=Oe(h),o=r.cache.get,s=r.cache.set,a=l,l(p)}function l(p){let h=o(p);if(h)return h;let x=$e(p,r);return s(p,x),x}return function(){return a(Fe.apply(null,arguments))}}var u=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},we=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ye=/^\d+\/\d+$/,qe=new Set(["px","full","screen"]),Je=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ke=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ze=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Qe=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,et=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,z=e=>R(e)||qe.has(e)||Ye.test(e),M=e=>T(e,"length",it),R=e=>!!e&&!Number.isNaN(Number(e)),J=e=>T(e,"number",R),_=e=>!!e&&Number.isInteger(Number(e)),tt=e=>e.endsWith("%")&&R(e.slice(0,-1)),c=e=>we.test(e),S=e=>Je.test(e),rt=new Set(["length","size","percentage"]),ot=e=>T(e,rt,ke),nt=e=>T(e,"position",ke),st=new Set(["image","url"]),at=e=>T(e,st,dt),lt=e=>T(e,"",ct),j=()=>!0,T=(e,t,r)=>{let o=we.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},it=e=>Ke.test(e)&&!Ze.test(e),ke=()=>!1,ct=e=>Qe.test(e),dt=e=>et.test(e);var pt=()=>{let e=u("colors"),t=u("spacing"),r=u("blur"),o=u("brightness"),s=u("borderColor"),a=u("borderRadius"),i=u("borderSpacing"),l=u("borderWidth"),p=u("contrast"),h=u("grayscale"),x=u("hueRotate"),v=u("invert"),k=u("gap"),N=u("gradientColorStops"),d=u("gradientColorStopPositions"),f=u("inset"),b=u("margin"),y=u("opacity"),C=u("padding"),E=u("saturate"),A=u("scale"),W=u("sepia"),re=u("skew"),oe=u("space"),ne=u("translate"),F=()=>["auto","contain","none"],X=()=>["auto","hidden","clip","visible","scroll"],Y=()=>["auto",c,t],m=()=>[c,t],se=()=>["",z,M],U=()=>["auto",R,c],ae=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],O=()=>["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"],q=()=>["start","end","center","between","around","evenly","stretch"],D=()=>["","0",c],ie=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>[R,c];return{cacheSize:500,separator:":",theme:{colors:[j],spacing:[z,M],blur:["none","",S,c],brightness:P(),borderColor:[e],borderRadius:["none","","full",S,c],borderSpacing:m(),borderWidth:se(),contrast:P(),grayscale:D(),hueRotate:P(),invert:D(),gap:m(),gradientColorStops:[e],gradientColorStopPositions:[tt,M],inset:Y(),margin:Y(),opacity:P(),padding:m(),saturate:P(),scale:P(),sepia:D(),skew:P(),space:m(),translate:m()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[S]}],"break-after":[{"break-after":ie()}],"break-before":[{"break-before":ie()}],"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(),c]}],overflow:[{overflow:X()}],"overflow-x":[{"overflow-x":X()}],"overflow-y":[{"overflow-y":X()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],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",_,c]}],basis:[{basis:Y()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",c]}],grow:[{grow:D()}],shrink:[{shrink:D()}],order:[{order:["first","last","none",_,c]}],"grid-cols":[{"grid-cols":[j]}],"col-start-end":[{col:["auto",{span:["full",_,c]},c]}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":[j]}],"row-start-end":[{row:["auto",{span:[_,c]},c]}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",c]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",c]}],gap:[{gap:[k]}],"gap-x":[{"gap-x":[k]}],"gap-y":[{"gap-y":[k]}],"justify-content":[{justify:["normal",...q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],B:[{B:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[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",c,t]}],"min-w":[{"min-w":[c,t,"min","max","fit"]}],"max-w":[{"max-w":[c,t,"none","full","min","max","fit","prose",{screen:[S]},S]}],h:[{h:[c,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,t,"auto","min","max","fit"]}],"font-size":[{text:["base",S,M]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",J]}],"font-family":[{font:[j]}],"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",c]}],"line-clamp":[{"line-clamp":["none",R,J]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",z,c]}],"list-image":[{"list-image":["none",c]}],"list-style-type":[{list:["none","disc","decimal",c]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...O(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",z,M]}],"underline-offset":[{"underline-offset":["auto",z,c]}],"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",c]}],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",c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ae(),nt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ot]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},at]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[d]}],"gradient-via-pos":[{via:[d]}],"gradient-to-pos":[{to:[d]}],"gradient-from":[{from:[N]}],"gradient-via":[{via:[N]}],"gradient-to":[{to:[N]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...O(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:O()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...O()]}],"outline-offset":[{"outline-offset":[z,c]}],"outline-w":[{outline:[z,M]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:se()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[z,M]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,lt]}],"shadow-color":[{shadow:[j]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...le(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":le()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",S,c]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[x]}],invert:[{invert:[v]}],saturate:[{saturate:[E]}],sepia:[{sepia:[W]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[h]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[x]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[W]}],"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",c]}],duration:[{duration:P()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:P()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[A]}],"scale-x":[{"scale-x":[A]}],"scale-y":[{"scale-y":[A]}],rotate:[{rotate:[_,c]}],"translate-x":[{"translate-x":[ne]}],"translate-y":[{"translate-y":[ne]}],"skew-x":[{"skew-x":[re]}],"skew-y":[{"skew-y":[re]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",c]}],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","g-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",c]}],"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-B":[{"scroll-B":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",c]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[z,M,J]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","B","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-B","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 Ne=Xe(pt);function Pe(...e){return Ne((0,Ce.clsx)(e))}function ee({logoLight:e,logoDark:t,mobile:r=!1}){return(0,g.jsxs)(ge,{href:"/",className:Pe(r?"py-1":"py-2"),children:[(0,g.jsx)(Q.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:{height:"auto"}}),(0,g.jsx)(Q.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}})]})}var $=require("lucide-react"),te=["light","dark"];function ut({title:e,logoLight:t,logoDark:r,menuItems:o,isMenuOpen:s=!0}){let[a,i]=(0,I.useState)(!1),[l,p]=(0,I.useState)(!1),[h,x]=(0,I.useState)(!1),[v,k]=(0,I.useState)("light");(0,I.useEffect)(()=>{let d=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",d,{passive:!0}),()=>window.removeEventListener("scroll",d)},[]),(0,I.useEffect)(()=>{let d=localStorage.getItem("theme")||"light";k(d),document.documentElement.setAttribute("class",d)},[]);let N=()=>{let d=te[(te.indexOf(v)+1)%te.length];k(d),document.documentElement.setAttribute("class",d),localStorage.setItem("theme",d)};return(0,g.jsx)(g.Fragment,{children:(0,g.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${a||s?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,g.jsx)("nav",{className:"backdrop-blur-sm text-white p-0",children:(0,g.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,g.jsx)(ee,{logoDark:r,logoLight:t,mobile:!0}),(0,g.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,g.jsxs)("button",{type:"button",onClick:()=>p(!0),className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,g.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,g.jsx)(G.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]}),(0,g.jsx)("button",{className:"fixed right-16 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:N,children:(0,g.jsxs)("div",{className:"relative",children:[(0,g.jsx)($.Sun,{className:"absolute h-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,g.jsx)($.Moon,{className:"absoulte h-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,g.jsxs)(w.Dialog,{open:l,onClose:p,className:"lg:hidden",children:[(0,g.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,g.jsxs)(w.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white dark:bg-[#212124] px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,g.jsxs)("div",{className:"flex items-center justify-between",children:[(0,g.jsx)("a",{href:"/",className:"-m-1.5 p-1.5 outline-none",children:(0,g.jsx)(ee,{logoDark:r,logoLight:t,mobile:!0})}),(0,g.jsxs)("button",{type:"button",onClick:()=>p(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,g.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,g.jsx)(G.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,g.jsx)("div",{className:"mt-6 flow-root",children:(0,g.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,g.jsx)("div",{className:"space-y-2 py-6",children:o.map(d=>(0,g.jsx)(ze,{...d},d.name))})})})]})]})]})})}function ze({name:e,items:t,actions:r,href:o}){return!t&&o?(0,g.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,g.jsxs)(w.Disclosure,{as:"div",className:"-mx-3",children:[(0,g.jsx)(w.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,g.jsx)(w.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(s=>(0,g.jsx)(w.DisclosureButton,{as:"a",href:s.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:s.name},s.name))})]})}0&&(module.exports={HeaderMobile});
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
"use strict";var Le=Object.create;var W=Object.defineProperty;var Ee=Object.getOwnPropertyDescriptor;var Ae=Object.getOwnPropertyNames;var Fe=Object.getPrototypeOf,Je=Object.prototype.hasOwnProperty;var Be=(e,t)=>{for(var r in t)W(e,r,{get:t[r],enumerable:!0})},pe=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Ae(t))!Je.call(e,s)&&s!==r&&W(e,s,{get:()=>t[s],enumerable:!(o=Ee(t,s))||o.enumerable});return e};var ue=(e,t,r)=>(r=e!=null?Le(Fe(e)):{},pe(t||!e||!e.__esModule?W(r,"default",{value:e,enumerable:!0}):r,e)),Oe=e=>pe(W({},"__esModule",{value:!0}),e);var It={};Be(It,{Primary:()=>Ct,default:()=>Nt});module.exports=Oe(It);var G=require("react"),w=require("@headlessui/react"),L=require("@heroicons/react/24/outline"),_=require("@heroicons/react/20/solid");var g=require("react/jsx-runtime"),_e=({name:e,items:t,actions:r=[],href:o})=>!t&&o?(0,g.jsxs)("a",{href:o,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,g.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,g.jsxs)(w.Popover,{children:[(0,g.jsxs)(w.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,g.jsxs)("span",{className:"relative",children:[e,(0,g.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,g.jsx)(_.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,g.jsxs)(w.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,g.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,g.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,g.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,g.jsx)(s.icon,{"aria-hidden":"true",size:"6x"})}),(0,g.jsxs)("a",{href:s.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[s.name,(0,g.jsx)("span",{className:"absolute inset-0"})]}),(0,g.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:s.description})]},s.name))}),r.length>0&&(0,g.jsx)("div",{className:"bg-gray-50",children:(0,g.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,g.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(s=>(0,g.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:[(0,g.jsx)(s.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),s.name]},s.name))})})})]})]}),ge=_e;var be=ue(require("next/link"));function fe({children:e,href:t,openNewTab:r,...o}){return(0,g.jsx)(be.default,{href:t,target:r?"_blank":"_self",...o,children:e})}var te=ue(require("next/image"));var Pe=require("clsx");var ee="-",Ue=e=>{let t=Xe(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{let i=l.split(ee);return i[0]===""&&i.length!==1&&i.shift(),ve(i,t)||je(l)},getConflictingClassGroupIds:(l,i)=>{let p=r[l]||[];return i&&o[l]?[...p,...o[l]]:p}}},ve=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),s=o?ve(e.slice(1),o):void 0;if(s)return s;if(t.validators.length===0)return;let a=e.join(ee);return(l=t.validators.find(({validator:i})=>i(a)))==null?void 0:l.classGroupId},xe=/^\[(.+)\]$/,je=e=>{if(xe.test(e)){let t=xe.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Xe=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return Ye(Object.entries(e.classGroups),r).forEach(([a,l])=>{Z(l,o,a,t)}),o},Z=(e,t,r,o)=>{e.forEach(s=>{if(typeof s=="string"){let a=s===""?t:ye(t,s);a.classGroupId=r;return}if(typeof s=="function"){if(We(s)){Z(s(o),t,r,o);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([a,l])=>{Z(l,ye(t,a),r,o)})})},ye=(e,t)=>{let r=e;return t.split(ee).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},We=e=>e.isThemeGetter,Ye=(e,t)=>t?e.map(([r,o])=>{let s=o.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([l,i])=>[t+l,i])):a);return[r,s]}):e,Ve=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,s=(a,l)=>{r.set(a,l),t++,t>e&&(t=0,o=r,r=new Map)};return{get(a){let l=r.get(a);if(l!==void 0)return l;if((l=o.get(a))!==void 0)return s(a,l),l},set(a,l){r.has(a)?r.set(a,l):s(a,l)}}},we="!",$e=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,s=t[0],a=t.length,l=i=>{let p=[],h=0,x=0,v;for(let b=0;b<i.length;b++){let y=i[b];if(h===0){if(y===s&&(o||i.slice(b,b+a)===t)){p.push(i.slice(x,b)),x=b+a;continue}if(y==="/"){v=b;continue}}y==="["?h++:y==="]"&&h--}let N=p.length===0?i:i.substring(x),k=N.startsWith(we),d=k?N.substring(1):N,f=v&&v>x?v-x:void 0;return{modifiers:p,hasImportantModifier:k,baseClassName:d,maybePostfixModifierPosition:f}};return r?i=>r({className:i,parseClassName:l}):l},Ke=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},qe=e=>({cache:Ve(e.cacheSize),parseClassName:$e(e),...Ue(e)}),Qe=/\s+/,Ze=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:s}=t,a=[],l=e.trim().split(Qe),i="";for(let p=l.length-1;p>=0;p-=1){let h=l[p],{modifiers:x,hasImportantModifier:v,baseClassName:N,maybePostfixModifierPosition:k}=r(h),d=!!k,f=o(d?N.substring(0,k):N);if(!f){if(!d){i=h+(i.length>0?" "+i:i);continue}if(f=o(N),!f){i=h+(i.length>0?" "+i:i);continue}d=!1}let b=Ke(x).join(":"),y=v?b+we:b,C=y+f;if(a.includes(C))continue;a.push(C);let A=s(f,d);for(let M=0;M<A.length;++M){let U=A[M];a.push(y+U)}i=h+(i.length>0?" "+i:i)}return i};function et(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ne(t))&&(o&&(o+=" "),o+=r);return o}var Ne=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=Ne(e[o]))&&(r&&(r+=" "),r+=t);return r};function tt(e,...t){let r,o,s,a=l;function l(p){let h=t.reduce((x,v)=>v(x),e());return r=qe(h),o=r.cache.get,s=r.cache.set,a=i,i(p)}function i(p){let h=o(p);if(h)return h;let x=Ze(p,r);return s(p,x),x}return function(){return a(et.apply(null,arguments))}}var u=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ke=/^\[(?:([a-z-]+):)?(.+)\]$/i,rt=/^\d+\/\d+$/,ot=new Set(["px","full","screen"]),nt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,st=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,at=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,it=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,lt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>T(e)||ot.has(e)||rt.test(e),z=e=>H(e,"length",ft),T=e=>!!e&&!Number.isNaN(Number(e)),Q=e=>H(e,"number",T),J=e=>!!e&&Number.isInteger(Number(e)),ct=e=>e.endsWith("%")&&T(e.slice(0,-1)),c=e=>ke.test(e),S=e=>nt.test(e),dt=new Set(["length","size","percentage"]),pt=e=>H(e,dt,Ce),ut=e=>H(e,"position",Ce),mt=new Set(["image","url"]),gt=e=>H(e,mt,xt),bt=e=>H(e,"",ht),B=()=>!0,H=(e,t,r)=>{let o=ke.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},ft=e=>st.test(e)&&!at.test(e),Ce=()=>!1,ht=e=>it.test(e),xt=e=>lt.test(e);var yt=()=>{let e=u("colors"),t=u("spacing"),r=u("blur"),o=u("brightness"),s=u("borderColor"),a=u("borderRadius"),l=u("borderSpacing"),i=u("borderWidth"),p=u("contrast"),h=u("grayscale"),x=u("hueRotate"),v=u("invert"),N=u("gap"),k=u("gradientColorStops"),d=u("gradientColorStopPositions"),f=u("inset"),b=u("margin"),y=u("opacity"),C=u("padding"),A=u("saturate"),M=u("scale"),U=u("sepia"),ne=u("skew"),se=u("space"),ae=u("translate"),V=()=>["auto","contain","none"],$=()=>["auto","hidden","clip","visible","scroll"],K=()=>["auto",c,t],m=()=>[c,t],ie=()=>["",P,z],j=()=>["auto",T,c],le=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],X=()=>["solid","dashed","dotted","double","none"],ce=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],q=()=>["start","end","center","between","around","evenly","stretch"],F=()=>["","0",c],de=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[T,c];return{cacheSize:500,separator:":",theme:{colors:[B],spacing:[P,z],blur:["none","",S,c],brightness:I(),borderColor:[e],borderRadius:["none","","full",S,c],borderSpacing:m(),borderWidth:ie(),contrast:I(),grayscale:F(),hueRotate:I(),invert:F(),gap:m(),gradientColorStops:[e],gradientColorStopPositions:[ct,z],inset:K(),margin:K(),opacity:I(),padding:m(),saturate:I(),scale:I(),sepia:F(),skew:I(),space:m(),translate:m()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[S]}],"break-after":[{"break-after":de()}],"break-before":[{"break-before":de()}],"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:[...le(),c]}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-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",J,c]}],basis:[{basis:K()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",c]}],grow:[{grow:F()}],shrink:[{shrink:F()}],order:[{order:["first","last","none",J,c]}],"grid-cols":[{"grid-cols":[B]}],"col-start-end":[{col:["auto",{span:["full",J,c]},c]}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":[B]}],"row-start-end":[{row:["auto",{span:[J,c]},c]}],"row-start":[{"row-start":j()}],"row-end":[{"row-end":j()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",c]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",c]}],gap:[{gap:[N]}],"gap-x":[{"gap-x":[N]}],"gap-y":[{"gap-y":[N]}],"justify-content":[{justify:["normal",...q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],_:[{_:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[se]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[se]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",c,t]}],"min-w":[{"min-w":[c,t,"min","max","fit"]}],"max-w":[{"max-w":[c,t,"none","full","min","max","fit","prose",{screen:[S]},S]}],h:[{h:[c,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,t,"auto","min","max","fit"]}],"font-size":[{text:["base",S,z]}],"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:[B]}],"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",c]}],"line-clamp":[{"line-clamp":["none",T,Q]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",P,c]}],"list-image":[{"list-image":["none",c]}],"list-style-type":[{list:["none","disc","decimal",c]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...X(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",P,z]}],"underline-offset":[{"underline-offset":["auto",P,c]}],"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",c]}],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",c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...le(),ut]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",pt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},gt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[d]}],"gradient-via-pos":[{via:[d]}],"gradient-to-pos":[{to:[d]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...X(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:X()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...X()]}],"outline-offset":[{"outline-offset":[P,c]}],"outline-w":[{outline:[P,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ie()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[P,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,bt]}],"shadow-color":[{shadow:[B]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...ce(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ce()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",S,c]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[x]}],invert:[{invert:[v]}],saturate:[{saturate:[A]}],sepia:[{sepia:[U]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[h]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[x]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[A]}],"backdrop-sepia":[{"backdrop-sepia":[U]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",c]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[J,c]}],"translate-x":[{"translate-x":[ae]}],"translate-y":[{"translate-y":[ae]}],"skew-x":[{"skew-x":[ne]}],"skew-y":[{"skew-y":[ne]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",c]}],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","g-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",c]}],"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-_":[{"scroll-_":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",c]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[P,z,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","_","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-_","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 Ie=tt(yt);function ze(...e){return Ie((0,Pe.clsx)(e))}function re({logoLight:e,logoDark:t,mobile:r=!1}){return(0,g.jsxs)(fe,{href:"/",className:ze(r?"py-1":"py-2"),children:[(0,g.jsx)(te.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:{height:"auto"}}),(0,g.jsx)(te.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}})]})}var Y=require("lucide-react"),oe=["light","dark"];function Ge({title:e,logoLight:t,logoDark:r,menuItems:o,isMenuOpen:s=!0}){let[a,l]=(0,G.useState)(!1),[i,p]=(0,G.useState)(!1),[h,x]=(0,G.useState)(!1),[v,N]=(0,G.useState)("light");(0,G.useEffect)(()=>{let d=()=>{window.scrollY>100?l(!0):l(!1)};return window.addEventListener("scroll",d,{passive:!0}),()=>window.removeEventListener("scroll",d)},[]),(0,G.useEffect)(()=>{let d=localStorage.getItem("theme")||"light";N(d),document.documentElement.setAttribute("class",d)},[]);let k=()=>{let d=oe[(oe.indexOf(v)+1)%oe.length];N(d),document.documentElement.setAttribute("class",d),localStorage.setItem("theme",d)};return(0,g.jsx)(g.Fragment,{children:(0,g.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${a||s?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,g.jsx)("nav",{className:"backdrop-blur-sm text-white p-0",children:(0,g.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,g.jsx)(re,{logoDark:r,logoLight:t,mobile:!0}),(0,g.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,g.jsxs)("button",{type:"button",onClick:()=>p(!0),className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,g.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,g.jsx)(L.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]}),(0,g.jsx)("button",{className:"fixed right-16 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:k,children:(0,g.jsxs)("div",{className:"relative",children:[(0,g.jsx)(Y.Sun,{className:"absolute h-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,g.jsx)(Y.Moon,{className:"absoulte h-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,g.jsxs)(w.Dialog,{open:i,onClose:p,className:"lg:hidden",children:[(0,g.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,g.jsxs)(w.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white dark:bg-[#212124] px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,g.jsxs)("div",{className:"flex items-center justify-between",children:[(0,g.jsx)("a",{href:"/",className:"-m-1.5 p-1.5 outline-none",children:(0,g.jsx)(re,{logoDark:r,logoLight:t,mobile:!0})}),(0,g.jsxs)("button",{type:"button",onClick:()=>p(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,g.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,g.jsx)(L.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,g.jsx)("div",{className:"mt-6 flow-root",children:(0,g.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,g.jsx)("div",{className:"space-y-2 py-6",children:o.map(d=>(0,g.jsx)(Se,{...d},d.name))})})})]})]})]})})}function Se({name:e,items:t,actions:r,href:o}){return!t&&o?(0,g.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,g.jsxs)(w.Disclosure,{as:"div",className:"-mx-3",children:[(0,g.jsx)(w.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,g.jsx)(w.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(s=>(0,g.jsx)(w.DisclosureButton,{as:"a",href:s.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:s.name},s.name))})]})}var Re=({type:e="solid",iconName:t="cloud",size:r="lg",className:o})=>{let s="fa-"+e+" ",a="fa-"+t,l=o!=null?o:"",i=s+a+" fa-"+r+" "+l;return(0,g.jsx)("i",{className:i})};var De="../../cortex-reply-light-27IMI3G7.png";var Te="../../cortex-reply-dark-XPAJJJYY.png";var Nt={title:"Header/HeaderMobile",component:Ge},kt=e=>(0,g.jsx)(Re,{iconName:"github",type:"brands",...e}),Ct={args:{title:"Your Company",logoDark:Te,logoLight:De,menuItems:[{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:L.ChartPieIcon},{name:"Engagement",description:"Interact with customers",href:"#",icon:L.CursorArrowRaysIcon},{name:"Security",description:"Protect your data",href:"#",icon:L.FingerPrintIcon}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:L.ChartPieIcon},{name:"API Reference",href:"#",icon:L.CursorArrowRaysIcon},{name:"Github",href:"#",icon:kt}],actions:[{name:"Watch demo",href:"#",icon:_.PlayCircleIcon},{name:"Contact sales",href:"#",icon:_.PhoneIcon},{name:"View all products",href:"#",icon:_.RectangleGroupIcon}]},{name:"Company",href:"#"}]}};0&&(module.exports={Primary});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r}from"../../chunk-WU3JMLSC.mjs";import{a as t}from"../../chunk-BZAYEKYC.mjs";import{a as e}from"../../chunk-J4ZQHU4H.mjs";import"../../chunk-2TUFZ5F2.mjs";import"../../chunk-M62IIIAN.mjs";import{a as o}from"../../chunk-5VW5YOZB.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 p}from"@heroicons/react/20/solid";import{jsx as y}from"react/jsx-runtime";var I={title:"Header/HeaderMobile",component:e},s=i=>y(o,{iconName:"github",type:"brands",...i}),P={args:{title:"Your Company",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:s}],actions:[{name:"Watch demo",href:"#",icon:f},{name:"Contact sales",href:"#",icon:m},{name:"View all products",href:"#",icon:p}]},{name:"Company",href:"#"}]}};export{P as Primary,I as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";"use client";var Ne=Object.create;var $=Object.defineProperty;var ze=Object.getOwnPropertyDescriptor;var Ie=Object.getOwnPropertyNames;var Me=Object.getPrototypeOf,Le=Object.prototype.hasOwnProperty;var Ae=(e,t)=>{for(var r in t)$(e,r,{get:t[r],enumerable:!0})},le=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ie(t))!Le.call(e,a)&&a!==r&&$(e,a,{get:()=>t[a],enumerable:!(o=ze(t,a))||o.enumerable});return e};var X=(e,t,r)=>(r=e!=null?Ne(Me(e)):{},le(t||!e||!e.__esModule?$(r,"default",{value:e,enumerable:!0}):r,e)),Pe=e=>le($({},"__esModule",{value:!0}),e);var dt={};Ae(dt,{VideoHeader:()=>ct});module.exports=Pe(dt);var L=require("react"),R=require("lucide-react"),Se=X(require("next/image"));var fe=require("clsx");var K="-",Ee=e=>{let t=Te(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{let n=l.split(K);return n[0]===""&&n.length!==1&&n.shift(),de(n,t)||Re(l)},getConflictingClassGroupIds:(l,n)=>{let u=r[l]||[];return n&&o[l]?[...u,...o[l]]:u}}},de=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?de(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let s=e.join(K);return(l=t.validators.find(({validator:n})=>n(s)))==null?void 0:l.classGroupId},ie=/^\[(.+)\]$/,Re=e=>{if(ie.test(e)){let t=ie.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Te=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return _e(Object.entries(e.classGroups),r).forEach(([s,l])=>{J(l,o,s,t)}),o},J=(e,t,r,o)=>{e.forEach(a=>{if(typeof a=="string"){let s=a===""?t:ce(t,a);s.classGroupId=r;return}if(typeof a=="function"){if(Ge(a)){J(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([s,l])=>{J(l,ce(t,s),r,o)})})},ce=(e,t)=>{let r=e;return t.split(K).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Ge=e=>e.isThemeGetter,_e=(e,t)=>t?e.map(([r,o])=>{let a=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([l,n])=>[t+l,n])):s);return[r,a]}):e,Ve=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,a=(s,l)=>{r.set(s,l),t++,t>e&&(t=0,o=r,r=new Map)};return{get(s){let l=r.get(s);if(l!==void 0)return l;if((l=o.get(s))!==void 0)return a(s,l),l},set(s,l){r.has(s)?r.set(s,l):a(s,l)}}},ue="!",De=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,a=t[0],s=t.length,l=n=>{let u=[],c=0,h=0,f;for(let m=0;m<n.length;m++){let w=n[m];if(c===0){if(w===a&&(o||n.slice(m,m+s)===t)){u.push(n.slice(h,m)),h=m+s;continue}if(w==="/"){f=m;continue}}w==="["?c++:w==="]"&&c--}let v=u.length===0?n:n.substring(h),C=v.startsWith(ue),k=C?v.substring(1):v,x=f&&f>h?f-h:void 0;return{modifiers:u,hasImportantModifier:C,baseClassName:k,maybePostfixModifierPosition:x}};return r?n=>r({className:n,parseClassName:l}):l},We=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},je=e=>({cache:Ve(e.cacheSize),parseClassName:De(e),...Ee(e)}),Ue=/\s+/,$e=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,s=[],l=e.trim().split(Ue),n="";for(let u=l.length-1;u>=0;u-=1){let c=l[u],{modifiers:h,hasImportantModifier:f,baseClassName:v,maybePostfixModifierPosition:C}=r(c),k=!!C,x=o(k?v.substring(0,C):v);if(!x){if(!k){n=c+(n.length>0?" "+n:n);continue}if(x=o(v),!x){n=c+(n.length>0?" "+n:n);continue}k=!1}let m=We(h).join(":"),w=f?m+ue:m,y=w+x;if(s.includes(y))continue;s.push(y);let T=a(x,k);for(let M=0;M<T.length;++M){let W=T[M];s.push(w+W)}n=c+(n.length>0?" "+n:n)}return n};function Be(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=pe(t))&&(o&&(o+=" "),o+=r);return o}var pe=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=pe(e[o]))&&(r&&(r+=" "),r+=t);return r};function He(e,...t){let r,o,a,s=l;function l(u){let c=t.reduce((h,f)=>f(h),e());return r=je(c),o=r.cache.get,a=r.cache.set,s=n,n(u)}function n(u){let c=o(u);if(c)return c;let h=$e(u,r);return a(u,h),h}return function(){return s(Be.apply(null,arguments))}}var p=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ge=/^\[(?:([a-z-]+):)?(.+)\]$/i,Oe=/^\xe+\/\xe+$/,Ye=new Set(["px","full","screen"]),Fe=/^(\xe+(\.\xe+)?)?(xs|sm|md|lg|xl)$/,Xe=/\xe+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|xe|min|max))|\xe(calc|min|max|clamp)\(.+\)|^0$/,qe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Je=/^(inset_)?-?((\xe+)?\.?(\xe+)[a-z]+|0)_-?((\xe+)?\.?(\xe+)[a-z]+|0)/,Ke=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N=e=>A(e)||Ye.has(e)||Oe.test(e),z=e=>P(e,"length",st),A=e=>!!e&&!Number.isNaN(Number(e)),q=e=>P(e,"number",A),_=e=>!!e&&Number.isInteger(Number(e)),Ze=e=>e.endsWith("%")&&A(e.slice(0,-1)),i=e=>ge.test(e),I=e=>Fe.test(e),Qe=new Set(["length","size","percentage"]),et=e=>P(e,Qe,me),tt=e=>P(e,"position",me),rt=new Set(["image","url"]),ot=e=>P(e,rt,lt),nt=e=>P(e,"",at),V=()=>!0,P=(e,t,r)=>{let o=ge.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},st=e=>Xe.test(e)&&!qe.test(e),me=()=>!1,at=e=>Je.test(e),lt=e=>Ke.test(e);var it=()=>{let e=p("colors"),t=p("spacing"),r=p("blur"),o=p("brightness"),a=p("borderColor"),s=p("borderRadius"),l=p("borderSpacing"),n=p("borderWidth"),u=p("contrast"),c=p("grayscale"),h=p("hueRotate"),f=p("invert"),v=p("gap"),C=p("gradientColorStops"),k=p("gradientColorStopPositions"),x=p("inset"),m=p("margin"),w=p("opacity"),y=p("padding"),T=p("saturate"),M=p("scale"),W=p("sepia"),ee=p("skew"),te=p("space"),re=p("translate"),H=()=>["auto","contain","none"],O=()=>["auto","hidden","clip","visible","scroll"],Y=()=>["auto",i,t],g=()=>[i,t],oe=()=>["",N,z],j=()=>["auto",A,i],ne=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],U=()=>["solid","dashed","dotted","double","none"],se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],F=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",i],ae=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>[A,i];return{cacheSize:500,separator:":",theme:{colors:[V],spacing:[N,z],blur:["none","",I,i],brightness:S(),borderColor:[e],borderRadius:["none","","full",I,i],borderSpacing:g(),borderWidth:oe(),contrast:S(),grayscale:G(),hueRotate:S(),invert:G(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[Ze,z],inset:Y(),margin:Y(),opacity:S(),padding:g(),saturate:S(),scale:S(),sepia:G(),skew:S(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[I]}],"break-after":[{"break-after":ae()}],"break-before":[{"break-before":ae()}],"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:[...ne(),i]}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:H()}],"overscroll-x":[{"overscroll-x":H()}],"overscroll-y":[{"overscroll-y":H()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",_,i]}],basis:[{basis:Y()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",_,i]}],"grid-cols":[{"grid-cols":[V]}],"col-start-end":[{col:["auto",{span:["full",_,i]},i]}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":[V]}],"row-start-end":[{row:["auto",{span:[_,i]},i]}],"row-start":[{"row-start":j()}],"row-end":[{"row-end":j()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[v]}],"gap-x":[{"gap-x":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...F()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...F(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...F(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[te]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[te]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[I]},I]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",I,z]}],"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:[V]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",A,q]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",N,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",N,z]}],"underline-offset":[{"underline-offset":["auto",N,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ne(),tt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",et]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","xe","bl","l","tl"]},ot]}],"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-xe":[{"rounded-xe":[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:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-xe":[{"border-xe":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...U(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:U()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-xe":[{"border-xe":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...U()]}],"outline-offset":[{"outline-offset":[N,i]}],"outline-w":[{outline:[N,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:oe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[N,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",I,nt]}],"shadow-color":[{shadow:[V]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...se(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":se()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",I,i]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[f]}],saturate:[{saturate:[T]}],sepia:[{sepia:[W]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"backdrop-sepia":[{"backdrop-sepia":[W]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:S()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[_,i]}],"translate-x":[{"translate-x":[re]}],"translate-y":[{"translate-y":[re]}],"skew-x":[{"skew-x":[ee]}],"skew-y":[{"skew-y":[ee]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-me":[{"scroll-me":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-p":[{"scroll-p":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[N,z,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","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-xe","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-xe":["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-xe","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-xe"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-xe","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-xe"],"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 be=He(it);function Z(...e){return be((0,fe.clsx)(e))}var xe=require("react/jsx-runtime");function he({children:e,isFluid:t=!1,isNoPadding:r=!1,className:o=""}){let a=Z("container",t&&"full-width",r&&"no-padding",o);return(0,xe.jsx)("div",{className:a,children:e})}var we=X(require("next/link"));function ve({children:e,href:t,openNewTab:r,...o}){return(0,xe.jsx)(we.default,{href:t,target:r?"_blank":"_self",...o,children:e})}var Q=X(require("next/image"));function ke({logoLight:e,logoDark:t}){return(0,xe.jsxs)(ve,{href:"/",className:"py-2",children:[(0,xe.jsx)(Q.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:"200px",height:"auto"}}),(0,xe.jsx)(Q.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"200px",height:"auto"}})]})}function Ce({isMenuOpen:e,logoLight:t,logoDark:r}){let[o,a]=(0,L.useState)(!1),[s,l]=(0,L.useState)("light"),n=["light","dark"];(0,L.useEffect)(()=>{let c=localStorage.getItem("theme")||"light";console.log("storedTheme",c),l(c),document.documentElement.setAttribute("class",c)},[]);let u=()=>{let c=n[(n.indexOf(s)+1)%n.length];l(c),document.documentElement.setAttribute("class",c),localStorage.setItem("theme",c)};return(0,L.useEffect)(()=>{let c=()=>{window.scrollY>100?a(!0):a(!1)};return window.addEventListener("scroll",c,{passive:!0}),()=>window.removeEventListener("scroll",c)},[]),(0,xe.jsx)(xe.Fragment,{children:(0,xe.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${o||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,xe.jsx)(he,{className:"px-0",children:(0,xe.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-xe-xl",children:(0,xe.jsxs)("div",{className:"flex items-center justify-between bg-accent px-9 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] rounded-xe-xl dark:border dark:border-accent",children:[(0,xe.jsx)(ke,{logoDark:r,logoLight:t}),(0,xe.jsxs)("ul",{className:"flex items-center justify-center flex-grow space-x-8 text-md",children:[(0,xe.jsx)("li",{children:(0,xe.jsxs)("a",{href:"/services",className:"relative transition-colors group",children:["Services",(0,xe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,xe.jsx)("li",{children:(0,xe.jsxs)("a",{href:"/insights",className:"relative transition-colors group",children:["Insights",(0,xe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,xe.jsx)("li",{children:(0,xe.jsxs)("a",{href:"/about",className:"relative transition-colors group",children:["About Us",(0,xe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,xe.jsx)("li",{children:(0,xe.jsxs)("a",{href:"/contact",className:"relative transition-colors group",children:["Contact",(0,xe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})})]}),(0,xe.jsx)("div",{className:"flex items-center space-x-4",children:(0,xe.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:u,children:(0,xe.jsxs)("div",{className:"relative",children:[(0,xe.jsx)(R.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,xe.jsx)(R.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}function ct({logoVideo:e,logoLight:t,logoDark:r}){let[o,a]=(0,L.useState)(!1),[s,l]=(0,L.useState)(!1),[n,u]=(0,L.useState)(!1),c=()=>{let f=document.getElementById("next-section");f&&f.scrollIntoView({behavior:"smooth"})};return(0,L.useEffect)(()=>{let f=()=>{window.scrollY>100?(l(!0),u(!1)):(l(!1),u(!0))};return window.addEventListener("scroll",f,{passive:!0}),()=>window.removeEventListener("scroll",f)},[]),(0,L.useEffect)(()=>{let f=()=>{window.scrollY>100?a(!0):a(!1)};return window.addEventListener("scroll",f,{passive:!0}),()=>window.removeEventListener("scroll",f)},[]),(0,xe.jsxs)("div",{className:"relative h-screen",children:[(0,xe.jsxs)("div",{className:"absolute inset-0 w-full h-screen overflow-hidden",children:[(0,xe.jsxs)("video",{className:"object-cover w-full h-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,xe.jsx)("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,xe.jsx)("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!o&&(0,xe.jsx)("button",{className:"fixed top-4 right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{u(!n)},children:n?(0,xe.jsx)(R.X,{className:"w-6 h-6 text-white"}):(0,xe.jsx)(R.Menu,{className:"w-6 h-6 text-white"})}),(0,xe.jsx)("div",{className:"fixed top-0 left-0 right-0 z-50",children:(0,xe.jsx)(Ce,{isMenuOpen:o,logoLight:t,logoDark:r})}),(0,xe.jsx)("div",{className:`fixed top-4 left-4 z-50 transition-all duration-300 ${s||n?"opacity-0":"opacity-100"}`}),(0,xe.jsxs)("div",{className:"absolute inset-0 h-full z-10 flex flex-col items-center justify-between text-white text-center px-4",children:[(0,xe.jsx)(Se.default,{src:e,alt:"Cortex Reply Logo",width:720,height:320,className:"h-auto w-auto mt-8"}),(0,xe.jsxs)("div",{children:[(0,xe.jsx)("h1",{className:"text-4xl font-bold mb-4",children:"We are Cortex Reply."}),(0,xe.jsx)("p",{className:"text-2xl mb-8 max-w-2xl",children:"Efficiency through technology."})]}),(0,xe.jsx)("div",{className:"flex justify-center items-center w-full mb-8",children:(0,xe.jsx)("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:c,children:(0,xe.jsx)(R.ChevronDown,{size:64})})})]})]})}0&&(module.exports={VideoHeader});
|
|
4
|
+
"use strict";"use client";var Ne=Object.create;var B=Object.defineProperty;var ze=Object.getOwnPropertyDescriptor;var Ie=Object.getOwnPropertyNames;var Me=Object.getPrototypeOf,Le=Object.prototype.hasOwnProperty;var Ae=(e,t)=>{for(var r in t)B(e,r,{get:t[r],enumerable:!0})},le=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ie(t))!Le.call(e,a)&&a!==r&&B(e,a,{get:()=>t[a],enumerable:!(o=ze(t,a))||o.enumerable});return e};var q=(e,t,r)=>(r=e!=null?Ne(Me(e)):{},le(t||!e||!e.__esModule?B(r,"default",{value:e,enumerable:!0}):r,e)),Pe=e=>le(B({},"__esModule",{value:!0}),e);var dt={};Ae(dt,{VideoHeader:()=>ct});module.exports=Pe(dt);var L=require("react"),R=require("lucide-react"),Se=q(require("next/image"));var fe=require("clsx");var Z="-",Ee=e=>{let t=Te(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{let n=l.split(Z);return n[0]===""&&n.length!==1&&n.shift(),de(n,t)||Re(l)},getConflictingClassGroupIds:(l,n)=>{let u=r[l]||[];return n&&o[l]?[...u,...o[l]]:u}}},de=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?de(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let s=e.join(Z);return(l=t.validators.find(({validator:n})=>n(s)))==null?void 0:l.classGroupId},ie=/^\[(.+)\]$/,Re=e=>{if(ie.test(e)){let t=ie.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Te=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return _e(Object.entries(e.classGroups),r).forEach(([s,l])=>{K(l,o,s,t)}),o},K=(e,t,r,o)=>{e.forEach(a=>{if(typeof a=="string"){let s=a===""?t:ce(t,a);s.classGroupId=r;return}if(typeof a=="function"){if(Ge(a)){K(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([s,l])=>{K(l,ce(t,s),r,o)})})},ce=(e,t)=>{let r=e;return t.split(Z).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Ge=e=>e.isThemeGetter,_e=(e,t)=>t?e.map(([r,o])=>{let a=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([l,n])=>[t+l,n])):s);return[r,a]}):e,Ve=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,a=(s,l)=>{r.set(s,l),t++,t>e&&(t=0,o=r,r=new Map)};return{get(s){let l=r.get(s);if(l!==void 0)return l;if((l=o.get(s))!==void 0)return a(s,l),l},set(s,l){r.has(s)?r.set(s,l):a(s,l)}}},ue="!",De=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,a=t[0],s=t.length,l=n=>{let u=[],c=0,h=0,f;for(let m=0;m<n.length;m++){let w=n[m];if(c===0){if(w===a&&(o||n.slice(m,m+s)===t)){u.push(n.slice(h,m)),h=m+s;continue}if(w==="/"){f=m;continue}}w==="["?c++:w==="]"&&c--}let v=u.length===0?n:n.substring(h),C=v.startsWith(ue),k=C?v.substring(1):v,x=f&&f>h?f-h:void 0;return{modifiers:u,hasImportantModifier:C,baseClassName:k,maybePostfixModifierPosition:x}};return r?n=>r({className:n,parseClassName:l}):l},We=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},je=e=>({cache:Ve(e.cacheSize),parseClassName:De(e),...Ee(e)}),Ue=/\s+/,$e=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,s=[],l=e.trim().split(Ue),n="";for(let u=l.length-1;u>=0;u-=1){let c=l[u],{modifiers:h,hasImportantModifier:f,baseClassName:v,maybePostfixModifierPosition:C}=r(c),k=!!C,x=o(k?v.substring(0,C):v);if(!x){if(!k){n=c+(n.length>0?" "+n:n);continue}if(x=o(v),!x){n=c+(n.length>0?" "+n:n);continue}k=!1}let m=We(h).join(":"),w=f?m+ue:m,y=w+x;if(s.includes(y))continue;s.push(y);let T=a(x,k);for(let M=0;M<T.length;++M){let j=T[M];s.push(w+j)}n=c+(n.length>0?" "+n:n)}return n};function Be(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=pe(t))&&(o&&(o+=" "),o+=r);return o}var pe=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=pe(e[o]))&&(r&&(r+=" "),r+=t);return r};function He(e,...t){let r,o,a,s=l;function l(u){let c=t.reduce((h,f)=>f(h),e());return r=je(c),o=r.cache.get,a=r.cache.set,s=n,n(u)}function n(u){let c=o(u);if(c)return c;let h=$e(u,r);return a(u,h),h}return function(){return s(Be.apply(null,arguments))}}var p=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ge=/^\[(?:([a-z-]+):)?(.+)\]$/i,Oe=/^\xe+\/\xe+$/,Ye=new Set(["px","full","screen"]),Fe=/^(\xe+(\.\xe+)?)?(xs|sm|md|lg|xl)$/,Xe=/\xe+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|xe|min|max))|\xe(calc|min|max|clamp)\(.+\)|^0$/,qe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Je=/^(inset_)?-?((\xe+)?\.?(\xe+)[a-z]+|0)_-?((\xe+)?\.?(\xe+)[a-z]+|0)/,Ke=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N=e=>A(e)||Ye.has(e)||Oe.test(e),z=e=>P(e,"length",st),A=e=>!!e&&!Number.isNaN(Number(e)),J=e=>P(e,"number",A),_=e=>!!e&&Number.isInteger(Number(e)),Ze=e=>e.endsWith("%")&&A(e.slice(0,-1)),i=e=>ge.test(e),I=e=>Fe.test(e),Qe=new Set(["length","size","percentage"]),et=e=>P(e,Qe,me),tt=e=>P(e,"position",me),rt=new Set(["image","url"]),ot=e=>P(e,rt,lt),nt=e=>P(e,"",at),V=()=>!0,P=(e,t,r)=>{let o=ge.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},st=e=>Xe.test(e)&&!qe.test(e),me=()=>!1,at=e=>Je.test(e),lt=e=>Ke.test(e);var it=()=>{let e=p("colors"),t=p("spacing"),r=p("blur"),o=p("brightness"),a=p("borderColor"),s=p("borderRadius"),l=p("borderSpacing"),n=p("borderWidth"),u=p("contrast"),c=p("grayscale"),h=p("hueRotate"),f=p("invert"),v=p("gap"),C=p("gradientColorStops"),k=p("gradientColorStopPositions"),x=p("inset"),m=p("margin"),w=p("opacity"),y=p("padding"),T=p("saturate"),M=p("scale"),j=p("sepia"),ee=p("skew"),te=p("space"),re=p("translate"),O=()=>["auto","contain","none"],Y=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto",i,t],g=()=>[i,t],oe=()=>["",N,z],U=()=>["auto",A,i],ne=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],X=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",i],ae=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>[A,i];return{cacheSize:500,separator:":",theme:{colors:[V],spacing:[N,z],blur:["none","",I,i],brightness:S(),borderColor:[e],borderRadius:["none","","full",I,i],borderSpacing:g(),borderWidth:oe(),contrast:S(),grayscale:G(),hueRotate:S(),invert:G(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[Ze,z],inset:F(),margin:F(),opacity:S(),padding:g(),saturate:S(),scale:S(),sepia:G(),skew:S(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[I]}],"break-after":[{"break-after":ae()}],"break-before":[{"break-before":ae()}],"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:[...ne(),i]}],overflow:[{overflow:Y()}],"overflow-x":[{"overflow-x":Y()}],"overflow-y":[{"overflow-y":Y()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",_,i]}],basis:[{basis:F()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",_,i]}],"grid-cols":[{"grid-cols":[V]}],"col-start-end":[{col:["auto",{span:["full",_,i]},i]}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":[V]}],"row-start-end":[{row:["auto",{span:[_,i]},i]}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[v]}],"gap-x":[{"gap-x":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...X()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...X(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...X(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[te]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[te]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[I]},I]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",I,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",J]}],"font-family":[{font:[V]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",A,J]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",N,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",N,z]}],"underline-offset":[{"underline-offset":["auto",N,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ne(),tt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",et]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","xe","bl","l","tl"]},ot]}],"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-xe":[{"rounded-xe":[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:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-xe":[{"border-xe":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...$(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:$()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-xe":[{"border-xe":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...$()]}],"outline-offset":[{"outline-offset":[N,i]}],"outline-w":[{outline:[N,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:oe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[N,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",I,nt]}],"shadow-color":[{shadow:[V]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...se(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":se()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",I,i]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[f]}],saturate:[{saturate:[T]}],sepia:[{sepia:[j]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"backdrop-sepia":[{"backdrop-sepia":[j]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:S()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[_,i]}],"translate-x":[{"translate-x":[re]}],"translate-y":[{"translate-y":[re]}],"skew-x":[{"skew-x":[ee]}],"skew-y":[{"skew-y":[ee]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-me":[{"scroll-me":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-p":[{"scroll-p":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[N,z,J]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-xe","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-xe":["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-xe","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-xe"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-xe","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-xe"],"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 be=He(it);function D(...e){return be((0,fe.clsx)(e))}var xe=require("react/jsx-runtime");function he({children:e,isFluid:t=!1,isNoPadding:r=!1,className:o=""}){let a=D("container",t&&"full-width",r&&"no-padding",o);return(0,xe.jsx)("div",{className:a,children:e})}var we=q(require("next/link"));function ve({children:e,href:t,openNewTab:r,...o}){return(0,xe.jsx)(we.default,{href:t,target:r?"_blank":"_self",...o,children:e})}var Q=q(require("next/image"));function ke({logoLight:e,logoDark:t,mobile:r=!1}){return(0,xe.jsxs)(ve,{href:"/",className:D(r?"py-1":"py-2"),children:[(0,xe.jsx)(Q.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:{height:"auto"}}),(0,xe.jsx)(Q.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}})]})}function Ce({isMenuOpen:e,logoLight:t,logoDark:r}){let[o,a]=(0,L.useState)(!1),[s,l]=(0,L.useState)("light"),n=["light","dark"];(0,L.useEffect)(()=>{let c=localStorage.getItem("theme")||"light";console.log("storedTheme",c),l(c),document.documentElement.setAttribute("class",c)},[]);let u=()=>{let c=n[(n.indexOf(s)+1)%n.length];l(c),document.documentElement.setAttribute("class",c),localStorage.setItem("theme",c)};return(0,L.useEffect)(()=>{let c=()=>{window.scrollY>100?a(!0):a(!1)};return window.addEventListener("scroll",c,{passive:!0}),()=>window.removeEventListener("scroll",c)},[]),(0,xe.jsx)(xe.Fragment,{children:(0,xe.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${o||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,xe.jsx)(he,{className:"px-0",children:(0,xe.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-xe-xl",children:(0,xe.jsxs)("div",{className:"flex items-center justify-between bg-accent px-9 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] rounded-xe-xl dark:border dark:border-accent",children:[(0,xe.jsx)(ke,{logoDark:r,logoLight:t}),(0,xe.jsxs)("ul",{className:"flex items-center justify-center flex-grow space-x-8 text-md",children:[(0,xe.jsx)("li",{children:(0,xe.jsxs)("a",{href:"/services",className:"relative transition-colors group",children:["Services",(0,xe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,xe.jsx)("li",{children:(0,xe.jsxs)("a",{href:"/insights",className:"relative transition-colors group",children:["Insights",(0,xe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,xe.jsx)("li",{children:(0,xe.jsxs)("a",{href:"/about",className:"relative transition-colors group",children:["About Us",(0,xe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,xe.jsx)("li",{children:(0,xe.jsxs)("a",{href:"/contact",className:"relative transition-colors group",children:["Contact",(0,xe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})})]}),(0,xe.jsx)("div",{className:"flex items-center space-x-4",children:(0,xe.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:u,children:(0,xe.jsxs)("div",{className:"relative",children:[(0,xe.jsx)(R.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,xe.jsx)(R.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}function ct({logoVideo:e,logoLight:t,logoDark:r}){let[o,a]=(0,L.useState)(!1),[s,l]=(0,L.useState)(!1),[n,u]=(0,L.useState)(!1),c=()=>{let f=document.getElementById("next-section");f&&f.scrollIntoView({behavior:"smooth"})};return(0,L.useEffect)(()=>{let f=()=>{window.scrollY>100?(l(!0),u(!1)):(l(!1),u(!0))};return window.addEventListener("scroll",f,{passive:!0}),()=>window.removeEventListener("scroll",f)},[]),(0,L.useEffect)(()=>{let f=()=>{window.scrollY>100?a(!0):a(!1)};return window.addEventListener("scroll",f,{passive:!0}),()=>window.removeEventListener("scroll",f)},[]),(0,xe.jsxs)("div",{className:"relative h-screen",children:[(0,xe.jsxs)("div",{className:"absolute inset-0 w-full h-screen overflow-hidden",children:[(0,xe.jsxs)("video",{className:"object-cover w-full h-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,xe.jsx)("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,xe.jsx)("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!o&&(0,xe.jsx)("button",{className:"fixed top-4 right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{u(!n)},children:n?(0,xe.jsx)(R.X,{className:"w-6 h-6 text-white"}):(0,xe.jsx)(R.Menu,{className:"w-6 h-6 text-white"})}),(0,xe.jsx)("div",{className:"fixed top-0 left-0 right-0 z-50",children:(0,xe.jsx)(Ce,{isMenuOpen:o,logoLight:t,logoDark:r})}),(0,xe.jsx)("div",{className:`fixed top-4 left-4 z-50 transition-all duration-300 ${s||n?"opacity-0":"opacity-100"}`}),(0,xe.jsxs)("div",{className:"absolute inset-0 h-full z-10 flex flex-col items-center justify-between text-white text-center px-4",children:[(0,xe.jsx)(Se.default,{src:e,alt:"Cortex Reply Logo",width:720,height:320,className:"h-auto w-auto mt-8"}),(0,xe.jsxs)("div",{children:[(0,xe.jsx)("h1",{className:"text-4xl font-bold mb-4",children:"We are Cortex Reply."}),(0,xe.jsx)("p",{className:"text-2xl mb-8 max-w-2xl",children:"Efficiency through technology."})]}),(0,xe.jsx)("div",{className:"flex justify-center items-center w-full mb-8",children:(0,xe.jsx)("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:c,children:(0,xe.jsx)(R.ChevronDown,{size:64})})})]})]})}0&&(module.exports={VideoHeader});
|