cortex-react-components 1.9.3 → 1.11.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-WBYDQI5A.mjs → chunk-3UMXC67W.mjs} +1 -1
- package/dist/chunk-3WPEAKCQ.mjs +4 -0
- package/dist/chunk-4DJ6HKHR.mjs +1 -0
- package/dist/{chunk-Q5YMFYZ3.mjs → chunk-5EX5KVLO.mjs} +1 -1
- package/dist/{chunk-EMAMVFAE.mjs → chunk-5TTFPIXL.mjs} +1 -1
- package/dist/chunk-6FHLIH4J.mjs +1 -0
- package/dist/chunk-7GHS5JRC.mjs +1 -0
- package/dist/chunk-A5OBDLSS.mjs +4 -0
- package/dist/{chunk-ADPXM7KO.mjs → chunk-CP6IA4YZ.mjs} +1 -1
- package/dist/{chunk-SEHMQA4F.mjs → chunk-CSUTG7F5.mjs} +1 -1
- package/dist/chunk-CW7WANDA.mjs +1 -0
- package/dist/chunk-DDEPPEJ7.mjs +1 -0
- package/dist/{chunk-SIAE3HCA.mjs → chunk-FXOJ7XKV.mjs} +1 -1
- package/dist/{chunk-I2PU2ABB.mjs → chunk-LBXZO7YT.mjs} +1 -1
- package/dist/{chunk-DSTBNR32.mjs → chunk-M5X4MWJX.mjs} +1 -1
- package/dist/{chunk-GQKIQZ5T.mjs → chunk-MESSAICX.mjs} +1 -1
- package/dist/chunk-PTX3WDAE.mjs +4 -0
- package/dist/chunk-Q5NQ35NR.mjs +4 -0
- package/dist/chunk-SPDBC32Z.mjs +1 -0
- package/dist/{chunk-SEQK34KQ.mjs → chunk-VY32UTE2.mjs} +1 -1
- package/dist/{chunk-YW2XZEQD.mjs → chunk-WQF47M5N.mjs} +1 -1
- package/dist/chunk-YCT3EQRB.mjs +4 -0
- package/dist/{chunk-K6HG237V.mjs → chunk-YOB6PYJG.mjs} +1 -1
- package/dist/{chunk-NN3TSSQT.mjs → chunk-YPP62UKD.mjs} +1 -1
- package/dist/chunk-Z4MPZSVH.mjs +1 -0
- package/dist/chunk-ZVSS2NJE.mjs +4 -0
- package/dist/components/Blocks/Banner.js +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.js +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/ImageBlock.js +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.js +1 -1
- package/dist/components/Blocks/MediaBlock.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/HeaderFooter/BrandLogo.d.ts +3 -2
- package/dist/components/HeaderFooter/BrandLogo.js +1 -1
- package/dist/components/HeaderFooter/BrandLogo.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.d.ts +3 -2
- package/dist/components/HeaderFooter/Footer.js +1 -1
- package/dist/components/HeaderFooter/Footer.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.stories.js +1 -1
- package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.d.ts +4 -2
- package/dist/components/HeaderFooter/HeaderDesktop.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.d.ts +6 -1
- 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.js +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +2 -1
- package/dist/components/Heros/LowImpact/index.js +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.js +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/NewsGrid.js +1 -1
- package/dist/components/Layouts/NewsGrid.mjs +1 -1
- package/dist/components/Layouts/NewsGrid.stories.js +4 -4
- package/dist/components/Layouts/NewsGrid.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +1 -1
- package/dist/components/Layouts/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.js +1 -1
- package/dist/components/Pages/Intranet.mjs +1 -1
- package/dist/components/Pages/Intranet.stories.js +1 -1
- package/dist/components/Pages/Intranet.stories.mjs +1 -1
- package/dist/components/Pages/LandingPage.d.ts +3 -0
- package/dist/components/Pages/LandingPage.js +4 -0
- package/dist/components/Pages/LandingPage.mjs +2 -0
- package/dist/components/Pages/LandingPage.stories.js +439 -0
- package/dist/components/Pages/LandingPage.stories.mjs +1 -0
- package/dist/components/Pages/Page.js +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.js +192 -192
- 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/Card/index.js +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.js +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Media/index.js +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.js +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.js +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/index.js +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/images/cortex-reply-bw.mjs +1 -1
- package/dist/index.js +2 -2
- 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-3D4VGUVF.mjs +0 -4
- package/dist/chunk-5FLNXLSS.mjs +0 -1
- package/dist/chunk-6RTJNPLU.mjs +0 -1
- package/dist/chunk-CPKQIUX4.mjs +0 -1
- package/dist/chunk-HXVVB4BC.mjs +0 -4
- package/dist/chunk-KRCSP6XJ.mjs +0 -1
- package/dist/chunk-MPXKAAKQ.mjs +0 -4
- package/dist/chunk-OG6YNFOF.mjs +0 -1
- package/dist/chunk-YG4SM7B5.mjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var Le=Object.create;var Q=Object.defineProperty;var De=Object.getOwnPropertyDescriptor;var Ve=Object.getOwnPropertyNames;var Oe=Object.getPrototypeOf,je=Object.prototype.hasOwnProperty;var Qe=(e,t)=>{for(var r in t)Q(e,r,{get:t[r],enumerable:!0})},de=(e,t,r,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ve(t))!je.call(e,a)&&a!==r&&Q(e,a,{get:()=>t[a],enumerable:!(s=De(t,a))||s.enumerable});return e};var Z=(e,t,r)=>(r=e!=null?Le(Oe(e)):{},de(t||!e||!e.__esModule?Q(r,"default",{value:e,enumerable:!0}):r,e)),He=e=>de(Q({},"__esModule",{value:!0}),e);var Nt={};Qe(Nt,{FeatureGrid:()=>pe,NewsGrid:()=>Ue,TextAndImages:()=>Fe,VerticalSlider:()=>ge});module.exports=He(Nt);var ue=require("react/jsx-runtime"),pe=({children:e,cardsPerRow:t=3})=>{let r=`repeat(${t}, minmax(0, 1fr))`;return(0,ue.jsx)("div",{className:"grid gap-6",style:{gridTemplateColumns:r},children:e})};var z=require("react"),me=require("lucide-react");function ge({sections:e}){var i;let[t,r]=(0,z.useState)((i=e[0])==null?void 0:i.id),s=(0,z.useRef)([]);(0,z.useEffect)(()=>{let o=[];return e.forEach(d=>{let l=new IntersectionObserver(h=>{h.forEach(x=>{x.isIntersecting&&r(d.id)})},{threshold:.5}),u=document.getElementById(d.id);u&&l.observe(u),o.push(l)}),s.current=o,()=>{o.forEach(d=>d.disconnect())}},[e]);let a=o=>{let d=document.getElementById(o);d&&d.scrollIntoView({behavior:"smooth",block:"start"})},n=()=>{let o=e.findIndex(l=>l.id===t),d=e[o+1]||e[0];a(d.id)};return(0,ue.jsxs)("div",{className:"flex h-screen relative",children:[(0,ue.jsx)("div",{className:"fixed left-0 top-0 flex h-screen ue-12 flex-col items-center justify-center bg-gray-100",children:e.map(o=>(0,ue.jsx)("button",{className:`group relative my-2 h-16 ue-2 cursor-pointer rounded-full transition-all duration-300 ${t===o.id?o.color:"bg-gray-300"}`,onClick:()=>a(o.id),children:(0,ue.jsx)("span",{className:"absolute left-full ml-2 hidden -translate-x-2 rotate-90 whitespace-nowrap opacity-0 transition-all duration-300 group-hover:translate-x-0 group-hover:opacity-100 lg:block",children:o.title})},o.id))}),(0,ue.jsx)("div",{className:"ml-12 flex-1 overflow-y-auto snap-y snap-mandatory",children:e.map(o=>(0,ue.jsx)("div",{id:o.id,className:`flex h-screen items-center justify-center snap-always snap-start text-4xl text-white ${o.color}`,children:o.title},o.id))}),(0,ue.jsx)("button",{className:"absolute bottom-4 left-4 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:n,children:(0,ue.jsx)(me.CircleChevronDown,{})})]})}var Ge=Z(require("next/link"));var Ce=require("clsx");var ee="-",Ke=e=>{let t=Je(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:i=>{let o=i.split(ee);return o[0]===""&&o.length!==1&&o.shift(),he(o,t)||Ye(i)},getConflictingClassGroupIds:(i,o)=>{let d=r[i]||[];return o&&s[i]?[...d,...s[i]]:d}}},he=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],s=t.nextPart.get(r),a=s?he(e.slice(1),s):void 0;if(a)return a;if(t.validators.length===0)return;let n=e.join(ee);return(i=t.validators.find(({validator:o})=>o(n)))==null?void 0:i.classGroupId},fe=/^\[(.+)\]$/,Ye=e=>{if(fe.test(e)){let t=fe.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Je=e=>{let{theme:t,prefix:r}=e,s={nextPart:new Map,validators:[]};return qe(Object.entries(e.classGroups),r).forEach(([n,i])=>{$(i,s,n,t)}),s},$=(e,t,r,s)=>{e.forEach(a=>{if(typeof a=="string"){let n=a===""?t:be(t,a);n.classGroupId=r;return}if(typeof a=="function"){if(_e(a)){$(a(s),t,r,s);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([n,i])=>{$(i,be(t,n),r,s)})})},be=(e,t)=>{let r=e;return t.split(ee).forEach(s=>{r.nextPart.has(s)||r.nextPart.set(s,{nextPart:new Map,validators:[]}),r=r.nextPart.get(s)}),r},_e=e=>e.isThemeGetter,qe=(e,t)=>t?e.map(([r,s])=>{let a=s.map(n=>typeof n=="string"?t+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([i,o])=>[t+i,o])):n);return[r,a]}):e,We=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,s=new Map,a=(n,i)=>{r.set(n,i),t++,t>e&&(t=0,s=r,r=new Map)};return{get(n){let i=r.get(n);if(i!==void 0)return i;if((i=s.get(n))!==void 0)return a(n,i),i},set(n,i){r.has(n)?r.set(n,i):a(n,i)}}},xe="!",Ze=e=>{let{separator:t,experimentalParseClassName:r}=e,s=t.length===1,a=t[0],n=t.length,i=o=>{let d=[],l=0,u=0,h;for(let b=0;b<o.length;b++){let y=o[b];if(l===0){if(y===a&&(s||o.slice(b,b+n)===t)){d.push(o.slice(u,b)),u=b+n;continue}if(y==="/"){h=b;continue}}y==="["?l++:y==="]"&&l--}let x=d.length===0?o:o.substring(u),v=x.startsWith(xe),C=v?x.substring(1):x,f=h&&h>u?h-u:void 0;return{modifiers:d,hasImportantModifier:v,baseClassName:C,maybePostfixModifierPosition:f}};return r?o=>r({className:o,parseClassName:i}):i},Xe=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(s=>{s[0]==="["?(t.push(...r.sort(),s),r=[]):r.push(s)}),t.push(...r.sort()),t},$e=e=>({cache:We(e.cacheSize),parseClassName:Ze(e),...Ke(e)}),et=/\s+/,tt=(e,t)=>{let{parseClassName:r,getClassGroupId:s,getConflictingClassGroupIds:a}=t,n=[],i=e.trim().split(et),o="";for(let d=i.length-1;d>=0;d-=1){let l=i[d],{modifiers:u,hasImportantModifier:h,baseClassName:x,maybePostfixModifierPosition:v}=r(l),C=!!v,f=s(C?x.substring(0,v):x);if(!f){if(!C){o=l+(o.length>0?" "+o:o);continue}if(f=s(x),!f){o=l+(o.length>0?" "+o:o);continue}C=!1}let b=Xe(u).join(":"),y=h?b+xe:b,A=y+f;if(n.includes(A))continue;n.push(A);let M=a(f,C);for(let S=0;S<M.length;++S){let V=M[S];n.push(y+V)}o=l+(o.length>0?" "+o:o)}return o};function rt(){let e=0,t,r,s="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ye(t))&&(s&&(s+=" "),s+=r);return s}var ye=e=>{if(typeof e=="string")return e;let t,r="";for(let s=0;s<e.length;s++)e[s]&&(t=ye(e[s]))&&(r&&(r+=" "),r+=t);return r};function ot(e,...t){let r,s,a,n=i;function i(d){let l=t.reduce((u,h)=>h(u),e());return r=$e(l),s=r.cache.get,a=r.cache.set,n=o,o(d)}function o(d){let l=s(d);if(l)return l;let u=tt(d,r);return a(d,u),u}return function(){return n(rt.apply(null,arguments))}}var m=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},we=/^\[(?:([a-z-]+):)?(.+)\]$/i,st=/^\d+\/\d+$/,nt=new Set(["px","full","screen"]),at=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,it=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(ue|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,lt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ct=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,dt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>T(e)||nt.has(e)||st.test(e),P=e=>G(e,"length",xt),T=e=>!!e&&!Number.isNaN(Number(e)),X=e=>G(e,"number",T),F=e=>!!e&&Number.isInteger(Number(e)),pt=e=>e.endsWith("%")&&T(e.slice(0,-1)),c=e=>we.test(e),I=e=>at.test(e),ut=new Set(["length","size","percentage"]),mt=e=>G(e,ut,ve),gt=e=>G(e,"position",ve),ft=new Set(["image","url"]),bt=e=>G(e,ft,wt),ht=e=>G(e,"",yt),L=()=>!0,G=(e,t,r)=>{let s=we.exec(e);return s?s[1]?typeof t=="string"?s[1]===t:t.has(s[1]):r(s[2]):!1},xt=e=>it.test(e)&&!lt.test(e),ve=()=>!1,yt=e=>ct.test(e),wt=e=>dt.test(e);var vt=()=>{let e=m("colors"),t=m("spacing"),r=m("blur"),s=m("brightness"),a=m("borderColor"),n=m("borderRadius"),i=m("borderSpacing"),o=m("borderWidth"),d=m("contrast"),l=m("grayscale"),u=m("hueRotate"),h=m("invert"),x=m("gap"),v=m("gradientColorStops"),C=m("gradientColorStopPositions"),f=m("inset"),b=m("margin"),y=m("opacity"),A=m("padding"),M=m("saturate"),S=m("scale"),V=m("sepia"),oe=m("skew"),se=m("space"),ne=m("translate"),J=()=>["auto","contain","none"],_=()=>["auto","hidden","clip","visible","scroll"],q=()=>["auto",c,t],g=()=>[c,t],ae=()=>["",R,P],O=()=>["auto",T,c],ie=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],j=()=>["solid","dashed","dotted","double","none"],le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],W=()=>["start","end","center","between","around","evenly","stretch"],U=()=>["","0",c],ce=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[T,c];return{cacheSize:500,separator:":",theme:{colors:[L],spacing:[R,P],blur:["none","",I,c],brightness:N(),borderColor:[e],borderRadius:["none","","full",I,c],borderSpacing:g(),borderWidth:ae(),contrast:N(),grayscale:U(),hueRotate:N(),invert:U(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[pt,P],inset:q(),margin:q(),opacity:N(),padding:g(),saturate:N(),scale:N(),sepia:U(),skew:N(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[I]}],"break-after":[{"break-after":ce()}],"break-before":[{"break-before":ce()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ie(),c]}],overflow:[{overflow:_()}],"overflow-x":[{"overflow-x":_()}],"overflow-y":[{"overflow-y":_()}],overscroll:[{overscroll:J()}],"overscroll-x":[{"overscroll-x":J()}],"overscroll-y":[{"overscroll-y":J()}],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",F,c]}],basis:[{basis:q()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",c]}],grow:[{grow:U()}],shrink:[{shrink:U()}],order:[{order:["first","last","none",F,c]}],"grid-cols":[{"grid-cols":[L]}],"col-start-end":[{col:["auto",{span:["full",F,c]},c]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[L]}],"row-start-end":[{row:["auto",{span:[F,c]},c]}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",c]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",c]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...W()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...W(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...W(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],ue:[{ue:[A]}],px:[{px:[A]}],py:[{py:[A]}],ps:[{ps:[A]}],pe:[{pe:[A]}],pt:[{pt:[A]}],pr:[{pr:[A]}],pb:[{pb:[A]}],pl:[{pl:[A]}],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":[se]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[se]}],"space-y-reverse":["space-y-reverse"],ue:[{ue:["auto","min","max","fit","svw","lvw","dvw",c,t]}],"min-ue":[{"min-ue":[c,t,"min","max","fit"]}],"max-ue":[{"max-ue":[c,t,"none","full","min","max","fit","prose",{screen:[I]},I]}],h:[{h:[c,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,t,"auto","min","max","fit"]}],"font-size":[{text:["base",I,P]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",X]}],"font-family":[{font:[L]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",c]}],"line-clamp":[{"line-clamp":["none",T,X]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,c]}],"list-image":[{"list-image":["none",c]}],"list-style-type":[{list:["none","disc","decimal",c]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...j(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,P]}],"underline-offset":[{"underline-offset":["auto",R,c]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ie(),gt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",mt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},bt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-ue":[{border:[o]}],"border-ue-x":[{"border-x":[o]}],"border-ue-y":[{"border-y":[o]}],"border-ue-s":[{"border-s":[o]}],"border-ue-e":[{"border-e":[o]}],"border-ue-t":[{"border-t":[o]}],"border-ue-r":[{"border-r":[o]}],"border-ue-b":[{"border-b":[o]}],"border-ue-l":[{"border-l":[o]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...j(),"hidden"]}],"divide-x":[{"divide-x":[o]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[o]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:j()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...j()]}],"outline-offset":[{"outline-offset":[R,c]}],"outline-ue":[{outline:[R,P]}],"outline-color":[{outline:[e]}],"ring-ue":[{ring:ae()}],"ring-ue-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-ue":[{"ring-offset":[R,P]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",I,ht]}],"shadow-color":[{shadow:[L]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...le(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":le()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[s]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",I,c]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[h]}],saturate:[{saturate:[M]}],sepia:[{sepia:[V]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[M]}],"backdrop-sepia":[{"backdrop-sepia":[V]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",c]}],duration:[{duration:N()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:N()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[F,c]}],"translate-x":[{"translate-x":[ne]}],"translate-y":[{"translate-y":[ne]}],"skew-x":[{"skew-x":[oe]}],"skew-y":[{"skew-y":[oe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",c]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","ue-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",c]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-me":[{"scroll-me":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-ue":[{"scroll-ue":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",c]}],fill:[{fill:[e,"none"]}],"stroke-ue":[{stroke:[R,P,X]}],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"],ue:["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:["ue","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-ue":["border-ue-s","border-ue-e","border-ue-t","border-ue-r","border-ue-b","border-ue-l"],"border-ue-x":["border-ue-r","border-ue-l"],"border-ue-y":["border-ue-t","border-ue-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-ue":["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 Ae=ot(vt);function E(...e){return Ae((0,Ce.clsx)(e))}var ke=require("@radix-ui/react-slot"),Ne=require("class-variance-authority"),Re=Z(require("react")),At=(0,Ne.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 ue-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"}}}),D=Re.forwardRef(({asChild:e=!1,className:t,size:r,variant:s,...a},n)=>(0,ue.jsx)(e?ke.Slot:"button",{className:E(At({className:t,size:r,variant:s})),ref:n,...a}));D.displayName="Button";var Me=Z(require("next/image"));var Ie=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var H=()=>{if(Ie){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 Ct={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},kt="data:image/png;base64,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",Se=e=>{let{alt:t,fill:r,imgClassName:s,priority:a,resource:n,size:i,src:o,loading:d}=e,l,u,h=t,x=o||"";if(!x&&n&&typeof n=="object"){let{alt:f,filename:b,height:y,url:A,width:M}=n;l=M,u=y,h=f||"",x=`${H()}${A}`}let v=d||"lazy",C=i||Object.entries(Ct).map(([,f])=>`(max-width: ${f}px) ${f*2}ue`).join(", ");return(0,ue.jsx)("picture",{children:(0,ue.jsx)(Me.default,{alt:h||"",className:E(s),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:kt,priority:v!=="lazy"&&a,quality:100,loading:v,sizes:C,src:x,width:r?void 0:l})})};var Ee=e=>{let{onClick:t,resource:r,videoClassName:s}=e,a=(0,z.useRef)(null);if((0,z.useEffect)(()=>{let{current:n}=a;n&&n.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:n}=r;return(0,ue.jsx)("video",{autoPlay:!0,className:E(s),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,ue.jsx)("source",{src:`${H()}/media/${n}`})})}return null};var ze=e=>{var i;let{className:t,htmlElement:r="div",resource:s}=e,a=typeof s=="object"&&((i=s==null?void 0:s.mimeType)==null?void 0:i.includes("video"));return(0,ue.jsx)(r||z.Fragment,{...r!==null?{className:t}:{},children:a?(0,ue.jsx)(Ee,{...e}):(0,ue.jsx)(Se,{...e})})};function Ue(){let[e,t]=(0,z.useState)("All News"),[r,s]=(0,z.useState)([]),[a,n]=(0,z.useState)(1),[i,o]=(0,z.useState)(1),d=["All News","Announcements","Blogs","Articles","Case Studies"];return(0,z.useEffect)(()=>{async function l(){if(e==="All News"){let v=await(await fetch(`/api/posts?page=${a}`)).json();s(v.docs),o(v.totalPages);return}let h=await(await fetch(`/api/posts?where[categories][title][equals]=${e}&page=${a}`)).json();s(h.docs),o(h.totalPages)}l()},[e,a]),(0,ue.jsxs)("div",{className:"ue-full max-ue-7xl mx-auto px-4 py-8",children:[(0,ue.jsxs)("div",{className:"flex gap-2 overflow-x-auto pb-4 mb-6",children:[d.map(l=>(0,ue.jsx)(D,{variant:l===e?"default":"ghost",className:"rounded-full whitespace-nowrap",onClick:()=>t(l),children:l},l)),(0,ue.jsxs)(D,{variant:"ghost",size:"icon",className:"rounded-full",children:[(0,ue.jsx)(me.ChevronRight,{className:"h-4 ue-4"}),(0,ue.jsx)("span",{className:"sr-only",children:"More"})]})]}),(0,ue.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:r&&r.map(l=>(0,ue.jsxs)(Ge.default,{href:`/posts/${l.slug}`,className:"group rounded-lg overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:[l.meta&&l.meta.image&&typeof l.meta.image!="string"&&(0,ue.jsx)(ze,{resource:l.meta.image,size:"33vw"}),(0,ue.jsxs)("div",{className:"ue-4",children:[(0,ue.jsxs)("div",{className:"text-sm text-muted-foreground mb-2",children:[l.populatedAuthors&&l.populatedAuthors.map(u=>u.name)," ","\xB7"," ",l.publishedAt&&new Date(l.publishedAt).toLocaleDateString("en-GB",{day:"numeric",month:"long"})]}),(0,ue.jsx)("h2",{className:"text-xl font-bold mb-4 text-primary group-hover:text-accent group-hover:scale-105 transition-transform duration-200 ease-in-out",children:l.title})]})]},l.id))}),(0,ue.jsx)("div",{className:"flex justify-center gap-1 mt-8",children:Array.from({length:i},(l,u)=>u+1).map(l=>(0,ue.jsx)(D,{variant:l===a?"default":"ghost",size:"icon",className:"ue-10 h-10 rounded-full",onClick:()=>n(l),children:l},l))})]})}function Fe({title:e,subtitle:t,description:r,missionTitle:s,missionDescription:a,images:n,raisedAmount:i,companiesCount:o,dealsClosed:d,leadsGenerated:l}){return(0,ue.jsx)("div",{className:"overflow-hidden bg-white py-24 sm:py-32",children:(0,ue.jsxs)("div",{className:"mx-auto max-ue-2xl px-6 lg:max-ue-7xl lg:px-8",children:[(0,ue.jsxs)("div",{className:"max-ue-4xl",children:[(0,ue.jsx)("ue",{className:"text-base/7 font-semibold text-indigo-600",children:t}),(0,ue.jsx)("h1",{className:"mt-2 text-pretty text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl",children:e}),(0,ue.jsx)("ue",{className:"mt-6 text-balance text-xl/8 text-gray-700",children:r})]}),(0,ue.jsxs)("section",{className:"mt-20 grid grid-cols-1 lg:grid-cols-2 lg:gap-x-8 lg:gap-y-16",children:[(0,ue.jsxs)("div",{className:"lg:pr-8",children:[(0,ue.jsx)("h2",{className:"text-pretty text-2xl font-semibold tracking-tight text-gray-900",children:s}),(0,ue.jsx)("ue",{className:"mt-6 text-base/7 text-gray-600",children:a})]}),(0,ue.jsx)("div",{className:"pt-16 lg:row-span-2 lg:-mr-16 xl:mr-auto",children:(0,ue.jsx)("div",{className:"-mx-8 grid grid-cols-2 gap-4 sm:-mx-16 sm:grid-cols-4 lg:mx-0 lg:grid-cols-2 lg:gap-4 xl:gap-8",children:n.map((u,h)=>(0,ue.jsx)("div",{className:"aspect-square overflow-hidden rounded-xl shadow-xl outline-1 -outline-offset-1 outline-black/10",children:(0,ue.jsx)("img",{alt:"",src:u,className:"block size-full object-cover"})},h))})}),(0,ue.jsxs)("div",{className:"max-lg:mt-16 lg:col-span-1",children:[(0,ue.jsx)("ue",{className:"text-base/7 font-semibold text-gray-500",children:"The numbers"}),(0,ue.jsx)("hr",{className:"mt-6 border-t border-gray-200"}),(0,ue.jsxs)("dl",{className:"mt-6 grid grid-cols-1 gap-x-8 gap-y-4 sm:grid-cols-2",children:[(0,ue.jsxs)("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[(0,ue.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Raised"}),(0,ue.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:["$",i]})]}),(0,ue.jsxs)("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[(0,ue.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Companies"}),(0,ue.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[o,"z"]})]}),(0,ue.jsxs)("div",{className:"flex flex-col gap-y-2 max-sm:border-b max-sm:border-dotted max-sm:border-gray-200 max-sm:pb-4",children:[(0,ue.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Deals Closed"}),(0,ue.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[d,"M"]})]}),(0,ue.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,ue.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Leads Generated"}),(0,ue.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[l,"M"]})]})]})]})]})]})})}0&&(module.exports={FeatureGrid,NewsGrid,TextAndImages,VerticalSlider});
|
|
4
|
+
"use strict";var Le=Object.create;var Q=Object.defineProperty;var De=Object.getOwnPropertyDescriptor;var Ve=Object.getOwnPropertyNames;var Oe=Object.getPrototypeOf,je=Object.prototype.hasOwnProperty;var Qe=(e,t)=>{for(var r in t)Q(e,r,{get:t[r],enumerable:!0})},de=(e,t,r,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ve(t))!je.call(e,a)&&a!==r&&Q(e,a,{get:()=>t[a],enumerable:!(s=De(t,a))||s.enumerable});return e};var W=(e,t,r)=>(r=e!=null?Le(Oe(e)):{},de(t||!e||!e.__esModule?Q(r,"default",{value:e,enumerable:!0}):r,e)),He=e=>de(Q({},"__esModule",{value:!0}),e);var Nt={};Qe(Nt,{FeatureGrid:()=>pe,NewsGrid:()=>Ue,TextAndImages:()=>Fe,VerticalSlider:()=>ge});module.exports=He(Nt);var ue=require("react/jsx-runtime"),pe=({children:e,cardsPerRow:t=3})=>{let r=`repeat(${t}, minmax(0, 1fr))`;return(0,ue.jsx)("div",{className:"grid gap-6",style:{gridTemplateColumns:r},children:e})};var z=require("react"),me=require("lucide-react");function ge({sections:e}){var i;let[t,r]=(0,z.useState)((i=e[0])==null?void 0:i.id),s=(0,z.useRef)([]);(0,z.useEffect)(()=>{let o=[];return e.forEach(d=>{let l=new IntersectionObserver(h=>{h.forEach(x=>{x.isIntersecting&&r(d.id)})},{threshold:.5}),u=document.getElementById(d.id);u&&l.observe(u),o.push(l)}),s.current=o,()=>{o.forEach(d=>d.disconnect())}},[e]);let a=o=>{let d=document.getElementById(o);d&&d.scrollIntoView({behavior:"smooth",block:"start"})},n=()=>{let o=e.findIndex(l=>l.id===t),d=e[o+1]||e[0];a(d.id)};return(0,ue.jsxs)("div",{className:"flex h-screen relative",children:[(0,ue.jsx)("div",{className:"fixed left-0 top-0 flex h-screen ue-12 flex-col items-center justify-center bg-gray-100",children:e.map(o=>(0,ue.jsx)("button",{className:`group relative my-2 h-16 ue-2 cursor-pointer rounded-full transition-all duration-300 ${t===o.id?o.color:"bg-gray-300"}`,onClick:()=>a(o.id),children:(0,ue.jsx)("span",{className:"absolute left-full ml-2 hidden -translate-x-2 rotate-90 whitespace-nowrap opacity-0 transition-all duration-300 group-hover:translate-x-0 group-hover:opacity-100 lg:block",children:o.title})},o.id))}),(0,ue.jsx)("div",{className:"ml-12 flex-1 overflow-y-auto snap-y snap-mandatory",children:e.map(o=>(0,ue.jsx)("div",{id:o.id,className:`flex h-screen items-center justify-center snap-always snap-start text-4xl text-white ${o.color}`,children:o.title},o.id))}),(0,ue.jsx)("button",{className:"absolute bottom-4 left-4 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:n,children:(0,ue.jsx)(me.CircleChevronDown,{})})]})}var Ge=W(require("next/link"));var Ce=require("clsx");var ee="-",Je=e=>{let t=Ye(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:i=>{let o=i.split(ee);return o[0]===""&&o.length!==1&&o.shift(),he(o,t)||Ke(i)},getConflictingClassGroupIds:(i,o)=>{let d=r[i]||[];return o&&s[i]?[...d,...s[i]]:d}}},he=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],s=t.nextPart.get(r),a=s?he(e.slice(1),s):void 0;if(a)return a;if(t.validators.length===0)return;let n=e.join(ee);return(i=t.validators.find(({validator:o})=>o(n)))==null?void 0:i.classGroupId},fe=/^\[(.+)\]$/,Ke=e=>{if(fe.test(e)){let t=fe.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Ye=e=>{let{theme:t,prefix:r}=e,s={nextPart:new Map,validators:[]};return qe(Object.entries(e.classGroups),r).forEach(([n,i])=>{$(i,s,n,t)}),s},$=(e,t,r,s)=>{e.forEach(a=>{if(typeof a=="string"){let n=a===""?t:be(t,a);n.classGroupId=r;return}if(typeof a=="function"){if(_e(a)){$(a(s),t,r,s);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([n,i])=>{$(i,be(t,n),r,s)})})},be=(e,t)=>{let r=e;return t.split(ee).forEach(s=>{r.nextPart.has(s)||r.nextPart.set(s,{nextPart:new Map,validators:[]}),r=r.nextPart.get(s)}),r},_e=e=>e.isThemeGetter,qe=(e,t)=>t?e.map(([r,s])=>{let a=s.map(n=>typeof n=="string"?t+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([i,o])=>[t+i,o])):n);return[r,a]}):e,Xe=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,s=new Map,a=(n,i)=>{r.set(n,i),t++,t>e&&(t=0,s=r,r=new Map)};return{get(n){let i=r.get(n);if(i!==void 0)return i;if((i=s.get(n))!==void 0)return a(n,i),i},set(n,i){r.has(n)?r.set(n,i):a(n,i)}}},xe="!",We=e=>{let{separator:t,experimentalParseClassName:r}=e,s=t.length===1,a=t[0],n=t.length,i=o=>{let d=[],l=0,u=0,h;for(let b=0;b<o.length;b++){let y=o[b];if(l===0){if(y===a&&(s||o.slice(b,b+n)===t)){d.push(o.slice(u,b)),u=b+n;continue}if(y==="/"){h=b;continue}}y==="["?l++:y==="]"&&l--}let x=d.length===0?o:o.substring(u),v=x.startsWith(xe),C=v?x.substring(1):x,f=h&&h>u?h-u:void 0;return{modifiers:d,hasImportantModifier:v,baseClassName:C,maybePostfixModifierPosition:f}};return r?o=>r({className:o,parseClassName:i}):i},Ze=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(s=>{s[0]==="["?(t.push(...r.sort(),s),r=[]):r.push(s)}),t.push(...r.sort()),t},$e=e=>({cache:Xe(e.cacheSize),parseClassName:We(e),...Je(e)}),et=/\s+/,tt=(e,t)=>{let{parseClassName:r,getClassGroupId:s,getConflictingClassGroupIds:a}=t,n=[],i=e.trim().split(et),o="";for(let d=i.length-1;d>=0;d-=1){let l=i[d],{modifiers:u,hasImportantModifier:h,baseClassName:x,maybePostfixModifierPosition:v}=r(l),C=!!v,f=s(C?x.substring(0,v):x);if(!f){if(!C){o=l+(o.length>0?" "+o:o);continue}if(f=s(x),!f){o=l+(o.length>0?" "+o:o);continue}C=!1}let b=Ze(u).join(":"),y=h?b+xe:b,A=y+f;if(n.includes(A))continue;n.push(A);let S=a(f,C);for(let M=0;M<S.length;++M){let V=S[M];n.push(y+V)}o=l+(o.length>0?" "+o:o)}return o};function rt(){let e=0,t,r,s="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ye(t))&&(s&&(s+=" "),s+=r);return s}var ye=e=>{if(typeof e=="string")return e;let t,r="";for(let s=0;s<e.length;s++)e[s]&&(t=ye(e[s]))&&(r&&(r+=" "),r+=t);return r};function ot(e,...t){let r,s,a,n=i;function i(d){let l=t.reduce((u,h)=>h(u),e());return r=$e(l),s=r.cache.get,a=r.cache.set,n=o,o(d)}function o(d){let l=s(d);if(l)return l;let u=tt(d,r);return a(d,u),u}return function(){return n(rt.apply(null,arguments))}}var m=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},we=/^\[(?:([a-z-]+):)?(.+)\]$/i,st=/^\d+\/\d+$/,nt=new Set(["px","full","screen"]),at=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,it=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(ue|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,lt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ct=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,dt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>T(e)||nt.has(e)||st.test(e),P=e=>G(e,"length",xt),T=e=>!!e&&!Number.isNaN(Number(e)),Z=e=>G(e,"number",T),F=e=>!!e&&Number.isInteger(Number(e)),pt=e=>e.endsWith("%")&&T(e.slice(0,-1)),c=e=>we.test(e),I=e=>at.test(e),ut=new Set(["length","size","percentage"]),mt=e=>G(e,ut,ve),gt=e=>G(e,"position",ve),ft=new Set(["image","url"]),bt=e=>G(e,ft,wt),ht=e=>G(e,"",yt),L=()=>!0,G=(e,t,r)=>{let s=we.exec(e);return s?s[1]?typeof t=="string"?s[1]===t:t.has(s[1]):r(s[2]):!1},xt=e=>it.test(e)&&!lt.test(e),ve=()=>!1,yt=e=>ct.test(e),wt=e=>dt.test(e);var vt=()=>{let e=m("colors"),t=m("spacing"),r=m("blur"),s=m("brightness"),a=m("borderColor"),n=m("borderRadius"),i=m("borderSpacing"),o=m("borderWidth"),d=m("contrast"),l=m("grayscale"),u=m("hueRotate"),h=m("invert"),x=m("gap"),v=m("gradientColorStops"),C=m("gradientColorStopPositions"),f=m("inset"),b=m("margin"),y=m("opacity"),A=m("padding"),S=m("saturate"),M=m("scale"),V=m("sepia"),oe=m("skew"),se=m("space"),ne=m("translate"),Y=()=>["auto","contain","none"],_=()=>["auto","hidden","clip","visible","scroll"],q=()=>["auto",c,t],g=()=>[c,t],ae=()=>["",R,P],O=()=>["auto",T,c],ie=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],j=()=>["solid","dashed","dotted","double","none"],le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],X=()=>["start","end","center","between","around","evenly","stretch"],U=()=>["","0",c],ce=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[T,c];return{cacheSize:500,separator:":",theme:{colors:[L],spacing:[R,P],blur:["none","",I,c],brightness:N(),borderColor:[e],borderRadius:["none","","full",I,c],borderSpacing:g(),borderWidth:ae(),contrast:N(),grayscale:U(),hueRotate:N(),invert:U(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[pt,P],inset:q(),margin:q(),opacity:N(),padding:g(),saturate:N(),scale:N(),sepia:U(),skew:N(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[I]}],"break-after":[{"break-after":ce()}],"break-before":[{"break-before":ce()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ie(),c]}],overflow:[{overflow:_()}],"overflow-x":[{"overflow-x":_()}],"overflow-y":[{"overflow-y":_()}],overscroll:[{overscroll:Y()}],"overscroll-x":[{"overscroll-x":Y()}],"overscroll-y":[{"overscroll-y":Y()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",F,c]}],basis:[{basis:q()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",c]}],grow:[{grow:U()}],shrink:[{shrink:U()}],order:[{order:["first","last","none",F,c]}],"grid-cols":[{"grid-cols":[L]}],"col-start-end":[{col:["auto",{span:["full",F,c]},c]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[L]}],"row-start-end":[{row:["auto",{span:[F,c]},c]}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",c]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",c]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...X()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...X(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...X(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],ue:[{ue:[A]}],px:[{px:[A]}],py:[{py:[A]}],ps:[{ps:[A]}],pe:[{pe:[A]}],pt:[{pt:[A]}],pr:[{pr:[A]}],pb:[{pb:[A]}],pl:[{pl:[A]}],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":[se]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[se]}],"space-y-reverse":["space-y-reverse"],ue:[{ue:["auto","min","max","fit","svw","lvw","dvw",c,t]}],"min-ue":[{"min-ue":[c,t,"min","max","fit"]}],"max-ue":[{"max-ue":[c,t,"none","full","min","max","fit","prose",{screen:[I]},I]}],h:[{h:[c,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,t,"auto","min","max","fit"]}],"font-size":[{text:["base",I,P]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Z]}],"font-family":[{font:[L]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",c]}],"line-clamp":[{"line-clamp":["none",T,Z]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,c]}],"list-image":[{"list-image":["none",c]}],"list-style-type":[{list:["none","disc","decimal",c]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...j(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,P]}],"underline-offset":[{"underline-offset":["auto",R,c]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ie(),gt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",mt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},bt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-ue":[{border:[o]}],"border-ue-x":[{"border-x":[o]}],"border-ue-y":[{"border-y":[o]}],"border-ue-s":[{"border-s":[o]}],"border-ue-e":[{"border-e":[o]}],"border-ue-t":[{"border-t":[o]}],"border-ue-r":[{"border-r":[o]}],"border-ue-b":[{"border-b":[o]}],"border-ue-l":[{"border-l":[o]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...j(),"hidden"]}],"divide-x":[{"divide-x":[o]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[o]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:j()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...j()]}],"outline-offset":[{"outline-offset":[R,c]}],"outline-ue":[{outline:[R,P]}],"outline-color":[{outline:[e]}],"ring-ue":[{ring:ae()}],"ring-ue-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-ue":[{"ring-offset":[R,P]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",I,ht]}],"shadow-color":[{shadow:[L]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...le(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":le()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[s]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",I,c]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[h]}],saturate:[{saturate:[S]}],sepia:[{sepia:[V]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[S]}],"backdrop-sepia":[{"backdrop-sepia":[V]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",c]}],duration:[{duration:N()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:N()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[F,c]}],"translate-x":[{"translate-x":[ne]}],"translate-y":[{"translate-y":[ne]}],"skew-x":[{"skew-x":[oe]}],"skew-y":[{"skew-y":[oe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",c]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","ue-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",c]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-me":[{"scroll-me":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-ue":[{"scroll-ue":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",c]}],fill:[{fill:[e,"none"]}],"stroke-ue":[{stroke:[R,P,Z]}],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"],ue:["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:["ue","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-ue":["border-ue-s","border-ue-e","border-ue-t","border-ue-r","border-ue-b","border-ue-l"],"border-ue-x":["border-ue-r","border-ue-l"],"border-ue-y":["border-ue-t","border-ue-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-ue":["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 Ae=ot(vt);function E(...e){return Ae((0,Ce.clsx)(e))}var ke=require("@radix-ui/react-slot"),Ne=require("class-variance-authority"),Re=W(require("react")),At=(0,Ne.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 ue-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"}}}),D=Re.forwardRef(({asChild:e=!1,className:t,size:r,variant:s,...a},n)=>(0,ue.jsx)(e?ke.Slot:"button",{className:E(At({className:t,size:r,variant:s})),ref:n,...a}));D.displayName="Button";var Se=W(require("next/image"));var Ie=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var H=()=>{if(Ie){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 Ct={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},kt="data:image/png;base64,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",Me=e=>{let{alt:t,fill:r,imgClassName:s,priority:a,resource:n,size:i,src:o,loading:d}=e,l,u,h=t,x=o||"";if(!x&&n&&typeof n=="object"){let{alt:f,filename:b,height:y,url:A,width:S}=n;l=S,u=y,h=f||"",x=`${H()}${A}`}let v=d||"lazy",C=i||Object.entries(Ct).map(([,f])=>`(max-width: ${f}px) ${f*2}ue`).join(", ");return(0,ue.jsx)("picture",{children:(0,ue.jsx)(Se.default,{alt:h||"",className:E(s),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:kt,priority:v!=="lazy"&&a,quality:100,loading:v,sizes:C,src:x,width:r?void 0:l})})};var Ee=e=>{let{onClick:t,resource:r,videoClassName:s}=e,a=(0,z.useRef)(null);if((0,z.useEffect)(()=>{let{current:n}=a;n&&n.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:n}=r;return(0,ue.jsx)("video",{autoPlay:!0,className:E(s),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,ue.jsx)("source",{src:`${H()}/media/${n}`})})}return null};var ze=e=>{var i;let{className:t,htmlElement:r="div",resource:s}=e,a=typeof s=="object"&&((i=s==null?void 0:s.mimeType)==null?void 0:i.includes("video"));return(0,ue.jsx)(r||z.Fragment,{...r!==null?{className:t}:{},children:a?(0,ue.jsx)(Ee,{...e}):(0,ue.jsx)(Me,{...e})})};function Ue(){let[e,t]=(0,z.useState)("All News"),[r,s]=(0,z.useState)([]),[a,n]=(0,z.useState)(1),[i,o]=(0,z.useState)(1),d=["All News","Announcements","Blogs","Articles","Case Studies"];return(0,z.useEffect)(()=>{async function l(){if(e==="All News"){let v=await(await fetch(`/api/posts?page=${a}`)).json();s(v.docs),o(v.totalPages);return}let h=await(await fetch(`/api/posts?where[categories][title][equals]=${e}&page=${a}`)).json();s(h.docs),o(h.totalPages)}l()},[e,a]),(0,ue.jsxs)("div",{className:"ue-full max-ue-7xl mx-auto px-4 py-8",children:[(0,ue.jsxs)("div",{className:"flex gap-2 overflow-x-auto pb-4 mb-6",children:[d.map(l=>(0,ue.jsx)(D,{variant:l===e?"default":"ghost",className:"rounded-full whitespace-nowrap",onClick:()=>t(l),children:l},l)),(0,ue.jsxs)(D,{variant:"ghost",size:"icon",className:"rounded-full",children:[(0,ue.jsx)(me.ChevronRight,{className:"h-4 ue-4"}),(0,ue.jsx)("span",{className:"sr-only",children:"More"})]})]}),(0,ue.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:r&&r.map(l=>(0,ue.jsxs)(Ge.default,{href:`/posts/${l.slug}`,className:"group rounded-lg overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:[l.meta&&l.meta.image&&typeof l.meta.image!="string"&&(0,ue.jsx)(ze,{resource:l.meta.image,size:"33vw"}),(0,ue.jsxs)("div",{className:"ue-4",children:[(0,ue.jsxs)("div",{className:"text-sm text-muted-foreground mb-2",children:[l.populatedAuthors&&l.populatedAuthors.map(u=>u.name)," ","\xB7"," ",l.publishedAt&&new Date(l.publishedAt).toLocaleDateString("en-GB",{day:"numeric",month:"long"})]}),(0,ue.jsx)("h2",{className:"text-xl font-bold mb-4 text-primary group-hover:text-accent group-hover:scale-105 transition-transform duration-200 ease-in-out",children:l.title})]})]},l.id))}),(0,ue.jsx)("div",{className:"flex justify-center gap-1 mt-8",children:Array.from({length:i},(l,u)=>u+1).map(l=>(0,ue.jsx)(D,{variant:l===a?"default":"ghost",size:"icon",className:"ue-10 h-10 rounded-full",onClick:()=>n(l),children:l},l))})]})}function Fe({title:e,subtitle:t,description:r,missionTitle:s,missionDescription:a,images:n,raisedAmount:i,companiesCount:o,dealsClosed:d,leadsGenerated:l}){return(0,ue.jsx)("div",{className:"overflow-hidden bg-white py-24 sm:py-32",children:(0,ue.jsxs)("div",{className:"mx-auto max-ue-2xl px-6 lg:max-ue-7xl lg:px-8",children:[(0,ue.jsxs)("div",{className:"max-ue-4xl",children:[(0,ue.jsx)("ue",{className:"text-base/7 font-semibold text-indigo-600",children:t}),(0,ue.jsx)("h1",{className:"mt-2 text-pretty text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl",children:e}),(0,ue.jsx)("ue",{className:"mt-6 text-balance text-xl/8 text-gray-700",children:r})]}),(0,ue.jsxs)("section",{className:"mt-20 grid grid-cols-1 lg:grid-cols-2 lg:gap-x-8 lg:gap-y-16",children:[(0,ue.jsxs)("div",{className:"lg:pr-8",children:[(0,ue.jsx)("h2",{className:"text-pretty text-2xl font-semibold tracking-tight text-gray-900",children:s}),(0,ue.jsx)("ue",{className:"mt-6 text-base/7 text-gray-600",children:a})]}),(0,ue.jsx)("div",{className:"pt-16 lg:row-span-2 lg:-mr-16 xl:mr-auto",children:(0,ue.jsx)("div",{className:"-mx-8 grid grid-cols-2 gap-4 sm:-mx-16 sm:grid-cols-4 lg:mx-0 lg:grid-cols-2 lg:gap-4 xl:gap-8",children:n.map((u,h)=>(0,ue.jsx)("div",{className:"aspect-square overflow-hidden rounded-xl shadow-xl outline-1 -outline-offset-1 outline-black/10",children:(0,ue.jsx)("img",{alt:"",src:u,className:"block size-full object-cover"})},h))})}),(0,ue.jsxs)("div",{className:"max-lg:mt-16 lg:col-span-1",children:[(0,ue.jsx)("ue",{className:"text-base/7 font-semibold text-gray-500",children:"The numbers"}),(0,ue.jsx)("hr",{className:"mt-6 border-t border-gray-200"}),(0,ue.jsxs)("dl",{className:"mt-6 grid grid-cols-1 gap-x-8 gap-y-4 sm:grid-cols-2",children:[(0,ue.jsxs)("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[(0,ue.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Raised"}),(0,ue.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:["$",i]})]}),(0,ue.jsxs)("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[(0,ue.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Companies"}),(0,ue.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[o,"ue"]})]}),(0,ue.jsxs)("div",{className:"flex flex-col gap-y-2 max-sm:border-b max-sm:border-dotted max-sm:border-gray-200 max-sm:pb-4",children:[(0,ue.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Deals Closed"}),(0,ue.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[d,"M"]})]}),(0,ue.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,ue.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Leads Generated"}),(0,ue.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[l,"M"]})]})]})]})]})]})})}0&&(module.exports={FeatureGrid,NewsGrid,TextAndImages,VerticalSlider});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as b}from"../../chunk-DAMIHHNG.mjs";import{a}from"../../chunk-CSWXKGJE.mjs";import{a as c}from"../../chunk-
|
|
1
|
+
import{a as b}from"../../chunk-DAMIHHNG.mjs";import{a}from"../../chunk-CSWXKGJE.mjs";import{a as c}from"../../chunk-YPP62UKD.mjs";import{a as d}from"../../chunk-L2CGDHVO.mjs";import"../../chunk-CW7WANDA.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as FeatureGrid,c as NewsGrid,d as TextAndImages,b as VerticalSlider};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface AnimatedBorderProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
color?: string;
|
|
5
|
+
duration?: number;
|
|
6
|
+
strokeWidth?: number;
|
|
7
|
+
borderRadius?: number;
|
|
8
|
+
}
|
|
9
|
+
export declare const AnimatedBorder: React.FC<AnimatedBorderProps>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
"use strict";"use client";var m=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var v=Object.prototype.hasOwnProperty;var R=(t,e)=>{for(var r in e)m(t,r,{get:e[r],enumerable:!0})},b=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of p(e))!v.call(t,n)&&n!==r&&m(t,n,{get:()=>e[n],enumerable:!(i=w(e,n))||i.enumerable});return t};var y=t=>b(m({},"__esModule",{value:!0}),t);var x={};R(x,{AnimatedBorder:()=>A});module.exports=y(x);var s=require("react"),h=require("framer-motion"),o=require("react/jsx-runtime"),A=({children:t,color:e="hsl(var(--primary))",duration:r=2,strokeWidth:i=2,borderRadius:n=8})=>{let a=(0,s.useRef)(null),[c,g]=(0,s.useState)({width:0,height:0}),l=(0,h.useAnimation)();return(0,s.useEffect)(()=>{if(a.current){let d=new ResizeObserver(f=>{for(let u of f)g({width:u.contentRect.width,height:u.contentRect.height})});return d.observe(a.current),()=>{d.disconnect()}}},[]),(0,s.useEffect)(()=>{l.start({pathLength:[0,1],transition:{duration:r,ease:"easeInOut"}})},[l,r]),(0,o.jsxs)("div",{ref:a,className:"relative inline-block",style:{borderRadius:n},children:[t,(0,o.jsx)("svg",{className:"absolute inset-0 w-full h-full pointer-events-none",xmlns:"http://www.w3.org/2000/svg",width:c.width,height:c.height,children:(0,o.jsx)(h.motion.rect,{x:i/2,y:i/2,width:c.width-i,height:c.height-i,rx:n,ry:n,fill:"none",stroke:e,strokeWidth:i,initial:{pathLength:0},animate:l})})]})};0&&(module.exports={AnimatedBorder});
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
"use strict";var h=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var k=Object.prototype.hasOwnProperty;var S=(e,t)=>{for(var n in t)h(e,n,{get:t[n],enumerable:!0})},T=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of N(t))!k.call(e,r)&&r!==n&&h(e,r,{get:()=>t[r],enumerable:!(i=B(t,r))||i.enumerable});return e};var C=e=>T(h({},"__esModule",{value:!0}),e);var F={};S(F,{CustomColor:()=>y,Default:()=>v,RoundedBottom:()=>f,SlowAnimation:()=>w,ThickBorder:()=>x,default:()=>E});module.exports=C(F);var s=require("react"),l=require("framer-motion"),a=require("react/jsx-runtime"),g=({children:e,color:t="hsl(var(--primary))",duration:n=2,strokeWidth:i=2,borderRadius:r=8})=>{let m=(0,s.useRef)(null),[c,A]=(0,s.useState)({width:0,height:0}),p=(0,l.useAnimation)();return(0,s.useEffect)(()=>{if(m.current){let u=new ResizeObserver(R=>{for(let b of R)A({width:b.contentRect.width,height:b.contentRect.height})});return u.observe(m.current),()=>{u.disconnect()}}},[]),(0,s.useEffect)(()=>{p.start({pathLength:[0,1],transition:{duration:n,ease:"easeInOut"}})},[p,n]),(0,a.jsxs)("div",{ref:m,className:"relative inline-block",style:{borderRadius:r},children:[e,(0,a.jsx)("svg",{className:"absolute inset-0 w-full h-full pointer-events-none",xmlns:"http://www.w3.org/2000/svg",width:c.width,height:c.height,children:(0,a.jsx)(l.motion.rect,{x:i/2,y:i/2,width:c.width-i,height:c.height-i,rx:r,ry:r,fill:"none",stroke:t,strokeWidth:i,initial:{pathLength:0},animate:p})})]})};var D={title:"Animation/AnimatedBorder",component:g,tags:["autodocs"],argTypes:{color:{control:"color"},duration:{control:{type:"range",min:1,max:10,step:.5}},strokeWidth:{control:{type:"range",min:1,max:10,step:1}}},decorators:[e=>(0,a.jsx)("div",{style:{padding:"3rem"},children:(0,a.jsx)(e,{})})]},E=D,d=e=>(0,a.jsx)(g,{...e}),v=d.bind({});v.args={children:(0,a.jsx)("div",{className:"p-4 bg-white",children:"Animated border on visibility"})};var f=d.bind({});f.args={children:(0,a.jsx)("div",{className:"p-4 rounded-b-xl bg-primary text-primary-foreground",children:"Animated border on visibility"}),borderRadius:"8",color:"#10B981"};var y=d.bind({});y.args={children:(0,a.jsx)("div",{className:"p-4 bg-primary text-primary-foreground rounded-xl",children:"Custom color border"}),borderRadius:"8",color:"#10B981",topEdgeIncluded:!1};var w=d.bind({});w.args={children:(0,a.jsx)("div",{className:"p-4 bg-white",children:"Slow animation"}),duration:5};var x=d.bind({});x.args={children:(0,a.jsx)("div",{className:"p-4 bg-white",children:"Thick border"}),strokeWidth:4};0&&(module.exports={CustomColor,Default,RoundedBottom,SlowAnimation,ThickBorder});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"../../chunk-3WPEAKCQ.mjs";import"../../chunk-D2WXBUVJ.mjs";import{jsx as o}from"react/jsx-runtime";var i={title:"Animation/AnimatedBorder",component:e,tags:["autodocs"],argTypes:{color:{control:"color"},duration:{control:{type:"range",min:1,max:10,step:.5}},strokeWidth:{control:{type:"range",min:1,max:10,step:1}}},decorators:[t=>o("div",{style:{padding:"3rem"},children:o(t,{})})]},l=i,r=t=>o(e,{...t}),d=r.bind({});d.args={children:o("div",{className:"p-4 bg-white",children:"Animated border on visibility"})};var a=r.bind({});a.args={children:o("div",{className:"p-4 rounded-b-xl bg-primary text-primary-foreground",children:"Animated border on visibility"}),borderRadius:"8",color:"#10B981"};var n=r.bind({});n.args={children:o("div",{className:"p-4 bg-primary text-primary-foreground rounded-xl",children:"Custom color border"}),borderRadius:"8",color:"#10B981",topEdgeIncluded:!1};var s=r.bind({});s.args={children:o("div",{className:"p-4 bg-white",children:"Slow animation"}),duration:5};var m=r.bind({});m.args={children:o("div",{className:"p-4 bg-white",children:"Thick border"}),strokeWidth:4};export{n as CustomColor,d as Default,a as RoundedBottom,s as SlowAnimation,m as ThickBorder,l as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../../chunk-NUOP7T5Z.mjs";import"../../chunk-AWFQEK7A.mjs";import"../../chunk-3YZN4MJB.mjs";import"../../chunk-WNPA7YT3.mjs";import"../../chunk-WMZYFRHZ.mjs";import"../../chunk-LBKMUSVR.mjs";import"../../chunk-IPHHUHS3.mjs";import"../../chunk-Y5VTKEKS.mjs";import"../../chunk-CGBVZQYY.mjs";import"../../chunk-BSQVKZCW.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-XWTX2W5V.mjs";import"../../chunk-M62IIIAN.mjs";import"../../chunk-
|
|
2
|
+
"use strict";import{a}from"../../chunk-NUOP7T5Z.mjs";import"../../chunk-AWFQEK7A.mjs";import"../../chunk-3YZN4MJB.mjs";import"../../chunk-WNPA7YT3.mjs";import"../../chunk-WMZYFRHZ.mjs";import"../../chunk-LBKMUSVR.mjs";import"../../chunk-IPHHUHS3.mjs";import"../../chunk-Y5VTKEKS.mjs";import"../../chunk-CGBVZQYY.mjs";import"../../chunk-BSQVKZCW.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-XWTX2W5V.mjs";import"../../chunk-M62IIIAN.mjs";import"../../chunk-Q5NQ35NR.mjs";import"../../chunk-YCT3EQRB.mjs";import"../../chunk-3ZEL6VBT.mjs";import"../../chunk-NC75G3JN.mjs";import"../../chunk-7GHS5JRC.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-5VW5YOZB.mjs";import"../../chunk-OAOCXXC2.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-CV7PH2KH.mjs";import"../../chunk-FRWX5YES.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"../../chunk-NUOP7T5Z.mjs";import{a as o}from"../../chunk-PAG346RY.mjs";import"../../chunk-AWFQEK7A.mjs";import"../../chunk-3YZN4MJB.mjs";import"../../chunk-WNPA7YT3.mjs";import"../../chunk-WMZYFRHZ.mjs";import"../../chunk-LBKMUSVR.mjs";import"../../chunk-IPHHUHS3.mjs";import"../../chunk-Y5VTKEKS.mjs";import"../../chunk-CGBVZQYY.mjs";import"../../chunk-BSQVKZCW.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-XWTX2W5V.mjs";import"../../chunk-M62IIIAN.mjs";import"../../chunk-
|
|
1
|
+
import{a as r}from"../../chunk-NUOP7T5Z.mjs";import{a as o}from"../../chunk-PAG346RY.mjs";import"../../chunk-AWFQEK7A.mjs";import"../../chunk-3YZN4MJB.mjs";import"../../chunk-WNPA7YT3.mjs";import"../../chunk-WMZYFRHZ.mjs";import"../../chunk-LBKMUSVR.mjs";import"../../chunk-IPHHUHS3.mjs";import"../../chunk-Y5VTKEKS.mjs";import"../../chunk-CGBVZQYY.mjs";import"../../chunk-BSQVKZCW.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-XWTX2W5V.mjs";import"../../chunk-M62IIIAN.mjs";import"../../chunk-Q5NQ35NR.mjs";import"../../chunk-YCT3EQRB.mjs";import"../../chunk-3ZEL6VBT.mjs";import"../../chunk-NC75G3JN.mjs";import"../../chunk-7GHS5JRC.mjs";import"../../chunk-WISCWNL2.mjs";import{a as l}from"../../chunk-5VW5YOZB.mjs";import"../../chunk-OAOCXXC2.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-CV7PH2KH.mjs";import"../../chunk-FRWX5YES.mjs";import{c as n}from"../../chunk-D2WXBUVJ.mjs";import{BookOpen as a,LifeBuoy as u,Send as s,Settings2 as c}from"lucide-react";var e=n(o());import{PhoneIcon as m,PlayCircleIcon as d,RectangleGroupIcon as p}from"@heroicons/react/20/solid";import{ChartPieIcon as b,CursorArrowRaysIcon as h}from"@heroicons/react/24/outline";import{jsx as t}from"react/jsx-runtime";var g=()=>t(l,{iconName:"github",size:"4x",type:"brands"}),f=()=>t(l,{iconName:"aws",type:"brands"}),S=()=>t(l,{iconName:"azure",type:"kit"}),k=()=>t(l,{iconName:"people-sharing",size:"4x",type:"kit"}),A=()=>t(l,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),C=()=>t(l,{iconName:"development",size:"4x",type:"kit"}),X={title:"Pages/Documentation",component:r,decorators:[i=>t("div",{className:"bg-sidebar",children:t(i,{})})]},w=i=>t(r,{...i}),Z={render:w,args:{header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:A},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:k},{name:"Products",description:"Products that we sell",href:"#",icon:C}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:b},{name:"API Reference",href:"#",icon:h},{name:"Github",href:"#",icon:g}],actions:[{name:"Watch demo",href:"#",icon:d},{name:"Contact sales",href:"#",icon:m},{name:"View all products",href:"#",icon:p}]},{name:"Intranet",href:"#"}]},onToggleAppGrid:()=>{(0,e.fn)()},sidebarLeft:{title:"Playground",subTitle:"Airview",mainNav:[{label:"AWS",url:"#",icon:f,isActive:!0,links:[{label:"EC2",url:"#"},{label:"IAM",url:"#"},{label:"S3",url:"#"}]},{label:"Microsoft Azure",url:"#",icon:S,links:[{label:"Virtual Machines",url:"#"},{label:"Storage",url:"#"},{label:"Azure SQL",url:"#"}]},{label:"Documentation",url:"#",icon:a,links:[{label:"Introduction",url:"#"},{label:"Get Started",url:"#"},{label:"Tutorials",url:"#"},{label:"Changelog",url:"#"}]},{label:"Settings",url:"#",icon:c,links:[{label:"General",url:"#"},{label:"Team",url:"#"},{label:"Billing",url:"#"},{label:"Limits",url:"#"}]}],secondaryNav:[{label:"Support",url:"#",icon:u},{label:"Feedback",url:"#",icon:s}],onSidebarMenu:(0,e.fn)()},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,e.fn)(),onEditDocument:(0,e.fn)(),onPrintDocument:(0,e.fn)()},github:{onPublishDraft:(0,e.fn)(),handleNewBranch:(0,e.fn)(),handlePR:(0,e.fn)(),onSave:(0,e.fn)()}}};export{Z as Default,X as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../../chunk-LKMZ5ROU.mjs";import"../../chunk-3YZN4MJB.mjs";import"../../chunk-WNPA7YT3.mjs";import"../../chunk-LBKMUSVR.mjs";import"../../chunk-IPHHUHS3.mjs";import"../../chunk-Y5VTKEKS.mjs";import"../../chunk-CGBVZQYY.mjs";import"../../chunk-BSQVKZCW.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-XWTX2W5V.mjs";import"../../chunk-M62IIIAN.mjs";import"../../chunk-
|
|
2
|
+
"use strict";import{a}from"../../chunk-LKMZ5ROU.mjs";import"../../chunk-3YZN4MJB.mjs";import"../../chunk-WNPA7YT3.mjs";import"../../chunk-LBKMUSVR.mjs";import"../../chunk-IPHHUHS3.mjs";import"../../chunk-Y5VTKEKS.mjs";import"../../chunk-CGBVZQYY.mjs";import"../../chunk-BSQVKZCW.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-XWTX2W5V.mjs";import"../../chunk-M62IIIAN.mjs";import"../../chunk-Q5NQ35NR.mjs";import"../../chunk-YCT3EQRB.mjs";import"../../chunk-3ZEL6VBT.mjs";import"../../chunk-NC75G3JN.mjs";import"../../chunk-7GHS5JRC.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-6HFYLEVF.mjs";import"../../chunk-5TTFPIXL.mjs";import"../../chunk-CP6IA4YZ.mjs";import"../../chunk-M5X4MWJX.mjs";import"../../chunk-EPTHSTUM.mjs";import"../../chunk-72BBXZKW.mjs";import"../../chunk-3JTJE3CH.mjs";import"../../chunk-5VW5YOZB.mjs";import"../../chunk-IQPZEEYJ.mjs";import"../../chunk-53QLSQCO.mjs";import"../../chunk-VY32UTE2.mjs";import"../../chunk-CSUTG7F5.mjs";import"../../chunk-JCH2CCQ7.mjs";import"../../chunk-5EX5KVLO.mjs";import"../../chunk-6P7CY367.mjs";import"../../chunk-WQF47M5N.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-YAH6C5YX.mjs";import"../../chunk-6FHLIH4J.mjs";import"../../chunk-CW7WANDA.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-2LJVMEWU.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-KPIWBWE2.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-OAOCXXC2.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-CV7PH2KH.mjs";import"../../chunk-FRWX5YES.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"../../chunk-LKMZ5ROU.mjs";import{a as n}from"../../chunk-PAG346RY.mjs";import"../../chunk-3YZN4MJB.mjs";import"../../chunk-WNPA7YT3.mjs";import"../../chunk-LBKMUSVR.mjs";import"../../chunk-IPHHUHS3.mjs";import"../../chunk-Y5VTKEKS.mjs";import"../../chunk-CGBVZQYY.mjs";import"../../chunk-BSQVKZCW.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-XWTX2W5V.mjs";import"../../chunk-M62IIIAN.mjs";import"../../chunk-
|
|
1
|
+
import{a as r}from"../../chunk-LKMZ5ROU.mjs";import{a as n}from"../../chunk-PAG346RY.mjs";import"../../chunk-3YZN4MJB.mjs";import"../../chunk-WNPA7YT3.mjs";import"../../chunk-LBKMUSVR.mjs";import"../../chunk-IPHHUHS3.mjs";import"../../chunk-Y5VTKEKS.mjs";import"../../chunk-CGBVZQYY.mjs";import"../../chunk-BSQVKZCW.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-XWTX2W5V.mjs";import"../../chunk-M62IIIAN.mjs";import"../../chunk-Q5NQ35NR.mjs";import"../../chunk-YCT3EQRB.mjs";import"../../chunk-3ZEL6VBT.mjs";import"../../chunk-NC75G3JN.mjs";import"../../chunk-7GHS5JRC.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-6HFYLEVF.mjs";import"../../chunk-5TTFPIXL.mjs";import"../../chunk-CP6IA4YZ.mjs";import"../../chunk-M5X4MWJX.mjs";import"../../chunk-EPTHSTUM.mjs";import"../../chunk-72BBXZKW.mjs";import"../../chunk-3JTJE3CH.mjs";import{a as l}from"../../chunk-5VW5YOZB.mjs";import"../../chunk-IQPZEEYJ.mjs";import"../../chunk-53QLSQCO.mjs";import"../../chunk-VY32UTE2.mjs";import"../../chunk-CSUTG7F5.mjs";import"../../chunk-JCH2CCQ7.mjs";import"../../chunk-5EX5KVLO.mjs";import"../../chunk-6P7CY367.mjs";import"../../chunk-WQF47M5N.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-YAH6C5YX.mjs";import"../../chunk-6FHLIH4J.mjs";import"../../chunk-CW7WANDA.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-2LJVMEWU.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-KPIWBWE2.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-OAOCXXC2.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-CV7PH2KH.mjs";import"../../chunk-FRWX5YES.mjs";import{c as o}from"../../chunk-D2WXBUVJ.mjs";import{BookOpen as a,LifeBuoy as s,Send as u,Settings2 as c}from"lucide-react";var e=o(n());import{PhoneIcon as d,PlayCircleIcon as m,RectangleGroupIcon as p}from"@heroicons/react/20/solid";import{ChartPieIcon as g,CursorArrowRaysIcon as h}from"@heroicons/react/24/outline";import{jsx as t}from"react/jsx-runtime";var b=()=>t(l,{iconName:"github",size:"4x",type:"brands"}),f=()=>t(l,{iconName:"aws",type:"brands"}),w=()=>t(l,{iconName:"azure",type:"kit"}),k=()=>t(l,{iconName:"people-sharing",type:"kit"}),S=()=>t(l,{iconName:"cloud-network-sharing",type:"kit"}),y=()=>t(l,{iconName:"development",type:"kit"}),X={title:"Pages/IndexPage",component:r,decorators:[i=>t("div",{className:"bg-sidebar",children:t(i,{})})]},A=i=>t(r,{...i}),Z={render:A,args:{header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:S},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:k},{name:"Products",description:"Products that we sell",href:"#",icon:y}]},{name:"Resources",items:[{name:"IndexPage",href:"#",icon:g},{name:"API Reference",href:"#",icon:h},{name:"Github",href:"#",icon:b}],actions:[{name:"Watch demo",href:"#",icon:m},{name:"Contact sales",href:"#",icon:d},{name:"View all products",href:"#",icon:p}]},{name:"Intranet",href:"#"}]},onToggleAppGrid:()=>{(0,e.fn)()},sidebarLeft:{title:"Playground",subTitle:"Airview",mainNav:[{label:"AWS",url:"#",icon:f,isActive:!0,links:[{label:"EC2",url:"#"},{label:"IAM",url:"#"},{label:"S3",url:"#"}]},{label:"Microsoft Azure",url:"#",icon:w,links:[{label:"Virtual Machines",url:"#"},{label:"Storage",url:"#"},{label:"Azure SQL",url:"#"}]},{label:"IndexPage",url:"#",icon:a,links:[{label:"Introduction",url:"#"},{label:"Get Started",url:"#"},{label:"Tutorials",url:"#"},{label:"Changelog",url:"#"}]},{label:"Settings",url:"#",icon:c,links:[{label:"General",url:"#"},{label:"Team",url:"#"},{label:"Billing",url:"#"},{label:"Limits",url:"#"}]}],secondaryNav:[{label:"Support",url:"#",icon:s},{label:"Feedback",url:"#",icon:u}],onSidebarMenu:(0,e.fn)()},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,e.fn)(),onEditDocument:(0,e.fn)(),onPrintDocument:(0,e.fn)()},tiles:[{slug:"hello-world",mainImage:"https://cdn.sanity.io/images/ssqh4ksj/production/c734dd394de943820a25b4b96eace0855ab44749-2016x1344.png?w=1170&h=780&auto=format",title:"Hello World"},{slug:"hello-world",mainImage:"https://cdn.sanity.io/images/ssqh4ksj/production/c734dd394de943820a25b4b96eace0855ab44749-2016x1344.png?w=1170&h=780&auto=format",excerpt:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi eu ipsum enim. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi eu ipsum enim.",title:"Hello World"},{slug:"hello-world",mainImage:"https://cdn.sanity.io/images/ssqh4ksj/production/c734dd394de943820a25b4b96eace0855ab44749-2016x1344.png?w=1170&h=780&auto=format",excerpt:"Hello World",title:"Hello World"},{slug:"hello-world",mainImage:"https://cdn.sanity.io/images/ssqh4ksj/production/c734dd394de943820a25b4b96eace0855ab44749-2016x1344.png?w=1170&h=780&auto=format",excerpt:"Hello World",title:"Hello World"}],github:{onPublishDraft:(0,e.fn)(),handleNewBranch:(0,e.fn)(),handlePR:(0,e.fn)(),onSave:(0,e.fn)()}}};export{Z as Default,X as default};
|