cortex-react-components 1.9.2 → 1.10.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-3WPEAKCQ.mjs +4 -0
- package/dist/{chunk-IE2A7UT3.mjs → chunk-4VDJWCUB.mjs} +1 -1
- package/dist/chunk-6SNQMP4U.mjs +4 -0
- package/dist/chunk-A5EYIB3V.mjs +1 -0
- package/dist/{chunk-D43ENVPX.mjs → chunk-AFA6LBJ4.mjs} +1 -1
- package/dist/{chunk-ZP62R7ER.mjs → chunk-CTTNVPFC.mjs} +1 -1
- package/dist/chunk-G73ILIWV.mjs +1 -0
- package/dist/{chunk-B65LGTFM.mjs → chunk-I2PU2ABB.mjs} +1 -1
- package/dist/{chunk-O6V6PM4N.mjs → chunk-MJOCFUYJ.mjs} +1 -1
- package/dist/{chunk-SHU3YEUD.mjs → chunk-TMWYJIAL.mjs} +1 -1
- package/dist/{chunk-62NTFOV7.mjs → chunk-UNJ4LT3T.mjs} +1 -1
- package/dist/chunk-WU3JMLSC.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/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/index.mjs +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 +4 -0
- package/dist/components/HeaderFooter/HeaderDesktop.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/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/NewsGrid.mjs +1 -1
- package/dist/components/Layouts/NewsGrid.stories.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/Other/AnimatedBorder.d.ts +10 -0
- package/dist/components/Other/AnimatedBorder.js +4 -0
- package/dist/components/Other/AnimatedBorder.mjs +2 -0
- package/dist/components/Other/AnimatedBorder.stories.js +4 -0
- package/dist/components/Other/AnimatedBorder.stories.mjs +1 -0
- 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/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.js +1 -1
- package/dist/components/Pages/Page.stories.mjs +1 -1
- package/dist/components/Pages/Website.d.ts +3 -0
- package/dist/components/Pages/Website.js +4 -0
- package/dist/components/Pages/Website.mjs +1 -0
- package/dist/components/Pages/Website.stories.js +439 -0
- package/dist/components/Pages/Website.stories.mjs +1 -0
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.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.d.ts +1 -0
- package/dist/components/ui/index.js +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/components/ui/textarea.mjs +1 -1
- package/dist/cortex-reply-27IMI3G7.png +0 -0
- package/dist/cortex-reply-dark-XPAJJJYY.png +0 -0
- package/dist/cortex-reply-gradient-LS56SYPD.png +0 -0
- package/dist/globals.css +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/images/cortex-reply-bw.js +1 -0
- package/dist/images/cortex-reply-bw.mjs +1 -0
- package/dist/images/cortex-reply-dark.js +1 -0
- package/dist/images/cortex-reply-dark.mjs +1 -0
- package/dist/images/cortex-reply-gradient.js +1 -0
- package/dist/images/cortex-reply-gradient.mjs +1 -0
- package/dist/images/cortex-reply-light.js +1 -0
- package/dist/images/cortex-reply-light.mjs +1 -0
- package/dist/images/cortex-reply.js +1 -0
- package/dist/images/cortex-reply.mjs +1 -0
- package/dist/index.js +4 -4
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +1 -1
- package/dist/chunk-X6TCNLEE.mjs +0 -4
- /package/dist/{chunk-TDVKLSBH.mjs → chunk-BZAYEKYC.mjs} +0 -0
|
@@ -436,4 +436,4 @@ Unable to find an `+($R===!1?"accessible ":"")+'element with the role "'+t+'"'+u
|
|
|
436
436
|
`)),s+=p+$R[u+1]}),s}var R9=T9,Td=(0,Sw.instrument)({...bE},{intercept:(e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});Td.screen=new Proxy(Td.screen,{get(e,t,r){return C9.once.warn(R9`
|
|
437
437
|
You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
|
|
438
438
|
More info: https://storybook.js.org/docs/essentials/interactions
|
|
439
|
-
`),Reflect.get(e,t,r)}});var{buildQueries:P9,configure:O9,createEvent:x9,fireEvent:N9,findAllByAltText:M9,findAllByDisplayValue:I9,findAllByLabelText:D9,findAllByPlaceholderText:q9,findAllByRole:j9,findAllByTestId:B9,findAllByText:k9,findAllByTitle:F9,findByAltText:L9,findByDisplayValue:$9,findByLabelText:U9,findByPlaceholderText:H9,findByRole:z9,findByTestId:V9,findByText:G9,findByTitle:W9,getAllByAltText:Y9,getAllByDisplayValue:K9,getAllByLabelText:J9,getAllByPlaceholderText:X9,getAllByRole:Q9,getAllByTestId:Z9,getAllByText:e6,getAllByTitle:t6,getByAltText:r6,getByDisplayValue:n6,getByLabelText:o6,getByPlaceholderText:i6,getByRole:a6,getByTestId:s6,getByText:l6,getByTitle:u6,getConfig:c6,getDefaultNormalizer:d6,getElementError:p6,getNodeText:f6,getQueriesForElement:h6,getRoles:m6,getSuggestedQuery:g6,isInaccessible:y6,logDOM:b6,logRoles:v6,prettyDOM:E6,queries:_6,queryAllByAltText:w6,queryAllByAttribute:S6,queryAllByDisplayValue:A6,queryAllByLabelText:C6,queryAllByPlaceholderText:T6,queryAllByRole:R6,queryAllByTestId:P6,queryAllByText:O6,queryAllByTitle:x6,queryByAltText:N6,queryByAttribute:M6,queryByDisplayValue:I6,queryByLabelText:D6,queryByPlaceholderText:q6,queryByRole:j6,queryByTestId:B6,queryByText:k6,queryByTitle:F6,queryHelpers:L6,screen:$6,waitFor:U6,waitForElementToBeRemoved:H6,within:Aw,prettyFormat:z6}=Td,{userEvent:V6}=(0,Sw.instrument)({userEvent:A9},{intercept:!0}),{expect:G6}=(0,iq.instrument)({expect:dE},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===F){let $R=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?$R:[...$R,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"}),W6=({parameters:e})=>{var t,r,$R;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?gE():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?mE():(($R=e==null?void 0:e.test)==null?void 0:$R.restoreMocks)!==!1&&yE()},Ks=(e,t=0,r)=>{var $R;if(t>5||e==null)return e;if(Rp(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let o=fE(e);return r&&o.mockName(r),o}if(Array.isArray(e))return t++,e.map(o=>Ks(o,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[o,i]of Object.entries(e))($R=Object.getOwnPropertyDescriptor(e,o))!=null&&$R.writable&&(e[o]=Ks(i,t,o));return e}return e},Y6=({initialArgs:e})=>{Ks(e)},K6=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=Aw(e.canvasElement))};M0.global.__STORYBOOK_TEST_LOADERS__=[W6,Y6,K6];M0.global.__STORYBOOK_TEST_ON_MOCK_CALL__=pE});var aU={};sS(aU,{Default:()=>xa,HighImpactHero:()=>iU,LowImpactHero:()=>nU,MediumImpactHero:()=>oU,WithHeroBackgroundImage:()=>rU,default:()=>eU});module.exports=lS(aU);var Tn=Qr(require("react"));var of=require("clsx");var Ml="-",uS=e=>{let t=dS(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:$R}=e;return{getClassGroupId:s=>{let l=s.split(Ml);return l[0]===""&&l.length!==1&&l.shift(),Qp(l,t)||cS(s)},getConflictingClassGroupIds:(s,l)=>{let u=r[s]||[];return l&&$R[s]?[...u,...$R[s]]:u}}},Qp=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],$R=t.nextPart.get(r),o=$R?Qp(e.slice(1),$R):void 0;if(o)return o;if(t.validators.length===0)return;let i=e.join(Ml);return(s=t.validators.find(({validator:l})=>l(i)))==null?void 0:s.classGroupId},Jp=/^\[(.+)\]$/,cS=e=>{if(Jp.test(e)){let t=Jp.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},dS=e=>{let{theme:t,prefix:r}=e,$R={nextPart:new Map,validators:[]};return fS(Object.entries(e.classGroups),r).forEach(([i,s])=>{Nl(s,$R,i,t)}),$R},Nl=(e,t,r,$R)=>{e.forEach(o=>{if(typeof o=="string"){let i=o===""?t:Xp(t,o);i.classGroupId=r;return}if(typeof o=="function"){if(pS(o)){Nl(o($R),t,r,$R);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([i,s])=>{Nl(s,Xp(t,i),r,$R)})})},Xp=(e,t)=>{let r=e;return t.split(Ml).forEach($R=>{r.nextPart.has($R)||r.nextPart.set($R,{nextPart:new Map,validators:[]}),r=r.nextPart.get($R)}),r},pS=e=>e.isThemeGetter,fS=(e,t)=>t?e.map(([r,$R])=>{let o=$R.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,l])=>[t+s,l])):i);return[r,o]}):e,hS=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,$R=new Map,o=(i,s)=>{r.set(i,s),t++,t>e&&(t=0,$R=r,r=new Map)};return{get(i){let s=r.get(i);if(s!==void 0)return s;if((s=$R.get(i))!==void 0)return o(i,s),s},set(i,s){r.has(i)?r.set(i,s):o(i,s)}}},Zp="!",mS=e=>{let{separator:t,experimentalParseClassName:r}=e,$R=t.length===1,o=t[0],i=t.length,s=l=>{let u=[],d=0,c=0,p;for(let b=0;b<l.length;b++){let E=l[b];if(d===0){if(E===o&&($R||l.slice(b,b+i)===t)){u.push(l.slice(c,b)),c=b+i;continue}if(E==="/"){p=b;continue}}E==="["?d++:E==="]"&&d--}let h=u.length===0?l:l.substring(c),m=h.startsWith(Zp),g=m?h.substring(1):h,y=p&&p>c?p-c:void 0;return{modifiers:u,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:y}};return r?l=>r({className:l,parseClassName:s}):s},gS=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach($R=>{$R[0]==="["?(t.push(...r.sort(),$R),r=[]):r.push($R)}),t.push(...r.sort()),t},yS=e=>({cache:hS(e.cacheSize),parseClassName:mS(e),...uS(e)}),bS=/\s+/,vS=(e,t)=>{let{parseClassName:r,getClassGroupId:$R,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(bS),l="";for(let u=s.length-1;u>=0;u-=1){let d=s[u],{modifiers:c,hasImportantModifier:p,baseClassName:h,maybePostfixModifierPosition:m}=r(d),g=!!m,y=$R(g?h.substring(0,m):h);if(!y){if(!g){l=d+(l.length>0?" "+l:l);continue}if(y=$R(h),!y){l=d+(l.length>0?" "+l:l);continue}g=!1}let b=gS(c).join(":"),E=p?b+Zp:b,_=E+y;if(i.includes(_))continue;i.push(_);let O=o(y,g);for(let A=0;A<O.length;++A){let w=O[A];i.push(E+w)}l=d+(l.length>0?" "+l:l)}return l};function ES(){let e=0,t,r,$R="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ef(t))&&($R&&($R+=" "),$R+=r);return $R}var ef=e=>{if(typeof e=="string")return e;let t,r="";for(let $R=0;$R<e.length;$R++)e[$R]&&(t=ef(e[$R]))&&(r&&(r+=" "),r+=t);return r};function _S(e,...t){let r,$R,o,i=s;function s(u){let d=t.reduce((c,p)=>p(c),e());return r=yS(d),$R=r.cache.get,o=r.cache.set,i=l,l(u)}function l(u){let d=$R(u);if(d)return d;let c=vS(u,r);return o(u,c),c}return function(){return i(ES.apply(null,arguments))}}var ft=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},tf=/^\[(?:([a-z-]+):)?(.+)\]$/i,wS=/^\d+\/\d+$/,SS=new Set(["px","full","screen"]),AS=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,CS=/\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$/,TS=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,RS=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,PS=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,jr=e=>Qn(e)||SS.has(e)||wS.test(e),Zr=e=>Zn(e,"length",jS),Qn=e=>!!e&&!Number.isNaN(Number(e)),xl=e=>Zn(e,"number",Qn),Oi=e=>!!e&&Number.isInteger(Number(e)),OS=e=>e.endsWith("%")&&Qn(e.slice(0,-1)),Fe=e=>tf.test(e),en=e=>AS.test(e),xS=new Set(["length","size","percentage"]),NS=e=>Zn(e,xS,rf),MS=e=>Zn(e,"position",rf),IS=new Set(["image","url"]),DS=e=>Zn(e,IS,kS),qS=e=>Zn(e,"",BS),xi=()=>!0,Zn=(e,t,r)=>{let $R=tf.exec(e);return $R?$R[1]?typeof t=="string"?$R[1]===t:t.has($R[1]):r($R[2]):!1},jS=e=>CS.test(e)&&!TS.test(e),rf=()=>!1,BS=e=>RS.test(e),kS=e=>PS.test(e);var FS=()=>{let e=ft("colors"),t=ft("spacing"),r=ft("blur"),$R=ft("brightness"),o=ft("borderColor"),i=ft("borderRadius"),s=ft("borderSpacing"),l=ft("borderWidth"),u=ft("contrast"),d=ft("grayscale"),c=ft("hueRotate"),p=ft("invert"),h=ft("gap"),m=ft("gradientColorStops"),g=ft("gradientColorStopPositions"),y=ft("inset"),b=ft("margin"),E=ft("opacity"),_=ft("padding"),O=ft("saturate"),A=ft("scale"),w=ft("sepia"),S=ft("skew"),T=ft("space"),C=ft("translate"),N=()=>["auto","contain","none"],U=()=>["auto","hidden","clip","visible","scroll"],X=()=>["auto",Fe,t],V=()=>[Fe,t],J=()=>["",jr,Zr],P=()=>["auto",Qn,Fe],B=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>["start","end","center","between","around","evenly","stretch"],Se=()=>["","0",Fe],De=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Pe=()=>[Qn,Fe];return{cacheSize:500,separator:":",theme:{colors:[xi],spacing:[jr,Zr],blur:["none","",en,Fe],brightness:Pe(),borderColor:[e],borderRadius:["none","","full",en,Fe],borderSpacing:V(),borderWidth:J(),contrast:Pe(),grayscale:Se(),hueRotate:Pe(),invert:Se(),gap:V(),gradientColorStops:[e],gradientColorStopPositions:[OS,Zr],inset:X(),margin:X(),opacity:Pe(),padding:V(),saturate:Pe(),scale:Pe(),sepia:Se(),skew:Pe(),space:V(),translate:V()},classGroups:{aspect:[{aspect:["auto","square","video",Fe]}],container:["container"],columns:[{columns:[en]}],"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:[...B(),Fe]}],overflow:[{overflow:U()}],"overflow-x":[{"overflow-x":U()}],"overflow-y":[{"overflow-y":U()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Oi,Fe]}],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",Fe]}],grow:[{grow:Se()}],shrink:[{shrink:Se()}],order:[{order:["first","last","none",Oi,Fe]}],"grid-cols":[{"grid-cols":[xi]}],"col-start-end":[{col:["auto",{span:["full",Oi,Fe]},Fe]}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":[xi]}],"row-start-end":[{row:["auto",{span:[Oi,Fe]},Fe]}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Fe]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Fe]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[_]}],px:[{px:[_]}],py:[{py:[_]}],ps:[{ps:[_]}],pe:[{pe:[_]}],pt:[{pt:[_]}],pr:[{pr:[_]}],pb:[{pb:[_]}],pl:[{pl:[_]}],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":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Fe,t]}],"min-w":[{"min-w":[Fe,t,"min","max","fit"]}],"max-w":[{"max-w":[Fe,t,"none","full","min","max","fit","prose",{screen:[en]},en]}],h:[{h:[Fe,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Fe,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Fe,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Fe,t,"auto","min","max","fit"]}],"font-size":[{text:["base",en,Zr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",xl]}],"font-family":[{font:[xi]}],"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",Fe]}],"line-clamp":[{"line-clamp":["none",Qn,xl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",jr,Fe]}],"list-image":[{"list-image":["none",Fe]}],"list-style-type":[{list:["none","disc","decimal",Fe]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[E]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[E]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",jr,Zr]}],"underline-offset":[{"underline-offset":["auto",jr,Fe]}],"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:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Fe]}],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",Fe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[E]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...B(),MS]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",NS]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},DS]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[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":[E]}],"border-style":[{border:[...K(),"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":[E]}],"divide-style":[{divide:K()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[jr,Fe]}],"outline-w":[{outline:[jr,Zr]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:J()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[E]}],"ring-offset-w":[{"ring-offset":[jr,Zr]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",en,qS]}],"shadow-color":[{shadow:[xi]}],opacity:[{opacity:[E]}],"mix-blend":[{"mix-blend":[...fe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":fe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[$R]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",en,Fe]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[p]}],saturate:[{saturate:[O]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[$R]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[E]}],"backdrop-saturate":[{"backdrop-saturate":[O]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Fe]}],duration:[{duration:Pe()}],ease:[{ease:["linear","in","out","in-out",Fe]}],delay:[{delay:Pe()}],animate:[{animate:["none","spin","ping","pulse","bounce",Fe]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[A]}],"scale-x":[{"scale-x":[A]}],"scale-y":[{"scale-y":[A]}],rotate:[{rotate:[Oi,Fe]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Fe]}],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","$R-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",Fe]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-mt":[{"scroll-mt":V()}],"scroll-mr":[{"scroll-mr":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"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",Fe]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[jr,Zr,xl]}],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 nf=_S(FS);function ht(...e){return nf((0,of.clsx)(e))}var Rn=require("react/jsx-runtime"),Ma=Tn.forwardRef(({className:e,...t},r)=>(0,Rn.jsx)("div",{ref:r,className:ht("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Ma.displayName="Card";var Ia=Tn.forwardRef(({className:e,...t},r)=>(0,Rn.jsx)("div",{ref:r,className:ht("flex flex-col space-y-1.5 p-6",e),...t}));Ia.displayName="CardHeader";var Da=Tn.forwardRef(({className:e,...t},r)=>(0,Rn.jsx)("div",{ref:r,className:ht("font-semibold leading-none tracking-tight",e),...t}));Da.displayName="CardTitle";var LS=Tn.forwardRef(({className:e,...t},r)=>(0,Rn.jsx)("div",{ref:r,className:ht("text-sm text-muted-foreground",e),...t}));LS.displayName="CardDescription";var qa=Tn.forwardRef(({className:e,...t},r)=>(0,Rn.jsx)("div",{ref:r,className:ht("p-6 pt-0",e),...t}));qa.displayName="CardContent";var $S=Tn.forwardRef(({className:e,...t},r)=>(0,Rn.jsx)("div",{ref:r,className:ht("flex items-center p-6 pt-0",e),...t}));$S.displayName="CardFooter";var af=require("@radix-ui/react-slot"),sf=require("class-variance-authority"),lf=Qr(require("react")),US=(0,sf.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),Pn=lf.forwardRef(({asChild:e=!1,className:t,size:r,variant:$R,...o},i)=>(0,Rn.jsx)(e?af.Slot:"button",{className:ht(US({className:t,size:r,variant:$R})),ref:i,...o}));Pn.displayName="Button";var Va=require("lucide-react");var Ni=({type:e="solid",iconName:t="cloud",size:r="lg",className:$R})=>{let o="fa-"+e+" ",i="fa-"+t,s=$R!=null?$R:"",l=o+i+" fa-"+r+" "+s;return(0,Rn.jsx)("i",{className:l})};var On=require("react"),Zt=require("@headlessui/react"),Ba=require("@heroicons/react/24/outline"),Mi=require("@heroicons/react/20/solid");var HS=({name:e,items:t,actions:r=[],href:$R})=>!t&&$R?(0,Rn.jsxs)("a",{href:$R,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,Rn.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,Rn.jsxs)(Zt.Popover,{children:[(0,Rn.jsxs)(Zt.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Rn.jsxs)("span",{className:"relative",children:[e,(0,Rn.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,Rn.jsx)(Mi.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,Rn.jsxs)(Zt.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,Rn.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(o=>(0,Rn.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,Rn.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,Rn.jsx)(o.icon,{"aria-hidden":"true",size:"6x"})}),(0,Rn.jsxs)("a",{href:o.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[o.name,(0,Rn.jsx)("span",{className:"absolute inset-0"})]}),(0,Rn.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:o.description})]},o.name))}),r.length>0&&(0,Rn.jsx)("div",{className:"bg-gray-50",children:(0,Rn.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Rn.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(o=>(0,Rn.jsxs)("a",{href:o.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,Rn.jsx)(o.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),o.name]},o.name))})})})]})]}),pf=HS;var ja=["light","dark","green"];function ff({title:e,logo:t,menuItems:r}){let[$R,o]=(0,On.useState)(!1),[i,s]=(0,On.useState)(!1),[l,u]=(0,On.useState)("light"),d=t==null?void 0:t.split(".")[0],c=t==null?void 0:t.split(".")[1],[p,h]=(0,On.useState)(`${d}.${c}`),m=y=>{ja.includes(y)?h(y==="light"?`${d}.${c}`:`${d}-${y}.${c}`):h(`${d}.${c}`)};(0,On.useEffect)(()=>{let y=localStorage.getItem("theme")||"light";console.log("storedTheme",y),u(y),document.documentElement.setAttribute("class",y),m(y)},[]);let g=()=>{let y=ja[(ja.indexOf(l)+1)%ja.length];u(y),document.documentElement.setAttribute("class",y),localStorage.setItem("theme",y),m(y)};return(0,Rn.jsxs)("header",{className:"relative isolate z-10 bg-background h-14",children:[(0,Rn.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,Rn.jsx)("div",{className:"flex lg:flex-1",children:(0,Rn.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,Rn.jsx)("span",{className:"sr-only",children:e}),(0,Rn.jsx)("img",{alt:e,src:p,className:"h-9 w-auto"})]})}),(0,Rn.jsx)("div",{className:"flex lg:hidden",children:(0,Rn.jsxs)("button",{type:"button",onClick:()=>o(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,Rn.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Rn.jsx)(Ba.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,Rn.jsx)(Zt.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:r.map(y=>(0,Rn.jsx)(pf,{...y},y.name))}),(0,Rn.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,Rn.jsx)("button",{onClick:g,className:"p-2 text-gray-700 outline-none",children:l==="dark"?(0,Rn.jsx)(Mi.SunIcon,{className:"h-6 w-6"}):l==="green"?(0,Rn.jsx)(Mi.MoonIcon,{className:"h-6 w-6"}):(0,Rn.jsx)(Mi.SunIcon,{className:"h-6 w-6"})})})]}),(0,Rn.jsxs)(Zt.Dialog,{open:$R,onClose:o,className:"lg:hidden",children:[(0,Rn.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Rn.jsxs)(Zt.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Rn.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Rn.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,Rn.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,Rn.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,Rn.jsxs)("button",{type:"button",onClick:()=>o(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,Rn.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Rn.jsx)(Ba.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Rn.jsx)("div",{className:"mt-6 flow-root",children:(0,Rn.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Rn.jsx)("div",{className:"space-y-2 py-6",children:r.map(y=>(0,Rn.jsx)(zS,{...y},y.name))})})})]})]})]})}function zS({name:e,items:t,actions:r,href:$R}){return!t&&$R?(0,Rn.jsx)("a",{href:$R,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,Rn.jsxs)(Zt.Disclosure,{as:"div",className:"-mx-3",children:[(0,Rn.jsx)(Zt.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,Rn.jsx)(Zt.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(o=>(0,Rn.jsx)(Zt.DisclosureButton,{as:"a",href:o.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:o.name},o.name))})]})}var hf=({className:e,content:t,style:r})=>(0,Rn.jsx)("div",{className:ht("mx-auto my-8 w-full",e),children:(0,Rn.jsx)("div",{className:ht("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,Rn.jsx)(wr,{content:t,enableGutter:!1,enableProse:!1})})});var Il=Qr(require("next/link")),to=e=>{let{type:t,appearance:r="inline",children:$R,className:o,label:i,newTab:s,reference:l,size:u,url:d}=e,c=t==="reference"&&typeof(l==null?void 0:l.value)=="object"&&l.value.slug?`${(l==null?void 0:l.relationTo)!=="pages"?`/${l==null?void 0:l.relationTo}`:""}/${l.value.slug}`:d;if(!c)return null;let p=r==="link"?"clear":u,h=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Rn.jsxs)(Il.default,{className:ht(o),href:c||d||"",...h,children:[i&&i,$R&&$R]}):(0,Rn.jsx)(Pn,{asChild:!0,className:o,size:p,variant:r,children:(0,Rn.jsxs)(Il.default,{className:ht(o),href:c||d||"",...h,children:[i&&i,$R&&$R]})})};var mf=({links:e,richText:t})=>(0,Rn.jsx)("div",{className:"container",children:(0,Rn.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Rn.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Rn.jsx)(wr,{className:"mb-0",content:t,enableGutter:!1})}),(0,Rn.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},$R)=>(0,Rn.jsx)(to,{size:"lg",...r},$R))})]})});var Fa=require("prism-react-renderer");function bf({code:e}){let[t,r]=(0,On.useState)("Copy");function $R(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Rn.jsx)("div",{className:"flex justify-end align-middle",children:(0,Rn.jsxs)(Pn,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),$R()},children:[(0,Rn.jsx)("p",{children:t}),(0,Rn.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Rn.jsx)(Va.ClipboardCopy,{})})]})})}var vf=({code:e,language:t=""})=>e?(0,Rn.jsx)(Fa.Highlight,{code:e,language:t,theme:Fa.themes.vsDark,children:({getLineProps:r,getTokenProps:$R,tokens:o})=>(0,Rn.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[o.map((i,s)=>(0,Rn.jsxs)("div",{...r({className:"table-row",line:i}),children:[(0,Rn.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,Rn.jsx)("span",{className:"table-cell pl-4",children:i.map((l,u)=>(0,Rn.jsx)("span",{...$R({token:l})},u))})]},s)),(0,Rn.jsx)(bf,{code:e})]})}):null;var Ef=({className:e,code:t,language:r})=>(0,Rn.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Rn.jsx)(vf,{code:t,language:r})});var wf=Qr(require("next/image"));var _f=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var La=()=>{if(_f){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var VS={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},GS="data:image/png;base64,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",Sf=e=>{let{alt:t,fill:r,imgClassName:$R,priority:o,resource:i,size:s,src:l,loading:u}=e,d,c,p=t,h=l||"";if(!h&&i&&typeof i=="object"){let{alt:y,filename:b,height:E,url:_,width:O}=i;d=O,c=E,p=y||"",h=`${La()}${_}`}let m=u||"lazy",g=s||Object.entries(VS).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,Rn.jsx)("picture",{children:(0,Rn.jsx)(wf.default,{alt:p||"",className:ht($R),fill:r,height:r?void 0:c,placeholder:"blur",blurDataURL:GS,priority:m!=="lazy"&&o,quality:100,loading:m,sizes:g,src:h,width:r?void 0:d})})};var Af=e=>{let{onClick:t,resource:r,videoClassName:$R}=e,o=(0,$a.useRef)(null);if((0,$a.useEffect)(()=>{let{current:i}=o;i&&i.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:i}=r;return(0,Rn.jsx)("video",{autoPlay:!0,className:ht($R),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:o,children:(0,Rn.jsx)("source",{src:`${La()}/media/${i}`})})}return null};var ro=e=>{var s;let{className:t,htmlElement:r="div",resource:$R}=e,o=typeof $R=="object"&&((s=$R==null?void 0:$R.mimeType)==null?void 0:s.includes("video"));return(0,Rn.jsx)(r||On.Fragment,{...r!==null?{className:t}:{},children:o?(0,Rn.jsx)(Af,{...e}):(0,Rn.jsx)(Sf,{...e})})};var Tf=e=>{let{className:t,enableGutter:r=!0,imgClassName:$R,media:o,staticImage:i}=e;return(0,Rn.jsx)("div",{className:ht("",{container:r},t),children:(0,Rn.jsx)(ro,{imgClassName:ht("border border-border rounded-[0.8rem]",$R),resource:o,src:i})})};var Ha=Qr(require("react"));function kl({nodes:e}){return(0,Rn.jsx)(Ha.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let i=(0,Rn.jsx)(Ha.default.Fragment,{children:t.text},r);return t.format&1&&(i=(0,Rn.jsx)("strong",{children:i},r)),t.format&2&&(i=(0,Rn.jsx)("em",{children:i},r)),t.format&4&&(i=(0,Rn.jsx)("span",{style:{textDecoration:"line-through"},children:i},r)),t.format&8&&(i=(0,Rn.jsx)("span",{style:{textDecoration:"underline"},children:i},r)),t.format&16&&(i=(0,Rn.jsx)("code",{children:t.text},r)),t.format&32&&(i=(0,Rn.jsx)("sub",{children:i},r)),t.format&64&&(i=(0,Rn.jsx)("sup",{children:i},r)),i}let $R=i=>{if(i.children==null)return null;if((i==null?void 0:i.type)==="list"&&(i==null?void 0:i.listType)==="check")for(let s of i.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return kl({nodes:i.children})},o="children"in t?$R(t):"";if(t.type==="block"){let i=t.fields,s=i==null?void 0:i.blockType;if(!i||!s)return null;switch(s){case"cta":return(0,Rn.jsx)(mf,{...i},r);case"mediaBlock":return(0,Rn.jsx)(Tf,{className:"col-start-1 col-span-3",imgClassName:"m-0",...i,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Rn.jsx)(hf,{className:"col-start-2 mb-4",...i},r);case"code":return(0,Rn.jsx)(Ef,{className:"col-start-2",...i},r);default:return null}}else switch(t.type){case"linebreak":return(0,Rn.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Rn.jsx)("p",{className:"col-start-2",children:o},r);case"heading":{let i=t==null?void 0:t.tag;return(0,Rn.jsx)(i,{className:"col-start-2",children:o},r)}case"list":{let i=t==null?void 0:t.tag;return(0,Rn.jsx)(i,{className:"list col-start-2",children:o},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Rn.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:o},r):(0,Rn.jsx)("li",{value:t==null?void 0:t.value,children:o},r);case"quote":return(0,Rn.jsx)("blockquote",{className:"col-start-2",children:o},r);case"link":{let i=t.fields;return(0,Rn.jsx)(to,{newTab:!!(i!=null&&i.newTab),reference:i.doc,type:i.linkType==="internal"?"reference":"custom",url:i.url,children:o},r)}default:return null}})})}var wr=({className:e,content:t,enableGutter:r=!0,enableProse:$R=!0})=>{var o;return t?(0,Rn.jsx)("div",{className:ht({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":$R},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&kl({nodes:(o=t==null?void 0:t.root)==null?void 0:o.children})}):null};var Pf=({children:e,richText:t})=>(0,Rn.jsx)("div",{className:"container mx-0 min-w-full py-8 bg-muted",children:(0,Rn.jsx)("div",{className:"max-w-[48rem] px-16",children:e||t&&(0,Rn.jsx)(wr,{content:t,enableGutter:!1})})});var Of=Qr(require("next/image"));var xf=({links:e,media:t,children:r,richText:$R})=>(0,Rn.jsxs)("div",{className:"relative bg-brand-one pb-12 pt-10",children:[t&&typeof t=="object"&&(0,Rn.jsx)(ro,{imgClassName:"mix-blend-overlay opacity-50",fill:!0,priority:!0,resource:t}),t&&typeof t=="string"&&(0,Rn.jsx)("div",{children:(0,Rn.jsx)(Of.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:t})}),(0,Rn.jsx)("div",{className:"container mx-0 min-w-full relative z-9",children:(0,Rn.jsx)("div",{className:"text-brand-one-foreground px-16",children:r||$R&&(0,Rn.jsx)(wr,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:$R,enableProse:!0,enableGutter:!1})})})]});var Nf=Qr(require("next/image"));var Mf=({links:e,media:t,children:r,richText:$R})=>(0,Rn.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-center justify-center text-white","data-theme":"dark",children:[(0,Rn.jsx)("div",{className:"container mb-8 z-10 relative flex items-center justify-center",children:(0,Rn.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[r||$R&&(0,Rn.jsx)(wr,{className:"mb-6",content:$R,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,Rn.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:o},i)=>(0,Rn.jsx)("li",{children:(0,Rn.jsx)(to,{...o})},i))})]})}),(0,Rn.jsxs)("div",{className:"min-h-[80vh] select-none",children:[t&&typeof t=="object"&&(0,Rn.jsx)(ro,{fill:!0,imgClassName:"-z-10 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Rn.jsx)("div",{children:(0,Rn.jsx)(Nf.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})})]})]});function Ga({...e}){return(0,Rn.jsxs)("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[(0,Rn.jsx)(ff,{...e.header}),(0,Rn.jsxs)("div",{className:"relative",children:[e.hero&&e.hero.type==="lowImpact"&&(0,Rn.jsx)(Pf,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,Rn.jsx)(xf,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,Rn.jsx)(Mf,{...e.hero}),(0,Rn.jsx)("div",{className:"container py-8",children:(0,Rn.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,Rn.jsx)("div",{className:"lg:col-span-2",children:e.children}),(0,Rn.jsxs)("div",{className:"space-y-6",children:[(0,Rn.jsxs)(Ma,{children:[(0,Rn.jsx)(Ia,{children:(0,Rn.jsx)(Da,{children:"Quick Actions"})}),(0,Rn.jsxs)(qa,{children:[(0,Rn.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,Rn.jsx)(Pn,{className:"w-full",children:"Create New"})]})]}),(0,Rn.jsxs)(Ma,{children:[(0,Rn.jsx)(Ia,{children:(0,Rn.jsx)(Da,{children:"Resources"})}),(0,Rn.jsx)(qa,{children:(0,Rn.jsxs)("nav",{className:"flex flex-col space-y-2",children:[(0,Rn.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",(0,Rn.jsx)(Va.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,Rn.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",(0,Rn.jsx)(Va.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,Rn.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",(0,Rn.jsx)(Va.ExternalLink,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})]})}var Tl=Qr(Cw());var J6=()=>(0,Rn.jsx)(Ni,{iconName:"github",size:"4x",type:"brands"});var X6=()=>(0,Rn.jsx)(Ni,{iconName:"people-sharing",size:"4x",type:"kit"}),Q6=()=>(0,Rn.jsx)(Ni,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),Z6=()=>(0,Rn.jsx)(Ni,{iconName:"development",size:"4x",type:"kit"}),eU={title:"Pages/Page",component:Ga,decorators:[e=>(0,Rn.jsx)("div",{className:"bg-sidebar",children:(0,Rn.jsx)(e,{})})]},tU=e=>(0,Rn.jsx)(Ga,{...e}),xa={render:tU,args:{title:"Storage Service",section:"Storage",description:"A scalable object storage service that offers industry-leading performance, security, and availability.",children:(0,Rn.jsxs)("div",{className:"prose max-w-none",children:[(0,Rn.jsx)("h2",{children:"How it works"}),(0,Rn.jsx)("p",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}),(0,Rn.jsx)("div",{className:"aspect-video overflow-hidden rounded-lg bg-slate-100",children:(0,Rn.jsx)("div",{className:"flex h-full items-center justify-center",children:"Video Placeholder"})})]}),header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:Q6},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:X6},{name:"Products",description:"Products that we sell",href:"#",icon:Z6}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:Ba.ChartPieIcon},{name:"API Reference",href:"#",icon:Ba.CursorArrowRaysIcon},{name:"Github",href:"#",icon:J6}],actions:[{name:"Watch demo",href:"#",icon:Mi.PlayCircleIcon},{name:"Contact sales",href:"#",icon:Mi.PhoneIcon},{name:"View all products",href:"#",icon:Mi.RectangleGroupIcon}]},{name:"Intranet",href:"#"}]},sidebarRight:{tableOfContents:[{title:"Getting Started",url:"#",links:[{title:"Installation",url:"#",isActive:!0},{title:"Project Structure",url:"#"}]},{title:"Building Your Application",url:"#",links:[{title:"Routing",url:"#",isDraft:!0},{title:"Data Fetching",url:"#"},{title:"Rendering",url:"#"},{title:"Caching",url:"#"},{title:"Styling",url:"#"},{title:"Optimizing",url:"#"},{title:"Configuring",url:"#"},{title:"Testing",url:"#"},{title:"Authentication",url:"#"},{title:"Deploying",url:"#"},{title:"Upgrading",url:"#"},{title:"Examples",url:"#"}]},{title:"API Reference",url:"#",links:[{title:"Components",url:"#"},{title:"File Conventions",url:"#"},{title:"Functions",url:"#"},{title:"next.config.js Options",url:"#"},{title:"CLI",url:"#"},{title:"Edge Runtime",url:"#"}]},{title:"Architecture",url:"#",links:[{title:"Accessibility",url:"#"},{title:"Fast Refresh",url:"#"},{title:"Next.js Compiler",url:"#"},{title:"Supported Browsers",url:"#"},{title:"Turbopack",url:"#"}]},{title:"Community",url:"#",links:[{title:"Contribution Guide",url:"#"}]}],relatedContent:{knowledge:[{label:"AWS Risk Assessment Terraform Module",url:"/knowledge/terraform_risk_assessment_AWS/_index.md",type:"published"},{label:"AWS Airview CCF Terraform Module",url:"/knowledge/terraform_aws_airview_ccf/_index.md",type:"note"}],services:[{label:"AWS Account Vending Machine",url:"/services/aws_account_vending_machine/_index.md",type:"published"},{label:"AWS Beanstalk",url:"/services/aws_beanstalk/_index.md",type:"draft"},{label:"AWS Airwalk Network Firewall Terraform Module",url:"/services/aws_vpc/terraform-aws-airwalk-module-networkfirewall.md",type:"published"},{label:"AWS WAF and Shield",url:"/services/aws_waf_and_shield/_index.md",type:"published"}]},onAddDocument:(0,Tl.fn)(),onEditDocument:(0,Tl.fn)(),onPrintDocument:(0,Tl.fn)()}}},rU={args:{...xa.args,heroBackgroundImage:"stock1.jpg?height=400&width=800"}},nU={args:{...xa.args,hero:{type:"lowImpact",children:(0,Rn.jsx)("h1",{className:"text-4xl font-bold",children:"Low Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},oU={args:{...xa.args,hero:{type:"mediumImpact",media:"stock1.jpg?height=400&width=800",children:(0,Rn.jsx)("h1",{className:"text-4xl font-bold",children:"Medium Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},iU={args:{...xa.args,hero:{type:"highImpact",children:(0,Rn.jsx)("h1",{className:"text-4xl font-bold",children:"Low Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}};0&&(module.exports={Default,HighImpactHero,LowImpactHero,MediumImpactHero,WithHeroBackgroundImage});
|
|
439
|
+
`),Reflect.get(e,t,r)}});var{buildQueries:P9,configure:O9,createEvent:x9,fireEvent:N9,findAllByAltText:M9,findAllByDisplayValue:I9,findAllByLabelText:D9,findAllByPlaceholderText:q9,findAllByRole:j9,findAllByTestId:B9,findAllByText:k9,findAllByTitle:F9,findByAltText:L9,findByDisplayValue:$9,findByLabelText:U9,findByPlaceholderText:H9,findByRole:z9,findByTestId:V9,findByText:G9,findByTitle:W9,getAllByAltText:Y9,getAllByDisplayValue:K9,getAllByLabelText:J9,getAllByPlaceholderText:X9,getAllByRole:Q9,getAllByTestId:Z9,getAllByText:e6,getAllByTitle:t6,getByAltText:r6,getByDisplayValue:n6,getByLabelText:o6,getByPlaceholderText:i6,getByRole:a6,getByTestId:s6,getByText:l6,getByTitle:u6,getConfig:c6,getDefaultNormalizer:d6,getElementError:p6,getNodeText:f6,getQueriesForElement:h6,getRoles:m6,getSuggestedQuery:g6,isInaccessible:y6,logDOM:b6,logRoles:v6,prettyDOM:E6,queries:_6,queryAllByAltText:w6,queryAllByAttribute:S6,queryAllByDisplayValue:A6,queryAllByLabelText:C6,queryAllByPlaceholderText:T6,queryAllByRole:R6,queryAllByTestId:P6,queryAllByText:O6,queryAllByTitle:x6,queryByAltText:N6,queryByAttribute:M6,queryByDisplayValue:I6,queryByLabelText:D6,queryByPlaceholderText:q6,queryByRole:j6,queryByTestId:B6,queryByText:k6,queryByTitle:F6,queryHelpers:L6,screen:$6,waitFor:U6,waitForElementToBeRemoved:H6,within:Aw,prettyFormat:z6}=Td,{userEvent:V6}=(0,Sw.instrument)({userEvent:A9},{intercept:!0}),{expect:G6}=(0,iq.instrument)({expect:dE},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===F){let $R=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?$R:[...$R,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"}),W6=({parameters:e})=>{var t,r,$R;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?gE():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?mE():(($R=e==null?void 0:e.test)==null?void 0:$R.restoreMocks)!==!1&&yE()},Ks=(e,t=0,r)=>{var $R;if(t>5||e==null)return e;if(Rp(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let o=fE(e);return r&&o.mockName(r),o}if(Array.isArray(e))return t++,e.map(o=>Ks(o,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[o,i]of Object.entries(e))($R=Object.getOwnPropertyDescriptor(e,o))!=null&&$R.writable&&(e[o]=Ks(i,t,o));return e}return e},Y6=({initialArgs:e})=>{Ks(e)},K6=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=Aw(e.canvasElement))};M0.global.__STORYBOOK_TEST_LOADERS__=[W6,Y6,K6];M0.global.__STORYBOOK_TEST_ON_MOCK_CALL__=pE});var aU={};sS(aU,{Default:()=>xa,HighImpactHero:()=>iU,LowImpactHero:()=>nU,MediumImpactHero:()=>oU,WithHeroBackgroundImage:()=>rU,default:()=>eU});module.exports=lS(aU);var Tn=Qr(require("react"));var of=require("clsx");var Ml="-",uS=e=>{let t=dS(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:$R}=e;return{getClassGroupId:s=>{let l=s.split(Ml);return l[0]===""&&l.length!==1&&l.shift(),Qp(l,t)||cS(s)},getConflictingClassGroupIds:(s,l)=>{let u=r[s]||[];return l&&$R[s]?[...u,...$R[s]]:u}}},Qp=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],$R=t.nextPart.get(r),o=$R?Qp(e.slice(1),$R):void 0;if(o)return o;if(t.validators.length===0)return;let i=e.join(Ml);return(s=t.validators.find(({validator:l})=>l(i)))==null?void 0:s.classGroupId},Jp=/^\[(.+)\]$/,cS=e=>{if(Jp.test(e)){let t=Jp.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},dS=e=>{let{theme:t,prefix:r}=e,$R={nextPart:new Map,validators:[]};return fS(Object.entries(e.classGroups),r).forEach(([i,s])=>{Nl(s,$R,i,t)}),$R},Nl=(e,t,r,$R)=>{e.forEach(o=>{if(typeof o=="string"){let i=o===""?t:Xp(t,o);i.classGroupId=r;return}if(typeof o=="function"){if(pS(o)){Nl(o($R),t,r,$R);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([i,s])=>{Nl(s,Xp(t,i),r,$R)})})},Xp=(e,t)=>{let r=e;return t.split(Ml).forEach($R=>{r.nextPart.has($R)||r.nextPart.set($R,{nextPart:new Map,validators:[]}),r=r.nextPart.get($R)}),r},pS=e=>e.isThemeGetter,fS=(e,t)=>t?e.map(([r,$R])=>{let o=$R.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,l])=>[t+s,l])):i);return[r,o]}):e,hS=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,$R=new Map,o=(i,s)=>{r.set(i,s),t++,t>e&&(t=0,$R=r,r=new Map)};return{get(i){let s=r.get(i);if(s!==void 0)return s;if((s=$R.get(i))!==void 0)return o(i,s),s},set(i,s){r.has(i)?r.set(i,s):o(i,s)}}},Zp="!",mS=e=>{let{separator:t,experimentalParseClassName:r}=e,$R=t.length===1,o=t[0],i=t.length,s=l=>{let u=[],d=0,c=0,p;for(let b=0;b<l.length;b++){let E=l[b];if(d===0){if(E===o&&($R||l.slice(b,b+i)===t)){u.push(l.slice(c,b)),c=b+i;continue}if(E==="/"){p=b;continue}}E==="["?d++:E==="]"&&d--}let h=u.length===0?l:l.substring(c),m=h.startsWith(Zp),g=m?h.substring(1):h,y=p&&p>c?p-c:void 0;return{modifiers:u,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:y}};return r?l=>r({className:l,parseClassName:s}):s},gS=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach($R=>{$R[0]==="["?(t.push(...r.sort(),$R),r=[]):r.push($R)}),t.push(...r.sort()),t},yS=e=>({cache:hS(e.cacheSize),parseClassName:mS(e),...uS(e)}),bS=/\s+/,vS=(e,t)=>{let{parseClassName:r,getClassGroupId:$R,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(bS),l="";for(let u=s.length-1;u>=0;u-=1){let d=s[u],{modifiers:c,hasImportantModifier:p,baseClassName:h,maybePostfixModifierPosition:m}=r(d),g=!!m,y=$R(g?h.substring(0,m):h);if(!y){if(!g){l=d+(l.length>0?" "+l:l);continue}if(y=$R(h),!y){l=d+(l.length>0?" "+l:l);continue}g=!1}let b=gS(c).join(":"),E=p?b+Zp:b,_=E+y;if(i.includes(_))continue;i.push(_);let O=o(y,g);for(let A=0;A<O.length;++A){let w=O[A];i.push(E+w)}l=d+(l.length>0?" "+l:l)}return l};function ES(){let e=0,t,r,$R="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ef(t))&&($R&&($R+=" "),$R+=r);return $R}var ef=e=>{if(typeof e=="string")return e;let t,r="";for(let $R=0;$R<e.length;$R++)e[$R]&&(t=ef(e[$R]))&&(r&&(r+=" "),r+=t);return r};function _S(e,...t){let r,$R,o,i=s;function s(u){let d=t.reduce((c,p)=>p(c),e());return r=yS(d),$R=r.cache.get,o=r.cache.set,i=l,l(u)}function l(u){let d=$R(u);if(d)return d;let c=vS(u,r);return o(u,c),c}return function(){return i(ES.apply(null,arguments))}}var ft=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},tf=/^\[(?:([a-z-]+):)?(.+)\]$/i,wS=/^\d+\/\d+$/,SS=new Set(["px","full","screen"]),AS=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,CS=/\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$/,TS=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,RS=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,PS=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,jr=e=>Qn(e)||SS.has(e)||wS.test(e),Zr=e=>Zn(e,"length",jS),Qn=e=>!!e&&!Number.isNaN(Number(e)),xl=e=>Zn(e,"number",Qn),Oi=e=>!!e&&Number.isInteger(Number(e)),OS=e=>e.endsWith("%")&&Qn(e.slice(0,-1)),Fe=e=>tf.test(e),en=e=>AS.test(e),xS=new Set(["length","size","percentage"]),NS=e=>Zn(e,xS,rf),MS=e=>Zn(e,"position",rf),IS=new Set(["image","url"]),DS=e=>Zn(e,IS,kS),qS=e=>Zn(e,"",BS),xi=()=>!0,Zn=(e,t,r)=>{let $R=tf.exec(e);return $R?$R[1]?typeof t=="string"?$R[1]===t:t.has($R[1]):r($R[2]):!1},jS=e=>CS.test(e)&&!TS.test(e),rf=()=>!1,BS=e=>RS.test(e),kS=e=>PS.test(e);var FS=()=>{let e=ft("colors"),t=ft("spacing"),r=ft("blur"),$R=ft("brightness"),o=ft("borderColor"),i=ft("borderRadius"),s=ft("borderSpacing"),l=ft("borderWidth"),u=ft("contrast"),d=ft("grayscale"),c=ft("hueRotate"),p=ft("invert"),h=ft("gap"),m=ft("gradientColorStops"),g=ft("gradientColorStopPositions"),y=ft("inset"),b=ft("margin"),E=ft("opacity"),_=ft("padding"),O=ft("saturate"),A=ft("scale"),w=ft("sepia"),S=ft("skew"),T=ft("space"),C=ft("translate"),N=()=>["auto","contain","none"],U=()=>["auto","hidden","clip","visible","scroll"],X=()=>["auto",Fe,t],V=()=>[Fe,t],J=()=>["",jr,Zr],P=()=>["auto",Qn,Fe],B=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>["start","end","center","between","around","evenly","stretch"],Se=()=>["","0",Fe],De=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Pe=()=>[Qn,Fe];return{cacheSize:500,separator:":",theme:{colors:[xi],spacing:[jr,Zr],blur:["none","",en,Fe],brightness:Pe(),borderColor:[e],borderRadius:["none","","full",en,Fe],borderSpacing:V(),borderWidth:J(),contrast:Pe(),grayscale:Se(),hueRotate:Pe(),invert:Se(),gap:V(),gradientColorStops:[e],gradientColorStopPositions:[OS,Zr],inset:X(),margin:X(),opacity:Pe(),padding:V(),saturate:Pe(),scale:Pe(),sepia:Se(),skew:Pe(),space:V(),translate:V()},classGroups:{aspect:[{aspect:["auto","square","video",Fe]}],container:["container"],columns:[{columns:[en]}],"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:[...B(),Fe]}],overflow:[{overflow:U()}],"overflow-x":[{"overflow-x":U()}],"overflow-y":[{"overflow-y":U()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Oi,Fe]}],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",Fe]}],grow:[{grow:Se()}],shrink:[{shrink:Se()}],order:[{order:["first","last","none",Oi,Fe]}],"grid-cols":[{"grid-cols":[xi]}],"col-start-end":[{col:["auto",{span:["full",Oi,Fe]},Fe]}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":[xi]}],"row-start-end":[{row:["auto",{span:[Oi,Fe]},Fe]}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Fe]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Fe]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[_]}],px:[{px:[_]}],py:[{py:[_]}],ps:[{ps:[_]}],pe:[{pe:[_]}],pt:[{pt:[_]}],pr:[{pr:[_]}],pb:[{pb:[_]}],pl:[{pl:[_]}],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":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Fe,t]}],"min-w":[{"min-w":[Fe,t,"min","max","fit"]}],"max-w":[{"max-w":[Fe,t,"none","full","min","max","fit","prose",{screen:[en]},en]}],h:[{h:[Fe,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Fe,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Fe,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Fe,t,"auto","min","max","fit"]}],"font-size":[{text:["base",en,Zr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",xl]}],"font-family":[{font:[xi]}],"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",Fe]}],"line-clamp":[{"line-clamp":["none",Qn,xl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",jr,Fe]}],"list-image":[{"list-image":["none",Fe]}],"list-style-type":[{list:["none","disc","decimal",Fe]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[E]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[E]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",jr,Zr]}],"underline-offset":[{"underline-offset":["auto",jr,Fe]}],"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:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Fe]}],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",Fe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[E]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...B(),MS]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",NS]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},DS]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[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":[E]}],"border-style":[{border:[...K(),"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":[E]}],"divide-style":[{divide:K()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[jr,Fe]}],"outline-w":[{outline:[jr,Zr]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:J()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[E]}],"ring-offset-w":[{"ring-offset":[jr,Zr]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",en,qS]}],"shadow-color":[{shadow:[xi]}],opacity:[{opacity:[E]}],"mix-blend":[{"mix-blend":[...fe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":fe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[$R]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",en,Fe]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[p]}],saturate:[{saturate:[O]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[$R]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[E]}],"backdrop-saturate":[{"backdrop-saturate":[O]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Fe]}],duration:[{duration:Pe()}],ease:[{ease:["linear","in","out","in-out",Fe]}],delay:[{delay:Pe()}],animate:[{animate:["none","spin","ping","pulse","bounce",Fe]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[A]}],"scale-x":[{"scale-x":[A]}],"scale-y":[{"scale-y":[A]}],rotate:[{rotate:[Oi,Fe]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Fe]}],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","$R-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",Fe]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-mt":[{"scroll-mt":V()}],"scroll-mr":[{"scroll-mr":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"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",Fe]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[jr,Zr,xl]}],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 nf=_S(FS);function ht(...e){return nf((0,of.clsx)(e))}var Rn=require("react/jsx-runtime"),Ma=Tn.forwardRef(({className:e,...t},r)=>(0,Rn.jsx)("div",{ref:r,className:ht("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Ma.displayName="Card";var Ia=Tn.forwardRef(({className:e,...t},r)=>(0,Rn.jsx)("div",{ref:r,className:ht("flex flex-col space-y-1.5 p-6",e),...t}));Ia.displayName="CardHeader";var Da=Tn.forwardRef(({className:e,...t},r)=>(0,Rn.jsx)("div",{ref:r,className:ht("font-semibold leading-none tracking-tight",e),...t}));Da.displayName="CardTitle";var LS=Tn.forwardRef(({className:e,...t},r)=>(0,Rn.jsx)("div",{ref:r,className:ht("text-sm text-muted-foreground",e),...t}));LS.displayName="CardDescription";var qa=Tn.forwardRef(({className:e,...t},r)=>(0,Rn.jsx)("div",{ref:r,className:ht("p-6 pt-0",e),...t}));qa.displayName="CardContent";var $S=Tn.forwardRef(({className:e,...t},r)=>(0,Rn.jsx)("div",{ref:r,className:ht("flex items-center p-6 pt-0",e),...t}));$S.displayName="CardFooter";var af=require("@radix-ui/react-slot"),sf=require("class-variance-authority"),lf=Qr(require("react")),US=(0,sf.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),Pn=lf.forwardRef(({asChild:e=!1,className:t,size:r,variant:$R,...o},i)=>(0,Rn.jsx)(e?af.Slot:"button",{className:ht(US({className:t,size:r,variant:$R})),ref:i,...o}));Pn.displayName="Button";var Va=require("lucide-react");var Ni=({type:e="solid",iconName:t="cloud",size:r="lg",className:$R})=>{let o="fa-"+e+" ",i="fa-"+t,s=$R!=null?$R:"",l=o+i+" fa-"+r+" "+s;return(0,Rn.jsx)("i",{className:l})};var On=require("react"),Zt=require("@headlessui/react"),Ba=require("@heroicons/react/24/outline"),Mi=require("@heroicons/react/20/solid");var HS=({name:e,items:t,actions:r=[],href:$R})=>!t&&$R?(0,Rn.jsxs)("a",{href:$R,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,Rn.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,Rn.jsxs)(Zt.Popover,{children:[(0,Rn.jsxs)(Zt.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Rn.jsxs)("span",{className:"relative",children:[e,(0,Rn.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,Rn.jsx)(Mi.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,Rn.jsxs)(Zt.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,Rn.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(o=>(0,Rn.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,Rn.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,Rn.jsx)(o.icon,{"aria-hidden":"true",size:"6x"})}),(0,Rn.jsxs)("a",{href:o.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[o.name,(0,Rn.jsx)("span",{className:"absolute inset-0"})]}),(0,Rn.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:o.description})]},o.name))}),r.length>0&&(0,Rn.jsx)("div",{className:"bg-gray-50",children:(0,Rn.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Rn.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(o=>(0,Rn.jsxs)("a",{href:o.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,Rn.jsx)(o.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),o.name]},o.name))})})})]})]}),pf=HS;var ja=["light","dark","green"];function ff({title:e,logo:t,menuItems:r}){let[$R,o]=(0,On.useState)(!1),[i,s]=(0,On.useState)(!1),[l,u]=(0,On.useState)("light"),d=t==null?void 0:t.split(".")[0],c=t==null?void 0:t.split(".")[1],[p,h]=(0,On.useState)(`${d}.${c}`),m=y=>{ja.includes(y)?h(y==="light"?`${d}.${c}`:`${d}-${y}.${c}`):h(`${d}.${c}`)};(0,On.useEffect)(()=>{let y=localStorage.getItem("theme")||"light";console.log("storedTheme",y),u(y),document.documentElement.setAttribute("class",y),m(y)},[]);let g=()=>{let y=ja[(ja.indexOf(l)+1)%ja.length];u(y),document.documentElement.setAttribute("class",y),localStorage.setItem("theme",y),m(y)};return(0,Rn.jsxs)("header",{className:"relative isolate z-10 bg-background h-14",children:[(0,Rn.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,Rn.jsx)("div",{className:"flex lg:flex-1",children:(0,Rn.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,Rn.jsx)("span",{className:"sr-only",children:e}),(0,Rn.jsx)("img",{alt:e,src:p,className:"h-9 w-auto"})]})}),(0,Rn.jsx)("div",{className:"flex lg:hidden",children:(0,Rn.jsxs)("button",{type:"button",onClick:()=>o(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,Rn.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Rn.jsx)(Ba.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,Rn.jsx)(Zt.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:r.map(y=>(0,Rn.jsx)(pf,{...y},y.name))}),(0,Rn.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,Rn.jsx)("button",{onClick:g,className:"p-2 text-gray-700 outline-none",children:l==="dark"?(0,Rn.jsx)(Mi.SunIcon,{className:"h-6 w-6"}):l==="green"?(0,Rn.jsx)(Mi.MoonIcon,{className:"h-6 w-6"}):(0,Rn.jsx)(Mi.SunIcon,{className:"h-6 w-6"})})})]}),(0,Rn.jsxs)(Zt.Dialog,{open:$R,onClose:o,className:"lg:hidden",children:[(0,Rn.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Rn.jsxs)(Zt.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Rn.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Rn.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,Rn.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,Rn.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,Rn.jsxs)("button",{type:"button",onClick:()=>o(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,Rn.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Rn.jsx)(Ba.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Rn.jsx)("div",{className:"mt-6 flow-root",children:(0,Rn.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Rn.jsx)("div",{className:"space-y-2 py-6",children:r.map(y=>(0,Rn.jsx)(zS,{...y},y.name))})})})]})]})]})}function zS({name:e,items:t,actions:r,href:$R}){return!t&&$R?(0,Rn.jsx)("a",{href:$R,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,Rn.jsxs)(Zt.Disclosure,{as:"div",className:"-mx-3",children:[(0,Rn.jsx)(Zt.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,Rn.jsx)(Zt.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(o=>(0,Rn.jsx)(Zt.DisclosureButton,{as:"a",href:o.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:o.name},o.name))})]})}var hf=({className:e,content:t,style:r})=>(0,Rn.jsx)("div",{className:ht("mx-auto my-8 w-full",e),children:(0,Rn.jsx)("div",{className:ht("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,Rn.jsx)(wr,{content:t,enableGutter:!1,enableProse:!1})})});var Il=Qr(require("next/link")),to=e=>{let{type:t,appearance:r="inline",children:$R,className:o,label:i,newTab:s,reference:l,size:u,url:d}=e,c=t==="reference"&&typeof(l==null?void 0:l.value)=="object"&&l.value.slug?`${(l==null?void 0:l.relationTo)!=="pages"?`/${l==null?void 0:l.relationTo}`:""}/${l.value.slug}`:d;if(!c)return null;let p=r==="link"?"clear":u,h=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Rn.jsxs)(Il.default,{className:ht(o),href:c||d||"",...h,children:[i&&i,$R&&$R]}):(0,Rn.jsx)(Pn,{asChild:!0,className:o,size:p,variant:r,children:(0,Rn.jsxs)(Il.default,{className:ht(o),href:c||d||"",...h,children:[i&&i,$R&&$R]})})};var mf=({links:e,richText:t})=>(0,Rn.jsx)("div",{className:"container",children:(0,Rn.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Rn.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Rn.jsx)(wr,{className:"mb-0",content:t,enableGutter:!1})}),(0,Rn.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},$R)=>(0,Rn.jsx)(to,{size:"lg",...r},$R))})]})});var Fa=require("prism-react-renderer");function bf({code:e}){let[t,r]=(0,On.useState)("Copy");function $R(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Rn.jsx)("div",{className:"flex justify-end align-middle",children:(0,Rn.jsxs)(Pn,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),$R()},children:[(0,Rn.jsx)("p",{children:t}),(0,Rn.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Rn.jsx)(Va.ClipboardCopy,{})})]})})}var vf=({code:e,language:t=""})=>e?(0,Rn.jsx)(Fa.Highlight,{code:e,language:t,theme:Fa.themes.vsDark,children:({getLineProps:r,getTokenProps:$R,tokens:o})=>(0,Rn.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[o.map((i,s)=>(0,Rn.jsxs)("div",{...r({className:"table-row",line:i}),children:[(0,Rn.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,Rn.jsx)("span",{className:"table-cell pl-4",children:i.map((l,u)=>(0,Rn.jsx)("span",{...$R({token:l})},u))})]},s)),(0,Rn.jsx)(bf,{code:e})]})}):null;var Ef=({className:e,code:t,language:r})=>(0,Rn.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Rn.jsx)(vf,{code:t,language:r})});var wf=Qr(require("next/image"));var _f=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var La=()=>{if(_f){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var VS={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},GS="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",Sf=e=>{let{alt:t,fill:r,imgClassName:$R,priority:o,resource:i,size:s,src:l,loading:u}=e,d,c,p=t,h=l||"";if(!h&&i&&typeof i=="object"){let{alt:y,filename:b,height:E,url:_,width:O}=i;d=O,c=E,p=y||"",h=`${La()}${_}`}let m=u||"lazy",g=s||Object.entries(VS).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,Rn.jsx)("picture",{children:(0,Rn.jsx)(wf.default,{alt:p||"",className:ht($R),fill:r,height:r?void 0:c,placeholder:"blur",blurDataURL:GS,priority:m!=="lazy"&&o,quality:100,loading:m,sizes:g,src:h,width:r?void 0:d})})};var Af=e=>{let{onClick:t,resource:r,videoClassName:$R}=e,o=(0,$a.useRef)(null);if((0,$a.useEffect)(()=>{let{current:i}=o;i&&i.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:i}=r;return(0,Rn.jsx)("video",{autoPlay:!0,className:ht($R),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:o,children:(0,Rn.jsx)("source",{src:`${La()}/media/${i}`})})}return null};var ro=e=>{var s;let{className:t,htmlElement:r="div",resource:$R}=e,o=typeof $R=="object"&&((s=$R==null?void 0:$R.mimeType)==null?void 0:s.includes("video"));return(0,Rn.jsx)(r||On.Fragment,{...r!==null?{className:t}:{},children:o?(0,Rn.jsx)(Af,{...e}):(0,Rn.jsx)(Sf,{...e})})};var Tf=e=>{let{className:t,enableGutter:r=!0,imgClassName:$R,media:o,staticImage:i}=e;return(0,Rn.jsx)("div",{className:ht("",{container:r},t),children:(0,Rn.jsx)(ro,{imgClassName:ht("border border-border rounded-[0.8rem]",$R),resource:o,src:i})})};var Ha=Qr(require("react"));function kl({nodes:e}){return(0,Rn.jsx)(Ha.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let i=(0,Rn.jsx)(Ha.default.Fragment,{children:t.text},r);return t.format&1&&(i=(0,Rn.jsx)("strong",{children:i},r)),t.format&2&&(i=(0,Rn.jsx)("em",{children:i},r)),t.format&4&&(i=(0,Rn.jsx)("span",{style:{textDecoration:"line-through"},children:i},r)),t.format&8&&(i=(0,Rn.jsx)("span",{style:{textDecoration:"underline"},children:i},r)),t.format&16&&(i=(0,Rn.jsx)("code",{children:t.text},r)),t.format&32&&(i=(0,Rn.jsx)("sub",{children:i},r)),t.format&64&&(i=(0,Rn.jsx)("sup",{children:i},r)),i}let $R=i=>{if(i.children==null)return null;if((i==null?void 0:i.type)==="list"&&(i==null?void 0:i.listType)==="check")for(let s of i.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return kl({nodes:i.children})},o="children"in t?$R(t):"";if(t.type==="block"){let i=t.fields,s=i==null?void 0:i.blockType;if(!i||!s)return null;switch(s){case"cta":return(0,Rn.jsx)(mf,{...i},r);case"mediaBlock":return(0,Rn.jsx)(Tf,{className:"col-start-1 col-span-3",imgClassName:"m-0",...i,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Rn.jsx)(hf,{className:"col-start-2 mb-4",...i},r);case"code":return(0,Rn.jsx)(Ef,{className:"col-start-2",...i},r);default:return null}}else switch(t.type){case"linebreak":return(0,Rn.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Rn.jsx)("p",{className:"col-start-2",children:o},r);case"heading":{let i=t==null?void 0:t.tag;return(0,Rn.jsx)(i,{className:"col-start-2",children:o},r)}case"list":{let i=t==null?void 0:t.tag;return(0,Rn.jsx)(i,{className:"list col-start-2",children:o},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Rn.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:o},r):(0,Rn.jsx)("li",{value:t==null?void 0:t.value,children:o},r);case"quote":return(0,Rn.jsx)("blockquote",{className:"col-start-2",children:o},r);case"link":{let i=t.fields;return(0,Rn.jsx)(to,{newTab:!!(i!=null&&i.newTab),reference:i.doc,type:i.linkType==="internal"?"reference":"custom",url:i.url,children:o},r)}default:return null}})})}var wr=({className:e,content:t,enableGutter:r=!0,enableProse:$R=!0})=>{var o;return t?(0,Rn.jsx)("div",{className:ht({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":$R},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&kl({nodes:(o=t==null?void 0:t.root)==null?void 0:o.children})}):null};var Pf=({children:e,richText:t})=>(0,Rn.jsx)("div",{className:"container mx-0 min-w-full py-8 bg-muted",children:(0,Rn.jsx)("div",{className:"max-w-[48rem] px-16",children:e||t&&(0,Rn.jsx)(wr,{content:t,enableGutter:!1})})});var Of=Qr(require("next/image"));var xf=({links:e,media:t,children:r,richText:$R})=>(0,Rn.jsxs)("div",{className:"relative bg-brand-one pb-12 pt-10",children:[t&&typeof t=="object"&&(0,Rn.jsx)(ro,{imgClassName:"mix-blend-overlay opacity-50",fill:!0,priority:!0,resource:t}),t&&typeof t=="string"&&(0,Rn.jsx)("div",{children:(0,Rn.jsx)(Of.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:t})}),(0,Rn.jsx)("div",{className:"container mx-0 min-w-full relative z-9",children:(0,Rn.jsx)("div",{className:"text-brand-one-foreground px-16",children:r||$R&&(0,Rn.jsx)(wr,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:$R,enableProse:!0,enableGutter:!1})})})]});var Nf=Qr(require("next/image"));var Mf=({links:e,media:t,children:r,richText:$R})=>(0,Rn.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-center justify-center text-white","data-theme":"dark",children:[(0,Rn.jsx)("div",{className:"container mb-8 z-10 relative flex items-center justify-center",children:(0,Rn.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[r||$R&&(0,Rn.jsx)(wr,{className:"mb-6",content:$R,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,Rn.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:o},i)=>(0,Rn.jsx)("li",{children:(0,Rn.jsx)(to,{...o})},i))})]})}),(0,Rn.jsxs)("div",{className:"min-h-[80vh] select-none",children:[t&&typeof t=="object"&&(0,Rn.jsx)(ro,{fill:!0,imgClassName:"-z-10 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Rn.jsx)("div",{children:(0,Rn.jsx)(Nf.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})})]})]});function Ga({...e}){return(0,Rn.jsxs)("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[(0,Rn.jsx)(ff,{...e.header}),(0,Rn.jsxs)("div",{className:"relative",children:[e.hero&&e.hero.type==="lowImpact"&&(0,Rn.jsx)(Pf,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,Rn.jsx)(xf,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,Rn.jsx)(Mf,{...e.hero}),(0,Rn.jsx)("div",{className:"container py-8",children:(0,Rn.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,Rn.jsx)("div",{className:"lg:col-span-2",children:e.children}),(0,Rn.jsxs)("div",{className:"space-y-6",children:[(0,Rn.jsxs)(Ma,{children:[(0,Rn.jsx)(Ia,{children:(0,Rn.jsx)(Da,{children:"Quick Actions"})}),(0,Rn.jsxs)(qa,{children:[(0,Rn.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,Rn.jsx)(Pn,{className:"w-full",children:"Create New"})]})]}),(0,Rn.jsxs)(Ma,{children:[(0,Rn.jsx)(Ia,{children:(0,Rn.jsx)(Da,{children:"Resources"})}),(0,Rn.jsx)(qa,{children:(0,Rn.jsxs)("nav",{className:"flex flex-col space-y-2",children:[(0,Rn.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",(0,Rn.jsx)(Va.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,Rn.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",(0,Rn.jsx)(Va.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,Rn.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",(0,Rn.jsx)(Va.ExternalLink,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})]})}var Tl=Qr(Cw());var J6=()=>(0,Rn.jsx)(Ni,{iconName:"github",size:"4x",type:"brands"});var X6=()=>(0,Rn.jsx)(Ni,{iconName:"people-sharing",size:"4x",type:"kit"}),Q6=()=>(0,Rn.jsx)(Ni,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),Z6=()=>(0,Rn.jsx)(Ni,{iconName:"development",size:"4x",type:"kit"}),eU={title:"Pages/Page",component:Ga,decorators:[e=>(0,Rn.jsx)("div",{className:"bg-sidebar",children:(0,Rn.jsx)(e,{})})]},tU=e=>(0,Rn.jsx)(Ga,{...e}),xa={render:tU,args:{title:"Storage Service",section:"Storage",description:"A scalable object storage service that offers industry-leading performance, security, and availability.",children:(0,Rn.jsxs)("div",{className:"prose max-w-none",children:[(0,Rn.jsx)("h2",{children:"How it works"}),(0,Rn.jsx)("p",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}),(0,Rn.jsx)("div",{className:"aspect-video overflow-hidden rounded-lg bg-slate-100",children:(0,Rn.jsx)("div",{className:"flex h-full items-center justify-center",children:"Video Placeholder"})})]}),header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:Q6},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:X6},{name:"Products",description:"Products that we sell",href:"#",icon:Z6}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:Ba.ChartPieIcon},{name:"API Reference",href:"#",icon:Ba.CursorArrowRaysIcon},{name:"Github",href:"#",icon:J6}],actions:[{name:"Watch demo",href:"#",icon:Mi.PlayCircleIcon},{name:"Contact sales",href:"#",icon:Mi.PhoneIcon},{name:"View all products",href:"#",icon:Mi.RectangleGroupIcon}]},{name:"Intranet",href:"#"}]},sidebarRight:{tableOfContents:[{title:"Getting Started",url:"#",links:[{title:"Installation",url:"#",isActive:!0},{title:"Project Structure",url:"#"}]},{title:"Building Your Application",url:"#",links:[{title:"Routing",url:"#",isDraft:!0},{title:"Data Fetching",url:"#"},{title:"Rendering",url:"#"},{title:"Caching",url:"#"},{title:"Styling",url:"#"},{title:"Optimizing",url:"#"},{title:"Configuring",url:"#"},{title:"Testing",url:"#"},{title:"Authentication",url:"#"},{title:"Deploying",url:"#"},{title:"Upgrading",url:"#"},{title:"Examples",url:"#"}]},{title:"API Reference",url:"#",links:[{title:"Components",url:"#"},{title:"File Conventions",url:"#"},{title:"Functions",url:"#"},{title:"next.config.js Options",url:"#"},{title:"CLI",url:"#"},{title:"Edge Runtime",url:"#"}]},{title:"Architecture",url:"#",links:[{title:"Accessibility",url:"#"},{title:"Fast Refresh",url:"#"},{title:"Next.js Compiler",url:"#"},{title:"Supported Browsers",url:"#"},{title:"Turbopack",url:"#"}]},{title:"Community",url:"#",links:[{title:"Contribution Guide",url:"#"}]}],relatedContent:{knowledge:[{label:"AWS Risk Assessment Terraform Module",url:"/knowledge/terraform_risk_assessment_AWS/_index.md",type:"published"},{label:"AWS Airview CCF Terraform Module",url:"/knowledge/terraform_aws_airview_ccf/_index.md",type:"note"}],services:[{label:"AWS Account Vending Machine",url:"/services/aws_account_vending_machine/_index.md",type:"published"},{label:"AWS Beanstalk",url:"/services/aws_beanstalk/_index.md",type:"draft"},{label:"AWS Airwalk Network Firewall Terraform Module",url:"/services/aws_vpc/terraform-aws-airwalk-module-networkfirewall.md",type:"published"},{label:"AWS WAF and Shield",url:"/services/aws_waf_and_shield/_index.md",type:"published"}]},onAddDocument:(0,Tl.fn)(),onEditDocument:(0,Tl.fn)(),onPrintDocument:(0,Tl.fn)()}}},rU={args:{...xa.args,heroBackgroundImage:"stock1.jpg?height=400&width=800"}},nU={args:{...xa.args,hero:{type:"lowImpact",children:(0,Rn.jsx)("h1",{className:"text-4xl font-bold",children:"Low Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},oU={args:{...xa.args,hero:{type:"mediumImpact",media:"stock1.jpg?height=400&width=800",children:(0,Rn.jsx)("h1",{className:"text-4xl font-bold",children:"Medium Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},iU={args:{...xa.args,hero:{type:"highImpact",children:(0,Rn.jsx)("h1",{className:"text-4xl font-bold",children:"High Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}};0&&(module.exports={Default,HighImpactHero,LowImpactHero,MediumImpactHero,WithHeroBackgroundImage});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"../../chunk-
|
|
1
|
+
import{a as n}from"../../chunk-TMWYJIAL.mjs";import{a}from"../../chunk-PAG346RY.mjs";import"../../chunk-MOZE34SM.mjs";import"../../chunk-H5UHZUPY.mjs";import"../../chunk-UHQCQUD5.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-XWTX2W5V.mjs";import"../../chunk-M62IIIAN.mjs";import"../../chunk-CTTNVPFC.mjs";import"../../chunk-6SNQMP4U.mjs";import"../../chunk-3ZEL6VBT.mjs";import"../../chunk-NC75G3JN.mjs";import"../../chunk-YG4SM7B5.mjs";import"../../chunk-WISCWNL2.mjs";import{a as t}from"../../chunk-5VW5YOZB.mjs";import"../../chunk-UWBQ2MHT.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-YAH6C5YX.mjs";import"../../chunk-5FLNXLSS.mjs";import"../../chunk-CPKQIUX4.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-WU3JMLSC.mjs";import"../../chunk-BZAYEKYC.mjs";import{c as l}from"../../chunk-D2WXBUVJ.mjs";var i=l(a());import{PhoneIcon as s,PlayCircleIcon as c,RectangleGroupIcon as d}from"@heroicons/react/20/solid";import{ChartPieIcon as u,CursorArrowRaysIcon as m}from"@heroicons/react/24/outline";import{jsx as e,jsxs as k}from"react/jsx-runtime";var p=()=>e(t,{iconName:"github",size:"4x",type:"brands"});var h=()=>e(t,{iconName:"people-sharing",size:"4x",type:"kit"}),g=()=>e(t,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),f=()=>e(t,{iconName:"development",size:"4x",type:"kit"}),C={title:"Pages/Page",component:n,decorators:[o=>e("div",{className:"bg-sidebar",children:e(o,{})})]},w=o=>e(n,{...o}),r={render:w,args:{title:"Storage Service",section:"Storage",description:"A scalable object storage service that offers industry-leading performance, security, and availability.",children:k("div",{className:"prose max-w-none",children:[e("h2",{children:"How it works"}),e("p",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}),e("div",{className:"aspect-video overflow-hidden rounded-lg bg-slate-100",children:e("div",{className:"flex h-full items-center justify-center",children:"Video Placeholder"})})]}),header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:g},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:h},{name:"Products",description:"Products that we sell",href:"#",icon:f}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:u},{name:"API Reference",href:"#",icon:m},{name:"Github",href:"#",icon:p}],actions:[{name:"Watch demo",href:"#",icon:c},{name:"Contact sales",href:"#",icon:s},{name:"View all products",href:"#",icon:d}]},{name:"Intranet",href:"#"}]},sidebarRight:{tableOfContents:[{title:"Getting Started",url:"#",links:[{title:"Installation",url:"#",isActive:!0},{title:"Project Structure",url:"#"}]},{title:"Building Your Application",url:"#",links:[{title:"Routing",url:"#",isDraft:!0},{title:"Data Fetching",url:"#"},{title:"Rendering",url:"#"},{title:"Caching",url:"#"},{title:"Styling",url:"#"},{title:"Optimizing",url:"#"},{title:"Configuring",url:"#"},{title:"Testing",url:"#"},{title:"Authentication",url:"#"},{title:"Deploying",url:"#"},{title:"Upgrading",url:"#"},{title:"Examples",url:"#"}]},{title:"API Reference",url:"#",links:[{title:"Components",url:"#"},{title:"File Conventions",url:"#"},{title:"Functions",url:"#"},{title:"next.config.js Options",url:"#"},{title:"CLI",url:"#"},{title:"Edge Runtime",url:"#"}]},{title:"Architecture",url:"#",links:[{title:"Accessibility",url:"#"},{title:"Fast Refresh",url:"#"},{title:"Next.js Compiler",url:"#"},{title:"Supported Browsers",url:"#"},{title:"Turbopack",url:"#"}]},{title:"Community",url:"#",links:[{title:"Contribution Guide",url:"#"}]}],relatedContent:{knowledge:[{label:"AWS Risk Assessment Terraform Module",url:"/knowledge/terraform_risk_assessment_AWS/_index.md",type:"published"},{label:"AWS Airview CCF Terraform Module",url:"/knowledge/terraform_aws_airview_ccf/_index.md",type:"note"}],services:[{label:"AWS Account Vending Machine",url:"/services/aws_account_vending_machine/_index.md",type:"published"},{label:"AWS Beanstalk",url:"/services/aws_beanstalk/_index.md",type:"draft"},{label:"AWS Airwalk Network Firewall Terraform Module",url:"/services/aws_vpc/terraform-aws-airwalk-module-networkfirewall.md",type:"published"},{label:"AWS WAF and Shield",url:"/services/aws_waf_and_shield/_index.md",type:"published"}]},onAddDocument:(0,i.fn)(),onEditDocument:(0,i.fn)(),onPrintDocument:(0,i.fn)()}}},x={args:{...r.args,heroBackgroundImage:"stock1.jpg?height=400&width=800"}},A={args:{...r.args,hero:{type:"lowImpact",children:e("h1",{className:"text-4xl font-bold",children:"Low Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},P={args:{...r.args,hero:{type:"mediumImpact",media:"stock1.jpg?height=400&width=800",children:e("h1",{className:"text-4xl font-bold",children:"Medium Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},_={args:{...r.args,hero:{type:"highImpact",children:e("h1",{className:"text-4xl font-bold",children:"High Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}};export{r as Default,_ as HighImpactHero,A as LowImpactHero,P as MediumImpactHero,x as WithHeroBackgroundImage,C as default};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
"use strict";var xr=Object.create;var $=Object.defineProperty;var vr=Object.getOwnPropertyDescriptor;var wr=Object.getOwnPropertyNames;var kr=Object.getPrototypeOf,Cr=Object.prototype.hasOwnProperty;var Ar=(e,r)=>{for(var t in r)$(e,t,{get:r[t],enumerable:!0})},Ie=(e,r,t,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of wr(r))!Cr.call(e,n)&&n!==t&&$(e,n,{get:()=>r[n],enumerable:!(a=vr(r,n))||a.enumerable});return e};var I=(e,r,t)=>(t=e!=null?xr(kr(e)):{},Ie(r||!e||!e.__esModule?$(t,"default",{value:e,enumerable:!0}):t,e)),Nr=e=>Ie($({},"__esModule",{value:!0}),e);var lt={};Ar(lt,{default:()=>yr});module.exports=Nr(lt);var J=require("react"),ee=require("lucide-react");var Ue=require("clsx");var fe="-",Pr=e=>{let r=Sr(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(fe);return s[0]===""&&s.length!==1&&s.shift(),Ee(s,r)||Rr(i)},getConflictingClassGroupIds:(i,s)=>{let p=t[i]||[];return s&&a[i]?[...p,...a[i]]:p}}},Ee=(e,r)=>{var i;if(e.length===0)return r.classGroupId;let t=e[0],a=r.nextPart.get(t),n=a?Ee(e.slice(1),a):void 0;if(n)return n;if(r.validators.length===0)return;let o=e.join(fe);return(i=r.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},Me=/^\[(.+)\]$/,Rr=e=>{if(Me.test(e)){let r=Me.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},Sr=e=>{let{theme:r,prefix:t}=e,a={nextPart:new Map,validators:[]};return Tr(Object.entries(e.classGroups),t).forEach(([o,i])=>{ge(i,a,o,r)}),a},ge=(e,r,t,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?r:ze(r,n);o.classGroupId=t;return}if(typeof n=="function"){if(Br(n)){ge(n(a),r,t,a);return}r.validators.push({validator:n,classGroupId:t});return}Object.entries(n).forEach(([o,i])=>{ge(i,ze(r,o),t,a)})})},ze=(e,r)=>{let t=e;return r.split(fe).forEach(a=>{t.nextPart.has(a)||t.nextPart.set(a,{nextPart:new Map,validators:[]}),t=t.nextPart.get(a)}),t},Br=e=>e.isThemeGetter,Tr=(e,r)=>r?e.map(([t,a])=>{let n=a.map(o=>typeof o=="string"?r+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[r+i,s])):o);return[t,n]}):e,Ir=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,a=new Map,n=(o,i)=>{t.set(o,i),r++,r>e&&(r=0,a=t,t=new Map)};return{get(o){let i=t.get(o);if(i!==void 0)return i;if((i=a.get(o))!==void 0)return n(o,i),i},set(o,i){t.has(o)?t.set(o,i):n(o,i)}}},Fe="!",Mr=e=>{let{separator:r,experimentalParseClassName:t}=e,a=r.length===1,n=r[0],o=r.length,i=s=>{let p=[],c=0,g=0,w;for(let b=0;b<s.length;b++){let v=s[b];if(c===0){if(v===n&&(a||s.slice(b,b+o)===r)){p.push(s.slice(g,b)),g=b+o;continue}if(v==="/"){w=b;continue}}v==="["?c++:v==="]"&&c--}let x=p.length===0?s:s.substring(g),A=x.startsWith(Fe),N=A?x.substring(1):x,f=w&&w>g?w-g:void 0;return{modifiers:p,hasImportantModifier:A,baseClassName:N,maybePostfixModifierPosition:f}};return t?s=>t({className:s,parseClassName:i}):i},zr=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(a=>{a[0]==="["?(r.push(...t.sort(),a),t=[]):t.push(a)}),r.push(...t.sort()),r},Er=e=>({cache:Ir(e.cacheSize),parseClassName:Mr(e),...Pr(e)}),Fr=/\s+/,Gr=(e,r)=>{let{parseClassName:t,getClassGroupId:a,getConflictingClassGroupIds:n}=r,o=[],i=e.trim().split(Fr),s="";for(let p=i.length-1;p>=0;p-=1){let c=i[p],{modifiers:g,hasImportantModifier:w,baseClassName:x,maybePostfixModifierPosition:A}=t(c),N=!!A,f=a(N?x.substring(0,A):x);if(!f){if(!N){s=c+(s.length>0?" "+s:s);continue}if(f=a(x),!f){s=c+(s.length>0?" "+s:s);continue}N=!1}let b=zr(g).join(":"),v=w?b+Fe:b,k=v+f;if(o.includes(k))continue;o.push(k);let F=n(f,N);for(let G=0;G<F.length;++G){let q=F[G];o.push(v+q)}s=c+(s.length>0?" "+s:s)}return s};function Lr(){let e=0,r,t,a="";for(;e<arguments.length;)(r=arguments[e++])&&(t=Ge(r))&&(a&&(a+=" "),a+=t);return a}var Ge=e=>{if(typeof e=="string")return e;let r,t="";for(let a=0;a<e.length;a++)e[a]&&(r=Ge(e[a]))&&(t&&(t+=" "),t+=r);return t};function Hr(e,...r){let t,a,n,o=i;function i(p){let c=r.reduce((g,w)=>w(g),e());return t=Er(c),a=t.cache.get,n=t.cache.set,o=s,s(p)}function s(p){let c=a(p);if(c)return c;let g=Gr(p,t);return n(p,g),g}return function(){return o(Lr.apply(null,arguments))}}var m=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},Le=/^\[(?:([a-z-]+):)?(.+)\]$/i,Dr=/^\Oe+\/\Oe+$/,Ur=new Set(["px","full","screen"]),Jr=/^(\Oe+(\.\Oe+)?)?(xs|sm|md|lg|xl)$/,Or=/\Oe+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|Oe|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,_r=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Qr=/^(inset_)?-?((\Oe+)?\.?(\Oe+)[a-z]+|0)_-?((\Oe+)?\.?(\Oe+)[a-z]+|0)/,Xr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,S=e=>D(e)||Ur.has(e)||Dr.test(e),M=e=>U(e,"length",$r),D=e=>!!e&&!Number.isNaN(Number(e)),ue=e=>U(e,"number",D),X=e=>!!e&&Number.isInteger(Number(e)),Vr=e=>e.endsWith("%")&&D(e.slice(0,-1)),l=e=>Le.test(e),z=e=>Jr.test(e),Yr=new Set(["length","size","percentage"]),Kr=e=>U(e,Yr,He),jr=e=>U(e,"position",He),qr=new Set(["image","url"]),Wr=e=>U(e,qr,rt),Zr=e=>U(e,"",et),V=()=>!0,U=(e,r,t)=>{let a=Le.exec(e);return a?a[1]?typeof r=="string"?a[1]===r:r.has(a[1]):t(a[2]):!1},$r=e=>Or.test(e)&&!_r.test(e),He=()=>!1,et=e=>Qr.test(e),rt=e=>Xr.test(e);var tt=()=>{let e=m("colors"),r=m("spacing"),t=m("blur"),a=m("brightness"),n=m("borderColor"),o=m("borderRadius"),i=m("borderSpacing"),s=m("borderWidth"),p=m("contrast"),c=m("grayscale"),g=m("hueRotate"),w=m("invert"),x=m("gap"),A=m("gradientColorStops"),N=m("gradientColorStopPositions"),f=m("inset"),b=m("margin"),v=m("opacity"),k=m("padding"),F=m("saturate"),G=m("scale"),q=m("sepia"),Ae=m("skew"),Ne=m("space"),Pe=m("translate"),ce=()=>["auto","contain","none"],de=()=>["auto","hidden","clip","visible","scroll"],pe=()=>["auto",l,r],u=()=>[l,r],Re=()=>["",S,M],W=()=>["auto",D,l],Se=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Z=()=>["solid","dashed","dotted","double","none"],Be=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],me=()=>["start","end","center","between","around","evenly","stretch"],Q=()=>["","0",l],Te=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>[D,l];return{cacheSize:500,separator:":",theme:{colors:[V],spacing:[S,M],blur:["none","",z,l],brightness:R(),borderColor:[e],borderRadius:["none","","full",z,l],borderSpacing:u(),borderWidth:Re(),contrast:R(),grayscale:Q(),hueRotate:R(),invert:Q(),gap:u(),gradientColorStops:[e],gradientColorStopPositions:[Vr,M],inset:pe(),margin:pe(),opacity:R(),padding:u(),saturate:R(),scale:R(),sepia:Q(),skew:R(),space:u(),translate:u()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[z]}],"break-after":[{"break-after":Te()}],"break-before":[{"break-before":Te()}],"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:[...Se(),l]}],overflow:[{overflow:de()}],"overflow-x":[{"overflow-x":de()}],"overflow-y":[{"overflow-y":de()}],overscroll:[{overscroll:ce()}],"overscroll-x":[{"overscroll-x":ce()}],"overscroll-y":[{"overscroll-y":ce()}],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",X,l]}],basis:[{basis:pe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:Q()}],shrink:[{shrink:Q()}],order:[{order:["first","last","none",X,l]}],"grid-cols":[{"grid-cols":[V]}],"col-start-end":[{col:["auto",{span:["full",X,l]},l]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[V]}],"row-start-end":[{row:["auto",{span:[X,l]},l]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...me()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...me(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...me(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[k]}],px:[{px:[k]}],py:[{py:[k]}],ps:[{ps:[k]}],pe:[{pe:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],Oe:[{Oe:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[Ne]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Ne]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,r]}],"min-w":[{"min-w":[l,r,"min","max","fit"]}],"max-w":[{"max-w":[l,r,"none","full","min","max","fit","prose",{screen:[z]},z]}],Oe:[{Oe:[l,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-Oe":[{"min-Oe":[l,r,"min","max","fit","svh","lvh","dvh"]}],"max-Oe":[{"max-Oe":[l,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,r,"auto","min","max","fit"]}],"font-size":[{text:["base",z,M]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ue]}],"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",l]}],"line-clamp":[{"line-clamp":["none",D,ue]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",S,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",S,M]}],"underline-offset":[{"underline-offset":["auto",S,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:u()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Se(),jr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Kr]}],"bg-image":[{bg:["none",{"gradient-to":["t","J","r","br","b","bl","l","tl"]},Wr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-Oe":[{"rounded-Oe":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-J":[{"rounded-J":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"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":[v]}],"border-style":[{border:[...Z(),"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":[v]}],"divide-style":[{divide:Z()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...Z()]}],"outline-offset":[{"outline-offset":[S,l]}],"outline-w":[{outline:[S,M]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[S,M]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",z,Zr]}],"shadow-color":[{shadow:[V]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...Be(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Be()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[a]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",z,l]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[w]}],saturate:[{saturate:[F]}],sepia:[{sepia:[q]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:R()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:R()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[G]}],"scale-x":[{"scale-x":[G]}],"scale-y":[{"scale-y":[G]}],rotate:[{rotate:[X,l]}],"translate-x":[{"translate-x":[Pe]}],"translate-y":[{"translate-y":[Pe]}],"skew-x":[{"skew-x":[Ae]}],"skew-y":[{"skew-y":[Ae]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","J-resize","nw-resize","Oe-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":u()}],"scroll-mx":[{"scroll-mx":u()}],"scroll-my":[{"scroll-my":u()}],"scroll-ms":[{"scroll-ms":u()}],"scroll-me":[{"scroll-me":u()}],"scroll-mt":[{"scroll-mt":u()}],"scroll-Oe":[{"scroll-Oe":u()}],"scroll-mb":[{"scroll-mb":u()}],"scroll-ml":[{"scroll-ml":u()}],"scroll-p":[{"scroll-p":u()}],"scroll-px":[{"scroll-px":u()}],"scroll-py":[{"scroll-py":u()}],"scroll-ps":[{"scroll-ps":u()}],"scroll-pe":[{"scroll-pe":u()}],"scroll-pt":[{"scroll-pt":u()}],"scroll-pr":[{"scroll-pr":u()}],"scroll-pb":[{"scroll-pb":u()}],"scroll-pl":[{"scroll-pl":u()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[S,M,ue]}],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","Oe","mb","ml"],mx:["Oe","ml"],my:["mt","mb"],size:["w","Oe"],"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-Oe","rounded-ee","rounded-es","rounded-tl","rounded-J","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-Oe","rounded-ee"],"rounded-t":["rounded-tl","rounded-J"],"rounded-r":["rounded-J","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-Oe","scroll-mb","scroll-ml"],"scroll-mx":["scroll-Oe","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 De=Hr(tt);function y(...e){return De((0,Ue.clsx)(e))}var Oe=require("react/jsx-runtime");function Je({children:e,isFluid:r=!1,isNoPadding:t=!1}){let a=y("container",r&&"full-width",t&&"no-padding");return(0,Oe.jsx)("div",{className:a,children:e})}var _e=I(require("next/link"));function Qe({children:e,href:r,openNewTab:t,...a}){return(0,Oe.jsx)(_e.default,{href:r,target:t?"_blank":"_self",...a,children:e})}var be=I(require("next/image"));function Ve({logoLight:e,logoDark:r}){return(0,Oe.jsxs)(Qe,{href:"/",className:"py-2",children:[(0,Oe.jsx)(be.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,Oe.jsx)(be.default,{className:"logo-dark hidden dark:block",src:r.src,width:r.width,height:r.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"200px",height:"auto"}})]})}var he="../../cortex-reply-light-27IMI3G7.png";var Ye="../../cortex-reply-dark-XPAJJJYY.png";function Ke({isMenuOpen:e,setIsMenuOpen:r}){let[t,a]=(0,J.useState)(!1),[n,o]=(0,J.useState)("light"),i=["light","dark"];(0,J.useEffect)(()=>{let c=localStorage.getItem("theme")||"light";console.log("storedTheme",c),o(c),document.documentElement.setAttribute("class",c)},[]);let s=()=>{let c=i[(i.indexOf(n)+1)%i.length];o(c),document.documentElement.setAttribute("class",c),localStorage.setItem("theme",c)};(0,J.useEffect)(()=>{let c=()=>{window.scrollY>100?a(!0):a(!1)};return window.addEventListener("scroll",c,{passive:!0}),()=>window.removeEventListener("scroll",c)},[]);let p=()=>{r&&r(!e)};return console.log("logo: ",he),(0,Oe.jsx)(Oe.Fragment,{children:(0,Oe.jsx)("header",{className:`fixed top-0 left-0 right-0 z-50 mx-auto transition-all duration-300 ${t||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,Oe.jsx)(Je,{children:(0,Oe.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,Oe.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,Oe.jsx)(Ve,{logoDark:Ye,logoLight:he}),(0,Oe.jsxs)("ul",{className:"flex items-center justify-center flex-grow space-x-8 text-md",children:[(0,Oe.jsx)("li",{children:(0,Oe.jsxs)("a",{href:"/services",className:"relative transition-colors group",children:["Services",(0,Oe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 Oe-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,Oe.jsx)("li",{children:(0,Oe.jsxs)("a",{href:"/insights",className:"relative transition-colors group",children:["Insights",(0,Oe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 Oe-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,Oe.jsx)("li",{children:(0,Oe.jsxs)("a",{href:"/about",className:"relative transition-colors group",children:["About Us",(0,Oe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 Oe-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,Oe.jsx)("li",{children:(0,Oe.jsxs)("a",{href:"/contact",className:"relative transition-colors group",children:["Contact",(0,Oe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 Oe-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,Oe.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,Oe.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:s,children:(0,Oe.jsxs)("div",{className:"relative",children:[(0,Oe.jsx)(ee.Sun,{className:"absolute Oe-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Oe.jsx)(ee.Moon,{className:"absoulte Oe-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})}),!t&&r&&(0,Oe.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:p,children:e?(0,Oe.jsx)(ee.X,{className:"w-6 Oe-6"}):(0,Oe.jsx)(ee.Menu,{className:"w-6 Oe-6 "})})]})]})})})})})}var je=({className:e,content:r,style:t})=>(0,Oe.jsx)("div",{className:y("mx-auto my-8 w-full",e),children:(0,Oe.jsx)("div",{className:y("border py-3 px-6 flex items-center rounded",{"border-border bg-card":t==="info","border-error bg-error/30":t==="error","border-success bg-success/30":t==="success","border-warning bg-warning/30":t==="warning"}),children:(0,Oe.jsx)(P,{content:r,enableGutter:!1,enableProse:!1})})});var qe=require("@radix-ui/react-slot"),We=require("class-variance-authority"),Ze=I(require("react")),nt=(0,We.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"Oe-10 px-4 py-2",icon:"Oe-10 w-10",lg:"Oe-11 rounded px-8",sm:"Oe-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),K=Ze.forwardRef(({asChild:e=!1,className:r,size:t,variant:a,...n},o)=>(0,$e.jsx)(e?qe.Slot:"button",{className:y(nt({className:r,size:t,variant:a})),ref:o,...n}));K.displayName="Button";var ye=I(require("next/link")),O=e=>{let{type:r,appearance:t="inline",children:a,className:n,label:o,newTab:i,reference:s,size:p,url:c}=e,g=r==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:c;if(!g)return null;let w=t==="link"?"clear":p,x=i?{rel:"noopener noreferrer",target:"_blank"}:{};return t==="inline"?(0,Oe.jsxs)(ye.default,{className:y(n),href:g||c||"",...x,children:[o&&o,a&&a]}):(0,Oe.jsx)(K,{asChild:!0,className:n,size:w,variant:t,children:(0,Oe.jsxs)(ye.default,{className:y(n),href:g||c||"",...x,children:[o&&o,a&&a]})})};var er=({links:e,richText:r})=>(0,Oe.jsx)("div",{className:"container",children:(0,Oe.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Oe.jsx)("div",{className:"max-w-[48rem] flex items-center",children:r&&(0,Oe.jsx)(P,{className:"mb-0",content:r,enableGutter:!1})}),(0,Oe.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:t},a)=>(0,Oe.jsx)(O,{size:"lg",...t},a))})]})});var oe=require("prism-react-renderer");function or({code:e}){let[r,t]=(0,J.useState)("Copy");function a(){r==="Copy"&&(t(()=>"Copied!"),setTimeout(()=>{t(()=>"Copy")},1e3))}return(0,Oe.jsx)("div",{className:"flex justify-end align-middle",children:(0,Oe.jsxs)(K,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,Oe.jsx)("p",{children:r}),(0,Oe.jsx)("div",{className:"w-6 Oe-6 dark:invert",children:(0,Oe.jsx)(ee.ClipboardCopy,{})})]})})}var ar=({code:e,language:r=""})=>e?(0,Oe.jsx)(oe.Highlight,{code:e,language:r,theme:oe.themes.vsDark,children:({getLineProps:t,getTokenProps:a,tokens:n})=>(0,Oe.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,i)=>(0,Oe.jsxs)("div",{...t({className:"table-row",line:o}),children:[(0,Oe.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,Oe.jsx)("span",{className:"table-cell pl-4",children:o.map((s,p)=>(0,Oe.jsx)("span",{...a({token:s})},p))})]},i)),(0,Oe.jsx)(or,{code:e})]})}):null;var nr=({className:e,code:r,language:t})=>(0,Oe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Oe.jsx)(ar,{code:r,language:t})});var ir=I(require("next/image"));var sr=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var ae=()=>{if(sr){let e=window.location.protocol,r=window.location.hostname,t=window.location.port;return`${e}//${r}${t?`:${t}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var st={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},it="data:image/png;base64,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",lr=e=>{let{alt:r,fill:t,imgClassName:a,priority:n,resource:o,size:i,src:s,loading:p}=e,c,g,w=r,x=s||"";if(!x&&o&&typeof o=="object"){let{alt:f,filename:b,height:v,url:k,width:F}=o;c=F,g=v,w=f||"",x=`${ae()}${k}`}let A=p||"lazy",N=i||Object.entries(st).map(([,f])=>`(max-width: ${f}px) ${f*2}w`).join(", ");return(0,Oe.jsx)("picture",{children:(0,Oe.jsx)(ir.default,{alt:w||"",className:y(a),fill:t,height:t?void 0:g,placeholder:"blur",blurDataURL:it,priority:A!=="lazy"&&n,quality:100,loading:A,sizes:N,src:x,width:t?void 0:c})})};var cr=e=>{let{onClick:r,resource:t,videoClassName:a}=e,n=(0,J.useRef)(null);if((0,J.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),t&&typeof t=="object"){let{filename:o}=t;return(0,Oe.jsx)("video",{autoPlay:!0,className:y(a),controls:!1,loop:!0,muted:!0,onClick:r,playsInline:!0,ref:n,children:(0,Oe.jsx)("source",{src:`${ae()}/media/${o}`})})}return null};var _=e=>{var i;let{className:r,htmlElement:t="div",resource:a}=e,n=typeof a=="object"&&((i=a==null?void 0:a.mimeType)==null?void 0:i.includes("video"));return(0,Oe.jsx)(t||J.Fragment,{...t!==null?{className:r}:{},children:n?(0,Oe.jsx)(cr,{...e}):(0,Oe.jsx)(lr,{...e})})};var pr=e=>{let{className:r,enableGutter:t=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,Oe.jsx)("div",{className:y("",{container:t},r),children:(0,Oe.jsx)(_,{imgClassName:y("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var ie=I(require("react"));function Ce({nodes:e}){return(0,Oe.jsx)(ie.Fragment,{children:e==null?void 0:e.map((r,t)=>{if(r==null)return null;if(r.type==="text"){let o=(0,Oe.jsx)(ie.default.Fragment,{children:r.text},t);return r.format&1&&(o=(0,Oe.jsx)("strong",{children:o},t)),r.format&2&&(o=(0,Oe.jsx)("em",{children:o},t)),r.format&4&&(o=(0,Oe.jsx)("span",{style:{textDecoration:"line-through"},children:o},t)),r.format&8&&(o=(0,Oe.jsx)("span",{style:{textDecoration:"underline"},children:o},t)),r.format&16&&(o=(0,Oe.jsx)("code",{children:r.text},t)),r.format&32&&(o=(0,Oe.jsx)("sub",{children:o},t)),r.format&64&&(o=(0,Oe.jsx)("sup",{children:o},t)),o}let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return Ce({nodes:o.children})},n="children"in r?a(r):"";if(r.type==="block"){let o=r.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,Oe.jsx)(er,{...o},t);case"mediaBlock":return(0,Oe.jsx)(pr,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"banner":return(0,Oe.jsx)(je,{className:"col-start-2 mb-4",...o},t);case"code":return(0,Oe.jsx)(nr,{className:"col-start-2",...o},t);default:return null}}else switch(r.type){case"linebreak":return(0,Oe.jsx)("br",{className:"col-start-2"},t);case"paragraph":return(0,Oe.jsx)("p",{className:"col-start-2",children:n},t);case"heading":{let o=r==null?void 0:r.tag;return(0,Oe.jsx)(o,{className:"col-start-2",children:n},t)}case"list":{let o=r==null?void 0:r.tag;return(0,Oe.jsx)(o,{className:"list col-start-2",children:n},t)}case"listitem":return(r==null?void 0:r.checked)!=null?(0,Oe.jsx)("li",{"aria-checked":r.checked?"true":"false",className:` ${r.checked,""}`,role:"checkbox",tabIndex:-1,value:r==null?void 0:r.value,children:n},t):(0,Oe.jsx)("li",{value:r==null?void 0:r.value,children:n},t);case"quote":return(0,Oe.jsx)("blockquote",{className:"col-start-2",children:n},t);case"link":{let o=r.fields;return(0,Oe.jsx)(O,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},t)}default:return null}})})}var P=({className:e,content:r,enableGutter:t=!0,enableProse:a=!0})=>{var n;return r?(0,Oe.jsx)("div",{className:y({"container ":t,"max-w-none":!t,"mx-auto prose dark:prose-invert ":a},e),children:r&&!Array.isArray(r)&&typeof r=="object"&&"root"in r&&Ce({nodes:(n=r==null?void 0:r.root)==null?void 0:n.children})}):null};var ur=({children:e,richText:r})=>(0,Oe.jsx)("div",{className:"container mx-0 min-w-full py-8 bg-muted",children:(0,Oe.jsx)("div",{className:"max-w-[48rem] px-16",children:e||r&&(0,Oe.jsx)(P,{content:r,enableGutter:!1})})});var gr=I(require("next/image"));var fr=({links:e,media:r,children:t,richText:a})=>(0,Oe.jsxs)("div",{className:"relative bg-brand-one pb-12 pt-10",children:[r&&typeof r=="object"&&(0,Oe.jsx)(_,{imgClassName:"mix-blend-overlay opacity-50",fill:!0,priority:!0,resource:r}),r&&typeof r=="string"&&(0,Oe.jsx)("div",{children:(0,Oe.jsx)(gr.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:r})}),(0,Oe.jsx)("div",{className:"container mx-0 min-w-full relative z-9",children:(0,Oe.jsx)("div",{className:"text-brand-one-foreground px-16",children:t||a&&(0,Oe.jsx)(P,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var br=I(require("next/image"));var hr=({links:e,media:r,children:t,richText:a})=>(0,Oe.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-center justify-center text-white","data-theme":"dark",children:[(0,Oe.jsx)("div",{className:"container mb-8 z-10 relative flex items-center justify-center",children:(0,Oe.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[t||a&&(0,Oe.jsx)(P,{className:"mb-6",content:a,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,Oe.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:n},o)=>(0,Oe.jsx)("li",{children:(0,Oe.jsx)(O,{...n})},o))})]})}),(0,Oe.jsxs)("div",{className:"min-Oe-[80vh] select-none",children:[r&&typeof r=="object"&&(0,Oe.jsx)(_,{fill:!0,imgClassName:"-z-10 object-cover",priority:!1,loading:"lazy",resource:r}),r&&typeof r=="string"&&(0,Oe.jsx)("div",{children:(0,Oe.jsx)(br.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:r})})]})]});function yr({...e}){return(0,Oe.jsxs)("div",{className:"flex fixed flex-col w-screen Oe-screen max-Oe-screen overflow-auto overscroll-contain",children:[(0,Oe.jsx)(Ke,{isMenuOpen:!0}),e.hero&&e.hero.type==="lowImpact"&&(0,Oe.jsx)(ur,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,Oe.jsx)(fr,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,Oe.jsx)(hr,{...e.hero})]})}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../../chunk-G73ILIWV.mjs";import"../../chunk-MOZE34SM.mjs";import"../../chunk-H5UHZUPY.mjs";import"../../chunk-UHQCQUD5.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-XWTX2W5V.mjs";import"../../chunk-M62IIIAN.mjs";import"../../chunk-CTTNVPFC.mjs";import"../../chunk-6SNQMP4U.mjs";import"../../chunk-3ZEL6VBT.mjs";import"../../chunk-NC75G3JN.mjs";import"../../chunk-YG4SM7B5.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-5VW5YOZB.mjs";import"../../chunk-UWBQ2MHT.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-YAH6C5YX.mjs";import"../../chunk-5FLNXLSS.mjs";import"../../chunk-CPKQIUX4.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-WU3JMLSC.mjs";import"../../chunk-BZAYEKYC.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as default};
|